Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a computer briefcase hinge component. Start by forming a rectangular main body that is 5.7mm thick, 40mm wide, and 15mm high. Attach a cylinder to the center of this body; the cylinder must have a radius of 4mm and a height of 17mm, oriented so its axis runs perpendicular to the body's width. To finish the part,... | translate([10,-8.7,4]){
rotate([0,-90,-90]){
difference(){
union(){
translate([-4,0,3.5])
cube([5.7,40,15]);
translate([-0,11.5,4])
rotate([-90,0,0])
cylinder(r=8/2, h=17, $fn=70);
}
... | glb/cad_67f11aba43ef.glb |
Create a computer tool briefcase holder by starting with a rectangular base that is 210mm long, 10mm wide, and 5mm high. At each far end of this base, integrate a cylinder with a radius of 5mm and a height of 5mm, centered on the base's width. Along the center length of the base, create a series of 50 evenly spaced hol... | difference(){
translate([50,0,3])
rotate([90,0,90])
cylinder(r=10/2,h=110,$fn=10);
translate([0,-150,-10])
cube([300,300,10]);
for (a=[1:50]){
translate([a*10-5,0,-1])
cylinder(r=4,h=55,$fn=6);
}
}
difference(){
union(){
hull(){
tr... | glb/cad_87edb3193c38.glb |
Create a computer tool briefcase hinge mount. Start with a central rectangular block measuring 25mm in width, 3mm in height, and 40mm in depth. At each end of this block, attach a cylinder with a radius of 4mm and a height of 40mm. To these cylinders, add two rectangular supports, each measuring 10mm by 13mm by 5mm; po... | rotate([-90,0,0]){
difference(){
union(){
translate([5,-13,0])
cube([10,13,5]);
translate([5,-13,35])
cube([10,13,5]);
translate([0,-4,0])
cylinder(r=8/2, h=40, $fn=70);
difference(){
translate([... | glb/cad_836e40f7b35a.glb |
Create a computer briefcase adapter consisting of a flat rectangular base and two hinge components. Start with a rectangular plate measuring 182mm by 149mm with a thickness of 1.2mm. At the center of one of the 182mm edges, create a circular cutout with a radius of 8.5mm and a depth of 20mm. Along the same edge, remove... | lado1=182;
lado2=149;
margenBisagra=10;
difference(){
union(){
difference(){
translate([0,3,0])
cube([lado1,lado2-3,1.2]);
translate([lado1/2,lado2-20,-1])
cylinder(r=17/2,h=20,$fn=80);
}
difference(){
translate([5,15,0])
... | glb/cad_39ba1dc4c411.glb |
Create a nano octacopter frame centered around a central hub. Start with a main central cylinder 25mm in diameter and 2.5mm high. From this hub, extend eight arms spaced every 45 degrees. Each arm consists of a rectangular section 40mm long, 3.3mm wide, and 2.5mm thick, centered on the hub. At the end of each arm, posi... | difference(){
union(){
cylinder(2.5,25,25);
for(i=[0:7]){
rotate([0,0,45*i]){
translate([27,0,0]){cylinder(2.5,5,5,$fn=3);}
translate([35,0,1.25]){cube([40,3.3,2.5],true);}
translate([58.5,0,0]){
difference(){
cylind... | glb/cad_db20bb554952.glb |
Create a Titan and BLTouch mount for a 3D printer carriage. Start with a main carriage holder base, a rectangular block measuring 43mm by 49.5mm with a thickness of 5mm. In this base, create four vertical holes: two at the top and two at the bottom. Each pair consists of a small 1.5mm radius hole and a larger 3.3mm rad... | $fn=40;
carriage_holder();
motortitan_holder();
translate([-13.5,0,52]) bltouch_holder();
holderwrap();
module carriage_holder(){
difference(){
translate([-21.5,9,0]) cube([43, 49.5, 5]);
translate([12.5,47,-4]) cylinder(15, 1.5,1.5);
translate([12.5,47,-12]) cylinder(15, 3.3,3.3, $fn=6);
translate(... | glb/cad_d8e60d072fdb.glb |
Create a Titan and BLTouch mount compatible with Greg's carriage. Start by constructing the x-carriage base using two horizontal bearing holders: one positioned at [-16.5, 2, 0] and another at [-16.5, 47, 0], both rotated 90 degrees. Connect these with a hull consisting of a 58x1x13.5mm block and a 58x9x18mm block, and... | E2Belt=2.4;
DisRB=11;
Bf=9.5;
Lex=22;
x_rod_distance = 45;
use <bearing_xa.scad>
module x_carriage_base() {
translate([-33/2,+2,0]) rotate([0,0,90]) horizontal_bearing_base(1);
translate([-33/2,x_rod_distance+2,0]) rotate([0,0,90]) horizontal_bearing_base(2);
hull() {
translate([-45.5,36,0]) cube([58,1,13.5... | glb/cad_6f3fc7190458.glb |
Create a Titan and BLTouch mount for a 3D printer carriage. Start with a main carriage holder base, a rectangular block measuring 43mm by 49mm with a thickness of 5mm, positioned from x=-21.5 and y=9. In this base, create four vertical holes: two at x=12.5, y=47 with diameters of 3mm and 3.3mm (the latter being hexagon... | $fn=40;
carriage_holder();
motortitan_holder();
translate([-13.5,0,52]) bltouch_holder();
module carriage_holder(){
difference(){
translate([-21.5,9,0]) cube([43, 49, 5]);
translate([12.5,47,-4]) cylinder(15, 1.5,1.5);
translate([12.5,47,-12]) cylinder(15, 3.3,3.3, $fn=6);
translate([-12.5,47,-4]) c... | glb/cad_18d176cb8d10.glb |
Create a Titan and BLTouch mount consisting of three primary geometric components. First, create a carriage holder as a rectangular block measuring 43mm x 48mm x 5mm, positioned at [-21.5, 10, 0]. Remove four vertical holes from this block: two at [12.5, 47] and two at [11.5, 24]. Each hole pair consists of a small 1.5... | $fn=40;
carriage_holder();
motortitan_holder();
translate([-13.5,0,52]) bltouch_holder();
module carriage_holder(){
difference(){
translate([-21.5,10,0]) cube([43, 48, 5]);
translate([12.5,47,-4]) cylinder(15, 1.5,1.5);
translate([12.5,47,-12]) cylinder(15, 3.3,3.3, $fn=6);
translate([-12.5,47,-4]) ... | glb/cad_229960b20867.glb |
Create a modular camera mount plate for a picavet system. Start with a main rectangular base plate measuring 40mm wide by 75mm long with a thickness of 2mm. Round the corners of this plate using a small radius of approximately 0.67mm.
On the top surface of the base plate, centered along the width and positioned 38mm f... | width = 40;
height = 18;
length = 75;
bolt_diameter = 25.4 * 1/4;
thickness = 2;
mount_offset = 38;
mount_width = bolt_diameter + 10;
mount_thickness=3;
mount_base_height=10;
difference() {
union() {
translate([thickness/3, thickness/3, thickness/3])
minkowski() {
sphere(r=thickness/3);
differe... | glb/cad_ddcf7afa42cd.glb |
Create a modular camera mount consisting of three distinct geometric components.
First, design a camera mount plate. This is a vertical block 3mm thick, 16.4mm wide, and 10mm high. At the top center of this block, create a horizontal cylindrical hole with a diameter of 6.35mm that passes completely through the 3mm th... | bolt_diameter = 25.4 * 1/4;
width = 60;
thickness = 2;
mount_width = bolt_diameter + 10;
mount_thickness=3;
mount_base_height=10;
stick_thickness = 3.84;
stick_width = 24.18;
tie_width = 4.75;
tie_thickness = 1.44;
post_radius = 1;
first = width/2-stick_width/2-post_radius;
second = width/2+stick_width/2+post_radi... | glb/cad_a7ec53fee55f.glb |
Create a modular camera mount plate by starting with an octagonal base that is 60mm wide and 2mm thick. The octagon should be formed by a regular 8-sided polygon with slightly rounded edges.
On the top surface of this plate, place four cylindrical posts to hold craft sticks. Position these posts in a square pattern c... | bolt_diameter = 25.4 * 1/4;
width = 60;
thickness = 2;
mount_width = bolt_diameter + 10;
mount_thickness=3;
stick_thickness = 3.84;
stick_width = 24.18;
tie_width = 4.75;
tie_thickness = 1.44;
post_radius = 1;
first = width/2-stick_width/2-post_radius;
second = width/2+stick_width/2+post_radius;
union() {
minko... | glb/cad_57f5fd8ecdf3.glb |
Create a ResMed AirFit P10 Nasal Pillow travel case consisting of a divided box and a matching lid.
For the box, create a rounded rectangular base with a total width of 175.4mm, length of 71.1mm, and height of 45mm. The walls and internal dividers should be 1.8mm thick. The floor of the box should be 3.6mm thick. Car... | generateLid=1;
generateBox=1;
generateText=1;
lidLabel="ResMed AirFit P10";
itemHeight=45;
itemWidth=56;
itemLength=32.7;
lidWidthTolerence=0.4;
lidLengthTolerence=0.4;
rows=2;
columns=3;
lidWallWidth=1.8;
wallWidth=1.8;
dividerWidth=1.8;
boxHeightPercentage=1.0;
dividerHeightPercentage=0.75;
circleRes=... | glb/cad_e39a919b2b56.glb |
Create a hairstyling perm roller tool consisting of a central rod, a cap, and a ring. Start with a main rod that is 58mm long with a diameter of 5.8mm. At the bottom end of this rod, add a hemispherical cap with a diameter of 5.8mm. At the top end of the rod, create a closure cap. This closure cap is composed of a cyli... | Hoehe=14.4;
Durchmesser_aussen=9.22;
Durchmesser_innen=7.05;
Dicke=Durchmesser_aussen-Durchmesser_innen;
Steg=2.45;
Kuppe=4.5;
$fn=50;
Laenge=58;
Durchmesser=5.8;
Oben_Durchmesser=8.7;
Spalt=0.5;
module Kopf () {
cylinder (r=Durchmesser_aussen/2, h=Hoehe-Kuppe);
translate ([0,0,Hoehe-Kuppe]) sphere (r=Durchmesser_aus... | glb/cad_2ce267c76c86.glb |
Create a MiltyKarriage carriage for a 15mm wide beam and a 6.35mm diameter rod. The main body is a block 30mm wide, 33.175mm long, and 16mm high.
Center a 3.4mm wide slot through the length of the block to accommodate the beam. At the front and back ends of the block, create circular cutouts with a radius of 6.35mm t... | use <utils/build_plate.scad>
$fa = 1 + 0;
$fs = 0.01 + 0;
beam_width = 15;
slot_width = 3.4;
rod_diameter = 6.35;
bolt_diameter = 3;
nut_height = 2.4;
nut_across_flats=5.5;
fudge_factor=0.001;
build_plate_selector = 3;
build_plate_manual_x = 200;
build_plate_manual_y = 200;
module RotaryCluster(radius=7.5, ... | glb/cad_c020f709c047.glb |
Create a rectangular storage bin with a total height of 40.9mm. The outer dimensions are 158.4mm in width (4 units of 40mm minus a 0.6mm slop) and 54.4mm in depth (1 unit of 55mm minus a 0.6mm slop). The outer walls and the floor have a thickness of 1.35mm. All outer corners of the bin should be rounded with a radius o... | gLegCircleSize = 18;
gGridX = 40;
gGridY = 55;
gTopSlop = 0.6;
gExtWidth = 0.45;
gHeight=40.9;
gPegHole = 2.5;
gPegHead = 6;
gPegCircle = 18;
gPegDepth = 8;
module RoundRect(w,h,r=1) {
hull()
for(x_scale=[1,-1]) for(y_scale=[1,-1])
scale([x_scale,y_scale])
translate([w/2-r,h/2-r]) circle(r=r);
}
m... | glb/cad_872c41e99bd0.glb |
Create a stereographic projection model by intersecting a spherical shell with a 2D grid. Start with an outer sphere of radius 68.33mm centered at (0, 0, 68.33). Hollow this sphere by removing a concentric inner sphere with a radius of 55.28mm. Additionally, remove a vertical cylinder centered on the Z-axis with a radi... | rows = 8;
line_width = 15;
block_width = 50;
shadow = "YES";
fn = 48;
module stereographic_projection(side_leng_shadow, fn) {
$fn = fn;
half_side_length = side_leng_shadow / 2;
outer_sphere_r = half_side_length / 3;
a = atan(sqrt(2) * half_side_length / (2 * outer_sphere_r));
inner_sphere_r = oute... | glb/cad_f7ab69419342.glb |
Create an ammo storage box and lid consisting of two main parts.
First, construct the main box. The outer dimensions are 42.4mm wide, 42.4mm long, and 27mm high. The box has rounded corners with a radius of 3.45mm. The walls are 2mm thick. The top of the box is open, but it features a 5mm high lip around the perimete... | grid_x = 4;
grid_y = 4;
bullet_diameter = 6.9;
bullet_lip = 6.9;
bullet_length = 25;
bullet_push = 2;
bullet_lip_lift = 1;
base = 2;
box_wall = 2;
box_lip_height = 5;
box_lid_height = 2;
box_width = bullet_lip * grid_x + bullet_push * (grid_x) + box_wall*2;
box_length = bullet_lip * grid_y + bullet_push * (g... | glb/cad_d926acdd9a60.glb |
Create an A4 lamp shade consisting of a thin, hollowed-out cylindrical ring with a height of 10mm. The outer diameter of the ring is approximately 45.5mm (calculated from a circumference of 287mm). The wall thickness of this outer ring is 1.2mm. In the center of the model, create a smaller concentric cylindrical cutout... | circumference = 297 - 10;
thickness = 1.2;
h = 10;
inner_r = 7;
spokes = 2;
$fn=100;
r = circumference / 2 / 3.1415926;
angle = 360 / spokes;
module slice(l, a, b) {
difference() {
union() {
translate([0, thickness/2, 0]) cube([l,l,12]);
rotate([0, 0, angle/2]) translate([0, thickness/2, ... | glb/cad_4476cb777848.glb |
Create an ownCloud fridge magnet by constructing a 3D cloud shape. Start by extruding a cloud-shaped polygon to a height of 10mm. The cloud should be a rounded, organic form composed of several overlapping circular arcs, resulting in a total width of approximately 340mm and a height of approximately 180mm based on the ... | fudge = 0.1;
module poly_path4152(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-15.736790,-93.834875],[-11.687821,-93.663359],[-7.734972,-93.158021],[-3.891556,-92.332878],[-0.170882,-91.201947],[3.413738,-89.779248],[6.848994,-88.078796],[10.121574,-86.114609],[13.2181... | glb/cad_f34a179d34ee.glb |
Create an ownCloud fridge magnet by extruding a cloud-shaped profile to a height of 10mm. The cloud geometry is a stylized, rounded organic shape.
Near the bottom of the model, create a cylindrical hole with a diameter of 10mm and a depth of 2mm to accommodate a neodymium disc magnet. Position this hole centrally wit... | fudge = 0.1;
module poly_path18(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-4.137529,-0.435400],[-4.811378,-0.299013],[-5.362247,0.072701],[-5.733961,0.623570],[-5.870349,1.297420],[-5.870349,2.906760],[-5.424277,2.906760],[-5.424277,1.297420],[-5.323000,0.797032],[-5... | glb/cad_f147445d04ca.glb |
Create a Modified SSD Bracket consisting of a rectangular base plate and mounting supports. The base plate is 114mm long, 15mm high, and 1.5mm thick. At the bottom edge of the plate, create a longitudinal cutout 2mm wide that runs the full length of the 114mm side.
Position two cylindrical mounting supports on the top... | translate([0,-114/2,0])rotate([0,90,0])union() {
translate([-5,00,0])cube([5,114,2]);
difference() {
union() {
translate([-1.5,00,0])cube([1.5,114,15]);
translate([0,((114-102)/2),5.5])union() {
translate([0,42,0])Support();
translate([0,102,0])Support();
}
}
translate([0,(114-77.1)/2,4])union() {
translate([0,0,3])... | glb/cad_e2f5f31db747.glb |
Create a sensor base for force sensors by starting with a rectangular block measuring 120mm in length, 50mm in width, and 5mm in thickness.
At each of the four corners, 5mm from the edges, create a vertical cylindrical hole with a diameter of 8mm that penetrates 3mm deep into the block.
In the center of the block, ... | use <screws_10-32.scad>;
length=120;
height=50;
depth = 5;
screwsize=1/4;
module forcesensor() {
color("red") cylinder(r=15.88/2,h=15.88, $fn=6);
}
spacing = 15;
betweensensors = spacing*3;
firstx = (120 - betweensensors)/2;
difference() {
cube([length,height,depth]);
translate([firstx+3*spacing,height/2,screw... | glb/cad_ca81ab8abe76.glb |
Create a sensor base for force sensors by starting with a rectangular block measuring 120mm in length, 50mm in width, and 5mm in thickness.
Remove four #10-32 screw holes from the top surface. Place the first hole at x=42mm, y=25mm. Place the second hole 16mm further along the x-axis at x=58mm, y=33mm. Place the thir... | use <screws_10-32.scad>;
length=120;
height=50;
depth = 5;
screwsize=1/4;
module forcesensor() {
color("red") cylinder(r=15.88/2,h=15.88, $fn=6);
}
spacing = 16;
betweensensors = spacing*3;
firstx = (120 - betweensensors)/2;
difference() {
cube([length,height,depth]);
translate([firstx,height/2,screwsize*25.4]... | glb/cad_ea02477964f1.glb |
Create four separate screw-shaped components aligned in a row, each consisting of a cylindrical shaft topped with a wider, shallow cylindrical head. For each component, the shaft must have a diameter of 4.97mm. The head of each screw must have a diameter of 10.46mm and a height of 3.23mm. The total height of each compo... | translate([0,0,0]) {screw1032(1/4);}
translate([20,0,0]) {screw1032(5/16);}
translate([40,0,0]) {screw1032(3/8);}
translate([60,0,0]) {screw1032(1/2);}
module screw1032(height_in_inches) {
height = height_in_inches * 25.4;
headheight = 0.127 * 25.4;
mainheight = height-headheight;
diameter = 4.97;
headdiameter = 0.41... | glb/cad_2d3f9def07d7.glb |
Create an adjustable wall frame hook consisting of two separate components. First, create a wall-mount base that is 15mm wide, 45mm high, and 1mm thick. On this base, add a central vertical protrusion that is 4mm wide and 5mm thick, extending from the bottom up to 37mm of the height. At the top of this protrusion, crea... | h=45;
l=15;
$fn=50;
union(){
cube ([l,h,1]);
difference (){
hull(){
translate([l/2,h-5,5]) cylinder(h=1, r1=0, r2=2, center=false);
union(){
translate([l/2-2,0,1]) cube ([4,h-8,5]);
translate([l/2,h-8,1]) cylinder(h=4, r=2, $fn=50, center=false... | glb/cad_ae32b4a73a56.glb |
Create a pan lid by constructing a series of stacked concentric cylinders. Start with a base cylinder 2mm high with a radius of 23mm. On top of this, center a second cylinder with a radius of 20mm and a height of 20mm. Add a third cylinder on top of the second one, 8mm high with a radius of 23mm, which extends the tota... | difference() {
union(){
cylinder(20,r=40/2,$fn=60);
translate([0,0,2]) cylinder(8,46/2,40/2,$fn=60);
cylinder(2,r=46/2,$fn=60);
}
translate([0,0,-1]) cylinder(10,r=9/2,$fa=60);
translate([0,0,9.5]) cylinder(11,r=5/2,$fn=15);
translate([0,0,18]) difference(){
cylinder(3,r=41/2,$fn=60);
translate([0,0,-1])cylinder... | glb/cad_505f1d2da222.glb |
Create a pan lid by starting with a sphere that has a radius of 80mm. To flatten the bottom and create the lid shape, position a cube with side lengths of 160mm centered at the origin and shift it upward along the Z-axis by 3.4mm. Remove the volume of this cube from the sphere, leaving a spherical cap with a flat base.... | mirror ([0,0,1]) translate([0,0,76.6]) difference(){
sphere(80,$fn=100);
translate([0,0,3.4])cube(160,true);} | glb/cad_0490d72a4afc.glb |
Create a replacement tip for a ceramic curler consisting of several concentric cylindrical shells and a rounded cap. Start by creating a base shank, which is a hollow cylinder with an outer diameter of 10mm, a wall thickness of 3mm, and a height of 7mm. Directly above this, add a second hollow cylinder with an outer di... | small = 0.01;
outerHeight = 15.0;
outerOD = 19.0;
outerThick = 2.0;
outerZ = 5.0;
innerHeight = outerHeight;
innerOD = 10.0;
innerThick = 2.0;
shankHeight = 7.0;
shankThick = 3.0;
shankOD = innerOD;
spokeThick = 1.0;
spokeHeight = outerHeight;
spokeZ ... | glb/cad_a8d279c19b08.glb |
Create a Photo Picture Frame with a central rectangular opening of 150mm by 100mm. The frame should have a border width of 20mm extending from all sides of the opening. The base thickness of the frame is 4mm.
The top surface of the border is not flat; it slopes inward from the outer edge toward the inner opening at a ... | pictureXSize = 150;
pictureYSize = 100;
frameBorderHeight = 20;
frameThikness = 4;
frameAngle = 15;
anchorSize = 5;
anchorDept = frameThikness;
frameBorderDiagonal = frameBorderHeight * cos (45);
x0 = pictureXSize+frameBorderHeight*2;
y0 = pictureYSize+frameBorderHeight*2;
z0 = frameThikness;
x1 = frameBorderHeigh... | glb/cad_9e315610abee.glb |
Create a stand for a photo frame. Start by creating a rectangular block that is 8mm wide, 8mm deep, and 50mm tall. At the top of this block, center a cylindrical cutout with a radius of 2.5mm and a height of 5mm. Within this cylindrical area, remove a smaller conical section and a specific polyhedral volume to create a... | anshorSize = 5;
standThikness = 8;
standLenght = 50;
ch = anshorSize-1;
cr = anshorSize / 2;
cr2 = cr;
cr1 = cr2+1;
ch2 = cr2;
ch1 = cr1;
chamfer = 0.5;
points =[
[chamfer*2, cr+10, ch],
[-chamfer*2, cr+10, ch],
[-chamfer*2, -cr-10, ch],
[chamfer*2, -cr-10, ch],
[0, cr+10, 0],
[0,-cr-10, ... | glb/cad_8823e58fa483.glb |
Create an anchor hole adapter consisting of a cylindrical base and a specialized upper housing. Start with a base cylinder that has a radius of 5.9mm and a height of 1.4mm. Centered on top of this base, add a second cylinder with a radius of 2.4mm and a height of 3.8mm.
Within this upper cylinder, create a vertical v... | anchorSize = 4.8;
anchorDept = 3.8;
q = 100;
ropeThick = 1.4;
ch = anchorDept;
cr = anchorSize / 2;
cr2 = cr;
cr1 = cr2+1;
ch2 = cr2;
ch1 = cr1;
chamfer = 0.5;
points =[
[chamfer*2, cr+10, ch],
[-chamfer*2, cr+10, ch],
[-chamfer*2, -cr-10, ch],
[chamfer*2, -cr-10, ch],
[0, cr+10, 0],
[0,... | glb/cad_ebb94a63de1c.glb |
Create a Photo Picture Frame designed to hold a 100mm by 150mm image. The frame consists of a rectangular border with a thickness of 1.4mm. The outer dimensions of the frame are 190mm by 240mm, creating a border around the visible image area.
At the center of the two shorter outer edges, add a hanging adapter. This ad... | anchorSize = 4.8;
anchorDept = 3.8;
frameLenght = 190;
q = 100;
ropeThick = 1.4;
hal = frameLenght / 2;
ch = anchorDept;
cr = anchorSize / 2;
cr2 = cr;
cr1 = cr2+1;
ch2 = cr2;
ch1 = cr1;
chamfer = 0.5;
points =[
[chamfer*2, cr+10, ch],
[-chamfer*2, cr+10, ch],
[-chamfer*2, -cr-10, ch],
[chamfer... | glb/cad_a73f56f172be.glb |
Create a photo picture frame with a visible interior opening of 100mm by 100mm. The overall outer dimensions of the frame should be 104mm by 104mm, creating a border width of 2mm on all sides. The frame consists of two stacked layers: a base layer with a thickness of 1mm and a second upper layer with a thickness of 1mm... | pictureXSize = 100;
pictureYSize = 100;
x0 = pictureXSize+4;
y0 = pictureYSize+4;
z0 = 1;
x1 = pictureXSize-1;
y1 = pictureYSize-1;
z1 = 1;
x2 = pictureXSize-21;
y2 = pictureYSize-21;
module givemecube(x, y, z, center=true){
p = [
[ 0, 0, 0 ],
[ x, 0, 0 ],
[ x, y, 0 ],
[ 0, y, 0 ],
[ 0, 0,... | glb/cad_dffdd148c806.glb |
Create an anchor hole adapter. Start with a main cylinder that has a height of 3.8mm and a radius of 2.4mm.
From this cylinder, remove a conical section starting from a height of 3.1mm (calculated as height minus a 0.7mm chamfer), where the cone tapers from a radius of 3.4mm down to 0. Additionally, remove a second c... | use <../LIB/3d.scad>
anchorSize = 4.8;
anchorDept = 3.8;
q = 100;
ropeThick = 1.4;
ch = anchorDept;
cr = anchorSize / 2;
cr2 = cr;
cr1 = cr2+1;
ch2 = cr2;
ch1 = cr1;
chamfer = 0.7;
points =[
[chamfer*2, cr+10, ch],
[-chamfer*2, cr+10, ch],
[-chamfer*2, -cr-10, ch],
[chamfer*2, -cr-10, ch],
... | glb/cad_36ffdab72fa4.glb |
Create a Mahjong 'South' piece consisting of three stacked components with overall dimensions of 31mm length, 23.5mm width, and a total height composed of a 4.3mm base and a 12.5mm top section.
First, construct the base as a rectangular block (31 x 23.5 x 4.3mm) with rounded corners using a 2.5mm fillet radius. On th... | l_x = 31.0;
w_y = 23.5;
thk_top_z = 1.5;
l_x_tile = 16.5;
w_y_tile = 11.5;
h_top_z = 12.5;
h_base_z = 4.3;
r_fillet = 2.5;
h_spigot_z = 2.0;
dim_png_x = 23.5;
dim_png_y = 17.0;
epsilon = 0.3;
symbol_file = "mahjong_S.png";
... | glb/cad_1a39377ae355.glb |
Create a 49mm espresso basket funnel by constructing a hollowed-out conical shape. Start with a main outer cylinder that has a total height of 20mm and a radius of 30.1mm. From the center of this cylinder, remove a smaller internal cylinder to create a wall thickness of 1.2mm. This internal void should start from the t... | $fn=128;
basketInnerR = 24.7;
basketRimR = 2.2;
rimFraction = 0.75;
r = 24.7;
outerR = r + 2*basketRimR;
funnelHeight = 20;
insideHeight = 4.5;
funnelR = 13;
wallThickness = 1.2;
eps = 0.01;
funnelInnerR = basketInnerR + (1 - rimFraction)*2*basketRimR;
difference(){
cylinder(funnelHeight,outerR+wallThickness,out... | glb/cad_7085ad14be41.glb |
Create a Thorlabs CXY1-based 30mm cage system pinhole mount. Start with a central block 9mm thick. The main body is a square with rounded corners, from which a large central cylinder with a radius of 14.5mm is removed from the top and bottom faces. A smaller concentric hole with a radius of 7mm is removed from the cent... | $fa=.3;
$fs=.3;
cage_pinhole();
module cage_pinhole(h=9){
difference(){
union(){
cage_part(h);
translate([-6,-32,0])cube([12,10,h]);
rotate([0,0,90])translate([-6,-30.5,0])cube([12,10,h]);
translate([-6,24,0])cube([12,11,h]);
rotate([0,0,-90])tra... | glb/cad_589b32b2f027.glb |
Create a tapered hole test block by starting with a centered cube that measures 14.45mm on each side and 4mm in height. Remove a complex central void consisting of three parts to create a tapered opening. First, create a conical section at the bottom with a height of 1mm, tapering from a diameter of 7.65mm at the base ... | $fa=0.3;
$fs=0.3;
hole_diameter=6.45;
x_axis_offest=4;
hole_height=4;
hole_taper=1;
test_hole(diameter=hole_diameter,xoffset=x_axis_offest,height=hole_height,taper=hole_taper);
module test_hole(diameter,xoffset,height,taper)
difference(){
cube([diameter+xoffset,diameter+xoffset,height],center=true);
transl... | glb/cad_d13f74e1eb25.glb |
Create a folding glass consisting of a base and five concentric wall rings, plus a separate cap.
For the base, start with a solid cylinder of 3mm height. Above this, add a cylinder with a diameter of 46mm and a height of 3mm. On top of this second cylinder, create a ring with an inner diameter of 40mm and a height of... | print_glass=1;
print_cap=1;
$fs = 0.3;
$fa = 3;
d_base_ring = 40;
h_ring = 30;
h_base = 3;
h_bottom_part = 3;
ring_thickness = 2;
gap = 3.6;
diff_d1_d2 = 2;
NumberOfWall= 5;
d_protrusion = 0.5;
cap_wall_thinkness = 3;
quality_ring_surf = 100;
layer_thickness = 0.2;
if (print_glass==1){
base();
for (i... | glb/cad_a94d39e5eaca.glb |
Create a Combo Slider Carriage and Belt Tensioner. Start with a base plate 5mm high, defined by a polygon with vertices at [5.6, 12.3], [29.2, 12.3], [29.2, 36.3], [17, 36.3], [17, 24.3], and [5.6, 24.3].
Add a self-locking clamp mechanism to the base. This consists of a block 12mm high with a width of 6.2mm (calcula... | Ht = 5;
Tot_Ht = 12;
M3_Z_Ht = 6;
M3 = 3.6;
M3Head = 6.5;
M3Head_Ht = 3;
M3JamNut = 6.9;
M3Nut = 6.9;
M3Nut_Thk = 4.2;
M3LockNut = 6.9;
M3NutWid = 2.7;
M3_Res = 16;
Dov_Len = 30;
Gap_Tighten_Wid = 2.5;
module SelfLock()
{
Blk_Wid = 9.2 - Gap_Tighten_Wid;
Blk_Wid2 = Blk_Wid / 2;
SL_Ht = Tot_Ht;
Y1 = ... | glb/cad_06bb1385a134.glb |
Create three identical tapered wheel spacers. Each spacer consists of a cylindrical base and a conical top section with a central hole.
Start with a cylindrical base that has an outer diameter of 15mm and a height of 4mm. On top of this base, add a truncated cone (frustum) that tapers from the 15mm base diameter down... | Out_OD = 15;
In_OD = 8;
ID = 5.5;
Low_Ht = 4;
Tot_Ht = 12.35;
OD_Res = 68;
ID_Res = 24;
Qty = 3;
idx = Qty / 3-1;
echo(idx = idx);
module TaperSpacer()
{
difference()
{
union()
{
cylinder(d=Out_OD,h=Low_Ht,$fn=OD_Res);
translate([0,0,Low_Ht])
cylinder(d1=Out_O... | glb/cad_34f1ed7b55c5.glb |
Create a Blank Madlib Cube consisting of a linear array of ten rectangular prisms. Each individual prism must have a width of 17mm, a height of 25.4mm, and a depth of 25.4mm.
The prisms are arranged in a specific sequence of fixed and loose segments. The first two prisms are fixed, followed by one loose prism, then o... | pattern = ["ff","l","f","ll","f"];
size = 25.4;
gap = 2;
topBump = true;
fontSize = .75;
rotate([0,90,0]){
union(){
if(topBump)
translate([0,size/2,size/2])
sphere(3);
makeCubes();
}
}
module makeCubes(step = 0)
{
if(step < len(pattern)-1){
for(i=[0:len(pattern[step])-1]){
trans... | glb/cad_b115bf578a25.glb |
Create a Socket Eye Maker consisting of a cylindrical base and an angled eyelet. Start by creating a main cylindrical socket with a radius of 4mm and a height of 10mm. Bore a hole through the center of this socket with a radius of 2.3mm, extending the hole to a depth of 8mm.
On top of this base, add a tapered transiti... | $fn=30;
RodTolerance = .3;
RodRadius = 2;
RodSocketHeight = 10;
RodDepthPercent = .80;
RodSocketWallThickness = 2;
EyeAngle = 90;
EyeHoleRadius = 2;
EyeWallThickness = 2;
EyeOffsetX = 0;
EyeOffsetZ = 0;
module eye() {
cAngleOffset = ((90 - EyeAngle)* .06)+EyeOffsetZ;
echo("cAngleOffset = ", cAngleOffset)... | glb/cad_b3a6620f79e2.glb |
Create a Micro Quadcopter Frame centered on a coordinate system. Start by constructing two intersecting rectangular prisms, each 100mm long, 4mm wide, and 2mm high, crossing at the center to form an X-shape. Along these arms, add two 4mm diameter cylinders that run the full 100mm length of each arm.
At each of the fou... | size = 100;
motor = 8.5;
armSize = 4;
motorPad = 4;
motorHeight = 5;
motorGap = 0.8;
bedWidth = 21;
bedLength = 40;
bedDepth = 4;
bedPad = 2;
cameraBedLength = 10;
cameraBedAngle = 15;
$fs = 0.01;
module addition() {
translate([0, 0, armSize / 4]) {
cube([size, armSize, ar... | glb/cad_c21a8638c50a.glb |
Create a calibration test model consisting of five parallel rectangular blocks, each measuring 35mm in length, 6mm in width, and 5mm in height. Arrange these blocks side-by-side with a spacing that increases by 0.1mm for each subsequent block.
For each block, create a series of six cylindrical pegs with a height of 1... | $fn = 40;
h1 = 10;
h2 = 5;
translate([-3,-3, 0])
cube([35,6, 5], false);
objects(0);
for(clearance=[0.1:0.1:0.5])
translate([0,clearance * 100, 0])
difference()
{
translate([-3,-3, 0])
cube([35,6, h2], false);
objects(clearance);
translate([28,-1... | glb/cad_7ac83fdebd01.glb |
Create a simple SMD parts tray consisting of a grid of small rectangular buckets. The overall footprint should be 132mm wide by 44mm deep, with a base thickness of 1.5mm. On top of this base, construct a grid of 12 buckets arranged in 6 columns and 2 rows. Each individual bucket unit occupies a total area of 24mm by 24... | $fn = 30;
bucket_height = 2;
bucket_size = 20;
numx = 6;
numy = 2;
frame = 2;
for (i=[0:numx-1]) for (j=[0:numy-1]) {
translate([i*(bucket_size+2*frame),j*(bucket_size+2*frame),0])difference(){
cube([bucket_size+2*frame,bucket_size+2*frame,bucket_height]);
translate([frame,frame,-0.5])cube([bucket... | glb/cad_809e708c6c2b.glb |
Create a magnetic fan and Z-probe holder. Start with a square base measuring 40mm by 40mm with a height of 3mm. In the center of this base, remove a square section of 34mm by 34mm, positioned 3mm from each edge, to create a thin outer frame.
At each of the four corners of the base, create a cylindrical screw hole with... | inn_sq_h = 34;
inn_sq_w = 34;
inn_sq_x = 3;
inn_sq_y = 3;
screw1_offs = [4.5,4];
screw2_offs = [35.5,4];
screw3_offs = [4.5,36];
screw4_offs = [35.5,36];
mag1_offs = [11,4];
mag2_offs = [29,4];
mag3_offs = [11,36];
mag4_offs = [29,36];
mag_diam = 5;
probe_rad = 9.5;
fan_prot_dist = 4;
difference() {
union() {
... | glb/cad_4f27a3a8bf6d.glb |
Create an Anet A8 Magnetic Fan and Z-Probe Holder. Start with a main rectangular base measuring 40mm by 40mm with a thickness of 10mm. In the center of this base, remove a square section measuring 28mm by 28mm, positioned 6mm from the edges, to create a hollow frame.
Add four cylindrical magnet housings to the frame. ... | inn_sq_h = 28;
inn_sq_w = 28;
inn_sq_x = 6;
inn_sq_y = 6;
screw1_offs = [4.5,4];
screw2_offs = [35.5,4];
mag1_offs = [11,4];
mag2_offs = [29,4];
mag3_offs = [11,36];
mag4_offs = [29,36];
mag_diam = 5;
probe_rad = 9.5;
rotate([90,0,0]) union() {
difference() {
union() {
linear_extrude(6) {
... | glb/cad_cce2b0c1ffd2.glb |
Create a rectangular box bottom with an overall width of 80mm and a depth of 51mm. Start by creating a flat base plate that is 1.8mm thick. To form the walls, add four rectangular borders, each 1.8mm thick and 4mm high, positioned along the outer edges of the base. Place two borders along the depth edges, each measurin... | width = 80;
depth = 51;
thickness = 1.8;
borderHeight = 4;
cube(size=[width, depth, thickness], center=true);
translate([0, (depth-thickness)/2, thickness])
cube(size=[width, thickness, borderHeight], center=true);
translate([0, -(depth-thickness)/2, thickness])
cube(size=[width, thickness, borderHeight], cen... | glb/cad_8c890217e66c.glb |
Create a 3D parametric font named "Circular Logic" consisting of uppercase letters, lowercase letters, and numbers. Each character must be constructed using a constant stroke width of 0.9mm, with a character width of 3mm and a height of 5mm. All characters must be monospaced, with a horizontal spacing of 3.3mm (1.1 tim... | w = 3;
h = 5;
s = 0.9;
xs = 1.1;
ys = 1.1;
resolution = 20;
$fn = resolution;
$err = 0.002;
linear_extrude(1)
AllChars(w,h,s,xs,ys,false);
module animated_demo(txt) {
w = osc(2,9,1,0);
h = 12;
s = osc(0.1,4,1,0);
xs = 1.1;
ys = 1.1;
$fn = 64;
echo(w,h,s);
color([0,1,1,1]) title("CIRCULAR","LOG... | glb/cad_1b2fa155323b.glb |
Create a spaghetti dispenser consisting of a main box and a separate cap. For the main box, start with a rectangular base measuring 37mm wide by 74.5mm long with a height of 25mm. Hollow out the center of this base by removing a rectangular volume of 34mm by 71.5mm, leaving a wall thickness of 1.5mm on all sides.
On ... | boxWidth = 34;
boxLength = 71.5;
sideThickness = 1.5;
dispenserLength = boxLength+2*sideThickness;
dispenserWidth = boxWidth+2*sideThickness;
dispenserHeight = 25;
stdDispenseRadius = 11;
topHeight = 20;
topSnapOnHeight = 15;
capHeight = topSnapOnHeight/2;
$fn = 100;
dispenser();
translate([70,30,capHeight]) rotat... | glb/cad_264cb36e48fe.glb |
Create a ring with a gemstone holder. Start by constructing the ring band as a thick washer with an inner radius of 10mm, a width of 5mm, and a height of 1mm. The band's cross-section is a circle with a 0.5mm radius.
On top of the band, center a gemstone holder. This holder consists of two sets of ten-sided prismatic ... | $fn=20;
washer_r_i=10;
washer_width=5;
washer_height=1;
bowl_r_i = 4;
bowl_width=.5;
bowl_height=3.5;
gem_side_length=2.5*(bowl_r_i-bowl_width);
gem_angle = 45;
gem_height=6/5*gem_side_length*4*gem_angle/360;
gem_side_length=2.5*(bowl_r_i-bowl_width);
gem_angle = 45;
gem_height=6/5*gem_side_length*4*gem_angle/360;
... | glb/cad_d0db91cf357f.glb |
Create a Drill Holder consisting of two separate mounting collars. Each collar is a hollow cylinder with a height of 8mm and a wall thickness of 2.5mm. The first collar has an inner diameter of 35mm, and the second has an inner diameter of 20mm.
For each collar, add a rectangular mounting pad extending from the side.... | distance = 25;
diameter_upper = 35;
diameter_bottom = 20;
holder_thickness = 2.5;
holder_height = 8;
pad_width = 30;
pad_thickness = 2;
hole_distance = 20;
hole_diameter = 3.5;
if(diameter_upper)
translate([-30,0,0])
holder(diameter_upper);
if(diameter_bottom)
translate([30,0,0])
holder(diameter_botto... | glb/cad_ea2ff974b72b.glb |
Create a condensate drain for a veranda structure designed to house a check valve. The main body is a rounded, oblong block approximately 35mm in length and 14mm in height.
Start by forming a central core that is 35mm long and 14mm high, with the ends rounded using a 10mm radius. Along the length of this body, carve ... | $fs=1;
$fa=6;
module bizare() {
difference() {
minkowski() {
union() {
rotate([0,90,0])cylinder(r=5,h=1);
translate([0,25,0]) rotate([0,90,0])cylinder(r=5,h=1);
cube([1,25,5]);
}
sphere(r=10);
}
translate([-20,-20,-30]) cube([40,140,30]);
translate([0,-20,0]) cube([40,140,30]);
... | glb/cad_e51dbc9c5520.glb |
Create a condensate drain for a veranda structure consisting of two thin rectangular plates stacked together. First, create a base rectangular plate measuring 32mm in length, 10mm in width, and 0.6mm in height. Directly on top of this, add a second rectangular plate that is 35mm long, 1.5mm wide, and 0.6mm high. Positi... | cube([32,10,0.6]);
translate([-1.5,0,0]) cube([35,1.5,0.6]); | glb/cad_9e2ac60f3e8c.glb |
Create a mobile phone holder for a Smart car. Start by constructing a main body that is the intersection of a large sphere with a 200mm radius and a complex composite shape. This composite shape consists of three joined rectangular blocks: a central block measuring 80mm by 30mm by 25mm centered at [0, 0, 6.5], a lower ... | $fn=50;
rotate([90,0,0])
difference(){
minkowski(){
intersection(){
union(){
translate([0,0,6.5])cube([80,30,25],center=true);
translate([-3,-0,-9])rotate([0,36.38,0])translate([+15,0,5])cube([63+30,30,50],center=true);
}
cube([80,30,120],center=true);
}
sphere(2);
}
intersection(){
union(){
translate([0,0... | glb/cad_860ba0f7814d.glb |
Create a Smart S4 Holder by constructing a hollow rectangular sleeve. Start with a solid outer block measuring 75.1mm in width, 14.1mm in depth, and 33.1mm in height.
From this block, remove a central rectangular volume to create the interior cavity. This cavity should be 68mm wide and 11mm deep, leaving a wall thick... | $fn=10;
BreiteAusen = 72 ;
BreiteInnen = 68 ;
BreiteUnten = 40 ;
HoeheGesamt = 60 ;
HoeheHalter = 30 ;
Dicke = 11 ;
WandDicke = 3 ;
stecker3();
module alles () {
rotate([90,0,0]){
difference(){
minkowski(){
halter();
sphere(WandDicke/2);
}
union(){
stecker2();
translate([-48,-6,-40])
union(){
for (a =[0:1... | glb/cad_93637da0bfc9.glb |
Create a t-nut for a 2020 extrusion with a 5mm slot. Start with a rectangular block measuring 11mm in length, 8mm in width, and 3.5mm in height, centered on the origin. Remove a hexagonal prism from the center of this block with a radius of 3.1mm and a height of 2.2mm to create the screw socket. Drill a cylindrical hol... | intersection() {
difference() {
cube([11,8,3.5], center=true);
translate([0,0,.7]) cylinder(r=3.1,h=2.2, center=true, $fn=6);
cylinder(r=1.6, h=5, center=true, $fn=50);
translate([0,0,-1.7]) cube([12,2.6,0.6], center=true);
}
translate([0,0,-1.2]) rotate([45,0,0]) cube([11,8,8], center=true);
} | glb/cad_eaadafe48c3c.glb |
Create a submersible pump hose adapter consisting of a threaded base and a tapered hose fitting.
Start with a dodecagonal (12-sided) prism base with an outer diameter of 51mm and a total height of 22mm. Create a central vertical hole through this base with a diameter of 42.25mm, but limit the depth of this hole to 5m... | $fn=100;
D_int=42.25;
D_ext=51;
H_base=22;
h_base=5;
bord=2;
pas=3;
h_fil=0.866*pas;
d_int=D_int-5/8*h_fil;
epsilon=0.001;
d_high=19;
d_low=18;
d_int=13;
h_unit=6;
n_unit=5;
extrude_width=0.4;
spacing=5;
garde=5;
N=ceil(D_ext/spacing)+1;
use <threads.scad>;
difference()
{
cylinder(r=D_ext/2,h=H_base,$fn=12);
... | glb/cad_981099ca5521.glb |
Create a Yogi Bear pin/magnet by constructing a flat, 2D profile extruded to a height of 5mm. The shape is a complex, organic polygon based on the silhouette of the character.
To define the geometry, create a closed path using the following coordinates (scaled by 25.4/90 in the X and Y axes): start at [-170.6, 246.4]... | fudge = 0.1;
module poly_path3000(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-170.615377,246.366457],[-186.601437,244.197637],[-192.927237,243.157183],[-199.245574,241.655906],[-205.583877,239.682254],[-211.969573,237.224673],[-218.430092,234.271613],[-224.992862,230.... | glb/cad_407558895928.glb |
This OpenSCAD code defines a complex 3D geometry based on a set of 2D polygons. It appears to be a representation of a geographical map or a custom mechanical part, as it uses a high number of vertices to define a detailed outline.
### Code Breakdown
#### 1. `module poly_path2987(h)`
This module creates a 3D object b... | fudge = 0.1;
module poly_path2987(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-169.599630,236.274754],[-177.994611,234.798816],[-186.680658,232.686499],[-195.508976,229.996337],[-204.330772,226.786864],[-212.997254,223.116613],[-221.359628,219.044119],[-229.269101,214.... | glb/cad_68f68b064e84.glb |
Create a tea light box featuring a stylized silhouette of Tinkerbell. Start by creating a rectangular base block with dimensions of 202mm in width, 353mm in depth, and 187mm in height.
On the exterior faces of this block, add a decorative silhouette of a fairy. This figure is composed of several complex polygons that... | fudge = 0.1;
fudge = 0.1;
difference(){
translate([-100, -165, -100]){
cube([200,365,200]);}
linear_extrude(5)
{
}
# translate ([-110,-159,-95])
rotate([0,0,0]){
{
cube (size = [202,353,187]);
}
}
}
module poly_path4928(h)
{
scale([90.4/90, -90.4/90, 1]) union()
{
linear_extrude(height=h)... | glb/cad_235cba2250b8.glb |
Create a Tinkerbell tea light box by constructing a flat, stylized silhouette of the character with a total thickness of 6.9mm. The model is composed of several joined geometric sections that form the character's body, wings, and dress.
First, create the main body and dress silhouette. The overall height of the figure... | fudge = 0.1;
module poly_path4928(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-82.710770,-135.005276],[-81.978878,-131.534542],[-79.841863,-128.389432],[-75.039380,-122.329316],[-45.973641,-81.354711],[-31.667506,-60.720103],[-16.306538,-40.935436],[-9.316574,-34.78244... | glb/cad_8d6442d07ff1.glb |
Create a Tinkerbell tea light box by constructing a rectangular hollow shell. Start with a solid rectangular block measuring 202mm in width, 353mm in depth, and 187mm in height.
From this main volume, remove a smaller internal rectangular block to create the hollow interior, leaving walls that are 5mm thick. The resu... | fudge = 0.1;
fudge = 0.1;
difference(){
translate([-100, -165, -100]){
cube([200,365,200]);}
linear_extrude(5)
{
}
# translate ([-110,-159,-95])
rotate([0,0,0]){
{
cube (size = [202,353,187]);
}
}
}
module poly_path4928(h)
{
scale([90.4/90, -90.4/90, 1]) union()
{
linear_extrude(height=h)... | glb/cad_d8780b8c7632.glb |
Create a Tinkerbell tea light box by constructing a hollow rectangular enclosure with decorative silhouette cutouts. The box is formed by four side panels, each approximately 180mm in height and 90mm in width.
On each panel, create a detailed silhouette of the character Tinkerbell. The silhouette is composed of severa... | fudge = 0.1;
module poly_path4928(h)
{
scale([90.4/90, -90.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-82.710770,-135.005276],[-81.978878,-131.534542],[-79.841863,-128.389432],[-75.039380,-122.329316],[-45.973641,-81.354711],[-31.667506,-60.720103],[-16.306538,-40.935436],[-9.316574,-34.78244... | glb/cad_37df4fa637a7.glb |
Create a RAVPower Charger Light Endcap consisting of a hollow cylindrical shell. Start by creating a main outer cylinder with an outer diameter of 24.65mm, a height of 13.0mm, and a wall thickness of 0.65mm. This creates an inner diameter of 23.35mm. At the base of this shell, add a solid circular disc with a diameter ... | module hollowCylinder(d=5, h=10, wallWidth=1, $fn=128)
{
difference()
{
cylinder(d=d, h=h);
translate([0, 0, -0.1]) { cylinder(d=d-(wallWidth*2), h=h+0.2); }
}
}
OD = 24.65;
Wall = .65;
Ht = 13.0;
RidgeHeight = .3;
RidgeThickness=.25;
detailLevel = 256;
RidgeOffset = 11.7;
ID = OD-2*Wall;
RidgeOD = ID+RidgeThic... | glb/cad_12e18cb3ad24.glb |
Create a Power Supply Cover by constructing a hollow rectangular box with outer dimensions of 116.8mm in width, 53.5mm in height, and 60mm in depth. The walls and the base should have a uniform thickness of 2.5mm.
On the front face of the box, create three specific openings. First, center a rectangular connector hole... | width = 111.8;
height = 48.5;
depth = 60;
thickness = 2.5;
conWidth = 27.5;
conHeight = 20;
conLeftOffset = thickness + 5;
switchWidth = 29;
switchHeight = 10;
switchLeftOffset = conLeftOffset + conHeight + 10;
termHoleDiam = 7.2;
termOffset = switchLeftOffset + switchHeight + 30;
termDist = 20;
topEnclDepth =... | glb/cad_f34b54e47e78.glb |
Create a Power Supply Cover by constructing a hollow rectangular box. The outer dimensions of the box should be 119mm wide, 55mm high, and 62.5mm deep. The walls and the base should have a uniform thickness of 2.5mm.
On the front face of the box, center a rectangular cutout that is 46.5mm wide and 27mm high, extendin... | width = 114;
height = 50;
depth = 60;
thickness = 2.5;
conWidth = 27.5;
conHeight = 20;
conLeftOffset = thickness + 5;
switchWidth = 29;
switchHeight = 10;
switchLeftOffset = conLeftOffset + conHeight + 10;
termHoleDiam = 7.2;
termOffset = switchLeftOffset + switchHeight + 30;
termDist = 17;
topEnclDepth = 10;... | glb/cad_6f82dbc292b0.glb |
Create a fan holder for a 40mm fan by starting with a main rectangular block measuring 15mm wide, 40mm long, and 10mm high. Remove a central rectangular channel from the top, 5mm wide, 40mm long, and 7mm deep, leaving 5mm thick walls on either side. Attach two smaller rectangular tabs to the sides of the main block; ea... | difference() {
union() {
cube([15,40,10]);
translate([15,-2.5,0])
cube([10,12.5,3]);
translate([15,30,0])
cube([10,12.5,3]);
}
translate([5,0,3])
cube([5,40,10]);
translate([20,3.8,0])
cylinder(3,1.6,1.6, $fn=20);
translate([20,36.2,0])
cylinder(3,1.6,1.6, $fn=20);
} | glb/cad_4a5ada742c1c.glb |
Create a Nema 17 Cycloidal Gear box prototype base. Start by creating a main cylinder with a diameter of 22mm and a height of 7mm. Centered on the top surface of this cylinder, add a smaller cylinder with a diameter of 8mm and a height of 7.4mm, and another cylinder with a diameter of 12mm and a height of 0.4mm.
From... | $fn=80;
difference(){
union(){
cylinder(d=22,h=7);
translate([0,1,7])
cylinder(d=8,h=7.4);
translate([0,1,7])
cylinder(d=12,h=0.4);
}
translate([0,0,-7.4])
cylinder(d=5.1,h=21.8);
#translate([0,0,3.5])
rotate([0,90,0])
cylinder(d=2.8,h=15);
} | glb/cad_48ded08cf601.glb |
Create a Nema 17 Cycloidal Gearbox housing. Start with a central block that is 41.5mm wide, 41.5mm deep, and 18mm high, centered on the origin.
At the center of the block, create a cylindrical cavity with a diameter of 39mm and a depth of 42mm. Within this central area, remove a smaller cylinder with a diameter of 8m... | function pi()=3.14159265358979323846;
function int(value)=round(value+0.5)-1;
$fn=80;
waveSize=2;
waveHeight=42;
waveDiameter=39;
realDiameter=waveDiameter-waveSize;
teethAmount=int((realDiameter*pi())/waveSize);
echo(360/teethAmount);
difference(){
union(){
translate([0,0,9])cube([41.5,41.5,18],center=true);
transl... | glb/cad_99f15932dcaa.glb |
Create a Nema 17 Cycloidal Gearbox prototype part. Start by creating a main cylindrical base with a diameter of 25mm and a height of 8mm. Centered within this base, remove a vertical cylindrical hole with a diameter of 8mm and a height of 14mm.
On the top surface of the base, add three small cylindrical pegs, each wi... | function pi()=3.14159265358979323846;
function int(value)=round(value+0.5)-1;
function boltHead(Measurement)=Measurement*(tan(180/6)/sin(180/6))/2;
$fn=80;
axleSize=3;
waveSize=2;
waveHeight=14;
waveDiameter=38;
outputDiameter=20;
outputAxle=5;
realDiameter=waveDiameter-waveSize;
teethAmount=int((realDiameter*pi())/w... | glb/cad_9cd4f0daefad.glb |
Create a Nema 17 Cycloidal Gear box prototype part. Start by constructing a hexagonal prism with a height of 4mm and a radius of approximately 10.39mm (calculated as the distance from the center to a vertex of a regular hexagon with a side length of 6mm). On top of this hexagonal base, center a thin cylinder with a dia... | function boltHead(Measurement)=Measurement*(tan(180/6)/sin(180/6))/2;
difference(){
union(){
translate([0,0,0])cylinder(r=boltHead(12),h=4,$fn=4);
translate([0,0,4])cylinder(d=5.5,h=1,$fn=80);
}
translate([0,0,0])cylinder(d=3.3,h=10,$fn=80);
translate([0,0,0])cylinder(r=boltHead(5.4),h=2.4,$fn=6);
... | glb/cad_edca908ffeb3.glb |
Create a Nema 17 Cycloidal Gearbox prototype. Start by constructing a main cylindrical body with a diameter of 36mm and a height of 14mm. This body should feature a series of vertical, gear-like ridges around its outer perimeter.
At the top surface, center a vertical hole with a diameter of 8mm that extends through th... | function pi()=3.14159265358979323846;
function int(value)=round(value+0.5)-1;
$fn=80;
axleSize=3;
waveSize=2;
waveHeight=14;
waveDiameter=38;
outputDiameter=20;
outputAxle=5;
realDiameter=waveDiameter-waveSize;
teethAmount=int((realDiameter*pi())/waveSize);
echo(360/teethAmount);
difference(){
union(){
cylinder(d=re... | glb/cad_bcda6180de34.glb |
Create a "Motion of the Sun" model as a hollowed hemisphere with a radius of 40mm. The base is a flat circle, and the top is a spherical dome.
Cut four thin slots (1mm thick) into the dome to represent solar paths: one vertical plane passing through the center to mark the North-South axis, one horizontal plane at the ... | r_sphere = 40;
latitude = 33;
str_latitude ="33";
list_a = "San Diego, CA ";
mark = 0;
rdecorate = r_sphere-2;
plane_thickness = 1;
line_depth = 1;
ninety_less_lat = 90 - latitude;
summer = ninety_less_lat + 23.5;
winter = ninety_less_lat - 23.5;
font = "Liberation Sans";
font_size = 8;
title_font_size=6;
diffe... | glb/cad_663f2cfb862f.glb |
Create a lid for a salt cellar. The lid is a thin, circular disc with a total diameter of 66mm and a thickness of 1mm. The top surface of the disc is flat, but the underside features a concentric circular rim that allows it to self-center on a bowl. This underside rim has a diameter of 60mm and a height of 3mm. Centere... | use <CircularLogic.scad>
bowlID = 60;
bowlDepth = 25;
rimWidth = 3;
minThickness = 1;
lidThickness = 1;
textDepth = 0.25;
$fn=200;
top();
module bottom() {
rotate_extrude() bottom_profile();
}
module top() {
w = 10;
h = 20;
s = 2;
xs = 1.1;
txt = "salt";
txtWidth = len(txt)*w*xs-w*(xs-1);
differen... | glb/cad_98172ed3c4c8.glb |
Create a foot for Dexion 160 slotted angle steel by constructing two identical L-shaped slots joined at a right angle. Each slot is formed by a rectangular block 37mm long, 6.5mm wide, and 7mm high, with 1mm rounded edges. Inside each block, carve out a longitudinal channel that is 2.5mm wide at the top and 2mm wide at... | Dexion160Foot();
module Dexion160Foot()
{
pushout=6;
Dexion160Slot(35,2,pushout);
rotate([0,0,90])
Dexion160Slot(35,2,pushout);
Dexion160SlotJoin(pushout,2,3);
}
module Dexion160Slot(length, pad,pushout)
{
slotheight = 5;
slotwidthtop = 2.5;
slotwidthbottom = 2.0;
... | glb/cad_fd46e3abc2cf.glb |
Create a corner piece for a case that joins two plates. The overall footprint is a 50mm by 50mm square with a height of 30mm. The structure consists of two interlocking L-shaped slots designed to hold plates of 5mm thickness.
First, create the outer walls by extruding a profile that forms a 3mm thick outer shell alon... | length = 50;
tolerance = 0.6;
width = 30;
plate_a_thickness = 5;
plate_b_thickness = 5;
clip_wall = 3;
union() {
linear_extrude(width) union() {
x = length;
y = length;
w = clip_wall;
x1 = x - w;
y1 = y - w;
polygon([
[0, 0], [0, x], [x, y],
... | glb/cad_d7810349df33.glb |
Create a speedometer bracket for a vehicle by starting with a solid rectangular block measuring 95mm in width, 32mm in depth, and 65mm in height, centered so that the x-axis spans from -47.5mm to 47.5mm. Carve out a large central rectangular void measuring 81mm wide, 50mm deep, and 70mm high, positioned 5mm from the bo... | difference () {
translate([-47.5,-16,0]) cube([95,32,65]);
translate([-40.5,-25,5]) cube([81,50,70]);
translate([0,0, -2]) cylinder(r=9.6, h=10);
translate([25,13,-2]) cylinder(r=7, h=10);
translate([0,16,-4]) rotate([3,0,-10]) cube([60,20,80]);
translate([0,-36,-4]) rotate([-3,0,10]) cube([60,20,80]);
translate... | glb/cad_e369622f0d54.glb |
Create a garden rod fixture consisting of two identical mirrored halves. For one half, start with a base shape formed by the convex hull of two intersecting cylinders, each 17mm in diameter and 17mm in height, where one cylinder is centered at the origin and the other is centered at [0, 20, 0] and rotated 90 degrees.
... | module Haelfte()
{
d_1=12;
d_2=9;
difference()
{
hull()
{
translate([0,20,0])
rotate([0,90,0])
cylinder(d=17,h=17,$fn=60,center=true);
cylinder(d=17,h=17,$fn=60,center=true);
}
translate([0,20,0])
rotate([0,90,0])
cylinder(d=d_2,h=18,$fn=30,center=true);
cylinder(d=d_1,h=18... | glb/cad_7c7b0f0c78ab.glb |
Create a My-Pi and camera case starting with a solid base block measuring 40mm by 40mm with a height of 6.8mm. Hollow out the center of this block by removing a cube of 37mm by 37mm and 10mm height, positioned 1.5mm from the side edges and 1.5mm from the bottom.
In the center of the base, create a square opening of 1... | $fn=50;
render() difference(){
union(){
cube([36+4,36+4,6.8]);
cylinder(d=4,h=6.8);
translate([40,40,0])
cylinder(d=4,h=6.8);
translate([0,40,0])
cylinder(d=4,h=6.8);
translate([40,0,0])
cylinder(d=4,h=6.8);
}
translate([1.5,1.5,1.5])
cube([37,37,10]);
translate([40/2-7,40/2-7,0])
cube([14,14,10]);
translate([20,20... | glb/cad_31d56ef2e980.glb |
Create a My-Pi and camera case starting with a rectangular base plate measuring 120.2mm wide by 142mm long and 1.6mm thick.
On the top surface of this base, add several rectangular blocks and cylinders to represent components. Place rectangular blocks at the following coordinates (X, Y, Z): [35.2, 26.6, 3.6] with siz... | mypi();
module mypi(){
$w = 120.2;
$l = 142;
$h = 1.6;
$husb = 17.2-$h;
$fn = 40;
$s = 2;
color([0.1,0.1,0.1])
translate([35.2,26.6,$h+$s])
cube([5,2.5,11-$h]);
color([0.1,0.1,0.1])
translate([60.7,27.2,$h+$s])
cube([7.7,2.5,11-$h]);
color([0.1,0.1,0.1])
translate([57.9,35.3,$h+$s])
cube([5,2.5,11-$h]);
color([0.1... | glb/cad_57d3ba1d5d94.glb |
Create a protective case for a My-Pi motherboard. The base is a rectangular tray with outer dimensions of 124.2mm by 146mm and a total height of 9mm. The interior is hollowed out to create a cavity 121mm wide and 143mm long, leaving a wall thickness of approximately 2mm.
Within this base, include a central strengthen... | use <mypi.scad>
*case_top();
*mypi();
case_bot();
$w = 120.2;
$l = 142;
$fn = 40;
module case_bot(){
render() difference(){
translate([-2,-2,-1.5])
cube([$w+4,$l+4,9]);
translate([-0.5,-0.5,0])
cube([$w+1,$l+1,20]);
translate([10,10,-2])
cube([$w-20,$l/2-20,20]);
translate([10,10+$l/2,-2])
cube([$w-20,... | glb/cad_207942eaac44.glb |
Create a Speck 80 BL Battery Plate. Start with a central rectangular plate 18.8mm wide by 41mm long and 1mm thick, with rounded corners of radius 3mm. At each of the four corners of this plate, create a cylindrical post 6mm high with a radius of 3mm. Within each post, center a vertical hole with a radius of 1.4mm that ... | $fn=100;
difference(){
union(){
hull(){
translate([41.0/2,0,0])
cylinder(h=6, r=3);
translate([15.4,2.6,0])
cylinder(h=2, r=1);
translate([15.4,-2.6,0])
cylinder(h=2, r=1);
}
hull(){
translate([-41.0/2,0,0])
cylinder(h=6, r=3);
translate([-15.4,2.6,0])
cylinder(h=2, r=1);
translate([-15.4,-2.6,0])
cylinder(h=2, r=1)... | glb/cad_863d23e3022e.glb |
Create a Speck 80 BL Battery Plate. Start with a central rectangular plate 18.8mm wide by 41mm long and 1mm thick, with rounded corners of radius 3mm. At each of the four corners of this plate, add a cylindrical post 6mm high with a radius of 3mm. Each post must have a centered vertical hole with a radius of 1.4mm that... | $fn=100;
difference(){
union(){
hull(){
translate([41.0/2,0,0])
cylinder(h=6, r=3);
translate([17.4,2.6,0])
cylinder(h=2, r=1);
translate([17.4,-2.6,0])
cylinder(h=2, r=1);
}
hull(){
translate([-41.0/2,0,0])
cylinder(h=6, r=3);
translate([-17.4,2.6,0])
cylinder(h=2, r=1);
translate([-17.4,-2.6,0])
cylinder(h=2, r=1)... | glb/cad_a14bc1a87000.glb |
Create a Peg Solitaire game consisting of game boards and matching pins.
First, create the pins. Each pin is a composite shape consisting of a cylinder with a radius of 4.5mm and a height of 17mm, topped with a smaller conical frustum that is 3mm tall, tapering from the 4.5mm radius down to a 2.7mm radius at the top.... | pin(4.5);
module pin(rad){
union(){
cylinder(r = rad, h = 17);
translate([0,0,17])cylinder(r1 = rad,r2 = rad*0.6, h = 3);
}
}
module pyramidHop(){
rotate([0,0,90])
difference(){
translate([0,0,4])
rotate([0,0,0]){
minkowski(){
cylinder(r=70,h=2,$fn... | glb/cad_3fe56078e946.glb |
Create a touch sensor support consisting of three main sections: a mounting base, a vertical riser, and a sensor plate.
Start with a rectangular mounting base 3mm thick, 38.5mm wide, and 12mm high. In this base, create two vertical holes with a 3mm diameter, spaced 30.5mm apart along the width. On top of this base, a... | include <../common/roundedcube.scad>;
include <../common/prism.scad>;
SUPPORT_THICKNESS = 3;
SUPPORT_HEIGHT = 40;
SCREW_DIAMETER = 3;
CARIAGE_WIDTH= 17;
SUPPORT_SCREW_SPACE= 30.5;
SUPPORT_SCREW_HEIGHT= 5;
SUPPORT_BORDER = 4;
SUPPORT_WIDTH = SUPPORT_SCREW_SPACE + SUPPORT_BORDER * 2;
CABLE_ZIP_HOLE = 5;
BL_TOUCH_SCREW... | glb/cad_b1ccb3dbd20e.glb |
Create a Muse MU-D50W T-amp Case. Start by constructing a main hollow enclosure (koker) with outer dimensions of 74mm width, 45mm depth, and 114.5mm height, featuring rounded corners with a 3mm radius. The walls should be 2mm thick. Inside this enclosure, create two vertical cutouts for the PCB, each 1.8mm wide and 2.3... | $fn=100;
tollerances = .5;
power_knob_dia = 9.5;
volume_knob_dia = 12;
led_dia = 3;
wallthickness = 2;
frontplate_thickness = 2;
tollerance = .5;
musepcb_width = 70;
musepcb_height = 1.55;
musepcb_depth = 114.5;
muse_case();
module frontplate() {
difference() {
roundedcube(74,45,frontplate_thickness,3)... | glb/cad_8f7fb7c21bca.glb |
Create a potentiometer knob with a top diameter of 22.5mm, a bottom diameter of 22.5mm, and a total height of 15mm. The knob should have a smooth, rounded top edge with a smoothing radius of 2mm.
At the center of the bottom, create a vertical cylindrical shaft hole with a diameter of 6.2mm and a depth of 14.5mm.
On t... | $fn = 500;
01_knob_diameter_top = 22.5;
knob_radius_top = 01_knob_diameter_top / 2;
02_knob_diameter_bottom = 22.5;
knob_radius_bottom = 02_knob_diameter_bottom / 2;
03_knob_height = 15;
knob_height = 03_knob_height / 1;
04_knob_smoothness = 40;
knob_smoothness = 04_knob_smoothness / 1;
05_shaft_diameter = 6.2;
sh... | glb/cad_a417a44e32af.glb |
Create a lever for a thermos jug lid. Start with a main rectangular block measuring 32mm in length, 14.7mm in width, and 18.8mm in height. Round the vertical edges of this block with a radius of 1.5mm.
Modify the shape by removing a central rectangular channel from the bottom, measuring 32mm long, 11.3mm wide, and 4m... | l = 32;
lu = 17;
b = 14.7;
d = 4;
w = 3.4;
h = 4+8+6.8;
r_ul = 2;
r_ol = 7;
r_or = 1.5;
loch_d = 5;
loch_x = 5;
loch_z = h - loch_d/2 -7.5;
asym_ur = 1;
r_ur = (lu-loch_x)/asym_ur;
FN = 64;
module mycube(pos,center=[false,false,false])
{
translate([center[0]?-pos[0]/2:0,center[1]?-pos[1]/2:0,center[2]?-pos[2]/2:0]... | glb/cad_29c4d7aca220.glb |
Create a lock-collar mount by starting with a hollow cylinder that has an outer diameter of 40mm, an inner diameter of 27.2mm, and a height of 6mm. Cut a thin vertical slot through the wall of the cylinder to allow it to be clamped. On opposite sides of the outer rim, centered vertically, create two symmetrical cutouts... | $fn = 128;
module cutout(nut, bolt) {
rotate([90, 180, 0]) {
union() {
cube([(nut / 2) , nut , nut * 2], center = true);
translate([nut / 4, 0, 0])
cylinder(h = nut * 2, r = (nut / 2), center = true);
}
}
}
module lock_collar(inner_d, outer_d, nut_d, bolt_d, thickness) {
di... | glb/cad_b2020af210b1.glb |
Create a T-track table for a PCB mill by starting with a rectangular base plate measuring 215mm in length, 120mm in width, and 8mm in height.
Carve a series of parallel T-shaped slots into the top surface. Each slot consists of a wide upper channel and a narrower lower stem. The wide upper part of the "T" should be 1... | plate_x = 215;
plate_y = 120;
plate_z = 8;
base_plate_z = 3;
border_width = 10;
border_width_x = 10;
slot_wide_width = 10;
slot_wide_height = 3.5;
slot_slim_width = 4.1;
slot_entrance_length = 10;
slot_distance = 20;
num_of_wave_elements = 0;
wave_tolerance = 0.05;
slot_slim_height = plate_z - slot_wide_heig... | glb/cad_4c6e502ee1b8.glb |
Create a fan duct for a Lume mk2 printer. Start with a square base measuring 40mm by 40mm with a thickness of 4mm. In the center of this base, create a circular cutout with a radius of 15mm. At each of the four corners of the base, add a small circular hole with a radius of 1.75mm to accommodate screws.
Attached to th... | x = 40;
y = 40;
z = 4;
s = 3.5;
p = 15;
gbb = 14;
gs = 2;
wttt = 7;
pk = 56/2;
dt = 34.5-pk;
obr = 8;
wpk = 36/2;
wpk2 = 24/2;
gsk = 1;
id =9;
sk = 100;
wtk = 0.7 ;
ko = 7.5;
wtkt = -0.6;
wok = -1.45;
gts = 3.6;
ott = 1;
$fn = 200;
wtt = wttt - 1;
h= dt<3 ? 2 : 0;
echo(h);
module podstawka() {
difference(){
... | glb/cad_3b9ae5a5d904.glb |
Create an electronics case consisting of a main body and a separate lid.
For the main body, create a rounded outer box with a wall thickness of 1.2mm. The interior should be hollowed out to create a main cavity of 48.1mm x 65.6mm x 41.2mm. At the base of this cavity, create a rectangular compartment for a battery hol... | $case=true;
$top=false;
$pcb_x=47.5;
$pcb_y=52;
$pcb_z=23;
$led=true;
$led_diam=5;
$led_x=20;
$led_y=50;
$ldr=true;
$ldr_diam=5.2;
$ldr_x=27;
$ldr_y=30;
$pir=true;
$pir_diam=23;
$pir_x=13 ;
$pir_y=21;
$pcb_air=0.3;
$pcb_lift=5;
$bat=true;
$bat_x=33;
$bat_y=65;
$bat_z=16;
$bat_isolate=0;
$jack=1;
$jack_x=11.2;
$ja... | glb/cad_593f6ef9e626.glb |
Create a universal tablet wall mount bracket. The main structure is a U-shaped channel formed by three perpendicular walls, each 4mm thick. The back wall is a vertical plate measuring 60mm in height, 24mm in depth, and 4mm in thickness. Centered within this back wall is a circular hole for a screw; this hole consists o... | $fn = 60;
x1 = 30;
x2 = 20;
x3 = 14;
x4 = 4;
xd1 = 7.5;
xd2 = 4;
module screw(){
union(){
translate([0,0,x4/2/2])
cylinder(h = x4/2, d1 = xd1, d2 = xd1,
center = true);
translate([0,0,-x4/2/2])
cylinder(h = x4/2, d1 = xd2, d2 = xd2, center = true);}
}
rotate([0,0,0])
translate([0,-x3/2+-x4/2,0])
cube([x2+... | glb/cad_115b2ea8da63.glb |
Create a Domino Clock base by starting with a smooth cylinder that has a diameter of 90mm and a height of 5mm. In the center of this cylinder, remove a smaller vertical cylindrical hole with a diameter of 8mm and a height of 4mm, positioned so it extends slightly below the base. Around the center, carve out twelve iden... | difference(){
union(){
cylinder(5,90,90,$fn=60);
}
translate([0,0,-1])
cylinder(10,4,4,$fn=60);
translate([-11.25,40,2])
cube([22.5,45,5]);
rotate([0,0,30])
translate([-11.25,40,2])
cube([22.5,45,5]);
rotate([0,0,60])
translate([-11.25,40,2])
cube([22.5,45,5]);
rotate([0,0,90])
translate([-11.25,40,2])
cube([22.5,45,... | glb/cad_04f37e3d84bc.glb |
Create a double-sided key model. Start with a central shaft consisting of a cylinder with a radius of 3mm and a height of 17mm, capped with a hemisphere of the same radius at the top. At the base of the shaft, create a handle consisting of a cylinder with a radius of 11mm and a height of 6mm, with a 3.8mm radius hole d... | t1=7.3;
t2=6.3;
t3=8.5;
t4=8.7;
t5=5.3;
t6=7.6;
center=10;
llave(t1,t2,t3,t4,t5,t6,center);
module llave(p1,p2,p3,p4,p5,p6,centro){
rotate([0,5,0])translate([0,0,-1])paletas(p1,p2,p3,p4,p5,p6,centro);
translate([0,14.2,0])rotate([180,-185,])translate([0,0,-1])paletas(p1,p2,p3,p4,p5,p6,centro);
translate([0,-4,0])r... | glb/cad_f158d7942db3.glb |
Create a battery container consisting of five identical rectangular compartments arranged in a single row. Each individual compartment is formed by a solid block measuring 31.4mm in width, 17.9mm in depth, and 17.4mm in height. From each block, remove a central rectangular volume to create a cavity that is 25mm wide, 1... | lipo_w = 25;
lipo_h = 43;
lipo_t = 10.5;
rows = 1;
lipos_in_row = 5;
container_wall_h = 15;
container_wall_t = 3.2;
container_floor_h = 2.4;
module lipo(){
cube([lipo_w, lipo_t, lipo_h]);
}
module single_lipo_container(){
difference(){
cube([lipo_w+2*container_wall_t, lipo_t+2*container_wall_t,... | glb/cad_b90d9924bd9a.glb |
Create a 3D model of Gabriel's trumpet by generating a hollowed-out surface of revolution around the vertical Z-axis. Construct the shape by stacking a series of thin, concentric rings from a height of 10mm up to 400mm. For each ring, the outer radius should follow the curve 500 divided by the current height, while the... | j=10;
for (i = [10:j/2:100])
translate([0,0,i]){
difference()
{
cylinder(j/2,500/i,500/(i+j/2));
cylinder(j/2,500/i-2,500/(i+j/2)-2);
}
}
for (i = [100:j:400])
translate([0,0,i]){
difference()
{
cylinder(j,500/i,500/(i+j));
cylinder(j,500/i-2,500/(i+j)-2);
}
} | glb/cad_9f2a4ed02940.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.