dylann
Hey everyone. Got a quick question.

I'm trying to create a cube of LED strips that are hanging from the ceiling. So far I've got a poly cube controlling a voxelGrid which drives a particle instancer to create the lights. What I would love to do is take each column of points from the voxel grid and create curves which I could render directly or extrude or something. Was looking at the pointCloudToMultiCurve but can't work out how to convert the columns of points into the right groups.

Any help much appreciated.

Reply 0 0
plarson
In the multiCurve node the inGroupId distinguishes between groups. To create a curve for the voxelGrid output by column you can use the Point node with say $ID%# where # is the number of points in one horizontal layer. Here's an example of a 6x6x6 voxel grid generating 36 curves by column. ma voxel_toMCurve_1.0.ma     

The multiCurve node needs its array output to be done with a connectAttr and you use a Maya curveVarGroup node. Check around the forum for more details on the setup.
Reply 0 0
dylann
Brilliant! Works great. Thanks for your help! 
Reply 0 0
Reply