Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Hubert
/
Kompost
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0915f162
authored
Jan 19, 2021
by
Hubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed exploded view
1 parent
0447362e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
23 deletions
construction/eurobox.scad
construction/full.scad
construction/screws.scad
construction/eurobox.scad
View file @
0915f16
...
...
@@ -82,7 +82,7 @@ module mirroredgrates(x,y,z) {
module eurobox(x,y,z,handle,handlecaps,pipes,drilled,screws,locked,exploded) {
if ( handlecaps ) color("#5fe") handles(x,y,z,exploded=exploded ? [0,-5,0]:[0,0,0]);
if ( screws ) screws(x,y,z, locked=locked, exploded=exploded ?
[-5,-5,0]:[0,0,0]
);
if ( screws ) screws(x,y,z, locked=locked, exploded=exploded ?
5:0
);
if ( pipes ) pipes(z, exploded=exploded ? [-5,0,0]:[0,0,0]);
difference() {
...
...
construction/full.scad
View file @
0915f16
include<eurobox.scad>
include<lid.scad>
translate([0,0,2]) euroboxlid(30,40);
/* translate([0,0,2]) euroboxlid(30,40); */
translate([0,0,-7])
eurobox(30,40,7,handle=false);
/* translate([0,0,-7]) */
/* eurobox(30,40,7,handle=false); */
translate([0,0,6.3])
eurobox(30,40,22,
handle=true,
handlecaps=true,
pipes=true,
drilled=true,
screws=true,
locked=true,
exploded=false
);
/* translate([0,0,6.3]) */
/* eurobox(30,40,22, */
/* handle=true, */
/* handlecaps=true, */
/* pipes=true, */
/* drilled=true, */
/* screws=true, */
/* locked=true, */
/* exploded=false */
/* ); */
translate([0,0,6.3+21.3/* +4 */])
...
...
construction/screws.scad
View file @
0915f16
...
...
@@ -65,30 +65,30 @@ module hinges(locked) {
/* } */
}
module cornerscrews(z, locked) {
module cornerscrews(z,
exploded,
locked) {
shift = locked ? 0 : 1.5;
translate([2.4 + shift
, 0.8
, z - 2.66
, z - 2.66
+ exploded
])
cornerscrew(z,upside=true);
translate([0.8
, 2.4 + shift
, recess + strength + shimheight
, recess + strength + shimheight
- exploded
]) rotate([180,0,0])
cornerscrew(z,upside=false);
translate([gratesize,gratesize,recess+strength]) {
translate([1.3,0,0]) hinges(locked);
rotate([0,0,90]) translate([2.8,0,0]) rotate([0,0,180])hinges(locked);
translate([1.3,0
-exploded
,0]) hinges(locked);
rotate([0,0,90]) translate([2.8,0
+exploded
,0]) rotate([0,0,180])hinges(locked);
}
}
module screws(x,y,z, locked, exploded) {
translate(exploded) cornerscrews(22,
locked);
mirror([0,1,0])
translate(exploded) translate([0,-y,0]) cornerscrews(22
, locked);
mirror([1,0,0])
translate(exploded) translate([-x,0,0]) cornerscrews(22
, locked);
mirror([1,0,0]) translate([-x,y,0]) mirror([0,1,0])
translate(exploded) cornerscrews(22
, locked);
cornerscrews(22, exploded,
locked);
mirror([0,1,0])
translate([0,-y,0]) cornerscrews(22, exploded
, locked);
mirror([1,0,0])
translate([-x,0,0]) cornerscrews(22, exploded
, locked);
mirror([1,0,0]) translate([-x,y,0]) mirror([0,1,0])
cornerscrews(22, exploded
, locked);
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment