How divide a mesh into small pieces and save them separately?
2675
8
1
Dec. 11, 2018 7:51 a.m.
i try to split a mesh into small pieces by using polySplit Node, Can anyone give me some idea how should i do it? thank you.
Attachments:
15445322701553.png (164.4 KB)
111.png (31.0 KB)
olivierth
Member
1007 posts
Joined: April 2017
Offline
Dec. 11, 2018 4:09 p.m.
Houdini's help does not even contain any info on how to use the projection curve. I couldn't make it work on my side. You could use the boolean sop instead. Start by using polyextrude on the curves and boolean the result. -Olivier
Dec. 12, 2018 4:36 a.m.
Cheers!! Boolean works great. Now i need to save these pieces separately with unique file name. Can you give me some advice? which SOP should i use.
Edited by liuyihunter - Dec. 12, 2018 04:37:23
Attachments:
1.png (264.9 KB)
2.png (49.0 KB)
3.png (292.4 KB)
mestela
Member
1738 posts
Joined: May 2006
Offline
Dec. 12, 2018 7:45 a.m.
Assemble and pack, split sop using @Frame as the group, unpack, file cache a sequence?
Dec. 17, 2018 8:44 a.m.
I using “assemble” to divide mesh into pieces, then i try to export each pieces as a unique FBX file within a for-each loop. Obviously my way didn't work, the picture only shows what i am trying to do. so any suggestion? Thank you
Edited by liuyihunter - Dec. 17, 2018 08:44:43
Attachments:
1.png (90.4 KB)
2.png (22.2 KB)
TerrainCutting.hip (153.8 KB)
Dec. 23, 2018 5:34 a.m.
Benjamin Lemoine As mestela said :Thanks Benjamin and mestela, now l learned how to use $F as group and file cache sequence. Everything works well
Edited by liuyihunter - Dec. 23, 2018 05:35:08
Dec. 23, 2018 7:06 a.m.
liuyihunter Benjamin Lemoine As mestela said : Thanks Benjamin and mestela, now l learned how to use $F as group and file cache sequence. Everything works wellVery useful indeed ! :-)
Dec. 24, 2018 7:47 a.m.
This is the final version, you can set number of rows and cols, Cutting the terrain mesh into small pieces and save them separately. Thank you for everyone who helped me.
Edited by liuyihunter - Dec. 24, 2018 21:44:54
Attachments:
TerrainCutting.hip (157.5 KB)