
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I'm creating Inventor add-in using C# and Inventor API.
I'm trying to export inventor geometry in a modular way, so I can later assemble the same model in same structure as it was structured in inventor. Each part has its own coordinate system and it’s different relatively to when it’s in assembly. So, I need to make a translation to each part when assembling it back to assembly. I am thinking that I could have a configuration file which would hold translation and rotation information along with the parts. I have an idea but I struggle a bit whit what could be a good way of doing this.
So far I was able to extract geometry data (vertices, indices, normals) and translation of each part in an assembly, but I'm struggling with getting the rotation of the part.
Here is the code snippet I'm using to extract geometry data of part (I'm leaving out things like handling the data and opening/writing files for brevity):
And here is the code snippet I'm using to get translation of part:
Solved! Go to Solution.