Das Wissen aller Anwender nutzen

Im Allplan Connect Forum tauschen sich Anwender aus, geben wertvolle Tipps oder beraten sich bei ganz konkreten Aufgabenstellungen − auch international.
Und damit wirklich keine Frage unbeantwortet bleibt, unterstützen die Mitarbeiter des Technischen Supports ebenfalls aktiv das Forum.

Es erwarten Sie:

  • Foren-Vielfalt aus CAD Architektur, CAD Ingenieurbau uvm.
  • Tipps von User für User
  • international: Deutsch, Englisch, Italienisch, Französisch und Tschechisch

Melden Sie sich jetzt an und diskutieren Sie mit!

Zur Registrierung

[Frage] arrangement along a 3D spline

Schlagworte:
  • Visual scripting

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?

Anhänge (1)

Typ: image/png
43-mal heruntergeladen
Größe: 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...

Zitiert von: 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