Cutting a mesh into pieces and saving each piece

   5278   1   0
User Avatar
Member
6 posts
Joined: Dec. 2013
Offline
Hi.

I was hoping to get a little bit of help with a project I'm working on. The goal is to split a piece of geometry into smaller pieces and saving the pieces to disk.

This is what I have so far:

I can use a group node with a bounding object input to select the points within the box and blast away the un-wanted points.

I can use a grid object to make points at the correct location and a copy node to place boxes on the grid.

What I'm hoping to learn is this:
* iterate over each one of the boxes that were created via the copy node on the grid
* Cut the selected piece out of the input geometry
* move it to the center and then save out as an unique obj file to disk.

Thanks
-Gisli
User Avatar
Member
648 posts
Joined: July 2005
Offline
see attached, uses box_id == $F to iterate…

Attachments:
cutter.hiplc (84.8 KB)

  • Quick Links