Deckel konvex
This commit is contained in:
parent
d294f0dcf2
commit
247bbcc158
BIN
STL/Spangenzubehör-2.0.0-rc.1.stl
Normal file
BIN
STL/Spangenzubehör-2.0.0-rc.1.stl
Normal file
Binary file not shown.
@ -8,7 +8,7 @@
|
||||
// habe ich manche der Werte überschrieben und ignoriert.
|
||||
// Die (Grund-)Box soll aber wieder parametrierbar werden.
|
||||
|
||||
detailgrad = 45;
|
||||
detailgrad = 90;
|
||||
wandstaerke = 5;
|
||||
deckelstaerke = 2;
|
||||
rundung = 4;
|
||||
@ -32,7 +32,7 @@ include <modules/mod_Box.scad>;
|
||||
|
||||
difference() {
|
||||
Box();
|
||||
%Deckel(ausschnitt=2);
|
||||
Deckel(ausschnitt=0.3,versatz=5);
|
||||
}
|
||||
|
||||
scale([1,0.999,0.999])
|
||||
|
@ -1,45 +1,45 @@
|
||||
// License: cc-by-sa-4.0 Author: holm / Christian Müller (https://mueller.network)
|
||||
|
||||
module Deckel(griff=false,spiegel=false,kante=false,ausschnitt=0) {
|
||||
module Deckel(griff=false,spiegel=false,kante=false,ausschnitt=0,versatz=0) {
|
||||
translate([0,vollelaenge/2,0])
|
||||
difference() {
|
||||
union() {
|
||||
mirror_copy()
|
||||
translate([0,-vollelaenge/2,0])
|
||||
Deckelhaelfte(kante,spiegel,ausschnitt);
|
||||
Deckelhaelfte(kante=kante,spiegel=spiegel,ausschnitt=ausschnitt,versatz=versatz);
|
||||
}
|
||||
if(griff) {
|
||||
scale([0.75,1.25,1])
|
||||
difference() {
|
||||
translate([8,0,vollehoehe-0.3])
|
||||
translate([8,0,vollehoehe+0.125])
|
||||
color("red")
|
||||
cylinder(h=0.5,r=6);
|
||||
translate([10.5,0,vollehoehe-0.3])
|
||||
cylinder(h=1,r=6);
|
||||
translate([10.5,0,vollehoehe+0.125])
|
||||
color("blue")
|
||||
cylinder(h=1,r=5.5);
|
||||
translate([7.5,0-6.5,vollehoehe-0.3])
|
||||
translate([7.5,0-6.5,vollehoehe+0.125])
|
||||
color("magenta")
|
||||
cube([9,13,0.5]);
|
||||
cube([9,13,1]);
|
||||
//cube(4,true);
|
||||
}
|
||||
scale([0.75,1.25,1])
|
||||
difference() {
|
||||
translate([13,0,vollehoehe-0.3])
|
||||
translate([13,0,vollehoehe+0.125])
|
||||
color("red")
|
||||
cylinder(h=1,r=6);
|
||||
translate([15.5,0,vollehoehe-0.3])
|
||||
translate([15.5,0,vollehoehe+0.125])
|
||||
color("blue")
|
||||
cylinder(h=1,r=5.5);
|
||||
translate([12.5,0-6.5,vollehoehe-0.3])
|
||||
translate([12.5,0-6.5,vollehoehe+0.125])
|
||||
color("magenta")
|
||||
cube([9,13,0.5]);
|
||||
cube([9,13,1]);
|
||||
//cube(4,true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module Deckelhaelfte(kante=false,spiegel=false,ausschnitt=false) {
|
||||
module Deckelhaelfte(kante=false,spiegel=false,ausschnitt=0,versatz=0) {
|
||||
difference() {
|
||||
// Deckelplatte
|
||||
|
||||
@ -47,9 +47,9 @@ module Deckelhaelfte(kante=false,spiegel=false,ausschnitt=false) {
|
||||
// color("lime")
|
||||
// cube([vollebreite-rundung/3,(vollelaenge-2*rundung/3)/2,wall/2+.1]);
|
||||
color("indigo")
|
||||
translate ([0,0,-2])
|
||||
%minkowski(convexity=20) {
|
||||
cube([vollebreite-wall*0.75,(vollelaenge-2*rundung/3)/2,deckelstaerke]);
|
||||
translate ([0-versatz,0,-2.5])
|
||||
minkowski(convexity=20) {
|
||||
cube([vollebreite-wall*0.75+versatz,(vollelaenge-2*rundung/3)/2,deckelstaerke]);
|
||||
//cube([40,15,1.5]);
|
||||
color("magenta")
|
||||
difference() {
|
||||
@ -62,9 +62,9 @@ module Deckelhaelfte(kante=false,spiegel=false,ausschnitt=false) {
|
||||
|
||||
// Spiegel
|
||||
if(spiegel) {
|
||||
translate([11.5,5,vollehoehe-wall/2+1.5])
|
||||
translate([11.5,5,vollehoehe-deckelstaerke/2+1])
|
||||
color("lightblue")
|
||||
cube([vollebreite-rundung/3-16,vollelaenge-17.5,wall/2+1]);
|
||||
cube([vollebreite-rundung/3-16,vollelaenge/2-3,wall/2+1]);
|
||||
}
|
||||
|
||||
// Kante
|
||||
|
Loading…
Reference in New Issue
Block a user