Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Pi Zero Clock enclosure. Start by constructing a main outer case with a rounded exterior using a 2mm radius. The outer dimensions are based on a clock face of 120.5mm x 41.5mm x 9.5mm, with an overall enclosure depth of 50mm and wall thickness of 2mm.
Hollow out the interior to create a cavity for the clock ... | clock_x = 120.5;
clock_y = 41.5;
clock_z = 9.5;
extra_plate_y = 10;
extra_plate_z = 1.75;
wall_thickness = 2;
horizontal_wall_thickness = wall_thickness + 5;
enclosure_depth = 50;
zero_x = 58.1;
zero_y = 23;
zero_z = 1.5;
zero_mink_r = 3.5;
zero_hole_diameter = 2.75;
microusb_x = 9;
microusb_y = 3.25;
minihdmi_... | glb/cad_70535e4fc692.glb |
Create an air hockey handle and puck consisting of a hollow outer shell and a central handle. Start by creating a cylindrical base with an outer diameter of 100mm and a height of 5mm. On top of this base, build a cylindrical shell with an outer diameter of 100mm and an inner diameter of 80mm, reaching a height of 30mm.... | $fn = 60;
SHELL_OUTER_DIAMETER = 100;
SHELL_INNER_DIAMETER = 80;
SHELL_HEIGHT = 30;
BASE_THICKNESS = 5;
HANDLE_DIAMETER = 30;
HANDLE_HEIGHT = 60;
HANDLE_TOP_BALL_SCALE_Z = 0.75;
MAKE_TOP_SHELL_CURVED = 1;
MAKE_HANDLE_TOP_CURVED = 1;
HANDLE_CURVE_HEIGHT = 10;
SHELL_TOP_CURVE_RADIUS = (SHELL_OUTER_DIAMETER - SHELL_IN... | glb/cad_50d45d8856bf.glb |
Create an air hockey puck by starting with a solid cylinder that has an outer diameter of 90mm, a height of 8mm, and a facet resolution of 30 sides. From this main body, remove a smaller concentric cylinder from the bottom to create an air gap. This bottom cutout should have a radius of 35mm and a height of 2mm. Then, ... | $fn = 30;
OUTER_DIAMETER = 90;
INNER_DIAMETER = 70;
PUCK_HEIGHT = 8;
AIR_GAP = 2;
OUTER_RADIUS = OUTER_DIAMETER / 2;
INNER_RADIUS = INNER_DIAMETER / 2;
air_hockey_puck();
module air_hockey_puck()
{
difference()
{
outer_ring();
translate([0,0,-0.01])
bottom_air_gap();
translate([0,0,PUCK_HEIGHT - AIR_GAP... | glb/cad_5b0a8018b272.glb |
Create a J-head mk v direct feed bolt jig. Start by creating a base shape that is a hull encompassing two cylinders with a radius of 8mm and a height of 10mm, positioned 50mm apart at coordinates (-25, 0, 0) and (25, 0, 0). From this main body, remove a central vertical cylinder with a radius of 3.5mm and a height of 6... | $fn=100;
module hex_base(hexx,hexy,hexz,hexi) {
translate([0,0,hexz/2])linear_extrude(height = hexz, center = true)
polygon (points = [[-hexx/2,0],[-hexi/2,hexy/2],[hexi/2,hexy/2],[hexx/2,0],[hexi/2,-hexy/2],[-hexi/2,-hexy/2]]);
}
difference() {
hull() {
translate([-25,0,0])cylinder(r=8,h=10);
translate([25,0,0]... | glb/cad_af7a59013ffa.glb |
Create a Rawlings One Handed Synthetic Sparring Sword Grip. Start by constructing the main outer body as a hull that connects a sphere with a 12.5mm radius centered at the top (Z=118) to two spheres with 11.5mm radii positioned at the base, spaced 7mm apart along the X-axis. Constrain this volume by intersecting it wit... | module tang(){
hull(){
translate([0,14/2-5,0]){
translate([27/2-5,0,0]) sphere(5);
translate([-27/2+5,0,0]) sphere(5);
}
translate([0,-14/2+5,0]){
translate([27/2-5,0,0]) sphere(5);
translate([-27/2+5,0,0]) sphere(5);
}
translate([0,14/2-5,118]){
translate([19/2-5,0,0]) sphere(5);
tra... | glb/cad_185090ee8e42.glb |
Create a customizable vex plate by constructing a grid of square units. Each unit is a square measuring 12.7mm by 12.7mm with a thickness of 1mm. For each unit, create a central square hole measuring approximately 4.23mm by 4.23mm. This hole must be rotated 45 degrees relative to the unit's edges to form a diamond shap... | width=5;
length=10;
thickness=1;
unit_width=0.5*2.54*10;
union(){
for(j=[0:width-1]){
union(){translate([0,unit_width*j,0]){
for(i=[0:length-1]){
translate([unit_width*i,0,0]) vex_unit();
}
}
}
}
}
module vex_unit(){
translate([unit_width... | glb/cad_b193597beb03.glb |
Create an Interlocking Card Tray designed to hold cards of 40mm width and 40mm height. Start with a base plate measuring 46mm by 46mm with a thickness of 2mm. Centered on this plate, create a rectangular cutout of 36mm by 36mm with a depth of 2.1mm.
Add finger access slots to the base: two centered rectangles measuri... | cardWidth = 40;
cardHeight = 40;
totalCardDepth = 0.25;
xySpace = 2;
zSpace = 2.5;
numberOfCards = 10;
baseEdgeThickness = 7;
filletSize=8;
interlockClearance = -1.2;
topBottomInterlockClearance = 0.7;
lidOnly = "no";
lockingLid = "yes";
module basePlate() {
cube ([cardWidth+4+xySpace, cardHeight+4+xySp... | glb/cad_5d89cb18cf6b.glb |
Create a closet rod holder consisting of a flat base and a semi-circular support cradle. Start with a base plate that is 40.5mm wide, 27mm deep, and 3mm thick, with rounded corners. In this base, create two vertical cylindrical holes for mounting plugs, each with a radius of 2mm, spaced 32mm apart and offset by 8mm fro... | $fn = 100;
include <MCAD/boxes.scad>
bar_radius = 27/2;
plug_depth = 8;
plug_radius = 2;
plug_distance = 32;
plugs_offset = 8;
holder_bottom_thns = 12;
holder_top_thns = 5;
base_width = bar_radius*2+holder_bottom_thns*2;
base_depth = 3;
o = 0.01;
distance = 1;
base();
translate([-10,0,base_depth-o]) holder();
tran... | glb/cad_a244cba72c35.glb |
Create a 2020 Extrusion profile with a total height of 10mm. Start with a central square block measuring 8mm by 8mm. Around this center, add four smaller square blocks measuring 4.5mm by 4.5mm, positioned such that their centers are at coordinates (7.5, 7.5), (-7.5, -7.5), (-7.5, 7.5), and (7.5, -7.5).
To form the ou... | bar_height= 10;
print_part();
module print_part(){
translate([0,0,bar_height/2])
intersection(){
cylinder(d=26.87,h=bar_height,center=true, $fn=200);
difference(){
union(){
difference(){
cube([20,20,bar_height],center=true);
unio... | glb/cad_abc100b5f7aa.glb |
Create a Ball Caster V2 designed to hold a 16mm diameter marble. The main body is composed of a central cylinder with a radius of 9.6mm and a height of 7mm, topped with a hemisphere of the same 9.6mm radius. This central structure is integrated into a flat base that extends to include two mounting points.
The base fea... | ball_diameter=16;
caster_height=20;
mountingHoles_width=30;
mountingScrew_dia=3;
nozzle_dia=0.4;
$fn=60;
difference(){
union(){
translate([0,0,0]) cylinder(h=ball_diameter/2-1, r=ball_diameter/2+4*nozzle_dia);
translate([0,0,ball_diameter/2-1]) sphere(r=ball_diameter/2+4*nozzle_dia);
li... | glb/cad_1d1a5c44a777.glb |
Create a slip-on lens hood for a Voigtlander Bessa 6.3. Start by constructing a hollow cylinder with an outer diameter of 33.78mm, an inner diameter of 31.78mm, and a total height of 20mm, ensuring a wall thickness of 1mm.
From the center of the bottom face, remove a pyramid-shaped section to create a viewing port. T... | $fn = 150;
padding = 1;
overall_length=20;
inside_diameter=31.78;
thickness=1;
width_window=25;
height_window=12.6;
film_width=107.85;
film_height=54.19;
lens_standoff=6.17;
centerline_depth=9.35;
filmplate_to_centerline_lens=109.5;
shutter_slot_height=3;
shutter_slot_width=13;
#translate([0,0,overall_length])
#rotat... | glb/cad_a7fd4c101300.glb |
Create a 2020 geared extruder motor mount. Start with a central semi-cylindrical body with a radius of 20mm and a total height of 66mm. On the flat side of this semi-cylinder, add three rectangular mounting blocks that press against the frame; two blocks are 20mm wide, 12mm deep, and 17mm long, positioned at the top an... | profile_w = 20;
mount_depth = 12;
motor_h = 66;
motor_r = 20;
motor_w = 42;
bolt_head_d = 8.5;
bolt_head_h = 3.3;
bolt_d = 5;
module GearedExturderMotorMount()
{
difference()
{
union()
{
frame_mount(0, 17);
frame_mount(23, motor_h - 23 * 2);
frame_mount(motor_h - 17, 17);
translat... | glb/cad_5a965a52e322.glb |
Create a wire rack clip with a total width of 30mm. Start with a solid rectangular block measuring 13mm wide, 47.25mm high, and 30mm deep. Carve out a central rectangular channel from the top, leaving walls that are 3.25mm thick on each side; this channel should be 6.5mm wide, 34.25mm high, and 30mm deep.
At the top ... | lipWidth=34.25;
wireWidth=6.5;
doFlexNotch=true;
width=30;
module clip(_lip_width, _wire_radius, _do_flex_notch, _width, _wire_spacing, _small_wire_width) {
difference() {
cube([_wire_radius*4, _lip_width+(2*_wire_radius), _width]);
translate([_wire_radius, _wire_radius*2, 0]) cube([_wire_radius... | glb/cad_f366b6f081a9.glb |
Create a headphone hook for a wire rack consisting of a mounting clip and an extending arm. Start by creating the mounting clip: a rectangular block 13mm wide, 34.25mm deep, and 30mm high. Hollow out the center of this block by removing a smaller rectangular section 19.5mm wide and 21.25mm deep, leaving walls 3.25mm th... | headband_width = 40;
lipWidth=34.25;
wireWidth=6.5;
doFlexNotch=true;
width=30;
module clip(_lip_width, _wire_radius, _do_flex_notch, _width, _wire_spacing, _small_wire_width) {
difference() {
cube([_wire_radius*4, _lip_width+(2*_wire_radius), _width]);
translate([_wire_radius, _wire_radius*2, ... | glb/cad_f305e355a66f.glb |
Create a bottom bracket tool consisting of a hexagonal base and a central cylindrical tower. Start by constructing a base plate 3.2mm thick. This base is formed by the union of three overlapping rectangular tabs, each 28.5mm long and 4.9mm wide, rotated at 60-degree intervals around the center, and a central cylinder w... | tabw=4.9;
tabod=28.5;
tabid=22.5;
tabz=3.2;
axled=19.1;
th=10;
tod=37;
difference(){
union(){
translate([0,0,tabz/2]) rotate(0, [0,0,1]) cube([tabod,tabw,tabz], true);
translate([0,0,tabz/2]) rotate( 60, [0,0,1]) cube([tabod,tabw,tabz], true);
translate([0,0,tabz/2]) rotate( -60, [0,0,1]) cube([tabod,tabw,tabz]... | glb/cad_b2cfcd58ffe4.glb |
Create an E3D V6 Adapter by starting with a main cylinder 11mm high with a diameter of 9mm, centered vertically. Remove a central vertical hole 11mm high with a diameter of 2mm to allow for filament passage. Within this central void, create a wider cylindrical cutout 7mm high with a diameter of 4mm, positioned to accom... | difference(){
translate ([0, 0, 5.8])cylinder(h=11, d=9, center=true, $fn=100);
translate ([0, 0, 6])cylinder(h=11, d=2, center=true, $fn=100);
translate ([0, 0, 3.5])cylinder(h=7, d=4, center=true, $fn=100);
translate ([0, 0, 10])cylinder(h=6, d1=2, d2=7 ,center=true, $fn=100);
} | glb/cad_350599b1fb91.glb |
Create a tool for removing bearing holders by constructing a primary cylinder with a radius of 22.975mm and a total height of 26.3mm. From this main body, remove a central vertical cylinder with a radius of 10.675mm and a height of 8.75mm. Additionally, remove four vertical cylinders, each with a radius of 1.125mm and ... | err=0.5;
herr=err/2;
caser=21.35/2+herr;
inset=1.25;
caseh=6.3;
wbolt=8.75;
boltr=9.85/2+herr;
pinr=2.25/2+herr;
maxor=45.95/2+herr;
th=20+caseh;
flatx=10;
flaty=maxor*2;
difference(){
union(){
cylinder(h=wbolt, r=maxor);
cylinder(h=th, r=maxor);
}
cylinder(h=wbolt, r=caser);
translate([caser,0,0]) cylinder(h=... | glb/cad_3462fe293cb7.glb |
Create a washer or bushing by constructing a hollow cylinder with a thickness of 2mm. The outer diameter of the cylinder should be 6.25mm and the inner diameter of the central hole should be 3.5mm. Ensure the circular profiles are rendered with a resolution of 60 facets to maintain a consistent geometric shape. | thick = 2;
innerdia=3.5;
outerdia=6.25;
res=60;
difference(){
cylinder(thick, d=outerdia, $fn=res);
cylinder(thick, d=innerdia, $fn=res);
} | glb/cad_15dc82b406ef.glb |
Create a Connector for Nebulizer consisting of a central vertical shaft with a hollow core. Start by creating a bottom cylindrical base with a diameter of 8.2mm and a height of 11.5mm. Above this base, add a threaded section with an outer diameter of 10mm, a pitch of 2.2mm, and a height of 8.5mm, featuring a 60-degree ... | extConFarExtD = 6.7;
extConCloseExtD = 7.1;
extConHeight = 16;
lDisk = 2.8;
hDisk = 1.7;
taperAngle = 45;
hPlate = 1.5;
hNut = 8.5;
dNut = 10;
pitchThread = 2.2;
angleThread = 60;
intConFarExtD = 7.8;
intConCloseExtD = 8.2;
intConTotHeight = 20;
extConIntD = 4.0;
intConIntD = 4.0;
$fn = 100;
hBody = hP... | glb/cad_403199df4ac1.glb |
Create a bike coffee holder consisting of a circular ring and a mounting attachment. Start by creating a ring with an inner diameter of 64mm, a wall thickness of 3mm, and a height of 20mm. This ring is formed by the intersection of a sphere with a radius of 35mm and a cube that is 66mm wide and 66mm deep, with the cent... | holeDiameter = 64;
ringWall = 3;
ringHeight = 20;
goProMountWidth = 3;
goProMountHeight = 15;
goProMountL = 25;
goProPin = 5;
module body() {
color ("Black", 0.8) sphere(35, true);
}
module intersector() {
w = holeDiameter + ringWall * 2;
color("Lime", 0.8) cube([w, w, ringHeight], true);
}
module holeOb... | glb/cad_4c35e8feb26f.glb |
Create a limit switch bracket starting with a rectangular base plate measuring 39mm wide, 15mm high, and 4mm thick. On the right side of this plate, add a retention body that is 24mm wide, 10mm high, and extends upward to a total height of 12mm. This retention body should have a hollow rectangular cutout in its center ... | module switch()
{
difference() {
union() {
cube([21, 10, 6.5]);
cube([10.6, 11, 6.5]);
}
translate([0, 3.0, -1])
union() {
translate([5.4, 0, 0])
cylinder(d=1.5, h=10);
translate([15.8, 0, 0])
... | glb/cad_7f52d0e343b7.glb |
Create a Parallel Line Jig consisting of a handle and five pen-holding clamps. Start by creating a handle that is 40mm long, 20mm high, and 7mm thick. The top two corners of the handle should be rounded with a radius of 10mm. Centered on the handle's thickness, add a rectangular connecting bar that is 5mm thick and 125... | numberOfLines = 5;
distanceApart = 30;
penDiameter = 17;
clampHeight = 8;
clampThickness = 2;
gripLength = 2.5;
frameThickness = 5;
frameLength = 15;
handleHeight = 20;
handleThickness = 7;
handleLength = 40;
handleRadius = 10;
rotation = 0;
rotate([0,0,-90+rotation])
union()... | glb/cad_81c10781c961.glb |
Create a Wade extruder for 1.75mm plastic wire consisting of three main components: a main body, an idler, and a lever.
Construct the main body as a rectangular block 24mm wide, 55mm high, and 28mm deep. At the center, create a vertical filament feed hole with a diameter of 2.625mm. Position a larger 4.8mm diameter ho... | $fn=50;
$fs=0.1;
malcolm_hotend_mount=1;
groovemount=2;
peek_reprapsource_mount=4;
arcol_mount=8;
mendel_parts_v6_mount=16;
grrf_peek_mount=32;
wildseyed_mount=64;
geared_extruder_nozzle=128;
jhead_mount=256;
reprapfaborg_mount=512;
head_conical_screw=1024;
standard_mount=2048;
p3steel_mount=4096;
layer_thickness=0.2... | glb/cad_e6392a975462.glb |
Create four Pella Window Screen Corner Brackets. For each bracket, construct a base by joining two intersecting rectangular prisms, each measuring 40mm by 12.8mm by 9.5mm, centered such that they form an L-shape with their long axes perpendicular to one another. To this L-shape, add a decorative or structural corner bu... | for ( i = [0 : 3] )
{
rotate (i * 90 ,[0,0,1])
translate([25,-40,0])
union() {
union() {
cube(size = [40,12.8,9.5], center = true);
translate([15.1, 15.1, 0])
cube(size = [12.8,40,9.5], center = true);
}
translate([8, 7, 0])
rotate( 45, [0, 0, 1])
translate([0, -9.0, 0.37])
cube(... | glb/cad_3d2910feb7fd.glb |
Create an aluminium extrusion foot with a main body that is a 20mm x 20mm square with a total height of 15mm. Round all vertical edges and the bottom four corners with a 2mm radius. On the top face, create four rectangular inserts that grip into the T-slots of a profile; each insert should be 5.5mm wide, 5.5mm deep, an... | width = 20;
height = 15;
insertsHeight = 2;
insertWidth = 5.5;
insertDepth = 5.5;
screwHole = 3;
screwHead = 5.5;
screwHeadRecess = 4;
screwIsFlat = true;
cutView = false;
corner = 2;
$fn = 100;
torso(width, height, insertsHeight, insertWidth, insertDepth, screwHole, screwHead, screwHeadRecess, screwIsFlat,... | glb/cad_c1ba1e3553c0.glb |
Create a Test Tower by starting with a rectangular prism base measuring 20mm by 20mm with a total height of 136mm. Along one side of the tower, create a series of repeating cutouts every 8mm of height. Each cutout consists of a rectangular notch 3mm wide and 4mm high located at the top edge, and a diamond-shaped void c... | machine = "Felix 3.1 / Atomic PLA";
temperature = "205 C";
BottomSpeed = 20;
TowerHeight = 136;
TowerSide = 20;
HeightIncrement = 8;
SpeedIncrement = 5;
EmbossHeight = 0.5;
Indent = 3;
overhangSide = min(HeightIncrement,TowerSide/2);
difference()
{
cube([TowerSide, TowerSide, TowerHeight]);
for(curren... | glb/cad_0d4189c48ca9.glb |
Create a customizable filament spool holder mount. The main body is a flat plate with a thickness of 10mm. The plate's profile is defined by a frame thickness of 6mm and a frame height of 40mm, with a mount thickness of 6mm. The overall shape is an elongated arm that extends to a mounting point.
At the end of the arm,... | part="hole";
spoolDiam=200;
SpoolCenterHoleDiam=53;
frameThickness=6;
frameHeight=40;
mountThickness=6;
hookLenght=6;
angle=66;
holderThickness=10;
pinWidth=10;
pin1Height=10;
pin2Height=10;
pin2TopWidth=29;
spoolCenterX=cos(angle)*((spoolDiam/2)+(SpoolCenterHoleDiam/2))+frameThickness;
spoolCenterY=sin(an... | glb/cad_0c0b6e0b98d7.glb |
Create a modified minimalistic MK8 extruder consisting of a base plate and an idler assembly.
Start with a base plate 15mm thick. The main body is a rectangular block 45mm wide and 10mm high, centered on the origin. At the edges of this block, centered at x = 15.5mm and x = -15.5mm, create two 12-sided polygonal hole... | filament_d = 1.75;
spring_d = 8;
plate();
translate([0,-20,0]) mirror([0,1,0]) plate();
module plate(){
translate([30,15,0])idler();
base();
}
module assembly(){
union(){
translate([0, 15.5, 0]) base();
translate([15.5, 15.5, 0]) {
%translate([-15.5, -15.5, 0]) translate([10.56 / 2 + 4 + filament_d, 0, 7.7]) linea... | glb/cad_0fbd9c31a3df.glb |
Create a space-filling Caffeine molecule model by positioning 24 spheres of varying sizes. All spheres should have a facet resolution of 25. Scale the entire assembly by a factor of 5.
Place spheres with a radius of 1.7mm at the following coordinates [x, y, z]: [0.99, -0.01, 0], [3.24, 1.07, 0], [4.54, -0.64, 0], [3.2... | scale(v=[5,5,5]) union(){
translate(v=[0.986995923116502, -0.0140258018961587, -0.000313438677489554]) sphere(r=1.7, $fn=25);
translate(v=[2.44015140848582, -0.023337228920833, -0.000277479461921278]) sphere(r=1.55, $fn=25);
translate(v=[3.24399296819012, 1.06750373662063, -0.000460820272429053]) sphere(r=1.7... | glb/cad_8d9e35de059d.glb |
Create a Nut Bracket for a linear carriage. Start with a central cylinder that has a radius of 12.5mm and a height of 3mm. Attach a rectangular block to the side of this cylinder; the block should have a width of 25mm (the diameter of the cylinder), a length of 22.5mm, and a height of 3mm, positioned so that it extends... | include <Parameters.scad>
function leadScrewBedDistance() = motorYOffset > 0 ? motorMountHeight / 2 + motorYOffset + extrusionBedDistance : motorMountHeight / 2 + extrusionBedDistance;
module screwHole(index) {
translate([nutScrewHoleDistanceFromCenter * cos(360 / nutNumberOfScrews * index), nutScrewHoleDistanceFrom... | glb/cad_a5b70b0e30d4.glb |
Create a Linear Carriage Double Track Bearing Mount consisting of a base bracket and a cylindrical bearing housing. First, construct a double track bracket as the foundation. On top of this bracket, centered along the Y-axis at a position determined by the motor offset, place a cylindrical bearing mount. This mount is ... | include <Parameters.scad>
include <DoubleTrackBracket.scad>
module bearingMount() {
difference() {
cylinder(r=(bearingDiameter + bearingHousingTickness + printingTolerance) / 2, h=bearingTickness * 2 + bearingWasherTickness + bearingGuard);
translate([0, 0, -1]) cylinder(r=(bearingDiameter + printingToleranc... | glb/cad_f4f16fe4b3d6.glb |
Create a Linear Carriage Double Track Motor Mount by starting with a DoubleTrackBracket base. In the center of this bracket, create a circular recess for a rotor shaft with a radius of 22.2mm and a depth of 10mm. Around this central recess, place four M3 screw holes positioned in a square pattern. The holes should be s... | include <Parameters.scad>
include <DoubleTrackBracket.scad>
module motorMount() {
union() {
translate([0, 0, -0.5])
cylinder(h=motorMountTickness*2, r=rotorShaftRecessFinalRadius);
translate([-motorMountingHoleDistance / 2, -motorMountingHoleDistance / 2, -0.5]) m3Screw();
translate([-motorMountingH... | glb/cad_2b7c03dad42c.glb |
Create an Icosahedral Container by starting with a regular icosahedron and modifying its faces with trigonal pyramids.
First, generate a set of 20 trigonal pyramids that use the icosahedron's faces as bases and point outward from the center. Scale the overall model by a factor of 20.
To create the container's hollow... | gr = (1+sqrt(5))/2;
rgr = 1/gr;
rgrs = rgr*rgr;
sc = 3.75;
sd = 0;
se = 1;
mark = 2;
if (mark==1)
scale(20)
polyhedron(gdd_points_three,gdd_faces);
else
if (mark==2)
scale(20)
rotate([31.717,0,0])
difference()
{
union()
{
polyhedron(gdd_points_one,icosa_faces);
polyhedron(gdd_points_one,tf_outer_8);
p... | glb/cad_6686c422458a.glb |
Create a Customizable Wire Rack Spool Holder designed to support a filament spool. Start by creating a central cylindrical body with an outer diameter of 250mm and a width of 45mm. This main body should have a hollow center with a diameter of 50mm.
At one end of the cylinder, add a lip that extends the diameter by 3mm... | spoolDiameter=250;
spoolWidth=45;
centerDiameter=50;
lipWidth=34.25;
wireWidth=6.5;
doFlexNotch=true;
width=30;
module clip(_lip_width, _wire_radius, _do_flex_notch, _width, _wire_spacing, _small_wire_width) {
difference() {
cube([_wire_radius*4, _lip_width+(2*_wire_radius), _width]);
transla... | glb/cad_a94afdac69ee.glb |
Create a Vesa Mount Base consisting of a rounded rectangular plate. The main body is a rounded rectangular prism with a thickness of 5mm, a width of 22.5mm, and a depth of 45mm. All corners of this base must be fully rounded with a radius of 2.5mm.
Within this base, create a central rectangular cutout to accommodate a... | baseThickness=5;
vesaSize=75;
baseSize=vesaSize+vesaSize/3.5;
mountOffSet=(baseSize-vesaSize)/2;
$fn=64;
baseThicknessOffSet=baseThickness*1.075;
widthOfFrame=3.50;
heightOfGapAvlblZaxisMotor=22.5;
depthMotorCase=45.0;
module fullyRoundedRect(x,y,z,r){
dia=r*2;
w=x-dia;
h=y-dia;
d=z-dia;
translate([r,r,r])hull(){
sph... | glb/cad_84f1a248102c.glb |
Create a tea infuser shaped like a voltage regulator component consisting of three main parts: a tea box, a grid back, and a hook.
First, create the front tea box as a hollow rectangular prism with outer dimensions of 25mm width, 25mm height, and 18.75mm depth, with wall thicknesses of 1mm.
Second, construct the back... | infuserWidth=25;
infuserDepth=infuserWidth*0.75;
wall=1;
infTop=infuserWidth*2/3;
infHole=infuserWidth/4.5;
legWidth=2;
legHeight=infuserWidth;
gridCenter=infuserWidth-wall*4-5;
gridNum=gridCenter/2.5;
fittingHeight=5;
hookWidth=12.5;
hookHeight=25;
hookDepth=2;
hookWall=8;
piece=1;
if (piece==1){
translate([0,... | glb/cad_a57a013bd41c.glb |
Create a right-angle bracket for furniture mounting with overall dimensions of 30mm in length, 30mm in width, and 20mm in height. The main structure consists of two perpendicular walls, each 4mm thick.
The first wall is a rectangular slab 30mm long, 4mm thick, and 20mm high. The second wall is a rectangular slab 4mm ... | dtrou=3;
h=20;
l=30;
ep=4;
renf=3;
coin=25;
coinplus=35;
angle();
base();
module angle(){
difference(){
union(){
cube([l,ep,h]);
intersection(){
cube([l,l,h]);
union(){
translate([0,ep,renf]) rotate([0,90,0]) cylinder(l,renf,renf,$fn=4);
... | glb/cad_a9f4e75515f7.glb |
Create a Parametric Revolver Quick-Loader Tray. Start with a rectangular base block that is 20mm thick (18mm height plus a 2mm base). The block should have rounded outer corners with a radius of 2mm. The overall footprint is determined by a grid of 4 by 4 cartridge clusters.
Within this block, create a grid of 16 clus... | radius = 4.85;
ccount = 6;
cspacing = 2;
height = 18;
wgroupings = 4;
dgroupings = 4;
spacing = radius*6;
base = 2;
outRadius = 2;
fontsize = 6;
font = "Liberation Sans";
content = "Rhino .357 Magnum/.38 Special";
tspacing = 0.9;
module tray(width) {
clusterSize = radius * 2;
width = (clusterSize +... | glb/cad_1f3373a2a357.glb |
Create an Aluminium Extrusion Surface Mount bracket. Start by forming the main body as a hull between two cylinders of 20mm radius and 5mm height, positioned 60mm apart along the Y-axis, and a central cube of 20mm dimensions centered at the origin but offset 15mm along the Z-axis.
Remove a central rectangular slot 60... | $fn = 100;
SurfaceDistance = 5;
ProfileSize = 20;
EndRadius = 20;
HoleDistance = 60;
ProfileScrewHole = 2.5;
ProfileScrewHead = 7;
ProfileScrewMaterial = 5;
SurfaceScrewHole = 2.5;
SurfaceScrewHead = 7;
SurfaceScrewMaterial = 5;
module wallmount(HoleDistance, EndRadius, ProfileSize, SurfaceDistance)
{
diffe... | glb/cad_04db05e23aa7.glb |
Create a Texas-shaped belt buckle with a thickness of 5mm. On the top surface of the Texas base, add a decorative pin consisting of a truncated cone that starts with a base radius of 3mm, tapers to a top radius of 1mm over a height of 10mm, and is capped with a sphere of radius 3mm.
On the left side of the buckle, cr... | buckle_x = 120;
buckle_r= 80;
buckle_y = 80;
buckle_t = 5;
buckle_border= 20;
hinge_h = 5;
offset=1;
union() {
translate([0,-30,-5]) scale([0.005,0.005,0.005]) linear_extrude(height = 1000, center = false, convexity = 10)
import (file = "Texas.dxf");
mirror([0,0,1]) {
translate([buckle_x/2-buckle_border,0,buckle_t]... | glb/cad_8c33f52ba77a.glb |
Create a Grip Handle for a 5.25 inch desktop drive bay. Start by constructing a main corpus shell with a width of 146.05mm, a height of approximately 97.1mm, and a thickness of 41.53mm. The shell should have rounded rear edges with a radius of 20.77mm and a hollowed-out center, leaving a wall thickness of 2mm on all si... | $fn=128;
A17 = 5.00;
A1 = 41.53;
A2 = 42.30;
A3 = 148.00;
A4 = 202.80;
A5 = 146.05;
A6 = 139.70;
A7 = 3.18;
A8 = 79.25;
A9 = 47.40;
A10 = 47.40;
A11 = 79.25;
A13 = 10.00;
A14 = 21.84;
A16 = 6.50;
A17 = 5.00;
A4short = 2*A9 + (A1 / 3.14159);
m3r = 2.5 / 2;
strength = 2;
pillar = A9 + 31;
zbuf = 0.01;
hollow_front... | glb/cad_fbe88b2640b3.glb |
Create a Grip Handle for a 5.25 inch desktop drive bay. Start by constructing a main corpus shell with a width of 146.05mm, a height of 41.53mm, and a depth of approximately 96.8mm (calculated as 2 * 47.4mm + 41.53/π). The shell should have rounded rear edges with a radius of 20.77mm. Hollow out the center of this corp... | $fn=128;
A17 = 5.00;
A1 = 41.53;
A2 = 42.30;
A3 = 148.00;
A4 = 202.80;
A5 = 146.05;
A6 = 139.70;
A7 = 3.18;
A8 = 79.25;
A9 = 47.40;
A10 = 47.40;
A11 = 79.25;
A13 = 10.00;
A14 = 21.84;
A16 = 6.50;
A17 = 5.00;
A4short = 2*A9 + (A1 / 3.14159);
m3r = 2.5 / 2;
strength = 2;
pillar = A9;
zbuf = 0.01;
hollow_front();
... | glb/cad_0d0362fd93f1.glb |
Create a protective case for an eLeaf iStick TC40W. The main body is a hollow shell with a wall thickness of 1mm. The external dimensions are 24.2mm wide, 36.2mm long, and 78.4mm high.
The shape is defined by a rounded profile on one end and a flatter profile on the button side. The rounded end is formed by a hull of... | caseWW = 1.0;
caseW = 22.0 + 0.2;
caseL = 34.8 + 0.2;
caseH = 77.4;
caseVRadius = 11.0 + 0.2/2;
caseVRCut = 14.0;
cutoutVH = 62.0;
cutoutVW = 11.0;
cutoutUW = 13.0;
cutoutUL = 8.0;
cutoutULPos = 24.0;
module caseVolume( cW, cL, cH, cVR, cVRC ) {
t = 2*asin(cVRC/(2*cVR));
d = cVR*cos(t/2);
cd = cL;
... | glb/cad_04f4e2c465c1.glb |
Create a bar clamp consisting of a semi-cylindrical sleeve and a flat mounting base. The sleeve is a half-hollow cylinder with an inner diameter of 50mm, an outer diameter of 60mm (creating a wall thickness of 5mm), and a total length of 25mm.
Attached to the bottom of this semi-cylinder is a rectangular base tab. Th... | barDiameter = 50;
clampWidth = 5;
clampLength = 25;
boltSize = 6;
boltRadius = boltSize/2;
tabSize = boltRadius + 10;
splitWidth = ((barDiameter/2+clampWidth*2+tabSize)*2+10);
translate([0,0,clampWidth]) rotate([0,90,0]) union() {
translate([0,barDiameter/2,0]) difference() {
cube([clampWidth, tabSize+clampW... | glb/cad_f5a1a6ce3e55.glb |
Create an Auto-Gurt-Dummy by constructing a flat, 3mm thick geometric plate. Start with a rectangular frame that is 35mm long and 21mm wide. The main body consists of a rectangular perimeter with a wall thickness of 4.5mm. The front and back vertical edges of this rectangle are 4.5mm wide, while the top and bottom hori... | dick = 3;
breit=21;
stark=4.5;
lang=35;
difference() {
translate([1,0, 0])
cube([stark,breit,dick]);
translate([-0,-4, 0])
rotate(45, [0, 0,1])
cube([5,5,dick]);
translate([-0,breit-3, 0])
rotate(45, [0, 0,1])
cube([5,5,dick]);
}
translate([stark,0, 0])
cube([lang-stark,stark,dick]);
translate([stark,breit-stark,0... | glb/cad_956b076eb85f.glb |
Create an Auto-Gurt-Dummy consisting of a flat plate with a total thickness of 3mm. Start by constructing a rectangular main body that is 35mm long and 21mm wide. This body should be hollowed out to create a rectangular slot that is 5.5mm wide, leaving a border of 5.5mm on the top and bottom edges and 5.5mm on the left... | dick = 3;
breit=21;
stark=5.5;
lang=35;
difference() {
translate([0,0, 0])
cube([stark+1,breit,dick]);
translate([-0,-4, 0])
rotate(45, [0, 0,1])
cube([5,5,dick]);
translate([-0,breit-3, 0])
rotate(45, [0, 0,1])
cube([5,5,dick]);
}
translate([stark,0, 0])
cube([lang-stark,stark,dick]);
translate([stark,breit-stark... | glb/cad_ef6da6a5a6a8.glb |
Create a Test Lead Holder consisting of a wall-mounting plate and several protruding fingers to hold cables.
Start by creating a rectangular mounting plate 20mm high, 5mm thick, and with a width that accommodates the fingers. Place two 3mm diameter holes through this plate for mounting.
Extend 5 fingers from the pla... | back_height=20;
back_thickness=5;
back_tilt=0;
numberof_fingers=5;
finger_length=50;
finger_thickness=5;
finger_width=5;
finger_gap=5;
mount_holes="yes";
hole_size=3;
finger_shape="round";
trim_sides= "yes";
build_plate_selector = 3;
build_plate_manual_x = 200;
build_plate_manual_y = 200;
build_plate(buil... | glb/cad_455566f1e43f.glb |
Create a glider aircraft model. For the main body, construct a hull that blends a cylinder of length 70mm and radius 3mm, centered on the Y-axis, with a sphere of radius 2mm positioned at the rear end (Y=60, Z=3). At the front of the body, add a cockpit by placing a sphere with dimensions 10mm by 18mm by 10mm, centered... | hull () {
translate([0,5,0]) rotate([90,0,0]) cylinder(70,3,3,$fn=100,center=true);
translate([0,60,3]) sphere(2,2,$fn=100,center=true);
}
translate([0,-30,2.01]) resize (newsize=[10,18,10]) sphere(5,5,$fn=100,center=true);
hull() {
translate([25,3,0]) rotate([0,0,33]) cube([60,3,0.5],center=true);
... | glb/cad_6eefde184224.glb |
Create a Filament Spool Holder consisting of four main components: two spool ends and two hanger arms connected by a central connector.
For each Spool End, create a base cylinder with a radius of 32mm and a height of 4.1mm. Remove a central vertical hole with a radius of 3.7mm and a height of 4.2mm. Add a concentric r... | $fn=72;
module SpoolEnd()
{
union()
{
difference()
{
cylinder(r=32,h=4.1);
translate([0,0,-.1])
cylinder(r=3.7,h=4.2);
}
translate([0,0,4])
difference()
{
cylinder(r=26,h=14);
cylinder(r=23,h=14);
... | glb/cad_6cdb0822f63d.glb |
Create a customizable hook for a wire rack. Start by creating a main rectangular block that is 10mm wide, 30mm long, and 10mm deep. At one end of this block, add a smaller rectangular lip that extends 5mm further, maintaining the 10mm width and 10mm depth.
To form the clip mechanism, create a larger rectangular body ... | lipWidth=34.25;
wireWidth=6.5;
doFlexNotch=true;
hookWidth=30;
hookLipWidth=5;
hookDepth=10;
width=10;
module hook(_hook_width,_hook_depth, _hook_lip_width) {
translate([-_hook_width, 0, 0]) cube([_hook_width, _hook_depth, width]);
translate([-1*_hook_width,_hook_depth,0]) cube([_hook_lip_width,_hook_dep... | glb/cad_aa0f99d315fd.glb |
Create a 608 Bearing Sleeve consisting of a hollow cylindrical body and a flared rim. Start by creating a main cylinder with an outer diameter of 25.25mm and a height of 11.1mm. Center a hole through the entire length of this cylinder with a diameter of 21.25mm.
At the top of this cylinder, add a circular flange with ... | use <hardware.scad>;
bearingsize = 22.25;
bearingwidth = 4.6;
bearingclampsize = 1;
bearingclamps = 3;
bearingclampangle = 60;
pulleythick = 1.5;
pulleyflangesize = 3;
beltwidth = 10;
$fn = 200;
module beltpulley() {
difference() {
union() {
translate([0, 0, pulleythick + beltwidth + pulleyflangesize / 2]) cyl... | glb/cad_e9a1f866b993.glb |
Create a vacuum bag attachment adapter. Start by constructing a hollow, rotationally symmetric funnel shape. The inner cavity should begin with a central vertical cylinder of 7mm radius and 25mm height. Transition this inner cylinder outward using a curve with a 10mm radius that extends to a wider outer bowl with a 20m... | bowl = 15;
bowl_r = 20;
stem = 10;
stem_r = 7;
neck_r = 7;
thickness = 3;
curve_r = 10;
$fa = 5;
$fs = 0.1;
eps = 0.01;
module profile() {
hull() {
translate([stem_r, 0])
square([thickness, eps]);
translate([neck_r + curve_r, stem])
... | glb/cad_717fece2c9d5.glb |
Create a PrintrBot Clone 3D model consisting of a base and X-axis assembly.
For the base, create two mirrored bottom components. Each consists of a central block 10mm x 80mm x 60mm. Add a top mounting plate 70mm x 60mm x 8mm and two side walls 35mm x 15mm x 60mm. Bore a central vertical hole 4mm in radius for the Z-r... | showfake = 1;
raildiam =8;
threaddiam =8;
lm8uuOD = 15;
width = 80;
height = 60;
module LeftBottom()
{
difference()
{
union()
{
cube(size=[10,width,60],center = true);
translate(v=[12.5,0,26])
cube(size=[70,width-20,8],center = true);
translate(v=[12.5,width/2 -15/2,0])
cube(size=[35,15,60],... | glb/cad_750c601dd284.glb |
Create two identical spindle arms for a Turkish-style drop spindle. Each arm is a curved, elongated bar with a width of 13mm and a length of 120mm. The profile of each arm is a rounded rectangle with a thickness of 6mm and beveled edges of 2mm.
Centrally located along the length of each arm, create a longitudinal hol... | side_count = 6;
stick_diameter = 8;
arm_length = 120;
arm_width = 13;
radius_factor = 2;
bevel = 2;
width = arm_width;
$fa = .5;
$fs = .5;
module round_stick() {
length = 200;
dia = stick_diameter;
cylinder(h=length, r=dia/2, $fn=side_count);
}
module crossbar(width, thickness, bevel) {
function loop_dr... | glb/cad_4d12740bb14b.glb |
Create a gear assembly consisting of two mirrored spur gears. Each gear has 15 teeth and a circular pitch of 2.25mm (calculated from a module of 1.5).
For each gear, create a central bore with a diameter of 1mm. The gear thickness is 4.95mm, with a rim width of 1mm and a rim thickness of 2mm. The hub diameter is 18.7... | ydia=15;
%cylinder(r=ydia/2,h=1);
ptch=1.5;
Ath=round(ydia/ptch);
totgt=9.9;
gtw=10;
ivfc=3;
bcksl=.15;
mirror([0,0,0]) rotate([180,0,0])
difference(){
union(){
#translate([0,0,-.025])
gear (number_of_teeth=Ath,
circular_pitch=180*ptch,
hub_diameter=Ath*ptch*1.25,
hub_thickness=0,
rim_width=1,
bore_... | glb/cad_14124a684668.glb |
Create a gear assembly consisting of two mirrored spur gears and a central hub. Each gear should have 37 teeth with a circular pitch of 222mm (1.5mm module) and a pitch diameter of 55.5mm. The gears are designed with a thickness of 2mm and a rim width of 1mm.
Construct a central hub with a bore diameter of 1.1mm. The ... | module rsqr(xa=4,ya=10,ha=20,ra=6.5){
translate([0,0,ha/2*-1])
hull(){
translate([-xa,ya,ha/2]) cylinder(r=ra,h=ha,center=true,$fn=26);
translate([-xa,-ya,ha/2]) cylinder(r=ra,h=ha,center=true,$fn=26);
translate([xa,0,ha/2]) cylinder(r=ra,h=ha,center=true,$fn=26);
}
}
nutrad=11.5;
ydia=56;
ptch=1.5;
Ath=round(ydia/p... | glb/cad_8edc5c7cb407.glb |
Create a 3D model of the yegahD extruder mount. Start by constructing the main body as a complex union of cylindrical and rectangular volumes. Create a central drive gear bezel with a radius of 6.6mm (based on the `beard` variable) and a thickness of 43mm.
Position a drive roller with a diameter of 9.22mm and a filam... | cwbolt=1;
ftype=2;
fmd=50;
hmdist=fmd+8*ftype;
fmo=0;
hfxtr=25-10*ftype;
fch=3.5;
fchh=5.5*1;
jhm=1;
ehm=0;
golemtraps=1;
engoff=-13;
engoffz=-22;
engmt=4;
engang=0;
inspect=0;
csaxes=0;
showmu=1;
attmd=15;
recmd=56;
jhwal=3;
drvele=13;
fild=2;
roldia=9.22;
rolfil=10.34;
tdep=0.6;
mbdia=13+.3;
... | glb/cad_c56216b42ccc.glb |
Create a Kobo Wifi Wall Mount by starting with a solid rectangular block measuring 15.5mm in depth, 122mm in width, and 32mm in height. Hollow out the center of this block to create a shell with a back wall thickness of 3mm and side walls of 1mm, leaving the top open. At the bottom center of the back wall, create a rec... | $fn = 10;
iW = 120.00;
iH = 30.00;
iD = 12.50;
holeX = 24.00;
holeW = 20.00;
wallW = 1.00;
backWallW = 3.0;
screwTolerance = 0.8;
screwHeadHeight = 6;
screwTopDiameter = 9 + screwTolerance;
screwBottomDiameter = 3 + screwTolerance;
screwSpacing = 3.3;
module screwHead()
{
rotate(a=90, v=[0, 1, 0])
{
... | glb/cad_1a4b9ac4d3d4.glb |
Create a Wades extruder idler rod by constructing a cylinder with a diameter of 7.5mm and a height of 18mm. The cylinder should be rendered with a low facet resolution of 30 sides, giving it a slightly polygonal cross-section rather than a perfectly smooth curve. Position the cylinder so that it is centered on the X an... | $fn=30;
boltd=8-.5;
bolth=20-2;
difference(){
translate([0,0,boltd/2-1])rotate([0,90,0])cylinder(h=bolth,d=boltd);
translate([-5,-5,-5])cube([50,50,5]);
} | glb/cad_79e5021d70f6.glb |
Create a stamp consisting of two mirrored handle sections connected by a central hinge. Each handle is a rectangular block 48mm wide, 70mm long, and 4mm high, with rounded ends where the width tapers via a 4mm radius.
On the inner face of each handle, create a recessed guide area 40mm wide and 40mm long. Within this ... | image_file = "pandflwaw.dat";
hinge_placement = 1;
emboss_height = 1.5;
$fa = 6;
$fs = 1.5;
image_width = 40;
image_length = 40;
image_padding = 4;
handle_width = image_width + image_padding*2;
handle_length = 70;
handle_height = emboss_height+2.5;
nub = 3;
tol = 0.4;
assembly();
module assembly() {
stamp_top... | glb/cad_82cde4b14423.glb |
Create a Cube Puzzle Box consisting of six identical pieces that together form a larger cube. Each individual piece is derived from a cube with a side length of 30mm. To create one piece, start with a 30mm cube and remove two tetrahedrons. The first tetrahedron is defined by the vertices (0,0,0), (30,0,0), (0,30,0), an... | mark = 3;
if (mark==1)
for (i = [-40,0,40])
{
translate([i,0,0])
mk_piece(15);
}
else
if (mark==2)
for (i = [-40,0,40])
{
translate([i,0,0])
mirror()
mk_piece(15);
}
else
if (mark==3)
scale(15)
union()
{
translate([-4,0,0])
polyhedron(cube_xyz,half_cube);
translate([0,0,0])
rotate([0,0,90])
polyhedron(cu... | glb/cad_7822b2a1de64.glb |
Create a table by constructing a thick, rounded rectangular slab supported by a central cylindrical pedestal. The tabletop should be a rounded rectangular prism with a top surface area of 20mm by 21mm and a total thickness of 12mm, featuring rounded corners with a radius of 15mm. Positioned centrally beneath this slab ... | cylinder(15,15,0,true);
rotate([180,0,0]) {
cylinder(15,15,9,true);}
$fn=50;
minkowski() {
cube([10,10,2]);
translate ([-5,-5.5,5]) cylinder(r=15,h=8,true);
} | glb/cad_fe600e09d53d.glb |
Create a strong fly swatter head. Start with a square plate measuring 95mm by 95mm with a thickness of 1.5mm. Round the four corners of the plate with a radius of 6mm.
Within the plate, create a grid of holes starting 6mm from each edge. Each hole should have a diameter of 4mm and be spaced 5.25mm apart. The holes ar... | swatter_thickness=1.5;
hole_diameter=4;
hole_spacing=5.25;
width=95;
height=95;
border=6;
corner_radius=6;
dowel_size=8.55;
dowel_socket_length=20;
dowel_socket_thickness=3;
reinforcements_height = 10;
reinforcements_width = 2;
reinforcements_angle = 27;
sides_reinforcements_length_ratio = 0.7;
sides_reinforcements_y_o... | glb/cad_6acde5d2836a.glb |
Create a filament spool bushing by starting with a cylinder that has a radius of 18.75mm and a length of 90mm. From this cylinder, remove a large rectangular section to create a semi-circular trough. Specifically, center a cutout that removes everything from the outer edge inward to a depth of 10mm from the center axis... | spool_inner_r=37.5/2;
length=90;
holder_w = 10;
holder_h = holder_w;
cut_offset = (1/8)*spool_inner_r;
e=.02;
rotate(a=[0,90,0])
difference(){
cylinder(length, spool_inner_r, spool_inner_r, $fn=360);
translate ([-cut_offset, -(spool_inner_r+e),-e]) cube([2*(spool_inner_r+e), 2*(spool_inner_r+e), length+2*e... | glb/cad_b4dba40f20a7.glb |
Create a filament spool bushing by starting with a main cylinder that has a radius of 18.75mm and a length of 95mm. At one end of this cylinder, add a circular flange with a radius of 26.25mm and a thickness of 5mm. To allow the bushing to fit onto a holder arm, remove a rectangular section from the entire length of th... | spool_inner_r=37.5/2;
length=90+5;
holder_w = 10;
holder_h = holder_w;
cut_offset = (1/8)*spool_inner_r;
flange_largest_r = spool_inner_r + 7.5;
flange_width = 5;
e=.02;
cut_plane_r = spool_inner_r + flange_largest_r + (flange_largest_r - spool_inner_r);
rotate(a=[0,90,0])
difference(){
union() {
cyli... | glb/cad_275af5d578e3.glb |
Create a cookie cutter for the mathematical symbol "π" using the Times New Roman font. The symbol should be centered and sized at 48mm.
Construct the main cutting wall by creating a 2mm diameter cylinder that follows the outline of the symbol, extruded to a total height of 8mm. The bottom 5mm of this wall should be a... | text="π";
lines=0;
lines_angle=45;
font = "Times New Roman";
letter_size = 48;
module solid()
mirror([1,0,0])
linear_extrude(height = 5, convexity = 10) {
projection(cut=false)
letter(text);
}
$fn=16;
module letter(l) {
linear_extrude(height = 1, convexity = 10) {
text(l, size = letter_size, font = ... | glb/cad_636719eaca09.glb |
Create a Raspberry Pi File Server mount designed to fit within a 5.25-inch bay. The structure consists of a main chassis that supports both a 3.5-inch hard drive and a Raspberry Pi.
The overall bay dimensions are 203.2mm wide, 146.05mm high, and 203.2mm deep. The 3.5-inch drive section is defined by a thickness of 23.... | plate = false;
part = 0;
hdmi_cable_opening=false;
pi_width = 56.1;
pi_height= 85;
pi_hole_dia= 2.75;
pi_thickness = 1.4;
pi_pin_length=11.6;
inch=25.4;
wall=2;
wiggle=0.2;
drive_thickness=0.927 * inch + wiggle;
drive_width=4*inch;
drive_depth=5.787 * inch;
bay_depth = 8 * inch;
bay_width = 5.75 * inch;
bay_thickne... | glb/cad_3b705d11a880.glb |
Create a 3D star with five points. The star should have a total height of 30mm. Each of the five points is formed by a geometric volume that extends from a central vertical axis. The inner radius of the star's core is 50mm, and the outer radius at the tips of the points is 100mm. The shape is constructed by repeating a... | k=5;
alpha=360/k;
high=30;
r1=50;
r2=100;
for (i=[0:alpha:360]){
rotate(a=i,v=[0,0,1]){
polyhedron(
points=[[0,0,0],[0,0,high],[r1*cos(alpha),r1*sin(alpha),0],[r2,0,0],[r1*cos(alpha),-r1*sin(alpha),0]],
faces=[[0,1,4],[0,2,1],[1,3,4],[1,2,3],[0,4,2],[4,3,2]]
);
}
} | glb/cad_cd3dd3b5fcc3.glb |
Create a Heart Pirates flag badge by starting with a thin circular base 2mm thick with a radius of 35mm. Hollow out the center of this base by removing a concentric cylinder with a radius of 32mm, leaving a thin outer ring.
Inside this ring, place a series of rectangular bars, each 2mm thick and 3mm wide, arranged to ... | difference() {
cylinder(r=25,$fn=100,h=2);
cylinder(r=22,$fn=100,h=2);
}
hull() {
translate([10,10,0])
cylinder(r=5, $fn=100,h=2);
translate([8,13,0])
linear_extrude(height=2)
polygon([[0,0],[-4,1],[0,2]]);
translate([7,12,0])
cylinder(r=3.5, $fn=100,h=2);
}
hull() {
translate([10,-10,0])
cylinder(r=5, $fn=10... | glb/cad_6f8707e55d08.glb |
Create a Heart Pirates flag badge. Start with a base cylinder that has a radius of 35mm and a height of 2mm, centered at the origin.
On top of this base, create a decorative ring by removing a concentric cylinder with a radius of 32mm and a height of 2mm, leaving a 3mm wide outer rim.
Within the center of the badge... | difference() {
cylinder(r=25,$fn=100,h=2);
cylinder(r=22,$fn=100,h=2);
}
hull() {
translate([10,10,0])
cylinder(r=5, $fn=100,h=2);
translate([8,13,0])
linear_extrude(height=2)
polygon([[0,0],[-4,1],[0,2]]);
translate([7,12,0])
cylinder(r=3.5, $fn=100,h=2);
}
hull() {
translate([10,-10,0])
cylinder(r=5, $fn=10... | glb/cad_a61d30e5b017.glb |
Create a Heart Pirates flag emblem. Start with a base disk that is 70mm in diameter and 2mm thick. Carve a concentric circular hole through the center of this disk with a diameter of 64mm, leaving a ring wall that is 3mm wide.
Inside the center of the disk, place a small vertical cylinder with a radius of 2.5mm and a ... | difference() {
cylinder(r=25,$fn=100,h=2);
translate([0,0,-1])
cylinder(r=22,$fn=100,h=4);
}
hull() {
translate([10,10,0])
cylinder(r=5, $fn=100,h=2);
translate([8,13,0])
linear_extrude(height=2)
polygon([[0,0],[-4,1],[0,2]]);
translate([7,12,0])
cylinder(r=3.5, $fn=100,h=2);
}
hull() {
translate([10,-10,0])
... | glb/cad_cf9cc880dd1b.glb |
Create a Heart Pirates flag badge by starting with a base cylinder that has a radius of 35mm and a height of 2.1mm. On top of this base, create a thinner concentric ring by removing a central cylinder with a radius of 32mm and a height of 4mm, leaving a rim that is 3mm wide.
Within the center of the badge, construct a... | difference() {
cylinder(r=25,$fn=100,h=2);
translate([0,0,-1])
cylinder(r=22,$fn=100,h=4);
}
hull() {
translate([10,10,0])
cylinder(r=5, $fn=100,h=2);
translate([8,13,0])
linear_extrude(height=2)
polygon([[0,0],[-4,1],[0,2]]);
translate([7,12,0])
cylinder(r=3.5, $fn=100,h=2);
}
hull() {
translate([10,-10,0])
... | glb/cad_a9b1b6169c5c.glb |
Create a Bigbox Bed Clip Cap by starting with a solid rectangular block measuring 17.15mm in width, 7mm in depth, and 2.9mm in height, centered on the origin. Carve out a rectangular hole from the center of this block to create a sleeve. This interior void should measure 13.15mm in width, 5mm in depth, and 0.9mm in hei... | holeWidth = 13.15;
holeHeight = 0.9;
holeDepth = 5;
surround=2;
difference() {
cube([holeWidth+surround, holeDepth+surround, holeHeight+surround], center=true);
translate([0,surround/2+0.01,0])
cube([holeWidth, holeDepth, holeHeight], center=true);
translate([0,surround/2+0.01-0.5,0])
cube([3, hole... | glb/cad_5a15d4c0b05a.glb |
Create a free-standing name plaque by constructing a rectangular plate measuring 101.6mm wide by 38.1mm tall with a thickness of 2mm. Bend this plate along its length to create an interior angle of 30 degrees, forming a V-shaped trough that allows the sign to stand upright. Centered on the front face of the plaque, add... | name = "name here";
font_size = 12;
text_font = "Arial";
plaque_Width=4;
plaque_Height=1.5;
plaque_interior_angle = 30;
inch = 25.4*1;
plaque_width = plaque_Width*inch;
plaque_height = plaque_Height*inch;
rotate([90,90,0]){
translate([-plaque_width/2,0,0]){
translate([0,.5*(plaque_height-plaque_height*cos(pla... | glb/cad_1020d3a58ba1.glb |
Create a single-sided snap pin assembly. Start by creating a central cylindrical shaft with a radius of 3.5mm and a total length of 12mm.
To form the hollow socket, create a cylinder with an outer radius of 4.2mm and a length of 12.3mm. Subtract a smaller internal cylinder from this shape to create a hole with a radi... | r=3.5;
l=12;
lh=3;
nub=1;
gap=.2;
union()
{
difference()
{
union()
{
translate([0,-10, 20.2])cube([20,20,40],center=true);
translate([0,-10,-20.2])cube([20,20,40],center=true);
}
pinhole(l=l,r=r,lh=lh,nub=nub,gap=gap);
}
flatness=.5;
difference()
{
translate([0,-(r-flatness),0])rotate([-90,0,0])p... | glb/cad_2192322d94d0.glb |
Create an Asymmetric Planetary Gear model consisting of several herringbone gears and a supporting holder. All gears have a thickness of 8mm and a module of 2.5mm.
First, create a large hollow herringbone gear with 37 teeth and an outer diameter of 105mm.
Next, create four smaller internal gears with the following t... | use <gears.scad>
use <pin0d.scad>
pinr=3.5;
pinl=06;
pin_nub=.8;
m=2.5;
h=8;
hhold=4;
teeth=37;
teeth0=13;
tweak0=.97;
x0=12;
y0=2.5;
teeth1=7;
angle1=$t*180;
tweak1=-4*angle1/teeth+.75;
teeth2=17;
angle2=$t*180+175;
tweak2=-4*angle2/teeth+.25;
teeth3=11;
angle3=$t*180+080;
tweak3=-4*angle2/teeth+.30;
teeth4=13;... | glb/cad_f63fcd3d0ba9.glb |
Create an Asymmetric Planetary Gear consisting of a herringbone gear. Construct the gear with a modulus of 1, 10 teeth, a profile shift of 0, and a face width of 4mm. The gear should feature a profile angle of 20 degrees and a herringbone helix angle of 45 degrees. Ensure the gear is centered and the teeth are generate... | iterations = 5;
gear_herringbone();
module Gear(m = 1, z = 10, x = 0, h = 4, w = 20, D = 13, clearance = -.1, center = true)
{
difference()
{
cylinder(r = D/2, h = h, center = center);
gear(m, z, x, h+1, w, center = center, clearance = clearance);
}
}
module Gear_herringbone(m = 1, z = 10, x = 0, h = 4, ... | glb/cad_729513515c77.glb |
Create a single-sided snap pin. Start by creating a central cylindrical shaft with a radius of 3.5mm and a total length of 12mm. At both ends of the shaft, add a lip that is 3mm high with a thickness of 1mm.
To create the snap mechanism, modify the shaft by removing a thin rectangular slice from the center to allow f... | r=3.5;
l=12;
lh=3;
nub=1;
gap=.2;
union()
{
difference()
{
union()
{
translate([0,-10, 20.2])cube([20,20,40],center=true);
translate([0,-10,-20.2])cube([20,20,40],center=true);
}
pinhole(l=l,r=r,lh=lh,nub=nub,gap=gap);
}
flatness=.5;
difference()
{
translate([0,-(r-flatness),0])rotate([-90,0,0])p... | glb/cad_fd9c1f7c06c1.glb |
Create a hollow cube for an Asymmetric Planetary Gear component. Start by constructing a solid outer cube with dimensions of 20mm x 20mm x 10mm, centered on the origin. From the center of this volume, remove a smaller rectangular prism measuring 10mm x 10mm x 20mm. The resulting shape should be a rectangular frame with... | difference()
{
cube([20,20,10],center=true);
cube([10,10,20],center=true);
} | glb/cad_e2c45e421c98.glb |
Create a customizable glass support consisting of a conical sleeve and an attached handle.
First, construct the sleeve as a hollow truncated cone with a height of 100mm. The base diameter is 50mm and the top diameter is 80mm, with a wall thickness of 4mm.
Attached to the side of the sleeve, create a handle with a co... | diametre_bas=50;
diametre_haut=80;
hauteur=100;
epaisseur=4;
hauteur_main=120;
largeur_main=25;
rayon_raccordement=10;
longueur_appui=20;
largeur_anse=50;
precision=30;
$fn=precision;
function distance(v1,v2)=sqrt((v2[0]-v1[0])*(v2[0]-v1[0])+(v2[1]-v1[1])*(v2[1]-v1[1]));
function new_atan(v1,v2) = (v2[0]>=v1[0]) ?
... | glb/cad_fdfcddbbf660.glb |
Create a rocket-shaped bead by combining a central cylinder and a conical tip. Start with a main cylindrical body that has a radius of 5mm and a height of 30mm. On top of this cylinder, add a cone with a base radius of 5mm and a height of 15mm, tapering to a point. To create the fins, add three identical flat wings spa... | len=30;
rad=5;
holerad=rad/3;
$fa = 0.5;
$fs = 0.1;
spacebead();
module spacebead() {
difference() {
rocket(rad, len, scale=1);
cylinder(3*len, holerad,holerad, center = true, $fn=45 );
}
}
module rocket(rad = 5, len = 40, scale = 1) {
scale(scale) {
translate([0,0,0]) {
translate([0,0,... | glb/cad_da04ada053e0.glb |
Create a parametric measuring scoop consisting of a rectangular container and an attached handle. The container is a hollow rectangular prism with a wall thickness of 3mm. Based on a volume of 5ml, the interior cavity should be a cube with a side length of approximately 17.1mm. The exterior dimensions of the container ... | use<write/Write.scad>;
volume=5;
units = 0;
wall_thickness = 3;
handle_length = 20;
depth_offset = 100;
aspect_ratio = 100;
text_margins = 10;
depthoffset=depth_offset/100;
names=["ml","tsp","Tbsp","Cup","FlOz"];
conv=[1000,4928.92159,14786.7648,236588.236,29573.5296];
cubicmm = volume*conv[units];
sideq = pow(cubic... | glb/cad_a2ddaaa91345.glb |
Create a Sparky Cable Chain clip designed to hold a cable guide rail. The main body is a rectangular block with a height of 16mm and a depth of 17.14mm.
At the center of the block, create a horizontal cylindrical hole with a diameter of 8mm that passes completely through the side walls to allow a rail to slide throug... | extrude_width=0.48;
miny=-13.06;
clipback=17.14;
chain_end_width=13.28;
bars = 3;
leadingtooth = 0.2;
trailingtooth = 0.35;
channel=2.25;
middlebar = 4;
longedge = 20.75;
shortedge = 15;
exactfoam = 5.2;
foamboard=exactfoam+1;
clipheight = 16;
cornerad=bars;
toothyinc = (trailingtooth - leadingtooth) / 6.... | glb/cad_10868fda9b56.glb |
Create a Sparky Cable Chain clip. Start with a rectangular base block that is 31.75mm high. On the top surface, create a channel that is 2.25mm wide to accommodate a steel case.
Integrate a clipping mechanism consisting of a middle bar 4mm thick and a top bar. The top bar should have a short edge of 15mm and a long e... | include <new-chain.scad>
conduitOD=20;
sheetmetal=38.26;
clipback=17.14;
chain_end_width=13.28;
bars = 3;
leadingtooth = 0.2;
trailingtooth = 0.35;
channel=2.25;
middlebar = 4;
longedge = 20.75;
shortedge = 15;
exactfoam = 5.2;
foamboard=exactfoam+1;
clipheight = 31.75;
cornerad=bars;
toothyinc = (trail... | glb/cad_7ec8fef86a7a.glb |
Create a set of parametric MPCNC Totem Corner parts. The primary components are the Top/Bottom parts and the Joiner part, both based on a square footprint of 53mm by 53mm.
For the Top and Bottom parts, create a block with a height of 14.275mm. Subtract a horizontal cylinder with a diameter of 23.6mm (representing the ... | $vpt=[107,71,-42];
$vpr=[50,0,311.7];
$vpd=680;
Len = 53;
Wid = Len;
EMT_OD = 23.6;
EMT_Len = 200;
EMT_Z_Offset = 2;
J_Ht = 23.6;
SP_Ht = 3.5;
Cover_Ht = 5;
Thk = 14.275;
Vert_Hole_Offset = 17.5;
M5_OD = 6.0;
M5_Res = 32;
M5Head_OD = 10.0;
M5Head_Res = 44;
M5CounterSink = 2.5;
M5Head_Ht = 5;
M5Nut_OD = M5Head_OD;... | glb/cad_2dbdc01e2895.glb |
Create a Parabolic Series Nose Cone mold holder by generating a solid of revolution. Start with a 2D profile and rotate it 360 degrees around a central vertical axis with a high facet resolution of 200 for a smooth finish.
The profile is defined by a parabolic curve where the maximum diameter at the base is 40mm and ... | include </Program Files/Openscad/libraries/mcad/materials.scad>
D = 4;
L = 13;
K = 0.5;
thick = 2;
v_x = L/K;
f_y = D/2/(2-K)/K-(2-K)*L*L/2/D/K;
function f(x) = (2*x/L - K*pow(x,2)/L/L)*D/2/(2-K);
color(Steel) rotate_extrude($fn=200) rotate([0,0,-90])
difference () {
translate([-L,0,0]) 2dgraph([0, L+2], thick, step... | glb/cad_41886004af99.glb |
Create a parametric squid keychain. Start with a central head by creating a sphere with a diameter of 24mm, then flatten it slightly along the Z-axis by scaling it to 90% of its height. Position two smaller eye spheres, each with a diameter of 8mm, on the head. These eyes should be scaled to 80% of their width and dept... | dim = 12;
num = 7;
module main() {
difference() {
body();
cut();
}
}
keychain();
module body() {
union(){
difference() {
scale([1, 1, 0.9])
sphere(dim*2);
rotate([0, 0, 12]) eyes();
}
for(r = [1:num]) {
rotate(360/num * r, [0, 0, 1]) translate([-dim, -dim, -dim... | glb/cad_421be3c56fe9.glb |
Create a parametric squid model based on a primary dimension of 12mm. Start by creating the head as a sphere with a diameter of 24mm, scaled along the Z-axis by a factor of 0.8 to flatten it slightly. Around the base of this head, place 7 smaller spheres, each with a diameter of 12mm. These spheres should be positioned... | dim = 12;
num = 7;
module main() {
difference() {
body();
cut();
}
}
keychain();
module body() {
union(){
difference() {
scale([1, 1, 0.8])
sphere(dim*2);
rotate([0, 0, 12]) eyes();
}
for(r = [1:num]) {
rotate(360/num * r, [0, 0, 1]) translate([-dim, -dim, -dim... | glb/cad_317f4e3971d6.glb |
Create a customizable print-in-place hinge and clip assembly for a wire rack. First, construct a C-shaped clip with a total width of 30mm. The clip should be designed to fit a wire with a radius of 3.25mm, with an outer lip width of 34.5mm. The clip's inner cavity should be a rectangular cutout of 9.75mm by 27.5mm, wit... | wireWidth=6.5;
doFlexNotch=true;
lipWidth=34.5;
width = 30;
spaceTolerance=0.6;
pinDiameter=10;
barrelThickness=3;
hingeHoleDiameter=6;
module clip(_lip_width, _wire_radius, _do_flex_notch, _width, _wire_spacing, _small_wire_width) {
difference() {
cube([_wire_radius*4, _lip_width+(2*_wire_radius), ... | glb/cad_fb67efdb7584.glb |
Create a Teleportation Shard prop by constructing a right-handed quartz crystal geometry with a total height of 150mm. The crystal should be formed by the intersection of multiple planes to create a faceted, elongated prismatic shape.
At the base of the crystal, create a vertical cylindrical hole with a diameter of 2... | pipeOD = 26.7;
nozzle = 0.4;
overlap = 12;
maxheight = 150;
slipOD = pipeOD+2*nozzle;
echo("Slip OD = ", slipOD);
Vmaxcircle = slipOD+2*nozzle;
Nmaxcircle = slipOD+5;
%translate([0,0,-overlap])cylinder(d=pipeOD,h=overlap);
difference(){
resize(newsize=[Nmaxcircle,Nmaxcircle,maxheight])difference(){
right... | glb/cad_38ee6e1a29ef.glb |
Create a trapezoidal screw adapter consisting of a central hexagonal column and a wider circular base. Start by creating a circular base disk with a diameter of 22mm and a height of 4.5mm. Centered on top of this disk, place a hexagonal prism with an outer diameter of 15mm and a height of 6mm.
Bore a central vertical... | decrou=15;
hecrou=6;
drondecroutrap=10.3;
dvistrap=9;
hrondecroutrap=2;
distvisfix=8;
dvisfix=3.5;
hdiskfix=4.5;
ddiskfix=22;
decrouvisfix=6.5;
hecrouvisfix=3;
difference(){
union(){
cylinder(hecrou,d=decrou,$fn=6);
translate([0,0,-hdiskfix]) cylinder(hdiskfix,d=ddiskfix,$fn=100);
}
trans... | glb/cad_d8b9e407edd2.glb |
Create a Custom End Cap by constructing a shallow cylindrical container. Start with a solid circular base that has a diameter of 74mm and a thickness of 1mm. On top of this base, add a concentric cylindrical ring with an outer diameter of 74mm and an inner diameter of 70mm, creating a wall thickness of 2mm. This outer ... | insideDiameter = 70;
wallThickness = 2;
height = 25;
capThickness = 1;
outsideDiameter = insideDiameter + wallThickness;
outsideRadius = outsideDiameter / 2;
insideRadius = insideDiameter / 2;
edgeHeight = height - capThickness;
cylinder(r=outsideRadius, h=capThickness);
translate([0,0,capThickness])
{
diffe... | glb/cad_5b1e3c02f130.glb |
Create a bunny rabbit picture frame by combining a main frame, ears, and a support tail. Start with the main frame body: create a cylinder with a radius of 10mm and a height of 2mm, then scale it by 1.5 along the X-axis to form an oval. Hollow out the center by removing a smaller oval created from a cylinder with a rad... | $fn = 30;
module frameBody() {
difference(){
difference() {
scale([1.5, 1, 1]) {
color("red")
cylinder(r = 10, h = 2);
}
translate([0, 0, -0.1]) {
scale([1.6, 1, 1]) {
cylinder(r = 8, h = 2.2);
... | glb/cad_a4f30fc1d124.glb |
Create a 3D model of a single piece for an Octahedron Coordinate Motion Puzzle. The core geometry is formed by the union of two identical pyramids. The first pyramid has a height of 20mm and a square base with a half-width of 10mm. The second pyramid is identical but rotated 90 degrees around the Z-axis.
To refine the... | All = 0;
Strut = 1;
OuterMain = 20;
OuterMinor = 10;
InnerMain = 15;
InnerMinor = 5;
Clearance = 0.2;
StrutWidth = 1;
module base(main, minor)
{
polyhedron(
points=[ [main, 0,0],[0,-minor,0],[-main,0,0],[0, minor,0],
[0,0,main] ],
triangles=[ [0,1,4],[1,2,4],[2,3,4],[3,0,4],
[1,0,3],[2,1... | glb/cad_170d8dea2cb8.glb |
Create a Citroën key button by forming a composite solid and removing a central void. Start by combining a sphere with a diameter of 11.5mm, scaled along the Z-axis by a factor of 0.7 to create an oblate spheroid, with a cylinder that has a diameter of 13mm and a height of 1mm positioned at the base. From this combined... | $fn=30;
difference(){
union(){
scale([1, 1, 0.7])
sphere(d=11.5);
cylinder(d=13, h=1);
}
translate([-6, -6, -5])
cube([12, 12, 5]);
translate([0, 0, -1])
scale([1, 1, 0.7])
sphere(d=11.5);
} | glb/cad_9cd35068a717.glb |
Create a button soccer player shim ring by constructing a flat, hollow cylinder. Start with a solid cylinder that has an outer diameter of 53mm and a height of 3mm. Center a cylindrical hole through the entire height of the object with an inner diameter of 35mm, resulting in a ring with a consistent wall thickness. Ens... | outerDiameter = 53;
innerDiameter = 35;
height = 3;
$fa = 1;
$fs = 1;
delta = 1;
echo(str("Drawing a ", outerDiameter, "×", innerDiameter, "×", height, " shim ring..."));
mainColor = [0.117, 0.565, 1];
highlightColor = [0.384, 0.726, 1];
difference()
{
color(mainColor)
cylinder(d = outerDiameter,
... | glb/cad_6c6ad3e4688f.glb |
Create a button soccer goalkeeper piece by starting with a conical frustum that has a bottom diameter of 60mm, a top diameter of 48mm, and a total height of 12mm. Hollow out the center of this shape from the bottom up to a height of 9mm, leaving a wall thickness of 3mm around the sides and a 3mm thick base. On the top ... | bottomDiameter = 60;
topDiameter = 48;
height = 12;
thickness=3;
$fa = 1;
$fs = 1;
delta = 1;
labelDiameter = 26;
labelDepth = 1;
holeDiameter = 8;
standDistance = 54;
mainColor = [0.117, 0.565, 1];
highlightColor = [0.384, 0.726, 1];
echo(str("Drawing a ", bottomDiameter, "×", topDiameter, "×", height, " goalk... | glb/cad_2fec417e8167.glb |
Create an Organize Kit consisting of three linear segments. Each segment is centered around a cylinder with a radius of 5mm and a length of 180mm.
At each end of the total assembly, place a plug. Each plug is a cylinder with a radius of 10mm and a height of 8mm. The plugs feature a rectangular cutout measuring 30mm b... | Part = 9;
Segments = 3;
Length = 180;
Scale = 1;
$fn = 50;
BarRadius = 5;
PinRadius = 1.5;
PlugHeight = 8;
module supportBar(size) {
cylinder(h=size, r=BarRadius, center=true);
}
module supportHook() {
radius = 5;
height = 3;
union() {
supportHookBase(height, radius);
translate([-... | glb/cad_b5f5d85cc4f0.glb |
Create a stylized artistic face model by combining several distorted geometric primitives. Start with a primary head shape formed by a sphere scaled to 0.01 on the X-axis, 1 on the Y-axis, and 1.4 on the Z-axis. Add an ear by placing a sphere scaled to 0.03 on X, 0.7 on Y, and 1.2 on Z at position [0.1, 4, 0], rotated ... | module head()
{
intersection()
{
difference()
{
union()
{
scale([.01,1, 1.4])
sphere(r=7);
translate([.1,4,0])
scale([.03,.7, 1.2])
rotate([-45,0,0])
sphere(r=2);
... | glb/cad_3bb674076452.glb |
Create a parametric oil filter wrench consisting of a hollow polygonal socket and a drive base.
First, construct the main body as a regular polygon with 12 sides. The inner void should have a diameter of 72mm (measured face-to-face for even-sided polygons or face-to-vertex for odd-sided ones), plus a 0.66mm clearance... | num_faces = 12;
filter_diameter_mm = 72;
usable_tool_depth_mm = 29;
drive_size_inches = 0.5;
wall_thickness_mm = 6;
bottom_thickness_mm = 4;
round_outside = 0;
$fn=50;
angle = 180 / num_faces;
r_to_face_if_odd_mm = (cos(angle) / (1+cos(angle))) * filter_diameter_mm;
R_if_even_mm = (filter_diameter_mm / 2) / cos... | glb/cad_ae1ee57a60cc.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.