// 3. Invoke BoxUseShape
// 4. Use the Box and Lid modules generated
+m4_define(`BoxLocals',`
+ wall = $sealingbox_wallthick;
+
+ ts_cidoff = (ts_cnrrad * (1-.7) + wall * .8) * [1,1];
+
+ ts_xbox_lin = ts_xbox - ts_cnrrad*2;
+ ts_ybox_lin = ts_ybox - ts_cnrrad*2;
+')
+
m4_dnl Box_Part($1=transl_x,$2=transl_y, $3=rot_z,$4=mirror_xy)
m4_dnl $5=kind, $6=kindargs, $7=profile(profileargsargs))
m4_define(`Box_Part',`
}
')
-m4_define(`BoxLocals',`
- wall = $sealingbox_wallthick;
-
- ts_cidoff = (ts_cnrrad * (1-.7) + wall * .8) * [1,1];
-
- ts_xbox_lin = ts_xbox - ts_cnrrad*2;
- ts_ybox_lin = ts_ybox - ts_cnrrad*2;
-')
-
m4_dnl BoxDoShapeRect(`profile(profileargs)');
m4_define(`BoxDoShapeRect',`
Box_Part(0, ts_cnrrad, 0,0, Linear,`ts_ybox_lin', `$1' )