Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a portable sharps needle container consisting of a main body and a separate screw-on cap.
Construct the main body as a cylinder with a diameter of 31.5mm and a height of 128mm, topped with a hemispherical dome of the same diameter. The body is hollowed out by removing a central cylinder with a diameter of 29mm... | use <BOSL2/std.scad>;
use <BOSL2/rounding.scad>;
use <threads-scad/threads.scad>;
use <text_on/text_on.scad>;
difference(){
union(){
cylinder(128,d=31.5,$fn=60);
translate([0,0,128])
sphere(d=31.5,$fn=60);
ScrewThread(32.5, 10, pitch=0, tooth_angle=30, tolerance=0.4, tip_height=0, tooth_height=0, tip_min_fract=0);
}
u... | glb/cad_d69e402c7222.glb |
Create a camera lens filter holder consisting of a main cylindrical body and a matching pop-over lid. For the main body, create a cylinder with an external radius of 36mm and a total height of 14mm. Hollow out the center to create a cavity with a diameter of 68mm and a depth of 12mm, leaving a 2mm thick floor at the ba... | internal_diameter = 68;
cylinder_height = 14;
wall_thickness = 2;
floor_thickness = 2;
lid_thickness = 3;
lid_floor_thickness = 2;
gap_between_cylinder_and_lid = 10;
lip_thickness = 2;
lip_height = 2;
internal_radius = internal_diameter / 2;
external_radius = internal_radius + wall_thickness;
module cylinder_body() {... | glb/cad_834cf1c88fda.glb |
Create a base plate as a flat rectangular slab with dimensions 95mm by 95mm and a thickness of 2mm.
On this base, construct a square tower with a footprint of 30mm by 30mm and a height of 50mm. The tower should have external fillets with a radius of 10mm on its vertical edges and a concave internal fillet of 10mm rad... | $fn=100;
module profile(radius)
{
difference()
{
square(radius);
circle(r=radius);
}
}
module ring_fillet(ring_radius,profile_radius,profile_angle)
{
translate([0,0,profile_radius])rotate_extrude(convexity=10)translate([ring_radius,0,0])rotate([0,0,profile_angle])profile(profile_radius);
}
module line... | glb/cad_475712b1244f.glb |
Create a Planted Back Wall for a Dennerle Nanocube 10l. Start by creating a solid rectangular block with a width of 180mm, a height of 240mm, and a depth of 32mm. From this main volume, remove four identical rectangular sections to create open slots. Each of these four cutout sections must measure 176mm in width and 57... | Breite=180;
Hoehe=240;
Tiefe=32;
difference(){
cube([Breite, Hoehe, Tiefe]);
translate([2,2,2])
cube([Breite-4, 57.5, Tiefe-2]);
translate([2,61.5,2])
cube([Breite-4, 57.5, Tiefe-2]);
translate([2,121,2])
cube([Breite-4, 57.5, Tiefe-2]);
translate([2,180.5,2])
cube([Breite-4, 57.5, Tiefe-2]);
translate([2,0,Tiefe-4.2... | glb/cad_05a5419fc99d.glb |
Create a thin rectangular plate for a Planted Back Wall. The plate should have a width of 175mm, a depth of 240mm, and a thickness of 2mm. | cube([175, 240, 2]); | glb/cad_9f767f6c9beb.glb |
Create a double-ended custom wrench with a total height of 4mm. The tool consists of a central rectangular handle 40mm long and 10mm wide, connecting two circular wrench ends.
For the first end, create a ring with an outer diameter of 24mm and an inner diameter of 20mm. Inside this ring, add 20 teeth. Each tooth shoul... | diameterA = 20;
toothCountA = 20;
toothHeightA = 1;
toothWidthBottomA = 1;
toothWidthTopA = 0;
toothCurveA = true;
ringThicknessA = 2;
diameterB = 20;
toothCountB = 20;
toothHeightB = 1;
toothWidthBottomB = 1;
toothWidthTopB = 0;
toothCurveB = true;
ringThicknessB = 2;
wrenchHeight = 4;
handleLength = 40... | glb/cad_736cc4e213ee.glb |
Create a Toroid Winding Spindle starting with a rectangular base measuring 80mm by 50mm with a height of 10mm. Drill two vertical holes through this base, each with a radius of 1.6mm, positioned at coordinates (10, 25) and (70, 25). Centered on the base at (40, 40), add a vertical cylinder with a radius of 9mm and a he... | $fn=100;
difference() {
translate ([40,40,30] ) {
cylinder(h=75, r1=9, r2=1.5);
}
translate([40,50,20]) {
rotate([5.7,0,0]) {
cylinder(h=100, r1=1.5, r2=.5);
}
}
}
translate([40,40,10])
cylinder(h=20, r=9);
difference() {
translate([0,0,0])
cube([80,50,10]);
translate([... | glb/cad_2feb37cad77c.glb |
Create a Christmas tree cookie cutter with a total height of 16.5mm. The main body consists of a vertical wall following the silhouette of a stylized evergreen tree, with a total scale of 80mm.
The wall should have a thickness varying between 1.2mm and 3mm. The tree shape is defined by a series of tiered, jagged hori... | wallFlareWidth = 4;
wallFlareThickness = 1.5;
wallHeight = 15 + wallFlareThickness;
minWallWidth = 1.2;
maxWallWidth = 3;
featureHeight = wallHeight - 3;
minFeatureThickness = 0.8;
maxFeatureThickness = 3;
insideWallFlareWidth = 2;
insideWallFlareThickness = 1.5;
minInsideWallWidth = 1;
maxInsideWallWidth = 3;
conn... | glb/cad_f8da88d45969.glb |
Create a towel hook with a uniform height of 15mm. The main body is a C-shaped clip formed by two concentric cylinders: an outer cylinder with a radius of 14.5mm and an inner cylinder with a radius of 10.5mm. This creates a wall thickness of 4mm. The clip is not a full circle; it is a partial arc spanning 230 degrees, ... | hook_width = 15;
hook_thickness = 4;
hook_inner_diameter = 21;
hook_inner_radius = hook_inner_diameter * 0.5;
hook_outer_radius = hook_inner_radius + hook_thickness;
module hook_main() {
difference()
{
union()
{
cylinder(hook_width, hook_outer_radius, hook_outer_radius, $fa=2);
... | glb/cad_48e9fc08a233.glb |
Create a paint palette consisting of a grid of six tapered wells arranged in two rows of three. First, construct the overall outer body by creating a convex hull that encompasses six cylinders, each with a diameter of 35mm and a height of 7mm. These cylinders should be positioned in a 3x2 grid with a center-to-center s... | outerDiameter = 35;
topInnerDiameter = 30;
buttomInnerDiameter = 20;
height = 7;
cupDepth = 2;
numCols = 3;
numRows = 2;
overlap = 2.5;
$fn=50;
module baseCylinder()
{
cylinder(h=height, d=outerDiameter);
}
module well()
{
translate([0,0,cupDepth])
cylinder(h = (height-cupDepth+.05),
d1 = buttomInnerDi... | glb/cad_361c1b21f7a4.glb |
Create a Bambu P1S Poop Chute bin. The main body is a rectangular container with a width of 80mm, a depth of 40mm, and a total height of 190mm (comprising a 130mm bin height and a 60mm backstop). The walls are 1.6mm thick. The bottom corners of the bin have an outer radius of 3.1mm and an inner radius of 2.4mm.
The bi... | $fn=128;
radius_magnets=3.0;
thickness_magnets=3.0;
offset_magnets=0.15;
width_between_magnet_centers=60.0;
height_between_magnet_centers=45.0;
height_from_lip_magnets=3.0;
count_magnets_X=2;
count_magnets_Z=3;
depth_lip=2.0;
offset_lip=0.0;
height_bin=130.0;
height_backstop=60.0;
depth_backstop=20.0;
wid... | glb/cad_5e9a87062214.glb |
Create a stackable storage box with a width of 140mm, depth of 80mm, and height of 50mm. The box should have rounded corners with a radius of 5mm and a uniform wall thickness of 3mm.
The base of the box is solid, with a thickness of 7.5mm (wall thickness plus a 4.5mm stacking lip). The interior is hollowed out, leavi... | wallthickness = 3;
box_height = 50;
box_width = 140;
box_depth = 80;
box_radius = 5;
slot_width = 5.5;
slot_angle = 15;
slot_height = box_height * .75;
stacking_lip_height = wallthickness * 1.5;
base_thickness = wallthickness + stacking_lip_height;
stacking_lip_width = wallthickness + 0.2;
$fn = 100;
use <HexGrid.s... | glb/cad_aa4c562d2261.glb |
Create a hexagonal grid plate with a solid outer frame. Start with a solid rectangular base measuring 110mm in width, 61.8mm in height, and 5mm in thickness.
To create the frame, remove a central rectangular section measuring 100mm by 51.8mm, leaving a border of 5mm on all sides. Within this remaining central area, c... | Hex_Width=100;
Hex_Height=61.8;
Hex_Rad=6;
Hex_Sep=1.5;
Hex_Thick=5;
Frame_X=5;
Frame_Y=5;
HexGrid(
HexWidth=Hex_Width,
HexHeight=Hex_Height,
HexRad=Hex_Rad,
HexSep=Hex_Sep,
HexThick=Hex_Thick,
FrameX=Frame_X,
FrameY=Frame_Y);
module HexGrid(HexWidth,HexHeight,HexRad,HexSep,HexThick,FrameX,FrameY){
HexRatio=... | glb/cad_c249cb3b8539.glb |
Create a stackable storage box with a height of 500mm, width of 140mm, and depth of 80mm. The box should have a wall thickness of 3mm and rounded corners with a radius of 5mm. Hollow out the interior, leaving a base thickness of 3mm.
On the exterior walls, create a series of angled slots for stacking. Each slot should... | wallthickness = 3;
box_height = 500;
box_width = 140;
box_depth = 80;
box_radius = 5;
slot_width = 5.5;
slot_angle = 15;
slot_height = box_height * .75;
stacking_lip_height = 0 ;
$fn = 100;
stacking_lip_width = wallthickness + 0.2;
base_thickness = wallthickness + stacking_lip_height;
slot_opposite = slot_height * ... | glb/cad_a042a3b41307.glb |
Create a stackable storage box with a depth of 80mm, width of 140mm, and height of 50mm. The box should have a wall thickness of 3mm and rounded corners with a radius of 5mm.
The base is a solid slab with a thickness of 7.5mm (the sum of the wall thickness and a 4.5mm stacking lip). The interior is hollowed out, leav... | wallthickness = 3;
box_height = 50;
box_width = 140;
box_depth = 80;
box_radius = 5;
slot_width = 5.5;
slot_angle = 15;
slot_height = box_height * .75;
stacking_lip_height = wallthickness * 1.5;
random_seed1 = undef;
random_seed2 = undef;
random_seed3 = undef;
random_seed4 = undef;
base_thickness = wallthickness +... | glb/cad_27b11ceb09b1.glb |
Create a stackable storage box with a depth of 80mm, width of 140mm, and height of 50mm. The box should have rounded corners with a radius of 5mm and a uniform wall thickness of 3mm.
Construct the main body as a hollow shell. The base thickness should be 4.5mm (the sum of the wall thickness and a 1.5mm stacking lip). ... | wallthickness = 3;
box_height = 50;
box_width = 140;
box_depth = 80;
box_radius = 5;
slot_width = 5.5;
slot_angle = 15;
slot_height = box_height * .75;
stacking_lip_height = wallthickness * 1.5;
base_thickness = wallthickness + stacking_lip_height;
stacking_lip_width = wallthickness + 0.2;
$fn = 100;
include <hexpa... | glb/cad_5dbd0c74316b.glb |
Create a broom stick screw adaptor consisting of three stacked coaxial sections. Start with a base insert shaft that is 20mm in diameter and 27mm tall, featuring a 3mm conical chamfer at the bottom that tapers from 19mm to 20mm. Directly on top of this base, add a cylindrical spacer with a diameter of 21.2mm and a heig... | include <helix_extrude.scad>
$fn = 80;
broom_hole_dia = 20;
broom_dia = 21.2;
insert_depth = 30;
spacer_height = 3;
threaded_shaft_dia = 15.3;
threaded_shaft_length =22;
insert_shaft();
translate([0, 0, insert_depth]) {
spacer();
}
translate([0, 0, insert_depth + spacer_height]) {
threaded_shaft();
}
modu... | glb/cad_7e97ca476a48.glb |
Create an Ammann-Beenker aperiodic tiling consisting of two separate flat plates, each with a thickness of 1mm. The design is formed by a network of interconnected lines with a uniform width of 1mm.
The first plate is a square with a side length of 150mm. The second plate is a larger, roughly octagonal shape. Both pl... | N = 3;
S = 50;
H = 1;
W = 1;
K = 1/sqrt(2);
SQUARE = [[[0,0],[1,0],[1,1]], [[0,0],[0,1],[1,1]]]*S;
OCTAGON = [[[0,0],[1,0],[K+1,-K],[K,-K]],
[[0,0],[1,0],[K+1, K],[K, K]],
[[0,0],[0,1],[K, K+1],[K, K]],
[[1+2*K,0],[1+2*K,1],[1+K,1+K],[1+K,K]],
[[1+2*K,0],[1+K, K],[1... | glb/cad_2f8d24daf8a7.glb |
Create an Armchair Tiling model by constructing a network of interconnected lines with a constant thickness of 1mm and a total height of 1mm. The pattern is formed by a recursive series of connected line segments that create a geometric, maze-like aperiodic tiling.
The geometry is based on a base length of 100mm. Eac... | S = 100;
H = 1;
W = 1;
N = 3;
C = [[[0,2],[0,0],[3,0]], [[4,0],[4,2],[1,2]]]*S/4;
ARMCHAIR(N, C, H, W);
module ARMCHAIR(N, C, H, W, CLIP=false, $fn=4) {
linear_extrude(H) intersection() {
if (CLIP) union() for (c=C) {
o = c[1]; v = (c[0]-o)/2; w = (c[2]-o)/3;
polygon([o,... | glb/cad_f2cef8e600fd.glb |
Create a TriHex tiling pattern extruded to a height of 1mm. The design is composed of a recursive network of connected lines with a uniform width of 1mm. The geometry is formed by connecting the vertices of a series of nested triangles and hexagons.
Start with a base set of points defined by a base length of 100mm, a... | S = 100;
H = 1;
W = 1;
N = 3;
K = sqrt(3)/2;
T = [ for (i=[0:60:300]) each
[[[0,0],[cos(i+30),sin(i+30)]*K,[cos(i),sin(i)]],
[[0,0],[cos(i-30),sin(i-30)]*K,[cos(i),sin(i)]]]]*S*K;
TRIHEX(N, T, H, W);
module TRIHEX(N, T, H, W, CLIP=false, $fn=12) {
linear_extrude(H) intersection() {
... | glb/cad_16f70e624c84.glb |
Create a 3D model of a Chair Tiling pattern extruded to a height of 1mm. The design is based on a recursive aperiodic tiling of "chair" shapes. Start with a base length of 33mm and a line width of 1mm.
The geometry consists of a network of connected lines formed by the hulls of circles with a 1mm diameter. Each recur... | S = 33;
H = 1;
W = 1;
N = 4;
C = [[[0,2],[0,0],[2,0]], [[3,0],[3,2],[1,2]]]*S;
CHAIR(N, C, H, W);
module CHAIR(N, C, H, W, CLIP=false, $fn=4) {
linear_extrude(H) intersection() {
if (CLIP) union() for (c=C) {
o = c[1]; v = (c[0]-o)/2; w = (c[2]-o)/2;
polygon([o,o+2*w,o+... | glb/cad_7aedb9679a0f.glb |
Create a Domino Tiling model consisting of a flat plate with a height of 1mm. The design is based on a recursive geometric pattern of interconnected lines with a uniform width of 1mm.
The pattern is formed by a series of rounded, capsule-like segments. Each segment is created by taking two points and connecting them ... | S = 100;
H = 1;
W = 1;
N = 4;
D = [[[0,1],[0,0],[2,0],[2,1]]]*S/2;
DOMINO(N, D, H, W);
translate([0,S]) for (n=[0:N-1]) DOMINO(n, D, H, N-n);
module DOMINO(N, D, H, W, CLIP=false, $fn=4) {
linear_extrude(H) intersection() {
if (CLIP) union() for (d=D) { polygon(d); }
for (d=domino(N,D))... | glb/cad_e44b83552b67.glb |
Create a House Tiling model by generating a recursive pattern of golden triangles extruded to a height of 1mm. The design is based on a base length of 100mm. Construct the pattern using a recursive subdivision of golden triangles, where each iteration replaces a larger triangle with smaller ones according to the golden... | S = 100;
H = 1;
W = 1;
N = 12;
K = sqrt((1+sqrt(5))/2);
T = [[[0,1],[0,0],[K,0]], [[K,0],[K,1],[0,1]]]*S/K;
GOLDEN_TRIANGLE(N, T, H, W);
module GOLDEN_TRIANGLE(N, T, H, W, CLIP=false, $fn=8) {
linear_extrude(H) intersection() {
if (CLIP) union() for (t=T) { polygon(t); }
for (t=golden_tr... | glb/cad_7fe02ec77b9b.glb |
Create a Half-Hex Tiling model with a total height of 1mm. The design consists of a recursive network of connected lines with a uniform width of 1mm. The geometry is based on a base length of 100mm and is generated through four iterations of a recursive subdivision process.
The structure is formed by creating hulls be... | S = 100;
H = 1;
W = 1;
N = 4;
K = sqrt(3);
T = [[[ 2, 0],[ 1, K],[-1, K],[-2, 0]],
[[-2, 0],[-1,-K],[ 1,-K],[ 2, 0]]]*S/4;
HALF_HEX(N, T, H, W);
module HALF_HEX(N, T, H, W, CLIP=false, $fn=12) {
linear_extrude(H) intersection() {
if (CLIP) union() for (t=T) { polygon(t); }
for (t=h... | glb/cad_29d6667bf345.glb |
Create a House Tiling aperiodic pattern extruded to a height of 1mm. The design is composed of a network of connected lines with a uniform width of 1mm. The geometry is generated recursively through 7 iterations based on a base length of 100mm. The pattern consists of a series of connected segments formed by the hulls ... | S = 100;
H = 1;
W = 1;
N = 7;
T = [[[0,1],[0,0],[2,0],[1,1]], [[3,0],[3,1],[1,1],[2,0]]]*S/3;
HOUSE(N, T, H, W);
module HOUSE(N, T, H, W, CLIP=false, $fn=8) {
linear_extrude(H) intersection() {
if (CLIP) union() for (t=T) { polygon(t); }
for (t=house(N,T)) union() {
hull() {... | glb/cad_6a6ca9493e76.glb |
Create a Pentomino Tiling model by extruding a recursive geometric pattern to a height of 1mm. The pattern consists of a network of connected lines with a uniform width of 1mm. The geometry is based on a recursive subdivision where the base length is 100mm.
Construct the tiling by generating a series of connected seg... | S = 100;
H = 1;
W = 1;
N = 3;
P = [[[0,2],[0,0],[3,0]], [[5,0],[5,2],[2,2]]]*S/5;
PENTOMINO(N, P, H, W);
module PENTOMINO(N, P, H, W, CLIP=false, $fn=4) {
linear_extrude(H) intersection() {
if (CLIP) union() for (p=P) {
o = p[1]; v = (p[0]-o)/2; w = (p[2]-o)/3;
polygon([... | glb/cad_fe45b8247820.glb |
Create a Pinwheel Tiling model consisting of four separate rectangular plates, each with a thickness of 1mm. Each plate features a recursive, aperiodic geometric pattern of interconnected lines and shapes based on a base length of 100mm.
The patterns are generated by recursively subdividing the space into smaller rig... | S = 100;
H = 1;
N = 3;
T = [[[0,0],[1,2],[0,2]], [[1,2],[0,0],[1,0]]]*S/2;
translate([0,0]) PINWHEEL(N, T, H, 1, CLIP=false);
translate([S,0]) for (i=[0:N])
PINWHEEL(i, T, H, (N+1-i)/2, CLIP=false);
translate([0,1.5*S]) PINWHEEL_FRACTAL(N, T, H, 1, CLIP=false);
translate([S,1.5*S]) for (i=[0:N])
PINWHEE... | glb/cad_fc7ed2c7ec68.glb |
Create a rotating turret base for a miniature vehicle consisting of two separate circular components. First, create a bottom piece by centering a cylinder with a diameter of 12mm and a height of 1mm. On top of this base, add a concentric cylinder with a diameter of 7.75mm and a height of 3.5mm, then remove a central cy... | roof_thickness=2.5;
cylinder(1,d=12,$fn=50);
difference(){
cylinder(roof_thickness+1,d=7.75,$fn=50);
translate([0,0,1])
cylinder(roof_thickness,d=5.5,$fn=50);
}
translate([15,0,0])
{
cylinder(1.25,d=10,$fn=50);
cylinder(roof_thickness+1,d=5,$fn=50);
} | glb/cad_6d22e46acd81.glb |
Create a Universal Electrical Box Spacer as a long, thin rectangular slab. The slab should have a total width of 10mm and a thickness of 3.2mm. For a 3-gang configuration, the total length is 153mm, consisting of two 15mm end sections and two 46mm middle sections.
Position a 5mm diameter circular hole vertically cent... | numberOfGangs = 3;
spacerThickness = 3.2;
difference(){
endLengths = 15;
distanceBetweenGangs = 46;
spacerWidth = 10;
holeDiameter= 5;
union() {
cube([endLengths, spacerWidth, spacerThickness]);
for (i = [1:1:numberOfGangs]) {
if (i > 1) {
translate... | glb/cad_fc1f5b31eed0.glb |
Create a cable duct mount consisting of two separate parts: a main mount and a locking piece.
For the main mount, start with a rectangular block measuring 49mm wide, 54mm deep, and 30mm high. Hollow out the center by removing a block of 45mm by 50mm by 20.3mm, leaving a wall thickness of 2mm. At the bottom center, cr... | generate = "all";
$fn = 64;
use <openscad-threads/threads.scad>;
wall = 2;
bottom = 3;
rail_h = 7.7;
rail_w = 34.7;
rail_mount_y = 10;
rail_mount_w = 10;
rail_in = [20, rail_mount_w, 5.8];
mount_d = 13;
mount_w = 60;
mount_th_d = 4;
square_nut = 5.5;
base = [49, 54, 30];
inner = [base.x - 2 * wall, base.y - 2 * ... | glb/cad_f2d18da24bf3.glb |
Create a TCG Playmat Tube consisting of two identical hollow sections. Each section is a vertical prism with a height of 190mm. The cross-section is a Reuleaux-style triangle with a major radius of 25mm and outer corner radii of 15mm. The walls are 0.8mm thick.
For each half, create a main tube body. One end of the tu... | render = "all";
major_radius = 25;
outer_corner_radius = 15;
height = 360;
wall_thickness = 0.8;
print_tolerance = 0.1;
section_overlap = 20;
slot_corner_radius = 3;
show_mat_proxy = false;
sections = 2;
module triangular_tube(
major_radius = 25,
outer_corner_radius = 15,
height = 360,
wall_thickness = 0.8,
... | glb/cad_8cd615e79292.glb |
Create a parametric rubber band wheel with a total height of 12mm. Start by constructing a main outer rim as a cylinder with a diameter of 70mm and a height of 12mm. This rim should have a hollow center with a diameter of 66mm (leaving a 2mm wall thickness) and feature a small 0.3mm lip at the top and bottom edges to s... | inch = 25.4;
rubber_band_width = 6;
stretched_diameter = 70;
band_thickness = 0.3;
axle_diameter_base = 5;
axle_flat_inset = 4.3;
spacing = 3;
edge_width = 3;
spokes = 5;
hub_thickness = 4;
plate_thickness = 2;
axle_clearance = 0.5;
axle_diameter = axle_diameter_base + axle_clearance;
axle_divot = axle_diame... | glb/cad_9c3a349f687d.glb |
Create a Wago 221 mount designed for a 2020 extrusion. The main body consists of five identical, adjacent block sections arranged in a row. Each block section is 18.25mm deep and features a base 2mm thick, a front lip 2.5mm high, and a back headboard 2mm thick and 12.15mm high. Each block is sized to accommodate a 2-co... | include <BOSL2/std.scad>
include <BOSL2/screws.scad>
blocks = [2,2,2,2,2];
tabwidth = 14;
conwidth = 5.6;
border = 1.75;
blockdepth = 18.25;
fudge = 0.2;
$fa = 1;
$fs = 0.4;
function bw(x) = conwidth*x+border+fudge;
function mw(i, n) = ( i==0 ? bw(blocks[i]) + 2 + mw(i+1, n) : (i < n ? bw(blocks[i]) + 2 + mw(i... | glb/cad_9df3cc56a764.glb |
Create a Vallejo Color Stand consisting of a rectangular base containing ten cylindrical holders arranged in two columns of five. The overall base is a rectangular block 27.25mm wide, 136.25mm long, and 22.4mm high. Within this block, create ten cylindrical voids, each with an outer diameter of 28.5mm and a height of 2... | height = 28;
outerDiamter = 28.5;
inneDiameter = 25.5;
bottomLayer = 3;
tipDiameter = 8;
tipDepth = 2.2;
standDistance = outerDiamter - 1;
numCols = 2;
numRows = 5;
textHoleHeight = 16;
textHoleWidht = 20;
$fn=150;
module collum()
{
cylinder(h = height, d = outerDiamter);
}
module singleHole(textHole)
{
translate([... | glb/cad_eac8880c16b0.glb |
Create a PolyDryer Bowden Coupler consisting of three stacked coaxial sections. Start with a bottom threaded section: a trapezoidal threaded rod with a diameter of 8mm, a length of 8mm, and a pitch of 2mm. Remove a central cylinder of 2.2mm radius and a 1.6mm high cylinder of 1.5mm radius from the center. At the bottom... | include <BOSL/constants.scad>
use <BOSL/threading.scad>
use <BOSL/metric_screws.scad>
use <BOSL/masks.scad>
rdetail = $preview ? 32 : 360;
coupler = true;
if(coupler) {
union() {
color("gray") translate([0,0,0])
difference() {
cylinder(h=8.0, r=8, $fn=6);
translate([0, ... | glb/cad_896e1b9e8942.glb |
Create a basic parametric bookend consisting of a base and a vertical upright connected by a brace. Start by creating a flat base that is 100mm long, 70mm wide, and 2mm thick. The base should be rectangular but feature semi-circular rounded ends with a radius of 10mm on the side opposite the upright.
Construct a vert... | $fn=50;
Upright_Height=140;
Upright_Width=70;
Upright_Thickness=4;
Brace_Size=30;
Base_Length=80;
Base_Thickness=2;
Circle_Radius=10;
linear_extrude(Base_Thickness)
hull(){
square([Base_Length+Brace_Size-Circle_Radius,Upright_Width]);
translate([Base_Length-Circle_Radius+Brace_Size,Upright_Width-Circle_Radius,0])
circ... | glb/cad_b33fcd71eaa5.glb |
Create a desk cable guide consisting of a hinged assembly with a mounting pad. The main body is composed of two primary sections: a cable block and a magnet block, joined by an integrated hinge.
The cable block is a rectangular prism with a total height of 12.5mm. It features two vertical cable holes, each 8mm in diam... | HOLE_DIA = 8;
HOLE_CHAMFER = 1;
HOLE_COUNT = 2;
MAGNET_POCKET_DIA = 10.5;
MAGNET_POCKET_DEPTH = 2;
MOUNTING_PAD_DEPTH = 40;
MOUNTING_PAD_WIDTH = 20;
MOUNTING_PAD_THICKNESS = 2;
MOUNTING_PAD_WHOLE_DEPTH = false;
HINGE_GAP_BLOCKS = 0.2;
HINGE_GAP_HORIZONTAL = 0.4;
HINGE_GAP_VERTICAL = 0.2;
HINGE_DIA = 8;
HINGE_... | glb/cad_539706b754e8.glb |
Create a TCG Deck Box consisting of two identical hollow rectangular halves that fit together. Each half should have an interior cavity measuring 69mm x 69mm x 94mm. The walls should be 0.8mm thick with a base thickness of 1mm.
For each half, create a rectangular shell with outer dimensions of approximately 71mm x 71m... | render = "both";
inner_dimensions = [69,69,94];
closure_depth = 1.6;
wall_thickness = 0.8;
base_thickness = 1;
overlap = 20;
print_tolerance = 0.1;
chamfer_size = 1;
pattern_size = 2;
module deck_box(
inner_dimensions,
wall_thickness = 0.8,
base_thickness = 1,
overlap = 20,
print_tolerance = 0.1,
chamfer_s... | glb/cad_fb7f63bfd3b4.glb |
Create an earring backing card by starting with a rectangular slab measuring 20mm in width, 15mm in depth, and 1mm in height. Pierce two circular holes completely through the slab along its center axis. Each hole must have a radius of 1mm. Position the first hole 5mm from the left edge and the second hole 15mm from the... | $fn=64;
difference()
{
cube([20, 15, 1]);
translate([5, 7.5, -1]) cylinder(h = 3, r = 1);
translate([15, 7.5, -1]) cylinder(h = 3, r = 1);
} | glb/cad_fb59328984e5.glb |
Create a Hole Saw Guide consisting of a circular base and a vertical guiding ring. Start by creating a flat, donut-shaped base with a thickness of 3.2mm. The inner diameter of this base is 104.45mm, and the outer diameter is 144.45mm, resulting in a base width of 20mm.
On top of this base, center a vertical hollow cyl... | toolThickness = 3.2;
guideDiameter = 101.25;
guideHeight = 20;
baseWidth = 20;
mountingHoleDiameter = 5;
arcResolution = 360;
module guide() {
linear_extrude(guideHeight)
difference(){
circle(d = guideDiameter + toolThickness, $fn=arcResolution);
circle(d = guideDiameter, $fn=arcResolution);
}... | glb/cad_b6d0ac78819d.glb |
Create a Stapler Vertical Stand by constructing a hollow rectangular base with a dividing wall. The overall outer dimensions of the stand are 47.5mm in width, 26.3mm in depth, and 25.75mm in height. The main body consists of two outer side walls and a bottom floor, with a thickness of 2.575mm for each wall. Inside this... | grid_scale = 5.15;
x0 = 0;
x1 = x0 + 0.5;
x2 = x1 + 2.75;
x3 = x2 + 1;
x4 = x3 + 3;
x5 = x4 + 1;
x6 = x5 + 4;
x7 = x6 + 0.5;
y0 = 0;
y1 = y0 + 0.5;
y2 = y1 + 2.5;
y3 = y2 + 2;
y4 = y3 + 1;
y5 = y4 + 7;
side_width_a = grid_scale * (x7-x3);
side_width_b = grid_scale * (x3-x0);
side_depth_b = grid_scale * (x1-x0);
side... | glb/cad_54406183c73e.glb |
Create a spice rack consisting of two identical vertical upright supports connected by horizontal shelves.
First, construct a vertical support by creating a rectangular block 50mm wide, 5mm deep, and 130mm tall. From this block, remove a semi-cylindrical cutout with a 40mm diameter and a 10mm depth, centered 20mm fro... | $fn=120;
RackUpright();
module Tray(){
cube([80,205,2]);
translate([78.4,0,0])
cube([1.6,205,5]);
translate([10,0,0])
cube([70,1.6,5]);
translate([10,203.4,0])
cube([70,1.6,5]);
translate([0,5,0])
cube([10,1.6,10]);
translate([10,0,0])
cube([1.6,6.6,10]);
translate([0,... | glb/cad_689d4d05ec91.glb |
Create a Synthibox Raspberry Pi case. Start by constructing a main chassis that is 200mm in size.
Create a crossbar by forming a hull between two rotated cubes, each 15mm x 15mm x 5mm and rotated 45 degrees, positioned at [0,0,2.5] and [200,0,2.5]. From this crossbar, remove a central 25mm x 25mm x 5mm cube and two c... | size = 200;
#rotate([35,0,0])bottom();
w=25;
stand();
translate([50,70,-0.5])crossbar();
module crossbar(){
difference(){
hull(){
translate([0,0,2.5])rotate([0,0,45])cube([15,15,5],center=true);
translate([200,0,2.5])rotate([0,0,45])cube([15,15,5],center=true);
... | glb/cad_455c22741dc2.glb |
Create four different toy food pellet shapes, each with a height of 5mm.
For the first pellet, create a central cylinder with a 10mm diameter. Add three smaller cylinders around the perimeter: one with a 4mm diameter positioned 4mm from the center at 60 degrees, one with a 5mm diameter positioned 3.5mm from the center... | snack1($fn = 60);
*snack2($fn = 60);
*snack3($fn = 60);
*snack4($fn = 60);
module snack1() {
extrude() {
circle(d = 10.0);
}
extrude() {
rotate([0, 0, 60])
translate([4, 0, 0])
circle(d = 4);
}
extrude() {
rotate([0, 0, 180])
translate([3.5, 0, 0])
circle(d = 5);
}
extrude() {
rotate([0... | glb/cad_a1fa9faa6bfe.glb |
Create a replacement coupler for a toy train wagon. Start with a main body consisting of a flat rectangular base 31mm long, 7mm wide, and 2.8mm thick. At one end of this base, integrate a circular mounting hub with a diameter of 11.8mm and a height of 2.8mm, featuring a centered vertical hole 6.2mm in diameter that pas... | kupplung();
*feder();
module kupplung() {
$fn = 36;
difference() {
cylinder(d = 11.8, h = 2.8);
hull() {
translate([0, 0, -0.1])
cylinder(d = 6.2, h = 3);
multmatrix(m = [
[1, 0, -0.2, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, 0, 0, 1]]) {
cylinder(d = 6.2, h = 2.9);
}
}
}
d... | glb/cad_17329fc7dedb.glb |
Create a replacement coupler for a toy train wagon. Start with a main body consisting of a flat rectangular base 31mm long, 7mm wide, and 2.8mm thick. At one end of this base, integrate a circular mounting hub with a diameter of 11.8mm and a height of 2.8mm. This hub must have a concentric central hole 6.1mm in diamete... | kupplung();
*feder();
module kupplung() {
$fn = 36;
difference() {
cylinder(d = 11.8, h = 2.8);
hull() {
translate([0, 0, -0.1])
cylinder(d = 6.1, h = 3);
multmatrix(m = [
[1, 0, -0.2, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, 0, 0, 1]]) {
cylinder(d = 6.1, h = 2.9);
}
}
}
d... | glb/cad_42dee466695d.glb |
Create a customizable net pot for hydroponics with a total height of 55mm and a wall thickness of 0.6mm. The main body is a rotationally symmetric vessel starting from a base and tapering upwards. The bottom section is a conical frustum that transitions into a straight vertical section 18mm from the top. The top rim ex... | $fa = 9;
$fs = 1;
thickness = 0.6;
height = 55;
straight_part = 18;
brim = 2;
diameter = 50;
vase_angle = 12;
side_holes = 12;
support_size = 3;
bottom_diameter = diameter / 2 - (tan(vase_angle) * (height-straight_part));
module bottomHoles(){
scale(bottom_diameter/17.5){
rotate([0, 0, 15])
for (... | glb/cad_4cc1744147fb.glb |
Create a vertical laptop stand consisting of three pyramid-like peaks of varying heights arranged in a row. The overall structure is based on a central slot 17mm wide to hold a laptop.
Construct three mountain-shaped forms. The tallest peak is 50mm high, the middle peak is 44mm high, and the shortest is 37.5mm high. E... | laptop_h = 17;
mountain_h = 50;
base_h = 4;
mountain_d = 5;
cap_ratio = 0.55;
widening = 2;
$fa = 1;
$fs = 0.5;
module pyramid(w, d, h) {
polyhedron(
points=[[d,w,0],[d,-w,0],[0,-w,0],[0,w,0],[0,0,h]],
faces=[[0,1,4],[1,2,4],[2,3,4],[3,0,4],[1,0,3],[2,1,3]],
convexity = 10
);
}
module filler(w... | glb/cad_d5d4255bc104.glb |
Create a miter saw to shop vac adapter consisting of two connected hollow cylinders with a tapered transition. Start by creating a bottom hollow cylinder with an inner diameter of 57.75mm, an outer diameter of 62.75mm, and a height of 20mm. Add a thin circular base flange at the bottom with a radius of 33.375mm and a t... | $fn = 200;
inner_d1 = 57.75;
inner_d2 = 47.5;
wall_thickness = 2.5;
outer_d1 = inner_d1 + 2 * wall_thickness;
outer_d2 = inner_d2 + 2 * wall_thickness;
h1 = 20;
h2 = 20;
difference() {
union(){
cylinder(h = h1, r = outer_d1/2);
cylinder(h = 2, r = outer_d1/2+2);
}
translate([0, 0, 0])
... | glb/cad_54b6ad050eea.glb |
Create a BTT HDMI 5" V1.2 case adapter. Start with a central rectangular block measuring 70mm wide, 45mm deep, and 10mm high, with edges rounded by a 5mm radius.
On the top surface of this block, center a smaller rectangular section that is 59.3mm wide, 15mm deep, and 3mm high.
To create the mounting slots, remove ... | module tabs_original()
{difference()
{
union(){cube([71.5,16,6.7],center=true);
};
translate([0,0,-3.35/2]) cube([71.5-6,16,3.35],center=true);
cube([71.5-12.6,16,6.7],center=true);
translate([0,10,0.15]) rotate([60,0,0]) cube([71.5,20,6.7],center=true);
translate([0,10-20,0.15]) rotate([60,0,0]) cube([71.5,20,6.7],cen... | glb/cad_ccc6f275f5ff.glb |
Create a Low Profile Lightsaber Wall Mount. Start by creating a main cylinder with a height of 19mm and an outer diameter of 34mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a diameter of 30mm and a height of 19.5mm, shifted 0.5mm down from the top.
To create the wall attachm... | Resolution = 100;
Diameter = 30;
Width = 19;
Wall_Stand_Off = 3;
Screw_Number = 8;
Tolerance = .2;
Single_Screw = false;
$fn = Resolution;
Dout = Diameter/2 + 2;
Din = Diameter/2;
h = Width*1;
d = Wall_Stand_Off*1;
SD = (.06+(.013*Screw_Number))/2*25.4 + Tolerance;
HD = (.119+(.027*Screw_Number))/2*25.4 + Toler... | glb/cad_226dcc1158ac.glb |
Create a Command Hook M3 Screw Adapter by starting with a rectangular base measuring 20mm wide, 75mm long, and 3mm thick, applying a 1.5mm chamfer to the top edges. Centered on the top surface and offset slightly along the length, integrate a composite cylindrical mounting structure. This structure consists of a centra... | include <BOSL2/std.scad>
include <BOSL2/screws.scad>
$fn = 50;
module command_screw(hook_size,nut_depth=10,base_thickness=2,chamfer=true){
SIZE_LARGE=[20, 75, base_thickness];
SIZE_MEDIUM=[17, 50, base_thickness];
SIZE = (hook_size == "Large") ? SIZE_LARGE :
(hook_size == "Medium") ? SIZE_MEDI... | glb/cad_12d973a78dbe.glb |
Create a 2.5 inch to 3.5 inch SSD adapter consisting of a flat bottom plate and two raised side brackets. The bottom plate is a rectangular slab measuring 146mm in length, 95mm in width, and 5mm in height. Centered on this plate, remove a circular cutout with a diameter of 95mm. Additionally, create four mounting holes... | $fn = 256;
diam = 3.5;
ssd_w = 61.72;
ssd_h = 76.6;
hdd_w = 101;
hdd_d = 146;
sidebracket_w = 6;
bottomplate_h = 5;
module nuthole(cyl_h) {
translate([-5.6/2, -2.3/2, -6.01/2]) cube([5.6, 2.3, 6.01+999]);
rotate([90, 0, 0]) cylinder(h = cyl_h, d = diam, center = true);
}
module sidebracket() {
difference... | glb/cad_56505e41d9be.glb |
Create a Universal Multimeter Wall Holder. Start with a main rounded rectangular block measuring 84mm wide, 54mm deep, and 64.5mm high. The walls and base should have a uniform thickness of 4.5mm.
Hollow out the center to create a pocket for the device, measuring 75mm wide, 45mm deep, and 60mm high. Position this pock... | width=75;
height=60;
depth=45;
backWidth=4.5;
wallWidth=4.5;
screwDiameter=5/2;
tolerance=0.1;
$fn=30;
leadWidth=35;
module cubeX( size, radius=1, rounded=true, center=false )
{
l = len( size );
if( l == undef )
_cubeX( size, size, size, radius, rounded, center );
else
_cubeX( size[0], size[1], size[2],... | glb/cad_1add63f6634d.glb |
Create a Pen Cubby organizer with a grid of slots for pens. The main body is a block with an exterior wall thickness of 1.2mm and internal walls of 0.8mm.
Construct a grid of 6 columns and approximately 8 rows of slots. Each slot is designed for a pen with a width of 11mm and a height of 11mm. Tilt the slots at a 55-... | use <SkadisBackPlate.scad>
pen_width = 11;
pen_height = 11;
pen_length = 150;
tray_depth = 50;
tray_edge_height = 11;
top_type = "merged";
front_type = "tray";
cubby_rows_min = 8;
cubby_columns = 6;
slot_angle = 55;
cubby_int_wall_thickness = 0.8;
cubby_ext_wall_thickness = 1.2;
cubby_open_back = false;
slot_... | glb/cad_68d74739be46.glb |
Create a Skadis back plate by starting with a solid rectangular block measuring 7mm wide, 2.5mm deep, and 24.5mm high. From this block, remove two identical vertical cutout sections to create mounting slots for universal hooks. Each cutout consists of three stacked rectangular segments: a base segment measuring 4.5mm w... | cutoutW = 4.5;
lowerCutoutH = 4.5;
lowerCutoutD = 4.5;
upperCutoutOffset = 16.2;
upperCutoutD1 = 4.5;
upperCutoutD2 = 4.5;
upperCutoutD = upperCutoutD1 + upperCutoutD2;
upperCutoutH1 = 9.5;
upperCutoutH2 = 5.0;
cutoutH = lowerCutoutH + upperCutoutOffset + upperCutoutH1 + upperCutoutH2;
skadisBackPlate(7, cutoutH + 5, ... | glb/cad_0470a59a6b90.glb |
Create a Photography Composition Guide tool. The base shape is a rectangular card measuring 85.6mm by 53.98mm with a thickness of 0.76mm.
The card features a rectangular cutout window centered on the face. The outer border of this window is offset from the card edges by 4.8mm. The dimensions of the inner window are d... | CARD = [85.6, 53.98, 0.76];
RATIO = [(1+sqrt(5))/2, 16/9, 3/2, 4/3];
STYLE = ["0000000000000000000000000000000000",
"1100000000000000000000000000000000",
"0011110000000000000000000000000000",
"1100001111000000000000000000000000",
"0000000000010000000000010000000000",
"000... | glb/cad_d172139a62c6.glb |
Create an adapter for pedicure attachments by constructing a central cylinder with a diameter of 10mm and a total height of 30mm. Bore a longitudinal hole through the center of this cylinder with a diameter of 3.2mm, but stop this hole 5mm from the bottom face, leaving a solid base. From the top face, create a wider ci... | screw = true;
$fa=1;
$fs=0.2;
difference() {
union() {
linear_extrude(7.5, convexity=10)
for(r=[45:45:360], i=[0, 1]) rotate(r)
mirror([0, i]) translate([0, 2.5/2])
square([9,1.5]);
cylinder(30, d=10);
}
if(screw) {
translate([0, 0, ... | glb/cad_45e1a63229e8.glb |
Create a hard drive caddy for a PlayStation 3 Superslim with overall outer dimensions of 74.4mm in width, 101.8mm in length, and 13.8mm in height. Hollow out the center to create a bay for a hard drive that is 70.05mm wide and 100.2mm long, leaving a base thickness of 3.8mm.
In the floor of the caddy, place four scre... | $fn = $preview ? 16 : 128;
tolerance = 0.2;
caddy_width = 74.6 - tolerance;
caddy_length = 102 - tolerance;
caddy_height = 14 - tolerance;
hdd_width = 69.85 + tolerance;
hdd_length = 100 + tolerance;
hdd_height = 99;
hdd_offset = [
(caddy_width - hdd_width) /2 ,
0,
3.8
];
screw_size = 3 + tolerance;
screws_width =... | glb/cad_cb4571480f32.glb |
Create a windup toy train key consisting of a shaft and a handle. Start by creating a cylindrical shaft 30mm long with a radius of 3.55mm. Carve four longitudinal rectangular grooves into the shaft, each 2.8mm wide, positioned symmetrically around the center to create a cross-shaped profile. Cap the end of the shaft wi... | key_radius = 7.1/2.0;
key_length = 30;
tooth_width = 2.8;
module uncut_key_shaft(){
translate([0,0,30]){
scale([key_radius,key_radius,20]){
sphere(r=1, $fn=100);
}
}
cylinder(h=key_length, r=key_radius, $fn=100);
}
module key_shaft(){
difference(){
uncut_key_shaft()... | glb/cad_94588054c080.glb |
Create a Desk Cord Tidy clip designed to secure a cable to a desk surface. The main body is a C-shaped clip with a total width of 15.75mm and a thickness of 3mm. The inner gap of the C-shape is 20mm to match the desk thickness.
The clip features a curved profile that extends 24mm in length. Along the center of the cli... | Desk_Thickness = 20;
Cord_Diameter = 2.5;
Plug_Width = 10.5;
Plug_Height = 9.5;
function reverse(v) = let(max=len(v) -1) [ for (i = [0:max]) v[max - i] ];
function thirdSide(a, b) = sqrt(a ^ 2 + b ^ 2);
function rotatePoint(point=[0,1], degrees=45, anchorPoint=[0,0]) =
let(origX = point[0], origY= p... | glb/cad_17a83821ba7a.glb |
Create a Dodecahedron Star consisting of a central base and multiple star points. For the base, construct a regular dodecahedron with a total size of 20mm. At the center of each of the twelve pentagonal faces, add a cylindrical peg with a radius of 3mm and a length of 4mm, extending outward to serve as connection point... | $fn = $preview ? 15 : 90;
size = 20;
pointLength = 30;
print = "base";
pegLength = 2;
pegRadius = 3;
if(print == "base") {
dodecahedron(size);
cylinder(size + (2 * pegLength), pegRadius, pegRadius, true);
for(i = [0:4]) {
rotate([0, 0, 72 * i]) {
rotate([116.565, 0, 0]) {
... | glb/cad_f7983aae2202.glb |
Create a Christmas Light Gutter Hook tool consisting of a cylindrical base and an angled gripping arm. Start by creating a cylinder with a diameter of 22.4mm and a height of 23.6mm. This cylinder must have a concentric hole drilled through its center with a diameter of 17.7mm and a depth of 22mm to accommodate a mounti... | clipWidth = 10;
clipThick = 1.6;
extendLen = 2*25.4;
gripDepth = 15;
rodDiam=17.7;
rodLen=22;
eps = .001;
module Clip()
{
lipHookWidth = .625 * 25.4;
lipHookDepth = .75 * 25.4;
lipHookTaperLen = .25 * 25.4;
clipDepth = 25;
clipLen = 20;
clipAngle = 30;
clipGap = 5;
clipAttachLen = gripDepth;
clipA... | glb/cad_10beaf2e6cd0.glb |
Create a Y-shaped hose adapter consisting of three hollow cylindrical tubes meeting at a central junction. Start with a vertical input tube that is 20mm long with an outer diameter of 9.9mm and an inner bore of 8.4mm. From the top of this input tube, create two output tubes that each extend 20mm in length. These output... | input_diameter = 8.4;
output_diameter = 8;
hose_wall_thickness = 1.5;
output_length = 20;
input_length = 20;
split_angle = 45;
module y_adapter() {
difference() {
union() {
translate([0, 0, -input_length])
cylinder(r=input_diameter/2 + hose_wall_thickness, h=input_length, cente... | glb/cad_5f1b495d34a6.glb |
Create a Universal Wall Hook System base by starting with a rectangular slab measuring 170mm in length, 20mm in width, and 10mm in height. At both the left and right ends of this slab, add a sloped section created by the convex hull of a 30mm by 30mm by 3mm rectangular prism positioned at the top and a 30mm by 20mm by ... | $fn = 256;
module slope() {
hull() {
translate([0, 80-30, 0]) cube([30, 30, 3]);
cube([30, 20, 10]);
}
}
module hanger_h() {
translate([-2.5, -10, 2.5]) cube([5, 15, 5]);
translate([-2.5, -20, 2.5]) cube([5, 15, 10]);
}
difference() {
union() {
linear_extrude(10) square([170, 20]);
slope();
translate... | glb/cad_5256d0b34c91.glb |
Create a Universal Wall Hook System base by starting with a rectangular slab 170mm wide, 20mm deep, and 10mm thick. At both the left and right ends of this slab, add a sloped section created by the convex hull of a 30mm wide by 30mm deep by 3mm thick plate positioned at the top and a 30mm wide by 20mm deep by 10mm thic... | $fn = 256;
module slope() {
hull() {
translate([0, 80-30, 0]) cube([30, 30, 3]);
cube([30, 20, 10]);
}
}
module hanger_h() {
translate([-2.5, -10, 2.5]) cube([5, 15, 5]);
translate([-2.5, -20, 2.5]) cube([5, 15, 10]);
}
difference() {
union() {
linear_extrude(10) square([170, 20]);
slope();
translate... | glb/cad_7b67194d635e.glb |
Create a thick, cylindrical ring with a flat top and bottom. The outer boundary is a cylinder with a radius of 12mm and a total height of 10mm. Centered within this volume, create a cylindrical hole with a radius of 6mm. This hole should start 2mm from the bottom surface and extend upwards through the top, leaving a so... | $fn = 256;
difference() {
cylinder(h = 10, r = 12);
translate([0, 0, 2]) cylinder(h = 8, r = 6);
} | glb/cad_2b915db2e5c2.glb |
Create a wall hook component by starting with a 2D polygon profile and extruding it to a thickness of 16.5mm. The polygon profile should be defined by the vertices [0, 0], [8, 0], [8, 11], and [0, 3]. Once extruded, create a rectangular hole measuring 5mm by 5mm with a depth of 4mm. Position this hole so its center is ... | difference() {
rotate([90, 0, 0]) linear_extrude(16.5) polygon([[0, 0], [8, 0], [8, 11], [0, 3]]);
translate([3, -(16.5+5)/2, 0]) cube([5, 5, 4]);
} | glb/cad_364a61d0c034.glb |
Create a drilling template for door handle sets consisting of a rectangular base plate and two protruding square pegs. The base plate is 60mm wide, 98mm high, and 8mm thick.
Position two square pegs, each 7mm by 7mm and 30mm tall, centered along the vertical axis of the plate. Place the first peg at the bottom center... | breite = 60;
hoehe = 98;
dicke = 8;
ld = 7;
s = 8;
el = 30;
sd = 7;
line_width = 0.75;
function default_fn(r=10) =
$fn>0?($fn>=3?$fn:3):ceil(max(min(360/$fa,r*2*PI/$fs),5));
function default_fn_angle(r=10) = 360/default_fn(r);
function scale_hole(r=10) =
(line_width + sqrt(line_width^2 + 4*r^2))/2 * (1+... | glb/cad_bf2be47e389b.glb |
Create a coaster holder by starting with a solid cylinder 105mm in diameter and 40mm high. Hollow out the center by removing a cylinder 102mm in diameter and 100mm high, positioned 5mm from the base to leave a 5mm thick bottom floor. To create the opening for coasters, remove two identical vertically elongated ovals fr... | difference() {
translate([0,0,0])
cylinder(h=40,d=105,$fn=200);
translate([0,0,5])
cylinder(h=100,d=102,$fn=200);
translate([35,35,207])
scale([1,1,4])
sphere(50, $fn=100);
translate([-35,-35,207])
scale([1,1,4])
sphere(50, $fn=100);
} | glb/cad_68fd59fe55dc.glb |
Create a circular coaster with a diameter of 100mm and a height of 7mm. Engrave three words into the top surface of the disk, each centered horizontally. Position the word "Schol" 20mm above the center point, "Santé" exactly at the center point, and "Cheers" 20mm below the center point. The text for "Schol" and "Cheers... | module textline(text, size=20, pos) {
translate([0,pos,1])
linear_extrude(height=size, convexity=4)
text(text,
size=size*22/30,
font="Bitstream Vera Sans",
halign="center",
valign="center");
}
difference() {
... | glb/cad_0fd7aac9545f.glb |
Create a Matrix keypad ESP32 case consisting of a rectangular base plate and a surrounding outer shell. Start by creating a solid rectangular block for the main body with a width of 77mm, a depth of 80mm, and a height of 60mm. Hollow out the center of this block by removing a smaller rectangular volume of 57mm by 60mm ... | $fn=360;
radi=4;
myx=57;
myy=60;
caseoffset=10;
caseheight=2;
rcornx=myx-radi*2;
rcorny=myy-radi*2;
casez=60;
difference() {
translate([9,2,15.5]) cube([87,80,3]);
union() {
translate([15,4.5,6]) cylinder(h=30, r=1.5, center=false);
translate([15,79.5,6]) cylinder(h=30, r=1.5, center=false);... | glb/cad_00211207385e.glb |
Create a Toroidal Whirligig Wind Spinner by generating a complex looped geometry based on nine repeating ring elements. Each ring is defined by an outer radius of 57mm and an inner radius of 28mm, with a thickness of 0.5mm. Position these nine rings symmetrically around a central axis, each rotated by 40 degrees relati... | $fn=200;
module ring(r,w,angle=360,offset=0)
{
polygon(concat([for(a=[offset:360/$fn:angle+offset]) [r.x*cos(a),r.y*sin(a)]],
w?[for(a=[angle+offset:-360/$fn:offset]) [(r.x-w)*cos(a),(r.y-w)*sin(a)]]:[]));
}
n=9;
r=[57,28];
dx=-50.4;
rz=33;
linear_extrude(10,twist=15,slices=100)
{
for(a=[0:n-1])
... | glb/cad_fc9f104a371c.glb |
Create a Toroidal Whirligig Wind Spinner component. Start by forming a primary body using a hull operation between a cylinder with a radius of 12.75mm and a height of 10mm, and a second cylinder positioned at a height of 30mm with a radius of 5.1mm and a length of 25.5mm oriented horizontally along the Y-axis.
From t... | $fn=200;
use <hex.scad>
d=13.5;
w=6;
t=2.1;
h=40;
r=d/2+w;
difference()
{
hull()
{
cylinder(r=r,h=h/4);
translate([0,0,h-r])
rotate([90,0,0])
cylinder(r=t+w/2,h=d+2*w+3,center=true);
}
translate([0,0,-1])
cylinder(d=d,h=h/2+2);
translate([0,0,h-r])
rota... | glb/cad_10a3f21b8e47.glb |
Create a Toroidal Whirligig Wind Spinner blade. The main body is formed by a curved, looped profile that creates a toroidal shape. Start with a cross-section defined by a series of points: a wide outer arc of 360 degrees with a radius of 4mm, tapering through a section of 140 degrees with a radius of 40mm, narrowing to... | use <mcurve.scad>
use <countersink.scad>
use <washer.scad>
$fn=100;
rotate(-20)
difference()
{
mcurve([
[360,4],
[140,40],
[0,30],
-[140,100],
[0,40],
-[360,2.5]
])
offset(2)
offset(delta=-2)
translate([-5,0])
square([10,11]);
translate([-4,... | glb/cad_baa8cfc02001.glb |
Create an adapter for an ERSA RT 80 soldering iron to fit a 43mm Euro mount. The model consists of two concentric cylindrical parts.
First, create a main outer cylinder with an outer diameter of 46.7mm and a height of 30mm. This outer shell should have a central vertical slot cut through its wall to allow for clampin... | inside=false;
usetpu=true;
tol=0;
$fa=1;
$fs=0.2;
module base() intersection() {
polygon([[0, 2+26], [42.7/2, 2+26], [42.7/2, 2],
[42.7/2+2, 2], [42.7/2+2, 0], [0, 0]]);
translate([15/2+130+tol, (2+26)/2]) circle(130);
}
module cut(o) difference() {
translate([o, -1]) square(30);
for(i=... | glb/cad_c186c89e5cd3.glb |
Create a rack mount tray with an overall width of 155mm, a depth of 100mm, and a height of 46.5mm. The main body is an open-topped box with walls 2mm thick. The floor of the tray is a flat plate 115mm wide, centered between two 20mm wide side rails.
On the front vertical face, create two mounting tabs, one at each end... | inside = 115;
railSize = 20;
outside = inside+2*railSize;
holeSpacing = (44.5/19)*6;
uTolerance = 0.5;
wall = 2;
d=0.01;
$fn=20;
tray(1.5,135);
module tray(u, depth=100) {
height = u*2*holeSpacing-uTolerance;
translate([0,-wall,0])
difference() {
cube([outside, wall, height]);
for (j=[0:1... | glb/cad_d70869163f58.glb |
Create a card holder organizer consisting of a solid rectangular block with a grid of recessed slots. The overall outer dimensions of the block are 188mm wide, 52mm deep, and 100mm high. The block features a 3x4 grid of card holes, each measuring 60mm wide by 10mm deep. These holes are separated by walls 2mm thick.
T... | rowsWide = 3;
rowsDeep = 4;
holeX = 60;
holeY = 10;
height = 60;
wallThickness = 2;
rowIncrease = 10;
d = 0.01;
difference() {
cube([
wallThickness + rowsWide * (holeX + wallThickness),
wallThickness + rowsDeep * (holeY + wallThickness),
height + rowsDeep * rowIncrease
]);
for... | glb/cad_fc8dfccc774e.glb |
Create a self-watering system consisting of a main manifold and a separate dripper screw.
For the main manifold, create a central triangular block with a wall thickness of 2mm. At three points arranged 120 degrees apart, add cylindrical bottle caps. Each cap should have an outer diameter of 32.6mm and a total height ... | include <../helix_extrude.scad>
$fn = 80;
dripper_screw_clearance = 0.3;
cap_screw_clearance = 0.3;
channel_length = 90;
wall = 2;
cap_height = 15;
cap_hole_dia = 28 + cap_screw_clearance*2;
channel_width = 10;
channel_height = 10;
cap_offset = channel_length * sqrt(3) / 3;
dripper_hole_dia = 10;
dripper_height ... | glb/cad_f933705a8e0a.glb |
Create a Wi-Fi antenna mount designed to clip onto a cylindrical monitor post. Start by creating a partial hollow cylinder with an outer diameter of 35mm and a wall thickness of 10mm, extending the arc to cover 270 degrees of the circle. This forms the main C-shaped clip.
On the open side of the clip, add a rectangula... | mount_post_size = 35;
mount_clearance = 0.1;
mount_height = 10;
mount_angle = 270;
hook_antenna_depth = 22 + mount_clearance;
hook_antenna_post_depth = 17.5;
hook_antenna_gap = 14;
tooth_stickout = 2.5;
radius = (mount_post_size/2);
clip_x_po... | glb/cad_3d62c99d3f75.glb |
Create a Filament spiral for dual color filament. Construct a spiral by sweeping a circle with a diameter of 1.75mm along a path that winds inward. The spiral should start at an outer radius of 99.125mm and wind inward toward the center. Each loop of the spiral must be spaced 2.75mm apart from the previous one (measure... | diameter=1.75;
bedSize = 200;
length = 3.5;
module __Customizer_Limit__ () {}
extrusionMultiplier = 1.1;
fd=diameter;
fr = fd/2;
r1 = (bedSize-fd)/2;
step = fd+1;
loops = loopsForLength(length*1000*extrusionMultiplier, r1, step);
r2 = r1 - loops * step;
$fa=3;
$fs=0.3;
cir = shape_circle(fr, 20);
difference() {
... | glb/cad_c849f1cabe78.glb |
Create a tool holder by constructing a tall, hollow square prism with rounded corners. The overall exterior dimensions should be 150mm in height with a radius of 20mm and a corner rounding radius of 3mm. The main body is a shell with a wall thickness of 2mm, created by removing a smaller rounded square prism from the c... | $fa = 1;
$fs = 0.4;
height = 150;
radius = 20;
side = 4;
corner_rad = 3;
module rounded_ngon(num, r, rounding = 0) {
function v(a) = let (d = 360/num, v = floor((a+d/2)/d)*d) (r-rounding) * [cos(v), sin(v)];
polygon([for (a=[0:360-1]) v(a) + rounding*[cos(a),sin(a)]]);
}
difference() {
linear_extrude(height ... | glb/cad_221f9c6267bc.glb |
Create a tool holder by constructing a square tray with rounded corners. Start with a solid rounded square base that is 10mm high, with a radius of 20mm and a corner rounding radius of 3mm. Hollow out the center of this base by removing a smaller rounded square from the top, leaving a wall thickness of 2mm and a bottom... | $fa = 1;
$fs = 0.4;
height = 10;
radius = 20;
side = 4;
corner_rad = 3;
module rounded_ngon(num, r, rounding = 0) {
function v(a) = let (d = 360/num, v = floor((a+d/2)/d)*d) (r-rounding) * [cos(v), sin(v)];
polygon([for (a=[0:360-1]) v(a) + rounding*[cos(a),sin(a)]]);
}
difference() {
linear_extrude(height =... | glb/cad_5b9139f867fc.glb |
Create a tool holder by constructing a tall, hollow cylinder with a total height of 150mm and an outer radius of 20mm. The main body is a thick-walled tube created by removing a concentric inner cylinder with a radius of 18mm, starting from a base thickness of 2mm. At the top of the holder, create a recessed ring by re... | $fa = 1;
$fs = 0.4;
height = 150;
radius = 20;
difference() {
cylinder(h = height - 7, r = radius);
translate([0, 0, 2])
cylinder(h = height - 7, r = radius - 2);
}
difference() {
translate([0, 0, height - 7])
cylinder(h = 5, r = radius - 1);
translate([0, 0, height - 8])
cy... | glb/cad_43f3a9f66c32.glb |
Create a tool holder by constructing a rectangular base 60mm wide, 40mm deep, and 10mm high. Hollow out the center to create a shallow tray. The walls and the floor of the tray should each be 2mm thick, resulting in an interior cavity that is 56mm wide, 36mm deep, and 8mm high. The top of the holder should be completel... | $fa = 1;
$fs = 0.4;
height = 10;
Xsize = 60;
Ysize = 40;
difference() {
cube([Xsize, Ysize, height - 7]);
translate([2, 2, 2])
cube([Xsize - 4, Ysize - 4, height - 7]);
}
difference() {
translate([0, 0, height - 7])
cube([Xsize, Ysize, 7]);
translate([1, 1, height - 8])
cube... | glb/cad_9785cfac45e0.glb |
Create a tool holder by constructing a rectangular box with an outer width of 60mm, a depth of 40mm, and a total height of 150mm. Hollow out the center of this box to create a deep internal cavity, leaving a wall thickness of 2mm on all four sides. The floor of this cavity should be 2mm thick, positioned 2mm from the b... | $fa = 1;
$fs = 0.4;
height = 150;
Xsize = 60;
Ysize = 40;
difference() {
cube([Xsize, Ysize, height - 7]);
translate([2, 2, 2])
cube([Xsize - 4, Ysize - 4, height - 7]);
}
difference() {
translate([1, 1, height - 7])
cube([Xsize - 2, Ysize - 2, 7]);
translate([2, 2, height - 8])
... | glb/cad_83185a71cec5.glb |
Create a tool holder by constructing a shallow cylindrical container with a total height of 10mm and an outer radius of 20mm. The main body is a cylinder 3mm tall with a radius of 20mm. Inside this base, remove a concentric cylindrical volume starting 2mm from the bottom with a radius of 18mm and a height of 3mm, creat... | $fa = 1;
$fs = 0.4;
height = 10;
radius = 20;
difference() {
cylinder(h = height - 7, r = radius);
translate([0, 0, 2])
cylinder(h = height - 7, r = radius - 2);
}
difference() {
translate([0, 0, height - 7])
cylinder(h = 5, r = radius);
translate([0, 0, height - 8])
cylinde... | glb/cad_cd86722c788e.glb |
Create a Knee Rover bag holder by starting with a main hollow cylinder that has an outer diameter of 33mm and an inner diameter of 29mm, extending to a total height of 98.5mm. Cut a wide rectangular slot 18mm wide and 36mm deep through the center of the cylinder to create an open channel.
At the top of the cylinder, ... | $fn=256;
rotate([-90, 0, 0]) {
difference() {
difference() {
difference() {
difference() {
union() {
rotate([90, 0, 0]) {
translate(v = [0, 0, -17.5]) {
cylinder(h = 35, d = 33);
}
}
translate(v = [0, 0, -49.25... | glb/cad_7102dd6a8e85.glb |
Create a Gridfinity Paper Tray by starting with a base block that is 2 units wide by 3.5 units deep, using a standard grid unit of 42mm. The total footprint is 84mm by 147mm, with a total height of 21mm (3 units of 7mm).
From this solid block, remove the interior volume to create an open bin, but leave the outer wall... | include <gridfinity-rebuilt-utility.scad>
$fa = 8;
$fs = 0.25;
gridx = 2;
gridy = 3.5;
gridz = 3;
length = 42;
enable_lip = false;
roundedCorners = 5;
difference() {
gridfinityInit(gridx, gridy, height(gridz), 0, length) {
cut(0,0,gridx,gridy,5,0);
}
translate([0, 0, 24]) {
cube([(gr... | glb/cad_fa1ee7ce7cb1.glb |
Create a fan mount bracket by starting with a central rectangular plate measuring 110.5mm in length, 3mm in thickness, and 50mm in width. Centered within this plate, create two circular cutouts, each with a diameter of 40mm. Position the first hole 30mm from the left edge and the second hole 80mm from the left edge, bo... | $fn=100;
union(){
rotate([90, 270, 0])
translate([0, 0, -22.5])
cube([18, 3, 50]);
rotate([90, 270, 0])
translate([0, -113.5, -22.5])
cube([18, 3, 50]);
difference() {
rotate([90, 0, 0])
translate([0, 0, -22.5])
cube([110.5, 3, 50]);
translate([30, -2.5, -5])
cylinder(15,... | glb/cad_c4e42cb641a6.glb |
Create a laser module holder by starting with a main outer cylinder 19mm in diameter and 10mm high, centered on the origin. Attach a rectangular handle to the side of this cylinder, measuring 15mm in length, 11mm in width, and 10mm in height, positioned so it extends from the side of the ring.
Hollow out the center o... | laserswitch();
module laserswitch () {
difference() {
union () {
cylinder(d=19, h=10, center=true, $fn=300);
translate([6,1,-5]) {
cube([15,11,10]);
}
}
translate([0,0,0]) {
cylinder(d=12.5, h=13, center=true, $fn=300);
}
transl... | glb/cad_d75b38324e74.glb |
Create a mounting bracket for a GTX 1080Ti logo. Start by constructing a U-shaped channel with an interior width of 18.5mm and a total span of 84mm. The walls and the base of the channel should both be 2mm thick. The side walls should extend upwards to a height of 15mm. On the outer face of one side wall, add a raised ... | font1 = "GeForce bold=3";
content = "GTX 1080Ti";
translate ([17,0,3]) {
rotate ([0,-90,90]) {
linear_extrude(height = 2) {
text(content, font = font1, size = 10.5, direction = "ltr", spacing = 1 );
}
}
}
InsideWidth = 18.5;
InsideHeight = 15;
Span = 84;
Thickness = 2;
FlangeSize = 0;
Hole = 0;
HoleDiameter = 4;
diffe... | glb/cad_17df5699aa4a.glb |
Create a Permanent Desiccant Container as a cylindrical vessel with an outer diameter of 25mm and a total height of 25mm. The main body is a hollow cylinder with wall thicknesses of 1.2mm and internal shelves/grates of 1.6mm.
Construct the main body by creating a cylinder with an outer diameter of 25mm and an inner di... | $fn = 256;
difference() {
union() {
container_1(
dims=[25, 25],
walls = [1.2, 1.6],
beam_rotations = [0,90],
overhang_ratio=0.66,
layer_height=0.2,
side_hole_count=0,
side_hole_dims=[0.5, 1.4, 1000],
side_hole_... | glb/cad_d074452dfd5d.glb |
Create a bathroom heater shelf with a height of 50mm. The main body is a hollowed-out square tray with a side length of 300mm and a wall thickness of 2mm. The four outer corners of the tray must be rounded with a radius of 8mm. The tray is open at the top and has a flat base. Attached to the two shorter ends of the tra... | $fa = 1;
$fs = 0.4;
height = 50;
radius = 150;
side = 4;
corner_rad = 8;
module rounded_ngon(num, r, rounding = 0) {
function v(a) = let (d = 360/num, v = floor((a+d/2)/d)*d) (r-rounding) * [cos(v), sin(v)];
polygon([for (a=[0:360-1]) v(a) + rounding*[cos(a),sin(a)]]);
}
translate([0, radius / 3, 0])
differe... | glb/cad_2b447442abd8.glb |
Create a Personalized Windmill consisting of a central bearing assembly and a series of interlocking curved leaves.
For the bearing, create a central hub with an inner diameter of 10mm and an outer diameter of 26mm, with a total height of 8mm. The bearing should feature a wall width of 1.08mm and a gap of 0.2mm betwe... | imprint = "YourText";
part = "W";
size = 200;
stickDiameter = 6;
orientation = "V";
font = "DejaVu Sans:style=Bold";
fontSize = 20;
textPosition = "A";
readFrom = "T";
textRotation = 0;
mirrorText = true;
textThickness = 0.3;
gap = 0.6;
thickness = 0.3;
switchDirection = false;
snapDiameter = 7;
snapWall... | glb/cad_af06951af476.glb |
Create a parametric rod clevis. Start by forming a main hull that is a combination of a cylinder with a diameter of 10.5mm and a height of 15mm, merged with a shorter, wider cylinder of 10.5mm diameter and 4.5mm height centered atop it.
From this solid, remove a central vertical hole with a diameter of 6.2mm that run... | type="Y";
baseHoleDiameter=6;
pinDiameter=6.2;
insertHoleDiameter=0;
insertHoleLength=0;
thickness=0.75*max(baseHoleDiameter, pinDiameter);
partSpacing=0.2;
epsilon=0.01;
$fn=32;
baseHoleLength=2.5*baseHoleDiameter;
pinOffset=2*pinDiameter;
module rodClevisHull() {
hull() {
cylinder(h=baseHoleLength, d=baseHol... | glb/cad_11551c46bbca.glb |
Create a 3D model of an Oloid, which is the convex hull of two identical circular discs. Each disc must have a diameter of 20mm and a thickness of 1mm with rounded edges of 0.5mm radius. Position the first disc centered on the X-axis but shifted 5mm to the left of the origin. Position the second disc 10mm to the right ... | d=20;
hull=true;
cut=0;
%rotate(90,[cut,1-cut])if(hull)hull()Oloid();
else Oloid();
difference(){
rotate(90,[cut,1-cut])if(hull)hull()Oloid();
else Oloid();
rotate(180,[1,0])cylinder(150,d=150);
cylinder(d/1.5,d1=2.5,d2=2,center=true,$fn=36);
}
module Oloid (d=d) {
translate([-d/4,0])Disc(d);
translate([d/... | glb/cad_0c78e2e3344f.glb |
Create a ttgo case consisting of two mirrored halves (a top part and a battery part) connected by a print-in-place articulated hinge. The overall case depth is 65mm, with a maximum height of 24mm and a total width of 39mm.
Construct the hinge using three interlocking links, each with a base height of 13mm. The hinge s... | $fa=2.4*1;
$fs=0.4*1;
module dupTransN(t=[0,0,10],n=3) {
for (i = [-(n-1)/2:(n-1)/2]) { translate(t*i) children(); }
}
module dupTrans(t=[0,0,10]) { union() { children(); translate(t) children();}}
module dupRot(r=[90,0,0]) {
children();
rotate(r) children();
}
module bevelCylinder(r=10,h=20,center=false... | glb/cad_ed8a7d6eab9d.glb |
Create a mini speaker box with outer dimensions of 60mm width, 56mm depth, and 60mm height. The main body is a hollow shell with a wall thickness of 1mm. To achieve this, start with a solid block of 60x56x60mm and remove a central rectangular volume of 56x58x56mm, positioned 2mm from the front, back, top, and bottom fa... | $fa = 1;
$fs = 0.4;
Xsize = 60;
Ysize = 56;
Zsize = 60;
module body() {
difference() {
translate([0, 1, 0])
cube([Xsize, Ysize, Zsize]);
translate([2, -2, 2])
cube([Xsize - 4, Ysize + 1, Zsize - 4]);
}
translate([1, 0, 1])
cube([Xsize - 2, 1, 1]);
tran... | glb/cad_fa78c9767c4a.glb |
Create a mini speaker box by starting with a square plate measuring 60mm by 60mm with a thickness of 4mm. Remove a large central circular hole with a radius of 23mm to create a primary opening. At each of the four corners of the plate, create a small circular hole with a radius of 1.5mm. These corner holes should be ce... | $fa = 1;
$fs = 0.4;
difference() {
cube([60, 4, 60]);
rotate([90,0,0])
translate([30, 30, -8])
cylinder(h=10,r=23);
rotate([90,0,0])
translate([2, 2, -8])
cylinder(h=10,r=.5);
rotate([90,0,0])
translate([58, 2, -8])
cylinder(h=10,r=.5);
... | glb/cad_5464bc7af985.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.