Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a U-Nas retainer for a 1U PSU. Start by constructing a rectangular frame with an outer dimension of 107mm by 46.5mm and a height of 12mm. Carve out a central rectangular void of 102mm by 41.5mm, leaving a wall thickness of 2.5mm on the sides and 7.5mm on the top and bottom. Within this frame, remove two rectangu...
topSpace=2.5; bottomSpace=7.5; PSUWidth=102; PSUHeight=41.5; height=12; crossBarWidth=30; crossBarMin=bottomSpace/2; screwDiameter=7; screwBracketMaxHeight=11; screwBracketLength=40; screwBracketWidth=screwDiameter*2; screwBracketGapStart=8; screwBracketGapLength=screwBracketLength-(screwBracketGapStart+screwBrac...
glb/cad_23071c0948c2.glb
Create a Raspberry Pi case consisting of a bottom shell and a top cover. The overall outer dimensions are 89.0mm in length and 61.0mm in width, with a wall thickness of 2.0mm. Construct the bottom shell as a hollow rectangular box with rounded corners (radius 4.0mm). The interior should be 86.0mm by 57.0mm to accommod...
DRAWfull = 1; DRAWtop = 1; DRAWbottom = 1; DRAWtopinlet = 0; DRAWbottominlet = 0; DRAWpcb = 1; GPIOHOLE = 2; GPIOsize = 2; topframe = false; topinlet = false; topholes = false; holeofs=5; holesiz=2.5; holestep=6; noholes=12; holelen=30; holeangle1=[0,0, 0]; topmi...
glb/cad_c045ac2e5131.glb
Create a Customizable Drone Cam Angled Mount by constructing a wedge-shaped support. Start with a cylinder that has a radius of 25mm and a height of 40mm, oriented horizontally. Intersect this cylinder with a cube measuring 27mm wide, 42mm long, and 27mm high, positioned to isolate the lower quarter of the cylinder's c...
ancho=25; largo=40; grueso=2; angulo=15; difference(){ rotate([0,-angulo,0]) union(){ intersection(){ rotate([90,0,0]) cylinder(r=ancho,h=largo,$fn=200, center=true); translate([0,-((largo/2)+1),-ancho-2]) cube([ancho+2,largo+2,ancho+2]); } translate([0,-largo/2,0]) cube([anch...
glb/cad_c7c53e762438.glb
Create a todo list stencil as a flat plate measuring 75mm wide by 77mm high and 0.4mm thick. Cut out a series of horizontal line slots for writing. Each slot is 1.2mm high, with a length calculated by subtracting a 17mm left margin and a 10mm right margin from the total width. These lines are spaced 6mm apart vertica...
module stencil() { difference() { stencil_width = 75; stencil_height = 77; margin_left = 17; margin_right = 10; margin_top = 10; margin_bottom = 10; square(size = [stencil_width, stencil_height], center = false); spacing = 6; line_length_auto = stencil_width - margin_left - margin_right - spacing*1.4; line_length = ...
glb/cad_22291393c1c5.glb
Create a phone holder by extruding a specific 2D profile to a height of 45mm. The profile is based on a large triangle with vertices at [0,0], [89.43, 0], and [44.71, 44.71]. From this primary triangle, remove a smaller internal triangular area defined by the points [11.18, 5], [78.25, 5], and [44.71, 34.71] to create ...
Phone_Width = 45; Phone_Length = 190; module Phone_Holder(a = Phone_Length, width = Phone_Width) { linear_extrude(height = width) { difference() { polygon(points = [[0,0], [(a/3)*sqrt(2),0], [a/(3*sqrt(2)),a/(3*sqrt(2))]]); polygon(points = [[5*sqrt(5),5], [((a*sqrt(2))/3) - (5*sqrt(5)),5], [a/(3*sqrt(2)),((...
glb/cad_24e1521d4a7f.glb
Create a CNC ACME Nut Bracket. Start with a central cylindrical core 24.5mm in diameter and 23mm high, centered vertically from -13mm to 10mm. Add two rectangular link blocks, each 10mm wide and 17.5mm deep, positioned symmetrically on either side of the core and extending the full 23mm height. Connect these with a sec...
$fn=100; difference(){ union(){ translate([0,0,-13])cylinder(d=24.5,h=23); translate([0,16.6,-13])cylinder(d=15,h=23); rotate([0,0,16.6])translate([2.2,-1,-13])cube([10,17.5,23]); rotate([0,0,-16.6])translate([-12.25,-0.9,-13])cube([10,17.5,23]); } translate([0,0,-3]) cylinder(d=10.2,h=15); translate([0...
glb/cad_ba072c73cd2b.glb
Create a TBS Discovery top FPV camera mount starting with a square base plate measuring 34mm by 34mm with a thickness of 3mm. Center a large circular hole with a radius of 9.5mm through the plate. In each of the four corners of the square, create a small circular mounting hole with a radius of 1.51mm; these holes shoul...
module helperDisk(diameter) { translate([0, 0, 0.3]) { cylinder(r = diameter/2, h = 0.6, center = true); } } plateL = 34; camHoleD = 27.5; m3Rad = 3.02/2; holeT = (plateL-camHoleD)/2; frameHoleD = 40; frameThick = 8; union(){ difference(){ cube(size = [plateL,plateL,3], center = false); translate([plateL/2,plateL/...
glb/cad_bcfbbcd9a69f.glb
Create a TBS Discovery top FPV camera mount for the left side. Start with a square base plate measuring 34mm by 34mm with a thickness of 3.25mm. In the center of this plate, create a circular hole with a radius of 10.5mm. At the four corners of the plate, add small circular holes with a radius of 1.6mm each. Attached ...
module helperDisk(diameter) { translate([0, 0, 0.3]) { cylinder(r = diameter/2, h = 0.6, center = true); } } plateL = 34; camHoleD = 27.5; m3Rad = 3.2/2; holeT = (plateL-camHoleD)/2; frameHoleD = 40; frameThick = 12; plateThick = 3.25; holeRad = 10.5; angle = 7.5; mirror([ 0, 1, 0 ]) { union(){ difference(){ cube(s...
glb/cad_56c01b44503a.glb
Create a customizable CD slot holder for a phone or tablet consisting of one base and two identical ends. For the base, create a rectangular slab with a length of 190mm, a width of 10mm, a thickness of 7mm, and a height of 15mm. To allow for reinforcement, add a longitudinal hole through the center of the base with a...
$fn=100+0; Mode = "Base"; BaseWidth = 10; BaseThickness = 7; BaseHeight = 15; BaseLength = 190; BaseHoleRadius = 3; BaseCut = "Yes"; BaseMirror = "No"; Tolerance = 0; DeviceThickness = 9; EndLength = 15; EndSpacer = 5; if (Mode == "Base") { if (BaseMirror=="Yes") { mirror([1,0,0...
glb/cad_77463882245b.glb
Create a parametric I-beam with a total length of 127mm. Start by constructing the bottom flange as a rectangular slab measuring 12.8mm wide, 127mm long, and 3.2mm thick. Centered on top of this base, add a vertical web that is 3.2mm wide, 127mm long, and 12.8mm high. Finally, place a top flange identical to the bottom...
b_1 = 12.8; b_2 = 12.8; t_1 = 3.2; t_2 = 3.2; L = 127; cube(size=[b_1,L,t_1]); translate(v=[(b_1-t_2)/2,0,t_1])cube(size=[t_2,L,b_2]); translate(v=[0,0,t_1+b_2])cube(size=[b_1,L,t_1]);
glb/cad_aa0693bf1b41.glb
Create a Dual Bottle Handle with a total thickness of 5mm. Start with a central rectangular base measuring 37.5mm by 128mm. At each end of the long axis, create a rounded extension by joining two cylinders: one with a diameter of 42.5mm centered at the edge, and another with a diameter of 47.5mm positioned 17.5mm inwar...
lipdiameter=37.5; neckdiameter=30.8; bottlewidth=128; thickness=5; beveled_handle=true; difference(){ union(){ cube([lipdiameter,bottlewidth,thickness],center=true); for (i = [0:1]) { rotate([i*180,0,0]) hull(){ translate([0,bottlewidth/2,0]) cylinder(d=lipdi...
glb/cad_70350a3683b1.glb
Create an extruder bracket by starting with a base rectangular block measuring 40mm in length, 12mm in width, and 3mm in height. Add three vertical rectangular fins, each 12mm wide, 15mm high, and 3mm thick, positioned at the 10mm, 30mm, and 41.5mm marks along the length, with the middle and outer fins being 3mm thick ...
difference () { union () { cube([40,12,3]); rotate([90,0,0]) cube([40,12,3]); translate([0,-3,0]) rotate([0,-90,0]) cube([12,15,3]); translate([10,-3,0]) rotate([0,-90,0]) cube([12,15,2]); translate([30,-3,0]) rotate([0,-90,0]) cube([12,15,3]); translate([41.5,-3,0]) rotate([0,-90,0]) cube([12,15,2]); } tr...
glb/cad_55c1d53fddf0.glb
Create a customizable clothing button. Start with a central cylinder that has a diameter of 15mm and a height of 3mm, centered on the origin. Add a rounded outer rim by applying a fillet with a radius of 2mm to the edge. To create the flat bottom, remove a cylindrical section from the base of the model with a radius of...
OD = 15; numHoles = 4; thickness = 3; holerRimOD = 7; holeOD = 2; rimRadius = 2; flatStat = "bottom"; holeOr = holeOD/2; Or = OD/2; holeRimOr = holerRimOD/2; module button() { $fn = 30; difference() { union() { rotate_extrude() { translate([Or,0]) circle(rimRadius,true); } cylinder(h = th...
glb/cad_9850e364283e.glb
Create a 3D model of a stag beetle. For the main body, construct a central abdomen using a sphere scaled by 1.1 in the X-axis. Position a thorax above the abdomen, consisting of two spheres scaled by 1 in X, 2 in Y, and 1 in Z, shifted 2.5mm apart on the X-axis. Place a head at the front, created from a sphere scaled t...
module wing(shortSide=10,longSideMultiplier=2) { scale([1,longSideMultiplier,1]) sphere(shortSide); } module fang(radius=10) { intersection() { scale([1,4,1]) sphere(radius); translate([0,radius,0]) scale([1,4,1]) sphere(radius); rotate([90,0,0]) cylinder(10*radius, 1.2*radius, radius,...
glb/cad_19edf2027bdf.glb
Create a bicycle bell hammer by starting with a rectangular block measuring 17mm in length, 14mm in width, and 8.3mm in height. From this main body, remove a smaller rectangular volume measuring 12mm by 14mm by 7mm, positioned at coordinates [9, 0, -5] and rotated 20 degrees along the X-axis to create a slanted cutout....
$fn=50; difference() { cube([17,14,8.30]); translate([9,0,-5]) rotate([0,-20,0]) cube([12,14,7]); } translate([3,7,-4]) { union() { difference() { cylinder(r=7.9/2,h=9); cylinder(r=6.1/2,h=9); } } } translate([-2,2,7]) cube([7,10,1]);
glb/cad_a221fa46c2ed.glb
Create a direct drive extruder mount. Start with a main rectangular block measuring 65mm in width, 30mm in thickness, and 45mm in height. Attach a side piece for the motor anti-slippage screw measuring 12mm by 30mm by 37.5mm, supported by a small 45-degree angled brace. Integrate a PTFE holder block measuring 22mm by ...
include <mendel_misc.inc> bearing_clearance_rad=13; filament_rad=1.6; ptfe_rad=5.2; extruder_clamp_thick=30; filament_x_offset=26.497; mounting_offset=extruder_thick-5; filament_oversize=0.5; module filament_cavity() { union () { cylinder(100,filament_rad+filament_oversize,filament_rad+filament_oversize,center=tru...
glb/cad_0511720c9a91.glb
Create a Slotted Disk for motor timing. Start with a main disk that has a radius of 26mm and a height of 4mm. Centered on this disk, add a cylindrical hub with a diameter of 10mm and a height of 8mm, and bore a 5mm diameter hole through the center of the hub and the disk. Cut four arc-shaped slots out of the main disk...
slot_number = 4; slot_inside_radii = [10, 14, 18, 22]; slot_outside_radii = [11.5, 15.5, 19.5, 23.5]; slot_start_angles = [0, 90, 180, 270]; slot_end_angles = [180, 270, 360, 450]; disk_height = 4; disk_radius = 26; hub_height = 8; hub_diameter = 10; hub_bore_diameter = 5; $fn = 100; slottedDiskWithHub(slot_number,...
glb/cad_80b31c81f692.glb
Create a replacement clip for an aquarium filter sealing bracket. Start with a rectangular base plate 15.85mm wide, 31.8mm long, and 2mm thick. At the two rear corners of this plate, add two semi-circular feet with a radius of 4mm and a thickness of 2mm. Remove a rectangular section from the center of the rear edge of ...
clip_width = 15.85; clip_height = 31.8; clip_thickness = 2; bolt_diameter = 9.4; bolt_length = 14.2; gap_width = 8; gap_height = 16; foot_diameter = 8; nose_thickness= 2.4; nose_width = 4.5; nose_diameter = bolt_diameter + 2; union() { difference() { union() { translate([-clip_width/2,0,0]) cube([clip_wid...
glb/cad_75e8476693ac.glb
Create a Print Removal Tool consisting of two mirrored identical parts. For each part, start with a base plate 4mm thick. The base is formed by a large circle with a diameter of 40mm, from which a 40mm square is removed from the center and bottom, leaving a curved foot. Attached to this is a "toe" section consisting of...
vFootWidth = 20; vBladeWidth = 18; vBladeLength = 110; vFootHeight = 4; vFootCircleDiameter = vFootWidth*2; vFootCircleDiameter = vFootWidth*2; vToeWidth = vFootWidth * 0.6; PrintPRTs(); module PrintPRTs(){ translate([-vFootWidth,0,0]) PRT(); mirror([1,0,0]) translate([-vFootWidth,0,0]) PRT(); } module PRT()...
glb/cad_27f089ae3122.glb
Create an Exercise Bike Controller gear. Start by creating a spur gear with 71 teeth, a circular pitch of 200mm, and a pressure angle of 25 degrees. The gear should have a total hub thickness of 18mm and a rim thickness of 10mm. At the center of the gear, create a vertical bore with a diameter of 6mm to accommodate a ...
gear_with_setscrew( circular_pitch = 200, shaft_diameter = 6, circles = 6, trap_width = 7, hardware_bore = 3.4, number_of_teeth = 71, hub_thickness = 18, rim_thickness = 10, pressure_angle=25, no_bore = false); pi=3.1415926535897932384626433832795; module bevel_gear_pair ( gear1_teeth = 41, gear...
glb/cad_1368164c959f.glb
Create an Exercise Bike Controller gear. Construct a spur gear with 61 teeth, a circular pitch of 200mm, and a pressure angle of 25 degrees. The gear should have a total thickness of 6mm, with the rim and hub both set to 6mm. Add a central bore with a diameter of 22.5mm.
gear (circular_pitch=200, number_of_teeth = 61, bore_diameter = 22.5, gear_thickness = 6, rim_thickness = 6, hub_thickness = 6); pi=3.1415926535897932384626433832795; module bevel_gear_pair ( gear1_teeth = 41, gear2_teeth = 7, axis_angle = 90, outside_circular_pitch=1000) { outside_pitch_radius1 = gea...
glb/cad_9c6308970b63.glb
Create a stand for a Latte Panda screen. Start by constructing a base that combines several geometric forms: create two spheres with a radius of 25mm, positioned 120mm apart along the x-axis. Connect these spheres with a horizontal hull created from two 5mm radius spheres, one at the origin and one at x=120mm. Add a se...
screen_y_view = 87; screen_y_size = 97.5; screen_x_view = 156; screen_x_size = 165; x_offset = 2; y_offset = 7; border = 2.5; panda_holes_x = 81.5; panda_holes_y = 63.5; Base(); module Base(){ difference(){ union(){ hull(){ sphere(r = 5); translate([120, 0, 0]) sphere(r = 5); } hull(){ translate...
glb/cad_6f9e2bc7b2f6.glb
Create a speaker fuse cover by starting with a rectangular block measuring 33mm wide, 38.5mm deep, and 14mm high. Hollow out the center of this block by removing a smaller rectangular volume of 30.9mm by 36.2mm with a height of 16mm, centered and shifted 2mm down along the Z-axis. In the center of the top face, create ...
$fn=100; difference (){ union(){ difference (){ cube ([33.0,38.5,14],center=true); translate ([0,0,-2]) cube([30.9,36.2,16],center=true); } difference () {translate ([0,0,4]) cylinder(h=5.0, d1=9.0, d2=13, center=true); translate ([0,0,5]) cylinder(h=10, d1=4.5, d2=4.50, cen...
glb/cad_65b2dc3f2115.glb
Create a Triple-cylinder Thing consisting of two identical mirrored components. For each component, start by creating a solid volume formed by the intersection of three mutually perpendicular cylinders, each with a diameter of 40mm and a height of 40mm, centered on the origin. From this intersected volume, remove the...
Layout = "Build"; include <lib/visibone_colors.scad> ThreadThick = 0.25; ThreadWidth = 2.0 * ThreadThick; HoleWindage = 0.2; Protrusion = 0.1; CylDia = 2*IntegerMultiple(40.0/2,ThreadThick); CylRad = CylDia/2; echo(str("Actual diameter: ",CylDia)); Angle = [45,0,0]; $fn=128; AlignPegDia = 2.90; function Integ...
glb/cad_9d01047e9884.glb
Create a medieval castle model consisting of a central building, surrounding towers, and an optional island base. Start by creating a main central building as a prism with a customizable number of sides (e.g., 4, 6, 8, 12, or 60). The building's height and width should be variable. Top the building with a roof that c...
generate_details = "No"; random_seed = 23; island = "Yes"; children = 2; max_recursion = 2; first_level_symmetry = "No"; next_levels_symmetry = "No"; roof_pointed_ratio = 1.8; building_number_of_sides = 0; building_height = 0; building_width = 0; building_roof_type = 0; towers_height = 0; towers_width = 0;...
glb/cad_f612c717d469.glb
Create a calibration cube by starting with a solid cube that measures 40mm on all sides. From the center of this cube, remove a spherical volume with a radius of 20mm. The resulting shape should be a 40mm cube with a large, smooth hemispherical cutout carved into the bottom center, where the sphere's diameter matches t...
difference(){ cube([40,40,40]); sphere(20); }
glb/cad_779944cbba2b.glb
Create a slide-out under-cabinet tablet mount consisting of two identical mirrored rails. For each rail, construct a long U-shaped channel with a total length of 140mm (120mm body plus a 20mm slot extension), a width of 9.3mm, and a height of 11.3mm. The walls and base of the channel should be 3mm thick. Along the int...
length = 120; slot = 20; thick = 3; screw = [4, 8.5, 3]; tol = .3; use <utils.scad>; module profile() { %square([screw[2], screw[1]], center=true); %translate([5,0]) square([10, screw[0]], center=true); difference() { square([2*thick+screw[2]+tol, 2*thick+screw[1]+tol], center=true); squa...
glb/cad_fe079999885f.glb
Create a slide-out under-cabinet tablet mount consisting of two identical mirrored brackets. For each bracket, construct a U-shaped support structure. Start with two L-shaped corner pieces, each with a thickness of 2mm and a height of 11.5mm. The base of each L-shape should be 45mm long with a corner radius of 6.2mm. C...
length = 119.5; thick = 2; round = 6.2; height = 11.5; use <utils.scad>; module corner() { difference() { translate([-thick, -thick, -thick]) hull() { translate([round+thick, round+thick, 0]) cylinder(r=round+thick, h=height+2*thick); translate([0,16-thick,0]) cube([thick, thick, h...
glb/cad_374d52ac2079.glb
Create a slide-out under-cabinet tablet mount consisting of two rectangular plates joined at an angle. First, create a base rectangular plate measuring 20mm by 40mm with a thickness of 3mm. Attached to this base, create a second rectangular plate measuring 20mm by 26mm with a thickness of 3mm. Position and rotate this ...
rotate([0, -90,0]) { rotate([90-15,0,0]) cube([20, 26, 3]); cube([20, 40, 3]); }
glb/cad_0e6266d5a5f2.glb
Create a Chuck Key Holder by constructing a hollow cylindrical ring with an outer diameter of 25.6mm and an inner diameter of 20mm, resulting in a wall thickness of 2.8mm. The height of the ring is 8mm. Cut a rectangular notch into one side of the ring to create an opening. This opening should be 12mm wide and 8mm hi...
echo ("Drill Press Chuck Holder"); echo ("More at http://www.iheartrobotics.com/search/label/thing-a-week"); echo (" and http://www.thingiverse.com/IHeartRobotics/things"); TH = 2.8; ID = 20; OD = ID + (TH*2); CD = 8; H = CD/2+TH; L = CD+(TH*2); MD = 5.2; MH = 1.6; difference() { union () { scale([1/100, 1...
glb/cad_ef35cc030b2a.glb
Create a TAZ RAMBO and Raspberry Pi electronics enclosure. Start by constructing a rectangular box with an outer footprint of 170mm x 160mm and a wall thickness of 5mm. The box should have a height of 77mm. On the bottom floor, create four mounting pads for the RAMBO board. Each pad is a cylinder with a radius of 3.5m...
d=0.01; $fn=50; rambo_hole_x_dist=96.52; rambo_hole_y_dist=97.50; module gear_tooth_2d(d) { polygon( points=[ [0.0,10.0*d/72.0], [0.5*d,d/15.0], [0.5*d,-d/15.0], [0.0,-10.0*d/72.0] ] ); } module oshw_logo_2d(d=10.0) { rotate(-135) { difference() { union() { circle(r=14.0*d/36.0,$fn=20); for(i=[1:...
glb/cad_e8b4731e9103.glb
Create a Broom Stick 90 degree screw end cap. Start with a central vertical cylinder for the screw post with a diameter of 15.5mm and a total height of 45mm. Add external threads to this post with a pitch of 5mm and a thread depth of 2.5mm, extending for a length of 20mm. Attached to the base of this post, create a 9...
PI = 3.14159265358979; WThick=2.5; PostOD = 24; PostLength = 25.0; PitchDia = 15.5; ScrewLength = 20.0; ThreadFormOD = 2.5; ThreadPitch = 5.0; ThreadRotation=0; ThreadID="1"; $fn=8*4; module Cyl_Thread(pitch,length,pitchdia,cyl_radius,resolution=32) { Cyl_Adjust = 1.25; Turns = length/pitch; Slices ...
glb/cad_6044280de37c.glb
Create an adjustable height shim by starting with a rectangular block 30mm wide, 39mm long, and 12mm high. Transform this block into a wedge by removing a section from the top, creating a sloped hypotenuse that descends from the maximum height to zero. Cut a central rectangular channel through the length of the wedge ...
width = 30; length = 39; min_height = 12; attachment_holes = 2; attachment_head_type = "bugle"; slot_width = 8.25; slot_depth = 2.75; slot_height_ratio = 0.8; bolt_width = 4.2; bolt_slot_height_ratio = 0.7; center_hole_ratio_w = 0.65; center_hole_ratio_l = 0.42; number_on_plate = 1; multiple_arrangement = ...
glb/cad_9886faef2d5b.glb
Create a hobbed bolt holder consisting of a knurled outer cylinder and a multi-stage internal cavity. The main body is a cylinder with a total height of 10mm and an outer radius of 15mm. The exterior surface features a knurled pattern with a width of 3mm, a height of 4mm, and a depth of 1.5mm. The interior is hollowed...
rc=10.5/2;hc=5; rhex=6.5/2; hhex=4; hsupport=10; $fn=50; ro=15; rremove=12.9/2; hover=5; PI=3.14; include <knurledFinishLib.scad> knurl_wd=3; knurl_hg=4; knurl_dp=1.5; e_smooth=2; s_smooth=0; module nut() { union() { cylinder(r=rc,h=hc,center=false); translate([0,0,hc])cylinder(r=rhex,h=hhex,cent...
glb/cad_b4923ca34768.glb
Create a Waveguide Coax Adapter consisting of a mounting flange and a rectangular transition body. First, construct the flange as a square plate 22.41mm wide, 22.41mm deep, and 5mm thick. The plate should be clipped at the corners to form an octagonal shape. Drill four mounting holes with a radius of 1.55mm, position...
wrcode = 6; coaxsize = 4.05; wall = 2.58; flanged = 5; addlen = 1; wrtab = [0,112,90,75,62,51,42,34,28]*1.0; atab = [0,47.9,41.4,38.3,33.3,31.0,22.41,22.1,19.05]*1.0; etab = [0,18.72,16.26,14.25,12.14,11.25,8.51,7.9,6.73]*1.0; ftab = [0,17.17,15.49,13.21,12.63,10.29,8.13,7.5,6.34]*1.0; drilltab=[0,4.3,4.3,4.1,...
glb/cad_e3a1124723d2.glb
Create a turbine consisting of 12 identical blades arranged symmetrically around a central axis. Each blade is formed by taking a cylinder with a radius of 10mm and a height of 100mm, centered on its axis, and subtracting a second, slightly offset cylinder of the same dimensions to create a curved, scoop-like profile. ...
module blade(a,b) difference(){ rotate([90,0,0]){ translate([0,0,50]) cylinder(h=100,r1=10,r2=10,center=true); } rotate([90,0,0]){ translate([a,b,50]) cylinder(h=101,r1=10,r2=10,center=true); } } module blade2() rotate([0,010,0]){ blade(2,3); } module turbine(a) for (i=[0:a-1]){ rotate(i*360/a,[0,0,1]) blade2();...
glb/cad_56059e188eb7.glb
Create a Taranis module bay blanking plate. Start with a main rectangular plate centered on the origin, measuring 48.2mm wide by 64.1mm high and 2mm thick. Add two side wings extending the width to 54.7mm, with a height of 18.12mm and thickness of 2mm. Construct a recessed central cavity 44.2mm wide by 60.1mm high and...
width=48.2; height=64.1; int_width=44.2; int_height=60.1; int_depth = 10; difference() { union() { cube([width+6.5,18.12,2], true); cube([width,height,2], true); difference() { translate([0,0,5]) { cube([int_width, int_height, int_depth], true); } translate([0,0,4.1]) { ...
glb/cad_83055bc83668.glb
Create a Taranis module bay blanking plate and case. Start with a main rectangular box measuring 43.9mm wide, 59.5mm high, and 19mm deep. Hollow out the center of this box by removing a smaller rectangular volume of 41.9mm by 56.5mm with a depth of 19mm, leaving a wall thickness of approximately 1mm. On the outer side...
int_width=43.9; int_height=59.5; int_depth = 19; rotate([180,0,0]) { difference() { union() { difference() { translate([0,0,(int_depth/2)+1]) { cube([int_width, int_height, int_depth], true); } translate([0,0,(int_depth/2)-2]) { cube([int_width-2, int_height-3, int_depth+.1], true); } } tra...
glb/cad_39931dfc2adf.glb
Create a Taranis module bay blanking plate. Start with a rectangular base plate measuring 48.2mm wide by 64.1mm high with a thickness of 2mm. Chamfer all four corners of this plate by removing a 4mm cube rotated 45 degrees at each corner. Add two horizontal "wings" extending from the sides of the plate, each 6.5mm wid...
width=48.2; height=64.1; int_width=44.2; int_height=60.1; int_depth = 10; difference() { union() { cube([width+6.5,18.12,2], true); cube([width,height,2], true); } translate([0,-(height/2)+15,0]) { cylinder(d=10, h=50, $fn=100, center=true); } translate([-(width/2),-(height/2),0]) { rotate([0,0,4...
glb/cad_bd3d6396614c.glb
Create a Custom Web Cam Conversion Mount consisting of three distinct parts: a camera mount clip, a neck clip, and a wire clip. First, create the camera mount clip. Start with a central block and two cylindrical "ears" positioned 21mm apart. Each ear is a cylinder with a radius of 3.375mm and a height of 4mm. Bore a h...
ears_d = 6.75 /2; ear_screw_d = 3.75 /2; wire_d = 4.2 /2; lamp_d = 7.25 /2; wire_hook_thick = 3 /2; cam_pivot_wid = 21; OUTPUT = 3; ears_wid = 4; ears_offset = 2; cam_clip_z = 20; cam_clip_thick = 2; part_z = 6; if (OUTPUT == 1) { neck_clip(part_z); translate([wire_d + w...
glb/cad_2dd94cfb1099.glb
Create a bathtub stopper consisting of a wide base and a tapered central plug. Start by creating a flat, thin circular disc with a radius of 40mm and a height of 1mm. Inside this disc, remove a concentric cylindrical hole with a radius of 37mm and a height of 1mm, leaving a thin outer ring. Centered on this ring, add a...
$fa = 3; difference() { union() { difference() { cylinder(r = 40, h = 1); translate([0, 0, .5]) cylinder(r = 37, h = 1); } cylinder(r1 = 21, r2 = 19.5, h = 12); } translate([0, 0, 5]) cylinder(r1 = 19, r2 = 17, h = 15); }
glb/cad_72d0f90fa8dc.glb
Create an X-Axis endstop strain relief spacer by starting with a rectangular base measuring 15mm wide, 61mm long, and 3.2mm thick. From this base, remove several geometric sections to create openings. First, carve out a rectangular hole measuring 6mm wide and 16mm long, starting 5mm from the front edge. Next, create a ...
difference () { union () { cube(size=[15,61,3.2]); translate (v=[0,58,-8]) cube(size=[15,3,2.5]); translate (v=[1.5,59,-5.5]) cube(size=[12,2,5]); translate (v=[0,58,-0.5]) cube(size=[15,3,2.5]); } translate (v=[(15-3.81),3.81,0]) cylinder(r=1.8,h=12.5,$fn=100); translate (v=[(15-3.81),22.81,0]) cylinder(r=1.8,h=12.5,...
glb/cad_383d1fb7418c.glb
Create a Waveguide Hornantenna consisting of a rectangular flange and a pyramidal horn. First, construct the mounting flange as a square plate 19.05mm wide and 19.05mm deep with a thickness of 5mm. Center a rectangular cutout of 6.34mm by 12.63mm through the plate. At the four corners of the flange, add four cylindri...
wrcode = 8; wall = 2.58; flanged = 5; multin = 2; waveadd = 1; wrtab = [0,112,90,75,62,51,42,34,28]*1.0; atab = [0,47.9,41.4,38.3,33.3,31.0,22.41,22.1,19.05]*1.0; etab = [0,18.72,16.26,14.25,12.14,11.25,8.51,7.9,6.73]*1.0; ftab = [0,17.17,15.49,13.21,12.63,10.29,8.13,7.5,6.34]*1.0; drilltab=[0,4.3,4.3,4.1,4.1,...
glb/cad_150d42df08a4.glb
Create a futon double sided roller consisting of a central hollow cylinder with two identical flanges at each end. The main body is a hollow cylinder with an outer diameter of 24.17mm, an inner hole diameter of 7.63mm, and a total height of 32.78mm. At each end of this cylinder, add a circular flange. Each flange has a...
module flangeod(od1,od2,fn,height,delta) { cylinder(h=height/2.0, r1=od1, r2=od2); translate([0,0,height/2]) cylinder(h=height/2.0, r1=od2, r2=od1); } module flange(od1,od2,id,fn=40,height=1,delta=0.1){ difference() { flangeod(od1,od2,fn,height,delta); translate([0,0,-height-delta/2])...
glb/cad_ebcd6a840899.glb
Create a Simple Pipe End Cap consisting of a circular base and a hollow cylindrical sleeve. Start by creating a solid cylinder for the base with a diameter of 33.274mm and a height of 3mm. Centered on top of this base, add a hollow cylinder with an outer diameter of 25.4mm and a height of 15mm. This upper cylinder shou...
OVERLAP=0.01; Inside_Hole_diam=25.4; Outside_diam = 33.274; Outside_thicknes = 3; Inside_wall_thickness = 4; Inside_depth = 15; empty_slot_thickness = 5; union() { cylinder(h=Outside_thicknes,r=(Outside_diam/2)); difference() { difference() { translate([0,0,Outside_thicknes-OVERLAP]) cylinder(h=Inside_depth,r=...
glb/cad_9f6f5ab0ece7.glb
Create a Z table mount for a linear bearing. Start by constructing a main body that is 40mm wide and 80mm long. The base is a solid block with a height of 10mm. From the top of this base, extend a vertical rectangular housing that is 30mm wide and 70mm tall, centered on the x-axis. Within this vertical housing, create...
$fn=50; difference(){ union(){ hull(){ translate([5,5,0]) cylinder(d=10, h=10); translate([35,5,0]) cylinder(d=10, h=10); translate([5,75,0]) cylinder(d=10, h=10); translate([35,75,0]) cylinder(d=10, h=10); } hull(){ translate([5,75-22,0]) cylinder(d=10, h=60); translate([35,75-22,0]) cylinder(d=10, h=60); translate([5...
glb/cad_58a7a79425b0.glb
Create a customizable sign consisting of a rectangular backplate and extruded text. Start by creating a rectangular base plate with dimensions of 150mm in length, 65mm in width, and 10mm in height, centered on the origin. On top of this plate, add extruded text with a height of 5mm. The text should use a bold sans-seri...
plate_length = 150; plate_width = 65; plate_height = 10; text_height = 5; text_content = "Hello,\nWorld!"; font_size = 20; line_separation = 30; color("gray") cube([plate_length, plate_width, plate_height], true); contents = split(text_content, "\n"); color("white") translate([0, (len(contents)-1)*line_separatio...
glb/cad_2be3922c838a.glb
Create a Geneva Mechanism consisting of a base plate, a moon wheel, and a geneva wheel. Start with a base plate 50mm wide and 25mm deep with a thickness of 1mm. Add two vertical cylindrical hub pegs with a radius of 3mm and a height of 5mm, positioned at the centers of the two wheels. Construct the moon wheel as a c...
What = "assembled"; no_slits = 7; wheel_base = 25; moon_wheel_upper_radius = 9; moon_wheel_base_radius = 18; moon_wheel_height = 4; peg_position = 7; hub_tolerance = 0.2; peg_tolerance = 0.15; wheel_tolerance = 0.25; peg_radius = 3; peg_height = 10; geneva_wheel_height = 2; base_tolerance = 2; hub_radius ...
glb/cad_3a6939fbc343.glb
Create an angled razor cutter holder. Start with a flat rectangular base measuring 100mm wide, 50mm deep, and 4mm high, centered on the origin. Attached to this base, create an angled support block that is 100mm wide and 4mm high, tilted at a 75-degree angle relative to the base. Cut a rectangular slot through the ...
include <threads.scad> flatBaseWidth = 100; flatBaseHeight = 4; flatBaseDepth = 50; angleHeight = flatBaseHeight; angleWidth = flatBaseWidth; angleDepth = 40; angleOfCut = 75; knifeWidth = 17.5; knifeHeight = 38.7*2.4; knifeDepth = 2; knifeAngle = 45; screwSlotSize = 2.5; screwSlotDepth = flatBaseHeight*2; screwS...
glb/cad_0946715c16e7.glb
Create a Microwave Door Button by starting with a rectangular base measuring 50mm in length, 23.76mm in depth, and 10.27mm in height. Hollow out the center of this base, leaving a wall thickness of 2mm on all sides. In the center of the base, add a hollow vertical cylinder with an outer diameter of 9.8mm and an inner d...
total_length = 50; total_depth = 23.76; wall_height = 10.27; wall_width = 2; cone_height = 29.75; cone_outside_diameter = 9.8; cone_inside_diameter = 7; catch_height = 25.47; catch_length = 8; catch_latch_depth= 4.62; catch_latch_height = 2.7; oval_length = 41.43; oval_depth = 18.97; oval_height = 2.31; module t...
glb/cad_6ca1650d1e56.glb
Create a 9mm Wide GT2 Belt Idler Pulley. Start by creating a central cylinder with an outer diameter of 26mm and a total height of 11mm. At the top and bottom of this cylinder, add retaining flanges created by rotating a polygon to form a 45-degree lip that extends the diameter by 1mm. Bore a hole through the entire ...
smoothSteps=360; bearingOD = 22; bearingWidth = 7; bearingID = bearingOD-2; idlerOD = bearingOD+2; retainer_ht = 1; beltWidth = 9; lipHeight = ((beltWidth + (retainer_ht*2)) - bearingWidth) / 2; difference() { union() { translate([0,0,retainer_ht]) { cylinder(r=idlerOD/2,h=beltWidth, $fn=smoothSteps); } ...
glb/cad_0bf80686f805.glb
Create a compact extruder body for a NEMA 17 motor. Start with a main block measuring 42mm in width and 19mm in depth, with a height of 44mm. At the base, create a circular cutout with a radius of 12mm centered at (21, -21) to accommodate the motor. On the top surface, center a cylindrical hole with a radius of 12mm a...
motor_offset=8; extra=3; module nozzlemount(){ rotate([0,90,0]) cylinder(r=2, h=70, $fn=30); translate([17,0,0]) rotate([0,90,0]) cylinder(r2=3,r1=2, h=10, $fn=30); translate([1,0,0]) rotate([0,90,0]) cylinder(r1=4, r2=2, h=3); } difference(){ union(){ translate([0,-1,0]) cube([42,19,52-motor_offset]); translate([0,...
glb/cad_e0bf7bd6393b.glb
Create a cyclocomputer mount for aerobars. Start with a rectangular base block measuring 87.5mm in length, 30mm in width, and 10mm in height. Remove two cylindrical sections from the sides of the base to create cutouts for the tubes. Each cutout should have a radius of 11.5mm and be centered vertically within the 10m...
aerotubediameter=23; handlebardiameter=31.8; aerotubeinnerspacing=44.5; powertapmountlength=30; bracketthick=10; infinity=1000; pegwidth=10; ztwidth=3; ztdepth=2; ztedgeclearance=4; clearance=.75; ff=.01; $fa=.01; $fs=.5; totallength=2*aerotubediameter + aerotubeinnerspacing; totalheight=bracketthick; totalwidth=powe...
glb/cad_1163bb45f4c0.glb
Create a Naze32 Flight Controller Mount with a total thickness of 3mm. The main body is formed by the union of two hulls: one connecting four cylinders of radius 9.5mm centered at (±16, ±32, 0), and another connecting four cylinders of radius 3.6mm centered at (0, ±32, 0) and (±32, 0, 0). From this base, remove the fo...
x = 50; y = 85; z = 3; dampner_hole = 8; dampner_cutout = 15; difference() { union() { hull() { translate([-16, -32, z / 2 * -1]) cylinder(r = dampner_cutout / 2 + 2, h = z, $fn = 30); translate([-16, 32, z / 2 * -1]) cylinder(r = dampner_cutout / 2 + 2, h = z, $fn = 30); ...
glb/cad_3159fbc0ceb2.glb
Create a hollow lofted adapter that transitions from a circular profile to a cross-shaped profile over a total height of 100mm. The base of the object is a circle with a diameter of 40mm. The top of the object is a cross with a size of 200mm. Both shapes are centered at [0,0] and have an extension of 100mm beyond the...
use <tween_loft.scad> include <tween_shapes.scad> shape1 = tween_circle; shape1Size = 40; shape1Rotation = 0; shape1Extension = 100; shape1Centroid = [0,0]; shape2 = tween_cross; shape2Size = 200; shape2Rotation = 0; shape2Extension = 100; shape2Centroid = [0,0]; shape2ExtensionAdjustment = 0; wallTh...
glb/cad_47935488f1a6.glb
Create a Slim Rupee Styled Wallet for sliding cards. Start with a base rectangular block measuring 5mm in thickness (total depth), 87.6mm in width, and 55.48mm in height. Round all exterior corners with a 1mm radius. Carve out two main card slots. The first is a bottom slit 2mm deep, spanning the full width and height...
width=85.6+2; height=53.98+1.5; walls = 1; cardsbottom = 2; cardstop = 2; $fn = 40; totalint = walls+cardsbottom+cardstop; decorative = [ [4/5, 1/3, "r"], [4/5, 2/3, "r"], [1/5, 1/3, "r"], [1/5, 2/3, "r"], ]; slotZ = [2/7, 5/7]; crsize=height/3; sqsize=crsize/sqrt(2); difference(){ minkowski(){ cube([totalint...
glb/cad_895fa9f3c551.glb
Create an RC car chassis consisting of a main top plate and supporting components. The top plate is a rectangular slab 93mm wide by 75mm long with a thickness of 5mm and rounded corners with a 4mm radius. Cut two rectangular openings through the top plate to route wires: one measuring 12.5mm by 59mm and another measu...
TopPlate = 5; MountingHole = 1.5; Width = 93; Length = 75; CornerRadius = 4; iwidth = Width-CornerRadius*2; ilength = Length-CornerRadius*2; for(i=[-1.5:1.5]){ translate([-10,i*12,0]){ washer(5,7,20); } } module washer(length,width,resolution){ translate([0,0,length/2]){ difference(){ cylinder(r...
glb/cad_517897113da2.glb
Create a cogwheel with a total diameter of 20mm and a thickness of 5mm. Start by forming a main cylinder of these dimensions. Around the outer perimeter, add a series of teeth, each being a small five-sided prism with a diameter of 2mm and a height of 5mm, spaced evenly around the circumference. The number of teeth sho...
diamcog=20; lardent=2; epcog=5; diamaxe=2; qual=64; nbdent = round((2.7*3.14*(diamcog/2))/(2*lardent)); difference() { union() { translate([0,0,epcog/2]) cube ([0.95*diamcog,0.1*diamcog,epcog],center=true); translate([0,0,epcog/2]) cube ([0.1*diamcog,0.95*diamcog,epcog],center=true); } cylind...
glb/cad_28d43c82db36.glb
Create a blade for an optical chopper by starting with a thin cylinder 100mm in diameter and 0.9mm thick. Remove a smaller concentric cylinder from the center with a diameter of 35mm to create a central hole. Cut 10 equally spaced radial slits into the disk. Each slit should be a narrow rectangular cutout extending f...
rotateF = 50; bladeD = 100; bladeT = 0.9; lineDur = 2; blankTime = 1.6; centerD = 35; slitStyle = 0; nSlits = (1000/rotateF)/lineDur; slitSize = (360*(lineDur-blankTime))/ (1000/rotateF); slitLineDur = ((360*(lineDur/2))/ (1000/rotateF)); echo(slitLineDur); module slit(slitL,slitH,slitSize1)...
glb/cad_7972cabfe87e.glb
Create a blade for an optical chopper by starting with a thin cylinder 102.5mm in diameter and 0.9mm thick. Remove a smaller concentric cylinder from the center with a diameter of 35mm to create a central hole. Cut 10 equally spaced radial slits through the body of the disk. Each slit should be a narrow rectangular c...
rotateF = 50; bladeD = 102.5; bladeT = 0.9; lineDur = 2; blankTime = 1.8; centerD = 35; slitStyle = 0; nSlits = (1000/rotateF)/lineDur; slitSize = (360*(lineDur-blankTime))/ (1000/rotateF); slitLineDur = ((360*(lineDur/2))/ (1000/rotateF)); module slit(slitL,slitH,slitSize1){ intersection()...
glb/cad_1fa000529525.glb
Create an adjustable Z-stop activator consisting of a central rectangular block with integrated mounting holes and cylindrical cutouts. Start with a main body that is 49.87mm wide, 15mm deep, and 10mm high, centered on the origin. At each end of the block, along the X-axis at +/- 24.935mm, create a vertical cylindric...
include<../MCAD/nuts_and_bolts.scad>; use<zcompanion.scad>; rotate([90,0,0]) Z_stop_clamp(); translate([0,-4,-7.5]) rotate([-90,0,0]) zcompanion(); module Z_stop_clamp(){ difference(){ union(){ translate([0,0,-3]) cube([24.935*2,15,10], center=true); for (x= [24.935,-24.925]){ translate([x,0,0]) rotate([90,0,0]) ...
glb/cad_dfbe8bc5c7f5.glb
Create an Ice Cream Stick Lamp Construction Kit consisting of a sleigh base and two clamps. First, construct the sleigh. Create a rectangular base 98mm long, 50mm wide, and 4mm high. Add two side rails along the length of the base, each 5mm wide and 9mm high, positioned at the outer edges. Add two stop rails, 2mm thi...
IcePillarLength = 94; IcePillarWidth = 18; IcePillarThickness = 2; IcePillarCount = 14; BrakeThickness = 2; SleighWidth = 50; RailWidth = 5; RailHeight = 9; BaseHeight = 4; HelperTowerLength = 20; HelperTowerWallThickness = 4; ClampWidth = 25; HoleDistance = 10; HoleRadius = 3; HolderWidth = 25; HolderLength = 25; Vis...
glb/cad_1e27c7bead16.glb
Create a speaker plug by starting with a rectangular block measuring 26.9mm in length, 10.5mm in width, and 12mm in height, centered on the origin. Remove a vertical cylindrical hole with a diameter of 3.7mm that passes through the center of the top face, positioned 7mm from the center along the length and 2.2mm from...
$fn=100; difference (){ union(){ difference () { color("red") cube ([26.9,10.5,12],center=true); {translate ([7.0,2.2,0]) cylinder(h=14.0, d1=3.7, d2=3.7, center=true);} {translate ([-7.0,2.2,0]) rotate([0,90,0]) cylinder(h=20.0, d1=3.7, d2=3.7, center=true);}} } union(){ c...
glb/cad_3a2ca1f075ef.glb
Create a faucet cap by combining two concentric cylinders. First, create a wide base cylinder with a radius of 12.65mm and a height of 2.5mm. On top of this base, center a second, narrower cylinder with a radius of 11.25mm and a height of 10.55mm. To hollow out the center, remove a cylindrical core with a radius of 9.5...
difference(){ union(){ cylinder(2.5,12.65,12.65); cylinder(6.8,10.55,11.25); } translate([0,0,2.5]) cylinder (5,9.55,9.55); translate([0,0,5.5]) cube ([25,1,5], center = true); }
glb/cad_152a249ea01d.glb
Create a Kossel 2020 electronics rear panel. Start with a base plate 48mm wide, 125mm long, and 2.4mm thick. On the top surface, add two mounting feet. Each foot is a block 12.5mm high and 14mm wide. Create a 4.2mm radius hole through each foot for M4 screws. To hold the PCB, add vertical ribs 4mm high. Place two r...
thickness=2.4; leftMargin=10; rightMargin=15; ribThickness=3; ribHeight=4; footHeight = 12.5; footWidth=14; pcbThick=1.6; pcbClear=0.1; pcbWidth=100; pcbWclear=0.5; pcbOffset=24; m3ClearRad=1.6; m4ClearRad=2.1; overlap=0.02; module duetRibs() { translate([-pcbThick-ribThickness,-overlap-pcbWclear,thickness-overlap]) ...
glb/cad_df45c2440ea1.glb
Create a sphere case by starting with a solid cube measuring 49mm x 49mm x 24.5mm. Carve a hemispherical void into the top center of the cube with a diameter of 39mm, centered at coordinates (24.5, 24.5, 24.5). To create the remaining features, remove four smaller spherical sections, each with a diameter of 7.2mm, posi...
difference(){ cube([49,49,24.5]); union(){ translate([24.5,24.5,24.5])sphere(d=39); translate([5,44,24.5])sphere(d=7.2); translate([44,5,24.5])sphere(d=7.2); } } translate([5,5,24.5])sphere(d=7); translate([44,44,24.5])sphere(d=7);
glb/cad_bf722515d750.glb
Create a customizable drip tray by starting with a solid square base measuring 90mm in width and length, and 10mm in height. Hollow out the center of this base by removing a square section that is 86mm wide and 86mm long, starting from a height of 2mm above the bottom. This creates a tray with a 2mm thick floor and 2mm...
width = 90; depth = 10; spacing = 6; wall_width = 2; module plantTray(){ difference() { cube([width,width,depth]); translate([wall_width,wall_width,wall_width]) cube([width-2*wall_width,width-2*wall_width,depth]); } for (i = [1:(width-2*wall_width)/(spacing+wall_width)]) { ...
glb/cad_7669db083b82.glb
Create a Kossel intern tool consisting of a central rod and four peripheral attachments. Start by creating a central hexagonal prism with a length of 201mm, a height of 7mm, and a flat-to-flat radius of 1.75mm. At each end of this rod, add a Y-shaped jaw. Position two small hollow cubes at the far ends of the assembly...
include <configuration.scad> use <jaws.scad> rod_length=215; l = rod_length; h = 7; r = h/2 / cos(30); module collar() { difference() { cube([4, 20, h], center=true); cube([2, 18, h+1], center=true); rotate([0, 90, 0]) rotate([0, 0, 30]) cylinder(r=5, h=5, center=true, $fn=6); } } module cubic...
glb/cad_b15a92145169.glb
Create an RC Ship Wall mount consisting of a central mounting bar and two symmetrical support arms. Start by creating a rectangular base bar measuring 160mm wide, 15mm high, and 5mm deep. At each end of this bar, attach a vertical support structure. Each support structure begins with a rectangular arm measuring 10mm ...
weite = 160; breite = 10; tiefe = 140; kerbe = 6; module holder(){ difference() { union() { color("green") translate([ 0,0,0]) cube([breite,5,tiefe-7]); color("green") translate([weite-breite,0,0]) cube([breite,5,tiefe-7]); color("orange") rotate([0,-90,0]) translate([0, 0...
glb/cad_9316e6938e80.glb
Create an RC Airplane Wall mount consisting of a flat rectangular base and two projecting support arms. Start with a wall plate that is 75mm wide, 15mm high, and 5mm thick. At each end of this plate, attach a vertical support arm that is 10mm wide, 70mm deep, and 5mm high. On the inner face of each arm, 5mm from the ...
weite = 75; breite = 10; tiefe = 70; kerbe = 6; module holder(){ difference() { union() { color("green") translate([ 0,0,0]) cube([breite,5,tiefe]); color("green") translate([weite-breite,0,0]) cube([breite,5,tiefe]); color("red") translate([ 0,5,tiefe-kerbe/2]) rotate([0,...
glb/cad_ece0b3bf49fd.glb
Create a Penrose Snap Tile by starting with a rhombic prism that has a height of 6mm and a sharp interior angle of 18 degrees. The rhombus has a side length of 20mm. To create the snapping mechanism, integrate cylindrical pegs and holes along the edges. Use cylinders with a radius of 1.5mm and a facet resolution of 1...
%translate([0,0,-0.5])cube([100,100,1],center=true); rotate([0,0,18])rhombt(); L=20; f=0.6; h=6; ha=3; r=1.5; psi=45; $fn=16; ra=L*(1-f)/2; module rhombt(){ phi=18; union(){ difference(){ rhomb(phi); translate([0,-L*sin(phi),0])slice(r=ra); translate([0,L*sin(phi),0])slice(r=ra); nHalfLink(a=-L*cos(phi),b=p...
glb/cad_05720ef2ba37.glb
Create a battery cover for a Wii Balance Board. Start with a main rectangular plate that is 77.5mm wide, 64.4mm long, and 5.3mm thick. The outer corners of this plate should be rounded with a radius of 4mm. From this main plate, remove three rectangular sections to create specific openings and recesses. First, remove...
$fn=60; main(); translate([2,40,1]) clipsu(); module clipsu() { rotate([90,0,0]){ difference () { union(){ hull () { translate([0,0,0]) cylinder(r=1,h=15); translate([5,0,0]) cylinder(r=1,h=14.5); translate([3.6,10.4,1]) cylinder(r=2,h=12.7); } translate([-2,-1,0]) cube([2,1,15]); } uni...
glb/cad_2568899da200.glb
Create a Bus Pirate v3.6 case consisting of a main body and a lid. For the main body, create a rounded rectangular shell with external dimensions of 64.2mm by 41.2mm and a height of 9.1mm, using a corner radius of 5mm. The interior should be hollowed out to 61mm by 38mm with a 4mm corner radius. At each of the four i...
include <lib/util.scad> mil = 25.4/1000; w = 60; h = 37; corner_r = 4; hole_ofs = 4; hole_r = 3.2/2; pcb_thk = 1.6; nut_d = 6.1 + 0.5; nut_h = 2.25; screw_d = 5.55 + 0.15; screw_h = 2.9 + 0.2; thk = 2.1; standoff_h = 1.5; standoff_thk = thk; top_h = 6; slack = 0.5; hole_slack = 0.2; lock_tab_diameter = 13; lock_t...
glb/cad_31e26f770272.glb
Create a 3.5" HDD to 2.5" SSD adapter tray. Start with a main base plate measuring 102mm wide, 146mm long, and 6.7mm high. From this base, remove a central rectangular block measuring 70mm wide and 100mm long by the full height of 6.7mm to create a recessed area for the SSD. Add mounting supports for the larger drive ...
height=6.7; bay_length=146; bay_width=102; ssd_width=70; ssd_length=100; ssd_screw_height=3; ssd_screw_depth=[14.2, 91.1]; ssd_screw_d=2.3; hdd_screw_height=6.2; hdd_screw_depth=[25.6,67.2,126]; hdd_screw_d=3.7; hdd_screw_length=10; difference() { union () { cube([bay_width, bay_length, height]); ...
glb/cad_35e3e2dbdbd2.glb
Create a rounded die by starting with a 10mm cube centered at the origin and intersecting it with a sphere of radius 7mm to round the corners. On each face of this cube, create cylindrical holes to represent the pips. On the top face, center a single hole with a radius of 2mm. On the bottom face, place six holes with a...
$cubeDim = 10; $fn = 30; difference(){ intersection(){ sphere(r=7); translate([$cubeDim / -2, $cubeDim / -2, $cubeDim / -2]) cube([$cubeDim, $cubeDim, $cubeDim]); } translate([0, 0, 4]) cylinder(r=2, h=4); rotate([180, 0, 0]){ translate([1.5, 0, 4]) cylinde...
glb/cad_62cf6a62afb7.glb
Create a multi-piece solder spool holder consisting of a base and two identical side supports. For the base, create a square slab measuring 70mm by 70mm with a thickness of 10mm. Remove a central vertical rectangular slot measuring 5mm by 50mm and 50mm high, positioned 5mm from each side edge. Additionally, remove a cy...
base(); side(); translate([55, 0,0 ]) side(); module base() { color("pink") difference() { cube([70, 70, 10]); color("red") union() { translate([5, 10, 2]) cube([5, 50, 50]); translate([60, 10, 2]) cube([5, 50, 50]); } color("blue")...
glb/cad_8553a392d4a1.glb
Create a belt model consisting of a spiral strap and two cylindrical end pieces. First, generate a flat, extruded Archimedes spiral with a height of 150mm, scaled by 0.05 in the X and Y planes. Add a vertical cylinder with a radius of 5mm and a height of 33mm, positioned at coordinates [1, 3, 0]. At the opposite end, c...
include <2dgraph.scad> include <3dplot.scad> $fn=60; module archimedesSpiral2(){ scale([0.05, 0.05, 0.22]) linear_extrude(height=150) 2dgraph([0, 360*4], 60, steps=800, polar=true); } function r(theta) = theta/2.4*pi; difference() { union() { archimedesSpiral2(); translate([1,3,0]) cylinder(h=33,r=5); ...
glb/cad_df8330bbf865.glb
Create a customized solar light mount consisting of a main housing and an attached stake. Start with a rectangular block for the housing that is 66mm wide, 66mm long, and 20mm high. Hollow out the center of this block by removing a smaller rectangular volume of 58mm by 58mm, leaving a wall thickness of 4mm on all sides...
use <write.scad> stakeAngle = 30; height = 20; caseWidth = 58; caseLength = 58; panelWidth = 50; panelLength = 45; stakeWidth = 10; stakeLength = 100; wallThickness = 4; width = caseWidth + (2 * wallThickness); length = caseLength + (2 * wallThickness); widthDiff = width - panelWidth; lengthDiff = length - p...
glb/cad_c369c82697ce.glb
Create a Glue Gun Trigger Hinge by starting with a rectangular base block measuring 8.8mm by 21mm with a thickness of 3.3mm. Along the 21mm length, place two identical hinge pin assemblies. Each assembly consists of a cylinder with a radius of 2.6mm and a height of 2.7mm, topped by a second cylinder with a radius of 3....
rotate([0,90,0]){ translate([0,0,0]) cube([8.8,21,3.3]); translate([4.4,3.3,3.3]) difference(){ union(){ cylinder(2.7,2.6,2.6); translate([0,0,2.7]) cylinder(3,3.1,2.7); } rotate([0,0,90])translate([-0.25,-2.7,0.5]) cube([0.5,5.4,5.2]); } translate([4.4,17.7,3.3]) difference(){ union()...
glb/cad_c588c75f8dd9.glb
Create a cable clip consisting of two identical C-shaped clamps joined side-by-side. For each clamp, create a hollow cylinder with an outer diameter of 11mm, an inner diameter of 8mm, and a height of 6mm. Cut a rectangular slot out of each cylinder to create an opening; this slot should be 8mm wide and 5.6mm tall, cent...
length=6; diameter = 8; thickness = 3; clipDiameter = 6.0; union() { rotate([0,0,180]) difference() { difference() { cylinder(r=(thickness+diameter)/2,h=length); cylinder(r=diameter/2,h=length); } translate([diameter/3,0,length/2]) cube([diameter,diameter*.70,diameter*2],center=true); } translate([...
glb/cad_4cc3e5b06c69.glb
Create a cube with side lengths of 20mm, centered at the origin. On the front face of the cube, centered horizontally and positioned 10mm from the center along the y-axis, create the indented text "Indented Text" with a height of 2mm and a thickness of 1mm. On the bottom face of the cube, centered horizontally and posi...
include <write.scad> difference(){ translate([0,0,0]) cube(20,center=true); translate([0,-10,0]) rotate(90,[1,0,0]) write("Indented Text",h=2,t=1,center=true); translate([0,0,-6]) rotate(90,[1,0,0]) write("Cut",h=8,t=30,center=true); } translate([0,-10,7]) rotate(90,[1,0,0]) write("Raised Text",h=2,t=1,cent...
glb/cad_a1c048233087.glb
Create a Mario pipe flower pot by combining two concentric cylinders and hollowing them out. First, construct a wide base cylinder with a diameter of 64mm and a height of 25mm. Directly on top of this base, place a second, slightly narrower cylinder with a diameter of 56mm and a height of 60mm. To create the planting s...
boca_d = 64; tubo_d = 56; agujero_d = 50; boca_al = 25; tubo_al = 60 ; agujero_al = 75; difference(){ union(){ color([0,1,0]) cylinder(r = boca_d/2, h = boca_al, $fn=200); color([0,1,0]) cylinder(r = tubo_d/2, h = tubo_al, $fn=200); } translate([0,0,-agujero_al/3]) cylinder(r = aguj...
glb/cad_8aa6ec27ae31.glb
Create a mounting plate for an Azteeg X3 controller. The base consists of a thin platform 1.3mm thick with two sets of standoffs. First, create four standoffs for the X3 board: each is a hollow cylinder with an outer radius of 6mm and an inner radius of 2.5mm, with a height of 15mm. Position these in a rectangle meas...
standoff_wall_thickness = 3; standoff_inner_radius_am = 1; height_am = 3; standoff_inner_radius_x3 = 2.5; height_x3 = 15; height = 7; width = 10; depth = 3; wall_width = 3; color("blue")x3_standoffs(height_x3,standoff_wall_thickness,standoff_inner_radius_x3); translate([10,8,0])arduino_mega_standoffs(height_am...
glb/cad_98a758944acb.glb
Create a parametric mount for an Azteeg X3 controller. The base consists of two sets of standoffs connected by a thin 1.3mm thick platform. First, create four standoffs for the Azteeg X3. These should be 15mm tall cylinders with an outer radius of 5.5mm and a center hole radius of 2.5mm. Position them in a rectangle m...
standoff_wall_thickness = 3; standoff_inner_radius_am = 1; height_am = 3; standoff_inner_radius_x3 = 2.5; height_x3 = 15; height = 7; width = 10; depth = 3; wall_width = 3; color("blue")x3_standoffs(height_x3,standoff_wall_thickness,standoff_inner_radius_x3); translate([10,8,0])arduino_mega_standoffs(height_am...
glb/cad_ca9ec32ff72f.glb
Create a Reusable Filter for Drinkwell Original Pet Fountain. The object is a flat, rectangular grid-like tray. Start by creating a main rectangular frame with an outer width of 80mm and a height of 140mm. The frame walls and the internal grid dividers should have a thickness of 2mm. Within this frame, construct a ...
La=80; Del=3; Ha=140; Ep=2; Epx=1; Lb=10; module filtre() { difference(){ hull(){ trapeze(La-Del,La+Del,Ha,Epx); trapeze(La-Del-Lb/1.5,La+Del-Lb/1.5,Ha,Ep); } cube([La-2*Lb,Ha-2*Lb,2*Ep], center = true); Rt=1.5; translate([La/4,-Ha/2+Lb/2,0])cylinder(h=3*Ep, r=Rt, center=true,$fn=24); translate([-La/4,-Ha/2+Lb...
glb/cad_cf2373556fb3.glb
Create a reusable water filter frame for a pet fountain. The main body is a flat, rectangular plate with a total width of 80mm and a height of 140mm, and a thickness of 2mm. The plate features a large central rectangular cutout, leaving a border of 10mm around the edges. Within this border, create a series of small c...
La=80; Del=3; Ha=140; Ep=2; Epx=1; Lb=10; module filtre() { difference(){ hull(){ trapeze(La-Del,La+Del,Ha,Epx); trapeze(La-Del-Lb/1.5,La+Del-Lb/1.5,Ha,Ep); } cube([La-2*Lb,Ha-2*Lb,2*Ep], center = true); Rt=1.5; translate([La/4,-Ha/2+Lb/2,0])cylinder(h=3*Ep, r=Rt, center=true,$fn=24); translate([-La/4,-Ha/2+Lb...
glb/cad_d863e53152f6.glb
Create a Raspberry Pi camera mount adapter starting with a rectangular base block measuring 50mm wide, 25mm deep, and 7.5mm high. Carve out a central rectangular cavity from the top, leaving a wall thickness of 2mm on the top and bottom edges and 12mm on the left and right sides. The cavity should be 2mm deep. In the...
$fs = 0.1; fudge = 0.01; holefudge = 0.7; boltdia = 6.1; screwdia = 3.5; thick = 2; nutthick = 5.5; nutsquare = 12; basew = 50; based = 25; baseh = nutthick + thick; insetw = 12; insetd = thick; inseth = thick; screwspacing = 38.7; screw1 = [basew / 2 - screwspacing / 2, based /2, fudge]; screw2 = screw1 + [screwspacin...
glb/cad_b25fc0f5a670.glb
Create a Raspberry Pi camera mount adapter starting with a solid rectangular base block measuring 65mm in length, 35mm in width, and 8mm in height. Carve out a central rectangular cavity from the bottom of the block, leaving a wall thickness of 2mm on all four sides and a floor thickness of 2mm, resulting in an interna...
$fs = 0.1; fudge = 0.01; thick = 2; baselength = 65; basewidth = 35; baseheight = 8.0; screwspacing = 38.7; screwdia = 3.5; screw1 = [baselength / 2 - screwspacing / 2, basewidth /2, fudge]; screw2 = screw1 + [screwspacing, 0, 0]; union() { difference() { cube([baselength, basewidth, baseheight]); translate...
glb/cad_6603e6c51d49.glb
Create a Ninja Star with a total diameter of 40mm and a uniform thickness of 1.5mm. The star is constructed from four symmetrical triangular blades radiating from the center. Each blade is formed by a hull connecting a central circle of 6mm radius to a point extending outward, where the sharp tip of each blade reaches ...
pointShape = "triangle"; numPoints = 4; starDiameter = 40; bladearmRatio = 0.7; thickness = 1.5; polygonCutoutSides = 35; cutoutSideLength = 5; centercutoutDiameterRatio = 0.6; centerPolygonSidesCount = 3; starRadius = starDiameter/2; bladeLength = starRadius*bladearmRatio; centerRadius = starRadius*(1 - bla...
glb/cad_9c359bcfd5ee.glb
Create a Single Bottle Handle designed to fit a bottle neck with a diameter of 25.9mm. Start by creating a central disc with a radius of 18.95mm and a height of 5mm, centered on the origin. Add a larger horizontal cylinder crossing through the center of this disc with a radius of 10mm and a total length of 90mm. To for...
neckdiameter=25.9; difference() { union() { cylinder(r=neckdiameter/2+6,h=5, center=true); difference(){ translate([0,0,-1.5]) rotate([90,0,0]) cylinder(r=10,h=neckdiameter+64, center=true); union() { translate([0,0,2.5]) cylinder(d1=neckdiameter+7,d2=neckdia...
glb/cad_f2ff2058620f.glb
Create a bracket for a welding headgear mod. Start with a central cylinder 25.5mm in diameter and 7.75mm in height, centered on the origin. Remove a concentric inner cylinder with a diameter of 13.25mm and a height of 8mm. Add a thin disc 1.5mm thick with a 15.4mm diameter, centered at a height of 3.3mm. Add another ...
$fn=50; module _Bracket(){ difference(){ cylinder(d=25.5,h=7.75,center=true); cylinder(d=13.25,h=8,center=true); translate([0,0,3.3])cylinder(d=15.4,h=1.5,center=true); translate([0,0,4])cylinder(d=23,h=.5,center=true); for (n = [1:28]){ rotate([0,0,n*(360/28)] ){ ...
glb/cad_3c9e9d078923.glb
Create a Garden Stake Saddle by first constructing a hollow vertical cylinder with an outer radius of 12mm, a height of 25mm, and a wall thickness of 2mm. Centered atop this cylinder, add a horizontal saddle shaped as a partial ring. This saddle is formed by a cylinder with a radius of 15mm and a width of 5mm, which is...
cr = 12; ch = 25; sr = 15; sw = 5; th = 2; difference() { cylinder(ch, r=cr); cylinder(ch-th, r=cr-th); } translate([-(sw/2),0,ch+sr-th + 0.01]) { rotate(a=[0,90,0]) { difference() { cylinder(sw, r=sr); translate([0,0,-1]) cylinder(sw+2, r=sr-th); ...
glb/cad_3d1c5d4a2d35.glb
Create a rice paddle holder with a main body measuring 25mm wide, 35mm high, and 10mm thick. The overall shape is a rounded rectangular block with a curved, bowl-like bottom. Carve a slot through the center of the body to hold the paddle. This slot should be 16mm high. The slot's footprint is a tapered polygon that i...
holderwidth = 25; holderheight = 35; holderthickness = 10; slotwidth = 11; slotnarrowwidth=5; slotdepth = 2; slotheight = 16; module slot() { slop = (slotwidth-slotnarrowwidth)/2; linear_extrude(slotheight) polygon(points = [[0,0], [slop, slotdepth], [slotw...
glb/cad_b342fc94e370.glb
Create an invisible mirror mount by starting with a base that combines a rectangular block and a cylinder. The rectangular block should be 50mm wide, 30mm high, and 7mm deep. Merge this with a cylinder that has a 45mm diameter and a thickness of 1.5mm, positioned so the cylinder's center is at x=22.5mm and y=4.5mm. H...
circle_d=45; width=50; height=30; depth=7; thikness=1.5; tooth_count=8; tooth_width=width/ (tooth_count +2); tooth_height=height - (tooth_width *2); module box(){ difference() { union() { cube([width,height,depth]); translate([circle_d/2,circle_d/10,0]) cylinder(h=thikness, r=circle_d); } translate([thik...
glb/cad_c8566143bc10.glb
Create a 1:5 extruder gear housing. Start with a base rectangular block with rounded corners (radius 3mm), measuring 100mm in height, 55mm in width, and approximately 18.3mm in thickness. In the base, create a central cylindrical hole with a diameter of 10.2mm and a height of 5mm to accommodate an MR105ZZ bearing. Po...
$fn=100; distance=45; gear_w=55; gear_h=100; curve=3; motor_x=23; motor_screw=31; bearing_h=4; bearing_d=10; pulley_h=16.3+2; m3_d_hex=6.5; module motor(){ hull(){ translate([motor_x,gear_w/2,-1]) cylinder(d=14, h=50); translate([motor_x+5,gear_w/2,-1]) cylinder(d=14, h=50); } hull(){ translate([motor_x+motor_screw/2,...
glb/cad_5e53e9666e27.glb
Create a 1:5 extruder gear housing. Start with a base rectangular block with rounded corners (radius 3mm), measuring 100mm in height and 55mm in width. Incorporate a motor mounting area and a pulley system. Create a central cavity to accommodate a 16-tooth aluminum pulley and two MR105ZZ bearings. The bearing seats s...
$fn=100; distance=45; gear_w=55; gear_h=100; curve=3; motor_x=23; motor_screw=31; bearing_h=4; bearing_d1=13+0.2; bearing_d2=15+0.2; pulley_h=16.3+2; m3_d_hex=6.5; module motor(){ hull(){ translate([motor_x,gear_w/2,-1]) cylinder(d=14, h=50); translate([motor_x+5,gear_w/2,-1]) cylinder(d=14, h=50); } hull(){ translate...
glb/cad_cd3f6ae630be.glb
Create a Z-Rod Constraint Brass Bushing consisting of a cylindrical housing attached to a rectangular block. Start by creating a main cylinder with an outer diameter of 14.3mm and a height of 28.6mm, using a 20-facet resolution. Bore a central hole through this cylinder with a diameter of 8mm. Attached to the side of...
include <configuration.scad> outer_diameter = m8_diameter/2+3.3; shaft_separation = 30; bearing_od = 12.6; bearing_id = m8_diameter; bearing_rodhole_d = bearing_id + 3; module origclamp(){ difference(){ union(){ translate([outer_diameter, outer_diameter, 0])cylinder(h =outer_diameter*2, r = outer_diamet...
glb/cad_34c7b835fde1.glb
Create a Pepper Grinder Funnel consisting of three stacked concentric cylindrical sections. Start with a base ring that has an outer diameter of 24mm, an inner diameter of 22mm, and a height of 10mm. Directly on top of this base, add a second ring with an outer diameter of 50mm, an inner diameter of 22mm, and a height ...
include <MCAD/boxes.scad> color("orange") translate([0,0,0]) linear_extrude(height=10,scale=1.0) difference(){circle(12);circle(11.0);} color("blue") translate([0,0,10]) linear_extrude(height=2.5,scale=1.0) difference(){circle(25);circle(11.0);} color("red") tr...
glb/cad_91211c50da91.glb
Create a Prusa X Carriage with a slim LM8UU holder. Start with a central base plate that is 56mm wide, 62mm long, and 3.2mm thick. In the center of this plate, create a vertical cylindrical hole with a radius of 21mm. Position four LM8UU bearing holders on the base plate: two at x=25mm and two at x=-25mm, spaced 28mm ...
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(); belt_clamp_channel(); simonkuehling_x_carriage(with_fanmount=true); module simonkuehling_x_carriage(with...
glb/cad_19b4c1a25c0b.glb
Create a kids screwdriver toy. Start by constructing a main handle consisting of a cylinder 80mm tall with a diameter of 8mm. At the top of this handle, add a smaller cylinder 8mm tall with a 4mm radius. To create the grip, remove four rectangular sections from the handle's upper portion; each cutout should be a 10mm b...
$fn=50; cylinder(50,15/2,15/2); difference(){ sphere(15/2); translate([0,0,-8]) cube([20,20,10],center=true); } translate([0,0,50]) sphere(15/2); for( r=[0:60:360]){ rotate(r,[0,0,1]) translate([7,0,0]) hull(){ translate([0,0,5]) sphere(5/2); translate([0,0,45]) sphere(5/2); } } difference(){ union(){ cylinder(80,8/...
glb/cad_b25075999a4a.glb