Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Customizable Cable Guide consisting of two identical mirrored halves joined at a central base. For each half, start with a rectangular base plate measuring 12mm by 12mm with a thickness of 2mm. At the center of this plate, create a countersunk screw hole: a cylinder with a 2mm radius extending through the base...
WIDTH = 12; SCREWPLATE = WIDTH; HEIGHT = 12; THICKNESS = 2; CABLE = 20; DOUBLE = true; SCREWHOLE = 2; $fn=36; if (DOUBLE) { difference() { cube([SCREWPLATE,WIDTH,THICKNESS]); translate([SCREWPLATE/2, WIDTH/2, -1]) { cylinder(r=SCREWHOLE,h=THICKNESS * 2); } translate([SCR...
glb/cad_5375a4579ea8.glb
Create a bracket for a Philips SPA2600 subwoofer. Start with a main rectangular base that is 225mm long, 4mm thick, and 20mm high. At one end, add a vertical rectangular section 40mm wide and 20mm high, 4mm thick, extending perpendicular to the length. At the opposite end, add a small 4mm thick block that is 20mm wide ...
$fn=36; THICKNESS = 4; LENGTH = 225; difference() { union() { cube([225,THICKNESS,20]); cube([THICKNESS,40,20]); translate([LENGTH - THICKNESS,-20,0]) cube([THICKNESS,20,20]); linear_extrude(THICKNESS) polygon([[0,0], [0,40], [40,0]]); } translate([-0....
glb/cad_402c0d8b402c.glb
Create a storage box for projector discs consisting of a bottom base and a hinged top lid. The bottom base is a rectangular container with rounded corners. The interior features a single column of 12 circular slots, each designed to hold a disc with a diameter of 30.4mm and a thickness of 3.4mm. To accommodate the di...
typeBat = "Pohádky"; dBat = 30; dAxle = 3; lAxle = 2; tBat = 3; rowBat = 12; colBat =1; bKeyTag = false; bPeepHole = false; gRowSep = 2; assert(gRowSep>=lAxle, "Film disc axle is too long to fit the box separator! make separator wider."); gRimNS = 2.8; assert(gRimNS>=(lAxle), "Film disc axle is too long to ...
glb/cad_68f67fff2674.glb
Create a First Layer Calibration shape consisting of a grid of measurement points and connecting lines, all with a height of 0.2mm. The grid is based on a print area of 170mm by 170mm. Arrange a 4x4 array of measurement points. Each point is a square with a side length of 17mm, centered at the intersections of the gr...
$fn=180; FirstPrintLayerHightInMM = 0.2; PrinterNameAndXYDimationInMMForMyCustomPrinter = ["MyCustomPrinter", 300, 300]; PrinterNameAndXYDimationInMMForPrusaMini = ["PrusaMini" , 180, 180]; PrinterNameAndXYDimationInMMForPrusaI3Mk3 = ["PrusaI3Mk3" , 250, 210]; PrinterNameAndXYDimationInMMForP...
glb/cad_78be92953b83.glb
Create a lamp base repair part consisting of a hollowed conical frustum and a central mounting assembly. Start by creating a main body in the shape of a conical frustum with a height of 30mm, a bottom diameter of 270mm, and a top diameter of 250mm. Hollow out this body to create a wall thickness of 2mm. At the center ...
$fn = 150; Botton_DIA = 270.00; Top____DIA = 250.00; Screw__DIA = 10.00; Hight_____ = 30.00; Wall = 2.00; body(); module body() { difference() { union(){ difference() { union() { cylinder(h=Hight_____, d1=Botton_DIA, ...
glb/cad_bc53ec58a0cd.glb
Create a lamp shade base by combining a hemispherical bowl and a cylindrical pedestal, then hollowing them out. Start with a solid sphere 105mm in diameter, scaled vertically by a factor of 1.3 to create an ovaloid shape. Position this shape so its center is 65.625mm above the origin. Attach a solid cylinder to the bot...
$fn=150; Top_Out_DIA = 105.00; Top_Inr_DIA = 101.00; Top_Set_Upp = 20.00; Wall = 2.00; Sockel_O_O_DIA = 65.00; Sockel_Out_DIA = 49.90; Sockel_Inr_DIA = 28.60; Sockel_Height = 7.00; difference() { union() { translate([0,0,1.25 * Top_Out_DIA / 2]) ...
glb/cad_9c132dad8501.glb
Create a lamp shade consisting of a hollowed hemispherical bowl and a conical base. Start by creating a sphere with a diameter of 240mm and a wall thickness of 2mm. Cut this sphere in half horizontally to create a bowl, and remove a cylindrical section from the top to leave a clean, open upper hemisphere. For the base...
$fn= 150; DIA = 240.00; Wall = 2.00; Sockel_Loch = 40.75; Sockel_Auflage = 60.00; Sockel_A_Hoehe = 15.39; Sockel_Sicke_I = 113.00; Sockel_Sicke_A = 117.50; difference() { union() { translate([0,0,DIA / 2]) sphere(d=DIA); } translate([0,0,DIA / 2])...
glb/cad_b4d69b0bc96f.glb
Create a pentagonal icositetrahedron, a convex polyhedron composed of 24 congruent irregular pentagons. The geometry is defined by the tribonacci constant, which determines the specific rotational symmetry and tilt of the faces. To construct this, start with a central cube of 3mm side length and remove material using a...
function trib(x)=(x <=3 ? 1 : trib(x-1)+trib(x-2)+trib(x-3) ); tribonacci=trib(18)/trib(17); rotation=45+atan2(1,tribonacci^2); angle=atan2((-1-tribonacci^2),(tribonacci+1)^2); tilt=atan2(tribonacci-1,cos(angle)-sin(angle)); module shell() { for(th=[0:90:270]){ rotate([th,0,0]) for(th=[0:90:270])rotate([0,til...
glb/cad_0c30dbbddcc0.glb
Create a Gridfinity Holder for Lego Brick Separator. Start by constructing a standard Gridfinity base unit with a footprint of 42mm by 42mm. On top of this base, center a rounded rectangular block that serves as the main holder body. This block should have a width of 20mm and a height of 20mm, with all edges rounded us...
include <gridfinity-rebuilt-utility.scad> use <unionRound.scad> $fa = 8; $fs = 0.25; brick_separator_w = 17; brick_separator_h = 20; sph_d = 2; gridx = 1; gridy = 1; gridz = 0; length = 42; divx = 1; divy = 1; enable_scoop = true; enable_zsnap = false; enable_lip = false; gridz_define = 0; style_tab = 1; ...
glb/cad_13138f051842.glb
Create a hinged plate tool consisting of two separate rectangular brick sections. The first section is 4 units long by 4 units wide, and the second section is 1 unit long by 4 units wide. Both sections have a height of 3.2mm. For the first section, create a hollow rectangular base with a wall thickness of 1.5mm and a ...
brickPart1Length = 4; brickPart2Length = 1; brickWidth = 4; brickHeight = 1; withStuds = "yes"; createStuds = (withStuds=="yes") ? true : false; withHingeStuds = "no"; createStudsForHinge = (withHingeStuds=="yes") ? true : false; withUnderStuds = "yes"; createUnderStuds = (withUnderStuds=="yes") ? true : false; ...
glb/cad_20023cadb300.glb
Create a Bic Buddy lighter case. Start with a main body consisting of a knurled cylinder 70mm tall with a diameter of 27.5mm, scaled by 0.6 along the Y-axis to create an elliptical profile. Inside this body, center a vertical cylindrical hole 70mm deep with a diameter of 25.25mm, also scaled by 0.6 on the Y-axis. Atta...
$fn = 128; use <knurledFinishLib_v2.scad> difference(){ union(){ scale([1, 0.6, 1]) knurled_cyl(70, 27.5, 4, 5, 1, 2, 40); hull(){ scale([1, 0.5, 1]) cylinder(70, d=26.5); minkowski(){ translate([12, -0.75, 4]) cube([4, 3, 63]); translate([0,...
glb/cad_bc5941d188bc.glb
Create a 120mm wheel for a scooter or inline skate consisting of two identical half-rims and a central tire. For each half-rim, create a cylindrical base with a diameter of 110mm and a height of 24mm. Subtract a central hole with a diameter of 8.2mm for a bearing and a larger concentric hole of 22.2mm. Around the cen...
include <../libs/hardware.scad>; show_tire = true; show_rim = false; rim_cut_upper= false; rim_cut_lower= false; tire_circle = 5.4; tire_z_scale = 5.1; tol=0.2; wheel_thick=24; wide_w_th = wheel_thick+4; rim_min_d = 110; reinforcement_hole_base=22; connect_d = rim_min_d/2; fine_fn=15; very_fine_fn=20; fine_fn=5...
glb/cad_44b76ff32338.glb
Create a PretzelTrap mouse trap consisting of two main tube halves and a plug. Each tube half starts with a rectangular base of 40mm width and 10mm height. Centered on this base, add a cylindrical tube with an outer diameter of 40mm and a height of 60mm. The tube walls should be 2mm thick. In the first tube half, cre...
module __Customizer_Limit__ () {} include <nws-common.scad>; include <pretzeltrap-param.scad>; module pretzeltrap_outer() { difference() { union() { cube([ $base_width , $base_depth + $tube_offset , $base_height ]); translate([ $base_width/2 , $tube_offset + $base_width/2 , 0 ...
glb/cad_e6b3120579c2.glb
Create a Steigerplank cleaner comb by starting with a solid rectangular base measuring 45mm in length, 35mm in width, and 5mm in height. Along one 35mm edge, carve out two rectangular gaps to create three protruding teeth. Each tooth must be 5mm wide and 5mm deep, with a 13mm gap between them. To finish the tool, remov...
wall_thickness = 5; teeth_count = 3; gap_width = 13; teeth_width = 5; teeth_depth = 5; teeth_straight_height = 1; tool_height = 40; tool_width = teeth_width + (teeth_count-1) * (teeth_width + gap_width); difference() { cube([tool_height + teeth_depth, tool_width , wall_thickness]); translate([0,teeth_widt...
glb/cad_352b1bd186e0.glb
Create a double hook for a honeycomb storage wall consisting of two identical mirrored units. For each unit, start by creating a vertical cylinder with a diameter of 2mm and a height of 8mm. Attached to the side of this cylinder, add a rectangular block with a width of 2mm, a height of 6mm, and a length of 12mm. Posi...
include<../hex plug library.scad>; innerDiameter = 20/2; height = 6; connectorLength = 10; breakWidth = 0; baseThickness = 0; baseHoleDiameter = 0; plugStyle = "insert"; cylinderHeight = 8; cylinderDiameter = 2; wallThickness=2; hookGap = 12; hookHeight = 3; useInsert = plugStyle == "insert" ? true : false; $fn...
glb/cad_430d37ef531a.glb
Create a Miniatures Display consisting of seven hexagonal cells arranged in a honeycomb pattern with one central cell surrounded by six others. Each individual cell is a hexagonal prism with a wall thickness of 4mm. The interior of each cell is a hollow hexagon with a diameter of 38.1mm (1.5 inches) and a total depth o...
wall_size = 4.0; back_wall = 1.2; screw_diameter = 4; mini_height = 3; mini_depth = 1.5; side_wall_depth = .75; use_ledge = true; number_of_hexes = "7"; if (number_of_hexes == "1") single(); if (number_of_hexes == "2T") dual_t_mini(); if (number_of_hexes == "2R") dual_r_mini(); if (number_of_hexes == "2L") dual_l_...
glb/cad_4e177ebb261f.glb
Create a UniFi G3 Flex edge mount by starting with a right-triangular prism base that has a length of 100mm, a width of 30mm, and a height of 30mm. From this base, remove a central square-shaped cutout measuring 13mm by 13mm with a depth of 15mm, rotated 45 degrees relative to the prism's edges. To create the mounting...
module prism(l, w, h){ polyhedron( points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]], faces=[[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]] ); } module smallHoles() { translate([-8.125, 0, 0]) union() { cylinder(h = 10, r = 1, $fn = 100); translate([16.25, 0, 0])...
glb/cad_1d0ffeb0670a.glb
Create a slim shoe rack consisting of a rectangular back plate and a hinged hook arm. First, create a back plate that is 70mm wide and 85mm high. The plate should be flat with rounded ends. Incorporate two screw holes on the plate, each with a recessed circular area to cover a drywall plug. Next, construct a hook ar...
$fa=4; $fs=.3; draw=true; ndraw=false; w=70; h=85; module barsection(){ hull(){ translate([ 3, .5]) circle(2); translate([-3, .5]) circle(2); translate([ 3,-.5]) circle(2); translate([-3,-.5]) circle(2); } } module bararc(){ hull(){ translate([20+.5, 3]) circle(2); translate([20-.5, 3...
glb/cad_d6fc8bbfcfe9.glb
Create a Glue Test Piece by constructing a vertical cylinder with a diameter of 25mm and a total height of 60mm, topped with a hemispherical dome of the same 25mm diameter. Drill a clean, circular hole with a diameter of 11mm straight through the center of the object along the X-axis. Position this hole so that its cen...
$fn=100; dia=25; dowel_dia=11; height=60; difference(){ union(){ linear_extrude(height-dia/2){ circle(d=dia); } translate([0,0,height-dia/2]){ sphere(d=dia); } } translate([0,height,height-3*dia/4]){ rotate([90,0,0]){ linear_extrude(2*height){ circle(d=dowel_dia...
glb/cad_9501d7c03d05.glb
Create a Glue Test Piece consisting of a rectangular block with a semi-cylindrical channel carved out of the top. The main block should be 35mm wide, 60mm long, and 22.5mm high. Centered along the length of the block, carve a longitudinal U-shaped valley with a radius of 12.5mm and a depth of 12.5mm. Inside this valley...
$fn=100; dia=25; dowel_dia=8; height=60; difference(){ linear_extrude(dia/2+10){ square([dia+10,2*(height-dia/2)], center=true); } union(){ translate([0,0,dia/2+10]){ rotate([90,0,0]){ glue_knub(); } rotate([-90,0,0]){ glue_knub(); } } } } module glue_knu...
glb/cad_496bed947c8f.glb
Create a stackable spool drawer designed to fit inside a spool with an inner width of 106mm and an outer width of 200mm. The main body is a curved receptacle with a height of 68mm and a radial cover of 90 degrees. Construct the drawer walls with a thickness of 1.2mm and a bottom thickness of 1.5mm. Divide the interio...
PrinterNozzleWidth=0.6; SpoolInnerWidth=106; SpoolOuterWidth=200; PartHeight=68; PartRadiusCover=90; PartSection=3; sectionHeight=98; PartRadialSection=1; sectionRadialHeight=100; PartAsymetric=0; HandleType = 1; PrintedLabel = 0; PrintedLabelText = "SCREW"; LabelHolder = 1; HoleScrew=4.33; MirrorPart=1;...
glb/cad_177a8100a7c2.glb
Create a bandsaw cutting insert replacement plate as a square block measuring 37.5mm by 37.5mm with a thickness of 3.5mm. From the top surface, remove a central rectangular section measuring 28.5mm by 32mm, leaving a border of 6.5mm on the left and 4.5mm on the right, and a border of 3mm on the top and bottom. At the c...
$fa = 1; $fs = 0.4; module screw_hole(d_head, h_head, d_screw, h_screw) { cylinder(h_head, d_head/2, d_screw/2); cylinder(h_screw, d_screw/2, d_screw/2); } module clip(x,y,h,xcut,hdepth) { difference() { cube([x,y,h]); translate([x-xcut,0,0]) cube([xcut,y,hdepth]); } } mo...
glb/cad_5e4dd62c31ef.glb
Create a Hook Stake by constructing a flat, vertical stake with a curved hook at the top. Start with a rectangular base that is 100mm high, 15mm wide, and 3mm thick. The bottom of the stake should be tapered into a point; specifically, the bottom edge is formed by a square with a 7.5mm radius at the corners, though the...
$fn = 60; Width = 15; Height = 100; Thickness = 3; union() { linear_extrude(Thickness) union() { rotate(0) circle(r=Width / 2, $fn=4); translate([-Width / 2, 0, 0]) square([Width, Height]); } translate([0, Height, Width / 2]) rotate([0, 90, 0]) union() { difference() { cylinder(r=Widt...
glb/cad_a433e85ea3fd.glb
Create a Prusa MINI parallel bed cable holder consisting of two main components: a nut holder and a top cover. First, construct the nut holder as a base. Create two cylinders with a diameter of 5.8mm and a height of 4mm, spaced 17mm apart center-to-center. Connect these cylinders using a hull operation to form a solid...
$fn=64; wall=1; h1=4+wall; h=12+h1; h2=h-h1; hole=[5,4,h/2]; bolt=3+.5; boltHead=5.4+1; boltHeadL=3.2; nutHolderH=4; layer=0.2; f=1; not=0.001; r([180,0,0]) t([0,30,-nutHolderH]) nutHolder(); r([180,0,0]) t([0,0,-h]) topCover(); module nutHolder(){ span=17; bolt=3+0.5; nut=5.4/cos(30)+0.2; nutL=2.3+.2; wa...
glb/cad_c7ecb4fbce87.glb
Create a GoPro mount consisting of three stacked flaps. The base of the mount is a rectangular block 11.5mm wide, 15mm deep, and 8mm high. Within this base block, create a hexagonal nut hole by subtracting a hexagonal prism with a width of 4.6765mm and a depth of 8.1mm, centered at the bottom. On top of this base, add...
$fa = 2; $fs = 0.25; Extra_Mount_Depth = 3; module nut_hole() { rotate([0, 90, 0]) rotate([90, 0, 0]) for(i = [0:(360 / 3):359]) { rotate([0, 0, i]) cube([4.6765, 8.1, 5], center = true); } } module flap(Width) { rotate([90, 0, 0]) union() { translate([3.5, (-7.5), 0]) cube([4 + Extra_Mount_Dep...
glb/cad_d104284b98cc.glb
Create a PiCam GoPro Mount consisting of a rectangular base and a mounting bracket. Start with a rectangular base measuring 12.5mm by 25mm with a thickness of 3mm. At each of the four corners of this base, create a vertical hole with a diameter of 2.2mm that passes completely through the thickness. On top of this base...
$fa = 2; $fs = 0.25; Extra_Mount_Depth = 6; module nut_hole() { rotate([0, 90, 0]) rotate([90, 0, 0]) for(i = [0:(360 / 3):359]) { rotate([0, 0, i]) cube([4.6765, 8.1, 5], center = true); } } module flap(Width) { rotate([90, 0, 0]) union() { translate([3.5, (-7.5), 0]) cube([4 + Extra_Mount_Dep...
glb/cad_270283496e62.glb
Create a Pillbox Holder consisting of a grid of open-topped rectangular buckets. For a single unit, the overall height is 15mm and the wall thickness is 1.5mm. Construct each bucket based on a base width of 31.5mm and a side length of 26mm. The bucket is formed by a bottom plate and four walls. The side walls are 1.5...
Thickness = 1.5; Height = 15.0; Extra_Col_Spacing = 1.0; Cols = 1; Rows = 3; module single(isFirst) { Bucket_Base = 31.5; Bucket_Side = 26; Lip_Offset = 2.5; Lip_Opening_Size = 2.0; Lip_Depth = 2.0; union() { if (isFirst) { union() { translate([0 - ((Bucket_Base / 2) + (((Lip_Depth * 2) + Extra...
glb/cad_d9824eb53114.glb
Create a Screw Aligner consisting of two separate parts: a holder and a retainer. First, construct the holder by combining two rectangular blocks. The base block is a flat tab measuring 62.5mm in length, 12.5mm in width, and 1.2mm in height. Attached to one end of this tab is a vertical block measuring 12.5mm in widt...
$fn = 300; tape_width = 50; tape_height = 1.2; unit_depth = 12.5; unit_width = 12.5; unit_height = 20; screw_dia = 5; retainer_thickness = 1.2; retainer_padding = 0.25; module Aligner() { difference() { union() { cube([tape_width + unit_depth, unit_width, tape_height]); cube([unit_depth, unit_width...
glb/cad_fb4125c183bf.glb
Create a Plumber's Helper Stand designed as a shallow, circular tray with a decorative honeycomb base. Start by creating a central cylindrical inlet with an inner diameter of 145mm and a height of 5mm. The walls of this inlet should be 2mm thick. The floor of the inlet consists of a hexagonal grid pattern. Each hexag...
include <scad-utils/morphology.scad> puempel_rad = 70; puempel_durch = puempel_rad*2; clearing=2.5; inner_rad=puempel_rad+clearing; wall=2; boden_dist=10; safe_zone=25; auflage=10; hex_h=5; translate([0, 0, 10]) base(); module inlet(){ union() { difference() { cylinder(r=inner_rad-clearing/2, h=hex_h,$f...
glb/cad_db2bce0616f3.glb
Create a cable comb organizer consisting of a flat rectangular base plate with a thickness of 2.5mm. The base plate should be long enough to accommodate four cable slots and two mounting holes. At the left end of the plate, create a 10mm by 10mm square section containing a centered vertical hole with a 2mm radius tha...
$fn = 60; cables = [ 5.1, 6, 6.8, 6.8, ]; plate_thickness = 2.5; wall_multiplier = 0.75; screw_slot(); translate([10,0,0]) multi_hold(cables, 0, 0); module multi_hold(range, value, current_position) { if(current_position != len(range)) { translat...
glb/cad_cf3d02a7884c.glb
Create a Filament Swatch for material calibration. Start with a base plate measuring 79.5mm wide, 30mm high, and 2.2mm thick, with rounded corners of 5mm. On the top surface, add raised text using the Squada One font. Position "Overture PETG" in the upper right, ".2 250C" in the upper left, and "Black" in the lower r...
textTips=false; textTipThickness=0.4; textstring1 = "Overture PETG"; textsize_upper=5; textstring2=".2 250C"; textstring3="Black"; textsize_lower=5; texttop=textTips ? "" : " P E T G"; texttop_configurable=""; fontname="Squada One"; text_type="raised"; edge_tests="disabled"; tack_hole="none"; thole_d=1.5;...
glb/cad_bc5d3a8a1749.glb
Create a small storage box for contact lenses consisting of a base and a lid connected by a flexible spring hinge. The interior dimensions of the case are 56.5mm wide by 46mm long with a height of 12mm. The walls and the top/bottom covers are 1.1mm and 1.4mm thick, respectively. The interior corners of the case featu...
$fn = 64; interiorWidth = 56.5; interiorLength = 46; interiorHeight = 12; interiorFillet = 2.0; hingeWidth = 40; coverThickness = 1.4; sidewallWidth = 1.1; lidInsetHeight = 1.7; hingeThickness = 1.5; hingeWall = 1.65; hingeGap = 0.4; hingeShift = 0.4; hingeLengthScale = 1.15; rimInset = 0.6; tabSize = 1; ...
glb/cad_297b474e8992.glb
Create a simple name tag by starting with a rectangular base that is 16mm wide, 6mm high, and 1mm thick. Centered both horizontally and vertically within this base, carve out the word "Name" as a recessed void. The text should use the Consolas font with a size of 3.6mm. Ensure the resulting 3D model is mirrored along i...
first_line = "Name"; font = "Consolas"; height = 6; width = 16; up = 1; do_mirror = true; module name_tag () { difference() { cube([width,height,up]); #translate([width/2,height/2,0]) linear_extrude(up) text(first_line,size=height*0.6, halign="center", valign="center",font=font); ...
glb/cad_f7bbfd76f39e.glb
Create a spool holder for a 2020 aluminum profile. The model consists of a central spool cylinder and a mounting arm. First, construct the spool component. Create a cylinder with an outer diameter of 30mm and a total length of 102mm. Hollow out the center with a coaxial hole 27mm in diameter. To create the spool ridge...
include <2020SlotMount.scad>; include <2020_profile.scad>; $fn=256; profile_width=20; profile_fudge=0.5; extrusion_thickness=4; mount_width=20; arm_length=150; arm_angle=30; mount_trans=4; wrap_offset=8; wrap=profile_width+wrap_offset; fudge=0.02; tolerance=-0.5; hole=3.4; spool_gap=90; spool_ridge=4; spool_diame...
glb/cad_d026378616e8.glb
Create a Customizable Lego Christmas Ornament consisting of a rectangular brick frame with a decorative nameplate. The main body is a hollow rectangular brick with outer dimensions of 64mm by 88mm (8x11 Lego units), and a height of 9.6mm (3 plate heights). On the top surface, add a grid of cylindrical studs with a di...
brickLength = 8; brickWidth = 11; brickHeight = 3; platformFlat = "flat"; createFlatPlatform = (platformFlat=="flat") ? true : false; testStuds = "no"; createTestStuds = (testStuds=="yes") ? true : false; magnetHole = "no"; createMagnetHole = (magnetHole=="yes") ? true : false; frontText = "NAME"; frontTextScale ...
glb/cad_16cc4ef254a6.glb
Create a 2020 Aluminum Profile Filament Guide consisting of a mounting base and a guiding ring. Start with a rectangular mounting base 20mm wide, 40mm long, and 4mm thick. Center a 3.4mm diameter hole through this base. On the side of the base, attach a structural arm that transitions from the 20mm width of the base to...
include <2020SlotMount.scad>; $fn=256; extrusion_height=20; extrusion_thickness=4; mount_length=40; slot_mount_length=10; arm_length=30; fudge=0.01; tolerance=-0.5; hole=3.4; difference() { union() { arm_assembly(); base(); } translate([-5,-arm_length,-fudge]) color("red") cube([5,arm_length,mount_length+...
glb/cad_a861d00f9e21.glb
Create a dust cover for a stereo microscope. Start by constructing a solid base using a convex hull that connects two cylinders with a diameter of 38mm and a height of 23mm, positioned at x=20 and x=-20 (both at y=20, z=0), and a third cylinder with a diameter of 23mm and a height of 23mm centered at the origin. With...
$fn=90; difference() { union() { hull() { translate([-20,20,23]) cylinder(d=38,h=12); translate([20,20,23]) cylinder(d=38,h=12); translate([0,0,23]) cylinder(d=23,h=12); } hull() { translate([0,37,23]) cylinder(d=3,h=12); translate([0,42,27]) cylinder(d=7,h=3); } } un...
glb/cad_658995f864d6.glb
Create a dust cover for a stereo microscope by constructing a solid base and removing three cylindrical voids. First, create the main body by forming a convex hull around three cylinders, each 25mm high. Position two cylinders with a 35mm diameter at coordinates (-20, 20) and (20, 20), and a third cylinder with a 21mm ...
$fn=90; difference() { union() { hull() { translate([-20,20,0]) cylinder(d=35,h=25); translate([20,20,0]) cylinder(d=35,h=25); translate([0,0,0]) cylinder(d=21,h=25); } hull() { translate([-20,20,0]) cylinder(d=38,h=23); translate([20,20,0]) cylinder(d=38,h=23); tra...
glb/cad_485d56364486.glb
Create a dust cover for a stereo microscope by constructing a hollow cylindrical container. Start with a main outer cylinder that has a diameter of 40mm and a height of 27mm, ensuring the edges are rounded with a 1mm radius. Hollow out the center by removing a cylinder with a diameter of 38mm and a height of 27mm. To c...
$fn=90; difference() { union() { minkowski() { cylinder(h=25,d=38); sphere(1); } } union() { cylinder(h=27,d=38); translate([0,0,25]) cylinder(h=1,d=44); } }
glb/cad_3c76e2613147.glb
Create a grommet for an actuator consisting of a hollow cylindrical body with a consistent wall thickness of 1mm. Start with a base cylinder that has an outer diameter of 20mm and a height of 20mm. Above this base, create a flexible section with a total height of 50mm. This section is composed of five repeating segme...
$fn=60; actuator_diameter=20; non_flex_height=20; flex_height=50; flex_diameter=25; element_height=10; rod_length=20; rod_diameter=10; material_thickness=1; xray=false; difference() { union() { difference() { union() { cylinder(d=actuator_diameter,h=non_flex_height+.2); } union() { translate([0,0,...
glb/cad_9b28adcad770.glb
Create an Optical Encoder consisting of a slotted wheel and a housing. First, construct the wheel: create a thin circular disc with a diameter of 44mm and a thickness of 1mm. At the center, add a vertical cylindrical axle with a diameter of 6.2mm and a height of 30mm. Around the perimeter of the disc, positioned 3.4m...
$fn=180; difference() { union() { cylinder(d=44,h=1); cylinder(d=6.2,h=30); cylinder(d=10,h=3.5); for (d=[0:20:359]) { translate([sin(d)*21,cos(d)*21,3.4]) rotate([0,0,360-d]) cube([3.5,1.5,5.5],center=true); } } union() { translate([0,0,-1]) cylinder(d=2,h=32); } } difference() { u...
glb/cad_016fd8ef247e.glb
Create an optical encoder housing. Start with a main cylindrical body 51mm in diameter and 12mm high. Centered within this cylinder, remove a smaller concentric cylinder 47mm in diameter and 10mm high, starting 3mm from the base, to create a ring. At the center of the base, create a circular hole 13mm in diameter and 1...
$fn=180; difference() { union() { translate([-50,0,0]) cylinder(d=51,h=12); translate([-80,-10,0]) cube([14,20,10.6]); translate([-72.5,-22.5]) cube([45,45,12]); } union() { translate([-50,0,3]) cylinder(d=47,h=10); translate([-50,0,0.2]) cylinder(d=13,h=10); ...
glb/cad_afac31b85de3.glb
Create an optical encoder base consisting of a wide circular disk with a smaller raised cylinder at its center. Start by creating a flat circular base with a diameter of 12mm and a height of 1mm. Centered on top of this base, add a second cylinder with a diameter of 6.2mm and a height of 3.5mm. Finally, bore a vertical...
$fn=180; difference() { union() { translate([0,30,0]) cylinder(d=6.2,h=3.5); translate([0,30,0]) cylinder(d=12,h=1); } translate([0,30,-1]) cylinder(d=2,h=32); }
glb/cad_e2693be14c71.glb
Create an Optical Encoder housing consisting of a base and a lid. For the base, create a main cylindrical body with a diameter of 51mm and a height of 4mm, topped by a second concentric cylinder with a diameter of 46.7mm and a height of 5mm. Attach a 45mm by 45mm square block with a height of 4mm to the side of the cyl...
$fn=180; difference() { union() { translate([50,0,0]) { cylinder(d=51,h=4); cylinder(d=46.7,h=5); } translate([27.5,-22.5]) cube([45,45,4]); } union() { translate([22.5,-10,-1]) cube([20,20,2]); translate([50,0,-1]) cylinder(d=8,h=12); translate([50,0,2])...
glb/cad_839e8cd2f02f.glb
Create an optical encoder wheel by starting with a thin circular base 44mm in diameter and 1mm thick. At the center of this base, add a vertical cylindrical shaft 6.2mm in diameter and 30mm high. At the bottom of this shaft, create a wider cylindrical collar 10mm in diameter and 3.5mm high. Around the perimeter of th...
$fn=180; difference() { union() { cylinder(d=44,h=1); cylinder(d=6.2,h=30); cylinder(d=10,h=3.5); for (d=[0:20:359]) { translate([sin(d)*21,cos(d)*21,3.4]) rotate([0,0,360-d]) cube([3.5,1.5,5.5],center=true); } } union() { translate([0,0,-1]) cylinder(d=2,h=32); } }
glb/cad_42e0312ba24c.glb
Create a GoPro to universal wireless car mount adapter. Start by constructing a main rectangular base measuring 45mm in length, 33mm in width, and 6mm in height. Round the corners of this base with a 5mm radius. In the center of the base, create a guide slot that is 4.3mm wide and 2.6mm high. On the top surface of the...
include <../libs/hardware.scad>; triplea = 0; cslotw = 4.3; csloth = 2.6; mountl = 45; mountw = 33; mounth = 6; latchl = 25.6; latchc = 21.5; latchw = 28.3; latchh = 4.4; cradius=5; $fn=36; latchs = (mountw-latchw)/2; latchcs = (mountw-latchc)/2; springd = latchl*.8; springw = latchs+2; sfudge = .2; module corner(w...
glb/cad_4ea15584968c.glb
Create a toilet seat buffer consisting of a main body and two protruding legs. The main body is formed by the hull of two rounded rectangular slabs: a bottom slab measuring 52.72mm by 22.18mm with a height of 0.1mm, and a top slab positioned 12mm above it measuring 44.27mm by 10.52mm with a height of 0.1mm. Add two i...
len_down=52.72; dep_down=22.18; len_up=44.27; dep_up=10.52; hei_leg=8; dia_leg=5.29; len_leg=48.22; height=12; offcenter_leg=(len_leg/2-dia_leg/2); $fn = 50; union(){ hull(){ translate([0, 0, height]) rounded_corners(len_up, dep_up); rounded_corners(len_down, dep_down); } rotate([180,0,0]) ...
glb/cad_0de382f3d010.glb
Create a Red Cathedral board game organizer insert by starting with a base rounded rectangular block measuring 170mm in length, 31.2mm in width, and 34mm in height. From this main volume, remove a large rectangular section measuring 170mm by 33.2mm by 34mm, positioned at X=54.2, Y=-1, and Z=15, to create the primary ...
$fn=100; difference(){ roundedCube(170,31.2,34); translate([54.2,-1,15]) cube([170,33.2,34]); translate([50.2,27.2,15]) rotate([0,0,0]) linear_extrude(200) difference(){square(4);circle(4);} translate([50.2,4,15]) mirror([0,1,0]) rotate([0,0,0]) linear_extrude(200) difference(){square(4);circle(4);} translate([2....
glb/cad_584b0fc8ddec.glb
Create a rectangular tray for a board game organizer. Start with a solid rounded cube measuring 104mm in width, 78.8mm in depth, and 21mm in height, using a corner radius of 3mm. Hollow out the center of this shape by removing a smaller rounded cube from the top, leaving a wall thickness of 2.4mm on the sides and a bas...
$fn=100; difference(){ roundedCube(104,78.8,21); translate([2.4,2.4,1]) roundedCube(99.2,74,34); } module roundedCube(x,y,z) { r=3; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } }
glb/cad_8e2185babfff.glb
Create a rectangular tray for a board game organizer with overall exterior dimensions of 42.25mm in width, 141.2mm in length, and 14mm in height. The exterior corners of the tray should be rounded with a radius of 3mm. Hollow out the center of the tray to create a storage compartment that is 38.25mm wide, 121.2mm lon...
$fn=100; difference(){ roundedCube(42.25,141.2,14); translate([2,2,1]) roundedCube(38.25,121.2,30); translate([21.125,141.2,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=false); } module roundedCube(x,y,z) { r=3; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } }
glb/cad_561eadc4f549.glb
Create a rectangular organizer tray with rounded corners, measuring 115.3mm in length, 31.2mm in width, and 19mm in height. The corners should have a radius of 3mm. Inside this volume, carve out a central rectangular channel measuring 95mm by 16.5mm and 30mm deep, positioned 10.15mm from the front edge and 7.35mm fro...
$fn=200; difference(){ roundedCube(115.3,31.2,19); translate([10.15,7.35,1]) cube([95,16.5,30]); translate([10.15,15.6,1]) cylinder(h=50, d=16.5, center=false); translate([105.15,15.6,1]) cylinder(h=50, d=16.5, center=false); translate([57.65,35,80]) rotate([90,0,0]) cylinder(h=50, d=150, center=false); translat...
glb/cad_e17fdbdad0f2.glb
Create a rectangular organizer tray for a board game insert with overall dimensions of 78.8mm in width, 66mm in depth, and 48mm in height. The outer corners of the base should be rounded with a 3mm radius. Carve out six vertical slots from the top face, each 74mm deep. These slots are defined by polygons with a base w...
$fn=100; difference(){ roundedCube(78.8,66,48); translate([1.2,0,0]){ translate([1.2,1.5,1]) rotate([90,0,90]) linear_extrude(height=74) polygon(points=[[0,0],[5,0],[15,62],[10,62]]); translate([1.2,8,1]) rotate([90,0,90]) linear_extrude(height=74) polygon(points=[[0,0],[5,0],[15,62],[10,62]]); translate([1.2,14.5...
glb/cad_1e6bc1bfd3c2.glb
Create a rectangular organizer tray with overall dimensions of 104mm in length, 78.8mm in width, and 16mm in height. Hollow out the interior to create several specific storage compartments. First, carve out a rectangular slot for contract cards measuring 48mm by 74mm, positioned 1.2mm from the side and 2.4mm from the f...
$fn=100; difference(){ cube([104,78.8,16]); translate([1.2,2.4,1]) cube([48,74,40]); translate([25.2,0,-1]) cylinder(h=400, d=30, center=false); translate([57.4,8.2,8]) minkowski(){ cube([14.2,62.4,23]); sphere(r=7); } translate([59.6,8.2,8]) minkowski(){ cube([36.2,5.35,23]); sphere(r=7); } translate([92,34.15,...
glb/cad_d791d9550200.glb
Create a Red Cathedral board game organizer insert by starting with a main outer block measuring 220mm x 170mm x 6mm with rounded corners. Within this block, carve out six rectangular card slots arranged in two rows of three. Each slot should measure 49mm x 73mm x 40mm. Position the bottom row starting at x=1.2mm, y=...
$fn=100; difference(){ roundedCube(220,170,6); translate([9.1,0,-0.5]){ for(i = [0:3]){ translate([(i*50.2)+1.2,2,2]) cube([49,73,40]); translate([(i*50.2)+25.7,0,-1]) cylinder(h=400, d=30, center=false); translate([(i*50.2)+9.7,22,-1]) roundedCube(32,45,10); translate([(i*50.2)+6.9,15,2.5]) rotate([90,0,0]) lin...
glb/cad_0f5c99c2889d.glb
Create a handle knob for an M4 nut. Start with a central cylinder that has a diameter of 10.2mm and a height of 12mm. Around this central shaft, add four equidistant lobes. Each lobe is formed by the convex hull of a 10.2mm diameter cylinder (with a height of 10mm) and a sphere with a diameter of 7mm. Position the cent...
include <NopSCADlib/global_defs.scad> use <NopSCADlib/utils/hanging_hole.scad> knobh = 12; nknob = 4; gripd = 20; griph = 10; npknob = 0; pknob = 1.5; lobed = 7; bolt_head_cushion = 6; m5d = 4.0; m5head = 7.8; $fn = 36; md = m5head+(1.2*2); difference() { union() { cylinder(d=md,h=knobh); ...
glb/cad_303093fc5bb3.glb
Create a Food Allergy & Diet Safety Modular Sign Label consisting of a rectangular base plate and two raised side rails. Start by creating a base plate that is 60mm wide, 10mm high, and 1.75mm thick. On the top surface of this plate, add two vertical side bars, each 1.5mm wide and 10mm high, with a thickness of 0.75mm....
text_1 = "EDITABLE"; Width = 60; Height = 10; DepthLow = 1.75; DepthHigh = 0.75; BarWidth = 1.5; TextX = Width / 2; TextY = Height / 2; TextSize = 5; difference(){ union(){ cube([Width,Height,DepthLow]); translate([0,0,DepthLow]) cube([BarWidth,Height,DepthHigh]); translate([Wid...
glb/cad_5ac5c22f05b0.glb
Create a storage box and a matching lid. The box is constructed from planks with a width of 4mm and a thickness of 2mm. For the box, create a floor consisting of 4 planks, each 40mm long and 2mm thick, spaced with 4mm gaps between them. Build two side walls by placing 4 planks on each side; these planks should be 40m...
Plank_width = 4; Plank_high = 2; Gap_width_g = 4; Gap_width_h = 4; Case_length = 40; Case_high_count = 4; Case_width_count = 4; Uprights = 1; What = 1; eps = 1/100; Roof_gap = 0.5 * 1; Case_high = Case_high_count * Plank_width + (Case_high_count - 1) * Gap_width_h; Case_width = Case_width_count * Plank_width ...
glb/cad_7a3a3fc63f46.glb
Create a Camera Stand Interface Extender consisting of a central cylindrical body and a wider base. Start by creating a main cylinder with a diameter of 24.5mm and a height of 18mm, centered on the origin. Add a wider, thin disc at the bottom with a diameter of 30mm and a height of 2mm, centered on the origin. On top o...
$fn = 60; diamet0 = 30.00; diamet1 = 24.50; diamet2 = 22.50; diamet3 = 4.50; height1 = 18.00; height2 = 2.00; Interface(); module Interface() { difference() { union() { cylinder(h=height1,d=diamet1,center=true); translate([0,0,height1 *0.55]) cylinder(h=height2,d1=...
glb/cad_ddfd10dd3cbe.glb
Create a Camera Stand Interface Extender consisting of a central hollow tube and a supporting base. Start by creating a main vertical cylinder with an outer diameter of 30mm and an inner diameter of 22mm, extending 250mm in height. At the bottom of this tube, add a solid cylindrical base with a diameter of 25mm and a h...
$fn = 75; difference() { union() { color("RED") for (i = [ 0 : 90 : 345 ]) { rotate([0,0,i]) translate([9.5,9.5,20]) rotate([0,0,45]) cylinder(h=55,d=4, center=true); } } translate([...
glb/cad_0d93e8af9645.glb
Create a Camera Stand Interface Extender consisting of a base plate and a series of articulating joints. Start with a rectangular base plate measuring 49.5mm by 35mm with a thickness of 3mm. Place four mounting holes at the corners of this plate, each with a diameter of 3mm and a depth of 5mm. Attached to the base pla...
$fn = 50; VonOhrZuOhr = 84; Ohrenhoehe = 22; Ohrenbreite = 28; OhrenBohrW = 27; OhrenBohrH = 4; Oben_bis_Unten = 32.0; IR_Dia1 = 22.0; IR_Dia2 = 25.0; IR_Dia3 = 18.0; IR_Rahmen = (IR_Dia2 - IR_Dia1) / 2; IR_Sen_Dia ...
glb/cad_3daaf563f80a.glb
Create a parametric cable chain element consisting of two mirrored halves joined at the center. Each half is based on a primary form 40mm long, 24mm wide, and 14mm high. The main body of each half is a hull created between two cylinders of 12mm radius (one at the start and one 26mm along the length). From this form, ...
chain_element_width = 24; chain_element_height = 14; chain_element_length = 40; chain_element_angle = 60; chain_element_open_angle = 0; tolerance = 0.15; $fn = 128; e = 0.01; side_width = 2; top_bottom_thicknes = 1.5; cut_width = 1; nob_big_radius = 3; nob_small_radius = 1; nob_height = 2; inner_height = chain_el...
glb/cad_689301dc8b53.glb
Create a safety corner protector for a table with a thickness of 32mm. The main body is a rounded cube with a width and depth of 25mm and a total height of 34mm. The outer corner is a smooth, rounded quarter-sphere with a radius of 34mm. The interior of the protector must be hollowed out to accommodate the table corne...
tableThickness = 32; cornertype=3; cornerWidth = 25; cornerTopThickness = 0; cornerBottomThickness = 2; cornerThickness = tableThickness + cornerTopThickness + cornerBottomThickness; cornerAngleThickness = sqrt(((cornerThickness/2)*(cornerThickness/2))); minkowskiFactor = 1; cutInsert ...
glb/cad_85e8c4da85c1.glb
Create a coin-shaped token by starting with a smooth cylinder that has a diameter of 30.3mm and a height of 3mm. Carve a shallow, concentric cylindrical depression into the top face of this token, leaving a rim around the edge; this cutout should have a diameter of 26.8mm and a depth of 0.6mm. Finally, emboss a capital...
d = 30.3; c = 255; outerCoin_height = 3; outerCoin_radius = d/2; innerCutout_height = .6; innerCutout_radius = (d-(2*1.75))/2; difference() { difference() { cylinder(h = outerCoin_height, r = outerCoin_radius, $fn = c); translate([0,0,outerCoin_height - innerCutout_height]) cylinder(h = innerCutout_heig...
glb/cad_b944de03fdf2.glb
Create an organizer for screen tape boxes consisting of three parallel vertical walls connected by two end panels. Each of the three main walls should be 137mm wide, 150mm tall, and 2mm thick. Position these walls so there is a gap of 77mm between them, creating two bays that can each hold a box of 75mm by 135mm. The w...
box_width=75; box_length=135; nrows=3; ncols=1; side_length=box_length+2; side_dist=box_width+2; side_height=150; side_depth=2; hole_d=12; distf=2; w_hex=sqrt(3)*hole_d; h_hex=2*hole_d; difference(){ for (i = [0:nrows]){ translate([0,i*(side_dist+side_depth),0]){ cube([(side_length+side_depth)*ncols,side_depth,sid...
glb/cad_ac5f5bc38f71.glb
Create an automatic fish feeder housing consisting of several interlocking components. The overall footprint for the main sections is 38mm by 35mm with a wall thickness of 3mm. Construct a bottom base with a rounded rectangular profile. In this base, create a central rectangular cutout measuring 22.7mm by 11.7mm to ac...
$fn=64; x=38; y=35; wall=3; servoX=22.7; servoY=11.7; glassW=3.1; glassGap = 3; gapX1 = 5; gapX2 = 14; partMid=false; partBottom=false; partTop=false; partSlider=false; partUnder=false; partMid=true; partBottom=true; partTop=true; partSlider=true; partUnder=true; d1X=25.9; d1Y=1.9; d1Z=5; screwD1=3.1; screwD2=...
glb/cad_a367dba71e1e.glb
Create a Pimoroni Pico GFX Pack enclosure consisting of a main case body and a removable back panel. For the main case, create a hull based on four cylinders with a radius of 4.5mm positioned at (0,0), (0,52.5), (56.5,52.5), and (56.5,0), with a total height of 24mm. Hollow out the center using a similar hull of cyli...
$fn=60; height=24; post_height = 6; x1 = 0; y1 = 0; x2 = 0; y2 = 52.5; x3 = 56.5; y3 = 52.5; x4 = 56.5; y4 = 0; wx = 3; wy = 17; wh = 27; ww = 51; usbx= 57; usby = 30; usbz = 15; module case_front() { difference() { hull() { translate([x1,y1,0]) cylinder(r=4.5,h=height); tran...
glb/cad_bbcfc8c7b080.glb
Create a rectangular organizer tray with rounded corners and a total outer dimension of 67.8mm in width, 101mm in length, and 18.5mm in height. The walls and base should have a thickness of 5mm. Inside this main body, carve out two separate rectangular compartments. The first compartment, intended for yin yang tokens,...
$fn=100; difference(){ roundedCube(67.8,101,18.5); translate([7.4,7.4,6]) minkowski(){ cube([53,41.65,11]); sphere(r=5); } translate([7.4,61.45,6]) minkowski(){ cube([53,32.15,11]); sphere(r=5); } } module roundedCube(x,y,z) { r=5; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } }
glb/cad_e4b8fedf3ffd.glb
Create a Wingspan Nesting Box Insert organizer by starting with a base rectangular block measuring 184.2mm in width, 106.8mm in depth, and 20mm in height, with all exterior corners rounded by a 5mm radius. Carve out two large rectangular trays for Duet player tokens, each measuring 68.8mm by 102mm with a depth of 30m...
$fn=100; difference(){ roundedCube(184.2,106.8,20); translate([2.4,2.4,1]) roundedCube(68.8,102,30); translate([113,2.4,1]) roundedCube(68.8,102,30); translate([80.75,22.9,1]) cube([28.5,28.5,30]); translate([111,37.15,1]) rotate([0,0,0]) cylinder(h=400, d=20, center=false); translate([80.75,55.4,1]) cube([28.5,2...
glb/cad_94a8274de919.glb
Create a Wingspan Nesting Box Insert component consisting of a rectangular base and a vertical back wall. Start by creating a solid rectangular base measuring 210mm in length, 40mm in width, and 5mm in height. Attached to this base, construct a vertical wall that is 35mm high and 15mm wide, extending along the length...
$fn=100; translate([0,0,5]) rotate([-12,0,0]) difference(){ cube([210,15,35]); translate([-1,3,2]) cube([250,7,53]); translate([-1,-1,5]) cube([250,5,53]); translate([202,60,27]) rotate([90,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate([8,60,27]) mirror([1,0,0]) rotate([90,0,0]) linear_ext...
glb/cad_7756bc513bec.glb
Create a rectangular box with external dimensions of 118mm in width, 84.9mm in depth, and 49mm in height. The box should have rounded exterior corners with a radius of 5mm. Hollow out the center of the box to create a storage compartment. The interior cavity should be positioned 11mm from the bottom and 12.4mm from b...
$fn=100; difference(){ roundedCube(118,84.9,49); translate([12.4,12.4,11]) minkowski(){ cube([93.2,60.1,50]); sphere(r=10); } } module roundedCube(x,y,z) { r=5; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } }
glb/cad_104e2c243ec0.glb
Create a flat rectangular plate with dimensions 98.8mm in length, 59mm in width, and 2.75mm in height. From this base, remove a large semi-circular cutout from the center of the long edge, centered at x=49.4mm and y=59mm, with a radius of 27.5mm. Additionally, remove four small square columns, each measuring 3mm by 3...
$fn=100; difference(){ cube([98.8,59,2.75]); cube([3,39,10]); translate([95.8,0,0]) cube([3,39,10]); translate([49.4,59,-1]) rotate([0,0,0]) cylinder(h=400, r=27.5, center=false); translate([15,51,-1]) rotate([0,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate([90.8,51,-1]) rotate([0,0,0]) ...
glb/cad_d656df8b51b6.glb
Create a rectangular tray with rounded corners and a hollowed-out center. The outer dimensions of the tray are 78.75mm in width, 84.9mm in depth, and 30mm in height. The corners of the outer shell should have a radius of 5mm. Inside this shell, create a void to form the storage compartment. This interior opening is ce...
$fn=100; difference(){ roundedCube(78.75,84.9,30); translate([12.4,12.4,11]) minkowski(){ cube([53.95,60.1,23]); sphere(r=10); } } module roundedCube(x,y,z) { r=5; translate([r,r,0]) minkowski() { cube([x-(2*r), y-(2*r), z-r]); cylinder(r,r,r); } }
glb/cad_f40f281fa5f8.glb
Create a Wingspan Nesting Box Insert tray by starting with a rounded rectangular base measuring 184.2mm by 106.8mm with a height of 7mm and corner radii of 5mm. Subtract the following cylindrical voids from this base: 1. A large circular hole with a diameter of 102mm, centered at (53.4, 53.4), starting from a height ...
$fn=100; difference(){ roundedCube(184.2,106.8,7); translate([53.4,53.4,4.5]) rotate([0,0,0]) cylinder(h=400, d=102, center=false); translate([53.4,53.4,1]) rotate([0,0,0]) cylinder(h=400, d=90, center=false); translate([146.3,53.4,1]) rotate([0,0,0]) cylinder(h=400, d=71, center=false); translate([108,35,1]) rota...
glb/cad_442a40b1b44b.glb
Create a rectangular organizer tray with rounded corners. The overall outer dimensions are 47.3mm in width, 84.9mm in length, and 19mm in height. The tray is hollowed out from the top. Create a central rectangular cavity that is 42.5mm wide and 80.1mm long, starting from a base thickness of 1mm. The corners of this i...
$fn=100; difference(){ roundedCube(47.3,84.9,19); translate([2.4,2.4,1]) roundedCube(42.5,80.1,30); translate([23.65,84.9,-1]) rotate([0,0,0]) cylinder(h=75, d=30, center=false); } difference(){ translate([23.65,84.9,0]) rotate([0,0,0]) cylinder(h=19, d=34.8, center=false); translate([23.65,84.9,0]) rotate([0,0,0...
glb/cad_655c827c6985.glb
Create a Wingspan Nesting Box Insert organizer by starting with a base rectangular block measuring 184.2mm in width, 106.8mm in depth, and 22mm in height, with all exterior corners rounded by a 5mm radius. Carve three identical dice channels into the left side of the block. Each channel is a rectangular cutout measuri...
$fn=100; difference(){ roundedCube(184.2,106.8,22); for(i = [0:2]){ translate([(i*25)+5,2.4,1]) cube([22,102,30]); translate([(i*25)+16,120,16]) rotate([90,0,0]) cylinder(h=400, d=18, center=false); translate([(i*25)+7,-1,16]) cube([18,110,30]); } translate([20,53.4,82]) rotate([0,90,0]) cylinder(h=40, d=150, cent...
glb/cad_a6e0a5cf87ed.glb
Create a D-SUB 15 connector shell housing with a total height of 12.5mm. The main body is a hollowed-out rectangular enclosure designed to fit a connector with a front width of 25.3mm. The front of the shell features a retainer clip area 25.3mm wide and 3mm deep. The side walls extend outwards to a total width of 27....
D = 25.3; NUT = 7; cable_hole = true; flat_cable = false; WD = 8; FC = 24; N = WD/2; T = 19; Y = 8; wire_dia = WD; grip = true; C = D + 2.4; B = D + 8.0; A = D + 14.0; E = D + 1.0; F = D - 8.0; G = 9; H = 12.5; eps=1e-3; mink=1.25; module inner() { linear_extrude(height=H/2+eps) { polygon( ...
glb/cad_76422b132f44.glb
Create a D-Sub connector shell housing for a 23-pin connector. The main body is a hollow rectangular enclosure with a total height of 12.5mm. The front opening is designed to fit a connector with a width of 35.8mm. The shell's outer width is 36.8mm and its outer length is 43.8mm. The rear section of the shell extends ...
D = 35.8; T = 19; Y = 10; wire_dia = 8; grip = true; C = D + 2.4; B = D + 8.0; A = D + 14.0; E = D + 1.0; F = D - 8.0; G = 9; H = 12.5; eps=1e-3; mink=1.25; module inner() { linear_extrude(height=H/2+eps) { polygon( points=[ [0,0], [C/2,0], [C/2, 4.5], [E/2-...
glb/cad_b2a75505712f.glb
Create a parametric pipe plug designed for a 15mm copper pipe. Start by creating a main outer cylinder with a radius of 9.2mm and a total height of 15mm. From this main body, remove a central cylindrical core with a radius of 6.001mm that extends from the base up to a height of 13mm. Above this inner core, create a tap...
wall_thickness=1.2; cap_thickness=1.2; inner_rad=6.001; outer_rad=8.0; length=15.0; chamfer=2; rotate_extrude($fn=36) polygon([ [outer_rad+wall_thickness,length+cap_thickness], [outer_rad,length], [outer_rad,cap_thickness], [inner_rad,cap_thickness], ...
glb/cad_b87bc9997083.glb
Create a magnetic PCB holder cap. The object is a cylindrical cap with a total height of 3.8mm. The main body is a cylinder with a diameter of 15mm. The top of this cylinder tapers inward over a height of 2.33mm to a diameter of 13.44mm. Centrally bore a hole through the entire height of the cap to accommodate a count...
layer_height = 0.2; $fa=1; $fs=layer_height; show_mainBody = false; show_piston = false; show_cap = true; pc_bite(); module pc_bite( magnet = [1.6, 16], fastener = [ 3, 12], spring = [ 12, 9.8, 31, 10 ], wall = 2, clearance = layer_height ) { d = [ 20, 15...
glb/cad_bd7d92664892.glb
Create a dust cover for a 50A Anderson Plug. Start with a base plate that is 39mm wide, 20mm deep, and 6mm high, featuring rounded corners with a 2mm radius. From this base, extend a back wall 15mm high and 1mm thick along the rear and sides. In the center of the base, add a rectangular interior compartment 15mm wide a...
$fn=100; minkowski(){ cube([35,16,2]); sphere(2); } translate([0,0,4])cube([1.5,8,15]); translate([33.5,0,4])cube([1.5,8,15]); translate([0,0,4])cube([35,1,15]); translate([14.5,0,4])cube([6,5,15]); translate([3.5,10.5,3])minkowski(){ cube([8,2.5,14]); sphere(2); } translate([23.5,10.5,3])minkowski...
glb/cad_dfcacd4732a9.glb
Create a Yeti 330ml Can Spacer by constructing a hollow cylindrical ring with an outer diameter of 66mm and a height of 14mm. The walls of this ring should have a thickness of 4mm. To ensure the spacer remains centered, add four identical support arms extending radially from the bottom of the outer wall toward the cent...
$fn = 100; rotate_extrude(convexity = 10) translate([21,2,])minkowski(){ circle(2); square([2,12]);} intersection(){ union(){ hull(){ translate([22,-2.5,0])cube([11.5,5,3]); translate([24.5,0,13])sphere(1);} hull(){ translate([-32.5,-2.5,0])cube([11.5,5,3]); translate([-24.5,0,13])sphere(1);} hull(){ transl...
glb/cad_1a6a1ab920a6.glb
Create a Dometic M55L LCD Monitor Mount consisting of three main components: a base plate, a bracket, and a sliding adjustment piece. First, create the base plate as a flat cylinder with a diameter of 120mm and a height of 5mm. Cut a central rectangular slot through the plate that is 120mm wide and 40mm deep to allow ...
$fn=150; CDWidth = 120; CDHeight = 5; CDDepth = 40; module plate(){ difference(){ cylinder(d=CDWidth, h=CDHeight); translate([-CDWidth/2-1,-CDWidth,-1])cube([CDWidth+2,CDWidth,CDHeight+2]); translate([-CDWidth/2-1,CDDepth,-1])cube([CDWidth+2,CDWidth,CDHeight+2]); } translate([-CDWidth/2,-5,0])cube([CDWidth...
glb/cad_11fc553da2fc.glb
Create an Einsy enclosure for a Banana Pi M2 Zero Plus. Construct a main rectangular body with a base measuring 118.5mm by 92mm and a height of 35mm. The enclosure must feature a modified internal mounting structure where the standoffs for the board are extended by 2mm to accommodate a heatsink and a WiFi connector. I...
module CubicPattern(Xdim, Ydim) { for (x =[0:12:Xdim-10]) { for (y =[0:12:Ydim-10]) { translate([x,y,-0.2])cube([10,10,0.4]); } } } module BottomCubic() { difference() { translate([5,5,0]) CubicPattern(110,90); translat...
glb/cad_8c6e4d39572b.glb
Create a cover for a Banana Pi M2 Zero Plus enclosure. The main body is a rectangular plate 72mm long, 38mm wide, and 3mm thick, with rounded corners (radius 5.5mm). On top of this base, center a second rectangular plateau 68mm long and 33mm wide, with a thickness of 2mm and rounded corners (radius 3.5mm). Add four cy...
$fn=64; Clearance=0.1; cover(); module modifer() { translate([0,0,0.5]) difference() { cube([64,29,1],center=true); translate([0,0,-0.5-Clearance]) posts(Radius=5,Length=68,Width=33,Height=1+2*Clearance); } } module cover() { difference() { union() { difference() { hull() po...
glb/cad_500ec08384eb.glb
Create a mounting bracket and cover for a Banana Pi M2 Zero Plus. Start with a base bracket that features a central rectangular cutout. The main body of the bracket is a flat plate with a thickness of 3.75mm. At the four corners of the bracket, create cylindrical mounting posts with a radius of 3mm and a height of 3....
$fn=64; Clearance=0.1; bracket(); module bracket(EinsyPinSize=2.1) { difference() { union() { difference() { union() { posts(Radius=3,Length=64,Width=29,Height=3.75); hull() posts(Radius=3,Length=64,Width=29,Height=1.6); } union() { ...
glb/cad_cb2d27567c93.glb
Create a solar garden light base consisting of a wide circular plate and a central cylindrical socket. Start with a circular base plate 30.5mm in diameter and 2mm thick. Centered on this plate, add a hollow cylinder with an outer diameter of 30.5mm and a total height of 21mm. The walls of this cylinder should be 2mm th...
use <af-basics.scad> *halter(27.8, 21, 2, 2, 35, 5, 15, 11, $fn = 48); *halter(28.1, 21, 2, 2, 35, 5.5, 15, $fn = 48); halter(30.5, 21, 2, 2, 35, 5.5, 15, cham = 2, $fn = 48); module halter(diameter, height, base_thickness, wall_thickness, base_diameter = 0, screw_diameter = 0, screw_height, screwhead_diameter = 0, c...
glb/cad_875007a83d26.glb
Create a 3D model of the E3D Buggy for a wooden railway. Start by creating a central horizontal cylinder with a length of 15mm, a radius of 2mm, and a height of 2.25mm, rotated 90 degrees along the X-axis. At one end of this cylinder, centered at x = -7.5, add a sphere with a radius of 2mm. At the opposite end, centere...
$fn=50; module sphere(r=-1, d=-1) { rad = r > 0 ? r : d > 0 ? d/2 : 1; fn = $fn ? $fn : max(360/$fa, 2*PI*rad/$fs); log2 = log(2.0); logfn = log(fn); minpoly = fn < 6 ? 3 : 4; maxpoly = fn > 6 ? 7 : 6; pn = [ for(i=[minpoly:maxpoly]) (logfn-log(i))/log2 ]; dpn = [ for(i=[0:len(pn)-1]) eac...
glb/cad_e6602706d481.glb
Create a lasercut base for electronics and a PSU. Start with a central rectangular block measuring 50mm x 50mm x 6mm. At the positions [19, 0, -3] and [-19, 0, -3], remove two cylinders with a radius of 1.5mm and a height of 6mm. Additionally, remove two cylinders with a radius of 3mm and a height of 3mm at [19, 0, 0] ...
$fa = 1; $fs = 0.4; difference() { union() { difference() { cube(center = true, size = [50, 50, 6]); translate(v = [19, 0, -3.0010000000]) { cylinder(h = 6.0020000000, r = 1.5000000000); } translate(v = [-19, 0, -3.0010000000]) { cylinder(h = 6.0020000000, r = 1.5000000000); } translate(v ...
glb/cad_a0ced0bbeb52.glb
Create a wall mount for a battery charger. Start by constructing a main body consisting of two joined rectangular sections: a back plate measuring 125mm wide by 7mm thick by 90mm high, and a front section measuring 118mm wide by 53mm thick by 90mm high, positioned so the back plate is flush against the rear of the fron...
FN = 90; Delta = .11; CLR_Delta = .25; hld_W = 125; hld_H = 90; hld_THK1 = 7; hld_THK2 = 4; hld_THK3 = 5.5/2; chg_H = 90; chg_W = 89.5; chg_D = 49; chg_OS1 = 3; chg_OS2 = (hld_W-chg_W)/2; cord_W = 15; cord_D = 35+hld_THK2; cord_OS1 = -cord_W/2 +(hld_W-chg_W)/2+62; Screw_D = 4.5; Screw_HD_D = 10; Screw_HD_THK = 4; ...
glb/cad_937219991886.glb
Create a Hex Screwdriver Holder. Start with a main rectangular body 122mm wide, 32mm deep, and 32mm high, with all corners rounded by a 1mm radius. Attach a flat mounting tab to the back that is 120mm wide, 22mm high, and 1.6mm thick, extending upwards from the back face. On the top surface, create four equidistant ve...
$fn = 60; difference() { union() { minkowski() { sphere(1); cube([120, 30, 30]); } translate([1, 31, 30]) rotate([90, 0, 0]) linear_extrude(1.6) minkowski() { circle(1); square([118, 20]); } } for(a...
glb/cad_5b30c9440f93.glb
Create a backlit house address number set consisting of a base frame and translucent number inserts. For the base, create a rectangular plate 208mm wide by 240mm high with a thickness of 2mm. Incorporate a rail along the edges that is 12mm wide to allow for frame mounting. The base should feature a chevron-style cuto...
part = "Preview"; width = 208; height = 240; chevronScale = 0.3; thickness = 2; overhang=10; railSize=12; screwSize=3.2; horizontalFormat=false; font = "Plus Jakarta Sans:style=Bold"; numberScale = 0.65; numberOffset = 0; numberHorizOffset = 0; text = "0"; tolerance = -0.1; numberWallThickness = 0.5; nu...
glb/cad_e31d44ecd8e5.glb
Create a Soldering Iron Stand Adapter consisting of a tapered hollow cylinder and a circular base. Start by creating a main outer body as a frustum with a bottom diameter of 41mm, a top diameter of 40mm, and a height of 15mm. On top of this, add a second, taller tapered section with a bottom diameter of 24mm and a top ...
$fn = 100; clearance = 0.1; wall = 1.8; do1 = 38.35 + clearance; do2 = 37.9 + clearance; di1 = 23.9 - clearance; di2 = 24.5 - clearance; dh = 10.5 + clearance; dx1 = 41; dx2 = 40; dx3 = 20; hx1 = 15; hx2 = 55; dh1 = 15.5 + 2*clearance; dh2 = 20; dh3 = 14; difference() { union() { cylinder(d1=dx1, d2=dx2...
glb/cad_db716005dd33.glb
Create an ear saver head band consisting of a central zig-zag spring body and six outward-facing hooks. The main body is a flat, serpentine spring with a total length of 150mm, a width of 25mm, and a thickness of 3mm. The spring is composed of alternating segments with a wall thickness of 2mm and a gap of 1mm between t...
$fn=16; hookShift=0; hookR=5; hookL=10; hooksL=[0,20,35]; hooksR=[115,130,150]; hookAngle=25; hookGap=1.5; width=25; wall=2; gap=1; length=150; h=3; not=0.001; step=2*gap+2*wall; pos=round(length/step)*step; d(){ springL(width,wall,gap,length,h,false); cube([2*wall+gap+not,2*width,3*h],center=true); t([pos+wal...
glb/cad_6a480b32205c.glb
Create a wall mount for a power strip by starting with a solid rounded rectangular block measuring 57mm wide, 91.5mm long, and 35.5mm high, with a corner radius of 1.5mm. Hollow out the center of this block to create a cavity for the power strip. This internal void should be a rounded rectangular shape measuring 50mm...
module polyhole(h, d=0, r=0, center=false) { _r = (r == 0 ? d / 2 : r); _d = (d == 0 ? r * 2 : d); n = max(round(2 * _d),3); rotate([0,0,180]) cylinder(h = h, r = (_d / 2) / cos (180 / n), $fn = n, center=center); } module screw_countersunk( l=20, dh = 6, lh = 3, ...
glb/cad_9acd9ff2c314.glb
Create a Mesh Calibration Pattern consisting of a grid of small, flat cylinders. Arrange these cylinders in a 2x2 square formation. Each cylinder must have a radius of 12.5mm and a height of 0.3mm. Position the cylinders on a 230mm by 230mm square area. The four cylinders should be placed such that their centers are ...
Test_Circle_Radius = 12.5; Mesh_Points = 2; Layer_Height = 0.3; Bed_Width = 230; Bed_Length = 230; X_Inset = 30; Y_Inset = 30; for (mx=[0:1:Mesh_Points-1]) { x = ((Bed_Width - (X_Inset * 2)) / (Mesh_Points - 1) * mx) + X_Inset; for (my=[0:1:Mesh_Points-1]) { y = ((Bed_Length - (Y_Inset * 2)) / (Mesh_Points ...
glb/cad_b4edfb7ad4c3.glb
Create a Sew-in Quick-Adjust Elastic Connector for Face Masks. Start by creating a rectangular base strap that is 10mm wide and 30mm long with a thickness of 0.8mm. On this strap, construct a grid of intersecting ribs, each 0.8mm wide and spaced 1.2mm apart, to create a flexible mesh. Extend the strap forward to creat...
StrapWidth = 10.0; StrapLength = 30.0; StrapThickness = 0.8; TabThickness = 1.2; TCutLength = 8.0; TCutInset = 3.0; TCutPad = 2.0; GridLineWidth = 0.8; GridLineSpacing = 1.2; Notes = "GridLineWidth plus GridLineSpacing roughly equal to the stitch spacing."; Smidge = 0.002 + 0.0; Smidges = Smidge * 2.0; TabLength...
glb/cad_622567ebb7d8.glb
Create a BLV enclosure cam lock consisting of two stacked layers. The base layer is 1.5mm thick and is formed by the intersection of a cylinder with a 12.5mm radius and a larger cylinder with a 25mm radius centered at [0, 12.5, 0], further constrained by a cube of 37.5mm by 25mm centered at [-18.75, 0, 0]. This base la...
$fa = 1; $fs = 0.4; union() { intersection() { difference() { union() { cylinder(h = 1.5000000000, r = 12.5000000000); intersection() { translate(v = [0, 12.5000000000, 0]) { cylinder(h = 1.5000000000, r = 25); } translate(v = [-37.5000000000, -12.5000000000, 0]) { cube(size = ...
glb/cad_58e2f2e4faa3.glb
Create a power strip holder consisting of a flat rectangular base and two upright supports. Start with a base plate measuring 45mm in length, 20mm in width, and 3mm in height. Center a circular hole with a diameter of 5mm and a depth of 4mm through the base at the coordinates (22.5, 11.5). At each end of the base, co...
module prism(l, w, h){ polyhedron( points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]], faces=[[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]] ); } difference(){ difference(){ cube([45,20,3]); translate([10,-0.01,-0.01]) cube([25,3,5...
glb/cad_9d8ce7d96462.glb
Create a Parametric Orchid Flower Pot consisting of a pot and a matching drip tray. For the pot, create a circular base with a thickness of 10mm. The base should have a series of drainage holes arranged in concentric rings. Above the base, construct the walls 100mm high. Instead of a solid cylinder, the walls must be...
part_to_render = 0; pot_height = 100; pot_rim_inner_diameter = 110; wall_rim_thickness = 2; wall_base_thickness = 10; wall_base_inset = 0; min_wall_seg_width = 4; pot_gap_width = 4; pot_bottom_thickness = 10; drainage_hole_size = 0; filet_radius = 1; module __Customizer_Limit__ () {} $fa = 1; $fs = 0.4; drip_tra...
glb/cad_1c95d7f217ce.glb
Create a Generalized Gridfinity Holder for Lego Brick Separators. Start by constructing a Gridfinity-style base with a total footprint of 84mm by 84mm (a 2x2 grid of 42mm units). The base should be a solid block with a height determined by the Gridfinity standard, featuring a flat bottom and a rounded upper lip. On th...
include <gridfinity-rebuilt-utility.scad> use <unionRound.scad> enable_studs= true; holder_x = 2; holder_y = 2; $fa = 8; $fs = 0.25; brick_separator_w = 17; brick_separator_h = 20; sph_d = 2; stud_d=4.8; stud_h=1.7; stud_offset=8; gridz = 0; length = 42; gridx = ceil(holder_x*(brick_separator_h+sph_d)/length); ...
glb/cad_2a7c4f8ee6ce.glb