Okay, that makes sense. So, that means we have essentially the same situation, and for both of us the self-compiled FreeCAD TechDraw works fine. Which kind of makes sense, because as you said Ubuntu is Debian-based. However, if I understand correctly the FreeCAD TechDraw does not work properly for some other distributions, specifically when using a self-compiled version of FreeCAD git. I presume that these other distributions do not have this Debian-specific dfsg patchset on top of Qt 5.15.2, so the culprit could still be the (standard) version of Qt 5.15.2 libraries. Or some other library, like Mesa.
TechDraw printouts - almost invisible projections
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: TechDraw printouts - almost invisible projections
Re: TechDraw printouts - almost invisible projections
The other issue is that it doesn't work with the FreeCAD daily builds here https://launchpad.net/~freecad-maintain ... ecad-daily which shouldn't be any different. Increasing the width of the lines from within the view box has no effect on the drawing.aapo wrote: ↑Mon Apr 11, 2022 12:51 pmOkay, that makes sense. So, that means we have essentially the same situation, and for both of us the self-compiled FreeCAD TechDraw works fine. Which kind of makes sense, because as you said Ubuntu is Debian-based. However, if I understand correctly the FreeCAD TechDraw does not work properly for some other distributions, specifically when using a self-compiled version of FreeCAD git. I presume that these other distributions do not have this Debian-specific dfsg patchset on top of Qt 5.15.2, so the culprit could still be the (standard) version of Qt 5.15.2 libraries. Or some other library, like Mesa.
- wandererfan
- Veteran
- Posts: 6309
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: TechDraw printouts - almost invisible projections
Additional discussions: git commit 6698 and https://www.forum.freecadweb.org/viewto ... 42&t=67842
For me, local build works fine, but the build from the PPA does not.
FWIW, the Qt packages on my Ubuntu VM are mostly "5.15.2+dfsg-12ubuntu1.1"
The Ubuntu VM glxinfo is
OpenGL version string: 2.1 Mesa 21.2.6
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 21.2.6
I've been trying to downgrade Mesa to rule that out, but haven't had any success yet.
Re: TechDraw printouts - almost invisible projections
Cannot reproduce withlittlelion wrote: ↑Fri Feb 18, 2022 3:02 pm The printout looks like this (print to PDF, same is true for printout on paper):
Code: Select all
OS: Manjaro Linux (GNOME/gnome)
Word size of FreeCAD: 64-bit
Version: 0.20.28769 +1 (Git)
Build type: Debug
Branch: fem-expand-add-remove (ignore this, one UI commit in FEM)
Hash: 7b231149b3545316502f41e779b767f0189241b8
Python 3.10.4, Qt 5.15.3, Coin 4.0.1, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods:
* Curves 0.3.0
My latest (or last) project: B-spline Construction Project.
Re: TechDraw printouts - almost invisible projections
I'm also having this problem with my set-up (see below). The printed lines are light grey and thin. When exporting to PDF (both File->Export PDF and selecting the File->Print Print to File (PDF)) lines remain the same: thin and light grey.
I also tried exporting to SVG. I tried File->Export... flattened SGV and got the error "getViewer" and the report view said:
When I tried File->Export... Drawing (*.svg *.svgz *.dxf), I got the error, "Export of this object type is not supported by Drawing module." I also got:
When I tried File->Export... File type: Technical Drawing, the export worked. After importing to Inkscape, It printed okay, mostly. The Rich Text I had used for annotations printed normally, and not Bold, as I had selected.
Just more information to help diagnose this problem. Is the Technical Drawing type export the only correct one?
-Kevin
OS: Ubuntu 22.04.1 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.1.
Build type: Release
Branch: unknown
Hash: 22f524c0c755003c12234fab1bad6a9f696b661a
Python 3.10.6, Qt 5.15.3, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.1
Locale: English/United States (en_US)
Installed mods:
* Help 1.0.3
I also tried exporting to SVG. I tried File->Export... flattened SGV and got the error "getViewer" and the report view said:
Code: Select all
14:37:15 'Page': no Shape, calculate manual bounding box
14:37:15 Traceback (most recent call last):
File "<string>", line 4, in <module>
File "/usr/share/freecad/Mod/Draft/importSVG.py", line 1811, in export
bb.add(Draft.get_bbox(obj))
File "/usr/share/freecad/Mod/Draft/draftutils/gui_utils.py", line 745, in get_bbox
region = view.getViewer().getSoRenderManager().getViewportRegion()
<class 'AttributeError'>: getViewer
Code: Select all
14:46:37 Traceback (most recent call last):
File "<string>", line 4, in <module>
<class 'TypeError'>: Export of this object type is not supported by Drawing module
Just more information to help diagnose this problem. Is the Technical Drawing type export the only correct one?
-Kevin
OS: Ubuntu 22.04.1 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.1.
Build type: Release
Branch: unknown
Hash: 22f524c0c755003c12234fab1bad6a9f696b661a
Python 3.10.6, Qt 5.15.3, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.1
Locale: English/United States (en_US)
Installed mods:
* Help 1.0.3
Re: TechDraw printouts - almost invisible projections
Here's two screenshots, showing the original in FreeCAD TechDraw (top one at 15-05-19) and how it looked after opening the Technical Drawing .SVG file in Inkscape (bottom one at 15-04-53).
As you can see, the Bold attribute was lost, and the line spacing is corrupted.
Sure wish I could just print from FreeCAD.
-Kevin
As you can see, the Bold attribute was lost, and the line spacing is corrupted.
Sure wish I could just print from FreeCAD.
-Kevin
- wandererfan
- Veteran
- Posts: 6309
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: TechDraw printouts - almost invisible projections
The AppImage version seems to work properly.
- Attachments
-
- thinLinesAITest.png (91.67 KiB) Viewed 1107 times
-
- thinLinesAITest.pdf
- (209.45 KiB) Downloaded 40 times
-
- thinLinesAITest.FCStd
- (19.47 KiB) Downloaded 31 times
Re: TechDraw printouts - almost invisible projections
Hi every body
It looks like one year later there is no solution exposed to the forum.
I still get the same problem with thin drawing lines in the pdf export.
So I publish here my configuration. I hope it could help to make a diagnotic.:
Bad result on :
It looks like one year later there is no solution exposed to the forum.
I still get the same problem with thin drawing lines in the pdf export.
So I publish here my configuration. I hope it could help to make a diagnotic.:
Bad result on :
Code: Select all
OS: Ubuntu 22.04.2 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.
Build type: Release
Branch: unknown
Hash: 1faf86c3da12c1712e1d5ec015721d9aa02f8672
Python 3.10.4, Qt 5.15.3, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.1
Locale: French/France (fr_FR)
Installed mods:
* fcgear 1.0.0
* parts_library
* Assembly4 0.12.5
* Render 2022.4.0
* BOLTSFC
* BIM 2021.12.0
* A2plus 0.4.60h
* ExplodedAssembly
* fasteners 0.4.54
* sheetmetal 0.2.60
* symbols_library
Vincent Pottier aka FrViPofm
-
- Posts: 2
- Joined: Wed Jun 24, 2020 7:36 pm
Re: TechDraw printouts - almost invisible projections
I can confirm the behavior of FreeCAD on my computer. The vertices are also not shown when Frame name are shown. My FreeCAD configuration:
Code: Select all
OS: Ubuntu 22.04.2 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.1.
Build type: Release
Branch: unknown
Hash: 22f524c0c755003c12234fab1bad6a9f696b661a
Python 3.10.6, Qt 5.15.3, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.1
Locale: English/United States (en_US)
Installed mods:
* fasteners 0.4.54
* Assembly4 0.12.5