Skip to content

Commit

Permalink
fix formating and small adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
9R committed Sep 14, 2024
1 parent 1011be9 commit 7cc5052
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions ScadBox.scad
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ $fn=20;

/*[Part]*/
// Select part to render
PART="container"; //[container, lid, latch]
PART = "container"; //[container, lid, latch]

/*[Dimensions]*/
// Add a top rim
Expand Down Expand Up @@ -146,7 +146,7 @@ module fixture_holes(offset_bottom) {
hole_offset=INTERNAL_LOCK ? -INTERNAL_LOCK_DEPTH/4 : FIXTURE_THICKNESS/2;
cut=LOCK_W+WALL_THICKNESS*4;
//upper
translate([-cut/2,hole_offset,BOX_H-4])
translate([-cut/2,hole_offset,BOX_H-5])
rotate (90,[0,1,0])
cylinder(cut,LOCK_BOLT_D,LOCK_BOLT_D);
//lower
Expand Down Expand Up @@ -335,6 +335,9 @@ if (PART == "lid"){

// latch
if (PART == "latch"){
linear_extrude (3)
text("Sry, not designed yet. :(",halign="center",valign="center");
union () {
cylinder(r=100,h=1);
linear_extrude (3)
text("Sry, not designed yet. :(",halign="center",valign="center");
};
};

0 comments on commit 7cc5052

Please sign in to comment.