You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No I don't think so. The linear_extrude on its own works despite having a square hole in the middle of a square. It is drilling a hole through the resultant square tube that fails but only when the tube has been render()ed but the hole hasn't.
Yes that fixes it. I hadn't realised that render() had a convexity parameter and have got away without ever setting it before, despite there being a render around every vitamin and stl in Mendel90.
The confusing thing about convexity is the thing being rendered or extruded can appear fine on its own but goes wrong when you do some later operation on it.
This is a square tube with a hole drilled through it.
difference() {
render() rotate([90, 0, 0])
linear_extrude(height = 100, convexity = 10, center = true)
difference() {
square([15, 15], center = true);
square([10, 10], center = true);
}
cylinder(r = 5/2, h = 20, center = true);
}
It renders with missing faces with F5, OK with F6.
Removing the render() statement, or moving it outside the difference() fixes it.
The text was updated successfully, but these errors were encountered: