Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Column Maker architectural model by revolving a composite 2D profile around a central vertical axis using 5-sided rotational symmetry. The total height of the object is 100mm. Start with a base section 15mm high and 25mm wide. This base profile is a rectangle with a circular cutout of 7.5mm diameter positione...
Cross_Section = false; Col_D = 25; Col_H = 100; Sides=5; Cntr_Cut_W = .75; Cntr_Cut_H = .75; Sides0 = 60; Smooth = true; Flutes = 10; Flute_Sides = 15; NegAngle = false; Angle = 360; Cap_H = 10; Cap_D = 25; Cap_CutD = 7.5; Cap_CutH = .23; Cap_BmpD = 2.5; Cap_BmpH = .65; Base_H = 15; Base_D = 25; Base_Cu...
glb/cad_5e8ef5edccb5.glb
To create a 3D model of the "Y U NO" guy and other meme faces, you can use the following OpenSCAD code. This script defines the complex polygons for the faces and bodies, scales them to the correct proportions, and extrudes them into 3D shapes. ### OpenSCAD Code ```openscad // Parameters h = 2; // Height of the extru...
include <write/Write.scad> fudge = 1/10; height = 5/1; cornerR = 15/1; part = "whole"; face = 0; width=130; icon_scale_factor=75; top_offset=.9; top_font_size=10; top_text="EXTRUDER"; bottom_offset=.14; bottom_font_size=9; bottom_text_line_1="Y U NO EXTRUDE"; bottom_text_line_2=""; main(); module main() { if (part...
glb/cad_dccaa7994491.glb
Create a passport stamp handle by combining a wide base with a rounded vertical grip. Start with a cylindrical base that is 44mm in diameter and 5mm high. Centered on top of this base, construct a vertical handle by creating a hull between a cylinder with a 9mm radius and 15mm height, and a sphere with a 12mm radius po...
union() { cylinder(r=22,h=5); translate([0,10,1]) rotate([0,0,45]) cube([8,8,5.5]); hull() { cylinder(r=9,h=15); translate([0,0,45]) sphere(r=12); } }
glb/cad_3a765765c393.glb
Create a closet separator consisting of a flat, circular disc with a total height of 4mm. The main body is a ring with an outer diameter of 80mm and a central circular hole with a diameter of 35mm. To provide structural support and a lip, add a thin cylindrical base 0.8mm high with the full 80mm diameter, and a seconda...
id = 35; od = 80; text = "XL XL XL"; font = "Gunplay-Regular"; fontsize = 11; fontradius = 20; ClosetSeparator(id, od, text, font, fontsize, fontradius); module ClosetSeparator(id, od, text, font, fontsize, fontradius) { difference(){ union(){ difference(){ cylinder(h=0....
glb/cad_aaf4036666e5.glb
Create a 16mm Core Adapter consisting of a central cylindrical body with a hollow core and three radial fins. Start by creating a main cylinder with a height of 16.6mm, a bottom radius of 13.2mm, and a top radius of 12.9mm. At the base of this cylinder, add a thin disc with a radius of 15mm and a height of 1mm. Carve ...
$fn = 40; module reel_mount () { $fn = 60; difference(){ translate([0, 0, -1.5]) cube([7.5, 7.5, 21.5], center= true); for (i = [0:4]) { rotate([0, 0, (i * 90)]){ translate([(7.5 / 2) + .4, (7.5 / 2) + .4, 18.5 / 2]) rotate([0, -15, 45]) cube([2.5, 7.5, 7.5], center = true); } } } difference () { ...
glb/cad_774352cfc257.glb
Create a Customizable Gear5. Start by creating a central shaft as a cylinder with a radius of 4mm and a total height of 20.5mm. Around this shaft, build a main gear body with a height of 18mm and a radius of 7.5mm. Add two circular fringes, each 1.5mm thick: one at the very bottom of the gear body and one at the top....
nt =16; sd =8; gd=15; ggdt=1.5; gh=18; nf=2; fs=4; fang="no"; fr=0*1; $fn=12; Dcut="yes"; gpr=gd*3.14159/4/nt/(1+3.141592/nt/2); gmr=gpr*1.077; ggd=gd+fs; dh=gh*1; off= 360/nt/2; fr=0*1; fr1=180*1; fa=0*1; fa1=ggdt; module pgear() union(){ translate([0, 0, 0]) { difference() { union(){ tr...
glb/cad_b041e443c332.glb
Create a 3D decorative text model of the word "Hello" using the Arial font in a Bold style. Each letter should have a height of 30mm and be extruded to a depth of 10mm. Center the text both horizontally and vertically so that the geometry is balanced. Ensure the letters are solid and joined together as a single piece o...
Height = 30; Dept = 10; Font = "Arial"; Type = "Bold"; Text = "Hello"; Style = str(Font, ":", "style=",Type); translate([0,Height/2-0.1,0]) linear_extrude(Dept) text(Text, halign="center", font=Style, valign="center", size=Height);
glb/cad_6cfb6243fd51.glb
Create a Terrapin Test object consisting of two separate cylindrical components. First, construct a hollow cylinder with an outer radius of 12mm and a height of 20mm. Remove a central cylindrical core from this piece with a radius of 10mm and a height of 24mm, positioned so that it extends 2mm below the base of the out...
difference() { cylinder(h=20,r=12,$fn = 100); translate([0,0,-2]) cylinder(h=24,r=10,$fn=100); } translate([30,0,0]) cylinder(h=25,r=9.75,$fn=100);
glb/cad_3fed3bad1a8e.glb
Create a Spool Towel Rack Clamp with a total thickness of 15mm. Start by designing a flat base that includes a circular ring at one end with an outer diameter of 40mm and an inner hole of 24mm. From this ring, extend a rectangular arm 85mm long and 10mm wide toward a second circular section. This second section should ...
module rodcircle() { difference() { circle(20); circle(12); } } module pipeclamp() { union() { difference() { difference() { circle(35); circle(25); } translate( [-10, 22, 0] ) square( [20,13] ); } translate( [-20, 24, 0] ) square( [10,30] ); translate( [10, 24, 0] ) square( [10,30] ); } } ...
glb/cad_053f4c41e36d.glb
Create a Bruh'sh nozzle cleaner holder. Start by constructing a rectangular brush pocket with outer dimensions of 34mm in length, 14mm in width, and 11mm in height. Hollow out the center of this pocket to create a cavity that is 30mm long, 10mm wide, and 11mm deep, leaving a wall thickness of 2mm on all sides and a 1mm...
$fn=30; Len=30; Wid=10; Dep=10; Wall=2; Bthick=4.5; Cthick=10; difference(){ translate([Dep+Wall,Wid+2*Wall,Len+2*Wall]){ rotate([0,90,180]){ union(){ difference(){ cube([Len+(2*Wall),Wid+(2*Wall),Dep+Wall]); translate([Wall,Wall,Wall]) cube([Len,Wid,Dep+1]); } translate([0,0,(-Cthick)-Bthick]) cube([Len+2...
glb/cad_b61a13193ed6.glb
Create a Wordclock consisting of a frame, an inlay, and a back cover. Construct the frame as a rectangular box with outer dimensions of 230mm x 230mm and a height of 28mm. The side walls should be 1.9mm thick, and the bottom wall should be 1.5mm thick. In the bottom wall, create a circular hole with a diameter of 7mm...
quality_high = false; quality_factor = 0.3; generate_frame=true; generate_inlet=false; generate_back_cover = false; generate_cable_guide = true; generate_brigthness_sensor = true; generate_diffusor = true; generate_support = true; wall_thickness_side = 1.9; wall_thickness_bottom = 1.5; diffusor_thickness = 0.6; suppor...
glb/cad_bc81553ff7d6.glb
Create a Fanwire protective grill with a total thickness of 5mm. The design is centered on a square mounting pattern where four holes with a radius of 1.5mm are positioned at the corners of a 42mm by 42mm square. At each of these four corners, place a small circular pillar with a radius of 4mm and a height of 5mm. Con...
outer_fansize = 50; distance_mount = 42; fanwire_thickness = 5; wire_thickness = 1; wire_spacing = 3; module tube(or,ir,h) { difference() { cylinder(r=or,h=h,center=true,$fn=72); cylinder(r=ir,h=h,center=true,$fn=72); } } module fanwire(fansize,mount,thickness,wt, ws) { rings = flo...
glb/cad_d91af584c60a.glb
Create a roll holder for stretch film by constructing a central vertical cylinder with a radius of 18mm and a height of 144mm. At the top of this cylinder, add a conical transition that tapers from the 18mm radius down to a 10mm radius over a height of 30mm, topped with a final cylinder of 10mm radius and 49mm height. ...
$fn=100; difference(){ union(){ rotate_extrude()translate([36/2,0,0])rotate([90,0,0])circle(d=4); cylinder(r=36/2,h=144); translate([0,0,144])rotate_extrude()translate([36/2,0,0])rotate([90,0,0])circle(d=4); translate([0,0,144])cylinder(r1=36/2,r2=20/2,h=30); translate([0,0,144+30])cylinder(r=20/2,h=230-144-30); } tra...
glb/cad_60ab909da93c.glb
Create an Easy Key Copier consisting of a circular head and a notched shaft. First, create the head as a cylinder with a radius of 15mm and a thickness of 2mm. Center a small circular hole with a 2mm radius through the head. Attach a rectangular shaft to the head using a spacer. The shaft should be 29mm long, 8.3mm...
use <write/Write.scad> key_type=1; head_grip_type=0; grip_text="DO NOT COPY :) "; notch_height1= 6; notch_height2= 4; notch_height3= 5; notch_height4= 1; notch_height5= 2; notch_height6= 1; rotate_flat=0; if (rotate_flat==1){ chooseKey(key_type); } else { rotate([-90,0,-180]) chooseKey(key_type); } module...
glb/cad_c02afec2d548.glb
Create a parametric embedded handle with a total height of 48mm. The main body is a block with a depth of 13mm and a width of 30mm. The front face features a symmetrical, curved cutout to create a grip, defined by a radius of 5mm at the corners and a central rectangular void. Integrate two screw channels running throu...
L2=2; L1=5; Depth=13; Length=30; R=5; W=22.5; D1=20; D2=5; D3=3.5; Hight=48; Diameter_1=4; Diameter_2=7.5; Screw_length=20; Screw_distance=24; Nut_thikness=3; Nut_size=7; hexagon_radius=Nut_size/2/cos(30); difference(){ difference(){ difference(){ translate([0,0,-Hight/2]) linear_extrude(Hight){ difference(){ union(){...
glb/cad_0c021b1cd726.glb
Create a brutalist lantern base and body by combining several stacked geometric primitives. Start with a central vertical column that is a cylinder with a diameter of 10mm and a height of 20mm. Below this, stack a series of concentric cylinders of varying heights and diameters: one with a 15mm diameter and 15mm height,...
difference() { union() { cylinder($fn=30,20,3,3 ); translate([0,0,-5]) { cylinder($fn=30,7,5,5); } translate([0,0,-10]) { cylinder($fn=40,5,10,10); } translate([0,0,-10]) { cylinder($fn=50,5,10,10); } translate([0,0,...
glb/cad_19652038a752.glb
Create a customizable filament spool divider as a 60-degree angular section of a circular disk. The overall outer diameter is 195mm and the inner core diameter is 105mm. The divider consists of a base flange with a thickness of 1.4mm and a vertical wall with a height of 15.35mm. The vertical wall extends from the oute...
od = 195; id = 105; hd = 20; t = 1.4; ang = 60; ch = 60; ndiv = 4; $fn = 120; difference(){ divider(); union(){ core_cuts(); wall_cuts(); section(); } } echo (" "); echo ("SECTION HEIGHT is ", h()); echo (" "); function h() = ndiv > 0 ? (ch+t) / ndiv : hd; ...
glb/cad_f0d169398a12.glb
Create an Aztec pyramid composed of five stacked levels. Starting from the bottom, create a central square base with a side length of 11mm and a height of 1mm. Each subsequent level should be a centered square slab with a height of 1mm, decreasing in side length by 2mm per level, resulting in a top platform of 1mm by 1...
ScaleFactor = 5; Nivo = 5 ; scale([ScaleFactor,ScaleFactor,ScaleFactor]) difference() { union() { for ( i = [1 : Nivo] ) { translate([(i*-1)-0.5,(i*-1)-0.5,Nivo-i]) cube([1+(i*2),1+(i*2),1]); for(rot=[0:3]) { rotate([0,0,rot*90]) { for(tr=[1:4])...
glb/cad_b644f40fd1e4.glb
Create a parametric pulley designed to hold a bearing. Start by creating a central cylindrical ring with an inner diameter of 22mm and an outer diameter of 23mm (bearing diameter plus 1mm thickness). The height of this central ring should be 7mm. Add two round flanges, one at the top and one at the bottom. Each flange...
Bearing_Outer_Diameter = 22; Bearing_Width = 7; Belt_Width = 6; Pulley_Thickness = 1; Flange_Depth = 3; Flange_Thickness = 2; Flange_Shape = 2; Rim_Thickness = 0.5; Rim_Count = 3; pulley(Bearing_Outer_Diameter, Bearing_Width, Belt_Width, Pulley_Thickness, Flange_Depth, Flange_Thickness, Flange_Shape, Rim_Thickness...
glb/cad_884e1148627d.glb
Create a dishwasher rail clip with a total width of 12.7mm, length of 15mm, and height of 14mm. The main body is a rectangular block with a rounded front end. At the center of the block, create a horizontal cylindrical void (the axel void) with a diameter of 10mm that runs through the part. At the front, integrate a c...
axelDiameter = 8.5 ; axelRadius = axelDiameter / 2 ; axelLength = 11 ; axelHeight = 7.5 ; axelCapLength = 2; axelCapDiameter = 10 ; axelCapRadius = axelCapDiameter / 2 ; partThckness = 2 ; partHeight = 14 ; partWidth = 12.7 ; partLength = 15 ; capHoleDiameter = 2.3; capHoleRadius = capHoleDiameter/2; capHo...
glb/cad_e2500a68a827.glb
Create a parametric truss beam with a total length of 190mm, a height of 20mm, and a depth of 3mm. The structure consists of two parallel horizontal rails, each 2mm thick, positioned at the top and bottom edges of the height. Fill the space between these rails with a series of internal supports that are 2mm wide. Divi...
Tr_Height = 20; Tr_Width = 3; Tr_Length = 190; Tr_Segs = 6; Tr_CapWid = 4; Tr_CapThk = 2; Tr_SupType = 1; Tr_SupWid = 2; PL_Truss(H=Tr_Height,W=Tr_Width,L=Tr_Length,CW=Tr_CapWid,CT=Tr_CapThk,SW=Tr_SupWid,S=Tr_Segs,Ty=Tr_SupType); module PL_Truss(H=20,W=4,L=50,CW=4,CT=1.5,SW=1.5,S=4,Ty=1) { MW2= SW/2; H1 = H-C...
glb/cad_0b4b3472c2ed.glb
Create an iPad Bluetooth keyboard antenna cover. Start by constructing a hollow semi-cylindrical shell with an outer diameter of 18mm, a total length of 69.5mm, and a wall thickness of 1.4mm. The shell should span a 270-degree arc. Round the exterior corners of the shell with a 2mm radius. On the interior of the shell...
CAP_LENGTH = 69.5; DIA_OUTER = 18; THICKNESS = 1.4; CORNER_ROUNDING = 2; CLIP_POS = 6; CLIP_THICKNESS = 1; CLIP_WIDTH = 3; CLIP_HEIGHT = 1; CLIP_INSET_X = 0.8 ; CLIP_INSET_Y = 3; SLOT_LENGTH = 28; SLOT_WIDTH = 7; SLOT_DEPTH = 0.5; QUALITY = 100; module __Customizer_Limit__ () {} LAY_FLAT = true; NO_SUPPO...
glb/cad_4caa4c4534c9.glb
Create a Kossel Cable Tidy consisting of three identical cable clips arranged in a row on a thin rectangular base. The base is a flat plate measuring 40mm by 60mm with a thickness of 0.2mm. Each clip is constructed from a cylindrical body with a diameter of 3.6mm and a height of 15mm. To create the clip's gripping me...
detail = 40; coverLen = 15; supportHeight = 2.8; fullClip(3.8); translate([0,15,0])fullClip(3.8); translate([0,30,0])fullClip(3.8); translate([-10,-15,-15/2])cube([40,60,0.2]); module fullClip(clipDiam) { translate([-1.5,0,-coverLen/2]) { cylinder(d=clipDiam-0.2,h=15,$fn=detail); cylinder(d=clipDiam,h=1,$fn=det...
glb/cad_9afd66e8f182.glb
Create a model bridge with a total length of 150mm, a width of 30mm, and a height of 20mm. Construct two identical side trusses, one on each long edge. Each truss consists of two horizontal rails (top and bottom) with a thickness of 2mm. Connect these rails with a series of diagonal supports spaced across 6 segments ...
$fn=20; $EC = .4; Parts = false; Bridge_Width = 30; Bridge_Height = 20; Bridge_Length = 150; Arch_Ena = true; Arch_Width = 6; Arch_Height = 0.7; Arch_Z = $EC; Floor_Depth=2; Planks = 30; Plank_Gap = 1; Tr_Height = Bridge_Height; Tr_Width = 3; Tr_Length = Bridge_Length; Tr_Segs = 6; Tr_CapWid = 4; Tr...
glb/cad_463ebea46ddf.glb
Create a parametric tool handle. The main body is a tapered cylinder with a length of 100mm, starting with a radius of 13.5mm at the base and widening to a radius of 15mm at the top. The top of the handle is finished with a hemispherical dome of radius 15mm. At the base of the handle, create a square peg centered on t...
length = 100; toolrad = 13.5; endrad = 15; handle_x_scale=1; handle_y_scale=1; hanger_rad=7; hanger_dist=20; hanger_z_scale=1.5; ending=1; end_type=1; end_shape=1; round_l = 29; round_tr = 9; round_er = 8.9; round_x_scale=1; round_y_scale=1; cube_z=...
glb/cad_2477d4134bd0.glb
Create a Thermostander designed to hold two 26x45mm thermometers. Start by constructing a base platform 120mm wide, 70mm deep, and 4mm thick. At the rear, add a vertical back wall 120mm wide, 4mm thick, and 90mm high, tilted backward by 5 degrees. To create the thermometer slots, remove two rectangular volumes from the...
difference(){ union(){ rotate([-5,0,0]) translate([0,-1.3,1]) cube([120,4,90]); translate([0,-15,0]) cube([120,70,4]); cube([120,15,15]); translate([0,-12,0]) cube([120,15,15]); } translate([-1,15,15]) rotate([0,90,0]) cylinder(122,11,11,$fn=100); translate([-1,-11,15]) rotate([0,90,0]) cylinder(122,11,11,$fn=100); t...
glb/cad_f593743a7137.glb
Create a customizable key chain badge by starting with a base rectangular plate measuring 70mm in length, 14mm in width, and 2mm in height. Apply a corner radius of 0.5mm to all edges of the plate to round them. At the left end of the plate, create a vertical hole with a diameter of 2mm that passes completely through...
Content = "Garage"; Font = "Arial Rounded MT Bold"; Padding = 1; Length = 70; Width = 14; Roundness = 0.5; Hole_Size = 2; Height = 2; difference() { translate([0, 0, 0]) { roundedcube([Length, Width, Height], true, Roundness); if (Hole_Size > 0) translate([-Length / 2 + Hole_Size / ...
glb/cad_1177fa0e9248.glb
Create two identical vise jaw protectors. For each protector, start with a solid rectangular block measuring 75.2mm in length, 21.2mm in width, and 10mm in height. Hollow out the center of this block by removing a smaller rectangular volume of 70.2mm by 16.2mm by 5mm, leaving a wall thickness of 5mm on the sides and bo...
jaw_x = 70.2; jaw_y = 16.2; jaw_z = 5; th = 5; open_border = 2; sh = 2; sh_hdist = 30; sh_vdist = 2; sh_diam = 3; n = 2; h_gr = 2; v_gr = 3; rotX = 0; rotY = 0; rotZ = 0; $fn=50; o_b = min(jaw_z, open_border); rotate([0, 0, rotZ]) rotate([0, rotY, 0]) for(i=[0:n-1]) translate([0, (i-(n-1)/2)*(jaw_y+2*th)]...
glb/cad_470ac0b3bcdd.glb
Create a Business Card Box consisting of a bottom container and a fitted lid. The bottom container is a rectangular box with outer dimensions of 89.8mm in width, 72.4mm in depth, and 57.2mm in height. The walls are 1.2mm thick. The interior is divided into two compartments: a front section 15mm deep and a rear section ...
$e=0.05; cardw=85; cardh=55; slot1=15; slot2=35; cutouth=cardh/2; cutoutw=cardw-10; wall=1.2; fit=4; topclear=1; assembly(); module assembly() { difference() { union() { boxbottom(); translate([-wall-topclear/2, -wall-topclear/2, cardh+wall+fit+topclear]) mirror([0,0,1]) boxto...
glb/cad_749c1d2278f5.glb
Create a balloon-powered toy helicopter called the LOLCOPTER MK1. Construct the main body as a dual-chambered casing. Create two parallel cylinders with a radius of approximately 22.5mm and a height of 28.5mm, connected by a central rectangular block. In the center of this assembly, create a vertical hole with a radi...
include<write/Write.scad> use<write.scad> Font = "Letters.dxf"; name_plate = "LOLCOPTER MK1"; name_plate_top = "LET THE GOOD TIMES LOL"; number_of_blades = 4; engine_centers = 160; prop_radius = 75; turbine_radius = 20; prop_shaft_height = 100; prop_shaft_rad = 3; balloon_stem_radius = 8; part = "assembly"; ...
glb/cad_119bbcf114a0.glb
Create a ParamBox Storage Box consisting of a base and a lid. For the base, create a hollow rectangular container with outside dimensions of 118mm length, 61mm width, and 30mm height. The walls and floor should be 1mm thick. Round the vertical corners with a 3mm radius. Add a 2mm high brim to the top and bottom edges...
print_base = 1; print_top = 1; box_length = 118; box_width = 61; box_height = 30; lid_height = 15; floor_thick = 1; wall_thick =1; brim_ht = 2; roundradius = 3; do_seal_bevel = 1; support_w = 10; support_t = 1; lbltext1 = ""; lbltext2 = ""; lbltext3 = ""; lblsize = 5.1; brim_width = brim_ht; do_brim = ...
glb/cad_196cc0834482.glb
Create a simple parametric bit wrench by designing a handle that is 6mm thick. The handle's main body is formed by the convex hull of two cylinders, each with a diameter of 7.5mm; position the first cylinder at the origin and the second cylinder 60mm away along the x-axis, but reduce the diameter of this second cylinde...
thickness=6; bitdiameter=7.5; handlelength=60; difference(){ handle(); bit1(); } module handle(){ $fn=60;hull(){ cylinder(thickness,bitdiameter,bitdiameter); translate([handlelength,0,0])cylinder(thickness,bitdiameter*.5,bitdiameter*.5); }} module bit1(){ $fn=6; cylinder(thickness,bitdiameter*.5,bitdiameter*.5);...
glb/cad_3dae29e085bb.glb
Create a magnetic storage box by starting with a solid rectangular block that has an outer width of 24mm, an outer length of 24mm, and a total height of 41.5mm. Hollow out the center of this block to create an open container with internal dimensions of 20mm in length, 30mm in width, and 40mm in height, leaving a bottom...
CutoutLength = 20; CutoutWidth = 30; CutoutHeight = 40; WallThickness = 2; BottomThickness = 1.5; MagnetDiameter = 3; MagnetThickness = 1; MagnetOffset = 5; OuterBoxLength = CutoutLength + 2 * WallThickness; OuterBoxWidth = CutoutWidth + 2 * WallThickness; OuterBoxHeight = CutoutHeight + BottomThickness; diffe...
glb/cad_26e87c230607.glb
Create a two-part protective case for a DC-Boost PCB. The overall outer dimensions for both the top and bottom sections are approximately 69.4mm by 40.1mm. For the bottom part, create a rectangular shell with a wall thickness of 2mm. The interior should be hollowed out to accommodate a PCB of 65.4mm by 36.7mm and a ke...
slop = 0.2; fn = 50; eps = 0.03; BRDX = 65.4; BRDY = 36.7; BRDZ = 1.6; MHID = 3.05; MHXOFF = 3.5; MHYOFF = 5.2; BKOX = 47.8; BKOY = 18; BKOZ = 3.0; HSX = 45.9; HSY = 10.1; HSZ = 20.3; HSSX = 3.9; HSSY = HSY-2.6; HSSsp = 35/7; HSSXoff = 1.0; HSYoff = 14; TROD = 27; TRZ = 13.2; TRXoff = 12.8; CAPOD = 13.2; CAPZ = 21.6; ...
glb/cad_2a64643b5f51.glb
Create a two-part protective case for a DC-Boost PCB. The overall footprint for both the top and bottom sections is approximately 69.8mm by 40.1mm. For the bottom part, create a rectangular shell with a wall thickness of 2mm. The interior cavity should be 65.8mm by 37.1mm with a depth of 4.6mm. At each of the four cor...
slop = 0.2; fn = 50; eps = 0.03; BRDX = 65.4; BRDY = 36.7; BRDZ = 1.6; MHID = 3.05; MHXOFF = 3.5; MHYOFF = 5.2; BKOX = 47.8; BKOY = 18; BKOZ = 3.0; HSX = 45.9; HSY = 10.1; HSZ = 20.3; HSSX = 3.9; HSSY = HSY-2.6; HSSsp = 35/7; HSSXoff = 1.0; HSYoff = 14; TROD = 27; TRZ = 13.2; TRXoff = 12.8; CAPOD = 13.2; CAPZ = 21.6; ...
glb/cad_8cce44ed1ab7.glb
Create a two-part protective case for a DC-Boost PCB measuring 65.4mm by 36.7mm with a thickness of 1.6mm. For the bottom section, create a rectangular shell with outer dimensions of 69.4mm by 40.7mm and a height of 7.6mm. Hollow out the center to fit the PCB, leaving a wall thickness of 2mm. At each of the four corn...
slop = 0.2; fn = 50; eps = 0.03; BRDX = 65.4; BRDY = 36.7; BRDZ = 1.6; MHID = 3.05; MHXOFF = 3.5; MHYOFF = 5.2; BKOX = 47.8; BKOY = 18; BKOZ = 3.0; HSX = 45.9; HSY = 10.1; HSZ = 20.3; HSSX = 3.9; HSSY = HSY-2.6; HSSsp = 35/7; HSSXoff = 1.0; HSYoff = 14; TROD = 27; TRZ = 13.2; TRXoff = 12.8; CAPOD = 13.2; CAPZ = 21.6; ...
glb/cad_fdb3fc0c1d76.glb
Create an esp32-cam enclosure consisting of a top and bottom case and a mounting bracket. The top case is a hollow rectangular box with outer dimensions of 45.1mm x 32.2mm and a height of 11mm. The interior is carved out to create a pocket for a PCB measuring 40.1mm x 27.2mm x 2.4mm. In the center of the top surface,...
do_base = 1; base_w = 45; base_h = 25; led_hole = false; pcbx = 40.1+0.2; pcby = 27.2+0.2; pcbz = 2.4+0.2; lensd = 7.1+0.5; lensx = 30.5; lensy = pcby /2.0; lensz = 6.15+pcbz; lensh = 2.25+0.2; cambx = 8.65+0.4; camby = 8.65+0.4; boxwall = 5.0; toph = 11+pcbz; pinh = 9.0; $fn = 40; module camera(show_aim=0) ...
glb/cad_b3c61f7a19a0.glb
Create an LED candle flame model. Start with a base consisting of a cylinder with a radius of 4.5mm and a height of 10mm. On top of this, add a collar that is 2mm high, tapering from a bottom radius of 6.75mm to a top radius of 7.5mm. Above the base, construct the flame shape by extruding a circle with a radius of 1.2m...
$fn = 50; tw = -90; h = 30; off = 10; sc = 0.3; bol = 4; module_flame(tw, h, off, sc, bol); module module_flame(tw, h, off, sc, bol) { translate ([0,0,bol + 6 ]) difference() { union() { flame_shape(1); translate ([0,0, -bol - 6]) cylinder (r = 4.5, h = 10); difference() { translate ([0,0, -bol]) cylin...
glb/cad_fd422ba88ae2.glb
Create a mounting foot for an LED candle flame. Start by constructing a main cylindrical body with a radius of 6.85mm and a height of 8mm. Attach a wide, shallow base to the bottom of this cylinder, created as a truncated cone with a bottom radius of 7.5mm, a top radius of 6.75mm, and a height of 2mm. From the center o...
$fn = 50; difference() { union() { cylinder (r2 = 6.75, r1 = 7.5, h = 2); cylinder (r = 6.85, h = 8); } translate ([0,0,-0.1]) cylinder (r = 2, h = 10); translate ([0,0,2]) cylinder (r = 4, h = 10); translate ([5.5,-1.5,-.1]) cube ([3,3,10]); }
glb/cad_63638d269214.glb
Create four identical glass plate holder clips. For each clip, start with a right-angled triangular prism that has a base width of 20mm, a length of 20mm, and a height of 5mm. From this main body, remove a smaller right-angled triangular prism with a width of 10mm, a length of 10mm, and a height of 6mm, positioned 6mm ...
WidthOffTriagle=25; WithOffSides = 6; module triangle(width,length,h) { linear_extrude(height=h) polygon([[0,0],[0,width],[length,0]]); } module PlateHolder(OOC){ difference(){ triangle(20,20,5); translate([WithOffSides,WithOffSides,(OOC=="open"?-0.5:2)])triangle(10,10,6); translate([3,3,2.5])cylinder(r=1.65, h=6,...
glb/cad_b2cc499f1eba.glb
Create a Dr.RobotLabs Adafruit Analog Camera Case consisting of two primary rectangular plates. First, create a base plate measuring 60mm by 50mm with a thickness of 3mm. On this plate, place four cylindrical mounting holes with a radius of 2mm each. These holes should be positioned at the corners: two along the x-ax...
translate([0,-2,15]) translate([60,0,5]) rotate([180,0,180]) translate([-5,0,0]){ lid(); translate([35-35/2,50+3,0]){ clamp(); } } difference(){ lid(); } module clamp(){ difference(){ translate([-2.5,0,0]) cube([40,10,33]); translate([35/2+0,30,50/2+2]) rotate([90,90,0]) cylinder(r=6.5/2,h=35); translate([-5,0,10]...
glb/cad_a26b949c63aa.glb
Create a Universal Stand for a device with a width of 155mm and a depth of 63mm. The stand consists of a back leg and a base plate connected at an angle of 35 degrees. First, create the back leg by extruding a profile with a thickness of 1.8mm. The leg should follow an arc that transitions from the base to the back s...
width = 155; depth = 63; stopper_height = 12; angle = 35; foot_depth = 8; foot_orientation = "behind"; stand_thickness = 1.8; height = 1.8; $fn = 100; decrease_percentage = 85; decrease_table = false; decrease_back = false; function decrease(size, percent) = size * percent / 100; module printable_rotation(...
glb/cad_9793a2667a80.glb
Create a filament wiper consisting of a hollow cubic shell with a mounting tab. Start by creating a cube with outer dimensions of 16mm x 16mm x 16mm and an inner hollow cavity of 12mm x 12mm x 12mm, resulting in a wall thickness of 2mm. Cut a vertical slot through the center of the top and bottom faces that is 4mm wide...
$fn = 30; inch = 25.4; sponge_thickness = 12; wall_thickness = 2; tab_width = 10; tab_length = 30; filament_dia = 3; slot_width = filament_dia + 1; box_id = sponge_thickness*2; box_od = box_id + wall_thickness*2; port_width = sponge_thickness * 1.5; module body() { difference() { translate([0, box_od/2, b...
glb/cad_6f14d1a50f56.glb
Create a Prusa Mendel Patch-in-Place Bearing Guide. The object is a hollow cylindrical collar with a height of 8.7mm. The main body is a tube with an inner diameter of 22.3mm and an outer diameter of 23.5mm (calculated from a radius of 11.15mm plus a 0.6mm wall ascent). Cut a rectangular slot out of one side of the c...
single_layer_width=0.6; bearing_inner=22.3; thickness=1.7; height=7+thickness; wall_ascent=3; wall_descent=0.5; rod_dia=8; module patch_wall(){ difference() { cylinder(r=bearing_inner/2+wall_ascent,h=thickness); translate([0,0,-1]) cylinder(r=bearing_inner/2-wall_descent,h=thickness+2); translate([-(rod_dia...
glb/cad_6deea41d2653.glb
Create a parametric lens cap consisting of three concentric cylindrical sections. Start with a solid circular base plate with a diameter of 65mm (the outside diameter of 59mm plus a 3mm thickness on each side) and a height of 1.5mm. Centered on top of this base, add a first outer ring with an outer diameter of 65mm and...
outsideDia = 59; insideDia = 51; thickness = 3; outsideHeight=5; insideHeight= 2.5; bp_height = 1.5; includeStringHole =1; $fn=150; union() { cylinder(d=outsideDia+2*thickness, h=bp_height); translate([0,0,bp_height]) difference(){ cylinder(d=outsideDia+2*thickness, h=outsideHeight); cylinder(d=outsid...
glb/cad_c2e4400726d0.glb
Create a rolling pin holder consisting of a flat rectangular base and a cradling upper section. Start with a rectangular footer base centered at the origin, measuring 100mm in length, 80mm in width, and 2mm in height. Above this base, construct a support structure that is also 100mm long and 80mm wide. This upper secti...
PinDiameter = 60; PinHolderLength = 100; PinHolderWidth = 80; FooterHeight = 2; $fn = 30; YZTrapezoidPoints = [[(-PinHolderWidth / 2), 0], [(PinHolderWidth / 2), 0], [(PinHolderWidth / 4), (PinDiameter / 1.75)], [-(PinHolderWidth / 4), (PinDiameter / 1.75)]]; XZTrapezoidPoints = [[-(PinHolderLength / 2), 0], [(Pin...
glb/cad_f89950ebe520.glb
Create a Serial Monitor enclosure consisting of a rectangular box and a matching lid. The box has external dimensions of 44.4mm by 75.4mm with a height of 17mm. The corners are rounded with a 1.6mm radius. The interior is hollowed out with 2mm walls, leaving four 6mm square mounting posts at the corners. Drill 2.26mm...
led_d = 4.8; led_b = 5.9; led_s = 0.3*25.4; $fn = 24; font = "Arial Black"; letter_size = 5; letter_height = 1; loff = 12; noff = 32; piny = 2.54; lidx = 44.0; lidy = 75.0; lidz = 3.2; tap4 = 0.089 * 25.4; module led_hole() { cylinder(h=10,d=led_d); translate([0,0,-10+1.6]) cylinder(h=10,d=led_b); } module le...
glb/cad_a78dca78db23.glb
Create a NanoBeam L Plate by starting with a flat, L-shaped base that is 2mm thick. The base is formed by a rectangular block measuring 10mm by 15mm, with a 5mm by 10mm section removed from one corner to create the L-shape. Drill four vertical holes completely through the plate, each with a diameter of 0.6mm and a 20-s...
beamsize=5; holer=0.6; thickness=2; difference (){ difference (){ difference (){ difference (){ difference (){ cube([ beamsize*2 ,beamsize*3 ,thickness]); cube([beamsize,beamsize*2,thickness]); } translate ( [ beamsize*1.5,beamsize*0.5,0 ] ) cylinder ( thickness,holer , $fn=20 ); } translate ( [ beamsize*1.5,beamsize*...
glb/cad_7fac2fae1292.glb
Create a filament spool holder base with a total diameter of 120mm and a height of 5mm for the outer rim. The base features a central pillar 10mm high with a diameter of 22mm. At the top of this pillar, add a washer-like transition that tapers from 22mm down to 11.25mm over a height of 2mm. Above this transition, cons...
ffullpart=true; nspokes=3; frimholes=true; drimholes=4.70; nrimholes=3; odbase=120.00; dhub=7.90; rrib=0.40; nrib=8; zpillar=0.00; hpillar=10.00; dpillar=22.00; zwasher=zpillar+hpillar; hwasher=2.00; d1washer=22.00; d2washer=11.25; zbearing0=zwasher+hwas...
glb/cad_d8f613a97011.glb
Create a multi-diameter spinner for a filament spool holder. The main body consists of five concentric, stepped cylinders of varying heights and diameters stacked vertically. Starting from the bottom, create cylinders with the following outside diameters and heights: 63.5mm height 4mm, 50.55mm height 8mm, 38.10mm heigh...
nsizes=4; ht=[24.00, 16.00, 12.00, 8.00, 4.00]; od=[18.80, 31.50, 38.10, 50.55, 63.50]; d2bearing=22.50; d1bearing=24.00; rrib=0.50; nrib=24; zcenter=0.; hcenter=ht[0]; dcenter=5.00; zupper=16.00; hupper=ht[0]; dupper=13.00; ztaper1=7.00; htaper1=7.00; d1taper1=d2bearing; d2taper1=7.5...
glb/cad_86b041a3da75.glb
Create a NanoBeam Coupling plate with a total thickness of 1mm. Start by forming a central rectangular body 5mm wide and 15mm long. Add a semi-circular cap with a radius of 2.5mm to both the top and bottom ends of the rectangle to create a pill-shaped profile. Along the central longitudinal axis of this shape, place fo...
beamsize=5; holer=0.6; thickness=1; difference ( ) { difference ( ){ difference ( ){ difference ( ){ union ( ) { union (){ translate([-beamsize/2,0,0]) cube ([beamsize,beamsize*3,thickness]); cylinder (thickness,r=beamsize/2,$fn=20); } translate ( [ 0,beamsize*3,0 ] ) cylinder ( thickness,r=beamsize/2, $fn=20 ); } cyl...
glb/cad_507466c608ea.glb
Create a T-shaped plate for a NanoBeam with a thickness of 2mm. The main body is formed by a rectangular base measuring 15mm by 15mm, with a 5mm wide rectangular section removed from the center of one side to create the T-shape, leaving a perpendicular stem that is 5mm wide and 10mm long. Pierce the plate with three ...
beamsize=5; holer=0.6; thickness=2; difference (){ difference (){ difference (){ difference (){ difference (){ difference (){ cube([ beamsize*3 ,beamsize*3 ,thickness]); cube([beamsize,beamsize*2,thickness]); } translate ( [10,0,0 ]) cube([beamsize,beamsize*2,thickness]); } translate ( [ beamsize*1.5,beamsize*0.5,0 ] ...
glb/cad_4fcfde0e529c.glb
Create a light-tight Vactrol optocoupler box consisting of a base and a lid. For the base, create a rectangular block measuring 8.375mm by 10.825mm with a height of 3.15mm. Remove a cylindrical hole with a radius of 3.1mm and a length of 6mm, centered 2mm from the center along the Y-axis at a height of 3.5mm. Remove a ...
$fn = 50; difference() { translate([0,0,1.575]) cube(size = [8.375,10.825,3.15], center = true); translate([0,2,3.5]) rotate (a = [90, 0, 0] ) cylinder( h = 6, r=3.1); translate([0,4,3.5]) rotate (a = [90, 0, 0] ) cylinder( h = 2.1, r = 2.6); translate([0,0,3.5]) cube(size = [4,20,1.4], center = true); trans...
glb/cad_b7706ee0fe9d.glb
Create a Toothbrush Throne holder by constructing a main body and subtracting specific voids. Start with a solid base consisting of two rounded rectangular blocks, each 14mm wide, 20mm deep, and 23mm high, positioned symmetrically at x=10 and x=-10. Connect these with a central filling block 4mm wide, 10mm deep, and 23...
module roundedRect(size, radius) { x = (size[0]); y = (size[1]); z = (size[2]); linear_extrude(height = z) hull() { translate([((-(x / 2)) + (radius / 2)), ((-(y / 2)) + (radius / 2)), 0]) circle(r = radius); translate([((x / 2) - (radius / 2)), ((-(y / 2)) + (radius / 2)), 0]) circle(r = radius); tran...
glb/cad_c9090d196ca7.glb
Create a Toothbrush Throne holder by constructing a main body and subtracting several geometric voids. Start with a base structure consisting of two mirrored rounded rectangular blocks, each 14mm wide, 22mm deep, and 23mm high, with a corner radius of 2mm, positioned symmetrically around the center. Connect these with ...
module roundedRect(size, radius) { x = (size[0]); y = (size[1]); z = (size[2]); linear_extrude(height = z) hull() { translate([((-(x / 2)) + (radius / 2)), ((-(y / 2)) + (radius / 2)), 0]) circle(r = radius); translate([((x / 2) - (radius / 2)), ((-(y / 2)) + (radius / 2)), 0]) circle(r = radius); tran...
glb/cad_c7ee858e00ff.glb
Create a Toothbrush Throne holder consisting of a row of identical vertical sockets. Each socket is based on a rounded rectangular block measuring 15mm wide, 22mm deep, and 23mm high with a corner radius of 2mm. For each socket, create a central vertical void to hold a toothbrush head. This void is composed of three ...
module roundedRect(size, radius) { x = (size[0]); y = (size[1]); z = (size[2]); linear_extrude(height = z) hull() { translate([((-(x / 2)) + (radius / 2)), ((-(y / 2)) + (radius / 2)), 0]) circle(r = radius); translate([((x / 2) - (radius / 2)), ((-(y / 2)) + (radius / 2)), 0]) circle(r = radius); tran...
glb/cad_fae49e47daa0.glb
Create a 3D model of a novelty key called the "Easy Key Copier" that resembles a guitar-shaped key. Start by constructing the key shaft, which is 29mm long, 8.3mm high, and 2.1mm wide. Along the length of this shaft, create a series of longitudinal grooves and subtract six specific notches from the top edge. Each not...
use <write/Write.scad> key_type=1; head_grip_type=4; grip_text="DO NOT COPY :) "; notch_height1= 6; notch_height2= 4; notch_height3= 5; notch_height4= 1; notch_height5= 2; notch_height6= 1; rotate_flat=0; if (rotate_flat==1){ chooseKey(key_type); } else { rotate([-90,0,-180]) chooseKey(key_type); } module...
glb/cad_c89c28ae0eed.glb
Create a parametric tool holder consisting of a flat rectangular base and two vertical mounting brackets. The base is a rectangular slab with a thickness of 4mm and a depth of 40mm. Its total length is determined by three holes with a diameter of 8mm, spaced 40mm apart center-to-center, with 20mm of padding at each end...
num_holes = 3; hole_diameter = 8; hole_sep = 40; thickness = 4; depth = 40; screwhole_diameter = 4; end_padding = 20; frontslot = 0; frontslot_width = 3; middle_support_TF = 0; $fs=0.5;$fa=6; holder_length = (num_holes-1)*hole_sep+end_padding*2; module main_body(){ difference() { cube([holder_le...
glb/cad_48b489b78ba1.glb
Create a phone case for an 8Bitdo Zero 2 gamepad with a total height of 45mm and wall thickness of 1.5mm. The main body is a rounded rectangular block with a chamfer radius of 2mm. Carve out a central phone slot measuring 80.5mm wide and 12mm deep. Position this slot so there is a 1mm gap (spacing) between the back o...
h = 45; wall = 1.5; phone_width = 80.5; phone_depth = 12; spacing = -1; radius = 2; $fn = 20; $fs = 1/$fn; eps = 0.01; eps2 = 2*eps; eps3 = 3*eps; phone_cutout = [phone_width, phone_depth, h-wall]; pad = [73, 35, 13]; light_slot = [10, 2, h]; r = pad.y / 2; top_cutout_start = h; module roundedcube(size = [1, 1...
glb/cad_475eba2f41f5.glb
Create a filament holder consisting of a mounting bracket and a roller assembly. First, construct the mounting bracket. Create a central rectangular block 26mm wide, 38mm high, and 92.6mm long. Add a flange 8mm thick that extends from the base. On one end of the bracket, integrate a male metric thread with a 30mm dia...
$fn=60; include <threads.scad>; roller_lth=82; roller_d = 20; make_mount(); bearing_outside_d = 22; bearing_inside_d = 8; bearing_thickness = 7; bearing_inner_race = 11; bearing_outside_clearance_d = bearing_outside_d+0.2; bearing_offset_from_roller = 1.3; roller_pin_base_height = 17; bevel=roller_d+6; roller_d_...
glb/cad_18f2ef75c96b.glb
Create an ATX IO Shield Blank by combining a thin backplate with a surrounding border. First, construct a solid rectangular backplate measuring 162mm in width, 48mm in depth, and 1mm in height. Around this, add a raised border frame that is 158mm wide and 44mm deep. This frame should have a wall thickness of 1.5mm on t...
translate([-3.5, -3.5, 0]) union() { translate([2, 2, 1]){ difference() { cube([158, 44, 2.58]); translate([1.5, 1.5, -0.01]) cube([155, 41, 2.60]); } } difference() { cube([162, 48, 1]); translate([3.5, 3.5, -1]) { } } }
glb/cad_b71f01ccedfc.glb
Create a Direct Drive Extruder idler consisting of a main body with an integrated upper support for a bearing. The base is formed by extruding a custom profile to a height of 2mm, with a primary vertical section extending further to 9mm. At the position [10, 0, 0], add a cylindrical support for the bearing with a radiu...
x_filament = 4.4; z_filament = 9.5; x_idler = 10; module idler() { difference() { union() { linear_extrude(height = 2, center = false, convexity = 10) import (file = "MyExtruder_v1.2.dxf", layer = "idler_base", $fn=64); linear_extrude(height = 9, center = false, convexity = 10) import (file = "MyEx...
glb/cad_a7e93cbd579f.glb
Create an Oogoo Bonding Mesh consisting of a solid base plate and a layered grid of octagonal bars. Start by creating a rectangular base plate measuring 30mm by 30mm with a thickness of 0.35mm. Above this base, construct a three-dimensional lattice of intersecting bars within a total height of 1mm. The lattice is compo...
spacing = 1.5; vspacing = .35; d = .4; width = 30; depth = 30; height = 1; for (z=[0:vspacing*2:height]) { for (x=[0:spacing:width]) translate([x,0,z]) rotate([-90,0,0]) rotate([0,0,360/16]) cylinder(r=d/2, h=depth, $fn=8); for (y=[0:spacing:depth]) translate([0,y,vspacing+z]) rotate([0,90,0]) rotate([0,0,360/1...
glb/cad_bdc596dcbeba.glb
Create an Oogoo Bonding Mesh consisting of a solid base plate and a layered grid of cylinders. Start by creating a rectangular base plate 30mm wide, 30mm deep, and 0.95mm thick. Above this base, construct a multi-layered mesh of intersecting cylinders, each with a diameter of 1mm and a 20-facet resolution. The mesh i...
spacing = 3; vspacing = .95; d = 1; width = 30; depth = 30; height = 1; for (z=[.4:vspacing*2:height]) { for (x=[0:spacing:width]) translate([x,0,z]) rotate([-90,0,0]) rotate([0,0,360/16]) cylinder(r=d/2, h=depth, $fn=20); for (y=[0:spacing:depth]) translate([0,y,vspacing+z]) rotate([0,90,0]) rotate([0,0,360/16...
glb/cad_46f37fd709bc.glb
Create a Parametric Cylinder Clip designed to hold a round object. The main body is a curved C-shaped clip with an inner radius of 45.466mm and a wall thickness of 5mm. The clip has a total height of 50mm and an opening angle of 120 degrees. The ends of the C-shape are rounded with a radius of 2.5mm. The clip is attac...
$fa = 1; $fs = 0.4; offset = 0.01; r = 45.466; t = 5; opening = 120; h = 50; fastenerShaftDiameter = 6.4; fastenerHeadDepth = 4; washerDiameter = 14; fastener_spacing = 25; fastenerSpacing = (fastener_spacing + washerDiameter > h) ? h - washerDiameter - offset : fastener_spacing; fastenerGap = 120; baseplate_...
glb/cad_9532b420e0b7.glb
This OpenSCAD code is a collection of modules designed to create 2D vector-style graphics (which can be extruded into 3D) using **Cubic Bézier curves**. The core logic is found at the bottom of the script, where the mathematical functions for Bézier curves are defined, and the `bezier_polygon` module converts a set o...
faces_segment = 6; textstring1="Ernie"; textstring2="Bert"; HiddenText="Best greetings"; special_character=9829; distance_special_char = .5; textsize1=16; textsize2=16; distance=1.1; fontname1="Spicy Rice"; fontstyle1="Regular"; fontname2="<same as fontname1>"; fontstyle2="<same as fontstyle1>"; base_radiu...
glb/cad_6f0ee5639f76.glb
Create a Tslot to Lego connector. Start with a rectangular base block measuring 32mm in length, 20mm in width, and 5mm in height. On the top surface of this base, add four cylindrical knobs. Each knob must have a diameter of 5.1mm and a height of 2mm. Position these knobs in a row along the center length of the block...
knob_diameter=5.1; knob_height=2; knob_spacing=8.0; wall_thickness=1.45; roof_thickness=1.05; block_height=9.5; pin_diameter=3; post_diameter=6.5; reinforcing_width=1.5; axle_spline_width=2.0; axle_diameter=5; cylinder_precision=0.5; block(4,1,1,axle_hole=false,reinforcement=true); translate([-12,6,0]) difference(){...
glb/cad_1035507af871.glb
Create a Creality Ender 3 X-axis switch cover. Start with a main body that is a rounded rectangular extrusion 34mm high, with a footprint of 31mm by 33mm and corner radii of 11mm. The walls should be 2mm thick. Hollow out the interior to create a cavity, leaving a 2mm wall. At the four corners of the base, create cou...
$e=0.05; $fn=36; height=34; wall=2; mountheight=12; B=31; Xcover(); module Xcover() { difference() { rounded_extrude(B, height, 11); translate([-B/2, -B/2, -$e]) csk_screwhole(3.2,height+$e*2); translate([B/2, -B/2, -$e]) csk_screwhole(3.2,height+$e*2); translate([B/2, B/2, -$e]) ...
glb/cad_4571fb83abcf.glb
Create a Lego Breadboard / Monkey bar LED holder and Analog Camera Mount. Start by constructing a rectangular block measuring 20mm in length, 10mm in width, and 10mm in height. From this block, remove a vertical cylindrical hole with a radius of 4mm that passes completely through the top and bottom faces. Additionally,...
include <dr.robotlabs.led.lego.monkey.bar.mount.scad> translate([-15,-39,0]) rotate([0,0,90]){ difference(){ cube([20,10,10]); translate([5,5,0]) cylinder(r=8/2,20); rotate([90,0,0]) translate([15,5,-10]) cylinder(r=8/2,20); } } translate([0,10,0]){ ledholder(); translate([0,-10,0]) newpivot(); } translate([20.2,-...
glb/cad_7377fb61dbb1.glb
Create a Lego-compatible breadboard mount. Start by constructing a base block that is 3 units wide, 3 units long, and 9.5mm high. The base should have a total width of 25.45mm and a total length of 25.45mm, featuring a hollowed-out center with a roof thickness of 1.05mm and wall thickness of 1.45mm. On the top surface,...
knob_diameter=5.1; knob_height=0; knob_spacing=8.0; wall_thickness=1.45; roof_thickness=1.05; block_height=9.5; pin_diameter=3; post_diameter=6.5; reinforcing_width=1.5; axle_spline_width=2.0; axle_diameter=5; cylinder_precision=0.5; difference(){ union(){ block(3,3,1,axle_hole=false,reinforcement=true); translate([...
glb/cad_c9038bbafcaf.glb
Create a Lego Breadboard / Monkey bar LED holder. Start with a main rectangular block measuring 56mm in width, 46mm in depth, and 21mm in height. From this main block, remove a smaller rectangular section from the center, leaving a wall thickness of 4.5mm on the sides and 4mm from the top, creating an open-topped rec...
x = 56; y = 46; z = 21; h=8; mainunit(); translate([2,y/2+3,-2.65]) rotate([0,-90,90]) base(); translate([0,50,0]) cover(); module cover(){ cz = 4; difference(){ cube([x,y,cz]); translate([x-21.5,y/2,cz-5]) cylinder(r=7.8,6); translate([x/2,y-2.25,cz-7]) cylinder(r=3/2,h=9); translate([x/2,2.25,cz-7]) cy...
glb/cad_57bf66d3754f.glb
Create a Lego Breadboard / Monkey bar LED holder. Start by constructing a rectangular base block with a width of 42.45mm, a length of 33.45mm, and a height of 9.5mm. This base should have a hollowed-out center, leaving a wall thickness of 1.45mm and a roof thickness of 1.05mm. On the top surface of this base, place a ...
knob_diameter=5.1; knob_height=0; knob_spacing=8.0; wall_thickness=1.45; roof_thickness=1.05; block_height=9.5; pin_diameter=3; post_diameter=6.5; reinforcing_width=1.5; axle_spline_width=2.0; axle_diameter=5; cylinder_precision=0.5; difference(){ union(){ block(5,4,1,axle_hole=false,reinforcement=true); translate(...
glb/cad_ad6b3d93eb6b.glb
Create a round tubing plug consisting of a rounded cap and a barbed shank. Start with a sphere of 25.4mm diameter, but scale it along the Z-axis by a factor of 0.75 to create a flattened dome. Remove the bottom half of this dome by cutting away everything below the center point with a large cube. Attached to the base...
OD = 25.4; wallThickness = 0.8; radialClearance = 0; shankLength = 15; aspect = 0.75; barbTaperAngle = 15; $fa = 1; $fs = 1; union() { difference() { scale ([1, 1, aspect]) sphere(d = OD); translate([0, 0, -OD]) cube(size = 2*OD, center = true); } bz = shankLength / 3; ...
glb/cad_3481a7cef015.glb
Create a Dr. RobotLabs LM12UU carriage for 30mm T-slot rails. The assembly consists of several geometric components: First, create two bearing supports. Each support is a block 32.5mm long, 24mm high, and 48.8mm wide. Subtract a horizontal cylinder with a radius of 11.2mm from the center of the block to create the mai...
config(); module config(){ brlen = 32.5; brhi = 24; m22rad = 22.4 /2; m12rad = 13.5/2; lmu12(brlen,brhi,m22rad,m12rad); m3rad = 3.9/2; m2_5rad = 2.8/2; m2_5_nut_diameter = 5.3; m3_nut_diameter = 6; m6rad = 6.5/2; xsp=47; ysp=10; zsp=8; x=0; y=25; z=14; rotate([0,0,-15]) translate([20,0,10]) spacer(xsp,ysp,zsp,x,y,...
glb/cad_14cb686ad433.glb
Create a carriage for a 30mm T-slot by starting with a rectangular base plate measuring 70mm in length, 30mm in width, and 4mm in height. On the top surface of this plate, place two circular holes with a radius of 3.25mm; center these holes along the length of the plate, positioning each one 16.25mm from the nearest sh...
mountx = 70; mounty = 30; mountz = 4; margy = 13; margx = mountx/2; m6rad = 6.5/2; m3rad = 3.5/2; m8rad = 9/2; motrad = 11.5; difference(){ cube([mountx,mounty,mountz]); translate([m6rad*2.5,margy,0]) cylinder(r=m6rad, h=5); translate([mountx-m6rad*2.5,margy,0]) cylinder(r=m6rad, h=5); } mmx = 42; mmy = 30; m...
glb/cad_5bdaaec5ee1a.glb
Create a carriage for a 30mm T-slot linear motion bearing. Start with a rectangular base plate measuring 80mm in length, 39mm in width, and 4mm in height. On the top surface of this plate, create two circular holes with a radius of 3.25mm; position the center of the first hole 16.25mm from the left edge and 13mm from t...
mountx = 80; mounty = 39; mountz = 4; margy = mounty/3; margx = mountx/2; m6rad = 6.5/2; m3rad = 4.5/2; motrad = 11.5; difference(){ cube([mountx,mounty,mountz]); translate([m6rad*2.5,margy,0]) cylinder(r=m6rad, h=5); translate([mountx-m6rad*2.5,margy,0]) cylinder(r=m6rad, h=5); } mmx = 42; mmy = 42; mmz = 8...
glb/cad_0c790381c1ca.glb
Create a print-in-place dual fidget ring consisting of two concentric, interlocking rings. The design is based on a finger diameter of 20mm, a total height of 4.5mm, and a gap width of 0.6mm. First, construct the inner ring. Create a hollow cylinder with an inner diameter of 21.2mm and an outer diameter of 22mm. The w...
$fn=64; use <knurledFinishLib_v2.scad> dia_finger=20; ring_h=4.5; overall_inner_chamfer=.5; inner_w=1; outer_w=2; gap_w=.6; ridge_w=1.2; click_r=ridge_w; tworingdist=5; clicks=0; fidgetring(dia_finger+2*overall_inner_chamfer,ridge_w, inner_w, outer_w, gap_w,ring_h); translate([0,0,ring_h]) chamferring(dia_...
glb/cad_96b46a81f3fb.glb
Create a tablet mount for a Concept2 rower consisting of a backplate and two supporting arms. Start by creating a rectangular backplate 80mm wide, 40mm deep, and 2.5mm thick with rounded corners of 5mm radius. In this backplate, create six hexagonal nut-shaped holes with a diameter of 6.2mm: four located near the cor...
$fn=50; BACKPLATE_DEPTH=40; BACKPLATE_WIDTH=80; BACKPLATE_HEIGHT=2.5; BACKPLATE_RADIUS=5; BACKPLATE_SCREW_DIAMETER=3; MOUNT_SCREW_DIAMETER=6; MOUNT_ARM_WIDTH=16; MOUNT_ARM_DEPTH=27.6; MOUNT_ARM_HEIGHT=3; MOUNT_ARM_PLUGHEAD_DIAMETER=18; CONCEPT2_WIDTH=70; CONCEPT2_ANGLE=asin(10/150); CONCEPT2_HEIGHT=25; CONCEPT2_AR...
glb/cad_ddfcd2542336.glb
Create a Bowden universal adapter for M10 fittings. Start with a rectangular base plate measuring 60mm in length, 25mm in width, and 7mm in thickness. Center the plate on the origin. Remove two vertical cylindrical holes for mounting screws, each with a radius of 1.5mm, positioned at the center of the plate's width an...
manigofset=0.1; screwdist=50; mounting_screw=3; mount_length=60; mount_width=25; thickness=7; fittingdiameter=10.1; fitting_screw_deep=5.5; hotend_diameter=16; hotend_thickness=5; filament_hole=2.5; $fn=50*1; module plate();{ difference(){ cube([mount_length,mount_width,thickness],center=true); translat...
glb/cad_658d4fee715c.glb
Create a customizable cogwheel with a total thickness of 2mm. Start with a central circular disk with a radius of 5mm. Remove a concentric circular hole from the center with a radius of 2mm (40% of the outer radius). Around the perimeter of the disk, add 8 equally spaced, protruding teeth. Each tooth should be construc...
r = 5; depth = 2; axis_scale = 0.4; num_teeth = 16; tooth_l = r; tooth_w_scale = 4/num_teeth; tooth_w = tooth_l * tooth_w_scale; module 2teeth(pos,angle) { translate(pos){ rotate(a = angle) { polygon(points=[[-tooth_l,-tooth_w/2],[tooth_l,-tooth_w/2],[tooth_l+tooth_l/4,-tooth_w/4],[tooth_l+tooth_l/4,tooth_w/...
glb/cad_716ada410295.glb
Create a USB Volume Case consisting of an enclosure and a cover. To build the enclosure, create a hull from two cylinders with a radius of 6.5mm and a height of 45.5mm, positioned at x = -8mm and x = 8mm. From this shape, remove a central rectangular block of 18.4mm width, 11mm height, and 45.5mm length, starting at ...
$fn=32; board_length = 44; board_width = 18.4; board_height = 11; board_front_height = 7; radius = (board_height + 2) / 2; width = 16; front_mergine = 1.5; case_length = board_length + front_mergine; top_space_length = 22; cover_length = 12; cover_thickness = 1.5; cover_tab_thicness = 1; tab_length = 7; usb_inle...
glb/cad_6282f01ab2bc.glb
Create a print-in-place fidget ring centered around a 20mm finger diameter. The structure consists of three concentric rings stacked vertically with a total height of approximately 18.5mm. Construct the inner core as a series of chamfered cylinders. The innermost section is a cylinder with a 20mm diameter and a height...
$fn=64; use <knurledFinishLib_v2.scad> use <Getriebe.scad> dia_finger=20; ring_h=3; overall_inner_chamfer=.5; inner_w=1; outer_w=2.7; gap_w=.4; ridge_w=1.2; click_r=ridge_w; tworingdist=9.25; clicks=0; fidgetring(dia_finger+2*overall_inner_chamfer,ridge_w, inner_w, outer_w, gap_w,ring_h,1); translate([0,0,ring...
glb/cad_160be3b372ca.glb
Create a print-in-place fidget ring centered around a 20mm finger diameter. The structure consists of concentric rings with a total height of 3mm. Construct the main body using a series of chamfered rings. The innermost section is a cylinder with a 20mm diameter. Build outward with a wall thickness of 1mm and a gap o...
$fn=64; use <knurledFinishLib_v2.scad> use <Getriebe.scad> dia_finger=20; ring_h=3; overall_inner_chamfer=.5; inner_w=1; outer_w=2.7; gap_w=.6; ridge_w=1.2; click_r=ridge_w; tworingdist=9.25; clicks=0; fidgetring(dia_finger+2*overall_inner_chamfer,ridge_w, inner_w, outer_w, gap_w,ring_h,1); translate([0,0,ring...
glb/cad_7d55f244df9e.glb
Create a pair of customizable glasses. Construct two identical rectangular frames for the lenses, each 70mm wide, 50mm high, and 4mm deep. Give these frames rounded corners with a radius of 10mm. Hollow out the center of each frame by creating a smaller internal rounded rectangle that is 12mm smaller in both width and ...
use <write/Write.scad> Square_or_Circle=0; Frame_Length=70; Frame_Border_Width=12; Rounded_shape=10; Frame_Height=50; Frame_Depth=4; Nose_Frame_Length=30; Nose_Frame_Placement=12; Ear_Frame_Length=125; Ear_Frame_Height=8; Ear_Frame_Distance=2; right_text="Makerbot"; left_text= "Glasses"; Text_Depth=2; Text_Height...
glb/cad_cc1ff2b2683c.glb
Create a Finger Pin for a Hinged Gear. Start by creating two parallel cylinders, each with a radius of 4mm and a length of 35mm. Position these cylinders so their centerlines are 15mm apart. Cap the end of each cylinder with a hemisphere of the same 4mm radius. Connect the two cylinders at the opposite end with a soli...
insideDist = 7; outsideDist = 23; penLength = 35; radius = (outsideDist-insideDist) / 4; distOfCenters = outsideDist - 2*radius; $fn=80; module gearedHingePin() { difference() { union() { translate([0,0,radius]) rotate([0,90,0]) cylinder(r=radius,h=penLength); ...
glb/cad_f0cc8722412c.glb
Create a bearing pillow block with a total thickness of 9mm. The main body consists of a circular housing centered 14mm above a rectangular base. The housing has an outer radius of 13.1mm and contains a central vertical hole with a diameter of 22.2mm to accommodate a bearing. At the top of the housing, add a retaining ...
bearing_outer_diameter = 22.2; bearing_center_height = 14; bearing_block_thickness = 9; bearing_OD_pillowblock_thickness = 2; mounting_hole_diameter=3.6; mounting_hole_spacing = 35; countersink_diameter = 6.9; countersink_thickness = 2.5; set_screw_diameter = 0; base_thickness = 4; base_fillet_radius = 4; ba...
glb/cad_946428ca87b8.glb
Create a protective case for a Fido U2F security key. Start by constructing a solid rectangular block with a width of 2.12mm, a depth of 15.4mm, and a height of 35.5mm. From this main body, remove a central rectangular volume to create a hollow slot that is 1.7mm wide, 15.4mm deep, and 18.5mm high, leaving the bottom a...
$fn=100; $nzl=0.4; $measuredWidth = 15.0; $measuredHeight = 35.5; $measuredThickness = 1.3; $measured2ndThickness = 2; $shrinkage = 0.4; $aW = $measuredWidth + $shrinkage; $aH = $measuredHeight; $aT = $measuredThickness + $shrinkage; $aT2 = $measured2ndThickness + $shrinkage; module key(){ cube([$aT, $aW, $aH ]); ...
glb/cad_98d0285b4113.glb
Create a two-part enclosure for a Bus Pirate electronics board. For the base, create a rectangular box with outer dimensions of 65mm by 42mm and a height of 9mm. Hollow out the center by removing a 61mm by 38mm by 6mm rectangular volume, leaving a wall thickness of 2mm. Cut two rectangular openings into the side walls:...
BPWallThickness = 2; module BPCaseBase() { difference() { cube([61 + (BPWallThickness * 2), 38 + (BPWallThickness * 2), 9], center = true); translate([0, 0, 1.5]) cube([61 , 38 , 6.01], center = true); translate([30, 0, 2]) cube([10 ,10 , 7], center = true); translate([-21.5, 0,0.5]) ...
glb/cad_5e5a7c2fc8de.glb
Create a customizable shoe horn with a total straight length of 100mm and a uniform thickness of 3mm. The object features a curved profile that transitions through three distinct radii. The main body follows a curve with a base radius of 30mm. The middle section of the curve is slightly flatter, using a radius 1.5 time...
height=100; thick=3; holesize=9; rad=30; rad_multiplier1=1.5; rad_multiplier2=2; angle_step=5; faces=10; width=rad*1.4; module stickballs(rot,low_z,high_z,low_r,high_r,round_low) { rotate([0,0,rot]) { translate([-low_r,0,low_z+(1-cos(rot))*round_low]) sphere(r=thick/2,center=true,$fn=faces); tran...
glb/cad_42ed540d936c.glb
Create a TestFeaturesCast model consisting of two separate geometric components. The first component is a rectangular block measuring 12mm wide, 50mm long, and 15mm high. Centered within this block, create a series of 20 cylindrical holes that pass completely through the 15mm height. These holes are arranged in two par...
module peakTest(){ translate ([20,55,1.25]) rotate ([90,270,0]) for (i= [1:10]){ scale ([1+((i-1)*.5),1,1]) translate([((i-1)*1.25)/(1+i),0, i*5]) cylinder (h=5, r= 5/2, $fn=3); } } peakTest(); module pillarTest(){ translate ([0,0,15/2]) difference (){ translate ([0,25,0]) cube (center= true,[12,50,15])...
glb/cad_aebae6e8fb64.glb
Create a Katana Holder consisting of two separate parts: a wall mount and a sliding holder. First, create the wall mount. Start with a rectangular base 12mm wide, 31mm deep, and 27mm high. Centered on the back of this base, add a cylindrical locking shaft with a diameter of 15mm and a height of 27mm. To secure the mou...
hilt_diameter = 40; scabbard_width = 24; scabbard_height = 30; thickness = 10; back_thickness = 21; groove_center = hilt_diameter/2 + thickness / 2 + back_thickness; inner_radius = scabbard_width / 2; outer_radius = inner_radius + thickness; front_distance = groove_center + scabbard_width / 2 + thickness; wall_l...
glb/cad_50f3bcf900a6.glb
Create a key ring consisting of a rounded, oval-shaped loop with a small gap for a clasp. The main body is formed by two parallel semicircles with a radius of 10mm, connected by straight sections to create an elongated oval. The total thickness of the ring's band is 4mm, and the overall length of the hole is 25mm. Th...
ring_diameter = 20; ring_thickness = 4; hole_length = 25; diameter = ring_diameter; rad = diameter/2; length=hole_length - 2*rad; rounded = 1; thickness = ring_thickness-2*rounded; overhang = 40; facets = 100; keyring(); module keyring(){ difference(){ ring(); clasp(); } } module clasp(){ ...
glb/cad_a41aa7029eac.glb
Create an Interstellar Imperial Army Trench Wall End with Turret. Start by constructing the main wall body using a combination of extruded profiles. Create a base profile that is 61.1mm wide and 50.15mm high, and add a secondary vertical section 12mm wide and 91.1mm high positioned at the side. Subtract a central recta...
use<gun mount.scad> use<Trench Wall.scad> use<Trench Wall End.scad> $fn=50; color("lightgrey") trenchEndWallWithTurret(); module trenchEndWallWithTurret() { translate([0,28.3,32.5])gunMount(); difference() { rotate([0,-90,-90]) { linear_extrude(8)basicProfile(); translate([0,0,8])linear_extr...
glb/cad_f58200cb979f.glb
Create a customizable phone stand starting with a central rectangular base plate measuring 75mm wide, 70mm deep, and 3mm thick. On the top surface of this base, center the text "RSX" using a bold sans-serif font. The text should be 45mm wide and 20mm high, embossed or cut through the plate to a depth of 6mm, positioned...
Text = "RSX"; TextHeight = 20; TextWidth = 45; TextPos = -2; difference() { translate([0,0,1.5]) cube([75,70,3],true); translate([0,TextPos,1.5]) resize([TextWidth,TextHeight,10]) linear_extrude(6) text(Text,halign = "center",font = "Liberation Sans:style=Bold"); trans...
glb/cad_e312bf65c6e4.glb
Create an Alphabet Miniature marker. Start by creating a circular base with a radius of 9.18mm and a height of 2.75mm. If a hole is requested, remove a concentric cylinder from the center of the base with a radius of 7.34mm. On top of this base, center a vertical rectangular block with a width of 13.77mm, a thickness ...
echo(version = version()); font = "Liberation Sans"; field_size = 20.4; theLetter = "W"; holeInTheBase=true; doubleArrow = true; arrow_width_mpl = 0.125; arrow_height_mpl = 0.25; base_radius = field_size * 0.9 / 2; base_height = base_radius * 0.3; letterbox_height = base_radius * 1.9; letterbox_width = base_radi...
glb/cad_6fc07cc28d93.glb
Create a GoPro Hero 3 Black Mount for Multiple Cameras. Start with a central disk that is 6mm thick and has a radius of 57mm. Drill a central vertical hole through the entire disk with a radius of 2.8mm. Around the perimeter of the disk, create five circular holes with a radius of 7mm and a height of 10mm. Position t...
$fn=200; distance = 40; offsetHeight = -14; difference(){ difference(){ cylinder(h = 6, r = 57, center = true); translate([40, -33, 0]) cylinder(h = 10, r = 7, center = true); rotate([0,0,72]) translate([40, -33, 0]) cylinder(h = 10, r = 7, center = true); rotate([0,0,144]) translate([40, -33, 0]) cylinder(h = 1...
glb/cad_d318e16a9996.glb
Create a spherical mount for six cameras by starting with a central cylinder 25mm high with a radius of 57mm. From this main body, remove a central vertical cylinder with a radius of 25mm and a height of 30mm, and a smaller concentric vertical hole with a radius of 2.6mm and a height of 80mm. To create the camera att...
$fn=200; distance = 40; offsetHeight = 4; difference(){ difference(){ cylinder(h = 25, r = 57, center = true); rotate([0,90,0]) translate([-12, 0, 55]) cylinder(h = 12, r = 12, center = true); rotate([0,90,72]) translate([-12, 0, 55]) cylinder(h = 12, r = 12, center = true); rotate([0,90,144]) translate([-12, 0,...
glb/cad_249fc832b8e5.glb
Create a GoPro Hero 3 Black Mount for Multiple Cameras Inc. spherical mount. Start by creating a main disc as a cylinder with a radius of 68mm and a height of 12mm, centered on the origin. Remove a smaller concentric cylinder from the center with a radius of 40mm and a height of 40mm. To create the camera slots, remove...
$fn=200; difference(){ difference(){ cylinder(h = 12, r = 68, center = true); translate([53.5, -16, 2]) cube(size = [21.5,59.5,10], center = true); rotate([0,0,60]) translate([53.5, -16, 2]) cube(size = [21.5,59.5,10], center = true); rotate([0,0,120]) translate([53.5, -16, 2]) cube(size = [21.5,59.5,10], center ...
glb/cad_64de43275c39.glb
Create a GoPro Hero 3 Black Mount by starting with a central rectangular block measuring 26mm wide, 122mm long, and 28mm high, centered on the origin. From this main body, remove four cylindrical holes, each with a radius of 12mm and a height of 12mm. Position two of these holes on the side face, centered at Y=15 and Y...
$fn=200; difference(){ cube(size = [26,122,28], center = true); rotate([0,90,0]) translate([-16, 15, 16.5]) cylinder(h = 12, r = 12, center = true); rotate([0,90,0]) translate([-16, -15, 16.5]) cylinder(h = 12, r = 12, center = true); rotate([0,90,0]) translate([-16, 45, -16.5]) cylinder(h = 12, r = 12, center = t...
glb/cad_79c795e7cd83.glb
Create a GoPro Hero 3 Black Mount base by starting with a central cube measuring 28mm x 28mm x 27mm, centered at the origin and shifted 13.5mm upward along the Z-axis. Surround this central block with a larger, flat rectangular base measuring 94.2mm x 94.2mm x 10mm, also centered on the origin. From this base, remove f...
translate([0, 0, 13.5]) cube(size = [28,28,27], center = true); difference(){ cube(size = [94.2,94.2,10], center = true); translate([24.5, -16, 5]) cube(size = [21.5,59.5,10], center = true); translate([16, 24.5, 5]) cube(size = [59.5,21.5,10], center = true); translate([-24.5, 16, 5]) cube(size = [21.5,59.5,10], ...
glb/cad_ee95f24dd357.glb