Hi,

We are trying to put some pole along a spline, that stays inside the spline (the path, evenly). In angles, we need to get the pole back inside the spline, so we use :

if(radToDeg(XVertexAngle)<180,Input1/(2*tan(radToDeg(XVertexAngle)/2)),0)

basically, if the angle is inferior to 180°, we shift the pole position. (we use Numeric Input1 to measure pole wide)

For testing, we have linked Y scale to another Numeric operator with this : radToDeg(XVertexAngle) to show detected angle by RC.

But this formula gives us angles superior to 180° ! But description says scalar 0 to PI rad

On other hand, XVertexWideAngle give us angles always inferior to PI

So our understanding of XVertexAngle and XVertexWideAngle are the opposite of their description.

Could you share some knowledge with us regarding this ?

Regards

We are trying to put some pole along a spline, that stays inside the spline (the path, evenly). In angles, we need to get the pole back inside the spline, so we use :

if(radToDeg(XVertexAngle)<180,Input1/(2*tan(radToDeg(XVertexAngle)/2)),0)

basically, if the angle is inferior to 180°, we shift the pole position. (we use Numeric Input1 to measure pole wide)

For testing, we have linked Y scale to another Numeric operator with this : radToDeg(XVertexAngle) to show detected angle by RC.

But this formula gives us angles superior to 180° ! But description says scalar 0 to PI rad

On other hand, XVertexWideAngle give us angles always inferior to PI

So our understanding of XVertexAngle and XVertexWideAngle are the opposite of their description.

Could you share some knowledge with us regarding this ?

Regards