Why does a scaled circle not extrude as expected?

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? :slight_smile:


scaled-circle-extrusion-bug.dyn (12.0 KB)

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.

3 Likes

Yeah this looks like a bug - we’re doing a Geometry push this year, will add this to the list :smiling_face:

CC @achintya_bhat

2 Likes

Well caught, @Nick_Boyts! :grinning: 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. :slight_smile:

1 Like