Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Microphone Shockmount Stand Mount consisting of a circular base and a vertical support.
Start by creating a circular base with a diameter of 140mm and a height of 10mm. The base has a wall thickness of 10mm. In the center of the base, create a vertical cylindrical hole with a diameter of 25mm that passes com... | height = 130;
base_height = 10;
base_diameter = 140;
width = 10;
cable_hole_diameter = 25;
cable_hole_height = base_height;
attachment_type = 0;
attachment_slot_width = 6;
$fa=4;
$fs=0.5;
attachment_data = [
[8,9,5.5],
[10,10,6.5]
];
attachment_side_width = 5;
attachment_inset_width=2;
attachment_hex_width=2... | glb/cad_8baeee2972b0.glb |
Create a camera cover by constructing a hollowed-out shell with a rectangular profile and rounded ends. Start with a solid body that is 106mm wide, 32mm deep, and 28mm high. The front face should be a rounded rectangle with a height of 28mm and a width of 106mm, while the back face is a smaller rounded rectangle with a... | extra = 2;
thick = 2;
wide = 102 + extra * 2;
deep = 28 + extra + thick * 2;
port = 15 + extra * 2;
frontHeight = 26 + thick;
backHeight = frontHeight / 2;
difference()
{
rotate([90, 0, 0])
{
hull()
{
translate([0, frontHeight / 2, 0])
{
translate([front... | glb/cad_f2b322132203.glb |
Create a belt holster for a battery with a total outer width of 85.2mm, a depth of 29.1mm, and a height of 185mm. The main body is a hollow shell with a wall thickness of 2.5mm. The cross-section consists of a central rectangular section with two semi-circular ends, each with a radius of 12.05mm.
To form the pocket, ... | x_length = 80.2;
y_length = 24.1;
z_length = 180.0;
thickness = 5.0;
x_cutout_width = x_length * 0.5;
xy_scale = 1.0025;
z_scale = 1.0;
module anker_body(x_length, y_length, z_length) {
x_rectangular_section_length = x_length - y_length;
xy_rounded_radius = y_length / 2;
union() {
cube(size=[x_r... | glb/cad_d68e12c8a34d.glb |
Create a belt holster for a battery consisting of a hollowed rectangular sleeve and an attached clip. First, construct the main holster body as a rectangular shell with an outer height of 40mm and a wall thickness of 2.5mm. The interior cavity should be sized to accommodate a belt up to 10mm thick.
To create the inte... | belt_height = 40.0;
belt_thickness = 10.0;
x_length = belt_height * 0.5;
z_length = belt_height * 1.25;
thickness = 2.5;
xy_scale = 1.0025;
z_scale = 1.0;
union() {
cube([x_length, thickness, z_length], center=true);
translate([0, belt_thickness, 0])
cube([x_length, thickness, z_length], center=true)... | glb/cad_3e25a9faa41c.glb |
Create a 2.5D shopping cart token and logo for the FEC-Fuerth. Start by creating a base cylinder with a diameter of 86.9mm and a height of 8mm.
On the top surface of this cylinder, engrave a complex logo by removing material to different depths. First, create a primary recessed path with a depth of 1.8mm. Within this... | fudge = 0.1;
zsize = 8;
line_fn = 4;
min_line_width = 1.0;
function min_line_mm(w) = max(min_line_width, w) * 96/25.4;
path868_0_center = [0.968760,-2.604325];
path868_0_points = [[-20.049800,-31.099980],[-20.332610,-31.184880],[-20.579090,-31.142980],[-20.875970,-30.711330],[-21.067370,-30.525790],[-26.866200,-21.242... | glb/cad_197ae0ab752d.glb |
Create a 2.5D shopping cart token and logo for the FEC-Fuerth. Start by creating a main cylindrical disc with a total height of 8mm. The base of the disc is a low-resolution cylinder (using 4 facets for the edges) with a radius of approximately 43.46mm.
On the top surface of this disc, engrave a complex logo by removi... | fudge = 0.1;
zsize = 8;
line_fn = 4;
min_line_width = 1.0;
function min_line_mm(w) = max(min_line_width, w) * 96/25.4;
path520_0_center = [0.000000,0.000000];
path520_0_points = [[-43.464565,0.000000],[-43.082334,5.757299],[-41.960019,11.340673],[-40.134190,16.686781],[-37.641418,21.732283],[-34.518271,26.413839],[-30... | glb/cad_bd302f378943.glb |
Create a front IO cover plate for a computer case. Start with a rectangular base plate measuring 124.15mm wide, 38.35mm high, and 2.25mm thick.
Add a bezel around the top and bottom edges of the plate. The top bezel is 1.5mm wide and 1mm high. The bottom bezel is 1.5mm wide, but its height varies: for the first 97.5m... | $fn = 64;
front_width = 124.15;
front_height = 38.35;
front_thick = 2.25;
top_bezel_height = 1;
bot_bezel_height = 2.25;
bot_bezel_high_length = 97.5;
bot_bezel_step_height = 1.3;
bezel_width = 1.5;
cube([front_width, front_height, front_thick]);
module side_bezel()
{
cube([bezel_width, front_height, top_bezel_heig... | glb/cad_6366d95a429b.glb |
Create a cable duct cover with a total length of 50mm. The cross-section is symmetrical and 62.5mm wide. The central portion of the profile consists of a rectangle 60.2mm wide and 1mm thick. On each side of this central rectangle, add a small protruding tab 1.5mm wide and 3mm high, positioned 0.6mm from the outer edges... | $fn = 32;
center = false;
length = 50;
front_w = 60.2;
full_w = 62.5;
radius = 1.1;
front_offset = (full_w - front_w) / 2;
module half_cover () {
union () {
translate ([front_offset, 0]){
square ([front_w / 2, 1]);
translate ([0.6, 1])
square ([1.5, 3]);
hull () {
translate ([(2.1 - radius), 7 - ... | glb/cad_b6055bda1401.glb |
Create a Legrand cable duct and cover by extruding a specific cross-section to a length of 50mm. The main duct body is a symmetrical U-shaped channel with an outer width of 73mm (two 36.5mm halves) and a height of 50.4mm. The walls are 2mm thick with rounded outer corners. The interior is hollowed out, leaving a 2.5mm ... | $fn = 32;
center = false;
length = 50;
f_w = 36.5;
f_h = 50.4;
wall = 2;
web = 2.5;
module half_duct () {
difference () {
offset (r = wall * 2)
translate ([wall * 2, wall * 2])
square([(f_w) - (wall * 4), f_h - (wall * 4)]);
union () {
offset (r = wall)
translate ([wall * 2, wall * 2])
square([(... | glb/cad_b091af561692.glb |
Create a baking powder and sugar box consisting of two adjacent rectangular compartments. The overall outer dimensions of the unit should be 108mm in length, 68mm in width, and 45mm in height. The structure is formed by a solid block with two hollowed-out sections, each featuring a floor thickness of 3mm and wall thick... | $fa = 0.5;
$fs = 0.3;
v_x = 64;
v_y = v_x;
b_x = 40;
b_y = v_x;
z = 42;
wall = 2;
floor = 3;
difference() {
cube([v_x + b_x + (wall * 3), v_y + (wall * 2), z + floor]);
translate([wall, wall, floor])
cube([v_x, v_y, z]);
translate([v_x + (wall * 2), wall, floor])
cube([b_x, b_y, z]);
}; | glb/cad_0186e32b52b9.glb |
Create a dust cover for a precision wipe box by constructing a hollow rectangular shell. Start with a solid outer cube measuring 126mm in width, 126mm in depth, and 45mm in height. From the top center of this volume, remove a rectangular block measuring 122mm in width, 122mm in depth, and 42mm in height. Position this ... | $fa = 0.5;
$fs = 0.3;
box_x = 122;
box_y = 119.5;
box_z = 74;
c_x = box_x;
c_y = c_x;
c_z = 42;
wall = 2;
floor = 3;
difference() {
cube([c_x + (wall * 2), c_y + (wall * 2), c_z + floor]);
translate([wall, wall, floor])
cube([c_x, c_y, c_z]);
}; | glb/cad_b2adf4a1fc82.glb |
Create a panel corner brace by starting with a sphere of 20mm diameter. Cut this sphere into an eighth-sphere section by removing the portions that lie outside the positive X, positive Y, and negative Z octants, resulting in a shape with three flat orthogonal faces meeting at a right-angle corner. From this eighth-sphe... | $fn = 256;
difference() {
difference() {
sphere(10);
translate([0, 0, 10])
cube([20, 20, 20], center=true);
translate([-10, 0, 0])
cube([20, 20, 20], center=true);
translate([0, -10, 0])
cube([20, 20, 20], center=true);
};
union() {
differen... | glb/cad_e8e8709924db.glb |
Create a magnetic battery holder for a BOBOVR B2 battery. The main body is a base plate with a total height of 5mm. The footprint is defined by a hull connecting two circles of 5.3mm diameter, positioned 24.7mm apart (center-to-center) along the X-axis.
Within this base, create two circular holes for magnets with a d... | include<common.scad>
$fn=64;
s1=220;
module shape0(){
intersection(){
difference(){
hull(){
tx((90-25)/2)
circle(d=29);
tx(-(90-25)/2)
circle(d=29);
}
hull(){
tx((30-5.3)/2)
... | glb/cad_2c8b82ee1564.glb |
Create a display mounting block for an Ender 5 printer. Start with a main cube measuring 40mm on all sides. Remove a smaller rectangular section from the center of one face, creating a cutout that is 21mm wide, 21mm deep, and 42mm long, extending through the block.
Add four mounting holes to the structure. Create two... | $fa = 1;
$fs = 0.4;
module screw_hole(l1,d1,l2,d2) {
cylinder(l1, d1/2, d1/2);
translate([0,0,-l2])
cylinder(l2, d2/2, d2/2);
}
module screw_hole_hex(l1, d1, l2, sw) {
cylinder(l1, d1/2, d1/2);
ra = sw / cos(30) / 2;
translate([0,0,-l2])
linear_extrude(l2, center= false)
polyg... | glb/cad_add9693dd4d2.glb |
Create a circular arrangement of five identical capsule-shaped plugs. Each plug consists of a central cylinder with a length of 40mm and a diameter of 10.4mm, capped at both ends by hemispheres with a radius of 5.2mm. Use a facet resolution of 36 sides for all cylindrical and spherical surfaces. Position the center of ... | bolt_length = 40.0;
bolt_diam = 10.4;
no_of_bolts = 5;
ring_radius = 25;
resol = 36;
bolt_radius = bolt_diam / 2;
bolt_angle = 360 / no_of_bolts;
bolt_offset = bolt_length / 2;
total_diam = (2* ring_radius) + bolt_diam;
echo ("Total Diameter of Bolt Arrangement: ");
echo (total_diam);
... | glb/cad_6203ef8f9754.glb |
Create a parametric rim valve adapter consisting of a hollow cylindrical tube mounted on a rectangular base.
First, construct the base as a rectangular plate measuring 18mm in length, 10mm in width, and 1mm in height. Apply a corner radius of 2mm to all four vertical edges of this plate. Centered on this base, create... | id = 6.15;
od = 8.7;
length = 10;
base = "base plate";
bp_width = 10;
bp_length = 18;
bp_height = 1;
bp_radius = 2;
flange_width = 2;
flange_height = 1;
resolution = 24;
$fn = resolution;
use_base_plate = base == "base plate" ? true : false ;
module adapter() {
difference() {
cylinder(h = length, r... | glb/cad_dfa16d9d3fa0.glb |
Create a wireless charging tray designed to hold a phone and a charging puck. Start with a main outer body that follows the footprint of a phone with dimensions 75mm wide by 150mm high and corner radii of 14mm. The walls of this tray should be 2mm thick.
Carve out a central phone recess with a width of 75mm, height of... | $fa = 1;
$fs = 0.4;
phone_width = 75;
phone_height = 150;
phone_radius = 12;
lens_width = 41;
lens_height = 42;
lens_radius = 10;
thickness = 2;
charger_thickness = 5.4;
charger_diam = 64.1;
charger_rotation = 270;
charger_x = 0;
charger_y = -0.9;
z_offset = 9+charger_thickness;
clip_x = 4;
clip_y = -7;
tray();
... | glb/cad_1eabb58d3e6d.glb |
Create a Parkside Team 20V Adapter. Start with a central connector block that is 29.5mm wide, 15mm deep, and 10mm high. On the top surface of this block, add two rectangular tongues, each 1.1mm thick and 10mm long, with a height of 6.5mm.
Extend the model with a top plate measuring 67.5mm square and 6.3mm thick, posit... | tol = 0.1;
tol_large = 0.5;
connector_width = 30.5 - tol_large;
connector_height = 10.0;
connector_depth = 15.0;
pin_height = 6.5;
pin1_x = 3.45;
pin_dist = (connector_width - 2 * pin1_x) / 3;
tounge_len = 10;
tounge_thickness = 1.1;
outer_pin_dist = 24;
pin_r = 5.2/2;
pin_l = connector_depth;
back_len = 9;
top_... | glb/cad_47a82dfd5cb8.glb |
Create an Ender 5 pen holder for an XY-plotter consisting of a main body, meander springs, and height adjustment stairs.
Construct the main body as a rectangular block 46mm long, 4mm wide, and 12mm high. Remove a rectangular notch 9mm wide and 4mm deep from the top center. Drill a 3.5mm diameter hole through the cent... | $fa = 5;
$fs = 0.4;
H=12;
module pipe(h, da, di) {
difference() {
cylinder(h, da/2, da/2);
cylinder(h, di/2, di/2);
}
}
module halfpipe(h, da, di) {
difference() {
cylinder(h, da/2, da/2);
cylinder(h, di/2, di/2);
translate([0, -da/2, 0])
cube([da, da, ... | glb/cad_a505f24ed845.glb |
Create a parametric hook for a honeycomb storage wall. Start by constructing a hexagonal plug base that fits into a honeycomb grid. Attached to this base, create a vertical cylindrical holder with an inner diameter of 10mm and a total height of 6mm. The wall thickness of this cylinder should be 2mm.
Extend a rectangu... | include<./hex plug library.scad>;
innerDiameter = 20/2;
height = 6;
connectorLength = 10;
breakWidth = 0;
baseThickness = 0;
baseHoleDiameter = 0;
plugStyle = "insert";
cylinderHeight = 8;
cylinderDiameter = 2;
wallThickness=2;
useInsert = plugStyle == "insert" ? true : false;
$fn=100;
Delta=0.01;
holder(inne... | glb/cad_a06cb3632706.glb |
Create a Bionaire Window Double Fan Remote Holder. Start by constructing a main rectangular compartment with an outer width of 44mm, a depth of 25mm, and a height of 40mm. The walls should have a uniform thickness of 1.6mm. All vertical outer corners of the compartment must be rounded with a radius of 4mm.
Hollow out ... | comp_w = 44;
comp_d = 25;
comp_h = 40;
slot_w = 28;
slot_lower = 16;
corner_r = 4;
wall = 1.6;
chamfer = 0.0;
mnt_dia = 4.5;
tol = 0.25;
d = 1*0.1;
module add() {
if (chamfer > 0) hull() for (sx = [-1,1]) for (sy = [-1,1])
translate([sx*(comp_d/2-corner_r),sy*(comp_w/2-corner_r),-wall]) {
... | glb/cad_3724a39a3f2f.glb |
Create an Alpha2MQTT electronics box consisting of a bottom base and a top lid.
For the bottom base, create a rounded rectangular slab with exterior dimensions of 88mm in length, 66mm in width, and 15mm in height, with corner radii of 2mm. Hollow out the center to create a wall thickness of 2mm, leaving the floor at ... | $fn=60;
module kubc(x,y,z,r)
{
hull() {
translate([-x/2+r,-y/2+r,0]) cylinder(z, d=2*r);
translate([x/2-r,-y/2+r,0]) cylinder(z, d=2*r);
translate([-x/2+r,y/2-r,0]) cylinder(z, d=2*r);
translate([x/2-r,y/2-r,0]) cylinder(z, d=2*r);
}
}
w = 50 + 12;
l = 70 + 18;
e = 2;
ext_w =... | glb/cad_7e5eed0ba5ed.glb |
Create a Flatware Cuff by constructing a tapered rectangular block with a central cutout. The main body should have a base width of 51mm, a depth of 15mm, and a height of 50mm. Taper the width of the block so that the top face is 1mm wider than the base.
Carve a vertical channel through the center of the block. This ... | height = 50;
width = 51;
expansion = 1;
depth = 15;
channel = 8;
base = 10;
module tapercube(w1=10, h1=10, w2=10, h2=10, depth=10, cut=3.0) {
plane = 0.001;
hull() {
translate([cut/2,cut/2,0])
cube([w1-cut, h1-cut, plane]);
translate([0,0,cut/2]) {
translate([0,cut/2])
cube([w1, h1... | glb/cad_6435f07dcb4c.glb |
Create a Customizable Wall Key Holder consisting of a flat backplate and five protruding pegs. Start with a rectangular backplate measuring 120mm wide by 50mm high with a thickness of 2mm. Round the four corners of the plate with a radius of 12.5mm.
Position five cylindrical pegs along the lower section of the plate. ... | x_size = 120;
y_size = 50;
radius_scale = 25;
hooks = 5;
pegsize = 5;
hookcut = 5.1;
margin = 10;
TopText="KEYS";
topSize = 20;
topFont = "Nasa21:style=Regular";
PlateText="I haven't lost yet.";
plateSize = 10;
plateFont = "Nasa21:style=Regular";
epsilon = 0.1;
z_size = 2;
rads_percent = radius_scale/100*mi... | glb/cad_d7bc5a0816fc.glb |
Create a Rolodex Gift Card Clip consisting of a main rectangular body and a central mounting flap. The main body is 90mm wide, 35mm high, and 1.2mm thick. Attached to the back of this body is a footer section that is 90mm wide, 0.8mm thick, and 16mm high.
Centrally located on the back, add a vertical flap that is 10mm... | $fn = 30 + 0;
in_to_mm = 25.4 + 0;
Units = 25.4;
Card_Hole_Offset = 0.75;
converted_card_hole_offset = Card_Hole_Offset * Units;
Thin_Clips = true;
hole_width = 6.5 + 0;
hole_height = 8 + 0;
hole_y = 8 + 0;
hole_track_width = 3.75 + 0;
center_area = (converted_card_hole_offset * 2) - 9;
Card_Width = 90 + 0;
Card_H... | glb/cad_243d8dba313c.glb |
Create a Rolodex Gift Card Clip stand consisting of an axle, a wheel, two knobs, and two stand ends.
Start with a hexagonal axle 124.01mm long with a radius of 5mm. Create two guide peg holes by removing two cylinders of radius 10mm and height 0.9mm, positioned 12mm from each end.
Construct a wheel with a 56mm diame... | $fn = 90 + 0;
Parts = "All";
Display_Duplicates = 1;
Swatch_Width = 95.01;
Swatch_Height = 75.01;
Swatch_Preview = false;
Axle_Tolerance = 0.125;
Axle_Guide_Peg_Holes = true;
Stand_Thickness = 4;
Stand_Tolerance = 0.125;
Stand_Text = "";
Stand_Text_Font = "Liberation Sans:style=Bold";
Wheel_Diameter = 56;
... | glb/cad_59a06ff87c85.glb |
Create a plant support ring by starting with a flat, solid cylinder that has a radius of 41mm and a height of 3mm. Remove a smaller concentric cylinder from the center with a radius of 33mm and a height of 6mm to create a ring shape. To complete the support structure, create four circular holes through the ring, each w... | $fn=100;
difference(){
cylinder(h=3, r=41, center=true);
cylinder(h=6, r=33, center=true);
translate([37, 0, 0])
cylinder(h=6, r=2.25, center=true);
translate([-37, 0, 0])
cylinder(h=6, r=2.25, center=true);
translate([0, 37, 0])
cylinder(h=6, r=2.25, center=true);
translate([0, -37, 0])
cylinder(h=6, r=... | glb/cad_b724932e6354.glb |
Create a Cinema Lightbox Letter holder by starting with a solid rectangular base measuring 65mm in width, 38mm in depth, and 15mm in height. Within this base, carve out 30 identical rectangular slots arranged in a grid of three rows and ten columns. Each slot must measure 5mm in width, 26mm in depth, and 30mm in height... | singleX=5;
singleY=26;
singleZ=30;
width=1.2;
boxX=singleX*10+width*11;
boxY=singleY*3+width*4;
boxZ=15;
difference(){
cube([boxX,boxY,boxZ]);
for(a = [1:10])
remove_me(a,1);
for(a = [1:10])
remove_me(a,2);
for(a = [1:10])
remove_me(a,3);
}
module remove_me (x,y){
translate([width*x+singleX*(x-1),width*... | glb/cad_897cc47c5b05.glb |
Create a Desk Remote Holder designed to clip onto a surface. Start by constructing a main rectangular block that is 70mm wide, 90mm deep, and 75mm tall. On the top surface of this block, create a recessed open compartment that is 50mm wide and 100mm long, leaving a 10mm wall thickness on the left and right sides. Divid... | $fn=60;
DeskHeight = 20;
ClipWall = 10;
Width = 75;
module DeskClip() {
translate([35, 30, (DeskHeight + ClipWall * 2)/2])
difference() {
cube([70, 60, DeskHeight + ClipWall * 2], center=true);
translate([0, ClipWall, 0])
cube([75, 60, DeskHeight], center=true);
... | glb/cad_cb4061361bd8.glb |
Create a parametric wall mount for a remote control with overall outer dimensions of 56.5mm width, 27.5mm depth, and 63mm height.
Start with a solid block of these dimensions. Round all exterior vertical corners with a radius of 6mm. Apply a 3mm chamfer to the top edge and a 3mm chamfer to the bottom edge.
Hollow o... | $fa = 1/2;
$fs = 1/4;
wall_mount ( [50.5, 21.5, 60] );
module wall_mount (dim = [30, 10, 50], thk = 3, dual_hole = false )
difference () {
round_cube_with_chamfer ( dimension = dim + [2 * thk, 2 * thk, thk], r = 3 + thk, top = 1, bottom = 1 );
translate ( [thk, thk, thk] )
round_cube_with_chamfer ( di... | glb/cad_07f826940c54.glb |
Create a bed leveler frame mount and foot. For the mount, create a right-triangular prism with a 20mm base and a 20mm height, extruded 20mm deep. Remove a 5.4mm diameter hole running through the center of the prism along its depth. At the front face of this hole, create a 11mm diameter countersink. Additionally, remove... | $fn=45;
difference()
{
rotate([90,0,0])
linear_extrude(20, convexity=10)
polygon([[0,0],[0,20],[20,0]]);
translate([0,-10,10])
rotate([0,90,0])
cylinder(d=5.4, h=20);
translate([2,-10,10])
rotate([0,90,0])
cylinder(d=11, h=20);
translate([10,-10,0])
cylin... | glb/cad_576f04abc8c4.glb |
Create a Tactile Spiral Vase Pen Cup by constructing a hollow cylinder with an outer diameter of 90mm and a total height of 100mm. The walls should have a thickness of 6mm. The exterior surface is defined by a dense, spiraling pattern of 64 evenly spaced vertical grooves that wrap around the body. These grooves are cre... | od=90;
height=100;
angle=40;
straight=false;
thickness=6;
num=64;
ratio=1/3;
module __Customizer_Limit__ () {}
arc=ratio*(360/num);
$fn=($preview)?20:120;
module cut()
{
l=od*1.1;
lc=l*cos(arc);
ls=l*sin(arc/2);
difference() {
intersection()
{
circle (d=l);
polygon( points=... | glb/cad_599d387ccc4b.glb |
Create a single piece of a Cubic Trisection puzzle. Start with a cube that has a side length of 40mm. To define the internal geometry, create a void by extruding a shape along a central axis that runs from one corner of the cube through the center to the opposite corner. This extrusion must have a total height of appro... | size=40;
tolerance=0;
slices=1000;
twist=300;
offset=90;
part="single";
t=twist;
o=offset;
tol=tolerance;
rotate([-45,0,0])
rotate([0, -atan(1/sqrt(2)), 0])
difference(){
rotate([45, atan(1/sqrt(2)), 0])
cube(size, center=true);
linear_extrude(
height=size*sqrt(3),
twist=t,
convexity=10,
... | glb/cad_7842a997b947.glb |
Create a Cubic Trisection puzzle piece by starting with a cube that has a side length of 40mm. The final shape is generated by removing a twisted, helical volume from the center of this cube. Create a linear extrusion that starts from a central point and extends to a height of approximately 69.28mm (the cube's space di... | size=40;
tolerance=-1;
slices=1000;
twist=300;
offset=90;
part="single";
t=twist;
o=offset;
tol=tolerance;
rotate([-45,0,0])
rotate([0, -atan(1/sqrt(2)), 0])
difference(){
rotate([45, atan(1/sqrt(2)), 0])
cube(size, center=true);
linear_extrude(
height=size*sqrt(3),
twist=t,
convexity=10,... | glb/cad_b77f8567ce89.glb |
Create a Customizable Box Pleat Jig for kilt making. Start with a rectangular base that is 1.75mm thick, with a length of 69.94mm and a width of 49.94mm.
Carve a central guide line and two sets of parallel guide lines into the base. The first set of lines should be positioned 13.97mm from the center on both sides. Th... | line1groove= "yes";
line1width = 27.94;
line1text = "1.1 IN";
line2use= "yes";
line2width = 22.225;
line2text = "";
line2groove= "yes";
line3use= "no";
line3groove= "no";
line3width = 28;
centertext="0.875 IN";
guide_width = line1width+22;
guide_length = guide_width+20;
guide_height = 1.75;
guide_width_center=guid... | glb/cad_35a958bd42bc.glb |
Create a Pottery Wheel Throwing Jig consisting of two perpendicular arms joined at a center point, with a handle hook at the top. All components have a uniform thickness of 3mm and a shaft width of 10mm.
First, create a horizontal arm. Calculate the length based on an outside rim diameter of 203mm adjusted for 13% cla... | tombo_text="1200G LARGE BOWL S.R.13%";
outside_width_raw = 203;
inside_width_raw = 192;
inside_height_raw = 70;
foot_width_outer_raw=92;
foot_width_inner_raw=77;
foot_height_raw=11;
clay_shrinkage=13.0;
thickness= 3;
shaft_width=10;
... | glb/cad_4ca43332ebe5.glb |
Create a plant marker by constructing a flat base with a thickness of 2.5mm. The main body is a rectangular shaft 175mm long and 25mm wide. Extend this shape into a tapered point by adding a section 38mm long that transitions from the 25mm width of the shaft down to a circular tip with a diameter of 10mm.
Cut the wor... | text_line = "cauliflower";
module marker(marker_text) {
shaft_length = 175;
shaft_width = 25;
marker_thickness = 2.5;
taper_length = 38;
taper_point = 10;
text_size=16;
text_spacing=1.1;
text_left_margin=10;
text_buffer=0.1;
text_font="Aero Matics Stencil:style=Regular";
dif... | glb/cad_d63e1f2cd78e.glb |
Create a reading window tool by starting with a solid rectangular base measuring 100mm in width, 35mm in height, and 3mm in thickness. Cut a rectangular opening from the top edge of this base, centered horizontally, with a width of 50mm and a height of 10mm, extending through the full thickness of the material. On the ... | sirka = 100;
vyska = 35;
hloubka = 3;
sirka_okna = 50;
vyska_okna = 10;
napis = "FZŠ Umělecká, Praha 7";
vyska_textu = 5;
difference() {
cube([sirka, vyska, hloubka]);
translate([-1, vyska-vyska_okna, -1])
cube([sirka_okna+1, vyska_okna+1, hloubka+2]);
translate([sirka/2,(vyska-vyska_okna)/2,1]) {
color("red... | glb/cad_857a13a803b6.glb |
Create a reading window tool by starting with a rectangular base measuring 100mm wide, 35mm high, and 3mm thick. Cut a rectangular opening from the top edge of the base that is 50mm wide and 8mm high, centering it horizontally. To create the specific window shape, remove a 10mm wide section from the center of this open... | sirka = 100;
vyska = 35;
hloubka = 3;
sirka_okna = 50;
vyska_okna = 8;
vyska_vnitniho_okna = 8;
sirka_zubu = 10;
napis = "FZŠ Umělecká, Praha 7";
vyska_textu = 5;
difference() {
cube([sirka, vyska, hloubka]);
translate([-1, vyska-vyska_okna, -1])
cube([sirka_okna+1, vyska_okna+1, hloubka+2]);
translate([(sirk... | glb/cad_3f2f6374132e.glb |
Create a 9x9 Go board as a flat square plate measuring 125.5mm by 125.5mm with a thickness of 3mm. Engrave a grid of lines into the top surface, each 1mm wide and 1mm deep. The grid consists of nine vertical and nine horizontal lines spaced 13mm apart, with the outer lines positioned 20mm from the opposite edge to crea... | spacing = 13;
width = 13 * 8;
radius = 3;
radius_marks = 1.8;
height = 3;
border = 20;
line_width = 1;
line_depth = 1;
difference() {
translate([-border/2,-border/2,-height+line_depth]) cube([width+border+line_width,width+border+line_width,height]);
for(space = [0 : spacing : width]) {
translate([spac... | glb/cad_cbaddff03a22.glb |
Create a Parametric Caged Roller Bearing with an inner diameter of 12mm, an outer diameter of 40mm, and a total bearing width of 12mm.
First, construct two concentric raceways. The raceways should feature a profile that includes a small brim of 0.3mm thickness extending 2mm outward and inward from the main rings to a... | cutaway="no";
parts="all";
inner_diameter=12;
outer_diameter=40;
bearing_width=12;
roller_shape="cylindrical";
brim="yes";
brim_thickness=0.3;
outside_brim=2;
inside_brim=2;
roller_loosening_slot="inset slots";
roller_raceway_tolerance=0.3;
cage_roller_tolerance=0.4;
cage_raceway_tolerance=0.5;
bridge_tol... | glb/cad_f58129fe6152.glb |
Create a Miter Slot Runner consisting of two identical segments joined end-to-end for a total length of 160mm. Each 80mm segment is based on a rectangular profile with a total height of 10.4mm.
For each segment, create a main body that is 19.25mm wide. At the bottom, integrate a T-groove that is 23mm wide and 3.5mm h... | segments=2;
segment_length = 80;
bolt = true;
groove = true;
chain = false;
slot_width = 19.25;
slot_height = 10.40;
groove_width = 23;
groove_height = 3.5;
nut_width = 12.75;
nut_height = 6;
bolt_diameter = 6.9;
screw_width = 9;
screw_height = 3.3;
screw_diameter = 4.5;
module tslot_segment(t, slot_length, b... | glb/cad_c40841f70475.glb |
Create a Prusa MINI LCD knob by starting with a main cylindrical body that has a height of 13mm and a diameter that transitions from 20mm at the base to 40mm at the top, featuring rounded edges with a 4mm radius.
Subtract three identical cylindrical voids from the top surface to create finger grips; each void has a d... | $fn=64;
h=13;
hexD=[8,11];
sink=2;
d=[20,40];
fingerShift=16.5;
holeH=10;
hole=6;
holeLift=3.5;
f=4;
not=0.001;
difference() {
cylinderRounded(d = [0,d[1]],h=h,r=[0,f,0,f],chamfer=45);
for(a=[0:120:360]) r(a) t([fingerShift,0,-not]) cylinderRounded(d = [0,d[0]],h=h+2*not,r=[0,0,0,-f]);
t([0,0,-not]) cylinder(h... | glb/cad_c9ac8a7ee3ad.glb |
The provided OpenSCAD code describes a complex mechanical assembly consisting of a base plate, several support pillars, and a series of intricate, mirrored structural components.
### Summary of the Model's Components:
1. **The Base Plate:**
* A central, large, irregularly shaped teal plate.
* It features... | difference () {
linear_extrude (height=3, center=true){
difference () {
translate ([0, 0, -0.1]) {
projection (cut = false) {
union () {
linear_extrude (height=5, scale=0.1, center=true){
projection (cut = true) {
translate ([0, 0, -0.1]) {
... | glb/cad_fbddb6fa0df8.glb |
Create a DRO Mounting kit for a Paulimot Sieg SX2.7L Mill consisting of a replacement lock handle and pin.
First, construct the pin. Create a cylinder with a radius of 4.4mm and a height of 12mm. Atop this, add a hexagonal section with a radius of 5.6mm and a height of 8.2mm. Above the hexagon, add a cylinder with a ... | eps = 0.01;
include <..\..\lib\threads.scad>
ptOriginal = 1;
ptOriginalLong = 2;
ptSimplified = 3;
pinType = ptOriginalLong;
ro1 = 8.8/2;
ro2 = 11.2/2;
ro3 = (pinType==ptOriginal || pinType==ptOriginalLong) ? 4.8/2 : 4.2/2;
ro5 = 3.9/2;
ho1 = (pinType==ptOriginal || pinType==ptOriginalLong) ? 12.0 : 0.0;
ho2 = (pi... | glb/cad_19a2509c1c00.glb |
Create a DRO mounting plate with a length of 80mm, a thickness of 13.5mm, and rounded corners with a radius of 2mm.
On the top surface, center two square nut slots along the length. Each slot must be 8mm wide and 3.2mm deep, positioned 10mm from the left and right edges of the plate. The slots should be centered vert... | eps = 0.01;
wBracket = 17.0;
hBracketTop = 18.0;
hBracket = 30.0;
tBracketTop = 8.0;
tBracketBottom = tBracketTop-1.0;
offsetBracketScrewHoleZ = 18.0;
rScrewHole = 4.2/2;
offsetBracketHoleX = 11.0;
offsetBracketHoleZ = 6.5;
rBracketHole = 7.0/2;
distScrewHolesSensor = 60.0;
rScrewHoleSensor = 4.0/2;
offsetSensorHole ... | glb/cad_794f48f0480f.glb |
Create a DRO mounting plate with a base thickness of 5mm and a total length of 65mm. The main body is a rectangular block measuring 86mm in width (calculated as 12.5mm plus four times the 2.1mm hole radius) and 20.5mm in height, with rounded corners of 2mm.
On the top surface, center a large circular cutout with a ra... | eps = 0.01;
distScrewHolesSensor = 60.0;
rScrewHoleSensor = 5.2/2;
offsetSensorHole = 5.5;
lSensor = 80.0;
wSensor = 20.5;
hSensor = 16.5;
fleshPlate = 3.0;
distPlateMountHoles = 12.5;
tPlateMountSensor = 1.0;
rPlateMountHole = 4.2/2;
lPlateMount = 12.0;
clearancePlate = 2.0;
tPlate = 5.0;
wPlate1 = distPlateMountHol... | glb/cad_25e18f395288.glb |
Create a DRO Mounting kit for a Paulimot Sieg SX2.7L Mill consisting of mounting brackets and plates.
For the brackets, create a right-side bracket and a left-side bracket. Each bracket should have a base thickness of 12mm, with a top section height of 13.5mm. The right bracket is a rectangular block 40mm long. The l... | eps = 0.01;
lBracketRight = 40.0;
lGapLeft = 35.5;
lBracketLeft = lGapLeft+36.5;
offsetHoleLeft = 52.0;
hBracketTop = 13.5;
hBracket = 30.0;
dBracket = 12.0;
dBracketTop = dBracket+5.5;
flesh = 4.0;
rScrewHeadHole = 9.0/2;
tScrewHeadHole = 5.0;
rScrewHole = 4.2/2;
rScaleScrewHole = 4.2/2;
distScrewHolesSensor = 6... | glb/cad_16dfc41d9a90.glb |
Create a camera mount for a Microsoft LifeCam HD-5000. Start by creating a cylinder with a diameter of 20mm and a height of 18mm. Remove a smaller concentric cylinder from the bottom of this base with a diameter of 18mm and a height of 10mm. On top of this base, starting at a height of 10mm, add a flat plate with a thi... | Wheel_D = 18;
difference() {
cylinder(h=18, d=20);
translate([0, 0, -0.1])
cylinder(h=10, d=Wheel_D);
}
Camera_W = 36;
Camera_D = 4.5;
points = [
[-10, 0],
[10, 0],
[20, 30],
[-20, 30]
];
translate([0, 0, 10])
difference() {
linear_extrude(8) polygon(points);
translate([-36/2,... | glb/cad_51dc6982c944.glb |
Create an Orbiter v2 mount for an Ender 5 Pro. Start with a main body consisting of a rounded cube with dimensions 67mm in length, 45mm in width, and 23mm in height, using a corner radius of 2mm. Remove a rectangular section from the bottom measuring 13mm by 36mm by 6mm to allow for wire clearance.
Add a rectangular s... | $fn=60;
module mount(){
difference() {
union(){
difference(){
translate([-27,-1,0]) cube([65,45,23]);
translate([-28,8,4]) rounded_cube([67,45,23],2);
}
translate([-10.5,18,0]) cube([21,11,5]);
}
translate... | glb/cad_6a763aa277b4.glb |
Create a curtain rod wall bracket extension. Start with a central vertical rectangular block measuring 7.3mm by 22.7mm and 265mm in height. Round all exterior edges and corners with a 4mm radius.
At the bottom of the block, create a centered rectangular cutout measuring 50mm in width and 25mm in height. Drill a verti... | $fn = 100;
precision = 0.25;
wall = 4;
between_rails = 120;
betydligx = 7.3;
betydligy = 22.7;
betydligz = 145 + between_rails;
pipe1 = 19.3;
pipe2 = 16.3;
pipe = pipe2;
module betydlig(){
color("red")
translate([0,0,betydligz/2])
cube([betydligx + 2*precision, betydligy + 2*precision, betydligz], center=true);
}
... | glb/cad_2d09c78a7aa2.glb |
Create a gutter-to-pipe adapter that transitions from a square base to a circular outlet. Start by creating a square hollow base with outer dimensions of 62mm by 62mm and a height of 58mm. The walls of this base should be 4mm thick, leaving an internal square void of 58mm by 58mm.
From the top of this base, build a fu... | $fn=100;
drainSize = 58;
pipeLength = 58;
drainWallSize = 4;
funnelHeight = 40;
pipeWallWidth = 2;
pipeOuterDiameter = 33;
pipeInnerDiameter = 26.5;
difference()
{
cube([drainSize+drainWallSize, drainSize+drainWallSize, drainSize]);
translate([drainWallSize / 2, drainWallSize / 2, 0]) {
cube([drainSiz... | glb/cad_f5bbd170f787.glb |
Create a drawer insert for a multi-use cabinet with an outer footprint of 51.25mm in width and 131.5mm in depth. The total height of the insert is 29.99mm. The structure consists of a thin outer perimeter wall and internal dividers, all with a thickness of 0.8mm.
The interior is organized into a grid of compartments. ... | compartmentRows = 5;
compartmentColumns = 1;
drawerDepth = 131.5;
drawerWidth = 51.25;
insertDistanceToTop = 4.5;
drawerHeight = 34.5 - insertDistanceToTop;
wallThickness = 0.8;
merged = [
[0,0,1,3],
[3,0,1,2],
[0,1,1,2]
];
dividerWidth = 5;
dividerDepth = 2.5;
divid... | glb/cad_3c0742bc2382.glb |
Create a parametric drawer for under-table mounting. First, construct the main bin as a hollow rectangular box with outer dimensions of 83mm width, 153mm length, and 41.5mm height, with a wall thickness of 1.5mm. The interior cavity should be 80mm wide, 150mm long, and 40mm deep.
On the exterior of the bin, add two ve... | module drawer(w,l,h,d) {
difference() {
translate([d*-1,d*-1,d*-1]) cube([w+d*2,l+d*2,h+d]);
cube([w,l,h]);
}
hull() {
translate([d*-1,d*-1,h-d*4]) cube([d,l+d*2,4*d]);
translate([d*-4,d*-1,h-d]) cube([d,l+d*2,d]);
}
hull() {
translate([w,d*-1,h-d*4]) cube([d... | glb/cad_4cbb3874a51a.glb |
Create a Drawer Cabinet Organizer by starting with a main outer cube measuring 70mm in width, 70mm in depth, and 35mm in height. Apply a 1.5mm chamfer to all vertical edges of this outer cube. The walls of the organizer should have a consistent thickness of 2.5mm.
To create the internal compartments, carve out the ce... | $fn = 90;
width = 70;
height = 35;
wallthickness = 2.5;
divisions = 2;
chamfer = wallthickness/5*3;
dividerMultiplier = chamfer;
module chamferedCube(xyz, chamfer){
c2 = chamfer * 2;
a = [xyz[0] - c2, xyz[1] - c2, xyz[2]];
b = [xyz[0] - c2, xyz[1], xyz[2] - c2];
c = [xyz[0], xyz[1] - c2, xyz[2] - c2];
hull... | glb/cad_d6b770c243fb.glb |
Create a flexible tube clamp with a height of 10mm. Start by creating a main ring with an inner diameter of 20mm and a wall thickness of 2mm. The ring should not be a full circle; leave a gap of 10 degrees to allow the clamp to open.
At one end of the ring, add a rectangular mounting pad that extends 7mm beyond the ou... | $fn=64;
clamp();
module clamp(d=20,wall=2,h=10,gapAngle=10,gapWallAngle=25,padLength=7,padWall=[7,10],bolt=3,boltPad=4,boltHead=6,nut=6.3,nutPad=4,boltShift=[-1,0,0],padGap=0.5,f=[1,5],chamfer=45){
inf=3*d;
not=0.0001;
d2=d+2*wall;
d(){
u(){
cylinderRounded(d=[0,d2],h=h,r=[0,f[0],0,f[0]],chamfer=45);
t([... | glb/cad_76630c85f8e9.glb |
Create a TS80P Soldering Kit holder. Start with a main rectangular block measuring 65mm wide, 43mm high, and approximately 120mm long, with a wall thickness of 2.5mm and 1.4mm chamfered edges.
Hollow out the interior to create three distinct compartments. The first is a power zone measuring 31mm in length. The second... | $fn = 90;
type = "single";
width = 65;
height = 43;
wallthickness = 2.5;
chamfer = 2/sqrt(2);
solderZoneLength = 22;
powerZoneLength = 31;
storageZoneLength = (type == "dual") ? 34 : 39;
cableZoneLength = (type == "dual") ? 17.5 : 0;
tipOffset = 10.5;
tipSpacing = (storageZoneLength+wallthickness)/4+wallthickness;
... | glb/cad_ce6e279cef09.glb |
Create a switch housing for an LED stripe. Start with a base plate consisting of a central rectangular block 40mm long, 17mm wide, and 3mm thick. At both the left and right ends of this plate, center a cylindrical pillar with a radius of 5mm and a height of 3mm. Drill a hole with a radius of 1.6mm through the center of... | $fn=50;
laenge=40;
breite=17;
hoehe=3;
radius_kabel=5;
radius_schraube=1.6;
radius_schraubplatte=radius_kabel;
hoehe_gesamt =25;
dicke=2;
lochabstand = 10;
schalter_breite = 13;
schalter_laenge = 20;
rohr_laenge = 52;
rohr_aussenradius = 6;
module grundplatte () {
cylinder(h=hoehe,r=radius_schraubplatte);
tran... | glb/cad_1c6d0e0953d9.glb |
Create a Carrier Handle for a Lack Top Part consisting of a flat rectangular base and an angled grip. Start by creating a rectangular base plate 110mm long, 33mm wide, and 3mm thick.
At each end of the base plate, center a circular hole with a radius of 2.5mm that passes completely through the 3mm thickness.
Positi... | $fn=50;
laenge=110;
breite=33;
hoehe=3;
winkel_traeger = 40;
laenge_traeger = 80;
breite_traeger = 20;
radius_schraube = 2.5;
module grundplatte () {
translate ([0,-breite /2])cube([laenge,breite,hoehe]);
}
module loecher() {
translate([(laenge-laenge_traeger)/4,0]) cylinder(h=hoehe, r=radius_schraube);
... | glb/cad_741148e97c1a.glb |
Create an Upper Stopper for Lack Door by constructing a main cylinder with a radius of 10mm and a height of 20mm. Remove a smaller concentric cylinder from the center with a radius of 3.5mm that extends through the full 20mm height of the object. Additionally, remove a concentric cylinder from the bottom with a radius ... | $fn=50;
difference() {
difference() {
cylinder(h=20, r=10);
cylinder(h=20, r=3.5);
}
cylinder(h=15,r=6);
} | glb/cad_a24984ec3b84.glb |
Create a mounting bracket for a laser engraver. Start with a rectangular base plate measuring 30mm in width, 10mm in depth, and 4.2mm in height. At one end of this base, add a vertical rectangular block that is 20mm wide, 10mm deep, and 6.5mm high, positioned so it extends from the top of the base.
On the top surface... | $fn = 42;
sw_w = 20;
sw_h = 6.5;
sw_d = 10;
sw_hole_off_x = 5.0;
sw_hole_off_y = 2.5;
sw_hole_dist = 9.5;
sw_hole_dia = 2.7;
sw_off = 10 + 5;
wall = 4.2;
dia = 3.4;
r_w = 5.5;
r_h = 0.5;
d = sw_d;
w = sw_w + sw_off;
module mount() {
difference() {
union() {
cube([w, d, wall]);
tr... | glb/cad_5868f8dde0b3.glb |
Create a truncated cone with a height of 8.3mm. The base of the cone should have a diameter of 11mm, tapering upward to a top diameter of 8mm. Centered vertically through the middle of this shape, create a cylindrical hole with a diameter of 5.4mm that passes completely through the object from top to bottom. Ensure the... | ol = 11.0;
ou = 8.0;
i = 5.4;
h = 8.3;
$fn = 42;
difference() {
cylinder(d1 = ol, d2 = ou, h = h);
translate([0, 0, -1])
cylinder(d = i, h = h + 2);
} | glb/cad_56546452dfb4.glb |
Create a Household Task Planner consisting of three parts: a backplate, a frontplate, and sliding markers.
First, construct the backplate as a rounded rectangle with a thickness of 5.5mm and a corner radius of 12mm. The backplate features a hollowed-out interior border of 3mm, leaving a solid outer frame. At the top, ... | renderSlider = true;
renderBackplate = true;
renderFrontplate = true;
leftSide = true;
rightSide = true;
itemNames = "Laundry,Dishes,Vacuum,Take out trash";
displayTitleSection = true;
textAlign = "center";
itemNamesSize = 5;
title = "Task List";
titleSize = 10;
magnetHoles = true;
hookHoles = true;
magnet... | glb/cad_50d4fbdebbed.glb |
Create a Household Task Planner consisting of three parts: a backplate, a frontplate, and sliding markers.
Construct the backplate as a rounded rectangle with a thickness of 5.5mm and a corner radius of 12mm. On the rear face, create two mounting holes: a pair of cylindrical magnet holes (10mm diameter, 3mm depth) and... | renderSlider = true;
renderBackplate = true;
renderFrontplate = true;
leftSide = true;
rightSide = true;
itemNames = ["Laundry", "Dishes", "Vacuum", "Take out trash"];
displayTitleSection = true;
textAlign = "center";
itemNamesSize = 5;
title = "Task List";
titleSize = 10;
magnetHoles = true;
hookHoles = tr... | glb/cad_3e1861d1c2a8.glb |
Create a Parametric Plier Holder consisting of a rectangular base bar with six equidistant sockets for tool handles. The base bar should have a total width of 124.5mm (calculated as 6 sockets at 20.75mm spacing), a height of 13.3mm, and a depth of 13mm.
For each of the six sockets, carve out a void shaped by a scaled... | use <smooth_prim.scad>;
handle_w = 17;
handle_d = 13;
handle_d_truncate = 4.5;
handle_slop = handle_w/8;
handle_spacing = 4*handle_slop;
num_sockets = 6;
pin_diam = 15.4;
socket_h = cos(30)*pin_diam;
pin_length = 10;
block_w = handle_w + handle_spacing;
y_scale = handle_d/(handle_w-handle_d_truncate);
*color("cyan"... | glb/cad_c3af7200ecd6.glb |
Create a PCB Holder consisting of two separate parts: a main cylindrical body and a matching cap. For the body, create a cylinder 40mm in height and 40mm in diameter. Remove a central vertical hole starting from the bottom, consisting of a metric internal thread with a diameter of 14.06mm and a pitch of 2mm, extending ... | include <threads.scad>;
$fn=128;
difference() {
cylinder(h=40, d=40);
translate([0,0,20]) metric_thread (diameter=14.06, pitch=2, length=25, internal=true);
translate([0,0,38]) cylinder(h=2.01, d1=13.5, d2=15);
}
translate([50,0,0]) {
difference() {
union() {
cylinder(h=8, d=40);
... | glb/cad_777665a20f82.glb |
Create an Ethernet jack extension consisting of two main components: a lower mounting assembly and an upper strain-relief assembly.
For the lower part, create a circular base plate with a diameter of 44mm and a thickness of 1.5mm. On top of this plate, add two alignment cylinders with a radius of 2.75mm and a height o... | $fa = 1;
$fs = 0.4;
globalCircleQuality = 1;
debug = false;
plateDiameter = 40;
plateExtra = 2;
plateThickness = 1.5;
screwHead = 10.5;
screwBolt = 5;
boltHeight = 18;
alignmentHeight = 5;
alignmentThickness = 1.5;
cableDiameter = 6.5;
strainReliefDiameter = 2.3;
holderThickness = 10;
holderWidth = 18;
holderHeight... | glb/cad_42248e146f06.glb |
Create a watch band keeper by constructing a hollow rectangular sleeve. Start with an outer rectangular prism that is 22mm wide, 6.5mm high, and 10mm deep. From the center of this prism, remove an inner rectangular volume to create a hollow channel that is 20mm wide and 4.5mm high, leaving a wall thickness of 1mm on al... | inner_width = 20;
inner_height = 4.5;
depth = 10;
thickness = 1;
edge_type = "square";
module rectangular_section(w, h, t) {
difference() {
square([w + t*2, h + t*2], center = true);
square([w, h], center = true);
}
}
module rounded_profile(w, h) {
union() {
square([w - h, h], ... | glb/cad_94b98d8329b7.glb |
Create a Minecraft-style chicken model consisting of a head, torso, beak, and legs.
Start with the head as a 12x16x24mm cube positioned at [24, 4, 16]. For the torso, create a 32x24x24mm cube centered behind the head, but remove two 4.2x4.2x20mm vertical rectangular slots from the bottom of the torso to accommodate t... | module head() {
color([1,1,1])
translate([24,4,16])
cube([12,16,24]);
}
module body(){
color([1,1,1]){
difference(){
cube([32,24,24]);
translate([11.9,3.9,-16])
cube([4.2,4.2,20]);
translate([11.9,15.9,-16])
cube([4.2,4.2,20]);
}
translate([4,-4,8])
cube([24,32,16... | glb/cad_e0b55580a803.glb |
Create a Quick Connect Tripod Plate consisting of a flat rectangular base and a captive mounting bolt. The base plate is 10mm thick.
Construct a captive bolt using a 1/4 inch diameter cylinder with 20 threads per inch and a total length of 14.45mm. This bolt is centered within the plate. Surround the bolt with a sphe... | $fn=100;
use <../lib/threads.scad>
reinforcing_wire_d = 1.75;
mm_per_inch = 25.4;
bolt_threads_per_in = 20;
bolt_d_in = 1/4;
bolt_d_mm = bolt_d_in * mm_per_inch;
bolt_h_in = 0.568;
bolt_h_mm = bolt_h_in * mm_per_inch;
plate_h = 10;
handle_d = 30;
handle_h = 9;
module camera_bolt(length_in = bolt_h_in, simplify = ... | glb/cad_e0f5c17e8e0c.glb |
Create a Quick Connect Tripod Plate by constructing a symmetrical, beveled base. Start with a rectangular footprint that is 50.25mm wide and 32mm deep. The overall height of the part is 10mm.
The geometry is defined by a hull connecting eight rounded corners. The bottom face is a rectangle of 50.25mm by 32mm. The top... | $fn=40;
edge_radius = 1;
base_w = 50.25;
base_short_w = 32;
base_h = 10;
top_w = 41.5;
top_short_w = 25.9;
base_w2 = base_w/2;
base_short_w2 = base_short_w/2;
top_w2 = top_w/2;
top_short_w2 = top_short_w/2;
base_points_single_quadrant = [
[base_w2 - edge_radius, base_short_w2 - edge_radius, 0 + edge_radius],
... | glb/cad_2927d5cc5a92.glb |
Create a TV remote holder with an overall outer dimension of 61.2mm in width, 115.2mm in height, and 28.4mm in depth. The main body is a hollow shell with a wall thickness of 1.2mm. The interior cavity is formed by the hull of a cylinder with a 25mm diameter and 55mm height, and a thin rectangular slab measuring 25mm b... | $fn=100;
W = 55;
H = 110;
D = 25;
wall = 3*0.4;
module inside_space(){
hull(){
translate([0,0,H-D/2])
rotate([90,0,0])
cylinder(h=W, d=D, center=true);
translate([0,0,1])
cube([D,W,2], center=true);
}
}
module waterdrop(R,L){
translate([0,0,R])
rotate([0,-90,0... | glb/cad_e733875fa893.glb |
Create a wave holder for remotes and accessories consisting of a series of connected, hollowed-out semi-circular shells.
Construct the main body using three repeating wave units. Each unit is formed by taking a cylinder with a radius of 30mm and a height of 120mm, and hollowing it out with a concentric inner cylinder... | gcf= 100;
cn= 3;
cz= 120;
cor= 30;
cth= 10;
module cct(x,y,z){
cube([x,y,z],center=true);
}
module hct(hr,hh){
cylinder(r=hr,h=hh,$fn=gcf,center=true);
}
module wave(){
repSlice1();
repSlice2();
}
wave();
module repSlice1(){
rof= -(cor*2-cth);
for(i=[1:cn-1]){
translate([
(cor*i... | glb/cad_cc81fc2fedb2.glb |
Create a BLV enclosure doorstop. Start with a base rectangular block measuring 28mm in length, 17.5mm in width, and 5mm in height. Attached to the bottom of this base, add a second rectangular block measuring 15mm by 17.5mm with a height of 4mm, aligned to the left side.
Remove several geometric shapes from this combi... | $fa = 1;
$fs = 0.4;
difference() {
union() {
difference() {
union() {
cube(size = [28, 17.5000000000, 5]);
translate(v = [0, 0, -3.9990000000]) {
cube(size = [15, 17.5000000000, 4]);
}
}
translate(v = [0.9990000000, 0.9990000000, -4]) {
rotate(a = [0, 0, 180]) {
difference() {
... | glb/cad_fb3c0bfa7848.glb |
Create a BLV enclosure doorstop. Start with a base composed of two joined rectangular blocks: one measuring 28mm x 17.5mm x 5mm and a second smaller block measuring 15mm x 17.5mm x 4mm attached to the side.
Remove material to create several small square-profiled holes (1mm x 1mm) passing through the structure at the ... | $fa = 1;
$fs = 0.4;
difference() {
union() {
difference() {
union() {
cube(size = [28, 17.5, 5]);
translate(v = [0, 0, -3.999]) {
cube(size = [15, 17.5, 4]);
}
}
translate(v = [0.999, 0.999, -4]) {
rotate(a = [0, 0, 180]) {
difference() {
translate(v = [0, 0, -0.001]) {
... | glb/cad_252bcd9e6206.glb |
Create a replacement knob for a CPAP machine. Start by constructing a conical base that transitions from a bottom diameter of 32mm to a top diameter of 26mm over a height of 8mm. On top of this base, center a cylinder with a diameter of 26mm and a height of 3.25mm.
From the center of the bottom face, remove a cylindr... | union() {
difference() {
union() {
cylinder(r1=32/2, r2=26/2, h=8);
translate([0, 0, 8]) cylinder(r=26/2, h=3.25);
}
cylinder(r1=28.25/2, r2=((8-4.5)*(28.25-22.25)/8+22.25)/2, h=4.5+0.01);
}
translate([0, 0, -2.5])
difference() {
cylinder(r=(7+1.5)/2, h=2.5+4.5+0.01);
difference(... | glb/cad_524fcd631a10.glb |
Create a Bullseye LNB Tripod Mount consisting of two symmetrical halves. Start by creating a hollow semi-cylindrical shell with an inner radius of 20.2mm, an outer radius of 28.2mm, and a total height of 20mm. The shell should be a partial cylinder, leaving a gap to allow it to clamp around an object.
On each side of ... | $fa=6;
$fs=1.75/2;
do_bottom=0;
edge_thickness=8;
height=20;
thread_depth=8;
thread_depth_safety=2;
thread_diameter=5.55625/2;
lnb_radius=20.2;
bolt_head_radius=(5.68+1)/2;
pass_hole_size=3.6/2;
thread_hole_size=2.5/2;
pass_hole_thickness=bolt_head_radius*2;
difference() {
union () {
difference () {
... | glb/cad_0a0600f6934e.glb |
Create a Customizable Coin Cell Battery Case. Start by creating a main cylindrical shell with a diameter of 25.2mm and a length of 47.6mm.
To make the case functional for storage, carve out a rectangular slot from the bottom of the cylinder to create a flat base for printability. Remove the top portion of the cylinde... | ShellBatterySize="C";
StoredBatterySize="CR2032";
FontSize=5;
BatteryDetails=[
["AAA", 10.5, 45],
["AA", 14, 51],
["C", 25.2, 47.6],
["D", 33, 60.6],
["N", 11.5, 29],
["377", 6.8, 2.6],
["CR1225", 12.5, 2.5],
["CR1616", 16, 1.6],
... | glb/cad_30c7c81b48e5.glb |
Create a Pill Case Holder consisting of three horizontal shelves supported by a single vertical back wall. The entire structure uses a uniform thickness of 3mm for all walls and shelves.
The bottom shelf is a rectangular platform 34.6mm deep and 45mm wide. Positioned directly above it is a second shelf with the same 4... | clearance=1;
small_depth=25.8;
small_height=17.5;
small_length=115;
large_depth=33.6;
large_height=24.2;
large_length=150;
holder_width=45;
finger_spacing=20;
thickness=3;
epsilon=0.01;
function back_height(num_small, num_large) = (small_height*num_small) +
(large_heigh... | glb/cad_883f23820281.glb |
Create a parametric battery storage box designed to hold two rows of 12 button cells each. The main container is a rectangular box with outer dimensions of 38.25mm in width, 71.15mm in length, and 13.5mm in height. The walls of the box are 2mm thick.
Inside the box, create two rows of circular compartments. Each compa... | CellNumber = 12;
CellRows = 2;
CellDiameter = 11.6;
CellHeight = 5.4;
CellPlay = 0.5;
wallThick = 2.0;
dividerThick = 0.75;
lidSnugness = 0.4;
lidRidge = 0.0;
boxY = 2*wallThick+(CellNumber-1)*dividerThick+CellNumber*(CellHeight+CellPlay);
boxX = 3*wallThick+CellRows*(CellDiameter+2*CellPlay)+(CellRows-1)*divi... | glb/cad_04a308cc156f.glb |
Create a Simple Tulip flower model consisting of two concentric layers of petals. Each layer is composed of three identical petals spaced 120 degrees apart around the central Z-axis.
For the outer layer, create three petals with an outer radius of 20mm and a total height of 50mm. Each petal is a hollowed shell with a ... | style = "tall";
d_outer=40;
d_inner=32;
height=style == "tall" ? 50 : 35;
thick=1.5;
tulip( d_outer, d_inner, height, thick );
module tulip( od, id, ht, thk )
{
petals( od/2, ht, thk );
rotate( 60 ) petals( id/2, ht, thk );
}
module petals( radius, height, thick )
{
petal( radius, height, thick );
... | glb/cad_6c8bdacc0f7e.glb |
Create a spool hub adapter by constructing a hollow cylinder with an outer diameter of 90mm, an inner diameter of 82mm, and a total height of 60mm. Use a high facet resolution of 100 for all circular surfaces to ensure they are smooth. Bore two perpendicular holes completely through the center of the cylinder walls to ... | resolution = 100;
diameter = 90;
diameter2 = 82;
diameter3 = 2.2;
height = 60;
$fn = resolution;
difference(){
cylinder( d=diameter,h=height,$fn=100);
cylinder( d=diameter2,h=height,$fn=100) ;
rotate([0,90,0])
translate([-5,0,-50])
cylinder( d=diameter3,h=100, $fn=100);
rotate([0,90,0])
translate([-55,0,-50])
cyl... | glb/cad_e0b88608ea56.glb |
Create a Venta window adapter that transitions from a rectangular slot to a circular pipe. Start with a hollow rectangular base designed to fit a window opening of 100mm width and 40mm depth, with wall thicknesses of 2mm. This base section consists of two parallel semi-cylindrical walls with a radius of 50mm, spaced to... | windowOpeningDistance=100;
openingDepth=40;
t=2;
pipeDiameter=145;
pipeOffset=0;
taperLength=30;
pipeConnectLength=30;
lip=0;
screwHoleDia=2;
z=openingDepth;
x=windowOpeningDistance-(2*lip);
y=(PI/4)*((pow(pipeDiameter,2)/x)-x);
union(){
translate([0,-y/2,-z/2])
difference(){
hull(){
cylinder(r=x/2, h=z, c... | glb/cad_6a45ee88222c.glb |
Create a Slickstick clip for MOLLE attachment consisting of a main elongated body and a separate hinge component. The main body is a rectangular slab with a thickness of 6mm and a total length of 140mm (calculated from 4 straps at 25.4mm each plus a 39.4mm extension). The body has a width of 25mm.
At the front end, c... | $fn=60;
thickness=6;
straps=4;
mechanism="hinged";
stick(straps,thickness,mechanism);
module stick(bands,thick,type){
intersection(){
union(){
rotate([0,90,0])
translate([-(thick-1),24,-1])
cylinder(d=2,h=25*bands+40);
rotate([0,90,0])
translate([-1,24,-1])
cylinder(d=2,h=25*ban... | glb/cad_e914c3e51f64.glb |
Create a Slickstick clip for MOLLE attachment consisting of a main body and a hinge mechanism. Start by creating a rectangular base block 5.5mm wide, 15mm deep, and 7.5mm high, positioned from x=-3 to x=2.5. Attached to this, create a long clip arm extending from x=-3.5 to x=31.5, with a width of 15mm and a height of 2... | difference() {
union() {
translate([-3,0,0])
cube([5.5,15,7.5]);
translate([-0.25,0,0])
rotate([-90,0,0])
cylinder(d=5.5,h=15);
translate([-3.5,0,5.5])
cube([35,15,2]);
translate([29.5,0,5.5])
rotate([-90,0,0])
cylinder(d=4,h=15);
translate([27.5,0,3.5])
cube([2,15,2]);
}
translate([0,-1,0.5])
rotate([-90,0,0])
cyl... | glb/cad_3f3a15744806.glb |
Create a Clicky Knife utility tool consisting of two mirrored halves. For each half, start with a rectangular base 80mm long, 28mm wide, and 5mm thick. At one end, cut the width at a 50-degree angle.
Carve a blade cutout channel 60mm long, 19.1mm wide, and 3mm deep into the top surface, positioned 50mm from the angle... | include <blade.scad>
module inner()
{
length = 80;
width = 28;
thick = 5;
angle = 50;
blade_thick = 0.65;
blade_cutout_depth = 3;
ratchet_tooth = 3;
tooth_count = length/(ratchet_tooth / sin(45)) + 1;
chamfer = 4;
chamfer_angle = 60;
blade_width = 19.1;
blade_length = 60;
clip_offset = 7;
cutout_radius = 15;
grip = "sl... | glb/cad_2de0efc159c7.glb |
Create a Clicky Knife utility tool holder. Start with a main rectangular base measuring 110mm in length, 36mm in width, and 8mm in thickness. Carve a longitudinal cutout starting from the front, 4mm from the side edge and 3mm from the bottom, extending through most of the length to house a blade. Remove a central recta... | include <cutout.scad>
length = 110;
width = 36;
thick = 8;
pawl = 3;
hole_radius = 5;
blade_thick = 0.65;
rib_width = 8;
clip_length = 65;
clip_thick = 4;
clip_gap = 3;
difference(){
difference(){
difference(){
union(){
difference(){
union(){
union(){
difference(){
difference(){
difference(){
cube([length, width, thic... | glb/cad_386207069674.glb |
Create a servo arm rotor consisting of a central hub and a single extending leg. Start with a central cylindrical base 5.5mm high with a radius of 4.5mm. Add a shorter, wider cylindrical disc at the base of this hub that is 2.25mm high with a radius of 6mm. Create a single leg extending from the hub by forming a hull b... | $fn = 60;
legs = 1;
leg_holes = true;
module leg(holes) {
difference() {
translate([1, 0, 0]) hull() {
cylinder(h=2.25, r=4.5);
translate([15, 0, 0]) cylinder(h=2.25, r=2.5);
}
if(holes) {
for(h=[7:3:18]) {
translate([h, 0, -.1]) cylinder(r=0.5, h=20);
}
}
}
}
diff... | glb/cad_054538175333.glb |
Create a counter stool stilt by constructing a rectangular block with rounded corners. The outer dimensions of the block should be 31mm in width, 69.6mm in length, and 18mm in height, with a corner radius of 2mm.
Inside this block, create a rectangular cutout to form a hollow shell. This interior hole must be 21mm wi... | hole_width = 21;
hole_length = 59.6;
clearance = 0.1;
eps = 0.01;
shell_thickness = 5;
extra_height = 10;
hole_depth = 8;
$fs = 0.01;
outer_width = hole_width + 2 * (clearance + shell_thickness);
outer_length = hole_length + 2 * (clearance + shell_thickness);
outer_height = extra_height + hole_depth;
module rounded... | glb/cad_3bbba2dcb52b.glb |
Create a tool holster designed to hold two cylindrical tools. Start with a base block that is 42mm wide, 28mm high, and 12mm deep. The front face of the base should have a rounded lip 2mm thick that extends across the width.
Create two vertical cylindrical holes to hold the tools. The first hole should have a diameter... | band_height=26;
band_width=40;
lip=2;
number_of_tools=2;
tolerance_percentage=0;
tool_01_label="TOOL1";
tool_01_diameter=10;
tool_02_label="TOOL2";
tool_02_diameter=10;
tool_03_label="";
tool_03_diameter=0;
tool_04_label="";
tool_04_diameter=0;
tool_05_label="";
tool_05_diameter=0;
actual_tolerance=1+(to... | glb/cad_2b6870ba56e0.glb |
Create an Acorn Face Shield headband. Start by constructing a curved headband base with a height of 6mm. Along the front arch of this headband, add two symmetrical attachment knubs for a visor.
Position the first knub at coordinates (91.4, 16.25) and rotate it -93 degrees; position the second knub at (-91.4, 16.25) a... | $fn=200;
fusion_360_altered_stl="fusion_360_fillet.stl";
headband_height = 6;
tray_offset = 0;
tray_height = 2;
show_other_frames=false;
american=true;
tray_cover=false;
visor=false;
use_second_visor=false;
thickness=4;
front_arch=[thickness,0,69-100,100,163,0];
knubs = [
[0,70.65,0],
[91.4+0.... | glb/cad_aed22e707d43.glb |
Create an Acorn Face Shield headband assembly by stacking five identical headband layers vertically. Each headband layer is 6mm thick, with a 0.25mm gap between each subsequent layer.
To stabilize the stack, integrate a series of vertical support columns. Each column is a cylinder with a diameter of 1.6mm (0.8mm radi... | $fn=100;
headband_file="acorn_faceshield.stl";
number_of_headbands = 5;
headband_height_in_mm = 6;
layer_height_between_headbands=0.25;
adjust_headband_loc_x = 0;
adjust_headband_loc_y = 0;
adjust_headband_loc_z = 0;
collumn_thickness=1.2;
circle_support_size=0.8;
support_locations=[
[70.7,0],
... | glb/cad_37650229a0ee.glb |
Create an Acorn Face Shield headband by constructing three concentric curved arches with a height of 6mm.
First, create the front arch with a thickness of 4mm, a radius of 100mm, and an arc angle of 163 degrees. Along this front arch, add two small cylindrical knubs for attachment.
Second, create a back arch with a ... | $fn=200;
headband_height = 6;
tray_offset = 0;
tray_height = 2;
show_other_frames=false;
american=true;
tray_cover=false;
visor=false;
use_second_visor=false;
thickness=4;
front_arch=[thickness,0,69-100,100,163,0];
back_arch=[thickness,0,28.5-100,100,90,0];
tray_arch=calculate_tray_arch(front_arch, back_arch);
ba... | glb/cad_048f6732557a.glb |
Create a Lego Technic and Duplo compatible connector block. Start with a central rectangular plate measuring 23.8mm in width, 23.8mm in depth, and 7.8mm in height.
On the top surface, place a central cylindrical stud with a diameter of 9.4mm and a height of 4.8mm.
Create a grid of holes to allow for Technic pin ins... | $fn=64;
rozestup= 8;
polomer_in = 2.45;
delka_in = 6.2;
polomer_out = 3.15;
hmota = 7.8;
hmota_duplo = 4.8;
radek=3;
sloupec=3;
module dira(args) {
cylinder(r=polomer_in, h=delka_in+3, center=true);
cylinder(r=polomer_in, h=rozestup*(radek+sloupec), center=true);
translate([0, 0, delka_in/2]) {
cylind... | glb/cad_7d985308e955.glb |
Create a Lego Technic compatible brick for Duplo, shaped as a rectangular prism with dimensions 23.8mm in width, 23.8mm in depth, and 7.8mm in height.
Remove a series of cylindrical holes to create connection points. Each connection point consists of a central hole with a radius of 2.45mm and a length of 6.2mm, surro... | $fn=64;
rozestup= 8;
polomer_in = 2.45;
delka_in = 6.2;
polomer_out = 3.15;
hmota = 7.8;
hmota_duplo = 4.8;
radek=3;
sloupec=3;
module dira(args) {
cylinder(r=polomer_in, h=delka_in+3, center=true);
cylinder(r=polomer_in, h=rozestup*(radek+sloupec), center=true);
translate([0, 0, delka_in/2]) {
cylind... | glb/cad_854b5b8b7da5.glb |
Create an iBlinds Charge Adapter Clip consisting of a base plate and a mounting structure. Start with a rounded rectangular base plate 23.31mm wide and 19mm deep. Add a bevel of 1.45mm to the bottom edges.
On top of the plate, create a headrail insert structure 15.8mm wide with a wall thickness of 2.25mm. The total de... | $VERBOSE=1;
headrail_width=15.8;
wall=2.25;
plate_width=23.31;
plate_depth=19;
usb_width=8.8;
usb_depth=3.9;
button_diameter=6.2;
latch_depth=3;
latch_height=11.5;
step_size=1.2;
steps=6;
bevel=1.45;
inset=2.7;
base_offset=wall+bevel-0.2;
headrail_depth=plate_depth+base_offset;
make_ChargeAdapterClip(... | glb/cad_c4c6477ff8e7.glb |
Create a Belt Check calibration tool consisting of a long, thin rectangular base with two smaller rectangular protrusions. Start by creating a central rectangular bar that is 190mm long, 2.5mm wide, and 3mm high. Position this bar so it is centered on all axes. Then, add two additional rectangular blocks, each measurin... | include<ub.scad>
l=190;
union(){
T(0,1)Linear(e=ceil(l/20),center=true,s=0,es=20)cube([9.95,5,3],center=true);
T(0,-1)Linear(e=ceil(l/20)-1,center=true,s=0,es=20)cube([9.95,5,3],center=true);
cube([l,2.5,3],true);
} | glb/cad_c24ce8e14133.glb |
Create a miniature scale coffee cup and saucer. Start by constructing the saucer as a thin, flat circular disc with a slightly raised outer rim. On top of this, create the cup body as a revolved shape. The cup should have a circular opening at the top and a tapered, rounded bottom that curves upward to meet the rim. Th... | type="Cup";
$fn=50;
if (type=="Cup"){
cup();
} else {
mug();
}
module cup(){
difference(){
minkowski(){
translate([2.6,0,0]) rotate([90,55,0]) scale([.75,1,1])
difference(){
cylinder(r=1.2,h=.5);
translate([0,0,-.1]) cylinder(r=1,h=.7);}
sphere(.1, $fn=5);
}
translate([0,0,2])scale([.6,.6... | glb/cad_86c32fbf9d5f.glb |
Create a Hypercube 300 3-Point Bed-Leveling Frame consisting of two distinct geometric components: a frame mount and a screw foot.
For the frame mount, create a block by extruding a right-angled triangle with legs of 20mm and a thickness of 20mm. Within this block, create a cylindrical hole with a diameter of 5.4mm r... | $fn=45;
module frame_mount()
{
difference()
{
rotate([90,0,0])
linear_extrude(20, convexity=10)
polygon([[0,0],[0,20],[20,0]]);
translate([0,-10,10])
rotate([0,90,0])
cylinder(d=5.4, h=20);
translate([2,-10,10])
rotate([0,90,0])
... | glb/cad_077201131cd7.glb |
Create a PCB Rack consisting of a bottom plate, a back plate, two side walls, and a front plate.
The bottom and back plates are slot plates. Create the bottom plate as a rectangular slab 170mm deep and 2mm thick. Across its width, create 25 slots, each 3mm wide and 4.5mm deep, separated by 6mm gaps. Each slot should ... | Slot_Width = 3;
Slot_Separation = 6;
Slot_Depth = 4.5;
Slot_Chamfer = 0.75;
Slot_Inset = 2;
Slot_Wall_Thickness = 0;
Rack_Slots = 25;
Rack_Depth = 170;
Rack_Inclination = Rack_Depth / 12;
Rack_Height = Rack_Depth / 2;
Rack_Width = Rack_Slots * (Slot_Width + Slot_Separation) + Slot_Separation;
Plate_Thickness = 2;
Sid... | glb/cad_e6807138d660.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.