Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a parametric ER collet holder consisting of a base block and a matching top cover. For the base, create a grid of 2 rows and 5 columns of collet slots. Each slot is formed by taking a cube of 19mm x 19mm x 20.8mm and removing a conical void. This void is a cylinder with a height of 20.8mm, a top radius of 8mm, a... | rows=2;
columns=5;
collettype="ER";
colletsizeER=16;
openbottom="yes";
topcover="yes";
smooth=50;
module draw_er_collet(diameter, longcone, colletlenght, openbottom, clamprange) {
for (xpos=[1:rows], ypos = [1:columns]) {
if (openbottom=="no") {
translate([xpos*(diameter+2.999), ypos*(diameter+2.999), long... | glb/cad_b14ff43f628a.glb |
Create a set of parametric hex bits. For each bit, construct a base consisting of a hexagonal prism with a height of 14mm. If a magnet slot is required, center a cylindrical hole within this base with a diameter of 6mm and a depth of 3.4mm (magnet height plus a 0.4mm gap).
Atop each base, add a tip with a length of 6m... | bit_type = "Hex";
magnet_slot = "false";
magnet_diameter = 6;
magnet_height = 3;
sizes = [1.5,2,2.5,3,4,5];
number = len(sizes);
bit_size = 7;
tip_length = 6;
bit_length = 14;
bit_spacing = 2;
xc = number;
yc = round(sqrt(number));
count = number;
if(bit_type == "Hex"){
build_hex();
}
else if(bit_type == "Hex Soc... | glb/cad_acf4880fcdc2.glb |
Create a bottom inner glass insert for a toothbrush holder. Start by creating a thin circular base disc with a radius of 28mm and a height of 2mm. On the top surface of this disc, add 10 small cylindrical feet, each with a radius of 2mm and a height of 8mm. Arrange these feet in a symmetrical ring around the center. Th... | radius = 28;
nbFeet = 10;
feetRadius = 2;
feetHeight = 8;
feetInnerGap = 1;
cylinder(h=2, r=radius, center=true, $fn=90);
for (n = [ 0 : nbFeet - 1 ])
translate([
(radius-feetRadius - feetInnerGap) * cos(360 * n / nbFeet),
(radius-feetRadius - feetInnerGap) * sin(360 * n / nbFeet),
fee... | glb/cad_e1abb6862c5c.glb |
Create a replaceable high heel cover by starting with a rectangular block 15mm high, 12mm long, and 15mm wide. Centered on the 15mm by 12mm face, add a cylinder with a radius of 7.5mm and a height of 15mm. From this combined mass, remove a central vertical cylindrical hole with a radius of 2mm that runs through the ent... | hoogte = 15;
lengte = 12;
breedte = 15;
schacht = 2;
kop=6;
voet = 0;
module vorm () {
color ("blue")
rotate (a=[0, 90, 0])
translate (v=[-16, 15, -9])
cylinder (h=breedte*2, r1=kop*2, r2=kop*2);
}
module basis() {
difference () {
union() {
translate ([0,0,0]) cube (size=[breedte,lengte,hoogte]) ;
translate ([b... | glb/cad_92dc98a8b459.glb |
Create a Bowden adapter mount consisting of two symmetrical halves: a main grip block and a cover.
First, construct the grip block as a rectangular prism 20mm wide, 15mm deep, and 20mm high. Center a vertical hole with a radius of 2.25mm through the height. Along this central axis, add 10 gripping ridges, each 0.5mm ... | bowden_od=4;
clearance=0.5;
bowden_od_clearance=bowden_od+clearance;
echo("grip tube size=",bowden_od_clearance);
grip_ridge_h=1.25;
grip_ridge_w=0.5;
grip_ridge_count=10;
width=20;
depth=15;
height=20;
grip_ridge_dist=height/grip_ridge_count;
echo("Grip ridge height=",grip_ridge_h);
m3_rad=4.25/2;
part_separation=1... | glb/cad_e996df9f090e.glb |
Create a Bowden Y-adapter for dual filament printing. The main body is a block 35mm wide, 55mm long, and 10mm high. The overall shape is formed by a hull connecting a 35mm by 10mm rectangle at one end to a 17.5mm by 10mm rectangle at the other.
Carve the following channels through the block:
1. Two input sockets: Crea... | m_width=35;
m_length=55;
m_height=10;
tunnel_rad=2.75/2;
tunnel_rad_exit=1.5/2;
m3_rad=4.25/2;
module push_fit_socket(){
cylinder(r=5.4/2,h=5.1,center=true,$fn=36);
}
module y_adaptor(){
difference(){
hull(){
translate([0,-m_length/2+5,0])
cube([m_width,10,m_he... | glb/cad_4e1c6ec9d6ac.glb |
Create a display stand by starting with a cylinder 80mm in diameter and 10mm high. Remove a smaller concentric cylinder from the center with a radius of 38mm and a height of 3mm, starting 8mm from the base, to create a shallow ring. Within this ring, carve out a female connector slot by centering a block 45mm long, 5mm... | $fn = 100;
display_top();
module display_top()
{
intersection() {
difference() {
cylinder(r=40,h=10);
translate([18,0,2.5]) { rotate([-90,0,0]) connector_female(45); }
translate([0,0,8])cylinder(r=38,h=3);
}
translate([0,0,37])sphere(r=50);
}
translate([-25,0,11]) name();
}
module display_base() ... | glb/cad_a05daae47084.glb |
Create a Stepcraft Exhaust Adapter Washer by constructing a tiered cylindrical base with a central hole. Start with a wide cylinder 20mm in diameter and 2mm high. Centered on top of this base, add a second, narrower cylinder with a diameter of 14.5mm and a height of 3.25mm. Bore a vertical hole with a diameter of 6.26m... | $fn=100;
difference()
{
union()
{
cylinder(d=20, h=2);
translate([0,0,2]) cylinder(d= 14.5, h=3.25);
}
translate([0,0,-1]) cylinder( d=6.26, h=20);
translate([52/2+15/2,0,-1]) cylinder(d=53, h=15);
} | glb/cad_afb534f0715f.glb |
Create a Stepcraft tube and cable support. Start with a main body that is a cube 42mm wide, 42mm deep, and 37.5mm high. From this cube, remove a central square section by rotating a 70mm cube 45 degrees around the Z-axis and centering it, effectively creating a square profile with chamfered corners.
At the top center... | $fn=100;
module korpus( add )
{
difference()
{
translate([-(42+add)/2,-(42+add)/2,0]) cube([42+add,42+add,37.5]);
rotate([0,0,45]) difference()
{
translate([-35,-35,-1]) cube([70,70,40]);
translate([-(53+add)/2,-(53+add)/2,-2]) cube([53+add,53+add,42]);
}
}
}
module schrittmotor(... | glb/cad_89d9b37a6846.glb |
Create a robot wheel with a total height of 10mm and an outer radius of 30mm.
Start by creating a main outer ring with a thickness of 2mm. Inside this ring, create a hollow cylindrical space with a radius of 14mm and a wall thickness of 1mm.
At the center of the wheel, construct a central hub cylinder with a radius... | module robotwheel(radius=30,height=10,centerradius=5,outtickness=2,armtickness=1,axisradius=2.5,gripcount=30,griptickness=3)
{
function node_cube_matrix(i=0,j=0,k=0,l=0,m=0,n=0) = translate([-radius,0,-1]);
module node_cube(i=0,j=0,k=0,l=0,m=0,n=0)
{
translate([-radius,0,-1])cube([(radius-outtickness)*2-centerradi... | glb/cad_d77f3575af8e.glb |
Create a cooling fan mount and switch holder for a 70mm fan. Start with a central square base plate measuring 77mm by 77mm with a thickness of 5mm. In the center of this plate, create a circular cutout with a radius of 34mm to accommodate the fan. At each of the four corners of the square plate, add a vertical hole wit... | mv=73;
union(){
translate ([-0,mv/2+7,9]) {
rotate([90, 0 ,0])
difference(){
cube ([40+2,12,5],center = true);
translate ([-12,0,-3]) cylinder(r=2,h=8,$fn=100);
translate ([-12,0,0]) cylinder(r=3,h=3,$fn=100);
translate ([13,0,-3]) cylinder(r=2,h=8,$fn=100);
translate ([13,0,0]) cylinder(r=3,h=3,$fn=100);
}
hull(){
... | glb/cad_341583e2e130.glb |
Create a balanced dremel support by starting with a rectangular base measuring 120mm in length, 60mm in width, and 12mm in height. Center this base at the origin. From this base, remove a vertical cylindrical hole with a radius of 16mm and a height of 48mm, centered at x = -30mm, y = 0, and z = 0. Additionally, remove ... | x=120;
y=60;
z=12;
radi=16;
grad=0;
difference(){
cube([x,y,z],true);
union(){
translate([-x/4,0,0])color([1,0,0])rotate([0,grad,0])
cylinder(h=z*4,r=radi,center=true,$fn=60);
translate([x/2,0,0])rotate([0,30,0])cube([x,y*1.1,z],true);
}
} | glb/cad_66d6d88cc8ff.glb |
Create a Statue of Liberty headband by starting with a hollowed spherical shell. Create an outer sphere with a radius of 68mm and subtract an inner sphere with a radius of 65mm to create a wall thickness of 3mm. To open the band, remove the bottom half of the shell using a large cube and further carve out a section by ... | $fa = 3;
E = 0.01;
HEAD_SIZE = 130;
THICKNESS = 3;
module head_band() {
difference() {
scale([1.05, 1, 1])
sphere(r=HEAD_SIZE / 2 + THICKNESS);
translate([0, 0, -HEAD_SIZE])
cube(HEAD_SIZE * 2, center=true);
translate([-20, 0, 0])
rotate(a=-25, v=[0, 1, 0])
translate([0, 0, HEA... | glb/cad_20ab39db4d2b.glb |
Create a sewing machine foot storage tray consisting of five identical compartments arranged in a row. Each individual compartment begins with a rectangular base measuring 40mm by 14mm with a thickness of 1mm. On top of this base, build a rectangular housing with outer dimensions of 16.5mm by 14mm and a height of 16mm.... | aperture_y=8.5;
aperture_x=11.5;
compartment_depth=15;
spacing_bc=14;
total_x=40;
compartment_n=5;
floor_h=1;
wall_th=2.5;
module compartment(){
translate([0,spacing_bc/2,0])
{
difference(){
cube([total_x, spacing_bc,floor_h]);
translate([total_x+spacing_bc/4,spacing_bc,-1])
cylinder(floor_h+2,sp... | glb/cad_0cb423148a94.glb |
Create a parametric miter box by starting with a solid rectangular block measuring 100mm in length, 40mm in width, and 40mm in height, centered on all axes. Carve out a central channel that is 30mm wide and 30mm deep, leaving 5mm thick walls on the top and bottom. Within this central volume, remove several thin slots, ... | x=100;
y=30;
z=30;
cut=2;
module miter(){
difference(){
cube([x,y+10,z+10],true);
union(){
translate([0,0,5])cube([x+12,y+1.5,z+10],true);
translate([0,0,5])cube([cut,y*2,z+10],true);
rotate([0,0,45])translate([0,0,5])cube([cut,y*3,z+10],true);
rotate([0,0,-45])translate([0,0,5])cube([cut,y*3,z+10],true);
rotate([0,0,6... | glb/cad_06f0f4be8d03.glb |
Create a bike holder bottom mount. The main body is a hollowed-out shell designed to fit a device with a height of 150mm and a width of 81mm. The outer walls should have a thickness of 5mm and rounded corners with a radius of 12mm.
The overall exterior shape is a rounded rectangular prism. Create a central vertical c... | $fn = 100;
part = "bottom";
cornerRadius = 12;
speakerSide = 34.5;
speakerHeight = 150;
borderSide = 81;
borderHeight = 25;
plateWidth = 18;
plateDepth = (borderSide - speakerSide - radiusSide(cornerRadius)) / 3;
wallThickness = 5;
frameWidth = 32;
holesDistance = 65;
holesDiameter = 5;
function radiusSide... | glb/cad_f2bb98a5bc60.glb |
Create a DIP-Clip for in-circuit programming consisting of two mirrored lever arms connected by a flexible spring bridge. Each lever arm is 72mm long with a total height of 20.32mm (based on 16 pins with a 2.0mm pitch and 0.4mm gaps).
For each lever, create a main body with a wall thickness of 4.48mm (8 times the ext... | eh=0.252;
ew=0.56;
$pivm=1.0;
module dipclip(
pins = 4,
pdist = 2.54,
width = 1,
wire = 1.2,
contact = 0.8,
contact_h = 1.0,
contact_w = 0.8,
length = 60,
wall = 6*ew,
angle = 24,
pivd = 2.5,
pivl = 0.66,
clip = 5.7,
gap = 2*eh,
eps = 0,
withgaps = true
){
na = 8;
... | glb/cad_97ecbd32a80d.glb |
Create a Rattle Snake toy by combining a central cylindrical body with two spherical ends. Start with a central cylinder that has a diameter of 40mm and a length of 22mm. At each end of this cylinder, attach a sphere with a diameter of 48mm. To create the hollow interior for the rattle effect, remove a smaller concentr... | difference(){
union(){
rotate([90,0,0])
translate([0,0,0])
cylinder(5,20,20,$fn=60);
translate([0,10,0])
sphere(24);
rotate([90,0,0])
translate([0,0,-60])
cylinder(40,15,22,$fn=60);
translate([0,52,0])
sphere(17);
}
translate([-25,-250,-38])
cube([100,300,20]);
translate([-25,-15,-20])
cube([50,1... | glb/cad_699977d503c1.glb |
Create a Rattle Snake toy by constructing a long, tapered cone. Start with a cylinder that has a length of 150mm, a base radius of 20mm, and a top radius of 1mm. Position this cylinder so that its central axis is aligned with the Y-axis, with the wide base at the top and the narrow tip pointing downwards. To refine the... | difference(){
union(){
rotate([90,0,0])
translate([0,0,5])
cylinder(150,20,1,$fn=60);
}
translate([-25,-290,-38])
cube([50,300,20]);
} | glb/cad_2fb733e8c54d.glb |
Create a Rattle Snake toy component by combining three rectangular prisms. Start with a central vertical bar that is 3mm wide, 20mm long, and 2mm thick. Attach a second rectangular prism of the same dimensions (3mm x 10mm x 2mm) to the side of the central bar, positioned 10mm below the center and rotated 30 degrees clo... | difference(){
union(){
cube([3,20,2]);
rotate([0,0,30])
translate([0,-10,0])
cube([3,10,2]);
rotate([0,0,-30])
translate([0,-9,0])
cube([3,10,2]);
}
} | glb/cad_309653918a68.glb |
Create a Rattle Snake toy consisting of a long cylindrical body interrupted by a series of thin, rectangular slots. Start by creating a main cylinder with a radius of 20mm and a total length of 242mm.
To create the segmented effect, carve out a series of rectangular slots along the entire length of the cylinder. Each... | difference(){
union(){
rotate([90,0,0])
translate([0,0,5])
cylinder(242,20,20,$fn=60);
}
translate([-25,-290,-38])
cube([50,300,20]);
translate([0.3,-12,-30])cube([30,2,60]);
translate([-30.3,-12,-30])cube([30,2,60]);
translate([0.3,-22,-30])cube([30,2,60]);
translate([-30.3,-22,-30])cube([30,2,60]);
translate(... | glb/cad_df7a8f2c2a74.glb |
Create a Rattle Snake toy consisting of two identical hollow cylindrical components. For each component, create a solid outer cylinder with a height of 5mm, a radius of 3.6mm, and a 60-facet resolution. From the center of each cylinder, remove a concentric inner cylinder with a radius of 3mm and a height of 10mm, posit... | difference(){
union(){
cylinder(5,3.6,3.6,$fn=60);
translate([10,0,0])
cylinder(5,3.6,3.6,$fn=60);
}
translate([0,0,2])
cylinder(10,3,3,$fn=60);
translate([10,0,2])
cylinder(10,3,3,$fn=60);
} | glb/cad_b9e2550f35ef.glb |
Create a set of Scythe unit boxes consisting of a main container and a matching lid.
The main container is a rectangular base with an overall footprint of 90mm by 155mm and a height of 34mm. The walls are 1mm thick. The interior is divided into sections: a large open area and a specialized money compartment. The mone... | wallThickness = 1;
wtv = [wallThickness,wallThickness,wallThickness];
pinRadius = 1.75/2;
pinRadiusK = pinRadius + 0.2;
module box(d) {
difference() {
cube(d);
translate(wtv+[0,0,0.01])
cube(d-wtv*2+[0,0,wallThickness]);
}
}
module armSpace() {
translate([0,0,1])
cube([5,5,34-1... | glb/cad_bff35f9a84da.glb |
Create a wooden railway bridge support with a total depth of 23mm. The structure consists of a flat base and two symmetrical curved side walls that rise to a height of 66mm. Each side wall starts from the base and curves inward and upward to form a track holder. The interior width between the walls at the top is 40.73m... | tolerance = 0;
baseExtra = 20;
bridgeHeight = 66;
bridgeWidth = 40.73;
supportDepth = 23;
attachmentHeight = 9.8;
thickness = 1.5;
module ribbon(points, thickness=1, closed=false) {
p = closed ? concat(points, [points[0]]) : points;
union() {
for (i=[1:len(p)-1]) {
hull() {
... | glb/cad_ec3cafcd032e.glb |
Create a Customizable Fan Mounting Bracket consisting of a main plate and an optional extension. Start with a square plate 40mm by 40mm with a thickness of 3.5mm. In the center of this plate, create a circular cutout with a radius of 17.5mm and a height of 3.2mm.
Position four screw holes with a radius of 2mm and a h... | $fn=60/1;
fan_size=40;
extension=1;
screw_spacing=32;
fan_screw=2;
mount_screw=2;
extension_screw=2;
mount_position=15;
mount_length=12;
extension_length=20;
mount_angle=90;
extension_mount_angle=90;
full_plate=1;
fanscrewmargin=fan_size/2-screw_spacing/2;
module holes(){
if(full_plate==1){
translate ([f... | glb/cad_d8d69ea62f9c.glb |
Create a C.H.I.P. v1.0 single-board computer model. Start with a main rectangular PCB base measuring 41mm wide, 60.5mm long, and 0.6mm thick. On this base, place two black rectangular headers, each 4.96mm wide, 51.3mm long, and 8.9mm high; position one at the left edge (0.4mm from the side) and the other at the right e... | $fn = 120;
chip();
function chip_length() = 60.5;
function chip_height() = 0.6;
function chip_width() = 41;
module chip_pcb(enable_hole = true) {
difference() {
color("grey") cube([chip_width(), chip_length(), chip_height()]);
if (enable_hole)
translate([4, 56.5, -1]) cylinder(d=2.9, ... | glb/cad_055ee35d86ae.glb |
Create a set of parametric socket holders. For each socket, construct a main outer body as a 30-sided prism (nearly cylindrical) with a height of 3mm. The outer diameter should be based on the specific socket size.
Inside this outer body, create a hollow cavity to hold the socket. This cavity is formed by removing a h... | type = "Double Hex";
base_size = .5;
base_depth = .5;
socket_sizes = [13/16,1/2,1];
socket_length = .6;
style = "Straight";
spacing = 15;
number = len(socket_sizes);
units = "Imperial";
xc = number;
yc = round(sqrt(number));
count = number;
if(units=="Imperial"){
if(type == "Hex"){
build_socket_imperial();... | glb/cad_aae755ded193.glb |
Create a geometric sculpture titled "The Power Off" composed of a series of radiating pentagonal prisms. Arrange 12 identical groups of prisms around a central vertical axis, with each group spaced 30 degrees apart. Within each of these 12 groups, place 14 pentagonal prisms (each with a radius of 2mm) extending outward... | D=4;
$fn=5;
for (r = [0:30:360]) {
rotate([0,0,r]) {
for (i = [0:.3:4]) {
translate([i* 5,0,0]) {
cylinder(h = pow(1.5,i)*5, r=2);
}}}} | glb/cad_fc28e9765c5e.glb |
Create a 3D model of an Arduino Uno board. Start with a rectangular base plate measuring 53.4mm by 68.5mm with a thickness of 1.75mm.
On the board, place a large rectangular chip measuring 9.8mm by 35.5mm with a height of 7.25mm, centered at coordinates (32, 28.5, 3). Add a USB jack at (9, -6.5, 1.75) consisting of a... | module header(type="male",xPinCount=1,yPinCount=1,height=11.5){
pinSpace = 2.5;
for(i=[0:yPinCount-1]){
translate([0,i*pinSpace,0]){
for(j=[0:xPinCount-1]){
translate([(j*pinSpace)-0.32,-0.32,0])
color("gold")cube([0.64,0.64,3]);
if(type =... | glb/cad_9a5856033649.glb |
Create a PCB foot and cap set consisting of two separate parts. First, construct the foot by creating a conical base 10mm tall that tapers from a bottom diameter of 15mm up to a top diameter of 7mm. Centered on top of this base, add a cylinder with a diameter of 3.97mm and a height of 3.5mm. Second, create a separate p... | screw_diameter = 3.97;
screw_height = 3.5;
base_top_diameter = 7;
base_bottom_diameter = 15;
base_height = 10;
make_cap = "yes";
cap_height = 3;
cap_displacement = 20;
translate([0,0,base_height]) {
cylinder(h=screw_height, d1=screw_diameter, d2=screw_diameter);
translate([0,0,-base_height])
cylinder(h=bas... | glb/cad_aab1125ef7cf.glb |
Create a dual SSD bracket holder consisting of two identical mirrored bracket units and a connecting base. For each bracket unit, start with a solid rectangular block measuring 40mm in width, 12.85mm in height, and 40mm in depth. Hollow out the center of this block by removing a smaller rectangular section measuring 40... | topSpace=1.5;
bottomSpace=7.5;
PSUWidth=101;
PSUHeight=31.5;
height=12;
ssdHeight=6.85;
ssdWidth=40;
ssdWall=3;
module ssdBracket() {
translate([-ssdWidth,0,0])
difference() {
cube([ssdWidth, ssdHeight+ssdWall*2, ssdWidth]);
translate([-ssdWall,ssdWall,ssdWall])
cube([ssdWidth, ssdHeight, ssdWidth... | glb/cad_0611848b5151.glb |
Create three owl-shaped baskets of varying complexity. All baskets are based on a 2D owl outline defined by a series of coordinates.
For the first basket, create a flat base using the owl outline with a thickness of 3mm. Extend the walls upward to a height of 40mm. The walls should be constructed by placing 8-sided pr... | basket_2();
module basket_1()
{
sc1 = 1.5;
sc2 = 2.5;
zht = 40;
translate([0,0,1.5])
union()
{
translate([0,0,-1.5])
linear_extrude(height=3)
union()
{
poly_owl(sc1);
draw2(owl,0,99,1.74,sc1);
}
add_bonds(owl,sc1,sc2,zht,0,2,100,1.2);
translate([0,0,zht-1.5])
linear_extrude(height=3)
draw2... | glb/cad_58bad6f98b3f.glb |
Create a dial gage mount consisting of a main rectangular body and an attached support arm. Start with a rectangular block measuring 50mm in width, 17mm in depth, and 45mm in height. Carve out a central rectangular void from the top and front, starting 4mm from the left side, 6mm from the front face, and 4mm from the b... | union() {
translate([0,0,0]) {
difference() {
cube ([50,17,45], center=false);
translate([4,6,4])
cube([42,15,45]);
translate([9.75,11.5,0])
cylinder(12,2,2,$fn=100,center=true);
translate([40.25,11.5,0])
cylinder(12,2,2,$fn=100,center=true);
}
}
tr... | glb/cad_c98558adc3ec.glb |
Create a dial gage mount consisting of a primary cylindrical body and a mounting arm. Start with a main cylinder that has an outer diameter of 31.085mm and a height of 17mm. Center a circular hole with a diameter of 13mm through the bottom of this cylinder.
Attached to the side of the cylinder, create a rectangular mo... | difference(){
union(){
translate ([0,15,8.5])
cube([41.25,35.085,17], center = true);
cylinder(17,31.085,31.085, center=false, $fn=200);}
cylinder(13,8.5,8.5, center=true, $fn=200);
translate ([0,0,2])
cylinder(15,29.085,29.085, center=false, $fn=100);
translate ([-4.86,34,9])
rotate ([90,0,0])
cube([9.72,... | glb/cad_2e4e6cf243e5.glb |
Create a WanHao Dial Gage Mount by constructing a thick-walled cylinder with an outer diameter of 8.5mm and a total height of 10mm. Center the object on the origin. Bore a hole through the center of the cylinder with a diameter of 2.7mm. To create the mounting slot, remove a smaller cylindrical section from the top of ... | difference (){
$fn = 100; {
cylinder (10,4.25,4.25, center=true);
translate (0,0,4.4)
cylinder (10,2.25,2.25);
translate ([0,0,-6.4])
cylinder (10,1.35,1.35);
}} | glb/cad_76e6f5227dc3.glb |
Create a dial gage mount consisting of a rectangular base and a vertical support bracket. Start with a main rectangular block measuring 50mm in length, 17mm in width, and 45mm in height. Hollow out the center of this block by removing a smaller rectangular section measuring 42mm by 15mm by 45mm, leaving walls 4mm thick... | rotate([-90,0,-180]) {
union() {
translate([0,0,0]) {
difference() {
cube ([50,17,45], center=false);
translate([4,6,4])
cube([42,15,45]);
translate([9.75,11.5,0])
cylinder(12,1.3,1.3,$fn=100,center=true);
translate([40.25,11.5,0])
cylinder(12,1.3,1.3,$... | glb/cad_4297e1d995f8.glb |
Create a Dual E3D v6 mount for an Ultimaker printer. Start with a rectangular base measuring 46mm by 34mm with a height of 4.5mm. Apply a fillet or rounded edge with a radius of 4.375mm to all corners of the base.
On the top surface, create two identical keyhole-shaped cutouts centered along the length. Each keyhole ... | $fn=40;
difference() {
minkowski() {
cube([46,34,4.5]);
cylinder(r1=4.375,r2=4.375,h=4.5);
}
#translate([0,-0,-10]){cylinder(r1=1.72,r2=1.72,h=35);};
#translate([0,34,-10]){cylinder(r1=1.72,r2=1.72,h=35);};
#translate([46,-0,-10]){cylinder(r1=1.72,r2=1.72,h=35);};
#translate([46,34,-10]){cylinder(r1=1.72,r2=1.72,h=35... | glb/cad_54fd1ea89104.glb |
Create a Dual E3D v6 mount for an Ultimaker printer. Start with a rectangular base measuring 46mm by 34mm with a height of 4.5mm. Apply a fillet or rounding to all edges with a radius of 4.375mm.
On the top surface, create two identical keyhole-shaped cutouts centered along the length of the base. Each keyhole consis... | $fn=40;
difference() {
minkowski() {
cube([46,34,4.5]);
cylinder(r1=4.375,r2=4.375,h=4.5);
}
#translate([0,-0,-10]){cylinder(r1=1.72,r2=1.72,h=35);};
#translate([0,34,-10]){cylinder(r1=1.72,r2=1.72,h=35);};
#translate([46,-0,-10]){cylinder(r1=1.72,r2=1.72,h=35);};
#translate([46,34,-10]){cylinder(r1=1.72,r2=1.72,h=35... | glb/cad_c29989b7b422.glb |
Create a Dual E3D v6 mount for an Ultimaker printer. Start by constructing a rectangular base plate measuring 46mm in width, 34mm in depth, and 4.5mm in height. Apply a fillet or rounding to all edges and corners with a radius of 4.375mm.
At the center of the plate, carve out a large horizontal bearing cutout. This c... | $fn=40;
difference() {
minkowski() {
cube([46,34,4.5]);
cylinder(r1=4.375,r2=4.375,h=4.5);
}
#translate([0,-0,-10]){cylinder(r1=1.72,r2=1.72,h=35);};
#translate([0,34,-10]){cylinder(r1=1.72,r2=1.72,h=35);};
#translate([46,-0,-10]){cylinder(r1=1.72,r2=1.72,h=35);};
#translate([46,34,-10]){cylinder(r1=1.72,r2=1.72,h=35... | glb/cad_13b7a06789ea.glb |
Create a Dual E3D v6 mount for an Ultimaker printer. Start by constructing a rectangular base block measuring 46mm in length, 34mm in width, and 4.5mm in height, with all corners rounded to a radius of 4.375mm. Centered within this base, carve out a horizontal capsule-shaped void that is 36mm long, 12mm wide, and 4.5mm... | $fn=40;
difference() {
minkowski() {
cube([46,34,4.5]);
cylinder(r1=4.375,r2=4.375,h=4.5);
}
#translate([0,-0,-10]){cylinder(r1=1.72,r2=1.72,h=35);};
#translate([0,34,-10]){cylinder(r1=1.72,r2=1.72,h=35);};
#translate([46,-0,-10]){cylinder(r1=1.72,r2=1.72,h=35);};
#translate([46,34,-10]){cylinder(r1=1.72,r2=1.72,h=35... | glb/cad_40fb9383a404.glb |
Create a 3D model of a stereographic projection of the character "G" repeated four times. First, create a flat base consisting of the character "G" repeated in a 2x2 grid, where each character is 100mm in size.
To create the central 3D feature, construct a spherical shell with an outer radius of 49.54mm (calculated a... | txt = "GGGG";
size = 100;
fn = 24;
shadow = "YES";
base_height = 2;
module stereographic_projection(side_leng_shadow, fn) {
$fn = fn;
half_side_length = side_leng_shadow / 2;
outer_sphere_r = half_side_length / 3;
a = atan(sqrt(2) * half_side_length / (2 * outer_sphere_r));
inner_sphere_r = outer_... | glb/cad_5083c45eba93.glb |
Create a Z end stop mount consisting of two symmetrical halves. Start with a base rectangular block measuring 62mm x 16mm x 10mm with rounded corners of 5mm radius. Centered on the top surface, add a smaller rectangular protrusion measuring 4mm x 30mm x 10mm with 5mm rounded corners.
Carve out the following holes and ... | module roundrect(size, radius)
{
x = size[0];
y = size[1];
z = size[2];
hull() {
translate([(-x/2)+(radius), (-y/2)+(radius), 0])
cylinder(r=radius,h=z,$fn=radius*8);
translate([(x/2)-(radius), (-y/2)+(radius), 0])
cylinder(r=radius,h=z,$fn=radius*8);
translate([(-x/2)+(radius), (y/2)-(radius), 0])
... | glb/cad_4a48ed9ed1f8.glb |
Create a resettable domino unit consisting of a main upright block, a base, and a hinge mechanism.
First, create the main domino block as a rectangular prism measuring 25mm wide, 60mm tall, and 3mm thick, with all four corners rounded to a 3mm radius. Position a cylindrical axle with a diameter of 3mm running horizon... | dims = [25, 60, 3];
corner = 3;
axlePos = 1/4;
axleDiameter = 1;
clearance = 1;
thickness = 2;
$fn = 32;
axleLength = dims[0] + 4*clearance + 4*thickness;
postLength = axlePos * dims[1] + 8*thickness;
domino();
module domino() {
color("Blue")
minkowski() {
cube(dims - [1, 1, 0] * 2 * corner, center ... | glb/cad_082ba9c2fb43.glb |
Create a speaker box consisting of a hollowed rectangular enclosure with rounded corners. The outer dimensions of the main body are 76mm by 76mm with a height of 20mm. The walls are 6mm thick. The corners of the box are rounded with a radius of 2mm.
At each of the four top corners, integrate a vertical cylindrical pil... | Radius= 2 ;
Cube = 80 - Radius*2;
Height= 40 /2;
Wall = 3 *2;
$fn=3;
module Snail() { color("white")
for (i = [0:2:360*3])
rotate([0,0,i])
translate([i/32,i/32,i/120-4])
cylinder(h=10,d=2,center=true);
}
module Box(); {
difference() {
Minkowski_Cylinder(Cube);
tra... | glb/cad_cd5790c499e8.glb |
Create a Hypercube 3D Printer Z Carriage. Start with a base plate formed by the convex hull of two cylinders with a radius of 5mm and a height of 3mm, positioned 60mm apart along the Y-axis, and a central rectangular block measuring 30mm by 60mm by 10.5mm.
Within this main body, create a central void for a bearing. T... | $fn=100;
bz=3;
r_rod=8/2;
r_bearing=15/2;
l_bearing=25;
module fhex(wid,height){
hull(){
cube([wid/1.7,wid,height],center = true);
rotate([0,0,120])cube([wid/1.7,wid,height],center = true);
rotate([0,0,240])cube([wid/1.7,wid,height],center = true);
}
}
module m3_bolt(h1... | glb/cad_d86c5b46e445.glb |
Create a Hypercube 3D printer Z carriage bed mount. Start with a main block measuring 25mm wide, 10mm deep, and 25mm high. Cut a large rectangular channel through the center of this block, starting 5mm from the front and side edges, with dimensions of 20mm wide, 100mm deep, and 20mm high to accommodate an extrusion.
... | $fn=36;
module b90(){
difference(){
cube([25,10,25]);
translate([5,0,5]) cube([20,100,20]);
translate([0,5,15]) rotate([0,90,0]) cylinder(h=30, r=2.5);
translate([10,2,0]) cube([10,6,30]);
}
}
module hotbed_support(){
difference(){
union(){
b90();
... | glb/cad_ef134b113239.glb |
Create a Ribbon Cable Guide for a threaded rod. Start by creating a main cylindrical ring with a height of 3mm, an outer radius of 8mm, and a centered inner hole with a radius of 4.5mm to accommodate the rod. Cut a rectangular notch out of the front of this ring, starting from the inner hole and extending to the outer ... | cableWidth=16;
rodDelimiter=10;
outerRadius=(rodDelimiter-1+6)/2;
innerRadius=(rodDelimiter-1)/2;
difference() {
cylinder (r=outerRadius, h=3, $fn=120);
cylinder (r=innerRadius, h=3, $fn=120);
translate ([innerRadius*-0.67, innerRadius/1.35, 0]) cube ([innerRadius*1.33, outerRadius-((rodDelimiter-1)/2.7),... | glb/cad_4d00540107ee.glb |
Create a Y-axis belt tensioner consisting of three main components: a clamp base, a clamp top, and two rams.
The clamp base is a block with a height of 7.3mm. It features a central rectangular section 12.2mm wide and 3.8mm high, flanked by two semi-cylindrical ends with a radius of 4.7mm. Carve two vertical holes thr... | belt_pitch = 5;
belt_width = 6.2;
belt_height = 3.8;
hole_spacing = 18;
ram_length = 1.5;
m3_diameter = 3 / cos(180 / 8) + 0.4;
m3_radius = m3_diameter / 2;
m3_nut_diameter = 5.5 / cos(180 / 6) + 0.4;
m3_nut_radius = m3_nut_diameter / 2;
m3_nut_depth = 2.5;
wall = 3;
extrusion_width = 0.4;
clamp_height = 3.5;
be... | glb/cad_dcc8c599e7cc.glb |
Create a Customizer Mount by starting with a main rounded box that has a width of 89.5mm, a thickness of 17mm, and a height of 43mm, using a corner radius of 2mm. Hollow out the center of this box to create a slot for a device, leaving walls that are 3mm thick. This internal cavity should be 83.5mm wide and 11mm thick,... | echo(version=version());
include <MCAD/boxes.scad>
rotate([0,0,180])
render()
Item_Holder();
pWidth = 83.5;
pThick = 11;
HHolder = 40;
WallThick = 3;
HLip = 10;
WLip = 20;
FHole = 1;
FWidth = 5;
BHole = 1;
BWidth = 2;
BThick = 2;
module Item_Holder() {
difference(){
union(){
... | glb/cad_d0b0f8c6405e.glb |
Create a VESA mount for a tablet by constructing a long, hollowed rectangular arm with rounded edges. Start with a main body that is 128mm wide, 31.5mm deep, and 1.5mm thick. Remove a central rectangular section from this body to create a sleeve, leaving a wall thickness of 1.5mm.
At one end of the arm, centered on t... | $fn=32;
hoehe=9;
dschraube=4.5/2;
VESA100=80;
msphere=1.8;
ARM();
*echo (hoehe/2);
module ARM () {
minkowski (){
difference (){
cube ([VESA100*1.6,hoehe*3.5,hoehe/6], center=true);
cube ([hoehe*12,hoehe*2,hoehe],center=true);}
sphere(msphere);}
translate ([VESA100-(... | glb/cad_3d562e2ed6b9.glb |
Create a VESA mount for a tablet by constructing a central elongated arm and a mounting bracket. Start with a main rectangular arm centered on the origin, measuring 80mm in length, 31.5mm in width, and 1.5mm in height. Round the edges of this arm with a 1.8mm radius. Remove a rectangular slot from the center of this ar... | $fn=32;
hoehe=9;
dschraube=4.5/2;
VESA100=50;
*echo (hoehe/2);
msphere=1.8;
ARM();
module ARM () {
minkowski (){
difference (){
cube ([VESA100*1.6,hoehe*3.5,hoehe/6], center=true);
translate ([-5,0,0]) #cube ([hoehe*6,hoehe*2,hoehe],center=true);}
sphere(msphere);}
... | glb/cad_658a36dbd255.glb |
Create an antenna guide for a micro FPV racer. Start by designing a base plate 2mm thick. The plate's footprint is formed by the convex hull of two 5mm diameter circles centered at X=±12.5mm and Y=0, combined with a central 8mm by 5mm rectangle centered at the origin. From this footprint, remove a large circular cutout... | $fn=50;
eta=0.1;
module plate()
{
linear_extrude(2)
difference() {
hull()
{
for (i=[0, 1])
mirror([i, 0, 0])
translate([30/2-5/2, 0, 0])
circle(d=5);
translate([0, 5])
square([8, 5], center=true);
}
for (i=[0,1])
mirror([i, 0, 0])
translate([30/2-3, 0, -eta])
circle(d=2);
tran... | glb/cad_e0ca333caa37.glb |
Create a Custom Buckle Box consisting of two mirrored rectangular containers connected by a central hinge mechanism. Each container has an outer dimension of 40mm width, 40mm depth, and 15mm height, with a wall thickness of 1.5mm.
For the main bodies, create two hollow boxes. The interior cutout for each should be 37m... | $fn = 100;
width = 40;
depth = 40;
height = 15;
wallThickness = 1.5;
hingeOuter = 7;
hingeInner = 3;
hingeInnerSlop = .5;
hingeFingerSlop = .4;
fingerLength = hingeOuter/1.65;
fingerSize = 6.8;
topFingerSize = fingerSize;
latchWidth = 15;
bottom();
top();
bottomLatch();
module bottom() {
union() {
difference() {
... | glb/cad_aee91b6ac9f8.glb |
Create two herringbone gears with a total height of 20mm each. The first gear should have a diameter of 19.5mm and 10 teeth. Construct it by extruding a 10-pointed star-like profile with a twist, then mirroring that twist for the second half of the height to create the characteristic V-shape of a herringbone gear. Posi... | $fn = 180;
function base_face (r, d, mod) = [for(angle = [0: 360/$fn: 360-360/$fn]) [
cos(angle)*(r + abs(angle%mod-mod/2)/mod*2*d - d/2),
sin(angle)*(r + abs(angle%mod-mod/2)/mod*2*d - d/2)
]];
module gear_base(diam=20, number=10) {
render()
polygon(base_face(diam/2, diam/number*1.5, 360/number));
}
... | glb/cad_3934973bf687.glb |
Create a paste extruder tip mount for a Kossel Mini. Start with a main cylindrical disk that has a radius of 18mm and a thickness of 6mm, centered on the origin. Remove a central vertical cylinder with a radius of 3.175mm that spans the full thickness of the disk. Around this center, remove an octagonal prism with a ra... | include <configuration.scad>;
mount_radius = 18;
mount_thickness = 6;
hole_radius = 12.5;
slot_radius = 6.35/2;
lip_radius = 11.9/2;
lip_thickness = 3.175;
$fn = 40;
difference() {
cylinder(r=mount_radius, h=mount_thickness, center=true);
for (hole_angle = [0:120:360]) {
translate([sin(hole_angle)*hole_ra... | glb/cad_f8e5df595b63.glb |
Create a Dropzone Building Sidewalk base for a building with dimensions of 109mm width and 180mm length.
Start by creating a rectangular base plate with a height of 1.5mm. The total outer dimensions of this plate should be 196mm in length and 125mm in width (calculated as the building dimensions plus 6mm for paper th... | width=109;
length=180;
slot_height=3;
paper=2;
sidewalk_width=5;
sidewalkHeight=1.5;
groove_depth=0.5;
sidewalk_squares= length==180 ? 18 : length==109 ? 10 : 7;
sidewalk_squares_width = round(sidewalk_squares*width/length);
base_width=sidewalk_width+3*paper;
outer_width=width+3*paper+2*base_width;
outer_leng... | glb/cad_4eaaa1b202ba.glb |
Create a 3D model of the number 12. The digits should be rendered as a flat, extruded shape with a height of 1.5mm. Each character must have a font size of 20mm. Ensure the text is centered both horizontally and vertically. | min=1;
max=20;
Randon_No=round(rand = rands(min,max,1)[0]);
echo(Randon_No);
linear_extrude(height = 1.5)
text(text = str(Randon_No),size = 20, halign = "center", valign = "center", $fn = 16 ); | glb/cad_6230e8e620e0.glb |
Create a beam for a Leonardo da Vinci self-supporting bridge with a total length of 110mm, a thickness of 8mm, and a width of 8mm. The beam should have rounded corners with a radius of 3mm.
To create the notches, remove three rectangular sections from the beam. The first notch is a centered cutout starting 10mm from ... | l=110;
t=8;
rc=3;
d=10;
eps=0.0001;
notchscale=1.05;
module beam1(x,y,z,a,extra){
translate(v=[x,y,z]) rotate(a=a,v=[0,0,1]){
union(){
translate(v=[rc-eps,0,0]) cube(size=[t-2*rc,l,t]);
translate(v=[0,0,rc-eps]) cube(size=[t,l,t-2*rc]);
for (i=[0,1]) for (j=[0,1])
transl... | glb/cad_5c96f8098e8f.glb |
Create a modular antenna switch case by starting with a rounded cube that has overall dimensions of 109mm x 109mm x 25mm and a corner radius of 5mm. Hollow out the center of this volume by removing a smaller rounded cube measuring 102mm x 102mm x 50mm, positioned 10mm above the base, to create a deep open cavity.
At ... | module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") {
size = (size[0] == undef) ? [size, size, size] : size;
translate_min = radius;
translate_xmax = size[0] - radius;
translate_ymax = size[1] - radius;
translate_zmax = size[2] - radius;
diameter = radius * 2;
obj_translate =... | glb/cad_124a7388a71a.glb |
Create a reusable cable tie consisting of a long, flat strap with a ratcheting mechanism. The main body is formed by 21 identical segments, each 30mm long, 5mm wide, and 3mm thick. Each segment is a triangular prism with a base of 5mm and a height of 30mm, oriented so the points align to create a serrated edge along th... | module unitTie(length,width,height)
{
linear_extrude(height = height,center=true,convexity=10)
polygon(points=[[-width,0],[0,length],[width,0]],paths=[[0,1,2]]);
}
module unitRatchet(length,width,height)
{
linear_extrude(height = height,center=true,convexity=10)
union()
{
difference()
{
translate([0,length/... | glb/cad_0f03079d2898.glb |
Create a CCG deck box with a geared pivoting lid. The main body is a rectangular container designed to hold cards of 70mm x 30mm x 100mm. The walls are 3mm thick.
Construct the base as a hollow rectangular prism with internal notches and supports. The front and back faces feature a decorative infinity symbol etched to... | explode = 20;
circleRes = 10;
printingTolerance = 0.2;
assembledLayout();
cardx = 70;
cardy= 30;
cardz = 100;
cardclearance =6;
wall = 3;
hingeRad=3;
hingeHole=1;
etchDepth=0.4;
printingGap = 3;
keyThickness = 2.4;
mechanism = 4;
slidewidth = 7;
rad = 25;
notchHeight = 13;
chx = 13;
pivotrad = 5;
pivotheight =... | glb/cad_6c4f4fb33daf.glb |
Create a Dual Mode Spring Motor Rolling Chassis right-side component. Start by creating a flat base plate 4mm thick with a complex, organic, elongated perimeter that curves gently from a wide end to a narrower end.
On this base, add a vertical cylindrical post with a total height of approximately 35mm. This post cons... | Ht = 4;
Shaft_OD_Big = 7.2;
Shaft_OD_Small = 6.0;
module Outline()
{
linear_extrude(height = Ht, center = false, convexity = 10)polygon(points =
[[-65.45,41.95],[-66.1,41.65],[-66.71,41.31],[-67.29,40.92],[-67.83,40.48],
[-68.33,40],[-68.79,39.47],[-69.2,38.9],[-69.56,38.3],[-69.86,37.68],
[-70.11,37.02... | glb/cad_35f7b184a956.glb |
Create a front axle for a rolling chassis consisting of three stacked coaxial sections. Start with a hexagonal base cylinder that has a diameter of 5.6mm and a height of 4mm. Directly on top of this base, add a larger smooth cylinder with a diameter of 6mm and a height of 41mm. Finally, cap the top of the assembly with... | cylinder(d=5.6,h=4,$fn=6);
translate([0,0,4])
cylinder(d=6,h=41,$fn=28);
translate([0,0,45])
cylinder(d=5.6,h=3.6,$fn=6); | glb/cad_fec9457c0e30.glb |
Create a Dual Mode Spring Motor Rolling Chassis gear component. Start by creating a solid gear-like cylinder with a height of 8mm. The outer profile of this shape is a complex, 2D gear-tooth polygon extruded to the 8mm height. This profile consists of a series of alternating radial peaks and valleys, creating a gear wi... | Ht = 8;
Hex_OD = 7.16;
module Outline()
{
linear_extrude(height = Ht, center = false, convexity = 10)polygon(points =
[[0.18,7.44],[-0.18,7.44],[-0.53,7.01],[-0.81,6.57],[-1.01,6.12],
[-1.14,5.68],[-1.16,5.25],[-1.02,4.62],[-1.61,4.45],[-1.61,4.45],
[-1.62,4.45],[-1.63,4.45],[-1.63,4.45],[-2.19,4.2],[-2... | glb/cad_31e8442b4b57.glb |
Create a rear wheel for a rolling chassis. Start with a main cylinder 47.72mm in diameter and 6.73mm in height.
Carve out the center of this cylinder by subtracting a large sphere with a diameter of 172.06mm centered at a height of 90.65mm, and a smaller sphere with a diameter of 14mm centered at the origin.
Remove... | OD = 47.72;
Rad = OD / 2;
iRes = 104;
module WheelCut()
{
translate([-.6,0,-1])
linear_extrude(height = 20, center = false, convexity = 10)polygon(points =
[[-18.26,3.19],[-18.36,2.54],[-18.44,1.88],[-18.49,1.22],[-18.53,0.56],
[-18.54,-0.1],[-18.53,-0.76],[-18.49,-1.43],[-18.44,-2.08],[-18.36,-2.74],
... | glb/cad_5bbfd6283079.glb |
Create a rear wheel for a rolling chassis. Start with a main cylinder 47.72mm in diameter and 12.49mm in height. Hollow out the center by removing a sphere with a 18.5mm diameter from the bottom and a larger sphere with a 54.21mm diameter centered 31.72mm above the base.
Cut a hexagonal hole through the center with a... | OD = 47.72;
Rad = OD / 2;
iRes = 104;
module WheelCut()
{
translate([-.6,0,-1])
linear_extrude(height = 20, center = false, convexity = 10)polygon(points =
[[-18.26,3.19],[-18.36,2.54],[-18.44,1.88],[-18.49,1.22],[-18.53,0.56],
[-18.54,-0.1],[-18.53,-0.76],[-18.49,-1.43],[-18.44,-2.08],[-18.36,-2.74],
... | glb/cad_ec584841ae8b.glb |
Create a Dual Mode Spring Motor Rolling Chassis rear wheel. Start with a main cylinder 46.16mm in diameter and 17.8mm in height.
Hollow out the center by removing a sphere with a 18.5mm diameter centered at the bottom and a larger sphere with a 39.44mm diameter positioned 24.33mm up along the Z-axis. Remove a small 6... | OD = 46.16;
Rad = OD / 2;
echo(Rad = Rad);
SPBig_OD = 39.44;
SPBig_Z = 24.33;
SPSmall_OD = 18.5;
iRes = 104;
module WheelCut()
{
translate([0,0,-1])
linear_extrude(height = 20, center = false, convexity = 10)polygon(points =
[[1.42,-18.35],[0.73,-18.39],[0.04,-18.41],[-0.66,-18.39],[-1.35,-18.35],
[-2.0... | glb/cad_55becea8390d.glb |
Create a rear wheel for a rolling chassis. Start with a main cylinder that has a diameter of 47.72mm and a height of 18.29mm.
Hollow out the center of the cylinder by removing a sphere with a diameter of 18.5mm centered at the base and a larger sphere with a diameter of 38.46mm positioned 23.85mm above the base. Remo... | OD = 47.72;
Rad = OD / 2;
iRes = 104;
module WheelCut()
{
translate([0,0,-1])
linear_extrude(height = 20, center = false, convexity = 10)polygon(points =
[[-18.26,3.19],[-18.36,2.54],[-18.44,1.88],[-18.49,1.22],[-18.53,0.56],
[-18.54,-0.1],[-18.53,-0.76],[-18.49,-1.43],[-18.44,-2.08],[-18.36,-2.74],
... | glb/cad_8d1c0a3ad0f2.glb |
Create a wheel for a rolling chassis with an outer diameter of 31.57mm and a height of 9.8mm. Start with a solid cylinder of these dimensions.
Carve out a central spherical void by subtracting a sphere with a diameter of 12mm centered at the base and a larger sphere with a diameter of 38.93mm centered at a height of ... | OD = 31.57;
Ht = 9.8;
Rad = OD / 2;
echo(Rad = Rad);
SPBig_OD = 38.93;
SPBig_Z = 23.46;
SPSmall_OD = 12;
iRes = 104;
module WheelCut()
{
translate([0,-.8,-1])
linear_extrude(height = 20, center = false, convexity = 10)polygon(points =
[[-0.02,-6.98],[0.12,-6.98],[0.38,-6.97],[0.57,-6.97],[0.76,-6.99],
... | glb/cad_7626c293a433.glb |
Create a wheel for a rolling chassis with an outer diameter of 31.57mm and a height of 5.41mm. Start with a solid cylinder of these dimensions.
From the top face, remove a central spherical void created by the intersection of a large sphere with a diameter of 138.64mm centered at a height of 73.32mm and a smaller sphe... | OD = 31.57;
Ht = 5.41;
Rad = OD / 2;
echo(Rad = Rad);
SPBig_OD = 138.64;
SPBig_Z = 73.32;
SPSmall_OD = 12;
iRes = 104;
module WheelCut()
{
translate([0,-.8,-1])
linear_extrude(height = 20, center = false, convexity = 10)polygon(points =
[[-0.02,-6.98],[0.12,-6.98],[0.38,-6.97],[0.57,-6.97],[0.76,-6.99],
... | glb/cad_be65246eac69.glb |
Create a Dual Mode Spring Motor Rolling Chassis base. Start by creating a flat, curved chassis plate with a thickness of 4mm. The overall footprint is an organic, elongated shape defined by a series of connected polygonal points, roughly spanning from x= -68 to 68 and y= -19 to 8.
On this plate, integrate the followin... | Ht = 4;
module Outline()
{
linear_extrude(height = Ht, center = false, convexity = 10)polygon(points =
[[31.75,-15.55],[30.65,-15.82],[29.55,-16.08],[28.45,-16.34],[27.34,-16.58],
[26.23,-16.81],[25.12,-17.04],[24.01,-17.25],[22.9,-17.45],[21.78,-17.65],
[20.67,-17.83],[19.55,-18],[18.43,-18.17],[17.31,... | glb/cad_c08824b59e2a.glb |
Create a Gear Paw for a rolling chassis. Start by constructing a flat, circular gear-like plate with a height of 4mm. The outer perimeter of this plate is a complex, multi-pointed gear shape with 34 teeth, extending to a maximum radius of approximately 19mm.
At the center of this plate, create a hexagonal hole with a... | Ht = 4;
Hex_OD = 10.45;
module Pawl()
{
linear_extrude(height = Ht, center = false, convexity = 10)polygon(points =
[[8.6,2.66],[8.77,2.01],[8.9,1.34],[8.98,0.68],[9,0],
[8.98,-0.67],[8.9,-1.34],[8.78,-2],[8.6,-2.65],[8.38,-3.29],
[8.11,-3.91],[7.79,-4.5],[7.44,-5.07],[7.04,-5.61],[6.6,-6.12],
[6.12... | glb/cad_23ca96867b9f.glb |
Create a Gear Pawl by constructing a composite cylindrical gear. Start with a base gear body that has a total height of 13mm. The bottom 8mm consists of a gear with 34 teeth, defined by a complex polygonal outline. Above this, add a smooth cylinder with a diameter of 45mm and a height of 5mm.
Create a central vertical... | Ht = 8;
Hole_OD = 6.8;
module Outline()
{
linear_extrude(height = Ht, center = false, convexity = 10)polygon(points =
[[-25.41,2.05],[-24.88,1.65],[-24.33,1.28],[-23.78,0.95],[-23.22,0.67],
[-22.66,0.42],[-22.66,0.01],[-22.66,0.01],[-22.66,0],[-22.66,-0.01],
[-22.66,-0.01],[-22.66,-0.42],[-23.22,-0.67],... | glb/cad_3b7b347a4fc1.glb |
Create a Dual Mode Spring Motor Rolling Chassis gear. Start by constructing a main gear body using a 2D profile that forms a circular gear with 34 teeth, extruded to a height of 8mm.
On top of this base, add a second gear layer with a height of 8.5mm, featuring 9 teeth that interlock with the base.
Create a central... | Out_Ht = 8;
In_Ht = 8.5;
Hole_OD = 6.4;
module Outline()
{
linear_extrude(height = Out_Ht, center = false, convexity = 10)polygon(points =
[[-25.41,2.05],[-24.88,1.65],[-24.33,1.28],[-23.78,0.95],[-23.22,0.67],
[-22.66,0.42],[-22.66,0.01],[-22.66,0.01],[-22.66,0],[-22.66,-0.01],
[-22.66,-0.01],[-22.66,-... | glb/cad_8436b4b219c6.glb |
Create a Dual Mode Spring Motor Rolling Chassis gear component. The object is a vertically stacked gear assembly consisting of two primary gear sections with a central hole.
First, create the bottom gear section. This is a cylindrical gear with a height of 8mm. The outer profile is a complex gear shape defined by a se... | Ht = 8;
Hole_OD = 6.3;
module BotOutline()
{
linear_extrude(height = Ht, center = false, convexity = 10)polygon(points =
[[-2.18,10.6],[-2.63,10.5],[-2.87,9.92],[-3.05,9.36],[-3.15,8.8],
[-3.17,8.27],[-3.1,7.77],[-3.01,7.54],[-3.51,7.32],[-3.51,7.32],
[-3.52,7.31],[-3.53,7.31],[-3.53,7.31],[-4.02,7.05],... | glb/cad_129ca0bb1d69.glb |
Create a Dual Mode Spring Motor Rolling Chassis component consisting of two stacked, gear-like cylindrical sections with a central shaft.
First, create a bottom cylindrical base with a height of 8mm. This base should feature a gear-like outer profile with 12 rounded teeth (lobes) radiating from the center.
Directly... | Ht = 8;
Hole_OD = 6.3;
module BotOutline()
{
linear_extrude(height = Ht, center = false, convexity = 10)polygon(points =
[[-2.18,10.6],[-2.63,10.5],[-2.87,9.92],[-3.05,9.36],[-3.15,8.8],
[-3.17,8.27],[-3.1,7.77],[-3.01,7.54],[-3.51,7.32],[-3.51,7.32],
[-3.52,7.31],[-3.53,7.31],[-3.53,7.31],[-4.02,7.05],... | glb/cad_32e7c9e5fe1c.glb |
Create a vertical axle for a rolling chassis by stacking several geometric segments along the Z-axis. Start with a hexagonal base 4mm high with a diameter of 5.6mm. Directly on top of this, add a cylinder with a diameter of 5.5mm and a height of 13.1mm, using a 28-facet resolution.
Above this cylinder, position a thr... | module MidHex()
{
cylinder(d1=6.26,d2=6.76,h=1,$fn=6);
translate([0,0,1])
cylinder(d=6.76,h=6,$fn=6);
translate([0,0,7])
cylinder(d1=6.76,d2=6.26,h=1,$fn=6);
}
module DrawFinal()
{
union()
{
cylinder(d=5.6,h=4,$fn=6);
translate([0,0,4])
cylinder(d=6-.5,h=13.1,$fn=28)... | glb/cad_c5e82ca1274c.glb |
Create an EmonESP LCD Mount consisting of a base and a cover.
For the base, create a rectangular platform 84.8mm wide, 38.4mm deep, and 2mm thick. Centered on this platform, place two cylindrical screw posts with an outer diameter of 7.7mm and a height of 6mm, positioned 75mm apart from center to center. Each post mu... | function inch(x) = x * 25.4;
wall = 2.45;
wall_t = 2;
screw_d = 2.70;
lcd_sep = 75;
huzzah_sep = inch(0.8);
thick = 2;
lcd_off = 4;
e = 0.01;
translate([0,30,0]) joiner();
cover();
module screwhole() {
cylinder(thick+lcd_off+2*e, d=screw_d, $fn=16);
}
module screwpost(h) {
cylinder(thick+h, d=screw_d+2*wall, ... | glb/cad_997516112c74.glb |
Create a Geetech Prusa I3 Y motor support bracket. Start with a main square plate measuring 42mm by 42mm with a thickness of 7.8mm, featuring rounded corners with a radius of 2mm. Center a large circular hole with a diameter of 25mm through the plate. Add four smaller screw holes with a diameter of 3.5mm, positioned at... | include <../common/roundedcube.scad>;
THICKNESS = 7.8;
NEMA17_WIDTH = 42;
NEMA17_HOLE_DIAMETER = 25;
SCREW_DIAMETER = 3.5;
NEMA17_SCREW_SPACING = 31;
FRAME_HOLE_SPACING = 20;
INSERT_SIZE = 7.7;
INSERT_HOLE_SIZE = INSERT_SIZE + 10;
INSERT2_SIZE = THICKNESS * 2 - INSERT_SIZE;
NUT_SIZE = 6;
NUT_THICKNESS = 2;
module ne... | glb/cad_5c9120738beb.glb |
Create a Static Bike Wheel Support. Start by constructing a main body that is 80mm wide (60mm internal wheel width plus two 10mm side walls) and 70mm long. The body should have a thickness of 5mm and rounded edges with a radius of 2mm.
The central feature is a semi-cylindrical cutout to cradle the wheel, with a radius... | BodyThickness = 5;
Roundness = 2;
Wheel_Width = 60;
Base_Thickness = 10;
Base_Width = Wheel_Width + (2*Base_Thickness);
Base_Lenght = 70;
Base_offest = 25;
ScrewHoleType = 1;
ScrewHoleRadio = 3;
ScrewHoleCenter = Base_Width/2;
ScrewHoleLeftOffset = Base_Width - (Base_Thickness/2)- ScrewHoleRadio;
ScrewHoleRightOffs... | glb/cad_d5a3764510a5.glb |
Create a stylized 3D tree using a recursive branching structure. Start with a central trunk as an 8-sided prism (octagonal cylinder) with a base radius of 0.5mm and a top radius of 0.4mm, extending to a height of 45mm. At the top of this trunk, attach four primary branches. Each branch must be a scaled-down version of ... | min =1;
max=6;
rand = rands(min,max,1)[0];
Randon_No=round(rand );
echo(Randon_No);
echo(rand);
dna = [ [12, 80, 0.85], [55, 0, 0.6],
[62, 125, 0.6 ], [57, -125, 0.6] ];
Height=9*rand;
N= Randon_No ;
rotate([0,0,30*rand]){
simple_tree(Height, dna, N);
rotate([0,0,10*rand]){
si... | glb/cad_10b5bb1aaf09.glb |
Create a recursive 3D tree structure based on a base height of 45mm. The main trunk is an 8-sided prism (octagonal cylinder) with a bottom radius of 4.5mm and a top radius of 3.75mm, extending 45mm upward. At the top of this trunk, sprout four secondary branches. Each branch is a scaled-down version of the trunk, reduc... | min =1;
max=6;
rand = rands(min,max,1)[0];
Randon_No=round(rand );
echo(Randon_No);
echo(rand);
dna = [ [12, 80, 0.85], [55, 0, 0.6],
[62, 125, 0.6 ], [57, -125, 0.6] ];
Height=9*rand;
N= Randon_No ;
rotate([0,rand,30*rand]){
simple_tree(Height, dna, N);
rotate([0,rand,10*rand]){... | glb/cad_38f4afb9d44e.glb |
Create a Customizable OpenBeam End Cap with a main body and stabilizing feet. Start with a central rectangular block measuring 15mm x 15mm x 3mm. On the top face of this block, add four protruding tabs to grip the rail; each tab should be 4.5mm high and 3.3mm wide, positioned symmetrically along the edges to form a squ... | end_depth = 3.0;
tab_length = 3.0;
foot_length = 5.0;
foot_height = 5.0;
bolt_diameter = 3.0;
fillet_radius = 2.0;
hole_radius = 1.8;
slot_diameter = 3.3;
tab_height = 4.5;
openrail_size = 15;
if( end_depth <= 0 || tab_length <= 0
|| openrail_size <= 0 || slot_diameter <= 0)
{
echo("<B>Error: Missing ... | glb/cad_68676f9e008c.glb |
Create a Smile Face model by starting with a main circular plate 90mm in diameter and 3mm thick. Centered on this plate, carve out two circular holes for eyes, each 10mm in diameter and 6mm deep, positioned 15mm from the center along the x-axis and 10mm from the center along the y-axis. To create the smile, carve a cur... | $fn=40;
range=90;
D=90;
translate([0,0,-3/2]) Face();
module Face(){
difference()
{
Face_Plate();
scale([1,1.5,1])Eyes();
Slided_Tube(range);
}}
module Eyes() {
POS=10;
color("black")
{
translate([ POS*1.5,-POS,0]) cylinder(h=6,d=10,center=true);
translate([-POS*1.5,-POS,0]) cylinder(h=6,d=10,center... | glb/cad_1ed78a67bb04.glb |
Create an iPad Mini Retina Dock by starting with a main rectangular block measuring 141mm wide, 13.8mm deep, and 30mm high. Tilt the entire assembly backward by 15 degrees.
Carve out a central slot for the tablet and a specific cutout for a Lightning connector. The connector cutout consists of a central rectangular s... | $fn=20;
difference() {
rotate([-15,0,0]) union() {
difference() {
cube([141,13.8,30]);
translate([69.5,4.73,0]) LightningCutOut();
translate([38,6,10]) cube([23,4.5,20]);
translate([38,0,10]) cube([23,6,10]);
translate([80,6,10]) cube([23,4.5,20]);
translate([80,0,10]) cube([23,6,10]);
}
cube(... | glb/cad_1e38f04f73f5.glb |
Create an iPad Mini Retina Dock by starting with a main rectangular block measuring 141mm wide, 13.8mm deep, and 30mm high. Tilt the entire assembly backward by 15 degrees.
Carve out a central slot for the tablet and a specific cutout for a Lightning connector. The connector cutout consists of a rectangular base meas... | $fn=20;
difference() {
rotate([-15,0,0]) union() {
difference() {
cube([141,13.8,30]);
translate([69.5,4.73,0]) LightningCutOut();
translate([38,6,10]) cube([23,4.5,20]);
translate([38,0,10]) cube([23,6,10]);
translate([80,6,10]) cube([23,4.5,20]);
translate([80,0,10]) cube([23,6,10]);
}
cube(... | glb/cad_4cb3aa8c18a7.glb |
Create a CO2 Bottle Keg Mount consisting of a hollow cylindrical sleeve with an integrated mounting bracket. Start by creating a main outer cylinder with a radius of 17.5mm and a height of 10mm. Inside this cylinder, remove a central core with a radius of 14.5mm and a height of 30mm to create a thick-walled ring.
Att... | Printable = "no";
module keg(){
difference(){
translate([0,-142.5,-350])cylinder(r=110,h=340, $fn=50);
translate([0,-142.5,-97.5])cylinder(r=90,h=100, $fn=50);
}
}
module hanger(){
translate([-5.5,-70,0])cube([11,55,10]);
translate([-5.5,-70,0])cube([11,11,50]);
}
module co2Bottle(x1,x2,x3){
... | glb/cad_45a87af1f09b.glb |
Create a CO2 bottle keg mount by constructing a central cylindrical base with a radius of 17.5mm and a height of 10mm. To this base, attach two identical hanger components; each hanger consists of a 11mm by 55mm by 10mm rectangular block joined to a 11mm by 11mm by 50mm vertical pillar. Position these two hangers on op... | Printable = "yes";
module keg(){
difference(){
translate([0,-142.5,-350])cylinder(r=110,h=340, $fn=50);
translate([0,-142.5,-97.5])cylinder(r=90,h=100, $fn=50);
}
}
module hanger(){
translate([-5.5,-70,0])cube([11,55,10]);
translate([-5.5,-70,0])cube([11,11,50]);
}
module co2Bottle(x1,x2,x3){
... | glb/cad_deed87f590d0.glb |
Create a CO2 bottle keg mount designed to snap onto a cylindrical surface. Start by creating a central cylindrical base with a radius of 17.5mm and a height of 10mm. To this base, add two symmetrical hanger arms extending outward; each arm consists of a rectangular block measuring 11mm by 55mm by 10mm, with a secondary... | Printable = "yes";
module keg(){
difference(){
translate([0,-142.5,-350])cylinder(r=110,h=340, $fn=50);
translate([0,-142.5,-97.5])cylinder(r=90,h=100, $fn=50);
}
}
module hanger(){
translate([-5.5,-72,0])cube([11,55,10]);
translate([-5.5,-72,0])rotate([10,0,0])cube([11,11,50]);
}
module co2Bott... | glb/cad_2d6c3983336d.glb |
Create a 3D cube centered on the X and Y axes. The cube should have a total width of 11mm, a total depth of 11mm, and a height of 4mm. Position the base of the cube at a Z-axis height of 2mm. | include <oshw.scad>
height = 5;
width = 2.0;
color([1,0,0]) oshw_fill_logo(height);
color([1,0,0]) oshw_text(height);
translate([0,0,2]) cube([11,11,4],center=true); | glb/cad_862ce4058124.glb |
Create a curtain clip consisting of two identical, interlocking C-shaped components mirrored and offset from one another. Each component is a flat profile extruded to a height of 1.5mm. To form one component, start with a circular ring with an outer diameter of 10mm and an inner diameter of 7mm. Modify this ring by rem... | $fn=45;
module clip(){
render() scale([0.8,1]) minkowski(){
union(){
scale([1,3]) difference(){
circle(d=10);
translate([1.5,1]) circle(d=10);
translate([-8,-16]) square(16);
}
translate([0,0]) difference(){
... | glb/cad_df9dddff92c5.glb |
Create a curtain clip consisting of two identical, mirrored C-shaped curved arms facing each other. Each arm is a flat, extruded profile with a thickness of 2mm. The profile of each arm is based on a circular arc with an outer diameter of 15mm and a wall thickness of 4mm. The arms are not full circles; they are open-en... | $fn=45;
cl=15;
cw=12;
ct=4;
module clip(){
render() scale([0.8,1]) minkowski(){
union(){
scale([1,3]) difference(){
circle(d=cl);
translate([ct/2,ct/3]) circle(d=cl);
translate([-cl*0.75,-cl*1.5]) square(cl*1.5);
}
transl... | glb/cad_ec31e1ffb2c8.glb |
Create a coupling and fix for an enclosure by starting with a base rectangular plate measuring 48mm in width, 129mm in length, and 3mm in height. Add a second rectangular section to the side of this base, measuring 3.5mm in width, 121mm in length, and 3mm in height, positioned so that it extends from the base. From the... | difference(){union(){
translate([17,0,3]) cube([3.5,121,3]);
translate([0,-4,0]) cube([48,129,3]);
}{
translate([34.5,60,0]) difference(){union(){
cube([28,28,30], center=true);
cube([11,11,30],center=true);
cube([23,23,30], center=true);
cube([25,25,30],center=true);
cube([17,17,30],center=true);
}union(){
translate(... | glb/cad_14284a4d7aa0.glb |
Create a Car Tablet Holder consisting of a main sleeve and a hinged clamping arm. Start by constructing the main sleeve as a hollowed-out rectangular pocket with a length of 100mm, a thickness of 2mm, and a height that tapers from 46mm at the top to 29mm at the bottom.
At one end of the sleeve, integrate a fixed hing... | $fn=20;
p = 100;
hMax = 46;
hMin = 29;
hDiff2 = (hMax - hMin) /2;
e = 2;
Interieur = [
[ 0, 0, hDiff2 ],
[ p, 0, 0 ],
[ p, 0, hMax ],
[ 0, 0, hMax - hDiff2],
[ 0, e, hDiff2 ],
[ p, e, 0 ],
[ p, e, hMax ],
[ 0, e, hMax - hDiff2]];
CubeFaces = ... | glb/cad_75fb724fbceb.glb |
Create an espresso tamper spill catcher by constructing a hollow cylindrical shell with an outer diameter of 71.5mm, a height of 51.5mm, and a wall thickness of 3mm. At the base, add a solid circular disk with a radius of 39.3mm and a thickness of 3mm.
Cut a rectangular opening through the side of the cylinder that i... | $fn = 60;
inner_diameter=62;
shell_thickness=3;
opening_width=26.5;
slot_width=21.5;
slot_height=6.75;
slot_depth=6.9;
depth=51.5;
handle_bottom_height=18;
difference(){
union(){
for(i = [0 : 1 : 2]){
rotate([0,0,i*360/3]){
translate([inner_diameter/2+(inner_diameter/2)*0.03,-2... | glb/cad_38b9a767f0e0.glb |
Create a 45-degree footware end cap for a 10mm x 10mm square beam. Start by constructing a solid block with a base width and depth of 15.6mm and a height of 10mm.
Cut the top of this block at a 45-degree angle relative to the base to create a wedge-like profile. Within this block, create a square hollow cavity design... | makerbeamSide = 10.012;
footSide = 15.6;
footHeight = 10;
makeSimple = false;
makeSpace = 0.5;
nrOfFeetX = 1;
nrOfFeetY = 1;
feetOffSet = 14;
smallSide = 4.0;
offset = (footSide-makerbeamSide)/2;
offSetHoles = makeSpace + (footSide - smallSide)/2 - (footSide-makerbeamSide)/2;
offSetMidX = (nrOfFeetX*(footSide+fe... | glb/cad_3e2341e61e3b.glb |
Create a 3D model of an X-Wing ship outline. The shape is a flat, extruded polygon based on a complex 2D profile.
Construct the profile using the following coordinates (scaled by 25.4/90 on the X-axis and -25.4/90 on the Y-axis): start at [-8.2075, -5.88], moving through a series of points including [-8.2775, -7.91],... | fudge = 0.1;
module poly_path4166(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-8.207500,-5.880000],[-8.277500,-7.910000],[-8.207500,-8.085000],[-7.997500,-8.155000],[-7.752500,-7.910000],[-7.332500,-7.560000],[-6.842500,-7.105000],[-6.702500,-6.860000],[-6.527500,-6.12... | glb/cad_f80d31762a1f.glb |
Create a 3D model of an X-Wing ship outline. The shape is a flat, extruded silhouette based on a complex polygon. To construct it, define a 2D profile on the XY plane using the provided vertex coordinates, which trace the distinct outline of the starfighter, including its fuselage, wings, and engines. Extrude this 2D p... | fudge = 0.1;
module poly_path4243(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-1.960000,-6.737500],[0.420000,-6.632500],[2.800000,-6.527500],[2.800000,-6.352500],[2.835000,-6.212500],[2.940000,-6.212500],[2.940000,-6.247500],[3.150000,-6.037500],[3.185000,-6.037500],[3... | glb/cad_9cfe02104b84.glb |
Create a 3D model of an X-Wing ship outline. Start by defining a 2D polygon based on the provided coordinates, which forms the silhouette of the starfighter. Extrude this flat shape upward along the Z-axis to a height of 5mm to create a solid volumetric plate. The resulting geometry should be a precise, extruded profil... | fudge = 0.1;
module poly_path4229(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[8.277500,-2.205000],[8.522500,-2.240000],[8.767500,-2.240000],[9.082500,-2.275000],[9.852500,-2.380000],[9.922500,-2.380000],[10.027500,-2.345000],[10.202500,-2.100000],[10.307500,-1.960000],... | glb/cad_c003b0e32900.glb |
Create a 3D model of an X-Wing ship outline. The shape is a flat, extruded polygon with a height of 5mm. The profile is defined by a complex series of vertices that form a stylized starship silhouette.
Starting from the center, the shape extends outward to create a fuselage and wings. The outer boundary is defined by... | fudge = 0.1;
module poly_path4320(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-0.910000,-6.072500],[3.185000,-5.967500],[5.740000,-4.077500],[5.880000,-5.442500],[6.090000,-5.477500],[6.265000,-5.127500],[6.300000,-5.232500],[6.510000,-5.267500],[6.685000,-4.917500],[6... | glb/cad_e73669aa2acc.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.