DHaylock/ofxDxfExport

DXF generated by example1_StaticPoints has missing point when opened in QCad

Opened this issue · 6 comments

Looking at the raw DXF it looks like the problem is that 5 points are defined but only 4 are expected.

Currently void ofxDxfExport::addPoints(vector pts, bool endSection) contains:

os << pts.size() << endl; // Our point size

I think this would work:

os << pts.size()+1 << endl; // Our point size

qcad_2 2 2 0_rendering_of_example1_staticpoints

Will look into this.
When I load mine with Inkscape the shape is all there.
Could you send the dxf file?

DXF file attached. If I manually change line 584 from 4 to 5 then it opens
correctly in QCAD. I don't have any other DXF capable applications to test
it in on my machine.

Thanks for creating the addon BTW. It will be very useful for communicating
with my window mounted
V-plotterhttp://patrickdinnen.com/auto-squiggler-the-drawbot-at-pecha-kucha-toronto/
.

Patrick

On Thu, May 22, 2014 at 10:36 AM, David Haylock notifications@github.comwrote:

Will look into this.
When I load mine with Inkscape the shape is all there.
Could you send the dxf file?


Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-43896495
.

For random bits of sub-140 character thought follow me on
Twitterhttps://twitter.com/#!/pdinnenor check out my blog for less
frequent and much longer writings
PatrickDinnen.com

Hi Patrick could you possibly resend the file? No worries hope its useful, project looks great!

No problem. The file is attached.

On Wed, May 28, 2014 at 4:11 PM, David Haylock notifications@github.com
wrote:

Hi Patrick could you possibly resend the file? No worries hope its useful,
project looks great!


Reply to this email directly or view it on GitHub
#1 (comment).

For random bits of sub-140 character thought follow me on Twitter
https://twitter.com/#!/pdinnen or check out my blog for less frequent and
much longer writings PatrickDinnen.com

Hey Patrick, I can't seem to reproduce the same error. In QCAD i've got a perfect square and in Inkscape.
screen shot 2014-06-13 at 11 31 17

Not sure why it's working fine for you but not for me. Possibly because I'm
using an older version of QCad?

On Fri, Jun 13, 2014 at 6:34 AM, David Haylock notifications@github.com
wrote:

Hey Patrick, I can't seem to reproduce the same error. In QCAD i've got a
perfect square and in Inkscape.
[image: screen shot 2014-06-13 at 11 31 17]
https://cloud.githubusercontent.com/assets/7427486/3269030/f7eaf64a-f2e5-11e3-9189-a50a72fc9f70.png


Reply to this email directly or view it on GitHub
#1 (comment).

For random bits of sub-140 character thought follow me on Twitter
https://twitter.com/#!/pdinnen or check out my blog for less frequent and
much longer writings PatrickDinnen.com