Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a nameplate for a 2040 aluminium extrusion by starting with a rectangular base measuring 80mm in length, 40mm in width, and 2mm in thickness. On the right edge of the base, add two protruding mounting tabs, each 80mm long and 2mm thick, positioned 20mm apart from each other along the width. Cut four holes thro...
include <../libs/hardware.scad> thick=2; difference(){ union(){ cube([80, 40, thick]); translate([80, 0, 0]) mirror([0, 0, 1]) rotate([0, 0, 90]) alu_connector(80, 0); translate([80, 20, 0]) mirror([0, 0, 1]) rota...
glb/cad_a84abedb82a3.glb
Create an Ergofan keyboard case consisting of a keyplate and a split base. First, construct the keyplate with a thickness of 1.8mm and a total height of 8mm. The plate features a series of square cutouts for mechanical switches, each measuring 13.9mm by 13.9mm. Arrange these switches in six columns. The first two col...
standoffPoints=[ [-13.5,2.5] ,[64,2.5] ,[72,65] ,[54,128] ,[-13,61] ,[-39,108] ]; polyPoints=[ [-18,-2] ,[69,-2] ,[76,65] ,[72,86] ,[57,134] ,[-8,114] ,[-24,126] ,[-44,109] ,[-17,60] ]; module perimeter(height=4,cutoutHeight=4,inset=2 ,standoffR=3,standoff_holeR=3/2,hole_height=-1){ ...
glb/cad_fe7497aa9f85.glb
Create a cylindrical lamp base with a total height of 40mm and a diameter of 105mm. The base is primarily a hollow shell with an outer frame thickness of 6mm. At the bottom, create a recessed slot 10mm high to hold a lampshade. This slot is defined by an outer diameter of 97.9mm and an inner diameter of 96.1mm. Above...
height = 40; width = 105; outer_frame = 6; cover_height = 2; slot_height = 10; slot_width = 1.8; shade_diameter = 97; diffuser_diameter = 75; led_diameter = 55; led_sides = 5; led_channel = 10.2; led_channel_depth = 1.5; usb_width = 14; usb_height = 8; line_width = 0.4; base_upper_offset = slot_height + 1....
glb/cad_4e2bd8b0729d.glb
Create a circular lamp base with a diameter of 105mm and a height of 2mm. On the top surface of this base, create a concentric circular wall (a rim) with a height of 2mm and a thickness of 6mm, leaving a hollow center. Inside the base, place four cylindrical support stands for a circuit board. The board area is 31mm w...
width = 105; outer_frame = 6; cover_height = 2; base_height = 2; board_width = 31.0; board_length = 58.0; screw_hole_diameter = 2.4; stands = 4; line_width = 0.4; pcb_width = board_width - 6; pcb_length = board_length - 6; stand_height = 2; difference() { union() { cylinder(base_height, d=width, $f...
glb/cad_f900240153b4.glb
Create a diffuser for an Airglow lamp by constructing a solid cylinder. The cylinder must have a total height of 192mm and a diameter of 75mm. Ensure the geometry is smooth by using a high facet resolution of 128 segments. Position the cylinder so that its central axis is aligned with the Y-axis.
height = 192; width = 75; rotate([0,0,90]) cylinder(height, d=width, $fn=128);
glb/cad_7863e95b69c1.glb
Create an Airglow LED strip holder by constructing a cylinder with a height of 185mm and a diameter of 55mm. The cylinder must be a regular prism with 5 flat sides. Along the length of each of the 5 flat faces, carve out a longitudinal channel to hold LED strips. Each channel should be 10.2mm wide and 1.5mm deep. The...
height = 185; led_diameter = 55; led_sides = 5; led_channel = 10.2; led_channel_depth = 1.5; led_dst = cos(180/led_sides) * led_diameter / 2; difference() { rotate([0,0,90]) cylinder(height, d=led_diameter, $fn=led_sides); for (i=[0:360/led_sides:360]) { rotate(i - (360/led_sides) / 2...
glb/cad_fd613397b6dc.glb
Create a lock dust cover consisting of a central cylindrical cap with an attached flat pull-tab. The main body is a revolved profile with a total outer diameter of 28.2mm and a total height of 8.5mm. The interior of the cap is hollowed to fit a lock with a diameter of 24.2mm. The wall thickness of the cap is 2mm. At th...
lockdiameter = 24.2; lockheight = 6.5; lipdepth = 0.75; lipwidth = 1.5; lipheight = 1.2; thickness = 2; union() { rotate_extrude($fn=200) polygon( points=[[0,0] ,[lockdiameter/2 + thickness,0] ,[lockdiameter/2 + thickness,lockheight + thickness] ,[lockdiamet...
glb/cad_5e7df22014c4.glb
Create a plain bearing with a total height of 15mm. Start with a solid outer cylinder that has a diameter of 15mm and rounded edges with a radius of 0.75mm. Remove a central cylindrical hole with a diameter of 8mm and rounded edges of 0.75mm to create the inner bore. Inside the wall thickness, carve out a series of l...
include<ub.scad> useVersion=21.138; if(Version<useVersion||is_undef(Version))echo("<h1><font color='red'>Install current ub.scad library‼ ⇒ <a href=http://v.gd/ubaer>v.gd/ubaer</a>"); nozzle=.2; od=15; id=8; e=7; h=15; wand=1.5; cut=0.5; r=[0.75,0.75]; block=20; blockh=4; grooves=false; l1=17.5; Echo(str("Achsmitte ...
glb/cad_025cc8470a0c.glb
Create a DS212 oscilloscope stand by constructing a base and a tilted support cradle. Start with a flat rectangular base measuring 100.9mm in length, 45mm in width, and 1mm in height. On top of this base, add a rectangular holder block that is 100.9mm long, 10.84mm wide, and 8mm high. Rotate this holder block 20 degree...
safety_margin = 0.2; ds212_length = 100.1 + safety_margin; ds212_width = 10.04; ds212_height = 56.5; wall_thickness = 0.4; num_walls = 2; single_wall = wall_thickness * num_walls; wall = single_wall * 2; part_length = ds212_length + wall; part_width = ds212_width + wall; module ds212() { cube([ds212_length, ds21...
glb/cad_4de4e360d9b8.glb
Create a 90-degree angle bracket for 20mm extrusions. The model consists of two rectangular plates, each 3mm thick, joined at a right angle by a central support. The first plate is a horizontal base measuring 20mm wide by 40mm deep. The second plate is a vertical wall measuring 20mm wide by 40mm high. These two plate...
$fn=30; thickness=3; extrusion_size = 20; hole_diameter = 6; recess_diameter = 8; recess_depth=1; holecount_x = 2; holecount_y = 2; holecount_z = 2; angle_size = 1; module angle90(nx, ny, nz, center=false) { module side(n) { difference() { cube([extrusion_size, extrusion_size*n, thickness]); for (i =...
glb/cad_aedbcc3f01ea.glb
Create a Baseus A1 vacuum stand consisting of a hollow cylindrical sleeve resting on a hexagonal base. Start by creating a main cylinder with an outer radius of 29.5mm and an inner radius of 29.25mm, extending to a height of 100mm. Cut six vertical rectangular slots into this cylinder, each 20mm wide and 140mm tall, ce...
circumference = 185; pi = 3.14159265; r = circumference/pi/2; height = 100; difference() { cylinder(r1=r+1.5, r2=r+1.5, h=height, $fn=100); cylinder(r1=r, r2=r, h=height, $fn=100); for (i = [0:6]) { rotate ( i*60, [0,0,1]) translate([0,30,20]) cube([20,20,140], center=true); } } difference() { cylinder(r...
glb/cad_c8f9e383f4cb.glb
Create a Magnet Storage Box consisting of a base and a hinged lid. For the base, create a rectangular enclosure with an outer wall thickness of 1.6mm. The interior should feature a series of vertical cylindrical tubes to hold magnets of diameters 15, 12, 10, 8, 8, 6, 5, 4, and 3mm. Each tube should be 100mm long, wit...
tubeLength = 100; tubeSpacing = 3; tubeArray = [15,12,10,8,8,6,5,4,3]; fontName = "Verdana"; fontStyle = "Bold"; fontSize = 4.5; textDepth = .6; outsideWallThickness = 1.6; lipThickness = 1; lipHeight = 2.5; filamentDiameter = 2; filamentClearance = .1; magnetClearance = .3; lipClearance = .3; hingeCleara...
glb/cad_061ebd097ad6.glb
Create a two-part protective case for an FTDI adapter. The bottom section is a hollow rectangular box with outer dimensions of 21mm by 52mm and a height of 12mm, featuring rounded corners with a 1mm radius. The interior cavity is 19mm by 50mm with a wall thickness of 1mm. Cut a 9mm wide by 5mm high rectangular opening ...
translate([50,50,0]) rotate([0,0,180]) top(); module top() { difference() { union() { $fn=50; translate([1,-1,0]) minkowski(50) { cube([19,50,1]); cylinder(1); } translate([3.5,22,0]) cylinder(h=5, r=1.5); translate(...
glb/cad_e36bcb3334bb.glb
Create an oil bottle cap by forming a solid cylinder with a diameter of 6mm and a height of 6mm. Place a sphere with a diameter of 6mm directly on top of the cylinder, centered so that its midpoint is 6mm above the base plane. Finally, create a vertical hole through the center of the entire object by removing a cylinde...
$fn=100; difference() { union() { translate([0,0, 6])sphere(d=6); cylinder(d=6, 6); } translate([0, 0, -5]) cylinder(d=4,10); }
glb/cad_dfc73aa2af83.glb
Create a flower ring holder by starting with a main body that is a cylinder 20mm tall, based on a circle with a 22mm diameter that has been scaled by 1.7 along the Y-axis to form an oval. From this main body, remove three vertical cylindrical holes: one central hole with a diameter of 7.9mm, and two side holes with dia...
$fn = 50; height = 20; outer_circle_diameter = 22; center_circle_diameter = 7.9; side_circle_diameter = 5.1; side_circle_distance_from_center = 11.5; center_circle_tightner_diameter = 1; difference() { scale([ 1, 1.7, 1 ]) { linear_extrude(height) circle(d = outer_circle_diameter); } color("orange") linear_ext...
glb/cad_b8b112f633a0.glb
Create a snappable straw holder by designing a flat plate with a thickness of 3.4mm and rounded edges. The overall shape is formed by the convex hull of two small 5mm diameter circles positioned 38.6mm apart along the Y-axis, and a larger 20mm diameter circle centered 45mm away from the first circle along the X-axis. ...
$fn = 10; $minkowski_diameter = 1.2; $arm_length = 45; $dopper_diameter = 28.6; $dopper_diameter_corrected = $dopper_diameter + ($minkowski_diameter * 2); $dopper_arm_thickness = 10; $straw_diameter = 12.1; $straw_diameter_corrected = $straw_diameter + ($minkowski_diameter * 2); minkowski() { linear_extrude(1.0) ...
glb/cad_272aa2b5b0f4.glb
Create a simple desk organizer by starting with a main cylinder that has a radius of 45mm and a height of 100mm. Hollow out the center of the cylinder to create a thin wall, leaving a base bevel at the bottom by removing a smaller internal cylinder with a radius of 42.5mm and a height of 10mm. To create the exterior te...
IndentCount = 20; Height = 100; Radius = 45; $fn = 250; difference() { cylinder(h=Height, r=Radius); difference() { cylinder(h=10, r1=Radius, r2=Radius); cylinder(h=10, r1=Radius - 2.5, r2=Radius); } for (i = [1:360 / IndentCount:360]) { rotate([0, 0, i]) { translate([Radius * 1.6, 0, Height / 2]) { ...
glb/cad_5ec59996d851.glb
Create an educational vertical axis wind turbine model consisting of a central hub and three symmetrical blades. First, design a blade based on a NACA 0015 airfoil profile with a chord length of 120mm and a thickness of 15% of the chord. Extrude this profile to a height of 19.2mm. From this blade, remove a cylindrica...
include <bearing.scad> $fn=2*64; function y(t,x)=5.0*t*c*(0.2969*sqrt(x/c)-0.1260*x/c-0.3516*pow(x/c,2)+0.2843*pow(x/c,3)-0.1015*pow(x/c,4)); dpvc=16.6; height=16.4+2*1.2; thickness=3*.4; c=120; n=2*64; dx=c/n; module naca(nc=12,h=10,alpha=0){ t=nc/100; rotate(alpha){ translate([-0.4178885271583483*c,0,0])...
glb/cad_90ab50070bb9.glb
Create a laser engraver base extender leg by constructing a cylinder with a radius of 20mm and a total height of 175mm. Bore a smaller concentric hole through the center of the cylinder with a radius of 7.5mm, extending from the bottom up to a height of 15mm. At the top of the cylinder, centered at a height of 165mm, c...
Height = 165; $fn = 250; difference() { cylinder(10 + Height, 20, 20); cylinder(15, 7.5, 7.5); translate([-2.5, -20, Height]) { cube([5, 40, 10]); } }
glb/cad_3068e0592afc.glb
Create a laser engraver base consisting of a main cylindrical platform and a central riser. Start by creating a primary cylinder with a diameter of 40mm and a height of 10mm. In this base, place four vertical holes with a diameter of 5mm and a depth of 10mm, positioned 15mm from the center of the base at 90-degree inte...
$fn = 250; difference() { cylinder(10, 20, 20); for ( i = [1:1:4]) { Angle = 90 * i; Radius = 15; translate([Radius * cos(Angle), Radius * sin(Angle), 0]) { cylinder(10, 2.5, 2.5); translate([0, 0, 8]) { cylinder(2, 4, 4); } } } } difference() { translate([0, 0, 10]) { cylinder(15, 7.5, ...
glb/cad_9b1519c76e59.glb
Create a Spy Video Trakr replacement track belt. Start by constructing a hollow ring with an outer diameter of 136mm, a width of 10mm, and a wall thickness of 1.5mm. Around the outer circumference of this ring, add 75 evenly spaced teeth. Each tooth should have a base length of 9mm, a base width of 3mm, and a base he...
$fa = 1; $fs = 0.4; belt_diameter = 136.0; belt_width = 10.0; belt_thickness = 1.5; tooth_count = 75; tooth_height = 3.3; tread_descent = 0.7; tip_length = 6.5; module belt(diameter, thickness, width) { outer_dia = diameter; inner_dia = outer_dia - (2 * thickness); difference() { cy...
glb/cad_2fba162489dc.glb
Create a Spy Video Trakr Replacement Track Belt by first constructing a hollow ring with an outer diameter of 136mm, a width of 10mm, and a wall thickness of 1.5mm. Around the inner circumference of this ring, add 75 evenly spaced teeth. Each tooth should be a composite geometric shape consisting of a trapezoidal bas...
$fa = 1; $fs = 0.4; belt_diameter = 136.0; belt_width = 10.0; belt_thickness = 1.5; tooth_count = 75; tooth_height = 3.3; tread_descent = 0.7; tip_length = 6.5; module belt(diameter, thickness, width) { outer_dia = diameter; inner_dia = outer_dia - (2 * thickness); difference() { cy...
glb/cad_7a2680107f4d.glb
Create a piece of wall art based on a Lissajous curve. The design is a flat, extruded 2D path with a constant thickness of 2mm and a total depth of 1.12mm. The path is generated by parametric equations where the x-coordinate is defined by 100 multiplied by the sine of (3t) and the y-coordinate is defined by 100 multipl...
a = 3; b = 4; d = 0; shape_width = 200; shape_height = 200; shape_depth = 1.12; line_thickness = 2; resolution = 0.08; linear_extrude(height = shape_depth){ for (t=[-360:resolution:360]) { x1 = (shape_width/2) * sin(a*t+d); y1 = (shape_height/2) * sin(b*t); x2 = (shape_width/2) * sin(a*(t+r...
glb/cad_094d0157952b.glb
Create a piece of wall art based on a polar rose curve. The design is generated by a point rotating around a center origin from 0 to 360 degrees. At any given angle t, the distance from the center to the point is defined by the formula r = 100 * sin(4t), where 100 is the maximum radius in millimeters. At each point alo...
a = 4; shape_width = 200; shape_depth = 1.12; line_thickness = 2; resolution = 0.04; linear_extrude(height = shape_depth){ for (t=[0:resolution:360]) { r = (shape_width/2) * sin(a*t); rotate([0,0,t]) { translate([r,0,0]) { square(size = [1,line_thickness], center=true); ...
glb/cad_4e0d6f0cab9c.glb
Create a CEE63A dust cap consisting of a hollow cylindrical shell and a top lid. The main body is a cylinder with an outer diameter of 71.4mm, an inner diameter of 69mm, and a height of 50mm, creating a wall thickness of 1.2mm. At the base of this cylinder, integrate a rectangular slot that is 3.2mm long and 8.1mm wide...
$fn=200; wall_thick = 1.2; plug_inner_height = 50; plug_innerD = 69.0; plug_outderD = plug_innerD + wall_thick * 2; cap_height = 1.2; slot_inner_length = 3.2; slot_inner_width = 8.1; slot_inner_height = plug_inner_height; latch_d = 11; latch_hole_d = 6; module dust_cap() { difference() { union(){ ...
glb/cad_519aa6722170.glb
Create a white board pen holder consisting of a curved base with four cylindrical slots. The overall structure is based on a primary dimension of 15.3mm. Construct a main body by creating a hull between four cylinders, each with a radius of 9.25mm and a height of 15.3mm, positioned symmetrically around the center. Pl...
$fn=6; phi=(1+sqrt(5))/2; d=15.3; h=d; thickness=1.6; rc=1*d*.1/2; l=d+thickness; module 4pen(){ difference(){ minkowski(){ union(){ hull(){ translate([0,l,0]) cylinder(h=h,r=d/2+thickness,center=true,$fn=64); translate([0,-l,0]) cylinder(h=h,r=d/2+thickness,center=true,$fn=64);} rotate([0...
glb/cad_46949deea639.glb
Create a parametric razor stand. Start by constructing a rectangular base with a width of 60mm, a depth of 60mm, and a height of 16mm. The base should have rounded corners and edges with a radius of 6mm. From the base, extend two symmetrical vertical pillars that taper slightly as they rise to a total height of 124mm...
h=124; w=60; d=60; gap=10; bh=16; dia=12; f=50; a=90; difference() { union() { hull() { translate([(w/2-dia/2),0,0]) sphere(d=dia,$fn=f); translate([-(w/2-dia/2),0,0]) sphere(d=dia,$fn=f); translate([(w/2-dia/2),(d-dia/2),0]) sphere(d=dia,$fn=f); translate([-(w/2...
glb/cad_d0094f0ad379.glb
To make this code functional in OpenSCAD, you need to define the **global variables** that the script references (such as `wall`, `thread`, `safety`, etc.). The script is designed as a parametric generator, but it lacks the "input" section. Add the following block to the **very top** of your script. I have provided se...
thread="G1"; sides=120; chamfer=1.0; wall=3.5; knurled="yes"; knurl_depth=1.0; knurls=50; show_top="yes"; threaded_top_height=6.1; unthreaded_top_height=4.2; show_bottom="yes"; threaded_bottom_height=4.1; unthreaded_bottom_height=16.0; $fn=120; safety=.01; function __THREADLIB_VERSION() = 0.5; function vec3(p...
glb/cad_4983a37d669f.glb
Create a bicycle handlebar plug consisting of a circular base and a slotted cylindrical sleeve. Start by creating a solid flat disc with a radius of 13.5mm and a thickness of 3mm. Centered on top of this disc, add a cylinder with a radius of 9.5mm and a height of 25mm. To form the inner cavity, remove a concentric cyli...
thickness = 3; rInner=19/2; rOuter=(29-2)/2; height = 25; slitWidth=2; slitDepth=10; slitHeight=22; numSlits=6; difference(){ union(){ cylinder(r=rOuter, h=thickness); cylinder(r=rInner, h=height); translate([0,0,height]){ rotate_extrude(convexity = 10, $fn = 100) translate([rInner-thic...
glb/cad_a9f650339bdd.glb
Create a planar mechanism for six-axis manipulation consisting of a central triangular platform suspended within a circular outer frame. Start with a main cylinder 100mm in diameter and 5mm thick. From this disk, remove a central triangular prism with a 3-sided cross-section to create a void, and carve out three large ...
$fn=64; d=0.4; h=5; l=2; R=50; deps=4*d; r1=5; eps=0.01; difference(){ cylinder(h=h,r=R,center=true); for(i=[0:2]){ rotate([0,0,i*120]){ minkowski(){ difference(){ cylinder(h=h,r=R-l-r1,center=true); translate([0,-R/2-l+r1,0]) cube([2*R,2*R,h+eps],center=true);} cylinder(h=eps,r=r1,cen...
glb/cad_023e4884d101.glb
Create a handlebar takedown pusher consisting of two stacked coaxial cylinders. Start by creating a wide base cylinder with a radius of 5.5mm and a height of 5mm. Directly on top of this base, place a second, taller cylinder with a radius of 4.5mm and a height of 12mm. This upper cylinder must be hollowed out by removi...
$fn=100; union(){ cylinder(h=5,r=11/2, center=false); cylinder(h=8, r=9/2, center=false); difference(){ cylinder(h=12,r=9/2,center=false); cylinder(h=12,r=8/2, center=false); } }
glb/cad_ebddf2dc5560.glb
Create a Bird Protection Grid consisting of a flat rectangular mesh and raised cylindrical posts. Start by constructing a base grid of intersecting bars with a thickness of 4mm and a height of 2.5mm. The overall outer dimensions of the grid should be approximately 244mm by 124mm, composed of bars spaced 24mm apart from...
length = 220; width = 100; spacing = 24; thickness = 4; thicknessD = thickness * sqrt(2); thicknessZ = 2.5; height = 10; snaptolerance = 0.3; snapconnthickness = 1.5; griddia = spacing + thickness; condepth = 5; chamfer = 1; function fixLength(len_i) = ((len_i % griddia) > (griddia * 0.6)) ? len_i + griddia : len_i...
glb/cad_642e7c21bd66.glb
Create a DIN rail WAGO holder by constructing a base block and subtracting specific volumes to form a mounting clip. Start with a main body that is 16mm tall. The primary structure is a complex extruded profile that includes a base width of approximately 39mm and a depth of 18.2mm. Integrate two rectangular support c...
$fn = 50; wago_w = 29.8; wago_h = 7.8; wago_d = 18.2; wago_i = 0.8; e = 0.01; difference() { union() { linear_extrude(16) polygon([[0, 0], [1, -1], [1, -2], [-1, -4], [-2, -4], [-2, wago_d + 5 - wago_i - e], [3 + wago_i, wago_d + 5 - wago_i - e], [3 + wago_i, 5], [3 + 6 + 2 + 2 * wago_w - 2 * wago_i, 5...
glb/cad_fac9b234b530.glb
Create a set of Arched Squares and a storage box. For each Arched Square, create a 90-degree annular sector with a thickness of approximately 2.1mm to 3.0mm. The squares vary in size: one with an inner radius of 10.1mm and outer radius of 19.9mm; one with an inner radius of 20.1mm and outer radius of 33.9mm; one with...
use <./Lsystem.scad> use <./rounder.scad> module sq(rin=40,rout=60,thick=2.4){ $fn=99; translate([0,rin,0]) cube([1.2,rout-rin,4]); translate([rin,0,0]) cube([rout-rin,1.2,4]); intersection(){ difference(){ cylinder(r=rout,h=thick); cylinder(r=rin,h=3*thick,center=true); } cube(...
glb/cad_4554ac04555e.glb
Create a Customizable Holiday Ball consisting of a spherical cage and a top hanger. The main body is formed by 12 intertwining curved ribbons (6 rotating clockwise and 6 rotating counter-clockwise). Each ribbon is created by extruding a circle with a diameter of 8mm, resized to 5mm by 8mm, along a vertical path of 80mm...
number_of_curves = 6; ball_height = 80; ball_diameter = 80; curves_smoothness = 20; $fn=curves_smoothness; curves_angle = 360/number_of_curves; curve_slide = (ball_diameter - 6)/4; translate([0,0,1]) for(zangle=[0:curves_angle:360-curves_angle]) rotate([0,0,zangle]) curve(1); translate([0,0,1]) for(zangle=[0:c...
glb/cad_75b756361490.glb
Create a customizable drawer handle consisting of three parallel vertical walls connected by horizontal bridges. First, create the inner wall as a rectangular slab 3mm thick, 60mm wide, and 30mm high, with the vertical edges rounded by an 8mm radius. Position a second middle wall 3mm thick, 60mm wide, and 20mm high...
$fn = 100*1; drawer_thickness = 16.6; width = 60; handle_depth = 20; handle_height = 20; handle_facing = "up"; middle_height = 20; inner_height = 30; thickness_bottom = 3; thickness_wall = 3; handle_rotate = 180*1; thicknessMiddleAdd = 1*1; angleMiddle = 1*1; angleHandle = -3*1; rounded = 8*1; module rl(m...
glb/cad_4ba6bd3de1f5.glb
Create a Radius Feeler Gauge consisting of a series of flat, wrench-like probes. Each probe has a uniform thickness of 2.1mm. For each probe, create two distinct measuring ends on a single handle. The first end is an inner radius gauge: create a circular disk with a radius $R$, then remove a smaller concentric circula...
use <./rounder.scad> thick = 2.1; module probe1(rad=3){ length = rad*5; difference(){ union(){ cylinder(r=rad,h=thick,$fn=89,center=true); color("red") translate([length*0.4,0,0]) cube([length*0.75,rad*1.5,thick],center=true); } cylinder(r=rad*0.5,h=thick+2,$fn=89,center=true)...
glb/cad_444d9bb539c6.glb
Create a laptop stand consisting of two identical side feet connected by a central crossbar. For each foot, create a profile with a thickness of 6mm and a width of 30mm. The profile follows a path that starts with a vertical guide 25mm high and 23mm deep. The main body of the foot extends backward with a depth of 200...
$fn=80; platform_depth=200; platform_inclination=30; guide_height=25; guide_depth=23; base_height_front=50; base_depth=160; beam_depth=50; foot_curve_radius=10; foot_width=30; foot_thick=6; feet_distance=170; bar_width_top=41; bar_width_bottom=35; p_rear_top1=[platform_depth,0]; p_rear_top2=p_rear_top1+[0,foot_thick/2...
glb/cad_8b539b60f187.glb
Create a laptop stand consisting of two symmetrical feet connected by a central bar, featuring a USB plug support arm. For each foot, create a profile with a thickness of 6mm and a width of 30mm. The profile should follow a Bézier curve path that starts at a front guide height of 25mm and a depth of 23mm, extending ba...
$fn=80; guide_height=25; guide_depth=23; base_height_front=50; base_depth=170; beam_depth=40; foot_curve_radius=15; foot_width=30; foot_thick=6; bar_width_top=41; bar_width_bottom=35; snapin_height=1; snapin_radius=foot_width/4; usbplugsupport_drillsize=10; usbplugsupport_length=90; usbplugsupport_plugheight=4; platfo...
glb/cad_d3c16de2cf5e.glb
Create a desk platform extension support with a total length of 200mm, a total width of 30.5mm, and a total height of 46mm. The main body is a rectangular block from which a central hole with a 6mm diameter is drilled through the entire length. At one end of the block, create a protruding rectangular section that is ...
gesamtbreite=30.5; gesamtlaenge=200; innen=27.5; rahmen_dicke=1.5; oben=23; brett=16; loch=6; anzahl_streifen=10; streifen=innen/(2*anzahl_streifen-3); $fn=60; eindringen=gesamtlaenge/4; gesamthoehe=oben+innen+rahmen_dicke; rotate([0,90,0]) translate([-gesamtlaenge,0,0]) union() { difference() { cube([ges...
glb/cad_9be22d196c25.glb
Create a desk platform extension support with a total length of 200mm, a width of 30.5mm, and a height of 47mm. The main body is a rectangular block 200mm long, 30.5mm wide, and 31mm high. Drill a 6mm diameter vertical hole through the center of this block, positioned 30mm from the front edge. At the front end, add a...
gesamtbreite=30.5; gesamtlaenge=200; innen=27.5; rahmen_dicke=1.5; oben=23; brett=16; loch=6; anzahl_streifen=10; streifen=innen/(2*anzahl_streifen-3); $fn=60; eindringen=gesamtlaenge/4; gesamthoehe=oben+innen; union() { difference() { cube([gesamtlaenge,gesamtbreite,gesamthoehe-brett]); translat...
glb/cad_fdf3ded4608d.glb
Create a Fire Lord Headpiece consisting of a circular ring and a separate decorative pin. For the ring, construct a cylinder with a diameter of 55mm and a height of 15mm. Hollow out the center by removing a concentric cylinder with a diameter of 38.5mm. From this ring, remove a rectangular slot 55mm wide and 7mm thick ...
symbolschaft_b=12+0.5; symbolschaft_d=3+0.5; h=15; d=55; s=1.1; fn=200; bolt_d=5; rundung=5; difference() { difference() { minkowski(){ translate([0,0,rundung/2]) linear_extrude(height=h-rundung) circle($fn=fn, d=d-rundung) ; sphere(d=rundung,$fn=7...
glb/cad_999dff5745b1.glb
Create a cutting disc for a robotic lawnmower with a total height of 10mm and an outer diameter of 150mm. The disc is composed of two 5mm thick layers. The bottom layer is a cylinder with a 150mm diameter, but it features a central conical void that tapers from a 40.83mm diameter at the base to a 39.17mm diameter at ...
$fn=36*2; aussen_durchmesser=150; hoehe=10; halterung_durchmesser=13; halterung_fuss_durchmesser=40; schrauben_durchmesser=4; schrauben_abstand=15; messer_breite=20; messer_laenge=70; messer_diagonale=sqrt(messer_laenge^2+messer_breite^2); messerhalterungschraegediagonale=aussen_durchmesser-halterung_fuss_durchmesser...
glb/cad_d828e155f873.glb
Create a handle for an ice maker by constructing a composite geometric shape. Start with a base prismoid that has a height of 5mm, a length of 103mm, and a width of 49.6mm, featuring rounded corners with a radius of 7mm. Above this, add a second layer that is 2.5mm high, 107mm long, and 53mm wide, with rounded corners ...
include <BOSL2/std.scad> $fn=160; rotate([270,0,0]){ translate([0,0,2.5]) prismoid([103, 49.6], [104.5, 49.6], rounding=7, h=5); difference(){ prismoid([107, 53], [107, 53], rounding=6, h=2.5); translate([0,24.8,0]) cube([120,120,40], anchor=FRONT); } translate([0,...
glb/cad_868764ddf0bb.glb
Create a BTT HDMI5 Display mount for the Bastion printer. The model consists of a rectangular frame and a mounting plate. First, construct a rectangular display frame. The frame features four bolt holes positioned at the corners of a rectangle measuring 99.3mm by 61.8mm. Each bolt hole is a cylinder 6mm high with a 4...
$fn=32; rotate([-45,0,0]) translate([-9.5,1.75,0]) dispFrame(); translate([8.65+0.043,0,3]) rotate([0,180,180]) top_mount(); bot_z=-49.36; translate([8,0,bot_z]) cube([8,6,-bot_z]); translate([107.3-16,0,bot_z]) cube([8,6,-bot_z]); translate([8,0,bot_z])cube([8,49.36,6]); translate([107.3-16,0,bot_z])cube([8,49.36,6]...
glb/cad_6ef0a4c8ed87.glb
Create a shopping trolley coin token and holder. Start by creating a main coin disk with a diameter of 23.25mm and a thickness of 2.33mm. On the face of this disk, emboss the text "3Dprint" with a font size of 3mm, positioned centrally. Next, construct a holder to house the coin. The holder should be a slightly larger...
$fn = 120; mince_d = 23.25; mince_h = 2.33; text_pole = "3Dprint"; translate([0,0,0]) color("blue",1) mince(); translate([0,0,0]) color("red",1) holder(); module t(t, s = 3, style = "") { rotate([0, 180, 0]) linear_extrude(height = 0.7) text(t, size = s, font = str("DejaVu Sans Mono:style=Bold"),...
glb/cad_3c465d242f17.glb
Create a bookmark consisting of a flat, rounded rectangular plate with a total height of 3mm, a width of 16mm, and a length of 50mm. The main body is formed by a hull of four cylinders with a radius of 4.6mm positioned at the corners. Carve a recessed rectangular channel into the center of the plate. This cutout shou...
radius = 4.6; width = 16; length = 50; height = 3; fn = 30; text = ["hello,", "world"]; font = "FUTURE:style=Bold"; text_size = 4; pos_text_y = [3, -3]; x_y_text_offset = [5, 0]; module round_plate(radius, width, length, height, fn){ width = width / 2 - radius; length = length / 2 - radius; hull(){ ...
glb/cad_447e5dfe4597.glb
Create a laptop screen phone support consisting of two mirrored symmetrical components. First, construct the phone holder section. Create a U-shaped channel with an outer width of 28mm, a height of 26.5mm, and a depth of 25mm. The walls and base should be 1.5mm thick. At the top front of this channel, carve out a sem...
AnchoSoporteTelefono = 25; GrosorTelefono = 12; AlturaSoporteTelefono = 25; GrosorParedesSoporteTelefono = 1.5; AlturaAdicionalSoporteTelefono = 30; RadioCurvaSoporteTelefono = 20; PosicionAnchoCurvaSoporteTelefono = 26; PosicionAltoCurvaSoporteTelefono = 24; ProfundidadPantallaPortatil = 16; GrosorPantallaPortatil =...
glb/cad_71ba28616fa4.glb
Create a game organizer insert with a base footprint of 164.2mm x 190mm and a height of 26.2mm. The main body is a rounded rectangular block with 5mm rounded corners. Carve out a large central rectangular cavity measuring 117mm x 86mm x 60mm, positioned at x=21.2mm, y=0mm, and z=1mm. Within this cavity, create a circu...
$fn=200; difference(){ roundedCube5(164.2,190,26.2); translate([21.2,0,0]){ translate([2.4,2.4,1]) roundedCube3(117,86,60); translate([59.4,0,-1]) cylinder(h=400, d=30, center=false); translate([38.6,5,20.2]) rotate([90,0,0]) linear_extrude(30) difference(){square(6);circle(6);} translate([80.2,-5,20.2]) rotate([...
glb/cad_319b8c1e16a1.glb
Create a game organizer component that consists of a rectangular base and a raised back wall. Start by creating a solid rectangular base measuring 100mm in width, 28mm in depth, and 3mm in height. On top of this base, construct a vertical wall that is 10mm wide, 22mm high, and 100mm long. Position this wall so it is ...
$fn=200; translate([0,0,3]) rotate([-12,0,0]) difference(){ cube([100,10,22]); translate([-1,3,0]) cube([250,4,53]); translate([-1,-1,5]) cube([250,5,53]); translate([92,60,14]) rotate([90,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate([8,60,14]) mirror([1,0,0]) rotate([90,0,0]) linear_extr...
glb/cad_8bbeeeeb0b85.glb
Create a rectangular organizer tray with rounded corners, measuring 94mm in width, 52mm in depth, and 29mm in height. The walls should have a thickness of 3mm. Inside this volume, carve out a large central void to create a storage compartment. This void begins 4mm from the bottom and is defined by a combination of a ...
$fn=200; difference(){ roundedCube(94,52,29); translate([0,0,4]){ translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=89.2, d=40, center=false); translate([2.4,2.4,21]) cube([89.2,47.2,40]); translate([2.4,22.4,1]) cube([89.2,27.2,40]); } translate([0,-40,0]){ rotate([-21,0,0]) translate([-2,68,48]) cube([100,3,2...
glb/cad_68a785eef70b.glb
Create a game organizer tray by starting with a rounded rectangular block measuring 94mm wide, 76mm deep, and 29mm high, with corner radii of 3mm. Carve out three distinct internal compartments. The first compartment is located at the front left; create a void by removing a cylinder with a 40mm diameter and a height ...
$fn=200; difference(){ roundedCube(94,76,29); translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=33, d=40, center=false); translate([2.4,2.4,21]) cube([33,71.2,40]); translate([2.4,22.4,1]) cube([33,51.2,40]); translate([35.4,0,0]){ translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=23.9, d=40, center=false); ...
glb/cad_0235c48857ae.glb
Create a game organizer tray by starting with a rounded rectangular block measuring 94mm wide, 76mm deep, and 29mm high, with corner radii of 3mm. Hollow out the interior of this block to create a storage compartment. From the top surface, remove a cylindrical volume with a 40mm diameter and a depth of 8mm, centered ...
$fn=200; difference(){ roundedCube(94,76,29); translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=34.6, d=40, center=false); translate([2.4,2.4,21]) cube([34.6,71.2,40]); translate([2.4,22.4,1]) cube([34.6,51.2,40]); translate([37,0,0]){ translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=21.7, d=40, center=fals...
glb/cad_b8e0dd8e0d60.glb
Create a rectangular organizer tray with rounded corners, measuring 99mm in width, 96mm in depth, and 28.6mm in height. From this solid base, remove the following geometric volumes: First, create a rectangular cutout for cards measuring 92mm by 61mm, positioned 3.5mm from the left and 2.4mm from the front, with a dep...
$fn=200; difference(){ roundedCube(99,96,28.6); translate([3.5,2.4,1]) cube([92,61,100]); translate([0,32.9,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=false); translate([11.75,79.7,6.1]) rotate([0,0,0]) cylinder(h=75, d=21.5, center=false); translate([0,79.7,-1]) rotate([0,0,0]) cylinder(h=75, d=17, center=f...
glb/cad_13a29ab8fde6.glb
Create a rectangular tray with overall exterior dimensions of 96mm in width, 99mm in depth, and 28.6mm in height. The exterior vertical edges should be rounded with a radius of 5mm. Hollow out the center to create a storage compartment that is 91.2mm wide, 94.2mm deep, and 60mm high, leaving a base thickness of 1mm. Th...
$fn=200; difference(){ roundedCube5(96,99,28.6); translate([2.4,2.4,1]) roundedCube5(91.2,94.2,60); } module roundedCube5(x,y,z) { r=5; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } } module roundedCube3(x,y,z) { r=3; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r...
glb/cad_3496d0ad6bb9.glb
Create a rectangular organizer tray with rounded corners, measuring 94mm in width, 62mm in depth, and 29mm in height. The walls should have a thickness of 3mm. From this main body, remove a large central rectangular volume to create a hollow basin. This basin is formed by removing a block 89.2mm wide, 57.2mm deep, and...
$fn=200; difference(){ roundedCube(94,62,29); translate([2.4,22.4,26]) rotate([0,90,0]) cylinder(h=89.2, d=40, center=false); translate([2.4,2.4,26]) cube([89.2,57.2,40]); translate([2.4,22.4,6]) cube([89.2,37.2,40]); translate([0,-30,0]){ rotate([-21,0,0]) translate([-2,68,48]) cube([100,3,20]); translate([150,7...
glb/cad_8c59a1ba387e.glb
Create a rectangular organizer tray with rounded corners, measuring 94mm in width, 88mm in depth, and 29mm in height. The tray is divided into three distinct sections to hold game tokens. The first section is a compartment 24.3mm wide. Inside this section, create a cylindrical void with a 40mm diameter and a depth of ...
$fn=200; difference(){ roundedCube(94,88,29); translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=35.8, d=40, center=false); translate([2.4,2.4,21]) cube([35.8,83.2,40]); translate([2.4,22.4,1]) cube([35.8,63.2,40]); translate([38.2,0,0]){ translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=24.3, d=40, center=fa...
glb/cad_771ec118c3c6.glb
Create a rectangular organizer tray with rounded corners, measuring 94mm wide, 88mm deep, and 29mm high. The interior is hollowed out to create a storage compartment, but the walls and floor maintain a thickness of 2.4mm. Within this main volume, carve out three distinct internal sections. The first section is a cylin...
$fn=200; difference(){ roundedCube(94,88,29); translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=31.8, d=40, center=false); translate([2.4,2.4,21]) cube([31.8,83.2,40]); translate([2.4,22.4,1]) cube([31.8,63.2,40]); translate([34.2,0,0]){ translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=23.9, d=40, center=fa...
glb/cad_24dd58f3e346.glb
Create a game organizer tray by starting with a rounded rectangular block measuring 94mm wide, 72mm deep, and 29mm high, with corner radii of 3mm. From this base, remove several volumes to create storage compartments. First, carve out a cylindrical hole with a 40mm diameter, centered at X=2.4mm, Y=22.4mm, and Z=21mm....
$fn=200; difference(){ roundedCube(94,72,29); translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=50, d=40, center=false); translate([2.4,2.4,21]) cube([50,67.2,40]); translate([2.4,22.4,1]) cube([50,47.2,40]); translate([52.4,0,0]){ translate([2.4,22.4,21]) rotate([0,90,0]) cylinder(h=36.8, d=40, center=false); ...
glb/cad_7d10febc67f8.glb
Create a circular fabric cutting template with a diameter of 101.6 mm (4 inches) and a uniform thickness of 4 mm. On the top surface of the cylinder, create four radial marker slots. Each slot must be a square prism with a 2 mm width and a length of 10 mm. Position these four slots symmetrically around the center, spac...
inch_diameter = 2; thickness = 4; marker_diameter = 2; marker_length = 10; diameter = 25.4*inch_diameter; $fn= 400; difference() { cylinder(h=thickness, d1=diameter, d2=diameter, center=false); for (i = [0:90:270]) { rotate([0,0,i])tic(); } } module tic(){ translate([diameter/2-marker_length,0,thickness]) ...
glb/cad_a0b8a61e7afd.glb
Create a Filament Swatch consisting of a primary cylindrical base with a radius of 22mm and a height of 2mm. Around the top outer edge of this cylinder, add a decorative torus-like ring created by sweeping a 2mm diameter circle centered 22mm from the central axis, positioned 1mm above the base. The center of the model...
material="PLA"; trait=""; brand=""; color=""; tint=""; $fa= $preview? 12: 1; $fs=$preview? 1:0.2; module swatch(material="", trait="", brand="", color="", tint="") { module t(t,s=4) { linear_extrude(2.5) text(t, size=s, font="Liberation Mono:style=Bold" , halign="center", valign="center"); ...
glb/cad_1fb3cf8fa4fc.glb
Create a filler ring for a watch circuit board. Start with a solid cylinder 29mm in diameter and 1.7mm high. Remove a concentric cylindrical hole from the center with a diameter of 23mm. To accommodate the circuit board, carve out a larger concentric ring 28mm in diameter and 2mm high, leaving a thin wall at the outer ...
$fn = $preview ? 32 : 64; difference(){ cylinder(d=29,h=1.7); translate([0,0,-1]) cylinder(d=23, h=5); translate([0,0,0.9]) cylinder(d=28, h=2); translate([-1.5,-17.5,-1]) cube([3,5,7]); translate([0,0,0.5]) cylinder(d=23.8, h=0.6); translate([-0.5,-15,-1]) cube([1,5,7]); } intersection(){ cylinder(d=29,h=2.5); ...
glb/cad_1932140d0d90.glb
Create a Benchtop PSU front panel for an HP DPS-800GB server power supply. Start with a main body that is 54mm wide, 104mm deep, and 43mm high. The front face should be rounded with a 3mm radius. Hollow out the center of the body to create a cavity 54mm wide, 87mm deep, and 20mm high, centered vertically. On the top ...
module rounded_edge(radius, length) { difference() { translate([-(radius+1)/2+1, -(radius+1)/2+1, length/2]) cube([radius+1, radius+1, length], center = true); translate([-radius, -radius, length/2-0.5]) cylinder(r = radius, h = length+4, center = true, $fn = radius*20); ...
glb/cad_be46598879d5.glb
Create a CNC suction add-on consisting of a central rectangular block with rounded ends and integrated cylindrical ports. Start with a main body that is 50mm long, 40mm wide, and 30mm high, centered on the origin. On one end of the block, create a large vertical cylindrical tube with an outer radius of 20mm and a hei...
resolution = 100; module suction() { difference() { union() { translate([20.5, 18.25, 0]) cylinder(r = 10, h = 30, center = true, $fn = resolution); translate([0, 0, -4+15-2]) cylinder(r = 40/2, h = 8, center = true, $fn = resolution); translate([50, 0, -2+15-2]) cylinder(r = 40/2, h = 4, ...
glb/cad_32d63f006deb.glb
Create a Connect-a-Beam differential case. Start with a solid cube measuring 60mm x 60mm x 20mm. Remove a central cube of 40mm x 40mm x 20mm to create a hollow shell with walls 10mm thick. On each of the four 20mm-high side faces, create a series of three circular holes. Position these holes such that they are centere...
base_size=20; part_type = "beam"; peg_space = base_size/10; hole_spacing = base_size/5; hole_d = base_size - hole_spacing*2; clip_bevel = peg_space/3; connector_wall_thickness = base_size/10; tolerance = 0.25; rounding = base_size/5; $fn=60; beam_size_x = 3; beam_size_y = 1; beam_size_z = 1; beam_holes_x = true; beam...
glb/cad_ea73af185e1a.glb
Create a parametric tree trunk protector consisting of identical curved sections that assemble into a cylinder. Each section is a half-cylinder shell with an inside diameter of 80mm, a wall thickness of 5mm, and a total height of 120mm. The shell is split vertically to allow for assembly. Along both vertical edges of...
$fn = 100; protector_ID = 80; wall = 5 ; height = 120; target_hinge_h = 15; hinge_clearance_h = .8; hinge_clearance_d = 1; hinge_pin_dia = 3.1; hinge_OD = 8 ; num_shells = 2; display_all_shells = 0; module tree_protector(protector_ID, wall, height, target_hinge_h, hinge_clr_h, hinge_clr_d, hinge_pin_dia, hinge_OD) { ...
glb/cad_dbb56e80a274.glb
Create a set of replacement parts for a Lotti Karotti board game central pin and support system. First, create a top supporting ring as a hollow cylinder with an outer diameter of 132mm, an inner diameter of 119mm, and a height of 28mm. Subtract four vertical cylinders (36mm diameter, 5mm height) from the walls at 90-...
use <af-basics.scad> hh_top = 5 + 23; hh_bottom = 9; all(); *top_ring(); *bottom_ring(); *pin(); *crown(); module all() { if ($preview) { top_ring(); translate([150, 0, 0]) bottom_ring(); translate([0, -100, 0]) pin(); translate([50, -100, 0]) crown(); translate([0, 150, 0]) top_ring(); ...
glb/cad_3f5da2b1a889.glb
Create a Bastion Microprobe Mount consisting of a rectangular base plate and an attached vertical flange. The base plate is 37.588mm wide, 24mm deep, and 3.381mm thick. Centered on this plate, create four mounting holes with a radius of 1.6mm, positioned 15mm from the center in both X and Y directions. To accommodate h...
$fn=42; difference() { union() { plate(); translate([(37.588-26)/2,-2,12.5]) rotate([-90,0,0]) flange(); } translate([(37.588/2)-15,(22/2)-(13.25/2),2.381]) cylinder(h=12.5+3.381,r=3); translate([(37.588/2)+15,(22/2)-(13.25/2),2.381]) cylinder(h=12.5+3.381,r=3); } module plate() { diffe...
glb/cad_37c08d2f5a08.glb
Create a Siematic inner drawer hook consisting of a flat square base and a central cylindrical riser. Start with a square base plate measuring 42.2mm by 42.2mm with a thickness of 2.2mm. Centered on this base, place a cylinder with a height of 15.6mm and a diameter of 34mm. Refine the cylinder by removing material to...
$fa = 12; $fs = 2; $fn = $preview ? 12 : 72; micron = 0.001; print_margin = 0.3; module tophole() { translate([0, 0, -2.2]) intersection() { zh = 15.6 -2.2 -2.2; translate([0, 0, 2.2]) cylinder(h=zh, d=34-3.4); translate([0, 15.1, zh/2 + 2.2]) cube([11, 42.2, zh], center=true); } } module midhole() {...
glb/cad_682fabd2086c.glb
Create an Oura sizing ring case as a rectangular block with a width of 31mm and a length of 84mm. The walls should be slightly beveled. The top of the block is open, containing eight sequential rectangular slots designed to hold sizing rings. Starting from the first slot, create a series of cutouts centered along the...
RING_DIAM_OFFSET = 0.4; RING_THICKNESS_OFFSET = 0.2; RING_SPACING = 10; BOX_LENGTH = RING_SPACING * 8 + 4; BOX_WIDTH = 31; module side_text(direction) { for (size=[6:13]) { translate([BOX_WIDTH/2, RING_SPACING*direction*(size-9.5), 3]) { mirror([1,0,0]) rotate(90, [0,1,0]) rotate(90...
glb/cad_4775b35c90d5.glb
Create a compact carry case for a screwdriver and four expansion cards. Start with a solid rectangular block measuring 178mm in length, 53mm in depth, and 8mm in height. Along the center of the top surface, carve out four identical rectangular slots for the cards. Each slot should be 30.3mm wide, 32mm deep, and 7mm h...
CARD_WIDTH = 30.3; CARD_DEPTH = 32; CARD_HEIGHT = 7; USBC_WIDTH = 8.3; USBC_HEIGHT = 2.5; USBC_DEPTH = 8; USBC_HEIGHT_OFFSET = 0.5; NUM_CARDS = 4; DRIVER_DIAM = 9.5; DRIVER_SLOT_DIAM = DRIVER_DIAM + 4; DRIVER_LENGTH = 150; DRIVER_TAPER_LENGTH = 15; CARD_SPACING = 6; ALL_CARDS_LENGTH = NUM_CARDS * CARD_WIDTH + (NUM_...
glb/cad_1194745099a0.glb
Create a Cable Clinger designed to hold a bundle of wires. Start by creating a main body consisting of two cylinders with a diameter of 11.4mm (calculated as the bundle diameter of 7.5mm plus two 1.2mm walls) positioned side-by-side and joined by a hull operation. The total height of the object is 40mm. Subtract a cen...
wire_d = 3.75; wire_n = 5; wall_t = 1.2; height = 40; stiffener_depth = 0.6; min_bend_ratio = 6; function circle_packing_factor(n) = (n < 4 ? 3 : sqrt(2*n)); function r_from_sagitta_and_chord(sag, chord) = (4*sag*sag + chord*chord)/(8*sag); module sine_cutout(width, amp, length, thickness, n_steps, phi0, phi1) ...
glb/cad_15d2cdb25948.glb
Create a wargaming ruler by starting with a rectangular base measuring 25.4mm wide, 177.8mm long, and 3mm thick. Divide the length of the ruler into seven equal sections. Within each section, carve out a rectangular recessed channel that is 23.4mm wide, 3.1mm long, and 2mm deep, leaving a 1mm wall around the edges. T...
wdtr = 1*25.4; dptr = 7*25.4; hgtr = 3; epsr = 1; uinc = 1*25.4; wdti = wdtr - 2*epsr; dpti = dptr - 2*epsr; uini = (dptr - 8*epsr)/7; offz = hgtr/2-epsr/2; ofz2 = hgtr/2-epsr; $fn = 360; decx = uinc/2-(uini/2+epsr)/2; decy = -3*uini-3*epsr-(uini/2+epsr)/2; dedx = uinc/2-uini/4; dedy = -3*uini-3*epsr-(uini/2+epsr)...
glb/cad_b9f451896659.glb
Create a magnetic holder for pin bases and goniometer tools starting with a solid rectangular block measuring 65mm in length, 18mm in width, and 30mm in height. Along the top surface, create four identical vertical holes spaced 16.3mm apart, starting 8mm from the left edge. Each hole is a complex stepped profile: begin...
$fn=80; module chamfer(r,h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } difference() { cube([65,18,30]); for (x = [1:4]) { transla...
glb/cad_bb7b11983790.glb
Create a Low-Profile SBS Plate Dummy. Start with a rectangular base measuring 127.76mm by 85.4mm. The bottom section is a solid slab 2.5mm thick, topped with a slightly smaller rectangular block measuring 124.76mm by 82.4mm with a height of 5.5mm, creating a stepped profile. At each of the four corners of the overall ...
$fn = 80; module chamfer(r,h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } module base() { difference() { union() { translate([...
glb/cad_f99fbcf370ff.glb
Create a holder for a Janome HH10b embroidery hoop. Start with a base plate that is 20mm wide, 48mm deep, and 4.4mm thick. From this base, remove a rectangular slot 5mm wide and 10mm long centered at x=7.5mm, y=31.5mm, and a smaller square notch 5mm wide and 5mm long at x=7.5mm, y=10mm. Add a vertical support wall 4.4...
$fn=90; Abstand = 38; Radius = 18; difference(){ union(){ difference(){ translate([0,2,0]) cube([20,46,4.4]); translate([7.5,31.5,0]) cube([5,10,4.4]); translate([7.5,10,0]) cube([5,5,5]); } translate([15.6,2,0]) cube([4.4,46,Abstand + Radius]); transl...
glb/cad_50128292718d.glb
Create a can opener tool designed to lift pull-tabs. The main body is a composite organic shape formed by blending several geometric primitives. Start by creating a central thickened section that transitions from a rounded top to a wider base. At the top, incorporate a rounded, lever-like head. The lower portion of t...
$fn = 120; dira = true; translate([0,0,0]) otvirak_big(); module otvirak_big() { difference() { union() { translate([0,5,0]) scale([1.5,1.5,1]) packa(); hull() { translate([0,5,2.0]) scale([1.5,1.5,0.4]) packa(); translate([0,-10,2.0]) cylinder(d=8,h=0.8); } h...
glb/cad_e8e5d5c1c99f.glb
Create a laptop stand by starting with a solid rectangular block that measures 39mm in width, 49.5mm in depth, and 43mm in height. From this main volume, remove a smaller rectangular section to create a hollow interior. This cutout should be 36mm wide, 13.55mm deep, and 50mm high. Position the cutout so that it starts ...
L=36; T=13.5; H=40; B=3; e=0.05; difference(){ cube([B+L,2*B+30+T,B+H],false); translate([B,B,B+5]) rotate([-7,0,0]) cube([L+e,T+e,H+10],false); }
glb/cad_6a07fc3173e7.glb
Create a laptop stand by constructing a base rectangular slab and adding two spherical ends. Start with a thin rectangular plate measuring 39mm wide, 67mm long, and 0.8mm thick. At each end of this plate, center a sphere with a radius of 19.5mm. To create the final open-channel shape, remove a central rectangular volum...
$fn=180; L=36; T=13.5; H=40; B=3; e=0.05; r=(L+B)/2; t=0.8; cube([2*r,2*B+30+T,t],false); difference(){ union(){ translate([r,0,0]) sphere(r); translate([r,2*B+30+T,0]) sphere(r); } union(){ translate([-e,-r-e,-r-e]) cube([2*(r+e),2*(r+e)+2*B+30+T,r+e]); translate([-e,-e,t]) cube([2*(r+e),2*e+2*B+30...
glb/cad_3f2c39fa82ec.glb
Create a modern lamp shade by starting with a main cylinder 170mm tall with a radius of 87.5mm. Remove a central vertical cylindrical hole with a radius of 13.25mm that runs through the entire height of the object. At the base, create a bevel by removing a conical section from the bottom 50mm of the cylinder, tapering ...
IndentCount = 25; Height = 170; Radius = 87.5; $fn = 250; difference() { cylinder(h=Height, r=Radius); difference() { cylinder(h=50, r1=Radius, r2=Radius); cylinder(h=50, r1=Radius / 2, r2=Radius); } for (i = [1:360 / IndentCount:360]) { rotate([0, 0, i]) { translate([Radius * 1.4, 0, Height / 2]) { ...
glb/cad_108f473c37a9.glb
Create a dry erase cleaner holder by constructing a hollow cylinder with an outer diameter of 32mm and an inner diameter of 27mm, extending to a height of 50mm. The cylinder should be rendered with a low facet count of 32 sides to create a faceted, prismatic appearance. The bottom of the cylinder must remain open. Atta...
difference() { cylinder(50, 32, 32, center=true); cylinder(51, 27, 27, center=true); } translate([0, 0, -25]) { difference() { cylinder(5, 32, 32, center=true); cylinder(6, 20, 32, center=true); } } translate([27, -10, 15]) { cube([26, 20, 10]); } translate([48, -10, 0]) { cub...
glb/cad_c809225160de.glb
Create a Low-Profile Simple SBS Plate. Start with a base rectangular block measuring 127.76mm x 85.4mm x 10.5mm. The bottom section is a solid slab 2.5mm thick, while the upper section is a smaller centered block measuring 124.76mm x 82.4mm x 8mm. Remove a large central rectangular volume from the underside and top t...
$fn = 80; module chamfer(r,h) { translate([r / 2, r / 2, 0]) difference() { cube([r + 0.01, r + 0.01, h], center = true); translate([r/2, r/2, 0]) cylinder(r = r, h = h + 1, center = true); } } module base() { difference() { union() { translate([...
glb/cad_b62322a36f86.glb
Create a Bosch MUM shredder bushing consisting of a tiered cylindrical body with a central vertical cutout. Start with a base flange that is 23mm in diameter and 2mm thick. Above this flange, create a main cylindrical body with an outer diameter of 19.8mm and a height of 12mm. On top of this section, add a further cy...
$fn= $preview ? 16:128; inf=200; not=0.001; d(){ u(){ cylinder(d=23,h=1.5+.5); cylinder(d=19.8,h=12); cylinder(d=19,h=14+not); t([0,0,14]) cylinder(d1=19,d2=18,h=2); t([0,0,16]) cylinder(d=18,h=9); t([0,0,25-1]) cylinderRounded(d=[0,18+1],h=1,r=[0,0.5,0,0.5]); i(){ for(a=[0,120,240]) r(a) cubeRou...
glb/cad_2ffb7ffb9f0a.glb
Create a Community Bottle Dryer PVC coupler consisting of three stacked coaxial sections. Start with a bottom hollow cylinder with an outer diameter of 12.5mm, an inner diameter of 11mm, and a height of 10mm. On top of this, add a tapered transition section 5mm high that flares outward from an outer diameter of 12.5mm ...
skinny_h = 10; taper_h = 5; pvc_d = 12.3; dryer_d = 12.5; wall_t = 1.5; $fs=0.2; module skinny_pvc() { difference() { cylinder(d=pvc_d, h=skinny_h); cylinder(d=pvc_d - wall_t, h=skinny_h); } } module skinny_dryer() { difference() { cylinder(d=dryer_d, h=skinny_h); cylinder...
glb/cad_4ee4ecd4fb63.glb
Create a PVC coupler fitting for a bottle dryer consisting of four stacked concentric sections. Start with a base hollow cylinder 10mm high with an outer diameter of 15.1mm and an inner diameter of 13.1mm. Directly on top of this, add a 5mm high tapered section that transitions from an outer diameter of 15.1mm at the b...
skinny_h = 10; taper_h = 5; pvc_od = 12.3; dryer_id = 13.1; wall_t = 2; $fs=0.2; module skinny_pvc() { difference() { cylinder(d=pvc_od, h=skinny_h); cylinder(d=pvc_od - wall_t, h=skinny_h); } } module skinny_dryer() { difference() { cylinder(d=dryer_id + wall_t, h=skinny_h); ...
glb/cad_1d3d48394955.glb
Create a mobile phone holder consisting of a slanted rectangular platform supported by a base. Start with a main rectangular plate measuring 70mm by 100mm with a thickness of 2mm, tilted at a 30-degree angle. To support this plate, create two parallel rectangular legs, each 4mm wide and 70mm long; position one at the...
$fn=50; module table_top() { translate([0, 0, 18]) rotate([30, 0, 0]) { cube([70, 100, 2]); translate([5, 2, 2]) rotate([0, 0, -33]) rotate([-90, 0, 0]) cylinder(h = 110, d =10); ...
glb/cad_61baf02cada1.glb
Create a set of quasi-bricks arranged in a 10 by 10 grid. Each individual brick is based on a regular hexagon with a radius of 10mm. To form the 3D geometry of a single brick, create a hexagonal prism with a height of 100mm. Intersect this prism with two identical hexagonal plates, each with a thickness of 0.01mm. Posi...
module quasibrick(r=10){ a=r/2; alpha=.5*atan(.5); intersection() { hull(){ linear_extrude(height=.01) polygon([for(i=[1:6])(r*[cos(i*60),sin(i*60)])]); translate([1.5*a,0,a/2]) rotate([0,alpha,0]) linear_extrude(height=.01) polygon([for(i=[1:6])(1.25*r*[cos(i*60),sin(i*...
glb/cad_ef5ffeccfe17.glb
Create a silicone heat bed mount spacer by constructing a thick, hollow cylinder. The main body should be a smooth cylinder with an outer diameter of 16mm and a total height of 7mm. Centered vertically and horizontally through the entire height of the object, add a circular hole with a diameter of 4mm to create a ring-...
height = 7; outer = 16; inner = 4; $fn = 100; difference() { cylinder(h = height, d = outer, center = true); cylinder(h = height+1, d = inner, center = true); }
glb/cad_4a3242547704.glb
Create a Bastion Stadium Lightbar stand. Start with a main rectangular block measuring 125mm in length, 10mm in width, and 6mm in height. At the four corners of this base, add four vertical rectangular posts, each 8mm wide, 10mm deep, and 30.7mm tall. On top of these posts, place a horizontal beam that is 125mm long, 1...
$fn=32; stand(); module stand() { difference() { union() { difference() { cube([125,20,6]); translate([(125/2),10,0]) cylinder(h=6,r=1.6); translate([(125/2)-25,10,0]) cylinder(h=6,r=1.6); translate([(125/2)+25,10,0]) cylinder(h=6,...
glb/cad_e501fb91cbf6.glb
Create a two-part electronics enclosure consisting of a holder and a cover for an ESP8266 readout device. For the holder, start with a rectangular base measuring 100mm x 32mm x 5.5mm. Add a vertical wall along the back measuring 100mm x 2mm x 41mm. Create a central cutout in this wall that is 70mm wide and 39mm high....
generate="both"; $fn = 128; base = [100, 32, 5.5]; easy_wall = [base.x, 2, 41]; easy_notch_width = 3; easy_notch_dist = 85; easy_notch_height = 26; easy_notch_thick = 1.5; easy_notch_mid = 65; easy_notch_mid_w = 5; easy_notch_mid_h = 35; easy_notch_dip_w = 8; easy_mid_h = 39; easy_mid_w = 70; led_info_d = 3.9; le...
glb/cad_c9da2b571b36.glb
Create a Ski Drill Jig Template consisting of five stacked rectangular blocks. Each block has a height of 20mm and a width of 23.95mm (nominal size 8.95mm plus 15mm). The blocks are spaced 13.95mm apart along the Y-axis. For each block, create a central vertical hole with a 30-facet resolution. The diameter of these h...
nominal_size=8.95; step=0.05; steps_down=1; steps_up=3; height=20; text_depth=1; margin=.01; $fn=30; spacing=nominal_size+5; min_size=nominal_size-steps_down*step; max_size=nominal_size+steps_up*step; sizes=[for (i=[min_size : step : max_size+margin]) i]; echo(min_size); echo(max_size); echo(sizes); for(i=[0:steps_...
glb/cad_9f38c5ce2d97.glb
Create a rectangular block for a ski drill jig template with a total height of 20mm. The block should have a width of 24.25mm (nominal size 9.25mm plus 15mm) and a depth of 15.25mm (nominal size 9.25mm plus 6mm). Within this block, create five aligned vertical holes. The diameters of these holes should range from 9.15...
nominal_size=9.25; step=0.05; steps_down=2; steps_up=2; height=20; text_depth=1; margin=.01; $fn=30; spacing=nominal_size+5; min_size=nominal_size-steps_down*step; max_size=nominal_size+steps_up*step; sizes=[for (i=[min_size : step : max_size+margin]) i]; echo(min_size); echo(max_size); echo(sizes); for(i=[0:steps_...
glb/cad_fd7cd08e2a49.glb
The provided code is a collection of OpenSCAD modules designed to create 2D vector-style icons (like a gift, star, key, clock, pen, pin, and YouTube logo) using cubic Bézier curves. It includes a helper function to calculate points along a Bézier curve and a module to render these as polygons. Below is a summary of th...
faces_segment = 12; textstring1="KEEP CALM"; textstring2="CARRY ON"; textstring3=""; HiddenText=""; textalign="left"; special_character_left="🐶"; special_emoji_left=""; flip_right_character=false; special_character_right=""; special_emoji_right=""; distance_special_char = 0.5; textsize1=16; textsize2=16; ...
glb/cad_961faa87350e.glb
Create a Magnetic Battery Box for 3 AA batteries. The model consists of two main parts: a holder and a cover. Construct the holder as a base with three cell compartments. Each compartment is designed for a battery with a diameter of 14.5mm and a length of 50.5mm. The base should have a bottom thickness of 5mm. Incorpo...
part = "holder"; cells = 3; AACellLength = 50.5; AACellDiameter = 14.5; nozzle_diameter = 0.4; magnet_diameter = 10; magnet_height = 3; magnet_height_cover = 1.0; magnetClearance = 0.1; center_channe...
glb/cad_2ac4ad4a2bc7.glb
Create a 3D model of the AWS Athena logo. Start with a triangular base plate with a side length of 454mm and a thickness of 113.5mm. On top of this base, place a series of vertical rectangular pillars of varying heights and widths. The pillars are arranged in two main groups. The first group consists of four pillars ...
logo_base_size=454; logo_base_height=logo_base_size*.25; pillar_z_offset = 2; pillar_7_x_scale = .25; pillar_7_z_scale = 5; pillar_spacing = .1; pillar_vs_base_scaling_factor = .6; normal_pillar_base = .15; wide_pillar_base = .25; analytics_pillar_support_height = 230; module analytics_pillar(base_ratio, ...
glb/cad_127ccfdc9324.glb
Create a 3D model of the AWS Athena logo. Start with a triangular base plate created by extruding a right-angled triangle with legs of 454mm and a thickness of 113.5mm. On top of this base, place a series of rectangular pillars of varying heights and widths. Each pillar consists of a square base and a taller rectangul...
logo_base_size=454; logo_base_height=logo_base_size*.25; pillar_z_offset = 2; pillar_7_x_scale = .25; pillar_7_z_scale = 5; pillar_spacing = .1; pillar_vs_base_scaling_factor = .6; normal_pillar_base = .15; wide_pillar_base = .25; analytics_pillar_support_height = 230; module analytics_pillar(base_ratio, ...
glb/cad_d01e535dbc05.glb
Create a handheld case for a 7.5-inch E-Ink display. Start with a main base plate as a rounded box with dimensions 208.5mm in width, 115mm in depth, and 1mm in height, using a corner radius of 5mm. On the back of this base, add a raised rectangular hump to house the logic board. This hump should be 60mm wide, 115mm d...
use <MCAD/boxes.scad> use <virtuoso/utils.scad> isDraft = false; case_pad_x=3; case_pad_y=3; case_pad_z=1; case_logic_board_x=30; case_logic_board_overlap_x=30; case_logic_board_z=17; logic_bracket_pad=2; display_view_x=164.5; display_view_y=99; display_view_z=1; display_view_y_top_offset=4; display_view_y_bottom_...
glb/cad_9bcaf4804886.glb
Create a handheld case for a 7.5-inch E-Ink display. Start with a base plate that is 208.5mm wide, 118mm deep, and 1mm thick, featuring rounded corners with a 5mm radius. In the center of this plate, create a rectangular cutout for the display viewable area measuring 164.5mm by 99mm, with a depth of 11mm. Add a displa...
use <MCAD/boxes.scad> use <virtuoso/utils.scad> isDraft = false; case_pad_x=3; case_pad_y=3; case_pad_z=1; case_logic_board_x=30; case_logic_board_overlap_x=30; case_logic_board_z=17; logic_bracket_pad=2; display_view_x=164.5; display_view_y=99; display_view_z=1; display_view_y_top_offset=4; display_view_y_bottom_...
glb/cad_38258ac8f4b6.glb
Create a 3D mockup of a Pi Zero W board. Start with a base PCB as a rounded box measuring 65mm x 30mm x 1.4mm with a corner radius of 5mm. Remove four cylindrical screw holes with a radius of 1.5mm, positioned 2.25mm inset from the edges. On top of the base, add a GPIO header as a block measuring 51mm x 6.25mm x 0.6mm...
use <MCAD/boxes.scad> pi_x=65; pi_x_pad=4.5; pi_y=30; pi_y_pad=1.5; pi_z=1.4; pi_z_pad=2.25; pi_board_z=1.4; pi_pcbs_z=1.8; pi_gpio_x=51; pi_gpio_y=6.25; pi_gpio_z=.6; pi_screw_r=3/2; pi_screw_inset=2.25; pi_usb_overhang=1.5; pi_usb_x=8; pi_usb_y=8; pi_usb_z=3.1; pi_hdmi_overhang=1.5; pi_hdmi_x=11.25; pi_hdmi_y=8;...
glb/cad_9627b367f84c.glb
Create a 3D mockup of a Pi Zero W board. Start with a main PCB base as a rounded box with dimensions 65mm in length, 30mm in width, and 5mm in height, using a corner radius of 5mm. Remove four cylindrical screw holes with a radius of 1.375mm each. Position these holes symmetrically, inset 2.25mm from the edges of the...
use <MCAD/boxes.scad> pi_x=65; pi_x_pad=4.5; pi_y=30; pi_y_pad=1.5; pi_z=5; pi_z_pad=2.25; pi_board_z=1.4; pi_screw_r=2.75/2; pi_screw_inset=2.25; pi_usb_overhang=1.5; pi_usb_x=8; pi_usb_y=8; pi_usb_z=3.1; pi_hdmi_overhang=1.5; pi_hdmi_x=11.25; pi_hdmi_y=8; pi_hdmi_z=3.6; pi_cam_overhang=2; pi_cam_x=12; pi_cam_y=8...
glb/cad_676e4df1bc82.glb