Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Y belt tensioner consisting of a moving clamp, a support clamp, and a mounting bracket.
For the moving clamp, create a rectangular block 24mm wide, 12mm deep, and 8mm high. Center a 4.1mm diameter hole vertically through the block at x=7.5mm and x=-7.5mm. At the same positions, create larger 8.1mm diameter ho... | hi=8;
translate ([0,20,0]){
difference(){
union(){
translate ([0,0,hi/2]) cube([24,12,hi],center=true);
}
hull(){
translate([12,0,hi]) cube([0.1,16,0.1],center=true);
translate([12,0,hi-4]) cube([0.1,16,0.1],center=true);
translate([10,0,hi]) cube([0.1,16,0.1],center=true);
}
hull(){
transla... | glb/cad_f9427db6f2f0.glb |
Create a pill box with a sliding lid. The main box is a rectangular prism with dimensions 50mm width, 75mm depth, and 15mm height. All exterior corners of the box should have a 3mm radius fillet. The walls of the box are 2.8mm thick. Hollow out the center to create a storage cavity, but leave a 2.8mm thick floor and wa... | include <MCAD/boxes.scad>
IncludeBox = 1;
IncludeLid = 1;
bX=50;
bY=75;
bZ=15;
corner=3;
col=2;
row=2;
divWall=1.5;
wall=2.8;
lip=3;
snug=.995;
catch=1.5;
bump=2;
boxDim=[bX, bY, bZ];
over=.5;
module xDiv(inSide){
xInc=inSide[0]/col;
for ( i = [1 : col-1] ) {
translate([i*xInc, 0, 0])cube([divWal... | glb/cad_3aedab2c6342.glb |
Create a Select-O-Matic Hole Grommet Cover. The object is a circular cap designed to fit into a panel grommet.
Construct the main body as a cylinder with a total height of 9mm (6mm panel thickness plus 3mm flange thickness). The base of the cover is a solid disc with a radius of 17.5mm.
From the top surface of this ... | plug = 10;
part = "cover";
edge_type = "fillet";
cover_style = "flush";
cover_catch = "yes";
panel_thickness = 6;
screw_pitch = 4;
thread_height_to_pitch = 50;
resolution = 90;
flange_chamfer_angle = 45;
fillet_percent = 100;
plug_length_percent = 100;
undersize = 0.2;
catch_sizing_percent = 100;
cover_ca... | glb/cad_7ed6b2f10121.glb |
Create a parameterisable L-bracket consisting of two rectangular plates joined at a 90-degree angle. Each plate has a thickness of 5mm. One plate is 45mm high and 25mm wide, while the other is 25mm wide and 5mm thick. The outer corner where the two plates meet is rounded with a chamfer.
At the top edge of the vertica... | c_w = 25;
c_h = 45;
c_d = 5;
hole_size = 3;
multiplier = 1.008;
cut_bracket();
translate([0,c_d,0]){
rotate (90, [1,0,0]){
cut_bracket();
}
}
corner_chamfer();
module corner_chamfer () {
difference(){
translate([0,-c_d,0]){
cube([c_w, c_d*2, c_d*2], false);
}
translat... | glb/cad_cac5d478cbc0.glb |
Create a Hexagonal Lattice plate by starting with a large hexagonal prism that has a flat-to-flat width of 115mm and a thickness of 4mm.
From this base, carve out a repeating pattern of holes using a specific "trihex" shape. This trihex shape is formed by taking a rectangular block and removing several hexagonal pris... | plate_thickness = 4;
hex_pitch = 10;
wall_thickness = 3;
unit_i = [cos(150)*hex_pitch, sin(150)*hex_pitch];
unit_j = [cos(30)*hex_pitch, sin(30)*hex_pitch];
module hexagon (width,thickness)
{
intersection ()
{
cube([width*2, width,thickness],center=true);
rotate(a=[0,0,120]) cube([width*2, width,thi... | glb/cad_1e25765c3ea0.glb |
Create a tribebot support by starting with a main block that is 30mm wide, 30mm deep, and 40mm high. Remove a large section from the top of this block using a 45-degree angled cut that extends from the top-right edge down through the body. Additionally, carve out two thin rectangular slots, each 1.4mm thick, starting f... | h = 10;
lunghezza_perno = h * 4;
avanzamento = 10;
rientro = 2;
altezza = 40;
spessore_staffe = 1.4;
lato = 30;
difference(){
cube([lato, lato, altezza]);
translate([2, 2, 0]){
union(){
cube([spessore_staffe, 50, 30]);
cube([50, spessore_staffe, 30]);
}
}
translate([lato, 0, 0]){
rota... | glb/cad_ad8713808948.glb |
Create a tribebot model by starting with a central vertical rectangular prism that is 90mm wide, 90mm deep, and 600mm tall. Merge this prism with a cylinder that has a radius of 45mm and a height of 90mm, oriented horizontally so its axis runs along the width of the prism and is centered at a height of 600mm. From this... | difference(){
difference(){
union() {
translate([0, 0, 300]){
cube([90, 90, 600], center=true);
}
translate([0, 0, 600]){
rotate([90, 0, 0]){
cylinder(r1=45, r2=45, h=90, center=true);
}
}
}
translate([0, 0, 600]){
rotate([90, 0, 0]){
cylinder... | glb/cad_d46696ce5593.glb |
Create a tribebot base by starting with a solid cylinder 25mm in diameter and 2mm high. Remove a concentric inner cylinder with a diameter of 17.5mm and a height of 2mm to create a flat ring. From the top surface of this ring, remove 22 small vertical holes, each 3mm in diameter, arranged in a circular pattern with a r... | altezzaPIEDI = 23;
larghezzaPIEDI = 1.6;
diametroEXT = 25;
posizione_fori = 21.7;
diametroINT = 17.5;
spessoreSUP = 2;
ruotaFori = 8.1;
$fa = 1; $fs= 0.3333;
difference(){
union(){
cylinder(r1=diametroEXT, r2=diametroEXT, h=altezzaPIEDI+spessoreSUP, center=false);
difference(){
cylinder(r1=diametroEXT,... | glb/cad_dfd014eb7d12.glb |
Create a Bird House Customizer consisting of a main house body and a roof. For the main body, create a rectangular box with a height of 200mm, a width of 100mm, and a length of 100mm. Hollow out the center of the box by removing a smaller interior cube, leaving walls with a thickness of approximately 7mm.
On the fron... | bird_type = 0;
text_label = "TNH";
text_font = "write/orbitron.dxf";
text_size = 30;
text_left_right = 30;
text_up_down = 15;
build_plate_selector = 0;
build_plate_manual_x = 100;
build_plate_manual_y = 100;
custom_width = 100;
custom_length = 100;
custom_height = 200;
custom_opening = 30;
custom_opening_h... | glb/cad_366173152380.glb |
Create a circuit board mount starting with a rectangular base plate measuring 56mm wide, 100mm long, and 5mm thick. Remove a central rectangular section from the base, leaving a border of 13mm on the left and right sides and 10mm on the top and bottom sides, resulting in a recessed central area that is 30mm wide and 80... | $fn=180;
module screw() {
translate([0,0,-1.5]) cylinder(d=3.3, h=2, center=true);
translate([0,0,1]) cylinder(d=8, h=3, center=true);
}
module mount() {
cube([2,10,8], center=true);
translate([1,0,5]) cube([4,10,2], center=true);
}
difference() {
cube([56,100,5], center=true);
translate([25,0,0]) cube([30,80,... | glb/cad_56254fc540d3.glb |
Create a Y-Axis tensioner girdle for a stepper motor. Start with a solid rectangular base measuring 95.4mm in length, 52.4mm in width, and 8mm in height.
Carve out a central rectangular cavity from the top, leaving a wall thickness of 7.7mm on the long sides and 2mm on the short inside edges. This interior opening sh... | stepper_motor_side_length=42.3;
girdle_inside_side_width=stepper_motor_side_length+2;
girdle_inside_side_length=77;
girdle_height=8;
girdle_thickness = 7.7;
girdle_inside_edge_thickness = 2;
girdle_outside_width = girdle_inside_side_width + girdle_thickness + girdle_inside_edge_thickness;
wing_width=6;
girdle_outside_l... | glb/cad_26897f0f527e.glb |
Create a servo arm for an auto-leveling system. Start by constructing a main rectangular stick with a total length of 61mm, a width of 17mm, and a thickness of 3.7mm. Apply a fillet to the vertical edges of this stick with a radius of 3.8mm plus a 1.32mm wall thickness.
At the base of the arm, create a recessed circu... | include <sg90.scad>
include <fillet.scad>
include <holes.scad>
wall = 1.32;
e = 0.01;
function inch(i) = i * 25.4;
block_w = inch(1.75);
block_d = inch(0.25);
block_h = inch(1.125);
module switch_arm(h) {
arm_w = 17;
arm_d = 3.8;
arm_h = 3.7;
arm_inset_h = 1.7;
switch_h = 8.5;
switch_w = 20;
switch_d... | glb/cad_1a2e74ee6c1b.glb |
Create a curved train track rail segment that forms a 30-degree arc with a radius of curvature of 260mm. The segment consists of two parallel curved rails.
Each rail is constructed from a base block with a height of 6.5mm. The inner part of the rail features a hollow cavity measuring 12.85mm by 60.65mm, with walls 1.5... | use <libpeter.scad>;
f=1.5;
nh=8;
findiam=10.2;
condiam=9.2;
radcur=260.0;
module start(x,y,or){
translate(v=[x,y,0]){
rotate(a=or,v=[0,0,1]){
difference(){
union(){
difference(){
cube(size=[15.85,63.65, 6.5]);
translate(v=[1.5,1.5,-1.5])
cube(size... | glb/cad_b7a47e9dce91.glb |
Create a Duplo compatible curved train track rail segment. The piece is a 30-degree arc with a radius of curvature of 260mm.
Construct the base as a curved platform with a width of 63.65mm. The overall height of the track section is 14mm. Along the outer edge of the curve, add a grip profile consisting of 144 small re... | rtew=1.0;
findiam=10.2;
condiam=9.2;
radcur=260.0;
module start(x,y,or){
translate(v=[x,y,0]){
rotate(a=or,v=[0,0,1]){
difference(){
union(){
difference(){
cube(size=[15.85,63.65, 6.5]);
translate(v=[1.5,1.5,-1.5])
cube(size=[12.85,60.65, 6.5]);
... | glb/cad_d952b3877d3e.glb |
Create a bike tire valve cap for a Schrader valve. Start by constructing a hollow tube with an outer radius of 5mm and an inner radius of 4mm, extending to a height of 12mm. The outer wall of the tube should be a 15-sided prism. Cap the top of the tube with a hemispherical dome that has an outer radius of 5mm and a 20-... | inner=8/2;
outer=10/2;
tube_height=12;
dome_height=2;
dome_inner_height=1.5;
dome_outer=6;
dome_inner=8;
difference() {
union() {
cylinder(r=outer, h=tube_height, $fn=15);
translate([0, 0, tube_height]) {
sphere(r=outer, $fn=20);
}
}
union() {
cylinder(r=inner, h=tube_height, $fn=15);
translate([0, 0,... | glb/cad_0d2a49be8f3b.glb |
Create a 20x4 LCD case consisting of a main housing and a matching cover. For the main housing, start with a solid rectangular block 113.2mm wide, 65mm deep, and 24.7mm high. Hollow out the center to create a shell with 2.5mm thick walls. On the front face, create a rectangular cutout 103.2mm wide and 45mm high to acco... | lcdW=98-1.3;
lcdH=40;
lcdD=19.7;
cbH=60;
cbW=108.2;
cpW=20;
th=2.5;
c=0.5;
standoff=7.25;
module front(){
difference(){
cube([cbW+cpW+th*2, cbH+th*2, lcdD+th*2], center=true);
translate([0,0,-th])cube([cbW+cpW+c*2, cbH+c*2, lcdD+th*2], center=true);
translate([0,-2,-lcdD])cube([cbW+cpW+c*2, cbH+c*2+0.1, l... | glb/cad_c8e1e26c2ea8.glb |
Create a Ring Holder with Size Measurement consisting of a series of stacked, tapered conical rings resting on a circular base.
Starting from the top, create a sequence of 4 conical sections, each 6mm in height. The topmost section should have a top radius of 8mm and a bottom radius of 8.25mm. Each subsequent section... | MinSize = 16;
MaxSize = 19;
LowerRadiusDifference = 0.25;
Height = 6;
BaseDiameter=30;
BaseSize=22;
$fn=100;
for(i=[MinSize:1:MaxSize])
{
translate([0,0,-(i-MinSize)*Height])
{
difference()
{
radius = i/2.0;
rm = radius;
rM = radius + LowerRadiusDiffere... | glb/cad_1cd23e80bd8f.glb |
Create two interlocking parametric locking connectors, a male and a female block, each with overall dimensions of 15mm in length, 15mm in width, and 30mm in height.
For the male connector, start with a base cube of 15x15x30mm. Centered on the X-axis, add a triangular prism key that is 10mm wide, 10mm deep, and 20mm h... | module tri_key(x, y, z)
{
linear_extrude( height = z )
{
polygon( points = [ [ 0, 0 ], [ x, 0 ], [x/2, y ] ], paths = [ [ 0, 1 , 2] ] );
}
}
module one_way_block(x, y, z, angle)
{
difference()
{
cube( size = [ x, y, z ] );
rotate( [ -90, 0, 0 ] )
linear_extrude( height = y + 0.001)
polygon( points = [ ... | glb/cad_7aa130f94ce6.glb |
Create two interlocking connector blocks, a male and a female piece, with overall dimensions of 15mm length, 10mm depth, and 25mm height.
For the male connector, create a base block 15mm wide, 10mm deep, and 8.33mm high. Centered on top of this base, add a triangular prism key that is 10mm wide and 6.67mm high, extend... | module tri_key(x, y, z)
{
linear_extrude( height = z )
{
polygon( points = [ [ 0, 0 ], [ x, 0 ], [x/2, y ] ], paths = [ [ 0, 1 , 2] ] );
}
}
module one_way_ridge(x, y, z)
{
translate( [ 0, 0, y ] )
rotate( [ -90, 0, -90 ] )
linear_extrude( height = z )
polygon( points = [ [ 0, 0], [ x, 0 ], [ 0, y ] ], paths ... | glb/cad_23eed01d3608.glb |
Create a dynamo head consisting of a hollow cylindrical body with a tiered exterior. Start by creating a base cylinder with an outer diameter of 27mm and a height of 15mm. Remove a central cylindrical core with a diameter of 21mm, starting from a height of 5mm and extending upwards to leave a 5mm thick solid floor at t... | use </usr/share/openscad/mcad/triangles.scad>
d1=27;
d2=25;
d3=21;
h1=5;
h2=15;
h3=20;
t=30;
r1=15;
difference()
{
cylinder(h = h2,r = d1/2,$fn = 60);
translate([0,0,h1])cylinder(h = h3+1,r = d3/2,$fn = 60);
}
difference()
{
translate([0,0,h2])cylinder(h = h1,r = d2/2,$fn = 60);
translate([0,0,h2-1])c... | glb/cad_8856d27690d3.glb |
Create a showerhead adapter by starting with a central rectangular block measuring 80mm in length, 16mm in width, and 20mm in height, centered on the origin. At one end of this block, centered at x = -40, integrate a pentagonal prism (a cylinder with 5 facets) with a radius of 10mm and a height of 14mm, oriented along ... | use </usr/share/openscad/mcad/triangles.scad>
d1=28;
d2=23;
d3=19;
difference()
{
difference()
{
difference()
{
difference()
{
difference()
{
difference()
{
union()
{
cube(size = [80,16,20], center = true);
translate([-40,0,0])rotate([90,0,0])cylinder(h = 14, r=10, $fa=5, center = true);
transla... | glb/cad_5e5c207e8d3e.glb |
Create a universal spool holder designed to clip onto a 25mm wide beam. The assembly consists of two identical side supports facing each other, separated by a distance of 80mm.
For each side support, create a base that clips onto the beam. The base is a rectangular block 16mm thick and 29mm wide (25mm beam width plus ... | $fs = 0.1;
$fa = 3;
tol = 0.15;
bearing_id = 8;
bearing_od = 22;
bearing_thickness = 7;
beam_width = 25;
peg_border_distance = 2.5;
rollers_height = bearing_od/2;
bottom_length = 16;
bottom_top_thickness = 2.5;
bottom_arms_thickness = 2;
disc_thickness = 0;
top_thickness = 2.5;
rollers_spacing = 100;
peg_length = be... | glb/cad_9112997809ec.glb |
Create a rocket nipple by combining a sphere and a cylinder, then removing a central rectangular void. Start by placing a sphere with a radius of 4mm centered at a height of 2mm on the Z-axis. Attach a cylinder to the base of the sphere with a radius of 4.8mm and a height of 1mm, centered at the origin. From this combi... | r = 4;
holeW=2.75;
holeH=2.1;
cut=0.5;
$fn=32;
difference() {
union() {
translate([0,0,cut*r]) sphere(r=r);
cylinder(h=1, r=r*1.2);
}
translate([0,0,-1.5*r]) cube([3*r, 3*r, 3*r], center=true);
translate([0,0,-1.5*r+holeH]) cube([holeW, holeW, 3*r], center=true);
} | glb/cad_2a7c6e774a3d.glb |
Create a window snap consisting of a stacked cylindrical assembly. Start with a base cylinder 13.2mm in diameter and 1.5mm high. Centered on top of this base, add a lower shaft with a radius of 3.4mm and a height of 6.4mm. Above the lower shaft, add a middle section 0.6mm high that tapers outward from a radius of 3.4mm... | headRadius=6.6;
headHeight=1.5;
shaftRadius=3.4;
lipWidth=0.7;
lowShaftHeight=6.4;
midShaftHeight=0.6;
topShaftHeight=2.0;
cutOffset=1;
cutWidth=0.8;
res=100;
lowShaftRadius=shaftRadius;
lowShaftPosition=[0,0,headHeight];
midShaftR1=shaftRadius;
midShaftR2=shaftRadius+lipWidth;
midShaftPosition=[0,0,headHeight+low... | glb/cad_1c7c9009dfcb.glb |
Create a set of twelve spacers for a car radio project, consisting of three large spacers and nine small spacers. To create a large spacer, construct a 20-sided prism with a radius of 4mm and a height of 17mm, then remove a concentric 10-sided prism hole with a radius of 1.7mm and a height of 18mm from the center. To c... | module big() {
translate( v=[0,0,17/2] ) {
difference() {
cylinder( r=4, h=17, $fn=20, center=true );
cylinder( r=1.7, h=18, $fn=10, center=true );
}
}
}
module small() {
translate( v=[0,0,6/2] ) {
difference() {
cylinder( r=4, h=5, $fn=20, center=true );
cylinder( r=1.7, h=6, $fn=10, center=true )... | glb/cad_3a2490f11d85.glb |
Create a Y Motor Stabilizer consisting of a central block with two cylindrical ends. Start by constructing the main body: place two cylinders with a radius of 8mm and a height of 10mm, positioned 20mm apart along the y-axis, centered at [0, 10, 0] and [0, 30, 0]. Connect these two cylinders with a rectangular block mea... | module y_motor_base(){
translate(v = [0,10,0]) cylinder(h = 10, r=8);
translate(v = [0,20,5])cube(size = [16,20,10], center=true);
translate(v = [0,30,0])cylinder(h = 10, r=8);
}
module y_motor_holes(){
translate(v = [29,-21+50,0]){
}
translate(v = [0,10,-1]) cylinder(h = 12, r=4.5);
translate(v = [0,30,-1])... | glb/cad_6e430fe5eb60.glb |
Create a Y Motor Stabilizer by constructing a base shape and removing specific voids. Start with a base composed of three joined parts: two cylinders with a radius of 8mm and a height of 10mm, positioned 20mm apart along the y-axis (centered at y=10 and y=30), connected by a central rectangular block measuring 16mm wid... | module y_motor_base(){
translate(v = [0,10,0]) cylinder(h = 10, r=8);
translate(v = [0,20,5])cube(size = [16,20,10], center=true);
translate(v = [0,30,0])cylinder(h = 10, r=8);
}
module y_motor_holes(){
translate(v = [29,-21+50,0]){
}
translate(v = [0,10,-1]) cylinder(h = 12, r=4.5);
translate(v = [0,5.5,-1])... | glb/cad_ee655bcb6697.glb |
Create a Ramps 1.4 Arduino holder by starting with a solid rectangular base measuring 24mm wide, 58.5mm long, and 10mm high. From this base, carve out four rectangular voids to create a central channel and two side slots. First, remove a central block that is 11.5mm wide, 54.5mm long, and 15mm high, positioned 1.5mm fr... | module example003()
{
difference() {
union() {
translate([0,1,0]) {
cube([24, 58.5, 10]);
}
}
translate([1.5,3,-1]) {
cube([11.5, 54.5, 15]);
}
translate([-5,4.5,-1]) {
cube([11, 52, 15]);
}
translate([18,3.5,-1]) {
cube([3, 53.5, 15]);
}
translate([15,5,-1]) {
cub... | glb/cad_8eb162813c2d.glb |
Create a modified microswitch swingarm for a servo bracket. Start with a central cylindrical base 8mm in diameter and 5mm thick. On top of this base, add a secondary layer 3mm thick consisting of a circle with a 5.2mm radius centered on the base, merged with a rectangular section measuring 10.4mm by 34.25mm extending f... | $fn=100;
module swingarm(){
union(){
linear_extrude(0,0,5){
circle(d=8);
}
linear_extrude(0,0,3){
circle(r=5.2);
translate([-5.2,0,0])
square([10.4,34.25]);
}
linear_extrude(0,0,7.5){
translate([0,34.25,0])
circle(r=5.2);
translat... | glb/cad_c8fa1b84bcb2.glb |
Create a parametric pill box with a sliding lid. The main box body should have overall external dimensions of 50mm width, 75mm depth, and 15mm height, with all external corners filleted to a 3mm radius. The walls of the box are 2.8mm thick. The interior is divided into a 2x2 grid of compartments using internal divider ... | include <MCAD/boxes.scad>
IncludeBox = 1;
IncludeLid = 1;
bX=50;
bY=75;
bZ=15;
corner=3;
col=2;
row=2;
divWall=1.5;
wall=2.8;
lip=3;
snug=.995;
catch=1.5;
slots=4;
boxDim=[bX, bY, bZ];
over=.5;
bump=0;
slotDepth=.5;
module xDiv(inSide){
xInc=inSide[0]/col;
for ( i = [1 : col-1] ) {
translate([i*... | glb/cad_7ab48ce8544f.glb |
Create a Parametric Herringbone Gear Set consisting of two interlocking gears.
First, create a small gear with 11 teeth. The gear should have a herringbone pattern with a total height of 20mm (10mm for the gear body and 10mm for the shaft). Center a vertical shaft hole with a diameter of 5.4mm. At a height of 10mm, a... | include <MCAD/involute_gears.scad>
include <MCAD/teardrop.scad>
printing = 1;
distance_between_axles = 39.4555;
gear_h = 10;
gear_shaft_h = 10;
gear1_teeth = 11;
gear1_shaft_d = 5.4;
gear1_shaft_r = gear1_shaft_d/2;
gear1_setscrew_offset = gear_h / 2;
gear1_setscrew_d = 3 / cos(180 / 8) + 0.4;
gear1_setscr... | glb/cad_6c865622a44c.glb |
Create a Parametric Interlocking Truss Segment. The main body is a 3D truss with a length of 141.4mm, a height of 25mm, and a width of 15mm. The truss structure is composed of cylindrical elements with a diameter of 2mm. It features a triangular cross-section where the elements form a series of interlocking triangles a... | module cyl_elem(x1, y1, z1, x2, y2, z2, diameter)
{
length = sqrt( pow(x1 - x2, 2) + pow(y1 - y2, 2) + pow(z1 - z2, 2) );
alpha = ( (y2 - y1 != 0) ? atan( (z2 - z1) / (y2 - y1) ) : 0 );
beta = 90 - ( (x2 - x1 != 0) ? atan( (z2 - z1) / (x2 - x1) ) : 0 );
gamma = ( (x2 - x1 != 0) ? atan( (y2 - y1) / (x2 - x1) ) : ... | glb/cad_e4216b33ce24.glb |
Create a Parametric Interlocking Truss Segment consisting of a central truss body and two interlocking connectors at either end.
First, construct the truss body. Create a long rectangular prism with a length of 135mm, a width of 15mm, and a height of 25mm. Within this volume, create a series of triangular cutouts to f... | module round_rect( x, y, z, radius)
{
linear_extrude(height=z,center=false, convexity=1, twist=0)
{
translate([radius,radius,0])
minkowski()
{
square([x-2*radius,y-2*radius]);
circle(radius, $fn = 20);
}
}
}
module arb_round_tri (x1, y1, x2, y2, x3, y3, radius, depth)
{
a = pow(pow(abs(x3-x2),2) + ... | glb/cad_a4ae767cb69e.glb |
Create a customizable six-sided die by starting with a cube that is 4mm in size. Round all edges and corners of the cube with a radius of 0.25mm.
On each face of the die, carve a recessed character with a depth of 0.3mm and a height of 2mm. The characters to be placed are "1" on the top, "2" on the front, "3" on the ... | $fn=15;
pad=0.01;
die_size=4;
die_radius=.25;
pip_depth=.25;
pip_radius=.3;
letter_top="1";
letter_front="2";
letter_right="3";
letter_back="4";
letter_left="5";
letter_bottom="6";
letter_depth=-.3;
letter_height=2;
use <Write.scad>
die();
module die() {
difference() {
round_cube();
letters();
translate(... | glb/cad_645e6d99ab00.glb |
Create a Spool Bearing Plug by constructing a tapered main body and removing internal voids for a bearing and an axle. Start with a conical frustum that has a height of 11mm, a bottom radius of 15.25mm, and a top radius of 16.75mm. Inside this body, create a central cylindrical void with a radius of 10.25mm and a heigh... | bearing_outer_diameter = 22;
bearing_width = 7;
bearing_hole_diameter = 8;
spool_diameter = 32;
wedge_difference = 1.5;
module bearing_hole(){
translate([0,0,4])
cylinder(r=bearing_outer_diameter/2, h=bearing_width);
}
module axle_hole(){
cylinder(r=(bearing_hole_diameter/2)+2.2, h=bearing_width*2);
}
module ma... | glb/cad_0c1391b6d335.glb |
Create a Reverb Helmet Mount consisting of two separate components. The first component is a base plate measuring 13mm by 28mm with a thickness of 2mm. Centered on this plate, extending upwards from the 2mm surface, is a vertical tower. This tower is a cylinder with a diameter of 5mm and a height of 28mm. At the very t... | cube([13, 28, 2]);
translate([6.5, 15, 2]) {
cylinder(28, 5, 5);
translate([0, 0, 28]) {
cylinder(3, 3.8, 3.8);
}
}
translate([20, 0, 0]) {
cube([25, 15.9, 2.7]);
translate ([7, 7.95,-3]) {
difference() {
cylinder(3, 5.25, 5.25);
cylinder(3, 4.02, 4.02);... | glb/cad_155246ccb209.glb |
Create a linear E-steps calibration step cube consisting of five adjacent rectangular prisms. Each prism must have a base footprint of 20mm by 20mm. Arrange the prisms in a row along the X-axis, with each subsequent block starting where the previous one ends. Set the height of the first block to 5mm, the second to 10mm... | function car (v) = (len (v) == 0) ? [] : v[0];
function cdr (v) = (
(len (v) <= 1) ? [] :
[for (i = [1:len(v) - 1]) v[i]]
);
module stacked_cubes (size, heights_list)
{
if (len (heights_list) > 0) {
cube (concat (size, car (heights_list)));
translate ([size[0], 0])
stacked_cubes (... | glb/cad_ecb6ca3d8714.glb |
Create a shudder test model consisting of three stacked concentric cylindrical sections. Start with a base outer body that is a hollow cylinder with an outer radius of 22.05mm, an inner radius of 21mm, and a height of 10mm. Directly on top of this, place a joining section that is a hollow cylinder with a height of 10mm... | fin_width=1.05;
bodywidth=1.05;
bodyheight=10;
module outer_body(){
difference(){
cylinder(r=22.05,h=bodyheight,$fn=100);
cylinder(r=22.05-bodywidth,h=bodyheight,$fn=100);
}
}
module inner_tube(){
difference(){
cylinder(r=21,h=20,$fn=100);
cylinder(r=21-bodywidth,h=20,$fn=100);
}
}
module join(){
difference(){
... | glb/cad_be21f6e6d83f.glb |
Create a Chapter 28 Bird branding iron head by starting with a base cylinder that has a radius of 38.1 mm and a height of 6.35 mm. Centered on the top face of this cylinder, add a 2D bird silhouette extruded to a height of 6.35 mm. The final model should be a composite of these two elements, resulting in a flat, circul... | $fn = 200;
three_eigth_in = 9.525;
quarter_in = 6.35;
three_in = 76.2;
cylinder(r=three_in/2, h=quarter_in, center=true);
color([1,0,1]) translate([0,0,quarter_in-0.1])
linear_extrude(height = quarter_in, center = true, convexity = 10)
import (file = "bird.dxf"); | glb/cad_965d27515ffb.glb |
Create a Level 3 Menger Sponge, a fractal cube with a total outer dimension of 270mm x 270mm x 270mm. Begin by constructing a Level 1 unit: a 30mm cube where a 10mm square hole is punched through the center of each face, extending all the way through the object.
To create a Level 2 unit, arrange 20 of these Level 1 u... | module Menger_Sponge_Level_1()
{
L = 10;
union() {
difference() {
cube([3*L, 3*L, 3*L], center = true);
cube([L, L, 3*L], center = true);
cube([L, 3*L, L], center = true);
cube([3*L, L, L], center = true);
}
}
}
module Menger_Sponge_Level_2()
{
L2 = 30;
translate ([-L2,-L2,-L2]) union(){
... | glb/cad_9a7123183a75.glb |
Create a Turners Cube by starting with a solid cube measuring 100mm on all sides, centered at the origin. From this cube, remove a series of cylindrical holes along the X, Y, and Z axes to create a nested, concentric pattern of voids.
Along each axis, remove three pairs of cylinders. The first pair consists of two cy... | L = 100;
T = L/8;
D1 = 90;
D2 = 60;
D3 = 30;
X1 = L/2-T;
X2 = L/2-2*T;
X3 = L/2-3*T;
difference() {
cube ([L,L,L], center = true);
translate([0,0,X1]) cylinder (r = D1/2,h = T);
translate([0,0,X2]) cylinder (r = D2/2,h = T);
translate([0,0,X3]) cylinder (r = D3/2,h = T);
translate([0,0,-X1-T]) cylinder (r = D1/2,... | glb/cad_5e8587edfcba.glb |
Create a Magnetic Arm for a Rostock Max printer consisting of a central rod and two identical end connectors.
The central rod is a pentagonal prism with a radius of 5mm and a length of 258mm. At each end of this rod, create two holes for rivets: one horizontal hole with a radius of 1mm and one vertical hole with a ra... | magradius = 5.6;
magheight = 3.5;
magnets = 4;
real_mag_height = 3;
bbradius = 12.7/2;
rod_radius = 5;
shaft_radius = 5.7;
rivet_radius = 1.1;
v_rivet_radius = 1.1;
h_rivet_radius = 1.0;
tip_radius = 6.25;
layer_thickness = 1.0;
ball_gap = 1.0;
smooth = 128;
rod_sides = smooth;
sphere_offset = 0;
sphere_cone... | glb/cad_2cafaf5f4c56.glb |
Create a Customizable Miniquad GoPro & Mobius Mount consisting of two main components: a base and a wedge.
First, construct the base. Create a flat plate with a thickness of 3mm. The plate's footprint is defined by a hull connecting four circular corners: two at the front with a center-to-center distance of 30mm and t... | Parts_to_print = "Both";
angle = 25;
velcro_width = 18;
velcro_thickness = 3;
camera_depth = 20;
camera_height = 40;
front_cc = 30;
rear_cc = 36;
front_rear_cc = 49.5;
hole_size = 3.2;
screw_head_size = 6;
edge_thickness = 3;
base_thickness = 3;
margin = 0.4;
velcroSupportThickness = angle < 20 ? 3: 4;
mo... | glb/cad_9dc11f79a29d.glb |
Create a rotary encoder knob with a total height of 15mm and a diameter of 13mm. The main body is a cylinder with a slightly rounded top edge. At the center of the base, create a vertical hole for a 6mm shaft with a flat side. This central bore has a radius of 3.2mm and extends 10mm deep into the knob.
On the outer v... | Knob_Diameter=13;
Knob_Height=15;
Axis_Lenght=10;
Rounded=2;
Ajustment=0.2;
$fn=50;
difference() {
union() {
cylinder(r=Knob_Diameter/2,h=Knob_Height-Rounded);
translate([0,0,Knob_Height-Rounded]) cylinder(r=Knob_Diameter/2-Rounded,h=Rounded);
translate([0,0,Knob_Height-Rounded]) rotate_extrud... | glb/cad_9ca93a9ba520.glb |
Create a Printable Ball Bearing Upgrade consisting of two similar cylindrical holders. For each holder, start with a main cylinder that has a total height of 7.6mm and an outer radius of 12.05mm. Remove a central vertical hole with a radius of 10mm and a height of 7.6mm, starting from a height of 0.6mm from the base. A... | bearing_od = 22;
bearing_thickness = 7;
belt_width = 5;
belt_thickness = 3;
outer_face_height = 0.6;
extrusion_width = 0.5;
overlap_ratio = 0.15;
wall_thickness = extrusion_width * 2 - extrusion_width * overlap_ratio;
$fn = 64;
module outer() {
difference() {
union() {
cylinder(r=bearing_od / 2 + wall_thick... | glb/cad_396a748bb014.glb |
Create a Whiffle Ball geometric sculpture by starting with a centered cube with a side length of 90mm. From this main volume, remove a smaller centered cube with a side length of 80mm to create a hollow shell. Carve three cylindrical holes through the center of the object, each with a radius of 27.5mm and a height of 1... | difference() {
cube ([90,90,90], center = true);
cube ([80,80,80], center = true);
translate([0,0,-60]) rotate ([0,0,0]) cylinder (r = 27.5,h = 120);
translate([-60,0,0]) rotate ([0,90,0]) cylinder (r = 27.5,h = 120);
translate([0,60,0]) rotate ([90,0,0]) cylinder (r = 27.5,h = 120);
difference() {
... | glb/cad_fc2e4e1b17bf.glb |
Create a Mini Siren consisting of a central body, two spinning rotors, and two lids.
First, construct the central body. Create two mirrored sections, each featuring a rectangular block 21mm wide, 5mm deep, and 5.25mm high. Attach a cylinder with a radius of 10.5mm and a height of 5.25mm to the outer edge of each bloc... | leftpitch=0;
leftradiusIn=9.75+leftpitch;
leftradiusOut=10.50+leftpitch;
leftcenter=10.25+leftpitch;
leftslices=leftpitch*0.5;
rightpitch=0;
rightradiusIn=9.75+rightpitch;
rightradiusOut=10.50+rightpitch;
rightcenter=10.25+rightpitch;
rightslices=rightpitch*0.5;
move=size*0.5;
move2=2*leftpitch+2*rightpitch;
lid();
... | glb/cad_906cadce39d8.glb |
Create a screw isolator by starting with a base shape that combines a hexagonal prism and a rectangular block. Create a hexagonal prism with a height of 8.5mm and a flat-to-flat width of 12.8mm, but expand its outer boundary by adding a 2mm thick wall around the perimeter. Attached to one side of this hexagon, extend a... | nut_ht = 6.5;
nut_wd = 12.8;
nut_id = 6.5;
dia = 8;
thick = 2;
length = 48;
difference() {
union() {
cylinder(r=((nut_wd/2)/cos(180/6)+0.05)+2*thick, h=nut_ht+thick, $fn=6);
translate([0,-(dia+3*thick)/2,0])
cube([length+(dia/2),dia+3*thick, nut_ht+thick]);
}
translate([0,0,thick+1])
cylinder(r=(nut_wd/2)... | glb/cad_fb33da6dccf5.glb |
Create a Bowden push fitting locking clip with a total thickness of 2.35mm. The main body is based on a circular ring with an inner diameter of 5.2mm and a wall width of 2mm. This ring should have a gap of 4.5mm wide centered on one side to allow for insertion. To finish the shape, add two straight arms extending outwa... | inner_dia = 5.2;
width = 2;
opening_width = 4.5;
thickness = 2.35;
rounding_radius = 0.75;
color("PowderBlue")
ring();
module ring() {
linear_extrude(thickness) {
minkowski() {
union() {
difference() {
circle(d=inner_dia + 2*width - 2*rounding_radius, $fn=30);
translate([-o... | glb/cad_e7fefbd5fca8.glb |
Create an extruder lower block for a Deltaprintr with overall dimensions of 42.5mm in length, 22mm in height, and 17mm in thickness.
Start with a rectangular base and round the corners. On the top surface, create two mounting screw holes with a diameter of 4mm, each featuring a countersink with a diameter of 7.9mm. O... | use_teflon_tube = false;
body_length = 42.5;
body_thickness = 17;
body_height = 22;
fitting_dia = 9.75;
fitting_depth = 6.5;
fitting_x = 15.4;
fitting_z_fix = 0.0;
filament_hole_dia = 2.8;
filament_ridge_y = 20.25;
filament_tube_dia = 4.5;
bearing_dia = 10;
bearing_x = 9.75;
bearing_y = body_height - 0.25;
driv... | glb/cad_153677e88ff2.glb |
Create a Pac-Man ghost figure. Start by constructing a hollow cylindrical body with an outer diameter of 30mm, an inner diameter of 28mm, and a height of 30mm. Cap the top of the cylinder with a hemispherical dome that shares the same 30mm outer diameter and 28mm inner diameter.
At a height of 22.5mm from the base, cr... | $fn = 30 ;
outer_diameter = 30 ;
inner_diameter = 28 ;
height_body = 30 ;
eye_diameter = 5 ;
eye_angle = 45 ;
eye_height = height_body * 3 / 4 ;
skirt_size = 8 ;
skirt_number = 8 ;
head_hole = false ;
head_hole_diameter = 5.2 ;
difference() {
cylinder (h = height_body, r = outer_diameter/2) ;
translate ([0,0,-0... | glb/cad_ac4c5581df4f.glb |
Create a Pacman Ghost figure based on a diameter of 25mm. Start by forming the main body from a cylinder with a diameter of 25mm and a height of 16.25mm, topped with a hemisphere of the same 25mm diameter.
Carve two spherical eyes into the upper front of the model, each with a diameter of approximately 7.14mm, positi... | diameter = 25;
height = diameter*0.65;
key_chain = 0;
led_Hole = 0;
$fn=100;
rotate([0,0,-90])
difference() {
union() {
cylinder(d = diameter, h = height);
translate([0, 0, height]) sphere(d = diameter);
if (key_chain == 1) {
translate([0, 0, height+diameter/2])
rotate([0, 90, 0])
... | glb/cad_df74711f8352.glb |
Create a customizable shelf tab consisting of a cylindrical spoke and a supporting tab. First, create a vertical cylinder with a radius of 3.05mm and a total height of 42mm. Then, create a second, wider cylinder with a radius of 10mm and a height of 30mm, positioned so that its base is flush with the base of the first ... | rad=3.05;
hs=12;
rt=10;
ht=30;
$fn=100;
union(){
translate([-rad,0,0])cylinder(r=rad,h=hs+ht);
difference(){
cylinder(r=rt, h=ht);
translate([0,-rt,-1])cube([2*rt+2,2*rt+2,hs+ht]);
}
} | glb/cad_5090b7a3dbc6.glb |
Create a tripod mount adapter designed to hold a cylindrical object with a diameter of 27.4mm. Start with a rectangular base 37.4mm wide, 40mm deep, and 6mm high. Centered on this base, build a semi-cylindrical holder with an outer diameter of 33.4mm and a depth of 40mm. The holder should have a central bore of 27.4mm ... | include <Thread_Library.scad>;
function inches_to_mm(inches) = 25.4 * inches;
module bsw(length, diameter, tpi)
{
pitch = inches_to_mm(1) / tpi;
angle = 27.5;
height_to_pitch = 0.64;
trapezoidThread(
length=length,
pitch=pitch,
pitchRadius=diameter / 2,
... | glb/cad_9015f156d87f.glb |
Create a filament guide for an extruder. Start by constructing a main body that combines a 16-sided prism cylinder with a height of 10mm and a radius of 4mm, joined to a rectangular block measuring 8mm wide, 6mm deep, and 10mm high. Attached to this block is a flat plate extending 22mm outward with a thickness of 3mm a... | filament_feed_hole_d=2;
m4_diameter= 2;
guide_height = 10;
guide_from_screw = 6;
guide_m4_d_cheat = m4_diameter * 2;
lock_height= 10;
module wadeguide()
{
difference() {
union() {
cylinder(h = guide_height, r=guide_m4_d_cheat/2 +2, $fn=16);
translate([-guide_m4_d_cheat/2-2,0,0]) cube([guide_m4_d_cheat+4,guide... | glb/cad_5aa7946d0bb6.glb |
Create a Customizable Molecular Modeling Set consisting of atom cores and electron connectors.
To create an atom core, start with a cylinder 2mm thick with a diameter of 10mm (half the atom size of 20mm). Rotate this cylinder 90 degrees on the Y-axis. Carve the chemical element's symbol (e.g., "H" for Hydrogen) into ... | type="Atom";
element=1;
atom_size=20;
electron="Lone Pair";
bond_length=30;
$fn=36;
{element_data=[
[0, "", "", ""],
[1, "H", "Hydrogen", "single"],
[2, "B", "Boron", "trigonal planar"],
[3, "C", "Carbon", "tetrahedral"],
[4, "N", "Nitrogen", "tetrahedral"],
[5, "O", "Oxygen", "tetrahedral"],
[6, "X", "Halogen", "t... | glb/cad_4397a903f145.glb |
Create a Book Shelf Keychain consisting of a series of stylized book shapes and a keyring loop. Each book is 7mm wide. The main body of each book is a rectangular prism 3mm wide, 5mm deep, and 13mm high. Add decorative elements to each book: two small rectangular slabs 0.5mm thick positioned at the top and bottom (at z... | text = "TNH";
text_style = 1;
keychain_loop = "Yes";
use <write/Write.scad>
use <utils/build_plate.scad>
$fn=24;
function substring(string, start, length) = length > 0 ? str(string[start], substring(string, start + 1, length - 1)) : "";
module bookShape(bookheight) {
cube([3, 5, bookheight], center=true);
transl... | glb/cad_d5d0578fa4bb.glb |
Create a half-flange for a bean bag game by constructing a semi-circular ring with a specific stepped profile. Start with a large semi-cylinder that has an outer diameter of 200mm and a height of 2mm. From the center of this shape, remove a smaller semi-cylindrical core with a diameter of 150mm to create a curved wall ... | ID=150;
OD=200;
edgeht=10;
thickness=2;
ODrad= OD/2;
IDrad= ID/2;
innerrad= IDrad+thickness;
intersection(){
translate([-ODrad-15,-OD-30,0]) cube(OD+30,OD+30,OD+30);
difference() {
union(){
cylinder(thickness, ODrad, ODrad);
cylinder(edgeht, innerrad, innerrad);
}
translate([0,0,-10]) cylind... | glb/cad_27791c10c83a.glb |
Create a travel shampoo drainer consisting of a thin circular plate with a decorative hexagonal cutout pattern and small hemispherical feet.
Start with a cylinder that has a radius of 30mm and a height of 2mm. From this disc, remove a series of hexagonal prisms to create a lattice. Each hexagonal hole should be based... | plate_thickness = 2;
hex_pitch = 4.75;
wall_thickness = 2;
disc_radius = 30;
unit_i = [cos(150)*hex_pitch, sin(150)*hex_pitch];
unit_j = [cos(30)*hex_pitch, sin(30)*hex_pitch];
module hexagon (width,thickness)
{
intersection ()
{
cube([width*2, width,thickness],center=true);
rotate(a=[0,0,120]) cube... | glb/cad_967cf46da47f.glb |
Create a stove push button consisting of a domed head and a narrow stem. Start by creating a cylindrical stem with a diameter of 3.5mm and a total height of 26.5mm. At the bottom of this stem, add a conical tip that transitions from the 3.5mm stem diameter down to a 2.5mm diameter over a height of 2.5mm.
Carve a notc... | a_bit=0.1;
max_diameter=11;
max_height=29;
stem_diameter=3.5;
notch_height=6;
notch_diameter=2.5;
notch_distance_from_tip=3;
tip_height=2.5;
tip_diameter=2.5;
dome_diameter=80;
button_height=3;
button_diameter=max_diameter;
union(){
difference(){
translate(v=[0,0,tip_height]) union(){
cylinder (r=stem_diameter... | glb/cad_00a035d8232b.glb |
Create a custom typewriter key cap. Start by constructing the main head as a rounded disc with a total diameter of 17mm and a thickness of 4.25mm. The profile of this head is formed by a central cylinder with a diameter of 12.75mm and a height of 2.125mm, topped with a torus-like ring that has a cross-sectional diamete... | TEXT="TURBO";
TEXT_FONT="orbitron.dxf";
TEXT_SCALE=1;
BUTTON_THICKNESS = 4.25;
BUTTON_DIAMETER = 17;
SUPPORT_HEIGHT = 4;
SUPPORT_DIAMETER=5;
SUPPORT_GAP=1.30;
EPSILON=0.001;
QUALITY=100;
use <Writescad/write.scad>
TEXT_SPACE = BUTTON_DIAMETER-BUTTON_THICKNESS;
function text_size(text) =
(len(text) <= 3 ? ... | glb/cad_8786db9c0964.glb |
Create a Y-Axis Upgrade for LaserCut Mendel. Start with a central rectangular clip that is 23mm wide, 34mm long, and 19mm high. Hollow out the center of this clip to accommodate a bearing with a diameter of 15mm and a length of 24mm; specifically, remove a cylinder of 7.5mm radius and a central rectangular block of 13m... | railSeparation = 157+8;
bedMountSeparation = 220;
frogMountSeparation = 22;
bedMountOffset = (bedMountSeparation - railSeparation) / 2;
bearingDiameter = 15;
bearingLength = 24;
wallThickness = 4;
floorThickness = 6;
assemblyHeight = 20;
railHeight = (assemblyHeight - 1) - (bearingDiameter / 2);
clipHeight = rail... | glb/cad_d74494443e94.glb |
Create a mold for rubber feet by starting with a rectangular base block measuring 31mm by 31mm with a total height of 8mm. In the center of this block, carve out a cylindrical cavity with a diameter of 25mm and a depth of 6mm.
Inside this cavity, create a central raised cylindrical pillar with a diameter of 3.2mm and... | de = 0.1;
fn_hole = 12;
P1 = 25;
P2 = 11;
P3 = 3.2;
P4 = 6;
P5 = 4;
P6 = 10;
P7 = 2;
P8 = 2;
P9 = 5;
P10 = 4;
P21 = 1;
P22 = 1;
P23 = 3;
P24 = 2;
difference()
{
MouldBase();
translate([P1/2+P23, P1/2+P23, de])
FeetMatrix();
}
if (show_positive)
{
translate([0, 0, -30])
Foot();
}
module MouldBase... | glb/cad_d9ee9a0f4c59.glb |
Create a Parametric Fit Test Plate by starting with a rectangular solid block that is 3mm thick, with a total length of 35mm and a total width of 35mm. Within this block, create a 5x5 grid of 25 circular holes that pass completely through the thickness of the plate. The holes should be arranged in 5 rows and 5 columns,... | numRows = 5;
numCols = 5;
startDiam = 0.25*25.4-0.5;
diamInterval = 0.1;
holeSpacing = 2;
blockHeight = 3;
maxDiam = startDiam+(numRows*numCols-1)*diamInterval;
gridSide = maxDiam+2*holeSpacing;
totalLength = numRows*gridSide;
totalWidth = numCols*gridSide;
difference ()
{
cube([totalLength,totalWidth,blockHeight]);... | glb/cad_ac79f61222e6.glb |
Create a TrackIR 5 holder clip consisting of a central horizontal support bar and two symmetrical vertical arms.
Start with a central rectangular bar measuring 51.5mm in length, 15mm in width, and 2mm in thickness. Remove three cylindrical holes from this bar, each with a radius of 5mm and a height of 4mm; position o... | rotate(a=[90, 0, 0])
{
TrackIR5Clip(1, 0, 1);
}
module TrackIR5Clip(hole_left, hole_center, hole_right)
{
translate(v=[0, -7, 0])
{
union()
{
support(l = hole_left, c = hole_center, r = hole_right);
Arm();
mirror([1,0,0])
{
Arm();
}
}
}
}
module support(l, c, r)
{
difference()
{
cube... | glb/cad_611314edfbe2.glb |
Create a surfboard fin plug housing. Start with a main outer cylinder 28mm in diameter and 22mm in height, centered on the origin.
Subtract a smaller concentric cylinder from the top face with a diameter of 24mm and a depth of 3.5mm to create a shallow recessed lip. Within the main body, carve out a rectangular centr... | cylinder_diameter = 28;
cylinder_depth_outer = 22;
cylinder_diameter_cut = 24;
cylinder_depth_cut = 3.5;
inner_cube_length = 16;
inner_cube_width = 6.5;
inner_cube_depth = 23;
poly_variable = 4*1;
locating_width = 3;
locating_length = 38;
grub_diameter = 3.5;
grub_height = 22;
fin_cant = 5;
union(){
complete_hou... | glb/cad_4596955156b8.glb |
Create a poker chip with a total diameter of 40mm and a thickness of 3.5mm. The main body is a cylinder with a 60-facet resolution. The top and bottom faces feature a slight inset: create a 1mm thick cylindrical layer at the base and a 1mm thick cylindrical layer at the top, both with a radius 0.25mm smaller than the m... | use <write/Write.scad>
part = "single";
CasinoName="Sky Trail Poker ";
CasinoNameHeight=7.1;
CasinofontName="write/Letters.dxf";
ChipValue=100;
ValueHeight=12;
ValuefontName="write/Letters.dxf";
Diameter=40;
Thickness=3.5;
width=175;
if (part == "dual") {
fillcolor();
} else if (part == "single") {
maincolor(... | glb/cad_f96488c85672.glb |
Create a spool holder housing by starting with a conical base that has a height of 20mm, a bottom radius of 15mm, and a top radius of 28mm. Bore a central vertical hole through the entire height of the cone with a constant radius of 3.5mm. Inside the cone, create a cylindrical cutout with a radius of 9.25mm and a heigh... | rad_1 = 28;
rad_2 = 15;
hight = 20;
rad_rod = 9.25;
rad_eje = 3.5;
difference (){
color ("red")cylinder(h=hight,r1=rad_2,r2=rad_1);
translate([0,0,-1])
color ("red")cylinder(h=hight+3,r1=rad_eje,r2=rad_eje);
translate([0,0,14])
color ("red")cylinder(h=7,r1=rad_rod,r2=rad_rod);
for ( i = [0 : 3] )
{
rotate( i * 360 / 3... | glb/cad_b1620e6339aa.glb |
Create a microswitch endstop holder. Start with a base shape composed of a cylinder with a radius of 7.3mm and a height of 10mm, merged with a rectangular block of 15.5mm by 14.6mm by 10mm centered on the cylinder, and a second rectangular block measuring 35mm by 4mm by 10mm extending from the side.
Cut a rectangular... | include <configuration.scad>
module endstop(){
outer_diameter = m8_diameter/2+3.3;
screw_hole_spacing = 10;
opening_size = m8_diameter-1.5;
difference(){
union(){
translate([outer_diameter, outer_diameter, 0]) cylinder(h =10, r = outer_diameter, $fn = 20);
translate([outer_diameter, 0, 0]) cube([15.5,outer_diam... | glb/cad_56f62f77dae1.glb |
Create a Portabee fan and motor wire holder arm. Start by forming a base using a 20mm by 20mm by 4mm cube. Attach a second rectangular arm to this base, measuring 40mm long, 5mm wide, and 4mm thick, extending outward at a 40-degree angle relative to the base's X-axis. At the far end of this arm, add a cylinder with a r... | difference() {
union() {
cube([20,20,4]);
rotate([0,0,-40]) cube([40,5,4]);
translate([0,2.5,2]) rotate([0,0,-40]) translate([42,0,0]) cylinder(h = 4, r=6, center = true, $fs=.01);
}
translate([2,2,2]) cube([20,20,2.1]);
translate([9.3,9.3,2]) cylinder(h = 10, r=2.2, center = true, $fs=.01);
translate([0,2.... | glb/cad_1c8c8e616079.glb |
Create a Portabee extruder cooling fan frame. Start with a base rectangular plate 36mm wide, 15mm deep, and 3mm thick, positioned from x=2 to x=38. From this base, remove a central rectangular cutout 10mm wide and 27mm deep, extending from x=15 to x=25 and z=-2 to z=8.
Add a second rectangular block 25mm wide, 18mm d... | difference() {
union() {
difference() {
translate([2,0,0]) cube([36,15,3]);
translate([5.5,3.5,1.5]) cylinder(h = 5, r=1.8, center = true, $fs=.01);
translate([34.5,3.5,1.5]) cylinder(h = 5, r=1.8, center = true, $fs=.01);
translate([20,-14,1.5]) cylinder(h = 5, r=20, center = true, $fs=.01);
}
tran... | glb/cad_f9ca8048079d.glb |
Create a two-part protective case for an MKS 1.3" OLED screen. The overall external dimensions are based on a PCB size of 62mm by 40mm, with a total case height of 28.4mm.
For the main body, create a hollow rectangular shell with wall thicknesses of 1.2mm for the sides and 2.0mm for the top. On the top surface, center... | f=100;
pcb_length = 62;
pcb_height = 40.0;
horizontal_screw_distance = 57.0;
vertical_screw_distance = 34.8;
screw_hole_diameter = 2.7;
distance_from_oled_to_pcb = 5.7;
pcb_thickness = 1.65;
screw_hole_pin_length = distance_from_oled_to_pcb+pcb_thickness;
side_wall_thickness = 1.2;
top_wall_thickness = 2.0;
case_int... | glb/cad_642ad42c1c34.glb |
Create a screwdriver holder consisting of a main body and a mounting backplate. The main body is formed by combining a rectangular block and a half-cylinder. The block measures 34mm wide, 22.5mm deep, and 30mm high. Attached to the front face of this block is a half-cylinder with a radius of 17mm and a height of 30mm, ... | shaft_diameter =10;
lower_handle = 30;
max_handle = 45;
holder_thickness =2;
holder_bottom =3;
holder_height =30;
$fn=30;
difference()
{join()
{cube([lower_handle+holder_thickness*2,max_handle/2,holder_height]);
translate([lower_handle/2+holder_thickness,max_handle/2,0])
cylinder(r=low... | glb/cad_9cd76b943153.glb |
Create a reversible battery status tag measuring 46.6mm in width, 16.9mm in depth, and 4mm in total thickness. The main body consists of two stacked rectangular plates, each 2mm thick.
In the center of the tag, create a rectangular cutout to serve as a connector. This opening must be 17.5mm wide and 10.9mm deep, with... | use <write/Write.scad>
tagWidth = 46.6;
tagThickness = 4;
edgeGap = 3;
connectorCornerRadius = 2;
connectorDepth = 10.9;
connectorWidth = 17.5;
connectorOffset = 7.36;
tagDepth = connectorDepth + edgeGap * 2;
labelFont = "orbitron.dxf";
labelDepth = 2;
labelHeight = 10;
$fa = 6;
$fs = 0.5;
difference() {
union() ... | glb/cad_95563bf5c581.glb |
Create a customized pen holder by constructing a long, thin rectangular body with a total length of 130mm and a thickness of 8mm. Along the top surface, extrude the text "BrandonW6" using a blocky, 8-bit pixel font scaled by a factor of 2.1. The letters should be integrated into the main body, which has a height of 7.2... | use <MCAD/fonts.scad>
word = "BrandonW6";
font_scale = 2.1 ;
font_spacing = 0.81;
pen_inner_diameter = 4.3 *1;
pen_inner_radius = pen_inner_diameter / 2;
pen_length = 130;
pen_thickness = 8*1;
module penword()
{
thisFont=8bit_polyfont();
x_shift=thisFont[0][0] * font_spacing;
y_shift=thisFont[0][1];
theseIndi... | glb/cad_b09747a18d15.glb |
Create an adjustable grinder rest consisting of two mirrored components. Each component is composed of a mounting block and an adjustable slide.
The mounting block is a rectangular prism measuring 78mm in width, 12mm in thickness, and 8mm in height. It features two circular mounting holes with a radius of 2.25mm, each... | baseW=78;
baseH=8;
baseT=12;
minWallT=4;
MHoleRad=2.25;
MHoleFEdge=8;
axleRad=5.06;
axleOffset=90/2;
adjT=5;
adjAngle=40;
adjHoleRad=1.6;
module mountingBlock(leftOrRight)
{
difference()
{
cube([baseW,baseT+adjT,baseH]);
if(leftOrRight=="right")
{
translate([MHoleFEdge,baseT/2+adjT,-0.05]) cylinder(r=MHole... | glb/cad_be816bdf09e2.glb |
Create a seat release handle consisting of three stacked layers. The base layer is a rectangular plate with a total width of 49.14mm and a depth of 20.3mm, with a thickness of 2mm. Centered within this base layer, remove a rectangular slot measuring 8.54mm by 7.1mm and 2mm deep.
On top of the base, add a second layer ... | bx1 = 47.14;
bx2 = bx1 - 12.53;
by1 = 12.3;
by2 = 15.3;
bz = 3;
cr = 3;
th1 = 2;
th2 = 3;
dth1 = th1 * 2;
dth2 = th2 * 2;
hx = 38.14 - 29.6;
hy = (by2 / 3) + 2;
module layer1()
{
lx1 = bx1 + th2;
lx2 = bx2 + th2;
ly1 = by2 + dth2;
ly2 = by1 + dth2;
difference()
{
union()
{... | glb/cad_32eddfc5b7f3.glb |
Create a rectangular block measuring 22mm wide, 29mm deep, and 19mm high. Remove a horizontal cylindrical tunnel from this block with a diameter of 24.5mm; the tunnel should be centered along the depth axis and positioned such that its center is 17mm above the base, extending completely through the 22mm width. Centered... | safeholes = 0.5;
difference(){
cube([22,29,19]);
translate([0,29/2,-24+19-2]){
rotate([0,90,0])translate([-12,0,0])cylinder(d=24+safeholes,h=23);
}
}
translate([22/2,29/2,19]) {
difference(){
up = 1;
cylinder(d=17,h=36);
translate([0,0,up])cylinder(d=12+safeholes,h=36-up);
}
} | glb/cad_d42c91edf486.glb |
Create a Soap Drainer Booster by starting with a solid rectangular block measuring 35mm wide, 50mm long, and 10mm high. Carve out a large, centered elliptical void from the top and bottom of the block, leaving a wall thickness of 5mm around the perimeter. Within this central void, cut six equidistant, parallel slots ac... | xw = 0.25;
dw = 35;
dl = 50;
dh = 10;
gw = 3;
sw = 5;
ng = 6;
rotate([0,0,90]) difference(){
translate([0,0,-dh/2]) cube([dw,dl,dh], center = true);
scale([(dw-xw-sw)/10,(dl-xw-sw)/10,(dh-xw)*1.5/10]) sphere(r=5, $fn = 40);
for(i = [(-dl/2+sw):(dl-sw*2)/ng:(dl/2-sw+xw)])
translate([0,i,-dh/2]) rotate([0,-90,0])
... | glb/cad_8b0f2139c143.glb |
Create a webcam mount consisting of a flat rectangular base and a raised U-shaped cradle. Start by creating a base plate that is 65mm wide, 22mm deep, and 2mm thick. On top of this base, construct a cradle to hold the camera. The cradle's side walls should each be 2mm thick and 20mm high, positioned at the outer edges ... | base_x = 65;
base_y = 10;
base_z = 2;
riser_gap = 6;
riser_z = 20;
cube( [ base_x, base_y, base_z ] );
translate( [ 0, base_y, 0 ] )
cube( [ base_x, base_z + riser_gap + base_z, base_z] );
translate( [ 0, base_y, 0 ] )
cube( [ base_z, base_z + riser_gap + base_z, base_z + riser_z ] );
translate( [ base_x - base_... | glb/cad_5cb4121ba0a9.glb |
Create a Double Jointed Finger Brace consisting of two elliptical rings connected by a central cylinder. First, construct a proximal ring with an inner diameter of 22mm and a wall thickness of 3mm. The cross-section of this ring should be an ellipse with a width-to-thickness ratio of 2:1, making the ring 6mm wide. Seco... | Dproximal = 22;
Dmiddle = 19;
ring_thickness = 3;
width_ratio = 2;
ring_angle = 60;
$fn = 50;
translate([0,0,(ring_thickness*width_ratio)/2]) {
translate([(Dproximal + ring_thickness)/2,0,0]) {
rotate_extrude() {
translate([(Dproximal + ring_thickness)/2,0,0]) {
scale([1,width_... | glb/cad_6d0b8d944d7a.glb |
Create a set of threaded rod braces for a 1515 OpenBeam frame. The assembly consists of two types of blocks: a main block and a top block.
The main block is a composite shape formed by a 4mm x 30mm x 44mm rectangular prism joined with a 15mm x 30mm x 22mm prism. The top block is a 4mm x 30mm x 15mm rectangular prism j... | use <frame_motor.scad>;
use <frame_top.scad>;
use <frame_top.scad>;
include <nutsnbolts/cyl_head_bolt.scad>;
side_length = 360;
height = 750;
top_offset = height - 15;
top_beam_offset = top_offset - 8;
block_width = 40;
w = side_length - block_width / 1.2;
h = top_offset;
bar_length = sqrt(pow(w, 2) + pow(h,2));
angl... | glb/cad_35b1e797f7e6.glb |
Create a cabinet door slide holder consisting of a base block and an upper sliding sleeve. Start with a rectangular base block measuring 34mm wide, 51mm long, and 13mm high. Carve a central rectangular void out of the top of this base, measuring 24mm wide, 51mm long, and 10mm deep, leaving a wall thickness of 5mm on ea... | lx=34;
ly=51;
lz=13;
l2x=24;
l2y=51;
l2z=10;
ux=lx;
uy=14;
uz=45;
u1x=20;
u1y=3;
u1z=uz;
u2x=26;
u2y=10.25;
u2z=uz;
screwd = 4.5;
slotlen = 16;
slotoffsety = 11.6;
difference()
{
cube([lx, ly, lz]);
translate([(lx-l2x)/2, 0, 0])
cube([l2x, l2y, l2z]);
hull()
{
for (y=[0,1])
... | glb/cad_84d886dd8e59.glb |
Create a "new birdie2" object by generating a series of 50 stacked, thin rectangular slices. Each slice should start with dimensions of 2mm by 20mm by 0.33mm, centered on the X and Y axes. As you stack these slices vertically every 1mm along the Z-axis, incrementally increase their scale and rotate each subsequent slic... | lsz=[3,2];
ht=1;
spread=3;
rot=2;
module slice() {
cube ([lsz[1]/1.5,lsz[1]*10,lsz[1]/6], center=true);
}
module item() {
for (i=[0:49]) {
hull() {
translate([0,0,ht*i])
rotate([rot*i,rot*i,rot*i/2])
scale ([1+i/100,1+i/10,1])
slice();
translate([0,0,ht*(i+1)])
rotate([rot*(i+1),rot*(i+1),rot*(i... | glb/cad_50904dca0791.glb |
Create a potty seat hook consisting of a base mounting plate and an integrated hook. Start with a rectangular base that is 25mm wide, 4mm thick, and 30mm tall. At the top of this base, create an L-shaped hook by adding a horizontal arm extending 15mm from the wall and a vertical lip rising 15mm from that arm; the entir... | $fs = 2*1;
$fa = 2*1;
wall_width = 25;
wall_depth = 4;
hook_depth = 15;
hook_lip = 15;
anchor_height = 30;
screw_diameter = 4;
screw_r = screw_diameter / 2;
screw_flange = 0;
sqrt2 = sqrt(2);
cube([hook_depth, wall_depth, wall_width]);
translate([hook_depth, wall_depth-hook_lip, 0])
cube([wall_depth, hook_lip... | glb/cad_42a475dc3270.glb |
Create a Decorated Paper Weight by constructing a 6-truncated triakis tetrahedron. Rotate this primary polyhedral volume by 45 degrees on the X-axis and approximately 19.47 degrees on the Y-axis.
To decorate the surface, add embossed geometric figures—including suns, stars, and fish—positioned on the faces of the pol... | use <plaque.scad>
letter_height = 2;
scale(1.5)
difference()
{
rotate([45,(acos(1/3))/2,0])
difference()
{
scale([15,15,15])
union()
{
polyhedron(TTT_cords,TTT_faces);
polyhedron(TTT_cords_2,faces_three);
scale([1/15,1/15,1/15])
union()
{
sun1y( 1.18821, 1.18821, 1.18821,0,0,-90,10);
star3x( 0.57352... | glb/cad_a1310c448a37.glb |
Create a base for a decorated paper weight by combining a hexagonal prism and a cylinder. First, construct a regular hexagonal prism centered at the origin with a side length of 27.25mm and a total height of 2mm. On top of this hexagonal base, center a cylinder with a radius of 13mm and a height of 6mm. Position the cy... | union()
{
translate([0,0,3])
cylinder (r=13,h=6,center=true,$fn=64);
linear_extrude(height=2)
hexagon(27.25);
}
module hexagon (l)
{
rr = sqrt((l*l)/(2-2*cos(60)));
polygon([
[ rr,0 ],
[ cos(60)*rr,sin(60)*rr],
[ cos(120)*rr,sin(120)*rr],
[ cos(180)*rr,sin(180)*rr],
... | glb/cad_fc07a1f30368.glb |
Create a Decorated Paper Weight by constructing a truncated triakis tetrahedron. Scale the overall geometry by a factor of 1.5. The main body is formed by the union of two polyhedra based on the truncated triakis tetrahedron coordinates, scaled by 15.
To decorate the surface, add several embossed geometric ornaments p... | use <plaque.scad>
letter_height = 2;
mark = 2;
if (mark==1)
scale(1.5)
difference()
{
rotate([45,(acos(1/3))/2,0])
difference()
{
scale([15,15,15])
union()
{
polyhedron(TTT_cords,TTT_faces);
polyhedron(TTT_cords_2,faces_three);
}
decorate_sides();
}
translate([0,0,-20])
cylinder(r=9,h=20,center=true,$fn=32);... | glb/cad_43a88e5d66dc.glb |
Create a Laundry Rack Repair Kit consisting of a frame clamp and a wire clamp.
First, create the frame clamp as a cylinder with a length of 13mm and a radius of 9mm. Remove a concentric inner cylinder with a diameter of 14.7mm to create a tube. Cut a notch out of the bottom of this tube at a 15-degree angle to allow ... | lrDiaFrame = 14.7;
lrDiaWire = 3.3;
clFrameLen = 13.0;
clFrameAsymmetric = 1;
clCutoutRest = 1.0;
clCutoutAngle = 15.0;
clCutoutChamferOffsZ = 2.0;
wcLen = 40.0;
wcDia = 7.8;
wcBlockHeight = 10.0;
wcOffsetY = -lrD... | glb/cad_c3c19988f502.glb |
Create a Universal Spindle and Laser Mount with a total width of 80mm, a height of 22mm, and a thickness of 15mm. The main body is a flat plate with a symmetrical, stepped profile. Starting from the bottom corners, the outer edges rise to the full height of 22mm. From these outer edges, the top surface drops down 7mm o... | width = 80;
height = 22;
thickness = 15;
boltSectionWidth = 12;
angleSectionHeight = 7;
angleSectionWidth = 13;
middleBoltSpacing = 20;
middleSectionHeight = 5;
middleSectionWidth = width-2*boltSectionWidth-2*angleSectionWidth;
points = [[0,0], [width,0], [width,height], [width-boltSectionWidth,height], [width-boltSe... | glb/cad_77b40f44a887.glb |
Create a half-mug toothbrush holder by first constructing a full coffee mug and then bisecting it. To build the full mug, create a hollow cylinder with an outer radius of 41mm and a wall thickness of 4mm. The cylinder should have a total height of 115mm, with the bottom edge rounded to a radius of 10mm. The top rim sho... | $fn = 60;
cornd=10;
ovrht = 115;
cupwd = 41;
cupwal = 4;
handlr = 5.25;
cornerd = min(cornd,cupwd/2);
cupht = ovrht - cornerd - cupwal*.5;
module cupprim(h1,r1,rc) {
cylinder(h1,r1,r1); rotate_extrude (convexity=10) translate ([r1-rc,0,-rc/2]) circle (r=rc); translate ([0,0,-rc]) cylinder(rc,r1-rc,r1-rc);
}
mod... | glb/cad_e52c9099a99a.glb |
Create a trash can model by first constructing a circular base that is 100mm in diameter and 10mm thick. On top of this base, add a vertical wall that is 95mm high, formed by rotating a 5mm diameter circle around the center at a radius of 45mm. To complete the structure, create a spiral pattern consisting of 36 vertica... | can_base();
spiral();
module can_base(){
rotate_extrude(){
square([50,10]);
translate([45,95,0])
circle(5);
}
}
module spiral(){
for(r=[0:(360/10):360]){
rotate([0,0,r])
linear_extrude(height=95, twist=360)
translate([45,0,0])
... | glb/cad_457b7b2d766a.glb |
Create a customizable wire spool consisting of two identical circular components. Each component starts with a main outer flange that is 50mm in diameter and 1mm thick. Centered on this flange, add a concentric inner cylinder with a diameter of 18mm and a total height of 11mm. This creates a winding area between the in... | part = "both";
big_diameter = 50;
flange_thick = 1;
cylinder_diameter = 20;
winding_thick = 10;
gaps_width = 1;
cut_diameter = 0;
$fa=5; $fs=0.75;
Clearance = 0.2;
big_radius = big_diameter/2;
small_radius = (cylinder_diameter-flange_thick*2)/2;
cut_radius = cut_diameter/2;
output();
module output()
{
if ... | glb/cad_3b215379d42b.glb |
Create a Filament Organizer designed to fit a 160mm diameter spool. Start by constructing the spool base, which consists of two flat discs with a radius of 80mm and a height of 4mm, positioned 88mm apart. Connect these discs with a central cylinder that has a radius of 29mm and a height of 92mm.
Build three identical ... | $fn=50;
module spool()
{
cylinder(r=80,h=4);
cylinder(r=29,h=92);
translate([0,0,88])
cylinder(r=80,h=4);
}
module spool_organizer()
{
difference()
{
union()
{
cylinder(r=31,h=84);
for(i=[19.5,41,62.5])
{
translate([0,0,i])
cylinder(r=80,h=2);
}
}
translate([0,0,-1])
cylinder(r=2... | glb/cad_8355ffd16ed7.glb |
Create a Kort Nozzle with a MARIN 37 profile by revolving a specific cross-section. First, generate the main nozzle body by rotating a profile based on the MARIN 37 specifications around a central axis, scaled by a factor of 3.1, to create a hollow, symmetrical cone-like shroud. The resulting shape should be a smooth, ... | union () {
scale(31.0/10.0)scale(10/56.1)rotate_extrude(file = "kort37profile.dxf", height = 10, center = false, $fn=100);
difference() {
translate([52,-25,0])cube([20,50,5], center=false);
translate([62,10,-5])cylinder(h=15,r=2.5,$fn=20);
translate([62,-10,-5])cylinder(h=15,r=2.5,$fn=20);
}
differe... | glb/cad_8230be8bfee4.glb |
Create a Tommy Bar Holder consisting of a hollow rectangular container with integrated mounting hooks. Start by creating a main outer block with a width of 20mm, a depth of 15mm, and a height of 44.5mm. Hollow out the center to create a rectangular hole that is 15mm wide, 10mm deep, and 39mm high, leaving a wall thickn... | $fn=30;
hole_width = 15;
hole_depth = 10;
hole_height = 39;
hook_width = 10;
hook_depth = 5;
hook_height = 15;
wall_thickness = 2;
3dwall_thickness = 2.5;
tolerance_gap = 0.5;
holder_width = hole_width + 2*3dwall_thickness;
holder_depth = hole_depth + 2*3dwall_thickness;
holder_height = hole_height + 3dwall_thickn... | glb/cad_27d88270f02d.glb |
Create an E3D Hotend Mount by starting with a rectangular base measuring 60mm in length, 25mm in width, and 9mm in height. At the center of this base, create a large circular cutout with a radius of 19.5mm. Within this central area, remove a vertical cylinder with a radius of 6.1mm and a height of 25mm to accommodate t... | difference(){
translate([0,0,0]) {
color([0,1,0]){
cube([60,25,9]);
translate([30,12.75,0]){
cylinder(11,r=19.5);
cylinder(9,r1=19,r2=22);
}}}
translate([30,12.75,-15]){
E3DHead();
}
}
module E3DHead(){
union() {
color([0.9,1,0])
... | glb/cad_a0655716381e.glb |
Create a French Horn Mouthpiece with a total length of 70mm. The object is a rotationally symmetrical piece centered around a vertical axis.
Start by forming the cup at the top. The outer rim has a maximum diameter of 16.21mm and a width of 3.8mm, with a rounded profile defined by a radius of approximately 1.84mm. Th... | CupDiameter=16.21;
CupDepth=29.5;
CupSphereFactor=0.2;
RimWidth=3.8;
RimShape=0.96;
RimRadius=RimShape*RimWidth/2;
ThroatRadius=0.9549295;
ThroatDiameter=4.62;
BackPipeDiameter=7.7;
FrontPipeDiameter=BackPipeDiameter+3;
BoreDiameter=BackPipeDiameter-1.5;
MouthPieceLength=70;
PrintingFootHeight=0;
MakeMouthPie... | glb/cad_b879f218597c.glb |
Create a clutch alignment tool consisting of two stacked splined cylinders and a pilot tip. Start with a bottom splined section that is 80mm long, with a major diameter of 35mm and a minor diameter of 27.5mm, featuring 12 evenly spaced splines. Directly on top of this, add a second splined section that is 60mm long, wi... | spline_major=35;
spline_minor=27.5;
spline_count=12;
spline_length=80;
spline2_major=48;
spline2_minor=41.5;
spline2_count=16;
spline2_length=60;
pilot_diam=25;
pilot_guide_length_percent=20;
pilot_length=15;
handle_length=0;
total_length = spline2_length+spline_length+handle_length+pilot_length;
echo (concat("To... | glb/cad_70ede12a3cac.glb |
Create a sprocket for a roller chain with 10 teeth, a pitch of 12.7mm, and a total thickness of 7mm. The main body is a cylinder with a radius derived from the pitch and roller diameter, modified to create teeth. Each tooth is formed by the intersection of two cylinders with a radius of 4.155mm (calculated as pitch min... | teeth=10;
roller_d=8.51;
thickness=7.0;
pitch=12.70;
tolerance=0.1;
shaft_d=22;
hole_d=16.5;
top_h=5;
bot_h=5;
fs = 1;
fa = 7;
module sprocket(teeth=20, roller=3, pitch=17, thickness=3, tolerance=0.2){
roller=roller/2;
distance_from_center=pitch/(2*sin(180/teeth));
echo(distance_from_center);
angle=(360/teeth);
... | glb/cad_14858903b015.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.