@Czaja wrote:
I can’t find any solution to my problem - Automated exploding blocks with preserved texture mapping of the output geometry. In my example, geometry inside the block definition is using box mapping.
Approaches I tried:
With the use of Grasshopper components from plugins: Heteroptera, Human, Elefront.
I can receive internal geometry this way but without attributes. I can reassign materials but not the mapping of course.ExplodeBlock command in Rhino - manual approach gives me good results but it is manual. I could try to run Rhino command from Grasshopper with the use of "Rhino Command " component from LunchBox plugin but such an approach is far from how should it be. I would need to select geometry in the Rhino window etc.
My last hope - Python.
I used rs.ExplodeBlockInstance method
https://developer.rhino3d.com/api/RhinoScriptSyntax/#collapse-ExplodeBlockInstance
Unfortunately, it changes the mapping (rotates it to match world cplane and maybe does something more to it).All of the approaches I took are visible on the screenshot and in the file that I attached.
Posts: 5
Participants: 3