Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Taranis Baseplate for a transmitter tray. Start with a main rectangular body that is 148mm long, 66.76mm wide, and 10mm thick. On the top surface, add a lip that is 148mm long, 7.26mm wide, and 7.5mm high, positioned at the front edge. Integrate a rectangular peg measuring 99mm by 5mm by 5mm, positioned at c...
difference() { union() { difference() { difference() { union() { linear_extrude(height = 5) polygon([[0, 29], [121.2, 29], [120.2, 0], [121.2, -30.5], [0, -30.5], [1, 0]]); translate([11.1, -34.5, 0]) cube(size = [99, 5, 5], center = false); } translate([25.6, -35.5, -1]) ...
glb/cad_c63d8b41d576.glb
Create a Novelty Equation Key Tag by constructing a flat, extruded plate with a specific organic, non-geometric outer boundary. The base shape is defined by a 2D polygon with 72 vertices that forms a rounded, slightly irregular circular profile. Extrude this profile to a height of 5mm. Within this solid, create a rece...
fudge = 0.1; module poly_path3128(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[3.960000,4.320000],[5.723985,4.032012],[7.704000,3.168000],[9.593985,2.304013],[10.944000,2.016000],[11.915983,2.101510],[12.815978,2.358013],[13.643983,2.785510],[14.400000,3.384000],[15.061...
glb/cad_3c5dfc98d971.glb
Create a Novelty Equation Key Tag by constructing a flat base with raised lettering and a circular attachment tab. The main body consists of the characters "E", "=", "M", "C", and "2" arranged linearly. Position the "E" at the start, followed by an equals sign at x=12, the letter "M" at x=21, the letter "C" at x=32, an...
module letterE() { include <E.scad>; } module equal() { include <equals.scad>; } module letterM() { include <m.scad>; } module letterC() { include <c.scad>; } module character2() { include <two.scad>; } difference() { union() { scale([0.7,0.7,1])letterE(); translate([12,-5,0]) equal(); translate([21,...
glb/cad_db82923ef202.glb
Create a Novelty Equation Key Tag by extruding a flat, stylized lowercase letter "e" to a height of 5mm. The overall shape is a rounded, organic polygon that forms the body of the letter. To create the central void of the "e", remove a smaller, similarly shaped organic polygon from the center of the main body. The fina...
fudge = 0.1; module poly_path2995(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-29.232001,-27.143995],[-29.772009,-30.545950],[-30.528010,-33.263935],[-31.500008,-35.297950],[-32.067005,-36.058469],[-32.688001,-36.647995],[-36.288001,-38.807995],[-37.044004,-39.761944],...
glb/cad_34ac7c1ab1e9.glb
Create a Novelty Equation Key Tag in the shape of the number 2. The object is a 3D solid with a uniform height of 5mm. The footprint is defined by a complex polygon with the following vertices, scaled by a factor of 25.4/90 in the X and Y planes: starting at [-6.03, -9.072], moving through [-5.88, -9.97], [-5.44, -10.7...
fudge = 0.1; module poly_path3161(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-6.030000,-9.072000],[-5.883750,-9.978736],[-5.445000,-10.790982],[-4.713750,-11.508736],[-3.690000,-12.132000],[-1.719008,-12.860980],[0.378000,-13.104000],[2.888993,-12.842980],[5.094000,-1...
glb/cad_fb55815b6c3f.glb
Create a Novelty Equation Key Tag consisting of two identical parallel bars that form an equals sign. Each bar is a rounded rectangular prism with a height of 4mm. The overall shape is defined by a profile that is approximately 48.5mm long and 5.5mm wide, with heavily rounded ends. Position the two bars symmetrically s...
fudge = 0.1; module poly_path3026(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[19.224000,-5.292000],[19.124987,-4.802615],[18.827977,-4.378483],[18.332972,-4.019604],[17.639970,-3.725977],[15.659977,-3.334483],[12.888000,-3.204000],[-12.960000,-3.204000],[-15.700500,-3....
glb/cad_308482ae915c.glb
Create a Novelty Equation Key Tag by extruding a specific 2D profile to a height of 5mm. The profile is a continuous, closed-loop organic shape resembling a stylized, lowercase mathematical letter "m". The geometry is defined by a series of vertices that create three rounded, vertical lobes. The leftmost lobe starts ...
fudge = 0.1; module poly_path3065(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-27.504000,-9.468000],[-29.232000,-10.404000],[-29.826000,-11.321976],[-30.024000,-12.636000],[-29.758500,-14.017480],[-28.962001,-15.353973],[-27.634501,-16.645479],[-25.776000,-17.892000],[...
glb/cad_b9fd1e44b25e.glb
Create a pedestal for a router by designing a base that is a hull of two cylinders, each with a diameter of 14.5mm and a height of 12.5mm, positioned 115mm apart center-to-center. From this base, remove a central hollow section created by the hull of two cylinders with a diameter of 12mm and a height of 10mm, positio...
$fn=360; m=3; mat=1; co=2; t=2.5; agf=115; diagf=10; LAa=12; LAb=19.5; LL=15; bg=14.5; ab=10; abt=ab+t; bm=m+0.5; module mat(){ hull(){ translate([bg,0,-co])cylinder (abt+(2*co),d=8); translate([agf-(bg*2.25),0,-co])cylinder (abt+(2*co),d=8); } } translate([0,0,abt])rotate([180,0,0]){ difference(){ hull(){ cylinder ...
glb/cad_ef3805a2aea5.glb
Create a magnetic wall hook consisting of a base and a vertical support. Start with a rectangular base measuring 35mm by 45mm with a thickness of 5mm. At the center of the base, create a vertical cylindrical support with a radius of 5mm and a height of 25mm. To refine the shape, remove material from the base to creat...
module zaklad() { cube([35,45,5]); translate([12.5,0,0]) cube([10,5,20]); translate([17.5,0,0]) cylinder(h=20, r=5); translate([17.5,5,0]) cylinder(h=20, r=5); translate([12.5,0,20]) cube([10,10,5]); translate([17.5,0,20]) cylinder(h=5, r=5); translate([17.5,10,20]) cylinder(h=5, r=5); } module podpera2() { translat...
glb/cad_200a8753cbc3.glb
Create a magnetic wall hook consisting of a base and a vertical hook. Start by creating a rectangular base measuring 175mm in length, 45mm in width, and 5mm in height. Within this base, create a series of five square recessed pockets to hold magnets. Each pocket should be 25mm by 25mm and 2.5mm deep. Space these pock...
module zaklad() { cube([35*5,45,5]); } module hacek() { translate([12.5,0,0]) cube([10,5,20]); translate([17.5,0,0]) cylinder(h=20, r=5); translate([17.5,5,0]) cylinder(h=20, r=5); translate([12.5,0,20]) cube([10,10,5]); translate([17.5,0,20]) cylinder(h=5, r=5); translate([17.5,10,20]) cylinder(h=5, r=5); } module...
glb/cad_3cba15e7ab0c.glb
Create a princess tower model centered on a vertical axis. Start with a square base plate 20mm wide and 20mm deep with a thickness of 2mm. Centered on top of this plate, place a thin circular disc with a radius of 9.5mm and a thickness of 1.5mm. Above this disc, build the first level as a cylinder with a radius of 5m...
$fn=40; bottomplate_thickness=2; bottomcircle_thickness=1.5; firstlevel_hight=20; firstlevel_radius=5; secondlevel_hight=3; secondlevel_radius_top=firstlevel_radius+secondlevel_hight; secondlevel_limit_hight=4; secondlevel_limit_thickness=secondlevel_limit_hight/3; thirdlevel_hight=20; thirdlevel_radius=3; thirdlevel_t...
glb/cad_0400185ab2fc.glb
Create a parametric AC exhaust flange as a flat ring with a height of 4mm. Start with a solid cylinder 171mm in diameter and subtract a concentric inner cylinder 126mm in diameter to create the ring. Add four primary screw holes, each 5mm in diameter, positioned at 0, 90, 180, and 270 degrees. These holes should be c...
$fn = 24; outer_d = 171; inner_d = 126; h = 4; primary_hole_d = 5; primary_offset = 2; mounting_hole_d = 4; mounting_offset = 1.5; countersink_d = 8; countersink_depth = 1; primary_hole_locs = [0, 90, 180, 270]; mounting_hole_locs = [0:15:360]; difference() { cylinder(d=outer_d, h=h); translate([0, 0, -...
glb/cad_d90bf3cbba76.glb
Create a landing gear supplement for a drone leg. Start by creating a main body using a hull operation between two 20-sided prisms (cylinders) with a radius of 8.8mm and a height of 10mm, positioned 15.5mm apart along the x-axis. From this body, remove several geometric voids. First, create two vertical holes with a ...
tol = 0.1; cable_entry_size = 1.5 + tol*2; suplement_height = 10; d_tornillo = 3.5 + tol*2; d_cable = 8 + tol*2; d_entre_tornillos = 17; d_ext = 18 - tol*2; off_x_t = 0.375; off_y_t = -0.875; off_y_2t = -0.25; angulo = acos(abs(off_y_t -off_y_2t)/d_entre_tornillos); $fn=20; module huecos(){ cylinder(r=d_tornillo...
glb/cad_ffa3a36b4cfa.glb
Create a female triangle wrench by extruding a 2D profile to a height of 40mm. The profile consists of an equilateral triangle with 14mm sides, where the total width of the triangle including its curved corners is 16mm. This triangular prism is encased within a cylinder with a diameter of 20mm. To finish the handle, ad...
linear_extrude (height=40) import (file="clefTriangle.dxf", layer="0", $fn=100); difference(){ translate([7,5,45]) rotate([90,0,0]) rotate_extrude () translate([10,0,0]) circle (4, $fn=100); translate([1,0,0]) cube ([14.5,14.5,43]); }
glb/cad_319a3598f2ce.glb
Create a Ramps 1.4 electronics box with a main body and a separate lid. The main body is a rectangular enclosure with external dimensions of 60.5mm in width, 101.62mm in depth, and a height of 63.6mm. The walls are 3.6mm thick. The main body features a hollow interior and six mounting pillars integrated into the corne...
cylinderfn = 0.2; wall_width = 0.6*6; ramps_xtra = 0; ramps_x = 60.50; ramps_y = 101.62; ramps_z = 60+wall_width; ramps_z_spacing = 5; ramps_doubleopening = true; ramps_makefanhole = true; ramps_doubleopening_z_from_pcb_bottom = 27; m3_r = 3.2/2; m3_nut_r = (6.08+0.2)/2; m3_nut_hight = 2.4+0.5; metallscrew_r = 2.8/2...
glb/cad_581cfe3c0e96.glb
Create a camera protector for a DJI Phantom 2 Vision. Start with a rectangular base plate measuring 149mm in length, 70mm in width, and 3mm in height. The plate should have a solid outer border of 6.5mm around the perimeter. Within this border, create a grid of open cells. Divide the interior length into 4 equal secti...
base_width = 70; gap_off_y = 30; n_comps_x = 4; n_comps_y = 2; la_tot = 149; an_tot = base_width; al_tot = 3; borde_ext = 6.5; pared_ext = 5; pared_int = 3; la_comps = la_tot-2*borde_ext; an_comps = an_tot-pared_ext; la_comp = la_comps/n_comps_x; an_comp = an_comps/n_comps_y; muesca_la = 6; muesca_an = 2; modul...
glb/cad_50e47634c255.glb
Create an optical y endstop holder. Start with a main rectangular block measuring 9.2mm wide, 15.16mm deep, and 22.65mm tall. Attach a smaller rectangular protrusion to the side of this block, measuring 3mm wide, 3.5mm deep, and 6.2mm tall, positioned at a height of 11.15mm. Remove material to create the following ope...
wall_width = 0.5*6; cylinderfn = 0.1; m3_r = 3.2/2; rotate([0,90,0]) y_endstop(); module y_endstop() { difference() { union() { cube([m3_r*2+wall_width*2, 15.16, 19+m3_r+wall_width]); translate([m3_r+wall_width-1.5,-3,m3_r+wall_width+7.5]) cube([3,3+wall_width,6.2]); } translate([-1,wall_width,-wall_wid...
glb/cad_86990ca3a793.glb
Create a Lamp Holder for a Diamond Mind printer consisting of three distinct components: a lamp bracket, a printer mounting bracket, and a switch bracket. First, create the lamp bracket as a rectangular block 18mm wide, 70mm long, and 25mm high. Remove a central section to create a void for the lamp base. This void is...
$fn = 40; part = 0; module lampBase() { lamphole = 18; translate([0, 35.5, -5]) { translate([-10, -35, 5]) rotate([0, 90, 0]) cylinder(10, lamphole / 2, lamphole / 2); translate([0, -29, 5]) rotate([0, 90, 0]) cylinder(20, 3/2, 3/2, center = true); translate([0, -41, 5]) rotate([0, 90, 0]) cylinder(20, 3/2, 3...
glb/cad_a4ae97754b76.glb
Create a tablet weaving card as a thin square plate with a thickness of 0.7mm and an overall edge-to-edge diameter of 50.8mm. The four corners of the square must be rounded with a corner radius of 2.5mm. At each of the four corners, create a circular hole with a diameter of 8mm. Position the center of each hole exactly...
diameter = 50.8; inset=7; thickness =.7; cornerDiameter =5; holeDiameter=8; $fn=60; difference() { translate([cornerDiameter/2,cornerDiameter/2,0])render() { minkowski() { cube([diameter-cornerDiameter,diameter-cornerDiameter,thickness/2]); cylinder(thickness/2,d=cornerDiameter); } } translate([0,0...
glb/cad_c374562586eb.glb
Create a 3D printable LED holder for a 3mm bi-color LED with three wires. The main body is a rotationally symmetric part based on a profile rotated around the Z-axis. Start with a base cylinder that has an outer diameter of 7.2mm and a height of 10mm. Within this body, create a central vertical hole with a diameter of ...
HOLDER_FLAG=true; FIXATION_FLAG=true; ISOLATION_FLAG=true; OUT_X_D=7.2; IN_X_D=5.9; LEN_Y=10; LED_Y1=2.5; LED_Y2=1; LED_DIA_INNER=3.1; LED_DIA_OUTER=4.1; $fn=200; LED_TOP_Y=LED_DIA_INNER; LED_WIRE_OUTER_D=5.75; LED_WIRE_THICKNESS=0.6; LED_RING_Y=1.0; PLATE_THICKNESS=3.0; DELTA=0.15; FIXING_RING_WIDTH=1.5; FIXING_RI...
glb/cad_81e23b967595.glb
Create a thin walls printing test model consisting of a rectangular base with several vertical fins. Start by creating a solid rectangular base plate that is 0.8mm thick and wide enough to span the entire length of the assembly. On top of this base, place seven parallel vertical walls, each 20mm long and 5.8mm high (in...
wall_widthes = [0.8, 1.0, 1.2, 1.4, 1.8, 1.8, 2.0]; wall_height = 5; wall_length = 20; wall_pitch = 10; base_height = 0.8; module one_wall(i, w, h) { echo("wall:", i, w); x = i * wall_pitch; translate([x, 0, 0]) cube([w, wall_length, h]); } module all_walls(h) { for (i = [ 0 : len(wall_widthes) - 1 ]) { ...
glb/cad_01d3180578bd.glb
Create a Clipable Frame Mount for a Bowden Wade Extruder. Start with a top rectangular plate measuring 75mm in width, 45mm in depth, and 5mm in height. Attached to the bottom of this plate, create two symmetrical vertical clipping arms. Each arm consists of a wall 4mm thick and 53mm high. On the inner face of each ar...
FRAME_HEIGHT = 50 + 3; FRAME_THICKNESS = 5.5 + 0.2; WADE_WIDTH = 75; WADE_DEPTH = 27; WADE_SCREW1_X = WADE_WIDTH - 10; WADE_SCREW2_X = WADE_WIDTH - 60; WADE_FEEDER_X = WADE_WIDTH - 35; WADE_SCREW_DIAMETER = 4; WADE_FEEDER_DIAMETER = 14; GEAR_VERTICAL_OFFSET = 20; GEAR_HORIZONTAL_OFFSET = 40; MOUNT_TOP_THICKNESS = 5;...
glb/cad_c1aafb6736f2.glb
Create a housing for an SBT-10 radiation probe consisting of a bottom frame, a top cover, and a separate protective cap. For the bottom part, create a baseplate measuring 97.1mm by 76.3mm with a thickness of 2mm. Cut a rectangular window into the center of this plate, leaving a 5mm border around the edges. Build a wal...
$len = 93.1; $wid = 72.3; $hei = 40; $cut = 5; $wall = 2; $e = 0.01; union () { difference () { cube ([$len+2*$wall, $wid+2*$wall, $wall]); translate ([$cut+$wall, $cut+$wall, -$e]) cube ([$len-2*$cut, $wid-2*$cut, $wall+2*$e]); } translate ([0,0,$wall]) difference () { cube ([$len+2*$wall, $wid+...
glb/cad_5498f5404067.glb
Create a Kossel mini effector for an E3D v6 hotend. Start with a central cylinder of radius 17mm and a height of 5.5mm, centered on the Z-axis. Subtract a central vertical hole with a radius of 8.2mm and a height of 5.5mm to accommodate the hotend. Around the central body, create three symmetrical arms spaced 120 degr...
include <configuration.scad>; use <./threadsNew.scad> separation = 40; offset = 20; mount_radius = 12.5; hotend_radius = 8.2; push_fit_height = 4; height = 5.5; cone_r1 = 2.5; cone_r2 = 14; module effector() { difference() { union() { cylinder(r=offset-3, h=height, center=true, $fn=128); for (a = [...
glb/cad_e76be68483f4.glb
Create an OpenBeam Kossel Pro mount for spool holders. Start with a main rectangular base bracket that is 3mm thick, 28mm wide, and 67mm long. Add a top catch plate that is 14mm wide, 28mm deep, and 3mm thick, positioned at the top of the base. Incorporate two side panels: one is a small retention lip measuring 14mm ...
$fn=60; mater_thickness = 3; mater_length = 67; mater_width = 28; num_drills = 3; drill_size = 3.7; inset_depth = 1.5; drill_depth = 3; module drills(num_drills) { for ( i = [ 1 : num_drills ] ) { if(i % 2 == 1) { translate([mater_width/2.8, i*(mater_width/4), -1]) cylinder(r=drill_size/2,...
glb/cad_530dd2d4526f.glb
Create a PCB holder for a CNC machine as a rectangular block measuring 30mm wide, 130mm long, and 7mm thick. Hollow out the center of the block by removing a smaller rectangular section measuring 26mm by 126mm with a depth of 7mm, leaving a 2mm thick outer frame. On the top surface, create two circular holes with a rad...
include <hex_matrix.scad> width = 30; height = 130; depth = 12; pcbHolderDeep = 5; hexSize = 4; gap = 2; module create() { difference() { createMain(); createScrew(width / 2, 20); createScrew(width / 2, height - 20); } } module createScrew(x, y) { size = depth - pcbHolderDeep; ...
glb/cad_7ad388a48b18.glb
Create a PCB holder for a CNC machine starting with a solid rectangular base measuring 70mm in width, 70mm in height, and 12mm in depth. Carve out a central recessed area to hold the board, leaving a border around the edges. Within this base, create four vertical cylindrical screw holes with a radius of 2mm each; posit...
width = 70; height = 70; depth = 12; pcbHolderDeep = 5; hexSize = 4; gap = 2; include <hex_matrix.scad> module create() { difference() { cube([width,height,depth], false); createCut(width / 2); translate([12, 14, 3]) hex_matrix(width / 7, height / 7, hexSize, depth *2); ...
glb/cad_bcbc1f20a8c6.glb
Create a parametric salt and pepper shaker consisting of a hollow rectangular base and a matching lid. For the base, construct a cube with outer dimensions of 35mm width, 35mm depth, and 52.5mm height. Hollow out the center by removing a cube starting 2.5mm from the bottom and 2.5mm from each side wall, leaving an inte...
inside_width = 30; inside_height = 50; wall_thickness = 2.5; top_extra_thickness = 5; tolerance = 0.1; spacing = 5; hole_size = 3; top = 1; bottom = 1; if (bottom == 1) { difference() { cube([inside_width + wall_thickness*2, inside_width + wall_thickness*2, inside_height + wall_thickness]); translate([wall_thickness,...
glb/cad_faa345d71eb9.glb
Create a Sphere Puzzle piece by constructing a spherical shell segment with an outer radius of 70mm and a thickness of 10mm (inner radius of 60mm). The piece is defined by a grid of 8 longitudinal divisions and 6 latitudinal divisions (3 steps from the equator to each pole). The piece geometry is a spherical quad with...
longitudeSteps=8; latitudeSteps = 3; sphereRadius = 60; pieceThickness = 10; connectorSizeFactor = 0.06; connectorGap = 0.3; connectorNeckGap = 0.3; pieceGap = 0.2; connectorQuality = 30; sphereQuality = 100; latitudeIndex = 0; northConnector = -1; southConnector = 1; westConnector = 1; eastConnector = -1; nor...
glb/cad_7b913eff29a0.glb
Create a spool holder bracket for a 6mm frame. The main body is a curved sector with a thickness of 8mm. Start with a cylinder of radius 42.5mm and height 25mm, centered on the Z-axis. Subtract a smaller concentric cylinder with a radius of 16.5mm and a height of 40mm. To create the open-sided shape, remove two rectang...
thick=8; frame=6.5; wall=4; rad=6; FN=180; module sector(){ difference() { cylinder(h = 25, r = 85/2-5, center = true, $fn=FN); cylinder(h = 40, r = 23/2+5, center = true, $fn=FN); for (angle = [-15,55]) rotate (a = angle) translate (v = [0, -60, -15]) cube([60, 120, 30]); } } module sector_cut(){ difference...
glb/cad_f5cf4472cfaa.glb
Create a 3D printable lathe consisting of a bed, a spindle assembly, and a carriage system. Construct the bed as a rectangular base with two mirrored bed supports. Each support is a block 105mm long, 10mm wide, and 15mm high, featuring a cylindrical cutout with a 10mm radius centered at the end. Build the spindle as...
use <bearings.scad>; use <pulleys.scad>; use <lathe_gears.scad>; include <../MCAD/involute_gears.scad> guide_rad=2.5; guide_padding=3; m4_tap=3.2; x_car_len=40; x_guide_sep=40; x_guide_len=80; y_guide_sep=30; y_car_len=y_guide_sep+2*(guide_padding+guide_rad); y_guide_len=80; frame_thick=10; guide_bush=5; bearing_od...
glb/cad_37f9f1b596c9.glb
Create a miter box with a total outer dimension of 40mm width, 100mm length, and 30mm height. The box is a hollowed-out rectangular shell with a floor thickness of 5mm and side walls that are 5mm thick. Cut three narrow channels through the walls and floor to create guides for a saw. Each channel must be 1.5mm wide. ...
$fx = 400; box_width = 40; box_length = 100; box_height = 30; box_floor_heigth = 5; box_wall_width = 5; channels = [30, 45, 90]; channel_width = 1.5; text_on_wall = false; add_channels_description = true; text_height = 4; join = function (l,delimiter="") let(s = len(l), d = delimiter, jb = function (b,e) l...
glb/cad_8e4a258a1cd9.glb
Create a customizable coupler by starting with a main cylinder that has a diameter of 19mm and a height of 25mm. Bore a central hole through the entire height of the cylinder; the first half of the height should have a diameter of 5mm and the second half a diameter of 8mm. To create the mounting points, drill four tr...
$fn=100; E=0.01; DI=19; H=25; T1=5; T2=8; MT=3; NV=4; Res=10; union() { principal(); translate([0,-DI/2+0.5,H/8]) rotate([-90,0,0]) Tornillo(MT,(DI-T1)/2); translate([0,DI/2-0.5,H/8]) rotate([-90,0,180]) Tornillo(MT,(DI-T1)/2); translate([0,-DI/2+0.5,7*H/8]) rotate([-90,0,0]) Tornillo(MT,(DI...
glb/cad_df0daba0f3dd.glb
Create a set of seven hollow cylinders of varying sizes to serve as silhouette markers. Each cylinder must have a wall thickness of 1.8mm and a 30-facet resolution. The cylinders should be created with the following diameter and height dimensions: 25mm x 3mm, 25mm x 25mm, 25mm x 40mm, 40mm x 32mm, 55mm x 32mm, 40mm x 4...
size = [ [25, 03, 0, "S0", 0], [25, 25, 1, "S1", 0], [25, 40, 2, "S2", 60], [40, 32, 3, "S3", 0], [55, 32, 4, "S4", 0], [40, 45, 5, "S5", 60], [40, 55, 6, "S6", -60], [55, 67, 7, "S7", 60], [70, 70, 8, "S8", 150] ]; wallStrength = 1.8; markingSize = 2; $fn = 6*5; for(s = [1:7]) ...
glb/cad_59b3a51fdd36.glb
Create a La Crosse sensor holder with a curved profile and a flat backplate. The main body is a curved shell with a height of 50mm, a width of 35mm, and a depth of 20mm. The shell walls are 1.2mm thick. The front of the holder is a curved arc formed by the intersection of two concentric cylinders, with the inner cylind...
$fn=360; wall_t = 1.2; sensor_depth = 20; sensor_h = 50; sensor_w = 35; plate_t = 5; plate_s = 24; h_sensor_d = sensor_depth/2; function chord_radius(w, h) = w*w/(8*h) + h/2; sensor_r = chord_radius(19.4, .38); function central_angle(c, r) = 2*asin(c/(2*r)); theta = central_angle(sensor_w, sensor_r); echo(thet...
glb/cad_fb3cdedaf9d1.glb
Create a pneumatic coupling consisting of a tiered main body and a threaded base. Start with a central body composed of several stacked cylinders: a bottom cylinder 8.52mm in diameter and 8.5mm high, followed by a 0.5mm thick transition disk tapering from 9.52mm to 10.5mm, a 6mm high hexagonal prism with a diameter of ...
$fn=100; E=0.01; difference() { principal(); translate([0,0,3]) cylinder(d=4,h=17+E); translate([0,0,-E]) cylinder(d=3.4641,h=3+2*E,$fn=6); } translate([0,0,0.5])rosca(); module principal() { translate([0,0,18.5]) scale([12,10.5,1]) cylinder(d=1,h=1.5); translate([0,0,18.0]) cylinder(d=5,h=0.5); trans...
glb/cad_07b508d8d910.glb
Create a 3D model of a 623ZZ bearing. Start by creating a main solid cylinder with a diameter of 10mm and a height of 4mm. Remove a concentric inner cylinder with a diameter of 3mm that runs through the entire height of the object. Create a series of concentric ring-shaped cutouts to define the internal structure. Fi...
$fn=100; E=0.01; principal(); module principal() { difference() { anillo(3,10,4); translate([0,0,3.5]) anillo(4.3,4.5,0.5+E); translate([0,0,-E]) anillo(4.3,4.5,0.5+E); translate([0,0,3.75]) anillo(7.8,8.0,0.25+E); translate([0,0,-E]) anillo(7.8,8.0,0.25+E); translate([0,0,3.75]) anillo(8.2,8.4,0.25+E);...
glb/cad_d4523eb6c673.glb
Create a bearing model by starting with a main hollow cylinder that has an outer diameter of 19mm, an inner diameter of 12mm, and a total height of 19mm. From this main body, remove material to create several concentric ring-shaped cutouts. First, carve out a central hole with a diameter of 8mm that runs through the en...
$fn=100; E=0.01; principal(); module principal() { difference() { anillo(6,12,19); translate([0,0,-E]) anillo(8,10,0.5+E); translate([0,0,18.5]) anillo(8,10,0.5+E); translate([0,0,2.75]) anillo(11.5,12+E,1.1+E); translate([0,0,15.15]) anillo(11.5,12+E,1.1+E); } } module a...
glb/cad_e1be9b8dcac0.glb
Create a bearing support housing consisting of a central vertical cylinder and a square base. Start by creating a main hollow cylinder with an outer diameter of 21mm, an inner diameter of 12mm, and a height of 57mm. Add thin annular rings with an inner diameter of 15mm and an outer diameter of 18mm at both the very bot...
$fn=100; E=0.01; principal(); soporte(); module principal() { difference() { anillo(12,21,57); translate([0,0,-E]) anillo(15,18,0.5+E); translate([0,0,56.5]) anillo(15,18,0.5+E); } } module anillo(d1,d2,H) { difference() { cylinder(d=d2,h=H); translate([0,0,-E]) cylinder(d=d1,h=H+2*...
glb/cad_86beae31eb5f.glb
Create a 3D model of an F608ZZ bearing. Start by constructing the main body as a series of concentric rings. Create a large outer ring with an outer diameter of 25mm and a height of 1.5mm. Add a primary central cylinder with an outer diameter of 22mm and a height of 7mm, which has a hollow center with a diameter of 8mm...
$fn=100; E=0.01; principal(); module principal() { difference() { union() { anillo(8,22,7); anillo(22,25,1.5); } translate([0,0,-E]) anillo(21.875,22.125,0.25+E); translate([0,0,6.5]) anillo(10.1,10.5,0.5+E); translate([0,0,-E]) anillo(10.1,10.5,0.5+E); translate([0,0,6.75]) anillo(19.2,19.6,0.2...
glb/cad_b109b5cfd4f1.glb
Create a ball screw mount consisting of three stacked concentric cylindrical sections with a central hole. Start by creating a base cylinder with a diameter of 22mm and a height of 1.5mm. On top of this base, center a second cylinder with a diameter of 10.2mm and a height of 3.5mm. Above that, add a third cylinder with...
$fn=100; E=0.001; difference() { principal(); translate([8,0,0]) cylinder(d=3.6,h=5+E); translate([-8,0,0]) cylinder(d=3.6,h=5+E); translate([0,8,0]) cylinder(d=3.6,h=5+E); translate([0,-8,0]) cylinder(d=3.6,h=5+E); } module principal() { anillo(8,10.20,1.5); translate([0,0,1.5]) anillo(8,22,3....
glb/cad_97fcc5a3cfc0.glb
Create a 3D model of a DIN 912 socket head screw. Start by creating a cylindrical head with a diameter of 5.5mm and a height of 3mm. Inside this head, remove a hexagonal hole with a flat-to-flat width of 2.5mm that extends 3mm deep from the top of the head. From the bottom center of the head, extend a cylindrical shaft...
$fn=100; E=0.01; DIN=912; M=3; L=10; DD912=[0,0,0,5.5,7]; HD912=[0,0,0,3,4]; AD912=[0,0,0,2.5,3]; BD912=[0,0,0,1.3,2]; DD7991=[0,0,0,6,8]; HD7991=[0,0,0,1.7,2.3]; AD7991=[0,0,0,2,2.5]; BD7991=[0,0,0,1.2,1.8]; DD934=[0,0,0,6.01,7.66]; HD934=[0,0,0,2.40,3.20]; DD985=[0,0,0,6.01,7.66]; HD985=[0,0,0,2.40,2.90]; CD985...
glb/cad_63cffc75ead6.glb
Create an Endstop limit switch housing. The main body is a rectangular block with a height of 5.15mm. The base is formed by a hull connecting four cylinders of 1mm diameter positioned at (0.5, 0.5), (12.3, 0.5), (12.3, 5.5), and (0.5, 6.0), all with a height of 5.15mm. Add a rectangular section 5mm wide and 0.5mm thick...
$fn=100; E=0.01; cuerpoprincipal(); translate([4.25,6.6,1.075]) pulsador(); translate([2,5.5,-0.325]) leva(); translate([1.43,0,2.575]) conector(); translate([6.5,0,2.575]) conector(); translate([11.58,0,2.575]) conector(); module cuerpoprincip...
glb/cad_28af60cdf08f.glb
Create a C14 power connector housing. Start with a main body consisting of a rectangular base and a cover. The cover is formed by a hull of six cylinders with a radius of 0.01mm and a height of 2mm, positioned at (0, 29, 0), (10.5, 0, 0), (38.5, 0, 0), (10.5, 58, 0), (38.5, 58, 0), and (49, 29, 0). Subtract two holes w...
$fn=100; E=0.01; E2=0.00000001; union() { difference() { union() { translate([0,0,16.50]) cubierta(); translate([0,0,18.50]) embellecedor(); translate([10.5,6,0]) cube([28,46,16.50]); } translate([12.5,34.6,1.50]) huecoenchufe(); translate([13.8,7.4,17.50]) huecointerruptor()...
glb/cad_ffd26e56bcde.glb
Create a Rounded Corner Earring Holder consisting of two mirrored frame pieces and a central slat. First, construct the slat as a rectangular block 204mm long, 20mm wide, and 2mm thick. Round the four corners with a 3.8mm radius. Along the length of the slat, create 23 evenly spaced rectangular notches that are 1.5mm...
part="frame"; notchDepth=12; slatX=204; slatY=20; slatZ=2; notchWidth=1.5; numberOfNotches=23; cornerRadius=3.8; interSlat=20; frameX = 200; frameY = 10; frameZ = 15; frameNotchSize=6; pinX=2; pinY=2.5; pinMargin=2; clearance=0.2; notchClearance = 0.35; $fn= $preview ? 32 : 64; module slat(){ difference(){ ...
glb/cad_b1b1057fb8ee.glb
Create a bracelet by constructing a hollow, 12-sided polygonal ring. Start with a dodecagonal prism that has a height of 10mm and an outer radius of 33mm. From the center of this prism, remove a smaller concentric dodecagonal prism with a height of 10mm and a radius of 30mm to create a wall thickness of 3mm. Ensure the...
faces=12; width=10; size=60; thickness=3; difference() { cylinder(h=width, r=(size/2)+thickness, $fn=faces); cylinder(h=width, r=size/2, $fn=faces); }
glb/cad_140c0850f349.glb
Create a Galaxy Phone Battery Case designed to hold a battery with internal dimensions of 65mm in length, 57.5mm in width, and 5.75mm in height. Start by creating a solid rectangular base block that is 69mm long, 61.5mm wide, and 7.75mm high. Hollow out the center by removing a rectangular volume of 65mm by 57.5mm by...
l = 65; w = 57.5; h = 5.75; walls=2; module battery() { cube([l, w, h], center = true); } module ears() { cylinder(1,7,7, center = true); } module caseBlock(){ cube([l+2*walls, w+2*walls, h+walls], center = true); } module finger(){ translate([15,0,0]) cylinder(10,10,10, center = true); } module trapazoi...
glb/cad_ea21eef13cc9.glb
Create a battery case for a Samsung Galaxy S4/S5 battery. Start with a solid rectangular block measuring 90mm in length, 46.3mm in width, and 7.75mm in height. Hollow out the center of this block to create a cavity measuring 86mm by 42.3mm with a depth of 5.75mm, leaving walls that are 2mm thick. To facilitate batter...
include<../text/text.scad>; l = 86; w = 42.3; h=5.75; walls=2; lip=1; module battery() { cube([l, w, h], center = true); } module ears() { cylinder(1,7,7, center = true); } module caseBlock(){ cube([l+2*walls, w+2*walls, h+walls], center = true); } module finger(){ translate([15,0,0]) cylinder(10,10,10, ...
glb/cad_463f15c6e7f2.glb
Create a Simple Plug and Cap consisting of a wide base and a hollow cylindrical neck. Start by creating a solid cylinder for the base with a diameter of 60mm and a height of 3mm. Centered on top of this base, add a second cylinder with an outer diameter of 44mm and a height of 25mm. To make this upper section a hollow ...
End_Thickness = 3; End_Diameter = 60; Tube_Inner_Diameter = 40; Tube_Outer_Diameter = 44; Tube_Height = 25; res = 90; module plug () { union() { cylinder(h = End_Thickness, r = End_Diameter/2, center = false, $fn = res); difference() { translate ([0,0,End_Thickness]) cylinder(h = Tube_Height, r = Tube_O...
glb/cad_6843ae97f6e6.glb
Create a lyophilisation frame for 2R vials consisting of a long rectangular base and two vertical supports. Start by creating a main rectangular base with a length of 300mm, a height of 70mm, and a thickness of 4mm. At each end of this base, add a vertical support block. Each support block must have a width of 2mm, a h...
wall_width = 4; x_length = 300; y_height = 70; x_support = 2; y_support = 70; z_support = 4; cube([x_length,y_height,wall_width]); translate([x_length-wall_width-x_support,0,wall_width]){ cube ([x_support,y_support,z_support]); } translate([wall_width,0,wall_width]){ cube ([x_support,y_support,z_support]); }
glb/cad_5e8c267b0352.glb
Create a lyophilisation frame for 2R vials consisting of two nested open-topped rectangular shells. First, construct an outer tray with external dimensions of 300mm x 300mm and a total height of 70mm. This outer tray should have a base thickness of 3mm and walls that are 3mm thick. Inside this outer tray, position a s...
wall_width = 3; x_inner = 290; y_inner = 290; z_inner = 30; x_outer = 300; y_outer = 300; z_outer = 70; baseheight_outer = 3; offset = (x_outer - x_inner)/2; module innerframe(){ translate([offset, offset, 0]){ difference(){ cube([x_inner, y_inner, z_inner]); translate([wall_width...
glb/cad_cdaf00544dd8.glb
Create a lyophilisation frame for 2R vials by starting with a rectangular base block that is 295mm long, 70mm wide, and 4mm thick. At one end of this block, remove a corner section to create a chamfered edge. To do this, position a cube with dimensions of 30mm by 30mm and a height of 10mm at the top-right corner of the...
wall_width = 4; x_length = 295; y_height = 70; x_corner = 30; y_corner = 30; z_corner = 10; corner_angle = 60; difference(){ cube([x_length,y_height,wall_width]); translate([x_length-15,y_height,0]){ rotate ([0,0,-corner_angle]){ cube ([x_corner,y_corner,z_corner]); } } }
glb/cad_4047b507dc8f.glb
Create a burger press consisting of a main forming cylinder and a separate press lid. For the forming cylinder, create a hollow tube with an outer radius of 54mm, an inner radius of 50mm, and a height of 50mm. This tube should be defined as a regular polygon with 100 sides to ensure a smooth circular appearance. For th...
radius = 50; height = 50; sides = 100; press(radius, height, sides); module press(radius, height, sides){ translate([radius+4, radius+4, 0]) form(radius, height, sides); translate([radius*3.2, radius, 0])lid(radius, sides); } module form(radius, height, sides){ difference(){ cylinder(h = height, r = radius+4, $...
glb/cad_0e7987ae818f.glb
Create a plywood car body model using 4mm thick panels. The chassis is based on a base width of 120mm. Construct the side panels as polygons with a height of 102mm, featuring a cutout for a wheel with a radius of 40mm centered at [142, -28] and [28, -28]. Create a back panel as a 120mm by 92mm rectangle with 4mm wide ...
base_width = 120; thickness = 4; wheel_gap = 16; module _h_hole(x,y,size=10) { translate([x,y]) square([size,thickness]); } module _v_hole(x,y, size=10) { translate([x,y]) square([thickness,size]); } module back() { difference(){ union(){ square([base_width,92]); for(x = [-10,base_width]) translate([x,0]) ...
glb/cad_a6ee632de890.glb
Create a turntable bearing assembly consisting of two circular plates. First, create a bottom plate as a cylinder with a radius of 46.8mm and a height of 5mm. Centered on this plate, remove a vertical hole with a radius of 1mm. Additionally, remove a sphere with a radius of 4mm centered at the bottom face of the plat...
$fa=3; main_radius=48; inter_plates=1; top_plate_height=5; bottom_plate_height=5; skirt_height=4; skirt_thickness=1.2; skirt_space=1; ball_radius=3; gradii=[40,30,20]; r_screwhole=1; screwhead=4; skirt_thickness=1.2; skirt_spacing=1; epsilon=0.1; module torus(tradius,cradius){ rotate_extrude(convexity = 10) t...
glb/cad_8eb8d8d4f4f2.glb
Create a KitchenAid to Milescraft adapter. Start with a central square prism that is 11.9375mm (11/16 inches) tall with a side length of 11.9375mm (0.47 inches). Apply chamfers to the vertical edges of this square base to create a faceted profile. On top of this base, center a cylinder with a radius of 10.16mm (0.40 i...
MM = 0.0393700787; circlefn = 100; cubeside = 0.47; cubeheight = 11/16; hexradius = 0.40; hexheight = 11.5*MM; holeradius = 3/16; holeheight = 9.5*MM; tapradius = 0.136/2; module dodecagon(r, h) { rotate([0,0,15]) cylinder(r = r, h = h, $fn = 12); } flattendist = 4.35 * MM; module bitholder() { difference() { cy...
glb/cad_f9717702bb0b.glb
Create a wall mount bracket for a multimeter. The overall structure is a C-shaped clamp with a height of 20mm. Start with a back wall that is 7mm thick and 87mm wide. In this back wall, create two aligned holes for concrete screws. Each hole consists of a 6mm diameter shaft passing through the wall, with a 10mm diame...
FlukeWallMount(); module FlukeWallMount() { H1 = 20; W2 = 77; W3 = W2+5; L4 = 7.5; D5 = 6; R5 = D5/2; L6 = 7; T7 = 3; L8 = 43; T9 = T7+((W3-W2)/2); echo("T9:", T9); A10 = atan(((W3-W2)/2)/H1); echo("A10:", A10); O11 = ((W2+2*T9)-(T9+L4))/2; O12 = (L8)+T7/2; D13 = 10; R13 = D13/2; L14 = 3.75; E1 = 1.01; ...
glb/cad_dbb2879ed1c0.glb
Create a generic case and lid consisting of a rounded box and a matching cover. For the box, create a rounded cube with outside dimensions of 70mm x 50mm x 13mm (total height 15mm minus 2mm lid thickness). Set the wall thickness and base thickness to 2mm. The corners should have a radius of 3.67mm. Hollow out the cen...
use <CUSTOM\roundCornersCube.scad> use <MCAD/polyholes.scad> use <MCAD/teardrop.scad> box_sx = 70; box_sy = 50; box_sz = 15; box_wt = 2.0; box_bt = 2.0; lid_sz = 2.0; lip_h = 1.60; fit_tol = 0.40; tab_use = true; tab_sz = box_bt; tab_sx = 8; tab_hoy = 7; box_cp_hid = 2.44 + 0.1; box_cp_hd = 10.0; lid_hid = 3.26 +...
glb/cad_56d628263c81.glb
Create a generic case and lid consisting of two separate parts. For the box, create a rounded cube with outer dimensions of 70mm x 50mm x 15mm and a corner radius of 2.5mm. Hollow out the center to create a shell with a wall thickness of 1.75mm. In each of the four interior corners, add a cylindrical standoff post wi...
use <D:\program files (x86)\openSCAD\custom_library\teardrops.scad> use <D:\program files (x86)\openSCAD\custom_library\roundCornersCube.scad> use <D:\program files (x86)\openSCAD\custom_library\polyhole.scad> module standoff( post_od , post_id , post_h , hole_depth) { difference() { cylinder( d = post_od , h ...
glb/cad_3b09a4de602b.glb
Create a case and lid for a Tinkerkit T010010 Relay Module. Construct the main box as a rounded cube with outside dimensions of 55mm x 45mm x 28mm. The walls and base should be 2mm thick, with the base thickness specifically set to 1.8mm. Hollow out the center to create the interior cavity. On the X-axis sides, add m...
use <CUSTOM\roundCornersCube.scad> use <MCAD/polyholes.scad> use <MCAD/teardrop.scad> box_sx = 55; box_sy = 45; box_sz = 28; box_wt = 2.0; box_bt = 1.8; lid_sz = 1.8; lip_h = 1.60; fit_tol = 0.40; tab_use = true; tab_sz = box_bt; tab_sx = 6; tab_hoy = 7; board_post_h = 4; board_post_depth = board_post_h ; board...
glb/cad_3ffa617a0dcc.glb
Create a case and lid for a Tinkerkit Relay Module. The main box should have outer dimensions of 55mm x 45mm x 28mm with 2.5mm rounded corners and a wall thickness of 1.75mm. Hollow out the box, leaving four corner standoff posts. Each corner post should have an outer diameter of 7.2mm and a central hole of 2.4mm drill...
use <D:\program files (x86)\openSCAD\custom_library\roundCornersCube.scad> use <D:\program files (x86)\openSCAD\custom_library\polyhole.scad> module standoff( post_od , post_id , post_h , hole_depth) { difference() { cylinder( d = post_od , h = post_h , $fs=0.01); translate([ 0 , 0 , post_h - hole_depth ]...
glb/cad_614646801eee.glb
Create a rectangular electronics enclosure for a RAMPS board with external dimensions of 117mm in width, 68mm in depth, and 48mm in height. The walls should be 3mm thick. Hollow out the center of the box, leaving a 3mm base floor, but ensure the interior cavity is 111mm wide and 62mm deep. On the two shorter side wall...
include <configuration.scad> ard_x = 111; ard_y = 62; ard_z = 42; clip_x = 20; clip_z = 14.5+1+3; poff_x = 18; poff_y =6; plat_x = 65; plat_y = 40; plat_z = 3; air_r = 5; air_x = 16+air_r; air_z = 18+air_r; fan_holes = 50; fan_size = 60; fan_w = 10; %translate([ard_x/2, ard_y/2+wall, ard_z+wall+fan_w/2]) cube([fan...
glb/cad_3676b2ec4b32.glb
Create a customizable pillbox storage container consisting of a base grid and matching lids. For the base, construct a grid of open-topped rectangular compartments arranged 7 units long by 2 units wide. Each individual compartment cell should have an outer dimension of 20mm width, 20mm length, and 10mm height, with wal...
number_boxes_length=7; number_boxes_width=2; Wall_thickness=2; Length_of_box=20; Width_of_box=20; Height_of_box=10; Print_box=1; Print_lid=1; module bracket() { cube(size = [Wall_thickness/2,Length_of_box,1]); } module bracket_top() { cube(size = [Wall_thickness,Length_of_box,1]); } module box() { union() {...
glb/cad_e80cbd9c368f.glb
Create a disc-bound notebook disc by generating a solid of revolution. Start with a 2D profile consisting of a semi-circle with a radius of 2.625mm centered on the x-axis, but truncate the inner edge of this semi-circle with a vertical line at x=0 to create a flat inner face. To this profile, attach a rectangular exten...
module punch(length){ w = 1.75; cw = w*3; cr = cw/2; translate([length,0,0]) union(){ intersection(){ circle(r=cr,$fn=100); polygon([[0,cr],[0,-1*cr],[cr,-1*cr],[cr,cr]]); } polygon([[0,w/2],[0,-1*w/2],[-1*length,-1*w/2],[-1*length,w/2]]); } } rotate_extrude(convexity = 10, $fn=100) punch(10);
glb/cad_b15c3e36ac47.glb
Create a Disc-bound Notebook page by starting with a rectangular base measuring 78mm wide by 130mm tall with a thickness of 0.5mm. Along one of the 130mm edges, create three identical punch-holes spaced 25mm apart, with the first hole centered 10mm from the corner. Each punch-hole is a composite shape consisting of a c...
module punch(){ w = 3.5/2; union(){ intersection(){ translate([4,4,0]){ circle(r=4,$fn=100); } polygon([[-1,4],[-1,8],[8,8],[8,4]]); } polygon([[4-w,0],[4-w,4],[4+w,4],[4+w,0]]); } } module a7(){ linear_extrude(height = .5, center = true, convexity = 10, twist = 0) polygon([[0,0],[0,105],[74,105],[75,0]]); } modul...
glb/cad_064a509c364e.glb
Create a YeaLink T26 Alternative stand consisting of two identical legs mirrored and positioned symmetrically. For each leg, start with a base rectangular block measuring 89mm by 69mm with a height of 6mm. From this base, remove a central rectangular section by rotating a 121mm by 71mm by 11mm block 45 degrees on the Z...
$fn=10; $fa=10; module leg() { minkowski() { union() { rotate([0,0,45]) difference() { difference() { cube([89, 69, 6]); rotate([0, 0, 45]) translate([0, 2, -1]) cube([121, 71, 11]); ...
glb/cad_a245ed6c4c79.glb
Create a tentacle plug hair connector consisting of three stacked geometric components. Start with a square base measuring 8mm by 8mm with a height of 2mm. Centered on top of this base, place a small cylinder with a radius of 2mm and a height of 6mm. Atop this small cylinder, add a larger tapered cylinder that starts a...
$fn=25; h=5; union(){ cylinder(2,8,8,$fn=5); cylinder(h+1,2,2); translate([0,0,h]) cylinder(5,4,3); }
glb/cad_ad903ccbae92.glb
Create a Defqon.1 keyring by starting with a black cylindrical base that has a radius of 10mm and a height of 2mm, centered at the origin but shifted 0.5mm along the Y-axis. Drill a small vertical hole with a radius of 0.5mm through the top of the base, positioned at coordinates (0, 8.5, 0). On top of this base, add a...
$fn=100; color("black") { difference() { translate([0,-0.5,0]) cylinder(h=2, r=10); translate([0,8.5,-0.5]) cylinder(h=3, r=0.5); } } color("DarkOrange") { translate([0,0,2]) { linear_extrude(height=2) { translate([0.5,0,0]) { polygon1(); rotate([0,0,45]) { mirror([0,1,0]) { polygon2(); ...
glb/cad_6036b7667051.glb
Create a graphic LCD case cradle designed to mount on a 6mm aluminium frame. The main body is a three-sided open box. Start with a bottom panel that is 30mm wide and 45mm deep. Attach a front panel to the bottom, 2mm thick and 30mm high. Add a left side panel that is 28mm deep, 2mm thick, and 30mm high. Connect these t...
module lcd_cradle_left() { front_panel_thickness = 2; left_panel_thickness = 2; cradle_depth = 28; cradle_width = 45; mount1_length = 55 + 12; mount2_length = 55 + 12; mount1_thickness = 2; mount2_thickness = 3; mount_gap = 7; union() { translate([0, 5, 0]) { cube([front...
glb/cad_79f7835091a2.glb
Create a Graphic LCD case cradle designed to mount on a 6mm aluminium frame. The main body is a three-sided open box with a total width of 45mm and a depth of 30mm. Construct a back panel that is 3mm thick, 76mm high, and 45mm wide. Attach a right side panel to this, 28mm deep, 30mm high, and 2mm thick. Add a front pan...
module lcd_cradle_right() { front_panel_thickness = 2; back_panel_thickness = 3; left_panel_thickness = 2; right_panel_thickness = 2; cradle_depth = 28; cradle_width = 45; mount1_length = 55 + 12; mount2_length = 55 + 12; mount1_thickness = 2; mount2_thickness = 3; mount_gap ...
glb/cad_381116a615d8.glb
Create a knurled knob by starting with a cylinder 10mm in height and 15mm in diameter. Apply a 1.5mm chamfer to both the top and bottom circular edges. To create the knurled texture, remove two sets of intersecting helical grooves from the outer surface. The first set of grooves consists of small, 1.5mm diameter triang...
module knurled_knob(h = 10, d = 15, knurling_step = 2.5, knurling_depth = 1.5, bevel_amount = 1.5) { knob_height = h; knob_diameter = d; $fa=2; $fs=0.2; function twist_amount(n) = 360/n*knob_height/knob_diameter; function ge...
glb/cad_0cb571eebd2b.glb
Create a cardboard screw consisting of a knurled head and a threaded shaft. Start with a cylindrical head 17mm in diameter and 6mm in height. Carve a knurled pattern into the outer surface of this cylinder and add a 1mm bevel to the top and bottom edges. On the top face of the head, center a composite tool-head cutou...
rounded_screw_point = true; thread_diam = 14; roddiam = 5; straightlen = 10.0; angledlen = 6; thread_pitch = 4; cap_diam = 17; screw_height = straightlen + angledlen; enable_phillips = true; phillips_width = 7; phillips_thick = 1.5; phillips_straightdepth = 2.5; slottedOnly = false; enable_torx = true; torxTip = "T2...
glb/cad_f25d85a2fc9a.glb
Create a parametric shelf bookend consisting of a base plate, a shelf clip, and a vertical upright. Start with a horizontal base plate that is 83.2mm long, 1.8mm thick, and 40mm wide. At one end of this plate, attach a vertical upright that is 3.2mm thick and 150mm high. The shelf clip is formed by a bottom horizonta...
$fn = 100; shelf_thickness = 25; base_depth = 80; base_thickness = 1.8; width = 40; d_width = 40; upright_thickness = 3.2; upright_height = 150; d_height = 1; clip_depth_bottom = 35; clip_thickness = 2.2; total_height = upright_height + shelf_thickness + clip_thickness ; module shelf_bookend() { union(...
glb/cad_71249aa0f104.glb
Create a kitchen drawer organizer with overall outer dimensions of 137.5mm in width, 252mm in length, and 50mm in height. The object should be a hollowed-out rectangular shell with a wall thickness of 3mm. The interior is divided into three equal longitudinal compartments by two internal walls, each 3mm thick, runnin...
$fn=100; fn=100; wt=3; outerYDM=252; outerXDM=137.5; outerZDM=50; innerCR=10; columns=3; translate([outerXDM/2,0,0]) difference(){ hull(){ translate([-outerXDM/2+wt/2, -outerYDM/2+wt/2,outerZDM-wt/2]) sphere(d=wt); translate([-outerXDM/2+wt/2, outerYDM/2-wt/2,outerZDM-wt/2]) sphere(d=wt); translate...
glb/cad_3b77c492cb20.glb
Create a 3D model of a geometric shape by combining a cylinder and a cube. First, create a cylinder with a radius of 100mm and a height of 10mm, centered at the origin. Rotate this cylinder 45 degrees around the Y-axis and translate it 4mm along the Z-axis. Next, create a cube with dimensions 50mm in width, 10mm in ...
module show_examples() place_in_rect(30, 30) { Cy(10, 10); CyH(h = 10); CyH(d=20, h=10); CyS(h = 10); CyS(h = 10, w1 = 25, w2 = 75); Cu(10); Ri(h = 10); RiH(h = 10); RiS(h = 10, w1 = 10); RiS(h = 10, w1 = 30, w2 = 300); Sp(); SpH(10, 30, 30); } help(); module help() help_shortcuts(); module ...
glb/cad_ee79817e9794.glb
Create a Parametric Tray for Toolwall. Start by constructing a main rectangular box with a width of 104mm, a depth of 80mm, and a height of 45mm. Apply a 1mm chamfer to the edges of this box. Hollow out the center of the box by removing a smaller rectangular volume from the top, leaving a wall thickness of 2mm on all s...
include <ToolWallUtils.inc> tt1L = 1; tt2L = 2; tt3L = 3; tt4L = 4; tt5L = 5; tt6L = 6; tt7L = 7; fastenerType = ftScrew; trayType = tt7L; function getNrOfKnobs(prmTrayType) = (prmTrayType==tt1L) ? 2 : (prmTrayType==tt2L) ? 3 :(prmTrayType==tt3L) ? 4 :(prmTrayType==tt4L) ? 5 :(prmTrayType==tt5L) ? 6 : (prmTrayType==...
glb/cad_bc013267ea3b.glb
Create a customizable cable tag with a base plate measuring 18mm in length, 12mm in depth, and 1.6mm in height. The base should have rounded corners with a radius of 2.5mm. On the top surface of the base, add a raised border that is 1mm thick, following the outer perimeter of the tag. Centered on the face of the tag,...
tag_length = 18; tag_depth = 12; tag_border = true; text_to_display = "R"; text_two_lines = false; text_to_display_second_line = "Lorem"; text_size = 8; tag_height = 1.6; tag_text_height = 0.6; tag_radius = 2.5; tag_zip_tie_hole_dist = 2; tag_border_thickness = 1; hole_x = 3.5; hole_y = 2; hole_r = 0.5; module tag_t...
glb/cad_68ecf2208a1e.glb
Create a suspension gauge card with dimensions 85mm by 53.5mm and a thickness of 0.8mm. The card should have rounded corners with a radius of 4mm. Cut four narrow slots into the card to create measurement indicators. Two slots run horizontally from the left edge: one at a height of 0mm and another at a height of 2.5mm...
OutputMode = 0; ForkTravel = 140; ShockTravel = 50; CardThickness = 0.8; DiameterIndicator = 2.5; TextDepth = 0.2; BikeManufacturer = "SomeCompany"; BikeName = "DummyBikes"; CardLength = 85; CardWidth = 53.5; CardEdgeRadius = 4; CardMeasurementEdgeRadius = 0.5; ListForkPercentage = [0.10, 0.15, 0.20, 0.25]; Li...
glb/cad_7837cc506e66.glb
Create a Shaving Soap Holder consisting of a main sleeve and a separate base retention ring. The main sleeve is a two-stage hollow vessel. The bottom section is a conical frustum with a height of 12mm, tapering from an outer radius of 39.9mm at the base to 37.1mm at the top. The interior of this section is hollowed o...
part = "All"; PartsMated = "Separated"; SoapT=27; SoapDBase=75; SoapDTop=69; FlareR=8; T=12; T2=SoapT+10 -T; SoapD2=SoapDBase - ( (SoapDBase-SoapDTop)*(T/SoapT)); echo(str("BaseD=",SoapDBase, " TopD= ",SoapDTop," SoapD2 =",SoapD2 , " at height T=",T)); RingH=7; RingGap=0.3; RimScale=0; wallt=1.5; wallt2=2...
glb/cad_bec249b7b824.glb
Create a Wet Surface Tray with a rectangular footprint of 65mm in length and 50mm in width. The base is a flat mesh with a thickness of 1.2mm, consisting of intersecting diagonal bars that create square gaps of 7mm. Surround the mesh with a low perimeter wall that is 2.5mm high. The walls should be integrated into th...
length=65; width=50; side_height=2.5; mesh_width=1.2; gap_width=7; foot_height=3; rotate([0,0,90]) union() { basket(); feet(); } module feet() { translate([width/2-foot_height,-length/2+foot_height,-mesh_width/2]) rotate([0,0,0]) leg(); translate([-width/2+foot_height,-length/2+foot_height,-mesh_width/2]) ...
glb/cad_005ff12adcea.glb
Create a two-ended measuring spoon. The object consists of a central handle connecting two bowl-shaped measuring cups of different sizes. The first cup is designed to hold 29.54 ml. Construct this cup as a truncated cone with a base diameter of approximately 20mm and a height of 10mm, topped with a hemispherical dome....
use <write/Write.scad> part = "preview"; r1=10; reference=23.886945313; preview=(part == "preview"); fn=50; volume=6; label_thickness = 0.6; label_height = 6; label_font="orbitron.dxf"; module interconnect() assign(h=3.5) assign(b=15.1191-1,a=23.9674-1,c=7.5,l=100,$fn=100) assign(d=10) assign(l2=a+d+0) assign(m...
glb/cad_a0ade721b546.glb
Create an Extruder Controller Mount consisting of a central rectangular bar with three holes. Start with a rectangular base measuring 62mm in length, 5mm in width, and 10mm in height, centered on the origin. At both ends of the bar, centered at x = -31mm and x = 31mm, create circular cutouts with a radius of 5mm and ...
module m3_15_socket_cap() { union() { cylinder(r=3/2, h=16, $fn=8); translate([0,0,15]) cylinder(r=3, h=3.5, $fn=16); } } module extruder_mount_bar() { union() { cube([62, 5, 10], center=true); for (x=[-31, 31]) { translate([x, 0, 0]) rotate([90, 0, 0]) cylinder(r=5, h=5, center=true); } } } ...
glb/cad_70c936033294.glb
Create a parametric hose joiner with a total height of 30mm and a central longitudinal hole with a diameter of 12mm running through the entire length. The main body is a cylinder with a diameter of 15mm. At both the top and bottom ends, add tapered barb sections: the first section starts at the base with a 15mm diamete...
diam = 15; h = diam * 2.0; barb = diam*1.15; barb_h = diam/3; flange_h = diam/10; flange = diam/3*4; hole = diam * 0.8; $fn=60; difference() { union () { cylinder(r=diam/2, h=diam*2); cylinder(r1=diam/2, r2=barb/2, h=5); translate([0,0, h-barb_h]) cylinder(r2=diam/2, r1=barb/2, h=barb_h); translate([0,0, h-b...
glb/cad_05845f4e4ad2.glb
Create a Yazzo Rod End Bearing consisting of a flat circular flange with an integrated cylindrical tube. Start by creating a solid cylinder for the flange with a radius of 17.79mm and a height of 11.33mm. Centered within this flange, remove a cylindrical core with a radius of 11mm and a height that extends through the ...
goldenratio = 1.61803399; extragolden = 1.636; joinfactor = 0.125; gBearingIR = 11; gBearingOR = gBearingIR*goldenratio; gBearingWidth = 7; gBearingThickness = gBearingWidth*goldenratio; gTubeIR = 11.34/2; gTubeOR = gTubeIR*goldenratio; gTubeLength = gBearingIR*goldenratio*goldenratio; barbearing(gBearingIR, gBearin...
glb/cad_df2f94bf9be7.glb
Create a 10 mm Triangle Key for gas meter cabinets. Start by constructing the business end: a cylinder 15.5 mm in diameter and 10 mm high. From this cylinder, remove a centered equilateral triangular prism with a height of 11 mm and a side length that matches the cylinder's diameter, leaving walls 1.3 mm thick at the t...
r = 15.5/2; h = 10; o = 22; wall = 1.3; module triangular() { union() { difference () { cylinder(r=r, h=h); translate([0,0,-0.1]) cylinder(r=r, h=h+1, $fn=3); } difference () { cylinder(r=r, h=h); translate([0,0,-0.1]) cylinder(r=r-wall, h=h+1); } } } module handle(r1=8, w=3) { translate([0,0,h...
glb/cad_02d022cc8f47.glb
Create a sliding door handle lever for a vehicle. Start with a main body that is 6.5mm thick. At one end, create a cylindrical pivot section with an outer radius of 4.6mm and an inner hole radius of 2.3mm, extending to a total height of 19.5mm. At the opposite end of the body, construct a larger cylindrical housing w...
$fn = 50; bodyThickness = 4 + 2.5; largeHoleThickness = 8; largeHoleStep = 8 - 4.5; largeHoleSmallRadius = 8/2; largeHoleLargeRadius = 11/2; largeHoleOuterRadius = 14.3/2; pivotThickness = 19.5; pivotInnerRadius = 4.6/2; pivotOuterRadius = 9.2/2; holeOffsetY = 41.5 - (pivotOuterRadius + largeHoleOuterRadius); legWidth...
glb/cad_79fc53eeed36.glb
Create a sliding door handle lever for a vehicle. The main body is a flat plate with a thickness of 6.5mm. At one end, create a pivot point consisting of a cylinder with an outer radius of 4.6mm and an inner hole radius of 2.3mm, extending to a total height of 19.5mm. At the opposite end of the lever, construct a lar...
$fn = 50; bodyThickness = 4 + 2.5; largeHoleThickness = 8; largeHoleStep = 8 - 4.5; largeHoleSmallRadius = 8/2; largeHoleLargeRadius = 11/2; largeHoleOuterRadius = 14.3/2; pivotThickness = 19.5; pivotInnerRadius = 4.6/2; pivotOuterRadius = 9.2/2; holeOffsetY = 41.5 - (pivotOuterRadius + largeHoleOuterRadius); legWidth...
glb/cad_fe4f9541aa32.glb
Create a Stepper Motor Bypass switch cover consisting of two identical mirrored housing units. For each unit, start with a solid rectangular block measuring 25mm wide, 38.6mm deep, and 22mm high. Hollow out the center of the block to create a cavity measuring 21mm wide, 34.6mm deep, and 18mm high, leaving walls that ar...
switch_x=20; switch_y=33.6; switch_z=17.0; switchhole_y_offset=11; switchhole_diameter=12; inner_margin = .5; cable_path_h = 2.5; walls_thickness = 2.5; c_x=switch_x + (2*inner_margin) + (2*walls_thickness); c_y=switch_y + (2*inner_margin) + (2*walls_thickness); c_z=switch_z + (2*inner_margin) + (2*walls_thickness) +...
glb/cad_1cc3602336f9.glb
Create a 3x3 grid of nine identical charging dock pins. Each individual pin is composed of a cylinder with a diameter of 8.2mm and a height of 15mm, topped with a hemispherical cap of the same radius to create a rounded dome. For each pin, create a central vertical hole with a diameter of 3.2mm that extends from the ...
pinDia=8.2; pinHt=20; threadDia=3.2; threadLength=13; nutDia=6.7; nutHeight=2.9; arrayX=3; arrayY=3; module draw_pin (nutDia,nutHeight) { pinRad=pinDia/2; difference(){ union() { translate([0,0,pinHt-pinRad]) sphere(r=pinRad,$fn=20); cylinder(r=pinRad,h=(pinHt-pinRad), $fn...
glb/cad_2e18139d129f.glb
Create a guitar pedal enclosure consisting of a main box and a removable back plate. Construct the main box as a hollow rectangular prism with outer dimensions of 128mm length, 64mm width, and 32mm depth. The interior should be hollowed out to a thickness of 4mm. On the top surface, create the following circular cu...
module enclosure() { length = 128; width = 64; depth = 32; cylinderPrecision = .5; module mainBox() { difference() { cube([length, width, depth], center = true); translate([0, 0, -4]) cube([length - 8, width - 8, depth], center = true); bevelX([0, 34, 18...
glb/cad_b2c5794f2df0.glb
Create a 3D right-triangular prism. The prism should be defined by a right-angled triangle with two equal sides of 10mm, extruded to a thickness of 4mm. Orient the object so that the triangular face lies on the XY plane, with the right angle positioned at the origin (0,0,0), one 10mm leg extending along the X-axis, and...
b = 10; h = 10; w = 4; rotate(a=[90,-90,0]) linear_extrude(height = w, center = true, convexity = 10, twist = 0) polygon(points=[[0,0],[h,0],[0,b]], paths=[[0,1,2]]);
glb/cad_df75fd6738f5.glb
Create a 3D geometric shape by starting with a right-triangular prism that has a height of 4mm, a base of 10mm, and a width of 10mm. Orient this prism so that its triangular face lies on the XY plane, with the right angle at the origin and the legs extending 10mm along the X and Y axes. From this solid, remove a cylind...
pad = 0.1; b = 10; h = 10; w = 4; r = 3; smooth = 360; z = h - r*h/b - r*pow(pow(h,2)+pow(b,2),0.5)/b; difference() { rotate(a=[90,-90,0]) linear_extrude(height = w, center = true, convexity = 10, twist = 0) polygon(points=[[0,0],[h,0],[0,b]], paths=[[0,1,2]]); translate([0,0,z]) translate([-r,0,0]) rotat...
glb/cad_7f60a41a5169.glb
Create a rectangular block with a width of 4mm, a height of 10mm, and a depth of approximately 6.83mm. From the center of the bottom edge, remove a semi-cylindrical section using a cylinder with a radius of 3mm. This cylinder should be oriented horizontally, running along the width of the block, and positioned so that ...
pad = 0.1; b = 10; h = 10; w = 4; r = 3; smooth = 360; z = h - r*h/b - r*pow(pow(h,2)+pow(b,2),0.5)/b; x3 = r*h/pow(pow(h,2)+pow(b,2),0.5) + r; translate([0,0,z]) difference() { translate([-x3/2,0,(h-z)/2]) cube([x3+pad,w+2*pad,h-z],center=true); translate([-r,0,0]) rotate(a=[0,90,90]) cylinder(w+4*pa...
glb/cad_da693d8c1bd8.glb
Create a 3D geometric shape by starting with a right-triangular prism that has a height of 4mm, a base of 10mm, and a width of 10mm. Orient this prism so that its longest flat face lies on the XY plane. From this primary volume, remove a cylindrical section to create a rounded edge. The cylinder must have a radius of 3...
pad = 0.1; b = 10; h = 10; w = 4; r = 3; smooth = 360; z = h - r*h/b - r*pow(pow(h,2)+pow(b,2),0.5)/b; x3 = r*h/pow(pow(h,2)+pow(b,2),0.5) + r; difference() { rotate(a=[90,-90,0]) linear_extrude(height = w, center = true, convexity = 10, twist = 0) polygon(points=[[0,0],[h,0],[0,b]], paths=[[0,1,2]]); translat...
glb/cad_c1b386a6bbb7.glb
Create a hollow cylindrical container with a height of 15mm and an outer radius of 20mm. The walls and the base should have a uniform thickness of 2mm. To achieve this, start with a solid cylinder of the specified height and outer radius, using 180 facets to ensure a smooth circular profile. Then, remove a smaller conc...
pad = 0.1; ch = 15; cr = 20; ct = 2; r = 4; smooth = 180; difference() { cylinder(ch,cr,cr,center=false,$fn=smooth); translate([0,0,ct]) cylinder(ch-ct+pad,cr-ct,cr-ct,center=false,$fn=smooth); }
glb/cad_e8d75f5f3c1e.glb
Create a ring-shaped object with a rounded inner profile. Start by creating a solid of revolution based on a square profile with a side length of 4mm. This square should be positioned such that its inner edge is 15mm from the center of rotation and its bottom edge is 2mm above the base plane. Rotate this square 360 deg...
pad = 0.1; ch = 15; cr = 20; ct = 2; r = 4; smooth = 180; difference() { rotate_extrude(convexity=10, $fn = smooth) translate([cr-ct-r+pad,ct-pad,0]) square(r+pad,r+pad); rotate_extrude(convexity=10, $fn = smooth) translate([cr-ct-r,ct+r,0]) circle(r=r,$fn=smooth); }
glb/cad_5809f4b4b611.glb
Create a round cup with a smooth, filleted interior base. Start by constructing a main cylinder with an outer radius of 20mm and a height of 15mm. Hollow out the center by removing a smaller cylinder from the top, leaving a wall thickness of 2mm and a base thickness of 2mm. To round the interior bottom edge, create a c...
pad = 0.1; ch = 15; cr = 20; ct = 2; r = 4; smooth = 180; union() { difference() { cylinder(ch,cr,cr,center=false,$fn=smooth); translate([0,0,ct]) cylinder(ch-ct+pad,cr-ct,cr-ct,center=false,$fn=smooth); } difference() { rotate_extrude(convexity=10, $fn = smooth) translate([cr-ct-r+pad,ct-pad,0]) ...
glb/cad_9c8597f00077.glb
Create a rounded ring by revolving a specific profile around a central axis. Start with a square profile that has a side length of 4.1mm. Position this square so its outer edge is 20mm from the axis of rotation and its bottom edge is 0.1mm below the base plane. Rotate this square 360 degrees around the axis to create a...
pad = 0.1; ch = 15; cr = 20; ct = 2; r = 4; smooth = 180; difference() { rotate_extrude(convexity=10, $fn = smooth) translate([cr-r+pad,-pad,0]) square(r+pad,r+pad); rotate_extrude(convexity=10, $fn = smooth) translate([cr-r,r,0]) circle(r=r,$fn=smooth); }
glb/cad_2bd7b3b81481.glb
Create a round cup with a total height of 15mm and an outer radius of 20mm. The walls and the base should have a uniform thickness of 2mm. The interior of the cup is formed by removing a cylinder with a radius of 18mm and a height of 13mm, starting from 2mm above the base. To finish the shape, apply a fillet with a rad...
pad = 0.1; ch = 15; cr = 20; ct = 2; r = 4; smooth = 180; difference() { union() { difference() { cylinder(ch,cr,cr,center=false,$fn=smooth); translate([0,0,ct]) cylinder(ch-ct+pad,cr-ct,cr-ct,center=false,$fn=smooth); } difference() { rotate_extrude(convexity=10, $fn = smooth) translate([cr...
glb/cad_b8681697eaa8.glb
Create a parametric under-shelf storage holder. Start by constructing a shelf clip that is 9.6mm wide, 30mm long, and 20mm high. This clip is a hollowed rectangular sleeve with a wall thickness of 0.8mm; the internal cutout is 18mm high, creating a slot to slide onto a shelf. Attached to this clip, create a storage co...
$fn = 100; storage_count = 1; shelf_thickness = 18; clip_length = 30; clip_thickness = 2; storage_shape = 1; storage_length = 80; storage_width = 8; storage_height = 20; storage_offset = 20; storage_angle = 10; wall = 0.8; module clip() { difference() { cube([storage_width + (wall*2), clip_lengt...
glb/cad_876eead9f4a8.glb