Support Forum

CopyAlongPath - Circle [Solved]

Tags:
  • 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!

Attachments (3)

Type: image/png
Downloaded 87 times
Size: 40,51 KiB
Type: image/png
Downloaded 80 times
Size: 13,72 KiB
Type: image/png
Downloaded 65 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 34 times
Size: 68,37 KiB
1 - 10 (11)

Hi J_Broekman,

I just test with the latest Allplan 2020-1-6. It works well and has no such issue. Which Allplan version do you have? Could you update Allplan to the latest version and try again?

If that still doesn't help, could you please upload your script here, so we can take a look on that.

Best wishes
Xinling

Product Owner API, Allplan GmbH

Hi Xinling,

I've made this in the beta version of Allplan 2021, I think it was RC1.
I will try to reproduce it in 2020-06.

Greetings Joris

Hi Joris,

Thanks for testing the RC version.
2021-RC1 does have some issue regarding Visual Scripting. But we fixed them already. I just tested with 2021-RC3 and it also works.

Product Owner API, Allplan GmbH

Okay thanks for replying.
I guess I have to rebuild the script before it works well?

I don't think so. But I'm not sure.

Product Owner API, Allplan GmbH

When I rebuilt the script it's working.
Thanks

Hi Xinling,

Now I was trying to build a script in the new Allplan 2021-0 version but the copy along path still doesn't work well.

It is the same problem as in the beta version..

Can you have a look at this?

Thanks in advance!

Joris

Hi Joris,

I didn't have such an issue with Allplan 2021-0-0. Could you maybe upload the script? with which value it doesn't work?

Product Owner API, Allplan GmbH

Attachments (1)

Type: image/png
Downloaded 73 times
Size: 167,71 KiB

Hi Xinling,

When I use a radius of 2000mm it is working well with 35 copies but with 36 it is a failure.

I see a difference between yours and mine script; I am using cylinders in stead of circles to copy.

And the failure depends also on the radius of the path, bigger radius is more number of copies.

Greetings Joris

Attachments (3)

Type: image/png
Downloaded 40 times
Size: 21,01 KiB
Type: image/png
Downloaded 14 times
Size: 12,41 KiB
Type: text/xml
Downloaded 1148 times
Size: 2,46 KiB
1 - 10 (11)