chiark / gitweb /
sewing-table: RoundCorner: use ROUNDCORNER_VARS in selector (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 3 Jun 2017 18:58:08 +0000 (19:58 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 3 Jun 2017 18:58:08 +0000 (19:58 +0100)
sewing-table.scad.m4

index 3b498f3..68ec6ed 100644 (file)
@@ -245,8 +245,8 @@ m4_define(`ROUNDCORNER_VARS',`
 ')
 
 module RoundCorner_selector(ci, adj) {
-  r = round_cnr_rad - round_edge_rad;
-  cube(r*2 + adj, center=true);
+  ROUNDCORNER_VARS;
+  cube(bigr*2 + adj, center=true);
 }
 
 module RoundCornerCut(ci) {