Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Corner Clamp consisting of three main components: a base, a pusher, and a stopper. The base is a flat plate 150mm wide and 40mm high with a thickness of 10mm. It features two outer jaws and a central inner jaw area. Create a cylindrical groove with a diameter of 8mm running through the center. On the top surf...
part = "base"; width=150; height=40; thickness=10; lumber_thickness=40; show_holes="yes"; $fn=64; groove_diameter=round(thickness*0.8); bridge=0.3*width; distance_to_slot=(width-lumber_thickness)*sqrt(2)/2+thickness*sqrt(2)+5; motion_distance=round(lumber_thickness*sqrt(2)); step=floor(5*sqrt(2)); number_of...
glb/cad_7eb94f2ea18a.glb
Create a rope end cap by constructing a hollowed, tapered cylindrical shell with a rounded top. The outer shape is formed by the convex hull of a cylinder with a base diameter of 15.3mm and a height of 16.24mm, capped with a sphere of 12.24mm diameter at the top. Create a matching inner cavity to give the walls a consi...
$fn = 1*50; rop_diam = 15.3; rop_hight = 16.24; rop_hole_diam = 4; rop_thikness = 1.5; difference() { hull () { translate ([0, 0, rop_hight]) sphere (d = rop_diam-rop_diam/5); cylinder (h = rop_hight, d1 = rop_diam, d2 = rop_diam-rop_diam/5); } hull () { translate ([0, 0, rop_hight]) sphere (d = rop_diam-...
glb/cad_9a685e9a5ea6.glb
Create a bathroom faucet component with a total height of 33mm. Start by constructing the main body as a revolved shape: take a circle with a 10mm diameter, flatten it into an oval of 10mm by 20mm, and rotate it around a central axis at a radius of 21mm. Use a hull operation to blend this revolved ring into a solid cyl...
$fn=50; difference(){ translate([0,0,10]) hull(){ rotate_extrude(convexity = 10) translate([21, 0, 0]) resize(newsize=[10,20]) circle(d = 10); translate([0,0,22]) cylinder(d=33); } difference(){ cube([60,60,100], center=true); cylinder(d=45*1.155, h=100, $fn=6, center=true); } t...
glb/cad_86dab93e96bd.glb
Create a Straw Holder consisting of a main cylindrical body, a base bowl, and a top cover. The main body is a cylinder with a height of 100mm and a radius of 23mm. Within this body, create a series of vertical holes to hold straws. These holes are 10mm in diameter and are arranged in concentric rings: one hole at the ...
show_box = true; OutsideCut = true; show_outside_cut = false; sincurved = false; coscurved = false; show_bowl = true; show_TopCover = true; Diameter = 10; Hight = 100; Distance = 5; OuterWall = 3; Outer_Border_Box = 4; Kreisanzahl = 3; Kreisabstand = 5; rund=true; Outer_Border_Bowl = 2; Outer_Border_Bowl_Bottom_z =...
glb/cad_e53d37517461.glb
Create a rectangular plate for the Ultimate Breadboard2 Parts Alpha with overall dimensions of 40mm in width, 90mm in length, and 12mm in height. From the center of this plate, remove a rectangular section to create a hollow cutout. This cutout should start 1.7mm from the left edge and 1.7mm from the front edge, measur...
difference(){ plate(); cuts(); posts(); } module plate() { cube([40,90,12]); } module cuts() { translate([1.7,1.7,-2]) cube([36.6,86.6,12]); }
glb/cad_74c833bbfcef.glb
Create a rectangular plate for a breadboard part measuring 40mm wide, 90mm long, and 2mm thick. Remove a central rectangular section from the top, starting 3mm from each edge, to create a cutout that is 34mm wide and 84mm long. At each of the four corners of the plate, add a cylindrical post with a radius of 3mm and a ...
segment(); module segment(){ difference(){ plate(); cuts(); } difference() { posts(); post_cuts(); } module plate() { cube([40,90,2]); } module cuts() { translate([3,3,-1]) cube([34,84,4]); } module posts() { translate([5,5,0])cylinder(r=3,h=10); translate([5,85,0])cylinder(r=3,h=10); translate([35,5,0])cy...
glb/cad_491ea966b6dd.glb
Create a rectangular plate for the Ultimate Breadboard2 Parts Alpha with overall dimensions of 80mm in length, 90mm in width, and 12mm in height. From this solid block, remove a central rectangular section measuring 76.6mm by 86.6mm with a depth of 12mm, offset from the edges by 1.7mm on both the length and width sides...
difference(){ plate(); cuts(); translate([13.35,10.7,2])posts(); } module plate() { cube([80,90,12]); } module cuts() { translate([1.7,1.7,-2]) cube([76.6,86.6,12]); } module posts() { cube([53.34,68.58,2]); translate([2,15.5,0])cylinder(r=1.5,h=50); translate([45.1,66.3,0])cylinder(r=1.5,h=50); }
glb/cad_af67458cff76.glb
Create a rectangular plate measuring 40mm wide, 90mm long, and 17mm thick. Carve out a central rectangular cavity from the top face, leaving a wall thickness of 1.6mm on the sides and ends, with the cavity depth extending through the bottom. Within this plate, create eight vertical holes that pass through the materia...
difference(){ plate(); cuts(); posts(); } module plate() { cube([40,90,17]); } module cuts() { translate([1.6,1.6,-2]) cube([36.8,86.8,17]); } module posts() { translate([15,15,0])cylinder(r=5,h=50); translate([30,11,0])cylinder(r=1.5,h=50); translate([30,19,0])cylinder(r=1.5,h=50); translate([15,35,0])...
glb/cad_49dd94f70804.glb
Create a rectangular base plate for the Ultimate Breadboard2 measuring 80mm in width, 90mm in depth, and 37mm in height. From this solid block, remove a large rectangular central cavity measuring 76.6mm by 86.6mm, offset by 1.7mm from the front and side edges, which extends through the full height of the block. Withi...
difference(){ plate(); cuts(); posts(); } module plate() { cube([80,90,37]); } module cuts() { translate([1.7,1.7,-2]) cube([76.6,86.6,37]); } module posts() { translate([40,40,0])cylinder(r=38,h=80); translate([5,5,0])cylinder(r=2,h=80); translate([75,75,0])cylinder(r=2,h=80); translate([75,5,0])cylinder...
glb/cad_0a389f9ae8c2.glb
Create a rectangular base plate measuring 40mm wide, 90mm long, and 12mm thick. From this base, remove a central rectangular volume of 36.8mm by 86.8mm with a depth of 12mm, leaving a thin outer border of 1.6mm on the sides and ends. Within the remaining material of the plate, create several cutouts and holes. First,...
difference(){ plate(); cuts(); posts(); } module plate() { cube([40,90,12]); } module cuts() { translate([1.6,1.6,-2]) cube([36.8,86.8,12]); } module posts() { translate([12,13,0]) VM(); translate([34,25,0])cylinder(r=1.5,h=50); translate([34,22,0])cylinder(r=1.5,h=50); translate([34,28,0])cylinder(r=1.5,...
glb/cad_55dd2f8353a1.glb
Create a rectangular base plate for the Ultimate Breadboard2 measuring 40mm in width, 90mm in length, and 12mm in height. Hollow out the center of the plate by removing a rectangular section measuring 36.4mm by 86.4mm, leaving a rim of approximately 1.8mm around the edges. In this remaining rim, create four vertical cy...
difference(){ plate(); cuts(); translate([2,5,0]) posts(); } module plate() { cube([40,90,12]); } module cuts() { translate([1.8,1.8,-2]) cube([36.4,86.4,12]); } module posts() { translate([2.5,2.5,0])cylinder(r=1.5,h=50); translate([2.5,77.5,0])cylinder(r=1.5,h=50); translate([33.5,2.5,0])cylinder(r=1.5,...
glb/cad_648a3640e746.glb
Create a rectangular plate for the Ultimate Breadboard2 Parts Alpha with overall dimensions of 80mm in width, 90mm in length, and 12mm in height. From this solid block, remove a smaller rectangular section to create a recessed tray. This cutout should start 1.7mm from the left edge and 1.7mm from the bottom edge, measu...
difference(){ plate(); cuts(); } module plate() { cube([80,90,12]); } module cuts() { translate([1.7,1.7,-2]) cube([76.6,86.6,12]); }
glb/cad_adc0b7891e5f.glb
Create a Nexus DSC Pro clamping bracket designed to fit a 32mm diameter circular tube. The main body is a vertical clamp with a total height of 115mm and a wall thickness of 2mm. Construct the pipe clamp by creating a cylinder with an outer radius of 20mm and an inner hole of 16mm, both 117mm tall. Cut a wide slot th...
$fn = 25; thickness = 2; height = 115; top_width = 88; top_height = 15; bottom_width = 45; bottom_height = 10; bottom_depth = 35; bottom_cutout = 3; bottom_cutout_height = 75; pipe_radius = 16; keyhole_bottom_width = 6; keyhole_top_width = 3; keyhole_depth = 3; keyhole_height = 110; keyhole_spacing = 78; encoder_...
glb/cad_f1cefe5f143b.glb
Create a configurable rack for holding 8 tins, each measuring 95mm wide, 60.2mm long, and 21mm high. The rack consists of 8 identical shelf units aligned side-by-side, plus a final closing wall. Each shelf unit is a rectangular frame with a wall thickness of 0.8mm. The outer dimensions of a single shelf unit are 22.8m...
topLevelFn = 36; tinWidth = 95; tinLength = 60.2; tinHeight = 21; tinsOnRack = 8; spacingAroundTin = 2; wallThickness = .8; tinOverhang = 15; topBottomCutoutSpacingFromEdge = 2; topBottomCutoutCount = 5; sideCutoutCurveRadius = 8; sideCutoutSpacingFromEdge = 2; screwHoleRadius = 2; screwHoleSpacingFromEdge = 10...
glb/cad_6f63737c877c.glb
Create a music stand adapter for a camera tripod. Start with a central rectangular block measuring 60mm in length, 30mm in width, and 6mm in height. On the top face of this block, center a vertical threaded hole with an outer diameter of 6.35mm (1/4 inch) and a pitch of 1.27mm, extending through the block to allow it...
inchInMM = 25.4; $fs=0.4; module thread(Dmax=0.25 * inchInMM, P=inchInMM / 20, height=6, bottom=0,top=0) { Dmin = Dmax - ((5 * sqrt(3)) / 8) * P; capHeight = (Dmax-Dmin)/2; intersection() { linear_extrude(height=height,twist=-360*height/P, slices=height*10, convexity=2) { rinterpoly(Dmax/2,P/16*(0), Dma...
glb/cad_6033e1bdfc82.glb
Create a speaker mount by extruding a specific 2D profile to a thickness of 20mm. The profile is a polygon defined by the following vertices: start at (0,0), go to (0,140), then to (10,135.4), then to (10,135.4), then to (17,135.4), then to (20,140), then to (33,140), then to (33,133), and finally to (10,0) before clos...
leg_d=18; leg_w=40; leg_h=4.6; height=140; depth=40; thick=7; hole_d=5; bevel=3; linear_extrude(leg_w) difference() { polygon([ [0, 0], [0, height], [thick + bevel, height], [thick, height - leg_h], [thick + leg_d, height - leg_h], [thick + leg_d + bevel, height], ...
glb/cad_2b081ad2f6e0.glb
Create a speaker mount bracket by constructing a right-angled wedge with a hollow interior. The overall outer dimensions are 45mm in width, 40mm in height, and 40mm in depth. The walls and base of the bracket should have a uniform thickness of 5mm. To create the hollow center, remove a rectangular block from the interi...
w=45; h=40; d=h; thick=5; hole_d=5; rotate([90, 0, 0]) difference() { linear_extrude(w) polygon([ [0,0], [0,h], [thick, h], [d, thick], [d, 0], ]); translate([thick, thick, thick]) cube([d, h, w - 2*thick]); translate([d/2 + 2, thick + 1, w/2]) rota...
glb/cad_dae47f4dd82e.glb
Create a power strip mounting bracket shaped like a wide, open-ended U-channel. Construct the main body by combining three rectangular blocks: two parallel arms measuring 50mm long, 4mm wide, and 15mm high, connected by a 4mm wide base that is also 15mm high. Position the arms so they are 41mm apart. To finish the part...
$fn=16; difference(){ union(){ translate([0,0,0]) cube([4,45,15]); translate([0,0,0]) cube([50,4,15]); translate([0,41,0]) cube([50,4,15]); } translate([42,-1,7.5]) rotate([-90,0,0]) cylinder(h=50, r=2.3); translate([-1,7.5,7.5]) rotate([0,90,0]) cylinder(h=10, r=1.4); }
glb/cad_51e6a1312d53.glb
Create a brushless motor mount consisting of a main cylindrical body and a rectangular base. The main body is a cylinder with a radius of 14.5mm and a height of 15mm, topped with a 5mm tall conical section that tapers from a radius of 14.5mm down to 13mm. This entire structure is fused to a rectangular base measuring 1...
$fn=20; s=0; difference(){ union(){ minkowski(){ translate([-9.92,-13.5,0]) cube([19.84,27,4]); cylinder(r=3.5); } translate([0,0,0]) cylinder(h=15, r=14.5, $fn=64); translate([0,0,15]) cylinder(h=5, r1=14.5, r2=13, $fn=64); } translate([0,0,0]) cylinder(h=20, r=5, $fn=36); tr...
glb/cad_90f526a39a6a.glb
Create a brushless motor mount consisting of a rectangular base with a raised central cylindrical hub. The base is a rounded rectangle approximately 20mm wide and 27mm long with a thickness of 4mm. The corners of the base are rounded with a radius of 3.5mm. Centered on the base, create a cylindrical hub with a total h...
$fn=20; s=0; difference(){ union(){ minkowski(){ translate([-9.92,-13.5,0]) cube([19.84,27,4]); cylinder(r=3.5); } translate([0,0,0]) cylinder(h=7, r=14.5, $fn=64); translate([0,0,7]) cylinder(h=3, r1=14.5, r2=13, $fn=64); } translate([0,0,0]) cylinder(h=20, r=5, $fn=36); tran...
glb/cad_5260dad591b1.glb
Create a brushless motor mount consisting of a rectangular base and a cylindrical upper housing. Start with a base block 19.84mm wide, 27mm deep, and 4mm thick, with corners rounded by a 3.5mm radius. Centered on top of this base, add a cylinder with a height of 10mm and a radius of 14.5mm, topped with a 5mm tall frust...
$fn=20; s=0; difference(){ union(){ minkowski(){ translate([-9.92,-13.5,0]) cube([19.84,27,4]); cylinder(r=3.5); } translate([0,0,0]) cylinder(h=10, r=14.5, $fn=64); translate([0,0,10]) cylinder(h=5, r1=14.5, r2=13, $fn=64); } translate([0,0,0]) cylinder(h=20, r=5, $fn=36); tr...
glb/cad_0fb65b4e7def.glb
Create a parameterized waste bucket with a total height of 100mm. The container is a revolved solid of revolution with a wall thickness of 3mm. The outer profile is defined by a quadratic Bezier curve that connects the top rim to the base. The top outer diameter is 120mm and the bottom outer diameter is 100mm. To cre...
Height = 100; Top_outer_diameter = 120; Bottom_outer_diameter = 100; Wall_thickness = 3; Bulge = 10; Bulge_gravity = 80; Number_of_points = 50; $fa = 1; $fs = 0.4; Wall_radius = Wall_thickness/2; Top_point = [Wall_radius, Height - Wall_radius]; Bottom_point = [Top_point[0]+(Top_outer_diameter-Bottom_outer_diam...
glb/cad_c0e7cba42dc0.glb
Create a customizable nametag with a total thickness of 2mm. The main body is a rectangular plate with rounded corners, created by applying a 2mm radius to a base rectangle. The length of the plate should dynamically adjust to fit the text, while the width is fixed at 28mm. At the left end of the tag, place a circula...
Tag_Text_Line_1 = "John Smith"; Tag_Text_Line_2 = "555-555-5555"; $fn=50; longest_text = (len (Tag_Text_Line_1)>len(Tag_Text_Line_2) ? Tag_Text_Line_1 : Tag_Text_Line_2); offset = 5.8 + ((len(longest_text)/48)/10); tag_length = (len(longest_text)* offset) + 11; tag_width = (Tag_Text_Line_2 == "" ? 18 : 18+10); tex...
glb/cad_45998a3037d9.glb
Create a laptop support stand by extruding a specific 2D profile to a thickness of 30mm. The base profile is a hull formed by three circles: one with a radius of 5mm centered at (5, 5), one with a radius of 5mm centered at (5, 15), and a larger circle with a radius of 10mm centered at (30, 10). On the top surface of ...
soporte_portatil(ancho=30, largo=40, alto=20, ancho_portatil=240); module soporte_portatil(ancho=30, largo=40, alto=20, ancho_portatil=240, numeroDeDientes=5) { angulo = asin(alto/ancho_portatil); altura1 = alto; altura2 = (ancho_portatil*cos(angulo)-ancho)*tan(angulo); radio1 = altura2/4; radio2 = altura2/2...
glb/cad_f37db8a479b4.glb
Create a Microarray Quill Pin holder starting with a rectangular base measuring 62.1mm wide, 45mm long, and 4mm high. From this base, remove several geometric sections to create recesses and holes. First, create two rectangular recesses on the top surface, each 8.25mm wide, 4.75mm long, and 4mm deep. Position the fir...
include <tip-mount-module2.scad> w = 62.1; l = 45; h=4; scdia=3.25; rlm = 8.25; rlw = 19; rll = 4.75; nh = 2.0; nw = 5.5; nl = 3; mslx = 5; msly = l - 4; msrx = 57.1; bsy = 16.85; bsx = 7; translate([w/2-35.6/2,20.5/2-0.25+5,0]) rotate([90,90,0]) tipmount(); difference(){ cube([w,l,h]); translate([rlm,l-rl...
glb/cad_db0307ce8cc8.glb
Create a customizable LCD frame with a total height of 6mm. Start by constructing a rectangular outer shell centered on the origin with dimensions 66mm by 22mm and a wall thickness of 2mm. Hollow out the center of this shell with a rectangular cutout measuring 62mm by 18mm. Inside this hollow area, create a secondary...
lcd_horizontal = 62; lcd_vertical = 18; lcd_frame = 4; lcd_inner = 2; frame_hight = 6; material_thickness = 1; wall_thickness = 2*1; frame_horizontal = lcd_horizontal+lcd_frame; frame_vertical = lcd_vertical+lcd_frame; lcd_inner_thickness = 2*0.2; barb_size = 2*1; barb_size_b = 0; $fs = 0.6*1; module makeframe...
glb/cad_d0ae0e866312.glb
Create a Caddx Peanut GoPro-style camera mount consisting of a main body and a charging pod. The main body is a hollow cylindrical holder with an outer diameter of 24.4mm and an inner diameter of 21.4mm, extending to a length of 54.4mm. The wall thickness of the holder is approximately 2mm. At the rear of the holder, ...
bo = 0.4; ibod=24+bo; ibid=21+bo; ibot=10+bo; ibit=12.5+bo; ibht=(ibit-ibot)/2; ibl=54+bo; czo=6; bbt=2.5+bo; cpt=10+bo; cpd=13+bo; cpl=28+bo; bd=2+bo; bhd=3.5+bo; bh=5; bhfn=6; gmhd=5; gmhh=4; gmt=3; gml=10; p=1; fn=64; tck=2; difference() { union() { hull() { for (x=[0,ibl-ibod]) ...
glb/cad_6ca545dd4625.glb
Create a CloverPlus Smooth Rod Brace consisting of two mirrored halves that clamp two parallel rods. Each half is a rectangular block with a height of 60mm, a width of 42.2mm, and a thickness of 12.1mm. The block has rounded corners with a radius of 4.05mm. Through the center of each half, create two parallel vertical...
render_pieces = "both"; rod_spacing = 30; rod_d = 8.1; screw_hole_d = 4.1; screw_countersink_d = 8.1; clamp_total_h = 60; clamp_l_additional = 2; clamp_w_additional = 0; include_material_saving_cutouts = "yes"; clamp_total_w = rod_spacing + (rod_d*2) + (screw_countersink_d) + clamp_w_additional; clamp_total_l...
glb/cad_c1c59e99f59e.glb
Create a set of six isosceles pyramids. Each pyramid must have a square base with a side length of 30mm and a height of 30mm. Arrange the pyramids in a radial pattern around a central point. Position the first pyramid so its base is centered 30mm away from the origin along one axis. Place the subsequent five pyramids...
use<utils/build_plate.scad>; use<solids.scad>; Pyramid_type = 1; Base_side_size = 30; Pyramid_number = 6; height = Base_side_size; dist = height; num = Pyramid_number; angle = atan(0.5); build_plate(3,200,200); if(Pyramid_type == 2) translate([0,0,Base_side_size/3]) { Equilateral_pyramid(height); if(num > 1) ...
glb/cad_63836f51d2d0.glb
Create a Bed Level Test object consisting of nested concentric rings. The overall diameter of the largest outer circle is 20mm, and the total height of the object is 0.3mm. Construct the shape by creating a solid cylinder with a radius of 10mm and a height of 0.3mm. From the center of this cylinder, remove a smaller ...
Test_Object_Size = 20; Test_Object_Type = "Nested Circle"; Test_Object_Height = 0.3; Number_Of_Nested_Objects = 2; Nested_Object_Thicnkess = 2; Text = "@"; Spiral_Thickness = 2; module nestedSquare(t, g) { difference() { cube([Test_Object_Size-(Nested_Object_Thicnkess*(t-1))-g, Test_Object_Size-(Ne...
glb/cad_c16a3010b0c6.glb
Create a hair dryer wall mount consisting of a conical holder ring and a rectangular wall plate. First, construct the holder ring as a tapered hollow cylinder with a height of 20mm and a wall thickness of 5mm. The inner diameter should taper from 53.5mm at the bottom to 55.5mm at the top. The ring is not a full circl...
holder_height = 20; holder_upper_inner_diameter = 55.5; holder_lower_inner_diameter = 53.5; holder_wall_thickness = 5; holder_opening = 80; holder_angle = 360 - holder_opening; wall_clearance = 30; wall_plate_height = 50; wall_plate_width = 30; wall_plate_thickness = 5; rotate([0, 0, (360 - holder_angle)/2]) {...
glb/cad_8a02c8562cf9.glb
Create a series of eight identical linear bushings arranged in a row. Each bushing is a cylinder with an outer diameter of 12mm and a height of 11mm. To form the internal geometry of each bushing, remove a 6mm square hole centered through the entire height. Additionally, remove four small square notches from the oute...
rodsize = 6; bushingOD = 12; bushinglength = 11; bushingthick = 1; module bushing() linear_extrude(height = bushinglength, convexity = 5, center = false) difference() { union() { translate([0, bushingOD / 4, 0]) square([bushingOD, bushingOD / 2], center = true); circle(bushingOD / 2, center = true); } rotate(45...
glb/cad_5cdf520e32ac.glb
Create a straight railroad track piece with a total length of 202mm. Construct two parallel rails, each 5.25mm wide and 12mm high, positioned 36.25mm apart from center to center. For each rail, remove a small rectangular notch 2mm wide and 10mm deep, centered along the length and rotated 12 degrees. Connect these rails...
module coupler() { linear_extrude(height = 9) polygon( points = [ [.5, 13.7], [.5, 17.7], [14, 17.7], [14, 11.2], [24, 11.2], [24, 0], [7.5, 0], [7.5, 9.6]]); } module rail(length = 202) { cube([5.25, length, 12]); difference() { cube...
glb/cad_4924839b359c.glb
Create a parametric pipe clip consisting of a main base and a snap-on clip. Start with a central cube of 25mm length, 25mm width, and 22mm height. Chamfer the vertical edges by intersecting this cube with another 30mm cube rotated 45 degrees on the Z-axis. Round the top and bottom faces of this base by subtracting two ...
cube_length=25; cube_height=22; cube_camfer_length=30; bore_diameter_in_cube = 4.0; bore_offset = 9.6; sphere_diameter = 90; offset_sphere = 1.5; pipe_diameter = 19.7; pipe_height= 18.8; angle_of_clip=230; clip_thickness=3.4; clip_height=12; clip_inner_diameter=19.4; clip_offset=1; clip_reinforcement = 20...
glb/cad_0545c0852062.glb
Create a non-metallic alignment tool consisting of a central body with two different functional tips. Start by creating a hexagonal prism for the main body that is 15mm long with a diameter of 5.4mm. At one end of this body, attach a second, smaller hexagonal prism that is also 15mm long but with a diameter of 2.36mm, ...
include <C:\Program Files\openscad-2011.12.win32\openscad-2011.12.30\libraries\MCAD\regular_shapes.scad>; bodyLength = 15 ; bodyDiameter = 5.4 ; hexTipDiameter = 2.36 ; flatBladeThichness = 1.0 ; rotate (a = [0, 90, 0]) { rotate (a = [0, 0, 30]) { linear_extrude (height = bodyLength) hexagon ...
glb/cad_93616fa57aa7.glb
Create a lamp holder for an i3 frame. Start with a central rectangular block measuring 28mm wide, 22mm deep, and 107mm high. Carve a vertical slot through the center of the block that is 6.8mm wide and 40.6mm high to accommodate the frame. At the bottom of this cutout, remove a section 5mm wide and 40.6mm high. Create...
upper_width=28; upper_depth=22; upper_height=107; i3_slot_width=6.8; i3_slot_height=40.6; include <shapes.scad>; module upperCube(){ bolt_z = -upper_height/2+7; difference(){ cube(size=[upper_width, upper_depth, upper_height], center=true); translate(v=[0,0,-20]) cube(size=[upper_width, i3_slot_width, ...
glb/cad_b11ba981c4de.glb
Create an Auto Coin Sorter consisting of a base box, a top board, and a set of coin tubes. Construct a base box with a hollow interior and a mesh pattern on the back wall. The box should feature male dovetail joints along its upper edges to lock with the top board. Create a top board that fits onto the base box via ...
currency = "usd"; height = 50; pattern = "mesh"; image = 0; part = "all"; understand = 1; coin_1_diameter = 30.61; coin_1_thickness = 2.15; coin_2_diameter = 26.50; coin_2_thickness = 2.00; coin_3_diameter = 24.26; coin_3_thickness = 1.75; coin_4_diameter = 21.21; coin_4_thickness = 1.95; coin_5_diameter = 0...
glb/cad_82f40bde653c.glb
Create a press-fit ergonomic handle for a broom or mop. Start by creating a main outer cylinder with a radius of 19.5mm and a total height of 102mm. Remove a central cylindrical hole with a radius of 12.5mm that runs through the center, but leave a solid base at the bottom with a height of 12mm. To create the finger gr...
stick_diameter = 25; finger_spacing = 23; padding = "Some"; if(padding=="A lot thicker") assign(pad=12) handle(pad); if(padding=="Only a little") assign(pad=3) handle(pad); if(padding=="Some") assign(pad=7) handle(pad); module handle(padd){ ir=stick_diameter/2; or=ir+padd; hi=4*finger_spacing+10; edge=padd+5; ...
glb/cad_1afbccbabc9b.glb
Create a parametric drain with a pipe joint consisting of a tiered cylindrical filter body and a threaded connection. First, construct the filter body by stacking four concentric cylinders of varying diameters: the largest base cylinder has a diameter of 70mm, followed by smaller cylinders of 46.6mm, 35mm, and 23.3mm...
use <dotSCAD/src/helix_extrude.scad>; use <dotSCAD/src/hull_polyline3d.scad>; use <dotSCAD/src/ptf/ptf_sphere.scad>; fdm_printer_nozzle_diameter=0.5; $fn=130; spiral_joint_diameter=30; nites_thick=2; nites_width=3; nite_levels = 1; nite_level_dist = 10; nites_count_outer=2; free_space=10; screw_base_plate_diameter=50...
glb/cad_28bda22e33a2.glb
Create a BananaPi 2.5" HDD mount by starting with a rectangular base plate measuring 70mm by 100mm with a thickness of 1mm. From this base, remove a large central rectangular section measuring 45mm by 85mm, leaving a frame that is 10mm wide on the left and right sides and 7.5mm wide on the top and bottom sides. Add fo...
banana_holes = [[2.63, 2.63 ,0], [2.63, 89 ,0], [57, 89 ,0], [51.9, 2.63 ,0]]; module banana() { difference() { union() { cube([60,92,1]); } for(j=banana_holes) { translate([0,0,-1]+j) cylinder(h=3, r=1.5); } } } hdd_holes = [[4.07, 14 ,0], [4.07, 90.6 ,0], ...
glb/cad_8d21296d3536.glb
Create a spool holder mount by starting with a central rectangular block measuring 37mm in width, 20mm in depth, and 20mm in height, centered at a height of 10mm. From this block, remove a cylindrical hole with a radius of 11mm and a length of 10mm, oriented horizontally along the Y-axis and offset by 5mm in both the Y...
union () { translate(v=[0,0,10]) { difference() { cube(size = [37,20,20],center = true); translate(v=[0,5,5]) { rotate(a = [90,0,0]) { #cylinder (h=10,r=11, $fn=100); translate(v=[0,0,-10]) { cylinder (h=60,r=4.5, $fn=50); } } } translate(v=[0...
glb/cad_8121f8e0649f.glb
Create a spool holder mount consisting of a central rectangular block and two cylindrical end caps. Start with a central rectangular block measuring 28mm wide, 15mm deep, and 68mm long. At each end of this block, center a cylinder with a radius of 11mm and a height of 20mm. Within each of these end cylinders, create ...
difference() { union () { translate(v=[0,0,10]) { difference() { cube(size = [37,20,20],center = true); translate(v=[0,5,5]) { rotate(a = [90,0,0]) { translate(v=[0,0,-10]) { } } } translate(v=[0,0,00]) { cube(size = [28,15,68], center=true); } ...
glb/cad_6bbe53671c3b.glb
Create a Dice Tower consisting of a main hollow cylindrical tower and an attached semi-cylindrical tray. Construct the main tower as a hollow cylinder with an outer radius of 44mm and an inner radius of 42mm, reaching a height of 140mm. The top of the tower should be finished with a crenelated battlement pattern. A...
faces=120; difference(){ scale([.8,.8,.9]){ translate([0,0,140])rotate([0,0,0]){ difference(){ translate([0,0,0])color("cornsilk")cylinder(r1=44,r2=50,h=12,$fn=faces); translate([0,0,-.01])cylinder(r=42,h=12.02,$fn=faces);}; difference(){ translate([0,0,12])color("bisque")cylinder(r=50,h=8,$fn=faces); translate([0,0...
glb/cad_1e3d03d95bdf.glb
Create a dummy engine cylinder by building a series of stacked, concentric cylinders along a central axis. Start with a base cylinder 6.6mm high with a radius of 6.5mm. Add a second cylinder of 3.8mm height and 7.5mm radius, followed by a third of 1.2mm height and 3.5mm radius, and a fourth of 2.5mm height and 1.5mm ra...
$fn=20; difference(){ union(){ translate([0,0,0]) rotate([-90,0,0]) cylinder(h=6.6, r=6.5, $fn=40); translate([0,1,0]) rotate([-90,0,0]) cylinder(h=3.8, r=7.5, $fn=40); translate([0,6,0]) rotate([-90,0,0]) cylinder(h=1.2, r=3.5); translate([0,7,0]) rotate([-90,0,0]) cylinder(h=2.5, r=1.5); translate([...
glb/cad_2252373814dc.glb
Create a dummy engine cylinder by constructing a series of stacked, concentric cylinders of varying radii and heights along a central axis. Start with a base cylinder 1mm high with a radius of 8mm. Build upon this with a sequence of thin, ring-like cylinders, each 0.6mm high, with radii increasing in increments of 0.25...
$fn=40; difference(){ union(){ translate([0,-2,0]) rotate([-90,0,0]) cylinder(h=3, r=4); translate([0,0,0]) rotate([-90,0,0]) cylinder(h=17.7, r=6.5); translate([0,12.3,0]) rotate([-90,0,0]) cylinder(h=5.4, r=7.5); translate([0,0,0]) rotate([-90,0,0]) cylinder(h=1, r=8); translate([0,7.5,0]) rotate([...
glb/cad_e09228aa7101.glb
Create a dummy engine cylinder mount. Start with a square base 23mm wide and 4mm thick, with rounded corners using a 3.5mm radius. Centered on this base, add a main cylindrical body with a height of 14mm and a radius of 14.5mm. Top this cylinder with a 5mm tall frustum that tapers from a radius of 14.5mm at the bottom ...
$fn=20; difference(){ union(){ minkowski(){ translate([-11.5,-11.5,0]) cube([23,23,4]); cylinder(r=3.5); } translate([0,0,0]) cylinder(h=14, r=14.5, $fn=64); translate([0,0,14]) cylinder(h=5, r1=14.5, r2=13, $fn=64); } translate([0,0,0]) cylinder(h=20, r=4, $fn=36); translate([-...
glb/cad_a43a09a08487.glb
Create a dummy engine cylinder mount by starting with a main circular base 26mm in diameter and 1.5mm thick. Remove a central vertical hole 8mm in diameter that passes through the base. Around this center, remove four identical holes, each 3.6mm wide and 1.5mm thick, positioned 8mm from the center. These four holes are...
$fn=20; module holes(){ union(){ translate([0,8,0]) cylinder(h=10, r=1.8); translate([0, 9.5, 0]) cylinder(h=10, r=1.8); translate([-1.8,8,0]) cube([3.6,1.5,10]); } } difference(){ union(){ translate([0,15,9]) rotate([-90,0,0]) cylinder(h=2, r=8, $fn=30); translate([0,0,0]) cylinder(h=1.5, r=13, $...
glb/cad_772fecc51f8c.glb
Create a threaded drive pulley for a Rostock printer. Start with a central threaded cylinder that has a total axial length of 20mm, a pitch of 2mm, a pitch radius of 15mm, and a thread angle of 30 degrees. The threads should follow a right-hand rule. From this main body, remove material to create a central bore with a...
$fn=100; use <Thread_Library.scad> difference() { union() { trapezoidThread( length=20, pitch=2, pitchRadius=15, threadHeightToPitch=0.5, profileRatio=0.5, threadAngle=30, RH=true, clearance=0.1, backlash=0.1, stepsPerTurn=24 ); cylinder(r1=18, r2=16, h=2, center=true); translate([0,0,20]) {cylinder...
glb/cad_c13615f9e2be.glb
Create a Kossel Express Extruder for a NEMA 17 geared stepper motor. Start with a main cylindrical body with a radius of 17.5mm and a height of 20mm. Attached to this, add a smaller bearing mount cylinder with a radius of 8mm and a height of 20mm. Integrate a hexagonal push-fit mount with a radius of 7.5mm and a height...
include <configuration.scad>; filament_offset = 22.5; module extruder() { rotate([90, 0, 0]) difference() { union() { translate([16,20,21]) rotate([90,0,0]) cylinder(h=20, r=17.5); translate([31,20,21]) rotate([90,0,0]) cylinder (h=20, r=8); translate([filament_offset, 6.5, 13]) cyl...
glb/cad_af4c01eb2a42.glb
Create a Snail Trap in the shape of a tapered, open-ended hollow cylinder. The main body should have a height of 73mm, with a bottom outer diameter of 84mm and a top outer diameter of 90mm. The walls must be a consistent 1.2mm thick. To achieve this, create a solid tapered cylinder with the specified dimensions and rem...
Wallthickness = 1.2; topdiameter = 90; bottomdiameter = 84; height = 73; $fn=180; difference () { cylinder (r1=bottomdiameter / 2 , r2 = topdiameter /2, h = height); translate ( [ 0, 0, Wallthickness ] ) cylinder ( r1 = (bottomdiameter/2) - Wallthickness , r2 = (topdiameter/2) - Wallthickness, h = height ); }
glb/cad_274c46697437.glb
Create a Snail Trap consisting of a flat circular lid and three supporting legs. Start by creating a thin cylinder for the lid with a diameter of 110mm and a height of 1.2mm. To create the legs, construct three identical supports positioned symmetrically around the center of the lid, spaced 120 degrees apart. Each leg ...
liddiameter = 110; lidthickness = 1.2; $fn=120; module leg (height , idiameter , odiameter, numlegs ) { difference () { for (i=[1:1:numlegs]) { rotate ([0,0,(360/numlegs)*i]) { translate ([ 0,(-idiameter/2) -6,0]) { cylinder ( r=2,h = height , centre = true); hull () { translate ([0,0,height-6-lidth...
glb/cad_4ff7254e6079.glb
Create a 3D model of the "oh toodles" gadget. Start by constructing the main body as a thick cylinder with a radius of 100mm and a height of 40mm. Hollow out the center of this body by removing a smaller concentric cylinder with a radius of 95mm, leaving a wall thickness of 5mm for the bottom 30mm of the height. Add t...
module arco(diametro=100,altura=30, x1=45, x2=-45) { difference(){ difference(){ cylinder(r = diametro/2, h = altura, $fn = 100); cylinder(r = diametro/4, h = altura*10, $fn = 100, center=true); } rotate([0,0,x1]) translate([50,0,0]) cube([100,100,100],center=true); rotate([0,0,x2]) translat...
glb/cad_4dfa31a263f4.glb
Create a hollow rock climbing hold by starting with a low-resolution sphere of 60mm radius, using only 10 facets to give it a faceted, rocky appearance. Hollow out the center by removing a concentric sphere with a 45mm radius. To create a flat mounting base, remove the bottom half of the shape and the front-left quadra...
big_r = 60; little_r = 45; mount_depth = 15; B=25; h=8; l=69.5; d=11; $fn=100; module bolt(){ union(){ translate([0,0,l-0.1])cylinder(h=h, r=B/2); cylinder(h=l, r=d/2); } } difference() { union() { difference() { sphere(r=big_r, $fn=10); sphere(r=little_r); translate ([-big_r, 0, -big_r]) cube([big_r*...
glb/cad_2a331e5c58ec.glb
Create a universal stand with a width of 80mm and a wall thickness of 3mm throughout. The main structure consists of a back support plate 115mm tall and a base plate 16mm deep. Tilt the back support plate backward at a 15-degree angle relative to the base. At the front of the base, add a retaining lip that is 12mm high...
stand_width = 80; paper_thickness = 16; paper_height = 115; holdback_height = 12; wall_thickness = 3; fuzz = 0.01; rotate_angle = 15; rotate_a = -rotate_angle; tail_length=20; print_mode = "preview"; start(); module start(){ if (print_mode == "preview"){ difference(){ ding(); translate([-300,-300,-600])...
glb/cad_0a5776ec95fc.glb
Create a Parametric LED Strip Clip by starting with a main rectangular block measuring 25mm in width, 22mm in length, and 3.6mm in height. From this block, remove a central rectangular volume to accommodate a thumbtack: first, create a void 11mm wide, 16.5mm long, and 1.8mm high, positioned 1mm above the base and cente...
tack_head_diameter = 11; tack_head_height = 1.8; tack_head_offset = 1; led_strip_width = 12; led_strip_height = 1.5; clip_width = 25; clip_length = tack_head_diameter * 2; clip_height = tack_head_height * 2; $fn=25; final(); module final() { main_block(); translate([clip_width/2 - led_strip_width/2 - 2,0,cl...
glb/cad_0895746125ee.glb
Create a siphon adapter by constructing a tiered cylindrical body with a central hollow core. Start with a base cylinder 28.5mm in diameter and 15mm high. Stack a second cylinder on top of the base with a diameter of 15.5mm and a height of 20mm. At the top of this second cylinder, add a rounded ring feature created by ...
$fn = 109; module adapter() { difference() { union() { cylinder(h=15, d=28.5); cylinder(h=20+15, d=15.5); translate([0,0,32]) { minkowski() { cylinder(h=2, d=14); sphere(d=3); } } } cylinder(h=12, d=24); ...
glb/cad_2c3b4bb4a687.glb
Create a Customizable Container consisting of a base box and a matching lid. For the box, create a rounded rectangular base with outside dimensions of 95mm width and 65mm height. The base floor should be 2mm thick. From this base, extend walls upward to a total height of 20mm with a thickness of 2.4mm. At the top of ...
select_shape_type = "square"; corner_r = 5; measure_type = "outside"; x = 95; y = 65; number_of_sides = 6; size_type = "diameter"; size_in_MM = 70; box_text = "A"; box_text_font = "Impact:style=Bold"; box_text_size = 50; Note_ = "-----"; custom_shape_vector = [[40,40], [0,20], [-40,40], [-20,0], [-40,-40], ...
glb/cad_dc93f3a343fe.glb
Create a Lint Roller Extension adapter. Start with a central handle that is a rectangular prism 4mm wide, 5mm deep, and 32mm high. Centered within this handle, create a cylindrical hole with a diameter of 16.5mm and a length of 47mm. Construct a horizontal blade that is 31mm wide, 111mm long, and 4mm thick, centered o...
fn=20; h_handle=32; l_handle=5; t_handle=4; w_horiz=31; l_horiz=111; t_horiz=4; w_tab=6; l_tab=6; l_vert=111; h_vert=28.5; t_vert=4; v_cut=33; h_cut=65; tube_dia=16.5; tube_len=47; union(){ translate([0,-l_handle/2,h_handle/2]) cube([t_handle,l_handle,h_handle],center=true); difference(){ translate([0,0,tube_dia/...
glb/cad_6e0c6abcfe15.glb
Create a Petal Vase consisting of four identical petal-shaped containers arranged radially around a central axis. Each petal is created by forming a hull between two cylinders: a larger cylinder with a radius of 1.15mm and a smaller cylinder with a radius of 3mm, both with a height of 47mm. Hollow out each petal by r...
Number_of_Petals = 4; Vase_Height = 50; Neck_Style = "bump"; petals = Number_of_Petals + 0.0; factors = [1,1,1,82.5,90.5,95,97.5,100.5,103,105]; maxSize = ((factors[petals])/petals)-1.85; overallHeight = Vase_Height+0.0; topHeight = 3 + 0.0; neckHeight = 5 + 0.0; height = overallHeight - topHeight; for (i = [0:peta...
glb/cad_9fc18492edf6.glb
Create a vertical bearing holder for a Prusa i3 x-axis end. Start with a main body consisting of a cylinder with a radius of 9.5mm and a height of 60mm. Surround this cylinder with a rectangular block centered on the cylinder, measuring 5.5mm in width, 19mm in depth, and 60mm in height. From this combined volume, remo...
bearing_diameter = 15; module horizontal_bearing_base(bearings=1){ translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true); } module horizontal_bearing_base_bis(bearings=1){ difference() { translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true); translate(v=[24/2,0,12]) rotate([0,...
glb/cad_3d23bf6d9062.glb
Create a Prusa i3 x-end assembly consisting of two primary components: a motor mount and an idler mount. For the motor mount, create a base block with a width of 17.5mm and a height of 52mm. Incorporate a NEMA 17 motor mounting pattern on the rear, featuring a recessed area for the motor body and four mounting holes. ...
include <configuration.scad> use <bushing.scad> use <inc/bearing-guide.scad> use <inc/bearing_new.scad> use <y-drivetrain.scad> x_box_height = 52 + 2 * bushing_xy[0]; x_box_width = (bushing_xy[0] <= 4) ? 17.5 : bushing_xy[0] * 2 + 9.5; echo(x_box_width); bearing_height = max ((bushing_z[2] > 30 ? x_box_height : (2 * b...
glb/cad_96bf103d2136.glb
Create a T-track table plate with overall dimensions of 400mm in length, 320mm in width, and 18mm in height. Along the length of the plate, carve a series of parallel T-shaped slots. Each slot consists of a wide upper channel 14mm wide and 8mm deep, and a narrower lower channel 8.5mm wide that extends to the bottom o...
plate_x = 400; plate_y = 320; plate_z = 18; border_width = 20; slot_wide_width = 14; slot_wide_height = 8; slot_slim_width = 8.5; slot_entrance_length = 16; slot_distance = 20; num_of_wave_elements = 20; wave_tolerance = 0.05; slot_slim_height = plate_z - slot_wide_height; wave_distance = (num_of_wave_elemen...
glb/cad_8ba67760f67a.glb
Create a Piezoelectric Pneumatic Valve consisting of two mating halves: a base and a top. For the base, create a main body by forming a hull between a central cylinder (16mm diameter, 10mm height) and two smaller cylinders (5mm diameter, 10mm height) positioned 17mm from the center, rotated 120 degrees apart. Subtract...
module teardrop(radius, length, angle) { rotate([0, angle, 0]) union() { linear_extrude(height = length, center = true, convexity = radius, twist = 0) circle(r = radius, center = true, $fn = 30); linear_extrude(height = length, center = true, convexity = radius, twist = 0) projection(cut = false) rotate([0, ...
glb/cad_f6835b604dbd.glb
Create a Calibration test shape with a base rectangular block measuring 20mm wide, 40mm deep, and 10mm high. On the top surface, centered at x=5, y=10, add a cylinder with a radius of 5mm and a height of 5mm, using a 32-facet resolution. At the edge where x=20, add three rectangular protrusions, each 10mm wide and 10...
x=40; y=40; y2=60; z=10; hx=x/2; hy=y/2; hz=z/2; qx=hx/2; qy=hy/2; gap=0.4; module enableTest() { difference() { union() { cube([hx,y,z]); translate([qx/2,qy/2,z-1]) cylinder(r=5,h=5, $fn=32); translate([hx,0,0]) { rotate([0,-60,0]) cube([qx,qy,z]); translate([0,qy+gap,0]) rotate([0,-45,0]) ...
glb/cad_f3b7903f19d0.glb
Create a Customizable Heart Ring by constructing a circular band and carving out heart-shaped voids. Start by creating a hollow cylinder with an inner radius of 9.07mm, an outer radius of 10.67mm, and a height of 8mm, centered on the Z-axis. To decorate the band, create a series of heart-shaped cutouts. Each heart sho...
ring_size = 18.14; ring_thickness = 1.6; ring_width = 8; num_of_hearts = 9; module ring() { difference() { cylinder(r=inner_radius+ring_thickness,h=ring_width,$fn = 100,center = true); cylinder(r=inner_radius,h=ring_width+1,$fn = 100,center = true); } } module heart (w,h) { scale (v=[w/171,w/171,1]) transl...
glb/cad_53c31e37abf7.glb
Create a hip mount for a 3DOF mini quadruped robot. Start with a central rectangular base measuring 58.5mm in length, 20mm in width, and 4mm in height, centered on the X and Y axes. Attach two smaller rectangular blocks to the outer edges of the base, each measuring 6mm by 14mm by 4mm, positioned at X coordinates -32.5...
hip(23,12.5); module hip(l,w){ difference(){ union(){ translate([-29,-10,0]) cube([58.5,20,4]); for (i = [[-32.5,-7,0],[26.5,-7,0]] ){ translate(i) cube([6,14,4]); } for (i = [[-29.5,7,0],[-29.5,-7,0],[29.5,7,0],[29.5,-7,0]] ){ translate(i)...
glb/cad_1a4a21fba78c.glb
Create a tibia part for a mini quadruped robot. Start by forming the main body as a union of a 28mm by 20mm by 4mm rectangular block positioned at x=-30, y=-10, z=0, and a smaller 2mm by 3mm by 4mm block at x=5, y=-1.5, z=0, joined by a convex hull. Add a 40mm by 3mm by 4mm rectangular leg extending from x=0, y=-1.5, z...
tibia(); module tibia(sl = 23, sw = 12.5){ difference(){ union(){ hull(){ translate([-30,-10,0]) cube([28,20,4]); translate([5,-1.5,0]) cube([2,3,4]); } translate([0,-1.5,0]) cube([40,3,4]); translate([-33,-7,0]) cube([6,14,4]); for (i = [ [-30,7,0],[-30,-7,0] ]){ translate(i) cylin...
glb/cad_6c398385fb4f.glb
Create a Prototype PCB Case. Start by constructing the main outer shell as a rectangular block with dimensions 34.5mm in width (Inner_x + 2*Case_wall), 31mm in height (Inner_y + 2*Case_wall), and 71mm in length. Hollow out the interior to create a case with a wall thickness of 2mm, leaving a PCB slot height of 2.5mm. ...
show_case="yes"; case_with_backcover="yes"; Case_screw_for_Optional_backcover=true; show_cover="no"; PCB_z = 2.5; Case_lenght = 71.0; Inner_x = 30.5; Inner_y = 27.0; PCB_Offset = 3.0; PCB_holder_x = 1.5; PCB_slot_height = 2.5; Case_wall = 2; slider_y = 1.6; case_width = Inner_x + Case_wall*2; case_height = Inner_y ...
glb/cad_d2551aedb28b.glb
Create a Motorcycle Headlight Bracket consisting of two mirrored symmetrical halves. Each half is built around a central cylindrical mount with an outer diameter of 55mm and a wall thickness of 5mm. The mount features a flat mounting plate extending from the side. This plate is 90mm long and 70mm wide, with a thickne...
$fn=90; bracket_shiny_side_out = false; bracket_thick = 5; washer = 0; hole_count = 4; bracket_hole_count = 3; dangle_angle=15; fork_out_dia=55; tweak=2; ridge=0.35; length=90; inset_length=.75; shift_inset=10; outer_end=15; end_hole=9.5; fork_end_w=70; fork_end_h=20; hole=4.2; head=15; tab_w=10; tab_h=12; ...
glb/cad_b782a12eae14.glb
Create an iPhone 6 Tripod Mount consisting of a base and a phone holder. Start by constructing a base with a length of 43.25mm and a width of 43.25mm. The base should have a height of 9.1mm, with the sides slanted inward such that the top surface is smaller than the bottom by an inset of 4.1mm on all sides. On top of ...
e = 0.05; $fn = 40; p_width = 10; length = 43.25; width = 43.25; height = 9.1; inset = 4.1; cutout = 0.8; h_width = 6; h_height = 16; radius = 7; hole = 5; union() { intersection() { polyhedron(points=[[-cutout,-cutout,0], [inset,inset,height], [-cutout,width+cutout,0]...
glb/cad_7d3e139e0824.glb
Create a screw thread consisting of a central solid cylinder and an external helical coil. The central cylinder must have a radius of 12.5mm and a total height of 30mm, centered on the Z-axis. Wrap a helical coil around this cylinder using a cross-section circle with a diameter of 4mm. The coil should be spaced so th...
fn_value = 50; t_d1 = 4; t_d2 = 25; t_h1 = 3; t_h2 = 30; module half_torus( d1, w ) { rotate_extrude(convexity = 10) translate([w/2,0,0]) circle(r=d1/2,$fn=fn_value); } module basic_helix( d1, w, h1 ) { rotate( a = -asin((d1+h1)/(2*w)), v=[0,1,0] ) { union() { translate([w/2,0,0]) difference() {...
glb/cad_e5f1b0c3f70a.glb
Create a Customizable Twin-Slot Shelf Bracket. Start by creating two identical key profiles, each 2.5mm thick. Each profile is a 2D polygon with vertices at [16,14], [18,13], [26,13], [26,8], [42,6], [42,13], [48,13], [48,22], [0,22], [0,5], [2,2], [5,0], [15,0], [16,1], [16,9], [12,10], and [12,14]. Position the first...
key_thick = 2.50; slot_gap=6.0; key_width = 18; backbone = 10; bracket_l = 110; bracket_h = 48; screw_holes = true; screw_hole = 3.4; access_hole = 6; fixing_t = 5; $fn=60; difference() { union() { translate([0,0,0]) keyprofile(); translate([0,0,slot_gap + key_thick ]) keyprofile(); translate...
glb/cad_11df65636408.glb
Create a Raspberry Pi case with an internal cavity of 86mm by 57mm and a total height of approximately 21.5mm. The walls should be 1.5mm thick with rounded corners (radius 3mm). Construct the main body as a hollow rectangular box. On the bottom face, add several small support studs (2mm x 4mm) to hold a PCB at a heigh...
DRAWfull = 0; DRAWtop = 1; DRAWbottom = 0; DRAWtopinlet = 0; DRAWbottominlet = 0; DRAWpcb = 0; GPIOHOLE = 0; GPIOsize = 2; topframe = false; topinlet = false; topholes = false; holeofs=5; holesiz=2.5; holestep=6; noholes=12; holelen=30; holeangle1=[0,0, 0]; topmi...
glb/cad_f7ece463eab9.glb
Create a wall bracket designed to hold a flat object. Start by constructing a base plate with a total width of 20mm. The profile of the bracket is a flat shape with a thickness of 2mm. Create a central rectangular gap 10mm wide to accommodate the object. On the front edge of the bracket, add a rim that extends 3mm high...
ClampSize=10; Thickness=2; RimHeight=3; Corner=2; MakeBracket(); module MakeBracket(){ Width=20; rotate([0,0,-90]) difference(){ linear_extrude(height = Width) polygon([[0,0],[0,20+Thickness],[Thickness,20+Thickness],[Thickness,Thickness+Corner],[Thickness+Corner,Thickness],[Thickness+ClampSize-Corner,Thickness],[...
glb/cad_d9d0ca4082b5.glb
Create an iPhone 5 universal dock adapter consisting of a baseplate and a supporting stand. Start with a baseplate that is 69.5mm wide, 28.5mm deep, and 2mm high, featuring rounded corners with a radius of 8.6mm. On top of this base, construct a support stand tilted backward at a 15-degree angle. The stand should be ...
iphoneClearance = 0.0; adapterClearance = 0.0; lightningAdapterClearance = 0.2; $fn = 36; lightningAdapterRecess = 0.3; lightningAdapterSink = 11.0; lightningAdapterWidth = 26.3; lightningAdapterDepth = 5.7; lightningAdapterHeight = 20; iphoneWidth = 58.57; iphoneHeight = 123.83; iphoneDepth = 7.60; iphoneRadius = ...
glb/cad_a84b2e0c300f.glb
Create a 4x4x4 RGB Charlie Cube assembly jig. Start by constructing a grid of intersecting lines. Create four horizontal bars and four vertical bars, each 3mm wide and 0.75mm thick. The horizontal bars are 84mm long and positioned at 28mm intervals along the Y-axis (at 0, 28, 56, and 84mm). The vertical bars are also 8...
$fn=50; module hline (distance) { translate([0,distance-1.5,0]) union() { cube([84,3,0.75]); for (x = [0, 28, 56, 84]) { translate([x,1.5,0]) union() { cylinder(r=5.88,h=0.75); cylinder(r=3.38,h=7); } } } } module vline (distance) { translate([distance-1.5,0,0]) cube([3,84,0.75]); } m...
glb/cad_8934003ad713.glb
Create a 4x4x4 RGB Charlie Cube assembly jig consisting of four identical repeating units aligned along a central axis. Each unit is centered at Y positions of 45, 17, -11, and -39 mm. For each unit, construct a base by combining a 12x11x3 mm block centered at [0, distance, -1.5] and a 4x28x3 mm block centered at [0, ...
$fn = 50; module base(distance) { union() { translate([0,distance,-1.5]) cube([12,11,3],center=true); translate([0,distance+6.5,-1.5]) cube([4,28,3],center=true); } } module ledhold(distance) { xoffset = 0; union() { translate([xoffset,distance-4,4]) rotate([90,0,0]) linear...
glb/cad_07c0ae02bdfe.glb
Create a 3D assembly jig for a 4x4x4 RGB LED cube. Start by constructing a hollow rectangular box with outer dimensions of 103.5mm by 103.5mm and a height of 23mm. The walls should have rounded corners with a radius of 2mm. The interior of the box must be hollowed out by removing a central cube of 92mm by 92mm by 30mm,...
$fn=50; module brims(distance) { for (x = [distance, -distance]) { for (y = [distance, -distance]) { translate([x-sign(x)*0.5,y-sign(y)*0.5,-6.25]) cylinder(r=9,h=0.25); } } } module cornerpost(x,y) { difference() { translate([x,y,0]) minkowski() { cube([2,2,20],center=true); cylinde...
glb/cad_459a1716269c.glb
Create a 3D RGB Charlie Cube assembly jig by constructing a base rectangular plate and adding four protruding hooks. Start with a central rectangular base measuring 5mm wide, 90mm long, and 3.5mm thick, centered along the x-axis. Attach four rectangular hooks to the side of this base, each with a thickness of 3.5mm. Th...
module hook(distance) { translate([-8,distance,0]) cube([8,6,3.5]); translate([-8,distance-6,0]) cube([3,6,3.5]); } union() { translate([0,-45,0]) cube([5,90,3.5]); hook(39); hook(11); hook(-17); hook(-45); }
glb/cad_e845f7493f56.glb
Create a 3D assembly jig for a Charlie Cube. Start by constructing a cross-shaped base formed by the union of two intersecting rectangular prisms, both centered on the same point: one measuring 45.25mm x 5.25mm x 9.5mm and the other 5.25mm x 45.25mm x 9.5mm. From the center of this combined shape, remove a vertical cyl...
$fn=50; difference() { union() { cube([45.25,5.25,9.5],center=true); cube([5.25,45.25,9.5],center=true); } translate([0,0,-6]) cylinder(r=2.63,h=12); union() { translate([0,0,6.5]) cube([45.25,1.34,5],center=true); translate([0,0,6.5]) cube([1.34,45.25,5],center=true); } translate([0,0...
glb/cad_e95417be9b77.glb
Create a raspberry pi 3.5" hdd tray mount by starting with a solid rectangular block measuring 101.61mm in width, 102mm in depth, and 25mm in height. Hollow out the center of this block by removing a smaller rectangular volume starting 10mm from the front, 1mm from the bottom, and 1mm from the sides, leaving a wall thi...
use <pibase.scad> boxOverallSize = [95.25+2*3.18,102,25]; boardRotation = [0,0,-90]; boardTranslation = [boxOverallSize[0]-75,boxOverallSize[1]-1,6]; union() { difference(){ cube(boxOverallSize); translate([10,1,1])cube(boxOverallSize-[20,2,0]); translate(boardTranslation+[5,-5,-10])rotate(boardRotation)cube([75...
glb/cad_5f9e99080634.glb
Create a Pumpkin Text Ring by constructing a flat circular band. Start with a solid cylinder with a radius of 51.25mm and a height of 2mm. Remove a concentric inner cylinder with a radius of 43.25mm and a height of 2.1mm to create a ring with a wall thickness of 8mm. Using a stencil font with a size of 6.5mm, arrange ...
Ring_Text = "HAPPY HOLLOWEEN - HAPPY HOLLOWEEN - "; Print_Raised = 0; Print_Indented = 0; Punch_Through = 1; Inner_Tolerance = 0; Outer_Tolerance = 0; $fa = 1; $fs = 0.4; RingHt = (Print_Raised) ? 0.5 : 2.0; TextBase = (Print_Indented) ? 0.4 : -0.1; TextHt = (Punch_Through) ? 3.001 : 2.001; difference() { c...
glb/cad_c47cfae05d1e.glb
Create a brushless motor mount block starting with a rectangular base that is 23mm wide and 23mm high, with a total height of 19mm. Round all four vertical corners of this block with a radius of 3.5mm. Center a large vertical cylindrical hole through the top face with a radius of 9.2mm. On the bottom face, create a c...
printerLine_width=0.6; mountHoles_width=23; mountHoles_height=23; mountHoles_diameter=3; mount_lenght=19; down_angle=0; right_angle=0; corner_radius=3.5; viewSmooter=8; mountHoles_radius=mountHoles_diameter/2+printerLine_width/2; $fn=mountHoles_radius*viewSmooter; difference(){ union(){ minkowski(){ tran...
glb/cad_edf4eeff2810.glb
Create a peg-top consisting of a beveled polygonal body and a central spinning pole. Start by creating a 4-sided pyramid-like body with a base diameter of 40mm. The body is formed by the intersection of a 4-sided prism and a cylinder, resulting in a shape with beveled corners and edges. The height of this main body is ...
use <utils/build_plate.scad> diameter = 40; side_number = 4; pole_length_percent = 36; pole_thickness_percent = 12; corner_bevel_size_percent = 55; edge_bevel_size_percent = 10; printing_angle_limit = 55; build_plate_selector = 3; build_plate_manual_x = 50; build_plate_manual_y = 50; build_plate(build_plate_s...
glb/cad_0332b9b71c9e.glb
Create a paper fastener consisting of two separate parts: a peg and a washer. To create the peg, start with a base cylinder 15mm in diameter and 1.5mm high. Centered on this base, add a vertical cylinder with a radius of 2.25mm and a height of 4.5mm. Top this vertical cylinder with a small hemisphere with a radius of 2...
lR = 7.5; iR = 2.25; h = 1.5; pW = 3; dH=1; module fastnerPeg(){ difference(){ union(){ cylinder(r=lR,h=h); translate([0,0,h]) cylinder(r=iR,h=pW+h); translate([0,0,2*h+pW]) sphere(r=iR+dH/2); } translate([-(dH*1.25)/2,-(iR*2+dH)/2,h]) cube([dH*1.25,iR*2+dH,h+pW+iR+dH/2]) ; } } module fastnerWasher(){ diff...
glb/cad_53a92049d40f.glb
Create a Customizable Gear with a total height of 18mm. Start with a central shaft hole 8mm in diameter that runs through the entire height. Build the main gear body as a cylinder with a diameter of 15mm and a height of 18mm. Add 12 gear teeth around the perimeter. Each tooth should be a cylinder with a radius of app...
nt =12; sd =8; gd=15; ggdt=1.5; gh=18; nf=0; $fn=12; Dcut="yes"; gpr=gd*3.14159/4/nt/(1+3.141592/nt/2); gmr=gpr*1.077; ggd=gd+4; dh=gh; off= 360/nt/2; module pgear() union(){ translate([0, 0, 0]) { difference() { union(){ translate([0, 0, 0]) cylinder(h = gh, r =gd/2-gpr,$fn=48); if (nf...
glb/cad_329f29fda8c1.glb
Create a control panel housing for an LCD display. Start by creating a base plate that is 63mm wide, 108mm deep, and 2mm thick. On top of this base, center a rectangular riser that is 57mm wide, 87mm deep, and 5mm thick. Finally, carve out a rectangular hole from the top of the riser that is 51.5mm wide and 78.5mm deep...
height = 56; length = 40; height2 = 50; length2 = 18; depth = 17; cap_dia = 12; wall_thickness = 1.2; first_layer = 0.2; tolerance = 0.3; lcd_height = 51.5; lcd_length = 78.5; $fn = 50; module box1(){ difference(){ cube([height, length, depth]); translate([wall_thickness, wall_thickness, 0])...
glb/cad_7217fce93bae.glb
Create a Rounded Base Tee Nut by constructing two stacked cylinders. First, create a wide circular base with a diameter of 15.875 mm and a height of 2.032 mm. Centered on top of this base, add a second, narrower cylinder with a diameter of 8.001 mm and a height of 2.921 mm. Pierce the entire assembly vertically throu...
centerHole=.107; shoulderDia=.315; shoulderHeight=.115; roundBase=.625; roundBaseHeight=.08; spannerHole=.1; spannerOffset=.23; module roundBaseNut(){ difference(){ union(){ cylinder(d=roundBase, h=roundBaseHeight, $fn=120); cylinder(d=shoulderDia, h=shoulderHeight+roundBaseHeight,...
glb/cad_42a4386c9a74.glb
Create a tealight shadow caster consisting of a base and a candle holder. Start with a base plate as a cylinder with a radius of 31mm and a height of 3mm. Remove material from this plate using three rectangular slots, each 8mm wide and 100mm long, centered on the plate and rotated at 0, 210, and 330 degrees to create a...
module tealightstand(candleradius, candleheight, centerzone, spokewidth) { union() { difference() { cylinder(r=candleradius+12, h=3, center=true); rotate([0, 0, 90]) union() { translate([0, 50 + centerzone, 0]) cube([spokewidth, 100, 10], center=true); translate([0, -50 - centerzone, 0]) cu...
glb/cad_29163c072414.glb
Create a Skadis device mounting plate consisting of a rectangular baseplate 119mm wide, 19mm high, and 2mm thick. On the back surface of the plate, add a single row of mounting hooks. These hooks should be spaced every 40mm horizontally across the width of the plate. Each hook consists of a small cube with a rounded ...
BASEPLATE_WIDTH = 119; BASEPLATE_HEIGHT = 19; BASEPLATE_THICKNESS = 2; MULTIPLE_HOOK_ROWS = false; DIAGONAL_HOOKS = true; GENERATE_HOLES = false; HOLE_COUNT_H = 2; HOLE_DISTANCE_H = 20; HOLE_COUNT_V = 1; HOLE_DISTANCE_V = 30; HOLE_DIAMETER = 4; HOLE_QUALITY = 20; GENERATE_NUT_RECESSES = true; HOLE_NUT_D...
glb/cad_0ddf1947acc2.glb
Create a climbing rock prop by starting with a large sphere of 65mm radius centered at [0, 0, 12]. Flatten the bottom of this sphere by removing everything below z = -13 using a large centered cube of 160mm width and depth and 140mm height. Carve out several spherical voids from this main body: place a 10mm radius sphe...
B=25; h=8; l=69.5; d=11; $fn=100; module bolt(){ union(){ translate([0,0,l-0.1])cylinder(h=h, r=B/2); cylinder(h=l, r=d/2); } } difference() { translate([0,0,12]) sphere(65, $fn=50); translate([0,0,-25]) cube(size = [160,160,140], center = true); translate([19,19,68]) sphere(12, $fn=10); tran...
glb/cad_090bc6b13a5d.glb
Create a flashlight holder with a total height of 64mm and a total width of 34mm. The main body consists of a semi-cylindrical shell with an outer width of 34mm and a central vertical hole with a diameter of 24mm to accommodate the flashlight. The wall thickness of this shell is 5mm. On one side of the body, integrate...
$fn = 100; height = 64; dia = 24; thick = 5; width = dia + 2 * thick; clip_length = 7*height/8; clip_thickness = 6; clip_gap = 5; clip_top = 8; clip_width = width/2; difference() { union () { cube([width/2, width, height]); translate([width/2,width/2,0]) { cylinder(h=height, r=width/...
glb/cad_a2867b9a77da.glb
Create a small items organizer tray with an overall external width of 182mm, a depth of 82mm, and a height of 17mm. The main body is a rectangular block with walls 6mm thick on the left and right ends. Divide the interior into a grid of 12 compartments by creating 6 columns along the width and 2 rows along the depth....
nombre_case_x = 6; nombre_case_y = 2; hauteur = 15; largeur_total =182; profondeur = 82; paroi = 6; paroi_int = 1.4; tiroir(nombre_case_x,nombre_case_y ); module enture(){ difference(){ union(){ cube([paroi,profondeur,hauteur+2]) ; translate([-paroi,0, hauteur+5.5]) rotate([0,45,...
glb/cad_a1164e3d6147.glb
Create a small items organizer consisting of a rectangular tray with internal dividers. The overall external dimensions are 182mm in width, 82mm in depth, and 17mm in height. The main body is a hollow rectangular shell with walls 6mm thick. The tray features a specialized rim or "lip" at both ends. This lip is formed ...
nombre_case = 3; hauteur = 15; largeur_total =182; profondeur = 82; paroi = 6; paroi_int = 1.4; translate([0,0,0])tiroir(nombre_case); translate([0,100,0])tiroir(1); translate([200,100,0])tiroir(10); translate([200,0,0])couvercle(1); module enture(){ difference(){ union(){ cube([paroi,profondeur,haut...
glb/cad_874e02c2966d.glb
Create a quarter-turn electronic equipment box battery door latch consisting of three main components: a rotating arm, a retainer, and a clip. First, create the rotating arm. Start with a disc 10mm in diameter and 1.8mm thick. Cut a rectangular slot through the center of the disc, 1.67mm wide, to allow for a flat-blad...
BOX_HOLE_DRILL_DIA = 10; WALL_THICK = 1.5; module CustomiserStopper() {} SLOTTED_DISK_THICK = WALL_THICK * 1.2; COIN_WIDE = BOX_HOLE_DRILL_DIA/6; FACETS = 155; $fn = FACETS; QuarterTurnLatchComponentsOnSprue(); module QuarterTurnLatchComponentsOnSprue() { translate([0,0,WALL_THICK]) color("lightgreen") Retai...
glb/cad_6c5a0a4c876f.glb
Create a customizable tube wrench tool. Start by creating a main outer cylinder with a height of 25mm and a radius of 8.54mm. From this main body, remove three distinct geometric volumes to create the functional openings. First, remove a hexagonal prism from the bottom center, with a height of 12.5mm and a radius of 4....
altura = 25; diametro = 2; medida = 8; agujero = 5; rad_agujero = (agujero/2) / cos(45); rad_llave = (medida / 2) / cos(30); rad_min=4.6188; rad_cilindro = rad_min + diametro; difference(){ cylinder(h=altura, r=rad_cilindro); translate([0,0,-1]){ cylinder(h=altura/2, r=rad_llave, $fn=6); } ...
glb/cad_56cacd698513.glb
Create a customizable pen clip designed to be adhered to a notebook. Start by constructing a hollow cylindrical sleeve with a height of 20mm and an inner diameter of 8mm. The wall thickness of this sleeve should be 0.8mm. To create the clip opening, remove a rectangular section from the side of the cylinder measuring 2...
Height=20; Feet_size=30; Diameter=8; Text="3D"; Text_Size=6; my_object(); module my_object(){ translate([0,-Diameter/2,0]){ difference(){ difference(){ cylinder(h=Height,r=Diameter/2+0.8, center=true,$fn=100); cylinder(h=Height+1,r=Diameter/2, center=true,$fn=100); } translate([0,-2.75,-(...
glb/cad_0b025a12a031.glb
Create a Gravity Assisted Containment Device in the shape of a 12-sided polygonal prism. The container should have a total internal volume of 250,000 cubic millimeters. To achieve this volume with a tall profile, set the internal height to be approximately 2.618 times the internal radius. Construct the outer shell as...
volume=250; conversion=1; sides=12; thickness=1; shape=1; ratio=0.6180+shape; volume_mm3=volume*conversion*1000; internal_radius=pow(volume_mm3/(sin(180/sides)*cos(180/sides)*sides*ratio*2),1/3); internal_height=internal_radius*ratio*2; external_radius=internal_radius+thickness; external_height=internal_height+thi...
glb/cad_9fdda2288358.glb
Create a Vifly Finder 2 buzzer mount with a total height of 9mm. Start by creating a central rectangular sleeve with internal dimensions of 12mm wide by 20mm long. The walls of this sleeve should be 1mm thick. Rotate this rectangular sleeve by 56 degrees along the Z-axis. On either side of the sleeve, add two cylindri...
vifly_height = 9; vifly_width = 12; vifly_length = 20; thickness = 1; standoff_width = 5; case_rotation = 56; case_offset_y = 3; case_offset_x = -1.5; anti_warp = .15; filament_width = 1.75; function anti_warp_widen(v) = v + (filament_width * anti_warp) * 2; function anti_warp_shrink(v) = v - (filament_width * ant...
glb/cad_7acb903fd829.glb
Create a FoldaRap Spoolholder consisting of a mounting base and a spool support arm. Start with a mounting block that is 15mm wide, 20mm long, and 4mm thick, centered on the origin. Subtract a vertical cylinder with a radius of 2.15mm and a height of 30mm from the center of this block. Extend the structure to create a...
$fn=32; nut_slop = .3; bolt_slop = .2; m3_diameter = 3+bolt_slop; m4_diameter = 4+bolt_slop; m5_diameter = 5+bolt_slop; m3_nut_diameter = 5.5/cos(30)+nut_slop; m4_nut_diameter = 6.87/cos(30)+nut_slop; m5_nut_diameter = 7.85/cos(30)+nut_slop; rotate([-90,0,0]){ difference(){ union()translate([0,-0.05,0]){ cube([15...
glb/cad_59ec3c72a262.glb