r-frank wrote:FreeCAD and inkscape seem to measure different.
While inkscape seems to measure the outer dimensions on objects,
FreeCAD uses the middle or the inner dimensions.
So the recommendation for exporting svg from inkscape to FreeCAD is
to set the stroke width (within inkscape) to "0" (zero).
If i understood correct you guys are facing exactly this ...
Nop, Inkscape can measure directly onto the path (middle of the seen line). There is a snapping option exactly for this Snap-ControlsBar->Snap nodes path and handles->Snap cusp nodes . Yes there is also an option to snap/measure the outer dimensions of a drawn element including the linewidth (bounding box) but this is not used here.
wandererfan wrote:Can you show me the top of the SVG output from each case? This is the interesting bit:
<svg width="297mm" height="210mm"
viewBox="0 0 2970 2100" ...
Thanks
Here it is (the file was prior included)
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="301.752mm" height="213.36mm"
viewBox="0 0 297 210"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.2" baseProfile="tiny">
<title>FreeCAD SVG Export</title>
<desc>Drawing page: Page exported from FreeCAD document: mod_with_drawing</desc>
<defs>
<radialGradient gradientUnits="userSpaceOnUse" cx="270.583" cy="33.9" r="19.5714" fx="270.583" fy="33.9" xml:id="gradient1">
<stop offset="0" stop-color="#ff6d0f" stop-opacity="1" />
<stop offset="1" stop-color="#ff1000" stop-opacity="1" />
</radialGradient>
<radialGradient gradientUnits="userSpaceOnUse" cx="282.646" cy="29.149" r="19.5714" fx="282.646" fy="29.149" xml:id="gradient2">
<stop offset="0" stop-color="#71b2f8" stop-opacity="1" />
<stop offset="1" stop-color="#002795" stop-opacity="1" />
</radialGradient>
</defs>
...
If you need more please let me know,
BR,
HoWil