Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Dr Dabber Boost Base Stabilizer consisting of a wide circular base with a central recessed cavity. Start by creating a main cylinder with a diameter of 70mm and a height of 4mm. From the center of this cylinder, remove a smaller concentric cylinder with a diameter of 40mm and a height of 4mm to create a hole t...
BaseDiameter = 70; BaseHeight = 4; NibDiameter = 1.75; DBBBaseDiameter = 40; DDBBaseHeight = 2; union(){ difference () { cylinder (h=BaseHeight, d=BaseDiameter, center=true, $fn=100); translate([0,0,1]) cylinder (h=BaseHeight, r=DBBBaseDiameter/2, center=true, $fn=100); } translate([DBBBaseDiameter/2,0,...
glb/cad_93455231aa91.glb
Create a Prusa I2 LED Ring Standoff by starting with a rectangular base block measuring 20mm in length, 7mm in width, and 7mm in height. At one end of this block, attach a cylindrical peg with a radius of 2.25mm and a length of 7mm, extending outwards along the center axis. On the opposite end of the base block, constr...
module make_standoff(height=20) { cube([height,7,7]); difference() { translate([height,0,0]) cube([6,11,7]); union() { translate([height+2,0,0]) cube([2,9,7]); translate([height+4,0,0]) cube([2,6,7]); } } translate([-7,3.5,3.5]) rotate([0,90,0]) cylinder(7,2.25,2.25); } ...
glb/cad_3e42193012e5.glb
Create a suction cup eggcrate bracket with a uniform wall thickness of 2.5mm and a total height of 14mm. Construct the base as a flat, angular plate that extends 25mm in length. From this base, build a vertical support section 25mm wide and 14mm high. Within this vertical section, center a heptagonal hole with a diamet...
wt = 2.5; ww = 14; y = 25; hole = 10; translate([0,-y/2,0]) { union() { cube(size=[wt, y, ww]); rotate([0,0,90]) translate([y,-(wt+2.5+wt),0]) cube(size=[wt, wt+2.5+wt, ww]); translate([wt+2.5,y-2.5,0]) cube(size=[wt,wt*2,ww]); translate([35+wt,y-wt-9,0]) rotate([0,0,90]) cube(size=[wt,35+wt,ww]); translate([35...
glb/cad_b28a838e8645.glb
Create a ring with a flat decorative top platform. Start by constructing the band as a torus-like ring with an inner circumference of 50mm. The band's cross-section is a hull of two circles, each with a 2mm radius, spaced 2mm apart, resulting in a total band width of 4mm and a thickness of 4mm. On top of the band, cre...
ringsize = 50; pi = 3.14; ringthickness = 4; ringwidth = 4; resolution=100; use <write/Write.scad> assembly(); module assembly() { rotate([ 0, 0, 90 ]) top(); difference(){ ring(); childrenscut(); } } module top(){ translate([0,0,(ringsize/pi+ringthickness)/2+3]) write("2O14",t=2,h=7,center=true,font="o...
glb/cad_2688f4af50c2.glb
Create a ring with a decorative top post. Start by constructing the main band as a torus-like ring with an inside circumference of 48mm. The band should have a width of 5mm and a thickness of 2mm, formed by rotating a profile that blends a circle of 1mm radius with a slightly offset circle to create a smooth, rounded c...
ringsize = 48; pi = 3.14; ringthickness = 2; ringwidth = 5; resolution=100; height=(ringsize/pi+ringthickness)/2; assembly(); module assembly() { top(); difference(){ ring(); childrenscut(); } } module top(){ translate([0,0,height+4]) cylinder(r=4.5/2,h=8,center = true,$fn=resolution); } module ring(){ ...
glb/cad_8f9ea4fe2cc2.glb
Create a 10mL Volume Test consisting of a thin square base with nine small cubes arranged on top. Start by creating a square plate measuring 50mm by 50mm with a height of 0.4mm. On top of this plate, place nine cubes, each measuring 10mm on all sides. Arrange these cubes in a 3x3 grid pattern. The first cube should be ...
union() { cube([50,50,0.4]); for(i= [0:2], j = [0:2]) { translate([2.5+i*17.5,2.5+j*17.5,0.4]) cube(10); }; };
glb/cad_2c8f071ab27b.glb
Create a game die by starting with a cube that is 100mm on all sides. Modify this cube so that its corners are rounded with a radius of 73mm. From this rounded cube, remove several spherical dimples, each with a diameter of 9mm, to create the pips for each face. On the first face, place one dimple at the center (50, 50...
dimple_diameter = 9; corner_radius = 73; values = [ [[50,50,100]], [[0,30,30], [0,70,70]], [[70,0,70], [30,0,30], [50,0,50]], [[30,100,30], [70,100,70], [30,100,70], [70,100,30]], [[100,50,50], [100,30,30], [100,70,70], [100,30,70], [100,70,30]], [[70,70,0], [30,30,0], [70,30,0], [30,70,0], [7...
glb/cad_06b5360e81d1.glb
Create a text box consisting of a container and a lid based on the characters "XD" using the Arial Black font at a size of 30mm. All edges of the text should be rounded with a radius of 7mm. For the container, create a solid base and walls by extruding the rounded text shape to a height of 30mm. Hollow out the center ...
model_type = "Both"; t = "XD"; font_size = 30; font_name = "Arial Black"; r_round_edge = 7; container_height = 30; lid_height = 10; thickness = 1; spacing = 0.6; module minkowski_text(t, size, font, r_round_edge) { $fn = 24; minkowski() { text(t, font = font, size = size); circle(r_round_edge);...
glb/cad_35474a5e4bd1.glb
Create a filament spool for short sections of filament. Start with a central hub consisting of a base cylinder 50mm in diameter and 10mm high, topped with a threaded cylinder 47mm in diameter, 20mm in length, featuring a 4mm pitch and two starts. Surround this hub with a wide, flat circular rim 190mm in diameter and 2m...
include <threads.scad> difference() { union() { cylinder (r=25, h=10, $fn=100); translate([0,0,10]) metric_thread (diameter=47, pitch=4, length=20, n_starts=2); difference() { cylinder(r=95, h=2, $fn=100); translate([0, 0, -1]) cylinder (r=90, h=4, $fn...
glb/cad_25a522e7efe8.glb
Create a filament spool for short sections of filament. Start with a central hub that is a cylinder 50mm in diameter and 30mm high. Inside the top of this hub, create an internal metric thread with a diameter of 48mm, a pitch of 4mm, and a length of 21mm, using two starts. Surround the hub with a wide, flat circular ...
include <threads.scad> difference() { union() { difference() { cylinder (r=25, h=30, $fn=100); translate([0,0,30]) rotate([180, 0, 0]) metric_thread (diameter=48, pitch=4, length=21, n_starts=2, internal=true); } difference() { ...
glb/cad_35fefd6e8034.glb
Create a monitor mount clip consisting of two joined parts: a rectangular base and a circular rail clamp. First, create a rectangular sleeve with an outer dimension of 40mm by 40mm and a height of 7mm. This sleeve should have a wall thickness of 3mm and rounded corners with a radius of 3mm. Cut a rectangular slot thr...
$fn=32; include <nutsnbolts/materials.scad>; include <nutsnbolts/cyl_head_bolt.scad>; BarDiameter = 25; WallThickness = 3; Width = 7; SlotAngle = 100; Tad = 0.1; Tad2 = Tad*2; module PieSlice(r, start_angle, end_angle) { R = r * sqrt(2) + 1; a0 = (4 * start_angle + 0 * end_angle) / 4; a1 = (3 * start_an...
glb/cad_c7da6564ce84.glb
Create a monitor mount base with a rectangular footprint of 150mm in length, 40mm in width, and 20mm in thickness. Round all four vertical corners with a radius of 4mm. On the top surface, center two vertical holes along the length. Each hole is designed to hold a tube with an outer diameter of 25mm and a wall thickn...
$fn=64; include <nutsnbolts/materials.scad>; include <nutsnbolts/cyl_head_bolt.scad>; base_height = 150; base_width = 40; base_thickness = 20; hole_spacing = 96.5; od = 25; wt = 2.1; corner_radius = 4; base_fixing = "M6"; base_fixing_depth = 5; module tube (height) { difference () { cylinder (r=od/2, h=height); ...
glb/cad_495eefa7afee.glb
Create an eye wash bottle nozzle. Start with a base cylinder 35mm high and 4mm in diameter. At the bottom of this cylinder, create a centered vertical hole 2mm in diameter and 50mm deep to accommodate a tube. On the top of the base, construct a conical cap. The cap begins with a metric thread 27.7mm in diameter with a...
include <threads.scad>; cone(); module threat_test() { difference() { translate([0,0,.05])cylinder(8,17,17); metric_thread (diameter=29.65, pitch=3.0, length=8.1); translate([0,0,-15])cylinder(30,30,0); } } module cone() { difference() { union() { translate([0,0,.05])cylinder(55,17,13,$fn=32)...
glb/cad_98b5a9f83385.glb
Create a desk lamp stand with a thickness of 15mm. The overall footprint is defined by the intersection of a 185mm by 130mm rectangle and a cone with a base radius of 175mm and a height of 400mm, centered at [0, -87, 0] and rotated -68 degrees on the X-axis. From this shape, remove a second cone of the same dimensions ...
use <roundbox_flex.scad> $fn = 120; Tad=0.1; StandThickness = 15; Radius = 1; Size = 20.5; module Stand () { difference () { linear_extrude (height=StandThickness) { difference () { intersection () { translate ([-93, -102]) square ([185, 130]); projection( cut=true ) translate ([0, -87, 0...
glb/cad_34af5f06c786.glb
Create a solid Polygon spiral by extruding a regular hexagon with a diameter of 60mm to a total height of 90mm. As the hexagon is extruded vertically, rotate it continuously around its center axis so that it completes one full 360-degree turn by the time it reaches the top. Ensure the resulting geometry is a single, co...
$fn=300; heightt=90; rotation=360; diameter=60; base=2; poly =6; linear_extrude(height = heightt, center = false, convexity = 10, twist = rotation) circle(d=diameter,center=true,$fn=poly);
glb/cad_c9b2a7565d6a.glb
Create a personalized iPhone 5 case with a thickness of 1.8mm. The main body is a rounded rectangular shell with a width of 69.1mm, a length of 134.8mm, and a height of 9.1mm. The corners should have a radius of 13mm. The case features a hollow interior to fit the phone, with the internal cavity dimensions being 60mm ...
primary_color="red"; iphone_version = 2; case_thickness = 1.8; include_hooks="no"; image_file = "image-surface.dat"; scale([1,1,height]) surface(file=image_file, center=true, convexity=5); image_scale=100; offX =0; offY =0; image_rotation =30; case_taper=3; 4_perimeter_tolerance=.5; 4_height_tolerance=.2; 4width...
glb/cad_008f76a67567.glb
Create a tool holding bracket for a mini drill press. The main body is a cylinder with a height of 10mm, an outer diameter of 33mm (27mm inner diameter plus 3mm walls), and a central hole with a diameter of 27mm. On the exterior of the cylinder, add a rectangular block that is 27.5mm wide and 10mm high, positioned so...
top_diameter = 27; bottom_diameter = 27; thickness = 3; height = 10; axis_offset = 33; slider_screw_distance = 20; slider_screw=3; slider_nut_size=5.5; slider_nut_height=2.4; clamp_screw=3; clamp_nut_size=5.5; clamp_nut_height=2.4; clamp_slot=5; tolerance = .2; nut_wall = 1.5; diameter = max(top_diameter...
glb/cad_a21bb954aca4.glb
Create a rectangular base platform for a mini drill press with overall dimensions of 90mm width, 110mm depth, and 14mm height. At the rear of the platform, position two vertical holes for support rods. These holes are spaced 30mm apart and are offset 18.5mm from the back edge. Each rod hole has a diameter of 8mm and ...
size = [90,110,14]; rods_distance = 30; rods_offset = 18.5; rod_diameter = 8; nut_size = 13; nut_height = 6.5; screw_diameter = 4.5; screw_offset=6; slot_width = 6; tolerance = .2; microslot_width = .5; microslot_length = 4; nut_diameter = nut_size*2/sqrt(3); $fn = 32; module screw() { translate([0,0,-...
glb/cad_5e63ec5d06e0.glb
Create a cable guide part with a height of 10mm and a wall thickness of 1.5mm. The part consists of two connected semi-circular rings of different diameters. The first ring has an inner diameter of 5.5mm, and the second ring has an inner diameter of 7.5mm. Position these rings so that they are aligned on a center axis ...
cable1_diameter = 5.5; cable2_diameter = 7.5; thickness = 1.5; height = 10; opening_angle = 110; chamfer = 0.25; $fn=32; module ring(dia,thickness) { difference() { circle(d=dia+2*thickness); circle(d=dia); l=dia/2+thickness+1; polygon([[0,0],[0,l],[-l,l],[-l,0],[-l,-l*tan(opening...
glb/cad_bf0b3f9dac97.glb
Create two identical rubber band hooks for a mini drill press. Each hook consists of a rectangular base plate 15mm wide, 15mm deep, and 3mm thick. Centered on the base, create a vertical semi-circular support with a radius of 6mm and a thickness of 3mm. This support should feature a central cylindrical hole with a diam...
screw_diameter=3.5; screw_cap_diameter=8; wall=3; screw_distance=4.2; hook_depth=2*wall; hook_width=5*wall; hook_distance=wall; $fn=32; module hook_shape() { translate([-2.5*wall,0,0]) { difference() { square([5*wall,5*wall]); translate([wall,wall]) square([3*wall,...
glb/cad_4fa02f47fbb4.glb
Create a single piece of a six-piece soccer ball puzzle. Start by creating a sphere with a radius of 30mm. To define the piece's volume, find the intersection of this sphere with a specific geometric region. This region is defined by a cube with a side length of 19.95mm, positioned with its front-bottom-left corner at ...
$fn = 100; r1 = 30; s1 = r1 * 13.3 / 20; module piece1(){ intersection(){ translate([r1 * cos(45),0, r1 * cos(45)]) sphere(r = r1); piece2(); } } module piece2(){ difference(){ translate([0,-100, 0]) cube([s1,200, s1], center=false); translate([s1, s1 * cos(45) + 0.5, s1]) rotate([45,45,0]) ...
glb/cad_facbc72e5386.glb
Create a Wave Plate Paddle for an in-fiber polarization adjuster. Start with a central rectangular block that is 8mm thick. The overall footprint is approximately 72mm wide by 68mm deep. In the center of the block, carve a circular groove for the fiber with an outer radius of 32.016mm and an inner radius of 30.94mm, ...
wrap_radius = 2.44*25.4/2; channel_width = 2; channel_depth = 5; min_border = 3; paddle_thickness = 8; mount_diameter = 9; mount_length = 7; center_hole_radius = 5; module paddle() { intersection() { difference() { union() { cube([(wrap_radius + channel_width + min_border)*2, (wrap_radius + channel_width)*2 + m...
glb/cad_63c28fe4a5ed.glb
Create a fidget spinner consisting of a central body and two matching caps. For the body, create a shape with a thickness of 5mm. The profile should feature two arms extending from a center point. Each arm is defined by a rounded, bone-like geometry with a width of 7mm at the narrowest point. The overall diameter of ...
num_arms = 2; thickness = 5; rounding = 0.5; spinner_mid_width = 7; arm_spacing = 2; spinner_hole_diameter = 12; cap_height = 2; clearance = 0.75; PART = 1; bulge = thickness/2 * rounding; spinner_solid_diameter = spinner_hole_diameter + cap_height*2.5; spinner_top_diameter = spinner_solid_diameter - cap_heigh...
glb/cad_d2a616bc7bd0.glb
Create a Fidget Spinner with a Twist. The model consists of a central body, removable caps, and connecting pins. First, create the main body. Start with a central circular hub with a diameter of 17mm and a thickness of 10mm. The body features a central hole with a diameter of 12mm. Extend one arm from the hub; the arm...
num_arms = 1; thickness = 10; rounding = 0.5; arm_spacing = 4; spinner_hole_diameter = 12; cap_height = 2.5; clearance = 0.75; arm_angle = 0; PART = 4; $fs = 1; $fa = 5; bevel = 0.6; bulge = thickness/2 * rounding; spinner_solid_diameter = spinner_hole_diameter + cap_height*2.5; spinner_top_diameter = spinner_...
glb/cad_c893bbd3b4c2.glb
Create a traffic cone model starting with a square base. Construct this base by forming a hull around four cylinders of 2mm diameter and 2mm height, positioned at the corners of a 12mm by 12mm square centered at the origin. On top of this base, place a cylinder with a diameter of 30mm and a height of 7mm. From the ce...
$fn=30; module base(){ hull() { translate([6,6,0]) cylinder(1,2,2); translate([6,-6,0]) cylinder(1,2,2); translate([-6,6,0]) cylinder(1,2,2); translate([-6,-6,0]) cylinder(1,2,2); } cylinder(30,7,.8); } difference(){ base(); cylinder(31,6,0.3); }
glb/cad_06ed1f819689.glb
Create a spinning top by revolving a specific 2D profile around a central vertical axis. The profile begins with a base section 110mm long and 50mm wide. At the 80mm mark along the length, add a square extension that is 50mm wide. Incorporate two circular cutouts with radii of 45mm into this profile: one centered at a ...
stemHeight=110; rimThickness=80; rotate_extrude(convexity=10, $fn=100) mirror([1,0,0]) rotate([0,0,90]) translate([2.5,0,0]) union() { rotate(90,[0,0,0]) difference() { square([stemHeight,50]); translate([80,5,0]) square(50); translate([rimThickness,50,0]) circle(45, $fn=100); translate([-15,47,0]) circ...
glb/cad_36e02048a576.glb
Create a stone wall consisting of a rectangular base and a stacked arrangement of irregular stone blocks. Start by creating a base plate that is 12.6 units long, 2.4 units wide, and 0.5 units high. Build the wall using a running bond pattern with stones that have a nominal size of 3mm in length, 2mm in thickness, and ...
U=3; V=2; W=1; num_x=4; num_z=6; master_seed=14; maximum_rotation_angle=12; z_compression=0.9; n=8; power=0; mortar=1; u_adjust=-0.15; v_ratio=0.5; base=1; bx_adjust=0.1; by_adjust=0.1; bz=.5; dimensions=[U,V,W]; half_dimensions=[U/2,V,W]; wall(); module rock(unit_dimension, max_rotation, seed){ rand...
glb/cad_37d82873a716.glb
Create a Fantec DB-229U3-6G HDD case mount consisting of two mirrored shells (top and bottom) that form a hollow rectangular enclosure. The overall outer dimensions for each shell are 78mm wide, 121mm long, and 6mm high for the bottom section, with the top section being 6mm high. The interior cavity is 74mm wide and 12...
wall_width = 2; case_height = 12.6; case_width = 74; case_length = 120; bottom_case_height = 6.6; bottom_wall_width = 3; top_case_height = case_height - bottom_case_height; clearance = 0.4; screw_diameter = 2.5; screw_head_diameter = 6; screw_head_height = 2.2; usb2_hole_offset = 7; usb3_hole_offset = 5; usb2_hol...
glb/cad_cdac9ec2204b.glb
Create an N Scale 1:160 ICE double-track tunnel portal. The main structure is a hollowed-out shell designed to accommodate two tracks. Start by creating a primary volume based on a tunnel clearance profile. The outer shell is formed by the intersection of a large rectangular block and a scaled tunnel clearance shape,...
module schiene( laenge ) { translate( [0,0,-2] ) union() { translate([0,0,0.25]) cube([1.5,laenge,0.5], center = true); translate([0,0,1]) cube([0.5,laenge,1], center = true); translate([0,0,1.75]) cube([0.7,laenge,0.5], center = true); } } module gleis( h1=0, h2=0, h3=0, h4=0, b1=0, b2=0) { laenge=20; tran...
glb/cad_5ccd3251f49a.glb
Create a window frame spacer by starting with a rectangular block measuring 50mm in length, 19.8mm in width, and 9mm in height. Round all four vertical corners of this block with a radius of 5mm. Carve a central rectangular channel through the length of the block, starting from a height of 5mm; this channel should be 4...
module rounded_block (x,y,h,r) { if (2*r>x) echo ("********** rounded_block: too large rounding, 2*r>x"); if (2*r>y) echo ("********** rounded_block: too large rounding, 2*r>y"); hull(){ translate ([r,r,0]) cylinder(r=r, h=h); translate ([r,y-r,0]) cylinder(r=r, h=h); translate ([x-r,r,0]) cylinder(r=r, h=h); ...
glb/cad_942d2ce34751.glb
Create a Recup box for solidoodle. Start by constructing a hollow rectangular box with outer dimensions of 60mm in length, 60mm in width, and 50mm in height. The walls of the box should have a uniform thickness of 3mm. On one of the exterior side walls, centered horizontally and positioned near the bottom, emboss the ...
include <Write.scad> include <boxes.scad> X=[1,0,0]; Y=[0,1,0]; Z=[0,0,1]; $fn=50; Box_h=50; Box_l=60; Box_L=60; Epaisseur=3; texte="PLA"; Diam_troue=4; Epaisseur_support=5; Largeur_languette=15; Longueur_languette=20; color("white") Boite_final(); translate([0,0,18]) Plaque_support(); module Plaque_support() { ...
glb/cad_3871a81c03e9.glb
Create a roulement holder for a Z-axis assembly. Start with a central rectangular block measuring 81.3mm in length, 15mm in width, and 8mm in height, centered on the origin. Remove a central vertical cylindrical hole with a diameter of 19.3mm and a height of 20mm to accommodate a bearing. From the ends of the block, ...
X=[1,0,0]; Y=[0,1,0]; Z=[0,0,1]; Diam_Axe_Z=9.3; Diam_Vis_Z=7.5; Entre_axe=72; Delta=0; Delta_roul=0.3; Decallage_axe=1; Roulement_diam_ext=19; Roulement_diam_int=8; Roulement_Hauteur=6; $fn=100; %cylinder(r=Diam_Vis_Z/2,h=50,center=true); %translate([Entre_axe/2+Diam_Axe_Z/2,0,0])cylinder(r=Diam_Axe_Z/2,h=50,cente...
glb/cad_555f6d47d1a2.glb
Create a Brachistochrone Curve Demonstration tool consisting of three parallel tracks carved into a solid base. The tool is designed for 10mm diameter balls, so each track channel must have a radius of 5.5mm. The base is a solid block with a total vertical displacement of 155mm. Carve three distinct paths from a start...
r = 5; rChannel = r + .5; endHeight = 5.8; dropHeight = 155; pathIncrement = 5; cycloidRadius = dropHeight/2; wallThickness = 1.5; trackWidth = rChannel*2 + wallThickness*2; trackOffset = trackWidth/2; finalAngle = 180; finalX = cycloidRadius*((finalAngle/180*3.14159)-sin(finalAngle)); finalZ = -cycloidRadius*(1-cos(fi...
glb/cad_90d609419adc.glb
Create a Brachistochrone Curve Demonstration tool designed for 10mm diameter balls. The model consists of three parallel tracks carved into a solid base. Each track is a semi-cylindrical channel with a radius of 5.2mm. The path of each channel follows a cycloid curve. The curve is defined by a drop height of 80mm and ...
r = 5; rChannel = r + .2; endHeight = 6; dropHeight = 80; pathIncrement = 5; cycloidRadius = dropHeight/2; wallThickness = 1.5; trackWidth = rChannel*2 + wallThickness*2; trackOffset = trackWidth/2; finalAngle = 180; finalX = cycloidRadius*((finalAngle/180*3.14159)-sin(finalAngle)); finalZ = -cycloidRadius*(1-cos(final...
glb/cad_9c68a1b545e8.glb
Create a Brachistochrone Curve Demonstration tool designed for 10mm diameter balls. The model consists of a base plate containing three parallel tracks that guide balls from a starting height down to a common end point. For the first track, create a cycloid path. The path is defined by a radius of 77.5mm and a total v...
r = 5; rChannel = r + .5; endHeight = 5.8; dropHeight = 155; pathIncrement = 5; cycloidRadius = dropHeight/2; wallThickness = 1.5; trackWidth = rChannel*2 + wallThickness*2; trackOffset = trackWidth/2; finalAngle = 180; finalX = cycloidRadius*((finalAngle/180*3.14159)-sin(finalAngle)); finalZ = -cycloidRadius*(1-cos(fi...
glb/cad_e89fb56506ac.glb
Create a front bike light support consisting of a cylindrical mount attached to a rectangular arm. Start by creating a cylinder with a diameter of 25.3mm and a height of 25mm, using 45 facets for the resolution. Attach this cylinder to a main body that is 45mm long, 12mm wide, and 22mm high. This body should be formed ...
union() { translate([0,0,-25.3/2]) cylinder(d=25.3, h=25, $fn=45); translate([0,0,25.3/2]) resize([0,0,7]) sphere(d=25.3, $fn=45); translate([0,0,-25.3/2]) resize([0,0,7]) sphere(d=25.3, $fn=45); } translate ([25,40,-11]) difference() { hull() { cube([45,12,22]); tr...
glb/cad_b99b2dd6ebf7.glb
Create a paper lock box by starting with a rectangular outer shell measuring 30mm wide, 60mm long, and 15mm high. Hollow out the center by removing a block 26mm wide, 56mm long, and 15mm high, positioned 2mm from the front, side, and bottom edges. On the right interior wall, create a vertical slot 10mm wide, 3mm thick,...
CxLargura=30; CxComprimento=60; CxAltura=15; caixa(); translate([-15,0,0]){ trava(); } module caixa(){ difference(){ cube([CxLargura,CxComprimento,CxAltura]); translate([2, 2, 2]) { cube([CxLargura-4,CxComprimento-4,CxAltura]); } } translate([CxLargura-2,CxCom...
glb/cad_193a69d991f0.glb
Create a Puzzle Pyramid consisting of two identical halves. For each half, start by creating a right triangular pyramid with a height of approximately 24.49mm and an equilateral triangular base with a side length of 30mm. To divide the pyramid into two interlocking pieces, remove a section from each half using a rectan...
l=30; rb=l/sqrt(3); ht=l*sqrt(2/3); a=35.25; htr=sqrt((l*l)*3/4); translate([-l/2,0,0]) difference() { cylinder(h=ht, r1=rb, r2=0, $fn=3); rotate(-a, [0, 1, 0]) translate([rb-(htr/2),-l/2,-ht/2]) cube([l/2,l,l*1.3]); } translate([l/2,0,0]) difference() { cylinder(h=ht, r1=rb, r2=0, $fn=3); rotate(-a, [0, 1, 0]) tra...
glb/cad_077b0ec1c9d8.glb
Create a Lithium Maintenance Charger base. Start by constructing a stack of seven identical Euro-style socket holders. Each holder is based on a cylinder with a diameter of 18mm (14mm plug width plus 2mm walls) and a height of 20mm. Hollow out the center of each cylinder with a 14mm diameter hole and add two vertical p...
$rows = 7; $cols = 1; $euro_width = 14; $euro_height = 20; $euro_length = 36; $euro_base_width = 26; $euro_base_length = 60; $euro_pin_length = 18.6; $euro_pin_width = 4.5; $wall_width = 2; $base_width = ($cols * $euro_base_length) + (2* $wall_width); $base_length = ($rows * $euro_base_width) + (2* $wall_width); $base...
glb/cad_206b920e57b1.glb
Create a Mokka Pot Funnel and Tamper set. For the funnel, create a hollow conical shape with a total height of 60mm. The bottom opening should have an inner diameter of 60.5mm and an outer diameter of 71.5mm, while the top opening expands to a diameter of 100mm. The walls of the funnel should maintain a consistent thic...
use <text_on.scad> da=71.5; di=60.5; height = 60; w=0.8; bd=100; dd=bd/2; d1=di; d2=da+1; $fn=80/1; rotate(a=180,v=[0,1,0]) translate([0,0,-40]) difference() { union() { cylinder(height,d1/2,dd+2*w); translate([0,0,-5]) difference() { cylinder (height,(d2+2*w)/2,(d2+2*w)...
glb/cad_39a25396a05e.glb
Create a Metal Storage Shelving Unit Foot designed to fit an L-shaped rail. Start by creating a solid base with a depth of 4mm. On top of this base, build two perpendicular walls that are 20mm high and 3mm thick, forming an L-shaped enclosure. The interior of this enclosure should be a hollow slot with a length of 32mm...
slot_length = 32; slot_thickness = 1.8; wall_thickness = 3; base_depth = 4; slot_depth = 20; slot_offset = -1; $fs = 0.1; foot (); module base () { side = slot_length + slot_thickness/2; offset (r = wall_thickness) polygon ([ [0, 0], [ side , 0], [0, side] ]); } module walls () { intersection () {...
glb/cad_4afa0344f0bb.glb
Create a Lego Tile Tape model with a width of 2 studs and a length of 4 studs. The base is a rectangular slab with a total height of 3.264mm (calculated as 0.34 times the standard brick height of 9.6mm). On the bottom surface, create a grid of 8 circular holes (2 wide by 4 long) to act as the tile underside. Each hol...
block_width = 2; block_length = 4; Grooves =false; block_type = 0; block_height_ratio = .34; knob_diameter=4.896*1.0; knob_height=1.8; knob_spacing=8.0; wall_thickness=1.45; roof_thickness=.800; block_height=9.6*block_height_ratio; pin_diameter=3.2*1.00; post_diameter=6.5137; reinforcing_width=.6; axle_spline...
glb/cad_2a297df44a61.glb
Create a flexible Lego-compatible tape model with a width of 2 studs and a length of 4 studs. The base is a rectangular slab with a height of 9.6mm. On the top surface, place a grid of 8 cylindrical studs (2 wide by 4 long). Each stud must have a diameter of 4.896mm and a height of 1.8mm, spaced 8mm apart from center...
block_width = 2; block_length = 4; Grooves =false; block_height_ratio = 1; knobScale=1.0; postScale=1.0; knob_diameter=4.896*knobScale; knob_height=1.8; knob_spacing=8.0; wall_thickness=1.45; roof_thickness=.800; block_height=9.6*block_height_ratio; pin_diameter=3.2*postScale; post_diameter=6.5137*postScale; r...
glb/cad_4f38b9d2303a.glb
Create a set of components for a micro quadcopter air gate system based on a 16.2mm diameter base dowel. First, create a Connector. This is a cylindrical sleeve with an outer diameter of 20.2mm (16.2mm hole plus 2mm walls) and a height of 17.4mm. The center is hollowed out by a 16.2mm diameter hole that starts 1.4mm f...
part = "Connector"; holeCenter = 16.2; wallThickness = 2; bottom = 1.4; height = 16; holeZip = 6; batteryLength = 15; batteryWidth = 35; widthZip = 4; roundness = 2; flapWidth = 15; mountHeight = 10; connectorHeight = mountHeight; tapeWidth = flapWidth; hole = holeCenter; zip = holeZip; walls = wallThicknes...
glb/cad_06dcece4ca9c.glb
Create a corner joiner for square tubing. Start with a central cubic block with a side length of 25.54mm and rounded corners with a radius of 2.07mm. Hollow out the center of this block by 100%, creating a through-hole that aligns with the openings of the connector arms. The joiner is a corner type, meaning it has two...
$fn=32+0; input_units = 1+0; which = 4; tube_size = 25.54; tube_wall = 1.67; corner_rounding = 50; groove_tabs = 1; ribs = 0; tab_relief = 0; recess_pct = 100; display_build_plate = 0; use <utils/build_plate.scad> build_plate_selector = 3; build_plate_manual_x = 100; build_plate_manual_y = 100; form = [ ...
glb/cad_cbe89329269f.glb
Create a Toy Tea Set consisting of a teapot and four matching tea cups with saucers. For the teapot lid, create a circular, dome-like shape by rotating a complex profile around a central axis. The profile should start from a flat base and curve upward to form a rounded knob on top, with the maximum radius reaching ap...
rotate_extrude($fn=96) poly_lid(0.44); module poly_lid(sc) { scale(sc) polygon (points = [ [ 1.84683,21.86040],[ 3.46928,21.79700],[ 4.87602,21.69600],[ 6.08167,21.56110],[ 6.61365,21.48220], [ 7.10085,21.39620],[ 7.54507,21.30360],[ 7.94818,21.20500],[ 8.31200,21.10070],[ 8.63832,20.99130], [ 8.78801,20.93...
glb/cad_671b548d2a40.glb
Create a smiley face stencil with a total thickness of 0.7mm. Start by creating a flat, circular disk with a diameter of approximately 80mm. From this disk, remove three shapes to create the face: two small, identical circular holes for the eyes and one wide, crescent-shaped cutout for the smile. Position the two eye...
stencilHeight = 0.7; faceSize = 79.65; module dummy() {} center_svg_1 = [40.024005174,20.074725186]; center_svg_2 = [40.024005174,20.074725186]; center_svg_3 = [16.089666030,22.067256511]; center_svg_4 = [10.909088961,28.642594902]; center_svg_5 = [65.105854732,28.642594902]; center_svg_6 = [28.044831080,49.962646142...
glb/cad_9f485ff81e34.glb
Create a rounded filament guide consisting of a circular base and a curved upright support. Start with a flat circular base 25mm in diameter and 2mm thick. Centered on this base, construct a semi-circular tube section that rises vertically. This tube should have an outer radius of 4mm and an inner hole radius of 3mm, c...
$fn=50; difference() { union() { cylinder(r=12.5, h=2); intersection() { translate([-10, -10, 0]) cube([20, 20, 20]); translate([-10, 0, 0]) rotate([90, 0, 0]) rotate_extrude() union() { translate([0, -4, 0])...
glb/cad_36768cfcc209.glb
Create a stone wall consisting of a rectangular base and a stacked arrangement of irregular stone blocks. Start by creating a base plate that is 11.25mm long, 2.4mm wide, and 0.5mm thick, centered under the wall. Build the wall using stones with nominal dimensions of 3mm length, 2mm thickness, and 1mm height. Arrange ...
U=3; V=2; W=1; num_x=4; num_z=6; master_seed=15; maximum_rotation_angle=12; z_compression=1.0; mortar=1; u_adjust=-0.15; v_ratio=.5; base=1; bx_adjust=0.1; by_adjust=0.2; bz=0.5; dimensions=[U,V,W]; half_dimensions=[U/2,V,W]; union(){ difference(){ for(z=[0:num_z-1]){ for(x=[0:num_x-1]){ if(ha...
glb/cad_c5db133e067e.glb
Create a MacBook Dock by starting with a main outer block measuring 14mm deep, 53mm wide, and 33mm high, with all outer corners rounded to a 2mm radius. From this block, remove several internal slots to create ports for cables and adapters. First, create a power adapter slot 15.15mm wide, 7.5mm deep, and 10mm high, po...
outer_width = 53; outer_depth = 14; outer_height = 33; outer_radius = 2; power_width = 15.15; power_depth = 7.5; power_height = 10.0; power_radius = 1; power_cablewidth = 2.42; power_xoffset = 17; videoA_width = 15.5; videoA_depth = 11.25; videoA_height = 30.95; videoA_radius = 1; videoA_cablewidth = 4; ...
glb/cad_cf7f4f0ebb3a.glb
Create a Spring Loaded Bog Roll Holder consisting of two similar cylindrical components. For the first component, create a main body by combining a sphere with a radius of 11.5mm and a cylinder with a radius of 11.5mm and a height of 76.5mm. Hollow this out by removing a central sphere of radius 9.75mm and a cylinder o...
dtp=42; tol=0.2; dspring=19.5; deep = 19.5; wall=2; dtip=9.5-4*tol; ltip=5; ttip=8.5; $fn=100; length=76.5; rotate([180,0,0]) { inside(); translate([30,0,0]) outside(); } module inside() { difference(){ union() { sphere(r=dspring/2+wall-3*tol); cylinder(r=dspring/2+wall-3*tol, h=length); translat...
glb/cad_a3b72ab6baa4.glb
Create a customizable bag clip consisting of two mirrored arms joined by a hinge. Each arm has a height of 12mm, a width of 20mm, and a length of 150mm. For each arm, create a main rectangular body 150mm long and 10mm wide. At the outer end of the arm, add a rounded cap with a radius of 10mm. Along the inner length o...
$fn = 16; h = 12; w = 20; l = 150; module pie(rotate_angle, radius, height) { linear_extrude(height) { rotate([0,0,rotate_angle]) { difference() { circle(r=radius,center=true); square([radius,radius]); translate([-radius,-radius,0]) square([radius*2,radius]); } ...
glb/cad_46c601f28617.glb
Create a gimbal consisting of three concentric spherical hoops. Each hoop is formed by taking a sphere and removing a smaller concentric sphere to create a shell with a wall thickness of 3mm. To open the hoops, remove two opposite rectangular blocks from each sphere, each measuring 60mm by 60mm with a height of 8mm, ce...
$fn = 100 + 0; hoop_height = 8; hoop_thinkness = 3; hoop_gap = 1; num_hoops = 3; outer_r = 30; module hoop(ro, wh, inner, outer){ if (wh % 2){ rotate([0,0,90]) hoop2(ro, inner, outer); } else { hoop2(ro, inner, outer); } } module hoop2(ro, inner, outer){ ri = ro - hoop_thinkness; difference(){ sp...
glb/cad_9f6ad90e41ec.glb
Create a trim ring and cap for a pinhole camera. Start by creating a solid cylinder with a diameter of 53.4mm and a height of 8mm. To create the decorative outer edge, remove 45 identical rectangular notches from the perimeter of the cylinder. Each notch must be 2.4mm wide, 8mm tall, and 1.2mm deep. These notches sho...
$fn=120; id=51; inset=1.2; height=8; width=1.50; count=45; span=id/2; block_x=2*inset; henge(); module henge(x=block_x, y=width, z=height, offset=span) { echo (offset); for ( i = [0 : count-1] ) { rotate([0,0,(360/count)*i]) translate([offset,0,z/2]) cube(size = [x,y,z], center = true); } }
glb/cad_97f2c80cf8c8.glb
Create a spinning top consisting of a central stem and a wide, circular base. The main body is formed by rotating a specific profile around a central vertical axis. This profile starts with a rectangular base 110mm high and 50mm wide, with an additional 50mm wide square extension protruding from the side between 80mm a...
stemHeight=110; rimThickness=80; rimDesign=0; shapeSymmetry=3; module Spinner (size) { scale(size) { rotate_extrude(convexity=10, $fn=100) { mirror([1,0,0]) rotate([0,0,90]) translate([2.5,0,0]) union() ...
glb/cad_e1f7d5b737d3.glb
Create a Kururin Sanding Jig by starting with a solid rectangular block that is 81mm long, 54mm wide, and 8.1mm high. Center this block on the origin. From the center of this block, remove a volume shaped like a Kururin toy. To do this, create a 3D model of a Kururin by taking a specific curved profile and rotating it ...
kururinLength = 90; kerfSize = 0; padFraction = 0.85; extrudeQuality = 200; textThickness = 1; textSize = 3; lengthOfImportedCurve = 90; bendRadius = 3.5; kururinMiddleDiameter = 0.3*kururinLength; kururinEndDiameter = (20/90)*kururinLength; kururinCurveDXFFile = "kururinStandardProfile.dxf"; kururinHalfLength = kur...
glb/cad_98763fc4d592.glb
Create a plain business card by starting with a rectangular base measuring 89.9mm in width, 50.8mm in height, and 1mm in thickness. From the top face of this base, carve out the following text as through-holes: the name "Wakka Wakka" with a character height of 6.5mm; the address "123 Lost Ave.", the province "Nowhere, ...
use <Write/Write.scad>; use <boxes.scad>; $Name="Wakka Wakka"; $Phone="800.555.1212"; $Email="who@are.you"; $Address="123 Lost Ave."; $Provincia="Nowhere, ZZ"; $ZIP=" 00000"; $NameSize=6.5; $AddressSize=3.2; $PhoneSize=$AddressSize; $EmailSize=$AddressSize; $CardWidth=89.9; $CardHeight=50.8; $CardThickness=1; name_...
glb/cad_01ef40aeebf3.glb
Create four corner support blocks for a radio. Each block is based on a cube with a side length of 30mm. For the two rear corners, start with a cube 30mm wide, 30mm deep, and 8.5mm high. Remove a section from the top inner edge by centering a 30mm cube, rotating it 12 degrees around the X-axis, and shifting it to cre...
depth=210; width=200; angle=12; min_height=4; thickness=2; block_width=30; fblock_width=block_width*1.2; support_width=3; rear_overlap=5; front_overlap=5; triangle_height=depth*sin(angle); rear_height=min_height+rear_overlap*sin(90-angle); front_height=min_height+triangle_height+cos(angle)*front_overlap; h=block_width...
glb/cad_2487074571d5.glb
Create a hollow torus with a major radius of 10mm and a circular cross-section with an outer radius of 5mm and an inner radius of 3mm. From this torus, remove several sections to create a specific opening pattern. First, remove a volume defined by the area between a circle of radius 10mm and a circle of radius 17mm, ex...
module openarc(r,start,end){ open = (end-start == 360)? end-1 : (start > end)? start-360 : start; close = (end < open)? -(abs(end) - 360) : end; step = ((close-open)%45 > 0)? floor((close-open)/45)+1 : (close-open)/45; angle = (close-open)/step; rotate([0,0,open]) polygon(points=concat([[0,0]],([for (i= [0:step]...
glb/cad_fbb8d4e2415e.glb
Create a hide pencil box consisting of a honeycomb-like grid of hexagonal tubes. Construct the structure by arranging six hexagonal columns in a row, where each column is a hollow hexagonal prism. Each outer hexagonal wall should have a radius of 16.5mm and a height of 90mm, with a concentric inner hexagonal hole of 14...
$fn=100; for (x=[0,1,2,3,4,5]) { translate ([23*x,12*x,0]) difference () { cylinder (r=16.5, h=90, $fn=6); translate ([0,0,7]) cylinder (r=14, h=90, $fn=6); } } for (x=[0,1,2,3,4]) { translate ([23*x,12*x,0]) translate ([22,-14,0]) difference () { cylinder (r...
glb/cad_700b9c203ec3.glb
Create a luggage tag by starting with a rectangular base measuring 150mm in width, 300mm in length, and 10mm in thickness. On the top surface of the base, add raised 3D text with a height of 10mm and a font size of 15mm. The text should be oriented perpendicularly to the length of the tag. Arrange the characters in s...
echo(version=version(1.4)); font = "courier"; cube_size = 60; letter_size = 15; letter_height = 10; o = cube_size / 2 - letter_height / 2; module letter(l) { linear_extrude(height = letter_height) { text(l, size = letter_size, font = font, halign = "center", valign = "bottom", $fn = 16); } } difference() ...
glb/cad_a3e5d793fa5e.glb
Create a Hall-O endstop mount starting with a rectangular base plate measuring 23.8mm in length, 14mm in width, and 5.25mm in height. On top of this base, add an axis holder block that is 14mm wide, 14mm deep, and 17mm tall, positioned 4.9mm from the front edge. Attach a small rectangular extension to the side of this ...
module hall_endstop_mount() { difference() { union() { translate([0, 0, -1.25]) cube([23.8, 14, 5.25]); translate([4.9, 0, 4]) difference() { union() { cube([14, 14, 17]); translate([-2, 0, 7]) cube([3, 14, 10]); } translate([2.25, -1, 6]) cube([9.5, 1...
glb/cad_947e93b60c9d.glb
Create a vertical stand by starting with a solid rectangular block 80mm wide, 20mm deep, and 50mm high. Carve out a central channel to create a U-shaped cradle. This channel is formed by removing a large central cylinder with a 20mm radius, centered along the width and positioned 10mm from the base. To create the side ...
th_x = 80; th_z = 50; th_y = 20; th_mid = 40; th_thick = 5; th_elev = 10; txt = "thingiverse"; txt_size = 6; thing(); module thing() { r_cyl2 = th_mid/2; r_cyl1 = (th_x-(2*th_thick)-th_mid)/2; difference() { cube(size=[th_x,th_y,th_z]); rotate(a=[90,0,0]) translate([th_x/...
glb/cad_458511819848.glb
Create a Gate Part mount by starting with a central conical base that is 15mm high, tapering from a bottom radius of 22.5mm to a top radius of 6.74mm. Centered within this base, remove a vertical cylindrical hole with a radius of 6.74mm that passes completely through the part. Extend two identical rectangular tabs fro...
$fn = 120; main_bolt_radius = 9.48 / 2; main_hole_radius = main_bolt_radius + 2; secondary_bolt_radius = 4.26 / 2; secondary_hole_radius = secondary_bolt_radius + 1; preferred_height = 15; preferred_base_radius = 45 / 2; preferred_tab_reach = 35; preferred_tab_width = 20; preferred_tab_thickness = 3; preferred_top_ri...
glb/cad_4c9c15dace4e.glb
Create a Solar Garden Light Fixture designed to mount a light to a railing. Start by creating a main rectangular block that serves as a mounting hook. This hook should have an outer width of 114.6mm and a total height of 45.8mm. The interior of the hook must be hollowed out to accommodate a railing with a width of 38.6...
$fn = 180; solar_light_radius = 54.8 / 2 + 0.25; solar_light_height = 30.5; solar_led_width = 8.5; railing_width = 38.62; railing_height = 25.8; wall_thickness = 5; gap = 0.5; hook_width = solar_light_radius * 2 + wall_thickness; solar_light_offset = 15; solar_light_height_offset = -2; top_thickness = wall_thicknes...
glb/cad_6458c79c8148.glb
Create a bearing guard consisting of two concentric cylindrical disks of different heights. First, create a wide base disk with a radius of 12.5mm and a height of 1mm. Centered on top of this base, add a second, narrower cylinder with a radius of 6.6875mm and a height of 1.5mm. Finally, bore a hole through the center o...
ir=4.6875; race=2; rr=ir+race; or=12.5; h=1; raceH = 0.5; h2=h+raceH; difference() { union() { cylinder(r=rr, h=h2); cylinder(r=or, h=h); } cylinder(r=ir+.5, h=h2); }
glb/cad_298289958848.glb
Create a Petit Beurre cookie cutter consisting of a main mold and a matching ejector base. The mold is a hollowed-out rectangular frame with an outer dimension of 72.4mm by 54mm and a total height of 12mm. The walls are 1mm thick. The top edge of the mold follows the specific Petit Beurre geometry: a rectangle with r...
MoldHeight=12; MoldRecess=1; MoldBaseHeight=1; CookieLength=72.4; CookieWidth=54; EarRadius=5; TeethWidth=4.6; TeethLength=7; TeethOffset=4; DotDiameter=1.6; FontSize=5; BladeWidth=1.0; EjectorTolerance=1.4; EjectorHeight=4; PusherRadius=3; res=20; module teeth(Spacing, teethlength) { translate([Spacing/2...
glb/cad_f3044e8b8115.glb
Create a rounded d4 die by combining three intersecting geometric volumes. Start with a central cube measuring 5mm by 10mm by 10mm, centered on the X, Y, and Z axes. Add a cylinder with a radius of 5mm and a height of 10mm, positioned with its base at X=-2.5, Y=0, and Z=-5. Add a second cylinder with a radius of 5mm an...
$fn=50; translate([0, 0, 5]) difference() { union() { cube([5, 10, 10], center=true); translate([-2.5, 0, -5]) cylinder(r=5, h=10); translate([2.5, 5, 0]) rotate([90, 0, 0]) cylinder(r=5, h=10); } translate([-2, 0, 4.4]) linear_extrude(height=0.7) ...
glb/cad_ceb2269d9001.glb
Create a Customizable Storage Box Drawer consisting of a main bin, three removable dividers, and a handle. Construct the main bin as a rounded rectangular shell with exterior dimensions of 54.4mm width, 122.4mm length, and 36.8mm height. The walls should be 1.5mm thick with exterior corner radii of 5mm. Hollow out th...
box_width = 54.4; box_length = 122.4; box_height = 36.8; box_corner_radius = 5; box_wall_width = 1.5; div_wall_width = 1.5; div_height_offset = 0; number_of_divs = 3; div_fudge_factor = 0.2; slot_positions = [41.0, 62.0, 83.0]; slot_fudge_factor = 0.1; handle_width = 28; handle_length = 10; handle_thicknes...
glb/cad_37ddbb54af94.glb
Create a Bike Trainer Front Wheel Stand bracket. Start with a base block 84mm wide, 50mm deep, and 10mm thick. Centered on this base, build a central vertical column 84mm wide, 10mm deep, and 80mm high. Add two flanking vertical supports, each 10mm wide, 50mm deep, and 80mm high, positioned 20mm from the center on eith...
difference() { union() { translate([0,0,-40]) cube([84,50,10],center=true); cube([84,10,80],center=true); translate([20,0,0]) cube([10,50,80],center=true); translate([-20,0,0]) cube([10,50,80],center=true); } translate([0,0,5]) cube([30,20,80],center=true); translate([0,0,5]) rotate([15,0,0...
glb/cad_20634351c32e.glb
Create a workshop vacuum adapter consisting of three stacked concentric sections. Start with a base hollow cylinder with an outer radius of 70mm, an inner radius of 65mm, and a height of 50mm. On top of this base, add a tapered hollow section 40mm in height; the outer wall should taper from a radius of 70mm at the bott...
difference(){ cylinder(r=70,h=50,$fn=200); cylinder(r=65,h=50,$fn=200); } difference(){ translate([0,0,50]) cylinder(r1=70,r2=51,h=40,$fn=200); translate([0,0,50]) cylinder(r1=65,r2=46,h=40,$fn=200); } difference(){ translate([0,0,90]) cylinder(r=51,h=50,$fn=200); translate([0,0,90]) cyl...
glb/cad_60812a78bbfa.glb
Create a DNA double-helix model consisting of two intertwined helical strands and connecting rungs. First, generate two identical helical paths that wind around a central axis. Each path is formed by extruding a circle with a radius of 3mm. The paths should be positioned symmetrically, with one starting at a radius of ...
include <helix_extrude.scad> precision = 20; axelRadius = 10; height = 200; angle = 360 * 5; trapezoidHeight = 30; module helixPolygon() { translate([axelRadius, 0, 0]) { polygon([ [0, 0], [20, 10], [20, trapezoidHeight-10], [0, trapezoidHeight] ]); } } translate([-50, 0, 0]) { color([0, 0, 1...
glb/cad_56ab328f8fad.glb
Create a MANA scoop by constructing a hollow cylindrical cup with a handle. Start by creating a solid cylinder with an outer radius of 25mm and a height of approximately 9.45mm. From the center of this cylinder, remove a smaller concentric cylinder with a radius of 23.5mm and a height of 9.45mm, leaving a wall thicknes...
$fn=100; pi = 3.14159265359; V=70000; r=23.5; wall=2; handleWidth=20; handleLength=80; union(){ difference(){ linear_extrude(height = (V/(r*r*pi))) scale(2*r+wall,2*r+wall) circle(0.5); translate([0,0,wall]) linear_extrude(height = (V/(r*r*pi))) scale(2*r,2*r) circle(0.5); } translate([0,handleLength/2]) linear_ext...
glb/cad_d29a7a69377c.glb
Create a 7 Wonders board game holder with a total outer dimension of 142mm in width, 174mm in depth, and 80mm in height. The walls and base should have rounded corners with a radius of 3mm. Carve out four rectangular compartments from the top. The first two compartments are identical, each measuring 68mm wide and 103...
$fn = 50; module card ( ) { minkowski ( ) { cylinder ( r = 2, h = 0.05 ); cube ( [ 61, 96, 0.1 ] ); } } module holder ( ) { difference ( ) { minkowski ( ) { cylinder ( r = 3 ); cube ( [ 142-3, 174, 80 ] ); } translate ( [ 0...
glb/cad_c6142d6b020b.glb
Create a customizable storage drawer with a handle and dividers. First, construct the main drawer body as a rectangular box with external dimensions of 54.4mm width (X), 122.4mm length (Y), and 36.8mm height (Z). The body should have rounded external corners with a radius of 5mm. Create a hollow interior by removing ...
DEBUG_D = false; RENDER_DRAWER = true; RENDER_HANDLE = true; RENDER_DIVIDER = true; SHOW_HANDLE = true; SHOW_DIVIDERS = true; BEW = 54.4; BEL = 122.4; BEH = 36.8; BER = 5.0; BWW = 1.4; DWW = 2.0; DXLee = 0.4; DZLee = 0.2; DPos = [41.0, 62.0, 83.0]; SLee = 0.2; SWW = 2.0; SWX = 1.8; SBC = 0.6; HW = 28.0; HL = 10.0...
glb/cad_cd77dedd925e.glb
Create an orthosis for typing and touchscreen use consisting of three flat, rectangular plates connected in a linear sequence. All plates have a uniform thickness of 2.5mm. First, create the tip plate as a rounded rectangle with a length of 64mm and a width of 17mm. Position a second, larger middle plate 24.5mm away...
tip_perimeter=64; tip_width=17; mid_perimeter=200; mid_width=17; bottom_perimeter=210; bottom_width=17; distance_tip_mid=24.5; distance_mid_bottom=41.5; thickness=2.5; e=thickness; r=8; r2=2; tfp=tip_perimeter; tfw=tip_width; mp=mid_perimeter; mw=mid_width; bp=bottom_perimeter; bw=bottom_width; dtm=distance_tip...
glb/cad_6d7f7f957884.glb
Create a Parametric Hole Mold consisting of a solid base with two hexagonal holes. Start by creating a base plate 5mm thick. Within this plate, place two hexagonal prisms, each with a diameter of 25mm and a height of 5mm, to serve as the holes. The hexagons should be oriented with flat sides facing each other. Position...
height = 5; diameter = 25; rows = 1; cols = 2; difference() { shell(); holes(2); } module shell() { minkowski() { hull() { holes(); } cylinder(r=2); } } module holes( multiplier = 1 ) { for ( i = [1 : rows] ) { for ( j = [1 : cols] ) { if(i % 2 == 1) { translate([(2 * diameter + 1) ...
glb/cad_733d334c41ca.glb
Create a 3DR quadcopter receiver and GPS mount plate. First, construct the receiver housing as a rectangular block measuring 53mm in length, 39mm in width, and 7mm in height. Hollow out the center of this block by removing a rectangular section measuring 42mm by 28mm, leaving a wall thickness of approximately 5.5mm on ...
ff = 15.5; w = 18; t = 4; module gps(){ translate([35/-2,w/2,0]) rotate(a=90, v=[0,0,1]) difference(){ translate([(w/-2)-t, (w/-2)-4, 0]) scale([w+t+t+4, w+4, 7]) cube(1); union(){ translate([ff/-2,ff/-2,0]) scale([ff, ff, 10]) cube(1); translate([w/-2, w/-2-1,0]) scale([w,w+1,3]) cube(1); } } } module receiv...
glb/cad_a54f88e56d1b.glb
Create four identical landing feet for a quadcopter. For each foot, start with a base cylinder 50mm in diameter and 1.5mm thick. Centered on top of this base, add a rectangular block that is 18mm long, 10.5mm wide, and 5mm high. To refine the block, round its top and bottom faces into semi-cylinders with a radius of 5....
module foot(){ difference(){ union(){ cylinder(r=25, h=1.5, $fn=100); translate([-18/2, -10.5/2,1]) scale([18,10.5,5]) cube(1); translate([-9,0,6]) rotate(a=90,v=[0,1,0]) cylinder(r=10.5/2, h=18, $fn=100); } translate([-10,0,6.5]) rotate(a=90,v=[0,1,0]) cylinder(r=2.7/2, h=20, $fn=10...
glb/cad_0bf308272f56.glb
Create four identical landing feet for a quadcopter. For each foot, start with a base cylinder 48mm in diameter and 3mm high. Centered on top of this base, add a rectangular block measuring 18mm wide, 15.5mm deep, and 8mm high. To refine the block, round its top edge by adding a half-cylinder with a radius of 7.75mm an...
module foot(){ difference(){ union(){ cylinder(r=24, h=3, $fn=100); translate([-18/2, -15.5/2,1]) scale([18,15.5,5+1.5+.5+.5]) cube(1); translate([-9,0,6+1.5+.5+.5]) rotate(a=90,v=[0,1,0]) cylinder(r=15.5/2, h=18, $fn=100); } translate([-10,0,6.5+1.5+.5]) rotate(a=90,v=[0,1,0]) cylin...
glb/cad_cadbcb0f0541.glb
Create a Standing Frame Vertex with anti-vibe feet by constructing a complex geometric joint. The core structure is based on a combination of cubes and cylinders. Start with two main cylindrical sections, each with a radius of 7mm and a height of 14.01mm, positioned as the primary anchors. Connect these with two cubic ...
angle = 120; tilt = 30; seg1_H=26; seg2_H=26; nX =3; nY =2; spacing_X=20; spacing_Y=20; amount_with_foot = 4; n = 0; feet_on = true; print(); module print() { $fn=45; $fa=2; for(x=[1:nX]) { for(y=[1:nY]) { translate([x*spacing_X,y*spacing_Y,22+seg1_H]) rotate([0,180+tilt,0]) { v...
glb/cad_10d734be6132.glb
Create a Coleman QuickPump 4D Air Mattress Pump Adapter consisting of a tiered cylindrical body with a central hollow bore. Start by creating a base cylinder with a height of 10mm and an outer diameter of 26.12mm. This base should have a concentric hole running through its center with a diameter of 24.12mm. On top of...
nozzle_diameter = .98 * 24.61; valve_diameter = 18.8; ww = 2; fudge = 1; h_init = 10; h_top = 16; shallow = .1; eps = .001; diff = (nozzle_diameter - valve_diameter + 1.2) / 2; h_mid = diff; union() { difference() { cylinder(h=h_init, r = fudge * nozzle_diameter/2 + ww, $fn=100); cylinder(h=h_init, r = fudg...
glb/cad_337f7f81454b.glb
Create a mesh business card by constructing a thin rectangular frame with a height of 0.4mm. Start with a solid outer rectangle measuring 84mm by 55mm, ensuring all four corners are rounded with a radius of 4mm. From the center of this shape, remove a smaller concentric rectangular area measuring 69mm by 40mm, also wit...
union() { difference(){ translate([2, 2, 0]) minkowski() { cube([79, 50, 0.2]); cylinder(r=2,h=0.2); } translate([7, 7, 0]) minkowski() { cube([69, 40, 0.2]); cylinder(r=2,h=0.2); } } linear_extrude(file = "path_mesh_3.dxf", height = 0.2); }
glb/cad_19720edffdf9.glb
Create a custom RC wheel hub. Start with a main cylindrical base with a radius of 11.5mm and a total height of 5.5mm. On top of this base, add a smaller centered cylinder with a radius of 6.15mm and a height of 2mm. From the bottom of the model, remove a hexagonal prism with a radius of 6.15mm (measured from center t...
width = 1; hex_radius = 6 / sin(60) + 0.15; hex_depth = 4.5; height = width + hex_depth; base_radius = 23 / 2; mounting_hole_radius = 17.4 / 2; difference() { union() { cylinder(r = base_radius, h = height); translate([0, 0, height]) cylinder(r = 12.3 / 2, h = 2, $fs = 0.1); }...
glb/cad_2ad7c867da54.glb
Create a plant label holder by starting with a flat rectangular base measuring 50mm wide, 35mm deep, and 2mm thick. Attach a second rectangular stake to the center of the base's rear edge, extending backwards by 45mm with the same 2mm thickness and a width of 8mm. To create the label slot, carve out a rectangular void ...
difference() { union() { cube([50, 35, 2]); translate([21,-45,0]) cube([8, 45, 2]); } color("red") { translate([4,4,-2]) cube([2,28,6]); translate([44,4,-2]) cube([2,28,6]); translate([4,30,-2]) cube([41,2,6]); } color("green") { translate([18,-52,-2]) rotate([0,0,45]) cube([10,10,6]); translate([3...
glb/cad_00335b5480cc.glb
Create a Custom Top by constructing a central vertical axis. Start with a 7-sided polygonal prism with a radius of 50mm and a height of 1300mm. Apply a 135-degree twist to this prism as it extrudes upward, scaling the top face by a factor of 13. At the base of this twisted form, add a sphere with a radius of 50mm. At t...
radius=50; sides=7; twist=135; topscale=13; slices=10; wholescale=1; scale(wholescale){ scale(.2){ union(){ linear_extrude(height=1300, twist=twist, scale=topscale, slices=slices, radius=radius) circle(radius, $fn=sides, twist, scale, slices); sphere(radius); } cylinder(1700,50,100); translate([0,0,1300]) scale([1...
glb/cad_873cec0f462f.glb
Create a customizable spoked wheel with a total diameter of 50mm and a central axle hole of 4.9mm. The wheel features a central hub with a diameter of 10mm and a width of 6.2mm. Surrounding the hub is a rim with a thickness of 2mm and a width of 6.2mm. The rim's outer surface is slightly crowned. Connecting the hub to...
WheelDiameter = 50; AxleDiameter = 4.9; RimThickness = 2; RimWidth = 6.2; Crown = 0.5; HubDiameter = 10; HubWidth = 6.2; SpokeThick = 1.5; SpokeCount = 15; WebRatio = .5; $fn=180; HubDia = HubDiameter<AxleDiameter ? AxleDiameter:HubDiameter; WheelDia = WheelDiameter < HubDia ? HubDia : WheelDiameter; RimThic...
glb/cad_4c498d0ecedb.glb
Create a plant sign consisting of a rounded rectangular plaque and a supporting stake. First, construct the plaque as a flat plate with a total width of 62mm (60mm plus a 1mm border on each side) and a height of 32mm (30mm plus a 1mm border on each side), with a uniform thickness of 2mm. The four corners of this plaq...
signWidth=60; signHeight=30; radius = 10; textMsg = "Kohlrabi"; font="Century Gothic:style=bold"; textSize = 9; stickLength = 90; stickWidth = 5; border = 1; thickness = 2; module renderSign(length,height,border,thickness,radius) { color([0.5,0.5,0.5]){ difference(){ union(){ d...
glb/cad_01c796d737e5.glb
Create a Water Cooler Cup Holder. Start by creating a main cube for the cup holder that is 82mm wide, 82mm deep, and 30mm high. Remove a cylindrical hole from the center of this cube with a radius of 36mm and a height of 30mm. Attached to the back of this cube, create a mounting hook consisting of three connected rect...
wall_thickness = 5; CH_hole_radius = 36; CH_hole_height = 30; CH_cube_length = CH_hole_radius*2 + wall_thickness*2; CH_cube_width = CH_cube_length; CH_cube_height = CH_hole_height; CH_hole_tx = CH_cube_length/2; CH_hole_ty = CH_cube_width/2; CH_hole_tz = CH_cube_height - CH_hole_height; MH_vertical1_length = CH_cube_...
glb/cad_4fbfb920f6bf.glb
Create a 4-bar mechanism consisting of a base and three connected links. Start by creating a rectangular base block measuring 40mm by 167mm by 180mm. On this base, position a central rectangular link measuring 40mm by 86mm by 86mm. This link is secured by two cylindrical pins, each with a radius of 6mm and a length o...
use <4bar.scad> assign (escala = 2.100628); rotate([-46.5,0,0]) translate([60,-338.35,128.13+32]) mech4bar( (0 * 2.100628), 0 * 2.100628, 53 * 2.100628, 8 * 2.100628, 164.5 * 2.100628, 0 * 2.100628, 61 * 2.100628, 8 * 2.100628, 162 * 2.100628, 8 * 2.100628, 164.5 * 2.100628, 8 * 2...
glb/cad_8c1ae9aeb4a9.glb
Create a 4-bar mechanism consisting of four connected links with circular pivot holes. Each link is a rectangular bar with rounded ends, where the thickness of the bar is defined by a cylinder of radius 4mm and the pivot holes are cylinders of radius 2mm. Construct the following four links: 1. A grounded link with a l...
module mech4bar( posX_fixed_crank, posY_fixed_crank, crank, thickness_crank, posX_fixed_rocker, posY_fixed_rocker, rocker, thickness_rocker, coupler, thickness_coupler, groundedLink, thickness_groundedLink, radiusPin, radiusLink ) { echo("tetha0()",tetha0()); echo("Ax", Ax($t)); echo("Ay", Ay($t)); echo("Bx", Bx($...
glb/cad_d6094258cf05.glb
Create a lunchbox latch with a total length of 110mm, a width of 25mm, and a base height of 4.5mm. The main body is a rectangular block, but the top edge features a semi-cylindrical hinge profile with a radius of 2.5mm running the full length of the part. Hollow out the center of the latch by removing a rectangular c...
module lunchbox_latch() { tlen=110; twi=25; thi=4.5; hwi=11; hhi=2.2; hrad=2.5; ihrad=1.5; rwi=2; er=5; erlen=20; hlen=90; hslen=3.5; hswi=9; over=2; rotate(a=[0, 0, -45]) translate([-tlen/2, -twi/2, 0]) union() { difference() { un...
glb/cad_7a9364fc1cc9.glb
Create a T-track table for a PCB mill. Start with a rectangular base plate measuring 215mm in length, 131mm in width, and 8mm in height. Across the length of the plate, create a series of T-shaped slots. Each slot consists of a wide upper section 10mm wide and 3.5mm high, and a slim lower section 4.1mm wide. The slot...
$fn=30; overlapping=5; overlapping_h=10; overlapping_gap=1; plate_x = 215; plate_y = 120+overlapping_gap+overlapping*2; plate_z = 8; base_plate_z = 3; border_width = overlapping; border_width_x = 10; slot_wide_width = 10; slot_wide_height = 3.5; slot_slim_width = 4.1; slot_entrance_length = 10; slot_distance ...
glb/cad_2578ab0ea4f8.glb
Create a 3D geometric object known as a Steinmetz solid variant. Start by creating a cylinder with a radius of 20mm and a height of 2mm, centered on the origin. Scale this cylinder non-uniformly by a factor of 20 along the X-axis, 20 along the Y-axis, and 20 along the Z-axis (resulting in a final height of 40mm). From ...
wedge(20,40); module wedge(r, h){ scale(v = [r,r,h/2]) { difference() { cylinder(h = 2, r = 1, center = true, $fn=100); translate(v = [ 1.5,0,sqrt(pow(sqrt(5)/2,2)-1)])rotate(a = atan(0.5), v = [0, -1, 0])cube(size = sqrt(5), center = true); translate(v = [-1.5,0,sqrt(pow(sqrt(5)/2,2)-1)])rotate(a = -atan...
glb/cad_911d612f382b.glb
Create a Five Tribes Meeple by extruding a specific 2D silhouette to a height of 10.25mm. The silhouette is a stylized human figure with a rounded head, broad shoulders, and a tapered body. The shape is defined by a complex polygon. The top section forms a rounded head and shoulders. The sides extend outward to form ...
fudge = 0.1; module poly_path4147(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-16.354194,12.851597],[-15.379612,12.258836],[-14.524060,11.867938],[-13.775542,11.664254],[-13.122066,11.633136],[-12.551636,11.759936],[-12.052260,12.030007],[-11.611944,12.428699],[-11.218...
glb/cad_380070cefe8d.glb
Create a Destiny Ghost shell half. The part is a hemispherical shell with a diameter of 80mm. The outer surface is not a smooth sphere but is composed of stretched tetrahedral geometries, creating a faceted, crystalline appearance. Hollow out the interior of the shell to a wall thickness of 0.022mm. On the flat circu...
Print_Part = "shell_half"; Resolution = "low"; animation = ""; cut_front_back = 0.01; cut_top_bottom = 0.06; shell_inset = 0.022; square_core_inset = 0.032; ball_inset = 0.032; overall_size = 80; stretch = [1,1.3,1]; ball_size = 0.73; eyecore_size = 0.5; ball_resolution = (Resolution=="high") ? 90 : 30; bearing_r...
glb/cad_814d056d4193.glb
Create a Decora-style 4-button wall switch assembly consisting of a mounting plate, four rocker switches, and a pivot support. First, construct the mounting plate. Create a rounded rectangular base approximately 33mm wide and 66.5mm tall with a thickness of 8mm. Hollow out the center with a rectangular cavity 30mm wid...
$fn = 50; decora_plate(); rocker_switches(30); translate([-30, -31, 0]) rotate([0, 0, 90]) rocker_support(); module rocker_switches(offset) { translate([offset, 27.5]) rotate([180, 270, 0]) rocker_switch(); translate([offset, 11.75]) rotate([180, 270, 0]) rocker_switch(); translate([offset, -18.15]) rotat...
glb/cad_d789ccc508e2.glb
Create a Vaporizor iJust2 Cap designed as a hollowed cylindrical cover. Start by creating a main outer cylinder with a diameter of 22mm and a height of 27mm. Inside this body, remove a central cylindrical core to create a socket for a mouthpiece. This void consists of two stepped sections: a lower cylinder with a dia...
cap_width = 22; cap_height = 27; outer_diameter = 12.5; inner_diameter = 6; outer_lip_diameter = 13.5; outer_radius = outer_diameter/2; inner_radius = inner_diameter/2; tolerance = 0.5; mouthpiece_height = 22; outer_radius_lip = outer_lip_diameter/2; mouthpiece_lip_height = 7; cap_radius = cap_width/2; $fn = 100; ...
glb/cad_894499530b55.glb
Create a parametric endstop holder. Start with a base body formed by the union of two rectangular blocks: one measuring 17mm wide, 14mm deep, and 9mm high, and a second block measuring 17mm wide, 18mm deep, and 5mm high joined to it. Centered on the top surface, create a cylindrical cutout for a 12.4mm diameter rod tha...
rod_d = 12; rod_clearance = 0.4; screw_d = 4; slot_d = 3; tie_d = 4; endstop_terminal_offsets = [0, 7.6, 16.6]; endstop_midpoint = (endstop_terminal_offsets[2]-endstop_terminal_offsets[0])/2; difference() { union() { translate([-17/2, 0, 0]) { cube([17,14,9]); cube([17,5,18]); } translate([-(...
glb/cad_f684337cd52d.glb
Create a 608 bearing housing consisting of several concentric cylindrical components. Start by creating a base cylinder with a radius of 7mm and a height of 11mm, and remove a concentric inner cylinder with a radius of 7mm and a height of 9mm to create a hollow ring. Inside this, create a central cylindrical core with ...
$fn=100; Pieza01(); Pieza02(); Pieza03(); rotate(0,0,0) Pieza04(); rotate(24,0,0) Pieza04(); rotate(48,0,0) Pieza04(); rotate(72,0,0) Pieza04(); rotate(96,0,0) Pieza04(); rotate(120,0,0) Pieza04(); rotate(144,0,0) Pieza04(); rotate(168,0,0) Pieza04(); rotate(192,0,0) Pieza04(); rotate(216,0,0) Pieza04(); rotate(240,0,...
glb/cad_497e0403077e.glb