Prompt stringlengths 96 2.17k | Code stringlengths 27 249k | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a HWS Phone Holder by constructing a main rectangular box with exterior dimensions of 89mm width, 19mm depth, and 50mm height. Hollow out the center of this box to create an interior cavity of 85mm by 15mm by 48mm, leaving a 2mm thick wall on the sides and bottom. On the top face of the box, center a cutout in t... | include <hws_insert_util.scad>
module pines(){
union(){
difference(){
translate([-20,9,0])
union(){
$fa = 8;
$fs = 0.25;
tolerance = 0;
decoration = false;
x_pos=0;
y_pos=0;
structure = [ [ 1,1 ] ];
_draw_insert(structure, 0, 0, tolerance, decoration);
_draw_insert(struct... | glb/cad_4223c3432aa6.glb |
Create a rectangular box with outer dimensions of 98mm in width, 75mm in depth, and 45mm in height. Hollow out the center of the box to create an open container, leaving a wall thickness of 1mm on all four sides and a base thickness of 1mm at the bottom. The resulting interior cavity should measure 96mm by 73mm and hav... | b = 98;
t = 75;
h = 45;
difference() {
cube([b, t, h]);
translate([1, 1, 1])
cube([b - 2 * 1, t - 2 * 1, h]);
} | glb/cad_7778b712ff79.glb |
Create a Zero Deflection Stop Block for T-Track Fences. Start with a solid rectangular block measuring 35mm in depth, 66mm in height, and 19mm in width.
Carve out a large rectangular slot from the center of the block to create a thin-walled shell. This slot should leave a wall thickness of 10mm on the outer face and ... | use <knurled.scad>
Stop_Block_or_Knob = "Stop Block";
Fence_Height = 66;
Fence_Depth = 35;
Stop_Block_Width = 19;
Stop_Block_Thickness = 10;
Knob_Diameter = 19;
Knob_Height = 12;
Knurl_Width = 2;
Knurl_Height = 2;
Knurl_Depth = 1;
Chamfer_Height = 1;
Chamfer_Depth = 1;
Bolt_Diameter = 7;
Bolt_Hole_Offset = 10;
Nut_... | glb/cad_70af3073b69f.glb |
Create a pogo pin PCB clamp consisting of two matching mirrored halves, an upper and lower section, designed to hold a circuit board.
For the upper section, create a main rectangular block measuring 65mm by 20mm by 5mm. Attach a rounded end by merging a cylinder with a 25mm diameter and 5mm height to one side. Integr... | color("green")pcb();
upper();
lower();
module upper(){
difference(){
union(){
translate([-50,0,10])cube([60+5,20,5]);
hull(){
translate([-20,10,5])rotate([90,0,0])
cylinder(12,d=9,$fn=50,center=true);
translate([-20,10,11])cube([3... | glb/cad_8751bd513c4d.glb |
Create a display frame for an Inky Impression 7.3" display.
First, construct the front panel as a rounded rectangular block with an outer dimension of 178.4mm x 118.8mm and a total thickness of 11.85mm, using a corner radius of 6mm. Hollow out the center to create a cavity for the PCB that is 171.4mm x 112.1mm, leavi... | include <scad-utils/transformations.scad>
include <scad-utils/lists.scad>
include <scad-utils/morphology.scad>
include <scad-utils/shapes.scad>
include <skin.scad>
render_all = false;
high_quality_render = true;
$fa = $preview ? 12 : (high_quality_render ? 3 : 12);
$fs = $preview ? 2 : (high_quality_render ? 1 : 2);
... | glb/cad_821bc8a01bf5.glb |
Create a rectangular enclosure for an SK60 DC Buck Converter. Start with a solid outer block measuring 43mm in height, 79mm in width, and 73mm in depth. Hollow out the center of this block by removing a smaller rectangular volume measuring 40mm in height, 76mm in width, and 72mm in depth, leaving a wall thickness of 1.... | owidth = 79;
oheight = 43;
odepth = 73;
iwidth = owidth - 3;
iheight = oheight - 3;
idepth = odepth - 1.5;
difference() {
$fn=15;
cube([oheight,owidth,odepth]);
translate([1.5,1.5,-1]) cube([iheight,iwidth,idepth]);
translate([20, 0, 65])
rotate([90, 0, 0])
cylinder(h=20, d=8, center=... | glb/cad_a79f54a2e002.glb |
Create a Barbie Table quadratic type Mikado. Start by creating a square tabletop measuring 150mm by 150mm with a thickness of 6mm. To refine the edges, remove four small 6mm by 6mm square sections from the corners of the tabletop. Along each of the four edges of the tabletop, remove a thin strip 6mm wide and 6mm deep, ... | platte = [150,150,6];
difference() {
union () {
cube( platte , center = true);
for (x = [1,2,3,4])
rotate([0,0,90*x+55.8])
rotate([0,-35,0])
translate( [35,8,50] )
difference() {
cube( [10,10,150] , center = true);
for (x = [1,2,3,4])
... | glb/cad_3eda3c3b4510.glb |
Create a sanding paper mounting jig consisting of a thin circular disk with a diameter of 150mm and a thickness of 2mm.
On the top surface of the disk, center the text "GLS 1" and "150" positioned slightly apart vertically.
Subtract 8 circular holes from the disk, each with a diameter of 10mm. These holes should be... | typ = "GLS 1";
durchmesser = 150;
anzahl = 8;
loch = 10;
lochkreis = 120;
font = "DejaVu Sans:style=Bold";
winkel = 360/anzahl*2;
module nippel(d,h) {
union() {
cylinder(d=d-0.7, h=h, $fn=30);
translate([0,0,h]) sphere(d=d-0.7, $fn=30);
}
}
difference() {
linear_extrude(2) difference() {
color... | glb/cad_bc5e63924a39.glb |
Create a bumper car token by combining two concentric cylindrical elements. First, construct a wide, flat base cylinder with a diameter of 27.5mm and a height of 2.8mm. Centered on top of this base, add a second, smaller cylinder with a diameter of 11.8mm and a height of 5.25mm. Finally, bore a circular hole completely... | $fn=1000;
module token()
{
union()
{
cylinder(h=2.8, d=27.5, center=true);
difference()
{
cylinder(h=5.25, d=11.8, center=true);
cylinder(h=6, d=3.6, center=true);
}
}
}
token(); | glb/cad_900771df6037.glb |
Create a bumper car parking key consisting of a circular base and a rectangular handle. Start by creating a thin cylinder for the base with a diameter of 27.5mm and a height of 2.8mm. From the center of this base, extend a rectangular handle measuring 11.8mm wide and 5.25mm high. This handle should extend 25mm from the... | use <MCAD/regular_shapes.scad>
$fn=1000;
module key()
{
width=11.8;
depth=25;
height=5.25;
cylinder(h=2.8, d=27.5, center=true);
intersection()
{
height=2.8;
translate([0, depth/2, 0]) cube([18, depth, height], center=true);
translate([0, 12, 0]) cylinder(h=height, d=... | glb/cad_8055f0210e91.glb |
Create a vacuum cleaner nozzle hook bracket with a total height of 32mm. Start by constructing a hollow cylinder with an inner diameter of 36mm and a wall thickness of 3.6mm.
On one side of the cylinder, integrate a vertical mounting block that is 10mm wide and extends the full 32mm height of the bracket. This block ... | $fn=100;
bracket_diameter = 36;
bracket_height = 32;
thickness = 3.6;
mount_width = 10;
bolt_hole_dia = 3;
nut_dia = 6;
nut_height = 2.8;
module bracket(){
linear_extrude(bracket_height){
difference(){
circle (d = bracket_diameter + (thickness * 2));
circle(d = bracket_diameter);
}
}
}
module bolt_mount... | glb/cad_0330bbceb400.glb |
Create a central connector for a star kite. Start with a main ring that has an outer diameter of 45mm and an inner diameter of 38mm, with a total thickness of 7mm. Center a 3mm diameter hole through the entire thickness of the ring.
Arrange 8 hexagonal sleeves around the ring, spaced evenly every 45 degrees. Each hexa... | $fn=90;
stab_nackt=3;
stab=stab_nackt+0.5;
scheibe=50;
dicke=stab_nackt+4;
querloch=3;
anzahl=8;
winkel=360/anzahl;
abstand_innen=3+stab/2;
stecktiefe=scheibe/2-abstand_innen;
difference(){
union(){
for(i=[1:anzahl/2]){
rotate([90,0,winkel*i])cylinder($fn=6,d=dicke/0.866,h=scheibe,center=true... | glb/cad_5f9d95a9e902.glb |
Create a clip-top jar seal gasket. Start by constructing a flat, ring-shaped washer with a thickness of 2.2mm. The ring should have an inner diameter of 74.46mm (which is 99% of 75.21mm) and a width of 11mm, resulting in an outer diameter of 96.46mm. To this ring, add a cylindrical pull tab with a radius of 11mm and a ... | lid_diameter = 76;
seal_width = 11;
thickness = 2.2;
pull_tab = 1;
smooth_pull_tab = 0;
r = lid_diameter/2*.99;
union()
{
rotate([0,0,0])
{
build_seal(r,seal_width, 360);
if(pull_tab)
{
build_tab();
}
}
}
module build_seal(radius,width,ang)
{
rotate_extrude(angle = ang, $fn = 100)
... | glb/cad_41635f7f32ce.glb |
Create a pen holder by constructing a conical frustum with a base radius of 35mm and a top radius of 15mm, reaching a total height of 40mm. The base should feature a slight 1mm chamfer. The top surface of the holder is not flat but is angled at 23 degrees relative to the horizontal plane.
Carve a hole through the cen... | baseRad = 35;
topRad = 15;
height = 40;
chamfer = 1;
topAngle = 23;
holeDiam = 13;
$fn = 100;
difference()
{
hull()
{
cylinder(r1 = baseRad - chamfer, r2 = baseRad, h = chamfer);
translate( [0, 0, height] )
rotate( [topAngle, 0, 0] )
cylinder(r1 = topRad, r2 = topRad - chamfer, h = chamfer);
}
tran... | glb/cad_5cbbf66b3b35.glb |
Create a parametric wheel called Ruota parametrica. Start by creating a main outer ring with an outer radius of 40mm, an inner radius of 36mm, and a thickness of 5mm, centered on the origin. At the center of this ring, create a small cylindrical hole with a radius of 2.55mm and a height of 6mm to pass through the entir... | $fn=200;
h=5;
ri=72/2;
re=80/2;
nr=4;
rfi=5.1/2;
difference()
{
union()
{
guarnizione(h,ri,re);
raggi(ri,h,nr);
guarnizione(h,rfi,rfi+2);
}
forint(rfi,h+1);
}
module forint(r,alt){
cylinder(alt,r,r,center=true);
}
module raggi(rai,spe,n){
for(i=[0:n])
{
rotate([0,90,... | glb/cad_289f85a3419e.glb |
Create a Polyhedra construction set piece consisting of a flat, square frame with rounded connector hinges at the corners. The main body is a square ring with an outer dimension of 39mm x 39mm and a thickness of 3mm.
At each of the four corners, integrate a cylindrical hinge mechanism. Each hinge is formed by a centr... | $fa=5;
$fs=0.05;
union() {
rotate(a = [0, 0, 0.0000000000]) {
union() {
translate(v = [0, 25.0000000000, 0]) {
union() {
translate(v = [0, -5.5000000000, 0]) {
cube(center = true, size = [39.0000000000, 3, 3]);
}
translate(v = [-7.5000000000, 0, 0]) {
difference() {
union() ... | glb/cad_270176c5fd38.glb |
Create a Polyhedra construction set piece in the shape of an equilateral triangle. The main body is a flat triangular frame with a thickness of 3mm. The outer boundary of the triangle is defined by a series of connected segments, each 30.95mm long, with a total width of 3mm.
At each of the three vertices, create a rou... | $fa=5;
$fs=0.05;
union() {
rotate(a = [0, 0, 0.0000000000]) {
union() {
translate(v = [0, 14.4337567297, 0]) {
union() {
translate(v = [0, -5.5000000000, 0]) {
cube(center = true, size = [30.9474411167, 3, 3]);
}
translate(v = [-7.5000000000, 0, 0]) {
difference() {
union() ... | glb/cad_b2748770474a.glb |
Create a horizontal mounting bracket for a multi-material unit. Start with a base plate that is 10mm thick. The main body is a flat profile extruded to this thickness, featuring a rectangular section that fits a frame 6.3mm wide and 40.5mm high, with an added 0.2mm padding on the frame dimensions.
Extend a grip secti... | frame_thickness = 6.3;
frame_height = 40.5;
frame_pad = 0.2;
bracket_width = 10;
tooth_height = 1;
grip_thick = 5;
top_tooth = 3.5;
raise = 26;
length = 84.8+2;
inset_front = 6.8+2;
inset_rear = 14.3;
m3_shaft_hole = 3 + 0.2;
m3_head_hole = 5.5 + 0.4;
flange_thick = 3;
$fa = 1;
$fs = 0.01;
difference() {
linear_... | glb/cad_b6ac3b12e2b9.glb |
Create a spool holder consisting of two identical triangular side frames connected by a rectangular base. Each side frame is a triangle with a base length of 135mm, a height of 135mm, and a thickness of 12mm. The two frames are positioned parallel to each other, separated by a distance of 120mm.
At the apex of each tr... | frame_thick = 12;
axle_height = 135;
base_length = 135;
shaft_diameter = 8+0.2;
shaft_length = 120+1;
shaft_pad = 0.4;
f = 0.225;
foot_spacing = (1-f)*base_length;
foot_height = f*axle_height;
foot_width = 40;
foot_hole = 90;
filament_hole_diameter = 4 + 0.2;
filament_hole_height = frame_thick;
filament_hole_inset = 1... | glb/cad_1810752b6dab.glb |
Create a connector for a PET bottle hourglass. The object is a symmetrical vertical cylinder with a total height of 30mm and an outer radius of 15.7mm.
The main body consists of two identical mirrored halves. Each half features a base cylinder with a height of 6mm and a radius of 15.7mm. Centered within this base is ... | hole=2.4;
v1=70;
d1=14;
d2delta=6;
nad_stuplom=15;
module strecha() {
difference() {
hh1=4;
rr1=25/2;
rr2=30/2;
cylinder(h = hh1, r1 = rr1, r2 = rr2, $fn = 100);
}
}
module stupel() {
strieska_nad_stuplom=6;
difference() {
difference() {
u... | glb/cad_9d7858d01bc7.glb |
Create a LACK stand leg extension for a 3D printer. Start by constructing a hollow square column with an outer dimension of 58.7mm by 58.7mm and a total height of 180.7mm. The walls of this column should be 4mm thick, creating an internal square void of 50.7mm by 50.7mm to accommodate a table leg.
Inside the column, a... | lack_leg_side = 50.7;
hole_side = lack_leg_side + 0.2;
extra_height = 120;
wall_thickness = 4;
support_depth = 40;
tabletop_thickness = 50.7;
foot_length = 20;
max_bridge = 10;
leg_inset = 1.35;
wedge_side = max_bridge/sqrt(2)+wall_thickness;
total_length = extra_height + support_depth + foot_length;
$fs = 0.05;
$fa... | glb/cad_5a3d978aa957.glb |
Create a parametric miter box for guiding saw cuts. Start by constructing the main body as a solid rectangular block with a length of 40mm, a width of 48mm (comprising a 28mm inner material space and two 10mm side walls), and a total height of 41mm (consisting of a 10mm base wall and a 31mm internal cavity). The intern... | bladeWidth = 1.5;
materialHeight = 31;
materialWidth = 28;
angle = [34];
bladeChannelVerticalAngle = 0;
miterBoxLength = 40;
wallThickness = 10;
bladeHeight = 50;
bladeLength = 39;
printDetail = true;
difference() {
miterBox();
bladePosition();
displayAngles();
}
function list_to_string(lst) =
str( [... | glb/cad_b5baf3498508.glb |
Create a snap-in buckle replacement by starting with a cylinder that has a radius of 5mm and a height of 30mm, centered on the origin. Intersect this cylinder with a cube that is 10mm wide, 30mm deep, and 8mm high, also centered on the origin, to flatten the sides of the cylinder into a rectangular profile with rounded... | difference(){
intersection(){
translate([0,0,0])
cube([10,30,8],center = true);
rotate([90,0,0])
cylinder(r=5,h=30,$fn=100, center = true);
}
rotate([90,0,0])
cylinder(r=1.7,h=46.2,$fn=30, center = true);
} | glb/cad_62db07ebefac.glb |
Create a Flexible Nextruder Nozzle Box Organizer consisting of a main storage box and a sliding lid.
Construct the box as a rectangular container with an outer width of 96.7mm (calculated from one compartment of 94.2mm plus two 2.5mm walls) and a depth of 13.5mm plus two 2.5mm walls. The total height is 16.5mm (14mm i... | echo("Built using Ultimate Box Generator v3.6.1");
show_box=true;
show_lid=true;
comp_size_deep = 14;
comp_size_x = 94.2;
comp_size_y = 13.5;
wall = 2.5;
repeat_x = 1;
repeat_y = 8;
tolerance=.1;
box_corner_radius=2;
box_corner_radius_axis=[true, true, true];
internal_corner_radius=0;
mesh_corner_radius=0;
corner_fn... | glb/cad_6506296e5b1d.glb |
Create a top clip for a floor lamp by starting with a conical base flange that is 3.5mm high, tapering from a bottom diameter of 30mm to a top diameter of 28.2mm. Centered on top of this flange, place a main cylinder with a diameter of 16.9mm and a height of 15mm. Atop this main cylinder, add a second cylindrical secti... | $fn = 200;
dph = 3.5;
dph_flange = 2.2;
dia_flange_bot = 30.0;
dia_flange_top = 28.2;
dia_cyl = 16.9;
dia_inner = dia_cyl - dph;
z_slot = 15.0;
hgt_slot = 6.4;
wdh_slot = 7.0;
gap_slot = 1.0;
dpt_lock = 2.5;
dia_lock = dia_cyl + 2*dpt_lock;
ang_slot = asin(wdh_slot / (2 * dia_inner / 2));
cylinder(h = dph_flange,... | glb/cad_f55b2f13b018.glb |
Create a fidget spinner embedded parts test model. Start by creating a central bearing holder, which is a spherical shape with a radius of approximately 15.3mm and a total height of 9.8mm. Within this central piece, remove a cylinder with a diameter of 22.4mm and a height of 7.4mm, and also remove a hexagonal prism wit... | bearing_thick = 7;
nut_thick = 7.8;
bearing_dia = 22;
nut_flat_size = 16.9;
pad = 0.2;
nut_hole_size = nut_flat_size - 4;
bearing_hole_size = bearing_dia - 4;
nut_corner_size = (nut_flat_size+2*pad)/cos(30);
wall_thick = 1;
spinner_height = nut_thick+2*pad+wall_thick;
$fs = 0.1;
$fa = 5;
module nut_holder() {
in... | glb/cad_0d32ad31834d.glb |
Create a flashlight tripod mount consisting of a cylindrical base and a hollow sleeve. Start by creating a solid cylinder for the base with a diameter of 30mm and a height of 27.5mm.
Attached to this base, construct a hollow cylindrical sleeve designed to hold a flashlight. This sleeve should have an outer diameter o... | include <BOSL2/std.scad>
include <BOSL2/threading.scad>
t=1.03;
flashlight_height=70;
flashlight_diameter=27;
insert_height=17.5;
insert_diameter=10.3;
insert_head_diameter=11.75*t;
insert_head_height=2.25;
base_diameter=30;
base_height=27.5;
wall_thickness=3;
translate([0,0,base_height-10+wall_thickness+flashlight_d... | glb/cad_fcb51b9b94bf.glb |
Create a card insert for a game box consisting of three rectangular sections aligned side-by-side. The two outer sections are each 114mm wide, 287mm long, and 25mm high. The center section is 61mm wide, 287mm long, and 25mm high. All sections sit on a common base with a thickness of 3mm.
In the two outer sections, car... | card_thickness = 0.6;
card_length = 98;
bottom_thickness = 3;
section_length = 287;
guide_width = 61;
section_width = (section_length - guide_width) / 2;
section_height = 25;
cutout_width = 78;
cutout_bottom = 10;
cutout_slant_height = 8;
cutout_slant_angle = 30;
cutout_rounding_r = 4.5;
module slot(cards) {
tra... | glb/cad_e01131b8703f.glb |
Create a customizable container with a knurled lid. The main body is a cylinder with an inner diameter of 60mm and an inner height of 40mm. The walls and the bottom base should have a thickness of 2mm. The exterior bottom edge of the container features a slight chamfer of 5% of the diameter, while the interior bottom e... | diameter=60.0;
height=40.0;
compartments = 1;
outside_chamfer=5.0;
inside_chamfer=2.5;
wall_thickness=-1;
divider_wall_thickness=-1;
container_bottom_thick=-1;
lid_top_thick=-1;
part = "container_";
backlash=-1;
solid_container=0;
quality=100;
function diameter()=max(8,diameter);
function wall_thickness()... | glb/cad_95dff06aed27.glb |
Create a Double Toilet Paper Holder by constructing a flat base connected to two vertical cylindrical posts. Start with a base plate created by joining two circles, each 32mm in diameter, with their centers spaced 120mm apart. Enclose these circles within a convex hull to form a smooth, pill-shaped platform with a thic... | $fn = 100;
base_diameter = 32;
base_thickness = 2.4;
hook_diameter = 19.8;
hook_height = 98;
distans = 120;
union(){
linear_extrude(base_thickness){
hull(){
circle(d = base_diameter);
translate([distans, 0, 0])
circle(d = base_diameter);
}
}
linear_extrude(hook_height){
circle(d = hook_diameter... | glb/cad_a5382be967a7.glb |
Create a parametric USB-C wall mount as a rectangular base plate with dimensions 35mm wide, 45mm high, and 10mm thick. Round all four vertical corners of the plate with a radius of 3mm.
On the front face, create a grid of slots to hold USB-C connectors. Each slot consists of a central rectangular opening 6.63mm wide ... | $fn = 50;
height = 45;
width = 35;
radius= 3;
usbCCableHolder(height,width,radius);
module basePlate(height, width, radius=5){
difference() {
cube([width, 10, height], center = true);
for (ud=[-1,1]){
for (lr=[-1,1]){
translate([width*0.5*lr,0,height*0.5*ud])
... | glb/cad_1781658b50be.glb |
Create a spool holder base by starting with a rectangular foundation. Construct six rectangular slots, each measuring 127mm by 14.5mm, arranged in a parallel row along the Y-axis. Position these slots at the following Y-coordinates: 0, 17.5, 35, 60, 77.5, and 95mm.
First, create a solid base plate that follows the ou... | echo(version_num());
slot_size = [127, 14.5];
slot_positions = [0, 17.5, 35, 60, 77.5, 95];
module slots() {
offs = slot_positions[len(slot_positions)-1] / 2;
for (y = slot_positions) {
translate([0, y-offs, 0]) square(slot_size, center=true);
}
}
linear_extrude(height=2) offset(3) hull() slots()... | glb/cad_420a0cf3927d.glb |
Create a Tiger Suggestion Box by constructing a stylized, blocky animal figure. Start with a main torso consisting of a 65x65x60mm cube centered at the origin, but hollowed out by removing a smaller 30x10x20mm rectangular slot at the top for suggestions.
For the head, place a 48x35x30mm rectangular prism centered at ... | include<shapes.scad>
module torso(){
color("darkorange")difference(){
translate([-5,0,0])cube([65,65,60], center=true);
translate([-40,33,28])rotate([90,90,90])cylinder(70,8,8,$fn=3);
translate([-40,-33,28])rotate([90,90,90])cylinder(70,8,8,$fn=3);}
}
module head(){
color("darko... | glb/cad_946b85070c8a.glb |
Create a Track Helix Ramp that forms a curved wedge. The shape is a sector of an annulus with an inner radius of 421.5mm and an outer radius of 602.5mm, spanning an arc of 45 degrees. The ramp must transition linearly in height from a starting thickness of 8.3mm at one end of the arc to a finishing thickness of 0.2mm a... | *curved_ramp(
843 / 2, 1205 / 2, 45, 0, 8.3,
19.8, 10, 3.2, 7);
*curved_ramp(
843 / 2, 1205 / 2, 22.5, 0.2, 4.15,
19.8, 10, 3.2, 7);
*curved_ramp(
843 / 2, 1205 / 2, 22.5, 4.15, 8.3,
19.8, 10, 3.2, 7);
curved_ramp(
500-50, 500+50, 45, 10, 25,
10, 15, 3.2, 7,
true);
module curved_ramp(inner_radius, outer_ra... | glb/cad_96ae95fcb039.glb |
Create a drybox filament storage frame with a total height of 6mm. The base is a symmetrical flat plate defined by a complex outer perimeter. Starting from the center, the shape extends outward to approximately 135mm on each side. The outer boundary follows a stepped profile: it reaches a maximum width of 270mm and a d... | difference(){
linear_extrude(height=6){
polygon([[0,18],[58,38],[68,48],[74.05,48],[74.05,38],[81.95,38],[81.95,48],[87,48],[112,23],[130.2,23],
[135.2,18],[134.36,7],[126,0],[117.95,0],[117.95,15],[111.05, 15],[111.05,0],[81.45,0],[81.45,10],[74.55,10],[74.55,0],
[-74.55,0],[-74.55,10],[-81.45,10],[-81.45,0],[... | glb/cad_5acfae3d63e6.glb |
Create a drybox filament storage frame with a total height of 5mm. The base is a symmetrical flat plate defined by a complex polygonal outline. Starting from the center, the shape extends outward to approximately 135mm on each side. The outer edges follow a stepped profile, reaching a maximum width of roughly 270mm.
A... | difference(){
linear_extrude(height=5){
polygon([[0,18],[58,38],[68,48],[74.05,48],[74.05,38],[81.95,38],[82,48],[87,48],[112,23],[129.7,23],
[134.7,18],[133.86,7],[126,0],[117.95,0],[117.95,15],[111.05, 15],[111.05,0],[81.45,0],[81.45,10],[74.55,10],[74.55,0],
[-74.55,0],[-74.55,10],[-81.45,10],[-81.45,0],[-11... | glb/cad_df27b9787246.glb |
Create a drybox for filament storage by constructing a rectangular prism with overall dimensions of 57.7mm in length, 29.5mm in width, and 25mm in height, centered on the origin. At the top surface, centered along the width and positioned 6.4mm above the center point, add a small rectangular bar measuring 5mm by 1.5mm ... | $fn=100;
cube([57.7,29.5,25],center = true);
translate([0,29.5/2,6.4])
rotate([45,0,0])
cube([5,1.5,1.5],center = true);
translate([57.7/2,0,6.4])
rotate([0,45,0])
cube([1.5,5,1.5],center = true);
translate([-57.7/2,0,6.4])
rotate([0,45,0])
cube([1.5,5,1.5],center = true); | glb/cad_6c43ee4c2a6b.glb |
Create a drybox for filament storage consisting of a rectangular base and four small decorative accents. Start by creating a central rectangular block with dimensions of 57.7mm in width, 89.7mm in depth, and 21mm in height. Position this block so it is centered on the X and Y axes and offset by -2mm on the Z axis.
Ad... | $fn=100;
translate([0,0,-2])
cube([57.7,89.7,21],center = true);
translate([57.7/2,30,6.4])
rotate([0,45,0])
cube([1.5,5,1.5],center = true);
translate([57.7/2,-30,6.4])
rotate([0,45,0])
cube([1.5,5,1.5],center = true);
translate([-57.7/2,30,6.4])
rotate([0,45,0])
cube([1.5,5,1.5]... | glb/cad_85c4dfb28394.glb |
Create a drybox for filament storage by constructing a rectangular block with dimensions 57.7mm in width, 29.5mm in depth, and 25mm in height, centered on the origin.
From this main block, remove a central rectangular section measuring 57.7mm wide, 13.5mm deep, and 25mm high, shifted 7mm along the depth axis. Additio... | $fn=100;
cube([57.7,29.5,25],center = true);
difference(){
translate([0,(-29.5-13.5)/2-7,0])
cube([57.7,13.5,25],center=true);
translate([0,-40,-15])
rotate([45,0,0])
cube([60,20,20],center = true);
}
translate([0,-10.25,14.3])
cube([57.7,50,16.6],center=true);
translate([0,29.5/2,6.4])
rota... | glb/cad_17bfab0d30d9.glb |
Create a Technic liftarm beam with a total width of 7.3mm and a height of 16mm. The main body is a rounded rectangular prism formed by the hull of two cylinders with a radius of 3.65mm and a height of 16mm, spaced 48mm apart along the x-axis.
The beam features a sequence of holes and slots spaced every 8mm. At the fir... | holes = "x+xxxx+x";
half_height="false";
$fn=50*1.0;
Pitch = 8*1.0;
Radius1 = 5.0/2;
Radius2 = 6.1/2;
Height = 8*2.0;
Depth = 0.85*1.0;
Width = 7.3*1.0;
Plus_Width = 2.1*1.0;
Overhang = 0.05*1.0;
module body()
{
translate([0, Width/2, 0])
hull() {
cylinder(r=Width/2, h=Height);
translate([... | glb/cad_a04255bfe6c7.glb |
Create a Technic liftarm beam with a total width of 7.3mm and a height of 4mm. The main body is a rectangular slab with semi-circular ends, spanning a total length of 32mm (based on 5 holes spaced 8mm apart).
Along the center axis of the beam, create five holes. The first and fifth holes must be plus-shaped cutouts t... | holes = "+x+x+";
half_height="true";
$fn=50*1.0;
Pitch = 8*1.0;
Radius1 = 5.0/2;
Radius2 = 6.1/2;
Height = half_height=="true"?4.0:7.8*1.0;
Depth = 0.85*1.0;
Width = 7.3*1.0;
Plus_Width = 2.1*1.0;
Overhang = 0.05*1.0;
module body()
{
translate([0, Width/2, 0])
hull() {
cylinder(r=Width/2, h=Height)... | glb/cad_9a924d3cd694.glb |
Create an in-ear headphone travel case consisting of a bottom base and a flat top lid. The overall diameter of the case is 85mm with a total height of 25mm.
For the bottom section, create a cylinder with a radius of 42.5mm and a height of 25mm. Hollow out the center to create a storage cavity with an internal radius o... | $fn = 200;
h = 25;
r = 85/2;
c = 4;
w = 2;
m = 0.1;
mr = 0.1;
ci = c-w;
cm = 0.6;
gm = 2;
ri = 30/2;
hc = 4;
rc = ri-hc;
bottom();
translate(v = [0,0,50])
translate(v = [0,0,h]) rotate([180,0,0]) top();
module bottom() {
difference() {
union() {
cylinder(h = c, r1 = r-c, r2=r);
... | glb/cad_b6010707addc.glb |
Create a Simple Lever Lock Key consisting of a main shaft and a perpendicular head. Start by creating a vertical cylindrical shaft with a diameter of 5mm and a total height of 20mm. At the top of this shaft, add a rectangular head that is 10mm wide, 10mm deep, and 2mm thick, centered on the shaft's axis. To reinforce t... | hole_d=2.5;
hole_h=6.0;
key_d=5.0;
arm_h=6.5;
arm_d=3.0;
arm_w=3.0;
shaft_length=20;
head_th=2;
$fn=64;
difference() {
union() {
translate([-5,-1,shaft_length]) cube([10,head_th,10]);
translate([0,0,shaft_length])cylinder(h=10,d1=key_d,d2=head_th);
cylinder(h=shaft_length,d=key_d);
... | glb/cad_7add7cdd95fa.glb |
Create a protective cover for a solenoid terminal. Start with a main rectangular block measuring 113mm wide, 60mm deep, and 60mm high. Apply a 3mm chamfer to the top front, top left, top right, front left, front right, and back top edges.
Hollow out the center by removing a block 93mm wide, 60mm deep, and 52mm high, p... | include <BOSL2/std.scad>
solenoidWidth=93;
solenoidHeight=52;
overallWidth=solenoidWidth+(10*2);
overallDepth=60;
overallHeight=solenoidHeight+3+5;
widthCableCutout=20;
heightCableCutout=45;
controlCableDiameter=8;
controlCableTotalHeight=25;
holeForScrewDown=5;
difference() {
cuboid([overallWidth,overallDept... | glb/cad_0e784bad249a.glb |
Create a Crockpot knob by starting with a main cylindrical body that has a radius of 22mm and a height of 15mm. Apply a fillet or rounding of 5mm to all outer edges of this cylinder. On the top surface of the knob, add a raised arrow indicator that is centered and aligned with the vertical axis. To create the mounting ... | $fa=1;
hole_size=8;
knob_size=22;
roundness=5;
hole_rotation=0;
module hole(){
difference(){
cylinder(d=hole_size,h=12,$fa=0.1,$fn=60);
translate([0,-hole_size/2,-0.5])cube([hole_size,hole_size,13]);
}
}
module knob(){
difference(){
intersection(){
cylinder(r=knob_size,h=... | glb/cad_b1ba95c3aaae.glb |
Create a Crockpot knob by starting with a cylindrical base 44mm in diameter and 5mm high, with rounded top edges. Centered on top of this base, add a handle that transitions from a 10mm radius at its narrowest point to a 16mm radius at its widest, extending the total height of the knob to 15mm. The handle should be sha... | $fn=60;
$fs=0.01;
hole_size=8;
hole_depth=12;
knob_size=22;
knob_height=15;
base_height=5;
roundness=5;
small_end=5;
large_end=8;
hole_rotation=0;
module hole(){
difference(){
cylinder(d=hole_size,h=hole_depth);
translate([0,-hole_size/2,-0.5])cube([hole_size,hole_size,hole_depth+0.5]);
}
}
modu... | glb/cad_b1087aeb89cf.glb |
Create a spool holder clip designed to fit over a handle. Start by creating a solid block that is 20mm thick. From this block, carve out a central slot that is 4mm wide and 20.5mm high to accommodate the handle.
The outer profile of the object is defined by the intersection of a 50mm by 30mm rectangle and a circle wi... | $fn=90;
show_spool_hole_test_1=false;
show_spool_hole_test_2=false;
assembled=false;
show_bed_test=false;
show_handle_test=false;
platter_mode=false;
module clip(){
linear_extrude(height=20)intersection(){
difference(){
square([50,30],center=true);
square([36,20.5],center=true);
... | glb/cad_54cc0f2a7c94.glb |
Create a number and alphabet block by starting with a solid cube that is 25mm on each side, centered at the origin. On each of the six faces of the cube, carve out a character centered on the surface. The characters to be engraved are "1", "2", "3", "4", "5", and "6".
To create the engraved effect, the characters sho... | draw_block_number= 0;
module draw_text(text=""){
for (i=[1:20]){
translate([0,0,0.1-i*0.1])linear_extrude(height=0.25)offset(delta=-i*0.0625)text(text,size=18,halign="center",valign="center");
}
}
module block(text=[]){
difference(){
cube(25,center=true);
rotate([180,0,0])translate(... | glb/cad_531376267d40.glb |
Create a screw-on foot by constructing a conical frustum with a height of 20mm, a bottom diameter of 20mm, and a top diameter of 20mm, effectively forming a cylinder. Centered on the top surface, add a smaller cylindrical protrusion with a diameter of 6mm and a height of 1mm. Finally, bore a vertical hole with a diamet... | hole_size=6;
screw_size=4.5;
screw_depth=20;
height=20;
raise_height=1;
raise_diameter=6;
top_diameter=20;
bottom_diameter=20;
screw_hole_diameter=4.5;
difference(){
union(){
cylinder(d2=top_diameter,d1=bottom_diameter,h=height);
translate([0,0,height-screw_depth])cylinder(d=raise_diameter,h=screw_d... | glb/cad_9563184a1627.glb |
Create a fit test model consisting of two separate hexagonal prisms, each with a height of 3mm. First, create a solid hexagonal prism with a diameter of 10mm measured from tip to opposite tip. Second, create a larger hexagonal prism with a diameter of 20mm from tip to opposite tip and a height of 3mm. Inside this large... | $fn=6;
tolerance=0.1;
cylinder(d=10,h=3);
translate([20,0,0])difference(){
union(){
cylinder(d=20,h=3);
}
translate([0,0,-0.5])cylinder(d=10+tolerance,h=4);
} | glb/cad_7d5382e3fc15.glb |
Create a replacement twist-style dog cage knob. Start with a base consisting of a cylinder with a diameter of 50.7mm and a height of 2mm. On top of this base, add a second cylinder with a height of 6.5mm, tapering slightly from a bottom diameter of 45.8mm to a top diameter of 45.6mm. Remove a central coaxial cylinder w... | $fn=90;
difference(){
union(){
cylinder(d=50.7,h=2);
translate([0,0,2])cylinder(d1=45.8,d2=45.6,h=6.5);
}
cylinder(d=40,h=6);
translate([50.7/2,0,0])scale([1,2,1])cylinder(d1=1.6,d2=5,h=2);
translate([-50.7/2,0,0])scale([1,2,1])cylinder(d1=1.6,d2=5,h=2);
translate([0,50.7/2,0])s... | glb/cad_b9dd078e6249.glb |
Create a board game organizer tray with an overall footprint of 220mm x 53.8mm x 49mm, featuring rounded corners with a 3mm radius.
From this main volume, remove several rectangular sections to create storage compartments. On the left side, create five stacked slots starting from the bottom: the first is 74mm x 12.3m... | $fn=200;
include <js500Functions.scad>
difference(){
RoundedCube(220,53.8,49,3);
translate([2.4,1.8,1])
cube([74,12.3,100]);
translate([2.4,15.1,1])
cube([74,10.8,100]);
translate([2.4,26.9,1])
cube([74,9.8,100]);
translate([2.4,37.7,1])
cube([74,9.3,100]);
translate([2.4,48,1])
cube([74,4,100]);
translate([39.... | glb/cad_680963cc1f24.glb |
Create a game organizer tray by starting with a rounded cube that measures 116.2mm in width, 85mm in depth, and 42.4mm in height, with corner radii of 5mm. Hollow out the center of this volume by removing a rounded cube measuring 112.6mm by 81.4mm with a height of 43mm and corner radii of 5mm.
To create finger holes f... | $fn=200;
include <js500Functions.scad>
difference(){
RoundedCube(116.2,85,42.4,5);
translate([1.8,1.8,1])
RoundedCube(112.6,81.4,43,5);
translate([0,24,-1])
rotate([0,0,0])
cylinder(h=400, d=30, center=false);
translate([0,61,-1])
rotate([0,0,0])
cylinder(h=400, d=30, center=false);
translate([116.2,24,-1])
rotat... | glb/cad_8fb58c70ddb2.glb |
Create a rectangular block with rounded corners, measuring 7.8mm in width, 12.4mm in depth, and 20mm in height, with a corner radius of 2mm.
From this block, remove two vertical prism-shaped voids that extend through the entire height. The first void is defined by a polygon with vertices at [0,0], [0.5, 5.6], [2.5, 5... | $fn=200;
include <js500Functions.scad>
difference(){
RoundedCube(7.8,12.4,20,2);
translate([2.4,0,-1])
linear_extrude(height=50)
polygon(points=[[0,0],[0.5,5.6],[2.5,5.6],[3,0]]);
translate([5.4,12.4,-1])
rotate([0,0,180])
linear_extrude(height=50)
polygon(points=[[0,0],[0.5,5.6],[2.5,5.6],[3,0]]);
translate([7.4,... | glb/cad_a5be966b43b6.glb |
Create a rectangular organizer tray with rounded corners, measuring 116.2mm in length, 85mm in width, and 18mm in height.
Inside the tray, carve out three parallel channels for dice tiles. Each channel should be 17.5mm wide and 81.4mm long, with a depth of 17mm (leaving a 1mm base). These channels are positioned star... | $fn=200;
difference(){
roundedCube(116.2,85,18);
translate([20.85,0,0]){
translate([0,1.8,1])
for(i = [0:3]){
translate([(i*19),0,0])
cube([17.5,81.4,62]);
}
translate([0,-1,12])
cube([74.5,100,62]);
translate([8.75,42.5,54])
rotate([0,90,0])
cylinder(h=60, d=100, center=false);
for(i = [0:3]){
translate([(i*19)+8... | glb/cad_c4114a8978ac.glb |
Create a rectangular organizer tray with rounded corners, measuring 54.7mm in length, 23.9mm in width, and 11mm in height, with a corner radius of 3mm.
Within this main body, create five identical vertical slots. Each slot is formed by removing a rounded rectangular volume measuring 9.5mm by 21.5mm and 100mm deep, po... | $fn=200;
include <js500Functions.scad>
difference(){
RoundedCube(54.7,23.9,11,3);
for(i = [0:4]){
for(j = [0:0]){
translate([(i*10.7)+1.2,(j*22.7)+1.2,1])
RoundedCube(9.5,21.5,100,2);
translate([0,3,0])
translate([(i*10.7)+5.95,(j*22.7)+11.95,-1])
rotate([0,0,0])
cylinder(h=400, d=9.5, center=false);
translate([0... | glb/cad_384343168d1a.glb |
Create a glass bed clip for a Monoprice Mini Delta printer. The object is a curved segment of a concentric ring system. Start with a base cylinder with a radius of 63.5mm and a total height of 7.1mm.
From this base, remove a central core to create a ring. The inner void consists of two stages: a lower cylinder with a... | $fn=180;
glass_thickness= 3.1;
bed_radius = 57.5;
glass_radius = 63.5;
radius = max(bed_radius,glass_radius);
overhang_thickness = 2;
overhang_width = 5;
above_plate= glass_thickness+overhang_thickness;
plate = 2;
below_plate=1;
height = above_plate + plate + below_plate;
intersection(){
union(){
difference()... | glb/cad_bbc7c8f98a43.glb |
Create a tube corner connector designed to join three square tubes at a right angle. Start by creating three intersecting square prisms, each with an outer dimension of 26mm and a length of 50mm, aligned along the X, Y, and Z axes to form a corner block.
Inside these prisms, remove a central square void of 19.5mm on ... | $fn=20;
inner_size=19.5;
outer_size=26;
insertion_depth=50;
have_bottom=1;
screw_size=3;
fin_thickness=5;
support_height=0.22;
hole_support=1;
module fin(height,width,thickness) {
linear_extrude(height = thickness)
polygon(points=[[0,0],[0,width],[height,0]]);
}
module corner(inner=0,outer=0,depth... | glb/cad_e43584f7506a.glb |
Create a replacement shoe cabinet hinge part. Start by constructing a base shape that combines a central rectangular block measuring 31mm in length, 24mm in width, and 11mm in height, with two semi-cylindrical ends each having a radius of 12mm and a height of 11mm, centered on the ends of the rectangle to form an oblon... | $fn = $preview ? 64 : 64;
$fa = $preview ? $fa : 0.2;
$fs = $preview ? $fs : 0.1;
use <cutout.scad>
module base(){
cylinder(h=11, r=12);
translate([0,-12,0])
cube([31,24, 11]);
translate([19+12, 0, 0])
cylinder(h=11, r=12);
}
difference(){
base();
cutout();
translate([0,0,7])
cylinder(h=5, r=1.5);
translate([31... | glb/cad_95bd36353b78.glb |
Create a shoe cabinet replacement hinge consisting of a base plate with specific cutouts. Start by creating a solid rectangular block measuring 24mm wide, 24mm deep, and 5mm thick. From this block, remove several geometric shapes to create the final form. First, remove a cylinder with a 6mm radius and 5mm height, cente... | module cutout(){
translate([1,0,-0.01]){
cylinder(h=5, r=6);
translate([0,0,3])
cylinder(h=5, r=9);
translate([-3,5.5,5.5])
cube([24,15,5],center=true);
translate([-11,12,2])
cube([24,24,5],center=true);
translate([19+12, 0, 0]){
cylinder(h=5, r=6);
translate([0,0,3])
cylinder(h=5, r=9);
translate([3,5.5,5.5])
cu... | glb/cad_e3d33ba6a67f.glb |
Create a nail polish holder base with a total height of 30mm and a solid bottom thickness of 8mm. The base should have rounded corners with a 5mm radius and a subtle domed top effect created by scaling the top surface to 95% of the base dimensions over the final 3mm of height.
Carve out a series of tapered trapezoidal... | layout = [3, 2, 3, 2, 3, 2];
bottle_front_width = 36;
bottle_back_width = 12;
bottle_depth = 18;
bottle_height = 60;
corner_radius = 3;
base_corner_radius = 5;
base_height = 30;
solid_base_height = 8;
wall_margin = 5;
dome_height = 3;
dome_scale = 0.95;
spacing = 8;
row_spacing = 4;
pair_spacing = -6;
max_wells_per... | glb/cad_d65c222379f8.glb |
Create a Stackable DIMM/SODIMM Tray designed to hold memory modules. Start with a rectangular base frame measuring 139mm by 71mm with a height of 13mm and wall thickness of 2.5mm.
Inside this frame, create two sets of slots. Along the X-axis, create a series of slots for SODIMMs, each 2mm wide with a 2mm gap between ... | slot = 2;
dimm = 134;
sodimm = 68;
abstand = 2;
barepcb = 3;
spiel = 1;
wand = 2.5;
boden = 1.5;
wandhoehe = 13;
steg = 4;
pillarx = 6;
pillary = 4;
pillarz = 35;
clearence = 1;
realdimm = dimm + spiel;
realsodimm = sodimm + spiel;
nsodimm = floor((realdimm - 2 * barepcb) / (slot + abstand));
ndimm = floor((realsod... | glb/cad_3712dacc0771.glb |
Create a Breadboard Holder for ESP32 by constructing a flat, rectangular frame with an overall width of 115mm, a length of 170mm, and a uniform thickness of 2mm. The frame consists of an outer boundary wall 1.5mm thick. Inside this boundary, create two symmetrical rectangular compartments on the left and right sides. E... | id_width = 115;
id_height = 170;
id_depth = 2;
wall_thickness = 1.5;
inner_cube_width = 49;
inner_cube_height = 170;
center_cube_width = 14;
difference() {
cube([id_width, id_height, id_depth]);
translate([wall_thickness, wall_thickness, 0])
cube([id_width - 2 * wall_thickness, id_height - 2 * wall_th... | glb/cad_b8fa07b3aa6f.glb |
Create a Chipolo mount for a bicycle saddle. Start with a base that is a combination of a rounded cube and a cylinder. The main body is a rounded square measuring 22mm by 22mm with a height of 4mm and corner radii of 3mm. Integrate this with a cylindrical section that has a diameter of 42mm and a height of 1mm, centere... | $fn=200;
module chipolo() {
color("white") hull(){
cylinder(h=6.4,d=38,center=true);
sphere(d=7.3);
}
};
module rounded_cube(x,y,h,r=2) {
x_actual=x-2*r;
y_actual=y-2*r;
hull(){
translate([-x_actual/2,-y_actual/2,0]) cylinder(h=h,r=r,center=true);
translate([-x_actu... | glb/cad_47b97008c76d.glb |
Create a Key Fob case with a main rectangular body measuring 80mm in length, 40mm in width, and 11mm in height. The overall form should be a rounded rectangular slab.
Within this body, create a central cavity to house the electronics. To secure the internal components, add six M3 screw holes with socket head dimensio... | include <Round-Anything/polyround.scad>
include <BOSL2/std.scad>
include <BOSL2/screws.scad>
include <BOSL2/polyhedra.scad>
use <KeyFobCavity.scad>
radiiPointsVolume=[
[0, 0, 5 ],
[0, 32.5, 3],
[5.75, 45.5, 3],
[19.75, 45.5, 3],
[25.5, 32.5, 3 ],
[25.5, 0, 5],
];
$fn=100;
difference(){... | glb/cad_b24eaa2ef98b.glb |
Create a key fob case consisting of a main body and a surrounding ring. The main body is a rounded rectangular volume defined by a profile with vertices at [0, 0] with a 5mm radius, [0, 32.5] with a 3mm radius, [5.75, 45.5] with a 3mm radius, [19.75, 45.5] with a 3mm radius, and [25.5, 32.5] with a 3mm radius, and [25.... | include <Round-Anything/polyround.scad>
include <BOSL2/std.scad>
include <BOSL2/polyhedra.scad>
$fn=100;
radiiPointsVolume=[
[0, 0, 5 ],
[0, 32.5, 3],
[5.75, 45.5, 3],
[19.75, 45.5, 3],
[25.5, 32.5, 3 ],
[25.5, 0, 5],
];
radiiPointsButton1=[
[2, 6.5, 1.5 ],
[13.5, 21.5, 9],
... | glb/cad_cbddbf66e398.glb |
Create a mold for casting silicone feet and a corresponding internal skeleton.
First, construct the mold body. Create a base consisting of four beveled cylinders arranged in a 2x2 grid with 14mm spacing. Each cylinder has an outer diameter of 21mm and a total height of 14mm (7mm bottom thickness plus 7mm rubber heigh... | include <lib_markus.scad>
rubberHeight = 7;
drill = 1.6;
bottomThickness = 7;
moldOuterDiameter = 24.5-1.5-2-1;
funnelTopOuterDiameter = 30;
topHeight = 18-7;
count = 2;
distance = 14;
difference() {
mold();
translate([0,-50/2+distance/2,0]) cube(size=[60,50,80], center=true);
}
color([0.9, 0.9, 0]) differenc... | glb/cad_cc4c21f1f910.glb |
Create a DSO 150 USB C PD plate mod by constructing a base plate with a total width of 58.4mm, length of 17mm, and a total height of 2mm. The plate consists of a bottom layer 0.8mm thick with 3mm rounded corners, and a centered top section 1.2mm thick with a width of 55.8mm, length of 15mm, and 1mm rounded corners.
Cu... | $fn = $preview ? 16 : 128;
width = 58.4;
length = 17;
height = 2;
h1 = 0.8;
h2 = height - h1;
w2 = 55.8;
l2 = 15;
r1 = 3;
r2 = 1;
9v_hole_diam = 6.9;
9v_hole_offset = [3, 6.7];
switch_hole_size = [5.7, 4.6];
switch_hole_offset = [17.8, 8.5];
usbc_hole_size = [9.0, 3.2];
usbc_hole_offset = [40.5, 3];
usbc_hole_ra... | glb/cad_1f3e98ec56da.glb |
Create a HeaterMeter v4.3 Customizable Case consisting of two matching halves. The main body is a rectangular box with an interior width of 96.27mm, depth of 101.6mm, and a height of 32.5mm. Use a wall thickness of 2.0mm and a face thickness of 1.45mm.
For the bottom half, create a hollow shell with rounded exterior c... | Control_Probe = "Thermocouple";
Pi_Model = "3B/2B/1B+";
Pieces = "Both";
ThermistorJack = 1;
LCD = 1;
wall = 2.0;
wall_t = 1.45;
body_chamfer_height = 1.5;
MouseEarHeight = 0;
MouseLegHeight = 0;
NutHardware = 2;
body_corner_radius = wall*2-1/2;
w_off = 0.5;
d_off = 2.0;
w = inch(3.725)+0.7+w_off;
d = inch(3... | glb/cad_dce30ca61486.glb |
Create a Filament Reels Holder consisting of two identical joined end-blocks connected by a central bridge. Each end-block is formed by the convex hull of two intersecting cylinders: a vertical cylinder with a diameter of 23.3mm and a height of 20mm, and a horizontal cylinder with a diameter of 20mm and a height of 20m... | $fa=1;
$fs=0.4;
v_cap = false;
h_cap = false;
v_inner_d = 19.3;
inner_d = 16;
thick = 4;
hor_space = 134;
height = inner_d + thick;
tol = 0.1;
difference()
{
union()
{
Legs();
translate([hor_space,0,0]) mirror([hor_space,0,0]) Legs();
translate([0,-(thick*2),-(height/2)]) cube([hor_space, thick*... | glb/cad_15d005dc5223.glb |
Create a Euro Lock Cylinder model. Start by constructing a central cylinder with a diameter of 16mm and a height of 10mm, centered on the origin. To this central core, add a hull-shaped extension rotated 60 degrees on the Z-axis, defined by a central cylinder of 2.5mm diameter and two outer cylinders of 1.5mm diameter ... | $fn = 100;
eps = 0.01;
angle = 60;
module euro_profile(front_length=30, back_length=30) {
union() {
translate([0, 0, -back_length]) {
cylinder(h=front_length+back_length, d=17);
translate([19.5, 0, 0])cylinder(h=front_length+back_length, d=10);
translate([0, -5, 0])cube(... | glb/cad_2828f4823a50.glb |
Create a Rotary Dial Bell Standard PTT. Start with a main circular disc with an outer diameter of 79.2mm and a total thickness of 7.5mm. The disc features a tiered structure: the outer ring has a thickness of 3.5mm, while the inner section, with a diameter of 45.8mm, has a thickness of 5.5mm.
At the center, create a ... | $fn =100;
os=.2;
osd = 79.2;
isd = 45.8;
isdd =1.5;
rd1 = 3.5;
rd2 = 5.5;
rb = 17.8;
chd= 16.5;
ch= 11+os;
chw= 8.5+os;
ct=4.5;
td=7.5;
fhd=13;
fhe=2.2;
icd=44;
icd2=33;
main();
module main(){
color("darkslategray",1)
union(){
difference(){
dial ();
cylinder(td*2,d=chd,center=true);
holea... | glb/cad_28792919cb0e.glb |
Create a parametric base for fridge bottle holders. Start by creating a rectangular slab with a height of 3mm, a width of 222mm (calculated as 72mm multiplied by 3 instances plus two 3mm lips), and a depth of 145mm. Centered on this slab, construct a raised ridge system. The ridge consists of two parallel bars, each 80... | instances = 3;
$fn=20;
lip_width = 3;
height = lip_width;
cube([72*instances+2*lip_width,142+lip_width,height]);
module ridge() {
intersection() {
cube([lip_width,80,height*2]);
rotate([-90, 0, 0])
translate([height, -height, 0])
cylinder(80, height, height);
}
}
translate([... | glb/cad_5b11c126a339.glb |
Create a Palermo Light Bracket designed to hold a tube. Start with a central rectangular base block measuring 40mm in depth, 37.5mm in width, and 13mm in height. This base is mirrored across its center to create a symmetrical dual-base structure.
Carve three intersecting channels through the center of the base to acco... | $fn=50;
td=13;
toz=0.5;
bw=37.5;
bd=40;
bh=13;
lw=bw;
ld1=14;
ld2=18;
lh=4;
lp=0.2;
leo=2.5;
cho1=14.5;
cho2=42.5;
dual_base();
latch();
module base(){
difference(){
translate([0,0,-td/2])cube([bd,bw,bh],true);
cross();
}
}
module chamfer(){
translate([-cho1,-bw/2,-td-td/2-3*lp+lp/4]... | glb/cad_ff12dd66fdf1.glb |
Create a Verosol shade mounting bracket consisting of two perpendicular plates: a bottom base plate and a vertical mounting plate.
The bottom base plate is a rectangular block 28mm long, 23mm wide, and 5.6mm thick. It features a central recessed well 17.2mm long and 17.2mm wide (leaving 1.9mm walls), with a depth of 3... | $fn=100;
bw = 23;
bl = 28;
br = 1;
bt = 5.6;
bwd = 3.4;
bww = 1.9;
bll = 5.6;
blt = 2;
blr1= 3.9;
blr2= 5;
bwl = 17.2;
bhw = 4.7;
bhl = 11.6;
bf = 2;
bwt = bw - 2*bww;
bws = bl-bll-bwl;
bwh = bt-bwd;
vl = 8.8;
vw = 35;
vh = 23;
vg = 1;
vsw = 12.5;
vb = 3.4;
vs = 1.9;
vhd = 5;
vhyr = 8;
vhxr = 5.2;
vvhd = 3.4;
vgl= 1... | glb/cad_d6ca8127dde4.glb |
Create a sewing machine seam guide with a total length of 42mm, a thickness of 4.4mm, and rounded ends with a diameter of 16mm. The main body is a pill-shaped slab formed by the hull of two 16mm diameter cylinders placed 42mm apart.
On the top surface, create two circular recessed holes for magnets. Each hole must ha... | $fn=100;
magnet_dia = 10;
magnet_thickness = 2.5;
diameter = 16;
length = 42;
height = 4.4;
radius = 1;
tolerance = 0.5;
overlap = 0.5;
module base(){
difference(){
hull(){
cylinder(h = height, d = diameter);
translate([length, 0, 0])
cylinder(h = height, d = diameter);
}
translate([magnet_d... | glb/cad_13360b4f6531.glb |
Create a beveled miniature base with an overall width of 50mm and a length of 90mm. Start by forming the central platform as an elliptical cylinder with a height of 3.5mm and dimensions of 40mm by 80mm. Surround this center with a raised outer rim that is 5mm wide and 4mm high. The transition from the central platform ... | use <bioinfscripts/models/path_extrude.scad>
w = 50;
l = 90;
h = 3.5;
rim_w = 5;
rim_h = 4;
resolution = 360;
path = [for(a = [0:(360/resolution):359])
[cos(a)*(w/2-rim_w), sin(a)*(l/2-rim_w), 0]];
arc_points = concat([[0,0]],[for(a = [0:(90/resolution*4):90])
[cos(a)*rim_w,- sin(a)*rim_h]]);
path_extrude(exR... | glb/cad_c4092c49fe62.glb |
Create a Maker Coin, which is a decorative circular token with a diameter of 40mm and a total height of 10mm. The coin's perimeter is not a smooth circle but features 8 evenly spaced protruding arms, each 5mm wide, separated by scallops that dip 2mm inward from the outer edge.
The bottom edge of the coin is rounded wi... | use <alphabet_points.scad>;
arm_count = 8;
bottom_fillet_radius = sqrt(2);
upper_fillet_radius = 5;
arm_width = 5;
coin_diameter = 40;
scallop_depth = 2;
coin_height = 10;
upper_height = -5;
outer_res = 0.5;
function chord_radius(cw, ch) =
(ch^2 + (cw/2)^2) / (2 * ch);
function flatten(input, pos = 0, val... | glb/cad_51cb584be593.glb |
Create a solid rectangular puck designed to fit inside a small tin. The overall dimensions of the block must be 91mm in length, 56.2mm in width, and 18.5mm in height. All four vertical edges must be rounded with a corner radius of 13mm. Ensure the geometry is a solid volume with no hollow interior or wall thickness. | puck_length = 91;
puck_width = 56.2;
puck_height = 18.5;
puck_radius = 13;
puck_thickness = 0;
$fn = 50;
module puck(ll, ww, hh, rr, tt = 0)
{
module puckblock(ll, ww, hh, rr)
{
linear_extrude(height=hh)
hull()
{
translate([((-ww/2)+rr), ((ll/2)-r... | glb/cad_2c1e1bbca50d.glb |
Create a tinywhoop tophat FPV antenna protector by constructing a hollow cylinder. Start with an outer cylinder that has a height of 32mm and a radius of 4.5mm. From the center of this shape, remove a smaller concentric cylinder with a height of 34mm and a radius of 3.5mm to create a tube with a wall thickness of 1mm. ... | $fn=100;
difference(){
cylinder(h=32,r=4.5,center=true);
cylinder(h=34,r=3.5,center=true);
} | glb/cad_e6dc2c6d2910.glb |
Create a monitor stand for a 4.3-inch FPV monitor. Start by creating a rectangular base plate that is 145mm wide, 14mm deep, and 5mm thick. From this base, extend a vertical back panel that is 145mm wide and 80mm high with a thickness of 5mm. Attach this panel to the base so that it rises upward, creating a supportive ... | width = 145;
height = 80;
depth = 14;
thickness = 5;
stand_width = width / 3;
angle = 90;
translate([-(width - stand_width)/2, 0, 0])
translate([0,-depth,thickness])
#%cube([width, depth, height]);
translate([0,thickness/2,thickness/2])
{
hull(){
rotate([0,90,0])
cylinder(stand_width, r=thick... | glb/cad_d94534859a68.glb |
Create a sun shade for a monitor with a width of 145mm, a depth of 15mm, and a height of 80mm. Start by creating a flat connection plate that is 145mm wide, 15mm deep, and 3mm thick, positioned at the top of the monitor's height.
From this plate, extend a top shade canopy that is 110mm wide, 60mm deep, and 3mm thick.... | width = 145;
height = 80;
depth = 15;
thickness = 3;
shade_width = 110;
shade_depth = 60;
shade_height = shade_depth;
antenna_r = 5;
antenna_distance = 72 + (antenna_r * 2);
module cube_round(
size=[1,1,1],
r=5,
center=false,
hull=true,
corners=[true, true, true, true]
) {
module _corne... | glb/cad_88c8f6fdc864.glb |
Create a monitor mount adapter by starting with a rounded rectangular block that is 40mm high, 11mm wide, and 11mm deep, with corner radii of 5mm. From this main body, remove a central square channel that is 11mm wide, 11mm deep, and runs the full 40mm height of the part. To allow for mounting hardware, create two circ... | height=40;
width=90;
thickness=4;
makerbeam=11;
hole_radius=2;
module cube_round(
size=[1,1,1],
r=5,
center=false,
hull=true,
corners=[true, true, true, true]
) {
module _corners(){
if(corners[0]){
translate([r, r, 0])
cylinder(h=size[2], r=r, center=false);
... | glb/cad_556fae827d67.glb |
Create a popup handle for a glass lid consisting of a rectangular base and a cylindrical hinge. Start with a rectangular block measuring 60mm in length, 40mm in width, and 4mm in height. At one end of this block, integrate a cylindrical hinge assembly. This hinge is formed by a cylinder with a 9mm diameter and 10mm len... | $fn=100;
module griff()
{
difference()
{
minkowski() {cylinder(d=41.188,h=10,center=false,$fn=3);sphere(d=5);};
translate([0,0,15]) cube([50,50,10], center=true);
translate ([0,0,8]) cylinder(d=3.5,h=8,center=true);
translate ([17.20,0,8]) cylinder(d=3.5,h=8,center=true);
rotate([0,0,120]) translate([-25,0,0]) cylind... | glb/cad_7afde4a9e7cc.glb |
Create a Cycling Battery Storage container by starting with a solid cylinder 39.2mm in diameter and 30.5mm in height. From the center of this cylinder, remove a trapezoidal threaded internal cavity that is 36mm in diameter and 32mm long, featuring a thread pitch of 10mm, a thread depth of 8/3mm, a thread angle of 50 de... | use <BOSL/threading.scad>
use <knurled.scad>
$fn=200;
difference(){
cylinder(d=39.2,h=30.5);
trapezoidal_threaded_rod(
d=36,
l=32,
pitch=10,
thread_depth = 8/3,
thread_angle = 50,
starts=4,
center=false,
$fa=2,
$fs=2
);
}
translate([... | glb/cad_90369724af40.glb |
Create a Cycling Battery Storage container. Start by constructing a trapezoidal threaded rod with a diameter of 35mm, a length of 30mm, a pitch of 10mm, a thread depth of 8/3mm, a thread angle of 50 degrees, and 4 starts. From this main body, remove a central cylindrical void with a diameter of 21mm and a height of 4mm... | use <BOSL/threading.scad>
use <knurled.scad>
$fn=200;
module cr1(){
cylinder(h=120,d=12);
}
module cr2032(){
cylinder(h=4,d=21);
translate([-10,0,0]) cube([20,50,4]);
}
difference(){
trapezoidal_threaded_rod(
d=35,
l=30,
pitch=10,
thread_depth = 8/3,
thread_an... | glb/cad_9d859ab386c2.glb |
Create a candy tin can divider by starting with a hollow cylinder that has an outer diameter of 74mm, a height of 20mm, and a wall thickness of 1mm. Inside this outer ring, create a concentric circular void with a diameter of 35mm to form a central core. To partition the space between the inner core and the outer wall,... | fn = 100;
diameter = 74;
height = 20;
diameter_in = 35;
tickness = 1;
divider = 8;
module tin_can_divider(diameter, height, diameter_in, tickness, divider, fn){
difference(){
cylinder(h = height, d = diameter, $fn = fn);
translate([0, 0, tickness])
cylinder(h = height - tickness * 0.1, d = ... | glb/cad_c4e06f171efd.glb |
Create a pull cord switch replacement part consisting of four identical geometric units arranged in a rotational pattern. First, construct a single unit by combining a cylinder with a radius of 5.5mm and a height of 5.85mm with a smaller cylinder of radius 4mm and height 7.34mm. From this combined shape, remove a centr... | module eigth() {
radius = 5.5;
height = 5.85;
difference() {
cylinder(h=height,r=radius);
translate([-radius,0,0]) {cube([2*radius,radius,height+1]);};
rotate([90,0,0]) {cube([radius,2*radius,height+1]);};
rotate([0,0,-140]) {cube([radius,2*radius,height+1]);};
transla... | glb/cad_fd5b42d2905a.glb |
Create a Powdered Brewers Wash scoop by constructing a hollow rectangular box with a handle. Start with an outer cube measuring 37.3mm in width and depth, and 35.3mm in height. Create the interior cavity by removing a smaller cube of 33.3mm width and depth, starting from a height of 2mm, leaving walls that are 2mm thic... | cube_side = 33.3;
wall_size = 2;
module vertical_support(radius=0, width=2, solid_space=0.6) {
difference() {
cube([width, radius, radius]);
translate([0, -solid_space, -solid_space]) rotate([0,90,0]) cylinder(h=width*2+1, r=radius, center=true);
}
}
module scoop () {
cube([cube_side+wall... | glb/cad_5a7ee384450c.glb |
Create a hanging flowerpot consisting of a cylindrical container and an integrated mounting hook. The main body is a cylinder with an outer diameter of 130mm and a total height of 90mm. This cylinder is hollowed out to create a pot with an inner diameter of 120mm and an inner height of 80mm, leaving a bottom base thick... | module planter(diameter, height, wall_thickness, bottom_thickness, handle_width, handle_thickness, handle_offset, handle_length, hook_length, hook_thickness) {
handle_length = handle_length+hook_thickness+wall_thickness;
diameter = diameter + 2 * wall_thickness;
side_thickness = wall_thickness;
faces =... | glb/cad_f5eae9d84386.glb |
Create a RadioMaster ER6 Mounting Bracket. Start by constructing a hollow rectangular base with outer dimensions of 46.1mm in length, 28.2mm in width, and 15.5mm in height, using a wall thickness of 1.5mm. The four vertical corners of this base should be rounded with a 2mm radius.
Inside this base, create a rectangula... | receiverL1 = 43.1;
receiverW = 25.2;
receiverH1 = 14;
wall = 1.5;
hole1H = 11;
hole1W = 31;
hole2W = 19;
receiverL2 = 32;
module rcube(size, radius) {
hull() {
translate([radius, radius]) cylinder(r = radius, h = size[2]);
translate([size[0] - radius, radius]) cylinder(r = radius, h = size[2]);
... | glb/cad_0f564ecaf949.glb |
Create a mounting bracket for a Philips 18W LED batten. Start with a solid rectangular block measuring 30mm in length, 30.2mm in width, and 7.7mm in height. Hollow out the center of the block to create a channel that is 24.8mm wide, 30mm long, and 4.7mm deep, leaving a wall thickness of 2.5mm on the sides and a base th... | $fn=100;
wt = 2.5;
bw = 25.2+2*wt;
bt = 3;
bl = 30;
gb = 3.2;
gd = 1.25;
gh = 3.5;
gf = 1;
hd = 3;
gr = 2.8;
assembly();
module assembly(){
difference(){
body();
translate([0,wt+gd,bt])cube([bl,bw-2*wt-2.0*gd,bt+gb+gh]);
translate([0,0,bt+gb+gh])body();
groove();
}
};
mod... | glb/cad_ceb18f96ca04.glb |
Create a parametric linear bearing rail with a total length of 200mm, a width of 15.9mm, and a height of 12.7mm. Along both long sides of the rail, carve out V-shaped notches that run the full length of the object. Each notch should be 6mm wide and 2.55mm deep, positioned such that the notch begins 7.7mm from the botto... | rail_width = 15.9;
notch_width = 6;
rail_height = 12.7;
notch_depth = 2.55;
notch_angle = 90;
notch_offset = rail_height-7.7;
endstop_hole_diameter = 6.25;
endstop_hole_offset = 3;
rail_length = 200;
hole_count = 2;
hole_diameter = 4;
countersink_diameter = 8;
countersink_depth = 2;
hole_spacing = (rail_length-((ends... | glb/cad_9693d35f3c64.glb |
Create a precision tool handle and a separate spinning cap.
For the handle, create a main body 98.5mm long. The base is a cylinder with a diameter of 13mm, transitioning over 48mm into an octagonal profile with a diameter of 7.5mm. The top section of the handle is a tapered octagon that narrows to a diameter of 11mm.... | $fa = 2;
$fs = 0.5;
inch = 25.4;
bit = 0.01;
inf = 1e3;
ext_w = 0.5;
ext_h = 0.2;
fit_press = 0.2;
fit_loose = 0.6;
show = 0;
shank_l = 50;
shank_d = 3;
shank_hole_d = shank_d + fit_press;
bevel = 0.6;
joint_hole_d1 = 8;
joint_hole_d2 = 9;
joint_d1 = joint_hole_d1 - fit_loose;
joint_d2 = joint_hole_d2 - fit_loose;;... | glb/cad_098f7ed9914d.glb |
Create a hairband repair connector by starting with a solid rectangular block measuring 15mm in length, 10.5mm in width, and 5.1mm in height. From this block, remove two rectangular sections to create a hollowed-out channel. First, carve out a central rectangular slot that is 15mm long, 8.1mm wide, and 2.7mm high, posi... | $fn=60;
sl=15;
sd=1.2;
db=8.1;
dd=2.7;
body();
module body(){
difference(){
cube([sl,db+2*sd,2*sd+dd]);
translate([0,sd,sd])cube([sl,db,dd]);
translate([0,sd+db/2+dd/2,sd])rotate([90,0,0])cube([sl,db,dd]);
}
} | glb/cad_37e7ee5d34a4.glb |
Create a battery stand consisting of a grid of four cylindrical cells arranged in two rows and two columns. Each cell is a hollow cylinder with an outer diameter of 19.1mm and an inner diameter of 18.6mm, creating a wall thickness of 1mm. The cylinders should have a total height of 20mm.
Position the cylinders in a s... | $fa = 1;
$fs = 0.4;
dia = 18.6;
wall_thickness = 1;
rows = 2;
cols = 2;
height=20;
yoff = sin(30)*dia;
xoff = cos(30)*dia;
spacing = 0.05;
module cylarray(walls)
{
for (row=[0:1:rows-1])
{
for (dy=[0:1:cols-1])
{
translate([ xoff*row, (dia * dy) + (row % 2? yoff:0) , -(walls)])... | glb/cad_0b46ab3a0680.glb |
Create a repair slider for an Ikea Kilimanka drying rack. Start by forming a base shape that is a hybrid between a rectangular block and a cylinder; create a block 24mm wide, 12mm deep, and 5mm high, and blend its outer edges into a cylinder with a 12mm radius. Cut a central vertical hole through this base with a diame... | $fn=100;
difference()
{
hull()
{
translate([-12, 0, 0,])
{
cube([24, 12, 5]);
}
cylinder(5, 24/2, 24/2);
}
cylinder(10, 13.5/2, 13.5/2);
translate([-10, 4, 0])
{
cube([2, 6, 13]);
}
translate([8, 4, 0])
{
cube([2, 6, 13]);
... | glb/cad_f2d0775b1a8f.glb |
Create an iFixit Mako Pegboard Holder clip designed to fit a 20mm extrusion. Start with a rectangular base that is 20.2mm wide and 20.2mm deep. Create a central rectangular cutout measuring 10mm by 10mm that passes through the entire height of the part, leaving a wall thickness of approximately 5.1mm on all sides. The ... | $fn = 80;
difference() {
union() {
hull() {
translate([-10.75,0,0]) cylinder(d=7.5,h=4);
translate([-10.75,27,0]) cylinder(d=7.5,h=4);
}
hull() {
translate([10.75,0,0]) cylinder(d=7.5,h=4);
translate([10.75,27,0]) cylinder(d=7.5,h=4);
}
hull() {
translate([-10.75,27,0]) cylinder(d=7.5,h=4... | glb/cad_4946ad1833d6.glb |
Create a NEMA stepper motor mount designed for a 40mm x 40mm extrusion profile. Start by constructing a vertical mounting plate with a thickness of 6mm. This plate must feature a central rectangular cutout to accommodate a NEMA 17 motor, with an additional 3mm of slide distance for adjustability.
To secure the mount t... | use <MCAD/motors.scad>;
use <MCAD/boxes.scad>;
include <MCAD/math.scad>;
use <utils/build_plate.scad>;
nema_standard = 17;
slide_distance = 3;
belt_height = 23;
tolerance = 0.15;
gt2_pulley_outside_diameter = 12.22;
screw_head_diameter = 11;
screw_hole_diameter = 5.5;
motor_mount_thickness = 6;
screw_distance ... | glb/cad_3e7596ce6d90.glb |
Create a "Sneaky Dog" model by combining several ellipsoidal forms. Start with a main body ellipsoid measuring 20mm wide, 30mm deep, and 18mm high, centered at [0, 0, 5]. Position a head ellipsoid of 15mm in all dimensions at [0, 15, 5]. Add a snout ellipsoid measuring 8mm wide, 11mm deep, and 8mm high at [0, 21, 2.5],... | module ellipsoid(l,w,h){
resize([l,w,h])sphere(r=5,$fn=18);}
module eyes(){
translate([4,20.75,7])rotate([15,0,-30])ellipsoid(3.5,1.5,3);
translate([-4,20.75,7])rotate([15,0,30])ellipsoid(3.5,1.5,3);
}
module ears(){
difference(){
translate([-4,16,9.5])rotate([0,-30,0])cylinder(7,3,0.3,$fn=7);
transla... | glb/cad_db057358cd53.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.