Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a 3D model of the Navalniy 2018 campaign symbol. Start by constructing the central text based on the navalniy2018 geometry with a scale factor of 10, a thickness of 6mm, and a base height of 2mm. Surround this text with a rectangular frame that has an outer dimension of 110mm by 110mm (calculated from the 100mm ...
include<navalniy2018.scad> include<ear.scad> include<util.scad> s = 10; xf = 100; yf = xf * navalniy2018_X_TO_Y; zf = 6; bh = 2; earLength = 20; rimHeight=5; rimWidth = 3; scale(1.0) union() { navalniy2018(xf,yf,zf,s,bh); translate([0,0,rimHeight/2]) difference(){ cube([xf+s,yf+s,rimHe...
glb/cad_4dffd87c035a.glb
Create a navalniy-model campaign symbol plate. Start by creating a central square base 35mm wide, 35mm deep, and 4mm high. On top of this base, add a thin square rim that is 35mm wide and 35mm deep, with a height of 2mm and a wall thickness of 5mm. Centered on top of the base and rim, place the campaign symbol with a w...
include<ear.scad> include<rim.scad> include<symbol.scad> symbSize = 30; symbHeight = 2; plateSize = 35; plateRimWidth = 5; plateBaseHeight = 4; plateRimHeight = 2; earSz = 2; difference() { translate([0,0,plateBaseHeight]) union() { symbol(symbSize,symbSize,symbHeight); translate([0,0,-plat...
glb/cad_03d6cd48ce82.glb
Create a navalniy-model campaign symbol consisting of a circular base and a raised rim. Start with a solid cylinder base with a radius of 30mm and a height of 4mm. On top of this base, add a concentric ring (rim) with an outer radius of 30mm, an inner radius of 25mm, and a height of 4mm, positioned to start at the 4mm ...
include<ear.scad> include<rim.scad> include<symbol.scad> extRad=30; intRad=25; rimHeight = 4; baseHeight = 4; symbSize = intRad*sqrt(2); symbLevel = 2.5; symbHeight = 5; earsTotal = 6; difference() { union() { difference(){ union() { translate([0,0,baseHeight]) ...
glb/cad_a7f91dbfdae2.glb
Create a navalniy-model campaign symbol consisting of a central raised text element and a surrounding rectangular frame. The main body is a rectangular plaque with a total width of 110mm and a height based on the symbol's proportions, with a thickness of 5mm. On top of this base, create a raised border or rim that is 4...
include<../src/navalniy2018.scad> include<../src/ear.scad> include<../src/util.scad> s = 10; xf = 100; yf = xf * navalniy2018_X_TO_Y; zf = 5; bh = 3; rimHeight=4; rimWidth = 3; scale(1.0) difference() { union() { navalniy2018(xf,yf,zf,s,bh); translate([0,0,rimHeight/2]) difference()...
glb/cad_55d05f7123d0.glb
Create a navalniy-model campaign symbol consisting of a circular base and a raised central emblem. Start by creating a solid cylinder with a radius of 30mm and a height of 4mm. On top of this base, add a concentric ring (rim) with an outer radius of 30mm, an inner radius of 25mm, and a height of 4mm, positioned to star...
include<ear.scad> include<rim.scad> include<symbol.scad> extRad=30; intRad=25; rimHeight = 4; baseHeight = 4; symbSize = intRad*sqrt(2); symbLevel = 2.5; symbHeight = 5; union() { union() { difference(){ union() { translate([0,0,baseHeight]) rim(externalRadi...
glb/cad_ae21d3f29fb3.glb
Create a navalniy-model campaign symbol consisting of a circular base and a raised central emblem. Start by creating a solid cylinder with a radius of 30mm and a height of 4mm. On top of this base, add a concentric ring (rim) with an outer radius of 30mm, an inner radius of 25mm, and a height of 4mm, positioned to star...
include<ear.scad> include<rim.scad> include<symbol.scad> extRad=30; intRad=25; rimHeight = 4; baseHeight = 4; symbSize = intRad*sqrt(2); symbLevel = 2.5; symbHeight = 5; earsTotal = 6; union() { union() { difference(){ union() { translate([0,0,baseHeight]) r...
glb/cad_d1a9cd77b96f.glb
Create a spool fix bracket by starting with a custom extruded polygon base that is 60mm tall. The base profile is defined by a complex series of vertices, roughly forming a curved, asymmetric plate. From this solid base, remove two cylindrical holes to create the mounting points. Each hole must have a radius of 1.55m...
fudge = 0.1; module poly_path4140(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-123.543021,0.157184],[-111.757311,14.085764],[-122.114461,24.085764],[-124.174225,24.129386],[-128.916689,23.904470],[-131.620419,23.524537],[-134.186608,22.877341],[-136.345851,21.896173],[...
glb/cad_8579779da42f.glb
Create a mounting bracket for an OpenVrail consisting of two identical mirrored rail profiles. For one profile, create a base shape by extruding a 2D profile along a length of 250mm. This profile is composed of a rectangle measuring 19.56mm wide by 3mm high, with a small square of 3.6mm attached at a 45-degree angle to...
ges=250; breite=19.56; steper=ceil((ges-20)/50); teiler=((ges-20)/steper); echo("Faktor",steper); echo("Teiler",teiler); module dreieck(laenge= 50) { linear_extrude(height = laenge, center = false) { union() { translate([2.5455,0.4545,0]) rotate([0,0,45]) square(3.6); square(...
glb/cad_ad00684e4bc7.glb
Create an Archimedes Cat Toy by constructing a hollow cylinder with an outer radius of 31.75mm and a total height of 100mm, featuring a wall thickness of 1.75mm. Remove the center of the cylinder to create a cavity with a radius of 30mm, leaving a base thickness of 1.75mm at the bottom. Cut a central vertical hole thro...
$fn=100; $fs=.1; r=30; t=1000; w=1.75; tol=.2; h=100; factor=10; toy(); module toy(){ difference() { cylinder(r=r+w,h=100); translate([0,0,(w+1)]) cylinder(r=r,h=h); translate([0,0,-tol]) cylinder(r=r/2,h=h*2); } linear_extrude(height=100,twist=t) translate([w*factor,-(w+4)/2,0]) square([r-w*...
glb/cad_dd9d2f5ae2f7.glb
Create a Rolling Pin Disc with a thickness of 5mm. The main body is a ring with an outer diameter of 54.25mm and a central circular hole with a diameter of 18mm. The edges of the ring should be rounded with a 0.5mm bevel. On the flat faces of the disc, emboss text to indicate the thickness. On one side, center the te...
use <write/Write.scad> count = 1; base_unit = 80; pin_diameter = 45; hole_diameter = 18; thickness = 5; bevel = 1/2; ten_inches_in_mm = 254; unit = ten_inches_in_mm / base_unit; dough = count * unit; module disc_text(n_mm, num_inch, denom_inch) { text_height = 7; text_depth = 1/4; spacer = 2; baseline = hole...
glb/cad_6478f765727f.glb
Create a Parametric PL2Q Motor Mount consisting of three main sections aligned along a central axis. First, construct a motor cup. Create a 24-facet cylinder with an outer radius of 14.875mm (27.75mm diameter + 2mm wall thickness) and a height of 15mm. Add a 2mm tall transition ring on top with an outer radius of 14.8...
2204_14t_dia = 27.75; hk_810_10a_l = 37.0; hk_810_10a_w = 19.0; motor_cup_dia = 2204_14t_dia + .10; motor_cup_th = 2.0; esc_w = hk_810_10a_w; esc_l = hk_810_10a_l + 3 + 2; tab_width = 6 + 0.3; color([ .50, .63, .93 , 0.90]) translate( [ (esc_l/2) + (motor_cup_dia/2), 0, 5.0]) 2204_cup(); color([ .50, .63, .93 , 0...
glb/cad_d848dc34c08d.glb
Create a Weight Holder by starting with a solid rectangular base measuring 45mm wide, 30.4mm long, and 15mm high. Centered on the top face of this base, carve out a semi-cylindrical trough to hold a weight. This cutout should be created by removing a cylinder with a diameter of 190mm and a width of 40mm. The cylinder m...
$fn = 64; w_d = 190; w_r = w_d/2; w_w = 30*1+10; s_t = 5; s_d = 15; w_fact = 1.5; l_fact = 0.8; ext_w = w_w * w_fact; echo("External width : ", ext_w); ext_l = 2*pow(pow(w_r,2)-pow((w_r-s_d),2),0.5) * l_fact; echo("External lenght : ",ext_l); s_h = s_d * 1; difference(){ cube([ext_w,ext_l,s_h]); tran...
glb/cad_66f56249659b.glb
Create a bike mount gadget with a total height of 24mm. The main body consists of a central mounting structure and two extending arms. Start by creating a large cylinder with a radius of 16.7mm (half the handlebar diameter of 25.4mm plus a 4mm wall thickness) and a height of 24mm. From this, remove a smaller concentric...
$fn=100; mountHeight = 24; phoneLength = 140; armThichness = 3; armWidth = 8; tabHeight = 8; barDiameter = 25.4; finThickness = 3; cylinderThickness = 4; tolerance = 0.05; offsetDepth = 16+cylinderThickness+barDiameter/2; hexPts = [ [0,-15.08-tolerance], [0,15.08+tolerance], [4.5,17.68+tolerance]...
glb/cad_5dc1672b84a0.glb
Create a classic style letter scale consisting of a base, balancing arms, and a weighing platform. Start with the base: create a flat, semi-circular plate with a height of 3mm. The main body is a ring formed by a cylinder with a radius of 100mm and a concentric hole of 80mm. To stabilize the base, add two rectangular...
module letterweight_base() { difference() { union() { intersection() { difference() { cylinder(h=3, r=100); cylinder(h=3, r=80); } translate([-100,-100,0]) cube([100,100,3]); } translate([-80,-15,0]) cube([80, 15, 3]); translate([-15,-80,0]) cube([15, 80, 3]); cylinder(...
glb/cad_af881b8276b8.glb
Create a classic style letter scale consisting of a base and a balancing foot. First, construct the base as a flat plate 3mm thick. The main body is a partial ring created by taking a cylinder with a radius of 150mm and subtracting a concentric cylinder with a radius of 135mm. This ring is further constrained by a 15...
module letterweight_base() { difference() { union() { intersection() { difference() { cylinder(h=3, r=150); cylinder(h=3, r=135); } translate([-150,-150,0]) cube([150,150,3]); } translate([-135,-15,0]) cube([135, 15, 3]); translate([-15,-135,0]) cube([15, 135, 3]); cyli...
glb/cad_29d3b55318d0.glb
Create a classic style letter scale consisting of a base, a weighing platform, and a support structure. First, construct the base as a flat, semi-circular plate with a height of 3mm and a radius of 150mm. From this base, remove a concentric circular section with a radius of 135mm to create a thin outer ring. Add two ...
module letterweight_base() { difference() { union() { intersection() { difference() { cylinder(h=3, r=150); cylinder(h=3, r=135); } translate([-150,-150,0]) cube([150,150,3]); } translate([-135,-15,0]) cube([135, 15, 3]); translate([-15,-135,0]) cube([15, 135, 3]); cyli...
glb/cad_df589d0b1cec.glb
Create a NiMH akupack holder by designing a main body that wraps around a cylindrical space. Start with a base shape formed by the convex hull of two cylinders, each 23mm in diameter and 105mm long, positioned 23mm apart center-to-center along the x-axis. To this, add a flat rectangular base measuring 43mm wide by 13mm...
$fn = 200; default_len = 105; default_d = 23; default_flat=true; module bateries(l, d) { hull() { translate([-11.5,0,0]) cylinder(d=d, h=l, center=true); translate([11.5,0,0]) cylinder(d=d, h=l, center=true); } } module body(l, d, flat) { difference() { hull() { scal...
glb/cad_ffba937a598d.glb
Create a spool holder by constructing a composite cylindrical body. Start with a base cylinder that has a radius of 28mm and a height of 5mm, centered on the origin. Directly above this, add a second cylinder with a radius of 26mm and a height of 20mm, positioned so its center is 8mm above the origin. From this combine...
module spool_holder() { difference(){ union(){ translate([0,0,8]){ cylinder(r=26, h=20, center=true, $fn=360); } cylinder(r=28, h=5, center=true, $fn=360); } cylinder(r=13.25, h=45, center=true, $fn=360); translate([0,0,11]){ ...
glb/cad_014b431f411d.glb
Create a Nanoleaf Aurora wire connector starting with a base rectangular plate measuring 15.6mm wide, 18mm deep, and 0.8mm thick. Add a smaller rectangular block centered on the base that is 12mm wide, 15mm deep, and 2.5mm thick, and a second rectangular block measuring 15.6mm wide, 3mm deep, and 2.5mm thick positioned...
difference() { union() { cube([15.6,18,0.8]); translate([(15.6-12)/2,0,0]) cube([12,15,2.5]); translate([0,15,0]) cube([15.6,3,2.5]); } translate([15.6/2-3,3,-0.1]) for (a=[0,2,4,6]) translate([a,0,0]) { cylinder(r=1.25/2,h=...
glb/cad_1c13f95a5ee9.glb
Create an Infinity 180 LoF Arc Painting Guide for a 120mm miniature base. Start by creating a base plate that is a combination of a cylinder with a 140mm diameter and a 2mm height, intersected with a square block of 140mm width and 5mm height centered on the same axis, resulting in a semi-circular plinth. From this sha...
marker = 120; difference(){ union(){ cylinder(d = marker+20, h=2); intersection(){ cylinder(d=marker+20,h=5); translate([-(marker+20)/2,0,0]) cube([marker+20,marker+20,5]); } } translate([0,0,2]) cylinder(d = marker+0.5, h = 5, $fn=36); tr...
glb/cad_c72cf8f5c807.glb
Create a dashboard lid for a Mazda Miata NA. Start with a square base plate measuring 38mm by 38mm with a thickness of 2mm and corner radii of 7mm. On top of this base, center a smaller square ring with outer dimensions of 36.8mm by 36.8mm, a height of 1.5mm, and corner radii of 7mm; this ring should have a wall thickn...
lid_thick=1; lid_round=7; lid_base_width = 38; lid_rib_width = 36.8; b = 5; h = 5; w = 1.2; roundRect(lid_base_width,lid_base_width,2,lid_round); translate([0,0,1.5]){ difference() { roundRect(lid_rib_width,lid_rib_width,1.5,lid_round); roundRect(lid_rib_width-lid_thick,lid_rib_width-lid_thick...
glb/cad_3aca757cf706.glb
Create a ventilation grille for a car radio with an overall length of 180mm, a width of 53mm, and a base thickness of 1.2mm. The structure begins with a main rectangular slab of these dimensions, with an additional thin base plate extending 8mm beyond the edges on all sides, having a height of 0.5mm. To form the grille...
l = 180.0; b = 53.0; d = 1.2; a = 2.2; h = 10.0; e = 8.0; ed = 0.5; xn = 5.0; xa = 3.5; yn = 7.0; ya = 2.5; xl = (l-a*1.5)/xn-xa; yb = (b-a*1.5)/yn-ya; difference() { union() { color("red") cube([l,b,d+h]); color("red") translate([-e,-e,0]) cube([l+e*2,b+e*2,ed]); } color("...
glb/cad_b0f051e1af9f.glb
Create a tow coupling for a toy trailer. Start with a central rectangular block measuring 12.6mm wide, 7.5mm deep, and 1.5mm high. On top of this block, center a vertical cylinder with a radius of 2mm and a height of 8mm. At the bottom of the main block, create two vertical cylindrical pegs, each with a radius of 1.7...
module trugdor(){ wand=1.5; breit=9.6; breitges = breit+2*wand; hoch=11; dick=4.5; dickges = dick+2*wand; schnitttief = 4; inf=99; cylrad=(dickges-wand-schnitttief)/2; zopfn=2; zopfnhigh=8; hh=3.9; hb=8.8; trapezbreit=8; trapezweg=4; trapezzumknick=6.3; tkurz=3.4; ...
glb/cad_82d4cf467485.glb
Create a replica U.S. Marshal badge by combining a five-pointed star and a circular ring. Start with a five-pointed star with a radius of 19.05mm and a thickness of 4.5mm. The star should be modified so that its center is curved, achieved by intersecting the star with a sphere of radius 50.8mm centered such that the sp...
use <write/Write.scad>; TopText="U.S."; BottomText="MARSHAL"; $fn=60; BADGE_DIAMETER=25.4*1.5; BADGE_HEIGHT=4.5; RING_OUTER_DIAMETER=1.2; RING_INNER_DIAMETER=0.9; RING_OFFSET=0; module star_5_point(radius=10){ polygon(points=[ from_polar(radius, 0), from_polar(radius, 72), from_polar(radius, 72*2), from_pol...
glb/cad_ba311f6f6c64.glb
Create a 4K Chinese Actioncam Mount. Start with a main rectangular body measuring 64.1mm wide, 45.8mm high, and 25.2mm deep. Hollow out the center to create a camera cavity with internal dimensions of 60.1mm wide, 41.8mm high, and 25.2mm deep. Create a top access opening by removing a central rectangular section from...
$fa=0.5; $fs=0.5; MntType=2; cHeight=41.8; cWidth=60.1; cDepth=25.2; mHeight=45.8; mWidth=64.1; mDepth=25.2; XWallThickness = (mWidth-cWidth)/2 ; YWallThickness = (mHeight-cHeight)/2 ; HalfXWallThickness = XWallThickness/2; HalfYWallThickness = YWallThickness/2; union(){ difference() { translate([0,0,-1.1]) c...
glb/cad_71596815894a.glb
Create a Nano Spinner with a total diameter of 39mm. The design is symmetrical across the XY plane, consisting of a central hub and three outer arms spaced 120 degrees apart. At the center, create a circular housing for a 623 bearing (10mm inner diameter, 13mm outer diameter, 4mm height). The central hub should featur...
use <MCAD\bearing.scad>; $fn = 100; fine = 200; zero = 0.001; o = 0.1; tMin = 1.0; clearance = 0.5; hF = 1; size = 39; qBars = 4; bearing = true; support = true; roller = false; bolts = false; flatcap = false; ring = true; nSep = 3; angle = 360/nSep; modelC = 623; dInC ...
glb/cad_bcd6d5a910af.glb
Create a fidget spinner with a central bearing and three outer bearings. The overall diameter of the spinner is 72.1mm. Position one 696 bearing (6mm inner diameter, 15mm outer diameter, 5mm thickness) at the center. Arrange three 629 bearings (9mm inner diameter, 26mm outer diameter, 8mm thickness) equidistantly arou...
use <MCAD\bearing.scad>; $fn = 100; fine = 250; zero = 0.001; nozzle = 0.3; o = 0.1; tMin = 1.0; clearance = 0.5; hF = 2; size = 72.1; qBars = 6; bearing = true; support = false; bolts = true; flatcap = true; nSep = 3; angle = 360/nSep; modelC = 696; dInC = bearingDimensio...
glb/cad_0445f2749631.glb
Create a 3D sculpture of a twisted Yin Yang half-cylinder. Start with a 2D profile centered on the origin. This profile is a circle with a radius of 2.5mm. From this circle, remove the top half by centering a 5mm square over the upper hemisphere. Additionally, remove a smaller circle with a radius of 1.25mm centered at...
length=5; rotation=180; thick=5; hole=thick/10; cutangle=45; $fn=40; linear_extrude(height = length, center = true, convexity = 10, twist = rotation) difference() { union() { difference() { circle (r=thick/2,center=true); translate([0,thick/2,0]) square ([thick,thick],center=true); translate([thick/4,...
glb/cad_0483143ab178.glb
Create a Mailbox Magnet plaque by starting with a rectangular base measuring 95mm wide, 38mm high, and 5mm thick. Cut 5mm chamfers off the four corners of this base. On the back surface, create a recessed rectangular area measuring 90mm by 33mm with a depth of 1mm, centered on the plate. On the front face, add embosse...
hauteur = 38; largeur = 95; epaisseur = 5; retrait = 1; orientation = 90; coin = 5; police = "Arial:style=bold"; ligne1 = "Je suis présent à mon domicile"; ligne2 = "merci de m'appeler à ce numéro :"; taille_du_texte = 4; taille_du_telephone = 16; alignement_du_telephone = 8; police_du_numero = "impact"; numero = "0...
glb/cad_7b5d666bab56.glb
Create a USB Flash Drive Variable Cryptex case consisting of two symmetrical shell halves. Each shell is based on a cylindrical body with an inner diameter of 19.8mm and an outer diameter of 27.3mm, and a total length of 55mm. For both the top and bottom shells, carve a central rectangular cutout to accommodate a circ...
Circuit_Width = 14.5; Circuit_Length = 33.5; Circuit_Height = 4; Top_Offset = 20; Bottom_Offset = 2; Strap_Hole = 4.0; part = "both"; if (part == "both"){ Bottom_Shell(); Top_Shell(); } if (part == "bottom"){ Bottom_Shell(); } if (part == "top"){ Top_Shell(); } module myCutout() { depth=1.6; ...
glb/cad_cbffbd42b7d6.glb
Create a trailer handle with a total end-to-end length of 270mm. The handle consists of a central grip section and two mounting tabs. The main body is formed by a cross-section that is 23mm wide and 14mm thick, with rounded corners of 4mm radius. The handle features a symmetrical bend. From the center, the body extend...
$fn = 24; S1 = 247; S2 = 213; ANG = 37; ER = 4; IR = 8; W = 23; T = 14; OBX = (26 + (T+IR)*cos(ANG) - (T+IR)) / tan(ANG) + (T+IR)*sin(ANG)*2; module cross_section (xx,yy) { hull () { translate([ER,-yy/2+ER]) circle (r=ER); translate([ER,yy/2-ER]) circle (r=ER); translate([xx-ER,yy/2-ER]) circle (r=ER); tr...
glb/cad_88ac9e0bfe4b.glb
Create a mini rewards card holder. The main body is a rounded rectangular block with a total width of 88mm, a thickness of 1.95mm, and a height of 24mm. The vertical edges of the body are rounded with a 1.5mm radius. Cut a central slot through the body to hold cards; this slot must be 84mm wide, 0.9mm thick, and 20mm ...
$fn=72; module radiused_block(size,rounding_radius,center,notx,noty,notz) { v = len(size) ? size : size*[1,1,1]; r = rounding_radius ? rounding_radius : 0; fx = notx==undef ? [0,0] : (notx==true ? [1,1] : (len(notx) ? notx : [notx,notx])); fy = noty==undef ? [0,0] : (noty==true ? [1,1] : (len(noty) ? n...
glb/cad_94d28987795b.glb
Create a Mailbox Magnet by starting with a rectangular base plate measuring 95mm wide, 38mm high, and 5mm thick. Round the four corners of the plate with a 5mm radius. On the front face, add embossed text and a phone icon. The first line of text should read "Je suis présent à mon domicile" and the second line "merci d...
hauteur = 38; largeur = 95; epaisseur = 5; retrait = 1; orientation = 90; coin = 5; police = "Noto Sans Oriya"; ligne1 = "Je suis présent à mon domicile"; ligne2 = "merci de m'appeler à ce numéro :"; taille_du_texte = 4; taille_du_telephone = 16; alignement_du_telephone = 13; police_du_numero = "Droid Sans"...
glb/cad_aee3753604f3.glb
Create a Parametric Rail Clamp consisting of two identical mirrored halves. For each half, start with a rectangular block measuring 45.54mm in width, 25.8mm in height, and 19.05mm in depth. Carve a semi-cylindrical channel through the center of the block along its length with a diameter of 25.7mm and a depth that ful...
rail = 1; trap = 1; bolt = [6.8,12.9,4.2]; $fn=144; dia = rail * 25.4 * 1.02; module clamp(recess){ difference(){ cube([dia + bolt[1]*3,bolt[1]*2,dia*.75]); translate ([(dia + bolt[1]*3)/2,bolt[1]*5-1,dia*.75]) rotate([90,0,0]) cylinder(d=dia, h=bolt[1]*5); translate([bolt[1]*.75,bolt[1]...
glb/cad_3b8191e24c4f.glb
Create a Bézier surface with a thickness of 0.5mm. The surface is defined by a 4x4 grid of control points with the following [x, y, z] coordinates in mm: Row 1: [0, 0, 20], [60, 0, -35], [90, 0, 60], [200, 0, 5] Row 2: [0, 50, 30], [100, 60, -25], [120, 50, 120], [200, 50, 5] Row 3: [0, 100, 0], [60, 120, 35], [90, 10...
t_step = 0.05; thickness = 0.5; show_control_points = "YES"; p00_z = 20; p01_z = -35; p02_z = 60; p03_z = 5; p10_z = 30; p11_z = -25; p12_z = 120; p13_z = 5; p20_z = 0; p21_z = 35; p22_z = 60; p23_z = 45; p30_z = 0; p31_z = -35; p32_z = 60; p33_z = 45; module line3d(p1, p2, thickness, p1Style = "CAP_CIRCLE", p2Sty...
glb/cad_e0c0430768a7.glb
Create an end part for a printer exhaust by constructing a composite geometric shape. Start with a base cylinder 100mm in diameter and 20mm high. On top of this base, add a truncated cone that starts at a 100mm diameter at the bottom and tapers to a 52mm diameter at a height of 75mm. Attached to the side of this tapere...
difference() {union(){ cylinder(r=50,h=20,$fa=1); translate([0,0,20]) cylinder(h=75,r1=50,r=26); translate([0,50,57.5]) cube([54,100,75],center=true); } union(){ translate([0,0,0]) cylinder(h=20,r=48,$fa=1); translate([0,0,20]) cylinder(h=73,r1=48,r2=23); translate([0,50,57.5]) cube([50,100,71],center=true); }}
glb/cad_02b940882ece.glb
Create a Duplo Gear with a snap rotation joint. Start with a main cylinder of radius 18.1mm and a total height of 19.1mm. For the gear teeth, create 8 teeth around the perimeter. Each tooth is formed by a cylinder of radius 5mm and height 13.3mm, centered vertically. To square the teeth, subtract a central cube of 10...
$fn = 60; duplogear(2,1,2,4,1); module duplogear(geartype,nibbletype,height,nibblecount,holetype) { ns = 8; gearheight=9.55*height; bottomdepth=gearheight-2.1; duplowall = 1.55; outerradius=36.2/2; innerradius=33.4/2; difference () { union() { difference() { union() { cylinder(r=outerradius,h=g...
glb/cad_071bdcdc2bfe.glb
Create a PogoHolder, a handheld housing for spring contact pins. The main body is a tapered block with a total height of 25mm. The bottom is a narrow rectangular base that widens toward the top. Create a grid of holes for the pogo pins. For a 3x2 configuration, position the holes with a column pitch of 2.25mm and a ro...
tightL=4; wallt=1.5; hSolderPocket=5; wSolderPocket=1; holeos1=0.4 /2; holeos2=0.7 /2; IndexL=10; PogoHousing(pogor=1.02/2, Ncols=3, Nrows=2, L=33-8, colpitch=2.250,rowpitch=4.5, IndexPins=[ [-4, -1.455, 1.2/2], [4, -1.455, 1.2/2]]); translate([20,0,0]) PogoHousing(pogor=1.37/2, Ncols=...
glb/cad_dec4baebd153.glb
Create an edge cover by constructing a long, narrow profile with a total length of 200mm and a total height of 6mm. Start by creating a base rectangular block that is 3mm wide, 200mm long, and 6mm high. Add a second rectangular section on top of this base that is 7mm wide, 200mm long, and 2mm high, aligned to the same ...
length=200; heigth=6; delta=2; space=3; PS=4; v1=PS+space; v2=v1+delta; cube([space,length,heigth]); cube([v2,length,delta]); translate([v1,0,0]) cube([delta,length,heigth]);
glb/cad_022fc6cb95de.glb
Create an edge cover by constructing a composite geometric shape from several rectangular prisms. Start with a base block that is 3mm wide, 25mm long, and 6mm high. Attach a second block to this base that is 8mm wide, 25mm long, and 2mm high, aligned to the same length. Add a third block measuring 2mm wide, 25mm long, ...
cube([3,25,6]); cube([8,25,2]); translate([7,0,0]) cube([2,25,6]); cube([3,6,25]); cube([8,2,25]); translate([7,0,0]) cube([2,6,25]);
glb/cad_90f63ced7d8a.glb
Create an edge cover by constructing a long, composite profile with a total length of 200mm. Start with a base rectangular block that is 3mm wide, 200mm long, and 6mm high. Attached to the side of this base, add a second rectangular block measuring 8mm wide, 200mm long, and 2mm high, aligned to the bottom edge. On top ...
cube([3,200,6]); cube([8,200,2]); translate([7,0,0]) cube([2,200,15]); translate([7,0,15]) cube([7,200,2]); translate([12,0,0]) cube([2,200,15]);
glb/cad_df9163496ab3.glb
Create a heart-shaped pin with a mounting point for a safety pin. First, construct the main heart body by creating a heart shape based on a plane curve, scaled to 1.75 units in the X and Y dimensions and 1 unit in the Z dimension. From this heart, remove a smaller heart-shaped section from the center, starting 1.5mm be...
include <heart_files.scad> union() { translate([0,0,0]) pin(); difference() { scale ([1.75,1.75,1]) heart(1,1,3,1,9,30); translate([0,0,-1.5]) linear_extrude(height=10) plane_heart(1.3,1.3); } } module pin() { x1 = 10; y1 = 4; z1 = 6.01; h1 = 0.7; t1 = y1/2 + h1; r1 = 1.2; h2 = 20; tx = 0; ty = 0; tz = 1.4; di...
glb/cad_e71c3a05a8c3.glb
Create a Libre axe head by constructing a composite solid and removing a central void. First, form the main body by creating a hull that connects a central core to a point. This core is a union of a box measuring 70mm by 49mm by 100mm and a cylinder with a radius of 35mm and a height of 100mm, both centered on the Z-ax...
r= 70; n=100; h=100; x=25; s=140; l=50; a=20; module chuck(){ union(){ translate([0,-0.1*r,0])cube([r,0.7*r,h], center = true); translate([0,0.6*r/2,0])cylinder(h = h, r1 = r/2, r2 = r/2, center = true, $fn=n); } } module chunk(){ hull(){ chuck(); translate([0,s,l/2])cylinder(h = h+l, r1 = 0.1, r2 = 0.1, cente...
glb/cad_8192f30d01b0.glb
Create a Firing Glass by constructing a hollowed vessel with a rounded base. Start by forming the main body as a union of a sphere with a radius of 9mm and a tapered cylinder. The cylinder should have a bottom radius of 6mm, a top radius of 9mm, and a height of 27mm, positioned so its base starts 1.98mm above the cente...
g_rad=6; difference() { union() { translate([0,0,0.33*g_rad]) cylinder(h=4.5*g_rad, r1=g_rad, r2=1.5*g_rad); sphere(1.5*g_rad); } translate([0,0,0.33*g_rad]) cylinder(h=4.5*g_rad*1.2, r1=g_rad*0.9, r2=1.5*g_rad*0.9); translate([0,0,-1.6*g_rad]) cube(3.25*g_rad, center = true); }
glb/cad_366e1785a7c7.glb
Create a Velux stop cap consisting of a hollow cylindrical shaft and a decorative base. The main shaft should have an outer radius of 8.5mm and a wall thickness of 1.5mm, resulting in an inner radius of 7.0mm. The total height of this hollow section is 18.7mm. At the top of the shaft, add a protruding circular rim with...
hole_radius = 17.3 / 2.0; hole_tolerance = 0.15; hole_depth = 19.0; radius = hole_radius - hole_tolerance; depth = hole_depth - 2.0 * hole_tolerance; bottom_height = 2.0; top_height = 1.0; top_width = 4.0; strength = 1.5; union() { shaft_height = depth - bottom_height; outer_radius = radius; inner_radi...
glb/cad_2c8f4d9dca58.glb
Create a Prusa i3 MK2 Clone Ramps 1.4 Cover Base and Door. Construct the main body as a rectangular enclosure with a base measuring 118.5mm by 92mm and a height of 35mm. The side walls are 2mm thick. Integrate a rear panel measuring 105.5mm by 2mm by 35mm. Add structural reinforcements to the side panels: one at the ...
offsy=15;offsx=19.7; exo=50; hof=-40; module ThinCylinder(r,h,t) { difference() { cylinder(r=r,h=h); translate([0,0,-1]) cylinder(r=r-t,h=h+2); } } module FanGrill(r,spacing1=1.6,spacing2=8,height=3) { translate([0,0,-0.01]) difference() { cylinder(r=r,h=100); rotate([0,0,...
glb/cad_d02ba664dc13.glb
Create a RAMPS 1.4 Cover Base and Door. Start by constructing a main rectangular body with dimensions of 105.5mm in length, 87.5mm in width, and 20mm in height. Integrate a fan mounting system centered on the base. Create a square mount 40mm wide and 3mm thick with four 3.4mm diameter screw holes positioned at the co...
module ThinCylinder(r,h,t) { difference() { cylinder(r=r,h=h); translate([0,0,-1]) cylinder(r=r-t,h=h+2); } } module FanGrill(r,spacing1=1.6,spacing2=8,height=3) { translate([0,0,-0.01]) difference() { cylinder(r=r,h=100); rotate([0,0,45]) cube([spacing1,100,height*2],center...
glb/cad_f85c793b91f0.glb
Create a RAMPS 1.4 Cover Base and Door. Start by constructing a rectangular base with a thickness of 3mm. On the top surface, create a fan mount centered on the base. This mount consists of a square outer boundary 40mm wide with 3mm thick walls. Within this mount, create a circular fan grille with a radius of 16mm an...
module ThinCylinder(r,h,t) { difference() { cylinder(r=r,h=h); translate([0,0,-1]) cylinder(r=r-t,h=h+2); } } module FanGrill(r,spacing1=1.6,spacing2=8,height=3) { translate([0,0,-0.01]) difference() { cylinder(r=r,h=100); rotate([0,0,45]) cube([spacing1,100,height*2],center...
glb/cad_9b2098ea1ee7.glb
Create a water can sprinkler consisting of a cylindrical base and a perforated spherical head. Start with a base cylinder 30mm tall with an outer diameter of 28mm and an inner diameter of 25mm, creating a wall thickness of 1.5mm. At the bottom of this cylinder, add a flat circular rim (foot) with a thickness of 2mm and...
laenge_spitze=30; diam_spitze=25; diam_spitze_innen=28; diam_boll=40; voffs=0; dik=2; foot=1; module tip() { difference() { union() { if( foot==1 ) { color("blue") cylinder(dik,2*dik+diam_spitze_innen/2,2*dik+diam_spitze_innen/2); } cylinder(laenge_spitze,dik...
glb/cad_87ded46680ad.glb
Create a Printrbot Simple Extruder Fan, Cooling Fan, and LED Ring Mount. Start by combining a fan mount and an LED ring mount with a 40mm cooling fan housing. Add two rectangular reinforcement blocks: one measuring 25.8mm by 8mm by 24mm positioned at [-12.9, -8, -27], and another measuring 31.8mm by 8mm by 38mm positio...
union() { difference() { union() { import_stl("ledFan.stl"); translate([-18.5, 0, -3]) { rotate([0, 0, -90]) { import_stl("SimpleFan40mm.stl"); } } translate([-12.9, -8, -27]) { cube([25.8, 8, 24]); } translate([-18.9, -8, -3]) { cube([31.8, 8, 38]); } } translate([9.5...
glb/cad_8bf7bfc2f03a.glb
Create a rectangular prism with a length of 44mm, a width of 5mm, and a height of 6mm. Position this block so that its center is aligned with the coordinate system, specifically placing it at a translation of 17mm on the X-axis and -22mm on the Y-axis.
difference() { import_stl("60mm_fan.stl"); translate([17, -50, -1]) { cube([100, 100, 10]); } } translate([17, -22, 0]) { cube([5, 44, 6]); }
glb/cad_f14d11957841.glb
Create a meeple game piece by extruding a 2D silhouette to a thickness of 10mm. The silhouette is 16mm wide and 16mm high. Start with a circular head with a diameter of 5mm, centered horizontally and positioned at the top. Below the head, create a body using a hull that connects two 1mm radius rounded corners at the bo...
WIDTH = 16; HEIGHT = 16; THICK = 10; HEAD_DIAM = 5; ROUNDED_RADIUS = 1; FOOT_CUTOUT_RADIUS = 3; $fn=50; module meeple_2d() { translate([0, HEIGHT - HEAD_DIAM / 2]) circle(r=HEAD_DIAM / 2); difference() { hull() { translate([-(WIDTH /2 - ROUNDED_RADIUS), ROUNDED_RADIUS]) circle(r=ROUNDED_RADIUS...
glb/cad_092228512208.glb
Create a motor mount for an XY Plotter. Start with a base composed of three joined rectangular blocks: one measuring 20x57x25mm, a second measuring 9x25x10mm positioned at x=-20, and a third measuring 49x55x6mm positioned at x=20. Add a fourth block of 49x10x25mm at x=20. Integrate a cylinder with a radius of 10mm and ...
$fn=16; difference(){ union(){ translate([0,0,0]) cube([20,57,25]); translate([-20,0,0]) cube([9,25,10]); translate([20,0,0]) cube([49,55,6]); translate([20,0,0]) cube([49,10,25]); translate([69-10,10,0]) cylinder(h=25, r=10, $fn=36); } translate([-1,45,25/2]) rotate...
glb/cad_929fb7bdb182.glb
Create a Y-axis idler bracket for an XY Plotter. Start with a main rectangular block measuring 25mm wide, 57mm long, and 23mm high. Attach a smaller rectangular extension to the side, measuring 9mm wide, 25mm long, and 10mm high, positioned at X=30, Y=0, Z=0. Remove the following material to create mounting holes and ...
$fn=16; difference(){ union(){ translate([0,0,0]) cube([25,57,23]); translate([30,0,0]) cube([9,25,10]); } translate([12.5,45,-1]) cylinder(h=30, r=4.2, $fn=36); translate([-1,45,13]) cube([30,20,20]); translate([-1,-1,20]) cube([30,32,10]); translate([-1,10,10]) rotate([0,90,0]...
glb/cad_8fc860bc7756.glb
Create a motor mount for an XY Plotter. Start with a base consisting of a rectangular block 54mm wide, 65mm deep, and 6mm high, with an additional rectangular section 54mm wide, 12mm deep, and 20mm high attached to the top. Add a vertical block 6mm wide, 50mm deep, and 50mm high positioned at the edge. Create a hull c...
bearingDia=16; bearingLenght=25; $fn=16; module bearing(){ difference(){ union(){ translate([0,0,0]) rotate([0,90,0]) cylinder(h=bearingLenght+0.6, r=bearingDia/2, center=true, $fn=64); } } } module tie(){ difference(){ union(){ translate([0,0,0]) rotate([0,90...
glb/cad_6d9295847d57.glb
Create an X-idler bracket for an XY Plotter. Start with a base block measuring 54mm in width, 65mm in depth, and 6mm in height. Add a second rectangular block on top of the base, measuring 54mm by 12mm by 20mm in height. On the sides of the assembly, create two cylindrical protrusions with a radius of 10mm and a heigh...
bearingDia=16; bearingLenght=25; $fn=16; module bearing(){ difference(){ union(){ translate([0,0,0]) rotate([0,90,0]) cylinder(h=bearingLenght+0.6, r=bearingDia/2, center=true, $fn=64); } } } module tie(){ difference(){ union(){ translate([0,0,0]) rotate([0,90...
glb/cad_efd39aa1f1d0.glb
Create a Z-carriage for an XY Plotter. Start with a main rectangular base measuring 55mm wide, 65mm deep, and 12mm high. Add a rectangular extension to the center of the back edge that is 14mm wide, 9mm deep, and 21mm high. On the top surface, create two bearing housings centered at the front and back. The back housin...
bearingDia=16; bearingLenght=25; $fn=16; module bearing(){ difference(){ union(){ translate([0,0,0]) rotate([0,90,0]) cylinder(h=bearingLenght+0.6, r=bearingDia/2, center=true, $fn=64); } } } module tie(){ difference(){ union(){ translate([0,0,0]) rotate([0,90...
glb/cad_1c957e28a732.glb
Create a belt clamp for an XY Plotter. Start by forming a base rectangular block 34mm long, 12mm wide, and 4mm high. On top of this base, add a second rectangular block that is 34mm long, 3mm wide, and 8mm high, positioned at the same origin, resulting in a total height of 12mm. Along the top surface of the base, crea...
difference(){ union(){ translate([0,0,0]) cube([34,12,4]); translate([0,0,0]) cube([34,3,8]); for(i = [34/2+6 : 2 : 34]) translate([i,0,4]) rotate([-90,0,0]) cylinder(h=12, r=0.8, $fn=4); for(i = [1 : 2 : 34/2-6]) translate([i,0,4]) rotate([-90,0,0]) cylinder...
glb/cad_4e6dd4c6ad0a.glb
Create a belt washer for an XY Plotter. Start by constructing a wide, flat base cylinder with a radius of 12.5mm and a height of 1.5mm. Centered on top of this base, add a second, smaller cylinder with a radius of 6mm and a height of 2.5mm. Finally, create a central circular hole passing vertically through the entire a...
difference(){ union(){ translate([0,0,0]) cylinder(h=1.5, r=12.5, $fn=96); translate([0,0,0]) cylinder(h=2.5, r=6, $fn=64); } translate([0,0,-1]) cylinder(h=5, r=4.2, $fn=36); }
glb/cad_32526ec44b1e.glb
Create a pen holder for an XY Plotter. Start with a base formed by the union of a rounded rectangle and a cylinder. The main body is a rounded rectangle 45mm wide, 86mm long, and 3mm thick, with corners rounded by a 4mm radius. Add a rectangular block 5mm wide, 6mm deep, and 10mm high at the top center, and a cylinder ...
difference(){ union(){ minkowski(){ translate([4,4,0]) cube([37,82,3]); cylinder(r=4, $fn=64); } translate([45-5,55,0]) cube([5,6,10]); translate([45-7,20,0]) cylinder(h=9, r=7, $fn=64); translate([60-2,12.5,0]) cube([8,51-12.5,8]); translate(...
glb/cad_97a52a66b61d.glb
Create a mounting plate for an Arduino UNO by starting with a rectangular base measuring 58mm by 68mm with a thickness of 2.5mm. Add four cylindrical mounting posts to the top surface, each with a height of 6mm and a radius of 3mm. Position these posts at the following coordinates relative to the origin (0,0,0): one ...
y=-2; x=55.5; difference(){ union(){ translate([0,0,0]) cube([58,68,2.5]); translate([x-2.5,y+14,0]) cylinder(h=6, r=3, $fn=24); translate([x-2.5-5.1,y+14+1.3+50.8,0]) cylinder(h=6, r=3, $fn=24); translate([x-2.5-5.1-27.9,y+14+1.3+50.8,0]) cylinder(h=6, r=3, $fn=24); transla...
glb/cad_1683026cfb96.glb
Create a herringbone gear rack and pinion set. First, construct a linear gear rack with a total length of 50mm and a tooth height of 4mm. The teeth must be double-helical (herringbone), meaning they angle inward toward a center plane and then outward again. The total face width of the rack is 7mm. Next, create a mat...
$fakeGears = false; herringbone = 1; materialSavingInset = 0; removeCircles = 1; spiel = 0.05; modul=1; laenge_stange=50; zahnzahl_ritzel=15; hoehe_stange=4; bohrung_ritzel=4; breite=7; eingriffswinkel=20; schraegungswinkel=20; zusammen_gebaut=0; optimiert = 1; pi = 3.14159; rad = 57.29578; $fn = 96; nudge ...
glb/cad_67fcab88c1f5.glb
Create a Shadow Maker lamp enclosure. Start by creating a hollow sphere with an outer radius of 33mm (calculated from a 50mm light height and 10mm base offset, scaled by 1.1) and a wall thickness of 1mm. The sphere should be open at the bottom, with the lower portion truncated by a flat plane to create a stable base. ...
light_height = 50; projection_width=75; enclosure_scale = 110; thickness=1; enclosure_type=0; base_offset=10; use_bounding_box=0; bounding_box_width=200; offX = 0; offY = -60; input = "no_input"; module void() {} vessel_scale=enclosure_scale/100; points_array = (input=="no_input"? [[155,155],[[191,71.29],[185.87,7...
glb/cad_a61389f23ab8.glb
Create a shoulder rig mount for a DSLR camera. Start by creating a solid block that is the convex hull of two cylinders, each with a radius of 14mm and a height of 50mm, positioned 60mm apart along the x-axis. From this solid, remove a central vertical cylinder with a radius of 10.2mm and a height of 70mm, centered o...
difference(){ union(){ hull(){ translate([0,0,0]) cylinder(h=50, r=14, $fn=96); translate([60,0,0]) cylinder(h=50, r=14, $fn=96); } } translate([0,0,-1]) cylinder(h=70, r=10.2, $fn=64); translate([60,0,-1]) cylinder(h=70, r=10.2, $fn=64); translate([0,-2.5,-1]) cube...
glb/cad_a62c599fddc5.glb
Create a DSLR shoulder rig mount. Start by forming a base shape that is a union of two cylinders with a radius of 14mm and a height of 25mm, positioned 60mm apart center-to-center along the X-axis, connected by a hull. Add a horizontal cylinder with a radius of 14mm and a length of 32mm, centered between the two base c...
$fn=24; difference(){ union(){ hull(){ translate([0,0,0]) cylinder(h=25, r=14, $fn=96); translate([60,0,0]) cylinder(h=25, r=14, $fn=96); } translate([14,0,34]) rotate([0,90,0]) cylinder(h=60-28, r=14, $fn=96); translate([14,-14,25]) cube([60-28,28,9]); } tran...
glb/cad_ece59c7b03d3.glb
Create a DSLR shoulder rig mount consisting of a rectangular base connecting two cylindrical pillars. Start with a central rectangular block measuring 60mm in length, 7mm in width, and 35mm in height. At each end of this block, center a cylinder with a radius of 12mm and a height of 35mm. From the center of each cylind...
module inside(){ difference(){ union(){ translate([0,0,0]) cylinder(h=35, r=8.6); } translate([-10,8,0]) cube([20,10,35]); translate([-10,-8-10,0]) cube([20,10,35]); } } difference(){ union(){ translate([0,0,0]) cylinder(h=35, r=12); translate([60,0,0]) cylinder(h=35, r=1...
glb/cad_09c6d7d144b5.glb
Create a DSLR shoulder rig mount consisting of a main body that combines a cylindrical and a rectangular section. Start with a cylinder 25mm high with a radius of 14mm. Attached to this cylinder, add a rectangular block measuring 40mm in length, 28mm in width, and 25mm in height, positioned so the cylinder is centered ...
$fn=24; difference(){ union(){ translate([0,0,0]) cylinder(h=25, r=14, $fn=96); translate([0,-14,0]) cube([40,28,25]); } translate([0,0,-1]) cylinder(h=30, r=10.2, $fn=64); translate([21-0.1,0,12.5]) rotate([0,90,0]) cylinder(h=50, r=9.6, $fn=64); translate([0,-1,-1]) cube([21,2,...
glb/cad_9f8532a17c5a.glb
Create a Shoulder Rig for DSLR mount by forming a base structure from two joined blocks. Start with a primary rectangular block measuring 8mm by 120mm by 60mm. Attach a second rectangular block of 8mm by 60mm by 60mm to the top of the first, rotated 45 degrees around the Z-axis and positioned at a height of 120mm, crea...
$fn=24; difference(){ union(){ translate([0,0,0]) cube([8,120,60]); translate([0,120,0]) rotate([0,0,-45]) cube([8,60,60]); } translate([-1,15,15]) rotate([0,90,0]) cylinder(h=30, r=1.8); translate([-1,35,15]) rotate([0,90,0]) cylinder(h=30, r=1.8); translate([-1,15,45]) rotate([0,9...
glb/cad_b61d5131dd57.glb
Create a DSLR shoulder rig mount consisting of a central cylindrical body with a tiered top. Start with a base cylinder 12mm high with a radius of 12.5mm. On top of this base, add a second cylinder 1mm high that tapers from a radius of 12.5mm at the bottom to 10mm at the top. Remove a central vertical hole with a rad...
difference(){ union(){ translate([0,0,0]) cylinder(h=12, r=12.5, $fn=96); translate([0,0,12]) cylinder(h=1, r1=12.5, r2=10, $fn=64); } translate([0,0,3.7]) cylinder(h=10, r=2.2, $fn=24); translate([0,0,-1]) cylinder(h=4, r=4.5, $fn=6); translate([0,0,6]) cylinder(h=10, r=4.2, $fn=48...
glb/cad_2b36292bcc22.glb
Create a DSLR shoulder rig mount consisting of two stacked cylindrical sections. Start with a base cylinder that has a radius of 9.9mm and a height of 3mm. Directly on top of this base, add a second cylinder with a radius of 9.2mm and a height of 10mm. To create the central cavity, remove a cylinder from the center of ...
difference(){ union(){ translate([0,0,0]) cylinder(h=3, r=19.8/2, $fn=96); translate([0,0,0]) cylinder(h=10, r=19.8/2-0.7, $fn=96); } translate([0,0,3]) cylinder(h=30, r=19.8/2-2.5, $fn=64); translate([8.5,-10,3]) cube([5,20,20]); translate([-8.5-5,-10,3]) cube([5,20,20]); }
glb/cad_2cc866ea3cf0.glb
Create a cylindrical mount for a DSLR shoulder rig. Start by creating a solid base cylinder with a radius of 9.35mm and a height of 3mm. On top of this base, add a second, taller cylinder with a radius of 8.55mm and a height of 10mm. Finally, carve out a central vertical hole through both cylinders, starting 3mm from t...
difference(){ union(){ translate([0,0,0]) cylinder(h=3, r=18.7/2, $fn=96); translate([0,0,0]) cylinder(h=10, r=18.7/2-0.8, $fn=96); } translate([0,0,3]) cylinder(h=30, r=18.7/2-2.5, $fn=64); }
glb/cad_45d412acbff5.glb
Create a Filabottle adapter for a Filastruder hopper. Start by creating a rectangular base block with dimensions 31.8mm in width, 48mm in depth, and a height of 22.7mm (12.7mm plus a 10mm gap). At each of the four corners of the top face, remove a small 8mm cube centered on the corner to create notches. In the remainin...
part="fila"; half=0; clearance=0.4; $fn=64; bottleID=25.07; bottleIR=bottleID/2; bottleOD=27.4; bottlePitch=2.7; bottleHeight=9; bottleAngle=2; threadLen=15; bottleNeckID = 21.74; holderOD=bottleOD+5; holderOR=holderOD/2; funnelOD=100; funnelOR=funnelOD/2; funnelWall=2; funnelIR=bottleNeckID/2; funnelRim = 5; fi...
glb/cad_14ed7729496b.glb
Create a simple pulley by starting with a central cylinder that has a diameter of 10mm and a height of 3mm. Bore a 2mm diameter hole through the exact center of this cylinder along its vertical axis. To create the groove for the belt, carve a circular channel around the outer equator of the cylinder. This channel is fo...
pitch_diameter=10; center_hole_diameter=2; circular_belt_diameter=2; height=3; difference(){ cylinder(h=height,d=pitch_diameter,$fn=30,center=true); cylinder(h=height+1,d=center_hole_diameter,$fn=30,center=true); rotate_extrude(convexity = 10, $fn = 100)translate([pitch_diameter/2, 0, 0])circle(d = circul...
glb/cad_0a330b7c6646.glb
Create a hex head driver guitar string tensioner. Start by constructing a main body consisting of two cylinders with a radius of 6.5mm and a height of 14mm, positioned side-by-side along the Y-axis at coordinates [0, 7.5, 0] and [0, -7.5, 0], and joined by a hull operation to create a rounded rectangular block. Remove ...
xsize=9; ysize=24; wall=4; hexhead=6.4; heigh=10; module hexheadpin(){ $fn=6; cylinder(r=hexhead/(2*cos(30)),h=2*heigh); } module box(){ $fn=15; union(){ difference(){ hull(){ translate([0,(ysize-xsize)/2,0])cylinder(r=(wall+xsize)/2,h=heigh+wall); translate(...
glb/cad_667f125357da.glb
Create a Customizable Luggage Tag. Start by creating a base rectangular plate with a width of 75mm, a height of 45mm, and a thickness of 2mm, ensuring all four corners have a radius of 4mm. Add a raised border (lip) around the top edge of the plate that is 3mm wide and 1mm thick. On the left side of the tag, create a...
use <MCAD/boxes.scad>; tagWidth = 75; tagHeight = 45; tagDepth=2; cornerRadius = 4; typeface = "Helvetica"; tagHolePosition = 0; tagHoleWidth = 15; tagHoleHeight = 4; useLip = true; lipWidth=3; lipDepth = 1; text_horizonal_alignment="right"; text_position=1; textPadding=2; line_spacing=4; line_1_text="B...
glb/cad_70992b2625f4.glb
Create a fidget spinner called "The Queen of Spinners" consisting of a central hub and three symmetrical arms. Start with a central circular housing designed to hold a 623 bearing (3x10x4mm). Around this center, position three 624 bearings (4x13x5mm) spaced equally at 120-degree intervals. The distance from the cente...
use <MCAD\bearing.scad>; $fn = 100; fine = 200; zero = 0.001; o = 0.1; tMin = 1.0; clearance = 0.5; hF = 1; size = 39; qBars = 4; bearing = true; support = false; roller = false; bolts = false; flatcap = false; ring = true; cap = false; nSep = 3; angle = 360/nSep; model...
glb/cad_060886457ab9.glb
Create a fidget spinner called "The Queen of Spinners" consisting of a central hub and three symmetrical arms. Start with a central bearing housing for a 624 bearing (13mm outer diameter, 5mm thickness). Around this center, position three smaller spinner units spaced 120 degrees apart. Each of these units is designed...
use <MCAD\bearing.scad>; use <mini spinner.scad>; $fn = 100; fine = 250; zero = 0.001; nozzle = 0.3; o = 0.1; tMin = 1.0; clearance = 1; hF = 2.2; size = 76.3; qBars = 6; bearing = true; support = false; nSep = 3; angle = 360/nSep; modelC = 624; dInC = bearingDimensions(mode...
glb/cad_ffa0ac67876b.glb
Create a bracket for mounting a VR viewer to a tablet. Start with a base rectangular block measuring 140mm in length, 20mm in width, and 4mm in height. Add two side walls to this base: one block measuring 45mm by 5mm by 15mm positioned at the origin shifted 5mm in the negative Y direction, and another block of the same...
difference(){ union(){ cube([140,20,4]); translate([0,-5,0]){cube([45,5,15]);} translate([0,6,0]){cube([5,14,15]);} translate([0,17,0]){cube([45,5,15]);} translate([100,17,0]){cube([40,5,15]);} translate([100,-37,0]) {cube([40,37,4]);} } translate([5,5,0]){cube([130,10,55]);} translate([120,-17...
glb/cad_f6b0631e3e17.glb
Create a 3D representation of the Flyers logo with a uniform thickness of 30mm. The design is composed of a white outer border and a black interior. First, construct the white border. Create a large ring centered at (1000, 550) with an outer radius of 450mm and an inner radius of 420mm. Inside this, place a smaller co...
z = 30; module white_part (){ translate([1000,550,0]){ difference(){ cylinder(h=z, r=200); cylinder(h=z, r=110); } difference(){ cylinder(h=z, r=450); cylinder(h=z, r=420); translate([-450,-225,0]) cube([450, 900, z]); } } module curved_feather_edge(y){...
glb/cad_5ef82258fdb3.glb
Create an industrial faucet handle consisting of a central hub and a surrounding wheel. Start by forming a ring with a major radius of 39mm and a cross-sectional radius of 6.66mm. Along the outer perimeter of this ring, place 10 spheres, each with a radius of 6.66mm, spaced evenly every 36 degrees. Construct the centr...
r2 = 18/2*0.74; r1 = 78/2-r2; vert =42; rcenter = r1*0.28; f=1.3; clr=0.15; rthread = 3; rnut = (10/2)/cos(30); hnut = 5; fknobs=1.25; sknobs =2; difference() { union() { torus(r1,r2,3*vert,vert); translate([0,0,-r2*0.1]) for(i=[0:4]) { rotate(360/5*i,[0,0,1]) rotate(90,[1,0,0]) cylinder(r=r...
glb/cad_f25943e997ab.glb
Create a battery holder by starting with a rectangular base of 50mm by 70mm with a height of 6mm. Round the exterior corners of this base with a radius of 3mm. Hollow out the center of the base by removing a rectangular block of 45mm by 68mm with a height of 6mm, leaving a wall thickness of 3mm on the sides and 1.1mm o...
main(); module main(){ union(){ difference(){ minkowski() { cube([50, 70, 6]); cylinder(h=1,r=3,$fn=30); } translate([3,3,1.1]) cube([45,68,6]); rotate([90,0,0]) translate ([10,3, -10]) cylinder(h=16,r=0.5,$fn=30); rotate([90,0,0]) transla...
glb/cad_b109d7149233.glb
Create a tile for the Umbrus Cubus Simus lampshade by starting with a solid cube that is 10mm wide, 10mm deep, and 2mm high. Center a circular hole with a radius of 3mm through the center of the cube, extending along the Z-axis, and remove this material from the solid. To create the interlocking joints, remove four sem...
include <constants.scad> use <teeth.scad> $fn = 200; points = [[0,0], [alpha, 0], [alpha, alpha], [0, alpha+tolerance/2]]; difference() { cube([alpha, alpha, tile_height], center=false); union() { translate([alpha/2, alpha/2, 0]) cylinder(tile_height, hole_radius, hole_radius, center=false);...
glb/cad_f46449f12507.glb
Create a lampshade in the shape of a snub cube, an Archimedean solid consisting of 38 faces. The structure is composed of 6 square faces and 32 equilateral triangular faces. Each individual face must be designed as a flat tile with a thickness of 1mm. Instead of solid surfaces, apply a Voronoi pattern to every face t...
use <voronoi.scad> module voronoi_polygon(border, n=30, thickness=1.7, round=1.0, edging=3.0, seed=undef) { only_x = [ for (point = border) point[0] ]; only_y = [ for (point = border) point[1] ]; min_x = min(only_x); min_y = min(only_y); max_x = max(only_x); max_y = max(only_y); size_x = ...
glb/cad_1a4f6630b8e7.glb
Create a 3D tile for a snub cube lampshade. Start by defining two 2D polygons. The first polygon has vertices at [0,0], [20,0], and [20*cos(153.23°), 20*sin(153.23°)]. The second polygon has vertices at [0,0], [20,0], and [20*cos(142.98°), 20*sin(142.98°)]. Extrude the first polygon linearly to a height of 37mm, rota...
a33 = 153.23458768313; a34 = 142.98343004080; radius = 20.0; height = 37; x33 = radius * cos(a33); y33 = radius * sin(a33); poly33 = [ [0,0], [radius, 0], [x33, y33] ]; x34 = radius * cos(a34); y34 = radius * sin(a34); poly34 = [ [0,0], [radius, 0], [x34, y34] ]; intersection() { union() { translate([0,...
glb/cad_5c728c6e80e1.glb
Create a Plant Tutor Hook consisting of two circular rings connected by a straight neck. First, construct a large ring with an outer diameter of 24mm and an inner diameter of 20mm, with a total thickness of 5mm. Cut a small gap 4mm wide into the side of this ring to create an opening for inserting a plant. Second, crea...
TUTOR_DIAMETER = 8; HOOK_THICKNESS = 2; THICKNESS = 5; TUTOR_LENGTH = 20; TUTOR_WIDTH = 4; HOOK_DIAMETER = 20; HOOK_SPACING = 4; $fn = 50; difference() { cylinder(h = THICKNESS, d = TUTOR_DIAMETER + 2 * HOOK_THICKNESS, center = true); cylinder(h = THICKNESS, d = TUTOR_DIAMETER, center = true); transl...
glb/cad_783eb5737ada.glb
Create an L-shaped door handle. The main body is a flat rectangular slab 180mm long, 8mm thick, with a height that tapers from 35mm at the base to 20mm at the end. At the base of the handle, attach a cylindrical connector with a diameter of 20mm and a length of 15mm. Within this connector, create a square hole for the...
handle_type = "l"; vertical_screw = "y"; horizontal_screw = "y"; shaft_side= 8; shaft_depth= 20; screw_diameter= 3; screw_offset= 10; connector_diameter = 20; connector_length = 15; text_height = 15; text_thickness = 3; text_data = "Bathroom"; round_diameter = 70; round_height = 30; l_length = 180; l_sta...
glb/cad_5f2f21c0c725.glb
Create a Tensionable Soft Jaw Vice consisting of a base and a matching slider. Construct the base as a symmetrical block with a total length of 90.1mm (based on a 76.2mm spacing plus 8.05mm extensions on each side) and a total height of 19.05mm. The base features a central rectangular section with a height of 5mm. On...
Long_Or_Short = 1; Slider_Type = 1; Vice_Type = 1; Spacing = 76.2; W_Wid = 9.5+20; Flat_Wid = 19.0; Fr_Ht = 3.17; Ht = 19.05; Base_Ht = 5.0; SL_Ht = 6.35; Gap_Wid = .2; VertHole_OD = 4.4; Hole_OD = 5.20; Hole_Res = 24; NutTrap_Wid = 10.1; NutTrap_Thk = 3.3; Len = Spacing + (8.05 * 2); Slider_Wid = Ht - Fr_Ht; Spac...
glb/cad_063f8a328b52.glb
Create an electric box key consisting of a cylindrical shaft and a flat handle. Start by creating a central cylinder with a diameter of 4.5mm and a total length of 28mm. At one end of this cylinder, add two small rectangular wings, each measuring 8mm by 14mm with a thickness of 2.2mm, extending symmetrically from the s...
$fn = 100; module cross(dia,axLength){ translate([0,-1*axLength,0])rotate([270,0,0]) cylinder(axLength*2,dia,dia); translate([7,-axLength,-1.1])rotate([0,0,90]) cube([8,14,2.2]); } module sleutel(axLength, dia){ difference(){ cross(dia,axLength); translate([0,-axLength+12,0])rotate([90,0,0])cylinder(12,2.9,2.9...
glb/cad_1191ebe84281.glb
Create a Lampshade Ring Adapter consisting of a central hollow cylinder and three equidistant radial snap-arms. The main body is a hollow ring with an inner radius of 17mm, an outer radius of 19mm, and a height of 10mm. At the base of the ring, add a solid circular disk with a radius of 25mm and a thickness of 2mm. ...
shade_or = 30.5; shade_th = 1.5; ring_ir = 17; ring_ht = 10; wall_th = 2; faces = 100; snap_w = 10; lip_r = 1; base_r = 25; origin = [shade_or+wall_th, shade_or+wall_th, 0]; translate(origin) difference() { union() { cylinder(r=ring_ir+wall_th, h=ring_ht, $fn=faces); for(i=[0:3]) rotate([0,0,...
glb/cad_f3dc7b44e8c4.glb
Create a V-series microswitch bracket. Start with a base mounting plate that is 27.8mm by 15.9mm with a thickness of 3mm. The plate should have rounded corners with a radius of 2.8mm. Add two vertical walls to the plate to create a housing for the switch. The top wall is 3mm thick and the back wall is 9mm long and 3mm...
plate_thickness = 3; top_wall_thickness = 3; back_wall_thickness = 3; back_wall_length = 9; indent_depth = 5; edge = 3; inner_curve = 2; back_curve_expansion = 0.1; wall_chamfer = 1.5; hole_diameter = 2.19545; chew_diameter = 3.2639; chew_depth = 0.2; corner_hole_offset = 2.8; vert_size = 27.8; horiz_size = 15.9; thi...
glb/cad_e354c688f848.glb
Create a USB OTG Cable and Stylus Holder. Start with a central rectangular block 133mm wide, 15mm deep, and 12.1mm high. Hollow out the center of this block with a rectangular cutout 130mm wide, 15.1mm deep, and 9.1mm high, leaving a wall thickness of 1.5mm on the top, bottom, and sides. To create the clip's curved end...
strapWidth = 15; strapThickness = 1.5; tWidth = 130; tThickness = 9.1; clipLip = 3; USB = [17.5,11.4]; USBoffset = 26; $fn = 30; difference(){ hull(){ translate([(tWidth+strapThickness)/2,0,0]) rotate([90,0,0])cylinder(r=tThickness/2+strapThickness,h=strapWidth,center=true); translate([-(tWidth+strapThickn...
glb/cad_4920c3a29862.glb
Create a USB OTG cable and stylus holder designed to clip onto a tablet. Start by constructing a main body that is a hull of a central rectangular block measuring 133mm wide, 15mm deep, and 11.6mm thick, with two semi-cylindrical ends of radius 6.05mm centered on the width. Subtract a central rectangular slot measuring...
strapWidth = 15; strapThickness = 1.5; tWidth = 130; tThickness = 9.1; clipLip = 3; USB = [17.5,11.4]; USBoffset = 26; stylusRadius = 5.1; $fn = 30; difference(){ hull(){ translate([(tWidth+strapThickness)/2,0,0]) rotate([90,0,0])cylinder(r=tThickness/2+strapThickness,h=strapWidth,center=true); translate...
glb/cad_181356e36efa.glb
Create a Nut Diameter Sizer consisting of a rectangular base plate 33mm wide, 21.2mm deep, and 3mm thick. Centered on the top surface, emboss the text "M4 nut dia = 8.2,0.05" with a height of 0.75mm. Arrange five hexagonal holes in a row along the center of the plate, spaced 13.2mm apart. Each hexagonal hole must hav...
Name="M4 nut dia = 8.2,0.05"; NutDia= 8.2; ThreadDia=4.5; StepSize=0.05; Steps=2; Spacing=NutDia+5; Height=3; i=1; difference(){ translate([-(Steps+0.5)*Spacing,-NutDia/2-7,-0.5])cube([Spacing*(Steps*2+1),NutDia+14,Height+0.5]); for(i=[-Steps:1:Steps]){ translate([i*Spacing,0,0]){ cylinder...
glb/cad_354d605361e8.glb
Create a mod2509 pipe clamp designed to secure two pipes of different diameters. The overall height of the clamp is 5mm. First, create a large outer ring with a diameter of 41mm (35mm pipe diameter plus 3mm wall thickness on each side) and a height of 5mm. This ring should have a hollow center with a diameter of 33.5m...
clamp_side=2; screw=1; screw_hole=2.2; screw_headerhole=4.3; screw_headerheight=1.3; pipe1_d = 35-1.5; pipe2_d = 15; pipe_tol= 0.01; pipe1_opening=1.8; pipe2_opening=2; thickness=3; height = 5; distance=8-thickness; tol=0.2; $fn=100; module distance(){ cube([distance,distance,height]); } module pipeende(){ ...
glb/cad_a3e6971a5bc6.glb
Create a VW Touareg Stereo Bezel by starting with a main body consisting of a cylinder with a radius of 830.5mm and a height of 116mm, centered on the origin. Remove a central cubic volume of 1661mm by 1661mm by 116mm, and a secondary rectangular block measuring 17mm by 230mm by 116mm positioned at x=-814. Cut two rec...
difference(){ union(){ difference (){ cylinder(h=116, r=830.5, $fn=360, center=true); translate ([8,0,0]) color( "blue", 1.0 ) { cube ([1661,1661,116], center=true); } } translate ([-814,0,0]) cube ([17,230,116], center = true); } translate ([-825.5,0,3]) cube ([10,171,97], center = true); translate ([-812,0,3]) cube...
glb/cad_d2d8a13a25bb.glb
Create a 3DRAG syringe extruder base. Start with a central rectangular plate measuring 82mm by 85mm with a thickness of 15mm. At positions [30, 0, -15] and [-30, 0, -15] relative to the center, create two vertical support structures. Each structure consists of a 22mm cube with a height of 30mm, from which a cylinder ...
raggiodado=7.9; altezzadado=7.1; raggioLM8UU=7.85; hLM8UU=24.6; rasse8mm=4.4; thickness=15; cut=thickness+20; r_piston=11; r_plunger=7.6; depthsiringehole=2; difference() { union() { cube([82,85,thickness],center=true); translate([30,0,-15-thickness/2]) { difference(){ cube([22,22,30],center=true); cylinder(h=...
glb/cad_1a5e7d671116.glb
Create a 3DRAG syringe extruder mount. Start with a central rectangular base plate measuring 90mm by 100mm with a thickness of 10mm. At the center of the plate, create a vertical cylindrical hole with a radius of 4.5mm. Position two larger hollow cylinders with an outer radius of 8mm and an inner radius of 4.5mm vert...
r_axis=4.5; r_vite=5.5/2; r_syringe=5; thickness=10; cut=thickness+20; union() { translate([30,0,0]) difference() { cylinder(h=45,r=r_axis+3.5,$fn=100); translate([0,0,-1]) cylinder(h=57,r=r_axis,$fn=100); } translate([-30,0,0]) difference() { cylinder(h=45,r=r_a...
glb/cad_bf9a88936bb0.glb
Create a 3DRAG syringe extruder base consisting of two identical rectangular plates, each 5mm thick. Each plate is a rectangular slab measuring 91.5mm in length and 42.3mm in width. On each plate, center a primary circular hole with a radius of 4.3mm that passes completely through the thickness of the slab. Position ...
thickness=5; cut=thickness+20; r_axis=4.3; r_motorshaft=3.5; r_motorbolt=3.3/2; bolt_distance = 31; r_boltplates=1.6; difference() { cube([91.5,42.3,thickness],center=true); cylinder(h=cut,r=r_axis, center=true, $fn=100); translate([30,0,0])cylinder(h=cut,r=r_axis, center=true, $fn=100); translate([-30,0,0])cylinder(h=...
glb/cad_51a72ce66343.glb
Create a coolant jacket for a syringe extruder by constructing a thick-walled hollow cylinder. Start with an outer cylinder that has a radius of 30mm and a height of 85mm. From this volume, remove an inner cylinder with a radius of 15.5mm and a height of 87mm to create a central bore. Position the inner cylinder so tha...
camicia(15.5,30,85,30); module camicia(Ri,Re,H,resolution) { difference(){ ce(Re,H,resolution); translate([7.5,0,0]) ci(Ri,H,resolution); } module ci(Ri,H,resolution) cylinder(r=Ri,h=H+2,$fn=resolution,center=true); module ce(Re,H,resolution) cylinder(r=Re,h=H,$fn=resolution,center=true); }
glb/cad_7859debb2f6a.glb
Create a 3DRAG syringe extruder component consisting of three stacked cylindrical sections with a 30-facet resolution. Start by creating a base cylinder with a height of 5mm, a bottom radius of 4.5mm, and a top radius of 5mm. Directly above this, add a second cylinder with a height of 5mm, a radius of 4.5mm, and a top ...
tuboesterno(5,28,4.5,5,30); module tuboesterno(l2,l3,rag1,rag2,resolution){ union(){ translate([0,0,21]) cylinder(h=l3,r=rag1,$fn=resolution,center=true); translate([0,0,5]) cylinder(h=l2,r1=rag1,r2=rag2,$fn=resolution,center=true); translate([0,0,0]) cylinde...
glb/cad_4f903eef9057.glb