Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Bowden mount for a Wilson II printer. Start with a central mount plate measuring 40mm x 5mm x 40mm. Add a hot end mount block by combining a 9mm x 55mm x 10mm block centered at [0, 25, -15], a 5.5mm x 37mm x 10mm block centered at [-5.5, 34, -15], a 9mm x 22mm x 20mm block centered at [0, 10, 0], and a 28mm x ...
$fn=30; module Mount () { difference () { union () { cube ([40,5,40],center=true); translate ([0,25,-15]) cube ([9,55,10],center=true); translate ([-5.5,34,-15]) cube ([5.5,37,10],center=true); translate ([0,10,0]) cube ([9,22,20],center=true); translate ([6,10,-7.5]) cube ([28,22,25],center=true); translate([-4,56...
glb/cad_f76503436ad5.glb
Create a 1.5ml microcentrifuge tube with a wall thickness of 0.5mm. The base is a hemisphere with a radius of 2.5mm. From the top of this hemisphere, extend a tapered cylinder 16mm in height that expands from a radius of 2.5mm at the base to a radius of 5.25mm. Above this tapered section, add a straight vertical cylind...
$fn = 25; TaperLength = 16; BottomSphereRad = 2.5; MidwayRad = 5.25; TopLength = 20; TopRad = 5.5; LipRad = 6.5; LipLength = 1; WallThickness = 0.5; module TaperedTube(LipRad,LipLength,TopRad,TopLength,MidRad,TaperLength,EndRad){ union(){ translate([0,0,EndRad+TaperLength+TopLength]) cylinder(LipLength,LipRad,Li...
glb/cad_3bf7fe760261.glb
Create a Y6 Hexacopter Motor Mount consisting of two identical mirrored mounting plates separated by a central arm pocket. First, create the central arm pocket. This is a rectangular block with a width of 13.25mm and a height of 13.25mm. The pocket has a wall thickness of 2mm. The top and bottom of this pocket are ca...
arm_width=13.25; arm_height=arm_width; arm_pocket_wall_thickness=2; plate_thickness=15; screw_pattern_x=32; screw_pattern_y=32; motor_diameter=35; motor_shaft_diameter=11; motor_shaft_clearance=plate_thickness+10; motor_plate_border=5; arm_pocket_length=motor_diameter+motor_plate_border*2+15; screw_size=3.3; screw...
glb/cad_46e2cabfbd5e.glb
Create an 80mm fan to 1-inch pipe adapter. Start with a square base plate 84mm wide and 3mm thick. In the center of this plate, create a circular cutout with a diameter of 80mm, and add four smaller circular screw holes with a diameter of 4.5mm, spaced 71.5mm apart from each other. From the center of the base, build a...
$fn=120; use <threads.scad> module tube (a, b, t, h=60){ difference(){ cylinder(d1=a, d2=b, h=h); cylinder(d1=a-t, d2=b-t, h=h); } } module cylsquare(d, s, h){ for(i = [[1,1], [1,-1], [-1,1], [-1,-1]]){ translate([s/2*i[0], s/2*i[1]]) cylinder(d=d, h=h); } } module fanplate...
glb/cad_efbe8c381d23.glb
Create a Hinged Box frame by constructing a hollow rectangular ring. Start with a solid cube measuring 3mm by 3mm by 0.2mm, centered at the origin. From this volume, remove a smaller centered rectangular prism measuring 2mm by 2mm by 0.2mm to create the central opening. To define the outer corners and edges, integrate ...
$fs=.05; difference(){ union(){ translate([1,1,0])rotate([90,0,0])cylinder(r=.2,h=2); translate([-1,1,0])rotate([90,0,0])cylinder(r=.2,h=2); translate([-1,1,0])rotate([0,90,0])cylinder(r=.2,h=2); translate([-1,-1,0])rotate([0,90,0])cylinder(r=.2,h=2); translate([1,1,0])sphere(r=.2,$fn=30); translate([-1,1,0])sphere(r=....
glb/cad_78aeaed05e66.glb
Create a small rectangular container with rounded corners. The outer shell should be a rounded rectangular prism with a total height of 5mm, a width of 8mm (extending from -4mm to 4mm on the X-axis), and a depth of 6mm (extending from -3mm to 3mm on the Y-axis). The corners of this outer shell must be rounded with a ra...
$fs=.01; difference(){ linear_extrude(height=5){ hull(){ hull(){ translate([3,2,0])circle(1); translate([-3,2,0])circle(1); } hull(){ translate([3,-2,0])circle(1); translate([-3,-2,0])circle(1); } } } translate([0,0,.5]){ scale([0.9,0.9,1]){ linear_extrude(height=5){ hull(){ hull(){ translate([3,2,0])circle(1); trans...
glb/cad_8d06b0ab2e0f.glb
Create a rectangular box with rounded corners and a hollow center. The outer dimensions of the box should be 9.6mm in length, 6mm in width, and 4mm in height. The walls of the box should have a uniform thickness of 0.4mm. To achieve the hollow interior, remove a smaller rectangular volume from the center that is 8.64mm...
depth=2; width=3; length=4.8; $fs=.01; scale([length,width,depth]){ difference(){ linear_extrude(height=1){ hull(){ hull(){ translate([1,1,0])circle(.2); translate([-1,1,0])circle(.2); } hull(){ translate([1,-1,0])circle(.2); translate([-1,-1,0])circle(.2); } } } translate([0,0,.2]){ scale([0.9,0.9,1]){ linear_extrud...
glb/cad_62eed3a4f98b.glb
Create a hinged box with a base and a lid. The base is a rectangular container with an outer dimension of 9.6mm in length, 6mm in width, and 4mm in height. The walls are 0.4mm thick, and the bottom is 0.4mm thick, creating an interior cavity of 8.8mm by 5.2mm by 3.6mm. The four vertical corners of the base are rounded....
include<hinge.scad> depth=2; width=3; length=4.8; xr=(length/width)*.05; yr=(width/length)*.05; $fs=.05; scale([length,width,depth]){ box(); } module box(){ difference(){ linear_extrude(height=1){ hull(){ hull(){ translate([1,1,0])circle(.2); translate([-1,1,0])circle(.2); } hull(){ translate([1,-1,0])circle(.2); t...
glb/cad_0e8801c6e08b.glb
Create a Hinged Box consisting of a base and a lid. The overall outer dimensions of the box are 9.6mm in length, 6mm in width, and 4mm in height. Construct the main body as a rectangular prism with these dimensions, featuring a hollowed-out interior center. The interior cavity should be 8.64mm long, 5.4mm wide, and 3...
include<hinge.scad> depth=2; width=3; length=4.8; xr=(length/width)*.05; yr=(width/length)*.05; $fs=.05; scale([length,width,depth]){ lid(); } module box(){ difference(){ linear_extrude(height=1){ hull(){ hull(){ translate([1,1,0])circle(.2); translate([-1,1,0])circle(.2); } hull(){ translate([1,-1,0])circle(.2); t...
glb/cad_eed6a9eff341.glb
Create a hinged box with a lid, scaled to a total length of 9.6mm, width of 6mm, and depth of 4mm. Construct the main box body as a rectangular shell with a wall thickness of 0.4mm. The outer dimensions of the base should be 9.6mm by 6mm, with a height of 4mm. Hollow out the center to create a cavity that is 8.64mm l...
include<hinge.scad> depth=2; width=3; length=4.8; xr=(length/width)*.05; yr=(width/length)*.05; $fs=.05; scale([length,width,depth]){ box(); translate([0,0,1.8])lid(); } module box(){ difference(){ linear_extrude(height=1){ hull(){ hull(){ translate([1,1,0])circle(.2); translate([-1,1,0])circle(.2); } hull(){ transl...
glb/cad_1c3b9e49aa15.glb
Create an RJ45 Keystone Multi Receiver consisting of four identical receiver modules aligned in a row. Each individual receiver module is a block measuring 18mm wide, 25mm deep, and 9.9mm high. Within each module, carve out a central rectangular cavity measuring 14.9mm wide, 19.44mm deep, and 7.9mm high, positioned 1.5...
$fa = 5; $fs = 0.01; module rj45Receiver() { difference() { cube([18, 25, 9.9]); translate([1.55, 2.6, 0]) { cube([14.9, 19.44, 7.9]); } translate([1.55, 2.6, 7.9]) { cube([14.9, 16.25, 2]); } translate([1.55, 17.45, 7.2]) { rotate(v=[1, 0, 0], a=-27.3) { cube([14.9, 3.5, 3]); } } tran...
glb/cad_effcf138a398.glb
Create a Plant Guide consisting of two concentric, curved bands with a thickness of 4mm. The inner band is a circular arc with a width of 3mm and an inner radius of 3mm, spanning an angle of 220 degrees. Position this inner arc so its center is offset by 4.5mm along the Y-axis. Add a semi-circular fillet with a radius ...
Guide_Tickness = 4; Guide_Width = 3; Small_Radius = 3; Large_Radius = 20; module arc(radius, thick, angle){ intersection(){ union(){ rights = floor(angle/90); remain = angle-rights*90; if(angle > 90){ for(i = [0:rights-1]){ rotate(i*90-(rights-1)*90/2){ polygon([[0, 0], [radius+thick, (rad...
glb/cad_ff6b5c1c1ef9.glb
Create a training knife model consisting of a blade and a handle. For the blade, start with a rectangular slab 35mm wide, 150mm long, and 5mm thick. Round the tip of the blade by removing material to create a semi-circular end with a radius of 7.5mm. Along the long edges of the blade, create a slight concave curvature....
module handle(){ difference(){ union(){ cube([18,100,5],center=true); translate([0,-65,0])cube([10,30,5],center=true); } difference(){ translate([0,45,0])cube([20,10,6],center=true); translate([0,35,0])cylinder(r=15,h=7,center=true); } translate([0,40,0])cylinder(r=2.5,h=7,center=true); translate([0,-60,0])cylin...
glb/cad_c09d905e594e.glb
Create a laser module holder designed to attach to an L-bracket. Start with a main rectangular body that is 4mm thick, 111.5mm high, and 10.16mm wide. Centered on the side of this body, create a vertical slit that is 2mm wide and 20.32mm high to allow for clamping. Extend the geometry by adding two clamping tabs on th...
use <teardrop.scad> mm=25.4; laser_diameter=12; holder_thickness=4; mount_width=(5/8)*0.8*mm; mount_height=1.5*mm; slit_size=2; bolt_diameter=3; bolt_length=50; difference() { union() { difference() { union() { translate( v=[0,-(mount_height+28),0] ) { cube( size=[holder_thickness,mount_height+100,m...
glb/cad_98ee778e1bf0.glb
Create a FatKame robot body, which is a rectangular box with a base length of 102mm, a width of 77mm, and a height of 30mm. The walls of the box should have a thickness of 2mm. On the top surface, incorporate a battery chute for easy access. This chute is centered along the width and is defined by a rectangular openi...
$fa = 0.5; $fs = 0.5; kamebox_length=102; kamebox_width=77; kamebox_servobox_height=30; kamebox_wallstrength= 2; kamebox_lid_height= 6; servo_width=12; batterydoor_width=kamebox_width-2*(kamebox_wallstrength+servo_width+8); batterydoor_rim=3; batterydoor_length=50; translate([(kamebox_length-batterydoor_length)*6/8,...
glb/cad_a03503a03030.glb
Create a FatKame robot body consisting of a lower base and an upper lid. For the lower part, create a rounded rectangular box 102mm long, 77mm wide, and 32mm high with a 2mm corner radius. Hollow out the center, leaving 2mm walls, but leave a 6mm high lid-lip area. At the bottom, add two servo beds: one along the fro...
$fa = 0.5; $fs = 0.5; lower=true; kamebox_length=102; kamebox_width=77; kamebox_servobox_height=32; kamebox_wallstrength= 2; kamebox_lid_height= 6; kamebox_iro_width=32; kamebox_iro_length = 72; kamebox_iro_height = 12; servo_width=12; servo_height = 21; servo_length=24; servo_overhang=4; servo_mounthole = 0.7; se...
glb/cad_e114e7b26168.glb
Create a Glass Bed Holder by constructing a solid base block and removing specific geometric volumes. Start with a base block that is 50mm wide, 4mm high (3.5mm for the glass thickness plus a 0.5mm top lip), and approximately 41mm deep. The block's front face should be shaped by a hull of four 2mm radius cylinders posi...
glassRadius = 160; glassHeight = 3.5; $fn = 120; cornerInset = 2; cornerRad = 2; topHeight = 0.5; edgeAngle = 110; topInset = 5.8; edgeLength = 41; backEdge = -35; backWidth = 50; blockHeight = glassHeight + topHeight; corners = [ [-backWidth/2+cornerRad+(cos(edgeAngle)*(edgeLength-(cornerRad*2))), backEdge...
glb/cad_3294e67c1904.glb
Create a parametric flower stand tray by constructing a hollowed-out conical frustum. First, create a solid conical frustum with a height of 20mm, a top diameter of 120mm, and a bottom diameter of 100mm. Centered within this shape, remove a smaller conical frustum to create the interior cavity. This interior void shoul...
Diam_ext_sup=120; Diam_ext_inf=100; Diam_int_sup=110; Diam_int_inf=90; h=20; g_base=3; difference(){ cylinder(r2=Diam_ext_sup/2,r1=Diam_ext_inf/2,h,$fn=100,center=true); color("red") translate([0,0,g_base]) cylinder(r2=Diam_int_sup/2,r1=Diam_int_inf/2,h,$fn=100,center=true); }
glb/cad_b9271fc692d0.glb
Create a parametric flower stand tray by constructing a large cylinder with a diameter of 120mm and a height of 20mm, centered on the origin. From this main body, remove a smaller concentric cylinder to create a hollow interior. This inner cylinder must have a diameter of 115mm and the same height of 20mm, but it shoul...
Diam_ext=120; Diam_int=115; h=20; g_base=3; difference(){ cylinder(r=Diam_ext/2,h,$fn=100,center=true); color("red") translate([0,0,g_base]) cylinder(r=Diam_int/2,h,$fn=100,center=true); }
glb/cad_0aaa4ce30f2c.glb
Create a customizable button consisting of a central disc and an outer trim. Start by creating a main central cylinder with a diameter of 10mm and a thickness of 2mm. Surround this with a larger outer trim cylinder that has a diameter of 14mm and a total height of 3.5mm. This trim should be hollowed out from the center...
buttonThickness = 2; buttonDiameter = 14; buttonTrimThickness = 2; buttonTrimHeight = 1.5; holeCount = 4; holeDistanceToCentre = 5; holeSize = 2; innerDiameter = buttonDiameter - (buttonTrimThickness-0.001 * 2); module holes() { if ( (holeCount > 0) && (holeCount != 1) ) { rotationDegrees = 360 / holeCount; ...
glb/cad_42278e4525fa.glb
Create a Blower Servo mount for a smoker setup. Start with a rectangular base plate measuring 43.5mm in height, 40mm in width, and 3mm in thickness. Centered on this plate, construct a hollow rectangular body with outer dimensions of 21.71mm in height, 26.81mm in width, and 40mm in length, featuring a wall thickness of...
plate_width=40; plate_height=43.5; plate_thickness=3; wall_thickness=.83; blower_width=25.15; blower_height=20.05; body_width=blower_width+2*wall_thickness; body_height=blower_height+2*wall_thickness; body_length=40; motor_height=7.2; motor_width=11.72; motor_length=22.5; motor_offset=5.2; shaft=1.65; module plate()...
glb/cad_d792b8909a50.glb
Create a Mill Centre Finder tool. Start with a main cylindrical body that has a diameter of 110mm and a height of 20mm. Cut a large central hole through the entire height with a diameter of 68mm. On the bottom face, create a rectangular keyway slot that is 16.4mm wide and 16.4mm high, extending 72mm in length. Inte...
finderwidth = 80; finderdia = 110; quilldia = 68; laserdia = 6.2; laseroffsetdia = 85; laserangle = 15; quillheight = 20; keywidth = 16.4; keyheight = 16.4; keylength = 72; laserboardthickness = 2.5; laserboardwidth = 7.2; laserboardheight = 15; laserboardoffset = 2; batterydia = 20.2; batterythickness = 3.3; batterys...
glb/cad_dc30ea9dd471.glb
Create a motorcycle kickstand with a main shaft and a mounting foot. The main shaft is a cylinder with a diameter of 26mm and a total length of 235mm. One end of the shaft is rounded, while the other end transitions into a rectangular block measuring 26mm wide by 24mm high. Along the length of the shaft, create a long...
max_z=24; max_x=26; max_y=235; $fn=120; slot_x=8; slot_y=30; pad=0.1; padd=pad*2; small_hole=10; large_hole=13; side_angle=17; front_angle=20; pad_x=55; pad_y=32; pad_offset=13; pad_thick=7; spring=6; spring_lip=2; spring_h=10; spring_support_angle=35; spring_offset=103; splint_offset = slot_y+(max_x-slot_x)/2-...
glb/cad_e9e901020098.glb
Create a headphone hanger hook designed to mount on a 25mm diameter vertical post. Start by creating a semi-cylindrical sleeve with a height of 50mm and a wall thickness of 3mm, centered to fit around the 25mm post. Extend two flat ears outward from the sides of this sleeve; each ear should be 3mm thick and 50mm high. ...
$fn=50; post_dia_mm = 25; wall_thickness_mm = 3; height_mm = 50; headphone_rest_length_mm = 50; hole_dia_mm = 5; big_mm = post_dia_mm * 10; difference() { cylinder(height_mm, d=post_dia_mm + 2*wall_thickness_mm,true); cylinder(height_mm, d=post_dia_mm, true); translate([0,post_dia_mm,height_mm/2]) ...
glb/cad_3017225ffaea.glb
Create a ceiling mount for a lamp by starting with a square base measuring 150mm by 150mm with a total height of 15mm. In the center of this base, create a vertical cylindrical hole with a radius of 26mm that extends through the height of the block, leaving a 5mm wall at the bottom. Above this central hole, create a wi...
$fn=140; lamp_d=15; lamp_r=lamp_d/2; wire=5; lamp_head_d=33; lamp_head_r=lamp_head_d/2; lamp_head_grip=20; d=50; r=d/2; lip=20; lip_h=7; lamp_h=57-lip_h; pad=0.1; padd=pad*2; gap=1; lock=2; wall=5; screw_d=5; screw_r=screw_d/2; screw_head_d=10; screw_head_r=screw_head_d/2; screw_head_h=screw_head_r/2; mount_w = 150;...
glb/cad_662b41156b58.glb
Create a Parametric LED Diffuser consisting of a base rail with ten repeating decorative elements. Start by creating a rectangular base rail that is 168mm long, 22mm wide, and 7mm high. Within this rail, carve out a central longitudinal channel to hold an LED strip. This channel should be 18mm wide and 6mm deep, leav...
shapes_ = [ ["hex", 1], ["sphere", 2], ["plus", 3] ]; function shape(shape="sphere") = shapes_[ search([shape],shapes_,1,0)[0] ] [1]; chopDomes = true; LED_PER_METER = 60; decorationShape = shape("sphere"); numLeds = 10; pixelSpacing = 1000/LED_PER_METER; outerWidth = 22; outerHeight = 7; innerWidth = ...
glb/cad_14136192160b.glb
Create a right angle adapter for an air mattress pump. The object consists of two cylindrical pipes connected by a central joint block, with a continuous hole running through the center of both. First, create the central joint block as a cylinder with a diameter of 18.45mm and a height of 14.75mm, centered on the orig...
difference(){ union(){ rotate([45,0,0]){ difference(){ union(){ translate([0,0,10]) cylinder(d1=12.75,d2=12.5,h=9); rotate([90,0,0]) cylinder(d=18.45,h=14.75,center=true); translate([-6.875,-7.375,0]) cube([13.75,14.75,10]); translate([-6.875,-7.375,-9.225]) cube([13.75,14.75,10])...
glb/cad_280cab000fba.glb
Create a Dynamixel-Hokuyo Coupling by constructing a central rectangular block measuring 70mm by 60mm with a thickness of 4mm. At each of the four corners of this block, add a cylindrical mounting boss with a radius of 7.5mm and a height of 4mm. Each of these four bosses must contain a centered vertical hole with a rad...
union() { difference() { difference() { union() { difference() { union() { difference() { union() { difference() { union() { cylinder(h=4, r1=14, r2=14, $fn=50,center=true); ...
glb/cad_aeed0902b77e.glb
Create a 6-spoke spool holder designed to house a skateboard ball bearing. The main body is a cylinder with a height of 8mm and an outer radius of 30.5mm. At the center, create a vertical cylindrical hole with a radius of 9.5mm to accommodate the bearing, and a smaller concentric hole with a radius of 26.5mm that exten...
spool_inside_diameter = 56.5; spool_tickness = 6; save_pla = 1; locking_ring = 1; $fn = 36; ball_bearing_tickness = 7; ball_bearing_diameter = 22; spool_holder_tickness = 2; spool_inside_radius = spool_inside_diameter * 0.5; inside_diameter = ball_bearing_diameter + ball_bearing_diameter * 0.75; inside_radius = ins...
glb/cad_fdbfca49c6f7.glb
Create a GoPro Gimbal Adapter consisting of a hollowed-out bottom base. Start by creating a rectangular block with outer dimensions of 63.5mm in length, 25.5mm in width, and 7mm in height. Hollow out the center of this block by removing a rectangular volume of 59.5mm by 21.5mm by 7.5mm, leaving a wall thickness of 2mm ...
xshift = 5; module roundedRect(size, radius, fn = 30) { x = size[0]; y = size[1]; z = size[2]; linear_extrude(height=z) hull() { translate([(-x/2)+(radius), (-y/2)+(radius), 0]) circle(r=radius, $fn = fn); translate([(x/2)-(radius), (-y/2)+(radius), 0]) circle(r=ra...
glb/cad_5475f5ad5559.glb
Create an ant poison trap by starting with a base cylinder that is 8mm high and 67mm in diameter. The cylinder should be slightly tapered, with the bottom face being 10mm narrower in diameter than the top face. From the top of this base, carve out a spherical void to create a central poison well. This void should be ce...
height = 8; diameter = 67; lip_width = 5; min_bottom = 2; base_enlargement = 10; difference(){ translate([0,0, height/2]) cylinder(h = height, r1 = diameter/2, r2 = diameter/2-base_enlargement, center = true); translate([0,0, height]) resize(newsize = [diameter-((lip_width+base_enlargement)*2), diameter-((lip_...
glb/cad_37f5a998f8e0.glb
Create a Quick Fix Spool Holder consisting of a central axle assembly and a large thumbwheel. Start by creating a central cylindrical axle with a diameter of 9mm and a total length of 100mm. At each end of this axle, integrate a bearing housing. Each housing is a cylinder 19mm in outer diameter and 4mm high, with a con...
c = 0.3; $fn = 48; use <stretchyshape.scad> print = 0; spool_dia_min = 20; spool_dia_max = 60; bearing_outer = 19; bearing_inner = 13; bearing_height = 4; wheel_diameter = 65; wheel_thickness = 5; if ( print == 0 || print == 3 ) translate( [ 0, 0, 35 ] ) { if ( print == 0 ) translate( [ 0, 0, 20-3.25 ] ) bearing...
glb/cad_930051e313b4.glb
Create a box with a cover consisting of two separate parts. First, construct the main box as a hollow rectangular prism with outer dimensions of 104.4mm in length, 31.4mm in width, and 28.2mm in height. The walls and the base should be 2.2mm thick. To create the opening, remove a central block of 100mm by 27mm by 26mm,...
offset=10; inner_dim_x=100; inner_dim_y=27; inner_dim_z=26; wall_thickness=2.2; shoulder_thickness=1; shoulder_height=5; cover_height_without_shoulder=25; cover_height=shoulder_height+cover_height_without_shoulder; spacing=0.2; spacing_vertical=1; Assembly(); module Assembly(){ translate([0,-inner_dim_y-offset,...
glb/cad_cdf94aa09381.glb
Create a front fan mount and light ring holder. Start with a central base plate consisting of a 40mm by 40mm by 5mm cube centered on the origin. Attach two vertical rectangular supports to the base: one measuring 12mm by 3mm by 15mm centered at X-14, Y-18.5, Z5, and another measuring 17mm by 5mm by 15mm centered at X0,...
difference(){ union(){ cube(size=[40,40,5],center=true); translate([-14,-18.5,5]) cube(size=[12,3,15],center=true); translate([0,19,5])cube([17,5,15],center=true); translate([0,0.5,-1])rotate([30,0,0])difference(){ cylinder(r=21,h=17,center=true); cylinder(r=19,h=18,center=true); ...
glb/cad_9c1fff56ec6c.glb
Create a chess pawn consisting of a tiered base, a tapered neck, and a spherical head. Start with a circular base 40mm in diameter (20mm radius) and 1mm thick. Above this, add a series of stacked cylinders to form the body: a 5mm tall cylinder tapering from 17mm to 20mm radius, followed by an 8mm tall cylinder tapering...
module Pawn(scalex, scaley, scalez, posx, posy, posz) { translate([posx, posy, posz]) { scale(v = [scalex, scaley, scalez]) { difference() { union(center=true) { cylinder(h=50, r1=15, r2=5); translate([0, 0, 56]) { sphere(r=15, $fa=5); } translate([0, 0, 40]) { cylinder(h=3, r1=12, r2=8); } ...
glb/cad_ef9b3de1163a.glb
Create a Desktop Battleship model. Start by constructing the main hull, which is a rounded, elongated ship body. The central section is a rounded rectangular block 50mm long, 30mm wide, and 10mm high. Taper the front into a rounded point and the rear into a rounded stern, ensuring all edges are smoothed with a 3mm radi...
module body(){ hull(){ minkowski(){ translate([15,-25,-20])rotate([0,0,90])cube([50,30,10]); sphere(3,$fn=100); } minkowski(){ translate([-1.5,-75,-20])cube([3,3,10]); sphere(3,$fn=100); } minkowski(){ translate([0,45,-20])cylinder(10,5,5,$fn=100); sphere(3,$fn=100); } }} body(); front(); module cannon(){ minkowski()...
glb/cad_37f3c4c4e0c6.glb
Create a Hobbing Tool Holder consisting of four main components: a wheel, a drill holder, a support, and a click mechanism. First, create the wheel as a cylinder with a diameter of 40mm and a thickness of 4mm. Remove a concentric inner cylinder with a diameter of 32mm. Cut 22 teeth into the outer rim, each 3.3mm wide ...
part = 0; BoltDiameter = 8; BoltLength = 40; TeethNumber = 22; WheelDiameter = 40; WheelThickness = 4; WheelAxisThickness = 6; WheelThickness = 4; SupportThickness = 5; DrillXOffset = 27; DrillYOffset = 50; AxisHeight = 10; DrillDiameter = 19; DrillHolderHeight = 10; DrillHolderThickness = 3; DrillHolderOpening = 3...
glb/cad_892038ad5773.glb
Create a vertical stand for a thin client by first constructing a large, thin cylindrical ring with an outer radius of 150mm, an inner radius of 145mm, and a height of 25mm. Cut this ring in half so that only a semi-circular arc remains. Within this arc, create a recessed slot to hold the device. Position a rectangular...
$fn=100; angle = 5; difference() { union() { difference() { cylinder(r = 150, h = 25); cylinder(r = 145, h = 25); translate([-200,-365,0]) cube(500); } translate([0,0,-14]) { rotate([angle,0,0]) translate([-17.5, 145,0]) cube([35, 15, 25]); } } #translate([-200,-340,24]) cube(500); #translate([-200,-340...
glb/cad_3587a3911618.glb
Create a filament cleaner mod for a micro extruder. Start with a main cube measuring 24.2mm on all sides. Subtract a central vertical cylinder with a diameter of 3mm, extending from the bottom face to a height of 6.5mm, and then continuing from 11.5mm up to the top of the cube. Add two thin rectangular mounting walls...
$fn = 60; e = 1.6; b1 = 21 + 2*e; h = 3; f = 21; c = 5.5; e3=1.2; x1l = 3.5; l1l = b1/2; x1r = 5; l1r = b1; b2 = b1 - 2*e; e2=(b1-f)/2; rotate(a=[0,0,0]) { difference(){ union(){ difference(){ union(){ difference(){ cube([b1, b1, b1]); translate([b1/2,b1/2,0]) cylinder(3*b1, h/2+0.5, h/2+5); } translate([0,...
glb/cad_d7881351b99e.glb
Create a filament cleaner mod for a micro extruder. Start with a main cube of 24.2mm on all sides. Remove a central vertical cylinder with a radius of 1.5mm that extends through the top and bottom of the cube to create a filament path. Inside the main cube, carve out a rectangular void measuring 21.2mm x 21.2mm x 21....
$fn = 60; e = 1.6; b1 = 21 + 2*e; h = 3; f = 21; c = 5.5; e3=1.2; x1l = 3.5; l1l = b1/2; x1r = 5; l1r = b1; b2 = b1 - 2*e; e2=(b1-f)/2; rotate(a=[0,-90,0]) { difference(){ union(){ difference(){ union(){ difference(){ cube([b1, b1, b1]); translate([b1/2,b1/2,0]) cylinder(3*b1, h/2+0.5, h/2+5); } translate([...
glb/cad_ccc54c74af3e.glb
Create a 3D model of deformed Borromean Rings composed of three interlocking rectangular loops made from 1mm x 1mm x 1mm cubic segments. The entire assembly is scaled up by a factor of 2.5. The first ring is a large loop centered on the XZ plane. Construct it using segments of 1x5x1, 1x1x3, and 10x1x1 blocks, position...
s=2.5; scale([s,s,s]) translate([0,0,0.5]) whole(); module whole() { color([0.6,0.6,0.9]) { translate([-1/2,-1/2,-1/2]) halfring1(); mirror([1,0,0]) translate([-1/2,-1/2,-1/2]) halfring1(); } module halfring1() { cubeblock(1,5,1,0,-10,0); cubeblock(1,1,3,0,-6,0); cubeblock(1,5,1,0,-6,2); cubeblock(1,1,3...
glb/cad_5850e2032b92.glb
Create an ID card holder consisting of a main sleeve and a top clip. Start by creating a rounded rectangular sleeve with overall dimensions of 90mm in height, 60mm in width, and 4.5mm in thickness. The corners of this sleeve should have a radius of approximately 1.67mm. Inside this sleeve, carve out a central rectangul...
RESOLUTION = 200; $fn=RESOLUTION; id_h = 86; id_l = 56.5; id_t = 1.5; frame_w = 5; corner_r = frame_w/3; holder_h = id_h+4; holder_l = id_l+4; holder_t = id_t + 3; clip_h = 10; clip_l = 20; clip_t = (holder_t-id_t)/2; clip_hole_h = clip_h/3; clip_hole_l = clip_l-6; clip_hole_t = id_t; slide_h = 3*clip_h; slide_l ...
glb/cad_acca1e2303ee.glb
Create a J-Head mount for an extruder. Start with a central rectangular plate 25mm wide, 50mm long, and 8mm thick. Add two half-cylinders with a radius of 12.5mm to the two shorter ends of the plate to create a rounded profile. Cut a large circular hole with a radius of 21.5mm through the center of the entire assembl...
length = 25; height = 8; mount_spacing = 50; carriage_mount_dia = 4.5; extruder_dia = 16; extruder_dia2 = 12; extruder_cyl1_height = 3.7; extruder_cyl2_height = 5.6; mount_screws_dia = 3.5; main(); module main() { translate([-20, 0, 0]){ intersection() { mount(); separator(); } } differe...
glb/cad_16ab13c0ab63.glb
Create a J-Head mount for an E3D extruder. Start with a central rectangular plate 25mm wide, 50mm long, and 9mm thick. Round the two ends of the plate with a radius of 12.5mm. Cut a large circular profile from the center of the plate using a cylinder with a radius of 21.5mm and a height of 10mm, centered on the plate...
length = 25; height = 9; mount_spacing = 50; carriage_mount_dia = 4.5; extruder_dia = 16; extruder_dia2 = 12; extruder_cyl1_height = 3.7; extruder_cyl2_height = 5.6; mount_screws_dia = 3.5; main(); module main() { translate([-20, 0, 0]){ intersection() { mount(); separator(); } } differe...
glb/cad_09546869b7bf.glb
Create a Spikes Watch wristband link. Start with a central rectangular block measuring 20mm in width, 12.5mm in length, and 4mm in height. Add a cylinder with a radius of 2mm and a length of 20mm, centered and oriented horizontally along the width of the block. On the top surface of the link, place three square-based ...
wall_thickness = 2; height_watch = 15; height_cover = wall_thickness + height_watch; radius_watch_glass = 36/2; radius_cover_inner = radius_watch_glass + 5.25; radius_cover_outer = radius_cover_inner + wall_thickness; clasp_length = 12; holder_height = 1; holders_cover_height = 6; holders = 31; holder_thickness = 5.2;...
glb/cad_ba0b7e828950.glb
Create a rotary knob with a total height of 8.5mm. The main body is a 4-sided prism (square base) with a radius of 26mm. The edges of this base are rounded with a 1.5mm radius. From this base, remove four identical cylindrical cutouts to create a "ninja star" effect. Each cutout has a radius of 10mm and is positioned...
SHAPE = "C"; CYLINDER_R_OUTER = 26; ROUNDING_R = 1.5; C_FN = 4; C_CUT_NUM = 4; C_CUT_R = 10; C_CUT_OFFSET = 15; C_CUT_FN = 5; C_CUT_SCALE = 1; C_CUT_ANGLE = 36; C_ANGLE = 360 / C_CUT_NUM; C_ANGLE_OFFSET = 0.5 * C_ANGLE; F_NUM_LEAFS = 3; F_LEAF_OFFSET = 22.5; F_LEAF_R_INNER = 5; F_LEAF_R_OUTER = 1.5; F_ANGLE = 360...
glb/cad_f82c0e7e9f01.glb
Create a 3D Mario Koopa character using a voxel-style construction of small cubes. For the legs, create two separate pillars. The left leg consists of a vertical stack of 2x1x1mm cubes positioned from y=-2 to y=2 and z=0 to z=1. The right leg is a similar stack of 2x1x1mm cubes positioned from y=9 to y=12 and z=0 to ...
color("orange")translate([1,-2,0])rotate([0,0,0])cube([2,1,1]); color("orange")translate([1,-1,0])rotate([0,0,0])cube([2,1,1]); color("orange")translate([1,0,0])rotate([0,0,0])cube([2,1,1]); color("orange")translate([1,1,0])rotate([0,0,0])cube([2,1,1]); color("orange")translate([1,2,0])rotate([0,0,0])cube([2,1,1]); co...
glb/cad_28ba0fb45266.glb
Create a block and tackle pulley system consisting of a block and several sheaves. First, construct the block by creating a series of three identical circular plates, each 7mm thick with a diameter of 22mm. Space these plates along a central axis with a gap of 5.66mm between them. Connect these plates with a central ...
$fa = 5; $fs = 0.25; daxle = 6.3; raxle = daxle/2; drope = 4; rrope = drope/2; twheel = drope*sqrt(2); t = 7; nn = 2; n = nn+1; dloop = 18; rloop = dloop/2; add = 2*1; rout = rloop+rrope+add; w = rout*2; clr = 0.25; bevel = 0.75; bevel2 = 2; l0 = w/2*0.75; tcenter = t; deyelet = rrope*5; rring = deyelet/...
glb/cad_c422a0388af5.glb
Create a Minikin 120w by extruding a specific 2D profile to a height of 75mm. The profile is formed by combining a 33mm by 22mm rectangle with a circle of radius 11mm. Position the circle so its center is at the midpoint of the rectangle's width and height, effectively rounding one of the shorter sides of the rectangle...
module flatstuff() { translate([11,0,0])square([33,22]); translate([11,11,0]) circle(11); } linear_extrude(height = 75) flatstuff();
glb/cad_fc71776805cc.glb
Create a tool holder consisting of a main rectangular bin and an attached mounting clip. The main bin is a hollow cube with outer dimensions of 15mm width, 15mm depth, and 40mm height. The walls are 1.8mm thick, creating an internal void of 11.4mm by 11.4mm that extends from a base thickness of 1.8mm up to the top. On...
width=15; clip_gap=1.7; clip_thickness=1.2; clip_width=6; clip_length=15; height=40; scraper_hook_length=25; scraper_hook_width=7; scraper_hook_height=10; scraper_hook_end_thickness=1.2; wall_thickness=1.8; clip_y = (width-clip_width)/2; bin_width=width-(wall_thickness*2); $fa=1; $fs=0.5; difference() { cube([w...
glb/cad_df211b9ccf3d.glb
Create a SoliVORON motor mount and base assembly. Start with a main body block measuring 55.9mm x 52mm x 58.9mm. From this block, remove a large central rectangular volume of 55mm x 49mm x 70mm starting at position [5, -54, -75]. Remove two rivet cutouts: one measuring 3.51mm x 42.1mm x 25.1mm at [-0.1, -42, -25] and a...
$fn = 50; difference() { translate([0,-52,-55]) cube([55.9, 52, 58.9], center = false); translate([5,-54,-75]) cube([55, 49, 70], center = false);; translate([-0.1,-42,-25]) cube([3.51, 42.1, 25.1], center = false); translate([-0.1,-42,-3]) cube([25.1, 42.1, 7.8], center = false); color([0,0,1]) tran...
glb/cad_7f73be2d7be1.glb
Create a motor mount for a Core XY printer. Start with a main rectangular body measuring 54mm in width, 26mm in depth, and 52mm in height. Carve a large rectangular cutout from the center measuring 55mm by 45mm by 70mm, starting at coordinates (5, 4, -77). Remove two smaller rectangular sections for rivets: one measu...
$fn = 50; difference() { translate([0,0,-52]) cube([54, 26, 52], center = false); translate([5,4,-77]) cube([55, 45, 70], center = false);; translate([-0.1,-0.1,-25]) cube([3.51, 22.1, 25.1], center = false); translate([-0.1,-0.1,-3]) cube([25.1, 22.1, 3.1], center = false); color([0,0,1]) translate(...
glb/cad_6f0e98c4cd44.glb
Create a Chevy S10 Third Door Handle Replacement. Start by constructing a complex vertical body 64.5mm tall. This body is formed by the union of several components: two 6.5mm thick bushings at the top and bottom, each created by the convex hull of a 12.4mm diameter cylinder and a 8mm diameter cylinder offset by 16mm in...
$fa=5; difference(){ intersection(){ union(){ hull(){ cylinder(h=6.5, r=12.4/2); translate([16,2.1,0]) cylinder(h=6.5, r=8/2); } hull(){ translate([0,0,64.5-6.5]) cylinder(h=6.5, r=12.4/2); translate([16,2....
glb/cad_dac0edb3153d.glb
Create an MT-5 LCD base mount consisting of a hollow rectangular base and a matching interface plate. Construct the base as a square shell with an outer width of 96mm and a height of 50mm. The walls should be formed by four corner posts with a radius of 4mm, connected by a hull. Create a top recess in the base that i...
base_screw_d = 3 /2; base_h = 50; LCD_Zoffset = 10; post_d = 6 /2; screw_offset = 6; offset = 84.5; width = 96; top_thick = 4.5; screw_d = 5 / 2; OUTPUT = 2; if (OUTPUT == 1) { base(); } if (OUTPUT == 2) { translate([0, 0, base_h + LCD_Zoffset]) mt5model(); base(); } module base() { difference() { union() { hul...
glb/cad_8ca962571c00.glb
Create a universal earphone holder consisting of a symmetrical frame with two cradles and a plug holder. Start by creating two identical cradle assemblies positioned on opposite sides of a central axis. Each cradle is a hollowed-out sphere with an outer radius of 12mm and an inner radius of 9.5mm, resulting in a wall t...
phone_diameter=19; phone_stem_diameter=14; phone_cradle_radius=phone_diameter/2; phone_stem_hole_radius=phone_stem_diameter/2; phone_cradle_thickness=3; cradle_separation = 5; cradle_outer_radius=phone_cradle_radius+phone_cradle_thickness; module phone_cradle() { $fn=30; difference() { sphere(r=cradle_...
glb/cad_0c03e468af35.glb
Create an extrusion shelving system bracket. The main body is a composite of rounded rectangular blocks. Start with a base support cap that is a rounded rectangle of 15mm by 15mm with a thickness of 5mm. Extend the geometry to include a side clip and a shelf clip, both based on 15mm dimensions. The side clip is a rou...
bracket_thickness = 5; screw_dia = 3.3; screw_head_dia = 5.7; extrusion_size = 15; extrusion_channel_width = 5.55; extrusion_channel_deep = 4.4; extrusion_groove_width = 3.6; extrusion_groove_deep = 1.15; fingers = 1; dual = 1; epsilon = 0.01; $fn=32; module round_rect(x, y, r, fn=20) { $fn=fn; radiu...
glb/cad_86043cf137df.glb
Create a Bic Word Pen consisting of a pen body and a separate cap. For the pen body, create a rounded cylinder with a thickness of 7mm. The main shaft should be 125mm long, ending in a conical tip with a 4mm diameter hole to accommodate a ballpoint pen refill. Along the top surface of the body, extrude the word "Bict...
use <MCAD/fonts.scad> wordpen(mode=object); object=1; word = "Bictastic"; helper_tabs=1; tip_diameter = 4; inner_diameter = 3.4; inner_length = 125; pen_thickness = 7; lid_length = 30; tolerance=0.2; font_scale = 2.1; font_spacing = 0.81; top_offset=1.2*1; font_height = pen_thickness + 1.5; the_font = 8bit...
glb/cad_f47c4bb8b197.glb
Create a Bolt Handle Adapter designed to grip a hexagonal bolt. Start by creating a main cylindrical handle with a diameter of 50mm and a height of 25mm. This handle is a hollowed shell with a wall thickness of 2mm. At the center of the handle, create a hexagonal hole that extends through the height of the object. Thi...
HandleDiameter = 50; HandleHeight = 25; HandleDistance = 10; HandleThickness = 2; BoltHolderThickness = 3; GripRadius = 8.1; GripNumber = 10; GripRatio = 0.30; BoltDiameter = 8; DesignRadius = 6; SealHole = false; BoltHeadRatio = 0.9; module boltHandle() { difference() { union() { translate([0, 0, Hand...
glb/cad_68bf7ea6c883.glb
Create a Motorola Defy dock by starting with a solid rectangular block measuring 68mm wide, 40mm deep, and 40mm high. Carve out a central void to hold the phone, tilted at a 20-degree angle. This void should be 60mm wide and 13mm deep, with the opening starting 4mm from the front and side edges. The interior of the voi...
phone_x = 60; phone_y = 13; phone_z = 107; corner_radius = 5; button_edge_clearance = 6; button_bottom_clearance = 6; button_cylinder_small_radius = 7; dock_thickness = 4; dock_height = 40; phone_angle = 20; phone_plug_height = 22; plug_cutout_angle = asin(phone_y/(phone_plug_height-button_bottom_clearance+button_cyl...
glb/cad_0eb5e78853c8.glb
Create an adjustable foot for furniture consisting of a base and a top support plate. Start with a cylindrical base that has a radius of 12mm and a height of 7mm, featuring a rounded, bead-like profile around its outer edge created by a 3.5mm radius circle rotated around the center. Bore a hexagonal hole with a diamete...
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); translate([(-x/2)+(radius/2), (y/2)-(radius/2), 0])...
glb/cad_dec35aed447e.glb
Create a Kitchen Roll holder consisting of two identical mirrored clamping units positioned 30mm apart. For each unit, start with a base rectangular block 20mm wide, 2mm thick, and 10mm high. Add a vertical wall on the outer edge that is 2.3mm wide and 21.5mm high. On the inner side, add a second wall 20mm wide and 2.4...
width = 10; clamp_inner_height = 19; roll_holder_length = 30; holder("right",width,clamp_inner_height,roll_holder_length); translate([30,0,0]) holder("left",width,clamp_inner_height,roll_holder_length); module holder(side,width,clamp_inner_height,roll_holder_length){ if(side == "right"){ translate([0,clamp_inne...
glb/cad_cbe30285aa32.glb
Create a double feed extruder mount by starting with a central rectangular block measuring 20mm by 90mm by 70mm. From this main body, remove several cylindrical and rectangular sections to create the mounting voids. Carve out a central rectangular slot measuring 30mm by 91mm by 25mm from the top. Create a series of c...
module doubleside1() { rotate(45,[0,0,1])rotate(180,[1,0,0])scale([1.035,1.035,1.035]){ difference() { union() { translate([0,0,0])cube([ 20, 90, 70], center = true); } union() { translate([1,0,-25.1])cube([20,70,20],center=true); translate([0,0,-0.11])rotate(90,[0,0,0])cylinder(30,8,8,center=true...
glb/cad_c490b7a7d4d6.glb
Create a double feed extruder mount by starting with a base rectangular block measuring 60mm in length, 38mm in width, and 5mm in height. Attach a second rectangular block measuring 15mm by 38mm by 25mm to the first, positioned at the origin so it extends the height to 30mm over a 15mm section of the base. From this ...
module dino() { rotate(90,[0, 0, 1])difference() { union() { cube([60, 38, 5]); translate([0, 0, 4]) cube([15, 38, 25]); } union() { #translate([5, 19, 10])rotate(90,[0,1,0])cylinder(30,3,3); #translate([5, 19, 20])rotate(90,[0,1,0])cylinder(30,3,3); #translate([14, 19, 0])cylinder(30,3...
glb/cad_9caa0a236d04.glb
Create a double feed extruder mount by starting with a central rectangular block 30mm wide, 60mm long, and 20mm high, centered on the origin. Add two rectangular extensions to the sides, each 7.5mm wide, 60mm long, and 10mm high, positioned 11.2mm from the center and 12mm up from the base. Incorporate two angled rectan...
module printruderbowdenmount() { difference() { union() { cube([30, 60,20],true); translate([11.2,0,12])cube([7.5,60,10],true); translate([-11.2,0,12])cube([7.5,60,10],true); translate([10.5,0,16])rotate(25,[0,-1,0])cube([10,60,10],true); translate([-10.5,0,16])rotate(25,[0,1,0])cube([10,60,10],true); ...
glb/cad_02df61ecb787.glb
Create a parametric cable clip designed for perforated plates. The main body is a rectangular block 18mm wide, 6mm deep, and 10mm high. At each end of the block, centered 8mm from the middle, create a cylindrical push-pin assembly. Each assembly consists of a central cylinder with a diameter of 4.75mm and a height of...
Hole_Distance=16; abstand = Hole_Distance; Hole_Diameter=5; loch=Hole_Diameter; Thickness=2.2; dicke=Thickness; Height=10; hoehe=Height; Fitting_multiplier=1; fitting=(Fitting_multiplier/8)+0.9; Amount=1; if (Amount==1){ clip(); } if (Amount==4){ translate([(-abstand-loch*1.5-4)/2,(loch/1.5+2),0...
glb/cad_1a77141d01fc.glb
Create an I3 Pen holder designed to attach to a 30mm x-carriage. Start with a rectangular base plate measuring 60mm wide, 50mm high, and 8mm thick. Centered on this base, construct a vertical assembly that includes a cylindrical holder for a pen. This holder consists of an outer cylinder with a radius of 9mm (calculate...
base_ancho=60; base_alto=50; base_grueso=8; carrox_separaciontornillos=30; pared_flexible=5; m3_diametro=3.2; triangulo_lado=45; triangulo_pared=5; lapiz_diametro=8; aprietelapiz_grueso=12; aprietelapiz_ranura=3; aprietelapiz_ancho=8; difference() { union() { translate([-base_ancho/2,0,0]) cub...
glb/cad_aa8743c2302a.glb
Create an Arduino MEGA I3 single frame mount. Start with a central rectangular base measuring 122.88mm by 67.2mm (calculated from 4.8" x 2.64") with a total height of 10mm. In the center of this base, remove a rectangular section measuring 122.88mm by 55.2mm with a height of 6mm to create a channel for an aluminum fram...
marco_ancho=55.2; marco_grosor=6.0; tie_width=3; tie_height=1.5; mega_xsize=4.0*25.4+20; espaciador_alto=10.0; clip_ancho=2.0; grosor_base=4.0; m3_alto=2.4; m3_diametro=6.01; m3_agujero=3.6; ancho_bandas=10.0; esquina=2; hole1=[0.550*25.4-mega_xsize*0.5, -0.100*25.4+marco_ancho*0.5,-1]; hole2=[0.600*25.4-mega_...
glb/cad_d64b5c8cf8d7.glb
Create a collection of electronic component models. First, create a polyester capacitor as a cuboid measuring 4.9mm wide, 12.6mm long, and 11mm high, with two 0.8mm diameter pins extending 6mm from the bottom, spaced 10.16mm apart. Next, create a ceramic capacitor by intersecting two spheres of 5mm and 2mm diameter...
PolyesterCap( PinSpacing = 2.54*4, PinDia = 0.8, LegLen = 6, Width = 4.9, Length = 12.6, Height = 11, value = "5.6 nf", Colour = [0.45, 0.67, 0.75]); translate([10, 0, 0]) CeramicCap( $fn = 30, ...
glb/cad_06dbce0709aa.glb
Create a customizable stencil plate by starting with a rectangular base. The base should have a thickness of 0.6mm. Its height is determined by the font size (80mm) plus a top border of 10mm and a bottom border of 10mm, totaling 100mm. The width is calculated based on the number of characters in the text "MC", using a ...
Stencil_Text = "MC"; Stencil_Font="Stardos Stencil"; Font_Style="Bold"; Font_Size=80; Letter_Spacing = 1; Boarder_Top=10; Boarder_Bottom=10; Boarder_Left=10; Boarder_Right=15; Stencil_Depth=.6; Stencil_Detail=100; letterspacingtext = 1.0+Letter_Spacing/10; StencilWidth=((Font_Size)*(len(str(Stencil_Text)))+...
glb/cad_74cfac069a22.glb
Create a hollow tube with a total height of 100mm and an outer diameter of 50mm. The tube should have a uniform wall thickness of 5mm throughout its entire length, resulting in an inner hollow cylinder with a diameter of 40mm. Ensure the shape is a perfectly vertical, open-ended cylinder.
tub_mida = 100; tub_diametre = 50; tub_gruix = 5; difference() { cylinder(r=tub_diametre/2,h=tub_mida); cylinder(r=(tub_diametre/2)-tub_gruix,h=tub_mida); }
glb/cad_b8c6c5f77d93.glb
Create a snap nail consisting of a cylindrical body and a flat circular head. Start by creating a base cylinder with a radius of 3mm and a total height of 30mm, topped with a wider circular head that has a radius of 6mm and a height of 2mm. At the top of the main cylinder, 2mm below the peak, integrate a spherical prot...
h=30; r=3; block_r = r+0.7; hole_h = 8; hole_w = r/2; head_r = r+3; head_h = 2; difference(){ union(){ cylinder(h=head_h, r=head_r); cylinder(h=h, r=r); translate([0,0,h-2]) intersection(){ sphere(r=block_r); translate([-block_r,-block_r,-block_r/4]) cube(size=[2*block_r, 2*block_r,block_r/2]); } } translate([...
glb/cad_fb2d95f4da0b.glb
Create a parametric tie consisting of a main body and a knot. The main body is a flat, elongated strip with a thickness of 5.5mm and a total length of 480mm. Divide this length into 13 equal segments, leaving a 2mm gap between each segment to allow for flexibility. At the top of the tie, create a knot measuring 20mm b...
tie_source_length = 297; tie_length = 480; tie_thickness = 5.5; number_of_cuts = 13; space_between_cuts = 2; hole_diameter = 2.5; hole_resolution = 20; hole_spacing = 30; hole_rotation = 1.5; hole_bottom_distance = 30; do_seperate_knot = 1; knot_size = [20,20,tie_thickness*2]; knot_rounded_corners = 5; cut_size ...
glb/cad_1eec356e209b.glb
Create a protective table corner guard. Start by constructing a rounded, capsule-like outer shell using a convex hull of three spheres, each with a radius of 6.5mm (calculated as the 4mm part thickness plus half of the 5mm table thickness). Position these spheres at the vertices of a right-angled triangle: one at [22.5...
Table_thickness=15; Part_edge_length=45; Part_thickness=4; Quality=25; Design_1_or_2=2; rotate([0,-90,0])rotate([0,0,45])difference(){ if ( Design_1_or_2 == 1) { hull(){ translate([Part_edge_length/2,Part_edge_length/2,Table_thickness/2])sphere(Part_thickness,$fn=Quality); translate([Part_edge_leng...
glb/cad_4ee87b94c6ce.glb
Create a Large Print Bed Tester consisting of a grid of thin rectangular bars. The overall footprint of the object is 200mm by 200mm with a uniform height of 1mm. First, create a series of parallel bars running along the Y-axis; there should be 21 bars in total, each 5mm wide and 200mm long, spaced 5mm apart. Then, pla...
sizeX = 200; sizeY = 200; between= 5; num = sizeX/(2*between); intersection(){ translate(v=[0,0,0.5]){ cube(size=[sizeX ,sizeY ,1], center=true); } union(){ translate(v=[0,0,0.5]){ cube(size=[sizeX ,between ,1], center=true); } translate(v=[(-sizeX/2)+between/2,(-sizeY/2),0]){ for ( i = [0:num] ) { ...
glb/cad_328c2dd00a14.glb
Create a sunglasses holder consisting of a flat rectangular base and a semi-circular retaining ring. Start by creating a rectangular base plate that is 20mm wide, 3.6mm thick, and 34.6mm long. At each end of the long axis of this plate, attach a cylindrical stick with a radius of 1.8mm and a length of 41mm, extending o...
hsd=34.6; hsl=25; hsr=1.8; rw=16; rh=12; t=2; $fn=40; rotate([90,0,0]) { translate([-rw/2-t,rw/2,hsd/2]) { difference() { union() { translate([0,-rw/4,0]) cube([rw+2*t,(rw+2*t)/2,rh],center=true); cylinder(rh,rw/2+t,rw/2+t,center=true); ...
glb/cad_619a9de53c61.glb
Create a Remixed Kossel Carriage Truck for 2020 V-slot. Start with a main body that is a combination of a cube and a cylinder with a height of 12mm. The body features a central cutout consisting of a square and an oval section to accommodate the carriage's internal components. Add three holes for rollers: two position...
ball_rail_H = 13; carriage_extrusion_dist = 1; main_height = ball_rail_H - carriage_extrusion_dist; extrusion_width = 19.94; roller_dia = 15.96; roller_r = roller_dia / 2; wheel_extrusion_len = 34.55; extra_squeeze = 0.3; roller_x_offset = wheel_extrusion_len - roller_r - (extrusion_width / 2) - extra_squeeze; beam...
glb/cad_37fac62d3ee9.glb
Create a Greg's Wade reloaded extruder body for a Rapman hotend. Start with a main rectangular block that is 24mm wide, 59mm high, and 28mm deep. Add a base plate extending from the bottom with a length of 70mm and a thickness of 7mm. On the flat surface opposite the mounting holes, create two screw head recesses. Eac...
include<configuration.scad> include<jonaskuehling-default.scad> malcolm_hotend_mount=1; groovemount=2; peek_reprapsource_mount=4; arcol_mount=8; mendel_parts_v6_mount=16; grrf_peek_mount=32; wildseyed_mount=64; geared_extruder_nozzle=128; jhead_mount=256; reprapfaborg_mount=512; elevation=4; extra_gear_separation=2;...
glb/cad_e2d447d9c958.glb
Create a Parametric Spool Hub / Bearing Adapter centered around a central axis. Start by creating a base cylindrical ring with an outer diameter of 59.5mm and a height of 3mm, with a central hole of 17mm. Above this, add a main cylindrical body with an outer diameter of 56.5mm and a height of 6.5mm, featuring a central...
hub_dia = 56.5; hub_width=6.5; spokes=5; bearing_dia = 22; bearing_width = 8; $fn=180; module ring(do=2,di=1,h=1) { difference() { cylinder(d=do,h=h); translate([0,0,-0.1]) cylinder(d=di,h=h+0.2); } } module ring2(do=2,di=1,h=1,t=2) { difference() { cylinder(d1=do,d2=do-t,h=h); ...
glb/cad_24b2229b580c.glb
Create a Tap Handle Grip designed to fit over a flower-shaped tap. The main body is a thick, circular ring with an outer diameter of 60mm and a height of 20mm. The interior of the ring is hollowed out to accommodate the tap, featuring a central cylindrical void with a diameter of 60mm. To create the grip's structural...
hl=60; hh=10; gh=20; td=60; ww=8; xw=0.4; rd=2; pi=3.1415927; module tap(){ render() difference(){ union(){ rotate(360/24) rotate_extrude($fn=12){ polygon([[5,0],[45/2,0],[57/2,30],[45/2,40],[5,40]]); } cylinder(d=15,h=40, $fn=6); } for(...
glb/cad_b41e22dc367c.glb
Create a vacuum cleaner nozzle attachment that transitions from a circular base to a thin rectangular tip. Start by creating a hollow cylinder with an inner diameter of 50mm, an outer diameter of 54mm, and a height of 90mm. From this cylindrical base, extend the walls upward to form a rectangular opening at the top. Th...
innerRadius = 25; wallThickness = 2; nozzleWidth = 40; nozzleHeight = 7; difference() { union() { translate([0,0,0])cylinder(25, innerRadius+wallThickness, innerRadius+wallThickness, false, $fn = 100); hull() { translate([0,0,20])cylinder(25, innerRadius+wallThickness, innerRadius+wallThic...
glb/cad_cdd5ad539d4f.glb
Create a pocket hole jig consisting of a main block with angled guide holes. Start with a rectangular base that is 30mm deep. On the top surface, create a guide section with a width of 60mm and a height of 25mm. Integrate two parallel guide holes, each with a diameter of 10mm, spaced 20mm apart center-to-center. Thes...
holeAngle = 22; holeSize = 10; holeDepth = 30; numberOfHoles = 2; holeSpacing = 20; edgeSpacing = 25; edge = edgeSpacing/100; width = (numberOfHoles - 1)*holeSpacing + holeSize + 2*edge*holeSize; offsetWidth = -edge*holeSize - holeSize/2; guideHeight = (1+2*edge)*holeSize; baseHe...
glb/cad_999db259aa8a.glb
Create a multirotor motor mount designed to secure a motor to a cylindrical boom. Start by forming a main body that is a hull encompassing a circular motor plate with a diameter of 32mm and a thickness of 5mm, a sphere with a diameter of 20mm at the rear, and a central shell block measuring 26mm by 20mm by 20mm. From...
Motor_Bolt_X_spacing = 16; Motor_Bolt_Y_spacing = 19; Screw_Size = 3; Plate_Thickness = 5; Plate_Diameter = 32; arm_outside_diameter = 13; Shell_OD = 20; $fs = 0.2; Plate_Radius = Plate_Diameter/2; difference() { hull() { difference() { translate([3,0,11]) cube([26,Shell_OD,Shell_OD],true)...
glb/cad_3e2b4c7d0ccb.glb
Create a box corner connector by starting with a solid cube that is 13mm on all sides. From this cube, remove three identical intersecting channels to accommodate hexagonal nuts and bolts. Each channel consists of a central cylindrical hole with a diameter of 3.1mm and two hexagonal recesses at each end of the cylinder...
cube_size = 13; nut_size = 5.5; nut_diameter = 3; nut_height = 2.6; nut_sinks_on_all_sides = 0; epsilon = 0.1; fn = 30; difference() { cube(cube_size, cube_size, cube_size); translate([cube_size / 3, 0, cube_size / 3]) { rotate([-90, 0, 0]) { translate([0, 0, cube_size]) h...
glb/cad_faf43c036ba9.glb
Create a Drill Handle consisting of two main components: a handle and a drill holder. First, create the handle. Start with a revolved profile that forms a cylindrical body with a height of 50mm and a diameter of 31mm. The outer surface features 10 evenly spaced vertical grip indentations. The top and bottom edges are ...
part = 0; DrillDiameter = 3; HandleHeight = 50; EdgeRadius = 6; EdgeHeight = 5; ExploseDistance = 30; SectionView = 1; ScrewDiameter = 3.2; HolderThickness = 7; HandleDiameter = DrillDiameter+4*HolderThickness; HolderDiameter = 2*HolderThickness+DrillDiameter; HolderHeight = HandleHeight-1.25*HolderThickness-1.25*...
glb/cad_cc71865365b7.glb
Create a VMR Rotational Switch consisting of a central hub and radiating spokes. For a single unit, start by creating a central cylinder with a radius of 5.5mm and a height of 16mm. Remove a concentric cylindrical hole from the center with a radius of 3.5mm that passes completely through the hub. Add three rectangula...
outer_diameter=50; wall_thickness=2; thickness=5; spokes=3; spoke_thickness=16; spoke_width=3; hub_thickness=16; axle=7; number_x=4; number_y=2; $fn=200; module wheel() { difference() { union() { cylinder(r=axle/2+wall_thickness, h=hub_thickness ); for (i=[0:spokes-1]) { rotate([0,0,(360/spokes)*i]) translate([...
glb/cad_1b7e0d2a5c00.glb
Create two mirrored power supply mounting brackets. Each bracket is based on a central block measuring 35mm in length, 15mm in height, and 24mm in width. For the first bracket type, create a block 35mm x 6mm x 15mm. Center it and remove a cylindrical hole with a radius of 2mm and a height of 21mm, passing through the...
translate([20, 25,0]) psu_bracket_one_side(); translate([20, 0, 0]) psu_bracket_other_side(); mirror([1,0,0]) { translate([20, 25,0]) psu_bracket_one_side(); translate([20, 0, 0]) psu_bracket_other_side(); } module psu_bracket_one_side() { $rod_r=4; $holespacing=23.5; $wide=6; difference() { ...
glb/cad_11bcfbab90a2.glb
Create a hollow rectangular enclosure with rounded corners and a consistent wall thickness of 0.5mm. The outer dimensions of the box should be 40mm in length, 5mm in height, and 20mm in width. All exterior corners and edges must be rounded with a radius of 1mm. To form the interior cavity, create a smaller rounded rect...
rad=1; res=20; lg=40; hg=5; wd=20; tk=0.5; difference(){ hull(){ sphere(rad,$fn=res); translate([lg,0,0]) sphere(rad,$fn=res); translate([lg,hg,0]) sphere(rad,$fn=res); translate([0,hg,0]) sphere(rad,$fn=res); translate([0,0,wd]) sphere(rad,$fn=res); translate([lg,0,wd]) sphere(rad,$fn=res); translat...
glb/cad_9798ee66fd06.glb
Create a heart-shaped bead with a diameter of 0.5mm and a height of 0.1875mm. The overall form should be a heart extruded to the specified height, with the edges rounded to fit within a sphere of the same 0.5mm diameter. Center a cylindrical hole through the bead along the X-axis. The hole must have a diameter of 0.0...
diameter_of_bead = .5; height_of_bead = .1875; diameter_of_hole = .0625; axis_hole_is_on = 2; ignore_error_messages = 2; bead_shape = 9; resoultion = 40; rounded_center =1; number_of_Colors = 1; units_entered = 25.4; desired_units_for_output = 1; unit_conversion_factor = units_entered*desired_units_for_output; ...
glb/cad_9b3714a9dbcc.glb
Create a case for a 4.3" HDMI touchscreen. The main body is a rectangular shell with outer dimensions of 66mm by 116.65mm and a height of approximately 10mm. The top surface features a large central rectangular cutout measuring 40.7mm by 76.7mm with a depth of 5.05mm. Within the remaining top border, create a series ...
include <../libraries/Libs.scad>; displayMode= 0; module dif() { difference(){ translate([0,0,-1.552])cube([66,116.65,10]); translate([1.2,1.45,-1.552])htc(); translate([2.95,13,-1.54])roundRect([60,101,11],round=5); translate([2.95,12.95,-1.4])cube([60,96,4]); translate([50,8,1.04]){ hex(5.5, 6); cylinder...
glb/cad_8445d95c40e7.glb
Create a Three Headed Toothbrush Holder consisting of three identical holding units arranged in a row. For each unit, start with a rectangular base measuring 25mm by 25mm with a height of 8mm. At the center of this base, create a hollow cylindrical ring with an outer radius of 12.5mm and an inner radius of 10.5mm, reac...
post_width = 6; post_length = 4; post_height = 15; base_width = 25; base_length = 25; base_height = 8; base_flare = 1.750; holder(); translate([0,base_length,0]) holder(); translate([0,base_length*2,0]) holder(); module holder() { difference() { cube([post_width,post_length,post_height*1.25]); translate([1,1,0]) ...
glb/cad_e6fe02aaab44.glb
Create a Parametric Helical Darrieus Vertical Axis Wind Turbine consisting of a central shaft and three helical blades. The overall assembly is based on a total length of 80mm, a blade width (base) of 37mm, and a radius of 50mm. First, define the blade profile using a NACA 4-digit airfoil. Hollow out the interior of t...
include <mcad\metric_fastners.scad> use <naca4.scad> module aerofoil(){ difference(){ airfoil(0,0,20); difference(){ translate([.04,0,0]) scale([.8,.8,1.1]) airfoil(0,0,20); difference(){ union(){ translate([.25,-0.09,-.5]) square([.02,.18]); translate([.04,-.01,-.5])...
glb/cad_a047b40002c9.glb
Create a cutlery handle designed to hold a fork or spoon. The main body is a hexagonal prism with a radius of 15mm and a total length of 120mm, which is twisted by 60 degrees along its longitudinal axis. At both ends of the handle, 10mm from the tips, create a recessed ring (a wedge-shaped groove) with an outer width...
LENGTH = 120; RADIUS = 15; TIP_LENGTH = 5; RUBBERBAND_OFFSET = 10; RUBBERBAND_WIDTH_OUTER = 6; RUBBERBAND_WIDTH_INNER = 0.6; RUBBERBAND_DEPTH = 3; FORK_WIDTH_1 = 8; FORK_WIDTH_2 = 19.5; FORK_BASE_LENGTH = 98; FORK_MID_LENGTH = 9; FORK_MID_ANGLE = 6; FORK_TIP_LENGTH = 9; FORK_TIP_ANGLE = 13; FORK_THICKNESS = 3; CONNECTO...
glb/cad_3724bf08f2bf.glb
Create an Afromini bracket for a Tarot TL250/TL280. Start by creating a main base plate with a thickness of 1mm. On this plate, construct a central receiver housing. For a FRSKY D4FR receiver, the housing should be a rectangular block measuring 26.31mm in length, 18.74mm in width, and 1mm in height, centered on the p...
$fn = 40; FRSKY_D4FR = [1, 26, 18, 5+1.5, 47, 25]; FRSKY_D4R = [2, 31, 23.0, 7, 47, 25]; FRSKY_V8R4 = [3, 29.5, 19.2, 8, 47, 25]; function is_FRSKY_D4FR() = receiver_type[0] == FRSKY_D4FR[0]; function is_FRSKY_D4R() = receiver_type[0] == FRSKY_D4R[0]; function is_FRSKY_V8R4() = receiver...
glb/cad_a3548fc7508c.glb
Create a transmitter bracket for an Eachine transmitter. Start with a central rectangular base plate measuring 35mm in length, 27mm in width, and 1.5mm in thickness. At the outer edges of the length (at x = ±17.5mm), add two vertical cylindrical mounting posts with a diameter of 5.5mm and a height of 6mm. Additionall...
$fn = 40; show_module = 0; module antenna() { translate([-19.5/2, 0, 0]) rotate([0, 90, 0]) cylinder(d=9.9, h=19.5, center=true); translate([-24, 0, -9.9/2]) { hull() { translate([0, 0, 0]) cylinder(d=9.8, center=true); translate([0, 0, 87]) cylinder(d=8, center=true); } translate([0, 0, 87]) sphere(d=8...
glb/cad_8ff953c38ca8.glb
Create a Boscam transmitter bracket for a Tarot TL250/TL280. The main body is a rectangular base plate measuring 42mm in length and 25mm in width with a thickness of 1.5mm. At the four corners of the base plate, create four cylindrical mounting posts with a diameter of 5.5mm and a height of 12.5mm. In the center of...
$fn = 40; show_module = 0; module antenna() { translate([-19.5/2, 0, 0]) rotate([0, 90, 0]) cylinder(d=9.9, h=19.5, center=true); translate([-24, 0, -9.9/2]) { hull() { translate([0, 0, 0]) cylinder(d=9.8, center=true); translate([0, 0, 87]) cylinder(d=8, center=true); } translate([0, 0, 87]) sphere(d=8...
glb/cad_db6782223999.glb
Create a 12mm wrench consisting of a handle and a gripping head. Form the handle as a rectangular prism measuring 9mm wide, 101mm long, and 5mm thick, positioned so its center aligns with the head. For the head, create a cylinder with a radius of 11mm and a height of 5mm. To create the wrench opening, remove a rectangu...
$fn = 30; translate ([-5, 9, 0]) cube ([9, 101, 5]); difference (){ cylinder (h=5, r=11); translate ([-6, -12, 0]) cube ([12, 13, 7]) ; }
glb/cad_48dc109933c8.glb
Create a 13 mm wrench by starting with a rectangular handle measuring 10.2 mm in length, 2 mm in width, and 0.5 mm in height, centered on the origin. At one end of the handle, centered at coordinates -1.8, 1, 0, add a cylinder with a radius of 0.5 mm and a height of 2.1 mm. Inside this cylinder, create a hexagonal hole...
cube ([10.2, 2, 0.5], center); translate ([-1.8, 1, 0]) difference(){ cylinder (0.5, 2.1, 2.1, $fn = 50); translate ([0, 0, -0.2]) cylinder (0.9, 1.3, 1.3 , $fn = 6); }
glb/cad_9906016c09d8.glb
Create a Makerbot Filament Endcap designed to hold an 8mm shaft. Start by creating a main circular flange with a radius of 30mm and a thickness of 3mm. Centered through this flange, create a vertical bore hole with a radius of 4.6mm. At the bottom face of the flange, add a small chamfer to the bore hole that transition...
use <partial_rotate_extrude.scad> bore = 9.2/2; flange_thickness = 3; hook_height = 10; flange_radius = 60/2; hook_od = 53/2; lighten_hole_radius = 9; lighten_translate_radius = flange_radius - lighten_hole_radius - 2; difference() { difference() { difference() { union() { cylinder(h=flange_thickness, r = flange...
glb/cad_1f9a1afaad8a.glb
Create a calibration plate for a 200mm bed by constructing a series of thin plates, all with a height of 0.4mm. Start with a primary square base measuring 160mm by 160mm. From this base, remove a central square area of 140mm by 140mm, positioned 10mm from each edge, and remove four smaller 30mm by 30mm squares from the...
union() { difference() { color("white") cube([160,160,0.4]); cube([30,30,0.4]); translate([10,10,0]) cube([140,140,0.4]); translate([130, 0, 0]) cube([30,30,0.4]); translate([0, 130, 0]) cube([30,30,0.4]); translate([130, 130, 0]) cube([30,30,0.4]); } color("red") { union() { cube([25,25,0.4]); ...
glb/cad_0a03d3f98ce1.glb
Create a Stick-up-able Hook consisting of a flat rectangular mounting panel and a protruding hook. Start by creating the mounting panel as a rectangular prism with a width of 44mm, a height of 37mm, and a thickness of 2.5mm. Attached to this panel is a hook that curves outward and then back toward the panel. The hook...
include <bezier.scad> tesa_w=21; tesa_h=35; w=tesa_w*2+2; h=tesa_h+2; t=2.5; hw=10; hl=30; hd=25; module hook(l,w,d) { BezCubicRibbon([[0,0],[d*0.5, l*0.2],[d*0.25,l*0.5], [0,l]], [[d,0],[d*0.95,l*0.3],[d*0.75,l*0.7],[d/4,l]],50,w); translate([d/8,l,0]) cylinder(h=w,r=d/8,$f...
glb/cad_622be8d6f638.glb