Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Identification of geometries like cylinders and spheres #9

Open
math-artist opened this issue May 22, 2021 · 1 comment
Open

Comments

@math-artist
Copy link

Wow! I can't believe that I didn't see this before. I currently have a dependency to a huge library just to be able to import step files, but iges is just as good and I could get rid of OCC.

I am not familiar with how iges files are structured, but how difficult is it to extract entities from an iges file? For example, find a cylinder surface and extract its topology (orientation, diameter, length, center). Usually what I do with step files is I import all faces in a dict of Geometry, each having its own mesh and topology.

I had a look at your code and found an entity code 122 for cylinder but I could not even find those codes in my iges file, which contains many cylinders.

@akaszynski
Copy link
Member

It's not too difficult to extract entities from an IGES file, it just takes some time to add the class/method to extract it. Right now, IGES is low on the priority list for me since it's effectively a dead format. I really wish there was a lightweight STEP/Parasolid library, since as of now Open Cascade is a pain to install without anaconda.

Feel free to try to add the feature or ask me for pointers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants