Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a mounting rail for a head unit by starting with a base block that is 126mm long, 10.5mm wide, and 6.5mm thick. The profile of this block is a right-angled trapezoid, where one side is 10.5mm wide and the opposite parallel side is 9.5mm wide, creating a slight taper along the length. Along the center axis of t...
$fn=90; first_hole_offset = 0.5; module screw_hole() { cylinder(h=10, r=1.45, center=true); translate([0,0,2.5]) { cylinder(h=5, r=2.45, center=true); } } difference() { translate([0, -5.25, -3.25]) { rotate([90, 0, 90]) { linear_extrude(126, center = true) { ...
glb/cad_82134f4de04b.glb
Create a flexible key tag measuring 150mm in length and 30mm in width. The main body is a flat strip with a thickness of 1.6mm, featuring semi-circular ends. At one end, center a circular hole with a diameter of 10mm. To make the tag flexible, carve a series of rectangular notches into the body. These notches should ...
length=150; width=30; holeDiam=10; baseThickness=0.2*8; textThickness=0.2*3; nozzleWidth=0.4; solidWidth=nozzleWidth*4; notchWidth=nozzleWidth*2; notchHeight=notchWidth*10; notchThickness=(baseThickness+textThickness)*2; fontSize=10; font="Skia:style=Condensed"; labelText="REMOVE BEFORE FLIGHT"; holeX=solidWidth+holeD...
glb/cad_1f209baaa976.glb
Create a flexible key tag measuring 150mm in length and 30mm in width. The main body is a flat strip with a base thickness of 1.6mm and rounded ends with a diameter of 30mm. At one end, center a circular hole with a diameter of 10mm that passes completely through the tag. To make the tag flexible, carve a series of re...
length=150; width=30; holeDiam=10; baseThickness=0.2*8; textThickness=0.2*3; nozzleWidth=0.4; solidWidth=nozzleWidth*4; notchWidth=nozzleWidth*2; notchHeight=notchWidth*10; notchThickness=(baseThickness+textThickness)*2; fontSize=10; font="Skia:style=Condensed"; labelText=""; holeX=solidWidth+holeDiam*0.5-width*0.5; ...
glb/cad_5c14d923b654.glb
Create a flexible key tag measuring 150mm in length and 30mm in width. Start with a base plate that is 1mm thick with semi-circular ends of a 15mm diameter. At one end, center a circular hole with a 5mm diameter that passes completely through the model. To create the flexible body, remove material from the base plate...
length=150; width=30; holeDiam=5; baseThickness=0.2*5; textThickness=0.2*3; nozzleWidth=0.4; notchWidth=nozzleWidth*2; notchHeight=notchWidth*10; notchThickness=(baseThickness+textThickness)*2; fontSize=10; font="Skia:style=Condensed"; holeX=holeDiam*2-width*0.5; difference() { #translate([holeX,0,-baseThickness*0.5...
glb/cad_e773dd235d2f.glb
Create a flexible key tag measuring 150mm in length and 30mm in width. Start with a base plate that is 1.6mm thick, featuring semi-circular ends with a diameter of 30mm. At one end, center a circular hole with a diameter of 5mm. To provide flexibility, create a series of rectangular notches across the body of the tag. ...
length=150; width=30; holeDiam=5; baseThickness=0.2*8; textThickness=0.2*3; nozzleWidth=0.4; solidWidth=nozzleWidth*4; notchWidth=nozzleWidth*2; notchHeight=notchWidth*10; notchThickness=(baseThickness+textThickness)*2; fontSize=10; font="Skia:style=Condensed"; holeX=holeDiam*2-width*0.5; difference() { translate([h...
glb/cad_3c0e136c78e5.glb
Create a small smartphone support consisting of a front shield and a back support. Start by creating a front shield as a rectangular block 31.04mm wide, 5mm thick, and 81.42mm high. From this block, remove a central cylinder with a radius of 13mm and a height of 30mm to create a large circular cutout. Additionally, rem...
$fn = $preview ? 7 : 64; phone_width = 74.5; phone_thickness = 7.9; phone_height = 155.7; stand_width = 30; stand_height = phone_height/2; stand_thickness = 2; back_support_thickness = 4; module phone() { hull() { translate([0,0,1]) rotate([90,0,90]) cylinder(h=phone_width,r=phone_thickn...
glb/cad_e65c11c3a316.glb
Create a toddler's shovel consisting of a blade and a handle. First, construct the blade as a hollowed-out scoop. The outer shell is formed by a hull connecting a 1x50x30mm rectangular block to two 5mm radius spheres positioned at the top corners (60mm length, 50mm width, 30mm height). The interior is hollowed out us...
wall = 2; Shovel(); module Shovel() { Blade2(); Shaft(); } module BladeBox() { difference() { rotate([0, -13, 0]) difference() { translate([0, 25, 0]) rotate([90, 0, 0]) linear_extrude(50) hull() { square([60, 1]); square([1, 30]); translate([55, ...
glb/cad_1245db29e0ec.glb
Create a Mission Model paint holder based on a 2x4 Gridfinity block. Start with a solid rectangular base that follows the standard Gridfinity dimensions for a 2x4 grid, including the characteristic underside magnets and screw holes. From the top surface, carve out eight vertical cylindrical holes. Six of these holes ...
include <gridfinity_modules.scad> $fa = 1; $fs = 0.4; cup_height = 7; paint = 32; thinner = 36.5; placements = [[20,60,6.5],[-20,60,6.5],[20,20,6.5],[-20,20,6.5],[20,-20,6.5],[-20,-20,6.5],[20,-60,6.5],[-20,-60,6.5] ]; holes = [paint,paint,paint,paint,paint,paint,thinner,thinner]; render() mission_cup(2, 4, cup_he...
glb/cad_5a9154a6c54d.glb
Create a parametric key tag. Start by constructing a rectangular base plate with rounded corners, measuring 10mm in width, 30mm in length, and 3mm in thickness. At the top center of the plate, create a vertical cylindrical hole with a diameter of 3mm and a depth of 3.5mm to allow for a keyring. On the flat face of th...
$fn=50; single_line = true; cStr="Center"; uStr="Upper"; dStr="Lower"; sizeStr= 5; difference(){ minkowski() { minkowski() { cube([6,26,1],center=true); cylinder(r=2,h=0.1); } sphere(0.4); } translate([0,0,1.5]) minkowski() { minkowski() { cube([5,25,1],center=true); ...
glb/cad_c6ac927305f0.glb
Create a Dowel Clip designed to hold a 25mm diameter rod. Start by constructing a curved U-shaped sleeve with an inner diameter of 25mm, a wall thickness of 5mm, and a total width of 25mm. The sleeve should be a partial cylinder with a 90-degree opening to allow the rod to snap in. At both ends of the U-shape's openin...
$fa = 1; $fs = 0.4; merge_unit = 0.002; num_screw_holes = 2; width = 25; inner_diameter = 25; opening_angle = 90; thickness = 5; end_cap_diameter = 8; end_cap_offset = 2; screw_hole_diameter=6; screw_recess_diameter=12; force_flat_base = false; inner_radius = inner_diameter/2; outer_radius = inner_radius + thickne...
glb/cad_594a500c94bd.glb
Create a Raspberry Pi Fan Adapter by constructing a hollow square frame with rounded corners. The outer dimensions of the frame are 29.5mm by 29.5mm, with a total height of 7mm and a corner radius of 2mm. The interior is a centered square cutout measuring 25.5mm by 25.5mm, also with 2mm rounded corners. Integrate a t...
use <MCAD/boxes.scad> $fa=1; $fs=0.4; merge_unit = 0.005; adapter( 29.5, 25.5, 7, 3, 0.5, true ); module adapter(outer, inner, depth, lip_thickness, lip_depth, corner_cutout=false) { r = 2; difference() { union() { difference() { roundedBox(size=[outer, outer, depth], ra...
glb/cad_d168d4346295.glb
Create a Gift Card Caddy, which is a hollow rectangular sleeve with rounded corners. The outer dimensions of the sleeve are 59.4mm wide by 92mm long, with a total height of 201.2mm. The walls have a thickness of 3.6mm, and all vertical outer corners are rounded with a radius of 3.6mm. The interior is a hollow cavity m...
$fn=90; wt=0.8; ft=1.2; ir=2.8; or=ir+wt; w=55.4; l=88; h=200; owl=20; owh=40; r=0.3; tr=7; theta=atan(2*(h+ft)/(owh-owl)); difference(){ translate([or,or,0])linear_extrude(h+ft)minkowski(){ circle(or); square([w+2*wt-2*or,l+2*wt-2*or]); } translate([ir+wt,ir+wt,ft])linear_extrude(h)minko...
glb/cad_794b3222557f.glb
Create a Gift Card Caddy, which is a hollow rectangular sleeve designed to hold cards. The outer shell should be a rounded rectangle with a width of 55.4mm and a length of 88mm. The walls of the sleeve should have a thickness of 0.8mm, with outer corners rounded to a radius of 3.6mm. The interior of the caddy is a hol...
$fn=72; wt=0.8; ft=1.2; ir=2.8; or=ir+wt; w=55.4; l=88; h=400; owl=20; owh=40; r=0.3; tr=7; theta=atan(2*(h+ft)/(owh-owl)); translate([-w-3*wt/2,-wt/2,0]){ difference(){ translate([or,or,0])linear_extrude(h+ft)minkowski(){ circle(or); square([w+2*wt-2*or,l+2*wt-2*or]); } translate([ir+wt,i...
glb/cad_25faf661d623.glb
Create a Customizable Pill Bottle Divider Insert. Start by creating a main body as a truncated cone with a bottom diameter of 29.1mm, a top diameter of 30.8mm, and a total height of 77mm. At the base of this body, create a dome-shaped recess to allow it to sit flush in a bottle. Divide the interior of the cone into 10...
include <BOSL2/std.scad> pill_bottle_lower_ID = 29.1; pill_bottle_upper_ID = 30.8; insert_height = 77; pockets = 10; handle_height = 12; lengths = [60,55,47,45,40,37,33,30,25,22]; labels = ["3.0", "2.35", "2.0", "1.8", "1.5", "1.2", "1.0", "0.8", "0.6", "0.5"]; subdividers = true; module _stop_customizer() {}; $fn=6...
glb/cad_19d1634b9f72.glb
Create a parametric printer bed cleaner grid consisting of a series of intersecting thin walls. The overall footprint of the grid is 200mm by 200mm with a total height of 0.2mm. Construct the grid by placing parallel walls with a thickness of 0.2mm. First, create 21 vertical walls, each 200mm long and 0.2mm wide, space...
DENSITY = 10.0; WIDTH = 200.0; DEPTH = 200.0; WALL_WIDTH = 0.2; LAYER_HEIGHT = 0.2; x_iter = WIDTH * DENSITY / 100.0; x_width = WIDTH / x_iter; y_iter = DEPTH * DENSITY / 100.0; y_width = DEPTH / y_iter; union() { for (i = [0:x_iter]) { translate([x_width * i, 0, LAYER_HEIGHT / 2]) cube(si...
glb/cad_f94832de3c17.glb
Create a cellphone stand by combining three rectangular plates, each 5mm thick and 70mm wide. Start with a horizontal base plate measuring 70mm by 70mm. Attach a second plate of the same dimensions vertically to one side of the base, but rotate it 90 degrees relative to the base's plane to form a right angle. Finally, ...
$fn= $preview ? 16:64; union(){ cube([70,70,5]); rotate([0,-90,0]) cube([15,70,5]); translate([70,0,5]){ rotate([0,-130,0]) cube([60,70,5]); } }
glb/cad_7bbb77df1db3.glb
Create a pair of round glasses frames for a fursuit head. Start by constructing two circular rings, each with an outer diameter of 80mm, a thickness of 5mm, and a rim width of 5mm. Position the centers of these rings 110mm apart. Connect the two rings with a straight bridge that is 5mm wide and 5mm thick, spanning the ...
LensDiameter=80; PupillaryDistance=110; FrameThickness=5; FrameWidth=5; HingeSpacing=5; $fn=100; mirror([1,0,0]) translate([PupillaryDistance/2,0,0]) difference() { cylinder(h=FrameThickness,r=LensDiameter/2); cylinder(h=FrameThickness,r=LensDiameter/2-FrameWidth); } translate([PupillaryDistance/2,0,0]) differ...
glb/cad_c837f516cdef.glb
Create a long, narrow structural component with a total length of 200mm and a height of 5mm. The main body is a flat rectangular slab with rounded ends, formed by a hull between two cylinders of 7.5mm radius positioned 185mm apart. At one end of this slab, integrate a hinge mechanism. This hinge consists of a block 1...
Length=200; $fn=100; difference() { hull() { translate([7.5,0,0]) cylinder(r=7.5,h=5); translate([-Length+32.5,0,0]) cylinder(r=7.5,h=5); } translate([-Length+32.5,0,0]) cylinder(h=5,r=3); } difference() { hull() { translate([-10,-2.9,0]) cube([10,5.8,5]); translate([15,-2.9,0]) cu...
glb/cad_926bd8667382.glb
Create a pair of round glasses frames with a total thickness of 5mm. The front of the glasses consists of two circular rings, each with an outer diameter of 80mm and a frame width of 5mm. Position the centers of these two rings 110mm apart. Connect the two rings with a curved bridge. The bridge is formed by a circular...
LensDiameter=80; PupillaryDistance=110; FrameThickness=5; FrameWidth=5; HingeSpacing=5; HingeHeight=0; BridgeDiameter=70; BridgeHeight=18; BridgeWidth=7; BridgeCutOffHeight=0; $fn=100; mirror([1,0,0]) translate([PupillaryDistance/2,0,0]) linear_extrude(height=FrameThickness) difference() { circle(r=LensDiameter/2)...
glb/cad_d0b8bb4f70cf.glb
Create a pair of round glasses frames for a fursuit head. Start by creating two circular rings for the lenses, each with an outer diameter of 80mm and a frame width of 5mm. Position the centers of these circles 110mm apart. Connect the two rings with a horizontal bridge of the same 5mm width and 5mm thickness. At the ...
LensDiameter=80; PupillaryDistance=110; FrameThickness=5; FrameWidth=5; HingeSpacing=5; HingeHeight=0; BridgeHeight=0; $fn=100; mirror([1,0,0]) translate([PupillaryDistance/2,0,0]) linear_extrude(height=FrameThickness) difference() { circle(r=LensDiameter/2); circle(r=LensDiameter/2-FrameWidth); } translate([P...
glb/cad_bef76e077106.glb
Create a square tube endcap consisting of a hollow insert and a protective outer cover. First, construct the insert. Create a hollow rectangular sleeve with external dimensions of 35.5mm by 25.5mm and a length of 15mm. The walls of this sleeve should be 1.5mm thick. Inside this sleeve, integrate a series of gripping ...
EDmX = 40.5; EDmY = 30.5; Tkt = 2.5; LnIn = 15; Tke = 3; Gp = 4; GpT = 0.5; $fs=.1; module Cover(){ Xd=EDmX/2-Tke; Yd=EDmY/2-Tke; difference(){ union(){ for (i=[-Xd, Xd]){ translate([i,0,0]) rotate([90,0,0]) cylinder(r=Tke,h=(EDmY - 2*Tke),center=true); for (j=[-Yd, Yd]){ transla...
glb/cad_81092a099068.glb
Create a cable clip for a 20mm extrusion with a total height of 8mm. The base is a solid block 20mm wide and 8mm tall. From this base, create two symmetrical vertical arms that curve inward to form a gripping mechanism. Each arm starts with a rectangular section 2mm thick and 7.5mm wide, extending upwards. At the top o...
include <NopSCADlib/lib.scad> dim = [20, 7.5, 2]; cable_d = 6; $fn =180; function drop_z(xyz) = [xyz[0], xyz[1]]; function reverse(x) = [for (i=[len(x)-1:-1:0]) x[i]]; module clip_half() { sd = dim[0]/2; points = [[0, 0], [sd, 0], [sd, dim[1]+ (2*dim[2])], [sd + dim[2], dim[1]+ (2*dim[2])], [sd + dim[2], -di...
glb/cad_85adc8289f7b.glb
Create a slip-on shelf eye by combining a rectangular grip and a circular loop. First, construct a rectangular sleeve with an outer dimension of 40mm in length, 19mm in height, and 10mm in width. Remove a central rectangular block from this sleeve to create a hollow channel that is 30mm long, 9mm high, and extends thro...
shelfd=9.0; gripl=40; wall=5; width=10; difference() { cube([gripl,shelfd+2*wall,width]); translate([wall,wall,-1]) cube([gripl,shelfd,width+2]); } translate([gripl/2,0,0]) difference() { cylinder(d=gripl,h=width,$fn=100); translate([0,0,-1]) cylinder(d=gripl-2*wall,h=2+width,$fn=100); translate([...
glb/cad_b29deddf74dd.glb
The provided data describes a 3D model of a **desktop organizer or a specialized storage bin** consisting of two main parts: a large, perforated vertical container and a smaller, matching removable tray. ### Model Components: 1. **Main Vertical Container:** * **Structure:** A tall, rectangular bin with a hollo...
$fn= 100; deck_thicknesses = [18]; l = 70; h = 122; part = "both"; front_surface = "honeycomb"; back_surface = "honeycomb"; side_slots = "yes"; top_depth = 10; wall_bottom = 2.4; wall_top = 1; fillet = 2; deck_spacer = .8; gap = .2; min_sides = 20; text_1 = "Gates of Arkham"; text_2 = ""; text_size = 6; text_font ...
glb/cad_3b1cbb389fdd.glb
The provided data describes a 3D model of a container with a removable tray. ### Model Overview The model consists of two primary components: 1. **The Main Container:** A tall, rectangular box with a hollow interior. The top edge features a semi-circular cutout (notch), likely designed for easy access or as a handle....
$fn= 100; deck_thicknesses = [22]; l = 70; h = 122; part = "both"; front_surface = "none"; back_surface = "none"; side_slots = "yes"; top_depth = 10; wall_bottom = 2.4; wall_top = 1; fillet = 2; deck_spacer = .8; gap = .2; min_sides = 20; text_1 = "Gates of Arkham"; text_2 = ""; text_size = 6; text_font = "Arial";...
glb/cad_6669dc94245c.glb
The provided data describes a 3D model of a container system consisting of a main, perforated outer shell and a removable inner tray. ### Model Components: 1. **Main Outer Shell:** * **Structure:** A tall, rectangular box with a hollow interior. * **Design:** The sides feature a dense, hexagonal honeycomb...
$fn= 100; deck_thicknesses = [28]; l = 70; h = 122; part = "both"; front_surface = "honeycomb"; back_surface = "honeycomb"; side_slots = "yes"; top_depth = 10; wall_bottom = 2.4; wall_top = 1; fillet = 2; deck_spacer = .8; gap = .2; min_sides = 20; text_1 = "Gates of Arkham"; text_2 = ""; text_size = 6; text_font ...
glb/cad_d12dc2e328eb.glb
Create a toy shopping basket handle consisting of a main arched body and two attachment clips. The main body is a curved rod with a circular cross-section of 5.3mm diameter. The rod follows a path that starts at a width of 166mm at the base, narrows to 152.5mm at the top, and reaches a total height of 80mm. The corne...
include <BOSL/constants.scad>; use <BOSL/beziers.scad>; use <BOSL/math.scad>; use <BOSL/paths.scad>; Print_Orientation = true; handle_height = 80; handle_top_width = 152.5; handle_thickness = 5.3; handle_grip_thickness = 7; handle_grip_width = 88; handle_curve_radius = 18; handle_clip_thin_length = 5; handle_clip_th...
glb/cad_5c139f9cf42c.glb
Create a skull-shaped soap dispenser cover. Start by importing a skull mesh and scaling it by a factor of 1.26, then shift it 3mm along the Y-axis. To accommodate the soap dispenser bottle, create a central void by subtracting a bottle model positioned at [0, 0, 5] and rotated 90 degrees around the Z-axis. To ensure a...
$fn=32; wiggle=.2; shifty=-3; scaleskull=1.26; wall=1.5; skullfile="skulltop4fix_MeshmixerMakeSolid.stl"; STL_soapbottle="Sagrotan_Schaumspender_solid.stl"; center_soapbottle=[0,0,5]; d_soapneck=36.1; depress=13; depressstart=-3; soap_shiftz=8.1; module neck(delta,depress) { translate([0,0,0]) cylind...
glb/cad_83de57e3432b.glb
Create an Arched Smartphone Stand designed to hold a device measuring 79mm by 11mm by 156mm. The main structure is based on a series of interlocking arched and horseshoe-like geometric forms. Start by creating a base horseshoe shape with an outer radius of 40mm, a thickness of 40mm, and a height of 4mm. Integrate this...
$fn = $preview ? 16 : 128; R = 40; Y = 40; Z = 4; phone_x = 79; phone_y = 11; phone_z = 156; module phone(x=0, y=0, z=0){ x = x + phone_x; y = y + phone_y; z = z + phone_z; hull(){ rotate([0,90,0]) cylinder(r=y/2, h=x, center=true); translate([0, 0, z-y]) rotate([0,9...
glb/cad_ca7eef6bbca1.glb
Create a personalized shoe charm consisting of two separate parts: a decorative text element and a mounting pin. First, create the mounting pin. Start with a cylinder 20.5mm in diameter and 3mm high. On top of this, add a tapered section that transitions from a diameter of 15.5mm to 20.5mm over a height of 3mm. Above ...
$fn=48; part="both"; textstring="Johannes"; fontname="Butcherman"; do_shift_font="automatic"; textsize=15; th_bottom=3; dia_bottom=20.5; len_throughhole=6; dia_pin=8.5; dia_lockpin=dia_pin*.5; out_lockpin=dia_pin*.05; th_topper=dia_lockpin; th_flange=th_bottom/2; dia_flange=dia_bottom-th_flange*2; wiggle=.2; to...
glb/cad_0d02963b84fe.glb
Create a small identification tag based on the text "167-780". The main body is a flat plate with a thickness of 2mm, featuring a rounded rectangular perimeter that follows the contours of the text with a 1.5mm offset rim. The overall height of the base plate is 2mm, but it includes a thinner backing layer of 0.35mm. ...
$fa=1; $fs=0.25; name="167-780"; inlay=0; size=5; spacing=1.15; h=2; back=.5; hole=3; slit=1; font="calibri"; Tag(size,spacing,h,hole,back,inlay=0); if(inlay)Tag(size,spacing,h,hole,back,inlay=1); if($preview)translate([0,size+8,0])Tag(size,spacing,h,hole,back,inlay=2); module Tag(size=5,spacing=1.15,h=2,hole=2,b...
glb/cad_3e74ad1196bf.glb
Create a simple diaphone resonator consisting of two concentric circular components. First, construct an inner core that is a revolved profile with a total height of approximately 18.5mm. This core should have a base diameter of 25mm, transitioning into a wider upper section with a diameter of 31.25mm. Within this inne...
pipe_diameter = 25; tube_diameter = 11; rubber_thickness = 1; min_wall = 1.2 + pipe_diameter * 0.005; inner_diameter = pipe_diameter * 1.25 + 5; stuck_width = pipe_diameter*0.15 + 4; fn = round(pipe_diameter * 2.5); rotate([0, 0, 45]) difference(){ union(){ rotate_extrude($fn=fn) polygon (po...
glb/cad_12aea9f34509.glb
Create a library shelf marker for "englische Literatur" with a total width of 93mm and a thickness of 1.5mm. Start by creating a flat rectangular base 93mm wide and 14mm high. Add a vertical side wall extending downwards from the bottom edge of this base to a depth of 50mm, creating an L-shaped profile. On the top surf...
word_text = "englische Literatur"; width = 93; union(){ translate ([2, 3.5, 0]) linear_extrude(1.2) text(word_text, size = 8); xy_extrude([[0, 14],[0, 0],[width, 0],[width, 14]], 1.5); xz_extrude([[0, 0],[0, -50], [1.5, -50],[width, 0]], 1.5, false); yz_extrude([[0, 0],[0, -50], [1.5, -50],[40, -35],[...
glb/cad_c01c9933bb51.glb
Create a library shelf marker consisting of a thin base plate and raised text. Start by creating a rectangular base that is 115mm wide, 1.5mm thick, and 50mm deep. The base should be shaped like an L-bracket, with a vertical back section 50mm high and a small horizontal lip extending forward. On the front-facing surfac...
word_text = "englische Literatur"; width = 115; union(){ translate ([2, -11, 0]) linear_extrude(1.2) text(word_text, size=10); xy_extrude([[0, 1.5],[0, -15],[width, -15],[width, 1.5]], 1.5); xz_extrude([[0, 0],[0, -50], [1.5, -50],[width, 0]], 1.5, false); yz_extrude([[0, 0],[0, -50], [1.5, -50],[40, ...
glb/cad_525bcdcc2695.glb
Create a parametric flue pipe. Start with a main cylindrical body with an outer diameter of 27.4mm (25mm plus 2.4mm wall thickness) and an inner diameter of 23mm. The body is truncated by a floor thickness of 2mm. At the base, integrate a vertical air supply tube with an outer diameter of 11mm and an inner diameter of...
outerDiameter = 25; innerDiameter = 23; labiumWidth = 16; outCut = 4; flueWidth = 0.8; totalLength = 220; corpus_angle = 3.14; minWallThickness = 1.2; floorThickness = 2; outerTube = 11; innerTube = 8; lengthFlue = totalLength / 8; tubeInsert = outerTube + 2.5; pipeInsert = innerDiameter * 0.1 + 5; height = floorTh...
glb/cad_99f8d442babc.glb
Create a parametric flue pipe. Start with a main vertical cylinder with an outer diameter of 27.4mm (25mm plus a 1.2mm wall thickness on each side) and an inner diameter of 23mm. The cylinder should have a floor thickness of 2mm. At the base, integrate a smaller vertical air tube with an outer diameter of 11mm and an ...
outerDiameter = 25; innerDiameter = 23; labiumWidth = 16; outCut = 4; flueWidth = 0.8; totalLength = 220; minWallThickness = 1.2; floorThickness = 2; connector = 0; outerTube = 11; innerTube = 8; lengthFlue = totalLength / 8; tubeInsert = outerTube + 2.5; pipeInsert = innerDiameter * 0.1 + 5; height = floorThickne...
glb/cad_beb0e0c600e5.glb
Create a parametric flue pipe consisting of a hollow main cylinder with an outer diameter of 27.4mm (25mm plus 2.4mm wall thickness) and an inner diameter of 23mm. The cylinder is hollowed out from the bottom up to a floor thickness of 2mm. At the base, integrate a conical air supply transition. This section lofts fro...
outerDiameter = 25; innerDiameter = 23; labiumWidth = 16; outCut = 4; flueWidth = 0.8; lengthFlue = 24; minWallThickness = 1.2; floorThickness = 2; outerTube = 11; innerTube = 8; tubeInsert = outerTube + 2.5; pipeInsert = innerDiameter * 0.1 + 5; height = floorThickness + lengthFlue + labiumWidth / sqrt(2) ...
glb/cad_222e3a4a0522.glb
Create a parametric flue pipe consisting of a hollow cylindrical body with an outer diameter of 27.4mm (25mm plus 2.4mm wall thickness) and an inner diameter of 23mm. The cylinder is truncated at the bottom by a flat floor 2mm thick. At the top, create a rectangular cutout for the labium. This opening is 16mm wide and...
outerDiameter = 25; innerDiameter = 23; labiumWidth = 16; outCut = 4; flueWidth = 0.8; lengthFlue = 24; minWallThickness = 1.2; floorThickness = 2; outerTube = 11; innerTube = 8; tubeInsert = outerTube + 2.5; pipeInsert = innerDiameter * 0.1 + 5; height = floorThickness + lengthFlue + outCut + innerDiam...
glb/cad_1bdda7dfaa1e.glb
Create a Mini Matrix Visor for an ESP32-C3 board. Start by constructing a hollow rectangular shell with an outer width of 19.65mm, a depth of 3.05mm, and a height of 15mm. The walls of this shell should have a uniform thickness of 1.35mm. Inside this shell, create a central rectangular cutout to accommodate a PCB, me...
w = 18.5; h = 15; d = 1.6; wo = 14; t = 3* 0.45; s = 0.075; full_width = w+t*2+s*2; full_depth = d+t*2+s*2; union() { translate([ -full_width/2, -full_depth/2, -1]) cube([full_width, full_depth+t/3, 1.1]); translate([ -full_width/2, full_depth/2 - .01, 0]) cube([full_width, t/3, h]); difference () { tra...
glb/cad_9c81e3e1ae1d.glb
Create a Geodesic LED Sphere connector by starting with a sphere that has a diameter of 42mm. Subtract a central spherical void with a diameter of 38mm to create a hollow shell. To allow for assembly and internal access, remove two cylindrical sections from the top and bottom of the shell, each with a radius of 19mm an...
$fn=50; ttball=38.0; rand=2; high=8; anschlussH=18; anschlussW=2.7; ecken=5; difference(){ union(){sphere(ttball/2+rand); for (i= [0:360/ecken:360]){ rotate([0,0,i]) translate([0,ttball/2,-rand]) rotate([90,00,0]) cylinder(anschlussH,anschlussW,anschlussW,center=true);...
glb/cad_a735680cdb4b.glb
Create a cutting helper tool for a geodesic sphere. Start with a rectangular base block measuring 50mm in length, 20mm in width, and 10mm in height. Carve a cylindrical channel through the center of the block along its length. This channel must have a diameter of 3.6mm. The channel should be interrupted by a vertical...
$fn=10; cl=50; cb=20; ch=10; tube=3.6; cutl=27.5; cutw=1.0; top=6; difference(){ union(){ translate([cl/2,0,ch/2]) cube([cl,cb,ch], center=true); translate([cl/4,0,ch]) cube([ch/2,cb,ch], center=true); translate([cl-cutw,0,ch]) rotate([0,0,90]) linear...
glb/cad_196f48b368df.glb
Create a cutting helper tool for a Geodesic LED Sphere. Start with a rectangular base block measuring 50mm in length, 20mm in width, and 10mm in height. Carve a cylindrical channel through the center of the block along its length. This channel should have a diameter of 3.6mm. Within this channel, create a specific cu...
$fn=10; cl=50; cb=20; ch=10; tube=3.6; cutl=16.5; cutw=1.0; top=6; difference(){ union(){ translate([cl/2,0,ch/2]) cube([cl,cb,ch], center=true); translate([cl/4,0,ch]) cube([ch/2,cb,ch], center=true); translate([cl-cutw,0,ch]) rotate([0,0,90]) linear...
glb/cad_3af08c1dd16b.glb
Create a Geodesic LED Sphere connector by starting with a solid sphere 42mm in diameter. Hollow out the center by removing a concentric sphere 38mm in diameter. To create the opening for the internal components, remove two cylindrical sections from the top and bottom of the model, each with a radius of 19mm and a combi...
$fn=50; ttball=38.0; rand=2; high=8; anschlussH=18; anschlussW=2.7; ecken=6; difference(){ union(){sphere(ttball/2+rand); for (i= [0:360/ecken:360]){ rotate([0,0,i]) translate([0,ttball/2,-rand]) rotate([90,00,0]) cylinder(anschlussH,anschlussW,anschlussW,center=true);...
glb/cad_360357b96019.glb
Create a Parametric Umbrella Holster consisting of a ring, a connecting neck, and a MOLLE clip. Start by creating a hollow cylinder for the umbrella ring with an outer radius of 13mm, a height of 3mm, and a wall thickness of 3mm. Cut a 3mm wide gap through the ring to allow it to clip onto an umbrella handle. From t...
use <clip.scad>; $fa = 1; $fs = 0.1; ring_r = 13; ring_h = 3; ring_t = 3; opening_t = 3; neck_d = 30 + ring_r; neck_w = 24; neck_h = 3; clip_thickness = 3; clip_spacing = 1.6; clip_height = 30; module ring(height, radius, thickness) { difference() { cylinder(height, radius, radius); transla...
glb/cad_ec7974fff0dc.glb
Create a parametric umbrella holster clip designed for a MOLLE system. The main body is a U-shaped channel formed by two parallel vertical walls and a solid base. Each wall is 3mm thick and 30mm high, separated by a central gap of 1.6mm. The base connecting these walls is also 3mm thick. The overall width of the clip ...
$fa = 1; $fs = 0.1; module hor_cylinder(r,width) { translate([0,r,r]) { rotate([0,90,0]) { cylinder(width,r,r,center = false); } } } module parametric_clip(width,height,spacing,thickness) { cube([width,thickness,height]); translate([0,spacing + thickness,0]) ...
glb/cad_4195215f6659.glb
Create a Perspective Cube consisting of a central geometric solid suspended within a cubic frame. First, construct the inner solid by finding the intersection of three large orthogonal prisms: a square prism, a triangular prism, and a circular prism. This intersection creates a shape that appears as a square from one a...
post_radius=20; intersection(){ cylinder(h=1000, r1=500, r2=500, center=true); hull(){polyhedron(points=[[-500,-500,-500],[500,-500,-500],[0,-500,500],[-500,500,-500],[500,500,-500],[0,500,500]],faces=[[0,1,2],[3,4,5],[0,3,4,1],[0,3,5,2],[1,4,5,2]]);} } rotate([0,45,0]){ translate([0,0,-350*sqrt(2)]){ cylinder(...
glb/cad_eec4252a19d4.glb
Create a QUBE 500 Text Charm consisting of a custom text plate and a dual-pin mounting system. First, create the text plate by extruding the word "Qube500" using the Teko Bold font at a size of 17mm. The text should have a total extrusion height of approximately 4.5mm. Ensure the letters are connected at the base by ...
$fn=48; part="both"; textstring="Qube500"; fontname="Teko:style=Bold"; do_shift_font="automatic"; textsize=17; th_bottom=3; dia_bottom=19; len_throughhole=2.7; hole=14.4; dia_pin=hole*.82; dia_lockpin=dia_pin*.5; out_lockpin=dia_pin*.05; th_topper=dia_lockpin; pin_distance=20; th_flange=th_bottom/2; dia_flange=d...
glb/cad_761d3e6b5718.glb
Create a tool for threading wood consisting of three main components: a threaded screw, a hexagonal nut, and a rounded nut. First, create a screw with an external diameter of 20mm and a pitch of 5.08mm (5 TPI). Second, create a hexagonal nut with a width of 30mm and a depth of 15mm. The nut must feature an internal...
include <helix_extrude.scad> part = 2; screw_diameter = 20; tpi = 5; slack = 0.3; hex_nut_width = 30; hex_nut_depth = 15; rounded_nut_diameter = 30; rounded_nut_width = 40; rounded_nut_depth = 25; wood_diameter = screw_diameter*sqrt(2); drill_bit_diameter = 16; $fn = $preview ? 20 : 100; precision = $preview...
glb/cad_b4622c7f1f6b.glb
Create a screw sizer measuring jig with a base thickness of 5mm. The tool consists of a rectangular base with a series of holes and stepped inserts to measure screw diameters and lengths. First, create a series of ten vertical holes of varying diameters: 10, 8, 6, 5, 4.5, 4, 3.5, 3, 2.5, and 2mm. Space these holes alo...
use <baselib.scad> $fn = 30; diametri = [10,8,6,5,4.5,4,3.5,3,2.5,2]; diametri_interni = [8.376,6.647,4.917,4.134,3.688,3.242,2.850,2.459,2.013,1.567]; diametri_text = ["10","8","6","5","","4","","3","","2"]; margine = 5; lunghezzaInserti = 15; lasco = 0.2; spessoreJig = 5; function PuntoDiAttacco(i = 0, somma = 0)...
glb/cad_46eb9ad325df.glb
Create a button-cell box consisting of a main container and a matching lid. The main container is a rectangular block with a total height of 20mm. Its footprint is defined by a central area of 64.8mm by 20mm, surrounded by walls 3mm thick. Inside this container, create 20 individual slots for batteries. Each slot is 3....
part = "assembly"; dia = 20; thickness = 32; count = 20; wall = 3.0; spacing = 0.8; magnet_dia = 4; magnet_height = 2; lid_extra_height = 3; gap = 0.2; height = dia; lid_add = lid_extra_height > 2 * gap ? lid_extra_height - 2 * gap : 0; lid_height = 2 * wall + 4 * gap + lid_add; t = thickness / 10 + 2 * gap;...
glb/cad_c295f6bdafb7.glb
Create a Z axis top holder for a 3D printer. The model consists of a base block with a complex, angular outer profile. Start with a base composed of three rectangular sections: one measuring 8x45x16mm, one 33x3.6x12mm, and one 38x45x5mm. Add a cylindrical protrusion with a radius of 7mm and a height of 2.5mm at posit...
module z_top_base() { translate([0,-5,0]) cube([8,45,16]); translate([0,-5,0]) cube([33,3.6,12]); translate([0,-5,0]) cube([38,45,5]); translate([25+4.3,3.2,5]) rotate([0,0,0]) cylinder(h = 2.5, r=7, $fn=60); translate([7,20,0]) rotate([0,0,0]) cylinder(h = 12, r=5, $fn=50); } module z_top_fancy() ...
glb/cad_0ae3f0130e5e.glb
Create a filter basket for an aquarium chamber with a total length of 210mm, a width of 92mm, and a height of 74.5mm. The main body consists of a floor with a thickness of 2mm and side walls with a thickness of 2.4mm. The side walls should have filleted vertical edges with a radius of 1.5mm. At the rear of the basket,...
Number_Compartments = 3; Basket_Length = 210; Outflow_Exit_Size = 30; Divider_Width = 66.5; Floor_Thickness = 2.0; Wall_Thickness = 2.4; Divider_Thickness = 2; Divider_Clearance = 0.5; slotGap = Divider_Thickness + Divider_Clearance; Slot_Wall_Width = 1.6; Slot_Wall_Height = 3.2; Hole_Sides = 6 ; Divider_Ho...
glb/cad_cd3bc1c55529.glb
Create a customizable cord wrap with a total length of 230mm, a width of 20mm, and a thickness of 3mm. The object consists of two mirrored, rounded arms. Each arm is defined by a profile that starts with a 3mm thick base for mounting. From this base, the profile extends outward to form a hook. The hook geometry inclu...
include <Round-Anything/polyround.scad> part_len = 230; part_width = 20; mount_thickness = 3; mount_hole_d = 3.2; hook_w = 15; gap_h = 30; arm_h = gap_h + hook_w; holder_len = 20; round_val = 12; mirror_overlap = 2; arm_conf =[ [0,0], [mount_thickness, 0], [mount_thickness, 30], [gap_h, 30], ...
glb/cad_a69afda8270d.glb
Create a fender and holder for a printer enclosure and xLCD. The main body is a rectangular plate measuring 159mm in length, 68mm in width, and 70mm in height. At the center of the plate, create a large rectangular cutout to accommodate the xLCD screen. On the left side of the plate, integrate a circular opening with...
$fn=60; difference(){ cube([125,70,70],center=true); translate([0,-25,45])rotate([35,0,0])cube([130,100,100],center=true); translate([0,20,-63])rotate([35,0,0])cube([130,100,100],center=true); translate([-45,41,0])rotate([0,0,23])cube([200,100,100],center=true); translate([41,-7,-20])rotate([0,0,30...
glb/cad_fdf738ba9010.glb
Create a cellphone stand composed of four thin rectangular plates, each 5mm thick and 70mm high. Position the first plate as a vertical wall 140mm wide. Attach a second plate, 50mm wide, to the first; rotate it 70 degrees around the Z-axis and remove a rectangular section 7mm wide, 30mm deep, and 40mm high from its cen...
union(){ cube([5,140,70]); difference(){ rotate([0,0,70]) cube([5,50,70]); translate([3,-2,15]) rotate([0,0,70]) cube([7,30,40]); } rotate([0,0,0])translate([-50,-30,0]) cube([5,52,70]); translate([49,-11.5,0]) rotate([0,0,101]) cube([5,100,70]);}
glb/cad_a3ff64f0113c.glb
Create a TS12 soldering iron handle replacement by constructing a hollow cylinder with an inner diameter of 12.06mm and a total height of 34mm. The main body should have an outer diameter of 13.06mm, except for the bottom 2mm, which is a solid base with a diameter of 15.06mm. Along the outer wall, starting from a heigh...
diameter=12.06; length=34; $fn=128; thickness=1; spikes=0.8; module handle() { cutoff=1; cylinder(d=diameter+thickness,h=length-cutoff); for(i=[4:6:30]) { translate([0,0,i]) cylinder(d1=diameter+thickness, d2=diameter+thickness+spikes,h=spikes, $fn=8); translate([0,0,i+3]) rot...
glb/cad_5703e31e8dd8.glb
Create a mounting plate and cover for an EMOS GoSmart IP-700A doorbell. First, construct the mounting plate as a rectangular block measuring 48mm wide, 133mm long, and 25mm thick. Center a rectangular cutout of 38mm by 70mm by 35mm through the middle. On the left side, add a secondary cutout measuring 5mm by 70mm by ...
main(); module main() { color("YellowGreen") mounting_plate(); translate([-(48/2),-(133/2),-(25/2)]) cover(); } module cover() { difference() { union() { translate([-5, 133+5-13, 0]) cube([48+10, 13, 25+21+13]); translate([-5, ...
glb/cad_1b5b74bfad89.glb
Create a minimal speed square holder by constructing a right-angle triangular prism with a height of 75mm and two equal sides of 12mm. Orient the prism so the flat 75mm face is the base. On the top edge of the prism, create a centered rectangular recess that is 2.5mm wide and 16mm deep to better retain the tool. To e...
module right_triangle(side1,side2,corner_radius,triangle_height,$fn=200){ translate([corner_radius,corner_radius,0]){ hull(){ cylinder(r=corner_radius,h=triangle_height); translate([side1 - corner_radius * 2,0,0])cylinder(r=corner_radius,h=triangle_height); translate([0,side2 - corner_radius *...
glb/cad_e6f47e0862c2.glb
Create a USB-C cable support door for an action camera. Start with a base consisting of two stacked rectangular sections. The bottom section is a rounded square measuring 13mm by 11.3mm with a height of 0.8mm, positioned with a Y-offset of 0.2mm. Directly above this, center a larger rectangular block measuring 15.4mm b...
$fn = 80; innerStepYOffset=0.2; innerStepX=13; innerStepY=11.3; innerStepZ=.8; outerStepYOffset=-1.5; outerStepX=15.4; outerStepY=18.5; outerStepZ=1.6; topStepYOffset=-.1; topStepX=19.3; topStepY=23; topStepZ=2.5; lockYOffset=outerStepY/2+outerStepYOffset; lockX=10.5; lockY=.9; lockZ=innerStepZ+outerStepZ+1; lockCe...
glb/cad_12e246795106.glb
Create a Timing Belt to Rope connector. Start by constructing a main rectangular block that is 15mm long, 8.9mm wide, and 8.9mm high. Hollow out the center of this block to create a channel that is 2.5mm wide, 15mm long, and 6.5mm deep, leaving a wall thickness of 2.4mm on all sides. At one end of the block, integrat...
$fn = 50; nozzle = 0.6; wall_num = 4; wall = nozzle * wall_num; teeth_facing = 2.5; channel_l = 15; belt_w = 6.5; lip = wall/2; rope_d = 4; difference() { union() { translate([-teeth_facing/2,0,0]) difference() { translate([-wall, 0, -wall]) cube([teeth_facing + 2*wall, channel_l, belt_w + 2*...
glb/cad_5dc8e80436f7.glb
Create a customizable hook system consisting of a base plate and one or more curved hooks. Start by creating a rectangular base plate with a thickness of 5mm. The plate's dimensions should be large enough to encompass the hooks with a 2mm border around the edges. Ensure the corners of the base plate are rounded. Con...
Hook_Width = 10; Hook_Diameter = 30; Hook_MinWallThickness = 3; Hook_Tip_radius = 0; Hook_Round_Over = 1; Hook_Count = 1; Hook_Space = 50; Base_Thickness = 5; Base_Border = 2; module end_of_customizer_opts() {} $fn = 64; ff = 0.01; module roundedBox(dimentions = [5,5,5]) { positions=[ [0, 0, 0] ,[d...
glb/cad_5d552451c391.glb
Create a cellphone stand by constructing a base and two supporting arms. Start with a central rectangular base measuring 64mm wide, 116mm deep, and 8mm thick. From the top surface of this base, remove a rectangular section measuring 64mm wide, 12mm deep, and 24mm high, positioned to create a cutout. Add two vertical s...
scale([4,4,4]){ parteBaixo(); suporteVertical(); interior(); } module suporteVertical(){ translate([-8,3,-3]) rotate([25,0,0]) cube([16,0.5,25]); cylinder(h=1,r=0); } module interior(){ translate([0,-12.2,9.15]) rotate([-25,0,0]) cube([16,0.5,23.5],center = true); translat...
glb/cad_a7769213ef19.glb
Create a customizable reset tool consisting of a handle, a stop plate, and a pin. Start by creating a rectangular handle that is 10mm wide and 15mm high. Center a circular hole with a 2.5mm diameter through the upper portion of the handle. On the flat face of the handle, engrave the text "2mm" with a depth of 0.5mm. A...
Peg_length=2; Peg_diameter=2.0; Stop_height=3; Stop_diameter=5; Auto_size_handle=true; Handle_height=15; Handle_width=10; Hole_handle=true; Include_text=true; engraving="2mm"; $fn = 22; stop_diameter = max(Peg_diameter,Stop_diameter); difference(){ assembly(); 3dprintCut(); } module assem...
glb/cad_1a42570037ae.glb
Create a cell phone holder by starting with a solid rectangular base 84mm wide, 13mm deep, and 35mm high, featuring 5mm chamfered edges. Carve out a central rectangular cavity 78mm wide and 9mm deep, positioned 5mm from the bottom, to hold the phone. On the bottom face, create two vertical screw holes centered 30mm apa...
phone_width = 84; phone_depth = 13; base_height = 35; screw_distance = 30; screw_diameter = 4; EPS = 0.01; $fa = 6; $fs = 0.2; module screw(h, r, countersunk=true) { screw_r = r + 0.5; translate([0,0,-EPS]) cylinder(h + EPS, r=screw_r); translate([0,0,h - screw_r + EPS]) cylinder(screw_r , r1=sc...
glb/cad_127b19ccd32f.glb
Create a parametric Blum hinge drilling template with a base thickness of 2mm. The main body is a rectangular plate measuring 57mm in length and 56mm in width (comprising a central section of 45mm width with 12mm flanges on the top and bottom). On this plate, create several precise holes and cutouts. Position two mou...
inset = 18; thickness = 2; font_thickness = 0.2; flange = 12; drill_d = 4; hinge_hole_dist = inset + 37; hinge_hole_sep = 32; knock_in_d = 35; knock_in_dist = 3.7 + knock_in_d/2; door_screw_sep = 45; door_screw_dist = knock_in_dist+9.5; text_size = 3.5; text_line_h = text_size+2; module template_structure() ...
glb/cad_528734cbe3a2.glb
Create a notes box designed to hold a stack of paper measuring 148mm by 105mm. The main body is a rectangular container with external dimensions of 151.4mm in width, 108.2mm in depth, and a total height of 42.2mm. The walls and base are 1.2mm thick. The interior cavity is 150mm wide and 107mm deep, leaving a 1mm gap ...
qo=0.01; $fn=55; components="booth"; linespacing=8; pagesize_x=148; pagesize_y=105; paperstack=40; gap=1; wall=1.2; hollowbottom=true; templatefullsize=false; base=true; module cube_rcr(x,y,z,r,br=qo){ translate([r,r,br]) linear_extrude(z-br) offset(r) square([x-r*2,y-r*2]); for (i=[[r,r,br],[r,y-r,...
glb/cad_bedbb8bbe6f4.glb
Create a notes box designed to hold a stack of paper measuring 148mm by 105mm. The main body is a rectangular open-top container with outer dimensions of 154mm in width, 112mm in depth, and a total height of 42.2mm. The walls are 1.5mm thick. The interior cavity is 151mm wide and 108mm deep, starting 1.2mm from the ba...
qo=0.01; $fn=55; components="booth"; pagesize_x=148; pagesize_y=105; linespacing=8; paperstack=40; gap=3; wall=1.5; wallbottom=1.2; hollowbottom=true; templatefullsize=false; base=false; module cube_rcr(x,y,z,r,br=qo){ translate([r,r,br]) linear_extrude(z-br) offset(r) square([x-r*2,y-r*2]); for (i...
glb/cad_23df2d83b65f.glb
Create a low-poly pencil holder by extruding a specific 2D base profile to a height of 80mm. The base profile consists of four overlapping circles: one central ellipse created by scaling a circle of radius 17.5mm by 1.25 along the X-axis, and three smaller circles with radii of 6mm positioned symmetrically around the c...
h = 80; w = 35; tw = 180; scl = 1.8; edge_circle_r = 6; module 2D_Base(){ scale([1.25,1]) circle(r=w/2); translate([1.25*((w/2)-2.5),0,0]) circle(r=edge_circle_r); translate([-1.25*((w/2)-2.5),0,0]) circle(r=edge_circle_r); translate([0,-((w/2)-2),0]) circle(r=edge_circle_r); translate([0,(w/2)-2,0...
glb/cad_6e10be83d950.glb
Create a parametric box and lid set. The main box is a hollow rectangular container with external dimensions of 75.28mm in width (x), 25.28mm in depth (y), and 102.64mm in height (z). The walls and floor of the box are 1.32mm thick. The interior cavity measures 70mm by 25mm by 100mm. At the top of the box, create a lip...
generate_lid = 1; generate_box = 1; lid_on_buildplate=0; wallthickness=1.32; internalx=70; internaly=25; internalz=100; internal_lidz=15; lip_overlap = internal_lidz/2; lipspacing=0; internal_botz=internalz-internal_lidz; actual_y=internaly+(4*wallthickness); actual_x=internalx+(4*wallthickness); actual_lidz=...
glb/cad_7df2bf37101e.glb
Create a phone ball mount clamp for handlebars. Start with a semi-cylindrical main body that has an inner diameter of 25mm and a width of 20mm. The walls of this semi-cylinder should be 5mm thick. Extend the body into a flat flange on both ends of the arc. Each flange should be 20mm wide and 5mm thick. Through the ce...
preview = true; module cylinder_poly(h, d = undef, r = undef, center = false, n = 8) { d = d == undef ? r*2 : d; off_z = center ? h / 2 : 0; circle_d = d / cos(180 / n); translate([0, 0, -off_z]) linear_extrude(h) rotate([0, 0, 360/n/2]) circle(d = circle_d, $fn = n); } module handlebar...
glb/cad_ab143c83bd24.glb
Create a phone ball mount consisting of a spherical head and a tapered cylindrical pole. Start with a sphere with a diameter of 17.7mm. Attached to the bottom of this sphere, create a pole with a height of 24mm that tapers from a diameter of 10mm at the sphere junction down to 7mm at the base. Run a vertical cylindri...
use <handlebars.scad> $fn = 70; preview = true; partNr = 3; module ball_mount( ball_d = 17, pole_h = 40, pole_d1 = 7, pole_d2 = 10, hole_d = 3.5, hole_sink_h = 4, hole_sink_d = 6, ball_groove_d = 1.5, ) { difference() { union() { sphere(d = ball_d); ...
glb/cad_589b12ef7ad3.glb
Create a Suspended Mobile Support by constructing a solid cube with side lengths of 150mm. Center the cube on the origin and ensure the bottom face is perfectly flat by removing any geometry that extends below the z=0 plane.
include <dimens.scad> include <base_circular.scad> include <pilar.scad> include <costas.scad> include <encaixe.scad> difference(){ baseCircular(); alisar_fundo(); } module alisar_fundo(){ translate([0, 0, -149.99]) cube([300, 300, 300], center=true); }
glb/cad_ad5afe0d7cf0.glb
Create a magnet jig for a Face Turning Octahedron Puzzle. Start by constructing a rectangular base block measuring 25.4mm in length, 6.54mm in width, and 2.02mm in height. On top of this base, add a second rectangular block centered on the X-axis, measuring 25.4mm in length, 6.54mm in width, and 2.02mm in height, pos...
inch = 25.4; $fn = 50; magnet_diameter = 1/10*inch; magnet_thickness = 1/16*inch; magnet_separation = 1.2; clearance = 0.2; layer_height = 0.2; wall_width = 1.2; magnet_hole_depth = magnet_thickness + magnet_separation / 2; difference() { union() { translate([-1/2*inch, -magnet_diameter/2 - 2, 0]) ...
glb/cad_47dda0c0f529.glb
Create a Gridfinity Base Woodscrew Version. Start with a solid rectangular block that is 35mm high. The block's width and depth are determined by the total footprint of seven specific utensil pockets. Carve seven longitudinal pockets into the top of the block, separated by 2mm walls. Each pocket has a flat bottom and ...
include <gridfinity_modules.scad> number_of_utensils = 7; utensil_1_wide = 28; utensil_1_narrow = 15; utensil_1_length = 202; utensil_2_wide = 24; utensil_2_narrow = 14; utensil_2_length = 181; utensil_3_wide = 37; utensil_3_narrow = 14; utensil_3_length = 181; utensil_4_wide = 33; utensil_4_narrow = 12; uten...
glb/cad_fe32f3643294.glb
Create a Gridfinity Base Woodscrew Version by constructing a low-profile baseplate frame that is 4 units wide by 1 unit deep, with a total height of 4.4mm. At two specific points along the length, create mounting features for M4 bolts. Each mounting feature consists of a 20-sided polygonal cylinder with a diameter of 8...
include <gridfinity_modules.scad> use <gridfinity_baseplate.scad> translate([gridfinity_pitch/2, gridfinity_pitch/2, 0]) frame_plain(4, 1); ear_hole_x = 182.5; ear_hole_y = 7; from_ends = (ear_hole_x - gridfinity_pitch*4) / 2; cube_z = 4.4; M4_d = 4.2; for (i = [0,1]) { x = i * ear_hole_x - from_ends; differe...
glb/cad_5c80c1dc0852.glb
Create a Gridfinity Base Woodscrew Version by starting with a single Gridfinity block that is 42mm wide, 42mm deep, and 5mm high. From the center of this block, remove a cylindrical void to create a cup. This void begins with a cylinder 30mm in diameter that extends from a base thickness of 5.5mm up to a height of 10mm...
include <gridfinity_modules.scad> cup_height = 5; stick_diameter = 30; easement_z = 0.7; minimum_wall = 4; blocks_needed = ceil((stick_diameter+2*minimum_wall)/gridfinity_pitch); render() glue_stick_cup(blocks_needed, blocks_needed, cup_height); module glue_stick_cup(num_x=1, num_y=1, num_z=2) { difference() { ...
glb/cad_aaf39bd1ca03.glb
Create an adapter for an Oventrop Lineg actuator. Start with a main conical body that is 27.5mm tall, tapering from a bottom diameter of 19mm to a top diameter of 18mm. Center a vertical hole through the body. This hole begins at the bottom with a diameter of 5.5mm, expanding at the top to a diameter of 7.5mm over a ...
body_height = 27.5; body_diam_top = 18; body_diam_bottom = 19; groove_thickness = 2; groove_height = 4; groove_outer_rim = 2; groove_cone = 0.5; rib_width = 3; rib_height = 2; spindle_height = 21.5; spindle_diam = 12.5; spindle_flattening_height = 12.5; spindle_flattening_thickness = 2; screw_diam = 5.5; screw_hea...
glb/cad_76f643f8b7e8.glb
Create a Warhammer 40k Base Topper Cutter. Start by creating a main cylinder with an outer diameter of 42mm and a total height of 30mm. Hollow out the center by removing a concentric cylinder with a diameter of 40mm, leaving a wall thickness of 1mm. At a height of 4.3mm from the bottom, add a thin, protruding ring tha...
base_size = 40; radius_mod = 0.99; wall_width = 2; brand = "HNCXTech"; base_top_diameter_difference = 4; base_height = 4.3; cutter_height = 30; big_letter_size = 6; small_letter_size = 4; cylinder_d = base_size + wall_width; RADIUS = cylinder_d / 2; circumference = 2 * 3.14159 * RADIUS; mm_per_degree = circumference /...
glb/cad_72aa5b641d74.glb
Create a circular base topper cutter with a total height of 30mm. The main body is a hollow cylinder with an outer diameter of 42mm and an inner diameter of 40mm, creating a wall thickness of 2mm. At a height of 4.3mm from the bottom, add a thin horizontal ring that extends slightly outward to a diameter of 43mm and ...
base_size = 40; radius_mod = 0.99; wall_width = 2; brand = "HNCXTech"; base_top_diameter_difference = 4; base_height = 4.3; cutter_height = 30; big_letter_size = 6; small_letter_size = 4; cylinder_d = base_size + wall_width; RADIUS = cylinder_d / 2; circumference = 2 * 3.14159 * RADIUS; mm_per_degree = circumference /...
glb/cad_72aa5b641d74.glb
Create a custom tag by designing a flat, rounded outer profile and removing a smaller inner profile to create a hollowed-out center with a slot. The outer profile is 3.36mm thick and consists of two semicircles with a radius of 16mm, connected by a central rectangle that is 32mm wide and 40mm long, resulting in an over...
$fn=100; thickness = 3.36; rectangular_solid_base_length = 10; cutout_length =40; outer_radius = 16; inner_radius = 10; overall_length = rectangular_solid_base_length + cutout_length + 2*outer_radius; slot_height = .5; slot_angle = -60; module tag_outer_profile(){ union(){ translate([outer_radius,outer_radius,...
glb/cad_533a3f0a2935.glb
Create a hubcap for an Opel Frontera by starting with a central cone that is 35mm tall, with a bottom radius of 65mm and a top radius of 50mm, centered on the Z-axis. From this main body, remove a central cylindrical core with a radius of 50mm and a height of 35mm, centered vertically. Carve out six circular notches ar...
$fn = 100; radius1 = 130/2; radius2 = 100/2; sr = 35/2; ssr = 120/2; difference(){ cylinder(h = 35,r1 = radius1,r2 = radius2, center = true); union(){ for(i = [0:60:360]){ rotate([0,0,i]){ translate([radius1+5,0,0]) cylinder(h = 40,r = sr,center =true); ...
glb/cad_5e741719383c.glb
Create a spiral vase by stacking 80 thin hexagonal slices, each 1mm in height, starting from a base height of 1mm and reaching a total height of 80mm. Each slice is a regular hexagon with a base radius of 30mm, but the radius of each subsequent slice must increase slightly by 1/80th of a millimeter per layer. Additiona...
vaseRadius = 30; vaseWallThickness = 1; vaseSides = 6; slices = 80; angleShiftPerSlice = 5; heightPerSlice = 1; sliceIncrease = vaseWallThickness / slices; waveAmplitude = 5; waveFrequency = 15; module vaso() { for (a = [1:slices]) { translate([0, 0, a]) rotate([0, 0, angleShiftPerSlice * a]) ...
glb/cad_2434ce59470e.glb
Create a spiral vase by combining a cylindrical base with a twisting outer wall. Start by constructing a solid base consisting of a cylinder with a radius of 25mm and a height of 20mm. Around this base, create a spiral structure that rises to a total height of 80mm. This spiral is formed by taking a circle with a 5mm r...
module base(){ rotate_extrude(){ translate([25,80,0]) circle(5); translate([0,0,20]) square([25,80]); } } module spiral(){ for(r=[0:(360/10):360]){ rotate([0,0,r]) linear_extrude(height=80, twist=360) translate([25,0,0]) circle(5); } } ba...
glb/cad_b763c22ab47f.glb
Create a Razor Scooter Model A replacement Plastic Safety Shield. The object consists of a central rectangular plate with two symmetrical wings that fold outward. The center section is a rectangular plate with a width of 59mm and a height of 22.44mm, and a thickness of 1.47mm. Centered on the front face of this plate,...
$fn=45; centerwidth = 60; centerexteachside = 8; narrowthickness = 1.47; deppthickness = 2.73; deepwidth = 21.2; bendthickness = 1; sidepieceangle = 30; winglengthatpivot = 60; wintshortestheight = 18.2; frontheightlower = 22.44; rightcirclediameter = 22.24; returnsafetyplate(); module returnpin(){ difference(){ ...
glb/cad_69f5008be064.glb
Create a Magsafe Stand by constructing a hollowed, angled conical shell. Start with a primary cone-like shape created from a cylinder with a height of 145mm, a base radius of 50mm, and a top radius of 33.5mm. Hollow this out by removing a smaller concentric cylinder with a height of 150mm, a base radius of 45mm, and a ...
$fn = $preview ? 16 : 64; difference() { rotate([40,0,0]) translate([0,30,0]) cylinder(145, r1=50, r2=33.5, center=true); rotate([40,0,0]) translate([0,30,0]) cylinder(150, r1=45, r2=33, center=true); translate([0,40,-75]) cube([100,140,150], center=true); rotate([-50,0,0]) t...
glb/cad_d7935eef67bf.glb
Create a customizable measuring cup consisting of a cylindrical container and an attached handle. Form the main body as a hollow cylinder with an outer radius of 55mm, an outer height of 105mm, and a wall thickness of 5mm. The interior cavity should be a cylinder with a radius of 50mm and a height of 100mm, leaving a 5...
inner_radius = 50; inner_height = 100; wall_thicknes = 5; handle_length=200; handle_thicknes=10; handle_hole_radius=5; VolumeTextSize = 20; outer_radius = inner_radius + wall_thicknes; outer_height = inner_height + wall_thicknes; volume = (pow((inner_radius/10),2)*3.14159) * (inner_height/10); vString = str(floor(vo...
glb/cad_56f4f53cd109.glb
Create a customizable measuring cup consisting of a main container and an attached handle. For the container, create a cylinder with an outer radius of 55mm and a total height of 106mm. Hollow out the center by removing a cylinder of radius 50mm from the bottom up to a height of 83.33mm, and then remove a cone that tap...
inner_radius = 50; inner_height = 100; wall_thicknes = 5; handle_length=200; handle_thicknes=10; handle_hole_radius=5; slope = 6; VolumeTextSize = 20; outer_radius = inner_radius + wall_thicknes; inner_cone_height = inner_height/slope; outer_height = inner_height + wall_thicknes+1; volume = (pow((inner_radius/10),2...
glb/cad_c9b5215aba58.glb
Create a rain sensor housing consisting of a circular base and a central mounting pole. Start with a flat circular base plate with a radius of 42mm and a thickness of 3mm. From the center of this base, extend a vertical shaft upwards. This shaft begins as a tapered transition from a radius of 18mm at the base, narrowin...
$fn=88; fh=6; ph=fh+17; od=2*6+2; difference() { union() { translate([0,0,-1]) cylinder(r=42, h=3, $fn=321); translate([0,0,2.01]) difference() { cylinder(r1=18, r2=od/2, h=fh-1); translate([0,0,-1]) rotate_extrude() translate([18,fh,0]) resize([2*(18-od/2),2*fh]) circle(r=1); } ...
glb/cad_3d738c92100f.glb
Create a rain sensor housing consisting of a circular base and a central mounting pole. Start with a circular base plate with a radius of 18mm and a thickness of 2mm. On top of this base, create a central pole structure that transitions from the base into a narrower cylinder with an outer diameter of 14mm. This pole sh...
$fn=88; fh=6; ph=fh+1; od=2*6+2; difference() { union() { cylinder(r=18, h=2); translate([0,0,2.01]) difference() { cylinder(r1=18, r2=od/2, h=fh-1); translate([0,0,-1]) rotate_extrude() translate([18,fh,0]) resize([2*(18-od/2),2*fh]) circle(r=1); } hull() { translate([0,0...
glb/cad_723545e695c5.glb
Create a rain sensor housing consisting of a base plate and mounting features. Start with a rectangular base plate 60mm wide by 46mm deep and 2mm thick, with rounded corners defined by a 3mm radius. On top of this base, place four truncated conical stands at the corners. Each stand should be 3mm tall, tapering from a...
$fn=88; difference() { union() { hull() { translate([3,3,0]) cylinder(r=3, h=2); translate([3+54+2,3,0]) cylinder(r=3, h=2); translate([3+54+2,3+40+2,0]) cylinder(r=3, h=2); translate([3,3+40+2,0]) cylinder(r=3, h=2); } translate([3,3,2]) { translate([...
glb/cad_87ac34fe6f2d.glb
Create a rain sensor housing consisting of a base box and a lid. For the base box, create a rectangular shell with outer dimensions of 60mm by 46mm and a height of 7mm. The walls should be 5mm thick, leaving an internal cavity of 50mm by 36mm. Round the four exterior vertical corners with a radius of 5mm. For the lid,...
$fn=88; mx=1+54+1; my=1+40+1; mz=2+3+2; difference() { union() { hull() { translate([2+3,2+3,0]) cylinder(r=2+3, h=2+mz); translate([2+3+mx,2+3,0]) cylinder(r=2+3, h=2+mz); translate([2+3+mx,2+3+my,0]) cylinder(r=2+3, h=2+mz); translate([2+3,2+3+my,0]) cylinder(r=2+3, ...
glb/cad_52e9c910b86c.glb
Create a T-slot scraper with a uniform thickness of 3mm. Start with a rectangular base measuring 25mm wide by 10mm deep. Centered on the width of this base, add a rectangular extension that is 8.33mm wide and 18mm long, extending from the back of the base. Attached to the end of this extension, add a handle section tha...
THICKNESS = 3 ; SLOTWIDTH = 25; SLOTDEPTH = 10; EXTENSION = 18; HANDLELEN = 50; HANDLEWID = 42; HOLEDIA = HANDLEWID/3; linear_extrude(THICKNESS) difference(){ union(){ square([SLOTWIDTH,SLOTDEPTH]); translate([SLOTWIDTH/2-0.5*SLOTWIDTH/3,SLOTDEPTH]) square([SLOTWIDTH/3,EXTENSION]); translate([SLOTWIDTH/2-0.5*HANDLEWI...
glb/cad_8cecb3194ea4.glb
Create a handle for a sunscreen turn-thing consisting of two identical mirrored halves that snap together around a central axis. Each half is based on a rounded rectangular profile with an inner diameter of 18mm and a total height of 128mm. The main body of each half is 10mm thick, with a recessed channel 4mm deep and ...
INNERDIA = 18; module half(RAND=10){ difference(){ minkowski(){ circle(d=INNERDIA); square(RAND, center=true); } circle(d=INNERDIA); translate([-0.5*(INNERDIA+RAND),0]) square(INNERDIA+RAND, center=true); } } module handle(){ difference(){ union(){ l...
glb/cad_e4b77c6bbb5d.glb
Create a Z-nut adapter consisting of a hexagonal column mounted on a circular flange. Start by creating a hexagonal prism with a diameter of 17mm and a height of 20mm. At the base of this prism, add a cylindrical flange with a diameter of 23mm and a height of 7mm. Remove a central cylindrical hole with a diameter of ...
OUTERDIA_HEX = 17; OUTERDIA_ROUND = 11; OUTERDIA_FLANGE = 23; MNTHDIST = 16; H = 20; FLH = 7; MHD = 1.9; difference(){ union(){ cylinder(d=OUTERDIA_HEX,h=H,$fn=6); cylinder(d=OUTERDIA_FLANGE,h=FLH,$fn=32); } cylinder(d=OUTERDIA_ROUND,h=H+1,$fn=32); translate([-MNTHDIST/2,0,0]) cylinder(...
glb/cad_2da85335e19d.glb
Create a bayonet LED lamp fitting by starting with a main cylinder 9.5mm in diameter and 10mm in height. Center a sphere with a 9.5mm diameter on top of this cylinder, with its center point positioned 10mm up from the base. Add two small alignment pins, each a sphere 2mm in diameter, positioned symmetrically on opposit...
difference(){ union(){ cylinder(d=9.5, h=10); translate([0,0,10]) sphere(d=9.5); translate([5,0,8.5]) sphere(d=2); translate([-5,0,8.5]) sphere(d=2); } translate([0,0,-0.5]) cylinder(d=7,h=5); translate([0,0,5]) sphere(d=7); cylinder(d=2,h=16); translate([0,5,1...
glb/cad_1e6562c4b1ee.glb
Create an RGB juggle ball enclosure consisting of two hemispherical shells and a central connector ring. First, create two identical hollow hemispherical shells with an outer radius of 28mm and a wall thickness of 4mm. Each shell should have a threaded opening along its base circumference with a pitch of 2mm and a di...
use <screwthread.scad> radius=28; thickness=4; layer = 0.09; module halfaball(r=25,th=4){ difference(){ sphere(r); sphere(r-0.7*th); translate([-r,-r,-r]) cube([2*r,2*r,r]); thread(P=2,D=2*r-0.95*th,h=3,step=8); } intersection() { sphere(r); translate([0,0,r-1.5*th]) cy...
glb/cad_9902a7cba7f2.glb
Create a TomTom ball joint repair part by constructing a hollow sphere with an outer diameter of 16mm and an inner diameter of 12.5mm. To create the opening for the joint, remove a section from the top of the sphere using a cube with a side length of 16mm and a height of 5mm, centered horizontally and positioned 4.2mm ...
$fn=48; difference(){ sphere(r=16.0/2); sphere(r=12.5/2); translate([-8,-8,4.2]) cube([16,16,5]); } %cylinder(d=8,h=15);
glb/cad_8a08c1402c2d.glb
Create a decorative plate for a nixie clock housing. Start by forming the main body as a hull between two flattened hemispheres, each with a diameter of 30mm and a height scaled to 40% of a full sphere, positioned such that the total length of the part is 83mm along the Y-axis. Cut through this body with several vert...
module plattehalvebol(DDD=30){ scale([1,1,0.4]) difference(){ sphere(d=DDD); translate([-0.5*DDD,-0.5*DDD,-DDD]) cube(DDD); } } module sierstuk(){ ND = 18; ST = 0.5*ND+15.5; difference(){ hull(){ plattehalvebol(DDD=30); translate([0,ST+25+32.5+25]) platte...
glb/cad_55e38c12cd62.glb
Create an RGB juggle cube housing consisting of two identical halves and a central base. For each half, start with a cylinder 73mm in diameter and 15mm high. Subtract a rounded cube from the center with dimensions 58mm x 58mm x 4mm to create a hollow cavity. In each half, place four vertical mounting holes 3.5mm in dia...
use <RCC.scad> $fn=64; MARGE=3; module helft() { difference(){ translate([(55+MARGE)/2,(55+MARGE)/2,0]) cylinder(d=70+MARGE,h=15); translate([0,0,4]) RCC(55+MARGE); translate([0.5*MARGE,0.5*MARGE,0]){ translate([6.5,6.5,0]) cylinder(d=3.5, h=28); translate([6.5,48.5,0]) cylinder(d=3.5, h=28); translate([48.5,6....
glb/cad_095aa299dd4c.glb
Create an RGB juggle cube housing consisting of two identical outer halves and one thin middle section. For each outer half, start with a rounded cube of 55mm per side. Hollow out the center by removing a cylinder with a 48mm diameter at the base, tapering up to a 50mm diameter over a height of 28mm. Cut the top of t...
include <RCC.scad>; module jugglecubehalf(){ difference(){ RCC(55); translate([27.5,27.5,6.5]) cylinder(d1=48, d2=50, h=28); translate([27.5,27.5,2.5]) cylinder(d1=44, d2=48, h=4); translate([-1,-1,25.9]) cube(60); translate([6.5,6.5,0]) cylinder(d=3.5, h=28); tran...
glb/cad_d2a6f0431942.glb