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
flyscreen-handle: wip sort out new slopes
[reprap-play.git]
/
flyscreen-handle.scad
diff --git
a/flyscreen-handle.scad
b/flyscreen-handle.scad
index 00136e725de4b08fffce74e750c22c97949c130a..85434c599e8f15d25297c523f8ac5ee01d3159c3 100644
(file)
--- a/
flyscreen-handle.scad
+++ b/
flyscreen-handle.scad
@@
-31,7
+31,6
@@
cutout_gap = 1.5;
total_len = 35;
retaining_len = 10;
total_len = 35;
retaining_len = 10;
-overret_gaplen = 5;
overret_hch = 5;
overret_hch = 5;
@@
-53,6
+52,10
@@
topprotr_y = -ins_irad + opening_topprotr;
retain_mxy = [handle_x0 - retain_rad - retain_hgap_adjust,
-ins_orad + retain_rad - retain_protr];
retain_mxy = [handle_x0 - retain_rad - retain_hgap_adjust,
-ins_orad + retain_rad - retain_protr];
+retain_cutout_h = retain_rad * 2 + retain_bend_gap;
+
+overret_gaplen = retain_cutout_h / cos(retain_empir_angle);
+
module InsertSection(){
hull(){
translate([-ins_irad, -ins_irad])
module InsertSection(){
hull(){
translate([-ins_irad, -ins_irad])
@@
-115,7
+118,7
@@
module RetainCutout(gapping=false){
rotate(retain_empir_angle) {
translate([-50, -retain_rad]) {
square([50 + retain_stalk_len,
rotate(retain_empir_angle) {
translate([-50, -retain_rad]) {
square([50 + retain_stalk_len,
- retain_
rad * 2 + retain_bend_gap
]);
+ retain_
cutout_h
]);
}
}
}
}
}
}
@@
-123,10
+126,12
@@
module RetainCutout(gapping=false){
module GappingSection(){
difference(){
module GappingSection(){
difference(){
- InsertSection();
+ union(){
+ InsertSection();
+ HandleSection();
+ }
RetainCutout(true);
}
RetainCutout(true);
}
- HandleSection();
}
module WithRetainSection(){
}
module WithRetainSection(){
@@
-155,10
+160,10
@@
module Handle(){
translate([0,0, bs1+0.1]) mirror([0,0,1]) {
intersection_for (sl=[0,1]) {
multmatrix([[1,0,0,0],
translate([0,0, bs1+0.1]) mirror([0,0,1]) {
intersection_for (sl=[0,1]) {
multmatrix([[1,0,0,0],
- [0,1,sl
*0.65
,0],
+ [0,1,sl,0],
[0,0,1,0],
[0,0,0,1]])
[0,0,1,0],
[0,0,0,1]])
- linear_extrude(height= overret_gaplen
+1
, convexity=100)
+ linear_extrude(height= overret_gaplen
+ 10
, convexity=100)
BasicSection();
}
}
BasicSection();
}
}
@@
-183,6
+188,6
@@
module Test(){
//WithRetainSection();
//BasicSection();
//GappingSection();
//WithRetainSection();
//BasicSection();
//GappingSection();
-Test();
+
//
Test();
//Demo();
//Demo();
-
//
Handle();
+Handle();