Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a plane-shaped keyring. Start with a main fuselage that is 70mm long, 7mm wide, and 7mm high. At the front of the fuselage, attach a cylinder with a radius of 10mm and a height of 4mm. Pass a circular hole with a radius of 5mm through the center of this cylinder. For the wings, create two identical mirrored sha...
$fn=100; keyringplane(); module keyringplane() { difference() { union() { plane(); translate([-10,0,0])cylinder(r1=10,r2=10, h=4); } translate([-10,0,-1])cylinder(r1=5,r2=5, h=7); } } module plane() { polyhedron( [[0,3.5,0], [-7,3.5,0], [-7,-3.5,0], [0,-3.5,0], [0,3.5,7], [0,-3....
glb/cad_8691400771fd.glb
Create a parametric cable clip with a width of 15mm and a wall thickness of 1.6mm. The main body is a rounded rectangular block with a corner radius of 8mm. The base of the clip is open to allow cables to snap in. Along the length of the clip, create five semi-circular cable channels with diameters of 9mm, 16mm, 12mm,...
diameters = [9, 16, 12, 14, 15]; cWid = 15; holeDiameter = 5; screwHeadDia = [10, 10]; screwHeadTh = 4; cRad = 8; cThk = 1.6; cCen = 8; fastenerType = "screw"; $fn=50; function select(vector, indices) = [ for (index = indices) vector[index] ]; function sum(v, i = 0, r = 0) = i < len(v) ? sum(v, i + 1, r + v[i...
glb/cad_9557cb7f1500.glb
Create a Raspberry Pi case for a Pi 4 with a POE hat. The case consists of a base and a lid. Create a rounded rectangular base with outer dimensions of 91mm x 62mm and a total height of 22.8mm. The interior should be hollowed out to fit the board, leaving walls 2mm thick and a bottom floor 2mm thick. Cut a rectangular...
use <roundedcube.scad> part = "display"; rpi_model = "rpi4"; hat = "false"; camera_slot = "false"; video_slot = "false"; gpio_slot = "false"; mk3_mount = "false"; hole_covers = "false"; rounded = "true"; ventedbase = "keyhole"; ventedsides = "true"; casetext = "Raspberry Pi4 POE"; board = [85, 56 , 1.3 ];...
glb/cad_8878b2b552b5.glb
Create a Nema 11 Planetary Gearbox consisting of a housing, a sun gear, planet gears, and a ring gear. Construct the housing as a cylindrical shell with a total height based on the number of gear stacks. For a single stack, the gear thickness is 5mm. The housing should feature a mounting flange with a square profile ...
use <MCAD/involute_gears.scad> use <MCAD/polyholes.scad> use <MCAD/metric_fastners.scad> include <MCAD/stepper.scad> Sun=1; Housing=1; Joins=1; Planet=1; Explosion=0; Stacks=2; Gear_thickness=5; Assembly_Front=1; FrontBearing=[5,11,5]; Front_Rotor_length=20; Back_Rotor_length=14; Rotor_dia=5; SonneZ=8; PlanetZ=7;...
glb/cad_91e4b8ffa87b.glb
Create a wireless charger stand for a Note 10+ by starting with a solid block 75mm wide, 75mm deep, and 120mm tall. From this main body, remove a large rectangular section from the front and center to create a wide slot 60mm wide, 65mm deep, and 120mm tall, leaving 7.5mm walls on the sides and a base. At the bottom fro...
$fn=60; module cast(){ cube([75,75,120]); cube([87,75,3]); } module cuts(){ translate([70,75/2,85])rotate([0,-90,0])pad(); translate([0,75/2-10,20])cube([75,20,20]); translate([0,5,0])cube([60,65,120]); } module pad(){ cylinder(r=36, h=10, center=true); cube([120,12,10],true); ...
glb/cad_6d415fdeab88.glb
Create a custom fitted face mask with a total height of 30mm. The main body is a hollowed-out shell formed by a hull of several cylinders and rounded shapes that conform to facial dimensions: a cheek width of 90mm, a nose-to-mouth distance of 70mm, and a mouth-to-chin distance of 37mm. At the front, integrate a filte...
cheek_d_actual = 96; nose_mouth_d_actual = 67; mouth_chin_d_actual = 37; CRR = 1; filter_w = 60; filter_l = 60; mask_h = 30; airhole = 0; airhole_d = 13; cheek_d = cheek_d_actual - 6; nose_mouth_d = nose_mouth_d_actual + 3; mouth_chin_d = mouth_chin_d_actual; difference(){ sf = (2/cheek_d)*2; union(){...
glb/cad_1ea43561159e.glb
Create a strap clip for a face mask. Start with a base rectangular plate measuring 25mm in length, 15mm in width, and 2mm in thickness, with the corners rounded to a radius of 3mm. Cut two distinct slots through the thickness of the plate. The first slot is a simple rounded rectangular cutout measuring 3mm by 11mm, c...
l_clip = 25; w_clip = 15; h_clip = 2; l_slot = 3; difference(){ roundedBox([l_clip,w_clip,h_clip],3,sidesonly=true); translate([l_clip/4,0,0])roundedBox([l_slot,w_clip-4,h_clip+1],1,sidesonly=true); translate([-l_clip/5,0,0])roundedBox([l_slot-0.5,w_clip-4,h_clip+1],0.5,sidesonly=true); translate([-l_...
glb/cad_c7d4a75948eb.glb
Create a face mask filter holder. Start by constructing a hollow rectangular box with outer dimensions of 44mm by 44mm and a height of 6mm. The walls should have a thickness of 4mm, and the vertical corners must be rounded with a 3mm radius. Add a flat rectangular flange around the perimeter of the box. This flange sh...
filter_l = 45; filter_w = 45; opening_l = filter_l+15; opening_w = filter_w+15; difference(){ roundedBox([opening_w-1,opening_l-1,6],3,sidesonly=true); roundedBox([opening_w-1-4,opening_l-1-4,6],3,sidesonly=true); } translate([0,0,4])difference(){ roundedBox([opening_w+11,opening_l+11,2],15,sidesonly=tru...
glb/cad_4d87babcece3.glb
Create a gear toy assembly consisting of a base and two meshing gears. First, create a base plate 5mm thick. The base should be a hull encompassing two circular areas centered at the rotation points of the gears, each with a radius equal to the gear's radius plus 7.5mm. In the center of each circular area, add a vert...
part = 4; nozzle = 0.4; circPitch = 10; teeth1 = 20; teeth2 = 10; spacing = 3; baseThickness = 5; shaftDiameter = 15; gearThickness = 12; play = 1; $fn = 50; include <MCAD/involute_gears.scad> function pitch(mm) = mm * 180 / PI; function radius(cp, teeth) = cp * teeth / PI / 2 + nozzle; radius1 = radius(circPitch, t...
glb/cad_797881d90d34.glb
Create a wide cuff bracelet by starting with a sphere that is resized to 60mm in the X-axis, 70mm in the Y-axis, and 100mm in the Z-axis. Hollow out the center of this ovaloid shape by removing a smaller concentric version of the same geometry, resized to 57mm in the X-axis, 67mm in the Y-axis, and 96mm in the Z-axis. ...
diams = 60; diamw = 70; $fa=5; difference(){ resize(newsize=[diams,diamw,100])sphere(r=30); translate([-70,-70,25]) cube([140,140,100]); translate([-70,-70,-125]) cube([140,140,100]); resize(newsize=[diams-3,diamw-3,96])sphere(r=30); difference() { translate ([5,-10,-50]) rotate([0,0,-45]) cube([40,40,100]);...
glb/cad_5683def916bf.glb
Create a Customizable Bezier Vase by generating a profile curve and rotating it around a central vertical axis. The profile is a cubic Bezier curve defined by four key points to determine the vessel's silhouette: the base diameter is 40mm at height 0; a waist point at 40% of the total height with a diameter 140% of the...
base_diameter = 40; vase_height = 60; waist_size = 140; neck_size = 85; top_size = 95; waist_height = 40; neck_height = 66; vertical_resolution = 40; radial_resolution = 60; wall_thickness = 0; x0 = base_diameter/2; y0 = 0; x1 = x0 * waist_size/100; y1 = waist_height/100 * vase_height; x2 = x0 * neck_size/1...
glb/cad_87273a69f5dd.glb
Create a tablet mount consisting of a network of connected cylindrical beams, all with a diameter of 5mm. The structure is formed by connecting the following coordinates (scaled by 1/6) with hull-shaped beams: (92, 238) to (883, 385), then to (693, 441), (538, 494), (463, 545), (436, 611), (398, 649), (332, 682), (280,...
$fa = 1; $fs = 0.4; scaling = 1/6; module cylinder_beam(x1, y1, x2, y2) { hull() { translate([x1*scaling, y1*scaling, 0]) cylinder(10, d=5); translate([x2*scaling, y2*scaling, 0]) cylinder(10, d=5); } } module screw_hole(x1, y1, rot) { translate([x1, y1, 5]) rotate([rot, 90, 0]) { cylinder(3, d2...
glb/cad_de8449798efe.glb
Create a tablet mount bracket that consists of a long, flat rectangular base with two upright tabs at the ends. The main body is a rectangular beam measuring 250mm in length, 5mm in height, and 5mm in width. At each far end of this beam, add a vertical tab that extends upwards by 14mm and is 5mm thick. To finish the pi...
$fa = 1; $fs = 0.4; scaling = 1/1; module cylinder_beam(x1, y1, x2, y2) { hull() { translate([x1*scaling, y1*scaling, 0]) cylinder(20, d=5); translate([x2*scaling, y2*scaling, 0]) cylinder(20, d=5); } } module screw_hole(x1, y1, rot) { translate([x1, y1, 5]) rotate([rot, 90, 0]) { translate([0,...
glb/cad_625d6447f5c9.glb
Create a BLTouch support wedge for a Wade L3K V2 extruder. Construct a rectangular hollow shell with outer dimensions of 10mm width, 28mm length, and 19mm height. The shell should have a wall thickness of 2mm for the floor, ceiling, and vertical walls. To form the interior cavity, create a central void that leaves 2mm ...
$fn=100; base_x=10; base_y=28; base_z=19; base_screws_diam=4; screws_dist_y=18; thickness=2; module base() { difference() { union() { { cube([base_x,base_y,thickness]); translate([0,0,base_z-thickness]) cube([base_x,base_y,thickness]); }; { cube([base_x,thickn...
glb/cad_d90886509d18.glb
Create a Bobbin and Spindle clip designed as a flexible sleeve. Start by creating a circular flange at the base with a total diameter of 38mm and a height of 3mm. From this base, extend a main cylindrical body upwards to a total height of 75mm. This body should start with a diameter of 18.2mm at the base and taper slig...
$fa=0.5; $fs=0.5; inside_diameter=20; outside_diameter=18; flange_height=3; flange_overhang=20; height=75; snug=.2; narrowing=6; difference(){ union(){ cylinder(d=outside_diameter+flange_overhang,h=flange_height); cylinder(d1=(outside_diameter+snug),d2=(outside_diamet...
glb/cad_891a7607c7ed.glb
Create a Bobbin and Spindle clip by constructing a main cylindrical body with a diameter of 100mm and a height of 25mm. At the base of this cylinder, add a wider, flat circular flange with a diameter of 140mm and a thickness of 3mm. Bore a central vertical hole through the entire assembly with a diameter of 20mm to acc...
$fa=0.5; $fs=0.5; inside_diameter=20; outside_diameter=100; flange_height=3; flange_overhang=20; height=25; mpad=5; mpal=10; difference(){ union(){ cylinder(d=outside_diameter+flange_overhang,h=flange_height); cylinder(d=outside_diameter,h=height); tra...
glb/cad_293034cab0f6.glb
Create a Quirkring by rotating the text character "2" around a central vertical axis to create a circular ring. The text should be extruded and then revolved 360 degrees using a facet resolution of 80 to ensure a smooth circular profile. The resulting geometry should be a torus-like ring where the cross-section is defi...
color("cyan") translate([0, 0, 0]) rotate_extrude($fn = 80) text(" 2");
glb/cad_db18801054e4.glb
Create a customizable phone dock by starting with a central base block 65mm wide, 45mm deep, and 11mm high, with all edges rounded by a 2.5mm radius. Carve two symmetrical slots into the top to hold a phone. The first slot is created by removing a volume 70mm wide, 10.7mm thick, and 13mm deep, rotated 10 degrees downwa...
phone_width = 70; phone_thickness = 10; your_text = "Your text"; text_font = "Arial"; text_size = 10; difference(){{{{{{{{{{ minkowski() { cube([phone_width-5,45,11],center=true); cylinder(r=2.5,h=1,$fn=200); } translate([-phone_width/2,-(22.5),-(2)]){ rotate([-10,0,0]) #cube([phone_width,(pho...
glb/cad_033a576599ef.glb
Create a Customizable Top Loader EDH Deck Box designed to hold a deck of cards and a protective top loader. Start by creating a main outer case with a total thickness of 17.56mm. The outer dimensions are 79.64mm by 103.64mm with rounded corners of 1.2mm. Hollow out the center to create a deck cavity measuring 63mm wi...
FIRST_LAYER_HEIGHT = 0.2; LAYER_HEIGHT = 0.2; function roundToLayers(h) = ceil(h / LAYER_HEIGHT) * LAYER_HEIGHT; BOTTOM_LAYERS = 4; BOTTOM_THICKNESS = FIRST_LAYER_HEIGHT + LAYER_HEIGHT * (BOTTOM_LAYERS - 1); TOP_LAYERS = 4; TOP_THICKNESS = TOP_LAYERS * LAYER_HEIGHT; SIDE_WALL_THICKNESS = 1.32; DECK_WIDTH = 63; DE...
glb/cad_2c6552f4bf84.glb
Create a Customizable Top Loader EDH Deck Box. Start by creating a main outer case with a total thickness of 17.56mm, based on a rectangular footprint of 79.64mm by 103.64mm with rounded corners of 1.2mm. Inside this case, carve out a central deck cavity measuring 63mm wide by 89.5mm high, starting from a base thickn...
FIRST_LAYER_HEIGHT = 0.2; LAYER_HEIGHT = 0.2; function roundToLayers(h) = ceil(h / LAYER_HEIGHT) * LAYER_HEIGHT; BOTTOM_LAYERS = 4; BOTTOM_THICKNESS = FIRST_LAYER_HEIGHT + LAYER_HEIGHT * (BOTTOM_LAYERS - 1); TOP_LAYERS = 4; TOP_THICKNESS = TOP_LAYERS * LAYER_HEIGHT; SIDE_WALL_THICKNESS = 1.32; DECK_WIDTH = 63; DE...
glb/cad_2c6552f4bf84.glb
Create a Customizable Top Loader EDH Deck Box designed to hold a deck of cards and a protective top loader. Start by creating a main outer case with a total thickness of 16.8mm. The outer dimensions are 79.64mm wide by 103.64mm high, with corners rounded to a 1.2mm radius. Inside this case, carve out a central deck c...
FIRST_LAYER_HEIGHT = 0.2; LAYER_HEIGHT = 0.20; function roundToLayers(h) = ceil(h / LAYER_HEIGHT) * LAYER_HEIGHT; BOTTOM_LAYERS = 4; BOTTOM_THICKNESS = FIRST_LAYER_HEIGHT + LAYER_HEIGHT * (BOTTOM_LAYERS - 1); TOP_LAYERS = 4; TOP_THICKNESS = TOP_LAYERS * LAYER_HEIGHT; SIDE_WALL_THICKNESS = 1.32; DECK_WIDTH = 63; D...
glb/cad_0105e4adaa4e.glb
Create a Customizable Top Loader EDH Deck Box. Start by creating a solid outer rectangular case with rounded corners (radius 1.2mm) and a total height of approximately 72.5mm. The outer dimensions are 79.34mm wide by 103.64mm high. Inside this case, carve out a central deck cavity measuring 68mm wide by 93mm high, sta...
FIRST_LAYER_HEIGHT = 0.2; LAYER_HEIGHT = 0.20; function roundToLayers(h) = ceil(h / LAYER_HEIGHT) * LAYER_HEIGHT; BOTTOM_LAYERS = 4; BOTTOM_THICKNESS = FIRST_LAYER_HEIGHT + LAYER_HEIGHT * (BOTTOM_LAYERS - 1); TOP_LAYERS = 4; TOP_THICKNESS = TOP_LAYERS * LAYER_HEIGHT; SIDE_WALL_THICKNESS = 1.32; DECK_WIDTH = 68; D...
glb/cad_ba0e4f851099.glb
Create a Bike Head Light Mount by starting with a central rectangular block measuring 31mm wide, 9mm deep, and 13mm high. Hollow out the center of this block to create a rectangular slot that is 24mm wide and 10mm high, leaving walls on the sides, top, and bottom. Pierce a 3mm diameter hole completely through the cen...
$fn=100; include <BarMount.scad>; StrapThickness = 2; BlockWidth = 31; BlockDepth = 9; BlockHeight = 13; BlockInnenWidth = 24; BlockInnenHeight = 10; HoleDiam = 3; ScrewHeadDiam = 5.8; ScrewInset = 2; NutInset = 2.3; translate([0,0,-18]){ rotate([180,0,0]){ BarMount(); } } rotate([90,270,90]){ translat...
glb/cad_0888f7875444.glb
Create a gear toy assembly consisting of a sun gear, planet gears, and an outer annular gear. All components should be scaled by a factor of 0.7. First, create a central sun gear with 24 teeth, a circular pitch of 10mm, a bore diameter of 15mm, and a hub diameter of 25mm. The gear thickness is 7.5mm, while the rim and...
zoom = 0.7; height = 10; circPitch = 10; teeth1 = 24; teeth2 = 12; tMax = 6; nozzle = 0.4; offset = 5*nozzle; $fn=64; include <MCAD/involute_gears.scad> function pitch(mm) = mm * 180 / PI; function radius(cp, t) = cp * t / (2*PI); function teeth(cp, r) = 2*PI * r / cp; radius1 = radius(circPitch, teeth1); radius2 = ...
glb/cad_e6da0c5669a0.glb
Create a tripod mount for an IKEA TERTIAL lamp. Start by creating a Reuleaux triangle base with a thickness of 22mm. The base is formed by the intersection of three circles, each with a radius of approximately 37.6mm. In the center of this base, create a vertical hole to accommodate a 1/4"-20 bolt. This hole consists ...
include <nutsnbolts/cyl_head_bolt.scad>; $fn=64; lamp_holder_dia = 65; screw_holes_crs = 23; screw_holes_ang = 2 * atan(screw_holes_crs / lamp_holder_dia); screw_dia = 4; plate_width = 32; plate_height = 18; plate_thick = 4; extra=1; shift=-6; reul_radius = (lamp_holder_dia + extra) / sqrt(3); reul_...
glb/cad_0a4866aa9602.glb
Create an equipment foot by combining two stacked geometric volumes. Start with a base cylinder 10mm in diameter and 3mm in height. Directly on top of this base, add a second cylinder that transitions from a 10mm diameter at its bottom to an 8mm diameter at its top over a height of 2mm, creating a tapered upper section...
use <basic_fixings.scad> parametric_foot_hex_nut(d1=10, d2=8, h1=3, h2=2, bolt_dia=3.8, head_dia=6.9); module parametric_foot(d1=25, d2=17, h1=4, h2=7, bolt_dia=6, head_dia=12, $fn=150) { difference() { union() { cylinder(d=d1,h=h1); translate([0,0,h1]) cylinder(d1=d1,d...
glb/cad_ac39f1ede088.glb
Create a helical extrude by sweeping a 2D profile along a spiral path. The profile is a polygon defined by the points [0,0], [sin(60°), tan(30°)], and [0,1] in the XZ plane. Sweep this profile around a central axis with a helix radius of 5mm. The helix should have a pitch of 2mm and reach a total height of 3.5mm. Ensur...
module helix_extrude( profile, radius, param1, param2, mode=1, fn=($fn==0?36:$fn) ){ if(mode<0||mode>5) echo(str( "ERROR: There is no mode ",mode,"!" )); if(profile==undef||len(profile)<3) echo(str( "ERROR: profile is missing!" )); if(param1==undef) echo(str( "ERROR: param1 is mis...
glb/cad_3a095130f172.glb
Create a threaded bolt with a total diameter of 6mm, a pitch of 1mm, and a total length of 10mm. Start by creating a central solid cylinder with a diameter of 4.134mm and a height of 10mm. Around this core, add a helical thread that wraps around the cylinder. The thread profile is defined by a polygon with vertices at ...
include<helix_extrude.scad>; module thread( size, pitch, length, fn=($fn==0?36:$fn) ){ h=pitch*sin(60); union(){ cylinder(d=size-h*2,h=length,$fn=fn); intersection(){ cylinder(d=size,h=length,$fn=fn); translate([0,0,-pitch]){ helix_extrude( profile=[ [0,0], [h*5/8,h*5/16], [h...
glb/cad_28cd84d1f356.glb
Create a Bag Clip outer part. The main body is a curved, arc-like spine with a width of 8mm and a thickness of 2mm. The length of the clip is 80mm, following a curvature defined by a radius of 40mm. At one end of the spine, create a hinge mechanism. This hinge is a semi-circular protrusion with a diameter of 4mm. The ...
use <utils/build_plate.scad> use <write/Write.scad> _1_part = "Outside"; _2a_length = 80.0; _2b_width = 8.0; _2c_curvature = 80; _2d_clipExtension = 0.8; _3a_labelText = ""; _3b_labelFont = "write/orbitron.dxf"; _3c_labelThickness = -0.3; _3d_labelHeightPercent = 60; _3e_labelDirection = 1; _3f_labelSpace = ...
glb/cad_833dcd217c53.glb
Create a Shower Gel Holder consisting of a main tray and two supporting stands. First, construct a rectangular tray measuring 200mm wide, 100mm long, and 20mm high. The tray has a wall thickness of 3mm. On the floor of the tray, create a grid of 10mm diameter hexagonal holes for drainage. Leave solid sections (no hol...
type="all"; fn_factor=50; table_width=200; table_length=100; table_height=20; table_strength=3; table_hole_diameter=10; table_conn_stick=5; stand_back_diameter=68; stand_back_length=20; stand_back_space=150; stand_back_tablegap=4; stand_back_connector_length=50; stand_back_connector_height=60; stand_front_diamet...
glb/cad_1e562f0f3083.glb
Create a parametric ring with a socket for a rhinestone. Start by forming the main band using a rotated elliptical cross-section with a height of 5mm and a thickness of 2.4mm, centered around an inner diameter of 17.5mm. At the top of the band, integrate a cylindrical socket with a diameter of 5mm and a height of 0.963...
$fn = 100; d=17.5; h=5; t=2.4; Sd=h; Sh=0.963; Hd=3.8; Hh=0.6; hide=1; x=d/2-(sqrt((d*d-Sd*Sd)/2)); difference(){ translate([0,0,0]) { rotate_extrude() translate([(t+d)/2,h/2,0]) scale([t/h,1]) circle(h/2); translate([(d+t)/2,0,h/2]) rotate([0,90,0]) cylinder(Sh,Sd/2,Sd/2); } translate([d/2+t/2+Sh-Hh...
glb/cad_f0b131811701.glb
Create a bike torch mount consisting of a central block with two cylindrical cutouts. Start with a solid rectangular block that is 37.5mm wide, 45mm long, and 26.25mm high. First, carve a horizontal cylindrical hole through the center of the block to accommodate the bike handle, with a diameter of 31.5mm and a length...
$fn=80; d=3; Td=18.5; Tl=45; Bd=31.5; Bl=Td+2*d; Rw=4.5; Cw=d; Cl=0.8*Tl; H=(Td+Bd)/2+Rw; X=Bl/2; Y=Bd/2+d; x=Td/2+d; y=Tl/2+d; CubePoints = [ [-X,-Y,0], [X,-Y,0], [X,Y,0], [-X,Y,0], [-x,-y,H], [x,-y,H], [x,y,H], [-x,y,H]]; CubeFaces = [ [0,1,2,3], [4,5,1,0], [7,6,5,4], [5,6,2,1], [6,7,3...
glb/cad_a272e6a34f1c.glb
Create a Wire Spool Clamp by constructing a hollow cylindrical clip with a width of 15mm and a wall thickness of 1.35mm. The clip should have an inner diameter of 40mm. At the back of the clip, integrate a rectangular pull tab that is 10mm long and 1.35mm thick, extending outward from the center. The main body of the...
width = 15; diameter = 40; thickness = 1.35; tabLength = 10; opening = 33; guideLength = 4; windowMargin = 3; windowAngle = 30; $fn = 50; angle = asin(opening/diameter); union() { rodClamp( diameter, thickness, width, opening ); for(y=[-1,1]) { rotate([0,0,angle*y]) translate([guideLength/2+diameter/2...
glb/cad_020b7563afd1.glb
Create a Parametric Webbing Spool consisting of three main components: a top wheel, a bottom wheel, and a central snap-fit peg. For the wheels, create two identical circular discs with a diameter of approximately 85mm and a thickness of 4mm. In each disc, center a cylindrical hub with an outer diameter of 30mm and an ...
Current_Facets = 18; $fn = Current_Facets; Output_Object = "Peg"; Webbing_Width = 25.25; Webbing_Length_ft = 15; webbingLength = 305 * Webbing_Length_ft; Webbing_Thickness = 2; Webbing_Thickness_Padding_For_Clips = 0.1; Carabiner_Hole_Diameter = 18; Carabiner_Hole_Edge_Threshold_Distance = 5; Webbing_Clip_Num...
glb/cad_9b1931bdfa89.glb
Create a kids plastic sword handle consisting of a grip and a threaded connector. Start by creating a main cylindrical grip with a diameter of 33.5mm and a height of 78mm. Within this grip, carve out a central vertical shaft with a diameter of 25.5mm. At the base of the grip, integrate a threaded peg with a diameter ...
printLeft =false; printRight =true; printSocket=false; handleDia=33.5; handleLen=78; wall=4; ribDia1=29.3; ribDia2=33.5; ribDia3=25.5; ribHei3=28; ribThi=5.3; ribCrossSection=12.5; threadPitchLen=6; threadDegreesAdjustment=0.0; small=0.01; include<simplethreads.scad> module threadedPeg(threadDia, exposedThreads) { ...
glb/cad_0cdc5d032736.glb
Create a SmartDisplay Holder for the Mendel90 by starting with a central rectangular block measuring 14.2mm wide, 10mm deep, and 30mm high. Carve a vertical slot through the center of the block that is 6.2mm wide, 40mm long, and 10mm deep to accommodate an acrylic panel. Remove a smaller central rectangular section mea...
include <../vitamins/nuts.scad> $fn = 64; wall_width = 4; aqrilic_width = 6.2; function width(type) = type[0]; function length(type) = type[1]; function height(type) = type[2]; module aqrilic() { cube([aqrilic_width, 40, 10], center=true); } module pcb() { cube([1.8, 40, 10], center=true); } difference() ...
glb/cad_566ec70645ed.glb
Create a Customizable Panel Holder consisting of a circular base with two semi-cylindrical clips. Start by creating a main cylinder base with a diameter of 40mm and a height of 4mm. Across the center of this base, carve a rectangular slot 4.8mm wide and 1.4mm deep to accommodate a panel. Position two identical holder...
base_diameter = 40; base_thickness = 4; panel_thickness = 4.8; panel_trap_height = 1.4; holder_width = 7; holder_height = 2.9; holder_thickness = 1.4; holder_spacing = 16; holder_top_crop_height = 0.6; holder_old_height = holder_width/2 - holder_top_crop_height; holder_height_scale = holder_height/holder_old_h...
glb/cad_651162e69e49.glb
Create a retraction ring for a bowden tube. Start by creating a main body using a hull operation between two cylinders: one with a radius of 9mm and a height of 0.5mm centered at x=-10, and another with a radius of 10mm and a height of 3mm centered at x=10. From this body, remove a central cylindrical hole with a radiu...
module retractionRing() { difference() { hull() { translate([-10, 0, 0]) cylinder(r=9 ,h=0.5); translate([10, 0, 0]) cylinder(r=10 ,h=3); } hull() { translate([-10, 0, -0.1]) cylinder (r=4,h=4); translate([10, 0, -0.1]) cylinder (r=4,h=5); } translate([-10,0,0.5]) cylinder(r...
glb/cad_d017dd6d0ede.glb
Create a parametric drawer with a length of 210mm, width of 250mm, and height of 100mm. The main body is a hollow box with a wall thickness of 2mm and a bottom thickness of 2mm. The exterior of the box should have rounded edges with a radius of 2mm. The interior cavity should also have rounded corners with a radius o...
$fn = 20; length = 210; width = 250; height = 100; wallthickness = 2.0; bottomthickness = 2.0; cornerRadius = 4.0; edgeRadius = 2.0; handleDiameter=20; location=[length/2, 0, (height/5)*4]; makeHandleWithHole(handleDiameter, location, wallthickness) { drawer(length, width, height, wallthickness, bottomthickn...
glb/cad_2159187c2180.glb
Create a Portable Solar Dial consisting of a rectangular panel with a thickness of 3mm and overall dimensions of 180mm in height and 115.2mm in width (calculated as 12 months at 9.6mm each). On the face of the panel, engrave a series of curved lines representing solar elevation. These curves are sinusoidal, spanning ...
axialTilt = 23.44; lat = 51.914; maxSolarAngle = lat - axialTilt; yAmpFactor = 1.0; grooveWidth = 1.0; panelHeight = 180.0; lineLength = panelHeight - 2.5; curveHeight = panelHeight * yAmpFactor; monthWidth = 9.6; panelWidth = monthWidth * 3; curveSegmentFactor = 12 / 24; horizonLineOffset = 10.0; panelDepth...
glb/cad_192f42d11538.glb
Create a Portable Solar Dial consisting of a square base with a raised inner platform. Start by constructing a solid square base 57.5mm wide, 57.5mm deep, and 3mm high. On top of this base, center a second square platform that is 51.5mm wide and 51.5mm deep, with a height of 2mm. The outer perimeter of this upper pla...
$fn = 16; yAmpFactor = 5.0; poleWidth4 = 23 * yAmpFactor / 12; poleWidth = poleWidth4 * 3; echo(poleWidth); polePlateDepth = 3.0; baseRimWidth = 3.0; baseRimTopWidth = 0.4; baseRimHeight = 3.0; baseDepth = 1.0; holeDiam = 2.5; difference() { hull() { translate([0, 0, 0]) cylinder(d1 = baseRi...
glb/cad_6ee399dfe31c.glb
Create a Fourier Twisted Vase by constructing a complex extruded polygon that repeats and twists vertically. Start by defining a 2D base polygon based on the sum of two sine/cosine harmonics: the first with an amplitude of 3 and harmonic of 1, and the second with an amplitude of 0.5 and harmonic of 4, both relative to ...
A0=40; PERIODS=6; harmonics=[ [3,1], [1/2,4], ]; function sumsin(COUNT,VECTOR,DEGREE)= ( COUNT>=len(VECTOR) ? A0*sin(DEGREE): VECTOR[COUNT][0]*sin(VECTOR[COUNT][1]*DEGREE*PERIODS) +sumsin(COUNT+1,VECTOR,DEGREE) ); function sumcos(COUNT,VECTOR,DEGREE)= ( COUNT>=len(VECTOR) ? A0*cos(DEGREE): VECTOR[COUNT]...
glb/cad_f1a780d510e6.glb
Create a dummy model of the Arcol.hu hot-end v3.0 for mechanical mounting. Start by creating a central cylindrical body with a radius of 7mm and a height of 27mm, using a 24-facet resolution. At the base of this cylinder, centered at Z = -33mm, place three hexagonal prisms (6-facet cylinders) each with a radius of 2.8m...
head1 = dxf_cross(file = "arcol.hu_hot-end_v3.0.dxf", layer = "m3_head1"); head2 = dxf_cross(file = "arcol.hu_hot-end_v3.0.dxf", layer = "m3_head2"); head3 = dxf_cross(file = "arcol.hu_hot-end_v3.0.dxf", layer = "m3_head3"); m...
glb/cad_3728e7000cea.glb
Create a Samsung Note 3 to Telescope connector consisting of two main parts: a phone mount and a telescope mount. First, construct the phone mount as a rectangular shell with outer dimensions of 158mm in length, 86.2mm in width, and 12.8mm in height. Create a central cavity for the phone starting 3mm from each edge, ...
phone_length = 152; phone_width = 80.2; phone_height = 9.8; phone_glass_length = 125; phone_glass_width = 71; phone_glass_len_offset = 12; phone_glass_wid_offset = 5; power_button = 0; power_button_len = 145; power_button_wid = 40.1; power_button_diameter = 11; camera_len = 138; camera_wid = 40.1; camera_diameter = 1...
glb/cad_55fd4be1c9e9.glb
Create a fork attachment for a wheel loader. Start with a main rectangular block measuring 73mm in width, 2mm in depth, and 40mm in height. At both the left and right ends of the block, add vertical snap-fit components. Each snap-fit consists of a base 1.5mm wide, 23mm deep, and 12mm high. Within these end pieces, in...
$fn = 50; module gabelAufnahme(b=76, h=31, d=7) { mirror([0, 1, 0]) difference() { cube([b, d, h]); translate([-0.1, -0.1, h-2.9]) cube([b+0.2, d-3, 3]); translate([-0.1, -0.1, -0.1]) cube([b+0.2, d-3, 3]); translate([2, -0.1, 5]) cube([b-4, 10, 17]); translate([2, 7.5, 14])...
glb/cad_3ea07dc9694e.glb
Create a non-knurled endcap for a math spinner by constructing a main outer cylinder with a diameter of 35mm and a height of 10.8mm. From this solid volume, remove a series of concentric cylindrical voids to create the internal cavity. First, remove a cylinder with a diameter of 20.9mm and a height of 3mm, starting fro...
$fn = 180; difference() { cylinder(d=35, h=10.8); union() { translate([0, 0, -1]) cylinder(d=20.90, h=3); translate([0, 0, 1]) cylinder(d=25.5, h=10); translate([0, 0, 10.3]) hull() { cylinder(d=25.5, h=1); translate([0, 0, 0.5]) cylinder(d=26.5, h=1); } } }
glb/cad_08751f7d9f83.glb
Create an axle for a math spinner. Start by forming a central cylinder with a diameter of 25mm and a height of 136mm, positioned so it begins 3mm from the base. At both ends of this cylinder, add a cap created by the hull of two smaller cylinders: one with a 20mm diameter and 1mm height at the very base, and another wi...
$fn = 90; translate([0, 71, 10]) rotate([90, 0, 0]) difference() { Axle(); Cavity(); translate([0, 0, 67]) Cavity(); } module Cavity() { union() { translate([0, 0, 6]) cylinder(d=20, h=63); translate([-5, -13, 6]) cube([10, 26, 63]); } } module Axle() { intersection() { translate([-13, -10, 0]) cube([26...
glb/cad_53dc6068ebc7.glb
Create a customizable hole plug consisting of a circular flange and a series of radial catches. Start by creating a thin cylindrical base flange with a diameter of 34.5mm and a thickness of 1.5mm. Around the perimeter of this flange, add six identical catches equally spaced every 60 degrees. Each catch is constructed...
hole_diameter=30; flange_diameter=34.5; flange_thickness=1.5; catch_count=6; catch_height=3; catch_thickness=1.5; catch_lip=1; catch_offset=.5; $fn=50; catch_rotation=360/(catch_count*2); flange(flange_diameter,flange_thickness); for ( i = [0 : catch_count-1] ) { rotate([0,0,i*catch_rotation*2]) catch(...
glb/cad_9fab1d831702.glb
Create a stackable drawer system consisting of a base and a drawer. For the base, create a rectangular frame with external dimensions of 191.5mm width and 134.5mm depth. The walls should be 2mm thick with a height of 21.56mm. The bottom of the base is a solid plate 1.96mm thick. The interior cavity should be a rounde...
object = 1; drawer_height = 20; drawer_width = 180; drawer_depth = 125; drawer_cols = 1; drawer_rows = 1; handle_width = 38; handle_depth = 14; tray_height = 15; $fn = 60; layer_height = 0.28; line_width = 0.5; base_layers = 7; base_walls = 4; drawer_layers = 3; drawer_walls = 3; drawer_comp_walls = 2; drawer...
glb/cad_e0652c15b0cc.glb
Create an MBeam, which consists of two identical beam halves and a connector. For each beam half, start with a square profile of 20mm by 20mm and a height of 25mm. The profile is not a solid block; it features a wall thickness of 2.3mm. Within this profile, create a central square cutout of approximately 9.1mm. On th...
h=25; w=20; t=2.3; d=sqrt(w*w+w*w)-t; s=4; c=w/2.2; translate([0,0,w/2]) rotate([90,0,0]) twohalves(); translate([0,w,0]) connect(); module connect(){ difference(){ translate([-(w+4)/2,-(w+4)/2,0]) cube([w+4,w+4,h/1.5]); fullbeam(1); } } module twohalves(){ difference(){ halfbeam(); translate([0,-w/8,0]) kerbe(0)...
glb/cad_f5f0b8398697.glb
Create a Floor Function Sign by starting with a rectangular base measuring 120mm wide, 150mm deep, and 5mm thick. On top of this base, construct a stylized floor function symbol using rectangular blocks. Place two vertical pillars, each 10mm wide, 100mm long, and 10mm high, positioned at x=20 and x=90, both starting at...
module floor_function() { difference(){ union(){ cube([120,150,5]); translate([20,25,0])cube([10,100,10]); translate([90,25,0])cube([10,100,10]); translate([71,25,0])cube([20,10,10]); translate([29,25,0])cube([20,10,10]); translate([60,75,5])rotate([0,0,-30])cube([10,70,10], center= true); translate([6...
glb/cad_10b5fad8c142.glb
Create a repaired compressor airfilter housing. Start with a main circular cap with an outer diameter of 90.4mm. The cap's profile is a hull connecting a wide base cylinder (3mm height) to a smaller upper cylinder (1mm height, 25mm diameter) centered 12mm above the base. Remove a central cylindrical ridge 1.75mm high w...
include <..\thread_bolt_nut\screwthread_v6.scad>; outer_diameter=90.4; ridge=1.75; thickness=1.25; height_center=31.6; filter_bus_diameter=40; filter_bus_thickness=1.9; $fn=64; translate([0,0,10]) connector(); assembly(); module assembly() { difference() { union() { difference() { ...
glb/cad_52451c68b930.glb
Create a waterproof screw cap consisting of a wide base and a hollow cylindrical body. Start with a solid circular base disk with a radius of 15mm and a height of 2mm. Centered on this base, build a hollow cylinder with an outer radius of 12mm and a total height of 11mm. The interior of this cylinder should be hollowed...
$fn = 360/4; Cap_radius = 12.0; Cap_radius_lips = 0.5; Cap_Cover_radius = 15.0; Cap_height = 11.0; Cap_radius_wider = Cap_radius + Cap_radius_lips; module lips(z_off, r_a, r_b, height_l) { difference() { translate([0,0,z_off]){ # cylinder(r1=r_a, r2=r_b,h=height_l);} translate([0,0,z_off]) { # cylinder(...
glb/cad_bc094065e971.glb
Create a cube with side lengths of 20mm, centered at the origin. On the front face, centered horizontally and positioned 10mm from the center along the Y-axis, carve the text "Indented Text" into the surface. This text should have a height of 2mm and a thickness of 0.5mm, rotated 90 degrees around the X-axis to align w...
include <write.scad> difference(){ translate([0,0,0]) cube(20,center=true); translate([0,-10,0]) rotate(90,[1,0,0]) write("Indented Text",h=2,t=0.5,center=true); translate([0,0,-6]) rotate(90,[1,0,0]) write("Cut",h=8,t=20+0.1,center=true); } translate([0,-10,7]) rotate(90,[1,0,0]) write("Raised Text",h=2,t=...
glb/cad_2682f1ab08f3.glb
Create an Ikea Bracket by constructing a square frame with a total outer dimension of 58.7mm by 58.7mm and a height of 10mm. Start by creating a solid square plate of these dimensions, then remove a centered square hole measuring 50.7mm by 50.7mm to leave a wall thickness of 4mm on all sides. To create the open-sided b...
$fn = 90; size = 50.7; union() { difference() { translate([0, 0, 5]) cube([(size + 8), (size + 8), 10], center = true); translate([0, 0, 5]) cube([size, size, 10.1], center = true); }; translate([(size + 6) / 2, 0, 15]) cube([2, (size + 8), 10], center = true); translate([0, (size + 6) / 2, 15]) cube([(size ...
glb/cad_ddad12115698.glb
Create a Respirator Outward Filter consisting of two main parts: a body and a screw-on cap. For the body, create a bottom threaded section with an inner radius of 35mm and a height of 9mm. This section features an external thread and a base closed by a circular grid pattern with three concentric rings of holes (divide...
use <revolve2.scad> quality = "fast preview"; scene_content = "both (cap opened)"; show_cross_section = false; SECTION_1_HEIGHT_MEASURES = "▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀"; wall_t = 1.8; clip_section_h = 10; cone_section_truncate_angle = 20; thread_section_h = 9; grid_h = 2.7; SECTION_2_RADIUS_MEASURES = "▀▀▀▀▀▀▀...
glb/cad_09b8fb0125e5.glb
Create a desktop glasses holder consisting of a rectangular base with six integrated cylindrical tubes. First, construct a solid base by forming a convex hull around four vertical cylinders, each 8mm in diameter. Position two cylinders at the front corners at coordinates (-30, -20) and (180, -20) with a height of 15mm,...
$fn=100; houder(); translate([50,0,0]) houder(); translate([150,0,0]) houder(); translate([100,0,0]) houder(); translate([0,50,20]) { houder(); translate([50,0,0]) houder(); translate([150,0,0]) houder(); translate([100,0,0]) houder(); } hull() { translate([-30,-20,0])cylinder(d=8,h=15); translate([180,-20,0])...
glb/cad_d26aa1bf839f.glb
Create a Scenic 3D Hex terrain interlocking baseplate. The baseplate is a flat grid with a thickness of 2mm. It consists of a repeating pattern of hexagonal cells designed to hold terrain tiles. Each hexagonal cell has an outer radius of 4.5mm. The interior of each cell is hollowed out to create a socket for a tile, w...
Ro = 41/2; Wall = 1; H_top = 5; R_panel = Ro-(Wall*2/sqrt(3)); W_top= H_top/sqrt(3); R_base = Ro+W_top+3; H_top_b = 3*sqrt(3); bevel = 1; H_tile = 1.5; Gap=0.1; HGap=0.2; M = 3; Layer = 0.2; R1 = 0.25; H2 = 1; H = 10; deep = Wall; wall = 3; height = 2; zigzagDeep = 10; zigzagWidth = 20; zigzagR = 2; alpha = atan...
glb/cad_8ce0a5600b59.glb
Create a set of Y-axle brackets and an axle extension. First, create a front bracket and a rear bracket. Both brackets start with a rectangular base 50mm long, 20mm wide, and 7mm high. Centered on the top surface of each base, create a semi-cylindrical protrusion with a radius of 10mm and a width of 20mm, designed to...
$fn = 100; nd = 0.4; AxelMiddle = 11; BaseLength = 50; BaseHeight = 7; BaseWide = 20; FixingEnlarge = 15; FixingBlockWide = 13; FixingBlockLength = 15; FixingWhole = 3*0.8; MiddleLength = 18; MiddleHeight = 19; MiddleWide = BaseWide; MiddleRadius = 10; WholeDiameter = 4.5; WholeDiff = 10; Axe...
glb/cad_e7a5ec63a6e3.glb
Create a Nintendo DS Game Card Box designed to hold 5 cards. Start by creating a main rectangular block with rounded corners of 3mm. The overall outer dimensions of this block should be 36.75mm wide, 41.8mm deep, and 29mm high. Carve a central longitudinal gutter through the bottom of the block that is 3mm wide and 2...
stuffz = 2/1; fuzz = 0.2/1; real_card_length = 34.95/1; real_card_width = 32.75/1; real_card_thick = 3.8/1; card_length = real_card_length + fuzz; card_width = real_card_width + fuzz; card_thick = real_card_thick + fuzz; box_height_addition = 25; gutter_height = 2; gutter_width = 3; number_of_cards = 5; card_spacing =...
glb/cad_59c92c7c83ed.glb
Create a Prusa Enclosure Door Stop by constructing a composite base with two mounting holes. Start with a central body formed by three stacked layers: a bottom layer 53.2mm wide, 4mm deep, and 0.01mm thick; a middle layer 46.4mm wide, 4mm deep, and 5.74mm thick; and a top layer 60mm wide, 9mm deep, and 0.01mm thick. Th...
$fn = 90; union() { difference() { union() { hull() { translate([35.8, 0, 1]) rotate([0, 0, 30]) cylinder(d = 14, h = 2, center = true, $fn = 6); translate([-35.8, 0, 1]) rotate([0, 0, 30]) cylinder(d = 14, h = 2, center = true, $fn = 6); }; hull() { translate([0, -2.5, 2]) cube([60, 9, 0.01],...
glb/cad_e39c3da0a471.glb
Create a Lego Dupont Organizer consisting of a rectangular base with integrated cable-holding teeth and side-mounting holes. Start with a base block measuring 19.2mm in length, 11mm in width, and 8mm in height. Along the length of the base, create two circular holes for Lego Technic pins. Position the first hole at x...
use <lego_pin_and_hole_12.scad>; use <dupont-organizer.scad>; legoVerticalSpacing = 9.6; dupontLegoComb(combLength = legoVerticalSpacing * 2); combThickness = 8; combBaseWidth = 11; combToothLength = 17; combToothWidth = 1.2; combSharpLength = 1.1; combToothSpacing = 2.2; combGroupSpacing = 4; toothBumpLength = 6.4; ...
glb/cad_ea5132c78f5e.glb
Create a Lego Dupont Organizer consisting of a rectangular block with two vertically aligned holes designed for Lego Technic pins. The main body is a cube measuring 8mm wide, 10mm deep, and 20mm high. Subtract two identical cylindrical holes from the block, positioned at Z-heights of 6mm and 14mm. Each hole is a Techn...
$fn = 180; maxOverhangDegHole = 50; maxOverhangDegPin = 50; pinH = 8.3; pinR = 4.9 / 2; pinOuterR = 5.8 / 2; pinHeadOuterR = 5.35 / 2; baseH = 1.7 / 2; minusZ = baseH; pinHeadZ = .45; slitDepth = pinH * .6; slitZ = pinH - slitDepth; slitR = .85 / 2; pinInnerR = 3 / 2; textDepth = .2; pinHeadSlopeZ = (pinHeadOuterR...
glb/cad_4931e6d9ec9a.glb
Create a Soma cube puzzle set consisting of seven distinct pieces, each constructed from cubes with a side length of 20mm. Construct the first piece by joining four cubes in an L-shape with an additional cube attached to the center of the long side. Create the second piece by joining three cubes in a straight line. C...
side = 20; module c() { cube(size=side, center=true); } $fn = 100; module c1() { union() { c(); translate([side,0,0]) c(); translate([side,side,0]) c(); translate([side,0,side]) c(); } } module c2() { union() { c(); translate([side,0,0]) c(); translate([side,side,0]) c(); }...
glb/cad_0190c977ce4d.glb
Create a Window Blinds Rod Part consisting of three distinct components. First, create a hollow cylinder with an outer radius of 4.75mm, an inner radius of 3.75mm, and a total height of 28mm. Remove a central cylindrical core with a radius of 3.25mm and a length of 26mm, positioned such that it leaves a 1mm wall at the...
joint = 6.5; joint_length= 26; wall = 0.5; thick = 5; thin = 4; hole = 6; fine = 90; length = joint_length+wall*4; translate([4,-6,0]) difference(){ cylinder(length+1,r=joint/2+wall+1, false, $fn=fine); translate([0,0,2]) cylinder(length+1,r=joint/2+wall+0.2, false, $fn=fine); translate([0,0,-1]) cylinde...
glb/cad_0af7aa450cf2.glb
Create a parametric handle with a total height of 100mm. The main body is a tapered cylinder that starts at a base diameter of 35mm and narrows to a neck diameter of 25mm. At the top of this taper, add a hemispherical dome with a radius of 15mm. At the very bottom, create a guard consisting of a cylinder with a 35mm di...
use <utils/build_plate.scad> Handle_Height = 100; Handle_Top_Diameter = 30; Handle_Neck_Diameter = 25; Guard_Diameter=35; Neck_Height = 5; Guard_Edge_Thickness = 5; Hole_Shape=30; Hole_Diameter = 7.2; Hole_Depth = 10; Grip_Elements = 12; Grip_Radius = 3.0; Percent_Grip_Depth = 50; Grip_Smoothness = 20; buil...
glb/cad_37483d32e993.glb
Create a Z Stabiliser consisting of two stacked cylinders with a central hole. First, create a base cylinder with a diameter of 20mm and a height of 20mm. Centered on top of this base, add a second cylinder with a diameter of 13mm and a height of 20mm. Finally, bore a vertical hole through the center of the entire asse...
$fn=25; base_d = 20; base_h = 20; top_d = 13; top_h = 20; rod_d = 8.5; rod_h = 10; gap = base_h - rod_h; echo(GAP=gap); difference() { union() { cylinder( d=base_d, h=base_h ); translate([ 0, 0, base_h ]) cylinder( d=top_d, h=top_h ); } translate([ 0, 0, -1 ]) c...
glb/cad_5604a11ab593.glb
Create an M4 nut gear cap by starting with a base cylinder 18mm in diameter and 4.5mm high. Remove a hexagonal prism from the center with a flat-to-flat width of 9mm and a height of 4.5mm, positioned 2.25mm above the base. Drill a central vertical hole 4mm in diameter through the entire object. Cut a rectangular slot 3...
fi_gwint = 4; fi_nakretka = 9; r_gwint = fi_gwint*0.5; r_nakretka = fi_nakretka*0.5; module grip(nr=n){ rotate([0,0,-22.5+(45*nr)]) translate([fi_nakretka,0,-0.1]) cylinder(r=r_nakretka*0.4,h=fi_nakretka,$fn=16); } difference() { cylinder(r=r_nakretka*2,h=r_nakretka); translate([0,0,r_nakretka*0.5]) cylinder...
glb/cad_eefef4043071.glb
Create a Keychron K2 bezel consisting of two symmetrical mirrored halves. Each half is a hollowed-out frame with an outer boundary measuring 153.2mm by 115.8mm. The walls of the frame have a thickness of 2mm, while the top edge is thinner at 1mm. The inner cutout of each half is a rectangle with rounded corners. To c...
$fn = 64; module x_profile(edge_thickness=2, top_thickness=1) { module a() translate([0, 15.3]) circle(.4); module b() translate([-.4, 16.6]) square([.8, top_thickness]); module c() translate([3.1, 16.6]) square([edge_thickness, top_thickness]); module d() translate([2.3, 0]) square([edge_thickness, .8...
glb/cad_d391cc0fc33b.glb
Create a Habitrail Mousetrap passthrough consisting of two identical circular flange components. Each component starts with a flat circular base 3mm thick and 40mm in diameter. For the first component, create a central hollow tube extending upwards from the base. The tube's main body has a radius of 26mm and a height...
huge=500; misc_bolthead_r=7/2; misc_bolt_r=3.5/2; part_thick=3; pass_thick=35; flange_r=80/2; habit_r=52/2; habit_flange_r=54.5/2; habit_flange_l=3.5; bolt_from_center=flange_r-misc_bolthead_r; top(); translate([flange_r*2+5,0,0]) bottom(); module top() { flange_45=habit_flange_r-habit_r; difference() { ...
glb/cad_b96b014b1ea7.glb
Create a parametric wall pipe support consisting of a flat rectangular base with two upright tube holders. The base plate should be 180mm long, 150mm wide, and 5mm thick, with rounded corners. Position two identical tube holder assemblies on the base, centered along the width and spaced apart. Each holder is a block ...
$fn = 60; LENGTH = 180; WIDTH = 150; THICKNESS = 5; OBLONG_DIAMETER = 5.5; OBLONG_LENGTH = 15; TUBE_DIAMETER = 26.9; BOLT_DIAMETER = 4.5; BOLT_HEAD_DIAMETER = 9; NUT_DIAMETER = 8.25; NUT_HEIGHT = 6; module roundedBox(w,h,d,f){ difference(){ cube(size=[w, h, d], center=true); translate([-w/2,h/2,0]) cube...
glb/cad_6a8cfdbb2a66.glb
Create an electrical wire holder consisting of a vertical base and a removable top support. Start by constructing the base: create a bottom plate using a hull of three cylinders—one central cylinder with a 50mm diameter and two flanking cylinders with 30mm diameters, all 4mm thick—and drill two 4.8mm diameter holes ver...
$fn=200; Houder = 1; Voet = 1; if(Voet) translate([0,0,-95]) { difference() { translate([-1,0,0])cylinder(d=25,h=110); translate([-2,0,11]) cylinder(h=100,d=16.2); translate([4,-3,11]) cube([4.2,6,100]); } difference() { hull() { translate([-1,26,-4]) cylinder(d=30,h=4); translate([-1,0,-4]) cylind...
glb/cad_d15c70237f81.glb
Create a parametric ghost sculpture with a total height of 100mm and a maximum width of 74mm. The body should be a rounded, organic form that is slightly compressed along the Y-axis by a factor of 0.8. The base should flare out with undulating, wave-like folds, while the top tapers into a smooth, rounded head. Incorpor...
resolution = "Medium"; height = 100; width = 74; excentricity = 0.8; armlength = 20; mouth = "yes"; fill = "Shell"; shell = fill == "Shell"; wall = 0.8; topwall = 2.0; eps = 0.01; angstep = resolution == "Low" ? 10 : resolution == "Medium" ? 5 : resolution == "High" ? 2 : 1; layerstep = resolution == "Low" ? ...
glb/cad_1ff3871d67b2.glb
Create an OpenMotor induction motor model consisting of a central armature, a stator with coil forms, and two endplates. Start by creating a central armature cylinder with a radius of 10mm and a total height of 20mm. Add a spindle to this armature: a cylinder with a 2mm radius extending 10mm from the top and another ...
$fn = 100; pi = 3.14159; armature_spindle_radius = 2; armature_spindle_length = 10; armature_radius = 10; armature_length = 20; armature_clearance = 0.7; stator_thickness = 5; form_thickness=2; tslot_height1 = 5; tslot_width1 = 5; tslot_height2 = 5; tslot_width2 = 10; tslot_clearance = 0.5; tslot_carrier_thickness ...
glb/cad_a8dbedec8402.glb
Create a Customizable Towel Hanger consisting of a hook and a circular holder. Start by creating the hook: form a solid shape by connecting two cylinders with a diameter of 60mm and a height of 3mm using a hull operation, where the second cylinder is positioned 97.5mm away from the first along the X-axis. Subtract a ce...
hook_diameter=50; hole_diameter=60; hook_thickness=5; hook_height=3; flaps_thickness=.5; resolution=75; $fn=resolution; hook(); translate([(hole_diameter+10),(hook_diameter-hole_diameter)/-2,0])towel_holder(); module towel_holder(){ difference(){ cylinder(hook_height,(hole_diameter+(hook_thickness*2))/2,(hole_d...
glb/cad_9a548bbe9753.glb
Create a general purpose handle by revolving a specific profile around a central Z-axis. The profile starts at the origin and extends upward to a total height of 30mm (composed of a 10mm stem height, 8mm grip width, and 12mm handle height). The outer edge of the profile features a 1.5mm bevel at the top and bottom corn...
Screw_Hole_Diameter = 5; Screw_Direction = 0; Screw_Head_Hole_Diameter = 8.5; Screw_Material_Thickness = 5; Screw_Countersink_Angle = 90; Screw_Hole_Depth = 10; Stem_Material_Thickness = 5.75; Stem_Height = 10; Handle_Grip_Width = 8; Handle_Height = 10; Square_Handle = 0; Base_Enabled = 0; Base_Lip_Width = ...
glb/cad_39a8c370ba7c.glb
Create a dual-point general purpose handle. The main body is a symmetric grip with a central hand hole. The overall dimensions are 135mm in width (X), 30mm in depth (Y), and 18mm in height (Z). The hand hole is 65mm wide and 20mm deep, centered within the grip. The handle walls have a material thickness of 10mm. The h...
Screw_Distance = 100; Screw_Hole_Diameter = 5; Screw_Direction = 0; Screw_Head_Hole_Diameter = 8.5; Screw_Material_Thickness = 5; Screw_Countersink_Angle = 90; Screw_Hole_Depth = 10; Handle_Material_Thickness = 10; Handle_Height = 18; Handle_End_Length = 17.5; Hand_Hole_Width = 65; Hand_Hole_Depth = 20; Bev...
glb/cad_b7e34ab0c4b1.glb
Create a parametric remote control stand consisting of a hollow rectangular compartment mounted on a flat base. First, construct the main compartment with an interior cavity measuring 40mm wide, 8mm deep, and 52mm high. The walls should be 2.5mm thick with all exterior vertical corners rounded to a 6.5mm radius. The ...
comp_w = 40; comp_d = 8; comp_h = 52; slot_w = 34; slot_lower = 20; corner_r = 4; wall = 2.5; chamfer = 0.0; mnt_dia = 2.5; base_h = 2; base_lip_w = 2; base_lip_d = 3; base_w = comp_w + wall*2 + base_lip_w*2; base_d = comp_d + wall*2 + base_lip_d*2; tol = 0.25; d = 1*0.1; module add() { if (chamfer > 0...
glb/cad_ec4eb7a445b2.glb
Create a Cableball consisting of two identical hemispherical shells. For each shell, start with a sphere 45mm in diameter. Flatten the bottom of the sphere by removing the lower half using a 45mm cube centered on the sphere's origin. Drill a 10mm diameter hole through the center of the sphere along the Y-axis. On the ...
dball=45; dschaft=5; dkopf=8; dkabel=10; sw_mutter=8; h_mutter=5; pos_fak=0.22; h_fak=0.5; translate([dball+5,0,0]){ difference(){ sphere(d=dball,$fn=100); translate([0,0,-(dball/2)]) cube([dball,dball,dball],center=true); rotate([0,90,0]) cylinder(d=dkabel,h=dball+5,$fn=50,center=true); translate([dball*pos_fak,dbal...
glb/cad_f2ae83a31d1e.glb
Create a hollow funnel with a wall thickness of 1.5mm. The main body consists of two stacked conical sections. The bottom section is a frustum with a base diameter of 80mm and a top diameter of 15mm, reaching a height of 40mm. Directly on top of this, add a second frustum with a base diameter of 15mm and a top diameter...
grosser_DM = 80; mittlerer_DM = 15; kleiner_DM = 11; Hoehe_gross_mittel = 40; Hoehe_mittel_klein = 40; Lasche = true; hohl = true; Wandstaerke = 1.5; difference() { $fn = 80; union(){ cylinder(r1=(grosser_DM / 2), r2=(mittlerer_DM / 2), h=Hoehe_g...
glb/cad_501d540d536d.glb
Create a parametric funnel consisting of two stacked, twisting pentagonal sections. The base section starts as a pentagonal prism with a diameter of 80mm and a height of 40mm; as it extends upward, it must twist 90 degrees and scale inward to a diameter of 15mm. Directly on top of this, add a second pentagonal section ...
grosser_DM = 80; mittlerer_DM = 15; kleiner_DM = 10; Hoehe_gross_mittel = 40; Hoehe_mittel_klein = 50; Lasche = true; hohl = true; Wandstaerke = 1.5; Seitenanzahl = 5; Verdrehung = 90; difference() { $fn=300; union(){ linear_extrude( height=Hoehe_gross_mittel, twist=Verdrehung, scal...
glb/cad_80a1db8c516d.glb
Create a battery organizer consisting of a rectangular base with a series of cylindrical cutouts. The overall base should be a rectangular slab with a thickness of 8.3mm and dimensions of 77.6mm in width by 53.6mm in length. Within this slab, create a row of 10 evenly spaced cylindrical holes designed to hold batteri...
$fn = 64; nozzle = 0.4; wall_thickness = nozzle * 4; base_h = 1.00; battery_length = 51.00; dia = 7.30; grid = [10, 1]; $fn = 64; module lying_cylinder(w = 1.00, r = 5.00, center = true) { translate([0, 0, r]) rotate([90, 0, 0]) cylinder(w, r, r, center); } module alg_next_each_other_x(co...
glb/cad_1e187e005897.glb
Create a Solar Water Purifier connector ring. The main body is a hollow cylinder with an outer diameter of 42.6mm and a total height of 19.05mm. The walls of this main ring are 1mm thick. Inside the main ring, center a smaller concentric cylinder with a diameter of 38.1mm and a height of 12.7mm to create a recessed in...
circumference = 13.5 * 25.4; length = 0.75 * 25.4; innerLength = 0.5 * 25.4; width = 3/8 * 25.4; bottleThickness = 1; spoutID = 0.3 * 25.4; spoutOD = 0.4 * 25.4; spoutXD = 1/2 * 25.4; spoutLength = 3/8 * 25.4; wallThickness = 1.0; nozzleDiameter = 0.5; $fn = 64; merge = 1/256 * 25.4; L = circumference; k = 0.65; t = 2*...
glb/cad_c3447784526b.glb
Create a bed-drain grating for a pickup truck. Start with a main rectangular body that is 55mm wide, 16mm deep, and 76.2mm tall. The top section of this body should be a rounded rectangular slab with a thickness of 76.2mm and a width of 55mm. Within this top section, create a grid of rectangular drainage slots. These...
fn=15; difference(){ union(){ translate([0,0,39])minkowski(){ cube([55-(1/8*25.4),1/16*25.4,3*25.4],center=true); cylinder(d=1/8*25.4,h=1,$fn=fn); } translate([-26,-5-(3/32*25.4),27])rotate([90,0,0])rotate([0,90,0]) linear_extrude(height=52){ polygon( points=[ [0,0],[5,0],[5,50] ],paths=[[0,1,2...
glb/cad_e7a75e24e1fc.glb
Create a Retro Font Word Pen consisting of a main body, an end stub, and a cap. For the main body, create a rectangular base 130mm long with a thickness of 8mm. Centered along its length, carve a longitudinal hole with a diameter of 4.3mm to accommodate a pen. On the top surface, starting 7mm from the tip, extrude th...
use <MCAD/fonts.scad> create_pen = true; create_stub = true; create_cap = true; create_clip = true; word = "AWESOME"; font_scale = 2.2 ; font_spacing = 0.9; pen_inner_diameter = 4.3 *1; pen_inner_radius = pen_inner_diameter / 2; pen_length = 130; pen_thickness = 8*1; font_start_dist = 7; stub_length = pen_thic...
glb/cad_7111c360b93b.glb
Create a universal spool holder consisting of four bearing-holding elements and one end cap, all centered around a common longitudinal axis for a rod. First, create four identical bearing-holding parts. Each part consists of a main outer cylinder with a diameter of 26mm (calculated as the 32mm bearing outer diameter ...
include <BOSL/constants.scad> use <BOSL/transforms.scad> $fn=50; tolerance = 0.1; bearing_count = 4; bearing = [15, 32, 9, 3]; rod_diameter = 8; total_length = 129; end_part_height = (total_length / (bearing_count + 1)) - (bearing[2] / 2); part_height = (total_length - end_part_height) / bearing_count; module bearin...
glb/cad_a6ebaff10a97.glb
Create a Moiré Animation grating tool as a rectangular plate with dimensions 100mm wide, 80mm deep, and 0.6mm high. The plate should have rounded corners with a radius of 5mm. Cut a series of vertical rectangular slots (grooves) through the plate. Each groove must be 1mm wide and 0.6mm high. The grooves are spaced apa...
number_of_frames = 4; width = 100; depth = 80; height = 0.6; groove_width = 1; indicator_height = 0.6; conerRadius = 5; mask_width = groove_width*(number_of_frames-1); grating_width = groove_width+mask_width; grating_depth = depth-grating_width*3; max_total_number = floor(width/grating_width); total_number = ma...
glb/cad_2ab021ecc6b6.glb
Create a customizable plant sign consisting of a flat rectangular plaque and a supporting stake. The plaque should be 1.4mm thick with rounded corners of 3mm radius. The width of the plaque should automatically adapt to the length of the text provided, while the length is fixed at 30mm. Centered on the plaque, create ...
use <fontmetrics.scad>; plantCategory = "B.OHROVT"; plantName = ""; border = "no"; printOptions = "Print Text"; fontSize = 12; module extrudeText(string, fontSize, height){ linear_extrude(height=height, convexity=10, $fn=50){ text( string, size=fontSize, font="Liberatio...
glb/cad_3bb7c9ca5291.glb
Create an RV awning pull consisting of a long cylinder with a total length of 90mm and a diameter of 4.74mm. Centered along the length of the cylinder, carve out a rectangular slot to create an opening. This slot should be 26mm long, 1.3mm wide, and 4.74mm deep, effectively cutting through the full diameter of the cyli...
total_length = 90; opening_width = 26; opening_height = 1.3; diameter = 4.74; opening_depth = diameter; rotate([90,0,90]) translate([0,diameter/2,-(total_length/2)]) difference() { cylinder(h=total_length,r=diameter/2,$fn=100); rotate ([0,0,0]) translate([-(opening_height/2),-(diameter/2),((total_length - opening...
glb/cad_f6a12dc2514c.glb
Create a webcam support base consisting of a wide circular platform and a central threaded pillar. Start by creating a circular base with a radius of 42mm and a height of 15mm. From the center of this base, remove a concentric cylinder with a radius of 40mm and a height of 2mm, leaving a 2mm thick outer rim. At the ce...
$fn = 100 ; include <polyScrewThread_r1.scad> RadioPie = 40 ; AlturaPie = 2 ; RadioHuecoTallo = 8 ; RadioTallo = 10 ; AlturaSobrePie = 10 ; AlturaHilosPie = 20 ; AlturaVaso = 15 ; module Base() { union() { translate([0,0,AlturaPie-1]) difference(){ union() { translate([0, 0, AlturaSobreP...
glb/cad_d0af57d30814.glb
Create a dishwasher wheel upgrade consisting of a tiered cylindrical body with a central hole. Start by creating a base disc with a radius of 25mm and a height of 1mm. On top of this base, add a cylinder with a radius of 25mm and a height of 2mm. Above this, add a tapered section that transitions from a radius of 25mm ...
$fn = 120; innerR = 10.2 / 2; wall = 1; funnelZ = 1; cylinderH = 13; wheelOuterR = 50 / 2; wheelOuterZ = 5; contactR1 = 27 / 2; contactR2 = 22.5 / 2; contactWheelH = 11; contactWheelZ = 4.5; difference () { union () { cylinder(r1 = wheelOuterR - 1, r2 = wheelOuterR, h = 1); translate([0, 0, 1]) ...
glb/cad_46b44ef0a2d3.glb
Create a Ping Pong Cannon consisting of a barrel, a trigger mechanism, and a base. The barrel is a cylindrical cage formed by several rings and longitudinal rails. Create three circular rings with an outer diameter of 55mm and an inner diameter of 42mm (the ball hole). Position these rings along a central axis to sup...
$fn=64; is3D=true; exploded = false; plate_height=3.5; ball_dia = 40; ball_gap = 1; barrel_len=150; barrel_side_width = 6.5; band_holder_len = 20; gap = .1; normal_side_rail_rads = [45, 90, 135, 225, 270, 315]; mount_side_rail_rads = [0, 180]; side_len = barrel_len + 5 * plate_height; ball_hole = ball_dia + 2 * ...
glb/cad_d85b73fce474.glb
Create a tablecloth clamp with an overall length of 30mm, width of 25mm, and height of 48mm. The main body is a C-shaped clip with a wall thickness of 3.5mm. The clip features a curved profile with a radius of 90mm and an edge height of 46mm. The edges of the clip are rounded with a radius of 4mm. The clip's structur...
$fn=128; overall_length=30; overall_width=25; overall_height=48; edge_height=46; edge_length=9; edge_curve_degrees=25; edge_curve_radius=90; upper_length=30; thickness=3.5; width=20; diameter=width; radius=4; short_length=10; short_height=2; length=overall_length; flat_strip_length=length-diameter/2-radius-thickness/...
glb/cad_183f59e439f0.glb
Create a Planthook by constructing a vertical main body and a perpendicular top arm. Start with a central vertical rectangular pillar 120mm high, 20mm wide, and 8mm thick. At the top of this pillar, add a horizontal rectangular block 20mm wide, 20mm deep, and 6mm thick, centered on the pillar's width. Above this block,...
$fn=132; height=120; width=20; thickness=8; delta=0.02; type_1(); module type_1() { difference() { union() { translate([0,0,height/2]) cube([thickness,width,height],center=true); translate([3,0,height-6/2]) cube([14,width,6],center=true); translate([8,0...
glb/cad_03742c0a8808.glb
Create a 110 Film Scanner consisting of a hollow cylindrical tube and a thin circular base. Start by creating a main outer cylinder with a diameter of 53.5mm and a height of 65mm, centered vertically. Remove a smaller concentric cylinder from the center with a diameter of 47.5mm and a height of 67mm to create a tube wa...
tlength=65; lense=47.5*1; tube=lense+6; difference () { translate([0,0,-tlength/2]) cylinder(h=2,r=lense/2,$fn=100); translate([0,0,-tlength/2+1]) cylinder(h=4,r=11, center=true); } difference() { translate([0,0,0]) cylinder(h=tlength,r=lense/2+3,$fn=100, center=true); translate([0,0,0]) cylinder(h=t...
glb/cad_58972509fe54.glb
Create a customizable hex tile tray with a total height of 41mm. The tray consists of a honeycomb grid of hexagonal cells, each with an inner incircle diameter of 55mm and wall thickness of 1mm. The cells are arranged in five columns with the following number of hexes per column: 2, 3, 4, 3, and 2. The columns are po...
hex_rows = [2,3,4,3,2]; hex_rows_shifts = [1,0,0,0,1]; hex_height = 41; hex_size = 55; hall_thickness = 1; hex_slot_width=17; hextray(hex_rows, hex_rows_shifts, hex_height, hex_size, hall_thickness, hex_slot_width); module hex(cell_size, wall_thickness) { circle($fn = 6, r = cell_size * (sqrt(3)/3)); } ...
glb/cad_8418914d70f2.glb
Create a Cat Christmas Ornament in the shape of a regular tetrahedron. To do this, first define a 2D cat silhouette based on the provided coordinates, which forms a stylized cat figure. Create a single face of the tetrahedron by taking this cat silhouette and duplicating it three times, rotating each copy by 120 degr...
sc =12.5; soverall = 2.5; scale(soverall) Bottom(); module Bottom() { scale(.5) { linear_extrude(height=2) translate(v=[0,0,0]) triangle(); }} module triangle() { rotate([0,0,-20]) union() { for (i = [0:120:240]){ rotate([0,0,i]) cat(); }} module cat() translate([-6,17.4,0]) rotate([0,0,-16]) { polygon (p...
glb/cad_7b2ffbe835b1.glb
Create a Cat Christmas Ornament in the shape of a dodecahedron. The structure is formed by placing a specific cat-themed motif at each of the 20 vertices of a theoretical dodecahedron with a radius of 25.6mm. The motif consists of three identical cat silhouettes, each based on a bobtail cat profile, joined together at...
gr = (1 + sqrt(5))/2; rgr = 1/gr; norm = sqrt(1+gr*gr); ang2 = atan(sqrt(3)*(sqrt(5)-2)); ang1 = 60 - ang2; catt = 5/1.8; translate([0,0,45.26]) scale(1.8) rotate([0,31.715,0]) union() { decor_555( 1.0/sqrt(3), 1.0/sqrt(3), 1.0/sqrt(3), .45,catt,-ang1,25.6); decor_555( 1.0/sqrt(3), 1.0/sqrt(...
glb/cad_52acb21c7f67.glb
Create a smart doorbell mount as a wedge-shaped prism. The prism has a total height of 155mm and a hypotenuse face of 75mm, angled at 20 degrees. The overall shape is a hollow shell with a wall thickness of 1mm. On the back side, carve a rectangular notch for trim that is 6mm wide and 15mm deep, running the full heigh...
side = "left"; hollow = true; thick = 1; trim = true; trim_x = 6; trim_y = 15; height = 155; h = 75; theta = 20; hole_size = 30; hole_nudge = 120; screw_dia = 5; row1_screw_from_top = 47; row2_screw_from_top = 139; screw_spacing = 36; $fn = 50; if (side == "left") { do...
glb/cad_1efaa912fe9b.glb
Create a Movember moustache ornament by constructing two symmetrical halves mirrored across the YZ plane. For each half, start with a sphere of radius 15mm centered at (12, 18, 0). To this sphere, add a series of connected, angled conical sections. The first section is a cylinder with a base radius of 15mm and a top ra...
a1 = 12; w1 = 15; l1 = 25; a2 = -12; w2 = 12; l2 = 20; a3 = -22; w3 = 8; l3 = 10; a4 = -18; w4 = 5; l4 = 10; a5 = -20; w5 = 3; l5 = 15; union(){ mirror() HalfMo(); HalfMo(); } module HalfMo(){ intersection(){ translate([12,18,0]) union(){ sphere(15); rotate([0,90,0]) union(){ rotate([a1,0,...
glb/cad_a51237e73ae8.glb