I try to figure out how to array in Python as ArrayCrv command is not implemented yet.
I tried with rs.Command("_ArrayCrv " + " SelID " + str(array))but the the “SelID” does not seems to work because the objects that needs to be multiplied are in a list.
array (objects):
[<System.Guid object at 0x0000000000000035 [5f7cb5a1-d04f-46f3-8a5f-ad467f0ab16f]>]
Select objects to array. Press Enter when done: _ArrayCrv
Select objects to array: SelID
Object ID to select: [<System.Guid - This line is broken it does not parse the whole GUID id.
Is there any alternative way to use this command without interface but only with command line where I can type the number of multiplications ?
to solve this with a scripted command you can fist select aal the objects to array and than run de command. This way you only need to SelId the pathcurve.
You could script the array command in Rhino, but that involves quite a few steps.
I don’t have the time atm to get you started, but it would be something along the lines of:
divide the pathcurve and get the parameters at those divides
get the perpendicular planes of the pathcurve at each divide
for each divide transform a copy of your input geometry from a base-plane to the perpendicular plane.