box_edge_width = 10;
below_plane_z = 4.5;
+
fixing_pitch = 10;
+screw_depth = 6;
+
+fixing_receptacle_d = 4 + 2.5 + 2.5;
well_surround_wall = 2.5;
well_stiffening_height = 5;
//
// ScrewItem should use $depth
module AtScrewPositions(screws) {
- for (screw = hull_group) {
+ for (screw = screws) {
+echo("SCREW", screw);
$screw_depth = is_undef(screw[2]) ? screw_depth : screw[2];
translate(fixing_pitch * [screw[0], screw[1], 0])
children(0);
// minkowski(){
// WallMinkowskiSphere(wall);
- translate(concat(offset, [0])) difference(){
+ difference(){
union(){
- linextr(-10, half_height){
+ translate(concat(offset, [0])) linextr(-10, half_height){
offset($fn=8, r = wall)
projection(cut=false)
children(0);
}
for (hull_group = screws) {
+ echo("HULL GROUP", hull_group);
hull() {
- AtScrewPositions(screws) {
+ AtScrewPositions(hull_group) {
+ linextr(0, $screw_depth)
+ circle(r= fixing_receptacle_d/2);
}
}
+ AtScrewPositions(hull_group)
+ %linextr(0, 30) circle(r= 0.5, $fn=4);
}
}
// minkowski(){
// WallMinkowskiSphere(wall);
- translate([0, 0, half_height]) {
+ translate(concat(offset, [0])) translate([0, 0, half_height]) {
children(0);
}
// }
- for (gap=gaps) {
+ translate(concat(offset, [0])) for (gap=gaps) {
linextr_x_yz(gap[0], gap[1])
rectfromto([ -100, well_stiffening_height ], [ 100,100 ]);
}
WellSurround(driver_handle_handle_d/2, [
[ 15, driver_handle_shaft_l - 15 ],
[ driver_handle_shaft_l + 15, driver_handle_shaft_l + 45 ],
- ], [], offset=[-5, 0])
+ ], [
+ [ [0,0] ],
+ ], offset=[-5, 0])
DriverHandlePositive();
}