Support Forum

CopyAlongPath - Circle [Gelöst]

Schlagworte:
  • Visual scripting
  • Copy along path
  • Circl
  • Cylinder

Hello,

If I want to copy an object along a 3D cirle, it won't complete the whole circle at a certain amount of objects. This amount of objects depends also on the radius of the circle. With a larger circle it can accept more objects.
As you can see, there will be an opening between the objects and also the amount isn't correct.

What is going wrong?

Thanks in advance!

Anhänge (3)

Typ: image/png
87-mal heruntergeladen
Größe: 40,51 KiB
Typ: image/png
80-mal heruntergeladen
Größe: 13,72 KiB
Typ: image/png
65-mal heruntergeladen
Größe: 14,44 KiB

Lösung anzeigen Lösung verbergen

Hi Joris,

I tested with your script and one cylinder is indeed missing. It happens when the radius of path circle is smaller than 2m, which is weird. We will try to fix it.

Alternatively, you can try the node "DivisionPointsByCount", then connect the division points to node "Cylinder". You will get a same result. (Please check attached screenshot)

Generally speaking, I prefer the approach with "DivisionPoints", because if the distributed cylinders have different radius, "CopyAlongPath" can't handle it.

Regards
Xinling

Product Owner API, Allplan GmbH

Anhänge (1)

Typ: image/png
34-mal heruntergeladen
Größe: 68,37 KiB
11 - 11 (11)

Hi Joris,

I tested with your script and one cylinder is indeed missing. It happens when the radius of path circle is smaller than 2m, which is weird. We will try to fix it.

Alternatively, you can try the node "DivisionPointsByCount", then connect the division points to node "Cylinder". You will get a same result. (Please check attached screenshot)

Generally speaking, I prefer the approach with "DivisionPoints", because if the distributed cylinders have different radius, "CopyAlongPath" can't handle it.

Regards
Xinling

Product Owner API, Allplan GmbH

Anhänge (1)

Typ: image/png
34-mal heruntergeladen
Größe: 68,37 KiB
11 - 11 (11)