Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Customizer Bin with outside dimensions of 100mm width, 100mm depth, and 100mm height. The bin is a hollow shell with walls and a floor that are both 3mm thick. Start by creating the outer volume as a cube of 100mm x 100mm x 100mm. To create the hollow interior, remove a central block that begins 3mm from the ...
; ; ; 01_Select_Specified_Bin_Dimensions_AS = "Outside Dimensions"; 02_Specified_Bin_Width = 100; 03_Specified_Bin_Depth = 100; 04_Specified_Bin_Height = 100; Specified_Bin_Dimensions = [02_Specified_Bin_Width, 03_Specified_Bin_Depth, 04_Specified_Bin_Height]; 05_Wall_Thickness=3; 06_Floor_Thickness=...
glb/cad_2462090ecc76.glb
Create a Customizable Trophy Plate by first constructing a rectangular base 40mm long, 25mm wide, and 3mm thick. The base should have rounded corners with a radius of 4mm. Hollow out the center of this plate to create a thin-walled shell, leaving a bottom thickness of 1.6mm and walls that are 2mm narrower and shorter t...
Text1 = "Most"; Text1size = 5; Text1Ypos = 0; Text1font = "Times New Roman"; Text2 = "Enthusiastic"; Text2size = 5; Text2Ypos = -6; Text2font = "Times New Roman"; plen=40; pwidth=25; pthickness=3; cornerRad=4; $fn=100; module mkcircle(thickness) { linear_extrude(thickness) circle(r=cornerRad); } module mkbox...
glb/cad_d4541d632cab.glb
Create a blooming sith lightsaber consisting of a central hilt, a retractable blade, and six articulating arms. Start with the central hilt assembly. Create a pommel at the base, a handle section with a diameter of 29mm and a length of 188mm, and an emitter at the top. The emitter is a composite shape consisting of a...
part = "all"; handleType = "handleType1"; pommelType = "pommelType1"; ingnit = true; showBlade = true; looseCoef = 0.6; animation_rotation = false; animation_opening = false; debug = false; cutInQuarter = false; $fn = 40; ringDiameter = 36; ringThickness = 2; armAngle = animation_opening ?($t < 0.5 ? - 60 ...
glb/cad_3c5060756991.glb
Create a Faucet Cover mount consisting of a wide circular base and a central cylindrical pipe. First, create a hollow disc for the base with an outer diameter of 85mm, a height of 7.5mm, and a wall thickness of 1.6mm. The center of this disc should be hollowed out to accommodate a pipe. Next, construct a central cyl...
PrintThis = "mount"; InnerDiameter = 32.8; OuterDiameter = 85; Thickness=1.6; Height=7.5; WithPipe=true; PipeThickness=1.2; PipeLength=32; Tolerance=0.2; ShowRevision=true; module __Customizer_Limit__ () {} shown_by_customizer = false; include <./svn_rev.scad> $fa = $preview ? 2 : 0.5; $fs = $preview ? 1 : 0....
glb/cad_6032dc758e95.glb
Create a stackable storage caddy consisting of a container and a lid. The container has an inner length of 150mm, inner width of 120mm, and inner height of 60mm, with a material thickness of 4mm for the walls and base. All vertical corners should have a radius of 10mm. The container features a base and walls. The base...
Part = 1; Inside_Length = 150; Inside_Width = 120; Inside_Height = 60; Inside_Corner_Radius = 10; Front = 1; Bottom = 1; Sides = 1; Rear = 1; Material_Thickness = 4; Front_Cutout_Width_Percent = 90; Front_Cutout_Height_Percent = 90; Lip = 1; Lip_Gap = 0.6; Pattern_Type = 6; Pattern_Padding = 0; Pattern_...
glb/cad_5249635a8f42.glb
Create a customizable cogwheel assembly consisting of two concentric geared cylinders. First, construct a large, thin gear with a depth of 1.45mm. This gear should have 30 teeth, an inner radius of 7.265mm, and an outer radius of 8.305mm. Each tooth must have a top land width of 0.2mm and a space width of 0.2mm. At the...
numberOfTheetOfLargeWheel = 30; innerRadiusOfLargeWheel=7.265; outerRadiusOfLargeWheel=8.305; topLandWidthOfLargeWheel=0.2; spaceWidthOfLargeWheel=0.2; depthOfLargeWheel=1.45; cutoutRadius=0.925; numberOfTheetOfInnerWheel = 9; innerRadiusOfInnerWheel=1.8; outerRadiusOfInnerWheel=2.8; topLandWidthOfInnerWheel=0.2; spac...
glb/cad_2f046564f3e8.glb
Create a Flat PC Fan Adaptor to transition from a 140mm fan mount to a 120mm fan mount. Start by creating a lower square flange with a side length of 128mm (120mm plus 4mm walls on each side) and a thickness of 3mm. Center a circular hole with a diameter of 120mm through this flange. At each of the four corners, plac...
holeaccess="Cowling"; $fn = 128; smallsize=120; largesize=140; smallflange=3; largeflange=3; wallthickness=4.0; cowlingheight=15; smallholes=105; largeholes=124.5; smallholesize=4.5; largeholesize=4.5; module flange (size_fan,thick_wall,thick_flange,space_mount,size_mount) { difference(){ tran...
glb/cad_8272d3ae0f49.glb
Create a Flat PC Fan Adaptor with a thickness of 3mm. Start by creating a square outer frame measuring 140mm by 140mm. From the center of this frame, remove a square cutout of 120mm by 120mm, but leave small 3mm square sections at each of the four corners to maintain structural integrity. At each of the four corners o...
$fn = 256; FlangeWidth = 4.0; RadiatorSize = 140.0; RadiatorHoleSpacing = 124.5; RadiatorHoleDistToEdge = (RadiatorSize-RadiatorHoleSpacing)/2.0; RadiatorCutoutSize = RadiatorHoleSpacing - FlangeWidth; AdaptorThickness = 3.0; AdaptorCornerAngleSize = 3.0; SmallFanSize = 92.0; SmallFanHoleSpacing = 82.5; SmallFanFlan...
glb/cad_b6c248dbf984.glb
Create a Gorilla Superglue Bottle Holder by starting with an octagonal prism that is 40mm tall with a radius of 16mm. From the center of this prism, remove a complex internal void to create a socket. This void begins at the base and consists of a tapered cylinder 28mm high, starting with a radius of 5.2mm at the bottom...
module lid() { translate([0,0,0]) cylinder(r1=10.4/2, r2=16/2, h=28.0) ; translate([0,0,27.5]) cylinder(r1=18.8/2,r2=19.0/2, h=9.6) ; } ; module holder() { translate([-0,-0,0]) { cylinder(r=16, h=40, $fn=8) ; } } difference() { translate([0,0,...
glb/cad_d58521c6eb07.glb
Create a customizable gear consisting of a central ring and 17 radiating cogs. Start by creating a hollow cylinder with a height of 30mm, an outer diameter of 40mm, and an inner hole diameter of 20mm. Around the outer perimeter, add 17 equally spaced cogs. Each cog is formed by the union of two rectangular sections: ...
use <utils/build_plate.scad> build_plate_selector = 0; build_plate_manual_x = 100; build_plate_manual_y = 100; build_plate(build_plate_selector,build_plate_manual_x,build_plate_manual_y); internal_diameter=40; hole_diameter=20; height=30; res = 50; cogs=17; cog_length=20; cog_base_width=10; cog_base_height=...
glb/cad_f64001d6c325.glb
Create a Cryptex Ring with an outer diameter of 34mm, an inner diameter of 24.2mm, and a total height of 5mm. The main body is a thick ring constructed from 26 equal segments. Remove a central cylindrical core of 24.2mm in diameter and a specific unlock gap. This gap is a cutout created by the intersection of a cylinde...
use <Write.scad> $fn = 1*50; Text = "abcdefghijklmno1234567890"; maxChars = 26; opening_position = 1; font_type = "Letters.dxf"; font_position = 0; font_height = 6; font_depth = 0.3; diameter_in = 1*24.2; diameter_out = 1*34; diameter_channel = 1*30; channel_width = 1*6; radius_out = diameter_out/2; radius_in...
glb/cad_b48462ee4fb5.glb
Create an x-end motor idler block for a Prusa i3. Start with a rectangular base measuring 15mm in width, 14mm in height, and 14mm in depth. Center a cylindrical cutout through the width of the block to accommodate a rod; this cutout should have a diameter of 8mm and a height of 8.1mm. At each end of the block, create...
m3d=3+0.3; m3nd = 6.2+0.3; m3nh=2.8; m4d=4+0.3; m4shd=8.9+0.4; m4nd=7.8+0.3; m4nh=3.4; m5nd = 9+0.3; sbd=8; sbdh=8+0.1; hs=50; w=6; w4=4; x=sbd+w+w-1; y=15-1; hz=sbd+w+w; z=hz/2-1; difference() { translate([0,0,z/2]) cube([x, y, z], true); translate([0, 0, hz/2]) rotate([-90, 0, 0]) cylinder(y+1, sbdh/2, sbdh/...
glb/cad_416910e2cfdb.glb
Create a customizable hose holder by first constructing a rectangular base block measuring 33mm by 33mm with a height of 12mm. Apply a 2mm smoothing radius to all edges and corners of this block. Centered within this base, remove a cylindrical hole with a radius of 7.5mm and a depth of 12mm. Additionally, carve out a r...
use <smooth_prim.scad>; $fn=60; rotate([0, -90, 0]) difference() { SmoothHole(radius = 7.5, height=12.0, smooth_rad=2, position=[18.5, 18.5, 0]) SmoothXYCube(size=[33, 33, 12], smooth_rad=2); translate([21, 13.0, -0.1]) rotate([0,0,8]) cube(size=[16, 12.8, 12.2]); } translate([-6, 8.1, 32.9]) linear_extrude(...
glb/cad_bc64060e7680.glb
Create a hexagonal paintbrush holder with a total height of 72mm. Start by constructing a hexagonal base with a side length of 50mm and a height of 12mm. This base should be a hollow hexagonal ring with a wall thickness of 4mm. At the top of the model, create an identical hexagonal ring with a side length of 50mm and ...
off_set = 0.2; lenght = 50; width = 50; hight = 72; base_hight = hight/6; top_hight = hight/6; pillar_lenght = lenght/5; wall_thickness = 4; module hexagon(s=1, h=1) { cylinder(h=h, r=s/2, center=true, $fn=6); } module pillar() { hexagon(s=pillar_lenght, h=hight); } module mortise() { difference() { ...
glb/cad_a20f2dfd396d.glb
Create a Bench Dog for an MFT hole grid. Start by creating a cylindrical neck with a radius of 9.9mm and a height of 10mm. Atop this neck, place a conical head with a height of 8mm, tapering from a bottom radius of 12.5mm to a top radius of 11mm. Through the center of the entire assembly, create a conical hole that t...
benchdog = 20; hals = 10; kopf_h = 8; kopf_r1 = 12.5; kopf_r2 = 11; loch_r1 = 6; loch_r2 = 7.5; anschlag = true; anschlag_l = 12; $fa=1; $fs=0.4; epsilon = 0.1; benchdog_r = benchdog/2-epsilon; rotate([0,180,0]) difference(){ union(){ difference() { if (anschlag) { hull() ...
glb/cad_b860023b0889.glb
Create a Parametric Cross Drilling Fixture consisting of two main components: a base V-block and a top block. First, construct the base V-block as a rectangular prism with a width of 50mm, length of 70mm, and height of 20mm. Carve a V-shaped groove into the top face along the length of the block with a width of 10mm. ...
eps = 0.001; wxBlock = 50.0; wyBlock = 70.0; hBlock = 20.0; wGroove = 10.0; wSlit = 2.0; dSlit = 1.0; dScrewHoleClearance = 0.2; dScrewHeadHoleClearance = 0.3; tScrewHeadHoleClearance = 0.3; dHexNutHoleClearance = 1.1; tHexNutHoleClearance = 0.6; wSquareNutHoleClearance = 0.5; tSquareNutHoleClearance = 1.6; rFixture...
glb/cad_fdab560e84fd.glb
Create a torn heart pendant with a uniform thickness of 4mm. The primary shape is a heart created by extruding a heart symbol to a height of 4mm. This heart is split or "torn" by removing several geometric sections. First, remove a rectangular block measuring 30mm by 60mm, positioned to cut through a significant portio...
thick=4; translate([0,0,0]){ difference(){ translate([-27.9,0,0])color("red")linear_extrude(height=thick){text("Y",font="webdings",size=40);}; translate([-30,-10,0])cube([30,60,thick]); translate([0,0,0])cylinder(r=3,h=thick,$fn=4); translate([0,12,0])cylinder(r=3,h=thick,$fn=4); translate([0,24,0])cylinder(r=3,h=thick...
glb/cad_bb6244555cb8.glb
Create a torn heart pendant with a uniform thickness of 4mm. The main body is formed by a heart shape, 40mm in size, extruded to the 4mm thickness. This heart is split or "torn" by removing several geometric sections. First, remove a rectangular block measuring 30mm by 60mm, positioned to cut through a significant port...
thick=4; translate([0,0,0]){ difference(){ translate([-27.9,0,0])color("brown")linear_extrude(height=thick){text("Y",font="webdings",size=40);}; translate([-30,-10,0])cube([30,60,thick]); translate([0,0,0])cylinder(r=3,h=thick,$fn=4); translate([0,12,0])cylinder(r=3,h=thick,$fn=4); translate([0,24,0])cylinder(r=3,h=th...
glb/cad_a452be17bca1.glb
Create an RC 4WD Model Wheel Replacement with a total outer diameter of 62mm and a depth of 34mm. Start by constructing the main rim: create a hollow cylinder with an outer diameter of 62mm and an inner diameter of 53.6mm. Add two thin, circular reinforcement ribs (2mm radius) embedded within the inner wall of the ri...
$fn=64; wheel_rim_outer_diameter=62; wheel_rim_diameter=56.5; wheel_rim_inside_diameter=53.6; wheel_rim_depth=34; wheel_hub_diameter=18; wheel_hub_depth=wheel_rim_depth-5; offcenter=0; tolerance=0; hexaf = (6.35+0.5) * 2 / tan(60) + tolerance; hexaf_stub = 17; module hub_support(diameter=wheel_hub_diameter, sides...
glb/cad_1b369c1efa45.glb
Create a parametric air gap leak preventer designed as a trough with a central cylindrical void. Start by creating a main cylinder with a height of 34mm and an outer radius of 23.56mm (half of the 41.12mm clip diameter plus a 3mm wall thickness). Subtract a concentric inner cylinder with a radius of 20.56mm from the en...
clip_id = 41.12; trough_height = 34; trough_half_angle = 20; trough_length = 50; clip_wall_thickness = 3; clip_opening_angle = 45; $fa=1; $fs=0.2; module DrawRightWall( angle, height, length, thickness, offset) { translate( [offset,0,0]) rotate( [0,0,-angle]) translate([-thickness/2,0,0]) linear_extrude( hei...
glb/cad_a84ba32739e7.glb
Create a token holder and a matching lid. For the holder, create a rectangular block with a width of 72mm, a depth of 36mm, and a height of 25mm. Within this block, create two vertical cylindrical cutouts with a diameter of 36mm and a height of 20mm, positioned such that they leave a 5mm solid base at the bottom. The c...
$fn=50; token_diameter = 35; holder_height = 25; num_cols=1; magnets=1; magnet_diameter = 6; magnet_depth = 2; lid=1; magnet_diameter_adjusted = magnet_diameter + .2; magnet_radius = magnet_diameter_adjusted / 2; token_diameter_adjusted = token_diameter + 1; token_radius = token_diameter_adjusted/2; cube_length...
glb/cad_e5ce87388f22.glb
Create a Cilantro Saver consisting of two separate cylindrical parts: a base and a top. For the base, create a cylinder with a radius of 30mm and a height of 80mm. Hollow out the center of this cylinder by removing a smaller cylinder with a radius of 29.2mm and a height of 80mm, starting from a height of 1.6mm from the...
module base() { difference() { union() { cylinder(r=30,h=80,$fn=100); translate([0,0,72])cylinder(r=31,h=3,$fn=100); } translate([0,0,1.6])cylinder(r=29.2,h=80,$fn=100); } } module top() { difference() { union() { translate([0,0,5])cylinder(r=31,h=140,$fn=100); cylinder(r=31,h=5,$fn=100); ...
glb/cad_7d1562eda3e1.glb
Create a fixing for the roof by constructing a composite cylindrical shape. Start with a base cylinder 56mm in diameter and 4mm high. On top of this base, add a second, thinner cylinder with a diameter of 65mm and a height of 1mm, centered on the same axis. Finally, remove a central cylindrical core with a diameter of ...
hk=4; difference(){ union(){ cylinder(h=hk, d=56, $fn=60); translate([0,0,hk]) cylinder(h=1, d=65, $fn=60); } cylinder(h=100,d=50, center=true); }
glb/cad_3b23aebf4268.glb
Create a biohazard logo emblem with a total height of 4mm. Start by creating a central cylinder with a radius of 17mm and a height of 4mm. Around this center, place three identical outer ring segments spaced 120 degrees apart. Each segment is formed by taking a cylinder with a radius of 20mm and a height of 4mm, then r...
faces=120; hub=4; inner=16.1; cut=3.1; pos=24; pipe=17; difference(){ rotate([0,0,0])translate([20,0,0])color("black")cylinder(r=20,h=4,$fn=faces); rotate([0,0,0])translate([pos,0,-.1])cylinder(r=inner,h=4.2,$fn=faces); translate([0,0,-.1])cylinder(r=hub,h=4.2,$fn=faces); rotate([0,0,0])translate([0,-1,-.1])cube([10,2...
glb/cad_4bdc5a3df840.glb
Create a holder for a power tool battery with a main rectangular body measuring 90mm wide, 50mm high, and 58mm deep. At the center of the top face, carve out a spherical void with a radius of 37.5mm. Directly below the center of this sphere, create a tapered conical hole that starts with a diameter of 12.3mm at the bot...
use <roundCornersCube.scad> width = 90; height = 50; depth = 58; kabelbreite = 5; dickeBefestigung = 10; befestigungX = 30; befestigungZ = 25; befestigungRundung = 25; bohrungBefestigung = 8; steckerZ = 15; module eineBohrungBefestigung() { rotate([90,0,0]) cylinder(10+.5, d=bohrungBefestigung); } module example004...
glb/cad_a6804c1fd634.glb
Create a Pole Socket consisting of a circular base and a concentric vertical sleeve. Start by creating a flat circular base with a radius of 28mm and a height of 5mm. Remove four vertical holes from this base, each with a radius of 3.125mm and a depth of 20mm; position these holes symmetrically around the center at a d...
screw = 3.125; socket = 10; socketdepth = 20; wall = 5; baseheight = 5; difference(){ cylinder(r=socket+18, h=baseheight); translate([socket+12, 0, 0]) cylinder(r=screw, h=20); translate([-socket-12, 0, 0]) cylinder(r=screw, h=20); translate([0, socket+12, 0]) cylinder(r=screw, h=20); translate([...
glb/cad_da76aac60b39.glb
Create a screw holder for a Z stop with a main rectangular body measuring 40mm in length, 18mm in width, and 10mm in height, featuring rounded corners with a 2mm radius. On the top surface, centered along the width, carve a V-shaped slot that is 10mm wide and 2mm deep, extending along the length of the body. At one e...
debug = 0; $fn = (debug != 0) ? 12 : 72; body_width = 18; body_length = 40; body_height = 10; body_corner_radius = 2; slot_width = 10; slot_height = 2; slot_angle = 45; slot_margin = 0; slot_hole_offset_from_edge = 18; slot_hole_diameter = 5.2; slot_hole_sink_thickness = 6.5; slot_hole_sink_diameter = 12; screw_h...
glb/cad_6e7092f9f777.glb
Create a Z stop switch bracket with a rectangular main body measuring 48mm in length, 13.7mm in width, and 18mm in height. On the bottom side, remove a rectangular notch that is 7mm high, extending from the left edge to within 5mm of the right edge. At the bottom-left corner, create a diagonal chamfer by removing a 4...
debug = 0; $fn = (debug != 0) ? 12 : 72; body_width = 13.7; body_length = 48; body_height = 18; slot_width = 10; slot_thickness = 2; slot_angle = 45; slot_margin = 5; slot_hole_offset = slot_width/2 + slot_margin; slot_hole_height = body_height / 2; slot_hole_diameter = 5.2; slot_hole_sink_thickness = 6.5; slot_ho...
glb/cad_8d05d74658ac.glb
Create an ACME printed shotgun mic mount. Start with a main ring that has an outer radius of 40mm and a thickness of 10mm. On opposite sides of this ring, centered at X=14 and X=-14 and Y=-37, add two cylindrical knobs that are 17mm high, tapering from a radius of 4mm at the base to 2.67mm at the top. At the center of ...
angleThickness = 1.5875; angleweb = 19.05; lyreRadius = 40; lyreThickness = 10; cutoutModuleR = 25; cutoutvertShift = 5; notchDepth =1.5; notchWidth = 20; notchThickness = 3; cordKnob = 4; knobYShift = -37; knobXShift = 14; cordKnobHeight = 17; cordPegHeight = 8; pegRbase = 2.5; pegRtop = 1; pegXShift = knobXShift +...
glb/cad_d8bbae857a49.glb
Create a Logitech C920 Camera Robot Mount consisting of a main rectangular base and two vertical mounting posts. The base is a rectangular block measuring 105mm in width, 16mm in length, and 5mm in height. At each end of the base, add a square pillar measuring 10mm by 10mm and extending 20mm downwards. Position two id...
side = 1; sideb = 1.25; width = 5; length = 4; boostheight=8.25; height = 14; screwhole=1.5; minihole=1.2; postspacing=42; blockwidth=105; blocklength=16; blockheight = 5; m3hole = 1.8; m3postsize=10; m3postheight=20; rotate([90,0,0]){ difference(){ union(){ cube([blockwidth,blocklength,blockheight]); translat...
glb/cad_ffff67f06e86.glb
Create an XL Breadboard module base by starting with a rectangular block 200mm wide, 200mm deep, and 13mm thick. Hollow out the center of the top surface to create a recessed area measuring 172mm by 182mm with a depth of 21mm. Round the outer corners of the main base with a 3mm radius. On the top surface, create a gri...
$fn=100; difference() { minkowski(){ cube(size=[180,190,15], center = true); sphere(d=3, $fa=5, $fs=0.1); } translate(v = [0,0,-13]) { cube(size=[200,200,13], center = true); } translate(v = [0,0,-5]) { cube(size=[172,182,21], center = true); } translate(v = [-5,-2.5,0]) { translate(v = [70,85,5]) { cylinder(h=28, d=...
glb/cad_c3bf461ac5db.glb
Create a badge for an Omnitrix costume consisting of a main dial and a separate base plate. For the main dial, start with a central cylinder 5mm tall with a bottom radius of 12mm and a top radius of 10mm. Hollow out the center with a cylinder 4mm tall, starting 1.5mm from the bottom, with a bottom radius of 6.5mm and...
sideLengthGlobal = 200; armlenGlobal = 9; armheightGlobal = 3; theScale = 4; innerdepth = 2.5; selectordepth = 1.3; beveldepth = 1.5; magnetradius = 7.9375; magnetheight = 3.175; module omnitrix(sideLength=sideLengthGlobal, armlen=armlenGlobal, armheight=armheightGlobal) { offset = 7.4; color("Gray") diffe...
glb/cad_b4e207b1250c.glb
Create a Reuleaux Triangle for FDM consisting of a rotating inner piece trapped within a square outer case. First, construct the inner Reuleaux triangle by finding the intersection of three cylinders, each with a height of 6mm. Position the cylinders such that their centers form an equilateral triangle with a side le...
$fn = 100; tol = 0.05; tolerance=1; triwidth=35; height = 6; wall = 4; casewidth = triwidth+tolerance*2+wall*2; module faketri() { t = triwidth; h = sin(60)*t; c = sin(30)*t/2; translate([0,c/2-h/2,5]) linear_extrude(height = 10, center = true, convexity = 10) polygon(points = [ [-t/2, 0], [t/2,0], [0,h...
glb/cad_5190ef6cda6a.glb
Create a Reuleaux Triangle for FDM consisting of a rotating inner piece trapped within a square outer case. First, construct the inner Reuleaux triangle by intersecting three cylinders, each with a height of 6mm. The cylinders should be positioned such that their centers form an equilateral triangle with a side lengt...
$fn = 100; tol = 0.05; tolerance=1; triwidth=35; height = 6; wall = 4; casewidth = triwidth+tolerance*2+wall*2; module faketri() { t = triwidth; h = sin(60)*t; c = sin(30)*t/2; translate([0,c/2-h/2,5]) linear_extrude(height = 10, center = true, convexity = 10) polygon(points = [ [-t/2, 0], [t/2,0], [0,h...
glb/cad_3b99e43215f5.glb
Create a customizable box container consisting of a base and a lid. For the base, create a rectangular shell with outer dimensions of 130mm width, 70mm length, and 30mm height. The walls and the bottom floor must have a uniform thickness of 1mm. All vertical edges and corners should be rounded with a radius of 2.1mm. T...
part = 0; wall_thickness = 1.0; width = 130.; length = 70.; height = 30.0; offset_r = 2.1; lb_off = 15; pi = 3.14159; rad = 57.29578; $fn = 96; function edge_points_2d(width, length, thickness) = [ [0.0 - (width/2. - thickness), 0.0 - (length/2. - thickness)], [0.0 + (wid...
glb/cad_3403d1be4c08.glb
Create a 3D model of a rotary encoder. Start with a main cylindrical body 38.2mm in diameter and 33.2mm in height. On the top face of this body, center a smaller cylinder with a diameter of 20mm and a height of 4.86mm. Protruding from the center of this upper rim is a shaft with a diameter of 6mm and a total height of ...
MOD = 38.2; MZ = 33.2; ROD = 20.0; RZ = 4.86; SOD = 6.0; SZ = 12.77 + RZ; MH1O = 14; MH2O = 15; MHID = 3.0; MHZ = 6.2; CBZ = 27; CBOD = 5; CBL = 60; CGOD = 10; CGH = 1.6; fn = 50; eps = 0.03; module encoder() { difference() { union() { color("grey") translate([0,0,-MZ]) cylinder(d=MOD, h=MZ, $fn=fn); color...
glb/cad_f885a6319569.glb
Create a bracket for a rotary encoder. Start with a rectangular base measuring 76mm by 45mm with a thickness of 3mm. Centered on this base, add a smaller rectangular step measuring 45mm by 45mm with a height of 6mm. From the top surface, carve out a circular void to accommodate the encoder body, which has a diameter o...
gap = 0.6; MOD = 38.2+gap; MZ = 33.2; ROD = 20.0+gap; RZ = 4.86; SOD = 6.0; SZ = 12.77 + RZ; MH1O = 14; MH2O = 15; MHID = 3.0; MHZ = 6.2; CBZ = 27; CBOD = 5; CBL = 60; CGOD = 10; CGH = 1.6; fn = 50; eps = 0.03; module encoder1() { difference() { union() { color("grey") translate([0,0,-MZ]) cylinder(d=MOD, h=M...
glb/cad_e422f12a0070.glb
Create a bracket for a rotary encoder consisting of a rectangular base and a raised central platform. The base is a rectangular slab measuring 76mm by 45mm with a thickness of 3mm. Centered on this base, add a raised rectangular step measuring 45mm by 45mm with a height of 6mm. In the center of the raised step, carve ...
gap = 0.6; MOD = 39.0+gap; MZ = 33.2; ROD = 20.0+gap; RZ = 4.86; SOD = 6.0; SZ = 12.77 + RZ; MH1O = 14; MH2O = 15; MHID = 3.0; MHZ = 6.2; CBZ = 27; CBOD = 5; CBL = 60; CGOD = 10; CGH = 1.6; fn = 50; eps = 0.03; module encoder1() { difference() { union() { color("grey") translate([0,0,-MZ]) c...
glb/cad_76a84ad32e41.glb
Create an Aluminium Extrusion Bearing Holder by starting with a main cylindrical body that has a diameter of 17.5mm and a total height of 12mm. This cylinder serves as the primary bracket. From this main body, remove a central vertical hole with a diameter of 6mm that passes through the entire height. Additionally, cr...
bearing_diameter = 14.1; bearing_width = 5.5; bearing_shaft_hole = 6; bracket_strength = 2; bracket_bearing_wall = 1.7; distance_between_Bearing_Beam = 6; makerBeam_width = 10; makerBeam_height = 10; makerBeam_depth = 16; screws_dia = 3; screws_distance = 8; $fs = 0.1; $fa = 3; total_height = bracket_strength + m...
glb/cad_045012caed53.glb
Create a Hive game figure base and piece. First, construct the base as a hexagonal prism with a height of 12mm and a width of 36.95mm. This base should be a six-sided polygon rotated by 30 degrees. Next, create the figure piece to fit inside this base. Start with a cylinder that has a radius of 16mm and a height of 1...
in=1; file="VC.stl"; oh=12; ow=36.95; dt=0.01; hh=12; size=32; tobottomfig=9.45; scale=1.7; module figure(deltah=0) { intersection() { cylinder (h=hh+deltah+dt*2,r=size/2); translate([0,0,tobottomfig-tobottomfig*scale]) scale ([1,1,scale]) difference() { translate([0,0,dt])cylinder (h=hh-2*dt,r=si...
glb/cad_70448933c0b4.glb
Create a two-section customizable storage box with a lid. The main body is a rectangular container with a width of 130mm, length of 70mm, and height of 30mm. The walls and floor have a uniform thickness of 1mm. All exterior vertical edges and corners must be rounded with a radius of 2.1mm. Divide the interior of the ...
part = 0; wall_thickness = 1.0; width = 130.; length = 70.; height = 30.0; offset_r = 2.1; group_along_ratio = 0.5; assert ( (group_along_ratio == -1 || (0.1 <= group_along_ratio && group_along_ratio <= 0.5 ) ) , "Group along ratio valid values: [0.1:0.5] or -1!" ); lb_off = 15; pi = 3.14159; rad = 57.29578; $...
glb/cad_d91e1b535ef6.glb
Create a spool holder base by starting with a central cylinder that has a height of 20mm, a bottom radius of 45mm, and a top radius of 5mm. From this conical shape, remove a central vertical hole with a radius of 5mm. To create the bearing seat, remove a larger cylindrical section from the center of the cone, startin...
r = 45; h = 20; w = 20; br = 11.15; bh = 7; ir = 5; t = 4; e = 0.02; $fn = 50; intersection() { difference() { cylinder(r1=r, r2=ir, h=h); translate([0,0,-e]) intersection() { cylinder(r=br+e, h=h+e); cylinder(r1=br+bh+e, r2=ir, h=br+bh-ir+e); } cylinder(r=ir, h=h+e); } union() { ...
glb/cad_63d674ffdd2a.glb
Create a Multi-Rounded Container with an outer width of 100mm, a height of 40mm, and a depth of 200mm. The overall outer shape should be a rounded rectangular prism where all vertical edges and the four top corners are rounded with a radius of 10mm. The container features a hollowed-out interior divided into a grid of...
Outer_Container_Width = 100; Outer_Container_Height = 40; Outer_Container_Depth = 200; Radius_InnerAndOuter_Edges = 10; Wall_InnerAndPartition_Thickness = 1.5; Number_Inner_Cell_Rows = 3; Number_Inner_Cell_Columns = 2; makeContainer( Outer_Container_Width, Outer_Container_Height, Outer_Container_Depth, Radius_I...
glb/cad_54f7c042c210.glb
Create a tablet stand for a Nexus 7 with an integrated wireless charger holder. The main body of the stand is a solid base that incorporates a circular cutout to house a charging pad. This cutout consists of a primary cylindrical void 70mm in diameter and 10mm deep, with a smaller concentric ring removed from the botto...
hex=0; $fn=200; module zaryadka() { difference() { cylinder (h=11, r=24.5); cylinder (h=11.01, r=19.50); } cylinder (h=10, r=35); rotate([0,0,233]) translate([-6.75,13,0]) cube ([13.5,66,8]); } module stand (file, mv) { difference() { union () { import (file); translate(mv) rotate([245,0,...
glb/cad_8ebb11ddf90d.glb
Create a MakerBot Customizer Test container. Start by creating a solid rectangular block with a width of 100mm, a height of 40mm, and a depth of 200mm. All outer edges and corners of this block must be rounded with a radius of 10mm. Inside this outer shell, carve out a grid of six rectangular cells arranged in 3 rows ...
Outer_Container_Width = 100; Outer_Container_Height = 40; Outer_Container_Depth = 200; Radius_InnerAndOuter_Edges = 10; Wall_InnerAndPartition_Thickness = 1.5; Number_Inner_Cell_Rows = 3; Number_Inner_Cell_Columns = 2; makeContainer( Outer_Container_Width, Outer_Container_Height, Outer_Container_Depth, Radius_I...
glb/cad_54f7c042c210.glb
Create a cookie cutter in the shape of the Greek letter Pi ($\pi$) using a bold, sans-serif font. The model consists of a thin vertical cutting wall and a wide, flat base flange. First, generate the outline of the Pi symbol with a font size of 60mm. Create the cutting wall by extruding this outline vertically to a he...
wallThick = 2; cutterMinimum = 0.4; baseHeight = 2; height = 15; flangeWidth = 6; fontSize = 60; fontName = "Comic Sans MS:style=Bold"; cutterText="π"; cutter(); flange(); module flange(){ difference(){ minkowski(){ baseShape(baseHeight/3); cylinder(r = flangeWidth, h = baseHeight/3); } translate([0,0...
glb/cad_a27407ae2d40.glb
Create a peg board accessory hook with a U-shaped profile. Start by creating two mounting pegs, each consisting of a sphere with a diameter of 7.35mm centered on a cylinder with a radius of 3.25mm and a height of 5.5mm. Position these two pegs 25mm apart from center to center. Connect these pegs with a rectangular mai...
peg_item = "U"; end_arm_percentage=25; peg_length = 20; add_shelf_support = "N"; hook_width_percentage=100; drop_bottom_arm = 0; hole_size = 7; tolerance = 5; backing_board = 6; peg_offset = 25; sphere_size=hole_size*(1+(tolerance*.006)); cylinder_radius=(hole_size-.5)/2; object_width=hole_size*(hook_width_pe...
glb/cad_8d2e143de23d.glb
Create a parametric hose coupler consisting of three coaxial sections: an inlet, a transition cone, and an outlet. First, create the inlet as a hollow cylinder with an outer diameter of 45mm, an inner diameter of 40mm, and a length of 40mm. Below the inlet, create a transition cone that connects the inlet to the ou...
inlet_outer_dia = 45; inlet_inner_dia = 40; inlet_length = 40; outlet_outer_dia = 39.5; outlet_inner_dia = 34.5; outlet_length = 40; max_slope_angle_deg = 45; inlet_outer_radius = inlet_outer_dia / 2.0; inlet_inner_radius = inlet_inner_dia / 2.0; outlet_outer_radius = outlet_outer_dia / 2.0; outlet_inner_radius = outl...
glb/cad_2003e59e4ce8.glb
Create a rectangular tube cap consisting of a base and a tapered plug. Start by creating a solid rectangular base measuring 21mm by 21mm with a height of 4mm. Centered on this base, construct a main body that is a square prism 17.2mm wide and 17.2mm deep with a height of 20mm. Transform this prism into a frustum by tap...
$fn = 200; il = 17.2; ib = 17.2; ih = 20; bl = il - 7; bb = ib - 7; bh = ih; db = 1.3; maxw = 9; pul = 21; pub = 21; puh = 4; zup = 4; zop = -4; dl = (il + ib) * 2; dh = ih + 2; z1 = sqrt((il+zup)*(il+zup)+(ib+zup)*(ib+zup)); z2 = sqrt((il+zop)*(il+zop)+(ib+zop)+(ib+zop)); zh = ih; base(); translate([-pul/2, -...
glb/cad_d55f39580711.glb
Create a Smart Compact Temperature Calibration Tower consisting of a vertical stack of identical blocks, each 44.5mm wide, 10mm deep, and 10mm high. For each block, start with a base rectangular volume and incorporate the following geometric features: - On the front and back faces, engrave the specific temperature va...
$fn=36; BOTTOM = 230; TOP = 185; STEP = 0; CNT = 0; OnBACK = true; tower(BOTTOM,TOP,step=STEP,cnt=CNT,onback=OnBACK); module tower(bottom,top=0,step=0,cnt=0,onback=true) { lvls = (cnt>0?cnt-1:(step!=0&&top>0?abs(bottom-top)/abs(step):top>0?abs(bottom-top)/5:0)); inc = (step!=0?step:(top==0?-5:ro...
glb/cad_3c9e8012c064.glb
Create a simplified RC car model consisting of three identical units spaced 200mm apart along the X-axis. For each unit, construct a central chassis as a rectangular prism measuring 100mm in length, 60mm in width, and 10mm in height, centered on its local origin. Attach four wheels to the chassis: two on the left side ...
use <rueda_simple.scad> n = 3; d= 200; for (i=[0:n-1]) { translate ([i*d,0,0]) union (){ translate([30,0,0]) cube([100,60,10],center=true); translate([0,-30,0]) rotate([90,0,0]) rueda_simple(); translate([60,-30,0]) rotate([90,0,0]) rueda_simple(grosor=20, diametro=50); mirror([0,1,0]) { translate...
glb/cad_8bf2def04ff8.glb
Create a Cybermen Eye by constructing two concentric hollow cylinders of the same height and orientation. First, create a large outer ring with a diameter of 50mm, a height of 20mm, and a central hole with a diameter of 40mm. Next, create a smaller ring with a diameter of 20mm, a height of 20mm, and a central hole with...
module rueda_juan(grosor=20, diametro=50, diam_eje=15) { difference () { cylinder(r=diametro/2, h=grosor,$fn=100); cylinder(r=diam_eje/2, h=3*grosor,$fn=100, center=true); } } mirror([0,1,0]) { translate([0,30,0]) union() { translate([30,0,0]) rueda_juan(dia...
glb/cad_807741b07dc9.glb
Create a plasma cutter guide mount designed to clamp onto a cylindrical torch head. Start with a main body formed by the hull of a cylinder with a radius of 13.65mm and a height of 14mm, centered on the origin. This body should be merged with a horizontal cylinder acting as an axle with a radius of 4mm and a length of ...
bar_rad = 23.3/2; mount_ht = 14.0; mount_tk = 2.0; bearing_id = 8.0; axle_len = (bar_rad+mount_tk+7)*2 + 1; $fn=64; module mount() { difference() { union() { hull() { cylinder(h=mount_ht,r=bar_rad+mount_tk,center=true); translate([-4,-(bar_rad+mount_tk)-4,0]) rotate([0,90,0])...
glb/cad_240a331cd28b.glb
Create a cable holder with a total width of 50mm and a height of 10mm. The main body is a semi-circular band with a wall thickness of 5mm, designed to wrap around a cable with a diameter of 20mm. The inner diameter of the holder is 20mm, and the outer diameter is 30mm. Extend the band horizontally on both sides to cre...
dia_cable = 20; thickness = 5.0; total_width = 50; holder_height = 10.0; dia_screw = 3.2; chamfer = 2; $fn = 100; band_width = total_width/2 - dia_cable/2 - thickness; module base_shape(){ difference(){ union(){ color("blue") difference(){ circle(d=dia_cable+thickn...
glb/cad_dfeea30312c6.glb
Create a card holder and a matching lid. For the holder, start with a central rectangular base measuring 67mm by 92mm with a thickness of 5mm. At each of the four corners, add a vertical wall section that is 10mm wide and 10mm deep, extending upwards to a total height of 18mm. To facilitate card removal, create four se...
card_width = 63; card_length = 88; holder_height = 10; finger_notches = "yes"; finger_notch_radius=8; lid = "yes"; card_width_adjusted = card_width+4; card_length_adjusted = card_length+4; holder_height_adjusted = holder_height+3; lid_width_adjusted = card_width+8; lid_length_adjusted = card_length+8; union() { ...
glb/cad_1d3112772845.glb
Create a custom ring with an inner diameter of 18.14mm, a width of 6mm, and a wall thickness of 1.6mm. Start by constructing a hollow cylinder with these dimensions. On the outer surface of the ring, engrave the text "i <3 MakerBot" using a font size of 10mm. The text should be wrapped around the circumference of the r...
include <write/Write.scad> message = "i <3 MakerBot"; Font = "write/Letters.dxf"; font_size = 10; font_spacing = 0; ring_thickness = 1.6; ring_width = 6; ring_size = 18.14; inner_diameter = ring_size; inner_radius = inner_diameter/2; font_scale = font_size/10; spacing_factor = font_spacing/100; translate([0,0,...
glb/cad_89bdcf526503.glb
Create a customized ring with a width of 6mm and a wall thickness of 0.8mm. The ring should have an inner diameter of 18.14mm. Start by creating a solid cylinder with an outer radius of 9.97mm and a height of 6mm, centered on the origin. Remove a concentric inner cylinder with a radius of 9.07mm and a height of 7mm to ...
include <write/Write.scad> message = "i <3 MakerBot"; Font = "write/Letters.dxf"; font_size = 10; font_spacing = 0; ring_thickness = .8; ring_width = 6; ring_size = 18.14; inner_diameter = ring_size; inner_radius = inner_diameter/2; font_scale = font_size/10; spacing_factor = font_spacing/100; translate([0,0,r...
glb/cad_db7b9919d4b3.glb
Create a Tictac container holder as a rectangular box with an outer width of 44.5mm, a depth of 50.25mm, and a height of 20mm. The walls and base should have a uniform thickness of 1mm. Hollow out the center to create a main cavity that is 42.5mm wide and 48.25mm deep, leaving the 1mm base and walls intact. Divide th...
comp_x = 1; comp_y = 3; height = 20; thickness = 1; rounded_c = 0; width = comp_x * 43.5 + ((comp_x + 1) * thickness); depth = comp_y * 16.25 + ((comp_y + 1) * thickness); divider_h = height + 2 + thickness; module roundedBox(size, radius) { translate(size/2){ cube(size - [2*radius,0,0], true); cube(size - [...
glb/cad_7eaae0542302.glb
Create a parametric toggle switch mockup. Start with a central rectangular body measuring 29.5mm in width, 18.4mm in depth, and 17.35mm in height. On the bottom face of the body, add three flat terminal tabs. Each tab is a rectangular prism measuring 4.3mm by 0.5mm by 6mm. Position one tab centrally and the other two...
bX=29.5; bY=18.4; bZ=17.35; tabX=4.3; tabY=0.5; tabZ=6; centerX=0; centerY=14.7/2; endX=21/2; endY=8.8/2; screwDia=11.8; screwZ=10; tgDia2=4.8; tgDia1=2; tgZ=13.4; swAngle=20; nutFlat=14; nutThick=2; module body() { translate([]) cube([bX, bY, bZ], center=true); } module toggle() { union() { cylinder...
glb/cad_940813426904.glb
Create a ring-shaped earring with a gap. The main body is a partial torus with an inner radius of 10.01mm and a thickness of 2.01mm. The ring is not a full circle; it covers a 320-degree arc, leaving a 40-degree opening. The cross-section of the ring is slightly oval, squashed by a factor of 2 along the vertical axis. ...
ring_radius=10.01; ring_strength=2.01; ring_text = "TEST TEXT"; text_font="Noto Sans"; font_size=2.1; hole_diameter=ring_strength/3+0; text_vertical_offset=-0.25; degree_segment = 320; text_rotation=0; text_extrusion_ratio = 1.3; text_extrusion_height=ring_strength/text_extrusion_ratio; squish_factor = 2+0; ...
glb/cad_388c4df13187.glb
Create a parametric drilling template as a thin rectangular plate with a thickness of 0.8mm. The overall outer dimensions of the plate should be 40mm in width and 125mm in length. Cut a central rectangular window out of the plate that measures 20mm by 105mm, leaving a consistent border width of 10mm around all four e...
holeDistanceInX = 30; holeDistanceInY = 115; templateThickness = 0.8; drillingHoleDiameter = 2; borderWidth = 10; $fn=30; module drillingHole(x, y) { translate([x, y, 0]) cylinder(h = templateThickness, r = drillingHoleDiameter / 2); } difference() { cube([holeDistanceInX + borderWidth, holeDistanceInY +...
glb/cad_d4795cafe9ec.glb
Create a shower shelf hook consisting of a mounting clip and a hanging hook. First, construct the mounting clip designed for a 45° angled shelf. The clip has a thickness of 2.5mm for the top and bottom horizontal sections and 3mm for the vertical side. The upper inner length is 12mm, the lower inner length is 20mm, a...
upper_len = 12; lower_len = 20; inner_height = 15; clip_angle = 45; plate_height = 36; hook_depth = 20; use_hull = false ; eps=0.01; use <MCAD/boxes.scad>; rotate([-90, 0, -90]) showerPlateHook( upper_len = upper_len, lower_len = lower_len, alpha=clip_angle, hp = plate_height, dit = hook_de...
glb/cad_8a2bdf7c0b30.glb
Create a vertical shelf talker support bracket designed to hold a label plate. The bracket consists of a main vertical holder and a shelf-mounting base. First, create the vertical holder by placing two parallel walls, each 2mm thick and 20mm high, separated by a gap of 6mm. These walls should extend 20mm in length. ...
label_text = "Vente"; font_size = 20; font = "write/Letters.dxf"; shelf_thickness = 20; part= "bracket"; build_plate_selector = 0; build_plate_manual_x = 100; build_plate_manual_y = 100; build_plate(build_plate_selector,build_plate_manual_x,build_plate_manual_y); use <write/Write.scad> use <utils/build_plate.s...
glb/cad_8474ff5e8420.glb
Create a stackable post-it note holder by starting with a solid square tray that is 78mm long, 78mm wide, and 10mm high. The tray should have walls with a thickness of 2mm. From the center of the bottom face, remove a rectangular section to create a cutout that is 20mm wide and 10mm deep, extending upwards through the ...
length = 78; width = 78; height = 10; t = 2; open = 20; depth = 10; $fn = 50; e = 0.02; use <tray.scad>; use <hex.scad>; difference() { tray(length, width, height, t); difference() { translate([2*t,2*t,-e]) intersection() { cube([length-4*t, width-4*t, t+2*e]); hex(length, width, t+2*e, 6, t); ...
glb/cad_078e1f391001.glb
Create a stackable post-it note holder consisting of a honeycomb grid of hexagonal prisms. Each hexagonal prism must have a height of 5mm and a radius of 8mm. Arrange these prisms in a repeating pattern where the distance between the centers of adjacent hexagons is 1mm. The grid should extend to a total length of 78mm ...
module hex(l,w,h,s,t) { for (i=[0:3*s+sqrt(3)*t:l+2*s]) for (j=[0:sqrt(3)*s+t:w+s]) { translate([i,j,0]) cylinder(h=h, r=s, $fn=6); translate([i+(3*s+sqrt(3)*t)/2,j+(sqrt(3)*s+t)/2,0]) cylinder(h=h, r=s, $fn=6); } } hex(78,78,5,8,1);
glb/cad_474ebb0ba1b6.glb
Create a stackable post-it note holder tray. Start by forming a rectangular base with an interior floor area of 78mm by 78mm and a height of 10mm. Surround this floor with walls that are 2mm thick. The walls should not be simple straight blocks; instead, incorporate rounded outer corners with a radius of 2mm. To ensu...
length = 78; width = 78; height = 10; thick = 2; $fn = 50; e = 0.02; module c(l, w, h, r) { union() { translate([-r,0,0]) cube([l+2*r, w, h]); translate([0,-r,0]) cube([l, w+2*r, h]); cylinder(r=r, h=h); translate([l,0,0]) cylinder(r=r, h=h); translate([l,w,0]) cylinder(r=r, h=h); translate(...
glb/cad_518bde015419.glb
Create a cooling fan bracket for a 3D printer extruder. Start with a main rectangular block that is 60mm long, 18mm wide, and 13mm high. Remove a large section from the block to create an L-shaped profile with a side wall thickness of 12mm at the bottom. Cut a sloped face into the block at a 35-degree angle to serve ...
debug = 0; base_slop_angle = 35; base_hole_diameter = 3.3; fan_screw_hole_diameter = 2.5; base_side_thickness = 12; $fn = (debug != 0) ? 16 : 72; base_length = 60; base_top_thickness = 3; base_width = base_side_thickness + 6; base_height = base_top_thickness + 10; base_hole_vertical_offset = base_top_thickness +...
glb/cad_839c2e58d372.glb
Create a parametric hex screw knob. Start by forming the main body as a cylinder with a diameter of 30mm and a height of 15mm. Add a smaller concentric cylinder to the center with a diameter of 7.5mm and a height of 7.5mm. Carve a hexagonal hole through the center of the knob to accommodate a screw head; the hexagon s...
KNOB_HEIGHT=15; KNOB_DIAM=30; SCREWHEAD_FACETOFACE=8; SCREWHEAD_DEPTH=12; THRU_HOLE_DIAM=4; NUM_GRIP_CUTOUTS=20; GRIP_CUTOUT_DIAM=4; CUTOUT_RADIUS_ADJ=1; module FaceToFaceHex(width,height){ cube([width/sqrt(3),width,height],center = true,$fn=64); rotate([0,0,120])cube([width/sqrt(3),width,height],center = t...
glb/cad_65f8359ebedc.glb
Create an Inline Vacuum Air Filter Enclosure consisting of a central rectangular sleeve with two transitioning funnel ports. First, create a central rectangular frame to hold the filter. The inner void of this frame must be 151mm long, 102mm wide, and 13mm thick. Surround this void with a wall 5mm thick on all sides,...
render_filter_cube = false; render_inlet = true; render_outlet = true; filter_length = 150.5; filter_width = 101; filter_thickness = 13; wall_thickness = 5; gap_for_filter_length = 1; gap_for_filter_width = 1; length_of_transition_on_inlet = 50; length_of_transition_on_outlet = 50; gap_between_input_and_output = 0.5; ...
glb/cad_dfe0065f22f5.glb
Create a Custom Curtain Rod Holder with a total width of 35mm. The main body is a vertical block that transitions into a cylindrical cradle to hold a rod. Create a central vertical hole for the rod with a diameter of 26mm and a wall thickness of 10mm around the cylinder. The back of the holder, which mounts to the wa...
thicknessSupport = 10; thicknessStop = 5; diameterRod = 26; moreHolderHeight = 0; lessHolderHeight = 0; moreWallHeight = 40; distanceWall = 5; holderWidth = 35; diameterScrewThreads = 3; diameterScrewHead = 6; wallAnchorDistance = 4; bottomScrewUpDown = 5; topScrewUpDown = 0; bottomScrewLeftRight = 0; topScrewLeftRight...
glb/cad_e06e36d82f24.glb
Create a vertical dial indicator support designed to fit around two parallel 8mm bars. Start by constructing a central rectangular block 30mm wide, 20mm deep, and 19mm high. At each end of this block, centered on the 20mm depth, add a semi-cylindrical grip with a radius of 9mm and a height of 19mm. These grips should w...
$fn=50; module barras() { union() { translate([22.5,0,-221.5]) cylinder(h=443,r=4); translate([-22.5,0,-221.5]) cylinder(h=443,r=4); } } module presilha() { union() { difference() { cylinder(r=9,h=19); translate([-10,-3.5,0]) cube([10,7.5,19]); } translate([8.5,-3,0])...
glb/cad_1457c46af9c6.glb
Create a rectangular panel with dimensions 40mm by 40mm and a thickness of 2mm. In this panel, create two distinct types of "D-shaped" cutouts using a radius of 6mm and a flat-to-flat distance of 10.8mm. For the first cutout, create a double-D hole by centering a cylinder with a 6mm radius and subtracting two opposin...
$fn = 100; Radius = 6; Across_Flats = 10.8; Panel_Thickness = 2; difference() { translate([-10,-20,0]) cube([40,40,Panel_Thickness]); translate([0,0,-0.1]) Double_D_Hole(Radius, Across_Flats, Panel_Thickness+0.2); translate ([20,0,-0.1])D_Hole(Radius, Across_Flats, Panel_Thickness+0.2); } Chord_Angle(Ra...
glb/cad_a34e8ff5cbd0.glb
Create a handle connector for an aluminum pipe consisting of a 90-degree curved elbow. The main body is a thick-walled curved tube with an outer diameter of 36mm and an inner bore of 18mm, creating a wall thickness of 9mm. The elbow features a faceted, low-resolution geometry rather than a smooth curve. The structure...
module A() { hull() { cylinder(0.2,14,14); translate([0,-1,10])rotate ([13,0,0])cylinder(0.2,13.5,13.5); } rotate([12,0,0]) hull() { translate([0,1.1,10])cylinder(0.2,13.5,13.5); translate([0,0,20])rotate ([13,0,0])cylinder(0.2,13,13); } rotate([24,0,0])hull() { translate([0,4.2,19.5])cylinder(0.2,13,13); translate([...
glb/cad_e2bf8a6a1f1d.glb
Create a Cable Catcher designed to hold cables against a desk. Start with a main rectangular block that has a width of 30mm (calculated as 10mm plus 10mm per cable for 2 cables), a depth of 25mm to match the desk thickness, and a height of 3mm. From this base, remove a series of vertical holes to create cable slots. ...
desk_thickness = 25; cable_number = 2; build_plate_selector = 0; build_plate_manual_x = 50; build_plate_manual_y = 50; build_plate(build_plate_selector,build_plate_manual_x,build_plate_manual_y); use <utils/build_plate.scad> width = (10 + 10*cable_number); module cord_holder(){ difference(){ union(){ cube...
glb/cad_ccc623430933.glb
Create a Maxon Gearmotor Bracket designed to hold a motor with a 21.96mm body diameter and a 24.05mm collar. Start by constructing the bracket faceplate as a rectangular block 32mm wide, 22.5mm deep, and 2mm thick. The top edge of this faceplate should be rounded with a radius of 16mm. Attached to the back of the fac...
MOD = 21.96; MZ = 48.8; MCOD = 24.05; MCZ = 20.60; ROD = 10.0; RZ = 2.84; SROD = 6.0; SRZ = 4.17; SOD = 2.99; SZ = 8.4; SFOD = 2.57; SFZ = 3.25; MH1O = 8.5; MHID = 2.0; MHZ = 3; BRO = -45; CBZ = 47.23; CBOD = 1.1; CBL = 40; fn = 50; eps = 0.03; module motor1(gap=0.0) { difference() { union() { color("grey") ...
glb/cad_e6c38a064979.glb
Create a bottom platform for a collegeBot robot by extruding a 2D profile to a height of 6mm. Start with a solid rectangle measuring 65.7mm wide by 165.1mm long. On both the left and right edges, remove two rectangular notches measuring 6.3mm wide: one at the front from y=0 to y=38.7mm, and another from y=82.0mm to y...
bh = 1.9; bh_off = 3.2; th=1.2; th_off = 1.95; t_width = 3.5; xmax=65.7; ymax=165.1; xc=xmax/2; notch=6.3; cutout_len = 38; module tankBottomPlatform(){ difference(){ square([xmax,ymax]); for(x_jump=[0,xmax-notch]){ translate([x_jump,0]) square([notch,38.7]); translate([x_jump,82.0]) squa...
glb/cad_16ba21f516f7.glb
Create a speaker shelf for a collegeBot robot with a thickness of 5.8mm. The overall shape is a combination of a rectangular section and a rounded wing. Start with a rectangular base measuring 8mm in depth and 65.7mm in width. Attached to this is a wing formed by the convex hull of two shapes: a rectangle 15.8mm wide a...
botWidth=65.7; tabDepth=8; tabLength=6.3; module speakerShelf() { difference() { union() { square([tabDepth,botWidth]); hull() { translate([0,tabLength]) square([15.8,botWidth-2*tabLength]); translate([20.6,botWidth/2]) circle(r=20, $fn=60); } } tran...
glb/cad_df267b8ea3f6.glb
Create a top platform for a collegeBot robot by extruding a rectangular base of 65.7mm by 127mm to a height of 6mm. From this base, remove a rectangular cutout for a servo measuring 23.9mm by 12.1mm, positioned at x=26.5mm and y=114.9mm. Place two 1.2mm radius screw holes centered on the servo cutout's width, offset ...
bh = 1.9; bh_off = 3.2; th=1.2; th_off = 1.95; y_spk = 84.8; xmax=65.7; ymax=127; xc=xmax/2; servo_x=26.5; module topPlatform(){ difference(){ square([xmax,ymax]); translate([servo_x,ymax-12.1]) square([23.9,12.1]); for(x_loc=[servo_x-th_off,servo_x+23.9+th_off]) { translate([x_loc,ymax-12.1/2]...
glb/cad_25b3e1673b05.glb
Create a round rod clip wire holder with a total height of 6mm. Start by forming a main cylindrical body with a diameter of 12mm and a height of 6mm, using a 24-facet resolution. Integrate this cylinder with a rectangular block centered on the cylinder's edge, measuring 10mm in length, 12mm in width, and 6mm in height....
$fn = 24; rod_d = 8; rod_clip_ratio = 0.85; bracket_in_h = 4; bracket_in_w = 8; wall = 2; gap_w = 2; thickness = 6; clip_hole_w = rod_d*rod_clip_ratio; rod_clip_wire_holder(); module rod_clip_wire_holder() { difference() { union() { translate([(rod_d + wall), 0, 0]) cylinder(d=rod_d + (2*wall), h=thic...
glb/cad_b770701155eb.glb
Create two rod clips, each consisting of a C-shaped profile with a vertical gap to allow a rod to slide in. For the first clip, create a body with a height of 26mm. The inner profile is defined by two concentric arcs: a smaller inner radius of 6.1mm and a larger outer radius of 6.6mm. The walls should be approximatel...
part = "both"; left_diameter_upper_clip = 13.0; right_diameter_upper_clip = 12.0; label_upper_clip = "upper"; height_upper_clip = 26.0; distance_upper_clip = 2.0; enable_topmarker_upper_clip = 1; left_diameter_lower_clip = 4.0; right_diameter_lower_clip = 18.0; label_lower_clip = "lower"; height_lower_clip = ...
glb/cad_7e4e7b1a04e8.glb
Create a 3D model of a microservo SG90 9g motor. Start with a main rectangular body measuring 22.5mm in length, 12mm in width, and 16mm in height. Add a second rectangular slab on top of this body, measuring 32.5mm by 12mm by 2mm, positioned so it extends 5mm beyond the main body's front edge. Above this, add a third r...
$fn=200; SG90_motor(); module SG90_motor(){ union(){ translate([0,0,0]) rotate([0,0,0]) cube([22.5,12,16]); translate([-5,0,16]) rotate([0,0,0]) cube([32.5,12,2]); translate([0,0,18]) rotate([0,0,0]) cube([22.5,12,4.5]); translate([6,6,22.5]) rotate([0,0,0]) cylinder(4.5,6,6); trans...
glb/cad_38671df5df8d.glb
Create a Vinyl Record Groove model by starting with a central cube measuring 40mm in width, 40mm in depth, and 12mm in height. Carve a series of undulating, parallel grooves into the top surface of the cube. These grooves should be created by removing material using a series of rotated, thin rectangular slices. Each ...
width=40; height=12; faces=64; grooveheight=4; step=width/faces; slice=step/2; next_dist=width*.7; function arg(x)=x/width*360; function shift(x,shift_freq,shift_phase)=sin(shift_freq*arg(x)+shift_phase)*width/8; function rot(x,rot_freq)=(sin(rot_freq*arg(x))-0*.5*sin(5*arg(x)+50))*width/4; module groove_slice(x...
glb/cad_476955d23414.glb
Create a parametric small parts tray with a total footprint of 122.4mm width, 152.4mm length, and 39.1mm height. The tray consists of a solid block with a bottom thickness of 1.6mm and internal separators that are 1.2mm thick. Carve out a grid of buckets based on a row layout of [0.25, 0.25, 0.25, 0.25] relative to th...
enableHandle = true; layoutWidth = 122.4; layoutLength = 152.4; trayHeight = 39.1; separatorTickness = 1.2; bottomTickness = 1.6; roundedBucketEnabled = true; roundRadius = 7; rowLayout = [ 0.25, 0.25, 0.25, 0.25 ]; columnLayout = [ [ 1 / 3, 1 / 3, 1 / 3 ], [ 0.50, 0.50 ], ...
glb/cad_d75d22103380.glb
Create an RJ45 Keystone Receiver by starting with a solid rectangular block measuring 18mm wide, 25mm deep, and 9.9mm high. From this main volume, remove a central rectangular cavity starting 1.55mm from the left and right sides and 2.6mm from the front and back. This cavity should be 14.9mm wide, 19.44mm deep, and 7.9...
$fa = 5; $fs = 0.01; module rj45Receiver() { difference() { cube([18, 25, 9.9]); translate([1.55, 2.6, 0]) { cube([14.9, 19.44, 7.9]); } translate([1.55, 2.6, 7.9]) { cube([14.9, 16.25, 2]); } translate([1.55, 17.45, 7.2]) { rotate(v=[1, 0, 0], a=-27.3) { cube([14.9, 3.5, 3]); } } tran...
glb/cad_ed2eb0ee483f.glb
Create a Corrugated Secret Sign consisting of three hinged panels. Each panel is based on a height of 20mm. The panels are connected by a series of integrated hinges with a hinge radius of 1.5mm. Construct the panels as rounded rectangular blocks. For the middle panel, create a structure that allows it to fold between...
use <write/Write.scad> height = 20; characters = 3; letter1 = "A"; letter2 = "B"; letter3 = "C"; letter4 = ""; letter5 = ""; letter6 = ""; letter7 = ""; letter8 = ""; letter9 = ""; letter10 = ""; letter11 = ""; letter12 = ""; letter13 = ""; letter14 = ""; letter15 = ""; letter16 = ""; letter17 = ""; letter18 = ""; l...
glb/cad_144d0b6f7e64.glb
Create a 3D model of an E3D-v6 All Metal HotEnd. Start by building the base and lower body using a series of stacked cylinders: a cylinder with a radius of 8mm and height of 7mm at the bottom, followed by a cylinder with a radius of 6mm and height of 8mm, and another cylinder with a radius of 8mm and height of 8mm. Abo...
fnresolution = 0.4; detaillevel = 1; print_part(); module print_part() { e3d(); } module e3d() { difference() { union() { translate([0,0,0]) fncylinder(r=8,h=7); translate([0,0,6]) fncylinder(r=6,h=8); translate([0,0,13]) fncylinder(r=8,h=8); translate([0,0,20]) fncylinder(r=11.15,h=26); translat...
glb/cad_63d31d32422f.glb
Create a hanging mount for an Eagle Tree Vector. Start with a main rectangular base plate measuring 63mm wide, 61mm long, and 10mm thick. Carve a central rectangular recess into the top of the plate that is 35mm wide, 65mm long, and 6mm deep. Within this recessed area, create a raised central platform that is 35mm wi...
vector_l=61; pred_w=55; wall_thick=4; slot_len=12; slot_w=2; bracket_z=10; vector_w=35; vector_d=15; usb_w=10; roundness=4; $fn=40; bracket_w = pred_w + wall_thick + wall_thick; rotate([0,180,0]) { difference() { cube([pred_w + wall_thick + wall_thick, vector_l, bracket_z], center=true); translate([0,0,-wall_...
glb/cad_373980b62c36.glb
Create a Schnuti finger puppet toy consisting of two identical mirrored halves. For each half, construct an eye holder by creating a sphere with a radius of 9.45mm. From this sphere, remove a cube of size 18.9mm on each side and a central cylinder with a radius of 6.3mm and a height of 9.45mm to create a socket for a g...
module eyeholder(eyeradius) { difference() { sphere(r=eyeradius*1.5); translate([-1.5*eyeradius,-1.5*eyeradius,eyeradius]) cube(size=3*eyeradius,center=false); translate([0,0,eyeradius*0.75]) cylinder(h=eyeradius*1.5,r=eyeradius); }; }; module ring(radius, height) { difference() { cylinder(h=heigh...
glb/cad_65567598f79f.glb
Create a layered drawer box for small parts storage with a total width of 170mm, depth of 181mm, and height of 40mm. The structure consists of three separate rows stacked vertically, topped with a 1mm thick lid. For each row, construct a frame with outer walls 1mm thick. The frame should include vertical dividers to c...
test = false; w = 170; d = 181; h = 40; dwall = 1; cw = 0; latch = 1; latchd = dwall*4/6; back = true; nocut = 3; row = 3; part = 0; fixh = true; debug = 0; config=[ [ h/4, [ [ 1,1,1,1,1,1,1,1,2,3 ], [ ...
glb/cad_75d6003ec106.glb
Create a Twisted Torus Cheat Piece consisting of two joined sections. First, construct a rectangular block 35mm long, 13.32mm wide, and 3.78mm high. Carve a rectangular channel through the center of this block along its length; the channel should be 35mm long, 4.8mm wide, and 6mm high, centered at a depth of 4.26mm fro...
tolerance = 0.2; module p1(tol) { inner = 4.8 - tol*2; d1 = (13.32-inner)/2; inner2 = 9 - tol*2; d2 = (13.32-inner2)/2; h = 3.78 + tol; difference() { cube(size=[35,13.32,h]); translate([6,d1,-1]) cube(size=[35,inner,6]); translate([27+tol,-0.1,h]) rotate([0,45,0]) cube(size=[30,15,10]); translate([24...
glb/cad_a82c8e911e98.glb
Create a St Patrick's Day Chain consisting of 11 interlocking links arranged in a closed loop. Each individual link is composed of two identical shamrock-shaped plates, each with a thickness of 1mm. Each shamrock plate is created by extruding a three-leaf clover profile. To allow the links to interlock, remove a cyli...
Type=1; Links=11; T=1; Scale=30; module Shamrock(h){ scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-3.057506,16.708888],[-3.553250,34.685854],[-3.204347,47.940543],[-2.123063,57.100584],[-1.342863,60.341246],[-0.421667,62.793608],[1.725876,59.570553],[3.901054,56.637945],[...
glb/cad_53cbcad88d52.glb
Create a customizable ball mould by constructing a hollow hemispherical shell. Start with a solid sphere with a radius of 37mm (74mm diameter) and subtract a smaller concentric sphere with a radius of 35mm (70mm diameter) to create a wall thickness of 2mm. To open the mould and create a basin, remove the top half of th...
$fn = 60; dia = 70; th = 2; rad = dia / 2; dx = dia + (th * 2); rx = dx / 2; half(); module full() { translate([-rx - th,0,0]) half(); translate([ rx + th,0,0]) half(); } module half() { difference() { union() { translate([0,0,rx + 0.1]) sphere(r = rx); cylinder(r = rad * 3 / 4,h = rad); } trans...
glb/cad_8454c0345092.glb
Create a middle disk for a Moineau Paste Extruder Schmidt coupling. Start by creating a solid cylinder with a radius of 16mm and a height of 6.9mm. From the center of this disk, remove a smaller concentric cylindrical hole with a radius of 7mm and a height of 10mm to create a central bore. Additionally, remove three sm...
$fn=100; module disk() { union() { difference() { translate([0,0,0]) rotate([0,0,0]) cylinder(r=16,6.9,center=false); translate([0,0,0]) rotate([0,0,0]) cylinder(r=7,10,center=false); for ( i = [0 : 3] ) { rotate(i * 360 / 3,[0, 0, 1]) translate([0, 11.18, 0]) cylinder(r = 1.1...
glb/cad_d7594079f5b1.glb
Create a Moineau Paste Extruder coupling cover. Start with a main cylindrical body that has an outer radius of 36mm and a height of 43mm. Hollow out the center by removing a cylinder with a radius of 33mm and a height of 45mm, starting from 1mm below the base. Around the outer wall, create four identical nut holder as...
$fn=100; gap = 43; module cover () { union() { difference() { cylinder(r = 36,gap,center=false); translate([0,0,-1]) cylinder(r = 33,gap+2,center=false); for ( i = [0 : 4] ) { rotate([0,-90,(i * 360 / 4)]) translate([20,0,20]) window(); } } for ( i =...
glb/cad_b95a31a220f4.glb
Create a Moineau Paste Extruder end disk by starting with a solid cylinder that has a radius of 16mm and a height of 6.9mm. From this main body, remove a central hexagonal hole with a radius of 4.5mm and a depth of 3.9mm, as well as a smaller concentric circular hole with a radius of 2.6mm and a depth of 10mm. Addition...
$fn=100; module disk() { union() { difference() { translate([0,0,0]) rotate([0,0,0]) cylinder(r=16,6.9,center=false); translate([0,0,0]) rotate([0,0,0]) cylinder(r=4.5,3.9,center=false,$fn=6); translate([0,0,0]) rotate([0,0,0]) cylinder(r=2.6,10,center=false); for ( i = [0 : 3] ) { ...
glb/cad_db9d0bf55c39.glb
Create a guitar neck support consisting of a rectangular base and a vertical cradle. Start with a base plate measuring 84mm wide by 70mm long with a height of 5mm and rounded corners with a 3mm radius. On top of this base, center a vertical support block that is 74mm wide and 50mm long. This block has a total height o...
base_margin=10; base_height=5; base_round_rad=3; neck_width=60; neck_height=25; neck_round_rad=17.5; neck_to_ground=45; neck_margin=7; cutout_flatness_x=0.7; cutout_flatness_y=0.8; support_length=50; enable_arc_cutouts=1; arc_coef=70; support_width=neck_width+2*neck_margin; support_height=neck_height*cuto...
glb/cad_8a39f9961e43.glb
Create a Batman forearm blade by extruding a flat polygon to a height of 3mm. The polygon's footprint is defined by the following vertices in coordinates: start at 0,0, then move to -6,0, then to -24,25, then to -32,30, then to 0,30, and finally to 32,0 before closing the shape back at the origin.
linear_extrude(height = 3) polygon(points=[[0,0],[-6,0],[-24,25],[-32,30],[0,30],[32,0]]);
glb/cad_eb136f3efc9c.glb
Create a fan mount for a 20mm extrusion with a total height of 6mm and a thickness of 7.5mm. The main body is a central rectangular plate with a width of 109mm (105mm center-to-center distance plus 4mm) and a depth of 7.5mm. At each end of the plate, create a cylindrical mounting boss with an outer radius of 6mm. To ...
include <MCAD/nuts_and_bolts.scad> $fn=100 + 0; fan_ctc = 105; mounting_screw = 5; mounting_pos_customizer = 0; mounting_pos = mounting_pos_customizer / 100.0; offset = mounting_pos*(fan_ctc/2-4-15/2-3); height = 6; thickness = 7.5; radius_outer = 6; print_rectangular_bottom_edges = 1; difference(){ union(){ ...
glb/cad_c9fdd92467a5.glb
Create a hydroponics kit consisting of a main container and a lid. First, construct the container as a hollow cylinder with an outer diameter of 400mm, a height of 300mm, and a wall thickness of 2mm. Next, create a lid for the container. The lid should be a cylinder with a diameter of 404mm and a height of 15mm. Remo...
include <MCAD/units.scad> include <MCAD/materials.scad> use <MCAD/shapes.scad> use <plant_holder.scad> use <tube_connectors.scad> diameter = 40*cm; height = 30*cm; wt = 2*mm; nh = 6; module container(){ difference(){ cylinder(r=diameter/2, h=height); translate([0, 0, wt]) cylinder(r=diameter/2-wt...
glb/cad_3685b234f0ca.glb
Create a parametric spool box compartment with a height of 61mm. The main body is a curved section of a hollow cylinder with an inner diameter of 94mm and an outer diameter of 198mm. The arc length of the compartment is determined by dividing a full circle into 7 equal segments, with this specific model covering 4 of t...
Height = 61.0; InnerD = 94.0; OuterD = 198.0; Wall = 1.5; ScrewHole=3.0; MaxCompartmentInSpool = 7; NoOfCompartments=4; KnobType = 2; FaceNumber = 100; totalArc = (360/MaxCompartmentInSpool)*NoOfCompartments; angleSupport = false; size = (OuterD/2)+1; union(){ difference(){ union(){ mainBody(); fWal...
glb/cad_3e92b5222884.glb