Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a wax seal stamp consisting of a tiered cylindrical handle and a base. Start with a base cylinder 10mm high with a 15mm radius. On top of this, add a second cylinder 5.8mm high with a 12mm radius. Above that, create a conical transition section 12.8mm high that tapers from a 12mm radius at the bottom to a 15mm r...
quality = 25; input ="default_TNH"; seal_size = 10; Move_X = 0; Move_Y = 0; module stamp(){ difference(){ union(){ cylinder(h=10,r=15, $fn=quality); translate([0,0,10]) cylinder(h=5.8,r=12, $fn=quality); translate([0,0,15.8]) cylinder(h=12.8,r1=12, r2=15, $fn=quality); translate([0,0,28.6]) cylinder(h=14.9,r1=15, ...
glb/cad_ec07baa008ef.glb
Create two stationary feet for a printer. Each foot is a hollowed-out rectangular block with an outer width of 106mm, a depth of 30mm, and a height of 18mm. The main body features a floor thickness of 1.5mm and side walls that are 4mm thick. The interior of each foot is carved out to create a central opening, leaving...
$fn = 30; module mirror2(v = [1, 0, 0]) { children(0); mirror(v) { children(0); } } module tcube(x, y, z, tx = 0, ty = 0, tz = 0) { translate([tx, ty, tz]) { cube([x, y, z]); } } module tcyl(r, z, tx = 0, ty = 0, tz = 0) { translate([tx, ty, tz]) { cylinder(h = z, r = r, center = false); } } module ccu...
glb/cad_228984f4fd53.glb
Create a Statically Balanced Flycutter consisting of a main cylindrical body and a tool holder. First, construct the main body by combining two cylinders: a smaller upper shaft with a radius of 12.5mm and a height of 50mm, and a larger lower base with a radius of 29.8mm and a height of 28.8mm. Apply a 0.5mm chamfer t...
eps = 0.001; include <..\..\lib\threads.scad> wClearanceToolHolder = 0.1; wToolHolder = 10.0+wClearanceToolHolder; hToolHolder = 10.0; lToolHolder = 100.0; wToolHolderScrewSideCutOff = 6.0; rShaft = 25.0/2; hShaft = 50.0; rFlyCutter = 59.6/2; hFlyCutter = 28.8; angleFlyCutter = 8.0; campherFlyCutter = 0.5; diameterI...
glb/cad_cbd40084f7ad.glb
Create a Yazzo Keyed Swivel Mount. Start with a central trapezoidal key that has a base width of 12mm, a top width of approximately 7.4mm, a height of 7.4mm, and a thickness of 8mm. This key is centered and integrated into a flat rectangular base that measures 28mm in length, 8mm in height, and 8mm in thickness. On ei...
goldenratio = 1.618003399; joinfactor = 0.25; gDefaultThickness = 8; gDefaultKeyBase = 12; gDefaultKeyTop = gDefaultKeyBase/goldenratio; gDefaultKeyHeight = gDefaultKeyBase/goldenratio; gDefaultSeparation = 20; gDefaultOffset = 8; gDefaultBaseThickness = gDefaultThickness; gDefaultHolderIR = 5/16/2*25.4*1.1; gDefau...
glb/cad_c84f39f7f31d.glb
Create a 18650 Battery-Block-Halter consisting of a 2 by 2 grid of cylindrical cells. Each cell is formed by an outer cylinder with a diameter of 21.6mm and a height of 10mm, from which a concentric inner cylinder with a diameter of 18.6mm is removed to create a wall thickness of 1.5mm. The inner void extends from a ba...
d=18.6; wd=1.5; height=10.0; $fn=100; tol=0.1; reihen=2; spalten=2; all(wd-tol); translate([reihen*(d+2*wd),0,0])all(0); module base(bottom){ difference(){ translate([0,0,0]) cylinder(d=d+2*wd,h=height); translate([0,0,0]) color("red") translate([0,0,bottom])cylinder(d=d,h=wd+height); } } module all(bo...
glb/cad_0fc4064a7fbd.glb
Create a Prismatic Squeezer for toothpaste tubes. Start by constructing a main body that is 50mm wide, 50mm long, and 6.25mm high. The overall shape is derived from the intersection of a 16-sided prism (with a diameter of 57.5mm) and a rectangular block, resulting in a flattened, elongated form with rounded edges. Ca...
width = 50; hight = width/8; slot_width = 1; radius_chamfer = 4; inner_radius = 20; squeezer(width, hight, slot_width, radius_chamfer, inner_radius); module squeezer(width, hight, slot_width, radius_chamfer, inner_radius) { minkowski() { raw_squeezer(width, hight, slot_width, radius_chamfer, inner_radius); sphe...
glb/cad_6cb2e586e48d.glb
Create a furniture foot by constructing a truncated cone with a height of 15mm, a top radius of 10mm, and a bottom radius of 8mm. Centered along the vertical axis, remove a cylindrical hole with a radius of 1mm that extends from the bottom base through the entire height of the object. Additionally, remove a wider cylin...
FootHeigth = 15; TopWith = 10; BottomWith = 8; HoleDiameter = 2; HeadHigth = 2; HeadWith = 4; module FurnitureFoot() { difference() { cylinder(r1=TopWith, r2=BottomWith, h=FootHeigth, $fn=250); translate([0,0,-1])cylinder(r=HoleDiameter, h=(FootHeigth+2),$fn=100); translate([0,0,FootHeigth-HeadHigth])cyli...
glb/cad_b7c1177e063f.glb
Create a Thread Connector consisting of a threaded rod and a matching nut. First, construct the connector rod. Create a cylinder with a diameter of 16mm and a length of 8mm, featuring external threads with a pitch of 2mm. Attach a head to the base of this rod by creating a 12-sided polygonal cylinder with a diameter ...
use <Threaded Connector.scad> part="all"; dia=16; pitch=2; tscale=1; connlen=8; nutlen=connlen+2.4; nutdia=dia+4; nuttol=.7; if(part=="all" || part=="conn") { translate([30,30,4]) union() { mk_conn( dia=dia, pitch=pitch, connlen=connlen ); ...
glb/cad_2a7d44551475.glb
Create a parametric power adapter battery blank. Start with a rectangular hollow box with outer dimensions of 44mm width, 65mm length, and 5.4mm thickness. The walls of this box should be 5.4mm thick. Remove two cylindrical channels with a radius of 1mm that intersect at the center of the block; one channel should run...
BatteryWidth = 44; BatteryLength = 65; BatteryThickness = 5.4; PinThickness = 2; PinHeadThickness = 4; PinHeadDepth = .5; Pin1DistanceFromEdge = 4; Pin2DistanceFromEdge = 8; WireWidth = 2; difference() { cube(size = [BatteryWidth, BatteryLength, BatteryThickness], center=true); cube(size = [BatteryWidth - Ba...
glb/cad_896efdbdc9d5.glb
Create a Compact Multiplication Table tool consisting of an octagonal rod with embossed characters. The main body is a regular octagonal prism with a total height of 72.75mm (scaled from 97mm) and a side length of 11.625mm (scaled from 15.5mm). On the eight flat faces of the rod, arrange eight vertical columns of tex...
use <font.scad> hh = 97; ll = 15.5; xx = 20.; tz1 = 14; tz2 = 10; sc = 6; scale(0.75) rotate([0,180,0]) translate([0,0,-hh]) difference() { union() { column(b0,0); column(b1,1); column(b2,2); column(b3,3); column(b4,4); column(b5,5); column(b6,6); column(b7,7); linear_extrude(height=hh) octagon(ll); translate([0,0...
glb/cad_815a23d3fbb6.glb
Create a Compact Multiplication Table tool consisting of a decagonal prism rod housed within a decagonal container. The main rod is a decagonal prism with a total height of 123mm and a side length of 12mm. At the top of this rod, add a smaller decagonal protrusion with a side length of 6mm and a height of 15mm. The ro...
use <font.scad> hh = 123; ll = 12; xx = 19.5; tz1 = 13; tz2 = 14; sc = 6; scale(0.75) rotate([0,180,0]) translate([0,0,-hh]) difference() { union() { column(b0,0); column(b1,1); column(b2,2); column(b3,3); column(b4,4); column(b5,5); column(b6,6); column(b7,7); column(b8,8); column(b9,9); linear_extrude(height=hh) d...
glb/cad_29cb43fe0020.glb
Create a Compact Multiplication Table container by constructing a rectangular block 37.5mm wide, 33mm deep, and 75mm tall. Center a vertical hole through the entire height of the block; this hole must be an octagon with a side length of 9.45mm. At the top of the block, create a rectangular cutout 37.5mm wide and 33mm...
use <font.scad> hh = 100; rx = 50; ry = 44; ty = 2; xx = 18; tz1 = 14; tz2 = 7; sc = 4.5; scale(0.75) union() { translate([0,ty,-1.6]) linear_extrude(height=3) square([rx,ry],center=true); rotate([0,0,22.5]) linear_extrude(height=8) octagon(5); difference() { union() { translate([0,ty,0]) linear_extrude(height=hh) ...
glb/cad_9ce387cc13c9.glb
Create a Compact Multiplication Table container for a decimal rod. Start by constructing a rectangular block with a height of 125mm, a width of 50mm along the x-axis, and a depth of 44mm along the y-axis. At the base of this block, create a solid platform 3mm thick with a width of 50mm and depth of 44mm. From the top...
use <font.scad> hh = 125; rx = 50; ry = 44; ty = 2; xx = 18; tz1 = 13; tz2 = 10; sc = 4.5; scale(0.75) union() { translate([0,ty,-1.6]) linear_extrude(height=3) square([rx,ry],center=true); linear_extrude(height=8) decagon(5); difference() { union() { translate([0,ty,0]) linear_extrude(height=hh) square([rx,ry],ce...
glb/cad_084930e71b11.glb
Create a Customizable Curved Name Block consisting of a beveled base with curved text emerging from the top. First, construct the base as a beveled rectangular bar with a length of 120mm, a width of 17mm, and a thickness of 4mm. The top front and back edges of this bar should have a bevel face of 1.6mm. Next, create...
the_text = "Your Text Here"; bar_length = 120; bar_width = 17; bar_thickness = 4; bevel_face = 1.6; extrude_angle = 20; forward_offset = 3; fontSize = 12; eps = 0.1; fn = 50; font = "Berlin Sans FB"; rotate([180, 0, 180]) { rotate([90, 0, -90]) { translate([0.5 * fontSize, 0, 0]) { in...
glb/cad_61c84c67998d.glb
Create an ASIAir Synta Mounting Bracket by combining a base and an extending arm. Start with a base shaped as an isosceles trapezoidal prism with a length of 40mm, a height of 9mm, and parallel faces measuring 32mm and 22.5mm. Attached to this base, create an extending arm that is 110mm long and 4mm high. This arm shou...
$fa = 1; $fs = 0.4; arm_length = 110; base_length = 40; base_height = 9; difference() { rotate([ 90, 0, 0 ]) { iso_trapazoid(short = 22.5, long = 32, length = base_length, height = base_height); translate([ 0, base_height, -(arm_length - base_length) ]) minkowski() { iso_tr...
glb/cad_dff686355ff7.glb
Create a tricopter body mount designed for 10mm booms. Start with a base mount consisting of a 30mm by 10mm by 10mm rectangular block, with a 10mm diameter cylinder removed from the top center and a 2.5mm diameter screw hole running through the length of the mount. Add two zip-tie slots to the base: create a 3mm wide ...
$fn = 100; printable = false; boom_size = 10; motor_side_size = 30; motor_mount_height = 2; motor_mount_holes_diameter = 3; motor_mount_holes_distance_min = 20; motor_mount_holes_distance_max = 25; servo_holder_wall = 2; ziptie_width = 3; ziptie_thickness = 1; tolerance = 0.5; servo_screw_size = 2.5; servo_screw_to_b...
glb/cad_6e86d9ac7183.glb
Create a Customizable Inscription Ring. Start by creating a spherical ring with an inner radius of 7.545mm (half of the 15.09mm ring size) and a wall thickness of 2mm. The ring should not be a perfect circle; instead, modify the profile so the width is 5mm at the back and tapers toward the front, using a 15-degree angl...
use <write/Write.scad> ring_size = 15.09; c_r=ring_size/2; thick=2; ring_width=5; ring_angle=15; text_face="Bilbo"; text_size_face = 4; space_size_face=1.0*1; text="Baggins"; text_size_interior = 3; space_size =1.0*1; part = "ring"; s_r=c_r+2*thick; x_offset=-thick; y_b=ring_width/2; x_b=sqrt(s_r*s_r-y_b*...
glb/cad_2a4059bb1f33.glb
Create a customizable inscription ring. Start by constructing the main body as a spherical shell with an inner radius of 7.545mm (half of the 15.09mm ring size) and a wall thickness of 2mm. The ring should not be a perfect sphere; modify the outer profile so it is wider at the back and tapers toward the front, using a ...
use <write/Write.scad> ring_size = 15.09; c_r=ring_size/2; thick=2; ring_width=5; ring_angle=15; text_face="Bilbo"; text_size_face = 4; space_size_face=1.0*1; text="Baggins"; text_size_interior = 3; space_size =1.0*1; part = "ring"; s_r=c_r+2*thick; x_offset=-thick; y_b=ring_width/2; x_b=sqrt(s_r*s_r-y_b*...
glb/cad_b9d40df4409d.glb
Create a CustomTasse cup by constructing a main cylindrical body with a height of 90mm and a radius of 25mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 22mm, leaving a wall thickness of 3mm; the inner cavity should start 3mm from the base and extend through the top...
tasseH = 90; tasseR = 25; tasseWand = 3; henkelType = 2; henkelR = 15; henkelDicke = 4; henkelPosition = 90; module henkelA(henkelPos) { translate([tasseR+henkelR-10,0,henkelPos]) rotate([90,0,0]) rotate_extrude(convexity = 10, $fn = 360) translate([henkelR, 0, 0]) circle(henkelDicke); } module henkelB(hen...
glb/cad_95e13c88be40.glb
Create an underdesk drawer consisting of a sliding drawer and a suspension frame. The drawer is a hollow open-top cuboid with an outer width of 185mm, depth of 195mm, and height of 50mm. The walls and floor have a thickness of 2mm. On the front face, center a handle that is 30% of the drawer width (55.5mm), 6mm high,...
breit = 185; tief = 195; hoch = 50; wand = 2; boden = 2; schiene = 8; blunt = 1; spiel = 0.5; block = 10; prominence = 95; griffbreite = 30; griffhoehe = 6; griffstaerke = 4; griffform = 3; griffboden = 20; rahmenfuehrung = 3; lbohrung = 4; lbreit = 5; lanzahl = 3; ltief = schiene+lbreit; rahmenhoch...
glb/cad_2881f6a7890a.glb
Create a Shape Lock Chain consisting of repeating link units and a specialized locker part. For the standard link, create a base body by forming a hull between two cylinders of radius 3mm (the chain core radius) positioned 6mm apart along the X-axis. Connect these cylinders with a central rectangular bar of width 3mm...
daxle = 3; raxle = daxle/2; twall1 = 1.5; twall = 2*twall1; gap = 0.75; tchaincore = daxle+2*twall; droller = daxle+1*twall+2*twall*0+0; rroller = droller/2+0; troller = twall*(1+2*0)*0; laxle = 6*twall + troller; echo("length of axles:",laxle); $fa=4; $fs=0.2; eps=0.05; clr = 0.3; clr2 = clr*2; ata = tc...
glb/cad_25f04a6e7668.glb
Create an OPI nail polish holder box. Start by creating a rounded cube with overall dimensions of 125mm in length, 125mm in width, and 55mm in height, using a corner radius of 5mm. Hollow out the center of the cube to create a container, leaving a wall thickness of approximately 7.5mm. The interior cavity should also...
module roundedCube(L, W, H, R) { pad = 0.1; box_l = L; box_w = W; box_h = H; round_r = R; smooth = 60; difference() { cube([box_l, box_w, box_h], center = true); translate([0, -box_w/2+round_r, box_h/2-round_r]) { difference() { translate([0,-round_r-pad,round_r+pad]) cube([box_l+2*pad, round_r*2+pad, roun...
glb/cad_5114c03f51f5.glb
Create a ScissorLiftLeg by starting with a flat rectangular bar that is 80mm long, 12mm wide, and 5mm thick. The ends of the bar should be rounded with a radius of 6mm to form a capsule shape. Drill a 6mm diameter hole completely through the bar at both the exact center of each rounded end. Along the center line of the...
legLength = 80; width = 12; thickness = 5; pivotDiameter = 6; holes = 4; holeDiameter = 4; holeOffset = 2; spaceBetweenPrints = 3; printCount = 1; holeStart = legLength/2 + pivotDiamater; module scissorLiftLeg() { difference() { hull() { translate([(legLength/2),0,0]) cylinder(r=width/2,h=thickness); tr...
glb/cad_e4bb857bfd07.glb
Create a Foam Cutter model featuring a thin, vertical heating element. Construct a vertical rectangular prism to represent the nichrome wire, with dimensions of 1mm by 1mm and a height of 60mm. Position this wire centrally at the coordinates X=160, Y=124, and Z=5.
include <simplified_parametric_makerbeam.scad>; show_foam = 0; show_nichrome_wire = 1; module nichrome_wire (length, x, y, z) { color ("black") translate(v=[x, y, z]) cube (size=[1, 1, length]); } makerbeam_x(200, 10, 0, 0, 0); makerbeam_x(200, 10, 0, 160, 0); makerbeam_x(200, 10, 10, 125, 60); makerbeam_y(150, 10...
glb/cad_76733e231373.glb
Create a Mendel Y-Axis Three Point Bed Support by combining three rectangular blocks into a single solid. Start with a base block measuring 11mm by 24mm by 21mm. Attach a second block measuring 26mm by 12mm by 10mm to the first, positioned 6mm along the Y-axis. Add a third block measuring 6mm by 12mm by 15mm, positione...
difference(){ union(){ cube([11,24,21]); translate([0,6,0]) cube([26,12,10]); translate([11,6,21])rotate([0,156,0]) cube([6,12,15]); *translate([16,0,0]) #cube([10,12,15]); } translate([21,12,0]) cylinder(r=2.4,h = 100,center=true); translate([5.5,6,0]) cylinder(r=2.4,h = 100,center=true); tra...
glb/cad_561ee606b1a5.glb
Create a RAMPS Mount for Kossel 2020. Start with a rectangular base plate measuring 107.6mm by 55.3mm with a thickness of 2.4mm. Add a raised rectangular border around the perimeter that is 2.4mm thick and 12mm high, creating a shallow tray. On the left side of the tray, create two rectangular cutouts to allow access...
meshed = 0; mesh_radius = 2; mesh_width = 2.4; arduino_width = 101.6 + 5; arduino_height = 53.3; margine = 1; thickness = 2.4; m3_radius = 3.0 /2 +0.2 +0.2; module ramps_mount() { difference() { union() { difference() { translate([-thickness-margine, -thickness-margine, -thickness]) cube([arduin...
glb/cad_bf6641506455.glb
Create a RAMPS mount for a 20x20 extrusion frame. Start with a base plate that is 7mm thick. The main body consists of a rectangular section 50mm wide and 17mm high, extending from a mounting flange. At one end, create a mounting block 5mm thick and 50mm wide. On the mounting block, place two holes with a radius of 2...
leftright = 1; thickness = 7; width = 50; length = 15; offset = 43; m3_radius = 3.0 /2 +0.2 +0.1; m3_nut_w = 5.5+0.2; m3_nut_r = m3_nut_w/2*1.154734411; module ramps_support() { difference() { union() { translate([offset,0,0]) rotate(30) hull() { translate([0,length/2,0]) cylinder(r=7.5, h=thickness, $f...
glb/cad_f204ab98c5bd.glb
Create a Music Box mechanical toy consisting of a case, a music cylinder, a transmission gear, a crank gear, and a crank handle. Construct the case as a rectangular housing with internal snap-fit axis holders for the gears. The case must feature a cutout section to accommodate the music cylinder and a series of vibrat...
use <MCAD/involute_gears.scad> FOR_PRINT=1; GENERATE_MUSIC_CYLINDER=1; GENERATE_MID_GEAR=1; GENERATE_CRANK_GEAR=1; GENERATE_CASE=1; GENERATE_CRANK=1; GENERATE_PULLEY=1; wall=2; pinNrX = 8; pinNrY = 31; teethNotes="C 1E 1G 1C 2D 2E 2F 2G 2"; pins=".XXX........X........X........X.XX.....X.......X.......X.......X...
glb/cad_6b9b6adb8320.glb
Create a mount for kitchen scales by constructing a base cylinder with a radius of 17.5mm and a height of 6.2mm. From the top of this base, remove a conical void to create a recessed bowl. This void should start at a height of 6.2mm with a bottom radius of 32mm, tapering outwards to a top radius of 43mm over a height o...
vyska=6.2; d_vnejsi=86; d_vnitrni=64; union(){ cylinder(r=35/2, h=vyska, $fn=80); difference(){ translate([0,0,vyska]) cylinder(r1=d_vnitrni/2, r2=d_vnejsi/2, h=2+3, $fn=100); translate([0,0,vyska+2.6]) cylinder(r1=(d_vnitrni/2)-0.2, r2=(d_vnejsi/2)-8, h=2+3, $fn=100); } }
glb/cad_60383dd43215.glb
Create a V-slot 2020 Carriage for a delta printer. Start with a base rectangular plate measuring 49mm by 58mm with a thickness of 8mm and rounded corners with a 5mm radius. Remove three vertical cylindrical holes to accommodate wheels and screws. Position two holes at the corners (x=19.5, y=25 and y=-25) and one hole...
include <CarriageSupport.scad>; hori = 39; verti = 50; fn_cercles=50; difference(){ translate([0,12,3]) rotate([0,180,0]) carriage(); translate([-58,0,-5]) rotate([0,-7,0]) cube([100,100,2], center=true); translate([0,0,-30]) cube([100,100,5], center=true); } difference(){ difference(){ roundedRect(...
glb/cad_9d2772ce8d14.glb
Create a Christmas ball tippe-top consisting of a weighted spherical body and a spindle. Start by creating a sphere with a radius of 15mm, but scale it along the Z-axis by a factor of 0.89 to create an oblate spheroid. From this shape, remove a central cylindrical core with a radius of 11mm and a height of 30mm, center...
ball_radius=15; manche_radius= 3; depthcone = 2.5*ball_radius/15; ex = 0.89; union() { rotate ([180,0,0])difference () { union() { difference () { scale([1,1,ex]) sphere(r = ball_radius, $fn=150); translate([0,0,ball_radius]) cylinder(r =11*ball_radius/15, h = 2*ball_radius, center =true, $fn=100); ...
glb/cad_d5eaf29719a1.glb
Create a Christmas ball tippe-top spindle by constructing an octagonal prism. The prism should have a radius of 3mm and a total length of 27mm. Orient the prism so that its central axis runs horizontally. Ensure the cross-section is a regular octagon to maintain the specific geometric properties required for the tippe-...
ball_radius=15; manche_radius= 3; rotate ([360/16,0,0])rotate ([0,90,0])cylinder(r =manche_radius, h = 1.8*ball_radius, center =true, $fn=8);
glb/cad_b5f01a3134c3.glb
Create a Z-Axis adjust mount consisting of a rectangular base and a protruding vertical block. Start with a base rectangular prism measuring 42mm in length, 10mm in width, and 12mm in height. Centered on top of this base, add a smaller rectangular block measuring 10mm by 10mm and 17mm in height, positioned so its cente...
difference () { union(){ translate([0-2,0,0]) cube([38+4,10,12]); translate([28-1.5,5,18]) cube ([10, 10, 17],center=true); } translate ([33,11,6]) rotate ([90,0,0]) cylinder (r=4.75, h=18, $fn=100); translate ([5,11,6]) rotate ([90,0,0]) cylinder (r=4.75, h=18, $fn=100); translate([26, 10.75, 23-1]) rota...
glb/cad_c0589262bf95.glb
Create a Yazzo Disc Axle half-joint. Start with a primary cylinder that has a radius of 16.38mm and a height of 4mm. Centered on this cylinder, add a second, taller cylinder that tapers from a bottom radius of 13.12mm to a top radius of 10.06mm over a total height of 14mm. At the top edge of the disc, create a rectang...
goldenratio = 1.618003399; joinfactor = 0.25; gDefaultThickness = 8; gDefaultKeyBase = 12; gDefaultKeyTop = gDefaultKeyBase/goldenratio; gDefaultKeyHeight = gDefaultKeyBase/goldenratio; gDefaultShaftRadius = 5/16/2*25.4*1.1; gDefaultDiscRadius = gDefaultShaftRadius*2*goldenratio*goldenratio; gDefaultDiscThickness =...
glb/cad_b8c3a6b56a44.glb
Create an Android Device Rest by constructing a stylized robot figure. Start with a main body consisting of a rounded rectangular torso. Add two semi-cylindrical arms extending from the sides. For the head, place a hemispherical dome on top with two small, protruding cylindrical antennae. The base of the figure shoul...
scale ([4,4,4]) difference() { union() { scale ([1,0.5,1]) union() { translate([0,0,6]) cylinder(20,10,10,$fa=10, $fs=0.2); translate([0,0,8]) cylinder(20,9.3,9.3,$fa=10, $fs=0.2); translate([0,0,24.5]) difference() { sphere(10,$fa=10, $fs=0.2); cylinder(2,11,11,$fa=10, $fs=0.2); } translate([...
glb/cad_91536aec40ed.glb
Create an Android Device Rest by constructing a stylized robot figure integrated with a charging base. Start with a central body composed of a rounded, dome-like torso and two short, thick arms extending from the sides. Add two small hemispherical protrusions on top of the head to represent eyes. At the base, create a...
LengthOfChargingPlug=30; WidthOfChargingPlug=20; difference() { union() { translate([0,30,-24]) scale ([4,4,4]) difference() { union() { scale ([1,0.5,1]) union() { translate([0,0,6]) cylinder(20,10,10,$fa=10, $fs=0.2); translate([0,0,8]) cylinder(20,9.3,9.3,$fa=10, $fs=0.2); translate([0,0,24....
glb/cad_752355e270b3.glb
Create a No-Hassle Filament Clip designed for a 12mm axis. Start by constructing a hollow cylindrical cap with an outer diameter of 12mm and a height of 7.5mm, featuring an inner bore of 11mm and a depth of 6.2mm. Attached to the side of this cylinder, build a guide structure consisting of two rectangular plates. The f...
union() { difference() { cylinder(12, 7.5, 7.5, [0, 0, 0]); cylinder(11, 6.2, 6.2, [0, 0, -0.2]); } translate([-4, 7, 0]) { cube([8,2,14]); cube([8,10,2]); } translate([-4, 15, 0]) { cube([8,2,12]); translate([0,0,10]) { rotate([45,0,0])...
glb/cad_bbdc5683ba01.glb
Create a No-Hassle Filament Clip designed for a 12mm axis. Start by constructing a hollow cylindrical cap with an outer diameter of 12mm and a height of 7.5mm, featuring an inner bore of 11mm and a wall thickness of 0.5mm, with the bottom open. Attached to the side of this cylinder, build a guide structure consisting o...
union() { difference() { cylinder(12, 7.5, 7.5, [0, 0, 0]); cylinder(11, 6.2, 6.2, [0, 0, -0.2]); } translate([-13, 7, 0]) { cube([26,2,12]); cube([26,10,2]); translate([0,0,11.9]) { rotate([-45,0,0]) { cube([4,2,8]); } ...
glb/cad_307a546c2112.glb
Create a Pencil Hat by designing a hollow, triangular prism with rounded corners. The main body is a linear extrusion with a total length of 4mm. The outer profile is an equilateral triangle with a distance from the center to the vertices of 6mm (calculated as the 4mm pencil radius plus 2mm wall thickness). At the ce...
include <write/Write.scad> message_1 = "Live"; message_2 = "Laugh"; message_3 = "Love"; Font = "write/orbitron.dxf"; pencil_diameter = 8; thickness =2; corner_radius =2; length = 4; module triangle (radius=1) { polygon(points=[[radius/sin(30),0],[-radius,(radius/sin(30)+radius)/tan(60)],[-radius,-(radius/sin(30)+...
glb/cad_c02ad611e23f.glb
Create an Android Guy Box by combining several geometric primitives. Start with a central cylinder that has a radius of 10mm and a height of 50mm. Cap both ends of this cylinder with spheres of the same 10mm radius, positioning one sphere at the base and one sphere at the top center of the cylinder. On the top surface ...
rotate([90,270,0]){ union(){ translate([10,0,10]) cube([10,7,14], center=true); cylinder(r=10,h=50,$fn=100); sphere(r=10,$fn=100); translate([0,0,50])sphere(r=10,$fn=100); } }
glb/cad_f88aff4cf4bc.glb
Create a hollow container based on the Android logo. Start by forming the main body as a union of a cylinder with a radius of 35mm and a height of 70mm, and a torus created by rotating a circle with a 14mm radius around the center axis at a distance of 21mm from the center. To make the container functional, remove a ce...
difference(){ union(){ cylinder(r=35,h=70,$fn=100); translate([0,0,-14]) cylinder(r=21,h=70,$fn=100); rotate_extrude(convexity = 10, $fn=100) translate([21,0,0]) circle(r=14,$fn=100); } translate([0,0,-7]) cylinder(r=31.5,h=78,$fn=100); translate([37,0,55]) cube([10,7,14], center=true); translate([-37,0,55])...
glb/cad_839e7da4b72d.glb
Create a hollowed-out Android Guy container by starting with a central sphere with a radius of 35mm. To create the base, add a cylinder with a radius of 31mm and a height of 10mm, positioned so it extends 5mm below the center of the sphere. Add a second, slightly larger cylinder with a radius of 33mm and a height of 7m...
rotate([0,180,0]){ union(){ translate([0,0,0-5]) cylinder(r=31, h=10,$fn=100); translate([0,0,-5]) cylinder(r=33, h=7,$fn=100); difference(){ sphere(r=35,$fn=100); cylinder(r=35,h=35,$fn=100); translate([15,-25,-16]) sphere(r=5,$fn=100); translate([-15,-25,-16]) sphere(r=5,$fn=100); } translate([-20,0,-48]) rotate([0,1...
glb/cad_4837994d6c3d.glb
Create an Android Guy Box by constructing a composite geometric shape. Start with a base cylinder that has a radius of 8.4mm and a height of 18mm. Centered on top of this base, add a second, smaller cylinder with a radius of 5.5mm and a height of 5mm, positioned so that its bottom starts at a height of 16mm from the ba...
union(){ cylinder(r=8.4,h=18, $fn=100); translate([0,0,16]) cylinder(r=5.5,h=5,$fn=100); translate([0,0,18]) rotate_extrude(convexity = 10, $fn=100) translate([5.4,0,0]) circle(r=3,$fn=100); }
glb/cad_89212455b144.glb
Create a customizable bookshelf using boards with a uniform thickness of 18mm. The overall structure has an external width of 800mm and a depth of 200mm. Start by creating a bottom base plate and a top cover plate, both measuring 800mm by 200mm by 18mm. Position two vertical side panels, each 2000mm high, 200mm deep, ...
modellgroesse = 1/5; plattendicke = 18 * modellgroesse; echo ("Plattendicke:" , plattendicke); plattenbreite20 = 200 * modellgroesse; echo ("Plattenbreite20:" , plattenbreite20); plattenbreite25 = 250 * modellgroesse; echo ("Plattenbreite25:" , plattenbreite25); plattenbreite30 = 300 * modellgroesse; echo ("Plattenbr...
glb/cad_045a95877348.glb
Create a battery holder by starting with a composite base consisting of a sphere with a 50mm radius centered at the origin, joined to a cylinder with a bottom radius of 50mm and a top radius of 25mm and a height of 15mm. Remove the bottom portion of this shape using a large central cube to leave only a dome-like cap. ...
AAradius=14.8/2; AAAradius=11/2; distance=25; 3Adistance=13; AAAheight=15; difference(){ union(){ translate([0,0,-25]) sphere(r = 50); cylinder(h = 15, r1 = 50, r2 = 25); } translate([0,0,-120]) cube([240, 240, 255], center=true); rotate(a=[0,0,30]){ translate([distance,0,8]) cylinder(h = 100, r1 = AAra...
glb/cad_f92a198a8b0e.glb
Create a GSM phone SIM card holder by starting with a solid rectangular base measuring 40mm wide, 34mm deep, and 3mm thick. Carve three distinct voids into the top surface of this base. First, create a nano SIM slot positioned 5mm from the left edge and 6.5mm from the front edge; this slot should be 12.25mm long and 8....
secho(version=version()); slotOffset = 0.5; module slot(length, width, dipLength) { translate([0, -(slotOffset/2), -2]) cube([dipLength, width+slotOffset, 3.5]); cube([length, width, 1.5]); } module eject() { pinWidth = 0.72; pinHeight = 11; bodyWidth = 7.35; bodyHeight = 30; cub...
glb/cad_88134ec3c827.glb
Create a Candle Carousel consisting of several separate components. First, construct the carousel base and top rings. Each ring is a cylinder with a radius of 57.6mm and a height of 22mm. Hollow out the center of each ring with a cylinder of radius 55.6mm and a height of 20mm, and further remove a cylinder of radius ...
$fn=30; part = "first"; glass_radius=54.6; glass_height=120; candle_radius=20; candle_height=10; design_pattern=true; print_part(); module print_part() { if (part == "first") { carousel_base(); } else if (part == "second") { carousel_top(); } else if (part == "third") { ...
glb/cad_da1d60793acb.glb
Create an air filter assembly consisting of a container, a lid, and a fan mount. For the container, create a main body with a length of 30mm and a side dimension of 30mm. The body is a rounded rectangular prism formed by the hull of four cylinders with a radius of 1mm (the wall thickness) positioned at the corners. H...
include <configuration.scad> air_filter_body_side = air_filter_fan_side; air_filter_body_length = 30; air_filter_body_wall = wall; air_filter_grid_space = 3; air_filter_grid_bar = wall_thin; air_filter_container(); module air_filter_container(){ difference(){ hull(){ translate([wall,0,wall]) rotate([-90,0...
glb/cad_d66431e520d1.glb
Create an air heating mount for a 3D printer. The main body is a composite shape formed by the union of a rectangular block and a hull of two teardrop-shaped profiles. The body's overall width is 10mm, and its height is determined by the fan hole distance plus the screw diameter and wall thickness. The structure featu...
include <configuration.scad> air_heating_mount_body_width = 2*wall; air_heating_mount_body_height = air_heating_fan_hole_dist+air_heating_fan_screw_dia+2*clearance+2*wall; air_heating_mount_body_length = frame_width-clearance-frame_enclosure_thickness + air_heating_fan_height + air_heating_mount_body_width; air_heati...
glb/cad_c497b92275c4.glb
Create a frame angle bracket for a 3D printer. Start with a solid cube of dimensions 20mm x 20mm x 5mm. From this main body, remove a large section to create a triangular profile. This is achieved by removing a hull formed by four cylinders, each with a radius of 2mm and a height of 7mm, positioned to carve out the i...
include <configuration.scad> angle(); module angle(){ difference(){ union(){ cube([frame_angle_side,frame_angle_side,frame_angle_width]); } hull(){ translate([2*wall+wall,2*wall+(frame_screw_dia+2*clearance)+(((frame_screw_dia/2+clearance)+wall)/sin(45))+((frame_screw_dia/2+clearance)/sin(45)-(frame_sc...
glb/cad_7dd9eb3f6c82.glb
Create a frame enclosure door hinge for a 3D printer. The main body is formed by the union of two hull shapes: the first hull connects two teardrop profiles (each with a wall thickness of 5mm and a width of 20mm) positioned at the bottom and top of the body height, and the second hull connects two similar teardrop prof...
include <configuration.scad> mirror([1,0,0]) frame_enclosure_door_hinge(top=1); module frame_enclosure_door_hinge(top=0){ difference(){ union(){ hull(){ translate([wall,frame_enclosure_door_hinge_body_width/2,wall]) rotate([180,0,90]) teardrop(wall,frame_enclosure_door_hinge_body_width); tr...
glb/cad_e90af7bbdd42.glb
Create an endcap for a RepRap Industrial 3D printer frame. Start by constructing the main body as a hull encompassing four cylinders, each with a radius of 2mm and a height of 2mm, positioned at the corners of a square with a side length of 36mm (at coordinates [16, 16, 0], [-16, 16, 0], [16, -16, 0], and [-16, -16, 0]...
include <configuration.scad> endcap(); module endcap(){ difference(){ union(){ hull(){ translate([frame_width/2-wall_thin,frame_width/2-wall_thin,0]) cylinder(r=wall_thin,h=wall_thin); translate([-(frame_width/2-wall_thin),(frame_width/2-wall_thin),0]) cylinder(r=wall_thin,h=wall_thin); t...
glb/cad_fcf5e3070c5f.glb
Create a foot nut for a 3D printer frame. Start by forming the main body as a hull of four cylinders, each with a radius of 2mm, positioned at the corners of a square with a side length of 36mm (from -16mm to 16mm on both X and Y axes). These cylinders should have a total height of 13mm. From this body, remove a centr...
include <configuration.scad> foot_nut(); module foot_nut(){ difference(){ union(){ hull(){ translate([frame_width/2-wall_thin,frame_width/2-wall_thin,0]) cylinder(r=wall_thin,h=wall+frame_screw_nut_height+clearance); translate([-(frame_width/2-wall_thin),(frame_width/2-wall_thin),0]) cylinder...
glb/cad_95f7acbda6c0.glb
Create a filament spool mount for a 3D printer. Start by constructing a main cylindrical body with a diameter of 30mm and a total length of 111mm (calculated as 95mm for the spool mount width plus 16mm for the walls). Within this body, create a central longitudinal hole with a diameter of 26mm (30mm minus two 2mm wal...
include <configuration.scad> filament_spool_mount_width = 95; filament_spool_mount_dia = 30; spool_mount(); module spool_mount(){ difference(){ union(){ rotate([0,90,0]) cylinder(r=filament_spool_mount_dia/2,h=2*wall+frame_screw_washer_thickness+frame_screw_head_length+wall_thin+filament_spool_mount_width...
glb/cad_9b49b2bfd4a6.glb
Create a T5 profile pulley with 18 teeth. The pulley consists of a cylindrical base with a height of 9.4mm and a toothed section with a height of 7mm. At the center of the pulley, create a vertical hole with a diameter of 8.4mm to accommodate a motor shaft. Add a belt retainer flange with a height of 1mm above the ...
include <configuration.scad> translate([0,0,3]) render_pulley( teeth = 18, profile = 6, motor_shaft = 5.4, m3_dia = 3.4, m3_nut_hex = 1, m3_nut_flats = 5.9, m3_nut_depth = 2.8, retainer = 1, retainer_ht = 1, idler = 1, idler_ht = 1, pulley_t_ht = 7, pulley_b_ht = 3.4, pu...
glb/cad_0f8bef5b116e.glb
Create a bed corner component for the Kuehling&Kuehling RepRap Industrial 3D printer. Start by constructing the main body as a hull that connects a cylinder of radius 5mm and height 30mm to two teardrop-shaped profiles of the same height, positioned at the opposite corners of a square with a side length of 40mm. From ...
include <configuration.scad> rotate([0,90,0]) mirror([1,0,0]) mirror([0,1,0]) translate([wall+clearance,wall+clearance,bed_bottom_thickness+clearance]) bed_corner(); module bed_corner(){ difference(){ translate([-clearance-wall,-clearance-wall,-clearance-bed_bottom_thickness]) hull(){ translate([wall,wall,...
glb/cad_5853866b21a3.glb
Create a set collar for a z-spindle. Start with a main cylindrical body with a diameter of 12mm and a height of 8mm. On top of this body, add a second, thinner cylindrical cap with a height of 1mm and a radius equal to half the z-spindle diameter plus a 0.5mm clearance and a 1mm wall thickness. Remove a central vertic...
include <configuration.scad> set_collar(); module set_collar(){ difference(){ union(){ cylinder(r=set_collar_body_dia/2, h=set_collar_body_height); translate([0,0,set_collar_body_height]) cylinder(r1=z_spindle_dia/2+clearance+2*wall_thin, r2=z_spindle_dia/2+clearance+wall_thin, h=wall_thin); } tran...
glb/cad_98dd1a274cc1.glb
Create a mold for a spindle coupling insert. Start with a base composed of a central cylinder with a radius of 12.5mm and a height of 4mm, combined with a cube of 12.5mm per side and 4mm height, and two additional flanking sections consisting of a cylinder with a radius of 12.5mm and a height of 2mm, each paired with a...
include <configuration.scad> spindle_coupling_insert_mold(); module spindle_coupling(motor=0){ difference(){ cylinder(r=spindle_coupling_body_dia/2, h=spindle_coupling_body_height); translate([0,0,-1]) if ( motor == 0){ cylinder(r=z_spindle_dia/2+clearance, h=spindle_coupling_body_height-wall_thin-3*wal...
glb/cad_26e93cecfcf5.glb
Create a belt tensioner thumbwheel for a RepRap Industrial 3D printer. The main body is a cylinder with a radius of 7.5mm and a height of 5.2mm. Centered within this body, create a hexagonal cutout to act as a nut trap, with a width of 6mm across the flats and a height of 3.1mm. Pass a vertical hole through the cente...
include <configuration.scad> translate([0,0,belt_tensioning_nut_height+wall_thin+clearance]) rotate([180,0,0]) belt_tensioner_thumbwheel(long=1); module belt_tensioner_thumbwheel(long=0){ radius = max((cornerdiameter(belt_tensioning_nut_wrench+2*clearance)/2+wall),(long * thumbwheel_long_dia/2)); intersection(){ ...
glb/cad_90e45de4947e.glb
Create an X Carriage for a RepRap Industrial 3D printer. The main body is a complex geometric block formed by the union of a central rectangular prism and several rounded edges. Specifically, create a hull that blends two cylinders of radius `wall` (positioned at the top and bottom edges along the length of the body) w...
include <configuration.scad> x_carriage(); module x_carriage(){ difference(){ union(){ translate([0,0,0]) hull(){ translate([-x_carriage_body_length/2,x_carriage_body_width/2-wall,x_carriage_body_height/2+x_carriage_body_z_addition_top-wall]) rotate([0,90,0]) cylinder(r=wall,h=x_carriage_...
glb/cad_14a10bbc1872.glb
Create a Y-end body for a RepRap Industrial 3D printer. The main body is a complex hull formed by connecting a teardrop shape, two cylinders, and another teardrop shape. The first teardrop is positioned at `[front * y_end_body_width_idler / 2, wall, y_end_body_height - wall]`, the first cylinder at `[y_end_body_width /...
include <configuration.scad> rotate([90,0,0]) y_end_body(front=0); module y_end_body(front=0){ difference(){ hull(){ translate([front*y_end_body_width_idler/2,wall,y_end_body_height-wall]) rotate([90,0,0]) teardrop(wall,y_end_body_width+front*y_end_body_width_idler); translate([y_end_body_width/2+f...
glb/cad_4752575f5bdf.glb
Create a base component for the Kuehling&Kuehling RepRap Industrial 3D printer. Start by forming a solid rectangular block with a width of 40mm, a length of 60mm, and a height of 10mm. Round the four vertical corners of this block using a radius of 5mm. From this main body, remove a central vertical cylinder with a ra...
include <configuration.scad> z_bottom(); module z_bottom(){ difference(){ union(){ translate([-z_bottom_body_width/2,-z_rod_frame_enclosure_dist+clearance,0]) hull(){ translate([wall,wall,0]) cylinder(r=wall,h=z_bottom_body_height); translate([wall,z_bottom_body_length-wall,0]) cyli...
glb/cad_99314411c279.glb
Create a cable chain rail mount for a 3D printer. Start by forming the main body using a hull operation that connects a rectangular block and two cylinders. The block should have a width of 2mm (the profile thickness) plus twice the wall thickness, and its depth should span the frame width minus the enclosure thickness...
include <configuration.scad> cablechain_rail_profile_side_long = 15; cablechain_rail_profile_side_short = 10; cablechain_rail_profile_thickness = 2; mirror([0,1,0]) translate([0,0,cablechain_rail_profile_thickness+2*wall]) rotate([0,180,0]) cabelchain_rail_mount(); module cabelchain_rail_mount(){ difference(){ h...
glb/cad_487c8274aae7.glb
Create two identical extruder back mounts for a 3D printer, mirrored across the X-axis. Each mount is constructed from a main body formed by the hull of a cube and a cylinder. The main body has a width of 40mm, a length of 42mm, and a height of 20mm. From this body, remove a cylindrical cutout for the stepper gearbox ...
include <configuration.scad> translate([extruder_back_body_width/2,0,0]) rotate([90,0,0]) extruder_back(); translate([-extruder_back_body_width/2,0,0]) rotate([90,0,0]) mirror([1,0,0]) extruder_back(); module extruder_back(){ difference(){ hull(){ translate([-extruder_back_body_width/2,0,extruder_back_body_h...
glb/cad_b119c4907514.glb
Create a hotend adapter for a RepRap Industrial 3D printer. Start with a main body formed by the hull of three shapes: a rectangular block of width 15mm, length 30mm, and height 10mm; a second rectangular block of the same length and height but with a width of 5mm; and a cylinder with a radius of 2mm and height of 25mm...
include <configuration.scad> rotate([90,0,0]) translate([0,-clearance-wall,0]) mirror([1,0,0]) extruder_hotend(); module extruder_hotend(){ difference(){ translate([0,clearance+wall,-extruder_hotend_body_height]) hull(){ translate([-extruder_hotend_body_width/2+clearance/2,0,extruder_hotend_body_height-wa...
glb/cad_2966a48badf6.glb
Create a 3D model of a Lucia Bulle bakery treat. The main body is a complex, organic shape formed by the union of three clusters of spheres. The first two clusters are mirrored on the left and right sides, each consisting of 38 spheres that gradually increase in radius from 3.5mm to 4.5mm, positioned along a logarithmi...
PART = "R" ; R = 4.5 ; RR = 3.5 ; C = 40 ; module S() { union() { for (i = [2:C]) { translate( [10*log(i/4.5)*sin(i*12.4), 10*log(i/4.5)*cos(i*12.4), 0]) sphere(r=RR+(R-RR)*i/C) ; } } } module I(H) { union() { for (i = [2:H]) { translate([i*1.6,0,0]) sphere(r=R) ; } }} ...
glb/cad_31b41e4df1a2.glb
Create a Printrbot Simple LED clip by starting with a main mounting plate that is a rectangular prism measuring 3mm by 15mm by 40mm. Attach a second rectangular shield to the side of this plate, measuring 3mm by 10mm by 40mm, and a third rectangular piece measuring 3mm by 9mm by 12mm angled at -20 degrees on the Y-axis...
difference(){ union(){ translate([0,-1,0]) cube(size=[3,15,40]); rotate([0,0,-30]) translate([0,-9,0]) cube(size=[3,10,40]); rotate([0,-20,-30]) translate([3,-9,-3]) cube(size=[3,9,12]); } rotate([0,90,0]) translate([-35,10,-5]) cylinder(43,1.5,1.5,$fn=130); rotate([0,90,0]) translate([-5,10,-5]) cylinder(43,1.5,1...
glb/cad_762728b1114b.glb
Create a Tailstock Die Holder by starting with a main cylindrical body 100mm in length and 39mm in diameter. At the base, create a central coaxial hole with a radius of 12.45mm and a depth of 8.5mm to accommodate a die. At the opposite end, create a cylindrical opening with a radius of 6mm. Remove four internal thre...
eps = 0.001; include <MorseTaperA.inc> include <..\..\lib\threads.scad> include <..\..\lib\knurledFinishLib_v2.scad> is3DPrinted = false; addKnurl = true; PRINTABLE = is3DPrinted ? 1 : 0; correction_rDie = PRINTABLE ? 0.5 : 0.0; correction_tDie = PRINTABLE ? 0.5 : 0.0; correction_rBar = PRINTABLE ? 0.4 : 0.0; rDie ...
glb/cad_5eb0ba81e385.glb
Create a Jeff Probe case consisting of a base and a lid. The base is a hollowed rectangular box with outer dimensions of 20mm width, 35mm length, and 8mm height. The interior cavity is 16.5mm wide, 31.5mm long, and 3mm deep, starting 2mm from the bottom. Remove several geometric volumes from the base to accommodate com...
$fn=10; module bottom() { translate([0,12,-3]) cube([8,7,6],true); translate([0,13,-2]) cube([13,5,3],true); translate([0,18.75,-3]) cube([8,7,7],true); translate([0,8,-1]) cube([15,5,1],true); translate([0,2,-1.5]) cube([13,7,2.5],true); translate([6.5,-5.5,-1.5]) cube([3,3,2.5],true); translate([5.5,-2.75...
glb/cad_93d05aebae94.glb
Create a wall mount for an iPhone 5 by constructing a main backplate and a surrounding frame. Start with a base rectangular plate measuring 69mm wide, 60mm high, and 5mm thick. Add two side walls and a bottom ledge to create a pocket; the side walls should be 3mm thick and 21mm high, while the bottom ledge is 75mm wide...
module plate(){ cube([69, 60, 5]); translate([-3, -3, 21]) cube([75, 23, 3]); translate([-3, -3, 0]) cube([75, 3, 21]); translate([69, 0, 0]) cube([3, 60, 21]); translate([-3, 0, 0]) cube([3, 60, 21]); } rotate([90, 0, 0]) difference() { plate(); translate([69/4, 30, -2]) cylinder(r = 2.5, h = 12); translate([...
glb/cad_fee16a1be330.glb
Create a basic hinge consisting of two mirrored vertical stacks of interlocking clips. Each stack contains 3 clips. Each individual clip is formed by a cylinder with a radius of 2.8mm and a height of 2.5mm, which has a smaller concentric cylinder of radius 1.8mm removed from its center to create a ring. To each clip,...
module nub(h=2,k=5,r=10,r1=5,l=1.2) difference() { union() { cylinder(k,r1,0,$fn=30); translate([0,0,-h]) { cylinder(r=r,h=h,$fn=30); translate([0,-r,0]) cube([r+l,2*r,h]); translate([-r,0,0]) cube([r,r,h]); } } translate([0,0,-h]) cylinder(k,r1,0,$fn=30); } module rack(n=5,space=4,clear=0...
glb/cad_60d58e1fcdc8.glb
Create a customizable witch hat by combining a wide, flat circular base with a conical top. Start by creating a thin cylindrical brim with a radius of 9mm and a thickness of 1mm. Centered on top of this brim, place a cone with a base radius of 7.2mm and a height of 12mm. To make the hat hollow for a figurine, remove a ...
Height = 14.4; Cone_Radius = 6; Brim_Radius=9; Brim_Thickness=1; Hole_Radius=5; difference() { union() { translate([0,0,0]) scale([1,1,Brim_Thickness]) cylinder(r=Brim_Radius); translate([0,0,0]) scale([1.2,1.2,1.2]) cylinder(r1=Cone_Radius/1.2, r2=0, h=Height/1.2); } union() { translate([0,0,0]) scale([1,1,1]...
glb/cad_3f1a3dc3aefc.glb
Create a Printrbot Z Hack nut reducer. Start by creating a hexagonal prism with a flat-to-flat width of 12.7mm and a total height of 27.42mm. Inside this prism, remove a smaller hexagonal volume that starts 1.5mm from the bottom and extends to the top, with a flat-to-flat width of 10mm. Finally, create a circular hole ...
nut1_w=(1/2)*25.4; nut1_h=(0.273)*25.4; nut2_w=10; nut2_h=6; rod_d=6.5; anti_backlash=1; spring_l=20; module nut_reducer() difference() { if(anti_backlash) cylinder(r=nut1_w/sqrt(3)-0.125,h=nut1_h*2+spring_l+1.5,$fn=6); else cylinder(r=nut1_w/sqrt(3)-0.125,h=nut1_h,$fn=6); translate([0,0,1.5]) cylinder(r=nut2_w...
glb/cad_e0034ba2440a.glb
Create a torch diffuser consisting of a cylindrical base ring and a hollow conical cap. First, create a hollow cylindrical ring with an outer diameter of 25mm, an inner diameter of 21mm, and a height of 5mm. Centered on top of this ring, construct a hollow conical tip. The outer shell of this cone should taper from a b...
thickness = 2; torch_diameter = 21; ring_height = 5; cone = 10; $fn = 64; pipe_outer_d = torch_diameter+thickness*2; fudge = 0.01; module pipe(length, diameter, thickness) { cutout_l = length+2; cutout_d = diameter - (thickness*2); difference() { cylinder(length, d=diameter, center=true); cylinder(cutout_l...
glb/cad_0a3e58b7ea2b.glb
Create a Construction Kit consisting of two main components: spherical corner joints and triangular connecting plates. For the corner joints, create a sphere with a radius of 12mm. Flatten the sphere by removing a slice from the bottom. From this sphere, remove a central cubic volume of 26.4mm per side (2.2 times the ...
show = "assembly"; number = 8; sphere_radius = 12; cut = 3; brick_length = 142; brick_width = 125; brick_thickness = 10; clearance = 0.25; tri_base = 50; tri_base_thick = 3.5; tri_clearance = 0.12; tri_length = 100; precision = 12; preview_tab = "Triangular"; module dumb() {} clr = clearance; nbo = 1+sqrt(5)/2;...
glb/cad_dae9dd6ac6ad.glb
Create a middle foot for a P3Steel printer consisting of two stacked, rounded rectangular plates. The base plate is a rounded rectangle measuring 40mm by 20mm with a thickness of 5mm and corner radii of 4.5mm. Centered on top of this base, add a second, smaller rounded rectangular plate measuring 35.3mm by 15.1mm with ...
x1=40; y1=20; th=5; box_corner_radius=4.5; P1=[x1/2-box_corner_radius,y1/2-box_corner_radius,0]; P2=[x1/2-box_corner_radius,-y1/2+box_corner_radius,0]; P3=[-x1/2+box_corner_radius,-y1/2+box_corner_radius,0]; P4=[-x1/2+box_corner_radius,y1/2-box_corner_radius,0]; translate([0,0,th/2]) { hull() { translate(P1)...
glb/cad_cd11dc9f08a0.glb
Create a hanging spiral decoration with a central attachment loop. Start by constructing a flat, 2D spiral that winds inward from an outer diameter of 30mm. The spiral should be composed of rings with a thickness of 1mm and a gap of 0.3mm between each winding. Extrude this spiral shape to a height of 0.8mm. At the ver...
_diameter = 30; _thickness = 1.0; _height = 0.8; _gap = 0.3; _loopDiameter = 3; _loopWidth = 1; _resolution = 60; function radiusAt(radius, angle, pitch) = radius - pitch * (angle/360); module spiral(revolutions, diameter, thickness, height, gap, resolution) { radius = diameter/2; revolutions = min(revolution...
glb/cad_e4c1f8b4116a.glb
Create a Wax Mold Frame by constructing a hollowed-out, rounded rectangular shell. Start with a solid rounded box measuring 56mm wide, 75mm high, and 25mm deep, with a corner radius of 5mm. Hollow this out by removing a smaller rounded box from the center that is 50mm wide, 75mm high, and 19mm deep, leaving a wall thic...
module roundedBox(size, radius, sidesonly) { rot = [ [0,0,0], [90,0,90], [90,90,0] ]; if (sidesonly) { cube(size - [2*radius,0,0], true); cube(size - [0,2*radius,0], true); for (x = [radius-size[0]/2, -radius+size[0]/2], y = [radius-size[1]/2, -radius+size[1]/2]) { translate([x,y,0]) cylinder(r=radius, ...
glb/cad_f8bfe81ff6be.glb
Create a Wax Mold Frame with an overall outer dimension of 150mm in height, 100mm in width, and 60mm in depth, with a wall thickness of 8mm. Start by constructing a hollowed-out rounded rectangular shell. The outer boundary is a rounded box measuring 116mm by 150mm by 60mm with 5mm corner radii. Subtract a smaller ro...
module roundedBox(size, radius, sidesonly) { rot = [ [0,0,0], [90,0,90], [90,90,0] ]; if (sidesonly) { cube(size - [2*radius,0,0], true); cube(size - [0,2*radius,0], true); for (x = [radius-size[0]/2, -radius+size[0]/2], y = [radius-size[1]/2, -radius+size[1]/2]) { translate([x,y,0]) cylinder(r=radius, ...
glb/cad_9eab52251450.glb
Create a Customizable Binary Nametag consisting of a rectangular base with a beveled edge, measuring 70mm in length. The base serves as a plate for a grid of binary bits representing text. For each character in the text, create a horizontal row of 7 bits. Each bit is a small beveled cube with a side length of 1.4mm and...
text = "JS"; bit_style = "bevel"; base_style = "bevel"; bit_size = 100; base_length = 70; bail = "side"; bail_size = 100; reverse_bit_direction = "no"; extra_bit = "no"; TXT= text; HEIGHT=.5*1; BITMODE = bit_style; BASEMODE = base_style; BITSCALE = 1.4*bit_size/100; NBITS= extra_bit == "yes" ? 8 : 7; NCHARS=l...
glb/cad_220e44023ea3.glb
Create a Braille Periodic Table by starting with a rectangular base plate measuring 200mm by 100mm with a thickness of 2mm. On the top surface of this base, add a smaller rectangular label measuring 80mm by 20mm with a height of 2mm, positioned at the top center, and emboss the word "Density" onto it. Across the base,...
use<write.scad> translate([-200,4,0]) cube([200,100,2]); translate([-160,80,1]) cube([80,20,2]); translate([-120,90,4]) writecube("Density",[0,0,4],t=0.5,h=6,face="top",up=0); translate([-185.1,90.1,1]) cube([10.2,10.2,1]);translate([-185.1,90.1,1]) writecube("H ",[7.1,5.1,1],0,face="top",up=0); translate([-15.1,90.1,...
glb/cad_e80ff9f2f394.glb
Create a Discworld Coin Holder by starting with a solid rectangular block measuring 52mm in width, 20mm in depth, and 35mm in height. Position the block so it is centered on the origin, with the base extending 5mm below the zero plane. From this block, remove two cylindrical vertical holes to create coin compartments....
module coin_holder( space = 5, diam1 = 21, diam2 = 16, height = 30, sunken = 5 ) { shrink = 0.02; angle = 30; module hole1(diam, space, height, shrink) { translate([-(diam + space)/2,0,0]) cylinder(h=height+space,d1=diam*(1+shrink),d2=diam); } module hole2(diam, space, height, shrink) { transla...
glb/cad_02d2b0eb07c8.glb
Create a Yazzo Motor Horn Disc. Start with a cylinder that has a radius of 16.45mm, a height of 8mm, and a 24-facet resolution. Remove a central vertical hole with a radius of 2.5mm that passes completely through the disc. On the top surface, create a key notch by removing a trapezoidal prism. This prism should be ...
goldenratio = 1.618003399; joinfactor = 0.25; gDefaultThickness = 8; gDefaultKeyBase = 12; gDefaultKeyTop = gDefaultKeyBase/goldenratio; gDefaultKeyHeight = gDefaultKeyBase/goldenratio; gDefaultDiscRadius = 1/4*25.4*goldenratio*goldenratio; gDefaultDiscThickness = gDefaultThickness; motorhorndisc(gDefaultDiscRadius...
glb/cad_b446b6f2c847.glb
Create a snap-on bracket for an LCD controller designed to fit a 15mm x 15mm aluminum extrusion. The overall height of the part is 10mm. Construct the main body using three primary rectangular sections: a base plate measuring 25mm by 2mm by 10mm, a vertical wall measuring 2mm by 17mm by 10mm, and a third connecting pie...
length=10; module triangle() { cube([2,17,length]); translate([-25,15,0]) cube([25,2,length]); translate([-25,15,0]) rotate(-31) cube([29.15,2,length]); } translate([-2,-2,0]) rotate(-.7) triangle(); difference() { union() { translate([-2,-2,0]) cube([17,2,length]); translate([6.1,0,0]) cu...
glb/cad_a759b3c2ce7a.glb
Create a Traxxas Rod End Backlash Tester designed to hold a dial test indicator (DTI) and a rod end. Start with a base that includes a DTI holder and a rod end grip. The DTI holder section is a block with a central cylindrical throat of 10.64mm diameter (9.54mm plus 0.1mm clearance) and a length of 18mm, transitionin...
dti_throat_dia = 9.54 + 0.1; dti_probe_dia = 4.5; dti_probe_len = 20; dti_taper_dia = 8.6; grab_thickness = 4; base_width = dti_throat_dia + 2 * grab_thickness; base_height = 2.5; grab_dti_len = 18; dti_taper_len = 2.5; traxxas_holder_height = dti_throat_dia; traxxas_grab_thickness = grab_thickness; traxxas_dia = 7.1;...
glb/cad_f8a3efeea3d0.glb
Create a DSR eames chair leg support. Start by constructing a central vertical body that is a combination of a cylinder and a rounded base. Create a cylinder with a radius of 10.4mm and a height of 1mm at the bottom. Above this, create a hull that connects a sphere with a radius of 9.4mm centered at a height of 4mm to ...
d=10.8; h=12; db=28; pad = 0.1; ch = 10; cr = 16; ct = 2; r = 4; smooth = 30; $fn = smooth; difference(){ union(){ hull(){ translate([0,0,h/2-2]) sphere(r=d/2+4); cylinder(r=d/2+5,h=1); } mirror([0,0,1]) translate([0,0,-4]) { intersection(){ translate([0,0,-2]) rotate_extrude(convexity=10, $fn = smooth)...
glb/cad_d87b233e327f.glb
Create a Wire Coiler by constructing a central cylindrical body with a radius of 15mm and a height of 5mm. Surround this central cylinder with a wider, thin base and top flange, each with a radius of 18mm and a height of 1mm; position the base flange 1mm below the bottom of the central cylinder and the top flange 5mm a...
cylinderRadius = 15; module outer() { translate([0, 0, -1]) cylinder(r = cylinderRadius + 3, h = 1); translate([0, 0, 5]) cylinder(r = cylinderRadius + 3, h = 1); } module inner() { cylinder(r = cylinderRadius, h = 5); } difference() { union() { outer(); inner(); } translate([0, 0, -3]) cylinder(r = cylind...
glb/cad_558e280ce003.glb
Create a parametric plug connector consisting of three intersecting hollow cylinders. Each cylinder has an outer diameter of 20mm, a wall thickness of 5mm, and a length of 60mm (calculated as the height of 50mm plus half the width of 10mm). The structure is formed by three cylinders meeting at a central point, each o...
cylinder = "true"; Width = 20; Length = 20; Height = 50; NumberOfPlug = 3; Plug_0_Vertical = 0; Plug_0_Horizontal = 0; FristAngleVertical = 90; FristAngleHorizontal = 0; SecondAngleVertical = 90; SecondAngleHorizontal=90; ThirdAngleVertical = 90; ThirdAngleHorizontal=180; FourthAngleVertica...
glb/cad_45af2ec50541.glb
Create a parametric plug connector by constructing a central hub with multiple radiating cylindrical arms. The overall structure is formed by the union of several cylinders, each with a diameter of 20mm and a length of 50mm, all intersecting at a common center. To build the outer shell, create a central sphere with a...
cylinder = "true"; Width = 20; Length = 20; Height = 50; NumberOfPlug = 8; Plug_0_Vertical = 0; Plug_0_Horizontal = 0; FristAngleVertical = 90; FristAngleHorizontal = 0; SecondAngleVertical = 90; SecondAngleHorizontal=90; ThirdAngleVertical = 90; ThirdAngleHorizontal=180; FourthAngleVertica...
glb/cad_18e0cfd19a3d.glb
Create a Cable Rack consisting of 13 identical bays arranged in a row. Each bay has a total width of 24.6mm (calculated from a total width of 295mm across 12 intervals and 13 walls). Each bay is a rectangular pocket with a length of 80mm. The rear wall is 3mm thick and 30mm high, while the front wall and side walls a...
$vpr = [40, 0, 170]; bays = 13; l = 80; width = 295; slot = 6; bridge = 6; ridge = 1; h1 = 30; h2 = 8; s2 = 2; s1 = 3; rib = 15; slope = 75; funnel = 80; screws = 3; screw = -3.6; recess = 0.2; detail = 45; w = (width < 0) ? abs(width) : (width-s2)/bays-s2; total = bays*(w+s2)+s2; echo ("total width:...
glb/cad_aacee473ed08.glb
Create a plunger storage holder consisting of a cylindrical base and a conical upper section. First, construct the base as a cylinder with a radius of 73mm and a height of 50mm. Hollow out the center by removing a concentric cylinder with a radius of 72mm (leaving a 1mm wall thickness), starting from a height of 1mm ...
$fn=60; Mode = 0; Show_Plunger = true; Base_R = 73; Handle_R = 20; H = 50; Wall_Thk = 2.5; Thk=ceil(Wall_Thk/.4)*.4; difference() { if (Mode==0) Cone(); if (Mode==1) Base_Body(); if (Mode==2) { Base_Body(); Cone(); } translate([0,-Base_R,20]) cube(Base_R*2); } if ($preview ...
glb/cad_a0df68af4262.glb
Create a Blizzard BattleNet authenticator stand-in. Start with a main rectangular body that is 56.23mm wide, 26.19mm high, and 10.22mm deep. One of the shorter ends of the rectangle should be rounded; specifically, create a convex arc on the side opposite the button end with a chord width of 7.7mm. On the button end o...
holes=0; hole_d=20; h=26.19; w=56.23; d=10.22; oversize=1; chord_w=7.7; keyring_hole=1; project_keyring=10; keychain_dia=6.54; keychain_outset=2.0; button_d=0.59; button_dia=9.49; button_inset=14.275; two_buttons=1; lcd_w=22.62; lcd_h=7.54; lcd_inset=22.68; hearthstone_box=false; front=true; functio...
glb/cad_6a2c860a16bf.glb
Create a rotor protector with a total height of 5mm. Start by creating a circular ring with an outer radius of 150mm and a wall thickness of 5mm. From this ring, remove material to leave only one quarter-circle arc. Connect the two ends of this arc to the center of the circle using two straight radial beams, each 5mm...
$fn = 50*1; thickness = 5; height = 5; outer_radius = 150; hole_diameter = 3.3; hole_distance = 19; module outer_quarter_circle() { difference() { linear_extrude(height = height) circle(r = outer_radius); translate([-outer_radius/2,-outer_radius/2]) linear_extrude(height = height) square([outer_radi...
glb/cad_5512eb03ef7f.glb
Create a tub fountain consisting of a central hub and six radiating blades. Start by creating a central cylinder with a radius of 12mm and a height of 20mm. Around this hub, arrange six identical fan blades spaced evenly every 60 degrees. Each blade is formed by the intersection of a cylinder with a radius of 12mm an...
part = "fan"; number_of_blades = 6; cylinder_size = 10; number_of_wedges=8; use <MCAD/involute_gears.scad> print_part(); module print_part() { if (part == "fan") { form_fan(); } else if (part == "turbine") { form_turbine(); } else if (part == "fountain") { form_fountain(); } else if (part == "flotation") ...
glb/cad_efb18cae4348.glb
Create a walking toy mechanism consisting of a rectangular base and axles. First, construct a hollow rectangular base with outer dimensions of 32mm width, 16mm length, and 9.6mm height. The walls should be 2.1mm thick. Drill two cylindrical holes completely through the side walls (along the width) with a diameter of 2....
s=16; h=19.2/2; use <ext-duplo.scad>; TH=2.1 ; BASEW=s*2; BASEL=s*1; BASEH=h; HOLE_D=2.38+0.1; HOLE_EXTRA=0.5; Y_AXIS_OFFSET=BASEW*0.65; Z_AXIS_OFFSET=HOLE_D/2+TH+2; module walker_base( TH=TH , BASEW=BASEW , BASEL=BASEL , BASEH=BASEH , HOLE_D=HOLE_D , Y_AXIS_OFFSET=Y_AXIS_OFFSET , Z_AXIS_OFFSET=Z_AXIS_OFFSET...
glb/cad_2b9f6469364a.glb
Create a walking toy leg component by extruding a flat, horseshoe-like profile to a height of 2.1mm. The overall shape is formed by taking the convex hull of two circles with a diameter of 4.48mm, centered 3mm apart along the Y-axis, and removing a smaller internal track. This internal void is created by the convex hul...
TH=2.1; HOLE_D=2.38+0.1; HOLE_EXTRA=0.0; L=3; CHOKE=1 ; $fn=64; linear_extrude(height=2.1) { difference() { hull() { translate([0,0]) circle(d=HOLE_D+HOLE_EXTRA+2*TH-CHOKE); translate([0,L]) circle(d=HOLE_D+HOLE_EXTRA+2*TH); } hull() { translate([0,0]) circle(d=HOLE_D+HOLE_EXTRA-CHOKE); translate([0,L]) circle(d=HO...
glb/cad_17767eaa3304.glb
Create a walking toy component based on a 2x2 building block grid. Start with a rectangular base measuring 32mm by 32mm with a total height of 19.2mm. On the top surface, place four cylindrical studs arranged in a 2x2 grid. Each stud must have an outer diameter of 9.53mm and a height of 4.55mm. Hollow out the center ...
mdia=9.53; mt=1.21; mh=4.55; s=16; h=19.2/2; fdia=13.15; ft=1.21; fover=.00; fc=0; fca=2; externalundersize=0; wt=1.6; $fn=50; module duplobottom(nw=2, nl=3, nh=2) { union(){ difference(){ translate([0,0,nh*h/2]) cube([nw*s-2*externalundersize, nl*s-2*externalundersize, nh*h], center=true); translate...
glb/cad_4f2dad5a67f8.glb
Create a Modified Two Color Present by starting with a central cube that is 40.005mm on all sides. Carve out four rectangular channels from this cube to create a cross-shaped void that allows a ribbon to pass through. Two of these channels should be 9.39mm wide, 2.725mm deep, and 37.64mm high, running vertically along ...
bow_width = 8.89; bow_depth = 2.225; bow_top_length = 36.449; bow_side_height = 38.14; fit_margin = .5; boxS = 40.005; bowChannelW = bow_width+fit_margin; bowChannelD = bow_depth+fit_margin/2; bowChannelTopL = bow_top_length-fit_margin; bowSideH = bow_side_height - fit_margin; difference() { cube(boxS,center=true); t...
glb/cad_6697cdc1b7f8.glb
Create a GT2 2mm Pulley. Start with a central cylindrical base with a diameter of 18mm and a height of 7mm. Bore a 5mm diameter hole through the center of the entire assembly. Around the center, create a toothed section with a length of 6mm. This section must feature 20 teeth following the GT2 2mm profile. Add a top f...
number_of_teeth = 20; profile = 12; motor_shaft_diameter = 5; toothed_part_length = 6; base_height = 7; base_diameter = 18; top_flange = 1; top_flange_height = 3; top_flange_width = 1; bottom_flange = 1; bottom_flange_height = 1; bottom_flange_width = 1; bottom_flange_diameter_equal_base = 1; screws_dispos...
glb/cad_f2a66e16c181.glb
Create a Trash Can Deodorizer Box, which is a shallow, rectangular slotted container. The main body is a rounded rectangular shell with outer dimensions of 112mm by 82mm and a depth of 30mm. The walls should be 6mm thick with rounded corners. The top of the box is open, and the bottom face features a series of paralle...
difference() { minkowski() { linear_extrude(height = 30, center = false) { polygon(points=[[50,-35],[-50,-35],[-50,35],[50,35]]); } sphere(6, $fn=30); } minkowski() { translate([0,0,2]) linear_extrude(height = 40, center = false) { polygon(points=[[48,33],[48,-33],[-48,-33],[-48,33],[4...
glb/cad_2741e755fff9.glb