Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a strengthening bracket for a 3D printer frame. Start with a solid rectangular block that is 31.1mm in height (X), 21.2mm in depth (Y), and 11mm in width (Z). Carve a U-shaped channel out of the top of the block to create a fork. This channel must be 20mm long (X), 5.6mm wide (Y), and 11mm deep (Z), leaving a ...
bohrung = 8; gabel = 20; wand = 5; rahmen = 5.6; breite = 11; boden = 0.5; schraube = 3.4; schraube_zum_rand = 4; schraube_radius = schraube/2; bohrung_radius = bohrung/2; dach = (breite-bohrung)/2; tiefe = wand+rahmen+wand; hoehe = gabel+boden+bohrung+dach; little=0.01; $fn = 90; module Wellenbock() { diff...
glb/cad_ae02466f2386.glb
Create a Fitbit Charge HR Charging Clip by starting with a solid rectangular block measuring 35mm in width, 15mm in depth, and 33mm in height. Carve out a rectangular section from this block, starting 10mm from the left edge and 8mm from the bottom, with dimensions of 25mm wide, 15mm deep, and 12mm high. Finally, creat...
difference() { difference() { cube([35, 15, 33]); translate([10, 0, 8]) { cube([25, 15, 12]); } } translate([21, 14, 20]) { resize([0, 20, 0]) { rotate([0, 0, 45]) { cylinder(13, 9, 7, false, $fn=4); } } } }
glb/cad_368766f13e06.glb
Create a 3D model of a BD Ultra-Fine Pen Needle with its cover attached. Start with a cylindrical base rim 15.5mm in diameter and 1.3mm high. Directly on top of this rim, place a cylinder with a diameter of 13.7mm and a height of 8.7mm. Above that, add a tapered section that transitions from a 11.5mm diameter at the bo...
rim_w=15.5; rim_h=1.3; base_wb=13.7; base_wt=13.5; base_h=10-rim_h; cone_wb=11.5; cone_wt=8.25; cone_h=4.3; tip_wb=7.35; tip_wt=6.2; tip_h=16; fin_h=1.25; fin_w=0.75; $fn=50; cylinder(rim_h, rim_w/2, rim_w/2); translate([0,0,rim_h]) cylinder(base_h, base_wb/2, base_wt/2); translate([0,0,rim_h+base_h]) cylinder(cone_...
glb/cad_d74dc4e11ff4.glb
Create a power supply support bracket by starting with a main rectangular block measuring 55mm in width, 5mm in depth, and 50mm in height. Attach a smaller rectangular extension to the front face, measuring 35mm wide, 25mm deep, and 10mm high, positioned 10mm from the left edge. Remove a horizontal cylindrical hole wi...
difference(){ union(){ cube([55,5,50], false); translate([10,0,0]){ cube([35,25,10], false); } } translate([10,17.5, 5]){ rotate([0,90,0]){ cylinder(h=35, r=2, $fn=100); } } translate([20,5,0]){ cube([15,20,10]); } ...
glb/cad_9008c99950df.glb
Create a Prusa i3 Power Supply Support by starting with a solid rectangular block measuring 55mm wide, 120mm deep, and 70mm high. Hollow out the center to create an internal cavity measuring 50mm wide, 111mm deep, and 30mm high, leaving walls of appropriate thickness. On the side walls, create a circular hole with a ...
difference(){ union(){ cube([55,20,20]); translate([0,0,0]){ cube([55,120,70]); } } translate([10,0,0]){ cube([10,25,10]); } translate([35,0,0]){ cube([10,25,10]); } translate([0,12.5,5]){ rotate([0,90,0]){ cylinder(h...
glb/cad_0168051242e9.glb
Create a power supply support by starting with a solid rectangular base measuring 55mm wide, 125mm deep, and 20mm high. Attach two additional rectangular slabs to this base: one measuring 5mm by 20mm by 20mm positioned at the front-left corner, and another measuring 60mm by 3mm by 20mm extending along the front edge. F...
difference(){ union(){ cube([55, 125, 20]); translate([-5,-10,0]){ cube([5,20,20]); cube([60,3,20]); } } translate([2,10,5]){ cube([51,113,70]); } }
glb/cad_81071fb5940e.glb
Create a Blinds Moulding Clip by extruding a specific complex 2D profile to a thickness of 1mm. The profile is a closed, irregular loop with a total height of 12mm. The shape features a wide, rounded base that transitions into a central recessed channel. On the left side, the profile extends into two distinct vertica...
profile_scale = 25.4/90; function min_x(shape_points) = min([ for (x = shape_points) min(x[0])]); function max_x(shape_points) = max([ for (x = shape_points) max(x[0])]); function min_y(shape_points) = min([ for (x = shape_points) min(x[1])]); function max_y(shape_points) = max([ for (x = shape_points) max(x[1])]); h...
glb/cad_20ab432876f4.glb
Create a washer for a side window opener consisting of a rectangular base with two integrated cylindrical mounts. Start with a rectangular plate measuring 52.65mm in width, 38.15mm in depth, and 2mm in height. At the center of the plate, create a rectangular cutout measuring 52.65mm by 6.9mm (the difference between 3...
$fs=0.2; $fa=2; wedge_angle=atan( (38.15-31.25) / (52.65/2) ); color("red") rotate([180,0,0]) union() { translate([0,0,-2]) difference() { union() { translate([-52.65/2,-38.15/2,0]) cube([52.65, 38.15, 2]); translate([35.5/2,-38.15/2 + 25,-5] ) cylinder(r=9/2 , h=5); translate([-35.5/2,-38.15/2 +...
glb/cad_ce494ed7a920.glb
Create a rectangular storage tray for board game components. The overall outer dimensions of the tray must be 149mm in length, 105.25mm in width, and 30mm in height. Construct the main body as a hollowed-out shell with a wall thickness of 3mm. The interior cavity should start 3mm from the bottom, leaving a solid 3mm ...
$fn = 200; height = 30; width = 212.5/2 - 1; thickness = 3; length = 149; union() { difference() { cube([length,width,height]); translate ([thickness,thickness,thickness]) cube([length-thickness*2,width-thickness*2,height-thickness]); } translate([length/2-thickness/2,0,0]) cube([thickness, width, height]); }
glb/cad_0aa406b4a2eb.glb
Create a rectangular storage tray for board game components. The overall outer dimensions of the tray must be 144mm in length, 105.25mm in width, and 30mm in height. Construct the main body as a hollowed-out shell with a wall thickness of 3mm. The floor of the tray should be 3mm thick, leaving an internal cavity dept...
$fn = 200; height = 30; width = 212.5/2 - 1; thickness = 3; length = 144; union() { difference() { cube([length,width,height]); translate ([thickness,thickness,thickness]) cube([length-thickness*2,width-thickness*2,height-thickness]); } translate([149/2-thickness/2,0,0]) cube([thickness, width, height]); }
glb/cad_179d88c410f2.glb
Create a rectangular storage tray for board game components. The overall outer dimensions of the tray must be 97.15mm in length, 63.15mm in width, and 13mm in height. Construct the main body as an open-topped box with a uniform wall thickness of 1.75mm for the bottom and all four outer sides. To divide the interior, ...
$fn = 200; height = 13; width = 64.4 - 1.25; thickness = 1.75; length = 98.4 - 1.25; union() { difference() { cube([length,width,height]); translate ([thickness,thickness,thickness]) cube([length-thickness*2,width-thickness*2,height-thickness]); } translate([length/2-thickness/2,0,0]) cube([thickness, width, hei...
glb/cad_cd55fcb93d7d.glb
Create a Plier Stand consisting of a flat rectangular base and a vertical support structure. Start with a base plate measuring 100mm wide, 100mm long, and 2mm thick. Centered on this base, construct a vertical wall that is 100mm high, 100mm long, and 2mm thick. At the bottom of this vertical wall, create a rounded tr...
plate_thickness = 2; stand_length = 100; stand_width = 100; stand_height = 100; stand_rounding = 10; support_radius = 12; support_stopper_length = 5; support_stopper_scale = 1.5; $fn=100; module semicircle(radius, thickness) difference() { circle(r=radius); circle(r=radius-thickness); translate([0,-radius...
glb/cad_6ad410f88bf0.glb
Create a space station model centered around a vertical axis. Start by placing a sphere with a radius of 10mm at the top and another sphere with a radius of 10mm at the bottom, separated by a vertical distance of 40mm. Connect these two spheres with a central cylinder that has a radius of 5mm and a total height of 40mm...
$angle=45; $height=40; $Donnotmesswithhalfheight=$height/2; translate([0,0,$height])union(){ sphere(r=10); union(){ union(){ rotate([0,$angle,0]) cube([5,$height,10], center=true); rotate([0,$angle,180]) cube([5,$height,10], center=true); } rotate...
glb/cad_d9ccabed1aa3.glb
Create a Universal Laser Focus Tool consisting of a circular base and a vertical stem. Start by creating a cylindrical base with a diameter of 25.4mm and a height of 15.24mm. Remove a central vertical hole with a diameter of 9.525mm and cut a rectangular notch 5.08mm wide and 25.4mm deep through the center of the base....
baseH=.6; baseD=1; baseholeD=.375; cutaway=.2; stemD=baseholeD; stem1H=.5; stem2H=1; stem3H=baseH; cutaway1=.1; cutaway2=.05; res=60; laser=1.875; minmove=stem2H+stem3H; printbase=1; printstem=1; module base(){ scale([25.4,25.4,25.4]) difference(){ difference(){ cylinder(h=baseH, d=b...
glb/cad_d6eba80b0c5c.glb
Create a Turret Assembly consisting of a main L-shaped bracket. Start by constructing a vertical rectangular base measuring 14mm wide, 2mm thick, and 32mm high, positioned from x=-16.25 to x=-2.25 and z=3 to z=35. Within this vertical wall, carve out a rectangular slot measuring 2mm wide, 2mm thick, and 15mm high, star...
difference() { translate([-16.25,-3,3]) { cube([14,2,32]); } translate([-10.25,-3,5]) { cube([2,2,15]); } } difference() { translate([-16.25,-3,33]) { cube([14,50,2.5]); } translate([-10,43,15]) { cylinder(30,2,2); } } difference() { translate([-16.25,-3,25]) { cube([14,50,2.5]); } translate(...
glb/cad_e4e14dda7f0e.glb
Create a Turret Assembly consisting of a vertical base and two horizontal platforms. Start by creating a vertical rectangular base measuring 14mm wide, 2mm thick, and 42mm high. In the lower section of this base, center a vertical rectangular cutout that is 2mm wide, 2mm thick, and 15mm high. Above this base, construct...
difference() { translate([-16.25,-3,-9]) { cube([14,2,42]); } translate([-10.25,-3,-5]) { cube([2,2,15]); } } difference() { translate([-16.25,-3,33]) { cube([14,50,2.5]); } translate([-10,43,15]) { cylinder(30,2,2); } } difference() { translate([-16.25,-3,15]) { cube([14,50,2.5]); } translat...
glb/cad_43a23c146bc1.glb
Create a wire brace case for a Zalman VE300. Start with a main rectangular base measuring 78.8mm in width, 136.2mm in length, and 13mm in height. On the top surface of this base, add a rectangular protrusion for a wire connector measuring 16mm by 30mm with a height of 8.5mm, positioned at x=6, y=-30, z=2.7. Add a dis...
module zalman() { cube([78.8,136.2,13]); translate([6,-30,2.7]) cube([16,30,8.5]); translate([78.8/2-32/2,6,13]) cube([32,11,3]); translate([78.8,0,13/2/2]) cube([0,25,7]); translate([78.8-7-15,-1,13/2-5/2]) cube([15,1,5]); } module bolt() { color("grey") { cylinder(h=4,d=6.5,$fn=6); cylinder(h=17,d=3.2,$fn=16); trans...
glb/cad_2805c25c3ee9.glb
Create a wheel holder assembly consisting of two primary components. First, create a hollow rubber wheel with an external diameter of 16mm, an internal diameter of 6mm, and a height of 12mm. Second, design a wheel holder base. This base starts as a cylinder with a diameter of 16mm and a height of 2mm. Centered throug...
WheelExternalDiameter = 16; WheelInternalDiameter = 6; WheelHeight = 12; ScrewDiameter = 3; NutExternalSize = 6; EncoderTeeth = 10; Mode = "Print"; $fn=50; if(Mode == "View"){ translate([0,0,5]) rubberWheel(WheelExternalDiameter,WheelInternalDiameter,WheelHeight); wheelHolder(0); translate([0,0,...
glb/cad_d24da9602dbe.glb
Create a hollow rectangular box with external dimensions of 44mm in length, 23mm in width, and 20mm in height. The walls should be 2mm thick, and all exterior corners and edges must be rounded with a 0.5mm radius. Remove the top face of the box to create an open cavity measuring 40mm by 19mm. Centered along the length ...
TamanhoInternoX = 40; TamanhoInternoY = 19; Altura = 20; Espessura = 2; Distancia = 17.5; DiametroRolamento = 10; $fn=50; difference(){ minkowski(){ cube([TamanhoInternoX+Espessura*2, TamanhoInternoY+Espessura*2,Altura]); sphere(0.5); } translate([Espessura,Espessura,-2]) ...
glb/cad_b41ee3506804.glb
Create a Raspberry Pi Zero Cluster Case by starting with a central base plate measuring 50mm x 80mm x 6mm, centered on the origin. Attach a fan plate measuring 21mm x 91mm x 11mm, centered at X=40, and add a supporting extension block of 20mm x 91mm x 6mm centered at X=30. To create the mounting points for the boards,...
difference(){ union(){ cube(size=[50,80,6],center = true); translate([40,0,2.5]) cube(size=[21,91,11],center = true); color("orange") translate([30,0,0]) cube(size=[20,91,6],center = true); } union(){ translate([40,0,6]) cube(size=[11,83,6],center = true); t...
glb/cad_eca9d968bc33.glb
Create a Raspberry Pi Zero Cluster Case by starting with a central base plate measuring 50mm x 80mm x 6mm, centered on the origin. Attach a rectangular extension to this base that measures 20mm x 91mm x 6mm, centered along the Y-axis and shifted 30mm along the X-axis. Add a fan plate measuring 21mm x 91mm x 11mm, cente...
difference(){ union(){ cube(size=[50,80,6],center = true); translate([40,0,2.5]) cube(size=[21,91,11],center = true); color("orange") translate([30,0,0]) cube(size=[20,91,6],center = true); } union(){ translate([40,0,6]) cube(size=[11,83,6],center = true); ...
glb/cad_a9143a2df54b.glb
Create a Raspberry Pi Zero Cluster Case mounting plate. Start with a rectangular base plate measuring 100mm wide, 115mm deep, and 5mm thick, centered on the origin. Cut a rectangular opening from the center of the plate that is 60mm wide and 80mm deep, extending through the full 5mm thickness. Add four mounting hol...
difference(){ union(){ cube(size=[100,115,5],center = true); } cube(size=[60,80,6],center = true); translate([45.5,11.5,0]) union(){ color("blue") translate([0,42,-4]) cylinder(h=8, r1=3.70/2, r2=3.70/2, center=false,$fn=100); color("blue") translate([0,6,-4]) cylinder(h=...
glb/cad_c16629c0552e.glb
Create a Raspberry Pi Zero Cluster Case side panel. Start with a base plate measuring 100mm wide, 115mm deep, and 5mm thick, centered on the origin. On the front edge of the plate, create four rectangular cutouts for RJ45 jacks. Each cutout should be 17mm wide, 25mm high, and 6mm deep. Position these cutouts symmetric...
difference(){ union(){ cube(size=[100,115,5],center = true); translate([0,-28,0]) union(){ translate([24,0,5]) cube(size=[7,25,5],center=true); translate([0,0,5]) cube(size=[7,25,5],center=true); translate([-24,0,5]) cube(size=[7,25,5],center=true); ...
glb/cad_53ff85db5782.glb
Create a fabric button and a matching retaining ring. For the button, create a cylinder 40mm in diameter and 4mm high. Hollow out the center of this cylinder to create a shell with a wall thickness of 0.9mm, leaving a solid base at the bottom. At the top face, create a slight conical indentation that tapers from the ou...
part = "both"; holeCount = 4; holeDistance = 3.6; holeDiameter = 2.6; thickness = 4; width = 40; height = thickness; wallThickness = 0.9; patternWidth = (width + height * 6 + wallThickness * 6); $fn = 90; module button(){ difference(){ cylinder(h = height+wallThickness, r = width/2); transl...
glb/cad_dc98c13d1d9c.glb
Create a Deadmau5 mask ear. Start by creating a cylinder with a height of 5mm and a radius of 28.8mm, centered on the origin. Intersect this cylinder with a cube that has dimensions of 43.2mm by 43.2mm by 6mm, also centered on the origin, but offset the cube's center to 43.2mm on both the X and Y axes. The resulting sh...
d = 48; r = d/2; h = 48; big_d = 1.4 * d; big_r = big_d/2; ear_h = 5; ear_r = big_r * 0.8; eye_angle = 35; eye_angle_z = 42; module internal_cylinder(){ union(){ translate( [0, 0, h/2] ) sphere( r ); cylinder( h, r = r, center = true ); } } module head_1(){ eye_r = big_r/4; union(){ sp...
glb/cad_d442546f702a.glb
Create a replacement clamp for a hotend by starting with a central rectangular block measuring 15mm wide, 37mm long, and 12.7mm high. Center this block on the origin. Remove a vertical cylinder from the center of the block with a radius of 6.25mm and a height of 15mm. To create the mounting holes, remove two horizontal...
module hotend_clamp(){ difference(){translate([7.5,0,12.7/2]) cube([15,37,12.7],center=true); translate([0,0,-1]) cylinder(r=12.5/2,h=15,$fn=60); translate([-1,-(25/2),12.7/2]) rotate([0,90,0]) cylinder(r=3.4/2,h=18,$fn=60); translate([-1,(25/2),12.7/2]) rotate([0,90,0]) cylinder(r=3.4/2,h=18,$fn=60); translate([0,0,12...
glb/cad_06287e66518a.glb
Create a support base for a Color Light lamp. Start by constructing a solid cylinder with a radius of 41mm and a height of 10mm. On top of this base, add a spherical ring with an outer radius of 41mm and a wall thickness of 2mm. Integrate a second ring specifically for LEDs, also with a 2mm wall thickness. Incorporat...
include <commun.scad> difference() { union() { translate([0, 0, -support_height]) cylinder(r = ballring_outer_radius + wall, h = support_height); ballring(wall); ledring(wall); translate([-particle_width / 2, ball_outer_radius - particle_length - 3, 1]) particle(4); } translate([-particle_width /...
glb/cad_7475ba4a75a4.glb
Create a storage box for 35mm slides consisting of a base and a lid. For the base, create a rectangular outer shell with dimensions 55.4mm wide, 55.8mm deep, and 30mm high. Hollow out the center to create a cavity 52.4mm wide and 54.8mm deep, leaving a bottom wall thickness of 1mm and side walls of 1.5mm. The top of ...
print_base = true; number_of_slides = 30; base_height = 30; rim_height = 5; top_height = 25; slide_size = 2*25.4; slide_thickness = 1.8; wall_thickness = 1.5; slop_around_slide = 1; slop_around_stack = 0.5; base_thickness = 1; rim_thickness = 0.5; vertical_slop = 0.1; rim_slop = 1; use_tabs = false; tab_depth = 0.3;...
glb/cad_94b33a1247a0.glb
Create a parametric USB holder consisting of three rows of slots. For each row, create a solid rectangular block with a width of 47.55mm, a depth of 14mm, and a height of 14.5mm. Within each of these blocks, carve out three rectangular holes to serve as USB ports. Each hole must measure 12.35mm in width, 4.85mm in dept...
NRows = 3; NPorts = 3; StaggeredHeight = 0; USBSpacing = 5.5; RowDepth = 14; USB_Width = 12.35; USB_Depth = 4.85; USB_Height = 12.5; for (i=[1:NRows]){ difference(){ translate([0,(i-1)*RowDepth,0]) cube([(USB_Width+(USBSpacing*2))*NPorts, RowDepth, (USB_Height+2)+(i*StaggeredHeight)]); for...
glb/cad_93b96814fc84.glb
Create a 3D text sign that reads "Do Work" using a bold italic serif font. The letters should have a uniform thickness of 12mm. Position the word "Do" on the top line and the word "Work" directly below it. The characters in "Do" should be 36mm in size with a spacing of 0.9, and the characters in "Work" should be 36mm i...
module for_printer(){ linear_extrude(height = 12) { text("Wor", font="Apple Chancery:style=Bold Italic",spacing=0.85, size=36, $fn=50); translate([72,0,0]){ text("k", font="Apple Chancery:style=Bold Italic",spacing=0.85, size=36, $fn=50); } translate([0,35,0]){ ...
glb/cad_ead564bde639.glb
Create a lint roller handle consisting of a roller attachment section and a grip. For the roller section, start with a base cylinder 10mm high with a bottom radius of 21mm tapering to 20mm. Above this, add a 83mm high cylinder with a constant radius of 17.875mm. On top of that, add a 10mm high cylinder that tapers fr...
$fn = 60; upper_taper_radius = 35/2; upper_flange_radius = 38.5/2; roller_radius = 37.5/2; lower_flange_radius = 42/2; lower_taper_radius = 36/2; handle_radius = 30/2; rotate([180,0,0]) { complete_unit(); } module complete_unit() { roller(); translate([0,0,-60]) handle(); } module roller() { translate([0,0,1...
glb/cad_f4078f18144d.glb
Create a 3D model of the Akaan Galaar consisting of two distinct sets of geometric primitives arranged in mathematical patterns. First, create a series of small cubes, each 2mm on all sides. Position these cubes in a linear sequence along the X-axis from x = -100mm to x = 100mm at 5mm intervals. For each cube, set the ...
echo(version=version()); function f(x) = 0.5 * x + 1; color("red") for (a = [ -100 : 5 : 100 ]) translate([a, f(a), 0]) cube(2, center = true); function g(x) = [ 5 * x + 20, f(x) * f(x) - 50, 0 ]; color("green") for (a = [ -200 : 10 : 200 ]) translate(g(a / 8)) sphere(1);
glb/cad_daed7433b977.glb
Create a parametric cupholder by constructing a hollow cylindrical shell with an outer radius of 42mm and a total height of 60mm. The main body is formed by a cylinder with a radius of 42mm and a height of 60mm, from which a smaller concentric cylinder with a radius of 40mm and a height of 58mm is removed, starting 2mm...
module T1(R1,H1){ module tasse(){ cylinder(r=R1+2, h=H1/3); } module tasse_ringe(){ tasse(); translate([0,0,(H1/3)*2]) tasse(); } module tasse_n(){ cylinder(r=R1, h=H1-2); } difference(){ tasse_ringe(); translate([0,0,2]) tasse_n(); } module henkel(){ difference(){ cube([10,30,H1 ]); translate([0,5,5]) cube([10, 20...
glb/cad_73e7b4d88e3f.glb
Create a Gen4 LCD and Buttons Interface housing. Start with a main case body that is 100mm wide, 130mm deep, and 4mm thick. On the front face, create a rectangular cutout measuring 80mm by 38.4mm to accommodate an LCD screen. The LCD assembly itself consists of a PCB measuring 87mm by 60mm by 1.6mm, surrounded by a b...
$fn=0; $fa=0.01; $fs=0.5; X=[1,0,0]; Y=[0,1,0]; Z=[0,0,1]; module torus(outerRadius, innerRadius) { r=(outerRadius-innerRadius)/2; rotate_extrude() translate([innerRadius+r,0,0]) circle(r); } module LCD_CFAH1604ATMIJT() { translate([-87/2,-60/2,0]) color([0,0.5,0,1]) cube([87,60,1.6]); differenc...
glb/cad_ba6a151ed95d.glb
Create a CR2032 to CR2450 button battery adapter. Start by creating a main outer cylinder with a diameter of 23.8mm and a height of 4.2mm. Centered within this cylinder, remove a smaller inner cylindrical volume with a diameter of 20.2mm and a height of 3.2mm, starting from the top and extending downwards, leaving a ba...
ButtonAD =24; ButtonAH =5.0; ButtonBD =20; ButtonBH =3.2; e =0.2; $fn =64; difference() { translate([ButtonAD/2,ButtonAD/2,0]) cylinder(d=ButtonAD-e,h=ButtonAH-0.8); translate([ButtonAD/2,ButtonBD/2,ButtonAH-ButtonBH]) cylinder(d=ButtonBD+e,h=ButtonBH+e); tra...
glb/cad_9f1cef1ff18b.glb
Create a CR2032 to CR2450 button battery adapter. Start by creating a main outer cylinder with a diameter of 23.8mm and a height of 4.2mm. Inside this cylinder, center a coaxial hole with a diameter of 20.2mm and a depth of 3.2mm, leaving a solid base at the bottom. To facilitate battery removal, cut a rectangular slot...
ButtonAD =24; ButtonAH =5.0; ButtonBD =20; ButtonBH =3.2; e =0.2; $fn =64; difference() { translate([ButtonAD/2,ButtonAD/2,0]) cylinder(d=ButtonAD-e,h=ButtonAH-0.8); translate([ButtonAD/2,ButtonBD/2,ButtonAH-ButtonBH]) cylinder(d=ButtonBD+e,h=ButtonBH+e); tra...
glb/cad_00cb8f59a046.glb
Create a Duplo replacement window with a total thickness of 2mm. The overall shape is a rectangular plate with a curved top edge. The main body consists of a frame containing four window panes arranged in a two-by-two grid. The outer frame is defined by a rectangular base with a rounded top. Within this frame, create...
$fn=50; module window_half() { difference() { union() { translate([2.85, 5.6]) square([17.5, 22]); difference() { translate([-3, -11]) circle(r=65); translate([-100, -100]) square(100); translate([-100, 0]) square(100); ...
glb/cad_58fb6c107132.glb
Create an Icosahedron Module tile based on an equilateral triangle with a side length of 190mm and a total thickness of 4mm. Start by creating a triangular border with a width of 4mm. Within this border, integrate three cylindrical snap-fit connectors, one centered on each edge. Each connector consists of an outer cy...
snaps = 10; level = 6; side_length = 190; thickness = 4; snap_thickness=4; fill_pattern_thickness=0.9; fill_canvas_thickness=0.3; border_width = 4; snap_width = 4; radius = side_length/(sqrt(3)); border = radius-snap_width/(cos(60)); inside = border-border_width/(cos(60)); snaplen = side_length/snaps; snap_trim =...
glb/cad_76a31d9f27f3.glb
Create a Titan Take Three X-axis mount plate. Start with a base plate that is 80mm high, 62mm wide, and 3mm thick, with corners rounded to a 4mm radius. On this plate, create several holes for mounting. Position two sets of bearing mount holes: one set at the top with holes at (5.25, 6) and (5.25, 24), and another se...
belt=true; plate=true; include <rounded_cube.scad> belt_pitch = 2; tooth_width = 0.8; length = 15; attach_height=15; width = 14; thickness = 12; belt_width = 6+0.6; belt_thickness = 1.2; tooth_height = 0.8; pl_width=62; pl_height=80; pl_thickness=3.0; radius=4; hole_len=attach_height+5; $fn=30; main(); module main...
glb/cad_1b098670d4de.glb
Create a sensor mount for an X-carriage. Start with a base formed by the convex hull of three cylinders, each with a radius of 4mm and height of 2mm, positioned at (43.5, 12, 0), (58.5, 12, 0), and (58.5, -5.5, 0). From this base, remove three vertical holes: two with a radius of 2.1mm at (43.5, 12, 0) and (58.5, 12, 0...
s_dia=12; include <rounded_cube.scad> sensor_mount(); module sensor_mount(){ s_rad=s_dia/2+0.25; b_rad=s_rad+6; rotate([0,90,0]) translate([-62,-4,0]) difference(){ union(){ difference(){ hull(){ translate([43.5,12,0]) cylinder(r=4, h=2); ...
glb/cad_d441e6e1bbf7.glb
Create a cable chain connector for an ANET A8 extruder mount. Start with a base rectangular plate 40mm wide, 24.5mm deep, and 2mm thick. On top of this base, add two rectangular blocks: one measuring 30mm wide, 3mm deep, and 15mm high, positioned from x=0 to x=30 and y=3 to y=6; and another measuring 40mm wide, 3mm dee...
$fn=30; difference(){ union(){ translate([-10,0,0]) cube([40,24.5,2]); translate([0,3,0]) cube([30,3,15]); translate([-10,0,-10]) cube([40,3,10]); translate([-10,21.5,-10]) cube([40,3,10]); translate([0,24.5,0]) cube([30,3,15]); translate([26,3,0]) cube([4,23,...
glb/cad_7d35e646e876.glb
Create a cable chain connector for an X-carriage. Start with a main body consisting of a 30mm x 24.5mm x 2mm rectangular plate. Attach a 30mm x 3mm x 25mm block to the bottom edge, extending from Z -10mm to 15mm. Add a 30mm x 3mm x 10mm block adjacent to it, and a 30mm x 3mm x 15mm block positioned at Y 21.5mm. Include...
$fn=30; translate([0,0,1.75]) rotate([180,-26,0]) difference(){ union(){ cube([30,24.5,2]); translate([0,0,-10]) cube([30,3,25]); translate([0,3,-10]) cube([30,3,10]); translate([0,21.5,0]) cube([30,3,15]); translate([26,0,0]) cube([4,23,15]); translate([30,3.25,0.5])...
glb/cad_aedf8072bbb7.glb
Create a Titan Take Three extruder mount consisting of a base plate and a mounting bracket. Start with a base plate that is 62mm wide, 80mm high, and 3mm thick with 4mm rounded corners. In this plate, create four mounting holes with a radius of 2.1mm: two positioned at [5.25, 6, 0] and [5.25, 24, 0], and two at [29.2...
motor_size=34; include <rounded_cube.scad> mount_opening=motor_size-17; pl_width=62; pl_height=80; pl_thickness=3.0; radius=4; $fn=120; main(); module main(){ titan_mount(); } module bearing_mount(){ translate([5.25, 6, 0]) cylinder(r=2.1, h=32, center=true); translate([5.25, 24, 0]) cylinder(r=2.1...
glb/cad_d96ba0dcb68c.glb
Create a captured fan nozzle for a 3D printer extruder. Start with a fan mount base consisting of a rounded rectangular plate measuring 48mm by 54mm with a thickness of 1.5mm. At the center of one edge, add a semi-circular protrusion with a radius of 17.5mm and a thickness of 3mm. Cut a circular hole with a radius of 1...
include <rounded_cube.scad>; motorsize=34; $fn=60; main(); module main(){ fan_mount(); translate([17,3,34]) rotate([-90,0,0]) { difference(){ union(){ translate([34,12, -2]) cube([ 5, 22, 15.5]); color("green") translate([17.4, 13.5, -0.5...
glb/cad_5f53849744d5.glb
Create a fan mount for an E3D system. Start with a base rectangular plate measuring 46mm by 54mm with a thickness of 3mm and rounded corners (radius 5mm). On this base, add a mounting plate formed by the hull of a 4mm by 4mm by 2.5mm cube, a cylinder with a 4mm radius and 2.5mm height at [15, 32.5, 0], and another cy...
include <rounded_cube.scad>; $fn=72; fan_mount(); module fan_mount(){ difference(){ union() { translate([41,54,1]) rotate([90,0,0]){ difference(){ hull(){ translate([-16,-1,0]) cube([4,4,2.5]); translate([-...
glb/cad_9a1bfb0f9a61.glb
Create a rear sensor mount for a 3D printer. Start with a base plate that is 62mm wide, 60mm deep, and 3mm thick, featuring rounded corners with a 2mm radius. Centered on this plate, add a cylindrical boss to hold a sensor. This boss should have an outer diameter of 22mm (12mm sensor diameter plus 5mm margin) and a h...
sensor=12; include <rounded_cube.scad>; $fn=72; pl_width=62; offset=31; edge=offset-5-sensor/2; rear_mount(); module rear_mount() { difference(){ union(){ translate([0,-30,0]) rounded_cube([pl_width,60,3],2); translate([edge,24,0]) cube([sensor+10, 6, sensor/2+8]); tra...
glb/cad_d295088f7ac2.glb
Create a Parametric Spinner Fidget Toy with a thickness of 7mm. Start by creating a central cylinder with a radius of 13mm and a height of 7mm. Subtract a concentric hole from this center cylinder with a radius of 11mm. To create the arms, generate three identical extensions spaced 120 degrees apart. Each arm is form...
spinner_style = 3; bearing_diameter=22; bearing_thickness=7; wall_thickness=2; extra_arm_length = 0; part_quality = 0.5; $fa=1; $fs=part_quality; degree=360/spinner_style; number=spinner_style; outer=bearing_diameter/2 + wall_thickness; inner=bearing_diameter/2; arm=inner*2+wall_thickness+extra_arm_length; dif...
glb/cad_c155197851f5.glb
Create a protective case for a Wemos D1 Mini Pro consisting of a base and a lid. For the base, create a centered rectangular block 38.5mm wide, 30.5mm deep, and 6.5mm high. Hollow out the center of this block to create a cavity 34.5mm wide, 26.5mm deep, and 4.5mm high, leaving a wall thickness of 2mm. In the center of ...
height = 6.5; microsd_height = 0.0; thickness = 2.0; fudge = 0.1; width = 38.5; depth = 30.50; cavity_width = width - (2 * thickness); cavity_depth = depth - (2 * thickness); cavity_height = height - thickness + fudge; hole_diameter = 7.0; slit_width = 4.0; slit_height = 23.0; difference() { union () { ...
glb/cad_b5dfd7861e74.glb
Create a 90-degree corner bracket for 10mm extrusions. Construct the bracket by joining two identical rectangular wings at a right angle. Each wing must be a rectangular prism measuring 10mm in length, 10mm in width, and 1.5mm in height. Position a circular hole with a radius of 1.5mm through the center of each wing. T...
width=10; length=10; height=1.5; tapradius=3/2; $fn=100; module tap() { translate([length/1.5,width/2,-height]) cylinder(r=tapradius,h=3*height); } module wing() { difference() { cube([length, width,height]); tap(); } } module cornerbracket() { wing(); translate([height,0,0]) rotate([0,-90,0]) wing(); } co...
glb/cad_4309ae4b618a.glb
Create a 90-degree corner bracket for 10mm extrusions consisting of two rectangular wings joined at a right angle. First, create a primary rectangular wing measuring 30mm in length, 10mm in width, and 1.5mm in height. Pierce this wing with three circular holes, each with a radius of 1.5mm; position the first hole at th...
width=10; length1=30; length2=20; height=1.5; tapradius=3/2; $fn=100; module tap() { translate([width/2,width/2,-height]) cylinder(r=tapradius,h=3*height); } module wing1() { difference() { cube([length1,width,height]); union() { tap(); translate([width,0,0]) tap(); translate([2*width,0,0]) tap(); } ...
glb/cad_2dbecba02c8b.glb
Create a diagonal rod for a Rostock delta robot. The assembly is centered on a central axis and rotated 45 degrees. The main body is a hexagonal prism with a radius of 3.5mm divided by the cosine of 30 degrees, extending for a length of 232mm. At each end of this central prism, add a Y-shaped jaw assembly. At the far...
use <joint.scad>; l = 250; h = 7; r = h/2 / cos(30); module collar() { difference() { cube([4, 20, h], center=true); cube([2, 18, h+1], center=true); rotate([0, 90]) rotate([0, 0, 30]) cylinder(r=5, h=5, center=true, $fn=6); } } module cubicle() { difference() { cube([6, 6, h], center=true); cube([4,...
glb/cad_211eea673f22.glb
Create a diagonal rod joint for a delta robot. The main body is a composite shape formed by the intersection of a cylinder with a radius of 5mm and a height of 14mm (centered on the Y-axis) and a rectangular block measuring 10mm by 14mm by 7mm. To this, add a tapered section created by the intersection of a block measu...
h = 7; r = h/2 / cos(30); module stumpy() { rotate([0, 90]) rotate([0, 0, 30]) intersection() { cylinder(r=r, h=8, center=true, $fn=6); sphere(r=5.1, $fn=24); } } module middle() { difference() { union() { translate([-2, 0, 0]) stumpy(); translate([2, 0, 0]) stumpy(); rotate([0, 0, 90]) stumpy(); ...
glb/cad_44f3c4a4e8d2.glb
Create a Nose Flute by constructing a main rectangular body and subtracting several geometric voids to create the air channels. Start with a solid rectangular block measuring 60mm in length, 45mm in width, and 7mm in height. Carve a central conduit through the body by removing a tapered cylinder that transitions from ...
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_69054e1c1af0.glb
Create two mirrored Z axis top brackets for a 3D printer frame. Each bracket starts with a base plate 85mm deep and 5mm thick. The plate has rounded corners with a 10mm radius and features several cutouts: a circular opening for a spindle, a slot for a smooth rod, and rectangular notches to accommodate a 5.5mm thick fr...
height = 5; frame = 5.5; slack = 0.2; screws = 3; bearing_diameter = 22.4; bearing_radius = bearing_diameter/2; bearing_height = 7; bearing_wall = 3; bearing_brim = 1; bearing_brim_thickness = 2; rod_diameter = 8; rod_radius = rod_diameter/2; block_x = frame*3; block_y = 12; boden = 4; horizontal_rod_diameter = 8; hori...
glb/cad_e7923302bfd3.glb
Create a Parcheesi pawn by stacking the following geometric components along a central vertical axis. Start with a cylindrical base 10mm in diameter and 1mm in height. Directly above this, center a sphere with a 10mm diameter, positioned so its center is 5mm above the bottom plane. Around the top of this sphere, create...
$fn=64; union(){ hull(){ translate([0,0,15]) scale([1,1,0.75]) sphere(d=4); translate([0,0,17]) scale([1,1,0.75]) sphere(d=4); } translate([0,0,10]) cylinder(d1=4,d2=3,h=4); hull(){ translate([0,0,9]) rotate_extrude(convexity = 10) translate([2, 1, 0]) circle(r = 0.5); translate([0,0,8]) rotate_extr...
glb/cad_ea8dffe2b763.glb
Create a Parcheesi pawn by assembling the following geometric components along a central vertical axis. Start with a base consisting of a ring with an outer diameter of 9mm and an inner diameter of 8mm, with a height of 1mm. Above this, place a sphere with a diameter of 10mm, centered so that its bottom sits at a heigh...
$fn=64; union(){ translate([0,0,16]) sphere(d=5); translate([0,0,10]) cylinder(d1=4,d2=2.5,h=4); hull(){ translate([0,0,8.5]) rotate_extrude(convexity = 10) translate([2, 1, 0]) circle(r = 1); translate([0,0,8]) rotate_extrude(convexity = 10) translate([2, 1, 0]) circle(r = 1); } translate([0,0,5]...
glb/cad_f135a676fc9e.glb
Create a motor protector and landing gear guard. Start by constructing a hollowed-out rectangular body with rounded corners. The outer walls should be 2mm thick and 15mm high. The base floor of the guard is 2mm thick. Inside this body, create a series of vertical holes to accommodate mounting. Specifically, create fou...
$fn=100; wallthick=2; wallradius=4; wallheight=15; floorthick=2; module holes(){ hull(){ translate([0,16/2,-20])cylinder(d=3,h=55); translate([0,19/2,-20])cylinder(d=3,h=55); } translate([0,0,-20])cylinder(d=7,h=55); translate([0,17.5/2,-20])cylinder(d=8,h=20); } module body(){ trans...
glb/cad_79acb070ead7.glb
Create a centering plate for a kinematic mirror mount by starting with a rectangular block measuring 15.2mm wide, 26mm long, and 8mm high, centered on the origin. Subtract two hexagonal nut-shaped holes to accommodate M4 nuts. Position these hexagonal cutouts symmetrically along the length of the block, each centered...
include <nuts_and_bolts.scad> $fn = 40; height_mm = 8; hole_distance_mm = 14.5; nut_tol = 0.1; centering_plate(height_mm, hole_distance_mm, nut_tol); module centering_plate(height_mm){ M4 = 3.8; difference(){ cube([15.2,26,height_mm],center=true); translate([0,hole_distance_mm/2,height_m...
glb/cad_472e9636d2ac.glb
Create a Jigglypuff keychain by starting with a low-poly character body scaled up by a factor of 7. On the face of the model, create a mouth opening by removing a section of the geometry: specifically, place a cylinder with a radius of 0.55mm and a height of 10mm, centered at coordinates [0, -5, 3.5], rotate it -120 de...
$fn=40; epsilon=0.1; module body() { translate([0,20,0]) import(file="Low_Poly_Jigglypuff.stl",convexity=10); translate([0,0,2.5]) cube([3.5,2.8,2],center=true); } mR=0.55; mD=mR*2; mH=10; module mouth() { difference() { translate([0,-5,3.5]) rotate([-90-30,0,0]) difference() { scale([2.05,1,1]) ...
glb/cad_34eea4df4acc.glb
Create a PulleyGuardClass by starting with a spherical segment that is 8mm thick, centered on the Z-axis, and constrained within a bounding box of 45mm by 45mm. The resulting shape should be a shallow, rounded disc with a total thickness of 8mm. From this solid, remove a central vertical hole with a radius of 4mm and a...
thick=8; holes=4; guardradius=45; holespace=8; difference(){ intersection(){ resize(newsize=[guardradius,guardradius,20]) sphere(r=50, $fn=36); translate([0,0,thick/2]) cube([guardradius,guardradius,thick], center=true); } tetrixholes(); } module tetrixholes() { cylinder(thick, r=4, $fn=12); for(i=[0:hole...
glb/cad_f2b9acb354f8.glb
Create a pool inlet to garden hose adapter consisting of a single cylindrical threaded bolt. The object is a right-hand metric screw thread with a diameter of 8mm, a pitch of 1mm, and a total length of 8mm. The thread should be external, meaning it is a solid bolt rather than a nut. Ensure the geometry is constructed w...
metric_thread(8, 1, 8); pi = 3.14159265; function segments(diameter) = min(50, ceil(diameter*6)); module metric_thread(diameter=8, pitch=1, length=1, internal=false, n_starts=1) { n_turns = floor(length/pitch); n_segments = segments(diameter); h = pitch * cos(30); union() { intersection() { ...
glb/cad_849e06c9dbec.glb
Create a 4-leaf clover charm for a ring accessory. Start by creating a flat, 2mm thick 4-leaf clover shape based on a 4leaf.dxf profile, scaled by a factor of 1.5 in both horizontal dimensions. Centered on this clover, add a cylinder with a radius of 5.5mm and a height of 6mm. Finally, create a vertical hole through th...
use <pins.scad> $fn=60; difference () { union () { scale ([1.5,1.5,0]) translate ([-9.45,-222.45,0]) linear_extrude(file="4leaf.dxf", height=2, convexity=10); translate ([0,0,0]) rotate ([0,0,0]) cylinder (h=6,r=5.5); } translate ([0,0,6]) rotate ([0,180,0]) pinhole (h=5); }
glb/cad_e029c70a891d.glb
Create a parametric nut capture block. Start with a central rectangular prism measuring 1.15625mm in width and depth, and 0.34375mm in height. At the center of this block, create a vertical cylindrical hole with a radius of 0.171875mm (approximately 0.34375mm diameter) that passes completely through the top and botto...
rod_diameter = 3/8; polysides_per_hole = 36; nut_face_diameter = 3/4; nut_faces = 6; nut_thickness = 1/16; cube_wall_thick_x = 1/8; cube_wall_thick_y = cube_wall_thick_x; cube_wall_thick_z = 1/8; insertion_easing_x = 1/32; insertion_easing_y = 1/32; insertion_easing_z = 1/32; insertion_easing_rod = 1/32; scale...
glb/cad_c69039d8cee3.glb
Create a V3 micro switch model consisting of a main rectangular body, electrical terminals, and a roller lever arm. Start with a main body block measuring 22.2mm in length, 10.3mm in height, and 10.3mm in width. Round the corners of this block with a radius of 2.8mm. On the top surface of the body, place two mounting...
v3_micro_switch(type = 2); module v3_micro_switch(type = 2) { if(type == 1) { _micro_switch( ms_length= 22.2, ms_height = 10.3, ms_width = 10.3, ms_m_hole_rad = 3.1 / 2, ms_m_hole_offset = (3.4 - 3.1)/2, ms_outer_rad = 2.8, ms_switch_pos = 20.1, ms_switch_rad = 2, ms_switch_width ...
glb/cad_3ffde813764a.glb
Create an Orca 0.2 linear bearing y-carriage. Start with a rectangular base plate 98mm wide. Position two smooth rod channels 48mm apart, offset 31.002mm from the front of the plate and 19.624mm high. Construct four LM8UU bearing holders. Each holder is a block containing a cylindrical void with a radius of 4mm and a...
include <gregs-lm8uu-holder.scad> base_plate_width = 98; dist_smoothrods = 48; dist_lm8uus = base_plate_width - lm8uu_holder_length-4; smoothrods_offset_x = 31.002; smoothrods_offset_z = 19.624; hole_dia = 4.4/2; holder_y_offset = 2; holder_x_offset = -lm8uu_holder_width/2 + smoothrods_offset_x; hold...
glb/cad_46f7b14e6d14.glb
Create a RepRap.org printable plate. Start by creating a rectangular base plate with a thickness of 3mm. The overall dimensions of the plate are approximately 567mm by 70mm (derived from the scaled coordinates of the outer boundary). On the top surface of this plate, create a recessed area or a cutout that forms the ...
fudge = 0.1; module poly_path3030(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[-283.468750,-35.437500],[-283.468750,35.437500],[283.468750,35.437500],[283.468750,-35.437500],[-283.468750,-35.437500]]); translate([0, 0, -fudge]) ...
glb/cad_b3f4d170cd02.glb
Create a customizable box with a separate lid. For the main container, start with a solid rectangular block 20mm wide, 30mm long, and 23mm high. Hollow out the center by removing a rectangular volume starting 3mm from the bottom, with walls 2mm thick, leaving a cavity that is 16mm wide and 26mm long. At the top of the ...
width=20; length=30; heigth=20; bottom=3; wall=2; top_heigth=3; tolerance=0.25; difference(){ difference(){ cube([width,length,heigth+top_heigth]); translate([wall,wall,bottom]) cube ([width-2*wall,length-2*wall,heigth+top_heigth]); } difference () { translate([0,0, heigth]) cube([width, length, top_heigth])...
glb/cad_ab867c18334c.glb
Create a ring stand for a probe by constructing two parallel horizontal legs, each 60mm long, 10mm wide, and 3mm thick. Position these legs with a vertical spacing of 50mm between them. Connect the two legs at one end with a vertical support structure that is 40mm high and 10mm wide. This support is formed by bridging ...
extremes=80; LegLength=60; LegWidth=10; Thickness=3; LegSpacing=40; strutwidth=5; height=40; probeRadius=5; screwRadius=1; intersection(){ cube(extremes); difference(){ union(){ cube([LegLength,LegWidth,Thickness]); translate([0,LegSpacing+LegWidth,0])cube([LegLength,LegWidth,Thickness]); hull(){ tran...
glb/cad_7eb9d5c94f65.glb
Create a Simple Clip consisting of two symmetrical curved jaws joined by a central bridge. Each jaw is formed by a semi-cylindrical shell with a height of 10mm and a wall thickness of 3mm. The outer radius of these shells is 20mm, and the inner radius is 14mm. Position the two jaws so they are mirrored across a centr...
BendRaduis=20; height=10; thickness=3; Gap=15; module TopJaw(){ scale([1,.5,1])difference(){ cylinder(r=BendRaduis,h=height); cylinder(r=BendRaduis-thickness*2,h=height); translate([-BendRaduis,0,-height])cube([BendRaduis*3,BendRaduis*3,height*3]); } } module BottomJaw(){ difference(){ scale([1,.5,1])cylind...
glb/cad_5d7c77be8235.glb
Create a Customizable Bubbler airlock consisting of a main body and a removable lid. For the main body, create a hollow vessel with an outer diameter of 50mm and a total height of 80mm. The walls should be 2.4mm thick. The bottom of the body is a rounded, hemispherical shape, but scaled on the Y-axis by 0.75 to creat...
part = "cutaway"; stemod = 11; steml = 20; bubbled = 50; bubbleh = 80; wall = 2.4; lidd = 35; lidl = 15; bflat = 0.75; stemid = stemod - 2*wall; $fn=72; module lid(d,h,w) { maxclearance = 1.2; minclearance = 0.5; difference() { cylinder(d2=d+2*w+maxclearance,d1=d+2*w+minclearance, h=h); ...
glb/cad_afef9f5aa221.glb
Create a History Gamepiece nametag. Start by designing a base plate with a total length of 56mm and a width of 15mm. The top surface of this base must follow a wavy pattern created by a series of rectangular segments. The height of these segments varies according to a cosine function, oscillating between a minimum base...
myword = "Caroline"; myfont="Phosphate:style=Inline"; fontsize = 8; length = 56; width = 15; height = 8; border = 2; inset = 2; base = 2; translate([ border + inset, border + inset, 0 ]){ linear_extrude( height = 6 ){ text( text = myword, font = myfont, size = fontsi...
glb/cad_d03e8630170b.glb
Create a Spinning PokeStop Ornament with a total height of 6mm. The model consists of several concentric circular elements centered on a shared axis. First, create a central solid cylinder with a radius of 10mm. Around this, add a ring with an inner radius of 10.75mm and an outer radius of 11.75mm. Next, create a lar...
item_height=6; $fn=32; module top_hook() { difference() { translate([0,35,0]) difference() { cylinder(r=7, h=item_height); cylinder(r=5, h=item_height+1); } cylinder(r=35, h=item_height+1); } } module outside_sphere() { difference() ...
glb/cad_3349ab6d43da.glb
Create a durable spring by extruding a 2D serpentine pattern to a height of 7mm. The pattern consists of a series of connected semi-circles forming a wave. Use an outer radius of 7mm and an inner radius of 5mm for the curves, creating a wall thickness of 2mm. The wave should repeat for 6 loop pairs, with each full cycl...
innerRadius = 5; outerRadius = 7; width=30; loops=5; height=7; $fn=20; linear_extrude(height) difference() { union() { for(i=[0:loops]) { translate([i*(outerRadius-(outerRadius-innerRadius)/2)*2,0,0]) { square([outerRadius,width-outerRadius*2],center...
glb/cad_67c5271c7cfc.glb
Create a customizable honeycomb grid for a speedlight. Start with a base plate that is 125mm wide, 75mm high, and 10mm thick. The plate should have rounded ends with a radius of 37.5mm. In the center of the plate, create a rectangular cutout measuring 75mm by 53mm. Within this cutout, construct a honeycomb mesh consi...
twoSidedHole = "yes"; hexRadius=7.5; showHexRadiusAsLabel = "no"; outerWidth = 125; outerHeight = 75; outerRadius = outerHeight/2; baseHeight = 10; innerWidth = 75; innerHeight = 53; holeDiameter = 6.5; holeDepth = 3.15; holeDistance = 6+0.5*holeDiameter; hexBorderWidth=0.31; yStepHeight=2*sqrt(3/4*hexRadius*hexRadiu...
glb/cad_e49bb1e43d24.glb
Create a MsgTerminal case by starting with a main rectangular block measuring 35mm wide, 42mm deep, and 34mm high, centered on the origin. Hollow out the center of this block by removing a smaller interior cube of 29mm by 36mm by 31mm, shifted slightly downward by 1.51mm. To create the top opening, remove a large volum...
$fa = 0.1; $fs = 0.1; $fn = 0; difference(){ union(){ difference(){ cube([35,42,34],center=true); translate([0,0,-1.51]){ cube([29,36,31],center=true); } translate([0,35,40]){ rotate([45,0,0]){ cube([100,10...
glb/cad_387e27869363.glb
Create a MsgTerminal case for a WeMos ESP8266 and OLED display. Start by creating a solid rectangular base measuring 35mm wide, 42mm long, and 6mm high, centered on the origin. Hollow out the center of this base by removing a rectangular volume of 29mm by 36mm with a depth of 3mm, positioned 1.6mm above the center poin...
$fa = 0.1; $fs = 0.1; $fn = 0; difference(){ cube([35,42,6],center=true); translate([0,0,1.6]){ cube([29,36,3],center=true); } translate([0,-19,1.1]){ cube([12,6,4],center=true); } }
glb/cad_318ff496a921.glb
Create a personalized cup holder by starting with a main cylinder that has a diameter of 55mm and a height of 60mm. Hollow out the center by removing a smaller cylinder with a diameter of 50mm and a height of 55.1mm, positioned 5mm from the base. Cut a rectangular notch out of the side of the wall to create a handle; t...
diameter=55; logo="Wilson"; height=60; handle=25; spacing=1.5; $fn=100; use<Write.scad> difference(){ cylinder(r=diameter,h=height); translate([0,0,5]) cylinder(r=diameter-5,h=height-4.9); translate([diameter-6.6,-handle/2,15]) cube([7,handle,height-14.9]); writecylinder(logo,bold=1,[0,0,0],diameter-2.5...
glb/cad_bb3a61e929a0.glb
Create a personalized cup holder by starting with a solid cylinder 60mm tall with a diameter of 55mm. Hollow out the center by removing a smaller cylinder with a diameter of 50mm, starting from a height of 5mm from the base and extending to the top, leaving a 5mm thick floor. Cut a vertical rectangular slot through the...
diameter=55; logo="Wilson"; height=60; handle=25; spacing=1.5; use<Write.scad> difference(){ cylinder(r=diameter,h=height,$fn=100); translate([0,0,5]) cylinder(r=diameter-5,h=height-4.9,$fn=100); translate([diameter-6.6,-handle/2,15]) cube([7,handle,height-14.9]); writecylinder(logo,bold=1,[0,0,0],diam...
glb/cad_6e1f2067bcc9.glb
Create a 3D model of an E3D-hotend V5 heatsink. Start with a central vertical cylinder with a radius of 4.5mm and a height of 50.1mm. At the base, build a tiered pedestal consisting of three stacked cylinders: a bottom cylinder with a radius of 8mm and height of 3.7mm, a middle cylinder with a radius of 6mm and height ...
heatsink(0,100); module heatsink(tol=0.0, res=20) { { union() { cylinder(r=4.5+tol, h=50.1, $fn=res); translate([0,0,33.1])cylinder(r=7.5+tol, h=17, $fn=res); translate([0,0,29.7])cylinder(r=6.5+tol, h=17+tol, $fn=res); for(i=[0:9]) translate([0,0,50.1-3.4*i-(1.2+tol/2)])cylinder(r=12.5+tol, h=1.2+tol, $fn=res); tr...
glb/cad_f6785d910d1a.glb
Create a Zazouck construction connector. Start with a central sphere with a diameter of 14mm. From this center, extend six rectangular arms (blocks) that act as sockets for rods. Each arm must have a width of 7.5mm and a length of 14mm. Position these arms according to the following pairs of vertical and horizontal a...
edge_shape = "rectangular"; edge_hole_shape = "rectangular"; main_hole_shape = "none"; shape = "Personalised"; edges_number = 1; angles = "090,000,000,090,090,090"; width = 7.5; edge_length = 14; hole_width = 4.5; hole_deep = 8.5; main_hole_slack = 0.2; clip_type = "hole"; clip_width = 2; clip_position = 4; ...
glb/cad_d4e1392ea10e.glb
Create a track link measuring 14mm in length and 6mm in width. Start with a base plate that is 1mm thick, with a rectangular profile of 14x6mm and rounded corners with a radius of 1mm. On top of this base, add a central connector structure 2mm high. This structure consists of two raised outer blocks and a connecting ...
module connector(){ translate ([-5.5,-3, 2]){ difference(){ linear_extrude(height=2){ polygon([[0,-0.5],[0,2],[2,4],[2,6.5],[4,6.5],[4,4],[2,2],[2,-0.5]]); polygon([[7,6.5],[9,6.5],[9,4],[11,2],[11,-0.5],[9,-0.5],[9,2],[7,4]]); } rotate ([0,90,0]) translate([-1,-0.5,8]){ cylinder(h=4,r=1.2,$fn=10);}...
glb/cad_6a8d75f4aa55.glb
Create a screw cap for a plastic bag consisting of a series of concentric cylindrical shells and a threaded internal section. Start by creating a wide, thin base ring with an outer radius of 25.7mm and a height of 2mm, centered on the Z-axis. Above this, add a main cylindrical body with an outer radius of 23.5mm and a ...
difference() { union(){translate([0, 0, 13]) difference() { cylinder (r=25.7, $fn=32,h=2, center = true); cylinder (r=20.2, $fn=32,h=3, center =true); } translate([0, 0, 7]) difference() { cylinder (r=23.5, $fn=32,h=14, center = true); cylinder (r=21.5, $fn=32,h=15, center =true); } translate([0, 0,24]) diff...
glb/cad_65d2aae95b95.glb
Create a parametric wire organizer consisting of a rectangular base and a series of vertical posts. Start by creating a rectangular base with a depth of 40mm, a height of 10mm, and a total length of 170mm. Along the length of this base, place 9 rectangular posts. Each post must be 10mm wide and 26mm tall, with a 10mm g...
circleRadius = 8; postWidth = 10; postHeightBeforeCircle = 16; baseWidth = 10; gap = 10; numPosts = 9; depth = 40; postHeight = postHeightBeforeCircle + circleRadius; totalLength = (numPosts * postWidth) + (gap * (numPosts - 1)); module example() { cube ([depth,totalLength,baseWidth]); for (i = [0 : postWidt...
glb/cad_38ea59ebccbf.glb
Create a round dog tag consisting of a circular base plate with a diameter of 36mm and a thickness of 0.95mm. Centered on the top surface of the plate, add two lines of embossed text: the word "BOLT" in a 6mm bold font centered at the baseline, and the number "555-123456" in a 4mm bold font positioned 18mm below the ce...
line_1_text = "BOLT"; line_1_size = 6; line_2_text = "555-123456"; line_2_size = 4; text_font = "Arial:style=Bold"; text_language = "cs"; total_diameter = 36; hole_diameter = 5; hole_distance = 3; border_width = 1; number_of_text_layers = 2; number_of_base_layers = 5; first_layer_height = 0.15; normal_layer...
glb/cad_c94cb5224d44.glb
Create a Raspberry Pi rack by stacking six identical units vertically. Start with a base floor plate measuring 61.5mm wide, 89mm deep, and 2mm thick. At the top of the entire stack, add an identical 61.5mm by 89mm by 2mm roof plate. Each of the six internal units must be 23mm high, 61.5mm wide, and 89mm deep. For ever...
rack_height=6; rpi_width=57.5; rpi_length=87; u_height=23; wall=2; ledge=2; port_height=11; port_len=61; module rack_floor(){ cube([rpi_width+2*wall,rpi_length+wall,wall]); } module one_u(){ difference(){ cube([rpi_width+2*wall,rpi_length+wall,u_height]); translate([wall,-wall,wall])cube([rpi_width,rpi_length,u_...
glb/cad_c0ae79e97811.glb
Create an Electronic Dice Packaging case by constructing a hollow, rounded cube. The outer dimensions of the cube are 10mm in length, 10mm in width, and 10mm in height. All edges and corners must be rounded with a radius of 3mm. To create the hollow interior, remove a smaller rounded cuboid from the center. This inter...
tot_h=10; tot_l=10; tot_b=10; tot_r=3; tot_s=8; tot_col=[0.5,0.5,0.5,0.5]; wall_t=1; $fn=tot_s*4; center=true; use_sphere=false; top_n_bottom_walls=1; difference(){ hollow_rounded_cuboid_2_6(tot_l, tot_b, tot_h, tot_r, tot_s, wall_t,center, use_sphere, top_n_bottom_walls); #cube(size=[0.1,0.1,20], center=true); } m...
glb/cad_54e993ef0b4a.glb
Create two identical halves of an Electronic Dice Packaging case. Each half is a hollow rounded cuboid with overall dimensions of 44.5mm x 44.5mm x 36.6mm and a corner radius of 9mm. The walls are 3mm thick. For each half, create a rounded cuboid shell. Inside the shell, add internal support structures consisting of t...
obj_l=38.5; obj_b=32.5; obj_h=30.6; obj_r=4; padding=2; wall_t=3; support_t=2; tot_h=2*(padding+wall_t)+max(obj_l,obj_b,obj_h); tot_l=tot_h; tot_b=tot_h; tot_r=obj_r+padding+wall_t; tot_s=8; tot_col=[0.5,0.5,0.5,0.5]; $fn=tot_s*4; center=true; use_sphere=true; top_n_bottom_walls=1; lip_t=wall_t/2; lip_h=2; pip_r...
glb/cad_8e2a5a3da7fb.glb
Create an Electronic Dice Packaging consisting of two identical hollow rounded cuboids. For each half, start with an outer rounded cuboid measuring 42.5mm in length, 34.5mm in width, and 32.6mm in height, with a corner radius of 7mm and a wall thickness of 2mm. The interior of each half must feature a central cavity ...
obj_l=38.5; obj_b=32.5; obj_h=30.6; obj_r=4; padding=1; wall_t=2; support_t=1; tot_h=2*(padding+wall_t)+max(obj_l,obj_b,obj_h); tot_l=tot_h; tot_b=tot_h; tot_r=obj_r+padding+wall_t; tot_s=8; tot_col=[0.5,0.5,0.5,0.5]; $fn=tot_s*4; center=true; use_sphere=true; top_n_bottom_walls=1; lip_t=wall_t/2; lip_h=2; pip_r...
glb/cad_1ae2dd30892b.glb
Create an Electronic Dice Packaging consisting of two identical hollow shells. For each shell, start with a rounded cuboid measuring 42.5mm in length, 36.5mm in width, and 34.6mm in height, with a corner radius of 7mm and a wall thickness of 2mm. Inside each shell, add internal support structures consisting of thin p...
obj_l=38.5; obj_b=32.5; obj_h=30.6; obj_r=4; padding=1; wall_t=2; support_t=1; tot_h=2*(padding+wall_t)+max(obj_l,obj_b,obj_h); tot_l=tot_h; tot_b=tot_h; tot_r=obj_r+padding+wall_t; tot_s=8; tot_col=[0.5,0.5,0.5,0.5]; $fn=tot_s*4; center=true; use_sphere=true; top_n_bottom_walls=1; lip_t=wall_t/2; lip_h=2; pip_r...
glb/cad_7de7fecd5955.glb
Create a thin grinder consisting of two identical circular components. For each component, start with a main cylindrical body 12mm high with an outer radius of 25mm. The base of this cylinder is a solid disc 3mm thick, featuring ten smaller cylinders with a radius of 10mm and a height of 3mm protruding evenly around th...
function pi()=3.14159265358979323846; module handle() { union() { cylinder(r = 25, h = 3); for (i = [0:9]) { translate(v = [25*cos(i*36), 25*sin(i*36), 0]) { cylinder(r = 10, h = 3); } } } } module handleWithChamber(inner) { difference() { union() { cylinder(r = inner+2, h = 12); handle(); ...
glb/cad_178cc8b84bae.glb
Create a Handheld Vortex Cannon assembly consisting of two main components: a band holder and a pull hook. First, construct the band holder. Create a base cylinder with a radius of 34mm and a height of 12mm. Flatten the bottom to create a solid base. Subtract a central vertical hole with a radius of 20mm. Carve out a ...
pull_rad = 15; pull_oval = 1.25; pull_wall = 4; hook_rad = 2; hook_oval = 2; height = 4; hook_extend = 10; hook_angle = -10; translate([0,44,0]) rotate([0,0,90]) pull_hook(); !band_holder(); $fn=60; wall = 4; cup_rad = 64/2; cup_hole_rad = 20; cup_indent = 2.25; center_bump = 3.25; module band_holder(){ diff...
glb/cad_d5aabf81527a.glb
Create a sliding block puzzle called Bob's Lock. Construct a main outer frame as a rounded cube measuring 80mm wide, 80mm deep, and 25mm high, with a corner radius of 2mm. Within this frame, create a series of internal tracks and walls to house the sliding pieces. The internal geometry is defined by a specific profile:...
include <round_cube.scad>; $fn=50; clearance=.2; radius=2; module myshape() { polygon(points=[[1,4],[-1.5+clearance,4],[-2.25+clearance,4.5],[-2.25+clearance,5.5],[-1.5+clearance,6],[1,6]]); } difference() { union() { round_cube(80,80,5,radius); round_cube(80,10,25,radius); translate([0,70,0]) round_cube(80,10...
glb/cad_0d3fd7f9f25c.glb
Create a sliding block puzzle called Bob's Lock. Construct a main outer frame as a rounded rectangular base measuring 80mm by 80mm with a height of 10mm and a corner radius of 2mm. Within this frame, create a series of internal walls and tracks to house the sliding pieces. The internal layout consists of several rounde...
include <round_cube.scad>; $fn=50; clearance=.2; radius=2; module myshape() { polygon(points=[[1,4],[-1.5+clearance,4],[-2.25+clearance,4.5],[-2.25+clearance,5.5],[-1.5+clearance,6],[1,6]]); } difference() { union() { round_cube(80,80,5,radius); round_cube(80,10,15,radius); translate([10,0,0]) round_cube(60,10...
glb/cad_e669f70e4afd.glb
Create a Techzone Huxley LM6UU X-Carriage. Start with a central base block measuring 64mm by 69.5mm by 8mm. Add two hexagonal prisms at the far left and right edges, each with a height of 8mm and a radius of 4mm (based on an M4 nut diameter plus 2mm), rotated 30 degrees. Integrate a central rectangular block measuring ...
include <configuration.scad> include <lm8uu-holder-slim_modlm6uu.scad> snap_in_mount = false; use <bushing.scad> module xcarriage(linear_bearings){ difference() { union(){ translate(v = [0,0,2.5]) union(){ difference(){ union(){ translate( v = [-2, 0, -1.5] )cube( size = [64,...
glb/cad_c73c3013b835.glb
Create a Mini Iambic Magnetic Morse Paddle base. Start with a flat rectangular base slab with rounded corners. The overall footprint is defined by a width of 24mm and a length of 40mm. Construct a vertical outer wall around the perimeter of the base, leaving the center open to form a box. Within this structure, creat...
include <util.scad>; include <params.scad>; module base2d(filled) { module base_contour_outer() hull() { r=w1/2-pins_w/2; translate([ w1/2-r,-lb+r]) circle(r=r); translate([-w1/2+r,-lb+r]) circle(r=r); translate([-w1/2,-lb+r]) square([w1,lt+lb+r]); }; int...
glb/cad_6ef6fd1fe7c3.glb
Create a Mini Iambic Magnetic Morse Paddle base. Start with a flat rectangular base slab with rounded corners. The overall width is 20mm and the length is 30mm. The base has a thickness of 3mm. Add a vertical wall around the perimeter of the base, leaving a small gap for the connector. The wall height is 10mm. Create...
include <util.scad>; include <params.scad>; module base2d(filled) { module base_contour_outer() hull() { r=w1/2-pins_w/2; translate([ w1/2-r,-lb+r]) circle(r=r); translate([-w1/2+r,-lb+r]) circle(r=r); translate([-w1/2,-lb+r]) square([w1,lt+lb+r]); }; int...
glb/cad_b210c37982f8.glb
Create a Mini Iambic Magnetic Morse Paddle. The device consists of a base and two movable lever arms that act as paddles. Construct the base as a rectangular block. Within this base, create two parallel vertical channels to house two 604-Z bearings (4mm x 12mm x 4mm). Position two 5mm x 2mm neodymium magnets within th...
$fn=25; pins=5; doubleColumn=0; wireSeparators=0; height=8; wallThickness=1; header=2.5; type=0; indicatorBump=0; indicatorSide=1; nozzleDiameter=0.4; strainRelief=1; cableRadius=1.5; strainHeight=20; cutAdjustmentX=-0.2; cutAdjustmentY=-0.2; outerBodyX=(2*wallThickness)+header+nozzleDiameter; outerBodyY...
glb/cad_8851f8a450f9.glb
Create a 3D model of the CommonsLab logo consisting of two circular emblems side-by-side on a shared base. Start by creating two flat circular discs for the base, each with a radius of 40mm and a height of 3mm, positioned so their centers are 70mm apart along the x-axis. On top of each base disc, place a thick ring wi...
my_base_height = 3; my_base_padding = 0; my_rings_height = 12; my_rings_boldness = 10; my_rings_diameter = 80; my_letters_height = 10; my_letters_boldness = 10; my_letters_diameter = 40; $fn = 256; module CLlogo(base_height, base_padding, rings_height, ...
glb/cad_bfbe1893a918.glb
Create a TCRT5000 infrared sensor holder. Start by constructing a base shape that is a hull encompassing a hexagonal prism with a radius of 8.5mm and a height of 3mm, and a cylinder with a radius of 7mm and a height of 0.5mm positioned at a Z-offset of 3.5mm. This results in a tapered object with a flat top and a hexag...
include<../../modules/threads.scad> $fn=60; threadedRoadRadius=6; difference () { hull() { translate([0,0,0.5]) cylinder (r=17/2, h=4-0.5-0.5, $fn=6); translate([0,0,4-0.5]) cylinder (r=14/2, h=0.5); cylinder (r=14/2, h=0.5); } translate([0,0,-0.1]) metric_thread (diameter=12.45, pitch=1.75, length=...
glb/cad_5cfe8cbf37dc.glb
Create a TCRT5000 infrared sensor holder. Start with a base plate that is 14mm wide and 2.1mm thick. The base plate's geometry is formed by the hull of a cube measuring 12mm by 14mm by 2.1mm and a cylinder with a radius of 2.5mm and height of 2.1mm centered at x=24mm, y=7mm. At the front of the base plate, centered at...
include<../../modules/threads.scad> $fn=80; threadedRoadRadius=6; basePlateThick=2.1; basePlateWidth=14; backPlateHolderLegWidth=3; backPlateHolderHolderLegHeight=1.5; backPlateHolderLegLength=2; tcrtModuleBoardThick=1.5; tcrtHolderLegRadius=2.5; tcrtHolderLegThreadRadius=1.5; tcrtHolderPos=24; tcrtHolderHeight=...
glb/cad_f311557e8926.glb