Hello,
I have problem if i want export drawings into PDF or only print.
I'm using "-recompute-dim" in start QCad because i have a lot of garbled drawings. This solves my problems.
But if i change paper size to another paper format because drawings is not A4 these errors appears again.
Drawings changes to default / like opened without -recompute-dim /.
Any workaround ?
Thanks
Win10 and QCadCam 2.25.2
Paper size problem with "-recompute-dim"
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files and screenshots.
Post one question per topic.
Re: Paper size problem with "-recompute-dim"
We'll look into this and possible workarounds. The problem should also be fixed for the next release.
Re: Paper size problem with "-recompute-dim"
ok, thanks
Re: Paper size problem with "-recompute-dim"
An immediate workaround is (if you are comfortable using scripts):
Misc > Development > Script Shell
Enter this in the script shell at the bottom and press enter after each line:
Then switch to print preview.
Replace the height / width with the desired paper size.
Misc > Development > Script Shell
Enter this in the script shell at the bottom and press enter after each line:
Code: Select all
doc=getDocument();
doc.setVariable("PageSettings/PaperWidth", 210, true);
doc.setVariable("PageSettings/PaperHeight", 297, true);
Replace the height / width with the desired paper size.
Re: Paper size problem with "-recompute-dim"
thanks, this works.
Is possible to make option that automatically set paper size to match drawing after loading ?
Is possible to make option that automatically set paper size to match drawing after loading ?
Re: Paper size problem with "-recompute-dim"
It's possible through scripting, yes.
You might also want to look at the command line tools which have various options to automatically generate PDF files from DXF/DWG drawings:
https://qcad.org/products/qcad-command-line-tools
In particular dwg2pdf and bbox might be interesting.
You might also want to look at the command line tools which have various options to automatically generate PDF files from DXF/DWG drawings:
https://qcad.org/products/qcad-command-line-tools
In particular dwg2pdf and bbox might be interesting.