How to get the position of parametric spline points?


#1

Hello!

The xpresso Point operator is great! but it doesnt work with parametric objects. anyone knows a workaround?

or maybe a python solution to this problem? thanks!!


#2

Have you tried Xpresso with the correction deformer?

I’m thinking aloud but the correction deformer allows point level editing of parametric objects it may provide Xpresso with point positions output.

IIRC point positions appear in the structure window when using the correction deformer. You can probably feed the correction deformer into the point node and iterate through the points.


#3

wow thank you very much this is a great trick!

this tecnique doesnt work with spline but it does work with parametric primitives.

i can swap my spline rectangles with primitive polygons. and i will be able to read those points positions!

still i would like to know if there is a way to do it with splines…i would like to know a way!


#4

Sorry, doing it all from memory. I don’t have C4D installed anymore.

How about Matrix object in object mode distributed onto the vertices of the spline then reading back the positions of the individual matrices with Mograph data node?


#5

yep! i think matrix object is gonna be better.
correction deformer doesnt update properly during animations.