diff --git a/generate_chip.py b/generate_chip.py index ee81b34..f6940b1 100644 --- a/generate_chip.py +++ b/generate_chip.py @@ -614,7 +614,9 @@ def generate_3d( width = config.body.width height = config.body.height - fillet = min(width, height) * 0.05 + fillet = width * 0.05 + if fillet * 2 >= height: + fillet = height * 0.2 edge = (length - config.gap) / 2 translation = (0, 0, height / 2) edge_offset = length / 2 - edge