Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a pet collar tag in the shape of a stylized bone. The main body is a flat plate with a thickness of 1.8mm. For a large size, the overall dimensions of the bone should be 72.5mm in length and 28mm in width. The bone shape is formed by a central rectangular section with rounded ends, where each end consists of two...
$fa=1; $fs=1; $fn=64; pet_name="Mac"; phone_number="0423 555 555"; extra_text=" "; NAMETAGSIZE = "L"; LengthFactor = 2.9; if (NAMETAGSIZE=="S") { echo ("SMALL"); t(pet_name,7.5,1); t(phone_number,4.7,-7); roundedcube(LengthFactor*19,19,bone_height,5,3); } else if (NAMETAG...
glb/cad_a3fe981e5b52.glb
Create a collar stay holder starting with a solid rectangular block that has a base thickness of 3mm and a total height of 16mm. The outer dimensions of the block are 35mm in width and 69mm in length, with all exterior corners rounded to a 5mm radius. Carve out two primary vertical slots from the top of the block, bo...
stay_slot_height = 13; stay1_slot_length = 69; stay1_slot_width = 18; stay2_slot_length = 59; stay2_slot_width = 7; thumb_slot_length = 25; slot_spacing = 20; base_thickness = 3; edge_thickness = 5; module __End_of_Customizer_Params__ () {} $fa = $preview ? $fa : 0.5; $fs = $preview ? $fs : 0.5; echo(fa=$fa, ...
glb/cad_c9147a78502b.glb
Create a 15 Puzzle consisting of a frame and sliding tiles. First, construct a rectangular frame with an outer wall width of 5mm and a total height of 4mm. The interior cavity should be sized to hold a 4x4 grid of tiles, each 15mm square, with a 0.2mm gap between them. The frame's top edges should be rounded with a 1...
WhichModel=1; font = "American Typewriter"; fontsize = 8; columns = 4; rows = 4; module HideVariablesFromCustomizer() {} $fn=100; nums = "0123456789"; TabType = 1; cubeXY = 15; cubeHeight = 4; cubeXYOffset = cubeXY/2; gap = .2; rowMax = rows-1; colMax = columns-1; VoidCol = colMax; VoidRow = rowMax; frameEdgeW...
glb/cad_e8d89fee8fc1.glb
Create a keyboard foot by starting with a rectangular base measuring 16.5mm in width, 21.8mm in height, and 3mm in thickness. Center a 16-sided polygonal prism with a diameter of 3mm along the width of the base, extending it to a total length of 20.5mm so that it protrudes slightly from the sides. Carve out two rectang...
feedThick = 3.0; feedWidth = 16.5; feedHeight = 21.8; barwidth = 20.5; splitOffset = 3.0; splitWidth = 2.0; splitDepth = 12.5; difference() { union() { cube([feedWidth, feedHeight - feedThick / 2, feedThick]); translate([-(barwidth - feedWidth)/2, 0, feedThick / 2]) { rotate([0, 90, 0...
glb/cad_8064ad672503.glb
Create a GU10 lamp shade and diffusor consisting of two concentric parts. First, create a thin base ring with a height of 2mm, an outer diameter of 51mm, and a centered circular hole with a diameter of 47.5mm. Directly above this base, construct a conical lampshade with a total height of 25mm. The outer wall of this sh...
$fn = 1000; d_hr_in = 47.5; d_hr_out = 51; h_hr = 2; d_ls_in = d_hr_out; d_ls_out = 52.25; h_ls = 25; faktor_ls_uo = 1.2; difference() { cylinder(h = h_hr, r1 = d_ls_out/2, r2 = d_ls_out/2, center = false); cylinder(h = h_hr, r1 = d_hr_in/2, r2 = d_hr_in/2, center = false); } difference() { cylinder(h ...
glb/cad_533d13ef87c8.glb
Create a DnD Travel Dice Holder consisting of a main body and a screw-on lid. For the body, create a cylinder with a radius of 32mm and a total height of 105mm (based on 5 sets of dice). The bottom 5mm is a solid floor. Above the floor, the main cylinder features a tapered chamfer section 4mm high that reduces the ou...
include <threadlib/threadlib.scad> include <knurledFinishLib_v2.scad> part="body"; num_sets = 5; floor_thiccnesse = 5; d4_height = 18; d6_size = 16; d8_edge_length = 18; d8_height = 23.5; d10_height = 21.7; d12_width = 21.5; d20_width = 23; d20_height = 20.7; tolerance = 0.2; shaft_size = "M16"; shaft_OD = 16; pathRa...
glb/cad_ce84f4290977.glb
Create a parametric socket organizer tray. Start with a base cuboid with rounded corners, measuring 111.5mm in length, 33mm in width, and 15.5mm in height. Subtract seven cylindrical holes from the top face to hold sockets. These holes should be centered along the length of the tray, each with a depth of 13.5mm. The ...
include <BOSL2/std.scad> $fn = 99; s_h = 24; edge = 1; mag_z = 1.4; base_depth = 2; mag_d = 6; s_r = [ 7.75, 7.5, 6.5, 6.25, 6.25, 6.25, 6.25 ]; label = [ "!)", "(", "*", "&", "^", "%", "$" ]; letter_size = 7; label_size = letter_size * 1.25; letter_height = 1; rounding = 1; r_max = max(s_r); font = "Sans...
glb/cad_42c30f59a162.glb
Create a parametric socket organizer tray. Start with a rounded rectangular base block with a total height of 15.5mm (the maximum socket radius), a width of 63mm, and a depth of 31mm. The corners and edges of this block should have a rounding radius of 1mm. Subtract four vertical cylindrical holes from the top face to...
include <BOSL2/std.scad> $fn = 99; s_h = 24; edge = 1; mag_z = 1.4; base_depth = 2; mag_d = 6; s_r = [ 7.75, 7.5, 6.5, 6.25 ]; label = ["1⁄2","63⁄64","31⁄32","15⁄16"]; letter_size = 6; font = "Times"; label_size = letter_size * 1.30; letter_height = 1; rounding = 1; r_max = max(s_r); x_pos = [for (a = 0,...
glb/cad_2a55c3511699.glb
Create a Mühle Travel Shaving Brush stand consisting of two separate components: a base and a retaining ring. First, construct the base as a low cylinder with a diameter of 31mm and a height of 4mm. Remove a concentric cylindrical core with a diameter of 26mm and a height of 5mm to create a shallow ring. Within this ...
$fn=190; union() { difference() { cylinder(d=31, h=4); cylinder(d=26, h=5); translate([-26/2, 0, 0]) cube([25.5, 25.5, 10]); } difference() { cylinder(d=39, h=4); cylinder(d=29, h=4); translate([-39/2, -(39/2)+6, 0]) cube([100, 100, 100]); translate(...
glb/cad_bd33400f19a2.glb
Create a PCB Standoff consisting of three stacked vertical sections. Start with a foot section 8mm high; the base is a cone starting at 5.4mm diameter, expanding to 7.5mm, then forming a cylinder of 7.5mm diameter before tapering back to 6mm at the top. Hollow out the center of this foot with a conical hole that narrow...
$fa = 1; $fs = 0.4; module standoff( diameter = 6, height = 5, board_thickness = 4, screw_diameter = 2.2, head_height = 3, foot_height = 8 ) { module body() { module foot(d_hole, d_mult = 1.25, d_screw = 2.2, h =...
glb/cad_5e97a79b926c.glb
Create a PSU holder by starting with a solid rectangular base measuring 93mm in length, 46mm in width, and 10mm in height. Remove a central rectangular block from the top of this base, measuring 73mm in length and 36mm in width, to create a U-shaped channel with walls that are 10mm thick. To create mounting points, add...
inner_width = 73; inner_heigth = 36; thickness = 10; hole_diameter = 3; $fn = 100; difference(){ cube([inner_width+2*thickness, inner_heigth+thickness, thickness]); translate([thickness,0,0]) { cube([inner_width, inner_heigth, thickness]); } } translate([-2*thickness,0,0]) { difference() { ...
glb/cad_8cd2db447e1f.glb
Create a miniature gaming base with a rounded shape, 30mm in width and 30mm in depth. The base should have a total height of 4.2mm and a taper of 2mm, meaning the top surface is smaller than the bottom. The underside of the base is hollowed out to create a cavity, leaving a top thickness of 1.2mm and side walls of 1....
Shape = "Rounded"; Underside = "Hollow"; BaseWidth = 30; BaseDepth = 30; BaseTaper = 2; BaseHeight = 4.2; TopThickness = 1.2; WallThickness = 1.2; CreateLip = false; LipHeight = 1.0; LipWallThickness = 0.8; CreateSlot = false; SlotWidth = 2.3; SlotOffset = 0.0; CreateMagnetHole = false; MagnetDiameter = ...
glb/cad_a4bde5a70806.glb
Create a 3030 quick-release-bar-clamp consisting of a jaw and a cam lever. First, construct the jaw. Create a main body that fits a 30mm extrusion, featuring a central slot for the cam shaft. The jaw should include a groove clamp designed for a 3030 extrusion, with a maximum groove width of 15.2mm, a minimum of 7.5mm...
extrusion_type = "3030"; clamp_len = 30; jaw_len = 100; groove_depth = 2.25; lever_nub = 1; pad_ratio = 0.5; wall_thickness = groove_depth+2; extrusion_size = (extrusion_type == "1515")?15: (extrusion_type == "2020")?20: (extrusion_type == "3030")?30: (extrusion_type == "80/20 1010")?25.4: (e...
glb/cad_1436c912e060.glb
Create a Z Offset Test model consisting of a thin base plate and a centered handle. First, create a square plate measuring 20mm by 20mm with a height of 0.2mm. Position this plate so its center is at the origin. Then, create a cube with dimensions of 10mm by 10mm by 10mm. Position this cube so that it is centered on th...
LAYER_HEIGHT = 0.2; union() { translate([0, 0, 5]) cube(size = [10, 10, 10], center = true); translate([0, 0, (LAYER_HEIGHT / 2)]) cube(size = [20, 20, LAYER_HEIGHT], center = true); }
glb/cad_ede51f139d97.glb
Create a speaker spacer adapter consisting of a main cylindrical ring and three radial mounting tabs. The main ring has an outer diameter of 171.5mm, an inner diameter of 148mm, and a height of 22mm. Centered within the ring's wall, place six bolt holes arranged in a circular pattern with a diameter of 162.5mm. Each ...
$fa = 1; $fs = 0.1; TEST_FIT = false; TEST_NUTS = false; TEST_HEIGHT = 0.8; USE_M3 = false; USE_HEATED_INSERTS = false; EXTRA_NUT_DEPTH = 1; Woofer_Ring_Depth = 22; Woofer_Inner_Ring_Dia = 148; Woofer_Outer_Ring_Dia = 171.5; Woofer_Screw_Count = 6; Woofer_Screw_Spacing_Dia = 162.5; Car_Screw_Tab_Depth = 19; Car_Scre...
glb/cad_31a9d40074d4.glb
Create a Parts Box organizer by starting with a solid rectangular block that measures 174mm in width, 102mm in depth, and 52mm in height. From this main volume, carve out a grid of 16 identical rectangular holes to create storage compartments. Arrange these holes in 4 columns across the width and 4 rows along the depth...
boxX=40; boxY=50; boxZ=25; xCount=4; yCount=4; w=2; PartsBox(); module PartsBox() { difference() { translate([0,0,-w/2]) { cube([xCount*(boxX+w)+(xCount-1)*1+2*w,yCount*(boxZ+w)+(yCount-1)*1+2*w,boxY+w]); } for (b=[0:yCount-1]) { translate([0,b*boxZ+w+b*3,0]) { for (a=[0:xCount-1]) ...
glb/cad_ee0a798693aa.glb
Create a Parts Box Drawer by starting with a main rectangular shell measuring 40mm wide, 50mm deep, and 25mm high. Hollow out the center of this shell by removing a smaller rectangular block measuring 38mm wide, 48mm deep, and 24mm high, leaving a wall thickness of 1mm on all sides. At the bottom center of the front fa...
boxX=40; boxY=50; boxZ=25; wantDescriptionFrame=true; PartsBoxDrawer(); module PartsBoxDrawer() { difference() { cube([boxX,boxY,boxZ],center=true); translate([0,0,0.5]) { cube([boxX-2,boxY-2,boxZ-1],center=true); } } translate([0,-boxY/2-10/2,-boxZ/2+10/2]) { cube([2,10,10],center=true); ...
glb/cad_b6a605696c22.glb
Create a customizable feet spacer for a Creality Ender-7 by constructing a solid cylinder with a diameter of 30mm and a height of 7mm. Centered perfectly along the vertical axis of this cylinder, add a circular hole with a diameter of 4.5mm that passes completely through the object from top to bottom. Ensure the final ...
hole_diameter_m4 = 4.5; diameter=30; height=7; $fs = .2; $fa = 2; difference() { cylinder(h = height, d = diameter); cylinder(h = height, d = hole_diameter_m4); }
glb/cad_e84e86ab01f8.glb
Create a mainboard fan mount gasket by starting with a square plate measuring 62mm by 62mm with a thickness of 1.5mm. Apply a 3mm radius rounding to the four corners on the top and bottom Z-faces. In the center of the plate, create a large circular cutout with a diameter of 58.5mm. Additionally, create four smaller c...
hole_diameter_fan = 5.4; height=1.5; width=62; depth=62; center_fanhole_dia=58.5; $fs = .4; $fa = 4; difference() { translate([0,0,height/2]) roundedcube([width,depth,height], center = true, radius = 3, apply_to = "z"); translate([-fan_hole_dist+fan_hole_offset_x,-fan_hole_dist+fan_hole_offset_y,-1]...
glb/cad_eb5c1dce1aab.glb
Create a mainboard fan mount for a Creality Ender-7. Start with a base plate measuring 180mm wide, 170mm deep, and 4mm thick, with rounded corners of 3mm radius on the Z-axis. Cut several openings into this plate: a central circular hole with a diameter of 58.5mm, and four fan mounting holes with a diameter of 5mm, p...
hole_diameter_m4 = 4.5; hole_diameter_fan = 5; hole_diameter_m3 = 3.6; $fs = .6; $fa = 6; module post(){ difference(){ cylinder(h = post_height, d1 = post_diameter_outer1, d2 = post_diameter_outer2); cylinder(h = inside_post_height, d = post_diameter_inner); cylinder(h = post_height, d = hole...
glb/cad_7a60d95ad054.glb
Create a keycap for a controller by designing a rounded square body with a total width and depth of 19mm and a height of 8mm. The top surface should be slightly convex, formed by the intersection of a large sphere and a cube, with all outer edges smoothed with a 3mm radius. The walls of the cap should be 1.4mm thick, c...
size=19; height=8; smooth=3; solid=1.4; gap_w = 1.16; gap_h = 3.98; gap_r = 0.15; stem_l = 4.3; stem_d = 5.6; difference() { union() { cap(); stem(); } socket(); } module body(x) { resize(x) intersection() { minkowski() { intersection() { translate([0,0,-9]) resize([120,120,30]) sphe...
glb/cad_251f8cea3cf3.glb
Create a keycap for a controller by designing a rounded square block with a base width and length of 26mm and a height of 8mm. The main body should have a smooth, rounded top surface and a hollow interior with a wall thickness of 1.5mm. At the center of the bottom face, integrate a cylindrical stem with a diameter of...
size=26; height=8; smooth=2; solid=1.5; gap_w = 1.16; gap_h = 3.98; gap_r = 0.15; stem_l = 4.3; stem_d = 5.6; difference() { union() { cap(); stem(); } socket(); } module body(x) { resize(x) intersection() { minkowski() { intersection() { translate([0,0,-9]) resize([80,80,30]) sphere...
glb/cad_42269df7fb42.glb
Create a keycap for a Pop'n Music controller. Start by forming the main cap as a rounded, dome-like shape. This is achieved by taking a sphere with a 50mm diameter, flattening it along the Z-axis to a height of 5mm, and resizing the overall footprint to 28mm by 28mm. Hollow out the underside of this dome by removing a ...
gap_w = 1.16; gap_h = 3.98; gap_r = 0.15; stem_l = 4.3; stem_d = 5.6; difference() { union() { cap(); stem(); } socket(); } module cap() { difference() { translate([0,0,3]) difference() { translate([0,0,0]) bean([28,28,10]); translate([0,0,-1.5]) bean([25,25,10]); } translate(...
glb/cad_2967752c3d0d.glb
Create a holder for a Sanwa button optical sensor mod. Start with a central vertical cylinder 12.5mm in diameter and 14mm high. Around this, create a ring with a total height of 3mm, centered vertically at 1.5mm. This ring is composed of several concentric layers: an innermost cylinder 18.5mm in diameter and 0.9mm high...
bias = 0.2; leg = 7.8; difference() { union() { click_ring(); led_tube(); translate([-5,0,3]) limiter(); translate([5,0,3]) limiter(180); screws(); mark(); } led_hole(); } module mark() { color("green") hull() { translate([4.3,7.5,0]) sphere(d=1.15,$fn=32); translate([4.3,6.5,-...
glb/cad_455b9d170366.glb
Create a d4 storage base shaped as a large tetrahedron with an edge length of approximately 90.3mm (calculated as $21 \times 4.3$). The base is a hollowed-out shell with a floor thickness of 2mm. Inside this shell, create a tiered internal cavity designed to hold 30 tetrahedral dice. The cavity consists of four layer...
lip_height=2; floor_height=2; cover_thickness=1; tab_thickness=0.5; size = 21; height = size*0.83; width = size*0.6; module d4(s) { points = [ [sqrt(8/9),0,0], [-sqrt(2/9),sqrt(2/3),0], [-sqrt(2/9),-sqrt(2/3),0], [0,0,4/3] ]; polyhedron(points*s/sqrt(8/3), [[0,2,1], [0,1,3...
glb/cad_a6de2fd786a6.glb
Create an aperiodic tiling box and lid based on the "hat" and "turtle" monotile geometries. For both the box and lid, use a base module size of 20mm for the shortest side of the shapes. To create the box, use the "hat" polygon as the footprint. Extrude the base to a height of 1.2mm. From this base, extrude walls upwar...
wall_thickness = .86; bottom_height = 1.2; box_height = 15; lid_lip = 3; module_size = 20; translate([+module_size, +module_size]) box() tile_hat(module_size); translate([-module_size, +module_size]) lid() tile_hat(module_size); translate([+module_size, -module_size]) box() tile_turtle(module_size); translate([-mo...
glb/cad_e6b3a97997e7.glb
Create an anti-rotation piece for a camera rig consisting of two distinct parts. First, create a flat face plate that is 65mm wide, 23.25mm high, and 1.5mm thick. Centered within this plate, remove a circular cutout with a diameter of 58mm, positioned 4mm from the top edge. Second, create a mounting adapter. The main ...
$fs = 0.1; $fn = 200; translate([-1.5, 0, 0]) rotate([0, 90, 0]) plate(1.5); translate([0, - 24.5 / 2, 0]) adapter(1.5); module plate(thickness) { height = 23.25; width = 65; dia_mount = 58; h_mount = 4; difference() { translate([0, - width / 2, 0]) cube([height, width, thickness]); ...
glb/cad_1c5c39ae273e.glb
Create two separate components for a camera rig anti-rotation system. First, create a rectangular plate clamp piece with dimensions 48mm wide, 12.8mm high, and 1.25mm thick. Centered both vertically and horizontally within this plate, create three through-holes, each 7mm in diameter. These holes should be aligned in ...
$fs = 0.1; $fn = 200; translate([0, 24, -12.8]) rotate([0, 0, -90]) plate_clamp_piece(thickness=1.25); speedbooster_support(); module plate_clamp_piece(thickness) { height = 12.8; width = 48; hole_diameter = 7; difference() { cube([width, thickness, height]); translate([width / 2, 0...
glb/cad_4bc780b7a5c0.glb
Create a screen riser by constructing a thick, hollow cylinder with a total height of 50mm. The outer diameter of the cylinder should be 105mm, and it should feature a concentric circular hole running through the center with a diameter of 60mm. Ensure the walls are smooth and the top and bottom faces are flat and paral...
height = 50; cyl = 60; difference(){ cylinder(height, 90, 105, center = true, $fn = 1000); cylinder((height + 1), cyl, cyl, center = true, $fn = 1000); }
glb/cad_6c25ccf566ea.glb
Create a vacuum hose adaptor consisting of three stacked coaxial sections with a consistent wall thickness of 4mm. Start with a bottom cylindrical section that is 40mm high, with an outer diameter of 99.5mm and an inner diameter of 95.5mm. On top of this, add a middle transition section 25mm high that tapers linearly f...
$fn=200; fit = 0.5; wallThickness = 4; topSectionSize=65; bottomSectionSize=100; topSectionHeight = 50; topOuter = topSectionSize-fit; topInner = topOuter - wallThickness; bottomSectionHeight = 40; bottomOuter = bottomSectionSize - fit; bottomInner = bottomOuter - wallThickness; midSectionHeight = 25; section(bot...
glb/cad_51aac596040e.glb
Create a Keyfob Hanger for a Honeycomb Storage Wall. Start by creating a hexagonal wall insert base. Attached to this base, construct a hexagonal standoff with a diameter of 23mm and a height of 10mm, but remove the top half of the standoff so it is a flat-topped hexagonal prism. From the top of this standoff, extend ...
wall=3; $fn = 90; abit = 0.001; alot = 100; module fob() { linear_extrude(10) hull() { circle(d = 30); translate([0,-30]) circle(d = 10); } } include <../lib/Honeycomb_wall_insert_module.scad> rotate([90,0,0]) union() { rotate([180,0,0]) hws_insert(); difference()...
glb/cad_8986cd706c56.glb
Create a magnetic glasses holder consisting of a base and a top piece. For the base, create a rectangular block 20mm wide and 5mm thick. The front edge of this block should be rounded with a 4mm radius. In the top surface of this base, create two circular recesses for magnets, each with a radius of 4.2mm and a depth of...
magr=4+.2; magh=3+.3; bakz=magh+2; trih=18; triw=20; triz=14; trizp=triz+.1; trir=4; frh =trih+2*trir; frz=3; scr=1.8; scrp=scr+.1; $fn=90; module back(){ difference() { union(){ minkowski() { translate([-(triw)/2,0,0]) cube([triw, frh, bakz/2]); ...
glb/cad_14730719813d.glb
Create a Customizable Empty Spool Lamp consisting of two identical hexagonal frames. Each frame is constructed by creating a hexagonal prism with an outer diameter of 278mm and an inner diameter of 258mm, and a height of 10mm. For the first frame, position it at a height of 120mm and rotate it 90 degrees on the Y-axi...
spool_outer_diameter = 200; spool_thickness = 5; show_inner_hexagon = true; show_outer_hexagon = true; module inner_hexagon(spoolOuterDiameter) { if(show_inner_hexagon) { difference() { union() { translate([0, 0, 120]) { rotate([90, 0, 90]) { ...
glb/cad_0a98f0e95e43.glb
Create a Customizable Empty Spool Lamp shade by constructing a hollow cylinder with an outer diameter of 196mm and a height of 53mm. The wall thickness of this cylinder should be 3mm. The exterior surface of the cylinder must feature a truncated rib texture, where each texture element is 5mm by 5mm with a depth of 1m...
include <BOSL2/std.scad> $fn=360; lamp_shade_diameter = 196; lamp_shade_height = 53; lamp_shade_thickness = 3; name_of_texture = "trunc_ribs_vnf"; size_of_texture = [5, 5]; depth_of_texture = 1; enable_lamp_fitting = false; tolerance = 0.4; bulb_socket_holder_diameter = 33.4; clamp_height = 4; clamp_thickne...
glb/cad_183910bedac4.glb
Create a socket holder for a lamp designed to fit inside a filament spool. Start by constructing a central hexagonal prism with a height of 23.59mm and a diameter of 64mm (spool inner diameter of 54mm plus 10mm). On top of this hexagon, add a cylinder with a height of 5mm and a diameter of 64mm. Above that, add a metri...
use <threads.scad> $fn=0; spool_inner_diameter = 54; spool_thickness = 5; bulb_socket_diameter = 27; module socket_holder(spoolInnerDiameter, spoolThickness, bulbSocketDiameter) { difference() { difference() { union() { translate([0, 0, 28.59]) { metric_...
glb/cad_306eea33fe1f.glb
Create a top cap for a spool lamp by constructing two stacked cylinders. First, create a thin base cylinder with a diameter of 54mm and a height of 0.4mm. Centered directly on top of this base, add a second, slightly thicker cylinder with a diameter of 64mm and a height of 2mm. Ensure the final object is a single solid...
$fn=360; spool_inner_diameter = 54; module top_cap(spoolInnerDiameter) { translate([0, 0, 0.4]) { cylinder(h=2, d=spoolInnerDiameter + 10); } cylinder(h=0.4, d=spoolInnerDiameter); } top_cap(spool_inner_diameter);
glb/cad_8dcc2ba136ca.glb
Create a spacer for a customizable empty spool lamp. Start by creating a central cylinder with a diameter of 54mm and a height of 7mm. Add a second, shorter cylinder to the base of the first one, centered on the same axis, with a diameter of 64mm and a height of 3mm. From this combined solid, remove a concentric metric...
use <threads.scad> $fn=0; spool_inner_diameter = 54; spool_thickness = 5; module spacer(spoolInnerDiameter, spoolThickness) { difference() { union() { cylinder(h=spoolThickness + 2, d=spoolInnerDiameter); cylinder(h=3, d=spoolInnerDiameter + 10); } translate([0, ...
glb/cad_1435d9693ca8.glb
Create a light diffuser for a customizable empty spool lamp. Construct a thin, flat cylinder with a diameter of 190mm and a height of 0.4mm. Center a circular hole through the middle of this disk with a diameter of 54mm, removing the material to create a ring shape.
$fn=360; spool_inner_diameter = 54; lamp_shade_diameter = 196; lamp_shade_frame_thickness = 3; module light_diffuser(spoolInnerDiameter, lampShadeDiameter, lampShadeFrameThickness) { difference() { cylinder(h=0.4, d=lampShadeDiameter - (lampShadeFrameThickness * 2)); translate([0, 0, -0.4]) { ...
glb/cad_bdf401b0fbd2.glb
Create a spacer for a customizable empty spool lamp. Start by creating a solid cylinder with a diameter of 64mm and a height of 3mm. On top of this base, center and add a second cylinder with a diameter of 54mm and a height of 7mm. To create the hollow center, remove a coaxial cylinder from the middle of both shapes wi...
$fn=0; spool_inner_diameter = 54; spool_thickness = 5; module spacer(spoolInnerDiameter, spoolThickness) { difference() { union() { cylinder(h=spoolThickness + 2, d=spoolInnerDiameter); cylinder(h=3, d=spoolInnerDiameter + 10); } translate([0, 0, -0.5]) { ...
glb/cad_6afcc1edd188.glb
Create a MagSafe Riser by starting with a solid cylinder 60mm in diameter and 11mm high. Remove a smaller concentric cylinder from the center of the top face with a diameter of 56.4mm and a depth of 5.75mm to create a shallow cup. Finally, create a horizontal hole 5.6mm in diameter that passes completely through the si...
$fn=128; difference() { cylinder(h=11, r=30); cylinder(h=5.75, r=28.2); translate([27, 0, 3]) rotate(a=[0, 90, 0]) { cylinder(h=5, r=2.8); } }
glb/cad_3a2a97b434b3.glb
Create a Gridfinity Parametric Bottle Bin. Start by constructing a solid base block that is 2 units wide and 1 unit deep in the Gridfinity system (84mm x 42mm). The block should have a total height of 45.75mm (6 layers of 7mm plus a 3.75mm base). In the four corners of the base, add circular pockets for magnets with a ...
$fn = $preview ? 16 : 94; diameter = 70; diameter_extra_margin = 0.5; gridfinity_layers = 6; magnet_diameter = 6.5; screw_depth = 6; hole_overhang_remedy = true; box_corner_attachments_only = false; module end_of_customizer_opts() {} depth = 1; height = gridfinity_layers; filled_in = true; chambers = 1; wi...
glb/cad_aa4bdd0140a1.glb
Create a protective case for a SUNLU 3D printer pen consisting of a base box and a matching lid. The base box is a rounded rectangular prism with overall dimensions of 234mm width, 82mm length, and 40mm height. The corners have a rounding radius of 4mm. The walls are 2mm thick, and the bottom floor is also 2mm thick....
use <utils/build_plate.scad> _part = "lid"; _width = 234; _length = 82; _height = 40; _rounding = 4; _minimumWallThickness = 2; _sidewallThickness = 2; _horizontalThickness = 2; _magnetDiameter = 6.2; _magnetHeight = 3.2; _hingeGap = 0.25; module roundRect(width, depth, height, round) { round = min(round, ...
glb/cad_59651c630687.glb
Create a support pad for an IronMaster IM2000 spotting arm. Start with a rectangular block measuring 54.2mm in length, 44.2mm in width, and 5mm in height. Apply a 2mm fillet radius to the four corners of the top face only, leaving the bottom face and side edges sharp. Remove two identical countersunk screw holes from ...
$fs = 0.01; module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") { size = (size[0] == undef) ? [size, size, size] : size; translate_min = radius; translate_xmax = size[0] - radius; translate_ymax = size[1] - radius; translate_zmax = size[2] - radius; diameter = radius * 2; ob...
glb/cad_4fea2af835e6.glb
Create a tool post hook designed to mount onto a panel. Start with a main rectangular base block that is 35mm wide and 30mm high with a thickness of 2mm. Round the four vertical corners of this base with a radius of 1.5mm, but keep the bottom face flat. From the center of the base, extend an arm upwards to a height o...
arm_length = 14; module __Customizer_Limit__ () {} production = 1; pnghq = 0; $fn = (production && !$preview) ? 150 : (pnghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$fn); } else { echo("Producing DRAFT quality"); echo("Resolution",$fn); } $plex_width =...
glb/cad_397cf557e410.glb
Create a gear mesh shim washer by constructing a thin, flat ring. The washer should have an outer diameter of 13.2mm and a centered circular hole with an inner diameter of 10.2mm. Extrude this ring shape to a uniform thickness of 0.8mm. Ensure the circular edges are defined with a resolution of 40 facets to maintain a ...
od=13.2; id=10.2; T = 0.80; $fn=40; linear_extrude(height=T) difference(){ circle(d=od); circle(d=id); }
glb/cad_b8362d74ffd8.glb
Create a generic round tool holder designed to clip onto a panel. Start with a main base plate that is 35mm wide and 30mm high with a thickness of 2mm. The base should have rounded corners with a radius of 1.5mm, though the bottom face must remain flat. Attached to this base, create a tool support extension that is 1...
module __Customizer_Limit__ () {} production = 1; pnghq = 0; $fn = (production && !$preview) ? 150 : (pnghq ? 150 : 25); if (production && !$preview) { echo("Producing PRODUCTION quality"); echo("Resolution",$fn); } else { echo("Producing DRAFT quality"); echo("Resolution",$fn); } $plex_width = 4; $top_wall = 2;...
glb/cad_fcb5d831aa10.glb
Create a pipe nut release tool with a total height of 15mm. The main body is a cylinder with a diameter of 118.5mm. Remove a central cylindrical core with a diameter of 93.5mm to create a ring. Cut a rectangular slot through the ring to create an opening 62mm wide, allowing the tool to be placed over a pipe. Along the...
diameter=93.5; tool_dia=diameter+25; height=15; handle=100; lug_count=16; lug_width=4.5; lug_height=2; opening=62; holder_width=15; color([1,0.5,0]) tool(); color([1,0.5,0]) translate([-15,0,height]) rotate ([180,0,0]) lock(); module tool() { union(){ translate([(diameter/2)+1,-10,0]) cube ([handle...
glb/cad_2724e525a1f4.glb
Create a hinge repair part consisting of a circular base and an offset vertical pin. Start by creating a flat circular base with a diameter of 10.4mm and a height of 1mm. Position a vertical cylindrical pin with a diameter of 3.5mm and a total height of 6mm, centered 2.2mm away from the center of the base. The pin shou...
clearance=0.1; inner_hole=3.6 - clearance; outter_hole=10.5 - clearance; outter_depth=1; entire_depth=6; plug_d=4; plug_h=1.5; $fn=150; plug_margin=0.5; off_center=2.2; cube_cut=0.5; cylinder(d=outter_hole,h=outter_depth); translate([off_center,0,0]){ difference(){ group(){ cylinder(d=inner_hole,h...
glb/cad_37f8bea491f2.glb
Create a Dental Stick Holder by starting with a solid rectangular block measuring 50mm in width, 50mm in depth, and 40mm in height. Hollow out the center of the block to create a large open compartment, leaving a wall thickness of 2mm on the bottom and three sides. The top opening of this main compartment should be 21m...
$fn = 50; z = 40; y = 50; x = 50; wallThickness = 2; cutoutX = x/2; cutoutY = y - wallThickness; cutoutZ = z - wallThickness*2; cutoutXbox = x/2-wallThickness*2; cutoutYbox = y - wallThickness*2; cutoutZbox = z - wallThickness; rDent = 4; module interdentalstickholder() { difference() { cube([x,y,z]); t...
glb/cad_613776996f3d.glb
Create six identical cable tags, each measuring 30mm in length, 10mm in width, and 0.6mm in thickness. The main body of each tag is a rounded rectangle formed by the convex hull of four 4mm diameter cylinders positioned at the corners: two at x=2mm and two at x=28mm, with y-coordinates at 2mm and 8mm. On each tag, cr...
$fn = 80; module tag(line1="text1",line2="text2") { difference() { hull() { translate([2,2,0]) cylinder(d=4,h=0.6); translate([28,2,0]) cylinder(d=4,h=0.6); translate([2,8,0]) cylinder(d=4,h=0.6); translate([28,8,0]) cylinder(d=4,h=0.6); } hull() { translate([2,2,-0.2]) ...
glb/cad_f74c407dcad9.glb
Create a post for a 2020 extrusion by starting with a square block 26mm wide, 26mm deep, and 40mm tall. Attach a circular base to the bottom of this block by creating a cylinder with a 50mm diameter and a height of 3mm, centered on the block's footprint. To form the main cavity, remove a centered square volume from the...
$fn=80; difference() { union() { translate([0,0,0]) cube([26,26,40]); translate([13,13,0]) cylinder(d=50,h=3); hull() { translate([0,0,5]) cube([26,26,1]); translate([13,13,0]) cylinder(d=40,h=3); } } translate([2.8,2.8,1]) cube([20.4,20.4,42]); translate([13,13,-1]) cylin...
glb/cad_a7fc34bc9e64.glb
Create a Vesa 100x100 Adapter plate by starting with a centered square slab measuring 121mm by 121mm with a thickness of 6mm. Remove eight cylindrical holes that pass through the plate: four holes with a diameter of 4.5mm positioned at the corners of a 100mm by 100mm square (at coordinates ±50, ±50), and four holes wit...
$fn=80; module VESA100x100() { difference() { translate([0,0,0]) cube([121,121,6],center=true); translate([50,50,-4]) cylinder(d=4.5,h=10); translate([-50,50,-4]) cylinder(d=4.5,h=10); translate([50,-50,-4]) cylinder(d=4.5,h=10); translate([-50,-50,-4]) cylinder(d=4.5,h=10); translate([35,35,-4]) cy...
glb/cad_c8fbd0e4e921.glb
Create a GoPro M5 capscrew short knob. Start with a central cylinder that has a diameter of 11.15mm and a total height of 12mm. This cylinder serves as the main body. Around this central body, add four symmetrical gripping lobes spaced 90 degrees apart. Each lobe is formed by the convex hull of the main cylinder's bas...
include <NopSCADlib/global_defs.scad> use <NopSCADlib/utils/hanging_hole.scad> knobh = 12; nknob = 4; gripd = 20; griph = 10; npknob = 1; pknob = 1; lobed = 7; bolt_head_cushion = 6; m5d = 5.2; m5head = 8.55; $fn = 36; md = m5head+(1.2*2); difference() { union() { cylinder(d=md,h=knobh); ...
glb/cad_69de0e231066.glb
Create an Amateur Radio RF Choke Box consisting of a main body and a lid. Construct the main body as a rectangular block measuring 86mm in length, 86mm in width, and 34mm in height. Hollow out the interior by removing a central cylinder with a diameter of 82mm and a height of 32mm, and a rectangular section measuring...
$fn = 150; bdiam = 82; bwidth = bdiam + 4; blen = bdiam + 4 + 24; bheight = 30 + 4; box(); module lid() { difference() { union() { translate([2,2,0]) cube([blen-4, bwidth-4, 2]); color("black") translate([23, 14, 2]) rotate([0,0,90]) linear_extrude(0.2) ...
glb/cad_fc9003458788.glb
Create a Dymo LetraTag holder consisting of 10 identical repeating storage bays. For each bay, start with a solid block measuring 57.4mm in width, 19.2mm in depth, and 24.2mm in height. Hollow out the center of this block to create a pocket that is 55mm wide, 17mm deep, and 23mm high, leaving a wall thickness of 1.2mm ...
$fn=250; dt1=0.01; dt2=dt1*2; prt_delta=0.4; b_x=55; b_y=17; b_z=23; notch_x=10; notch_z=9; notch_dy=2; notch_dz=3; mat=1.2; anzahl=10; for(i = [0:anzahl-1]){ translate([0, i*(b_y+mat), 0]) difference(){ union(){ difference(){ cube([b_x+mat*2, b_y+mat*2, b_z+mat]); union(){ translate([mat, mat, ma...
glb/cad_2c85877c048e.glb
Create a Brother P-Touch TZe Label Tape Holder consisting of 9 identical stacked storage slots. Each slot is based on a rectangular block measuring 91.4mm in width, 19.2mm in depth, and 53.2mm in height, with walls 1.2mm thick. Inside each slot, carve out a central cassette cavity measuring 89mm by 18mm by 52mm. Remov...
$fn=360; dt1=0.01; dt2=dt1*2; prt_delta=0.4; cas_x=89; cas_y=18; cas_z=67-15; mat=1.2; cl_w = cas_y*.8; cl_h = mat; cl_l = 23; cl_dh = 1; cut_z=25; cut_dz=cl_l+1; slots=9; for(i=[0:slots-1]){ translate([0, i*(cas_y+mat), 0]) union(){ difference(){ union(){ cube([cas_x+mat*2, cas_y+mat*2, cas_z+mat]); } ...
glb/cad_27ea709b64ae.glb
Create a Home Assistant Glow box consisting of a bottom base and a matching top lid. Construct the bottom base as a rectangular enclosure with dimensions 40mm in length, 126mm in width, and 34mm in height. The walls should have a thickness of 3mm, and the vertical corners must be rounded with a radius of 12mm. On one...
ShowBottom = true; ShowTop = true; DistanceBetweenObjects = 10; ShowCaseAssembled = false; SeeNutCut = false; SeeGrooveRidgeScrew = false; Caselength = 40; CaseWidth = 126; CaseHeight = 34; CutFromTo...
glb/cad_0753060a6185.glb
Create a Gimbal Bicycle Cup Holder consisting of a nested gimbal ring system and a mounting bracket. First, construct the gimbal assembly using three concentric rings. The innermost ring is a solid cylinder with a diameter of 70mm and a height of 18mm. Surround this with two outer rings, each with a thickness of 8mm....
$fn=40; ring_tolerance=0.5; spike_tolerance=0.5; handlebar_handle_dia=22.5; handlebar_shaft_dia=24; coffeecup_ring_diameter = 70; ring_thickness = 8; ring_height = handlebar_handle_dia*0.8; ring_gap=1; module spikeHole(r=20, h=5, spike_length=5, tol=0, tol_tip=0) { translate([0,r-0.5,0]) rotate([0,90,90]) cylin...
glb/cad_d8bde49922e8.glb
Create a Gimbal Bicycle Cup Holder consisting of a nested gimbal ring system and a mounting bracket. First, construct the gimbal mechanism using three concentric rings. The innermost ring is a cylinder with an outer diameter of 76mm and a height of 18mm. Surround this with two outer rings, each increasing in radius b...
$fn=40; ring_tolerance=0.5; spike_tolerance=0.5; handlebar_handle_dia=22.5; handlebar_shaft_dia=24; coffeecup_ring_hole_diameter = 70; coffeecup_ring_lip = 3; ring_thickness = 4; ring_height = handlebar_handle_dia*0.8; ring_gap=0.5; module spikeHole(r=20, h=5, spike_length=5, tol=0, tol_tip=0) { translate([0,r-...
glb/cad_ac8fdbdb2742.glb
Create a Vortex Condensate Drainer consisting of a conical body and a threaded cap assembly. First, construct a hollow truncated cone with a height of 70mm. The bottom opening diameter is 28.58mm and the top opening diameter is 60mm. The wall thickness throughout the cone is 1.5mm. At the top of the cone, add a thre...
include <BOSL2/std.scad> include <BOSL2/bottlecaps.scad> $fa = $preview ? 12 : 4; $fs = $preview ? 2 : 1; $fn = $preview ? 16 : 160; wall = 1.5; cyclone_h = 70; cyclone_top_d = 60; cap_h = 12; inlet_tube_d = 6; num_tubes = 3; oversize_factor = 1.2; _cyclone_r1 = 28.58/2; ring_h = (inlet_tube_d+wall)*(num_tubes...
glb/cad_b55c5640dcd6.glb
Create an Amateur Radio TYT TH-6800 Go Kit consisting of a battery base and a top cover. Construct the battery base as a rectangular box measuring 70mm x 25mm x 14mm. Hollow out the center of the box, leaving a 2mm wall thickness. On the front face, create a rectangular cutout measuring 13.75mm x 2mm x 8.5mm for powe...
battery_top(); translate([0, 28, 0]) battery_base(); module backTop() { bSupDepth = 52; difference() { union() { cube([8, 26, 28]); translate([108-8, 0, 0]) cube([8, 26, 28]); translate([0, 26, 0]) cube([8, bSupDepth, 28]); translate([108-8, 26, 0]) cu...
glb/cad_587e99e38b30.glb
Create an Amateur Radio Band Plan Reference stand. Start by creating a main body that is a solid block 120mm long, 80mm high, and 120mm deep. From this block, remove a large section to create a hollow slot for cards. Specifically, subtract a volume starting from the top, defined by a polygon with vertices at [0,0], [20...
$fn = 50; basePad(); module plates2() { band70(); translate([0, 32, 0]) band23(); } module plates1() { translate([0, 0, 0]) band6(); translate([0, 32, 0]) band10(); translate([0, 32*2, 0]) band12(); translate([0, 32*3, 0]) band15(); translate([0, 32*4, 0]) band17(); tr...
glb/cad_f8f4fef44756.glb
Create a set of antenna cable labels consisting of a base and a lid for two different cable diameters: 6.25mm and 10mm. For the base, create a rectangular block 40mm long with a width of the cable diameter plus 10mm and a height of the cable diameter plus 5mm. Remove a cylindrical core through the length of the block...
$fn = 50; tagLength = 40; LMR400 = 10.00; RG8X = 6.25; translate([ 0, 0, 0]) base(RG8X); translate([ 0, 17, 0]) base(RG8X); translate([41, 0, 0]) base(RG8X); translate([41, 17, 0]) base(RG8X); translate([0, 34, 0]) base(LMR400); translate([41, 34, 0]) base(LMR400); module base(cableDiam) { difference() { ...
glb/cad_3a9c8e2c1a86.glb
Create a wall mount for a Leviathan Axe by starting with a base shape formed from the convex hull of a centered 100mm x 80mm x 10mm rectangular slab and a 100mm x 20mm x 100mm rectangular block positioned at [0, -40, 50]. From this combined volume, remove a horizontal cylinder with a radius of 40mm and a length of 100m...
$fn = 128; width = 100; axeGap = 70; axeWidth = 40; difference() { hull() { cube([width,80,10], center = true); translate([0,-40,50]) cube([width, 20, 100], center = true); } translate([0,3,55]) rotate([90,0,90]) cylinder(h = width, r = axeWidth, center = true); ...
glb/cad_a2cc4578d5fd.glb
Create a Wing Tip Close-Out Bending Tool by starting with a main rectangular block that is 25.4mm thick, 101.6mm long, and 25.4mm wide. Round all exterior edges of this block to a radius of 3.175mm. Carve a central bending slot into the block that is 1.6mm wide and 14.2875mm deep. At the base of this slot, create a c...
function to_mm(inches) = inches * 25.4; $fn = 100; epsilon = to_mm(0.001); epsilon2 = 2 * epsilon; slot_length = to_mm(9/16); slot_height = to_mm(1/16 * 0.6); bend_radius = to_mm(0.063); bend_angle = 45; edge_radius = to_mm(1/8); height = to_mm(1); length = to_mm(4); thickness = to_mm(5/8); slot_position = height / ...
glb/cad_958297bfce5e.glb
Create an Avatar logo keychain by starting with a flat rectangular base that is 250mm wide, 350mm deep, and 5mm thick. Center the logo geometry on this base, ensuring the final height of the piece is scaled to 4mm. To allow for a keychain attachment, create a vertical cylindrical hole with a radius of 10mm and a height...
difference() { color( "darkgreen", 0.3 )translate([0,0,-5])cube([250,350,5], center=false); color( "grey", 0.3 )translate([125,334,0])rotate([0,0,0])cylinder(h=46, r=10, center=true); } translate([0,50,0])import(file = "AvatarLogo.stl");
glb/cad_55010fcbc973.glb
Create an Avatar logo keychain by starting with a flat rectangular base measuring 250mm in width, 350mm in depth, and 5mm in height. Position the Avatar logo geometry centrally on the top surface of this base, offset 50mm from the bottom edge and 0mm from the sides. To finish the piece, create a vertical cylindrical ho...
difference() { color( "darkgreen", 0.3 )translate([0,0,-5])cube([250,350,5], center=false); color( "grey", 0.3 )translate([125,334,0])rotate([0,0,0])cylinder(h=46, r=10, center=true); translate([0,50,-3])import(file = "AvatarLogo.stl"); }
glb/cad_cd95f52d9de1.glb
Create a playing cards box consisting of a main container and a matching lid. The main container is a hollow rectangular prism with an interior cavity measuring 102mm by 58mm by 19mm. The walls are 1.6mm thick with an inner corner radius of 2mm and an outer corner radius of 3.6mm. The bottom of the container is solid, ...
cardsize=[100,56,17]; xdist=1; xwt=1.6; xir=2; hh=2; $fn=50; module qcircle(ir,or) { intersection() { square(or); difference() { circle(or); circle(ir); } } } module qedge(ir,or,l) { linear_extrude(l) qcircle(ir,or); } module qcorner(ir,or) { mirror([0,0,1]) rotate_extrude(angle=90)qcircle(ir,or);...
glb/cad_0916605440b4.glb
Create a hose shroud consisting of a semi-cylindrical shell. Start with a base cylinder that has an inner diameter of 17mm and a wall thickness of 3mm, extending to a height of 15mm. Above this base, add a conical section that transitions from the base diameter of 23mm to a top diameter of 53mm over a height of 15mm. ...
shroud(); module shroud( id = 17, bottom_height = 15, top_height = 15, wall = 3 ) { $fn = $preview ? 16 : 100; diam = id + 2 * wall; total_height = bottom_height + top_height; cup_diam = diam + 2*top_height; difference() { union() { translate(bottom_height * [0,0,1]) cylinder(d1=diam, d2=cup_diam,...
glb/cad_072f3492460c.glb
Create a 12v Powerpole to USB Converter case starting with a solid rectangular block measuring 70mm in length, 50mm in width, and 30mm in height. Hollow out the center by removing a block of 64mm by 44mm by 27mm, starting from a depth of 3mm from the bottom. On the bottom face, create two circular holes with a diamete...
$fn = 50; box(); module top() { difference() { cube([70, 50, 3]); translate([5.5, 5.5, 0]) cylinder(h=3, d=3.5); translate([5.5, 44.5, 0]) cylinder(h=3, d=3.5); translate([64.5, 5.5, 0]) cylinder(h=3, d=3.5); translate([64.5, 44.5, 0]) cylinder(h=3, d=3.5); } trans...
glb/cad_c67ffe6e3036.glb
Create a miniature traffic light consisting of four main components: a faceplate, a main body, a support post, and a base. First, create the main body as an oblong box with a height of 5mm, a length of 8mm, and a width of 7mm, featuring rounded ends. Hollow out the center of this body with a cavity measuring 10mm by 8...
disassembled=1; if (disassembled == 1) { translate([0,10,0]) face(); body(); post(); translate([-20,20,0]) rotate([0,0,0]) foot(); } else{ translate([0,0,4]) face(); body(); post(); translate([-40,0,1.5]) rotate([0,90,0]) foot(); } module face(){ diffe...
glb/cad_9af2cc16a5ab.glb
Create a wall hook for embroidery hoops. Start with a main rectangular body measuring 55mm in width, 30mm in depth, and 40mm in height. Carve two identical vertical slots into the body to hold the hoops. Each slot consists of a central rectangular void 7mm wide and 22mm deep, with a 14mm wide opening at the front fac...
clearance = 0.2; hole_1_offset = 3; hole_2_offset = 27; fix_1_offset = -4; fix_2_offset = 24; fix_3_offset = 50; difference(){ union(){ translate([-9, 1, 0]) cube([64, 30, 40]); } union(){ translate([(4 - clearance / 2) + hole_1_offset, 0, -20]) cube([7+ clearance, 22 + cle...
glb/cad_6b6ee0762cce.glb
Create a Brother Innovis hoops hook designed as a wall-mounted organizer. Start with a main rectangular body measuring 165mm in width, 30mm in depth, and 40mm in height. Along the front face, create six identical equidistant slots to hold embroidery hoops. Each slot is composed of a central rectangular cutout 7mm wid...
clearance = 0.2; hole_1_offset = 0; hole_2_offset = 27; hole_3_offset = 54; hole_4_offset = 81; hole_5_offset = 108; hole_6_offset = 135; fix_1_offset = 22; fix_2_offset = 80; fix_3_offset = 130; difference(){ union(){ translate([-5, 1, 0]) cube([165, 30, 40]); } union(){ t...
glb/cad_99c4758c2273.glb
Create a filament runout sensor mount. Start with a main rectangular block measuring 8mm wide, 27mm long, and 30mm high, featuring rounded corners with a 2mm radius. Carve out a central cavity for the microswitch measuring 9mm wide, 11mm long, and 21mm deep. At the top of the block, create a vertical hole with a 2mm ...
$fn=36; module rcube(v,cornerr=2) { cr = max(0.1,min(v[0]/2,v[1]/2,cornerr)); translate([cr,cr,0]) hull() { translate([0,0,0]) cylinder(r=cr,h=v[2]); translate([0,v[1]-cr*2,0]) cylinder(r=cr,h=v[2]); translate([v[0]-cr*2,0,0]) cylinder(r=cr,h=v[2]); translate([v[0]-cr*2,v[1]-cr*2,0]) ...
glb/cad_0842f2c93832.glb
Create a sundial bracelet consisting of a central dial and connecting links. Start by creating a circular dial with a diameter of 40mm and a thickness of 0.5mm. On the top surface of this dial, extrude the Roman numerals "XII" at the top, "III" on the right, and "IX" on the left, each with a height of 0.5mm. Add a cent...
include <data.scad> x1 = 39; x = x1 + 6; y = 28; snap_x = 7.3; snap_y_shift = 2.5; snap_y = y - (2*snap_y_shift); rhop = z/2 - 0.6; lhop = 2*rhop; ziffernblatt_d = 40; ziffernblatt_dk = 40 - mr2; zz = z + 2 - mr2; zh = 0.5; zeiger_gelenk_x_pos = snap_x + 3 ; module line(le, w) { x=0.75; translate([0,ziffe...
glb/cad_02f5b236f186.glb
Create a portable game case for Nintendo Switch cartridges consisting of two symmetrical halves joined by a hinge. Each half is a rectangular block with rounded edges and a thickness of 6.5mm. On the interior of each half, create a grid of game cartridge slots. For a 3x3 configuration, arrange the slots in three rows ...
slots_wide = 3; slots_tall = 3; module lid(x, y, z) { z2 = 2 * z / (2 + sqrt(2)); intersection() { translate([0, 0, 0]) difference() { minkowski() { $fn=4; translate([0, 0, 0]) cube([x - z2 * 2, y, z]); union() { translate(...
glb/cad_74595610eebc.glb
Create a Game Boy cartridge tray by constructing a solid rectangular base with a width of 117.1mm, a height of 20mm, and a depth of 71.3mm. Carve out a grid of 16 slots arranged in 2 columns of 8. Each slot is designed to hold a cartridge with a width of 57.5mm and a depth of 8mm. Tilt these slots backward at an angl...
slots_deep = 8; slots_wide = 2; slot_lean = 22.5; thumb_slot_radius = 5; thumb_slot_width = 25; wall_thickness = 1.6; wall_height = 20; module cartbase() { difference() { cube([cart_width, cart_depth, 50]); rotate([0, 0, 45]) { translate([0, 0, 25]) cube([2, 2, 50], center=true); ...
glb/cad_0a4e3e029978.glb
Create a 100mm tall 3D model of a 1515 extrusion profile. The base shape is a 15mm by 15mm square with rounded corners of 0.25mm radius. On each of the four faces, create a central T-slot. This slot consists of a rectangular channel 3mm wide and 5mm deep, with a wider opening of 5.7mm across the face. The interior of...
linear_extrude(height = 100) makerbeam_xl_1515(true, false, 0.3, 0.15, 0.1); module makerbeam_xl_1515(center_hole = true, corner_holes = true, hole_tolerance = 0.0, slot_tolerance = 0.0, face_inset = 0.0) { $fn = 64...
glb/cad_724b84666dfa.glb
Create a wall mount for a smart pixel clock. Start with a rectangular base plate measuring 207mm wide, 50mm deep, and 3mm thick. At the back of this plate, create two vertical support walls, each 3mm thick. Position one wall on the left and one on the right, each extending 40mm high from the base. The left wall starts ...
difference() { union() { difference() { cube([207,50,3]); translate([16.2,4,2.2]) cube([6,25.4,1.4]); translate([184.8,4,2.2]) cube([6,25.4,1.4]); } difference() { union() { translate([4,50,...
glb/cad_c23cfa6f1d0f.glb
Create a snowboard ratchet strap consisting of a toothed flexible band and a mounting tab. Start with a rectangular strap 150mm long, 23.75mm wide, and 4.25mm thick. Along the top surface of this strap, create a series of teeth every 5mm. Each tooth should be a rectangular protrusion with a height of 1.75mm and a width...
$fs=.5; $fa=1; strapT=4.25; notchDepth=2.5; toothH=strapT-notchDepth; toothW=5; strapW=23.75; toothL=150; endW=20; endL=10; screwOffset=25; tabR=26.46/2; tabH=6; washerT=1.9; washerR=19.4/2; holeR=11/2; module tooth(){ hull(){ translate([toothW,0,0]) cube([.01,strapW,notchDepth]); cube([.01,strapW,strapT...
glb/cad_35559558d259.glb
Create a camera mount for a Raspberry Pi Zero. Start with a rectangular base measuring 95mm by 52.5mm with a thickness of 2mm. From this base, remove a large central section and two angled corner cutouts to create a specific footprint: one cutout is a 60mm by 30mm block rotated 45 degrees, and the other is a 90mm by 60...
module z_bottom_base(){ translate([0,-5,0]) cube([95,52.5,2]); } module z_bottom_fancy(){ translate([0.5,-2.5,0]) rotate([0,0,-45-180]) translate([-15,0,-1]) cube([60,30,51]); translate([50-2.5,-5+2.5,0]) rotate([0,0,-45-90]) translate([-35,0,-1]) cube([90,60,51]); translate([72,-8,-1]) cube([30,30,51...
glb/cad_adcf3a28dfca.glb
Create a foldable rag drying rack consisting of a main mounting beam and a connector beam. First, construct the main beam as a flat rectangular plate with a thickness of 3mm and a width of 20mm. Along the length of this beam, place five cylindrical mounting points spaced 45mm apart. Each mounting point should feature...
no_rags=5; tube_d=5; spacing=30*1.5; beam_w=20; beam_th=3; joint_cl=0.2; mount_l=90; $fn=50; main_beam(); rotate([0,0,0])color("red")mount_beam(); translate([mount_l,180,0])rotate([0,0,-180])color("blue")connector_beam(); module main_beam(){ translate([0,0,beam_th])difference(){ union(){ hull(){ ...
glb/cad_a45b3d79584e.glb
Create a Tertial GoPro connector by combining a triple-style GoPro mount with a tapered square base. Start with a standard triple GoPro connector rotated 270 degrees on the X-axis. Attach a square-based pyramid frustum to the bottom, with a height of 19mm, a bottom face width of 25mm, and a top face width of 21mm, usin...
include <../libs/hardware-recess.scad>; use <../libs/gopro_mounts_mooncactus.scad>; conn_h = 19; difference(){ union(){ rotate([270, 0, 0])gopro_connector("triple"); translate([0,0, -10 - conn_h])rotate([0,0, 45])cylinder(h=conn_h, d1=25, d2=21, $fn=4); } translate([0,0, -17]){ bo...
glb/cad_2be2a0d5398d.glb
Create a Tertial GoPro connector consisting of a primary mounting head, an extension rod, and a secondary clamping head. First, construct the primary head as a triple-arm GoPro connector. This is a small block with a central vertical hole of 5.5mm and three protruding arms. The top and bottom arms are symmetrical, whi...
gopro_primary="triple"; gopro_secondary_what="clamp"; gopro_secondary_rotated=1; gopro_ext_len=40; gopro_ext_th=3; gopro_captive_rod_id= 3.8; gopro_captive_rod_angle= 45; gopro_rod_nut_th= 3.6; gopro_rod_nut_od= 8.05; gopro_captive_protruding_h= 0.5; gopro_bar_rod_d= 24; gopro_bar_th= 3.2; gopro_bar_gap= 2....
glb/cad_1c18f89599b0.glb
Create a SodaStream Glass Carafe Bottle Stand consisting of interlocking plates and rings. The structure is designed to hold a 2x1 grid of bottles. First, create two identical vertical divider plates. Each plate is a flat rectangular slab 2mm thick. In each plate, cut out two symmetrical bottle-shaped voids. Each void...
$fa=1; $fs=0.2; rows=1; cols=2; th=2; tol=1; gap=th+tol; preview=$preview; module bottlecut() for (i=[0,1]) mirror([i,0]) difference() { intersection() { translate([95/2-250, 90+th]) circle(r=250); square(90); } translate([0,11+th-40]) circle(r=39); square([80,th]); } module card(n, ...
glb/cad_d3aae746cc50.glb
Create a Bowden Tube to Cable Harness Clip with a height of 5mm. The main body consists of a large outer ring with an outer diameter of 18.4mm and an inner diameter of 16mm, forming a wall thickness of 1.2mm. This ring is not a full circle; it has a rectangular gap cut out of its side to allow it to snap onto a cable h...
$fn=100*1.0; difference() { difference() { cylinder(r1=3.2, r2=3.2, h=5, center=false); cylinder(r1=2, r2=2, h=5, center=false); } color([0,0.2,0]) { translate([(Bowdencut / -2), 1, 0]){ cube([Bowdencut, (Bowdencut * 2), 5], center=false); } } } Cablecut = 9; Bowdencut = 3; difference(...
glb/cad_2058d47593d4.glb
Create a sewing machine spool adapter consisting of a wide circular base and a vertical cylindrical tower with a central hole. Start by creating a flat circular base with a diameter of 45mm and a height of 3mm. Centered on this base, add a vertical cylinder with a diameter of 15mm and a height of 71mm. Finally, remove ...
$fn=60; difference() { union(){ cylinder(h=3, d=45); cylinder(h=71, d=15); } translate([0,0,-3]){ cylinder (h=88, d=7);} }
glb/cad_95d653b1ef32.glb
Create a Contoured Tesla Funnel rotor. Start with a main cylindrical body 150mm in diameter and 15mm high. At the center, create a circular cutout with a diameter of 68mm. Construct a central axle support hub with an outer diameter of 16mm and an inner hole of 8.25mm, with a height of 5mm. Radiating from this hub, add...
rd=150; rh=15; rhd = 68; axsd = 16; axsh = 5; axid = 8.25; sh = 2; sw = 2; ww = 0.5; strut_count = 6; flow_guide_count = 12; flow_curve_angle = 120; curveXdist = (rd - rhd) / 2; curveYdist = rh; axd = axid; function pCurve(t, g, x, y, offsetX = 0, offsetY = 0) = let(a = g/2, py = (x - a)^2, m = y / py) ...
glb/cad_fdac4b33e554.glb
Create a slides mounting adapter starting with a rectangular base block measuring 39mm wide, 45mm long, and 11mm thick. At the center of the bottom face, add a small cylindrical protrusion with a diameter of 5mm and a height of 5mm. On the top face of the block, create a series of cutouts. First, drill a circular hole ...
$fn = 128; nipple_dia = 5; nipple_len = 5; hole_dia = 4.4; glider_width = 35; thickness = 11; wall = 2; base=[glider_width + 2 * wall, 45, thickness]; difference() { union() { cube(base); translate([0, 0, base.z]) cube([2, base.y, 5]); translate([base.x - wall, 0, base.z]) cube([2, base.y, 5]); tran...
glb/cad_15c2d32f0119.glb
Create a project box for a window sensor consisting of a main body and a separate lid. The main body is a long rectangular enclosure with rounded ends. Create a hull from four cylinders with a diameter of 3mm, positioned at the corners of a 157mm by 19mm rectangle, and extend the height to 15.5mm. Hollow out the inte...
width=22; translate([0,30,30])lid(); body(); translate([9.5,7.25,8.25])%aa(); translate([59.5,7.25,8.25])%aa(); module lid(){ difference(){ union(){ hull(){ translate([157,width-3,0])cylinder(1.1,d=3,$fn=20); translate([157,0,0])cylinder(1.1,d=3,$fn=20); ...
glb/cad_2b75f2e1b3d2.glb
Create a rectangular project box for a window sensor and two AA batteries. The main body is a long, slim enclosure with a total length of 157mm, a width of 19mm (width minus 3mm from a 22mm base), and a height of 25mm. The ends of the body are rounded with a radius of 15.5mm. Inside the body, create a cylindrical cavi...
width=22; translate([0,30,30])lid(); translate([9.5,7.25,8.25])%aa(); translate([59.5,7.25,8.25])%aa(); module lid(){ difference(){ union(){ translate([0.1,0.1,-2])cube([157-.2,width-3-.2,2]); } translate([4,7.25,-7.2])rotate([0,90,0])cylinder(107,d=14.5,$fn=100); #t...
glb/cad_b08e42034c53.glb
Create a simple laptop stand by starting with a base shape formed from a sphere scaled to 52mm in width, 200mm in length, and 80mm in height. Carve out a central rectangular slot to accommodate a laptop, ensuring the slot is 18mm wide and runs the full 200mm length of the stand. Remove the front and back sections of th...
$fn=100; $laptopThickness=18; difference(){ scale([52.0,200.0,80.0]) sphere(d=1.0); translate([-50, 55, -50]) cube([100, 100, 100]); translate([-50, -155, -50]) cube([100, 100, 100]); translate([-100, -100, -100]) cube([200, 200, 100]); translate([-$laptopThickness/2, -110, 5]) cube([$laptopThickness, 200, 10...
glb/cad_cc4ada0a9005.glb
Create a Toilet-Bolt Cover consisting of a hollow, elongated hemispherical shell with a flat base. The outer shell is derived from a sphere scaled to 38.1mm in height and 38.1mm in width, with a concentric inner void scaled to 20.625mm in height and 20.625mm in width. Remove the top half of this shape and flatten the b...
$fn=120; in=25.4; outer = 3*in/2; inner = 11*in/8; nutD = 19*in/32; nutH = 7.5; difference(){ scale([1,1,1.5])sphere(outer/2); scale([1,1,1.5])sphere(inner/2); translate([-3*in/4,-3*in/4,0]) cube([3*in/2,3*in/2,2*in]); translate([-3*in/4,-3*in/4,-23*in/8]) cube([3*in/2,3*in/2,2*in]); } translate([0,0...
glb/cad_fea92f5917f9.glb
Create an Amateur Radio RF Adapter Storage insert consisting of two identical rectangular blocks placed side-by-side. Each block has a base footprint of 172mm by 51mm and a height of 18mm. The main body of each block is a solid with rounded corners (radius 6mm) and a flat top. The top surface is modified by removing ...
$fn = 150; blockAx2(); module binx4() { bin(); translate([26, 0, 0]) bin(); translate([0, 47, 0]) bin(); translate([26, 47, 0]) bin(); } module bin() { width = 24; length = 45; height = 42; rounds = 10; thickness = 1; difference() { translate([rounds/2, rounds/2, roun...
glb/cad_4a824807276e.glb
Create a horizontal hanging spool holder block. Start with a square base measuring 50.2mm by 50.2mm with a total height of 16.5mm and rounded corners with a 2mm radius. In the center of the block, create a large circular cutout with a diameter of 40.21mm that extends from the top surface down to a depth of 14.5mm, le...
use <MCAD/boxes.scad> layerHeight = 0.4; extrusionWidth = 0.68; grani = 24; bearingDia = 40.2; wallThickness = 5; squareSide = bearingDia+wallThickness*2; bottomThickness = 2; screwTotalLength = 31.2; bWidth = squareSide; bLength = squareSide; bDepth = 14.5+bottomThickness; zazor = 0.3; difference() { translate([...
glb/cad_88eba17830ea.glb
Create a Klick Fix Halter Holder by starting with a rectangular base plate 84mm wide, 10mm thick, and 41mm high. From this base, remove a large central circular section to create a cutout, leaving a remaining central void with a radius of 17.5mm. Add two vertical support pillars, each 9mm wide and 18mm deep, position...
$fn = 50; width = 84; middle_height = 35; top_height = 6; height = middle_height + top_height; difference(){ union(){ difference(){ translate([0,0,-10]) cube([width,10,height+10]); translate([width/2, -598, -10]) cylinder(h=height+10, r=600, $fn=150); ...
glb/cad_b58edf6d38b5.glb
Create a Tapo C310 Webcam standard consisting of a base and a platform. For the base, create a rectangular plate 80mm wide by 130mm long and 5mm thick, with rounded corners of 1mm radius. Centered on this plate, add a cylindrical socket with an outer diameter of 40mm and a height of 40mm; this socket must have a concen...
$fn = $preview ? 80 : 200; Platform=1; Base=1; if(Platform) { difference() { cylinder(d=40,h=35); translate([0,0,20])rotate([35,0,0])cylinder(d=74,h=45); } translate([0,0,20])rotate([35,0,0])difference() { cylinder(d=74,h=5); translate([25,15,-1]) cylinder(d=3.6,h=10); translate([-25,15,-1]) cylinder(d=...
glb/cad_75fb2e9df6e7.glb
Create a project box for a window sensor consisting of a main body and a separate lid. For the body, create a rectangular base with rounded corners. The outer dimensions are 107mm in length, 19mm in width, and 25mm in height. The corners are rounded using a radius of 15.5mm. Hollow out the interior to create a cavity...
translate([0,30,30])lid(); body(); translate([9.5,7.25,8.25])%aa(); module lid(){ difference(){ union(){ hull(){ translate([107,22-3,0])cylinder(1.1,d=3,$fn=20); translate([107,0,0])cylinder(1.1,d=3,$fn=20); translate([0,22-3,0])cylinder(1.1,d=3,...
glb/cad_b778c291485a.glb
Create a hollow Fudge dice cube with an overall outer dimension of 12mm. Start by constructing a cube with 12mm sides and rounded corners with a radius of 1.5mm. To create the symbols, carve three intersecting channels through the center of the cube. Each channel should be formed by the hull of two cylinders with a rad...
module fate_dice(size, $fn=64) { x = size/16; difference() { minkowski() { cube([12*x,12*x,12*x],center=true); sphere(2*x); } rotate([0, 0, 0]) hull() { translate([-3*x,0,0]) cylinder(h=17*x,r=x,center=true); translate([ 3*x,0,0]) cylinder(h=17*x,r=x,center=true); } rotate([0, 0,90]) hul...
glb/cad_f4b683e336a0.glb
Create a Hexagonal Idiot Stick by starting with a hexagonal prism that is 90mm long and 6.5mm wide. The prism should have rounded edges with a radius of 0.5mm. Center a longitudinal hole with a diameter of 2.5mm through the entire length of the prism. On the top face of the prism, emboss the text "IDIOT STICK" using a ...
$fn = 64; length = 90; width = 6.5; hole = 2.5; r = 0.5; _text_ = true; difference() { R = width/2 - r; L = length - 2*r; union() { minkowski() { translate([r,0,0]) rotate([0,90,0]) linear_extrude(L) polygon([for (i=[0:5]) [R*sin(60*i), R*cos(60*i)]]); ...
glb/cad_490d3b6b8bdd.glb