I'm currently using pstoedit
to convert pdf files to dxf files.
This is the pstoedit
command I'm using:
pstoedit -f "dxf: -ctl -mm" input.pdf output.dxf
I get a file output.dxf
from a file input.pdf
but circles and squares in output.dxf
have double borders instead of single borders.
The desired result is:
circles:
squares:
But current result is:
circles:
squares:
How can I fix this issue?
I've tried to convert a pdf file to a dxf file using the inkscape
command.
I converted a pdf file to a svg file first and converted this to dxf file.
This is the inkscape
command I've used:
inkscape input.svg --export-type=dxf --export-extension=org.ekips.output.dxf_outlines -o output.dxf
Here, instead of one perfect circle, I got a circle made up of 4 arcs.
circles :
So I moved to pstoedit
and now I'm facing above issue.
Is there any proper way to convert a pdf file to a dxf file? I would like to modify the current commands to get the desired results(prefer to use pstoedit
command).
By adding this option(-polyaslines
), the initial goal of eliminating the double border was achieved.
pstoedit -f "dxf: -ctl -mm -polyaslines" input.pdf output.dxf
For more information, visit this pstoedit manual site. http://www.calvina.de/pstoedit/pstoedit.htm