Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a pencil case with a main body and a lid. The main body is a rectangular box with a length of 130mm, a width of 70mm, and a height of 25mm. The walls of the box have a thickness of 5mm. The two shorter ends of the box are rounded. Each end is formed by a semi-cylinder with a radius of 35mm and a height of 25mm....
$fn=15; hcoffre= 25; lcoffrex= 130; llamey= 5; lcoffrey=70; module head(coffrex,coffrey,coffrez){ difference(){union(){difference(){cube([coffrex,llamey,coffrez]) ; union(){union() {translate([0,0,0])cube([llamey+llamey+2,llamey,5]) ; rotate([90,0,90])translate([llamey/2,llamey,0])cylinder(h=llamey+llamey+2,r=llam...
glb/cad_c23edd410526.glb
Create a Parametric Phone DAC Bracket consisting of two mirrored U-shaped clamps. First, construct the phone bracket by creating a solid rectangular block 85.5mm wide, 25.4mm deep, and 15.5mm high. Hollow out the center of this block with a smaller rectangular cutout 81.5mm wide, 25.4mm deep, and 11.5mm high, leaving a...
overall_length = 25.4; wall_thickness = 2; phone_width = 81.5; phone_thickness = 11.5; phone_bezel_width = 3; dac_width= 59.5; dac_thickness = 12.8; dac_bezel_width = 3; difference(){ cube([phone_width+wall_thickness*2,overall_length,phone_thickness+wall_thickness*2], center = true); cube([phone_width,overa...
glb/cad_67a756066d69.glb
Create a rounded rectangular parallelepiped with overall dimensions of 2mm in width (X), 10mm in length (Y), and 5mm in height (Z). The shape should be constructed as a hull encompassing eight spheres, each with a radius of 1mm and a facet resolution of 16 sides. Position four of these spheres at the base corners and f...
customizer_x=2; customizer_y=10; customizer_z=5; customizer_facets=16; customizer_rounding_radius=1; module rounded_cube(size_x,size_y,size_z,facets,rounding_radius) { hull() { translate([rounding_radius, rounding_radius, rounding_radius]) sphere (r=rounding_radius, $fn=facets); translate([size_x-...
glb/cad_b8465a9b1031.glb
Create a wall mount scalpel holder by starting with a main rectangular block measuring 28mm wide, 7mm deep, and 52mm high. Carve out two symmetrical vertical slots to hold the scalpels. Each slot should be 10mm wide and 4mm deep, centered 6.5mm from the midline of the block. These slots must extend from the top down to...
angled=1; difference(){ translate([0,0,-7.5])scale([28,7,52])cube(1,center=true); translate([6.5,0,3])scale([10,4,67])cube(1,center=true); translate([-6.5,0,3])scale([10,4,67])cube(1,center=true); translate([6.5,3,18])scale([7,4,67])cube(1,center=true); translate([-6.5,3,18])scale([7,4,67])cube(1...
glb/cad_ba1b749b2e74.glb
Create a customized orchid pot and saucer set. First, construct the saucer as a hollowed truncated cone. The outer shell should have a height of 20mm, a bottom radius of 50mm, and a top radius of 55mm. The inner cavity is created by removing a truncated cone starting 3mm from the base with a wall thickness of 2mm. To...
pot_height = 100; pot_bottom_diameter = 90; pot_bottom = 3; pot_wall = 2; pot_decoration = 3; render = 1; saucer_height = 20; saucer_bottom_diameter_addon = 10; saucer_bottom = 3; saucer_wall = 2; saucer_to_pot_gap = 5; pot_top_diameter_addon = 25; pot_bottom_holes_size = 5; saucer_top_diameter_addon = 10;...
glb/cad_8e7d192aa75f.glb
Create a clothes rail size marker by starting with an oval base that is 40mm wide, 60mm long, and 2mm thick. Carve out an oval hole from the center of this base that is 20mm wide and 35mm long, with a thickness of 2.2mm. To allow the marker to clip onto a rail, create a rectangular notch at the bottom of the shape that...
Text="48"; body="true"; if (body == "true"){ difference(){ resize(newsize=[40,60,2])cylinder(d=60,h=2,$fn=200); resize(newsize=[20,35,2.2])cylinder(d=35,h=2.2,$fn=100); translate([-2.5,-30,0])cube([5,30,5]); translate([0,19,1]) #linear_extrude(height = 2,convexity=10) ...
glb/cad_7ed900b5baf3.glb
Create a glass cooling stand consisting of six arms radiating from a central point. Three of these arms are 75mm long, and the other three are 37.5mm long, alternating every 60 degrees around the center. Each arm has a rectangular base profile of 5mm by 5mm. At the end of every arm, add a vertical rectangular post th...
armLen=75; function in2mm(in) = (in) * 25.4; %cube([in2mm(6),in2mm(6),0.1], center=true); arms(armLen, [0,120,240]); arms(armLen/2, [60,180,300]); module arms(armLen, rotation) { translate([-15,0,0]) for(a=rotation) { rotate(a) translate([0,-2.5,0]) { cube([armLen,5,5]); translate([armLen-5,0,0]) ...
glb/cad_5c52cf12c06a.glb
Create a clothes rail size marker by starting with an oval disc that is 40mm wide, 60mm long, and 2mm thick. From the center of this disc, remove an oval-shaped hole that is 20mm wide, 35mm long, and 2.2mm thick. To allow the marker to slide onto a rail, create a rectangular slot through the body of the disc that is 5m...
Text="40"; Fontsize=6; TextPosition=19; difference(){ resize(newsize=[40,60,2])cylinder(d=60,h=2,$fn=200); resize(newsize=[20,35,2.2])cylinder(d=35,h=2.2,$fn=100); #translate([-2.5,-35,0])cube([5,30,5]); translate([0,TextPosition,-1]) #color("Green")linear_extrude(height = 3,convexity=10) tex...
glb/cad_710f9402de68.glb
Create an octopus flower generator consisting of a central hub and radiating petals with a hollow core for a pencil. Start by creating a central hub using a cylinder with a radius of 10mm and a height of 15mm, topped with a sphere of the same 10mm radius centered at the top of the cylinder. Generate 10 petals radiatin...
n_petals = 10; block_width = 6; block_height = 3; hub_radius = 10; hole_radius = 5; hub_height = 15; N_petal_blocks = 5; deg_petals = 360 / n_petals; difference() { union(){ translate([0, 0, hub_height]){ sphere(r=hub_radius); } cylinder(r1=hub_radius, r2=hub_radius, h=hub_height, center=fa...
glb/cad_9f425a4d5527.glb
Create a ball clamp assembly consisting of a central ball, a base, and a grip. Start with a central sphere with a diameter of 20mm. Create a base by forming a spherical shell around this ball with an outer diameter of 23.3mm and a height of 10mm. This base should feature a hollow center to accommodate the ball and in...
use <threads.scad> $fn=50; module fillet(type, radius, c0){ $fn=80 ; translate([0,0,-c0]) rotate_extrude(angle=360) if(type =="in") { translate([radius+c0,0,0]) rotate([0,180,0])difference(){ square(c0); circle(c0); } } else { translate([radius-c0,0,0]) difference(){ square(c0); circle(c0); }...
glb/cad_0126f65e3bc8.glb
Create a Nozzle Holder consisting of a central base and two upright wings. Start with a central cylindrical core with a radius of 16mm and a height of 2mm. From this core, extend two rectangular blocks, each 16mm wide, 16mm high, and 16mm deep, positioned symmetrically on opposite sides of the center. On the outer fac...
q=10; hi = 16; wi = 15; ri = 5; rotate([0,-90, 0]) difference() { union() { hull() { cylinder(r=5, h=wi, center=true, $fn=4*q); translate([hi-ri,-hi-ri,0]) rotate([90,0, 0]) cylinder(r=ri, h=hi-ri, center=true, $fn=4*q); translate([-hi+ri,-hi-ri,0]) rotate([90,0, 0]) cylinder(r=ri, h=hi-ri, center...
glb/cad_e162b6260868.glb
Create a Nozzle Holder consisting of three identical connected modules. Each module is formed by a hull connecting two octagonal prisms: a central octagonal prism with a radius of 5mm and a height of 10mm, and a second octagonal prism with a radius of 5mm and a height of 10mm positioned 16mm away along the central axis...
q=10; hi = 16; wi = 15; ri = 5; rotate([0,-90, 0]) difference() { union() { hull() { cylinder(r=5, h=ri*2, center=true, $fn=4*q); translate([-2*ri,0, 0]) cylinder(r=ri, h=ri*2, center=true, $fn=4*q); } translate([0, 0,2*ri]) rotate([0,0, -90]) hull() { cylinder(r=5, h=ri*2, center=true, $fn=4*q...
glb/cad_f47aa1b06d15.glb
Create a Nozzle Holder consisting of two symmetrical vertical arms connected by a central base. Each arm is a rectangular block with rounded ends, 45mm high and 10mm wide. The arms are positioned 22mm apart. The structure features several precise holes for fasteners and components. Create a central vertical passage th...
q = 10; module nozzleHolder() { hi = 45; vi = 22; ri = 5; li = 10; an = 45; color([255/255,170/255, 70/255]) rotate([0, 0, -30]) translate([33,0,74]) rotate([90, 90, 0]) difference() { union() { translate([0,0,li]) hull() { cylinder(r=ri, h=li, center=true, $fn=4*q); translate([hi,0, 0]) cylinder...
glb/cad_045d08e2a08c.glb
Create a Nozzle Holder consisting of a central support structure with two extending arms. The main body is formed by two mirrored horizontal arms, each 50mm long and 10mm thick, with a width of 10mm. These arms are connected by a central support block. The structure features several precise holes for hardware. Create ...
q = 10; module nozzleHolder() { hi = 50; vi = 22; ri = 5; li = 10; an = 50; color([255/255,170/255, 70/255]) rotate([0, 0, -30]) translate([33,0,74]) rotate([90, 90, 0]) difference() { union() { translate([0,0,li]) hull() { cylinder(r=ri, h=li, center=true, $fn=4*q); translate([hi,0, 0]) cylinder...
glb/cad_a387bbba9e82.glb
Create a Nozzle Holder consisting of a central support structure with two symmetrical arms. The main body is formed by two mirrored horizontal arms, each 55mm long and 10mm thick, with a width of 10mm. These arms are connected by a central support block. The structure features several precise holes for fasteners and n...
q = 10; module nozzleHolder() { hi = 55; vi = 22; ri = 5; li = 10; an = 55; color([255/255,170/255, 70/255]) rotate([0, 0, -30]) translate([33,0,74]) rotate([90, 90, 0]) difference() { union() { translate([0,0,li]) hull() { cylinder(r=ri, h=li, center=true, $fn=4*q); translate([hi,0, 0]) cylinder...
glb/cad_baf8bb70922e.glb
Create a Nozzle Holder consisting of a central support structure with two symmetrical arms. The main body is formed by two parallel rectangular blocks, each 45mm long, 10mm wide, and 10mm thick, separated by a gap. These blocks are connected by a central bridge. The structure features several precise holes for fastene...
q = 10; module nozzleHolder() { hi = 45; vi = 22; ri = 5; li = 10; an = 45; color([255/255,170/255, 70/255]) rotate([0, 0, -30]) translate([33,0,74]) rotate([90, 90, 0]) difference() { union() { translate([0,0,li]) hull() { cylinder(r=ri, h=li, center=true, $fn=4*q); translate([hi,0, 0]) cylinder...
glb/cad_c1106f3a1dcd.glb
Create a Nozzle Holder consisting of a central support structure with two symmetrical arms. The main body is formed by two mirrored horizontal sections, each 10mm thick. Each section is a hull created between two square prisms with a side length of 10mm and a radius of 5mm, spaced 45mm apart along the x-axis. The over...
q = 10; module nozzleHolder() { hi = 45; vi = 22; ri = 5; li = 10; an = 45; color([255/255,170/255, 70/255]) rotate([0, 0, -30]) translate([33,0,74]) rotate([90, 90, 0]) difference() { union() { translate([0,0,li]) hull() { cylinder(r=ri, h=li, center=true, $fn=4*q); translate([hi,0, 0]) cylinder...
glb/cad_33a32aaba165.glb
Create a Nozzle Holder consisting of a central vertical column with three symmetrical arms extending outwards. The central column is a cylinder with a radius of 5mm and a height of 25mm. Attached to this central column are three identical arms, spaced 120 degrees apart. Each arm is formed by the hull of two 8-sided p...
q = 10; hi = 10; ri = 5; le = 35; module nozzlePivot() { color([255/255,170/255, 70/255]) rotate([90, -90, 0]) difference() { union() { translate([0,0,2*ri]) hull() { cylinder(r=ri, h=2*ri, center=true, $fn=4*q); translate([hi,0, 0]) cylinder(r=ri, h=2*ri, center=true, $fn=4*q); } transla...
glb/cad_04640fe144b4.glb
Create a Nozzle Holder consisting of two identical mirrored components. For one component, start with a base shape formed by the convex hull of two 16-sided prisms, each with a diameter of 15mm and a height of 12mm, positioned 50mm apart along the Z-axis. From this base, remove several cylindrical holes: two 3.2mm di...
q = 10; l = 50; w = 15; hi = 12; module link() { difference() { hull() { translate([0, 0, 0]) rotate([90, 0, 0]) cylinder(d =w, h=hi, center = true, $fn=8*q); translate([0, 0, l]) rotate([90, 0, 0]) cylinder(d =w, h=hi, center = true, $fn=8*q); } translate([0, 0, 0]) rotate([90, 0, 0])...
glb/cad_c300396fd345.glb
Create two identical nozzle holders. For each holder, construct a main body by creating a hull between two 16-sided prisms (cylinders with 8 facets) that are 15mm in diameter and 12mm high. Position the first prism at the origin and the second prism 27mm away along the Z-axis, then extend the shape to a total length of...
q = 10; l = 70; w = 15; hi = 12; module link() { difference() { union() { hull() { translate([0, 0, 0]) rotate([90, 0, 0]) cylinder(d =w, h=hi, center = true, $fn=8*q); translate([0, 0, 27]) rotate([90, 0, 0]) cylinder(d =w, h=hi, center = true, $fn=8*q); } hull() { translate([ 0...
glb/cad_671def2348ed.glb
Create a Nozzle Holder consisting of two identical mirrored links. For one link, construct a primary body by forming a hull between two 16-sided prisms with a diameter of 15mm and a height of 12mm, positioned at [0, 0, 0] and [0, 0, 26]. Extend this body by adding a hull between a 16-sided prism at [-5, 0, 30] and anot...
q = 10; l = 60; w = 15; hi = 12; bi =-25; module link() { difference() { union() { hull() { translate([0, 0, 0]) rotate([90, 0, 0]) cylinder(d =w, h=hi, center = true, $fn=8*q); translate([0, 0, 26]) rotate([90, 0, 0]) cylinder(d =w, h=hi, center = true, $fn=8*q); } hull() { tr...
glb/cad_eb8a3174f2a1.glb
Create a Nozzle Holder by constructing a central cylinder with a radius of 5mm and a height of 10mm, centered on the origin. Extend this shape along its central axis in both directions to create two symmetrical outer blocks. Each block is formed by a hull connecting a 5mm radius cylinder to a 5mm radius cylinder positi...
q=10; hi = 16; wi = 15; ri = 5; rotate([0,-90, 0]) difference() { union() { cylinder(r=5, h=ri*2, center=true, $fn=4*q); translate([-hi, 0,2*ri]) rotate([0,0, -90]) hull() { cylinder(r=5, h=ri*2, center=true, $fn=4*q); translate([0,2*hi, 0]) cylinder(r=ri, h=ri*2, center=true, $fn=4*q); } transl...
glb/cad_402339f4e8bc.glb
Create a Nozzle Holder by constructing a central geometric core and removing specific channels. Start with a central block formed by the union of four overlapping hulls. Each hull connects a small 10mm diameter octagonal prism (represented as a cylinder with 4 facets) to a larger 10mm diameter octagonal prism, spaced 1...
q=10; hi = 16; wi = 15; ri = 5; rotate([0,-90, 0]) difference() { union() { hull() { cylinder(r=5, h=ri*2, center=true, $fn=4*q); translate([0,-hi, 0]) cylinder(r=ri, h=ri*2, center=true, $fn=4*q); } translate([0, 0,2*ri]) rotate([0,0, -90]) hull() { cylinder(r=5, h=ri*2, center=true, $fn=4*q);...
glb/cad_6060e9e5726f.glb
Create a Nozzle Holder consisting of a central cylindrical core with four rectangular arms extending outward. The central core is a cylinder with a radius of 5mm and a height of 10mm. From this core, extend four arms that are 16mm long and 10mm wide, with rounded ends created by a hull between a 5mm radius cylinder and...
q=10; hi = 16; wi = 15; ri = 5; rotate([0,-90, 0]) difference() { union() { hull() { cylinder(r=5, h=ri*2, center=true, $fn=4*q); translate([0,-hi, 0]) cylinder(r=ri, h=ri*2, center=true, $fn=4*q); } translate([0, 0,2*ri]) rotate([0,0, -90]) hull() { cylinder(r=5, h=ri*2, center=true, $fn=4*q);...
glb/cad_e9ecf168869e.glb
Create a Nozzle Holder by constructing a base body composed of several joined geometric primitives. Start with two mirrored hull shapes: each is a transition from a cylinder with a radius of 5mm and a height of 10mm to a smaller cylinder with a radius of 5mm and a height of 10mm, offset by 20mm along the Y-axis. Add a ...
q = 10; module nozzleHolder() { hi = 20; ri = 5; color([255/255,70/255, 70/255]) rotate([0, 0, -30]) translate([30,0,76]) rotate([0, 0, 0]) difference() { union() { translate([0,-2*ri,0]) rotate([90,-90, 0]) hull() { cylinder(r=5, h=ri*2, center=true, $fn=4*q); translate([2*ri,-hi, 0]) cylinder(r=ri, ...
glb/cad_14b8c122dbd1.glb
Create a Nozzle Holder by constructing a base block with several integrated cylindrical holes and slots. Start with a main body composed of fused geometric shapes: create two mirrored hull sections, each consisting of a cylinder with a 5mm radius and a height of 10mm, connected to a smaller cylinder with a 5mm radius a...
q = 10; module nozzleHolder() { hi = 20; ri = 5; color([255/255,170/255, 70/255]) rotate([0, 0, -30]) translate([30,0,76]) rotate([0, 0, 0]) difference() { union() { translate([0,-2*ri,0]) rotate([90,-90, 0]) hull() { cylinder(r=5, h=ri*2, center=true, $fn=4*q); translate([3*ri,-hi*0.8, 0]) cylinder(r...
glb/cad_5c579aec3188.glb
Create a Nozzle Holder consisting of a central cylindrical body and two supporting arms. The main body is a cylinder with a radius of 9.5mm and a height of 30mm. Extend two arms from the sides of this central body. Each arm is formed by the convex hull of two 5mm radius cylinders, each 10mm long, positioned 13.33mm a...
q = 10; module nozzleHolder() { hi = 20; ri = 5; li = 10; color([255/255,170/255, 70/255]) rotate([0, 0, -30]) translate([30,0,76]) rotate([0, 120, 0]) difference() { union() { translate([0,-li,0]) rotate([90,-90, 0]) hull() { cylinder(r=ri, h=li, center=true, $fn=4*q); translate([hi*2/3,-hi, 0]) cyli...
glb/cad_06803d246409.glb
Create a Nozzle Holder consisting of a central cylindrical body and two supporting arms. The central body is a cylinder with a radius of 5.7mm and a height of 99mm. This central cylinder has a large hollow passage running through its length with a radius of 5.7mm. Attached to the central body are two arms. Each arm is...
q = 10; module nozzleHolder() { hi = 20; ri = 5; li = 10; color([255/255,170/255, 70/255]) rotate([0, 0, -30]) translate([30,0,76]) rotate([0, 120, 0]) difference() { union() { translate([0,-li,0]) rotate([90,-90, 0]) hull() { cylinder(r=ri, h=li, center=true, $fn=4*q); translate([hi,-hi*2/3, 0]) cyli...
glb/cad_8736e050d6f3.glb
Create a Nozzle Holder consisting of a central cylindrical body and two extending arms. The main body is a cylinder with a radius of 9.5mm and a height of 25mm. Extend two arms from the body, each formed by the convex hull of two 5mm radius cylinders spaced 20mm apart. One arm extends 5mm in one direction and the oth...
q = 10; module nozzleHolder() { hi = 25; vi = 20; ri = 5; li = 10; color([255/255,170/255, 70/255]) rotate([0, 0, -30]) translate([30,0,76]) rotate([0, 120, 0]) difference() { union() { translate([0,-li,0]) rotate([90,-90, 0]) hull() { cylinder(r=ri, h=li, center=true, $fn=4*q); translate([hi,-vi, 0])...
glb/cad_ffbd8061a186.glb
Create a Customizable Compartment Skeleton Frame with internal dimensions of 135mm width, 150mm length, and 100mm height. The structure is a skeletonized box made of rods with a thickness of 3mm. Construct the outer frame by creating four rectangular perimeter rails. The front and rear rails should be 141mm long (135m...
xi=135; yi=150; zi=100; rt=3; spiel=0.25; part=0; $fn=100; module Seite_vh(v, mq=true) { translate([0, -v.y/2, 0]) union() { cube([v.x, v.y, v.y]); cube([v.y, v.y, v.z]); translate([v.x-v.y, 0, 0]) cube([v.y, v.y, v.z]); translate([0, 0, v.z-v.y]) cube([v.x, v.y, v.y]); if(mq) { tr...
glb/cad_709a933edf22.glb
Create a squash ball foot for a 3030 extrusion. Start by creating a base plate that is a hull of four cylinders with a height of 4mm: one with a diameter of 44mm, one with a diameter of 66mm, and two with diameters of 10mm. On top of this base, center a cylindrical ball holder with a diameter of 44mm and a total heig...
module feet(additional_height=10) difference() { union() { translate(v=[0, 0, -4]) hull() { translate(v=[22.0, 22.0, 0]) cylinder(h=4, d=44, $fn=345); translate(v=[33.0, 33.0, 0]) cylinder(h=4, d=66, $fn=518); translate(v=[61.0, 5.0, 0]) cylinder(h=4, d=10, $fn=78); ...
glb/cad_7d63f95a3995.glb
Create a travel latch for a fridge door. Start with a semi-circular base that is 36mm in diameter, 24mm wide, and 4mm high. In the center of this base, create a vertical hole with a diameter of 10.2mm. Around the top of this hole, add a shallow cylindrical counterbore with a diameter of 13mm and a depth of 2mm. On top...
outerRadius = 36/2; outerWidth = 24; baseHeight = 4; boltDia = 10.2; boltHeadDia = 13; boltHeadDepth = 2; Facets = 100; translate([0,(outerWidth/2)+11,0]) difference() { cylinder(h=7,r=5,$fn = Facets); cylinder(h=7,r=4,$fn = Facets); } difference() { intersection() { translate([-outerRadius,-outerWidth/2,0]) ...
glb/cad_71f1298247a8.glb
Create a Tool Holder First Part by constructing a complex geometric base. Start by forming a primary body using the convex hull of three cylinders, each with a radius of 6mm and a height of 6mm. Position these cylinders at the following coordinates: one at [4.225, -25, -6], one at [-4.225, -25, -6] rotated 120 degrees,...
include <configuration.scad> lo = lateral_offset*0.65; module feedHolderBase() { lo = lateral_offset*0.65; color([ 100/255, 180/255,254/255, 1]) difference() { union() { hull() { rotate([0, 0, 0]) translate([ lo,-25, -6]) cylinder( r=6, h=6, $fn=4*q); rotate([0, 0, 120]) translate([-lo,-25, -6]) c...
glb/cad_899886e678b1.glb
Create three distinct spike variations, each 37mm tall. The first is a simple cone with a base diameter of 10mm tapering to a point at the top. The second is a modified cone of the same height and base diameter, but with a shoulder created by intersecting it with a cylinder 8.5mm in diameter, resulting in a steeper tap...
tall=37; base=10; shoulder=8.5; ringcut=2; ringcutd=4.3; ringcuth=2.3; $fn=100; translate ([15,0,0]) cylinder(h=tall,d1=base,d2=0); translate ([-15,0,0]) intersection(){ cylinder(h=tall,d=shoulder); cylinder(h=tall,d1=base,d2=0); } difference(){ intersection(){ cylinder(h=tall...
glb/cad_b81ac1e4fc45.glb
Create a Quarter Inch Driver Bit Holder by starting with a rectangular base measuring 275.7mm in length, 18.795mm in depth, and 25mm in height. Remove a cylindrical tunnel from the center of the block along its entire length; this tunnel consists of a larger 11mm diameter hole at both ends, each 10mm deep, and a narr...
in_mm = 25.4; baseW = 275.7; baseD = 1/2*in_mm+3*2; baseH = 25; bit_depth = 13; difference() { cube([baseW,baseD,baseH]); DrillHoles(); MountHoles(); } module MountHoles() { for (i = [2:29]) { distance_between = 0.35*in_mm; height_base = 0.5*in_mm; translate([(distance_betwee...
glb/cad_294f24d9a71a.glb
Create a simple rectangular O-ring by constructing a thin, hollow cylinder. Start with a solid cylinder that has an outer diameter of 10mm and a height of 0.5mm. From the center of this shape, remove a smaller concentric cylinder with an inner diameter of 9mm and a height that exceeds the original part to ensure a clea...
OD = 10; ID = 9 ; Height = 0.5; $fn=50; difference(){ cylinder (d=OD,h=Height); cylinder(d=ID,h=Height+20,center=true); }
glb/cad_a1df8793051b.glb
Create a customizable funnel by constructing a hollow conical bowl and an attached spout. First, create the bowl as a truncated cone with a height of 200mm, a bottom outer diameter of 200mm, and a top outer diameter of 20mm. Hollow out the center of this cone by removing a smaller truncated cone with the same height, b...
TIP=13; M=200; I=20; T=6; S=100; B=200; $fn=200; difference(){ cylinder(h = B, r1 = M, r2 = I, center = true); translate([0,0,0])cylinder(h = B+.5, r1 = M-T, r2 = I-T, center = true); } difference(){ translate([0,0,(B/2)+(S/2)])cylinder(h = S, r1 = I, r2 = TIP, center = true); translate([0,0,(B/2...
glb/cad_c48f716e6f61.glb
Create a rock climbing wall bottle handle by constructing a composite vertical shape. Start with a base cylinder 150mm tall with a radius of 50mm. On top of this base, add a second cylinder 150mm tall with a radius of 30mm, positioned to start at a height of 75mm. Above that, place a sphere with a radius of 50mm center...
module bottle(){ union(){ translate([0,0,225])sphere(r=50,center=false); translate([0,0,225])cylinder(150,30,20); translate([0,0,75])cylinder(150,50,50,false); translate([0,0,75]) rotate_extrude() hull() translate([37.5, 0, 0]) circle(12.5); tr...
glb/cad_612b9d72993f.glb
Create a limit switch pusher consisting of a thin square base with a cylindrical protrusion. Start by creating a square plate measuring 10mm by 10mm with a thickness of 0.5mm, centered on the origin. Centered on this plate, add a vertical cylinder with a radius of 2.2mm and a height of 20mm. The final object should be ...
union() { difference() { union() { linear_extrude(file = "bolt_head.dxf", layer = "silhuette", height = 3, convexity = 2); linear_extrude(file = "bolt_head.dxf", layer = "silhuette_screw", height = 8, convexity = 2); } translate([0,0,-1]) linear_extrude(file = "bolt_h...
glb/cad_18a0bdc2e763.glb
Create a coffee grinder part starting with a circular base 24mm in diameter and 2mm thick. Centered on this base, add a rectangular block 17.8mm wide, 7mm deep, and 6.5mm tall. Above this block, place a cylinder 11mm in diameter and 7.5mm tall, followed by a taller cylinder 9.5mm in diameter and 23.75mm tall. Finally, ...
$fn=30; difference(){ union(){ cylinder(h=2, r=12, center=true); translate([0,0,4.25]) cube(size=[17.8,7,6.5], center=true); translate([0,0,4.625]) cylinder(h=7.5, r=5.5, center=true); translate([0,0,10.875]) cylinder(h=23.75,r=4.75, center=true); translate([0,0,21.5]) cylinder(h=2.5, r=5.5, center=true); ...
glb/cad_9626c84cc728.glb
Create a Reward Box consisting of a base platform, a tall coin tube, and a larger token pool. Start with a base platform that is 4mm thick. The platform's width is based on the tube width (coin diameter 27.4mm + 10mm for walls) multiplied by 1, and its depth is twice that width. Round the platform corners with a 4mm ...
$fn=20; Coin_Diameter = 27.40; Coin_Thickness = 2.15; N_coins=30; Extra=0.6; Floor_Size_Multiplier=2; Multiple=1; Pool_Height=0.7; Wall_Thickness=5; Corner_Radius=4; Floor_Height=4; Gap=6; Gap_Pool=6; Side_R_Text="TOKENS"; Side_R_Text_Height=1; Side_Text_R_Font_Size=5; Side_Text="FEED ME"; Side_Text_Height=...
glb/cad_1ba836b8af76.glb
Create a metric screw thread with a major diameter of 7mm and a pitch of 1mm. The model should consist of three full rotations of the thread. For each rotation, generate the helical profile by sweeping a triangular cross-section that transitions from the major diameter of 7mm down to a minor diameter of approximately 4...
module screwthread_triangle(P) { difference() { translate([-sqrt(3)/3*P+sqrt(3)/2*P/8,0,0]) rotate([90,0,0]) cylinder(r=sqrt(3)/3*P,h=0.00001,$fn=3,center=true); translate([0,-P/2,-P/2]) cube([P,P,P]); } } module screwthread_onerotation(P,D_maj,step) { H = sqrt(3)/2*P; D_min = D_maj - 5*sqrt(3)/8*P; f...
glb/cad_769c60bc03ad.glb
Create a 3D model of one half of a heart-shaped pendant. Start with a rectangular base measuring 17mm wide, 16.6mm deep, and 3mm thick. On the top surface of this base, add a cylindrical peg with a radius of 2.4mm and a height of 6mm, centered at the coordinates x=8.5, y=8.3. To form the curved outer edge of the hear...
$fn=30; difference(){ union(){ cube([17,16.6,3]); translate([8.5,8.3,0]){ cylinder(h=6,r=2.4);} difference() {translate([0,8.5,0]){ cylinder(h=6,r=8);} translate([0,0,3]){ cube([8,17,4]);}}} union() { translate([-4,8,0]){ cylinder(h=8,r=1.5);} } }
glb/cad_97df6a28e623.glb
Create a heart-shaped object with a total height of 6mm and a base width of 17mm. Construct the main body by combining a rectangular block measuring 17mm wide, 16.6mm deep, and 3mm high with a semi-cylinder centered at the top edge. This semi-cylinder should have a radius of 8mm and a height of 6mm, extending upwards f...
$fn=30; difference(){ union(){ {translate([0,8.5,0]) cylinder(h=6,r=8);} cube([17,16.6,3]);} union(){ translate([8.5,8.3,0]) cylinder(h=6,r=2.5); translate([0,0,3]) cube([8,17,4]); translate([-4,8,0]) cylinder(h=8,r=1.5);}}
glb/cad_e5bb38f79f8b.glb
Create a door wedge by starting with a right-triangular prism that has a length of 130mm, a depth of 50mm, and a height of 30mm. The prism should slope from its maximum height of 30mm at one end down to 0mm at the other end. Soften all edges of the wedge by applying a 0.5mm fillet or rounding. Centered on the sloping t...
height=30; length=130; depth=50; fontsize=18; Text="don't close"; b=sqrt(height*height+length*length); echo(b); gamma=90-acos(height/b); echo(gamma); difference(){ minkowski(){ difference(){ cube([length,depth,height]); translate([0,0,height])rotate([0,gamma,0])cube([length+10...
glb/cad_78d9f47bb24f.glb
Create a single custom over-the-door hook with a uniform thickness of 12mm. Start by forming a U-shaped bracket consisting of a base and two vertical walls. The inner width of the bracket is 15mm and the inner height is 90mm, with walls that are 6mm thick. The bottom of the bracket is a semi-circle with an outer radius...
a=15; b=90; c=6; d=12; radius=20; difference(){ union() { difference() { cube([a+c*2,b+c,d]); translate([c,0,0]) cube([a,b,d]); } difference(){ translate([-radius,0,0]) cylinder(r=radius+c,h=d,$fn=75); translate([-radius,0,0]) cylinder(r=radius,h=d); translate([-(radius+c/2)*2,0,0]) cube([(radius*2+c),radius...
glb/cad_26df7e484b07.glb
Create an OpenBeam Optical Rail Simple Rod Holder by constructing a main cylinder with a diameter of 15mm and a height of 20mm. From this main body, remove a central vertical cylinder with a diameter of 4mm that runs the full height of the object. Additionally, remove a second concentric cylinder with a diameter of 9mm...
w=15; d=9; x =6.5; g =2; z =4; i=2; a=20; module base(){ difference(){ difference(){ difference (){ cylinder(a, w/2,w/2); cylinder(a-g*2,d/2,d/2); } cylinder(a,z/2,z/2); } translate ([0,0,a-g-2]) cylinder(g,x/2,x/2); } } base();
glb/cad_99ded218d320.glb
Create a parametric delta minimal spool holder. Start by constructing a base that is a hull of two cylinders, each with a radius of 6.55mm, positioned 60mm apart along the Y-axis. This base should have a total height of 22mm. Within this base, create two vertical holes with a radius of 4mm, centered 60mm apart, and rem...
bar_distance = 60; bar_diameter = 8; belt_distance = 30; wall_thickness = 2.55; base_height = 14; rod_diameter = 8; bar_radius = bar_diameter/2; rod_radius = rod_diameter/2; total_base_height = base_height + rod_diameter; difference(){ union(){ difference(){ union(){ hull(){ transla...
glb/cad_ea14064cb7e4.glb
Create a 3D male symbol with a uniform thickness of 5mm. Start by constructing a flat ring with an outer diameter of 60mm and an inner diameter of 45mm, using a 20-sided polygon for the circular profile. Attached to the right side of this ring, add a rectangular arrow stem that is 35mm long and 7.5mm wide. The stem sho...
D_out = 60; D_in = 45; L_arrow = 35; W_arrow = 7.5; Spread_arrow = 15; t = 5; wiggle = 0.1; union(){ difference(){ cylinder(r=D_out/2,h=t,$fn=20); translate([0,0,-wiggle]) cylinder(r=D_in/2,h=t+2*wiggle,$fn=20); } translate([D_in/2+L_arrow/2+2*wiggle,0,t/2]) cube([L_arrow,W_arrow,t],center=true); for (i=[-1,1]){ h...
glb/cad_c11c3d6b1727.glb
Create a customizable fidget spinner by starting with a central ring and adding eight radiating arms. The central ring is a hollow cylinder with a height of 7mm, an outer radius of 14mm, and an inner radius of 11mm. From this center, extend eight identical arms spaced equally every 45 degrees. Each arm consists of a ...
$fn = 150; Tolerance = 0.3; BearingAmount = 8; ArmLength = 34; ArmThickness = 2; LengthBetweenArms = 4; BearingHeight = 7 + Tolerance; BearingRadius = 11 + Tolerance/2; HolderThickness = 3; difference() { cylinder(BearingHeight, r = BearingRadius+HolderThickness, true); translate([0, 0, -0.001]) cy...
glb/cad_4edf4b5c563c.glb
Create a Customizable Printable Spool consisting of a central core, connecting arms, and outer edges. Start by creating a central core with a total height of 45mm. The core is an octagonal prism with an inner octagonal hole of 18mm radius. Subtract eight dovetail-shaped slots from the outer perimeter of the core to re...
part = "spool"; spoolHeight = 45; innerRadius = 18; outerCoreRadius = 40; outerEdgeRadius = 85; gap = 0.2; wallCutouts = "true"; innerSegments = 8; topRecessRadius = 30; topRecessDepth = 0; coreHoles = "cornerTop2"; holeDiameter = 2.2; bridgeLength = 10; armThickness = 4; armWidth = 4; dovetailChamfer = ...
glb/cad_789e5d7d58e2.glb
Create a spool support for a Prusa P3 Steel LOG by constructing a series of stacked, concentric cylindrical rings with a central hole. Start with a base cylinder 64mm in diameter and 4mm high, with a central vertical hole 22.5mm in diameter. On top of this base, add a second cylinder 3mm high that tapers slightly from ...
difference() { cylinder(r=32, h=4, center=false, $fn=128); cylinder(r=11.25, h=4, center=false, $fn=128); } translate([0, 0, 4]) { difference() { cylinder(r1=27, r2=26, h=3, center=false, $fn=128); cylinder(r=11.25, h=3, center=false, $fn=128); } translate([0, 0, 3-0.25]) { cylinder(r=19.5, h=0.25, center=...
glb/cad_c1132a3d9d3c.glb
Create a customized organizer box with outer dimensions of 120mm width, 80mm depth, and 70mm height. The box should have a base thickness of 3mm and outer walls 2mm thick. All vertical corners must be rounded with a 10mm radius. The front wall should be angled downward from the back toward the front at a 20-degree angl...
width = 120; depth = 80; height = 70; wall = 2; bottom = 3; modules_select = 4; modules_wall = 1; modules_custom = [ [[0, 0], [25, 50]], [[25, 0], [50, 34]], [[75, 0], [25, 34]], [[0, 34], [67, 34]], [[67, 34], [33, 34]], [[0, 68], [25, 32]], [[50, 68], [50, 75]] ]; corners_radius = 10; top_angle = 2...
glb/cad_fb84be46e454.glb
Create a Filastruder Hopper base by starting with a central cylinder that has a height of 20mm and an external diameter of 40mm. To create the hollow interior, remove a smaller concentric cylinder with a diameter of 30mm from the center. Add two horizontal cylindrical bars, each with a radius of 2.5mm and a length of...
include <configuration.scad> difference() { union() { cylinder(h = base_len, r = (base_dia_ext / 2), center = true); translate([0, -(wall_thick / 2), ((pipe_hlen - wall_thick) / 2)]) { rotate([0, 90, 0]) { cylinder(h = (base_dia_ext + (wall_thick * 2)), r = (wall_thick / 2), center = true, $fn = 20)...
glb/cad_d42b512a3237.glb
Create a Filastruder Hopper by constructing a hollow rectangular chute with a wall thickness of 2mm. The chute should have an external width of 20mm and an internal height of 70mm. Rotate the chute at an angle to create the hopper's slope. At the base of the chute, integrate a cylindrical mounting section with a diame...
include <configuration.scad> include <hopperBase.scad> difference() { union() { translate([-(base_dia_ext / 2), 0, (-(base_len / 2) + chute_z_pos)]) { rotate([chute_ang, 0, 0]) { difference() { cube(size = [base_dia_ext, (chute_int_height + (wall_thick * 2)), 70]); translate([wall_thick,...
glb/cad_411dbf7c2e90.glb
Create a cabinet latch catch consisting of a rectangular base and a curved vertical protrusion. Start with a rectangular base 40mm long, 11mm wide, and 2mm thick. In this base, create two oval screw holes centered along the length. Each hole is 9mm long and 3.75mm wide, spaced 32mm apart from center to center. On top ...
length = 40; width = 11; height = 11; base_thick = 2; top_width = 2; curve_length = 19; sag = 1.5; hole_spacing = 32; hole_length = 9; hole_width = 3.75; wiggle = 0.1; $fn=10; curve_height = height - base_thick; curve_width = width - top_width; curve_chord_length = sqrt(pow(curve_height,2) + pow(curve_width...
glb/cad_71b670693999.glb
Create a GoPro clamp mount consisting of two main components: a clamp and a pusher-stop. First, construct the clamp. Create two hinged arms that wrap around an object. The arms are based on a cross-section with an inner radius of 30mm and a thickness of 15mm. The overall width of the clamp is 35mm. The upper arm featu...
use <gopro_mounts_mooncactus.scad>; OBJECT_CHOICE = "clamp"; BARREL_NUT_DIAM = 10.0; PUSH_SCREW_DIAM = 6; $fa = 6; CLAMP_WIDTH = 35.0; INNER_ARC_RAD = 30.0; ARC_THICKNESS = 15; CONE_STICK_OUT = 15.0; PUSHER_STICK_OUT = 40.0; PUSHER_THICKNESS = 17; HINGE_THICKNESS = 15; TOLERANCE=0.7; CONE_DIAM = 0.7*ARC_THICKNESS; ...
glb/cad_25f54ccdbd61.glb
Create a Blowgun Adapter for Marker/Pen Airbrushes. The main body is formed by the convex hull of two sets of four spheres, each with a 5mm radius. The first set of spheres defines a rectangular block 25mm wide, 30mm long, and 27mm high. The second set of spheres defines an identical block, but it is rotated 45 degrees...
set_screw_dia=5.5; radius=5; $fn=50; sharpie_hole_dia=17; sharpie_hole_length=23; sharpie_hole_depth=26; sharpie_cube_width=25; sharpie_cube_length=30; sharpie_cube_height=27; sharpie_points=[[radius,radius,0],[sharpie_cube_width-radius,radius,0],[radius,sharpie_cube_length-radius],[sharpie_cube_width-radius,sharpie_c...
glb/cad_e133745d4b51.glb
Create a custom kaleidocycle consisting of six identical wireframe tetrahedral modules. Each module is based on a tetrahedron with an edge length of 25mm. The structure of each module is a wireframe, where the edges are formed by rounded bonds with a radius of 3.5mm (calculated as 25mm multiplied by a roundness factor ...
L = 25; Dpin=1.0; roundness=0.14; gap = 0.5; arrangement="combined"; type=2; H = L*sqrt(3); Rpin=Dpin/2; Rtetra = L*roundness; Lp = Rtetra*2; Rjoint= Rpin*5; Wjoint = (L-Rtetra*(sqrt(3)+1/sqrt(3))-gap*2)/2.5; module cubicsphere(r=1){ L = r*2/sqrt(3); rotate([(180-109.5)/2,0,0]) rotate([0,0,45])...
glb/cad_e6f9beb50265.glb
Create a parametric funnel consisting of a conical section and a cylindrical outlet pipe. Start by constructing a hollow truncated cone with a large bottom outer diameter of 60mm and a smaller top outer diameter of 20mm. The height of this conical section should be 28mm. The walls of the cone must be a uniform 2mm thic...
ods=20; odl=60; wall=2; pipe=20; e=0.001; height=0.7*(odl-ods); difference(){ hull(){ cylinder(h=e,d=odl); translate([0,0,height])cylinder(h=e,d=ods); } hull(){ cylinder(h=e,d=odl-2*wall); translate([0,0,height])cylinder(h=e,d=ods-2*wall); } } translate([0,0,height])difference(){ cylinder(h=pipe,d=ods); ...
glb/cad_c2d4d15c788f.glb
Create a screen holder for an optical rail by starting with a main cylinder that has a radius of 7.5mm and a total height of 14mm. Centered vertically through this cylinder, create a circular hole with a radius of 3.5mm that extends through the entire height. At the top face of the cylinder, create a wider circular cou...
w=15; h=10; x =7; g =2; z =4; i=2; module base(){ difference(){ difference(){ difference(){ cylinder(h+g+i, w/2,w/2); cylinder(h+g+i,z/2,z/2); } cylinder(g+h,x/2,x/2); } cube(size=[1,w,h+10], center=true); } } base();
glb/cad_e37cb76d21a8.glb
Create a Rounded 40mm Fan Mount for NEMA 17. The model consists of a central square clip and two symmetrical mounting arms. First, create the central clip. Start with a rounded square outer frame measuring 53mm x 53mm with a height of 6mm. Subtract a central rounded square cutout of 42.75mm x 42.75mm and a height of 6...
nemsz = 43; hcube = 6; wcube = nemsz + 10; harns = 8; cubeox = -13.1; cubeoy = 25.5; cubeoz = 5; cubemx = -19.2; cubemy = cubeoy; rbox = 9; rboy = 13; rboz = cubeoz; rboy2 = rboz; rboz2 = rboy; clipcut = nemsz * 0.52; holeid = 4.7; smoother = 24; cornr = 3; rotate([0,0,45])fan_clip(); module fan_clip() { ...
glb/cad_75829d99381c.glb
Create a universal joint consisting of two identical brackets connected by a central ball. First, construct a bracket by starting with a cylinder 60mm high with a radius of 20mm and a 20-facet resolution. Hollow out the center of this cylinder with a 10mm radius hole running lengthwise. Remove a large rectangular sec...
module teardrop(r, h) { union(){ cylinder(h=h,r=r, center = true, $fn=20); intersection() { rotate(45,[0,0,1]) cube([2*r, 2*r, h], center = true); translate([1.75*r, 0, 0]) cube([2*r, 2*r, h], center = true); } } } module bracket() { difference() { difference() { cylinder(r=20, h=60, $fn=20)...
glb/cad_64f2a70370d8.glb
Create a Yoshimoto's Magic Cube, a geometric puzzle consisting of nested cubic shells. The overall outer dimension of the assembly is a cube with a side length of 25mm. Construct the model using a series of concentric cubic shells. Divide the 25mm cube into 9 equal steps along each axis. For each step, create a hollow...
cubesize = 25; gap = 0.6; Dpin = 1.0; Ndiv = 9; type = 2; style = 3; bdiv=5; $fn=40; bsize = cubesize/bdiv-gap; binterval = bsize+gap; jointgap = gap; Rpin = Dpin/2; rad = Rpin*5; module quarter(r,h,gap){ translate([gap/2,gap/2,0]){ cube([r,r,h]); } } module end(r,h,gap){ difference(){ ...
glb/cad_b474c36191bb.glb
Create a piggy bank model based on a central rectangular body measuring 30mm wide, 35mm deep, and 30mm high, centered at the origin. At the bottom, add four small rectangular legs, each 5mm wide, 5.83mm deep, and 3mm high, positioned symmetrically to support the body. On the front face, attach a snout consisting of a ...
$fn=30; width=30; depth=35; height=30; diameter=8; translate([width/3,depth/3.04,-height/1.7])cube([width/6,depth/5.83,height/10]); translate([-width/2,depth/3.04,-height/1.7])cube([width/6,depth/5.83,height/10]); translate([width/3,-depth/2,-height/1.7])cube([width/6,depth/5.83,height/10]); translate([-width/2,-depth...
glb/cad_36e34b697c1a.glb
Create a Piggy Bank base consisting of two rectangular prisms. First, construct a large, flat rectangular base with a width of 23.08mm, a depth of 33.02mm, and a height of 1.62mm, centered on the origin. Then, add a smaller rectangular prism protruding from the top surface. This second prism should have a width of 3.33...
width=30; depth=35; height=30; cube([width/1.3,depth/1.06,height/18.5],center=true); translate([0,depth/2,0])cube([width/9,depth/6,height/18.5],center=true);
glb/cad_3e58310a3e67.glb
Create a Bed Level Test consisting of a grid of square pads connected by thin lines. The overall footprint is centered on a 210mm by 270mm area with 15mm margins on all sides. First, place a 3x3 grid of square pads. Each pad must be 12mm wide, 12mm long, and 0.84mm thick. The pads should be spaced evenly across the r...
bed_xsize=210; bed_ysize=270; bed_margin=15; first_layer_thick=0.30; line_size=2.4; element_shape=0; element_size=12; element_thick=0.84; array_xsize=3; array_ysize=3; x_c2c=bed_xsize-bed_margin*2-element_size; y_c2c=bed_ysize-bed_margin*2-element_size; x_space=x_c2c/(array_xsize-1); y_space=y_c2c/(array_ysiz...
glb/cad_46cb0f220c15.glb
Create a modular Whiteboard Tray and Cup system. First, construct the main tray sections. Each section is a rectangular block 55mm wide, 140mm long, and 4mm thick. On the back side, add a catch rail that is 10.6mm wide and 4.3mm high, offset from the back edge by 2.71mm. The rail must have a 2mm deep, 3mm high underc...
part="all"; bottomCutsSwitch=true; trayLength=140; trayWidth=55; trayThickness=4; railWidth=10.6; railHeight=4.3; railUndercutX=2; railUndercutZ=3.0; railOffset=2.71; pinDiameter=1.75; oozeAdjustment=0.35; cupLength = 80; cupHeigth = 80; cupThickness = 4; $fn=100; pinRadius=pinDiameter/2; oozeRadius=ooze...
glb/cad_657f5650c5ba.glb
Create a Car Jack Pad consisting of a circular base and a central raised rectangular block. Start by creating a cylinder for the base with a diameter of 100mm and a height of 8mm. Centered on top of this base, construct a rectangular block that is 35mm wide, 22mm high, and 51mm long. This block should be positioned so ...
padWid=35; padHei=22; mountDia=100; mountThi=8; cutoutWid=12; roundingRadius=5; small=0.01; padLen=51; module quarterRound() { translate([-roundingRadius, padWid/2, mountThi]) rotate([90,0,0]) intersection() { cylinder(r=roundingRadius, h=padWid); translate([0,0, -small]) ...
glb/cad_61e35ee8a3f4.glb
Create a laptop cooler stand consisting of a rectangular frame supported by four cylindrical legs. Start by constructing the main frame using four rectangular prisms: two long side rails measuring 2mm by 13mm by 2mm, centered on the Y-axis, and two shorter end rails measuring 10mm by 2mm by 2mm, positioned at the front...
union () { rotate(a=120,v=[1,1,1])translate([4,0.1,4])cylinder(r=0.5,h=2.6); translate([4,0,0]) { cube(size=[2,13,2],center=true); } rotate(a=120,v=[1,1,1])translate([-4,0.1,4])cylinder(r=0.5,h=2.6); translate([-4,0,0]){ cube(size=[2,13,2], center=true); } rotate(a=120,v=[1,1,1])translate([-4,0.1,-6.6])cylin...
glb/cad_ad71a7db800b.glb
Create a Laptop Cooler stand consisting of a rectangular frame supported by four cylindrical legs. The main body is a rectangular ring with an outer dimension of 10mm by 13mm and a thickness of 2mm. Position four cylinders with a radius of 0.5mm and a height of 3mm as legs, placed at the corners of the frame. Specifica...
union () { difference() { translate([4,0,0]) { cube(size=[2,13,2],center=true); } rotate(a=120,v=[1,1,1])translate([4,0.1,3])cylinder(r=0.5,h=3); rotate(a=120,v=[1,1,1])translate([-4,0.1,3])cylinder(r=0.5,h=3); } translate([-4,0,0]){ cube(size=[2,13,2], center=true); } translate([0,-6.5,0]){ cube(size...
glb/cad_de88e2e3fc45.glb
Create a Laptop Cooler model consisting of a long thin handle and a decorative head. Start by creating a long, thin cylinder with a radius of 0.16mm and a height of 25mm, positioned as the main shaft. At the end of this shaft, attach a head assembly. The head begins with a cylinder of radius 2.5mm and height 1.1mm, fro...
$fn=30; translate([-12,1.30,1.4]) { rotate(a=120,v=[1,1,1])translate([0.8,1.5,0])cylinder(r=0.16,h=25); rotate(a=270,v=[5,0,0])translate([0,-1.5,0.5])cube(size=[25,0.2,0.6]); } union() { translate([0,0.1,1.8])rotate(a=90,v=[1,0,0]) { difference() { translate([-10.5,4.4,-2.5])cube(size=[5,2.5,1.1]); trans...
glb/cad_6d4fc5647afe.glb
Create a laptop cooler support stick by combining a long thin rod with a flat perpendicular end piece. Start by creating a cylinder with a radius of 0.16mm and a height of 25mm. Along the side of this cylinder, add a rectangular prism measuring 25mm by 0.2mm by 0.6mm. At one end of the assembly, construct a flat termin...
$fn=30; union() { translate([0,0,0]) { rotate(a=120,v=[1,1,1])translate([1,0.1,-0.9])cylinder(r=0.16,h=25); rotate(a=270,v=[5,0,0])translate([-0.9,-0.1,0.7])cube(size=[25,0.2,0.6]); rotate(a=270,v=[1,0,0]) { translate([-0.99,-2,1.045]){ translate([0.03,-0.2,-0.05])rotate(a=120,v=[1,1,1])cylinder(r=0.45,h=0.2); tran...
glb/cad_2f3e77792443.glb
Create a sunglasses holder mount consisting of several thin plates with a uniform thickness of 1.6mm. Start with a base rectangular plate measuring 46mm wide by 34mm deep. Attach a second rectangular plate of the same width and thickness to one end, angled downwards at 45 degrees. Add a third rectangular section that i...
mntWid=46; mntDep=34; mntOffset=12; mntAngle=45; straightSection=16; wall=1.6; cube([mntWid,mntDep,wall]); rotate([-mntAngle,0,0]) translate([0,-mntOffset/sin(mntAngle),0]) cube([mntWid, mntOffset/sin(mntAngle), wall]); translate([0,-straightSection-mntOffset/tan(mntAngle)+wall*cos(mntAngle), mntOffset]) cube([mnt...
glb/cad_5a0091f07778.glb
Create a battery adapter by constructing a main outer cylinder with a diameter of 10.7mm and a height of 4.2mm. From this main body, remove a smaller internal cylindrical volume to create a hole for a smaller battery. This internal hole should have a diameter of 7.0mm and a height of 5.2mm. Position the internal hole s...
dBig=11.5; hBig=5.2; dSmall=7.8; hSmall=5.2; hTol=1; dTol=0.8; holeShift= 0.4; $fn=0+40; tol=0+0.1; dBigR= dBig - dTol; dSmallR= dSmall - dTol; hBigR= hBig - hTol; difference() { cylinder(r=dBigR/2, h=hBigR); translate([(dBigR-dSmallR)/2+holeShift,0,hBigR-hSmall-tol]) hull() { cylinder(r=dSmallR/2, ...
glb/cad_d6ef9405aae5.glb
Create a probe mount for an inductive sensor with a thickness of 5mm. Start by forming a base shape using a hull that combines a centered rectangle of 15mm by 40.2mm and a circle with a diameter of 23mm centered at X=15, Y=0. Cut three holes through the entire thickness of the part. First, create a large circular ope...
$fn=50; overall_width = 40.2; overall_length = 15; tol = 1; d_induct = 18 + tol; d_offset = d_induct + 5; d_screw_hole = 3.5; space_btwn_hole = 33.5 - d_screw_hole; thickness = 5; linear_extrude(height=thickness) difference(){ hull(){ square(size=[overall_length,overall_width], center=true); tr...
glb/cad_7347a90dde92.glb
Create a Wanhao Di3 Front Side Inductive Probe Mount with a thickness of 6mm. Start with a base shape formed by the hull of a centered rectangle measuring 15mm by 40.2mm and a circle with a diameter of 23mm positioned at X -6mm and Y -26.1mm. From this base, remove a central circular hole with a diameter of 18.75mm c...
$fn=50; overall_width = 40.2; overall_length = 15; d_probe_boffset = 6; tol = 0.75; d_induct = 18 + tol; d_offset = d_induct + 5; d_screw_hole = 3.5; space_btwn_hole = 33.5 - d_screw_hole; thickness = 6; linear_extrude(height=thickness) difference(){ hull(){ square(size=[overall_length,overall_width],...
glb/cad_5cf9e18f82ca.glb
Create a Mendel Z Pulley. Start with a central shaft hole 8mm in diameter and 22mm in height. Build a base using a rotated square profile of 11mm by 8mm to create a ring. Add a cylindrical shaft section with a radius of 14.5mm and a height of 7mm, and a thin belt guide disc with a radius of 18mm and a height of 1mm pos...
$fn=50; module main() { module spur() { linear_extrude(height=7) polygon([[-1,-1],[-1,1],[0.7,0.7],[0.7,-0.7]],[[0,1,2,3,0]]); } difference() { union() { rotate_extrude() { square([11,8]); } translate([0,0,11])cylinder(r=14.5,h=7); translate([0,0,18])cylinder(r=18,h=1); difference()...
glb/cad_9dae97fb9cdd.glb
Create a key seal designed to enclose a key. The main body consists of a circular base with a diameter of 20.2mm (calculated as the bow diameter of 16.5mm plus wall thickness and clearance) and a height of 2.8mm. From this circular base, extend a rectangular blade section measuring 5.3mm wide and 18.5mm long. At the ...
bow_shape = 0; bow_diameter = 16.5; bow_width = 19; bow_length = 12; thickness = 2; blade_length = 18.5; blade_width = 5.3; shoulder_width = 2.5; shoulder_length = 6.5; ring_hole_diameter = 4; ring_hole_land = 2.5; ring_hole_offset = 0; preview = 1; w = 0.8; p = 0.4; c = 0.4; lh = 0.2; nw = 0.4; sh = lh ...
glb/cad_5b26c54728cc.glb
Create a disk launcher slide consisting of a main body and an integrated finger ring. Start with a central rectangular block measuring 92mm in length, 28mm in width, and 3mm in height. In the center of this block, create a cutout consisting of a scaled cylinder (5:1:1 ratio) with a 7mm radius and 5mm height, and a circ...
finger_size = 25; finger_ring_face_count = 50; center_cut_out_quality = 50; end_cut_out_quality = 50; r = finger_size; frq = finger_ring_face_count; ccq = center_cut_out_quality; ecq = end_cut_out_quality; module slide() { union() { translate([116/2+r/2,0,2.5]) { difference() { cylinder(r=r/2+2, h = 8, ...
glb/cad_d06060004847.glb
Create a Harder Remix of A-Mazing Box by constructing a hollow cylindrical shell. Start with an outer cylinder 63.75mm high with a radius of 28.35mm. Create a hollow center by removing a smaller concentric cylinder with a radius of 25.5mm, starting from a height of 2mm from the base and extending to the top. Inside thi...
$fa=2; $fs=0.5; difference() { union() { difference() { cylinder(h = 63.7500000000, r = 28.3500000000); translate([0, 0, 2]) { cylinder(h = 63.7500000000, r = 25.5000000000); } } translate([25.9500000000, 0.0000000000, 57.7500000000]) { sphere(r = 2.4000000000); } translate([-12.9750000000, ...
glb/cad_7153904c33a0.glb
Create a microphone shock mount holder consisting of a central frame and four attachment lugs. The main body is formed by five intersecting rectangular bars, each 16mm thick and 52mm wide. Arrange these bars so that two are aligned with the X and Y axes, and two are rotated at 45-degree angles, creating a symmetric, oc...
difference(){ union(){ body(); attaches(); } contact(); percage2(); } module body() { epaisseur=16; largeurInterne=93; segment=(largeurInterne+epaisseur)/(2.41421); segment=46.4+5.6; union() { translate([0,(largeurInterne+epaisseur)/2,0]) ...
glb/cad_19c6ebe9c447.glb
Create a microphone shock mount holder consisting of a central structural body and an attachment point. The main body is formed by three intersecting rectangular plates, each 16mm thick. Two plates are centered on the X and Y axes, and a third is rotated 45 degrees, creating a symmetric, three-pronged base. Each plate ...
difference(){ union(){ body(); attaches(); } contact(); percage2(); } module body() { epaisseur=16; largeurInterne=134; segment=(largeurInterne+epaisseur)/(2.41421); segment=62.1+6.6; union() { translate([0,(largeurInterne+epaisseur)/2,0]) ...
glb/cad_e65cd0363ee6.glb
Create a microphone shock mount holder consisting of a central frame and four attachment lugs. The main body is formed by five intersecting rectangular bars, each 16mm thick and approximately 52mm wide, arranged in a star-like pattern to create a square central opening with a total outer width of 109mm. At the four o...
difference(){ union(){ body(); attaches(); } contact(); percage2(); passagebouton(); } module body() { epaisseur=16; largeurInterne=93; segment=(largeurInterne+epaisseur)/(2.41421); segment=46.4+5.6; union() { translate([0,(largeurInter...
glb/cad_57a53988dced.glb
Create a microphone shock mount holder consisting of a central frame and a mounting fixation. First, construct the main body by creating three intersecting rectangular bars, each 16mm thick. One bar is centered on the X-axis, one on the Y-axis, and one rotated 45 degrees, forming a square-like ring with an internal w...
difference(){ union(){ body(); attaches(); fixation(); } contact(); percage2(); } module body() { epaisseur=16; largeurInterne=134; segment=(largeurInterne+epaisseur)/(2.41421); segment=62.1+6.6; union() { translate([0,(largeurInter...
glb/cad_c03303933b01.glb
Create a microphone shock mount holder consisting of a hollow rectangular sleeve and an attached mounting arm. Start by constructing a square tube with an outer dimension of 22.5mm by 22.5mm and an internal void of 17.5mm by 17.5mm, extending to a total height of 16mm. Pierce this sleeve with a horizontal cylindrical h...
difference() { body(); percage2(); } attache2(); module body() { epaisseur=2.5; largeurInterne=17.5; longeurInterne=17.5; Longeur=16; difference() { translate([0, 0, 0]) color("blue") linear_extrude(height = Longeur) square([larg...
glb/cad_c436acae1648.glb
Create a Hypercube Evolution LED light ramp holder. Start with a main vertical body that is 15mm wide, 30mm deep, and 130mm tall. At the base of this body, add a 5mm tall rectangular block that is 30mm wide and 30mm deep. At the top of the vertical body, create a cylindrical mounting joint with an outer diameter of 42...
nutDia = 5.5 / cos(30); module alProfile () { color("silver") difference() { union() { translate([0,-28/2,-0.25]) cube([100,28,1.5]); translate([0,-18/2,0]) cube([100,18,9]); } translate([-1,-16/2,-1]) cube([102,16,9]); } color("gray",0.3) translate([0,-16/2,-0.25]) cube([100,16,8...
glb/cad_066eafafabe8.glb
Create a PullCopterDL flying propeller toy consisting of a central hub and five curved blades. Start by creating a main cylindrical disk with a radius of 55mm and a height of 5mm. At the center of this disk, create a solid cylindrical hub with a diameter of 10mm and a height of 5mm. Inside this hub, carve out a cross...
R=55; H=5; N=5; Twist = 22; HubDiam = 10; $fn=100; function unit_vec(x, y) = let(l=sqrt(x*x+y*y)) [x/l, y/l]; function offset(w, r, rn, d, dn) = w* unit_vec(rn*sin(dn)-r*sin(d), r*cos(d)-rn*cos(dn)); function offset_at(w, r0, r1, d0, d1, n, i) = w <= 0 ? [0,0] : offset(w=w, r=r0+(r1-r0)*i/n, d=d0+(d1-d0)*i/n, rn...
glb/cad_8803da450f87.glb
Create a PullCopterDL propeller toy with an overall thickness of 5mm. Start by constructing a thin outer ring with an outer diameter of 130mm and a wall thickness of 1.5mm. At the center of this ring, add a solid cylindrical hub with a diameter of 14mm. Integrate four identical blades extending from the hub to the inn...
outer_ring_thickness = 1.5; outer_ring_od = 130; blade_thickness = 1.0; blade_angle = -40; hub_od = 14; slot_width = 11.25; slot_length = 6; thickness = 5; rotational_offset = 90; n_blades = 4; slop = 0.1; Propeller(); module Propeller() { difference() { union() { ring(); blades(); hub(); } s...
glb/cad_bd6476fbce69.glb
Create a Bowden cable holder by starting with a base formed from the intersection of a 40mm by 20mm by 5mm centered cube and a centered cylinder with a radius of 20.5mm and a height of 6mm, using a 35-facet resolution. Add a centered cylinder with a radius of 8mm and a height of 10mm, using a 13-facet resolution, and p...
slot = 1; difference(){ union(){ intersection(){ cube(size=[40,20,5],center=true); cylinder(r=20.5, h=6, center=true, $fn=35); translate(v=[0,8,0]) cylinder(r=20, h=6, center=true, $fn=35); } translate(v=[0,0,5]) cylinder(r=8, h=10, center=true, $fn=13); translate(v=[0,0,12.5]) cyli...
glb/cad_5e1eaece578d.glb
Create a toy car wheel with a total diameter of 15mm and a width of 6mm. Start by forming the outer rim as a circular ring with a wall thickness of 1.5mm. The rim should feature a flat outer face and a recessed inner profile. At the center of the wheel, place a cylindrical hub with a diameter of 6.4mm and a height of 6...
wheelDiameter = 15; wheelWidth = 6; axleDiameter = 2; noSpokes = 7; spokesWidth = 2; tyreOffset = 0.4; lipHeight = 1.5; spokeType = "cube"; $fn =100; module lip() { translate([0,0,wheelWidth/2]) rotate_extrude(convexity = 10) translate([wheelDiameter/2-lipHeight/2,wheelWidth/2,0])rotate(-90)translate...
glb/cad_28d895b6c934.glb
Create a pen holder consisting of a central body with two primary cylindrical bores. Start with a base structure that combines a rectangular block measuring 13.2mm by 34mm by 20mm with two overlapping cylinders of radius 6.6mm and height 20mm, centered 24mm apart along the Y-axis. To this, add a truncated cone centered...
offset = 12; wall = 1.6; diameter1 = 10; diameter2 = 9; module penholder() { difference() { union() { translate([0, 0, 6]) cube([2*wall+2, 2*offset+30, 20], center=true); translate([0, offset, 6]) cylinder(r=diameter1/2+wall, h=20, center=true); translate([0, -offset, 6]) ...
glb/cad_ea5c43bc468e.glb
Create a round cable organizer with a height of 10mm. The main body is formed by a large cylinder with a radius of 46mm (40mm radius plus 6mm thickness) and a height of 10mm. From this, remove a smaller concentric cylinder with a radius of 40mm and a height of 12mm to create a C-shaped ring. To close the back of the ...
$fn=72; Type=0; Foot_length=15; Structure_thickness=6; Structure_height=10; Radius=40; Side_1=20; Side_2=75; Screw_hole_radius=1.75; Screw_hole_recess_radius=3.2; Screw_hole_recess_depth=3; if(Type==0) difference() { union() { translate([Radius/1.25,0,0]) cylinder(r=Radius+Stru...
glb/cad_b407a5974742.glb
Create a Customizable Skeleton Frame sorting box with internal dimensions of 170mm width, 65mm length, and 40mm height. The structure consists of a floor and four walls, all with a uniform thickness of 2mm. Construct the floor as a flat rectangular plate measuring 178.6mm by 70.6mm (accounting for wall thickness and a...
part=0; xi=170; yi=65; zi=40; wt=2.0; rs=11; bl=0.3; $fn=100; module HexPattern(x, y, z, r=3, w=1, i=true, a=false) { h=r-(r/2*1.732); dx=3*r+2*w; dy=(r-h)+w; r1=(a) ? r-(z+0.2) : r; intersection() { difference() { if(i) cube([x, y, z]); for(yi=[0:1:y/dy+1]) { for(xi=[0:1:x/dx+...
glb/cad_3a2e0a93dc7a.glb
Create a rock wall hold by first generating an organic, asymmetrical form using the convex hull of five spheres. Position these spheres at the following coordinates: one with a radius of 9mm at [30, -12, 18], one with a radius of 9mm at [10, 8, 3], one with a radius of 12mm at [7, 13, -8], one with a radius of 10mm at ...
B=25; h=15; l=69.5; d=11; module bolt(){ union(){ translate([0,0,l-h])cylinder(h=15,r=B/2); cylinder(h=l,r=d/2); } } module rock1(){ hull() { union() { translate([30,-12,18])sphere(9,$fn=40); translate([10,8,3])sphere(9,$fn=40); translate([7,13,-8])sphere(12,$fn=40); translate([4,12,-10])spher...
glb/cad_e8812376c860.glb
Create a 3D stencil of a question mark with a thickness of 1mm. The model consists of a flat plate with the question mark shape cut out, designed as a stencil where the center of the character is held in place by small bridges to prevent the interior sections from falling out. The overall dimensions of the stencil pla...
input = "no_input"; stencil_thickness = 1; stencil_width = 80; margin = 10; offX = 0; offY = 0; module void() {} cylinder(5,5,5, center=true); dispo_width = stencil_width - 2*margin; points_array = (input=="no_input"? [[179,268],[[199.26,15.12],[189.19,15.56],[181.5,16.45],[175.52,17.83],[169.55,19.42],[163.57,2...
glb/cad_d6945eaaf02f.glb
Create a special lego liftarm consisting of two parallel beams connected at the ends. Start by forming a solid rectangular block that is 39.85mm long, 7.4mm wide, and 7.76mm high. At each far end of this block, create a cylindrical pillar with a diameter of 7.4mm and a height of 15.52mm, centered on the block's width. ...
$fn=60; module doubleArms(nbrOfHoles = 6){ difference(){ armHeigth = 7.76; armWidth = 7.4; holeGap = 7.97; union(){ translate([-((nbrOfHoles-1)/2*holeGap),0,0]) cylinder(h=armHeigth*2, d=armWidth); translate([((nbrOfHoles-1)/2*holeGap),0,0]) cylinder(h=armHeigth*2, d=armWidth); tran...
glb/cad_cd7677669116.glb
Create a special liftarm for a construction toy system. The arm is a rectangular beam with a thickness of 7.76mm and a width of 7.4mm. The main body is defined by a series of six circular holes distributed linearly along its length, with a center-to-center spacing of 7.97mm between each hole. The outer boundaries of ...
$fn=60; module sArmFix(nbrOfHoles = 6){ difference(){ armHeigth = 7.76; armWidth = 7.4; holeGap = 7.97; union(){ translate([-((nbrOfHoles-1)/2*holeGap),0,0]) cylinder(h=armHeigth, d=armWidth); translate([-((nbrOfHoles-5)/2*holeGap),0,0]) cylinder(h=armHeigth*2, d=armWidth); translat...
glb/cad_4bbffd9cc4f6.glb
Create a special liftarm for construction toys. The main body is a rectangular beam with a width of 7.4mm and a height of 7.76mm. The beam contains a linear series of 6 holes, each with a diameter of 5mm, spaced 7.97mm apart from center to center. The beam features a stepped profile: the first and sixth holes are ful...
$fn=60; module steppedDoubleArms(nbrOfHoles = 6){ difference(){ armHeigth = 7.76; armWidth = 7.4; holeGap = 7.97; union(){ translate([-((nbrOfHoles-1)/2*holeGap),0,0]) cylinder(h=armHeigth, d=armWidth); translate([-((nbrOfHoles-5)/2*holeGap),0,0]) cylinder(h=armHeigth*2, d=armWidth); ...
glb/cad_9a7f742860bf.glb
Create a desk lamp clamp by starting with a solid rectangular block measuring 40mm wide, 60mm deep, and 60mm high. Remove a central rectangular section measuring 40mm wide, 30mm deep, and 30mm high, positioned 15mm from the bottom, to create a C-shaped opening. In the top surface of the block, center a vertical circula...
rotate(a=[0,0,0]) { difference() { cube([40,60,60]); translate([0,0,15]) cube([40,30,30]); translate([20,45,23]) cylinder(r=6.25,h=37,$fn=200); translate([20,15,0]) cylinder(r=4,h=15,$fn=200); translate([20,15,9]) cylinder(r=7.4,h=6.1,$fn=6); } }
glb/cad_6354752fa23c.glb