Skip to content
Snippets Groups Projects
Commit ad502cc6 authored by fxk8y's avatar fxk8y :spider:
Browse files

Abandoning the clip

parent 5b7ca859
No related branches found
No related tags found
No related merge requests found
......@@ -46,18 +46,31 @@ module pcb3D(wi, hi, ri, height=1.6, off=pcb_off) {
module body(wi, hi, ri, height=pcb_t, off=pcb_off, _str=box_str) {
outer_w = wi;
// clipDisplacementX
clDsX = wi/2 + off + _str;
difference() {
pcb3D(wi, hi, ri, height=height, off=_str);
translate([0, 0, _str]) pcb3D(wi, hi, ri, height=height, off=off);
for (tx=[-outer_w/2]) translate([tx, 0, height/2]) rotate([0, 0, 0]) clipReceptacle();
//for (tx=[-clDsX, clDsX]) translate([tx, 0, height/2]) rotate([0, 0, 0]) clipReceptacle();
}
}
module outerRing(w=pcb_w, h=pcb_h, r=pcb_r, off=pcb_off, _str=box_str) {
s2 = _str/2;
difference() {
pcb3D(w, h, r, off=off);
pcb3D(w-s2, h-s2, r, off=off);
}
}
translate([0, 0, 10]) outerRing();
module PCBMockUp(w=pcb_w, h=pcb_h, r=pcb_r, off_xy=pcb_sc_off) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment