Set min. line thickness when using dwg2pdf
Moderator: andrew
-
- Junior Member
- Posts: 24
- Joined: Wed Apr 10, 2019 3:51 pm
Set min. line thickness when using dwg2pdf
Hello,
Have any way to set min. line thickness when using dwg2pdf script?
Att,
Rhodolfo Novochadlo.
Have any way to set min. line thickness when using dwg2pdf script?
Att,
Rhodolfo Novochadlo.
Re: Set min. line thickness when using dwg2pdf
Yes, from dwg2pdf -h:
Code: Select all
...
-w, -min-lineweight=LW Set minimum line weight to LW drawing units
...
-
- Junior Member
- Posts: 24
- Joined: Wed Apr 10, 2019 3:51 pm
Re: Set min. line thickness when using dwg2pdf
Andrew,
Thank you very much for your quickly reply,
I tried to use -w parameter. But, for some files this parameter have different behaviours. Look attached files.
PDF1 was generated using CAD1 with command (dwg2pdf.bat -a -c -d -f -n -l -w 0.5 -fs romans standard -fs romand standard -o "C:\Temp\a\2pdf\PDF1.pdf" "C:\Temp\a\2pdf\CAD1.DWG")
PDF2 was generated using CAD2 with command (dwg2pdf.bat -a -c -d -f -n -l -w 0.5 -fs romans standard -fs romand standard -o "C:\Temp\a\2pdf\PDF2.pdf" "C:\Temp\a\2pdf\CAD2.DXF")
I think that -a parameter is conflicting with -w
Thank you very much for your quickly reply,
I tried to use -w parameter. But, for some files this parameter have different behaviours. Look attached files.
PDF1 was generated using CAD1 with command (dwg2pdf.bat -a -c -d -f -n -l -w 0.5 -fs romans standard -fs romand standard -o "C:\Temp\a\2pdf\PDF1.pdf" "C:\Temp\a\2pdf\CAD1.DWG")
PDF2 was generated using CAD2 with command (dwg2pdf.bat -a -c -d -f -n -l -w 0.5 -fs romans standard -fs romand standard -o "C:\Temp\a\2pdf\PDF2.pdf" "C:\Temp\a\2pdf\CAD2.DXF")
I think that -a parameter is conflicting with -w
Re: Set min. line thickness when using dwg2pdf
Yes, the value is in drawing units, not paper units. 0.5mm in drawing units are wider when zoomed in.
This might change in a future version to define a minimum lineweight independent of the zoom level.
This might change in a future version to define a minimum lineweight independent of the zoom level.
-
- Junior Member
- Posts: 24
- Joined: Wed Apr 10, 2019 3:51 pm
Re: Set min. line thickness when using dwg2pdf
Andrew, thank you very much for your help.
Do you know when is the prevision of QCad release with this improvement? This is very critical for my application and if take a long time I will need to study other solution for me.
regards,
Rhodolfo Novochadlo
Do you know when is the prevision of QCad release with this improvement? This is very critical for my application and if take a long time I will need to study other solution for me.
regards,
Rhodolfo Novochadlo
Re: Set min. line thickness when using dwg2pdf
It will be in the next snapshot release, usually released within a few days.
Snapshot releases are announced at:
https://www.qcad.org/rsforum/viewforum.php?f=16
Snapshot releases are announced at:
https://www.qcad.org/rsforum/viewforum.php?f=16
-
- Junior Member
- Posts: 24
- Joined: Wed Apr 10, 2019 3:51 pm
Re: Set min. line thickness when using dwg2pdf
Thank you very much Andrew, I will wait.
Regards,
Rhodolfo Novochadlo.
Regards,
Rhodolfo Novochadlo.
-
- Active Member
- Posts: 28
- Joined: Fri May 10, 2019 6:26 pm
Re: Set min. line thickness when using dwg2pdf
Same problem here with "dwg2bmp", did this feature make it to 3.22.1?
Re: Set min. line thickness when using dwg2pdf
Yes.garciadelcastillo wrote: ↑Thu May 23, 2019 10:49 pmSame problem here with "dwg2bmp", did this feature make it to 3.22.1?