Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Wahl 9918D Beard Trimmer Stand and Guides Holder. The main body is a combined shell consisting of a trimmer holder and an accessory tray. The trimmer holder is formed by a hull of four cylinders with a radius of 12mm, centered at coordinates (±7.45, -6, 23.5) and (±7.45, 6, 23.5), with a total height of 94mm...
$fn = 180; difference (){ union(){ hull(){ translate([-7.45, -6, 23.5]) cylinder (47, r = 12, center=true); translate([7.45, -6, 23.5]) cylinder (47, r = 12, center=true); translate([7.45, 6, 23.5]) cylinder (47, r = 12, center=tr...
glb/cad_a7aed362d3cf.glb
Create a Customizable Pull-Apart Capsule Box consisting of two interlocking square-profile shells. Both shells feature a corrugated exterior with a repeating detent pattern every 3.5mm to create a grip. First, create the inner half. This is a square tube with an inner width of 20mm and a total height of 60mm. The wall...
$line_width = 0.37; height = 60; width = 20; walls = 2; edge = 0.1; nest = 0.8; detent_depth = 1.5; detent_length = 2; detent_period = 3.5; custom_text="Taps"; $font_size=6; tol=0.2; overlap=0.001; thick = walls * $line_width; width2=width+2*thick+2*tol; height2=height*nest; module corr_cube(corr_width=undef,cor...
glb/cad_70700e1206ae.glb
Create a MiniDisc parametric holder by starting with a solid rectangular container shell measuring 171.6mm in width, 38.8mm in depth, and 85mm in height. Carve out 15 identical tilted slots to hold the discs. Each slot is formed by a rectangular volume of 9mm width, 80mm depth, and 75mm height. Position the first slot ...
kase_width = 9; kase_depth = 80; kase_height = 75; num_cases = 15; insert_depth = 50; tilt_angle = 20; gap = 2.4; container_width = num_cases * kase_width + num_cases * gap; container_height = kase_height; container_depth = (kase_depth - insert_depth) * cos(tilt_angle) + 10; module tilted_case() { rotate([0, 0,...
glb/cad_b385ff7496a1.glb
Create a desk sign consisting of a rectangular block with a tilted, cut-out text inlay. Start by creating a solid rectangular base with a length of 140mm, a height of 25mm, and a depth of 20mm. Prepare the text "YourTextHere!" using a bold sans-serif font. Scale the text to fit within the block, leaving a 3mm border ...
body_depth = 20.0; body_height = 25.0; body_length = 140.0; border = 3.0; text_line = "YourTextHere!"; text_font = "Liberation Sans:style=Bold"; text_spacing = 1.10; text_rotation = -25.0; text_thickness = 10.0; quality = 50; text_v_offset = -3.5; block(); module text_group( y_limit, depth ) { linear_ex...
glb/cad_ec2b0f12365a.glb
Create a microphone stand consisting of a circular base and an angled support arm. Start by creating a circular base with a radius of 60mm and a height of 12mm, featuring a rounded profile. From this base, extend a vertical support arm angled at 75 degrees. The arm is constructed from a main body that is 17.6mm wide ...
use <MCAD/polyholes.scad> de = 0.1; P10 = 80; P12 = 20; P20 = 5; P21 = 7.6; P30 = 2*P20+P21; P40 = 9; P41 = 6.2; P42 = 10.2; P43 = 4; Angle=75; BaseRadius=60; BaseH=12; module micholder() { difference() { union() { cube([P10+P12-P30/2, 2*P20+P21, P30]); translat...
glb/cad_df309b56ecda.glb
Create a Cogwatch sensor casing for an electric kettle. Start with a main cylindrical base with a radius of 86.5mm and a total height of 17mm. Hollow out the center to create a pocket by removing a cylinder with a radius of 83.5mm starting from a height of 12mm. Additionally, remove a central cylinder with a radius of ...
station_diameter = 167; cable_width=12; wall=3; r1=station_diameter/2+wall; r2=r1-wall; r3=110/2; h1=17; h2= 12; cn=1; cr=cable_width; FSRr=11; r4=FSRr+1; FSRw=10; module main(){ difference(){ cylinder(r = r1, h = h1, $fn=100); translate([0,0,h2]) cylinder(r = r2, h = h1-h2, $fn=100); translate([0,0,wal...
glb/cad_ee64433720b4.glb
Create a Bubble Cube by finding the common intersection of six identical spheres. Each sphere must have a radius of 1010mm. Position the centers of these six spheres at the following coordinates: (0, 0, 10), (10, 0, 0), (-10, 0, 0), (0, -10, 0), (0, 0, -10), and (0, 10, 0). The resulting geometry is the volume where al...
cuberadius = 10; coeff = -1000; $fn = 64; V1 = false; if(V1){ intersection(){ translate([0,0,cuberadius-coeff])sphere(cuberadius*2-coeff); translate([cuberadius-coeff,0,0])rotate([0,90,0])sphere(cuberadius*2-coeff); translate([-cuberadius+coeff,0,0])rotate([0,90,0])sphere(cuberadius*2-coeff); translate(...
glb/cad_568dd67c7830.glb
Create a Cogwatch threaded interface consisting of a low-profile cylindrical base with an internal threaded hole. Start by creating a solid cylinder with a radius of 30mm and a height of 6mm. From the center of this cylinder, remove a coaxial internal volume to create a female threaded interface. This internal void b...
CupBottomR=30; t=0.6; CHradius1=CupBottomR; BaseH=6; function segments(diameter) = min(50, ceil(diameter*6)); module metric_thread(diameter=8, pitch=1, length=1, internal=false, n_starts=1) { n_turns = floor(length/pitch); n_segments = segments(diameter); h = pitch * cos(30); union() { intersect...
glb/cad_60d7e95141bb.glb
Create a Cogwatch Coaster for a Shimmer device. Start by creating a cylindrical base with a radius of 32mm and a height of 19mm. From this base, subtract a rectangular volume centered at the origin to accommodate the Shimmer device, which measures 51mm in length, 34mm in width, and 14.5mm in height. This cutout shoul...
CHradius1=30; t=0.6; wall = 2; pushGap=22; function segments(diameter) = min(50, ceil(diameter*6)); module metric_thread(diameter=8, pitch=1, length=1, internal=false, n_starts=1) { n_turns = floor(length/pitch); n_segments = segments(diameter); h = pitch * cos(30); union() { intersection() { ...
glb/cad_34a53ce23355.glb
Create a FlexyBotMini motor mount consisting of two mirrored motor housing units connected by a central chassis. First, create the central chassis as a rectangular block measuring 48.5mm in length, 26mm in width, and 7mm in height. From this block, remove a central rectangular section of 20mm by 22mm and two smaller ...
UNGHI = 25; DIAMETRU_MOTOR = 21.35; RAZA_GAURA_M3 = 1.9; doua_motoare_cu_prindere(); module doua_motoare_cu_prindere(){ un_motor_plus_prindere(); mirror([0,1,0]) un_motor_plus_prindere(); } module un_motor_plus_prindere(){ difference(){ union(){ prindere_rotunda_motor_plina(); prindere_centra...
glb/cad_03126ca143f6.glb
Create a Horizontal Hoop Door Hanger Attachment consisting of a tapered base and a cylindrical ring. First, create a trapezoidal base with a thickness of 2.7mm. The base should have a bottom width of 20.5mm and a top width of 15.5mm, with a total length of 21.3mm. Centered atop this base, position a rectangular bloc...
joinfactor = 0.125; goldenratio = 1.61803399; grabfactor = 0.5; gDoorWidth = 34.5; gHangerWidth = gDoorWidth/goldenratio; gHangerBase = gDoorWidth+grabfactor; gHangerShortLength = gHangerBase; gHangerLongLength = gHangerBase*goldenratio; gGrooveWallHeight = 6; gGrooveWallThickness = 3; gGrooveLength =gHangerShortLen...
glb/cad_987d9a34bfc2.glb
Create a hollow spherical wireframe with a radius of 30mm, constructed from a series of intersecting rings that are each 1mm thick and 1mm high. To form the latitudes, create six equally spaced horizontal rings. The first ring is a flat disc at the equator with a radius of 30mm. The remaining rings should be placed sym...
radius = 30; numLats = 6; numLongs = 6; line_thickness = 1; line_height = 1; module ring(radius,thickness,height) { difference(){ cylinder(r=radius,h=height); translate([0,0,-thickness])cylinder(r=radius-thickness,h=height+4); } } module sphere(r,nLatitudes, nLongitudes,line_thickness,line_height){ lati...
glb/cad_1a968d662003.glb
Create a sound moderator consisting of a base adaptor and a series of stacked cylindrical segments. Start with a base adaptor 35mm in height. The bottom 14mm of this adaptor is a cylinder with a radius of 9.5mm. From the 14mm mark, create a conical transition that expands upward to a radius of 15mm over the remaining 2...
segment_height=24; silencer_rad=15; wallthickness=3.5; calibre=5.5; chamfer=1.2; module silencer_segment() { difference () { union () { cylinder(h=chamfer, r2=silencer_rad, r1=silencer_rad-chamfer); translate ([0,0,chamfer]) cylinder(h=segment_height-2*chamfer, r=silencer_rad); translate ([0,0,segment_he...
glb/cad_0ff3f7adfac3.glb
Create a bird feeder designed to fit a cage opening of 45mm wide by 52mm high. The main body is a seed hopper with a depth of 25mm, a width of 40mm, and a height of 25mm. The hopper's outer shell should have rounded corners with a 6mm radius. The interior of the hopper is hollowed out, leaving a wall thickness of 2mm. ...
vt=2; ff=0.01; resolution=20; $fn=resolution; translate([30, 0, -20]) rotate([90, 0, 0]) difference() { cylinder(d=10, h=40, center=true); for(i = [0 : 30 : 360]) { rotate([0,0,i]) translate([5,0,0]) cylinder(h=38, d=1, center=true); } } hull() { translate([30, -(45/2-2.5), -20]) scale([1,0.5,1])...
glb/cad_ee1e068af61a.glb
Create a hexagonal antiprism pencil holder by stacking six identical hexagonal antiprism units vertically. Each antiprism unit must have a side length of 25mm and a height of 16.67mm. To form the walls, create each unit as a hollow shell by subtracting a smaller hexagonal antiprism from the center of the larger one; ...
lside = 25; height = 16.67; union() { translate([0,0,-0.03]) difference() { hexagonal_antiprism( lside,height); translate([0,0,-2]) hexagonal_antiprism( lside-2,height-1.98); } for (w=[1:5]) { translate([0,0,-w*height-0.01]) rotate([0,0,w*30]) difference() { hexagonal_antiprism(lside,height); translate([0,0,-0.02]) hex...
glb/cad_c247408381a9.glb
Create a pencil holder composed of six stacked hexagonal antiprisms. Each antiprism must have a side length of 25mm and a height of 16.67mm. The antiprisms are stacked vertically, with each subsequent layer rotated by 30 degrees relative to the one above it. The holder is hollowed out by removing a smaller hexagonal a...
font = "Liberation Sans"; letter_size = 8.5; letter_height = 1.8; lside = 25; height = 16.67; cside = lside*cos(30); ang = atan((lside - cside)/height); tz1 = 8; tz2 = 8; union() { translate([0,0,-0.03]) difference() { union() { column_2(6,cside+2.5,tz2,0); column_1(6,cside+2.5,tz1,0); hexagonal_antiprism( lside,h...
glb/cad_b9ba6141177e.glb
Create a parametric stop collar consisting of two concentric cylinders. First, create a wide, flat base cylinder with a diameter of 50mm and a height of 6mm. Centered within this base, create a second, smaller cylinder with a diameter of 20mm and a height of 12mm. Finally, bore a circular hole completely through the ce...
diametro=50; grosor=6; metrica_hub=3; module rueda(gros=grosor, diam=diametro) { difference(){ union(){ cylinder (r=diam/2, h=gros, $fn=100); cylinder (r=20/2, h=grosor+6, $fn=20); } cylinder (r=10.5/2, h=100, $fn=20, center=true); } } rueda();
glb/cad_bd27b129f412.glb
Create a plate holder for 3D printer build plates. Start by constructing a base using a hull operation that connects four cylinders with a diameter of 25mm and a height of 1mm, positioned at the corners of a rectangle measuring 60mm by 220mm, and a central rectangular block measuring 60mm by 12.5mm by 140mm centered al...
fn=100; plates=3; space=15; ydm=220; difference(){ base(); for (i=[1:plates]){ translate([space*i,0,0]) #plate(); } } module base(){ hull(){ translate([0,0,15]) cube([space*(plates+1),ydm,1]); translate([5,0,0]) cylinder($fn=fn, h=1, d=25); translate([5,ydm-5,0]) cylinder($fn=fn, h=1, d=25); ...
glb/cad_fbcddddb529b.glb
Create an 8-bit monster toy by assembling several rectangular prisms. Start with a central torso block measuring 40mm wide, 80mm deep, and 10mm thick, centered at the origin. Attach two arms by placing a 16x8x10mm block at [25, 20, 0] and another at [-25, 20, 0], and add two larger 10x35x10mm blocks at [28, 0, 0] and [...
difference() { difference() { union() { cube([40,80,10], center=true); translate(v=[25,20,0]) cube([16,8,10], center=true); translate(v=[28,0,0]) cube([10,35,10], center=true); translate(v=[-25,20,0]) cube([16,8,10], center=true); translate(v=[-28,0,0]) cube([10,35,10], center=true); translate(...
glb/cad_ba389b85b70e.glb
Create a Universal Parametric Petcock Knob. Start by constructing a main cylindrical stem with a diameter of 17mm and a height of 67mm. At the top of this stem, add a thin disc with a diameter of 30mm and a thickness of 2mm. Above the disc, build a head section 16mm high, using a hull operation to blend a central cylin...
interface_shape="square"; reserve="up"; interface_width=7; interface_depth=12; screw_d=6.25; screw_l=11; screw_head=10.5; stem_length=67; knob_height=16; stem_d=17; knob_w=30; disc_thickness=2; text_inset=0.5; text_size=3; $fn=360; difference(){ union(){ cylinder(h=stem_length,d=stem_d); translate(...
glb/cad_fb6885ee21ac.glb
Create a CNC3018Pro Probe Holder by starting with a main cylinder that has a diameter of 41mm and a total height of 26mm. From this main body, remove a central cylindrical cavity starting 4mm from the bottom with a diameter of 35mm and a depth of 19mm. To create a through-hole for a cable or wire, remove a smaller conc...
include <my_library.scad> $fn=150; walls = 3; base = 4; screw_diam = 3.5; screw_head_diam = 7; probe_diam = 35; probe_depth = 19; croc_width = 4; difference() { cylinder(h=base+probe_depth+walls,d=probe_diam+(2*walls)); union() { translate([0,probe_diam/3,-0.01]) ScrewHole(base+0.1,screw_diam, screw_hea...
glb/cad_d369f2f0094d.glb
Create a Round Text Sculpture by extruding text along a semi-circular path. First, define the text "Text" using the Orbitron font with a size of 16mm. Position this text so it is centered both horizontally and vertically. Create a 3D shape by rotating this text 180 degrees around an axis offset from the text's cent...
textstring="Text"; fontname="Orbitron"; textsize=16; text_excenter_factor=1; baseheight=1; cut_height_percent=0.7; height_cut=cut_height_percent*(text_excenter_factor*textsize/2+textsize); direction="up"; RoundedBase=1; base_radius_add_factor=.2; base_radius_add=base_radius_add_factor*textsize; cutcube_x=texts...
glb/cad_31c444974c9b.glb
Create a Cross Product Direction Finder consisting of two identical arms that hinge together. Each arm is a rectangular slab 50mm long, 7mm wide, and 1.5mm thick. At one end of each arm, create a hinge mechanism. This consists of a cylindrical protrusion 7mm in diameter and 1.5mm long, centered on the width of the ar...
$fn = 50; llen = 50; lhgt = 7; lwid = lhgt; lthk = 1.5; lxtr = 10; dpost = 1.5; dhole = dpost+0.3; psqs = lwid; l2wid = lwid - 1; thgt = lthk + dhole/2 + 0.5; cwid = 5; chgt = lthk+0.75; nwid = lwid-2*lthk-0.5; nlen = lwid/2+0.5; use <write/Write.scad> module tab(disp) { difference() { union () { translate([0,d...
glb/cad_252ad357b6f7.glb
Create a LED voltmeter panel with a base footprint of 55mm by 42mm and a height of 3mm. The base should have beveled edges on all four sides. In the center of the panel, create a rectangular cutout measuring 25mm by 15mm with a depth of 3mm to accommodate a plexiglass sheet. Within this central area, create a further...
use <obiscad\attach.scad> use <obiscad\bevel.scad> $fs=.5; x=55; y=42; z=3; size=[x,y,z]; guide=[6,3,4]; ec1=[ [x,0,0],[0,1,0],0]; en1=[ec1[0],[1,0,-1],0]; ec2=[ [0,0,0],[0,1,0],0]; en2=[ec2[0],[-1,0,-1],0]; ec3=[ [0,y,0],[1,0,0],0]; en3=[ec3[0],[0,1,-1],0]; ec4=[ [x,0,0],[1,0,0],0]; en4=[ec4[0],[0,-1,-1],0]; di...
glb/cad_799f2ca20d33.glb
Create a Greenhouse roof clip consisting of two intersecting hollow cylindrical shells. First, construct a horizontal cylinder with an outer diameter of 38mm, an inner diameter of 34mm, and a length of 100mm. Second, construct a vertical cylinder with an outer diameter of 38mm and an inner diameter of 34mm, with a heig...
radius=17/2; segmentlengde=50; wallthickness=2; resolution=20; $fn=resolution; wt=wallthickness; ff=0.01; module core() { rotate([0,90,0]) cylinder(r=radius, h=segmentlengde*2+ff, center=true); translate([0,0,segmentlengde/2+radius+wt]) cylinder(r=radius, h=segmentlengde+ff, center=true); translate([0,0,-radius-wt]...
glb/cad_31f02c42cfea.glb
Create a heart-shaped node to be used as a vertex for a dodecahedron. The heart should have a total length of 10.16mm, a width of 8.89mm, and a height of 6.35mm. At the center of this heart, create a small sphere with a diameter of 1.65mm. From this center point, extend three square holes, each with a cross-section o...
in=25.4; Length=.40*in; Width =.35*in; Height=.25*in; difference() { heart(L=Length,W=Width,H=Height); translate([0,.09*in,0.03*in])dodecahedron_holes(); translate([0,-9.3,0])rotate([-45,0,0]) cube([10,10,1],true); } module dodecahedron_holes() { dia=.065*in; len= 3*in; phi=20.9052; ...
glb/cad_6da3792280cc.glb
Create an EQ6 Polar Scope Cap consisting of two stacked cylindrical sections. First, create a thin base disk with a diameter of 45mm and a height of 2.5mm. Around the perimeter of this disk, place 30 small circular holes, each 3mm in diameter, evenly spaced every 12 degrees and centered 22.5mm from the middle of the di...
ew = 0.4; $fn=50; linear_extrude(2.5) difference() { circle(d=45); for (i=[0:30]) rotate([0, 0, 360 / 30 * i]) translate([0, 45 / 2]) circle(d=3); } linear_extrude(10) difference() { circle(d=35); circle(d=35-8*ew); for (i=[0, 120, 240]) rotate([0, 0, i]) translate([-1...
glb/cad_db643549c99a.glb
Create a conceptual geometric model based on a rectangular block with a width of 30mm, a thickness of 20mm, and a height of 10mm. The main body is formed by a base rectangular prism of 30mm by 20mm with a height of 9mm, topped with a chamfered section. This top section is created by a hull connecting a 30mm by 20mm thi...
Width=30; Thickness=20; Height=10; End_Chamfer=1; Vertical_Diameter=5; Horizontal_Diameter=5; Fixation_Slot=1; w=Width; l=Thickness; h=Height; c=End_Chamfer; dv=Vertical_Diameter; dh=Vertical_Diameter; fs=Fixation_Slot; bonk(); %texts(); eps=0.01; e2=eps*2; module texts(){ color("Red")translate([10,-10,0])te...
glb/cad_4add62aa720b.glb
Create a micro-scale hydropower generator consisting of a runner, a nozzle assembly, and a generator mounting system. First, construct the runner. Create a central cylinder with a diameter of 12mm and a height of 43mm to serve as the generator shaft. Around this, build a larger cylinder with a diameter of 140mm and a ...
runner_diameter = 140; runner_r = runner_diameter/2; runner_h = 20; runner_spoon_diameter = runner_diameter/6; body_t = 12; body_diameter = runner_diameter+(body_t*2); body_r = body_diameter/2; body_inlet_diameter = 20; body_inlet_r = body_inlet_diameter/2; body_h = body_inlet_diameter+body_t*2; lid_diameter = body_d...
glb/cad_b83a9b9e3cb2.glb
Create a Printrbot Jr. Snap-on Fan Mount. Start with a main outer block measuring 81.2mm in width, 51mm in depth, and 24.5mm in height. From this block, remove a rectangular section from the front-left corner measuring 16mm by 33mm by 24.5mm, and another from the front-right corner of the same height and depth, but wit...
mw=3; mf=56.2; ml=33; mll=16; mt=6; mz=24.5; me=8; mcenter=true; fanx=68+6+6; fany=14; outcube=[2*mw+mf+2*mll,3*mw+ml+mt,mz]; union() { difference() { cube(size=outcube); cube(size=[mll,ml,mz]); translate ([2*mw+mf+mll,0,0]) cube(size=[mll,ml,mz]); translate ([mll+mw,mw,0]) cube(size=[mf,2*mw+ml+mt,mz]); translate ...
glb/cad_217943daecdc.glb
Create a towel holder consisting of a flat rectangular plate with rounded corners. The overall dimensions of the plate are 50mm by 50mm with a thickness of 1.5mm. In the center of the plate, create a large cutout to hold a towel. This cutout is formed by a wide opening that narrows toward the center, creating a curve...
main = [50,50,15]; df = 1.5; minSlot=4; _magnetD = 10.5; _screws = 1; $fn=100; module roundedCube(size, r, sidesonly, center) { s = is_list(size) ? size : [size,size,size]; translate(center ? -s/2 : [0,0,0]) { if (sidesonly) { hull() { translate([ r, r]) cylinder(r=r, h=s[2]); ...
glb/cad_8157e77b0c4d.glb
Create a composite beam consisting of two intersecting rectangular prisms with rounded ends, each 7.8mm high and 7.3mm wide. The two beams are joined at a 90-degree angle. The first beam is 5 holes long, and the second beam is 5 holes long. Each beam's body is formed by a series of 8mm pitch intervals. At each interva...
brickOne = "oOOOo"; brickTwo = "oOoOoOo"; brickThree = ""; brickFour = ""; is_half_height =false; is_rounded = true; is_start_rounded = false; is_end_rounded = true; $fn = $preview ? 12 : 128; Pitch = 8*1.0; Radius1 = 5.0/2; Radius2 = 6.1/2; Height = is_half_height?4.0:7.8*1.0; Depth = 0.85*1.0; Width = 7.3*1...
glb/cad_6381e8b71239.glb
Create an Impossible Star puzzle consisting of six identical geometric blocks. Each block is derived from a rectangular stick with a width of 10mm and a total length of 30mm. To form the specific shape of each piece, start with the rectangular stick and remove material using several intersecting cuts. First, apply two ...
module cut_cube_top(width) { rotate([45, 0, 0]) cube([2*width, width, width]); } module cut_cube_end_1(width) { rotate([0, 0, 45]) cube([2*width, width, 2*width], center = true); } module cut_cube_end_2(width) { rotate([0, 0, -45]) cube([2*width, width, 2*width], center = true); } module stick(origin, width) { ...
glb/cad_678a58e2cb93.glb
Create a Fully Adjustable Z endstop holder. Start by creating two identical base plates, each measuring 13mm by 8mm with a thickness of 2mm, but with all edges rounded by a 2mm radius. Position these two plates side-by-side with a gap between them. In each plate, create a vertical hole 3.1mm in diameter and 6mm deep, c...
rotate([-90,0,0]) { difference() { minkowski(){ translate([-4,2,0]) cube([13,8,2]); cylinder(r=2, h=0.1, $fn=60); } translate([-3,6,-2]) rotate([0,0,0]) hull(){ cylinder(d=3.1, h=6,$fn=60); translate([10,0,0]) cylinder(d=3.1, h=6,$fn=60); } } translate([37,0,0]) difference() { minkowski(){ ...
glb/cad_5dad9e30f0d6.glb
Create an Electronic Bed Leveller consisting of a rectangular base plate and a central vertical assembly. Start by creating a rectangular plate measuring 50mm by 50mm with a thickness of 3mm. Drill three vertical holes completely through this plate, each with a radius of 2mm. Position the first hole exactly in the cent...
bed(50,50,3); color([1,0,0]) { translate([25,4,-30]) { cylinder(r=1.5,h=45,$fn=12); } } translate([25,4,-3]) { nut(1.5,2.5,2); } translate([25,4,-1]) { washer(1.5,12.5,1); } module bed(x,y,z) { edge=4; difference() { cube(size=[x,y,z]); translate([x/2,edge,-2]) { cylinder(r=2,h=z+4); } translate([(...
glb/cad_43e621546807.glb
Create a power supply mounting base. Start with a main rectangular block that is 44.8mm wide, 24.9mm high, and 24.9mm deep. From this block, remove a central rectangular section starting 2mm from the bottom, with a width of 40.8mm, a height of 24.9mm, and a depth of 24.9mm to create a hollow channel. Add two vertical ...
rt=0.01; $fn=32; fpt=2; bt=4.8; plw=28.5; plh=20.5; pls=40; swbh=fpt+bt*3+plh+bt*2; swbw=pls+bt; swbd=swbh; ph1=[swbw/2-(pls/2),fpt+bt*3+plh/2,0]; ph2=[swbw/2+(pls/2),fpt+bt*3+plh/2,0]; od=6; id=2.75; sh=10; sh1=[bt/2,fpt+bt,swbh-bt/2]; sh2=[swbw-bt/2,fpt+bt,swbh-bt/2]; difference(){ union(){ difference(){ ...
glb/cad_549f6a888699.glb
Create a power supply mounting base consisting of a main rectangular block with dimensions 26.3mm wide, 33.45mm high, and 33.45mm deep. Cut a horizontal slot through the center of the block starting 2mm from the bottom, with a height of 4.8mm and a depth of 33.45mm. In the front face, center a rectangular cutout for ...
rt=0.01; $fn=32; sww=13.15; swh=19.15; fpt=2; bt=4.8; swbh=fpt+bt*3+swh+bt*2; swbw=sww*2; swbd=swbh; od=6; id=2.75; sh=10; sh1=[bt/2,fpt+bt,swbh-bt/2]; sh2=[swbw-bt/2,fpt+bt,swbh-bt/2]; difference(){ union(){ translate([rt,rt,rt])cube([swbw-rt*2, swbh-rt*2, swbd-rt*2]); for(l=[sh1,sh2]){ translate(l)rot...
glb/cad_4d09960fbc5d.glb
Create a power supply mounting base consisting of two cylindrical standoffs connected by a flat brace. Each standoff has an outer diameter of 6mm and a total height of 10mm. Position the two standoffs 39.55mm apart, measured from center to center. Connect the standoffs with a rectangular brace that is 6mm wide and 2.5...
$fn=32; lf=.15; rt=0.01; od=6; id=2.75; sh=10; ss=1; sl=sh-ss; l=39.55; bh=2.5; fr=sl-bh; difference(){ union(){ cylinder(d=od,h=sh); translate([od,0,0]) cylinder(d=od,h=sh+ss); translate([l,0,0]) cylinder(d=od,h=sh); translate([l+od,0,0]) cylinder(d=od,h=sh+ss); translate([0,-od/2,0])cube([od,od,sh]...
glb/cad_36cdd999856b.glb
Create a double-ended measuring spoon consisting of two cylindrical bowls connected by a central handle. For the first bowl, create a hollow cylinder with a volume of 14.79ml. The outer diameter is approximately 25mm with a wall thickness of 1.5mm. For the second bowl, create a hollow cylinder with a volume of 4.93ml...
use <write/Write.scad> spoon_shape = 3; volume_1=1; unit_volume_1=14.7867647825; volume_2=1; unit_volume_2=4.928921595; function get_volume_1()= volume_1 * unit_volume_1 * adjust_volume_1; function get_volume_2()= volume_2 * unit_volume_2 * adjust_volume_2; label="1 tbsp 1 tsp"; label_thickness = 0.6; label_heigh...
glb/cad_97ae53403079.glb
Create a double-ended measuring spoon. The object consists of two hemispherical bowls connected by a central handle. The first bowl is designed to hold 20ml and the second bowl to hold 8ml. Each bowl is formed by a hollowed-out spherical cap with a wall thickness of 1.5mm. The bowls are connected by a smooth, organic...
use <write/Write.scad> volume_1=20; unit_volume_1=1.0; volume_2=8; unit_volume_2=1.0; label="2O ml 8 ml"; function get_volume_1()= volume_1 * unit_volume_1; function get_volume_2()= volume_2 * unit_volume_2; function get_volume_factor(volume)= pow(volume/reference,1/3); label_thickness = 0.6; label_height = 7.5; ...
glb/cad_fc798aae6e04.glb
Create a mechanical gear toy consisting of a base and a set of interlocking gears. Start by constructing a circular base with a height of 3.5mm. The base features a central support pillar and six surrounding pillars arranged in a circle, each with a diameter of 13.8mm and a height of 15.75mm. Connect these pillars to t...
unit = 0; height = 7; circPitch = 7; postDiameter = 15; teeth1 = 24; teeth2 = 12; teeth5 = 16; tMax = 6; nozzle = 0.4; offset = 5*nozzle; ID = 10; width = 10; nozzleID = 0.4; walls = 5; blockSize = 25; play = 2*nozzleID; screwOD = 2; axis_angle = 90; thin = 0.01; pAngle = 30; $fn=32; include <MCAD/involute_gears.scad>...
glb/cad_dd9389ef5b98.glb
Create a filament duck axle by constructing a hollow cylinder with a total height of 82mm, an outer diameter of 30mm, and an inner bore diameter of 20mm. To create the retaining lips at both ends, add a ring to the top and bottom faces of the cylinder. Each ring should have a height of 3mm and an outer diameter of 20mm...
height = 82.00; outsideDiameter=30.00; insideDiameter=20.00; lipDiameter=16.00; lipHeight=3.00; union() { difference() { cylinder(h=height, d=outsideDiameter, $fn=100, center=true); cylinder(h=height, d=insideDiameter, $fn=100, center=true); } translate([0,0,(height-lipHeight)/2.00]) { difference() { cy...
glb/cad_e2f4edce4f2b.glb
Create a parametric project foot that transitions from a larger square top to a smaller square base. The overall height of the foot is 10mm. The top face is a square with a width of 15mm, and the bottom face is a square with a width of 10mm. Connect these two faces with a linear loft to create a tapered shape. Apply a ...
TopWidth = 15; BottomWidth = 10; Height = 10; Smoothing = 3; SubSmoothing = 15; BoltHeadWidth = 5; BoltHeadDepth = 3; BoltWidth = 2; difference() { SquareFoot(); bolthole(); } module bolthole() { translate([0,0,Height - (BoltHeadDepth/2)]) cylinder(h = BoltHeadDepth, r= BoltHeadWidth / 2, $fn=100, center = ...
glb/cad_68dd5b336aea.glb
Create a Skadis mount for a 3D printer toolset. Start with a main rectangular box with rounded corners (radius 2mm). The box dimensions are approximately 65mm in length, 31mm in width, and 37mm in height. On the top face, create the following openings from left to right: 1. A rectangular slot measuring 9mm by 11mm, 25...
$fs = $preview ? 1 : 0.1; $fa = $preview ? 3 : 0.1; PAD = 2; CHISEL_DIAMETER = 12.5; XACTO_DIAMETER = 9; DEBUR_DIAMETER1 = 14; DEBUR_DIAMETER2 = 12; DEBUR_TIP_DIAMETER = 4; BLADES_WIDTH = 9; BLADES_LENGTH = 13.5; TWEEZER_WIDTH = 3; TWEEZER_LENGTH = 11; FILE_DIAMETER = 5.5; MAX_BIG_TOOL_DIAMETER = max(CHISEL_DIAMETER,...
glb/cad_93e738d11ab3.glb
Create a numbered ruler by starting with a base rectangular block measuring 1mm wide, 145mm long, and 8mm high. Along the 145mm length, carve out a series of horizontal tick marks at every 1mm interval. Each standard tick mark should be 0.125mm wide and 3mm deep, extending slightly beyond both sides of the base. For ...
mark_width = 0.125; mark_depth = 0.05; module ruler(length) { difference() { cube( [1, length+5, 8 ] ); for ( i = [1:length] ) { translate( [mark_depth, i, 0] ) cube( [1, mark_width, 3 ] ); translate( [-mark_depth, i, 0] ) cube( [1, mark_width, 3 ] ); if (i % 5 == 0) { translate( [mark_depth, i...
glb/cad_f728db0aaa9c.glb
Create a ROV Brushless Outrunner propeller consisting of three main components: a base cap, a top cap, and a three-blade propeller assembly. First, create the base cap. Start with a conical section that transitions from a radius of 13.25mm to 10mm over a height of 2mm. Below this, add a cylinder with a radius of 13.25...
res=90; basecapR1=26.5/2; basecapR2=10; basecapBase=2; basecapAl=6.4; basecapRem=0.8; basecapAlRin=19.1/2; basecapRemOffset=4.5; baseCube=8; baseCubeHei=5; clearanceHole=5.5/2; retainThick=2; retainWallHei=2; topcapR2=basecapR2; topcapBase=2; topCube=baseCube; topCubeHei=baseCubeHei; topBoltHei=1; topcapR1=16/2; bl...
glb/cad_548671c78d32.glb
Create a ROV Outrunner Brushless Propeller consisting of three main components: a base cap, a top cap, and a two-blade propeller assembly. For the base cap, create a conical section with a bottom radius of 13.25mm and a top radius of 10mm over a height of 2mm. Above this, add a retaining ring with an outer radius of 1...
res=90; basecapR1=26.5/2; basecapR2=10; basecapBase=2; basecapAl=6.4; basecapRem=0.8; basecapAlRin=19.1/2; basecapRemOffset=4.5; baseCube=8; baseCubeHei=5; clearanceHole=5.5/2; retainThick=2; retainWallHei=2; topcapR2=basecapR2; topcapBase=2; topCube=baseCube; topCubeHei=baseCubeHei; topBoltHei=1; topcapR1=16/2; bl...
glb/cad_e4cabcfb4f92.glb
Create a parametric spice rack consisting of three identical vertical holders aligned in a row. Each holder is based on a cylinder with a radius of 26mm (half the 48mm container diameter plus 2mm wall thickness) and a height of 40mm. For each holder, create a solid cylindrical shell and subtract a central cylindrical...
container_diameter = 48; holder_height = 40; back_thickness = 1; mounting_hole_scale = 1; bottom_opening = "yes"; front_opening = "yes"; mounting_holes = "yes"; containers = 3; $fn=100; head_d1 = 6.5*mounting_hole_scale; d1 = 2.7*mounting_hole_scale; d2 = 2*mounting_hole_scale; head_h = 2.75; length= 15; module scre...
glb/cad_763b6ecf071a.glb
Create a Microscope Slide Prep Tray by starting with a solid rectangular base measuring 86.5mm in width, 86.5mm in length, and 3mm in height. Within this base, carve out three identical rectangular slots to hold slides. Each slot should be 76.5mm long and 25.7mm wide. Position the first slot 5mm from the left edge an...
count = 3; slide_length = 76.2; slide_height = 25.4; slide_margin = 0.3; edge = 5; separation = 4; tray_height = 3.0; support_thickness = 1.0; support_width = 2.0; pickup_diameter = 20.0; base_height = 0.0; do_mirror = false; tray(); if (do_mirror) { translate([edge,0,0]) mirror([1,0,0]) tray(...
glb/cad_0c92190e8bb2.glb
Create an OLED Screen Chassis Mount consisting of a main mount body, a screen lid, and a threaded channel. First, create the mount body as a cylinder with a radius of approximately 23.5mm and a thickness of 2mm. On the top face, add four cylindrical board risers with a radius of 1.75mm and a height of 4.5mm, positione...
lidThickness = 2; mountThickness = 2; mountSlop = 0.25; channelThickness = 3; nutThickness = 5; channelDiameter = 12; channelLength = 15; channelVerticalOffset = 10; threadTolerance = 0.75; threadPitch = 2; boardRiserHeight = 4.5; riserDonut = 0.75; antiRotationPegDiameter = 3; antiRotationPegHeight = 5; largeDimension...
glb/cad_3ef09d2a0f2c.glb
Create a Card Deck Holder by starting with a solid rectangular base measuring 68mm wide, 94mm long, and 13mm high. Center this base on the origin. From this solid, remove a central rectangular volume measuring 65mm wide, 91mm long, and 13mm high to create a hollow cavity. To allow access to the interior, remove two int...
num_of_cards=52; card_thickness=4; card_width=65; card_height=91; wall_size=3; deck_thickness=round(num_of_cards/card_thickness); difference() { translate(v=[0,0,-wall_size]) cube([card_width+wall_size,card_height+wall_size,deck_thickness], center=true); union() { cube([card_width,card_height,deck_thickness]...
glb/cad_3cacff8413fe.glb
Create a Card Deck Holder by starting with a solid rectangular base measuring 71mm wide, 97mm long, and 13mm high, centered on the origin. From this base, remove a central rectangular volume of 68mm by 94mm with a height of 13mm to create a hollow interior. To allow for card removal, carve out a cylindrical cutout with...
num_of_cards=52; card_thickness=4; card_width=65; card_height=91; wall_size=3; deck_thickness=round(num_of_cards/card_thickness); offset=wall_size*2+1; difference() { translate(v=[0,0,-wall_size]) cube([card_width+offset,card_height+offset,deck_thickness], center=true); union() { cube([card_width+wall_size,...
glb/cad_885941bf48d0.glb
Create a calibration plate for extruder alignment consisting of three distinct sections. The base unit of measurement is a width of 3mm. First, create a central square section. Start with a base cube of 36mm x 36mm x 1mm centered at the origin. On top of this, add a square ring created by subtracting a 30mm x 30mm x 1...
width = 3; first_extruder(width); second_extruder(width); third_extruder(width); module X(a) { translate ([0,0,0.6]) rotate ([0,0,45]) cube([5,a,.5],center = true); translate ([0,0,0.6]) rotate ([0,0,-45]) cube([5,a,.5],center = true); } module Y(a) { translate ([0,1,0.6]) rotate ([0,0,60]) cube([5,a,.5],center = tr...
glb/cad_a37e2acf7f8e.glb
Create a tar spatula consisting of a wide paddle and a long handle. The paddle is a rectangular block 40mm wide, 40mm high, and 2mm thick. From the back of the paddle, extend a handle 200mm in length. The handle should taper in width from 20mm at the base to 13mm at the end, and its thickness should be 10mm. The edges ...
$fn = 60; End_Loop=true; Len = 200; Front_Thk = 2; Paddle_H = 40; Paddle_W = 40; Hdl_SW = 20; Hdl_LW = 13; Hdl_Max_Thk = 10; Rounding_R = 2.5; Ofset = Front_Thk/tan(4); Scoop(); module Scoop() { x=Paddle_H/2+Ofset; rotate([90,0]) minkowski(convexity=5) { intersection() { Body(); ...
glb/cad_7055da1861bd.glb
Create a parametric coin holder consisting of a main cylindrical body with a diameter of 57mm and a total height of 30mm. The holder features four radial compartments designed to hold stacks of coins of varying sizes. For each of the four sections, create a cylindrical void to accommodate the following coin diameters:...
$fn=64; coins = [[20.6,1.5,"1p","red",0],[23,1.82,"2p","blue",-10],[25,1.82,"5p","yellow",4],[22.2,2.3,"10p","green",11]]; coins_count = 4; tol = 0.5; dist=8; main_diam=57; height = 30; max_diam = 25; ts = 8; hg = 0.6; hgt=0.6; btm = 2; dot_fix = 1; difference (){ union(){ cylinder(d=main_diam, h = heig...
glb/cad_2b462da34eaf.glb
Create a Parametric Coin Holder consisting of a main cylindrical body with a diameter of 57mm and a total height of 30mm. The holder features four radial compartments designed to hold specific coin sizes. For each compartment, create a cylindrical hole that extends from the top surface down to a base thickness of 2mm....
$fn=64; coins = [[20.6,1.5,"1","red",0],[23,1.82,"2","blue",-10],[25,1.82,"5","yellow",4],[22.2,2.3,"10","green",11]]; coins_count = 4; tol = 0.5; dist=8; main_diam=57; height = 30; max_diam = 25; ts = 10; hg = 0.6; hgt=0.6; btm = 2; dot_fix = 1; tb = 4; difference (){ union(){ cylinder(d=main_diam, h =...
glb/cad_2aea28bf37c5.glb
Create a parametric coin holder starting with a main cylinder that has a diameter of 64mm and a height of 30mm. Arrange five coin slots symmetrically around the center of the cylinder, spaced at 72-degree intervals. Each slot is a vertical cylindrical hole designed to hold a specific coin size. The coin diameters for...
$fn=64; coins = [[19.5,1.5,"50k","brown"],[20.5,1.5,"1p","red"],[23,1.8,"2p","blue"],[25,1.8,"5p","yellow"],[22,2.2,"10p","green"]]; coins_count = 5; tol = 0.5; dist=8; main_diam=64; height = 30; max_diam = 25; ts = 8; hg = 0.6; difference (){ union(){ cylinder(d=main_diam, h = height); for (i=[0:(coins_...
glb/cad_31c5c23b9b17.glb
Create a Huxley NEMA14 fan mount designed to fit over a stepper motor. Start with a central square cap that is 39mm wide, 39mm deep, and 13mm high. Hollow out the center of this cap with a square cutout measuring 35.5mm by 35.5mm and a height of 11mm to create a wall thickness of 1.75mm. At the bottom center of the ca...
$fn = 60; aBit = 0.01; motorClearance = 0.5; motorWidth = 35.0 + motorClearance; wallThickness = 2.0; capHeight = 11.0; capWidth = motorWidth + wallThickness * 2; fanThickness = 11.0; fanHolderHeight = 8.0; fanHolderDepth = capWidth - fanThickness; screwHoleDepth = 10.0; screwHoleDiameter = 3.0; screwHoleSeparation...
glb/cad_9c4c9a9ce725.glb
Create a fast attaching bracket and wire clip for a 28mm aluminum profile. Start by constructing the mounting bracket base: create a cylinder with a diameter of 8mm and a height of 4.1mm for the head. Above this, add a cylinder with a diameter of 4.5mm and a height of 1.7mm for the neck. On top of the neck, place a cyl...
$fn=72; head_width=8; head_height=4.1; neck_width=4.5; neck_height=1.7; shoulder_width=12; shoulder_height=1.2; body_width=16; body_height=3; leg_width=11; leg_height=20; wire_dia=1.7; wire_length=30; sphere_radius=neck_width; strip_height=4; clips_spacing=1; clips_height=sphere_radius+strip_height; clips_thickness=1;...
glb/cad_80b46bd64080.glb
Create a tabletop RPG paper airplane model consisting of a plane and a separate base. For the airplane, construct a thin geometric shell with a uniform thickness of 2mm. The main body is formed by the convex hull of three points: (1, 0, 0), (1, 20, 0), and (5, 0, 10), mirrored across the X-axis. The wings are formed ...
gap = 0.2; peg_d = 2.5; peg_h = 3; paper_t = 2; module make_face(points){ hull() for(p=points){ translate(p) translate([-paper_t/2, -paper_t/2, -paper_t/2]) cube([paper_t, paper_t, paper_t]); } } module style_1(){ body_points = [ [1, 0, 0], [1, 20, 0], ...
glb/cad_91157c5b1126.glb
Create a Card Vault protector for a deck of cards with overall interior dimensions of 65mm width, 17.5mm thickness, and 91mm height. Construct the main body as a hollow rectangular sleeve with a wall thickness of 2mm. The side walls should be straight, while the front and back faces feature a curved, concave cutout t...
DeckHeight=91; DeckWidth=65; DeckThickness=17.5; WallThickness=2; DiamondPattern=0; GripAngle=0; MajorRadius=DeckHeight; TagSize=DeckThickness; P=DeckWidth/15; P_Width=sqrt(2*pow(P+1,2)); P_Cols=(DeckWidth+WallThickness*2)/P_Width; P_Rows=2*(DeckHeight+WallThickness*2)/P_Width+1; tolerance=0.5; $fn=20; module s...
glb/cad_45c12a663962.glb
Create a Flashforge Creator Pro hood plug by constructing a composite geometric shape. Start with a central rectangular base measuring 120mm by 101.9mm with a thickness of 5mm. Add a second rectangular block centered on the base with the same 120mm width and a thickness of 5mm, but increase its depth to 121.9mm. Finall...
union(){ cube([120,101.9,5],center=true); translate([0,0,5])cube([120,101.9+20,5],center=true); translate([-60+0.85,0,5+9])rotate([0,-15,0]) cube([5,101.9+20,20],center=true); }
glb/cad_e79b7a954138.glb
Create a flexible pipe joint by constructing a composite vertical shape. Start with a top sphere of 10mm diameter centered at Z=15mm. Below this, create a bottom sphere with a diameter of 12.4mm centered at Z=2mm. Connect these two spheres with a conical neck that tapers from a radius of 6mm at the bottom to a radius o...
d=10; gap=0.2; height=20; alpha=20; skin=2; beta=45; rpipe=1; nb_cut=2; r=d/2; delta=sin(alpha)*r; rneck=sin(beta)*r; difference() { union () { difference() { union() { translate([0,0,height-r]) { sphere(d=r*2, $fn=100); } translate([0,0,delta]) { sphere(d=(r+gap+skin)*2, $fn=100, cent...
glb/cad_9bd04d3e495b.glb
Create a rectangular box frame with external dimensions of 58.5mm in length, 26.5mm in width, and 23.5mm in height. The frame consists of twelve structural edges, each formed by a cylinder with a diameter of 3mm and a 20-facet resolution. Inside this frame, add eight random internal struts. Each strut must be a cylind...
box_h = 23.5; box_w = 26.5; box_l = 58.5; wall = 3; density = 8; seed = 7878; useframe = true; seed_vect = rands(1,10000,12,seed); edge1 = rands(0,box_l, density, seed_vect[1]); edge2 = rands(0,box_l, density, seed_vect[2]); edge3 = rands(0,box_l, density, seed_vect[3]); edge4 = rands(0,box_l, density, seed_vect[4]);...
glb/cad_261496f02a75.glb
Create a boat cleat with a spool. Start by designing the main body consisting of two symmetrical horns and two supporting legs. Each horn is 70mm long, 20mm wide, and 10mm thick, with rounded ends using a 4mm radius. The horns should taper slightly toward the tips, which are 50% of the horn width. Position two legs 15...
$fn=50; $EC = .3; Cleft = true; Cleft_W = 3.5; Cleft_L = 10; Cleft_D = 5; R = 4; Hrn_Len = 70; Hrn_Wid = 20; Hrn_Thk = 10; Tip_WidFr = .5; Leg_Len = 15; Leg_Wid = 10; Leg_DepFr = 1; Leg_SepFr = .4; Spool = true; Base = true; Base_Thk = 3; Base_Lfr = 1; Base_Wfr = 1; Hrn_Thk1 = (Hrn_Thk>2*R)? Hrn_Thk-2*R:...
glb/cad_c6946847c055.glb
Create a customizable belt clip designed as a hollow rectangular sleeve. Start by constructing a solid rectangular block with an overall length of 34.3 mm, a width of 15 mm, and a height of 12.3 mm. From the center of this block, remove a smaller rectangular volume to create a hollow interior, leaving a wall thickness ...
width=15.0; thickness=4.0; height=30.05; shell_thickness=2.0; pixels_in_x=100; pixels_in_y=100; scale=3; design="design3.dat"; ep=0+0.01; tolerance=0.15; inner_height=(1+tolerance)*height; outer_height=inner_height+2*shell_thickness; rotate([90,0,0]) difference(){ union(){ outside(); image(design); ...
glb/cad_e131bfd250bc.glb
Create a heart pendant by constructing a flat, heart-shaped ring with a thickness of 7mm. The outer boundary of the heart should be a smooth, symmetrical heart shape, and the inner boundary should be a slightly scaled-down version of that same heart shape, creating a hollow center. Position a small circular hole for ...
fudge = 0.1; module polyint() { polygon([[41.687425,-87.226838],[46.756514,-87.112496],[51.835534,-86.631506],[56.891757,-85.790758],[61.892453,-84.597142],[66.804892,-83.057549],[71.596345,-81.178868],[76.234083,-78.967991],[80.685376,-76.431806],[84.917495,-73.577204],[88.897710,-70.411076],[92.593292,-66...
glb/cad_7c84f9027c6e.glb
Create a spool holder frame support with a main body measuring 14mm wide, 20mm deep, and 60mm high. Carve a central rectangular slot through the body that is 6mm wide, 22mm deep, and 50mm high to accommodate an aluminium frame. At the top of the part, create a horizontal cylindrical hole with a radius of 4mm and a heig...
nut_diam = 6.5; screw_diam = nut_diam/2; module frame_support() { difference() { difference() { difference() { difference() { cube([14,20,60], center = true); translate([0,0,-8.5]) cube([6,22,50], center = true); } translate([1,0,30]) cylinder(r=8/2, h=20, $fn=100, cen...
glb/cad_75885584c566.glb
Create a game tile holder consisting of two symmetrical mirrored pieces. Each piece is based on a rectangular stand with a width of 33mm and a height of 24.75mm (75% of the piece width). The main body of each holder has a thickness of 3mm with rounded edges created by a 3mm radius. For each holder, create a primary su...
Thingiverse_Customizer=1*1; part = "both_for_print"; piece_w=33; piece_h=33; piece_th=3.5; tileNumber=3; text="micropul"; fontfilename="write/Orbitron.dxf"; fontname="Aldo"; use <write/Write.scad> $fs=0.2; thick=3; tileHeight=piece_h*.75; tileWidth=piece_w; tileDepth=piece_th*2; standWidth= tileWidth * ( t...
glb/cad_ee7bf69a6a3d.glb
Create a Felt LM8UU Surrogate bushing by starting with a solid cylinder 25mm in height and 7.375mm in radius. From this solid, remove a central hexagonal bore with a flat-to-flat width of 10mm that runs the full length of the cylinder. To create the constrained version, remove additional material to form slots for fe...
$fa=1; $fs=1; lm8uu_radius = (15-.25)/2; lm8uu_length = 25; felt_lm8uu_set(); *felt_lm8uu(constrained=true); *felt_lm8uu(constrained=false); module felt_lm8uu_set() { for(i=[0:1]) translate([i*20, 0, 0]) felt_lm8uu(constrained=true); translate([-20, 0, 0]) felt_lm8uu(constrained=false); } module felt_lm8...
glb/cad_8c153cc27199.glb
Create a Customizable Hinged Box consisting of a base and a lid. For the base, create a rounded rectangular prism 120mm wide, 60mm deep, and 40mm high. Use a corner radius of 5mm and a fillet radius of 3mm on the edges. Hollow out the center to create a storage area with a wall thickness of 2mm. Inside the base, add ...
include <BOSL2/std.scad> part = 0; boxWidth = 120; boxDepth = 60; boxHeight = 40; lidHeight = 12; includeSeparators = 1; lidSeparators = 1; corner = 5; fillet = 3; numSeparatorsX = 3; numSeparatorsY = 2; wallThickness = 2; tolerance = 0.2; font="Arial"; textFont = font != "" ? font : "Arial"; textBase = ...
glb/cad_a5c6e1c1b1f2.glb
Create a customizable hook for a hanging shelf consisting of a base and a locking mechanism. First, construct the hook base as a rounded rectangular block with a length of 18mm, a thickness of 6mm, and a width of 20mm. The corners should have a radius of 1mm. Centered within this base, create a cylindrical hole with ...
what_to_generate = "hook-base"; hook_width = 20.0; locking_hook_h = 5.0; locking_hook_th = 4.0; connector_thickness = 0.8; connector_l = 17.0; hook_base_l = 18.0; hook_base_th = 6.0; hook_base_r = 1.0; screw_insert_dia = 4.0; screw_insert_offset = 5.0; round_hook_dia = 20.0; round_hook_wall = 4.0; round_ho...
glb/cad_cf5157ca3e7e.glb
Create a small parts box with overall exterior dimensions of 53mm width, 53mm depth, and 62.5mm height. The main body is a hollowed-out rectangular prism with rounded vertical corners. Use a corner radius of 3.6mm for all exterior vertical edges. The walls of the box should have a uniform thickness of 1.2mm. The inte...
breite=53; tiefe=53; hoehe=62.5; radius=3.6; wand=1.2; fuss=1.5; hoeh=hoehe-fuss; module rundbox(dims, radi) { translate([radi,radi,0]) cube([dims[0]-2*radi,dims[1]-2*radi,dims[2]]); translate([radi,0,radi]) cube([dims[0]-2*radi,dims[1],dims[2]-radi]); translate([0,radi,radi]) cube([dims[0],dims[1]-2*radi,dims[2]-...
glb/cad_6150fcfca207.glb
Create a tea bag basket with an outer shell and a hollow interior. The outer dimensions are 76mm wide, 126mm long, and 61mm high, with a wall thickness of 3mm and a bottom thickness of 1mm. All vertical corners of the outer shell should be rounded with a 10mm radius. The interior is a hollowed-out rectangular prism th...
hexagon_spacing = 2; hexagon_side = 6; bag_dimensions = [70, 60]; inner_length = 120; thickness = 3; bottom_thickness = 1; radius = 10; border = 1.5; $fn = 60; eps = 0.01; function apothem(side) = side * tan(60) / 2; function hexagon_grid_size(count, side, spacing) = [ ((floor(count.x) - 1) / 2) * (side * 3 + 2...
glb/cad_4f92fdac9ee8.glb
Create a Sport Trac Bed Anchor by constructing a central body and removing specific holes. Start with a main form created by the convex hull of a 120mm by 34mm by 1mm flattened cylinder at z=17, a 100mm by 24mm by 1mm flattened cylinder at z=13, and two 2.5mm radius spheres centered at z=13. Refine this volume by inter...
$fa=1; $fs=.1; difference(){ union(){ translate([0,0,17]) hull(){ resize(newsize=[120,34,1]) cylinder(r=17,h=1,center=true); translate([0,0,13]) resize(newsize=[100,24,1]) cylinder(r=12,h=1,center=true); translate([0,0,13]) resize(newsize=[100,24,5]) sphere(r=2.5,center=true); } ...
glb/cad_5a43815dccce.glb
Create a Simple Target consisting of a circular disc and a supporting base. First, create a thin cylinder with a radius of 20mm and a height of 1.5mm to serve as the target face. For the base, construct a rectangular block 40mm wide, 20mm deep, and 3mm thick. Position this block so that its center aligns with the cente...
thick=1.5; radius=20; base_thick=3; cylinder(h=thick,r=radius); difference () { translate ([radius,-radius,-1]) rotate ([10,0,180]) cube([radius*2,base_thick,radius]); translate([-radius*1.1,0,0]) rotate([180,0,0]) cube([radius*2.2,radius*2,radius*2]); } difference () { translate ([-1.5,-radius,0]) cube([2.5,radi...
glb/cad_02b6ecadf484.glb
Create a Pool Filter Lock tool consisting of a main vertical cylinder and a grip base. Start by creating a central cylinder with a radius of 8mm and a total height of 60mm. At the bottom of this cylinder, add three equidistant grip tabs extending outwards. Each tab is formed by the hull of a 5mm radius circle centered ...
difference() { union () { linear_extrude(height = 8) { minkowski() { circle(3); for(i=[0:3]) { rotate([0,0,i * 360 / 4]) hull() { translate([20,0,0]) circle(5); square(2); } } } } cylinder(r = 8, r1=10, h=60)...
glb/cad_c22f211bc424.glb
Create a Pool Filter Lock tool consisting of a central vertical cylinder and a three-pronged base. Start by creating a main cylinder with a radius of 9mm and a height of 60mm. At the bottom of this cylinder, add three identical flat-ended wings extending outwards, spaced 120 degrees apart. Each wing is formed by the hu...
difference() { union () { linear_extrude(height = 8) { minkowski() { circle(3); for ( i = [ [0,0,0], [0,0,120], [0,0,240] ] ) { rotate (i) hull() { translate([25,0,0]) circle(2); circle(5); } } } } cylinder(r =...
glb/cad_5bfa0f875fbe.glb
Create a rectangular electronics enclosure for a DDS generator. The main body is a hollow box with outer dimensions of 85mm in width and 85mm in depth, and a total height of 25mm. The walls are 2mm thick. The floor of the case is solid, but the top is open to allow for a PCB and LCD insertion. On the top panel, create...
difference(){ union(){ difference(){ translate([4,4,-4.5]) cylinder(r=7.5,h=24,$fn=99); translate([4,4,-5.5]) cylinder(r=1.75,h=25,$fn=99); translate([3.5,-1.5,-4.5]) cube([8,12,4.5]); translate([-1.5,3.75,-4.5]) cube([12,8,4.5]); translate([3.75,3.75,-4.5]) cylinder(r=5,h=4.5,$fn=99); } difference(){ translate([76,...
glb/cad_b0eece513439.glb
Create a top plate for a DDS-generator case. Start with a base shape formed by the union of two overlapping rectangular blocks: one measuring 87mm x 72mm x 2.5mm positioned at [-3.5, 3.5, -4.5] and another measuring 72mm x 87mm x 2.5mm positioned at [3.5, -3.5, -4.5]. Add four rounded corner protrusions by placing cyli...
difference(){ union(){ translate([-3.5,3.5,-4.5]) cube([87,72,2.5]); translate([3.5,-3.5,-4.5]) cube([72,87,2.5]); translate([4,4,-4.5]) cylinder(r=7.5,h=2.5,$fn=99); translate([76,4,-4.5]) cylinder(r=7.5,h=2.5,$fn=99); translate([4,76,-4.5]) cylinder(r=7.5,h=2.5,$fn=99); translate([76,76,-4.5]) cylinder(r=7.5,h=2.5,$f...
glb/cad_0e629c0a91ab.glb
Create a reel filament holder for a delta printer. Start by constructing a U-shaped bracket that wraps around a 20mm aluminum profile. The bracket has an overall width of 20mm, a height of 32mm, and a depth of 20mm. Remove a central rectangular section of 20mm width and 20mm height to form the U-channel. Drill two 5mm ...
sidePrf=20; largU=20; altU=32; depthU=20; dForo=5; dSvaso=9; lowerCh=5; armH=130; armW=10; armAng=-20; dRing=10; thickRing=5; pinLenght=150; pinDiam=dRing-1; thickShell=7; prfSvaso=2; diamscasso=3; altscasso=50; difference(){ cube([largU, sidePrf+(altU-sidePrf)/2, altU]); translate([0,0,(altU-sidePrf)/2]) ...
glb/cad_ecb144bad560.glb
Create an Up! mini spool holder consisting of a mounting bracket and a horizontal support arm. Start by creating a vertical mounting base with a thickness of 6mm. Extend a horizontal arm from this base to support the spool. The arm is designed to hold a spool with a height of 95mm and a center hole diameter of 32mm. ...
spool_height=95; spool_hole_diameter=32; wall_thickness=6; origbreit1=28; origbreit2=24; orighoeh1=10; lang1=spool_height+2; breit1=origbreit1; breit2=origbreit2; rad1=(spool_hole_diameter-2)/2; hoeh1=orighoeh1; dick1=wall_thickness; diag1=sqrt((lang1)*(lang1)+2*rad1*2*rad1); difference(){ translate([-2,0,0]) cub...
glb/cad_a62914f2f483.glb
Create an Up! mini spool holder consisting of a main horizontal support arm and a mounting bracket. Start by creating a horizontal cylinder with a radius of 24mm and a length of 72mm, positioned so its center axis runs along the Y-axis. To form the spool cradle, remove material from the top and bottom of this cylinde...
origlang1=70; origbreit1=28; origbreit2=24; origdia1=50; orighoeh1=10; origdick1=6; lang1=origlang1+2; breit1=origbreit1; breit2=origbreit2; rad1=(origdia1-2)/2; hoeh1=orighoeh1; dick1=origdick1; diag1=sqrt((lang1-dick1)*(lang1-dick1)+2*rad1*2*rad1); difference(){ translate([-2,0,0]) cube([4,breit2,12],true); tran...
glb/cad_265b1e4963e7.glb
Create a customizable snowman figure with a total height of 10mm. The body consists of three stacked spheres of decreasing size. Place the largest sphere at the base, a medium-sized sphere directly on top of it, and the smallest sphere on top of the medium one. The spheres should be positioned so they overlap slightly,...
total_height=10; resolution=25; Nose=1; Top_Ball=3; Middle_Ball=4; Bottom_Ball=5; Cylinder=2; snowman(); module snowman() { sum=Bottom_Ball+Middle_Ball+Top_Ball+Cylinder; d1=total_height*Bottom_Ball/sum; r1=d1/2; d2=total_height*Middle_Ball/sum; r2=d2/2; d3=total_height*Top_Ball/sum; r3=d3/2; hz=total_he...
glb/cad_c2cec10f38da.glb
Create a drill press knob by combining a sphere and a cylinder. Start with a sphere that has a radius of 13.75mm. Attach a cylinder to the bottom of the sphere, centered on the vertical axis; this cylinder should have a radius of 8.5mm and a height of 13mm, extending downwards from the sphere's center. Finally, create ...
difference() { union() { translate([0,0,-((27.5/2)+2.5)]) cylinder(r = 17/2, h = 13, $fn=64); sphere(r = 27.5/2, $fn=128); } translate([0,0,-17]) cylinder(r = 9/2, h = 21); }
glb/cad_1233e7475124.glb
Create a hook by combining two concentric ring-like structures connected by a straight segment. First, create a large hollow cylinder centered at the origin with an outer diameter of 32mm, an inner diameter of 26mm, and a height of 8mm. Second, create a smaller hollow cylinder with an outer diameter of 26mm, an inner d...
dia1=26; dia2=20; mitmit=33; wand=3; breite=8; rad1=.5*dia1; rad2=.5*dia2; lang1=sqrt(pow(mitmit,2)-pow((rad1+(rad2+wand)),2)); lang2=sqrt(pow(mitmit,2)-pow((rad1-(rad2+wand)),2)); difference() { cylinder(h=breite,r=rad1+wand,center=true); cylinder(h=breite+1,r=rad1,center=true); } difference() { translate([mitm...
glb/cad_04f46cf6fbc4.glb
Create a Cat with Jet Pack by assembling a central rectangular block and several cylindrical and spherical components. Start with a central rectangular prism measuring 4mm by 28mm by 20mm. On opposite ends of this block, attach two identical nacelle assemblies. Each nacelle consists of a cylinder 20mm tall with a radiu...
import_stl("bool.stl"); module jetpack() { module nacelle() { rotate([0,0,0]) union() { cylinder(20,7,8); translate([0,0,-10]) cylinder(10,5,7); translate([0,0,20]) sphere(8); } } translate([0,14,0]) nacelle(); translate([0,-14,0]) nacelle(); translate([0,-14,0]) cube([4,28,20]); translate(...
glb/cad_16ee44b74cb0.glb
Create a Sliding Shower Door Bumper set consisting of two distinct bumper types. Both bumpers share a height of 20mm and a screw hole with a diameter of 4.1mm passing through the center of the Z-axis. For the simple bumper, create a rectangular block 34mm wide and 6mm deep. Attach a guide to the side consisting of a v...
inner_width = 34.0; height = 20.0; wall_thickness = 1.5; wall_depth = 16.0; body_depth = 21.0; total_depth = 24.0; inner_depth = 6.0; guide_thickness = 7.0; guide_length = 12.5; guide_extension = 2.0; guide_ovelap_length = 4.0; guide_tip = 0.5; offset_width = 16.0; offset_inside = 15.0; screw_diameter = 4...
glb/cad_6b8007ca58c2.glb
Create a floating CNC dust shoe consisting of a main shoe body, a support frame, and bearing mounts. First, create the main shoe as a rectangular block 95mm wide, 104mm deep, and 10mm thick. At each of the four corners, add a cylindrical hole with a diameter of 8mm and a depth of 4.1mm to house magnets. In the center...
module zbeam() { difference(){ union(){ % translate([-40,0,0]) cube([40,80,300]); % translate([-90,0,0]) cube([90,80,10]); % translate([40+15,40,30]) rotate([0,0,0]) cylinder($fn=100, 230, 40, 40); % translate([40+15,40,-5]) rotate([0,0,0]) cylinder($fn=100, 40, 17, 17); % translate([0,-10,2...
glb/cad_354fcf3556cd.glb
Create a toothbrush holder consisting of two joined vertical sections. First, construct a main rectangular block with dimensions 20mm wide, 20mm deep, and 25mm high, featuring rounded corners with a 5mm radius. Hollow out the center of this block by removing a 14mm by 14mm square section from the top, leaving a 3mm thi...
$fn=40; union() { difference() { roundcube(20,20,25); translate([3.25,3.25,3]) cube([14,14,22]); } translate([-15,2.25,0]) difference() { roundcube(15,15,15); translate([-0,0,0]) cube([10,20,22]); } } module roundcube(x,y,z) { rad=5; x_mov=(x/2)-rad; y_mov=y/2-rad; translate([x/2,y/2,0]) { hull...
glb/cad_d66fc8d14a5a.glb
Create a parametric door hook with a total width of 12mm. Start by forming a semi-circular ring with an outer diameter of 26mm and an inner diameter of 20mm, creating a wall thickness of 3mm. Cut this ring in half and remove a rectangular section from the center of the arc to create a C-shaped opening that allows the h...
doorthickness=13.6; doorhight=8; length1=70; dia=20; thickness1=3; width=12; thickness2=1.2; difference() { cylinder(h=width,r=.5*dia+thickness1,center=true); cylinder(h=width+1,r=.5*dia, center=true); translate([dia,0,0]) cube(2*dia,center=true); } translate([0,.5*dia,-.5*width]) cube([length1-.5*dia,thickness1...
glb/cad_f9f0581b2983.glb
Create a Nexus 5 anemometer consisting of a rotor assembly and a phone mounting bracket. For the rotor, start with a central hub cylinder 6mm high with a 3mm radius. From this hub, extend three arms 120 degrees apart. Each arm is 15mm long and 3mm thick, ending in a hemispherical cup. Each cup is formed by a sphere w...
$fn = 60; cup_R = 20; cup_r = 19; cup_t = 1.5; arm_l = 15; arm_t = 3; hub_r = 3; hub_h = 6; magnet_r = 6; magnet_h = 5; magnet_t = 1; axis_cuff_h = 3; axis_r = 1.5; mount_w = 14; phone_t = 10.1; mount_t = 2; mount_tab_l = 20; bearing_r = 3; bearing_h = 3; eps = 1e-3; assembly(); function sqr(x) = x*x; modul...
glb/cad_e9150be4905e.glb
Create a magnetic can opener holder by starting with a vertically oriented oval shell. The outer boundary is an ellipse 84mm tall and 33.44mm wide, with a wall thickness of 4mm and a total depth of 40mm. The interior is hollowed out to a depth of 25mm, creating a pocket that is 186mm tall and 33.44mm wide. At the base...
use <MCAD/boxes.scad> use <utils/build_plate.scad> use <write/Write.scad> oWidth = 76; oHeight = 186; oDepth = 25; rDiameter = 20; rDepth = 15; mDiameter = 12.1; mDepth = 3; wThickness = 4; gDiameter = 30; build_plate_selector = 3; build_plate_manual_x = 220; build_plate_manual_y = 220; build_plate(build_plate_se...
glb/cad_35395c917005.glb
Create a hex bit holder consisting of a honeycomb grid of hexagonal cells. Each cell is a hollow hexagonal prism with an outer diameter of 8.46mm and an inner diameter of 6.35mm, creating a wall thickness of approximately 2.11mm. The total height of the holder is 20mm. Arrange the cells into two rows of four. The firs...
bits_per_row = 4; rows = 2; bit_diameter = 6.35; holder_height = 20; ratio = 3; diameter = bit_diameter; height = holder_height; thickness = diameter / ratio; width = diameter + thickness; module hexagon(size, height) { width = size/sqrt(3); cylinder(height, r=width, center=true, $fn=6); } module cell(diame...
glb/cad_60995302ee74.glb
Create a center support dowel for a necklace stand by constructing an octagonal prism. The prism should have a diameter of 9.525mm (3/8 inch) and a total height of 260mm. Ensure the geometry is defined by 8 facets to maintain a consistent octagonal cross-section throughout its length.
$fn=8; ires=64; OD=(3/8) * 25.4; Rad=OD/2; Ht=11.5*25.4; Ht=260; echo( "OD = ", OD); Ht2=Ht/2; echo( "Ht = ", Ht); rotate([0,0,45]) translate([0,-Ht2,Rad]) rotate([-90,0,0]) rotate([0,0,22.5]) cylinder(d=OD,h=Ht);
glb/cad_0a10e73f1e63.glb
Create two separate geometric components: a hexagonal prism and a hexagonal cylinder. First, create a solid hexagonal prism with a height of 25.4mm and a flat-to-flat width of 20.32mm. Centered vertically through this prism, remove a cylindrical hole with a diameter of 10.16mm and a height that exceeds the prism's own ...
$fn=8; P38ID=(102/256) * 25.4; echo( "P38ID = ", P38ID); OD=(3/8) * 25.4; Rad=OD/2; Ht=25.4; echo( "OD = ", OD); Ht2=Ht/2; echo( "Ht = ", Ht); module DrawTestDowel() { translate([20,-Ht2,Rad]) rotate([-90,0,0]) rotate([0,0,22.5]) cylinder(d=OD,h=Ht); } module DrawTestHole() { difference() { cylinder(d=P38ID*2,...
glb/cad_889c8b034202.glb
Create a Patterned Electrode Box designed to hold a micro-electrode and its interface. Start by constructing a main outer box with dimensions 150mm in length, 67mm in width, and 22mm in height. Hollow out the center of this box to create a main cavity measuring 140mm by 57mm by 40mm, leaving walls of approximately 5mm....
meLength = 80; meWidth = 20; meHeight = 2; intLength = 50; intWidth = 50; intHeight = 12; intRearLength = 25; intRearWidth = 20; intUSBWidth = 12; intUSBHeight = 12; delta = 0.5; difference() { cube([intLength + 8, intWidth +8, intHeight*2]); translate([4,4,4]) cube([intLength*2 + delta, intWidth +...
glb/cad_f1782b2c9a61.glb
Create a Parametric Drill- and Hex- Bit Stand as a rectangular base plate with a thickness of 8mm. The base should have rounded corners with a 2mm fillet radius. The overall length is determined by 10 holes per row and 4 rows, with a minimum outer margin of 2mm and an inner spacing of 1.5mm between holes. Across the t...
holesPerRow = 10; numberRows = 4; smallHole = 1; stepHole = 0.1; maxHole = (smallHole + stepHole*(holesPerRow*numberRows-1)); minInner = 1.5; minOuter = 2; lengthRows = 2*minOuter +holesPerRow*maxHole -(holesPerRow-1)*stepHole/2 +(holesPerRow-1)*minInner; widthRows = maxHole -holesPerRow/2*stepHole +minInner; t...
glb/cad_8ada705a7183.glb
Create a printer test object starting with a base cube of 20mm x 20mm x 5mm. Remove a smaller central cube of 20.01mm x 20.01mm x 4.8mm, positioned 0.2mm from the bottom, to create a thin 0.2mm base plate with 5mm high outer walls. Within the walls, create two rows of four holes each. The first row consists of four ci...
square_size=20; base_thickness=0.2; wall_thickness=5; wall_height=5; corners1=50; corners2=5; hole1=2.4; d11=hole1/cos(180/corners1); d21=hole1/cos(180/corners2); hole2=2.1; d12=hole2/cos(180/corners1); d22=hole2/cos(180/corners2); hole3=1.8; d13=hole3/cos(180/corners1); d23=hole3/cos(180/corners2); hole4=1.5;...
glb/cad_3db3a18b8f36.glb
Create a configurable vertical spool holder base by constructing a thick disk with an outer diameter of 50mm and a height of 7mm. Center a cylindrical hole with a diameter of 20mm through the middle of the disk, ensuring the hole passes completely through the object.
id = 20; od = 50; difference(){ cylinder(h=7,d=od); translate([0,0,-1]) cylinder(h=9,d=id); }
glb/cad_0817564c5ef1.glb