Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a blanker for a control panel distribution board box. Start by creating a main rectangular base plate that is 18mm wide, 52mm high, and 1.8mm thick. On the top surface of this base, add two latch hooks. Each latch hook is a vertical extrusion with a height of 7.2mm (0.8 times the half-module width). The profil...
latch_clearance = 3; cap_width = 9; cap_height = 52; cap_streinght = 1.8; hole_height = 46; module latch_hook() { a = latch_clearance; w = cap_streinght * 1.5; h = w + a; lc = latch_clearance; linear_extrude (height = 0.8 * cap_width, twist = 0, slices = 1, scale = 1.0) { polygon([[0, 0], ...
glb/cad_8860ede90db2.glb
Create an abacus for the board game Tikal consisting of a rectangular tray containing ten sliding beads on a central rod. The tray is a hollow rectangular box with an outer length of 111mm, a width of 17.4mm, and a wall thickness of 2.4mm. The top of the tray is open, except for two thin side walls that constrain the...
number_of_balls=10; Thickness_of_box=4; distance_between_balls=7; scale=0.6; ball_width_radius=15*scale; ballabstand=distance_between_balls*scale; ball_height_radius=ball_width_radius*.8; ball_min_height_radius=ball_height_radius*.966; stangenradius=ball_width_radius/4; stangenluft=.75*scale; echo ("Distance rod t...
glb/cad_96aa1e9b0eda.glb
Create a rivet greeble strip by starting with a rectangular base measuring 5mm wide, 100mm long, and 1.5mm thick. Along the center line of the width (2.5mm from the edge), place a series of 10 small cylindrical rivets. Each rivet should have a radius of 0.75mm and a height of 0.75mm, protruding from the top surface of ...
greeble_width= 5; greeble_length= 100; greeble_thickness= 1.5; rivet_radius= greeble_thickness/2; rivet_number= 10; rivet_left_y= greeble_width/2; rivet_right_y= greeble_length- greeble_width/2; cube([greeble_width, greeble_length, greeble_thickness]); translate([greeble_width/2, greeble_width/2, greeble_thickness]...
glb/cad_3e18346d1fe2.glb
Create an angled spout for tubing by combining a mounting ring and an angled trough. Start with a hollow mounting ring centered on the origin, with an outer diameter of 63mm, an inner diameter of 57mm, and a height of 5mm. Attached to this ring, create a hollow cylindrical trough with the same diameters (63mm outer, ...
TUBE_DIAM = 57; MOUNT_LENGTH = 5; MOUNT_TROUGH = 20; TROUGH_ANGLE = 30; THICKNESS = 3; translate([0,0,-MOUNT_LENGTH]) difference() { cylinder(r=TUBE_DIAM/2+THICKNESS, h=MOUNT_LENGTH); cylinder(r=TUBE_DIAM/2, h=MOUNT_LENGTH); } difference() { union() { difference() { cylinder(r=TU...
glb/cad_41976ff9cb4c.glb
Create a replaceable high-heel surface with a total length of 65mm, a width of 50mm, and a height of 6.5mm. The shape is formed by combining a rectangular block and a semi-cylinder. Start with a rectangular base that is 50mm wide, 65mm long, and 6.5mm high, but truncate the length so the rectangular section is 50mm wid...
hoogte = 6.5; lengte = 65; breedte = 50; schacht = 2; kop=3.9; voet = 0; screwhole = 0; module gat() { color ("green") translate ([0,0,-1]) cylinder (h=15, r1=schacht, r2=schacht); color ("blue") translate ([0,0,breedte/2]) cylinder (h=(hoogte -4.5), r1=kop, r2=kop); } module solid () { union() { translate...
glb/cad_74f3a146729c.glb
Create a nut-based Bowden coupling for a 3D printer extruder. Start with a central cylindrical base 10mm high with a radius of 12.5mm. Add a rectangular block centered on the base, measuring 50mm in length, 11mm in width, and 10mm in height. At the center of the base, create a vertical hole with a radius of 3.85mm to...
bolt_distance = 50; bolt_dia = 6; base_flesh = 2.5; tube_dia = 7.7; open = 1; base_h = 10; supports = 0; PI = 3.15159265; $fs=0.2; $fa=3; if(supports==0) rotate([0,180,0]) coupling(); if(supports==1) { coupling(); } module coupling() { width = bolt_dia+bolt_distance+3; hexSize=13; difference() { coup...
glb/cad_349051b3924d.glb
Create a Bowden coupling adapter. Start with a central cylindrical body that has an outer diameter of 25mm and a height of 9mm. This cylinder should have a central vertical hole with a diameter of 7.7mm passing through its entire height. At the base of this cylinder, add a concentric adapter ring that extends downward...
bolt_distance = 27.81 * 2; bolt_dia = 6; base_flesh = 2.5; tube_dia = 7.7; open = 1; base_h = 12; supports = 0; cylin_dia = 25; budda_ouput_dia = 16; budda_adaptor_w = (cylin_dia - budda_ouput_dia)/2; budda_adaptor_h = 13; PI = 3.15159265; $fs=0.2; $fa=3; if(supports==0) rotate([0,180,0]) coupling(); if(supports==1...
glb/cad_d581e252ea95.glb
Create a GT2 tooth side belt clip designed to secure a belt with a 2mm pitch. Start by creating a rectangular base that is 23mm long, 6.4mm wide, and 1mm thick. On the top surface of this base, add a series of 12 parallel ridges to accommodate the belt teeth. Each ridge should be 0.6mm wide and 0.8mm high, spaced exact...
gt2grooveWidth=1; gt2pitch=2; gt2ridgeWidth=gt2pitch-gt2grooveWidth; gt2width=6; gt2height=1.6; gt2backingHeight=0.8; gt2grooveDepth=gt2height-gt2backingHeight; clearance=0.2; shim=0.05; overhangY=1; overhangX=0.5; clipArm=2; clipBase=1; clipLength=11+2*clearance; plateThick=3; hookBackOffset=3.66; clipWidth=cli...
glb/cad_ad52b5c80d36.glb
Create an axis stepper motor pulley mount designed for a NEMA 17 or 14 motor and a 20x20 extrusion. First, construct a base plate that includes a central mounting area for the stepper motor. This area should feature a series of holes and slots to accommodate both NEMA 17 (31mm spacing) and NEMA 14 (26mm spacing) moun...
partsOnly=true; beltVoffset=2.4; supportLeft=true; supportRight=true; m5r=2.5; m3r=1.5; idlerOBsmooth=false; idler20t=false; idler20tm5r=false; idlerM5r= (idlerOBsmooth ? true : (idler20tm5r ? true : false )); idlerH = (idlerOBsmooth ? 16.2 : (idler20t ? 8.5 : -1 )); idlerD = (idlerOBsmooth ? 22 : (idler20t ? 18 :...
glb/cad_126358ea7c0e.glb
Create a custom name tag with a total thickness of 1mm. Start by forming the base shape: a rectangle 20mm long and 10mm wide, with two fully rounded semicircular ends each having a radius of 5mm. One end of the tag must feature a circular hole with a radius of 2mm, centered within the semicircular cap. On the top sur...
text2 = "abc"; font_thickness = 1; font_size = 10; hight = 1; radius_of_hole = 2; eges_of_hole = 100; edges_of_rounding = 100; Lengh = 20; width = 10; linear_extrude( height=hight, twist=0, scale=[1, 1], center=false){ difference() { union(){ { $fn=edges_of_rounding; circle(r=(width / 2));...
glb/cad_64066478635b.glb
Create a set of 10 interlocking temple pieces for the board game Tikal. Each piece is a rectangular block with a height of 4.5mm. The pieces are designed to be stacked, with each subsequent level shrinking in width and depth by a factor of 0.07 times the base width (45mm) and depth (40mm) respectively. For levels 1 th...
part = "temple"; piece_height=4.5; piece_width=45; piece_depth=40; shrink_factor=.07; stairs_per_piece=3; small_corner=.92; large_corner=.85; stair_width_percent=.3; interlockdistance=.88; use <write/Write.scad> fontfilename="Letters.dxf"; startstufe=1; endstufe=10; anzahlstufen=endstufe-startstufe; tempel...
glb/cad_3fd8dc1d295e.glb
Create an XY Calibration Part centered on the origin. Start by constructing a base block that is 20mm wide, 20mm deep, and 10mm high, extending from -10mm to 10mm on the X and Y axes. Within this volume, carve out a central vertical hole with a complex 8-sided star-like profile. This profile is defined by a series of...
module xy_calibration(){ intersection(){ difference(){ union(){ color("green") translate([-10,-10,0]) cube(size=[20,20,10]); mirror([1,0,0]){ translate([0,10,0])xy_triangle(s=2); mirror([0,1,0]) translate([0,10,0])xy_triangle(s=2); } translate([0,10,0])xy_triang...
glb/cad_0296684952d5.glb
Create a Kobayashi Fidget Cube consisting of eight identical cubes, each with a side length of 20mm. Each individual cube should have its edges and faces beveled by 1.6mm. The eight cubes are arranged in a 2x2x2 cluster and connected by integrated hinges. The hinges consist of a pin and a corresponding hole with a ra...
subject = "cube"; $fn = 48; gap = 0.4; size = 20; hinge_radius_ratio = 0.30; edge_bevel_size = 1.6; face_bevel_size = 1.6; hinge_wall_thickness = 2.4; hinge_pin_scale = 1; hinge_edge_thickness = 0.4; e = 1 / 1024; ee = 2 * e; __ = gap; _ = 0.5 * __; hsize = 0.5 * size; size__ = size - __; hsize_ = hsize - _;...
glb/cad_cd479d86087a.glb
Create a Human Door Stop consisting of a stylized human figure lying flat. The body is centered around a main torso block 30mm long, 20mm wide, and 20mm high. Extend two legs from the torso back to a total length of 40mm; these legs should be 6mm thick and separated by a 10mm gap. The legs transition from the torso int...
ll=40; lt=6; ls=10; bw=20; bl=30; bh=20; aa=60; al=30; sh=20; hd=20; wa=10; wsh=2; nh=5; na=55; hd=20; difference(){ union(){ linear_extrude(height=bh){ for(yi = [-1,1]){ hull(){ translate([0,yi*(bw/2-bw/4)]) circle(d=bw/2); translate([-ll...
glb/cad_745b72bb4fc0.glb
Create a braided structure called a braid lib1. The model is formed by generating a series of connected, hull-shaped segments based on spheres with a radius of 5mm. These spheres are positioned along a sinusoidal path where the x-coordinate increments by 1.667mm per step for 31 steps, while the y and z coordinates osci...
numCirc=30; ang=180; halfLinkDist=50; sphSize=5; yW=4; zW=4; pitch=ang/numCirc; nc1=numCirc; module half() { for (i=[0:nc1]) { echo (i*3.333); hull() { translate ([ i*halfLinkDist/numCirc , -sin(i*pitch*2)*yW , sin(i*pitch)*zW ]) sphere (sphSize); translate ([ (i+1)*halfLinkDist/numCirc ...
glb/cad_76679faed013.glb
Create a Rostock belt spreader with endstop by constructing a rectangular block 24mm high, 40mm long, and 25mm wide. At the center of the block, remove a vertical cylindrical hole with a radius of 4mm that passes completely through the height of the part. On the bottom section of the block, create a base 8mm high and...
use <bracket.scad>; use <idler_end.scad>; h = 24; b = 8; module microswitch() { union() { translate([0, -3.5, 2.5]) cube([6.3, 19.66, 10.55], center=true); translate([0, 0, 8]) cube([3.5, 2, 3], center=true); } } x = -45 * cos(30); y = 50 - 45 * sin(30); a = 0; % translate([30+x, y, 4]) rotate([0, 180, ...
glb/cad_6c8d47abc4af.glb
Create a replacement thumbgrip for a boxcutter. The main body is a rounded rectangular block with a total length of 17mm, an inner width of 9mm, and an end width of 12mm. The overall thickness is 4mm. The main body features a series of horizontal grooves across its surface, each 1mm wide and 0.9mm deep, spaced evenly ...
$fn=24; TW = 9; TW2 = 12; TL = 17; TE = 3; TT = 4; TGD = 0.9; TGW = 1; CCW = 4.75; IL = 0+13.5; IW = 0+2.75; IH = 0+4.25; CL = 0+6; CF = 0+1.8; CD = 0+2; IH2 = IH+TT/2; CO = IL-CL; CFO = CL-CF; CBO = CCW-IW; TWO = (TW2-TW)/2; translate([(TW-TT-IW)/2,(TL-IL)/2,TT*.75]) insert(); difference() { thumbgrip(); ...
glb/cad_728c3f63708b.glb
Create a bathtub wine glass holder consisting of a flat platform and two vertical support blocks. The platform and blocks should have a thickness of 12mm and a depth of 60mm, with all exterior corners rounded to a 3mm radius. The platform is a rectangular base with a total length of 172mm (calculated as 60mm wall thic...
tub_Wall_Thick=60; tub_Wall_Angle_1=0; tub_Wall_Angle_2=0; stem_Slot=14; stem_Hole=14; glass_Angle=0; glass_Offset=0; flip=true; test=false; test_Depth=20; thick=12; glass_Support=100; depth=60; leng=tub_Wall_Thick+glass_Support+thick; coneTop=100; coneHeight=thick+thick/2; height=70; rad=3; module twh(...
glb/cad_2075dbaeeff4.glb
Create a Non-Print'n'Place Fidget Cube consisting of eight identical modular blocks. Each block is based on a cube with a side length of 15mm and rounded corners with a radius of 1.5mm. Each block features integrated hinge mechanisms on its edges to allow them to link together. On two adjacent edges, create a cylindr...
$fn=30; cube_size = 15; corner_radius=1.5; hinge_outradius=2.5; hinge_inradius=1.0; clearance=0.5; pitch=cube_size+clearance; module fidgetcubeint(miss) { d1=-cube_size/2+corner_radius; d2=cube_size/2-corner_radius; hull() { if(miss != 0) translate([d1,d1,d1]) sphere(r=corner_radius); if(miss != 1) translate([...
glb/cad_53294c012d45.glb
Create a dollhouse chimney by starting with a solid rectangular block measuring 80mm wide, 60mm deep, and 70mm high. Hollow out the center of this block to create a shell with a wall thickness of 5mm on all sides. To finish the interior, remove a wedge-shaped section from the top of the hollow space to simulate a roof ...
h=70; b=80; t=60; d=5; a=40; hroof = b * sin(a)/(2 *sqrt(1 - sin(a)*sin(a))); difference() { cube([b, t, h]); union() { translate([d, d, 0]) cube([b-2*d, t-2*d, h]); roof(b, t, hroof); } } module roof(b, t, h){ polyhedron( points=[[0,0,0], [0,t,0], [b,t,0], [b,0,...
glb/cad_6c952b765732.glb
Create a table tennis ball holder for a spherebot. Start by constructing a hollow cylinder with an outer radius of 6mm, an inner radius of 4mm, and a height of 11mm. Centered on top of this cylinder, position a hollow spherical cap. This cap is formed by a sphere with a radius of 10mm, from which a smaller concentric s...
$fn=100; difference() { cylinder(h=11, r=6); cylinder(h=11, r=4); } translate([0, 0, 18]) difference() { sphere(10); sphere(8.4); translate([0,0,18]) cube(40, center=true); }
glb/cad_068b5083c3e8.glb
Create a stuffed animal boot by combining three main sections: a toe, an arch, and a heel. Use a wall thickness of 3mm throughout. For the toe, create a sphere with a diameter of 40mm. Hollow it out by removing a smaller concentric sphere with a diameter of 34mm and a cube of 41mm x 41mm x 40mm centered at the base. C...
footwidth=40; footlength=60; heelheight=40; wall=3; difference(){ translate([0,footwidth/2,0])sphere(footwidth/2,true); translate([0,footwidth/2,-footwidth/2]) cube([footwidth+1,footwidth+1,footwidth],true); translate([0,footwidth/2,0])sphere((footwidth-wall)/2,true); translate([0,footlength/2,0]) rotate([90...
glb/cad_37889e38179a.glb
Create a graphics card piece by extruding a complex 2D profile to a height of 10mm, centered on the Z-axis. The base shape is a rectangular plate approximately 115mm by 95mm (scaled by 0.5 from the original coordinates), featuring a notched corner and a protruding tab on one side. On the top surface of the plate, cre...
linear_extrude(height = 10, center = true, convexity = 10, twist = 0) scale([0.5,0.5,0.5]) g229(); module g229() { union() { union() { bezier_polygon([[[10.0, -36.413], [10.0, -36.413], [46.121, -36.413], [46.121, -36.413]], [[46.121, -36.413], [46.121, -36.413], [46.121, -46.704963], [46.121, -46.704963]], [...
glb/cad_99171aeb216e.glb
Create two magnetic nesting measuring spoons. Each spoon consists of a flat handle and two hemispherical bowls of different sizes located at opposite ends of the handle. For each spoon, create a central handle as a rectangular block 120mm long, 20mm wide, and 4mm thick. In the center of the handle, create a cylindrica...
part = "both"; wall_thickness = 2; handle_width = 20; lg_handle_id = 30; magnet_offset = 30; bowl_center_offset = 60; magnet_d = 3.2; magnet_h = 1.6; magnet_clearance = 0.1; $fa = 5; $fs = 0.5; tbsp_r = 19.184; tsp_r = 13.3014; half_tsp_r = 10.5573; quarter_tsp_r = 8.3794; sm_handle_id = lg_handle_id - 2*wal...
glb/cad_75d70f14566f.glb
Create a hexagonal connector for a geodesic icosahedron dome. The main body is a hexagonal prism with a radius of approximately 9.5mm and a height of approximately 7.2mm. From this central hub, create six radial holes for inserting sticks with a diameter of 4.3mm. These holes should be drilled from the outer edges to...
module hexa_hub_main(r,h,s) { hull() { cylinder(r=r, h=h,center=true,$fn=6); for (i=[0:5]) { rotate([0,0,i*60]) translate([r-s/2,0,0]) cube([s,s, h],center=true); } } } module hexa_hub(sd=2.5, holedepth=6) { length = holedepth + sd*sin(18)+2; zangle = [18,16,16,18,16,...
glb/cad_cc0793f0a628.glb
Create a pentagonal connector hub for a geodesic dome. The main body is a pentagonal prism with a radius of approximately 9.5mm and a height of approximately 7.5mm. The top and bottom faces of this prism are flattened. At five equidistant points around the center, spaced every 72 degrees, create holes for inserting st...
module penta_hub_main(r,h,s) { hull() { cylinder(r=r, h=h,center=true,$fn=5); for (i=[0:4]) { rotate([0,0,i*72]) translate([r-s/2,0,0]) cube([s,s, h],center=true); } } } module penta_hub(sd=2.5, holedepth=6) { length = holedepth + sd*sin(18)+2; hub_r = 0*sd + holedept...
glb/cad_f6111febd570.glb
Create a wire guide cover for a 20mm rail. Start by creating a rectangular cover plate with a thickness of 2mm, a width of 20mm, and a length of 35mm. Round all four corners of the plate with a radius of 3mm. On the underside of the plate, add three insertion posts designed to snap into a 6.2mm rail gap. Each post con...
capWidth = 35; capHeight = 20; railGap = 6.2; gapReach = 1.8; multiTabInset = 6; insertionCatchDiameter = 7.0; insertionCatchHeight = 3; cornerDiameter = 6; wallThickness = 2.0; gapPostHeight = gapReach; $fa = 4; $fs = 0.5; capDepth = wallThickness; adjustedCapWidth = capWidth - cornerDiameter; adjustedCap...
glb/cad_ae586078aae3.glb
Create a sliding camera cover for Google Glass consisting of a thin rectangular frame and a sliding insert. First, construct a hollow rectangular sleeve with outer dimensions of 1.5mm width, 12.8mm height, and 16mm depth. The walls of this sleeve should be 1mm thick, leaving an internal cavity of 1.5mm by 10.8mm by 14m...
thickness = 1; prismHeight = 12.8; prismWidth = 1.5; prismDepth = 16; mirrorSide = 25.7; mirrorSideEdge = 4; mirrorDepth = 2.5; glassLength = 20; difference() { translate([0, 0, 0]) cube([prismWidth, prismHeight + thickness * 2, prismDepth + thickness * 2]); translate([0, thickness, thickness]) cube([prismWidth, prismH...
glb/cad_8288ef03c05f.glb
Create an XYZ Interlocking Plane Puzzle consisting of three identical rectangular slabs, each measuring 5mm by 15mm by 40mm. The puzzle is formed by three interlocking pieces that occupy the X, Y, and Z planes. First, create the X-piece by taking a 5x15x40mm slab and removing a central rectangular slot that is 5.5mm w...
mode=-1; hole_factor=1.1; base_size=5; X=[0,0,0]; Y=[90,0,90]; Z=[0,90,90]; module slab(rot=[]){ rotate(rot) cube([1,3,8],true); } module Xn(){ difference(){ slab(X); scale(hole_factor) slab(Y); } } module Yn(){ difference(){ slab(Y); scale(hole_factor){ slab(Z); translate([...
glb/cad_7a4c39242b14.glb
Create a Customizable Cable Clip by constructing a series of stacked rectangular blocks with cylindrical cutouts. Create two identical units, each consisting of a rectangular base measuring 26.67mm in width, 12mm in depth, and 10mm in height. For each unit, center a cylindrical hole with a radius of 5mm and a height ...
Grabber_strength = 1.5; Length = 10; Diameter_of_the_cable = 10; Plastic_thickness = 2; Number_of_cables = 4; for (i = [0 : abs(1) : Number_of_cables / 2 - 1]) { translate([0, ((Diameter_of_the_cable + Plastic_thickness) * i), 0]){ difference() { cube([((Diameter_of_the_cable * 2 + Plastic_thickness) + ...
glb/cad_c89dc8197351.glb
Create a corner post bracket in the shape of an L-profile. Start with a solid block measuring 178mm in width, 178mm in depth, and 25mm in height. Remove a large section from the center to create an L-shaped cross-section with a consistent wall thickness of 30mm. Round the interior corner of the L-shape using a radius o...
ladoX=178; ladoY=178; ladoZ=25; grosor=30; redondeadorMink=30; espaciamientoEntreTornillos=100; ajusteTornillosX=120; ajusteTornillosOrillaX=20; ajusteTornillosOrillaY=20; difference(){ cube([ladoX,ladoY,ladoZ],center=true); translate([grosor,-grosor,-ladoZ]) linear_extrude(height=ladoZ*2) minkowski(...
glb/cad_3ae67d56a003.glb
Create a diagonal cutter sheath by starting with a solid rectangular block with a rounded end. The main body should be 23.3mm wide, 61.5mm long, and 13.8mm thick. Carve a hollow cavity into the center to fit the tool. This cavity is 19.3mm wide at the opening, tapering slightly as it goes deeper. The interior shape i...
CUTTER_X_MAX = 17.3; CUTTER_X_MID = 14.5; CUTTER_X_MIN = 13.6; CUTTER_Y_1 = 13.6; CUTTER_Y_2 = 32.5; CUTTER_Y = 52.5; CUTTER_Z = 7.8; CLEARANCE = 1; BOX_DIMEN = 3; EPSILON = 1.0e-5; NOTCH_X_MAX = 5; NOTCH_X_MIN = 3; NOTCH_Y = 12; BUTTON_DIAMETER_MAX = 10; BUTTON_DIAMETER_MIN = 5; BUTTON_Z = 6; BUTTON_MASK = 30; SHO...
glb/cad_840183f6c1ba.glb
Create a Parametric Star Box consisting of a main container and a separate lid. The base shape for all components is a five-pointed star with an outer radius of 40mm and an inner radius of 20mm, with corners rounded by a 3.2mm radius. For the main box, create a solid star prism with a height of 35mm. Hollow out the c...
innerscale = 0.5; roundscale = 0.08; boxwidth = 40; boxheight = 35; margin = 3; lipheight = 2; module star(outer,h) { inner = outer * innerscale; round = outer * roundscale; linear_extrude(height=h) minkowski() { polygon([ [outer,0], [inner*cos(36),inner*sin(36)], [outer*cos(72),outer*sin(72)], [inner*cos...
glb/cad_b26b90440979.glb
Create a Fire HD 10 Wall Mount consisting of two symmetrical halves (left and right) that join to form a hollow frame. The internal cavity must accommodate a device measuring 263mm wide, 160mm high, and 10.2mm thick. The overall external dimensions of the frame are 303mm wide and 178mm high, with a total depth of 17mm....
$fn=120; useInserts = false; fireWidth = 263; fireHeight = 160; fireThickness = 10.2; topBottomThickness = 9; boxHeight = (2*topBottomThickness) + fireHeight; echo("boxHeight",boxHeight); boxDepth = 17.0; echo("boxDepth",boxDepth); boxWidth = 283; boxWidth = 283 + 20; usbCutoutDepth = 19; backThickness = 5.1; ...
glb/cad_31ba5445f4be.glb
Create a Chess-checkers Board consisting of a thin base plate and a decorative grid of stars. Start by creating a main body that is 3mm thick. On the bottom surface, create a 4x4 grid of squares, each with a side length of 41mm. Within each square, center a 5-pointed star. The stars should be scaled so they fit withi...
side=41; thick=0.6; thickFull=3; edge_thick=5; lines=1.6; start_points=5; star_shrink=0.8*4; regspace=4; xnum=4; ynum=4; color2make=3; part2make=4; quadrant=5; quadrantMain=6; makeSquares(xnum,ynum,color2make,part2make); make_boarder(quadrant,thick); mainPart(quadrantMain); reg_points(); module makeSquar...
glb/cad_4e0c52d90bb8.glb
Create a parametric planter box with the following geometric specifications. Start by placing six vertical leg posts, each a square prism measuring 42mm x 42mm x 440mm. Position these posts in pairs at the four corners and two in the center of the box's length. Construct the long walls by stacking four horizontal bo...
legSize = 42; legHeight = 440; legDarLength = 1800; darHeight = 100; darLength = 1800; darWidth = 12; wallParts = 4; floorParts = 3; floorBraces = 6; longWallAlpha = 1.0; sideWallAlpha = 1.0; module box() { braceLength = floorParts*darHeight; totalBraceLength = (floorBraces*braceLength) + (6*legHeight); echo();...
glb/cad_8c7a33fc4518.glb
Create a Side mount X carriage Prusa i3 consisting of a main carriage body and a removable belt clamp. Construct the main carriage body as a rectangular block with a width of 50mm, a height of 25mm, and a depth of 11mm. Centered on the top surface, create a rectangular cutout of 50mm by 8.4mm by 15.1mm. On the left a...
m3d=3+0.2; m3r=m3d/2; m4d=4+0.4; m4r=m4d/2; m5d=5+0.4; m5r=m5d/2; m3nd = 6.2+0.3; m3nr = m3nd/2; m3nh=2.5; m3shd=7+0.5; m5nd = 9+0.4; m5nr = m5nd/2; m5nh=4.2; sbd = 8+0.3; sbr = sbd/2; hs=50; bh=25; w=4; lmuud=15; bd=15.1; hz=11; hzb=10.25; hyb=hs-lmuud-w-1; hx=bh+bh; hy=hs+15+w; t25_16d=10.7; gt2_16d=8; gt2...
glb/cad_93bb569e69fa.glb
Create a bed leveling nut knob. Start with a central vertical column that transitions from a cylinder with a 10mm diameter and 17mm height into a wider base. The base is a composite of three sections: a bottom 2mm frustum tapering from 23.5mm to 25mm, a middle 3mm cylinder with a 25mm diameter, and a top 2mm frustum ta...
$fn=50; hgt = 7; fingerDia = 5.5; nutHeight = 3; nutDia = 7 / cos(30); hole = 4.4; thumb = 10; dia = 25; steps = 10; pathRadius = dia/2+1; difference([]) { union() { translate([0,0,2]) cylinder(d=dia,h=hgt-4); cylinder(d2=dia,d1=dia-1.5,h=2); translate([0,0,hgt-2]) cylinder(d1=dia,d2=dia-1.5,h=2)...
glb/cad_fe2f724bcc45.glb
Create an E3D V5/V6 Holder for a Richrap 3DR by constructing a series of concentric rings and subtracting specific geometric voids. Start with a primary outer ring with an outer diameter of 44mm, an inner diameter of 16mm, and a height of 8mm. Add a second, smaller concentric ring centered on the first with an outer di...
$fn =90; PHI= 3.1415926535897932384626433832795028841971; Clearance=0.4; Abstand_M3 = 31; Gap =3; dM3 = 3 + Clearance; LayerHeight= 0.0; jHeadD1= 16; jHeadH1=5.4; jHeadD2= 12; dSrewHead= 6.0 + Clearance; dHexM3 = 6.08 + Clearance; module oval(w,h, height, center = false) { scale([1, h/w, 1]) cylinder(h=height, r=...
glb/cad_3c6a1f4eb162.glb
Create a 3D model of the capital letter "A" using a serif typeface such as Times New Roman. The letter should have a uniform thickness of 25mm along the Z-axis. The overall width and height of the letter in the XY plane should be 127mm. Extrude the shape linearly to achieve the specified thickness, ensuring the geometr...
block_xy_size=127; block_z=25; linear_extrude(height = block_z) text("A", font = "Times New Roman", size=block_xy_size);
glb/cad_a5e58539eacd.glb
Create a 3D model of the capital letter "B" using a serif typeface such as Times New Roman. The letter should have a uniform thickness of 25mm along the Z-axis and a footprint of 127mm by 127mm in the XY plane. Extrude the character linearly to achieve a solid block shape with flat top and bottom faces.
block_xy_size=127; block_z=25; linear_extrude(height = block_z) text("B", font = "Times New Roman", size=block_xy_size);
glb/cad_28473c9cc234.glb
Create a 3D model of the letter "Y" using a serif typeface, such as Times New Roman. The letter should have a total width and height of 127mm and a thickness of 25mm. Extrude the character linearly along the Z-axis to achieve this depth, ensuring the final shape is a solid block with flat faces and sharp edges.
block_xy_size=127; block_z=25; linear_extrude(height = block_z) text("Y", font = "Times New Roman", size=block_xy_size);
glb/cad_7b3d72bbc876.glb
Create a Z-motor scale consisting of a thin circular ring with an integrated toothed outer edge. Start by creating a central cylinder with a diameter of 22.7mm and a height of 7mm. This cylinder should be hollowed out by removing a concentric inner cylinder with a diameter of 21.1mm. Around the outer perimeter of this...
socket_diameter = 18.85; motor_hole_diameter = 23; e = 1 / 1024; ee = 2 * e; pitch = 2 * 4; d = 1; r = 18; module spike(l) { polygon([[0, -8], [0, 8], [l, 0]]); } difference() { union() { linear_extrude(height = 1.4, scale = 0.95) for (i = [0 : 79]) { angle = 360 / 80 * i; rotate(angle) spike(i % 10 ...
glb/cad_e292f1ddef3a.glb
Create a Z-motor scale consisting of a hollow cylindrical ring and an attached pointer. Start by creating a thin-walled cylinder with an inner diameter of 18.8mm and an outer diameter of 20.6mm, with a total height of 7mm. This ring should be open-ended to form a sleeve. Attached to the outer wall of this cylinder, cre...
socket_diameter = 18.8; motor_hole_diameter = 22.9; e = 1 / 1024; ee = 2 * e; pitch = 2 * 4; d = 1; r = 18; module spike() { polygon([[0, -8], [0, 8], [17, 0]]); } difference() { union() { cylinder(d = socket_diameter + 0.2 + 1.6, h = 7, $fn = 64); linear_extrude(height = 1.4, scale = 0.8) spike(); } cyli...
glb/cad_3c77069dc0ce.glb
Create a Rotating Necklace consisting of a series of interlocking units. Each unit is based on a central rounded rectangular block with a length of 35mm, a width of 25mm, and a depth of 16mm, with corners rounded by a 6mm radius. Within each unit, construct a T-shaped internal structure. This includes a longitudinal b...
whatToPrint=0; longitudinalBeamLength=20; acrossBeamLength=15; linkLength=35; linkWidth=25; linkDepth=16; beamR=3.5; spinR=8; bevelSize=4; gap=0.3; scaleGap=1.15; scaleHinge=1.07; rounding=6; wall=2; $fn=24; small=0.01; sep = longitudinalBeamLength-1*(wall+beamR/2)+1*linkLength-1*(spinR+wall); module roundedCube(le...
glb/cad_b52defd6ab6c.glb
Create a 1515 extrusion profile with a total length of 100mm. Start with a square base of 15mm by 15mm, applying a 1.5mm fillet to all four corners. On each of the four flat faces, center a T-slot cutout. This cutout begins with a rectangular opening 3.4mm wide and 1.2mm deep. From the inner edge of this opening, creat...
LENGTH = 100; NUT_CUTOUT = 6; NUT_HEIGHT = 2.7; SLOT_HEIGHT = 1.2; CUT_DEPTH = 1.5; EXTERIOR_SIZE = 15; CHAMFER = 1.5; SLOT_OPENING = 3.4; $fs = 0.1; module rounded_square(size, fillet){ translation = size/2 - fillet/2; hull(){ translate([translation,translation,0]) circle(d=fillet); ...
glb/cad_fd00fe75668f.glb
Create a tracheostomy cap consisting of a hollowed cylindrical body and an attached loop. Start by creating a main cylinder with an outer diameter of 19.5mm and a height of 17mm. At the base of this cylinder, add a wider flange with a diameter of 21mm and a height of 2mm. To make the cap functional, remove a central cy...
$fn=96; rotate ([0,180,0]) difference () { union () { translate ([10,0,7.0]) cylinder (d=8, h = 3, center = true); cylinder (d1=19.5, d2=19.5, h = 17, center = true); translate ([0,0,-8]) cylinder (d1=21, d2=19.5, h = 2, center = true); translate ([0,0,-10]) cylinder (d=21, h = 2, center = true); } union ()...
glb/cad_3bba34eee01b.glb
Create a braid lib4 sheet consisting of a repeating pattern of interwoven, rounded strands. The base unit is formed by creating a series of connected spheres, each with a diameter of 11mm, where the centers of the spheres follow a sinusoidal path. Specifically, generate a sequence of 16 spheres (from index 0 to 15) whe...
numCirc=15; ang=90; halfLinkDist=25; sphSize=11; $fn=4; numSheets=1; yW=6.5; zW=23; pitch=ang/numCirc; nc1=numCirc; module quart() { for (i=[0:nc1]) { hull() { translate ([ i*halfLinkDist/(numCirc) , -sin(i*pitch*2)*yW , sin(i*pitch)*zW ]) sphere (sphSize); translate ([ (i+1)*halfLinkDist/nu...
glb/cad_4cf204476bbf.glb
The provided code consists of several OpenSCAD modules designed to create 3D geometric representations of molecular structures and mathematical curves. ### Summary of the Code's Functionality 1. **Molecular Projections (`c50_down_z`, `c26_down_z`, `c32_down_z`, `c36_down_z`, `c60_down_y`, `c78d_down_x`)**: * T...
sc =17.5; union() { rotate([acos(1/3),0,0]) translate([0,sc*(((sqrt(3)-1/sqrt(3))/2)+1/sqrt(3)) - 2.5,sc*((2/3)*sqrt(6)-1/sqrt(3))-2.5]) c24_down_z(1,1,6.5,5); rotate([acos(1/3),0,120]) translate([0,sc*(((sqrt(3)-1/sqrt(3))/2)+1/sqrt(3)) - 2.5,sc*((2/3)*sqrt(6)-1/sqrt(3))-2.5]) c36_down_z(1,1,6,5); rotate([acos(...
glb/cad_227d4c963cca.glb
Create a Decorated Tetrahedron by starting with a regular tetrahedron scaled by a factor of 17.5. On three of the four faces, add raised geometric patterns that extend 5mm from the surface. On the first face, center a hypocycloid pattern. On the second face, center a deltoid pattern. On the third face, center an ellips...
sc =17.5; union() { rotate([acos(1/3),0,0]) translate([0,sc*(((sqrt(3)-1/sqrt(3))/2)+1/sqrt(3)) - 2.5,sc*((2/3)*sqrt(6)-1/sqrt(3))-2.5]) hypocycloid(10.5,1.75,5); rotate([acos(1/3),0,120]) translate([0,sc*(((sqrt(3)-1/sqrt(3))/2)+1/sqrt(3)) - 2.5,sc*((2/3)*sqrt(6)-1/sqrt(3))-2.5]) deltoid(12,5); rotate([acos(1/3...
glb/cad_152e0b57d538.glb
Create an SMT Strip Feeder consisting of a spool and a spool cover. First, construct the spool by creating a central cylinder with a diameter of 16mm and a height of 11.5mm (tape width 8mm plus 3.5mm). Bore a 5mm diameter hole through the center of this cylinder. Add two smaller 2mm diameter holes passing through the...
tape_width = 8; slackness = 1.5; thickness=0.75; cheight = 100; $fn=180; LHS (); translate ([190,120,0]) rotate ([0,0,90]) motor_plate (); RHS (); inserts (); translate ([20,130,0]) spool (); translate ([50,130,0]) spool_cover (); module inserts () { difference () { union () { linear_extrude (height=4+tape_...
glb/cad_094ad8a82e73.glb
Create an SMT Strip Feeder consisting of a series of repeated cartridge units. Each unit is composed of a channel and a spring mechanism. For the channel, create a rectangular block 60mm long, 8mm high, and with a width based on an 8mm tape plus 0.25mm slack and 1.25mm walls. The channel should feature a hollow interi...
tape_width = 8; slackness = 0.25; showFit=0; thickness=1.25; springThickness=1.25; clen = 60; psize = 10; cheight = 8; part_type=0; part_count= 15; $fn=90; for (n=[0:part_count-1]) { if (part_type == 0 || part_type == 2) { translate([0,n*(tape_width+(slackness+thickness)*2+4), 0]) channel (tape_width, sla...
glb/cad_aad7cc3bf5ee.glb
Create a Z endstop bracket for a 3D printer. Start with a base rectangular plate 20mm long, 4mm thick, and 13mm wide. Along the bottom center of this plate, add a ridge that is 5.9mm wide and 1.5mm deep. At one end of the plate, create a vertical extension that transitions into a mounting arm. This arm extends at an ...
use<ss_3gl13p.scad> module nut(w, h){ translate([0,0,h/2]) for (i=[1:3]) rotate([0,0,60*i]) cube([w, w/sqrt(3), h], center=true); } module zendstop(color="blue", switch=0){ $fn=12; switch_offset_side=5; switch_offset_height=23+15+27-16-7; thickness=4; extrusion_pad_width=13; extrusion_pad_ridge_depth=1.5; ex...
glb/cad_8acefad1e9b5.glb
Create a parametric spool holder with a total length of 80mm. Start by constructing a hollow outer cylinder with an outer diameter of 75mm and a wall thickness of 2mm, using a 90-facet resolution. Inside this, place a smaller concentric cylinder with an outer diameter of 13.5mm and an inner diameter of 9.5mm. Connect ...
od=75; id=9.5; len=80; module truss() { polygon([[od/2-3,0], [id/2,len/4], [od/2-3,len/2], [od/2,len/2], [id/2+3,len/4], [od/2,0] ]); } module end_spoke() { linear_extrude(3, convexity=10) polygon([[-1.5,id/2], [1.5,id/2], [1.5,od/2], [-1.5,od/2]]); } union() { linear_extrude...
glb/cad_9b34774e2931.glb
Create an Any-phone Arm Band container. Start by creating a flat rectangular base with a width of 65mm, a height of 84mm, and a thickness of 2mm. Build walls around the edges to create a shallow open box; the side walls and the top and bottom walls should each be 2mm thick and 12mm high. Cut a large rectangular hole t...
$elastic_width = 50.8; $elastic_distance = 50; $phone_height = 80; $phone_width = 61; $phone_depth = 12; $phone_headphone_width = 10; $phone_headphone_offset = 13; $phone_headphone_cutout = true; $wall_thickness = 2; module band($width) { translate([($elastic_distance / 2), 0, 0]) cube(size=[3, $elastic_width, $w...
glb/cad_855be84f39ae.glb
Create a Jelly Jar Galvanometer by constructing a central assembly of three intersecting geometric parts. First, create a horizontal cylindrical axle with a radius of 2.5mm and a total length of 53mm, centered on the origin. At the center of this axle, place a cube with dimensions of 10mm x 10mm x 10mm. Carve a square ...
coneHeight=60; magnetHolderWidth=10; magnetHole=6.5; union(){ rotate([90,90,0]) cylinder(h=53,r=2.5,center=true); difference(){ translate([0,0,magnetHolderWidth/2]) cube([magnetHolderWidth,magnetHolderWidth,magnetHolderWidth], center=true); translate([0,0,magnetHolderWidth-1]) cube([magnetHole,magnetHole...
glb/cad_7dfb9cb765ee.glb
Create a shower holder bracket by starting with a rectangular block 43mm wide, 60mm high, and 48mm deep. Carve a conical void into the front face to hold a shower head; this void should be centered and angled at 25 degrees, tapering from a diameter of 24mm at the top to 18mm at the bottom. To create the mounting points...
h = 60; w = 43; dia_top = 24; dia_bottom = 18; angle = 25; hole_spacing=25; dia_crew1 = 6; dia_crew2 = 10; dist_screw = 5; dist =5; d = 25 + dia_bottom + dist; module hole() { rotate([0,90,0]) union(){ translate([0,0,14]) cylinder(h=30, r=dia_crew1/2, center=true); translate([0,0,15+dist_screw]) cylinder(h=30, r...
glb/cad_ed1bf3fe0f7a.glb
Create a hole calibration print consisting of a flat rectangular plate measuring 66mm by 66mm with a thickness of 2mm. Within this plate, arrange a 5x5 grid of circular holes. The holes should be spaced 13mm apart from center to center, starting with the first hole center positioned 6mm from the left and bottom edges. ...
holetest(); module holetest() { d = 2.0; m=0.05; fs = 40; s = 0.5; e = 12.0; x_s = 5; y_s = 5; steps = (x_s*y_s); incr = 0.5; difference() { translate([-e/2-1, -e/2-1, 0.0]) cube([e*(x_s+0.5), e*(y_s+0.5), d]); for(x=[0:1:x_s-1]) { for(y=[0:1:y_s-1]) ...
glb/cad_4ee6580fb2f8.glb
Create a hole calibration print consisting of a flat rectangular plate 66mm wide, 66mm deep, and 2mm thick. Within this plate, carve out a 5x5 grid of square holes. The holes should be arranged with a center-to-center spacing of 13mm. The size of each square hole increases incrementally across both the x and y axes. St...
holetest(); module holetest() { d = 2.0; m=0.05; fs = 40; s = 0.5; e = 12.0; x_s = 5; y_s = 5; steps = (x_s*y_s); incr = 0.5; difference() { translate([-e/2-1, -e/2-1, 0.0]) cube([e*(x_s+0.5), e*(y_s+0.5), d]); for(x=[0:1:x_s-1]) { for(y=[0:1:y_s-1]) ...
glb/cad_77d23aaab0ca.glb
Create a rear fan mount for a 3D printer. Start with a main rectangular body that is 36.2mm long, 30mm wide, and 24.5mm thick. At one end, add a smaller rectangular extension measuring 10.2mm by 40mm by 2.9mm. Create four vertical mounting holes for M4 screws. Position two holes at the far end of the main body, center...
$fn=24; bbh = 35; bbw = 30; bbth = 5.25; bbd = 20; hox = 5.5; hoy = 6; rotate([90,0,0]) difference() { union() { translate([.001,-bbw/2+.01,-2]) cube([36.2,bbw-.02,24.5]); translate([27.001,-bbw/2+.01,19.6]) cube([10.2,bbw+10-.02,2.9]); translate([28.1949,bbw/2-5.7394,19.6]) rotate([0,0,55]) cube([12.2,10,2.9...
glb/cad_f4d553739daa.glb
Create a parametric kitchen knife sheath. The main body is a hollowed-out blade shape with a total length of 117mm (115mm blade length plus 2mm padding). The outer shell should have a maximum width of 22mm (18mm blade width plus 4mm for walls) and a maximum thickness of 5.5mm (1.5mm blade thickness plus 4mm for walls)....
knife_length = 115; knife_width = 18; knife_thickness = 1.5; knife_show = 1; has_ridges = 1; grip_cutoff_angle = 20; $fn = 80*1; wall = 2*1; pad = 2*1; rotate([0,0,45]) parasheath(length=knife_length, maxwidth=knife_width, thickness=knife_thickness, show=knife_show); module parasheath(length=200, maxwidth=25,...
glb/cad_0087b0994d8b.glb
Create a parametric servo arm with four radial arms extending from a central hub. Start with a central cylindrical hub that has a total height of 4mm and an outer diameter of 5.92mm. Create a central vertical hole through the hub with a diameter of 2.5mm. To form the spline interface, subtract 25 evenly spaced teeth ...
arm_length = 20; arm_count = 4; SERVO_HEAD_CLEAR = 0.2; $fn = 40 / 1; FUTABA_3F_SPLINE = [ [5.92, 4, 1.1, 2.5], [25, 0.3, 0.7, 0.1] ]; module servo_futaba_3f(length, count) { servo_arm(FUTABA_3F_SPLINE, [length, count]); } module servo_standard(length, count) { servo_futaba_3f(length, count); } m...
glb/cad_09c4ead2220b.glb
Create a towel hook for a radiator. The main body is a block with a width of 41mm and a depth of 32mm. The base of the body is a flat surface, and the overall height is 40mm. One side of the body is a flat wall, while the opposite side is rounded, forming a semi-cylinder with a radius of 16mm. Inside the body, create...
breite=41; tiefe =32; hoehe1 =14; hoehe2 =30; radiusStange=23.5/2; $fn=36; module koerper(wand) { hull() { translate([-wand, -wand, 0]) cube([3, tiefe+2*wand, hoehe2]); translate([breite-tiefe/2, tiefe/2, 0]) cylinder(r=tiefe/2+wand, h=hoehe2); } } module haken() { minkows...
glb/cad_88b87efb9f94.glb
Create a Bike Mount for Modular Mounting System. The object is a bracket with a total height of 24mm. Start with a central cylindrical mounting section. Create a large cylinder with a radius of 14.1mm (half the 22.2mm handlebar diameter plus 3mm wall thickness) and subtract a smaller concentric cylinder with a radius...
$fn=100; mountHeight = 24; phoneLength = 150; armThickness = 4; armWidth = 8; maxBridge = 13; phoneThickness = 9.5; filletRadius = 2; barDiameter = 22.2; finThickness = 3; cylinderThickness = 3; tolerance = 0.05; offsetDepth = 16+cylinderThickness+barDiameter/2; hexPts = [ [0,-15.08-tolerance], [0,...
glb/cad_0555d78c0456.glb
Create a lid for a 1.25 quart bottle by constructing a solid cylinder with a diameter of 42.03 mm (1.48 inches multiplied by 1.1) and a height of 9.8 mm (0.35 inches multiplied by 1.1). Inside this cylinder, carve out a concentric internal threaded hole. The internal thread should have a major diameter of 37.59 mm (1.4...
include <threads.scad> $fn=800; $fs=.2; mm_per_inch = 25.4; height = 0.35; diameter = 1.48; extra = 1.1; threads_per_inch = 5; module make_top(){ difference(){ cylinder(d=diameter*extra*mm_per_inch,h=height*extra*mm_per_inch); english_thread(diameter,threads_per_inch,height,thread_size=2, groove=...
glb/cad_18ed3f423d7d.glb
Create a "Ball in a box" interactive art piece. Start by constructing a hollow square cage. The base and top are flat plates measuring 26mm by 26mm with a thickness of 6mm. Connect these plates with four vertical pillars, each measuring 6mm by 6mm, positioned at the corners of the plates so that the outer dimensions of...
radius = 12; cube([radius*2+radius/2,radius*2+radius/2,radius/2], center=true); translate([-radius,-radius,radius*2]) cube([radius/2,radius/2,radius*4], center=true); translate([-radius, radius,radius*2]) cube([radius/2,radius/2,radius*4], center=true); translate([ radius,-radius,radius*2]) cube([radius/2,radius/2,rad...
glb/cad_9710462cdf0b.glb
Create a circular medallion with a base diameter of 65mm and a thickness of 1mm. Centered on the top surface, add a rectangular relief area measuring 50mm in width and 37.7mm in length, with a maximum height of 5mm. Within this relief area, incorporate a 3D surface map based on the provided data. Near the top edge of t...
surfaceWidth = 50.0; aspectRatio = 256 / 193; surfaceLength = surfaceWidth / aspectRatio; surfaceHeight = 5.0; baseDiameter = max(surfaceWidth, surfaceLength) * 1.3; baseHeight = 1.0; holeDiameter = 4; holeDistanceFromTop = 5; $fn=40; 3DSurface(surfaceWidth, surfaceLength, surfaceHeight); module 3DSurface( xSize, yS...
glb/cad_dfd08bc174db.glb
Create a didgeridoo mouthpiece by revolving a specific 2D profile around a central vertical axis. The profile is defined by the intersection of two shapes: a rounded upper section and a rectangular lower section. First, create a rounded upper lip by combining a circle of radius 5mm and a circle of radius 7mm, ensurin...
$fn=500; Tube_Inner_Diameter = 36; Tube_Outer_Diameter = 40.8; Inner_Radius_Mouthend=5; Outer_Radius_Mouthend=7; Immersion_Depth=15; nozzlediameter = 0.4; r3=(Tube_Outer_Diameter + Tube_Inner_Diameter) /4; w1=(Tube_Outer_Diameter - Tube_Inner_Diameter + nozzlediameter) /2 ; rotate_extrude(angle=360) { translate([...
glb/cad_e576d0d53c35.glb
Create a 3mm Dwarfstruder consisting of a main extruder body and a separate idler block. For the main body, create a rectangular block 24mm wide, 60mm high (plus a 4mm elevation), and 32mm deep. Add a base 7mm thick and 58.5mm long. Round the corners of the base and the block with a 6mm radius. On the back face of th...
include<configuration.scad> include<jonaskuehling-default.scad> malcolm_hotend_mount=1; groovemount=2; peek_reprapsource_mount=4; arcol_mount=8; mendel_parts_v6_mount=16; grrf_peek_mount=32; wildseyed_mount=64; geared_extruder_nozzle=128; jhead_mount=256; reprapfaborg_mount=512; buddaschnozzle=1024; elevation=4; ext...
glb/cad_37cdac7d7e32.glb
Create an Adjustable Height Dual Nozzle Mount. Start with a base mounting bracket 4mm thick, defined by a square pattern of four 2.5mm radius holes spaced 50mm apart. Construct two vertical nozzle mount sliders. Each slider should feature a central cylindrical void with a 16.7mm diameter to accommodate the hotend. Th...
include<MCAD/shapes.scad> $fn=50; mount_spacing=50; mount_holes=5; thickness=4; nozzle_separation=30; screw_diameter=3.3; nut_diameter=6.7; jhead_bigd=16.7; jhead_littled=12.7; mount_height=26; fan_mount_length=15; fan_mount_width=8; flat=1; assembled=2; layout=flat; full_mount(); module full_mount() { union()...
glb/cad_8676d37c8180.glb
Create an Adjustable Height Dual Nozzle Mount. Start with a base mounting bracket 4mm thick, featuring a square pattern of four 2.5mm radius holes spaced 50mm apart. Construct two vertical nozzle sliders. Each slider should be a composite shape consisting of a larger 16.7mm diameter cylinder and a smaller 12.7mm diam...
include<MCAD/shapes.scad> $fn=50; mount_spacing=50; mount_holes=5; thickness=4; nozzle_separation=30; screw_diameter=3.3; nut_diameter=6.7; jhead_bigd=16.7; jhead_littled=12.7; mount_height=26; fan_mount_length=15; fan_mount_width=8; flat=1; assembled=2; layout=flat; full_mount(); module full_mount() { union()...
glb/cad_1f14711092da.glb
Create a MendelMax Y endstop bracket. Start with a main rectangular base measuring 20mm wide, 4mm thick, and 50mm long. Along the center of the 50mm length, add a ridge that is 5.1mm wide and 3mm deep. On the top surface of the base, create two semi-cylindrical cutouts with a radius of 2.5mm, centered at 7mm and 43mm a...
use<ss_3gl13p.scad> module nut(w, h){ translate([0,0,h/2]) for (i=[1:3]) rotate([0,0,60*i]) cube([w, w/sqrt(3), h], center=true); } module yendstop(color="blue", switch=0){ $fn=12; switch_offset_side=5; switch_offset_in=0; switch_offset_height=15.8-15.8; thickness=4; extrusion_pad_width=50; extrusion_pad_rid...
glb/cad_a18c4b425171.glb
Create a Didgeridoo Bell End by revolving a specific profile around a central vertical axis. Start by creating a base cylindrical sleeve with an inner diameter of 46.4mm and an outer diameter of 50mm. This sleeve should have a total height of 84mm, consisting of a 10mm beveled transition at the bottom, a 64mm straigh...
$fn=500; Tube_Inner_Diameter = 46; Tube_Outer_Diameter = 50; Bell_End_Outer_Diameter = 200; Bell_End_Base_Height = 20; Bell_End_Height = 150; Finish_End_Radius = 40; nozzlediameter = 0.4; Tube_Base_Height_Vanishes_In_Tube = 64; Tube_Base_Bevel_Height = 10; MaterialThickness = (Tube_Outer_Diameter - Tube_Inner_Diam...
glb/cad_02eb35d2f392.glb
Create a set of four Glass-In-Lead bending templates. Each template is a modified disk with a thickness of 4mm. For each disk, create a primary cylinder with a diameter of 70mm, 60mm, 50mm, and 40mm respectively. For each disk, remove a semi-circular section from one side to create a flat edge. On each disk, carve ou...
$fa=1; module mal1 (diam) { module sleuf () { translate (v=[-3, 0, diam/2]) rotate (a=[0, 90, 0]) hull () { cylinder (h=10, r1=3, r2=3); translate (v=[diam/2, 0, 0]) cylinder (h=10, r1=3, r2=3); } } difference () { rotate (a=[0, 90, 0]) union () { cylinder (h=4, r1=diam, r2=diam); translate (v=[0, 0, -0.5]) c...
glb/cad_2697fc506d68.glb
Create a hollow cylinder for a filament holder. The main body should be a cylinder with a length of 120mm and an outer diameter of 38.1mm (calculated as 38.3mm minus a 0.2mm margin). Centered along its entire length, remove a smaller concentric cylindrical hole with a diameter of 18mm (calculated as 17mm plus a 1mm mar...
hole_diameter = 17; extraspace_hole = 1; cylinder_diameter = 38.3; extraspace_diameter = 0.2; length = 120; translate ([0,0,length/2]) { difference() { cylinder (h = length, r=cylinder_diameter / 2 - extraspace_diameter, center = true, $fn=100); # cylinder (h = length+2, r=hole_diameter / 2 + extraspace_...
glb/cad_2108726351ec.glb
Create an adjustable arm mount consisting of two parallel arms connected by a central cross-beam. Each arm should be a rectangular prism 54mm long, 4mm wide, and 4mm thick. The two arms are separated by a gap of 8.2mm. Connect these arms with a central cross-beam that is 8.2mm wide and approximately 8.4mm tall, centere...
$fn=40; screw_diameter1=3.5; screw_diameter2=3.5; arm_gap=8.2; arm_width=4; arm_length=54; single=1; double=2; mount_style=double; full_mount(); module full_mount() { translate([0,(mount_style==double)?(-(arm_width+arm_gap)/2):0,(mount_style==double)?(screw_diameter1*1.2):arm_width/2]) rotate([(mount_style==doubl...
glb/cad_ff58e241e1e1.glb
Create a microphone mounting adapter for a camcorder with a total height of 26mm. Start by creating a base rectangular block 15mm long, 1.9mm wide, and 26mm high. Centered along the length of this base, add a second rectangular block that is 7mm long, 1.5mm wide, and 26mm high, extending from the side of the first bloc...
use <fillet.scad>; height = 26; box1_width=1.9; box1_length=15; box2_width=1.5; box2_length=7.0; box3_width=7; box3_length = box1_length; box2_excenter = 1; box4_width=2; box4_length=24; box5_width=2.1; box5_length=(box4_length-19)/2; box6_width=1.4; box6_length=(box4_length-12.5)/2; box7_width=1.4; box7_length=box4_le...
glb/cad_99a152639105.glb
Create a microphone mounting adapter for a camcorder with a total height of 25mm. Start by constructing a base block that is 15mm long, 1.9mm wide, and 25mm high. Attached to the side of this block, add a second rectangular section 7mm long and 1.5mm wide, extending the full height. Further extend the structure with ...
use <fillet.scad>; height = 25; box1_width=1.9; box1_length=15; box2_width=1.5; box2_length=7.0; box3_width=11; box3_length = box1_length; box2_excenter = 1; box4_width=2; box4_length=24; box5_width=2.1; box5_length=(box4_length-19)/2; box6_width=1.4; box6_length=(box4_length-12.5)/2; box7_width=1.4; box7_length=box4_l...
glb/cad_9de670be07a9.glb
Create a PCB Clamp block with overall dimensions of 30mm width, 40mm depth, and 20mm height. Carve a cross-shaped slot into the block to hold a PCB. The first slot is a vertical channel 2.54mm wide (plus 2mm padding, totaling 4.54mm) that runs the full depth of the block, positioned 10mm from the left edge. The secon...
in2mm = 25.4; block_w = 30; block_d = 40; block_h = 20; screw_8_32_d = 0.1360 * in2mm; screw_10_24_d = 0.1495 * in2mm; screw_10_24_tap_d = 4.9; screw_1_4_20_d = 0.2010 * in2mm; screw_height_back=0.775*block_h; screw_height_front=0.600*block_h - 1.2; screw_height_side=0.775*block_h + 1.2; thumb_screw_d=screw_10_24...
glb/cad_3a9e8d2afdf6.glb
Create two identical mirrored side shields for glasses glare protection. For one shield, start with a base shape formed by the intersection of a cylinder with a radius of 30mm and a height of 50mm (oriented horizontally along the Y-axis), and a 2D profile extruded to a height of 15mm. This profile is defined by the con...
$fn=500; Blende_Links(); translate([60,0,0])Blende_Rechts(); module Blende_Rechts() { mirror([1,0,0])Blende_Links(); } module Blende_Links() { difference() { intersection() { translate([-20,0,30])rotate([0,90,0])cylinder(r1=30,r2=30, h=50); linear_extrude(height = 15) hull() { ...
glb/cad_9ed3e56ae47f.glb
Create a Mendelmax 1.5 Z-Endstop mount by starting with a hexagonal prism that has a height of 6mm and a radius of 7mm. Using a 60-degree facet resolution to maintain the hexagonal profile, carve a cylindrical hole through the center of the prism. This hole should have a radius of 3mm and a height of 3mm, positioned so...
difference() { cylinder(h = 6, r=7, $fa=60); translate([0,0,3.8]) cylinder(h = 3, r=3, $fa=60); }
glb/cad_535383e77a7d.glb
Create a Mendelmax 1.5 Z-Endstop consisting of two identical vertical supports connected by a central horizontal bar. Each support is a cylinder with a height of 35mm and an outer radius of 9mm, featuring a central vertical hole with a radius of 4.05mm running through its entire length. Each cylinder has a 2mm wide ver...
RodD = 8.1; Lenght = 40; Rod(); translate([50,0,0]) Rod(); translate([0,4,0]) cube(size = [50,5,10]); translate([26.3,8.5,0]) rotate(a = [0,0,90]) { cube(size = [Lenght,2.6,10]); } module Rod() { difference() { difference() { union() { translate([-6,-15,0]) cube(size = [12,11,35]); difference() { cylinder(h = 35, r=9...
glb/cad_bdb34d04f9a3.glb
Create a Z-Endstop mount by starting with a base rectangular block measuring 25mm wide, 3mm thick, and 25mm deep. At the center of this base, create a raised rectangular section that is 8mm wide, 7mm deep, and 12mm high. Within this central raised section, place a vertical hole with a radius of 1.6mm that extends fro...
rotate(a = [180,0,0]) { union() { translate([3.75,2,13]) cube(size = [2.5,8,12]); translate([18.75,2,13]) cube(size = [2.5,8,12]); difference() { union() { translate([8.5,3,13]) difference() { cube(size = [8,7,12]); translate([4,3.5,-1]) cylinder(h = 14, r=1.6, $fn=50); translate([4,3.5,9.5]) cylinder(h = 3, r=3, $fa=6...
glb/cad_55db98f3908f.glb
Create a Z-Endstop mount consisting of a vertical pillar and a horizontal base. Start by creating a vertical rectangular block 12mm wide, 10mm deep, and 60mm tall. Remove a central rectangular section from this pillar, starting 3mm from the bottom and extending 39mm upward, with dimensions of 8mm wide and 8mm deep. Dri...
rotate(a = [180,0,0]) { union() { translate([13,-10,-45]) difference() { cube(size = [12,10,60]); translate([2,-1,3]) cube(size = [8,8,39]); translate([6,3,-1]) cylinder(h = 47, r=1.6, $fn=50); translate([6,3,45]) cylinder(h = 16, r=4, $fn=50); } difference() { difference() { cube(size = [38,10,15]); translate([19,10,-...
glb/cad_38400bb077b1.glb
Create a generic two-part case consisting of a box and a lid. For the box, create a rectangular prism with outer dimensions of 40mm x 50mm x 20mm. Apply a 2mm corner radius to the exterior and a wall thickness of 2mm. Hollow out the center to create an open container, leaving the bottom intact. At each of the four in...
wall_thickness=2; corner_radius = 2; outer_x = 40; outer_y= 50; outer_z = 20; screw_hole_dia = 3; screw_hole_depth = 10; screw_hole_head_countersink_dia = 6; screw_hole_head_countersink_depth = 0.5; pillar_offset_tweak = 0; $fn=20; pillar_dia = screw_hole_dia +3; corner_hole_centres = [ [pillar_dia/2+pillar_offse...
glb/cad_9222065def4b.glb
Create an LED strip mount for an 8mm threaded rod. Start by creating a main vertical cylinder with a radius of 5mm and a height of 52.5mm. Remove a smaller concentric cylinder from the center with a radius of 4mm and a height of 52.5mm to create a hollow tube. On one side of the cylinder, add a rectangular block that i...
fudge = 0.1; difference() { union() { cylinder(r = 5, h = 52.5, $fn = 50); translate([-8,-5.3,0]) cube([4,10.6,52.5]); translate([-8,-5.3,52.5]) cube([4,10.6,8]); } translate([0,0,-fudge]) cylinder(r = 4, h = 52.5 + 2 * fudge, $fn = 50); translate([5,0,-fudge]) cylinder(r = 4, h = 52.5 + 2 * fudge,...
glb/cad_ac938fa08812.glb
Create a set of game tokens based on Reuleaux polygons. For each token, start with a Reuleaux polygon base of a specified number of sides (e.g., 3, 5, or 7) and a diameter of 20mm to 26mm, with a thickness between 3mm and 6mm. Depending on the specific token configuration, either emboss or engrave a central character...
ProduceSet=1; side=5; diameter=20; thick=4; stringThick=0.8; string="42"; fontRatio=0.55; font="UnifrakturCook"; popText=0; stackable=1; stackRingMulti=4; ringSize=1.5; tol=0.3; nozzle=0.4; $fn=100; pieceOffSet=26; maxX=3; Set=[[3,20,4,0.8,"1","UnifrakturCook",0.84,false,4,true,1],[5,20,4,0.8,"6","Unifra...
glb/cad_7085c96c4246.glb
Create a Parametric X Carriage for a 3D printer. Start with a central base block measuring 66mm x 71mm (60mm plus the 11mm bushing diameter) with a thickness of 6mm. Center a cylindrical hole with a 40mm diameter through the base to accommodate the hotend. Add two self-aligning bushing holders positioned at x=25mm and...
print_carriage=true; print_fanbrackets=true; use_sliders=true; with_bushing_left=true; with_bushing_right=false; with_hinged_fans=true; with_fanmount_left=true; with_fanmount_right=true; with_fanmount_back=true; with_halftwist_left=false; with_halftwist_right=true; with_long_fan_hinge=true; use_60mm=true; PlateT=6; Rod...
glb/cad_ab2fdc21156a.glb
Create a customizable external HDD cable holder with a total length of 70mm, a width of 15mm, and a height of 17mm. The main body is a rounded rectangular block with 2mm radius corners. Carve two symmetrical cable storage slots into the top surface. Each slot should have a length of approximately 27.25mm, a depth of ...
length=70; cable_diameter=6.0; width=15; tickness=2.5; cable_insert_width=7.5; middle_wall_tickness=3; $fn=64; ep=0.01; ep2=0.02; attache_size=6; height=cable_diameter+tickness*2; module roundbox_all(wx, wy, wz, radius) { hull() { translate([radius, radius, radius]) sphere(r=radius); translate([r...
glb/cad_e834d2887d19.glb
Create a plant support stick consisting of a vertical shaft and a circular base clip. Start by creating a vertical square prism with a cross-section of 3mm by 3mm and a total height of 150mm. At the bottom of this prism, attach a hollow cylindrical ring with an outer diameter of 12mm, an inner diameter of 10mm, and a h...
stick_length = 150; Grabber_length = 5; stick_side_length = 3; grabber_diameter = 10; Opening_diameter = 4; plastk_thickness = 2; union(){ linear_extrude( height=Grabber_length, twist=0, scale=[1, 1], center=false){ difference() { circle(r=((grabber_diameter + plastk_thickness) / 2)); circle(r=(grabb...
glb/cad_e64ace70467e.glb
Create a Double-Walled Flower Pot with a total height of 120mm and a base diameter of 120mm. The pot is formed by a series of stacked, concentric shells that create a curved, vase-like profile. The radius of these shells varies based on a slenderness factor of 0.75, starting from a base angle of 0 degrees and extending...
use <GreenEllipsis/shells.scad>; double_walled=false; height = 120; diameter = 120; slenderness=0.75; top_factor=1; start_angle=0; stop_angle=450; shell_thickness = 1.2; braces = 12; holes = 24; dTheta = 45; $fn=12; EPSILON = 0.01; dz = height*dTheta/(stop_angle-start_angle); ShellGap = diameter/20; GapHeight ...
glb/cad_3f6fc054bb20.glb
Create a double-walled flower pot consisting of two concentric conical shells. The outer shell is a hollow truncated cone with a base radius of 255mm, a top radius of 235mm, a height of 20mm, and a wall thickness of 5mm. This outer shell must be open at both the top and bottom. Inside this, place a second concentric t...
module GE_cone(r1, r2, h) { cylinder(r1=r1, r2=r2, h=h); } module GE_cylinder_shell(t,h,r, top=true, bottom=true) { echo(str("cylinder_shell():t=",t," h=",h)); GE_cone_shell(t, h, r, 0, top, bottom); } module GE_cone_shell(t, h, r1, taper, top=true, bottom=true) { echo(str("cylinder_shell():t=",t," h=",h," r1=",r...
glb/cad_3f8c318b7514.glb
Create a set of six Customizable Disk Construction Clips arranged in a row along the X-axis with 7mm spacing between each clip. Each individual clip is constructed from a central cylinder with a height of 5mm and a diameter of 73.5mm, from which a center hole of 75mm is removed. Attached to this central cylinder are ...
h = 5.0; l = 8.0; s = 0.5; w = 1.1; hole = 75; clip_angle = 70.53; custom_angle = 0.0; clip_count = 6; custom_count = 1; xs = 7; ys = 20; n = 6; { c = (clip_count == -1) ? custom_count : clip_count; r = (clip_angle == -1) ? custom_angle : clip_angle; t = 0; r2 = min(360-(r%360), r); t2 = (t+(2*s) + w)/(1+(r...
glb/cad_fc2078546950.glb
Create a 3D model of an Euler Maze consisting of a series of concentric circular walls with a height of 2mm and a line width of 1.5mm. The maze is constructed from 15 concentric rings. The innermost ring starts with a minimum radius of 3mm. Each subsequent ring increases in radius by a gap distance of 3mm. The walls a...
number_of_circles = 15; minimum_radius = 3; gap_distance = 3; line_width = 1.5; line_height = 2; bottom = "NO"; bottom_height = 1; function angle(r, d) = acos( (2 * pow(r, 2) - pow(d, 2)) / (2 * pow(r, 2)) ); module oneGapCircle(r, d, gap_angle1, gap_angle2, width = 1) { arc(radius = r, angle = [gap_angle2, g...
glb/cad_4ea77e89f370.glb
Create a Parametric Hook consisting of three distinct components, each with a thickness of 5mm. First, create two identical wall connector plates. Each plate is a rounded square with a width and height of 30mm and a depth of 25mm. Center a circular screw hole with a diameter of 4mm in the middle of each plate. Second...
width = 30; height = 30; depth = 25; thickness = 5; screwHoleWidth = 4; offset = 0.125; explode = 0; hookWidth = depth-thickness*2; hookHeight = height*0.8; hookPointWidth = 4; hookHoleWidth = hookWidth-hookPointWidth; hookHoleHeight = hookHeight*0.3; hookHolePercStraight = 0.3; clipHeight = (height-(hookHeight-hookH...
glb/cad_eb52421545eb.glb
Create a rocket model by stacking several geometric primitives along a central vertical axis. Start with a cylindrical base that is 6mm in diameter and 10mm tall. On top of this base, place a second cylinder with a diameter of 4.8mm and a height of 4mm. Above that, add a third cylinder with a diameter of 4.8mm and a he...
for ( y = [20 : 20 : 20] ){ for ( x = [20 : 20 : 20] ){ translate([x,y,rands(0,20,1)[0]]){ rotate([90,0,0]) translate([-0.5,0,0]) linear_extrude(height = 10, scale = 0) square([1,10]); rotate([90,0,-90]) translate([-0.5,0,0]) linear_extrude(height = 10, scale = 0) square([1,10]); rotate([90,0,90]) translate([-0.5,0,0]...
glb/cad_57255d3de964.glb
Create a Click & Grow capsule pot by constructing a tapered hollow cylinder with a height of 62mm. The base of the cylinder should have a diameter of 100mm, tapering upward to a top diameter of 57mm. To create the decorative exterior, wrap eight spiral ridges around the outer wall. These ridges should be formed by repe...
$fa=5; $fs=2; e=0.01; d1 = 100; d2 = 57; h = 60+2; corner = 5; spirals = 8; steps = 0.5; wd = 8.5; ht = 10; stepA = 4; gap = 2; intersection() { cylinder(h, d1=d1*2, d2=d2*2); if (corner > 0) translate([-d2/2-corner, -d2/2-corner, 0]) cube([d1, d1, h]); union() { cylinder(h, d1=d1, d2=d2); for (sp = [0 ...
glb/cad_9c4973fbba00.glb
Create a Universal Spool Holder by starting with a conical frustum that has a height of 20mm, a bottom radius of 42mm, and a top radius of 12.5mm. Remove a central vertical cylinder with a radius of 6.5mm that passes through the entire height of the object. Create two cylindrical holes for bearings, each with a diame...
bearing_d = 22.1; bearing_h = 7; max_d = 80; min_d = 25; offset_d = 2; cone_h = 20; rod_d = 13; n_cutouts = 5; cutout_scale_x_factor = 2.9; cutout_position_x_factor = 1.8; cutout_diameter_factor = 1.07; $fa = 1; $fs = 1; difference(){ translate([0,0,cone_h/2])cylinder(r1 = max_d/2 + offset_d, r2 = min_d/2, h =...
glb/cad_6d06de65248e.glb
Create a threaded clamp designed for an M8 threaded rod. The main body is a cylinder with an outer diameter of 13mm and a height of 10mm, centered on the Z-axis. Bore a central hole through the cylinder with a diameter of 8.1mm. To create the locking mechanism, add two rectangular levers extending from the sides of th...
include <ISOThreadUM2.scad>; thread = 8; width = 2.5; h = 10; tabl = 10; smoothing_position_x = 15.5; $fa=.5; $fs = .5; id = thread + 0.1; od = id + 2*width; difference(){ x = tabl/sqrt(2); union(){ difference() { translate([0,0,h/2]) cylinder(r=od/2,h=h,center=true); translate...
glb/cad_b02269d3466d.glb
Create a washer for a universal spool holder by constructing a thin, centered cylinder with an outer diameter of 13mm and a height of 1.5mm. Bore a concentric hole through the center of the cylinder with a diameter of 8.5mm to create a ring shape. Ensure the geometry is precise with high-resolution facets to maintain s...
od = 13; id = 8.5; h = 1.5; $fa=.5; $fs = .5; difference(){ cylinder(r=od/2,h=h,center=true); cylinder(r=id/2,h=h+1,center=true); }
glb/cad_fc05a6886372.glb