Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a tiny chess king piece by stacking several geometric primitives along a central vertical axis. Start with a base cylinder 2mm high with a radius of 4mm. Directly on top, place a second cylinder 2mm high that tapers from a bottom radius of 3.8mm to a top radius of 3mm. Above this, add a third cylinder 8mm high t... | cylinder(h = 2, r = 4);
translate([0, 0, 2]) cylinder(h = 2, r1 = 3.8, r2 = 3);
translate([0, 0, 4]) cylinder(h = 8, r1 = 3, r2 = 2.5);
translate([0, 0, 12]) cylinder(h = 2, r1 = 2.5, r2 = 3.5);
translate([0, 0, 16]) difference() {
sphere(r = 3.5);
translate([-1.5, 0, 2]) rotate(60, [0, 1, 0]) cube([6, 7, 1], t... | glb/cad_3e95a277dd7f.glb |
Create a rook chess piece with a faceted, low-polygon aesthetic. Start with a base consisting of a cylinder 2mm high with a radius of 4mm. On top of this, add a tapered section that transitions from a radius of 3.8mm at the bottom to 3mm at the top over a height of 2mm. Above that, place a main vertical shaft that is 1... | cylinder(h = 2, r = 4);
translate([0, 0, 2]) cylinder(h = 2, r1 = 3.8, r2 = 3);
translate([0, 0, 4]) cylinder(h = 10, r1 = 3, r2 = 3);
translate([0, 0, 14]) cylinder(h = 2, r1 = 3, r2 = 4);
translate([0, 0, 16]) difference() {
cylinder(h = 2, r = 4);
cylinder(h = 2, r = 3);
}
translate([0, 0, 18]) difference() ... | glb/cad_5c4c129dfdc4.glb |
Create a Z Axis CNC Optical End Stop Mount by starting with a flat rectangular plate measuring 40mm in width, 30mm in depth, and 1.2mm in height. From this base, remove a rectangular section measuring 20mm in width and 42mm in depth, positioned so that it starts 20mm from the left edge and extends beyond the rear bound... | h=1.2;
dd=0.01;
bd=8.4;
px=40;
py=30;
difference() {
cube([px, py, h]);
translate([20, -12, -dd])
cube([px, py, h +2*dd]);
translate([10, 10, -dd])
cylinder(r=bd/2, h=h+2*dd);
} | glb/cad_a87486c03319.glb |
Create a GoPro tripod adapter consisting of a rounded rectangular base and two mounting brackets. Start with a base plate 50mm wide, 40mm deep, and 5mm high, with all corners rounded to a 2mm radius. In the center of the base, add a raised ridge 34mm wide, 3.6mm deep, and 1.8mm high.
On top of the base, position two L... | include <threads.scad>;
$fa = 0.1;
$fs = 0.1;
baseW = 50;
baseD = 40;
baseH = 5;
baseR = 2;
ridgeW = 34;
ridgeD = 3.6;
ridgeH = 1.8;
bracketW = 25;
bracketD = 6.5;
bracketH = 7;
bracketCutOutD = 3.25;
bracketCutOutH = 5;
bracketSpace = 29;
module goproshoe()
{
difference()
{
union()
{
... | glb/cad_524125c15461.glb |
Create a case for an LCD smart controller consisting of a bottom and top shell.
For the bottom shell, create a rounded rectangular base with overall dimensions of 158mm width, 82mm height, and 10mm depth. The corners should have a 5mm radius. The walls are 2mm thick. On the left side, create a cutout for an SD card h... | screw_diam=3;
nut_diam=5.5;
nut_height=3;
delta=0.1;
WIDTH=158;
HEIGHT=82;
DEPTH=22;
BOTTOM_WALL_THICKNESS=2;
TOP_WALL_THICKNESS=2;
BOTTOM_HEIGHT=10;
PCB_MOUNT_HEIGHT=5;
TOP_HEIGHT=DEPTH-BOTTOM_HEIGHT;
ETA=0.05;
$fn=40;
ROUNDED_RADIUS=5;
border_height=2;
SD_HOLDER_WIDTH=26;
SD_HOLDER_HEIGHT=26.5;
SD_HOLDER_DEPTH=3.2... | glb/cad_cd7415e9ddcb.glb |
Create a quadcopter motor protector by starting with a primary octagonal cylinder that has a diameter of 35mm, a total height of 10mm, and a base thickness of 2mm.
From this main body, remove a central vertical cylinder with a diameter of 9mm to accommodate the motor shaft. To create the mounting interface, remove a ... | screw_dia = 3.5;
screw_seperation = 17;
screw_slide = 3;
screw_rotation = 0;
shaft_dia = 9;
arm_dia = 30;
arm_width = 25.25;
resolution = 80;
protector_dia = 35;
protector_res = 8;
protector_height = 10;
protector_bottom_thickness = 2;
turn = -90;
arm_length = arm_dia*3;
screw_height = 20 * 1;
arm_thicknes... | glb/cad_81b437eb0285.glb |
Create a Case for Cytron BB-ATXRA. Start by creating a rectangular outer shell with overall dimensions of 51.2mm in width, 84.25mm in length, and 15mm in height. Hollow out the center to create a wall thickness of approximately 3mm, leaving an internal cavity of 45.2mm by 78.25mm with a depth of 13.1mm.
On the bottom ... | translate(v=[0.000, 77.650, 0.000]) {
rotate([-180.000,-180.000,-180.000]){
scale(v=[1.000, -1.000, 1.000]) {
difference() {
difference() {
difference() {
difference() {
difference() {
difference() {
difference() {
difference() {
... | glb/cad_1acfe37bd239.glb |
Create a protective case for a Cytron BB-ATXRA breakout board. Start by constructing a main rectangular body with outer dimensions of 51.2mm in width, 84.25mm in length, and 4.5mm in height. Hollow out the center of this body by removing a rectangular volume of 45.2mm by 78.25mm with a depth of 2.6mm, leaving a wall th... | difference() {
difference() {
difference() {
difference() {
difference() {
difference() {
difference() {
intersection() {
difference() {
union() {
difference() {
union() {
... | glb/cad_ba242f4d3335.glb |
Create a Case for Cytron BB-ATXRA consisting of a main enclosure and a removable lid.
Construct the main body as a rectangular shell with outer dimensions of 51.2mm x 84.25mm and a height of 15mm. The interior should be hollowed out to create a cavity of 45.2mm x 78.25mm with a wall thickness of approximately 3mm. At... | union() {
difference() {
difference() {
difference() {
difference() {
difference() {
difference() {
difference() {
intersection() {
difference() {
union() {
difference() {
... | glb/cad_dc5fe2e5fbdd.glb |
Create a coffee tamper consisting of a cylindrical base and a spherical handle. Start by creating a solid cylinder with a diameter of 52mm and a height of 15mm. Centered on top of this cylinder, place a sphere with a diameter of 40mm. The sphere should be positioned so that its center is 40mm above the bottom surface o... | stempelDurchmesser = 52;
stempelHoehe = 15;
kugelDurchmesser = 40;
kugeloffset = 20;
translate([0,0,kugeloffset+kugelDurchmesser/2]){
sphere(r=kugelDurchmesser/2, $fn=100);
}
cylinder(h=stempelHoehe, r=stempelDurchmesser/2, $fn=100);
difference(){
translate([0,0,stempelHoehe]){
cylinder(h=kugelDurchmesser/2,r=s... | glb/cad_05b4d42fbff4.glb |
Create a Legoish Train Car body with a rectangular base measuring 64mm in length, 16mm in width, and 13mm in height. Apply a 2mm chamfer to the vertical edges of the base. On the top surface, place 12 cylindrical knobs arranged in two rows of six. Each knob must have a diameter of 4.8mm, a height of 2mm, and be spaced ... | knob_diameter=4.8;
knob_height=2;
knob_spacing=8.0;
cylinder_precision=0.1;
body_length = 64;
body_width = 16;
body_height = 13;
chamfer = 2;
axle_diameter=3.5;
axle_spacing = 35;
axle_height = 4;
cutout_height = 7;
cutout_width = 8.5;
cutout_depth = 6;
difference() {
union() {
for (xcount=[1:6])
for (ycount... | glb/cad_91d0b920ef3d.glb |
Create a wheel for a toy train car. Start by forming a wide, flat outer rim as a cylinder with a diameter of 20mm and a height of 2mm. Centered on this rim, add a smaller cylindrical hub with a diameter of 12mm and a total height of 5mm, such that it extends 3mm above the top surface of the rim. Finally, bore a cylindr... | axle_diameter = 4;
hub_diameter = 12;
hub_width = 3;
rim_diameter = 20;
rim_width = 2;
cylinder_precision = 0.01;
difference() {
union() {
cylinder(r=rim_diameter/2,
h=rim_width,
$fs=cylinder_precision);
cylinder(r=hub_diameter/2,
h=rim_width+hub_width,
$fs=cylinder_precision);
}
translate(... | glb/cad_0905a1ada13b.glb |
Create a Quadcopter Motor Protector and Leg by starting with a main cylindrical body that has a diameter of 35mm and a height of 2.5mm. At the base of this cylinder, attach a flattened spherical foot with a diameter of 10mm, scaled on the Z-axis to 0.25, and extending downwards by 65mm to form the leg.
From this combi... | screw_dia = 3.3;
screw_head_dia = 6;
screw_fixing_thickness = 2;
screw_seperation = 19;
screw_slide = 6;
screw_rotation = 0;
shaft_dia = 7;
shaft_dia_2 = 4;
shaft_height = 35;
arm_dia = 30;
arm_width = 25.25;
resolution = 80;
protector_dia = 35;
protector_res = 12;
protector_height = 2.5;
protector_botto... | glb/cad_adb30aa9d1eb.glb |
Create a Y Endstop Holder for a back rod by starting with a main cylindrical body that has a radius of 8.1mm (4.1mm rod radius plus a 4mm wall thickness) and a total height of 31mm. Remove a central vertical cylinder with a radius of 4.1mm to create a hole for the rod. Cut a vertical wedge 7mm wide from the center of t... | hole_size = 3 / cos(180 / 8) + 0.4;
hole_separation = 50;
hole_separation_1 = 10.5;
hole_extra_distance = 3;
hole_nut_size = 5.5 / cos(180 / 6) + 0.4;
hole_nut_depth = 2;
rod_size = 8.2;
clamp_size = 4;
wedge_size = rod_size - 1;
height=28;
echo("height is", height);
clamp_height = height + 3;
m3_size = 3 / co... | glb/cad_f78f542ae499.glb |
Create a square backplate for an FPV camera that is 36mm wide, 36mm high, and 1mm thick. At two opposite corners, create circular holes with a diameter that tapers from 2.8mm at the bottom to 3.8mm at the top; position the centers of these holes 3.7mm from the adjacent edges. On one edge, centered between the holes, cr... | width = 36;
height = 36;
depth = 1;
hole_bottom = 2.8;
hole_top = 3.8;
hole_dist = 3.7;
cut_height = 4.4;
cut_width = 8;
cut_dist_x = 20.4;
cut_dist_y = 2;
font = "Liberation Sans:style=Bold";
text_depth = 0.4;
string = "FPV";
$fn = 20;
difference() {
cube([width, height, depth]);
translate([width - hole_... | glb/cad_6fcc484ba367.glb |
Create an Inverted Bottle Stand by constructing a thick-walled, hollowed-out trapezoidal shell. Start with a solid base shape created by extruding a 2D profile to a depth of 90mm, centered on the Z-axis. This profile is a rounded trapezoid formed by the hull of four circles with 30mm diameters: two positioned at x=40mm... | depth = 90;
tall = 40;
bottleHole = 40;
topWidth = 70;
baseWidth =100;
color("orange")
rotate([0,0,0])
difference(){
linear_extrude(height = depth, center = true, convexity = 10){
difference(){
offset(r = 10){
hull(){
translate([tall,-topWidth,0])
... | glb/cad_e369a21326fb.glb |
Create a printable linear bearing with a total height of 57.6mm. The main body is a hollow cylinder with an outer diameter of 14.9mm and a wall thickness of 1mm. The interior of the cylinder is not a smooth bore; instead, it features a series of ten rectangular teeth that radiate from the center. These teeth are create... | $fn=50;
sides=9;
lm8uu=58-.4;
%circle(d=8.2);
linear_extrude(height = lm8uu, center = true, convexity = 10)
union(){
difference(){
circle(d=14.9);
circle(d=14.9-2);
}
difference(){
for(i=[0:sides]){
rotate([0,0,i*(360/sides)])translate([0,5.2])square([2,2.5],center=true);
}
circle(d=8.4);
}
} | glb/cad_1bc0a763f51c.glb |
Create a printable linear bearing with a total height of 24mm. Start by constructing a hollow cylinder with an outer diameter of 14.9mm and an inner diameter of 8.4mm, centered on the Z-axis. To create the internal bearing tracks, add seven rectangular prisms, each measuring 2mm by 2.5mm. Position these prisms around t... | $fn=50;
sides=6;
lm8uu=24;
%circle(d=8.2);
linear_extrude(height = lm8uu, center = true, convexity = 10)
difference(){
circle(d=14.9);
circle(d=14.9-2);
}
difference(){
for(i=[0:sides]){
linear_extrude(height = lm8uu, center = true, convexity = 10, twist = -180)
rotate([0,0,i*(360/sides)])translate([0,5.2])square([... | glb/cad_74c3b8526648.glb |
Create a printable linear bearing with a total height of 24mm. Start by forming a hollow cylinder with an outer diameter of 14.9mm and an inner bore diameter of 8.2mm. Within the walls of this cylinder, carve out six identical square-profile channels to accommodate ball bearings. Each square channel should have dimensi... | $fn=50;
starts=6;
lm8uu=24;
linear_extrude(height = lm8uu, center = true, convexity = 10)
difference(){
circle(d=14.9);
circle(d=14.9-3);
}
difference(){
intersection(){
for(i=[0:starts]){
linear_extrude(height = lm8uu, center = true, convexity = 10, twist = -180)
rotate([0,0,i*(360/starts)])translate([0,5.7])rotat... | glb/cad_79add23aaaa2.glb |
Create a stand for the Antichron sculpture by constructing a composite base. Start with a cylinder that has a radius of 10mm and a height of 4mm. Attached to the bottom of this cylinder, add a flattened hemisphere created by scaling a sphere of radius 10mm by 0.4 in the vertical axis. From the center of this combined f... | scale([1.05,1.05,1.05]) rotate([180,0,0]) difference()
{
translate([0,0,38]) union()
{
cylinder( r=10, h=4, center=false, $fn=64 );
scale([1,1,0.4]) sphere( r=10, center=true, $fa=3 );
}
import_stl("antichron_small.stl");
cylinder( r=2, h=41, center=false, $fn=16 );
} | glb/cad_956f323c889a.glb |
Create a black capstone game piece for Tak. The piece is a sphere with a diameter of 1.25 inches, but it is modified to have a flat base. To achieve this, intersect the sphere with a cube that has a side length of 2 inches, positioned so that the bottom of the sphere is sliced off, leaving a flat surface for the piece ... | piece = "black capstone";
print_bed_width = 108;
print_bed_depth = 108;
print_count = 2;
edge_roundness = 0.4;
function clamp(val,rng) = max(rng[0],min(rng[2],val));
in = 254/10;
module tak_white_flatstone(roundness){
r = clamp(roundness,[0:0.99999999])*3/16*in;
color("white") minkowski(){
translate([0,0... | glb/cad_a7d6e47cc75d.glb |
Create a Dual Extrusion Calibration Part consisting of two overlapping geometric components. First, create a base plate as a centered cube measuring 50mm x 50mm x 1mm. On top of this plate, center a cylinder with a radius of 15mm and a height of 4mm. From this cylinder, remove four identical wedge-shaped sections to cr... | color([0, 1, 0, 1])Partone();
scale([1,1,1.01])color([1, 0, 0, 1])Parttwo();
module Partone(){
difference(){
union(){
translate([0,0,0.5])cube([50,50,1],center=true);
translate([2,2,0])slice();
rotate([0,0,180])translate([2,2,0])slice();
}
rotate([0,0,270])translate([2,2,0])slice();
rotate([0,0,90])translate([2,2,0]... | glb/cad_e37fb6b25c38.glb |
Create an X-ray exposure button holder by starting with a solid cube measuring 32mm x 32mm x 38mm. Center a vertical cylindrical void through the block to create a hollow chamber. This void consists of three stacked sections: a bottom cylinder with a height of 4.1mm and a diameter of 22.6mm, a middle transition section... | difference() {
translate([-16,-14,0]) cube([32,32,38]);
translate([0,0,4]) cylinder(36,13.3,13.3);
translate([0,0,2]) cylinder(2.1,11.3,13.3);
translate([0,0,-2]) cylinder(4.1,11.3,11.3);
translate([-7.5,-16,-2]) cube([15,15,42]);
} | glb/cad_b2a028466bba.glb |
Create a generalized zentangle bracelet by constructing a cylindrical band with a radius of 25mm, a height of 30mm, and a wall thickness of 2mm. The band's surface is defined by a repeating geometric pattern based on a symmetrical triangle grid.
To form the pattern, use a line width of 1.25mm. The design is generated ... | radius = 25;
height = 30;
xs = "10 -6.5 -3 0";
ys = "-6 -6 0 0";
triangle_side_length = 20;
line_width = 1.25;
thickness = 2;
fn = 24;
module line(point1, point2, width = 1, cap_round = true) {
angle = 90 - atan((point2[1] - point1[1]) / (point2[0] - point1[0]));
offset_x = 0.5 * width * cos(angle);
offset... | glb/cad_52d6bc1b0daf.glb |
Create a Printrboard mount and case by starting with a main rectangular body measuring 65mm wide, 104mm deep, and 8.8mm high. Hollow out the interior to create a shell with 1mm thick walls, leaving a cavity of 61mm by 100mm by 9.8mm.
On the exterior, add four mounting tabs: two 9mm diameter cylinders with a 1.5mm rad... | difference () {
union () {translate ([-1,-1,0])cube([65,104,8.8]);
translate ([-2,15,0]) cylinder (1.5,9,9,$fn=30);
translate ([65,15,0]) cylinder (1.5,9,9,$fn=30);
translate ([-2,87,0])cylinder (1.5,9,9,$fn=30);
translate ([65,87,0])cylinder (1.5,9,9,$fn=30);
}
translate ([1,1,1]) cube([61,100,9.8]);
tra... | glb/cad_54e4104bdeae.glb |
Create a Mirror Mount consisting of a central rectangular bar and two symmetrical outer connectors. Start with a central rectangular prism measuring 108mm in length, 10mm in height, and 10mm in width, centered on the origin. At each end of this bar, centered 49mm from the middle, place a cylindrical connector. Each con... | h=10;
w=98;
x=30;
d1=12;
d2=25;
d3=11;
d4=8;
h4=44;
h5=9+h4;
ETA=0.1;
$fn=40;
module connector(h) {
difference() {
cylinder(h=h,d=d2,center=true);
cylinder(h=h+ETA,d=d1,center=true);
translate([0,d2/2,0]) cube([d3,d2,h+ETA], center=true);
}
}
translate([-w/2,x,h/2]) connector(2*h);
tra... | glb/cad_387a3071f82d.glb |
Create a bolt knob by starting with a central cylinder 20mm in diameter and 20mm in height, centered on the origin. Remove a hexagonal hole from the center of this cylinder that is 7mm high and has a corner-to-corner width of 14.75mm. To create the knurled grip, add six rectangular ribs, each 1mm deep and 2mm wide, tha... | nutWidth = 14.75;
nutThickness = 7.0;
boltKnobDiameter = 20;
boltKnobLength = 20;
boltKnobKnurlNum = 6;
boltKnobKnurlDepth = 1;
boltKnobKnurlWidth = 2;
boltKnobKnurlAngle = 180;
module boltKnob()
{
if(boltKnobDiameter> nutWidth)
{
difference(){
cylinder(r=boltKnobDiameter*0.5, h=boltKnobLength... | glb/cad_d62a9e0fdc3a.glb |
Create two identical reel components. Each component consists of a circular plate and a central tube.
The plate is a flat disc with a thickness of 2mm and an overall diameter of 75mm. It features a central circular cutout with a diameter of 10mm. From this central hole, create five equidistant radial arms extending ou... | $fn=50;
interference = 0.15;
hole_diameter = 10;
full_diameter = 75;
inner_diameter = 15;
inner_width = 15;
rim_depth = 5;
plate_thickness = 2;
arms = 5;
keyways = 5;
arm_arc = 20;
through_hole_diameter = 1;
full_radius = full_diameter / 2;
hole_radius = hole_diameter / 2;
inner_radius = inner_diameter / 2;
half_arm... | glb/cad_ee00e0422302.glb |
Create a Mobius strip with a radius of 20mm. The strip is formed by sweeping a small rectangular cross-section, measuring 1mm by 1mm, along a circular path. As the cross-section travels 360 degrees around the center of the circle, it must rotate 180 degrees around its own center axis, resulting in a single-sided surfac... | module multi_rotate(steps, start=0, stop=360, about=[0, 0, 1]) {
range = stop - start;
step = range / steps;
for (mr_a=[start:step:stop]) {
if (mr_a != stop) {
echo(mr_a=mr_a);
rotate(about * mr_a) {
children();
}
}
}
}
module trefoil(... | glb/cad_8669d0635818.glb |
Create a bracelet with a height of 20mm and a wall thickness of 0.8mm. The bracelet is based on a circular profile with a primary radius of 10mm. To create the decorative wavy edge, generate a pattern of 60 cycles around the circumference. This pattern is formed by adding and subtracting small circular nodules to the m... | module outline(r=10, cycles=60, thickness=0.8) {
echo("Outline:");
echo(r=r);
echo(cycles=cycles);
echo(thickness=thickness);
gap_temp = r / PI / PI;
c1_temp = r * 2 * PI;
r2_temp = pow(pow(c1_temp / cycles, 2) + pow(gap_temp, 2), 0.5);
radius = r + r2_temp + 4 * thickness;
gap = r... | glb/cad_21beb5061651.glb |
Create a Quanum Trifecta combined GoPro and FPV camera holder. Start with a rectangular base plate measuring 47.8mm wide, 31.5mm high, and 1.8mm thick.
At each of the four corners of the base, create a circular hole with a 7mm diameter, inset by 1.4mm from the edges. On the top and bottom edges of the base, center a ... | width_outer = 47.8;
height_outer = 31.5;
hole = 7;
depth = 1.8;
wall = 1.4;
inner_y_offset = -1;
diameter_big = 58;
offset_big = 23;
diameter_mid = 60;
offset_mid = 24.5;
diameter_small = 22;
offset_small = 8;
fpv_width = 36.5;
fpv_depth = 11;
fpv_offset = 5;
fpv_hole = 2.5;
fpv_holder_width = 8;
fpv_holder_top = 2.5;... | glb/cad_08c267d5e42d.glb |
Create a Simple Macro Lens Holder. Start by creating a base that combines a rectangular block and a cylinder. The central cylinder has a diameter of 8.64mm (lens diameter of 7.04mm plus 1.6mm wall thickness) and a height of 3.3mm.
In the center of this base, create a vertical cylindrical hole with a diameter of 7.24m... | lens_diameter = 7.04;
lens_height = 3.3;
lens_total = 1;
lens_distance = 0;
lens_holder_wall_thickness = 1.6;
keychain_ring = "true";
rubber_band_holder_shape = "prism";
rubber_band_holder_height = 2;
rubber_band_holder_width = 8;
keychain_ring_outer_diameter = 4.6;
keychain_ring_inner_diameter = 3.2;
keychain_r... | glb/cad_3ae44d663cc4.glb |
Create a Simple Macro Lens Holder designed to hold a lens with a diameter of 7.04mm and a height of 3.3mm.
Start by constructing a base that combines a rectangular block and a cylinder. The rectangular block should have a width of 8mm and a height of 3.3mm, with a total length of 17.88mm (calculated as the lens diame... | lens_diameter = 7.04;
lens_height = 3.3;
lens_total = 1;
lens_distance = 0;
lens_holder_wall_thickness = 1.6;
rubber_band_hole_diameter = 2;
rubber_band_holder_width = 8;
fn = 36;
module base() {
union() {
translate([0, rubber_band_holder_width/-2, 0])
cube([lens_diameter+lens_holder_wall_t... | glb/cad_98defbab3e1c.glb |
Create a Simple Macro Lens Holder by starting with a rectangular base that is 17mm wide, 8mm deep, and 3.5mm high. Center a cylindrical protrusion on the front face of this base with a radius of 5mm and a height of 3.5mm.
Inside this central cylinder, carve out a hole with a diameter of 7.2mm and a depth of 3.3mm to ... | lens_diameter = 7;
holder_height = 3.5;
rubber_band_hole_diameter = 2;
rubber_holder_width = 8;
module base() {
union() {
translate([0, rubber_holder_width/-2, 0])
cube([lens_diameter+3+rubber_band_hole_diameter*3,rubber_holder_width, holder_height]);
translate([(lens_diameter+3+rubber_b... | glb/cad_6961249f0d36.glb |
Create a PCB rackmount system consisting of a hollow rectangular tray with integrated supports. Start by creating a main outer tray that is 50mm wide, 46.5mm long, and 10mm deep, with wall thicknesses of 2mm.
Inside this tray, place two identical sets of support structures to hold multiple PCB units. Each support set... | padding=3;
unit_separation=5;
max_units=2;
unit_height=14;
wall_t=2;
use <mouse_ears_test.scad>;
union(){
translate(v=[50/2, -46.5/2,0]) mouse_ears (50, 46.5, 0.64, 20);
rotate([90,0,0]){
difference(){
cube(size=[50,10,46.5]);
translate(v=[wall_t,wall_t,wall_t]) cube(size=[50-2*wall_t,10,46.5-2*wall_t]);
}... | glb/cad_66d1de9d9068.glb |
Create a PCB rackmount system designed to hold four 25x25mm base station units. Start by constructing a hollow rectangular tray with outer dimensions of 46.5mm in width, 13mm in depth, and 73mm in height. The tray walls should be 2mm thick.
Inside this tray, create four identical support levels spaced vertically. Each... | padding=3;
unit_separation=5;
max_units=4;
unit_height=14;
wall_t=2;
base_l=(unit_height+unit_separation)*max_units+unit_separation;
base_b=13;
base_h=46.5;
use <mouse_ears_test.scad>;
union(){
translate(v=[base_h/2, -base_l/2,0]) mouse_ears (base_h, base_l, 0.64, 20);
rotate([90,0,0]){
difference(){
cube(size... | glb/cad_350ea383b5dd.glb |
Create a Parametric PCB Rackmount system designed to hold four 25x25mm PCB units. Start by constructing a hollow rectangular tray with an outer height of 46.5mm, a width of 28mm (base_b2), and a length of 77mm (base_l). The tray walls should be 2mm thick.
Inside the tray, create four identical support slots to hold th... | padding=3;
unit_separation=5;
max_units=4;
unit_height=14;
wall_t=2;
base_l=(unit_height+unit_separation)*max_units+unit_separation;
base_b=13;
base_b2=25+padding;
base_h=46.5;
use <mouse_ears_test.scad>;
union(){
translate(v=[base_h/2, -base_l/2,0]) mouse_ears (base_h, base_l, 0.64, 20);
translate(v=[46.5-10,-base... | glb/cad_35c4bf5e5084.glb |
Create a PCB rackmount system designed to hold four 25x25mm PCB units. Start by constructing a hollow rectangular tray with an outer dimension of 46.5mm in height, 28mm in width, and 77mm in length. The tray walls should be 2mm thick.
Inside the tray, create four identical support structures spaced evenly along the le... | padding=3;
unit_separation=5;
max_units=4;
unit_height=14;
wall_t=2;
base_l=(unit_height+unit_separation)*max_units+unit_separation;
base_b=13;
base_b2=25+padding;
base_h=46.5;
use <mouse_ears_test.scad>;
difference(){
union(){
translate(v=[base_h/2, -base_l/2,0]) mouse_ears (base_h, base_l, 0.64, 20);
translate(v=... | glb/cad_9dc869cb2fc8.glb |
Create a PCB rackmount system designed to hold five 25x25mm base station units. Start by constructing a hollow rectangular tray with an outer height of 46.5mm, a width of 28mm (base_b2), and a length of 105mm (base_l). The tray walls should be 2mm thick.
Inside the tray, create five identical support structures spaced... | padding=3;
unit_separation=3;
max_units=5;
unit_height=14;
wall_t=2;
base_l=(unit_height+unit_separation)*max_units+unit_separation;
base_b=13;
base_b2=25+padding;
base_h=46.5;
use <mouse_ears_test.scad>;
use <rounded_cuboid_v2.2.scad>;
difference(){
union(){
translate(v=[base_h/2, -base_l/2,0]) mouse_ears (base_h, ... | glb/cad_7a24dbb0b243.glb |
Create a parametric PCB rackmount system by constructing a rounded cuboid. The overall dimensions of the shape are 10mm in height, 10mm in length, and 10mm in width. To achieve the rounded edges, use a Minkowski sum of a cube measuring 4mm by 4mm by 5mm and a cylinder with a radius of 3mm and a height of 5mm, centered ... | tot_h=10;
tot_l=10;
tot_b=10;
tot_r=3;
tot_s=4;
tot_col=[0.5,0.5,0.5,0.5];
$fn=tot_s*4;
rounded_cuboid_2_2(tot_h, tot_l, tot_b, tot_r, tot_s, tot_col);
module rounded_cuboid_2_2(m_tot_h, m_tot_l, m_tot_b, m_tot_r, m_tot_s, m_tot_col){
translate(v=[m_tot_r,m_tot_r,0]) color(m_tot_col){
minkowski(){
cube([m_tot_l... | glb/cad_06f35f33f93b.glb |
Create a Parametric PCB Rackmount system designed to hold four 25x25mm PCB units. Start by constructing a hollow rectangular tray with an outer length of 61.5mm, a width of 13mm, and a height of 46.5mm. The tray walls should be 2mm thick.
Inside this tray, create four identical support structures spaced evenly along t... | padding=3;
unit_separation=5;
max_units=4;
unit_height=14;
wall_t=2;
base_l=(unit_height+unit_separation)*max_units+unit_separation;
base_b=13;
base_h=46.5;
use <mouse_ears_test.scad>;
union(){
translate(v=[base_h/2, -base_l/2,0]) mouse_ears (base_h, base_l, 0.64, 20);
difference(){
cube(size=[base_l,base_b,base... | glb/cad_e8313d7d46b2.glb |
Create a Parametric PCB Rackmount system designed to hold a stack of 25x25mm PCB units.
Start by constructing a hollow cuboid tray with an outer height of 46.5mm, a width of 28mm (25mm plus 3mm padding), and a length of 17mm (14mm plus 3mm padding). The tray walls should be 2mm thick.
Inside this tray, create a seri... | emory_cutout=1;
a_bit=0.1;
extrusion_xy=0.5;
extrusion_z=0.32;
antenna_l=30;
emory_cutout_l=12;
emory_cutout_b=1.9;
padding=3;
unit_separation=3;
max_units=1;
unit_height=14;
wall_t=2;
base_l=(unit_height+unit_separation)*max_units+unit_separation;
base_b=13;
base_b2=25+padding;
base_h=46.5;
use <mouse_ears_test.... | glb/cad_d17e895852ca.glb |
Create a round organizer block with a total height of 33mm. The overall outer footprint is a rounded rectangle with a corner radius of 3mm, measuring 162mm in width and 96mm in depth. The base of the block is a solid slab 3mm thick.
Carve out a grid of 15 rectangular compartments arranged in 3 rows and 5 columns. Eac... | numberOfColumns = 5;
numberOfRows = 3;
singleBoxWidth = 30;
singleBoxHeight = 30;
baseHeight = 3;
boxHeight = 30;
internalWallThickness = 3;
externalWallThickness = 3;
internalRadius = 5;
quality=30;
$fn=quality;
module roundbox(r,wi,he,dz) {
hull()
{
cube([wi, he, dz]);
translate([0,0,0])
cylinder(r=r, ... | glb/cad_fdf41f4a8a6f.glb |
Create a construction toy model called a Geomag chair. The model is composed of spherical connectors and hexagonal rods.
First, define the spherical connectors as spheres with a radius of 6.35mm. To allow for rod insertion, create a shallow dimple at the connection points with a depth of 0.43mm.
Next, create the rod... | use <vcad/shapes.scad>
use <vcad/transform.scad>
include <vcad/constants.scad>
geomag_ball_radius = 12.7/2;
geomag_rod_sizes = [26.8,7.4/2];
geomag_dimple_deph = 0.43;
granularity = 30;
module geomag_ball() {
color("LightSteelBlue")
sphere(geomag_ball_radius, $fn=granularity/2);
}
module geomag_rod(color="red") ... | glb/cad_f4a1588ea26a.glb |
Create a Tripod Antenna Spacer by starting with a main cylinder that has an outer diameter of 49mm and a height of 58mm. Remove a central vertical cylindrical core with a diameter of 21.9mm through the entire height. Cut a thin vertical slot 1mm wide through the center of the cylinder, extending from the top to the bot... | 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_ring/3,mo... | glb/cad_6135bf645d25.glb |
Create a half-donut shape by generating a torus with a major radius of 20mm and a minor radius of 10mm. Slice this torus in half along its horizontal center plane so that only the bottom half remains. Ensure the final geometry is a semi-circular ring with a total outer diameter of 60mm and a thickness of 10mm at its de... | radi_rev = 20;
radi_cercle = 10;
costat_cub = 2*(radi_rev + radi_cercle);
intersection(){
rotate_extrude(convexity = 10, $fn=60)
translate([radi_rev, 0, 0])
circle(r = radi_cercle,$fn=60);
translate([0,0,radi_cercle/2])
cube([costat_cub,costat_cub,radi_cercle],center=true);
} | glb/cad_2ff37aed9a3d.glb |
Create a 3D puzzle consisting of a large cube with a total side length of 40mm, which is subdivided into a 3x3x3 grid of 27 smaller unit cubes (each approximately 13.33mm). The puzzle is dissected into five distinct interlocking pieces.
To construct the pieces, define the positions of the 27 unit cubes using a coordin... | cube_size = 40;
cs = cube_size/3;
clearance = 0.025;
mark = 0;
if (mark==0)
union()
{
color ("blue")make(piece1,centers);
color ("yellow")make(piece2,centers);
color("green")make(piece3,centers);
color("red")make(piece4,centers);
color("purple")make(piece5,centers);
}
piece1 = [
[1],[2],[5],[11],[14]
... | glb/cad_3456d5b2fb4a.glb |
Create a 3D puzzle consisting of three interlocking pieces that assemble into a large cube with a total side length of 40mm. The large cube is conceptually divided into a 3x3x3 grid of 27 smaller sub-cubes, each measuring approximately 13.33mm.
Construct the first piece by combining the following sub-cube positions (i... | cube_size = 40;
cs = cube_size/3;
clearance = 0.025;
mark = 0;
if (mark==0)
union()
{
color("green") make(piece1,centers);
color("yellow") make(piece2,centers);
color("blue") make(piece3,centers);
}
piece1 = [
[4],[5],[7],[8],[10],[11],[13],
[14],[19],
];
piece2 = [
[... | glb/cad_1dc6bd0e6fba.glb |
Create a Bathroom Hanger with a total thickness of 10mm. The design is based on a profile that wraps around two parallel pipes. Start with two concentric circular rings; the inner ring has a diameter of 47.6mm and the outer ring has a diameter of 61.6mm. These rings are positioned such that their centers are 38mm apart... | r=23.8;
d=7;
d2=2.5;
h=38;
x=10;
offset(r = 8) {
}
linear_extrude(height = 10, center = true, convexity = 10, twist = 0, slices = 20)
union() {
difference() {
union() {
difference() {
circle(d=r+2*d);
circle(d=r);
};
translate([h,0,0])
... | glb/cad_b555a672a872.glb |
Create a Viking Shelf Holder consisting of a right-angle bracket with a decorative Celtic knot face.
First, construct the structural frame. Create two rectangular bars, each 120mm long, 20mm high, and 5mm wide. Position them perpendicularly to form an L-shape, where one bar serves as the wall mount and the other as t... | module knot(knot, tile_width = 5, tile_height, ribbon_width, gap) {
rth = tile_height != undef ? tile_height : tile_width/2;
rrw = ribbon_width != undef ? ribbon_width : tile_width/sqrt(2);
rgap = gap != undef ? gap : tile_width/(6*sqrt(2));
x = len(knot[0]);
y = len(knot);
for (i=[0:x-1]) {
for (j=[0:... | glb/cad_ef92444b6150.glb |
Create a TinkerBox electronics housing. Start with a main rectangular base measuring 110mm wide, 135mm deep, and 45mm high. Hollow out the center to create a shell with 2mm thick walls.
On the back wall, create several rectangular cutouts for connectivity: one 9.6mm x 6mm x 11.6mm opening for a power plug, one 12.8mm... | cubewidth = 110;
cubeheight = 45;
cubedepth = 135;
union(){
translate([-2,-(cubedepth-2),-2])
{
union()
{
difference()
{
cube([cubewidth, cubedepth, cubeheight]);
translate([2,2,2])
{
cube([cubewidth-4, cubedepth-4, cubeheight]);
... | glb/cad_50df8c35384e.glb |
Create a regular tetrahedron where every edge measures 50mm. To construct this, create a cone with a triangular base consisting of 3 sides. The base should be an equilateral triangle inscribed in a circle with a radius of approximately 28.87mm. Set the total height of the peak to approximately 40.82mm, tapering the tri... | costat = 50;
radi = costat / sqrt(3);
altura = costat * sqrt (6)/3;
cylinder(r1=radi, r2=0, h=altura, $fn=3); | glb/cad_5c50b893b9e6.glb |
Create a Mitja bola, which is a hemisphere, by starting with a sphere that has a diameter of 40mm and a resolution of 60 facets. To flatten the bottom and create a dome shape, remove the bottom half of the sphere using a cube with side lengths of 40mm and a height of 20mm, positioned so that it bisects the sphere exact... | diametre = 40;
radi=diametre/2;
costat=diametre;
difference()
{
sphere(r=radi,$fn=60);
translate([-costat/2,-costat/2,-costat/2])
cube([costat,costat,costat/2]);
} | glb/cad_9c347bf9ce47.glb |
Create a customizable eyelet consisting of a base ring and a hook assembly. Start with a base ring that has a central hole of 14mm in diameter and a height of 1.5mm; the outer diameter of this base tapers from 22mm at the bottom to 18mm at the top.
Above this base, add a ring with a height of 2mm that tapers from an ... | $fn=72;
eyeletRingDiameterOffset = 0.2;
eyeletRingTopWidth = 4;
eyeletRingBottomWidth = 7;
eyeletRingHeight= 2;
eyeletDiameter = 14;
outerTopWidth = 7;
outerBottomWidth = 4;
baseHeigth = 1.5;
hookRingWidth=2;
hookRingHeight=2.8;
hookTopWidth = 0.5;
hookMiddleWidth=2.4;
hookTopHeight = 0.0;
hookMiddleHeight = 0.6;
... | glb/cad_f17eacaebe5c.glb |
Create a moneybox shaped like a trouser button. Start by constructing a solid rectangular base with a length of 80mm, a width of 42mm, and a height of 15mm. The bottom of this base should be a flat plate 1mm thick, while the top surface is a platform 1mm thick positioned 15mm above the bottom.
Carve a large cylindrica... | D1=120;
Largfente=32;
Proffente=10;
Longsocle=80;
Largsocle=Largfente+10;
Hsocle=Proffente+5;
$fn=360;
difference(){
union(){
hull(){
translate([-Longsocle/2,-Largsocle/2,Hsocle])cube([Longsocle,Largsocle,1]);
translate([-Longsocle/2-5,-Largsocle/2-5,0])cube([Longsocle+10,Largsocle... | glb/cad_1acc51dfff39.glb |
Create a moneybox support stand by starting with a rectangular base measuring 90mm wide, 120mm deep, and 3mm thick. Along the depth of this base, integrate two cylindrical hinge-like protrusions, each 6mm in diameter and 10mm long, positioned at the front and back edges. Connect these protrusions to the main body using... | D1=120;
Larg=31;
Largbase=90;
epais=3;
Largmontant=12;
Dgond=6;
Lgond=10;
Dsphere=3;
$fn=120;
difference(){
union(){
translate([0,0,0])cube([Largbase,D1,epais]);
hull(){
translate([Dgond/2,0,epais])rotate([-90,0,0])cylinder(d=Largmontant/2,h=Lgond);
translate([Dgond/2,0,epai... | glb/cad_f085652ba65e.glb |
Create a support stand for a trouser-button moneybox. Start with a rectangular base plate measuring 90mm wide, 120mm deep, and 3mm thick. From this base, remove a central rectangular section that is 45mm wide and 12mm deep, leaving a 12mm border on the sides. Additionally, remove a rectangular section that is 90mm wide... | D1=120;
Larg=31;
Largbase=90;
epais=3;
Largmontant=12;
Dgond=6;
Lgond=10;
Dsphere=3;
$fn=120;
mirror([1,0,0]){
difference(){
union(){
translate([0,0,0])cube([Largbase,D1,epais]);
hull(){
translate([Dgond/2,Lgond+0.25,epais])rotate([-90,0,0])cylinder(d=Largmontant/2,h... | glb/cad_558ed6451caa.glb |
Create a rectangular support for a moneybox with a total length of 75mm, a height of 15mm, and a thickness of 3mm. From the top face of this block, remove a central slot that is 65mm long and 5.5mm high. This slot should be centered along the length, leaving a 5mm solid border on each end. Within this removed section, ... | D1=120;
Htot=15;
Hfente=5.5;
Largfente=4.5;
Longfente=65;
Long=Longfente+10;
epais=3;
$fn=120;
difference(){
union(){
translate([-Long/2,0,0])cube([Long,Htot,epais]);
}
union(){
translate([-Longfente/2,0,0])cube([Largfente,Hfente,epais]);
translate([Longfente/2-Largfente,0,0])cube(... | glb/cad_ad3688447c0a.glb |
Create a Build Platform Level Test Pattern consisting of several thin rectangular plates, each 0.25mm thick and 0.5mm wide. First, construct a square frame by placing four plates, each 80mm long, centered on the origin and rotated every 90 degrees. Next, add two diagonal plates, each 113.14mm long (the square root of 2... | ThreadThick = 0.25;
ThreadWidth = 2.0 * ThreadThick;
BoxSize = 80;
module ShowPegGrid(Space = 10.0,Size = 1.0) {
Range = floor(50 / Space);
for (x=[-Range:Range])
for (y=[-Range:Range])
translate([x*Space,y*Space,Size/2])
%cube(Size,center=true);
}
ShowPegGrid();
for (Index=[0:3])
rotate(In... | glb/cad_18f4e5d2ece0.glb |
Create a front panel for a DIY Power Supply. Start with a rectangular plate measuring 170mm in length, 96mm in width, and 2mm in thickness, featuring rounded corners with a 2mm radius.
On the face of this panel, create the following cutouts:
- One large rectangular hole measuring 45.5mm by 26mm, positioned at X=10mm, ... | Length = 170;
Width = 96;
Height = 80;
Thick = 2;
Filet = 2;
Resolution = 50;
m = 0.9;
PCBFeet = 0;
Vent = 1;
Vent_width = 1.5;
PCBPosX = 7;
PCBPosY = 6;
PCBLength = 70;
PCBWidth = 50;
Foo... | glb/cad_260a4fbd7506.glb |
Create a Darwinian figure composed of several rectangular prisms, all with a uniform height of 3mm. Start by placing a 5x5x3mm cube at the origin to serve as the head. Position a second 5x5x3mm cube directly above it at y=5mm for the stomach, and a third 5x5x3mm cube at y=10mm for the hips. To form the arms, place a 25... | pix = 5;
hei = 3;
module head() {
cube([pix, pix, hei]);
}
module arms() {
translate([-pix*2, 0, 0]) {
cube([pix*5, pix, hei]);
}
}
module stomach() {
cube([pix, pix, hei]);
}
module hips() {
translate([-pix, 0, 0]) {
cube([pix*3, pix, hei]);
}
}
module legs() {
translate([-pix, 0, 0]){
cube([pix, pix... | glb/cad_d0b7fef11970.glb |
Create a Spherical Font Sampler. Start by creating a hollow sphere with an outer radius of 37.5mm and an inner radius of 35mm. To provide a flat base for stability, add a rectangular block centered beneath the sphere with dimensions 35mm by 35mm and a height of 10mm, with a smaller rectangular cutout of 32.5mm by 32.5m... | include <PT_Sans_Web_Regular.scad>
include <PT_Sans_Web_Regular_letters.scad>
include <GiveYouGlory.scad>
rs = 37.5;
rsin = 35 ;
fscale = 0.2;
fzshift = 2.5;
fheight = 15;
module empty_sphere()
{
difference()
{
sphere(r=rs,center=true,$fn=96);
sphere(r=rsin,center=true,$fn=96);
}
}
module empty_box(c1,c2,c3,c4,c5... | glb/cad_a0a25715b03d.glb |
Create a Spherical Font Sampler. Start by constructing a hollow sphere with an outer radius of 37.5mm and an inner radius of 35mm.
On the upper hemisphere, place 62 characters consisting of uppercase and lowercase letters and numbers 0-9. These characters should be embossed into the surface with a height of 15mm and ... | include <OpenSans_Regular.scad>
include <OpenSans_Regular_letters.scad>
include <GiveYouGlory.scad>
rs = 37.5;
rsin = 35 ;
fscale = 0.2;
fzshift = 2.5;
fheight = 15;
module empty_sphere()
{
difference()
{
sphere(r=rs,center=true,$fn=96);
sphere(r=rsin,center=true,$fn=96);
}
}
module empty_box(c1,c2,c3,c4,c5,c6)
{... | glb/cad_d2caf8754976.glb |
Create a Micro SD Card box by starting with a solid rectangular block measuring 18.5mm in width, 23mm in length, and 5mm in height. Carve out a central rectangular cavity measuring 15mm by 21mm with a depth of 3.1mm, positioned 1.75mm from the left and right sides and 1mm from the bottom face. To create the opening for... | difference(){
cube([18.5,23,5]);
translate([(18.5-15)/2,-0.1,1]) cube([15,21,3.1]);
translate([(18.5-15)/2,-0.1,3]) cube([15,4,2.1]);
translate([(18.5-15)/2,3.5/2,(3.5/2)+1]) sphere(d=2.3, $fn=50);
translate([(18.5-15)/2+15,3.5/2,(3.5/2)+1]) sphere(d=2.3, $fn=50);
} | glb/cad_3e607ab5be76.glb |
Create a Micro SD Card box consisting of a hollow outer container and a removable inner tray. First, construct the tray as a rectangular block measuring 14mm wide, 18mm long, and 2.5mm high. Carve out a central rectangular cavity 12mm wide and 15.5mm long, starting 1mm from the side and bottom edges, leaving a wall thi... | group(){
difference(){
cube([14,18,2.5]);
translate([1,1,1]) cube([12,15.5,2]);
}
translate([0,18,0]) cube([14,3,3.5]);
translate([0,18+(3/2),3.5/2]) sphere(d=2.1, $fn=50);
translate([14.1,18+(3/2),3.5/2]) sphere(d=2.1, $fn=50);
} | glb/cad_0f1d5f758a53.glb |
Create a Printrbot thumb saver and cable retainer. Start with a main block that is 33mm wide and approximately 18mm tall. In this block, create a vertical hole with a diameter of 8mm centered 8mm from the left edge to accommodate a screw. Create a filament path that begins as a 6mm diameter circle at the screw location... | what_to_render = 1;
include_cable_retainer = true;
wall_thickness = 2;
clearance = 0.7/2;
tip_angle_while_attaching = 15;
if ( what_to_render == 1 )
{
rotate ([0, -90, 0])
thumb_saver ();
}
else if ( what_to_render == 10 )
{
extruder_release_bar ();
#thumb_saver ();
}
else if ( what_to_render == ... | glb/cad_3deebb265911.glb |
Create a Conic Section educational model consisting of a double cone structure. Start by creating a cone with a base radius of 35mm and a height of approximately 60.62mm (calculated as $35 \times \sqrt{3}$). Mirror this cone vertically to create a double cone meeting at a single vertex.
To illustrate the conic section... | cy_r=35;
cy_h=cy_r*1.732051;
cy_slope=atan(cy_h/(cy_r));
echo (cy_slope,90-cy_slope);
module cone(h,r,t_mirror=false)
{
cylinder(h=cy_h,r1=cy_r,r2=0,$fn=100);
if (t_mirror==true)
translate([0,0,cy_h*2])
rotate([0,180,0])
cylinder(h=cy_h,r1=cy_r,r2=0,$fn=100);
}
module hyperbola_cut(h,r)
{
difference()
{
... | glb/cad_858b632c2b1c.glb |
Create an index plate for a dividing head by starting with a solid cylinder 50mm in radius and 5mm thick. Remove a central coaxial hole with a radius of 10.25mm. Around this center, remove three mounting holes, each with a radius of 2.07mm, positioned 16mm from the center and spaced 120 degrees apart.
Create ten conce... | module cylinde2r()
{
index_hole_radius=1.15;
mounting_hole_radius=2.07;
mounting_hole_distance=16;
center_hole_radius=10.25;
disk_thickness=5;
disk_size=50;
ring_spacing=3;
ring1_distance=20;
ring2_distance=ring1_distance+ring_spacing;
... | glb/cad_e5ec888ec796.glb |
Create a mounting bracket for a USB hub by starting with a rectangular base plate measuring 42mm wide, 42mm deep, and 5mm thick. Cut a hole through the center of this plate using a shape formed by the convex hull of three cylinders, each with a 7.5mm diameter and 5mm height. Position the first cylinder at the center of... | $fn=100;
diameter = 15;
altezza = 5;
distanza = 22;
difference(){
translate([-21,-12,0]){
cube([42,42,altezza]);
}
#hub();
}
module hub(){
hull(){
spostamento = sqrt((distanza * distanza ) - (distanza/2 * distanza/2));
cylinder(altezza,diameter/2,diameter/2);
translate... | glb/cad_94f328a6a355.glb |
Create a safety limit switch mount consisting of a central U-shaped channel and two perpendicular mounting tabs. Start by creating a central rectangular block 70mm long, 33.2mm wide, and 20mm high. Hollow out the center of this block to create a U-channel that is 70mm long, 25.2mm wide, and 16mm high, leaving a wall th... | $fn = 100;
larghezza = 80;
spessore = 3;
for (i = [larghezza/2,-larghezza/2]){
translate([0,i,-1]){
difference() {
cube ([20,spessore,17],true);
rotate([90,0,0]){
cylinder(5,5,5,true);
}
}
}
}
translate([0,0,-10]){
cube([20,larghezz... | glb/cad_e91e7ee4c656.glb |
Create a safety limit switch component consisting of two stacked cylindrical sections with a central hole. Start by creating a wide, flat base cylinder with a diameter of 16mm and a height of 1.6mm. Centered on top of this base, place a second, narrower cylinder with a diameter of 10mm and a height of 18mm. Finally, re... | $fn=100;
diametro_vite = 4.9;
module Vite(){
cylinder(30,diametro_vite/2,diametro_vite/2);
}
diametro_perno = 10;
altezza_legno = 18;
altezza_rondella = 1.6;
diametro_rondella = 16;
module Mezzo_perno(){
translate([0,0,altezza_rondella]){
cylinder(altezza_legno/2,diametro_perno/2,diametro_perno/2);
... | glb/cad_608719fb78c5.glb |
Create a safety limit switch cable clamp by starting with a rectangular block measuring 10mm wide, 20mm long, and 3mm thick. Centered along the length of the block, remove a cylindrical section with a radius of 2mm that passes through the width of the block to create a semi-circular notch for a wire. To allow for mount... | $fn=100;
diametro_filo = 4;
diametro_viti_fissaggio = 2.6;
module Staffa(){
cube([10,20,3]);
translate([0,10,0]){
rotate([0,90,0]){
cylinder(10,5,5);
}
}
}
module Occhiello(){
difference(){
Staffa();
{
rotate([0,90,0]){
translate([-1... | glb/cad_f1f34d4b9cc8.glb |
Create a vertical fan mount bracket consisting of a flat base and a perpendicular support wall. Start with a square plate that is 32mm by 32mm and 5mm thick, with rounded corners of 4mm radius. In the center of this plate, create a circular cutout with a diameter of 37mm to accommodate a 40mm fan.
Position four mount... | $fn=30;
platform_thickness = 8;
h=platform_thickness;
cutout = 12.5;
inset = 6;
tT = 16;
module fan40mm () {
cylinder(r=1.5, h=14, $fs=0.15);
translate([32,32,0])
cylinder(r=1.5, h=14, $fs=0.15);
translate([32,0,0])
cylinder(r=1.5, h=14, $fs=0.15);
translate([0,32,0])
cylinder(r=1.5, h=14, $fs=0.15);
}
modul... | glb/cad_37b525167ad9.glb |
Create a paraboloid solid by stacking a series of thin, concentric circular disks along a vertical Z-axis. Starting from a single point at the origin (0,0,0), build the shape upward to a total height of 0.5mm. The radius of each disk must increase proportionally to the square root of its height from the base, following... | $fn=45;
numSects = 10;
module paraboloid(a,$dh,height)
{
for(baseHeight=[0:height/numSects:height])
{
for(y=[baseHeight:$dh:baseHeight+height/numSects])
{
x1=sqrt(y/a);
x2=sqrt((y + $dh)/a);
translate([0,0,y])
cylinder($dh,x1,x2);
}
$dh = ($dh + baseHeight/numSects)/5;
... | glb/cad_e4603193f103.glb |
Create a Light Saber Chassis Disk by starting with a thin cylinder that has an outer diameter of 31.75mm (1.25 inches) and a thickness of 4.76mm (0.1875 inches).
From this main disk, remove a large central circular cutout to accommodate a single 18650 battery. The cutout is formed by the hull of a single circle with ... | outer_diameter = 1.25;
outer_diameter_unit = 25.4;
thickness = 0.1875;
thickness_unit = 25.4;
battery_configuration = 1;
circuit_board_holder = 1;
circuit_board_width = 0.93;
circuit_board_width_unit = 25.4;
hole_set_1_enable = 0;
hole_set_1_diameter = 0.315;
hole_set_1_diameter_unit = 25.4;
hole_set_1_cente... | glb/cad_d467642ec96c.glb |
Create a protective electronics enclosure called the MC1 UDOO box. Start with a rectangular base plate 114mm long, 90mm wide, and 2mm thick. From this base, extend four outer walls to a total height of 27mm. The walls should be 2mm thick, leaving a 2mm gap between the internal board area and the walls.
On the first lo... | part = "bottom";
open_power_input=1;
open_power_and_reset_button=1;
open_micro_usb=1;
open_hdmi=1;
open_network=1;
open_usb=1;
open_audio_in=1;
open_audio_out=1;
open_sd_slot=1;
open_gpio=1;
open_sata=0;
open_lvds=0;
open_camera=0;
open_dc_in=0;
open_rtc_batt=0;
open_additional_usb=0;
open_spi=1;
add_mouse_ears=0;
m... | glb/cad_f20fd804850e.glb |
Create a parametric gear called the MC1 Ingranaggio. Start by constructing a main gear with 120 teeth, a diametral pitch of 1, a pressure angle of 88 degrees, and a total height of 8mm.
From this main body, remove a concentric cylindrical core with a diameter of 6.4mm and a height of 37mm. Within the remaining materi... | difference(){
difference(){
finale();
#cylinder(10,15,15,$fn = 50);
}
allegerimento();
}
module allegerimento(){
translate([0,0,6]){
difference(){
cylinder(10,55,55,$fn = 50);
cylinder(10,35,35,$fn = 50);
}
}
}
module finale(){
difference(){
dif... | glb/cad_688a9c117151.glb |
Create a DupliGator, a 3D duplicating tool. Start with a base plate 2mm thick. On this base, position two identical gears with 24 teeth each, a circular pitch of 7mm, and a thickness of 4mm. Each gear should have a bore diameter of approximately 25.4mm and a hub diameter of 29.4mm. Center these gears so they mesh, with... | include <MCAD/involute_gears.scad>
selection = 1;
nozzle = 0.4;
tableGearTeeth = 24;
circPitch = 7;
thickness = 2;
height = 4;
rim_width = thickness;
towerDiameter = 15;
trayThickness = 2;
toolDistance = 0;
rodLength = 50;
rodWidth = 25;
rodFraction = 0.85;
play = 0;
$fn = 64;
function pitch(mm) = mm * 180 / PI;
func... | glb/cad_91691f46ff34.glb |
Create a Wall J1772 Holster designed to hold an electric vehicle connector.
Start with a rectangular base measuring 71.12mm wide by 66.68mm long with a thickness of 2.92mm. Centered on this base, create a mounting structure that transitions into a cylindrical holder. The holder should have an outer diameter of 50.16m... | i2mm=25.4;
$fn=180;
convexity=10;
base_width=2.8*i2mm;
base_length=2.625*i2mm;
base_height=0.115*i2mm;
base2_length_diff=1/4*i2mm;
base2_height=0.26*i2mm;
base_support_height=12;
screwhole_dia=3/16*i2mm;
screwhole_rad =screwhole_dia/2;
screwhole_headspace_dia=3/8*i2mm;
screwhole_headspace_rad=screwhole_headspace_dia/... | glb/cad_4692e69fc0ee.glb |
Create a dual X-carriage mount for a 3D printer. Start with a main rectangular back plate measuring 30mm wide by 54mm high and 5mm thick.
In this back plate, create three mounting holes with a diameter of 3.8mm. Each hole consists of a 7mm deep cylinder topped with a 5mm high hexagonal recess with 6 facets. Position ... | mount_width = 30;
heatsink_diameter=22;
heatsing_height=33;
mount_height=heatsing_height+21;
carriage_padding = 0.1;
LM8UU_diameter = 15;
heatsink_baseline=carriage_padding*2+LM8UU_diameter-1;
mount_x1=15;
mount_z1=mount_height-10-heatsink_baseline;
mount_x2=10.5;
mount_z2=mount_height-20-heatsink_baseline;
mount_x3... | glb/cad_37059de765f0.glb |
Create a dual X-carriage for a 3D printer. Start with a rectangular base block measuring 60mm wide, 12mm deep, and 75mm high (calculated from a 45mm rod spacing plus 15mm bearing diameter and padding).
Cut two horizontal cylindrical tunnels through the block to accommodate linear bearings; one is positioned near the ... | part="carridge";
LM8UU_length = 25;
LM8UU_diameter = 15;
x_rod_spacing = 45;
x_rod_radius = 4;
belt_thickness_no_tooth = 0.75;
belt_thickness_tooth = 1.45;
belt_double = belt_thickness_no_tooth+belt_thickness_tooth+0.5;
carriage_width = 60;
carriage_padding = 0.1;
carriage_height = x_rod_spacing+LM8UU_diameter+carr... | glb/cad_b17a3702a637.glb |
Create a dual X-carriage mount for a 3D printer. Start with a main rectangular base measuring 30mm wide, 54mm high, and 5mm thick.
At the top of the mount, add a rectangular block that is 30mm wide, 22mm thick, and 6mm high. Centered within this top block, create a vertical cylindrical hole with a diameter of 12mm, a... | mount_width = 30;
heatsink_diameter=22;
heatsing_height=33;
mount_height=heatsing_height+21;
carriage_padding = 0.1;
LM8UU_diameter = 15;
heatsink_baseline=carriage_padding*2+LM8UU_diameter-1;
mount_x1=15;
mount_z1=mount_height-10-heatsink_baseline;
mount_x2=10.5;
mount_z2=mount_height-20-heatsink_baseline;
mount_x3... | glb/cad_c1fbaa5cc2e7.glb |
Create a dual X-carriage for a 3D printer. Start with a rectangular base block measuring 60mm wide, 12mm deep, and approximately 60mm high.
Cut two horizontal cylindrical tunnels through the block to accommodate linear rods; these tunnels should have a radius of 6mm (including a 2mm clearance) and be spaced 45mm apar... | part="carridge";
LM8UU_length = 25;
LM8UU_diameter = 15;
x_rod_spacing = 45;
x_rod_radius = 4;
belt_thickness_no_tooth = 0.75;
belt_thickness_tooth = 1.45;
belt_double = belt_thickness_no_tooth+belt_thickness_tooth+0.5;
carriage_width = 60;
carriage_padding = 0.1;
carriage_height = x_rod_spacing+LM8UU_diameter+carr... | glb/cad_d5c2a6fdf811.glb |
Create a Tractor PTO Seal-Saver consisting of a cylindrical hub with a splined internal bore. Start with a main cylindrical body that has an outer diameter of 54.5mm and a height of 3mm, featuring a rounded bottom edge with a radius of 2.5mm.
At the center, create a vertical hole with a width of 13.4mm and a thicknes... | pto_teeth_nb = 6;
pto_height = 36;
pto_dia_max = 32.5;
pto_dia_min = 29.3;
pto_tooth_width = 7.1;
pto_tooth_rounding = 1;
pto_bevel_height = 3;
pto_margin = 2.5;
pto_teardrop = "yes";
pto_hub_dia = 54.5;
pto_hub_height = 3;
pto_hub_rounding = 5;
pto_hole_width = 13.4;
pto_hole_thickness = 7.2;
pto_keyway_dia = 0;
pto_k... | glb/cad_5a719785dce9.glb |
Create a cable guide for a partial finger replacement. Start with a base plate 2mm thick, defined by a polygon with vertices at [40, 37], [37, 40], [-37, 40], [-40, 37], [-20, -40], and [20, -40].
Remove three vertical slots from this base: one centered at [0, 40] and two others at [22.86, 40] and [-22.86, 40], each ... | kw=80;
$fn=25;
union(){
difference(){
linear_extrude(height=2,center=true)polygon([ [kw/2,kw/2-3],[kw/2-3,kw/2],[-kw/2+3,kw/2],[-kw/2,kw/2-3],[-kw/4,-kw/2],[kw/4,-kw/2] ]);
translate([kw/3.5,40,0])scale([1,4,1])cylinder(r=kw/16,h=4,center=true);
translate([0,40,0])scale([1,4,1])cylinder(r=kw/16,h=4,center=true);
tr... | glb/cad_58d61f36a02c.glb |
Create a Rostock magnetic joint carriage. Start with a main body that is 76mm wide and has a height defined by the carriage height. At the center, create a rectangular block 50mm wide and 5mm thick.
On the left and right sides, 30mm from the center, create two cylindrical mounts for LM8UU bearings. Each mount is a cyl... | include <configuration.scad>
joints_distance = 48;
magnet_joint_width = 12;
magnet_joint_bolt_depth = 12;
magnet_joint_height = 35;
nut_width = 3.2;
nut_depth = 6.3;
width = 76;
height = carriage_height;
offset = 25;
cutout = 13;
middle = 2*offset - width/2;
module parallel_joints(){
for( x = [ - joints_distance/... | glb/cad_53c65d86063b.glb |
Create a customizable vacuum tool adapter consisting of a cylindrical base and a tapered nozzle.
Start by creating a hollow cylindrical base with an outer diameter of 37.4mm (34.6mm plus a 1.8mm wall thickness) and an inner diameter of 34.6mm. This base should have a height of 30mm. From the top of this cylinder, add... | Base_Diameter = 34.6;
Base_Overlap = 30;
Base_Chamfer_Length = 30;
Base_Thickness = 1.8;
Nozzle_Length = 140;
Nozzle_Outer_A = 16;
Nozzle_Outer_B = 8;
Nozzle_Fillet_Radius = 3;
Nozzle_Thickness = 1.4;
Nozzle_Chamfer_A = 20;
Nozzle_Chamfer_B = 20;
$fn=150;
Nozzle_Inner_A = Nozzle_Outer_A - Nozzle_Thickness;
... | glb/cad_812ce5e53e23.glb |
Create an axle pin for a partial finger replacement. Start with a central cylindrical shaft with a radius of 2.1mm and a total length of 15mm, centered on the origin and oriented along the Y-axis. At one end of the shaft (Y = 6.5mm), add a rectangular pin head measuring 5.5mm in width, 2mm in height, and 4.5mm in depth... | $fn=50;
difference(){
union(){
rotate([90,0,0])cylinder(r=2.1,h=15,center=true);
hull(){
translate([0,-6.5,0])rotate([90,0,0])cylinder(r=2.25,h=1,center=true);
translate([0,-6.5,0])rotate([90,0,0])cylinder(r=2.1,h=2,center=true);
}
translate([0,6.5,0])cube([5.5,2,4.5],center=true);
}
tra... | glb/cad_0816a44d43c2.glb |
Create a Sixaxis Phone Clip consisting of two main sections joined at an angle. First, construct the controller mount as a U-shaped bracket. The base is a rectangular block 49mm long, 15.5mm wide, and 5mm thick. Add a front wall 5mm thick and 20mm high, and a rear wall 5mm thick and 31.5mm high. Connect these with a to... | six_clip_thick = 5;
six_clip_w = 15.5;
six_clip_d = 26.5;
six_clip_db = 15;
six_clip_l = 49;
six_t_overlap = 10;
phone_clip_overlap = 5;
phone_clip_d = 18.5;
phone_clip_l = 70;
phone_clip_ang = 30;
phone_clip_extra = 20;
phone_clip_attach = six_clip_d;
rotate([90,0,0])
{
color("green") six();
translate... | glb/cad_1cd2eab58b3b.glb |
Create a Filament Guide Loop Clip by starting with a rectangular block 26mm wide, 24mm deep, and 50mm tall. Modify this main body by adding two additional rectangular sections: one measuring 26mm by 6mm by 5.5mm positioned at a height of 5.5mm, and another measuring 26mm by 24mm by 5.5mm positioned at a height of 11mm.... | $quality = 8;
intersection() {
difference() {
union () {
cube(size = [26,24,5.5]);
translate (v = [0, 0, 5.5]) cube(size = [26,6,5.5]);
translate (v = [0, 0, 11]) cube(size = [26,24,5.5]);
translate (v = [0, 0, 16.5]) cube(size = [26,4,50]);
}
t... | glb/cad_04691301cf1e.glb |
Create a Parametric Peristaltic Pump with Mount. The assembly consists of a planetary gear system and a motor mounting bracket.
First, construct the pump mechanism. Create an outer ring with an outer diameter of 60mm and a thickness of 25mm. This ring features internal herringbone gear teeth. Inside this ring, positio... | tol=0.15;
allowed_overhang = 0.75;
tubing_od = 10;
tubing_wall_thickness = 1;
tubing_squish_ratio = 0.25;
Mount_Enabled=1;
Mount_Style=1;
Mount_hole_dia=3;
CenterHole_dia = 5.37;
CenterHole_Num_of_Flat = 2;
CenterHole_Flat_dia = 3.67;
MotorMount=1;
MotorMount_Type=1;
OD=60;
T=25;
number_of_planets=3;
nu... | glb/cad_5a6dbdde8c7e.glb |
Create a Battle Mech wargaming miniature consisting of three distinct components aligned along the X-axis.
First, create a spike fist at the origin. This part is formed by a sphere with a radius of 6mm centered at [0, 0, 8], sitting atop a cylinder that tapers from a radius of 5mm at the base to 4mm at a height of 6m... | module vent(){
difference(){
union(){
cylinder(r=3,h=11);
translate([0,0,11])cylinder(r1=3,r2=2,h=3);
translate([4,-1.5,0])cylinder(r=2,h=5);
translate([4,1.5,0])cylinder(r=2,h=5);
translate([7.5,0,0])cylinder(r=2.5, h=8);
translate([7.5,0,8])cylinder(r1=2.5, r2=1.5, h=3);
}
translate([0,0,5])c... | glb/cad_8599f0b6a8a0.glb |
Create a cube with side lengths of 25mm in all three dimensions. Center the cube so that its edges are equidistant from the origin. Remove a vertical cylindrical hole from the center of the cube that passes completely through from the top face to the bottom face. The cylinder should have a radius of 6.25mm and a height... | costat = 25;
difference(){
translate([-costat/2,-costat/2])
cube([costat,costat,costat]);
cylinder(r=costat/4,h=costat,$fn=60);
} | glb/cad_4bced7c07037.glb |
Create a Box Chain consisting of four repeating segments. Each segment is composed of a pair of identical rings, where each ring has a wire diameter of 2mm and an inner diameter of 9.6mm (an aspect ratio of 4.8).
For each segment, position two rings mirrored across the horizontal axis. Rotate the top ring by 32.5 deg... | numSegments = 4;
wireDiameter = 2;
ringAR = 4.8;
smoothness = 40;
for (i=[1:numSegments])
{
if (ringAR>=4.8)
{
translate([i*(ringAR*wireDiameter*cos(32.5)-wireDiameter*0.5),0,0])
union()
{
angledPair(32.5);
rotate([90,180,0])
angledPair(32.5);
}
}
else
{
translate([i*(ringAR*wireDiameter*co... | glb/cad_edc71c4a6a60.glb |
Create a planetary peristaltic pump housing and gear assembly. The overall height of the unit is 25mm.
First, create a compact mount bracket. This is a block with a height of 25mm, featuring a rectangular base and two vertical mounting holes with a diameter of 3mm.
Construct the outer ring with an outer diameter of 6... | tol=0.15;
allowed_overhang = 0.75;
tubing_od = 10;
tubing_wall_thickness = 1;
tubing_squish_ratio = 0.25;
Mount_Enabled=1;
Mount_Style=1;
Mount_hole_dia=3;
CenterHole_dia = 5.37;
CenterHole_Num_of_Flat = 2;
CenterHole_Flat_dia = 3.67;
OD=60;
T=25;
number_of_planets=3;
number_of_teeth_on_planets=7;
approx... | glb/cad_0bb3f775af01.glb |
Create a Stackable Wind Funnel core wall. Start by creating a central rectangular wall with a width of 25mm, a thickness of 1mm, and a height of 25mm.
On the left and right edges of this wall, add vertical connector tabs. Each tab should be 1.5mm thick, 7mm long, and 23.5mm high. To allow these parts to snap together... | mousears = 1;
fin_thickness = 1.5;
fin_length = 170;
fin_height = 25;
wall_thickness = 1;
wall_width = 25;
vert_fin_angular_sep = 20;
slope_angle = 30;
slope_pos = 10;
slope_thickness = 1;
slope_tab_length = 6;
slope_tab_height_offset = 3.69;
slope_tab_thickness_ratio = 0.95;
tab_height = 23.5;
tab_thickness = 1.5;... | glb/cad_13f7ef7449ed.glb |
Create a DoorSupport mounting piece. Start with a wedge-shaped main body formed by the intersection of a cylinder with a 12mm radius and a 12mm width, and a block measuring 20mm by 17mm by 15mm. To refine the wedge, remove a small 3mm by 17mm by 3mm rectangular section from the front center edge. Attach a rectangular s... | faces = 100;
width = 12;
module wedge()
{
radius = 12;
union() {
difference() {
intersection() {
rotate(90, [1,0,0]) cylinder(width, radius, radius, center = true, $fn = faces);
translate([10,0,15]) cube([20, width+5, 15], center = true);
}
... | glb/cad_1f6545b47cf6.glb |
Create a Tuna Can Platform by constructing a hollowed-out cylindrical base. Start with a solid cylinder that has a height of 20mm and a radius of 44mm. Use a 64-facet resolution to ensure the walls are smooth. To create the interior cavity, remove a smaller concentric cylinder from the center with a radius of 40mm and ... | base_height = 20;
can_width = 84;
difference() {
intersection() {
cylinder(h = base_height, r = can_width/2+2, $fn=64);
minkowski() {
translate([0,0,2]) cylinder(h = base_height-2, r = can_width/2, $fn=64);
sphere(r=2, center=true, $fn=24);
}
}
cylinder(h = base_... | glb/cad_49328bfdcc9e.glb |
Create a wedding cake topper panel by starting with a rectangular slab measuring 248mm wide, 4mm thick, and 512mm high. Within this slab, create a grid of holes using 10-sided prisms. Position the first set of holes at x-coordinates of 12, 68, 124, 180, and 236, with z-coordinates starting at 35mm and repeating every 5... | $fn = 10;
difference() {
union() {
difference() {
cube([248,4,512]);
for (a = [12:56:250], b = [35:56:520]) {
translate([a,8,b]) rotate([90,0,0]) cylinder(r=4,h=10);
}
for (a = [12:56:250], b = [35:56:480]) {
translate([a+28,8,b+28]) rotate([90,0,0]) cylinder(r=4,h=10);
}
}
for (i = [0 ... | glb/cad_eb6621ec7b77.glb |
Create a self-watering planter insert consisting of a circular base and several conical protrusions. Start with a solid cylinder base 166mm in diameter and 3mm thick.
Position a central conical pole on the base with a bottom radius of 10mm, a top radius of 15mm, and a height of 45mm. Create two additional identical c... | thickness = 3;
$fn=64;
diam = 166;
diam_bottom = 132;
pole_diam_top = 30;
pole_diam_bottom = 20;
pole_height = 45;
pole_hole = 5;
poles_center = 2/3;
diff = 0.1;
hole = 5;
watering_tube_top = 21;
watering_tube_bottom = 19.5;
watering_tube_height = 20;
watering_tube_position = 3/4;
module pole(cent = 0) {
t... | glb/cad_0c3811777fec.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.