Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a DEC Alpha Multia Drive Cover. Start with a rectangular base measuring 47mm wide, 62.5mm long, and 7mm thick. The front face of this base is modified into a convex semi-cylinder with a radius of 45mm, centered along the length, creating a rounded bezel. From this main body, remove a central rectangular section...
length = 62.5; bezel_radius = 45; $fn=200; difference() { union() { translate([0,0,0]) cube([47,length,7]); difference() { translate([23.5,length,-bezel_radius+11]) rotate([90,0,0]) cylinder(h=length, r=bezel_radius); translate([-25,-3,-80]) cube([100,length+5,85]); ...
glb/cad_a93a54bf8bb1.glb
Create a hanging door roller bracket assembly. Start with a main bracket body that is 100mm long, 12mm thick, and 12mm high. At one end of this body, extend the height upward to 50mm, creating a vertical wall that is also 12mm thick. At the top of this 50mm section, add a rounded cap formed by a hull between a 12mm squ...
use <bolts.scad>; use <zcube.scad>; thickness = 12; length = 100; height = 50; roller_outset = 8; module lateral_holes() { rotate(180, [0, 0, 1]) rotate(90, [1, 0, 0]) bolt(4, 30, 10); } module roller(h=8) { translate([0, h/2, height]) rotate(90, [1, 0, 0]) cylinder(d=30,h=h); } module bracket() { render() u...
glb/cad_8322a530a0da.glb
Create a hanging door roller bracket. Start with a rectangular base measuring 100mm in length, 8mm in thickness, and 8mm in height. From this base, extend a vertical section upwards to a total height of 26mm. This vertical section should be 8mm thick and 25mm wide, centered on the base. To smooth the transition between...
use <bolts.scad>; use <zcube.scad>; thickness = 8; length = 100; base_thickness = 8; roller_height = 26; roller_offset = 48/2-10; module holes() { for (i=[-1:1]) { translate([(i*length/3), -18, base_thickness/2]) rotate([0, 0, 180]) rotate([90, 0, 0]) bolt(4, 36, 2); } offset = thickness + 2; for(i=[-1.5:1....
glb/cad_6158cb47068d.glb
Create a wall-hook power drill bit consisting of two stacked hexagonal prisms. The base is a hexagonal prism with a diameter of 25mm and a height of 25mm. Centered within this base, create a rectangular slot that is 6.5mm wide and 17.5mm high, running vertically through the center of the base to create a cutout. On top...
h1=20; d1=12; h2=25; d2=25; slot=6.5; module hexagon(size, height) { boxWidth = size/1.75; for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true); } difference(){ union() { translate([0,0,h2+h1/2])hexagon(d1,h1); translate([0,0,h2/2])hexagon(d2,h2); } rotate([0,0,90]) translate([-d2,-s...
glb/cad_d5f1a7526f71.glb
Create a Reelight holder adapter. Start with a central cylinder of radius 11mm and height 50mm, and remove a smaller concentric cylinder of radius 11mm from its center to create a hollow tube. Around this tube, add a larger outer cylinder with a radius of 11.8mm and a height of 40mm. At the top of this assembly, add a ...
ri=11; rpost=13; d=0.8; angle=30; l1=50; l2=40; c_pos=5; width = 8; gap = 5; module hexagon(size, height) { boxWidth = size/1.75; for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true); } module boltclamps() { height = 20; rBolt = 2.5; nut = 7.2; nutDepth=4; rBoltHead=5; boltPos = 10;...
glb/cad_ca2e90299c60.glb
Create an MPCNC F NutTrap consisting of a main body and a sliding cover. For the main body, create a cylinder with a diameter of 22mm and a total height of 105mm. Carve a rectangular channel through the center of the cylinder to accommodate a nut, with the channel width based on a nut thickness of 3.7mm (3.5mm plus a 0...
$fn=60; h_length=75+20+10; ID=22; hole_d=4.1; nut_d_slop = .20; nut_thick = 3.5 + nut_d_slop; nut_d = 6.8; slide_shape=[[0,0],[nut_d*.1,6],[nut_d*.9,6],[nut_d,0]]; slide_shape_slop=[[0,nut_d_slop],[(nut_d*.1) ,6],[(nut_d*.9) -(nut_d_slop*2),6],[nut_d-(nut_d_slop*2),nut_d_slop]]; module partB(){ difference(){ cyli...
glb/cad_c3c79cf5fc03.glb
Create a Grid of Holes by starting with a solid rectangular plate measuring 100mm by 100mm with a thickness of 2mm. Within this plate, create a grid of 64 circular holes, arranged in 8 rows and 8 columns. Each hole must have a diameter of 10mm and pass completely through the 2mm thickness of the plate. The holes should...
gridX=100; gridY=100; borderX=2; borderY=2; holeDiameter=10; holesX=8; holesY=8; thickness=2; $fn=20; meshX=gridX-(borderX*2); meshY=gridY-(borderY*2); meshSpaceX=(meshX-holesX*holeDiameter)/(holesX+1); meshSpaceY=(meshY-holesY*holeDiameter)/(holesY+1); dx=holeDiameter+meshSpaceX; dy=holeDiameter+meshSpaceY;...
glb/cad_534fed93ad72.glb
Create a PSU mount for an HPCFH0240 consisting of two mirrored support brackets. For each bracket, start with a rectangular block measuring 30mm wide, 30mm deep, and 40mm high. From this block, remove a large section by subtracting a cube of 35mm by 35mm by 55mm rotated -33 degrees on the Y-axis, starting from the oute...
$fn=32; module draaiding(){ difference(){ linear_extrude(3){ circle (r=3.2); intersection(){ difference(){ circle(r=23); circle(r=17); } translate([-14,9]) square([33,18]); } translate([-12,17]) square([12,6]); translate([-11,-3.2]) square([11,6.4]); translate([16.6,11]) circle(r=3); }...
glb/cad_0c02a3a2be72.glb
Create a Roomba 555 RooWifi V2 cover by starting with a solid rectangular block measuring 59mm in length, 37mm in width, and 11mm in height. Hollow out the center of this block by removing a smaller rectangular volume of 57mm by 35mm by 11mm, positioned 1mm from the front and side edges, leaving a base thickness of 1mm...
$hi=11; $wi=35; $le=57; $ajhi=3; rotate([180,0,0]) difference() { obj(); diff(); } module obj() { cube([$le+2,$wi+2,$hi]); translate([-1.5,-1.5,0]) cube([$le+5,$wi+5,1]); } module diff() { translate([1,1,-1]) cube([$le,$wi,$hi]); for (i = [0:$ajhi-1]) { translate([0,0,i*3]) ajoure...
glb/cad_2a7a72ba8645.glb
Create a DNA Ring consisting of a central support structure and a double helix winding around it. First, create a circular support ring with a radius of 40mm and a thickness of 4mm. The ring should be a hollow tube with an outer radius of 40mm and an inner radius of 36mm. Construct a double helix that wraps around t...
rr = 40; rt = 6; bbr = 2; bpr = 1.25; hr = rr/3.3 * 1/rt * 2*PI; dpb = 360 / (rt * 10); lip = 360 - dpb / 2; os = 360 / (rt * 3); bs = dpb * 3; function norm(p) = sqrt(p[0]*p[0] + p[1]*p[1] + p[2]*p[2]); module drawBases(p1,p2,pos){ translate((p1+p2)/2) rotate([-acos((p2[2]-p1[2]) / norm(p1-p2)),0, ...
glb/cad_500f4a5f066c.glb
Create a customizable bookmark consisting of a thin rectangular tag and a slightly thicker head. First, construct the main tag as a rectangular prism with a width of 15mm, a length of 50mm, and a thickness of 0.6mm. Center the text "Name" within this body, carving it out completely through the thickness of the materi...
text = "Name"; lenght = 50; thick = 0.6; head_thick = 0.2; head_height = 0.8; rotation = 0; image = "img.png"; tag_color = "Crimson"; head_color = "Olive"; image_scale = 1/15; imgs = 1/4; customizer = 1; over = 0.2; width = 15; gap = 2; head = width; hsize = (width-(2*gap)); vsize = (lenght-gap)/(len(tex...
glb/cad_1c3bafe3cd4e.glb
Create a rectangular plate for a KONY name tag with overall dimensions of 60mm in length, 26mm in width, and 6mm in thickness. Center the plate on the origin. Engrave the text "KONY" into the top face of the plate using a font height of 15mm and a thickness of 6mm. At each end of the plate, centered along the width a...
use <write.scad>; type = 2; thickness = 6; if (type == 1){ translate([0,0,3]){ difference(){ cube([60,26,thickness],true); translate([0,0,1.6])difference(){ cube([56,22,3.2],true); writecube("KONY",[1,0,0],[0,0,1.5], t=6,h= 15, face = "top"); } translate([-(24),7,0]){ cylinder(h = 7, r1 = 2.5, r2 = 2.5, cent...
glb/cad_99ad05802596.glb
Create a wall-mountable container for two rolls by constructing two identical hollow cylinders. Each cylinder must have an outer diameter of 64mm, an inner diameter of 60mm, and a total height of 100mm, with a base wall thickness of 2mm. Position the two cylinders side-by-side so they are touching. To allow for wall mo...
height=100; inner_diameter=60; gap=20; thickness=2; boring=5; $fn=360; outer_diameter=inner_diameter+2*thickness; boring_x=inner_diameter/2+thickness+gap/2; boring_y=inner_diameter/2+thickness; difference() { cylinder(height,d=outer_diameter,false); translate([0,0,thickness]) cylinder(height,d=inner_d...
glb/cad_3ae703a9421f.glb
Create a base for a plier to crimp flat cable connectors. Start by creating a central rectangular block measuring 74mm in length, 15.5mm in width, and 12mm in height, centered on the origin. From this main body, remove three rectangular sections to create specific voids. First, remove a block measuring 8mm by 8mm by 12...
difference(){ union(){ cube([74,15.5,12], center =true); difference(){ translate([-28,7.75,0]) cube([8,8,12], center =true); translate([-25,5.75,0]) cube([8,8,12], center =true); } } union(){ translate([0,0,-6])cube([76,10,12], center =true); translate([0,0,9]...
glb/cad_dd134a986fe1.glb
Create a hand crank replacement consisting of two separate parts: a crank arm and a handle roll. First, construct the crank arm. Start with a cylindrical base 8.5mm in diameter and 2.6mm high. Extend a rectangular lever from this base to a total length of 42mm. At the end of this lever, create a pivot cylinder with a ...
DEBUGROLL = 0; ASSEMBLED = 0; ROLL = 1; ARM = 1; armHeight = 2.6; armBaseDia = 8.5; armLen = 42.0; passLen = 15.0; passDia = 5.0; passZOffs = -0.60; passHoleDia = 2.5; handleAxisDia = 4.0; handleAxisHeight = 8.5; handleAxisHoleDia = 1.8; handleAxisBD = handleAxisDia + 2.0; handleAxisBH = 1.2; rollTopIntDia = 6.0; r...
glb/cad_fc39f23e074d.glb
Create a Prusa i3 Rotate ABS/PLA mount designed to stabilize extruder feeding. The core of the model is a central mounting plate. At the center of this plate, construct a complex wheel assembly. This assembly consists of two identical wheels positioned symmetrically. Each wheel is formed by a cylinder with a radius of ...
AT=5.5; LT=1.75; $fn=80; R=6; #translate ([0,0,-23.5])cube ([200, AT, 54], center = true); union () { wheel_pair ([0, -(AT / 2 + R / 2)-2, 0]); rotate ([180,0,0]) wheel_pair ([0, -(AT / 2 + R / 2)-2, 0]); rotate ([270,0,0]) wheel_pair ([0, -(AT / 2 + R / 2)-2, 0]); } conn(); translate ([-R*2,0,0]) conn(); rotate (...
glb/cad_e3c2dd908b31.glb
Create a mounting bracket for a DirecTV Wireless Genie C41W consisting of two flat plates and two separate mounting pins. First, create a TV mount plate as a rectangular block 120mm wide, 20mm high, and 3mm thick. Center two circular holes through this plate, each with a diameter of 6.6mm, spaced 100mm apart center-t...
part = "all"; tv_mount_hole_distance=100; tv_mount_hole_diameter=6.6; tv_mount_width=120; tv_mount_height=20; tv_mount_thickness=3; genie_mount_hole_distance=25; genie_mount_hole_diameter=10.5; genie_mount_width=20; genie_mount_height=110; genie_mount_thickness=3; use_integrated_keyhole_pins=false; use_antiwobble_pa...
glb/cad_83cb2ab03c17.glb
Create a Mesh Panel Wall Mount designed to secure a wire grid to a wall using staples. The main body is a rectangular block 24mm wide, 80mm deep, and 2mm thick, with rounded corners of 4.2mm. In the center of the block, create a vertical mounting structure. This structure consists of a cylindrical hole with a diameter...
wire_diameter = 3.8; clearance = 0.1; panel_offset = 6; testprint = 0; quantity = 1; module mesh_panel_wall_mount(wire_diameter,clearance,panel_offset,testprint,quantity) { module rounded_cube(x,y,z,r,top_chamfer,bottom_chamfer) { difference(){ cube([x,y,z]); if ( r > 0 ) { for ( tr=[[[-adj,-adj,-adj],[r,...
glb/cad_d650adbde9c4.glb
Create a spacer for an inline skate axle. Start by creating a tapered cylinder with a height of 9.25mm, a bottom radius of 7.25mm, and a top radius of 6.5mm. Surround this central tapered form with a larger, outer ring created by rotating a profile that consists of two circles with 1mm radii centered at coordinates (8....
difference() { union() { cylinder($fa = 6.0, $fragments_per_turn = 60, $fs = 1, center = false, h = 9.25, r1 = 7.25, r2 = 6.5); translate([0,0,0]) rotate_extrude($fn = 50.26548245743669) hull() { translate([8.030292476406672,5.25]) circle(r = 1, $fn = 50.26548245743669); translate([7.1802924764066...
glb/cad_bbff5c73d3d2.glb
Create a Small Qi charger box consisting of a main base and a removable cover. The main base is a rounded square box with outer dimensions of 54mm x 54mm and a height of 7mm. The walls are 2mm thick, creating an internal cavity of 50mm x 50mm. Inside the base, include mounting supports for a PCB measuring 32.8mm x 31m...
include <MCAD/boxes.scad> VIEW = 0; DEBUG_BOX = 0; coilShieldX = 49.8; coilShieldZ = 1.0 + 0.2; coilX = 48.0; coilTotalZ = 3.6; CHLen = 5.0; CHWidth = 2.8; CHOverhead = 1.4; CHSlotW = 0.8; bX = coilShieldX + 2.0; bY = coilShieldX + 2.0; bZ = coilTotalZ + CHOverhead + 2.4; corner=1.5; ww=2; bL = 0.990; PCBZ = 1....
glb/cad_68385f494bea.glb
Create a rectangular cuboid with a length of 160mm, a width of 10mm, and a height of 10mm.
translate(v=[0,0,0]){ cube(size = [160,10,10], center = false); }
glb/cad_5ce40833fe6b.glb
Create a case for experimental electronics consisting of a hollow rectangular enclosure. Start by forming two main outer walls, each 10mm thick, 125mm wide, and 20mm high, positioned 160mm apart along the x-axis. Connect these walls with a base floor that is 170mm long, 10mm wide, and 10mm high. On the interior of eac...
difference(){ translate(v=[0,0,0]){ cube(size = [10,125,20], center = false); cube(size = [10,15,100], center = false); cube(size = [160,10,10], center = false); } translate(v=[4.5,5,7]){ cube(size = [10,2,155], center = false); cube(size = [160,2,10], center = false); } translate(v=[5,15,7]){ c...
glb/cad_4d565104a5e8.glb
Create a case for experimental electronics consisting of two parallel vertical walls connected by a base. Start by creating two identical outer wall structures, each 10mm thick, 160mm wide, and 20mm high. Position these walls 150mm apart. For each wall, carve out a central rectangular channel that is 10mm wide, 136mm...
difference(){ translate(v=[0,0,0]){ cube(size = [10,150,20], center = false); cube(size = [10,15,160], center = false); cube(size = [160,10,10], center = false); } translate(v=[4.5,5,7]){ cube(size = [10,2,155], center = false); cube(size = [160,2,10], center = false); } translate(v=[5,15,7]){ c...
glb/cad_526979c3f53c.glb
Create a case for experimental electronics. Start by constructing a main rectangular outer shell with overall dimensions of 170mm in length, 125mm in width, and 50mm in height. The walls should be 10mm thick. Hollow out the center to create a basin, leaving a base floor that is 7mm thick. The interior cavity should me...
difference(){ translate(v=[0,0,0]){ cube(size = [10,125,20], center = false); cube(size = [10,15,100], center = false); cube(size = [160,10,10], center = false); } translate(v=[4.5,5,7]){ cube(size = [10,2,155], center = false); cube(size = [160,2,10], center = false); } translate(v=[5,15,7]){ c...
glb/cad_2e6aa3f59437.glb
Create a phone charging hangar consisting of a rectangular base platform and a vertical support hook. Start by creating a rectangular base 30mm long, 60mm wide, and 5mm thick. Hollow out the center of this base by removing a rectangular section 26mm long and 56mm wide with a depth of 3mm, leaving a 2mm thick rim around...
translate([0,0,-5]) cube(size = [1,20,30], center = true); hole_radius = 15; difference(){ translate([0,0,17]) rotate([90,0,90]) cylinder(h = 1, r = 15, center = true); translate([0,0,17]) rotate([90,0,90]) cylinder(h = 1, r = hole_radius, center = true); } outer_width = 60; outer_length = 30; difference(){ trans...
glb/cad_76820c1f460b.glb
Create a customizable FSR mount consisting of a central stamp component. Start by creating a cylinder with a diameter of 19.4mm and a total height of 15mm. The bottom section of this cylinder should transition from a diameter of 19.4mm at the base to a diameter of 10mm at the top over a height of 5mm. Through the cen...
$fn = 100; diameter_stamp = 19.4; diameter_stamp_lower = 10.0; diameter_bumper = 19.4; diameter_screw = 3.0; diameter_washer = 12.2; diameter_shell_outer = 25.0; diameter_shell_inner = 20.0; height_bumper = 12.0; height_wall = 3.0; height_stamp = 15.0; height_washer = 2.0; height_shell = 15.0; height_shell_bottom = 8...
glb/cad_c86adeb62141.glb
Create a flower pouch hook by constructing a composite geometric body. Start with a primary shape formed by the intersection of a cylinder with a radius of 40mm and a cube measuring 100mm in length, 100mm in width, and 20mm in height, both centered on the Z-axis. To this, add a second layer on top by creating a hull be...
length=100; width=100; height=20; diameter=80; big_diameter=100; big_width=100; big_height=2; $fn=128; hook(); module hook() { color("blue") { difference() { hull() { intersection() { cylinder(r=diameter/2,h=height,center=true); translate([0,width/2,0]) cube([lengt...
glb/cad_d1dece8a5bdd.glb
Create a spacer for Delrin V-wheels by constructing a hollow cylinder. The main body should be a cylinder with an outer diameter of 5.5mm and a total height of 3.55mm. Remove a concentric cylindrical core from the center with an inner diameter of 3.5mm and a height that extends through the entire part to create a tube....
$fa = 1; $fs = 0.05; id = 3.5; od = 5.5; height = 3.55; difference() { cylinder(d=od, h=height, center=true); cylinder(d=id, h=2*height, center=true); }
glb/cad_1b4f10d426d7.glb
Create a Lezyne GPS quarter turn mount. Start with a central conical body 12mm high, tapering from a bottom diameter of 32mm to a top diameter of 28mm. Hollow out the center of this body with a conical void that tapers from 28mm at the bottom to 25mm at the top. At the base, add two perpendicular rectangular tabs cent...
$fa=.5; height = 12; inside_diameter = 20.25; inside_diameter2 = 25; top_diameter =28 ; bottom_diameter = 32; adjustment = .5 ; bottom_ring_diameter = 34; top_ring_diameter = 26; bar_diameter =22 ; tab_height = 4; difference () { union () { cylinder(h = height, r1 = bottom_diameter/2, r2 = top_diameter/...
glb/cad_9a49959919d5.glb
Create a Lezyne GPS quarter turn mount. The main body is a truncated cone with a height of 12mm, a bottom diameter of 32mm, and a top diameter of 28mm. Hollow out the center of this cone with a cylindrical hole that has a bottom diameter of 14mm and a top diameter of 12.5mm. Within the main body, create a central c...
$fa=.5; height = 12; inside_diameter = 20.25; inside_diameter2 = 25; top_diameter =28 ; bottom_diameter = 32; adjustment = .5 ; bottom_ring_diameter = 34; top_ring_diameter = 26; rounded = 2; bar_diameter =22 ; tab_height = 3.5; top = 1; bottom = 0 ; both = 0 ; difference () { union () { cylinder(h = h...
glb/cad_57b2f4572cc3.glb
Create a Lezyne GPS quarter turn mount. The main body is a truncated cone with a height of 12mm, a bottom diameter of 32mm, and a top diameter of 28mm. This cone is hollowed out by a central cylindrical hole that tapers from a diameter of 28mm at the bottom to 25mm at the top. Intersecting the bottom of the cone is a ...
$fa=.5; height = 12; inside_diameter = 20.25; inside_diameter2 = 25; top_diameter =28 ; bottom_diameter = 32; adjustment = .5 ; bottom_ring_diameter = 34; top_ring_diameter = 26; bar_diameter =22 ; tab_height = 3.5; top = 0; bottom = 0 ; both = 1 ; difference () { union () { cylinder(h = height, r1 = b...
glb/cad_f1f1d33342f4.glb
Create an "I Voted Button" consisting of three circular discs, each with a diameter of 50mm and a thickness of 3.33mm. The first disc is a solid cylinder. The second disc is a cylinder of the same dimensions but features a central hole with a diameter of 13.1mm and a height of 2mm. This disc also contains a pattern o...
fn=24; explode=0.2; tol=0.2; zoom=50; thick=10; diam=100; strp_w = 10; strp_off = 10; letter_w = 10 * 1; letter_h = 14 * 1; star_diam = 12; magdiam=13.1; magh=2.0; _zoom = zoom / 100; _layerh=thick/3 * _zoom; _diam=diam * _zoom; _strp_w = strp_w * _zoom; _strp_off = strp_off * _zoom; _letter_w = letter_w * _zoom; _l...
glb/cad_c2adf640f445.glb
Create a 2020 COB LED strip mount. Start with a rectangular base block measuring 27.5mm in length, 18mm in width, and 5mm in height, applying a 2mm fillet to all edges. On the top surface, center a rectangular channel (rill) that is 5.7mm wide and 1mm high, extending from the front edge to a point 6mm before the rear e...
include <cube_fillet.scad> led_strip_width = 15; led_strip_height = 2.5; holder_length = 27.5; holder_width = 18; holder_height = 5; holder_led_strip_space = 7.5; rill_width = 5.7; rill_height = 1; wire_d = 2; wire_hole_r = 7.5; $fn=36; screw_d = 4; screw_d_play = 0.6; screw_head_d = 7.9; screw_head_h = 2.5; scre...
glb/cad_8b1c814bad66.glb
Create a Bed XY Skew Measurement Strip. The object is a long, thin rectangular bar with a height of 0.8mm (4 layers at 0.2mm). At one end of the strip, create a circular hole with a diameter of 2.17mm (1.75mm filament diameter plus 0.42mm extrusion width) to allow a piece of filament to pass through for alignment. A...
$fn = 100; bedX = 250; bedY = 210; generateOrthogonalBisector = 1; filamentDiameter = 1.75; extrusionWidth = 0.42; layerHeight = 0.2; stripWidth = 6 * extrusionWidth; stripHeight = 4 * layerHeight; scaleSpacing = 1; originAlignmentSpacing = 4; bufferLength = 2 * stripWidth; maximumSkew = 6; module polyhole(h, d...
glb/cad_1fec3867b716.glb
Create a circuit board mount for a 2020 profile. Start with a base plate that is 17.75mm long, 12mm wide, and 3mm thick. At each end of the base plate, add a vertical rectangular standoff that is 12mm wide, 3mm thick, and 7.5mm high. The total length of the model from the outer edge of one standoff to the other is 20mm...
include <cube_fillet.scad> mount_hole_object_d = 3.5; mount_hole_object_width = 45.5; standoff_heigth = 7.5; mount_hole_object_nut_d = 6.5; mount_width = 12; mount_thick = 3; mount_object_width = 10; mount_length = mount_hole_object_width / 2 - mount_object_width / 2; rill_heigth = 1; rill_width = 5.7; $fn=36; scre...
glb/cad_740327bbbc5d.glb
Create a circuit board mount for a 2020 profile. Start with a base plate that is 20mm wide, 58mm long, and 3mm thick, featuring filleted top corners. Attached to the inner edge of this base is a vertical standoff that is 3mm wide, 58mm long, and 7.5mm high. On top of this standoff, add a second horizontal plate that is...
include <cube_fillet.scad> panel_heigth = 58; panel_width = 20; panel_depth = 3; panel_object_width = 10; heigth = 7.5; frame_mount_hole_d = 4.5; frame_mount_hole_width = 40; mount_hole_object_d = 3.5; mount_hole_object_width = 30; rill_heigth = 1; rill_width = 5.7; t_nut_turn_width = 11; $fn=36; screw_d = 4; sc...
glb/cad_961c5a373ac1.glb
Create a Nespresso dispenser consisting of four identical, side-by-side holder units. Each unit is a rectangular cell with an outer width of 42mm, a depth of 83mm, and a total height of 50mm. The walls of each cell are 2mm thick. For each unit, create a hollow rectangular sleeve. The bottom section of the sleeve shoul...
include <fmutils.scad> n=4; tw=38; td=39; bw=1.5; ww=2; e=0.05; module rcube2(w,d,h,r) { hull() { translate([r,r,r]) sphere(r); translate([w-r,r,r]) sphere(r); translate([r,d-r,r]) sphere(r); translate([w-r,d-r,r]) sphere(r); translate([r,r,h-r]) sphere(r); translate([w-r,r,h-r]) sphere(r); translate([...
glb/cad_4f5fc3e018ee.glb
Create a belt clamp and nut holder for a metal carriage. Start with a central rectangular block measuring 20mm wide, 10mm deep, and 3mm high, centered on the origin. At each end of the block's width, add a hexagonal prism with a radius of 7mm and a height of 3mm, ensuring the hexagons are aligned with the block's cente...
include <configuration.scad> module beltclamp(){ difference(){ union(0){ translate(v = [0,0,1.5]) cube([belt_clamp_width,10,3], center=true); translate(v = [-belt_clamp_width/2, 0, 0]) cylinder(r=7,h=3, $fn=6); translate(v = [belt_clamp_width/2, 0, 0]) cylinder(r=7,h=3, $fn=6); } translate(v = [belt_clamp_width/...
glb/cad_d3eebc372977.glb
Create a belt clamp for a metal carriage. Start with a central rectangular block measuring 20mm wide, 10mm deep, and 7mm high, centered on the origin. Attach two cylinders with a radius of 5mm and a height of 7mm to the left and right ends of the block. Remove two vertical holes with a diameter of 3mm and a depth of 8m...
include <configuration.scad> module beltclamp(){ difference(){ union(0){ translate(v = [0,0,3.5]) cube([belt_clamp_width,10,7], center=true); translate(v = [-belt_clamp_width/2, 0, 0]) cylinder(r=5,h=7); translate(v = [belt_clamp_width/2, 0, 0]) cylinder(r=5,h=7); } translate(v = [-belt_clamp_width/2, 0, -1])poly...
glb/cad_df57b0486651.glb
Create a TV mount for a Kinect sensor. Start with a rectangular base measuring 112mm by 72mm with a thickness of 8mm and rounded corners of 5mm. Cut a central rectangular hole through the base measuring 70mm by 32mm with 5mm rounded corners, and add a small circular hole with a 3.5mm diameter at the center of the base....
$fn=50; base_thickness=8; clamp_thickness=5; front_clamp_height=16; clamp_back_height=25; clamp_gap=27; clamp_inner_cornice_radius=3; base(base_thickness); rotate([90,0,90]) roundedCube([clamp_thickness,front_clamp_height+base_thickness,112],clamp_thickness/2); translate([0,clamp_thickness,base_thickness]) co...
glb/cad_cf5a55878cd3.glb
Create a Prusa I3 electronics cover for a mini Rambo 1.0a board. Start with a main rectangular body measuring 114.5mm in length, 107mm in width (92mm base plus a 15mm extension), and 2mm in height. Add vertical walls to the perimeter to create a casing, with heights reaching up to 35mm. Incorporate several structural...
x = 15; module main_body(){ cube( [ 114.5 , 92 + x, 2 ] ); cube( [ 1.5 , 92 + x, 35 ] ); translate( [ 0 , 90 + x, 0 ] ) cube( [ 105.5 , 2 , 35 ] ); translate( [ 63 , 88.5 + x, 0.5 ] ) cube( [ 6.5 , 2 , 34.5 ] ); translate( [ 0 , 0 , 1 ] ) cube( [ 5.5 , 7 , 34 ] ); translate( [ 0 , 0 , 1 ] ) cube( [ 9 , 92 + x, 3 ] );...
glb/cad_a941972fca9e.glb
Create a Prusa I3 electronics cover for a mini Rambo board. Start with a main body consisting of a base plate 105.5mm wide and 102.5mm deep (87.5mm plus a 15mm extension), with a thickness of 20mm. Add corner reinforcements: one block 7.5mm by 5mm by 20mm at the top right, and another 5mm by 6.5mm by 20mm at the top le...
x = 15; module body() { cube( [ 105.5 , 87.5 + x , 1 ] ); cube( [ 105.5 , 2 , 20 ] ); cube( [ 2 , 87.5 + x, 20 ] ); translate( [ 98 , 1 , 0 ] ) cube( [ 7.5 , 5 , 20 ] ); translate( [ 0.5 , 0.5 , 0 ] ) cube( [ 5 , 6.5 , 20 ] ); translate( [ 1 , 0 , 0 ] ) cube( [ 10 , 87.5 + x , 6 ] ); translate( [ 99.5 , 0 , 0 ] ) cub...
glb/cad_ecf399a1b2f1.glb
Create a mounting plate for a 3D printer component. Start with a rectangular base plate measuring 62mm in length, 27mm in width, and 4.85mm in thickness. From this base, remove the following geometric features: 1. A large central slot: centered at 32mm from the left edge and aligned with the center of the width, creat...
$fn=200; eps = 0.05; bigSize = 100; thickness = 4.85; length = 62; width = 27; cutOffsetZ = 2; radiusBigSlot = 6.0; holeOffsetBigSlot = 32; radiusSmallSlot = 2.5; lengthSmallClosedSlot = 4.0; holeOffsetSmallClosedSlot = 6; lengthSmallOpenSlot = 10.0; holeOffsetSmallOpenSlot = 54; radiusSideCut = 4.5; fanSize = ...
glb/cad_b756e29ce43b.glb
Create a gasket for a 3D printer J-head. Start by creating a solid cylinder with a radius of 13.75mm and a height of 11mm. From this cylinder, remove a central cylindrical core with a radius of 7.75mm and a height of 11mm. Additionally, subtract a rectangular block from the center of the model to create a notch; this b...
$fn = 200; eps = 0.01; bigSize = 100; rOuter = 27.5/2; rInner = 15.5/2; w = 13.0; h = 11.0; h2 = 6.0; module drawJHead() { difference() { union() { cylinder(h+2*eps,rInner, rInner); } union() { translate([w/2,-bigSize/2,-eps]) cube([bigSize,bigSize,h2+eps]); mirror([1,0,0]) translate([w/2,-bigSi...
glb/cad_2b95254ec113.glb
Create a Fan Seal for a 3D printer. Start by creating a square plate with a thickness of 1mm and overall dimensions of 41mm by 41mm (calculated as a 40mm base plus a 0.5mm overlap on all sides). Center a large circular hole through the plate with a radius of 18.5mm. Additionally, create four smaller screw holes, each...
$fn = 250; eps = 0.01; bigSize = 500; t = 1.0; w = 40.0; holeDistance = 32.0; rFanHole = 38/2; rScrewHole = 3.0/2; overlap = 0.5; module drawFanSeal() { difference() { union() { cube([w+2*overlap,w+2*overlap,t],true); } union() { cylinder(bigSize,rFanHole-overlap,rFanHole-overlap,true); translat...
glb/cad_610acdca9dbf.glb
Create a self-sprung pen holder designed to hold a pen up to 15mm in diameter. Start with a flat rectangular mounting plate. Position two circular mounting holes with a diameter of 5.15mm, spaced 20mm apart center-to-center. Extend from the plate a central rectangular sleeve that projects forward. This sleeve shoul...
platform_screw_hole_diameter = 5.15; mounting_bump_thickness = 0; mounting_bump_diameter = 8; pen_screw_hole_diameter = 2.977; pen_screw_nut_thickness = 2.6; pen_screw_nut_width = 5.5; scale_width = 1.2; scale_depth = 1.2; scale_height = 1; module originalSTL() {polyhedron( points=[ [3.131920,3.000000,1.441229], ...
glb/cad_53523aef4cac.glb
Create a Christmas Present Ornament by constructing a hollowed cube and a decorative bow. Start with a main cube of 50mm per side. Hollow out the center by removing a smaller 35mm cube from the interior. Create a cross-shaped void through the center of the box by removing two intersecting rectangular prisms, each 51mm ...
Render_Quality=30; Project_Size=75; parts_to_render=5; $fn=Render_Quality; rotate ([0,0,45]) scale ([Project_Size/75,Project_Size/75,Project_Size/75]){ if (parts_to_render==1){ box (); } if (parts_to_render==2) { hole(); } if (parts_to_render==3) { ...
glb/cad_cac9f562a3d7.glb
Create a Window Blind Repair Sleeve by constructing a hollow, elongated rectangular tube with rounded ends. The overall exterior dimensions should be 51mm in length, 20mm in width, and 3.55mm in height. The cross-section consists of a rounded rectangular shell with a wall thickness of 0.8mm. To achieve this, create a s...
blind_width = 51; blind_thickness = 2.75; sleeve_width = 20; sleeve_thickness = .8; $fn = 60; radius = blind_thickness / 2; width = blind_width - radius; linear_extrude(height = sleeve_width) { difference() { hull() { circle(radius + sleeve_thickness); translate([width,0,0]) circle...
glb/cad_c30c34277353.glb
Create an air scoop for race car ventilation consisting of a curved, hollow tube. The main body is a bent cylinder with an outer diameter of 58mm and a wall thickness of 1.5mm. The scoop section has a length of 20mm and transitions from the main diameter to a slightly wider outlet of 20mm. The curvature is formed by a ...
dia = 58.0; wall = 1.5; fn=60; scoop = 20.0; scooptract = 1.3; outlet = 20.0; mnthole = 6.5; has_support = 0; supwall = 0.7; d = 1*0.1; module bend(len1,len2,dia,cdia) { rotate([90,0,0]) cylinder(d1=dia, d2=dia*scooptract, h=len1, $fn=fn); intersection() { translate([cdia, 0, 0]) rotate_extrude(conv...
glb/cad_36b38b2a65b1.glb
Create a wardrobe shelf support bracket. Start with a rectangular block 17mm wide, 12.4mm high, and 11.5mm deep. On the top face, center a vertical cylindrical peg with a diameter of 4.4mm and a height of 6.4mm, topped with a hemispherical cap of the same diameter. From the bottom and front of the block, remove a h...
wall = 1.5; shelf_hole_dia = 4.8; shelf_hole_depth = 6.8; shelf_hole_offs = 10.0; shelf_support_x = 17.0; shelf_support_y = shelf_hole_offs+shelf_hole_dia/2; shelf_support_z = 11.5; screw_dia = 6.05; screw_offset = 5.0+0.7; screw_head = 9.3; screw_wall = wall; h_bracket_wall = 2.3; h_bracket_dia = 14.5; bracket_ang...
glb/cad_960fd3be17b1.glb
Create a Splendor Game Organizer consisting of a main base and a lid. The base is a rectangular block measuring 2.24mm wide, 7.54mm long, and 2.71mm high. Within this base, carve out three distinct storage compartments. First, create a rectangular slot for tiles measuring 0.85mm wide, 2.47mm long, and 2.45mm deep, po...
s = .08; padding = .02; lidDepth = 0.50; lidThick = 0.07; w1 = 0.85; l1 = 2.47; h1=2.45; w2 = 1.32; l2 = 3.52; h2 = 2.53; d3 = 1.71; r3 = d3/2; h3a = 2.71; h3b = 2.71; wt = s + w1 + s + w2 + s + d3 + s; lt = s + max(l1, max(l2, d3*2+s)) + s; ht = 0.04 + max(h1, max(h2, max(h3a, h3b))); x1 = s; y1 = (lt-l1)/2; z1 =...
glb/cad_2ed1c5dd69e0.glb
Create an adaptor to align a camera to a microscope eyepiece by constructing a hollow cylindrical tube with an outer diameter of 50.65mm and a total height of 53.5mm. From the bottom of this tube, remove a central cylindrical core with a diameter of 41.4mm and a height of 19.5mm. Directly above this, create a conical...
EyepieceShaftDiameter=41.4; EyepieceShaftLength= 19.5; EyepieceEyeCupDiameter=36; EyepieceEyeCupMinimumExtention=7; CameraLensTubeDiameter=43.77; CameraLensTubeLength=17; CameraLensTube2Diameter=46.65; CameraLensTube2Length=17; NumberOfCuts=6; Clearance=0; MinWallThickness=2; TubeDiameter=2*MinWallThickness+max(max...
glb/cad_746c1f52081e.glb
Create a camera fixation mount consisting of a central ring and two side attachment plates. Start by creating a hollow cylinder with an outer diameter of 36mm, an inner diameter of 30mm, and a height of 10mm. Cut a rectangular gap through the cylinder walls that is 4mm wide and spans the full height of the ring. On op...
$fn=100; ring_size=30; ring_height=10; ring_width=3; gap_width=4; tightening_plates_length=10; tightening_plates_width=2; tightening_screw_hole_size=3; screw_plate_length=12; screw_plate_width=2; screw_hole_size=4; screw_hole_position=1; difference() { cylinder(ring_height,d1=ring_size+ring_width,d2=ring_size+rin...
glb/cad_cc9db902e5ca.glb
Create a camera fixation bracket consisting of two rectangular plates joined at a 90-degree angle. The first plate is a horizontal slab measuring 15mm in length, 10mm in width, and 2mm in thickness. Center a circular hole with a diameter of 5mm vertically through this plate, positioned 6mm from the front edge. The seco...
hole_1_width=5; hole_2_width=4; plate_1_length=15; plate_2_length=15; difference() { cube([plate_1_length, 10, 2], false); translate([6,5,-1]) cylinder($fn=100,4,d1=hole_1_width,d2=hole_1_width, false); } translate([15,0,0]) rotate([0,-90,0]) difference() { cube([plate_2_length, 10, 2], false); translate(...
glb/cad_5d18ba4da71c.glb
Create a camera tripod fix holder mount starting with a rectangular base block measuring 52.5mm in length, 32.5mm in width, and 10mm in height. Carve out a central rectangular cavity from the top, leaving walls that are 6.5mm thick on the left and 8.5mm thick on the right, with the cavity depth reaching 10mm. At the ...
difference(){ union(){ cube([52.5,32.5,10], center=false); difference(){ translate([6.5,-2,0])cube([46,36.5,13]); translate([6.5,0,10])cube([43.5,32.5,13]);} translate([0,0,10])rotate([-90,0,0])cylinder(17,d=13,center=false,$fn=70);} union(){ translate([27,16.25,-1])cylinder(12,d=6,center=false,$fn=30); translate([0,-...
glb/cad_90bf8049ab73.glb
Create a camera tripod fix holder mount. Start with a main body consisting of a cylinder with a radius of 13mm and a height of 13mm, centered at coordinates (12.5, 12.5). Integrate this with a rectangular block measuring 32mm by 6mm by 13mm, positioned at (-16, -33.5, 0). Within this combined form, create several voi...
$fn=70; center=false; difference(){ union(){translate([-17,-33.5,13])rotate([0,90,0])cylinder(15,6.5,6.5); difference(){ union(){translate([-7,-33.5,13])rotate([0,90,0])cylinder(12,8,8);} translate([-8,-49,0])cube([15,16,40]);} union(){ difference(){union(){ hull(){ cylinder(13,12.5,12.5); translate([-16,-33.5,0])cube...
glb/cad_6d6729fd4283.glb
Create an Angel Christmas Ornament. Start with a hollow skirt formed by a cone-like shape with a base radius of 15mm and a top radius of 3mm, reaching a height of 25mm. The skirt should be hollowed out by removing a smaller internal cone with a base radius of 13.5mm and a top radius of 1.5mm over a height of 25.2mm. A...
renderQuality = 50; $fn = renderQuality; size = 1; wingSize = 1; hollow = "true"; scale([size,size,size]) union() { difference() { hull() { cylinder(r1 = 15, r2 = 3, h = 25, center = true); translate([11.5,0,-12])cube([10,10,1], center = true); translate([0,-14.5,-7])sphere(radius = 2, center = tr...
glb/cad_7230744c1154.glb
Create a light shield consisting of four concentric rings. Each ring is formed by rotating a trapezoidal profile around a central axis. The trapezoid has a bottom width of 3.15mm and a top width of 1.5mm, with a height of 19mm. These rings are spaced with a gap of 19mm between each successive ring's inner edge. The tot...
rg = 19; rwt = 1.5; rwb = 3.15; rh = 19; rc = 4; id = 3; il = 11; xw = 0.4; module trap(){ polygon([[-rwb/2, 0],[rwb/2,0],[rwt/2,rh],[-rwt/2,rh]]); } for(i = [1:rc]){ rotate_extrude($fn=60*i){ translate([i*rg,0]) trap(); } } for(rt = [0:120:359]){ rotate([0,0,rt]) difference(){ trans...
glb/cad_8518cfa66e1c.glb
Create a light shield consisting of four concentric, nested rings that increase in height and diameter from the center outward. The innermost ring is a flat circular washer with an outer radius of 19mm and a thickness of 5mm, featuring a central hole with a radius of 14mm. Surrounding this center, build four concentr...
rg = 19; rwt = 1.5; rwb = 3.15; rh = 19; rc = 4; xrh = 2; id = 3; il = 11; adt = 5; xw = 0.4; module trap(xh=0){ polygon([[-rwb/2, 0],[rwb/2,0],[rwt/2,(rh+xh)],[-rwt/2,(rh+xh)]]); } rotate([0,$t*0,0-$t*0]){ for(i = [1:rc]){ rotate_extrude($fn=60*i){ translate([i*rg,0]) trap((rc-i)*xrh); } }...
glb/cad_c0f9f049105e.glb
Create a light shield ornament adapter by extruding a specific 2D profile to a thickness of 4.6mm, centered vertically. The profile consists of three joined elements. First, create a ten-pointed star centered at the origin, where the points alternate between a radius of 15mm and 6mm. Second, attach a rectangular arm ex...
xw = 0.4; adt = 5-xw; onh = 30; rg = 19; adw = rg*2-3.15-1; module ornament_cross(){ cw = 20; ch = 30; translate([-ch/2+adt/2,0]){ translate([(ch-cw)/2,0]) square([adt, cw], center=true); square([ch,adt], center=true); } } module ornament_star(){ translate([-onh/2+1,0]) pol...
glb/cad_43371640cbc0.glb
Create a display faceplate consisting of a base plate and a surrounding rim. Start with a rectangular base plate measuring 100mm by 50mm with a thickness of 1mm and corner radii of 3mm. Build a rim around the perimeter of this plate that is 16mm high, maintaining the 3mm corner radius. Create a central rectangular cuto...
size_x=100; size_y=50; size_z=1; corner_radius=3; corner_faces=64; cutout_corner_radius=1; cutout_corner_faces=16; offset_x=10; offset_y=8; rim_height=16; module plate (sizeX, sizeY, sizeZ, cornerRadius, cornerFaces) { translate([cornerRadius, 0, 0]) cube([sizeX - 2 * cornerRadius, sizeY, sizeZ]); tr...
glb/cad_f6c235ae13f5.glb
Create a Cord Holder by starting with a base block that has a square footprint of 35mm by 35mm and a height of 102mm. Round the vertical corners of this block with a 2mm radius. The front face of the block should be modified to have a concave, inward-curving profile. Carve six identical horizontal slots through the b...
baseSize = 35; rounding = 2; numCords = 6; cordWidth = 6; cordSpacing = 10; cordOuterSpacing = 6; difference() { linear_extrude(height = (numCords * (cordWidth + cordSpacing)) - cordSpacing + (cordOuterSpacing * 2)) { translate([rounding, rounding, 0]) scale(1 - ((rounding * 2) / baseSize)) ...
glb/cad_da81115c2508.glb
Create a T-shaped bracket for T-slots. The base is a T-shaped plate with a main thickness of 2mm and a raised rim of 0.8mm around the outer edge. The horizontal bar of the T has a width of 15mm and a total length of 32.4mm (calculated from two 15.2mm hardware lengths plus a 1mm gap and 1mm extra space). The vertical ba...
trackWidth = 20.0; hardwareLength = 15.2; extraSpace = 1.0; holeSize = 5.3; upperBarNumHoles = 2; verticalBarNumHoles = 2; mainWidth = 15.0; cornerRadius = 2; thickness = 2.0; rimThickness = 0.8; rimWidth = 1.8; $fn = 30; module outset(d=1) { minkowski() { circle(r=d); children(); } } module outset_...
glb/cad_55b95fcc3648.glb
Create a customizable gift box consisting of a bottom container and a matching lid. For the bottom part, create a solid rectangular block 60mm wide, 60mm long, and 20mm high. Hollow out the center to create a basin with a floor thickness of 2mm and wall thicknesses of 4mm. The top edge of these walls should be trimme...
width=60; length=60; heigth=20; bottom=2; wall=4; top_heigth=3; tolerance=.6; text_box1 = "Line 1"; text_box2 = "Line 2"; text_box3= "Line 3"; text_size= 3; difference(){ difference(){ cube([width,length,heigth]); translate([wall,wall,bottom]) cube ([width-2*wall,length-2*wall,heigth]); }...
glb/cad_8eb880d3f8be.glb
Create an L-shaped bracket for T-slot extrusions. The base is an L-shaped plate with a main thickness of 2mm and a total width of 15mm for both arms. The horizontal arm's length is determined by three holes spaced 16.2mm apart (center-to-center), while the vertical arm's length is determined by two holes spaced 16.2mm ...
trackWidth = 20.0; hardwareLength = 15.2; extraSpace = 1.0; holeSize = 5.3; lowerBarNumHoles = 3; verticalBarNumHoles = 2; mainWidth = 15.0; cornerRadius = 2; thickness = 2.0; rimThickness = 0.8; rimWidth = 1.8; $fn = 30; module outset(d=1) { minkowski() { circle(r=d); children(); } } module outset_...
glb/cad_548b453f61cb.glb
Create a TP4056 charger case consisting of a main body and a matching lid. For the main body, construct a rounded rectangular box with external dimensions of 29mm by 20mm and a height of 8mm, using a corner radius of 1mm. Hollow out the center to create a wall thickness of 1mm, leaving a floor thickness of 1mm. Cut a 9...
$fn = 100; length = 27; width = 18; height = 6; cornerRadius = 1; rimHeight = 2; lidHeight = 1; difference() { roundedBox(length+2, width+2, height+2, cornerRadius); translate([1,1,1]) roundedBox(length, width, height+2, cornerRadius); translate([4,-2,1]) cube([9,3,height+2]); translate([6,length-1,2...
glb/cad_cc1143037c8b.glb
Create a TP4056 charger case consisting of a main body and a lid. For the body, create a rounded rectangular box with outer dimensions of 70mm by 53mm and a height of 12mm, using a corner radius of 2mm. Hollow out the center to create a wall thickness of 1mm, leaving the floor 1mm thick. Cut a 15mm by 3mm rectangular s...
$fn = 100; length = 68; width = 51; height = 10; cornerRadius = 2; rimHeight = 2; lidHeight = 1; difference() { roundedBox(length+2, width+2, height+2, cornerRadius); translate([1,1,1]) roundedBox(length, width, height+2, cornerRadius); translate([2,-3,1]) cube([15,3,height+2]); translate([7,length-2...
glb/cad_e3bcc270fd50.glb
Create a parametric hourglass consisting of two mirrored conical shells connected by a central neck and supported by four vertical struts. First, construct a hollow conical shell with a total height of 50mm. The outer surface should taper from a base radius of 11mm down to a top radius of 2mm. The wall thickness of t...
t=0.2; r=10; h=100; r2=1; s = 2; hh=h/2; rt=r-s; rim = 1; rh = 2; module box(w,h,d) { scale ([w,h,d]) cube(1, true); } module dislocateBox(w,h,d){ translate([w/2,h,0]){ difference(){ box(w, h*2, d+1); translate([-w,0,0]) box(w, h*2, d+1); } } } module rightTriangle(adjacent, opposite, depth) { diffe...
glb/cad_5e9fc74a8a27.glb
Create a mirror holder consisting of a main rectangular plate and a supporting base. Start with a flat rectangular plate measuring 100mm by 100mm with a thickness of 3mm. Attached to the bottom of this plate, create a rectangular base block measuring 100mm wide, 20mm deep, and 15mm high, positioned such that it extends...
$fn=200; upper_holder(); module upper_holder(show_cups=false) { if (show_cups) { translate([50,70+15,-6]) suction_cup(); translate([25,70-15,9]) rotate([0,180,0]) suction_cup(); translate([75,70-15,9]) rotate([0,180,0]) suction_cup(); } union() { difference() { ...
glb/cad_a29bde340f73.glb
Create a mirror holder by designing a flat, square plate with rounded corners. The plate should measure 200mm in length and 200mm in width, with a uniform thickness of 3mm. Each of the four corners must be rounded with a radius of 20mm.
mirror_model(x_len=200,y_len=200,corner_radius=20,thickness=3); module mirror_model(x_len=200,y_len=200,corner_radius=20,thickness=3) { hull() { translate([corner_radius,corner_radius,0]) cylinder(r=corner_radius,h=thickness); translate([x_len-corner_radius,corner_radius,0]) cylinder(r=corner_rad...
glb/cad_988e05128145.glb
Create a customizable cannon assembly consisting of a barrel, a carriage body, and two wheels. Construct the barrel as a series of stacked cylinders along a central axis. Start with a base cylinder (diameter 19.05mm, length 6.35mm), followed by a longer section (diameter 15.875mm to 20.995mm, length 50.4mm), a short r...
partSelect = 1; wheelDiameter = 76.2; wheelThickness = 6.35; wheelHubDiameter = 6.35; wheelHubDiameterClearance = 0.2; numberOfSpokes = 15; spokeOffset = 3.175; spokeMaxWidth = 10; wheelCylinderFragments = 50; D1a = 19.05; D1b = 15.875; L1 = 6.35; D2a = D1b; D2b = 20.995; L2 = 50.4; D3a = 22; D3b = 22; ...
glb/cad_eaaf973df3fb.glb
Create a special die by starting with a cube 20mm on each side, centered at the origin, and intersecting it with a sphere of radius 15mm centered at the same point to create a rounded cubic shape. From this volume, remove several geometric indentations to create the face values. On the top face, center a spherical hole...
size=20; good_year=0; $fn = 20; module dot() { sphere(r= size*.1); } module two() { for (j = [1,-1]) { translate([j*size*.25, size*.5, -j*size*.25]) dot(); } } module plus() { hull() { for (i=[1,-1]) { translate([0, 0, i*size*.10]) sphere(r = size*.05); } } hull() { for (i=[1,-1]) { translate...
glb/cad_8b0f3a50f3d4.glb
Create a vacuum cleaner brush support adapter by constructing a symmetrical object mirrored across the XZ plane. Start with a main outer block that is 20mm wide, 11mm deep, and 80mm tall. From this block, remove a central rectangular section to create a hollow channel. This channel should be 14.5mm wide and 7mm deep, e...
hv_sw = 14.5; hv_bw = 20; hv_de = 11; hv_he = 21; hv_th = 4; br_sw = 8; br_bw = 12; br_de = 17; br_he = 70; br_th = 2; br_it = 3.5; to_he = 80; ma = 2; module half() { difference() { cube([hv_bw/2, hv_de, to_he]); translate([hv_bw-hv_sw, hv_de-hv_th, -ma]) { cube([hv_sw+m...
glb/cad_3b175d706c79.glb
Create a Christmas Sleigh model. Start by constructing the main body as a hollowed-out basin. Create a base using a rectangular block 30mm wide, 50mm long, and 5mm thick. Build the walls of the sleigh by adding a vertical back support 2mm thick, 45mm wide, and 25mm high, and two side connectors 5mm thick, 2mm wide, and...
$fn = 50; module main_body(){ cube([2,45,25],center=true); translate([-2.5,-19,-2.5]){ cube([5,2,20],center=true); } translate([-2.5,19,-2.5]){ cube([5,2,20],center=true); } translate([-14,0,-13]){ cube([30,50,5],center= true); } translate([01,0,1.05]){ difference(){ difference(){ difference(){ ...
glb/cad_d62d40f231d3.glb
Create a calibration cube by starting with a solid cube that measures 50mm on all sides. From the top face, remove a smaller cubic section measuring 40mm by 40mm and 50mm in height, centered so that it leaves a uniform wall thickness of 5mm on all four sides. The resulting shape should be an open-topped hollow square p...
difference(){ cube([50,50,50]); translate([5,5,0]) cube([40,40,50]); }
glb/cad_cefc458f61a8.glb
Create a Christmas Sleigh model. Start with a main body consisting of a flat rectangular base measuring 30mm by 50mm by 5mm. Above this, construct a hollowed-out seating area by creating a large outer shell and removing a smaller interior volume. The outer shell is formed by a cylinder with a radius of 9.6mm and a heig...
Render_Quality = 50; $fn = Render_Quality; View_Mode = 4; Top_of_Gift_Basket = 3; module main_body(){ cube([2,45,25],center=true); translate([-2.5,-19,-2.5]){ cube([5,2,20],center=true); } translate([-2.5,19,-2.5]){ cube([5,2,20],center=true); } translate([-14,0,-13]){ cube([30,50,5],center= true); } dif...
glb/cad_d7cdf3369e9a.glb
Create a hollow bowling pin with a total height of 100mm. The shape is constructed by stacking a series of concentric cylinders of varying radii and heights, topped with a hemispherical cap. To create the outer shell, stack the following segments from bottom to top: a cylinder of height 5.07mm (radius 9.14mm to 12.85...
$fn=70; bowling_pin(height = 100, hollow = "true" ); module bowling_pin(height,hollow) { if (hollow=="true") { difference() { solid_pin(sheight = height); solid_pin(sheight = height*0.7); } } else { solid_pin(sheight = height); } } module solid_pin(sheight) { f=0.2; s=sheight/(37.5247); u...
glb/cad_96206e9fd1f7.glb
Create an XYZ Squareness Test block by starting with a cube that is 50mm in each dimension, centered on the origin. Apply a 5mm chamfer to all twelve edges of the cube. Remove a large vertical cylinder from the center of the block, with a radius of 21mm and a height that fully penetrates the top and bottom faces. On ...
module FourChamfer(sizes,chamfer) { m = max(sizes) + 1; for(y_scale=[1,-1]) for(z_scale=[1,-1]) scale([1,y_scale,z_scale]) translate([0,sizes[1]/2+sin(45)*m-chamfer,sizes[2]/2]) rotate([45,0,0]) cube([m,m,m], center=true); } module FaceMark(surface, n) { spacing = 4; ...
glb/cad_a3e65de42f4c.glb
Create a Hyundai Tucson Dash insert. Start by creating a main body that is a rounded cube with a length of 40.5mm, a width of 26.5mm, and a height of 16.5mm, using a corner radius of 5mm. The top face of this body should be modified by intersecting it with a sphere of radius 250mm, centered at an x-offset of 60mm, a y-...
use <Triangles.scad>; l=40.5; w=26.5; h=16.5; cr=5; lcr=250; lcz=-233; lcx=60; lcy=-7; wall=2; cd=17; difference() { translate ([0,0,cd])face(l,w,h,lcr,lcx,lcy,lcz,300,cr,100); translate ([2.5,wall,cd])resize (newsize = [35, w-wall*2, h-wall])face(l,w,h,lcr,lcx,lcy,lcz,100,cr,100); *translate ([l/2, w/2, 0]) cylin...
glb/cad_1157871f823a.glb
Create a unicorn keychain by combining a horse head model with a geometric horn. First, import the horse head STL. To add the horn, create a four-sided pyramid (a square-based cone) with a base radius of 3mm and a top radius of 1mm, reaching a height of 15mm. Position and rotate this horn so it extends from the head at...
module chop() { import(file = "horsehead.STL", convexity = 12); } module cuerno() { rotate ([97.3,45,250]) translate ([-2.55,2.5,16]) cylinder (r1=3, r2=1, h=15,$fn=4, center=false); } union() { chop(); cuerno(); }
glb/cad_13fff189857d.glb
Create a 3D model consisting of the intersection of a cube and a sphere. Center both shapes at the same origin point. The cube should have side lengths of 15mm. The sphere should have a diameter of 20mm, resulting in a radius of 10mm. The final geometry should only include the volume where these two shapes overlap, cre...
secim = "Her İkisi"; intersection() { cube(15, center=true); sphere(10); } print_secim(); module print_secim() { if (secim == "Küp") { kupciz(); } else if (secim == "Küre") { kureciz(); } else if (secim == "Her İkisi") { bilestir(); } else { bilestir(); } } module kupciz() { cube(15, cente...
glb/cad_8f1adb9d1801.glb
Create a rubber band loom consisting of a rectangular base and several vertical pegs. Start with a rectangular base measuring 150mm in length, 45mm in width, and 5mm in thickness. Construct the pegs as composite cylinders. Each peg consists of a main shaft with a diameter of 3mm and a height of 20mm, topped with a wi...
base_Y = 45; base_X = 150; base_thickness = 5; peg_thickness = 3; peg_height = 20; gap_width = 2.5; X_pegs = 5; step_width = 2; step_percent = 15; module core() { translate([0,0,(peg_height+base_thickness)-peg_height*(step_percent/100)])cylinder(peg_height*(step_percent/100),peg_thickness+step_width,peg_thickn...
glb/cad_316b378ad53e.glb
Create an adjustable table leg component. Start by creating a base cylinder with a diameter of 30mm and a height of 5mm. On top of this base, center a hexagonal prism with a height of 15mm; this prism should have a flat-to-flat width of approximately 17.25mm at its base, tapering slightly to a width of 14mm at the top....
m4d=4+0.3; m8d=7.8+0.4; m8nd=14.9+0.2; m8nh=7; zd=5; zu=15; d=30; w=4; $fn=32; difference() { union() { translate([0,0,0]) cylinder(zd, d/2, d/2); translate([0,0,zd]) cylinder(zu, (m8nd+w*2.5)/2, (m8nd+w)/2, $fn=6); } translate([0,0,1]) cylinder(zd+zu+2, m8d/2, m8d/2, $fn=16); translate([0,0,zd+zu-m8nh...
glb/cad_7a250eee07fb.glb
Create an adjustable table leg mount. Start with a central rectangular base measuring 40mm in length, 17mm in width, and 3mm in height, centered on the origin. On top of this base, add a centered cylinder with a height of 10mm, a diameter of 8.2mm, and a 32-facet resolution. From this combined volume, remove several ...
m4d=4+0.3; m8d=7.8+0.4; m8nd=14.9+0.3; m8nh=5.4; x=40; y=17; zd=3; zu=10; w=4; $fn=32; difference() { union() { translate([0,0,zd/2]) cube([x, y, zd], true); translate([0,0,zd]) cylinder(zu, y/2, y/2.5); } translate([0,0,-0.1]) cylinder(zd+zu+2, m8d/2, m8d/2); translate([0,0,-0.1]) cylinder(m8nh, m8nd/2...
glb/cad_9eae7809f8b9.glb
Create a tool clip for a print head consisting of a flat backplate and two symmetrical arms that curve around a cylindrical rod. The backplate is 3.5mm thick, 64.8mm wide, and 76.4mm high. Position four M3 screw holes in a rectangular pattern on the backplate. The holes are spaced 51mm apart horizontally and 22mm apa...
plateThickness = 3.5; mountingBumpDiameter = 0; mountingBumpPairsCount = 2; mountingBumpVerticalSpacing = 42; mountingBumpHorizontalSpacing = 20; screwHorizontalSpacing = 51; screwVerticalSpacing = 22; firstScrewHeight = 16; screw_hole_diameter = 2.9; screw_countersink_diameter = 6.3; screw_countersink_depth = 1.5; s...
glb/cad_732f9e4abd25.glb
Create a minion-themed flower pot. The main body is a vertical cylinder with a radius of 24mm and a height of 80mm, hollowed out to serve as a planter. At the top of the body, add a wide, horizontal strap that wraps around the cylinder. Attached to this strap are two protruding eye assemblies. Each eye consists of a ...
module ring(r=1,w=1,h=1,center=false) { difference() { cylinder(r=r+w,h=h,center=center); translate([0,0,-1])cylinder(r=r,h=h+3,center=center); } } module waved_ring(r=15,h=30,r_ring=15,disp=2) { intersection() { ring(r=r-disp,w=disp,h=h,center=true); translate([0,0,-h/2])rotate([0,90,0])ring(r=r_ring-disp,...
glb/cad_6b22ec02ffbe.glb
Create a Gear Depther consisting of two symmetrical mirrored arms. For each arm, start with a rectangular block 8mm thick, 50mm wide, and 64mm long. On each arm, create a central hinge by adding a cylinder with a 4mm radius and 50mm length, centered along the width, and a matching cylinder at the opposite end of the ...
showdepther1 = true; showdepther2 = true; hingepin = 1.1; gearpin1 = 1.1; gearpin2 = 1.1; screwhole = 2.6; nuthole = 4.55; nutdepth = 4.5; module depther1() { union() { difference() { union() { translate([-4,0,0]) { cube([8,50,64]); } ...
glb/cad_784872724fad.glb
Create a set of nine hotbed spring washers. Each washer is composed of three concentric cylindrical sections sharing a common base. Start with a flat circular base disk that has an outer diameter of 3.6mm and a thickness of 0.4mm. Centered on this base, add a narrow inner hub with an outer diameter of 2.1mm and a heigh...
wall = 0.4; screw = 3.4; spring = 6.4; hub = 1; rim = 1; hub_inner = screw/2; hub_outer = hub_inner+wall; rim_inner = spring/2; rim_outer = rim_inner+wall; little = 0+0.01; $fn = 90; module pipe(len, inner, outer) { difference() { cylinder(len, outer, outer); translate([0, 0, -little/2]) cylinder(len+li...
glb/cad_dd2ab8a79735.glb
Create a BottleCapWheel consisting of a central hub and twelve radiating spokes. Start by creating a central cylindrical hub with a diameter of 10mm and a height of 11.5mm. Drill a concentric vertical hole through the center of this hub with a diameter of 6.1mm. From the base of the hub, extend twelve rectangular spok...
RadDurchmesser = 36; RadBreite = 4; NabenHoehe = 11.5; SpeichenBreite = 3; SpeichenAnzahl = 12; NabenDurchmesser = 10; Nabe(NabenHoehe); Speichen(); module Speichen() { difference() { for (i=[0:SpeichenAnzahl-1]) { rotate([0,0,i*(360/SpeichenAnzahl)]) translate([0,-SpeichenBreite/2, ...
glb/cad_d0c79b84d547.glb
Create a SlimWheel robot wheel with a total diameter of 36mm and a width of 4mm. Start by forming the outer rim as a hollow cylinder with a wall thickness of 1.5mm. At the center, place a cylindrical hub with a diameter of 10mm and a height of 10mm. This hub should have a concentric vertical hole 6.1mm in diameter pass...
RadDurchmesser = 36; RadBreite = 4; NabenHoehe = 10; SpeichenBreite = 3; SpeichenAnzahl = 12; NabenDurchmesser = 10; Felge(RadDurchmesser,RadBreite,0.7,1.5); Nabe(NabenHoehe); Speichen(); module Speichen() { difference() { for (i=[0:SpeichenAnzahl-1]) { rotate([0,0,i*(360/SpeichenAnzahl)]) ...
glb/cad_ead43edc8b56.glb
Create a SlimWheel robot wheel with a total diameter of 36mm and a width of 4mm. Start by forming the outer rim as a hollow cylinder with a wall thickness of 1.7mm. At the center, add a cylindrical hub with a diameter of 16mm and a height of 8mm. This hub should have a central vertical hole 3.6mm in diameter, with a sm...
RadDurchmesser = 36; RadBreite = 4; NabenHoehe = 8; SpeichenBreite = 3; SpeichenAnzahl = 12; NabenDurchmesser = 16; Felge(RadDurchmesser,RadBreite,0.7,1.7); Nabe(NabenHoehe); Speichen(); module Speichen() { difference() { for (i=[0:SpeichenAnzahl-1]) { rotate([0,0,i*(360/SpeichenAnzahl)]) ...
glb/cad_e5e4ca2cfd1f.glb
Create a soap dish by starting with a central rectangular block measuring 100mm in length, 50mm in width, and 15mm in height, centered on the origin. Carve out a large horizontal cylinder with a radius of 50mm that runs the full length of the block, positioned slightly above the center to create a concave trough across...
RES=100; dish_width=50; dish_length=100; dish_height=15; module equal_triangular_prism() { polyhedron(points = [ [0,26, 0] , [22.5,-13,0] , [-22.5,-13,0] , [0,26, 2] , [22.5,-13,2] , [-22.5,-13,2] ], faces = [ [0, 1, 2], [3 ,5, 4], [0,3,4,1 ],...
glb/cad_b6eeee393991.glb
Create a RobotWheel hub consisting of a central hub and an outer rim. Start with a main outer cylinder with a diameter of 35mm and a height of 10mm. Hollow out this cylinder by removing a concentric inner cylinder with a diameter of 28mm (35mm minus 7mm) and the same height, creating a rim wall thickness of 3.5mm. At ...
RadDurchmesser = 35; RadBreite = 10; NabenHoehe = 16; SpeichenBreite = 3; SpeichenAnzahl = 12; NabenDurchmesser = 10; Felge(RadDurchmesser,RadBreite,7.0); Nabe(NabenHoehe); module Speichen() { difference() { cylinder (d=RadDurchmesser-7, h=3, $fn=50); cylinder(d=3.2, h=2, $fn=50); } } mod...
glb/cad_081acfe1bb54.glb
Create a RobotWheel hub consisting of a main outer rim and a central hub. The outer rim is a hollow cylinder with an outer diameter of 35mm and a width of 10mm, with a wall thickness of 7mm. At the center, create a cylindrical hub with a diameter of 16mm and a height of 8mm. This hub is connected to the rim by a flat...
RadDurchmesser = 35; RadBreite = 10; NabenHoehe = 8; SpeichenBreite = 3; SpeichenAnzahl = 12; NabenDurchmesser = 16; difference() { union() { Felge(RadDurchmesser,RadBreite,7.0); Nabe(NabenHoehe); } translate([0,0,NabenHoehe-3]) rotate([90,0,0]) cylinder(...
glb/cad_ca8d1225ca13.glb
Create a PCB mount bracket by starting with a base shape that combines a cylinder and a rectangular block. Form the main body by merging a cylinder with a 5mm diameter and 4.1mm height with a rectangular block measuring 8mm in length, 6mm in width, and 2.5mm in height, centered so they overlap. To create the mounting f...
b=6; d=8; h1=2.5; h2=h1+1.6; difference() { union() { cylinder(d=5, h=h2, $fn=50); translate([d,0,0]) cylinder(d=b, h=h1, $fn=50); translate([-1,-b/2,0]) cube([d+1,b,h1]); } cylinder(d=2.7, h=h2, $fn=50); translate([d,0,0]) cylinder(d=3.2, h=h2, $fn=50); translate([-2.6,-0.7,0.0]) cube([5.1,1,h2]); }
glb/cad_d3b44a275dec.glb
Create a Star of David by combining two identical equilateral triangles. Each triangle should have a thickness of 2mm and vertices positioned at [0, 26], [22.5, -13], and [-22.5, -13] relative to its center. Position the first triangle flat on the XY plane. Create the second identical triangle and rotate it 60 degrees ...
module equal_triangle() { polyhedron(points = [ [0,26, 0] , [22.5,-13,0] , [-22.5,-13,0] , [0,26, 2] , [22.5,-13,2] , [-22.5,-13,2] ], faces = [ [0, 1, 2], [3 ,5, 4], [0,3,4,1 ], [0,2,5,3], [2,1,4,5] ], ...
glb/cad_4e5e3bd53240.glb
Create a rounded cube for a geometric shape toy. Start with a central cube that has equal dimensions of 45mm in length, width, and height. Apply a consistent rounding to all edges and corners using a sphere with a radius of 3mm to ensure all boundaries are smooth and filleted.
module rounded_cube() { minkowski() { sphere(r=3, $fn=100) ; cube(45,45,45, center=true); } } rounded_cube();
glb/cad_9cc197095acf.glb
Create a geometric toy shape by forming a convex hull between a centered cube with side lengths of 22.5mm and a sphere with a radius of 22.5mm positioned 50mm above the cube's center along the Z-axis. Once this primary volume is established, apply a Minkowski sum with a sphere of radius 3mm to round all edges and corne...
minkowski() { sphere(r=3, $fn=100) ; basic_shape(); } module basic_shape() { hull() { cube(size=[22.5,22.5,22.5], center=true); translate([0,0,50]) { sphere(r=22.5, $fn=150, center=true) ; } } }
glb/cad_a54c1c787625.glb
Create a geometric toy shape by constructing a cylinder with a radius of 22.5mm and a height of 45mm. Apply a rounding effect to all edges and surfaces by blending the cylinder with a sphere of radius 3mm, resulting in a smooth, filleted finish on the top and bottom faces and a rounded perimeter.
minkowski() { sphere(r=3, $fn=100) ; cylinder(r=22.5, h=45, $fn=200); }
glb/cad_7ebc43600904.glb
Create a geometric toy pyramid with a square base measuring 45mm by 45mm and a height of 39mm. The shape should taper from the base to a single point centered at the top. To ensure the object is safe for children, apply a uniform fillet or rounding to all edges and corners with a radius of 3mm.
module pyramid() { hull() { cube([45,45,0.1]); translate([22.5,22.5,39]){ cube([0.1,0.1,0.1]); } } } minkowski() { sphere(r=3, $fn=100) ; pyramid() ; }
glb/cad_e93a44b1b871.glb