Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a rectangular prism with a square base measuring 10mm by 10mm and a height of 30mm. | h_height = 30;
text_main = "Deze";
cube([10,10,h_height]);
text("deze");
text(text_main); | glb/cad_a62d91d35f51.glb |
Create a U-shaped clip with a height of 20mm. Start by constructing a hollow cylinder with an inner diameter of 5mm and a wall thickness of 3mm. Cut a 60-degree wedge out of this cylinder along its entire height to create the U-shaped opening.
At each of the two open ends of the clip, add a small cylindrical cap. The... | clipInnerDiam = 5;
clipThikness = 3;
clipHeight = 20;
clipPercentOverlap = 10;
clipAngle = 60;
bevelAngle = 45;
module clip(id=clipInnerDiam,t=clipThikness,h=clipHeight){
difference(){
cylinder(r=id/2+t,h=h,$fn=PI*(id/2+t)*5);
translate([0,0,-.5])
cylinder(r=id/2,h=h+1,$fn=PI*id/2*5);
}
}
module pie(radius, ... | glb/cad_e07d3f298759.glb |
Create a tool tray organizer with a rectangular base and rounded vertical edges. The base should be a solid block with a height of 13.2mm and rounded corners with a radius of 3mm.
Within this block, carve out a grid of 12 circular holes arranged in 4 columns and 3 rows. Each hole must have a diameter of 8.2mm and a d... | _diam = 8.2;
_depth = 12;
_cols = 4;
_rows = 3;
_strShape = "circle";
_rad_rounded_edge = 3;
_add_intersect_holes = 1;
function int_to_bool(n) = n == 1 ? true : false;
module hole(diam, depth, strShape)
{
if(strShape == "circle")
{
cylinder(depth,d=diam, $fn=diam*4);
}
else if (strShape ... | glb/cad_eb483c1730d4.glb |
Create a 3D star with 7 points. Each point should extend 25.5mm from the center (calculated as a 25mm point length plus half of the 1mm rounding diameter). The tips of the points must be rounded with a diameter of 1mm and have a thickness of 1mm.
The star features a raised center with a maximum height of 3mm, taperin... | _points = 7;
_point_len = 25;
_adjust = 0;
_pnt_h = 1;
_cent_h = 3;
_rnd=1;
_fn = 25;
module star_3d(points, point_len, adjust=0, pnt_h =1, cent_h=1, rnd=0.1, fn=25)
{
point_deg= 360/points;
point_deg_adjusted = point_deg + (-point_deg/2) + adjust;
if(points == 3 && adjust == 0)
{
hul... | glb/cad_8362d2ba61e2.glb |
Create a Toy Robot Toolkit arm assembly consisting of three main components joined together.
First, create an upper arm: a central rectangular block 12mm wide, 25mm long, and 12mm high, with cylinders of radius 7.5mm centered at each end. Remove a pinhole of height 6mm and a specific tolerance from both the top and b... | use <../pin_connectors/pins.scad>
tolerance = 0.3;
trt_part = "trt_arm_assembly";
print_trt_part(trt_part);
module print_trt_part(part) {
echo(str("Printing part: ", part));
if (part == "trt_arm_assembly") {
trt_arm_assembly("bent");
} else if (part == "trt_antenna_side_assembly") {
trt_antenna_side_a... | glb/cad_08a86dab6450.glb |
Create a Brodit compatible iPhone 6/6s holder. Start by constructing a main rectangular body with rounded corners, measuring 71.1mm in width, 141.4mm in height, and 9.4mm in depth. Hollow out the center of this body to create a shell with wall thicknesses of 1.2mm, leaving an internal cavity of 67.5mm by 139mm by 7mm. ... | $fn=100;
iphone_width=67.5;
iphone_height=139;
iphone_depth=7;
connector_width = 35;
distance_between_screws=38;
screw_head = 7;
screw_hole = 4;
walls=1.2;
backplate_depth=5;
module iphone6andwalls(){
center_depth=1;
iphone_width=iphone_width+(2*walls);
iphone_height=iphone_height+(2*walls);
iphone_depth=i... | glb/cad_97af7f38d4a2.glb |
Create a single E3D v6/Lite6 mount consisting of a main bar, a two-part clamp, and an endstop flag.
Start with a main bar assembly: a rectangular block 87.35mm x 15mm x 13mm. Remove a 4.2mm diameter vertical cylinder at [38.675, 7.5] and another at [80.85, 7.5], both 14mm high. Add a horizontal 3.2mm diameter hole 16... | $fn=64;
use <e3d_v6.scad>
module nema(){
translate([43.673,49.1,23]){
rotate([90,0,0]){
include <Nema17.scad>
}
}
}
module guide(){
translate([38.675,7.5,-100]){
cylinder(d=4.2,h=200);
}
}
module bar(){
difference(){
cube([87.35,15,13]);
translate ([6.5,7.5,-0.5]){
cylinder(d=3.2,h=14);
}
translate ([6.5,7.5,10.1])... | glb/cad_4c83c71ed8b8.glb |
Create a retro-style robot named BOB. Start with a circular base platform 80mm in diameter and 10mm thick. On this base, position two red feet, each a modified cube with a rounded front, spaced apart to support the body.
Construct the body as a rectangular block 40mm wide, 30mm deep, and 50mm tall. The front face shou... | use <../pin_connectors/pins.scad>
use <../toy_robot_toolkit/toy_robot_toolkit.scad>
use <../bitmap/bitmap.scad>
spring_inner_diameter = 9;
tolerance = 0.3;
part = "assembly";
spring_inner_radius = spring_inner_diameter/2;
white = [255/255, 250/255, 240/255];
black = [100/255, 100/255, 100/255];
red = [200/255, 0/255... | glb/cad_91a0c4a5246e.glb |
Create a Snap-Fit Blower Fan Duct mount consisting of two separate bracket components. For the bottom mount, create a rectangular block 10mm wide, 2mm deep, and 16mm high. Add a smaller rectangular protrusion to the top of this block that is 10mm wide, 2mm deep, and 5.33mm high. Drill a 6mm diameter hole through the ce... | include <./i3.scad>
$fn=32;
FAN_BRACKET_BOTTOM=16;
BOTTOM_HOLE_POSITION=[47,0,8];
TOP_HOLE_POSITION=[4.4,0,45.5];
BRACKET_BASE_SIZE=[10,2,0];
HOLE_RADIUS=3;
module bottomMount() {
difference() {
translate([BOTTOM_HOLE_POSITION[0]-BRACKET_BASE_SIZE[0]/2, 0,2]) {
cube(BRACKET_BASE_SIZE+[0,0,FAN_BRACKET_BOTT... | glb/cad_60b087efe3d2.glb |
Create a Parametric Filament Clip with a uniform height of 10mm and a wall thickness of 2.4mm. The clip is designed to hold a 1.75mm diameter filament.
Start with a straight section 14mm long. At the end of this section, create a semi-circular head with a radius of 1.2mm that contains a centered hole with a diameter o... | clipgap=2;
filamenthole_dia=1.75;
height=10;
wallth=2.4;
length0=14.0;
length4=3.0;
$fn=90;
epsilon=0.05;
length2=(7.364-wallth-clipgap)*sqrt(2);
if(length2<=0) {
echo("<b>Error</b> Gap is too large");
}
module flc0()
{
difference() {
union() {
translate([-wallth/2, -length0+epsilon, 0])
cube([ wallth, leng... | glb/cad_ed3bfcd2097f.glb |
Create a Mario-style mystery cube by starting with a solid cube that has a side length of 90mm. On five of the six faces—the top and the four vertical sides—engrave a question mark symbol. The symbol is based on a 16x16 pixel grid where each pixel is scaled to fit the face of the cube. The engraving should be recessed ... | include <bitmap.scad>
cube_size = 90;
module QuestionmarkCube(){
block_size = 1;
height = 1;
row_size = 16;
bitmap = [
1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,2,0,0,0,0,0,0,0,0,0,0,2,0,0,
0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,
0,0,0,0,1,1,2,2,2,2,1,1,0,0,0,0,
0,0,0,2,1,1,0,0,0,2,1,1,0,... | glb/cad_cf9da928c462.glb |
Create a 2.5 to 3.5 inch HDD adapter for a Fujitsu-Siemens Scaleo P midi tower. Start with a rectangular base plate measuring 136mm wide, 112mm deep, and 11mm thick. Centered within this base, remove a rectangular section measuring 101mm wide, 70mm deep, and 7mm thick, positioned 4mm from the bottom face.
Create a la... | $fn=36;
difference(){
translate([0,-56,0]) cube([136,112,11]);
translate([0,-35,4]) cube([101,70,7]);
translate([14.0,-30.86,0]) cylinder(d=3.2,h=20);
translate([14.0, 30.86,0]) cylinder(d=3.2,h=20);
translate([90.6,-30.86,0]) cylinder(d=3.2,h=20);
translate([90.6, 30.86,0]) cylinder(d=3.2,h=20);
translate([14.0,-30... | glb/cad_23073d39b905.glb |
Create a PCB Mounting Snap consisting of two main components: a circular base and a clip assembly.
First, create the base as a cylinder with a diameter of 12mm and a height of 2mm. Cut a rectangular slot through the top of this cylinder to accommodate the standoff.
Next, construct the standoff and clip assembly. The... | $fn = 100;
PCB_THICK_06 = 0.6;
PCB_THICK_08 = 0.8;
PCB_THICK_10 = 1.0;
PCB_THICK_12 = 1.2;
PCB_THICK_16 = 1.6;
PCB_HOLE_30 = 3.0;
STANDOFF_4 = 4.0;
BASE_THICKNESS = 2.0;
BASE_DIAMETER = 12.0;
module pcb_support(coord,hole_dia,pcb_thick,standoff_height)
{
translate(coord)
{
standoff(hole_dia,standoff_height... | glb/cad_3d0499dfff1c.glb |
Create a screw cap with hose nozzle designed for PCO28 PET bottles. The model consists of a standard PCO28 screw cap base with two hollow cylindrical hose nozzles extending vertically from the top surface.
Each hose nozzle is 26.5mm tall with an outer radius of 2.5mm and an inner bore radius of 1.5mm (creating a 1mm w... | count = 2;
turn = "yes";
$fa=3; $fs=0.1;
createScrewCapWithHoseNozzle (count, booleanFromText(turn));
module createScrewCapWithHoseNozzle (count, isTurn)
{
rotate(a=[(isTurn)?180:0,0,0])
build()
{
createScrewCapSTL ();
for (i=[0:count-1]) translate(placesHoseNozzle(count)[i])
createHoseNozzle();
for (i=... | glb/cad_a39e0a3ed63a.glb |
Create a y-axis carriage attachment for a 3D printer consisting of three vertically stacked cylindrical sockets and a central mounting base.
First, create three identical hollow cylindrical sockets, each with an outer radius of 9.5mm, an inner radius of 7.5mm, and a height of 24mm. Each cylinder must have a thin vert... | module lb_socket( r, h, wall_thickness = 2, opening_length = 1, $fn = 20 ) {
difference () {
cylinder( r = r + wall_thickness, h = h, $fn = $fn );
translate( [ 0, 0, -0.1 ] ) {
cylinder( r = r, h = h + 0.2, $fn = $fn );
translate( [ -opening_length / 2, r - 0.2, 0 ] )
cube( [ opening_length, wall_thickne... | glb/cad_fc961d637fb8.glb |
Create a y-axis carriage attachment consisting of three identical vertical sockets connected by a central rectangular base. Each socket is a hollow cylinder with an outer radius of 9.5mm, an inner radius of 7.5mm, and a height of 24mm. Each cylinder features a small vertical slot 1mm wide and 0.4mm thick cut through th... | module lb_socket( r, h, wall_thickness = 2, opening_length = 1, $fn = 20 ) {
difference () {
cylinder( r = r + wall_thickness, h = h, $fn = $fn );
translate( [ 0, 0, -0.1 ] ) {
cylinder( r = r, h = h + 0.2, $fn = $fn );
translate( [ -opening_length / 2, r - 0.2, 0 ] )
cube( [ opening_length, wall_thickne... | glb/cad_da9b909adb30.glb |
Create a Dowel Mobius Strip holder by constructing a flat, elongated base with a total height of 11.55mm. The main body is a rounded rectangle with a total width of 49mm and a straight section length of 30.48mm. The ends are semicircular with a radius of 24.5mm.
From this solid, remove a central channel that is 6.35m... | dowelRad = 0.5*0.25*25.4;
holeRad = 7.55/2;
linearSideLength = 12*2*dowelRad;
loopAngleOffset = 180/12;
width = 49;
turnAngleOffset = 180/12;
height = 7.55+4;
difference ()
{
union ()
{
translate([-linearSideLength/2,-width/2,0])
cube([linearSideLength,width,height]);
translate([-linearSideLength/2,0,0])
cyl... | glb/cad_6a97bdc421f9.glb |
Create a straight LEGO Technic beam with a width of 7.3mm and a height of 7.8mm. The main body is a rounded rectangular prism formed by the hull of two cylinders with a radius of 3.65mm placed at each end of the beam.
The beam features a sequence of five holes spaced 8mm apart. The first and fifth holes are plus-shape... | holes = "+ooo+";
half_height="false";
$fn=50*1.0;
Pitch = 8*1.0;
Radius1 = 5.0/2;
Radius2 = 6.1/2;
Height = half_height=="true"?4.0:7.8*1.0;
Depth = 0.85*1.0;
Width = 7.3*1.0;
Plus_Width = 2.0*1.0;
Overhang = 0.05*1.0;
module body()
{
translate([0, Width/2, 0])
hull() {
cylinder(r=Width/2, h=Height... | glb/cad_9315f4a3d955.glb |
Create a straight beam for LEGO Technic with a width of 7.3mm and a height of 7.8mm. The main body is a capsule shape formed by the hull of two cylinders with a radius of 3.65mm placed at each end of the beam's length. The length of the beam is determined by a pitch of 8mm per hole segment.
For a beam with three holes... | holes = "+o+";
half_height="false";
$fn=50*1.0;
Pitch = 8*1.0;
Radius1 = 5.0/2;
Radius2 = 6.1/2;
Height = half_height=="true"?4.0:7.8*1.0;
Depth = 0.85*1.0;
Width = 7.3*1.0;
Plus_Width = 2.0*1.0;
Overhang = 0.05*1.0;
module body()
{
translate([0, Width/2, 0])
hull() {
cylinder(r=Width/2, h=Height);... | glb/cad_47bbfa97b916.glb |
Create a Z-Probe Mount with a fine adjust flexure. Start with a main body that is 8mm thick. The overall shape is a rounded rectangle with a width of 27mm and a height determined by the sum of the distance to mount (16.4mm), a tab height of 20mm, and a margin of 2.5mm. Apply a fillet radius of 2.5mm to the corners.
On... | include <MCAD/metric_fastners.scad>
distanceToMount = 16.4;
thickness = 8;
filletRadius = 2.5;
chassisBoltDiameter = 5.5;
counterBore = 10;
tabX = 20;
tabY = 20;
tabThickness = 5;
spacing = 10.5;
boltDiameter = 3.5;
nutDiameter = 5.5;
nutThickness = 2.4;
nutHeight = 4.6;
washerDiameter = 7.2;
totalX = 27;
... | glb/cad_cc3c9e376c54.glb |
Create a fridge door fence-post clip designed to fit over a guardrail. The main body is a rectangular block with a total length of 25mm, a thickness of 2mm, and a total height of 55mm.
Within this block, carve out a central rectangular slot to accommodate the rail. This slot must be 8mm wide and 25.4mm high, centered... | quality = 3;
rail_thickness = 8;
rail_height = 25.4;
rail_edge_radius = 1;
fence_post_inner_height = 55;
fence_post_outer_height = 10;
fence_post_length = 25;
fence_post_thickness = 2;
module rounded_square(dims, r=2, thickness=1) {
hull() {
translate([0, 0, thickness * 0.5]) {
translate([dims[0] * -0.5 +... | glb/cad_3e40168560ee.glb |
Create an Arduino Motorized SMT Solder Paste Dispenser consisting of two main parts: a motor mount and a syringe holder.
First, construct the motor mount. Create a base with a total height of 30.5mm and a width of 45mm. The base should have a rounded profile with convex corners of 5mm and flat corners of 3mm. In the c... | $fn=180;
shaft_hole_diameter = 8;
bottom_height = 2.5;
motor_mount_width = 45;
cavity_wall = 2;
cavity_height = 28;
cavity_diameter = 22;
motor_screws_space = 35;
motor_screws_holes_offset = 8;
motor_screws_holes_depth = 20;
syringe_screws_space = 31;
syringe_screws_holes_depth = 20;
total_height = bottom_height ... | glb/cad_27d630e087f0.glb |
Create a motor axis coupler for a 28BYJ-48 stepper motor and an M4 threaded shaft. The overall part is a cylinder with an outer diameter of 15mm and a total height of 22mm.
Start by creating the main body as a cylinder. At the bottom end, create a hole with a diameter of 5.7mm and a depth of 10mm. This hole must be fl... | $fn=180;
id1 = 5.0 + 0.7;
h1 = 10;
w1 = 3.0 + 0.5;
motoer_base_height = 3.5;
id2 = 4.0 + 0.5;
h2 = 12;
od = 15;
body_offset_from_center = 2;
slot_angle = 12;
total_height = h1 + h2;
screw_hole_diameter = 3.3;
screw_head_diamter = 5.7;
screw_nut_diameter = 6.5;
screw_head_to_nut = 7;
hole_offset_from_cente... | glb/cad_9fbb784bf6f3.glb |
Create a motorized solder paste dispenser plunger and tip consisting of two separate parts.
First, construct the main plunger body. This is a composite cylinder with a total height of 44mm. The bottom section is a cylinder with a 13mm outer diameter and a height of 42.8mm. Above this, add a thin middle transition rin... | $fn=180;
od1 = 13;
h1 = 42.8;
od2 = 8.5;
h2 = 1.0;
od3 = 12.5;
h3 = 1.2;
total_height = h1 + h2 + h3;
echo("*** total height: ", total_height);
chamfer = 0.5;
screw_hole_len = total_height - 2;
screw_hole_diameter = 6;
tip_cone_height = 1.4;
tip_top_diameter = 5;
tip_base_height = 0.4;
tip_base_diameter = od3;
... | glb/cad_1449393745a9.glb |
Create a Hall Effect Tachometer disc by starting with a main cylinder 40mm in diameter and 2mm thick. Centered on this disc, add a concentric collar with an outer diameter of 7.9mm and a height of 6.75mm. Bore a 6.4mm diameter hole straight through the center of both the collar and the disc. On the top surface of the d... | $fn=64*1;
E=0.05*1;
disc_dia = 40;
disc_thickness=2;
shaft_dia = 6.4;
magnet_indent_side = 1;
magnet_dia = 5.5;
magnet_depth = 0.5;
magnet_margin = 2;
num_magnets = 8;
collar_thickness = 0.75;
collar_length=5;
magnet_center_radius = disc_dia/2 - magnet_margin - magnet_dia/2;
difference() {
union() {
... | glb/cad_8b1c9604e146.glb |
Create a Mogen David star sculpture by generating a complex twisted geometry based on two interlocking equilateral triangles. Start by creating a 2D equilateral triangle with a radius of 50mm. Duplicate this triangle and rotate the second copy 180 degrees around the center to form a six-pointed star. Extrude this star ... | slice_num=20;
res=.15;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=15, twist=180, slices=20) up();
}
module swirl() {
for (i=[1:slice_num]) {
hull() {
hull() {
sc... | glb/cad_1815cab27868.glb |
Create a Magen David 3a by starting with a centered cube that is 105mm wide, 105mm deep, and 3.5mm high. From this base, remove a complex geometric pattern consisting of two mirrored, swirling star-like shapes. Each swirl is formed by a series of 20 stacked, thin layers, each 0.15mm thick. Each layer is based on the in... | slice_num=20;
res=.15;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=15, twist=180, slices=20) up();
}
module swirl() {
for (i=[1:slice_num]) {
hull() {
hull() {
sc... | glb/cad_4f4c82de794f.glb |
Create a customizable L-shaped corner bracket with a thickness of 3mm. The bracket consists of two arms meeting at a 90-degree angle; one arm has a height of 20mm and the other a width of 5.5mm. The outer corner where the two arms meet should be rounded with a radius of 1.5mm.
On each arm, create two teardrop-shaped m... | c_w = 5.5;
c_h = 20;
c_d = 3;
diameter = 2.5;
bolt_holes = 2;
seperation = 3;
hole_size = diameter/2;
multiplier = 1*1;
spread = c_h/5;
rotate([0,-90,180]){
cut_bracket();
corner_chamfer();
translate([0,c_d,0]){
rotate (90, [1,0,0]){
cut_bracket();
}
}
}
module corner_chamfer () {
... | glb/cad_c3574f888a74.glb |
Create a Mogen David 3a2 by constructing a thin square plate and carving a specific geometric pattern into it. Start with a centered cube that is 105mm wide, 105mm deep, and 3.5mm thick. From this base, remove a complex, swirling star-shaped void. This void is formed by two identical, mirrored geometric structures. Eac... | slice_num=20;
res=.15;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=15, twist=180, slices=20) up();
}
module swirl() {
for (i=[1:slice_num]) {
hull() {
hull() {
sc... | glb/cad_0d8d28a146c6.glb |
Create a Mogen David 3a reversed by starting with a centered cube that measures 105mm in width and length and 3.5mm in height. From this base, remove a complex geometric pattern consisting of two identical, mirrored swirling shapes. Each swirl is formed by the intersection of a cylinder with a radius of 101mm and a twi... | slice_num=20;
res=.15;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=15, twist=180, slices=20) up();
}
module swirl() {
for (i=[1:slice_num]) {
hull() {
hull() {
sc... | glb/cad_79e20b7e8f7b.glb |
Create a Mogen David 3a2 by starting with a square base plate measuring 105mm by 105mm with a thickness of 3.8mm, centered at the origin. On the top surface of this plate, construct a complex geometric star pattern. This pattern is formed by two interlocking equilateral triangles, each with a radius of 50mm. One triang... | slice_num=20;
res=.15;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=15, twist=180, slices=20) up();
}
module swirl() {
for (i=[1:slice_num]) {
hull() {
hull() {
sc... | glb/cad_bba9f07c23b8.glb |
Create a Gordian Knot 3D puzzle consisting of six identical rectangular blocks, each measuring 40mm wide, 56mm high, and 8mm thick. Each block is a flat plate with specific rectangular slots removed from its face to allow them to interlock.
For the first block, remove two vertical slots: one centered at x=8mm and anot... | basewidth = 8;
tolerance = 4;
width=basewidth*5;
height=basewidth*7;
tolerance1 = tolerance/10;
tolerance2 = tolerance1*2;
echo("Each piece is ",width," by ",height);
module green2d() {
difference() {
square([width, height]);
translate([basewidth-tolerance1, basewidth-tolerance1]) square([basewid... | glb/cad_261430eeb62a.glb |
Create an experimental MOD wheel for a DIY synth by constructing a composite disc with a height of 8mm. Form the main body by layering 16 hexagonal prisms, each with a radius of 30mm and a 6-sided cross-section, rotated around the center point in increments of 22.5 degrees to create a gear-like circular profile. Bore a... | raio = 30;
altura = 8;
faces = 6;
difference() {
difference() {
union() {
for (i = [0 : 22.5 : 360])
{
rotate([0, 0, i]) cylinder($fn=faces, r=raio, h=altura);
}
}
translate([0,0,-0.5])cylinder($fn=8, r=3, h=altura+1);
}
translate([raio+altura,0,-0.5]) cylinder($fn=400, r... | glb/cad_5e4b49b14346.glb |
Create a Parametric Wine Glass Holder by starting with a base block that is 169.78mm long, 29.87mm wide, and 14.94mm high. The profile of this base is not a simple cube; the top edge along the length is tapered, with the front height measuring 3mm and the rear height reaching 11.95mm.
Modify this base by removing mate... | wgh_length = 169.78;
wgh_width = 29.87;
wgh_height = 8.96;
wgh_front_height = 3;
leg_length = 13;
leg_width = 14.94;
leg_height = 11.95;
cut_out_width = 16.66;
air_hole_gap = 10;
air_hole_width = 20.35;
use <utils/build_plate.scad>
build_plate_selector = 3;
build_plate_manual_x = 200;
build_plate_manual_... | glb/cad_645a317d8a3f.glb |
Create a cantilever model starting with a square base plate measuring 12mm by 12mm with a thickness of 0.3mm, centered at coordinates (-4, -4, 0). Above this base, construct a vertical stack of ten rectangular bars, each 2mm thick. Every bar must have a width of 4mm. The bars are stacked directly on top of one another,... | _maxOverhang = 30;
_increment = 3;
_height = 2;
_size = 4;
module make() {
maxLevel = floor(_maxOverhang/_increment);
union() {
for(level = [0:maxLevel]) {
assign(length = level * _increment) {
translate([level%2==0 ? -length : 0, 0, _height * level])
cube([length+_size, _size, _height]);
}
}
... | glb/cad_943174e326ee.glb |
Create a Screen Customizer consisting of a thin-walled frame and an internal mesh grid. The overall shape is a 16-sided polygon (rough circle) with a diameter of 100mm and a total depth of 10mm.
The outer frame is created by taking a 16-sided polygonal cylinder of 100mm diameter and 10mm height, and removing a concen... | shape= 16;
diameter = 100;
depth = 10 ;
frame_thickness = 1.2;
border_size = 2.4;
mesh_space=3;
mesh_height=2.5;
indention = 0;
printer_layer_height = 0.25;
printer_skin_size = 0.6;
printer_extrusion_width = 0.5;
smooth = shape;
custom_shape_screen();
module custom_shape_screen() {
union() {
difference... | glb/cad_408d51cc72c3.glb |
Create a handheld game console mock-up based on a credit card footprint. Start with a main body that is 85.60mm long, 53.98mm wide, and 4.9mm thick, featuring rounded corners with a radius of 2.88mm.
On the top face, center a rectangular screen cutout 18mm from the top edge. The outer bezel of the screen is 34.5mm wid... | card_length = 85.60;
card_width = 53.98;
card_radius = 2.88;
card_thickness = 4.9;
screen_indent = 5;
screen_offset = 18;
button_width = 9.5;
button_depth = 2;
A_button_x = 9;
A_button_y = -14;
B_button_x = 18.5;
B_button_y = -9.8;
D_pad_x = -12.5;
D_pad_y = -10;
D_button_length = 6.7;
D_button_width = 9.6;
D_button... | glb/cad_76dcb6eebe7c.glb |
Create an Openbeam Plate by starting with a rectangular base that is 45mm wide, 45mm long, and 4mm thick. The base should have rounded corners with a radius of 4mm.
On the top face of the plate, create a 3x3 grid of screw holes spaced 15mm apart, with the center of the grid aligned to the center of the plate. Each ho... | plate_width=3;
plate_height=3;
plate_thickness=4;
bottom_thickness=2;
solid_center=0;
$fn=40;
openbeam_plate([plate_width, plate_height], h=plate_thickness, solid_center=solid_center);
module roundedBox(size, radius, sidesonly)
{
rot = [ [0,0,0], [90,0,90], [90,90,0] ];
if (sidesonly) {
cube(size - [2*ra... | glb/cad_e3e17a15d522.glb |
Create a Cheap Precision Tool Set Holder with a total height of 12mm. The main body consists of a row of 15 identical holding units spaced 8.5mm apart from center to center. Each unit is formed by a cylinder with a radius of 3.5mm and a height of 12mm, from which a smaller concentric cylinder with a radius of 2.5mm and... | $fn=40;
height=12;
strength=1;
amount=14;
difference()
{
for(i=[0:1:amount])
{
translate([(5+2*strength+1.5)*i,0,0])halter();
}
translate([(amount*(1/4))*(5+2*strength+1.5),10,height/2])rotate([90,0,0])cylinder(r=1.5/2,h=10);
translate([(amount/2)*(5+2*strength+1.5),10,height/2])rotate(... | glb/cad_db3e47f2970e.glb |
Create a Parameterized Coin Calibration Test by starting with a solid square base that is 31.5mm wide, 31.5mm deep, and 2mm thick. Center a cylindrical hole vertically through the middle of this base. The hole must have a diameter of 26.5mm and a height of 4mm to ensure it passes completely through the 2mm thick slab. | slop = 0.5;
margin = 2.5;
coin_diameter = 26.5;
coin_thickness = 2.0;
difference() {
translate( v=[0,0,coin_thickness/2] ) {
cube( size=[(coin_diameter+margin),(coin_diameter+margin),coin_thickness], center=true );
}
translate( v=[0,0,coin_thickness/2] ) {
scale( v=[0.1,0.1,0] ) {
cylinder( h=coin_thickness... | glb/cad_ed81313739f9.glb |
Create a solar landscape light stake consisting of a tapered point and a top mounting cap.
First, construct the main stake point by creating four identical thin-walled plates, each 2mm thick. Each plate should be a right triangle with a height of 95mm and a base width of 30mm (radius of 15mm), but with the tip blunt-... | cap_riser_height = 16;
cap_riser_width = 17;
cap_riser_thickness = 2;
cap_circle_offset = 9;
cap_divider_thickness = 2;
point_height = 95;
point_top_radius = 15;
point_tip_cutoff = 5;
point_thickness = 2;
module stake_edge(height, top_radius, tip_cutoff=10, thickness=2) {
rotate([0, 90, 0])
linear_extrud... | glb/cad_3e592692c3d5.glb |
Create a Christmas Lights Fence Hanger with a total width of 6mm. Construct a rectangular U-shaped frame consisting of two parallel side arms and a connecting top bar. Each side arm should be 94mm long and 2mm thick, separated by a gap of 22mm. The entire assembly should have a height of 6mm.
At the open end of the U-... | w = 6;
g = 22;
t = 2;
h = 92;
$fn = 16;
translate([0,0,0]) cube([h+t,t,w]);
translate([0,g+t,0]) cube([h+t,t,w]);
translate([0,0,0]) cube([t,g+2*t,w]);
difference () {
translate([h+t,0,0]) cube([t,g+2*t,w]);
translate([h+g*0.5,t+g/2,w/2-0.1]) rotate([0,0,45]) cube([g,g,w+0.4], center= true);
}
... | glb/cad_086e593cb00e.glb |
Create a printer leveling model centered on a rectangular area of 225mm by 145mm with a uniform thickness of 0.5mm.
First, draw a rectangular border of 0.5mm thick lines along all four outer edges of the 225mm by 145mm area. Add two diagonal lines of the same 0.5mm thickness connecting the opposite corners of the rec... | xMax = 225;
yMax = 145;
height = 0.5;
module zero_crosshairs()
{
translate([xMax / 2.0, yMax / 2.0, 0])
difference()
{
cylinder(r = 5.0, h = height);
cylinder(r = 4.5, h = height);
}
}
module plate_leveling_lines()
{
translate([0, 0, 0])
cube([xMax, he... | glb/cad_f54d7d3c8e89.glb |
Create a connector for an icosahedron structure. Start by creating a central core shape formed by the convex hull of five cylinders, each with a radius of 4mm and a height of 8mm. These cylinders should be arranged symmetrically, each rotated 72 degrees around the center and tilted 31.72 degrees from the vertical axis.... | Rod_Diameter = 3;
Rod_Depth = 5;
Wall_Thickness = 1;
module GenConnector()
{
Rod_Radius = (Rod_Diameter/2)*1000;
Rod_Depth = Rod_Depth*1000;
Wall_Thickness = Wall_Thickness*1000;
Distance_From_Core = (Rod_Radius*2)+Wall_Thickness;
Total_Rod = Distance_From_Core + Rod_Depth;
scale(0.01,0.01,0.01){
difference(... | glb/cad_fac03221a368.glb |
Create a Symmetric Prusa Z-coupling by starting with a block that is the intersection of a 30mm x 25mm x 8mm cube and a cylinder with a radius of approximately 15.5mm centered on the cube's footprint.
Remove four vertical holes to accommodate bolts and nuts: place two hexagonal holes with a radius of 3.25mm and a dep... | module coupling(x=30,y=25,z=8,s=8,m=7)
{
difference()
{
intersection()
{
cube([x,y,z]);
translate([x/2,y/2,0]) cylinder(h=z, r=sqrt(pow(x/2,2)+pow(max(s,m)/2+((y-max(s,m))/12),2)),$fn=40);
}
translate([x/4,y/4,0]) cylinder(h=3, r=3.25, $fn=6);
translate([x*3/4,y/4,0]) cylinder(h=3, r=3.25, $fn=6);
... | glb/cad_0dd0d750e991.glb |
Create a fractal Sierpinski tetrahedron with five levels of recursion. Start with a base regular tetrahedron with an edge length of approximately 25mm. To generate the fractal, recursively replace the tetrahedron with four smaller tetrahedra, each half the size of its parent, positioned at the four vertices of the pare... | thickd = 0.5;
thickr = 1.00;
drate = 2;
fdepth = 5;
size0 = 70.7 / (2 * sqrt(2));
tri(0, [0, 0, 0], size0);
module
tri(depth, vec, sz) {
cx = vec[0];
cy = vec[1];
cz = vec[2];
if (depth == fdepth) {
szc = sz + thickd;
polyhedron(points = [
[cx + szc, cy - szc, cz + szc],
... | glb/cad_c93e48b1afab.glb |
Create a Prusa Filament Guide consisting of a central hub with three radiating arms. Start with a central cylinder 8mm high with a radius of 8mm. Remove a smaller concentric cylinder from the center with a radius of 4.15mm and a height of 10mm to create a mounting hole.
From this central hub, extend three arms. Two a... | union() {
translate(v=[29.25,0,0]) {
rotate([0,0,50]) {
union() {
translate([-4,5,0]) {cube([8,36,8]);}
difference() {
cylinder(h=8,r=8);
translate([0,0,-1]) {
cylinder(h=10,r=4.15);
}
}
}
}
}
translate([-4,20,0]) {
cube([8,48.5,8]);
}
translate(v=[-29.25,0,0])
rota... | glb/cad_3de77d6bfba9.glb |
Create a 3D model of a twisted, star-like swirl. Start by defining a basic star shape based on a three-pointed polygon with a radius of 50mm. Generate a spiraling form by extruding this star shape vertically while simultaneously rotating it 120 degrees and gradually scaling it down by a factor of 0.967 for every 0.15mm... | slice_num=36;
res=.15;
scale_factor=.967;
rot=120;
sf=scale_factor;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=3, twist=rot, slices=20) up();
}
module swirl() {
for... | glb/cad_6ee448bdf5b1.glb |
Create a toilet roll holder replacement part consisting of three separate cylindrical components. First, create a central solid cylinder with a diameter of 12mm and a height of 70mm. Then, create two identical end pegs to be positioned on either side of the central cylinder. Each peg should be constructed as a cylinder... | module peg() {
difference () {
union() {
cylinder(d=17,h=40);
translate([0,0,40]) cylinder(d1=17,d2=2,h=10);
translate([0,0,10]) cylinder(d1=17,d2=20,h=3);
translate([0,0,13]) cylinder(d1=20,d2=20,h=3);
translate([0,0,16]) cylinder(d1=20,d2=17,h=3)... | glb/cad_ce6adb40d3dc.glb |
Create a 3D model of a "stars and swirls" decorative object. Start by constructing a basic star-like profile using two equilateral triangles, each with a radius of 50mm, where one triangle is rotated 180 degrees relative to the other. Extrude this combined star shape vertically to a height of 15mm while applying a 180-... | slice_num=18;
res=.15;
scale_factor=.85;
sf=scale_factor;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=15, twist=180, slices=20) up();
}
module swirl() {
for (i=[1:sl... | glb/cad_cb0395e2f45e.glb |
Create a 3D model of a "stars and swirls" decorative object. The core geometry is based on a three-pointed star shape, created by extruding a triangle with a radius of 50mm. This star shape is extruded to a height of 15mm while simultaneously twisting 360 degrees around its central vertical axis, divided into 20 slices... | slice_num=18;
res=.15;
scale_factor=.85;
sf=scale_factor;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=15, twist=360, slices=20) up();
}
module swirl() {
for (i=[1:sl... | glb/cad_47711e305e0e.glb |
Create a 3D model of the "starts and swirls 3" object by constructing two identical, mirrored swirling forms. Each form is generated by stacking 18 thin horizontal slices, each 0.15mm thick.
Start with a base shape consisting of two equilateral triangles with 50mm radii, one rotated 180 degrees relative to the other,... | slice_num=18;
res=.15;
scale_factor=.85;
sf=scale_factor;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=5, twist=360, slices=20) up();
}
module swirl() {
for (i=[1:sli... | glb/cad_402017ccec81.glb |
Create a 3D model of a "starts and swirls" decorative object. Construct the shape by generating a series of 18 stacked, thin layers, each with a height of 0.15mm. Each layer is based on the intersection of a cylinder with a radius of 101mm and a twisted triangular prism. This prism is created by linearly extruding a th... | slice_num=18;
res=.15;
scale_factor=.85;
sf=scale_factor;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=3, twist=180, slices=20) up();
}
module swirl() {
for (i=[1:sli... | glb/cad_7da2d7b515f3.glb |
Create a Mailbox Plate for uCRobotics.tw. Start by constructing a rectangular base plate with a width of 170mm, a height of 40mm, and a thickness of 1.5mm.
On the face of the plate, add a raised logo and text with a thickness of 3mm. Position the uCRobotics logo on the right side of the plate. To the left of the logo... | thick=1.5;
thick2=3;
width=170;
height=40;
blank=50;
beltWidth=10;
beltBlank=13;
module text1(height) {
translate([154,0,height]) {
rotate([0,180,0]) {
linear_extrude(height = height, convexity = 0) {
import(file="t01.dxf");
}
}
}
}
module ucroboticsLogo(r, h) {
difference(... | glb/cad_d2436c344c6a.glb |
Create a Mailbox Plate consisting of a three-sided open rectangular enclosure. Form the base and two side walls by creating a solid rectangular block with a total width of 10mm, a height of 30mm, and a depth of 1.5mm. To this, add a second rectangular section extending from the bottom that is 10mm wide, 1.5mm thick, an... | thick=1.5;
thick2=3;
width=170;
height=30;
blank=0;
beltWidth=10;
beltBlank=15;
module object1() {
difference() {
union() {
cube([beltWidth,thick,blank+thick+height]);
cube([beltWidth,beltBlank+thick*2,thick]);
translate([0,thick+beltBlank,0]) {
cube([b... | glb/cad_eaa705282800.glb |
Create a 3D model of the "stars and swirls 5a" object. The geometry is based on a repeating, twisting star-like pattern. Start by creating a three-pointed star (an equilateral triangle) with a radius of 50mm. Extrude this shape vertically to a height of 3mm while applying a 120-degree twist along the Z-axis, divided in... | slice_num=36;
res=.15;
scale_factor=.967;
rot=120;
sf=scale_factor;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=3, twist=rot, slices=20) up();
}
module swirl() {
for... | glb/cad_7ed004397b82.glb |
Create a 3D model of a decorative star-swirl emblem. The base is a thin square plate measuring 62.5mm by 62.5mm with a thickness of 0.32mm. Centered on this plate is a complex geometric shape formed by the intersection of two opposing swirling star patterns.
Construct the primary shape by creating a three-pointed sta... | slice_num=36;
res=.15;
scale_factor=.967;
rot=120;
sf=scale_factor;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=3, twist=rot, slices=20) up();
}
module swirl() {
for... | glb/cad_4c31fbdceb60.glb |
Create a 3D model of the ss5b object by constructing a complex, twisting geometric form centered on a flat square base. Start with a square base measuring 62.5mm by 62.5mm with a thickness of 0.32mm. Above this base, create a symmetrical, swirling structure composed of two mirrored, interlocking components. Each compon... | slice_num=35;
res=.15;
scale_factor=.967;
rot=120;
sf=scale_factor;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=3, twist=rot, slices=20) up();
}
module swirl() {
for... | glb/cad_e3777ee4b31c.glb |
Create a stock cubes holder consisting of two identical side-by-side storage blocks. For each block, construct a rectangular outer container with a total width of 54mm, depth of 36mm, and height of 172mm, using wall thicknesses of 2mm.
Inside each container, create a vertical stack of ten rectangular compartments. Ea... | cube_width=50;
cube_depth=32;
cube_height=17;
cube_padding=1;
walls=2;
nbr_of_cubes_per_bloc=10;
nbr_blocks=2;
unloading_height=20;
front_opening_width=8;
top_free=1*cube_height;
module make_cubes(width,depth,height,padding,nbr_of_cubes_per_bloc,top_free){
cube([width+(2*padding),depth+(2*padding),height]);
f... | glb/cad_e22397ef8468.glb |
Create a geometric sculpture based on a twisting, tapering star-like form. Start by generating a three-sided prism (an equilateral triangle) with a radius of 50mm. Extrude this shape vertically to a height of 3mm while applying a 120-degree twist.
Create a series of 34 stacked slices of this twisted geometry. Each su... | slice_num=34;
res=.15;
scale_factor=.967;
rot=120;
sf=scale_factor;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=50);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=50);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=3, twist=rot, slices=20) up();
}
module swirl() {
for... | glb/cad_50492deafb09.glb |
Create a suction cup shelf consisting of a flat rectangular platform and a supporting mounting structure. The platform should be 45mm wide, 45mm long, and 2mm thick.
Position the platform 17.5mm above the center of the mounting axle. The mounting structure begins with a central cylindrical axle 6mm in diameter and 1.... | shelf_height=17.5;
shelf_width=45;
shelf_length=45;
axle_diameter=6;
axle_width=1.7;
thickness=2;
number_x=1;
number_y=1;
distance_to_window=2;
tolerance=0.7;
cup_size=35;
$fn=50;
module shelf()
{
translate([-shelf_width/2,0,shelf_height])
cube([shelf_width, shelf_length, thickness]);
difference()
{
hull()
{
tr... | glb/cad_c7b1306bbd74.glb |
Create a Canon EOS 5D MK-I battery adapter. Start with a main rectangular block measuring 38mm wide, 55mm long, and 10mm high. Centered on the top face, add a rectangular protrusion measuring 10mm wide, 55mm long, and 5mm high.
Integrate two large semi-cylindrical cutouts along the length of the model, each with a rad... | module eos5d_mkone()
{
union(){
cube([38,55,10]);
translate([14,0,14])
cube([10,55,5]);
translate([10.5,0,10.5])
rotate([-90,0,0])
cylinder (h=55,r=10.5,$fa=5, $fs=0.1);
translate([27.5,0,10.5])
rotate([-90,0,0])
cylinder (h=55,r=10.5,$fa=5, $fs=0.1);
}
}
rotat... | glb/cad_e0abe26e8f7c.glb |
Create a Canon EOS 5D MK-I battery adapter. Start with a main rectangular block measuring 38mm wide, 55mm long, and 10mm high. Centered along the length, add a rectangular protrusion measuring 10mm wide, 55mm long, and 5mm high, positioned 14mm from the base.
Integrate two semi-cylindrical volumes along the sides, eac... | module eos5d_mkone()
{
union(){
cube([38,55,10]);
translate([14,0,14])
cube([10,55,5]);
translate([10.5,0,10.5])
rotate([-90,0,0])
cylinder (h=55,r=10.5,$fa=5, $fs=0.1);
translate([27.5,0,10.5])
rotate([-90,0,0])
cylinder (h=55,r=10.5,$fa=5, $fs=0.1);
}
}
rotat... | glb/cad_46b8341b2b01.glb |
Create a Canon IXUS 70 battery adapter starting with a rectangular block measuring 5.7mm wide, 40.2mm long, and 35.3mm high. From this main body, remove several rectangular sections to create slots and notches: one at the bottom measuring 3mm by 3mm by 1.5mm, one at the top measuring 3mm by 3mm by 1.5mm, and two thin h... | module ixus_batt()
{
difference() {
cube([5.7,40.2,35.3],center=false);
cube([3,3,1.5],center=false);
translate([0,0,33.8])
cube([3,3,1.5],center=false);
translate([0,0,3.3])
cube([5.7,0.8,2],center=false);
translate([0,0,10])
cube([5.7,0.8,2],center=false);
tran... | glb/cad_7a01e0a9ec1d.glb |
Create a Canon IXUS 70 battery adapter by starting with a rectangular block measuring 5.7mm wide, 40.2mm long, and 35.3mm high. From this main body, remove several rectangular sections to create specific cutouts: one at the origin measuring 3mm by 3mm by 1.5mm, another at a height of 33.8mm with the same dimensions, an... | module ixus_batt()
{
difference() {
cube([5.7,40.2,35.3],center=false);
cube([3,3,1.5],center=false);
translate([0,0,33.8])
cube([3,3,1.5],center=false);
translate([0,0,3.3])
cube([5.7,0.8,2],center=false);
translate([0,0,10])
cube([5.7,0.8,2],center=false);
tran... | glb/cad_886feb33ce3e.glb |
Create a bearing retainer plate with a total thickness of 2.5mm. Start with a central rectangular body 10mm wide and 46mm long. Add two semi-circular caps with a radius of 5mm to each end of the rectangle, centered at the far edges, and a larger central circular bulge with a radius of 10mm.
From this combined shape, ... | d = 2.5;
s = 2;
difference() {
union() {
cube(size=[10,46,d],center=true);
translate([0,23,0])cylinder(r=5,h=d,center=true);
translate([0,-23,0])
cylinder(r=5,h=d,center=true);
cylinder(r=10,h=d, center=true);
}
translate([0,0,0])
cylinder(r=6,h=d,center=true);
translate([-3,0,0])
cube(size=[10,12,d],cent... | glb/cad_4b46a49ba234.glb |
Create a Convex Optimization Test model consisting of two parallel series of spheres and a single central cube. First, generate a sequence of spheres with a radius of 0.5mm, spaced every 0.5mm along the x-axis from x = -5mm to x = 10mm. The z-position of each sphere must follow the function z = ((x + 3)^2 / 5) + 2. Sec... | minimum = -3;
function f(x) = pow(x-minimum,2) / 5 + 2;
function optim(rg_min, rg_max, eps, iter=100) = let(
h = rg_min + (rg_max - rg_min) / 2,
df = f(h + eps) - f(h - eps)
)
((abs(rg_max - rg_min) < eps) || (iter < 1))
? h
: ((df > 0)
? optim(rg_min, h, eps, iter-1)
: o... | glb/cad_549c5c3c2249.glb |
Create a DNA model segment by constructing two parallel vertical columns connected by a central horizontal bridge. Start by placing two cylinders, each with a diameter of 10mm and a height of 20mm, positioned 40mm apart from center to center. Connect these cylinders with a central rectangular bar that is 40mm long, 4mm... | x=-12;
color("white") union(){
linear_extrude(height = 10, center = false, twist = x)
union(){
translate([20,0,0]){square(10, true);};
translate([-20,0,0]){square(10, true);};
square([40, 4], true);}
;
linear_extrude(height = 20, center = false, twist = x*2)
union(){
... | glb/cad_80e07ebd30c3.glb |
Create a pen painter holder by starting with a central rectangular block measuring 14mm wide, 13mm long, and 14mm high. To this central block, attach two wing-like walls on the left and right sides; each wall is 2mm thick, 10mm wide, and 14mm high, angled outwards from the center at 30 degrees.
Carve a primary hole th... | tol = 0.05;
wall = 2;
penbase = 10;;
pentol = 2;
pentip = 6;
pentiplen = 3;
penbaselen = 10;
wing=10;
wingoff = pentip/2;
wingang = 30;
penlen = penbaselen + pentiplen;
peno = penbase+pentol+wall*2;
tear = penbase*sqrt(2);
difference() {
union(){
translate([-peno/2,0,0]) cube([peno, penlen, peno]);
transla... | glb/cad_d0d47dbeddac.glb |
Create an Extruder Calibration Helper tool by starting with a rectangular block measuring 4.3mm in width, 5.8mm in depth, and 52mm in height. Center a vertical cylindrical hole through the entire height of the block with a diameter of 2.3mm. To create the measurement scale, remove a rectangular section from one side of... | FilamentDiameter = 1.8;
ToolSize = 50;
ShowFilament = 0;
InnerHole = 1;
ThicknessAdjustX = 2.5;
ThicknessAdjustY = 4;
$fn = 25;
FilamentRadius = FilamentDiameter/2;
toolX = FilamentDiameter+ThicknessAdjustX;
toolY = FilamentDiameter+ThicknessAdjustY;
baseToolSize = ToolSize +2;
rotate([0,0,-90])
tool();
if(1==S... | glb/cad_607c681cbb2a.glb |
Create a steampunk-style handle knob by starting with a central sphere with a radius of 20mm. Remove a cylindrical hole with a radius of 2.5mm that passes through the center of the sphere from top to bottom. To shape the base, remove the bottom half of the sphere using a cube with dimensions of 20mm by 60mm by 60mm. Cr... | difference()
{
sphere(r=20,center=true);
rotate ([0,90,0]) cylinder(r=2.5, h=40, center=true);
translate([18,0,0]) sphere(r=20,center=true);
translate([-20,0,0]) cube([20,60,60], center = true);
for ( j = [0:1:3])
{
rotate([90*j,0,0])
translate([0,0,37])
difference()
{
hull()
{
cylinder(r1=6.3, r2=12, h=40,... | glb/cad_b23cbda34d49.glb |
Create a water bottle dust-cap with an outer radius of 35mm and a total height of 17mm. The main body is a hollow cylinder with a wall thickness of 5mm, leaving an internal cavity with a radius of 30mm. The bottom 3mm of this internal cavity is a solid base. Above this base, from a height of 3mm to 6mm, create a conica... | small = 0.1;
$fn = 64;
innerR = 60.0/2;
wallThickness = 5.0;
topH = 3.0;
solidH = 9.0;
spaceH = 3.0;
clipH = 2.0;
freeH = 2.0;
clipInset = 1.0;
notchThickness = 2.0;
filletH = 3;
filletW = 3;
outerR = innerR + wallThickness;
totalH = topH + solidH + spaceH + clipH + freeH;
module cap()
{
difference() {
cyli... | glb/cad_d1516ca005a7.glb |
Create a 6-piece puzzle consisting of interlocking geometric components. The puzzle is based on a grid defined by a base unit of 20mm (X) and 30mm (Y).
First, create two identical "U-shaped" outer pieces. Each consists of a rectangular block 10mm wide, 7.5mm deep, and 20mm high, with a second block of 10mm by 7.5mm by... | tailleX = 20;
tailleY = 30;
rotate([90,0,0])
U1(tailleX);
translate([tailleX+tailleY*2,0,tailleX/4])
U2(tailleY);
translate([tailleX,-tailleY/2,tailleX/2]){
rotate([180,0,0]){
Lcentre(tailleX,tailleY);
translate([0,-tailleX/4,0])
mirror([0,1,0])
Lcentre(tailleX,tailleY);
}
}
mo... | glb/cad_82d10918c6b7.glb |
Create a Virginia Tech Veteran sign with a uniform thickness of 5mm. The base of the model is a rectangular plate 43mm wide and 1mm thick. Centered atop this base, create the word "Veteran" using an italic Arial font. The letter "V" is replaced by a stylized geometric logo. This logo is composed of a series of connecte... | module vtlogo (a) {
b=a*tan(60);
c=a*sin(30)/3;
d=a*sin(60)/3;
e=b-d;
f=(b/2)-d;
g=f*tan(30);
polygon ([[-a,b],[-a/2,b/2],[-c,e],[(a/3)-c,e],[(a/3)-c-g,b/2],[(2*a/3)-c-g,b/2],[(2*a/3)-c,e],[a-c,e],[a,b],[-a/3,b],[-a/2,5*b/6],[-2*a/3,b]]);
}
size = 20;
z = 5;
linear_extrude (height=z) {
... | glb/cad_159806945f02.glb |
Create a Camera Battery Protector case with an overall outer footprint of 38.5mm in width and 43.7mm in depth. The case consists of a flat rectangular base with a thickness of 1mm and three vertical walls that are 8.9mm high. These walls are 1mm thick and are positioned along the left, right, and front edges of the bas... | module hole_shape(
r = 10,
height = 1
)
{
union() {
cylinder(r=r, h=height);
translate([-r, 0, 0])
cube([r * 2, r, height]);
}
}
module chamfer(v, height)
{
translate([0, 0, v[2]])
rotate(45, [1, 0, 0])
cube([v[0], v[1], height], center=true)... | glb/cad_b2707fa34e67.glb |
Create a fractal sculpture based on a regular dodecahedron. Start with a base dodecahedron and recursively add smaller dodecahedra to its vertices.
For the first iteration, place 20 smaller dodecahedra, each scaled by a factor of approximately 0.279, centered at each of the 20 vertices of the parent dodecahedron. Rep... | fdepth = 2;
sc = 0.279;
half = 0;
gr = (1 + sqrt(5)) / 2;
c1 = 2 - gr;
c2 = sqrt(c1);
mr = 1 - sc;
cr = c2 * mr;
dodeca(0);
module
dodeca(depth)
{
if (fdepth == depth) {
drawdodecahedron();
} else {
translate([0, mr * c1, mr]) { scale(sc) {
dodeca(depth + 1); }}
transl... | glb/cad_c5dc3c14ab0c.glb |
Create a Parametric Dowel Mobius Strip by constructing a thin circular ring with a square cross-section. The ring has a height and side length of 7mm and an outer radius of 21.5mm. The ring's interior is hollowed out by a concentric cylinder with a radius 3.5mm smaller than the outer radius.
Around the circumference o... | n = 50;
d_s = 3;
d_h = 4.475;
l_s = 30;
s = 7;
r_s = d_s/2;
r_h = d_h/2;
a_1 = 360/n;
a_2 = 180/n;
r_min = d_s/(2*tan(180/n));
r_c = r_min+l_s/2;
r_out = r_min+l_s/2+s/2;
echo (str("Completed Strip Inner Radius = ",r_min,"."));
echo (str("Printed Part Outer Radius = ",r_out,"."));
echo (str("Rotation Angle Per Stick ... | glb/cad_463a1abee4de.glb |
Create a breaker filler plate consisting of a flat rectangular base and a raised rectangular sleeve. The base is a flat plate measuring 2.43 inches in length, 0.98 inches in width, and 0.09 inches in thickness, with rounded corners having a radius of 0.06 inches.
Centered on this base, construct a hollow rectangular ... | slot_height = 0.98;
slot_length = 2.3;
plate_length = 2.43;
plate_thickness = 0.090;
slot_thickness = 0.315;
wall_thickness = 0.095;
gap_thickness = 0.06;
corner_radius = 0.06;
module chamfered(w,l,th) {
w2 = (w - corner_radius*2)/2;
l2 = (l - corner_radius*2)/2;
hull() {
for (x = [w2,-w2]) for ... | glb/cad_f16f3a121036.glb |
Create a stylized turkey model. For the tail feathers, create a series of overlapping petal-like shapes. Each petal is formed by the intersection of two cylinders with a radius of 25mm and a height ranging from 1.6mm to 3.6mm. Arrange these petals in a fan shape around a central point, rotating them in 10-degree increm... | $fn=30;
module feather(a, c, h)
{
color(c){
scale([1-((5*abs(a))/1000),1-((5*abs(a))/1000),1]){
rotate(a){
translate ([0,25,0]) {
intersection ()
{
translate ([20,0,0]) { cylinder(h,r=25);};
translate ([-20,0,0]) { cylinder(h,r=25); };
};
};
};
};
};
}
feather(0... | glb/cad_9ac10e3d084d.glb |
Create a Pacman Helper Disk by starting with a cylinder that has a radius of 10mm and a height of 1mm. Remove a 90-degree wedge-shaped section from the cylinder to create a mouth opening. Along the straight inner edges of this cutout, add three rectangular teeth. Each tooth should be 1mm wide and 1mm deep, spaced evenl... | pacmanRadius = 10;
pacmanHeight = 1;
pacmanAngle = 90;
pacmanTeethFlag = 1;
pacmanNumTeeth = 3;
pacmanTeethDepth = 1;
pacmanTeethWidth = 1;
$fn=200;
cutPoints=[[0,0],
[cos(pacmanAngle)*2*pacmanRadius,sin(pacmanAngle)*2*pacmanRadius],
[cos(pacmanAngle*3/4)*2*pacmanRadius,sin(pacmanAngle*3/4)*2*pacmanRadius],
[co... | glb/cad_7bc5a64a6f3c.glb |
Create two complementary parts for a magnetic square tool: an L-shaped square and a rectangular clamp. Both parts have a thickness of 15mm and overall dimensions of 20mm by 20mm.
For the L-shaped square, create a base with a width of 10mm for each arm. At the inner corner origin and the outer corner, remove cylindrica... | x = 20;
y = 20;
thickness = 15;
width = 10;
type = "both";
magnet_shape = "rectangle";
magnet_x = 10;
magnet_y = 5;
magnet_z = 3;
magnet_spacing = 20;
magnets_on_the_outside = "no";
relief_d = 5.5;
relief_offset = 0.5;
dim = [x, y, thickness, width];
magnet_dim = [magnet_x, magnet_y, magnet_z];
magnet_off... | glb/cad_dcfe65bb3db4.glb |
Create a 3D emblem for World Youth Day 2016. Start by importing the "2016_Krakov_logo_upraveno.dxf" vector file and extruding it to a height of 3mm to form the base logo. Add two rectangular blocks to this base: one measuring 100mm by 50mm by 1mm centered at coordinates (60, 0, 0), and another measuring 160mm by 20mm b... | fileName = "2016_Krakov_logo_upraveno.dxf";
difference()
{
union(){
translate([60,0,0])cube([100,50,1],center);
translate([0,-20,0])cube([160,20,1],center);
translate([-100,-50,0])linear_extrude(height= 3) import(fileName);
}
translate([70,0,0])cylinder([7,5,center]);
translate([155,45,0])cylinder([7,5,center]);
tra... | glb/cad_35679cdad42f.glb |
Create a Hanaukyo Maid Team Badge. Start by creating a spherical dome with a radius of 12mm, but flatten the bottom to create a base. Surround this dome with a thin outer ring (cylinder) that has an outer radius of 18.5mm and a thickness of 2mm.
On the face of the dome, integrate a five-pointed star. The star's outer ... | r1=18.5;
h1=12;
thick=2;
module master_paulliu(h) {
linear_extrude(height=h) {
rotate([0,0,180]) {
translate([-1.2,-1.1,0]) {
text(text="劉", font="AR PL UKai TW", size=1);
}
}
}
}
r2=(-h1*h1 - r1*r1)/(-2.0*h1);
module star(n=5,h=2,r1=20,r2=10) {
uni... | glb/cad_512430d01ebb.glb |
Create a robot kit called Sapoconcho KIS consisting of two circular chassis plates, two wheels, and support pillars.
Construct the lower chassis as a cylinder 90mm in diameter and 1.5mm thick. Remove a central 20mm diameter hole and four 3.2mm diameter holes positioned symmetrically at 32mm from the center. Add a cent... | {
rotate([180,0,90])base_inf();
translate([0,0,55])rotate([0,180,90])
base_sup();
translate([0,85,10])rotate([90,0,0])
rueda();
translate([0,-85,10])rotate([-90,0,0])
rueda();
translate([0,25,28])rotate([0,180,0])
soporte();
translate([0,-25,28])rotate([0,180,0])
soporte();
}
color("grey"){
translate([22,32,15])pilar(... | glb/cad_134b80d97d9d.glb |
Create a Sapoconcho KIS robot base. Start with a main circular disk 90mm in diameter and 1.5mm thick. At the center of this disk, create a circular hole 20mm in diameter that passes through the 4mm thick base.
Positioned at the top edge, centered at coordinates (0, 38), add a vertical cylinder 14mm in diameter and 8.... | $fn=72;
gap=0.2;
difference(){
union(){
cylinder(d=90,h=1.5);
translate([0,38,0])cylinder(d=14,h=8.5);
translate([0,38,8.5])cylinder(r1=7, r2=6, h=1);
translate([-31,-12,0])cube(size=[12,24,4]);
translate([19,-12,0])cube(size=[12,24,4]);
}
translate([35,-18,-1])cube(size=[36,36,14]);
translate([-71,-18,-1])cube(size=... | glb/cad_832325bf33ef.glb |
Create a Sapoconcho KIS robot part by starting with a solid rectangular block measuring 23mm in length, 12mm in width, and 12mm in height. Carve out a central rectangular void from the top, leaving a base and two side walls; this void should be 12.2mm long, 14mm wide, and 12mm deep, positioned such that it starts 6mm f... | $fn=24;
gap=0.2;
difference(){
translate([-11.5,-6,0])
cube(size=[23,12,12]);
translate([-6-gap/2,-7,2])
cube(size=[12+gap,14,12]);
translate([8+gap,0,-1])cylinder(d=2.8,h=15);
translate([-8-gap,0,-1])cylinder(d=2.8,h=15);
} | glb/cad_64f15eacd15a.glb |
Create a wheel for the Sapoconcho KIS robot with an overall diameter of 31mm and a total height of 4mm. The main body consists of a thin outer rim and a central hub connected by six equally spaced spokes. The outer rim is formed by a base disc 0.8mm thick, a middle section 1.2mm thick with a radius of 14.5mm, and a top... | $fn=60;
d_eje=3.7;
r_ext=15.5;
union(){
difference() {
union(){
cylinder(h=.8,r1=r_ext,r2=r_ext);
translate([0,0,.8])
cylinder(h=1.2,r1=r_ext,r2=r_ext-1);
translate([0,0,2])
cylinder(h=1.2,r1=r_ext-1,r2=r_ext);
translate([0,0,3.2])
cylinder(h=.8,r1=r_ext,r2=r_ext);
}
translate([0,0,-1])cylinder(h=6,r=r_ext-2);
}
diffe... | glb/cad_18de48ace047.glb |
Create a Sapoconcho KIS robot base by starting with a thin circular disc 90mm in diameter and 2mm thick. Center a vertical cylindrical hole 20mm in diameter and 4mm deep through the middle of the disc. Add four smaller vertical holes, each 3.2mm in diameter and 15mm deep, positioned symmetrically at coordinates (32, 22... | $fn=120;
gap=0.2;
difference(){
union(){
cylinder(d=90,h=2);
translate([-34,-11,2])
cube(size=[10,22,6]);
}
translate([0,8,-1])cylinder(d=20,h=4);
translate([32,22,-1])cylinder(d=3.2,h=15);
translate([32,-22,-1])cylinder(d=3.2,h=15);
translate([-32,22,-1])cylinder(d=3.2,h=15);
translate([-32,-22,-1])cylinder(d=3.2,h... | glb/cad_ef01e8bc9c13.glb |
Create a Sapoconcho KIS robot chassis by starting with a central rectangular base measuring 48mm by 25mm with a thickness of 1.5mm. Centered on the top surface of this base, add a smaller rectangular block measuring 24mm by 1.5mm by 6mm, and atop that, another block measuring 12mm by 1.5mm by 12mm.
Integrate two circ... | $fn=120;
difference(){
union(){
cube(size=[48,25,1.5],center=true);
translate([0,11.75,2.25])
cube(size=[24,1.5,6],center=true);
translate([0,11.75,5.25])
cube(size=[12,1.5,12],center=true);
translate([0,11.75,5.25])
rotate([90,0,0]){
translate([6,0,0])
cylinder(d=12,h=1.5,center=true);
translate([-6,0,0])
cy... | glb/cad_2dc14c4427dd.glb |
Create a Door Striker consisting of a main rectangular base 87mm long, 22mm wide, and 7mm thick. Attached to the side of this base, starting 12mm from the left edge, add a rectangular block that extends the width by 14mm and maintains the 7mm thickness, spanning 28mm in length.
Remove two circular holes from the asse... | difference(){
union(){
cube([87,22,7]);
translate([12,-13.99,0]){cube([28,14,7]);}
}
translate([7.5,12,0]){
union(){
translate([0,0,-0.01]){cylinder(2,2,4);}
translate([0,0,1.98]){cylinder(10,4,4);}
}
}
translate([7.5+72,12,0]){
union(){
translate([0,0,-0.01]){cylinder(2,2,4);}
translate([0,0,1.... | glb/cad_1c7c330419ab.glb |
Create a mounting bracket for an extruder mod with a total thickness of 3mm. The core of the part is a flat ring with an outer diameter of 56mm and a central circular hole with a diameter of 44mm.
Extend four identical arms from the outer edge of the ring, spaced equally every 90 degrees. Each arm consists of a recta... | r_angle = 30.159;
r_distance = 44.238;
r_bolt_d = 4;
w_bolthole_d = 50;
w_bolt_d = 3.2;
part_h = 3;
part_w = 3;
arm_w = r_bolt_d + (part_w*2);
difference()
{
for(a = [r_angle,-r_angle,180+r_angle,180-r_angle])
{
rotate([0,0,a])
{
difference()
{
union()
... | glb/cad_0becd6f59a11.glb |
Create a blower nozzle and cap set consisting of two separate components. For the cap, create a base using a truncated cone that transitions from a radius of 4.25mm at the bottom to 5.2mm at the top over a height of 5mm. Above this base, add a cylinder with a radius of 5.2mm and a height of 5.3mm. Within this structure... | translate([0,0,2])cap();
translate([20,0,1])nozzle();
module cap() {
difference() {
union() {
translate([0,0,-2])cylinder(h = 5, r1=4.25, r2=5.2);
translate([0,0,3])cylinder(h = 5.3, r=5.2);
scale([0.9,0.9,0.9])difference() {
translate([0,0,13])cube(size = [12,12,8], center = true);
... | glb/cad_b3e362012d7f.glb |
Create a rubFinger massage tool consisting of a hollow cylindrical shell with an external textured pattern. The main body is a cylinder with an outer diameter of 26.5mm and a total height of 53mm. The interior is hollowed out to accommodate a finger, featuring a central cylindrical void with a diameter of 20mm and a he... | diametreDoigt=20;
longeurDoigt=50;
$fn=20+0;
diametreBille=4+0;
epaisseurFond=3+0;
epaisseurParoi=2+0;
ecartParoi=0.5+0;
diametreExterne=diametreDoigt+epaisseurParoi*3+ecartParoi;
hauteurExterne=longeurDoigt+epaisseurFond;
nbBilleH=hauteurExterne/(diametreBille*2);
nbBilleR=(3.14159*diametreExterne)/(diametreBille)... | glb/cad_973a2e23c5e4.glb |
Create a fractal truncated icosahedron, known as a Bucky Ball. Start by constructing a base truncated icosahedron centered at the origin. The vertices are defined by all even permutations of $(0, \pm 1, \pm 3\phi)$, $(\pm 2, \pm(1+2\phi), \pm\phi)$, and $(\pm 1, \pm(2+\phi), \pm 2\phi)$, where $\phi$ is the golden rati... | fdepth = 1;
childsc = .175;
swhex = 1;
swpent = 1;
phi = (1 + sqrt(5)) / 2;
pp1 = [0, 1, 3 * phi];
pp2 = [phi, 2, 1 + 2 * phi];
pp3 = [2 * phi, 1, 2 + phi];
po = [0, 0, 0];
ddh6 = pp1;
ddh5 = pp2;
ddh4 = pp3;
ddh3 = [ddh4[0], -ddh4[1], ddh4[2]];
ddh2 = [ddh5[0], -ddh5[1], ddh5[2]];
ddh1 = [ddh6[0], -ddh6[1], ddh6[2... | glb/cad_c48e41c38b4d.glb |
Create a small garden shovel consisting of a handle and a scoop. For the handle, create a cylinder with a radius of 15mm and a length of 125mm. At the end of this handle, remove a smaller concentric cylindrical hole with a radius of 4mm and a depth of 40mm. For the scoop, construct a rounded, bowl-like shape by blendin... | mirror([0,0,1])intersection(){
translate([20,20,0])rotate([0,-6,45]){
intersection(){
translate([0,0,0])difference(){
hull(){
translate([100,0,0])rotate([0,90,0])cylinder(r=30, h=1);
sphere(r=40);
}
hull(){
sphere(r=35);
translate([100,0,-3])rotate([0,90,0])cylinder(r=25, h=2);
... | glb/cad_ba6a97624521.glb |
Create a spool holder bracket by starting with a solid block that is 40mm wide, 30mm deep, and 19mm high. Round the exterior vertical edges with a 4mm radius. Remove a large rectangular section from the center to create a U-shaped channel, leaving two side walls that are each 20mm wide and 22mm high, separated by a gap... | module hexagon(size, height) {
boxWidth = size/1.75;
for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true);
}
mirror([1,0,0]) {
difference() {
union() {
translate([0, -10, 0])
minkowski()
{
cube([20,30,19]);
cylinder(r=4,h=1);
}
difference() {
hull()
{
translate([12.5, 12.5,... | glb/cad_e0cc844a4b37.glb |
Create a bike ahead headset cover. Start by constructing a main hollow cylinder with an outer diameter of 24.5mm, a wall thickness of 1.5mm, and a total height of 10mm. At the bottom of this cylinder, add a 5mm tall base section that tapers slightly from an outer diameter of 24.5mm to 21.5mm.
Cut four identical verti... | $fn=200;
h1=10;
pipe_inner_dia=24.5;
wall=1.5;
difference()
{
union()
{
translate([0,0,-(h1+5)/2])difference()
{
cylinder( r2=pipe_inner_dia/2,r1=pipe_inner_dia/2-1.5,h=5,center=true);
cylinder( r=pipe_inner_dia/2-wall,h=18+1,center=true);
}
difference(... | glb/cad_e59a75f872c7.glb |
Create a flanged elbow connector consisting of two identical barbed arms joined at a 120-degree angle. Each arm is built around a central hollow core with an inner diameter of 4mm.
For each arm, start with a base cylinder that is 6mm long with a 2mm radius. On top of this base, add a tapered barbed section 9mm long. ... | overlap = 0.001;
OD = 6.25;
OR = OD/2;
ID = 4;
IR = ID/2;
conetop = IR+((OR-IR)/2);
length = 9;
sections = 4;
section_length = length/(sections);
standoff=6;
print_elbow(angle=120, $fn=24);
module print_cone_section()
{
conebottom = OR;
difference()
{
cylinder(r1=conebottom, r2=conetop, h=section_length+ov... | glb/cad_a0d3c4a6de04.glb |
Create a Router Mount consisting of a tiered base and a cylindrical high mount.
For the base, create three concentric stacked rings. The bottom ring has a height of 5.5mm and an outer radius of 24.5mm with an inner hole radius of 22.625mm. The middle ring is 2.5mm high with an outer radius of 24.5mm and an inner hole... | module base_mount(support_thickness=3,num_supports=6,clip_ring=false,plate_dia=0,plate_thick=3,plate_screw_dia=3,plate_num_screws=6,plate_screw_spacing_d=0){
h1=5.5;
d1=45.25;
h2=2.5;
h3=9.6;
d3=45;
d2=clip_ring?41.6:min(d3,d1);
tab_w=8.65;
tab_h=3.33;
tab_r_plus=1.75;
thickness=2;
or=(max(d1,d2,d3))/2+thick... | glb/cad_947618fc481b.glb |
Create a T5 parametric pulley. Start with a cylindrical base 20mm in diameter and 8mm high. Above this base, add a toothed section 12mm high with a total height of 20mm. This upper section should feature 8 evenly spaced teeth around its perimeter.
Bore a central hole through the entire model with a diameter of 5.2mm t... | module pulley()
{
m3_dia = 3.4;
m3_nut_hex = 1;
m3_nut_flats = 5.9;
m3_nut_depth = 4.4;
motor_shaft = 5.2;
retainer = 0;
idler = 0;
pulley_t_ht = 12;
pulley_b_ht = 8;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
m3_nut_points = 2*((m3_nut_flats/2)/cos(30));
module spur()
{
linear_extrude(height=pulley_t_... | glb/cad_e4f662231c60.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.