[Question] arrangement along a 3D spline


Hi!

We need to create code in Visual Scripting for arranging objects with a certain step. It is necessary that this arrangement be made along a 3D spline. But the distance was considered not along the length of the curve, but along the chords (example on the picture). How to do this in VS? What nodes should be used?

Attachments (1)

Type: image/png
Downloaded 43 times
Size: 19,99 KiB

I think it is currently not possible with VS. The reason is that, the position of n+1-th point depends on the n-th point. That may require a loop node, which we don't have yet.

But it is possible with coded-PythonPart or to create a custom node for that.

Product Owner API, Allplan GmbH

Ok, thanks!
we will try coded-PP for this task

In 2D, this is perhaps still possible, since the intersection calculation is implemented for splines and arcs. In 3D, however, the intersection calculation BSpline3D against sphere does not exist, as far as I know. Let us know how you solved it...

Quote by Nemo
In 2D, this is perhaps still possible, since the intersection calculation is implemented for splines and arcs. In 3D, however, the intersection calculation BSpline3D against sphere does not exist, as far as I know. Let us know how you solved it...

I didn't check the Python API for that. If there is no such function, then we may need to create one first...

Product Owner API, Allplan GmbH


https://campus.allplan.com/ uses cookies  -  More information

Accept