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 0447362e
authored
Jan 19, 2021
by
Hubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handles split
1 parent
95b1635f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
47 additions
and
18 deletions
construction/eurobox.scad
construction/full.scad
construction/full.stl
construction/handles.scad
construction/modules.scad
construction/eurobox.scad
View file @
0447362
...
@@ -80,7 +80,11 @@ module mirroredgrates(x,y,z) {
...
@@ -80,7 +80,11 @@ module mirroredgrates(x,y,z) {
}
}
}
}
module eurobox(x,y,z,handle,pipes,drilled,screws,locked) {
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 ( pipes ) pipes(z, exploded=exploded ? [-5,0,0]:[0,0,0]);
difference() {
difference() {
color("#888") translate([offset, offset, roundborderInner+strength]) {
color("#888") translate([offset, offset, roundborderInner+strength]) {
difference () {
difference () {
...
@@ -118,9 +122,7 @@ module eurobox(x,y,z,handle,pipes,drilled,screws,locked) {
...
@@ -118,9 +122,7 @@ module eurobox(x,y,z,handle,pipes,drilled,screws,locked) {
}
}
if ( drilled ) drills(x,y,z);
if ( drilled ) drills(x,y,z);
}
}
if ( screws ) screws(x,y,z, locked=locked, exploded=exploded ? [-5,-5,0]:[0,0,0]);
if ( pipes ) pipes(z, exploded=exploded ? [-5,0,0]:[0,0,0]);
if ( handlecaps ) handles(x,y,z,exploded=exploded ? [0,-5,0]:[0,0,0]);
}
}
/* eurobox(30,40,22,true); */
/* eurobox(30,40,22,true); */
...
...
construction/full.scad
View file @
0447362
...
@@ -17,6 +17,7 @@ eurobox(30,40,22,
...
@@ -17,6 +17,7 @@ eurobox(30,40,22,
exploded=false
exploded=false
);
);
translate([0,0,6.3+21.3/* +4 */])
translate([0,0,6.3+21.3/* +4 */])
eurobox(30,40,22,
eurobox(30,40,22,
handle=true,
handle=true,
...
@@ -25,6 +26,6 @@ eurobox(30,40,22,
...
@@ -25,6 +26,6 @@ eurobox(30,40,22,
drilled=true,
drilled=true,
screws=true,
screws=true,
locked=true,
locked=true,
exploded=
fals
e
exploded=
tru
e
);
);
construction/full.stl
View file @
0447362
This diff could not be displayed because it is too large.
construction/handles.scad
View file @
0447362
...
@@ -3,7 +3,7 @@ include<modules.scad>
...
@@ -3,7 +3,7 @@ include<modules.scad>
/* handleShape(10,10,10); */
/* handleShape(10,10,10); */
module handle(x,y,z,exploded) {
module handle
Block
(x,y,z,exploded) {
overlap=0.05;
overlap=0.05;
over=0.2;
over=0.2;
translate([offset, offset, roundborderInner+strength]) {
translate([offset, offset, roundborderInner+strength]) {
...
@@ -14,35 +14,61 @@ module handle(x,y,z,exploded) {
...
@@ -14,35 +14,61 @@ module handle(x,y,z,exploded) {
/* handleShape(x,y,z,0,bool=false); */
/* handleShape(x,y,z,0,bool=false); */
translate([x/2-8.5-overlap,-2.2-overlap-over,z-6.31-overlap])
translate([x/2-8.5-overlap,-2.2-overlap-over,z-6.31-overlap])
/* difference() { */
/* difference() { */
cube([12.635+(overlap*2),1.7+(overlap
*2
)+(over*2),3+(overlap*2)]);
cube([12.635+(overlap*2),1.7+(overlap)+(over*2),3+(overlap*2)]);
/* #translate([-1,1.2,0]) cube([2,0.7,2]); */
/* #translate([-1,1.2,0]) cube([2,0.7,2]); */
/* } */
/* } */
handleShape(x,y,z,0,bool=true, borders=true);
handleShape(x,y,z,0,bool=true, borders=true);
translate([x/2-8.5-overlap,-2.2-overlap-over,z-6.31-overlap]) {
translate([x/2-8.5-overlap,-2.2-overlap-over,z-6.31-overlap]) {
union() {
union() {
translate([-1,1.25+over,0]) cube([15,0.7,4]);
translate([-1,1.25+over,0]) cube([15,0.7,4]);
translate([4,-1,3-over*2]) cube([4.3,3,4]);
rotate([-20,0,0])
translate([4,-1,3-over*2]) cube([4.3,3,4]);
translate([4,0.8,-3.5
]) cube([4.3,1,4]);
rotate([35,0,0]) translate([4,0.7,-4.2
]) cube([4.3,1,4]);
}
}
}
}
/* } */
/* } */
/* translate([0,y-4,0])mirror([0,1,0]){ */
/* translate([0,y-4,0])mirror([0,1,0]){ */
/* handleShape(x,y,z,strength,bool=false); */
/* handleShape(x,y,z,strength,bool=false); */
/* } */
/* } */
}
}
translate([x/2-8.5-overlap,-2.2-overlap-over,z-6.31-overlap])
translate([x/2-8.5-overlap,-2.2-overlap-over,z-6.31-overlap])
translate([1,1,1])
translate([1,1,1])
cube([10.8,2,1]);
cube([10.8,2,1]);
}
}
}
}
}
}
module handles(x,y,z,exploded) {
module handle(x,y,z,inner,exploded) {
translate(exploded) {
gitterdicke=0.1;
handle(x,y,z,exploded);
durchschuss=0.025;
clip=0.05;
if ( inner ) {
translate(exploded*2)
intersection() {
handleBlock(x,y,z,exploded);
translate([x/2-5.66,0.8,z-5.11-clip])
/* translate([1,1,1]) */
cube([11.4,0.7-gitterdicke/2,1.88+clip*2]);
}
} else {
translate(exploded) {
difference() {
handleBlock(x,y,z,exploded);
translate([x/2-5.66-durchschuss,0.8-durchschuss,z-5.11-clip-durchschuss])
/* translate([1,1,1]) */
cube([11.4+durchschuss*2,0.7+gitterdicke/2+durchschuss*2,1.88+clip*2+durchschuss*2]);
}
}
}
mirror([0,1,0]) translate(exploded) translate([0,-y,0]) {
}
handle(x,y,z,exploded);
}
module handles(x,y,z,exploded) {
handle(x,y,z,false,exploded);
handle(x,y,z,true,exploded);
mirror([0,1,0]) translate([0,-y,0]) {
handle(x,y,z,false,exploded);
handle(x,y,z,true,exploded);
}
}
}
}
construction/modules.scad
View file @
0447362
...
@@ -25,7 +25,7 @@ module shapeZ(x,y,z) {
...
@@ -25,7 +25,7 @@ module shapeZ(x,y,z) {
}
}
}
}
module handleShape(x,y,z,extra,bool){
module handleShape(x,y,z,extra,bool
,borders
){
translate([
translate([
x/2 - handleWidth/2 - offset,
x/2 - handleWidth/2 - offset,
-( offset+1 ),
-( offset+1 ),
...
...
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