chiark
/
gitweb
/
~ianmdlvl
/
reprap-play.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0132c3d
)
flyscreen-handle: provide GappingSection
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 26 Aug 2016 00:13:33 +0000
(
01:13
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Fri, 26 Aug 2016 00:13:33 +0000
(
01:13
+0100)
flyscreen-handle.scad
patch
|
blob
|
history
diff --git
a/flyscreen-handle.scad
b/flyscreen-handle.scad
index ecc5ff833ea6be0ec8e1ea11675598555685f6e5..253febf650d9d7ea908c3a50a6b0dfac2208aba0 100644
(file)
--- a/
flyscreen-handle.scad
+++ b/
flyscreen-handle.scad
@@
-85,18
+85,27
@@
module RetainSection(){
translate([0,ins_orad]) circle(r=retain_rad, $fn=20);
}
translate([0,ins_orad]) circle(r=retain_rad, $fn=20);
}
-module RetainCutout(){
+module RetainCutout(
gapping=false
){
rotate(180-retain_empir_angle)
translate([0,ins_orad]) {
difference(){
circle(r=retain_rad + cutout_gap, $fn=20);
rotate(180-retain_empir_angle)
translate([0,ins_orad]) {
difference(){
circle(r=retain_rad + cutout_gap, $fn=20);
- rotate(180 + retain_empir_angle/2)
- translate([0, -retain_empir_stalkw])
- square([100, retain_empir_stalkw*2]);
+ if (!gapping)
+ rotate(180 + retain_empir_angle/2)
+ translate([0, -retain_empir_stalkw])
+ square([100, retain_empir_stalkw*2]);
}
}
}
}
}
}
+module GappingSection(){
+ difference(){
+ InsertSection();
+ RetainCutout(true);
+ }
+ HandleSection();
+}
+
module WithRetainSection(){
difference(){
InsertSection();
module WithRetainSection(){
difference(){
InsertSection();
@@
-126,5
+135,6
@@
module Test(){
//Demo();
//WithRetainSection();
//Demo();
//WithRetainSection();
-BasicSection();
+//BasicSection();
+GappingSection();
//Test();
//Test();