mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-09-09 14:40:44 +02:00
rounded_retangle() centre now defaults to false.
This commit is contained in:
@@ -62,7 +62,7 @@ module sk_bracket(type) { //! SK shaft support bracket
|
||||
}
|
||||
for(x = [W / 2 - 2 * fillet, -W / 2 + 2 * fillet])
|
||||
translate([x, G / 2, 0])
|
||||
rounded_rectangle([4 * fillet, G, L], fillet);
|
||||
rounded_rectangle([4 * fillet, G, L], fillet, true);
|
||||
}
|
||||
|
||||
translate([0, -h, -L /2])
|
||||
|
@@ -56,10 +56,10 @@ module transformer(type) { //! Draw specified transformer
|
||||
|
||||
}
|
||||
|
||||
color("white") {
|
||||
color("white")
|
||||
translate_z(tx_lamination_height(type) / 2 + tx_bobbin_offset(type) / 2)
|
||||
rounded_rectangle([tx_bobbin_width(type), tx_depth(type), tx_bobbin_height(type)], r = tx_bobbin_radius(type));
|
||||
}
|
||||
rounded_rectangle([tx_bobbin_width(type), tx_depth(type), tx_bobbin_height(type)], tx_bobbin_radius(type), true);
|
||||
|
||||
terminal_height = tx_height(type) - tx_lamination_height(type);
|
||||
|
||||
if(terminal_height)
|
||||
|
Reference in New Issue
Block a user