Importing arcs as arcs, not as polyline
Moderators: SDS, support, admin
-
- Posts: 1
- Joined: 01 Apr 2010, 15:01
Importing arcs as arcs, not as polyline
Hi all,
I'm using CADImporterDLL to import DXF files which contain arcs (an example is attached).
I would like to import arcs as arcs, not as polylines, because I have an algorithm to convert arcs to bezier curves and those fit better than polylines for my purposes.
I notice that, often, arcs are imported incorrectly like in the attached file: when importing the attached file in the VC++ demo application with the option "Options => Arcs As Curves/Poly => As Curves", the result is garbage, while using "Options => Arcs As Curves/Poly => As Polyline" the result appears correct.
How can I make CADImporterDLL import arcs as arcs correctly?
Thank you
Regards
I'm using CADImporterDLL to import DXF files which contain arcs (an example is attached).
I would like to import arcs as arcs, not as polylines, because I have an algorithm to convert arcs to bezier curves and those fit better than polylines for my purposes.
I notice that, often, arcs are imported incorrectly like in the attached file: when importing the attached file in the VC++ demo application with the option "Options => Arcs As Curves/Poly => As Curves", the result is garbage, while using "Options => Arcs As Curves/Poly => As Polyline" the result appears correct.
How can I make CADImporterDLL import arcs as arcs correctly?
Thank you
Regards
- Attachments
-
- E4FIOPICCHE.zip
- (781 Bytes) Downloaded 2146 times
Re: Importing arcs as arcs, not as polyline
Hello.
When using option Arcs As curves, CAD Importer DLL draw image using GDI. Unfortunately GDI API doesn't allow correct visualization such file as you upload because rotation of some elements.
Alexander.
When using option Arcs As curves, CAD Importer DLL draw image using GDI. Unfortunately GDI API doesn't allow correct visualization such file as you upload because rotation of some elements.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support