Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Customizable Power Ring by constructing a band and an integrated emblem face. For a ring size of 16, create a circular inner void with a radius of 12.3mm. Form the main band by creating a hull between a sphere with a radius of 14.8mm (scaled by 0.5 on the Z-axis) and a semi-spherical cap. The band should have ...
affiliation = "Green Lantern Corps - Will"; ring_size = 16; ring_thickness = 2.5; ring_length_modifier = .5; emblem_radius = 10; emblem_depth = 3; function ring_radius(ring_size) = lookup(ring_size,[ [3,(14.0/2)], [4,(14.8/2)], [5,(15.6/2)], [6,(16.45/2)], [7,(17.3/2)], [8,(18.2/2)], [...
glb/cad_ae7664daf472.glb
Create a tiered architectural model called the Even More Royal Peasant-Watcher consisting of four stacked gazebo-like sections that decrease in size as they ascend. Start with a base cube of 25mm x 25mm x 3mm. Place four 3mm x 3mm x 25mm pillars at the corners of this base. Top these pillars with a second 25mm x 25mm...
cube([25,25,3]); translate([0,0,3]) { cube([3,3,25]); } translate([0,22,3]) { cube([3,3,25]); } translate([22,22,3]) { cube([3,3,25]); } translate([22,0,3]) { cube([3,3,25]); } translate([0,0,26]) { cube([25,25,3]); } translate([0,0,29]) { color("black") cube([22.5,22.5,2]); } translate([0,0,31]) { cube([20,20,2...
glb/cad_e39072e46335.glb
Create a Pen Holder by starting with a main rectangular block that is 24mm wide, 50mm high, and 28mm deep. Add a base plate extending from the bottom that is 60mm long and 12mm thick, with rounded ends created by cylinders with a 6mm radius. Apply a 1mm bevel to the edges between the base and the main block. On the to...
include<../configuration.scad> include<../inc/functions.scad> groovemount=2; default_extruder_mount=groovemount; mounting_holes_legacy=1; mounting_holes_symmetrical=2; default_mounting_holes=mounting_holes_symmetrical; wade(hotend_mount=default_extruder_mount, mounting_holes=default_mounting_holes); penRadius = 4...
glb/cad_ec04e1cb8c83.glb
Create a Proof of Concept Ratcheting Drum for a test jig. The model consists of a central cylindrical body with a ratcheting gear and integrated arms. Start by creating a main cylinder with a radius of 17mm and a height of 6mm. Remove a smaller concentric cylinder from the center with a radius of 3mm and a height of 7...
scale=1; printLimit=80*scale; extremeLimit=100*scale; thickness=6*scale; spacer=thickness; drumHeight=2*thickness; showAssembly= false; showToPrint= true; showLimits= false; partToPrint= "none"; showShafts= false; ...
glb/cad_596681a87b50.glb
Create a Skids Holder for a Bourg Collator AGR-P by starting with a central rectangular block measuring 29mm x 25.1mm x 15mm, centered on the origin. Carve out two vertical rectangular slots measuring 5mm x 25.1mm x 7mm, positioned symmetrically at x = 12mm and x = -12mm, both centered at z = 4mm. Remove a central rect...
difference(){ cube([29,25.1,15], center = true); translate([12,0,4]) cube([5,25.1,7], center = true); translate([-12,0,4]) cube([5,25.1,7], center = true); translate([0,0,5.5]) cube([20,15,7], center = true); translate([0,10,4.5]) cube([15,1,6], center = true); translate([0,-10,4.5]) cube([15,1,6], center = true); ...
glb/cad_6cc317c85c27.glb
Create a print-in-place piano hinge with a total height of 60mm. The hinge consists of a central cylindrical tube and two opposing rectangular flaps. The tube is constructed from four alternating segments, each 15mm high. Each segment is a 20-facet cylinder with an outer radius of 1.7mm and a wall thickness of 0.5mm. ...
rodDiameter = 1.7; HorizontalGap = 0.8; VerticalGap = 0.6; hingeHeight = 60; numberOfSegments = 4; tubeThickness = 0.5; hingeWidth = 10; flangeWidth = 4; hingeThickness = 1.5; numberOfFacetsInCylinders = 20; $fn = numberOfFacetsInCylinders; segmentHeight = hingeHeight/numberOfSegments; h...
glb/cad_91f19b6b6915.glb
Create a power supply unit holder. Start by creating a main outer shell with a width of 52mm, a height of 35mm, and a depth of 44mm. Hollow out the center of this shell by removing a rectangular block measuring 48mm wide, 31mm high, and 40mm deep, leaving a wall thickness of 4mm on the sides and top, and 2mm on the bot...
module motor_side() { translate([0, 0, -20]) intersection() { cylinder(r1=5.2, r2=5.07, h=20, $fn=30); translate([-4, -15, 0]) cube([25, 25, 40]); } } function ngon(num, r) = [for (i=[0:num-1], a=i*360/num) [ r*cos(a), r*sin(a) ]]; module check_mill_bit_size() { difference() { translate([-9, -9, 0]) cub...
glb/cad_f3a612b657a1.glb
Create a "Customizable twisty text" sculpture. Start by designing the 2D text "Cool" using the Open Sans font, centered both horizontally and vertically, with a font size of 10mm. Extrude this text vertically to a total height of 80mm. During the extrusion, apply a twist of 360 degrees around the Z-axis, using 50 slic...
content = "Cool"; height = 80; twist = 360; base_height = 10; base_size = 10; slices = 50; font_name="Open Sans"; font_weight = "medium"; is_font_italic = "no"; font_italic = is_font_italic=="yes" ? true : false; font = str(font_name,":style=",font_weight,font_italic?" italic":""); font_size = 10; text_fatne...
glb/cad_bfdc4ad689e5.glb
Create a dial indicator case lid by constructing a rectangular block with rounded corners. The main body should have overall dimensions of 130mm in length, 78mm in width, and 7mm in height. Apply a rounding radius of 8mm to all vertical edges. To create the interior compartment, remove a smaller rectangular section fro...
case_lid_len = 130; case_lid_width = 78; case_lid_hieght =7; module template() { difference() { union() { minkowski() { cube([case_lid_len,case_lid_width,case_lid_hieght],center=true); cylinder(r=8,h=2); } } union() { minkowski() { translate([-61,-35,0])cube([case_lid_len-8,cas...
glb/cad_e7a293d00d29.glb
Create a dial indicator case by starting with a solid rectangular block measuring 130mm in length, 78mm in width, and 42mm in height, ensuring all exterior edges and corners are rounded with an 8mm radius. Carve out the interior to create a storage cavity for the tool. On one end, create a large circular recessed poc...
case_len = 130; case_width = 78; case_hieght =42; dial_dim = 60; dial_hieght = 31; shaft_len = 115; shaft_width = 10; module case() { difference() { union() { minkowski() { cube([case_len,case_width,case_hieght],center=true); cylinder(r=8,h=2); } minkowski() { translate([-61,-35,23])c...
glb/cad_672a972d0326.glb
Create a precision screwdriver holder consisting of a main rectangular block and two smaller mounting tabs. The main block is 10mm wide, 68mm long, and 10mm high. Centered along the width of this block at 5.5mm, drill six vertical holes through the entire height: two holes with a 5mm diameter positioned at 7mm and 19mm...
w = 10; l = 68; h = 10; pos = 0.55; wx = 3.5; x = 7; d = 3; e = 0.1; fn = 16; union() { difference() { translate([0, -x, 0]) cube([wx, x, h]); translate([-e, -x / 2, h / 2]) { rotate([0, 90, 0]) cylinder(d=d, h=wx + 2 * e, $fn=fn); } } difference() ...
glb/cad_d50598b32bf0.glb
Create a customizable pumpkin decoration by arranging 12 spheres, each with a radius of 12mm, in a circular pattern around a central axis. Position each sphere so its center is offset from the center of the model by 12mm, rotating each subsequent sphere by 30 degrees to form a ribbed, gourd-like body. At the very cente...
Humps = 12; Height = 20; Radius = 12; color("orange") for(n = [0:1:Humps]){ rotate([0, 0, n * 360/Humps]){ translate([Radius,0,0]) sphere(Radius); } } color("Green") cylinder(Height,Radius/4,Radius/4);
glb/cad_32a2531ad8f4.glb
Create a travel luggage bag handle by starting with a semi-cylindrical base. Form the main body as a half-cylinder with a diameter of 28mm and a length of 70mm, but modify the profile so it tapers slightly from a 28mm diameter at the center to 20mm at the ends. Cut a central longitudinal slot through the middle of th...
quality=360; rotate([-90,0,0]){ union(){ difference(){ hull(){ difference() { rotate([0,0,30]) cylinder(d=28, d2=20, h=70,$fn=quality); translate([-35,0,0]) cube([70,70,70]); translate([-35,-35,44]) cube([70,70,70]); } translate([0,-1,45]) rotate([0,90,9...
glb/cad_a2a659a8d9f9.glb
Create a travel luggage bag handle by constructing a semi-cylindrical grip. Start with a solid semi-cylinder that has a diameter of 28mm and a length of 70mm. The cross-section should be a half-circle, resulting in a flat bottom surface and a rounded top. Through the center of this shape, create two aligned circular ...
quality=360; rotate([-90,0,0]) difference(){ hull(){ difference() { rotate([0,0,30]) cylinder(d=28, d2=17, h=70,$fn=quality); translate([-35,0,0]) cube([70,70,70]); translate([-35,-35,44]) cube([70,70,70]); } translate([0,-1,45]) rotate([0,90,90]) cylinder(d=12.5, ...
glb/cad_117c25b8db11.glb
Create a Bitcraze Crazyflie washer by constructing a thin, flat ring. Start with a solid cylinder that has an outer diameter of 5.7mm and a height of 0.7mm. Center a cylindrical hole with a diameter of 2.5mm through the middle of the shape to create a hollow washer. Ensure the geometry is perfectly circular with high f...
module crazyflie_washer() { height1=.7; id=2.5; ed=id+3.2; difference() { cylinder(h = height1, r =ed/2,$fn=360, center = true); cylinder(h = height1, r = id/2,$fn=360, center = true); } } crazyflie_washer();
glb/cad_e4e8bc1a68a7.glb
Create a 3D model of the text "572bic" using a bold, serif font. The text should be extruded to a height of 2mm. Produce two identical versions of this extruded text; position the first one at the origin and the second one shifted 10mm downward along the Y-axis.
text="572bic"; font="Crimson Text"; style="Bold"; font_style = str(font, ":style=", style); linear_extrude(height=2) text(text, 9, font); linear_extrude(height=2) translate([0,-10, 0]) text(text, 9, font_style);
glb/cad_6f93a7e8a925.glb
Create a medical pill prop by forming a capsule shape using a convex hull of two spheres, each with a radius of 10mm, positioned 40mm apart along the x-axis. Once this elongated capsule is formed, carve a circular groove around the exact center of the pill. This groove should be created by removing a ring with a cross-...
l = 40; r = 10; groove = 1; $fn = 60; difference() { hull() { sphere(r); translate ([l,0,0]) sphere(r); } translate ([l/2, 0,0]) rotate ([0,90,0]) rotate_extrude () translate ([r,0,0]) circle (groove); }
glb/cad_c990cdbe0dfa.glb
Create a Parametric Filament Swatch. Start by constructing a base plate with a width of 25.4mm and a total length of 7.37mm. The plate should have rounded corners with a radius of 5mm and a surrounding rim that is 1.5mm thick. The main body consists of a series of stacked rectangular steps that increase in thickness. ...
include <MCAD/2Dshapes.scad>; mm = 25.4; $fn = 50; minThick = 0.5; stepSize = 0.5; maxThick = 3; width = 1 * mm; corner = 5; rimThickness = 1.5; tagLength = 1.5 * mm; sampleLength = 0.5 * mm; hole_d = 7; holePosition = [hole_d/2+rimThickness+ 1, width/2, 0]; grooveDepth = 1; steps = (maxThick-minT...
glb/cad_afbdb597136e.glb
Create a Rolling Model Bus consisting of a hollowed frame, windows, bumpers, and wheels. Construct the main body as a rounded box with a length of 208mm, width of 61mm, and height of 55mm, using a corner radius of 4mm and a shell thickness of 6mm. Create four octagonal wheel wells (8-facet cylinders) with a diameter ...
include <MCAD/Boxes.scad>; include <MCAD/2Dshapes.scad>; view = true; print = 2; $fn = 50; length = 208; height = 55; width = 61; corner = 4; thickness = 6; bumper_width = 3; bumper_height = 10; wheel_position = [66.5, 165]; wheelwell_d = 35; wheel_d = 25; wheel_depth = 10; wheel_z_adj = -3; axle...
glb/cad_945582738b85.glb
Create a Locking Ball and Socket Mount consisting of two main components: a ball joint and a socket. First, create the ball joint assembly. Start with a circular base 70mm in diameter and 3mm thick. Centered on this base, add a stem 15mm in diameter and 7mm high, topped with a sphere 25mm in diameter. To increase grip...
mm = 25.4; $fn = 50; view = false; ball = false; socket = true; ball_d = 25; stem_h = 7; stem_d = 15; ball_percentCut = 0.0; ball_adj = 3.0; dimples = true; dimpleSize = 4; dimplePosition = [[-(ball_d/2)*.8, 9], [-(ball_d/2)*.45, 13], [-(ball_d/2)*0, 13], [(ball_d/2)*.45, 1...
glb/cad_10c9898ff90b.glb
Create a Curved Tube Wheelchair Clamp consisting of two identical mirrored halves. Each half is a curved block designed to wrap around a tube with a 25.4mm diameter and a 3mm inner bend radius. The main body of each half is a curved segment forming a partial arc. Within this body, create a curved channel to accommoda...
mm = 25.4; $fn = 50; view = false; pipe_d = 1.1 * mm; bend_r = 3 * mm; pipe_y = -10; pipe_thickness = 4; hex_nut_d = 14; washer_d = 17; shaft_d = 7; head_depth = 7; nut_depth = 10; hw_depth = 10; eyebolt_shaft_d = 9.7; eyebolt_hex_d = 17.5; shaft_thickness = 5; eyebolt_holes = [18, 41.5, 72]; torus_width ...
glb/cad_39267b4c9e6f.glb
Create a Straight Tube Wheelchair Clamp consisting of two identical mirrored halves that fit together around a tube. Each half is based on a rounded rectangular block with a length of 55.8mm, a width of 35.4mm, and a height of 43.2mm, featuring corner radii of 10mm. At the center of the block, create a cylindrical hol...
include <MCAD/boxes.scad> mm = 25.4; $fn = 50; view = true; exploded = true; hex_nut_d = 14; washer_d = 17; shaft_d = 7; head_depth = 7; nut_depth = 10; eyebolt_shaft_d = 9.7; eyebolt_hex_d = 16.5; hole_d = 1.05*mm; thickness = 8; gap = 10; corners = 10; length = (hole_d) + shaft_d*2 + thickness*2.5; ...
glb/cad_90fd79440f3d.glb
Create an Apollo Saturn V Rocket Pen consisting of three main components: a lower stage, an upper stage, and a removable escape module cap. For the lower stage, create a main cylinder with a diameter of 33 scaled feet (approx. 10.16mm) and a height of 138 scaled feet. At the base, add five thrusters: one central cylin...
what_to_print = 0; pen_ink_chamber_length = 133; pen_ink_chamber_dia = 3.0; pen_head_dia = 2.5; pen_head_length = 8; pen_head_inside_body = 4; pen_length_inside_body = pen_ink_chamber_length + pen_head_inside_body; pen_head_clearance = 0.15; ink_chamber_clearance = 0.3; squeeze_chamber_clearance = -0.02; squeeze_cham...
glb/cad_ef3edc210e23.glb
Create a Sun Tracker sensor mount. Start with a base plate that is 20mm wide, 20mm deep, and 1mm thick. On top of this base, center a vertical cylinder with an outer radius of 3.33mm (width/6) and a height of 50mm. Hollow out this cylinder with a concentric hole of radius 2.33mm to create a wall thickness of 1mm. To a...
width=20; height=50; wall=1; hole_position=width/4; hole_radius=.5; hole_gap=4; module holes() { hull() { translate([wall/2,-wall/2,0]) translate([width/4-hole_gap/2+hole_radius/2,width/4+hole_gap/2+hole_radius/2,-0.02]) cylinder(h=wall*2,r=hole_radius,$fn=50); translate([...
glb/cad_044f917c4b8f.glb
Create a bit extender in the shape of a regular hexagonal prism. The prism should have a total height of 20mm and a distance of 6mm measured across the flat parallel sides of the hexagon. Ensure the geometry is a clean, solid extrusion with six equal sides and sharp edges.
height = 20; distance_across_flats = 6; linear_extrude(20) circle(distance_across_flats / 2 / cos(30), $fn = 6);
glb/cad_0c0dddc55235.glb
Create a Door Holder for Duplicator 4S by constructing a composite geometric form. Start with a base rounded rectangular prism measuring 128mm in length, 16mm in width, and 5mm in height. At one end, add a vertical rounded rectangular prism measuring 16mm by 16mm with a height of 21mm, positioned so it overlaps the bas...
$fn = 50; difference() { union() { translate([-8,-8,0]) rounded_cube([128,16,5]); translate([-8,-8,3]) rounded_cube([16,16,21]); translate([5,-8,4]) rotate([0,45,0]) rounded_cube([3,16,32]); translate([27,-8,1]) rotate([0,-45,0]) rounded_cube([3,16,31]); translate([-8,-...
glb/cad_f6d898ebc787.glb
Create a mounting tab for an OLED display consisting of three stacked geometric sections aligned along a central axis. The base section is a cylinder with a diameter and length of 2.7mm and a height of 3.5mm. Centered on top of this base, add a middle rectangular spacer with a width of 3mm, a length of 6mm, and a heigh...
w3=1.9; w2=3; w1=2.7; l3=4; l2=6; l1=w1; h3=2.8; h2=2.1; h1=3.5; $fn=32; total_height = h1 + h2 + h3; eps = 0.001; module oval(x, y, z, w, l, h) { translate([x, y, z]) hull() { translate([-(l-w)/2, 0, 0]) cylinder(h=h, d=w); translate([(l-w)/2, 0, 0]) cylinder(h=h, d=w); } } module main() { t...
glb/cad_540a90ce4ba4.glb
Create a Pipe Stool Leg Glide by constructing a main outer cylinder with a diameter of 20.77mm and a total height of 13mm. Inside this cylinder, remove a central core to create a sheath. This inner void consists of a cylinder with a diameter of 15.97mm and a height of 10mm, topped by a slightly larger cylinder with a d...
$fn = 200; shrinkageFactor = 0.27; legInnerDiameter = 15.7; legOuterDiameter = 18; sheathHeight = 10; sheathThickness = 1.2; padHeight = 3; padAngle = 8.3; innerTaper = 1; difference() { translate([((legOuterDiameter + 2 * sheathThickness) + shrinkageFactor) / 2, ((legOuterDiameter + 2 * sheathThickness) ...
glb/cad_3613cb2658cf.glb
Create a Compact Bowden Extruder Drive consisting of a base mounting plate and a filament tunnel. Start with a rectangular base plate 42.3mm wide, 60mm long, and 6mm high. Center a cylindrical hole with a radius of 12.25mm through the base. Add four mounting holes for a NEMA 17 motor at the coordinates [-15.5, -15.5]...
$fn=64; include<MCAD/polyholes.scad>; epsilon = 0.1; extra_radius = 0.1; m3_major = 2.85; m3_radius = m3_major / 2 + extra_radius; m3_wide_radius = m3_major / 2 + extra_radius + 0.2; m3_head_radius = 3 + extra_radius; drive_gear_outer_radius = 13.00 / 2; drive_gear_hobbed_radius = 12 / 2; drive_gear_hobbed_offset...
glb/cad_ce8a1abd011a.glb
Create a Charging Dock for a mobile phone. Start by building a vertical back panel that is 80mm wide, 155mm high, and 5mm thick. In the center of this panel, create a circular cutout with a diameter of 70mm and a depth of 20mm to accommodate a charger. At the top of the back panel, attach a horizontal headboard that ...
phoneWidth = 80; phoneThickness = 12; phoneHeight = 155; chargerDiameter = 70; chargerThickness = 20; headboardThickness = 42; thickness = 5; prongWidth = 20; headboard = headboardThickness + chargerThickness - thickness; hookLength = 10; difference() { cube([thickness, phoneWidth, 30]); translate([0, thickness...
glb/cad_fe4d40f6c9bc.glb
Create a Customizable Flatiron Logo Keychain. Start by creating a rectangular base plate with a width of 25mm and a height of 40mm and a thickness of 1.5mm. Round all four corners of the plate with a radius of 2.5mm. Cut a hole through the plate at the top left corner, centered 2.5mm from the left and top edges, with...
use <write/Write.scad> use <Write.scad> name = "Name"; font = "write/Letters.dxf"; h = 40; w = 25; r = 2.5; $fn=150; module logo(){ linear_extrude(height = 3) polygon( [ [0,0],[4.1,0],[10.1,20],[6,20] ] , [ [0,1,2,3] ]); linear_extrude(height = 3) translate([7.2,0,0]) polygon( [ [0,0],[4.1,0],[10.1,20],[6,20] ] , [ ...
glb/cad_bf77829747e9.glb
Create a Duet + Duex4 case with an open bottom and one open side for cable routing. The main body is a rounded box with inner dimensions of 125mm length, 110mm width (102mm nominal plus 8mm extra), and a height of 21mm. The walls and base are 3mm thick. Hollow out the base and one side wall. On the remaining walls, cr...
Enc_X4_stacked=true; Enc_hollowbase=true; Enc_wall_cutout=true; Enc_extra_width=8.0; Enc_ventillation=3; Enc_ventillation_spacing=8.0; Enc_basic_inner_height=21.0; Enc_X4_separation=6.5; Enc_5V_cutout=true; Enc_X4_standoff=16; Enc_duet_standoff=(Enc_X4_stacked) ? Enc_X4_standoff+Enc_X4_separation : 2.5; Enc_standoff_r...
glb/cad_2480bee12ee3.glb
Create a webcam mount consisting of a rectangular base block with a total length of 111.2mm, a width of 28.1mm, and a height of 20mm, centered on the origin. Carve a central longitudinal channel through the block that is 8.1mm wide and 20mm deep. At the right end of the block, create a semi-circular cutout with a rad...
include <libs.scad> armlength=47; screw=4.1; cameraslot=7; cameraslotlength=22; rodslot=8.1; tighteningspace=15; armlength=47; width=20; clampwidth=4; totallength=armlength+cameraslotlength+rodslot+cameraslot+(tighteningspace*2); rodslotplace=(totallength/2)-tighteningspace; cameraslotplace=(totallength/2)-tighten...
glb/cad_b69dce9e0fe1.glb
Create two fan holder components. Each holder is based on a central cylindrical ring with a hollow center. For the first holder, create a central hole with a diameter of 17.2mm and a height of 20mm. For the second holder, create a central hole with a diameter of 18mm and a height of 20mm. Around each central hole, con...
$fn= 100; module hexaprismx( ri = 1.0, h = 1.0) { ra = ri*2/sqrt(3); cylinder(r = ra, h=h, $fn=6, center=false); } module arc( height, depth, radius, degrees ) { render() { difference() { rotate_extrude($fn = 100) translate([radius - height, 0, 0]) ...
glb/cad_eac51113e92d.glb
Create a fan holder for a heat sink. Start with a central rectangular block measuring 42mm by 40mm with a height of 15mm. Remove a central cylindrical void with a diameter of 37mm that passes through the entire height of the block. To create the mounting corners, add four square pillars at the corners of the block. E...
$fn= 50; module fan_holder() { module fan40() { difference() { union() { translate([0, 0, 7.5]) cube([42,40,15], center=true); } translate([0, 0, 15]) cube([25.2,55,20], center=true); translate([0, 0, 15]) rotate([0,0,90]) cube([22,55,20], center=true); translate([0, 0, 0]) { cylinder(d=3...
glb/cad_da0320fd15ec.glb
Create a fan holder for a heat sink by constructing a composite geometric shape. Start with a base rectangular plate measuring 34.5mm in length, 8mm in width, and 1.5mm in height. Centered on top of this base, add a second rectangular block that is 31.5mm long, 8mm wide, and 11.44mm high. To create the central channel,...
w1=8; h1=6.34+1.5; ep1=1.50; ep2=1.60; ep3=5; h3=h1+ep2+ep3; l1=34.5; l2=31.5; l3=25; render() translate([0,0,0]) rotate([90,0,0]) { difference() { union() { translate([-l1/2,0,0]) cube([l1,w1,ep1], center=false); translate([-l2/2,0,ep1]) cube([l2,w1,h3], center=false); } translate([-l3/2,0,0]) cube([l3,w1...
glb/cad_0b6636174616.glb
Create a Parametric Peg Board Tray. Start with a main rectangular base that is 60mm deep, 2mm thick, and has a total width of 57.15mm. On the underside of the base, add two cylindrical pegs with a diameter of 6.35mm and a length of 12mm. Position these pegs so they are centered along the width and spaced 25.4mm apart f...
pegCount = 2; depth = 60; pegCenterToCenterDistance = 25.4; pegDiameter = 6.35; pegLength = 12; width = pegCenterToCenterDistance * pegCount + pegDiameter; rearLipDepth = 6; frontLipDepth = 2; trayThickness = 2; pegRadius = pegDiameter/2 - .25; difference() { translate ([width/-2, depth/-2, 0]) { for (i=[pegDia...
glb/cad_0a72ba394d42.glb
Create a power supply cover for a MeanWell SP-320 / NES-350. The main body is a hollowed-out rectangular shell with outer dimensions of 125mm width, 60mm height, and 95mm depth. The walls are 5mm thick. The interior cavity is 121mm wide, 51mm high, and 200mm deep, though the cover itself only extends to a depth of 95mm...
WALL = 5; PSU_CLEARANCE = 1; PSU_WIDTH = 115 + PSU_CLEARANCE; PSU_HEIGHT = 50 + PSU_CLEARANCE; PSU_DEPTH = 200; COVER_WIDTH = PSU_WIDTH + (2 * WALL); COVER_HEIGHT = PSU_HEIGHT + (2 * WALL); COVER_DEPTH = 90 + WALL; COVER_INNER_DEPTH= 50 + WALL; COVER_SUPPORT_WIDTH = 20; VENT_HEIGHT = 35; VENT_WIDTH = 1.6; VENT_DISTAN...
glb/cad_38718af4efe6.glb
Create a top disk plate for a helix windmill. Construct a ring-shaped volume by rotating a symmetrical airfoil profile around a central vertical axis. The profile should be positioned such that the resulting ring has a center-to-edge distance of approximately 25mm and a thickness of 4.5mm, with the overall shape scaled...
print_type=1; ScaleXYZ=0.5; type=1; numberBlades=03; heightWindmill=160; totalangleWindmill=160; df_translateXBlades=15; df_translateYBlades=15; df_lengthheatedBed=210; df_widthheatedBed=210; df_translateXOneBlade=8; df_translateYOneBlade=8; rotateOneBlade=145; holosegmentsBlade=16; slicesNum=20; S_fn=50...
glb/cad_a8e089729aee.glb
Create two identical Printable Ball Bearing Upgrade components. Each component consists of a main hollow cylinder with an outer diameter of 23.5mm, an inner diameter of 22.3mm, and a total height of 8.7mm. At the base of each cylinder, create a flange by adding a thin disk with a height of 1.7mm. This flange has an out...
single_layer_width=0.6; bearing_inner=22.3; thickness=1.7; height=7+thickness; wall_ascent=5; wall_descent=0.5; module inner() { difference() { cylinder(r=bearing_inner/2+single_layer_width,h=height); translate([0,0,-1]) cylinder(r=bearing_inner/2,h=height+2); } difference() { cylinder(r=bearing_inner/2+...
glb/cad_e93d716de5f8.glb
Create a support for a KH1428PP linear bearing. Start by forming a central body consisting of a cylinder with a radius of 21mm and a height of 37.5mm, oriented horizontally along the Y-axis. Merge this cylinder with a rectangular block measuring 21mm wide, 37.5mm deep, and 10mm high, centered on the same axis. Add two ...
$fn=100; difference() { union() { translate([0,0,+5-21]) cube([21,37.5,10],center=true); translate([-6+21,0,-21/2]) cube([12,12,21],center=true); translate([6-21,0,-21/2]) cube([12,12,21],center=true); rotate([90,0,0]) cylinder(r=42/2,h=37.5,center=true); } rotate([90,0,0]) cylinder(r=21/2,h=40,center=true); t...
glb/cad_fa1c596eb48f.glb
Create a parametric pole clamp designed to secure a horizontal pole to a vertical one. The main body consists of two symmetrical halves, each 30mm high. First, create a central cylindrical void with a diameter of 25mm to accommodate the vertical pole. This void should run through the center of the two halves. On eac...
$fn = 0; $fs = 0.1; $fa = 4; render_hinges = true; clamp_height = 30; clamp_pole_diam = 25; screw_hole_diam = 4.5; screw_recess_diam = 9; nut_type = 6; pole2_diam = 13; pole2_angle = 135; horiz_pole_diam = pole2_diam; pole_diam = clamp_pole_diam; hinged_pole_clamp( height=clamp_height, hole_diam=screw_hole_d...
glb/cad_a6139e50d316.glb
Create a servo saver coupling by starting with a solid cylinder 5.6mm high with a radius of 9mm. Remove a smaller concentric cylinder from the center with a radius of 5.3mm to create a ring. To complete the part, cut a narrow rectangular slot through the entire height of the ring; this slot should be 1.5mm wide and 10m...
$fn=60; difference () { cylinder(h=5.6, r=9.0); union () { cylinder(h=20, r=5.3, center=true); translate([-0.75, 0, -1]) cube([1.5, 10, 10]); } }
glb/cad_2afac35fe4af.glb
Create a GoPro rollbar mount consisting of a cylindrical clamp with integrated mounting hardware. Start by creating a main cylinder with an outer diameter of 53.3mm and an inner diameter of 45.3mm, with a total width of 22mm. The cylinder should be split by a vertical gap to allow it to be clamped around a bar. On the...
$fn=60; use <gopro-head.scad>; rollbar_dia = 45.3; holder_dia= rollbar_dia + 8; width=22; flange_height = 10; flange_length = 88; cc = 0.4142; hole_offset = 35; module rollbar () { translate([-100,0,0]) rotate([0,90,0]) cylinder(r=rollbar_dia/2, h= 200); } module holder1() { difference() { union () { rotat...
glb/cad_3f716f2f1a68.glb
Create a GoPro rollbar mount consisting of two primary components: a mounting bracket and a base plate. First, construct the mounting bracket. Create a rectangular block 16mm wide, 19mm deep, and 15mm high. On the top face of this block, create three aligned tabs. The central tab is 7mm high, while the two flanking t...
$fn=30; module tab (h=3) { hull () { rotate([90,0,0]) cylinder(r=8, h=h); translate ([0,0, 15]) rotate([90,0,0]) cylinder(r=8, h=h); } } module gopro_tri() { difference () { union () { tab(h=7); translate([0, 6, 0]) tab(); translate([0, 12, 0]) tab(); } union () { translate([0, 0, 15]) rota...
glb/cad_b40b36fc9d6c.glb
Create a tailboom mount by starting with a solid cube measuring 6mm on all sides. From this main block, remove a central rectangular slot that is 0.8mm wide, 6mm deep, and 2mm high, positioned 2.6mm from one side. Drill a circular hole with a radius of 1.5mm and a depth of 6mm through the center of the block, starting ...
$fn = 100; rotate([90,0,0]){ difference(){ cube (6); translate([2.6,0,4]){ cube([0.8,6,2]); } translate([3,6,3]){ rotate ([90,0,0]){ cylinder (r=1.5, h=6); }} }; difference(){ translate([1,0,6]) ...
glb/cad_9eef90906eca.glb
Create a fan dust shroud for an e3d v6 heatsink. Start by creating a central block for the fan body with dimensions 30mm x 30mm x 30mm. From this body, remove a central vertical cylinder with a radius of 11.5mm to accommodate the heatsink, and a smaller top opening with a radius of 8mm. To create the air duct, form a...
use <e3d v6.scad> translate([0, 0, 65.6]){ rotate([0, 180, -90]){ e3d(coarse = false); } } heatsink_radius = 11.5; heatsink_top_radius = 8; heatsink_height = 30; heatsink_base = 19.6; heatsink_top_radius = 8; fan_radius = 15; fan_guide_height = 15; fan_guide_inner_radius = 20; fan_guide_outer_radius = 32;...
glb/cad_d3d381ead5fa.glb
Create a lid for an LM2596 voltage converter box with external dimensions of 75.1mm in length and 42.2mm in width, and a total height of 17.5mm. The main body is a hollowed shell with a wall thickness of 2.5mm and rounded corners with a 2mm radius. On the top surface, center a rectangular cutout for a digital display ...
$fn=32; cir_len=61.1; cir_wid=34.2; hol_wid=28; hol_len=55; dis_len=22; dis_wid=14; col_dia=5.8; col_hol=2.8; col_height=12; box_len=cir_len+14; box_wid=cir_wid+8; box_wall=2.5; box_height=17.5; module guide() { difference() { cylinder(r=11.2/2, h=box_height); translate([0,0,-0.01]) cylinder(r=4.1, h=bo...
glb/cad_7c5868a8b0a8.glb
Create an end cap for a jacket by constructing a hollow truncated cone with a height of 14mm. The outer shell should be a cone frustum with a base diameter of 12mm and a top diameter of 7mm. To create the hollow interior, remove a concentric cone frustum from the center that has a base diameter of 10mm and a top diamet...
heigth = 14; diammeter_base = 12; diammeter_top = 7; tickness=2; difference(){ cylinder(h=heigth, d1=diammeter_base, d2=diammeter_top, center = false, $fn=100); cylinder(h=heigth, d1=diammeter_base-tickness, d2=diammeter_top-tickness, center = false, $fn=100); }
glb/cad_8fe601bbd3d6.glb
Create a fire hydrant model by building a central vertical assembly. Start with a base cylinder 42mm tall with a radius of 13mm. On top of this base, place a sphere with a radius of 10mm, centered such that its bottom is slightly embedded into the cylinder. To create the top cap, place a small cylinder with a radius of...
height = 40; radius = 10; bigRadius = 13; unionHeight = 2; screwRadius = 1; screwHeight = 1; sideHeight = 5; sideRadius = 7; union(){ translate([0, 0, height+unionHeight]) cylinder(unionHeight, bigRadius, bigRadius); translate([0, 0, height+unionHeight+radius/2]) difference(){ sphere(radius, $fn = 60); transla...
glb/cad_b6fa92b0abb5.glb
Create a fire hydrant model consisting of a main body and detachable plugs. Start with a central vertical tube 40mm high with a radius of 10mm. At the top of this tube, add a cylindrical collar 2mm thick with a radius of 13mm. Above this collar, place a sphere with a 10mm radius, though the bottom half of the sphere is...
height = 40; radius = 10; bigRadius = 13; unionHeight = 2; screwRadius = 1; screwHeight = 1; sideHeight = 5; sideRadius = 7; rotate([-90, 0, 0]) union(){ translate([0, 5+bigRadius/2, height-16]) rotate([90, 90, 0]){ cylinder(h = sideHeight+4, r= 2, $fn=60); translate([0, 0, 8]) cylinder(sideHeight, sideRadi...
glb/cad_1c7404b768b1.glb
Create a fire hydrant model consisting of a main body and detachable plugs. For the main body, start with a central vertical tube 40mm high with a radius of 10mm. At the top of this tube, add a cylindrical collar 2mm thick with a radius of 13mm. Above this collar, place a sphere with a 10mm radius, though the bottom po...
height = 40; radius = 10; bigRadius = 13; unionHeight = 2; screwRadius = 1; screwHeight = 1; sideHeight = 5; sideRadius = 7; rotate([0, -90, 0]) union(){ translate([bigRadius/2, 0, height-12]) rotate([0, 90, 0]){ cylinder(sideHeight+4, sideRadius-3, sideRadius-3); translate([0, 0, 8]) cylinder(sideHeight, sid...
glb/cad_73ecacc30c5d.glb
Create a fire hydrant model consisting of a main vertical body and detachable plugs. Start with a central cylinder 40mm tall with a 10mm radius. At the top, add a wider cylindrical collar with a 13mm radius and a height of 2mm. At the base, add a matching 2mm tall cylindrical flange with a 13mm radius. Around the perim...
height = 40; radius = 10; bigRadius = 13; unionHeight = 2; screwRadius = 1; screwHeight = 1; sideHeight = 5; sideRadius = 7; union(){ difference(){ union(){ cylinder(height, radius, radius, $fn = 60); translate([0, 0, height-unionHeight]) cylinder(unionHeight, bigRadius, bigRadius); translate([bigRadius...
glb/cad_b590fa267b35.glb
Create a small-size funfair big wheel model. Start by placing a flat rectangular base measuring 60mm wide, 93mm deep, and 1mm thick, centered at coordinates (-5, 44, 0). Above this base, centered at (0, 0, 1.4), arrange twelve identical cylinders, each with a radius of 1mm and a height of 45mm. These cylinders should b...
translate([-5, 44, 0]) cube([60, 93, 1], center = true); translate([0, 0, 1.4]) for(i = [0:11]) rotate([0, 90, 0]){ translate([0, 8*i, 0]) cylinder(h=45 ,r=1, $fn = 60, center = true); } rotate([0, 90, 90])translate([-2.8, 30, 30]) cylinder(h=55 ,r=2.5, $fn = 60, center = true);
glb/cad_f1e9c9a72ea1.glb
Create a small-scale funfair big wheel model. Start by constructing a rectangular base plate measuring 40mm wide, 30mm deep, and 8mm thick. Within this base, create a central cutout that is the intersection of a cylinder with a 25mm radius and a cylinder with a 20mm radius oriented perpendicularly, resulting in a round...
rotate([0, 180, 0]) union(){ difference(){ union(){ difference(){ translate([0, 0, 50]) intersection(){ cube([40, 30, 8], center = true); translate([0, 0, -17]) rotate([90, 0, 0]) cylinder(h=33, r=25, center = true); translate([0, 0, -14]) rotate([0, 90, 0]) cylinder(h=53, r=20, center = true); } tran...
glb/cad_e744833abe18.glb
Create a small-scale funfair big wheel model. Start by creating a central cylinder with a height of 5mm and a radius of 140mm. From this main disk, remove a concentric inner cylinder with a height of 10mm and a radius of 130mm to create a thin outer ring, and another concentric hole with a radius of 66mm and a height o...
height= 5; heightRadii= 3; difference(){ intersection(){ union(){ difference(){ cylinder(h = 5, r = 140, center = true); cylinder(h = 10, r = 130, center = true); for(i=[0 : 19]){ rotate([0, 0, 18*i]) translate([135, 0, 2]) cylinder(h = 5, r = 2, center = true); } } difference(){ cylinder(h = 5, r = 70, center ...
glb/cad_924bec55453f.glb
Create a small-scale funfair big wheel. Start by constructing a central hub consisting of a cylinder with a height of 4mm and a radius of 60mm, with a concentric hole of radius 56mm and height 10mm removed from its center. Surround this hub with a larger ring created by a cylinder of height 4mm and radius 95mm, with a ...
intersection(){ difference(){ cylinder(h=20, r = 130, cetner = true); rotate([0, 0, 15]) translate([75, 75, 0]) cube([400, 150, 60], center = true); rotate([0, 0, -15]) translate([-75, -75, 0]) cube([400, 150, 60], center = true); } union(){ difference(){ union(){ difference(){ cylinder(h = 8, r = 120, center =...
glb/cad_58a19f49035d.glb
Create a small-scale funfair big wheel model. Start by constructing a central vertical rectangular slab that is 15mm thick, 200mm high, and 80mm wide. From this slab, remove a central rectangular section measuring 10mm by 5mm by 5mm at both the top and bottom edges, and another 10mm by 5mm by 5mm at the left and right ...
translate([-40, 25, 0]) union(){ difference(){ translate([-140, 0, 0]) cube([15, 200, 80], center = true); translate([-130, 75, -30]) cube([10, 5, 5], center = true); translate([-130, 75, 30]) cube([10, 5, 5], center = true); translate([-130, -75, -30]) cube([10, 5, 5], center = true); translate([-130, -75, 30]) cube(...
glb/cad_6cf600b626ea.glb
Create a small-scale funfair big wheel model. Start by constructing the main wheel as a thin ring with an outer radius of 20mm and an inner radius of 17mm, centered at a height of 25mm. The ring should have a thickness of 30mm along its axis. At the center of the wheel, place a vertical axle cylinder with a radius of ...
difference(){ union(){ translate([0, 0, 25]) difference(){ rotate([90, 0, 0]) cylinder(h=30, r= 20, center = true); translate([0, 0, 25]) cube([50,33, 50], center = true); rotate([90, 0, 0]) cylinder(h=25, r= 17, center = true); translate([0, 0, -40]) cube([50,33, 50], center = true); } intersection(){ differenc...
glb/cad_4a7e137771e4.glb
Create a small-scale funfair big wheel. Start by constructing a central support structure using a rectangular block 110mm wide, 110mm deep, and 40mm high, centered at x=-20, y=0, z=20. Within this area, create a main vertical assembly. Position a central cylinder with a radius of 20mm and a height of 5mm, centered at x...
union(){ translate([-20, 0, 0]) difference(){ union(){ difference(){ union(){ translate([0, 0, 30]) cylinder(h=5, r=20, center = true); rotate([0, 0, 60]) translate([0, 80, 30]) cube([10, 160, 5], center = true); } translate([-2, 2, 0]){ translate([-80, 45, 30]) cylinder(h=7, r...
glb/cad_d0b19b22e806.glb
Create a small-scale funfair big wheel. Start by constructing a central wheel assembly consisting of a thin cylinder with a radius of 20mm and a height of 5mm. Around the perimeter of this cylinder, place four rectangular spokes, each measuring 10mm by 160mm by 5mm; position two spokes at 60-degree and 120-degree rotat...
union(){ intersection(){ translate([-20, 0, 20]) cube([110, 110, 40], center = true); union(){ translate([0, 0, -30]) cylinder(h=5, r=20, center = true); difference(){ union(){ rotate([0, 0, 60]) translate([0, 80, -30]) cube([10, 160, 5], center = true); rotate([0, 0, 120]) translate([0, 80, -30]) cube([10, 160, 5], c...
glb/cad_ab3439a484f6.glb
Create a small-scale funfair big wheel model. Start by constructing a main vertical rectangular slab that is 15mm thick, 200mm tall, and 80mm wide. Centered within this slab, create a circular hole with a radius of 15mm and a depth of 20mm that passes through the center of the slab. To refine the shape, remove a rectan...
translate([-40, -25, 0]) difference(){ translate([-140, 0, 0]) cube([15, 200, 80], center = true); translate([-130, 75, -30]) cube([10, 5, 5], center = true); translate([-130, 75, 30]) cube([10, 5, 5], center = true); translate([-130, -75, -30]) cube([10, 5, 5], center = true); translate([-130, -75, 30]) cube([10, 5, ...
glb/cad_d4f2dbe144e6.glb
Create a hot dog stand model by combining a central rectangular body with a handle and support structures. Start with a central rectangular block measuring 140mm in width, 60mm in depth, and 50mm in height, centered at coordinates (0, 30, 25). Remove a cylindrical hole from this block with a radius of 4mm and a height ...
difference(){ union(){ translate([-75, 30, 58]) rotate([0, 0, 180]) union(){ translate([-158, 0, 0]) rotate([90, 0, 0]) cylinder(h=50, r=2, center = true, $fn=60); translate([-148, 23, -10]) rotate([0, -45, 0]) cube([3, 2, 25], center = true); translate([-148, -23, -10]) rotate([0, -45, 0]) cube([3, 2, 25], center = t...
glb/cad_9b301b5d313f.glb
Create a hot dog stand awning. Start by constructing a series of seven identical support units spaced 20mm apart along the x-axis, from x=0 to x=120. Each unit consists of a cylinder with a 10mm radius and 3mm height, centered at z=70, paired with a 20x3x10mm rectangular block centered at z=75. Above these supports, ...
union(){ translate([0, 0, 20]) union(){ for(i=[0:6]){ translate([60-20*i, 0, 0]) union(){ translate([0, 0, 70]) rotate([90, 0 , 0]) cylinder(r=10, h=3, center = true); translate([0, 0, 75]) cube([20, 3, 10], center = true); } } translate([0, 28, 86]) rotate([15, 0, 0]) cube([140, 60, 5], center = true); translate...
glb/cad_3d949e31c7e4.glb
Create a hot dog stand model by positioning several rectangular prisms in a specific layout. Place two vertical pillars, each 3mm by 3mm by 50mm, centered at x = -65 and x = 65, with a y-offset of 5mm and a z-height of 75mm. Add two more vertical pillars of the same 3mm by 3mm by 60mm dimensions, but position these at ...
translate([-65, 5, 75]) cube([3, 3, 50], center = true); translate([65, 5, 75]) cube([3, 3, 50], center = true); translate([-65, 55, 75]) cube([3, 3, 60], center = true); translate([65, 55, 75]) cube([3, 3, 60], center = true); translate([-65, 5, -5]) cube([3, 3, 20], center = true); translate([-65, 55, -5]) cube([3, ...
glb/cad_a276eb8df58c.glb
Create a hot dog stand model starting with a main rectangular body measuring 140mm in width, 60mm in depth, and 50mm in height. Centered on the top surface, create a vertical cylindrical hole with a radius of 4mm and a height of 200mm that passes through the body. Add four thin rectangular pillars to the structure: p...
include <more_fontz/ArchitectsDaughter.scad> scale([0.4, 0.4, 0.7]) translate([-350, 0, 0]) { ArchitectsDaughter("H"); translate([45, 0, 0]) ArchitectsDaughter("o"); translate([80, 0, 0]) ArchitectsDaughter("t"); translate([150, 0, 0]) ArchitectsDaughter("d"); translate([190, 0, 0]) ArchitectsDaughter("o...
glb/cad_8f90543888ea.glb
Create a wheel for a hot dog stand. Start by constructing a thin outer ring using a cylinder with a radius of 25mm and a height of 3mm, centered on the origin. Remove the inner core of this ring by centering a smaller cylinder with a radius of 21mm and a height of 5mm. At the very center, add a solid cylinder with a ra...
translate([40, -50, 6]) rotate([90, 0, 0]){ difference(){ cylinder(h=3, r=25, center = true); cylinder(h=5, r= 21, center = true); } cylinder(h = 3, r= 7, center = true); translate([0, 0, 1]) cylinder(h = 4, r= 4, center = true); for(i=[0:6]){ rotate([0, 0, 30*i]) translate([0, 0, -0.5]) cube([2, 44, 2], center = true)...
glb/cad_96b33ab7a6fe.glb
Create a hot dog stand model by combining several geometric primitives. Start with a central body consisting of a cylinder with a radius of 14mm and a height of 64mm, centered on the Y-axis. At each end of this cylinder, place a sphere with a radius of 14.2mm, positioned 30mm from the center along the X-axis. To form ...
rotate([90, 0, 0]) difference(){ union(){ translate([0, 25, 127]) rotate([-90, -10, 0]) union(){ translate([0, -140, 0]) intersection(){ rotate_extrude(convexity = 10) translate([150, 0, 0]) circle(r = 10); union(){ translate([0, 140, 0]) rotate([0, 90, 0]) cylinder(h = 100, r = 20, center = true); translate([51, 1...
glb/cad_d9ce47c649c6.glb
Create a guitar string winder designed for an electric screwdriver. Start by constructing a hollow rectangular box with outer dimensions of 25mm in width, 12mm in height, and 16mm in depth. The walls of this box should be 4mm thick, leaving an internal cavity of 21mm by 8mm by 16mm. Centered underneath this box, attach...
winder_width=21; winder_height=8; winder_depth=16; winder_thickness=4; draw_hexhole = 2; module hexagon(size, height) { boxWidth = size/1.75; for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true); } translate( v = [0, 0, (winder_depth)/2]) { difference() { cube(size = [winder_width + win...
glb/cad_8652ab915f3b.glb
Create a HoryzonHD V4 Camera Tilt Mount consisting of a rectangular base and two upright supports. Start with a base plate measuring 17mm deep, 39.5mm wide, and 3mm high. Construct two identical upright supports, each 17mm deep, 3.5mm wide, and 24mm high. Position one upright on the left edge and one on the right edg...
$fn = 60; $base_depth = 17; $base_width = 39.5; $base_height = 3; $upright_width = 3.5; $mount_height = 24; $mount_hole_width = 10; $knotch_width = 1; $2nd_knotch_depth = 4.5; $triangle_width = 3.5; difference() { difference() { difference() { union() { translate([(...
glb/cad_5685ec6b649b.glb
Create a HoryzonHD V4 Camera Tilt Mount consisting of a rectangular base and two upright supports. Start with a base plate measuring 17mm deep, 45mm wide, and 3mm high. At each end of the base, construct an upright support. Each upright is a block 17mm deep, 3.5mm wide, and 24mm high. The top of each upright should b...
$fn = 60; $base_depth = 17; $base_width = 45; $base_height = 3; $upright_width = 3.5; $mount_height = 24; $mount_hole_width = 5 ; $knotch_width = 1; $2nd_knotch_depth = 0; $triangle_width = 3.5; difference() { difference() { difference() { union() { translate([($bas...
glb/cad_90a723d00593.glb
Create a reinforced y-motor mount for a 3D printer. Start with a base composed of a central rectangular block and two extending arms. The main body is 10mm thick. In the center, create a large vertical shaft hole with a radius of 12mm. Position four mounting holes around the perimeter. Two holes are located at the fa...
module y_motor_base(){ translate(v = [29,-21+50,0]){ translate(v = [-21+4.5,0,5]) cube(size = [9,31,10], center=true); translate(v = [-21+4.5+31/2+1,0-31/2-1,5]) cube(size = [31,9,10], center=true); translate(v = [-15.5,-15.5,0]) cube(size=[15.5,15.5,10], center=false); translate(v = [-15.5,+15.5,0]) cylinde...
glb/cad_636dd0e5bd96.glb
Create a spool insert for a 1/2 inch dowel by constructing a tiered cylindrical object with a total height of 12mm. Start with a wide base cylinder that has a radius of 18.2mm and a height of 2.2mm. On top of this base, add a second cylinder with a radius of 16.2mm and a height of 9.8mm, creating a total height of 12mm...
spool_radius = 16.2; hole_radius = 6.7; thickness = 2.2; depth = 12; difference(){ union(){ cylinder(thickness, spool_radius + thickness, spool_radius + thickness); difference(){ cylinder(depth, spool_radius, spool_radius); translate([0,0,thickness]) cyl...
glb/cad_99aeddf23b1a.glb
Create a Spaghetti Strap Hanger with a thickness of 4mm. The design consists of a main hook and five parallel arms. Start by creating a hook at the left end. This hook is formed by a large cylinder with a radius of 15mm and a height of 4mm, from which a smaller concentric cylinder of 10mm radius and a 14mm cube are r...
$fn=20; module spaghettiHanger(){ union(){ difference() { cylinder(r=15, h=4, center = true); cylinder(r=10, h=4, center = true); translate([8, -8, 0]) cube([14, 14, 4], center = true); } difference(){ union(){ translate([16, 0, 0])cube([12, 6, 4], center = true); translate([25, 0, 0]) cube...
glb/cad_234a003498c4.glb
Create a 3D model of an octahedron by starting with a sphere with a radius of 110mm. Carve this sphere using a series of planar cuts to create a polyhedral shape. Specifically, create 24 rectangular planes, each 200mm by 200mm with a thickness of 200mm, and position them to slice through the sphere. The planes should...
mark = 4; if (mark==1) scale(0.67) var_hexakisoctahedron(1,1,1,1,2,3); else if (mark==2) scale(0.33) var_hexakisoctahedron(1,1,1,2,1,1); else if (mark==3) scale(0.4) rotate([45,18.4333,0]) var_hexakisoctahedron(1,1,1,2,2,1); else if (mark==4) scale(0.66) var_hexakisoctahedron(1,1,1,2,2,2); ...
glb/cad_9d0b3d3945df.glb
Create a filament spool roller consisting of two identical circular end caps connected by a central rectangular bridge. Each end cap is a cylinder with a radius of 12mm and a height of 9mm. Position these two cylinders 74mm apart, center-to-center. Connect them with a rectangular base that is 74mm long, 12mm wide, and ...
$fn=100; translate([0,37,0]) rotate([0,0,-90]){ difference(){ union(){ hull() { translate([4,0,0]) cylinder(r=12,h=9); translate([-8,-12,0]) cube([24,12,5]); } cylinder(r=7, h=10.5); hull() { translate([70,0,0]) cylinder(r=12,h=9); translate([58,-12,0]) cube([24,12,5]); } translate([74,0,0]) cylinder(r=7,h...
glb/cad_6c9cdf37cb3a.glb
Create a GT2-30 tooth pulley for a motor shaft. Start with a cylindrical base 20mm in diameter and 7mm in height. Above this base, add a toothed section 7mm long with 30 teeth following the GT2 2mm profile. The outer diameter of the toothed section should be consistent with the GT2 2mm standard. On top of the toothed ...
number_of_teeth = 30; profile = 12; motor_shaft_diameter = 5; toothed_part_length = 7; base_height = 7; base_diameter = 20; belt_retainer = 1; retainer_height = 1.5; belt_idler = 0; idler_height = 1.5; screws_disposition = 2; nut_shape = 1; screw_profile = 4; nut_shaft_distance = 1.2; no_of_nuts = screws_...
glb/cad_0546fa4c1ffd.glb
Create a mountable spool holder bracket. Start with a base rectangular block measuring 100mm in length, 15mm in width, and 6mm in height. Add a rectangular extension of 60mm by 15mm by 75mm positioned from the 20mm mark along the length. At the far end, integrate two cylindrical protrusions, each with a radius of 30mm ...
m(); module m() { rotate([90,0,0]) translate([-50,0,-50]) difference() { union() { cube([100,15,6]); translate([50,15,75]) rotate([90,0,0]) cylinder(h = 15, r=30, center = false, $fs=.1, $fn=100); translate([20,0,0]) cube([60,15,75]); translate([50,15,105]) ...
glb/cad_060276ea19b7.glb
Create a mountable spool holder bracket. Start with a base rectangular block measuring 100mm in length, 15mm in width, and 6mm in height. Attached to the top of this base, add a second rectangular block measuring 60mm in length, 15mm in width, and 75mm in height, positioned 20mm from the start of the base. At the end o...
m(); module m() { rotate([90,0,0]) translate([-50,0,-50]) difference() { union() { cube([100,15,6]); translate([50,15,75]) rotate([90,0,0]) cylinder(h = 15, r=30, center = false, $fs=.1, $fn=100); translate([20,0,0]) cube([60,15,75]); } color("blue") { ...
glb/cad_8d707f606e2d.glb
Create a bottle clip name tag by constructing a tapered hollow cylinder. The main body is a conical frustum with a height of 13mm, an inner bottom radius of 17.5mm, and an inner top radius of 13mm. The wall thickness of this shell should be 2.5mm. To allow the tag to clip onto a bottle, remove a large rectangular sect...
include <write/Write.scad> ru=13; rl=35/2; ht=13; width=2.5; logo="thing-logos/stratum0-lowres.dxf"; font="write/orbitron.dxf"; $fn=50; e=100; module name_tag () { difference() { rotate([0,0,-45]) union() { cylinder(r1=rl+width, r2=ru+width, h=ht); writecylinder(name, [0,0,3], rl+0.5, ht/13*7, h=ht/1...
glb/cad_b9f35a69fa83.glb
Create a trailer cap joint by starting with a central cube that has a side length of 18.5mm. On the top face of this cube, center a cylinder with a diameter of 18.5mm and a total height of 27mm. This cylinder consists of two sections: a base shoulder with a height of 2mm and a diameter of 18.5mm, and a narrower inner s...
include <../librealflash4.scad>; int_w = 1180/2; theta = atan(150/int_w); tube_id = 18.5; tube_od = tube_id; tube_insert_l = 25; shoulder_l = 2; sq_side = tube_od; module tube_insert() { translate([0,0,sq_side/2.5]) difference() { union() { fine_cylinder(tube_od, shoulder_l); translate([0,0,shoulder_l]...
glb/cad_8ec46be537fc.glb
Create a trailer cap designed to fit a 21.5mm pipe. Start by creating a solid rectangular block with a width of 39mm, a height of 30.5mm, and a depth of 20mm. From this block, remove a central rectangular section to create a C-shaped channel. This cutout should start 5mm from the left and bottom edges, leaving a 5mm th...
include <../librealflash4.scad>; int_w = 1180/2; theta = atan(150/int_w); edge_w_top = 30.5; edge_h = 30.5; edge_w_bottom = 39; edge_offset_x = edge_w_bottom-edge_w_top; edge_offset_y = 20; clip_t = 5; clip_w = 20; tube_id = 18.5; tube_od = tube_id; tube_insert_l = 25; shoulder_l = 2; module tube_insert() { differe...
glb/cad_71329344b499.glb
Create a Kossel cable tidy designed for 2020 extrusions. Start with a central rectangular block 16mm wide, 5.5mm thick, and 15mm high, centered on the origin. Add a second rectangular block to this center, 5mm wide, 5.5mm thick, and 15mm high, shifted 1.4mm along the Y-axis. Attach two semi-cylindrical tubes to the b...
include <configuration.scad>; thickness = 5.5; width = 16; height = 15; slotWidth = 5.0; slotDepth = 1.4; overlap=0.01; module tube(innerDiameter, outerDiameter, length) { difference() { cylinder(r=outerDiameter/2, h=length, $fn=32); translate([0,0,-overlap]) cylinder(r=innerDiameter/2, h=length+2*overlap, $f...
glb/cad_9735b0ad6e3b.glb
Create a Kossel 2020 foot by constructing a truncated cone with a bottom radius of 14mm, a top radius of 11mm, and a total height of 5.2mm. Centered vertically through this shape, remove a cylindrical hole with a radius of 2.8mm that extends through the entire height of the object. Additionally, remove a wider cylindri...
m5clear = 5.0; m5head = 8.6; m5headDepth = 2.8; baseThickness = 2.4; headRecess = 1.0; height = m5headDepth+baseThickness+headRecess; extraClear = 0.6; overlap = 0.1; difference() { cylinder(r1=14, r2=11, h=height, $fn=80); translate([0,0,-overlap]) cylinder(r=(m5clear+extraClear)/2, h=height+2*overlap, $fn=32); ...
glb/cad_e5ae909979a0.glb
Create a Kossel 2020 mains inlet panel as a rectangular plate measuring 60mm wide, 220mm long, and 2.5mm thick. Round all four corners with a 5mm radius. Cut through the plate to create three central openings: a rectangular cutout measuring 19.5mm by 27mm for the inlet, a rectangular cutout measuring 13mm by 19mm for...
length=220; height=60; thickness=2.5; round=5; m4ClearRad=2.1; overlap=0.1; module fuseCutout() { translate([0,0,-overlap]) difference() { cylinder(r=6.8,h=thickness+2*overlap,$fn=32); translate([5.5,-10,-overlap]) cube([20,20,thickness+4*overlap]); } } module switchCutout() { union() { cube([13,19,10],...
glb/cad_343fea4e8825.glb
Create a double-sided magnetic hex bit holder. Start with a central rectangular block 10mm thick, with a width of 5.5mm and a length that accommodates 6 slots on each side. The four vertical corners of the block should be rounded with a 3mm radius. On both the top and bottom faces, create 6 evenly spaced hexagonal hol...
use <write/Write.scad> Print=0; Number=6; inscription="1/4' bits"; Back_inscription_rotate=180; inscription_font="write/orbitron.dxf"; Font_size=10; shift=9.5; height=10; pad_height=1; text_deep=0.6; module magnet(){cylinder(r=8/2,h=1.02,$fn=120);} module bit(){rotate([0,0,90])cylinder(r=7.75/2,h=15,$fn=6);} m...
glb/cad_c067325b8b9e.glb
Create a PCB standoff base with a rectangular footprint of 85mm by 54mm. The base should be 2mm thick with rounded corners. At each of the four corners, place a cylindrical standoff with a diameter of 8mm and a total height of 12mm. These standoffs should be male, meaning they feature a protruding cylinder of 3mm diame...
style = 2; pcb_X = 85; pcb_Y = 54; base_width = 8; base_height = 2; pcb_clearance = 2; pcb_thickness = 1.8; stand_shape = 1; stand_style = 1; stand_extend = 10; hole_diameter = 3; hole_height = 12; cyl_top = 2; debug = 0; $fn = 100; pcb_center_X = pcb_X/2; pcb_center_Y = pcb_Y/2; arc_R = (pow(pcb_center_X,2)...
glb/cad_ce4c70a6e08c.glb
Create a Low Vision Quilling Guide by starting with a rectangular base measuring 7.8125mm by 1.8mm with corner radii of 3mm and an overall thickness of 3mm. Along the center axis of the base, create a series of seven circular holes of varying diameters: 0.25mm, 0.375mm, 0.4375mm, 0.5mm, 0.625mm, 0.75mm, and 1mm. Spac...
include <MCAD/2DShapes.scad> mm = 25.4; $fn = 50; laser_cut = false; size = [7.8125*mm, 1.8*mm]; thickness = 3; corner_r = 3; notch_spacing = 0.5*mm; notch_height = 5; notch_width = 3; circle_sizes = [(1/4)*mm, (3/8)*mm, (7/16)*mm, (1/2)*mm, (5/8)*mm, (3/4)*mm, 1*mm]; module half_notches() { for (i=[0:...
glb/cad_32a26a69e5ea.glb
Create a Magazine Catch consisting of a flat base and a vertical threaded bolt. Start with a flat rectangular base 32mm long, 5.5mm wide, and 5mm high. The base has rounded ends, formed by adding half-cylinders with a 2.75mm radius to each side of the rectangle. On the top surface of this base, carve out a rectangular ...
include <polyScrewThread.scad> PI=3.141592; $fn=100; flat_height=5; flat_width=5.5; flat_lenght=37-flat_height; flat_tapper_height=2; flat_tapper_offset_mag_side=flat_height; flat_tapper_offset_trigger_side=14; flat_tapper_offset_trigger_side_lenght=9; thread_height=10; bolt_lenght=30; bolt_diam=5; bolt_offset=5; mod...
glb/cad_004149564025.glb
Create a magazine catch consisting of a central threaded cylinder and a supporting base. Start by creating a cylinder with a diameter of 7mm and a height of 10mm. Within this cylinder, carve out a concentric screw thread with a diameter of 5.5mm and a height of 10mm. At the bottom of this assembly, add a cylindrical ba...
include <polyScrewThread.scad> PI=3.141592; $fn=100; flat_height=5; flat_width=5.5; flat_lenght=37; flat_tapper_height=2; flat_tapper_offset_mag_side=flat_height; flat_tapper_offset_trigger_side=14; flat_tapper_offset_trigger_side_lenght=9; thread_height=10; bolt_lenght=30; bolt_diam=5; bolt_offset=5; bolt_hole_diam...
glb/cad_4c968d344377.glb
Create an Aluminium Bar Quad Motor Mount by starting with a main cylindrical plate 42.5mm in diameter and 13mm thick. Cut a rectangular slot through the center of this cylinder to accommodate a square bar; this slot must be 20.2mm wide and 42.5mm long, extending through the full height of the plate. To create the mount...
tube_thickness=20.2; support_wall_thickness=3; plate_diameter=42.5; difference(){ cylinder(r=(plate_diameter/2),h=13,$fn=60); translate([-10,-plate_diameter/2,3]) cube([tube_thickness,plate_diameter,20],centre=true); translate([-(plate_diameter/2),-plate_diameter/2,3]) cube([((plate_diameter/2)-(tube_thickness/2+suppor...
glb/cad_748a68e8373c.glb
Create a Darbee projector mount consisting of a central rectangular base and two vertical end tabs. The base is 128mm long, 16mm wide, and 5mm thick. Centered on this base, create four vertical holes spaced 20mm apart along the length (at positions 0, 20, -20, and -40mm from the center). Each hole has a diameter of 6.3...
width = 64; length = 128; height = 19; b_thick = 5; s_thick = 3; t_thick = 10; screw = 6.35; ctr_sink_dia = 10; hdmi_h = 12; hdmi_l = 26; hdmi_o = 12.5 + b_thick/2; darb(); module darb() { difference() { cube([length,width/4,b_thick],true); boltholes(); } difference() { translate([...
glb/cad_c71372e6d79a.glb
Create a Dual Relay Board Bumper consisting of a rectangular frame and four mounting columns. First, construct a rectangular outer shell with external dimensions of 56.7mm by 45.3mm and a height of 10.5mm. The shell has a wall thickness of 2.5mm. The interior is hollowed out by a rectangular cutout measuring 38mm by ...
$fn=32; cir_len=50.7; cir_wid=39.3; hol_wid=33.6; hol_len=45.4; col_dia=5.8; col_hol=2.7; col_height=7; box_len=cir_len+6; box_wid=cir_wid+6; bumper_wall=2.5; bumper_height=10.5; cut_len=38; cut_wid=27; module guide() { difference() { cylinder(r=11.2/2, h=bumper_height-2.5); translate([0,0,3]) cylinder(r...
glb/cad_08252f987516.glb
Create a penknife handle with a total length of 103mm, a width of 18mm, and a height of 25mm. The main body is a rounded rectangular slab with a rounded front end. On the tail end, add a decorative protrusion created by a cylinder with a radius of 8.5mm, scaled to 1.2 in length and 0.8 in height. Carve a central slot ...
blade_thick=2.7; handle_height=25; handle_thick=18; handle_len=103; pivot_height=11; pivot_inset=11; blade_cutback=6.3; module fake_blade() { translate ([0,0,handle_height/2]) difference () { cube([handle_len,blade_thick,handle_height],center=true); translate ([-handle_len/2,0,-handle_height/2]) rotate([0,45,0])...
glb/cad_022bb68b94eb.glb
Create a parametric RC truggy tyre. Start with a main body formed by the intersection of a sphere with a diameter of 105mm and a cube that is 105mm wide, 105mm deep, and 52mm high. Remove a central cylindrical hole with a diameter of 70mm and a height of 52mm. Create two wheel rim indentations on the top and bottom f...
tyreDiam = 105; tyreWidth = 52; wheelDiam = 70; wheelRimType = 1; wheelRimIndent = 1; wheelRimHeight = 3.7; wheelRimBase = 13.5; wheelRimTop = 5.75; miniZRimHeight = 1; miniZRimWidth = 1 ; spikesPerRing = 17; spikeRingSpread = 57; spikeRingsNum = 5; spikeRingOffset = 10.5; spikeBaseWidth= 10; spikeTipWidth = 1; sp...
glb/cad_166acaa745c0.glb
Create a Filament Storage Quick Change support system consisting of two mirrored brackets. Start with a rectangular base block measuring 40mm wide, 128mm deep, and 80mm high. From this block, remove a central section to create a wide channel. On each side of the block, carve out a mirrored void that includes a rectan...
rd = 8.0; ss = 0.6; rs = 1.2; gd = 2.2; sw = 1.3; gw = 4.0; od = 22.0; $fa = 0.5; $fs = 0.5; display(); module display() { for (f=[0,1]) translate([f*290,0,0]) rotate([0,-90,f*180]) support(); for (y=[-52,52]) translate([-5,y,30]) rotate([0,90,0]) %cylinder(d=rd,h=300); } module roller() ...
glb/cad_499f34029735.glb
Create an Embroidery Silk Bobbin as a flat plate with a thickness of 1mm, a total width of 41mm, and a total height of 39mm. The main body is a rectangle with rounded corners, where each corner is defined by a circle with a radius of 4mm. At the center of the left edge, create a circular hole with a diameter of 3mm. On...
width=41; height=39; depth=1; radius=4; hole=3; slot=0.5; slot_ang=30; slot_sep=width/5; slot_in=radius*2*3/4; cunit = [ [-0.5,-0.5, 0], [-0.5, 0.5, 0], [ 0.5,-0.5, 0], [ 0.5, 0.5, 0] ]; s = [ [width-radius*2,0,0], [0,height-radius*2,0], [0,0,1], ]; linear_extrude(depth) difference() { union() { for (i = ...
glb/cad_15d1361bda58.glb
Create a PSU support consisting of two identical brackets. For each bracket, start with a rectangular block measuring 10mm by 10mm by 20mm. Remove a cylindrical section from the center of the block to create a cradle; this hole should have a diameter of 8mm and a length of 20mm, positioned 4mm from one end. Additionall...
rotate([0,-90,0]){ translate([15,0,0]){ difference(){ translate([-10,0,-6]){ cube([10,10,20]); } translate([0,15,4]){ rotate([90,0,0]){ cylinder(d=8,h=20, $fn=30); } } translate([-15,5,-2.2275]){ rotate([0,90,...
glb/cad_7a3053f29d9f.glb
Create a PSU support bracket by starting with a main rectangular block measuring 100mm x 10mm x 180mm. From this block, remove a central rectangular volume of 86.5mm x 10mm x 170mm, positioned 5.2mm from the side and 15mm from the bottom, to create a thin outer frame. Within this frame, remove a vertical slice measurin...
rotate([-90,0,0]){ difference(){ cube([100,10,180]); translate([5.2,0,15]){ cube([86.5,10,170]); translate([0,0,-10.15]){ cube([1.65,15,174]); translate([3,0,2.2]){ cube([2.5,9,6]); } translate([0,5,0]){ transl...
glb/cad_b38cfe66f075.glb
Create a PSU support bracket by starting with a main block measuring 30mm wide, 15mm deep, and 30mm high. From this block, remove a cylindrical hole with a diameter of 8mm and a height of 50mm, centered at X=9mm and Y=7.5mm, tilted 30 degrees along the X-axis and shifted 25mm down along the Z-axis. Additionally, remove...
difference(){ cube([30,15,30]); translate([9,7.5,15]){ rotate([30,0,0]){ translate([0,0,-25]){ cylinder(d=8, h=50); } } } translate([6.5,0,0]){ rotate([30,0,0]){ translate([0,0,-10]){ cube([5,13,30]); } } } translate([0,7.5,5]){ rotate([0,90,0]){ cylinde...
glb/cad_5dfb8c54cfa3.glb