Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a linear bushing with an outer diameter of 15mm, an inner diameter of 8.15mm, and a total length of 24mm. The main body is a hollow cylinder. Inside the cylinder, create a series of 10 evenly spaced longitudinal ribs (teeth) that run the full length of the bushing. Each rib should have a width of 1.92mm (calcu...
inner_diameter_in_millimeter = 8.15; outer_diameter_in_millimeter = 15.0; bushing_length_in_millimeter = 24.0; extrusion_width_in_millimeter = 0.48; number_of_perimeters = 4; number_of_teeth = 10; chamfer_radius_in_millimeter = 0.0; chamfer_angle_in_degree = 55.0; groove_length_in_millimeter = 0; groove_diamet...
glb/cad_7a34dbabed8e.glb
Create a Hive Pencil Box consisting of a honeycomb grid of 35 hexagonal cells. Each cell is formed by a hexagonal prism with an outer radius of 10mm and an inner radius of 9mm, creating a wall thickness of 1mm. The interior depth of each hole is 66mm. Arrange the cells in five staggered rows. The first row contains 9...
$fn=100; for (x=[1,2,3,4,5,6,7,8,9]) translate ([14*x,8.5*x,0]) difference () { cylinder(r=10, h=80, $fn=6); translate ([0,0,15]) cylinder (r=9, h=66, $fn=6); } for (x=[1,2,3,4,5,6,7,8]) translate ([14*x,8.5*x,0]) translate ([14.5,-7.875,0]) difference () { cylinder(r=10, h=75, $fn=6); tr...
glb/cad_845298c0bf53.glb
Create a configurable air plug by stacking several geometric primitives along a central vertical axis. Start with a thin cylindrical base with a diameter of 11.176mm and a height of 2.54mm. Centered on top of this base, place a cylinder with a diameter of 6.604mm and a height of 18.034mm. Above this cylinder, add a b...
mm=25.4; topDiameter=0.44; topThickness=0.1; cylDiameter=0.26; fatDiameter=0.291; cylLength=0.71; smallDiameter=0.165; smallLength=0.5; $fn=30; small=0.01; union() { cylinder(d = topDiameter*mm, h = topThickness*mm+small); top1=topThickness*mm; translate( [0, 0, top1] ) cylinder(d=cylDiameter*mm, h = cylLe...
glb/cad_9567c49a6105.glb
Create a GEB Rubik Cube puzzle consisting of a 3x3x3 grid of small cubes. Each small cube has a side length of 19.7mm with a 0.3mm gap between them. At the center of the assembly, create three intersecting cylindrical axles with a radius of 4.925mm and a total length of approximately 58.8mm. At the ends of these axles...
cle=19.7; gap=0.3; sph=23; rad=2.5; csp=cle+gap; b_beamR=cle/4; b_spinR=1.5*b_beamR; b_beamL=cle*3+gap*2-2*cle/4; module endCapRotation(radius,height) { hh=height/2; rotate_extrude()polygon(points=[[0,hh],[radius-hh,hh],[radius,0],[radius-hh,-hh],[0,-hh]]); } module centerBeams() { union() { ...
glb/cad_a2edc9b71606.glb
Create a Customizable Fidget Cube consisting of eight cubes, each 20mm in size, arranged in a 2x2x2 grid with 0.5mm spacing between them. Each cube should have three corners chamfered with a 5mm radius. The cubes are connected by a system of hinge pins and connectors. Create hinge pins with a 5mm diameter and a length...
hinges=1; cubes=1; textFill=0; cubeSize=20; hingeDiameter=5.0; hingeGap=0.6; spacing=0.5; textDepth=1.5; text1="THINGIVERSE"; text1_size=8; text2="TheFisherOne"; text2_size=8; text3="OPEN"; text3_size=6.5; text4="SCAD"; text4_size=6.5; text5="FIDGET"; text5_size=5.5; text6="CUBE"; text6_size=5.5; holeDiam...
glb/cad_b8704c3d47a4.glb
Create a Power Socket and Switch Mount. The main body is a vertical bracket with a total height of 64mm, a width of 50mm, and a thickness of 4mm. The base is a flat panel with rounded bottom corners using a 5mm radius. At the bottom, create a rectangular cutout for a power socket. This opening is 32.5mm wide and 21.5m...
h=64; th=4; w=50; st=25; sw=32+0.5; sww=19+0.5; sh=24+0.5; shh=17+1; hc=40; br=5; mh=30; bh=21.5+0.5; bw=29.5; of=6; rotate([90,0,0]) difference() { union() { cube([w,th,h-br]); translate([br,0,h-br]) cube([w-br*2,th,br]); translate([br,th,h-br]) rotate([90,0,0]) cylinder(r=br,h=th,$fn=100); translate([w-br,th,h-b...
glb/cad_5e66f8d90a37.glb
Create a Panel Retainer Clip consisting of a flat circular washer and a central splitting pin. Start by creating a thin cylindrical washer with a diameter of 30mm and a height of 1.5mm. In the center of this washer, create a square cutout measuring 8mm by 8mm that passes completely through the thickness. From this cen...
PinDiameterInMm = 8; PinLengthInMm = 12; WasherDiameterInMm = 30; $PrintLayout = 0; $fs=.8; if ($PrintLayout == 0) PanelRetainerClip(PinDiameterInMm,WasherDiameterInMm,PinLengthInMm, true); else PrintLayout(PinDiameterInMm,WasherDiameterInMm,PinLengthInMm); module PrintLayout(shaftDiameter, topDiameter, d...
glb/cad_60d48b11434a.glb
Create a MiO Drink Flavoring Holder by starting with a solid rectangular base block measuring 131mm in width, 61mm in length, and 31mm in height. Within this block, carve out eight identical rectangular pockets arranged in a grid of 4 rows and 2 columns. Each pocket must measure 30mm wide, 60mm long, and 30mm deep. P...
width = 30.00; length = 60.00; depth = 30.00; rows = 4; columns = 2; pad = 1.00; roww = width+pad; halfrow = roww/2; rowl = length+pad; halfcol = rowl/2; hheight = depth+pad; hwidth = roww*rows+pad; hlength = rowl*columns+pad; translate([0,0,0]){ mioholder(); } module mioholder(){ diffe...
glb/cad_728f8e8c5323.glb
Create a lid for an Arduino project enclosure. Start with a rectangular base plate measuring 78.58mm in width and 63.54mm in length, with a thickness of 2mm and rounded corners with a 1mm radius. On the top surface of the plate, add four cylindrical mounting posts, each 3mm high with an outer radius of 2.5mm and a con...
$fn=50; WIDTH = 78.58; HEIGHT = 24; LENGTH = 63.54; LID_THICKNESS = 2; BOARD_THICKNESS=1.54; POST_HEIGHT=3; OFFSET1 = 1; RADIUS = 1; difference() { union() { mirror([0,0,1]) translate([0,2,0]) filletedPosts( 6 ); linear_extrude( LID_THICKNESS ) { minkowski() { ...
glb/cad_92d900596e3e.glb
Create a Rhombille Tile by constructing a hexagonal plate with a thickness of 3mm and a total width of 40mm. The base shape is formed by joining two equilateral triangles, each with a side length of 40mm, sharing a common edge to create a rhombus. The top surface of this tile is divided into three equal rhombic sectio...
tileHeight = 3; tileWidth = 40; $vpr = 0; $vpt = [0, 0, 0]; $vpd = 400; module tri() { translate([tileWidth / 2, 0, 0]) cylinder(r = tileWidth, h = tileHeight, $fn = 3); } module poly() { translate([0, 0, 0]) { tri(); mirror([1, 0, 0]) tri(); } } module lines(length, height, width = 1, step = 1, fn...
glb/cad_06e17b946d04.glb
Create a customizable page holder by starting with a sphere 45mm in diameter. Scale this sphere to 45mm in length and 35mm in height. Cut away the bottom half of this scaled sphere using a cube to create a dome-like base. Carve a curved slot into the front of the dome to hold pages. This slot is formed by a hollow cy...
$fa = 1 +0; $fs = 1 +0; width = 45; length = 45; height = 35; gapCurveDiameter = 60; gapWidthAtBottom = 2; gapWidthAtTop = 6; gapOffsetTowardsFront = 6; gapOffsetFromBottom = 4; gapAngle = 10; xScale = length / width; zScale = height / (width/2); rotate([0,0,-90]) difference() { scale([xScale,1,zScale]) difference...
glb/cad_745e56cedfcb.glb
Create a Nintendo Switch wall mount by starting with a central rectangular block measuring 10mm wide, 106mm long, and 22mm deep, with all edges rounded by a 4mm radius. Carve out a large central channel from the top, 20mm wide, 94mm long, and 8mm deep, with the edges of this opening also rounded by a 4mm radius. Furthe...
difference(){ minkowski(){ cube([10, 106,22], center=true); cylinder(r=4,h=0.1); } translate([0,0,2]) minkowski(){ cube([20, 94,8], center=true); rotate([0,90,0]) cylinder(r=4,h=0.1); } translate([0,0,15]) cube([20, 94,15]...
glb/cad_fa16500c42db.glb
Create a stackable card caddie consisting of a main box, removable dividers, and a lid. For the main box, create a rectangular shell with outer dimensions of 130mm length, 75mm width, and 48mm height, with a wall thickness of 3mm and corner radii of 1mm. The box is open at the top. To make it stackable, add a protrud...
part = "first"; box_length = 130; box_width = 75; box_height = 48; box_thickness = 3; box_rounded_corner = 1; tolerance = 0.2; rim_tolerance = 0.4; div_height_tolerance = 2; div_length = box_width - (2 * box_thickness) - (2 * tolerance); div_height = box_height - box_thickness - div_height_tolerance; div_thickne...
glb/cad_3e08c03eed8c.glb
Create a Fidget Ball Cube by constructing a hollow outer shell and a solid inner sphere. Start by creating a solid sphere with a diameter of 50mm. Hollow this sphere out by removing a concentric inner sphere with a diameter of 45mm. To create the openings, remove three identical cylinders, each with a diameter of 30mm ...
hole_size = 30; sphere_diameter = 40; $fn=100; sphere(d=sphere_diameter); difference() { sphere(d=50); sphere(d=50*.9); cylinder(d=hole_size, h=60, center=true); rotate([90, 0, 0]) cylinder(d=hole_size, h=60, center=true); rotate([0, 90, 0]) cylinder(d=hole_size, h=60, center=true); }
glb/cad_72ec4ef56637.glb
Create a Z Axis Coupler consisting of a tiered cylindrical body with a hollow center. Start with a base cylinder 11.5mm in radius and 14mm high. On top of this, add a 2mm high conical transition that tapers from a radius of 4mm up to 2.5mm. Above the taper, add a second cylinder with a 2.5mm radius and a height of 18mm...
csFudgeHole = 1; csFudgeNut = 1; main_shaft_size = 8; main_shaft_depth = 14; main_nut_max_width = 15; main_nut_height = 8; second_shaft_size = 5; second_shaft_depth = 18; support_grub_depth = 5; outside_thickness = 7.5; breakout_size = (main_shaft_size/2)+(outside_thickness/2); cone_height = 2; module doBit(mainS...
glb/cad_42ae3c2f8c53.glb
Create a Rhombus Tile by constructing a flat rhombus with a height of 2mm and a width of 100mm. To achieve this geometry, create two equilateral triangles, each with a side length of 100mm and a height of 2mm. Position the triangles so they share a common base along their center, mirroring each other to form a single d...
tileHeight = 2; tileWidth = 100; border = 0; type = "Rhombus"; module tri() { translate([tileWidth / 2, 0, 0]) cylinder(r = tileWidth, h = tileHeight, $fn = 3); } module poly() { union() { translate([0, 0, 0]) { tri(); mirror([1, 0, 0]) tri(); } } } module borderedRhombus() { rotate(...
glb/cad_38334376b4e5.glb
Create a Micro SIM to Mini SIM adapter by starting with a base rectangular plate measuring 25mm by 15mm with a thickness of 0.76mm. Round the four corners of this base plate with a radius of 0.5mm. At one corner of the base, create a diagonal clipped edge with a radius of 0.6mm. Inside this base, carve out a centered...
microsim_adapter(); module microsim_adapter() { difference() { minisim(); translate([-3.5,-0.4,0]) microsim(15.2,12.2,h=.77); } } module roundcut(r=.5,h=3) { translate([r/2,r/2,0]) difference() { cube([r+0.1,r+0.1,h],center=true); translate([r/2,r/2,0]) cylinder(r=r,h=h,center=true,$fn=32); ...
glb/cad_b1d6f3f7d08c.glb
Create a leveling bracket for a tripod mount. Start with a base plate that is 3mm thick. The main body is a circular ring with an outer radius of 51.4mm and a central circular hole with a diameter of 50mm. Add three equidistant connection tabs extending from the ring, each spanning a 15-degree arc. These tabs should ...
tripodOD = 102; levelOD = 25; rLug = 42; wLug = 50; clr = 0.4; R1 = tripodOD / 2 + clr; R2 = levelOD / 2; t = 3; tTab = 4; H = 25; d = 50; a = 15; flare = wLug /2 /rLug; xLug = rLug; yLug = wLug / 2; $fn = 128; module sector2D( radius, angle ) { h = radius * (1 - cos(angle)) + 0.1; difference() { circle( radiu...
glb/cad_2941e0edd846.glb
Create a Reinforced Triple Extrusion Corner designed to connect three 20mm aluminum extrusions. The model consists of three identical corner brackets joined at a central point. Each bracket is a flat plate with a thickness of 3mm and a square face of 20mm by 20mm. The outer corners of these plates are rounded with a ra...
part = "inside"; extrusionSize = 20; screwSize = 5.2; thickness = 3; strutSize = 20; $fn=30; cornerRadius = thickness; if (part == "inside") rotate([135,35.26439,0]) tripleBracket(); else if (part == "outside") tripleEnd(); else if (part == "tee") teeBracket(); module tripleBracket() { union() differenc...
glb/cad_ea1e9ea0cf5f.glb
Create a Power LED desktop lamp case. Start by creating a main cylindrical hull with a diameter of 45mm and a height of 46mm. Hollow out the center by removing a cylinder with a diameter of 27mm from the bottom and a cylinder with a diameter of 45mm from the top, starting at a height of 8.5mm. Within the center, create...
difference () { union () { difference () { cylinder (25,46,46,$fn=100); cylinder (25,27,27,$fn=100); intersection () { translate ([-43.5,-43.5,8.5]) { cube ([87,87,16.5]); }; translate ([0,0,8.5]) { cylinder (25,45,45,$fn=100); }; }; difference () { translate ([0,0,2...
glb/cad_3053c00413de.glb
Create a 360 Cooling Fan Mount by combining two rectangular blocks. First, create a base block measuring 15mm wide, 36mm deep, and 13mm high. Attached to the top of this base, starting at a height of 13mm, place a second rectangular block measuring 44mm wide, 14mm deep, and 8mm high. From this combined structure, remov...
difference(){ union(){ cube([15, 36, 13]); translate([0,0,13]) cube([44,14,8]); } translate([38,7,12]) cylinder(d=4,h=10,$fn=15); translate([2.5,32,-1]) cylinder(d=3.2,h=15,$fn=15); translate([2.5,22,-1]) cylinder(d=3.2,h=15,$fn=15); }
glb/cad_b5c9d6e9087b.glb
Create a heart-shaped vase with a total height of 180mm and a base diameter of 70mm. The form is generated by lofting a heart-shaped profile along the vertical Z-axis. The heart profile is defined by the parametric equations x = (12sin(t) - 4sin(3t))/10 and y = (13cos(t) - 5cos(2t) - 2cos(3t) - cos(4t))/10. As the sh...
accuracy = 1; h = 180; d = 70; tw = 30; pt = 3; pv = 1.82; kv = 0.35; e = h/floor(h/accuracy); dz = e; n = 360/e/2; a = 360/n; translate([0,0,-h/2]) shape(); function x(t)=(12*sin(t)-4*sin(3*t))/10; function y(t)=(13*cos(t)-5*cos(2*t)-2*cos(3*t)-cos(4*t))/10; function fh(z) = d/2*(1+sin(...
glb/cad_9625bf6dac4f.glb
Create an LED strip holder consisting of a flat rectangular base and a cylindrical clipping mechanism. Start with a rectangular base plate measuring 100mm in length, 11.385mm in width, and 1.2mm in thickness. At one end of the base, add a slotted cylindrical clip oriented perpendicular to the base's length. The clip ...
$fn = 60; Tad = 0.1; Tad2 = Tad*2; StripLen = 100; StripWidth = 11.385; StripWT = 1.2; ClipWT = 1.2; ClipD = 8; SlotAngle = 130; module PieSlice(r, start_angle, end_angle) { R = r * sqrt(2) + 1; a0 = (4 * start_angle + 0 * end_angle) / 4; a1 = (3 * start_angle + 1 * end_angle) / 4; a2 = (2 * start_...
glb/cad_eba36085c80d.glb
Create a Parametric Inlay Creator consisting of a drum and a lid. To construct the drum, create an 8-sided polygonal vessel with a total height of 133.5mm. The drum should taper from a bottom diameter of 105mm to a top diameter of 120mm. The walls should be 0.8mm thick. The bottom of the drum is not flat; it features...
print_option = 3; height_drum = 133.5; diameter_top = 120; diameter_bottom= 105; ratio_bottom_top = 7/8; wall_thickness = 0.8; tolerance = 0.5; half_sphere_bottom_diameter= 10; no_of_edges = 8; height_lid = 5; grip_sphere_diameter= 23; hoehe= height_drum; durchmesser_oben=diameter_top; durchmesser_unten=diam...
glb/cad_5ac55565700d.glb
Create a Customizable Bowden Extruder consisting of a main motor mount and a tensioner idler. For the main part, create a base plate 5mm thick with a circular center cutout of radius 11.25mm and a larger concentric axle hole of radius 12.5mm. Add four M3 screw holes positioned at the corners of a NEMA 17 stepper moto...
epsilon = 0.01 * 1; part = "both"; idler_version = 1; extra_radius = 0.1; add_clamping_handle = 1; add_handle_screw = 1; m3_major = 2.85*1; m3_radius = m3_major / 2 + extra_radius; m3_wide_radius = m3_major / 2 + extra_radius + 0.2; m3_head_radius = 3 + extra_radius; base_height = 5*1; drive_gear_dia = 9; driv...
glb/cad_1f0c73fe0100.glb
Create a wall mount for a Proxxon MICROMOT 110/BF Flexishaft. The main body is a vertical cylinder with an outer diameter of 21mm (17mm drill diameter plus 2mm walls) and a total height of 50mm. Hollow out the center with a 17mm diameter hole. At the base, create a 10mm high cylindrical stand. From the top of this st...
$fn = 65; height = 50; drill_diameter = 17; spring_diameter = 13; rounding_height = drill_diameter-spring_diameter; wall_width = 2; clearance = 0.4; open1_deg = 230; open2_deg = 310; bottom_height = 10; screw_diameter = 3.4; screw_diameter2 = 8; screw_hole_distance = 25; backplate_wall_width = 1; view = 0; if (view ...
glb/cad_454b26f2aed3.glb
Create a power supply cover for an S-400-12 unit. Start with a main base block measuring 111.2mm in width, 71mm in depth, and 54.25mm in height. From this base, remove a large central rectangular cutout to create a hollow shell, leaving a frame. Within this frame, create a grid of small square holes on the side panel...
PowerWidth=113-1.8; PowerHeight=71; FirstHole=31; SecondHole=FirstHole+50; HoleHeight=34; PowerDive=30; module CubeAdjust(Xdim, Zdim){ for (x =[6:11.2:Xdim-12]){ for (z =[6:11.2:Zdim-12]){ translate([x,-0.2,z])cube([10,0.4,10]); } } } module nuttrap(){ rotate([0, 180, 0]) dif...
glb/cad_0ab30a9ece88.glb
Create a 6" Rack Drawer handle. The handle consists of two identical mirrored parts. For one part, create a base rectangular block with a width of 8mm, a height of 14mm (calculated as $u \times \text{unit} - 4$), and a depth of 10mm. This block should have rounded edges with a radius of 3mm. Subtract a smaller rect...
Part = "c"; u = 2; dp = 115; slip=0.5; go(); module go(){ if(Part=="a"){ print_frame(); }else if(Part=="b"){ print_drawer(); }else if(Part=="c"){ print_handles(); } } module print_frame(){ difference(){ frontplate(u,[],[],[],[],[]); ...
glb/cad_8242220d2b51.glb
Create a servo to technic lego adapter. Start with a rectangular base block measuring 48mm in length, 7.5mm in width, and 15.6mm in height. Along the center of the length, create a series of six holes spaced 8mm apart (pitch). Each hole consists of a central cylinder with a radius of 2.4mm and a height of 15.6mm, fla...
$fn=40; eps = 0.05; NrOfHoles = 6; Pitch = 8; Radius1 = 4.8 / 2; Radius2 = 6.1 / 2; Radius1 = 5 / 2; Radius2 = 6.2 / 2; Height = 7.8*2; Depth = 0.8; Width = 7.5; MidThickness = 2; MontageR = 6; MontageHoogte = 12; Length = (NrOfHoles - 0) * Pitch; Thickness = (Width - 2 * Radius2) / 2; module gatMidden(i) { tra...
glb/cad_a9dd21fa3a2e.glb
Create a protective razor cover with overall dimensions of 43.65mm in length, 20.65mm in width, and 6.5mm in height. The main body is a hollowed rectangular shell with a wall thickness of 1mm. The top face is open, but the front edge is lowered to a height of approximately 2.1mm to allow the razor to slide in. On the...
Thk=1; module Razor(L,W,H,C,D,Name) { difference(){ union(){ difference(){ CubeCut(L,W, H,C,D); union(){ translate([0,0,Thk/2]) { CubeCut(L-2*Thk,W-2*Thk, H-Thk,C+2*Thk,D);} translate([0,-D/4,-H/2])rotate([0,180,180]){{myLabel(Name,W*.3);}} translate([0,W/2-Thk,H/2-.55*H/2]) {cube([RL-4*Thk,D...
glb/cad_16a5a9a67803.glb
Create a protective razor cover with overall dimensions of 43.65mm in length, 20.65mm in width, and 6.10mm in height. The main body is a hollowed-out rectangular shell with a wall thickness of 1mm. The top face is open, featuring a central rectangular cutout measuring 25.5mm by 3.8mm to allow access to the interior. O...
Thk=1; module Razor(L,W,H,C,D) { difference(){ union(){ difference(){ CubeCut(RL,RW, RH,C,D); union(){ translate([0,0,Thk/2]) { CubeCut(RL-2*Thk,RW-2*Thk, RH-Thk,C+2*Thk,D);} translate([0,-D/4,-H/2])rotate([0,180,180]){{myLabel("Jaymes",W/4);}} translate([0,W/2-Thk,H/2-.55*H/2]) {cube([RL-4*Thk,...
glb/cad_1c6d1623e4f0.glb
Create a mount for an LJ12A3-4-Z/BY inductive sensor. Start by constructing a base plate that is 3mm thick, consisting of a central cylinder with a 10mm radius and a rectangular section 15mm wide and 20mm deep. From this base, extend a vertical wall upwards to a height of 50mm. This wall should be 10mm wide and 15mm de...
module mounti(){ module distanceBlock(){ difference(){ translate([0,-25,0])cube([50,20,15], center=true); union(){ translate([15,-25,-10])cylinder(r=1.7,h=20, $fn=50); translate([-15,-25,-10])cylinder(r=1.7,h=20, $fn=50); } } } module mount(){ translate([10,-7.5,0])cube([10,15,50]); translate([20,...
glb/cad_f17896201dc0.glb
Create a stylized bird model by combining several geometric primitives. Start with a main body formed by a convex hull connecting a sphere for the head, a scaled sphere for the belly, and a smaller sphere for the bottom. Position the head sphere at a height of 40mm and offset it laterally by 4mm. The belly sphere shoul...
precision="low"; beak_length= rands(0,50,1)[0]; beak_size= rands(20,100,1)[0]; beak_width=rands(0,25,1)[0]; beak_roundness= rands(10,200,1)[0]; head_size=rands(10,40,1)[0]; head_to_belly=rands(-20,50,1)[0]; eye_size=rands(0,20,1)[0]; head_lateral_offset=rands(-8,8,1)[0]; head_level=rands(0,80,1)[0]; head_yaw=...
glb/cad_412eaa01000d.glb
Create a Viki2 LCD Panel 20mm Extrusion Mount. The main body is a block measuring 40mm in length, 62.5mm in width, and 9mm in height. On the top surface, create two circular holes with a diameter of 3.82mm, positioned at the center of the width (31.25mm) and offset 3.5mm from the side edges. At the center of the bl...
$fn = 64; m3hs = 0.82; m5hs = 0.7; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r / 2, r / 2, 0]) cylinder(r = r, h = h + 1, center = true); } } module mount() { differenc...
glb/cad_266c24f3c632.glb
Create a Mosney Connector by starting with a hollow cylinder that has a total length of 1.5 inches, an outer diameter of 0.625 inches, and a center bore diameter of 0.25 inches. Cut two identical slots into the cylinder walls to create recessed rings. The first slot should be positioned 0.5 inches from the bottom of th...
scale_to_inches = true; cylinder_length = 1.5; cylinder_d = 0.625; bore_d = 0.25; slot_depth = 0.125; slot_length = 0.125; slot_offset_top = 0.5; slot_offset_bottom = 0.5; $fa=2; $fs=0.01; module hollow_cylinder(cylinder_length, cylinder_d, bore_d) { difference() { cylinder(cylinder_length, cylinder_d /...
glb/cad_4d7e99d9fc83.glb
Create an Azteeg X5 Mini v2.0 bracket. Start with a rectangular base measuring 113mm by 58mm with a thickness of 5mm. At four positions—(13.9, 5), (13.9, 48.2), (92.2, 0), and (92.2, 48.2)—relative to the base, add cylindrical board standoffs with a diameter of 6mm and a height of 8mm. On the right side, construct a...
$fn = 64; m3hs = 0.8; m3ns = 0.2; m5hs = 0.6; ph = 9.30; pw = 11.60; sh = 12.33; sw = 18.57 + 1; wt = 2.5; include <nutsnbolts/cyl_head_bolt.scad>; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r /...
glb/cad_74e3abb84b46.glb
Create an Azteeg X5 Mini v2.0 bracket. Start with a base rectangular block measuring 115mm in length, 38mm in width, and 5mm in thickness. From this base, remove a large central rectangular section measuring 51mm by 20mm by 20mm, centered at X=63, Y=-14, Z=22. Create several additional cutouts to shape the bracket: r...
$fn = 64; m5hs = 0.6; module fillet(r, h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r / 2, r / 2, 0]) cylinder(r = r, h = h + 1, center = true); } } rotate([-90, 0, 0]) { difference() { ...
glb/cad_85f93584b88d.glb
Create an LM8UU bearing mount consisting of a rectangular base plate and a central housing. The base plate is 36mm wide, 40mm long, and 6mm high. At the four corners of the base plate, create vertical holes with a diameter of 3.4mm, and within those holes, create hexagonal nut traps with a diameter of 6.5mm and a heigh...
screw_dia = 3.4; nut_dia = 6.5; nut_height=3; body_width = 21; gap_width = 10; body_height = 22; body_length=40; LM8UU_dia = 15.5; screw_elevation = body_height-1.5; plate_height = 6; plate_length=body_length; plate_width=36; screw_space_x = 23.5; screw_space_y=28; lm8uu_length=23; module mount_plate() { difference...
glb/cad_1b18b60ffba5.glb
Create a 3D model of a rectangular block with a central cylindrical peg and two holes. Start by creating a main rectangular prism with dimensions of 200mm in length, 45mm in width, and 80mm in height, centered at the origin. Subtract a smaller rectangular volume from the top center of this block, measuring 100mm in l...
use <blender3dStyle002.scad> anymate = $t*10; assemblyArray = [ ["Object zero for other purposes"], [[20,30,0],[0,0,0],[90,0,0],[0,0]] , [[0,30,0],[0,45,0],[45,0,0],[0,0]] , [[20,30,0],[0,0,0],[0,0,0],[0,0]] , [[0,0,0],[0,0,0],[0,0,0]] , [[-80,45,...
glb/cad_5d40516206fd.glb
Create a perfume bottle holder starting with a circular base 48mm in diameter and 3mm in height. Centered on this base, construct a hollow conical holder with a total height of 74mm. The outer wall of this cone should taper from a bottom diameter of 9.8mm to a top diameter of 68.8mm, maintaining a consistent wall thick...
base_diameter=48; base_heigh=3; holder_height=74; holder_inner_diameter_top=64; holder_inner_diameter_bottom=5; holder_wall_thickness=2.4; $fn=100; cylinder(d=base_diameter,h=base_heigh, center=false); translate([0,0,3]) difference(){ difference(){ cylinder(d2=holder_inner_diameter_top+2*holder_wall_thickness,d1=hold...
glb/cad_0ac9db8aabfa.glb
Create a power supply fan shroud with a total width of 112mm, a thickness of 51mm, and a height of 82mm. The main body is a hollowed rectangular shell with walls 1.5mm thick. On the top surface, create a series of rectangular vents by removing thin strips of material. On the side walls, incorporate vertical supports ...
fan_size = 50; vent_thickness = 10; wall = 1.5; screws_metric = 5; hanger = true; fanSupport(fan_size=fan_size,vent_thick=vent_thickness, wall=wall, screws_d=screws_metric, hanger=hanger); module fanSupport(fan_size=50,vent_thick = 10, wall=1.5,height=82,screws_d=5,hanger=false, decoration=false){ width=112; ...
glb/cad_b4e59053b733.glb
Create a customizable fridge magnet box. Start by creating a solid rectangular block with rounded corners. The outer dimensions should be 56mm in width, 36mm in depth, and 73mm in height, with a corner radius of 3mm. Hollow out the center of the block to create a container, leaving a wall thickness of 3mm on all sides...
cube_w = 50; cube_h = 70; cube_d = 30; cube_t = 3; magnet_d = 10; magnet_t = 4; magnets = 3; rounded = 1; label = 0; TextLabel = "keys"; font_size = 10; font = "REGISTRATION PLATE UK:style=Bold"; slack = 0.25; detail = 60; difference() { union(){ if (rounded == 0) { cube([cube_w+cube_t*2,cube_d+...
glb/cad_87555e9a42dc.glb
Create a Round Box With Lid And Clasifier consisting of a main container and a matching lid. For the box, create a rounded rectangular prism with overall dimensions of 100mm length, 50mm width, and 20mm height, using a corner radius of 3mm. Hollow out the center to create walls and a bottom that are both 2mm thick. I...
itemsShown="both"; boxLength=100; boxWidth=50; boxHeight=20; cornerRadius=3; wallThickness=2; bottomThickness=2; lidThickness=2; lidClearance=0.2; lidEdgeThickness=0.5; withNotch=true; cols = 2; rows = 3; grid = [ [["up", "down", "left", "right"]] ]; if (itemsShown=="box") showBox(); if (itemsShown=="lid") show...
glb/cad_b48cfcfb4da6.glb
Create an Auto touch Z end-stop mount. Start with a base plate that is 20mm high, 40mm wide, and 70mm long. At one end of the base, construct a vertical hollow cylinder with an outer diameter of 19mm and a wall thickness of 2mm. Inside this cylinder, create a hexagonal void. On the opposite side of the base, carve ou...
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.2; m5nr = m5nd/2; m5nh=4.2; sbd = 8+0.3; sbr = sbd/2; iy=30.5-1.8-6.5; hz=70; hx=40; hy=20; hs=50; ys=-13; bearing_diameter=15; thinwall = 2; bearing_size = bearing_diameter + 2 * thinwall; mo...
glb/cad_815e4be2f0e9.glb
Create a rectangular block with a width and depth of 30mm and a height of 15mm. Center the block on the origin. Carve the text "vfc" out of the center of the block using a sans-serif font. The letters should be scaled to a height of 22mm and centered both horizontally and vertically within the block's footprint. The cu...
LetterBlock("vfc"); module LetterBlock(letter, size=30) { difference() { translate([0,0,size/4]) cube([size,size,size/2], center=true); translate([0,0,size/6]) { linear_extrude(height=size, convexity=4) text(letter, size=size*22/30, ...
glb/cad_c89a343bfc21.glb
Create a 3D model of a "Broken Heart" consisting of a single extruded parametric heart curve. The heart shape is defined by the parametric equations x = 16 * sin(t)^3 and y = 13 * cos(t) - 5 * cos(2t) - 2 * cos(3t) - cos(4t), scaled by a factor of 1.15. The line thickness of the heart wall should be 1mm, and the tota...
heart_diameter = 20; line_thickness = 1; line_height = 3; number_of_steps = 48; scalefactor = heart_diameter*1.15/20; function x(t) = scalefactor*16*pow(sin(t),3); function y(t) = scalefactor*(13*cos(t)-5*cos(2*t)-2*cos(3*t)-cos(4*t)); linear_extrude(height=line_height) 2dgraph( [0, 350], line_thickness, ...
glb/cad_6a6cc7168129.glb
Create a 40mm fan protector consisting of a square baseplate with rounded corners. The plate should be 32mm by 32mm and 1mm thick. At each of the four corners, add a cylindrical mounting pillar with an outer diameter of 8mm and a height of 10mm. Each pillar must have a centered vertical hole 3.5mm in diameter passing t...
OSHW_LOGO_SIZE=15; USE_SENKKOPF=1; $fn=64; module gear_tooth_2d(d) { polygon( points=[ [0.0,10.0*d/72.0], [0.5*d,d/15.0], [0.5*d,-d/15.0], [0.0,-10.0*d/72.0] ] ); } module oshw_logo_2d(d=10.0) { rotate(-135) { difference() { union() { circle(r=14.0*d/36.0,$fn=20); for(i=[1:7]) assign(rotAngle=45...
glb/cad_be6e1f0955a8.glb
Create a webcam holder consisting of a vertical mounting bracket and a long horizontal support arm. Start with a base plate that is 40mm wide and 3mm thick. On this base, construct a U-shaped vertical channel to hold a panel; the channel walls are 3mm thick, with an inner gap of 8mm and a central slot 40mm wide and 5.6...
gapThick=8; acryThick=5.6; armThick=40; armHeight=55; armBackHeight=7; wallThickness=3; width=40; beamLength=120; beamThick=5; beamHeight=20; union() { cube([gapThick+acryThick+armThick+(2*wallThickness), width, wallThickness]); translate([0,0,wallThickness]) cube([wallThickness, width, armBackHeight]); translate...
glb/cad_7b7c9a4d33cd.glb
Create a webcam holder by constructing a series of joined rectangular beams. Start with a base block that is 10mm wide, 5mm high, and 10mm deep. From the top center of this base, extend a vertical beam upwards that is 5mm wide, 5mm thick, and 90mm tall. At the top of this vertical beam, create a horizontal cross-bar th...
dropDistance=90; splitWidth=45; beamThickness=5; tongueLength=30; union() { cube([2*beamThickness,beamThickness,2*beamThickness]); translate([beamThickness,beamThickness,0]) cube([beamThickness,2*beamThickness,beamThickness]); translate([0,2*beamThickness,0]) cube([2*beamThickness,beamThickness,2*beamThickness]); ...
glb/cad_91316dae2b33.glb
Create a 3D model of a filleted line. Start by creating a 2D profile based on a Bezier curve that begins at point [0, 0], moves to [1, 0] with a control point at [0.5, 0], and ends at [1, 1] with a control point at [1, 0.5]. Extrude this 2D profile linearly along the Z-axis to a height of 5mm. To create the filleted e...
function BEZ03(u) = pow(1-u, 3); function BEZ13(u) = 3*u*pow(1-u,2); function BEZ23(u) = 3*pow(u,2)*(1-u); function BEZ33(u) = pow(u,3); function PointAlongBez4(p0, p1, p2, p3, u) = BEZ03(u)*p0+BEZ13(u)*p1+BEZ23(u)*p2+BEZ33(u)*p3; function d2BEZ03(u) = 6*(1-u); function d2BEZ13(u) = 18*u-12; function d2BEZ23(u) = -18...
glb/cad_bcf3d5ee7d4c.glb
Create a customizable shelf consisting of a hexagonal ring and a separate connecting tab. For the main shelf, create a hexagonal prism with a height of 15mm. The outer boundary should be a regular hexagon with a radius of 20mm, and the inner boundary should be a concentric hexagonal hole with a radius of 17mm, resultin...
radius = 20; sides = 6; thickness = 3; sideHeight = 15; linear_extrude( height = sideHeight) shelf(); module shelf(){ difference (){ circle (r=radius, $fn=sides); { circle ( r=radius-thickness, $fn=sides ); } } } module tab(){ difference(){ cube([3*thickness,sideHeight,side...
glb/cad_d737ec3270e1.glb
Create a Nintendo Switch Stand consisting of a base and a supporting back panel. Start with a rectangular base 100mm wide, 114mm long, and 3mm thick. Along the length of the base, add two thin vertical walls 3mm wide and 12mm high at the left and right edges to create a cradle. Construct the back support panel as a...
thickness=3; width=100; length=114; module bottom(){ translate([0,8,0]) cube([width,length-8,thickness]); cube([thickness,length,4*thickness]); translate([width-thickness,0,0]) cube([thickness,length,4*thickness]); translate([0,length-thickness,0]) cube([width,thickness,4*thickness]); translate([thickness,3,5]) ro...
glb/cad_9cd1be584682.glb
Create a toothbrush head holder consisting of a rectangular wall base and four protruding support arms. The wall base is a flat plate 3mm thick and 120mm long (30mm wide per holder). Along the length of the base, place four identical support arms spaced every 30mm. Each arm is a tapered cylinder 30mm tall, starting w...
numberOfBrushes=4; baseThickness=3; baseHeight=30; armLength=30; armBottomRadius=5; armTopRadius=2.5; $fn=80; armAngle=15; frontHolderPinOffset = -2; frontHolderPinLength = 10; frontHolderPinDiameter = 5; backHolderPinOffset = 1; backHolderPinLength = 10; backHolderPinDiameter = 3; totalBaseWidth = baseHeight *...
glb/cad_941b37efa848.glb
Create a Powder Spill Tray by constructing a shallow cylindrical container with an outer diameter of 60mm and a total height of 8mm. The tray should have a flat base and a vertical wall with a thickness of 2.5mm, creating an inner cavity with a diameter of 57.5mm and a depth of 5.5mm. Finally, center a circular hole wi...
$fn=100; height=8.0; outside_diameter=60.0; thickness=2.5; hole_diameter=17.47; difference() { translate([0,0,0]) cylinder(h=height,r=outside_diameter/2,center=true); translate([0,0,thickness/2]) cylinder(h=height-thickness+.5,r=(outside_diameter-thickness)/2,center=true); translate([0,0,thickne...
glb/cad_c6fcd33e1c12.glb
Create three office containers—a pencil holder, a cup, and a bowl—each featuring a wall based on a 5-cusp epicycloid and a base decorated with a pentagram. For the pencil holder, create a 5-cusp epicycloid wall with a height of 80mm. The outer wall should be scaled by 2.5 and the inner hollow by 2.3. Position a solid ...
mark = 10; if (mark==10) union() { translate([0,0,-18.5]) rotate([0,0,36]) penta_solid(20,0,3); difference() { scale ([3,3,1]) epi_hypo_cycloid(-1,12,2,30,1,20,2); scale ([2.85,2.85,.9]) epi_hypo_cycloid(-1,12,2,70,200,20,2); translate([0,0,4]) linear_extrude(height=40) circle(r=50); } } if (mark==11) union() { t...
glb/cad_632a3fe54ba8.glb
Create a control horn for RC plane flaps with a thickness of 2.2mm and a total height of 6.5mm. The main body is a rectangular base 50mm long, extending from x = -18 to x = 32. At the left end, centered at x = -27.4 and y = 7.9, place a circular hole with a radius of 3.1mm to accommodate a control rod. Along the le...
control_horn_thickness = 2.2; control_horn_height = 6.5; control_horn_length = 50; triangle_margin_top_bottom = 2; triangle_margin_left = 2; control_rod_circle_radius = 3.1; attachment_pos_left = 0; attachment_pos_right = 18; attachment_hole = false; attachment_hole_radius = 1.5; control_rod_xpos = -27.4; control_rod_...
glb/cad_ec76746c1ce0.glb
Create a mini Kossel jSlot mount by starting with a central cylinder that has a radius of 20mm and a height of 9.2mm, centered on the Z-axis. From this main body, remove a central vertical cylinder with a radius of 8.1mm. To create the mounting points, remove six identical holes arranged in a circular pattern every 6...
include <configuration.scad>; separation = 40; offset = 20; mount_radius = 12.5; hotend_radius = 8.1; hotend_neck_radius = 12.1/2; push_fit_height = 4; height = 9.2; $fs=0.1; $fa=0.9; module effector() { difference() { union() { cylinder(r=offset, h=height, center=true); } translate([0,0,-9.2/2])...
glb/cad_c83da789eec0.glb
Create a depriming tool consisting of a cylindrical body and a tapered tip. Start with a main cylinder 16mm in diameter and 75mm in height. Attached to the top of this cylinder, add a conical section that transitions from the 16mm diameter base to a 6.25mm diameter tip over a height of 40mm. Through the center of the...
$fn=100; body_height=75.0; cone_height=40.0; body_diameter=16.0; end_diameter=6.25; inside_diameter=6.05; depth=1.5; head_diameter=12.0; difference() { intersection() { #translate([0,0,0]) cube([body_diameter/sqrt(2)+3,body_diameter/sqrt(2)+3,body_height+cone_height],center=true); union() { translate...
glb/cad_8d6f8e3b940f.glb
Create a depriming base for 12 gauge shotshells by starting with a solid cylinder that has an outside diameter of 35mm and a height of 15mm. Center the object on the origin. Remove a large cylindrical section from the top to create a hollowed-out area with an inside diameter of 22.5mm and a depth of 11.25mm. Finally, d...
shape=0; $fn=100; height=15.0; outside_diameter=35.0; inside_diameter=22.5; hole_diameter=8.0; difference() { if(shape==0) { translate([0,0,0]) cylinder(h=height,r=outside_diameter/2,center=true); } if(shape==1) { translate([0,0,0]) cylinder(h=height,r=outside_diameter/2,center=true,$fn=...
glb/cad_64070126a5dd.glb
The provided image and code describe a complex 3D model of a multicopter frame, likely generated using a nodal editor (GraphSCAD). ### Model Analysis The model consists of several interconnected components designed for a drone: 1. **Main Chassis/Base:** A structural base featuring a hexagonal grid pattern (honeycomb)...
$assembled=false; $debug=false; module multicopter4(arm_count=4,propsize=58,arm_height=3,base_xsize=51,base_ysize=31,motor_radius=8.7/2,motor_height=20,motor_angle=0,battery_height=8,camera_xsize=15,camera_ysize=23) { function armwidth(propsize)=sqrt(propsize*propsize*2)/2; module hexgrid( grid_width=50, gr...
glb/cad_c26ed3dcc260.glb
Create an upright toilet brush holder by constructing a hollowed-out tapered vessel. First, create the outer body as a tapered cylinder with a height of 100mm, a bottom radius of 56.2mm, and a top radius of 52mm. Cap the top of this vessel with a torus-shaped rim that has a major radius of 52mm and a cross-sectional tu...
brush_radius=42; brush_height=90; holder_thickness=10; holder_top_radius=brush_radius+holder_thickness; holder_bottom_radius=(brush_radius)*1.1+holder_thickness; holder_height=brush_height+holder_thickness; fn=50; difference() { union() { translate([0,0,holder_height]) rotate_extrude(convexity = ...
glb/cad_c23ae324b511.glb
Create a VGA fan adapter by starting with a rounded square block measuring 42.7mm x 42.7mm x 10mm. Hollow out the center by removing a rounded square block of 41.5mm x 41.5mm with a height of 7.6mm, and remove a central cylinder with a radius of 20mm to create a large circular opening. Add four mounting holes through ...
use <MCAD/boxes.scad>; fan_w=40; holes = "side"; $fs=1; $fa=1.5; wall_w = 1.2; vga_w = 41.5; vga_h = 10; vga_int_h = vga_h - 2.4; vga_hole = 35; fan_hole = fan_w * 0.8; vga_hole_d = 2.5; fan_hole_d = 3.5; fan_nut_d = 6.2; fan_nut_h = 3; wire_w = 3; wire_h = 1.7; difference() { if(vga_w > fan_w) { roundedBox([v...
glb/cad_176c29c3a4f0.glb
Create a project box component for a HAM radio antenna tuner controller. Start by creating a base mounting post consisting of a cylinder with a diameter of 4mm and a height of 4mm. This cylinder should have a smaller concentric hole with a diameter of 3mm drilled through its center. Additionally, remove two rectangular...
b_eject(10,1,1,true); mount_d = 3; mount_z = 4; mount_t = 1; module mount(d,h,t) { difference() { $fs = 0.5; cylinder(h,d/2+t,d/2+t); cylinder(h,d/2,d/2); color("green") translate([-d/16,d/2,0]) cube([d/8,1,h]); color("green") translate([-d/16,-d+t/2,0]) cube([d/8,t,h]);...
glb/cad_b9a57d38cdee.glb
Create a project box for a HAM radio antenna tuner controller consisting of a bottom base and a top lid. Construct the bottom base as a rectangular shell with outer dimensions of 150mm length, 90mm width, and 36mm height. The walls should be 1.5mm thick with rounded corners. The interior is a hollow cavity, leaving a...
use <lib_play_bttns.scad>; Render_TOP=true; Render_BOTTOM=true; Render_BUTTONS=true; $fs=0.5; w=90; l=150; h=36; th=1.5; tol=1/8; LED_size=5; button_size=10; button_h=1; button_slack=0.1; button_base=1; button_post=true; bezel_stl="16x2-lcd-bezel.stl"; if (Render_BOTTOM) { translate([th,-w+th-1,th]) { ...
glb/cad_59ab5ffc10f5.glb
Create a set of experimental fiducial markers arranged in a 2x2 grid. Each marker starts with a cylindrical base 20mm in diameter and 1mm thick. The markers are spaced 2mm apart and connected by 1mm thick sprue bars that bridge the gaps between the cylinders. On top of each base, add a raised detail layer 1mm thick. I...
horizontal = 2; vertical = 2; diameter = 20; space = 2; base_thickness = 1.0; detail_thickness = 1.0; ruler_spacing = 2; use_text = 1; letter_start = 0; use_rulers = 1; use_side_markers = 1; sprue= 1; sprue_thickness= 1.0; wall_minimum = 0.7; if ( ruler_spacing <= wall_minimum) { echo("<B>Error: ruler...
glb/cad_9674d0a702c8.glb
Create a 60mm ducted fan shroud by constructing a hollow tapered cylinder with a height of 100mm. The outer wall should taper from a base radius of 49.325mm to a top radius of 43.5mm. The inner cavity must be a concentric taper from a base radius of 34.325mm to a top radius of 24.5mm, creating a wall thickness that nar...
module cut_perimeter(){ difference(){ cylinder(r1=98.65/2,r2=87/2,h=100,$fn=60); cylinder(r1=68.65/2,r2=49/2,h=100,$fn=60); } } difference(){ union(){ difference(){ cylinder(r1=68.65/2,r2=49/2,h=100,$fn=60); cylinder(r1=(68.65-(1.05*2))/2,r2=(49-(1.05*2))/2,h=100,$fn=60); } for(i=[1:4]){ rotate ([0,0,i*90]) translat...
glb/cad_0db2331918c6.glb
Create a minifigure torso by starting with a main rectangular body block that is 15.44mm long, 7.84mm wide, and 12.02mm high. The top of the torso should be narrower than the base, with a top length of 9.74mm. At the center of the top surface, add a cylindrical neck peg with a radius of 1.5mm and a height of 3.2mm. On...
$fn=50; Shoulder_Radius = 0.75; Lenght_Base =15.44; Lenght_Top = 9.74; Angle =78.5; Width = 7.84; Height =12.77-Shoulder_Radius ; Arm_Radius = 1.96; Neck_Radius = 1.5; Wall=1.4; Walls=Wall*2; module Torso() ; { cylinder(r=1.6,h=Height,center=false); differen...
glb/cad_1dfcaffcbfdf.glb
Create an Adjustable Y-Axis Tensioner block with overall dimensions of 20mm width, 50mm depth, and 20mm height. Centered along the width, remove a rectangular cutout 10mm wide, 40mm high, and 50mm deep, starting from the bottom edge and extending 10mm below the base. Through the center of the block's depth, create a ...
block_height = 20; block_depth = 50; block_width = 20; cutout_height = block_height * 2; cutout_depth = 20; cutout_width = 10; pulley_screw_radius = 1.6; set_screw_radius = 2.1; rod_radius = 4; nut_flat_sides = 6; nut_flat_radius = 6.85 / 2; nut_recess_depth = 3; $fn = 100; difference() { cube([block_width, bl...
glb/cad_18e4c5860e4f.glb
Create a sawblade container consisting of two interlocking open-ended rectangular shells. First, create the bottom shell with outer dimensions of 27.4mm width, 27.4mm depth, and 101.2mm height. The walls should be 1.2mm thick, leaving an interior cavity of 25mm by 25mm. The shell is open at both the top and bottom. ...
innerWidth = 25; innerDepth = 25; innerHeight = 100; wallThickness = 1.2; clearance = 0.1; useLabel = true; label = "Sawblades"; $fn=128; bottomDimensions = [innerWidth + 2 * wallThickness, innerDepth + 2 * wallThickness, innerHeight + wallThickness]; topDimensions = [innerWidth + 4 * wallThickness + 2 * cleara...
glb/cad_d49b09d0e851.glb
Create a planetary gear bearing assembly with a total thickness of 10mm and an outer ring diameter of 34mm. First, construct a central sun gear with a 10mm thick herringbone tooth profile. This sun gear must have a hexagonal hole in its center with a width of 3.2mm. Second, create an outer ring with a 30mm diameter ...
D=30.0; T=10; tol=0.15; number_of_planets=5; number_of_teeth_on_planets=7; approximate_number_of_teeth_on_sun=9; P=45; nTwist=1; w=3.2; ch=5; DR=0.5*1; m=round(number_of_planets); np=round(number_of_teeth_on_planets); ns1=approximate_number_of_teeth_on_sun; k1=round(2/m*(ns1+np)); k= k1*m%2!=0 ? k1+1 : k1; ns=k...
glb/cad_820956768428.glb
Create a Spool Holder Cone assembly consisting of a central cone, two washers, and a clamping sleeve. First, create the main cone body with a total height of 24mm (30mm minus two 3mm washers). The cone should taper from a bottom diameter of 60mm to a top diameter of 35mm. Bore a central hole through the entire height...
$fn = 64; coneHeight = 30; coneWidthBottom = 60; coneWidthTop = 35; rodDiameter = 8; bearingDiameter = 22; bearingHeight = 7; bodyScrewHoleDepth = 12; bodyScrewHoleDiameter = 2.5; washerScrewHeadSize = 6; washerScrewDiameter = 3; washerHeight = 3; centerOffset = bearingDiameter/2 + (coneWidthTop - bearingDi...
glb/cad_f6f35a401e23.glb
Create a solder spool clip designed to hold a spool on a vertical surface. Start by creating a central vertical support pillar that is 50mm tall, 22mm wide, and 10mm thick. At the bottom of this pillar, attach a horizontal cylindrical peg with a diameter of 14mm and a length of 40mm, extending outward from the center. ...
$fn = 100; rotate([0,270,0]) { difference() { union() { translate([-2,0,-20]) { linear_extrude(height=40) { hull() { rotate([0,0,-45]) translate([3,3,0]) circle(7); ...
glb/cad_5fe5abd11670.glb
Create a solder spool clip consisting of a main cylindrical body and a mounting arm. Start by creating a cylinder with a diameter of 14mm and a length of 41mm. Flatten one side of this cylinder by removing a rectangular section 10mm wide, 22mm high, and 50mm long to create a flat mounting surface. Attached to this cy...
use <scad-utils/morphology.scad> $fn = 100; rotate([0,270,0]) { difference() { union() { translate([-2,0,-20]) { linear_extrude(height=41) { hull() { rotate([0,0,-45]) transl...
glb/cad_4cb684efd431.glb
Create a phone stand for Cindy by starting with a rectangular base that has rounded corners. The base is formed by the convex hull of four identical pins positioned at the corners of an 80mm by 70mm area, with each pin centered at coordinates (10, 0), (90, 0), (90, 70), and (10, 70). Each pin is a complex profile consi...
module OgeePin(x=0,y=0) { translate([x,y]) { rotate_extrude() { union() { intersection(){ circle(r=4, centre=true); square(8); } difference(){ translate([0,-12,0]){square([8,12]); } ...
glb/cad_d3f213769f6b.glb
Create a Vinyl Record Wall Mount by starting with a central cylinder 38mm in diameter and 5mm in height. To this cylinder, add a rectangular block that is 60mm wide, 10mm thick, and 10mm high, centered on the cylinder and aligned so that the block's thickness extends 2.5mm above and below the cylinder's top and bottom ...
cylinder_h = 5; flat_h = 10; screw_diameter = 3.35; module cylinder_outer(height,radius,fn){ fudge = 1/cos(180/fn); cylinder(h=height,r=radius*fudge,$fn=fn,center=true);} difference(){ union(){ intersection(){ cylinder(h = cylinder_h+flat_h*2, d = 38, center = true, $fn = 300); ...
glb/cad_e48ea240ddd7.glb
Create a ladder for gaming terrain with a total height of 100mm. Construct two parallel vertical rails, each 2mm wide and 2mm deep, positioned 15mm apart. Connect these rails with a series of horizontal rungs, each measuring 15mm wide, 2mm deep, and 1mm thick. The first and last rungs should be placed at the very top a...
height = 100; module ladder(h) { cube([2,h,2]); translate([13,0,0]) cube([2,h,2]); space = h-3.5*2-2; rungs = round(space/5); spacing = (space - (rungs*2)) / rungs; translate([0,3.5,2]) { for (b = [0:rungs]) { translate([0,(2+spacing)*b,0]) cube([15,2,1]); } } } ...
glb/cad_5b3f4ace5d63.glb
Create a set of Cut-Stone Arched Doors. Start by creating a rectangular base plate measuring 50mm by 50mm with a thickness of 4mm. From the center of this plate, remove a vertical section to create a doorway. This opening consists of a rectangular cutout measuring 32mm wide by 22mm high, topped with a semi-circular a...
module door() { difference() { intersection() { union() { color("SaddleBrown") difference() { translate([-25,-25,-2]) cube([50,50,4]); union() { translate([0,0,-3]) cylinder(6,14,14, $fn=100); translate([-14,0,-3]) cube([28,20,6]); } } ...
glb/cad_6eddb5e7b878.glb
Create a set of Cut-Stone Arched Doors. Start by constructing a rectangular base block measuring 51.8mm wide, 4mm thick, and 21.5mm high. Within this block, create a double-door opening. The top of the opening should be a smooth arch, formed by subtracting two 25-facet cylinders with a radius of 18mm and a height of ...
module rounded_wooden_double_door_mold(border=0, thickness=4,bottom=0) { translate([-border,-thickness/2,bottom]) cube([51.8+border*2,thickness,18.5-bottom+3]); translate([25.9,thickness/2,18+3]) rotate([90,0,0]) scale([1.44,1,1]) cylinder(thickness,18+border/1.44,18+border/1.44,$fn=100); } module rounded_wood...
glb/cad_b6038b30fe58.glb
Create a simple flange by combining two concentric cylinders. First, create a wide, low base cylinder with a diameter of 14mm and a height of 1.5mm. Centered on top of this base, place a second cylinder with a diameter of 11mm and a height of 5mm, bringing the total height of the object to 6.5mm. Both cylinders should ...
totalHeight = 6.5; bodyDiameter = 11; flangeHeight = 1.5; flangeWidth = 1.5; internalDiameter = 10; holeDepth = 7; $fn=30; flange( totalHeight, bodyDiameter, flangeHeight, flangeWidth, internalDiameter, holeDepth ); module flange( totalHeight = 6.5, bodyDiameter = 11, flangeHeight = 1.5, flangeWidth = 1.5, inte...
glb/cad_7e6e76f8beb3.glb
Create a Sansaire Impeller Housing by constructing a hollowed-out, semi-circular shell. Start with a revolved profile that creates a curved wall with an outer radius of 12mm and an inner radius of 9mm, then scale the vertical axis by a factor of 14/18 to flatten the shape into an elliptical dome. Cut the model in half ...
module arm() { difference() { translate([-3,22,-4]) cube([3,18.75,8]); translate([0,14+23.25,0]) rotate([0,90,0]) cylinder(d=3.75, h = 10, center=true, $fn=24); } } module housing(h,r) { scale([1,1,14/18]) rotate_extrude(convexity=20, $fn=100) translate([h,0,0]) { hull() { circle(r/2, $...
glb/cad_61556834aab4.glb
Create a Makerbot Plastic Spool Holder consisting of a central bearing housing and supporting arms. Start by creating a main cylinder with a radius of 15mm and a height of 10mm. Remove a smaller concentric cylinder from the center with a radius of 11.3mm and a height of 10mm to create a ring. Attach a rectangular block...
difference() { union() { cylinder(h=10, r=15); translate([-25,-1,0]) cube([50,2,7]); } cylinder(h=10, r=11.3); } difference() { cylinder(h=2, r=15); cylinder(h=2, r=5); } difference() { cylinder(h=10, r=26); cylinder(h=10, r=24); } translate([-31,-5,0]) cube([2,10,10]); translate([-29,-5,...
glb/cad_f1d1c532e116.glb
Create a 3D model of the France Insoumise logo, which consists of a stylized Greek letter Phi. The overall shape is a flat, extruded emblem with a height of 50mm and a thickness of 1mm. The main body is a circular, ribbon-like form that loops and overlaps. Construct the outer boundary as a continuous, flowing path tha...
epaisseur = 1; diametre_trou = 1; hauteur = 50; if(epaisseur==0) { phi(); } else { linear_extrude(epaisseur) { phi(); } } module phi() { scale(hauteur*0.0015) difference() { polygon([[-34.658254,-331.218039],[-40.018819,-331.015675],[-45.016244,-330.488857],[-56.906304,-328.182883],[-68.917539,-325.237399],...
glb/cad_afb72c5815ae.glb
Create a 9-gram servo mount tray by starting with a rectangular base measuring 20mm by 36mm with a total height of 5mm. From the center of this base, remove a rectangular inner volume of 12.5mm by 23.5mm and a depth of 5mm to create a hollow tray. To further refine the interior, remove a rectangular section measuring 5...
module marco() { difference() { union() { translate([0,0,-1/2]) cube([20,36,1],center=true); translate([0,0,-5/2]) cube([14.5,25.5,5],center=true); } translate([0,0,-5/2]) cube([12.5,23.5,5],center=true); tra...
glb/cad_bf196d2ba288.glb
Create a Blow Mold LED Conversion Kit consisting of a main base plate and a secondary inner housing. First, construct the base plate as a cylinder with a diameter of 95mm and a thickness of 1.6mm. Center a screw hole with a diameter of 4.5mm at a distance of 41mm from the center. Add a concentric inner ring with a di...
render = "p1"; pD = 95; pTh = 1.6; pHW = 9.0; pHTh = 2.56; pHOff = 7.5; pHG = 5.0; pSHD = 4.5; pSHX = 41; iRD = 60; lRD = 50.0; lRH = 10.56; wSD = 2.5; zSW = 3.0; zSH = 2.0; catW = 5.0; catH = 1.6; catD = .4; catZGap = .32; p2D = lRD - 6; p2Gap = .4; p2ThB = 1.6; p2Th = .46 * 4; p2Th2 = .44 * 2; p2H...
glb/cad_8c3b5b7520dc.glb
Create a Blow Mold LED Conversion Kit plate. Start with a main circular disk 95mm in diameter and 1.6mm thick. At the center of the disk, add a concentric inner ring with a diameter of 50mm. This inner ring should rise to a total height of 7.56mm (the sum of the plate thickness and a 5.96mm wall). On the top surface ...
pD = 95; pTh = 1.6; pHW = 9.0; pHTh = 2.56; pHOff = 7.5; pHG = 5.0; pSHD = 4.5; pSHX = 41; iRD = 50; stripW = 10.50; wHD = 4.0; zSW = 3.0; zSH = 2.24; zSD = 5.0; catW = 5.0; catH = 1.6; catD = .4; catZGap = .32; cHD = 8.0; cHD2 = 7.04; style2 = true; module zS() union(){ translate([stripW/2-.001,-z...
glb/cad_8efadfcb01f5.glb
Create a Blow Mold LED Conversion Kit consisting of a central front plate and two symmetrical side clips. Start with a front plate that is an octagonal prism with a diameter of 22mm and a thickness of 4mm. In this plate, center a rectangular slot 10.5mm wide and 1mm thick for an LED strip. Cut a 2.5mm square hole thr...
fTh = 4.0; fD = 22; fSSW = 10.5; fSSTh = 1.0; fHD = 2.5; fHX = fSSW/2+.44*2; fHY = -fHD/2; fSW = 2.0; fSH = 3.0; fSX = fSSW/2+.44*2; fSY = fHD/2+1.0; cTh = .44*2; cTh2 = .46*4; cTh3 = cTh2+.46*4; cW=tan(360/8/2)*fD; cW2 = 20; cW3 = 8.0; cW4 = fD; cL = 14+cTh; cL2 = 5.5; cL3 = 7.5; cRot = 22; module c...
glb/cad_b51d5d017117.glb
Create a 3D emblem for a "Peón Caminero" button with a uniform thickness of 10mm. The design is a circular composition featuring a central icon surrounded by text. In the center, construct a stylized tool icon consisting of a central circular hub with four arms extending outward. Two arms are straight, while two are s...
fudge = 0.1; module poly_path31(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-52.192957,354.645973],[-64.859618,351.509840],[-77.526287,347.710744],[-90.192957,343.439534],[-91.447287,336.946864],[-92.023189,333.474212],[-92.055083,331.254390],[-91.469369,329.798947],[-...
glb/cad_20a480db2d5b.glb
Create a suspension arm spacer by starting with a main thin disc that is 8mm in diameter and 1mm thick. From this disc, remove a central circular hole with a radius of 1.5mm. Additionally, carve out a rectangular slot that is 4mm long, 2.3mm wide, and 2mm deep, centered on the disc and oriented at a 35-degree angle. Fi...
$fn=200; difference() { translate([3.5, 3.5, 0]) cylinder(r = 1.5, h = 1, center = true); translate([3.5, 3.5, 0]) cylinder(r = .5, h = 1, center = true); } difference() { translate([0, 0, 0]) cylinder(r = 4, h = 1, center = true);translate([0, 0, 0]) cylinder(r = 1.5, h = 1,...
glb/cad_46ca2c8d1800.glb
Create a downspout adapter that transitions from a rectangular base to a circular top. The walls of the entire object must be 2.5mm thick. Start with a rectangular sleeve designed to fit inside another component. The outer dimensions of this rectangle are 78.74mm by 53.34mm (3.1" x 2.1") with rounded corners of 12.7mm...
inch = 25.4; $fs = 0.05; $fa = 1; radius = 0.5 * inch; x = 3.1 * inch; y = 2.1 * inch; zSleeve = 2 * inch; zTransition = 3 * inch; diameter = 3*inch; thickness = 2.5; module RectangularInsideSleeve (x, y, z, radius, thickness) { translate([0,y/2,z/2]) { difference() { minkowski()...
glb/cad_2ba9415009b8.glb
Create a pivot plug for a motorbike consisting of a wide base and a narrower hollow collar. Start by creating a solid cylinder for the base with a diameter of 32.9mm and a height of 2.5mm. Centered on top of this base, add a second cylinder with an outer diameter of 28.75mm and a height of 8mm. Hollow out the center of...
$fn=64; cylinder(d=32.9,h=2.5); translate([0,0,2.5]) { difference(){ cylinder(d=28.75,h=8); translate([0,0,-1]) cylinder(d=25.5,h=10); } }
glb/cad_93ed3158fe76.glb
Create a mount for a PDW bicycle taillight. Start by constructing a hollow rectangular sleeve with an outer dimension of 24.6mm width, 7.8mm height, and 21.8mm depth. The interior cavity should be 19.8mm wide, 3mm high, and 21.8mm deep, leaving a wall thickness of 2.4mm. To allow the light to be inserted, remove a sect...
inwidth = 19.8; inht = 3; indp = 21.8; wall = 2.4; gap = 15.4; $fn=36; bandht=15; bandwt = 65; bandth = 3; screwdia = 5; screwspace = 50; clipdistance = 30; clipth = 2; mainbody(); boxmount(); clip(); module mainbody() { translate([0,(inht/2+wall), indp/2]) difference() { cube([inwidth+wall*2, ...
glb/cad_8f2356c65310.glb
Create a Quadrum Coin Holder by starting with a square block that measures 43mm by 43mm with a height of 2.5mm. Center a circular hole through the middle of this block with a radius of 19.5mm. Ensure the circular cutout is defined by 35 facets to maintain a specific polygonal resolution rather than a perfectly smooth c...
box = 43.0; hoehe = 2.5; coin_r = 39; quadrum(coin_r); module quadrum(got_radius){ difference() { union() { color("orange") translate([-box/2,-box/2,0]) cube([box,box,hoehe]); } translate([0,0,-2]) cylinder(10, r=got_radius/2, $fn = 35); } }
glb/cad_5b97dd9597ec.glb
Create a Quadrum Coin Holder by starting with a square base plate measuring 43mm by 43mm with a thickness of 2.5mm. Centered within this plate, remove a large circular hole with a radius of 19.5mm. Additionally, remove four smaller circular holes, each with a radius of 3.5mm, positioned symmetrically around the center....
box = 43.0; hoehe = 2.5; coin_r = 39.0; delta = (60-coin_r)/2; shifter = 0.707*(delta+coin_r)/2; design = (delta)/2; echo("Data: ", shifter, " ", design); quadrum(coin_r); module quadrum(got_radius){ difference() { union() { color("orange") translate([-box/2,-box/2,0]) cube([box,...
glb/cad_be850cf28cf5.glb
Create a trapezoidal nut for a leadscrew with a total height of 10mm. The main body is formed by the convex hull of six cylinders, each with a radius of 12.5mm, positioned at the corners and midpoints of a 20mm by 20mm square area. Remove a central vertical hole with a radius of 6.5mm. Additionally, remove a vertical...
use <threads.scad> threads = 4; test = false; hgt = 10; module screw() { thrs = 2; translate([0,0,-2]) metric_thread(diameter=8, thread_size=thrs, rectangle=2/thrs, pitch=2, n_starts=threads, length=14, internal=true); } module nut_body() { difference() { union() { ...
glb/cad_6c4dd0469c27.glb
Create five Customizable Cup ID Clips. Each clip is a C-shaped channel with a width of 15mm and a material thickness of 2mm. The clip consists of two parallel arms separated by a 3.5mm opening. The short arm and the long arm are connected by rounded corners. The short arm features three small interior grippy nubs, eac...
number = 5; clip_text = "luke:leia:darth:han:yoda"; clip_length = 40; clip_width = 15; clip_thickness = 2; clip_opening = 3.5; text_extrusion = 1; text_font = "Arial"; text_size = 6; text_size_back = 11; text_spacing = 1.0; text_bubble_width = 2; nub_height_l = 0.75; number_of_nubs_l = 3; nub_height_r = 0...
glb/cad_37f9d904e7b5.glb
Create a Bicycle Tool Holder by starting with a main cylindrical body that has an outer radius of 24.5mm and a height of 20mm. Remove a concentric inner cylinder with a radius of 19.5mm and a height of 22mm to create a wall. To allow the holder to clip onto a frame, remove a rectangular section from the center of the w...
$fn=50; module bikeholder() { difference() { union() { cylinder(r=19.5+5,h=20); translate([0,26,0]) cylinder(r=12,h=20); } translate([0,0,-1]) cylinder(r=19.5,h=22); translate([-25,-25,-1]) cube([50,12,22]); translate([-7.5,21,-1]) cube([15,5,22]); translate([-4,19,-1]) cube([8,3,...
glb/cad_312ea2cc3d03.glb
Create a 3D model of an MPR-A5-V11 wifi router. Start with a central rectangular PCB of 25mm width, 30mm length, and 2mm height. On the top surface, add an Ethernet connector centered at the rear, consisting of a main block 13.9mm wide, 12.4mm long, and 11.5mm high, with two smaller rectangular protrusions of 1.4mm by ...
include <MPR-A5_Dim_V1.0.scad>; $fn=36/2; mpr_a5(COLORS=true); %#mpr_a5_cutouts(part=A5_L_USBA) translate([0, 5.0/2, 0]) cube([13.1+1.1 + 1.0, 5.0, 5.8+1.0 + 1.0], center=true); %#mpr_a5_cutouts(part=A5_L_ETHERNET) translate([0, -5.0/2, 0]) cube([13.1+1.1 + 1.0, 5.0, 11.5 + 1.0], center=true...
glb/cad_63ee4b433d3d.glb
Create a Parametric Woven Lattice panel. The structure is based on a repeating unit cell of 10mm cubes. First, define a single lattice segment consisting of two joined 10mm cubes: one at the base and one shifted 20mm along the x-axis and 10mm up the z-axis, with the space between them filled to create a sloped, stepped...
c=10; yiter=5; xiter=3; t=3; Bound=true; union(){ for (y=[0:1:yiter-1]){ for (x=[0:1:xiter-1]){ translate([c*4*x,c*4*y,0]) lattice(c,x,y,t); } } if(Bound){ translate([0,-c*2,0]) cube([c,c*(yiter*4+1),t*1.5]); translate([0,-c*2,0]) cube([c*(xiter*4+1),c,t*1.5]); translate([c*xiter*4,-c*2,0]) cu...
glb/cad_464c6d371074.glb
Create a Parametric Woven Lattice panel consisting of a grid of interlocking woven segments enclosed in a boundary frame. The overall structure is composed of a 5x6 grid of lattice units. Each unit is formed by two sets of perpendicular segments that weave over and under one another. Each individual segment is 5mm wid...
c=5; yiter=6; xiter=5; t=4; Bound=true; union(){ for (y=[0:1:yiter-1]){ for (x=[0:1:xiter-1]){ translate([c*4*x,c*4*y,0]) lattice(c,x,y,t); } } if(Bound){ translate([0,-c*2,0]) cube([c,c*(yiter*4+1),t*1.5]); translate([0,-c*2,0]) cube([c*(xiter*4+1),c,t*1.5]); translate([c*xiter*4,-c*2,0]) cub...
glb/cad_bf3066c6ff1d.glb
Create a Ledge Marble Run Piece by starting with a rectangular base block measuring 100mm wide, 50mm deep, and 20mm high. Remove a central rectangular section from the top, leaving a wall thickness of 3mm on the left, right, and front sides, resulting in a recessed tray that is 100mm wide, 44mm deep, and 17mm deep. In...
box_width=100; box_depth=50; box_height=20; thickness=3; $fn=150; difference() { cube([box_width,box_depth, box_height]); translate([-0.5,thickness,thickness]) cube([box_width+1,box_depth-2*thickness, box_height+1]); translate([25,13,0]) thumbtack_hole(); translate([70,13,0]) thumbtack_hole(); translate([92,37,0]...
glb/cad_57b879b08841.glb