How to gat entities points in order to make an envelope?
Moderators: SDS, support, admin
How to gat entities points in order to make an envelope?
Hello.
For a few last days I've been struggling with the problem "how to describe an envelope around DXF file?".
I know that I should have vertexes points, but in one DXF file there are many kind of entities possible.
How to get that points - independently of particular kind of entity or how to describe an envelope (only for external entities) by others means?
Thank you for any help.
Best regards,
Mariusz Hyżorek
For a few last days I've been struggling with the problem "how to describe an envelope around DXF file?".
I know that I should have vertexes points, but in one DXF file there are many kind of entities possible.
How to get that points - independently of particular kind of entity or how to describe an envelope (only for external entities) by others means?
Thank you for any help.
Best regards,
Mariusz Hyżorek
Re: How to gat entities points in order to make an envelope?
Hello Mariusz.
CAD Import VCL provides TsgCADImage.Extents property that describes rectangular area that contains all CAD entities. However envelope(curve) around all CAD entities can't be received by any provided method or property. This isn't a trivial task and some coding required. There is the TsgDXFEntity.Box property that describes 3d box embraced the entity. IMHO it can be used for 1-st analyzing step to determinate rough entities enveloping curve points.
Alexander.
CAD Import VCL provides TsgCADImage.Extents property that describes rectangular area that contains all CAD entities. However envelope(curve) around all CAD entities can't be received by any provided method or property. This isn't a trivial task and some coding required. There is the TsgDXFEntity.Box property that describes 3d box embraced the entity. IMHO it can be used for 1-st analyzing step to determinate rough entities enveloping curve points.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
Re: How to gat entities points in order to make an envelope?
Thank You for advice.
I know that this problem is not trivial. I'm going to make some my class and methods to create an envelope, but this will be very useful in the future.
Best regards,
Mariusz
I know that this problem is not trivial. I'm going to make some my class and methods to create an envelope, but this will be very useful in the future.
Best regards,
Mariusz