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 95b1635f
authored
Jan 19, 2021
by
Hubert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added handlecaps
1 parent
718e7105
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
118 additions
and
56 deletions
construction/eurobox.scad
construction/full.scad
construction/full.stl
construction/handles.scad
construction/modules.scad
construction/pipes.scad
construction/screws.scad
construction/eurobox.scad
View file @
95b1635
include<vars.scad>
include<vars.scad>
include<modules.scad>
include<modules.scad>
module handleShape(x,y,z,extra,bool){
include<cuts.scad>
translate([
include<screws.scad>
x/2 - handleWidth/2 - offset,
include<pipes.scad>
-( offset+1 ),
include<handles.scad>
z-(2.06+roundborderInner+strength*3)
]) {
hull() {
translate([-extra,0,-1])cube([handleWidth+extra*2,5,1]);
translate([handleCorner,0,handleCorner-handleHeight]) rotate([-90,0,0]) union() {
cylinder(r=handleCorner+extra,h=5);
translate([handleWidth-handleCorner*2,0,0]) cylinder(r=handleCorner+extra,h=5);
}
}
if(bool==true) {
hull() {
translate([-strength*2,0,-1.5])
cube([handleWidth+strength*4,1,1]);
translate([-strength*2,0.85,-(1+handleHeight+strength)])
cube([handleWidth+strength*4,1,1]);
}
}
}
}
module volume(x,y,z,extra) {
module volume(x,y,z,extra) {
...
@@ -99,7 +80,8 @@ module mirroredgrates(x,y,z) {
...
@@ -99,7 +80,8 @@ module mirroredgrates(x,y,z) {
}
}
}
}
module eurobox(x,y,z,handle) {
module eurobox(x,y,z,handle,pipes,drilled,screws,locked) {
difference() {
color("#888") translate([offset, offset, roundborderInner+strength]) {
color("#888") translate([offset, offset, roundborderInner+strength]) {
difference () {
difference () {
union() {
union() {
...
@@ -134,6 +116,11 @@ module eurobox(x,y,z,handle) {
...
@@ -134,6 +116,11 @@ module eurobox(x,y,z,handle) {
}
}
}
}
}
}
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 @
95b1635
include<eurobox.scad>
include<eurobox.scad>
include<lid.scad>
include<lid.scad>
include<cuts.scad>
include<screws.scad>
include<pipes.scad>
locked = true;
translate([0,0,2]) euroboxlid(30,40);
translate([0,0,2]) euroboxlid(30,40);
translate([0,0,-7]) {
translate([0,0,-7])
difference() {
eurobox(30,40,7,handle=false);
eurobox(30,40,7,handle=false);
}
}
translate([0,0,6.3]) {
difference() {
eurobox(30,40,22,handle=true);
drills(30,40,22);
}
screws(30,40,22, locked=locked);
pipes(22);
}
translate([0,0,6.3+21.3/* +4 */]) {
translate([0,0,6.3])
difference() {
eurobox(30,40,22,
eurobox(30,40,22,handle=true);
handle=true,
drills(30,40,22);
handlecaps=true,
}
pipes=true,
screws(30,40,22, locked=locked);
drilled=true,
pipes(22);
screws=true,
}
locked=true,
exploded=false
);
translate([0,0,6.3+21.3/* +4 */])
eurobox(30,40,22,
handle=true,
handlecaps=true,
pipes=true,
drilled=true,
screws=true,
locked=true,
exploded=false
);
construction/full.stl
View file @
95b1635
This diff could not be displayed because it is too large.
construction/handles.scad
0 → 100644
View file @
95b1635
include<vars.scad>
include<modules.scad>
/* handleShape(10,10,10); */
module handle(x,y,z,exploded) {
overlap=0.05;
over=0.2;
translate([offset, offset, roundborderInner+strength]) {
difference() {
intersection() {
/* #handleShape(x,y,z,strength,bool=true); */
/* difference() { */
/* handleShape(x,y,z,0,bool=false); */
translate([x/2-8.5-overlap,-2.2-overlap-over,z-6.31-overlap])
/* difference() { */
cube([12.635+(overlap*2),1.7+(overlap*2)+(over*2),3+(overlap*2)]);
/* #translate([-1,1.2,0]) cube([2,0.7,2]); */
/* } */
handleShape(x,y,z,0,bool=true, borders=true);
translate([x/2-8.5-overlap,-2.2-overlap-over,z-6.31-overlap]) {
union() {
translate([-1,1.25+over,0]) cube([15,0.7,4]);
translate([4,-1,3-over*2]) cube([4.3,3,4]);
translate([4,0.8,-3.5]) cube([4.3,1,4]);
}
}
/* } */
/* translate([0,y-4,0])mirror([0,1,0]){ */
/* handleShape(x,y,z,strength,bool=false); */
/* } */
}
translate([x/2-8.5-overlap,-2.2-overlap-over,z-6.31-overlap])
translate([1,1,1])
cube([10.8,2,1]);
}
}
}
module handles(x,y,z,exploded) {
translate(exploded) {
handle(x,y,z,exploded);
}
mirror([0,1,0]) translate(exploded) translate([0,-y,0]) {
handle(x,y,z,exploded);
}
}
construction/modules.scad
View file @
95b1635
...
@@ -24,3 +24,32 @@ module shapeZ(x,y,z) {
...
@@ -24,3 +24,32 @@ module shapeZ(x,y,z) {
);
);
}
}
}
}
module handleShape(x,y,z,extra,bool){
translate([
x/2 - handleWidth/2 - offset,
-( offset+1 ),
z-(2.06+roundborderInner+strength*3)
]) {
hull() {
translate([-extra,0,-1])cube([handleWidth+extra*2,5,1]);
translate([handleCorner,0,handleCorner-handleHeight]) rotate([-90,0,0]) union() {
cylinder(r=handleCorner+extra,h=5);
translate([handleWidth-handleCorner*2,0,0]) cylinder(r=handleCorner+extra,h=5);
}
}
if(borders==true) translate([-strength*2,0+gratesize+1,-4.5])
cube([handleWidth+strength*4,2,6]);
if(bool==true) {
if(borders==true) translate([-strength*2,0,-0.5])
cube([handleWidth+strength*4,1,2]);
hull() {
translate([-strength*2,0,-1.5])
cube([handleWidth+strength*4,1,1]);
translate([-strength*2,0.85,-(1+handleHeight+strength)])
cube([handleWidth+strength*4,1,1]);
}
}
}
}
construction/pipes.scad
View file @
95b1635
...
@@ -20,8 +20,8 @@ module sidepipe(z) {
...
@@ -20,8 +20,8 @@ module sidepipe(z) {
}
}
}
}
module pipes(z) {
module pipes(z
,exploded
) {
translate([1,6,0]) {
translate(
exploded) translate(
[1,6,0]) {
color("#fff") sidepipe(z);
color("#fff") sidepipe(z);
color("#fff") translate([0,0,1.1]) {
color("#fff") translate([0,0,1.1]) {
pushInAdapterStraignt();
pushInAdapterStraignt();
...
...
construction/screws.scad
View file @
95b1635
...
@@ -86,9 +86,9 @@ module cornerscrews(z, locked) {
...
@@ -86,9 +86,9 @@ module cornerscrews(z, locked) {
}
}
module screws(x,y,z, locked) {
module screws(x,y,z, locked
, exploded
) {
cornerscrews(22,locked);
translate(exploded)
cornerscrews(22,locked);
mirror([0,1,0]) translate([0,-y,0]) cornerscrews(22, locked);
mirror([0,1,0]) translate(
exploded) translate(
[0,-y,0]) cornerscrews(22, locked);
mirror([1,0,0]) translate([-x,0,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]) cornerscrews(22, locked);
mirror([1,0,0]) translate([-x,y,0]) mirror([0,1,0])
translate(exploded)
cornerscrews(22, 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