DXF Sizes

Post questions on how to use or achieve an effect in Inkscape.
ajayre
Posts: 1
Joined: Sun Oct 28, 2012 6:38 am

DXF Sizes

Postby ajayre » Sun Oct 28, 2012 8:56 pm

Hello,

In Inkscape 0.48.2:

1. Load or create a design and scale it to 76mm wide.
2. Save as DXF (Desktop plotter R13).
3. Load the DXF back into Inkscape. It is now 76 / ~1.25 = ~60mm wide.
4. Resave the DXF.
5. Load the DXF back into Inkscape. It remains ~60mm wide.

If I repeat the steps but scale the drawing to 100mm wide, Inkscape resizes it to 100mm / ~1.25 = ~80mm.

What is going on and is there a way to avoid it?

Thanks, Andy

p3m4la5
Posts: 9
Joined: Wed Jun 20, 2012 3:06 pm
Contact:

Re: DXF Sizes

Postby p3m4la5 » Mon Jan 14, 2013 1:18 am

Interesting,

First keep in mind that I am not an expert.

1. create 2 shape
a. 150x50mm stroke:1mm fill: no
b. 100x50mm stroke: no fill:red

2. save as dxf
3.Create new file ( ctrl+N) & close file in step 2
4. open dxf in step 2
5. Yes dimensions are strange.

After some play around, I get back the dimension. Check my attachment ( the result in step 5 )

Note : After opening dxf file my stroke are in px mode, so I am convert it back to mm.

I know this is not an answer. I am just play around with Inkscape & write the results here.
Sorry for my English.
Attachments
dxfafter.png
dxfafter.png (78.35 KiB) Viewed 1471 times

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: DXF Sizes

Postby brynn » Mon Jan 14, 2013 8:44 pm

Image
Welcome Andy!

Yes, Inkscape includes the stroke width in the size of the object. I don't know for sure, but I'm guessing that when you save as DXF, since only the raw path is needed for cutting/plotting, the stroke width is ignored.

You can change that behavior though, if you like. Inkscape Preferences > Tools > Geometric Bounding Box :D

p3m4la5
Posts: 9
Joined: Wed Jun 20, 2012 3:06 pm
Contact:

Re: DXF Sizes

Postby p3m4la5 » Tue Jan 15, 2013 8:58 am

Hi brynn,
What exactly "Geometric Bounding Box" will do ?

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: DXF Sizes

Postby brynn » Tue Jan 15, 2013 9:09 am

It will make the bounding box fit the raw paths, and ignore stroke widths or filters which extend outside the raw path. The Visual bounding box counts the stroke width (and filters) into the measurement of the object. So say you have a 100 px wide rectangle. If it has a 5 px wide stroke, the width of the rectangle will be shown as 100 + 2.5 + 2.5 = 105, using the Visual bbox. If you switch to Geometric, the width will always be shown as 100 px.


Return to “Help with using Inkscape”