fixed floorthick in round and hex cases, updated readme
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
This project is about autonomous SBC case creation. It utilizes the SBC Model Framework project
|
This project is about autonomous SBC case creation. It utilizes the SBC Model Framework project
|
||||||
to automatically generate cases based on the data for any given SBC contained within the framework.
|
to automatically generate cases based on the data for any given SBC contained within the framework.
|
||||||
|
It uses the Customizer for a graphical user interface for all case attributes. Cases can be created, saved, recalled and edited using the graphical interface after enabling the customizer in the OpenSCAD menu view.
|
||||||
License: GPLv3.
|
License: GPLv3.
|
||||||
|
|
||||||

|

|
||||||
@@ -19,7 +19,7 @@ License: GPLv3.
|
|||||||
|
|
||||||
```
|
```
|
||||||
### Notes
|
### Notes
|
||||||
|
|
||||||
More information can be found at this [Hard Kernel forum thread](https://forum.odroid.com/viewtopic.php?f=53&t=43948)
|
More information can be found at this [Hard Kernel forum thread](https://forum.odroid.com/viewtopic.php?f=53&t=43948)
|
||||||
|
|
||||||
### Case Designs and Styles
|
### Case Designs and Styles
|
||||||
|
|||||||
@@ -512,9 +512,8 @@ module case_bottom(case_design) {
|
|||||||
cylinder_fillet_inside(h=bottom_height, r=case_diameter/2,
|
cylinder_fillet_inside(h=bottom_height, r=case_diameter/2,
|
||||||
top=0, bottom=fillet, $fn=case_fn, fillet_fn=case_ffn, center=true);
|
top=0, bottom=fillet, $fn=case_fn, fillet_fn=case_ffn, center=true);
|
||||||
translate([pcb_width/2,pcb_depth/2,(bottom_height/2)+floorthick]) rotate([0,0,30])
|
translate([pcb_width/2,pcb_depth/2,(bottom_height/2)+floorthick]) rotate([0,0,30])
|
||||||
cylinder_fillet_inside(h=bottom_height+adjust+floorthick,
|
cylinder_fillet_inside(h=bottom_height+adjust, r=(case_diameter/2)-lip/2,
|
||||||
r=(case_diameter/2)-lip/2,top=0, bottom=fillet-1, $fn=case_fn,
|
top=0, bottom=fillet-1, $fn=case_fn, fillet_fn=case_ffn, center=true);
|
||||||
fillet_fn=case_ffn, center=true);
|
|
||||||
difference() {
|
difference() {
|
||||||
translate([pcb_width/2,pcb_depth/2,bottom_height-lip]) rotate([0,0,30])
|
translate([pcb_width/2,pcb_depth/2,bottom_height-lip]) rotate([0,0,30])
|
||||||
cylinder(h=lip+adjust, r=(case_diameter/2)+1, $fn=case_fn);
|
cylinder(h=lip+adjust, r=(case_diameter/2)+1, $fn=case_fn);
|
||||||
@@ -525,7 +524,7 @@ module case_bottom(case_design) {
|
|||||||
difference() {
|
difference() {
|
||||||
translate([pcb_width/2,pcb_depth/2,(bottom_height/2)+2*floorthick]) rotate([0,0,30])
|
translate([pcb_width/2,pcb_depth/2,(bottom_height/2)+2*floorthick]) rotate([0,0,30])
|
||||||
cylinder_fillet_inside(h=bottom_height+adjust+floorthick+lip,
|
cylinder_fillet_inside(h=bottom_height+adjust+floorthick+lip,
|
||||||
r=(case_diameter/2)-lip/2,top=0, bottom=fillet-1, $fn=case_fn,
|
r=(case_diameter/2)-lip/2,top=0,bottom=fillet-1, $fn=case_fn,
|
||||||
fillet_fn=case_ffn, center=true);
|
fillet_fn=case_ffn, center=true);
|
||||||
translate([-16,(depth/2)-150,-adjust])
|
translate([-16,(depth/2)-150,-adjust])
|
||||||
cube([width+10,300,case_z-2*floorthick-2]);
|
cube([width+10,300,case_z-2*floorthick-2]);
|
||||||
@@ -540,14 +539,13 @@ module case_bottom(case_design) {
|
|||||||
cylinder_fillet_inside(h=bottom_height, r=case_diameter/2,
|
cylinder_fillet_inside(h=bottom_height, r=case_diameter/2,
|
||||||
top=0, bottom=fillet, $fn=6, fillet_fn=case_ffn, center=true);
|
top=0, bottom=fillet, $fn=6, fillet_fn=case_ffn, center=true);
|
||||||
translate([pcb_width/2,pcb_depth/2,(bottom_height/2)+floorthick]) rotate([0,0,30])
|
translate([pcb_width/2,pcb_depth/2,(bottom_height/2)+floorthick]) rotate([0,0,30])
|
||||||
cylinder_fillet_inside(h=bottom_height+adjust+floorthick,
|
cylinder_fillet_inside(h=bottom_height+adjust,r=(case_diameter/2)-lip/2,top=0,
|
||||||
r=(case_diameter/2)-lip/2,top=0, bottom=fillet-1, $fn=6,
|
bottom=fillet-1,$fn=6,fillet_fn=case_ffn, center=true);
|
||||||
fillet_fn=case_ffn, center=true);
|
|
||||||
difference() {
|
difference() {
|
||||||
translate([pcb_width/2,pcb_depth/2,bottom_height-lip]) rotate([0,0,30])
|
translate([pcb_width/2,pcb_depth/2,bottom_height-lip]) rotate([0,0,30])
|
||||||
cylinder(h=lip+adjust, r=(case_diameter/2)+1, $fn=6);
|
cylinder(h=lip+adjust,r=(case_diameter/2)+1, $fn=6);
|
||||||
translate([pcb_width/2,pcb_depth/2,bottom_height-lip]) rotate([0,0,30])
|
translate([pcb_width/2,pcb_depth/2,bottom_height-lip]) rotate([0,0,30])
|
||||||
cylinder(h=lip+2*adjust, r=(case_diameter/2)-lip/4, $fn=6);
|
cylinder(h=lip+2*adjust,r=(case_diameter/2)-lip/4, $fn=6);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
difference() {
|
difference() {
|
||||||
|
|||||||
Reference in New Issue
Block a user