PT for GH: Bug in PolarExtrude component when using FullCircle = True?

There seems to be a bug in PolarExtrude component when using FullCircle = True. In some cases, the circle is closed as expected, while in many cases there is a bug, leaving a gap open:

In my example
gaps appear for the follwoing numbers: 8,12,14,15,17,18,20
no gaps appear for the follwoing numbers: 4,5,6,7,9,10,11,13,16,19

To me this looks like a bug in the angle calculation, in case FullCircle = True is used.

Here is a screenshot of the setup:

And here is the GH file for your reference:

polarextrude_bug.gh (8.9 KB)

hey @ore

I indeed didn’t really understand what is wrong with the node, but it seems to have a problem with calculating the angles with a int counter instead of a double value, which creates a deviation for all numbers that are not resulting in N numbers when divided by 360°.

polarextrude_bug_replaced.gh (10.2 KB)

I quickly rewrote this element in c# and hope it will serve you well until the bug is fixed.

hope this helps

1 Like

hey @benedict - thanks for spending your time creating a replacement for the polar extrude component.

Honestly speaking, I was not looking for for a solution for myself. My goal is to report bugs in order that they get fixed for all users. So hopefully my bug report and your c# rewrite together serve the creator of that component (@rajaa ?) to fix this bug.

Thanks again and have a good day.

1 Like

I see it. Thanks for the report. Report is here…