Hi folks,
When I extrude a circle, it works all as expected. Once I scale the circle, and want to extrude the result, all of the sudden the extrusion no longer happens where the circle is. Why?
scaled-circle-extrusion-bug.dyn (12.0 KB)
Hi folks,
When I extrude a circle, it works all as expected. Once I scale the circle, and want to extrude the result, all of the sudden the extrusion no longer happens where the circle is. Why?
The issue is actually with the rendering of the circle, not the extrusion. Right now you’re scaling the Z-axis as well, which doesn’t really have geometry for a circle, and that’s causing the geometry to render incorrectly (by another 3x). If you just scale the X and Y-axes you’ll see that the circle scales correctly and matches the extrusion. You can just count the coordinate sapces and see that the extrusion has a radius of 3 whereas the overscaled circle has a radius of 9.
@solamour
The interesting part here is that Geometry.Scale
seems to require all 3 axes to retain the geometry as a circle. Scaling with only X and Y converts the geometry to a nurbscurve.
Yeah this looks like a bug - we’re doing a Geometry push this year, will add this to the list
Well caught, @Nick_Boyts! as I don’t really care about the preview, but the actual geometry, I can simply proceed with my script then. Thanks for pointing this out!
And thanks @solamour for ensuring this “what is that??”-effect is going to be taken care of in the future.