Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a broom holder clip by extruding a 2D profile to a height of 15mm. The profile consists of a rectangular wall block and a circular clip. The wall block is 3mm thick and has a width equal to the outer diameter of the clip. The clip is formed by a large outer circle with a radius of 12.25mm and a concentric inner ... | use <catchnhole/catchnhole.scad>
$fn = 360;
inner_diameter = 21.50;
clip_thickness = 2.5;
angle = 110;
pin_diameter = 3.5;
height = 15;
block_thickness = 3;
bolt_name = "M5";
difference()
{
clip3D(inner_diameter / 2, height, clip_thickness, block_thickness, angle, pin_diameter);
x_compensation = bolt_h... | glb/cad_bda9e381ecbc.glb |
Create a Transparent Window Printing proof of concept model consisting of a thin central pane surrounded by a rectangular frame.
First, create a central rectangular plate measuring 50mm by 50mm with a thickness of 0.25mm, centered at the origin.
Next, construct the supporting frame by adding four rectangular bars. ... | glassHeight = 0.25;
frameHeight = glassHeight + 3*0.3;
translate([0, 0, glassHeight/2]) cube(size=[50,50,glassHeight], center=true);
translate([-50/2, 0, frameHeight/2]) cube(size=[3, 53, frameHeight], center=true);
translate([ 0, 0, frameHeight/2]) cube(size=[3, 53, frameHeight], center=true);
translate([ 50/2, 0... | glb/cad_43d973831519.glb |
Create a solid body for a classical travel guitar. The main body is a tapered slab that transitions from a narrow neck joint to a wider bridge end. Construct the base shape by creating a hull between four spheres at the neck end (positioned at the corners of a rectangle defined by the joint width and body thickness) an... | include <settings.scad>
use <skew.scad>
use <case.scad>
use <pickguard.scad>
use <pickup_pipe.scad>
use <head.scad>
use <neck.scad>
module body_base() {
union() {
hull() {
translate([Edge_Rounding, -(Joint_Width/2 - Edge_Rounding), Edge_Rounding])
sphere(r = Edge_Rounding);
translate([Edge_R... | glb/cad_2a142b15a4e5.glb |
Create a solid body classical travel guitar. The design features a body with a teardrop-shaped hollow electronics case integrated into it to house a 6.35 mm TRS socket, a volume knob, and a battery. The body includes a pocket for a preamplifier located beneath the bridge.
Construct the neck with a scale length of 650 ... | include <settings.scad>
include <bezier.scad>
use <pickguard.scad>
ridge_layer = 2;
chamfer_inner_top = 4;
chamfer_inner_bottom = 2;
chamfer_outer = sqrt(Edge_Rounding);
flat_wall_thickness = 1.2;
interior_height = Body_Thickness - Case_WallSize - Pickguard_Thickness;
module case_curve(width, length, slant, weight) ... | glb/cad_adc37ce786cc.glb |
Create a 3D model of a "head" component for a solid-body classical guitar. The part is a tapered, symmetrical block that transitions from a wider bridge-side to a narrower tail-side.
Start with a base geometry that is wider at the bridge end and narrows toward the tail. The overall thickness is defined by `Head_Thick... | include <settings.scad>
use <skew.scad>
use <pickup_pipe.scad>
use <bridge.scad>
module head_base() {
union() {
hull() {
tweak_y = 0.5;
for (i = [0 : 1]) {
xpos = (i == 0) ? -Head_Extent : 0;
translate([xpos, -(Bridge_Width/2 - tweak_y - Edge_Rounding), Edge_Rounding])
rota... | glb/cad_5357be0df03d.glb |
Create a solid body classical guitar neck and tie block. The neck is constructed by blending a circular profile at the nut (width 45mm) that transitions along the scale length to a wider, flatter joint profile at the body. The neck includes a rectangular internal slot for an aluminum reinforcement bar measuring 4mm by ... | include <settings.scad>
use <body.scad>
module neck_slice(width, height, length = epsilon) {
rotate([0, 90, 0])
linear_extrude(length) {
difference() {
factor = 2*height / width;
scale([factor, 1])
circle(d = width);
translate([0, -(width/2 + epsilon)])
square([height, width +... | glb/cad_70965a066159.glb |
Create a bridge and saddle for a solid-body classical guitar.
First, construct the bridge as a rounded, organic block. The main body is formed by a hull of cylinders and spheres to create a smooth, tapered shape. On the top surface, integrate a "comb" consisting of six rounded pegs spaced to maintain string alignment... | include <settings.scad>
module bridge_pins(angle = 0, tolerance = 0) {
xoffs = Bridge_Length/2 + (Dowel_Length/2)*tan(angle);
yoffs = Bridge_Width * 0.31;
translate([xoffs, yoffs, -Dowel_Length/2])
rotate([0, -angle, 0])
cylinder(d = Dowel_Diameter + tolerance, h = Dowel_Length);
translate([xoffs, -y... | glb/cad_1a34b4b89c4e.glb |
Create a hex key set holder by designing a solid block that forms a hull around six vertical cylindrical holes. The overall height of the block is 15mm. The six holes are arranged in a linear row with a 1mm gap between them. Starting from the first hole, the nominal diameters for the holes are 3mm, 2.5mm, 2.5mm, 2mm, 1... | $fs = 0.5;
unit = 1;
sizes = [3, 2.5, 2.5, 2, 1.5, 1.5];
slack = 0.2;
cd_ratio = 1.13;
spacing = 1;
wall = 1.5;
height = 15;
$e = 0.01;
module holes(index = 0, extra = 0, h = height) {
if (index < len(sizes)) {
radius = sizes[index] * cd_ratio * unit / 2;
rotate(360 / 12)
cylinder(r = radius + extra... | glb/cad_6e8bf10ab9ce.glb |
Create a parametric organizer box insert with an outer width of 42.8mm, length of 26.1mm, and height of 40mm. The walls should have a uniform thickness of 0.8mm.
The main body is a hollow rectangular prism. The bottom two edges along the length and width must be rounded with a radius of 6mm. To achieve this, remove m... | width = 42.8;
length = 26.1;
height = 40.0;
thickness = 0.8;
l_round = 6;
w_round = 6;
corner = 3;
dividers = 0;
lip = 3;
$fn = 64;
epsilon = 0.005;
w2 = width/2;
l2 = length/2;
h2 = height/2;
dt = 2*thickness;
dc = 2*corner;
l_r2 = l_round/2;
w_r2 = w_round/2;
module copy_mirror(vec=[1,0,0]) {
children();... | glb/cad_0992ed5dba6f.glb |
Create a bottle cap helper by constructing a hollowed-out cylinder with an outer diameter of 35mm and a total height of 18mm. Remove a central conical void from the interior that tapers from a 30mm diameter at the base to a 29mm diameter at the top over a height of 15mm. To create the grip, add 24 small cylinders, each... | dCap = 29;
wall = 3;
hCap = 15;
$fn = 128;
difference(){
union(){
cylinder(d=dCap+wall,h=hCap+3);
for (i=[0:15:360]) {
rotate([0,0,i]){
translate([(dCap+wall)/2,0,0]){
cylinder(d=5,h=hCap+3);
}
}
}
}
cylinder(d1=dCap+1,d2=dCap,h=hCap);
}
for (i=[0:15:360]) {
r... | glb/cad_343e2fc39a1e.glb |
Create a marker holder for a magnetic board. Construct a main rectangular box with a total length of 85mm, a width of 22mm, and a height of 80mm. The box should have a wall thickness of 1mm and a base thickness of 1.5mm. Round the four outer vertical corners with a 5mm radius and the four inner bottom corners with a 4m... | $fn=100;
rozx=20;
rozy=20;
vys=80;
kol=4;
tl=1;
dyl=(rozx*kol)+((kol+1)*tl);
sir=rozy+2*tl;
pol=5;
pol2=4;
tld=1.5;
drzd=12;
magh=15;
magd=2.7;
od=10;
module krabice () {
module roh1 () {
cylinder (r=pol,h=vys); }
module roh2 () {
cylinder (r=pol2,h=vys); }
difference () {
hull () {
translate ([p... | glb/cad_255a1611bfc7.glb |
Create a Christmas card puncher tool consisting of a base plate and a complex array of cutting elements. Start with a rectangular base plate measuring 100mm by 100mm with a thickness of 3mm.
On the top surface of this plate, create a symmetrical, snowflake-like pattern of negative spaces and protruding cutting blades... | rotate([0,180,0])
union(){
difference(){
center();
translate([-50,-50,-5.5])
cube([100,100,3]);
}
union(){
translate([15,26.5,0])
rotate([0,0,120])
scale([0.7,0.7,1])
translate([0.3,0,0])
cutter();
translate([15,26.5,0])
scale([0.7,0.7,1])
translate([0.3,-20,0])
cutter();
}
rotate([0,0,120])
union(){
tr... | glb/cad_cfef0844a4d7.glb |
Create a rain cover for bell buttons consisting of a rectangular frame and an attached curved roof. First, construct a hollow rectangular frame with outer dimensions of 104mm width, 114mm height, and a thickness of 15mm. The interior cutout should be 90mm wide and 100mm high, leaving a wall thickness of 7mm on all side... | $fn = 60;
i_breite = 90;
i_hoehe = 100;
i_abstand = 15;
o_wand = 7;
d_block = 30;
Rahmen();
Dach();
module Rahmen()
{
render()
difference()
{
union()
{
cube([i_breite + 2*o_wand, i_hoehe + 2*o_wand, i_abstand]);
}
translate(... | glb/cad_e6116f79b9fa.glb |
Create a Fidget Cube consisting of eight identical cubes, each with a side length of 20mm. The cubes are arranged in a 2x2x2 cluster and connected by hinges at the centers of their shared edges to allow them to fold infinitely.
Each individual cube must have its edges beveled by 1.6mm. To create the hinge mechanism, i... | subject = "cube";
$fn = 48;
gap = 0.3;
size = 20;
hinge_radius_ratio = 0.30;
edge_bevel_size = 1.6;
face_bevel_size = 0;
hinge_wall_thickness = 2.4;
hinge_pin_scale = 1;
hinge_edge_thickness = 0.4;
e = 1 / 1024;
ee = 2 * e;
__ = gap;
_ = 0.5 * __;
hsize = 0.5 * size;
size__ = size - __;
hsize_ = hsize - _;
r... | glb/cad_5ce32e5353e5.glb |
Create a lid for a piggy bank by starting with a base cylinder 28mm in radius and 4mm in height. Cut a rectangular slot through the center of this base that is 3mm wide, 18mm long, and 7mm deep. On top of this base, add a thin ring centered at the same origin with an outer radius of 22.5mm, an inner radius of 20mm, and... | $fn=90;
difference(){
cylinder(h=4, r=28);
cube([3,18,7],center=true);
}
translate([0,0,4])
difference(){
cylinder(h=2.5, r=22.5);
cylinder(h=2.5, r=20);
}
translate([0,1,6])
difference(){
cylinder(h=3, r=22.5);
cylinder(h=3, r=20.5);
}
translate([0,-1,6])
difference(){
cylinder(h=3, r=22.5);
cylinder(h=3, r=20.5);
... | glb/cad_d5a4f69cdaf1.glb |
Create a permanent plant label consisting of a flat stake and raised text. Start by creating the stake as a 2D polygon extruded to a thickness of 3.2mm. The stake should be 25mm wide and 180mm long. The base of the stake is rectangular for most of its length, but the tip is tapered to a point over the final 25mm of its... | first_line = "Cucumber";
second_line = undef;
font = "Arial";
font_scale_factor = 1;
stake_thickness = 3.2;
stake_width = 25;
stake_length = 180;
stake_point_length = 25;
text_raise_height = 4.1;
text_equal_lines = false;
add_hole = false;
hole_diameter = stake_width/2;
stake_long_edge = stake_length - stake_point_... | glb/cad_00e88ef929f7.glb |
Create three clock hands with a uniform thickness of 2mm.
First, create the hour hand as a flat rectangular strip 46.67mm long and 4mm wide. At one end, center a circular hole with a diameter of 5.6mm that passes completely through the 2mm thickness. Surround this hole with a concentric circular boss that is 1mm thic... | $fn = 200;
clock_diam = 140;
hands_thickness = 2;
sh_length = clock_diam / 2 - 10;
sh_width = 2;
sh_thickness = hands_thickness;
sh_hole_diam = 1.3;
sh_hole_thickness = 0.5;
sh_offset_height = 6;
mh_length = sh_length;
mh_width = 4;
mh_thickness = hands_thickness;
mh_hole_diam = 3.6;
mh_hole_thickness = 1;
hh_lengt... | glb/cad_09c2bc12918f.glb |
Create a spacer for a Tapo S505 Smart Switch by designing a rectangular frame with a thickness of 5mm. The outer dimensions of the frame should be 92mm in length and 57.5mm in width, with corners rounded to a 2mm radius. Hollow out the center of the frame to create a rectangular opening measuring 75mm by 52.5mm, with c... | $fn = 100;
module rounded_rect(length, width, radius) {
hull() {
for (x = [radius, length - radius]) {
for (y = [radius, width - radius]) {
translate([x, y]) circle(r = radius);
}
}
}
}
module pill_hole(length, radius, rotation = 0) {
center_x = len... | glb/cad_0a9ec9de54a9.glb |
Create a Node 304 Mini DIN power plug adapter. Start with a base plate 2mm thick. The main body is a rounded rectangular slab with a width of 22mm and a length of 29.2mm. The four corners of this slab should have a radius of 3mm.
Center a large circular hole with a diameter of 12.5mm through the middle of the plate. P... | cut_width = 19.8;
cut_length = 27.2;
cut_edge_radius = 3;
screw_dist = (42.9 + 37.1)/2;
euro_screw_dist = (16.8 + 21.3)/2;
thickness = 2;
width = cut_width + 2;
length = cut_length + 2;
$fn = 30;
module cut(dx = 0, dy = 0){
r = cut_edge_radius + (dx + dy)/4;
translate([-cut_width/2 + r - dx/2, -cut_length/2 + ... | glb/cad_05ff394579e5.glb |
Create a 3-way corner connector for 20mm aluminium profiles. The main body is a cube with a side length of 20mm, but it is modified by adding three extensions of 60mm length along the X, Y, and Z axes, creating a total outer dimension of 80mm in each axis.
The interior of the corner is hollowed out by removing a 20mm... | profile_w = 20;
corner_l = 60;
radius = 4;
thickness = 5;
offset = 5;
screw_hole = 6.8;
screw_head = 12;
slot_lug_w = 5;
slot_lug_h = 4;
rivet_hole = 5;
$fn = 32;
module sidepane () {
difference() {
hull() {
translate([profile_w, 0, 0]) sphere(radius);
translate([0, profile_w, 0]) s... | glb/cad_7a2b728e2a4a.glb |
Create a 3-way corner connector for 20mm aluminium profiles. The main body is a cube with a side length of 60mm, but it is modified by removing a 20mm cube from the inner corner to create a hollowed-out interior.
The exterior corners of the connector are rounded with a 4mm radius. To allow for panel attachment, creat... | profile_w = 20;
corner_l = 60;
radius = 4;
thickness = 5;
offset = 5;
screw_hole = 6.8;
screw_head = 12;
slot_lug_w = 5;
slot_lug_h = 4;
rivet_hole = 5;
$fn = 32;
module sidepane () {
difference() {
hull() {
translate([profile_w, 0, 0]) sphere(radius);
translate([0, profile_w, 0]) s... | glb/cad_268cd2b56035.glb |
Create a 3-way corner connector for a 20mm aluminium profile case. Start by constructing a base volume that is the union of three cubes, each measuring 20mm by 20mm by 25mm (20mm plus a 5mm offset), oriented along the X, Y, and Z axes to form a corner block.
From this block, remove a large central cube of 120mm (60mm... | profile_w = 20;
corner_l = 60;
radius = 4;
thickness = 5;
offset = 5;
screw_hole = 6.8;
screw_head = 12;
slot_lug_w = 5;
slot_lug_h = 4;
rivet_hole = 5;
$fn = 32;
module sidepane () {
difference() {
hull() {
translate([0, 0, 0]) sphere(radius);
translate([corner_l, 0, 0]) sphere(rad... | glb/cad_fefde3f80643.glb |
Create a panel stiffener for an aluminum profile case. Start with a base block that is 20mm wide, 40mm long, and 5mm thick. The top surface of this block should feature a raised central rectangular ridge that is 5mm wide and 4mm high, running the full 40mm length of the part.
From this geometry, remove a central rect... | lh = 20-3-10 - 2;
lh2 = 20-3 - 2;
l = 20;
wx = 2;
wy = 5;
t = 0.8;
rh = 4;
rw = rh;
wt = 5;
$fn = 32;
insert_dia = 4.0;
hole_dia = 5.6;
tw = 40+wy*2 + 2*t;
difference() {
union() {
hull() {
translate([0, -tw/2, -lh-10])
cube([wt+rw, tw, 10+lh]);
translate([-lh2, -tw... | glb/cad_5de033e37a79.glb |
Create a panel stiffener for an aluminium profile case. Start with a base plate that is 25mm wide and 4mm thick. The overall shape is a modified rectangle: one end is flat and perpendicular to the sides, while the opposite end tapers inward by 5mm to create a rounded, blunt profile.
On the flat end of the plate, add a... | thickness = 4;
profile_w = 20;
rivet_hole = 4;
rivet_offset = 15;
rivet_border = 8;
screw_hole = 6;
lug_width = 6;
lug_height = 5;
nut_width = 14;
taper = 5;
width = 25;
$fn = 32;
e = 0.01;
module side() {
p = width - 2*thickness;
k = profile_w + rivet_offset + rivet_border - thickness;
difference() {
... | glb/cad_f971876bc4e5.glb |
Create a 3-way corner connector for a 20mm aluminium profile case. The part consists of two mirrored symmetrical plates joined at a 90-degree angle. Each plate has a thickness of 4mm and a total width of 25mm.
The main body of each plate is formed by a hull of spheres with a 4mm radius, creating a rounded profile. On... | thickness = 4;
profile_w = 20;
rivet_hole = 4;
rivet_offset = 15;
rivet_border = 8;
screw_hole = 6;
lug_width = 5.5;
lug_height = 5;
nut_width = 14;
taper = 5;
width = 25;
$fn = 32;
e = 0.01;
module side() {
p = width - 2*thickness;
k = profile_w + rivet_offset + rivet_border - thickness;
difference() {
... | glb/cad_85c64965ab1d.glb |
Create a bumper for a 20mm aluminium profile case. Start by constructing a solid volume using a convex hull that encompasses six spheres, each with a 4mm radius. Position these spheres at the following coordinates: (40, -4, -4), (50, -4, -4), (40, 20, -4), (50, 20, -4), (40, -4, 16), (50, -4, 16), (40, 20, 16), and (50... | profile_w = 20;
corner_l = 60;
radius = 4;
thickness = 5;
offset = 5;
screw_hole = 6.8;
screw_head = 12;
slot_lug_w = 5;
slot_lug_h = 4;
rivet_hole = 5;
$fn = 32;
module bumper() {
hull() {
translate([profile_w + (corner_l - profile_w)/2 - profile_w/2, -radius, -radius]) sphere(radius);
tra... | glb/cad_48cd3d3d93fc.glb |
Create a latch for an aluminium profile case. Start with a main body formed by the convex hull of four spheres with a radius of 3mm, positioned at (3, 3, 3), (62, 0, 0), (62, 44, 0), and (0, 44, 0).
From this body, remove the top half by cutting away everything above Z = 3mm. Create a rectangular slot by removing a v... | thickness = 3;
screw_hole = 4.6;
lever_len = 40;
lever_w = 25;
lever_conn = 20;
profile_w = 20;
profile_gap = 5;
nut_width = 14;
nut_w = 6;
nut_d = 5;
chamfer = 15;
mount_len = 20;
g = 2;
$fn = 32;
e = 0.01;
module latch() {
tw = 2*profile_w + profile_gap;
difference() {
union() {
hull() ... | glb/cad_d0096a825462.glb |
Create a brush holder for a paint station by constructing a tiered cylindrical base. Start with a primary cylinder 28.5mm in diameter and 1mm in height. On top of this, add a second cylinder centered with a diameter of 27mm and a height of 24mm. Around the top edge of this second cylinder, add a thin cylindrical wall 1... | module hole(pos) {
translate(pos) {
translate([0,0,-1]) {
cylinder($fn=180,52, 3, 3);
}
}
}
union() {
difference() {
union() {
cylinder($fn=360,1,28.5,28.5);
translate([0,0,1]) {
cylinder($fn=180,20,27,24);
}
tran... | glb/cad_935b1e82abd1.glb |
Create a Badge Holder for 3 cards. The main body is a thin, flat rectangular sleeve with rounded corners, measuring 85.60mm in length and 53.98mm in width. The walls are 1mm thick.
Construct the holder as a pocket with an open top for card insertion. The interior space should accommodate three cards, each 0.76mm thick... | part = 1;
line1 = "Robert Schiele";
line2 = "+49-173-1234567";
card_length = 85.60;
card_width = 53.98;
card_thickness = 0.76;
card_radius = 3.18;
cards = 3;
space = 0.2;
thickness = 1;
chamfer = 0.5;
clipoffset = 6.57;
clipsize = 10;
connectorsize = 15;
$fn = 90;
clamp = [
[0, 0],
[card_radius + space + thick... | glb/cad_07e22e42cc61.glb |
Create an AA Battery Dispenser by starting with a solid rectangular block measuring 55.8mm in width, 26mm in depth, and 110mm in height. Hollow out the center of this block by removing a smaller rectangular volume of 52.8mm by 23mm by 111mm, positioned 1.5mm from the front, side, and bottom edges, to create a thin-wall... | difference(){
cube([55.8,26,110]);
translate([1.5,1.5,1.5]){
cube([52.8,23,111]);
}
translate([1.5,20,1.5]){
cube([52.8,16,19]);
}
}
translate([0,26]){
cube([55.8,18,1.5]);
}
difference(){
translate([0,44]){
rotate([75]){
cube([55.8,20,1.5]);
}
}
translate([27.9,5... | glb/cad_9ad4e3137972.glb |
Create a lead screw cover with a base footprint of 20mm by 40mm and a total height of 14mm. The main body is formed by a cylinder with a 12.5mm diameter and 14mm height, which is merged with a 20mm by 40mm by 5mm rectangular block at the base. A central vertical hole with a diameter of 8.5mm and a height of 14mm is rem... | include <../libs/hardware.scad>
module t8_wrapper(z_offset=0){
translate([-22.5, 20, z_offset]) children(0);
}
module chamfer(ch_len){
rotate([90, 0, 0])
rotate([0, 0, 45])
linear_extrude(ch_len){
square([5, 5]);
}
}
difference(){
union() {
hull(){
... | glb/cad_40c38bb798b3.glb |
Create a multimeter mount consisting of a rectangular base and two support posts. Start with a base plate measuring 70mm in length, 70mm in width, and 4mm in thickness.
Position two cylindrical support posts, each with an outer diameter of 8mm, running parallel to the length of the base. These posts should be spaced ... | basex = 70;
basey = 70;
basethick = 4;
separation = 56;
supportod = 8;
proportion = 0.9;
liftz = 4;
lifty = 3.5;
supportangle = 65;
screwdiam = 4.5;
headdiam = 8;
countersinkdepth = 3;
screwproportion = 0.22;
datumy = basey/2 - separation/2;
$fs = $preview ? 1 : 0.15;
$fa = $preview ? 3 : 2;
epsilon = 0.01;
module ba... | glb/cad_faf7ccc6dd9b.glb |
Create a USB lamp stand foot by starting with a dome that has a radius of 90mm and a height of 15mm. From this base, remove a central vertical hole with a diameter of 8.2mm that extends through the entire height of the dome. Additionally, carve out a rectangular slot to accommodate a USB plug; this slot should be 17.2m... | include <dome.scad>;
domeRadius = 90.0;
domeHeight = 15.0;
plugWidth = 17.2;
plugHeight = 8.0;
plugOffset = 6.0;
plugLength = 55.0;
holeDiam = 8.2;
sacreficialLayer = 0.2;
difference() {
dome(d = domeRadius, h = domeHeight);
translate([0, 0, plugHeight + sacreficialLayer]) cylinder(d = holeDiam, h = domeHei... | glb/cad_4742343a6bee.glb |
Create a USB lamp stand foot by starting with a dome that has a radius of 90mm and a height of 17mm. From this base, remove a central vertical cylindrical hole with a diameter of 8.2mm that extends through the entire height of the dome. Additionally, carve out a rectangular slot from the bottom of the dome to accommoda... | include <dome.scad>;
domeRadius = 90.0;
domeHeight = 17.0;
plugWidth = 17.2;
plugHeight = 10.0;
plugOffset = 6.0;
plugLength = 55.0;
holeDiam = 8.2;
sacrificialLayer = 0.2;
difference() {
dome(d = domeRadius, h = domeHeight);
translate([0, 0, plugHeight + sacrificialLayer])
cylinder(d = holeDiam, h ... | glb/cad_e0a7168aaf44.glb |
Create a USB lamp stand foot by starting with a dome shape that has a radius of 90mm and a height of 17mm. Constrain this dome within a rectangular boundary that is 17.2mm wide and 55mm long, centered on the dome's origin. The resulting base should have a total height of 17mm, but the bottom 10mm of the volume is remov... | include <dome.scad>;
domeRadius = 90.0;
domeHeight = 17.0;
plugWidth = 17.2;
plugHeight = 10.0;
plugOffset = 6.0;
plugLength = 55.0;
holeDiam = 8.2;
sacrificialLayer = 0.2;
difference() {
intersection() {
union() {
translate([-holeDiam / 2, 0, plugHeight + 0.2])
cube([holeDiam, plugLength, domeHeig... | glb/cad_80d9e77e762d.glb |
Create a paraglider line measurement rig target plate assembly. Start with a flat square base plate measuring 80mm by 80mm with a thickness of 2mm. Centered on this plate, attach a rectangular vertical block that is 6mm wide, 42mm long, and 20mm high.
Within this vertical block, create four horizontal holes with a dia... | $fn = 16;
targetPlateSize = 80;
targetPlateThick = 2;
targetPinSize = 3;
targetPinLength = 6;
blockWidth = 6.0;
blockLength = 42.0;
blockHeight = 20.0;
clampScrewHoleXOffset = -blockWidth / 2;
clampScrewHoleYOffset = 3.5;
clampScrewHoleZ1Offset = 5.0;
clampScrewHoleZ2Offset = 15.0;
clampScrewHoleDiameter = 3.... | glb/cad_b91471112804.glb |
Create a laser measurement meter cage with an outer boundary of 125mm in length, 42mm in width, and 20mm in depth. The walls should be 2.5mm thick.
Inside the cage, carve out a central void measuring 120mm by 37mm by 20mm to accommodate the device. At the front of the cage, create a window cutout that is 22mm wide an... | $fn = 36;
d110Length = 120;
d110Width = 37;
d110Depth = 20;
d110FrontDepth = 23;
cageWallThick = 2.5;
basePlateWidth = 30;
baseplateLength = 120;
fwHeight = 18;
fwWidth = 22;
fwYoffset = 8;
fwZoffset = 2;
midHolesXoffset1 = 42;
midHolesXoffset2 = 82;
midHolesYoffset1 = 4 + cageWallThick + (d110Width - basePlateWi... | glb/cad_cdc2b98fe50a.glb |
Create a weight bottom plate for a paraglider line measurement rig. The base consists of three overlapping cylinders with a height of 4mm. Two of these cylinders have a diameter of 38.4mm, and the third, smaller cylinder has a diameter of 25.2mm. Position the two larger cylinders so their centers are 38.2mm apart along... | $fn = 72;
bigCylinderDiam = 38.2 + 0.2;
smallCylinderDiam = 25.0 + 0.2;
smallCylinderOffset = 25.5;
plateHeight = 4.0;
plateMargin = 2.0;
plateWidth = bigCylinderDiam * 2 + plateMargin;
plateDepth = 60.0 + plateMargin;
plateHoleConeBottom = 9.2;
plateHoleConeTop= 5.0;
plateHoleConeHeight = 2.5;
difference() {
un... | glb/cad_be0e21c66324.glb |
Create a paraglider line measurement rig base plate. Start with a rectangular base plate measuring 42mm wide, 120mm long, and 4mm thick.
On the top surface of the base plate, create four rectangular cutouts for wheels. Two cutouts are positioned at the front and back edges, centered along the width, each measuring 12... | $fn = 64;
profileInnerWidth = 44;
ballBearingLength = 24.5;
ballBearingOutDiameter = 15;
ballBearingInDiameter = 8;
basePlateWidth = 42;
basePlateLength = 120;
basePlateThick = 4;
wheelLength = 4;
wheelOutDiameter = 10;
wheelInDiameter = 3;
wheelInDiameterThreadDiam = 2.5;
wheelWasherHeight = 0.3;
wheelWasherDiam ... | glb/cad_c86de50a393d.glb |
Create a paraglider line measurement rig part consisting of a rectangular backplate with a central line catch. The backplate is 3mm thick, 25mm long, and 10mm wide, with rounded corners of 0.5mm radius.
In the center of the backplate, create a line catch feature. This feature consists of a vertical cylinder with a 10... | $fn = 32;
lineDiam = 3.5;
cutoutWidth = 2.5;
cupDiam = 6.0;
holderDiam = 10.0;
holderHeight = 5.0;
backPlateLength = 25.0;
backPlateHeight = 3.0;
backplateHoleDiam = 3.2;
roundingRadius = 0.5;
module flatHeadM3(length = 10.0) {
headMaxDiam = 5.7;
headMinDiam = 3.2;
headHight = 2.0;
cylinder(d1 = ... | glb/cad_c2d33ebdae54.glb |
Create a pulley filler for a paraglider line measurement rig. Start by creating a main cylinder with an outer diameter of 17.75mm and a height of 6mm. On top of this cylinder, add a conical flare that transitions from the 17.75mm diameter at its base to a top diameter of 20.75mm over a height of 2mm. To create the holl... | $fn = 72;
outerDiam = 17.75;
innerDiam = 16;
outerHeight = 6;
innerHeight = 10;
holeDiam = 8;
flareDiam = outerDiam + 3;
flareHeight = 2;
difference() {
union() {
cylinder(d = outerDiam, h = outerHeight);
translate([0, 0, outerHeight]) cylinder(d1 = outerDiam, d2 = flareDiam, h = flareHeight);
... | glb/cad_aaea73c6af72.glb |
Create a riser trolley for a paraglider line measurement rig. Start with a rectangular base plate measuring 40mm wide by 45mm long and 4mm thick.
On the top surface of the base plate, create two rectangular cutouts to accommodate wheels. These cutouts should be 12mm wide and 12mm high, positioned 12mm from the side e... | $fn = 64;
profileInnerWidth = 44;
ballBearingLength = 24.5;
ballBearingOutDiameter = 15;
ballBearingInDiameter = 8;
basePlateWidth = 40;
basePlateLength = 45;
basePlateThick = 4;
wheelLength = 4;
wheelOutDiameter = 10;
wheelInDiameter = 3;
wheelInDiameterThreadDiam = 2.5;
wheelWasherHeight = 0.3;
wheelWasherDiam =... | glb/cad_5a62a78449e1.glb |
Create a paraglider line measurement rig base plate and carriage system.
Start by creating a rectangular base plate measuring 40mm wide by 120mm long with a thickness of 4mm. In this plate, create four rectangular cutouts for vertical wheels: two at the front and two at the rear. Each cutout should be 12mm wide and 1... | $fn = 64;
profileInnerWidth = 44;
ballBearingLength = 24.5;
ballBearingOutDiameter = 15;
ballBearingInDiameter = 8;
basePlateWidth = 40;
basePlateLength = 120;
basePlateThick = 4;
wheelLength = 4;
wheelOutDiameter = 10;
wheelInDiameter = 3;
wheelInDiameterThreadDiam = 2.5;
wheelWasherHeight = 0.3;
wheelWasherDiam ... | glb/cad_113ee03664bb.glb |
Create a riser rail pulley plate for a paraglider line measurement rig. Start with a main rectangular block measuring 30mm in width, 22mm in height, and 5mm in thickness. Attach a second rectangular extension to the side of this block, starting at 16mm from the left edge, with a width of 14mm, a height of 25mm, and a t... | $fn = 32;
profileThick = 3.0;
holeBlockWidth = 30;
holeBlockHeight = 22;
holeBlockThick = 5;
holeDiameter = 2.5;
holeLength = 5.2;
holeXPos = holeBlockWidth / 3;
holeYPos1 = holeBlockHeight - 2.0;
holeYPos2 = holeBlockHeight - 11;
holeZPos = holeBlockWidth / 2;
pulleyAxisDiameter = 6.0;
pulleyAxisXPos = holeBlockWi... | glb/cad_2a986e3d127b.glb |
Create an axis clip for a paraglider line measurement rig. Start with a cylinder that has a height of 3mm and an outer diameter of 8mm. Remove a concentric inner cylinder with a diameter of 4.7mm to create a ring.
From this ring, remove a 30-degree wedge-shaped slice starting from the center and extending outward. To... | $fn = 36;
axiaDiam = 5.0;
clipHeight = 3.0;
clipThick = 3.0;
axisStretchMargin = 0.3;
clipTwist = 0;
clipCutStartAngle = 0;
clipCutEndAngle = 30;
clipEarLength = 3.0;
module point(x,y) translate([x,y]) circle(0.01);
module pie_slice(r, a0, a1) {
$fa = 5;
R = r * sqrt(2) + 1;
intersection() {
c... | glb/cad_f33e95658922.glb |
Create a measure rail stop plate consisting of a main rectangular base and a smaller raised section. The base is a rectangular block measuring 44mm in width, 22mm in height, and 3mm in thickness. Centered along the height of the base, add a top extension that is 34mm wide, 2mm high, and 3mm thick.
On both the left and... | $fn = 32;
plateWidth = 44;
plateHeight = 22;
plateThick = 3.0;
topextensionWidth = 34;
topExtensionHeight = 2.0;
topExtensionXPos = (plateWidth - topextensionWidth) / 2;
holeBlockWidth = 5;
holeBlockHeight = 14;
holeBlockThick = 5;
holeDiameter = 2.5;
holeLength = 5.2;
holeYPos1 = holeBlockWidth / 2;
holeYPos2 = 1... | glb/cad_8092dcb764dd.glb |
Create a riser trolley base plate for a paraglider line measurement rig. Start with a rectangular base plate measuring 42mm wide, 45mm long, and 4mm thick.
At the top and bottom edges of the plate, centered along the length, create two rectangular cutouts for vertical wheels, each measuring 12mm wide and 12mm high. O... | $fn = 64;
profileInnerWidth = 44;
ballBearingLength = 24.5;
ballBearingOutDiameter = 15;
ballBearingInDiameter = 8;
basePlateWidth = 42;
basePlateLength = 45;
basePlateThick = 4;
wheelLength = 4;
wheelOutDiameter = 10;
wheelInDiameter = 3;
wheelInDiameterThreadDiam = 2.5;
wheelWasherHeight = 0.3;
wheelWasherDiam =... | glb/cad_07ff639efebf.glb |
Create a Zuse-inspired logic gate demonstration set consisting of a fixed base plate and various guide elements.
Start by creating a fixed rectangular base plate with dimensions 40mm by 35mm and a thickness of 2mm. In this plate, create four circular pin holes with a diameter of 5mm, positioned at the four corners: (... | $fn = 16;
cellRadius = 1.0;
cellSize = 5.0;
layerHeight = 2.0;
pinOffset = 0.15;
stiftDiameter = 4.5;
use <basics.scad>
blechWidth = cellSize * 8;
blechHeight = cellSize * 7;
module festBlech() {
difference() {
hull() {
translate([0 , 0 , 0]) cell(layerHeight);
... | glb/cad_65007f8e9b88.glb |
Create a rectangular plate with a width of 35mm, a height of 15mm, and a thickness of 2mm. From this main body, remove two small cylindrical holes, each with a radius of 1mm. Position the center of the first hole at x=3.75mm, y=2.5mm, and the center of the second hole at x=3.75mm, y=7.5mm. Additionally, add a vertical ... | $fn = 16;
cellRadius = 1.0;
cellSize = 5.0;
layerHeight = 2.0;
pinOffset = 0.15;
stiftDiameter = 4.5;
use <basics.scad>
abBlechWidth = 35.0;
abBlechHeight = 15.0;
module abBlech() {
difference() {
translate([0, 0, 0]) cube([abBlechWidth, abBlechHeight, layerHeight]);
hull() {
tr... | glb/cad_4b272af7f38e.glb |
Create a rectangular plate measuring 15mm wide, 60mm long, and 2mm thick. From this main body, remove two vertical slot-like voids and one horizontal slot-like void. Specifically, create two vertical voids that are 5mm wide and 2mm high, positioned at y-coordinates of 12.5mm and 32.5mm respectively, each starting from ... | $fn = 16;
cellRadius = 1.0;
cellSize = 5.0;
layerHeight = 2.0;
pinOffset = 0.15;
use <basics.scad>
efBlechWidth = 15.0;
efBlechHeight = 60.0;
module efBlech() {
difference() {
translate([0, 0, 0]) cube([efBlechWidth, efBlechHeight, layerHeight]);
translate([cellSize, cellSize * 2.5, -0.1]) du... | glb/cad_49aaae698b07.glb |
Create a Platonic face for a dodecahedron. The shape is a regular pentagonal ring consisting of five identical ribs joined at the corners. Each rib has a length of 50mm and a width of 5mm.
The ribs are not flat blocks but are angled to allow multiple faces to be joined at a specific dihedral angle. To achieve this, t... | ribLength = 50;
ribWidth = 5;
dihedralAngle = acos(-1/sqrt(5));
ribCount = 5;
ribAngle = 360 / ribCount;
ribHeight = ribWidth * tan(dihedralAngle / 2);
innerCircleRadius = ribLength / (2 * tan(180/ribCount));
module bar(width, height, length) {
p1 = [0, 0];
p2 = [width, 0];
p3 = [0, height];
rot... | glb/cad_2bdb7f0b1852.glb |
Create a memory cell read/write bar by starting with a rectangular slab 10mm wide, 70mm long, and 2mm thick. Center this slab on the X-axis. From this main body, remove several geometric sections to create a specific profile: first, remove a 5mm wide by 10mm long rectangular block centered at X=5mm and Y=25mm; second, ... | $fn = 16;
cellRadius = 1.0;
cellSize = 5.0;
layerHeight = 2.0;
blechWidth = cellSize * 2;
blechLength = cellSize * 14;
use <speicherPrimitieven1.scad>
rotate([0, 180, 0]) {
difference() {
translate([0, 0, + 0.01]) cube([blechWidth, blechLength, layerHeight - 0.02]);
translate([cellSize... | glb/cad_525cab0e67aa.glb |
Create a Zuse Z1-Z2 memory cell demonstration model consisting of two coaxial cylinders. First, create a wide, flat circular base with a diameter of 15mm and a height of 2mm. Centered on top of this base, add a second, narrower vertical cylinder with a diameter of 4.5mm and a height of 8mm. | $fn = 64;
cellRadius = 1.0;
cellSize = 5.0;
layerHeight = 2.0;
pinDiameter = 4.5;
blechSize = cellSize * 3;
translate([0, 0, 0]) cylinder(h = layerHeight, d = blechSize);
translate([0, 0, layerHeight]) cylinder(h = layerHeight * 4, d = pinDiameter); | glb/cad_67d6e6cfb308.glb |
Create a memory cell demonstration plate. Start with a rectangular base measuring 50mm wide, 25mm long, and 2mm thick.
From this base, remove several geometric sections to create slots and holes. First, remove a central rectangular block measuring 10mm wide, 5mm long, and 2mm high, positioned 25mm from the left edge ... | $fn = 16;
cellRadius = 1.0;
cellSize = 5.0;
layerHeight = 2.0;
blechWidth = cellSize * 10;
blechLength = cellSize * 5;
use <speicherPrimitieven1.scad>
difference() {
translate([0, 0, + 0.01]) cube([blechWidth, blechLength, layerHeight - 0.02]);
translate([cellSize * 5, cellSize, 0]) tripleYCell();
... | glb/cad_2280b567af22.glb |
Create a Universal Spool Holder by starting with a truncated cone that is 30mm high, with a base diameter of 70mm and a top diameter of 25mm. Center the cone vertically. Remove a cylindrical hole from the center of the cone with a diameter of 22.4mm and a height of 7mm to accommodate a bearing. Bore a vertical hole thr... | bearing_d = 22.4;
bearing_h = 7;
max_d = 70;
min_d = 25;
cone_h = 30;
rod_d = 8.1;
$fa = 1;
$fs = 1;
difference(){
translate([0,0,cone_h/2])cylinder(r1 = max_d/2, r2 = min_d/2, h = cone_h, center=true);
translate([0,0,bearing_h/2-.1]) cylinder(r=bearing_d/2, h=bearing_h, center=true);
translate([0,0,max_d/2+... | glb/cad_1073ad1c6264.glb |
Create a stylized Christmas tree model with a total height of 19mm, constructed from a series of interconnected planks with a uniform thickness of 1mm and a depth of 2mm. The structure is built as a flat, layered geometric assembly.
Start by creating a wide rectangular base plank. From this base, build upwards in a sy... | $fa = 0.1;
$fs = 0.01;
$fn = 50;
MWIDTH = 1;
MDEPTH = 2;
HSTEP = 5;
L1 = (HSTEP+MWIDTH)/cos(30);
L2 = (HSTEP+MWIDTH)/cos(30)+2*MWIDTH/cos(30);
L3 = (HSTEP+2*MWIDTH)/cos(30);
l_bottom = 2*((3*HSTEP+MWIDTH)*tan(30)-2*MWIDTH/cos(30));
module trapez30(l, h, t) {
echo("trapez", l);
linear_extrude(t)
poly... | glb/cad_2efb28ffbaa5.glb |
Create a fruit fly trap lid for a jar. Start with a base consisting of two stacked cylinders: a bottom outer cylinder with a diameter of 66mm and a height of 2mm, and a second cylinder centered on top with a diameter of 59mm and a height of 4mm.
Arrange three identical conical funnels in a ring around the center of t... | Jar_Size = 60.0;
Cones = 3;
Diameter_At_Top = 15;
Height_of_Cone = 25;
Entry_Hole_Diameter = 2;
ID = Jar_Size - 1;
OD = ID + 6;
$fn = 100;
InConePoints = [[0,0],[0,Height_of_Cone],[(Entry_Hole_Diameter/2),Height_of_Cone],[(Diameter_At_Top/2),0]];
OutConePoints = [[0,0],[0,Height_of_Cone],[(Entry_Hole_Diameter/2)+1,H... | glb/cad_148401361121.glb |
Create a Random Hexagon Wall Panel consisting of a 6 by 6 grid of hexagonal prisms. Each hexagon should have a side length of 20mm and a wall thickness of 1mm. The height of each individual hexagon should be randomly assigned between 5mm and 50mm, creating a varied 3D surface.
The hexagons are hollowed out from the to... | x_count = 6;
y_count = 6;
use_backplate = false;
hexagon_side = 20;
hexagon_min_height = 5;
hexagon_max_height = 50;
hexagon_wall_thickness = 1;
hexagon_top_thickness = 2;
seed_value = -1;
use_hanging_holes = true;
wall_hole_thickness = 1;
wall_hole_center_size = 7;
wall_hole_screw_d = 3;
wall_screw_head_s... | glb/cad_fda0442abcb7.glb |
Create a magnetic coupler for flexible tubing. Start by constructing a central hollow tube with an inner diameter of 65mm and a wall thickness of 8mm. The tube should have a total height of 40mm, featuring a slight taper where the outer diameter decreases from 73mm at the base to 67mm at the top.
At the base of this t... | Coupler(73);
module Coupler(size, $fn=100) {
ringNotchDiameter = 16;
magnetDiameter = 8.5;
thickness = 8;
cylinderHeight = 40;
ringHeight = 10;
flangeWidth = 20;
magnetDepth = 5;
hole = size-thickness;
ringDiameter = size + flangeWidth*2;
magnetLoc = ringDiameter/2-fla... | glb/cad_7f6527861249.glb |
Create a Soprano Sax/Clarinet Reed Case consisting of two matching halves and a removable reed bed insert.
Construct the top and bottom case halves as hollowed rectangular shells with rounded corners. Each half should have external dimensions of 95mm width, 80mm height, and 8mm thickness. The walls should be 8mm thic... | $fn=(64);
h = 80;
w = 95;
t = 8;
hinge_r = 2;
hinge_t = 15;
b_hinge_h = 12;
t_hinge_h = 4;
i_hinge_r = 2;
i_hinge_t = 5;
hinge_margin = 0.2;
module top_case(){
difference(){
translate([10,10,0])
minkowski(){
cube([w-20,h-20,t-(t-0.1)]);
cylinder(t,10,10);
}
tr... | glb/cad_236a7eb89f14.glb |
Create a USB cable protector consisting of a rectangular base that transitions into a cylindrical sleeve. Start by creating a rectangular hollow shell with outer dimensions of 8mm width and 15.2mm length, a height of 12mm, and a wall thickness of 1.5mm. The corners of this rectangular section should be rounded with a 0... | width = 8;
length = 15.2;
cableDiameter = 2.4;
height = 12;
connectionLength = 10;
cableCover=10;
thickness = 1.5;
r = 0.5;
t1 = 0.15;
$fa = 1;
$fs = 0.4;
difference(){
union(){
linear_extrude(height){
difference(){
offset(r+thickness){
square([width-2*r, length-2*r], center = true);
... | glb/cad_67c9ad9e5bf0.glb |
Create a flight sim magneto switch component by starting with a cylinder that has a radius of 20mm and a height of 20mm. Intersect this cylinder with a cube that is 10mm wide, 40mm deep, and 20mm high, centered so that the cube's x-axis spans from -5mm to 5mm. From this resulting semi-cylindrical slab, remove a vertica... | $fn = 100;
difference() {
group() {
intersection() {
translate([-5,-20,0]) {
cube([10,40,20]);
}
cylinder(20,20,20);
}
}
cylinder(2,4,4);
translate([0,0,2]) {
cylinder(15,2.9,2.9);
}
} | glb/cad_69018246ce7f.glb |
Create a flight sim magneto switch consisting of a square base plate and a rotary knob. Start with a square plate measuring 60mm by 60mm with a thickness of 3mm. In the center of this plate, create a raised circular hub with a radius of 20mm and a height of 4mm.
At the very center of the hub, bore a vertical hole wit... | $fn = 100;
difference() {
group() {
translate([-30,-30,0]) {
cube([60,60,3]);
}
cylinder(4,20,20);
}
translate([0,0,3]) {
cylinder(5,10,10);
}
translate([-1.5,0,1]) {
cube([3,10,5]);
}
cylinder(5,3.5,3.5);
for (x = [0:40:360]) {
... | glb/cad_8cd3ab725667.glb |
Create a flight sim magneto switch consisting of a circular base plate and a rotating knob. Construct the base plate as a cylinder with a diameter of 40mm and a height of 4mm. In the center of this plate, create a vertical hole with a diameter of 6mm to accommodate a potentiometer.
Around the perimeter of the base pl... | $fn = 100;
difference() {
group() {
difference() {
group () {
difference() {
cylinder(4,20,20);
cylinder(5,18,18);
}
intersection() {
cylinder(4,20,20);
translate([-5... | glb/cad_4a6917bb0436.glb |
Create a clippable brick with a 4x2 grid of studs. The overall base is a rectangular block measuring 32mm in length, 16mm in width, and 9.6mm in height.
The base is hollowed out from the bottom, leaving outer walls with a thickness of 0.8mm. The interior consists of a grid of hollow square cutouts, each 7.2mm wide an... | FastRenderingFactor = 2/9;
$fn = 180 * FastRenderingFactor;
ExtraCutLengthInMM = 0.1;
FirstLevelHightInMM = 0.2;
SinglePrinterLevelHightInMM = 0.2;
BrickWallWidthInMM = 0.8;
SingleBrickOuterWidthInMM = 8;
SingleBrickInnerWidthInMM = SingleBrickOuterWidthInMM - 2*BrickWallWidt... | glb/cad_fcc784de564a.glb |
Create a personalized toothbrush holder. Start with a base block that is 40mm high, with a total length determined by the number of brushes (40mm multiplied by the number of users). The block has a back thickness of 4mm and a ledge depth of 20mm.
The profile of the holder features a cutout to create a ledge. The top ... | $fs = 0.4;
$fa = 1;
holes = ["A", "M", "D", "C"];
hole_diam = 15;
hole_sep = 40;
slit_width = 1;
holder_height = 40;
back_thickness = 4;
ledge_depth = 20;
ledge_thickness = 10;
ledge_offset_ratio = 0.5;
ledge_top_radius = 10;
ledge_bottom_radius = 3;
text_size = ledge_thickness-2;
text_depth = 0.6;
module holder_cu... | glb/cad_02c7dc3ba2fb.glb |
Create a Laptop Tray Headphone Holder by combining a flat mounting base with a protruding hook. Start with a thin, flat rectangular base that is 120mm long, 9mm wide, and 2.5mm thick. Rotate this base 15.5 degrees along its longitudinal axis. Attached to this base, construct a hook assembly with a consistent thickness ... | $fa = 1;
$fs = 0.4;
merge_unit = 0.002;
triangle_length = 120;
triangle_long = 9;
triangle_point = 2.5;
triangle_rotate = -15.5;
hook_height = 55;
hook_width = 30;
hook_thickness = 4;
hook_bottom_length = 45;
hook_tip_length = hook_height/4;
translate([0, 0, -triangle_length/2])
rotate([0, 0, triangle_rotate])
... | glb/cad_b07bde8531f5.glb |
Create a Prusa i3 Parametric PSU cover. Start by constructing a main U-shaped body with a base depth of 98mm, a width of 48.72mm, and a total height of 65mm. The cover should have a wall thickness of 1.6mm.
Cut a large rectangular opening from the top and front to allow the power supply to slide in, leaving a bottom a... | PSU_depth = 98;
PSU_width = 48.72;
PSU_into = 32.8;
PSU_cutout = 16.7;
Electronics_cutout_y = 1.1;
Electronics_cutout_x = 17;
Buttom_cutout = 10;
PSU_wall_thickness = 1.6;
Single_piece = true;
Cover_height = 65;
Labelling ="R1";
Inside_clip = true;
Clip_style = 1;
Clip_x = 19;
Clip_y = 8.9;
Clip_width = 15;
... | glb/cad_e51b96dd7c7c.glb |
Create a tool holder insert for a honeycomb storage wall. Start by constructing a horizontal hexagonal plug base that fits into a honeycomb grid. To this base, attach a cylinder with a diameter of 21mm and a height of 15mm, positioned at coordinates [0, 12.5, 10.44] and rotated 90 degrees on the Y-axis to create a prot... | use <hex_plug_library.scad>;
difference() {
union() {
makeInsertHorizontal() insert(decorations=false);
translate([0,12.5,10.44]) rotate([90,0,0]) cylinder(h=15, d=21);
}
translate([0,11,14]) rotate([14,0,0]) cube([25,10,30], center=true);
translate([0,0,10.25]) rotate([14,0,0]) cube([6... | glb/cad_2c55681ed8a0.glb |
Create a Photo Christmas Ornament consisting of a circular base and a front ring. Start with a base cylinder that has a radius of 27mm and a height of 2mm. Create a recessed circular area in the center of this base by removing a cylinder with a radius of 24.5mm and a height of 0.5mm, leaving a 2.5mm lip around the edge... | ornamentRadius = 27;
ornamentBaseThickness = 2;
photoThickness = .5;
baseLip = 2.5;
hatWidth = 14;
hatHeight = 10;
hookRadius = 5;
hookHoleRadius = 1.5;
ornamentFrontThickness = 2;
ornamentFrontLip = 6;
$fs = 0.15;
module ornamentBase() {
color([.75,.75,.75])
translate([-hatWidth/2,ornamentRadius - baseLip, 0])
c... | glb/cad_d01a1f66b5fc.glb |
Create an Arcade Joystick base. Start with a main body formed by the hull of two centered boxes: one measuring 160mm x 110mm x 60mm and another measuring 169.5mm x 119.5mm x 15mm, both centered on the Z-axis. Apply a 2mm fillet/rounding to all edges.
Remove a large rectangular volume from the top to create a hollow in... | $fn=64;
difference() {
minkowski() {
hull() {
translate([0, 0, 30])
cube([160, 110, 60], center=true);
translate([0, 0, 40])
cube([169.5, 119.5, 15], center=true);
}
cylinder(d=2, h=0.1, center=true);
}
difference() {
... | glb/cad_641cc40ffd19.glb |
Create a geometric kinetic art clock dial with a thickness of 3mm. Start with a main circular disk with a radius of 100mm. Remove a concentric inner circle with a radius of 97mm to create a thin outer rim.
At the exact center of the disk, create a circular hole with a diameter of 5.65mm for the hour hand (or 3.7mm fo... | THICKNESS = 3;
SEGMENTS = 12;
MINUTE_HAND = 3.7;
HOUR_HAND = 5.65;
WHICH = "hour";
module __breakItUp() { }
center_ring_radius = 6;
indicator_radius = 5;
BASE_RADIUS = 100;
module sector(radius, angles, fn = 24) {
r = radius / cos(180 / fn);
step = -360 / fn;
points = concat([[0, 0]],
[for... | glb/cad_ddf4b98c8340.glb |
Create a backplate for a geometric kinetic art wall clock. Start by creating a smooth cylinder with a radius of 100mm and a height of 10mm, centered on the origin. From the center of this cylinder, remove a smaller vertical cylinder with a diameter of 8.2mm and a height of 40mm, also centered on the origin, to create a... | SHAFT_DIAMETER = 8.2;
THICKNESS = 2.3;
MOVEMENT_LENGTH = 60;
difference() {
cylinder(h = 10, r = 100, center = true, $fn = 100);
cylinder(h = 20 * 2, r = SHAFT_DIAMETER / 2, center = true, $fn = 32);
translate([0, 0, -THICKNESS])
cube([MOVEMENT_LENGTH, MOVEMENT_LENGTH, 10 - THICKNESS], center = tru... | glb/cad_4db7fdabd451.glb |
Create an oven and hob knob. Start with a circular base of radius 18.5mm and a total height of 20mm. The base should be a dome-like shape, consisting of a cylinder with a height of 3mm and a radius of 18.5mm, topped with a spherical cap that reaches a maximum height of 8mm. Hollow out the center of this base by creatin... | shaft_rad=6.4/2;
flat_width=4.8;
knob_rad=37/2;
knob_height=20;
shaft_extrude=4.0;
shaft_max_rad=14/2;
handle_width=8.6;
knob_base_max_height=8.0;
knob_base_min_height=3.0;
wall=2.0;
knob_base_total_height=knob_base_max_height+2+shaft_extrude;
knob_fn=80;
module knob_base_form() difference() {
union() {
c... | glb/cad_23ebcf2b5d7e.glb |
Create an MMU variable wall spool holder system consisting of three main components: rod holders, a drybox hook, and spool holders.
For the rod holders, create a block with a height of 20mm and a width of 13mm. Incorporate two vertical holes with a diameter of 10mm to accommodate M8 threaded rods, spaced 100mm apart. ... | use <mixi-shapes.scad>
$fn = $preview ? 24 : 72;
tol = .2;
tol2 = 2 * tol;
tol_nut = tol;
tol_free = 4 * tol;
hld_t = 10;
rod_d_real = 8;
rod_d = rod_d_real + 2 * tol2;
rod_dist = 100;
rod_t = hld_t / 2;
rod_hld_screw_d = 4 + .5;
rod_hld_screw_head = 12 + .5;
bearing625 = [5, 16, 5];
bearing623 = [3, 10, 4];
rol... | glb/cad_1452948b1a69.glb |
Create a shopping cart coin token with a total thickness of 2.4mm. The main body is a rounded rectangular slab approximately 50mm long. At one end, create a circular head with a diameter of 23.3mm and a height of 2.4mm to mimic a coin. Within this circular head, carve out a cylindrical hole with a diameter of 20mm and ... | $fa = 1;
$fs = 0.4;
$fn = 0;
font = "Arial Black";
text1 = "H A P P Y";
size1 = 5;
text2 = " 2 0 2 4";
size2 = 6;
rotate([0, 0, 270]) translate([-11.65, 56, 0]){
difference(){
union(){
cylinder(2.4/4, 11.05, 11.65);
translate([0, 0, 2.4/4]){cylinder(2.4/2, 11.65, 11.65);}
translate([0, 0, 2.4/4*3]){cyli... | glb/cad_1b930305ad37.glb |
Create an ATX-HP PSU adaptor bracket as a rectangular plate with overall dimensions of 150mm in length, 86mm in width, and 15mm in thickness. From the center of the plate, remove a rectangular inner cutout measuring 124.7mm by 59mm, leaving a frame with varying wall thicknesses.
At four specific coordinates, create m... | $fa=0.5;
$fs=0.1;
clearence = 4.2/2;
head = 7.2/2;
bite = 3/2;
thickness = 15;
module recess(x,y) {
translate([x,y,-0.5]) {
cylinder(h=thickness+1,r=clearence);
}
translate([x,y,2]) {
cylinder(h=thickness-2+0.5,r=head);
}
}
module hole(x,y) {
translate([x,y,-0.5]){
cylinder... | glb/cad_3e049796930f.glb |
Create a Rolling Pin Spacer in the shape of a thin ring. The ring should have an inner diameter of 60.1mm and an outer diameter of 64.1mm, resulting in a wall thickness of 2mm. The total height of the ring is 10mm.
On the outer vertical face of the ring, emboss the text "2mm" so that it is recessed into the material ... | rollerDiameter = 60;
play = 0.2;
thickness = 2;
metric = true;
height = 10;
text_depth = 0.3;
text_in = false;
cakeRing(rollerDiameter = rollerDiameter, thickness = thickness, height = height, oversize = play, text_depth =text_depth, metric = metric);
module cakeRing(rollerDiameter, thickness, oversize = 0.2, h... | glb/cad_4608e27abe0c.glb |
Create a customizable napkin ring consisting of a thin circular band and raised text. Start by constructing a hollow cylinder with an outer diameter of 36mm and a wall thickness of 0.6mm. The total height of this base ring is 2.5mm, though the bottom-most 0.6mm is slightly thicker at 2.5mm to provide a stable base.
On... | string="2024";
font_size=10;
step_angle = 24;
font_name="Arial Black:style=Regular";
main_body();
module inner_body() {
linear_extrude(bottom_thickness)
circle_line(size-1.1, thickness=bauble_thickness-1.1);
linear_extrude(height-bottom_thickness)
circle_line(size-1.1, thickness=thickness);
}
module ... | glb/cad_1ad34da3ff0c.glb |
Create a customizable napkin ring consisting of a circular band with embossed text. Start by constructing a thin, flat circular ring with an outer diameter of 18mm and a thickness of 2.5mm. The ring's wall thickness is 0.6mm.
Position the text "2024" so that the characters are arranged in a circle, facing outward, an... | string="2024";
font_size=10;
step_angle = 24;
font_name="Arial Black:style=Regular";
main_body();
module inner_body() {
linear_extrude(bottom_thickness)
circle_line(size-1.1, thickness=bauble_thickness-1.1);
linear_extrude(height-bottom_thickness)
circle_line(size-1.1, thickness=thickness);
}
module ... | glb/cad_391f3281d8ad.glb |
Create a hand knob with a total height of 12mm. The base is a solid cylinder with a diameter of 18mm and a height of 1.5mm. Above this base, create a main cylindrical body with a diameter of 15mm and a height of 10.5mm.
Remove a central vertical hole from the entire height of the object with a diameter of 6.1mm. At t... | $fn = 200;
A = 18;
B = 15;
C = 12;
D = 6.1;
difference(){
knob(A,B,C,D);
}
module knob(outD, inD, H, axisD){
union(){
translate([1.55,-4,3]) cube([3,8,7]);
difference() {
union(){
translate([0, 0, 1.5]) cylinder(h=1.5, r1=outD/2, r2=inD/2, center=false);
cylinder(h=1.5, r... | glb/cad_69e621324ecf.glb |
Create a Lizzard platform consisting of a rectangular base with a hollowed-out center. Start by creating a solid rectangular block measuring 100mm by 100mm with a height of 20mm, centered on the origin. From this block, remove a smaller central rectangular volume measuring 90mm by 75mm with a height of 15mm, positioned... | $fn = 10;
ladder_height = 150;
ladder_width = 45;
support_thickness = 4;
rung_diameter = 3;
numRungs = 8;
module cube_main(){
difference(){
cube([100,100,20],center = true);
translate([10,0,2.51]) cube([90,75,15],center = true);
translate([50,-44,0]) rotate([0,90,0]) cylinder(h=15, r = 2.2,... | glb/cad_bf1fbfecf009.glb |
Create a 10-sided polygonal prism with a height of 120mm and a radius of 5.5mm. The shape should be centered vertically and horizontally, appearing as a decagonal cylinder. | $fn = 10;
cylinder(h = 120, r = 5.5, center = true); | glb/cad_92d1e34bf834.glb |
Create a lizard platform consisting of a rectangular base with a ladder structure. Start by creating a central rectangular block 120mm long, 100mm wide, and 10mm thick.
On the top surface of this block, center a rectangular cutout measuring 15mm by 55mm. To form the side supports, place two cylinders on the left and ... | $fn = 10;
ladder_height = 150;
ladder_width = 45;
support_thickness = 4;
rung_diameter = 3;
numRungs = 8;
module base_ladder(){
difference(){
cube([120,100,10],center = true);
translate([-30,0,2.51]) cube([15,ladder_width+5,25],center = true);
hull(){
transla... | glb/cad_3f55d225444d.glb |
Create a lizard platform consisting of a vertical ladder and a horizontal base. Start by constructing the ladder's side supports using two rectangular prisms, each measuring 4mm by 4mm in cross-section and 150mm in height. Position these supports parallel to each other, separated by a width of 45mm. Connect these suppo... | $fn = 10;
ladder_height = 150;
ladder_width = 45;
support_thickness = 4;
rung_diameter = 3;
numRungs = 8;
module ladder(){
rung_spacing = ladder_height/(numRungs + 2);
union(){
cube([support_thickness, support_thickness,ladder_height]);
translate([ladder_width-support_thickness,0,0])
cube([suppor... | glb/cad_9229e2e2e725.glb |
Create a lizard platform consisting of two identical mirrored components. For each component, construct a main body by creating a hull that encompasses a 20mm cube centered at the origin, a cylinder with a 10mm radius and 20mm height positioned 20mm below the center, and a 10x20x20mm cube shifted 5mm along the x-axis. ... | module stair_connection(){
difference(){
hull(){
translate([65,0,0]) cube([20,100,20],center = true);
translate([65,0,-20]) rotate([90,0,0]) cylinder(h=100, r = 10, center = true);
translate([60,0,-20]) cube([10,100,20],center = true);
}
translate([65,0,0]... | glb/cad_d364cb08933a.glb |
Create a lizard platform consisting of a top base, a connecting stair section, and a floating bottom base. Start with a top base that is a rectangular block measuring 100mm by 100mm with a height of 20mm, centered on the origin. Hollow out the center of this block by removing a smaller rectangular volume of 90mm by 75m... | $fn = 10;
ladder_height = 150;
ladder_width = 45;
support_thickness = 4;
rung_diameter = 3;
numRungs = 8;
module cube_main(){
difference(){
cube([100,100,20],center = true);
translate([10,0,2.51]) cube([90,75,15],center = true);
translate([50,-44,0]) rotate([0,90,0]) cylinder(h=15, r = 2.2,... | glb/cad_63157acd331b.glb |
Create a Shotgun Shell Decapper consisting of two main parts: a top section and a bottom base.
The top section is a spherical handle with a diameter of 50mm, featuring six integrated ridges for grip. In the center, create a vertical octagonal shaft with a radius of 8.75mm. Drill three M3 screw holes through the body,... | shell_rad=20.5/2;
shaft_rad=shell_rad-1.5;
cut_height=2.0;
blade_width=10.0;
blade_thick=0.4;
blade_edge_len=21.5;
blade_step=5.9;
blade_inset=1.5;
body_rad=50/2;
ridge_scale=[0.5,1.1,0.9];
ridge_count=6;
wall=2.5;
plunger_height=8;
screw_inset=8;
screw_length=20;
screw_rad=3.2/2;
screw_count=3;
screw_rotation=0.45;
nu... | glb/cad_1926b22e626a.glb |
Create a camera mount boom consisting of a central rod with spherical snap-fit connectors at both ends. The main rod is 8mm wide and 75mm long.
At the bottom end, create a sphere with a diameter of 18.85mm (13.15mm plus 5.7mm). This sphere should be hollowed out by an inner sphere of 13.15mm diameter. To allow for sn... | rod_len = 75;
cork = true;
cork_depth = 9.5;
cork_dia = 7.0;
snap_dia = 13.15;
pin_dia = 13.15;
snap_w = 5.7;
snap_h_fact = 1.3;
rod_w = 8;
snap_cut_w = 0.5;
snap_cut_h = snap_dia-snap_w;
snap_cut_i = 5;
snap_cutoff_d = snap_dia * 2.1 * snap_h_fact;
snap_sphere_offset = 4;
snap_cutoff_h = snap_dia+1.9*snap... | glb/cad_74b7923cef52.glb |
Create a customizable counter consisting of a circular ring and a separate text element. First, construct the ring by creating a hollow cylinder with an outer diameter of 70mm and a wall thickness of 1mm. The ring should have a total height of 8mm, but the bottom 1mm is a solid circular base with a thickness of 6mm, wh... | string="meses";
font_size=46;
step_angle = 9;
font_name="Carry You:style=Regular";
if ($preview) inner_body();
opentext();
module number(value) {
translate([0,-2]) linear_extrude(height-bottom_thickness*2) intersection() {
translate([0,size]) square([thickness,thickness*2], center=true);
circl... | glb/cad_bd1d8326ee26.glb |
Create a Desiccant Spool Tumbler Opener consisting of a central rectangular key slot and two circular holding ears. Start by creating a central rectangular block with a width of 27mm, a length of 10mm, and a total thickness of 13mm. Within this block, carve out a centered rectangular slot that is 4.8mm wide and 4.5mm h... | SlotWidth = 4.8;
Width = 27;
EarsDiameter = 20;
SlotHeight = 4.5;
MainBodyLength = 10;
EarsTickness = 5;
EarsKeySlotDistance = 2;
$fn = 120;
ToolThickness = 2 * 4 + SlotWidth;
module makeEar() {
difference() {
cylinder(h = EarsTickness, d = EarsDiameter);
translate([-EarsDiameter / 2, 0, 0]... | glb/cad_660be3127970.glb |
Create a funnel for a desiccant spool tumbler. Start with a wide, flat circular base ring that has an outer diameter of 112mm and a thickness of 2mm. From the center of this ring, extend a main cone upwards to a height of 70mm, tapering from an intake diameter of 100mm at the base to an exit diameter of 33mm at the top... | EnableHangingLoop = false;
EnableTipAngleCut = false;
FunnelTopRingWidth = 12;
FunnelTopRingThickness = 2;
MainConeIntakeDiameter = 100;
MainConeHeight = 70;
TipOutputDiameter = 33;
TipIntakeDiameter = 33;
TipHeight = 12;
FunnelTickness = 2;
HangingLoopDiameter = 12;
HangingLoopScrewHole = 6;
TipAngle = 45;... | glb/cad_86fb1951a8c6.glb |
Create a V2 Minimal Filament Spool Holder system consisting of a main hub, an axle, and a threaded cap.
Construct the main hub as a cylinder with a diameter of 56.5mm and a length of 74mm. At the base, add a flange with a height of 1mm and a radius of 29.5mm. The hub should feature a central bore and a threaded secti... | $hubLength = 74;
$hubDiameter = 56.5;
$flangeLip = 3;
$flangeHeight = 1;
$axleDiameter = 8;
$axleLength = 8;
$shimThickness = 0.5;
$axleStubDiameter = 11.1;
$axleStubHeight = 10.1;
$clearance = 0.05;
$totalHeight = $hubLength + 2 * $shimThickness + 2 * $axleLength;
echo("The final width will be", $totalHeight, "mm ... | glb/cad_1f5b7c95a49e.glb |
Create a V2 Minimal Filament Spool Holder consisting of a main hub and a separate axle component. Construct the main hub as a cylinder with a height of 74mm and a diameter of 57mm. At the base of this cylinder, add a thin flange with a height of 1mm that extends the diameter to 63mm. Bore a central vertical hole throug... | Hub_l = 74;
Hub_d = 57;
Flange_lip = 3;
flange_height = 1;
Axle_d = 8;
Axle_l = 8;
Shim = 0.5;
echo("The final width will be", Hub_l + 2*Shim + 2*Axle_l, "mm from tip to tip");
Axle_stubD = 11.1;
Axle_stubH = 10.1;
clearance = 0.05;
translate([0, 0, 0])
difference() {
union() {
cylinder(Hub_l, Hub_d/2,... | glb/cad_2553c7089c5c.glb |
Create a V2 Minimal Filament Spool Holder consisting of a central cylindrical hub and two protruding axle stubs. Start by creating a main hub cylinder with a diameter of 57mm and a length of 74mm. At the center of each flat face of this hub, add an axle stub with a diameter of 8mm and a length of 8.5mm (8mm plus a 0.5m... | Hub_l = 74;
Hub_d = 57;
Flange_lip = 3;
flange_height = 1;
cutoff = 1;
Axle_d = 8;
Axle_l = 8;
Shim = 0.5;
echo("The final width will be", Hub_l + 2*Shim + 2*Axle_l, "mm from tip to tip");
clearance = 0.05;
rotate([90,180,90]) {
translate([0, -(Axle_d/2)+cutoff, 0]) {
difference() {
union() {
cylinder(... | glb/cad_b603ebaf5843.glb |
Create a Symm-Aster Puzzle consisting of three separate pieces, each with a height of 5mm. Every piece is a beveled prism with a base height of 5mm and a specific footprint, from which a star-shaped hole is removed. The star is created by linearly extruding a six-pointed star (formed by six 60-degree rotations of a pol... | h=5;
l=16;
include<puzzlecad.scad>
s3l=sqrt(3)*l;
module spread()
for (i=[0:$children-1]) translate([l*3*i,0]) children(i);
module star()
linear_extrude(h*3, center=true) for (i=[1:6]) rotate(i*60) let (r=l/9) polygon([[0,l/3],[r,0],[-r,0]]);
spread()
{
difference() {
beveled_prism([[0,0],[0,s3l*2],[l*2,0]],h);
... | glb/cad_0ae724985d3e.glb |
Create a Party Popper Pistol, a toy device designed to hold and fire a party popper.
Construct the main frame with a barrel that is 24mm wide, 24mm high, and 95mm long. The barrel should feature a central longitudinal hole with a radius of 1.8mm to accommodate the popper string. At the muzzle end, add a tapered openi... | module box(w,h,d) {
scale ([w,h,d]) cube(1, true);
}
handle_thick=22;
handle_length=65;
handle_width=37;
barrel_width=24;
barrel_length=95;
barrel_height=24;
barrel_rad=5;
string_hole_rad=1.8;
total_height=handle_length+barrel_height;
extn_len=4;
extn_rad=barrel_rad+4;
backstrap_maj=handle_length*0.7;
backstr... | glb/cad_35efd9c5f0b9.glb |
Create an IKEA Samla Box Holder by starting with a rectangular base measuring 148mm in width, 20mm in depth, and 10mm in height. The four vertical edges of this base should be rounded with a radius of 2.5mm.
Create two identical screw holes to be placed symmetrically along the center depth of 10mm. Each hole consists... | holder_width=148;
holder_depth=20;
holder_height=10;
head_size=8;
head_height=4;
thread_width=4;
$fn=150;
module holder_bar() {
linear_extrude(holder_height) {
hull() {
edge_r=2.5;
translate([edge_r,edge_r]) circle(edge_r);
translate([holder_width-edge_r,edge_r]) circle(edg... | glb/cad_a53f3e70b6aa.glb |
Create a stand for an MB senso by constructing a solid base and removing a central void. First, create the main body using a hull operation between two centered rectangular prisms: one measuring 100mm by 1mm by 35mm, and a larger one measuring 140mm by 1mm by 55mm, both centered on the same axis. To create the slot, re... | rotate([90,0,0])
difference(){
base();
translate([0,7,0])disk();
}
module base(){
hull(){
translate([0,20,0])cube([100,1,35],center=true);
translate([0,0,0])cube([140,1,55],center=true);
}
}
module disk(){
union(){
translate([0,271/2,4.3+22])cylinder(2*22,d1=271... | glb/cad_c37d1509d451.glb |
Create a hexagonal picture frame consisting of two separate parts: a front border and a back plate.
For the front border, create a hexagonal ring with an outer diameter of 260mm and a thickness of 1mm. The inner cutout should be a concentric hexagon with a diameter of 250mm, leaving a 5mm wide wall. The cross-section... | sc=1.3;
rotate([180,0,0])scale([sc,sc,1.0])frame();
translate([250,0,0])
rotate([180,0,0])scale([sc,sc,1.0])plate();
module plate(){
difference(){
union(){
translate([0,0,-10])cylinder(5.5,d=174.8,$fn=6);
translate([0,74.8,-8])rotate([0,90,0])rotate([0,0,30])cylinder(15,d=3,center=... | glb/cad_ed191429ec6a.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.