- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is it possible to scan all the nodes of a mesh, get their coordinates, use them to perform some calculation, then set the color of the node of the mesh?
I want to do something similar to this, where the color shows the distance from a reference entity. I have the reference entity, I need to find the point and set the color.
If yes, can you please tell me where I should start investigating?
Here is some background:
I am trying to port a customization from thinkdesign (another 3D parametric CAD) to Inventor. In thinkdesign I create up to 200,000 static points, then I change their color. It is a color displacement analysis, and the color of each point gives an idea of its distance from its reference surface. My plugin allows to change the value of a parameter in Excel, which runs an Excel VBA macro which changes the parameter in the 3D model, then scans all the points and changes their color accordingly. Thinkdesign can process 20-50.000 points per second, so the feedback to the user with smaller projects is in real time, with larger projects has a little delay but it's usable.
Thinkdesign manages both static points and parametric points, so it was easy for me to make a such a plugin. I just used the very fast static points. No need to use meshes, points are good enough.
Inventor only manages parametric points inside a 3D profile, and it's impossible to import more than a few hundreds.
Autocad manages static points, so I tried importing an Autocad document with the static points, but Inventor changes the color of the points.
I tried with Recap, but I can't access the single points to change their color.
Now I'm thinking about using meshes, but I have never worked with meshes and I don't know where to start.
Thanks, Stefano
Solved! Go to Solution.