Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions openGrid/opengrid-snap.scad
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ include <BOSL2/std.scad>

module openGridSnap(lite=false, directional=false, orient, anchor, spin){
module openGridSnapNub(w, nub_h, nub_w, nub_d, b_y, top_wedge_h, bot_wedge_h, r_x, r_r, r_s){
move([w/2, 0, 0])
move([w/2 - 0.01, 0, 0])
intersection(){
difference(){
//bounding box - add 0.01 to height for overlap with core
Expand Down Expand Up @@ -104,10 +104,10 @@ module openGridSnap(lite=false, directional=false, orient, anchor, spin){
zrot_copies(n=4)
move([w/2-1, 0, 0])
if (!directional || $idx==1 || $idx==3)
cuboid([0.6,12.4,2.8 + (lite ? 0 : fulldiff)], rounding=0.3, $fn=100, edges="Z", anchor=BOTTOM);
cuboid([0.6,12.4, lite ? 1.5 : 2.8 + fulldiff], rounding=0.3, $fn=100, edges="Z", anchor=BOTTOM);
//bottom click holes for rear directional
if (directional) {
zrot(180) move([w/2-1, 0, 0.599]) cuboid([0.6, 12.4, 2.2 + (lite ? 0 : fulldiff) ], rounding=0.3, $fn=100, edges="Z", anchor=BOTTOM);
zrot(180) move([w/2-1, 0, 0.599]) cuboid([0.6, 12.4, lite ? 0.9 : 2.2 + fulldiff], rounding=0.3, $fn=100, edges="Z", anchor=BOTTOM);
zrot(180) move([w/2-1.2, 0, 0]) prismoid(size1=[0.6, 12.4], size2=[0.6, 12.4], h=0.6, shift=[0.2,0], rounding=0.3, $fn=100);
zrot(180) move([w/2-0.1, 0, 0]) rotate([0,0,0]) prismoid(size1=[0.2, 20], size2=[0, 20], shift=[0.1,0], h=0.6, anchor=BOTTOM);
};
Expand Down