Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Snow Bullet Mold consisting of a hollowed cylindrical base with a hemispherical cavity. Start by creating a solid cylinder with a radius of 38.1mm (1.5 inches) and a height of approximately 50.8mm. From the center of this cylinder, remove a spherical void with a radius of 36.83mm (1.5 inches minus a 0.05-inch ...
inchtomm=25.4; interiorgap=2/64; diam=3; radius=diam/2; boltdiam=1/4 + interiorgap; boltrad=boltdiam/2; bhdiam=1/2 + interiorgap; bhrad=bhdiam/2; bhthick=3/16; thicknesstobolt=1/4; basethickness=thicknesstobolt+bhthick; wallgap = .05; scale(v=[inchtomm, inchtomm, inchtomm]) { difference() { cylinder(h =...
glb/cad_64f67b500917.glb
Create an Interlock Churchkey bottle opener. Start with a main body that is 50mm long and 22mm wide, with a thickness of 6mm. The overall shape is a rounded rectangle with the corners tapered. At one end, create a bottle opener cutout. This cutout is a rounded trapezoidal hole with a base width of 23mm and a length of...
coinRadius = 9.5; coinThickness = 1.75; coinOverhang = 3; thickness=6; inset =1.75; centerthickness=2.5; slotWidth = 17; slotHeight = 5; slotInset=3.75; UseBadge=false; base = 22; length=50; baseR1=5; baseR2=5; angle = 13.5; holeBaseWidth=23; holeBaseLoc=25.5; holeLength=19.5; holeR1=2; holeR2=6; translate([0,-8,...
glb/cad_96c79764bd1c.glb
Create an S hook by extruding the capital letter "S" in a narrow sans-serif font. The overall length of the model should be 80mm, with a uniform thickness of 5mm. Ensure the letter is centered both horizontally and vertically so that the extrusion is balanced. The final shape should be a flat, 3D representation of the ...
full_length = 80; thickness = 5; module s_hook() { linear_extrude(height=thickness, center=true) resize([0,full_length,0], auto=true) text("S", font="Nimbus Sans Narrow:style=Regular", halign="center", valign="center"); } $fn=100; translate([0,0,thickness/2]) s_hook();
glb/cad_0d0ed278b678.glb
Create a Radiac Pen Holder consisting of a central cylinder surrounded by three hollow hexagonal sections. The overall structure has a radius of 76mm and a wall thickness of 4mm. Start with a central cylinder that has a radius of 38mm and a height of 64mm. This cylinder should be hollowed out by a concentric hole with...
radiac_pen_holder(radius=76, cylinder_height = 64, hex1_height = 64, hex2_height = 40, hex3_height = 25, thickness=4, clearance=1, fillet_radius=2, chamfer=1); epsilon = 0.001...
glb/cad_621d049522f9.glb
Create a smartphone holster with a main body and an attached belt loop. The main body is a hollowed-out rectangular shell with rounded corners of 2.5mm radius. The outer dimensions are 83.8mm in width and 15.2mm in thickness, with a total height of 80mm. The walls are 2.8mm thick. The bottom of the holster features a ...
t1 = 75.0; f1 = 11.20; h1 = 80.0; felt = 0.9; f2 = f1+2*felt; edge = 4.5; bottom = 3.0; wall = 2.8; belt1 = 6.5; belt2 = 30; hole = 3.0; choice1 = "Y"; choice2 = "N"; text1 = "Phone"; text2 = "holster"; font1 = "Arialblack"; font2 = 13.0; ...
glb/cad_4904099e32a2.glb
Create a GoPro Anti Jello Wire Isolator Mount consisting of a circular base and a mounting bracket. Start with a cylindrical base 8mm thick with a radius of 13mm. On top of this base, center a rectangular block measuring 12.2mm by 12.2mm and 12.2mm high. Add a semi-cylindrical cap with a radius of 7.25mm and a height...
wire_dia=1.6; plate=8; gopro_captive_rod_id= 3.8; gopro_captive_rod_angle= 45; gopro_rod_nut_th= 3.6; gopro_rod_nut_od= 8.05; gopro_captive_protruding_h= 0.5; gopro_nut_d= 9.2; gopro_nut_h= 2; gopro_holed_two= 5; gopro_holed_three= 5.5; gopro_connector_th3_middle= 3.1; gopro_connector_th3_side= 2.7; gopro_c...
glb/cad_6341330d1c18.glb
Create a Raspberry Pi Camera holder designed as a hollow rectangular sleeve. Start by creating a main outer rectangular shell with an outer width of 81mm, a depth of 62.5mm, and a height of 25mm. Inside this shell, remove a central rectangular volume to create a wall thickness of 6mm on all sides, resulting in an inn...
$fn = 400; $fn = 10; zoom=false; dicke = 6; x_size=81; y_size=62.5; tiefe = 25; skala=2; module Huelse() { linear_extrude(tiefe, scale = skala, center = true) { offset(0) { translate([-x_size/2, -y_size/2, 0]) square([x_size, y_size], 0); } } } module Inn...
glb/cad_70259dd14884.glb
Create a parametric clamp designed to fit around a cylinder. Start with a main ring that has an inner diameter of 100.4mm, a radial thickness of 3mm, and an axial width of 9mm. Cut a small gap of 1.4mm into the ring to allow it to tighten. At the top and bottom of the ring (at 90-degree intervals), add flat rectangula...
diameter = 100.4; width = 9; thickness = 3; nutSize = 5.7; nutThickness = 3.2; screwDiam = 3.5; holeSep = 20; boreDiam = 3.2; gap = 1.4; supportLength = 30; supportHeight = 2; supportAngles = [90, -90]; doubleOpening = false; extRadius = diameter/2 + thickness; difference() { union() { cylinder(width, r=...
glb/cad_8945e90bb151.glb
Create a stabilized Y motor bracket consisting of two mirrored, identical components. Each component is a thick cylindrical ring with a height of 10mm. For the first component, create a cylinder with a radius of 10mm and a height of 10mm, then remove a concentric inner cylindrical hole with a radius of 2.495mm (4.99m...
include <configuration.scad> module entireybracket(){ lower_hole = 4.99; upper_hole = 3.99; difference(){translate([26.71,-19.6,-10]) cylinder(r=10, 10); translate([26.75,-20.1,-11])cylinder(r=lower_hole ,12);} difference(){translate([-4.55,29.865,-10]) cylinder(r=10, 10); translate([-4.50,29.865,-11])cylinder(r=uppe...
glb/cad_d9c032b7c2a8.glb
Create a hydroponic drain assembly consisting of a main body and a central drainage hole. Start with a circular flange 42mm in diameter and 5mm thick. Atop this flange, add a threaded section with a 3/4" BSP profile, extending approximately 25.4mm in height. Above the threads, create a conical taper that transitions fr...
flange_ht=5; spigot_ht=55; v_thread_len=1-((flange_ht+5)/25.4); include <threads.scad> module body() { union () { cylinder(h=5,r=21); translate ([0,0,flange_ht]) { english_thread(1.0,14,v_thread_len); } cylinder(h=spigot_ht,r=12.4/2); translate([0,0,v_thread_len*25.4+flange_ht]) cylinder(h=15,r1=11...
glb/cad_9daf4be8e6d6.glb
Create a hydroponic drain nut by combining a circular base with a hexagonal grip. Start with a circular flange 42mm in diameter and 5mm thick. Centered on top of this flange, add a hexagonal prism with a flat-to-flat width of 12mm and a height of 14mm. Bore a vertical hole through the center of the entire assembly to c...
head_ht=0; v_thread_len=(15/25.4); include <threads.scad> module body() { union () { cylinder(h=5,r=21); cylinder(h=14,r=36/2,$fn=6); } } module holes() { union () { translate ([0,0,-0.1]) english_thread(1.06,14,v_thread_len); } } difference () { body(); holes(); }
glb/cad_6cc2e6793d59.glb
Create a GT2 belt lock clamp by constructing a rectangular hollow sleeve. Start with a solid rectangular block that is 10mm wide, 6mm deep, and 12mm high. From this block, remove a smaller rectangular section from the top to create an open-ended pocket. This internal cavity should be 7mm wide and 3mm deep, leaving a wa...
thickness=1.5; height=12; innerwidth=7; innerdepth=3; difference() { cube([innerwidth+thickness*2,innerdepth+thickness*2,height]); translate([thickness,thickness,0]) cube([innerwidth,innerdepth,height]); }
glb/cad_671fb3712b21.glb
Create a Par64 Spotlight holder. Start with a base rectangular block 41mm wide, 5mm thick, and 10mm deep, centered on the origin. Add two vertical rectangular pillars extending upwards from the ends of the base; each pillar should be 5mm wide, 60mm tall, and 10mm deep, positioned at the outer edges of the base. At the...
$fn=50; rotate([90,0,0]) par64holder(); module par64holder() { difference() { union() { cube([41,5,10],center=true); translate([-20.5,27.5,0]) cube([5,60,10],center=true); translate([20.5,27.5,0]) cube([5,60,10],center=true); difference() { union() { translate([23,54,0]) sphere(r=8); tra...
glb/cad_1b13dc5596ba.glb
Create a customizable test tube rack consisting of flat plates with a thickness of 5mm. The rack is composed of a bottom plate, a top plate, two side plates, and a middle support plate. The bottom and top plates are rectangular with dimensions based on 5 tubes of 20mm diameter each, separated by 10mm intervals. The to...
nb_tubes = 5; nb_rows = 1; hole_diameter = 20; thickness = 5; height1 = 80; height2 = 20; output_type = "STL"; inter=10; width1 = nb_tubes*hole_diameter + (nb_tubes+1)*inter; width2 = nb_tubes*hole_diameter + (nb_tubes+1)*inter+2*thickness; depth1= nb_rows*hole_diameter+nb_rows*inter; depth2= nb_rows*hole_diamet...
glb/cad_d9cc90323405.glb
Create a Customizable Wing Block by constructing a hollow cylindrical sleeve. Start by creating a cylinder with an outer radius of 3.0mm (calculated as a tube radius of 2.6mm plus a 0.4mm thickness) and a height of 10mm. Position this cylinder so its base is at z = -5mm. To make the sleeve hollow, subtract an inner cy...
use <nacaprofile.scad> module wingblock(chord=100,length=10,tube1radius=2.6,tube2radius=1.6,verticalbarcount=7.0,thickness=0.4) { function node_callmodule2d_matrix(i=0,j=0,k=0,l=0,m=0,n=0) = translate([0,0,0]); module node_callmodule2d(i=0,j=0,k=0,l=0,m=0,n=0) { nacaprofile(2412,chord); } function node_offset_ma...
glb/cad_4af310e5a14f.glb
Create a Form 1 Build Plate Holder by starting with a rounded rectangular block measuring 160mm wide, 150mm long, and 65mm high, with a corner radius of 16mm. Carve a large rectangular cutout from the top center to create a slot for the build plate. This slot must be 142mm wide and 142mm long, tilted at a 15-degree ang...
module buildPlate() { cube([144,144,7]); translate([(144-134)/2,5,6]) { cube([134,132,30]); } translate([(142-90)/2,(142-90)/2,-39.99]) { cube([90,130,40]); } } module roundedCube(width, length, height) { curveRadius = 16; translate([curveRadius,curveRadius,0]) { mi...
glb/cad_b5b650766fad.glb
Create a mounting bracket designed to hold three 3.5-inch drives within two 5.25-inch drive bays. The main body is a rectangular block with a total height of approximately 43.5mm (bracket height plus a 2.54mm rail height) and a length of 46.6mm. On the top surface, create three equidistant notches to accommodate the ...
inch = 25.4; big_drive_width = 5.74 * inch; big_drive_thick = 1.64 * inch; big_drive_spacing = 1.725 * inch; big_drive_screw1_height = 0.40 * inch; big_drive_screw2_height = 0.875 * inch; big_drive_screw_distance = 3.125 * inch; big_drive_screw_pilot_dia = 0.10 * inch; big_drive_screw_clearance_dia = 0.115 * inch; bi...
glb/cad_2378f2a81e39.glb
Create a Ladder Line Insulator consisting of a T-shaped bar with a central hole. Start by creating a T-shaped base formed by two intersecting rectangular prisms: a main horizontal bar measuring 161.76mm in width, 6mm in depth, and 2mm in height, and a perpendicular vertical bar measuring 6mm in width, 6mm in depth, and...
use <utils/build_plate.scad> build_plate(build_plate_selector, build_plate_manual_x, build_plate_manual_y); function inches2mm(x) = x * 25.4; inchesBetweenHoles = 6.0; wireGage = 12; tThickness = 2; build_plate_selector = 3; build_plate_manual_x = 228; build_plate_manual_y = 149; newAngle = 0; w...
glb/cad_feee3d40ac9d.glb
Create a Ladder Line Insulator consisting of a T-shaped bar with a total width of 23.36mm (calculated as 6 inches plus four times the wire diameter), a depth of 6mm, and a thickness of 2mm. Start by forming the main T-shaped body using two rectangular prisms: one base measuring 23.36mm by 6mm by 2mm, and a second per...
use <utils/build_plate.scad> build_plate(build_plate_selector, build_plate_manual_x, build_plate_manual_y); function inches2mm(x) = x * 25.4; inchesBetweenHoles = 6.0; wireGage = 12; tThickness = 2; build_plate_selector = 3; build_plate_manual_x = 228; build_plate_manual_y = 149; newAngle = 0; w...
glb/cad_8d913c865794.glb
Create a fan size conversion adapter consisting of two square flanges connected by a tapered cowling. Start with a lower square flange that is 84mm wide (80mm nominal size plus 2mm walls on each side) and 3mm thick. Center a circular hole with a diameter of 80mm through this flange. At the four corners of this flange...
holeaccess="Cowling"; $fn = 80; smallsize=80; largesize=120; smallflange=3; largeflange=4; wallthickness=2; cowlingheight=30; smallholes=71.5; largeholes=105; smallholesize=4.5; largeholesize=4.5; module flange (size_fan,thick_wall,thick_flange,space_mount,size_mount) { difference(){ translate...
glb/cad_68eba790703e.glb
Create a Hatchbox Spool Drawer by constructing a quarter-circle container with a height of 57mm. The main body is formed by a cylinder with an outer diameter of 200mm and an inner diameter of 80mm, both 57mm tall. To create the drawer walls, remove a 90-degree wedge from the cylinder and hollow out the center by removi...
inner_diameter = 80; outer_diameter = 200; height = 57; gauge = 2; hole_diameter = 4; hole_x = 96; hole_y = 5.5; post_location = [hole_x, hole_y, gauge]; $fn = 100; difference() { union() { difference() { make_quarter(inner_diameter, outer_diameter, height, 0); translate([0, 0, ga...
glb/cad_65bc1e42592d.glb
Create a camera mount for an EF-02 camera. Start with a base plate that is 1mm thick. On this plate, place two circular mounting pads with a radius of 2mm, centered at x=18 and x=-18, and y=4. Each pad should have a smaller concentric hole with a radius of 0.6mm. Connect these pads with a central beam 24.1mm long, 2mm ...
module ef02_mount() { difference() { union() { e010_bottom_plate(); translate ([-9,-4.5,-1.5]) rotate ([-20,0,0]) ef02_box(); } translate ([-4,-0.5,0]) rotate([90,0,0]) cylinder(r=2, h=8, center=true, $fn=64); translate ([3,4,-0.2]) cube([3,6,1.5]); ...
glb/cad_c4fb2d54dcd4.glb
Create a Neutrik D series blanking plate as a rectangular slab with rounded corners. The main body should be 26mm wide, 31mm high, and 3.2mm thick, with corner radii of 3.5mm. Center two vertical screw holes on the Y-axis, positioned 24mm apart (at Y=12 and Y=-12) and 8mm from the center on the X-axis. Each hole must...
holewidth=3.5; W=26; H=31; T=3.2; circlemiddle=7; difference() { translate([0, 0, 0]) roundedRect([W, H, T], 3.5, $fn=12); translate([-8, 12, -0.2]) cylinder(h = 1.5, r = holewidth); translate([-8, 12, 1.2]) cylinder(h = 1.2, r = holewidth, r2=holewidth+1); translate([-8, 12, 2.3]) cylinder...
glb/cad_4a586969cb40.glb
Create a Customisable Pocket Hole Jig by constructing a central block and removing specific geometric voids. Start with a base rectangular prism that is 7.366mm wide, 13.45mm long, and 3.175mm high. From this block, remove a cylindrical hole with a radius of 3.175mm. This cylinder should be centered along the length ...
$fn = 30; angle = 15; dia = 0.25; offset = 1; rad = dia * 2.54 / 2; l = (rad/sin(angle)*2)*2+offset>4?(rad/sin(angle)*2)*2+offset:4; h = l * tan(angle) + rad/cos(angle); w = rad * 2+1; module prism(l, w, h){ polyhedron( points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]], ...
glb/cad_9618ef97222e.glb
Create a toothbrush and razor holder. Start with a main rectangular block measuring 70mm in length, 11.2mm in width, and 22.1mm in height. From this main body, remove a rectangular section from the top center, leaving a wall thickness of 1.6mm. On the front face, create a vertical slot for a razor that is 8.5mm wide ...
ws = 1.6; wall = 10.9 + 0.3; length = 70; err=0.1; difference() { union() { translate([0,0,-2*wall]) cube([length, wall + 2 * ws, (2 * wall) + ws]); razor=8.5; offset=8.5+10; difference() { for(k=[0:offset:offset]) translate([k+5,-20,-ws]) linear_extrude(height = 2*ws) hull() { translate([0,20,0]) circle(5, $fn=1...
glb/cad_5f642749088b.glb
Create a light box and a matching backplate. For the box, create a hollow rectangular shell with outer dimensions of 51mm x 76mm x 29mm and a wall thickness of 2mm. The interior should be a cavity of 47mm x 72mm x 25mm. Inside this box, add three horizontal shelves of 2mm thickness: the first at a height of 3mm, the se...
$fn=128; TOLERANCE = 0.1; LED_BOARD_X = 47; LED_BOARD_Y = 72; LED_BOARD_Z = 1.65; LED_ASSEMBLY_Z = 12.25; LED_RADIUS = 5; COL_STAGGER = 1; LED_COLS = 8; LED_NUMBER_PER_COL = 4; LED_SPACING = LED_RADIUS*0.75; LED_STRIP_SPACING = LED_SPACING*2; THICKNESS = 2; BOX_X = LED_BOARD_X; BOX_Y = LED_BOARD_Y; BOX_Z = 25; mo...
glb/cad_5e0dad68e209.glb
Create a Paper Figure Stand by starting with a cylindrical base that has a diameter of 30mm and a height of 1mm. Centered on top of this base, construct two thin, parallel rectangular walls that act as tabs to hold a figure. Each wall must be 30mm wide, 1mm thick, and 10mm high. Position these two walls so there is a 2...
base_diameter = 30; base_height = 1; cylinder(h=base_height, r=(base_diameter/2)); tab_height = 10; tab_thickness = 1; tab_space = 1; tab_angle = 1; translate([-(base_diameter/2), -(tab_thickness/2), base_height]){ rotate([-tab_angle, 0, 0]) { translate([0, -(tab_space), 0]) { cube([base_diam...
glb/cad_cde5d3cc834d.glb
Create an Impulse Turbine with guide vanes. Start by constructing the central turbine: create a cylinder with a radius of 5mm and a height of 1.8mm, then remove a concentric inner core with a radius of 1mm. Around this hub, arrange 20 identical turbine buckets. Each bucket is a linear extrusion of a specific asymmetric...
blades = 20; trad = 7; hrad = 1; hubr = 5; irim = 0.2; orim = 0.2; ribt = 0.2; ribhno = 5; ribhrad = 1; spacing = 1.1; hubheight = 7; turb = 1; lvanes = 1; rvanes = 1; module impblade(i,trad) { rotate([0,i,0]) translate([0,-1.7982/2,(trad/2+hubr/2-orim/2)]) linear_extrude(height = (trad-hubr+orim), center...
glb/cad_37d6831e549e.glb
Create a Raspberry Pi Repetier Server Case consisting of a bottom shell, a top shell, and matching panels. The main enclosure has external dimensions of 96mm in length, 120mm in width, and 32mm in height, with a wall thickness of 2mm. Construct the bottom shell as a rounded box with a 3mm fillet radius. On the interio...
include <raspberrypi.scad> include <diffparts.scad> showcomponents = 1; if (showcomponents == 1) { % rotate ([0,0,180]) translate ([-47.6,-33,6.5]) pi3(); } Length = 85+4+5+2; Width = 120; Height = 32; Thick = 2; PCBFeet = 1; Vent = 1; Vent_width = ...
glb/cad_5ee4f025e215.glb
Create a Kühling's x-end for a MendelMax 3D printer, designed to hold a 10mm z-rod and LM10UU linear bearings. Start with a main body block that is 40mm long. The body height is determined by the rod diameter (8mm) plus two walls of 3mm each, totaling 14mm. Centered along the length of the body, create a horizontal h...
use <jonaskuehling-default.scad> include <lm10uu-holder-slim_double-vertical.scad> rod_dia = 8; rod_dist = 50; zrod_leadscrew_dist = 30; clearance = 0.2; wall = 3; wall_thin = 3; xend_body_length = 40; m3_screw_dia = 3; m3_screw_head_dia = 5.5; m3_screw_head_height = 3; m3_nut_wrench_size = 5.5; m3_nut_height = 2.4; ...
glb/cad_b2a0bc7842d1.glb
Create a Dremel Holder for a Prusa X carriage consisting of two symmetrical mirrored pieces. For each piece, start with a base shape formed by the union of a 70mm by 30mm by 8mm rectangular block and a cylinder with a 15mm radius and 10mm height. From this base, remove a central rectangular slot measuring 25mm by 10m...
pi = 3.141592653589; sl = 1; module crx(size=[1, 1, 1]) { linear_extrude(height=size[2]) square([size[0], size[1]], center=true); } module cyl(r=1, h=1, center=false) { cylinder(r=r, h=h, center=center, $fn=r * 2 * pi / sl); } module nut(f = 5.5, h = 10) { cylinder(r=f / cos(180 / 6) / 2, h = h, $fn=6); } modul...
glb/cad_cea9bfc4f0b5.glb
Create an integrated Z motor mount and reel holder. Start with a main body consisting of a rectangular block 15mm wide, 49.2mm deep, and 15.5mm high, centered on the Y-axis. Add a second rectangular block 15mm wide, 36mm deep, and 23.5mm high, positioned directly above the first block, shifted slightly along the Y-axis...
smooth_rod_distance = 0; frame_distance = 0; threaded_rod_diameter = 8.6; washer_diameter = 19; difference(){ union(){ translate([-10, 0, -2.5]) rotate([90, 0, 90]) cylinder(r=18, h=13, $fn=64); translate(v=[-washer_diameter / 2 - frame_distance - 15,-24.50,-8]) cube(size = [15,49.20,15.5]); translate(v=[-washer_di...
glb/cad_8fd4170355e1.glb
Create an integrated Z motor mount, frame vertex, and reel holder. Start with a main body consisting of two rectangular blocks measuring 61.5mm x 60mm x 16mm and 61.5mm x 74.5mm x 8mm, joined together. Add two horizontal cylinders with a radius of 8mm and a length of 61.5mm, positioned at y = 29.25mm and y = -29.25mm. ...
smooth_rod_distance = 30; frame_distance = 31; smooth_bar_diameter = 8.4; threaded_rod_diameter = 8.6; washer_diameter = 19; clamp_size = 6; wedge_width = 2.5; end_size = 7.5; module zmotormount(){ difference(){ union(){ translate(v=[-washer_diameter / 2 - frame_distance - 1,-30,-8]) cube(size = [washer_diameter...
glb/cad_9af107abcb7c.glb
Create a Printrbot rods end hat by constructing a central cylinder with a height of 10mm and a radius of 7.5mm. Cap the top of this cylinder with a hemisphere of the same 7.5mm radius, centered at the top edge of the cylinder. Finally, remove a smaller vertical cylindrical core from the center of the entire assembly, w...
D=8; R=D/2; module end_hat() { difference() { union() { translate([0, 0, 0]) cylinder(h = 10, r1 = 7.5, r2 = 7.5, center = true); translate([0, 0, 5]) sphere(r = 7.5); } union() { translate([0, 0, 0]) cylinder(h = 11, r1 = R, r2 = R, center = true); } } } { end_hat(); }
glb/cad_deddbd4d2afd.glb
Create a PanelMax mounting bracket and enclosure for a Prusa Mendel control panel. Construct the main body as a rounded rectangular housing with a base width of 98.11mm and height of 60.12mm. The housing should have a wall thickness of 2mm and a total depth of approximately 12.77mm. Integrate a cutout for an LCD scre...
include <../config/configuration.scad> lcd_scrn_w=95.77; lcd_scrn_h=39.96; lcd_scrn_t=8.27; lcd_scrn_offset_x=1.18; lcd_scrn_offset_y=9.95; lcd_board_t_adj=0.5; lcd_board_w=98.11; lcd_board_h=60.12; lcd_board_t=12.77-lcd_scrn_t+lcd_board_t_adj; lcd_hole_d=3.2; lcd_hole_offset=1; lcd_holespace_w=90.82+lcd_hole_d; l...
glb/cad_a6c3a08b4281.glb
Create a SmartRapPlus Steady Bracket for Z Rods. Start with a rectangular base plate measuring 100mm by 50mm with a thickness of 10mm. On top of this base, add a rectangular tool tray measuring 67mm by 35mm with a height of 15mm, positioned to leave a section of the base exposed. Incorporate a slope on the sides of the...
module topsteady() { $fn=100; difference() { union() { translate([-45,-66,17])cylinder(14,14,14); translate([-59,-80,17])cube([100,50,10]); translate([-26,-80,23])cube([67,35,15]); } translate([28,-37.5,4])cylinder(20,4.1,4.1); translate([-45,-37.5,4])cylinder(20,4.1,4.1); translate([-45,-66,0])cylinder(50,6,6); trans...
glb/cad_b327bd2c8a2a.glb
Create a Front Panel powered Printer adapter. Start with a rectangular base plate measuring 151mm in width, 42mm in height, and 4mm in thickness. Subtract three rectangular holes from the base, each measuring 26mm by 11mm by 10mm. Position these holes at the following coordinates: one centered at x=-50, y=18, z=0; on...
rotate([-90,0,0]) { difference(){ rotate([90,0,0]) translate([0,0,-19]) cube([151,42,4],center=true); translate([-57,20,-17]) rotate([90,0,180]) sig(); translate([20,20,12]) rotate([90,0,180]) name(); translate([-21.1/2,18,0]) cube([26,11,10],center=true); translate([30,18,0]) cube([26,11,10],center=true); translate...
glb/cad_538e58a7010d.glb
Create a corner bracket for a drawer frame consisting of a central block and two protruding inserts. Start with a main rectangular base measuring 9.5mm in width, 9.5mm in depth, and 18.5mm in height. Attach two identical hollow inserts to this base. The first insert is a rectangular shell with outer dimensions of 16m...
insert_dim = [16, 7.8, 17.25]; center_dim = [9.5, 9.5, 19.5-1]; wall=1.5; module elongated_pyramid(dim, angle) { dm = min(dim)/2; dmz = dm; polyhedron( points=[ [0, 0, 0], [dim[0], 0, 0], [dim[0], dim[1], 0], [0, dim[1], 0], [dim[0]-dm, dm, dmz], [dm, ...
glb/cad_eddde49f9f32.glb
Create a Random Tower Stress Test model starting with a square base plate measuring 120mm by 120mm with a thickness of 1mm. On the top surface of this base, add the text "TheCrazyMatt" using a font size of 3.75mm, extruded to a height of 0.5mm, positioned 2mm from the left and back edges of the plate. Across the surfac...
color([1,0.5,1]) { translate([-60, -60, 0]){ linear_extrude( height=1, twist=0, scale=[1, 1], center=false){ square([120, 120], center=false); } } translate([-58, -58, 1]){ linear_extrude( height=0.5, twist=0, center=false){ text("TheCrazyMatt", font = "Open Sans", size = 5*0.75); } ...
glb/cad_7e276e038fb3.glb
Create a Random Tower Stress Test model starting with a square base plate measuring 120mm by 120mm with a thickness of 1mm. On the top surface of this base, near the front-left edge, add the text "TheCrazyMatt" extruded to a height of 0.5mm, using a font size of approximately 3.75mm. Across the rest of the base plate, ...
translate([-60, -60, 0]){ linear_extrude( height=1, twist=0, scale=[1, 1], center=false){ square([120, 120], center=false); } } translate([-58, -58, 1]){ linear_extrude( height=0.5, twist=0, center=false){ text("TheCrazyMatt", font = "Open Sans", size = 5*0.75); } } for (i = [2 : a...
glb/cad_316bd7e3646b.glb
Create a Double-Barrel Poo Bag Holder consisting of a main cylindrical body and a matching threaded cap. For the body, create a cylinder with a radius of 20mm and a height of 5mm. On the bottom face of this cylinder, center the embossed text "Pebbles" with a font size of 7.5mm. Around the outer vertical edge of the bod...
use <ThreadGenerator.scad>; inner_radius = 16; outer_radius = 18; cap_radius = 20; cap_height = 5; thread_depth = 1; thread_radius = outer_radius + thread_depth; thread_twist = 720; thread_ridge = 1; thread_angle = 30; thread_height = 8; thread_scale = 0.95; grip_count = 10; grip_radius = 2; name_text = "Pebbles";...
glb/cad_273ef0900d44.glb
Create a Paper Stand consisting of a low circular base with a thin vertical slot. The base is a cylinder with a diameter of 25mm and a height of 2.5mm. The top edge of the base features a parabolic bevel that curves downward from the outer edge toward the center. Positioned on the top surface of the base is a curved v...
HEIGHT = 2.5; DIAMETER = 25; BEVEL_SLOPE = 2; WASHER_SIZE = 17; WASHER_THICKNESS = 1.65; bevel_inset = BEVEL_SLOPE == 0 ? 0 : HEIGHT / BEVEL_SLOPE; bottom_r = DIAMETER/2; top_r = bottom_r - bevel_inset; chamfer_h = 0.2; chamfer_w = 0.2; chamfer_top_r = bottom_r - (chamfer_h / BEVEL_SLOPE); module base() { h = HE...
glb/cad_1c856c7a0da3.glb
Create a customizable hinged box consisting of a base and a lid. The base is a rounded rectangular prism with a width of 150mm, depth of 60mm, and height of 30mm (total height 40mm minus a 10mm lid height). The corners of the base and lid should have a radius of 5mm. The walls are 1.4mm thick. Inside the base, create ...
showClosed = 2; showParts = 0; boxWidth = 150; boxDepth = 60; boxHeight = 40; lidHeight = 10; corner = 5; numSeparatorsX = 2; numSeparatorsY = 1; wallThickness = 1.4; tolerance = 0.2; textBase = "Here"; textBaseSize = 15; textLid = "Your Text"; textLidSize = 20; hingeRad=3; hingeLength=10; hingeBar=1.2...
glb/cad_2ed3d974bf25.glb
Create a comic book wall hanging clip. The object consists of two main sections: a gripping clip and a mounting buckle, both with a thickness of 2mm. The gripping clip is a flat rectangular plate 8mm high and 20mm long. Its profile features a wide section 8mm wide and 13mm long, with a narrower 2mm wide section exten...
mirror([0,0,0]) rotate([0,0,0]) clip( ); translate([17,0,0]) mirror([1,0,0]) rotate([0,0,0]) clip( ); module clip(ct=2, cbw=4, cfwh=2, cfwv = 3, chw=3, chh=5, chro=1, clt = 2, clh=8, clol = 20, clcl=17) { clipclip(t=clt, cbw=cbw, h=clh, ol=clol, cl = clcl); translate([-(chw+cfwh*2),0,0]) clipbuckle(t=ct,f...
glb/cad_91dffec7cb12.glb
Create a sliding camera cover consisting of a holder frame and a sliding insert. First, construct the holder frame as a thin trapezoidal prism with a thickness of 0.3mm. The base of the frame should have a length of 39mm, tapering to a length of 37.5mm at the top, with a total height of 6.4mm. Cut a matching trapezoi...
$fs=0.1; $fa=0.1; mirror([0,1,0]){ coverholder(); } translate([0,10,0]){ cover(); } module coverholder(){ difference(){ union(){ translate([0,-6.4,0]){ cube([39,6.41,0.7]); } HolderPoints = [ [ 0, 0, 0 ], [ ...
glb/cad_d8cf02492565.glb
Create a mouse wheel repair ring by starting with a hollow cylinder that has an outer radius of 11.65mm, an inner radius of 10.95mm, and a total height of 4mm, centered on the origin. Around the outer circumference of this ring, add 15 identical oval-shaped protrusions spaced evenly every 24 degrees. Each protrusion is...
La=4; R1=21.9/2; R2=R1+0.75; R3=R2+0.75; difference(){ union(){ cylinder(La, r=R2, center=true,$fn=64); for (Rz = [0:360/24:360]) { rotate([0,0,Rz]) translate ([R2,0,0]) scale([2*(R3-R2)/La,0.5,1])sphere (r=La/2,$fn=32); } } cylinder(La, r=R1, center=true,$fn=64); }
glb/cad_321644d1c4b2.glb
Create a customizable hinged box with a base and a lid. The base is a rounded rectangular prism with a width of 150mm, depth of 60mm, and total height of 40mm, featuring rounded corners with a 5mm radius. The walls are 1.4mm thick. Inside the base, create a grid of 5 vertical separators and one horizontal separator. Th...
showClosed = 2; showParts = 0; boxWidth = 150; boxDepth = 60; boxHeight = 40; lidHeight = 10; corner = 5; numSeparatorsX = 5; horSepWidth = 25; wallThickness = 1.4; tolerance = 0.2; textBase = "Here"; textBaseSize = 15; textLid = "Your Text"; textLidSize = 20; hingeRad=3; hingeLength=10; hingeBar=1.2; ...
glb/cad_17a1b1e308d4.glb
Create a customizable hinged box with a base and a lid. The base is a rounded rectangular prism with a width of 150mm, depth of 60mm, and total height of 40mm, featuring rounded corners with a 5mm radius. The walls are 1.4mm thick. Inside the base, create a separator grid consisting of three horizontal spaces; the vert...
showClosed = 2; showParts = 0; boxWidth = 150; boxDepth = 60; boxHeight = 40; lidHeight = 10; corner = 5; numSeparatorsY = 3; verSepWidth = 95; wallThickness = 1.4; tolerance = 0.2; textBase = "Here"; textBaseSize = 15; textLid = "Your Text"; textLidSize = 20; hingeRad=3; hingeLength=10; hingeBar=1.2; ...
glb/cad_c8ffeba311bd.glb
Create a door handle repair component consisting of a vertical tower and a base. Start with a central vertical anchor that is 8mm tall; it begins with a circular base of 10mm diameter and 0.5mm height, transitioning through a conical hull to a 5mm diameter cylinder at the top. This anchor must have a 1mm wide vertical ...
hTorre=11; xTaladro=-10; difference(){ union(){ cylinder(r=5/2,h=8,$fn=20); hull(){ translate([0,0,4]) cylinder(r=6/2,h=0.01,$fn=20); translate([0,0,8]) cylinder(r=5/2,h=0.01,$fn=20); } hull(){ translate([0,0,-0.5])...
glb/cad_9be6ab3eb3aa.glb
Create a bridge model consisting of a central horizontal platform and two supporting end pieces. Start by creating a central rectangular slab 50mm long, 10mm wide, and 0.6mm thick, positioned so its bottom surface is 3mm above the build plane. On the top face of this slab, emboss the text "Julia" centered across the le...
use <write/Write.scad> bridge_width=10; bridge_length=50; bridge_height=3; bridge_thickness=.6; extrusion_width=.55; layer_height=.2; actual_width=bridge_width-bridge_width%extrusion_width; support_length=actual_width*.5; total_height=bridge_height+bridge_thickness; support_radius=3; angle=90-atan(total_height/(supp...
glb/cad_4065fdeca842.glb
Create a water-toy elephant model. Start with a main body consisting of a cylinder 90mm high with a radius of 18mm, topped with a sphere of the same 18mm radius. Hollow out the center of this combined shape to create a reservoir. For the legs, add four cylinders, each 40mm long with a radius of 8mm, positioned symmetr...
difference(){ union(){ cylinder(50,20,20,$fn=60); sphere(20,$fn=60); rotate([90,0,0]) translate([10,5,0]) cylinder(40,8,8,$fn=60); rotate([90,0,0]) translate([10,40,0]) cylinder(40,8,8,$fn=60); rotate([90,0,0]) translate([-10,5,0]) cylinder(40,8,8,$fn=60); rotate([90,0,0]) translate([-10,40,0]) cylinder(40,8,8,$fn=60...
glb/cad_21cf3140f568.glb
Create a mechanical toy component consisting of a central block and two extending arms. Start by creating a central rectangular block measuring 26mm in length, 12mm in width, and 6mm in height. Attach a second rectangular block of the same width and height to one end, extending the total length to 32mm. On the opposite...
difference(){ union(){ cube([32,12,4]); translate([-10,0,4]) cube([20,12,4]); translate([-10,0,-4]) cube([20,12,4]); translate([-10,6,4]) cylinder(4,6,6,$fn=60); translate([-10,6,-4]) cylinder(4,6,6,$fn=60); translate([32,6,0]) cylinder(4,6,6,$fn=60); } translate([-10,6,-5]) cylinder(25,1.6,1.6,...
glb/cad_abd9424b5f04.glb
Create a 3D model of an L-shaped bracket. Start by forming a base rectangular block measuring 25mm in length, 12mm in width, and 4mm in height. Attach a second rectangular block of the same dimensions (35mm by 12mm by 4mm) to the first, but rotate it 120 degrees around the Z-axis and shift it 5mm along the X-axis and -...
difference(){ union(){ cube([25,12,4]); rotate([0,0,120]) translate([5,-9,0]) cube([35,12,4]); translate([0,6,0]) cylinder(4,6,6,$fn=60); translate([25,6,0]) cylinder(4,6,6,$fn=60); translate([-17,35,0]) cylinder(15,6,6,$fn=60); } translate([0,6,-1]) cylinder(5,1.6,1.6,$fn=60); translate([35,6,0]) cyli...
glb/cad_45bbf70cfe30.glb
Create a water-squirting elephant toy by constructing a tiered cylindrical body with a hollow center. Start by creating a base cylinder 2mm high with a radius of 17.5mm. On top of this, add a second cylinder 3mm high with a radius of 14mm, followed by a third cylinder 18mm high with a radius of 17.5mm, and a fourth cyl...
difference(){ union(){ cylinder(2,17.5,17.5,$fn=60); translate([0,0,2]) cylinder(3,14,14,$fn=60); translate([0,0,5]) cylinder(18,17.5,17.5,$fn=60); translate([0,0,23]) cylinder(3,14,14,$fn=60); translate([0,0,26]) cylinder(2,17.5,17.5,$fn=60); } rotate([90,0,0]) translate([0,8,-24]) cylinder(50,1.5,1.5,$fn=60); rotate...
glb/cad_7a8770c420e5.glb
Create a 3D printer power supply cover consisting of a hollow U-shaped shell and a back plate. Start by creating a main outer box with dimensions 119.5mm in length, 41.5mm in width, and 45mm in height, with a uniform wall thickness of 3mm. Hollow out the front and top of this box to leave a three-sided shell. In the b...
module HollowCube (Length, Width, Height, Wall) { $fn = 50; difference () { cube([Length, Width, Height]); translate ([Wall,-1,Wall]) cube([(Length-(2*Wall)), (Width+4),(Height+2)]); translate ([25,Width-10.3,-2]) cylinder(h = Wall+5,d = 3.25); translate ([35,Width-10.3,-2]) c...
glb/cad_53838273ff4e.glb
Create a Raspberry Pi Camera focus ring by starting with a sphere that has a radius of 10mm. Hollow out this sphere to create a shell with a wall thickness of 0.8mm. To open the top of the shell, remove the upper half of the sphere using a centered cube with side lengths of 30mm. Create a central circular opening throu...
$fn = 80; outerradius = 10; wallthickness = 0.8; difference() { base(); translate([0,0,10]) cube(size=30,center=true); translate([0,0,0]) sphere(r=outerradius-wallthickness); translate([0,0,0]) cylinder(h=60,r=1.6,center=true); translate([0,0,-outerradius]) cylinder(h=1,r=3.3,center=true); } module base...
glb/cad_e5d02e2f4123.glb
Create an alignment clip for an OpenBeam rail. Start with a main rectangular block that is 19mm wide, 18.2mm high, and 11.7mm deep. From this block, remove a central rectangular section to accommodate the beam, measuring 15mm wide, 15mm high, and 11.7mm deep. Drill a cylindrical hole through the remaining base plate ...
rod_diameter= 7.7; rod_length= 5.5; rod_height= 14.2; rod_side_margin= 2.0; rod_length_margin= 2.0; clip_margin= 2; bolt_diameter= 3.0; openrail_size= 15; if( rod_diameter <= 0 || bolt_diameter <= 0 || openrail_size <= 0 ) { echo("<B>Error: Missing important parameters</B>"); } main_depth= max( rod_d...
glb/cad_59db9c8fe387.glb
Create a Bahtinov mask for a telescope with an outer diameter of 170mm and a thickness of 1.5mm. The main body is a flat circular plate with a central aperture of 120mm. Within this aperture, create a series of parallel slits 3mm wide, separated by 3mm bars. These slits are arranged in three distinct groups: one group ...
outerDiameter = 170; innerDiameter = 152; thickness = 1.5; aperture = 120; centerHoleDiameter = 0; gap = 3; ribHeight = 3; ribWidth = 2; supportHeight=15; supportWidth=20; supportThickness=4; module bars(gap, width, num=5) { num = round(num); for (i=[-num:num]) { translate([width/2,i*2*gap]) square([w...
glb/cad_667987492963.glb
Create a pentagonal pot and integrated saucer. The main body is a five-sided prism with a diameter of 70mm and a total height of 55mm, featuring walls that are 2mm thick. The pot's interior is hollowed out, leaving a 2mm thick base. The bottom of the pot transitions into a saucer. The saucer is a pentagonal prism with...
use <write.scad> Height = 55; Diameter = 70; WallThickness = 2; RoundPlanter = "No"; PlanterSides = 5; SaucerHeight = "Large"; roundRes = 300 * 1; userRes = 10 * 1; h4 = Height == 0 ? 20 : abs(Height); radius = Diameter == 0 ? 20 : abs(Diameter / 2); wT = WallThickness == 0 ? 2 : abs(WallThickness); resHack = R...
glb/cad_363cf09425fc.glb
Create a Garage Door Insulation Holder consisting of two separate parts: a base and a cover. For the base, start with a flat cylinder 50mm in diameter and 1.5mm high. On top of this, center a smaller cylinder 20mm in diameter and 3mm high. Add two rectangular blocks to the top of the base: one measuring 8mm by 27.5mm ...
Centered = 0; Scaling = 1; Framework = 1; Frame_Center = 1; Frame_Width = 100; Frame_Height = 100; Frame_Length = 100; Kill_Outside = 1; module Frame () { translate ( [ 0, 0, 0 ] ) color ( [ 0.7, 0, 0 ] ) cube ( [ Frame_Width, 1, 1 ] ); translate ( [ 0, Frame_Length, 0 ] ) color ( [ 0.7, 0, 0 ] ) cube ( [ Frame_...
glb/cad_48d491fe0aa9.glb
Create a Roman SPQR banner stencil with a thickness of 0.8mm. The overall shape is a curved, crescent-like band that arcs upward from both ends. Within this band, create a series of leaf-shaped cutouts that follow the curve of the arc, resembling a laurel wreath. The leaves are arranged in a symmetrical pattern, tape...
part = 4; polygonHeight = 0.8; points_path0_0 = [ [142.871899083,183.516158140],[137.002887454,182.690291901],[131.187218143,181.621425863],[125.432040814,180.312527152],[119.744505131,178.766562898],[114.131760759,176.986500227],[108.600957362,174.975306268],[103.159244605,172.735948148],[97.813772151,170.271392996],[...
glb/cad_86b623c2311a.glb
Create a fidget spinner consisting of a central body with three circular cutouts for bearings. Start by creating a central rectangular brace that is 54mm wide, 22mm deep, and 7mm high. At the center of this brace and at two points 27mm away from the center along the x-axis, place three identical cylindrical rings. Each...
$fn=200; module spinner(x,y,z){ translate([x,y,z]){ difference(){ cylinder(r=13,h=7); cylinder(r=11,h=7); } } } module brace(){ translate([-27,-11,0]){ cube([54,22,7]); } } spinner(27,0,0); spinner(-27,0,0); spinner(0,0,0); intersectio...
glb/cad_636578a58be8.glb
Create a bearing consisting of four identical stacked rings. Each ring is a hollow cylinder with an outer diameter of 13.4mm and an inner diameter of 11.4mm, resulting in a wall thickness of 1mm. The height of each ring is approximately 1.8mm. Position the rings vertically with a gap of 0.35mm between each one. Within...
look_inside=true; num_rings=4; inner_diameter=12; zgap=0.35; gap=0.2; $fn=300; connector_thin = 1.2; wall_thin = 0.8; connector_grip = 0.8; overhang=45; ztop=0.8; r_connector_inner = connector_thin / 2 + gap/cos(overhang) + zgap*tan(overhang) + connector_grip; r_connector_outer = r_connector_inner + gap / cos(...
glb/cad_8c72edf98b55.glb
Create a filament guide consisting of four distinct components. First, create two identical side plates. Each plate is formed by combining three rectangular blocks: one 100x4x6mm block at the base, one 100x4x6mm block shifted 7mm along the Y-axis, and one 82x3.2x6mm block positioned at X=18, Y=3.9. From these combined ...
module side(){ difference(){ union(){ translate([0,7,0]) cube([100,4,6]); translate([18,3.9,0]) cube([82,3.2,6]); cube([100,4,6]); } translate([20,3,3]) cube([4,4,3.1]); translate([72,3,3]) cube([4,4,3.1]); translate([91,1.5,3]) rotate([0,0...
glb/cad_bb679645427b.glb
Create a spool holder bracket by starting with a rectangular base measuring 176mm in length, 12mm in width, and 13mm in height. Carve a rectangular channel out of the top surface that is 60mm long, 8mm wide, and 9mm deep, starting 6mm from the left edge. Within this remaining base structure, create a series of circular...
spoolRadius = 110; barHeight = 60; barThickness = 8; d1 = 9; d2 = 6; nail = 6; screw = 4; tolerance = 4; module holder(){ difference(){ cube([spoolRadius + barHeight + nail, barThickness + tolerance, d1 + tolerance]); translate([nail,barThickness/4,-0.1]) cube([barHeight + 1, barThickness, d1 + tolerance...
glb/cad_8fd8ae588a61.glb
Create a Swiss Army keyring replacement side with a total length of 78mm, a width of 22mm, and a thickness of 12mm. The main body should have rounded edges with a curvature radius of 3.5mm. Pierce three vertical holes through the body, each with a diameter of 4mm. Position the first hole 6.5mm from the left end, the ...
include <functions.scad>; bodyLength = 78; bodyWidth = 22; curvatureOfEdges = 3.5; curvatureResolution = 20; screwHoleSize = 4; screwHeadSize = 6; sideThickness = 6; cutoutOffset = 12; keyHoleOffset = 6.5; renderNutHoles = 1; difference() { minkowski() { hull() { translate([bodyWidth/2,0,0]) cylinder(r=...
glb/cad_c05c8a2f295c.glb
Create a drill guide for an automatic filament feeder. Start by creating a thin circular base disk with a radius of 33.5mm and a height of 2mm, with a concentric circular hole removed from the center with a radius of 27.5mm. On top of this base, add a ring with an outer radius of 33.5mm, an inner radius of 31mm, and a ...
translate([0,0,0]) difference() { cylinder (h = 2, r=33.5); translate([0,0,0]) cylinder (h = 2, r=27.5); } translate([0,0,2]) difference() { cylinder (h = 20, r=33.5); translate([0,0,0]) cylinder (h = 22, r=31); translate([20,0,7.5]) rotate ([0,90,0]) cylinder (h = 20, r=2); translate([0...
glb/cad_c125fd5af8c6.glb
Create an Automatic Filament Feeder motor support consisting of a base and a motor housing. Start with a rectangular base measuring 60mm wide, 5mm thick, and 10mm high, centered on the origin. Add two vertical mounting holes with a radius of 2.5mm passing through the base, positioned 50mm apart. Construct the motor ho...
translate([0,13,0]) difference() { cylinder (h = 7.5, r=23.5); translate([0,7,0]) cylinder (h = 7.5, r=7.5); translate([15.5,0,0]) cylinder (h = 7.5, r=2); translate([-15.5,0,0]) cylinder (h = 7.5, r=2); translate([-7.7,13.3,0]) cylinder (h = 7.5, r=2); translate([7.7,13.3,0]) ...
glb/cad_be2dcb5b7683.glb
Create an Automatic Filament Feeder tube support. Start with a rectangular base measuring 60mm wide, 10mm thick, and 5mm high, centered on the origin. Place two 5mm diameter circular mounting holes through the base, positioned 50mm apart from each other and offset 3mm from the center. Rising from the center of the bas...
translate([0,20,3]) difference() { cylinder (h = 7, r=16); cylinder (h = 7, r=11); } translate([0,20,0]) difference() { cylinder (h = 3, r=16); cylinder (h = 3, r=9); } translate([0,-20,5]) difference() { cube(size = [60,5,10], center = true); translate([-25,3,0]) rotate ([90,0,0]) cyli...
glb/cad_7211534e368e.glb
Create a spool guide for an automatic filament feeder. Start by creating a hollow ring with an outer radius of 33.5mm, an inner radius of 30.5mm, and a height of 10mm. Cut a rectangular notch out of the ring's wall to create an opening; this notch should be 20mm wide, 5mm deep, and 10mm high, positioned at coordinates ...
translate([0,0,0]) difference() { cylinder (h = 10, r=33.5); translate([0,0,0]) cylinder (h = 10, r=30.5); translate([2.5,25,0]) rotate ([0,0,90]) cube(size = [20,5,10]); } difference() { translate([-2,30,0]) rotate ([0,0,90]) cube(size = [10,4,10]); translate([-8,36,5]) rotate ([90,0,90]) cylinder (h ...
glb/cad_d55bc5c6a79d.glb
Create a motor controller mount consisting of a central rectangular plate and two symmetrical curved arms. Start with a central rectangular plate measuring 8mm wide, 20mm deep, and 3mm thick, centered at the origin. Place two small holes with a radius of 2mm through the plate, positioned 7mm above and below the center....
translate([0,0,0]) difference() { translate([-18.25,31.75,0]) rotate ([0,0,90]) cylinder (h = 9, r=5); translate([-18.25,31.75,1]) rotate ([0,0,90]) cylinder (h = 9, r=1.2); } translate([18.25,31.75,0]) rotate ([0,0,90]) cylinder (h = 9, r=4); translate([18.25,31.75,9]) rotate ([0,0,90]) cylinder (h = 3, r=1.7); trans...
glb/cad_b685ad8aa080.glb
Create an Automatic Filament Feeder guide arm consisting of two symmetrical vertical braces connected by mounting blocks. Each vertical brace is a rectangular prism measuring 4mm thick, 72mm long, and 15mm high. Position these two braces parallel to each other with their centers 19mm apart along the X-axis. At the top...
difference () { translate([9.5,0,7.5]) cube(size = [4,72,15], center = true); translate([12,-43,0]) rotate ([0,0,45]) cube(size = [8,8,15]); translate([12,32,0]) rotate ([0,0,45]) cube(size = [8,8,15]); } difference () { translate([-9.5,0,7.5]) cube(size = [4,72,15], center = true); translate([-12,-43,0]) rotate ([0,0,...
glb/cad_1528ea51549d.glb
Create an Automatic Filament Feeder arm support. Start with a rectangular base measuring 81mm by 10mm by 5mm. At each end of this base, create a vertical support pillar. In the center of the structure, create a cylindrical housing with an outer radius of 20mm and a height of 10mm. Bore a hole through the center of th...
translate([0,35,0]) difference() { cylinder (h = 10, r=8); cylinder (h = 10, r=3.2); translate([0,10,5]) rotate ([90,0,0]) cylinder (h = 12, r=1.90); translate([-3.1,6,1]) cube(size = [6.2,2.95,20]); } translate([0,44,5]) difference() { cube(size = [16,6,10], center = true); translate([0,10,0]) rotate ...
glb/cad_345dffe1f3d9.glb
Create an Automatic Filament Feeder guide arm. Start with a central rectangular bar measuring 15mm wide, 105mm long, and 5mm thick. At one end of the bar, create a cylindrical housing with an outer radius of 16mm and a height of 10mm. This housing must be hollowed out with a central hole of 11mm radius and a larger t...
translate([0,4,2.5]) difference() { cube(size = [15,105,5], center = true); translate([0,20,-2.5]) rotate ([0,0,0]) cylinder (h = 5, r=1.90); translate([0,-43,-5]) rotate ([0,0,0]) cylinder (h = 15, r=1.90); } translate([0,-60,0]) difference() { cylinder (h = 3, r=16); cylinder (h = 3, r=9); } translate...
glb/cad_5399531e6a10.glb
Create an Automatic Filament Feeder hub consisting of a base and two concentric cylindrical sections. Start with a circular base 5mm thick with a radius of 26mm. Remove four 4mm radius holes from this base: one centered at the origin and three others positioned 17mm from the center along the X and Y axes. Build an inn...
translate([0,0,0]) difference() { cylinder (h = 5, r=26); translate([0,0,0]) cylinder (h = 5, r=4); translate([0,17,0]) cylinder (h = 5, r=4); translate([0,-17,0]) cylinder (h = 5, r=4); translate([17,0,0]) cylinder (h = 5, r=4); translate([-17,0,0]) cylinder (h = 5, r=4); } translate([0,0,5]) difference() { cylinder ...
glb/cad_723cb41d15f8.glb
Create an Automatic Filament Feeder guide arm. Start with a central rectangular bar measuring 15mm wide, 105mm long, and 5mm thick. At one end of the bar, create a cylindrical housing with an outer radius of 16mm and a height of 10mm. This housing should have a concentric hole with a radius of 9mm passing through it ...
translate([0,4,2.5]) difference() { cube(size = [15,105,5], center = true); translate([0,20,-2.5]) rotate ([0,0,0]) cylinder (h = 5, r=1.90); translate([0,-43,-5]) rotate ([0,0,0]) cylinder (h = 15, r=1.90); } translate([0,-60,0]) difference() { cylinder (h = 3, r=16); cylinder (h = 3, r=9); } translate...
glb/cad_992e14100d65.glb
Create an Automatic Filament Feeder potentiometer arm support. Start with a rectangular base measuring 65.5mm by 5mm by 10mm. Duplicate this base and rotate the second piece 100 degrees to form the legs of the support. At the center of the assembly, create a decorative circular element with a radius of 20mm and a heig...
translate([0,35,0]) difference() { cylinder (h = 10, r=13); translate([0,0,3.5]) cylinder (h = 10, r=5); translate([0,0,0]) cylinder (h = 4, r=5); translate([-2,-15,7]) cube(size = [4,6,4]); translate([0,15,6]) rotate ([90,0,0]) cylinder (h = 12, r=1.90); translate([-3.1,6,1]) cube(size ...
glb/cad_9c5fde2702fd.glb
Create a Filament Feeder Roller Half by stacking a series of concentric cylinders with a shared central hole of 8.4mm in diameter. Start with a base cylinder 1mm high with a radius of 40mm. On top of this, add a second cylinder 3mm high that tapers from a 40mm radius at the bottom to a 38mm radius at the top. Above tha...
translate([0,0,0]) difference() { cylinder (h = 1, r=40); cylinder (h = 1, r=4.2); } translate([0,0,1]) difference() { cylinder (h = 3, r1=40, r2=38); cylinder (h = 3, r=4.2); } translate([0,0,4]) difference() { cylinder (h=10, r1=9.5, r2=8); cylinder (h=10, r=4.2, r=4.2)...
glb/cad_59cbb7b77693.glb
Create a Filament Feeder Motor Tube Hub consisting of a base and two concentric cylindrical hubs. Start with a circular base 5mm thick with a radius of 26mm. Remove four 4mm radius holes from this base: one centered at the origin and three others positioned 17mm from the center along the X and Y axes. Build an inner h...
translate([0,0,0]) difference() { cylinder (h = 5, r=26); translate([0,0,0]) cylinder (h = 5, r=4); translate([0,17,0]) cylinder (h = 5, r=4); translate([0,-17,0]) cylinder (h = 5, r=4); translate([17,0,0]) cylinder (h = 5, r=4); translate([-17,0,0]) cylinder (h = 5, r=4); } translate([0,0,5]) difference() { cylinder ...
glb/cad_052d106881b2.glb
Create a phone mount consisting of a flat main arm and a ball-joint support. The main arm is a hull formed between two cylinders of 15mm radius and 4mm height, with the second cylinder positioned 145mm away from the first along the x-axis. At the end of this arm, add a vertical support consisting of a cylinder with a...
armLenght = 145; mountDir = 1; armsAngle = 30; cableHolder = 1; cableDiameter = 4; holderSeparation = 60; mountBaseDiam = 8; mountBaseHeight = 20; mountSphereDiam = 18; width=30; height=4; corner=10; len1=armLenght; len2=95; rad1=6; rad2=7; rad3=2; h1=6; h2=2; dist1=75; dist2=10; dist3=holderSeparation; $fn...
glb/cad_7dbc020ae32b.glb
Create a universal phone mount consisting of a base support arm and a phone cradle. First, construct the base arm as a flat plate with a thickness of 4mm. The arm is formed by two connected cylindrical sections with a radius of 15mm, creating a hull-like shape that extends to a total length of 135mm. At each end of t...
armLenght = 135; mountDir = 1; armsAngle = 30; cableHolder = 1; cableDiameter = 4; holderSeparation = 90; phoneW = 80; phoneD = 10; mountH = 30; usbW = 10; usbD = 5; width=30; height=4; corner=10; len1=armLenght; len2=95; mountH1 = 5; rad1=6; rad2=7; rad3=2; h1=6; h2=2; dist1=75; dist2=10; dist3=holderSe...
glb/cad_cea01b391c5d.glb
Create a phone mount base consisting of two connected arms with a thickness of 4mm. The first arm is a rounded rectangular slab 30mm wide and 145mm long. At the end of this arm, attach a second arm that is 95mm long and 30mm wide, angled at 30 degrees relative to the first. Both arms should have semi-circular ends with...
armLenght = 145; mountDir = 1; armsAngle = 30; cableHolder = 1; cableDiameter = 4; holderSeparation = 60; width=30; height=4; corner=10; len1=armLenght; len2=95; rad1=6; rad2=7; rad3=2; h1=6; h2=2; dist1=75; dist2=10; dist3=holderSeparation; $fn=60; ang=armsAngle*mountDir; cR=1.5; cabRad=cableDiameter/2; cab...
glb/cad_368e81c99291.glb
Create a Bugaboo Bee Stroller Handle Locking Clip replacement. Start with a main rectangular block measuring 40.6mm in length, 7mm in width, and 8mm in height, centered on the origin. Carve a central channel through the length of the block that is 4.5mm wide and 8mm deep, leaving walls of 1.25mm on each side. Within ...
l=40.6; h=8; w=7; wmin=2.5; cut_w=w-wmin; cut_l=8.6; bit=.005; th=1.35; toffside=5.6; tbase=3.8; tri_cut_tip=.22; or=4.5/2; ir=2.5/2; ch=3; latch_off=1.5; latch_w=w; latch_h=4.3+.25; latch_l=15.7; latch_l2=11.5+.5; div_l=8.5; div_w=2; div_h=4; div_off=3; module bee_replace(){ difference(){ cube([l,w,h],true); ...
glb/cad_a33311bbfde3.glb
Create a phone mount consisting of a main support arm and a magnet base. The arm is a flat strip 4mm thick, 30mm wide, and 145mm long. The arm's profile is defined by two rounded ends with a radius of 15mm. At one end of the arm, create two circular holes with a radius of 6mm, spaced 75mm apart, to serve as screw mount...
armLenght = 145; mountDir = 1; armsAngle = 30; cableHolder = 1; cableDiameter = 4; holderSeparation = 60; magnetShape = 0; mountBaseHeight = 20; magnetX = 35; magnetY = 25; magnetDiam = 15; magnetHeight = 1.5; width=30; height=4; corner=10; len1=armLenght; len2=95; rad1=6; rad2=7; rad3=2; h1=6; h2=2; dist...
glb/cad_d2b705eda1de.glb
Create a stacking learning block as a rounded cube with a width and depth of 30mm and a height of 10mm, using a corner radius of 1mm. On the top face, center a recessed character "C" with a size of 15mm and a depth of 5mm. The character should be formed by a 6-sided prismatic extrusion that tapers from a base radius ...
bottom="B"; top="C"; name="cat"; name2="🐈"; W=30; H=10; T=0.1; B=0.2; font_number="Chalkboard:style=Bold"; font_name="Chalkboard:style=Bold"; font_name2="Noto Emoji:style=Regular"; R1=1; F1=30; R2=1; F2=6; H2=H/2; S2=W/2; R3=0.5; H3=1.2; S3=H/2; !block(bottom,top,name,name2); block("","0","zero","...
glb/cad_013362dee0ee.glb
Create a drill jig for a table leg by starting with a solid cube measuring 54.1mm in width and depth, and 13mm in height. From this main block, remove a smaller central cube measuring 50.9mm in width and depth, and 8mm in height, positioned such that it leaves a 5mm thick base. This creates a hollow square tray with wa...
leg_size = 50.5; leg_clearance = 0.2; leg_offset = 1.6; hole_size = 1.55; hole_offset = leg_size/6; stage_1 = 5; stage_2 = 4; stage_3 = 4; wall = leg_offset; difference(){ translate([0,0,(stage_1+stage_2+stage_3)/2]) cube([leg_size+(2*leg_clearance)+(2*leg_offset)+(2*wall), leg_size+(2*leg_clearance)+(2*leg_offse...
glb/cad_884f12af49bf.glb
Create a PH145 Brushless FPV Quadcopter frame consisting of a top and bottom plate. Both plates are identical in their primary layout: create four prop mounts, each being a ring with an outer diameter of 87.2mm and an inner diameter of 77.2mm (a 5mm wall thickness), positioned at the corners of a square with a diagonal...
t=2.4; guard_thickness=3.6; top_height=3.6; bottom_height=3; $fn=30; battery_width=20; battery_strap=22; battery_slot_width=4; prop_width=25.4*3+2+6; motor_hole_size=3.2; motor_hole_spacing=12.4; motor_diameter=19; motor_mount_width=motor_diameter*0.52; motor_center_hole=5; span=145; sides=sqrt(span*span/2); fr...
glb/cad_50198c45b41c.glb
Create a Pen Holder for Prusa Mendel by constructing a tapered cylindrical sleeve integrated into a flat rectangular base. Start by creating a central vertical hole that is tapered, with a bottom diameter of 5mm and a top diameter of 5.5mm, extending to a height of 83mm. Surround this central void with a solid body. ...
pi = 3.141592653589; sl = 2; pen_d1 = 10; pen_d2 = 9; pen_length = 83; module ellipse(majr, minr) { scale([majr/100, minr/100]) circle(100, $fn=majr * 2 * pi / sl); } module rsq(size, r = 2, center=false) { render() hull() { translate([r, r, 0]) cylinder(r=r, h=size[2], $fn=24); tra...
glb/cad_6a33b1b0bf5d.glb
Create a KeySnake articulated model consisting of a head, eight repeating body segments, and a tail. All components are based on a primary diameter of 10mm. For the head, create a scaled sphere (25mm x 15mm x 15mm) with two small 5mm spheres for eyes. Add a flattened lip and a small protruding tongue made of a rotated...
$fa=6; $fs=2; diameter=10; spacing=0.3; extra=0; flat=diameter/20; parts=8; length=diameter+extra; dspacing=spacing*2; ring=((diameter-dspacing)/3)/2; dd=((diameter)/2)-ring; echo("Diameter = ",diameter,"mm"); echo("partlength = ",length,"mm"); echo("ring radius = ",ring,"mm"); echo("torus radius = ",dd,"mm"); ech...
glb/cad_d0c3535c9845.glb
Create a camera support frame for a tinywhoop drone. Start with a main horizontal top bar that is 43mm wide, 4mm deep, and 2mm thick. At each end of this bar, add vertical side pillars that are 4mm wide, 4mm deep, and 6mm tall, positioned so they extend downwards from the top bar. Through the top bar, create a series...
height = 2; length = 4; width = 43; holedistance = 4; difference() { union() { translate([0, 0, 3]) cube([width, length, height]); translate([0, 0, -height*2+1]) cube([4, length, 6]); translate([width-4, 0, -height*2+1]) cube([4, length, 6]); } ...
glb/cad_73ea75ffc71c.glb
Create a "Back and Forth Thread" fidget toy consisting of a central screw, two outer rings, and a slider. Start by creating a central cylinder with a radius of 10mm and a height of 60mm. Carve two opposing helical threads into this cylinder: one that winds for 720 degrees over a height of 50mm, and a second that wind...
draw="All"; $fn=30; module Object() { rotate([0,45,0])cube([2,2,2],center=true); } module Thread(h=80,r=10,angle=12*360,neg=1) { steps=360/$fn; for(i=[0:(angle/steps)-1]) { a1=steps*i; a2=steps*(i+1); x1 = cos(a1*neg)*r; y1 = sin(a1*neg)*r; x2 = cos(a2*neg)...
glb/cad_1308e46e3b3b.glb
Create a belt clip for an E3D Titan mount. The object consists of two main rectangular sections aligned along the Y-axis. First, create a top clip section as a rectangular block measuring 44mm in length, 3mm in height, and 18mm in width. Subtract two cylindrical holes from this block; each hole should have a radius o...
teeth = 8; belt_width = 6.5; belt_thickness = 1.5; pitch = 2.0; shell = 1.5; cutout_width = 6 + belt_thickness + shell; len = 2*teeth*pitch + cutout_width; round_corner_epsilon = 1; epsilon = 0.01; module clipTop() { difference() { translate([-4,0,0]) cube([44,3,18]); translate([5.5,1,3]) ...
glb/cad_6ed754000f77.glb
Create a belt clip for an E3D Titan mount. Start with a rectangular base block measuring 44mm in length, 4mm in width, and 18mm in height. Subtract two cylindrical holes from this block to create mounting points; each hole should have a radius of 1.66mm and a length of 10mm, positioned centrally along the width. The ...
teeth = 10; belt_width = 6.5; belt_thickness = 1.5; pitch = 2.0; shell = 1.5; cutout_width = 6 + belt_thickness + shell; len = 2*teeth*pitch + cutout_width; round_corner_epsilon = 1; epsilon = 0.01; module clipTop() { difference() { translate([-4,0,0]) cube([44,4,18]); translate([5.5,1,3]) ...
glb/cad_de5ca8b9b6f4.glb
Create a belt clip mount for an E3D Titan extruder. The model consists of two primary interlocking components: a top clip and a bottom clip. Construct the top clip as a rectangular block measuring 40mm in length, 18mm in width, and 4mm in height. Remove two cylindrical holes with a radius of 1.66mm and a length of 10m...
teeth = 8; belt_width = 7.5; belt_thickness = 1.5; pitch = 2.0; shell = 1.5; cutout_width = 6 + belt_thickness + shell; len = 2*teeth*pitch + cutout_width; round_corner_epsilon = 1; epsilon = 0.01; module clipTop() { difference() { cube([40,4,18]); translate([5.5,1,3]) rotate([90,0,0]) c...
glb/cad_9fd1fa02be8a.glb
Create a Rising Dovetail Joint consisting of two interlocking parts: a male block with a tongue and a female block with a matching groove. For the male part, create a rectangular block 20mm long with a height of 4mm. Attached to this block is a tongue with a maximum width of 6mm, a length of 6mm, and a base height of ...
partType="Both"; Number_of_Joints=1; width=6; Tongue_Length=6; height=4; height_2=1; height_3=1; angle =20; Male_Block_Width = 0; Female_Block_Width = 10; Male_Block_Length = 20; Block_Depth = 0; Tolerance=0.1; length=Tongue_Length+0.5*Tolerance; height_4 = height-height_2-height_3; Tongue_Rise_Angle = a...
glb/cad_cc65942ff3c6.glb
Create a toothbrush holder starting with a rectangular base measuring 140mm in length, 30mm in width, and 6mm in height. Carve out a central channel from the top of the base that is 140mm long, 25mm wide, and 2mm deep, leaving a 2.5mm wall on the sides. At one end of the base, construct a vertical ring with an outer di...
use <write.scad> use <shapes.scad> module tbh(){ union(){ difference(){ cube([140,30,6],center=true); translate([0,0,2]) cube([140,25,2],center=true); for (i = [10,55,-10,-55]){ translate([i,5,0]) cube([15,5,40],center=true); translate([i,-5,0]) cube([15,5,40],center=true); } translate([-72,0,0]) cube([140,40,40],...
glb/cad_8a1659647eda.glb
Create a filament spool plug consisting of two stacked coaxial cylinders with a central hole. First, create a wide, thin base cylinder with a radius of 21.84mm and a height of 3mm. Centered on top of this base, add a second, narrower cylinder with a radius of 15.6mm and a height of 11mm. Bore a vertical hole through th...
use <write/Write.scad> label = "ExcelFil"; spool_diameter = 31.2; holder_diameter = 4.5; brand = str(label, " ", spool_diameter, "mm / ", holder_diameter, "mm"); $fn = 300*1; font = "orbitron.dxf"; difference(){ union(){ cylinder(r=spool_diameter*1.4/2, h=3); cylinder(r=spool_diameter/2, h=11); } cylinder(r=h...
glb/cad_388b2b331d78.glb
Create a FujiFilm X-Mount Rear Lens Cap with an overall thickness of 13.5mm. Start by creating a main body consisting of a cylinder with a base diameter of 55mm that tapers to a diameter of 52mm over a height of 12mm. On top of this, add a 1.5mm thick grip cone that further tapers from 52mm down to 49mm. Hollow out th...
$fn=120; internal_depth=10; internal_diameter=44; overall_thickness = internal_depth + 3.5; outer_diameter_base = 55; outer_diameter_gripbase = 52; outer_diameter_gripinner = 49; grip_cone_depth = 1.5; lugs = 3; lug_tip_to_tip = 16; lug_depth = 1.3; lug_thickness = 1.2; lug_clearance = 2; lug_tighten_depth = 1.5; ...
glb/cad_885a81dd9627.glb
Create a Phantom Power Supply Bracket consisting of two identical parallel arms connected by a central bridge. Each arm is a rectangular slab 104.5mm long, 15mm high, and 2mm thick. Position the arms so they are separated by a central gap of 40mm. Connect the two arms in the center with a bridge that is 12mm wide and 2...
$fn=50; module bracket(){ difference(){ translate([-2.25,0,0]){ cube([104.5,2,15]); } translate([25,4,7.5]){ sphere(2.75); } translate([75,4,7.5]){ sphere(2.75); } translate([25,-3,7.5]){ rotate(a=270,v=[1,0,0]){ cylinder(r=1,h=5); } } ...
glb/cad_9a8b792db53b.glb
Create a Phantom Power Supply Bracket by starting with a central rectangular base measuring 104.5mm in length, 2mm in width, and 15mm in height. Position this base so its center is offset slightly. At two points along the length—specifically at 25mm and 75mm from the start—create spherical voids with a radius of 2.75mm...
$fn=50; module bracket(){ difference(){ translate([-2.25,0,0]){ cube([104.5,2,15]); } translate([25,4,7.5]){ sphere(2.75); } translate([75,4,7.5]){ sphere(2.75); } translate([25,-3,7.5]){ rotate(a=270,v=[1,0,0]){ cylinder(r=1,h=5); } } ...
glb/cad_4b3fd44e7984.glb