chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sewing-table: RoundCorner: change definition to take left cnr too
[reprap-play.git]
/
sewing-table.scad.m4
diff --git
a/sewing-table.scad.m4
b/sewing-table.scad.m4
index ca06e6b926084b69233123584ca9c93f8df5a293..dc4e056bf0312da10d02803094436858bcb057ed 100644
(file)
--- a/
sewing-table.scad.m4
+++ b/
sewing-table.scad.m4
@@
-238,10
+238,11
@@
module RoundEdge(left_cnr, right_cnr) {
}
module RoundCornerCut(ci) {
}
module RoundCornerCut(ci) {
- // ci should be [this_cnr, right_cnr]
+ // ci should be [this_cnr, right_cnr
, left_cnr
]
// where right_cnr is to the right (ie, anticlockwise)
this_cnr = ci[0];
right_cnr = ci[1];
// where right_cnr is to the right (ie, anticlockwise)
this_cnr = ci[0];
right_cnr = ci[1];
+ left_cnr = ci[2];
offr= round_cnr_rad - round_edge_rad;
INREFFRAME(this_cnr, right_cnr) INREFFRAME_EDGE {
difference(){
offr= round_cnr_rad - round_edge_rad;
INREFFRAME(this_cnr, right_cnr) INREFFRAME_EDGE {
difference(){
@@
-255,6
+256,7
@@
module RoundCornerCut(ci) {
module RoundCornerAdd(ci) {
this_cnr = ci[0];
right_cnr = ci[1];
module RoundCornerAdd(ci) {
this_cnr = ci[0];
right_cnr = ci[1];
+ left_cnr = ci[2];
bigr = round_cnr_rad - round_edge_rad;
INREFFRAME(this_cnr, right_cnr) INREFFRAME_EDGE {
intersection(){
bigr = round_cnr_rad - round_edge_rad;
INREFFRAME(this_cnr, right_cnr) INREFFRAME_EDGE {
intersection(){