Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create an espresso coffee tamp by constructing a base and a handle. Start with a cylindrical base that has a radius of 25.5mm and a height of 12mm. Centered on top of this base, create a handle that begins as a tapered cylinder rising from the center; this section should transition from a radius of 6mm at the bottom to... | difference(){
union(){cylinder(h=12,r1=25.5,r2=25.5,center=true);
translate([0,0,35])cylinder(h=50,r1=6,r2=16,center=true);
sphere(16);
translate([0,0,60])sphere(16);
}
translate([0,0,-12])cylinder(h=12,r1=25.5,r2=25.5,center=true);
} | glb/cad_ba61fc99c746.glb |
Create a hollow cylinder for an RC Tank Double Gearbox DC Motor. The outer wall should be a cylinder with a diameter of 13.5mm and a height of 8mm, centered on the origin. Remove a smaller concentric cylinder from the center with a diameter of 20mm and a height of 3.5mm, also centered on the origin, to create the inter... | difference(){
cylinder(13.5,8,8,center=true);
cylinder(20,3.5,3.5,center=true);
} | glb/cad_8a8a031395f6.glb |
Create a spur gear for an RC tank gearbox with 59 teeth. The gear should have a circular pitch of 182mm and a pressure angle of 11 degrees.
The gear's main body has a thickness of 9mm and a rim thickness of 10mm. The rim width is 3.0mm. The gear features a central hub with a thickness of 8mm and a diameter of 16mm, w... | r1=4;
d1=12;
I=6;
difference(){
gear (
number_of_teeth=59,
circular_pitch=182,
pressure_angle=11,
clearance = 0.5,
gear_thickness = 9,
rim_thickness = 10,
rim_width = 3.0,
hub_thickness =8,
hub_diameter=16,
bore_diameter=8.5,
circles=6);
}
pi=3.1415926535897932384626433832795;
module gear (
number_of_tee... | glb/cad_d44a2e1c994c.glb |
Create a spur gear for an RC tank gearbox. The gear should have 23 teeth with a circular pitch of 183mm and a pressure angle of 11 degrees.
The gear's main body has a thickness of 10mm. Incorporate a rim with a width of 3mm and a thickness of 10mm. The gear must feature a central hub with a diameter of 18mm and a thi... | r1=4;
d1=12;
I=6;
difference(){
gear (
number_of_teeth=23,
circular_pitch=183,
pressure_angle=11,
clearance = 0.5,
gear_thickness = 10,
rim_thickness = 10,
rim_width = 3.0,
hub_thickness =10,
hub_diameter=18,
bore_diameter=8.5,
circles=0);
}
pi=3.1415926535897932384626433832795;
module gear (
number_of_t... | glb/cad_bb8ecf9447dd.glb |
Create a spur gear for an RC tank gearbox with 67 teeth. The gear should have a circular pitch of 183mm and a pressure angle of 11 degrees.
The gear's main body has a thickness of 9mm and a rim thickness of 10mm. The rim width is 3.0mm. The gear features a central hub with a thickness of 8mm and a diameter of 20mm, w... | r1=4;
d1=12;
I=6;
difference(){
gear (
number_of_teeth=67,
circular_pitch=183,
pressure_angle=11,
clearance = 0.5,
gear_thickness = 9,
rim_thickness = 10,
rim_width = 3.0,
hub_thickness =8,
hub_diameter=20,
bore_diameter=8.55,
circles=6);
}
pi=3.1415926535897932384626433832795;
module gear (
number_of_te... | glb/cad_f933f1729f91.glb |
Create a gearbox chassis for an RC tank. Start with a central rectangular base measuring 67mm by 64mm with a height of 12mm. At each of the four corners of this base, add a square block measuring 12mm by 40mm by 10mm, centered such that they extend outward from the main body.
From this combined structure, remove a ce... | r32=34;
r40=30;
r12=27;
r8=12;
r10=r8+1;
difference(){
union(){
translate([0,0,0])cube(size=[67,64,r8],center=true);
}
translate([28,26.5,5])cylinder(22,3.5,3.5,center=true);
translate([-28,26.5,5])cylinder(22,3.5,3.5,center=true);
translate([28,-26.5,5])cylinder(22,3.5,3.5,center=true);
translate([-28,-26.5,5])cylin... | glb/cad_d9156027674c.glb |
Create a spur gear for an RC tank gearbox. The gear should have 17 teeth with a circular pitch of 183mm and a pressure angle of 11 degrees.
The gear's overall thickness is 10mm, with a rim thickness of 10mm and a rim width of 3mm. Include a central hub with a thickness of 10mm and a diameter of 14mm, and a central bo... | r1=4;
d1=12;
I=6;
difference(){
gear (
number_of_teeth=17,
circular_pitch=183,
pressure_angle=11,
clearance = 0.5,
gear_thickness = 10,
rim_thickness = 10,
rim_width = 3.0,
hub_thickness =10,
hub_diameter=14,
bore_diameter=8.0,
circles=0);
}
pi=3.1415926535897932384626433832795;
module gear (
number_of_t... | glb/cad_f2a59564fe34.glb |
Create a gearbox mount for a DC motor by starting with a central cylinder that has a radius of 21.9mm and a height of 10mm. Surround this central cylinder with a rectangular frame formed by four intersecting blocks: two blocks measuring 12mm by 40mm by 10mm positioned symmetrically along the X-axis, and two blocks meas... | difference(){
union(){
translate([0,0,0])cube(size=[67,64,8],center=true);
}
translate([28,26.5,5])cylinder(22,3.5,3.5,center=true);
translate([-28,26.5,5])cylinder(22,3.5,3.5,center=true);
translate([28,-26.5,5])cylinder(22,3.5,3.5,center=true);
translate([-28,-26.5,5])cylinder(22,3.5,3.5,center=true);
translate([0,... | glb/cad_53857d3bad6f.glb |
Create a gearbox housing for an RC tank by starting with a central rectangular block measuring 65mm in length, 22mm in width, and 8mm in height, centered on the origin. From this main body, remove a smaller rectangular section from the top center that is 45mm long, 14mm wide, and 11mm high, centered on the origin, to c... | difference(){
cube(size=[65,22,8],center=true);
translate([28,6,0])cylinder(12,3.5,3.5,center=true);
translate([-28,6,0])cylinder(12,3.5,3.5,center=true);
translate([0,5,0])cube(size=[45,14,11],center=true);
} | glb/cad_1dc9079f20be.glb |
Create a gearbox housing for a DC motor by starting with a central rectangular block measuring 25mm wide, 62mm long, and 20mm high, centered on the origin. Remove a large central cylinder with a radius of 11.5mm and a height of 20mm from the top of the block. Additionally, create two transverse holes that pass complete... | difference(){
union(){
translate([0,0,0])cube(size=[25,62,20],center=true);
}
translate([0,0,5])rotate([0,90,0])translate([0,25.5,0])cylinder(40,3.5,3.5,center=true);
translate([0,0,5])rotate([0,90,0])translate([0,-25.5,0])cylinder(40,3.5,3.5,center=true);
translate([0,0,12])cylinder(20,11.5,11.5,center=true);
trans... | glb/cad_26cb626ca2e2.glb |
Create an RcTank Double GearBox DCMotor consisting of two meshing bevel gears.
First, construct a bevel gear with 17 teeth, a cone distance of 100mm, and a bore diameter of 20mm. This gear should have a flat finish, meaning the top is sliced to provide a full pitch face.
Second, create a matching bevel gear with 17 ... | bevel_gear_pair ();
pi=3.1415926535897932384626433832795;
r1=10;
d=24;
module bevel_gear_pair (
gear1_teeth = 17,
gear2_teeth = 17,
axis_angle = 90,
outside_circular_pitch=360)
{
outside_pitch_radius1 = gear1_teeth * outside_circular_pitch / 360;
outside_pitch_radius2 = gear2_teeth * outside_circular_pitch / 36... | glb/cad_52fb60b7d4b7.glb |
Create a spool container filament port by starting with a rectangular block measuring 25mm in width, 40mm in length, and 3mm in height. Drill five vertical holes completely through the block. Place four of these holes at the corners, each with a radius of 1.6mm; position these holes 5mm from the edges of the block. Fin... | $fn=200;
difference() {
cube([25, 40, 3]);
translate([5, 5, -1.25])
cylinder(5, r=1.6);
translate([20, 5, -1.25])
cylinder(5, r=1.6);
translate([5, 35, -1.25])
cylinder(5, r=1.6);
translate([20, 35, -1.25])
cylinder(5, r=1.6);
translate([12.5, 20, -1.25])
cylinder(5, r=2.1);
} | glb/cad_eb75b32a9454.glb |
Create a spool container filament port consisting of two stacked cylinders. Start by creating a wide, short base cylinder with a radius of 4mm and a height of 3mm. Centered on top of this base, add a second, taller cylinder with a radius of 1.85mm and a height of 20mm. Ensure both cylinders have a high facet resolution... | $fn=200;
cylinder(3, r=4);
cylinder(20, r=1.85); | glb/cad_cf4f72662187.glb |
Create a filament port guide starting with a rectangular base measuring 25mm by 40mm with a thickness of 3mm. Centered on top of this base, add a conical protrusion that rises 10mm, tapering from a bottom radius of 8mm to a top radius of 4mm. To finish the piece, create five vertical cylindrical holes that pass complet... | $fn=200;
difference() {
union() {
cube([25, 40, 3]);
translate([12.5,20,3])
cylinder(h=10, r1=8, r2=4);
}
translate([5, 5, -1.25])
cylinder(5, r=1.6);
translate([20, 5, -1.25])
cylinder(5, r=1.6);
translate([5, 35, -1.25])
cylinder(5, r=1.6);
translate([20, 35, -1.25])
cylinder(5, r=1.6)... | glb/cad_e95c44ba57c1.glb |
Create a Work Table Trash Bag Holder by starting with a rectangular base measuring 41.5mm in width, 40mm in depth, and 3mm in height. From this base, remove a rectangular section starting 16.5mm from the front edge, extending to the back and side, with a height of 1mm and a depth of 5mm, to create a slot for a table ed... | t=16.5;
translate([0,0,0])cube([2,70,3]);
difference() {
cube([t+25,40,3]);
translate([t,2,-1])cube([31,1,5]);
translate([t+25,23,-1])cylinder(r=16,h=5);
}
translate([t+2,40,0]) cube([4,30,10]);
difference() {
translate([t+2,40,0]) cube([23,6,3]);
translate([t+5,43,-1])cube([30,1,5]);
} | glb/cad_a0eb6234ff33.glb |
Create a direct-drive hinged extruder for an E3D/J-Head hot-end. Construct the base by combining a 3mm thick lower section and a 14mm thick upper section based on the provided profile, adding a cylinder with a 5mm radius and 5mm height at position [15.5, -15.5, 0] to support the idler hinge.
Subtract the following fr... | x_filament = 4.4;
z_filament = 9.5;
x_idler = 10;
module mk8() {
translate([0,0,z_filament])
rotate_extrude(convexity = 10, $fn = 100)
import (file = "MyExtruder_v1.2.dxf", layer = "mk8");
}
module base() {
difference() {
union() {
linear_extrude(height = 3, center = false, convexity = 10)
import (file... | glb/cad_93351877da35.glb |
Create a VESA 75 to VESA 100 adapter plate with a total height of 9mm.
Start by creating a square outer ring with an external dimension of 110mm x 110mm and a thickness of 9mm. Within this ring, create a central square cutout of 80mm x 80mm. To lighten the ring, add four oval cutouts centered on each side, each 24mm ... | test_piece=false;
vesa_75_nut=false;
vesa_100_nut=true;
outer_ring_option=true;
center_piece_option=true;
outer_ring_cutouts_option=true;
plate_height=9;
m4_thread_diameter=5.2;
m4_nut_diameter=9.5;
m4_washer_diameter=10.2;
m4_head_depth=4;
mount_chunkiness=2;
cutout_width=10;
cutout_length=24;
cutout_gap=5;
if(... | glb/cad_00db82820a38.glb |
Create a MicroOpto EndStop mount starting with a square base plate measuring 36mm by 36mm with a thickness of 3mm. At the four corners of this plate, create four circular holes with a radius of 1.6mm, each 3mm deep.
Attached to the side of the base plate, construct a bracket that is 36mm wide, 6mm thick, and 10mm hig... | BP = 36;
MD = 26;
module motor_mount(){
difference(){
translate([-BP/2,-BP/2,0])
cube(size = [BP,BP,3], center = false);
cylinder (h = 3, r=12.5, center = false, $fn=60);
translate([ MD/2, MD/2,0])cylinder (h = 3, r=1.6, center = false, $fn=60);
translate([ MD/2,-MD/2,0])cylinder (h = 3, r=1.6, center... | glb/cad_35d8e7f5af4f.glb |
Create a MicroOpto EndStop bracket. Start with a main rectangular base measuring 35.5mm in length, 4mm in width, and 10mm in height, centered on the Z-axis. At one end of the base, integrate a clamping section that is 11mm long, 4mm wide, and 10mm high. Within this clamping section, create a semi-circular cutout with a... | bw = 4;
bh = 10;
cl = 11;
ad = 6+0.00;
hd = 3;
nd = 6;
mhd = 2.5+0.00;
ai = 0.75;
xw = 0.4;
mhs = 9.5+0.05;
offset = 5;
bl = cl + ad / 2 + (bw - ai) + hd * 3 + mhs + offset;
translate([0,0,bh/2]){
difference(){
union(){
cube([bl,bw,bh], center = true);
translate([-bl/2 + cl/2,bw + ad - 2*ai,0])
cube([cl,bw... | glb/cad_3bcf3e468af0.glb |
Create a license plate clip starting with a central rectangular block measuring 26.6mm wide, 18mm deep, and 16mm high, centered on the origin. Remove a central rectangular volume of 18mm by 18mm by 20mm, shifted 2.5mm along the Y-axis and 8.4mm along the Z-axis, to create a hollowed-out section. Carve out two vertical ... | difference(){
translate([0,0,0])
cube([26.6,18,16],center=true);
translate([-13,-7,0])
cube([2,20,22],center=true);
translate([13,-7,0])
cube([2,20,22],center=true);
translate([0,2.5,8.4])
cube([18,18,20],center=true);
translate([0,5,0])
cube([18,18,20],center=true);
translate([-6.5,-... | glb/cad_e9f42515c19c.glb |
Create an atom model by starting with a sphere that has a radius of 15mm, centered at a height of 9mm along the Z-axis. From this main sphere, remove a smaller sphere with a radius of 7.5mm positioned at a height of 1.5mm on the Z-axis. Additionally, remove two small cylinders, each with a radius of 1.4mm and a length ... | difference() {
translate ([0,0,9]){
sphere (15);
};
union () {
translate ([-15,-15,-29]){
cube (30);
};
translate ([0,0,1.5]){
sphere ( 7.5);
};
translate ([5.9,0,2]){
rotate ([0,90,0]){
cylinder (5, 1.4, 1.4);
};
};
translate ([-10.9,0,2]){
rotate ([0,90,0]){
cylinder (5, 1.4, 1.4);
};
};
};
}; | glb/cad_5346c20eb90e.glb |
Create an atom model by starting with a sphere that has a radius of 17mm, centered at a height of 11.5mm on the Z-axis. From this sphere, remove several geometric shapes to create internal voids. First, remove a cube with side lengths of 30mm, 10mm, and 50mm, positioned at x=-15, y=1, and z=-25, but rotate this cube 30... | difference() {
translate ([0,0,11.5]){
sphere (17);
};
union () {
translate ([0,0,0]){
union () {
translate ([-15,-15,-29]){
cube (30);
};
translate ([0,0,1.5]){
sphere ( 7.5);
};
translate ([5.9,0,2]){
rotate ([0,90,0]){
cylinder (5, 1.4, 1.4);
};
};
translate ([-10.9,0,2]){
rotate ([0,90,0]){
cylinder (5,... | glb/cad_972d3a982f4a.glb |
Create an atom model consisting of a central ring with two protruding arms. Start by creating a main cylinder with a radius of 7mm and a height of 7mm. Remove a smaller concentric cylinder from the center with a radius of 3.4mm and the same 7mm height to create a hollow ring. Then, add two smaller cylinders, each with ... | union () {
difference (){
cylinder (2,7,7);
cylinder (2,3.4,3.4);
};
translate ([5.9,0,1]){
rotate ([0,90,0]){
cylinder (4, 1.1, 1.1);
};
};
translate ([-9.9,0,1]){
rotate ([0,90,0]){
cylinder (4, 1.1, 1.1);
};
};
}; | glb/cad_d2f3a31d220c.glb |
Create an atom model by starting with a sphere that has a diameter of 32mm. Remove material from this sphere using three identical cutout shapes, each positioned and rotated differently to create symmetrical openings. Each cutout shape consists of a rectangular block measuring 30mm by 10mm by 50mm, combined with a sphe... | difference () {
sphere (16);
union () {
translate ([0,0,12]) {
rotate ([90,0,0]) {
union () {
translate ([-15,1,-25]){
cube ([30,10,50]);
}
union () {
translate ([0,0,1.5]){
sphere ( 7.5);
};
translate ([5.9,0,2]){
rotate ([0,90,0]){
cylinder (5, 1.4, 1.4);
};
};
translate ([-10.9,0,2]){
rotate ([0,90,0]){
cylinder (5,... | glb/cad_979129e2aacc.glb |
Create an Atomizer Storage and Display Stand consisting of a main container and a separate lid. For the container, create a smooth cylinder with an outer diameter of 24.2mm and a total height of 70.6mm. Hollow out the center to create a storage well with an inner diameter of 23mm and a depth of 70mm, leaving a solid ba... | diameter = 23;
bottom = 0.6;
wall = 0.6;
height = 70;
lidHeight = 6;
clearance = 0.1;
part = "all";
radius = diameter / 2;
total = height + bottom;
printPart();
module printPart() {
if(part == "container") container();
else if(part == "lid") lid();
else {
container();
translate([diameter + cleara... | glb/cad_450e7ada9704.glb |
Create a pencil clip consisting of a main cylindrical body and a hollowed-out gripping section. Start by creating a solid cylinder with a diameter of 15mm and a total height of 60mm (the sum of a 20mm barrel length and a 40mm clip length). This cylinder should have a high facet count to appear smooth and round.
Inside... | Pencil_Dia = 8.9;
Barrel_Dia = 15;
Barrel_Length = 20;
Barrel_Sides = 100;
Clip_Thickness = 5;
Clip_Length = 40;
Clip_Shape = 60;
Slot_Width = 2;
Clip();
module Clip(){
difference() {
Body();
translate([0,0,-1]){cylinder((Clip_Length+Barrel_Dia+5),(Pencil_Dia/2),(Pencil_Dia/2),$fn=60,false);
... | glb/cad_a03dc8ddbe08.glb |
Create a Stepper Motor Cowling designed as a hollow rectangular sleeve. Start with a solid block that is 32mm wide, 32mm deep, and 47mm tall, applying a 10mm radius fillet to all exterior vertical edges. Hollow out the center by removing a smaller rectangular volume with the same 47mm height, leaving a wall thickness o... | length=47;
cube=32;
corner=10;
offset=10;
translate([0,0,length/2])
difference() {
minkowski() {
cube([cube,cube,length],center=true);
cylinder(r=corner);
}
translate([0,0,1.2])
minkowski() {
cube([cube,cube,length],center=true);
cylinder(r=corner-1);
}
translate([0,0,-length/2]) {
cylinder(r=19,h=4);
fo... | glb/cad_df283055bd99.glb |
Create a 3D model of a decorative name ring based on the text "LUKA". The core of the design is a complex geometric intersection of three extruded shapes. First, create a central 3D element by intersecting three linear extrusions, each 20mm thick and centered on the origin, based on the letters "T", "O", and the name "... | font = "Liberation Sans";
module G() offset(2) text("T", size=10, halign="center", valign="center", font = font);
module E() offset(0.5) text("O", size=10, halign="center", valign="center", font = font);
module B() offset(0.6) text("LUKA", size=3, halign="center", valign="center", font = font);
$fn=64;
module GEB() ... | glb/cad_b77d9e65b780.glb |
Create a TAK Button Replacement consisting of a tapered main body and a wider base. Start by creating a conical frustum with a bottom radius of 3.785mm, a top radius of 3.67mm, and a height of 7.97mm. Attach a thin cylindrical lip to the bottom of this body with a radius of 4.99mm and a height of 1.07mm.
Inside this ... | fn = 32;
sp = 0.25;
th = 1.5;
springOD = 5.6;
springOR = springOD/2;
springID = 4.5-sp*2;
springIR = springID/2;
springHc = 9+1;
springHu = 20-5/2;
springTh = 1;
dtop = 7.34;
rtop = dtop/2;
dbottom = 7.57;
rbottom = dbottom/2;
hbutton = 7.97;
dlip = 9.98;
rlip = dlip/2;
hlip = 1.07;
button_replaceme... | glb/cad_9a09a14af121.glb |
Create a grommet for a swamp cooler consisting of a hollow cylindrical body, a retaining bead, and a top cap. The main body is a hollow cylinder with an outer diameter of 44.45mm and a wall thickness of 2mm, extending to a height of 3.75mm. Around the center of this cylinder, add a retaining bead in the form of a torus... | use <pie.scad>;
in2mm = 25.4;
holeID = (1.75*in2mm) - 0.5;
metalThickness = 1 + 0.25;
brim = 4;
thickness = 2;
beadR = 1;
tabWidth = 25;
height = metalThickness + beadR*2 + 0.25;
module torus(od, id)
{
or = od/2;
ir = id/2;
translate([0, 0, (or-ir)/2])
rotate_extrude(convexity=10)
translate([ir+(or-ir)/2, ... | glb/cad_939fa0b83378.glb |
Create a business card holder by constructing a base and a supporting backrest. Start with a rectangular bottom plate measuring 88.9mm wide, 63.5mm deep, and 2mm thick. Attach a front lip to the bottom plate that is 88.9mm wide, 2mm thick, and 22.2mm high, positioned at the front edge. Create a backrest by placing a re... | in = 25.4;
card_x = 3.5 * in;
card_y = 2.0 * in;
base_deg = 15;
base_leg = cos(base_deg) * card_y;
base_heel = sin(base_deg) * card_y;
base_foot = 3/4 * in;
base_toe = 1/2 * in;
thick = 2;
base_x = card_x;
base_y = base_heel + base_foot + thick;
base_z = base_leg + thick;
module base () {
union() {
... | glb/cad_68fbbd358c5a.glb |
Create a pencil holder consisting of 39 individual cylindrical tubes arranged in 3 rows of 13. Each tube is a hollow cylinder with an outer diameter of 21mm, an inner hole diameter of 15mm, and a wall thickness of 3mm. The tubes are positioned such that their centers are spaced 18mm apart both horizontally and vertical... | FN = 36;
count = 13;
rows = 3;
THK = 3;
D = 15;
Hmax = 75;
Hmin = 20;
delta = .2;
rotate([0,0,180])
Pencil_holder();
module Pencil_holder()
{
Hdif = (Hmax-Hmin)/count;
echo("Hmax", Hmax, "Hmin", Hmin,"Hdif", Hdif);
Hstart = Hmax+Hdif;
perRow = ceil(count/rows);
echo("holders", count, "rows", rows... | glb/cad_95eb8c009dd6.glb |
Create a RAMPS 1.4 and Raspberry Pi 2 B case consisting of a main body and a lid.
For the main body, create a base platform and walls with a total height of 56mm. The walls should follow the combined outer perimeter of two rectangular board areas: one measuring 105.6mm by 53.34mm and another measuring 85mm by 56mm, b... | $mountWallThickness = 1.5;
screwHoleCompensation = 0.2;
megaPosition = [[0, 70], 0];
raspiPosition = [[85, 56], 180];
lidFan = [ [57, 97, 0], 60, 50];
boardMountHeight = 6;
boardHeight = 50;
shellOffset = 15;
shellWall = 0.8;
fanSize = [30, 30, 10];
fanPosition = [ [107, 13, 13], 72];
cutoutCubes = [ [[17, 18], ... | glb/cad_430096eac762.glb |
Create a customizable music stand for a keyboard consisting of a rectangular tilted plane supported by a frame of rods and reinforced corners.
The main plane is 430mm wide and 300mm high, tilted at a 15-degree angle. Construct a frame using rods with a 4mm diameter. This frame includes two side rods 300mm long, one b... | keyboard_holes_distance = 430;
plane_width = 430;
plane_height = 300;
keyboard_holes_length = 28.5;
rod_d = 4;
rod_d_keyboard = 4;
tilt = 15;
corner_diameter = 10;
corner_width = 10;
corner_length = 30;
base_width = 20;
stabilize_length = 30;
space = 10;
$fn = 30;
diagonal_rod_angle = atan(plane_width / plane_heig... | glb/cad_7a24893b4a35.glb |
Create a parametric airless tire with a total height of 10mm and an outer diameter of 70mm. The wheel features a central hub with an inner diameter of 8mm and a hub thickness of 4mm.
Construct the outer tread as a ring with a thickness of 2mm. Within the main body, create 15 spiral spokes, each with a thickness of 1m... | dia_in = 8;
dia_out = 70;
spoke_count = 15;
spoke_thickness = 1;
tread_thickness = 2;
hub_thickness = 4;
height = 10;
cutout_height=6;
cutout_type=2;
exponential_parameter = 3;
grip_density = 0.05;
grip_height = 1;
grip_depth = 1;
$fn = 50;
double_spiral = 0;
spoke_dia = (dia_in/2) + hub_thickness + (dia_out/2) ... | glb/cad_203b9ff4a36a.glb |
Create a nerf gun part consisting of a hollowed cylinder and a separate small ring. First, construct a main cylinder with a height of 60mm and a radius of 22mm. Hollow this cylinder by removing a smaller concentric cylinder from its center with a radius of 20mm and a height of 62mm, positioned 1mm above the base. Addit... | difference () {
cylinder(h=60, r=22);
translate(v = [0, 12, -5]) {
cylinder(h=7, r=7);
}
translate(v = [0, 0, 1]) {
cylinder(h=62, r=20);
}
}
translate(v = [0, 12, -2]) {
difference () {
#cylinder(h=3, r1=7, r2=10);
translate(v = [0, 0, -1]) {
cylinder(h=9, r=7);
}
}
} | glb/cad_bcf841529b12.glb |
Create a toy gun part consisting of three stacked cylindrical elements. Start by centering a cylinder with a radius of 10mm and a height of 70mm. At the base of this central pillar, add a wide, flat cylinder with a radius of 19mm and a height of 5mm. Directly above this base, starting at a height of 5mm, place a trunca... | union () {
cylinder(h=70, r=10);
translate(v = [0, 0, 0])
cylinder(h=5, r=19);
translate(v = [0, 0, 5])
cylinder(h=5, r1=15, r2=19);
} | glb/cad_d6df9156dc7c.glb |
Create a nerf gun parts cylinder with a height of 110mm and a radius of 20mm. Remove a central vertical shaft with a radius of 2mm and a height of 112mm, extending slightly beyond the main body. Create four vertical holes for bullets, each with a radius of 7mm and a height of 120mm, positioned symmetrically around the ... | union() {
difference() {
cylinder(h=110, r=20);
cube(size = [5,5,5], center = true);
translate(v = [0, 0, 110]) {
cube(size = [5,5,5], center = true);}
translate(v = [0, 0, -1]) {
cylinder(h=112, r=2);}
translate(v = [-11, 0, -1]) {
cylinder(h=120, r=7);}
translate(v = [0, 11, -1]) {
cylinder... | glb/cad_cb63949c9ce9.glb |
Create a toy gun part consisting of a central cylindrical body with several geometric subtractions and additions. Start with a main cylinder 20mm high with a radius of 10mm. Remove a smaller concentric cylinder from the center with a radius of 2.5mm and a height of 20mm, shifted 5mm down along the Z-axis.
Above this,... | difference () {
union () {
difference () {
cylinder(h = 20, r=10);
translate(v = [0, 0, -5]) {
cylinder(h = 20, r=2.5);
}}
translate(v = [0, 0, 5]) {
cylinder(h = 20, r=8);
translate(v = [0, 0, 20]) {
cube(size = [5,5,5], center = true);
}}
rotate(a=[0,90,0]) {
translate(v = [-20, -5, 4]) {
polyhedron(po... | glb/cad_bdaebf5dc0c2.glb |
Create a toy gun part consisting of a long central blade and two rectangular blocks. Start by centering a thin rectangular slab measuring 5mm wide, 140mm long, and 2mm thick. At one end of this slab, centered at the coordinate [0, 65, 5], add a small cube measuring 5mm by 10mm by 10mm. At the opposite end, centered at ... | cube(size = [5,140,2], center = true);
translate(v = [0, 65, 5]) {
cube(size = [5,10,10], center = true);
}
difference() {
translate(v = [0, -70, 4]) {
cube(size = [10,30,10], center = true);
}
translate(v = [-20, -70, 4]) {
rotate(a=[0,90,0]) {
cylinder(h = 40, r=2.5);
}}
} | glb/cad_083c0520307d.glb |
Create an E3D simple i2 x-carriage for a V6 hotend. Start with a central base plate 80mm long and 50mm wide with a wall thickness of 3.2mm. At the center, create a circular opening with a radius of 21mm to accommodate the hotend.
Position two LM8UU bearing holders symmetrically at x=25mm and x=-25mm, spaced 28mm apart... | include <configuration.scad>
include <lm8uu-holder-slim.scad>
belt_clamp_thickness=2;
belt_clamp_width=m3_diameter+3*belt_clamp_thickness+2;
for (i=[-1,1])
translate([0,i*(belt_clamp_width+1),0])
belt_clamp();
belt_clamp_channel();
simonkuehling_x_carriage();
base_length = 80;
rod_dist = 50;
module simonkuehling... | glb/cad_91a64fa95022.glb |
Create a bowden lock clip by starting with a rectangular base measuring 14.75mm in width, 30mm in length, and 2.5mm in thickness. Center this base on the X and Z axes. To create the locking mechanism, remove three circular holes from the base, all with a height of 2.6mm to ensure they pass completely through the 2.5mm ... | $fn=20;
difference(){
translate([0,2,2.5/2])cube([10+9.5/2+1,30,2.5],center=true);
translate([0,-1.5,0])cylinder(h=2.5+.1,d=7.5);
translate([0,6,0])cylinder(h=2.5+.1,d=9.5);
translate([0,15.5,0])cylinder(h=2.5+.1,d=12);
} | glb/cad_ecce03df468c.glb |
Create a breadboard bracket by starting with a solid rectangular block measuring 90mm in length, 15mm in width, and 15mm in height. Carve out a central rectangular section from the bottom and sides to create a channel for the board, measuring 56mm long, 20mm wide, and 11mm high, positioned 17mm from the front edge. At ... | $fa = 0.1;
$fs = 0.5;
difference() {
cube( size = [ 90, 15, 15 ], center = false );
translate( v = [ 17, -1, -1 ] )
cube( size = [ 56, 20, 11 ], center = false );
translate( v = [ 8, 7.5, 13 ] )
cylinder( h = 4, r = 7 );
translate( v = [ 82, 7.5, 13 ] )
cylinder( h = 4, r = 7 ... | glb/cad_d9a0d166395e.glb |
Create a bed nut holder with a total footprint of 12.9mm in length, 11mm in width, and 14.5mm in height. Start with a solid rectangular block of these dimensions.
From the front face, remove a rectangular section measuring 9.4mm by 11mm by 7mm, starting at a height of 5mm from the base. From the same face, remove a s... | x_origin = 0;
y_origin = 0;
z_origin = 0;
x_long_inset = 9.4;
x_riser = 3.5;
x_length = x_long_inset + x_riser;
x_overhang = 3;
z_base = 5;
z_riser = 7;
z_top = 2.5;
z_height = z_base + z_riser + z_top;
y_constant = 11;
x_hole_offset = 5.5;
y_hole_offset = y_constant / 2;
spring_diameter = 8.0;
M3_adjustment = 0.75;... | glb/cad_0f9d799bfbf9.glb |
Create a TAZ Fan Duct designed as a tapered cooling shroud. Start with a rectangular base plate 40mm wide, 8mm thick, and 20mm deep. At the four corners of the top surface of this base, add four circular mounting holes with a radius of 2.25mm.
From the base, extend a vertical wall 40mm wide and 59mm deep. The wall sho... | d=0.01;
$fn=40;
module fan_holes(depth){
sz=40;
m3=4.5/2;
t_len=12;
translate([4,4,0]) cylinder(r=m3, h=depth);
translate([sz-4,4,0]) cylinder(r=m3, h=depth);
translate([sz-4,sz-4,0]) cylinder(r=m3, h=depth);
translate([4,sz-4,0]) cylinder(r=m3, h=depth);
}
module rounded_rect(w,depth,h,r){
minkowski(){
tr... | glb/cad_e606e782c433.glb |
Create a Mini Gimbal base plate with a thickness of 3mm. The main body is a flat rectangular plate with rounded ends, defined by the hull of two 9mm diameter cylinders positioned 49mm apart along the Y-axis.
Center a 6mm diameter hole through the plate. Additionally, create two smaller 3mm diameter holes, each positi... | use <sg9.scad>;
use <picam.scad>;
camera_x_offset = 25;
camera_y_offset = 5.5;
camera_z_offset = -20;
servo_x_offset = -12.5;
horn_d = 6;
horn_a = 6.5;
horn_b = 12.5;
horn_d2 = 2.5;
horn_angle = -10;
cam_screw_d = 2;
cam_screw_h = 4;
cam_screw_pos = [9.35, 21.85];
clearance = 10;
t = 3;
pi_screw_distance = 49;... | glb/cad_6bce9f528fe3.glb |
Create a Cola Printer pulley for a NEMA17 motor. Start with a central cylindrical shaft hole with a diameter of 5.2mm that runs through the entire height of the object.
Build a base cylinder with a diameter of 11mm and a height of 2mm. Above this base, add a toothed section with a height of 5mm and an outer diameter o... | teeth = 20;
profile = 12;
motor_shaft = 5.2;
m3_dia = 3.2;
m3_nut_hex = 0;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 1;
retainer_ht = 1.5;
idler = 0;
idler_ht = 0;
pulley_t_ht = 5;
pulley_b_ht = 2;
pulley_b_dia = 11;
no_of_nuts = 0;
nut_angle = 0;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2;
a... | glb/cad_c2b271b2b033.glb |
Create a Cola Printer model by starting with a central cylinder 10mm high with a radius of 8mm. Subtract a smaller concentric cylinder from this volume with a radius of 2.65mm. On opposite sides of the cylinder, add two rectangular blocks, each measuring 8mm wide, 4mm deep, and 7mm high, positioned symmetrically along ... | a = 0.15;
s = 0.9;
l = 3.4;
fs = 0.35;
hs = 0.45;
difference() {
rotate(180)
union() {
difference() {
cylinder(10,16/2,16/2,$fs=0.01);
cylinder(10,5/2+a,5/2+a,$fs=0.01);
}
translate([-4,3/2+a,3]) cube([8,4,7]);
translate([-4,-4-3/2-a,3]) cube([8,4,7]);
color("red")
rotate(90... | glb/cad_053dbf86bcf8.glb |
Create a GT2 timing gear with 20 teeth. Start with a central cylinder that has a height of 6mm and a radius of approximately 9.55mm. Around the perimeter of this cylinder, add 20 identical teeth spaced evenly every 18 degrees. Each tooth is a rectangular block with a width of 0.75mm and a length of 0.46mm, extending ra... | gear(40);
module gear(
gu = 60,
gt = 2,
gb = 6
) {
pi = 3.141592653589793238;
gh = get_gear_h(gt);
gl = get_gear_l(gt);
gf = get_gear_f(gt);
gr = gu/pi/2;
gw = 360*gt/gu;
cylinder(gb,gr-gh,gr-gh,$fs=0.01);
for (iw = [0:gw:360]) {
rotate(iw)
union() {
color("blue")
translat... | glb/cad_c57ea40c92fc.glb |
Create a GT2 pulley for a 28BYJ48 stepper motor. Start by constructing a cylindrical motor mount with an outer diameter of 24mm and a height of 11.5mm. This mount should feature a central hole with a diameter of 20mm and a smaller concentric inner shaft of 5.8mm. Incorporate rectangular cutouts on the sides of the moun... | rotate([0,180,0])
union() {
u = 120;
d = 2.3;
halter28byj48(8.5+3);
translate([0,0,4.5+2])
difference() {
gear(u);
cylinder(4.5,u/2/3.15-d,u/2/3.15-d);
}
rotate(0)
translate([-1,6,8.5+3-4.5])
cube([2,u/2/3.15-6-2,4.5]);
rotate(180)
translate([-1,6,8.5+3-4.5])
... | glb/cad_ae2f23caa0ba.glb |
Create a Cola Printer pulley for a 28BYJ48 stepper motor. Start by constructing a central cylindrical hub with a height of 11.5mm and a diameter of 24mm, with a concentric inner hole of 20mm in diameter. Within this hub, integrate a smaller central shaft with a diameter of 5.2mm and a height of 11.5mm.
Add a GT2-profi... | u = 120;
d = 2.3;
rotate([0,180,0])
difference() {
union() {
translate([0,0,0.46])
halter28byj48(8.5+3);
translate([0,0,4.5+2])
difference() {
gear(u);
cylinder(4.5,u/2/3.15-d,u/2/3.15-d);
}
rotate(0)
translate([-1,6,8.5+3-4.5])
cube([2,u/2/3.15-6-2,4.5]);
rotate(180)
... | glb/cad_57115efdc389.glb |
Create a Cola Printer crate by starting with a solid rectangular block measuring 400mm in length, 300mm in width, and 330mm in height.
Carve out several large rectangular sections to create a hollow frame. On the long sides, remove a central section 270mm long, 40mm deep, and 225mm high, positioned 65mm from each end... | cocacolakasten();
module cocacolakasten() {
l = 400;
b = 300;
h = 330;
difference() {
color("red")
cube([l,b,h]);
lls = 65;
llo = 47;
llh = 225;
llt = 40;
translate([lls,0,h-llh-llo])
cube([l-2*lls,llt,llh]);
translate([lls,b-llt,h-llh-llo])
cube([l-2*lls,llt,llh])... | glb/cad_1eb09ade8848.glb |
Create a Child's Puzzle tile by starting with a central square base measuring 50mm by 50mm with a thickness of 2mm. On top of this base, add two thin rectangular ribs, each 3mm high; one rib should be 1mm wide and 70.7mm long (the diagonal of the square), and the other should be identical, positioned so they intersect ... | side_cube = 50;
sc = side_cube;
dia = sqrt(2)*sc -10;
union()
{
form();
translate([0,-sc/2,0])
rotate([0,0,90])
scale([0.012,0.012,1])
linear_extrude(height=3)
half_man();
translate([sc/2,0,0])
rotate([0,0,270])
scale([0.013,0.013,1])
linear_extrude(height=3)
half_fish();
translate([0,sc/2,0])
rota... | glb/cad_7d779ea9101b.glb |
Create a StemmejernHat, a protective cap for a chisel blade. Start by constructing a central body that is a combination of a rectangular block and rounded ends. The main structure is based on a blade width of 18.5mm and a total height of 11mm.
Form the outer shell by merging two spheres with a radius of 5.5mm, positi... | blade_width=18.5;
blade_height=3;
wt=2;
ht=blade_height+wt+wt+1;
difference()
{
union()
{
sphere(r=ht/2);
translate([blade_width, 0, 0]) sphere(r=ht/2);
rotate(90, [0, 1, 0]) cylinder(r=ht/2, h=blade_width);
rotate(-90, [1, 0, 0]) cylinder(r=ht/2, h=2*blade_width);
rotate(-90, [1, 0... | glb/cad_ffbaa226fa48.glb |
Create a parametric headphones holder. Start by constructing a hook consisting of three rectangular plates, each 5mm thick. The first plate is a base block measuring 50mm wide, 5mm thick, and 30mm high. The second plate is positioned 15.8mm above the first, also measuring 50mm wide and 30mm high. Connecting these two p... | hook_width = 50;
hook_height = 30;
hook_depth = 15.8;
support_depth = 45;
support_r = 70;
thickness = 5;
overlap = 0.1;
module support(){
translate([hook_width,-support_depth+thickness,hook_height])
rotate([90,0,180])
translate([hook_width/2,support_r-thickness,0])
intersection(){
union(){
... | glb/cad_30a4a1682f5b.glb |
Create a Wii Sensor Bar Mount consisting of two connected bracket sections. First, create a rectangular holder for the sensor bar by starting with a solid block 50mm wide, 11mm deep, and 10mm high. Hollow out the center of this block by removing a smaller rectangular section 46mm wide, 11mm deep, and 12mm high, leaving... | a = 10;
w = 22;
d = 9;
$fn=20;
difference(){
translate([-25,0,0])cube([25,11,10]);
translate([-24,1,-1]) cube([23,11,12]);
}
translate([-24,11,0]) cylinder(r=1,h=10);
translate([-1,11,0]) cylinder(r=1,h=10);
difference(){
rotate([0,0,180+a]) translate([0,0,0]) cube([w+2,d+1,10]);
rotate([0,0,180+a]) transla... | glb/cad_7a1ed11b47e1.glb |
Create a Midi Foot Controller component consisting of two smooth cylinders. Each cylinder must have a radius of 6.35mm and a height of 10mm, centered vertically. Position the two cylinders so that their centers are spaced 25.4mm apart along the x-axis, with one centered at x = -12.7mm and the other at x = 12.7mm. | boltsize =seperation/4;
neopixel = 10.1/2;
serperation = 25.4;
translate([-(seperation/2),0,0]) cylinder(r=boltsize,h=10,center=true,$fn=200);
translate([(seperation/2),0,0]) cylinder(r=boltsize,h=10,center=true,$fn=200); | glb/cad_620df3183005.glb |
Create a backing plate for a Midi Foot Controller. Start with a base plate formed by the convex hull of four cylinders, each with a radius of 6.45mm and a height of 5mm, positioned at the corners of a rectangle measuring 130mm by 40mm.
From this base, remove several geometric cutouts. First, create a central rectangul... | JACK_R = 5.8;
plugh=9.4;
plugl=9.6;
plugw=9;
sep=.25;
pscrew=1.4;
pscrewl=3.6;
pscrewr=2.7;
screws=4.3/2;
platel=65;
platew=20;
usbl=14;
usbw=8;
usbsc=3.5/2;
scsep=13;
usbbl=38;
usbbw=14;
backingplate();
module usb(){
cube(size=[usbl,usbw,10],center=true);
translate([0,0,-2])
cube(size=[usbbl,usbbw,5],center=true);
t... | glb/cad_51055e13aa24.glb |
Create an Oil Filter Cap Removal Tool consisting of a main cylindrical base and a hexagonal top.
Start by creating a primary cylinder with a diameter of 94.2mm and a height of 25mm, centered on the origin. From this base, remove a central internal cavity shaped as a 16-sided prism (a low-facet cylinder) with a bottom... | seg = 15;
seg2 = 30;
seg3 = 15;
$fn = 6;
module oilCapNegative () {
cylinder(d1 = 88.5, d2 = 87.2, h = 25.3, center = true, $fn = 16);
translate([0, 0, -48])
difference() {
sphere(d = 149, $fn = 150);
translate([0, 0, -19.5])
cylinder(d = 150, h = 160, center = true, $fn = 30);
... | glb/cad_15530f2589b3.glb |
Create a filament holder consisting of a tiered cylindrical base with a central hole. Start by creating a wide, flat circular disc with a radius of 36.5mm and a height of 2mm. On top of this disc, center a second cylinder with a radius of 27.5mm and a height of 10mm.
From the center of this combined shape, remove two... | M3=4.02;
M8=8.05;
KugelLager = 22.00+0.5;
Innenkreis = 53.00;
Aussenrand = 10;
module holder31()
{
difference() {
union() {
cylinder(h = 2, r1=Innenkreis/2+Aussenrand, r2=Innenkreis/2+Aussenrand+2 ,$fn = 50);
cylinder(h = 10, r1 = Innenkreis/2+1, r2 = Innenkreis/2, $fn = 50);
}
translate([0, 0, 4]) cylinde... | glb/cad_333c9f90c60d.glb |
Create an Apple Pencil Stand consisting of a circular base and a tapered central holder. Start by creating a cylindrical base with a diameter of 50mm and a height of 4mm. Around the outer edge of this base, add a rounded torus-like rim with a radius of 2mm.
Centrally atop this base, construct a tapered vase shape that... | Base_Dia = 50;
Base_Height = 4;
Vase_Base = 15;
Vase_Top = 30;
Vase_Height = 40;
Pencil_Scale = 9.1;
difference() {
Base();
translate([0,0,3]) {
Pencil();
}
}
module Pencil() {
union() {
translate([0,0,8]){cylinder (Vase_Height+15,Pencil_Scale/2 ,Pencil_Scale/2,$fn=60,false);}... | glb/cad_9a8103e8f25e.glb |
Create a cable shelf for a 3D printer Y-axis upgrade. Start by creating a main rectangular base that is 30mm wide, 10mm thick, and 36mm high. Cut a vertical slot through the center of this base that is 1.74mm wide and 22mm deep, leaving a 8mm section of the base solid.
Attach a support arm to the side of the base; thi... | metal_thickness = 1.74;
sticking_out=8;
body_length=30;
body_thickness = 10;
body_height = 36;
arm_lengths = body_length-sticking_out;
distance_to_base = 30;
support_length = 30;
radius_support_leg = metal_thickness*1.5;
text_size =500;
module draw_arm(arm_width,arm_length, arm_thickness){
translate([0, 0,0])
... | glb/cad_ba50c5561d9c.glb |
Create a ring by starting with a sphere that has an outer diameter of 20mm. Carve out the center to create a hollow band with an inner diameter of 17mm and a total ring height of 5mm. To achieve this, remove two cylinders with diameters of 21mm that overlap the sphere from the top and bottom, and remove a central cylin... | $fn = 70;
ringHeight = 5;
outerDiameter = 20;
innerDiameter = 17;
ringText = "One ring to rule them all";
letterWrapOffset = 3;
textSize = 2.5;
verticalLetterPos = 0;
letterDepth = 5;
offsetLetters = 360 / (len(ringText) + letterWrapOffset);
union() {
for (i = [0:len(ringText)]) {
translate([-sin(... | glb/cad_2e5c2a225fc0.glb |
Create a vertical blinds repair plate by starting with a rectangular base measuring 8mm wide, 85mm long, and 2mm thick. Carve out a central rectangular channel that is 4mm wide, 81mm long, and 2mm deep, leaving a 2mm border on the short ends and a 2mm wall on the long sides. On the right side of the plate, centered alo... | difference(){
cube([8,85,2]);
translate([2,2,1])cube([4,81,2]);
}
translate([8,85/2-14/2,0]){
difference(){
cube([6,14,2]);
translate([0,3.5,-0.01])cube([3.5,14-3.5*2,2.02]);
translate([0,3,-0.01+1.2])cube([3.5+5,14-3*2,2.02]);
}
} | glb/cad_540724831555.glb |
Create a Dual Head XY Offset Calibration Tool consisting of two thin layers, each 0.3mm thick. The base layer is a flat geometric plate. Start with a central circle of radius 8mm, surrounded by a ring with an outer radius of 32mm. From this center, create four identical "spines" radiating outwards every 90 degrees. Eac... | jitter=0.2;
extruder=0;
layerHeight=0.3;
module pie_slice(r=3.0,a=30) {
intersection() {
circle(r=r);
square(r);
rotate(a-90) square(r);
}
}
module tick(point,rot,pos) {
rotate(pos)
rotate(rot)
difference() {
pie_slice(r=point,a=15);
pie_slice(r=point-tickWidth,a=15);
... | glb/cad_728d8cf1b998.glb |
Create a protective electronics box for an Arduino Nano and RFM69 module. The main body is a rectangular enclosure with outer dimensions of 24mm width, 52mm length, and 16mm height, featuring wall thicknesses of 2mm.
Hollow out the center to create a cavity of 20mm by 48mm by 12mm. On one of the shorter exterior wall... | usb_bot = 8.5;
usb_top = 7;
usb_h = 4;
usb_d = (usb_bot - usb_top)/2;
wall = 2;
nano_w = 17;
box_w = 20;
box_l = 48;
box_h = 12;
lower_h = 4;
nano_rfm_d=4;
translate([-2,0,wall+box_h+wall])
rotate([0,180,0])
{
color("orange")
translate([wall,box_l-wall+1,wall+box_h-1 ])
rotate([90,0,90])
linear_extrude(hei... | glb/cad_08fa8a94dfcd.glb |
Create a Mantis DIY Mill spindle case. Start with a rectangular base block measuring 80mm wide, 60mm deep, and 30mm high. Carve a large central U-shaped channel out of the top and front of the block, leaving a solid bottom and side walls.
Within this central area, create a vertical cylindrical housing with an outer r... | module hardware(){
translate([0,0,-5])cylinder(r=10,h=30.5);
translate([0,0,25])cylinder(r=5,h=30);
translate([0,0,30])cylinder(r=12,h=20);
translate([0,0,55])cylinder(r=14.25,h=33);
translate([0,0,-4])cylinder(r=17.5,h=3.5);
translate([0,0,90])cube([11,27,5],center=true);
}
module ziptie(){
difference(){
cyli... | glb/cad_a7d47d5ceff0.glb |
The provided OpenSCAD code defines a complex 3D model consisting of numerous polygons that are extruded into 3D shapes. The model appears to be a stylized, fragmented map or a set of geographical data represented as a series of interconnected, extruded plates.
### Model Breakdown:
1. **Base Structure:**
* The ... | fudge = 0.1;
tri_width = 97.75 ;
tri_height = tri_width * .866;
x_off = 16.25;
land_height = 4;
height = 10;
scale([.32,.32,1])
union(){
translate([-234.8,-109,2.5])
scale([.858,.858,.3])
union(){
translate([0,0,-5])
tri_frame(.29);
intersection(){
difference(){
translate([-32,-10,-3])
cube([5... | glb/cad_9a4ae38678b4.glb |
Create a SATA hard drive case mod by starting with a solid rectangular box measuring 81mm wide, 144mm long, and 17mm high. Hollow out the center to create an open tray with a wall thickness of 2mm on all sides and a base thickness of 1mm, resulting in an internal cavity of 77mm by 140mm by 16mm.
Add four screw holes ... | iw = 77;
il = 140;
ih = 16;
th = 2;
ow = iw + 2*th;
ol = il + 2*th;
oh = ih + th;
ds = 76.5;
dsb = 38.5;
shr = 3.2/2;
shh = 4.2;
shp = 8;
ahp = 3.5;
ahr = (ih-(ahp*2))/2;
$fn = 30;
difference() {
box();
translate(v = [-ow/2, dsb-ol/2, oh-shp]) screw_hole();
translate(v = [ow/2, dsb-ol/2, oh-shp]) screw_ho... | glb/cad_e421d95e6940.glb |
Create a CD/DVD doorstop by starting with a solid cylinder that has an outer diameter of 120mm and a maximum height of 30mm. Bore a concentric hole through the center of the cylinder with a diameter of 15mm. To create the wedge shape for the doorstop, remove the top portion of the cylinder using a diagonal planar cut. ... | FN = 120;
ID = 15;
OD = 120;
Hmin = 5;
Hmax = 30;
CD_DoorStop();
module CD_DoorStop()
{
delta = .015;
os = Hmin + (Hmax-Hmin)/2;
difference()
{
cylinder(Hmax, d=OD, $fn = FN);
translate([0,0,-delta])
cylinder(Hmax+2*delta, d=ID, $fn = FN);
translate([-OD*1.25/2, -OD/2... | glb/cad_172b071d83ed.glb |
Create a cube with side lengths of 9mm. Centered within this cube, remove a vertical cylindrical hole with a radius of 3mm and a height of 10mm. The cylinder should be positioned such that its central axis aligns with the center of the cube's X and Y axes, extending completely through the top and bottom faces. | difference()
{
cube([9,9,9]);
cylinder(3,9,10);
} | glb/cad_0dc2b4408c94.glb |
Create an end stop for a mill power feed by starting with a main rectangular block measuring 8mm wide, 30mm long, and 27.75mm high. Attach a second rectangular block to the side, measuring 8mm wide, 10mm long, and 13mm high, positioned so the total length becomes 40mm and the total height remains 27.75mm.
Carve out a... | difference(){
union(){
translate([0,0,0])
cube([8,30,27.75], center = false);
translate([0,20,-13])
cube([8,10,13], center = false);
}
translate([0,0,18.5])
cube([4,30,5], center = false);
translate([0,0,4.5])
cube([4,30,5], center = false);
translate([0,0,9])
cube([1.5,30,9.... | glb/cad_679d1df07883.glb |
Create an end stop for a mill power feed. Start with a main rectangular block that is 8mm wide, 30mm long, and 27.75mm high. Attach a smaller rectangular block to the bottom, measuring 8mm wide, 10mm long, and 13mm high, extending downwards from the base.
Carve out three longitudinal rectangular channels from the fro... | difference(){
union(){
translate([0,0,0])
cube([8,30,27.75], center = false);
translate([0,0,-13])
cube([8,10,13], center = false);
}
translate([0,0,18.5])
cube([4,30,5], center = false);
translate([0,0,4.5])
cube([4,30,5], center = false);
translate([0,0,9])
cube([1.5,30,9.7... | glb/cad_037d02589e00.glb |
Create a "Pentagon into Square Puzzle" consisting of six flat, interlocking geometric pieces with a thickness of 12mm. These pieces must be designed so they can be assembled to form both a regular pentagon and a square of equal area.
The six pieces are defined by the following coordinates (scaled by 35):
1. A triangle... | font = "Liberation Sans";
mark = 1;
if (mark==1)
scale(20)
diagram();
else
if (mark==2)
scale(20)
fill_pentagon();
else
if (mark==3)
create_pieces();
else
if (mark==4)
scale(20)
fill_square();
else
{}
side = sqrt(cos(18)*cos(18) + (1-sin(18))*(1-sin(18)));
echo (" side length of pentagon ",side);
diag_1 = s... | glb/cad_b97672df87e1.glb |
Create an ACME lead screw X-end block. Start with a main rectangular block measuring 68.2mm in width, 39.5mm in depth, and 9mm in height, centered on the origin. Add a cylinder with a 15mm radius and 9mm height, also centered, to the top of the block.
Cut two smooth rod grooves into the sides of the block at x = 24.94... | use <x-clamp.scad>;
use <x-end-motor.scad>;
use <AO-bolted_pla_bushing-1.scad>;
include <nuts_and_bolts.scad>;
module roundCorner(){
translate([0,0,20]) difference(){
translate([4,4,0]) cube([8,8,50], center=true);
cylinder(r=8, h=50.1, center=true, $fn=20);
}
}
difference(){
union(){
translate([0,-3,0]) cube([... | glb/cad_18208d8e4dd3.glb |
Create an ACME lead screw X-end block. Start with a main rectangular block measuring 68.2mm in width, 39.5mm in depth, and 9mm in height, centered on the origin. Add a cylinder with a 15mm radius and 9mm height, also centered, to the top of the block.
On the sides of the block, at x = 24.945mm and x = -24.945mm, creat... | use <x-clamp.scad>;
use <x-end-idler.scad>;
use <AO-bolted_pla_bushing-1.scad>;
include <nuts_and_bolts.scad>;
module roundCorner(){
translate([0,0,20]) difference(){
translate([4,4,0]) cube([8,8,50], center=true);
cylinder(r=8, h=50.1, center=true, $fn=20);
}
}
difference(){
union(){
translate([0,-3,0]) cube([... | glb/cad_fa3a64494c61.glb |
Create an ACME lead screw X-end block. Start with a main rectangular body measuring 68.2mm in length, 39.5mm in width, and 12mm in height. Centered on the top surface, add a cylinder with a radius of 15mm and a height of 12mm.
Cut two smooth rod grooves into the sides of the block. Each groove is centered at x = 24.94... | include <nuts_and_bolts.scad>;
module roundCorner(){
difference(){
translate([4,4,0]) cube([8,8,16.5], center=true);
cylinder(r=8, h=16.8, center=true, $fn=20);
}
}
rotate([180,0,0]) difference(){
union(){
translate([0,-3,1.5]) cube([68.2,39.5,12], center=true);
translate([0,13.5,1.5]) cylinder(r=15, h=12, cent... | glb/cad_3a7592092051.glb |
Create a Mini Photo Shoot Background Stand consisting of two symmetrical mirrored halves. For one half, start with a base shape that is a combination of a cube and a cylinder, then modify it to create a curved, supportive cradle.
The main body is centered around a width and height of 20mm. Create a central block 40mm... | fn = 32;
th = 2;
separation = 5;
W = 20;
H = W;
grooveW = 1.5;
mirror() stand2();
% square(80, center=true);
module stand2()
{
intersection()
{
difference()
{
scale([2,1.5,1]) sphere(W, $fn=fn);
for(i=[0,1]) mirror([0,i,0]) translate([W+th,W+th/2,0]) hull()
{
cylinder(r=W, h=H*3, $fn=fn,... | glb/cad_f10ae8fdfb0a.glb |
Create a workbench with a total length of 72 inches, a width of 24 inches, and a height of 32 inches. The structure is built using rectangular studs measuring 1.5 by 3.5 inches.
Construct the four legs by pairing studs together to create doubled-up supports. Position two legs at the front corners and two at the back c... | units=1;
benchWidth=60;
benchHeight=30;
benchDepth=32;
braceHeight=8;
topThickness=0.75;
hx=1*1;
hy=2*1;
v=3*1;
module stud(length=72,orient=v) {
echo(length = length);
if (orient==hy) {
cube([1.5,length,3.5]);
} else if (orient==hx) {
cube([length,1.5,3.5]);
} else {
cube([1.5,3.5,length]);
}
}
modu... | glb/cad_efd094bd5f46.glb |
Create a Flashforge Creator Pro SD Card Grip with a total length and width of 24mm and a thickness of 5mm. The main body is formed by the intersection of a 24mm diameter cylinder and a 24mm wide rectangular block, resulting in a shape with one flat end and one rounded end.
On the flat end, create a rectangular slot fo... | $fn=120;
total_length = 24;
total_width = 24;
total_thickness = 5;
sd_slot_depth = 2.0;
sd_slot_thickness = 2.4;
grip_hole_diameter = 17;
sd_slot_to_grip_min_wall = 3;
support_wall_thickness = 0.5;
eps1 = 0.01;
eps2 = 2*eps1;
eps4 = 4*eps1;
module body() {
intersection() {
hull() {
translate([-(to... | glb/cad_584ef2127b95.glb |
Create a Mini USB and Switch Mount designed for a 20mm aluminum extrusion. Start with a main body block measuring 35mm in length, 27mm in width, and 31.3mm in height. Attach a rail mounting structure to the back consisting of a 5mm by 25mm by 31.3mm vertical plate, a 5mm by 9mm by 31.3mm groove, and a 23mm by 5mm by 31... | $fn = 64;
ph = 9.30;
pw = 11.25;
sh = 12.33;
sw = 18.57 + 1;
m5hs = 0.6;
wt = 3;
width = wt + sh + wt + ph + wt;
difference() {
union() {
translate([12, 0, 0])
cube(size = [5, 25, width]);
translate([24.5, 16, 0])
cube(size = [5, 9, width]);
translate([12, 20,... | glb/cad_d6734e054e3c.glb |
Create a Panex puzzle consisting of a slotted base, a top frame, and two sets of six sliding pieces.
The base is a rectangular plate with rounded corners. Create a top frame of the same dimensions with a wall thickness of 2mm. In this frame, cut three parallel vertical slots: one central long slot and two shorter out... | Pieces = 6;
Panex = 1;
PanexGold = 0;
DoUpper = 1;
DoLower = 1;
DoPieces1 = 1;
DoPieces2 = 1;
PieceWidth = 20;
PieceHeight = 10;
PieceDepth = 2;
ConnectorWidth = 4;
OuterGap = 8;
InnerGap = 4;
Clear = 0.2;
VertClear = 0.4;
Rounding = 2;
Bevel = 1.5;
MinBlockWidth = ConnectorWidth*2;
WallThickness = PieceDepth;
modu... | glb/cad_d5a2fd9900d5.glb |
Create a spool holder bracket and hub adapter. For the bracket, construct a main body that is 15mm wide, 6.6mm deep, and 35mm tall. At the center of the top face, create a vertical hole with a radius of 1.65mm that extends 35mm deep. On the side of the bracket, create a curved cutout with a radius of 1.65mm that remove... | $fn=24;
rod=3.3;
offset=15;
module body() {
difference() {
translate([-3,-rod,0])
cube([offset+3,rod*2,20+offset]);
translate([0,0,20])
for(x=[0:1:90]) {
rotate([0,-x,0])
translate([offset,0,0])
hull() {
cylinder(r=rod,h=3);
translate([0,-rod,0])
cube([2*rod,2*rod,3]);
}
}
translate([offset,0,0])
cylinder(r=rod... | glb/cad_a78ebb64868b.glb |
Create a Spool Holder With Hub Adapter consisting of three identical arms arranged symmetrically around a central axis. Each arm is a composite shape starting with a vertical rectangular block that is 15mm high. From this block, extend a curved, C-shaped bracket that wraps around a central void. The inner radius of thi... | hole=28.5;
rod=3.3;
thick=4;
high=15;
difference() {
cylinder(r=rod+thick,h=high,$fn=24);
cylinder(r=rod,h=high,$fn=24);
}
arc=(hole+rod)/2;
arc2=(hole+rod+thick)/2;
module arm() {
difference() {
translate([arc2-rod-thick,0,0])
cylinder(r=arc2,high,$fn=60);
translate([arc-rod-1,0,0])
cylinder(r=arc-1,h=high+1,$fn=60)... | glb/cad_c1b8c136fa59.glb |
Create a primer catcher designed to collect spent primers. Start with a base rectangular block measuring 26.5mm by 71mm by 12mm. Attach a smaller rectangular block to the side measuring 26.5mm by 10.5mm by 19mm, and a third block measuring 19mm by 7.5mm by 7.5mm.
Integrate a nozzle assembly consisting of two connected... | use <Write.scad>
rotate([0,-90,0])
translate([5,0,0])
{
difference() {
union() {
translate([10.5,29.5,26.5])
rotate([-125,0,0])
cylinder(r1=8.8, r2=6.5, h=25,$fn=40);
translate([10.5,44.50,16])
rotate([-125,0,0])
cylinder(r1=8, r2=6.5, h=10,$fn=40);
}
translate([10.5,22,31.7])
rotate([-125,0,0])
... | glb/cad_ba4cec1c2a3b.glb |
Create a power supply support bracket. Start with a main rectangular block measuring 2mm in thickness, 86mm in width, and 17mm in height. Position this block so it is centered along the width.
Remove two cylindrical holes from this block to serve as mounting points. Each hole must have a radius of 3mm and a depth of 5... | difference(){
translate([0,-6,-5])
cube([2,86,17]);
union(){
rotate([90,0,0]){
translate([3,0,-80]){
translate([0,8,16])
rotate([0,-90,0])
color ([1,0,0]) cylinder(r=6/2, h=5, $fn=10);
translate([0,8,80])
rotate([0,-90,0])
... | glb/cad_f3f2b189881f.glb |
Create a customizable mailbox sign with a base plate measuring 135mm in length, 60mm in width, and 3mm in height. The base should have rounded corners with a radius of 3mm. Carve a recessed inner area into the top face of the plate, leaving a border of 1.5mm around the edges, with the recess depth extending 2mm deep in... | use<./Write.scad>
largo=135;
ancho=60;
alto=3;
radio=3;
borde=1.5;
difference(){
union(){
translate([-largo/2,-ancho/2,0])
difference(){
hull(){
translate([radio,radio,0])
cylinder(r=radio,h=alto,$fn=20);
translate([largo-radio,radio,0])
cylinder(r=radio,h=alto,$fn=20);
translate(... | glb/cad_2c1bddee4220.glb |
Create a Soporte Arduino en fuente ATX, a mounting bracket designed to hold an Arduino and RAMPS board over an ATX power supply air vent.
First, construct a flat base plate by creating a series of connected rectangular sections. The base is formed by joining several 1mm thick hulls between 15-facet cylinders of 5mm r... | translate([0,0,1]){
rotate([0,180,0]){
difference(){
union(){
hull(){
translate([143.5,15.5,0])
cylinder(r=5,h=1,$fn=15);
translate([65,15.5,0])
cylinder(r=5,h=1,$fn=15);
}
... | glb/cad_43c855d983fb.glb |
Create a USB holder consisting of a central rectangular body and two angled side arms. Start with a central block measuring 70.5mm in length, 15mm in width, and 15mm in height. Carve six rectangular slots into the top of this block, each measuring 5.5mm wide, 12.5mm deep, and 11.1mm high; space these slots evenly, star... | angulo=12;
difference(){
cube([70.5,15,15]);
for (i=[0:5]) {
translate([i*11+5,10.5,1])
rotate([90,0,0])
cube([5.5,12.5,11.1]);
}
}
rotate([angulo,0,0]){
difference(){
difference(){
translate([-22,0,0])
cube([17,27,12]);
translate([-24,-2,-1])
cube([17,27,15]);
}
... | glb/cad_b140d7b75817.glb |
Create an A-Mazing Box puzzle component by starting with a main cylinder that has a radius of 27mm and a height of 63.75mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 25.5mm, starting from a height of 2mm and extending to the top, leaving a 2mm thick base.
To cre... | $fa=2; $fs=0.5;
difference() {
union() {
difference() {
cylinder(h = 63.7500000000, r = 27.0000000000);
translate([0, 0, 2]) {
cylinder(h = 63.7500000000, r = 25.5000000000);
}
}
translate([25.9500000000, 0.0000000000, 57.7500000000]) {
sphere(r = 2.4000000000);
}
translate([-12.9750000000, ... | glb/cad_eaa5554655af.glb |
Create a top half of a Customizable Spherical Ice Mold. Start by creating a cylinder with a radius of 20.84mm and a height of 20.84mm, centered on the Z-axis. Subtract a sphere with a radius of 20mm from the center of this cylinder to create a hemispherical hollow.
To create the upper shroud, subtract a smaller cylind... | 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_fe490cdfbfc7.glb |
Create a VMR Rotational Switch consisting of a circular wheel with a central axle hole. Start by forming a central hub cylinder with a radius of 5.5mm and a height of 16mm. Bore a concentric hole through the center of this hub with a radius of 3.5mm. Around this hub, create an outer ring with an outer diameter of 50mm ... | outer_diameter=50;
wall_thickness=2;
thickness=5;
spokes=4;
spoke_thickness=16;
spoke_width=3;
hub_thickness=16;
axle=7;
number_x=4;
number_y=2;
$fn=200;
module wheel()
{
difference()
{
union()
{
cylinder(r=axle/2+wall_thickness, h=hub_thickness );
for (i=[0:spokes-1])
{
rotate([0,0,(360/spokes)*i])
translate([... | glb/cad_6f4200a088ea.glb |
Create an 8-bit heart thunderbolt display camera cover. Start by constructing a base plate that is a thin, flat rectangular slab with rounded edges, using a 1.7mm radius fillet. The overall footprint of this base is defined by a polygon with vertices at [0,0], [22,0], [28.5,18], and [0,18], extruded to a height of 5mm.... | module imac_shape(h = 5)
{
w1 = 22; w2 = w1 + 6.5;
linear_extrude(height = h, center = true, convexity = 10)
polygon(points = [[0,0],[w1,0],[w2,18],[0,18]], paths = [[0,1,2,3]], convexity = 2);
}
module cover(){
difference(){
$fn=50;
minkowski() {
intersection(){
imac_shape(20);
translate([7,7,0])cube([58, 18, ... | glb/cad_e07afe26beb0.glb |
Create a Co-Axis Drill Holder consisting of a main holder body and a locking component.
First, construct the holder body. Create a base shape by forming a hull between two cylinders: one with a diameter of 12mm and another with a diameter of 25mm, positioned 40mm apart. This base has a thickness of 9mm. Subtract a ce... | part = 0;
DrillDiameter = 19;
HolderHeight = 15;
GuideDiameter = 6;
GuideAxisOffset = 40;
PieceThickness = 3;
ScrewDiameter = 3.1;
Spacing = 0.1;
LockerHeight = 3*ScrewDiameter;
HoldingDistance = 3;
HoldingAngle = 60;
module drillHolder() {
difference() {
union() {
belt(d1=GuideDiameter, d2=DrillDiamet... | glb/cad_05d85dce9388.glb |
Create a Festivus Pole Stand cap by constructing a composite cylindrical shape. Start with a central cylinder that has a radius of 8.22mm and a height of 6mm, centered on the origin. Add a second, wider cylinder on top of this base, with a radius of 9.44mm and a height of 2.5mm, positioned 3mm above the origin. Finally... | difference()
{
union()
{
translate([0,0,3])cylinder(h=2.5,r=9.44,center=true);
cylinder(h=6,r=8.22,center=true);
}
cylinder(h=6,r=7.77,center=true);
}; | glb/cad_78f7c5c24626.glb |
Create a Festivus Pole Stand by starting with a central rectangular block measuring 120mm in length, 10mm in width, and 20mm in height. From this main body, remove two rectangular sections from the ends to create two feet, each 40mm long, 10mm wide, and 6mm high, positioned 30mm from the center on both the left and rig... | rotate(a=45,v=[0,0,1])
{
rotate(a=90,v=[1,0,0])
{
difference()
{
cube([120,10,20],center=true);
translate([30,0,8]) cube([40,10,6],center=true);
translate([-30,0,8]) cube([40,10,6],center=true);
translate([40,0,-8]) cube([40,10,6],center=true);
translate([-40,0,-8]) cube([40,10,6],center=true);
... | glb/cad_8d66ca795f1c.glb |
Create a Festivus Pole Stand by starting with a central rectangular block measuring 120mm in length, 10mm in width, and 20mm in height. From this main body, remove two smaller rectangular sections from the ends to create feet, each measuring 40mm long, 10mm wide, and 6mm high, positioned 30mm from the center on both th... | rotate(a=45,v=[0,0,1])
{
rotate(a=90,v=[1,0,0])
{
difference()
{
cube([120,10,20],center=true);
translate([30,0,8]) cube([40,10,6],center=true);
translate([-30,0,8]) cube([40,10,6],center=true);
translate([40,0,-8]) cube([40,10,6],center=true);
translate([-40,0,-8]) cube([40,10,6],center=true);
... | glb/cad_36aaf2029337.glb |
Create a Tic Tac Pin Display Case consisting of a rectangular base and a vertical support stand. Start by creating a rectangular base 45.2mm wide, 17mm deep, and 4mm high. On top of this base, center a vertical stand that is 10mm wide and 2mm deep, extending upwards to a total height of 30mm.
The transition between t... | stand_height=30;
Box_Visable = 1;
use <utils/build_plate.scad>
build_plate_selector = 3;
build_plate_manual_x = 70;
build_plate_manual_y = 40;
build_plate(build_plate_selector,build_plate_manual_x,build_plate_manual_y);
$fn=100;
bot_width=45.2;
bot_depth=17;
bot_height=4;
top_width=43.6;
top_depth=15.2;
top_he... | glb/cad_4388dc06cc56.glb |
Create a tiara designed to hold 5mm LEDs. Start by forming a curved band with a radius of 50mm and a height of 25mm. The band is not a solid cylinder but is shaped by removing a central cylinder with a radius of 45mm, leaving a wall thickness of 5mm.
Along the top edge of this band, create a series of decorative radia... | height=50;
radius=50;
offset=radius/2;
section=2.0;
jewelr=6;
module bcube()
{
translate([-5,-5,(radius*section)/2])
rotate(45)
cube([radius*section,radius*section,radius*section], true);
}
module void()
{
translate([offset,offset,0])
cylinder(r=radius-5,h=height*2);
}
module band()
{
intersection()
{
diff... | glb/cad_48d88e020001.glb |
Create a garden pot cover for hydroponics consisting of a circular disc with a diameter of 188mm and a total depth of 6mm. The main body is a hollowed ring with a wall thickness of 2mm.
On the bottom surface, add a flush brim that extends the radius by 1mm. The top face of the disc should feature a mesh screen patter... | shape= 128;
diameter = 188;
depth = 6;
frame_thickness = 2;
border_size = 1;
mesh_space=1.25;
mesh_height=2.5;
indention = 1;
nubs = 1;
center_hole_diameter = 30;
center_hole_depth = mesh_height;
center_hole_border = frame_thickness;
tube_hole_diameter = 10;
tube_hole_depth = mesh_height;
tube_hole_border = f... | glb/cad_4967135e542c.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.