Message 1 of 4
Write circle in dxf with c++

Not applicable
11-15-2017
03:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
i am working on a c++ program, which writes a circle in dxf format. I am using 10, 20, 30 as center coordinates of my circle. This coordinates are OCS. In case i use the default extrusion direction (0,0,1) the center point is on the right place. But when I set the normal as extrusion direction, because I need a custom orientation, the center point shifts and my circle is therefore not anymore on the right place.
I read the documentation about circle dxf and also the part Arbitrary Axis Algorithm. I think I have to shift the center point somehow.
Unfortunately I do not understand which step I have to use to get the right center value (10, 20, 30).
Have anyone an idea what i am doing wrong?