Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Box Mod 75w tc connector component by stacking four coaxial cylindrical sections along a central axis. Start with a base cylinder 3.6mm in diameter and 3mm in length. Directly on top of this, add a wider cylinder with a diameter of 5.5mm and a length of 1.5mm. Above that, place a third cylinder 3.6mm in diamet...
$fn=96; translate([0,0,0]) rotate([0,0,90]) cylinder(d=3.6,h=3); translate([0,0,3]) rotate([0,0,90]) cylinder(d=5.5,h=1.5); translate([0,0,4.5]) rotate([0,0,90]) cylinder(d=3.6,h=2); translate([0,0,6.5]) rotate([0,0,90]) cylinder(d1=3.6,d2=3,h=0.5);
glb/cad_decf34c455c3.glb
Create a cover for a Box Mod by constructing a semi-cylindrical shell. Start with a solid cylinder 30mm in diameter and 81.6mm in height. Cut this cylinder in half vertically to create a U-shaped channel, then hollow out the center by removing a smaller concentric semi-cylinder with a 26mm diameter and a height of 86mm...
$fn=96; longueur=46; hcouv=86-2-4; module couvercle() { difference() { union() { translate([0,50-15,2]) rotate([0,0,90]) cylinder(d=30,h=hcouv-0.4); translate([13,19+2,2]) cube([2,50-21-15,hcouv-0.4]); translate([-15,19+2,2]) cube([2,50-21-15,hcouv-0.4]); } translate([0,50-15,0]) rotate([0,0,90]) cy...
glb/cad_c3791b6ee56b.glb
Create two identical Z-Axis Anti-Backlash components. For each component, start with a solid rectangular block measuring 15mm in width, 40mm in depth, and 10mm in height. From this block, remove a rectangular section from the top edge that is 15mm wide, 6.6mm thick, and 3mm deep, positioned 3mm from the back edge. Addi...
w=15; d=40; h=10; t=6.6; nw=8.3; module makeit() { difference() { cube([w,d,h]); translate([0,d-t-3,0]) cube([w,t,t]); cube([w,20,h-3.5]); translate([w/2 - nw/2,0,0]) cube([nw,20,h]); } } rotate([0,180,0]) makeit(); translate([w+5,0,0]) rotate([0,180,0]) makeit();
glb/cad_d9d87dd491b5.glb
Create a Quick Change Filament Filter consisting of two symmetrical threaded halves that screw together to form a hollow cylinder. Each half has an outer diameter of 20mm and a height of 10mm. For each half, create a main cylindrical body with a central hole 6mm in diameter. The interior of the cylinder should be hol...
use <threads.scad> holediam = 6; outerdiam = 20; height = 20; tablen = outerdiam + 7; tabthick = 2; tabround = 2; thread_diam = outerdiam - 2; thread_pitch = ThreadPitch(thread_diam); thread_len = height/4; hollowdiff = 2*thread_pitch; hollowdiam = thread_diam - 2.6*thread_pitch; hollowzoff = 1.6; hollowheight = heigh...
glb/cad_d307c586aa93.glb
Create a drop-in T-slot nut designed for aluminum extrusion. The main body is a cylinder with a diameter of 6mm and a total height of 5.75mm. This cylinder is hollowed out by a concentric inner cylinder with a diameter of 5mm, creating a wall thickness of 0.5mm. At the base of this cylinder, add a wider cylindrical fl...
use <threads.scad> module TSlotNut(thread_diam=5) { botheight = 4.0; botrimheight = 1.5; botcurv = 9; thread_tolerances = 0.2; slot_width = 6.0; topmaxextent = slot_width/2; botmaxextent = 10.8/2; center_cyl_height = botheight + 1.75; center_cyl_diam = slot_width; center_inner_cyl_diam = center_cy...
glb/cad_0651e695246d.glb
Create a small plug consisting of three stacked coaxial sections. Start with a bottom base that is a truncated cone 1mm high, tapering from a bottom radius of 4mm to a top radius of 3mm. Directly on top of this base, place a cylindrical shaft with a radius of 2mm and a height of 2mm. Finally, top the shaft with a third...
$fn = 90; bottomRadius = 4; bottomHeight = 1; shaftRadius = 2; shaftHeight = 2; topRadius = 2.5; topHeight = 3; module bottom() { color("cyan") cylinder(r2 = bottomRadius, r1 = bottomRadius - 1, h = bottomHeight); } module shaft() { color("yellow") translate([0, 0, bottomHeight]) ...
glb/cad_9fc27fdd8017.glb
Create a camera mount consisting of a flat base and an angled elevated platform. Start with a central rectangular base plate measuring 40mm by 35mm with a thickness of 2mm. Attach two rectangular tabs to the left and right sides of the base, each measuring 8mm by 39mm and 2mm thick. Centered on the base, add a second r...
$fn=100*1; angle=25; voff=3; setback=10.5; tw=8.5*1; tc=8.5*1; th=2*1; difference(){ union(){ cube([40,35,th],center=true); translate([tc,0,0]) cube([8,39,th],center=true); mirror([1, 0, 0]) translate([tc,0,0]) cube([8,39,th],center=true); rotate([...
glb/cad_690f834fd131.glb
Create an SMT Solder Paste Dispenser consisting of two separate parts: a motor mount and a syringe holder. For the motor mount, create a base with a total height of 30.5mm. The base shape is a hull formed by a cylinder with a 26mm diameter and two rounded corners (5mm radius on the front, 3mm on the back) positioned t...
$fn=180; shaft_hole_diameter = 8; bottom_height = 2.5; motor_mount_width = 45; cavity_wall = 2; cavity_height = 28; cavity_diameter = 22; motor_screws_space = 30; motor_screws_holes_offset = 8; motor_screws_holes_depth = 20; syringe_screws_space = 31; syringe_screws_holes_depth = 20; total_height = bottom_height ...
glb/cad_0edba8424abf.glb
Create an SMT Solder Paste Dispenser consisting of two separate parts: a motor mount and a syringe holder. For the motor mount, create a base with a width of 65mm and a total height of 36.5mm. The base should have a rounded profile with convex corners of 5mm and flat corners of 3mm. Center a vertical cylindrical cavit...
$fn=180; shaft_hole_diameter = 8; bottom_height = 2.5; motor_mount_width = 65; cavity_wall = 2; cavity_height = 34; cavity_diameter = 22; motor_screws_space = 42.5; motor_screws_holes_offset = 0; motor_screws_holes_depth = 20; syringe_screws_space = 40; syringe_screws_holes_depth = 20; total_height = bottom_heigh...
glb/cad_a49874e97b20.glb
Create a parametric luggage label consisting of a flat rectangular plate with rounded corners. The plate has a thickness of 3mm and a corner radius of 3mm. On the left side of the plate, center a vertical slitted hole for a cable tie. This slit should have a width of 4mm and a length of 10mm, extending fully through ...
use <Module/Writescad/write.scad> font="stencil2.dxf"; fontlengthfactor=.682; fontsize=11; spacing=0.9; linespacing=0.85; cornerradius=3; platethickness=3; textdepth=-66; slitlength=10; slitwidth=4; hidetext=false; text=[ "YOUR NAME", "ADDRESS", "ZIP CITY", "COUNTRY" ]; maxtextchars = max(len(text[0]),len(...
glb/cad_2bd163cb0d8a.glb
Create a Y-axis belt tensioner and bearing upgrade. Start with a rectangular base block measuring 15.5mm wide, 12.5mm high, and 14.5mm deep. Centered on the top face of this block, create a 3.5mm diameter hole that extends vertically through the block. On top of the base, construct a holder consisting of a flat centra...
bearing_diameter = 12.5; bearing_bore = 6.5; bearing_width = 7.3; thickness = 3; anchor_width = 15.5; anchor_height = 12.5; anchor_depth = 14.5; holder_bore = 3.5; anchor(width = anchor_width, height = anchor_height, depth = anchor_depth, bore = holder_bore); holder_width = (bearing_width * 2) + thickness + 1; trans...
glb/cad_aeae50d5f55b.glb
Create a Y-axis belt tensioner bearing holder. Start by creating a central cylinder with an outer diameter of 12.7mm and a height of 4.6mm. This central cylinder should be hollowed out by a concentric hole with a diameter of 12.7mm that passes through the entire height. Add two integrated washer-like discs to the top ...
bearing_holder(bearing_diameter = 12.7, bearing_bore = 7, bearing_width = 4.6, thickness = 2); module bearing_holder(bearing_diameter, bearing_bore, bearing_width, thickness) { overall_width = thickness + (bearing_width * 2); difference() { union() { linear_extrude(height = ove...
glb/cad_a58dca082e22.glb
Create a Macbook Pro Cable Dock by starting with a main rectangular block measuring 90mm in width, 12mm in depth, and 32mm in height, with the outer corners smoothed to a 2mm radius. Carve five distinct slots into this block to hold cables and connectors. The first slot, for the power adapter, is 17.15mm wide, 5.25mm...
outer_width = 90; outer_depth = 12; outer_height = 32; outer_radius = 2; power_width = 17.15; power_depth = 5.25; power_height = 13; power_radius = 1; power_cablewidth = 1.5; power_xoffset = 34; videoA_width = 12; videoA_depth = 9; videoA_height = 25; videoA_radius = 1; videoA_cablewidth = 2.5; videoA_xo...
glb/cad_411064482c2d.glb
Create a Z endstop servo mount consisting of a main mounting block and a separate switch arm. The mounting block is a base with a total width of 44.45mm, depth of 6.35mm, and height of 28.575mm. It features a central cutout to accommodate a microservo, with a rectangular opening of 12mm by 2.3mm and 1.5mm depth for t...
include <sg90.scad> include <fillet.scad> include <holes.scad> wall = 1.32; e = 0.01; function inch(i) = i * 25.4; block_w = inch(1.75); block_d = inch(0.25); block_h = inch(1.125); module mount_block() { w = block_w; d = block_d; h = block_h; big_tab_d = d; difference() { linear_extrude(height=d) ...
glb/cad_19749c04db3d.glb
Create a Koppla Wallmount by starting with a central rectangular block measuring 60mm wide, 20mm deep, and 44mm high, centered on the origin. Hollow out the center of this block by removing a smaller rectangular volume of 54mm wide, 17mm deep, and 44mm high, shifted 3mm along the depth axis. To create the mounting poin...
$fn=200; difference() { cube([60,20,44], center=true); translate([0,3,3]) cube([54,17,44], center=true); translate([0,25,-20]) cylinder(d=45, h=10, center=true); } difference() { translate([39,0,19.5]) cube([18,20,5], center=true); translate([39,0,20]) cylinder(d=5, h=10, center=true); } differenc...
glb/cad_0898f4e03cc2.glb
Create a Koppla Wallmount by starting with a central rectangular block measuring 60mm wide, 20mm deep, and 44mm high. Carve out a large central rectangular void measuring 54mm wide, 17mm deep, and 44mm high, offset by 3mm along the depth axis. Remove a cylinder with a 15mm diameter and 30mm length, oriented horizontall...
$fn=200; difference() { cube([60,20,44], center=true); translate([0,3,3]) cube([54,17,44], center=true); rotate([90,0,0]) cylinder(d=15, h=30,center=true); translate([0,0,15]) cube([15,25,30], center=true); } difference() { translate([39,0,19.5]) cube([18,20,5], center=true); translate([39,0,2...
glb/cad_4d05a8a63e64.glb
Create a hexagonal nut for a bulkhead fitting. The nut is a short, eight-sided prism with a height of 4.98mm. The outer diameter of the hexagonal body is 22.8mm (calculated as the sum of the thread pitch radius and a 10mm offset). At the center of the nut, create a vertical hole with internal trapezoidal threads. The...
use <Thread_Library.scad> OD = (3/8) * 25.4; W = 0.5 * 25.4; T = 0.4; delta = 1; gap = 2; nut(); CW = W*2; f = CW/25.4 * 2; ID = OD-4; module base(){ union(){ bolt(); translate([0,0,12])barb(); } } module barb() { difference(){ union(){ cylinder(d=OD, h=gap*3+delta*4...
glb/cad_a8cdbc445bc3.glb
Create a hexagonal nut for a bulkhead assembly. The nut is a short, thick hexagonal prism with a height of 4.98mm. The outer diameter across the flats is 22.8mm (calculated as the inner diameter of 12.7mm plus 10mm). At the center of the hexagon, create a vertical cylindrical hole with a diameter of 12.7mm that passe...
use <Thread_Library.scad> OD = (3/8) * 25.4; W = 0.5 * 25.4; T = 0.4; delta = 1; gap = 2; nut(); CW = W*2; f = CW/25.4 * 2; ID = OD-4; module base(){ union(){ bolt(); translate([0,0,12])barb(); } } module barb() { difference(){ union(){ cylinder(d=OD, h=gap*3+delta*4...
glb/cad_954c8ea45c4b.glb
Create a parametric can lid consisting of two concentric cylindrical shells. First, create a base cylinder with a radius of 29.5mm and a height of 6mm. Hollow out this base by removing a concentric cylinder from the center, starting 1.5mm from the bottom, leaving a floor thickness of 1.5mm. Next, add a second, larger...
$fn = 360; thickness = 1.5; sm_circle = 59.0/2; bg_circle = 70.0/2; height = 6; module lid(){ difference(){ cylinder(r=sm_circle, h=height); translate([0, 0, thickness]){ cylinder(r=(sm_circle-thickness), h=height); } } translate([0, 0, height]){ difference(){...
glb/cad_a6f575a4e64f.glb
Create an Alulet bender consisting of two mirrored symmetrical components. For each component, start with a base plate that is a combination of a semi-circle with a radius of 80mm and a rectangular handle section. The handle section extends 150mm in length. Within the semi-circular section, remove a center hole with ...
$fa = 0.01; assembled(); bending_radius = 80; centerhole_radius = 5; thickness = 5; alulet_width = 15; alulet_height = 9; guide_width = 5.5; guide_height = 5; handle_length = 150; module assembled() { color([0,0,1]) part_with_guide(); color([0,1,0]) translate([0,0,alulet_height+thickness*2...
glb/cad_fd616cc28974.glb
Create a filament clip with a total height of 2mm. The design consists of two interlocking C-shaped rings and an attached handle. First, create two identical rings with an outer diameter of 4.51mm and a wall thickness of 1.6mm, resulting in an inner hole diameter of 2.91mm. Position these two rings so they are center...
filament_diameter = 2.85; handle = 1; handle_diameter = 16; thickness = 1.6 ; object_height = 2; expansion = 0.1; rotation_2nd_ring = 180; $fn = 60; holedia = filament_diameter + expansion; module handle(){ union(){ translate([handle_diameter/2,0]){ difference(){ circle(...
glb/cad_a1381bae988b.glb
Create a Radus Spool mount for filament. Start with a base that combines a cylinder and a rectangular block. The main body is a cylinder with a diameter of 90mm and a height of 8mm, merged with a rectangular block measuring 90mm in length, 90mm in width, and 8mm in height. Add a smaller rectangular block measuring 90mm...
arc=0.25; m3d=3.3+arc; m6d=6; m8d=8+arc; m3nut=6.3+arc; m3nut_he=2.4+arc; m6nut=11.3+arc; m6nut_he=5+arc; he=8; wi=90; le=90; tl=6; ro_he=m6d*3; ro_up=he; difference() { union() { translate([0,0,0]) cylinder(he, wi/2, wi/2, $fn=32); translate([0,-wi/2,0]) cube([le-wi/2, wi, he]); translate([-wi/2,-wi/2...
glb/cad_b8e425e955a0.glb
Create a Radus Spool mount by starting with a triangular prism that has a height of 30mm and a width of 70mm. From this main body, remove a central vertical cylinder with a radius of 4.5mm. Additionally, remove two larger cylinders with a radius of 5.45mm, one positioned at the very bottom and one positioned 19mm above...
arc=0.25; he=30; wi=70; m6d=6+arc; m8d=8+arc; m6nut=11.4+arc; m6nut_he=5+arc; nut_pos=24; bud=22+arc; buhe=7+arc; difference() { translate([0,0,0]) cylinder(he, wi/2, wi/2, $fn=3); union() { translate([0,0,-1]) cylinder(11+1, 10.9/2, 10.9/2, $fn=16); translate([0,0,he-11]) cylinder(11+1, 10.9/2, 10.9/2, $fn=...
glb/cad_e46bb0a24d7a.glb
Create a Radus Spool mount consisting of a rectangular base block with a total height of 8mm. The main body is a rectangular prism measuring 25mm in length, 90mm in width, and 8mm in height. From this main block, remove a central horizontal channel that runs through the width of the object. This channel is a cylinder...
arc=0.25; m3d=3.3+arc; m6d=6; m8d=8+arc; m3nut=6.3+arc; m3nut_he=2.4+arc; m6nut=11.3+arc; m6nut_he=5+arc; he=8; wi=90; le=100/4; tl=6; ro_he=m6d*3; ro_up=he-1; difference() { union() { translate([-wi/2,-wi/2-ro_he+tl,0]) cube([le, ro_he, ro_up]); } translate([-wi/2-1, -wi/2-ro_he+tl+ro_he/2, he]) rotate...
glb/cad_c934825e196f.glb
Create a Radus Spool mount by forming an L-shaped bracket. Start with two intersecting rectangular blocks: one measuring 35mm x 14mm x 14mm and another measuring 14mm x 28mm x 14mm, joined at a corner to create a base that is 14mm thick. From this combined volume, remove two intersecting cylindrical holes to create a...
arc=0.25; he=14; le=35; le2=he*2; m6d=6+arc; m8d=8+arc; m6nut=11.4+arc; m6nut_he=5+arc; nut_pos=24; bud=22+arc; buhe=7+arc; difference() { union() { translate([0,0,0]) cube([le, he, he]); translate([0,0,0]) cube([he, le2, he]); } translate([he/2,-1,he/2]) rotate([-90, 0, 0]) cylinder(le+2, m8d/2, m8d/2, $...
glb/cad_8fe8a7f14678.glb
Create a support post consisting of a central cylindrical beam with conical tips at both ends. The beam should have a diameter of 0.6mm and connect two specified points in 3D space. At each end of the beam, add a conical tip with a height of 0.3mm that tapers from the beam's 0.6mm diameter down to a tip diameter of 0.3...
support([-2.4,1.3,7.7],[-3.3,-0.3,14]); support([4.3,0.2,1.5],[3.9,0.2,9.78]); support([0.4,-1.5,17.85],[1,-1.7,18.366]); module support(bot_pt,top_pt,dia=0.6,tip_dia=0.36,tip_h=0.3,base=0,base_h=2) { if (base>0) { translate(top_pt) cylinder(d=base,h=base_h, $fn=72); } hull() { translate(top_pt) cylinder(d...
glb/cad_63a7d90da0df.glb
Create an 8-axle N scale flat car consisting of a main deck, two bolsters, and four pins. Construct the main deck as a long, low-profile platform. The overall car length is 1550.32mm (51 feet), with a lower deck length of 762mm (25 feet) and an upper deck length of 304.8mm (10 feet). The deck height is 121.92mm (48 i...
include <../ngauge.scad>; include <../../includes/jshapes.scad>; include <../../includes/OpenSCAD_Triangles/Triangles.scad>; highq="Y"; module enddeck(enddeckl, enddeckw, enddeckt) { flanget=nscale(inch_to_mm(1/2)); inset=nscale(inch_to_mm(1)); btankd=2.5; difference() { union() { ...
glb/cad_9d9baa61d69d.glb
Create a cable comb for organizing sleeved cables. Start by creating a rectangular block with a height of 3mm. The block's width should be 16.8mm and its depth should be 10mm. Round the corners of this block with a 1mm radius. Within this block, create two parallel rows of circular holes to accommodate cables. Each ho...
cableDiameter=4; xCountCable=3; lines=2; height=3; xCableSpace=1.2; yCableSpace=2; opening=65; module cableComb(cableDiameter, xCountCable, Row, height, xCableSpace, yCableSpace, opening) { difference() { difference() { Body(cableDiameter, xCountCable, Row , height, xCableSpac...
glb/cad_01f3b997cd9b.glb
Create a 2020 Corner Connector by starting with a centered cube with side lengths of 20mm. From this cube, remove three cylindrical holes, each with a radius of 1.75mm and a length of 20mm, that pass through the center of the cube along the X, Y, and Z axes. Additionally, remove three larger cylindrical holes, each wit...
d1 = 3.5; d2 = 6; difference (){ cube ([20,20,20],center = true); rotate([0,0,90])cylinder(20, r = d1, center = true); rotate([90,0,0])cylinder(20, r = d1, center = true); rotate([0,90,0])cylinder(20, r = d1, center = true); rotate([0,0,90])translate([0, 0, 5])cylinder(6, r = d2); rotate([...
glb/cad_d2fac9d00128.glb
Create a printer test model consisting of a long rectangular base with a series of square voids. The base is a rectangular slab 105mm long, 20mm wide, and 5mm thick. Along the center of this slab, create a row of ten square holes. Each hole is 5mm by 5mm and 5mm deep. The holes are spaced 10mm apart from center to ce...
module trimmed_block(x,y,z,trim=0.4,angle=30) { difference() { cube([x,y,z]); translate([trim,0,0]) rotate([0,-angle,0]) translate([-x,0,0]) cube([x,y,z]); translate([x-trim,0,0]) rotate([0,angle,0]) cube([x,y,z]); ...
glb/cad_eaf21e3230f3.glb
Create a printer test model consisting of a base plate with a grid of recessed tilted blocks. Start with a solid rectangular slab 10mm high. The slab's overall footprint should encompass a 4x5 grid of voids. Create 20 rectangular voids, each with a base width and depth of 10mm, arranged in 4 columns and 5 rows. The c...
height = 10; block_width = 10; block_pad = 1; block_space = 4; block_vspace = 0.8; module tilted_block(width, height, depth, angle) { multmatrix([[1,0,tan(angle),0], [0,1,0,0], [0,0,1,0], [0,0,0,1]]) cube([width, height, depth]); } angles = [0, 15, 30, 45]; spacings = [0.2, 0.4, 0....
glb/cad_65ba02e24eac.glb
Create a film reel consisting of two matching halves. For each half, start with a circular plate with a diameter of 178mm and a thickness of 2mm. From the center of the plate, remove a circular core with a diameter of 61mm. Around this core, create an inner ring with a width of 10mm. Extend 6 spokes from this inner r...
part = "bottom"; filmWidth=8; innerDiameter = 13; insertLength = 5; insertNum = 3; insertWidth = 2.5; useSquareHole=0; outerDiameter = 178; coreDiameter = 61; useSpokes=1; fittingWidth = 2; coreTightness = 0.0; fittingSpacer = 0.4; spokes = 6; outerRingWidth=12; innerRingWidth=10; spokeWidth=21; square...
glb/cad_5968e3670549.glb
Create a box by centering a cube with side lengths of 30mm. From the center of this cube, remove a sphere with a diameter of 20mm to create a hollowed-out interior. The resulting shape should be a solid cube with circular openings on each of its six faces where the internal sphere has carved through the walls.
module example004() { difference() { cube(30, center = true); sphere(20); } } echo(version=version()); example004();
glb/cad_6f7970cf0974.glb
Create a Fuji X-Mount Extension Tube with a total height of 30mm. The main body is a hollow cylinder with an outer diameter of 48mm and an inner bore of 32mm, though the walls transition to a diameter of 42mm for the primary mounting sections. At the base, create a mounting flange 4mm thick with an outer radius of 21m...
; $fn=200; tube_length = 30; module pie_slice(r=3.0,a=30, h=1) { linear_extrude (h) { $fn=256; intersection() { circle(r=r); square(r); rotate(a-90) square(r); } } } tab_height = 1.1; tab_rad = 21; tab_a1=58; tab_a2=tab_a1; tab_a3=65.4; tab_p2=116.2; tab_p3=232.5; adapter_height = tube_length-5; mo...
glb/cad_649dc0b420b2.glb
Create a phone mask for straight-line shooting. Start with a base rectangular plate measuring 55mm in length, 86mm in width, and 1mm in thickness. On top of this base, construct a rectangular frame to hold a phone. The frame's outer walls should be 1mm thick. The main phone cavity is defined by a width of 82mm and a ...
width=82; heightFromBootm=155; holderHeight=55; fingerSize=12; wall=1; margine=4; depth=8; fingerHold=1; onlyHalf=0; $fn=80; difference() { render() base(); translate([margine+fingerSize/2,width/2-fingerSize/2+wall,-wall]) cube([heightFromBootm-2*margine-fingerSize,fingerSize,3*wall]); if (fingerHold==0) transl...
glb/cad_3b5b4ac35cc4.glb
Create a planetary gear assembly consisting of a sun gear, three planet gears, a ring gear, and a carrier arm. All gears should have a thickness of 4mm and a pressure angle of 20 degrees. Start with a central sun gear featuring 10 teeth. Surround this with three planet gears, each having 20 teeth, positioned 120 degre...
include <./MCAD/involute_gears.scad>; assembly(); d1=60; t=4; t1=1.2; b=0.25; c=0.2; pa=20; s=0.4; td=0.8; pd=1.1; dp=0.85; ns=10; np1=20; plug=2; plugGapModifier=1.2; nr1=ns+2*np1; pitch=nr1/(d1*dp); R1=(1+nr1/ns); Rp=(np1+ns)/np1; R=R1; echo(str("na is : ",nr1)); echo(str("Gear Ratio is 1 : ",R1)); module asse...
glb/cad_9b142964ce92.glb
Create a Filament-Out Alarm housing as a rectangular box with overall dimensions of 20mm width, 26mm breadth, and 7mm height, centered on the origin. Hollow out the center of the box by removing a smaller rectangular volume of 18mm width and 20mm breadth, leaving a 1mm thick floor and walls. Cut a horizontal cylindri...
height = 7; width = 20; breadth = 26; rollerradius = 3; rolleroffset = 5; switchwidth = 13.2; difference() { cube([width, breadth, height],center=true); translate([0, 2,1]) cube ([width-2, breadth -6, height], center=true); translate([0, 3 - breadth/2, 0]) rotate([0,90,0]) cylinder(r=1.2 ,h=breadth + 10,...
glb/cad_6d7694864fb0.glb
Create a Flesh Tearers Emblem consisting of a gear-like wheel and a central droplet. Start by constructing a flat, circular wheel with a radius of 1.3mm. Around the perimeter of this wheel, place 13 identical tooth-like protrusions spaced evenly every 30 degrees. Each tooth is formed by a circle with a 4mm radius, from...
module tooth(){ rotate(250,0,0){ difference(){ circle(4,$fn=200); translate([-4,-1,0]){square([4,5],center=false);} translate([-4,-4,0]){square([8,4],center=false);} translate([-0.32,2.1218,0]) { rotate(112,0,0){ minkowski()...
glb/cad_0f2b9d47f07d.glb
Create an Arduino Modular Bot chassis. Start with a top plate that is 92.5mm wide, 95mm long, and 5mm thick, with rounded corners of 4mm radius. Subtract two rectangular cutouts from this plate: one measuring 20mm by 46mm for the battery and another measuring 28mm by 46mm for the Arduino board. Add six mounting holes ...
include<boxes.scad> top(); wheels(); batteryClipBallCaster(); $fn=64; TopPlate = 5; MountingHole = 1.7; Width = 92.50; Length1=95; thickness=5; width=7; cX=53.3/2; cY=68.6/2; screw_r=3.2/2; height=TopPlate; resolution=64; Length = 85; CornerRadius = 4; clipOffset=0; vgap = 10; hgap = 10; inset = 8; holerad = 1.7...
glb/cad_dae1f4ceda69.glb
Create a Wallet Comb that matches the dimensions of a standard credit card, with a total length of 84mm and a thickness of 0.8mm. The main body is a flat rectangular plate with rounded ends. Along one side, create a series of parallel teeth. The teeth are spaced 3mm apart (pitch) and extend 24mm from the base. The le...
CC_len = 84; ellipticity_factor = 2.5; body_width = 31; tooth_pitch = 3; thickness = 0.8; outer_tooth_extent = 24; target_toothed_len = CC_len - body_width/ellipticity_factor - tooth_pitch/2; maximum_head_curvature_radius = 350; force_smoothness_level = -1; label = "Ryan Colyer"; label_size = 5; label_thick = 1; ...
glb/cad_6a68079bdb16.glb
Create a Regular & Interdental Toothbrush Holder. The main body is a semi-circular base with a height of 10mm. On the top surface, create 9 regular toothbrush slots. Each slot is formed by two opposing flexible clips that curve inward to grip a toothbrush handle. These clips are designed as modified elliptical shapes...
epsilon=0.01; infty=1000; module cut_ellipse(height, dist, x) { difference() { translate([0, dist, height/2-x]) rotate([90, 0, 0]) scale([0.6, 1, 1]) cylinder(r=height/2, h=2); translate([0, 0, -infty/2]) cube(infty, center=true); }; }; module stem() { hull() { cut_ellipse(25, 21, 4); cut_ellip...
glb/cad_17f489862968.glb
Create a Vertical Axle Wind Turbine consisting of a central shaft and three twisted blades. Start by designing a single blade profile based on a "raindrop" shape: combine a circle with a radius of 9mm and a square of 10mm that has been scaled by 1x2x1 and rotated 45 degrees. Scale this combined profile by 0.5x in the X...
module raindrop(){ union(){ translate([0,5,0,]){ scale(v=[1,2,1]){ rotate(45){ square(size=10,center=true); }}} scale(v=[0.95,1,1]){ circle(r=9);}}} module foil(){ scale(v=[0.5,1,1]){ raindrop();}} module blade() { linear_extrude(height = 500, center = true, convexity = 10, twist = 60) translate([200, 0, 0]){ scale(...
glb/cad_79b1b7b1ca7d.glb
Create a Sharpie Pen Holder consisting of a flat base and a central cylindrical sleeve. Start with a base plate 50mm long, 15mm wide, and 2mm thick. The base should have a non-rectangular profile, tapering from 15mm width at the ends to 26mm width at the center. In the center of the base, create a vertical cylindrical...
$fn=100; translate ([0,31,0]) { difference () { union () { cube(size=[50,15,2]); translate ([6,7.5,0]) cylinder(r=5.5, h=10); } translate ([6,7.5,0]) cylinder(r=2, h=14); translate ([6,7.5,0]) cylinder(r=3.6, h=8); translate ([6,7.5,8]) cylinder(r1=3.6,r2=2,h=2); translate ([27.5,7.5,0]) cylinder(r=2.5, h=10); t...
glb/cad_116a2adcf09c.glb
Create two identical downtube cable stops, mirrored across the X-axis. For each stop, start with a main cylinder 22mm in diameter and 34.6mm in height. Remove a large cylindrical section from the center to create a concave saddle that fits a 30mm diameter tube. Within this saddle, carve out a central vertical hole 6m...
$fn = 100; downtube_d = 30; base_h = 12.3 - 9.6; base_w = 13.2; round_h = 12.3 - 5; round_d = 10.5; pin_h = 12.3; pin_w = 6.8; overall_h = 12.3 + 1; drzak_d = 22; sroub_d = 6; cable_d = 6; drat_d = 2.5; module ram(){ rotate([90,0,0]) cylinder(d=downtube_d, h = 40, center=true); cube([base_w, base_w, downtube_d + ...
glb/cad_2cafa5fe7944.glb
Create a customizable spring composed of a vertical stack of thin, concentric washer-like rings. The overall structure has an outer radius of 10mm and an inner radius of 7mm. Start by creating a base and a top cap, each being a hollow cylinder with an outer radius of 10mm, an inner radius of 7mm, and a height of 3mm....
ROUT=10; RIN=7; HEIGHT=40; RWASHER=20; HEIGHTWASHER=1.2; BASECYLINDER=3; FACETS=60; A=RWASHER-sin(acos(ROUT/(RWASHER-HEIGHTWASHER)))*((RWASHER-HEIGHTWASHER)); NUMWASHERS=(HEIGHT/(A-HEIGHTWASHER)); module washer() { intersection() { translate([0,0,-RWASHER+(A/2)]) rotate([90,0,0]) differ...
glb/cad_9022e8251775.glb
Create a Mickey Mouse shaped bowl with a matching lid. The bowl consists of three hollowed-out cylinders with a height of 30mm. Place a large central cylinder with an outer radius of 24mm and an inner radius of 22mm. Position two smaller ear cylinders with an outer radius of 15mm and an inner radius of 13mm at coordina...
difference(){difference(){ translate ([20,20,0]) cylinder (h=30, r=15); translate ([20,20,1]) cylinder (h=30, r=13); } cylinder (h=30, r=22); } difference(){ difference (){ cylinder (h=30, r=24); translate ([0,0,1]) cylinder (h=30, r=22); } translate ([20,20,1]) cylinder (h=30, r=13); translate ([...
glb/cad_2f88f7f5f6e4.glb
Create a belt splitter consisting of two symmetrical mirrored halves. Each half is based on a central rectangular block measuring 30mm wide, 60mm long, and 10mm high. In the center of each block, carve a vertical slot 0.8mm wide and 20mm long to hold a blade. Flanking this central slot, create two vertical supports e...
length = 60; width = 30; height = 10; beltWidth=10; beltHeight=2.6; knifeWidth=20; knifeThick=0.8; knifeHolderThick=2.5; knifeHolderHeight=12; knifeHolderWidth=20; $fn=30; translate([width/1.5,0,-(height/2+beltHeight)])splitterTop(); translate([-width/1.5,0,0])splitterBottom(); module splitterTop(){ difference()...
glb/cad_ccaf8e12f0ef.glb
Create a Pibow VESA 200 raspberry pi case mod mounting plate. Start with a base plate that is 3mm thick. The overall shape is a rectangular central body with two rounded extensions protruding from the left and right sides. In the central body, create a series of holes to accommodate the Raspberry Pi board and its comp...
fudge = 0.1; module poly_rect11106(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-96.901293,128.521952],[-159.518863,191.139532],[-160.181590,192.170447],[-160.560746,193.520308],[-160.716498,195.048443],[-160.709012,196.614182],[-160.444992,199.295782],[-160.250023,200....
glb/cad_4a874e75a903.glb
Create a Pibow VESA 200 raspberry pi case mod mounting plate. Start by creating a flat rectangular base plate with a thickness of 3mm. The overall shape is a elongated rectangle with rounded, circular extensions on both the left and right ends. In the center of the plate, create a series of small circular holes for mo...
fudge = 0.1; module poly_rect11106(h) { scale([25.4/72, -25.4/72, 1]) union() { linear_extrude(height=h) polygon([[-96.901293,128.521952],[-159.518863,191.139532],[-160.181590,192.170447],[-160.560746,193.520308],[-160.716498,195.048443],[-160.709012,196.614182],[-160.444992,199.295782],[-160.250023,200....
glb/cad_97d6d09a46d6.glb
Create a handwheel consisting of a large outer ring connected to a central hub by three evenly spaced spokes. Form the outer ring by rotating a circle with a 20mm radius around a central axis at a distance of 200mm, creating a torus with a total diameter of 440mm. At the center of this ring, place a vertical cylinder w...
rotate_extrude() translate([200,0,0]) circle(r = 20); difference(){ translate([0,0,-60])cylinder(80,20,20); translate([0,0,-61])cylinder(60,10,10); } rotate([0,90,0]) cylinder(200,10,10); rotate([0,90,120]) cylinder(200,10,10); rotate([0,90,-120]) cylinder(200,10,10); translate([200,0,0])cylinder(60,1,10); translat...
glb/cad_e3ad323000a6.glb
Create a Folger Tech Kossel Power Supply Bracket with a total height of 6mm. The main body is a curved, organic plate that follows a complex perimeter, featuring a large central cutout to reduce material. At two specific points along the length, create T-nut connection slots. Each slot consists of a 3.6mm diameter ho...
M3 = 3.6; M3Head = 6; M3Head_Recess = 1; M4 = 4.6; Ht = 6; Bump_OD = 4; Oct_OD = (B_Rad / cos(22.5)) * 2; Oct_Rad = Bump_OD / 2; echo(Oct_OD = Oct_OD); module Outline() { difference() { linear_extrude(height = Ht, center = false, convexity = 10)polygon(points = [[39,18],[39,30],[39.01,30.35]...
glb/cad_3bb77d26bf08.glb
Create a spool holder base by starting with a rectangular platform measuring 98.5mm in length, 30mm in width, and 2.5mm in height. At each end of this platform, add a cylindrical pole holder with an outer radius of 6.25mm and a height of 12mm. Center these holders so their outer edges align with the platform's edges, a...
inner_r=4.25; separation=90; wall = 2; holder_height=10; side=2.5; foot =10; hoffset = separation+inner_r*2; difference(){ union(){ cube(size=[separation+inner_r*2,30,side]); translate([inner_r+wall, inner_r+wall,0]) holder(); translate([separation+inner_r-wall, inner_r+wall,0]) holder(); difference(...
glb/cad_2a6622a39d51.glb
Create a spool holder roller consisting of a central hollow cylinder mounted on a flat circular base. Start by creating a solid cylinder with a radius of 15mm and a height of 2.5mm to serve as the base brim. Centered on top of this base, add a second cylinder with an outer radius of 7mm and a total height of 15mm. Fina...
hole_r = 5; wall = 2; roller_h = 15; brim = 15; brim_h=2.5; outer = hole_r + wall; difference(){ union(){ cylinder(r=outer, h=roller_h, $fn=32); cylinder(r=brim, h=brim_h, $fn=32); } translate([0,0,-1]); cylinder(r=hole_r, h=roller_h+2, $fn=32); }
glb/cad_5cb54d6d44f5.glb
Create a Bean Pole Holder by starting with a solid cylinder that has a radius of 20mm and a height of 15mm. Remove three identical cylindrical holes from this solid to create channels for poles. Each hole must have a radius of 6mm and a total length that exceeds the height of the main body to ensure they are fully open...
number_of_holes=3; hole_Angle=20; hole_Size=12; thickness=15; additional_gerth=0; divider=360/number_of_holes; holeRadius=hole_Size/2; if (hole_Angle > 20) { printitem(hole_Angle-20); } else { printitem(0); } module printitem(invar) { pieceSize=(hole_Size*3.33)+number_of_holes+invar+additional_gerth; pieceRadi...
glb/cad_4696d7e62e20.glb
Create a Folger Tech Kossel Top Vertex Cap consisting of two parts: a top cap and a bottom base plate. For the top cap, create a dome-like shape by hulling a sphere with a diameter of 32.5mm (slightly flattened on the Z-axis to 75% height) and a complex polygonal base. Cut a square hole through the center of the botto...
M3 = 3.6; M3Head = 6.4; Ht = 2; Alum_Ht = 21; Base_Ht = 4; Bot_Under_Ht = 4; M3_Res = 16; M3Head_Res = 28; OD_Res = 72; Qty = 1; Part = 1; module CutEnd() { translate([0,0,-1]) linear_extrude(height = 100, center = false, convexity = 10)polygon(points = [[-15.17,-9.73],[-15.17,-19.73],[15.17,-19.73],[15....
glb/cad_49a376d45f02.glb
Create a spacer jig for locating endstops. Start by creating a solid cube with a width and depth of 25mm and a total height of 42mm. From this main body, remove a central square column that is 20mm wide and 20mm deep, starting from a height of 2mm above the base and extending through the top of the model. Finally, remo...
Alum20 = 20; Ht = 40; Thick = 2.5; Wid = Alum20 + Thick + Thick; Base_Ht = 2; difference() { translate([-Wid/2,-Wid/2,0]) cube([Wid,Wid,Ht+Base_Ht]); translate([-Alum20/2,-Alum20/2,Base_Ht]) cube([Alum20,Alum20,Ht+2]); translate([0,0,-1]) rotate([0,0,45]) translate([-25,0,0]) cube([50,50...
glb/cad_4c739da04e0c.glb
Create a lens hood for a dash cam by starting with a central cylinder that has a radius of 14mm and a height of 3mm, centered on the origin. Attach a rectangular block to this cylinder, measuring 20mm wide, 22.5mm deep, and 3mm high, positioned at coordinates [0, -16, 0] and centered. From this combined mass, remove ...
translate([0,0,1.5]) difference() { union() { cylinder(r=14,h=3, center=true); translate([0,-16,0]) cube([20,22.5,3], center=true); } union() { translate([0,0,-10]) cube([5,5,5]); cylinder(r=11.4,h=4, center=true); translate([0,11.4,0]) cylinder(r=11.4,h=4, center=tru...
glb/cad_7c79a5d4ddea.glb
Create an Olympics 2016 custom plate. Start by constructing a base rectangular slab with a height of 6mm and a total length of approximately 44.4mm. Within this base, create three rectangular slots of 6mm width and 6mm height, spaced evenly along the length, to act as teeth. On top of this base, place five ring-shaped...
RADIUS=10; HEIGHT=6; TEXT="Rio 2016"; TEXTSIZE=10; TEXTHEIGHT=2; XTEXTOFFSET=0; YTEXTOFFSET=3; RADIUSOUT=1.2*RADIUS; RADIUSIN=RADIUSOUT*0.8; SEPARATION=RADIUS/3.6; SEP=RADIUS+SEPARATION+RADIUSOUT; XSIZE=SEP*2+2*SEPARATION+2*RADIUS; WTH=(-RADIUSOUT*2-RADIUSIN)-(RADIUSOUT*2)-(-RADIUSOUT*2-RADIUSIN-HEIGHT)-(RADIUS...
glb/cad_213f9629de9b.glb
Create a Customizer Test model by constructing a single solid cube with equal dimensions of 10mm for its length, width, and height.
a = 10; Vector6=[12,34,44,43,23,23]; String=["qweq","qeqe","qeqe","qeqe","qe"]; cube();
glb/cad_f21762ef59e7.glb
Create a nut mount for a 3020 Desktop CNC by starting with a central rectangular block measuring 11mm wide, 20mm long, and 3mm high, centered on the origin. Carve a vertical hole through the center of this block with a radius of 3mm. To create the recessed area for the nut, remove a rectangular section from the top of ...
difference() { cube ([11,20,3],center = true); translate([0, 0,4])cube ([14,20,3.5],center = true); rotate([0,0,0])translate([0, 0, -20])cylinder(h = 80, r = 3); } difference() { translate([0, 0,3])cube ([14,20,3.5],center = true); rotate([0,0,0])translate([0, 0, -20])cylinder(h = 80, r = 3); ...
glb/cad_16aba8b46a51.glb
Create a 3D text model for an external EEPROM adapter. Extrude the text "RAMPS-FD (Arduino DUE)" to a height of 5mm. Directly below this, positioned 20mm lower along the Y-axis, create a second line of extruded text reading "external EEPROM adapter", also with a height of 5mm. Ensure both lines of text are aligned to f...
linear_extrude(5){ text("RAMPS-FD (Arduino DUE)"); translate([0,-20,0])text("external EEPROM adapter"); }
glb/cad_0339139c35d6.glb
Create a female garden hose thread adapter. Start by creating a main cylinder with a radius of 25mm and a height of 45mm. Inside this cylinder, create a hollow, threaded core using a right-hand trapezoidal thread profile. This internal thread should have a pitch of 10mm and a pitch radius of 10mm, extending through t...
$fn=100; threads_OD=27; threads_pitch=(1/11.5) * 25.4 ; threads_length=0.5*25.4; inlet_diam=5; orifice_diam=3; orifice_lip=1; nozzle_length=10; wall=3; translate([0,0,-threads_length-wall+0.01]) trapezoidNut(length=threads_length+wall, pitch=threads_pitch, pitchRadius=(threads_OD-threads_pitch/2)/2, ...
glb/cad_3ba64c0913db.glb
Create a NEMA 17 Base Support by constructing a hollowed-out rectangular block. Start with a solid outer body that is 44.3mm wide, 44.3mm deep, and 21.5mm tall. This outer body is formed by the hull of two intersecting cubes: one measuring 44.3mm x 35mm x 21.5mm and another measuring 35mm x 44.3mm x 21.5mm, both center...
support_height = 17.5; width = 42.3; chamfer_width = 33; skirt_height = 4; thickness = 1; connector_width = 16; shrink_buffer = 0.5; hole_buffer = 1; difference(){ motor_support(width + shrink_buffer, chamfer_width + shrink_buffer, support_height, skirt_height, thickness); translate([width / 2, 0, suppo...
glb/cad_c6f096192b47.glb
Create a Pool Vacuum Nozzle consisting of a central hollow tube and a wide, flat base. The central tube is a cylinder with an outer radius of 20mm and a wall thickness of 2.5mm. This tube extends vertically and features a series of six decorative reinforcement rings: three located near the bottom and three near the top...
h0=80; r2=20; th=2.5; $fn=90; overlap=1; h1=h0/2+overlap; h2=h0/2; r1=r2-1.5; r3=r2-1.5; difference(){ union(){ translate([0,0,90]) rotate([180,0,0]) net(5); rotate([0,0,0]) rohr(); translate([0,-10,13]) rotate([40,0,0]) halter(); } cylinder(r=r2-th,h=50); translate([1.6,-1.6,84]) r...
glb/cad_9c967a6ef154.glb
Create a Cross Template kit consisting of a flat base with several cutouts. Start by forming a main body composed of two joined rectangular blocks: a larger base block measuring 66mm wide, 212mm long, and 3mm thick, and a smaller block measuring 66mm wide, 87mm long, and 6mm thick positioned on top of the base, startin...
difference () { union() { translate([-33,-148,0]) cube([66,212,3], center=false); translate([-33,-119.5,2.5]) cube([66,87,6], center=false); translate([0,21+32,2.50]) cylinder(r1=7.8, r2=7.6,h=6); translate([20.5,0,2.50]) cylinder(r1=7.8, r2=7.6,h=6); translate([-20.5,0,2.50]) cylinder(r1=7.8, r2=7.6,h=6); tra...
glb/cad_30a79b0dd116.glb
Create a Cross Template kit consisting of a flat plate with a thickness of 5mm. Start by forming a central rectangular body 130mm wide, 125mm deep, and 5mm thick, centered at [0, -210, 2.5]. Attach a second rectangular block measuring 66mm by 20mm by 5mm, positioned at [-33, -175, 0]. From this combined mass, remove ...
difference () { union() { translate([0,-210,2.50]) cube([130,125,5], center=true); translate([-33,-175,0]) cube([66,20,5]); } translate([-65,-210,-1]) rotate([0,0,-135]) cube([130,125,8], center=false); translate([65,-210,-1]) rotate([0,0,-135]) cube([130,125,8], center=false); translate([-82,-164,-1]) cylinder...
glb/cad_c0565dafd71f.glb
Create a Cross Template kit part by constructing a composite flat plate with a thickness of 5mm. Start with a central rectangular block measuring 130mm by 125mm, centered at [0, -210, 2.5]. Attach a second rectangular block measuring 66mm by 51mm by 5mm, positioned at [-33, -175, 0]. From this combined mass, remove s...
difference () { union() { translate([0,-210,2.50]) cube([130,125,5], center=true); translate([-33,-175,0]) cube([66,51,5]); } translate([-65,-210,-1]) rotate([0,0,-135]) cube([130,125,8], center=false); translate([65,-210,-1]) rotate([0,0,-135]) cube([130,125,8], center=false); translate([-82,-164,-1]) cylinder...
glb/cad_e3e4628e6c76.glb
Create a hardware platform for the Eyewriter 2.1. Start with a central rectangular block measuring 7mm by 27.6mm by 8mm. From this main block, remove a central rectangular section of 3mm by 25.6mm by 8mm and two side tabs measuring 3mm by 21mm by 8mm. At the upper and lower ends of the block, create 45-degree angled cu...
include <../lib/units.scad> include <../lib/boxes.scad> difference() { translate([0,0,4]) cube([7,27.6,8], center = true); translate([0,0,4]) cube([3,25.6,8], center = true); translate([2,0,4]) cube([3,21,8], center = true); translate([3.5,10.5,4]) rotate([0,0,45]) cube([3,3,8], center = true); tr...
glb/cad_834a9a7333a2.glb
Create a hardware platform for the Eyewriter 2.1. Start with a central cylinder that has a height of 15mm and a radius of 7mm, using a 20-facet resolution. Remove a concentric cylindrical hole from this center piece with a radius of 4mm and a height of 15mm. Attach a rectangular tab to the side of the cylinder. This ...
include <../lib/units.scad> include <../lib/boxes.scad> hole_size = M8; small_hole_size = M3 + 0.3; clip_width = 15; tab_thickness = 5; tab_length = 20; tab_width = 10; translate([0,0,clip_width/2]) difference() { union() { cylinder(h = clip_width, r = hole_size/2 + 3, center = true, $fn = 20); translate([10,...
glb/cad_4269f0cead06.glb
Create a gyro model consisting of five concentric rings. Each ring is formed by rotating a square profile of 3mm by 5mm around a central axis. The square profile has a smaller square of approximately 1.77mm removed from its outer corners at a 45-degree angle. The innermost ring has a radius of 5mm. Each subsequent rin...
innermost_ring_radius = 5; gyro_rings = 5; ring_thickness = 3; ring_height = 5; spacing = 0.7; module gyro_ring(radius, thickness, height, spacing, top = true) { $fn = 64; top_r = height * 0.35355339059327376220042218105242; semi_thickness = thickness / 2; module top() { cylinder(r1 = top_r, r2 = 0, h = top...
glb/cad_18e51668bbb6.glb
Create a customizable pistol stand starting with a rectangular base plate measuring 211mm in length, 95mm in width, and 25mm in height. Centered on the top surface of this base, carve out a rectangular slot that is 140mm long, 22mm wide, and 11mm deep. At one end of the base, attach a vertical rectangular pillar that i...
base_length = 211; pillar_length = 29; pillar_width = 22; pillar_height = 100; slot_length = 140; slot_width = 22; module plate () {difference () { translate ([0, -47.5, 0]){cube ([base_length, 95, 25]);} translate ([73, -11, 15])cube ([slot_length, slot_width, 11]); rotate(a=45, v=[1, 0, 0])tr...
glb/cad_2188dec31e88.glb
Create a 3D geometric sculpture titled "Test 1" consisting of 36 intersecting cylinders that form a complex, symmetrical wireframe. Each cylinder must have a radius of 1mm and a 20-facet cross-section. The structure is defined by connecting pairs of vertices derived from a combination of three basis vectors: A = [1, 0...
Alength = 2; Blength = 3; Clength = 7; coeffs = [Alength,Blength,Clength]; funds = [[1,0,.707107],[0,1,.707107],[0,0,1.41421]]; M=[ [[[1,0,0],[0,1,0],[0,0,1]],[[.5,.5,-.707107],[.5,.5,.707107],[-.707107,.707107,0]]], [[[1,0,0],[0,1,0],[0,0,1]],[[.5,.5,.707107],[.5,.5,-.707107],[.707107,-.707107,0]]], [[[1,0,0],[0,1,0]...
glb/cad_76dbd3ecf1d7.glb
Create a Kossel mini PS3 power supply adapter. Start with a rectangular base measuring 23mm by 84mm and a thickness of 3.5mm. Centered on this base, add a rectangular separator that is 9.6mm wide, 84mm long, and 13mm high. Construct the outer walls by adding 2mm thick vertical sections along the long edges of the base...
wall_height = 9; wall_width = 2; bottom_height = 3.5; width = (6.5 * 2) + 10 + (2 * wall_width); length = 80 + (2 * wall_width); separator_height = 13; separator_width = 9.6; separator_length = length; cooper_lock = 5 + wall_width; cooper_lock_height = 2; screw_radius = 1.75; nut_hole = 3.5; difference(){ union(...
glb/cad_8c1c000a2b46.glb
Create a Kossel mini PS3 power supply adapter by starting with a rectangular base plate that is 22mm wide, 84mm long, and 2mm thick. Centered on this plate, create two vertical holes to accommodate screws and nuts. Position each hole 25mm from the shorter edges of the plate along the center line. Each hole should consi...
wall_width = 2; bottom_height = 2; width = (6.5 * 2) + 10 + (6 * wall_width); length = 80 + (2 * wall_width); difference(){ union(){ color("red") linear_extrude(height = bottom_height) square([width, length], center = true); } translate([0,length/2 - 15, 0]) #cylinder(h=2.5, r=nut_hole, $fn=6); tr...
glb/cad_128aae2fd2d1.glb
Create a power supply adapter consisting of a flat rectangular base and two vertical support structures. The base is a centered plate measuring 140mm in length, 15mm in width, and 4mm in height. At each far end of the base, place a vertical wall that is 4mm thick, 15mm wide, and 23mm tall. On top of these vertical wa...
wall_width = 4; height = (6.5 * 2) + 10 + (2 * wall_width); width = 15; length = 180 - 40; difference(){ union(){ color("red") linear_extrude(height = 4) square([length, width], center = true); translate([length/2-2,0,0]) linear_extrude(height = height) square([4, 15], center = true); tr...
glb/cad_f2c44159468d.glb
Create a flower press plate by starting with a rounded square base measuring 70mm by 70mm with a thickness of 5mm and corner radii of 5mm. In this base, create four vertical holes to accommodate fasteners. Position these holes symmetrically at the corners, specifically at coordinates (27, 27), (-27, 27), (27, -27), and...
include <mcad/boxes.scad>; Top=0; module Flower () { difference() { union() { for ( i = [1 : 7] ) { rotate( i * 360 / 7, [0, 0, 1]) translate([0, 10, 0]) cylinder(1,5,5); } cylinder(1,10,10); translate([0,0,-5]) sphere(10); } translate([0,0,-10.5001])cube([21,21,21],t...
glb/cad_7c31068979fa.glb
Create a Graflex 2.0 chassis designed to hold electronics and a battery. Start by creating a main cylindrical body with an outer diameter of 32.9mm and a height of 117mm. From this body, remove a central cylindrical core with a diameter of 32.9mm and a height of 95.3mm. Additionally, remove a conical section from the...
inch = 25.4; blade_dia=0.881 * inch; blade_inner = 3/4 * inch; tolerance = 0.2; part = 10; bridge = false; module x_mirror() { children(); mirror([1,0,0]) children(); } module y_mirror() { children(); mirror([0,1,0]) children(); } module z_mirror() { children(); mirror([0,0,1]) children(); } module bl...
glb/cad_53d7ceafb83c.glb
Create a custom magnetic spring consisting of two main components: a piston and a holder. Both parts are constructed using 30-facet cylinders. First, create the piston as a hollow cylinder with an outer radius of 5mm and a total height of 15mm. Remove a central core with a radius of 3.2mm, starting 2mm from the base ...
RADIUS_IN=5; HEIGHT_IN=15; MAGHEIGHT=3; MAGRADIUS=3; RADIUS_OUT=8; HEIGHT_OUT=25; BASEHEIGHT_OUT=10; FACETS=30; TOLERANCE=0.2; translate([RADIUS_OUT+RADIUS_IN+2,0,0]) { difference() { cylinder(r=RADIUS_IN,h=HEIGHT_IN,$fn=FACETS); translate([0,0,2]) cylinder(r=MAGRADIUS+TOLERANCE...
glb/cad_6aa5b19d00af.glb
Create a cutter guard for a robotic lawn mower. Start by creating a solid circular base with a radius of 40mm and a thickness of 10mm. Around this center, place 20 rectangular guards, each 100mm long and 5mm wide, radiating outwards from the center. These guards should be spaced evenly every 18 degrees around the circl...
$fa = 0.01; center_radius = 40; guard_radius = 100; guard_height = 50; guard_width = 5; thickness = 10; number_of_guards = 20; guard_circle_r1 = ((guard_radius-thickness)*3.14)/number_of_guards-thickness/4; guard_circle_r2 = (guard_radius*3.14)/number_of_guards-thickness/4; translate([0,0,0]) linear_extrude(heigh...
glb/cad_4a9d686f175d.glb
Create a 96Boards 410c DragonBoard Case, specifically the "micro" variant. Construct a rounded rectangular box with an outer length of 88mm, depth of 57mm, and a total height of 14.5mm. The walls should have a thickness of 1.5mm and corners should have a radius of 3mm. Inside the box, create a hollow cavity to fit a P...
fine_fn=30; delta=0.01; typea_usb_width = 14.5; typea_usb_height = 7.3; typea_usb_depth = 14.2; typea_usb_clearance = 0.5; db_length = 85; db_depth = 54; db_thickness = 1; db_radius = 0.1; db_standoff_height = 5; db_top = 7.0; db_bottom = 3.0; db_clearance = 1; db_hole_center_Y1 = 18.50; db_hole_center_Y2 = 50.00; d...
glb/cad_406a81ae0460.glb
Create a Miniquad FPV Racing launch pad spacer. Start by constructing a central rectangular base that is 110mm long, 8mm wide, and 8mm high. From this base, remove a central rectangular section measuring 94mm in length, 10mm in width, and 30mm in height, positioned such that it creates a hollow channel through the midd...
difference() { cube([130,8,8], true); cube([100,10,10], true); } translate([51.8,0,-1]) cube([6.2,8,10], true); translate([-51.8,0,-1]) cube([6.2,8,10], true); translate([0,0,-11]) { difference() { cube([110,8,30], true); translate([0,0,8]) cube([94,10,30], true); } }
glb/cad_8aad840f98ed.glb
Create a Braille plaque consisting of a rectangular base and raised tactile dots. The base plate is 15mm wide and 2mm thick. Its length is determined by the number of Braille characters, with each character occupying a vertical distance of 6.2mm. The plate has rounded corners with a 4mm radius. On the surface of this ...
dot_height = 0.8; dot_offset= -0.3; spacing = 2.4; distance = 6.2; plate_height = 15; plate_thickness = 2; plate_corner = 4; support_disc = true; support_disc_r = 15; support_h = 0.3; chars = ["M","A","C","H","U"," ","P","I","C","C","H","U"]; char_count = 12; $fn = 20; module letter(bitmap) { row_size = 2; col_s...
glb/cad_4307c3f41dd7.glb
Create a Range Safety Flag consisting of a cylinder and a rectangular block. First, construct a cylinder with a diameter of 9mm and a height of 19mm. Then, attach a rectangular prism to the side of the cylinder. This prism should measure 30mm in length, 6mm in width, and 3mm in height, positioned so that it extends out...
cal_diameter = 9; cal_height = 19; $fn=30;cylinder (r = cal_diameter/2,h = cal_height); translate ([-30, -3, 0]) cube ([30, 6, 3]);
glb/cad_b4a754190506.glb
Create a Tripod Mount for a Ciclop Scanner. Start with a main body that is a rounded rectangular prism measuring 30mm wide, 64mm deep, and 25mm high, with a corner radius of 2mm. Center a vertical hexagonal hole with a radius of 6.7mm through the entire height of the block. At the bottom center, remove a cylindrical ...
use<bcube.scad>; use<bcube.scad>; union() { union() { difference() { difference() { difference() { difference() { difference() { translate([0.00,0.00,12.50]) bcube(cr = 2, ...
glb/cad_c806bf45f971.glb
Create a CNC motor mount centered around a cylindrical bore with a radius of 30mm. The main body is formed by a cylinder with a diameter of 72mm and a height of 48mm, oriented horizontally. This cylinder is integrated into a base structure consisting of a central rectangular block measuring 60mm by 48mm with a thicknes...
motorRadius = 30; thickness = 6; extRadius = motorRadius + thickness*2; difference() { difference() { union() { translate([0,0,3]) cube([60,48,6],center = true); translate([0,24,extRadius/2]) rotate([90,0,0]) cylinder(h=48,d=extRadius, $fn=128); translate([0...
glb/cad_d82a296ed80b.glb
Create a Power Grid Coal Pile Piece consisting of a cluster of low-resolution spheres and a central geometric core. Start by placing a square slab 8mm wide, 8mm deep, and 2mm thick at the base, centered at the origin. Build a pyramidal arrangement of spheres, each with a radius of 2mm and a low facet count. Position ni...
side=8; d=side/2; r=d/2; h=sqrt(3)/2*d; union () { polyhedron( points = [[d,d,0],[d,-d,0],[-d,-d,0],[-d,d,0],[0,0,h]] , triangles = [[4,0,3],[4,3,2],[4,2,1],[4,1,0],[2,0,1],[2,3,0]]); translate([d,d,0]) sphere(r, $fs=0.8); translate([d,0,0]) sphere(r, $fs=0.8); translate([d,-d,0]) sphere(r, $fs=0.8); translate([...
glb/cad_c422fcff6691.glb
Create a Twist-on Paper Towel Holder consisting of two wall mounts and a removable rod. Design the two mounts as identical blocks with a depth of 14mm and a thickness of 8mm, featuring rounded edges with a 4mm radius. Each mount must have a central hole to accommodate a 20mm diameter rod. On one mount, integrate a th...
use <threads.scad> shrink_height_by = 0; Tlen = 40; Tdepth = 14; Tthick = 8; Tcurve = 4; joint_len = 10; joint_diam = 15; joint_pitch = 2; rod_diam = 20; paper_towel_len = 280; total_rod_len = paper_towel_len + Tdepth + 20 - 2*shrink_height_by; module PTRod1() { rotate([0,0,90]) translate([0, -Tthick/4, Tdept...
glb/cad_0cdede787a2d.glb
Create a bicycle fender cap consisting of a cylindrical shaft and a rectangular base. Start with a main cylinder that has an outer diameter of 6mm and a total length of 21.8mm, capped at one end with a hemisphere of the same 6mm diameter. At the opposite end of the cylinder, attach a rectangular block measuring 18.5mm ...
outterDia = 6; innerDia = 3.8; overallLen = 31.3; cutOut = 10; rectZ = 9.5; rectX = 18.5; rectY = outterDia; cubeDim = [rectX, rectY, rectZ]; length = overallLen - rectZ - outterDia/2; module assemble() { rotate([90, 0, 0]) difference() { union() { cylinder(r = outterDia/2, h = length, center = tru...
glb/cad_c49ce496fcb4.glb
Create a 3D plaque based on a random maze pattern. Start with a solid rectangular base measuring 27.4 mm in height and 25.46 mm in width (calculated from a 36 by 20 grid of 5.656 mm cells), with a thickness of 1 mm. On top of this base, create a grid of 720 small rounded rectangular sticks, each 2 mm wide and 8 mm lo...
seed= 1; gridx = 36; gridy = 20; $fn = 4; random = rands(0,1,10000,seed); w = 2; h = 8; gridsize = h*0.707; color("Blue") translate([-0.5*gridsize,-0.5*gridsize,0.5]) cube([(2+gridx)*gridsize,(2+gridy)*gridsize,1],center=true); color("White") translate([-gridsize*gridx/2,-gridsize*gridy/2,1]){ linear_ext...
glb/cad_feb32e02f3fc.glb
Create a battery spacer for a flight controller by starting with a rectangular base measuring 30mm by 32mm with a height of 2.5mm. Remove a rectangular section from the front edge to create a strap groove that is 30mm wide, 15mm deep, and 0.83mm high. To accommodate mounting hardware, create four circular holes, each w...
$fn=25; head_height = 2.5; l=30; w=32; screw_centers=30.5; s=screw_centers; screw_d=5; difference(){ translate([-l/2,-16,0]) cube([l,w,head_height]); translate([-l/2,-2,0]) cube([l,15,headheight/3]); translate([s/2,-s/2,0]) cylinder(h=head_height, r=1.1*screw_d/2); translate([s/2,s/2,0]) cylinder(h=head_hei...
glb/cad_f2f023843f56.glb
Create a chopsticks rest by starting with a rectangular block measuring 12mm wide, 22.5mm deep, and 10mm high, centered on the origin. Carve out two parallel vertical cylindrical holes, each with a radius of 3.235mm and a length of 23.5mm to ensure they pass completely through the block along the depth axis. Position t...
x = 12; z = 10; y = 22.5; d = 6.47; g = 1.75; s = 1.0; r = (pow(s, 2) + pow(y/2, 2))/(2*s); difference() { cube([x,y,z], center=true); for (i=[-1:2:1]) { translate([i*(g/2 + d/2),0,0]) rotate([90]) cylinder(r=d/2, h=y+1, center=true, $fn=60); } translate([0,0,r+(z/2)-s]) rotate([0,90]) cylinder(r=r, h=y, ...
glb/cad_71d044afff8e.glb
Create a PokiGo aiming tool by starting with a base plate formed from two joined rectangular blocks: one measuring 70mm by 55mm by 2mm, and a second block measuring 25mm by 42mm by 2mm positioned at coordinates [22.5, 55, 0]. From this combined base, remove a rectangular slot measuring 12mm by 88mm by 4mm centered at [...
difference() { difference() { difference(){ union(){ cube([70,55,2]); translate([22.5,55,0]) cube([25,42,2]); } translate([29,5,0]) cube([12,88,4]); } translate([35,15,0]) cylinder(r=7.5, h=2,center=false); } translate([35,35,0]) cylinder(r=10, h=2,center=false); } text = "MJ...
glb/cad_17afb63528da.glb
Create a watering can consisting of a hollow main body, a spout, and a handle. The main body is formed by two stacked conical sections: a lower section 30mm high that flares from a 36mm base radius to a 52mm mid-radius, and an upper section 40mm high that tapers from that 52mm radius down to a 32mm top radius. The bo...
use <scad-utils/transformations.scad> use <list-comprehension-demos/sweep.scad> $r_base = 36; $r_mid = 52; $r_top = 32; $h_lower = 30; $h_upper = 40; $t_wall = 1.2; $r_out_bottom = 17; $r_out_top = 4; $h_out = 74; $angle_out = 55; $w_handle=20; $dist_handle=60; $t_wall_handle = 2.5; module cone(r_bottom, r_top, hei...
glb/cad_daa60bf56150.glb
Create a door hinge connector for a modular storage system. Start by creating a rectangular block with a length of 25mm, a width of 20mm, and a height of 7.4mm (calculated as 5mm desk thickness plus two 1.2mm walls). From this block, remove a central rectangular section measuring 25mm by 17.6mm by 5.2mm to create a hol...
$fn = 100; thickness_of_desks=5; thickness_of_walls = 1.2; length_of_connectors = 25; width_of_connectors = 20; secure_filament_thickness = 1.75; connector(); translate([thickness_of_desks/2+thickness_of_walls+length_of_connectors/2,thickness_of_desks/2+thickness_of_walls+width_of_connectors/2,0])rotate([-90,0,9...
glb/cad_901beb35f60e.glb
Create a door handle for a modular storage system. Start with a central cylinder 25mm in diameter and 5mm high. On top of this base, add a second cylinder 28mm in diameter and 10mm high, positioned 1.5mm above the bottom surface. Around the perimeter of this second cylinder, create a toroidal ring by rotating a 3mm dia...
$fn = 100; thickness_of_desks = 4; diameter = 25; secure_filament_thickness = 4; difference(){ union(){ cylinder(h=5, d=diameter); translate([0,0,1.5]) cylinder(h=10, d=diameter+3); translate([0,0,1.5])rotate_extrude()translate([diameter/2,0,0])circle(d=3);} translate([0,0,3])rotate_extrude()translate([diameter/2+2....
glb/cad_394d163efc5f.glb
Create a Raspberry Pi Camera 1.3 model starting with a rectangular base plate measuring 24mm by 25mm with a thickness of 1mm. Centered on this plate, add a smaller rectangular block measuring 8mm by 8mm with a height of 1mm, positioned 9.5mm from the left edge and 8.5mm from the bottom edge. On top of this smaller bloc...
module camera(){ difference(){ union(){ color("green") cube([24, 25, 1]); translate([9.5, 8.5, 1]) color("grey") cube([8, 8, 1]); translate([13.5, 12.5, 2]) color("grey") cylinder(d=7, h=3, $fn=45); translate([20, 4.5, -1]) color("LightY...
glb/cad_380587347bc1.glb
Create a Word Clock Face Plate consisting of a 3x3 grid of recessed letter boxes. Each individual box has outer dimensions of 12mm length, 12mm width, and 5mm height. The walls and the bottom floor of each box are 1mm thick, creating an internal recessed cavity of 10mm by 10mm with a depth of 3mm. Within each box, cen...
clock_face=[["A","K","A"],["A","D","V"],["C","T","W"]]; box_length=12; box_width=12; box_height=5; box_thick=1; top_thick=2; letter_size=6; mask_thick=0.2; edge_thick=2; overhang_amount=2; min=.01; echo("clock_face"); echo(clock_face); number_y = len(clock_face); number_x = len(clock_face[0]); rotate([180,0,0]) {...
glb/cad_15ecab612f15.glb
Create a table spacer by starting with a solid rectangular block measuring 13mm wide, 19mm deep, and 20mm high. Carve out three distinct voids from this block to create the final shape. First, remove a rectangular section from the bottom front, measuring 15mm wide, 6mm deep, and 17mm high, starting from a position 1mm ...
resolution = 32; difference() { cube( [ 13, 19, 20] ); union() { translate( [ -1, -1, 4 ] ) cube( [ 15, 6, 17 ] ); translate( [ -1, 9, -1 ] ) cube( [ 15, 12, 7 ] ); translate( [ 6.5, 14.25, 5 ] ) cylinder( 16, 5, 5, $fn = resolution ); translate( [ 6.5...
glb/cad_d705d7f16d72.glb
Create a Morphite X155 camera mount by starting with a solid rectangular block measuring 28mm wide, 20mm deep, and 10mm high. Hollow out the center by removing a rectangular volume of 16mm wide, 16mm deep, and 9mm high, positioned 6mm from the front and 2mm from the bottom. Cut a circular opening through the bottom c...
mic_right = false; module x155_camera_holder() { difference () { cube ([28,20,10]); translate ([6,2,2]) cube ([16,16,9]); translate ([14,10,-1]) cylinder (h=4, r=8, $fn=64); if (mic_right) { translate ([6.5,17.5,4]) cube([5,1.5,9]); } else { translate ([16.5,17.5,4]) cube([5,1.5,9]); } translate...
glb/cad_29b3f46a6cfc.glb
Create a Morphite X155 camera mount starting with a solid rectangular block measuring 28mm in length, 20mm in width, and 10mm in height. Hollow out the center by removing a rectangular volume of 16mm by 16mm by 9mm, positioned 6mm from the front and 2mm from the bottom. Create a circular opening through the bottom cent...
mic_up = true; module x155_camera_holder() { difference () { cube ([28,20,10]); translate ([6,2,2]) cube ([16,16,9]); translate ([14,10,-1]) cylinder (h=4, r=8, $fn=64); if (mic_up) { translate ([4,2.5,4]) cube([2.5,6,9]); } else { translate ([4,12,4]) cube([2.5,5,9]); } translate ([2,8,5]) cub...
glb/cad_8de94ee10e0b.glb