Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a parametric furniture foot extender. Start by creating a solid rectangular base measuring 44.5mm by 44.5mm with a height of 15mm. Surround this base with a larger rectangular outer wall that is 49.5mm by 49.5mm (providing a 2.5mm border on all sides) and extends upward to a total height of 22mm. Inside this s...
extension = 15.0; fsize_x = 44.5; fsize_y = 44.5; holedia = 30.0; wall = 2.0; minwall = 0.0; fence = 10.0; tol = 0.5; d = 1*0.1; difference () { union () { translate([-fsize_x/2, -fsize_y/2, 0]) cube([fsize_x, fsize_y, extension]); hull () { translate([-fsize_x/2-tol-wall, -fsize_y/2...
glb/cad_c420aa94831b.glb
Create a parametric electrical cord clip. Start with a rectangular base block measuring 16.5mm in length, 7.5mm in width, and 3mm in height. At one end of the block, center a vertical cylindrical hole with a diameter of 6.3mm that passes completely through the height of the block to accommodate a screw. On the oppo...
cordWidth = 6; cordThick = 3; screwHole = 6; number2Print = 4; Toler = 1.05; Width = max(cordWidth*1.25 , screwHole+4); Long = cordWidth + screwHole+5; echo("width is ",Width); union(){ translate([Long/2 +1,Width/2+1,cordThick/2+1])rotate([0,180,0])Clip(); translate([-Long/2 -1,Width/2+1,cordThick/2+1])rotate([0,18...
glb/cad_aa6e0a5ef618.glb
Create a nameplate by starting with a rectangular base measuring 87mm in length, 28mm in width, and 3mm in height. On the top surface of this base, add two lines of embossed text using an italic serif font with a height of 8mm. Position the first line of text, reading "Name 1 here", 5mm from the left edge and 16mm up f...
F_Type = "Book Antiqua:style=Italic"; F_Size = 8; Name_1 = "Name 1 here"; Name_2 = "Name 2 here"; Color_1 = "black"; Color_2 = "white"; union(){ color(Color_1) cube([87,F_Size*3.5,3]); } color(Color_2){ linear_extrude(height=5)translate([5,F_Size*2]) text(Name_1,font=F_Type,size=F_Size); linear_ext...
glb/cad_16b8cb1c6fd2.glb
Create a filament spooler consisting of a flat rectangular base with two vertical walls. The base should be a rectangular plate measuring 82mm in width, 80mm in depth, and 3mm in thickness. Position two vertical walls, each 3mm thick, 80mm deep, and 30mm high, on opposite sides of the base. These walls should be placed...
sp=3; asse=65; base_x=8+sp+asse+sp+8; base_y=80; base_z=30; hole_dia=9; sp_hole=5; hole_pos_z=base_z-sp_hole-hole_dia/2; module base(){ cube([8+sp+asse+sp+8,base_y,sp]); } module wall(){ translate([8, 0, 0]) cube([sp,base_y,base_z]); translate([base_y-8-sp, 0, 0]) cube([sp,base_y,base_z]); } base(); difference()...
glb/cad_2a8b7eabc594.glb
Create a protective case for an Arduino Uno with a base thickness of 1mm and walls 7mm high. The outer dimensions of the main box are 58mm wide by 73mm long. The interior is recessed to create a cavity 54mm wide and 69mm long. On one of the shorter exterior walls, create two cutouts: a USB port opening 13mm wide by 15...
arduino_width = 54; arduino_length = 69; arduino_usb_width = 13; arduino_usb_height = 15; arduino_usb_x = 9.5; arduino_power_width = 9.5; arduino_power_height = 15; arduino_power_x = 3.5; wall_thickness = 2; wall_height = 7; bottom_thickness = 1; side_shoulder = 6; drill=3.2; protoboard_connection_length=4; differen...
glb/cad_2e8c3f3165ef.glb
Create a Top Fan Mount for a 3KU Delta Printer. The part consists of a base mounting plate and a fan bracket. Start with a base plate 2mm thick. At the mounting point, create a cylindrical anchor with a radius of 3.75mm and a height of 2mm. From this anchor, extend a hull to a second point to form a flat mounting surf...
hexOffX_N = 76.5; hexOffX_S = 81; hexOffY_W = 110; hexOffY_E = 110; mountingScrewHoleRadius = 2.1; mountingHexRadius = 3.1; mountingHexHeight = 60; FanPosX = 0; FanPosY = 15; FanHoleRadius = 3; FanHoleDistance = 105; FanHoleDistanceHalf = FanHoleDistance/2; FanBracketInnerWidth = 7.5; FanBracketThickness = 2; FanBra...
glb/cad_0ce257d55a0a.glb
Create a Leg Adapter for a quadcopter landing gear. Start with a rectangular base plate measuring 36mm wide, 30mm long, and 3mm thick. On the top surface of this base, place two identical vertical connector blocks. Each block is a 3mm wide by 30mm long by 8mm high rectangular prism. Position these blocks so they are sp...
$fn = 40; thck = 3; hole = 3; bmhi = 8; bmwd = 12; bmhl = 20; lghi = 4; lgwd = 30; lgln = 24; lghl = 15; lghn = 8; lgrb = 4; lgcn = 12; lgcs = 6; nbbn = 4; ndst = 19; module beam_connectors() { module beam_connect() { end1 = (lgln + thck - bmhl) / 2; end2 = bmhl + end1; difference() { cube(siz...
glb/cad_ce3d86f497dc.glb
Create a circular 3D badge with a total diameter of approximately 67.7mm and a base thickness of 6mm. The main body is a smooth cylinder. On the top surface, add raised geometric elements with a height of 2mm above the base (total height 8mm). These elements form the word "Inkscape" arched across the top, the text "3D...
fudge = 0.1; module poly_path4201(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-56.446805,-78.549799],[-58.900407,-77.880635],[-61.485972,-78.016786],[-63.809873,-78.937524],[-65.518315,-80.502674],[-66.351201,-82.473959],[-66.181733,-84.551266],[-65.035710,-86.418343],...
glb/cad_de6907cc9dca.glb
Create a Filament Sample Chip consisting of a main rectangular base with rounded corners. The base should be 50mm wide, 25mm deep, and 2mm thick. At the top-left corner, centered at coordinates (3, 3), create a circular hole with a diameter of 4mm that passes completely through the base. On the top surface of the base...
make_text_box = "Hatchbox"; filament_text_box = "PLA"; variant_text_box = "Fluorescent"; color_text_box = "Black"; temp_text_box = "195"; bedtemp_text_box = "50"; $fn = 90*1; fontsize = 4*1; linedist = 4.5*1; linear_extrude(height=2) { difference() { minkowski() { square([40,25]); ...
glb/cad_b3ea58068490.glb
Create a center finder tool consisting of a flat rectangular plate with rounded ends and two vertical pegs. Start by creating a plate 100mm long, 20mm wide, and 3mm thick. The plate should have semi-circular ends with a radius of 10mm. At the exact center of the plate, create a vertical hole with a diameter of 3mm th...
length = 100; limiterDiameter = 6; limiterHeight = 16; holeDiameter = 3; plateWidth = 20; plateThickness = 3; $fa = 1; $fs = 0.5; plate(); limiters(); module plate() { difference() { linear_extrude(height = plateThickness, convexity = 8) _platePlane(); translate([(length - plateW...
glb/cad_5f87d41c00c1.glb
Create a door pull cover with a total height of 51.25mm. The overall shape is an L-shaped profile with a wall thickness of 1mm. Construct the outer shell as an L-shaped prism. The long arm of the L has a depth of 37mm and the short arm (the finger lip) has a width of 10.5mm. The total thickness of the cover walls is ...
PullDepthOS = 36.0; PullDepthIS = 12.5; CornerArchRadiusIS = 3.0; FingerLipOS = 9.5; PullHeight = 50.25; AvgPullThickness = 1.05; PullCoverThickness = 1.0; CritFit = 16; module MainPull(){ translate([FingerLipOS-AvgPullThickness,0,0])cube([AvgPullThickness,PullDepthOS,PullHeight],center=false); translate([0,Pul...
glb/cad_d76e93adc883.glb
Create a set of four distinct cable tie shapes, each 3mm thick and centered on the Z-axis. First, create a circular tie by centering a ring with an outer diameter of 10mm and an inner diameter of 8mm; duplicate this ring and shift it 8mm along the Y-axis to form a pair of interlocking circles. Second, create a square t...
module draw_circle(){ difference(){ cylinder(3,10,10,center=true); cylinder(3,8,8,center=true); } } module tie_circle(){ draw_circle(); translate([0,8,0]){ draw_circle(); } } tie_circle(); module draw_square(){ rotate([0,0,45]){ difference(){ cube([10,10,3],center=true); cube([8,8,3],center=true); } } } module tie_...
glb/cad_77cd5a6b2f42.glb
Create a T5 Belt Tensioner consisting of a main block and an attached bracing arm. Start with a main rectangular block 10mm wide, 17mm high, and 8mm deep. Attach a thin rectangular bracing arm to the side, measuring 10mm wide, 21mm high, and 3mm thick. Add a small rectangular cap 3mm wide, 17mm high, and 13mm deep to t...
tBase = 1.5; tFull = 2.7; wTooth = 2.6; wSpace = 2.4; wBelt = 6.2; lBelt = 23; rScrew = 1.85; rNut = 3.5; tNut = 2; wTen = 10; hTen = 17; dTen = 8; tArm = 3; lArm = 20; difference() { union() { cube([hTen,dTen,wTen]) ; translate([0,-lArm,0]) cube([hTen,lArm+1,tArm]) ; translate([hTen-0.1,0,0]) cube([3,dTen,wTe...
glb/cad_1be5b8f93882.glb
Create a hygienic shower repair kit slider consisting of a base and a vertical handle. Start with a cylindrical base 13.5mm in diameter and 2mm high. Centered on this base, extend a narrower cylinder 9.6mm in diameter and 9.8mm high. Construct the upper handle section by creating a hull between a 13.5mm diameter circ...
$fn=64; module pipka(){ cylinder(d=13.5,h=2); translate([0,0,-1.8-8])cylinder(d=9.6,h=1.8+8); difference(){ union(){ hull(){ translate([0,0,2])cube([10+3.5,13.5,0.1],center=true); translate([0,0,15.3-3.7+10/2])cube([5,12.5,0.1],center=true); ...
glb/cad_304cc009fbe5.glb
Create a parametric cable holder with a total length of 110mm. The main body is a rectangular base with a height of 20mm and a thickness of 12mm. Along the length of the base, create a series of repeating cable slots. Each slot consists of a cylindrical cutout with a diameter of 6mm and a depth of 10mm, centered within...
diameter=6; length=110; $fn=24; difference(){ for (i=[2*diameter-2:2*diameter-2:length]){ union(){ translate ([0,diameter+2,-5]) cube ([length,5,20]); translate ([0, 0, 0]) cylinder (d=diameter, h=10, center=true); translate ([0, diameter, -2.5]) cube ([diameter,2*diameter,5],true); translate ([i, 0, 0]) cylind...
glb/cad_a3379c8274f7.glb
Create a customizable magazine and paper organizer with overall exterior dimensions of 212mm depth, 160mm width, and 180mm height. Construct the main body as a hollow rectangular box with a wall thickness of 2mm. The front face of the box must be cut away at a 45-degree angle to create a chamfered opening for easy acce...
include <MCAD/boxes.scad> Depth=212; Width=160; Height=180; row=3; divWall=2; chamferAngle=45; wall=2; boxDim=[Depth, Width, Height]; over=0; chamfer=Height; module xDiv(inSide){ xInc=inSide[0]/col; for ( i = [1 : col-1] ) { translate([i*xInc, 0, 0])cube([divWall, inSide[1]+over, inSide[2]+over], cent...
glb/cad_3c1ca71cad82.glb
Create a Parametric Simple Clip-On Fan Mount. Start by creating a rectangular base plate with a width of 23mm, a length of 70mm, and a thickness of 3mm. Center this plate on the X and Y axes. At the center of the base plate, remove a cylindrical hole with a diameter of 50mm that passes through the thickness of the pl...
FanID = 50; FanWidth = 70; BoltClear = 2; BoltInset = 10; BoltWidth = FanWidth-BoltInset; LipWidth = 5; ClampWidth = 3; module fanmount() { BaseWidth = ClampWidth + LipWidth + BoltInset + 3*BoltClear; BoltPosition = ClampWidth + LipWidth + BoltInset; union() { difference() { rotate([0,90,0]) cylinder(h = ClampW...
glb/cad_b76ab31812db.glb
Create a Parametric Simple Clip-On Fan Mount. Start with a base plate that is 5mm thick, 89mm wide, and approximately 95mm long. The base should have rounded corners with a radius of 4mm. In the center of the base, create a circular cutout with a diameter of 85mm to allow for fan airflow. Position two bolt holes with ...
FanWidth = 89; FanID = FanWidth-4; BoltClear = 2; BoltInset = 5; LipWidth = 5; LipDepth = 20; ClampWidth = 5; Rounding = 4; FaceAngle = 0.1; module fanmount() { BoltWidth = FanWidth-BoltInset; BoltPosition = ClampWidth + LipWidth + BoltInset; BaseWidth = BoltPosition + 3*BoltClear; union() { difference() { rota...
glb/cad_4feb06a120f3.glb
Create a dust cover for a flexible shaft tool. Start by constructing a main body that consists of a rounded, capsule-like upper section and a supporting lower arm. The upper section is formed by combining a cylinder with a radius of 14mm and a height of 45mm, then applying a fillet or rounding effect with a radius of 8...
module cover(h1,r1,r2) { minkowski() { sphere(r=r2); cylinder(r=r1,h=h1); } } difference() { union() { translate([0,0,-1.0]) { cylinder(5,13,13,center=true,$fn=100); } translate([0,0,45]) { cover( 14,14,8); } translat...
glb/cad_a98b4621d277.glb
Create a Mean Well SE-450 mount consisting of a dividing plate. Start by creating a thin rectangular base plate measuring 2mm thick, 88mm wide, and 50.5mm deep. Along one of the 88mm edges, add a small rectangular block that is 5mm wide, 3mm thick, and 50.5mm deep, positioned at the far end of the width to create a ste...
$fn = 64; xs = 0.5; ys = 0.5; zs = 0.5; rotate([0, -90, 0]) { translate([0, 0, 0]) cube(size = [2, (85 + 3) + ys, 50 + zs]); translate([0, 85 + ys, 0]) cube(size = [5, 3, 50 + zs]); }
glb/cad_0c5c24dca8f8.glb
Create a parametric box with outer dimensions of 50mm width, 40mm length, and 30mm height, using a material thickness of 3mm for all walls. Construct two identical rectangular plates for the bottom and top, each measuring 50mm by 40mm. On the two shorter edges of these plates, add finger joints (tabs) with a width of...
rendering = "false"; for_3D_print = "true"; modus = "box"; width = 50; length= 40; height =30; th = 3; js = 0.33; cor = 0.25; margin = 2; if(rendering == "true")renderView(); if(rendering == "false")preview(); module preview(){ s=0.5; 3D() ground(); if...
glb/cad_cf18639ca24b.glb
Create a gothic arch embellishment with a total height of 14mm and a thickness of 14.7mm. The structure is formed by two intersecting cylinders, each with a radius of 1.5mm, that are rotated and positioned to create a pointed arch profile. The main body consists of two vertical cylinders with a radius of 1.5mm and a ...
module gothic_arch(size, height, depth=10) { translate([0,-depth/2,height-size]) intersection() { translate([size/2,0,0]) rotate([-90,0,0]) cylinder(depth,size,size,$fn=200); translate([-size/2,0,0]) rotate([-90,0,0]) cylinder(depth,size,size,$fn=200); } translate([-size/2,-depth/2,-1]) cube...
glb/cad_40c4c8095b6b.glb
Create a Mausoleum building with a square footprint. The main structure is a hollow rectangular shell with walls 1mm thick and a total height of 6mm. The building must be at least 152.4mm (6 inches) on each side. On each of the four cardinal sides, create a centered opening for a door or window. The openings should be...
module cross_point(strap_height=10, strap_width=15, strap_length=82) { difference() { cube([strap_width,strap_length,strap_height]); translate([-0.5,-0.5,strap_height/2]) cube([strap_width+1,(strap_length-strap_width)/2-.3,strap_height/2+.2]); translate([-0.5,-0.5,strap_height/4*3]) cube([st...
glb/cad_67f156c584a4.glb
Create a laser cutter door interlock switch mount as a rectangular plate with dimensions 60mm wide, 30mm high, and 3mm thick, featuring rounded corners with a 5mm radius. Cut two symmetrical mounting slots into the plate, each 3.4mm wide and 10mm long, positioned centrally along the width and spaced 55mm apart from c...
$fn=16; w=60; h=30; t=3; sw=23; sl=h-10; module roundedRect(size, radius) { x = size[0]; y = size[1]; z = size[2]; linear_extrude(height=z) hull() { translate([(-x/2)+(radius/2), (-y/2)+(radius/2), 0]) circle(r=radius); translate([(x/2)-(radius/2), (-y/2)+(radius/2), 0]) circle(r=radius); transla...
glb/cad_8db255d1c781.glb
Create a Drill Dust Collector shaped as a truncated cone with a central hole. Start by constructing a hollow conical shell with a height of 21mm. The outer wall should taper from a bottom diameter of 42mm to a top diameter of 62mm. The interior cavity of this shell should have a height of 20mm, tapering from a bottom d...
HEIGHT=20; DRILL_DIA=5.2; UPPER_DIAMETER=60; LOWER_DIAMETER=40; WALL=1; $fn=100; difference() { union() { difference() { cylinder(r1=LOWER_DIAMETER/2+WALL, r2=UPPER_DIAMETER/2+WALL, h=HEIGHT+WALL, center=false); translate([0,0,WALL+0.01]) cylinder(r1=LOWER_DIAMETER/2, r2=UPPER_DIAMETER/2, h=HEIGHT, center=fals...
glb/cad_d42f5d33da52.glb
Create a Drosophila etherizer consisting of a tiered cylindrical base and a hollow upper chamber. Start by creating a solid cylinder with a radius of 17mm and a height of 10mm. Centered on top of this base, add a second cylinder with a radius of 12mm and a height of 20mm, followed by a third cylinder of the same 12mm r...
difference () { union () { cylinder (h=10, r=17); translate ([0,0,10]){ cylinder (h=20, r=12); }; translate ([0,0,20]){ cylinder (h=5, r=12); }; }; union() { translate ([0,0,7]){ cylinder (h=21, r=11); ;}; translate ([0,0,26]){ cylinder (h=5, r=10); ;}; translate ([0,0,28]){ for (...
glb/cad_ba62dcc90bfc.glb
Create a Drosophila etherizer consisting of a main vertical body and a protruding side arm. Start by creating a central cylinder with a radius of 8mm and a height of 40mm. At the base of this cylinder, add a thin ring-shaped flange by placing a cylinder with a radius of 11mm and a height of 2mm, centered at a height of...
difference() { union () { cylinder (h=40, r=10); translate ([0,0,7]){ cylinder (h=2, r=11);}; translate ([0,0,21]){ rotate ([45,0,0]){ cylinder (h=30, r=5); }; }; }; union () { translate ([0,0,5]) { difference() { cylinder (h=2, r=11); cylinder (h=2, r=9); }; }; translate ([0,0,21]){ rotate ([45,0,0]){ c...
glb/cad_ecd54d36a69f.glb
Create a replacement temperature knob consisting of two main sections: a textured base and a tapered upper grip. First, construct the base as a cylinder with a height of 11.5mm and a diameter of 21mm. This base should be hollowed out to accommodate a central pin. The internal cavity for the pin is created by removing...
module stolen_knob() { height=15; bevelAngle = atan(1/height)*-1; difference() { union() { cylinder(r1=13,r2=14,h=height,$fn=50); for ( i = [0 : 35] ) { translate([cos(i*10)*13,sin(i*10)*13,0 ]) rotate([sin(i*10)*bevelAngle,cos(i*10)*bevelAngle*-1,0 ]) rotate([0,0,i*10+45]) cylinder(r=...
glb/cad_cd0ce15cbec1.glb
Create a Rocker Blotter tool by combining a rectangular base with a decorative handle. Start with a central rectangular block measuring 45mm in length, 7.5mm in width, and 30mm in height. Remove a smaller rectangular section from the center of this block, measuring 8mm by 4.5mm and 31mm in height, while leaving two thi...
union() { difference() { difference() { cube(size=[45.000, 7.500, 30.000], center=true); translate(v=[20.000, 0.000, 0.000]) { cube(size=[8.000, 4.500, 31.000], center=true); } } translate(v=[-20.000, 0.000, 0.000]) { cube(size=[8.000, 4.500, 31.000], center=true); } ...
glb/cad_1c624555f427.glb
Create a Rocker Blotter tool by constructing a hollowed semi-cylindrical shell. Start with a cylinder 30mm high with an outer radius of 40mm and an inner radius of 37.5mm, centered on the origin. To form the rocker shape, remove the top half of the cylinder using a block 81mm wide, 40mm deep, and 31mm high, positioned ...
difference() { union() { difference() { union() { difference() { cylinder(h=30.000, r1=40.000, r2=40.000, $fn=100, center=true); cylinder(h=31.000, r1=37.500, r2=37.500, $fn=100, center=true); } difference() { cube(size=[56.568, 56.568, 30.000], center=t...
glb/cad_d7b635903fca.glb
Create a Rocker Blotter tool by constructing a hollowed semi-cylindrical shell with a height of 30mm. The main body is based on a cylinder with an outer radius of 40mm and an inner radius of 37.5mm, creating a wall thickness of 2.5mm. Modify this shell by integrating a series of geometric cutouts and structural suppo...
union() { difference() { union() { difference() { union() { difference() { cylinder(h=30.000, r1=40.000, r2=40.000, $fn=100, center=true); cylinder(h=31.000, r1=37.500, r2=37.500, $fn=100, center=true); } difference() { cube(size=[56....
glb/cad_7593e71feff4.glb
Create a wire kathode holder by starting with a central rectangular block measuring 20mm in length, 12mm in width, and 10mm in height, centered on the origin. Merge this block with a cylinder that has a radius of 6mm and a height of 6mm, centered at x=-10, y=0, and z=0. From this combined mass, remove a central vertica...
difference() { union() { translate([0,0,0]) { rotate([0,0,0]) { cube([20,12,10],center=true); } } translate([-10,0,0.0]) { cylinder(10,6,6,center=true,$fn=100); } } translate([-10,0,0.0]) ...
glb/cad_a16105359684.glb
Create a Printrbot simple rod stabiliser and filament holder. Start with a rectangular base measuring 87.5mm x 20mm x 5mm. At two points along the length, separated by 65.5955mm, create vertical holes with a radius of 4.1mm and a height of 5mm to accommodate 8mm rods. On the top surface, centered between the rod ho...
PRINT_LAYOUT=true; $fn=100; main=[87.5,20,5]; rRod=8.2/2; sepRod=65.5955; hHole=5; notchX=14; notchXl=20; notchYl=7; rAxisHole=3; rodHolePos=[notchX+notchXl/2,main[1]+10,main[2]]; module rodEndHolder(){ difference(){ cylinder(r=rRod+2, h=hHole); translate([0,-(rRod+1+10),0]) cube(20,center=true); } } m...
glb/cad_4fd7d0f33b83.glb
Create a headphone holder consisting of a U-shaped bracket and an extending arm. Start by constructing the main body: create two parallel horizontal plates, each 60mm long, 10mm wide, and 5mm thick. The outer ends of these plates should be rounded with a radius of 5mm. Connect these two plates with a vertical side piec...
length = 60; height = 25; width = 10; arm_length = 40; do_bottom = true; end_bump = true; hook = false; module top(){ difference(){ union(){ translate([5,0,0])cube([length-10,5,width]); translate([5,0,0])cylinder(r=5,h=width,$fn=128); translate([length-5,0,0])cylinder(r=5,h=width,$fn=128); ...
glb/cad_5d46dfcde528.glb
Create a battery box for two 18650 batteries. Start by constructing a main hollow tube with an outer diameter of 21.5mm, an inner diameter of 19.5mm, and a total length of 134mm. Position this tube so its central axis runs along the Y-axis. At one end of this tube, centered on the Y-axis at a distance of 85mm from the ...
$fn=360; use<MCAD/regular_shapes.scad> union(){ rotate([90,0,0])cylinder_tube((65*2)+4, 21.5/2, 1, center=true); translate([0,-68,0])rotate([90,0,0])cylinder(h=2,d=21.5,center=true); } union(){ translate([0,85,-5])rotate([0,0,0]) cylinder(h=2,d=24,center=true); translate([0,85,0])rotate([0,0,0]) cylinder_tube...
glb/cad_69199d9b1d6e.glb
Create an auger pump screw by extruding a specific 2D profile vertically to a height of 200mm while applying a total twist of 3000 degrees along the Z-axis. The 2D profile to be extruded is the union of a circle with a 5mm radius centered at the origin and the intersection of a 10mm radius circle and a 10mm by 10mm squ...
linear_extrude(height=200, twist=3000) union() { intersection() { circle(r=10); square(10); } circle(5); }
glb/cad_446a7e3e3a9f.glb
Create a hollow egg sculpture consisting of two symmetrical hemispherical shells. For the top half, create a solid hemisphere with a radius of 15mm and a total height of 28mm. Hollow this shape by removing a smaller concentric hemisphere from the bottom, leaving a wall thickness of 1.45mm and a flat base. For the botto...
Egg_Top = 28 ; Egg_Radius = 15 ; Egg_Wall = 1.45 ; $fn = 60 ; Printable = 1 ; { if (Printable == 0) rotate([0,180,0]) {Egg_Bottom();} if (Printable == 1) translate([0,40,0]){Egg_Bottom();} Egg_Top();} module Egg_Top() { difference(){resize(newsize=[Egg_Radius*2,Egg_Radius*2,Egg_...
glb/cad_90351591ea56.glb
Create a Printrbot Simple LED mount. Start with a rectangular base measuring 40mm by 10mm with a thickness of 4mm. Centered on the base, remove a cylindrical cutout with a radius of 18.75mm and a height of 50mm to accommodate a fan. Add two screw holes passing through the base. These holes should be 3.5mm in diameter ...
$fn=100; X=0; Y=1; Z=2; fanx=40; screw_diam=3.5; screw_head_diam=6; screw_separation=31.7; base=[40,10,4]; wood_x=46; screw_inset=(base[X]-screw_separation)/2; led_diam=6; led_base_diam=8; led_separation=55; led_inset=(base[X]-led_separation)/2; led_angle=30; led_len=6; led_y_offset=20; led_z_offset=-2; elec_space=[10,...
glb/cad_42e2d07bf060.glb
Create a Printrbot Simple LED mount by starting with a rectangular block measuring 14mm wide, 11mm deep, and 15mm high. Hollow out the center of this block by removing a smaller rectangular volume of 12mm wide, 7mm deep, and 13mm high, leaving a wall thickness of 1mm on the sides and 2mm on the top and bottom. Cut a ve...
X=0; Y=1; Z=2; elec_space=[10,7,13]; vertwood=7; difference(){ translate([0,0,0]) cube(elec_space+[4,4,2]); translate([2,-.1,1]) cube(elec_space); translate([(elec_space[X]+4-vertwood)/2,elec_space[Y]+2.1,-1]) cube([vertwood,2,elec_space[Z]+4]); translate([-1,-1,elec_space[Z]/2]) difference(){ cube([elec_space...
glb/cad_d2f339239325.glb
Create a Simple Parametric Allen Hex Key Holder by constructing a solid block with a height of 30mm. The base of the block is formed by the convex hull of five hexagonal prisms arranged in a row. Each hexagonal hole is oriented with a 30-degree rotation and has a flat-to-flat diameter corresponding to the tool sizes 4m...
sizes = [ 4, 3, 2.5, 2, 1.5 ]; spacing = 1; thickness = 2; rotate = 30; tolerance = 0.7; height = 30; cut_height = 15; cut_angle = 20; difference() { union() { linear_extrude(height) difference() { hull() hexes(sizes, spacing, thickness); hexes(sizes, spacing); } } rotate([0, cut_a...
glb/cad_092b6a783b28.glb
Create a kite string clip by sweeping a 3.5mm diameter sphere along a closed-loop path. The path is a symmetric, stylized teardrop or organic loop. Starting from a point at [0.5, 0], the path curves smoothly to [0, -5], then descends to [0, -10]. It extends horizontally to [-10, -10], then curves upward to [0, -5] and ...
curve = [ [0.5,0], OFFSET([0,-5]), OFFSET([0,5]), [0,-10], OFFSET([0,-10]), OFFSET([0,-10]), [-10,-10], OFFSET([0,5]), OFFSET([0,5]), [0,-10], OFFSET([0,5]), OFFSET([0,5]), [-10,-10], OFFSET([0,10]), OFFSET([-8,2]), [0,10], SMOOTH_REL(1.4), OFFSET([-2,0]), [5,...
glb/cad_7730b267410c.glb
Create a filament wiper consisting of a wide, shallow cylindrical base and a taller, narrower central cylinder. Start by creating a base cylinder with a radius of 60mm and a height of 2mm, centered on the origin. On top of this base, add a larger cylinder with a radius of 12.5mm and a height of 10mm. To create the pass...
difference () { union () { translate ([0,0,0]) cylinder (r1=12.5, r2=12.5, h=10); } translate ([0,0,2]) cylinder(r1=10.5, r2=10.5, h=10); translate ([0,0,-1]) cylinder(r1=2, r2=2, h=10); }
glb/cad_43a8609fea98.glb
Create a filament wiper container. Start by creating a wide, flat cylinder with a radius of 60mm and a height of 2mm, centered on the Z-axis. On top of this base, add a taller, concentric cylinder with a radius of 14.2mm and a height of 10mm. Finally, create a vertical hole with a diameter of 4mm that passes completely...
difference () { union () { translate ([0,0,0]) cylinder (r1=14.2, r2=14.2, h=10); } translate ([0,0,2]) cylinder(r1=12.9, r2=12.9, h=10); translate ([0,0,-1]) cylinder(r1=2, r2=2, h=6); }
glb/cad_bc68ebe95de4.glb
Create a hollow cylindrical tube for a 3D printer dual filament support. The tube should have an outer diameter of 27mm and a total height of 100mm. Bore a concentric hole through the center of the cylinder from top to bottom with a diameter of 22.15mm, creating a wall thickness of approximately 2.425mm. Ensure the geo...
difference () {cylinder(r1=13.5, r2=13.5, h=100,center=true); cylinder(r1=11.075, r2=11.075, h=101,center=true); }
glb/cad_8bb565700c2b.glb
Create a 3D printer dual filament support part by starting with a thin circular base 2mm thick with a radius of 60mm. Centered on this base, add a cylindrical column 10mm high with a radius of 16mm. To finish the part, remove a cylindrical hole from the center of the entire assembly with a radius of 15mm and a height o...
difference () { union () {translate ([0,0,0]) cylinder(r1=60, r2=60, h=2); translate ([0,0,0]) cylinder (r1=16, r2=16, h=10); translate ([0,0,0]) cylinder (r1=18, r2=16, h=10); } translate ([0,0,-1]) cylinder(r1=15, r2=15, h=60); }
glb/cad_43d5480ceaa8.glb
Create a dual filament support mount. Start with a base rectangular block 60mm wide, 25mm deep, and 10mm high. Centered on this base, extend a vertical rectangular column 25mm wide, 25mm deep, and 120mm high, positioned 9mm from the left edge of the base. At the top of this column, add a rectangular cap 25mm wide, 40mm...
difference () { union(){ translate ([-8,0,0])cube([60,25,10]); translate ([9,0,0]) cube ([25,25,120]); translate ([9,-7,120]) cube ([25,40,16]); } translate ([43,12.5,-10]) cylinder(40,3,3); translate ([1,12.5,-10]) cylinder(40,3,3); rotate ([90,0,0]) translate ([21,128,-50]) cylinder(118,...
glb/cad_d4c7c12c853e.glb
Create a Rubik's 2x2x2 twisty puzzle core. Start with a central cube of 36mm (18mm from center to face). At the center of each of the six faces, create a cylindrical hole 3.1mm in diameter that passes entirely through the core to accommodate an M3 screw. Within these holes, create a wider hexagonal recess 6.5mm in di...
cub=20; ri=cub; gap=.15; re=.3; mx=9; mz=9; r_sphere=16; faces=.5; gaph=gap/2; hooke=[ [ 0 +gaph , 18 -gaph], [sin(15 )*r_sphere-gaph , 18. -gaph], [sin(15 )*r_sphere -gaph,cos(15 )*r_sphere -gaph], [sin(22.5)*r_sph...
glb/cad_bee9699fe02b.glb
Create a vertical wind turbine model by extruding a specific 2D profile to a height of 170mm while applying a 180-degree twist along the vertical axis. The base profile consists of a central circular pillar with a diameter of 20mm. Surrounding this pillar are two large, symmetrical curved wings. Each wing is formed by ...
tol = 0.4; t = 0.30; d1 = 80.00; d2 = 22.00 + tol; d3 = 20.00 + tol; r1 = d1/2; r2 = d2/2; r3 = d3/2; z1 = 170.00; e = 0.1; $fs = 0.1; $fa = 5; linear_extrude(height=z1, twist=180) { difference() { union() { wings(d=d1); stick(d=d3); } } } module wings(d) { D=d/2; difference()...
glb/cad_df996c87ddef.glb
Create a Chopstick Maker consisting of three main components: a main template block, a plane holder, and an end-cut guide. First, construct the main template block. Create a central rectangular volume with a length of 340mm (270mm chopstick length plus a 70mm lead distance) and a width and height of 41mm. Subtract a c...
parts = "all"; Assembled = "yes"; chop_len = 270; chop_maxX = 7; chop_minX = 5; end_angle = 30; blank_max = 10; border = 20; lead_distance = 70; marker_depth = 2; plane_width = 70; plane_nose_to_blade = 70; plane_block_width = 180; slop = 1; endstop_thick = 1; cyl_res = 80; Delta = 0.1; label_he...
glb/cad_4a0d72e1f651.glb
Create a nut puller tool by starting with a solid cube measuring 22mm on all sides. Carve out a rectangular void from the top and front faces to create a central cavity. Specifically, remove a block measuring 15mm wide, 22mm deep, and 12mm high, starting from a position 3.5mm from the left edge and 4.5mm from the top. ...
translate([0,0,22]) rotate([-90,0,0]) difference() { cube([22,22,25]); translate([3.5,-3.5,4.5])cube([15,22,12]); translate([11-2.5,-2,-3])cube([5,15.5,10]); translate([11,11,11])cylinder(r=2.5,h=20); translate([11,11,11])cylinder(r=4.5,h=10,$fn=6); }
glb/cad_5469c44416fd.glb
Create a Tilt Pan Position Feedback mechanism consisting of three main components: a base gear assembly, a potentiometer gear, and a mounting bracket. First, construct the base gear assembly. Create a gear with a module of 0.75, 140 teeth, a height of 4mm, and a width of 20mm, centered on the origin. Integrate a cylin...
include <..\..\includes\gears.scad>; M2_Tap_d = 1.55; M8_075_Tap_d = 7.25; Set_Screw_d = M2_Tap_d; Pot_Holder_Hole_d = M8_075_Tap_d; rotate([0,180,0]) translate([-60,0,0]) pot_bracket(); translate([-35,70.1/2+10,0]) pot_gear(); base_gear(); module base_gear() { difference() { union() { gear(m = .75, z = 140...
glb/cad_2d431afaf871.glb
Create a Tilt Pan Position Feedback mechanism for a Bescor MP101 motorized pan head. The assembly consists of a potentiometer holder and a gear system to provide rotational feedback. First, construct the potentiometer holder. Create a cylindrical housing with an outer diameter of 18.2mm and a height of 9.2mm to hold a...
include <..\..\includes\gears.scad>; M7_075_Tap_d = 6.25; M7_SF_d = 7.7; M2_SF_d = 2.2; M2_Tap_d = 1.55; M2_Nut_Trap_d = 4.8; M2_Nut_Trap_depth = 2; pot_b10_d = 17.5 + .7; pot_b10_holder_thread_d = M7_075_Tap_d; pot_b10_holder_thread_fit_d = M7_SF_d; pot_b10_ht = 9.2; pot_b10_holder_th = 6.2; pot_b10_shaft_ht = 14.1...
glb/cad_a9ca5568aa5d.glb
Create a PWM Control Box consisting of a main enclosure, a front panel, and four support feet. Construct the main enclosure as a hollow shell with a total height of 30mm and a wall thickness of 2mm. The base of the enclosure should be 1mm thick. Cut a horizontal cylindrical hole with a diameter of 10mm through the cent...
altura=30; espesor=2; piso=1; diametro=10; inpata=4.8; altpata=3; diampata=12; $fn=100; tornillo=3.5; altfresa=2; cabeza=6; module caja() { difference() { union() { difference() { translate([-150,0,0]) linear_extrude(height=altura) { ...
glb/cad_97351272d027.glb
Create a cable clamp consisting of two identical clip units arranged side-by-side with a spacing of 1.5mm between them. Each clip unit is built from a solid base and a hollowed-out interior to hold cables. For a single clip, start with a solid outer shape: a cylinder with a radius of 6.5mm and a height of 13mm, combi...
d=6.5; n=5; nx=1; ny=2; d1=d/2; d2=(3/4)*d; b=2*d; l=(n+0.9)*d; h=b; e=0.001; module outer(l,h,b,d1,d2){ cylinder(r=b/2,h=h,$fn=24); difference(){ translate([0,-b/2,0])cube([l-b/2,b,h]); translate([l-b/2-d2*sin(40),0,-e])rotate([0,0,-40])cube([b,b,h+2*e]); translate([l-b/2-d2*sin(40)...
glb/cad_b88c26179dec.glb
Create a cable clamp consisting of two identical clip units arranged side-by-side with a 1mm gap between them. Each clip unit is a rectangular block with a height of 6.4mm and a total length of approximately 31.3mm. To form the clip, start with a solid base that has a semi-circular end with a radius of 3.2mm. Carve a...
d=3.2; n=9; nx=1; ny=2; d1=d/2; d2=(3/4)*d; b=2*d; l=(n+0.9)*d; h=b; e=0.001; module outer(l,h,b,d1,d2){ cylinder(r=b/2,h=h,$fn=24); difference(){ translate([0,-b/2,0])cube([l-b/2,b,h]); translate([l-b/2-d2*sin(40),0,-e])rotate([0,0,-40])cube([b,b,h+2*e]); translate([l-b/2-d2*sin(40)...
glb/cad_c8b5630f77bb.glb
Create a parametric pin hinge consisting of a flat rectangular base and two cylindrical barrels. Start by creating a rectangular base plate 100mm wide, 10mm deep, and 1.5mm thick. Center the plate and drill five 3mm diameter holes through the thickness of the base, spaced evenly along the width. Construct two hollow ...
x=[1,0,0]; y=[0,1,0]; z=[0,0,1]; $fn=30; barrel=5; flange=10; hole=1.5; width=100; nn=2; thick=1.5; ns=5; module tube(od,id,ll){ difference(){ cylinder(r=od/2,h=ll,center=true); cylinder(r=id/2,h=ll+2,center=true); } translate(-x*(barrel/2-hole/2)) cube([(barrel-hole)/2,barrel,ll],cente...
glb/cad_48a4f23b4ac6.glb
Create a Customizable Device Stand side panel by constructing a flat plate 10mm thick. The main body is defined by a profile that starts at the origin, extends 60mm along the X-axis, rises 100mm along the Y-axis, and extends 15mm back along the X-axis. At the top of this 100mm vertical section, add a device holder exte...
part = "right"; angle=20; height=100; depth=60; holder_len=65; holder_depth=21; width=50; $fa=2 * 1; $fs=.02 * 1; module line(points=[], width=1) { for(i = [1:len(points)-1]) { hull() { translate([points[i-1][0], points[i-1][1]]) circle(d=width); translate([points[i][0], poin...
glb/cad_409290cd330d.glb
Create a 17mm trapezoid nut holder by starting with a hexagonal prism that has a height of 15mm and a radius of 11.4mm. Hollow out the center of this prism by removing a smaller hexagonal prism with a radius of 9.8mm and a height of 15mm, shifted 5mm downward. Create a central circular hole through the remaining materi...
rotate([180,0,0]) difference(){ cylinder(r=(19.6+3.2)/2, h=15, $fn=6); translate([0,0,-5]) cylinder(r=19.6/2, h=15, $fn=6); translate([0,0,5]) cylinder(r=9/2, h=12, $fn=100); translate([ 5.65, 5.65, 5]) cylinder(r=3/2, h=12, $fn=100); translate([ 5.65, -5.65, 5]) cylinder(r=3/2, h=12, $fn=100); ...
glb/cad_d59f1e67d34e.glb
Create a screwdriver stand by starting with a rectangular block measuring 25mm wide, 93mm long, and 44mm high. On the front face of the block, create a series of ten vertical holes arranged in two parallel rows of five. Each hole is a composite shape consisting of a main cylindrical shaft with a depth of 30mm and a w...
difference(){ union(){ translate([0,0,0]) cube([25,93,44]); } translate([25,93-12,18]) rotate([0,-95,0]) cylinder(h=30, r=2.4, $fn=24); translate([25,93-12,18]) rotate([0,-95,0]) cylinder(h=7, r1=5, r2=2.4, $fn=24); translate([25,93-12-22,18]) rotate([0,-95,0]) cylinder(h=30, r=2, $fn=24...
glb/cad_3e49314979a9.glb
Create a screwdriver stand by starting with a solid rectangular block measuring 41mm in width, 110mm in length, and 42mm in height. On one of the 110mm by 42mm side faces, create a series of five vertical holes to hold tools. Each hole is a tapered cylinder with a bottom radius of 4.3mm and a top radius of 3.8mm, exten...
difference(){ union(){ translate([0,0,0]) cube([41,110,42]); } translate([41,11,12]) rotate([0,-98,0]) cylinder(h=50, r=1.8, $fn=16); translate([41,11,12]) rotate([0,-98,0]) cylinder(h=25, r1=4.3, r2=3.8, $fn=24); translate([41,11+22,12]) rotate([0,-98,0]) cylinder(h=50, r=1.8, $fn=16); ...
glb/cad_7a63641434aa.glb
Create a screwdriver stand by starting with a rectangular base measuring 98mm in length, 50mm in width, and 15mm in height. Within this base, create a grid of vertical holes to hold bits. Starting from an x-coordinate of 10mm and repeating every 12mm up to 80mm, place groups of holes. Each group consists of holes wit...
$fn=24; difference(){ union(){ translate([0, 0, 0]) cube([98,50,15]); } for ( i = [10 : 12 : 98-18] ) { translate([i,(50-36)/2,2]) cylinder(h=20, r=1.8); translate([i+12/2,(50-36)/2+6,2]) cylinder(h=20, r=1.8); translate([i,(50-36)/2+12,2]) cylin...
glb/cad_0fc2c366994c.glb
Create a screwdriver stand by starting with a solid rectangular block measuring 110mm wide, 75mm high, and 60mm deep. Hollow out the interior to create two side-by-side compartments by removing two rectangular volumes. Each cutout should measure 105mm wide and 60mm deep, with a height of 33.75mm. Position the first cut...
width=110; height=75; deep=60; difference(){ union(){ translate([0,0,0]) cube([width,height,deep]); } translate([2.5,2.5,2.5]) cube([width-2*2.5,height/2-3.75,deep]); translate([2.5,height/2+1.25,2.5]) cube([width-2*2.5,height/2-3.75,deep]); translate([10,10,-1]) cylinder(h=4, r1=1.5, r2=4...
glb/cad_b75dc6f359c1.glb
Create a screwdriver stand by starting with a solid rectangular block that is 104mm wide, 47.5mm deep, and 32.5mm high. Hollow out the center of this block to create an open bin, leaving walls that are 2mm thick on the sides and a floor that is 2.5mm thick, resulting in an interior cavity that is 100mm wide, 40mm deep,...
width=110; height=75; deep=50; difference(){ union(){ translate([0,0,0]) cube([width-5-1,deep-2.5-0.8,height/2-5]); } translate([2.5-0.5,2.5-0.4,2.5]) cube([width-10,deep-7.5,height/2]); translate([(width-5-1)/2,-1,height/2-5]) rotate([-90,0,0]) cylinder(h=10, r=10); }
glb/cad_581501e041ce.glb
Create an FPV AIO mount for a Syma X5C. The main body is a cylinder with a radius of 50mm and a height of 25mm. From this cylinder, remove a central rectangular block measuring 25mm by 3mm by 26mm, centered at [0, 5, 0], to create a wide slot. Construct the camera housing by creating a block 15mm wide, 20mm deep, and ...
width = 25; angle = -30; mx = 0; my = 19; zip_tie_slit = 1; flat_bottom = 0; dcdc_slit = 1; module x5c_fpv_mount () { union() { cam_mount(); difference() { foot(); cam_mount_cutout(); } } } module cam_mount_cutout() { translate([mx,my,0]) rotate...
glb/cad_d27e3249f64d.glb
Create a female header housing for 3 pins. The main body is a rectangular block with a total height of 8.5mm, a thickness of 2.4mm, and a width calculated by the number of pins at 2.54mm spacing plus 0.4mm of extra material on each end. For each pin position, create a vertical square hole 1.15mm wide and 1.15mm deep ...
num_pins =3; extra_ends=0.4; thickness =2.4; height=8.5; pin_width=1.15; slot_thickness=0.6; slot_height=6; slot_width=2.3; offset=2.54; champfer=2; w=offset*num_pins+extra_ends*2; difference(){ translate([w/2-offset/2-extra_ends,0,0])cube([w,thickness,height],true); for(i=[0:num_pins-1]) { ...
glb/cad_bf657f857760.glb
Create four tire label valve caps, each consisting of a flat base with a raised text identifier. For each label, start with a base plate 40mm wide, 80mm long, and 4mm thick. The base should have a rounded, organic perimeter formed by the convex hull of six 2mm radius cylinders positioned at coordinates (±10, 23), (±10,...
label_Front_Left = "FL"; label_Front_Right = "FR"; label_Rear_Left = "RL"; label_Rear_Reft = "RL"; translate([20,30,0])label(label_Front_Left); translate([-20,30,0])label(label_Front_Right); translate([20,-30,0])label(label_Rear_Left); translate([-20,-30,0])label(label_Rear_Reft); module label(letters){ trans...
glb/cad_29af68690773.glb
Create a Wells turbine with an outer diameter of 113mm and a central axis bore of 8mm. The model features a central hub consisting of two mirrored caps, each 40mm in height and 60mm in diameter, positioned at the top and bottom of the assembly. Radiating from the center, create 7 identical blades. Each blade must foll...
naca = 25; blades = 7; depth = 25; D = 113; d = 8; cd = 60; ch = 40; half = false; upper = true; ring = false; tube = false; tip_gap = 1; ring_height = 5; ring_width = 1; tube_height = 100; tube_width = 2; if (half) { rotate([0, upper?0:180, 0]) difference() { turbine(naca, blades, depth, D, d, cd, c...
glb/cad_56f34d1dbfb2.glb
Create a Cable Keeper consisting of two separate parts: a desk mount and a removable cap. For the desk mount, create a main rectangular body with a width of 10.44mm, a depth of 20mm, and a height of 25.75mm. Hollow out the center of this body to create a C-shaped clip, leaving walls 3mm thick. At the top of this clip,...
$fn=200; mode=0; TABLE_HEIGHT = 19.75; DEPTH = 20; CABLE = 2.8; CYLINDER_HEIGHT = 12; WALL = 3; WALLTABLESPACE = 3; CABLEWSPACE = CABLE+1.5; $fs = 0.01; ADDSPACE = max(max(WALLTABLESPACE,CABLEWSPACE),WALL)-WALL; OUTER_RADIUS = CABLEWSPACE*1.8; WIDTH = OUTER_RADIUS*2.3; module DeskPart() { difference() { ...
glb/cad_0dab28831df8.glb
Create a Stylus Pick by combining a flat pick body with a semi-conical grip. First, construct the pick body as a flat plate with a total height of 32.385mm. The body should have a central thickness of 1.6mm, tapering at the edges to 0.4mm. The footprint of the body is a symmetrical polygon: it starts with a width of 6....
print_half = true; support_cone_height=11.7475; cone_diameter=6.985; picking_cone_height=3.175; body_thickness = 1.6; body_edge_thickness = 0.4; body_offset = -0.8; body_major_height = 19.05; body_major_width = 31.75; body_minor_width = 13.97; body_total_height = 32.385; $fn=100; half(); if (!print_half) rotate([0,...
glb/cad_99b9a5a3ea48.glb
Create a Petri Dish Stencil consisting of two separate components. First, create a flat circular ring with an outer diameter of 61.5mm and an inner diameter of 51.5mm, and a thickness of 4mm. Cut four square tabs, each 5mm wide, into the ring at 90-degree intervals around the perimeter. Second, create a circular disc ...
pd=53.5; pdl=55; ww=4; tw=5; ls=8; xw=0.4; ih=2; lw=2; color("green") difference(){ linear_extrude(height=ww){ difference(){ circle(d=pd+ww*3+tw, $fn=120); circle(d=pd-ww/2, $fn=120); } } translate([0,0,ww*0.75]) cylinder(d=pd+lw*2+ww,h=ww/2+xw, $fn=120); for(r=[...
glb/cad_d957b289fc42.glb
Create a braced angle bracket consisting of two perpendicular arms meeting at a right angle. Each arm should be 80mm long, 25mm wide, and 5mm thick. The main body is an L-shaped profile with a thickness of 5mm along both the x and y axes. Add a triangular brace that connects the inner faces of the two arms. This brace...
span = 80; bracket_thickness = 5; bracket_width = 25; brace_thickness = 4; top_brace = 0; bottom_brace = 1; hole_diameter = 8; inner_hole_position = 20; outer_hole_position = 80; hole_centering = 0; hole_radius = hole_diameter / 2; get_bracket_width = max(bracket_width, hole_diameter); get_brace_thickness = m...
glb/cad_b8ce21113bbf.glb
Create a pogo pin clip by extruding a specific 2D profile to a height of 11mm. To define the profile, create a hull that encompasses four circles: two circles with a 10mm radius centered at x=-5, y=-8.05 and y=8.05, and two circles with a 7mm radius centered at x=27, y=-8.05 and y=8.05. From this combined shape, remove...
compression=2; gap=18.1 - compression; width=11; depth=34; linear_extrude(height=width, convexity=6) difference() { hull() { translate([-5,-gap/2]) circle(r=10, $fn=50); translate([-5, gap/2]) circle(r=10, $fn=50); translate([depth-7,-gap/2]) circle(r=7, $fn=50); translate([depth-7, gap/2]) circle(r=...
glb/cad_fe342fc9bdce.glb
Create a GoPro Seat Post Mount designed to clamp onto a 31mm diameter cylindrical bar. Start by constructing a main bracket body that wraps around the bar. Integrate a GoPro connection piece consisting of a rectangular block measuring 15.8mm wide, 10mm deep, and 10mm high, positioned to extend from the clamp. To ensure...
include <GoPro_Connection.scad> include <Bracket.scad> $fn=50; bar_r = 15.5; difference() { union() { translate([(15.8 / 2),-(bar_r + 10),0]) { rotate([0,0,180]) { GoPro_Connection(); } } translate([-(15.8 / 2),-(bar_r + 10),0]) { cube([15.8,10,10]); } } translate([-10,-(bar_r + 1...
glb/cad_d60e88dca431.glb
Create a Solder Fume Extractor base mount. Start with a main body formed by the union of two rounded rectangular slabs: a larger bottom base measuring 100mm by 40mm and a smaller upper section measuring 70mm by 20mm, both with a thickness of 15mm and rounded corners with a 7.5mm radius. Integrate a horizontal cylindric...
difference(){ union(){ translate([0,0,15]) rotate([0,90,0]) cylinder(h=70, r=5, center=true, $fn=64); translate([0,0,7.5]) cube([70,10,15], center=true); hull(){ minkowski(){ translate([0,0,-15]) cube([100,40,0.1], center=true); cylinder(r=7.5, $fn=64); } ...
glb/cad_ad93b9eae8bf.glb
Create a Solder Fume Extractor housing. Start with a main body that is a rounded square prism with an outer dimension of 125mm by 125mm and a height of 30mm. The corners should have a radius of 7.5mm. Hollow out the center of the body to create a reservoir with a floor thickness of 2mm. The interior cavity should be ...
difference(){ union(){ minkowski(){ translate([7.5,7.5,0]) cube([110,110,13]); cylinder(r=7.5, $fn=64); } hull(){ minkowski(){ translate([7.5,7.5,14]) cube([110,110,3]); cylinder(r=7.5, $fn=64); } ...
glb/cad_5a96700f71d4.glb
Create a Solder Fume Extractor filter cap. Start with a main body consisting of a rounded square plate. The base is a cube of 125mm by 125mm with a height of 11mm, where the corners are rounded with a radius of 4.5mm. Cut a large circular opening through the center of the plate with a radius of 57mm. Within this circ...
difference(){ union(){ minkowski(){ translate([7.5,7.5,0]) cube([110,110,11]); cylinder(r=5-0.5, $fn=64); } } minkowski(){ translate([7.5,7.5,2]) cube([110,110,11]); cylinder(r=2.5, $fn=64); } translate([7.5...
glb/cad_41f02f2298c4.glb
Create a camera stand consisting of a rectangular base and a hollow holder. Start by creating a solid rectangular block for the base that is 36.7mm wide, 8.7mm deep, and 30mm high. Centered on top of this base, construct a larger hollow rectangular sleeve with outer dimensions of 41.3mm wide by 13.7mm deep and a total ...
base_diameter=70; base_height=3; leg_height=30; holder_y_offset=10; holder_height=25; holder_inner_diameter_width=37; holder_inner_diameter_height=9; new_holder_inner_diameter_width=36.5; new_holder_inner_diameter_height=8.5; holder_wall_thickness=2.4; spacing=0.2; $fn=100; translate([0,0,leg_height/2]) cube([hold...
glb/cad_5f74899d50f0.glb
Create a camera stand consisting of a circular base and a rectangular holder. Start by creating a flat cylinder with a diameter of 70mm and a height of 3mm. Centered on this base, but offset by 10mm along the Y-axis, place a hollow rectangular sleeve. The outer dimensions of this sleeve should be 41.8mm in width, 13.8m...
base_diameter=70; base_height=3; holder_y_offset=10; holder_height=25; holder_inner_diameter_width=37; holder_inner_diameter_height=9; holder_wall_thickness=2.4; $fn=100; cylinder(d=base_diameter,h=base_height, center=false); difference(){ translate([0,holder_y_offset,holder_height/2+base_height])cube([2*holder_wal...
glb/cad_b763c1633bc6.glb
Create a steel tube holder designed to secure a tube with a diameter of 26.5mm. Start by constructing a main cylindrical housing with an inner diameter of 26.8mm to ensure a tight fit for the tube. This cylinder should have a height of 25mm. Attached to the bottom of this cylinder, create a flat rectangular base that...
steel_tube_diameter = 26.5; module wood_screwx2() { $fn = 20; translate([0, 24, -0.9]) cylinder(h=3, r1=3.5/2, r2=8/3+0.1); translate([0, 24, -6.9]) cylinder(h=10, r=4/2); translate([0, -24, -0.9]) cylinder(h=3, r1=3.5/2, r2=8/3+0.1); translate([0, -24, -6.9]) cylinder(h=10, r=4/2); } module stee...
glb/cad_2f2908ee4a8a.glb
Create a 3D object by rotating a specific 2D profile 15 degrees around the Z-axis. The profile is centered vertically and consists of two mirrored shapes, one above the other. Each shape is a polygon with vertices at [51, 0], [51, 10], [49, 18.5], [14, 18.5], [0, 14], and [0, 0]. From this polygon, remove a circle with...
module platding() { difference() { polygon([ [51, 0], [51, 20/2], [51-2, 37/2], [51-37, 37/2], [0, 28/2], [0, 0]]); translate([17, 0, 0]) { circle(r=6); } square([17, 6]); } } rotate_extrude(angle=15, $fn=3600) { translate([-56, 0, 0]) { platding(); mirror([0, 1, 0]) platding(); } }
glb/cad_70359f76114a.glb
Create a fan adapter by constructing a transitional volume between two squares. Start with a base square plate measuring 40mm by 40mm with a thickness of 1mm. From the top of this base, extend a second square measuring 30mm by 30mm with a height of 6mm, creating a tapered hull that connects the edges of the 40mm base t...
difference() { hull() { cube([40,40,1], center=true); translate([0,0,6]) cube([30,30,2], center=true); } translate([0,0,-1]) cylinder(d1=37, d2=27,h=10, $fn=60); translate([16,16,-2]) cylinder(d=2,h=10, $fn=60); translate([16,16,1]) cylinder(d=7,h=10, $fn=60); translate([-16,-...
glb/cad_b9b1a7222fdd.glb
Create a fan adapter consisting of two stacked square plates. The bottom plate is a 40mm by 40mm square with a thickness of 1mm, centered on the origin. Directly on top of this, center a second square plate measuring 30mm by 30mm with a thickness of 2mm. Cut a large circular hole with a diameter of 27mm through the c...
difference() { union() { cube([40,40,1], center=true); translate([0,0,1]) cube([30,30,2], center=true); } translate([0,0,-2]) cylinder(d=27,h=100, $fn=60); translate([16,16,-1]) cylinder(d=3, h=100, $fn=60); translate([16,16,0.5]) cylinder(d=7, h=100, $fn=60); translate([-16,-...
glb/cad_fa8ec2fd13ef.glb
Create a power plug holder for a 2020 profile. Start with a main rectangular box measuring 32mm wide, 24mm deep, and 30mm high. Hollow out the center of this box to create a shell with 2mm thick walls. Extend a rectangular protrusion from the bottom center of the box, measuring 6mm wide, 2mm deep, and 45mm high. At th...
sw_w = 19.2; sw_h = 12.4; sw_l = 23; back_h = sw_h + 4; back_l = 55 + sw_l + 5; difference() { union() { difference() { cube([32,24,30]); translate([2,2,0]) cube([28,20,30]); } translate([13,-2,0]) cube([6,2,45]); difference() { hull() { ...
glb/cad_87eebd372aef.glb
Create a square T-nut for 6mm slots by starting with a solid cube that measures 7mm in width, 7mm in depth, and 2mm in height. Center a vertical cylindrical hole with a diameter of 3mm through the middle of the cube, passing completely through the top and bottom faces.
difference() { cube([7,7,2], center=true); cylinder(d=3,h=2, $fn=60, center=true); }
glb/cad_36119c837662.glb
Create a leg for a 2020 profile by constructing a hollowed conical base and a cylindrical top. First, create a cone with a height of 25mm, a bottom diameter of 20mm, and a top diameter of 10mm. Remove a smaller conical volume from the center of this base to create a hole, using a bottom diameter of 13mm and a top diame...
translate([0,0,25]) cylinder(d=7.5,h=20,$fn=30); difference() { cylinder(d1=20,d2=10,h=25); cylinder(d1=13,d2=8,h=18); }
glb/cad_92f90f270b20.glb
Create a Kossel rod calibration tool by starting with a central rectangular base measuring 20mm in length, 10mm in width, and 2mm in height. Centered on this base, add a vertical cylinder with a diameter of 4mm and a height of 10mm, using a 20-sided polygonal approximation. Extend the base by adding a rectangular arm t...
cube([20,10,2]); translate([10,-5,0]) cube([2,5,2]); translate([10,10,0]) cube([2,5,2]); translate([47.9,-5,0]) cube([2,20,2]); translate([19.9,2.5,0]) cube([30,5,2]); translate([10,5,0]) cylinder(d=4,h=10,$fn=20);
glb/cad_4b6c090071f9.glb
Create a Marine Wheel Hub Adapter as a thick cylindrical ring. The main body is a cylinder with a height of 15mm and an outer radius of 48mm, with a concentric center hole removed that has a radius of 25mm. The adapter features a series of holes drilled through the body. Position six primary holes with a radius of 4mm...
module adapter() { difference() { cylinder(h = 15, r1=48 , r2=48 , center = true); cylinder(h = 15, r1=25 , r2=25 , center = true); } } he=15; difference() { rotate(30) { difference() { adapter(); PressFitHole(37,0,4,5); Pres...
glb/cad_8d8671cba74f.glb
Create a Boot Release Pull Tag by constructing a T-shaped assembly. Start with a main cylindrical handle that is 40mm long with a diameter of 10mm. Attached to the center of this cylinder, create a rectangular block that is 20mm wide, 8.5mm high, and 10mm deep. Within this block, carve out a central T-shaped slot. The ...
$fn = 128; translate([0,0,5]) rotate([0,270,0]) { translate([0,20,25]) rotate([90,0,0]) cylinder(40, 5, 5); difference() { translate([-5,-5,0]) cube([10,10,25]); translate([0,-4.25,6]) cube([20, 8.5, 3.8]); translate([-1, -1, -1]) cube([20, 2, 8]); difference() { tran...
glb/cad_e3fe6c005172.glb
Create a filament slot holder by starting with a rectangular base measuring 18mm in length, 12mm in width, and 6mm in height. On the left side, add a wedge-shaped extension that is 7.5mm long, 12mm wide, and 6mm high, angled upwards at 25 degrees. Carve a complex channel through the center of the part. This channel b...
base_l = 18; base_w = 12; base_h = 6; angle = 25; l_angle = 7.5; d_filament = 2; d_tube = 4; h_tube = 5; d_m3 = 3.5; d_head = 6; posz_head = 3; posx_m3 = 12; d_conus = 8; h_conus = 10.5; difference(){ translate([0,0,base_h]){ translate([0,-base_w/2,-base_h]) cube([base_l,base_w,base_h],center = false);...
glb/cad_93b1c7c7b961.glb
Create a Whirlpool Duet II Handle by starting with a main rectangular block that is 124.2mm long, 55.73mm wide, and 26mm thick. Center this block on the origin. Remove a large central cylinder with a diameter of 539.75mm to create a deep, curved concave face on the front of the handle. On the rear face, create a reces...
module Block (Length,Width,Thickness,DoorDiameter,res=200){ difference(){ cube(size=[Width,Length,Thickness],center=true); translate([-DoorDiameter/2,0,0]) cylinder(r=DoorDiameter/2,h=Thickness+.05,center=true,$fn=res); } } module Handle_body(Length,Width,Thickness,DoorDiameter,WallThickness,BoltDiameter...
glb/cad_9a8704f13853.glb
Create a circular base for an ESP8266 Wifi PIR case with a diameter of 85mm and a thickness of 1mm. Around the perimeter of this disc, add three identical rectangular notches spaced 120 degrees apart. Each notch is created by centering a block that is 6mm wide, 5mm deep, and 7mm high, which is then modified by removing...
module bottomnodge(diameter, height, thick, angle) { underedge=3; translate([ -cos(angle)*(diameter/2-thick-.75), -sin(angle)*(diameter/2-thick-.75), underedge]) rotate([90-angle,90,0]) { difference() { translate([-thick,2.2,0]) ...
glb/cad_1ab6944b3d13.glb
Create a magnetic cat door replacement key. Start by creating a main cylinder with a height of 31mm and a radius of 6mm. Inside this cylinder, center a vertical hole with a radius of 3.5mm and a height of 11mm, positioned 1mm from the bottom base. At the top of the cylinder, add a teardrop-shaped loop for attachment....
module teardrop(radius, length, angle) { rotate([0, angle, 0]) union() { linear_extrude(height = length, center = true, convexity = radius, twist = 0) circle(r = radius, center = true, $fn = 30); linear_extrude(height = length, center = true, convexity = radius, twist = 0) projection(cut = false) rotate([0, ...
glb/cad_03d1ebbf48d0.glb
Create a Power Supply Terminal Cover by starting with a rectangular base measuring 109mm in length, 51mm in height, and 23mm in depth. The base has a wall thickness of 3mm on the sides and top. Cut several openings through the top face: a rectangular cutout for a switch measuring 30mm by 14mm, and a larger rectangular...
hole_resolution=50; base_length=109; base_height=41+10; base_depth=20; base_thickness=3; $fn=hole_resolution; switch_cutout_length=30; switch_cutout_width=14; led_cutout_radius=2.5; grommet_cutout_radius=6; power_plug_cutout_length=29; power_plug_cutout_width=21; screw_hole_cutout_radius=1; debug=0; module base(){...
glb/cad_34ee8b3b2028.glb
Create a Power Supply Terminal Cover by starting with a rectangular base measuring 109mm in length, 51mm in height, and 25mm in depth. The base has a wall thickness of 3mm. Cut a rectangular opening for a power switch measuring 30mm by 14mm, positioned 3mm from the side wall. Create a larger rectangular cutout for the...
hole_resolution=50; base_length=109; base_height=41+10; base_depth=25; base_thickness=3; $fn=hole_resolution; switch_cutout_length=30; switch_cutout_width=14; led_cutout_radius=2.5; grommet_cutout_radius=6; power_plug_cutout_length=29; power_plug_cutout_width=21; screw_hole_cutout_radius=1; debug=0; module base(){...
glb/cad_e3c4366d237a.glb
Create an enclosure for an Intel Galileo board starting with a rectangular base plate measuring 75mm by 108mm with a thickness of 2mm. Build four vertical sidewalls around the perimeter of this base, each 38mm high and 2mm thick. On the left sidewall, create several rectangular and circular cutouts to serve as ports. ...
module base(){ #cube([75,108,2]); translate([0,0,-0.1]) { for(z = [2:2:108]) { translate([0,z,0]) cube([72.5,0.1,0.1]); } translate([36,0,0]) cube([0.1,108,0.1]); }} module sidewalls(v,h){ translate(v){ translate([0,-1,-0.1]) cube([2,110,h]); translate([75,-1,-0.1]) cube([2,110,h]); translate([0,-2,-0.1])...
glb/cad_8efbf6d96b84.glb
Create a DUPLO train compatible electric locomotive. Construct the main train body as a hollow rectangular shell with a front compartment sized to hold two AA batteries. Inside the body, create two support bars to mount a DC 6V engine (20x15x25mm) with a 2mm shaft. For the drivetrain, create two spur gears with a circ...
*gear( circular_pitch=10, gear_thickness = 10, rim_thickness = 10, hub_thickness = 10, circles=6, clearance = 0.4, number_of_teeth=20, pressure_angle=28, bore_diameter=2, backlash=0.5, twist=0, involute_facets=10, flat=false ); *translate([0,0,0.2]) gear( number_of_teeth=20, circular_pitch=10, dia...
glb/cad_c1817d6fe0b1.glb
Create an iPhone acoustic speaker by starting with a base rounded box measuring 50mm wide, 63mm deep, and 12mm high, with corner radii of 3mm. Carve out a central slot for the phone by removing a rounded box that is 18mm wide, 59mm deep, and 8mm high, with 3mm corner radii, centered at the coordinates (-18, 0, 0). Addi...
include <MCAD/shapes.scad> difference() { union() { roundedBox(50, 63, 12, 3,true); } union() { translate([-18,0,0]) #roundedBox(18, 59, 8, 3,true); translate([-5,14,0]) cube([10,13,8],true); translate([9,15,0]) cylinder(8,14,14,true); translate([9,15,10]) { #holes(15,1,0); #holes(15,7,4); #holes(15,14,7); #holes(15...
glb/cad_acba33d47948.glb
Create a vacuum hose adapter designed to connect a 35mm opening to a 32mm hose. Start by constructing a main cylindrical body with an outer diameter of 63mm and a height of 36mm. This body should be hollowed out with a central bore of 45mm in diameter. At the top of the cylinder, create a recessed ring with an inner ...
module Kaercher_WD3() { union() { difference() { union() { difference() { union() { translate([0,0,0.0]) { cylinder(18,30,32....
glb/cad_c919707cb846.glb
Create a CTC Prusa I3 Adjustable Active Cooler bracket. Start by creating a main body with a height of 10mm. The footprint is a complex polygon that forms a curved, asymmetric bracket shape. Within this body, create two cylindrical holes, each with a diameter of 4.4mm and a depth of 10mm. Position these holes along a...
fudge = 0.1; module poly_rect4136(h) { scale([25.4/90, -25.4/90, 1]) union() { difference() { linear_extrude(height=h) polygon([[-55.371939,-53.857420],[-56.360221,-53.507810],[-56.828971,-24.265620],[-56.932747,-23.229027],[-56.641768,-22.269306],[-56.010796,-21.489872],[-55.094595,-20.994...
glb/cad_a7c81e098d05.glb
Create a CTC Prusa I3 Adjustable Active Cooler mount. Start with a main support body that is a 45mm by 45mm square base with a thickness of 2mm. On top of this base, add a 50mm by 50mm by 10mm rectangular block centered on the base. Within this assembly, create four vertical holes to accommodate screws and springs. P...
include <ronaldo_utils.scad>; module base() { difference() { translate([-45/2,0,2]) asa(45,45,0,30,0); translate([-42/2,0,1]) asa(42,42,0,29,0); translate([-50/2,-50/2,28]) cube([50,50,10]); } difference() { translate([-45/2,-45/2,0]) cube([45,45,2]); sphere(20); ...
glb/cad_9693f2d5033f.glb