Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Pillar Clip designed to fit a square pillar. Start by creating a flat square plate with a thickness of 4mm and an overall outer width and length of 111mm. From the center of this plate, remove a square section measuring 103mm by 103mm to create a hollow frame with walls 4mm thick. At two adjacent corners of th...
saeule = 100; toleranz = 1.5; dicke = 4; $fn = 60; difference() { union() { cube([ saeule + ( toleranz * 2 ) + ( dicke * 2 ), saeule + ( toleranz * 2 ) + ( dicke * 2 ), dicke ]); translate([ -2, 1 + dicke, 0 ]) { difference() { cylinder...
glb/cad_1093857e5576.glb
Create a protective bumper for a powerbank by constructing a rounded rectangular sleeve. Start with a main outer frame created by the hull of two cylinders with a diameter of 26mm and a height of 12mm, positioned 28mm apart along the x-axis. Apply a 2mm radius fillet to all exterior edges of this frame. Inside this f...
BnkD=22; BnkW=78; wall=2; ht=10; HoleSize=7; round=2; e=0.01; $fn=48; difference() { frame(); hull() { for(a=[(BnkW-BnkD)/2,-(BnkW-BnkD)/2]) { translate([a,0,wall]) cylinder(d=BnkD, h=ht+1); } } hull() { for(a=[(BnkW-BnkD)/2,-(BnkW-B...
glb/cad_6061f952931f.glb
Create an ultrasonic sensor mount for an SG90 servo with a total thickness of 2mm. The main body is a flat plate featuring a rounded upper section and a rectangular base. At the top, create two circular holes for the transducers, each 16mm in diameter, spaced 25.4mm apart from center to center. The plate extends down...
eyes_width=25.4; eyes_diameter=16; mount_lenght=41.4; mount_width=17; thickness=2; face=1; $fn=20; difference(){ union(){ linear_extrude(height = thickness, convexity = 10, $fn=60) hull() { translate([-eyes_width/2,0,0])circle(15.5); translate([eyes_width/2,0,0]) circle(15.5); } ...
glb/cad_e882ff9dfcc4.glb
Create a curved lithophane panel named "pk 45 left". Start with a base rectangular plate measuring 99mm by 99mm. The plate should have a variable thickness that creates a 3D image surface based on a 100x100 pixel map, with a minimum base thickness of 0.5mm (calculated as 2.5 layers at 0.2mm layer height) and a maximum ...
bend_factor=1; min_lay=2.5; sz=100; num_face=20; xtra=0; image_file = "image-surface.dat"; hole_diameter = 0; hole_border = 0; lithophane_border = 0; layer_height = 0.2; number_of_layers = 20; s=0.01; length = 99; width = 99; z=sz/num_face; min_layer_height = layer_height*min_lay; hole_radius = hole_diameter...
glb/cad_bc201743af86.glb
Create a 3D model of a pk 45 Right. The object is a curved, segmented plate. Start by creating a series of 30 thin, rectangular slices, each 100mm in length and 100mm in width. Arrange these slices so they are slightly offset and rotated relative to one another to form a curved surface with a total arc of 45 degrees. ...
bend_factor=1; min_lay=2.5; sz=100; num_face=20; xtra=0; image_file = "image-surface.dat"; hole_diameter = 0; hole_border = 0; lithophane_border = 0; layer_height = 0.2; number_of_layers = 20; s=0.01; length = 99; width = 99; z=sz/num_face; min_layer_height = layer_height*min_lay; hole_radius = hole_diameter...
glb/cad_e974fafadc7c.glb
Create a customizable hinge consisting of two mirrored parts. Each part begins with a rectangular leaf measuring 30mm wide, 4mm thick, and 60mm high. At one end of each leaf, attach a semi-cylindrical knuckle with a diameter of 8mm (twice the leaf thickness) and a height of 30mm. The knuckle on one part should be a s...
hinge_height = 60; leaf_width=30; leaf_gauge=4; screw_hole_diameter=5; screw_hole_offset=0; pin_hole_gap=1; gap_between_parts_X=-40; gap_between_parts_Y=20; part = "both"; leaf_height=hinge_height; knuckle_diameter=leaf_gauge*2; knuckle_y_offset = -(knuckle_diameter/2-leaf_gauge/2); pin_diameter=knuckle_diamet...
glb/cad_2e12f8536c46.glb
Create a 3D model of a 1010 Fractional T-Slot aluminum extrusion profile with a length of 100mm. Start with a square base of 25.4mm by 25.4mm, applying a corner radius of 1.27mm to the outer profile. From the center of the profile, subtract a vertical cylindrical hole with a radius of 2.54mm. On each of the four oute...
minkR_TS = 0.04*25.4; minkR_IC = 0.075*25.4; minkR_PF = 0.05*25.4; 1010Profile(100); module fillet(rad){ translate([-rad,-rad,0]) difference(){ translate([0,0,0]) square([rad+0.01,rad+0.01]); circle(r=rad,center=true,$fn=32); } } module insideCutout(){ minkowski(){ translate([0,0,0]) circle(r=minkR_IC,cent...
glb/cad_2de4306ec17a.glb
Create a headphone hanger part consisting of a curved main body with a central rectangular block. Start with a curved arm formed by a 36-sided cylinder with an outer radius of 34mm and an inner radius of 30mm, and a thickness of 6mm. This curved section should be truncated to form a semi-circular arc. At the center of...
headphone_hanger(); module headphone_hanger() { holes_not_nubs = true; difference() { union() { cube([14,17,6], center=true); intersection() { translate([0,0,2]) cube([14,17,10], center=true); translate([0,0,0]) rotate([-15,0,0]) cube([14,19,6], center=true); } } translate([0,-1.5,0]) rotate(...
glb/cad_1a1d6e6029b9.glb
Create a Signholderholder designed to mount a sign holder onto a cylindrical bar. Start by creating a main body that is a cube with a width and depth of 49.4mm and a total height of 121.4mm. At the base of this body, create a semi-cylindrical cutout with a radius of 12.7mm to allow the object to snap onto a bar of th...
sign_holder_depth=96; sign_holder_thickness=1.7; bar_dia=25.4; wall=12; hanger_space=15; wiggle=0.8; inch=25.4; holder_width = bar_dia+(wiggle+wall)*2; holder_height = 90 +(wiggle+wall)*2; module rack_top(w=0.0) { rotate([0,90,0]) cylinder(r=bar_dia/2+w, h=150, center=true, $fn=22); } module rack_bottom(w=...
glb/cad_300db908b512.glb
Create an SG90 servo mount by starting with a base plate that is 24mm wide, 33mm long, and 4mm thick, with rounded corners of radius 2mm. On top of this base, add a central rectangular block that is 12mm wide, 33mm long, and 16mm high, positioned to leave 6mm margins on the left and right sides. Carve out a large cen...
$fn=20; difference(){ union(){ minkowski(){ translate([2,2,0]) cube([20,29,2]); cylinder(r=2); } translate([6,0,0]) cube([12,33,16]); } translate([5.5,5-0.2,-1]) cube([13,23+0.4,20]); translate([2.75,2.75,-1]) cylinder(h=20, r=1.8); translate([24-2.7...
glb/cad_d03efede76da.glb
Create a bracket for a 12mm micro motor with a metal gearbox. The main body is a C-shaped housing with an interior cavity measuring 12mm in length, 12.5mm in width, and 10mm in height. The walls of this housing are 3mm thick. At the open end of the C-shape, integrate a mounting flange that is 4mm thick and 26mm wide. ...
lenght=12; nuts=4.4; $fn=30; module inside(){ difference(){ union(){ translate([10,0,4]) rotate([0,90,0]) minkowski(){ cube([6,6.5,30], center=true); cylinder(r=3); } } } } module plate(){ difference(){ union(){ ...
glb/cad_950b4f9d9640.glb
Create a parametric sofa foot by starting with a conical frustum that is 76mm tall, with a bottom diameter of 28mm and a top diameter of 42mm. From the top center of this shape, remove a cylindrical hole with a diameter of 34mm that extends 18mm deep into the body. To secure the foot, create four small screw holes, eac...
heigh_foot=76; d_botton=28; d_upper=42; d_hole_foot=34; hole_depth=18; d_screws=3; heigh_screws=67; n_of_screws=4; difference(){ difference() { cylinder(h=heigh_foot, d1=d_botton, d2=d_upper,$fn=200); translate([0,0,heigh_foot-hole_depth]) cylinder(h=heigh_foot, d=d_hole_foot,$fn=200); } i=0; for(i=[0:(360/n_o...
glb/cad_845d988e5ff0.glb
Create a customizable propeller consisting of a central hub, radiating blades, and an outer ring. Start by creating a thin outer ring with an outside diameter of 150mm, a height of 10mm, and a wall thickness of 1.5mm. At the center of the model, place a cylindrical post with a diameter of 15mm and a total height of 1...
propD=150; propZ=10; propBladeW=6; propBladeT=2; propBladeP=35; propBladeNum=8; ringT=1.5; centerD=15; centerHole=8; centerPost=4; propR=propD/2; centerR=centerD/2; $fa=0.1; propeller(true); module propeller(ring=true) { if (ring==true) { difference() { cylinder(r=propR, h=prop...
glb/cad_05c579645c88.glb
Create a gear lever knob by starting with a sphere that has a radius of 22.5mm, centered 20mm above the origin. Cut the bottom half of this sphere away using a cube to create a hemispherical dome. Attach a cylinder to the base of this dome with a diameter of 25mm and a height of 45mm. This cylinder should feature a knu...
include <ISOThread.scad>; include<knurledFinishLib.scad>; difference(){ union(){ difference(){ translate([0,0,20]) sphere(22.5,$fn=100); cube([50,50,50],center=true); }; knurled_cyl(25,45,4,4,2,5,40); }; translate([0,0,-1]) cylinder(24,6,6); translate([0,0,-1]) cylinder(4,7,7); }; transl...
glb/cad_fbf2edb783cb.glb
Create a protective mobile phone case for a Wiko Pure 4G, consisting of a bottom shell and a top cover designed to be screwed together with M3 screws. For the bottom shell, create a rounded rectangular box with exterior dimensions of 81.1mm x 153.3mm x 13.4mm. Hollow out the center to create a cavity for the phone me...
$fs=.2; include<MCAD\\boxes.scad> top=false; bottom=true; spx=73.1; spy=145.3; spz=9.4; marge=3; paroismax=4; paroismin=2; vis=3.5/2; rvis=2.5/2; rtvis=6/2; bvy=28; bvl=20; bvz=1; bvx=2.3; bmy=54.5; bml=10; bmz=1; bmx=2.3; usbx=54; usbl=13; usbz=1; usbh=7; micx=62.8; micd=3/2; micz=4-2.29; jackx=23; jackd=4....
glb/cad_177c61f04f77.glb
Create a Greg's wade extruder filaflex tensor by starting with a rectangular block measuring 1.5mm in width, 25mm in length, and 8mm in height. From this main body, remove two cylindrical holes, each with a diameter of 4mm and a depth of 3mm. Position the first hole centered along the length, with its axis rotated 90 d...
difference(){ cube([1.5,25,8]); color("red"){ rotate([0,90,0]) translate([-3,4.5,-1]) cylinder(4,3,3, $fn=30); translate([-2,1.5,-2.75]) cube([6,6,6]); rotate([0,90,0]) translate([-3,20.5,-1]) cylinder(4,3,3, $fn=30); translate([-2,17.5,-2.75]) cube([6,6,6]); } } translate([0,0,8]) cube([13,25,2]); d...
glb/cad_242471272b98.glb
Create a center battery plate for an SCX10. Start with a main rectangular plate measuring 70mm wide, 50mm high, and 2mm thick. Tilt the plate by rotating it 14 degrees along its longitudinal axis. Cut a rectangular slot 20mm wide and 10mm deep into the center of the plate, extending from both the top and bottom edges. ...
$fn = 360; $arm_length = 41; $arm_width = 10; $arm_thickness = 3; $plate_height = 50; $plate_width = 70; $plate_thickness = 2; $ears = "YES"; $ear_width = 4; $ear_height = 8; rotate([104, 0, 0]) { union() { plate($plate_width, $plate_height, $plate_thickness); if ($ears == "YES") { translate...
glb/cad_e3b69fe186eb.glb
Create a Z-axis coupler for a stepper motor. Start with a base consisting of a 30-facet extruded profile that combines a cylinder of radius 9mm and height 8mm with an adjacent cylinder of radius 10mm and height 7mm, topped with a 1mm radius sphere at the outer edge. Centered on the Z-axis, add a 12mm high cylinder with...
include <configuration.scad> module pulley() { module spur() { linear_extrude(height=20) polygon([[-1,-1.4],[-1,1.4],[1,0.8],[1,-0.8]],[[0,1,2,3,0]]); } difference() { union() { rotate_extrude($fn=30) { square([9,8]); square([10,7]); translate([9,7]) circle(1); } translate([...
glb/cad_ce095fafb75c.glb
Create a Z-axis coupler consisting of a main cylindrical body with a flat rectangular extension. The main body is a cylinder with a diameter of 11.3mm and a height of 10mm, featuring a 20-sided facet resolution. This cylinder has a concentric vertical hole running through its center with a diameter of 8mm. Centered w...
include <configuration.scad> outer_diameter = m8_diameter/2+3.3; shaft_separation = 27; bearing_od = 22.6; bearing_id = m8_diameter; bearing_rodhole_d = bearing_id + 9; module origclamp(){ difference(){ union(){ translate([outer_diameter, outer_diameter, 0])cylinder(h =outer_diameter*1.3, r = outer_diame...
glb/cad_d0947cd273d2.glb
Create a Z-axis coupler consisting of a main cylindrical body with a central bore and two transverse holes for set screws. The main body is formed by rotating a profile around the Z-axis to create a base with a radius of 9mm and a height of 8mm, topped with a smaller 1mm radius rounded edge. Centered on the top face is...
include <configuration.scad> module pulley() { module spur() { linear_extrude(height=20) polygon([[-1,-1.4],[-1,1.4],[1,0.8],[1,-0.8]],[[0,1,2,3,0]]); } difference() { union() { rotate_extrude($fn=30) { square([9,8]); square([10,7]); translate([9,7]) circle(1); } translate([...
glb/cad_53e631116f01.glb
Create a Z-axis coupler by constructing a hexagonal prism with a height of 8mm and a radius of 9mm. Hollow out the center of this prism by removing a smaller hexagonal cylinder from the middle, which should have a radius of 7.7mm and a height of 9mm, positioned so that it starts 1mm from the base and extends through th...
difference(){ translate([0,0,0])cylinder(r=9.0,h=8,$fn=6); union(){ translate([0,0,1])cylinder(r=7.7,h=9,$fn=6); } }
glb/cad_8f6f981def8d.glb
Create a Z-axis coupler for a stepper motor. Start with a main cylindrical body created by rotating a profile consisting of a 10mm by 10mm square and an adjacent 11mm by 10mm square, with a small 1mm radius circle positioned at the outer edge (9mm from the center and 7mm up from the base). Add a central shaft feature...
include <configuration.scad> module pulley() { module spur() { linear_extrude(height=20) polygon([[-1,-1.4],[-1,1.4],[1,0.8],[1,-0.8]],[[0,1,2,3,0]]); } difference() { union() { rotate_extrude($fn=30) { square([10,10]); square([11,10]); translate([9,7]) circle(1); } translat...
glb/cad_21d7fe6da5ae.glb
Create a Kossel Mini Carriage by combining a central body with two symmetrical mounting horns and integrated belt clips. The main body is a rectangular block 27mm wide, 43mm long, and 6mm thick. Attached to the sides are two horns, each formed by the intersection of a 40mm wide by 24mm long by 13mm thick block and a co...
include <configuration.scad>; belt_width = 6; belt_thickness = 1.0 - 0.06; belt_pitch = 2.0; tooth_radius = 0.8; belt_offset = 1; clamp_width = 11.5; clamp_length = 21; clamp_base = 1; clamp_body = 1.5; path_height = belt_width + 1; clamp_thickness = path_height+clamp_base; groove=0.8; $fn = 40; clamp_outside_radiu...
glb/cad_813a7feacc6f.glb
Create a Lightsaber Chalk Holder. The main body is a vertical assembly starting with a base cylinder of radius 20mm and height 80mm. The bottom section of this cylinder features a series of concentric, ring-like ridges created by subtracting several trapezoidal rings from the outer wall. Above the ridged section, the ...
screw = 3; module trapezoid( r1 = 2, r2 =3, y = 45, a = 45, h = 10) { linear_extrude(height =h) intersection() { polygon( points = [ [r1*cos(y/2), r1*sin(y/2)], [r1*(cos(y/2)+ sin(y/2) / sin(a/2)), 0], [r1*cos(-y/2), r1*sin(-y/2)] ], paths = [ [0,1,2] ], convexity = 10); difference() { circle(r = r2, co...
glb/cad_f7a0cac3432a.glb
Create a Lightsaber Chalk Holder knob by constructing a central body and a decorative base. Start with a revolved profile that creates a stepped, conical shape: the base starts at a radius of 2.5mm and rises to 3mm height, then expands to a radius of 5.5mm for another 3mm, then tapers back to a radius of 4.5mm over 7.5...
phi =12 ; r_screw =3/2 ; r_screw_head = 5/2; r_top =6/2; r_bottom = 9/2; r_primitive =11/2 ; h1 =3 ; h2 = 7.5; h3 = 4; difference() { union() { rotate_extrude($fn = 50) polygon( points = [ [r_screw_head,0], [r_primitive,0], [r_primitive,h1],[r_bottom, h1],[r_top, h2],[r_screw, h2], [r_screw, h3],[r_screw_hea...
glb/cad_c50e6305202b.glb
Create a circular text plate for the "Earth Without Art" quote. Start by creating a thin circular base plate with a radius of 50mm and a thickness of 1mm. On top of this base, add extruded text with a height of 4mm using a bold monospace font. Arrange the first phrase, "THE EARTH", in a circle with a radius of 40mm, ...
use <text_on\text_on.scad> $fn=100; H=4; t=1; r=50; t_r=40; t_size=10; font="Liberation Mono:style=bold"; color("DeepSkyBlue") { text_on_circle("THE EARTH",r=t_r,size=t_size,extrusion_height=H,font=font,spacing=1.5); rotate(45) text_extrude("art+art",size=t_size-1,extrusion_height=H,font=font); rotate(-4...
glb/cad_09926502e75f.glb
Create a Belt Clamp and Tensioner. Start with a main rectangular body that is 14mm wide, 11mm deep, and 7mm tall. At the center of the body, create a vertical cylindrical hole with a radius of 1.65mm to accommodate an M3 screw. Around this hole, create a hexagonal recessed pocket with a radius of 3.65mm and a height ...
extra_radius = 0.1; m3_nut_od = 6.1; m3_nut_radius = m3_nut_od/2 + 0.2 + extra_radius; m3_washer_radius = 3.5 + extra_radius; m3_major = 2.85; m3_radius = m3_major/2 + extra_radius; m3_wide_radius = m3_major/2 + extra_radius + 0.2; belt_width = 6; belt_thickness = 1.0 - 0.12; belt_pitch = 2.0; tooth_radius = 0.8; be...
glb/cad_8f67589abf15.glb
Create a NEMA 17 stepper motor spacer plate with a total height of 10mm. Start with a square base of 42.3mm by 42.3mm. The corners of this base must be chamfered by 3mm. Cut four circular mounting holes through the entire 10mm thickness, each with a diameter of 3.2mm. Position these holes such that they are centered ...
HEIGHT= 10.0; BASE_SIZE = 42.3; BASE_CHAMFER = 3.0; HOLE_DISTANCE = 31.0; HOLE_DIAMETER = 3.2; FIT_DIAMETER = 22.0; module plate(){ P = [ 0, BASE_CHAMFER, (BASE_SIZE - BASE_CHAMFER), BASE_SIZE, ]; H = [ (BASE_SIZE - HOLE_DISTANCE) / 2.0, BASE_SIZE - ((...
glb/cad_354262d043dd.glb
Create a Film Holder for 110 films consisting of a base and a cover. For the base, create a rectangular block 150mm long, 62mm wide, and 5.75mm high. Round the vertical edges with a 2mm radius. In the center of the top face, remove a rectangular section 130mm long and 16mm wide with a depth of 3mm to create a channel...
numberOfWindows = 6; saveMaterial = "false"; height = 5.75; innerHeight = 3; minkRadius = 2; totalWidth = 62; filmWidth = 16; filmThickness = 0.75; windowLength = 20; windowOffset = 5; windowDistance = 25.4; windowGap = 0.4; notchSize = 5; notchHeight = height; coverFrameSizeX = 15; coverFrameSizeY = 7; coverGap ...
glb/cad_61daa5f3d2b1.glb
Create a customizable display platform with a base footprint of 5mm by 5mm and a height of 0.5mm. The platform features angled side walls sloping at 50 degrees. On the top surface, create a centered rectangular cutout. The outer boundary of this cutout is defined by a margin of 0.15mm from the edges. The inner dimens...
lenght = 5; width = 5; height = 0.5; degree = 50; depth = .1; margin = .15; innerWidth = .15; marginSide = .1; depthSide = .1; offset = tan(degree)*height; difference() { cube([lenght,width,height]); rotate([-degree,0,0]) { translate([-1,-1*height*width,0]) { cube([lenght+2,height*width,height*10]);...
glb/cad_e8738458463a.glb
Create a Wilmington Robotic EXoskeleton (WREX) Arm linkage. Start with a rectangular base measuring 140mm in length, 12.7mm in width, and 6.35mm in height. Flatten the bottom of this base by removing a section from the underside, leaving a thin upper slab. At both ends of the linkage, create rounded caps. Each cap is ...
length=5.5; scale([25.4,25.4,25.4]){ difference(){ union(){ arm(); holes(); } thru_hole(); rounds(); } } module arm(){ difference(){ cube([length,0.5,0.25]); translate([0,-0.25,-0.35]) cube([length,0.8,0.35]); } } module holes(){ translate([length...
glb/cad_0e691a0fbb05.glb
Create a shoulder member for a robotic exoskeleton arm. Start by constructing a rectangular base measuring 76.2mm in length, 3.175mm in width, and 14.605mm in height. At each end of this rectangular base, add a cylinder with a radius of 3.81mm and a height of 14.605mm, centered along the width of the member. Finally, c...
length=3; scale([25.4,25.4,25.4]){ difference(){ member(); holes(); } } module member(){ cube([length,0.25,0.575]); translate([0,0.125,0]){ cylinder(r=0.15,h=0.575,$fn=50); translate([length,0,0]) cylinder(r=0.15,h=0.575,$fn=50); } } module holes(){ translate([0,0.125,0]){ cylinder...
glb/cad_433aae77505c.glb
Create a Holder Dryer by constructing a base rectangular block 145mm wide, 7.5mm deep, and 15mm high, topped with a cylinder of the same width and 7.5mm radius lying horizontally along the top edge. Carve six identical vertical slots into the body, each starting 23mm from the left edge and spaced 20mm apart. Each slot ...
width = 145; space = 10; count = 6; distance=20; screw = 4; difference(){ union(){ cube([width,7.5,15]); translate([0,0,7.5]) rotate([0,90,0]) cylinder(width, 7.5, 7.5); } union(){ for(i = [0:count-1]){ translate([23+i*distance,-2,-0.1]) rotate([0,0,90]) cylinder(10, 6, 5);...
glb/cad_6ca884d2f6d4.glb
Create a Thingomatic X stage idler tensioner by starting with a rectangular main body measuring 59.6mm in length, 25.87mm in width, and 4.98mm in height. Remove two vertical cylindrical rod holes with a radius of 5mm, positioned at x=5.28mm and x=49.2mm, both extending 40mm through the body. Create a horizontal pulle...
difference(){ body(59.6, 25.87, 4.98, 19, 14); translate([5.28,11.7,-1])rods(); translate([38,0,8.8])pullyaxis() ; translate([25,13,0])tensionScrew(); translate([15,4.98,28])endStopScrews() ; #translate([30.5,5.5,-0.1])pullySpace(); translate([38,1.3,8.8])bearing(); translate([38,31.8,8.8])bearing();...
glb/cad_ef15be46dcc5.glb
Create a ball caster housing with a total height of 20mm. Start by forming the main body: a central cylinder with a radius of 9.6mm and a height of 6mm, topped with a sphere of the same 9.6mm radius. Extend the base outward into a flat mounting plate that is 3mm thick, spanning 30mm between the centers of two mounting ...
ball_diameter=16; caster_height=20; mountingHoles_width=30; mountingScrew_dia=3; nozzle_dia=0.4; washer_dia=16; washer_thickness=1; $fn=60; difference(){ union(){ translate([0,0,0]) cylinder(h=ball_diameter/2-2, r=ball_diameter/2+4*nozzle_dia); translate([0,0,ball_diameter/2-2]) sphere(r=ball_...
glb/cad_caee51577331.glb
Create a Science Olympiad Wright Stuff Aerofoil Rib. The object is a thin, curved wing profile with a total length of 50mm. Construct the shape by creating two stacked, mirrored profiles that form a slender, curved blade. The upper surface follows a power-law curve defined by the function f(x) = x^1.6, while the lower ...
length = 50; shape = 1.6; height = 1.588; width = .8; thickness = 1.1; brimthickness = .3; reverse = false; function f(x) = pow(x,shape); module aerofoil(a,b,w,h,res) { xscale = (b-a)/res; for(x = [a:xscale:b]) { translate([x*x,x,0]) { rotate([0,0,45]) cube([xscale,w,h]); } } } ...
glb/cad_a9b405834f40.glb
Create a FrameGrabber hook by extruding a specific 2D profile to a height of 15mm. Start with a main rectangular base that is 60mm long and 5mm thick. At the left end, attach a perpendicular arm extending downwards by 30mm with a width of 5mm, forming an L-shape. At the outer corner where these two rectangles meet, cre...
thickness=5; length=60; height=10; depth=30; circ=8; extr=15; linear_extrude(height = extr) { union() { square([length,thickness], center =false); translate([-thickness,-depth+thickness,0]){ square([thickness, depth], center =false); } } intersection() { transla...
glb/cad_358c607815be.glb
Create a Torsion Polygonal Funnel consisting of three stacked, twisting sections with a wall thickness of 0.8mm. Each section is based on a regular polygon with 5 sides. Start with a base section 5mm high with an outer radius of 40mm. Extrude this shape upward while applying a twist of -90 degrees over the total heig...
Sides=5; R1=40; R2=10; R3=9; H0=5; H1=30; H2=25; thick=0.8; Angle=-90; LayerH=0.1; torsion=Angle/(H0+H1+H2); linear_extrude(height = H0, twist = torsion*H0, slices = H0/LayerH, scale = 1) { rotate ( [0,0,torsion*H0]) difference () { circle(r=R1,$fn=Sides); circle(r=R1-thick,$fn=Sides); } } translate...
glb/cad_48f02b59cc06.glb
Create a shelve maker consisting of a series of interlocking panels. The overall assembly is based on a grid with a total height of 345mm, a total width of 359mm, and a depth of 150mm, using a material thickness of 4mm. Construct three horizontal panels, each 359mm wide and 150mm deep. In each panel, create three rect...
height = 345; width = 359; depth = 150; HX = 3; HY = 3; thickness = 4; topBottom=false; backConnectorLength=2; backConnectorOversize=0.1; backConnectWidthHFaktor=0.4; backConnectWidthVFaktor=0.4; partDistance=20; space=thickness+backConnectorLength+partDistance; smallWidth=width-thickness; backConnectWidthH=...
glb/cad_7667f7f88089.glb
Create a Customizable U-Hook with a total thickness of 25mm. The main body is a U-shaped hook with an internal diameter of 35mm. The bottom of the U is formed by a semi-cylindrical base with a radius of 7mm (one-fifth of the hook size), while the outer edges of the U-shape are rounded with a radius of 8.75mm (one-quart...
bracket=0; bracket_round=0; second_hook=1; hook_size=35; thickness=25; second_hook_lenght=30; second_hook_angle=55; spacer_1=20; spacer_2=10; spacer_3=10; spacer_4=10; screw_diam=3; screw_head=8; screw_head_h=3; tolerance=0.5; bracket_size=40; stop_lenght=15; bracket_stiffness=2.5; safety_screw=0; ex...
glb/cad_0ee5ef906139.glb
Create a trekking pole strap clip with a total height of 9mm. The main body consists of two symmetrical C-shaped holders positioned 26mm apart. Each holder is formed by a large cylinder with a radius of 11.925mm and a height of 9mm, from which a smaller concentric cylinder of radius 8.925mm and a square prism of 17.85m...
polediameter=17.85; poleseperation=26; wallthickness=1.5; height=9; straplength=24.5; strapwidth=2.45; strapheight=9; strapgap=3; strappercent=.75; straplongside=(straplength-strapgap)*strappercent; strapshortside=(straplength-strapgap)*(1-strappercent); diffextra=.1; translate([(poleseperation+polediameter)/2,0,0])...
glb/cad_4035957b4648.glb
Create a Birdstruder extruder drive block for a Makerbot mounting configuration. Start by creating the main extruder block. This is a rectangular body with a width of 26mm and a depth of 24mm. The block features a large cylindrical cutout through the center with an inner diameter of 13mm and an outer diameter of 36mm...
include <configuration.scad> layer_thickness = 0.30; filament_dia = 3; idler_bearing_dia = 23; idler_bearing_width = 8; idler_bite = 1.5; idler_bearing_extra_spacing = 1; idler_axis_clearance = 0.5; idler_axis_dia = 8+idler_axis_clearance; idler_screw_length = 30; idler_thickenss = 11; idler_ear_width = 6.5; idler_e...
glb/cad_c46c365845f2.glb
Create a strain relief bracket for a cable bundle with a total height of 5mm. Start by creating a solid shape that is the convex hull of two cylinders: a primary cylinder with a diameter of 18.2mm and a secondary cylinder with a diameter of 6.5mm positioned 11mm away from the center of the first along the y-axis. Fro...
$fn = 32; height = 5; cabledia = 15; screwdia = 3.3; thickness = 1.6; cyloffset = 11; throatangle = 60; difference() { hull() { cylinder(d=cabledia+thickness*2,h=height); translate([0,cyloffset,0]) cylinder(d=screwdia+thickness*2,h=height); } cylinder(d=cabledia,h=height+1); ...
glb/cad_6d8e772bcc54.glb
Create a strain relief bracket with a total height of 8mm. The main body is formed by the convex hull of two vertical cylinders: a larger one with a diameter of 18.2mm to hold a cable bundle, and a smaller one with a diameter of 6.5mm for a screw, positioned 11mm apart. The base of the bracket consists of two wider, ...
$fn = 32; height = 8; cabledia = 15; screwdia = 3.3; thickness = 1.6; cyloffset = 11; throatangle = 50; difference() { union() { hull() { cylinder(d=cabledia+thickness*2,h=height); translate([0,cyloffset,0]) cylinder(d=screwdia+thickness*2,h=height); } hull() { cy...
glb/cad_074ebad8ce3d.glb
Create a wall shelf for an Eero WiFi unit consisting of a horizontal platform and two supporting brackets. Start with a square platform 120mm wide, 120mm deep, and 8mm thick. Round the four corners of the platform with a 30mm radius. The top surface of the platform should be recessed; create a centered square indenta...
$fn = 64; platformsize = 120; platformradius = 30; platformthick = 8; bracketthick = 2.4; bracketheight = platformsize/3; bracketwidth = 15; screwdia = 3.5; inset1 = 3; inset2 = 10; module platform() { translate([0,0,platformthick/2]) difference() { roundedBox([platformsize,platformsize,platformthick],...
glb/cad_05132f87c34b.glb
Create a rechargeable battery storage holder with a total thickness of 15mm. The main body is a pill-shaped slab formed by the convex hull of two cylinders with a radius of 10.5mm, positioned at opposite ends of a row. Within this body, create eight vertical cylindrical holes for batteries, each with a radius of 7.5m...
use <Write.scad> num = 8; clearance = 3; clearance_between = 2; battery_r = 7.5; holder_r = battery_r+clearance; thickness = 15; markings_dist_from_center = (num/2-1)*(battery_r * 2 + clearance_between); total_length = 2*holder_r + (num-1) * (battery_r * 2 + clearance_between); module logo_base(thickness, size, ...
glb/cad_c461901733c2.glb
Create an Orange Holder consisting of a hollowed spherical shell, a set of spikes, and a handle. Start by creating a spherical shell with an outer radius of 6.3mm and an inner radius of 6mm. Carve out three large spherical voids from this shell, each with a radius of 6.93mm, positioned at coordinates (3.15, -3.15, 3.15...
$fs=.01; radius=6; thickness=radius/20; outer_radius=radius+thickness; base_radius=outer_radius/10; tip_radius=base_radius/3; handle_radius=outer_radius*.75; handle_thickness=outer_radius/10; handle_length=handle_thickness*4; module holder(){ difference(){ difference(){ sphere(r=outer_radius); sphere(r=radius); } un...
glb/cad_9066ff276913.glb
Create a music stand pint-glass holder. The main body is a tapered cylindrical sleeve with a height of 50mm. The interior of the sleeve is hollowed out to accommodate a music stand pole with a diameter of 25.5mm. The sleeve transitions into a larger conical cup designed to hold a glass. The bottom of this cup has a d...
$fs = 1; $fa = 6; bottleD = 65; glassDBottom = 60; glassDTop = 88; glassH = 135+13; standD = 24 + 1.5; holderHeight = 50; wallThickness = 2.5; gap = 2; x=[65, 41, 24]; module glass(inflate = 0) { cylinder(d1 = glassDBottom+inflate, d2 = glassDTop+inflate, h=glassH, center=false); } module bottle(inflate = 0) { cyli...
glb/cad_e18f2654b97f.glb
Create an X Wing Car rubber-propelled toy. Start with a central chassis base created by extruding a polygon with vertices at [-15,0], [-5,80], [-10,80], [-5,90], [5,90], [10,80], [5,80], and [15,0] to a height of 6mm. Add two symmetrical wings by extruding a polygon with vertices at [15,0], [50,0], [50,20], [45,20], ...
difference(){ union(){ translate([0,0,5]) difference(){ union(){ difference(){ translate([0,0,0])linear_extrude( height =15, center=false, convexity = 10, twist = 0, $fn = 10) { polygon(points = [[-15,0],[-5,80],[-10,80],[-5,90],[5,90],[10,80],[5,80],[15,0]] ,paths = [ [0,1,2,3,4,5,6,7]] );} translate ([12, 10,15+6])...
glb/cad_c481734cacda.glb
Create two identical wheels for an X-Wing Car. For each wheel, construct a cylinder with a height of 50mm and an outer radius of 13mm. Hollow out the center of each cylinder by removing a smaller concentric cylinder with a radius of 8mm and a height of 40mm, leaving a 5mm thick wall at the top and bottom faces. Finally...
module wheel (h, rext, raxis) { translate([0,0,0]) union(){ difference(){ translate([0,0,h/2]) cylinder(h=h, r=rext, $fn=50, center=true); translate([0,0,(h-10)/2+5]) cylinder(h=h-10, r=rext-5, $fn=50, center=true); translate([0,0,h/2])cylinder(h=h, r=raxis, $fn=50, center=true); } } } wheel (50, 13, 2/2); translate ...
glb/cad_e2c145ff9c6d.glb
Create an Aluhotend fan duct designed for a 25mm fan. The main body is a rectangular block measuring 15mm by 20mm by 30mm, centered on the origin. Within this block, create a central vertical void consisting of a cylinder with a 10mm radius and 24mm height. At the top of the duct, integrate a mounting pattern for the...
module hotend() { cylinder(r=16/2,h=2); cylinder(r=12/2,h=10); translate([0,0,4]) cylinder(r=16/2,h=2); translate([0,0,8]) cylinder(r=16/2,h=2); translate([0,0,10]) cylinder(r=20/2,h=20); translate([0,0,-10]) cylinder(r=18/2,h=10); } mount_hole_radius = 3.3/2; mount_hole_offset = 10; module holes() { translate([+mou...
glb/cad_c655927ef547.glb
Create a napkin ring by constructing a hollow cylinder with an outer radius of 9.5mm, an inner radius of 7.5mm, and a height of 5mm. Around the outer perimeter of this ring, add extruded 3D text with a height of 5mm and a font size of 6mm. The text should be positioned so that the bottom of the characters aligns with t...
r1=7.5; t1=2; Text = "TEXT"; TextBefore = "TB"; TextAfter = "TA"; Font1 = "Chewy:style=normal"; FontBefore = "Symbol:style=normal"; FontAfter = "Symbol:style=normal"; FontSize = 6; Degrees = 13; module L_0(char = "A", Degrees = 15, i = 0) { rotate([0,0,-Degrees*i]) translate([0,r1+t1-1,0]) linear_...
glb/cad_385470d4a112.glb
Create a blowgun cone consisting of a tapered base and a cylindrical cup. Start by creating a hollow truncated cone with a height of 6mm; the outer base radius is 4.94mm, tapering up to an outer top radius of 1.95mm. The wall thickness of this cone is 0.10mm. On top of this cone, place a cylindrical cup with a height...
$fn=100; pad=0.4; cone_caliber=4.94; cone_thickness=0.10; cone_height=6; bolt_radius=0.75; cup_height=6; cup_thickness=1.2; module cone() { difference() { cylinder( h = cone_height, r1=cone_caliber, r2=bolt_radius+cup_thickness); translate([0,0,0-pad]){ cylinder( h = cone_height-cone_thickness, r1=cone_...
glb/cad_2935e9d99060.glb
Create a parametric quiver for blowgun darts. Start by constructing the main body, which consists of a wide base cylinder with a diameter of 38.8mm and a height of 3.8mm. Centered on top of this base, add a second, narrower cylinder with an outer diameter of 18mm and a height of 14mm. Remove a central vertical hole wit...
$fn=100; pad=0.8; Porte_Dard_D_exter=38.8 ; Porte_Dard_D_inter=12 ; Porte_Dard_Epais=3.8 ; Attache_D_exter=18 ; Attache_D_inter=12 ; Attache_Epais=14 ; nb_troux=8; troux_Epais=Attache_Epais+pad; troux_D=6.9; dart_D=1.1; troux_Decal=(Porte_Dard_D_exter/2)-(troux_D/3)-pad/4; troux_bord=1; module couronne() { differe...
glb/cad_c102a42b04b4.glb
Create a CMSS Connector for a modular storage system. Start by creating a rectangular block with a total width of 20mm, a height of 27.4mm (calculated as 25mm length plus two 1.2mm walls), and a depth of 27.4mm. Hollow out the center of this block to create a slot for a desk panel. The slot should be 5mm wide (the th...
$fn = 100; thickness_of_desks=5; thickness_of_walls = 1.2; length_of_connectors = 25; width_of_connectors = 20; number_of_connectors = 1; secure_filament_thickness = 1.75; addons="none"; hinge_axis = "x"; hinge_rotation = "up"; hinges_positon="both_up"; arcs = (addons=="arcs" || addons=="both") ? true : fals...
glb/cad_51a645f8ff9f.glb
Create two mirrored rear corner braces for a Z-axis assembly. For each brace, start with a rectangular base block measuring 72mm in width, 62mm in depth, and 7.5mm in height, positioned with the base at Z=2. Remove four vertical bolt holes with a radius of 2.75mm: two located at X=14.45mm (one at Y=-0.5mm and one at ...
module ZBrace () { $fn=50; difference () { translate ([1.5,-37,2]) cube ([72,62,7.5]); translate ([14.45,-0.5,0]) cylinder (r=2.75,h=10); translate ([14.45,-26,0]) cylinder (r=2.75,h=10); translate ([33,14.6,0]) cylinder (r=2.75,h=10); translate ([63,14.6,0]) cylinder (r=2.75,h=10); translate ([14.45,-26,6.5]) cyli...
glb/cad_a4048abcf37e.glb
Create a Wilson II Print Bed for a Prusa i3 plate by starting with a central rectangular block measuring 100mm in length, 15mm in width, and 6mm in height, centered on the origin. Remove a smaller central rectangular section from this block that is 30.5mm long, 31mm wide, and 3.2mm high, also centered on the origin. To...
module Side() { translate ([-46,10,0]) rotate ([0,0,57.5]) cube ([60,20,3.2],center=true); } difference () { translate ([0,-7.5,0]) cube ([100,15,6],center=true); cube ([30.5,31,3.2],center=true); Side(); mirror (0,0,1) Side(); }
glb/cad_d9ca5514e7ec.glb
Create a Y-Axis Drag Chain Mount consisting of a flat rectangular base and a raised mounting block. Start with a base plate measuring 15mm wide, 46.5mm long, and 3mm thick. Positioned at the end of this plate, add a chain block that is 12mm wide, 18mm long, and 5mm high. The chain block should have rounded corners crea...
$fn=50; difference() { union() { translate ([-3,-3,0]) cube ([15,46.5,3]); translate ([0,43.5,0]) cube ([12,18,5]); translate ([6,42.5,12]) rotate ([270,0,0]) cylinder (r=2.5,h=20); hull() { translate ([2.5,43.5,3]) rotate ([270,0,0]) cylinder (r=2.5,h=18); translate ([9.5,43.5,3]) rotate (...
glb/cad_d3080ac274e6.glb
Create a Y-Axis Drag Chain Mount by starting with a base block formed from the convex hull of four cylinders, each with a radius of 2.5mm and a height of 22mm. Position these cylinders at the coordinates (0, 3, 0), (17.5, 3, 0), (5, 20, 0), and (17.5, 20, 0). From this solid volume, remove a horizontal cylindrical hole...
$fn=50; difference() { union() { hull() { translate ([0,3,0]) cylinder(r=2.5,h=22); translate ([17.5,3,0]) cylinder(r=2.5,h=22); translate ([5,20,0]) cylinder(r=2.5,h=22); translate ([17.5,20,0]) cylinder(r=2.5,h=22); } } translate ([10,10,11]) rotate([90,0,0]) cylinder(r=2.7,h=20); translate ([-6,8,1.5]) cu...
glb/cad_0932740cf4d3.glb
Create a parametric spool adapter for a sewing machine by constructing a hollow cylinder. Start with a solid outer cylinder that has a diameter of 23mm, a height of 43mm, and a facet resolution of 36 sides. Centered perfectly along the vertical axis of this shape, remove a smaller cylindrical core with a diameter of 7m...
pin_diam = 7; spool_diam = 23; height = 43; difference() { cylinder(h=height, r=spool_diam/2, $fn=36); cylinder(h=height, r=pin_diam/2, $fn=36); }
glb/cad_c1dc936a77f3.glb
Create a multiring accessory featuring the word "BOSS" in a Times New Roman font. The base of the model consists of three identical concentric rings aligned in a row. Each ring has an inner diameter of 22mm, an outer diameter of 28mm, and a width of 6mm. Position the text "BOSS" so that it is centered and integrated ...
echo(version=version()); text="BOSS"; ring_size=22; letter_size = 25; font="Times New Roman"; ring_thickness=3; ring_width=6; letter_height = 5; module ring() { difference() { cylinder(d=ring_size+ring_thickness*2, h=ring_width); translate([0,0,-.05]) cylinder(d=ring_size, h=ring_width...
glb/cad_58266df070c4.glb
Create a Bluetooth modem PCB holder. Start by constructing a main rectangular box with an outer footprint of 24.2mm in width and 47mm in length, and a total height of 10mm. The walls of this box should be 2.5mm thick. Inside the box, carve out a central rectangular cavity to accommodate a PCB that is 17.2mm wide, 40mm...
pcb_width = 17.2; pcb_length =40; pcb_height =1.62; slisse = 1; pcb_bottom_margin = 2.5; wall_width_thick = 3.5; wall_width = wall_width_thick-slisse; box_height = 10; tab_hole_radius=3; tab_outer_radius=6; module tab() { difference(){ union() { translate([-tab_outer_radius,-tab_outer_radius,0]) cube([tab_o...
glb/cad_1b6d2512c39b.glb
Create a Lego-compatible ball caster by starting with a rectangular block measuring 24mm in length, 32mm in width, and 8mm in height. Along the center length of the block, create three evenly spaced vertical holes, each with a diameter of 5.1mm. These holes should be centered 4mm from the edge and spaced 8mm apart. T...
beam_width = 8.0; beam_axis = beam_width / 2; hole_diameter = 5.1; hole_radius = hole_diameter / 2; roller_radius = 8.0; stud_radius = 1.2; gap = 0.5; cap_radius = roller_radius + stud_radius + gap; beam_length = 3 * beam_width; beam_center = beam_length / 2; a = be...
glb/cad_d59491a9bbd7.glb
Create an Adjustable Limit Switch Cam Arm consisting of two main components: a hub and a cam. First, create the hub as a cylinder with a diameter of 38.1mm and a height of 4mm. Center a hexagonal hole through the hub to fit a 12.7mm flat-to-flat hex shaft. On opposite sides of the hub, create two circular cutouts with...
in = 25.4; nominalSize = 0.5 * in; shaftDiam = 0.5 + nominalSize * 2 * tan(30); hubDiam = 1.5*in; rNut_ac=5.5/2/cos(360/12)-0.1; hNut=3; rNutFree=1.05*4/2; h1=hNut*.9; r1=1.05*(rNut_ac+1.5); hubHeight = hNut+1; camDiam = hubDiam*0.95; camHeight = 1.5; armWidth = camDiam/8; armLength = 2.5*in; slotDiam = (shaft...
glb/cad_607c5d61d280.glb
Create a Parametric Filament Spool Drive consisting of a central cylindrical body and an offset drive arm. Start with a main cylinder 50mm in diameter and 42mm high. Add a wider, thinner circular collar at the base with a diameter of 70mm and a height of 5mm. On the side of the main cylinder, attach a drive arm. This...
fn = 72; rod = 9.5; diam = 50; screw_even_len = 36; nuttrapdepth = 6; thick= screw_even_len + nuttrapdepth; thickcollar = 5; collar_surplus = 10; drive=true; drivediam = 7.5; driveoffset=43; drivelen = 30; num_holes=6; hole_size=4; hole_offset=16; m8_nut_diameter = 16.4; difference() { union(){ translate(v...
glb/cad_b48c89ca3007.glb
Create a connection stick for a stand-alone spool holder. Start by creating a rectangular base with rounded corners, measuring 120mm in length, 15mm in width, and 9mm in height, using a corner radius of 5mm. From this base, remove two rectangular slots to create a central channel. The first slot is a rectangular cuto...
spoolwidth=95; module roundedRect(size, radius) { x = size[0]; y = size[1]; z = size[2]; linear_extrude(height=z) hull() { translate([(-x/2)+(radius/2), (-y/2)+(radius/2), 0]) circle(r=radius); translate([(x/2)-(radius/2), (-y/2)+(radius/2), 0]) circle(r=radius); translate([(-x/2)+(radius/2), (y/2)...
glb/cad_71dc27f348be.glb
Create a wall mount bracket for an eero wireless unit. Start with a base platform that is 121mm square with a thickness of 8mm and corner radii of 28mm. The center of this platform should be hollowed out by a 121mm square area with 28mm corner radii, leaving a boundary wall thickness of 1.6mm. Add four vertical side b...
$fn = 32; platformsize = 121; platformradius = 28; platformthick = 8; bracketthick = 2.4; bracketheight = platformsize/3; bracketwidth = 15; boundarythick = 1.6; basethick = 4; edgeclipheight = 28; screwdia = 4.5; inset1 = 3; inset2 = 10; module platform() { translate([0,0,platformthick/2]) difference() {...
glb/cad_18184fdf16c8.glb
Create a wall mount bracket for an eero wireless unit. Start with a base platform that is a rounded square measuring 127.2mm x 127.2mm (121mm plus a 1.6mm boundary on all sides) with a thickness of 8mm and corner radii of 30.6mm. Hollow out the center of this platform by removing a rounded square area of 121mm x 121m...
$fn = 32; platformsize = 121; platformradius = 29; platformthick = 8; bracketthick = 2.4; bracketheight = platformsize/3; bracketwidth = 15; boundarythick = 1.6; basethick = 4; edgeclipheight = 28; screwdia = 4.5; inset1 = 3; inset2 = 10; module platform() { translate([0,0,platformthick/2]) difference() {...
glb/cad_e0a8e553b42b.glb
Create a flat, rectangular plate with rounded corners. The overall dimensions of the plate are 60mm in width and 80mm in length, with a uniform thickness of 1mm. Each of the four corners must be rounded with a radius of 5mm.
box_width=60; box_height=30; box_length=80; thickness=1; to_render=1; rounded=1; radius=5; if(rounded==0){ if(to_render==0){ difference(){ cube([box_width, box_length, box_height-thickness]); translate([thickness, thickness, thickness])cube([box_width-2*thickness, box_length-2*thickness, box_height-thickness+1]);...
glb/cad_9d9c53bbd2df.glb
Create a wall mount cable holder starting with a square base plate measuring 16mm by 16mm with a thickness of 2mm. From the top surface of this base, extend two vertical arms upward. The first section of these arms should be straight and 8mm tall. At the top of these straight sections, bend the arms outward at a 45-deg...
base = 16; gap = 6; thickness = 2; armLength = 8; armAngle = 45; armBent = 6; difference(){ union(){ cube([base,base,thickness]); difference(){ union(){ cube([base,thickness,armLength+thickness]); translate([0,0,armLength+thickness]) rotate([-armAngle,0,0]) cube([base,thickness,armBent]); } translate([-base*2,...
glb/cad_e5ff7abb0894.glb
Create a TV Be Gone case by starting with a rounded box that has a width of 38mm, a height of 33.5mm, and a depth of 69mm, with corner radii of 5mm. Hollow out the center of this volume by removing a smaller rounded box measuring 33mm by 28.5mm by 64mm with 5mm corner radii, offset 5mm downward along the height axis. O...
include<./MCAD/boxes.scad> width=33; height=28.5; depth=64; radius=2.7; between=2; offset=6.2; light_difference=19; module tvbegone(){ roundedBox([width,height,depth], 5, true); translate([0,height/2-light_difference,0]){ translate([-width/2+offset,0,depth/2]) rotate([0,0,0]) cylinder(h=15, r=3.7, center=true, $fn=...
glb/cad_3b607109a877.glb
Create a Z-endstop clamping mount consisting of two primary components: a side clamp and a top clamp. For the side clamp, create a rectangular block 22mm wide, 24mm deep, and 5mm high. Remove a central rectangular section 11mm wide, 27mm deep, and 5mm high. Drill two vertical holes with a diameter of 2mm, spaced 6mm a...
g3mm = 3.2; g2mm = 2.0; gMicroswitchHoleSpacing = 6.0; gSideClampHole1 = 0; gSideClampHole2 = 10; gTopClampY1 = 15; gTopClampY2 = 30; gClampOffset = 10; module NutTrap(x,h=100) { cylinder(d=x/0.866,h=h,$fn=6); } module Fillet(r,h=100) { difference() { cube([r,r,h]); translate([0,0,-1]) cylind...
glb/cad_c9c68791eef0.glb
Create a 3 1/2 inch Floppy Stepper motor adapter consisting of a base plate, a motor mount, and a slider mechanism. Start with a rectangular base plate 20mm wide, 1.4mm thick, and approximately 32.5mm long. In this plate, create four circular mounting holes with a radius of 1.4mm, positioned symmetrically near the co...
PT =1.4; BaseW = 20; SlideL = 5; MBR = 15; MSH = 5.5; MSH_D = 6.5; SBH_D = 4.3 ; MA_D = 3.0; MS_L = 29.3; WIDTH = 18 ; MW = 17.4 ; CH_EW = MSH_D + PT /2 ; GW = MSH_D+PT ; box(); translate ([0,-20,0]) lockbracket(); translate ([BaseW- 1.5* SlideL ,0,0]) slider2(); module box() { baseplate(); motormoun...
glb/cad_d8918a4ff843.glb
Create a Hobbing Thing by starting with a solid rectangular block measuring 38mm in width, 28mm in depth, and 27mm in height. From this block, remove several cylindrical volumes to create specific openings. First, center a vertical hole through the top face with a radius of 11mm and a depth of 12mm, and directly beneat...
difference(){ cube([38,28,27]); union(){ translate(v=[39,10,14]) rotate([0,180,0]) union(){ rotate([0,90,0]) cylinder(r=6.5,h=5); rotate([0,90,0]) cylinder(r=2.5,h=45); } translate(v=[18,14,20]) union(){ cylinder(r=11,h=12); translate(v=[0,0,-12]) cylinder(r=4,h=14); translate(v=[0,-10,-12]) cylinder(r=11,h=11); }...
glb/cad_dc65eb47db8c.glb
Create a customizable spool adapter with a total height of 20mm. Start by constructing a central cylinder with an outer diameter of 13mm (9mm inner diameter plus 2mm walls on each side) and a height of 20mm. Around this center, create a larger outer ring with a diameter of 74mm and a wall thickness of 2mm. To form th...
$fn = 150; inner = 9; outer = 74; wall = 2; deep = 20; module luk() { wsp = 0.6; translate([0,outer*wsp/2]) difference() { cylinder(deep, d=outer*wsp); translate([0,0,-0.1]) cylinder(deep+0.2, d=outer*wsp-2*wall); translate([-2*outer, -outer, -0.1]) cube([2*outer, 2...
glb/cad_ab96bb5d4881.glb
Create a rectangular base 150mm wide, 100mm deep, and 8mm thick. Remove four 2mm diameter holes from the base, positioned at the center of each of the four edges. On top of this base, create eight polygonal columns of varying dimensions and shapes. Each column is a linear extrusion of a regular polygon inscribed in a ...
BX = 150; BY = 100; BZ = 8; BHDia = 2; C1D = 40; C1S =5; C1X = 23; C1Y = 32; C1Z = 25; C1T = 180; C1HDia = 30; C1HS = 4; C1HDpth = 20; C2D = 80; C2S = 8; C2X = 105; C2Y = 50; C2Z = 10; C2T = 52; C2HDia = 0; C2HS = 60; C2HDpth = 0; C3D = 25; C3S = 7; C3X = 95; C3Y = 30; C3Z = 35; C3T = -180; C3HDia = 18; ...
glb/cad_a950865a7ece.glb
Create an L-shaped corner bracket for 20mm aluminum extrusions with a thickness of 3mm. The base leg should be 40mm long (to accommodate two 20mm extrusion widths) and the riser leg should be 40mm long. Round the outer corners of the bracket with a radius of 5mm. Along the base leg, center two mounting holes at 10mm a...
customizer_extrusion_w = 20; customizer_channel_w = 5; customizer_base_holes = 2; customizer_riser_holes = 2; customizer_hole_r = 2.25; customizer_t_bracket = 0; thickness = 3; module trapezoid(width_base, width_top,height,thickness) { linear_extrude(height = thickness) polygon(points=[[0,0],[width_base,0],[w...
glb/cad_27f119bd64bd.glb
Create a modified joystick stick consisting of a hollow hemispherical base and a tapered vertical shaft. Start by creating a hollow hemispherical cap with an outer radius of 10mm and a height of 8.5mm, maintaining a wall thickness of 1mm. At the center of the flat bottom of this hemisphere, create a recessed peg area...
customStick(); stickHeight=25; stickDiameterBottom=8; stickDiameterTop=10; radiusOfCapCrossection=10; heightOfCap=8.5; wallThickness=1; pegMinorAxis=3; pegMajorAxis=4; pegDepth=4.75; radiusOfSphereForStick=(radiusOfCapCrossection*radiusOfCapCrossection+heightOfCap*heightOfCap)/heightOfCap; module customStick(){ u...
glb/cad_0f3c2ac93b75.glb
Create a Folger Tech v-slot holder by starting with a base rectangular block measuring 55mm in length, 20mm in width, and 7mm in height. Centered on the base, add a raised rectangular section that is 30mm wide and 20mm deep, extending from a height of 7mm up to 12mm. On top of this raised section, place two vertical re...
$fn = 200; difference(){ union(){ cube([55,20,7]); translate([12.5,0,7]) cube([30,20,5]); translate([12.5,0,12]) cube([4.5,20,20]); translate([38,0,12]) cube([4.5,20,20]); } translate([6.25,10,0]) cylinder(7,d=4.5); translate([48.75,10,0]) cylinder(7,d=4.5); translate...
glb/cad_63abaceff549.glb
Create a Reinforced Prusa X Carriage with IGUS RJMP Holder. Start with a central base plate 83.2mm long and 50mm wide. At the center, create a cylindrical hole with a 21mm radius to accommodate a hotend. Position two LM8UU bearing holders symmetrically on the plate, each 29mm apart. Each holder should be a rectangula...
include <configuration.scad> include <RJMP-01-08_Holder.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(); base_length = 83.2; rod_dist = 50; module simonkuehli...
glb/cad_07c95b3067df.glb
Create a soda can coozie consisting of a wide base and a vertical tower. Start by creating a base section 20mm high that tapers from a lower radius of 50mm to an upper radius of 35.5mm. On top of this base, add a cylindrical tower with a radius of 35.5mm and a height of 65mm, making the total height of the object 85mm....
can_radius=67/2; wall_thickness=2; bottom_thickness=3; coozie_base_height=20; coozie_base_lower_radius=100/2; coozie_base_upper_radius=can_radius+wall_thickness; coozie_tower_height=65; coozie_tower_radius=can_radius+wall_thickness; coozie_bottom_hole_radius=can_radius/2; difference() { union() { cyli...
glb/cad_5519b580077c.glb
Create a hinged box for metric taps consisting of two symmetrical halves. Each half is a rectangular shell with an outer width of 45mm, depth of 73mm, and height of 7.5mm, featuring walls 1.5mm thick. The two halves are joined by a hinge mechanism. Create a cylindrical hinge rod with a radius of 2mm and a length of 73...
$fn = 100; width = 45; depth = 73; height = 7.5; wallThickness = 1.5; hingeOuter = 7; hingeInner = 4; hingeInnerSlop = .4; hingeFingerSlop = .4; fingerLength = hingeOuter/1.65; fingerSize = 9; topFingerSize = fingerSize; pos = -depth/2; latchWidth = 8; z = 0; bottom(); top(); module bottom() { union() { differenc...
glb/cad_13272fc598a8.glb
Create an Open Emag Electromagnet Wrapping Machine consisting of a rectangular base and several mounted components. Start with a base plate measuring 180mm in length, 70mm in depth, and 5mm in height. On the base, integrate a coil motor base that includes a central cutout measuring 65mm by 16mm by 20mm. Position a cu...
$fa=2; coilIR = 14; coilWidth = 15; endPlateRadius = coilIR + 5; endPlateThickness = 2; starterHoleRadius = 1; baseLength = 180; baseHeight = 5; baseDepth = 70; use <base.scad>; use <coilMotorBase.scad>; difference() { union() { base(); translate([-13.5,0,0]) coilMotorBase(); } diameter = 16; ...
glb/cad_c066212eb426.glb
Create an electromagnet wrapping machine spool form. Start by creating a central cylinder with a radius of 14mm and a height of 15mm. On top of this cylinder, add a circular end plate with a radius of 19mm and a thickness of 2mm. Carve a vertical shaft keyhole through the center of the entire assembly. This hole is cr...
$fn=30; numHoles = 10; wallThickness = 3; $coilIR = 14; $coilWidth = 15; $endPlateRadius = $coilIR + 5; $endPlateThickness = 2; $starterHoleRadius = 1; deviceWidth = $coilWidth + $endPlateThickness; module spoolform(coilIR,coilWidth,endPlateRadius,endPlateThickness,starterHoleRadius) { difference() { ...
glb/cad_926782566517.glb
Create a cursor axle for an electromagnet wrapping machine. Start by creating a rectangular block with a width of 10mm, a depth of 8mm, and a height of 3.75mm. Center the block on the X and Y axes. Through the center of this block, create a vertical cylindrical hole with a diameter of 1.5mm and a height of 12mm, ensuri...
$fn=25; $size = 8; $cursorThickness = 4; module cursorAxle() { difference() { union() { translate([-$size/2,-$size/2,0]) cube([$size*1.25,$size,3.75]); } translate([0,0,-0.1]) cylinder(12,1.5,1.5); } } cursorAxle();
glb/cad_40891c27d939.glb
Create an Open Emag Electromagnet Wrapping Machine component consisting of three identical units spaced 17mm apart along the x-axis. Each unit is a composite of two mirrored peg elements and two mirrored holes. First, construct the peg geometry: create a cylinder with a radius of 1.5mm and a height of 2mm. To refine t...
$fn = 20; module peg() { x=3.25; y=1.5; rotate([0,0,90]) scale(1.5) difference() { translate([x,y,0.5]) cylinder(1.5,2,4.5); translate([x,y,2.2]) cylinder(1.5,2,4); } } module hole() { x=4.75; rotate([0,0,90]) translate([...
glb/cad_2451883cd2e5.glb
Create a spindle holder for an electromagnet wrapping machine. Start with a base structure composed of two rectangular blocks: a lower block measuring 30mm wide, 35mm deep, and 20mm high, and an upper block measuring 20mm wide, 35mm deep, and 35mm high, positioned directly on top of the lower block. From this combined...
$fn=30; module spindleHolder() { baseLength = 180; baseHeight = 5; baseDepth = 70; difference() { union() { translate([-5,0,0]) cube([baseLength/6,baseDepth/2-20,20]); translate([0,0,20]) cube([baseLength/9,baseDepth/2-20,35]); } ...
glb/cad_ce2a23e419f7.glb
Create a cursor for an electromagnet wrapping machine. Start with a main rectangular body that is 7mm wide, 74mm tall, and 3.5mm thick. At the top of this body, center a vertical hole with a radius of 1.5mm that passes through the entire 3.5mm thickness. To reinforce this pivot point, add a cylinder centered on the h...
$fn=15; cursorWidth = 7; screwHoleRadius = 1.5; cursorThickness = 3.5; module cursor() { cursorHeight = 76; difference() { x=-1; y=40; z=0; union() { cube([cursorWidth,cursorHeight-2,cursorThickness]); translate([x,y,z]) cylinder(cursorThickness,2.75,2.75); ...
glb/cad_d161869fd876.glb
Create a base plate for an electromagnet wrapping machine with a total height of 5mm. The main body is a rectangular block 180mm long, 67.5mm deep, and 5mm high. Extend this base by adding a 35mm by 30mm by 5mm block at the rear right (positioned at x=145, y=68) and a 26mm by 35mm by 5mm block at the front center (posi...
$fn=60; baseLength = 180; baseHeight = 5; baseDepth = 70; module base() { difference() { union() { translate([0,2.5,0]) cube([baseLength,baseDepth-2.5,baseHeight]); translate([145,68,0]) cube([35,30,baseHeight]); translate([79.75,-21,0]) ...
glb/cad_75b593bdd152.glb
Create a hook for an electromagnet wrapping machine. Start by forming a solid rectangular base that is 6mm wide, 5mm deep, and 3.5mm high. On top of this base, add a rectangular block that is 5mm wide, 2mm deep, and 8mm high. Attached to this block, add a third rectangular section that is 4mm wide and 2mm deep, startin...
module hook() { difference() { union() { translate([0.5,3,-1.75]) rotate([45,0,0]) cube([4,2,10]); rotate([45,0,0]) cube([5,2,8]); translate([-0.5,-2.5,0]) cube([6,5,3.5]); } translate([-0...
glb/cad_b6c0c0920a1e.glb
Create a spindle for an electromagnet wrapping machine. The main body is a cylinder with a radius of 5mm and a length of 50mm, centered along the X-axis. This cylinder is capped at both ends by square prisms that serve as axles. Each square prism has a side length of 4mm and extends from the cylinder's ends. To refine...
$fn=30; module spindle(length,squareSide,radius) { difference() { translate([0,0,radius]) union() { seatDepth = 12.5; translate([0,-squareSide/2,-squareSide/2]) rotate([0,0,90]) cube([squareSide,length,squareSide]); transl...
glb/cad_162378c7d03b.glb
Create a base for an electromagnet wrapping machine. Start with a rectangular block measuring 73mm in width, 25mm in depth, and 27mm in height, positioned at coordinates (4, 7.5, 0). From this block, remove several geometric features to create mounts and weight reductions. First, carve out a series of six rectangular...
use <pegs_holes.scad>; baseDepth = 70; module coilMotorBase() { difference() { translate([4,7.5,0]) cube([69,baseDepth/2-10,27]); union() { translate([-2.5,0,0]) for(k=[1:1:6]) { translate([10*k+5,7,15]) cube([5,26,4]); ...
glb/cad_d674ff0774d4.glb
Create a cork for an oil container by constructing a truncated cone with a height of 21.4mm. The base of the cone should have a radius of 14.5mm, tapering upward to a top radius of 12.25mm. Centered within this volume, create a narrow cylindrical air hole with a radius of 1mm. This hole must be positioned offset from t...
$fn=100*1; radius1=14.5; radius2=12.25; height=21.4; angle=atan((radius1-radius2)/height); difference(){ cylinder(h=height,r1=radius1, r2=radius2, center=true); translate([0,(radius1+radius2)/2-3,0])rotate([angle,0,0])cylinder(h=height+10,r=1, center=true); }
glb/cad_51aacefd23c6.glb
Create a bushing holder for a 20mm hole-separation carriage. Start with a main body formed by the convex hull of a 28mm by 23.5mm by 9mm block and two cylinders with a 5mm radius and 6mm height positioned at the center of the 28mm sides (14mm from the edges) and 20mm apart. Remove a central horizontal cylindrical voi...
difference() { hull() { cube([24+2+2,15.5+2+2,9]); translate([14,0,0]) cylinder(r=5,h=6); translate([14,20,0]) cylinder(r=5,h=6); } translate([2,15.2/2+2,15.2/2+6]) rotate([0,90,0]) cylinder(r=15.5/2,h=24); translate([14-3,0,0]) ziptie(); holes(); } module ziptie() { difference() { translate([2,15.2/2+2,15.2/2+6])...
glb/cad_f045b649cfb5.glb
Create a Pixel Clock case consisting of a main body and a back plate. The main body is a rounded rectangular shell with outer dimensions of 68mm x 68mm and a depth of 27mm. The walls are 2mm thick on the sides and 1mm thick at the front. The interior cavity is 66mm x 66mm. On the rear face, create a 2mm thick back plat...
use <logo.scad>; $fn = 20; SIDE_THICKNESS = 2; FRONT_THICKNESS = 1; BACK_THICKNESS = 2; DEPTH = 26 + FRONT_THICKNESS; INNER_WIDTH = 66; OUTER_WIDTH = INNER_WIDTH + 2*SIDE_THICKNESS; INNER_HEIGHT = 66; OUTER_HEIGHT = INNER_HEIGHT + 2*SIDE_THICKNESS; ROUNDING_R = 2; HOLDER_OUTER_R = 4; HOLDER_INNER_R = 1.3; HOLDER_...
glb/cad_7658537af5f9.glb
Create a 3D logo for a Pixel Clock case with a uniform thickness of 5mm. The design is based on a total size of 50mm. Start by creating a base shape that consists of a cylinder with a radius of 16.25mm and a square of 16.25mm by 16.25mm, both positioned with their centers or corners at the 16.25mm mark. Add a horizonta...
thickness = 5; size = 50; module logo_base(thickness, size, radius, line_thickness) { arrow_pos = 0.6; hor_line_thickness = line_thickness; translate([radius, radius, 0]) cylinder(r=radius, h=thickness); translate([radius, radius, 0]) cube([radius, radius, thickness]); translate([2*radius - 1, 2*radius - li...
glb/cad_f1e8a4b6e2e9.glb
Create a Light Bulb Holder by starting with a rectangular base block measuring 54mm in width, 34mm in depth, and 32mm in height. This base is formed by three intersecting slabs: a bottom plate of 54x34x2mm, and two perpendicular walls each 32mm high and 2mm thick, one along the 54mm length and one along the 34mm width,...
$fn=100; module base() { cube([54,34,2]); cube([54,2,32]); cube([2,34,32]); translate([52,0,0]) cube([2,34,32]); translate([27,1,6]) rotate([-90,0,0]) cylinder(2,d=6); translate([24,1,0]) cube([6,2,6]); } rotate([90,0,0]) difference() { base(); translate...
glb/cad_32927ff7be18.glb
Create six identical Laminar Jet Fountain nozzle clips. Each clip is a C-shaped bracket formed from a solid rectangular block measuring 14mm in width, 9mm in depth, and 3.5mm in height. To create the open center of the clip, remove a rectangular section from the front face that is 3mm wide and 6mm deep, starting 3.5mm ...
clipInsideWidth = 3; clipInsideDepth = 6; clipThickness = 3.5; additionalBottomWidth = 1; manifoldCorrection = 0.01; clip(); translate([ clipInsideWidth + clipThickness * 3, 0, 0] ) clip(); translate([ clipInsideWidth * 2 + clipThickness * 6, 0, 0] ) clip(); translate([ clipInsideWidth * 3 + clipThickness...
glb/cad_40c3ae2f0bb2.glb
Create a Laminar Jet Fountain adaptor by starting with a central rectangular block measuring 7.5mm wide, 20mm long, and 10mm high. Attach a second rectangular block to the front, centered on the first, with dimensions of 11.5mm wide, 16mm long, and 14mm high, shifted 4mm along the length of the first block. Bore a cyli...
inletTubeDiameter = 6.25; adaptorLength = 20; pumpInsetLength = 4; pumpInsetWidth = 7.5; pumpInsetHeight = 10; pumpWallThickness = 2; manifoldCorrection = 0.01; difference() { union() { cube( [pumpInsetWidth, adaptorLength, pumpInsetHeight], center = true ); translate( [0, pumpInsetLength, 0] ) cube( [pumpI...
glb/cad_9328ab75d81e.glb
Create a DIY Ejuice Flavor Rack designed to hold five cylindrical containers. The rack consists of five identical support cells arranged in a linear row. Each cell is based on a cylinder with an outer radius of 17.25mm and a height of 25mm, with a concentric inner hole of 31.5mm in diameter to accommodate the container...
container_diameter = 31.5; back_height = 25; containers = 5; front_height = 12.5; bottom_opening = "yes"; front_opening = "yes"; large_back = "yes"; $fn=100; head_d1 = 6.5; d1 = 2.7; d2 = 2; head_h = 2.75; length= 10; module screw(head_d1, d1, d2=d1, head_h, length, countersunk=false){ union(){ if (counters...
glb/cad_f8e1252fbb9c.glb