Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a 9V Battery Snap Cover by constructing a rectangular block with rounded corners. The outer dimensions of the main body should be 26.4mm in width (x-axis) and 17.5mm in depth (y-axis), with a total height of 4.0mm. Use a corner radius of 1.5mm for the exterior.
Hollow out the center of the block to create a com... | $fn = 32;
wall =1.2;
top =0.8;
bottom =0.8;
brd_x =24.5;
brd_y =15.5;
brd_z =1.6;
solder =1.4;
wire =1.4;
grip = wall*2;
rdim=1.5;
module main_body()
{
difference()
{
{
hull()
{
translate([-wall+rdim,-wall+rdim,0]) cylinder(h=bottom+solder+brd_z+top,r=rdim);
translate([wall... | glb/cad_53367a57c5a2.glb |
Create a USB Serial Case consisting of a top cover and a base.
For the top cover, create a rectangular block with rounded corners using a 1.5mm radius. The outer dimensions are 38.4mm by 20.4mm with a total height of 6.6mm. The walls are 1.2mm thick. Hollow out the center to create a cavity for a PCB, leaving a 0.8mm... | $fn = 32;
wall =1.2;
top =0.8;
bottom =0.8;
brd_x =36;
brd_y =18;
pcb =1.6;
parts =2;
solder =1.6;
base_z =parts+pcb+solder+bottom;
nub_z = bottom+solder;
nub_dia = 3 ;
rdim=1.5;
zdim=bottom+solder;
module main_body()
{
difference()
{
{
hull()
{
translate([-wall+rdim,-wall+rdim,0]) ... | glb/cad_52317c025bbb.glb |
Create a TTGO VGA32 V1.4 Case consisting of a main body and a lid.
For the main body, create a rectangular box with outer dimensions of 63.4mm x 37.4mm x 18.7mm (wall thickness 1.2mm). Hollow out the center to create a PCB cavity of 61mm x 35mm x 17.5mm. At each of the four corners, add a cylindrical post with a diam... | $fn = 32;
wall = 1.2;
base_z = 17.5;
brd_x =61.0;
brd_y =35;
nub_z = wall+2.7;
tap_drill = 2.8;
clr_drill = 3.2;
nub_dia = 3.75;
module main_body()
{
difference()
{
union()
{
translate([-wall,-wall,0])cube([brd_x+2*wall,brd_y+2*wall,base_z+wall]);
translate([-wall,-wall,0]) cylinder(d=6,h=bas... | glb/cad_afb280a49d5b.glb |
Create a half button turn latch consisting of a main body and a pivot hole. Start by creating the latch body as a hull of two cylinders: one centered at the origin and one translated 52mm along the x-axis, both with a radius of 12mm and a height of 8mm.
At the origin, create a vertical pivot hole. This hole begins as... | resolution = 50;
$fn = resolution;
lk = "half_button";
lbl = 64;
lbw = 24;
lbt = 8;
shrt = 5;
shr = 2;
module screw_hole(shr1, shr2, shh, rd) {
translate([0, 0, shh])
cylinder(h=rd, r=shr1);
translate([0, 0, shh-(shr1-shr2)])
cylinder(h=(shr1-shr2), r1=shr2, r2=shr1);
cylinder(shh, r=shr2);
}... | glb/cad_11d45ff11a44.glb |
Create a Window F-Lock consisting of three main geometric components. Start with a pusher base: a rectangular block 80mm long, 10mm wide, and 20mm high. On the top surface of this block, emboss the text "4.45° 20.75mm" with a depth of 0.75mm. At the far end of the pusher, add a vertical jamb bumper block that is 10mm t... | full_length = 80;
window_frame_thickness = 20.75;
window_open_angle = 4.45;
use_on_right_side_of_window=true;
h = 20;
pusher_width = 10;
clamp_depth = 20;
text_depth = 0.75;
text_height = 7;
jamb_bumper_height = 40;
jamb_bumper_thickness = 10;
use_angled_hole=true;
hole_dia=3;
slope_angle = use_on_right_side_of_windo... | glb/cad_74242bbaf605.glb |
Create a filament storage frame by starting with a rectangular block that is 160mm long, 6mm wide, and 8mm high. To allow the frame to clip onto a wire rack, remove two rectangular notches from the bottom of the block. Position the first notch 2mm from the left edge and the second notch 150mm from the left edge. Each n... | difference()
{
cube([160, 6, 8]);
translate([150, 0, 0])
cube([8, 3, 90]);
translate([2, 0, 0])
cube([8, 3, 90]);
} | glb/cad_4ec719cb3b9d.glb |
Create a filament storage clip for a wire rack. The clip is 8mm wide and 150mm long. At one end, create a U-shaped bracket designed to snap onto two parallel bars. Each bar has a diameter of 6.5mm, and the distance from the top of the upper bar to the top of the lower bar is 22mm. The bracket consists of two semi-circu... | bar_diameter = 6.5;
bar_distance = 22;
clip_width = 8;
shelf_length = 150;
rotate_extrude(angle = 180, $fn = 100)
translate([bar_diameter / 2, 0, 0])
square([4,clip_width]);
translate([-bar_diameter / 2 - 4, -6, 0])
cube([4, 6, clip_width]);
translate([bar_diameter / 2, -bar_distance, 0])
cube([2... | glb/cad_7168d01b310e.glb |
Create a filament storage frame by starting with a solid rectangular block measuring 106mm in length, 6mm in width, and 8mm in height. To create the mounting notches, remove two smaller rectangular sections from the main body. The first cutout should be 8mm wide, 3mm deep, and 90mm high, positioned 2mm from the left ed... | difference()
{
cube([106, 6, 8]);
translate([96, 0, 0])
cube([8, 3, 90]);
translate([2, 0, 0])
cube([8, 3, 90]);
} | glb/cad_933c90f250d6.glb |
Create a top wheel for a camera by constructing a hollow cylinder with an outer diameter of 15.7mm, an inner diameter of 12.9mm, and a height of 3.75mm. Use a facet resolution of 36 for all circular elements. To create the outer grip, remove small vertical cylinders with a diameter of 0.7mm from the outer wall, spaced ... | inner_diameter = 12.9;
thickness = 1.4;
height = 3.75;
inside_slots=0.6;
knurl_step=10;
$fn=36;
difference() {
cylinder(d=inner_diameter + 2 * thickness, h = height + thickness);
translate([0, 0, -0.01]) {
cylinder(d=inner_diameter, h = height);
}
translate([0,0,0.25*height]) {
for(i=[0:knurl_step:36... | glb/cad_13bc28efec40.glb |
Create a BabyCube Pinda Holder consisting of a flat mounting plate and an attached cylindrical probe tube. The main plate is a rectangular block measuring 38mm in width (35mm plus 3mm extra), 0.8mm in thickness, and 36mm in height.
Attached to the left side of the plate is a vertical cylindrical tube with a height of... | $fn=80;
extra=0.005;
pindaD=8;
pindaExtra = 0.1;
screwDia = 2;
screwExtra = 0.3;
plateExtra = 3;
pindaMountHeight = 36;
pindaTubeHeight = 24;
pindaMountX = 35;
wallthickness=0.8;
xMoveLongHole = 3.5;
setScrewDia=2.9;
tempX=pindaD/2+pindaExtra+wallthickness;
module longhole()
{
rotate([90,0,0])
hull()
{
... | glb/cad_ff65601910d1.glb |
Create a Springy Festive Tree consisting of three main components: a spiral base, a stand, and a star topper.
First, construct the spiral base with a height of 1mm. Create a flat spiral that makes 10 full turns, starting from a center thickness of 0.4mm and expanding to a thickness of 3mm at its outer edge, reaching a... | use <MCAD/regular_shapes.scad>
$fa = 1;
$fs = 0.01;
tree_height = 1;
stand_height = 2;
stand_width = 5;
clearence = .1;
model = 0;
if (model == 0 || model == -1) {
spiral(10,
.4,
3,
29);
}
if (model == 1 || model == -1) {
stand(70,
30 + 2);
}
if (model == 2 || m... | glb/cad_94f4f412dd5a.glb |
Create a Flying V guitar end tip protector by constructing a hollow, tapered three-sided prism. Start with an outer prism that has a base radius of 30mm and tapers to a top radius of 10mm over a total height of 70mm. The prism must have exactly three sides. To create the protective wall, remove a concentric inner prism... | $fn = 3;
outerDiameter = 30;
wallThickness = 5;
height = 70;
innerDiameter = outerDiameter - (2 * wallThickness);
difference() {
cylinder(r1=outerDiameter, r2=10, h =height);
translate([0, 0, -0,5]) cylinder(r1 = innerDiameter, r2=0, h = height+1);
} | glb/cad_dfdc4f0c1307.glb |
Create a vacuum cleaner tip consisting of a hollow cylindrical base and a flattened upper extension. Start by creating a hollow cylinder with a height of 30mm, an outer diameter of 37.5mm, and an inner diameter of 34.5mm, resulting in a wall thickness of 1.5mm.
On top of this base, add a second hollow section that tr... | $fn = 360;
grip_height = 30;
wall_thickness = 1.5;
pipe_outer_diameter = 34.5;
inner_radius = pipe_outer_diameter / 2;
outer_radius = inner_radius + wall_thickness;
max_width = 20;
delta = 0.01;
factor = 0.5;
test_fit = false;
module connector(height, radius, eccentricity) {
delta = 0.01;
hull() {
... | glb/cad_f0a41551ff28.glb |
Create a Friction Fit Bowden Tube Connector by starting with a primary octagonal prism that is 30mm long with an outer radius of 5.5mm. Through the center of this prism, create a longitudinal hole that spans the entire 30mm length. This hole should be conical on both ends to provide a friction fit; for each 15mm half o... | height=30;
outside_radius = 5.5;
bowden_radius_r1 = 2.075;
bowden_radius_r2 = 2.01;
rotate([0, 90, 0])
difference() {
cylinder(height, r=outside_radius, center=false, $fn=8);
# cylinder(height/2, r1=bowden_radius_r1, r2=bowden_radius_r2, center=false, $fn=60);
# rotate([0, 180, 0])
translate([0, 0, -heig... | glb/cad_72dcb1d6adf0.glb |
Create a Tetrahedron Cube Puzzle consisting of a hollowed cube frame and a separate tetrahedron.
First, construct the cube frame by creating a series of identical structural beams. Each beam is formed by the convex hull of three small rectangular prisms: one measuring 10x8x48mm, one 8x8x50mm, and one 8x10x48mm, posit... | union() {
rotate([0, 0, 0]) {
union() {
rotate([0, 0, 0]) {
union() {
rotate([0, 0, 0]) {
translate(v = [15, 15, -25]) {
hull() {
translate(v = [0, 1, 1]) {
cube(size = [10, 8, 48]);
}
translate(v =... | glb/cad_e7f01c8c62e4.glb |
Create a laboratory septa sleeve stopper by constructing a tapered cylinder (frustum). The base diameter should be 10.5mm, tapering upward to a top diameter of 9.5mm over a total height of 10mm. To finish the top, add a very thin cylindrical cap with a height of 0.5mm and a diameter of 9.5mm.
To create a seal and redu... | develop = false;
fa = $preview && develop ? 10 : 120;
fs = $preview && develop ? 10 : 10;
fn = $preview && develop ? 10 : 128;
D3=3;
D4=4;
D5=5;
D6=6;
D7=7;
D8=8;
D9=9;
D10=10;
D11=11;
D12=12;
D13=13;
D14=14;
D15=15;
D16=16;
D17=17;
D18=18;
D19=19;
D20=20;
D21=21;
D22=22;
D23=23;
D24=24;
D27=27;
D29=29;
D30=30;
D35... | glb/cad_0bc248bcf2af.glb |
Create a paint mixer shaft by constructing a vertical cylinder with a diameter of 8mm and a total height of 61mm. Ensure the cylinder has a facet resolution of 32 sides. Position the base of the cylinder 0.5mm below the origin point along the Z-axis. | translate([0,0,-0.5])
cylinder(d=8, h=61,$fn=32); | glb/cad_4fa9ac460302.glb |
Create a paint mixer by constructing a hollow cylinder with an outer diameter of 13mm and a total height of 60mm. Bore a centered circular hole through the entire length of the cylinder with a diameter of 8mm to accommodate an M8 threaded rod. Ensure the inner hole extends slightly beyond the top and bottom faces to en... | difference()
{
union()
{
cylinder(d=13,h=60);
}
union()
{
translate([0,0,-0.5])
cylinder(d=8, h=61,$fn=32);
}
} | glb/cad_c7073d326c5d.glb |
Create a rhombicuboctahedron with a total height of 20mm. Construct this shape by creating a hull that encompasses three identical cylinders, each 20mm in height and with a radius of approximately 6.8mm. Position the first cylinder centered at the origin and aligned with the Z-axis. Position the second cylinder centere... | h=20;
cut=0;
model=0;
if(!cut&&!model) for(i=[0:4])translate([i*(h +5),0])color(rands(0,1,3))Object(i);
else Object(model);
module Oktaeder(h=30,c)intersection(){
union(){
cylinder(h/2,r1=h/2,r2=0,$fn=4);
rotate(180,[1,0,0])cylinder(h/2,r1=h/2,r2=0,$fn=4);
}
if(c)cube(c,true);
}
module Object(model){
i... | glb/cad_1b6dc54a907e.glb |
Create a cable wrap protector by constructing a vertical cylinder with a total height of 30mm and an outer diameter of 10mm. The main body should have rounded ends created by a 0.3mm radius fillet. Through the center of this entire volume, remove a perfectly aligned vertical cylindrical hole with a diameter of 4.2mm to... | fn = 100;
radius = 0.3;
height = [30, 24];
width = [10, 1.3];
hole = 4.2;
module cable_wrap(radius, height, width, hole, fn, test = false){
echo(fn)
difference(){
minkowski(){
sphere(radius, $fn = fn);
translate([0, 0, radius])
cylinder(h = height[0] - radius * 2, d ... | glb/cad_45205f7368b2.glb |
Create a Fairy Light String Mod consisting of three separate components: a main spool, a magnetic hook, and a diffuser.
For the main spool, create a central cylinder 30mm in diameter and 80mm high. Add a 5mm thick base flange that transitions from a 30mm diameter at the center to a 44mm diameter at the outer edge. At ... | $fn=80;
magnetdia = 6.4;
magnetheight = 2.5;
module main() {
difference() {
union() {
translate([0,0,0]) cylinder(d=30,h=80);
hull() {
translate([0,0,0]) cylinder(d=44,h=1);
translate([0,0,5]) cylinder(d=30,h=1);
}
hull() {
translate([0,0,49]) cylinder(d=44,h=1);
translate... | glb/cad_1ab0b0f98321.glb |
Create a Parametric Table Leg Extender by constructing a main vertical cylinder with a diameter of 40.5mm and a total height of 140mm. The bottom edge of this cylinder should be rounded with a radius of 20mm. From the top of this shape, remove a square-shaped hole to create a socket for the table foot. This square cuto... | foot_shape = "square";
diameter_foot = 30.5;
foot_height = 80;
roundness = 20;
foot_inset_height = foot_height;
translate([0,0,roundness/2]) {
difference () {
translate([
(diameter_foot/100*180)/2,
(diameter_foot/100*180)/2,
0
]) {
minkowski() {
cylinder(
d = diameter_foot*2-(roundness),... | glb/cad_f82b84095743.glb |
Create a ground spike for a sign holder. Start by creating a cone with a base diameter of 17.2mm and a height of 106mm, tapering down to a point. Hollow out the center of this cone by removing a square prism with a side length of 13.2mm that runs the full length of the spike.
On top of the cone's base, add a vertical... | $fn=40;
diameter=17.2;
spike_length=106;
shaft_length=100;
wall=4;
cwall=wall/2;
radius=diameter/2;
midrif=radius+cwall;
cutout=radius-cwall;
module spike_cutout() cube([cutout,cutout,spike_length]);
module shaft_cutout() cube([cutout,cutout,shaft_length-wall]);
difference(){
rotate([0,180,0])
cylinder(spike_l... | glb/cad_b441d02ab5e2.glb |
Create a bearing spacer by constructing a hollow cylinder with an outer diameter of 15mm and a total height of 8.5mm. The object should have a central hole with a diameter of 9mm running through its entire length. Apply a 1mm chamfer to both the top and bottom outer edges to create a beveled profile. Ensure the geometr... | distance = 8.5;
diameter_outer = 15;
diameter_inner = 9;
chamfer = 1;
$fn = 64;
difference () {
minkowski () {
cylinder(d=diameter_outer-0.1-chamfer*2, h=distance-chamfer*2, center=true);
sphere(r=chamfer, $fn=5);
}
cylinder(d=diameter_inner+0.1, h=distance, center=true);
} | glb/cad_809572d76cd7.glb |
Create a Candy Heart Box consisting of a hollow heart-shaped container and a matching lid.
The main body is a heart shape with a width and height of 50mm and a total depth of 15mm. The walls are 1mm thick. The bottom of the heart is flat, and the top edges are rounded with a 4mm radius. The interior is a hollow cavit... | type="both";
Text1="BE";
Text2="MINE";
Text3="";
Font="Noto Sans SC";
FontSize=10;
text_type="sunken";
box_size=50;
box_height=15;
wiggle=.2;
emoji_selector="use below";
emoji_freetype="🤍";
textstring=(emoji_selector=="use below"?emoji_freetype:emoji_selector);
BottomText="";
BottomFont="Noto Sans";
Botto... | glb/cad_3157b4e8ad55.glb |
Create an Emoji Box consisting of a bottom container and a matching top lid. The overall shape is based on a central emoji character (defaulting to a sloth) with a font size of 40mm.
For the bottom container, create a 3D bubble-style shape by extruding the emoji silhouette to a height of 10mm. Apply a rounding radius ... | type="both";
emoji_selector="use below";
emoji_freetype="🦥";
textstring=(emoji_selector=="use below"?emoji_freetype:emoji_selector);
text_type="sunken";
box_size=40;
box_height=10;
bubble=8;
stretch=1.5;
BottomText="";
BottomFont="Noto Sans";
BottomFontSize=8;
wiggle=.2;
wall=1;
cutofftop=.2*stretch;
Cuti... | glb/cad_133789a1155e.glb |
Create a parametric bit driver handle. The main body is composed of a cylinder with a diameter of 20mm and a height of 70mm, topped with a hemisphere of the same 20mm diameter. The base of the handle transitions from the 20mm cylinder down to a narrower shaft via a 15mm tall frustum that tapers from 20mm down to approx... | bit_size = 4;
magnet_diameter = 4;
magnet_height = 2;
hex_diameter = bit_size * 1.154701 + 0.2;
difference () {
translate () {
translate([0,0,100]) sphere(d=20, $fn=48);
translate([0,0,30]) cylinder(d=20, h=70, $fn=48);
translate([0,0,15]) cylinder(d1=hex_diameter * 1.7, d2=20, h=15, $fn=48);
}
for (i ... | glb/cad_ea351c7e2a6e.glb |
Create a parametric plant pot and matching coaster. For the pot, construct a tapered hollow vessel with a height of 133mm. The base should have a radius of 66.5mm, tapering outward to a top radius of 79.8mm. The walls should be 1.33mm thick. Add a decorative rim at the top with a height of 19.95mm and a radius of 83.12... | create = "both";
diameter = 133;
wallthickness = diameter * 0.01;
resolution = 100;
hole_count = 5;
hole_size = diameter * 0.1;
stand_count = 6;
if (create == "pot") {
pot(diameter, wallthickness, hole_count, hole_size, resolution);
}
if (create == "coaster") {
coaster(diameter, wallthickness, stand_count, r... | glb/cad_3dcbbbb2f230.glb |
Create a mounting ring for a Tektronix 576 Offset Multiplier. Start by constructing a main outer cylinder with a height of 8mm and a diameter of 28mm. Inside this cylinder, create a concentric hollow space with a diameter of 25.5mm and a height of 7mm, leaving a 0.5mm wall thickness at the bottom. At the center of the ... | $fn=128;
difference(){
cylinder(h=1, d1=28, d2=31);
cylinder(h=1, d=28);
}
difference() {
translate([0, 0, 6])cylinder(h=1, d=13);
cylinder(h=8, d=10);
}
difference() {
cylinder(h=8, d=28);
cylinder(h=7, d=25.5);
cylinder(h=8, d=10);
} | glb/cad_a5f976fa0856.glb |
Create an Ikea table leg holder consisting of four identical cylindrical mounting units aligned in a row. For each unit, start with a central cylinder 47mm in diameter and 40mm high, centered on the origin. Merge this cylinder with a rectangular block measuring 47mm wide, 23.5mm deep, and 40mm high, also centered on th... | diameter = 39;
height = 40;
thickness = 8;
foot_count = 4;
screw_diameter = 6;
$fn = 64;
for (i =[0:foot_count-1]) {
translate([i*diameter+i*thickness, 0, 0])
difference () {
union () {
cylinder(d=diameter+thickness*2, h=height, center=true);
translate([0,(diameter+thickness)/2-thickness,0])
cube(
[
... | glb/cad_73eb4dbc96b9.glb |
Create a Soap Container Replacement consisting of a main cylindrical body and a threaded neck. The main body is a hollow cylinder with an outer diameter of 60mm, a total height of 90mm, and a wall thickness of 3mm. At the top of this body, add a 10mm tall cylindrical border that tapers internally from the outer diamete... | include <lib/quickthread.scad>;
container_height = 90;
container_width = 60;
container_wall = 3;
container_border = 10;
container_opening = 43;
thread_height = 10;
thread_pitch = 2;
thread_angle = 5;
thread_lead = 5;
fill_indicators = "yes";
height_60 = container_height / 100 * 60;
height_80 = conta... | glb/cad_ba9a432b85d4.glb |
Create a parametric cup stacker consisting of three identical sections arranged symmetrically every 120 degrees around a central axis. Each section is based on a 25-degree arc.
At the center, create a solid cylinder with a radius of 7mm and a height of 2mm. Extending from this center are three arms, each 2mm thick. Ea... | module create_ring_section(r_out, r_in, h, angle)
{
rotate_extrude(angle = angle, $fn = 100)
{
translate([ r_in, 0, 0 ]) square([ r_out - r_in, h ]);
}
}
module cup_stacker_section(top_r_out, top_r_in, bottom_r_out, bottom_r_in, angle)
{
wall_thickness = 2;
base_thickness = 2;
wall_hei... | glb/cad_77b058ad0f07.glb |
Create a parametric cup stacker consisting of three identical arms spaced 120 degrees apart around a central axis. Each arm is built around a central horizontal disc with a radius of 7mm and a thickness of 2mm.
For each arm, create a base section by extending a circular arc from the center disc outward. This base cons... | module create_ring_section(r_out, r_in, h, angle)
{
rotate_extrude(angle = angle, $fn = 100)
{
translate([ r_in, 0, 0 ]) square([ r_out - r_in, h ]);
}
}
module cup_stacker_section(top_r_out, top_r_in, bottom_r_out, bottom_r_in, angle)
{
wall_thickness = 2;
base_thickness = 2;
wall_hei... | glb/cad_7332897ea1ca.glb |
Create a pipe holder consisting of a flat, elongated body with a total length of 135mm, a width of 20mm, and a height of 10mm. The body is formed by a hull connecting four cylinders of 4mm diameter at the corners—positioned at x ±15mm and y -25mm and 110mm—and two cylinders of 4mm diameter at x ±10mm and y -20mm and 10... | $fn=50;
difference(){
body();
holes();
}
module body(){
hull(){
translate([-15,-25,0]) cylinder(r=2, h=5);
translate([15,-25,0]) cylinder(r=2, h=5);
translate([-15,110,0]) cylinder(r=2, h=5);
translate([15,110,0]) cylinder(r=2, h=5);
translate([-10,-20,0]) cylinde... | glb/cad_901c23054284.glb |
Create a right-angle protective cap for an XLR connector. Start with a central vertical cylinder that has an outer diameter of 14mm and a total height of 25.5mm. Hollow out the center of this cylinder with a bore of 11.6mm in diameter.
At the base of the cap, create a wider cylindrical collar with an outer diameter of... | cable = 6;
slit= 5;
cableangle = 0;
cdepth = 19.5;
$fa = 1;
$fs = 0.5;
difference() {
union() {
difference() {
hull() {
translate([0, 0, 1]) rotate_extrude() translate([9, 0]) circle(r=1);
translate([0, 0, 5+cable]) rotate_extrude() translate([9, 0]) circle(r... | glb/cad_0d29482e419e.glb |
Create a cable holder by starting with a solid rectangular block measuring 9.6mm in width, 18mm in length, and 10mm in height. Carve a vertical cylindrical hole with a diameter of 8mm through the center of the block, starting from the top face and extending downwards to a depth of 10.5mm. Near the base of the block, cr... | cableDiemeter = 8;
screwDiameter = 4;
$fn = 35;
clipHeight = screwDiameter * 2.5;
clipWidth = cableDiemeter * 1.2;
clipLenght = cableDiemeter + (screwDiameter * 2.5);
difference(){
cube([clipWidth, clipLenght, clipHeight]);
union(){
translate([clipWidth / 2, clipLenght - cableDiemeter * 0.6, -0.25]... | glb/cad_c5b557650dde.glb |
Create a tripod mount for a Tamron lens by constructing a circular ring with a total outer diameter of 84mm and a height of 40mm. The main body is a hollow cylinder with a wall thickness of 6mm.
Integrate a mounting plate into the ring's structure. This plate is formed by a rectangular profile 40mm wide and 100mm lon... | include <Round-Anything/polyround.scad>
include <boltsos/BOLTS.scad>
arca =[[35,8],[35,10],[38,13],[38,15],[0,15],[0,13],[3,8],[3,8],[-4,0],[0,0],[1,1],[40,1],[42,0]];
fitting=[[0,15],[0,0],[5,0],[5,13],[6,15]];
tp = [
[0, 1],
[1, 0]
];
base1 = 40;
base2 = 42+6-.7;
union()
{
difference()
{
unio... | glb/cad_d8813da6edc6.glb |
Create a tripod mount for a camera lens. Start by constructing a main ring with an outer diameter of 84mm and an inner diameter of 70mm, with a cross-sectional height of 15mm. The ring's profile should be a rectangle 5mm wide and 15mm tall.
Attached to the side of this ring, create a rectangular mounting block that is... | include <Round-Anything/polyround.scad>
include <Round-Anything/minkowskiRound.scad>
include <boltsos/BOLTS.scad>
arca=[[35,8],[35,10],[38,13],[38,15],[0,15],[0,13],[3,10],[3,8],[0,5],[0,3],[38,3],[38,5]];
fitting=[[0,15],[0,0],[5,0],[5,13],[6,15]];
gap=[[0,0],[4,0],[0,100]];
tp = [
[0, 1],
[1, 0]
];
base1 = 50;
... | glb/cad_6f08a9e77f4b.glb |
Create a smooth contour duplication tool consisting of a chain of 11 identical segments with a 20mm pitch, totaling 220mm in length. Each segment is composed of a flexible wall and two rigid walls that meet the flexible wall at 90-degree angles.
For each segment, create a central beam with a thickness of 1.6mm and a w... | use <thread_profile.scad>
use <knurledFinishLib_v2.scad>
part = "assembly";
pitch=20;
width=15;
height=16;
segments=11;
shaft_play=0.1;
hinge_outer_play=0.5;
link_tip_play=0.3;
bolt_play=0.2;
hinge_vertical_play=0.2;
nut_play=0.3;
thickness=0.8;
beam_thickness=1.6;
chamfer=0.6;
shaft_radius=1.5;
link_thickness=1.6;... | glb/cad_2bea4bd840ad.glb |
Create a hydraulic replacement part for a construction excavator consisting of three stacked coaxial cylinders of varying diameters and heights. Start with a base cylinder 12mm in diameter and 53mm tall. Directly on top of this base, add a second cylinder with a diameter of 13.5mm and a height of 9mm. Atop the second c... | d1=12;
h1=53;
d2=13.5;
h2=9;
d3=9;
h3=29;
dh4=15;
dhh4=13;
dh5=11.2;
dhh5=12;
$fn=120;
cylinder(d=d1, h=h1);
translate([0,0,h1])cylinder(d=d2, h=h2);
translate([0,0,h1+h2])cylinder(d=d3, h=h3);
translate([0,dhh4/2,0])rotate([90,0,0]){
translate([0,0,-4-1]){
intersection(){
unio... | glb/cad_959a61e2ce50.glb |
Create a replacement crank for a mobile crane. Start by constructing a crank handle base using a hull operation between a cylinder with a 20mm diameter and a smaller cylinder with a 10mm diameter, offset by 20mm, both with a thickness of 3mm. Attached to this base, add a vertical handle cylinder with a 7.5mm diameter a... | $fn=50;
crank_outer_diameter = 20;
crank_handle_diameter_socket = 10;
crank_handle_diameter = 7.5;
crank_handle_offset = 20;
crank_outer_thickness = 3;
crank_height = 18;
module crank_handle(){
hull(){
cylinder(d=crank_outer_diameter, h=crank_outer_thickness);
translate([crank_handle_offset, 0, 0])cylinder(d=crank_ha... | glb/cad_7ff30b257346.glb |
Create a Brio Crane Repair Kit consisting of three distinct mechanical parts. First, create a thin spur gear with a module of 0.8, 32 teeth, a thickness of 3mm, and a root diameter of 14mm minus 2.25mm. This gear should have a square cutout centered on its face with a side length of 27.1mm.
Second, create a knob assem... | include <../gears.scad>;
ri=14-(4.5/2);
ro=16.3-(4.5/2);
rb=7;
z=3;
o_y=10.3;
knob_d=28;
knob_tooth=13;
knob_modul=0.8;
knob_inner_d=8;
knob_z=5;
knob_b=3;
knob_height=8.5;
module ausleger(){
difference(){
spur_gear(0.8, 32, z, rb*2, pressure_angle=20, helix_angle=0, optimized=false);
translate([0,o_y,z/2])cube([r... | glb/cad_dc8e6497a51b.glb |
Create a shower core extender consisting of a tiered cylindrical body with a central hollow core. Start by centering a vertical hole with a radius of 10.6mm that runs through the entire height of the object. Build the outer structure using three stacked cylindrical sections: a base cylinder 13.28mm high with a radius o... | difference() {
difference() {
union() {
cylinder(h = 64, r = 12.6);
cylinder(h = 40, r = 15.8);
cylinder(h = 13.28, r = 16.75);
translate(v = [15.3, -3.5, 0]) {
cube(size = [4, 7, 40]);
}
}
translate(v = [0, 0, -1]) {
cylinder(h = 66, r = 10.6);
}
}
tran... | glb/cad_eca0145e08ca.glb |
Create a dummy LGB motor block B consisting of a main body, a lid, a bottom plate, and four wheels.
The main body is a rectangular block measuring 124.6mm x 33.9mm x 32.3mm. Remove material from the center to create a hollow cavity, and add a central vertical channel. Cut two 1.9mm diameter holes through the body at ... | use <af-basics.scad>
wheel_type = 1;
all(wheel_type);
module all(wheel_type) {
$fn = 24;
if ($preview) {
translate([0, 0, 32.3 + 5])
lid();
color("lightgrey")
body(wheel_type);
translate([0, 0, 0 - 15])
bottom(wheel_type);
translate([0, 60, 0])
wheel(wheel_type);
} else {
translate([0, 40, ... | glb/cad_260949649800.glb |
Create a parametric duct reducer with a total height of 150mm and a wall thickness of 7% of the overall part dimensions. The object is a hollow shell composed of three stacked sections. The base is a cylinder with a diameter of 157mm and a height of 50mm. Above this, create a conical transition section 50mm in height t... | large_diameter = 157;
small_diameter = 75;
part_height = 150;
part_thickness = 0.07;
duct_reducer(large_diameter,small_diameter,part_height,part_thickness);
module duct_reducer(l_dia, s_dia, p_height, p_thickness) {
collar_height = 4;
collar_diameter = 2;
part_color = "oldlace";
collar_color = "Navy";
resolution =... | glb/cad_516dd53136c8.glb |
Create a Radian Compressor Guide Rod Storage set consisting of a main case, a washer holder, and a lid.
For the main case, create a hull around three cylinders, each with a diameter of 21mm and a height of 135mm, arranged in a circle. Hollow out the center of this shape by removing three cylinders with a diameter of ... | Num_Springs = 3;
Spring_Diameter = 15;
Spring_Length = 135;
Allen_Key_Diameter = 2.25;
Allen_Key_Major_Length = 10;
Lid_Plug_Diameter = 14.9375;
Lid_Thickness = 3;
Spring_Inner_Diameter = 5;
Wall_Thickness = 3;
Washer_Diameter = 11.5;
Washer_Insert_Diameter = 14;
Washer_Thickness = 2;
$fn = 64;
a = 360 / Num_Springs;... | glb/cad_33b7aaf65859.glb |
Create an Essential Oil Holder by starting with a solid rectangular block measuring 129.5mm in length, 144mm in width, and 30mm in height.
From the top face of this block, remove a series of cylindrical holes to create four rows of sockets. Each hole should have a depth of 29mm.
The first row contains three holes, ... | box_height = 30;
box_width = 144;
box_length = 259/2;
holeDiameters = [ [ 29 , 29, 29 ] , [28, 28, 28 ] , [ 25.5, 25.5 , 25.5 , 25.5 ] , [ 25.5 , 25.5 , 25.5 ] ];
hole_depth = box_height - 1;
scaling = 1.25;
add = 1;
rows = len( holeDiameters ) ;
maxholeDiameter = [for (i = [0:rows-1 ]) scaling * (max(holeDia... | glb/cad_d6e1f0cfffa4.glb |
Create a Tower consisting of 15 stacked cubes. Start with a base cube measuring 25mm by 25mm with a height of 3mm, centered on the XY plane. Each subsequent cube should be placed on top of the previous one, centered vertically. For every new layer, reduce the side length of the cube to 87.7% of the previous layer's wid... | max=15;
s=25;
h=3;
Tower(s,max,h);
module Tower(s=25,max=25,h=3,count=0){
if(count<max)translate([0,0,1])rotate(137.5/4)Tower(count=count+1,max=max,s=s*0.877,h=count*5);
color(count/max*[1.0,0.5,0.7]+[0.0, 0.5, 0.3])translate([-s/2,-s/2])cube([s,s,h],false);
} | glb/cad_7259586d617e.glb |
Create a dump truck flap lock consisting of two separate components: a holder and a slider.
First, construct the holder as a rectangular block 10mm wide, 18mm deep, and 11mm high. Within this block, create a central vertical slot 4mm in diameter and 9mm long. At the bottom of the holder, integrate two symmetrical hoo... | x=10;
y=18;
z=8;
slot_d=4;
slot_l=9;
cutout_x=10;
cutout_y=8.2;
cutout_z=2;
hook_z=3;
hook_y=1;
hook_x=1.7;
hook_snapper=0.8;
hook_snapper_z=1;
hook_snapper_base_z=1;
$fn=90;
translate([0,-5,2])holder();
slider();
module hook(axis){
rotate([0,0,axis*180]){
translate([-x*axis,-y*axis,-hook_snapper_base_z]){
tr... | glb/cad_c77d2283af54.glb |
Create a TPU fan pad by starting with a square plate that is 92.5mm by 92.5mm with a thickness of 2mm. The corners of this plate should be rounded with a radius of 5mm.
Cut a circular hole through the center of the plate with a diameter of 76.6mm. Additionally, create four smaller circular screw holes, each 5mm in di... | pad_thick = 2;
fan_cutout = 76.6;
screw_hole_oc = 71.2;
screw_hole_dia = 5;
bracket_cut = 80.5;
bracket_hgt = 4;
bracket_depth = 2;
pad_overhang = 6;
difference(){
color("magenta")
roundedcube_xyz(bracket_cut + bracket_depth * 2 + pad_overhang ,bracket_cut + bracket_depth * 2 + pad_overhang , pad_thick... | glb/cad_b3f012f4e587.glb |
Create a sign consisting of a rectangular plaque and a supporting pole. Start by creating a central rectangular plaque with a width of 100mm, a height of 60mm, and a depth of 2mm. Position a thin rectangular pole centered at the bottom of the plaque; the pole should be 2mm wide, 100mm long, and 2mm deep, extending 50mm... | signwidth=100;
signheight=60;
signdepth=2.0 ;
polelength=100;
poleoffsetdown=-50;
line1="Text for line 1";
line2="Text for line 2";
line3="Text for line 3";
line4="Text for line 4";
font="Bermuda script";
fontsize=12;
ltrheight=2;
module __Customizer_Limit__ () {}
shown_by_customizer = false;
$fn=50;
... | glb/cad_0aa1d773daa9.glb |
Create a Potentiometer Mount by starting with a base plate 33mm wide, 17mm deep, and 8mm thick. On the top surface of this base, center a semi-cylindrical housing with an outer diameter of 28mm and a height of 8mm. Bore a central vertical hole through this housing with a diameter of 25mm, extending 5mm deep from the to... | $fn=90;
difference() {
union() {
translate([-9,-17,0])linear_extrude(8)square([23,17]);
intersection(){
translate([-9,-14,0])linear_extrude(8)square([25,28]);
cylinder(h=8,d=28);
}
linear_extrude(8)translate([-19,-17,0])square([19+14+10,3]);
}
differen... | glb/cad_9445ba8da7bb.glb |
Create a Magnetic Cable Management arch. Start by constructing a solid body with an overall width of 47mm, a total height of 13mm, and a thickness of 18mm. The profile should be a pill-like shape with a flat bottom and a curved top.
Carve a central cable arch cutout through the body. The interior of this cutout must h... | use <BOSL2/std.scad>
type = "A";
arch_w = 13;
arch_h = 10;
arch_ratio = 0.3;
outside_arch_w = 47;
outside_arch_h = 13;
arch_t = 18;
outside_arch_ratio = 0.65;
arch_chamfer = true;
arch_chamfer_d = 1.5;
velcro_plate_l = 115;
velcro_plate_w = 46;
velcro_plate_ear_l = 28;
velcro_plate_ear_w = 25;
velcro_pla... | glb/cad_23142d906ac7.glb |
Create a battery cover for a scale. Start with a base rectangular plate measuring 25.5mm in length, 52mm in width, and 1.5mm in thickness, ensuring all four corners are rounded with a 2mm radius.
On the top surface of this plate, add two small rectangular blocks positioned symmetrically. Each block should measure 4mm... | $fa = 1;
$fs = 0.2;
width = 52;
length = 25.5;
thickness = 1.5;
r_corner = 2;
difference(){
union(){
translate([-length/2,-width/2,0])
roundedcube2d(length,
width,
thickness,
r_corner);
translate([-12,11.5,2])
cube([4,5,1.05], center=true);
tran... | glb/cad_613c28064c1b.glb |
Create a motherboard cover designed to house an 80x80x25mm fan. The main body should be a rectangular enclosure that fits over the motherboard area of an Ender 3 V2 or Pro.
Integrate a mounting system for an LM2596s buck converter. This mount consists of standoffs positioned to match the specific footprint of the LM2... | include <BOSL/constants.scad>
use <BOSL/transforms.scad>
use <BOSL/beziers.scad>
use <BOSL/math.scad>
function CR_corner(size, orient=[0,0,0], trans=[0,0,0]) =
let (
r = 0.4,
k = r/2,
patch = [
[[0,1,1], [0,r,1], [0,0,1], [r,0,1], [1,0,1]],
[[0,1,r], [0,k,k], [k,0,k], [1,0,r]],
[[0,1,0], [k,k,0], [1,0... | glb/cad_28e132246600.glb |
Create a motherboard cover for an 80x80x25mm fan. The main body is a hollow rectangular enclosure designed to fit over a motherboard, with a top surface that accommodates an 80mm fan.
Integrate a mounting system for an LM2596s buck converter. This mount consists of four cylindrical standoffs positioned to match the f... | use <BOSL/transforms.scad>
use <BOSL/math.scad>
include <BOSL/constants.scad>
orientations = [
ORIENT_X, ORIENT_Y, ORIENT_Z,
ORIENT_XNEG, ORIENT_YNEG, ORIENT_ZNEG,
ORIENT_X_90, ORIENT_Y_90, ORIENT_Z_90,
ORIENT_XNEG_90, ORIENT_YNEG_90, ORIENT_ZNEG_90,
ORIENT_X_180, ORIENT_Y_180... | glb/cad_0123964b72f2.glb |
Create a phone case for an Honor 10 with a baseplate thickness of 1mm and walls 2mm thick. The main body should be a rounded rectangle with a length of 149.6mm, a width of 71.3mm, and a total height of 9mm (8mm phone height plus 1mm base). The corners of the case should have a radius of 11mm (9mm phone corner radius pl... | LENGTH = 149.6;
WIDTH = 71.3;
HEIGHT = 8;
CORNER_RADIUS = 9;
CAMERA_HOLE = "yes";
CAMERA_LEFT_TO_RIGHT_SIZE = 29;
CAMERA_LEFT_OFFSET = 7.5+CAMERA_LEFT_TO_RIGHT_SIZE/2;
CAMERA_TOP_TO_BOTTOM_SIZE = 9+1;
CAMERA_TOP_OFFSET = 12.5;
CAMERA_RADIUS = 5;
FLASHLIGHT_HOLE = "no";
FLASHLIGHT_LEFT_TO_RIGHT_SIZE = 5.0;
F... | glb/cad_8adf942af6b8.glb |
Create a desk cable management hole insert consisting of a hollowed cylinder with a flange. Start by creating a thin circular flange with a diameter of 88mm and a thickness of 3mm. Centered on this flange, add a larger cylinder with an outer diameter of 78.5mm and a total height of 52mm. Hollow out the center of this c... | $fn = 100;
outer_depth=12.0;
inner_depth=10.0;
hole_outer_diameter=78.5;
hole_inner_diameter=76.5;
flange_diameter=88;
hole_inner_depth=50;
hole_outer_depth=52;
flange_depth=3;
divider_thickness=2;
divider=true;
cup_holder=true;
extended_divider=false;
module flange(flange_depth, flange_diameter){
cylinder(flan... | glb/cad_b674cb7ffd30.glb |
Create a phone case for an Honor 9 lite. Start with a baseplate 154mm long, 76mm wide, and 1mm thick, with corner radii of 11mm. Build walls around the perimeter that are 2mm thick and 8.5mm high, incorporating a 0.5mm high inner lip (holder) that extends 2mm inward from the top edge of the walls. The phone cavity itse... | LENGTH = 150;
WIDTH = 72;
HEIGHT = 7.5;
CORNER_RADIUS = 9;
CAMERA_HOLE = "yes";
CAMERA_LEFT_TO_RIGHT_SIZE = 30+2;
CAMERA_LEFT_OFFSET = 5+28/2;
CAMERA_TOP_TO_BOTTOM_SIZE = 8.5+2;
CAMERA_TOP_OFFSET = 9;
CAMERA_RADIUS = 5;
FLASHLIGHT_HOLE = "no";
FLASHLIGHT_LEFT_TO_RIGHT_SIZE = 5.0;
FLASHLIGHT_LEFT_OFFSET = 50... | glb/cad_fa00950018cd.glb |
Create a Recessed Lighting Custom Ring consisting of three concentric cylindrical sections. Start by creating a main outer cylinder with a diameter of 195mm and a total height of 2.75mm.
From the center of this cylinder, remove a smaller concentric cylinder with a diameter of 153mm and a height exceeding 2.75mm to cr... | outer_dia = 195;
recess_dia = 168.4;
inner_cutout_dia = 153;
inner_thick = 1;
light_outer_thick = 1.75;
ring_style = "flat_round";
tapered_edge_thick = 1.2;
outer_thick= light_outer_thick + inner_thick;
if (ring_style =="tapered") taper_ring();
if (ring_style =="flat_round") flat_ring();
module taper_ring(){
... | glb/cad_b2d95d742b88.glb |
Create a Customizable Ground Spike consisting of a top sleeve and a tapered bottom stake.
First, construct the top sleeve as a hollow cylinder with an outer diameter of 22mm and an inner diameter of 19mm, with a total height of 25mm. Add a 4mm thick solid cylindrical base to the bottom of this sleeve with a diameter ... | tube_od = 22;
tube_id = 19;
tube_fit = 0.5;
top_h = 25;
top_strength = true;
top_chamfer = 1;
top_t = 4;
bottom_l = 125;
point_r = 1;
bottom_strength = false;
bottom_center_d = 7;
ground_plate_d = 22;
spine_t = 2;
bottom_spine_count = 4;
bottom_horizontal_spine_count = 0;
top_spine_count = 4;
top_horizo... | glb/cad_a628b6ba4857.glb |
Create a Fixed Simple PET Bottle Cutter by starting with a solid cylinder 10mm high with a radius of 18mm. Bore a central vertical hole through the entire height with a radius of 4.02mm. Remove a second vertical semi-cylindrical notch from the side of the main body, with a radius of 3.5mm, positioned so its center is 7... | $fn = 180;
hauteur = 10;
embossagetext = hauteur-0.5;
difference(){
difference(){
cylinder(hauteur,18,18);
cylinder(hauteur,4.02,4.02);
translate([3.3+4.02+3.5,0,0]) cylinder(hauteur,3.5,3.5);
}
translate([0, -9, embossagetext])
linear_extrude(height=4)
text(str... | glb/cad_4291621cf2c2.glb |
Create a motion sensor blindplaat mount consisting of a flat rectangular base plate 37mm wide, 27.5mm deep, and 2mm thick. Center the plate on the origin.
At the four corners of the plate, place four small cylindrical pillars, each 4.5mm in diameter and 1mm high, with a 2.5mm diameter hole drilled vertically through ... | hole_x = 32/2;
hole_y = 25/2;
margin=5.5;
thickness=2;
mount_hole_dia=2.5;
difference()
{
union()
{
cube([hole_x*2+margin+mount_hole_dia/2,hole_y*2+margin+mount_hole_dia/2,thickness],center=true);
for (y=[hole_y,-hole_y])
for (x=[hole_x,-hole_x])
{
translate([x,y,thickness/2])
cylinder(1... | glb/cad_3ad2b1774b4a.glb |
Create a motion sensor blindplaat mount consisting of a flat rectangular baseplate with a thickness of 1mm. The main body is a centered rectangular slab measuring 13mm in width (x-axis) and 21mm in depth (y-axis).
At each of the four corners of the baseplate, centered at x=±6.5mm and y=±10.5mm, place a cylindrical pi... | include <dimensions.scad>;
module baseplate()
{
difference()
{
union()
{
cube([hole_x*2+margin+mount_hole_dia/2,hole_y*2+margin+mount_hole_dia/2,thickness],center=true);
for (y=[hole_y,-hole_y])
for (x=[hole_x,-hole_x])
{
translate([x,y,thickness/2])
cyli... | glb/cad_766e8469703d.glb |
Create a motion sensor blindplaat mount by starting with a square plate measuring 49mm by 49mm with a thickness of 3mm. Center a square cutout measuring 45mm by 45mm and 2mm deep into the top face of the plate, leaving a 2mm wide border around the edges. Finally, place a circular hole with a radius of 1mm through the c... | $fn = 100;
difference()
{
translate([-2,-2])
cube([45+4,45+4,3]);
translate([0,0,-1])
cube([45,45,2]);
translate([45/2,45/2,0])
{
translate([0,0,-1])
cylinder(5,r=1);
}
} | glb/cad_616d8fe029a2.glb |
Create a hollow rectangular cap for a charge door nub. Start by constructing a solid rectangular prism with an outer width of 7.6mm, an outer depth of 7.6mm, and a total height of 4.2mm. From the top face, remove a central rectangular section to create a cavity that is 6mm wide and 6mm deep. This cavity should extend f... | bottom_thickness = 0.7;
inner_width = 6;
inner_depth = 6;
wall_thickness = 0.8;
inside_height = 3.5;
inner_height = inside_height - bottom_thickness;
outer_width = inner_width + 2 * wall_thickness;
outer_depth = inner_depth + 2 * wall_thickness;
outer_height = inside_height + bottom_thickness;
difference() {
tr... | glb/cad_42e6392edab5.glb |
Create a spool holder adapter consisting of a cylindrical base and a rectangular arm. Start with a cylinder that has a diameter of 30mm and a total height of 13.5mm. This cylinder is not solid; it features two opposing wedge-shaped cutouts at the bottom, each with an opening width of 6mm and a height of 3.75mm, and a d... | $fn = $preview ? 16 : 128;
arm_thickness = 5;
arm_length = 40;
spool_diam = 30;
insert_depth = 2.5;
insert_width = 4;
arm_width = spool_diam + 2 * 3;
insert_opening_width = 6;
insert_opening_height = 3.75;
insert_diam = 31.25;
insert_height = 12.5;
cube_width = 2;
cube_length = 5;
cube_depth = 4;
cube_offset = 4;... | glb/cad_4736124da4e4.glb |
Create a star-shaped table grommet for an umbrella. Start by constructing a base that consists of two overlapping cubes, each 60mm by 60mm by 2mm thick; one cube is aligned normally, and the second is rotated 45 degrees around the Z-axis and centered on the first, creating an eight-pointed star. On top of this base, ce... | module star()
{
translate([-60/2,-60/2,0]) cube([60,60,2]);
rotate([0,0,45]) translate([-60/2,-60/2,0]) cube([60,60,2]);
translate([0,0,0]) cylinder(15, 24, 24);
}
difference()
{
star();
translate([0,0,-10]) cylinder(26, 20, 20);
} | glb/cad_1aa7ea0e5bbf.glb |
Create a block holder for game pieces. The main body is a shallow rectangular tray with a base length of 185.7mm and a width of 46.7mm, and a wall height of 9.24mm. The walls are 2.6mm thick. The four exterior corners of the base are rounded with a radius of 1.43mm.
The interior of the tray is a hollowed-out rectangul... | $fn=12;
block_height = 33;
block_side = 15;
wall_thickness = 2.6;
wall_height = block_height * 0.28;
gap = 0.70;
box_in_length = 12 * (block_side + gap);
box_ex_length = box_in_length + 2 * wall_thickness;
box_in_width = 3 * (block_side + gap) + gap;
box_ex_width = box_in_width + 2 * wall_thickness;
echo("box_in_w... | glb/cad_726ed6cb9db7.glb |
Create a Diffusor Cap for the Olight Perun by constructing a rounded cube with a total width and depth of 32mm and a height of 34mm, achieved by applying a 2mm radius fillet to a 28x28x30mm centered cube. Integrate a sphere with a 30mm diameter centered at x=-10, y=0, z=0 into this main body. From this combined volume,... | $fn=90;
difference(){
union(){
minkowski(){
cube([28,28,30],center=true);
cylinder(r=2);
}
translate([-10,0,0])sphere(d=30,center=true);
}
translate([-6,0,-1.1])cube([12.65,25.4,28],center=true);
translate([0.5,0,-1.1])cylinder(d=25.4,h=28,center=true);
... | glb/cad_cf3e14b9d568.glb |
Create a puzzle box for a Soma cube set. Start by constructing a main outer block with a total width and depth of 56.5mm and a height of 51.5mm. The overall shape should be a rounded cube with a chamfer of 0.75mm.
Inside this block, carve out a central rectangular cavity that is 45mm wide, 45mm deep, and 45mm high, l... | s=15;
size=3;
wall=5;
padding=0.75;
cham=.75;
difference(){
Box();
translate([0,0,cham*2])
for(rot=[[90, 0], [90, 0, 90]])rotate(rot)
for(i=[-size/2+1:size/2-1])translate([i*s, 0])
rotate([0, 0, 30])cylinder(s*size, r=cham, $fn=3, center=true);
}
module Box(side=s*size+wall*2+padding*2)
minkows... | glb/cad_246ea196e2ce.glb |
Create a set of polycube puzzle pieces based on a 15mm cube unit with 1mm chamfered edges. Each piece is formed by joining these cubes face-to-face. Construct the following eight tetracubes (4 cubes each) and two tricubes (3 cubes each):
1. A straight 4x1x1 bar.
2. An L-shaped piece with a 3x1 base and 1 cube attached... | size=15;
chamfer=1;
singleCubeNr=0;
if (singleCubeNr)PolyCube(singleCubeNr);
else for (i=[0:4],j=[0:1])translate([i,j]*size*4.5)PolyCube(i+1+j*5);
module BaseC(size,edge){
minkowski(){
cube(size-edge*2,true);
union(){
linear_extrude(edge,scale=0)circle(edge,$fn=4);
rotate([180,0])linear_extrud... | glb/cad_fce7ca9430ab.glb |
Create a customizable spool adapter by constructing a hollow cylinder with a height of 60mm. The main body is defined by an outer diameter of 73.5mm and an inner diameter of 55mm. To create the textured outer wall, add a series of small, vertical cylindrical ribs that radiate from the inner wall to the outer edge. Thes... | inner_diameter=55;
outer_diameter=73.5;
length=60;
extrude=0.8;
D1=inner_diameter+2*extrude; D2=outer_diameter; H=length; d=(D1+D2)/32; n=round(D1/d); $fn=96;
linear_extrude(H) offset(-1)offset(1){ circle(D1/2);
for(a=[0:360/n:359])rotate([0,0,a])hull() {translate([D1/2,0])circle(d*.3); translate([D2/2-d,0])cir... | glb/cad_559b83c8a74b.glb |
Create a sensor shelf mount by starting with a main body consisting of two joined rectangular prisms. The first prism is a vertical block 32.3mm wide, 28mm deep, and 56mm tall, positioned from x=0 to 32.3 and y=-3 to 25. The second prism is a cube 32.3mm wide, 39.6mm deep, and 39.6mm tall, rotated 45 degrees along the ... | $fn = 100;
sensorAngle = 0;
margin = 0;
cutoff = 0;
show = false;
module sensor(angle=8) {
color([0.3, 0.3, 0.3]) union() {
translate([0, 0, 30+32.3/2])
rotate([angle, 0, 0])
scale(-1)
cylinder(r=4, h=30+32.3/2);
translate([0, 0, 30+32.3/2])
rotate([90, 0, 0])
cylinder(r=32.3/2, h=73,... | glb/cad_e0899262c42a.glb |
Create a filament spool spindle consisting of a base and a threaded bolt. Start by creating a cylindrical base with a height of 12mm and a radius of 12.5mm. Above this base, add a conical section that transitions from a bottom radius of 38mm at height 15mm to a top radius of 16mm at height 50mm. Within this conical sec... | use <threadlib/threadlib.scad>
$fa = 1;
$fs = 0.4;
cutout_radius = 21;
cutout_offset = 30;
translate([0, 0, 15])
{
difference() {
cylinder(h = 35, r1 = 38, r2 = 16);
translate([cutout_offset, cutout_offset, -1])
cylinder(h = 35, r = cutout_radius);
translate([-cutout_offset, -... | glb/cad_e88884842720.glb |
Create a filament spool spindle by starting with a truncated cone that is 35mm tall, with a base radius of 38mm and a top radius of 16mm. From the center of this cone, remove a vertical M30 threaded hole that runs the full height of the object. Additionally, remove four cylindrical cutouts, each with a radius of 21mm a... | use <threadlib/threadlib.scad>
$fa = 1;
$fs = 0.4;
cutout_radius = 21;
cutout_offset = 30;
difference() {
cylinder(h = 35, r1 = 38, r2 = 16);
tap("M30", turns=11);
translate([cutout_offset, cutout_offset, -1])
cylinder(h = 35, r = cutout_radius);
translate([-cutout_offset, -cutout_offset, -1]... | glb/cad_40c149ff70f8.glb |
Create a customizable backpack tag by starting with a base shape formed from the convex hull of two cylinders, each 25mm in diameter and 2mm high, positioned 42mm apart along the x-axis. On the top surface of this base, add two layers of extruded text. Position the first text string, representing a name, at coordinates... | length = 42.0;
SizeHole = 5.0;
text = "Your name";
mobile = "+391234567890";
font_name = "Chewy";
font_mobile = "Roboto";
$fn=40;
difference(){
tag();
translate([-7,0,-2]) cylinder(h = 8, d1 = SizeHole, d2 = SizeHole);
}
module tag(){
hull(){
cylinder(h = 2, d1 = 25, d2 = 25);
transla... | glb/cad_671748186531.glb |
Create a cable attachment point for a 20mm extrusion rail. Start with a rectangular base block that is 20mm high, 20.4mm wide, and 12mm deep. The bottom of the block should be flat to sit against the rail.
On the top surface, create a semi-cylindrical channel running the full width of the block to hold cables. This ch... | $fn=90;
rail=20.0;
base_plate=4.2;
side_extrusion=7.0;
c=12.0;
wt=4.0;
cwt=2.2;
mcwt=1.0;
tt=0.5;
bt=1.8;
overhang_angle=60;
ziptie_width=5.2;
ziptie_height=2.0;
sd=3.3;
shd=6.1;
smw=1.0;
width=3*wt+ziptie_width+shd;
difference(){
union(){
translate([0,c/2+wt-cwt,c/2+bt])rotate([0,90,0])cylinder(h=width,d=c);... | glb/cad_191348bb3969.glb |
Create a miniature marker ring by constructing a thin, low-profile cylinder with a height of 2mm and an outer diameter of 26mm. Remove a concentric inner cylinder with a diameter of 26mm (calculated as a 25mm base diameter plus a 0.5mm tolerance on each side) to create a ring wall with a thickness of 3mm. The overall g... | base_diameter = 25;
tolerance = 0.5;
ring_height = 2;
ring_thickness = 3;
text = 1;
letter_height = 3;
font_size = 10;
angle = 25;
repetitions = 3;
$fn=10*6;
radius_inner = (base_diameter/2)+tolerance;
radius_outer = (base_diameter/2)+tolerance+ring_thickness;
difference()
{
cylinder(h=ring_height,r=radi... | glb/cad_545e09e95e4f.glb |
Create a Periodic Table Element Densities display stand. Start with a base rectangular plate measuring 211.2mm by 89.6mm with a thickness of 1mm.
On the top surface of this base, create a grid of square pockets designed to hold 10mm element cubes. Each pocket should have an outer dimension of 10.2mm by 10.2mm. The de... | use<write.scad>
scale (1.12,1.12,1
){
translate([-190,24,0]) cube([190,80,1]);
difference(){translate([-155,80,1]) cube([80,20,2]); translate([-115,90,3]) writecube("Density",[0,0,4],t=2,h=11,font = "orbitron.dxf",face="top",up=0);
}
difference(){translate([-185.1,90.1,1]) cube([10.2,10.2,0.5]);translate([-185.1,90.1,1... | glb/cad_1c634dc26928.glb |
Create a star-shaped holiday ornament hanger. The main body consists of a five-pointed star formed by nine concentric outlines. The outermost star has an outer radius of 40mm and an inner radius of 20mm. Each concentric star shell is separated by a gap, with a wall thickness of 1mm for each line.
The star is composed ... | points=5;
r1=40;
r2=20;
wall=1.0;
limit=+8;
h=1.2;
Star=function (n,r1,r2)
[[for(i=[0:n*2 -1])let(
r=i%2?r2:r1,
deg=i*360/(n*2))
[sin(deg)*r,cos(deg)*r]],
[[for(i=[0:n*2])i%(n*2)]]
];
pointsS=Star(points,r1,r2);
echo(points=pointsS[0]);
echo(path=pointsS[1]);
module Star(wall=w... | glb/cad_9a3af112993f.glb |
Create a keyword ability token for Magic The Gathering. Start by creating a rectangular base plate with rounded edges, measuring 212mm in width, 30mm in height, and 5mm in thickness.
On top of this base, add a raised border frame that is 2.5mm thick. This frame should follow the outer perimeter of the base but leave ... | module base(obj_thickness)
{
minkowski()
{
cube([obj_width, obj_height, obj_thickness / 2]);
cylinder(r=10, h=obj_thickness / 2);
}
}
module full_plate(obj_thickness) {
minkowski()
{
linear_extrude(height = obj_thickness / 2) {
polygon(
[
... | glb/cad_9fc1e362c18e.glb |
Create a credit card holder with an overall outer dimension of 61.8mm width, 15.6mm depth, and 90mm height. The main body is a hollow rectangular shell with walls 1.8mm thick. The interior cavity measures 58mm by 12mm and extends from the top down to a base thickness of 1.8mm. At the bottom of the interior cavity, crea... | $fn=200;
difference() {
Cube(58+3.6,12+3.6,90);
translate([1.8,1.8,1.8])Cube(58,12,90);
translate([(58+3.6)/2,-4,82])
rotate([0,90,90])cylinder(d=40,h=10);
translate([(58+3.6)/2-20,-4,82]) cube([40,10,30]);
}
hull() {
translate([(58+3.6)/2-10,8,0]) cube([20,6,50]);
translate([(58+3.6)/2-10,14,0]) cube([20,0.... | glb/cad_275c7aa0c6dc.glb |
Create a wedding fondant cookie stamp based on a floral emoji shape with a total height of 18mm.
First, construct the outer walls by extruding the floral emoji silhouette to a height of 18mm with a wall thickness of 0.6mm. The top 2mm of this wall should be slightly thicker, at 2mm.
Inside the walls, create a raised... | emoji_selector="use below";
emoji_freetype="🏵";
Text1="Willi";
Text2="&";
Text3="Wendy";
Text4="";
Text5="16.6.2024";
FontSize1=10;
FontSize2=8;
FontSize3=10;
FontSize4=4;
FontSize5=8;
dist=1.2;
Font="Roboto Serif";
emojisize=50;
height = 18;
impression=2.5;
Connecting_bars=5;
thickness = .6;
barlength=emoj... | glb/cad_b59681e2bd86.glb |
Create a Minecraft Creeper Dunlop Valve Cap. Start by constructing a cube with side lengths of 13.8mm. On the front face of this cube, carve out a rectangular mouth area by removing three smaller rectangular blocks: one centered at the bottom measuring 4.5mm wide, 3.6mm high, and 1.8mm deep; one slightly above it measu... | module head()
{
union(){
difference() {
translate([-22.5,-6.5,0]) cube([23,23,23]);
translate([-8.5,-7,14]) cube([7.5,6,3]);
translate([-11,-7,8.5]) cube([8,6,6]);
translate([-8.5,-7,5.5]) cube([7.5,6,3]);
translate([-17,-7,3]) cube([6,6,6]);
... | glb/cad_874e3fa2c517.glb |
Create a Rotello QK-R400 Junction Box Cover. Start with a rectangular base plate measuring 65mm in width and 60mm in length with a thickness of 1.5mm. The four corners of this plate should be rounded with a radius of 1mm.
At each of the four corners, create a vertical mounting hole with a diameter of 2.5mm that passes... | $fn = 200;
width = 65;
length = 60;
height = 1.5;
internal_width = 49;
internal_length = 44;
internal_height = 2;
internal_wall_thickness = 1.5;
wall_thickness = 2;
corner_radius = 1;
hole_diameter = 2.5;
conduit_diameter = 17;
cable_diameter = 11;
holder_height = 30;
hole_y_offset = 3;
fin_depth = 12;
module pos... | glb/cad_a5eda16159ce.glb |
Create a connector bracket with a main body measuring 84mm in width, 25mm in depth, and 50mm in height. The bracket is a U-shaped channel, formed by removing a central rectangular block of 78mm width, 25mm depth, and 50mm height, leaving two outer walls that are each 3mm thick.
In each of these 3mm thick walls, creat... | d_holes = 32;
w_holes = 12;
w_bracket = 78;
h_bracket = 50;
d_bracket = 25;
w_wall = 3;
module holes() {
cylinder(d1=12,d2=0,h=5);
cylinder(d=7,h=100);
translate([0,0,w_bracket+w_wall]) cylinder(d1=0,d2=12,h=5);
}
difference() {
cube([w_bracket+2*w_wall,d_bracket,h_bracket]);
translate([w_wall,-w_... | glb/cad_83ccd005684f.glb |
Create a network switch bracket consisting of two mirrored symmetrical supports. Each support is based on a profile with a total width of 30mm and a thickness of 2.2mm. The main structure features a base plate 3mm thick and a vertical side wall 10mm high.
The profile is an L-shaped bracket with rounded corners of 1mm... | $fn=64;
D=30;
bracD=20;
baseH=20;
topH=30;
sideH=10;
T=2.2;
base=3;
rnd=1;
accessD=8;
holeD=3;
ol=0.1;
rotate([-90,0,0]) for(m=[0,1]) mirror([m,0,0]) translate([D/2+2,0,0]) union() {
difference() {
union() {
rotate([90,0,0]) linear_extrude(height=bracD,center=true,convexity=8) offset(r=rn... | glb/cad_0d78d4bf5a88.glb |
Create a cable hook by combining a mounting base and a curved support arm. Start with a vertical rectangular plate 3mm thick, 28mm long, and 20mm high, centered on the X and Y axes. Pass a 3mm diameter cylindrical hole through the center of this plate along the Y axis.
Attached to the side of this plate, create a cur... | $fn=64;
T=3;
H=20;
ang=150;
screwD=3;
L=28;
W=25;
overlap=0.1;
translate([T/2,L/2]) difference() {
union() {
cube([T,L+overlap*2,H],center=true);
translate([0,L/2,0])rotate([0,90,0]) cylinder(h=T,d=H,center=true);
}
translate([0,L/2,0]) rotate([0,90,0]) cylinder(h=T+overlap*2,d=scre... | glb/cad_491b613f42dc.glb |
Create a two-part protective case for a D1 mini and BMP280 sensor. The case consists of a top cover and a bottom base, both with rounded corners (2mm radius).
The top cover is a rounded rectangular block measuring 41mm by 46mm with a height of 12mm. Hollow out the center to create a cavity measuring 39mm by 44mm with ... | $fn=60;
translate([0,0,4.5]){
difference(){
union(){
minkowski(){
cube([37,42,8],center=true);
cylinder(r=2);
}
translate([0,0,-4.1]){
difference(){
minkowski(){
cube([37,42,2],center... | glb/cad_c948a0c55656.glb |
Create a Katz-Moses Stop Block Spacer by starting with a rectangular base measuring 76mm in length, 30mm in width, and 3mm in height. Centered on the top surface of this base, add a second, smaller rectangular rail that is 76mm long, 7.5mm wide, and 1mm high. Position this rail so it is offset from the back edge of the... | Spacer_Depth = 3;
Spacer_Length = 76;
Spacer_Width = 30;
Spacer_Rail_Width = 7.5;
Spacer_Rail_Depth = 1;
Spacer_Rail_Offset_From_Back = 6.25;
Spacer_Screw_Hole_Diameter = 6.5;
Spacer_Screw_Center_to_Center_Distance = 44.5;
$fn = 64;
module Spacer() {
screwHoleHeight = Spacer_Depth + Spacer_Rail_Depth;
screwHoleOf... | glb/cad_5e89f1c27cd5.glb |
Create a travel cutlery box by starting with a solid rectangular block that has a total width of 49mm, a depth of 85mm, and a height of 238mm. Hollow out the center of this block to create a shell with walls 2mm thick. Inside this shell, carve out four distinct rectangular compartments to hold cutlery handles. Each com... | Wall=2;
KniveLength=230;
SpoonLength=205;
ForkLength=202;
TeaspoonLength=170;
MaxInnerWidth=45;
MaxInnerHeight=KniveLength;
HandleWidth=16.5;
HandleDepth=16.5;
HandleHeight=87;
HeightBottom=HandleHeight+2*Wall;
Width=MaxInnerWidth+2*Wall;
Depth=4*HandleDepth+9*Wall;
Height=MaxInnerHeight+4*Wall;
difference(){
cube([Wi... | glb/cad_efd36b5661df.glb |
Create a cutlery box consisting of a hollow rectangular base and a matching lid. The base is a solid rectangular block measuring 49mm in width, 123mm in depth, and 91mm in height.
The lid is a rectangular shell with a wall thickness of 2mm, sharing the same outer width of 49mm and depth of 123mm as the base, with a t... | Wall=2;
MaxInnerWidth=45;
MaxInnerHeight=230;
HandleWidth=16.5;
HandleDepth=16.5;
HandleHeight=87;
HeightBottom=HandleHeight+2*Wall;
Width=MaxInnerWidth+2*Wall;
Depth=4*HandleDepth+9*Wall;
translate([-Wall,-Wall])
difference(){
cube([Width+2*Wall,Depth+2*Wall,HeightBottom-30]);
translate([Wall,Wall])
cube([Width,Depth... | glb/cad_410c8a02a9ed.glb |
Create an LED strip pipe clip with a total width of 7mm. Start by forming a semi-circular ring with an outer diameter of 29mm and an inner diameter of 23.3mm, ensuring all edges are rounded with a 1mm radius.
Integrate a rectangular mounting block into the ring's structure to hold the LED strip. This block should be ... | $fn= $preview ? 15 : 30;
pipe_diameter = 23.3;
outer_diameter = 29;
clip_width = 7;
strip_width = 12.3;
strip_height = 3.8;
rounding = 1;
clip_thickness = outer_diameter - pipe_diameter;
minkowski(){
difference(){
hull(){
cylinder (r = outer_diameter / 2 - rounding / 2, h = clip_width - round... | glb/cad_bf4d7eba1214.glb |
Create a parametric ID holder designed to hold multiple cards measuring 54mm by 85.5mm. Start with a back wall plate that is 58.4mm wide, 91.5mm long, and 1.2mm thick. Center a rectangular lanyard hole measuring 6mm by 3mm through the top of this plate, 5mm from the top edge.
Construct the card slots by creating alter... | icount = 2;
idwidth = 54;
idlength = 85.5;
iddepth = 1.0;
tdepth = 0.2;
$fn= 80;
wdepth = iddepth+tdepth;
owdepth = wdepth;
cwidth = 6;
clength = 3;
cdepth = wdepth;
bwidth = idwidth+(2*owdepth);
blength = idlength + (6*owdepth) + clength;
bdepth = owdepth;
idcount = 2 * icount;
difference() {
translate ... | glb/cad_55d91f6ffd0c.glb |
Create a MOLLE compatible tag by starting with a rectangular base measuring 60mm in length, 30mm in width, and 3.5mm in height. Round the edges of this base with a 1mm radius. To create the mounting slots, remove two vertical rectangular sections from the base: one positioned 3mm from the left edge and another 49mm fro... | $fn=250;
minkowski(){
difference(){
translate([0,0,-3.5])
cube([60,30,3.5]);
union(){
translate([3,3,-3.75])
cube([8,24,4]);
translate([49,3,-3.75])
cube([8,24,4]);
translate([-.25,12,-3.75])
cube([4,6,4]);
translate([56.9,12,-3.75])
cube([4,6,4]);
}
}
translate([0,0,-3.5])
cylinder(h=.75,d=1);
}
translate([12.5,5,-3... | glb/cad_b6232c4fefd3.glb |
Create a protective cover for a disposable shaving razor head. The overall external dimensions of the cover should be 17.45mm in height, 44.2mm in width, and 7.25mm in depth.
Construct the main body as a hollow rectangular shell with walls 1mm thick. The back wall is a solid vertical plane 44.2mm wide and 7.25mm deep... | razor_width = 42.2;
razor_height = 15.45;
razor_depth = 5.25;
side_wall_width = 1;
adjusted_width = (razor_width + (side_wall_width * 2)) / 2;
adjusted_height = razor_height + (side_wall_width * 2);
adjusted_depth = razor_depth + (side_wall_width * 2);
union()
{
CreateBack();
CreateBottom();
CreateSide... | glb/cad_207137f4fb28.glb |
Create a high foot for a baby bouncer by constructing a rectangular block with a width of 100mm, a depth of 35mm, and a height of 120mm.
At the top surface of the block, center two vertical holes. Each hole consists of a cylindrical shaft with a diameter of 4.5mm that extends through the block, topped with a wider he... | bouncer_d=460;
bouncer_c_d=12.3;
bouncer_holes_d=5.8;
bouncer_flat_length=25;
length=500;
$fn=90;
x=90;
y=25;
z=0.1;
x2=x+10;
y2=y+10;
height=120;
tilt = atan(height/length);
screw_head=7.5;
screw_shaft=4.5;
screw_shaft_l=bouncer_c_d+height;
screw_length=20;
module bouncer(bouncer_c_d){
difference(){
union(){
rota... | glb/cad_9b3688dd0608.glb |
Create a storage clip for a flex shaft by starting with a rectangular block measuring 23.5mm in width, 30mm in depth, and 30mm in height. Remove a central rectangular section from the block, leaving walls that are 4mm thick on the left and right sides, and 1mm thick on the front and back, creating a deep U-shaped chann... | holder_x=23.5;
holder_y=30;
holder_z=30;
t_x=4;
t_y=1;
t_z=0;
spine_d=13;
r1=14/2;;
r2=19/2;
h=holder_x;
r_t=2;
new_r=6.5;
new_r2=19.5/2;
new_h=5;
new_h2=12;
new_h3=7;
module dremel_spine(new_r, new_r2, new_h, new_h2, new_h3){
cylinder(r1=new_r, r2=new_r2, h=new_h);
translate([0,0,-new_h2])
cylinder(r=new_r, h=n... | glb/cad_e10c0f7059a5.glb |
Create a Wemos D1 Mini and Infrared Sensor enclosure consisting of a base and a lid. The overall external dimensions are 38.5mm wide, 30.5mm deep, and 12mm high, with a wall thickness of 2mm.
Construct the base as a hollow rectangular box. The internal cavity should be 34.5mm wide and 26.5mm deep. On one side, create ... | height = 12.0;
thickness = 2.0;
fudge = 0.1;
width = 38.5;
depth = 30.50;
cavity_width = width - (2 * thickness);
cavity_depth = depth - (2 * thickness);
cavity_height = height - thickness + fudge;
hole_radius = 7.0;
slit_width = 4.0;
slit_height = 23.0;
ir_hole_width = 6.75;
ir_hole_height = 5;
ventilation_slats ... | glb/cad_ace732aa8641.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.