adding stuff and comments

This commit is contained in:
isa10110 2024-08-05 21:11:19 +02:00
parent 193880ebbb
commit 47fa8f6415

View file

@ -1,5 +1,6 @@
$fn=160; $fn=160;
// # import original Nibble and remove Mounts
module Original_nibble(){ module Original_nibble(){
union(){ union(){
import("../Printabals/EEG-Cap-Qriginal/files/spool-diffuser-v3.stl", convexity = 5); import("../Printabals/EEG-Cap-Qriginal/files/spool-diffuser-v3.stl", convexity = 5);
@ -7,6 +8,7 @@ module Original_nibble(){
} }
} }
// # Create Mounting Slots on original (Tophalf)
module nibble_for_Dropinnibble(){ module nibble_for_Dropinnibble(){
difference() difference()
{ {
@ -18,6 +20,7 @@ module nibble_for_Dropinnibble(){
} }
} }
// # Create Outer Nibbles do fit against mainblock
module Outernibbles(){ module Outernibbles(){
intersection(){ intersection(){
union(){ union(){
@ -29,6 +32,7 @@ module Outernibbles(){
} }
// # Mounting Cutter Function
module trimod(space,h){ module trimod(space,h){
union(){ union(){
for ( i = [0:3] ){ for ( i = [0:3] ){
@ -39,6 +43,7 @@ module trimod(space,h){
} }
// # create down half
module downshell(){ module downshell(){
difference(){ difference(){
union() { union() {
@ -46,8 +51,16 @@ module downshell(){
translate([0,0,-1])cylinder(h = 2, d2=16, d1=16 ,center=true); translate([0,0,-1])cylinder(h = 2, d2=16, d1=16 ,center=true);
translate([0,0,-2.25])cylinder(h = .5, d2=16, d1=15.5 ,center=true); translate([0,0,-2.25])cylinder(h = .5, d2=16, d1=15.5 ,center=true);
} }
union(){
// Magnet
translate([0,0,-3])cylinder(d=5.1,h=2,cernter=true);
scale([1,1,0.2])sphere(d=11); scale([1,1,0.2])sphere(d=11);
} }
} }
}
// base for magnets
downshell(); downshell();
// Lighting insert
// nibble_for_Dropinnibble(); // nibble_for_Dropinnibble();