Skip to content

Commit

Permalink
update ofxDxfReader.h
Browse files Browse the repository at this point in the history
fix coordinates
  • Loading branch information
mitsuhito committed Sep 11, 2016
1 parent 20283ed commit 5e1d94c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ofxDxfReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ class ofxDxfReader : public DL_CreationAdapter
//-x --+-- +x
// |
// -y

path.lineTo(data.x1, data.y1, data.z1);
path.lineTo(data.x2, data.y2, data.z2);
//path.lineTo(data.x1, data.y1, data.z1);
//path.lineTo(data.x2, data.y2, data.z2);
path.lineTo(data.x1, fabs(data.y1), data.z1);
path.lineTo(data.x2, fabs(data.y2), data.z2);

//
// TODO(ando@ycam.jp): grab color infomation to determine cutting path or just moving the head.
Expand Down

0 comments on commit 5e1d94c

Please sign in to comment.