Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
RESEED
openTW
Commits
63766572
Commit
63766572
authored
May 19, 2022
by
Forquet Nicolas
Browse files
start to move the TSS lysimeter design to openscad
parent
3397d03b
Changes
1
Hide whitespace changes
Inline
Side-by-side
TSS_lysimeter/SS_lysimeter.scad
0 → 100644
View file @
63766572
// parameters for final rendering
//$fa = 1;
//$fs = 0.4;
bottom_plate_radius = 105;
bottom_plate_height = 5;
bottom_plate_edge_height = 5.2;
bottom_plate_edge_thickness = 4.8;
bottom_plate_slot_depth = 2;
bottom_plate_slot_width = 3.6;
bottom_plate_hole_radius = 10;
// bottom plate design
union(){
difference(){
// the plate
cylinder(h=bottom_plate_height, r=bottom_plate_radius, center = true);
//body slot
difference(){
translate([0,0,bottom_plate_height-bottom_plate_slot_depth])
cylinder(h=bottom_plate_slot_depth, r =bottom_plate_radius - bottom_plate_edge_thickness, center = true);
translate([0,0,bottom_plate_height-bottom_plate_slot_depth])
cylinder(h=bottom_plate_slot_depth, r =bottom_plate_radius - bottom_plate_edge_thickness - bottom_plate_slot_width, center = true);
}
//holes in the bottom plate
cylinder(h = bottom_plate_height, r = bottom_plate_hole_radius, center = true);
for (i=[1:1:2]){
n = 8 +(i-1)*6;
step = 360/n;
r = 40*i;
for (angle=[0:step:359]){
dx = r*cos(angle);
dy = r*sin(angle);
translate([dx,dy,0])
cylinder(h = bottom_plate_height, r = bottom_plate_hole_radius, center = true);
}
}
}
// the edge
difference(){
translate([0,0,bottom_plate_height])
cylinder(h=bottom_plate_edge_height, r=bottom_plate_radius,center = true);
translate([0,0,bottom_plate_height])
cylinder(h=bottom_plate_edge_height, r=bottom_plate_radius - bottom_plate_edge_thickness, center = true);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment