easyw-fc wrote: ↑Sun Mar 18, 2018 2:09 pm
if invoked for the simple ellipse I'm attaching, will produce a wrong output
Some progress on ellipse. Here is your ellipse in LibreCad.
- easyw-fc_ellipse.png (30.47 KiB) Viewed 1807 times
Note the fussy little changes to the fcOut.dxf file required to make it work! Biggest one is typo, sb ENDSEC not ENDSECT.
easyw-fc wrote:
it seems the issues I have with TechDraw.viewPartAsDxf are BSpline related...
would you mind to point this issue? I've searched at the forum but I haven't found anything...
Not as recent as I thought:
git commit a32972ef2f
easyw-fc wrote:
Moreover the TechDraw.viewPartAsSvg is failing in the same way, but the TechDraw Menu Export as SVG is doing the conversion correctly
Are there two different methods to obtain the output?
Yes. The Menu/Gui "Export As Svg" uses a Qt routine to translate what Qt is showing on the screen into SVG. viewPartAsSvg/Dxf use SVGOutput and DXFOutput routines from the Drawing module to translate OCC edges. These 2 routines are very similar except for the actual writing of Svg vs Dxf text.
I'll look into BSplines now.