Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a LED PAR64 Floorspot clip by starting with a rectangular base measuring 20mm wide, 120mm long, and 5mm high. Centered along the length of this base, add two smaller rectangular blocks that extend the width. Each of these blocks should be 20mm wide, 10mm long, and 5mm high. Position the first block so its inner ...
foot_width = 20; foot_height = 5; foot_length = 120; bar_width = 33; bar_height = 4; module foot() { difference() { union() { cube([foot_width,foot_length,foot_height]); translate([0,foot_length/2+bar_width/2-bar_height/4,bar_height]) cube([foot_width,10,foot_height]); translate([0,foot_length/2-(bar_widt...
glb/cad_15d92e89a4c8.glb
Create a two-part street number sign consisting of a base layer and an upper background layer. For the base layer, create an oval by scaling a 150mm diameter circle by 1.5 in the x-axis and 1 in the y-axis, with a thickness of 6mm centered on the z-axis. Subtract a smaller oval from the center, created by scaling a 1...
part = "Base"; number="11"; n=str(number); print_part(); module print_part() { if (part == "Base") { base(); } else if (part == "Upper") { upper(); } } module base() { difference() { color( "white", 1 ) { linear_extrude(height = 6, center = true, convexity = 10, twist = 0) ...
glb/cad_cb92ed808b51.glb
Create a vertical bearing holder for a Prusa i3 printer. Start by creating a main body that is a combination of a cylinder and a rectangular block. The base geometry is a cylinder with a height of 58mm and a radius of approximately 9.4mm (calculated as half of the bearing size plus wall thickness). This cylinder is enc...
bearing_diameter = 15+0.9; module horizontal_bearing_base(bearings=1){ translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true); } module horizontal_bearing_base2(){ translate(v=[0,0,6]) cube(size = [24,8+45,12], center = true); } module horizontal_bearing_holes(bearings=1){ cutter_lenght = 10+beari...
glb/cad_8f879db261a8.glb
Create a Prusa i3 X-end carriage by starting with a main rectangular block measuring 17mm wide, 39mm deep, and 58mm high. Within this block, create two vertical holes for bearings. Additionally, carve out a central rectangular slot measuring 10mm wide, 46mm deep, and 28mm high. To refine the edges of this slot, remov...
use <bearing.scad> rod_distance = 45; module x_end_base(){ height = 58; translate(v=[-15,-9,height/2]) cube(size = [17,39,height], center = true); vertical_bearing_base(); translate(v=[-2-2,-17,4]) cube(size = [8,16,8], center = true); translate(v=[0,-17,0]) rotate([0,0,30]) cylinder(h = 8, r=8, $fn = 6); } mod...
glb/cad_21c75e8ca19e.glb
Create a Y idler for a 3D printer by constructing a base and removing specific holes. Start with a base composed of two cylinders, each with a radius of 8mm and a height of 19mm, positioned 20mm apart center-to-center along the y-axis. Connect these cylinders with a central rectangular block measuring 16mm wide, 20mm d...
module y_idler_base(){ translate(v = [0,0,0]) cylinder(h = 19, r=8); translate(v = [0,20,0]) cylinder(h = 19, r=8); translate(v = [0,10,9.5]) cube(size = [16,20,19], center=true); translate(v = [-4,10,9.5]) cube(size = [8,16+20,19], center=true); } module y_idler_holes(){ translate(v = [0,0,-1]) cylinder(h = 120,...
glb/cad_37c1df2fe0d1.glb
Create a Prusa i3 Y-frame corner bracket. Start with a solid rectangular base measuring 18mm wide, 22mm deep, and 47mm high. Remove three primary cylindrical holes from this block: two holes with a radius of 4.4mm passing through the center of the 18mm faces, positioned at heights of 10mm and 30mm; and one hole with ...
module corner_base(){ translate([-9,-11,0])cube([18,22,47]); } module corner_holes(){ translate([-11,-11,0]){ translate([0,11,10]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h = 270, r=4.4, $fn=30); translate([0,11,30]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h = 270, r=4.4, $fn=30); translate([11,...
glb/cad_d13e54a876c7.glb
Create a Y motor mount for a 3D printer. Start with a base that consists of a central rectangular block measuring 9mm by 31mm by 10mm, centered at [29, 29, 0]. Attach two cylindrical pillars to the sides of this block, each with a radius of 5.5mm and a height of 10mm, positioned at [-15.5, -15.5, 0] and [-15.5, 15.5, 0...
module y_motor_base(){ translate(v = [29,-21+50,0]){ translate(v = [-21+4.5,0,5]) cube(size = [9,31,10], center=true); translate(v = [-15.5,-15.5,0]) cylinder(h = 10, r=5.5); translate(v = [-15.5,+15.5,0]) cylinder(h = 10, r=5.5); translate(v = [-29,-21,0]) cube(size = [14,30,10]); } translate(v = [0,10,0...
glb/cad_4872d400e298.glb
Create a Z axis top holder for a 3D printer. Start with a base composed of three joined rectangular blocks: one measuring 8x45x16mm, one 30x5x12mm, and one 38x15x5mm, all aligned to form the primary support structure. Carve out the geometry by removing several rotated cubes to create chamfered edges and corner cutout...
module z_top_base(){ translate([0,-5,0]) cube([8,45,16]); translate([0,-5,0]) cube([30,5.01,12]); translate([0,-5,0]) cube([38,15,5]); } module z_top_fancy(){ translate([0.5,0.5,0]) rotate([0,0,-45-180]) translate([-15,0,-1]) cube([30,30,51]); translate([0.5,40-0.5,0]) rotate([0,0,-45+90]) translate([-15,0,-1]) ...
glb/cad_1b4e9dc46352.glb
Create a Z axis bottom holder for a 3D printer. Start by constructing a base composed of three overlapping rectangular blocks: one measuring 8x40x41mm, one measuring 30x5x22mm, and one measuring 50x15x5mm, all aligned to form a solid foundation. From this base, remove several geometric sections to create cutouts. Carv...
module z_bottom_base(){ translate([0,0,0]) cube([8,40,16+25]); translate([0,-5,0]) cube([30,5.01,22]); translate([0,-5,0]) cube([50,15,5]); translate([0,-5,0]) cube([18,50,5]); } module z_bottom_fancy(){ translate([0.5,-2.5,0]) rotate([0,0,-45-180]) translate([-15,0,-1]) cube([30,30,51]); translate([0.5,40-0.5,...
glb/cad_b5b8930a78c4.glb
Create a Y belt holder for a 3D printer. Start with a base composed of two rectangular blocks: one measuring 33mm by 15mm by 16mm and a second 33mm by 15mm by 16mm block positioned immediately adjacent to it, combined with a third rectangular section measuring 50mm by 4mm by 16mm extending from the side. Carve a cent...
belt_size=2; module belt_holder_base(){ translate([-33-8.5,0,-1]) cube([33,15,16]); translate([-33-8.5,11,-1]) cube([33,15,16]); translate([-50,22,-1]) cube([50,4,16]); } module belt_holder_beltcut(){ position_tweak=-0.2; translate([-66,-0.5+10,3]) cube([67,1+0.2,15]); translate([-66,-0.5+10,12]) rotate([45,0...
glb/cad_8d4ed1e8d3c1.glb
Create a NEMA 17 extruder big gear. Start by constructing a gear with 24 teeth, a circular pitch of 335mm, a rim thickness of 5mm, and a central bore diameter of 4.8mm. Centered on this gear, add a hexagonal prism with a flat-to-flat width of 9.5mm and a height of 6mm, positioned 4mm above the base. Finally, remove a c...
include <external_gear_script.scad>; module big_gear() { translate ([0,0,0]) difference(){ union(){ gear ( number_of_teeth=24, circular_pitch=335, rim_thickness=5, bore_diameter=4.8); translate ([0,0,4]) cylinder(r=19/2, h=6, $fn=6);} translate ([0,0,4]) cylinder(r=(9+1.4)/2, h=7, $fn=6); transla...
glb/cad_44b9fda6ad1f.glb
Create a NEMA 17 extruder idler by starting with a solid rectangular base measuring 24.5mm in width, 42mm in depth, and 11mm in height. From this base, remove a central rectangular cutout that is 11mm wide, 23mm deep, and 25mm high, centered at x=12mm and y=21mm. Within this central void, create a horizontal cylindri...
module extruder_idler_base(){ translate([0.25,0,0]) cube([24,42,8+3]); } module extruder_idler_holes(){ translate([12,21,0]){ cube([11,23,25], center= true); translate([-12,0,4.1+2])rotate([0,90,0])cylinder(r=4.1, h=24); translate([7,16,-1])cylinder(r=2.2, h=24, $fn=20); translate([-7,16,-1])cylinder(r=2...
glb/cad_5ef64b6ef23b.glb
Create an X carriage for a 3D printer. Start with a base composed of two horizontal bearing holders: one small holder positioned at x=-16.5, y=2, z=0 and a larger one positioned at x=-16.5, y=47, z=0. Connect these with a central belt holder block measuring 39mm by 16mm by 17mm, centered at x=-36, y=20, z=0. Add a base...
x_rod_distance = 45; use <inc/bearing.scad> belt_tooth_distance=2; module x_carriage_base(){ translate([-33/2,+2,0]) rotate([0,0,90]) horizontal_bearing_base(1); hull(){ translate([-33/2,x_rod_distance+2,0]) rotate([0,0,90]) horizontal_bearing_base(2); translate([-36,20,0]) cube([39,16,17]); } tr...
glb/cad_d637a8d50071.glb
Create a belt guide for a 624 bearing. Start by constructing a main cylindrical body with a radius of 7.8mm and a height of 4.8mm. At the base of this cylinder, add a wider, thinner cylindrical flange with a radius of 7.8mm and a height of 0.95mm. To create the central opening, remove a cylinder from the center of the ...
wall= 1.2; clearence= 0.1; module belt_guide_base(){ cylinder(r=6.5+wall+clearence, h=5-0.2, $fn=50); cylinder(r=6.5+wall+clearence+2*wall, h=0.95, $fn=50); } module belt_guide_holes(){ translate([0,0,2]) cylinder(r=5.1+clearence, h=10, $fn=50); translate([0,0,-1]) cylinder(r=5+wall+clearence-2*wall, h=10, $fn=50...
glb/cad_0c0028e18702.glb
Create a motor mount for a Prusa i3 X-axis end. Start with a base block that incorporates a central rectangular section measuring 17mm by 53mm by 44mm (plus an additional 9mm of clearance for the frame). From this base, remove a central rectangular slot measuring 10mm by 46mm by 22mm to accommodate the belt. Create f...
use <x-end.scad> module x_end_motor_base(extra_clearance){ x_end_base(); translate(v=[-15,31,26.5]) cube(size = [17,44+extra_clearance*1.8,53], center = true); } module x_end_motor_holes(extra_clearance){ x_end_holes(); translate(v=[-1,32+extra_clearance,30.25]){ translate(v=[-14,1-extra_clearance,0]) cube(si...
glb/cad_76471e1b0e2c.glb
Create a Garage Door Open Sensor bracket. Start by constructing a rectangular base plate 35mm wide, 15mm high, and 5mm thick. Round the edges of this plate using a 2.5mm radius. On this plate, create two vertical holes with a diameter of 4mm, spaced 10mm apart. Attached to the side of this plate, create a semi-circul...
$fn=50; spirals = 1; a = 0.07; incrementBy = 10; height = 5; wallThickness = 15; render(convexity = 2) difference(){ union(){ for(i=[0:360/spirals:360]) rotate([0,0,i]) for(t=[0:incrementBy:200]) hull(){ translate([a*t*cos(t),a*t*sin(t),0]) cylinder(r=wallThickness/2,h=height); tra...
glb/cad_f5cb2cbb72bd.glb
Create a T-nut for v-slot extrusions. Start with a main rectangular block that is 10mm wide, 20mm long, and 4mm high. On the bottom of the block, create a centered rectangular inset (bezel) that is 6mm wide (leaving a 2mm margin on each side) and runs the full length of the block. At the center of the top face, crea...
length=20; holes=1; holesize=3; spacing=10; sink=2.5; height=4; width=10; bezel=2; base=0; nutsides=6; nutsize=6.25; nutrotation=30; $fn=12; module rotate_axis(axis, d) { rotate(list_for_axis(axis, d)) children(); } module xrotate(d) { rotate_axis("x", d) children(); } module yrotate(d) { rot...
glb/cad_0d2b086ef269.glb
Create a metric button with a diameter of 20.56mm and a thickness of 3mm. The main body is a cylinder with a concave top and bottom surface, achieved by removing a spherical cap from each side. The spherical cutout should have a diameter of 16.56mm (the total diameter minus a 2mm lip on each side) and a height scaled t...
diameter=20.56; thickness=3; liptype=0; lipsize=2; holecount=4; holespacing=6; flatness=-1; difference(){ union(){ cylinder(d=diameter,h=thickness,center=true,$fn=64); if(flatness==1){ translate([0,0,thickness/2]) scale([1,1,1/diameter*thickness*2]) sphere(d=diameter-lipsize*2,$fn=64); } } for(i=[1:holecoun...
glb/cad_a05e3a48d8e3.glb
Create a parametric button with a diameter of 20.48mm (calculated from 32 ligne) and a thickness of 3mm. The main body is a cylinder with a 64-facet resolution. To create the concave face, remove a spherical cap from the top of the cylinder; this sphere should have a diameter of 16.48mm and be scaled vertically to a he...
ligne=32; thickness=3; liptype=0; lipsize=2; holecount=4; holespacing=6; flatness=-1; difference(){ union(){ cylinder(d=ligne/40*25.7,h=thickness,center=true,$fn=64); if(flatness==1){ translate([0,0,thickness/2]) scale([1,1,1/ligne*thickness*3]) sphere(d=ligne/40*25.7-lipsize*2,$fn=64); } } for(i=[1:holecou...
glb/cad_737e1bf836fe.glb
Create a RAMPS 1.4 Cable Manager consisting of a base plate with integrated cable tracks. Start with a base plate 2mm thick. The base features three main sections: a North track running East-West and two tracks (West and East) running North-South. These base sections are characterized by a hexagonal cutout pattern with...
column_height = 22; column_width = 15; column_depth = 2; column_spaceing = 15; top_angle = 50; base_height = 2; track_width = 15; tolerance = 0.05; mega_width = 53.34; mega_height = 101.6; ramps_tolerance = 3; ramps_width = 61 + ramps_tolerance * 2; ramps_height = mega_height + ramps_tolerance; N_COLUMNS_WE = floor...
glb/cad_c7d6950c3988.glb
Create a Tap or Drill Block by starting with a solid cylinder that has a radius of 30mm and a height of 30mm, centered on the origin. Remove nine smaller cylindrical holes from this block, arranged in a circular pattern with a radius of 20mm from the center. These nine holes should be spaced equally every 40 degrees ar...
nHoles = 9; rBlock = 30; rHoles = 20; tBlock = 30; rMin = 1; rMax = 5; rStep = (rMax-rMin)/(nHoles-1); sepHoles = 360 / nHoles; difference() { cylinder(tBlock, rBlock, rBlock, center = true); union() { for (i = [1:nHoles]) { assign (angle = i*360/nHoles, distance = rHoles, r = (i-1) * rStep + rM...
glb/cad_d0d29e469596.glb
Create a Dolica Tripod Quick Release Base by starting with a central rectangular block measuring 40.35mm in width, 39.3mm in depth, and 9mm in height. Center this block on all axes. To shape the top, remove two wedge-shaped sections from the upper half of the block. Each wedge should be 44.35mm wide (extending slightly...
dim_x = 40.35; dim_y = 39.3; dim_y2 = 32.375; dim_z = 3; dim_z2 = 9; translate([0,0,dim_z2/2]){ difference(){ translate([0,0,dim_z2/2-dim_z]){ cube([dim_x,dim_y,dim_z2],true); } translate([-(dim_x+4)/2,(dim_y/2),0]){ rotate([30,0,0]){ #cube([dim_x+4,10,10]);...
glb/cad_385793635e03.glb
Create a Hard Hat Insert consisting of a personalized text plate attached to a mounting tab. First, construct the mounting tab. Create a base rectangular block 28mm wide, 16mm deep, and 2.75mm thick. Add a small rectangular extension of 28mm by 1mm at the front. At the two rear corners, add cylinders with a radius of...
line1 = ""; line2 = ""; line3 = ""; line4 = "Edmundo"; FontName="Orbitron"; FontSize = 10; FontSpace = 1; FontExtrude = 3; LineSpace = 1.1; stlortext = "text"; stlfile = "koss_insert.stl"; stlshift = [0,9,0]; stlscale = [1,1,1]; stlrotate = [0,0,0]; tabX = 28; tabY = 16; tabZ = 2.75; tabHead = 1; tabClip ...
glb/cad_8027469b89f6.glb
Create a medal support stand designed for a medal with a diameter of 106.6mm and an edge thickness of 5mm. Start by constructing a rectangular base platform. The base should be 80mm wide (1.5 times the medal radius) and 15mm deep (3 times the medal edge thickness), with a total height of 1mm (0.25 times the support b...
$fa=0.5; $fs=0.4; medal_diameter=106.6; medal_edge=5; suport_base=4; suport_wall=2; medal_radius=medal_diameter*0.5; module model_medal(medal_r,medal_e) { cylinder(r=medal_r,h=medal_e); } module support_figure(medal_r,medal_e) { translate([0,-medal_e*0.5,0]) hull() { translate([-medal_r*0.15*0.5,-medal_e*0....
glb/cad_7cfed3041819.glb
Create a power supply cover and stand consisting of a lid and a base. The lid is formed by a rectangular plate measuring 54mm by 117mm with a thickness of 8mm. This plate is composed of a main base layer 2mm thick and a raised central section 6mm thick, measuring 48mm by 113mm. A vertical cylindrical hole with a diamet...
include <../../includes/jshapes.scad> t=2; w1=113+2; w2=w1+t*2; h1=76; h2=39+9*2; h3=76-39; d1=50+2; d2=d1+t*2; hd=4; ec_offset=13; ech1=18; module lid () { color("brown"){ difference() { union() { translate([d2+2+t*1.5,t*1.5,h2-t*3]){cube([d1-t*3,w1-t,t*4]);}; translate([d2+2...
glb/cad_8b5c27a93d57.glb
Create a Filament Trash Lid for a regular-mouthed mason jar. Start by creating a flat, circular ring with an outer diameter of 69.5mm and a thickness of 1.6mm. The ring should have a wall thickness of 3mm. On the top surface of the ring, add a central circular disk with a height of 0.6mm. From the center of this disk,...
$fn = 100; print_tolerance = 0.5; regular = 1; regular_d = 70; wide_mouth_d = 86; outer_band_w = 3; opening_w = 20; points = 20; star_h = 0.6; h = 1.6; trim_tips_d = 8; module Star(points, outer, inner) { function x(r, a) = r * cos(a); function y(r, a) = r * sin(a); increment = 360/points; union() { for ...
glb/cad_200c93ff085b.glb
Create a construction brick with a base measuring 34.1mm in length, 23.6mm in width, and 3.8mm in height. The base is a rectangular slab with a hollowed-out center, leaving a wall thickness of 1.45mm around the perimeter. On the top surface, place a grid of 8 cylindrical knobs arranged in 2 rows of 4. Each knob must h...
Block_Width = 4; Block_Length = 2; Block_Height = 0.4; Knob_Diameter = 5.0; block(Block_Length,Block_Width,Block_Height,Knob_Diameter,axle_hole=false,reinforcement=true); module block(width,length,height,knob_diameter,axle_hole,reinforcement, ) { overall_length=(length-1)*8+4.8+1.45*2; overall_width=(width-1)*8+...
glb/cad_10eb1ffa5be3.glb
Create a Bearing Generator consisting of an outer ring, an inner ring, and several spherical ball bearings. Construct the outer ring as a cylinder with a diameter of 22mm and a height of 7mm. Hollow out the center with a cylinder of 17mm diameter. Apply a 1mm fillet to the top and bottom outer edges. Construct the i...
outerDiameter = 22; innerDiameter = 8; outerRingThickness = 5; innerRingThickness = 4; height = 7; ballEngageAmount = 1.5; ballCount = 8; ballTolerance = 0.5; genPlaceHolder = false; filletOuterRing = true; filletInnerRing = false; filletAmount = 1; facetsRings = 25; facetsBalls = 25; facetsRaces = 25; bal...
glb/cad_4aacd0862b76.glb
Create a double-sided luggage label consisting of a rectangular plate with a thickness of 2mm and rounded corners with a radius of 3mm. On the left side of the plate, center a vertical slot for a strap that is 12mm long and 4mm wide, featuring rounded ends. On the front face, add embossed text with a character height ...
use <write/Write.scad> line_1="Just enter"; line_2="name and"; line_3="address"; line_4=""; line_5=""; line_6=""; line_7=""; line_8=""; line_9=""; line_10=""; back_line_1="And also"; back_line_2="something"; back_line_3="on the back"; back_line_4=""; back_line_5=""; back_line_6=""; back_line_7=""; back_line_8=""; bac...
glb/cad_b52b6a2f54c5.glb
Create a 3D model of an i3 Y-Carriage 3-point adapter plate. Start with a main rectangular block measuring 30mm wide, 62mm long, and 5mm thick. Center a cylindrical hole with a diameter of 15mm through the block along its length, but truncate the cylinder's ends so it does not fully penetrate the top and bottom faces...
ziptie = 1; thickness = 5; ySpace = 56; spacerlength = 56+6; if(!ziptie) { snapin(); difference() { adapter(); lmu88_inner(); } } else { adapter(); } %translate([0,0,zshift]) rotate(90, [1,0,0]) cylinder(200,d=lmu88_dia-7,center=true); %lmu88_inner(); module adapter() { $fn=50; ...
glb/cad_8f28a47f4deb.glb
Create two identical shock absorber feet. For each foot, start with a main cylindrical base 50mm in diameter and 12mm high. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a 44mm diameter, leaving a 3mm thick outer wall. Within this base, place four small vertical cylinders, each...
printer_foot_width = 12.8+1+1; printer_foot_height = 6; printer_foot_length = 130.0; sa_base_default_diameter = 50; sa_base_default_height = printer_foot_height + 6; sa_base_border_width = 3; screw_d = 5; spring_d = 10; $fn = 50; module sa_base(diameter=sa_base_default_diameter,height=sa_base_default_height){ c...
glb/cad_5cd96bf61ee3.glb
Create a Nuki B-Plate Support with a total thickness of 9.5mm. The main body is composed of a cylinder with a radius of 25mm joined to a rectangular block. This block has a width of 54mm, a length of 66mm, and a thickness of 9.5mm, with its four corners rounded to a radius of 5mm. From this combined volume, remove a c...
$fs = 0.1; $fa = 3; rounded = 1; depth = 9.5; head_radius = 25; body_width = 54; body_length = 66; cutout_width = 31; cutout_length = 61; cutout_depth_offset = 0.4; screwhole_diameter = 12; screwhole_distance = 45; circular_cylindercase = 0; cylindercase_radius = 10; rotate([0,180,0]) difference () { ...
glb/cad_3014efb3db12.glb
Create a foldable spool consisting of two circular central plates and three foldable arms. First, create two identical central plates. Each plate is a cylinder with a diameter of 90mm and a thickness of 5mm. Remove a concentric inner cylinder with a diameter of 210mm (leaving a ring) and subtract three smaller holes ...
print=false; type="all"; $fn=30; tolerance=.2; spool_internal_diameter=210; central_internal_diameter=30; central_external_diameter=90; central_thinkness=5; screw_hole_diameter=3.4; arm_fixation_diameter=14; screw_hole_radius=central_external_diameter/2-arm_fixation_diameter/2; arm_thinkness=10; arm_fork_lenght=50; ...
glb/cad_cebc8d6e2f46.glb
Create a Mendel y-bar-clamp by starting with a central cube measuring 24mm x 24mm x 17.37mm. Remove a cylindrical hole with a radius of 4mm and a length of 30mm passing through the center of the cube along the X-axis. Create four vertical holes, each with a radius of 2.5mm and a length of 30mm, positioned at the corn...
nutTraps = 1; difference(){cube(size=[24,24,13.37+(nutTraps*4)],center=true); translate(v=[0,0,2.9+(nutTraps*2)])rotate(a=[90,0,0])cylinder(r=4, h=30, center=true); translate(v=[6,6,0])cylinder(r=2.5, h=30, center=true,$fn=8); translate(v=[-6,6,0])cylinder(r=2.5, h=30, center=true,$fn=8); translate(v=[6,-6,0])cylinder...
glb/cad_51c8fde51ff5.glb
Create a Customizable Supercapacitor Enclosure. Start with a solid rectangular base measuring 75.5mm in width (X), 107.5mm in depth (Y), and 90mm in height (Z). The walls are 9mm thick. Round the four exterior vertical corners with a radius of 9mm. Inside the enclosure, create a 2x3 grid of cylindrical holes to hold t...
cellSize = 32.5; cellHeight = 80; numberCellLength = 2; numberCellWidth = 3; height = 90; buffer = 3; xBankLength = 2*buffer + numberCellLength*cellSize; yBankLength = 2*buffer + numberCellWidth*cellSize; screwSize = 3.4; screwLength = 10; module constructBase(){ difference(){ cube([xBankLength, yBankLength, ...
glb/cad_ff5467d8fc8a.glb
Create a rectangular lid for a supercapacitor enclosure with overall dimensions of 71.5mm in length, 104mm in width, and 5mm in height. Round the four corners of the lid by removing a 9mm radius cylinder from each corner. At each of the four corners, centered 9mm from the edges, create a countersunk screw hole. Each h...
cellSize = 32.5; numberCellLength = 2; numberCellWidth = 3; height = 5; buffer = 3; xBankLength = 2*buffer + numberCellLength*cellSize; yBankLength = 2*buffer + numberCellWidth*cellSize; screwSize = 2.9; screwLength = 5; screwHeadLength = 3; screwHeadDiameter = 4.2; boltDiameter = 8; boltHeight = 10; boltHeadDiameter =...
glb/cad_6f49f1480ab9.glb
Create a component for a Non-Sucking 3D Printer by starting with a main body formed from the union of two shapes. First, create a hull that encompasses a centered cube of 50mm by 50mm by 5mm (with the center at 25, 25, 0) and a centered cube of 40mm by 40mm by 5mm positioned at a Z-offset of -89mm. To this, add a secon...
tolerance=0.5; difference(){ union(){ hull(){ difference(){ translate([5,5,-3]){cube([50,50,5],true);} translate([25,25,-3]){cube([11,11,5],true);} } translate([15,15,-89]){cube([40,40,5],true);} } hull(){ trans...
glb/cad_86281e04d4ae.glb
Create a camera lens extender stand consisting of three connected sections. Start with a base block 10mm long, 75mm wide, and 39mm high. From this first block, remove a horizontal cylinder with a radius of 34.5mm centered at a height of 37.5mm to create a semi-circular cradle. Attach a second, middle block that is 33...
diameter_1=65; length_1=10; diameter_2=71; length_2=33; diameter_3=58; length_3=10; length_margen=2; module main() { translate([0,0,10]) { box_height=diameter_2/2+(length_margen*2); box_width=diameter_2+(length_margen*2); difference() { cube(size=[length_1,box_width...
glb/cad_2597cb08c702.glb
Create a trampoline attachment by starting with a rectangular block 2mm wide, 3.8mm deep, and 4mm high. Center a vertical cylindrical hole with a diameter of 4mm through the block. Position a second vertical cylindrical hole with a diameter of 4mm at a distance of 4.3mm along the x-axis. To refine the shape, remove two...
$fn=100; difference() { translate([1.15,-1.9,-2]) { cube([2,3.8,4]); } cylinder(d=4, h=4.1, center=true); translate([4.3,0,0]) { cylinder(d=4, h=4.1, center=true); rotate([0, 90, 0]) cylinder(d=.8, h=40, center=true); } union () { translate([2.15,2,0]) cylinder(d=1.1, h=4.1, center=true); translate([2.15,-2,0]) cyli...
glb/cad_0de76d31bef5.glb
Create a Coin Holder by constructing a tall, thin-walled hollow cylinder. The outer shell should have a height of 70mm and an outer diameter of 28.5mm. Create a concentric inner hole with a diameter of 27.5mm that runs through the center, leaving a wall thickness of 0.5mm. To close the bottom of the container, add a so...
difference() { cylinder(70,14.25,14.25); cylinder(70,13.75,13.75); } cylinder(2,14.75,14.75);
glb/cad_2bd704b53d59.glb
Create a set of printer feet based on a scaled sphere. Start with a sphere of 30mm diameter, scaled by 1.0 in X, -0.5 in Y, and -0.6 in Z, then cut it in half with a horizontal plane to create a dome-like base. To create a normal foot, subtract a central rectangular slot for a steel bracket. This slot is 25mm wide an...
$fn=20; sd = 30; thick = 3.1; yh = 2.35; fillet_radius = 2; OrigFeetWidth = 25; mfd = 2.023; xs = 1 ; ys = -.5; zs = -.6; MakeOddLeftFoot(); MakeOddRightFoot(); MakeNormalFoot(); MakeGenericFoot(); MakeMakerLeftCornerFoot(); MakeMakerRightCornerFoot(); module MakeMakerLeftCornerFoot(){ translate([5, 30, ...
glb/cad_9972dcd4393c.glb
Create a tessellating square grid consisting of a 5 by 5 array of identical square tiles. Each tile is a square with a side length of 10mm and a thickness of 10mm. The tiles are arranged with a 2mm gap between them. To connect the tiles, add a hinge joint to each of the four sides of every square. Each hinge is a small...
size = 10; hinge_width = 3; gap = 2; echo("Effective joint width", sin(atan2(gap, size - hinge_width)) * hinge_width); n_x = 5; n_y = 5; linear_extrude(height = 10, twist = 0, $fn = 1000) tesselate(); module tesselate() { translate([-(size + gap) * (n_x - 1) / 2, -(size + gap) * (n_y - 1) / 2, 0]) for(i = ...
glb/cad_3da6c05e3e34.glb
Create a personalized comb by starting with a rectangular base measuring 140mm by 40mm with a thickness of 1.5mm. Round the two short ends of the base by adding semi-cylindrical caps with a radius of 20mm centered on the short edges. Cut 43 thin rectangular slots into the body of the comb, each 1.5mm wide and 70mm long...
use <write/Write.scad> text="Your Name"; kamm(text=text); module langloch(B=150,T=40,H=3) { translate(v=[0,0,H/2]) { cube(size=[B-T,T,H],center=true); } translate(v=[-B/2+T/2,0,0]) { cylinder(h=H,r=T/2); } translate(v=[B/2-T/2,0,0]) { cylinder(h=H,r=T/2); } } module kamm(B=150,T=40,H=1.5,tex...
glb/cad_4c0420079b9e.glb
Create a twisted vase with a total height of 150mm. The base is a 13-sided polygon with a radius of 50mm and a thickness of 3mm. The walls of the vase are 2mm thick. The main body of the vase is created by extruding the base polygon upward to a height of 137mm (total height minus the base and top sections). During thi...
filling = "no"; radius = 50; height = 150; sides = 13; thickness = 2; degree_twist = 90; number_slices = 3; distortion = 1.9; buttom = 3; top = 10; twisting = "yes"; perforating = "no"; lower = 5; upper = 5; hole_radius = 3; number_of_holes = 13; sides_holes = 8; row_distance = 1; inner_radius = radiu...
glb/cad_b5b50bab479b.glb
Create a Faceted Top Hat by constructing a vertically stacked geometric form. The overall dimensions of the final object must be 195mm in length, 160mm in width, and 200mm in height. Build the shape using three identical vertical segments. Each segment is created by intersecting two cylinders with a 13-sided polygona...
head_length=195; head_width=160; height=200; segments = 3; sides = 13; module segment(sides) { $fn=sides; long_side = 1/cos(180/sides); intersection(){ cylinder(d1=1,d2=long_side,h=.5); rotate([0,0,180/sides])cylinder(d1=long_side,d2=1,h=.5); } translate([0,0,.5])intersection(){ ...
glb/cad_7c9adca520f7.glb
Create a Soldering Fume Extractor mount by starting with a central rectangular base measuring 30mm by 28.6mm with a height of 2mm. On the top surface of this base, add four smaller rectangular blocks, each measuring 3mm by 3mm by 4mm. Position these blocks symmetrically: two on the left side at y-coordinates 6mm and -6...
use <gopro_mounts_mooncactus.scad> difference() { union() { cube([30,28.60,2], true); translate([-9, 6, 2]) {cube([3,3,4],true);} translate([9, 6, 2]) {cube([3,3,4],true);} translate([9, -6, 2]) {cube([3,3,4],true);} translate([-9, -6, 2]) {cube([3,3,4],true);} } tr...
glb/cad_695b33996f57.glb
Create a Soldering Fume Extractor base by constructing two stacked rectangular prisms. First, create a flat rectangular base measuring 27mm wide, 28.6mm deep, and 2mm high, centered on the origin. Directly on top of this base, center a second rectangular prism that is slightly smaller in width and depth but taller in h...
rotate([-90,0,0]){ cube([27,2,28.60],true); translate([1,-2,0]) { scale([0.926,0.9259, 0.8601]) { cube([27,2,28.60],true); } } }
glb/cad_32ec8d77f458.glb
Create a Soldering Fume Extractor housing. Start with a main rectangular block measuring 84mm in length, 27mm in width, and 28.6mm in height, centered on the origin. Hollow out the center of this block by removing a smaller rectangular volume of 80mm by 29.15mm by 28.6mm, scaled slightly to create thin walls. Cut a c...
module top() { difference() { cube([84,27,28.60],true); translate([0,-2,0]) { scale([1,0.9259, 0.8601]) { cube([80,29.15,28.60],true); } } } } module fan_hole() { intersection() { cube([80,80,29],true); cylinder(r = 41.5, h = 29, center =true); } } ...
glb/cad_a2fcc7bf8d9f.glb
Create a Soldering Fume Extractor housing by starting with a main rectangular block measuring 84mm wide, 27mm deep, and 28.6mm high, centered on the origin. Hollow out the center of this block by removing a smaller rectangular volume of 80mm by 29.15mm and 28.6mm high, and carve a cylindrical hole with a radius of 41.5...
module top() { difference() { cube([84,27,28.60],true); translate([0,-2,0]) { scale([1,0.9259, 0.8601]) { cube([80,29.15,28.60],true); } } } } module fan_hole() { intersection() { cube([80,80,29],true); cylinder(r = 41.5, h = 29, center =true); } } ...
glb/cad_265b4b2a5d32.glb
Create a wall mount wallet tray by first constructing a main backplate as a rectangular block measuring 10mm thick, 100mm wide, and 125mm high. From this backplate, remove a central rectangular section measuring 10mm by 90mm by 115mm to create a recessed pocket with a depth of 5mm. To allow for mounting, place two hole...
difference(){ translate([0,45,20]) rotate([0,0,90]) cube(size=[10,125,40],center = true); translate([40,42,20]) rotate([90,0,0]) cylinder(h=2.5, r1=1, r2=8.30/2, center=false,$fn=100); translate([40,55,20]) rotate([90,0,0]) cylinder(h=25, r1=3.70/2, r2=3.70/2, center=false,$fn=100); translate([-40,42,20...
glb/cad_959ac9632948.glb
Create a set of 12 puzzle pieces arranged in a 4-row by 3-column grid. Each piece is based on a cube with a side length of 15mm. For every piece, carve two intersecting slots through the center to allow a string to pass. One slot runs along the X-axis and the other along the Y-axis; both slots are 3mm wide and 8.5mm ...
eps1 = 0.01 + 0; eps2 = 2*eps1; rows = 4; columns = 3; end_pieces = 2; cube_size = 15; slot_width = 3; slot_overlap =2; printing_space = 5; pitch = cube_size + printing_space; slot_depth = (cube_size + slot_overlap) / 2; layer_height = 0.2; bottom_insets = [0.4, 0.3, 0.2, 0.1]; top_insets = [0.2, 0.1]; bot...
glb/cad_4775acdcf5bf.glb
Create a small scoop by starting with a cylinder that has a radius of 2mm, a height of 2mm, and a 20-facet resolution. Remove a smaller concentric cylinder from the center of this shape with a radius of 1.7mm and a height of 0.7mm, starting from a height of 0.7mm, to create a hollowed base. Attach a rectangular handle ...
translate ([ 0,0,-1]) difference() { cylinder ( 2, 1, 1, $fn=20); cylinder ( 1.7, .7, .7, $fn=20); } translate([-.25, .9, -.5]) linear_extrude(height = 1.5) square([.5, 10]);
glb/cad_799b724038ba.glb
Create a Mendel X Motor Bracket. Start with a central body consisting of a rectangular base 9mm high, 84mm wide, and 30mm deep. At the top of this body, create a notched section 70.5mm long and 46.2mm wide with a thickness of 12mm. Integrate two rail clamps on opposite sides of the base. Each clamp is a block 63mm lon...
x_rail_sep=60.5-8; lower_bracket_width=84; lower_bracket_base_width=9; lower_bracket_base_height=15; lower_bracket_length=63; top_notch_height=lower_bracket_length+7.5; rail_clamp_width=20; rail_clamp_height=15; nema17_side=43; m3_clearance_rad=1.9; m4_clearance_rad=2.8; m6_clearance_rad=3.7; m8_tight_rad=4.6; m8_cl...
glb/cad_ba0e281ee95f.glb
Create an Olympic Medal Holder consisting of a conical base and a slot for a medal. Construct the base as a truncated cone with a height of 20mm, a bottom diameter of 90mm, and a top diameter of 85mm. Cut a slot into the top of the base to accommodate a medal with a diameter of 85mm and a thickness of 6mm. The slot s...
Diameter = 85; Thickness = 6; Medal_angle = 8; Insertion_depth = 12; Slide = 5; Show_medal = true; Base_height = 20; Base_shape = "Round"; Base_Diameter = 90; Top_Diameter = 85; Rect_Width = 80; Rect_Depth = 60; Show_text = true; Label = "2016 Olympics"; Extrusion = 2; Label_Height = 8; Label_slide = 4; c...
glb/cad_d33ec1a248b8.glb
Create a Square Check tool consisting of a main body and a rotating inner component. Start by creating a base shape that is a hull formed between a 28mm cube and a cylinder with a 14mm radius and 14mm height, centered at coordinates (33, 33, 7). From this base, remove a central cylindrical hole with a 11mm radius and...
difference() { hull() { cube([28,28,14]); translate([33,33,7]) {cylinder(14,14,14,true);} } translate([33,33,7]) {cylinder(14,11,11,true);} translate([33,33,14]) {cylinder(7,13,13,true);} translate([33,33,0]) {cylinder(7,13,13,true);} translate([-5,-5,-1]) {cube([28,28,11]);} } ...
glb/cad_dcad6b87fac9.glb
Create a Square Check tool by starting with a base shape formed from the convex hull of a 28mm x 28mm x 14mm cube and a cylinder with a 14mm radius and 14mm height positioned at [23, 23, 7]. From this combined volume, remove a 28mm x 28mm x 11mm cube centered at [-5, -5, -1] to create a large recessed cavity. Additiona...
translate([0,0,14]) rotate([180,0,0]) difference() { hull() { cube([28,28,14]); translate([23,23,7]) {cylinder(14,14,14,true);} } translate([-5,-5,-1]) {cube([28,28,11]);} translate([25,25,12]) rotate ([0,0,135]) cube([16,3,10],true); }
glb/cad_3783d654ebfc.glb
Create a Square Check tool consisting of a base and a rotating inner component. The base is formed by the convex hull of a 38mm cube and a cylinder with a 24mm radius and 24mm height, centered at (53, 53, 12). From this base, remove a central cylinder with a 21mm radius and 21mm height, as well as two additional cylind...
translate([0,0,24]) rotate([180,0,0]) difference() { hull() { cube([38,38,24]); translate([53,53,12]) {cylinder(24,24,24,true);} } translate([53,53,12]) {cylinder(25,21,21,true);} translate([53,53,28]) {cylinder(17,23,23,true);} translate([53,53,-4]) {cylinder(17,23,23,true);} tr...
glb/cad_055e31434063.glb
Create a skateboard truck riser wedge. The main body is a rounded rectangular plate with a width of 53.28mm (41.28mm truck width plus two 6mm borders and 4mm corner rounding) and a length of 77.5mm (63.5mm old-school spacing plus two 6mm borders and 4mm corner rounding). The plate is a wedge shape, angled at 5 degree...
Hole_dia = 5.0; Hole_pattern = "Double"; Border_width = 6; Rounding = 4; Height_inner_mounthole = 6; Wedge_angle = 5; Weight = "Braced"; Show_more = true; Axle_offset = 25; Axle_height = 67; Deck_thickness = 12; Truck_thickness = 3; Truck_width = 41.28; New_school = 53.98; Old_school = 63.5; thin = 0.001; ...
glb/cad_52b5d9720357.glb
Create a Tesla Model S Wall Charger Plug Holder. Start with a main rectangular block measuring 35mm wide, 65mm high, and 35mm deep, with all exterior corners rounded by an 8mm radius. On the top face, create a large recessed cavity to house the charger plug. This cavity is formed by removing a complex, organic polygon...
module charger_end(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-3.005779, 62.149426], [-11.7874005, 61.287234], [-16.569022, 60.425044], [-24.15456, 58.591569], [-29.740098, 56.758094], [-37.0017835, 54.0112945], [-42.263469, 51.264495], [-48.0735334, 47.66233], [-52.88...
glb/cad_3bdbed81682e.glb
Create a Tesla Model S Wall Charger Plug Holder by starting with a solid rectangular block measuring 75mm wide, 85mm high, and 35mm deep. Carve a large opening into the top face to accommodate the charger plug. This opening is created by taking a complex organic polygon shape—roughly 105mm in length—and extruding it ...
module charger_end(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-3.005779,62.149426],[-16.569022,60.425044],[-29.740098,56.758094],[-42.263469,51.264495],[-53.883598,44.060166],[-59.296113,36.626611],[-63.442667,28.424632],[-69.673609,11.070035],[-72.251218,-0.964639],[-...
glb/cad_8afb4b55d639.glb
Create a Z-Lift nutclip consisting of two mirrored brackets designed to hold a square nut. Each bracket is based on a rectangular block with a total width of 35.8mm, a depth of 9.4mm, and a height of 12.2mm. For each bracket, carve out a central rectangular slot 8mm wide and 9.4mm deep to accommodate the square nut. ...
XI=22.8; XDG=5; ZD=3; module halter (XI=XI,ZU=ZD,XDG=XDG,XA=XA){ ZHD=6.2; ZOb=ZD; ZG=ZOb+ZHD+ZU; XG=XI+XA; YUe=3.5; EA= 3; DS=3; DX=6.5; DY=5; Sab=0.5; GM=8; EM=0.1; GY=1.6; DG=XDG; difference (){ union (){ cube ([XI+XA+XDG,YBT,ZU+ZHD+ZOb]); translate ([0,-YUe,0]){ cube ([XI+XA+XDG,YUe,ZU+ZHD+ZOb])...
glb/cad_e168f45d02d6.glb
Create a mechanical ventilation duct adapter designed to connect a 120mm computer fan to a 125mm exhaust duct. Start with a circular base plate 5mm thick with a diameter of 156mm. In this base, place four 4mm diameter screw holes arranged in a square pattern with a 105mm center-to-center spacing. From the top of the b...
$fn=300; hCone = 10; diamintConduit = 125; epaisseur = 5; long_enmanch_conduit = 30; entraxe_vis_ventilo = 105; cote_ventilo = 120; epaisseur_base = 5; diam_trous_vis=4; larg_joint_etanch=5; long_fentes=35; larg_fentes=2; nb_fentes=12; rayintConduit = diamintConduit/2; gap = 1; difference(){ union(){ ...
glb/cad_90c802c71ada.glb
Create a Tiger 1 tank model scaled for Memoir '44. The model is split into two main components: the body with tracks and the turret. For the body, create a lower hull using a hull operation between a cube of 4.42mm x 2.23mm x 0.89mm and a slightly longer, thinner cube of 6.32mm x 2.23mm x 0.89mm. Add an upper body blo...
allStanding(); $fs=0.5; m=1000/(190); axle_margin=0.2; axle_radius=2; axle_length=6; length_with_gun=8.45*m; length=6.316*m; width_with_tracks=3.72*m; height_to_hull=1.78*m; height_to_cupola=3.00*m; turret_pos=length*0; height_of_turret=1.1*m; cannon_outer_diam=3.2*0.088*m; wheel_diam=height_to_hull*0.5; lower_wh...
glb/cad_b6044b0e164a.glb
Create a joystick shield box for an Arduino Leonardo. Start by constructing a hollow rectangular enclosure with outer dimensions of 101mm in length, 59mm in width, and 26.5mm in height. The walls and the base should have a uniform thickness of 1.5mm. The interior cavity should be 98mm long and 56mm wide. On one of the ...
$fn = 100; thick = 1.5; al = 69+1+29; aw = 56+1; ah = 25; auw = 12.5; apw = 9.5; difference() { union() { cube([al+thick*2,aw+thick*2,ah+thick],true); translate([0,0,-ah/2]) cube([al+thick*2+0,aw+thick*2+0,thick],true); } translate([0,0,thick/2+0.01]) cube([al,aw,ah],true); translate([-al/2-thick/...
glb/cad_10976e1f142d.glb
Create a lid for a joystick shield box. Start by creating a rectangular plate centered on the origin with a length of 99mm, a width of 57mm, and a thickness of 1.5mm. From this plate, remove a central rectangular section measuring 96mm by 54mm with a depth of 4mm, leaving a 1.5mm thick border around the perimeter. Wit...
$fn = 100; thick = 1.5; al = 69+1+29; aw = 56+1; apw = 9.5; difference() { lid(); button24(); button13(); buttonb(); } module lid() { cube([al+thick*2,aw+thick*2,thick],true); difference() { translate([0,0,thick+0.01]) cube([al,aw,4],true); translate([0,0,thick+0.01]) cube([al-2*thick,aw-2*thick,4+...
glb/cad_ec2f15b16b23.glb
Create a Reinforced Mendel X Carriage by constructing a central base plate 95mm long and 50mm wide (the distance between the guide rods). At each end of the base plate, add a slim LM8UU bearing holder. The holders should have an internal diameter of 15.7mm and a length of 24.7mm to accommodate the bearings. On the sid...
include <configuration.scad> include <lm8uu-holder-slim.scad> belt_clamp_thickness=2; belt_clamp_width=m3_diameter+3*belt_clamp_thickness+2; for (i=[-1,1]) translate([0,i*(belt_clamp_width+1),0]) belt_clamp(i); belt_clamp_channel(); simonkuehling_x_carriage(); base_length = 95; rod_dist = 50; enable_fan_mounts ...
glb/cad_505bf9c0fc08.glb
Create a Reinforced Mendel X Carriage consisting of a central base plate and four LM8UU bearing holders. The base plate is a rectangular slab with a total length of 100mm and a width of 50mm between the rod centers. In the center of the base plate, create a circular cutout with a radius of 25mm plus a small margin for ...
include <configuration.scad> include <lm8uu-holder-ziptie.scad> belt_clamp_thickness=2; belt_clamp_width=m3_diameter+3*belt_clamp_thickness+2; for (i=[-1,1]) translate([0,i*(belt_clamp_width+0.5),belt_clamp_clamp_height]) rotate([0,180,0]) belt_clamp(i); belt_clamp_channel(); translate([15,0,0]) belt_ram(); ro...
glb/cad_1ff2720d0903.glb
Create a rear AC line set bracket consisting of two mirrored, interlocking C-shaped clamps. Each bracket is 30mm wide and 4mm thick. For each bracket, start with a flat base plate measuring 30mm by 40mm. From this base, create a vertical wall that rises at an 84-degree angle. This wall extends upward for 42mm and then...
use <arc/arc.scad> $fn=50; MtgWidth=30; MtgLen=40; StrapWidth=30; UpLen=42; UpAngle=84; OverallLen=140; Thickness=4; Thickness2=6; Bend1Rad=3; BigPipeRad=10; SmallPipeRad=8; SpaceBetween=5; TabLen=10; Hole1Diameter=7; Hole2Diameter=6; Hole3Diameter=6; Hole1Location=12; Hole2Location=MtgLen+Bend1Rad+Bend1Rad+23; NutDi...
glb/cad_35fa63c2053f.glb
Create a lens release button consisting of a wide base and a central pin. Start by constructing a 16-sided polygonal base with a diameter of 7.8mm and a height of 3.25mm. This base is a hollow ring with a wall thickness of 0.8mm. Centered within this base, extend a vertical 16-sided polygonal pin with a diameter of 1.8...
height = 7.25; diameter = 7.8; pin_dia = 1.8; thick = 0.8; skirt = 3.25; hold=1.5; hold_dia = 2.0; cut_thick = 0.1; difference() { union(){ difference() { cylinder(h=skirt,d=diameter,$fn=16); translate([0,0,thick]) cylinder(h=skirt-thick,d=diameter-2*thick,$fn=16); ...
glb/cad_c18ea6b2e817.glb
Create a Baratza Encore Burr Holder by constructing a tiered cylindrical assembly with a central hollow core. Start with a base cylinder 25.5mm in radius and 14mm high, with a concentric hole 24.5mm in radius removed from the center. Above this, add a middle ring 25.5mm in radius and 2mm high, with a 20mm radius hole. ...
$fa = 0.1; $fs = 0.4; difference() { union() { translate([0,0,14]) union() { rotate([0,0,45]) translate([-2,-25,0]) union() { translate([1,1,0]) cube([2,2,2]); cube([4,2,5]); translate([0,0,3.5]) ...
glb/cad_7f7fc2dd1d26.glb
Create a tin can protection ring by constructing a circular torus with a rounded profile. Start with a ring created by rotating a circle with a 4mm radius around a central axis at a distance of 35.5mm. From this main body, remove a central cylinder with a radius of 36.3mm and a height of 3.7mm. Additionally, remove a s...
$fn=100; difference() { translate([0,0,1.5]) rotate_extrude(angle = 360, convexity = 2) { translate([35.5,0,0]) circle(r=4); } difference() { cylinder(r=37.8, h=8); cylinder(r=36.3, h=3.7); translate([0,0,3.7]) cylinder(r=33.7, h=8); } translate([0,0,-3.1]) ...
glb/cad_b9b7f8fe0bb8.glb
Create a customizable nameplate by first constructing a base plate 60mm wide, 25mm high, and 1mm thick. The base should be a rectangle with rounded corners, specifically featuring circular cutouts with a 5mm radius centered at each of the four corners. To create a raised border, add a second layer of the same shape on ...
text="Your Name"; text_font="Fontdiner Swanky"; text_z_height=1; text_size=7; tag_z_height=1; tag_height=25; tag_width=60; frame_thickness=2; linear_extrude(tag_z_height){ resize([tag_width,tag_height,1]) form(); } translate([0,0,tag_z_height]){ linear_extrude(text_z_height){ text(text,font=text_font, halign="cen...
glb/cad_8052db78b3f4.glb
Create a Painter's Pole Antenna Mast Mount consisting of a base plate, a central octagonal body, and a top cylindrical stub. Start with a circular guy mounting ring at the bottom with a diameter of 90mm and a thickness of 6mm. In this ring, create four elliptical holes for guy lines, each 5mm wide and 8mm long, posit...
bodyShape = "Octagon"; bodyDia = 33.5; stubDia = 26.75; stubHeight = 40; lockPinHoleDia = 8.5; lockPinHoleHeight = 20; guyRing = "Yes"; guyRingThk = 6; guyPlateDia = 90; guyHoleDist = 34; guyHoleWid = 5; guyHoleLen = 8; fn = 160; guyPlateHoleDepth=guyRingThk+2; guyPlateHoleEyeThk=guyRingThk+1; guyPlateHole...
glb/cad_6ce7cea4c0e1.glb
Create a parametric idler pulley centered on the origin. Start with a bottom base disk that is 2mm thick with a diameter of 20mm, featuring a concentric hole through the center with a diameter of 11mm. Above this base, construct a central cylindrical wall with a diameter of 15.2mm and a height of 8mm. Transition from t...
bottomSideHeight=2; topSideHeight=1.5; bottomSideHoleDiameter=11; wallDiameter=20; insideDiameter=14; outsideDiameter=15.2; beltWidth=8; FN=80; slopeDegree=45; slopeHeight=((slopeDegree/90)*(wallDiameter-outsideDiameter)); union() { translate([0,0,(-beltWidth/2-bottomSideHeight/2+0.05)]) difference(){ cylinder (h...
glb/cad_6b402a1c6253.glb
Create a 3D model of a 9g servo. Start with a main rectangular body measuring 23mm in width, 12.6mm in depth, and 22.9mm in height. Centered on the top face of this body, add a wider, flat rectangular plate measuring 32.5mm by 12.6mm with a thickness of 2.5mm. On top of the main body, centered along the depth, place a ...
$fn = 50; servo9g(0,0,0); module servo9g(x,y,z){ x1 = 23; y1=12.6; z1=22.9; x2 = 32.5; translate([x-x1/4-0.5,y-y1/2,z-16.6])union(){ cube([x1,y1,z1]); translate([(x1-x2)/2,0,16.6]) cube([x2,12.6,2.5]); translate([x1/2,y1/2,z1])cylinder(d=5,h=4.5); translate([x1/4+0.5,y1/2,z1])cylinder(d=y1,h=4.5)...
glb/cad_70b4248690bd.glb
Create a parametric measuring cup consisting of a hemispherical bowl and a flat handle. For a volume of 15ml, the bowl is a hollowed hemisphere with a radius of approximately 14.2mm and a wall thickness of 1mm. Attach a flat, elongated handle to the side of the bowl. The handle should be a rounded rectangular strip w...
size=15; unit="ml"; shape=4; form_factor=1; yamc(size,unit,shape,form_factor); function mm2mm(mm) = pow(10,(1/3*(log(mm)-log(PI*2/3)))); function ml2mm(ml) = pow(10,(1/3*(log(1000*ml)-log(PI*2/3)))); function cl2mm(cl) = pow(10,(1/3*(log(10000*cl)-log(PI*2/3)))); function oz2mm(oz) = pow(10,(1/3*(log(29573.5295625...
glb/cad_8f72025dedc2.glb
Create a Chess Set Box consisting of a main container and a separate lid. For the main container, start with a solid block formed by the convex hull of four cylinders with a radius of 4.75mm and a height of 40mm, positioned at the corners of a rectangle measuring 104mm by 145.5mm. Hollow out this block by removing thre...
$fn=60; module box_ext() { hull() {for (i=[-52,89.5],j=[-1,1]) translate([i,j*72.75,0]) cylinder(r=4.75,h=40);} } module comp1() { minkowski() { translate([0,0,26-1.5]) cube([105-6,75-6,40],center=true); sphere(d=6); } } module comp2() { minkowski() { translate([0,0,26-1.5]) cub...
glb/cad_a63059f43366.glb
Create a Customizable Stomp Box enclosure with external dimensions of 112mm length, 60mm width, and 38mm height. The main body is a hollow rectangular shell with a wall thickness of 2mm. All exterior vertical corners and top edges must be rounded with a radius of 4mm. The interior should feature four support posts at ...
enclosureLength = 112; enclosureWidth = 60; enclosureHeight = 38; enclosureThickness = 2; roundness = 2; faces = 40; screwSize = 3.4; screwLength = 10; cornerThickness = 1.25; jackSize = 10; leftSideJacks = 1; rightSideJacks = 1; topRowHoles = 1; midRowHoles = 2; bottomRowHoles = 1; switchHoles = 1; ledHoles = 2; ...
glb/cad_7465d987c66f.glb
Create a Customizable Stomp Box Lid with overall dimensions of 112mm in length, 60mm in width, and 6mm in height. The main body is a rectangular slab with heavily rounded edges and corners. Specifically, use a corner radius of 4mm (the product of a 2mm thickness and 2mm roundness) to fillet all vertical edges and the t...
enclosureLength = 112; enclosureWidth = 60; enclosureHeight = 6; enclosureThickness = 2; roundness = 2; faces = 40; screwSize = 3; screwLength = 10; screwHeadLength = 10; screwHeadDiameter = 8; screwType = "countersunk"; cornerThickness = 1.25; edge = roundness*enclosureThickness; topLength = enclosureLength - 2*ed...
glb/cad_55573de7db3d.glb
Create a test part for a customizable chess board. Start with a central square plate measuring 15mm by 15mm with a thickness of 2.2mm. On the left side of this plate, centered vertically, add a triangular prism with a diameter of 10mm and a height of 1.1mm (half the plate thickness). Finally, create a cutout throug...
side=30; thick=2.2; edge_thick=3; edge_height_coef=1.5; tolerance=0.2; $fn=60; render="Test part"; module slot() { translate([-side/2,0,-thick/2-0.2]) rotate([0,0,180]) translate([0.2,0,0]) hull() {for(i=[-1,1]) translate([-0.5-2*tolerance/1.75,i*(0.866+2*tolerance),0]) cylinder(d=8,h=thick/2+0.5,$fn=3);} } module...
glb/cad_4171c17c25ee.glb
Create a Drill Holder by starting with a rectangular block measuring 100mm in length, 15mm in width, and 8mm in height. Along the center line of the top face, create a series of ten circular holes that penetrate through the entire height of the block. The first three holes are spaced at the beginning of the block and i...
scale(0.5) difference() { cube([200,30,16]); translate([8.5,15,-1]) cylinder(18,r=2,$fn=50); translate([22,15,-1]) cylinder(18,r=3,$fn=50); translate([39,15,-1]) cylinder(18,r=4,$fn=50); for (i=[2:7]) { translate([10+i*25,15,-1]) cylinder(18,r=i+3,$fn=50); echo("r=",i+3); } }
glb/cad_638858a6a570.glb
Create a Nipple Shuffler by starting with a hollow cube that has outer dimensions of 105mm x 105mm and a height of 50mm. The walls should be 2.5mm thick, creating an interior cavity of 100mm x 100mm with a depth of 54mm. Inside this cavity, place 11 identical vertical dividers spaced 10mm apart. Each divider is a thin ...
#difference () { cube([105,105,50], center=true); translate([0,0,-1]) cube([100,100,54], center=true); } for(step = [0 : 1 : 10]) { translate([step*10-52.5,0,-25]) rotate([90,0,0]) linear_extrude(height=100, center=true) { polygon(points=[[0,0],[5,0],[5,16], [2.5,18], [0,16]]); } }
glb/cad_11b96e2422e6.glb
Create a Nipple Shuffler by starting with a solid cube measuring 75mm x 75mm x 32mm. Hollow out the center of this cube by removing a smaller internal cube measuring 70mm x 70mm x 54mm, leaving a thick outer wall. Inside this hollowed space, place eight parallel divider walls. Each divider should be a thin plate with a...
#difference () { cube([75,75,32], center=true); translate([0,0,-1]) cube([70,70,54], center=true); } for(step = [0 : 1 : 7]) { translate([step*10-37.5,0,-16]) rotate([90,0,0]) linear_extrude(height=70, center=true) { polygon(points=[[0,0],[5,0],[5,16], [2.5,18], [0,16]]); } }
glb/cad_473572d13073.glb
Create a hex bolt consisting of a hexagonal head and a threaded shaft. First, create the head as a regular hexagonal prism with a diameter of 22.1mm and a height of 10mm. Centered on top of this head, add a threaded shaft with a total height of 12mm and a nominal diameter of 6mm. The shaft should feature a coarse I...
hex_bolt(6,12); defQ = 32; function get_thr_qual(dia) = lookup(dia, [ [5,10],[6,12],[7,14],[8,16],[10,20],[12,12],[14,28],[16,32],[18,36],[20,40],[22,44],[24,48],[27,54],[30,60],[33,66],[36,72],[39,78],[42,84],[45,90],[48,96],[52,104],[56,112],[60,120],[64,128],[78,156]]); function get_sh_qual(dia) = lookup(dia, [ [...
glb/cad_fb616726a0aa.glb
Create a Dropzone Command sidewalk by starting with a rectangular base measuring 105mm long, 16mm wide, and 1.5mm high. Carve a thin 0.5mm deep groove along the entire length of the front edge. Across the top surface of the base, add a series of small rectangular notches 0.5mm wide and 0.5mm deep, spaced every 6.5mm al...
sidewalkLength=105; sidewalkWidth=10; sidewalkHeight=1.5; grooveZ=0.5; buildingSupportWidth=3; buildingSupportHeight=3; paperY=1; difference() { cube([sidewalkLength, sidewalkWidth + buildingSupportWidth*2, sidewalkHeight]); translate([-1,grooveZ,sidewalkHeight-grooveZ]) cube([sidewalkLength+sidewalkWid...
glb/cad_4b0668d6ab44.glb
Create a Telescopic Tube Clamp by starting with a rectangular block measuring 30mm in length, 10mm in width, and 10mm in height. Along the center line of the 30mm length, remove three distinct holes. The first hole, positioned 5mm from the left edge, is a bolt hole consisting of a 3mm diameter cylinder 8mm deep, with a...
$radial_error = 0.1; $fn = 16; module cylinder_outer(height, radius, fn=$fn) { fudge = 1/cos(180/fn); cylinder(h=height,r=radius*fudge+$radial_error, $fn=fn); } module cylinder_inner(height, radius, fn=$fn) { cylinder(h=height,r=radius-$radial_error,$fn=fn); } module bolt(diameter=3, depth=8, nut_offset=2, shaft_...
glb/cad_34cfb890bc74.glb
Create a Telescopic Tube Clamp by constructing a sleeve with a height of 20mm and a total thickness of 34mm. Start with a primary body formed by the union of a cylinder with a radius of 23.8mm and a rectangular block measuring 16mm by 34mm by 20mm. From this volume, remove a central cylindrical void with a radius of 16...
use <bolts.scad>; large_radius = 34.8/2; small_radius = 32/2; height = 20; tube_offset = height / 2; thickness = 34; sleve_thickness = 6; outset = 16; outer_radius = large_radius + sleve_thickness; module block() { translate([outer_radius, 0, height/2]) cube([outset, thickness, height], true); } module cutout() ...
glb/cad_6ce202e99327.glb
Create a Customizable Pencil Holder clip designed to slide onto a rail. The main body is a linear extrusion with a total length of 76.2mm (3 inches). Start by creating a C-shaped profile that wraps around a rail. The inner rail width is 19.05mm (0.75 inches), and the wall thickness of the clip is 1.5875mm (0.0625 inc...
railWidth = 0.75; slotHeight = 1; innerFillet = 0.125; outerFillet = 0.125; ledgeWidth = 0.25; ledgeHeight = 0.875; slotLength = 3; units_entered = 25.4; desired_units_for_output = 1; resoultion = 42; clipThickness = 0.0625; includeDefaultFillets = true; scale(units_entered/desired_units_for_output){ diff...
glb/cad_23f815893624.glb
Create a bumper foot for a computer case with a total height of 9mm and an outside diameter of 40mm. Start with a base that has a 45-degree tapered bottom section 2.5mm high, transitioning from a diameter of 35mm to 40mm. Above this taper, extend a main cylindrical body to the full 40mm diameter, topped with a thin lip...
OD = 40; ID = OD - 6; Base_Ht = 3; Hub_OD = 18; Ht = 9; Hole_OD = 4; BoltHd_OD = 9; BoltHd_Ht = 5; A_Ht = 2.5; Top_Taper_Type = 2; Spoke_Wid = 1.65; Qty_Spokes = 8; Lip_Ht = 1.65; Lip_OD = OD - 2.25; Spoke_Ang = 360 / Qty_Spokes; OD_Res = (round(((OD * 3.14)/4)/.7)*4); Hub_OD_Res = (round(((Hub_OD * 3.14)/4)/.7)*4); ...
glb/cad_db137a861a34.glb
Create a bevel gear for a motorized locomotive. The gear is based on a conical shape with a base radius of 8mm and a height of 5.5mm. The gear must feature 12 involute teeth distributed evenly around the circumference. The teeth should be constructed using a back cone radius of 11.5mm and a cone distance of 12.5mm. T...
use <MCAD/involute_gears.scad>; module bevel_gear2() { teeth=3*4; bcr=11.5; cod=bcr+1; pia=bcr; our=bcr+1; bar=our-(bcr/6); ror=our-(bcr/5); hta=360/(teeth*2*2*2); inf=0; ra=bcr-3; rad=0; intersection() { union() { cylinder(h=ra-rad,r1=ra-rad,r2=0,$fn=teeth*2); for(i=[1:teeth]) { rotate([0,0,i*...
glb/cad_8772b1e4bd7e.glb
Create a bevel gear for a motorized locomotive. Start with a gear that has an outer radius of 9mm and a width of 4mm. The gear should be rendered as a low-resolution cylinder with 32 facets. Centered within this gear, create a square hole with a side length of approximately 6.57mm (calculated as 4.5 * sin(45°) + 0.2 mu...
use <gear_base.scad>; module gear2b() { ra1=7; wi=4; ra2=ra1+wi-2; ra3=sin(45)*4.5+0.2; difference() { union() { bevel_gear2(); translate([0,0,-wi+0.75]) cylinder(wi-0.7,r=ra2,$fn=8*4); } wi2=wi+2; translate([-ra3,-ra3,-wi+0.6]) #cube([ra3*2,ra3*2,wi2]); } } gear2b();
glb/cad_8cc03e42eeb9.glb
Create a motorized locomotive axle assembly. Start by creating a central octagonal prism with a radius of 4.5mm and a total height of 20.1mm. At the base of this prism, add a circular collar with an inner radius of 4.5mm and an outer radius of 6.5mm. Position a square block with side lengths of 6.36mm and a height of 2...
use <gear_base.scad>; module axle2c() { ra=5-0.5; he=6-2.75; he2=20+3+0.7+0.1; ra2=sin(45)*ra-0.1; he3=5+0; union() { le=he+he2; translate([-ra2,-ra2,-le/2-0.1]) cube([ra2*2,ra2*2,le+0.1]); le2=he2-2.5-he3-0.1; translate([0,0,-le/2-0.1]) cylinder(le2,r=ra,$fn=8*4); translate([0,0,-le/2+2.2]) ...
glb/cad_4c59dc84e980.glb
Create a Bear Chair designed to sit atop a monitor. Start with a solid rectangular block that has a total width of 88mm, a depth of 68mm, and a height of 96mm. From this block, carve out a central seating area for a bear that is 80mm wide, 60mm deep, and 70mm high, leaving walls with a consistent thickness of 4mm. ...
bearName = "Ted E. Bear"; secretMessage = "i love teddy bears"; bearWidth = 80; bearDepth = 60; bearLegLength = 30; bearBackHeight = 70; monitorNotchWidth = 9; thickness = 4; $fn = 32; bearSize = [bearWidth, bearDepth, bearBackHeight]; monitorNotchDepth = bearLegLength - thickness; chairSize = bearSize + ...
glb/cad_cda1b6ab4587.glb
Create a carriage for a 20x20x6mm extrusion. Start with a base plate 7mm thick. At the center, create a bolt tower by combining a cylinder with a diameter of 15.5mm and height of 7mm with a smaller cylinder of 7.5mm diameter and height of 8mm stacked on top. Subtract a central hole from this tower with a diameter of 5....
$fn=50; m5_diameter = 5.5; m3_diameter = 3.6; m3_nut_diameter = 6.9; m3_nut_width = 2.7; base_height = 7; hole_height = 8; railing_distance = 10; module bolt_tower(diameter, base_height, hole_height) { union() { cylinder(d=diameter + 10.5, h=base_height); translate([0, 0, base_height]) cyl...
glb/cad_852bcb4c5944.glb
Create a customizable mug lid by revolving a specific profile around a central axis. The main body is a ring with an outer diameter of 86mm and a wall thickness of 4mm. The cross-section of the lid's rim consists of a horizontal base 2.4mm thick, which extends outward to form the lip. The lid is a hollowed-out shell....
mug_diameter=86; mug_thickness=4; wall_thick=2.4; An="one"; A_angle=10; Ap_angle=110; tolerance=0.15; definition=60; $fn=definition; module section() { difference() { union() { translate([mug_diameter/2 - mug_thickness/2,wall_thick + tolerance,0]) circle(d=mug_thickness + wall_thick*2 + ...
glb/cad_b309d181f686.glb
Create a spool holder consisting of a central cylindrical axle and a supporting base. The axle is a cylinder with a diameter of 30mm and a total length of 155mm. This cylinder is hollowed out by a central rectangular slot that runs along its entire length; the slot is 30mm wide and 155mm long, effectively creating a U-...
unit = 1; spool_width = 130; spool_hole_diameter = 30; spl_l=spool_width*unit; spl_d=spool_hole_diameter*unit; $fn=48*2; spl_r=spl_d/2*1; plt_w=spl_d*1.5*1; module plt_hld() { cube([31,5,spl_d]); translate([28-9,0,0]) cube([6,16,spl_d]); translate([28-9,11,0]) cube([plt_w,5,spl_d]); } module spl_ext() { tr...
glb/cad_a06836067bd0.glb
Create a beveling tube connection consisting of two intersecting hollow cylindrical shapes. First, create a vertical tapered tube with a height of 80mm, a bottom outer radius of 25mm, and a top outer radius of 15mm. This vertical tube must have a uniform wall thickness of 3mm, created by removing a concentric inner tap...
$fn=60; module tritube(l1,cr1,cr11,l2,cr2,r,w,step){ difference(){ union(){ for (i=[0:step:90-step]){ hull(){ intersection(){ cylinder(r1=cr1+r*(1-cos(i)),r2=cr1-cr11+r*(1-cos(i)),h=l1); translate([0,0,l1/2])rotate(90,[1,0,0])cylinder(r=cr2+r*(1-sin(i)),h=l2); }; intersection(){ cylinder(r1=cr...
glb/cad_ddeeee0b7869.glb
Create a Bike Light LED holder by starting with a main rectangular block measuring 67mm wide, 88mm high, and 58mm deep, centered on the origin. Hollow out the center of this block by removing a smaller rectangular volume of 59mm by 82mm by 50mm, shifted slightly upward along the Y-axis to leave a solid base. On the fro...
w=59; h=78; depth=50; led=6; offset=8; module case(){difference(){ cube([w+offset,h+offset+10,depth+offset], center=true); translate([0,offset/2-10.5+10,0]) cube([w,h+offset/2+10,depth], center=true); } } difference(){ case(); leds(); btn(); slit(); } module leds(){ for(i=[1:5]){ rotate([90,0,0]) translate([(led+1)*i-...
glb/cad_7f695c3a4f47.glb
Create a pipe clip designed to hold a pipe against a wall. Start by creating a hollow semi-cylindrical shell with a height of 15mm, an outer diameter of 24.5mm, and a wall thickness of 2.5mm, leaving a gap in the cylinder to allow the pipe to snap in. Attach this shell to a rectangular base that extends 18mm from the...
pipe_diameter=19.5; thick=2.5; height=15; wall_distance=18; corner_radius=3; hole_radius=1.9; fineness=100; rotate(a=180,v=[0,0,1]) { difference() { union(){ rotate(a=45,v=[0,0,1]) {difference() { cylinder(r=pipe_diameter/2+thick,h=height,$fn=fineness); cylinder(r=pipe_diameter/2+0.2,h=height,$fn=fineness)...
glb/cad_e9efaea4c115.glb
Create a customizable mitre box for extrusions. Start with a central rectangular block measuring 30mm wide, 50mm deep, and 25mm high, centered on the origin. Expand this base by adding four hull-shaped sections: two connecting cylinders of 8mm diameter and 25mm height positioned at the front corners (±15, 15, 0) and tw...
difference(){ union(){ translate([0,0,0]) cube([30,50,25],center=true); hull(){ translate([ 15, 15,0]) cylinder(d=8,h=25,$fn=36,center=true); translate([-15, 15,0]) cylinder(d=8,h=25,$fn=36,center=true); }; hull(){ translate([ 15,-15,0]) cyli...
glb/cad_2f5ae11ecb0f.glb