Login  Register

Re: Printing to PDF via command line

Posted by dxli on Dec 18, 2015; 9:43pm
URL: https://forum.librecad.org/Printing-to-PDF-via-command-line-tp5712735p5712740.html

Have a look at the class qc_applicationwindow, and slot slot functions for file open, file saving, and exporting.

May create a new slot to do the conversion and be called using cli parameters
mandeep7 wrote
On Sat, Dec 19, 2015 at 12:58 AM, dxli [via LibreCAD]
<[hidden email]> wrote:
>
> There's a feature request of command line converter:
>
> LibreCAD --convert foo.dxf foo.pdf
> LibreCAD --convert foo.dxf foo.svg
> LibreCAD --convert foo.dwg foo.dxf
>
> it might worth to implement them. Would you like to help?
Yes. How can I get started with that?

> Another idea, implement a plugin. Need to read about LibreCAD plugin interface first.
Can you point me to the relevant resources?

--
Mandeep Singh
http://mandeep7.wordpress.com
https://github.com/mandeeps708

“To err is human, but to really foul up everything, you need root password.”