3D Workspace
Home
Assets
Affiliate Program
Creator Program
Sign up/Log in
View Plans
DCC Bridge
labranda786
10-18 18:41
Model Name
flower lamp 3d model
Tags
flower lamp
props
props realistic
props rendering
props rendering realistic
realistic
rendering
rendering realistic
Input
Prompt
HOLE_D = 42; // Hole diameter for E27 (mm) SEAT_THICK = 3; // height of ring that sits inside (mm) SEAT_CLEAR = 1.8; // ring slightly wider than the hole (mm) RING_Z_OF = -1; // ring 1 mm below the tip // IMPORT YOUR MODEL (same name as you submitted) import_model = "flower+lamp+3d+model.stl"; // --------- GEOMETRY OF AUXILIARY BODIES --------- module seat_ring(){ difference(){ cylinder(h=SEAT_THICK, r=HOLE_D/2 + SEAT_CLEAR, $fn=128); translate([0,0,-0.1]) cylinder(h=SEAT_THICK+0.2, r=HOLE_D/2, $fn=128); } } module hole(){ // a cylinder long enough to pierce the entire model (center=true) translate([DX, DY, 0]) cylinder(h=2000, r=HOLE_D/2, center=true, $fn=128); } // --------- OPERATIONS --------- // 1) UNION: original + inner ring (placed at the very top) // 2) DIFFERENCE: drill Ø42 through the entire model difference(){ union(){ // Hint: if the model is too high or too low in Z, this doesn't matter — the cylinder is "centered". import
Detailed Info
Related Models
Enter invite code
Enter invite code to get credits!