CopyAlongPath - Circle [Gelöst]


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
82-mal heruntergeladen
Größe: 40,51 KiB
Typ: image/png
76-mal heruntergeladen
Größe: 13,72 KiB
Typ: image/png
61-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 – Visual Scripting, Allplan GmbH

Anhänge (1)

Typ: image/png
32-mal heruntergeladen
Größe: 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 – Visual Scripting, 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 – Visual Scripting, 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 – Visual Scripting, 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 – Visual Scripting, Allplan GmbH

Anhänge (1)

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

Anhänge (3)

Typ: image/png
36-mal heruntergeladen
Größe: 21,01 KiB
Typ: image/png
10-mal heruntergeladen
Größe: 12,41 KiB
Typ: text/xml
796-mal heruntergeladen
Größe: 2,46 KiB
1 - 10 (11)

Verwendung von Cookies:
Um die Webseite optimal gestalten und fortlaufend verbessern zu können, verwendet Allplan Cookies.
Durch die weitere Nutzung der Webseite erklären Sie sich mit der Verwendung von Cookies einverstanden.  -  Mehr Informationen

Schließen