Mirroring and surface extraction #38
Replies: 1 comment 5 replies
-
Hi, @eflehder1 ! To answer your first question on how you can essentially apply a transformation to an existing voxel geometry - I would suggest the following steps:
I uploaded Examples/Ex_MeshTrafoShowCase.cs to the ShapeKernel library which gives you a minimum example of how to do it. There is one transformation for mirroring and one for rotating. You can use the same workflow to come up with more elaborate transformations. Use this function to apply your transformation to each vertex of the input mesh: And here is an example of how the transformation function can look like. It needs to following the format |
Beta Was this translation helpful? Give feedback.
-
Hi Josefine,
What is the best way to mirror a set of voxel geometries about a defined plane? This is the assembly for reference:
Moreover, I want to create some attachment hooks that blend into the curved surfaces of these wedges, my approach would be to first extract the surface of the wedge, create a lattice pipe with the shapekernel, make the local frame perpendicular to the surface and then find a way to blend the lattice pipe into the wedge surface, is there a way to achive this or would you recommend a different workflow?
Many thanks,
Eric
Beta Was this translation helpful? Give feedback.
All reactions