Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a Flowerpot for Five Mini-Cactus. Start by constructing a boat-shaped base with a flat bottom of 0.6mm thickness and a total height of 65mm. The base should have a curved, organic outer perimeter, but the rear section must be squared off with a flat cut. Add a 3mm high guardrail border around the top edge, maint...
$fa=0.01; $fs=1; scalefactor = [1.2, 1.2]; scaleMoveCenter=50; hDrainage=10; hPot=51; dPotLower=41; dPotUpper=55; bordersize= 3; wall=2; flooor=0.6; hBoat = hPot+hDrainage+flooor+bordersize; xBoatUpper = 326.4+17; xBoatLower = xBoatUpper/scalefactor[0]; cutBackUpper=32; cutBackLower=cutBackUpper/scalefactor[0]; ...
glb/cad_0ebe63053a88.glb
Create a Roomba Cliff Sensor Cap. Start by constructing a base shape that is a hull of two circles, each with a radius of 9mm, spaced 12mm apart along the X-axis. To this hull, add a smaller central circle with a radius of 3mm, offset slightly by 0.6mm to create a grip feature. Extrude this combined profile to a height...
$fa=0.01; $fs=1; wallXY=0.9; wallZ=1; rr=9; ll=30; hh=5.5; griprr=rr/3; gripdepth=.6; cutybelow(-11.45+1.25) difference() { minkowski() { obj(ll, rr, hh); movez(-wallZ) cylinder(r=wallXY, h=wallZ, $fs=.1); } obj(ll, rr, hh+1); } module obj(ll, rr, hh) { cutzbelow(0) rotx(30) movey(-...
glb/cad_d45410126347.glb
Create a Nikon EN-EL14a Battery Cap by constructing a hollow shell with a wall thickness of 1.6mm. The outer perimeter is defined by a 2D polygon with vertices at [0,0], [35.8, 0], [39.55, 4.5], [39.55, 12.8], [35.8, 15.8], and [0, 15.8], extruded to a total height of 15mm. The interior is hollowed out using a smalle...
$fn=50; dt1=0.01; dt2=dt1*2; prt_delta=0.4; wall=0.8; walls=2*wall; outer_points = [[0,0],[34.2+walls,0],[37.95+walls, 2.9],[37.95+walls, 11.2+walls],[34.2+walls, 14.2+walls],[0, 14.2+walls]]; shell_points= [[0, 0],[34.2+walls, 0],[37.95+walls, 2.9],[37.95+walls, 11.2+walls],[34.2+walls,14.2+walls],[0, 14.2+walls],...
glb/cad_0a72a9e1b8cb.glb
Create a plastic end cap for an aluminum LED profile. Start by forming a base block that is 19.5mm wide, 11mm deep, and 2mm thick. To this base, add a rectangular wall section centered on the back that is 19.5mm wide, 9mm deep, and 3mm high, but with a hollow center removed to create a thin-walled shell; this interior ...
$fn = 90; union() { union() { intersection() { translate([0, -21.92, 1]) cylinder(d = 64.87, h = 2, center = true); translate([0, 5.5, 1]) cube([19.5, 11, 2], center = true); }; }; union() { difference() { translate([0, 4.5, 3.5]) cube([19.5, 9, 3], center = true); translate([0, 5, 3.5]) cube([17...
glb/cad_4288d5b0843b.glb
Create a plastic end cap for an aluminum LED profile. Start by constructing a main body that is 19.5mm wide, 11mm deep, and 2mm thick. To this base, add a rectangular wall section centered on the top surface that is 19.5mm wide, 9mm deep, and 3mm high, but carve out a smaller interior rectangular volume from this wall ...
$fn = 90; union() { difference() { union() { union() { intersection() { translate([0, -21.92, 1]) cylinder(d = 64.87, h = 2, center = true); translate([0, 5.5, 1]) cube([19.5, 11, 2], center = true); }; }; union() { difference() { translate([0, 4.5, 3.5]) cube([19.5, 9, 3], cent...
glb/cad_7e0220e806d7.glb
Create a 3-pin JST male connector PCB mount by starting with a solid cube measuring 15mm x 15mm x 8.5mm. Remove a large rectangular section from the top and side to create a recessed opening measuring 10mm wide, 8.2mm high, and 6.45mm deep, leaving a wall thickness of 1.35mm on one side. Cut a wide cable channel throug...
$fn=50; difference(){ cube([15,15,8.5]); translate([13.5,7.5-4.1,1.35]) cube([10,8.2,6.45]); translate([13.5,3.4,7.5]) cube([5,2.6,6]); translate([13.5,9,7.5]) cube([5,2.6,6]); translate([-10,7.6-3.6,1.4+2.85]) cube([27,7,2.3]); translate([6.5,3.75,-1]) drills(); } module drills() { translate([0,0,0]) cylinder(...
glb/cad_0ef31b3accdb.glb
Create a NeoPixel Bottle Stand by starting with a main cylinder 70mm in diameter and 25mm high. Hollow out the center of this cylinder with a smaller concentric cylinder that is 65mm in diameter and 10mm deep, starting from 20mm up from the base. Near the top, create a ring-shaped ledge by removing a central cylinder 1...
$fn=400; h = 25; d = 70; dPixel = 23; difference(){ cylinder(h,d/2,d/2); translate([0,0,h-5]) cylinder(10,d/2-2.5,d/2-2.5); pixelRing(h); inside(); mountHoles(); } module pixelRing(){ difference(){ translate([0,0,h-8]) cylinder(10,dPixel,dPixel); translate([0,0,h-8]) cylinder(10,dPixe...
glb/cad_087577947147.glb
Create a cable car bearing housing by constructing a vertically stacked series of cylinders with a central hole. Start with a base cylinder 0.5mm high with a diameter of 27.5mm. On top of this, add a second cylinder 2.5mm high with a diameter of 23.6mm. Add a third cylinder 1mm high with a diameter of 23.6mm. Above tha...
$fn=400; inner_diameter = 22.1; outer_minimal_diamter = 23.6; outer_maximal_diamter = 27.5; height_top_part2 = 0.5; height_top_part1 = 2.5; height_middle_part = 1; height_bottom_part2 = 2.5; height_bottom_part1 = 0.5; drill_height = 10; difference(){ union() { cylinder(height_...
glb/cad_0bfe77de5a4d.glb
Create a cable car bearing holder by constructing a series of stacked, concentric cylinders with a central hole. Start with a wide base cylinder 11mm in diameter and 1mm high. On top of this base, center a second cylinder 22mm in diameter and 1mm high. Above that, place a third cylinder 11mm in diameter and 2mm high. F...
$fn=400; outer_diameter = 7.95; innerring_diameter = 11; bearing_diameter = 22; drill_diameter = 2.9; difference(){ union() { cylinder(9,outer_diameter/2,outer_diameter/2); cylinder(2,innerring_diameter/2,innerring_diameter/2); cylinder(1,bearing_diameter/2,bearing_diameter/2); } translate([0,0,-1]...
glb/cad_4de28375f04f.glb
Create a tablecloth clamp by starting with a rounded rectangular block measuring 20mm wide, 74mm long, and 28mm high, with all corners rounded to a 5mm radius. Cut a deep rectangular slot 1.4mm wide and 42mm long into the top face, centered width-wise and positioned 14mm from the top edge, to create a gripping jaw. At ...
$fn=400; difference() { minkowski() { cube([10,64,18]); cylinder(r=5,h=1); } translate([4.3,14,-1]) cube([1.4,42,22]); translate([4.3,-10,-1]) cube([0.6,30,22]); translate([5,59,-1]) cylinder(r=5, h=22, center=false); rotate([0, 90, 0]) translate([-10,35,5.5]) cylinder(10,1.65...
glb/cad_d9f3873e2cd4.glb
Create a replacement leaf for an IKEA MASKROS lamp. Start by constructing a central circular hub with a diameter of 10.5mm and a height of 18mm. Around this hub, arrange 15 identical rectangular blades, each measuring 7mm wide, 88mm long, and 0.4mm thick. These blades should be positioned so that they radiate outward f...
$fn=100; difference(){ union() { for(a=[0:24:360]) s(a); cylinder(0.4,36/2,36/2); } translate([0,0,0.3]) cylinder(0.2,21/2,21/2); translate([0,0,1]) cylinder(30,1.7,1.7,true); translate([0,6,1]) cylinder(30,1.7,1.7,true); translate([0,-6,1]) cylinder(30,1.7,1.7,true); } module s(r) { rotate([0,0,r]) tran...
glb/cad_3007f9ef1e62.glb
Create a D-duino-B case for a WiFi Packet Monitor. Start by constructing a main rectangular body that is 46mm wide, 30mm deep, and 14.2mm high. Add two thin vertical walls, each 2mm thick, positioned at the far left and right edges of the body, extending from the base to the full height of 14.2mm. On the top surface,...
$fn = 100; h = 30; difference() { union() { translate([-2.2,0,-4]) cube([2,h,14.2]); translate([32.8,0,-4]) cube([2,h,14.2]); translate([-6.5,0,10.2]) cube([46,h,3]); translate([-0.2,0,-4]) cube([2,h,2]); translate([31,0,-4]) cube([2,h,2]); translate([39,h/2,10.2]) cylinder(3,h/2,h/2); translate([-7,h/2,1...
glb/cad_6b31a797c158.glb
Create a D-duino-B case for a WiFi Packet Monitor. Start by constructing a rectangular base plate measuring 66mm in length, 33mm in width, and 3mm in height, positioned from x=-3 to x=63 and y=-28 to y=5. Enclose this base with four outer walls, each 2mm thick and 2mm high, situated 10mm above the base plane. Add thre...
$fn=100; difference() { union() { stand(0,0); stand(60,-23.2); stand(0,-23.2); translate([-2.8,-25.9,9]) cube([65.6,28.8,3]); translate([-3,2,10]) cube([66,3,2]); translate([-3,-28,10]) cube([66,3,2]); translate([-5,-28,10]) cube([3,33,2]); translate...
glb/cad_b5919bb65741.glb
Create a D-duino-B Case for a WiFi Packet Monitor. Construct the model using a series of thin rectangular plates, each with a thickness of 3mm. First, create a base plate measuring 37mm by 3mm and position it at the bottom. From the ends of this base, extend two vertical walls upwards to form a frame. One wall should b...
$fn = 10; h = 3; translate([-3.2,0,-6]) cube([3,h,48.50]); translate([32.8,0,-6]) cube([3,h,19.68]); translate([-2.2,0,10.2]) cube([37,h,3]); translate([-0.2,0,-6]) cube([2,h,2]); translate([31,0,-6]) cube([2,h,2]); rotate([0,40,0]) translate([-29.7,0,30.5]) cube([48.33,h,3]);
glb/cad_2f79635b1d2b.glb
Create a D-duino-B WiFi Packet Monitor case. Start with a main rectangular body defined by four outer walls and a base. The base is a flat plate measuring 66mm by 29mm with a thickness of 2mm, positioned at a height of 10mm. The side walls are 12mm high and 2mm thick; two walls run parallel along the 66mm length, and t...
$fn=100; difference() { union() { stand(0,0); stand(60,0); stand(0,-23.2); translate([-3,-26,10]) cube([66,29,2]); translate([-3,3,0]) cube([66,2,12]); translate([-3,-28,0]) cube([66,2,12]); translate([-5,-28,0]) cube([2,33,12]); translate([63,-28,0]...
glb/cad_4f41fd207b66.glb
Create a circular filter disk for a pipe. Start by constructing a main outer ring with an outer diameter of 71.4mm, an inner diameter of 71mm, a thickness of 2.5mm, and a height of 10mm. Add a second, smaller concentric ring on top of the first with an outer diameter of 45mm, an inner diameter of 44mm, a thickness of 1...
$fn=400; difference() { union() { filterstaebe(); ring(71.4,71,2.5,10); ring(45,45,1,2); } cylinder(20,2.5,2.5); } module ring(diameter,diameter2,thickness,height) { difference() { cylinder(height,diameter/2,diameter2/2); translate([0, 0, -1]) { cylinder(height+2,...
glb/cad_17d706a2027f.glb
Create a circular filter insert for a pipe with an outer diameter of 120mm. The object consists of a series of concentric rings and a radial spoke pattern. Start with a base ring that has an outer diameter of 124mm and a height of 4mm. On top of this, add a second ring with an outer diameter of 116mm and an inner dia...
$fn=400; d = 120; ht_rohr_filter(d); module ht_rohr_filter(d1) { d1 = d1-4; difference() { union() { filterstaebe(d1); ring(d1,d1,2.5,12); ring(d1/1.5,d1/1.5,1,2); ring(d1+4,d1+3.5,2.5,4); translate([0,0,11]) ring(d1+0.4,d1,2.5,1); translate([0,0,10]) ...
glb/cad_0e5e07dbcb51.glb
Create a Case for 3D printer mainboard GT2560. Construct the main body as a rectangular enclosure with a base measuring 118.5mm by 92mm and a height of 35mm. The walls are 2mm thick. On the side panels, incorporate reinforcement blocks at the corners and along the edges, specifically adding a 9mm by 92mm by 3mm reinfo...
moved = 30; sc_upleft = -6; sc_upright = 6; sc_lowleft = -6; sc_lowright = 6; sc_up_height = -2; sc_low_height = 2; cutout_usb = 1; module main_body() { cube( [ 118.5 , 92 , 2 ] ); cube( [ 1.5 , 92 , 35 ] ); translate( [ 0 , 90 , 0 ] ) cube( [ 105.5 , 2 , 35 ] ); translate( [ 0 , 0...
glb/cad_0527da37a84a.glb
Create a Wheel Nut Indicator by constructing a thick, circular ring with a protruding pointer. Start with a main outer cylinder that has a height of 10mm and a diameter of approximately 34.64mm (30mm divided by the cosine of 30 degrees). Attach a small cylindrical pointer to the side of this main body; the pointer shou...
$fn = 64; wouter = 30; winner = 25; wtaper = 1; npoints = 36; hinner = 10; houter = 10; hpointer = 5; lpointer = 30; rpointer = 3; eps = 0.01; rotate ([0, 0, 180+60]) difference () { union () { cylinder (h = houter, d = wouter / cos (30)); hull () { cylinder (h = hpoin...
glb/cad_64a2bc87cd2f.glb
Create a hard disk drive cover for a laptop. Start with a base composed of two intersecting rectangular prisms: one measuring 75mm by 7mm by 1mm and another measuring 75mm by 1mm by 13mm, both meeting at a common edge. At the end of the model, centered at coordinates (80, 6, 0), add a 16-sided polygonal cylinder with a...
wall=1; eps=0.1; $fn=16; module cover(){ difference(){ union(){ cube([75,7,wall]); cube([75,wall,13]); translate([80,6,0]) difference(){ union(){ cylinder(d=8,h=2.5); translate([-0.5,-2.5,2.5/2]) cube([9,7,2.5],cen...
glb/cad_6fa10327a902.glb
Create a static mixer and nozzle assembly consisting of two main components. First, construct the mixer. Create a hollow tube with an outer diameter of 15.6mm, an inner diameter of 12mm, and a total height of 90mm. Inside this tube, create 15 alternating mixing stages, each 6mm high. Each stage consists of a rectangul...
use <threads.scad>; eps=0.1; $fn=32; cutaway=false; show_cap=false; show_mixer=true; show_nozzle=true; two_part=true; bottom_h=24; bottom_straight_h=6; bottom_straight_d=19; bottom_d=26; thread_h=13; thread_d=24; tube_h=90; tube_id=12; tube_wall=1.2; tube_od=tube_id+2*tube_wall; mixer_h=6; mixer_wall=1.2; ...
glb/cad_8f93b7c33851.glb
Create a WC pusher plate compatible with Geberit Sigma systems. The assembly consists of a main body, two bridge components, and several screws. Construct the main body as a rounded rectangular plate with a front section measuring 237mm x 152mm x 8mm and a back section measuring 208mm x 123mm x 5mm. Create a central c...
use <threads.scad> eps=0.1; $fn=32; bridge_x_pos = [91,161]; bridge_keyhole_offset=-15; screw1_h=36; screw2_h=80; is_print=false; is_split_body=true; front_x = 237; front_y = 152; front_z = 8; front_dim = [front_x,front_y,front_z]; front_y_offset=-2; back_x = 208; back_y = 123; back_z = 5; back_dim = [back_x,b...
glb/cad_3d35a8f43a11.glb
Create a hygrometer stand by constructing a base and a supporting backrest. Start with a rectangular base measuring 52mm by 52mm with a thickness of 3mm. The bottom edges and corners of the base should be rounded with a radius of 1.5mm. Create a supporting backrest by taking a similar rectangular slab, 52mm by 26mm, an...
hygro_d=42; wall=3; size_x = 52; size_y = size_x; size_y_base = size_y/2; a_x = 75; module base(y=size_y){ hull() for (dx = [-1,1], dy=[0,1]) translate([dx*size_x/2,dy*y,0]) sphere(d=wall,$fn=16); } rotate([a_x]) base(size_y_base); difference(){ base(); translate([0,size_y/2,0]) cylinder...
glb/cad_d9f49eccd792.glb
Create a shade for a lantern flashlight by constructing a hollow, flattened spherical shell. Start with a sphere 120mm in diameter, scaled along the Z-axis by 0.5 to create an oblate spheroid. To form the walls, subtract a smaller concentric oblate spheroid with a diameter of 117.6mm. Constrain the outer boundary of th...
eps=0.1; $fn=128; sphere_z_offset = -7; shade_sphere_d = 120; shade_cutoff_d = 115; shade_z_scale=0.5; rim_d = 65; wall = 1.2; module shade_sphere(){ difference(){ translate([0,0,sphere_z_offset]) intersection() { scale([1,1,shade_z_scale]) sphere(d=shade_sphere_d); cylinder(d=sha...
glb/cad_06deaa3b6a6e.glb
Create a 3D signet of the Chaos Communication Camp 2019 rockets. The model consists of a flat, extruded 2D graphic with a total thickness of 2mm. Construct the shape by extruding a complex profile that represents three stylized rockets. The overall design is scaled by a factor of 10. The geometry is defined by a sing...
fudge = 0.1; zsize = 2; line_fn = 4; min_line_width = 1.0; line_width_scale = 1.0; function min_line_mm(w) = max(min_line_width, w * line_width_scale) * 96/25.4; path821_0_center = [0.000000,0.000000]; path821_0_points = [[8.004894,7.571717],[7.505020,6.776137],[6.942749,6.048907],[6.321829,5.392232],[5.646008,4.80831...
glb/cad_49af4f9b00e5.glb
Create a 3D signet of the Chaos Communication Camp 2019 rockets. The model is a flat, extruded 2D graphic with a uniform thickness of 2mm. The design consists of a stylized rocket silhouette. Construct the main body as a rounded, aerodynamic capsule shape. Add two smaller, curved fins extending from the lower sides o...
fudge = 0.1; zsize = 2; line_fn = 4; min_line_width = 1.0; line_width_scale = 1.0; function min_line_mm(w) = max(min_line_width, w * line_width_scale) * 96/25.4; path817_0_center = [0.000000,0.000000]; path817_0_points = [[9.844007,14.016650],[9.259871,11.761833],[8.423502,9.556404],[7.338426,7.407419],[6.008172,5.321...
glb/cad_4da83ce881cd.glb
Create a wedge for an IKEA Samla tray insert. Start by constructing a solid shape using a hull operation between two centered rectangles: a base rectangle measuring 37mm by 10mm by 1mm, and a top rectangle measuring 25mm by 26.5mm by 1mm positioned 86mm above the base. This creates a tapered block with a total height o...
translate([0,0,50]) rotate([180,0,0]) difference(){ hull(){ cube([37,10,1],center=true); translate([0,0,86]) cube([25,26.5,1],center=true); } translate([0,0,5]) rotate([90,0,0]) cylinder(d=5,h=50,center=true,$fn=16); translate([0,0,87-8]) rotate([90,0,0]) cylinder(d=5,h=50,center=true,$...
glb/cad_4837c461b285.glb
Create a parametric desk hole cover. Start by constructing a main cylinder with a radius of 38mm and a total height of 50mm, centered on the origin. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 35mm (3mm less than the outer radius) and a height of 60mm. To create t...
CIRCLE=true; RADIUS=38; COVER=12; THICKNESS=3; COVER_THICKNESS=1; HEIGHT=50; STRAIGHT_LENGTH=30; difference(){ union(){ cylinder(HEIGHT, RADIUS, RADIUS, center=true); translate([0, 0, HEIGHT/2]){ cylinder(COVER_THICKNESS, HEIGHT, HEIGHT);} } cylinder(60, RADIUS-THICKNESS, RADIU...
glb/cad_419f23315ccd.glb
Create a parametric corner hole jig with a thickness of 1mm. Start by creating a main circular disk with a radius of 21mm. From this disk, remove a smaller concentric circular area with a radius of 19mm to create a ring. To form a right-angle corner, remove a square section from the disk using two intersecting cubes: o...
$fn=20; corner_distance=20; pad=0.5; hole_rad=6/2; outer_rad = corner_distance*(pad+1); th = 1; union(){ difference(){ cylinder(h=th, r=outer_rad, center=true,$fn=50); cylinder(h=th*1.2, r=corner_distance*(1-pad), center=true,$fn=50); translate([-outer_rad,-outer_rad,-th]) cube([...
glb/cad_8d1062726b10.glb
Create a parametric spice rack consisting of five identical adjacent units. For each unit, start with a solid cube measuring 50.1mm in width, 50.1mm in depth, and 30mm in height, centered on the origin. Hollow out the center of this cube by removing a smaller centered cube measuring 46.9mm in width, 46.9mm in depth, an...
perimeters = 2; layer_width = 1.6; layer_height=0.8; thickness=layer_width * perimeters; module spice_unit(width, height, notch=true){ difference(){ cube([width+thickness, width+thickness, height], center=true); translate([0,0,layer_height*2]) cube([width, ...
glb/cad_3ec0e97ba793.glb
Create a bike phone holder consisting of a protective sleeve and a mounting bracket. First, construct the phone sleeve as a hollow rectangular shell with rounded corners. The inner dimensions are 73mm wide by 139mm high, with a wall thickness of 0.8mm and an overall depth of 11mm. The corners should have a radius of ...
inner_width = 73; inner_height = 139; rad = 5; thickness = 0.8; depth = 11; width = inner_width + (thickness * 2) - (2 * rad); height = inner_height + (thickness * 2) - (2 * rad); buttons_hole = 42; buttons_hole_w = 6; rant = 7; over = 70; buttons_h = 74; mount_angle = 10; inner_mount = 16.25; outer_mount = 20; mount_...
glb/cad_ad40d4a6e35f.glb
Create a Folding Ruler Marking Gauge consisting of a base, a clamping lever, and a front fence. Start with a base block that has a central rectangular tunnel for the ruler. The tunnel is 16.6mm wide and 8mm high. The base has a total height of 11.5mm and a length of 15mm. The side walls of the base are 5mm thick. In...
$fa=1*1; $fs=0.25*1; ruler_width = 16.6; ruler_thickness = 8.0; base_length = 15; lever_length_over_base = 15; guide_height = 11.5; fence_length = 20; fence_height = 12.5; fence_angle = 0; print_adjust = 0.4; cutout_adjust = 0.4; wall_thickness = 5 + 0.0; housing_base_height = 15 + 0.0; housing_width = rule...
glb/cad_4f9ae1a708b7.glb
Create a parametric headphone hanger with a depth of 30mm and a wall thickness of 2mm. Start by constructing a vertical support structure that fits over a shelf. This base consists of a rectangular profile 18mm wide and 42mm high (comprising a 40mm support height plus the 2mm thickness). From this base, extend an arm...
SHELF_WIDTH=18; TOP_SHELF_SUPPORT=40; BOTTOM_SHELF_SUPPORT=10; HEADPHONE_ARC_WIDTH=40; HEADPHONE_ARC_HEIGHT=16; THICK=2; DEPTH=30; rad=1; translate([0, -TOP_SHELF_SUPPORT-THICK, 0]) difference(){ cube([DEPTH,TOP_SHELF_SUPPORT+THICK, SHELF_WIDTH+2*THICK]); hull(){ translate([-THICK/2,TOP_SHELF_SUPPO...
glb/cad_cb747f8c9eab.glb
Create a parametric embroidery thread holder. Start with a rectangular base plate measuring 24mm in width, 100mm in length, and 2mm in height. Apply a 2mm corner radius to the top and bottom Z-axis edges of the plate. Cut 16 square holes through the plate, each measuring 10mm by 10mm with a 2mm corner radius. Arrange ...
$fs = 0.15; module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") { size = (size[0] == undef) ? [size, size, size] : size; translate_min = min(radius, min(size)/2); translate_xmax = size[0] - translate_min; translate_ymax = size[1] - translate_min; translate_zmax = size[2] - trans...
glb/cad_5830f82166d2.glb
Create a parametric stacking can shelf system consisting of three parts: ends, rails, and supports. For the ends, create a rectangular block 10mm thick. The face is a rectangle with a width of 110mm (can diameter 90mm plus two 10mm supports) and a height of 28mm (20% of the can diameter plus 10mm base). Subtract a cyl...
use <C:\Users\Adam\3D Objects\lib\mcad\regular_shapes.scad>; model = "end"; can_diameter = 90; end_gap = 70; support_width = 10; can_h_coverage_percent = 0.20; rail_diameter = 5; peg_width = 5; peg_height = 10; end_depth = 10; end_can_clearance = 20; can_top_clearance_height = 20; $fn = 360; end_rail_hole_o...
glb/cad_a9b3e35a9aac.glb
Create a contact-less food delivery sign by starting with a rectangular base measuring 200mm wide, 140mm long, and 0.6mm thick. On top of this base, add embossed text and symbols with a height of 0.6mm. Center the word "Food" with a font size of 20mm at a position 70% of the way up the length of the base. Below that,...
food_word = "Food"; deliveries_word = "Deliveries"; thanks_text = "Thank You!!!"; module __Customizer_Limit__ () {} production = 1; jpeghq = 0; $resolution = (production && !$preview) ? 150 : (jpeghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$resol...
glb/cad_49aa973bf851.glb
Create a magnetic nameplate base by starting with a rectangular block 220mm wide, 60mm long, and 4mm high. Modify this base by adding two angled wings that fold upward from the long edges. Each wing is a rectangular slab 220mm wide, 18mm high, and 4mm thick, rotated 60 degrees relative to the base. To create the fold...
module __Customizer_Limit__ () {} production = 1; pnghq = 0; $resolution = (production && !$preview) ? 150 : (pnghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$resolution); } else { echo("Producing DRAFT quality"); echo("Resolution",$resolution); ...
glb/cad_06d02981fe2b.glb
Create a magnetic nameplate starting with a rectangular base measuring 220mm wide, 54mm deep, and 3mm high. In this base, create three circular holes to accommodate magnets, each with a diameter of 6.2mm and a depth of 2mm. Position one hole at the center of the front edge, and one hole at each of the two front corners...
text_row_1 = "Alexia G. Hale"; text_row_2 = "H.R. Group Manager"; module __Customizer_Limit__ () {} production = 1; pnghq = 0; $resolution = (production && !$preview) ? 150 : (pnghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$resolution); } else { ...
glb/cad_2980cb5eab27.glb
Create a customizable stool consisting of a top platform, two long supports, and two legs, all with a thickness of 18.5mm. The top platform is a rectangular slab 355.6mm long by 203.2mm wide. It features rounded corners with a radius of 800mm and a centered handle cutout 150mm long by 50mm wide with rounded ends. On ...
top_length=14*25.4; top_width=8*25.4; top_thickness=18.5; top_radius=800; top_radius_offset=20; top_handle_length=150; top_handle_width=50; top_handle_flip=0; tab_length=30; tab_depth=10; tab_position_x=10; tab_position_y=20; tab_bit_diameter=4.5; tab_tolerance=0.2; long_support_length=12*25.4; long_support_width=75;...
glb/cad_a7039f8a495e.glb
Create a parametric wall knob consisting of two separate parts: a tall cylindrical sleeve and a shallow cylindrical cap. First, construct the tall piece as a cylinder with a diameter of 9mm and a height of 33mm. Bore a hole through the center of this cylinder with a diameter of 4mm. Within this central void, carve ou...
end_diameter=9.5; end_thickness=4; cylinder_diameter=9; cylinder_height=33; screw_diameter=4; screw_counterbore=6; thread_diameter_inner=8; thread_pitch=2.5; thread_scale=0.9; $fn=100; include <simplethreads.scad>; translate([-end_diameter/2,0,0]) tall_piece(); translate([end_diameter/2,0,0]) end_piece(); module ...
glb/cad_a3f6e8e93c01.glb
Create a parametric wall knob consisting of two separate components: a tall cylindrical sleeve and a flat circular cap. First, construct the tall piece as a cylinder with a diameter of 16mm and a height of 30mm. Bore a 6mm diameter hole straight through the center of this cylinder. Into the bottom of this cylinder, c...
end_diameter=40; end_thickness=4; cylinder_diameter=16; cylinder_height=30; screw_diameter=6; screw_counterbore=10; thread_diameter_inner=14; thread_pitch=3; thread_scale=0.9; $fn=100; include <simplethreads.scad>; translate([-end_diameter/2,0,0]) tall_piece(); translate([end_diameter/2,0,0]) end_piece(); module ...
glb/cad_6acfab24d2ee.glb
Create a garden plant flag with a total thickness of 2mm. The main body consists of a flat rectangular tag connected to a narrow spike. The spike should be 10mm wide and 70mm long, extending downwards from the tag. The transition between the spike and the tag should be rounded with a 5mm fillet. The tag portion is a h...
line_1 = "Sample Text"; line_2 = ""; text_size = 8; include_brace = true; min_width_ch = 0; spike_length = 70; spike_width = 10; width_scale_factor = 0.85; fillet = 5; thickness = 2; tag_width = max(len(line_1), len(line_2), min_width_ch) * text_size * 0.85; tag_height = len(line_2) == 0 ? 3 * text_size : 4 * text_s...
glb/cad_27f1926863b8.glb
Create a Clipsal Iconic 40 Series Mech body. Start with a central socket that is a cube 21.65mm wide and 15mm high with 0.5mm fillets on the vertical edges. On the top face of this socket, center a circular hole 15mm in diameter that penetrates 0.6mm deep. Surround the top of the socket with a ring 23mm in diameter and...
Q=180; F=0.5; socketOuter=21.65; socketInner=19.8; socketHeight=15; socketWall=0.6; buttonDiameter=15; mechTransition=1.75; mechWidth=23.5; mechHeight=28.75-mechTransition-socketHeight; mechFillet=1.5; clipDepth=1.3; clipOffset=3.5; clipInnerRadius=0.1; clipOuterRadius=4; clipWidth=10; skirtThickness=0.6; skirtLen...
glb/cad_fd11a8bbd927.glb
Create an Anderson Plug Mounting Plate consisting of a rectangular base with a raised central housing. The base is a flat plate measuring 48mm in length, 37mm in width, and 4mm in thickness. Centered on this base, create a rectangular housing with outer dimensions of 37mm by 16mm and a height of 48mm. The walls of this...
width=37; height=16; length=48; connect=17.25; screw1=22.5; screw2=41.5; x=1; y=1; lip=15; wall=4; spacerx=2; spacery=2; include <BOSL/constants.scad> use <BOSL/masks.scad> difference() { union() { difference() { translate([-lip-wall,-lip-wall,0]) cube([lip*2+wall*2+(width+spac...
glb/cad_95e33b2db043.glb
Create a Mini R56 Speedometer Bracket designed as a curved clip with a flat backing plate. Start with a circular backing plate that has an outer radius of 76mm and a thickness of 5mm, with a central hole of radius 67mm removed from it. Build a top clipping element consisting of a tapered cylinder that transitions fro...
raInner = 70; raOuter = 70+53; deInner = 38; deOuter = 43; raLip = 1; deLip = 0.5; wall = 3; plate = 5; cone = 12; quality=360; intersection() { translate([-30,60,-2]) linear_extrude(height=deOuter+plate+4) polygon([[0,0],[0,45],[25,68],[35,68],[60,45],[60,0]]); union() { dif...
glb/cad_e2d1772f9dd4.glb
Create a door vent consisting of a flat rectangular base and a raised rectangular frame. The outer base plate should measure 452mm in length and 92mm in width with a thickness of 2mm. Centered on this base, construct a raised rectangular frame with outer dimensions of 452mm by 92mm and a height of 20mm. Inside this fra...
BORD = 17; L_OUT= 452; l_OUT= 92; L_IN = 430; l_IN = 77; H = 20; THICK= 2; module door_vent(L_out, l_out, h_out, L_in, l_in, h_in) { difference() { union() { linear_extrude(h_out) square([L_out, l_out], center=true); linear_extrude(h_in) offs...
glb/cad_bccc21ed43a6.glb
Create a tablet holder clip with a total height of 24mm. The profile is based on a combination of rounded geometric shapes and cutouts. Start with a central circular ring with an inner diameter of 10mm and a wall thickness of 3mm. To the left of this ring, integrate a rounded rectangular section that extends 15mm upwar...
$fn = 40; BOT = 15; TOP = 15; INNER = 10; LIP = 5; THICKNESS = 3; HEIGHT = 24; smoothing = 1.4; linear_extrude(HEIGHT) offset(r=+1) offset(r=-1) union() { offset(r=smoothing) translate([smoothing, 0]) { translate([0, BOT]) { rotate(25) square([THICKNESS - (2*smoothing), TOP]); ...
glb/cad_3dd174211df0.glb
Create a Flower Pot Wall Mount consisting of a base plate and a vertical back wall, both 10mm thick. The base is a rectangular plate 84mm wide by 65mm deep with rounded corners (2mm radius). On the top surface of this base, centered at the rear, add a semi-circular protrusion with a radius of 25mm. Attached to the ba...
EPAISSEUR = 10; module vis() { translate([0, 0, -.05]) union() { translate([0, 0, 2.05+3])cylinder(h=.1+EPAISSEUR-3, r=5, center=false); translate([0, 0, 2]) cylinder(h=.1+3, r1=3, r2=5, center=false); translate([0, 0, -.05])cylinder(h=.1+EPAISSEUR+2,r=3, center=false); } } modu...
glb/cad_b4a711cd015b.glb
Create a Particle Analysis Mesh Funnel clip designed to mount onto a rectangular bar. Start by creating a main rectangular bracket body with a width of 57.15mm (2.25 inches), a depth of 58.03mm (approximately 2.28 inches), and a height of 4mm. From the center of this body, create a vertical threaded hole with a diame...
include <BOSL/constants.scad> use <BOSL/masks.scad> use <BOSL/threading.scad> $fn = 40; intomm = 25.4; barX = 2.25 * intomm; barY = (2.25+(1/32)) * intomm; barZ = 0.75 * intomm; barGAP = (1/16) * intomm; threadD = 50; clipZ = 4; grab_edge = 2; grab_depth = 1; grab_loss = 5; bracket(); module shakertray(){ ...
glb/cad_7842aa7fde0a.glb
Create a Particle Analysis Mesh Funnel tray by starting with a solid base formed from the convex hull of two cylinders, each 70mm in diameter and 14mm high, positioned 165mm apart along the x-axis and centered at z = -4. From this base, remove a central horizontal slot created by the convex hull of two cylinders, each ...
include <BOSL/constants.scad> use <BOSL/masks.scad> use <BOSL/threading.scad> $fn = 100; intomm = 25.4; difference(){ translate([0,0,-4]) hull(){ cylinder(d=70, h=14); translate([165,0,0]) cylinder(d=70, h=14); } hull(){ translate([0,0,3]) cylinder(d=50, h=8, center=true);...
glb/cad_ed5fba9155bc.glb
Create a Particle Analysis Mesh Funnel consisting of a threaded base and a hollow hopper. Start by creating a threaded rod with a diameter of 49.5mm, a length of 6mm, and a pitch of 2mm. Centered on top of this base, add a tapered transition section that rises 5mm, expanding from the 49.5mm base diameter to a diameter ...
include <BOSL/constants.scad> use <BOSL/masks.scad> use <BOSL/threading.scad> $fn = 40; screwLoss = 0.5; actualScrewD = 50; screwD = actualScrewD - screwLoss; screwZ = 6; taperZ = 5; hopperD = 60; hopperZ = 30; walls = 1; funnel(); module funnel(){ difference(){ union(){ threaded_rod(d=...
glb/cad_6563b4c3c19a.glb
Create a mounting bracket for a speaker with an overall footprint of 75mm wide by 170mm long and a thickness of 8mm. Start with a solid block of these dimensions and remove material to create a recessed central area. This recess should be 62mm wide, starting 6.5mm from each side edge, and 5mm deep. The recess is divide...
intersection() { cube([75,170,8]); union() { difference() { cube([75,170,8]); translate([6.5,0,3]) { cube([62,27.5,5]); } translate([15,27.5,3]) { cube([45,14.5,5]); } translate([6.5,42,3]) { ...
glb/cad_65f8c5cf603c.glb
Create a 7 Petal Flower Fixture consisting of seven identical petal segments arranged radially around a central axis. Each petal is defined by a 2D polygon with vertices at [0,0], [25,0], [37.5, 6.54], [50, 13.08], [37.5, 19.63], and [25, 25.71], which is then extruded to a height of 2mm. To form the 3D structure, du...
include <AWTRoutines.scad>; $fn = ($preview) ? 36 : 72; petals = 7; petalAngle = 360/petals; touchDiameter = 50; touchCir = touchDiameter * PI; hh=2; function coord2D(d,a)=[d*cos(a),d*sin(a)]; ptA=[touchDiameter/2,0]; ptB=[touchDiameter/2*cos(petalAngle),touchDiameter/2*sin(petalAngle)]; ptC=[touchDiameter*.75*cos(...
glb/cad_dfd26be0ad52.glb
Create a Christmas Picture Matt by starting with a rectangular base plate measuring 215mm wide by 210mm high with a thickness of 1mm. Cut a rectangular window through the center of this plate that is 160mm wide and 110mm high, positioned such that it is centered horizontally and offset vertically to leave a border. Bel...
base_thickness = 1; base_width = 215; base_height = 210; frame_window_width = 160; frame_window_height = 110; frame_window_offset = [base_width/2 - frame_window_width/2, base_height/2 - frame_window_height/2 + 30]; picture_Font="Revamped:style=Regular"; difference(){ back_matt(base_thickness...
glb/cad_ff4baddcbaa8.glb
Create a Saguaro cactus shopping chip by constructing a flat 3D object with a uniform height of 2.33mm. Start with a main circular base that has a radius of 11.625mm. From the top of this circle, extend a central rectangular trunk upwards with a width of 15mm and a length of 50mm, capping the top of the trunk with a se...
$fn=500; RADIUS = 23.25/2; HEIGHT = 2.33; module chip() { cylinder(2.33, RADIUS, RADIUS); } module center(length = 50, thickness = RADIUS*2-2) { difference() { union() { cylinder(HEIGHT, thickness/2, thickness/2); translate([-thickness/2,0,0]) cube([thickness,length, HEIGHT]); ...
glb/cad_1067dccfce3b.glb
Create a Stringing Test model consisting of two vertical cylinders connected by a flat base. Start by creating a rectangular base plate that is 50mm wide, 14mm deep, and 2mm thick. Position two cylinders with a diameter of 10mm and a height of 60mm vertically on this base, centered at each end so that their centers are...
$fn=1000; difference() { union() { cylinder(60,5,5); translate([40,0,0]) cylinder(60,5,5); } translate([-5,4,10]) cube([50,1,1]); translate([-5,4,20]) cube([50,1,1]); translate([-5,4,30]) cube([50,1,1]); translate([-5,4,40]) cube([50,1,1]); translate([-5,4,50]) cube([50,1,1])...
glb/cad_3d640de6bce2.glb
Create a component sleeve for a bar by constructing a hollow cylinder with an outer diameter of 20mm and an inner diameter of 17mm. The cylinder should have a total length of 30mm. To create the specific open-ended geometry, remove a section of the cylinder such that a 17mm diameter hole is cut through the center along...
$fn=100; ir=8.5; or=10; partlength=30; module fullCyl(height) { difference() { cylinder(height, or, or); translate([0,0,-.1]) cylinder(height + .2,ir, ir); } } difference() { translate([0,partlength/2,0]) rotate([90,0,0]) fullCyl(partlength); cylinder(partlength, ir...
glb/cad_c73049e0451d.glb
Create a tube end cap wedge clamp designed for a tube with an inner diameter of 18.6mm and an outer diameter of 22.5mm. The main body is a cylinder with a diameter of 18.6mm and a total height of 30mm. At the center of the model, carve a vertical hole with a diameter of 6mm that runs through the entire length to acco...
tube_id=18.6; tube_od=22.5; radius=5; id_l=15; $fn=40; screw_d=6; head_h=4; head_td=screw_d+head_h*2; module base(){ cylinder(d=tube_id,h=id_l); difference(){ translate([0,0,id_l])rotate_extrude()translate([(tube_od-radius*2)/2,0])circle(r=radius); cylinder(d=tube_od+2*radius,h=id_l); } #translate([0,0,id_...
glb/cad_84b135698640.glb
Create an antiroll cage for a Shure GLXD2 wireless handset by constructing a thin octagonal ring. Start with a regular octagonal prism that has an outer diameter of 55mm and a height of 8mm. Centered within this prism, remove a cylindrical core with a diameter of 37mm to create a hollow ring. Ensure the outer octagonal...
od=51+4; id=37; th=8; difference(){ cylinder(d=od,h=th,$fn=8); translate([0,0,-0.1])cylinder(d=id,h=th+1,$fn=40); }
glb/cad_17243b1434e6.glb
Create a Reely Dart front bumper support with a total thickness of 5mm. The main body is a flat plate with a width of 53.5mm and a length of 68mm. At the front end (y=0), place two 6mm diameter cylinders with a height of 5mm, centered at x = ±26.75mm. At the rear end (y=68mm), place two more 6mm diameter cylinders wi...
hole_M3=3.2; part_th=5; L1_x=53.5; L2_x=28; L2_y=68; L2_z=9; L3_x=15; L1_f1=35; L1_f1_W=34; L1_f2=25; L1_f3=23; L1_f2_W=22; L3_rot=20; L3_y=96; part_10450(); module side_form(i){ a2=[[0,0],[0,L1_f1],[L2_z,L2_y-L1_f2],[L2_z,L2_y],[L2_z+i-2,L2_y],[L2_z+i-2,L2_y-L1_f2-1],[i-2,L1_f1-1],[i-2,0]]; translate([L1_f...
glb/cad_54da146faf4d.glb
Create a spectacle holder tape mount by starting with the base geometry of a Brilliant Amur spectacle holder. Modify this shape by adding a small rectangular block measuring 6mm by 2mm by 6mm, centered at the coordinates (0, -2, 30), to the overall structure. To finalize the mount, remove a rectangular section from the...
difference(){ union(){ spect_holder_imp(); translate([0,-2,30])cube([6,2,6],center=true); } #translate([0,1,8])cube([20,2,26],center=true); } module spect_holder_imp(){ color("red") translate([-6.5,22,0])import(file="..\\..\\\spectacle_holder\\files\\Brilliant_Amur.stl"); }
glb/cad_b2fc3df9055f.glb
Create a Space Invader hook and matching screw cap. The main body is a pixelated figure composed of cubes with an edge length of 8mm and a base thickness of 6mm. Construct the figure based on a grid where the pixels are arranged in a specific pattern: the first row has pixels at indices 2 and 8; the second row at 3 and...
spaceInvader = 6; edgeLength = 8; strength = 6; holeRadius = 3.0; pixel_connection_strength = edgeLength/10; $fn=50; make_hole = "yes"; make_hook = "yes"; minkowski_factor=10; translate([0,0,0])cylinder(r=2*holeRadius-0.2,h=1); si_1=[[0,0,1,0,1,0,0],[0,1,1,1,1,1,0],[0,1,0,1,0,1,0],[1,1,1,1,1,1,1],[1,0,1,0,1,...
glb/cad_c6db467fa83f.glb
Create a nutcracker consisting of a hexagonal base and a matching threaded screw. For the base, create a hexagonal prism with an outer width of 52mm and a total height of 45mm. Hollow out the center with a cylinder 40mm in diameter and 40mm deep, leaving a 5mm thick solid bottom. The top edge of the hexagon should be...
use <..\..\99_library\Thingiverse-Projects-master\Threaded Library\Thread_Library.scad> part=0; outer_sw=52; inner_dia=40; length=40; bottom=5; bb_text="YANC"; mink_dia=3; mink_faces=8; scr_h_sw=32; scr_h_h=12; scr_length=45; scr_pitch=5; scr_dia=21.5; module push_screw(){ translate([0,0,scr_length-0.1])mi...
glb/cad_d895ef4e89d6.glb
Create an Arduino Mini case consisting of a rectangular box with a base width of 26mm, a length of 53mm, and a height of 20mm. The walls should be 1.5mm thick. At the bottom of the case, create a rectangular cutout measuring 17.5mm by 15mm with a height of 3mm. On the exterior of the two shorter sides, add mounting t...
base_h=20; base_w=26; base_l=53; wall_th=1.5; feather_comp=1; lower_dia=4; upper_dia=2.5; lower_height=3; upper_height=3; module base_box(){ linear_extrude(base_h)difference(){square([base_w,base_l]); translate([wall_th,wall_th])square([base_w-wall_th*2,base_l-wall_th*2]); } cube([base_w,base_l,wall_th]); transl...
glb/cad_e172967ed153.glb
Create a rectangular electronics case for an Arduino Mini with external dimensions of 26mm width, 53mm length, and 20mm height. The main body is a hollow shell with a wall thickness of 1.5mm. On the two shorter sides, centered along the length, add mounting tabs that extend outward. Each tab consists of a rounded pro...
base_h=20; base_w=26; base_l=53; wall_th=1.5; feather_comp=0; lower_dia=4; upper_dia=2.5; lower_height=3; upper_height=3; module base_box(){ linear_extrude(base_h)difference(){square([base_w,base_l]); translate([wall_th,wall_th])square([base_w-wall_th*2,base_l-wall_th*2]); } cube([base_w,base_l,wall_th]); transl...
glb/cad_5d08cae877db.glb
Create a dog bone connector by starting with a cylinder that has a diameter of 35mm and a height of 16mm. From this main body, remove a central hole that runs through the center of the cylinder along its longitudinal axis; this hole must have a diameter of 4.5mm and a length of 40mm to ensure it passes completely throu...
hole_dia=35; hole_depth=16; rod_dia=4.5; square_flats=4.1; square_flath=5.1; module sectional_pc(){ linear_extrude(hole_depth){ difference(){ circle(d=hole_dia,$fn=50); union(){ translate([-hole_dia/2,0,0])square(hole_dia); translate([-hole_dia/2,-1.5*hole_dia+1,0])square(hole_dia); } } } } module connect...
glb/cad_54b023c9df0a.glb
Create a uArm universal accessory mount consisting of a mounting plate and a connecting tongue. Start by creating a rectangular mounting plate with dimensions 20mm wide, 3mm thick, and 35mm high. In this plate, create a grid of six holes, each 4mm in diameter. The holes should be arranged in two columns of three, with ...
$fn=100; InsertThick = 6; InsertWitdh = 12; InsertLength = 18; x_mount=20; y_mount=3; z_mount=35; mount_hole=4; hole_space=10; holes_or="X"; holes_row=3; holes_col=2; uArm_tongue_NUT(); difference(){ mount_plate(); mount_plate_holes(); } module mount_plate_holes(){ if (holes_or=="Z"){ for(i = [1 : holes_row],...
glb/cad_d275b512c0de.glb
Create a LED diffusor consisting of a base and a conical top. Start by constructing a hollow cylinder for the base with an outer radius of 12.5mm and an inner radius of 11mm, reaching a height of 17mm. Within this base, create a central vertical hole with a radius of 4mm that extends to a height of 22mm. Add a bevel to...
rotate ([180,0,0]) difference () { union (){ difference () { cylinder (h=17,r=12.5,$fn=100); translate ([0,0,-1]) union(){ cylinder (h=17,r=11,$fn=100); cylinder (h=22,r=4,$fn=100); } } } translate ([0,0,23]) cylinder (h=5,r1=10.5,r2=12); } wall=1; difference () { rotate_extrude...
glb/cad_f1083e6b8695.glb
Create a steam locomotive poke for a model railway. The object consists of a thin, flat pin with a circular loop at one end. Start by creating a ring with an outer diameter of 7mm and an inner diameter of 6mm, with a total thickness of 1.5mm. From the outer edge of this ring, extend a straight rectangular shaft that is...
dh = 1.5; dd = 1.0; d_r = 7.0; o_r = 0.5 * d_r - 0.5 * dd; linear_extrude(height = dh) { translate([0, 0]) { ring(); translate([0, 65 + o_r]) square([dd, 130], center = true); } *translate([10, 0]) { ring(); translate([0, 50 + o_r]) square([dd, 100]...
glb/cad_ceba6c8b5faf.glb
Create a Diag64cart Case consisting of a top and bottom shell that fit together to enclose a PCB. The overall external dimensions of the case are 68.38mm wide, 71mm long, and 20mm deep, with rounded corners of 4.1mm and edges of 2mm. Construct the main body as a hollow rectangular shell with a wall thickness of 1.6mm....
part = "both"; debossed_stripes = 1; label_hole = 0; add_feet = 0; PCB_length = 66 + 5; post_y = 43.90; post_diameter = 5; $fs=1.2; $fa=10; EPSILON = 1/128; ORIGINAL_PCB_LEN = 84; ORIGINAL_POST_Y = 43.36; ORIGINAL_POST_DIA = 5; module frustum(x, y, z, x2, y2) { linear_extrude(height=z, scale=[x2/x, y2/y]) ...
glb/cad_c55804cf89a7.glb
Create a case lock replacement part by constructing a hollowed-out shell. Start with a main body formed by the convex hull of a 18x28x13.5mm cube and a 6x28x3mm cube positioned at x=17.5, y=0, z=0. From this volume, remove a cylinder with a 10mm radius centered at x=-13, y=0, z=13, oriented along the y-axis. To create...
module shell() { difference(){ hull(){ cube([18, 28, 13.5]); translate([17.5, 0, 0]) cube([6,28,3]); $fn=30; translate([20, 0, 9.9]) rotate([-90,0,0]) cylinder(h=28, r=3.5); translate([-15,3, 0]) ...
glb/cad_32aeba07f229.glb
Create a remote control light mount with an outer shell measuring 42.5mm wide, 113.2mm high, and 23.5mm deep. The shell has a wall thickness of 3mm. Hollow out the center to create a rectangular pocket measuring 36.5mm by 110.2mm by 16.5mm. At the top and bottom centers of the back wall, create two vertical mounting h...
module __Customizer_Limit__ () {} production = 1; pnghq = 0; $resolution = (production && !$preview) ? 150 : (pnghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$resolution); } else { echo("Producing DRAFT quality"); echo("Resolution",$resolution); ...
glb/cad_dcb3027ae294.glb
Create a Dovetail Track Nut key by starting with a wedge-shaped prism. The main body is a linear extrusion 30mm long with a trapezoidal cross-section: the base width is 11.7mm and the top width is 8.73mm (calculated from a 14-degree angle over a height of 6.3mm). Center a vertical cylindrical hole with a diameter of ...
base = 11.7; height = 6.3; angle = 14; length = 30; bolt_pt_to_pt_dia = 9.16; bolt_head_thickness = 2.8; bolt_shaft_dia = 5; x=tan(angle)*height; render_offset=0.005; difference(){ rotate([-90,0,0])linear_extrude(height=length, center=true,convexity = 10) translate([-base/2,-height/2,0])polygon(points=[[0...
glb/cad_fdbd868404bd.glb
Create a Dovetail Matchfit knob. Start with a central hub that is a cylinder with a radius of 10mm and a height of 13.5mm. Add a 0.5mm chamfer to the top and bottom edges of this hub. On top of the hub, place a boss cylinder with a radius of 7mm and a height of 4.5mm. Around the central hub, create two symmetrical nub...
$fs = 1 * 1; mm = 25.4 * 1; size = 11; nubs = 2; knob_outer_radius = 19; hub_radius = 10; handle_outer_radius = 3.8; handle_inner_radius = 6.7; handle_thickness = 13.5; handle_chamfer = 0.5; boss_thickness = 4.5; boss_radius = 7; boss_chamfer = 0.0; slop = 0; nut_rad = 0.505 * mm / 2; nut_height = 1/8 * mm...
glb/cad_b74db8aacf41.glb
Create a MagSafe Charging Stand consisting of a body and a base. For the body, create a cylindrical form with a diameter of 76mm and a thickness of 8mm. Cut a central circular hole with a diameter of 56.5mm and a depth of 5mm. On the outer face of this cylinder, add three small circular holes with a diameter of 2.5mm...
use <../lib/threads.scad> use <../lib/m3.scad> Charger_Diam= 61.5; Ball_Diam=17; Charger_Thread_Diam=21.5; MagSafeDiam=56.5; MagSafeThick=5; phone_w=76; phone_l=151; thickness = 8; BackThick = 1.5; RimHeight=20; function getSocketDiameter(d, wall_thick=3) = d+2*wall_thick; function getNutDiameter(d, wall_thick=3, sp...
glb/cad_6a45c0624cfe.glb
Create two identical replacement buttons for a CTH-48 pen, positioned mirrored along the Z-axis. Each button is constructed from a series of joined geometric primitives. Start with a base layer 0.5mm thick, formed by the convex hull of two 3mm diameter cylinders spaced 11.5mm apart center-to-center. Above this, add a m...
$fn=50; thick = 0.5; buttond = 2.5; buttontopw = 2.5; buttonholel = 26; inner_ledge = 3; module button_presser() { pressorw = 10; translate([0,0,thick]) hull() { dia = 3.0; translate([inner_ledge/2 + dia/2 + 0.5,0,0]) cylinder(d=dia, h=buttond); translate([buttonh...
glb/cad_c320744880e5.glb
Create a storage holder for a mini drill by starting with a rectangular base block measuring 220mm in length, 80mm in width, and 17mm in height, with all corners rounded by a 4mm radius. Carve a complex negative cavity into the top surface to house the tool. This cavity begins with a central cylindrical bore 18mm in di...
$fn=64; module drill() { adapt=0.5; sphere(d=17+adapt); cylinder(d=17+adapt, h=90); hull() { translate([0,0,90-0.1]) cylinder(d=17+adapt, h=0.2); translate([0,0,90+9]) cylinder(d=12.5+adapt, h=0.1); } hull() { translate([0,0,90+9]) cylinder(d=12.5+adapt, h=0.1); ...
glb/cad_360edaf9dc2b.glb
Create a swinging phone holder by constructing a curved, cradle-like base. Start with a semi-circular arc that has an outer diameter of 288mm (1.8 times the phone length of 160mm) and a wall thickness of 14mm. The overall width of the stand is 75mm. Within this curved body, carve out a rectangular slot to accommodate ...
phoneThickness = 12; phoneWidth = 75; phoneLength = 160; phoneAngle = 5; phoneOffset = [3 + phoneThickness / 2, 5]; connectorWidth = 15; connectorCornerRadius = 1; swingDiameter = 1.8 * phoneLength; swingWidth = phoneWidth; swingThickness = 14; swingLength = phoneLength; swingCornerRadius = 2; swingCircumference ...
glb/cad_ced779c60087.glb
Create a cable clip consisting of a semi-cylindrical C-clamp attached to a mounting base. The main clip body is a hollow cylinder with an inside diameter of 20.75mm, a wall thickness of 3.5mm, and a total length of 15mm. The cylinder is sliced vertically to create an open-faced clip, leaving a gap to allow a cable to b...
$fn = 100; id = 20.75; thk = 3.5; od = id+thk*2; len = 15; screw_d = 2.5; screw_cs_d = 3.5; screw_cs_depth = 2; screw_ovp = 2; mount_thk = thk; mount_ext = 2; mount_l = len + mount_ext*2; spc = 2; module clip() { linear_extrude(height=len) { difference() { difference() { circle(d=od); polygon(points=...
glb/cad_d0e664407402.glb
Create a locking washer by starting with a solid cylinder that has an outer radius of 4.1mm and a height of 1mm. Remove a central cylindrical hole with a radius of 3.1mm that passes through the entire height of the object. To create the locking teeth, carve out eight identical rectangular notches around the inner circu...
module pin(){ lg_r = 5.7/2; sm_r = (5.7-0.6)/2; cylinder(5, lg_r, lg_r,$fn=100); cylinder(7, sm_r, sm_r,$fn=100); translate([0,0,5+1.2]){ cylinder(2.2, lg_r, lg_r,$fn=100); } } module groove(){ translate([-0.5,0,-1]) cube([1,3,3]); } module groove_set(){ for(rot = [0:45:3...
glb/cad_21800f083f23.glb
Create a toilet paper holder end cap with an overall height of 7.14mm. The main body is an oval-shaped cylinder with a diameter of 39.4mm. The bottom of the cap features a bevel that transitions from a radius of 13.7mm at the base to the full 19.7mm radius at the mid-section over a height of 1mm. The top surface is fla...
module __Customizer_Limit__ () {} production = 1; pnghq = 0; $resolution = (production && !$preview) ? 150 : (pnghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$resolution); } else { echo("Producing DRAFT quality"); echo("Resolution",$resolution); ...
glb/cad_5195ae756800.glb
Create a LEGO brick generator that produces a rectangular block with a height of 9.6mm. The main body is a solid rectangular prism with a hollowed-out center, leaving walls 1.5mm thick. The outer dimensions of the block are based on a unit size of 8mm, specifically 32mm in length (4 units) and 16mm in width (2 units), ...
$fn = 100; module makeLego(unitsX, unitsY) { gap = 0.1; gaps = 2*gap; unitSize = 8; height = 9.6; knobHeight = 1.8; knobRadius = 2.4; wall = 1.5; cylWall = 1; upWall = 1.5; cylRadius = (unitSize * sqrt(2) - 2 * knobRadius) / 2; l = unitSize * unitsX - gaps; b = unitSize * unitsY - gaps; difference() { ...
glb/cad_a1ccabf643bc.glb
Create a 3D model of the Tau symbol. The shape is a flat, extruded glyph with a thickness of 10mm. The geometry consists of a horizontal top bar that curves downward on the left side to form a rounded hook, similar to a lowercase Greek tau but with a more pronounced, sweeping curve. The overall dimensions of the face a...
fudge = 0.1; module poly_path3412(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[110.767492,-75.064691],[25.386574,-75.064691],[24.120091,-63.880524],[22.938989,-53.101899],[21.843267,-42.728815],[20.832927,-32.761272],[19.907967,-23.199269],[19.068389,-14.042808],[18.314...
glb/cad_394221aa0160.glb
Create a 3D model of the Pi symbol. The shape is a flat, extruded 2D profile with a uniform thickness of 10mm. The geometry consists of a horizontal top bar with rounded ends, from which two vertical legs extend downwards. The left leg curves outward and then back inward at the bottom, while the right leg is a shorte...
fudge = 0.1; module poly_path3014(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[141.732140,-74.555758],[80.030223,-74.555758],[79.695742,-69.888006],[79.375512,-65.172562],[79.069533,-60.409426],[78.777805,-55.598599],[78.500328,-50.740081],[78.237103,-45.833874],[77.988...
glb/cad_e565c92b77f1.glb
Create a spool wall mount consisting of a vertical backplate and a horizontal cylindrical holder. Start by creating a vertical rectangular backplate that is 20mm wide, 60mm tall, and 2mm thick. Position a circular hole with a 3mm radius centered 10mm from the side edges and 50mm from the bottom of this plate. From the ...
$fn = 500; intersection() { cube([20, 70, 50]); translate([10, 71, 0]) rotate([90, 0, 0]) cylinder(h = 70, r = 10); } difference() { cube([20, 2, 60]); union() { translate([10, 3, 50]) rotate([90, 0, 0]) cylinder(h = 4, r = 3); } } intersection() { translate([0, 68, 0]) cube([20, 2, 30]); t...
glb/cad_660e6ead9ac0.glb
Create a Gantry Installation Hook consisting of two interlocking parts designed to fit 2020 extrusions. First, create the main hook body as a block 120mm long, 30mm wide, and 20mm high. Carve out a central rectangular channel 89mm long, 5mm wide, and 10mm deep, leaving a 6mm thick base. Remove material from the top e...
$fn=70; extra = 0.01; filamentDia=1.75; module hanger(){ difference() { cube([120,30,20]); translate([6,5,-0.1]) cube([109,20,21]); translate([6,5,-.10]) cube([105,30,21]); translate([-extra,10,-0.1]) cube([6+extra*2,30,21]); } translate([0,9,0]) cube([7,1,20]); } module voronGantryHook() { ...
glb/cad_1e45ba0de321.glb
Create a set of RPG Combat Platforms consisting of three tiered platforms and five connecting pieces. First, create the platforms. Each platform is made of square tiles measuring 25mm x 25mm x 3mm. The tiles have a slight chamfer of 0.15mm on the top edges. 1. Create a base platform as a 4x4 grid of these tiles. 2....
_widthSquare=25; _thickness=3; _sizeBaseX=4; _sizeBaseY=4; _sizeMiddleX=3; _sizeMiddleY=3; _sizeTopX=2; _sizeTopY=2; _flippedTop=1; _chamfer=50; _tolerance=0.2; _connectorHeight=40; _connectorPinHeight=15; _widthConnector=12.5; _connectorThickness=1.2; _numberOfPieces=5; _chamferSize=(_thickness*_chamfer)/100; module...
glb/cad_9679843c0601.glb
Create a Beurer infrared lamp support consisting of a rectangular base plate and a vertical tilting support. First, construct a rectangular plate 113mm long, 110mm wide, and 4mm thick. Round the four corners with a radius of 5.85mm. In each corner, create a circular indentation for a rubber foot with a diameter of 9m...
$fn= 72; d_screws = 40; D_inner = 8; D_outer = 18; w_stalk = 10; h_stalk = 60; l_foot = 50; h_foot = 20; D_screw_hole = 3.2; d_screw_hole = 17; module support_2D(){ D = l_foot-D_outer; difference(){ union(){ translate([-l_foot/2, 0]) difference(){ square([l_foot, h_stalk]); hull(...
glb/cad_7866f7b1ec75.glb
Create an extension card holder consisting of five identical units spaced 20mm apart along the Y-axis. Each unit begins with a rectangular block measuring 15mm wide, 9mm deep, and 10mm high. Carve a slot through the center of this block for a PCB, with a thickness of 1.7mm and a depth of 5mm, leaving the front 5mm of t...
numholder=5; block = [15, 9, 10]; mount=[8, 11, 3]; pcbthickness=1.7; pcbdive=5; bore=3; notchdiameter=2; module screw_sunk( l=20, dh = 6, lh = 3, ds = 3.2, ) { cylinder(h=lh, r1=dh/2, r2=ds/2, $fn=12); cylinder(h=l, r=ds/2, $fn=12); } module mount(x,y, left) { translate([x, y, 0]) { difference() { di...
glb/cad_dd2f6e1eabde.glb
Create an extension card holder consisting of five identical storage units arranged in a row, each spaced 20mm apart along the Y-axis. For each unit, start with a rectangular base measuring 84mm by 9mm by 3mm. Centered on this base, create a rectangular pocket with an outer dimension of 69.6mm by 7.4mm by 7.5mm and a...
numholder=5; bottom = [84, 9, 3]; conin = [67.6, 5.4, 7.5]; conwall = 1; conout = [conin.x + 2 * conwall, conin.y + 2 * conwall, conin.z]; mount=[8, 11, 3]; bore=3; notchdiameter=2; module screw_sunk( l=20, dh = 6, lh = 3, ds = 3.2, ) { cylinder(h=lh, r1=dh/2, r2=ds/2, $fn=12); cylinder(h=l, r=ds/2, $fn=12...
glb/cad_5027d7633887.glb
Create a washer for a guitar tuner mechanism by constructing a thin, hollow cylinder. Start with a solid cylinder that has an outer diameter of 6.6 mm and a height of 1.0 mm. Center a circular hole through the entire height of the object with an inner diameter of 4.2 mm to create a ring shape. Ensure the circular profi...
id = 4.2; od = 6.6; th = 1.0; $fn = 100; difference() { cylinder(h = th, d = od); translate([0, 0, -1]) cylinder(h = th+2, d = id); }
glb/cad_340412f44e32.glb
Create a Customizable Power Brick Holder by starting with a solid rectangular block measuring 36.8mm in width, 116.8mm in length, and 32.4mm in depth. Hollow out the center of this block to create a shell with a wall thickness of 2.4mm on all sides, leaving the bottom floor at a height of 2.4mm. On the left side of th...
thickness = 2.4; length = 112; width = 32; depth = 30; cl_width = 15; cl_depth = 10; cl_offset = 5; cr_width = 5; cr_depth = 20; cr_offset = -5; screw_dia = 3.2; screw_chamfer = 1.2; screw_fromtop = 10; screw_fromside = 12; dri...
glb/cad_64ca08a4028e.glb
Create a plant support ring by constructing a hollow cylinder with a height of 15mm, an outer radius of 47.5mm, and a wall thickness of 2mm. At three equidistant points around the perimeter, spaced 120 degrees apart, carve out rectangular slots to hold chopsticks. Each slot should be 6mm wide and 5mm deep, extending th...
$fn=24*3; support_height = 15; outer_radius = 95/2; inner_radius = outer_radius-2; hole_width = 6; hole_depth = 5; difference(){ cylinder(support_height, outer_radius, outer_radius); cylinder(support_height, inner_radius, inner_radius); } for (i=[0:2]) rotate(360/3*i, [0,0,1]) translate([outer_radiu...
glb/cad_d8c21d6b1f09.glb
Create a Bag-In-Box support consisting of a rectangular base with a divided interior. Construct a flat rectangular platform measuring 160mm in length, 100mm in width, and 0.4mm in height. Upon this platform, build a perimeter wall and internal dividers that are 10mm high. The structure should form two adjacent rectangu...
translate([0,0,-2]) gatter(); rotate([10,0,0]) translate([0,0,-2]) gatter(); mirror([0,01,0]) rotate([90,10,90]) rotate_extrude(angle=10) rotate([0,0,90]) projection(cut=true) gatter(); rotate([190,0,0]) translate([2,2,1.6]) cube([160,100,0.4]); module gatter(){ rotate([90,0,0]) { beam(202); transl...
glb/cad_f7deabe36896.glb
Create a Dungeon Masters Screen and Dice Tower system. The main structure is a dice tower with a base containing a drawer. Construct the tower as a vertical hollow column. At the base, create a rectangular drawer with a sliding mechanism. The tower must include an internal ramp system to guide dice downward. Design...
$fn=60; paper = [279,216]; disp = [paper[0]-9, paper[1]-10]; Bracket(); module Texture() { difference(){ union(){ for (z = [1:10.75:paper[1]+18]) translate([0,0,z]) { hull() { translate([-14,-5,0]) cube([10.5,10.5,1]); translate([0,0,0]...
glb/cad_53d2fa0a0f9b.glb
Create a set of small connector components consisting of two types of parts: Caps and Links. To create a Cap, combine a cylinder with a radius of 4mm and a height of 5mm with a rectangular block measuring 4.25mm in width, 8mm in depth, and 5mm in height. Position the block so it is centered on the cylinder's axis but...
$fn=60; module Cap() { difference(){ union(){ translate([0,-4,0]) cube([4.25,8,5]); translate([0,0,0]) cylinder(r=4, h=5); } translate([0,0,-1]) cylinder(r=1.8, h=7); translate([0,0,-1]) cylinder(r=3.1, h=4); } } module Link() { difference(){ ...
glb/cad_721c5c559496.glb
Create a spool compartment for an easyPrint spool. Start by creating a central cylinder with a diameter of 180mm and a height of 49mm. From this, remove a smaller concentric inner cylinder with a diameter of 113mm and the same height to create a ring. To modify the outer wall, create a hull that intersects a cube of ...
version=4; thingiverse = ["thing:4103087", "______"]; myminifactory = ["mmf:109663", "____"]; prusaprinters = ["pp:17423", "___"]; compartment(prusaprinters[0],prusaprinters[1],easyPrint); primaSelect = [106,198,45]; easyPrint = [113,180,49]; module spoolToCo...
glb/cad_639674aeb1c5.glb
Create an angled coaster holder consisting of two separate parts: a base and a holder. First, construct the base as a rounded square slab with a length and width of 97mm and a height of 12mm. The corners of this slab should have a radius of 15mm. Cut a hole through the center of this slab to accommodate the holder; t...
module __Customizer_Limit__ () {} production = 1; pnghq = 0; $resolution = (production && !$preview) ? 150 : (pnghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$resolution); } else { echo("Producing DRAFT quality"); echo("Resolution",$resolution); } ...
glb/cad_d2384abeb199.glb
Create a Gridfinity glue stick holder by starting with a solid rectangular grid block that is 42mm wide, 42mm deep, and 11mm tall. Center a vertical cylindrical hole through the block to create a cup. The hole should have a diameter of 30mm. The bottom of this hole must not penetrate the base; leave a floor thickness o...
include <gridfinity_modules.scad> cup_height = 5; stick_diameter = 30; easement_z = 0.7; minimum_wall = 4; blocks_needed = ceil((stick_diameter+2*minimum_wall)/gridfinity_pitch); render() glue_stick_cup(blocks_needed, blocks_needed, cup_height); module glue_stick_cup(num_x=1, num_y=1, num_z=2) { difference() { ...
glb/cad_aaf39bd1ca03.glb
Create a socket holder consisting of a thick, low-facet cylinder with a centered cylindrical hole. The main body is a cylinder with a height of 4.4mm and a diameter of 8.4mm, rendered with 20 facets to give it a faceted, polygonal appearance. Positioned exactly in the center of this body is a concentric cylindrical voi...
include <gridfinity_modules.scad> use <gridfinity_baseplate.scad> translate([gridfinity_pitch/2, gridfinity_pitch/2, 0]) frame_plain(4, 1); ear_hole_x = 182.5; ear_hole_y = 7; from_ends = (ear_hole_x - gridfinity_pitch*4) / 2; cube_z = 4.4; M4_d = 4.2; for (i = [0,1]) { x = i * ear_hole_x - from_ends; differe...
glb/cad_5c80c1dc0852.glb