Dashed lines not showing when printing
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Dashed lines not showing when printing
OS: Linux Mint 20.1 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.20.24693 (Git) AppImage
Build type: Release
Branch: master
Hash: e01f0d25d5f3ef9ceb66aa087212121e9f2f2e8b
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United Kingdom (en_GB) &
FreeCAD_0.19-22756-Linux-Conda_glibc2.12-x86_64.AppImage
Not sure if I am doing something wrong but when I print out (hidden line style) dashed lines they are shown as continuous.Print preview
shows them correctly.
I have printed out dashed lines in LibreOfficeDraw and they are shown correctly.
Word size of FreeCAD: 64-bit
Version: 0.20.24693 (Git) AppImage
Build type: Release
Branch: master
Hash: e01f0d25d5f3ef9ceb66aa087212121e9f2f2e8b
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United Kingdom (en_GB) &
FreeCAD_0.19-22756-Linux-Conda_glibc2.12-x86_64.AppImage
Not sure if I am doing something wrong but when I print out (hidden line style) dashed lines they are shown as continuous.Print preview
shows them correctly.
I have printed out dashed lines in LibreOfficeDraw and they are shown correctly.
Re: Dashed lines not showing when printing
Welcome to FreeCAD.
Can you please attach a file that demonstrates the issue?
Can you please attach a file that demonstrates the issue?
Re: Dashed lines not showing when printing
I am attaching screenshot and its relevant file.
Thanks.
Thanks.
- Attachments
-
- Fan-Support.svg
- (100.8 KiB) Downloaded 79 times
-
- M25-209-Fan-Support x4.FCStd
- (33.6 KiB) Downloaded 58 times
Re: Dashed lines not showing when printing
Hi just confirming works here in
OS: Ubuntu 20.04.2 LTS (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.20.24720 (Git) AppImage
Build type: Release
Branch: master
Hash: 8b0c58d1b45017ad42bf0fa8f827f1cf22a398e7
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United States (en_US)
Did have to change my setting in edit preferences techdraw. Mine was set to solid. Changed to dashed and had to close page and reopen to show
dashed lines. Prints out ok for me.
OS: Ubuntu 20.04.2 LTS (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.20.24720 (Git) AppImage
Build type: Release
Branch: master
Hash: 8b0c58d1b45017ad42bf0fa8f827f1cf22a398e7
Python version: 3.9.2
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United States (en_US)
Did have to change my setting in edit preferences techdraw. Mine was set to solid. Changed to dashed and had to close page and reopen to show
dashed lines. Prints out ok for me.
- Attachments
-
- hl.jpg (75.44 KiB) Viewed 3358 times
Re: Dashed lines not showing when printing
Thanks but already had this showing in my preferences.
If I print to file and then view, the dashed lines are shown as solid.
If I export to PDF the dashed lines are shown as solid.
I have even updated my weekly build but the results are the same.
Thanks for your time but I think this maybe a bug.
If I print to file and then view, the dashed lines are shown as solid.
If I export to PDF the dashed lines are shown as solid.
I have even updated my weekly build but the results are the same.
Thanks for your time but I think this maybe a bug.
Re: Dashed lines not showing when printing
Did still have the original version you posted and verified that in all the scenarios you list it views and prints properly. Also same resulst in the 0.19 276. Even printed to a different printer. Use Brother Laser and Epson Inkjet.
Possibly you may have a problem in your configuration files. You can back up then delete and restart FreeCAD. New ones will be generated. You can always copy the backed up files back.
Mine are located in home/user name/.FreeCAD user.cfg and system.cfg
And in home/user name/.config/FreeCAD/FreeCAD.conf
Other than that don't have any other idea as your file works correctly in three different versions on my system.
Possibly you may have a problem in your configuration files. You can back up then delete and restart FreeCAD. New ones will be generated. You can always copy the backed up files back.
Mine are located in home/user name/.FreeCAD user.cfg and system.cfg
And in home/user name/.config/FreeCAD/FreeCAD.conf
Other than that don't have any other idea as your file works correctly in three different versions on my system.
Re: Dashed lines not showing when printing
When I first opened your file it did not work for me since my "hidden lines" setting was not set to dashed. However when I changed the setting to dashed, closed the techdraw page and opened it again, then it worked both with Export PDF and print then select print to file pdf (that is a PDF printer in my O/S)
first two with the FreeCAD TechDraw Hidden Lines setting not dashed
Second two with the FreeCAD TechDraw Hidden Lines setting set to dashed I changed the setting as mendy said.
this setting specifically I changed this to Dashed (closed and opened the TechDraw Page) and then it worked this is a zoom in screen shot of the hidden lines dashed in FreeCAD.
Since you are on Mint, you might be able to install the PPA version of FreeCAD from either the Daily or Stable Ubuntu PPAs. The problem may be just in the Appimage version of FreeCAD.
OS: Ubuntu 20.04.2 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.stable PPA
Build type: Release
Branch: unknown
Hash: 9e3b630bbfb6807e93eeffb655e6c20f218644fc
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/Australia (en_AU)
first two with the FreeCAD TechDraw Hidden Lines setting not dashed
Second two with the FreeCAD TechDraw Hidden Lines setting set to dashed I changed the setting as mendy said.
this setting specifically I changed this to Dashed (closed and opened the TechDraw Page) and then it worked this is a zoom in screen shot of the hidden lines dashed in FreeCAD.
Since you are on Mint, you might be able to install the PPA version of FreeCAD from either the Daily or Stable Ubuntu PPAs. The problem may be just in the Appimage version of FreeCAD.
OS: Ubuntu 20.04.2 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.stable PPA
Build type: Release
Branch: unknown
Hash: 9e3b630bbfb6807e93eeffb655e6c20f218644fc
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/Australia (en_AU)
Re: Dashed lines not showing when printing
Thanks mendy and jmaustpc.
I now have the dashed lines showing in the TechDraw section.
The only software that shows the saved PDF correctly that I have is Scribus,but Scribus will not print it out unless I save as a PNG image.
However if I print from scribus a TechDraw PDF that does not have dashed lines it prints correctly.
So I can only assume that my printer which is quite old is not up to the job.
Thanks to both of you and I hope I have not wasted too much of your time.
I now have the dashed lines showing in the TechDraw section.
The only software that shows the saved PDF correctly that I have is Scribus,but Scribus will not print it out unless I save as a PNG image.
However if I print from scribus a TechDraw PDF that does not have dashed lines it prints correctly.
So I can only assume that my printer which is quite old is not up to the job.
Thanks to both of you and I hope I have not wasted too much of your time.
Re: Dashed lines not showing when printing
jmaustpc I have followed your suggestion and installed the FreeCAD Daily Build and the problem has now disappeared.
The PDF now views and prints correctly.
I did notice that the PDF file from the AppImage gave the following error when I tried to view it from
Midnight Commander "Syntax error (856): no current point in closepath" which might have been the problem.
Thanks again for your time.
The PDF now views and prints correctly.
I did notice that the PDF file from the AppImage gave the following error when I tried to view it from
Midnight Commander "Syntax error (856): no current point in closepath" which might have been the problem.
Thanks again for your time.
Re: Dashed lines not showing when printing
Hi I have excalty the same issue, even with the FreeCAD_weekly-builds-33345-2023-06-11 appimage . I would be surprised if this is a bug since your last post is from 2021, and in fact I have used different freecad versions even from realthunder and they all show the same issue.
In the "Preferences", conventions for "Hidden line style" is set to Dashed
Here is the info about Freecad:
And attached, a copy my file and the exported pdf which look exactly the same as the print.
The only solution I did not try is to install Freecad from PPA as mentionned by @jmaustpc...I am working on it
Thanks for your help...
In the "Preferences", conventions for "Hidden line style" is set to Dashed
Here is the info about Freecad:
Code: Select all
OS: Ubuntu 22.04.2 LTS (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.21.0.33345 (Git) AppImage
Build type: Release
Branch: master
Hash: a3c4f4bb01f5201daf666852444a8f9c5adbda8d
Python 3.10.11, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
* A2plus 0.4.60k
* Help 1.0.3
* Assembly4 0.12.6
The only solution I did not try is to install Freecad from PPA as mentionned by @jmaustpc...I am working on it
Thanks for your help...
- Attachments
-
- Page001.pdf
- (177.89 KiB) Downloaded 39 times
-
- Tube_pompage_ISO_KF80.FCStd
- (48.38 KiB) Downloaded 34 times
Last edited by kortak on Thu Jun 15, 2023 12:47 pm, edited 2 times in total.