Evaluating Houdini to substitute 3dsmax in working with CAD files using Linux, I need to work now on an architectural model composed from 41.000 different components.
One of the main problem is to regroup them selecting objects identical to a specific selection such as these one
In 3dsmax and other programs there is the “select similar” command that is working well in some cases, otherwise there are scripts able to select objects evaluating how similar are in term of geometry (vertex and faces).
Didn't find anything of this kind in Houdini, as beginner wanted asking for suggestions.
Select duplicated objects
1758 1 1- davide445
- Member
- 54 posts
- Joined: March 2016
- Offline
- brhouse
- Member
- 3 posts
- Joined: July 2015
- Offline
If there is no name or other identifying attribute, a simple way to group identical objects is to group them by point or primitive number as you described. It won't always be perfect though. One way to do this is to loop through each connected piece and create a group named after the number of points, such as putting group`npoints(opinputpath(“.”,0))` in the Group Name parameter. Make sure your Initial Merge is set to Union with Existing. File attached.
If you want something more exact to the shape/silhouette, then you could probably compare point positions per piece using an attribute wrangle and group them that way? It would be a lot slower, but would be much less error prone.
If you want something more exact to the shape/silhouette, then you could probably compare point positions per piece using an attribute wrangle and group them that way? It would be a lot slower, but would be much less error prone.
Edited by brhouse - Sept. 3, 2019 11:53:17
Technical Artist @ Bluepoint Games
www.youtube.com/channel/UCNEINSyw2aLf8J4lGIH7wKA
www.linkedin.com/in/bhouse4031
www.youtube.com/channel/UCNEINSyw2aLf8J4lGIH7wKA
www.linkedin.com/in/bhouse4031
-
- Quick Links