Foro de Soporte Allplan

CopyAlongPath - Circle [Guardado]


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!

Adjuntos (3)

Type: image/png
Descargado 82 veces
Size: 40,51 KiB
Type: image/png
Descargado 76 veces
Size: 13,72 KiB
Type: image/png
Descargado 61 veces
Size: 14,44 KiB

Show solution Hide solution

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

Adjuntos (1)

Type: image/png
Descargado 32 veces
Size: 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

Adjuntos (1)

Type: image/png
Descargado 32 veces
Size: 68,37 KiB
11 - 11 (11)

https://connect.allplan.com/ utiliza cookies  -  Aqui

Acéptalo