Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a cylindrical battery dispenser consisting of two mirrored holder halves. Each half features a main channel designed to hold batteries with a diameter of 16mm (14mm cell diameter plus 2mm slack) and a length of 52mm (50mm cell length plus 2mm slack). The channel walls are 1.2mm thick, and the overall channel dep...
detail = 90; cell_diameter = 14; cell_length = 50; capacity_upper_section = 10; capacity_lower_section = 1.75; angle = 120; thickness_of_outer_walls = 1.2; thickness_of_channel_walls = 1.2; channel_depth_percent = 20; mount_tab_height = 8; hole_position = 12.5; mount_hole_diameter = 3.2; holes_pan_diameter ...
glb/cad_f1dbd29bc6e7.glb
Create a Stanley tray box divider platelet. Start by creating a rectangular base plate with a width of 50mm and a height of 30mm, with a thickness of 0.8mm. The base plate should have rounded corners with a radius of 2mm. On top of this base plate, add a stiffening frame that follows the outer perimeter of the rectangl...
detail = 90; ear_radius = 0; platelet_height = 30; platelet_width = 50; corner_radius = 2; module ear(x, y, r) { if(r) { linear_extrude(0.2) { translate([x, y]) circle(r); } } } module Trennplatte(l, t, h, r) { for(x=[r:l-2*r:l], y=[r:t-2*r:t]) ear(x, y, ear_radius); linear_extrude(h) translat...
glb/cad_5896e42464f5.glb
Create a Twin Towers Coin Holder consisting of two identical vertical cylindrical shells positioned side-by-side. Each tower is a hollow cylinder with an outer diameter of 31.5mm and an inner diameter of 27.5mm, standing 70mm tall. For each cylinder, remove a rectangular section from the side to create a wide open slot...
difference(){ translate([10.5,10,0]) difference() { cylinder(50,15,15); cylinder(70,13,13); } translate([15,15,3]) cube([15,15,50]); } translate([10.5,10,0]) cylinder(2,16,16); difference(){ translate([-10,-10,0]) difference() { cylinder(50,15.75,15.75); cylinder(50,13.75,13.75); } translate([-28.75,-28.75,3]) cube([...
glb/cad_d675debe88ee.glb
Create a Triple Towers Coin Holder consisting of three hollow cylindrical towers arranged in a triangular cluster on a shared base. Each tower is a thick-walled tube with a height of 70mm and a flat bottom. The first tower is centered at [10.5, 10, 0] with an outer diameter of 30mm and an inner diameter of 26mm. It f...
difference(){ translate([10.5,10,0]) difference() { cylinder(50,15,15); cylinder(70,13,13); } translate([15,15,3]) cube([15,15,50]); } translate([10.5,10,0]) cylinder(2,16,16); difference(){ translate([-10,-10,0]) difference() { cylinder(50,15.75,15.75); cylinder(50,13.75,13.75); } translate([-28.75,-28.75,3]) cube([1...
glb/cad_4ce8b67d902f.glb
Create two separate rulers, one metric and one SAE, each 150mm in length. For each ruler, start with a base rectangular block that is 0.04mm thick, 150mm long, and 8mm wide. For the metric ruler, add tick marks every 1mm. Every 10th mark should be the tallest at 7mm high and 0.25mm wide. Every 5th mark should be medi...
use <writescad/write.scad> xruler(); translate([0,0,12]) xrulerSae(); module rulerSae(length = 150, t=[0,0,0], r=[0,0,0]) { ruler(length, t, r, sae=true); } module ruler(length = 150, t=[0,0,0], r=[0,0,0], sae) { mark_width = 0.25; mark_depth = 0.05; mark_granularity = sae ? 25.4/16: 1; smallTallInterval = sae ...
glb/cad_9502413714fe.glb
Create a soft jaw cover for a vise by starting with a solid rectangular block measuring 67mm in width, 19mm in height, and 9mm in depth. Hollow out the center of this block by removing a smaller rectangular volume of 63mm by 15mm by 5mm, positioned 4mm from the top, left, and right edges, and 4mm from the bottom face, ...
$fn = 50; jawW = 63; jawH = 15; jawD = 5; thickness = 4; extraThick = 4; withCutOuts = 1; vertCuts = 1; horCuts = 0; if (horCuts) { difference() { cube([jawW+2*thickness, jawH+2*thickness, jawD+thickness+extraThick]); translate([thickness, thickness, thickness+extraThick]) cube([jawW, jawH, jawD+1]); ...
glb/cad_bf8d1945982d.glb
Create an All-in-one fan duct for an Argento v6 hotend. The assembly consists of a central hotend housing and two symmetrical fan ducts. First, create the hotend housing. Start with a central block 30mm wide, 20mm deep, and 27.1mm high. Add two rectangular caps, each 30mm by 20mm by 2mm, positioned at the top and bott...
fn1=150; module fan_40(){ %translate([26.38,-20,0])cube([10,40,40]); difference() { translate([0,-20,0])cube([26.36,40,40]); x0 = -0.1; x1=24; x2=6; z0 = -0.1; z1=17.6; y1 = 20.5; polyhedron( points = [ [x0,y1,z0],[x1,y1,z0],[x2,y1,z1],[x0,y1,z1],[x0,-y1,z0],[x1,-y1,z0],[x2,-y1,z1],...
glb/cad_56a4cc8b90a5.glb
Create a snowflake ornament composed of 16 interlocking hexagonal rings arranged in a radial pattern. The structure is built by repeating a specific geometric unit 16 times, rotating each subsequent unit by 30 degrees around the center. For every even-numbered unit, create a hexagonal ring with a major radius of 14.75m...
color([0.2,0.8,1]) { for (i = [0 : abs(1) : 15]) { rotate([0, 0, (30 * i)]){ if (i % 2 == 0) { translate([14.75, 0, 0]){ rotate_extrude($fn=6) { translate([5, 0, 0]) { circle(r=1, $fn=12); } } }} else { translate([10, 0, 0])...
glb/cad_043b2596d65c.glb
Create a ducted propeller nozzle for an R/C boat. Start by constructing a main body that is a hull encompassing three cylinders, each 15mm high and centered vertically. Two of these cylinders have a 10mm diameter and are positioned at x=10 and x=-10, while the third is centered at x=0, y=-26, with a diameter of 44mm. F...
$fn = 50; support_height = 15; tube_height = 10; tube_inner_diam = 42; thickness = 2; union(){ difference(){ hull(){ translate([0,-26,support_height/2])cylinder(d=tube_inner_diam+thickness,h=support_height,center=true); translate([10,0,support_height/2])cylinder(d=10,h=support_height,center=true); translate([-10,0...
glb/cad_9b785edd4d27.glb
Create a rectangular base for an extended headphone stand nameplate. The base should be a solid block measuring 125mm in width, 40mm in height, and 5.55mm in thickness. Centered on top of this base, add four lines of raised text with a depth of 2mm and a letter height of 6mm. Position the first line 13mm above the cent...
font = "write/orbitron.dxf"; name1="Put your name here"; name2="...or not"; name3="I'm a sign"; name4="not a cop"; yname1=13; yname2 =4; yname3=-5; yname4 =-14; letter_size=6; letter_depth=2; basex=125; basey=40; base_depth=5.55; use <write/Write.scad> assembly(); module assembly() { color("black") writing()...
glb/cad_818e7061f825.glb
Create a geometric planter called a POLYPOT consisting of a main vessel and a matching drainage dish. For the main vessel, start with a sphere of radius 40mm, faceted with 40 sides. Hollow out the center by removing a cylinder with a radius of 20mm starting from a height of 3mm and extending upwards. Flatten the bott...
rad=40; centerHole = 20; drainHole = 3; baseHeight= 8; drainPipeWidth= 5; dishDepth= 5; angle = 40; difference() { translate ([0, 0, .63*(rad*cos(.5*angle)-1) ]) sphere($fa=angle, rad ); translate([0,0,3,]) cylinder($fa=angle, 2*rad,centerHole,centerHole); translate([-rad,-rad,-rad...
glb/cad_74659428f806.glb
Create a Blackburn XL bike rack mount. Start with a central rectangular base plate measuring 3mm by 2.75mm by 0.125mm. On this plate, create two symmetrical mounting sections. Each section consists of a rectangular plate with two oblong holes. The first hole is centered at x=0.75mm, y=0.875mm, and the second at x=2.5...
e = 0.125; E = 0.250; l1 = 3.000; l2 = 2.750; l3 = 1.000; l4 = 1.250; CC = 0.750; o1 = l3/2; o2 = 1.750; o3 = -1.0625; d1 = 7/32; d2 = 13/32; T1x= 3/4; T1y= 7/8; T2x= 2.5; T2y= 2.125; L = 3/4; size = 4/4; rack = 7/16; offset = rack+e+E+3/16; fillet = 3/16; F = 0.01; $fn = 20; module oblon(X, Y, size) { hull()...
glb/cad_deef2bef96b0.glb
Create a 3D model of a NEMA 17 stepper motor. Start by constructing the main motor body as a cube with dimensions 42.3mm x 42.3mm and a height of 34mm. On the top face of this body, center a cylinder with a radius of 11mm and a height of 2mm, and extend a smaller central shaft from the top of that cylinder with a radiu...
res=80; N=5; motor_height = 34.0; r1=12; r2=25; r3=49; translate([0,0,55]){ difference(){ translate([0,0,-5])cylinder(10,8,8,true,$fn=res); cylinder(40,3,3,true,$fn=res); } difference(){ union(){ cylinder(30,53,53,true,$fn=res); } translate([0,0,5])cylinder(25,r3,r3,true,$fn=res); cylinder(40,3,3,true,$fn=res); f...
glb/cad_ec5c5169b8f5.glb
Create a Stepper Robot 2WD chassis. Start by constructing a central rectangular platform measuring 160mm in length, 10mm in width, and 40mm in height, centered at the origin. Position two NEMA 17 stepper motors on the chassis. Each motor consists of a main body 42.3mm wide, 42.3mm deep, and 34mm high. The top of each ...
res=60; N=6; motor_height = 34.0; r1=13; r2=32; w3=51; w1=55; w2=54; l1=60; l2=80; l3=150; translate([0,0,l3+30])cube([120,120,35],true); translate([0,0,0])rotate([90,0,0])cylinder(2*l2,6,6,true,$fn=res); translate([0,15,0]){ translate([0,10,0])rotate([90,0,0])cylinder(5,27,27,true,$fn=res); translate([0,10,l3])rota...
glb/cad_ce6e4aadafca.glb
Create a Stepper Robot wheel by constructing a composite cylindrical shape. Start with a main central body consisting of three stacked cylinders: a middle cylinder with a height of 20mm and a radius of 55mm, a bottom cylinder with a height of 5mm and a radius of 54mm, and a top cylinder with a height of 5mm and a radiu...
res=80; N=6; motor_height = 34.0; r1=13; r2=32; w3=51; w1=55; w2=54; wheel(); module wheel(){ difference(){ translate([0,0,-7])cylinder(10,10,8,true,$fn=res); cylinder(40,2.5,2.5,true,$fn=res); } difference(){ union(){ cylinder(20,w1,w1,true,$fn=res); translate([0,0,-12.5])cylinder(5,w2,w1,true,$fn=res); tr...
glb/cad_9414cf9dfc95.glb
Create a 3D model of three intertwined spirals. Start by creating a base and top section consisting of two concentric rings. The bottom section is a cylinder 3mm high, centered at Z = -3, with an outer radius of 16mm and an inner hole with a radius of 8mm at the bottom and 5.5mm at the top. The top section is a cylinde...
Radius = 10; Ugol = 10; Top = 1; Sp = 4; union(){translate([0,0,-3]) difference(){ cylinder(h=3, r1=16, r2=14, center=true); translate([0,0,-1]) cylinder(h=6, r1=8, r2=5.5, center=true); } translate([0,0,33.5]) difference(){ cylinder(h=3,r1=14,r2= 12,center=true); translate([0,0,-1]) cyli...
glb/cad_aeb931b64b8b.glb
Create a 3D model of three intertwined spirals resting on a base and topped with a cap. Start by creating three identical spiral arms. Each arm is generated by taking a circle with a radius of 3mm, offsetting its center 4mm from the central axis, and extruding it vertically to a height of 25mm while twisting it 360 deg...
union(){ linear_extrude(height = 25, center = false, convexity = 10, twist = 360, $fn = 30) translate([4, 0, 0]) circle(r = 3); linear_extrude(height = 25, center = false, convexity = 10, twist = 360, $fn = 30) rotate([0,0,120]) translate([4, 0, 0]) circle(r = 3); linear_extrude(height = 25, center = false, convexity =...
glb/cad_c8b156561155.glb
Create a 3D model of three intertwined spirals. Each spiral is formed by a sequence of 40 spheres connected by convex hulls to create a continuous, smooth tube. The center of each sphere in a single spiral is positioned using a combination of sine and cosine functions to create a curving path. The radius of the path va...
Max = 40; Radius = 15; Ugol = 10; Top = 1; Sp = 4; function Rad( i) = sin(i*180/Max); function sp_rad( i) = (1-Rad( i)* Rad( i))*4+2; function sp_tr( i) = [Rad( i)*cos((i)*Ugol)*(Radius-sp_rad( i)), Rad( i)*sin((i)*Ugol)*(Radius-sp_rad( i)),(i)*Top]; union(){ for(i = [1:Max]) hull(){ translate(sp_tr( ...
glb/cad_6fd52e2fcfce.glb
Create a Z adjuster for a 3D printer endstop using 3mm thick material. The assembly consists of three stacked layers of identical base plates. Each base plate is a mirrored pair of side panels. Each side panel is formed by a 16mm by 27mm rectangle rotated -50 degrees on the Z-axis, joined with a 10.3mm by 12.3mm rect...
$fn=100; module cote_droit(){ difference(){ union(){ rotate([0,0,-50]) square([16,27]); translate([20.67,5]) square([10.3,12.3]); translate([-10.6,-9,0]) rotate([0,0,-50]) square([16,14]); } translate([23,9]) square([4,6]); } } module cote_gauche(){ mirror([1,0,0]) cote_droi...
glb/cad_353e474303fe.glb
Create a BBQ Knob by constructing a main cylindrical body with a diameter of 27mm, a height of 15mm, and a 30-facet resolution. Carve 30 small rectangular grip notches into the outer vertical wall; each notch should be 0.75mm deep and spaced evenly around the circumference. Hollow out the center of the cylinder by remo...
knobResolution = 30; knobDiameter = 27; knobThickness = 3; knobHeight = 15; innerDiameter = 16; boreDiameter = 6.35; boreHeight = 11; gripCount = knobResolution; gripDepth = 0.75; difference() { cylinder(r = knobDiameter / 2, h = knobHeight, $fn = knobResolution); union() { for (i = [1:gripCount]) { rota...
glb/cad_7e4e1438745b.glb
Create a Plunger Head by stacking four concentric cylindrical sections vertically and drilling a central hole through the entire assembly. Start with a base cone that is 0.150mm high, tapering from a bottom radius of 0.3855mm to a top radius of 0.5625mm. On top of this cone, place a cylinder with a radius of 0.4375mm a...
coneHeight = 0.150; backStopR = 1.250 / 2; backStopHeight = 0.150; shaftHeight = 0.325; sleeveHeight = 0.500; coneFrontR = 0.771 / 2; coneBackR = backStopR * 0.9; shaftR = 0.875 / 2; sleeveHeight = 0.500; sleeveR = 0.575 / 2; rodHoleR = 0.500 / 2; $fn = 1000; difference () { union () { cylinder (r2 = cone...
glb/cad_98d8168f9a2e.glb
Create a Bottle Opener tool with a tapered, ergonomic body. The main body is a rounded trapezoidal plate with a total thickness of 6mm. At the wider end, create a central cutout for a bottle cap, defined by a rounded trapezoidal hole with a base width of 23mm and a length of 19.5mm. Within this cutout area, incorpora...
use <write/Write.scad> use <utils/build_plate.scad> Text="Text"; Text2="Text"; TextHieght=90; TextRelief=-10; TextPositionX=-30; TextPositionX2=-30; TextPositionY=0; TextPositionY2=0; TextSpacing=10; Font = "write/orbitron.dxf"; CoinType = "US"; ManualRadius=9.5; ManualThickness=1.75; ManualOverhang=3; N...
glb/cad_83be8f04f7df.glb
Create an Attic Pull Knob by constructing a hollow, tapered cone with a total height of 40mm. The outer shape should be a frustum that tapers from a base diameter of 20mm down to a top diameter of 10mm. Bore a central hole through the entire length of the cone with a diameter of 5.5mm to allow a rope to pass through. A...
total_height = 40; rope_diameter = 5; knot_diameter = 10; translate([0, 0, total_height]) { rotate([0, 180, 0]) { difference() { cylinder(d1=rope_diameter * 4, d2=(rope_diameter * 2), h=total_height, $fn=120); cylinder(d=rope_diameter + 0.5, h=total_height, $fn=60); cylinder(d=knot_diameter...
glb/cad_08b11a785675.glb
Create a rectangular prism named STUFFING with a total length of 50mm, a width of 1mm, and a height of 4mm. Center the geometry on all axes.
cube(size = [1,50,4], center = true);
glb/cad_d3a0021dc70c.glb
Create a headset under holder by starting with a rectangular base that is 75mm long, 50mm wide, and 20mm high. At one end of this base, integrate a cylinder with a radius of 1.25mm and a height of 20mm, centered at the 16.5mm mark along the width. On the top surface of the base, add two complex geometric sections. Fi...
base(); translate([2,20.5,0]) rotate([0,0,-90]) halfcube(); translate([50,0,0]) rotate([0,0,0]) halfcube(); rougcylinders(); module base(){ cube([2.5,16.5,20]); translate([1.25,16.5,0]) cylinder(20,1.25,1.25, $fn=40); cube([70,5,20]); translate([70,0,0]) cube([5,47.5,20]); translate([70,47.5,0]) cube([40,1,20]); } mo...
glb/cad_bb3d00ddccb4.glb
Create a guitar mural stand fixation consisting of a central mounting block and two protruding support arms. Start with a central rectangular mounting block measuring 5mm in width, 16.7mm in height, and a depth that spans the distance between the two arms. The total distance between the centerlines of the two support...
diametre = 17; rayon = (diametre-3)/2; ecart = 37.5; difference () { translate ([0,rayon,14.5]) { rotate([0,70,0]) { cylinder (h=80, r=rayon, $fn=90); } }; union () { translate ([0,0,-2.2]) { rotate([0,-20,0]) cube ([90,rayon*2,16]); translate ([-10,0,15]) cube ([10,rayon*2,10]); } ...
glb/cad_45353a16b84c.glb
Create a nose flute consisting of a main rectangular body and two specialized attachments. Start with a main body that is a rectangular block measuring 60mm in length, 45mm in width, and 7mm in height, with rounded edges. Carve a central conduit through the body: a horizontal cylindrical tunnel with a radius of 2mm an...
object_path = "d:/Profiles/pyaillet/Perso/Prusa/Modeles/Attempt_1.stl"; *translate([0, -50, 0]) { import(object_path); } module bendedEllipse(bending=70, length=25, width=50, thickness=5, precision=50) { $fn=precision; difference() { intersection() { scaleY = width/length; ...
glb/cad_a8d2c171929a.glb
Create a parametric corbel bracket. Start by constructing an L-shaped outer frame using a rectangular solid with a total length of 50mm and depth of 50mm. This frame has an overall width of 12mm and a wall thickness of 4mm. Inside this frame, place a second, thinner L-shaped board with a width of 10mm and a thickness o...
length = 50; depth = 50; widthOuter = 12; widthInner = 10; thicknessOuter = 4; thicknessInner = 3 ; innerOffsetX = 1.5; innerOffsetY = 1.5; thicknessArc = 5; arcInset = .5; arcOffsetX = 4.5; arcOffsetY = 4.5; arcLenX = -3; arcLenY = -3; arcAngle = 5; module LBracket(l,d,wo,wi,to,ti,iox,ioy) { difference() { cube([l,...
glb/cad_b914b04b5125.glb
Create a parametric corbel bracket consisting of two perpendicular boards joined at a right angle, reinforced by a curved arc. First, construct the outer L-shaped frame. Create a primary rectangular board 90mm long, 35mm deep, and 15mm wide. From this, remove a smaller rectangular section 3mm smaller in both length a...
length = 90; depth = 35; widthOuter = 15; widthInner = 13; thicknessOuter = 3; thicknessInner = 2 ; innerOffsetX = 2; innerOffsetY = 2; thicknessArc = 3.5; arcInset = .5; arcOffsetX = -10; arcOffsetY = 32; arcLenX = -6; arcLenY = -4; arcAngle = 5; module LBracket(l,d,wo,wi,to,ti,iox,ioy) { difference() { cube([l,d,w...
glb/cad_9be9c65e4a05.glb
Create a parametric corbel bracket consisting of two perpendicular boards joined at a right angle, connected by a curved support arc. First, construct the outer frame using two rectangular slabs. The first slab is 60mm long, 50mm deep, and 8mm wide. The second slab, which forms the inner layer, is 58mm long, 48mm dee...
length = 60; depth = 50; widthOuter = 8; widthInner = 6; thicknessOuter = 2; thicknessInner = 1.5; innerOffsetX = 2; innerOffsetY = 2; thicknessArc = 3.5; arcOffsetX = 1.5; arcOffsetY = 7.5; arcLenX = -4; arcLenY = -4; arcAngle = 5; module LBracket(l,d,wo,wi,to,ti,iox,ioy) { difference() { cube([l,d,wo]); cube([l-t...
glb/cad_2dfc21c4eb41.glb
Create a parametric corbel bracket. Start by constructing an L-shaped base formed by two intersecting rectangular slabs. The first slab is a vertical wall with a length of 7mm, a depth of 7mm, and a thickness of 1mm. The second slab is a horizontal base with a length of 6mm, a depth of 6mm, and a thickness of 1mm, posi...
length = 7; depth = 7; widthOuter = 2.5; widthInner = 1.75; thicknessOuter = 1; thicknessInner = 1; innerOffsetX = .5; innerOffsetY = .5; thicknessArc = 1.25; arcOffsetX = 1.25; arcOffsetY = 1.25; arcLenX = -.75; arcLenY = -.75; arcAngle = 5; module LBracket(l,d,wo,wi,to,ti,iox,ioy) { difference() { cube([l,d,wo]); ...
glb/cad_502ef10476c0.glb
Create a parametric corbel bracket consisting of two perpendicular boards joined at a right angle and connected by a curved support. First, create the outer board as a rectangular solid with a length of 10mm, a depth of 10mm, and a width of 80mm. Create the inner board with the same length and depth of 10mm, but with...
length = 10; depth = 10; widthOuter = 80; widthInner = 80; thicknessOuter = 1; thicknessInner = 1; innerOffsetX = 2; innerOffsetY = 2; thicknessArc = 1; arcOffsetX = 1; arcOffsetY = 1; arcLenX = -1; arcLenY = -1; arcAngle = 0; module LBracket(l,d,wo,wi,to,ti,iox,ioy) { difference() { cube([l,d,wo]); cube([l-to,d-to...
glb/cad_7c6cda1fc8e0.glb
Create a parametric corbel bracket. Start by constructing an L-shaped outer frame with a total length of 40mm and depth of 20mm. This frame consists of two perpendicular walls: an outer wall with a thickness of 4mm and a width of 8mm, and an inner wall with a thickness of 3mm and a width of 5mm. The inner wall is reces...
length = 40; depth = 20; widthOuter = 8; widthInner = 5; thicknessOuter = 4; thicknessInner = 3; innerOffsetX = 2; innerOffsetY = 2; thicknessArc = 3; arcOffsetX = -4; arcOffsetY = 16; arcLenX = -5; arcLenY = -2; arcAngle = 5; module LBracket(l,d,wo,wi,to,ti,iox,ioy) { difference() { cube([l,d,wo]); cube([l-to,d-to...
glb/cad_54ced19ed52d.glb
Create a medium duty hinge consisting of two mirrored symmetrical halves. Each half starts as a base block 30mm wide, 30mm long, and 8mm thick. The inner edge of each half is rounded with a radius of 8mm to form the hinge knuckle. On the outer side of each half, create a cylindrical hole with a radius of 3mm and a hei...
$fn=100; base_thickness=8; hinge_side_w=30; hinge_len=30; hinge_pin_outer_r=8; hinge_pin_clearance=2; hinge_slip_clearance=1; hinge_r_cut_y=hinge_len/4; hinge_r_cut_len=hinge_len/2-hinge_slip_clearance/2; fillet=3; quarter20_r=3.5; quarter20_head_h=3; quarter20_head_r=7; module hinge_blank(){ difference(){ ...
glb/cad_470ae983706d.glb
Create a bearing housing for an LM8UU linear bearing. Start by creating a main hollow cylinder with an outer radius of 7.5mm, an inner radius of 6.3mm, and a total height of 24mm. Inside this hollow space, add nine equally spaced radial ribs that extend from the inner wall toward the outer perimeter. Each rib should be...
$fn=100; radio_ext=15/2; radio_int=8/2; altura=24; grosor=1.2; num_dientes=9; module varilla_lisa_M8(){ cylinder(r=4,h=70); } module diente(){ d_ancho=1; d_largo=radio_ext-grosor-radio_int; translate([0,-radio_int,0]) hull(){ translate([0,-d_ancho/2,0]) cylinder(r=d_ancho/2,h=altura); translate([0,-...
glb/cad_432a04a19d45.glb
Create a toy TNT box by starting with a centered cube that measures 40mm on all sides. Remove a vertical cylindrical hole with a radius of 2.5mm that runs through the center of the cube from top to bottom. Additionally, remove a horizontal cylindrical hole with a radius of 1mm and a length of 30mm, positioned at coordi...
difference(){ cube (size=[40,40,40],center=true); cylinder(r1=2.5,r2=2.5,h=40,center=true); translate([16,16,-16]) rotate([0,90,0]) cylinder(r1=1,r2=1,h=30,center=true); } translate([19.5,0,10]){ rotate([90,0,90]) import_stl("tnt.stl", convexity = 5); } translate([0,19.5,10]){ rotate([90,0,180]) import_stl("tnt.stl",...
glb/cad_843258e5c4a9.glb
Create a rectangular block with dimensions of 8mm in width, 20mm in length, and 5mm in height. Center the block on the origin. Bore a vertical cylindrical hole through the center of the block along its height. The hole must have a radius of 1.8mm and a total height of 6mm, extending slightly beyond the top and bottom f...
difference(){ cube(size=[8,20,5],center=true); translate([0,0,0-1]) cylinder(r1=1.8,r2=1.8,h=6,center=true); }
glb/cad_bcf471b03780.glb
Create a D Lock Washer consisting of two stacked cylindrical rings. First, create a base washer with an outer diameter of 20mm, an inner hole diameter of 5mm, and a thickness of 3mm. Directly on top of this base, add a second cylindrical ring with an outer diameter of 16mm, an inner hole diameter of 5mm, and a thicknes...
$fn=75; WasherDiameter=10; HoleDiameter=5; BottomThickness=3; TopThickness=3; TopDiameter=8; DOffset=2; module Washer($od=WasherDiameter, $id=HoleDiameter, $thickness1=BottomThickness) { difference() { cylinder(r = $od*2, h = $thickness1, center = true); cylinder(r = $id*2, h = $thickness1+1, cente...
glb/cad_daaccd2bea47.glb
Create a solder fume extractor stand designed to hold a 120mm case fan. The main structure consists of a wide, angled base and two supporting legs. The base is a flat plate 200mm wide, 200mm deep, and 10mm thick. Construct two supporting legs that angle upwards and backwards at 70 degrees. Each leg is 32mm wide and 1...
difference(){ union(){ rotate([0,70,0])translate([150.5,0,1])cube([32,120,2], center=true); rotate([0,160,0])translate([6.75,0,135.5])cube([16.5,101,2], center=true); difference(){ rotate([0,70,0])translate([148.5,0,-14])cube([25,101,2], center=true); rotate([0,70,0])translate([148,15,-14])cube([25,46,4], center=tru...
glb/cad_74540f56b651.glb
Create a 3D Printing and Solder Fume Extractor stand. The main structure consists of two thick, rectangular legs joined at an obtuse angle to form a V-shape. Each leg is 8mm thick. The legs are designed to support a 120mm case fan. On the rear face of the assembly, create a circular opening with a diameter of 136mm to...
w=8; union(){ difference(){ translate([56.34,-50.5,-155])rotate([90,0,0])linear_extrude(height=9.5) difference(){ polygon([[0,0],[-43.6,120],[-330-43.6,0],[-43.6,0]]); translate([-21.4,15,0])polygon([[0,0],[-43.6,120],[-330-43.6,0],[-43.6,0]]); } translate([-340,-80,-170])cube([300,50,50]); rotate([0,70,0])translate([...
glb/cad_ec99ce66973e.glb
Create a 3D printing and solder fume extractor housing designed for a 120mm case fan. The main structure consists of a base and a supporting frame. The base must include a dedicated hole for a power toggle switch and a circular opening for a 12VDC power jack, with an enclosed internal cavity to hide wiring. In the le...
w=8; mirror([0,1,0])difference(){ translate([56.34,-50.5,-155])rotate([90,0,0])linear_extrude(height=9.5) difference(){ polygon([[0,0],[-43.6,120],[-330-43.6,0],[-43.6,0]]); translate([-21.4,15,0])polygon([[0,0],[-43.6,120],[-330-43.6,0],[-43.6,0]]); } translate([-340,-80,-170])cube([300,50,50]); rotate([0,70,0])trans...
glb/cad_258200d881a6.glb
Create a Canon NB-4L battery adapter by starting with a central rectangular block measuring 35mm wide, 40mm deep, and 6mm thick. At the front face, centered horizontally and positioned 12.5mm back from the front edge, carve out a rectangular hole 8mm wide, 15mm deep, and 3.6mm high to accommodate a female servo conne...
difference() { cube(size=[35,40,6],center=true); translate(v=[-35/2+1,40/2-1,1.5]) cube(size=[2,2,3],center=true); translate(v=[35/2-0.5,40/2-1,1.5]) cube(size=[1,2,3],center=true); translate(v=[35/2-2.5/2-3.5,40/2-3/2+0.5,0]) #cube(size=[2.5,3,3.6],center=true); translate(v=[35/2-2.5/2-7,40/2-0.5/2,0]) #cube(s...
glb/cad_bba786c7955e.glb
Create a bed clip for a Printrbot LC V1. Start by constructing the main body as a 20mm tall extruded profile. This profile begins at the origin and follows a path through these coordinates: [0,0], [0,-5], [26,-5], [26,-11], [2,-11], [2,-14.9], [-4,-14.9], [-4,-19], [11,-19], [11,-13], [28,-13], [28,-3], [12,-3], and [1...
w=8.1; difference(){ rotate([270,0,0])linear_extrude(height=20)polygon([[0,0],[0,-5],[26,-5],[26,-11],[2,-11],[2,-14.9],[-4,-14.9],[-4,-19],[11,-19],[11,-13],[28,-13],[28,-3],[12,-3],[12,0]]); translate([6,10,2.2])linear_extrude(height=2.9)polygon([[w/2,w*sqrt(3)/6],[0,w*sqrt(3)/3],[-w/2,w*sqrt(3)/6],[-w/2,-w*sqrt(3...
glb/cad_2e65b74243d4.glb
Create a Printrbot LC V1 Bed Clip by extruding a specific 2D profile to a height of 10mm. The profile is defined by a polygon with vertices at [10,-1], [10,-8], [0,-8], [0,-10], [10,-10], [10,-16], [12,-16], [12,1], [0,0], and [0,-3], with a final point at [1,-2] to close the shape. This results in a geometric clip fea...
linear_extrude(height=10)polygon([[10,-1],[10,-8],[0,-8],[0,-10],[10,-10],[10,-16],[12,-16],[12,1],[0,0],[0,-3],[1,-2]]);
glb/cad_ca74aa5b8093.glb
Create a Printrbot LC V1 Bed Clip by constructing a profile and extruding it 20mm along the X-axis. The profile is a complex polygon defined by the following coordinates on a 2D plane: start at (0,0), move to (0,-5), then to (26,-5), (26,-11), (2,-11), (2,-17.5), (-4,-17.5), (-4,-21.5), (11,-21.5), (11,-13), (28,-13), ...
w=8.1; difference(){ rotate([270,0,0])linear_extrude(height=20)polygon([[0,0],[0,-5],[26,-5],[26,-11],[2,-11],[2,-17.5],[-4,-17.5],[-4,-21.5],[11,-21.5],[11,-13],[28,-13],[28,-3],[12,-3],[12,0]]); translate([6,10,2.2])linear_extrude(height=2.9)polygon([[w/2,w*sqrt(3)/6],[0,w*sqrt(3)/3],[-w/2,w*sqrt(3)/6],[-w/2,-w*sq...
glb/cad_d09c8e6e0855.glb
Create a Printrbot LC V1 Bed Clip by constructing a complex profile and extruding it 20mm along the Y-axis. The profile is defined by a series of connected rectangular sections: start with a rectangle from (13, 0) to (26, -5), extend it to (26, -11) and (16, -11), then drop to (16, -15) and (5, -15), before extending t...
w=8.1; difference(){ union(){ rotate([270,0,0])linear_extrude(height=20)polygon([[13,0],[13,-5],[26,-5],[26,-11],[16,-11],[16,-15],[5,-15],[5,-19],[25,-19],[25,-13],[28,-13],[28,-3],[25,-3],[25,0]]); translate([0,11,0])rotate([270,0,0])linear_extrude(height=9)polygon([[13,0],[13,-5],[26,-5],[26,-11],[5,-11],[5,-19]...
glb/cad_f33a43e57e76.glb
Create a Printrbot LC V1 Bed Clip by constructing a base profile and extruding it to a height of 20mm. The profile is a complex polygon defined by the following coordinates: start at [13, 0], move to [13, -5], then to [26, -5], [26, -11], [16, -11], [16, -15], [5, -15], [5, -19], [25, -19], [25, -13], [28, -13], [28, -...
w=8.1; mirror([90,0,0]){ difference(){ union(){ rotate([270,0,0])linear_extrude(height=20)polygon([[13,0],[13,-5],[26,-5],[26,-11],[16,-11],[16,-15],[5,-15],[5,-19],[25,-19],[25,-13],[28,-13],[28,-3],[25,-3],[25,0]]); translate([0,11,0])rotate([270,0,0])linear_extrude(height=9)polygon([[13,0],[13,-5],[26,-5],[26,-...
glb/cad_6743dc38839e.glb
Create a Printrbot LC V1 Bed Clip by constructing a complex profile extruded to a height of 20mm. The profile is defined by a series of connected segments: start at [13, 0], move to [13, -5], then to [26, -5], [26, -11], [16, -11], [16, -17.5], [5, -17.5], [5, -21.5], [25, -21.5], [25, -13], [28, -13], [28, -3], [25, -...
w=8.1; difference(){ union(){ rotate([270,0,0])linear_extrude(height=20)polygon([[13,0],[13,-5],[26,-5],[26,-11],[16,-11],[16,-17.5],[5,-17.5],[5,-21.5],[25,-21.5],[25,-13],[28,-13],[28,-3],[25,-3],[25,0]]); translate([0,11,0])rotate([270,0,0])linear_extrude(height=9)polygon([[13,-5],[26,-5],[26,-11],[5,-11],[5,-21...
glb/cad_75bcebc822d5.glb
Create a simple round magnet holder by starting with a main cylindrical body that is 30mm in diameter and 8mm high. Hollow out the center of this body by removing a cylinder with a diameter of 27mm, starting from a height of 1.5mm from the base and extending through the top. Inside this central cavity, place a smaller ...
Body_height = 8; Body_diameter = 30; Magnet_thickness = 2; Magnet_diameter = 10; Height_tolerance = 0.1; Diameter_tolerance = 0.2; Resolution = 70; difference(){ cylinder(h=Body_height, d=Body_diameter, $fn = Resolution); translate([0,0,1.5]) cylinder(h=Body_height, d=Body_diameter-3, ...
glb/cad_8b9fefe79aea.glb
Create a simple round magnet holder by starting with a solid cylinder that has a diameter of 30mm and a height of 8mm. From the top face of this cylinder, remove a smaller concentric cylindrical volume to create a hole for the magnet. This hole should have a diameter of 20.4mm and a depth of 2mm, leaving a solid base a...
Body_height = 8; Body_diameter = 30; Magnet_thickness = 2; Magnet_diameter = 20; Height_tolerance = 0.1; Diameter_tolerance = 0.2; Resolution = 100; difference(){ cylinder(h=Body_height, d=Body_diameter, $fn = Resolution); translate([0,0,Body_height-Magnet_thickness-Height_tolerance]) c...
glb/cad_0cbf9d58ea6e.glb
Create a tablet holder for a 7-inch screen. Start with a main base block measuring 198mm wide, 19mm deep, and 90mm high, featuring rounded corners with a 4mm radius. Carve out a central rectangular cavity for the tablet measuring 191.5mm wide, 13mm deep, and 90mm high. In the front face, create a screen opening 180mm...
$fn=60; difference(){ translate([-99,-7.5,-40]) roundedcube(198,19,90,4); translate([0,0,7.5]) cube([191.5,13,90], center=true); translate([-90,0,-35]) rotate([90,0,0]) roundedcube(180,92,10,3); translate([0,20,50]) rotate([90,0,0]) cylinder(20,80,80, $fn=6); translate([-100,-5,3]) rotate([0,9...
glb/cad_d45afaef0cbe.glb
Create a tablet holder for a 7-inch screen. Start with a base block that is 198mm wide, 15mm deep, and 17mm high, featuring rounded corners with a 4mm radius. Carve out a central rectangular cavity to hold the tablet, measuring 191.5mm wide, 10mm deep, and 90mm high, centered within the base. At the front of the hold...
$fn=60; difference(){ translate([-99,-7.5,-40]) roundedcube(198,15,17,4); translate([0,0,8.5]) cube([191.5,10,90], center=true); translate([-90,0,-35]) rotate([90,0,0]) roundedcube(180,92,10,3); translate([27,-5,-45]) rotate([0,0,0]) roundedcube(65,9,16,4); } module roundedcube(xdim, ydim, zdim, r...
glb/cad_b9085ed58aec.glb
Create a roller clamp for flexible tubing consisting of two coaxial cylinders. First, create a wide, low-resolution base cylinder with a radius of 1.9mm, a height of 19mm, and 20 facets. Centered on top of this base, add a second, thicker cylinder with a radius of 7mm, a height of 7mm, and 40 facets. Position the base ...
union(){ cylinder(7,7,7,$fn=40); translate([0,0,-6])cylinder(19,1.9,1.9, $fn=20); }
glb/cad_a31724436af8.glb
Create a roller clamp for flexible tubing by constructing a main body with a central channel. The overall outer footprint is a complex polygon extending from x=-40 to x=24 and y=-6 to y=16. The base structure is formed by extruding a profile that includes a wide section from x=-40 to x=-22 with a height of 16mm, and a ...
difference(){ union(){ translate([0,0,-2.5])linear_extrude(height=13)polygon([[-40,16],[-40,-6],[-33,-6],[-30,-4],[24,-4],[24,11],[-21,13],[-26,16]]); translate([0,0,8])linear_extrude(height=8)polygon([[24,-4],[-30,-4],[-33,-6],[-40,-6],[-40,11],[-32,11],[-22,4],[24,4]]); translate([0,0,-8])linear_extrude(height=8)...
glb/cad_063071af0d21.glb
Create a Roller Clamp for Flexible Tubing consisting of two coaxial cylinders of different heights and diameters. First, create a wide, short base cylinder with a radius of 7.5mm and a height of 7mm, using a 40-facet resolution for a smooth circular profile. Then, create a second, thinner cylinder with a radius of 1.9m...
union(){ cylinder(7,7.5,7.5,$fn=40); translate([0,0,-6])cylinder(19,1.9,1.9, $fn=20); }
glb/cad_88490e5fe93f.glb
Create a sculpture called a Fetish Bob. Start by creating a base shape consisting of a sphere with a radius of 10mm, scaled by a factor of 4 along the X-axis, 1 along the Y-axis, and 0.5 along the Z-axis. From this main body, remove several geometric volumes to carve the form: place a large cube of 100mm per side at po...
difference(){ scale([4,1,0.5]){sphere(10,$fn=60);} union(){ translate([3,-50,-50]){cube ([100,100,100]);} translate([-50,-50,-100]){cube ([100,100,100]);} translate([-103,-50,2.5]){cube ([100,100,100]);} translate([-130,-50,-50]){cube ([100,100,100]);} translate([-22,0,-50]){scale([0.5,2,1]){cyl...
glb/cad_93e479a5b18a.glb
Create a model named STUFFING consisting of two identical rectangular prisms. First, create a rectangular prism with dimensions of 20mm in length, 4mm in width, and 1mm in height. Position a second identical rectangular prism of 20mm by 4mm by 1mm parallel to the first, offset by 4mm along the width axis and 4mm along ...
cube(size = [20,4,1], center = true/false); translate([4,5,4]) cube(size = [20,4,1], center = true/false); translate([18,2,5])circle($fn = 1000, $fa = 1200, $fs = 1100, r = 0.75, y= 10);
glb/cad_6f0b19c3f80c.glb
Create a knob cap by constructing a cylinder with a radius of 5mm and a height of 15mm, using a 32-facet resolution. Soften the edges of this cylinder by applying a 2mm spherical fillet to all surfaces. To create the interior cavity, remove a central cylinder with a radius of 3.1mm and a height of 15mm. Additionally, c...
$fn=32; difference() { union() { difference() { minkowski() { sphere(r=2); cylinder(r=5, h=15); } translate([0, 8.5, 8.5]) { cube([2, 17, 17], center=true); } } scale([0.8, 0.8, 0.8]) { ...
glb/cad_6d0ed435a109.glb
Create a rectangular magnetic base for miniatures. The overall footprint is based on a grid of 25mm squares, specifically 2 squares wide by 2 squares long (50mm x 50mm). Construct the main body as a rectangular frame with a thickness of 6mm. The center of the base is hollowed out, leaving a solid outer border. Within...
x = 2; y = 2; hollow = "true"; braces = 0; edge = 12.5; left_edge = "false"; right_edge = "false"; front_edge = "false"; back_edge = "false"; magnet_hole = 5.5; filament_wire_hole = 0.975; paperclip_wire_hole = 0; ckit_squares = "false"; square_basis = 25; module wire_holes(x,y,square_basis, filament_wi...
glb/cad_f67ac3003fa8.glb
Create a Lightning Letter model consisting of a thin base plate and a raised letter. Start by creating a square base plate measuring 33mm by 33mm with a thickness of 1mm. On top of this base, add a 3D letter "T" centered on the plate. The letter should be scaled to fit within the 33mm width of the base, with a thickn...
$fn=500; use <transformlib2d.scad> thickness = 1; width = 33; length = 33; wall_thickness = 1; height = 15; letter_overhang = 1; offset = 4; stripe_height = 0.4; stripe_width = 10; component = "letter"; letter = "T"; module Letter(letter, size=30, thickness=1) { text(letter, ...
glb/cad_7983eadbe0c5.glb
Create an RV Push Latch strike plate. Start with a rectangular base measuring 56mm in length, 7.8mm in width, and 3.8mm in height. This base should have two mounting holes, each 3.25mm in diameter, positioned centrally along the width; one hole is located 3mm from the left edge and the other is 10mm from the right edge...
width=7.8; height1=3.8; height2=6.5; height3=20.7; cylinderR=6/2; latchCylinderR=5.5/2; module baseHole(){ holeR=3.25/2; union(){ cylinder(r=holeR, h=2*height1, $fn=16); translate([7-2*holeR,0,0]) cylinder(r=holeR, h=2*height1, $fn=16); translate([0,-holeR,0]) cube([7-2*holeR,holeR*2,height1*2]); } } modu...
glb/cad_7b37880a5e91.glb
Create a customizable idler pulley consisting of two identical components. For each component, start by creating a thin circular guard disk with a radius of 9.1mm and a thickness of 1.3mm. Center a hole with a diameter of 5mm through the entire thickness of this disk. On the first component, add a concentric cylinder e...
Radius = 12.2/2; GuardSize = 3; Outer = Radius+GuardSize; Height = 6.9; Guard = 1.3; Hole = 5; Spacing = 2; Circ=2*Radius*PI; N=Circ/Spacing; Arc=360*(Circ/N)/Circ; module polyhole( d, h ) { n = max( round( 2 * d ), 3 ); rotate( [0, 0, 180] ) cylinder( h = h, r = ( d / 2 ) / cos( 180 / n ), $fn = n ); } difference()...
glb/cad_f5817ceedced.glb
Create a nameplate that reads "Ms. Bakker" using a script-style font like "Permanent Marker". Extrude the text to a height of 10mm. To ensure the letters are connected into a single piece, create a thin rectangular base bar that runs along the bottom of the text. This bar should have a thickness of 4mm (8% of the fon...
textstring="Ms. Bakker"; fontname="Permanent Marker"; RoundedBase=0; do_shift_font="automatic"; textsize=50; textheight=10; baseheight_percent=3; baseheight=textheight*baseheight_percent; basethickness_percent=0.08; basethickness=textsize*basethickness_percent; font_catch_diacritical_sign=2.3; base_radius_add_...
glb/cad_95a33f9db67a.glb
Create an LED holder by starting with a solid cylinder 27.3mm in diameter and 7mm high. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a diameter of 24.3mm and a height of 4mm, starting from a base thickness of 3mm from the bottom. Cut a rectangular notch through the side wall of ...
wid=24.3; thght=7; tbottom=3; twallthk=3; tail=7; twid=wid+twallthk; outercylr1=twid/2; innercylr1=wid/2; botoff = tbottom; walloff = twallthk / 2; botsize = thght-tbottom; $fn=120; difference() { cylinder(h=thght, r1=outercylr1, r2=outercylr1, center=false); translate([0,0,botoff]) cylinder(h=thght...
glb/cad_2c3c4b9bfdf9.glb
Create an LED box mount by starting with a rectangular base block measuring 57.5mm in length, 13.5mm in width, and 7mm in height. Hollow out the center of this block to create a rectangular cavity 54.5mm long, 10.5mm wide, and 4mm deep, leaving a bottom floor thickness of 3mm and wall thicknesses of 1.5mm. At both th...
len=54.5; wid=10.5; thght=7; tbottom=3; twallthk=3; tail=6; gapwidth=wid-2; innergapwidth=wid-2; innergaplen = 4; tlen=len+twallthk; twid=wid+twallthk; botoff = tbottom; walloff = twallthk / 2; botsize = thght-tbottom; difference() { cube([tlen,twid,thght], center=false); translate([walloff,walloff,...
glb/cad_730fcff8d7e5.glb
Create a Tri-Spinner Fidget Toy by constructing a central hub with three extending arms. Start with a central cylinder 7mm high with a radius of 13.05mm. From this center, create three identical arms spaced 120 degrees apart. Each arm is formed by the convex hull of the central cylinder and a second cylinder of the sam...
bearing_dia=22.1; bearing_thickness=7; wall_thickness=2; $fa=1*1; $fs=.5*1; outer=bearing_dia/2 + wall_thickness; inner=bearing_dia/2; arm=inner*2+wall_thickness; difference() { for(n = [1:3]) { rotate([0,0,n*120]) { hull() { translate([0,0,0]) cylinder(r=outer, h=bearing_thickness, center=fal...
glb/cad_d10eefd5d9c4.glb
Create a Seven Chambered Dice Holder. Start by constructing a circular base with an outer radius of 38.4175mm and a height of 12.7mm. Hollow out the center of this base with a concentric cylinder of radius 36.83mm and the same height, leaving a thin outer wall. Inside this base, arrange seven hexagonal chambers. Each ...
union() { rotate([0, 0, 30]) { difference() { cylinder(center = true, r1 = 14.2875, r2 = 14.2875, h = 15.875, $fn = 6); scale(v = [1, 1, 2]) { cylinder(center = true, r1 = 12.7, r2 = 12.7, h = 15.875, $fn = 6); } } } ...
glb/cad_f49a5018e236.glb
Create a Seven Chambered Dice Holder by constructing a hollowed-out cylinder. Start with an outer cylinder that has a radius of 40.40 mm and a height of 25.4 mm. From the center of this volume, remove a smaller concentric cylinder with a radius of 38.81 mm and the same height of 25.4 mm to create a thin-walled vessel. ...
rotate([0, 180, 0]) { mirror([0, 0, 1]) { translate(v = [0, 0, -3.175]) { difference() { cylinder(center = true, r1 = 40.401875, r2 = 40.401875, h = 25.4, $fn = 90); translate(v = [0, 0, 3.175]) { cylinde...
glb/cad_37503eaf8faa.glb
Create a Radus Prusa i2 Vertical X-end X-carriage Extruder mount. Start with a central rectangular block measuring 34mm in width (X), 20mm in depth (Y), and 70mm in height (Z). Integrate a vertical cylindrical housing on the right side with an outer diameter of 19mm and an inner bore of 15mm to accommodate a bearing....
m3d=3+0.4; m3r=m3d/2; m4d=4+0.4; m4r=m4d/2; m5d=5+0.4; m5r=m5d/2; m3nd = 6.2+0.4; m3nr = m3nd/2; m3nh=2.8; m5nd = 9+0.3; m5nr = m5nd/2; m5nh=4; m6d=5.9+0.4; m6nd=11.4+0.4; m6nh=5; m8d=7.8+0.3; m8dh=m8d-0.1; m8nd=14.5+0.3; m8nh=6.5; sbd = 8+0.3; sbr = sbd/2; iy=30.5-1.8-6.5; hz=70; hy=20; hs=50; td=m8d; tnd=m...
glb/cad_881a49343672.glb
Create a Radus Prusa i2 Vertical X-end X-carriage Extruder mount. Start with a central rectangular block measuring 30mm in width, 20mm in depth, and 70mm in height. On one side, integrate a vertical cylindrical housing with a diameter of 19mm (bearing size) and a height of 70mm to accommodate an LM8UU linear bearing....
m3d=3+0.4; m3r=m3d/2; m4d=4+0.4; m4r=m4d/2; m5d=5+0.4; m5r=m5d/2; m3nd = 6.2+0.4; m3nr = m3nd/2; m3nh=2.8; m5nd = 9+0.3; m5nr = m5nd/2; m5nh=4; m6d=5.9+0.4; m6nd=11.4+0.4; m6nh=5; m8d=7.8+0.3; m8dh=m8d-0.1; m8nd=14.5+0.3; m8nh=6.5; sbd = 8+0.3; sbr = sbd/2; iy=30.5-1.8-6.5; hz=70; hy=20; hs=50; td=m6d; tnd=m...
glb/cad_5303ed14bdbd.glb
Create a Radus Prusa i2 Vertical X-end X-carriage Extruder mount. Start with a central rectangular block measuring 54mm in width, 81mm in height, and 11mm in depth. At the top and bottom centers of the block's height, integrate two horizontal cylinders with a diameter of 19.1mm and a length of 54mm. Subtract a centra...
m3d=3+0.4; m3r=m3d/2; m4d=4+0.4; m4r=m4d/2; m5d=5+0.4; m5r=m5d/2; m3nd = 6.2+0.4; m3nr = m3nd/2; m3nh=2.8; m5nd = 9+0.4; m5nr = m5nd/2; m5nh=4.2; sbd = 8+0.3; sbr = sbd/2; hs=50; bh=25; hz=11; hx=bh+bh+2+2; hy=hs+15+6+6; bd=15.1; gt2_22d=11.9; t25_16d=10.7; id_dia=13; pl_dia=gt2_22d; belth=1.4; st=2; ky=2;...
glb/cad_b92e5802155a.glb
Create a Spur and Gear set for a Vaterra Ascender consisting of two meshing double-helix gears. First, create a large spur gear with 64 teeth and a circular pitch of 126. The gear should have a hub thickness of 5mm and a central bore with a radius of 2.5mm. To refine the shape, remove a cylinder with a radius of 100m...
CIRCULAR_PITCH_DEF = 126; TEETH_1 = 64; TEETH_2 = 16; DISTANCE_BETWEEN_CENTERS = 30.5; TWIST_DEF = 400; SPUR_ROTATE_DEGREES = 3; meshing_double_helix (); pi=3.1415926535897932384626433832795; module meshing_double_helix () { translate([DISTANCE_BETWEEN_CENTERS,0,0]) rotate([0,0,SPUR_ROTATE_DEGREES]) d...
glb/cad_9b9cad9ce0fc.glb
Create a radial load bearing ratchet consisting of two concentric rings. First, construct an outer ring with an outer diameter of 55mm, a height of 5mm, and a wall thickness of 4mm. This outer ring must have five equidistant radial slots cut through it. Each slot is formed by a rectangular cutout that removes a section...
use <RatchetLib.scad>; inner_ring_diameter=40; inner_ring_height=5; inner_ring_thickness=8; outer_ring_diameter=55; outer_ring_height=5; outer_ring_thickness=4; arm_type="straight"; arms=5; teeth_multiple=1; arm_height=5; arm_head_width=2; arm_head_length=12; arm_shaft_width=1; ratchet_direction="counter-clockwise"...
glb/cad_550726afdaf6.glb
Create a radial load bearing ratchet consisting of two concentric rings. First, construct an inner ring with an outer diameter of 40mm, a height of 5mm, and a wall thickness of 8mm. This inner ring must feature three evenly spaced ratchet teeth designed for counter-clockwise movement. Each tooth is formed by a head 2mm...
use <RatchetLib.scad>; inner_ring_diameter=40; inner_ring_height=5; inner_ring_thickness=8; outer_ring_diameter=55; outer_ring_height=5; outer_ring_thickness=4; arm_type="straight"; arms=3; teeth_multiple=1; arm_height=5; arm_head_width=2; arm_head_length=3; arm_shaft_width=1.2; ratchet_direction="counter-clockwise...
glb/cad_ef7ca1b1382e.glb
Create a Water Inlet part consisting of a main cylindrical body and a tiered top attachment. The main body is a cylinder with a radius of 8mm and a height of 26mm. This body is hollowed out by a central vertical cylinder with a radius of 7mm, starting 2mm from the base and extending to a height of 22mm. Perforate the w...
module move(x=0,y=0,z=0,rx=0,ry=0,rz=0) { translate([x,y,z])rotate([rx,ry,rz]) children(); } $fn=50; internal_pipe_r = 2; flange_r = 3.7; module water_inlet_fixing() { cylinder(r=3, h=10); move(z=10) cylinder(r1=flange_r, r2=internal_pipe_r+1, h=5); move(z=15) cylinder(r1=flange_r, r2=internal_pipe_r+...
glb/cad_b311d22bc6a0.glb
Create a Pizza Wheel Cover by starting with a main body formed from the convex hull of a cylinder with a radius of 41mm and a height of 11mm, and a rectangular block measuring 5mm by 60mm by 15mm. From this volume, remove a central cylindrical cavity with a radius of 38.5mm and a height of 3mm. Carve out a bolt hole by...
internal_pizz_wheel_cavity_dia=77; module main_cover() { rotate([0,-90,0]) difference() { hull() { cylinder(r=(internal_pizz_wheel_cavity_dia/2) + 2.5, h=11, center=true); translate([-42,0,0]) cube([5,60,15],center=true); } hull() { cylinder(r=internal_pizz_wheel_cavity_di...
glb/cad_d1cf883a1b46.glb
Create a quad line kite end cap by starting with a solid cylinder 10mm in diameter and 40mm in length. Drill a central longitudinal hole 7mm in diameter through the middle of the cylinder, extending it 20mm deep from the base. To complete the part, add two perpendicular cross-holes, each 3mm in diameter and 20mm long, ...
$fn=50; dia = 10; inner_dia = 7; length = 40; hole_length = 20; difference (){ cylinder(h=length,d=dia); cylinder(h=hole_length*2,d=inner_dia,center=true); translate([-10,0,length-3]) rotate([0,90,0]) cylinder(h=20,d=3); translate([0,10,length-7]) rotate([90,0,0]) cylinder(h=20,d=3); }
glb/cad_930da27c3e24.glb
Create a servo holder for a prop stopper. Start with a solid rectangular block measuring 39mm in length, 12.9mm in width, and 35.5mm in height. Carve out a central rectangular cavity to accommodate a servo. This cavity is based on a servo body with a main block of 13mm by 24mm by 27mm, featuring a protruding tab of 1...
lhsOrRhs=1; $fn=50; a=29.5; b=24; c=27; d=13; e=33; f=16.5; h=27.5; i=20; j=6; mountingHoleDiameter=2; mountingHoleDepth=19; splineShaftDiameter=10; splineShaftHeight=20; cableHeight=4; cableWidth=8; cableLength=15; module body() { cube([d,b,c],center=false); translate([0,-(e-b)/2,f]) { cube([d,e,(i-f)],cente...
glb/cad_f156d7bbd156.glb
Create a VESA mount system consisting of a base plate and a pipe clamp. Start by creating a square base plate 100mm wide and 100mm deep with a thickness of 6mm. At the four corners of this plate, place four holes with a diameter of 4.5mm to accommodate M4 screws. Centered on top of the base plate, add a square block t...
$fn=50; fudge = 0.01; module FilletProfile(th=5,r=5) { translate([-r,-r,-0.1]) cylinder(r=r,h=th+0.2); } module Fillet(th=5,r=5,fudge=0) { difference() { translate([-r,-r,0]) cube([r+fudge*2,r+fudge*2,th]); FilletProfile(th=th,r=r); } } module CornerRounder(th=5,r=5) { tra...
glb/cad_7153e83ca5c6.glb
Create a bracket for a camper table by starting with a base shape formed from a polygon with vertices at [0,4], [30,4], [30,49], [50,49], [50,60], and [20,60], then extrude this profile to a height of 15mm. Apply a 4mm fillet or radius to all exterior edges and corners of this extruded volume to soften the geometry. Bo...
$fn=50; r=4; w=15; difference(){ minkowski() { linear_extrude(height = w) polygon(points=[[0,0+r],[30,0+r],[30,45+r],[50,45+r],[50,60],[20,60]]); cylinder(r=r,h=1); } color("red") translate([10,-2,w/2]) rotate([270,0,0]) cylinder(d=4,h=100); color("green") translate([10,20,w/2]) rotate([270,0,0]) cylind...
glb/cad_54ff4a1015c9.glb
Create a Customizable Grate Box with overall outer dimensions of 150mm in width, 150mm in depth, and 100mm in height. The box is an open-top container formed by five intersecting grate panels. Each panel consists of a lattice of thin rectangular pickets, each 4mm thick and 2mm wide. Construct the four side walls and ...
size_x = 150; size_y = 150; size_z = 100; space = 40; thickness = 4; side_width = 2; module box_side(width=100,height=100) { sqrt2 = sqrt(2); translate([-height,0,0]) union() { difference() { union() { for(pos_x=[0:(width+height)/space]) { translate([p...
glb/cad_38c347a2779e.glb
Create a customizable round box with a separate lid. For the main box, construct a rectangular shell with a width of 95mm, a length of 50mm, and a height of 20mm, applying a corner radius of 10mm to all vertical edges. Hollow out the interior of the box to a depth of 19mm, leaving a bottom wall thickness of 1mm and sid...
$fn = 200; length = 50; width = 95; height = 20; cornerRadius = 10; standoff(); translate([width-2*cornerRadius,0,0]) standoff(); translate([0,length-2*cornerRadius,0]) standoff(); translate([width-2*cornerRadius,length-2*cornerRadius,0]) standoff(); difference() { roundedBox(...
glb/cad_520266961b33.glb
Create a rounded rectangular box with external dimensions of 95mm width, 50mm length, and 20mm height. The box should have a corner radius of 10mm. Hollow out the interior to create a shell with a wall thickness of 1mm and a floor thickness of 1mm. Inside the box, place four cylindrical standoffs at the corners. Each...
$fn = 200; length = 50; width = 95; height = 20; cornerRadius = 10; standoff(); translate([width-2*cornerRadius,0,0]) standoff(); translate([0,length-2*cornerRadius,0]) standoff(); translate([width-2*cornerRadius,length-2*cornerRadius,0]) standoff(); difference() { roundedBox(...
glb/cad_66279062f378.glb
Create a customizable round box with a lid. For the main body, construct a rectangular prism with a length of 50mm, a width of 95mm, and a height of 20mm, applying a corner radius of 10mm to all vertical edges. For the lid, create a matching rounded rectangular plate with a thickness of 1mm and the same 10mm corner rad...
$fn = 200; length = 50; width = 95; height = 20; cornerRadius = 10; mirror([0,1,0]) { roundedBox(length, width, 1, cornerRadius); difference() { translate([1,1,0]) { roundedBox(length-2,width-2,4,cornerRadius); } translate([2,2,0]) { roundedBox(length-4,width-4,...
glb/cad_a6409aacb08b.glb
Create a Parametric Flexible Strap by constructing a main body that is 70mm long, 12mm wide, and 1.25mm thick. The body is formed by a central rectangular block with a width of 12mm and a length of 70mm, capped at both ends by cylinders with a diameter of 12mm and a height of 1.25mm. Along the center axis of the stra...
numSpots = 8; numMales = 1; strapCirc = 70; strapWidth = 12; strapThick = 1.25; $fn = 80; hole = max(5, strapWidth/4); hole = min(10, strapWidth/4); module strap(c, w, t) { totalC = c + w/2; stepX = totalC / (numSpots-1); difference() { union() { hull() { cube([c, w, t], center = tr...
glb/cad_9ac348658354.glb
Create a Land Rover Fuel Sender Wrench consisting of a hollow cylinder and a separate handle. The main cylinder has an outer diameter of 66mm, an inner diameter of 50mm, and a total height of 10mm. The bottom 5mm of this cylinder is perforated by six rectangular gaps, each 4mm wide, spaced evenly every 60 degrees aroun...
$fa = 4; $fs = 1; $dt = 0.001; tolerance = 0.5; holes_height = 5; holes_width = 4; cylinder_height = 10; cylinder_outer_diameter = 66; cylinder_inner_diameter = 50; turning_handle_width = 18; turning_handle_height = 30; cylinder_top_layer_height = cylinder_height - holes_height; slot_width = (cylinder_outer_...
glb/cad_64fa46f4ddb2.glb
Create a roller bearing consisting of a main housing and a matching cover. For the housing, create a cylinder with a diameter of 14mm and a height of 11mm. Remove a central vertical cylinder with a diameter of 9.2mm to create the main axis bore. Around this central bore, create six vertical holes to hold the rollers; e...
axis_diam=6; needle_diam=3; needle_length=10; house_diam=14; height=11; needle_hole_diam=3.3; needles=6; needle_pos_diam=axis_diam/2+needle_diam/2; difference(){ cylinder(height,house_diam/2 ,house_diam/2 , $fn=40); for (i= [0:needles]) { translate([sin(360*i/needles)*needle_pos_diam, cos(360*i/needles)*needle_pos...
glb/cad_f3efdc28de3b.glb
Create a roller bearing assembly consisting of a cage, an inner house, and an outer house. First, construct the cage as a cylinder with a height of 9.14mm and an outer diameter of 7.71mm. Remove a central cylindrical core with a diameter of 7.4mm. Around this core, create 6 equidistant vertical holes for the rollers,...
axis_diam=6.4; needle_diam=3; needle_length=8; house_diam=16; height=12; needle_hole_diam=3.4; needles=6; space4flanges=height-needle_length; flange_height=space4flanges/7; space_between_flanges=(space4flanges/7)/4; cage_height=needle_length+2*(space4flanges/7); cage_id=axis_diam+1+4*(needle_hole_diam-needle_diam); c...
glb/cad_232b1a1011ff.glb
Create an improved Y-axis belt fixation clamp by constructing a central rectangular block 13mm wide, 9mm deep, and 4.5mm high, centered on the origin. Attach two cylinders to the left and right ends of this block; each cylinder must have a radius of 4.5mm and a height of 4.5mm. Through the center of these two cylinders...
$fn=200; difference() { union() { translate([-6.575, 0, 0]) { cylinder(r=4.5, h=4.5); } translate([0, 0, 2.25]) { color("blue") cube([13.0, 9.0, 4.5], true); } translate([6.575, 0, 0]) { cylinder(r=4.5, h=4.5); ...
glb/cad_76c7421d864e.glb
Create a Customizable Tilt LCD Mount consisting of two identical mirrored mounting plates. Each plate is a cylinder with a radius of 28mm and a thickness of 5mm. On the flat face of each cylinder, create a central rectangular slot 6mm wide and 56mm long to accommodate a sheet. This slot should be cut entirely through...
Sheet_thickness=6; Mount_thickness=5; Tilt_angle=45; Screw_nut=1; thick=Mount_thickness; angle=Tilt_angle; snO=Screw_nut; epsilon=0.1; $fn=40; pcbT=1.8; pcbW=56; screwR=3/2; screwOffset=1; nutT=3; acrylicT=Sheet_thickness; sdL=5; sdW=35; screwY=pcbW/2-screwR-screwOffset; arcW=pcbW-5*2; arcH=pcbW*1.1; p1R=radius...
glb/cad_f7216b99ac2d.glb
Create a shower diverter forced-on tool by starting with a main outer cylinder that has a diameter of 16.32mm and a total height of 44.15mm. Remove a complex internal void from this cylinder to create a hollow shell. This internal void is composed of three joined sections: a central cylinder with a diameter of 8.16mm a...
inner_d=8.16; wall_outer_d=15.86; wall_flange_l=5; outer_flange_l=8.38; outer_flange_d=22.88; length=35.77; $fn=30; offset_l=20; module button(){ union(){ hull(){ cylinder(h=length, d=inner_d, center=true); translate([offset_l,0,0]) cylinder(h=length, d=inner_d, center=true); ...
glb/cad_3da045ef7122.glb
Create a case for a USB AVR programmer by first constructing a solid block with a rounded top and bottom. This main body is formed by the convex hull of two cylinders, each with a radius of 5mm and a height of 44mm, positioned 16mm apart along the x-axis and centered 3mm from the y-axis. From this solid, remove a recta...
difference() { hull() { translate([0,3,0])cylinder(r=5,h=44); translate([16,3,0])cylinder(r=5,h=44); } translate([0,0,2,]) cube([16,6,40]); translate([(16-12.2)/2,(6-5)/2,0]) cube([12.2,5,2]); translate([0,-1,33,]) cube([16,6,40]); }
glb/cad_24e113a27909.glb
Create a magnet flowerpot by starting with a sphere 70mm in diameter. Hollow out the center by removing a smaller concentric sphere with a diameter of 65mm. Create a circular opening at the top by removing a horizontal slice of the sphere using a cube that spans the full diameter, positioned so that the top 15% of the ...
diameter=70; magnet_diameter=10; magnet_height=5; thickness=5; magnet_translation=0.2 * magnet_diameter + 3; module body() { difference() { sphere(d=diameter, $fn=200); rotate([0, 90, 0]) translate([0, 0, diameter / 2]) cylinder(d=magnet_diameter + 1, h=diameter, cent...
glb/cad_8fac5da3894d.glb
Create a Seitenwache page holder by starting with a base elliptical plate 7mm thick, with a major radius of 35mm and a minor radius of 17.5mm. Add a rectangular block measuring 20mm by 20mm by 15mm to one side of the ellipse. From this combined volume, remove a vertical cylindrical hole with a radius of 10mm, centered ...
myR=35; cutR=10; thumbshiftup=3; outershiftx=21.4; outershifty=25; outercut=25; e_outshiftx=40; e_outshifty=19.9; outerElR=55; module elipse3d(xr, yr, myh) { scale([1, yr/xr]) cylinder(r=xr, h=myh); } rotate([0,0,90]) { difference() { union() { elipse3d(myR, myR/2, 7); translate([-10,0,0]) cube (size=[20,20,...
glb/cad_13995b23ea87.glb
Create a ball wheel for a robotic construction set consisting of a base plate and a separate sphere. For the base, start with a centered cube measuring 32mm by 32mm with a height of 4mm. On top of this base, center a cylinder with an outer diameter of 13mm and a height of 10mm. Hollow out this cylinder by removing a ce...
$fn = 100; translate([ 40, 0, -4.1 ]){ sphere(r = 8.2); } difference() { union(){ translate([ 0, 0, -11 ]){ cube([32,32,4],true); } translate([ 0, 0, -4.2 ]){ cylinder(13.00, 10.00, 10.00,true); } } sphere(r = 8.5); cube([3,40,8],true); c...
glb/cad_dd9d076d28ca.glb
Create a Key-Kitty Chain Ring with a total height of 2mm. Start by creating a flat, stylized cat head silhouette. At the top center, integrate a circular ring for a keychain; this ring should have an outer diameter of 7.5mm and a center hole diameter of 3.5mm. For the facial features, carve out two oval eyes. Each eye...
Ht = 2; Hole_ID = 3.5; Thk = 2.0; AddText = "no"; Name = "Cat"; Ft_Size = 5; Ft_Name = "Liberation Sans"; Ft_Style = "Bold"; Text_Ht = .5; Text_Y_Offset = 8; Text_Spacing = 1; Eye_OD = 9; Eye_Scale_Y = .5; Eye_Rot = 15; Whisker_OD = 1; Whisker_Res = 10; Ft_Type = str(Ft_Name,":style=",Ft_Style); Hole_OD ...
glb/cad_9eff16ca13f3.glb
Create a BuzzBox enclosure by starting with a solid rectangular block measuring 38mm in length, 24mm in width, and 13mm in height. Attach a second rectangular slab to the top, measuring 38mm by 33mm by 2mm, positioned 11mm up and offset 4.5mm along the width. Hollow out the center of the main body by removing a rectang...
module raw_cap () { cube(size = [38,24,13]); translate ([0,-4.5,11]) { cube([38,33,2]); } } module led_hole () { $fn = 30; cylinder(r = 1.5, h = 2); } difference () { raw_cap (); translate ([2, 2, 2]) { cube ([33.5,20,11]); translate ([-2,7,0]) { cube ([2,5,5]); } translate([33,5,4]) { cube([3...
glb/cad_a47db738c96c.glb
Create a T-shaped furniture junction consisting of three hollow rectangular sections. Start with a central rectangular block that is 36mm wide, 36mm high, and 36mm deep, with a wall thickness of 3mm. This central block should have a hollow square void of 30mm by 30mm running through its center. Extend two hollow rect...
type = "T"; lenth = 40; width = 30; height = 30; thickness = 3; if (type == "T") { difference(){ union() { branch(); translate([lenth,0,0]) { branch(); } } translate([height*-0.5+lenth,thickness,height+thickness]) { cube([height,width,thickness]); } } rotate([0,270,0]) { translate([h...
glb/cad_6be6a8799937.glb
Create a USB container by starting with a solid rectangular block measuring 34.5mm in width, 42.5mm in length, and 9mm in height. Hollow out the center of this block to create a shell with a uniform wall thickness of 0.9mm. Inside this shell, carve out two identical slots to hold USB drives. Each slot is formed by re...
case_width = 34.5; case_lenth = 42.5; case_height = 9; case_thickness = 0.9; spacing_x = 1.2; USB_lenth = 33.2; USB_back_width = 14.5; USB_front_width = 12+0.8; USB_front_lenth = 10; USB_height = 4.5; lever_height = 2; lever_depth = 2; inside_width = case_width - (case_thickness * 2); inside_lenth = case_lenth -...
glb/cad_d77bbfb615f0.glb
Create a miniature pedestal consisting of a tiered circular base and curved text. Start by constructing the base using three stacked cylindrical sections. The bottom section is a cylinder with a diameter of 20mm, a height of 1.8mm (60% of the total base height), and a slight outward slant of 95 degrees, using 30 facets...
use <write/Write.scad> base_type = 1; base_shape = 30; diameter = 20; height = 3; slant = 95; stretch = 100; inner_circle_ratio = 40; text = "personalize"; text_font = "Letters.dxf"; text_diam_ratio = 85; text_z_adj = 0; text_height = 1; text_bold = 0; text_spacing = 100; text_scale = 100; red = 136; green = 118;...
glb/cad_b004344fc204.glb