Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi, I would like to add points to a spline, spreading them evenly, without changing the shape of this spline. I can do a python script, but is there a simple way to make this change ?
Hello,
The easiest way is to use a modeling command data. Something like this
bc=c4d.BaseContainer() bc.SetInt32(c4d.MDATA_SUBDIVIDE_SPLINESUB,5) result=c4d.utils.SendModelingCommand(c4d.MCOMMAND_SUBDIVIDE, [op], mode=c4d.MODELINGCOMMANDMODE_POINTSELECTION, bc=bc, doc=doc, flags =c4d.MODELINGCOMMANDFLAGS_CREATEUNDO) c4d.EventAdd()
You will find some code on this topic on how to use that kind of command based on the length of the spline.
Cheers, Manuel
hello, without information from your part, i'll consider this thread as solved and change its states