Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a motor mount for a drone consisting of a central cylindrical disc with a diameter of 30mm and a height of 5mm, centered on the origin. Remove a central vertical cylindrical hole with a diameter of 5mm that passes completely through the disc. Around this center, create eight identical elongated slots for bolts. ... | $fn = 30;
module oval_hole(length, diameter, depth) {
hull() {
translate([length, 0, 0]) {
cylinder(d = diameter, depth, center = true);
}
cylinder(d = diameter, depth, center = true);
}
}
module mount_holes(bolt_diam,
inner_radius,
outer_radius,
hole_depth) {
num_holes = 8;
ang_inc = ... | glb/cad_11ce9cbb421e.glb |
Create a grid of 50 champagne glasses arranged in 10 columns and 5 rows. Each individual glass is composed of three stacked parts along a vertical axis. Start with a cylindrical base that has a radius of 40mm and a height of 3mm. Centered on top of this base, add a thin cylindrical stem with a radius of 2mm and a heigh... | module pahar_sampanie(raza_baza,grosime_baza,raza_picior,inaltime_picior,raza_cupa, grosime_perete_cupa)
{
baza_pahar(raza_baza,grosime_baza);
translate([0,0,grosime_baza]) picior_pahar(raza_picior,inaltime_picior);
translate([0,0,grosime_baza+inaltime_picior+raza_cupa]) cupa(raza_cupa, grosime_perete_cupa)... | glb/cad_662d8868d879.glb |
Create a podium by forming a convex hull around three cylinders. Position the first cylinder at the origin with a radius of 20mm and a height of 10mm. Position the second cylinder at coordinates (60, 0, 0) with the same 20mm radius but a height of 20mm. Position the third cylinder at coordinates (40, 80, 0) with a radi... | module placa_snowbord(grosime, raza, lungime)
{
cylinder(h=grosime,r=raza);
translate([lungime - 2 * raza,0,0])
cylinder(h=grosime,r=raza);
translate([0, -raza, 0]) cube([lungime - 2 * raza, 2*raza,grosime]);
}
placa_snowbord(grosime=10, raza=20, lungime=100);
module podium(grosime, raza, lungime)
{
hull(){
... | glb/cad_cbc8dd439b15.glb |
Create a medii-de-programare object in the shape of a flat, elongated capsule. Start by creating a cylinder with a radius of 20mm and a height of 10mm, positioned centered at the origin. Create a second identical cylinder with a radius of 20mm and a height of 10mm, positioned 60mm away from the first along the x-axis. ... | module placa_snowbord(grosime, raza, lungime)
{
cylinder(h=grosime,r=raza);
translate([lungime - 2 * raza,0,0])
cylinder(h=grosime,r=raza);
translate([0, -raza, 0]) cube([lungime - 2 * raza, 2*raza,grosime]);
}
placa_snowbord(grosime=10, raza=20, lungime=100);
module placa_snowbord2(grosime, raza, lungime)
{
... | glb/cad_24707dbd9c06.glb |
Create a medii-de-programare object in the shape of a flat, rounded rectangular slab. Start by creating a central rectangular block that is 60mm long, 40mm wide, and 10mm thick. To each of the two shorter ends of this block, attach a half-cylinder with a radius of 20mm and a height of 10mm, ensuring the curved ends are... | module placa_snowbord(grosime, raza, lungime)
{
cylinder(h=grosime,r=raza);
translate([lungime - 2 * raza,0,0])
cylinder(h=grosime,r=raza);
translate([0, -raza, 0]) cube([lungime - 2 * raza, 2*raza,grosime]);
}
placa_snowbord(grosime=10, raza=20, lungime=100); | glb/cad_0d5de608d7c3.glb |
Create a medii-de-programare support by constructing a thin, flat rectangular prism. The shape should have a length of 8mm, a width of 8mm, and a height of 0.2mm. | module suport(lungime_suport,latime_suport,inaltime_suport)
cube([lungime_suport,latime_suport,inaltime_suport]);
suport(8,8,0.2); | glb/cad_8a884ec60390.glb |
Create a medii-de-programare by starting with a sphere with a radius of 4mm. Hollow out this sphere by removing a smaller concentric sphere with a radius of 3.5mm. To create the open gap in the shell, remove the material using two cubes of 10mm each: position the first cube at [0.8, -4, -5] and the second cube at [-10.... | module toarta(raza_toarta)
difference(){
difference(){
difference(){
difference(){
sphere(raza_toarta);
translate([0.8,-4,-5])
cube([10,10,10]);
}
translate([-10.8,-4,-5])
cube([10,10,10]);
}
sphere(raza_toarta-0.5);
}
translate([-2,2,-5])
cube([10,10,10]);
}
toarta(4); | glb/cad_c23c3d0d3c9c.glb |
Create two separate cylinders, each with a height of 20mm. The first cylinder should have a radius of 10mm. The second cylinder should have a radius of 20mm and be positioned 50mm away from the first cylinder along the x-axis. | x = 10;
cylinder(h=20,r=x);
x=20;
translate([50,0,0])
cylinder(h=20,r=x); | glb/cad_e2681a5d8ee6.glb |
Create a medii-de-programare, which is a wedge-shaped slice of a cylinder. Start by creating a cylinder with a diameter of 18mm and a height of 3mm. To achieve the specific slice shape, intersect this cylinder with two separate rectangular prisms. The first prism should be positioned to cover the right half of the cyli... | toleranta=1;
module felie_pizza_diference(diametru,grosime,unghi_felie)
{
difference(){
cylinder(h=grosime,r=diametru/2);
translate([-diametru/2-toleranta,-diametru/2-toleranta,-toleranta]) cube([diametru+2*toleranta, diametru/2+toleranta,grosime+2*toleranta ]);
rotate([0,0,30])... | glb/cad_82e743c58e8b.glb |
Create a medii-de-programare model consisting of three distinct parts. First, create a flat square base support with dimensions of 8mm by 8mm and a height of 0.2mm. Second, construct a thin-walled cylindrical recipient with an outer radius of 2mm and a total height of 5mm; the interior should be hollowed out by a cylin... | module recipient(inaltime_recipient,raza_recipient)
translate([4,4,0])
difference(){
cylinder (h=inaltime_recipient,r=raza_recipient,$fn=200);
translate([0,0,inaltime_recipient-(inaltime_recipient-1.1)])
cylinder (h=inaltime_recipient-1,r=raza_recipient-0.2,$fn=200);
}
module toarta(raza_toarta)
difference(){
... | glb/cad_892906515d47.glb |
Create a medii-de-programare container by constructing a hollow cylinder with an outer radius of 2mm and a total height of 5mm. To create the interior cavity, remove a concentric cylinder from the center with a radius of 1.8mm and a height of 4mm, positioned such that it starts 1.1mm from the base. This results in a th... | module recipient(inaltime_recipient,raza_recipient)
translate([4,4,0])
difference(){
cylinder (h=inaltime_recipient,r=raza_recipient,$fn=200);
translate([0,0,inaltime_recipient-(inaltime_recipient-1.1)])
cylinder (h=inaltime_recipient-1,r=raza_recipient-0.2,$fn=200);
}
recipient(5,2); | glb/cad_4b9d5fe52248.glb |
Create a milling benchmark test device starting with a rectangular stock block that is 5.556mm thick. The block's length and width are determined by the layout of several test features.
Across the top surface, create a series of negative rectangular cutouts, each with a depth of 0.15mm. These cutouts are organized in... | numReplications = 3;
cubeSize = [0.05, 0.075, 0.1, 0.15, 0.2, 0.254, 0.396875, 0.79375];
depth = 0.15;
stockZ = 5.556;
Spacing = 2;
StockX = (((2*max(cubeSize))+(2*Spacing)+(10*max(cubeSize)))*numReplications);
StockZ = stockZ;
NumOfCubeSizes = len(cubeSize);
negativeFeaturesTestDevice();
module nega... | glb/cad_6797ebf10e67.glb |
Create a milling benchmark block by starting with a solid rectangular base measuring 56mm in width, 60mm in depth, and 3.556mm in height. From this base, remove several small rectangular sections to create a series of shallow cutouts, each with a depth of 0.015mm.
Position these cutouts to form a symmetrical pattern ... | zDepth = 0.015;
stockZ = 5.556;
faceDepth = 2;
stockX = 56;
stockY = 60;
spacing = 7;
testX = 3;
testY = 6;
SurfaceRoughness();
module SurfaceRoughness(){
difference(){
cube([stockX,stockY,stockZ-faceDepth], center=false);
translate([(stockX/2)-(testX/2),stockY-testY,(stockZ-faceDepth-zDepth... | glb/cad_a2c790821531.glb |
Create a Nissan Altima Outside Mirror Remote Control Bracket. Start with a rectangular base measuring 44mm wide, 38mm deep, and 2mm thick. Remove a rectangular section from the center of this base, measuring 16mm wide and 29mm deep, leaving a border around the edges. At the right end of the base, add a solid rectangula... | partialPrint = false;
postWidth = 8.5;
postDepth = 2;
postHeight = 24.6;
nubWidth = 5;
nubDepth = 4.5;
nubHeight = 5;
shelfHeight = 8.5;
difference()
{
union()
{
difference()
{
cube(size=[44,38,2]);
translate([15.5, (38-29)/2, 0])
cube(size=[16,29,2]);
... | glb/cad_eaaa5122d1a9.glb |
Create a stylized, low-poly skull. The cranium is formed by the union of two hull-based shapes: a primary upper volume of 30x40x30mm centered at [0, 0, 40] and a slightly smaller lower volume of 25x30x25mm centered at [0, -9, 20]. Subtract two small 11mm cubes from the front face at [17, -25, 38] and [-17, -25, 38] to ... | module camera(){
translate([0,0,32.5]){
cube([65,65,65],center=true);
};
};
module cell(){
translate([0,0,49.5]){
};
translate([0,6,45]){
cylinder(3,4,4);
};
translate([0,-6,45]){
cylinder(3,3,3);
};
translate([0,0,22.5]){
cube([18,26,45],center=true);
};
};
module gem(size,cha){
hull(){
translat... | glb/cad_711f69a0b7e6.glb |
Create a rectangular hollow box with outer dimensions of 47mm in length, 20mm in width, and 11mm in height. The interior cavity should be 45mm long, 18mm wide, and 9mm deep, leaving a wall thickness of 1mm on the sides and 2mm on the bottom. On the top surface, place four cylindrical pegs, each with a diameter of 3mm a... | difference() {cube([47,20,11]);translate([1,1,0]) cube([45,18,9]);}
translate([4.75,5,11]) difference() {cylinder($fn=50,3,3.5,3.5, false);cylinder($fn=50,3,2.5,2.5, false);}
translate([4.75,15,11]) cylinder(3,3.5,3.5, false);
translate([42.25,15,11]) cylinder(3,3.5,3.5, false);
translate([42.25,5,11]) difference() {cy... | glb/cad_a9cc255bebf4.glb |
Create a rectangular base block measuring 47mm in length, 20mm in width, and 11mm in height, with a rectangular hollow carved out of the top to leave a wall thickness of 1mm on the sides and 2mm at the bottom. On the top surface of this block, place four cylindrical studs arranged in a grid. Each stud should have an ou... | difference() {cube([47,20,11]);translate([1,1,0]) cube([45,18,9]);}
translate([14,4.5,11]) difference() {cylinder($fn=50,3,3.5,3.5, false);cylinder($fn=50,3,2.5,2.5, false);}
translate([14,15.5,11]) cylinder(3,3.5,3.5, false);
translate([33,15.5,11]) cylinder(3,3.5,3.5, false);
translate([33,4.5,11]) difference() {cyli... | glb/cad_e1cf64c8b721.glb |
Create a 3D model of an impression3D base. Start by creating a flat rectangular plate measuring 40mm by 40mm with a thickness of 1mm. On top of this plate, centered along the X-axis, place a rectangular block that is 40mm wide, 6mm deep, and 12mm high, positioned 17mm from the front edge. Within this block, carve out a... | difference() {
cube([40,40,1]);
translate([10,0,0]) cube([20,17,1]);
translate([10,23,0]) cube([20,17,1]);
}
difference() {
translate([0,17,0]) difference() {
cube([40,6,12]);
translate([0,1,1]) cube([40,4,11]);
}
#translate([16.5,17,1.5]) cube([7,1,10.5]);
#translate([16.5,22,1.5]) cube([7,1,10.5]);
} | glb/cad_802ad6f4bcbc.glb |
Create a rectangular hollow shell for an impression3D project. Start by creating a solid rectangular block measuring 70mm in length, 50mm in width, and 18mm in height. From this block, remove a smaller rectangular section from the center to create a cavity. This interior cutout should measure 66mm in length and 46mm in... | difference() {
cube([70,50,18]);
translate([2,2,0]) cube([66,46,16]);
} | glb/cad_f9234f27d9ed.glb |
Create a 3D model of an impression3D concept. Start by creating a main rectangular block measuring 100mm in length, 8mm in width, and 12mm in height. Hollow out the center of this block by removing a smaller rectangular section measuring 100mm by 6mm by 11mm, leaving a thin outer shell. Create four small rectangular cu... | rotate([0,180,90]) translate([-28,0,-12]) { difference() {
rotate_extrude (angle=45) translate([20,0,0]) square (size=[8,12], $fn=100);
#rotate_extrude (angle=45) translate([21,0,0]) square (size=[6,11], $fn=100);
}
}
difference() {
cube([100,8,12]);
translate([0,1,1]) cube([100,6,11]);
translate([0,0,5]) cub... | glb/cad_8d886ab62d61.glb |
Create a 3D model of an impression3D concept. Start by creating a solid rectangular base measuring 100mm in length, 8mm in width, and 12mm in height. Carve out a central rectangular channel from the top, starting 1mm from the side and 1mm from the bottom, with dimensions of 100mm by 6mm by 11mm. To create the end gaps,... | union() {
difference() {
cube([100,8,12]);
translate([0,1,1]) cube([100,6,11]);
translate([0,0,5]) cube([3,1,7]);
translate([0,7,5]) cube([3,1,7]);
translate([97,0,5]) cube([3,1,7]);
translate([97,7,5]) cube([3,1,7]);
}
translate([2.5,0,5]) cube([0.5,2,6]);
translate([2.5,6,5]) cube([0.5,2,6]);
translate([97,0,5]) cube... | glb/cad_05639697f163.glb |
Create a ladder-like structure consisting of two long parallel rails connected by several rungs. Start by creating two identical side rails, each measuring 214mm in length, 6mm in width, and 2mm in height. Position these rails parallel to each other with a gap between them. Connect these rails using a series of rectang... | difference() {cube([48,10,5]);translate ([1,1,0])cube([46,8,4]);}
difference() {
translate ([0,32,0]) cube([48,10,5]);
translate ([1,32+1,0]) cube([46,8,4]);
}
for (i = [2:5]) {
difference() {
translate ([0,32+(35*(i-1)),0]) cube([48,10,5]);
translate ([1,32+(35*(i-1))+1,0]) cube([46,8,4]);
}
}
difference() {
t... | glb/cad_2995f03076d6.glb |
Create a 3D model of a conceptual impression piece. Start by creating five identical rectangular frames. Each frame is a solid block measuring 47mm in length, 10mm in width, and 5mm in height. From each of these blocks, remove a smaller internal rectangular volume measuring 45mm by 7mm by 4mm, positioned 1mm from the f... | for (i = [0:4]) {
difference() {
translate ([0,32*i,0]) cube([47,10,5]);
translate ([1,(32*i)+1.5,0]) cube([45,7,4]);
}
}
translate ([5,0,3.5]) union() {
cube([2,138,8]);cube([8,138,4]);
}
translate ([34,0,3.5])
union() {translate([6,0,0])cube([2,138,8]);cube([8,138,4]);} | glb/cad_25abf7ba006c.glb |
Create a 3D model of a curved bracket by generating a solid of revolution. Start with a rectangle that is 8mm wide and 12mm high, positioned 20mm away from the central axis of rotation. Rotate this rectangle 45 degrees around that axis to create a curved wall. From this solid, remove a smaller curved section by rotatin... | difference() {
rotate_extrude (angle=45) translate([20,0,0]) square (size=[8,12], $fn=100);
#rotate_extrude (angle=45) translate([21,0,0]) square (size=[6,11], $fn=100);
} | glb/cad_f1aa2bfdac7b.glb |
Create a 3D model of an impression3D concept. Start by creating a solid rectangular base measuring 47mm in length, 10mm in width, and 5mm in height. From this base, remove a smaller rectangular volume measuring 45mm by 7mm by 4mm, positioned 1mm from the front and 1.5mm from each side, to create a shallow open channel.... | fudge = 0.1;
difference() {cube([47,10,5]);translate ([1,1.5,0])cube([45,7,4]);}
module poly_path4174(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[84.194875,105.708322],[71.847201,72.132839],[66.657641,56.703028],[62.014772,41.812109],[57.836471,27.185284],[54.040619,12... | glb/cad_7dada94ff0cf.glb |
Create a 3D model of the "impression3D" object. Start by creating a rectangular base block measuring 47mm in length, 10mm in width, and 5mm in height. From this base, remove a smaller rectangular volume measuring 45mm by 7mm by 4mm, positioned 1mm from the front and 1.5mm from the side, to create a shallow U-shaped cha... | fudge = 0.1;
translate([-1,0,0]) difference() {cube([47,10,5]);translate ([1,1.5,0])cube([45,7,4]);}
rotate(a=-21.9) translate([-18,79.38,0])
difference() {cube([47,10,5]);translate ([1,1.5,0])cube([45,7,4]);}
module poly_path4233(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
poly... | glb/cad_05e57f374610.glb |
Create a 3D model of a curved rail structure called impression3D.
First, construct a single rail unit. This unit consists of a base plate 47mm wide, 10mm deep, and 5mm thick. From this base, remove a central rectangular channel 45mm wide and 7mm deep, leaving a wall thickness of 1mm on the sides and 1.5mm on the bott... | fudge = 0.1;
module poly_path4233(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[61.999157,117.261290],[56.537357,102.902390],[51.210440,88.730451],[46.194283,74.420419],[41.489101,59.973381],[37.095106,45.390420],[33.012513,30.672623],[29.241536,15.821074],[25.782388,0.8... | glb/cad_763a03716539.glb |
Create a rectangular box for a 3D impression concept with overall outer dimensions of 80mm in height, 51mm in width, and 20mm in depth. The box should have a uniform wall thickness of 1mm. To form the interior cavity, remove a central rectangular block measuring 78mm by 49mm by 19mm, positioned 1mm from each outer edge... | pbox=20;
hbox=80;
lbox=51;
ebox=1;
hscreen=29;
lscreen=28;
pibox=19;
hibox=hbox-ebox*2;
libox=lbox-ebox*2;
difference() {
cube([hbox,lbox,pbox]);
translate([ebox,ebox,ebox])
cube([hibox,libox,pibox]);
translate([5,0,20-5])
cube([15,ebox,5]);
} | glb/cad_e3b365447535.glb |
Create a rectangular box for a 3D impression concept with overall outer dimensions of 80mm in height, 51mm in width, and 20mm in depth. The box should have a uniform wall thickness of 1mm. Hollow out the center of the box to create an interior cavity measuring 78mm by 49mm by 19mm, leaving a 1mm thick base. On the top ... | pbox=20;
hbox=80;
lbox=51;
ebox=1;
hscreen=29;
lscreen=28;
pibox=19;
hibox=hbox-ebox*2;
libox=lbox-ebox*2;
difference() {
cube([hbox,lbox,pbox]);
translate([ebox,ebox,ebox])
cube([hibox,libox,pibox]);
}
union() {
difference() {
union() {
translate ([0,0,pbox]) cube([hbox,lbox,ebox]);
translate ([ebox,ebox... | glb/cad_61e185e52073.glb |
Create a 3D data structure visualization consisting of a series of thin rectangular prisms, each with a cross-section of 1mm by 1mm. The model is composed of various linear segments oriented along the X, Y, and Z axes.
Construct several horizontal bars of varying lengths: place a 20mm long bar at Z=1, a 30mm long bar ... | translate([-.5, 0, 50]) {
cube([1, 1, 10]);
}
translate([-10, 0, 50]) {
cube([20, 1, 1]);
}
translate([-10, 0, 40]) {
cube([1, 1, 10]);
}
translate([9, 0, 40]) {
cube([1, 1, 10]);
}
translate([-10, -15, 40]) {
cube([1, 30, 1]);
}
translate([-10, -15, 30]) {
cube([1, 1, 10]);
... | glb/cad_a8a490fd8f40.glb |
Create a 3D data structure visualization consisting of several thin rectangular prisms, all with a thickness of 1mm. Start by placing a vertical pillar 1mm wide and 1mm deep, extending 27mm along the Y-axis. Attach a second vertical pillar of the same dimensions starting at Y=16, extending 11mm upward. Position a horiz... | cube([1,27,1]);
translate([0, (27-11), 1]) {
cube([1, 11, 1]);
}
translate([0, (27-11), 2]) {
cube([1, 12, 1]);
}
translate([-27, (27-11+12), 2]) {
cube([28, 1, 1]);
}
translate([-27, (27-11+12), 2]) {
cube([1, 24, 1]);
}
translate([-27-7, (27-11+12+23), 2]) {
cube([7, 1, 1]);
}
... | glb/cad_ec1120b2d6af.glb |
Create a 3D data structure visualization consisting of a grid of vertical rectangular prisms, each with a base of 1mm by 1mm, extending upwards from a common ground plane at z=0. The model is composed of 56 individual prisms arranged in a 8x7 grid.
In the first column (x=0), place prisms with heights of 16, 14, 12, 26... | cube([1,1,16]);
translate([0, 1, 0]) {
cube([1, 1, 14]);
}
translate([0, 2, 0]) {
cube([1, 1, 12]);
}
translate([0, 3, 0]) {
cube([1, 1, 26]);
}
translate([0, 4, 0]) {
cube([1, 1, 2]);
}
translate([0, 5, 0]) {
cube([1, 1, 29]);
}
translate([0, 6, 0]) {
cube([1, 1, 14]);
}... | glb/cad_c6e94771c9fd.glb |
Create a 3D data structure visualization consisting of a series of joined rectangular prisms. Starting from an initial position, generate 11 rectangular prisms where each prism has a height of 1mm and a width of 1mm. For each iteration, determine a random length between 1mm and 30mm and a random direction from four pos... | module List_Viz_Generator (h, w, iterations, min_len, max_len) {
rand_len = rands(min_len, max_len, iterations);
rand_dir = rands(1, 4, iterations);
num_height = 1;
trans_x = 0;
trans_y = 0;
union() {
for(i=[0:1:iterations]){
translate([trans_x, trans_y, num_height*h]) {
... | glb/cad_927fde64308c.glb |
Create a 3D data structure visualization consisting of five connected rectangular prisms. Start by creating a base rectangular prism with a height and width of 2mm and a random length between 2mm and 20mm, centered on the X-axis. At the end of this first prism, specifically at the coordinate where the length ends and t... | function gen_length(max_length, height) = round(rands(height,max_length,1)[0]);
function gen_angle() = rands(-180, 180, 1)[0];
module step1(max_length=10, height=1, n=5)
{
length = gen_length(max_length, height);
translate([-height/2, -height/2, 0])
cube([length, height, height]);
... | glb/cad_77de48445f50.glb |
Create a 3D data structure visualization consisting of a recursive chain of 10 connected rectangular bars. Each bar should have a uniform thickness and height of 2mm.
Starting from the origin, generate each subsequent bar by randomly determining its length between 2mm and 10mm and its rotation angle between -160 and ... | function gen_length(max_length, height) = round(rands(height,max_length,1)[0]);
function gen_angle() = rands(-160, 160, 1)[0];
function matrix_identity() =
[ [1, 0, 0, 0],
[0, 1, 0, 0],
[0, 0, 1, 0],
[0, 0, 0, 1] ];
function matrix_translate1(length, height, must_jump) =
[ [1, 0, 0, length-... | glb/cad_5bb51e8706d7.glb |
Create a 3D data structure visualization consisting of a series of connected rectangular prisms. Each prism has a uniform height of 1mm and a uniform width of 1mm. Generate 11 of these prisms, each with a length randomly selected between 1mm and 30mm. Position these prisms sequentially so they connect end-to-end, but v... | module List_Viz_Generator (h, w, iterations, min_len, max_len) {
rand_len = rands(min_len, max_len, iterations);
rand_dir = rands(1, 4, iterations);
num_height = 1;
trans_x = 0;
trans_y = 0;
for(i=[0:1:iterations]){
echo(round(rand_len[i]));
echo(round(rand_dir[i])... | glb/cad_3d1005637a27.glb |
Create a Stenokey test stand by starting with a solid rectangular block measuring 35.5mm in width, 32.8mm in depth, and 12.0mm in height. Hollow out the center of this block by removing a smaller rectangular volume that leaves a wall thickness of 1.2mm on all four sides and a base thickness of 1.0mm at the bottom. Fina... | $fn=100;
DimX=35.5;
DimY=32.8;
DimZ=12.0;
CutoutX=15.5;
CutoutY=12.8;
KeyX=10.0;
KeyY=10.0;
FaceThickness=1.0;
WallThickness=1.2;
difference()
{
cube([DimX,DimY,DimZ]);
translate([WallThickness,WallThickness,FaceThickness])
cube([DimX-2.0*WallThickness,DimY-2.0*WallThickness,DimZ]);
translate([KeyX,KeyY,-Fac... | glb/cad_1e5f40f5fe84.glb |
Create a lead bender jig for resistors and diodes. Start with a rectangular back plate measuring 8.5mm wide, 30mm long, and 3mm thick. Carve a central rectangular recess into the top of this plate that is 5mm wide, 12mm long, and 1.5mm deep, leaving a 1.5mm thick floor.
At each end of the plate, centered on the width... | $fn=100;
color("Silver")
LeadBender();
module LeadBender()
{
difference()
{
union()
{
translate([0.75,1,0])
cylinder(r=1.0,h=5.0);
translate([-0.25,0,0])
cube([1,10,5]);
translate([-0.25,1,0])
cube([2,9,5]);
translate([6.75,1,0])
cylinder(r=1.0,h=5.0);
translate([6.75,0,0])
... | glb/cad_a66fb7fd650d.glb |
Create a Stenokey keyboard case assembly consisting of a base, a key matrix plate, and a top cover.
Construct the base with a thickness of 7mm, featuring a hollowed inner hull and an outer lip of 2.5mm. Include a PCB mounting area of 219mm by 139.5mm with a 1.6mm thickness. Add eight registration pins with a 2.9mm di... | include <StenokeyKeys.scad>
include <Components.scad>
$fn=100;
PCBDimX=219.0;
PCBDimY=139.5;
PCBDimZ=1.6;
CaseExtra=3.5;
DimX=PCBDimX+2.0*CaseExtra;
KeyMatrixDimX=219.0;
KeyMatrixDimY=111.9;
KeyMatrixDimZ=4.5;
BaseDimZ=7.0;
KeySwitchHeight=11.6;
TopDimZ=KeySwitchHeight+PCBDimZ;
LipThickness=2.5;
CutoutX=15.5;
Cutou... | glb/cad_a7719968a808.glb |
Create a bottle clip name tag consisting of two mirrored components. For each component, create a conical frustum with a height of 26mm, a bottom radius of 17.5mm, and a top radius of 13mm. Hollow out the center by removing a smaller concentric conical frustum with the same height, but with a wall thickness of 2.5mm.
... | name1 = "Jason";
type1 = "steini";
name2 = "Jason";
type2 = "longneck";
logo = "Club_mate_logo.dxf";
$fn = 100;
generate(logo);
module generate(logo) {
if( name1 != "") {
if(type1 == "mate") {
echo("Creating normal mate tag with nick: ", name1, logo);
bottle_clip(name=name1,logo=logo);
}
if(ty... | glb/cad_009ee8749160.glb |
Create a panel grommet consisting of an inside part, an outside part, and a cover.
For the inside part, create a cylindrical threaded rod with a length of 8mm and a pitch of 4mm. Attach a circular flange to the base of this rod with a radius of 25mm and a thickness of 2.3mm. The flange should have a filleted edge. Sub... | part = "inside";
edge_type = "fillet";
cover_style = "flush";
cover_catch = "yes";
panel_thickness = 6;
hole_size = 40;
grommet_thickness = 3;
flange_width = 5;
flange_thickness = 2.3;
cover_hole = "yes";
cover_hole_size = 7;
cover_wall_thickness = 2;
screw_pitch = 4;
thread_height_to_pitch = 50;
resoluti... | glb/cad_394a6294bf5b.glb |
Create a drill guide by starting with a rectangular base block measuring 38mm by 77mm with a height of 8mm. From this base, remove a central rectangular section measuring 31mm by 45mm, positioned 5mm from the edges, to create a hollow frame.
Within this frame, add a vertical transversal support that forms a right-ang... | xEsp = 12.5;
yEsp = 12.5;
xLeg = 36;
yLeg = 50;
hDia = 3;
hRad = hDia/2;
alpha = atan2(yLeg,xLeg);
dY = (hRad+5)/cos(alpha);
dX = (hRad+5)/sin(alpha);
$fn=60;
module spacer() {
difference() {
cube([xEsp+xLeg+2,yEsp+yLeg+2,8]);
translate([5,5,-1])
cube([xLeg-5,yLeg-5,10]);
}
}
module tr... | glb/cad_721bc028b10a.glb |
Create a test tube rack consisting of a series of intersecting plates and cylindrical inserts.
First, create the vertical support plates. Design two identical side plates and two internal dividers, each 4mm thick. The plates should be sized to accommodate a grid of tubes 2 units deep (X-axis) and 5 units wide (Y-axis... | HauteurTube =140;
DiamTube =30;
EpaisMater =4;
NbrX =2;
NbrY =5;
Tubes = "avec";
mode="3D";
if(mode=="3D")
{
v3d(tubes=Tubes,convexity=16);
}
else
{
plan();
}
module plan()
{
cote();
translate([((DiamTube+10)*NbrX)+20,0])
cote();
translat... | glb/cad_178272709b39.glb |
Create a comb model with a thickness of 2mm. Start by constructing the main body as a rectangular base measuring 64.4mm in length and 7mm in height. Attached to the right side of this body, add a handle that is 60mm long and 15mm high, positioned such that it aligns with the top of the body and extends outward. Termina... | Thickness=2;
BodyHeight=7;
TeethWidth=1.2;
TeethLength=20;
TeethSpacing=2;
TeethNumber=30;
HandlePresent=1;
HandleRounded=1;
HandleLength=60;
HandleHeight=15;
TotTeethLength=(TeethWidth + TeethSpacing) * TeethNumber - TeethSpacing;
linear_extrude(height=Thickness, convexity=10){
square([TotTeethLength, ... | glb/cad_26c5661e4aba.glb |
Create a stacking holder for storage boxes consisting of a back panel and two side panels.
The back panel is a rectangular plate 235mm wide, 35mm high, and 4mm thick. Create a series of vertical slots through the face of this panel to reduce weight and material.
The two side panels are each 120mm long, 35mm high, an... | build_plate_selector = 3;
build_plate_manual_x = 200;
build_plate_manual_y = 200;
back_height=35;
back_width= 235;
side_length=120;
back_thickness=4;
tab_thickness=3;
tab_width=18;
hole_pattern=2;
hex_dia = 10;
spacing = 1.0;
replicator2=285;
replicator=225;
thingomatic=120;
ultimaker=200;
pin_width=3;
... | glb/cad_613fa2616a8b.glb |
Create a unicorn horn model. The main body is a twisted cone with a height of 150mm and a base diameter of 30mm. The shape is generated by linearly extruding a circle from the base to a top point, applying a total twist of 540 degrees (1.5 full rotations) over its height, and scaling the top to 10% of the base diameter... | Hauteur_de_la_corne=150;
Diametre_d_une_corne=30;
Espacement_entre_les_cornes=5;
Nombre_de_cornes=2;
Nombre_de_rotations=1.5;
Nombre_de_couches=64;
Nombre_de_faces_par_couche=64;
Nombre_d_accroches=3;
Epaisseur_des_accroches=2;
Largeur_d_une_accroche=10;
Espacement_entre_les_trous=2;
Diametre_des_trous=2;
D... | glb/cad_ef10c2f0eae2.glb |
Create a Moebius-inspired geometric loop by generating a series of 90 connected sections. For each section, create a thin triangular prism with a radius of 10mm, acting as a cross-section. Position the center of each prism 20mm away from the central origin.
Arrange these sections in a full circle, rotating each subse... | nombresections = 90;
rayon = 10;
nbrcotes = 3;
tours = 1;
nbrtour = tours/nbrcotes;
moebius();
module moebius()
{
union()
{
for (i=[0:nombresections])
{
union()
{
hull()
{
rotate ([0,0,i*... | glb/cad_d216b873639b.glb |
Create a board game card holder consisting of two identical sets of three card trays, positioned back-to-back. Each individual tray is a rectangular box with an outer width of 45mm, a depth of 67mm, and a total height of 9.6mm. The walls and the base of each tray are 1mm thick.
To form the interior of each tray, creat... | build_plate_selector = 3;
build_plate_manual_x = 200;
build_plate_manual_y = 200;
cards=22;
card_thickness=0.3;
card_width= 43;
card_depth=65;
thickness=1;
card_trays=6;
backtoback=1;
brand1="S";
brand2="W";
base_thickness=2;
tray_height=cards*card_thickness+base_thickness+3;
build_plate(build_plate_selec... | glb/cad_6f2cdda2ede4.glb |
Create a plinth clip designed to hold a cylindrical leg with a diameter of 26mm. Start by creating a base plate as a rounded box with dimensions 26mm wide, 14.6mm deep, and 2.5mm thick, featuring rounded corners with a radius of 6mm.
On top of this base, construct the main clip body. This body is a semi-cylindrical sh... | include <MCAD/boxes.scad>
variablefnparameter = 360;
variablelegDia = 26;
variablescrewDia = 3;
variableclipHeighth = 10;
variablewallThickness = 2;
variablebaseThickness = 2.5;
variablescrewOffset = 0.8;
module plinthClip(legDia,screwDia = variablescrewDia) {
clipHeight = variableclipHeighth;
wallThickness... | glb/cad_7354d47d2d0a.glb |
Create a spherical mold half with a wall thickness of 0.42mm. The interior is a hollow hemisphere with a radius of 20mm. Surround this hemisphere with an outer cylindrical shroud that has a radius of 20.84mm and a total height of 40.84mm.
For the top half of the mold, subtract a vertical filling hole with a radius of... | include <utils/build_plate.scad>
top_or_bottom = "Top";
wall_thickness = .42;
fudge_factor = .01;
fudge_factor2 = 0.1;
mold_size = 20;
fineness = 30;
build_plate_selector = 0;
build_plate_manual_x = 100;
build_plate_manual_y = 100;
translate([0,0,-mold_size-2*wall_thickness]) build_plate(build_plate_sele... | glb/cad_ff78f7b51c5b.glb |
Create a cable clip for holed plates. Start with a central rectangular body measuring 18mm in length, 6mm in width, and 10mm in height, centered on the origin.
At each end of the body (at x = -8mm and x = 8mm), place a vertical cylindrical support with a radius of 3.83mm and a height of 10mm. Within these supports, c... | Hole_Distance=16;
abstand = Hole_Distance;
Hole_Diameter=5;
loch=Hole_Diameter;
Thickness=2.2;
dicke=Thickness;
Height=10;
hoehe=Height;
Fitting_multiplier=1;
fitting=(Fitting_multiplier/8)+0.9;
Amount=1;
if (Amount==1){
clip();
}
if (Amount==4){
translate([(-abstand-loch*1.5-4)/2,(loch/1.5+2... | glb/cad_63c45371d515.glb |
Create a protective table corner guard. Start by constructing a rounded, elongated form using the convex hull of three spheres, each with a radius of 11.5mm. Position these spheres at the following coordinates: one at [22.5, 22.5, 0], one at [22.5, -22.5, 0], and one at [-22.5, -22.5, 0].
From this solid shape, remov... | Table_thickness=15;
Part_edge_length=45;
Part_thickness=4;
Quality=25;
Design_1_or_2=2;
rotate([0,-90,0])rotate([0,0,45])difference(){
if ( Design_1_or_2 == 1)
{
hull(){
translate([Part_edge_length/2,Part_edge_length/2,Table_thickness/2])sphere(Part_thickness,$fn=Quality);
translate([Part_... | glb/cad_5805031db3c0.glb |
Create a pocket hole jig consisting of a main block with angled guide holes. Start with a rectangular guide block that is 30mm deep, 15mm high, and 45mm wide. Attach this to a base that extends outward to form a grip, with the base geometry following a profile that accounts for a 22-degree angle.
Within this block, cr... | holeAngle = 22;
holeSize = 10;
holeDepth = 30;
numberOfHoles = 2;
holeSpacing = 20;
edgeSpacing = 25;
edge = edgeSpacing/100;
width = (numberOfHoles - 1)*holeSpacing + holeSize + 2*edge*holeSize;
offsetWidth = -edge*holeSize - holeSize/2;
guideHeight = (1+2*edge)*holeSize;
ba... | glb/cad_621ed7ef6db5.glb |
Create a rail button guide for a 1515 aluminum extrusion. The object is composed of three stacked coaxial cylinders. Start with a bottom disk that is 16mm in diameter and 3mm high. Centered on top of this disk, add a middle cylinder with a diameter of 7.6mm and a height of 6mm. Cap the structure with a top disk that is... | button_to_make="1515";
man_button_outer_dia=11.1;
man_button_inner_dia=5.8;
man_thickness=1.9;
man_button_middle=3.8;
man_screw_size=3.05;
button_outer_dia=11.1;
button_inner_dia=5.8;
thickness=1.9;
button_middle=3.8;
screw_size=3.05;
button_outer_dia_1515=16;
button_inner_dia_1515=7.6;
thickness_1515=3;
... | glb/cad_afaa86221228.glb |
Create a card organizer by constructing a hollow rectangular sleeve with a total height of 40mm. The main outer body should be a rectangular prism measuring 97mm in width, 22mm in depth, and 40mm in height, with a wall thickness of 1.5mm on all sides. Inside this body, carve out a central cavity of 97mm by 22mm by 40mm... | x = 97;
y = 22;
z = 40;
thk = 1.5;
grip = 10;
tol = 0.15;
translate ([-(thk + x / 2), -(thk + (y - grip) / 2), 0])
difference () {
union () {
cube ([x + 2 * thk, y + 2 * thk, z]);
if (grip > 0)
translate ([-(thk + tol), -grip, 0])
cube ([x + 4 * thk + 2 * tol, grip + thk, z]);
}
translate ([... | glb/cad_e64973fab481.glb |
Create a token holder consisting of three identical vertical cylindrical compartments arranged in a row. Each compartment is formed by a cylinder with an outer diameter of 23mm and a height of 43mm. Inside each of these cylinders, center a coaxial hole with a diameter of 20mm and a height of 40mm, positioned 3mm from t... | diameter = 20;
height = 40;
thk = 3;
count = 3;
grab = 1;
radius = diameter/2;
difference (){
for(i=[0:1:count-1]){
translate([0,(diameter+thk/2)*i,0])
cylinder(h=height+thk, d = diameter+thk);
}
for(i=[0:1:count]){
translate([0,(diameter+thk/2)*i,thk])
cylinder(h=height... | glb/cad_89beb9720306.glb |
Create a mlvm hook with a total height of 80mm, a depth of 50mm, and a material thickness of 10mm. The main body is a U-shaped bracket with rounded corners of 2mm. The base of the U is a semi-circle with a diameter of 50mm, extending from which are two straight vertical arms. One arm is a solid rectangular section 6mm ... | HEIGHT = 80;
DEPTH = 50;
ZTHICKNESS = 10;
LOOPLENGTH = 20;
ROUNDING = 2;
HOLESPACING = 20;
HOLEDIA = 4;
THICKNESS = ZTHICKNESS - ROUNDING*2;
q = .1;
print_part();
module screw() {
rotate([0, 0, 30]) cylinder(h=15+ZTHICKNESS, r=(HOLEDIA+.2)/2, center=true, $fn=6);
translate([0, 0, 15/2]) cylinder(h=5, r... | glb/cad_18225bc28945.glb |
Create a tool clamp consisting of a hollow cylindrical body and a vertical mounting tab. The main body is a cylinder with an outer diameter of 31.7mm and a height of 25.7mm, featuring a concentric inner hole with a diameter of 25.7mm. The wall thickness of this cylinder is 3mm.
Attached to the top of the cylinder is a... | Tool_diameter=25.7;
Wall_thickness=3;
Horizontall_wall_thickness=3;
Mount_thickness=4;
Clamp_gap_wide=22.7;
Stand_hight=51.4;
Mount_hole_metric=3;
$fn=120;
DO=Tool_diameter;
WT=Wall_thickness;
MT=Mount_thickness;
HW=Horizontall_wall_thickness;
CHW=Clamp_gap_wide;
SH=Stand_hight;
MHM=Mount_hole_metric;
mo... | glb/cad_357b3af5b1ee.glb |
Create a knob for an M3 wingnut. The main body is a cylinder with a maximum diameter of 32mm and a height of 10mm. The top and bottom edges of the cylinder feature a 1mm chamfer. The top surface has a central hole with a diameter of 3mm plus a 0.3mm tolerance to accommodate the screw rod.
Within this central hole, cr... | use<text_on.scad>
headIso=3;
headHeight=4;
maxDiameter=32;
minDiameter=25;
maxRadiusChamfer=1;
maxHeight=10;
holderHeight=5 ;
numberOfCuts=10 ;
cutRadius=2.9;
cutOffset=0;
holderChamfer=5;
screwHeadSafetyHeight=0;
$fn=10;
tolerance=.3;
module knob(numberOfCuts,maxRadius,minRadius,maxRadiusChamfer,
... | glb/cad_e68b7c273a17.glb |
Create a tripod antenna mount spacer by starting with a main cylinder that has an outer diameter of 49mm and a height of 58mm. Remove a concentric inner cylinder with a diameter of 21.9mm and a height of 58mm to create a hollow tube.
Cut a thin vertical slot 1mm wide through the center of the tube, extending from the... | outer_ring=49;
tripod_post=21.9;
mount_height=58;
screw_diameter=3;
screw_head_dia=6;
$fn=50;
difference (){
cylinder(d=outer_ring,h=mount_height);
cylinder(d=tripod_post,h=mount_height);
translate ([-0.5,-outer_ring/2-0.01,-.01])
cube([1,outer_ring+2,mount_height+2]);
translate ([-outer_ring/2,-outer_rin... | glb/cad_4f2f8c9a888c.glb |
Create a model consisting of a vertical stack of five identical disc-like layers. Each layer is based on a central cylinder with a radius of 12.5mm and a height of 2mm. From this cylinder, remove a larger central cylinder of the same radius and a height of 14mm to create a hollow ring with a wall thickness of 2mm. Addi... | slide_thickness = 10;
sausage_slides = 4;
sausage_radius = 25/2;
spaghettis =7;
spaghetti_radius = 1.2;
wall = 2;
union() {
for(i=[0:sausage_slides-1]) {
translate([0,(wall+slide_thickness)*i,0])
union(){
difference() {
cube(... | glb/cad_47fe9635f9ff.glb |
Create a helical spur gear with 32 teeth, a module of 1mm, and a total width of 5mm. The gear should have a central bore with a diameter of 4mm. Use a pressure angle of 20 degrees for the involute tooth profile. The gear is designed with a helix angle of 15 degrees relative to the axis of rotation.
To optimize the wei... | spiel = 0.05;
modul=1;
zahnzahl=32;
breite=5;
bohrung=4;
eingriffswinkel=20;
schraegungswinkel=15;
optimiert = 1;
pi = 3.14159;
rad = 57.29578;
$fn = 96;
function grad(eingriffswinkel) = eingriffswinkel*rad;
function radian(eingriffswinkel) = eingriffswinkel/rad;
function pol_zu_kart(polvect) = [
polvec... | glb/cad_1cbe1f4b23bd.glb |
Create a spur gear with 32 teeth, a module of 1mm, and a total width of 5mm. The gear should have a center bore with a diameter of 4mm. Use a pressure angle of 20 degrees for the involute tooth profile.
To optimize the weight and material, create a circular web between the center bore and the outer teeth. This web sho... | spiel = 0.05;
modul=1;
zahnzahl=32;
breite=5;
bohrung=4;
eingriffswinkel=20;
schraegungswinkel=30;
optimiert = 1;
pi = 3.14159;
rad = 57.29578;
$fn = 96;
function grad(eingriffswinkel) = eingriffswinkel*rad;
function radian(eingriffswinkel) = eingriffswinkel/rad;
function pol_zu_kart(polvect) = [
polvec... | glb/cad_d75cef6fabd7.glb |
Create a helical internal gear ring called an mlvm. The object is a hollow cylinder with a height of 5mm and an outer rim width of 4mm extending from the root circle.
The internal bore features 32 involute teeth. Use a module of 1mm and a pressure angle of 20 degrees to define the tooth geometry. The teeth should be ... | spiel = 0.05;
modul=1;
zahnzahl=32;
hoehe=5;
randbreite=4;
eingriffswinkel=20;
schraegungswinkel=15;
pi = 3.14159;
rad = 57.29578;
$fn = 96;
function grad(eingriffswinkel) = eingriffswinkel*rad;
function radian(eingriffswinkel) = eingriffswinkel/rad;
function pol_zu_kart(polvect) = [
polvect[0]*cos(polve... | glb/cad_a776be612332.glb |
Create a 3D model of an internal gear ring called "mlvm". The object is a hollow cylinder with a height of 5mm and an outer rim width of 4mm extending from the root circle.
The internal bore features 32 involute teeth. Use a module of 1mm for the tooth head height and a pressure angle of 20 degrees. The teeth should ... | spiel = 0.05;
modul=1;
zahnzahl=32;
hoehe=5;
randbreite=4;
eingriffswinkel=20;
schraegungswinkel=30;
pi = 3.14159;
rad = 57.29578;
$fn = 96;
function grad(eingriffswinkel) = eingriffswinkel*rad;
function radian(eingriffswinkel) = eingriffswinkel/rad;
function pol_zu_kart(polvect) = [
polvect[0]*cos(polve... | glb/cad_7eeacd3f4604.glb |
Create a Bahtinov mask for a telescope with a total thickness of 2mm. Start with a circular plate having an outer diameter of 215mm and a central circular cutout with a diameter of 71mm. Within this plate, create a pattern of slits to form a diffraction grating. The slits should be 6mm wide and spaced 6mm apart. Arrang... | outerDiameter = 215;
aperture = 203;
centerHoleDiameter = 71;
gap = 6;
module bars(gap, width, num=5) {
num = round(num);
for (i=[-num:num]) {
translate([width/2,i*2*gap]) square([width,gap], center=true);
}
}
module bahtinovBars(gap,width) {
numBars = aperture/2 / gap / 2 -1;
intersec... | glb/cad_3884cc0819b0.glb |
Create a top mount for a Naze flight controller. Start with a base plate that is a rounded square measuring 36mm by 36mm with a thickness of 1.2mm and corner radii of 3mm. Drill four 3mm diameter holes through this base, positioned at the corners such that the distance between the centers of the holes is 30.5mm both ho... | $fn = 40;
nazeDimension = 36;
nazeBaseThickness = 1.2;
nazeHoleToHoleDistance = 30.5;
nazeHoleSize = 3;
nazeLeftSideOpenning = 0;
nazeRightSideOpenning = 0;
antennaLength = 20;
antennaOuter = 3;
antennaInner = 1.85;
frskyWidth = 25;
frskyLength = 31;
frskyTopWidth = 8;
frskyTopHeight = 10;
frskySideWidth ... | glb/cad_2c7ddfdb8731.glb |
Create a slotted disk for timing solenoid motors. Start with a main cylinder that has a radius of 26mm and a height of 4mm.
At the center of this disk, add a cylindrical hub with a diameter of 10mm and a height of 8mm. Drill a concentric hole through the center of the hub and the disk with a diameter of 5mm.
Remove ... | slot_number = 4;
slot_inside_radii = [10, 14, 18, 22];
slot_outside_radii = [11.5, 15.5, 19.5, 23.5];
slot_start_angles = [0, 90, 180, 270];
slot_end_angles = [180, 270, 360, 450];
disk_height = 4;
disk_radius = 26;
hub_height = 8;
hub_diameter = 10;
hub_bore_diameter = 5;
$fn = 100;
slottedDiskWithHub(slot_... | glb/cad_452abcdad0b2.glb |
Create a 3D model of a castle named "mlvm" situated on a low, irregular rocky island. The island should be a rough, organic base approximately 80mm wide and 25mm high.
At the center of the island, construct a main building with a polygonal footprint. Around this central structure, place two recursive turrets. Each tur... | generate_details = "No";
random_seed = 23;
island = "Yes";
children = 2;
max_recursion = 2;
first_level_symmetry = "No";
next_levels_symmetry = "No";
roof_pointed_ratio = 1.8;
building_number_of_sides = 0;
building_height = 0;
building_width = 0;
building_roof_type = 0;
towers_height = 0;
towers_width = 0;... | glb/cad_84bf1a1d82ed.glb |
Create a smartphone holder for a Huawei SCL-L01 in landscape orientation. The main body is a rectangular base with a central cutout to hold the phone. Based on the device dimensions, create a central support block 72mm wide, 143mm long, and 10mm high. Add a wall thickness of 5mm around the edges.
To allow for a chargi... | Modele_de_smartphone="Huawei SCL-L01";
Visualisation="paysage";
Trou_pour_alimentation="oui";
Largeur_du_smartphone=100;
Longueur_du_smartphone=200;
Epaisseur_du_smartphone=10;
Epaisseur_du_support=5;
ObjetFinal();
module ObjetFinal(){
modele=
[
["Huawei SCL-L01",72,143,10],
["iPhone 4",58.6,115.2,9... | glb/cad_c3a170a264b8.glb |
Create a 3D model of the mlvm building, which is a complex architectural structure with a total height of 130mm.
The building is composed of several stacked and interlocking rectangular sections. Start by creating a base rectangular block. Above this, add a series of tiered rectangular volumes that vary in width and ... | part = "ForPrinting";
Bottom_Front_Text="";
Top_Side_Text="";
Top_Front_Text="";
Height=130;
use <write/Write.scad>
fudge = 0.1;
module poly_rect38017(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
difference()
{
linear_extrude(height=h)
polygon([[-77.803585,-410.270195],[-77.803... | glb/cad_cebc28b8e642.glb |
Create a fortress model consisting of a central wall and several towers. Create a main outer wall as a hollowed-out prism with 5 sides, a diameter of 80mm, a height of 35mm, and a thickness of 6mm. Cut a rectangular gate opening through one side of the wall.
Position towers around the perimeter of the wall. Each tower... | generate_details = "No";
random_seed = 42;
probability_of_towers = 1;
probability_of_turrets = 0.5;
max_number_of_turrets = 2;
roof_pointed_ratio = 1.8;
wall_height = 35;
wall_diameter = 80;
wall_sides = 5;
wall_thickness = 6;
towers_height = 40;
towers_width = 23;
towers_number_of_sides = 0;
towers_roof_t... | glb/cad_cacde5b8585a.glb |
Create an S-hook consisting of two connected rings of different sizes joined by a straight bar. The first ring has an inner diameter of 20mm and the second ring has an inner diameter of 15mm. Both rings have a wall thickness of 5mm (which is 25% of the larger diameter). The total height of the object is 5mm.
Position ... | diameter_1 = 20;
diameter_2 = 15;
distance_type = 1;
manual_distance = 30;
ring_strength = 25;
shape = 1;
vent_1_rotation = 0;
vent_2_rotation = 45;
vent_1_strength = 66;
vent_2_strength = 66;
large ... | glb/cad_3ad458c59f5b.glb |
Create a Moebius strip by generating a continuous loop of 46 connected segments. Each segment is a convex hull formed between two small, 4-sided prisms (represented as spheres with 4 facets) that are 1mm in diameter. Position these two prisms 20mm from the center of the model.
For each segment, the first prism is pla... | nombresections = 45;
rayon = 10;
nbrcotes = 2;
tours = 1;
nbrtour = tours/nbrcotes;
moebius();
module moebius()
{
union()
{
for (i=[0:nombresections])
{
union()
{
hull()
{
rotate ([0,... | glb/cad_b8a9b699f821.glb |
Create a miniature wargamer base with a rectangular footprint measuring 25.4mm wide by 50.8mm deep and 3.175mm tall. The sides of the base should be angled inward at 70 degrees from the bottom to the top. Cut a rectangular slot through the center of the base, running from one end to the other, with a length of 12.7mm a... | units=1;
base_width = 1;
base_depth = 2;
base_height = .125;
angle= 70;
shape=4;
slot_type=0;
slot_length = .5;
slot_width = .09;
slot_offset = 0;
base_indent=0;
base_indent_area=95;
hole_shape=0;
hole_radius=.35;
nameplate_type=0;
nameplate_length = 1.5;
nameplate_width = .3;
nameplate_offset = .3;
r... | glb/cad_2f96693aabba.glb |
Create a motor mount for a 28BYJ-48 stepper motor designed for compatibility with LEGO-style building blocks.
Start with a main rectangular housing block. The block should be 32mm wide and 46mm deep. On the top surface, create a large cutout to accommodate the motor body. This cutout consists of a central cylindrical... | motorversatz_x = -5.2;
blocks_x = 4;
screw = 3;
printing="Yes";
hl_enlarge=0.4;
$fn=25;
print = (printing=="Yes");
module stepper_housing() {
difference()
{
union() {
block(6,blocks_x,4.33,axle_hole=false ,reinforcement=true );
translate([0.1,0.1,3]) cube([blocks_x*8-1,46,37]);
}
union() {
unio... | glb/cad_771766c1e4ad.glb |
Create a Bahtinov mask for a telescope. Start with a flat circular disk 2mm thick with an outer diameter of 148.5mm (146mm plus a 2.5mm margin). Within this disk, define a central aperture area with a diameter of 114mm.
Cut a specific pattern of slits into this aperture area: create a series of parallel gaps 5mm wide... | outerDiameter = 146;
aperture = 114;
centerHoleDiameter = 0;
gap = 5;
ringHeight=20;
ringThickness=5;
ringPieces=3;
ringPiece=30;
ringRotation=0;
module bars(gap, width, num=5) {
num = round(num);
for (i=[-num:num]) {
translate([width/2,i*2*gap]) square([width,gap], center=true);
}
}
... | glb/cad_c3d1a94c1227.glb |
Create a chain mail mesh called "mlvm" composed of interlocking hexagonal elements.
Each individual element is a complex 3D polyhedron with a height of 3.1mm (defined by a vertical gap of 0.9mm and bridge thicknesses of 1.3mm). The element features an outer radius of approximately 5.5mm and an inner radius of approxi... | select_object=1;
v_gap=0.9;
h_gap=1.3;
vbt=1.3;
hbt=1.3 ;
dy=1.25 ;
levels=2;
xel=5;
yel=3;
zdim=2*vbt+v_gap;
dx=hbt*2/sqrt(3);
ri=dy+dx+2*h_gap/sqrt(3)*2;
pr = (3*ri+dx+dy)/2 ;
ha=zdim/2;
hb=zdim/2-vbt;
ra=ri+dx;
c3=cos(30); s3=sin(30);
a1x = 0; a1y = -ra; i1x = 0; i1y = -ri; d1=dx;
a2x = -ra... | glb/cad_78ce67564c59.glb |
Create a Braille module named "mlvm" consisting of a rectangular plate with raised hemispherical dots. The plate is 15mm wide, 2mm thick, and has a total length of 74.4mm (calculated as 12 characters multiplied by a 6.2mm distance per character). The plate is anchored at both ends by two thin cylindrical support discs,... | dot_height = 0.8;
dot_offset= -0.3;
spacing = 2.4;
distance = 6.2;
plate_height = 15;
plate_thickness = 2;
plate_corner = 4;
support_disc = true;
support_disc_r = 15;
support_h = 0.3;
chars = ["M","A","C","H","U"," ","P","I","C","C","H","U"];
char_count = 12;
$fn = 20;
module letter(bitmap) {
row_size = ... | glb/cad_cc6419309415.glb |
Create a nut trap called mlvm. The object has a total height of 1.67mm. Start with a central cylinder of radius 5mm and height 1.67mm. From this cylinder, remove a hexagonal prism with a flat-to-flat width of 5mm and height 1.67mm, centered on the Z-axis. Also remove a rectangular block measuring 10mm by 10mm by 1.67mm... | $fn=50*1;
nut = 5;
height = nut * .33333333;
buns_scale = .80*1;
union(){
jaws(nut);
CinnamonBuns(nut*buns_scale, (nut/2)*buns_scale, height, nut);
}
module jaws(x = 4, z = 2) {
translate([0,0,height/2])
difference(){
cylinder(h = height, r =x, center = true);
translate([x/5,0,0])
union(){
hex... | glb/cad_95177ebd59f6.glb |
Create a double helical gear consisting of two mirrored gear halves joined at a central plane. Each gear half is a spur gear with 25 teeth, a circular pitch of 500mm, and a pressure angle of 30°.
The gear features a central bore with a diameter of 10mm. The hub has a diameter of 25mm and a height of 60mm (calculated ... | teeth = 25;
holes = 6;
height = 40;
gear_twist = 700;
pressure_angle= 30;
circular_pitch = 500;
clearance = 0.2;
rim_width = 5;
hub_diameter = 25;
bore_diameter = 10;
hub_height_multiplier = 3;
gear_thickness_multiplier = .75;
double_gear_yes_or_no = "yes";
if (double_gear_yes_or_no != "yes"){
height ... | glb/cad_06bae992bba2.glb |
Create a UMD Memory Stick Duo keeper with a total thickness of 4.2mm. The main body is based on a circular outline with a radius of 32mm, but it is modified by a larger circular cutout with a radius of 65mm centered at [35, 0, 0] and a rectangular section measuring 22.1mm by 58mm centered on the x-axis.
In the center ... | tolerance = -0.15;
$fn = 128;
R1 = 32;
R2 = 70;
R3 = 5;
R8 = 1.8;
L1 = 65;
L3 = 64;
L6 = 20.5;
L7 = 26.3;
L9 = 4.2;
L10 = 3.6;
L11 = 41;
L12 = 3.6;
L13 = 4.6;
L16 = 35.8;
L17 = 9.8;
L18 = 17.4;
L19 = 2.2;
D2 = 3.6;
D5 = 18;
cor = 4.18;
*difference(){
baseShape();
translate([-19,0,0])
... | glb/cad_4f4298b1a1ba.glb |
Create two PSU end covers: a power-side cover and a blank-side cover.
For the power-side cover, create a main block 115mm wide, 54.9mm high, and 80mm deep. Hollow out the center by removing a block 111mm wide, 50.9mm high, and 78mm deep, leaving a 2mm wall. Add two cylindrical feet with a 5mm radius at the top corners... | height = 50.9;
width = 111;
power_side_depth = 80;
blank_side_depth = 27.2;
PWR_Block_len = 47.7;
PWR_Block_height = 27.6;
DC_Type = 2;
DC_power_diameter = 8.0;
translate ([0,(height/2)+9,0]) power_side();
translate ([0,-(height/2),0]) blank_side();
module power_side() {
difference() {
union() {... | glb/cad_cf2e6110249f.glb |
Create a Wrench Table Holder consisting of a central base and two supporting braces. The central base is composed of two mirrored rectangular plates, each 100mm long, 20mm wide, and 1.5mm thick, with rounded corners of 3mm radius. Each plate features five vertical slots cut through the thickness; these slots are formed... | $fn = 40;
topBrace = 90;
bottomBrace = 60;
thickness = 2.5;
baseWidth = 20;
baseHeight = 25;
baseThickness = 1.5;
braceWidth = 10;
braceThickness = 1.5;
drawBraces();
drawSides(100, 5);
module drawBraces() {
translate([0, braceWidth + baseWidth + 20, 0]) drawBrace(topBrace);
translate([0, braceWidt... | glb/cad_5f028c255ead.glb |
Create a support plate for a smart doorlock B-plate with a total thickness of 9.5mm. The main body is a rounded rectangle with a width of 54mm and a length of 66mm, centered on the keyhole. At one end, integrate a semi-circular head with a radius of 25mm.
From this solid volume, remove the following features to create... | $fs = 0.1;
$fa = 3;
rounded = 1;
depth = 9.5;
head_radius = 25;
body_width = 54;
body_length = 66;
cutout_width = 31;
cutout_length = 61;
cutout_depth_offset = 0.4;
screwhole_diameter = 12;
screwhole_distance = 45;
rotate([0,180,0]) difference () {
union () {
linear_extrude(depth) circle(head_... | glb/cad_c9d803d866c2.glb |
Create an Olympic Medal Holder consisting of a conical base and a slot for a medal. Construct the base as a truncated cone with a height of 20mm, a bottom diameter of 90mm, and a top diameter of 85mm.
Cut a slot into the top of the base to accommodate a medal. The slot is formed by a cylinder with a diameter of 85mm ... | Diameter = 85;
Thickness = 6;
Medal_angle = 8;
Insertion_depth = 12;
Slide = 5;
Show_medal = true;
Base_height = 20;
Base_shape = "Round";
Base_Diameter = 90;
Top_Diameter = 85;
Rect_Width = 80;
Rect_Depth = 60;
Show_text = true;
Label = "2016 Olympics";
Extrusion = 2;
Label_Height = 8;
Label_slide = 4;... | glb/cad_11a200ef6313.glb |
Create a skateboard truck riser wedge. The main body is a rounded rectangular slab with a width of 53.28mm (41.28mm truck width plus two 6mm borders) and a length of 75.5mm (63.5mm old-school spacing plus two 6mm borders). The slab is wedge-shaped, sloping from a height of 6mm at the inner mounting hole to a higher ele... | Hole_dia = 5.0;
Hole_pattern = "Double";
Border_width = 6;
Rounding = 4;
Height_inner_mounthole = 6;
Wedge_angle = 5;
Weight = "Braced";
Show_more = true;
Axle_offset = 25;
Axle_height = 67;
Deck_thickness = 12;
Truck_thickness = 3;
Truck_width = 41.28;
New_school = 53.98;
Old_school = 63.5;
thin = 0.001... | glb/cad_1574cf11c73c.glb |
Create a geometric planter with a matching drainage dish. For the main planter, start with a sphere of radius 40mm, using a 40-facet resolution to give it a faceted, polygonal appearance. Position this sphere so its center is at a height of approximately 24.5mm. Hollow out the center by removing a cylinder with a radiu... | rad=40;
centerHole = 20;
drainHole = 3;
baseHeight= 8;
drainPipeWidth= 5;
dishDepth= 5;
angle = 40;
difference() {
translate ([0, 0, .63*(rad*cos(.5*angle)-1) ])
sphere($fa=angle, rad );
translate([0,0,3,])
cylinder($fa=angle, 2*rad,centerHole,centerHole);
translate([-rad,-rad,-r... | glb/cad_63f2c75dd451.glb |
Create a parametric divider box and lid designed to hold items 65mm tall. The main box is a rectangular container with a floor thickness of 1.6mm and outer walls of 1.6mm. The interior features a grid of 27 holes arranged in 3 rows and 9 columns. Each hole is a square measuring 7.7mm by 7.7mm, separated by internal div... | generateLid=1;
generateBox=1;
itemHeight=65;
holeSize=7.0;
holeTolerence=0.7;
lidWidthTolerence=0.3;
lidLengthTolerence=0.3;
rows=3;
columns=9;
lidWallWidth=1.6;
wallWidth=1.6;
dividerWidth=2;
boxHeightPercentage=0.75;
dividerHeightPercentage=0.75;
boxWidth=max(((dividerWidth*(columns-1))+(((holeSize+hole... | glb/cad_5c2714073ce6.glb |
Create a servo motor horn with a total thickness of 4mm. Start with a central cylinder of radius 4.5mm. From this center, extend 4 equidistant arms spaced 90 degrees apart. Each arm should be a rectangular strip with a width of 2.1mm and a length extending to a maximum radius of 15mm from the center. The end of each ar... | HoleSize=2.1;
ArmNumber=4;
MinimumRadius=6;
MaximumRadius=15;
HolesPerArm=3;
Thickness=4;
$fn=36;
dgamma=360/ArmNumber;
difference() {
union() {
cylinder(r=4.5,h=Thickness);
for(n=[0:ArmNumber]) {
arm(dgamma*n);
}
}
union() {
cylinder(r=1.5,h=Thickness*3,center=true);
translate([0,0,Thi... | glb/cad_a830533bc712.glb |
Create a Wrench Table Holder consisting of two horizontal base plates and two vertical support braces.
First, create two identical base plates. Each plate is a rounded rectangle 100mm long, 20mm wide, and 1.5mm thick. In each plate, create five equidistant vertical slots for wrenches. Each slot is 2.5mm wide and 25mm... | $fn = 40;
topBrace = 90;
bottomBrace = 60;
thickness = 2.5;
baseWidth = 20;
baseHeight = 25;
baseThickness = 1.5;
braceWidth = 10;
braceThickness = 1.5;
maleSocket = 2.2;
femaleSocket = 2;
drawBraces();
drawSides(100, 5);
module drawBraces() {
translate([0, braceWidth + baseWidth + 20, 0]) drawBrace(t... | glb/cad_8287e1373ce4.glb |
Create a spur gear named "mlvm" with 50 teeth. The gear should have a thickness of 19.05mm and a bore diameter of 22.8mm.
The gear teeth must be designed with a pressure angle of 14.5 degrees and a diametral pitch of 0.5511811023622047244094881889764.
In the center of the gear, create a keyway that is 6.6mm wide an... | Teeth = 50;
Bore_Diameter=22.8;
Keyway_Width=6.6;
Keyway_Depth=4.6;
use <write/Write.scad>
Thickness=19.05;
PressureAngle=14.5;
DiametralPitch=0.55118110236220472440944881889764;
if (TeethSet == undef)
{
Gear(Teeth);
} else {
GearSet(Teeth,TeethSet);
}
module GearSet(Gear1, Gear2){
difference(){
... | glb/cad_e0249450603b.glb |
Create a Deathly Hallows symbol charm with a thickness of 2mm and an overall size of 30mm. The design consists of three primary geometric elements merged into a single piece. First, construct an equilateral triangle with a wall thickness of 2mm. Inside this triangle, center a circle with a radius of 15mm, also with a w... | charmThickness=2;
charmSize=30;
clasp = "yes";
claspHoleSize=3;
claspThickness=2;
deathlyHallowsSign(charmSize,charmThickness, clasp, claspHoleSize,claspThickness);
module deathlyHallowsSign(size=30,thickness=2,clasp = "yes", holeSize=1.5, claspThick) {
scale(size/30)
linear_extrude(thickness/(size/30),... | glb/cad_b28dd83d9575.glb |
Create a hot end mount for securing a 20mm x 40mm aluminum extrusion bar to a wall.
Start by creating a wall mounting plate with a thickness of 10mm. The plate should be 40mm high and 3mm deep, featuring two 5mm diameter holes for fasteners positioned inside the overall height. Use a 1mm fillet radius on the corners ... | barWidth = 20;
barHeight = 40;
barStyle = 2;
clampWidth = 10;
clampStyle = 2;
clampSepDistance = 2;
clampHoleDiameter = 5;
clampLength = 50;
clampMat = 3;
clampMidGap = barHeight - (10 * 2);
clampSlop = .1;
flangeHolePlace = "inside";
flangeHoleDiameter = 5;
insideRad = 1;
barFilletRadius = 1;
clampFille... | glb/cad_1189b0b53bd9.glb |
Create a rod connector consisting of two stacked concentric cylindrical shells. First, create a main hollow cylinder with an outer radius of 6.35mm and an inner hole radius of 3.3mm, extending to a total height of 14mm. This main section should be hollowed out from the bottom, leaving a solid base floor 1.5mm thick at ... | Rodiam = 6.2;
Rodlen = 12.5;
EndRodiam = 6.45;
EndRodlen = 9;
tolerance = 0.4;
walls = 3;
solidlen = 1.5;
$fn=50;
union(){
difference(){
cylinder(r=(Rodiam+tolerance+walls)/2, h=Rodlen+solidlen);
translate([0,0,-2])cylinder(r=(Rodiam+tolerance)/2, h=Rodlen+2);
}
translate([0,0,R... | glb/cad_09d8aae9ee1f.glb |
Create a 3D nameplate for the text "KK4FVC". Use a bold, sans-serif font similar to Passion One. Extrude the text to a height of 10mm.
The letters should have a font size of 38.1mm. To ensure the model is a single connected piece, add a rectangular connecting bar along the baseline of the text. This bar should have a... | textstring="KK4FVC";
fontname="Passion One";
RoundedBase=0;
do_shift_font="automatic";
textsize=38.1;
textheight=10;
baseheight_percent=.33;
baseheight=textheight*baseheight_percent;
basethickness_percent=0.1;
basethickness=textsize*basethickness_percent;
font_catch_diacritical_sign=2.3;
base_radius_add_perc... | glb/cad_f4ae63700039.glb |
Create a two-part spool system consisting of a hub assembly and a matching flange.
For the first part, create a circular flange with an outer diameter of 80mm and a thickness of 1mm. Attached to this flange is a central hub with an outer diameter of 40mm and a total height of 20mm. The hub has a central vertical hole... | part = "all";
flange_outer_diameter = 80;
hub_outer_diameter = 40;
hub_inner_diameter = 25;
spool_width = 20;
use_flange_cutouts = 0;
cable_hole_diameter = 3;
flange_thickness = 1;
structure_thickness = 1;
socket_depth = 3;
socket_clearance = 0.5;
web_count = 5;
flange_web_thickness = 5;
socketod = (hub_in... | glb/cad_0514a05b0065.glb |
Create a cord-wrapped base for an Amazon Echo. Start by constructing a main outer cylinder with a diameter of 104.8mm (the sum of the 84.8mm base diameter and 20mm wire storage area) and a height of 25mm. From this, remove a central cylinder with a diameter of 84.8mm and a height of 25mm, starting 3mm from the bottom, ... | echo_base = 84.8;
wire_storage = 20;
wall = 3;
sides = 150;
fin_count = 4;
echo_base();
module echo_base(){
difference() {
union() {
translate([0,0,0]) rotate([0,0,0]) cylinder(22+wall,(echo_base+wire_storage+(wall*2))/2,(echo_base+(wall*2))/2, $fn=sides, true);
for (i... | glb/cad_43f360c061c2.glb |
Create a customizable grid for a speedlight. Start with a base plate 125mm wide, 75mm high, and 10mm thick. The base should have rounded ends with a radius of 37.5mm. In the center of this plate, create a rectangular cutout measuring 75mm by 53mm.
Fill this central cutout with a hexagonal mesh. Each hexagon should hav... | twoSidedHole = "yes";
hexRadius=7.5;
showHexRadiusAsLabel = "no";
outerWidth = 125;
outerHeight = 75;
outerRadius = outerHeight/2;
baseHeight = 10;
innerWidth = 75;
innerHeight = 53;
holeDiameter = 6.5;
holeDepth = 3.15;
holeDistance = 6+0.5*holeDiameter;
hexBorderWidth=0.31;
yStepHeight=2*sqrt(3/4*hexRadi... | glb/cad_2e79d3acc3e4.glb |
Create a rectangular tool box with outer dimensions of 90mm width, 60mm length, and 60mm height. The box features a base and four outer walls, each with a thickness of 1.5mm. Inside the box, add three thin separator walls, each 1mm thick. Position one separator wall to run the full 90mm width and another to run the ful... | wallThickness = 1.5;
boxWidth = 90;
boxLength = 60;
boxHeight = 60;
separatorTopGap = 5;
separatorThickness = 1;
drawBox();
drawSeparators();
module drawSeparators() {
separatorVertGrid = boxWidth/4;
translate([-boxWidth/2, 0, 0]) cube([boxWidth, separatorThickness, boxHeight-separatorTopGap]);
t... | glb/cad_e765fe24113d.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.