CopyAlongPath - Circle [Solved]


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!

Attachments (3)

Type: image/png
Downloaded 82 times
Size: 40,51 KiB
Type: image/png
Downloaded 76 times
Size: 13,72 KiB
Type: image/png
Downloaded 61 times
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

Attachments (1)

Type: image/png
Downloaded 32 times
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

Attachments (1)

Type: image/png
Downloaded 32 times
Size: 68,37 KiB
11 - 11 (11)

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

Accept