Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Dog Chair model consisting of a seat, backrest, and rocking rails. Start by placing a seat rail as a rectangular block measuring 40mm x 5mm x 5mm, centered at x=-20, y=-31, z=0. Add three vertical spindles: one at x=-22, one at x=-16.5, and one at x=13.5, each measuring 3mm x 30mm x 3mm. Position an armrest bl... | union() translate([0,0,0]) rotate ([0,0,0]) {
translate([-22,0,0])
rotate ([0,0,0]) color([0,1,0]) cube(size = [50,3,8]);
translate([-1.5,-30,0])
rotate ([0,0,0]) color([0,1,0]) cube(size = [3,30,3]);
translate([-16.5,-30,0])
rotate ([0,0,0]) color([0,1,0]) cube(size = [3,30,3]);
translate([13.5,-30,0])... | glb/cad_6669a19b4bfb.glb |
Create a Dog Chair seat by starting with a rectangular block measuring 40mm wide, 55mm deep, and 5mm thick, centered so that its x-axis spans from -20mm to 20mm and its y-axis spans from -27.5mm to 27.5mm. Modify the sides of this block by adding two smaller rectangular sections, each 60mm wide, 20mm deep, and 5mm thic... | union() translate([0,0,0]) rotate ([0,0,0]) {
difference() {
translate([-20,-27.5,0])
rotate ([0,0,0]) color([0,1,0]) cube(size = [40,55,5]);
translate([10,28,2.5])
rotate ([90,0,0]) cylinder (h = 15, r=1);
translate([-10,30,2.5])
rotate ([90,0,0]) cylinder (h = 15, r=1);
translate([10,-13,2.5])
rot... | glb/cad_ead7fe94f29c.glb |
Create a single hexagonal ring with a thickness of 3mm. The outer boundary of the ring should be a regular hexagon defined by a circumradius of 25mm, meaning the distance from the center to each vertex is 25mm. To form the inner wall of the ring, remove a smaller concentric regular hexagon from the center. The inner he... | $fn=6;
r=50/2;
t=3;
theta=360/$fn;
dr=t/cos(theta/2);
difference()
{
cylinder(t,r,r);
cylinder(t,r-dr,r-dr);
} | glb/cad_72cbac037824.glb |
Create a Prusa endstop rod clamp designed for a 5/16" rod. Start by creating a main outer cylinder with a radius of 6.46875mm and a height of 8mm. Remove an inner cylinder with a radius of 3.96875mm and a height of 18mm, centered vertically, to create a hollow ring. Break this ring by removing a central rectangular sec... | X = 0;
Y = 1;
Z = 2;
rod_diam = 7.9375;
clamp_diam = rod_diam + 5;
open_angle = 80;
width = 8;
base_lx = 6.5;
base_ly = 4;
base_lz = width;
zip_tie_holes = [clamp_diam, 1.5, 3];
open_x = 2*(rod_diam/2)*sin(open_angle/2);
module Prusa_clamp()
{
union() {
difference() {
cylinder(r=clamp_diam/2, h=width)... | glb/cad_275d056cb8c7.glb |
Create a barbed pipe fitting centered on a vertical axis. Start by creating a main cylindrical body with a diameter of 3mm and a height of 3mm. Directly beneath this cylinder, add a conical barb section that transitions from a base diameter of 3mm to a top diameter of 4mm over a height of 0.5mm. To make the fitting hol... | rotate(a=[0,180,0]){
difference(){
union(){
cylinder(h=3,d=3,$fn=48);
cylinder(h=.5,d1=3,d2=4,$fn=48);
}
cylinder(h=5,d=2,$fn=48);
}} | glb/cad_aa29337e1d22.glb |
Create a barbed pipe fitting centered on the origin. Start by constructing a main cylindrical body with a diameter of 3mm and a height of 3mm. On top of this body, add two identical conical barbs; each barb should be 0.5mm high, tapering outwards from a base diameter of 3mm to a top diameter of 4mm. Position the first ... | rotate(a=[0,180,0]){
difference(){
union(){
cylinder(h=3,d=3,$fn=48);
cylinder(h=.5,d1=3,d2=4,$fn=48);
translate([0,0,.5]){
cylinder(h=.5,d1=3,d2=4,$fn=48);
}}
cylinder(h=5,d=2,$fn=48);
}} | glb/cad_d0214d5f066a.glb |
Create a Triple-slot ID Card holder designed to hold three standard ISO/IEC 7810 ID-1 cards (53.98mm x 85.6mm).
Construct a main body with a total thickness of 8mm (composed of a 1mm bottom, a 6mm internal cavity, and a 1mm top). The outer dimensions should be 54.98mm by 86.6mm to allow for a 0.5mm horizontal toleran... | part = "vertical";
card_thickness = 2;
card_width = 53.98;
card_height = 85.6;
horizontal_tolerance = 0.5;
vertical_tolerance = 0.05;
back_pattern_type = "voronoi";
back_pattern_protrudes = "yes";
hacker_emblem_size = 35;
text_line1 = "BLAH!";
text_line2 = "BLAH!";
text_line3 = "BLAH!";
text_line_interval = 5;
... | glb/cad_8290b48f7308.glb |
Create a parametric e-cigarette stand. Start by creating a solid base consisting of two joined cylinders: a main base cylinder with a height of 15mm and a slightly taller central cylinder with a height of 20mm and a radius of 14.5mm (29mm diameter).
From this base, remove a central vertical hole with a diameter of 23... | NUM_PENCILS = 7;
PENCIL_DIAMETER = 9;
PENCIL_LENGTH = 30;
LEAN_ANGLE = 0;
BASE_HEIGHT = 15;
WALL_WIDTH = 3.5;
PENCIL_SHIFT = 30;
MOD_DIAMETER = 23;
$fn = 64;
leanAngle = min(80, max(-80, LEAN_ANGLE));
numPencils = max(2, NUM_PENCILS);
baseHeight = max(0, BASE_HEIGHT);
wallWidth = max(0, WALL_WIDTH);
rodRadius... | glb/cad_fdbe0bf4d5c0.glb |
Create a parametric e-cigarette stand for mechanical mods. The base is a solid cylinder with a height of 15mm and a central vertical hole with a diameter of 23mm to accommodate the mod.
Surrounding the central hole, create a decorative hyperbolic structure consisting of 7 evenly spaced, angled cylindrical cutouts. Ea... | NUM_PENCILS = 7;
PENCIL_DIAMETER = 9;
PENCIL_LENGTH = 24;
LEAN_ANGLE = 0;
BASE_HEIGHT = 15;
WALL_WIDTH = 3.5;
PENCIL_SHIFT = 30;
MOD_DIAMETER = 23;
ecigtriplestand();
connector();
module packofthree1(){
difference(){
union(){
translate([0,0,0])rotate([-0,0,0]) ecigstand();
translate([50,0,0])rotate([0,0,12]) e... | glb/cad_5ea48e5eb288.glb |
Create a Crossfire 2 dome cover by constructing a hollow hemispherical shell. Start with an outer sphere of radius 85mm and subtract an inner sphere of radius 82mm, both centered at the same point. Slice the resulting shell horizontally to remove the bottom section and the top portion, leaving a dome that sits between ... | include <Lego_new.scad>;
module leg()
{
translate([1.5,5,0])
rotate([90,0,0])
linear_extrude(height=10)
polygon([[0,0],[0,10],[10,10],[10,13],
[0,13],
[0,23],
[-3, 23],
[-3,0]
]);
}
translate([67,0,0]) rotate([0,-9,0]) leg();
translate([-67,0,0]) rotate([0,-9,180]) leg();
translate([0,67,0]) rotate([0,-9... | glb/cad_d04f5f4cfc0d.glb |
Create an Allit Europlus Flex Insert consisting of a rounded rectangular bin with internal dividers. The main outer body is a rounded box with a total width of 54mm, a depth of 108mm (calculated from 2 rows of 54mm), and a height of 45mm. The walls and bottom are 1.5mm and 2.5mm thick respectively, with all exterior ve... | numberOfRows = 2;
numberOfColumns = 1;
numberOfVerticalDeviders = 1;
numberOfHorizontalDeviders = 2;
wallThickness = 1.5;
bottomThickness = 2.5;
sphereResolution = 100;
removeOffset = 0.1;
insertWidth = 54;
insertDepth = 54;
insertHeight = 45;
innerRadius = 3.5;
outerRadius = 5;
insertAngle = 1;
lidGuideHeight ... | glb/cad_26be8142f189.glb |
Create an Ice Shot Glass Maker consisting of two separate components: a pot and a cap.
First, construct the pot. Create a solid base cylinder with a radius of 25mm and a height of 3mm. Above this, add a middle cylinder with a height of 45mm, an inner radius that tapers from 20mm at the bottom to 25mm at the top, and a... | include <VoidCylinder.scad>
module IceShotGlassMaker(glassHeight, glassOdBase, glassOdTop, glassBaseThickness = 23, glassThickness = 8, materialThickness = 5, protuberanceThickness = 0.5, frictionSpace = 0.1, potBaseThickness = 3, wedgeHeight = 10){
Pot(glassHeight, glassOdBase, glassOdTop, materialThickness, potBas... | glb/cad_385db16a2a22.glb |
Create an Ice Shot Glass Maker consisting of two separate components: a pot and a cap.
First, construct the pot. Create a base cylinder with a radius of 25mm and a height of 3mm. Above this, add a middle cylinder with a height of 45mm, starting with an inner radius of 20mm and an outer radius of 25mm at the bottom, ta... | include <VoidCylinder.scad>
module IceShotGlassMaker(glassHeight, glassOdBase, glassOdTop, glassBaseThickness = 23, glassThickness = 8, materialThickness = 5, protuberanceThickness = 0.5, frictionSpace = 0.1, potBaseThickness = 3, wedgeHeight = 10, internalWedgeSpace = 1){
Pot(glassHeight, glassOdBase, glassOdTop, m... | glb/cad_10726a4c9d86.glb |
Create an Ice Shot Glass Maker consisting of two separate components: a pot and a cap.
First, construct the pot. Create a base cylinder with a radius of 25mm and a height of 3mm. Above this, add a middle cylinder with a height of 45mm, starting with an inner radius of 20mm and an outer radius of 25mm at the bottom, ta... | include <VoidCylinder.scad>
module IceShotGlassMaker(glassHeight, glassOdBase, glassOdTop, glassBaseThickness = 23, glassThickness = 8, materialThickness = 5, protuberanceThickness = 0.5, frictionSpace = 0.1, potBaseThickness = 3, wedgeHeight = 10, internalWedgeSpace = 1, capBaseHeight = 5){
Pot(glassHeight, glassOd... | glb/cad_6faceca0701a.glb |
Create a UFO Lamp by constructing a hollow, saucer-shaped vessel. Start with a primary body formed by the union of a sphere scaled to 60mm in radius and 0.8 height, and a wider, flatter sphere scaled to 120mm in radius and 0.2 height. Add a small central spire consisting of a cylinder 8mm tall and 1mm wide, topped with... | $fn = 20;
difference() {
union() {
scale([1,1,.8]) sphere(60);
scale([1,1,.2]) sphere(120,true);
leg() ;
rotate([0,0,90]) leg();
rotate([0,0,180]) leg();
rotate([0,0,270]) leg();
translate([0,0,45]) scale([1.8,1.8,1]) sphere(6);
translate([0,0,49]) cylinder(8,1,1);
translate([0,0,60]) sphere(4,$... | glb/cad_5842cd5d2f27.glb |
Create a drink cover consisting of a thin circular disk with an outer diameter of 89.2mm and a height of 7mm. Hollow out the center to create a ring with an inner diameter of 87mm, leaving a base thickness of 1.6mm and wall thickness of 1.6mm. On the top surface of the disk, emboss the text "Paul" centered both horizon... | glass_dia=87;
walls=1.6;
wall_h=7;
add_clip="yes";
num_clips=6;
clip_offset=3.6;
cap_text="Paul";
text_size=15;
text_depth=0.4;
$fn=90;
difference(){
cylinder(h=wall_h,d=glass_dia+walls);
translate([0,0,walls])
cylinder(h=wall_h,d=glass_dia);
mirror([1,0,0])linear_extrude(text_depth)text(cap_text,size=text_size,ha... | glb/cad_aecbd65c2b75.glb |
Create a radio rail mount for a Yaesu FT-1500M. Start with a central rectangular base plate measuring 90mm in depth, 131mm in width, and 5mm in thickness. Attach two side walls to the edges of the width, each measuring 90mm in depth, 5mm in thickness, and 40mm in height, creating a U-shaped bracket.
Drill eight circul... | echo(version=version());
rotate([0,90,0])
render()
FT1500M();
MountThick = 5.0;
MountWidth = 131.0;
SideHeight = 40.0;
SideRailHoleSpacing = 50.0;
SideRailHoleZoffset = -(SideHeight / 2.0);
SideRailHoleXoffset = (SideRailHoleSpacing / 2.0);
SideYoffset = (MountWidth / 2.0)+(MountThick / 2.0);
SideZoffset = (SideHei... | glb/cad_4abd7df71ea0.glb |
Create a kitchen storage bar wall mount. Start by forming a base shape that is a hull of a 27mm diameter cylinder and a 22mm diameter cylinder, with a total height of 17mm. From this base, remove a central cylindrical cutout with a 16mm diameter and a height of 40mm to accommodate a bar.
Add a mounting screw hole by ... | d_hole=16;
d_outs=22;
d_sml=5;
h1=12;
h2=12;
module vint1(dhead, dbody, hhead){
hull(){
cylinder(d1=dhead,d2=dbody, h=hhead);
translate([dhead/2,0,0])
cylinder(d1=dhead,d2=dbody, h=hhead);
}
hull(){
cylinder(d=dbody,h=20);
translate([dhead/2,0,0])
cylinder(d=dhead,h=20);
}
}
mirror([1,0,0])
diff... | glb/cad_ce49e6d1d0bf.glb |
Create two mirrored wing spars for a flying wing. Each spar is a thin plate with a thickness of 1.5mm.
For the front spar, create a symmetric shape centered on the X-axis. The main body is defined by a polygon that extends from the center to a maximum wing length of 400mm, angled at 25 degrees. The width of the spar i... | ribs_in_spar = 09;
wing_angle = 25;
wing_length = 400;
ribs_thickness = 1.5;
printable = 1;
front_spar_union_length = 20;
front_spar_width = 10;
front_spar_holes = 4.5;
back_spar_union_length = 2*front_spar_union_length;
back_spar_width = front_spar_width;
back_spar_holes = front_spar_holes;
mirror([0,0,0])front_spa... | glb/cad_2bf3c31987ce.glb |
Create a collection of three spiral-themed ornaments, each with a thickness of 2mm and a hanging ring with an outer radius of 5mm positioned at the top.
First, create a conical ornament. Form a spiral that starts with a radius of 30mm at the base and tapers to a point at a height of 75mm. The spiral should complete 0.... | PART = "ALL";
HEIGHT=75;
RADIUS=30;
THICKNESS=2;
E = 0.1;
$fa=3;
$fs=1;
module treeOrnament() {
rotateRevert()
spiralCone(HEIGHT, RADIUS, width=THICKNESS);
translate([0, 0, THICKNESS/2])
ring(RADIUS+THICKNESS/2);
hanger();
}
module spiralCone(height, radius, turns=0.6, sides=32, width=THICKNESS) {
... | glb/cad_d2977c2ba57a.glb |
Create an OPB917 Opto-Sensor Bracket designed to hold a sensor approximately 44mm above a mounting surface.
Start with a vertical mounting post 2mm wide, 16mm deep, and approximately 48mm tall. At the base of this post, create a foot that extends forward, 22mm long, 16mm wide, and 4mm thick. The front of this foot sh... | sd = 0.2;
OPTH = 6.56;
OPW = 30.6;
OPZ = 4.0;
ARMX = 5.06;
ARMY = OPTH;
ARMZ = 25.54;
ARMG = 5.0;
MHID = 3.20;
MHS = 24.5;
WOD = 1.1;
WL = 20;
eps = 0.03;
fn = 160;
module OPB917() {
difference() {
union() {
translate([-OPW/2,-OPTH/2,0]) cube([OPW,OPTH,OPZ]);
translate([ARMG/2,-ARMY/2,0]) cube([ARMX,AR... | glb/cad_a332cc58dbbd.glb |
Create an OPB917 Opto-Sensor Bracket designed to hold a sensor approximately 44mm above a mounting surface.
Start with a vertical mounting post that is 2mm wide, 16mm deep, and approximately 31mm high. At the top of this post, create a horizontal platform to seat the sensor. This platform should be 30.6mm wide, 6.56m... | sd = 0.2;
OPTH = 6.56;
OPW = 30.6;
OPZ = 4.0;
ARMX = 5.06;
ARMY = OPTH;
ARMZ = 25.54;
ARMG = 5.0;
MHID = 3.20;
MHS = 24.5;
WOD = 1.1;
WL = 20;
eps = 0.03;
fn = 160;
module OPB917() {
difference() {
union() {
translate([-OPW/2,-OPTH/2,0]) cube([OPW,OPTH,OPZ]);
translate([ARMG/2,-ARMY/2,0]) cube([ARMX,AR... | glb/cad_4033c235fe7a.glb |
Create a pulley and slotted wheel assembly designed to fit a gearmotor shaft. Start by constructing a central hub with a height of 10.9mm. The core of this hub must be hollowed out to match a gear profile with a major diameter of 13.88mm and a minor diameter of 10.46mm, featuring 8 teeth that are each 2.55mm wide.
Sur... | sd = 0.2;
GTOD = 13.88+sd;
GTID = 10.46+sd;
teeth = 8;
TW = 2.50+.05;
GZ = 11.9;
HBW = 3;
HBH = 8;
HBL = 41;
HBHOD = 3;
SH = GZ-1;
CYLD = 40;
CYLZ = 4;
CYLTh = 2;
eps = 0.03;
fn = 100;
module ring1(OD = CYLD, Z = CYLZ) {
difference() {
cylinder(d=OD, h=Z, $fn=fn);
translate([0,0,-eps]) cylinder(d=OD-2*C... | glb/cad_cbbb6ccecc71.glb |
Create a Pulley and Slotted Wheel assembly. Start by constructing a slotted code wheel: create a central square post 4.75mm wide and 11.8mm high with a 3mm diameter hole running through its center. Around this post, add a circular disk with an outer diameter of 57mm and a thickness of 1.5mm. Cut 16 rectangular slots in... | sd = 0.2;
GTOD = 13.88+sd;
GTID = 10.46+sd;
teeth = 8;
TW = 2.50+.05;
GZ = 11.9;
HBW = 3;
HBH = 8;
HBL = 41;
HBHOD = 3;
SH = GZ-1;
CYLD = 40;
CYLZ = 4;
CYLTh = 2;
SPW = 4.75;
SPH = 11.8;
SPID = 3.0;
CWZ = 1.5;
CWOD1 = CYLD+17;
SLOTS = 16;
SLY = 4;
SLX = 5;
SLRX = 0.5;
CWOD = CWOD1 - SLRX;
eps = 0.03;
fn = 160;
mo... | glb/cad_f29fa2cd4ddf.glb |
Create a pulley and slotted wheel assembly. Start with a central cylindrical hub with an outer diameter of 21.75mm and a height of 15mm. This hub must be hollowed out by a central vertical hole with a diameter of 1.8mm.
Around this hub, create a mounting structure consisting of two perpendicular rectangular bars, each... | sd = 0.2;
TW = 2.50+.05;
POD = 21.55+sd;
PZ = 16;
HBW = 3;
HBH = 8;
HBL = 41;
HBHOD = 3.0+sd;
TOD = 1.6+sd;
SH = PZ-1;
CYLD = 40;
CYLZ = 4;
CYLTh = 2;
eps = 0.03;
fn = 100;
module ring1(OD = CYLD, Z = CYLZ) {
difference() {
cylinder(d=OD, h=Z, $fn=fn);
translate([0,0,-eps]) cylinder(d=OD-2*CYLTh, h=Z+2... | glb/cad_711a0519302b.glb |
Create a hollow cylindrical post with an outer diameter of 9.5mm and a height of 15.5mm. Bore a concentric hole through the center of the cylinder from top to bottom with a diameter of 6.2mm. | sd = 0.2;
PID = 6.0 + sd;
POD = 9.5;
PZ = 15.5;
eps = 0.03;
fn = 160;
module post() {
difference() {
cylinder(d=POD, h=PZ, $fn=fn);
translate([0,0,-eps]) cylinder(d=PID, h=PZ+2*eps, $fn=fn);
}
}
post(); | glb/cad_cd0520c89a4b.glb |
Create a fine-tunable end cap for a printer rod. Start with a main body shaped as a rounded lozenge with a total thickness of 4.1mm. The body is formed by the hull of three cylinders: a central cylinder with a radius of 10.05mm and two outer cylinders with radii of 4.05mm positioned 12.7mm apart along the x-axis. Round... | tol=0.1;
m3_d= 3;
m3_d_tol=0.15;
m3_d_tight= 2.9;
m3_nut_d= 6 + 0.3;
m3_nut_h=2.0+0.1;
oil_hole_d = 2;
back_th= 2;
hiv= 0.8;
roundness=3;
thc= m3_nut_h + hiv + back_th;
div= 13;
dsm=8.1;
mwd= div + 6.1;
$fs=0.1;
h2h=25.4;
RodBlindEnd();
module torus(diameter,roundness)
{
translate([0,0,roundness/2])
rotate_e... | glb/cad_58b8175440fa.glb |
Create a double-sided wrench for hex nuts with a total length of 50mm between the centers of its two ends. The tool has a uniform thickness of 3.2875mm.
At the right end, create a rounded head based on a cylinder with a radius of 6.0375mm. Within this head, carve out a hexagonal socket rotated 30 degrees, designed to... | wrench_length = 50;
insert_size_a = 5.5;
insert_size_b = 7.66;
wrench_thickness = (insert_size_a + insert_size_b) / 4;
offset = wrench_thickness;
module insert(insert)
{
union()
{
translate([-insert/2,-insert/2,0])
cube([insert + wrench_thickness,insert,wrench_thickness+1]);
transl... | glb/cad_1d217c1cb30e.glb |
Create a lidless rectangular box with inner base dimensions of 66mm by 66mm and an inner height of 30mm. The walls and the floor of the box should each have a thickness of 1.6mm. The total outer dimensions are therefore 69.2mm by 69.2mm with a total height of 31.6mm.
On the two opposite side walls, centered along the ... | base=[66,66];
height=30;
wall=1.6;
add_cutout="yes";
cutout_dia=30;
front_text="12 pieces puzzle";
text_size=6;
text_depth=0.4;
$fn=60;
bx=base[0]+wall*2;
by=base[1]+wall*2;
h=height+wall;
difference(){
union(){
cube([bx,by,wall]);
cube([bx,wall,h]);
translate([0,by-wall,0])cube([bx,wall,h]);
cube([wall,by... | glb/cad_fabbf63b1167.glb |
Create a floor protector for a furniture leg by constructing a hollow cylinder with an outer diameter of 31mm and an inner diameter of 25mm. The total height of the cylinder should be 30mm. To create the base, ensure the bottom wall has a thickness of 5mm, leaving a central hole that extends from the top down to the 5m... | foot_strut_diameter = 25;
foot_side_thickness = 3;
foot_floor_thickness = 5;
foot_length = 30;
foot_inclination = 0;
module __Customizer_Limit__ () {}
$fn = 200;
foot_strut_radius = foot_strut_diameter / 2;
foot_cut_length = 2 * (foot_strut_radius + foot_side_thickness) / cos (foot_inclination);
foot_inclination... | glb/cad_c22c8de39682.glb |
Create a Gear Bearing Demo Thing. Start by creating a main outer ring with a diameter of 51.7mm and a thickness of 15mm. The interior of this ring is hollowed out by a herringbone gear shape with 20 teeth, featuring a 45-degree pressure angle and a depth ratio of 0.5.
Inside this ring, place a central sun gear with a ... | D=51.7;
T=15;
tol=0.25;
number_of_planets=5;
number_of_teeth_on_planets=7;
approximate_number_of_teeth_on_sun=9;
P=45;
nTwist=1;
w=9;
DR=0.5*1;
m=round(number_of_planets);
np=round(number_of_teeth_on_planets);
ns1=approximate_number_of_teeth_on_sun;
k1=round(2/m*(ns1+np));
k= k1*m%2!=0 ? k1+1 : k1;
ns=k*m/2-np;
... | glb/cad_1310e7cdf78f.glb |
Create a Nerf streamline dart by constructing a main hollow body and a conical tip. Start with a cylinder 64mm tall with a radius of 5.98mm. Create a concentric hole through the center of this cylinder with a radius of 3.5mm and a height of 75mm to leave the body hollow. On top of this cylinder, add a conical tip that ... | difference() {
color("lightsalmon") cylinder(h=64, r1=5.98, r2=5.98);
translate([0,0,-1]) cylinder(h=75, r1=3.5, r2=3.5);
}
translate([0,0,64]) {
color("orangered") cylinder(h=8, r1=5.98, r2=1.5);
} | glb/cad_31d241bb9654.glb |
The provided data consists of a series of coordinate lists for "octa" structures, likely representing voxel-based 3D models or mathematical grids. Each entry (e.g., `octa_72` through `octa_212`) defines a set of points in a 3D space, often organized in a $4 \times 4 \times 2$ or similar grid.
### Data Analysis
1. **S... | view_4(octa_1,octa_7,octa_78,octa_128);
module view(file)
{
color("lavender")
join_cubes(file,1,8);
color("ivory")
join_cubes(file,9,8);
color("DarkSalmon")
join_cubes(file,17,8);
color("pink")
join_cubes(file,25,8);
color("lightblue")
join_cubes(file,33,8);
color("orange")
join_cubes(file,41,8);
color... | glb/cad_94725e817d2f.glb |
Create a parametric container with an overlapped lid consisting of two separate parts: a main body and a lid.
For the body, create a rectangular block with outer dimensions of 76.4mm in width and depth, and a height of 68.2mm. Hollow out the center by removing a rectangular block starting 1.2mm from the bottom and si... | Generate = "both";
ObjectWidth = 74;
ObjectDepth = 74;
ObjectThickness = 66;
ObjectCount = 1;
LidClearance = 0.2;
LidHeight = 7;
ContainerClearance = 1;
WallTickness = 1.2;
AirVentHoleDiameter = 1.5;
BodyLidDistance = 10;
$fn = 60;
module GenerateBody(pObjectWidth, pObjectDepth, pObjectThickness) {
diff... | glb/cad_5c97828a3a2e.glb |
Create a Dog Food Bowl Insert with a total diameter of 110mm. Start by placing a central vertical cylinder with a height of 25mm, tapering from a bottom radius of 10mm to a top radius of 8mm, and cap it with a sphere of radius 8mm.
Position three additional vertical cylinders around the center, spaced 120 degrees apa... | d_insert = 110;
outer_ht = 45;
outer_r1 = 10;
outer_r2 = 8;
inner_ht = 25;
inner_r1 = 10;
inner_r2 = 8;
l_strut = d_insert/2 - outer_r1;
w_strut = 6;
z_strut = 6;
outer_circle_x_offset = l_strut*sin(60);
outer_circle_y_offset = l_strut*cos(60);
$fn = 100;
module outer_circles()
{
translate([0,l_strut,0]) cylinder(h =... | glb/cad_a10b94395919.glb |
Create an Ornamental Christmas Tree Foot with a total length of 104mm and a maximum height of 28.7mm. The main body is a flat base with a thickness of 5.2mm.
Starting from the base, create a rectangular section 2.1mm wide and 28.7mm high. Offset this by 2.25mm and add a second parallel rectangular section of the same... | $fs = 1;
$fa = 1;
body_length = 104;
body_height_max = 28.7;
edge_width_max = 8.65;
edge_width_min = 4;
border_height = 1.7;
interior_thickness = 1.6;
foot_thickness = 5.2;
foot_offset = 2.25;
foot_depth = 2.1;
toe_width = 5.9;
toe_length = 9;
toe_thickness = 1.7;
toe_vertical_offset = 1.7;
body_flat_length = 26.... | glb/cad_69c79fd11e9b.glb |
Create a PCB support frame by starting with a solid rectangular base measuring 154mm by 94mm with a height of 5.5mm. From the center of this base, remove a rectangular inner section measuring 151mm by 91mm with a height of 5.5mm to create a thin-walled hollow frame. At each of the four corners of the frame, create circ... | translate([0,0,4.75])
difference(){
translate([0,0,-2])
cube([154,94,5.5],center=true);
translate([0,0,2])
cube([151,91,5.5],center=true);
difference() {
cube([150-6,90-6,20],center=true);
translate([136/2,82.5/2,0])
cylinder(r=5,h=20,center=true);
translate([-136/2,82.5/2,0])
cyl... | glb/cad_cb9e4e067edf.glb |
Create a turbine housing bottom consisting of three stacked concentric cylindrical sections. The base is a cylinder with a radius of 21.5mm and a height of 1.5mm. Directly above this, center a second cylinder with a radius of 20mm and a height of 1.5mm. At the top, add a third small cylinder with a radius of 2.25mm and... | blade_radius1=12;
blade_radius2=9;
blade_thickness=1.5;
blade_length=20;
chord_dist=sqrt(pow(blade_radius1,2)-pow(blade_length/2,2));
blade_width=blade_radius1-chord_dist;
blade_length2=2*sqrt(pow(blade_radius2,2)-pow(chord_dist,2));
top_radius=blade_length-(blade_length-blade_length2)/2;
blade_height=8;
num_blades=8;
... | glb/cad_22a46ff2a66d.glb |
Create a miniature clothespin with a thickness of 3mm. Start by forming the main body as a flat, extruded polygon. The outer profile should begin at a point, extend to a width of 2.5mm, and then taper. Specifically, create a shape that spans from x = -7mm to 6.5mm and y = -2.5mm to 2.5mm.
Within this body, carve out ... | $fn=20;
h=3;
difference()
{
union()
{
assign(r0=-7,r1=-2.5,r2=0,r3=6.5)
assign(c0=-2.5,c01=-2,c02=-.5,c1=0,c22=.5,c21=2,c2=2.5)
linear_extrude(height=h)
polygon([[r0,c0],[r0,c01],[r1,c02],[r1,c22],[r0,c21],[r0,c2],[r3,c2],[r3,c0],[r0,c0]]);
}
union()
{
for(a=[0:2.4:5])
translate([a,0,0])
cylinder... | glb/cad_a3a69084399a.glb |
Create an infinity table coffee table using rectangular hollow sections (RHS) with a consistent cross-section width of 60mm. The overall outer dimensions of the structure must be 1410mm in length, 810mm in width, and 500mm in height.
Construct the frame by arranging the RHS beams into two interlocking rectangular loo... | rhs_width = 60;
gap = 30;
base_length = 1410;
base_width = 810;
base_height = 500;
length_long = base_length - rhs_width - gap;
length_short = base_length - 2*(rhs_width + gap);
width_long = base_width - rhs_width - gap;
width_short = base_width - 2*(rhs_width + gap);
height_long = base_height - rhs_width... | glb/cad_afb8085d640e.glb |
Create a fan support and shroud for a Pico hotend. Start with a base rectangular block measuring 32mm x 32mm x 7mm. On top of this base, add a second block measuring 32mm wide, 47mm deep, and 5mm thick, tilted at a 65-degree angle relative to the base.
Remove a central tapered hole from the entire assembly, starting f... | difference() {
union() {
cube([32,32,7]);
rotate([65,0,0]) translate([0,-39,-1]) difference() {
cube([32,47,5]);
translate([16,16,-1]) cylinder(r1=14,r2=11.2,$fa=2,h=9,$fn=100);
translate([4,4,-1]) cylinder(r=1.5,h=7,$fn=48);
translate([28,4,-1]) cylinder(r=1.5,h=7,$fn=48);
trans... | glb/cad_7db3bcd86173.glb |
Create a customizable 18650 battery pack holder consisting of a grid of 8 cells arranged in 4 rows and 2 columns.
First, construct the base holder by creating a grid of 8 rectangular blocks, each measuring 23mm by 23mm with a height of 6mm. In the center of each block, remove a cylindrical hole with a radius of 9.5mm... | $fn = 100;
BATT_RADIUS = 18.0/2;
module holder(num_rows=1, num_cols=1, margin_x_mm=0.0, margin_y_mm=0.0, thickness_holder_mm=3.0, bus_width_mm=5.0, thickness_top_mm=2){
box_x = 22.0+margin_x_mm;
box_y = 22.0+margin_y_mm;
for (i = [0:1:num_rows-1]) {
for(j = [0:1:num_cols-1]){
translat... | glb/cad_4ea5eb741abc.glb |
Create a Brestacentaurpus model by combining several distinct geometric components. Start with a central torso based on a human upper body, rotated -23 degrees on the Z-axis, and truncate the lower half by removing the area within a 40mm by 25mm by 45mm centered cube shifted 20mm upward. Attach this to a pony base, sca... | module brestahalf()
{
difference()
{
rotate([0,0,-23]) import_stl("bresta.stl");
translate([1,0,20]) cube([40,25,45], true);
}
}
module ponyhalf()
{
scale(1.5,1.5,1.5)
difference()
{
scale(3,3,3) import_stl("ponybase.stl");
translate([0,-27,34]) cube(40, true);
}
}
module octopusbutt()
{
scal... | glb/cad_f12a64b2ce22.glb |
Create a Parametric Clamp consisting of a flexible circular spring and two opposing clamping plates.
First, construct the spring as a hollow cylinder with an outer radius of 10mm, a width (height) of 10mm, and a wall thickness of 3mm. Cut a gap into this cylinder to create a C-shape, and remove a central channel from... | Clearance = 0.3;
Radius = 10;
Thickness = 3;
Layers = 2;
Width = 10;
PlateThickness = Thickness/1.5;
Gap = 0.25;
PlateExtension = 3;
$fs = 0.5;
$fn = 40;
Overlap = 0.1;
ADXL345 = false;
InternalRadius = Radius - Thickness/2;
CapRad = (Thickness/2)*1.25;
... | glb/cad_a726b066aff3.glb |
Create a rotatable flexshaft handpiece mount. Start by creating a main cylindrical body with an outer diameter of 31.4mm (Handpiece Diameter 25.4mm plus 3mm wall thickness on each side) and a width of 20mm. This body should have a central hole with a diameter of 25.4mm running through its width to accommodate the handp... | Handpiece_Diameter = 25.4;
Lock_Screw_Diameter = 5.0;
Mount_Screw_Diameter = 6.0;
Height_above_Table = 25.0;
Mount_Thickness = 3.0;
Mount_Width = 20.0;
Test = 0;
Nozzle_Diameter = 0.4;
$fn = 50;
function Nut_Diameter( d ) = 2*(d+Nozzle_Diameter)-1;
function Hole_Diameter( d ) = d+2*Nozzle_Diameter;
module mou... | glb/cad_9793ed6e284e.glb |
Create a Frostruder Cap for a syringe. Start with a main body formed by the intersection of a 60mm x 28mm x 14mm box and a cylinder with a 30mm radius and 14mm height. Remove a horizontal slice from the center of this body with a thickness of 2mm and a radius of 25.05mm to create a flange.
Add a cylindrical plug exten... | res=64;
syringeCap(60, 28, 14, 50.1,31.9, 27.6,2,13, 6,4.7,2.7,19.75);
translate([0,.4,0])
support();
module syringeCap(length, width, height,syringeFlangeWidth, syringeOD, syringeID,syringeFlangeThickness,syringePlugHeight, gasketHeight, gasketLip, gasketThickness,gasketID){
difference(){
union(){
differenc... | glb/cad_705ea57bcb64.glb |
Create a compact extruder mount. Start with a main body consisting of a rectangular block 22mm wide, 56mm deep, and 26mm high. Attach a mounting plate to the side, measuring 44mm wide, 15.9mm deep, and 26mm high. Integrate two cylindrical carriage mounts with a radius of 5mm and a height of 26mm, positioned symmetrical... | module corner() {
difference() {
cube([8,8,26]);
translate([8,8,0]) cylinder(h=26,r=8);
}
}
module extruder_base(){
translate([-1,-2,0-2]) cube([22,56,24+2]);
translate([-16+10-2.5,49,0-2]) cube([35+4,5+10.9,24+2]);
translate([11,25,0-2]){
translate([-15,24,0]) cylinder(r=5, h=24+2);
translate([15,24,0])... | glb/cad_7028cea10942.glb |
Create a base for a Minecraft chess piece by starting with a square slab measuring 20mm by 20mm with a height of 2.5mm. Centered within this slab, remove two identical rectangular holes. Each hole must measure 4.4mm in width, 8.8mm in depth, and 10mm in height. Position these two cutouts symmetrically along the depth a... | fx=4.4;
fy=8.8;
fg=3.8;
fo=fg/2+fx/2;
difference() {
cube([20,20,2.5],center=true);
translate([fo,0,0]) cube([fx,fy,10],center=true);
translate([-fo,0,0]) cube([fx,fy,10],center=true);
} | glb/cad_1d1c210fff2a.glb |
Create a crown for a Minecraft chess piece by constructing a hollow square ring with a total outer width and depth of 19.2mm and a height of 8mm. The walls of this ring should be 1.5mm thick. To create the crenelated top, remove four rectangular sections from the top of the walls. Each cutout should be 4.05mm wide, 1.5... | w=16.2;
t=1.5;
h=8;
difference() {
cube([w+t+t,w+t+t,h],center=true);
cube([w,w,h*2],center=true);
translate([0,w/4,h/3]) cube([w*2,w/4,w/4],center=true);
translate([0,-w/4,h/3]) cube([w*2,w/4,w/4],center=true);
rotate([0,0,90]) {
translate([0,w/4,h/3]) cube([w*2,w/4,w/4],center=true);
translate([0,-w/4,h/3]) cube([w*2... | glb/cad_9a48e20bc2b9.glb |
Create a Customizable Cube by constructing a solid cube with equal side lengths of 10mm for the width, height, and depth. | cubeSide=10;
cube(cubeSide); | glb/cad_fa0d6bacff0d.glb |
Create a 14500 battery holder by starting with a central rectangular base measuring 52mm in length, 18mm in width, and 8mm in height. Carve a cylindrical channel through the center of this base along its length; the channel should have a diameter of 14.5mm and be positioned such that there is a 4mm gap between the bott... | l1=52;
w1=18;
h1=8;
l2=3;
w2=w1;
h2=14;
c1=54;
d1=14.5;
x=0;
cut=6;
$fn=50;
union () {
difference (){
color("green")
cube([l1,w1,h1]);
rotate([0,90,0])
translate([-d1/2-x,w1/2,0])
cylinder(h=c1,d=d1);
}
translate([-l2,0,0])
side();
translate([l1,0,0])
side();
}
modul... | glb/cad_0e428e579304.glb |
Create a RAMPS 1.4 case consisting of a main body and a lid. The main body is a hollow rectangular box with internal dimensions of 104mm in length, 61.5mm in width, and 60mm in height, with a wall thickness of 2.5mm.
On the bottom and sides, incorporate guide rails with a thickness of 2.2mm and a PCB offset of 2.0mm ... | include <MCAD/Shapes.scad>
explode=1;
railT=2.2;
pcbT=2.0;
fanL=75;
fanW=13.8;
flangeDepth=20;
fin=12;
wT=2.5;
clr=0.3;
icL = 104;
icW=61.5;
icH=60;
heightToRamps=18;
endToReset=13;
fs1=13.6;
fs2=22.5;
%translate([-10,0,0])cube ([4,icW,4],center=true);
%translate([-10,0,0])cube ([4,71.8,4],center=true);
%translate... | glb/cad_708694149e96.glb |
Create an Ellipsoid Interlocking Block by starting with a cube that is 16mm on each side, centered at the origin. Hollow out the center of this cube by removing a sphere with a diameter of 5mm. On two opposite faces of the cube, create a hole in the shape of an ellipsoid. This ellipsoid should be 8mm long, 6.3mm wide, ... | res=70;
w=8;
t=1.5;
offset=4;
ratio=0.9;
rotate([0,90,0])block1(w,t);
module block1(w,t){
rotate([90,0,0])translate([-1.65*w,0,0])scale([1,ratio,1])sphere(w-t-0.3,true,$fn=res);
difference(){
cube([2*w,2*w,2*w],true);
translate([offset,0,0])sphere(w-t,true,$fn=res);
translate([w,0,0])scale([1,ratio,1])rotate([0,90,0]... | glb/cad_fb3530074f7b.glb |
Create a battery adapter by starting with a main outer cylinder that has a diameter of 24.5mm and a height of 5mm. From this main body, remove a smaller concentric cylinder from the top to create a hollow space; this inner cylinder must have a diameter of 20mm and a height of 3.2mm. Position this inner cutout so that i... | $fn=96;
OUTER_BATTERY_DIA = 24.50;
OUTER_BATTERY_Z = 5.00;
INNER_BATTERY_DIA = 20.00;
INNER_BATTERY_Z = 3.20;
CONTACT_X = 3.50;
CONTACT_Y = 14.00;
CONTACT_PROTRUSION = 0.20;
EXTRA = 0.00;
outer_radius = 0.5 * OUTER_BATTERY_DIA - EXTRA;
outer_z = OUTER_BATTERY_Z - EXTRA;
inner... | glb/cad_1252d7b9fa2e.glb |
Create a square tray for organizing small tools with a grid of 35 cells arranged in 5 columns and 7 rows. Each cell should have internal dimensions of 9mm by 9mm and a depth of 28.8mm. The walls and bottom of the tray must be 1.6mm and 1.2mm thick, respectively. The exterior corners of the overall tray should be rounde... | num_cells_x = 5;
num_cells_y = 7;
cell_size_x = 9;
cell_size_y = 9;
tray_max_height = 30;
height_at_front = 20;
zip_width = 6;
zip_thickness = 2;
distance_between_holes = 50;
rounding = 3;
sidewall = 1.6;
bottom = 1.2;
resolution = 16;
module roundedCube(x, y, z, fillet)
{
if (fillet <= 0) {
cube([x,y,z... | glb/cad_6a92e11925e9.glb |
Create a slot tester kit consisting of a base block and a tester block.
First, create the base block as a cube with dimensions 1mm width, 1mm depth, and 0.25mm height. Subtract T-shaped slot profiles from the left, right, and back faces. On the left and right faces, the slots are formed by removing a horizontal recta... | cube_w= 1.;
cube_d= 1;
cube_h= .25;
slot_h_midpt=.1;
slot_hor_w=.1;
slot_hor_d=cube_d;
slot_hor_d2=cube_w;
slot_hor_h=.05;
slot_vert_w=.05;
slot_vert_d=cube_d;
slot_vert_d2=cube_w;
slot_vert_h=.1;
gap=.02;
clear=.01;
bot_filler_toggle=0;
slot_bot_filler=bot_filler_toggle*(slot_hor_w+slot_vert_w/2);
bot_filler2_toggle=... | glb/cad_5650c0ba3a24.glb |
Create a seat lever knob by constructing a hollow, rounded capsule. Start with a solid cylinder that has an outer diameter of 12.75mm and a height of 20mm. Attach a hemisphere with a radius of 6.375mm to the bottom base of the cylinder so that the bottom is fully rounded. To create the hollow interior, remove a smaller... | module leverKnob()
{
length = 20.0;
id = 9.75;
od = 12.75;
$fn = 128;
difference() {
union() {
cylinder(h=length, r=od/2.0, center=1);
sphere(r=od/2.0);
}
union() {
cylinder(h=length, r=id/2.0, center=1);
}
}
}
leverKnob(); | glb/cad_4195badfff40.glb |
Create a customizable sphere with a diameter of 10mm. Ensure the sphere is rendered with high resolution, using 100 facets to maintain a smooth, circular profile. | diameter = 10;
sphere(d = diameter, $fn=100); | glb/cad_c807b09a7905.glb |
Create a customizable sphere with a radius of 10mm. Ensure the sphere is rendered with high resolution, using 100 facets to maintain a smooth, circular profile. | radius = 10;
sphere(r = radius, $fn=100); | glb/cad_db1cca66b652.glb |
Create a customizable cylinder with a radius of 5mm and a total height of 10mm. Ensure the cylinder is perfectly circular with a high facet resolution of 100 for a smooth surface finish. | height = 10;
radius = 5;
cylinder(h = height, r1 = radius, r2=radius, $fn=100); | glb/cad_30f54528d4a9.glb |
Create a screwdriver stand consisting of three vertical walls connected by a base. Start by creating a base plate that is 60mm deep, 5mm thick, and 160mm high. Add a second vertical wall extending from the base that is 120mm high, 120mm deep, and 5mm thick. Finally, add a third vertical wall that is 60mm high, 120mm de... | thickness=5;
depth=60;
width=250;
height1=160;
height2=120;
height3=60;
number=6;
diam=10;
translate([0,0,height1])difference(){
cube([depth,250,thickness]);
for (i=[0:number]){
translate([depth/2,width/(number+1)/2+i*width/(number+1),-0.5])cylinder(d=diam,h=thickness+1,$fn=50);
}
}
translate([0,0,height2])differe... | glb/cad_14e8b0521ec0.glb |
Create a customizable cone with a base radius of 5mm and a total height of 10mm. The shape should taper linearly from the circular base to a single point at the top. Ensure the circular base is rendered with high resolution to appear smooth. | height = 10;
radius = 5;
cylinder(h = height, r1 = radius, r2=0, $fn=100); | glb/cad_b4a583cff5e5.glb |
Create a square pyramid with a base edge length of 8mm and a total height of 10mm. The shape should feature a flat square base and four triangular faces that taper linearly from the base edges to a single sharp point at the apex. Ensure the geometry is precise, with the apex centered directly above the midpoint of the ... | height = 10;
base_edge = 8;
cylinder(h = height, r1 = base_edge, r2=0, $fn=4); | glb/cad_99a1f7ff728e.glb |
Create a triangular pyramid with a height of 10mm. The base should be an equilateral triangle defined by a radius of 6mm from the center to each vertex. The shape must taper linearly from this triangular base to a single point at the apex, resulting in a three-sided pyramid. | height = 10;
base_edge = 6;
cylinder(h = height, r1 = base_edge, r2=0, $fn=3); | glb/cad_0998b90cae57.glb |
Create an extruder to stepper mounting plate by starting with a central square plate measuring 74mm by 74mm with a thickness of 1.5mm. At each of the four corners of the plate, centered 25mm from the middle along both the X and Y axes, add a cylindrical standoff with a diameter of 6mm and a height of 6mm.
To complete... | module standoff()
{
difference()
{
cylinder(6,4,4, true);
}
}
module hole()
{
cube([3,3,14],true);
}
module plate()
{
difference()
{
union()
{
translate([-25,-25,3]) standoff();
translate([25,-25,3]) standoff();
translate([-25,25,3]) standoff();
translate([25,25,3]) standoff();
cu... | glb/cad_39281a2f0870.glb |
Create a Maze Gift Box Solution Keychain. Start by creating a rectangular base plate with a total height of 2mm. The base consists of a bottom layer 1mm thick and a top layer 1mm thick. The plate dimensions are 66mm wide by 42mm high, based on a grid of 32 columns and 20 rows where each cell is 2mm and each wall is 1mm... | rows=20;
columns=32;
cell_width=2.0;
wall_width=1.0;
base_height=1;
notch_depth=1;
build_lug=true;
hole_diameter=4.0;
lug_diameter=hole_diameter+3.0;
entire_height=base_height+notch_depth;
maze_keychain(m_Corona688_scad);
m_Corona688_scad=[
"############### ################",
"# # # # # # # ... | glb/cad_325e5706db63.glb |
Create a Snap-In PSU cover designed to shield a power supply unit. Start by creating a top cover plate that is 16mm deep, 110.5mm wide, and 2.5mm thick. In this top plate, create a series of eight circular holes with a diameter of 7mm, spaced evenly along the width starting from a 20mm offset, each separated by 9.67mm.... | $fn=60;
X=0.1;
brim_hight=0.5;
brim_r=6;
corner_r=2;
wall_thick=2.5;
psu_w=110.5;
terminal_h=14+0.5;
terminal_d=16;
terminal_w=87/9;
terminal_start=20;
screw_dia=7;
cable_z=3;
cable_y=7;
cable_h=7.5;
led_center=8;
led_dia=3;
led_d=9;
trim_center=15.5;
trim_dia=4;
trim_d=10;
mount_r=2.9/2;
mount_z=28;
mount_l=5... | glb/cad_d0e460af77f1.glb |
Create a Modified Pythagoras 3D model with a uniform thickness of 3mm. The base geometry is a right-angled triangle with legs of 60mm and 120mm.
On the leg measuring 60mm, center a semi-circle with a radius of 30mm that extends outward from the triangle's edge. On the leg measuring 120mm, center a semi-circle with a ... | leg_a=60;
leg_b=120;
heigth = 3;
fn = 180;
a = leg_a;
b = leg_b;
c = sqrt(pow(a,2)+pow(b,2));
h = heigth;
ro = (a+b)/8;
e = (a+b)/80;
echo("c =", c, "ro =", ro, "e =", e);
linear_extrude(height=h , center = false, convexity = 10, twist = 0) {
semi_circles_a();
semi_circles_b();
semi_circles_c();
}
triangle();... | glb/cad_f6fe0eae89a0.glb |
Create a replacement vacuum wheel with a total diameter of 109.7mm and a height of 16.5mm. The main body is a hollow ring with a wall thickness of 3mm and a rounded outer edge radius of 4mm. The outer rim features a groove 3.7mm wide and 2.5mm deep.
On the bottom face, center a circular opening with a diameter of 42mm... | $fa = 1;
wheel_diameter = 109.7;
wheel_wall_thickness = 3;
wheel_edge_radius = 4;
wheel_outer_height = 16.5;
wheel_inner_height_max = 16.5;
wheel_inner_height_min = 16.5;
wheel_outer_width = 10;
wheel_groove_width = 3.7;
wheel_groove_depth = 2.5;
wheel_support_width = 1.3;
wheel_clip_height = 31;
wheel_clip_gap ... | glb/cad_ae185689dda2.glb |
Create a Makerfarm Prusa i3v X-Carriage. Start with a main rectangular base plate measuring 74mm wide, 101mm high, and 6mm thick.
On the top surface of this plate, center a hole for the hotend. This cutout consists of a 20mm wide by 16mm deep rectangular slot, with a 20mm diameter cylinder removed from the center to ... | include <MCAD/shapes.scad>
$fa = 1;
$fs = 0.1;
Looseness = 0.5;
M3_Diameter = 3 + Looseness;
M4_Diameter = 4 + Looseness;
M5_Diameter = 5 + Looseness;
Eccentric_Diameter = 7 + Looseness;
Cutout_Height = 10;
Bearing_X_Spacing = 50;
Bearing_Y_Spacing = 79;
M3_M5_Spacing = 34;
Top_M5_Spacing = 12;
Axis_Height = 101... | glb/cad_3a610c825990.glb |
Create a Makerfarm Prusa i3v X-Carriage. Start with a main rectangular base plate measuring 74mm wide, 101mm deep, and 6mm thick.
On the top surface of this base, center a symmetrical set of cutouts. Place two M5 diameter holes spaced 50mm apart along the X-axis. Position two M3 diameter holes 34mm below the M5 holes... | include <MCAD/shapes.scad>
$fa = 1;
$fs = 0.1;
Looseness = 0.5;
M3_Diameter = 3 + Looseness;
M4_Diameter = 4 + Looseness;
M5_Diameter = 5 + Looseness;
Eccentric_Diameter = 7 + Looseness;
Cutout_Height = 10;
Bearing_X_Spacing = 50;
Bearing_Y_Spacing = 79;
M3_M5_Spacing = 34;
Top_M5_Spacing = 12;
Axis_Height = 101... | glb/cad_4ace2fe66112.glb |
Create a Replicator 2 SD card holder consisting of a vertical rectangular backplate with integrated card slots. The main body is a rounded rectangular prism with a total width of approximately 32.6mm, a height of approximately 145mm, and a thickness of 15mm.
On the front face, create a vertical array of 9 angled slots... | module roundedBox(size, radius, sidesonly)
{
rot = [ [0,0,0], [90,0,90], [90,90,0] ];
if (sidesonly) {
cube(size - [2*radius,0,0], true);
cube(size - [0,2*radius,0], true);
for (x = [radius-size[0]/2, -radius+size[0]/2],
y = [radius-size[1]/2, -radius+size[1]/2]) {
translate([x,y,0]) cylinder(r=radius, ... | glb/cad_7872104ec2fb.glb |
Create a PCI port cover by constructing a base composed of several joined rectangular prisms. Start with a main body that is 59mm wide, 19mm deep, and 1mm thick, positioned at x=11.5, y=3.5. Attach a 15mm by 11mm by 1mm tab at the left end (x=0, y=6.5) and a 5mm by 16.6mm by 1mm joint at x=70, y=3.5. Add a 7mm by 20mm ... | difference(){
union(){
translate([0,6.5,0])
cube([15,11,1]);
translate([11.5,3.5,0])
cube([59,19,1]);
translate([70,3.5,0])
cube([5,16.6,1]);
translate([73,0,0])
cube([7,20,1]);
translate([79,0,0])
cube([1,20,11]);
}
union(){
translate([16,9.5,-5])
cube([36,4.4,11]);
translate([21,6.5... | glb/cad_adf37aae1db8.glb |
Create a PCI port cover by constructing a base assembly of joined rectangular plates, all with a thickness of 1mm. Start with a main body measuring 59mm by 19mm, positioned at coordinates (11.5, 3.5, 0). Attach a small tab measuring 15mm by 11mm at (0, 6.5, 0), a connecting piece measuring 5mm by 16.6mm at (70, 3.5, 0)... | difference(){
union(){
translate([0,6.5,0])
cube([15,11,1]);
translate([11.5,3.5,0])
cube([59,19,1]);
translate([70,3.5,0])
cube([5,16.6,1]);
translate([73,0,0])
cube([7,20,1]);
translate([78,0,0])
cube([2,20,11]);
}
union(){
translate([30,9.5,-5])
cube([28,3.4,11]);
translate([34,6.5... | glb/cad_93c83b9aac90.glb |
Create a water heater rotary knob. The main body is a sphere with a radius of 17.25mm, centered at [0, 0, 12], but truncated at the bottom by a cube of 40mm width and depth and 22mm height, starting from z = -10, to create a flat base. Remove two large cylindrical sections with a radius of 40mm, centered at x = 45 and ... | translate([0,0,0]){
rotate([0,0,0])
translate([0,8,4])
sphere(r=1, $fn=15);
rotate([0,0,30])
translate([0,8,4])
sphere(r=1, $fn=15);
rotate([0,0,60])
translate([0,8,4])
sphere(r=1, $fn=15);
rotate([0,0,90])
translate([0,8,4])
sphere(r=1, $fn=15);
difference(){
difference(){
difference(){
cylinder (h=... | glb/cad_a700e5b8800d.glb |
Create a 3Dmatic.es logo consisting of a flat circular base and a gear-like assembly. Start with a solid cylinder 20mm high with a radius of 135mm. Remove a smaller concentric cylinder from the center with a radius of 95mm and a height of 40mm to create a ring. Cut a rectangular section out of this ring by removing a b... | use<./Write.scad>
translate([-200,-27,9.7])
write("3",t=20,h=444,center=true);
translate([-110,-220,4.6])
write("www.3Dmatic.es",t=10,h=45,center=true,font = "orbitron.dxf");
translate([-110,0,-0.5])
color([1,0,0])
cylinder(h=3,r=300);
$unidades=1;
$decimas=0.1;
$h=20;
cylinder(r=$unidades*37, h=$h, $fn=50);
... | glb/cad_5fbaf94daded.glb |
Create an SD card holder consisting of a backplate and a series of slots for holding SD cards. The backplate is a rounded rectangular slab with a thickness of 6mm. Position four mounting holes at the corners of the backplate; each hole consists of a recessed cylinder with a radius of 2.5mm and a deeper central bore wit... | sizeConversion = 1/.95;
height = 32 * sizeConversion;
width = 32 * sizeConversion;
thickness = 4.1 * sizeConversion;
hole = 3 * sizeConversion;
plateOffset = 0;
SDspacing = 1.3;
ShiftToOrigin = 7;
slotDepth = 5.5;
resolution=64;
SD_card_holder (6,1, 60);
module holeRecessed (){
union(){
rotate ([-90,0,0])
tran... | glb/cad_93a6ed1e4e1e.glb |
Create four identical antenna balun spacers. Each spacer is a rounded rectangular plate with a width of 16.5mm, a thickness of 5.5mm, and a height of 93.5mm. The overall shape of each plate is formed by the convex hull of four spheres with a diameter of 5.5mm, positioned at the corners of the plate's footprint.
In eac... | $fn = 48;
coax_d = 5.5;
turns = 8;
b_w = 3 * coax_d;
b_t = coax_d;
b_h = 2 * coax_d * turns + coax_d;
module bracket( offs )
{
difference()
{
hull()
{
translate([0.5*coax_d,coax_d/2,coax_d/2]) sphere(d=b_t);
translate([2.5*coax_d,coax_d/2,coax_d/2]) sphere(d=b_t);
translate([2.5*coax_d,... | glb/cad_3bbc5eb7d6e6.glb |
Create a Cherry MX key switch hole cover consisting of a thin top plate and a supporting rectangular frame. Start by creating a central rectangular plate with overall dimensions of 17.6mm by 15.6mm and a thickness of 1.2mm.
Below this plate, construct a rectangular rim that fits the perimeter of a 16.1mm by 14.1mm op... | hole_w = 16 + 0.1;
hole_h = 14 + 0.1;
plate_t = 1.5 + 1;
top_t = 1.2;
margin = 0.8;
fin_t = 0.8;
corner = 2.8;
eps = 0.01;
translate([ 0, 0, top_t / 2 ]) difference()
{
cube([ hole_w + 2 * margin, hole_h + 2 * margin, top_t ], center = true);
translate([ -hole_w / 2 - margin - eps, -hole_h / 2 - margin, 0 ]) ... | glb/cad_ee8799f60181.glb |
Create a rubber stamp base by starting with a rectangular block that is 40mm long, 10mm wide, and 8mm high, centered on the origin. Remove a cylindrical hole from the center of this block with a radius of 8mm and a height of 8mm. Inside this central void, place a smaller cube measuring 5.5mm by 5.5mm with a height of 6... | base_type = "box";
base_size =10;
base_length =40;
$fn=64;
difference() {
cylinder(h = 8, r = 8, center = true);
translate([0, 0, 1]) cylinder(h = 7, r = 6, center = true);
translate([0, 0, -2]) cylinder(h = 15, r1 = 0, r2 = 16);
}
cube([5.5, 5.5, 6], center = true);
if(base_type == "box") {
difference() {
... | glb/cad_44d1d4a18a03.glb |
Create a clamp with a pinion and ball socket. Start by creating a main ring with a height of 8mm, an outer radius of 15mm, and a wall thickness of 5mm. Cut a gap into this ring to allow it to clamp.
Attached to the ring, create a screw clamp mechanism. This consists of a mounting plate with a thickness of 3mm and a le... | use <flexitubeLibrary.scad>
$fn=256;
graphic_fudge = 3;
pole_skew = 0;
joint_sphere_radius = 7;
joint_wall_thickness = 1;
joint_sphere_height = 0.7;
insert_gap = 0.3;
neck = 0.3;
clamp_height = 8;
clamp_radius = 15;
clamp_thickness = 5;
clamp_plate_tab_thickness = 3;
clamp_plate_tab_length = 10;
bracket_thicknes... | glb/cad_3a6a29ac1ee4.glb |
Create a Brutstruder Geared Stepper Mount as a flat plate with a thickness of 7mm. The main body is a rectangular block measuring 87mm by 48mm.
At the center of the plate, create a circular hole for a bearing with a radius of 8.55mm and a height of 7.05mm. Around this central hole, remove material to create a recesse... | bUsing608Bearing = 0;
bUpperSupportLayer = 0;
bRaftCurlingSupports = 1;
BrutScrewRadius = 1.6;
StepperScrewRadius = 1.9;
StepperGearRadius = 11.9;
Bearing608Radius = 11.1;
Bearing606Radius = 8.55;
bShowStepper = 0;
bShowBrut = 0;
bShowBigGear = 0;
bShowSmallGear = 0;
module Nema17()
{
union()
{
difference()
{
... | glb/cad_b439043c7e4e.glb |
Create a hanging spool holder designed to support a spool with a width of 76.2mm and a center hole diameter of 31.75mm.
First, construct the axle by creating a cylinder with a diameter of 31.75mm and a length of 76.2mm. To this cylinder, add a tapered "tooth" section extending from one end; this section should be a c... | spool_width = 1.02*INCH(3);
spool_diameter = INCH(8);
spool_hole_diameter = INCH(1.25);
$fn = 100;
rotate([-90,0,0]) spoolhook();
module spool(spool) {
rotate([0,90,0]) difference () {
cylinder(d=spool_diameter, h=spool_width);
cylinder(d=spool_hole_diameter, h=spool_width);
};
};
module spoolhook(
underhang... | glb/cad_b8dd5ad1b1db.glb |
Create a hanging spool holder consisting of a horizontal axle and a vertical support arm.
First, create the axle by forming a cylinder with a diameter of 31.75mm and a length of 76.2mm. At one end of this cylinder, add a tapered "tooth" section that extends 31.75mm outward, narrowing from the 31.75mm diameter down to... | $fn = 100;
spool_width = 1.02*INCH(3);
spool_diameter = INCH(8);
spool_hole_diameter = INCH(1.25);
rotate([-90,0,0]) spoolhook();
module spool(spool) {
rotate([0,90,0]) difference () {
cylinder(d=spool_diameter, h=spool_width);
cylinder(d=spool_hole_diameter, h=spool_width);
};
};
module spoolhook(
underhang... | glb/cad_a2348a7e5a2d.glb |
Create a flat-ended threaded rod with a total height of 12mm and an outer diameter of 10mm. The rod should feature a helical thread with a pitch of 1.5mm. The thread profile is defined by a constant slope, creating a series of stacked, interlocking circular ridges. Ensure the top and bottom faces of the cylinder are pe... | module s_thread(diameter, slope, height) {
if($fn) {mypolygon(diameter, slope, $fn, height);}
else {mypolygon(diameter, slope, 16, height); }
}
module mypolygon(diameter, slope, polygons, height) {
n = polygons;
d = diameter;
k = slope;
m = round(height/slope)+1;
echo (height/slope-m+1);
... | glb/cad_dd6d29a78d1f.glb |
Create a PCB mount for a GreaseWeazle F7 v3. Start with a base plate that is 76mm wide, 1.5mm thick, and 38.5mm long. On the back edge of this base, add a vertical backstop wall that is 76mm wide, 7mm high, and 1.5mm thick.
Construct two side rails to create a slot for the PCB. Each rail should be 2.8mm wide, 8.5mm hi... | width = 73;
length = 37;
thickness = 2;
groove_depth = 1.3;
wall = 1.5;
raised = 7;
screw_d = 3;
module rail(){
difference(){
cube([wall+groove_depth, raised+wall, length+wall]);
translate([wall, raised-wall, -1]){
cube([groove_depth+1, thickness, length+wall+2]);
}
}
}
cube([width+(2*wall... | glb/cad_2780b10393d3.glb |
Create a Wingnut Converter designed to hold a hexagonal nut and provide wing-like grips for manual turning.
Start by creating a central cylindrical cap with a diameter of 11.15mm and a height of 10.35mm. In the center of this cylinder, create a vertical hole with a diameter of 7.1mm that passes completely through the... | include <libraries/MCAD/shapes.scad>
include <OpenScadTextString.scad>
include <num_to_str.scad>
kerf = 0.5;
h_kerf=1;
wingWidthParam=0.5;
wingnutAdapter(7,16, 6.5+1.1*h_kerf, 4.5, 2.9, .25);
module wingnutAdapter(N,Den,Bolt_hole_diam,H_hex,WingParam,WingParam1)
{
HH = 1.15*H_hex+1.0;
D = 25.4*N/Den + ke... | glb/cad_b1cdbc3cb4c4.glb |
Create a single pentagonal ring for a Friction Welded Dodecahedron. Start by constructing a regular pentagonal prism with a height of 3mm and a circumradius of 25mm. From the center of this prism, remove a smaller concentric pentagonal prism with the same 3mm height. The inner pentagon's dimensions should be calculated... | $fn=5;
r=50/2;
t=3;
theta=360/$fn;
dr=t/cos(theta/2);
difference()
{
cylinder(t,r,r);
cylinder(t,r-dr,r-dr);
} | glb/cad_4d2ff4ef54a9.glb |
Create a Coxa and Femur bracket for a hexapod robot designed to fit Feetech FT5330M servos. The main body is a rectangular frame with a total depth of 17mm. The frame's primary dimensions are based on a servo size of 43mm by 22mm.
Construct the main support structure by creating a hull between four cylinders with a d... | $fn=50;
servo_x=43;
servo_y=22;
end_d=6;
servo_base=7;
include <servo_axis.scad>
module servo_feetech() {
z=32;
cube([servo_x,servo_y,z]);
lug_x=55.2;
lug_start=-(lug_x-servo_x)/2;
translate([lug_start, 0, z])
cube([lug_x,servo_y,2.5]);
{
for (x=[-(lug_x-servo_x)/2 + ... | glb/cad_147ca1c064bd.glb |
Create a femur component for a hexapod robot. The main body is a structural bar 80mm long. At both ends of this bar, create a mounting axis for a servo horn. Each axis consists of a central cylinder with a diameter of 20mm and a height of 2mm, integrated into a larger housing.
The overall shape is formed by the hull o... | include <servo_axis.scad>
height=26;
module disc(y_offset, lug_dia=height) {
lug=4.5;
lug_r=1;
servo_h=49;
translate([lug_r/2, y_offset, 0])
rotate([0,90,0])
hull() {
translate([0,0,lug-lug_r])
rotate_extrude(convexity = 10)
translate([... | glb/cad_248bca450d82.glb |
Create a Pentagonal Hook Piece by starting with a regular pentagonal prism. At each of the five vertices of the pentagon, attach a hinge assembly. Each hinge consists of a vertical stack of five small, disc-like segments. Each segment is formed by a cylinder with a radius of 5mm and a height of 2.5mm, but with a smalle... | module nub(h=2,k=5,r=10,r1=5,l=1.2)
difference() {
union() {
cylinder(k,r1,0,$fn=30);
translate([0,0,-h]) {
cylinder(r=r,h=h,$fn=30);
translate([0,-r,0]) cube([r+l,2*r,h]);
translate([-r,0,0]) cube([r,r,h]);
}
}
translate([0,0,-h]) cylinder(k,r1,0,$fn=30);
}
module rack(n=5,space=4,clear=0... | glb/cad_ea2f38c6a4ed.glb |
Create an editable door hanger hook with a height of 7mm. Start by constructing the main body as a hollow cylinder with an outer radius of 7mm and an inner radius of 5mm, both 7mm tall. Cut a rectangular notch out of this cylinder to create an opening, using a cube 15mm wide, 10mm deep, and 9mm tall, centered to allow ... | ancho=7;
radio=5;
largo=6;
sop_largo=6;
sop_grosor=2;
ang_largo=6;
ang_grosor=2;
difference(){
difference(){
translate([2,0,0])
cylinder(r=radio+2,h=ancho,$fn=50);
translate([2,0,-1])
cylinder(r=radio,h=ancho+2,$fn=50);
}
translate([-radio-1,0,-1])
cube([radio*3,radio*2,ancho+2]);
}
translate([-rad... | glb/cad_5fceb6c039dd.glb |
Create a Hard Case Label as a thin, trapezoidal plate. The main body is a prism with a top width of 120.9mm, a bottom width of 118.6mm, a height of 24.6mm, and a thickness of 3.3mm.
On the top face of the plate, center two lines of embossed text. The top line should read "CASE NUMBER 5" and the bottom line should read... | case_number = 5;
use_custom_label_dimensions = "false";
custom_top_width = 118.8;
custom_bottom_width = 116.8;
custom_height = 25;
custom_thickness = 3.1;
top_string = "CASE NUMBER 5";
bottom_string = "APACHE 3800 / 4800";
module __Customizer_Limit__ () {}
font_type = "Liberation Mono:Bold";
module __Customize... | glb/cad_f430ea4beda0.glb |
Create a polygonal hole test object by starting with a rectangular base measuring 100mm in length, 27mm in width, and 3mm in height. Remove two parallel rows of ten polygonal holes each, with each hole having a height of 5mm to ensure they pass completely through the base.
For each hole, the number of sides is determ... | module polyhole(h, d) {
n = max(round(2 * d),3);
rotate([0,0,180])
cylinder(h = h, r = (d / 2) / cos (180 / n), $fn = n);
}
difference() {
cube(size = [100,27,3]);
union() {
for(i = [1:10]) {
translate([(i * i + i)/2 + 3 * i , 8,-1])
polyhole(h = 5, d = i);
... | glb/cad_3cd85af53f48.glb |
Create an insulin pen and needles holder as a rectangular block with rounded edges. The main body should have a base of 44mm by 22mm and a height of 100mm. On the top surface, center a vertical cylindrical hole with a diameter of 17mm that extends through the entire height of the block, starting 2mm from the base. Besi... | difference() {
minkowski(){
cube(size = [43,22,100]);
sphere(1);
}
translate([11,11,2])
cylinder(h=120, d=17,$fn=90);
translate([24,2,2])
cube(size = [11.5,18,120]);
translate([40,11,2])
cylinder(h=120, d=20,$fn=3);
} | glb/cad_5f2fb2e74569.glb |
Create a Garmin Forerunner 910xt Bicycle Mount designed to attach a watch to a bicycle stem.
Start with a main body that is 50mm wide and 47mm long. The top section is a rectangular block 10mm thick. Carve out a central watch cavity 40mm wide and 50mm long, with a depth of 10mm. Add side and front/back cutouts to the... | use <utils/build_plate.scad>
stem_diameter = 36;
binder_cutout_height = 2.5;
binder_cutout_width = 7;
orientation = 1.0;
build_plate_selector = 0;
build_plate_manual_x = 100;
build_plate_manual_y = 100;
width = 50;
epsilon = 0.01;
big = 100;
stem_pos = 38 - (18-stem_diameter/2);
module shape_z() {
intersectio... | glb/cad_75cd0e2a9f4d.glb |
Create an Ender 3 Pro Tool Holder consisting of a main rectangular plate measuring 200mm in length, 50mm in width, and 15mm in thickness. On the underside, integrate a mounting rail designed for a 2020 aluminum extrusion with a profile that follows a specific polygon path: starting at 0,0, moving to 0,5, then 6.5,5, 6.... | length=200;
rotate([-90,90,0])
linear_extrude(length,convexity=10)
offset(r=.3)
polygon([[0,0],[0,5],[6.5,5],[6.5,7.3],[2.55,7.3],[6,11.3],[10.7,11.3],[14.2,7.3],[10.25,7.3],[10.25,5],[16.75,5],[16.75,0]]);
module microSD (xcoord=5,ycoord=5,zcoord=-11) {
translate([xcoord,ycoord,zcoord])
rotate([0,0,90])
cube([11,1,11... | glb/cad_169d22ce2171.glb |
Create a ModelMicrocontrollerStand designed to hold a circuit board within a clamshell bracket. Start with a main rectangular base measuring 76.2mm by 101.6mm with a height of 3.175mm. Round the four corners of this base using cylinders with a radius of 3.5mm and a height of 3.175mm.
Within this base, create several r... | module screwhole()
{
union()
{
translate(v=[0, 0, 3.2])
cylinder(h=6.35, r=2.125, center=true, $fn=12);
translate(v=[0, 0, 1.6])
cylinder(h=3.35, r1=4, r2=0.65, center=true, $fn=12);
}
};
module layer1()
{
translate(v=[38.1, 7, 0.5])
cube(size=[10, 4, 1], center=true);
translate(v=[45, 89.9, 0.75])
... | glb/cad_2092f19fb8bc.glb |
Create a headphone hook designed to clamp onto a surface. Start with a horizontal base plate that is 43mm long, 15mm wide, and 2.5mm thick. At one end of this plate, add a vertical support section that is 3.5mm wide, 15mm deep, and 50mm high, extending downwards to create an L-shape.
To form the clamping mechanism, c... | a=50;
b=24;
l=43;
ht=3.5;
vt=2.5;
w=15;
$fa=6;
rotate([90,0,0])
union() {
union() {
cube([l,w,vt]);
translate([l-ht,0,-a]) cube([ht,w,a]);
}
translate([0,w/2,+vt-0.5]) rotate([0,90,0]) cylinder(l,2,2);
union(){
translate([0,0,-a-vt]) cube([l,w,vt]);
translate([0,w/2,-a-vt+0.5]) rotate([... | glb/cad_24315fc9b81a.glb |
Create a Makerbot-style mechanical endstop carrier. The main body is a rectangular block 28.6mm wide, 4mm thick, and 16.6mm high, positioned from X -8.3 to 20.3, Y 4, and Z 40 to 56.6.
Add a top section consisting of a hull connecting two cylinders of radius 4.25mm and height 4mm, centered at [5, 4, 60.35] and [15, 4... | $fn = 32;
base_thickness = 3;
hole_distance = 9.2;
module p3steel_horiz_mount() {
difference() {
translate([24,4,-19.5]) cube([base_thickness,21,21]);
translate([20,14.5,-1.5-hole_distance]) rotate([0,90,0]) cylinder(h=10,r=3.4/2);
}
translate([27,4,-1.5]) cube([base_thickness+0.5,21,3]);
translate([... | glb/cad_107384eab725.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.