Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Rolling Lady sculpture by combining three identical cones, each with a base radius of 10mm and a height of 5mm. Position the first cone with its base on the horizontal plane and its tip pointing upward. Place the second cone directly below the first, mirroring it so that its tip points downward and its base is... | $fn =200;
cylinder (r1=10, r2=0, h=5);
rotate ([180,0,0]) {
cylinder (r1=10, r2=0, h=5);
}
translate([0,8.6,0]) {
rotate ([0,90,0]) {
cylinder (r1=10, r2=0, h=5);
rotate ([180,0,0]) {
cylinder (r1=10, r2=0, h=5);
}
}
} | glb/cad_217414001bd6.glb |
Create a parametric pen holder for a 3D printer carriage. Start with a mounting plate that is 22mm wide, 3mm thick, and 15mm high. Remove a hexagonal hole with a 1.5mm radius from this plate, centered at x=13mm and z=8mm, to accommodate a mounting screw.
Attached to the plate, add a reinforcement block 3mm wide, 15mm ... | mount_plate_thickness=3;
mount_plate_x=22;
mount_plate_height=15;
mount_screw_diameter=3;
mount_screw_x_offset=13;
mount_screw_z_offset=8;
reinforce_mount_screw_diameter=3.5;
reinforce_mount_screw_x_offset=10;
reinforce_mount_screw_z_offset=10;
mount_reinforce_thickness=3;
mou... | glb/cad_01b716063919.glb |
Create a parametric pen holder for a 3D printer carriage. Start with a rectangular mount plate measuring 22mm in width, 3mm in thickness, and 20mm in height. Remove a horizontal cylindrical hole with a 3.5mm diameter from this plate, positioned at x=13mm and z=8mm.
Attached to the plate, add a reinforcement block 3mm ... | mount_plate_thickness=3;
mount_plate_x=22;
mount_plate_height=20;
mount_screw_diameter=3.5;
mount_screw_x_offset=13;
mount_screw_z_offset=8;
reinforce_mount_screw_diameter=3.5;
reinforce_mount_screw_x_offset=10;
reinforce_mount_screw_z_offset=10;
mount_reinforce_thickness=3;
m... | glb/cad_ef3a341ad9dc.glb |
Create a parametric pen holder for a 3D printer carriage. Start with a main mounting plate that is 30mm wide, 3.5mm thick, and 60mm high. In this plate, create a horizontal hole with a 3.5mm diameter centered at a height of 39mm and an x-offset of 14mm.
Add a reinforcement block attached to the plate, measuring 6.825m... | mount_plate_thickness=3.5;
mount_plate_x=30;
mount_plate_height=60;
mount_screw_diameter=3.5;
mount_screw_x_offset=14;
mount_screw_z_offset=9+30;
reinforce_mount_screw_diameter=3.5;
reinforce_mount_screw_x_offset=25;
reinforce_mount_screw_z_offset=10+30;
mount_reinforce_thickness=... | glb/cad_acc397505794.glb |
Create a Mini Quick Clamp replacement end. Start with a main body that is a combination of a rectangular block measuring 15mm by 21mm by 12.1mm and a smaller attached block measuring 16.5mm by 2.25mm by 12.1mm.
Cut a rectangular slot through the center of the smaller block, measuring 16.5mm by 2mm by 2mm, located at ... | $fn = 30;
padSquareX = 16.5;
padSquareY = 2.25;
padSquareZ = 12.1;
boltHoleDia = 4.5;
padTopToBoltCenter = 35;
padFrontToBoltCenter = 10.5;
nutHeight = 3.0;
nutDia = 9;
wingNutDia = 11;
wingNutDepth = 3;
railX = 8.75;
railZ = 3.75;
railNubZ = 2;
railNubX = 4;
railNubY = 4;
mainBodyY = 21;
mainBodyX = 15;
mainBody... | glb/cad_55dab73bdad4.glb |
Create a Pocket Hole Jig with a main body block measuring 101.6mm in length (4 inches), with a width and height based on a 19.05mm (0.75 inch) material thickness.
At the center of the block, create two parallel drill guide holes with a diameter of 9.525mm (0.375 inches). These holes should be spaced 25.4mm (1 inch) a... | thickness=0.75;
units="inch";
drillsize=0.375;
platethick=0.5;
woodremain=0.625;
angle=15;
holespacing=1;
th=0.125;
totallength=4;
bump=0.125;
collarod=0.438;
collarlen=0.7;
inmm=25.4;
cf=units=="inch"?inmm:1;
tl=totallength-bump;
unittext=units=="inch"?"in":"mm";
maxh=sin(angle)*totallength*cf;
if(0){
translate([-5... | glb/cad_b4b23a21964c.glb |
Create a button for an OpenTheremin case by combining two coaxial cylinders. First, construct a wide, flat base cylinder with a radius of 6mm and a height of 2.5mm. Centered on top of this base, add a second, narrower cylinder with a radius of 4mm and a height of 9mm. Ensure both cylinders have a high facet resolution ... | cylinder(h = 2.5, r1 = 6, r2 = 6, $fn = 100);
cylinder(h = 9, r1 = 4, r2 = 4, $fn = 100); | glb/cad_2f75f2769e8b.glb |
Create an Arduino T-Slot Extrusion mount. Start by constructing a base plate that is 20mm wide, 53mm long, and 15mm thick. From this base, extend two vertical walls upward, each 15mm high, positioned at the outer edges of the 20mm width. Connect these walls with a horizontal bridge of the same height, creating a rectan... | brace_width = 2.4;
attach_thick = 3;
extrusion_size = 20;
screw_dia = 3.3;
support_dia = 5.0;
wall_thick = extrusion_size-5;
support_h = wall_thick+3;
epsilon = 0.01;
$fn=50;
module nub(neg=0)
{
translate([0,0,support_h/2])
if (neg)
cylinder(r=2.6/2, h=support_h+epsilon, center=true);
else
... | glb/cad_10838fb2d846.glb |
Create a Fruit Penetrater tool by constructing a twisted, conical screw shape. Start with a base profile consisting of a central circle with a 15mm radius, surrounded by six smaller squares of 10mm width. These squares should be positioned equidistantly around the center, each with its center point 18mm from the middle... | $fn = 50;
threads1 = 6;
twist1 = 360;
height1 = 100;
thickness1 = 10;
module ScrewBase(){
circle (15);
for (i=[0:threads1-1]) {
rotate ([0, 0, 360/threads1*i])
translate ([18, 0, 0])
square (10, center = true);
}
}
module MinScrew(){
minkowski(){
S... | glb/cad_261d2670aa2a.glb |
Create a pipe rack by starting with a main cylindrical base 115mm in diameter and 4mm thick. Add a smaller central cylinder with a 20mm diameter and a height of 10mm, centered on the base. Remove a vertical hole 8mm in diameter through the exact center of the entire assembly. Around the center, create nine identical sl... | difference () {
union(){
cylinder (d=115, h=4, $fn=100);
cylinder (d=20, h=10, $fn=100); }
cylinder (d=8, h=10, $fn=100);
make_ring_of(radius = 43, count = 9)
difference() {
union() {
cylinder (d=24, h=4, $fn=100);
translate ([-7,-20,0]) ... | glb/cad_b003d6a5dc15.glb |
Create a pipe rack consisting of a circular base and a central vertical column. Start with a flat circular base 155mm in diameter and 7mm thick. Centered on this base, add a vertical cylinder with an outer diameter of 24mm and a height of 110mm. Create a hollow bore through the center of this vertical column with a dia... | difference () {
union(){
cylinder (d=155, h=7, $fn=100);
cylinder (d=24, h=110, $fn=100); }
cylinder (d=20.2, h=110, $fn=100);
make_ring_of(radius = 50, count = 9)
difference() {
hull() {
translate ([0,0,3]) cylinder (d=30, h=4, $fn=100);
... | glb/cad_05a5deb88407.glb |
Create a pipe rack by constructing a composite geometric form. Start with a central sphere with a diameter of 20mm. Position a cylinder with a diameter of 10mm and a height of 5mm so that its base is 15mm above the origin. Directly on top of that cylinder, place a second, smaller cylinder with a diameter of 7.9mm and a... | difference(){
union(){
translate ([0,0,20]) cylinder (d=7.9, h=5, $fn=100);
translate ([0,0,15]) cylinder (d=10, h=5, $fn=100);
translate ([0,0,7]) sphere (d=20, $fn=100);
}
translate ([-10,-10,-5]) cube([20,20,5]);
} | glb/cad_4a75f5909333.glb |
Create a Span Support Generator for MPCNC rails. Start with a main body that is 40mm wide and 112mm tall. The base of the support should have a thickness of 18mm, tapering linearly as it rises to a top thickness of 7mm at the 112mm height mark. At the very top, create a semi-circular cutout with a diameter of 25.4mm th... | height = 112;
width = 40;
depth = 7;
baseDepth = 18;
diameter = 25.4;
screwDiameter = 4;
screwHeadDiameter = 8;
screwHeadOffset = 9;
screwCount = 3;
screwAngle = 30;
difference() {
union() {
translate([0,-depth/2,0]) cube([width,depth,height+diameter/2]);
hull() {
translate([0,... | glb/cad_5120b92ae146.glb |
Create a pull string top consisting of a base, a stem, and a handle. Start with the base, which is a 10mm high cylinder with a 50mm diameter and 10 facets. The top of this base is tapered to a point, creating a conical shape 30mm high, though the outer edges are chamfered by 10mm. Remove a central vertical hole from th... | assembled=1;
stem_height=40;
stem_dia=7.5;
stem_dia_tol=.75;
stem_facets=8;
stem_hole_dia=2.5;
stem_hole_offset=stem_height/2;
base_height=30;
base_dia=50;
base_facets=10;
base_chamfer=10;
base_ring_dia=50;
base_ring_height=10;
handle_length=100;
handle_thick=stem_dia*2;
handle_width=20;
hole_edge=10;
shaft_tol=1;
t... | glb/cad_c4044559ee78.glb |
Create a GM Screen panel blank by constructing a thin, rectangular cuboid. The panel should have a width of 194mm, a height of 215mm, and a depth of 1.7mm. | x= 194;
y= 215;
z= 1.7;
cube([x,y,z]); | glb/cad_e76591f84dbf.glb |
Create a GM Screen frame consisting of a series of layered rectangular borders. Start with a base layer composed of two vertical bars, each 5mm wide, 180mm high, and 1mm deep, positioned at x = -95mm and x = 90mm. Connect these with two horizontal bars, each 190mm wide, 5mm high, and 1mm deep, positioned at y = -90mm a... | x= 5;
y= 180;
z= 1;
{translate([-95,-90,0])
cube([x,y,z]);
}
{translate([90,-90,0])
cube([x,y,z]);
}
x2= 190;
y2= 5;
z2= 1;
difference()
{translate([-95,-90,0])
cube([x2,y2,z2]);
translate([-75,-90,-4])
cylinder(h=15,d=1.8,$fn=20);
translate([75,-90,-4])
cylinder(h=15,d=1.8,$fn=20);
}
differ... | glb/cad_4ee777a90bb3.glb |
Create a GM Screen insert by constructing a thin, rectangular slab. The slab should have a width of 178mm, a height of 174mm, and a uniform thickness of 1.5mm. | x = 178;
y = 174;
z = 1.5;
cube([x,y,z]); | glb/cad_6cbe6e4b823a.glb |
Create a GM Screen panel by constructing a rectangular prism. The shape should have a width of 20mm, a length of 30mm, and a depth of 1.75mm. | xWidth= 20;
yLength= 30;
zDepth= 1.75;
module Panel() {
cube([xWidth,yLength,zDepth]);
}
Panel(); | glb/cad_b646e21cc0a6.glb |
Create a GM Screen clip by constructing a U-shaped channel. Start with a rectangular base that is 5.3mm wide, 20mm long, and 1.75mm thick. To this base, add two vertical walls, each 1.75mm thick, 20mm long, and 15mm high. Position these walls on opposite sides of the base so that they leave a central gap exactly 1.8mm ... | A = 1.8;
B = 1.75;
C = 15;
D = 5.3;
E = 20;
module Clip_Base() {
cube([D,E,B]);
}
Clip_Base();
module Clip_Side() {
cube([B,E,C]);
}
Clip_Side();
translate([3.55,0,0])
Clip_Side(); | glb/cad_1a76a9c7e2cf.glb |
Create a GM Screen Hook by combining several rectangular prisms. Start with a central vertical block that is 2mm wide, 10mm high, and 5mm deep. Attach a second block to the bottom of this central piece that is 4mm wide, 2mm high, and 5mm deep. Add a third block to the right side of the central piece, starting 4mm from ... | x1= 2;
y1= 10;
z1= 5;
{cube([x1,y1,z1]);}
x2= 4;
y2= 2;
z2= 5;
{cube([x2,y2,z2]);}
x3= 2;
y3= 4;
z3= 5;
{translate([4,0,0])
cube([x3,y3,z3]);}
x4= 6;
y4= 2;
z4= 5;
{translate([-4,10,0])
cube([x4,y4,z4]);}
x5= 2;
y5= 10;
z5= 5;
{translate([-4,0,0])
cube([x5,y5,z5]);}
{translate([-8,0,0])
cube([... | glb/cad_2dcd76f29feb.glb |
Create a GM Screen Hook by combining several rectangular prisms. Start with a base vertical pillar that is 2mm wide, 15mm high, and 5mm deep. At the bottom of this pillar, attach a horizontal block that is 4mm wide, 2mm high, and 5mm deep, aligned to the left edge of the pillar. On the right side of the pillar, 4mm awa... | x1= 2;
y1= 15;
z1= 5;
{cube([x1,y1,z1]);}
x2= 4;
y2= 2;
z2= 5;
{cube([x2,y2,z2]);}
x3= 2;
y3= 4;
z3= 5;
{translate([4,0,0])
cube([x3,y3,z3]);}
x4= 6;
y4= 2;
z4= 5;
{translate([-4,15,0])
cube([x4,y4,z4]);}
x5= 2;
y5= 10;
z5= 5;
{translate([-4,7,0])
cube([x5,y5,z5]);} | glb/cad_16ece674e0a1.glb |
Create a StarMaker ornament by constructing a five-pointed star. Each point of the star is formed by a cone with a height of 50mm and a base radius of 20mm, where the cone's base is a 4-sided polygon (a square pyramid). Arrange five of these pyramids so their tips point outward from a center point, rotated every 72 deg... | star_points = 5;
star_thickness = 0;
point_length = 50;
point_width = 20;
point_thickness = 5;
point_points = 4;
post_diameter = 10;
post_sides = 3;
each_angle = 180/point_points;
mounting_post = true;
thread_hole = true;
difference() {
intersection() {
star();
if( star_thickness>0 )
cube( [point_length*3,point... | glb/cad_2afaeeec5694.glb |
Create a StarMaker ornament by constructing a five-pointed star. Each point of the star is formed by a cone with a length of 50mm, a base width of 20mm, and a 4-sided polygonal cross-section, centered and radiating from the origin. The entire star is constrained to a total thickness of 20mm.
From this star shape, rem... | star_points = 5;
star_thickness = 20;
point_length = 50;
point_width = 20;
point_thickness = 5;
point_points = 4;
post_diameter = 10;
post_sides = 3;
each_angle = 180/point_points;
mounting_post = true;
thread_hole = true;
difference() {
intersection() {
star();
if( star_thickness>0 )
cube( [point_length*3,poin... | glb/cad_71e0ba07bdf9.glb |
Create a StarMaker ornament consisting of two identical mirrored halves. For each half, start by constructing a five-pointed star. The star is formed by five intersecting cones, each with a height of 50mm, a base radius of 20mm, and a 4-sided polygonal base. Arrange these cones so they radiate from a center point, with... | star_points = 5;
star_thickness = 0;
point_length = 50;
point_width = 20;
point_thickness = 5;
point_points = 4;
post_diameter = 10;
post_sides = 3;
each_angle = 180/point_points;
mounting_post = true;
thread_hole = true;
translate( [-point_length,0,0] )
top_half();
translate( [point_length,0,0] )
bottom_half();
mo... | glb/cad_e2f3d10e7d84.glb |
Create a vacuum attachment for a router consisting of a central cylindrical sleeve and two symmetrical mounting arms. Start by creating a hollow cylinder with an outer diameter of 48mm, an inner diameter of 45mm, and a height of 45mm.
From the base of this cylinder, extend two identical arms outward in opposite direc... | $fn=100;
diameter_of_vacuum_nozzle_in_mm = 48;
diameter_of_screws_in_mm = 3.1;
diameter_of_flange_in_mm = 10;
distance_between_router_screw_holes_in_mm = 85;
thickness_in_mm = 2;
width_of_little_straight_part_of_flange = 5;
vacuum_receptacle_height = 45;
function convert_to_radius(diameter) = diameter / 2;
module S... | glb/cad_3347ac7213ba.glb |
Create a Makeblock mbot Pen Holder with a total footprint of 40mm width, 15mm height, and 10mm thickness.
Start by creating a base block with rounded corners of 3mm. Within this block, create a central vertical hole for the pen with a radius that tapers from 5mm at the bottom to 6.5mm at the top.
Add a rectangular ... | so_width = 40.00;
so_height = 15.00;
so_thick = 10.00;
m5 = 5.0+0.5;
m3 = 3.0+0.5;
so_pen = 10.00;
corner = 3.0;
shapeoko();
module shapeoko()
{
difference()
{
union()
{
color("red") translate([corner,corner,0])
minkowski()
{
cube([so_width-corner*2, so_height-corner... | glb/cad_f5888393ad18.glb |
Create a 3D sign titled "Holy Cross 2017" consisting of a stylized cross and the number "2017" layered in stacked geometric profiles.
First, construct the base layer as a flat, irregular polygon profile with a thickness of 2mm. On top of this base, add a second layer with a thickness of 4mm, following a slightly smal... | fudge = 0.1;
module poly_path4180(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-10.691562,245.137394],[-12.046489,243.423841],[-12.900054,241.425869],[-13.344528,238.815934],[-13.472182,235.266494],[-13.866444,229.882694],[-14.392544,228.643844],[-15.167532,228.251294],... | glb/cad_d7b5cd7e0554.glb |
Create a 3D model of the capital letter "N" by extruding the character vertically to a height of 10mm. As the shape is extruded, apply a simultaneous twist of -90 degrees around the vertical axis. Position the base of the letter so that it is offset by -5mm on both the X and Y axes relative to the origin before the ext... | $fn=100;
linear_extrude(height = 10, twist = -90, scale=1)
translate ([-5,-5,0])
text ("N"); | glb/cad_bea21c514810.glb |
Create a 3D model of the capital letter "N" by extruding the character vertically to a height of 10mm. As the letter is extruded, apply a continuous twist of -90 degrees around its center axis, ensuring the shape remains at a constant scale from bottom to top. Use a high resolution for the curves and edges to ensure th... | linear_extrude(height = 10, twist = -90, scale=1, slices=100)
text ("N", halign="center", valign="center", $fn=100); | glb/cad_bcba25f7db09.glb |
Create a dynamic drawer with a handle. Start with a base rectangular block measuring 80mm wide, 59mm deep, and 15mm high. The walls and floor should have a thickness of 1.6mm, with all exterior vertical corners rounded to a 2mm radius.
Hollow out the interior of the block to create a storage compartment, then divide t... | use<write.scad>;
part = "dynamicdrawer";
NUM_DRAWERS = 5;
DRAWER_HEIGHT = 15;
DRAWER_DEPTH = 59;
DRAWER_WIDTH = 80;
MESSAGE = " ";
TEXT_HEIGHT = 6;
DYNAMIC_DRAWER_ROWS = 3;
DYNAMIC_DRAWER_COLS = 2;
india = 6 ;
spacing = 1.2;
dia = india + (spacing * 2);
hoff = india+spacing;
voff = sqrt(pow(hoff,2)-pow(hoff/2... | glb/cad_38b8e92e459d.glb |
Create an EBike Housing designed to organize handlebar components. The main body is a rectangular base with a large cylindrical cutout on the bottom side to fit over a handlebar. This handlebar join is a cylinder with a diameter of 29mm and a height of 86mm, featuring a concentric inner hole with a diameter of 24mm. A ... | module m3_screw(length) {
union() {
cylinder(length+3,d=3.5,$fn=8);
translate([0,0,-5]) cylinder(3+5,d=6,$fn=16);
}
translate([0,0,length]) cylinder(3,d=8,$fn=6);
}
module handlebar_join() {
difference() {
rotate([90,0,90]) {
difference() {
union() {
difference() {
cylind... | glb/cad_47e30f7ce2b8.glb |
Create a Laughingman extruder mount designed for a 625Z bearing and MK8 gear. Start with a central cylindrical motor housing with a radius of 25mm and a height of 4mm. Cut a square central slot 42mm wide to accommodate the motor.
On the side of the housing, create a filament guide path centered 12mm from the motor. Th... | slop = .2;
wall = 4;
motor_w = 42;
motor_r = 50/2;
gear_dia = 8.9;
gear_rad = gear_dia/2;
m3_nut_rad = 6/cos(30)/2;
m3_nut_height = 3;
m3_rad = 1.8;
m3_cap_rad = 7/2+slop;
m4_rad = 2+slop;
m4_nut_rad = 7.8/2+slop;
m4_nut_height = 3.2;
m4_cap_rad = 7/2+slop;
m5_nut_rad = 8.6/cos(30)/2+slop;
m5_nut_height = 5+slop;
... | glb/cad_0ad944ac4140.glb |
Create a Sudoku game set consisting of numbered tiles.
First, create nine individual square tiles. Each tile should be a cube measuring 11mm x 11mm x 2mm (based on a tile size of 12mm minus a 1mm margin). On the top face of each tile, center a digit from 1 to 9 using the Lobster font with a size of 9mm. These digits ... | tilesize = 12;
wallsize = 2;
tilethick = 2;
part = "lt";
font_name="Lobster";
textorientation = "cut";
print_part();
module print_part(){
if (part == "lt"){
tileset1();
}else if (part == "st"){
tileset2();
}else if (part == "b"){
board();
}else{
tileset1();
}
}... | glb/cad_2e614760e2f0.glb |
Create a 3D model of an iStick Basic vape. Start by constructing the main body as a hull connecting two vertical cylinders of different diameters: one with a diameter of 23mm and another with a diameter of 18.3mm, both extending to a height of 81.5mm. On the top surface of the 18.3mm cylinder side, place a smaller cyli... | baseHeight = 81.5;
batterySideDiameter = 23;
tankSideDiameter = 18.3;
tankTopDiameter = 14.4;
tankTopHeight = 3.5;
tankOffsetFromEdge = 1.67;
mouthPieceHeight = 20.4;
mouthPieceDiameterBase = 12.3;
mouthPieceDiameterTop = 8.6;
buttonClearanceDiameter = 9.25;
buttonOffsetFromTop = 5.95;
buttonProtrusion = 1.0;
vapeBas... | glb/cad_dd714fd197b4.glb |
Create a set of four Painter's Points. Each point is a square-based pyramid with a height of 30mm. The base of each pyramid is a square with a side length of 40mm, and the top tapers to a point with a width of 2mm. Position the four pyramids in a 2x2 grid, with each pyramid spaced 30mm apart from the others along both ... | for (x=[0:30:30])
for (y=[0:30:30])
translate([x,y,0])
rotate([0,0,45]) cylinder(r1=20,r2=1,h=30,$fn=4); | glb/cad_fd92e5e09805.glb |
Create a Prusa decorator clamp by starting with a cylinder that has a radius of 6.5mm and a height of 8mm. Remove a smaller concentric cylinder from the center with a radius of 4mm and the same height. To create the opening for the rod, remove a section of the ring using a cube that is 5.66mm wide, 23mm deep, and 10mm ... | rod_diam = 8;
clamp_diam = rod_diam + 5;
open_angle = 80;
width = 8;
base_lx = clamp_diam;
base_ly = 2;
base_lz = width;
open_x = 2*(rod_diam/2)*sin(open_angle/2);
module Prusa_clamp()
{
union() {
difference() {
cylinder(r=clamp_diam/2, h=width);
cylinder(r=rod_diam/2, h=width+10,center=true);
... | glb/cad_f5940c9af41f.glb |
Create a protective cover for an MP3 player. Start by forming the main body as a hull of eight spheres, each with a 4mm diameter, positioned at the corners of a 38.2mm by 46.2mm rectangle and spaced 8mm apart along the Z-axis.
Inside this body, remove a central volume defined by the hull of four 6mm diameter cylinder... | module MP3()
{ color("red")
hull()
{
for(i=[-1,1])
{
for(j=[-1,1])
{
translate([33.2/2*i,84.2/2*j,0])
cylinder(d=6,h=9,$fn=60,center=true);
}
}
}
}
difference()
{
hull()
{
for(i=[-1,1])
{
... | glb/cad_dea899c18d28.glb |
Create a mount by constructing a base rectangular plate 95.5mm wide, 15mm high, and 42.5mm deep. From this main volume, remove a central rectangular section 88.5mm wide, 17mm high, and 39mm deep to create a U-shaped channel. To form the mounting flanges, add two rectangular slabs to the sides of the main body, each 3.5... | thickness = 3.5;
width = 88.5;
height = 15;
dept = 39;
mountWidth = 20;
module mount(){
rotate([90, 0, 0]) {
difference() {
union() {
cube([width + thickness * 2 ,height ,dept + thickness]);
translate([-mountWidth, 0, 0])
cube([width+ (thicknes... | glb/cad_4d1f2e07969c.glb |
Create a 3D model of a 13-inch laptop.
Start with the base: create a rectangular slab 40mm wide, 64mm deep, and approximately 5mm thick. Round the corners of this base. On the top surface of the base, create a recessed area for the keyboard and a separate recessed rectangular area for the trackpad. Fill the keyboard ... | $fn=24;
difference () {
minkowski() {
cube([40,64,1]);
cylinder(r=2,h=2);
}
hull () {
translate([37,46,2.8]) cylinder(r=2,h=2);
translate([37,18,2.8]) cylinder(r=2,h=2);
translate([24,18,2.8]) cylinder(r=2,h=2);
translate([24,46,2.8]) cylinder(r=2,h=2);
}
minkowski() {
translate([41.5,27.5... | glb/cad_910bf98646d0.glb |
Create a side-mounted fan bracket for an E3D V6 hotend. Start with a main base plate measuring 70mm by 30mm with a thickness of 5.6mm, featuring rounded corners. In the center of this plate, create a rectangular cutout for the blower nozzle that transitions into a stem; the stem should be 10mm wide and 8mm long, extend... | fan_dim = 40;
hotend = "e3dv6";
fan_hole_sep = (fan_dim == 40 ? 32 : 24);
volcano_height = 73.8;
e3dv6_height = 61.8;
magmajhead_height = 58.8;
blower_height = (hotend == "magmajhead" ? magmajhead_height : (hotend == "e3dv6" ? e3dv6_height : volcano_height));
$fs=0.2;
$fa=0.1;
module roundcube(dims, r = 3, center =... | glb/cad_a001bcc84e95.glb |
Create a compound of three cubes, each with an edge length of 20mm, all sharing a single common center point. Position the first cube with a 45-degree rotation around the X-axis. Position the second cube with a 45-degree rotation around the Y-axis. Position the third cube with a 45-degree rotation around the Z-axis. Th... | color("red")
rotate([45,0,0])
cube(20, center=true);
color("green")
rotate([0,45,0])
cube(20, center=true);
color("blue")
rotate([0,0,45])
cube(20, center=true); | glb/cad_7a242e52f971.glb |
Create a rounded cuboid with an inner box dimension of 20mm x 40mm x 10mm. Apply rounding radii of 4mm on the X-axis, 11mm on the Y-axis, and 5mm on the Z-axis.
To define the surface resolution, use 64 segments for the rounded corners and 40, 80, and 15 linear segments for the faces along the X, Y, and Z axes respect... | fn=64;
dx=20;
dy=40;
dz=10;
rx=4;
ry=11;
rz=5;
nx=40;
ny=80;
nz=15;
$t=0.25;
v = roundbox_v(dx,dy,dz*($t+0.5),rx,ry,rz,fn,nx,ny,nz);
polyhedron(v[0],v[1]);
tiefe = dy+2*ry;
breite = dx+2*rx;
vs = [for (p=v[0])
let( w=((p[1]/tiefe)+0.5)*720+$t*360 )
[p[0]*(0.75+sin(w)/5),p[1],p[2]*(0.75... | glb/cad_90e9de5d3bee.glb |
Create a parametric coat hanger consisting of two symmetrical side arms and a central hook assembly. Each arm is constructed from a hexagonal bar with a diameter of 7mm. The arm begins with a straight section 176.5mm long, then bends upward at an angle to form the top shoulder, extending another 104.5mm before terminat... | length = 390;
height = 110;
bar_d = 7;
bar_r = bar_d / 2;
bend_d = 38;
bend_r = bend_d / 2;
pin_d = bar_d;
pin_buffer = 5;
plate_h = pin_d * 2 + pin_buffer + 4;
bottom_l = length /2 - bend_r - plate_h / 2;
corner_a = atan((height - bend_d)/ bottom_l);
top_l = sqrt((bottom_l + tan(corner_a)*bend_r) * (bottom_l + t... | glb/cad_ea8dd3562111.glb |
Create a proximity sensor mount designed to replace a servo motor. Start with a main rectangular body measuring 45mm in width, 6.35mm in thickness, and 28.5mm in depth. Add a top tab measuring 19.75mm by 6.35mm by 6mm and a back tab measuring 5.5mm by 6.35mm by 5.4mm.
Cut a central rectangular opening through the body... | servo_width=23.5;
servo_height=12.5;
servo_bolt_size=3;
proximity_sensor_diameter=18;
rotate([90,0,0])
union(){
difference(){
mainblock();
translate([0,0,3])
servo_hole();
}
}
module mainblock() {
difference() {
block();
rotate([90,0,0])
translate([0,17.25,0])
cylinder (... | glb/cad_ad7a6b884c17.glb |
Create a Lego City compatible train track section with a total length of 120mm. The model consists of two parallel main rails, each with a complex profile. The profile of each rail is defined by a polygon with vertices at [0,0], [0,8], [3,8], [3,7], [4,7], [7,5.25], [9,5.25], [9,2.75], [7,2.75], [4,1], [3,1], and [3,0]... | length = 120;
module rail_main(length) {
poly = [[0,0],[0,8],[3,8],[3,7],[4,7],[7,5.25],[9,5.25],[9,2.75],[7,2.75],[4,1],[3,1],[3,0]];
rotate([90,-90,180]) linear_extrude(length) polygon(poly);
}
module rail_endpoint_right() {
poly = [[0,2],[0,6],[3,6],[3,4],[9,4],[9,2.75],[7,2.75],[4,2],[3,2]];
rotat... | glb/cad_443e39a54933.glb |
Create a Nanobox by starting with a solid rectangular box measuring 43mm in length, 22mm in width, and 22mm in height. Hollow out the center of this box by removing a smaller rectangular volume from the middle, leaving a uniform wall thickness of 0.4mm on all sides. On the top face, create a cross-shaped opening consis... | $fn=50*1;
include <write/Write.scad>
use <write.scad>
BOX_LENGTH = 43;
BOX_WIDTH = 22;
BOX_HEIGHT = 22;
wall = 0.4*1;
X_ANGLE = 35;
Xwidth = .8*1;
Xheight = 6*1;
Xlength = 1.6*1;
HORIZONTAL_TEXT = "PO104545";
VERTICAL_TEXT = " ";
TEXT_SIZE = 3;
X = BOX_LENGTH < BOX_WIDTH ? BOX_LENGTH : BOX_WIDTH;
difference ()
{
... | glb/cad_ae5b4ae83f84.glb |
Create a Pendant Lamp Ceiling Fixture bracket. Start by creating a wide, tapered cylindrical base with a bottom diameter of 46mm and a top diameter of 39mm, and a height of 14.25mm. Centered on top of this base, add a second cylinder with a diameter of 12.5mm and a height of 31mm.
Now, create a series of vertical hol... | screwHeadDiameter = 8;
screwHeadHeight = 5;
screwHoleDiameter = 5;
wireDiameter = 6.5;
ninetyDegreeBendLength = 15;
wallWidth = 3;
$fa = 1;
$fs = 1;
baseWidth = ninetyDegreeBendLength * 2 + wireDiameter + 2 * screwHeadDiameter;
baseHeight = wireDiameter * 1.75 + wallWidth;
stemWidth = wireDiameter + (2 * wallWidth)... | glb/cad_5de49d7a2e67.glb |
Create a Hierarchical Locking Experiment I consisting of four identical interlocking segments arranged in a linear row. Each segment is a composite block with a total height of 6mm and a width of 9mm.
The main body of each segment is a rectangular block with a central vertical slot. Within this body, integrate two loc... | 0_unit = 1.5;
u = 0_unit;
segments = 4;
clear = 0.35;
part= "both";
sep=12;
wall =3;
for(i=[0:segments-1])
{
translate([i*u*sep,0,0])
{
chainelement(1);
translate([0,-16*u,u*(5-wall)/2]) rotate(90,[0,0,1]) lockpin(5-wall,1,2,-clear);
}
}
module chainelement(n=2,l=1)
{
pinwidth = (2+2)*u;
gapwidth ... | glb/cad_db5c0faceb44.glb |
Create a Jar Ceiling Fixture Adapter consisting of a hollow cylindrical ring with an outer diameter of 104mm and a total height of 15mm. The ring has a wall thickness of 4mm, creating an inner chamber diameter of 100mm.
The bottom of the ring is not a smooth circle but is formed by the profile of two overlapping gear... | baseThick = 2;
baseWidth = 4;
baseOuterDiameter = 104;
baseInnerDiameter = baseOuterDiameter - (baseWidth * 2);
wallHeight = 15;
wallThick = 4;
chamberDiameter = 100;
partHeight = wallHeight;
partWidth = baseOuterDiameter;
use <MCAD/gears.scad>
union() {
difference() {
difference() {
cylin... | glb/cad_3429b768c77e.glb |
Create an AirPods charging case dock by starting with a rounded rectangular block. The outer dimensions should be 54mm in length, 31mm in width, and 45mm in total height. The main body is a stadium shape with a wall thickness of 5mm.
Carve out a central cavity to hold the charging case, measuring 44.4mm by 21.4mm with... | $fa=0.5;
$fs=0.5;
looseTolerance = 0.4;
tightTolerance = 0.2;
caseWidth = 21 +looseTolerance;
caseLength = 44 +looseTolerance;
caseCornerRadius = caseWidth / 2;
dockDepth = 17;
dockSideThickness = 5;
dockBottomThickness = 28;
outerSize = [caseLength + 2*dockSideThickness, caseWidth + 2*dockSideThickness, dockDept... | glb/cad_c05339819899.glb |
Create a Minkowski Dog Bowl by constructing a hollowed-out square container with heavily rounded corners and edges. Start by creating a solid rounded cube with an overall width of 160mm, a height of 30mm, and a corner radius of 30mm. To create the interior cavity, remove a smaller concentric rounded cube from the cente... | $fn=144;
Height= 60 /2;
Width=160 -Height;
wall=10;
Bowl();
module Bowl()
difference() {
Minkowski(Width ,Height/2);
Minkowski(Width-wall*2 ,Height/2+wall);
}
module Minkowski(A,B)
minkowski() {
translate([0,0, B])
cube([A,A ,Height],true);
cylinder(r=Height,h=Height);
} | glb/cad_7fd4ba12177f.glb |
Create a pair of Snap Decoy Glasses by constructing two identical mirrored frame halves. For one half, start with a base shape formed by the union of a 60mm diameter cylinder with a height of 3mm and several smaller cylinders: one 8mm diameter cylinder at position (-10, 29, 0), one 2mm diameter cylinder at (-22, 22.5, ... | $fn = 120;
module left() {
union() {
difference() {
translate([-16,-20,0]) cylinder(d=18,h=3);
translate([-16,-20,1]) cylinder(d=12,h=5);
}
difference() {
hull() {
cylinder(d=60,h=3);
translate([-23,-29,0]) cylinder(d=2,h=3... | glb/cad_4328e5998bd0.glb |
Create a GT2 idler pulley for MR74ZZ ball bearings. Start by creating a central cylinder with a diameter of 12mm and a height of 7mm. This cylinder should have 20 evenly spaced GT2-profile teeth cut into its outer circumference.
Add a circular base and a top flange, both with a diameter of 20mm and a thickness of 1.2m... | number_of_teeth = 20;
profile = 12;
motor_shaft_diameter = 7.2;
toothed_part_length = 7;
base_height = 0;
base_diameter = 20;
belt_retainer = 1;
retainer_height = 1.2;
belt_idler = 1;
idler_height = 1.2;
screws_disposition = 0;
nut_shape = 1;
screw_profile = 4;
nut_shaft_distance = 1.2;
no_of_nuts = screw... | glb/cad_f53a205381ca.glb |
Create a cable spool consisting of a base and a lid. The base is a shallow cylinder with a total height of 20.1mm. At its center, create a hub with a radius of 8mm and a height of 18mm. The hub's walls are 2.4mm thick. The base features a snap-fit rim with a radius of 14.4mm and a height of 4.5mm, including a guide sec... | r=8;
hi=18;
cord = 4;
cordmargin = 2;
conn=18;
length=3500;
w=.60*4;
t=0.3*7;
snap=w*0.75;
openings=2;
outer_slots=13;
outer_slots_width=9;
outer_slots_depth=0.60*35;
outer_slots_height_margin=2 ;
tol=0.3;
$fa=4;
$fs=2;
base();
tp=cord*cord/hi;
turns=-r/tp+sqrt(r*r/tp/tp+length/3.1416/tp);
layers = ceil(turns*cord/h... | glb/cad_caac53834600.glb |
Create a cable spool consisting of a base and a lid. The base is a cylindrical container with a flat bottom of 2.4mm thickness. At the center of the base, create a hub with a radius of 8mm and a height of 18mm. The hub features a decorative "yin-yang" style curved profile. Around the hub, add a series of small circular... | r=8;
hi=18;
cord = 4;
cordmargin = 2;
conn=20;
length=3500;
w=.60*4;
t=0.3*7;
snap=w*0.75;
openings=2;
outer_slots=13;
outer_slots_width=9;
outer_slots_depth=0.60*35;
outer_slots_height_margin=2 ;
tol=0.40;
$fa=6;
$fs=2;
rotate([180,0,0])lid();
tp=cord*cord/hi;
turns=-r/tp+sqrt(r*r/tp/tp+length/3.1416/tp);
layers = ... | glb/cad_b5ea252a3ed5.glb |
Create a Minkowski Bowl by constructing a hollowed-out rounded cube. First, create a solid rounded cube by combining a central cube with a side length of 130mm and a height of 30mm, then rounding all edges and corners using a sphere with a radius of 30mm. To create the interior cavity, remove a smaller concentric round... | $fn=144;
Height= 60 /2;
Width=160 -Height;
wall=10;
translate([0,0 ,30])Bowl();
module Bowl()
difference() {
Minkowski(Width ,Height/2);
Minkowski(Width-wall*2 ,Height/2+wall);
}
module Minkowski(A,B)
minkowski() {
translate([0,0, B])
cube([A,A ,Height],true);
sphere( r=Height,h=Heig... | glb/cad_19fc48f51f22.glb |
Create a flat-bottomed brilliant-cut diamond shape with a total diameter of 20mm and a height of 12.3mm. Start with a cylinder of 20mm diameter and 12.3mm height, using a 48-facet resolution.
Carve the geometry by removing material using a series of intersecting rectangular prisms to create the diamond's facets. Firs... | module sea_urchin()
difine();
dd=20;
hr=0.615;
pag1=42.45*1;
pag2=40.75*1;
cag3=40.16*1;
cag4=34.5*1;
cag5=24.35*1;
dh=dd*hr;
difference(){
difference() {
translate([0,0,-dd*0.431])cylinder(h=dh,r=dd/2,$fn=48);
union(){
for (i = [ 0 : 8-1] ) {
rotate([0,0,360/8*i]) translate([dd/2,0,-5/cos(pag1)]) rotat... | glb/cad_e5d72e6d6b1d.glb |
Create a filament roll holder consisting of a cylindrical spool support attached to a mounting plate. Start by creating a mounting plate that is 40mm wide, 10mm high, and 2mm thick. Add a small rectangular lip to the front of this plate that is 22mm wide, 3mm thick, and 10mm high.
Attached to the back of the plate, cr... | rollWidth = 70;
holderDepth = 10;
holderLever = 0;
bevelWidth = 5;
lipTickness = 3;
holderDiameter = 30;
backWallThickness = 5+0;
frontWallThickness = 3+0;
pHoleWidth = 22+0;
pHoleHeiht = 10+0;
pWall = 2 +0;
hDepth = holderDepth/2;
rWidth = rollWidth + bevelWidth;
ms_Heigh... | glb/cad_2355147ff86f.glb |
Create a clock winding key consisting of a handle and a shank. First, construct the handle as a cylinder with a diameter of 20mm and a height of 10mm, centered on the X and Y axes. Bore a smaller concentric hole through the center of this handle with a diameter of 6mm and a depth of 10mm. Next, attach a vertical shank ... | module polygonRod(flats, radius, depth) {
linear_extrude(height = depth, center = false, convexity = 10, twist = 0)
circle(r=radius, $fn=flats);
}
module keyShank(flats, radius, depth, shankRadius, shankLength) {
difference() {
translate([0, 0, 15]) cylinder(shankLength, shankRadius, shankRadius, false... | glb/cad_93ca757ecb39.glb |
Create an angular calibration pillar by starting with a square base 10mm wide and 10mm deep. Extrude this square vertically to a total height of 30mm while simultaneously applying a 270-degree twist along the Z-axis. Use only 6 slices for the extrusion to ensure the resulting form is a faceted, low-resolution spiral ra... | s = 10;
intersection() {
cube ([s, s, 30], center = true);
rotate ([0, 0, 45])
cube ([s, s, 30], center = true);
translate ([0, 0, -15])
linear_extrude(height = 30, twist = 270, slices = 6)
square (10, center = true);
} | glb/cad_c3275e7df924.glb |
Create an angular calibration pillar by starting with a square base 10mm wide and 10mm deep. Extrude this square vertically to a height of 10mm while simultaneously twisting the shape 90 degrees around its center axis. To ensure the final form has sharp, faceted edges, use only two slices for the extrusion process. Fin... | s = 10;
intersection() {
cube ([s, s, 30], center = true);
translate ([0, 0, 0])
linear_extrude(height = 10, twist = 90, slices = 2)
square (10, center = true);
} | glb/cad_1e26728d27f7.glb |
Create a Customizable Flying Stand Base by starting with a main circular disc that is 35mm in diameter and 2mm thick. In the center of this disc, create a vertical cylindrical hole with a diameter of 3.5mm. This hole should be drilled through the bottom of the base but stop 1mm from the bottom surface, leaving a 1mm th... | $fn = 200;
base_thickness = 2;
base_diameter = 35;
stick_diameter = 3.5;
stick_offset = 0;
union () {
difference() {
cylinder(base_thickness, base_diameter/2, base_diameter/2);
translate([stick_offset, stick_offset,1]) cylinder (base_thickness/2, stick_diameter/2, stick_diameter/2);
}
... | glb/cad_7d775455f842.glb |
Create a pipe adapter consisting of two concentric cylindrical rings connected by a tapered transition. Start by creating a bottom cylindrical ring with an outer diameter of 129mm, an inner diameter of 127mm, and a height of 20mm. From the top of this ring, create a conical transition section that is 15mm tall, taperin... | fn = 200;
d1 = 125;
d2 = 100;
delta = 1;
l = 20;
lp = 15;
h = 2;
module flanec()
{
difference(){
cylinder( l, d=d1+delta+h*2, $fn=fn );
cylinder( l, d=d1+delta, $fn=fn );
}
translate([0,0,lp+l]) {
difference(){
cylinder( l, d=d2-delta, $fn=fn );
cylinde... | glb/cad_987c159cfbe1.glb |
Create a 3D snowflake ornament with a total thickness of 3mm. The design is based on a central hexagonal void and a series of radiating geometric patterns. Start by creating a central hexagonal ring with an outer diameter of 6mm and an inner diameter of 4mm. Surround this center with six identical arms spaced every 60 ... | scale = 4;
module hexagon(x)
{
polygon(points = [[0,x],[x*cos(30),x*sin(30)],[x*cos(30),-x*sin(30)],[0,-x],[-x*cos(30),-x*sin(30)],[-x*cos(30),x*sin(30)]]);
}
scale(scale)
linear_extrude(height=.75)
union()
{
difference()
{
for (i = [0:60:360])
{
rotate(i)
polygon(points = [ [-.5,0]... | glb/cad_b745232cea21.glb |
Create a downspout adapter by starting with a solid cylinder that has an outer diameter of 90.17mm and a height of 15mm. Add a conical flare to the top edge of this cylinder that extends 15mm upward, tapering from the outer diameter down to the top surface. From the center of this solid, remove a vertical void to creat... | $fn=60;
module downspout(height) {
w = 76.3;
h = 56.3;
rad = 15;
linear_extrude(height=height) {
hull() {
translate([-(w/2-rad), -(h/2-rad)]) circle(r=rad);
translate([-(w/2-rad), (h/2-rad)]) circle(r=rad);
translate([ (w/2-rad), -(h/2-rad)]) circle(r=rad);
... | glb/cad_2eb974ba77fd.glb |
Create a screw extrusion consisting of a central core and an external thread. Start with a cylinder of height 5mm, with a base radius of 15mm and a top radius of 17mm.
Add a helical thread wrapped around this core. The thread profile is a triangle defined by three points: [0, -1.25, 0.001], [0, 1.25, 0], and [1.25, 0... | R=15;
DR=2;
H=5;
N=4;
fn=64;
tol=0.001;
steigung=DR/H;
mmperturn=H/N;
gx = mmperturn/2;
hub = gx;
ViewSectioned(1,[(R+DR)*2, (R+DR)*2, H*2])
{
cylinder(r1=R+tol, r2=R+DR+tol, h=H, $fn=fn);
translate([0,0,hub])
screw_extrude
(
P=[[0,-gx+tol],[0,gx-tol],[gx,0]],
r1=R+hu... | glb/cad_0659f7fa85c5.glb |
Create a Duncan Mask for telescope collimation. Start by creating a thin circular disk with an outer diameter of 218mm and a thickness of 2mm. From this disk, remove a concentric circular hole with a diameter of 203mm to create a thin outer rim.
In the center of the disk, add a raised cylindrical handle with a height... | OD = 218;
aperture = 203;
rim = 0.5*( OD - aperture) ;
ID = 72;
sIDratio = 0.7;
handleH = 14;
$fn = 120;
thk = 2.0;
rOD = 0.5*OD;
rID = 0.5*ID;
rA = 0.5*aperture;
rHUB = 0.5*aperture*sIDratio;
difference() {
union() {
cylinder( h = thk, r1 = rOD, r2 = rOD );
cylinder( h = handleH, r1 = rID+thk, r2 = rID+thk );
... | glb/cad_0d5c7b7a18c2.glb |
Create a removable raft consisting of a rectangular base and two vertical pillars. Start by creating a wide, thin rectangular base measuring 51mm by 100mm with a height of 0.4mm. On top of this base, add a second rectangular layer measuring 51mm by 100mm with a height of 1.2mm, positioned at a height of 0.4mm. Above th... | raft (50,100);
module raft (x,y,layer_height = 0.4, bot_layers = 1,solid_layers=3, top_layers = 1,pillar_width = 5,pillar_height=30,top_layers_narrow=1) {
translate([0,0,layer_height*bot_layers]) cube([x+1,y,layer_height*solid_layers]);
for (z = [0: x/2]) {
translate([2*z, 0, 0])
cube([1,y,bot_layers*layer_h... | glb/cad_bfd3984eb5bd.glb |
Create an atom pendant consisting of a central nucleus, three orbiting rings, and three supporting struts. For the nucleus, cluster seven spheres with a radius of 2mm: one at the center, and one each at the positions [2,0,0], [-2,0,0], [0,2,0], [0,-2,0], [0,0,1], and [0,0,-1].
Construct three identical orbital assemb... | module torus(r1=1, r2=2)
{
rotate_extrude(convexity = 10, $fn = 50)
translate([r2, 0, 0])
circle(r = r1, $fn = 50);
}
module ring(l=1.2,w=3.5,h=2)
{
scale([l,w,h])
torus(.7, 5);
}
module orbit(sr=2.5,cr=1.3)
{
difference()
{
union()
{
translate([3.5,-14.25,0])
sphere(sr, $fn=20);
ring();
}
... | glb/cad_fb99e412d756.glb |
Create a Badge Holder designed to hold a card 55mm wide, 86.5mm long, and up to 2.25mm thick.
Start by creating a main body with outer dimensions of 58mm by 90.5mm and a total height of 5.25mm. All exterior corners of this body must be rounded with a 2mm radius.
Inside this body, carve out a central card slot measu... | cardWidth = 55;
cardLength = 86.5;
cardHeight = 2.25;
tabSize = 9;
tabSlotWidth = 3.5;
tabSlotLength = 11;
tabRadius = -1;
edgeRadius = 2;
wallThickness = 1.5;
flangeWidth = 2;
flangeHeight = 1.5;
flangeGap = 15;
flangeRadius = edgeRadius * 2;
holder();
_holderWidth = cardWidth + 2 * wallThickness;
_holderL... | glb/cad_64c3d9831c52.glb |
Create two separate bearing guide components. For the first component, create a hollow cylinder with an outer radius of 12.35mm and an inner radius of 11.15mm, both with a height of 8.7mm. At the top of this cylinder, add a concentric ring that extends the outer radius to 11.75mm but only for a height of 1.7mm. At the ... | single_layer_width=0.6;
bearing_inner=22.3;
thickness=1.7;
height=7+thickness;
wall_ascent=3;
wall_descent=0.5;
clearance=0.0;
module outer()
{
difference()
{
cylinder(r=bearing_inner/2+2*single_layer_width+clearance,h=height);
translate([0,0,-1])
cylinder(r=bearing_inner/2,h=height+2);
translate([0,0,height... | glb/cad_a346a99c45b2.glb |
Create a bottom case for an FPV watch with overall dimensions of 56mm width, 49.8mm height, and 12.6mm depth. The case features a floor and three walls of 2mm thickness. The left wall contains a rectangular cutout for a USB charging port measuring 8.3mm wide by 3.3mm high, positioned 7.5mm from the bottom edge and 5.5m... | bat_width = 25.1;
bat_height = 42.1;
bat_depth = 4.1;
pcb_width_1 = 51.4;
pcb_width_2 = 44;
pcb_width_3 = 39.6;
pcb_height_1 = 13.7;
pcb_height_2 = 30.4;
pcb_height_3 = 45.4;
pcb_depth = 3.2;
usb_height = 7.5;
usb_offset_x = 2.5;
usb_offset_y = 5.3;
sma_diameter = 6.2;
wall_size = 2;
hole_dist_x = 45.3;
hole_dist_y = 4... | glb/cad_ef6d7c3eb871.glb |
Create a transmitter mount for an FPV watch. The assembly consists of two identical outer holders connected by a central bridge.
First, create a single holder by starting with a cube that is 13.5mm wide, 13.5mm high, and 13.5mm deep. From this cube, remove a cylinder with a diameter of 9.5mm that passes through the c... | diameter = 9.5;
wall_size = 2;
screw_size = 3.1;
srew_tap_size = 2.6;
mount_width = diameter + (2 * wall_size);
mount_height = mount_width + screw_size + wall_size;
cut_width = diameter - 2;
width = 40;
depth = 75;
center_width = 12;
center_offset = 5;
top_width = 39;
top_height = 49;
$fn = 20;
module single_mount() ... | glb/cad_42663a8146f2.glb |
Create a Phone Case for an iPhone 5. Start by constructing the main body as a rounded rectangular shell with a width of 57.57mm, a length of 122.83mm, and a height of 7.6mm, using a corner radius of 9.28mm. Set the wall thickness of the case to 1.8mm.
Hollow out the center to accommodate the phone, ensuring the interi... | use <utils/build_plate.scad>
iphone_version = 1;
case_thickness = 1.8;
pattern_shape = 6;
pattern_radius = 8;
pattern_overlap = 15;
pattern_rotation = 0;
pattern_thickness = 2;
build_plate_selector = 0;
honeycomb_radius = pattern_radius;
honeycomb_radius_modifier = pattern_overlap;
honeycomb_sides = pattern_shap... | glb/cad_5fc022b6f8cd.glb |
Create a small mixer stirrer consisting of a central vertical shaft and three radiating blades. Start by creating a hexagonal shaft with a radius of 3.81mm and a total height of 76.2mm. At the base of this shaft, centered 1.905mm from the bottom, construct a circular ring with an outer radius of 19.05mm and a cross-sec... | in = 25.4;
wall = 2;
shaft_rad = (3/8)/2*in;
length = 3*in;
blade_rad = 1.5*in/2;
blade_width = wall*4;
blade_angle = 15;
num_blades = 3;
stirrer();
module stirrer(){
difference(){
union(){
cylinder(r=shaft_rad, h=length, $fn=6);
translate([0,0,wall*3/4]) rotate_extrude(){
... | glb/cad_7ecd6d261c85.glb |
Create a Teacup Twig Topper by starting with a sphere with a radius of 25mm. Hollow out the center of this sphere by removing a smaller concentric sphere with a radius of 22mm. To create the opening of the cup, remove a central cube with side lengths of 62.5mm, centered on the sphere, that extends through the top. Add ... | cr = 25;
xw = 0.35;
ct = 3;
sdn = 17;
sdx = 27;
difference(){
union() {
sphere(r=cr);
translate([-cr,0,cr/3+ct/2])
rotate([90,0,0]) rotate_extrude()
translate([cr/3,0]) circle(r=ct);
}
sphere(r=cr-ct);
translate([0,0,-cr*1.25]) cube([cr*2.5,cr*2.5,cr*2.5], center = true);
}
difference() {
cylinder(r1=... | glb/cad_fe934f2f37d8.glb |
Create a Christmas ornament based on the geometry of a dodecahedron. Replace each of the 12 pentagonal faces of the dodecahedron with a five-pointed star (pentagram). Each pentagram should be extruded to a thickness of 4mm to create a self-supporting slab. The distance from the center of the model to the center of each... | union()
{
hanger(29);
rotate([(acos(-1/sqrt(5)))/2,0,0])
union()
{
decoration( 0.8506508, 0.5257311, 0.0000000,36,25);
decoration( 0.5257311, 0.0000000, 0.8506508,18,25);
decoration( 0.0000000, 0.8506508, 0.5257311,-18,25);
decoration( 0.0000000, 0.8506508,-0.5257311,18,25);
decora... | glb/cad_1997a8866cb1.glb |
Create a doorbell wedge mount with a rectangular base measuring 115.25mm in length and 47.16mm in width. The base should have rounded corners with a radius of 2mm. The overall shape is a wedge that slopes upward from a minimum thickness of 2mm at the four corners to a higher center point, creating a combined pan angle ... | eps1 = 0.01 + 0;
eps2 = 2*eps1;
width = 47.16;
length = 115.25;
min_thickness = 2;
pan_angle = 5;
pitch_angle = 2;
corner_radius = 2;
screw_hole_spacing = 105.7;
screw_hole_diameter = 5;
wire_hole_width = 26;
wire_hole_height = 35;
wire_hole_offset = 10;
wire_hole_corner_radius = 4;
text_offset = 35;
text... | glb/cad_5a9b64da37f2.glb |
Create a Nerf Rapidstrike Dual OLED Display Bracket consisting of two angled screen housings joined by a central hinge.
The base is a rectangular plate 38mm wide and 30mm deep with a thickness of 2mm. From this base, create a lower screen housing and an upper screen housing, both angled relative to each other by appr... | $fn=32;
baseplateThickness = 2;
bottomWidth = 38;
bottomDepth = 30;
screenHeight = 27.5;
screenWidth = 28;
screenThickness = 4.5;
upperDepth = 22.8;
upperTopEdgeWidth = 27.5;
jointAngle = asin(20.2 / upperDepth);
wiresWidth = 11;
wiresHeight = 2.75;
difference() {
union() {
jointWidth = 35.5;
... | glb/cad_76d5406c79ef.glb |
Create a motor cover and nameplate consisting of a main rectangular plate with a thickness of 2mm. The plate should be 73.5mm wide and 16.5mm high, with all four corners rounded to a radius of 1.5mm.
On the top surface of this plate, add a raised rectangular cover section that is 45mm wide and 20mm high, with a thick... | $fn=32;
plateHeight = 16.5;
plateWidth = 73.5;
rounding = 1.5;
coverOffsetX = -18;
coverOffsetY = -1.5;
coverHeight = 20;
coverWidth = 45;
mountPointHeight = 3;
mountPointDiameter = 3;
thickness = 2;
difference() {
linear_extrude(height=thickness) {
translate([coverOffsetX, coverOffsetY, 0]) hull() {
... | glb/cad_00f4cee1b6b6.glb |
Create a mace head for a miniature figure by starting with a sphere with a radius of 4mm. Remove a cylindrical hole from the center of the sphere with a radius of 1.5mm and a total height of 5mm, passing straight through the middle. To add the spikes, create six identical cones, each with a base radius of 1mm and a tip... | $fn=100;
difference(){
sphere(r=4);
translate([0,0,0]){
rotate(v=[0,1,0], a=90){
#cylinder(r=1.5, h=5);
}
}
}
translate([-3.5,0,0]){
rotate(v=[0,1,0], a=270){
cylinder(r1=1, r2=0.2, h=4);
}
}
translate([0,3.5,0]){
rotate(v=[0,1,0], a=270){
rotate(v=[0... | glb/cad_294ff42c9dd7.glb |
Create a spice organizer consisting of a grid of cylindrical holders and two support feet.
Construct a grid of 12 cylindrical holders arranged in 3 columns and 4 rows. Each holder is a vertical cylinder with an outer diameter of 44.45mm and a height of 7.62mm. The cylinders are hollowed out to create a cradle for a s... | in2mm=25.4;
hhi=0.083;
hdi=0.279;
sdi=0.138;
angle=8;
countx=3;
county=4;
template=1;
feet=1;
footdist=12;
hh=hhi*in2mm;
hd=hdi*in2mm;
sd=sdi*in2mm;
if(feet==1){
translate([-85,10,0])foot(footdist,angle);
translate([-85,50,0])foot(footdist,angle);
}
for(i=[0:1:countx-1]){
for(j=[0:1:county-1]){
translate([32*... | glb/cad_9209ce83017b.glb |
Create a Footed Parametric Frame Vertex. Start with a central body that is 20mm tall, based on a profile extruded along the Z-axis. Attach a foot to this body, consisting of a central block 18mm wide, 4mm deep, and 20mm high, with two additional flanking blocks each 5mm wide, 18mm deep, and 20mm high, positioned 5mm ap... | M3=4.3;
M8=9.6;
vertex_height=20;
with_foot=1;
FN=80;
translate ([0,0,vertex_height/2])difference()
{
union () {
dxf_linear_extrude(file = "vertex-body-fixed-qcad.dxf",height=vertex_height,center=true);
if (with_foot==1) {
translate([40,-15,0]) vertex_foot();
}
}
translate([11.013,59.912]) zhole(M8);
t... | glb/cad_7570e4112dd5.glb |
Create a Bahtinov Mask for a telescope. Start with a flat circular disk with an outer diameter of 218mm and a thickness of 2mm. Within this disk, create a central circular cutout with a diameter of 72mm.
On the face of the disk, carve a series of precise slits to create the Bahtinov pattern. These slits consist of thr... | outerDiameter = 218;
aperture = 203;
centerHoleDiameter = 72;
liftringOD = 78;
liftringH = 14;
gap = 6;
module lifting_ring( ID, OD, H ) {
difference() {
cylinder ( h = H, r = 0.5*OD );
cylinder ( h = H+0.1, r = 0.5*ID );
}
}
module bars(gap, width, num=5) {
num = round(num);
for (i=[-num:num]) {
... | glb/cad_7deb210e1cd6.glb |
Create a case for an XMOS startKIT by starting with a rounded rectangular block measuring 101mm in length, 56mm in width, and 13.4mm in height, with corner radii of 3mm. Hollow out the center of this block by removing a smaller rounded rectangular volume measuring 95mm by 51mm with a height of 10.4mm, leaving a wall th... | use <MCAD/boxes.scad>
$fn=100;
sx=50;
sy=94;
thick=3;
difference()
{
roundedBox([94+1+thick*2,50+1+thick*2,thick+10.4],3,true);
translate([0,0,3])roundedBox([94+1,50+1,thick+10.4],0,true);
translate([89/2,45/2,-10])cylinder(r=1,h=20);
translate([89/2,-45/2,-10])cylinder(r=1,h=20);
translate([-89/2,45/2,-10])cylinder(r... | glb/cad_b85546527a02.glb |
Create a screwdriver bit extended adapter in the shape of a hexagonal prism. The overall height of the adapter should be 23mm. The exterior is a regular hexagon with a diameter of 9.4mm (measured from flat to flat).
Create a hexagonal hole through the center of the object to accommodate screwdriver bits. This hole mu... | type=2;
form=1;
size=6.2;
deep=10;
diameter=3;
distance=3;
shrinkage=0.1;
if (distance<2) {
distance=2;
};
radius=(diameter+size)/2;
if (type==2){
difference(){
difference(){
if (form==1){
cylinder(deep*2+distance,r=radius+shrinkage,center=false);
}else{
Hexagone(radius*2,deep*2+distance);
};
Hexag... | glb/cad_3b149679ff77.glb |
Create a Rounded Curtain Rod support system consisting of two end brackets and one center mount.
For each end bracket, start with a circular base 54.6mm in diameter and 5mm thick. Drill three 5mm diameter screw holes through this base: two positioned symmetrically 16.2mm from the center along one axis, and one positi... | RodInnerD = 20.23;
RodOuterDiam = 26;
baseHeight = 5;
RodDistFromWall = 40;
screwDiam = 5;
stringholeDiam = 5;
cntrMntThickness = 10;
$fn = 0;
$fa = 1;
$fs = .2;
module rodend(CutStringHole,PoletoLeft){
difference(){
translate([0,0,(RodInnerD+RodDistFromWall)/2])
cube([Rod... | glb/cad_e158f933485f.glb |
Create an Aluminum Mendel X Inner Slide by starting with a base rectangular block 16mm wide, 20mm long, and 3mm thick. Centered on the width, add a second rectangular block on top that is 10mm wide, 20mm long, and 3mm thick, resulting in a total height of 6mm. On the sides of the model, add two 3mm wide by 3mm high rec... | length = 20;
thickness = 6;
between_screw_centers = 12;
screw_start = ((length-between_screw_centers)/2);
slot_extend = 0;
screwDia = 3;
nutWidth = 7;
nutThick = 3;
difference(){
union(){
translate([0,0,0]) cube([16,length,3]);
translate([3,0,3]) cube([10,length,3]);
translate([4,0,-slot_extend]) cube([8,leng... | glb/cad_837c6038baef.glb |
Create a Modded Wall Plate designed to hold network jacks. Start with a rectangular base plate with a thickness of 6mm. The overall height is 114.3mm. The width is determined by the plate size setting; for a standard configuration, use a width based on the solid plate width plus a 10mm bevel offset.
Apply bevels to th... | plate_width = 1;
plate_size = 0;
1st_plate = "none";
1st_plate_bottom_hole = "none";
2nd_plate = "none";
2nd_plate_bottom_hole = "none";
3rd_plate = "none";
3rd_plate_bottom_hole = "none";
5th_plate = "none";
5th_plate_bottom_hole = "none";
5th_plate = "none";
5th_plate_bottom_hole = "none";
module GoAwayCu... | glb/cad_6400fa29e288.glb |
Create a Heated Bed Borosilicate Glass Clamp consisting of three main components: a lower clamp, an upper clamp, and a central clip.
First, create the lower clamp as a rectangular block measuring 30mm x 15mm x 13.5mm. Carve a cylindrical cutout from the top with a radius of 108mm and a height of 13.5mm. On the sides o... | include <nuts_and_bolts.scad>;
$fn=250;
Glass_Radius = 100;
Glass_H = 3;
Plate_Radius = 108;
Plate_H = 5;
MyClamp_X = 30;
MyClamp_Y = 15;
MyClamp_Z = 13.5;
fastener = metric_fastener;
extra_tollerance = 0.4;
clip_h = 0.7;
clip_h2 = 8;
clip_r_int = 3.5;
clip_r_ext = 8;
clip_wing = 22;
Print();
module clip()
{
... | glb/cad_79f988996c38.glb |
Create a FabScan Turntable Holder consisting of a central cylindrical base and a wider conical top. Start by creating a cylinder with a radius of 10mm and a height of 8mm. Remove a smaller concentric cylinder from the center with a radius of 2.5mm and a height of 8mm to create a hole for the motor shaft.
Cut a horizon... | $fn = 100;
r_motorSchaft = 2.5;
l_motorSchaft = 21;
r_aussparung = 10;
l_aussparung = 8;
r_Stange = 7.85/2;
l_Stange = 22.5;
d_teller = 40;
dist_schrauben = d_teller/2;
module anMotor()
{
difference()
{
cylinder( h=l_aussparung, r=r_aussparung);
translate(v=[0,0,-1]) cylinder(h=l_motorSchaft, r=r_motorSchaf... | glb/cad_6ccee7676f27.glb |
Create a Desktop Aquaponic Planter consisting of a cylindrical vessel with a total wall and base thickness of 2.5mm. The main body is a hollow cylinder with an inside diameter of 80mm. The vessel is divided into two sections: a lower portion with a height of 20mm and an upper portion with a height of 30mm.
In the lowe... | inside_diameter = 80;
wall_thickness = 2.5;
lower_height = 20;
upper_height = 30;
include_feed_hole = "true";
feed_hole_diameter = 25;
include_lift_tube = "true";
lift_tube_diameter = 13.25;
echo(version=version());
echo("\n----\nIan McLinden, 2016\nParametric Vase Planter - Aquaponic planter to turn cylindrica... | glb/cad_487cdfe7327e.glb |
Create a customizable oblong miniature base by forming a hull between two cylinders. Each cylinder must have a radius of 12.5mm and a height of 2mm. Position the first cylinder at the origin and the second cylinder 25mm away along the y-axis. The resulting shape should be a smooth, rounded rectangular slab with a total... | $fn = 200;
base_width = 25;
base_thickness = 2;
hull() {
cylinder(base_thickness, base_width/2, base_width/2);
translate ([0, base_width, 0]) cylinder(base_thickness, base_width/2, base_width/2);
} | glb/cad_2c552b1c2bfc.glb |
Create a coche test 1 consisting of two identical axle assemblies spaced 100mm apart. For each assembly, create a central axle as a cylinder with a radius of 3.5mm and a length of 110mm, centered on its axis. At each end of the axle, attach a wheel. Each wheel is a cylinder with a radius of 25mm and a thickness of 5mm.... | translate([50,0,0])
rotate([0,90,0])
difference(){
cylinder(r=50/2, h=5, $fn=100);
cylinder(r=8/2, h=20, $fn=20, center=true);
}
translate([-55,0,0])
rotate([0,90,0])
difference(){
cylinder(r=50/2, h=5, $fn=100);
cylinder(r=8/2, h=20, $fn=20, center=true);
}
rot... | glb/cad_2e535cca99f9.glb |
Create a cable storage hive consisting of a grid of hollow hexagonal prisms. The overall structure is composed of two offset rows of hexagons. Each individual hexagonal cell has an outer radius of 8.43mm and an inner radius of 8.23mm, creating a wall thickness of 0.2mm. The depth of each cell is 75mm.
In the first row... | hexagonal_grid( 25, 75, 2 , 4);
module hexagonal_grid( radio, depth, n_cols, n_rows ) {
union() {
for( i_row = [ 0 : 1 : n_rows - 1])
translate( [( radio / 2 ) * ( ( i_row % 2 )), ( radio / 3.5 ) * i_row, 0] )
line_hexagons( radio * n_cols , depth, n_cols );
}
}
module line... | glb/cad_96a4ba21acc2.glb |
Create a lens cap holder by constructing a hollow cylinder with a height of 5mm. The outer diameter of this cylinder should be 44mm, and the inner diameter should be 41mm, creating a wall thickness of 1.5mm. Center this ring on the origin.
Intersect this ring with a rounded rectangular block to create a slot for a str... | cap_diameter=41;
height=5;
strap_width=12;
$fn=100;
module roundedcube_simple(size = [1, 1, 1], center = false, radius = 0.5) {
size = (size[0] == undef) ? [size, size, size] : size;
translate = (center == false) ?
[radius, radius, radius] :
[
radius - (size[0] / 2),
radius - (size[1] / 2),
radius ... | glb/cad_c21b2d910b41.glb |
Create an adapter for 40mm profile support wheels. Start with a square frustum as the main body, centered on the origin, with a height of 17mm; the bottom base is a square with a diagonal of approximately 76.37mm (54*sqrt(2)) and the top base is a square with a diagonal of approximately 67.88mm (48*sqrt(2)).
Remove a... | difference()
{
cylinder(d1=54*sqrt(2), d2=48*sqrt(2), h=17, $fn=4, center=true);
cylinder(d=6.5, h=16,$fn=30,center=true);
translate([0,0,-7])
cylinder(d=11, h=10,$fn=30,center=true);
translate([0,0,6.01])
cylinder(d=40*sqrt(2)+0.5, h=5, $fn=4, center=true);
for(i=[0:3])
{
r... | glb/cad_9783fb57142f.glb |
Create six identical reel clips, spaced 7mm apart. Each clip is constructed from a main rectangular body 45mm long, 5mm wide, and 2mm thick. At one end of this body, add a vertical rectangular tab that is 2mm wide, 5mm wide, and 5mm deep, extending upwards from the base. Position a second identical vertical tab 1.9mm a... | height = 45;
width= 5;
thickness = 2;
rimthickness = 1.9;
klipdepth=5;
make_it(6);
module make_it(quanity)
{
for(z = [1 : quanity]) {
translate([0,z * 7,0]) klip();
}
}
module klip()
{
cube([height,width,thickness],false);
cube([thickness,width,klipdepth],false);
translate([rimthickness + thickness,0,0]) cube... | glb/cad_5bbd58b24941.glb |
Create a pumpkin model by assembling nine identical flattened spheres. Each sphere should have a diameter of 9.6mm and be scaled along its X-axis by a factor of 0.3 to create an ellipsoidal slice. Position these nine slices so they all share a common center point, rotating each subsequent slice around the Z-axis in 20-... | $fn=50; h=9.6;
color("DarkOrange") Pumpkin();
module Pumpkin(){for (a =[0:8]){Slice(20*a);}}
module Slice(D){rotate([0,0,D])scale([.3,1,1])translate([0,0,h/2])sphere(d=h);} | glb/cad_e88adeeca58f.glb |
Create a two-part housing for an LNA4ALL electronics board. The main body is a rectangular box with external dimensions of 29.4mm width, 44.4mm length, and 16.4mm height, featuring walls 2.2mm thick. The interior cavity is 25mm wide and 40mm long.
In the base, place four cylindrical support pillars at the corners, ea... | module letter(l, depth, fontSize)
{
font = "Candara:style=Regular";
rotate([90, 0, 0])
linear_extrude(height = depth) {
text(l, size = fontSize, font = font, halign = "center", valign = "center", $fn = 16);
}
}
module word(werd, depth, fontSize)
{
for (l = werd)
{
letter(l, depth, fontSize... | glb/cad_930f54acda5a.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.