Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a cooling case for a Raspberry Pi. Start by forming a main body that is the convex hull of four cylinders, each with a radius of 2mm and a height of 18mm, positioned at the coordinates (40.5, 26, 0), (40.5, -26, 0), (-40.5, 26, 0), and (-40.5, -26, 0).
From this body, remove a central rectangular slab measurin... | $fs = 0.1;
$fa = 5;
use <raspberrypi.scad>;
module _cone() {
translate([0.0, 0.0, -5.0]) cylinder(h=18.0, r=2.0);
translate([0.0, 0.0, 13.0]) cylinder(h=2.0, r1=2.0, r2=0.0);
translate([0.0, 0.0, -7.0]) cylinder(h=2.0, r1=0.0, r2=2.0);
}
module _block() {
hull() {
translate([40.5, 26.0, 0.0]) _cone();
... | glb/cad_bddc60daa500.glb |
Create a brainduino-dtnh electronics case. Start by constructing a rounded rectangular box with overall dimensions of 105mm in length, 59.5mm in width, and 14mm in height. The walls should have a thickness of 1.5mm. Use a fillet radius of 2mm for all exterior edges.
Hollow out the interior of the box, leaving the wall... | Version = "Neurobox v1.6.3.s";
Length = 105;
Width = 59.5;
Height = 14.0;
Thick = 1.5;
deltaH = 7.5;
Filet = 2;
Resolution = 50;
module prism(l, w, h) {
polyhedron(
points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]],
faces=[[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]]
);
}
mo... | glb/cad_05b80b9c2057.glb |
Create a brainduino-dtnh electronics case. Start by constructing a rounded rectangular box with overall dimensions of 105mm in length, 59.5mm in width, and 14mm in height. The box should have a wall thickness of 1.5mm and a fillet radius of 2mm on all exterior edges.
Hollow out the interior of the box, leaving a shell... | Version = "Neurobox v1.6.3.s";
Length = 105;
Width = 59.5;
Height = 14.0;
Thick = 1.5;
deltaH = 7.5;
Filet = 2;
Resolution = 50;
module prism(l, w, h) {
polyhedron(
points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]],
faces=[[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]]
);
}
mo... | glb/cad_aa984ac6d558.glb |
Create a power supply unit case for an Amiga. Start with a hollow rounded cube with a wall thickness of 2mm, outer dimensions of 145mm x 88mm x 65mm (accounting for the 2mm corner radii).
On the side panel, create a circular outlet with a radius of 7.8mm for the power cable and a rectangular cutout measuring 4mm x 12... | $fn = 50;
showTop = true;
showBottom = true;
module Triangle(xLen, yLen, tHeight)
{
linear_extrude(height=tHeight)
{
polygon(points=[ [0, 0], [xLen, 0], [0, yLen]], paths=[ [0, 1, 2] ]);
}
}
module BaseCase() {
difference() {
translate([2, 2, 2]) {
minkowski()
... | glb/cad_a442b8022fca.glb |
Create a drive housing consisting of a main body and a separate lid.
For the main body, start with a block measuring 55mm x 49mm x 52mm. Hollow out the center by removing a block of 52mm x 44mm x 46mm, offset by 3mm from the edges. On one side, create a mounting interface for a NEMA 17 motor by integrating a complex ... | $fn=200;
module regular_polygon(n=3, d=1, h=1){
angles=[ for (i = [0:n-1]) i*(360/n) ];
coords=[ for (th=angles) [0.5*d*cos(th), 0.5*d*sin(th)] ];
linear_extrude(height=h, center=true ) {polygon(coords);
}
}
module nema17_helper(slide=8){
union(){
hull(){
translate([0,slide/2,0]) cylinder(d=22, h=20, c... | glb/cad_3b347f5a20d1.glb |
Create a drive housing consisting of a main rectangular body and a removable lid. The main body is a hollowed-out rectangular prism with outer dimensions of 85mm in width and 75mm in depth, and a wall thickness of 4mm.
Inside the main body, create a central rectangular cavity to house electronics. At the base of the ... | $fn=100;
module rotate_around(a, v, pt) {
translate(pt)
rotate(a,v)
translate(-pt)
children();
}
module nema17_helper(slide=8){
union(){
hull(){
translate([0,slide/2,0]) cylinder(d=22, h=20, center=true);
translate([0,-1*slide/2,0]) cylinder(d=22, h=20, center=true);
... | glb/cad_392ee98cb2b4.glb |
Create an eq3-2 drive consisting of two separate components: a bevel gear assembly and a cylindrical shaft assembly.
First, create a bevel gear with 24 teeth, a face width of 15mm, and a pressure angle of 30 degrees. This gear is integrated into a housing structure. The housing is formed by a cylinder with a 20mm diam... | use <MCAD/involute_gears.scad>
use <MCAD/regular_shapes.scad>
module ra_montaz(){
$fn=100;
gear1_teeth = 24;
gear2_teeth = 24;
axis_angle = 90;
outside_circular_pitch=300;
outside_pitch_radius1 = gear1_teeth * outside_circular_pitch / 360;
outside_pitch_radius2 = gear2_teeth * outside_circular_pitch / 360;
pit... | glb/cad_ac3a8652536d.glb |
Create a mounting plate for an IEC320 fused socket by starting with a rectangular base measuring 78.5mm in length, 36.5mm in height, and 2.5mm in depth. Centered on this plate, remove a rectangular opening that is 48mm long and 31mm high, extending through the full 2.5mm depth of the plate. To create retaining clips, l... | socket_ext_length = 50;
socket_ext_height = 31;
socket_int_length = 48;
socket_int_height = 28;
plate_length = 78.5;
plate_height = 36.5;
plate_depth = 2.5;
socket_clip_depth = 0.7;
socket_clip_height = (socket_ext_height-socket_int_height)/2;
socket_clip_cutout_depth = plate_depth - socket_clip_depth;
support_leng... | glb/cad_158ed53742e4.glb |
Create a 3D model of an l-aqua siphon. Construct the shape by creating four connected poles arranged in a rotational sequence. Each pole consists of a cylinder topped with a sphere. The first pole has a radius of 3mm and a height of 10mm. The second pole increases in size with a radius of 6mm and a height of 20mm. The ... | include <lib/b-hydro/lib/siphon2.scad>
include <conf/config.scad>
r=3;
m=36;
SW=SW36;
f=1;
h0=LidHeight;
h1=LidHeight * 2;
h2=h/2;
%screw_siphon();
hull() {
pole(n=0,r=r,h=h0);
pole(n=1,r=r*2,h=h2);
}
hull() {
pole(n=1,r=r*2,h=h2);
pole(n=2,r=r*3,h=h);
}
hull() {
pole(n=2,r=r*3,h=h);
pole(n=3,r=r*2,h=h2)... | glb/cad_4f0a187edeed.glb |
Create a 3D model of a peg consisting of a cylinder and a rectangular base. Start by creating a cylinder with a radius of 6mm and a height of 11.5mm, centered at the coordinates (10.5, 0, 0). Attached to this cylinder, create a rectangular block that extends from the cylinder's center back to the origin, with a width o... | $fn = 20;
knobD = 12;
slotW = 6;
knobCenter = 16.5 - 12/2;
pegDepth = 9;
pegD = 5;
trackH = 11.5;
peg();
module peg(){
translate([knobCenter,0,0])cylinder(r = knobD/2, h = trackH);
translate([0,-slotW/2,0])cube([knobCenter, slotW, trackH]);
translate([-pegDepth,0,trackH/2])rotate([0,90,0])cylinder(r1=pegD/2*0.9,r2=pe... | glb/cad_02a0df2d0605.glb |
Create a WallPlottE platform component by constructing a flat, ring-shaped washer. Start with a solid cylinder that has a radius of 16mm and a height of 5mm. From the center of this cylinder, remove a smaller concentric cylindrical volume with a radius of 11mm and the same height of 5mm to create a hollow circular open... | $fn=200;
difference(){
cylinder(r=16,h=5);
cylinder(r=11,h=5);
} | glb/cad_d769ef4fff46.glb |
Create a WallPlottE platform by constructing a base body with a height of 5mm. The main body is formed by the convex hull of four cylinders with 5mm radii, positioned at the corners of a 49mm by 11mm rectangle, and a central rectangular block measuring 46mm by 25mm by 5mm. Add two larger semi-circular protrusions with ... | $fn=50;
module servo(h1){
translate([0,0,0])cylinder(r=2.5,h=h1);
translate([0,11,0])cylinder(r=2.5,h=h1);
translate([49,0,0])cylinder(r=2.5,h=h1);
translate([49,11,0])cylinder(r=2.5,h=h1);
translate([0,0,h1/2])cylinder(r=4,h=h1/2,$fn=6);
translate([0,11,h1/2])cylinder(r=4,h=h1/2,$fn=6);
tr... | glb/cad_3f1e56ceecdb.glb |
Create a WallPlottE platform by starting with a thin cylinder that has a radius of 100mm and a height of 5mm. Remove a smaller concentric cylinder from the center with a radius of 38mm and a height of 5mm to create a ring. To complete the platform, remove eight pairs of small vertical holes, each with a radius of 2mm a... | $fn=20;
difference(){
cylinder(r=100,h=5,$fn=100);
cylinder(r=38,h=5);
for (i =[0,45,90,135,180,-45,-90,-135]){
rotate([0,0,i]){
translate([50,0,0])cylinder(r=2,h=5);
translate([90,0,0])cylinder(r=2,h=5);
}
}
} | glb/cad_55281e6893c2.glb |
Create a WallPlottE track by constructing a thick circular ring with a total height of 24mm. Start with a primary cylinder of 100mm radius and 24mm height. From this, remove a concentric inner cylinder with a 92mm radius starting at a height of 5mm, and another concentric cylinder with an 85mm radius that runs the full... | $fn=200;
module track(){
intersection(){
difference(){
cylinder(r=100,h=24,$fn=100);
translate([0,0,5])cylinder(r=92,h=24);
cylinder(r=85,h=24);
for (i =[0,45,90,135,180,-45,-90,-135]){
rotate([0,0,i]){
translate([90,0,0])cylinder(r=2,h=25);
}
}
for (i =[0,45,90,13... | glb/cad_7582ba244940.glb |
Create a WallPlottE platform by combining two cylindrical volumes. First, construct a main hollow cylinder with an outer radius of 8mm and a height of 7.5mm, featuring a concentric central hole with a radius of 6.35mm. Attached to the side of this main cylinder, add a smaller solid cylinder with a radius of 6mm and a h... | $fn=50;
difference(){
union(){
cylinder(r=8,h=7.5);
translate([10,0,0])cylinder(r=6,h=2.5);
}
cylinder(r=12.7/2,h=7.5);
translate([12,0,0])cylinder(r=1.75,h=3);
} | glb/cad_553a7fb8db51.glb |
Create a biogas digester model consisting of two parallel walls made of stacked rectangular bricks. Each brick must measure 21.5mm in length, 10.5mm in width, and 10.5mm in height.
Construct the first wall by stacking bricks in five alternating layers. In the first, third, and fifth layers, place a row of 10 bricks c... | dl=200;
dw=100;
dh=50;
h=10.5;
w=10.5;
l=21.5;
i_end=dl/l;
z_end=dw/l;
y_end=dh/h;
module l_line(dist){
for (i=[0:i_end])
translate([0,i*(dist+dist*0.05),0])
cube(size=[w,l,h], center=true);
}
module w_line(dist){
for (i=[0:z_end])
rotate(-90,30,0)
translate([0,i*(dist+dist*0.05),0])
cube(size=[w,l,h], center=tru... | glb/cad_604b2a3c30a1.glb |
Create a rectangular pool for a mesothermic bio-digester using bricks that each measure 21.5mm in length, 10.5mm in width, and 10.5mm in height. The overall exterior dimensions of the pool should be 215mm long, 105mm wide, and 52.5mm high.
Construct the walls by stacking the bricks in five layers. For each wall, alte... | el=200;
ew=100;
eh=50;
l=21.5;
w=10.5;
h=10.5;
dl=round(el/l)*l;
dw=round(ew/l)*l;
dh=round(eh/h)*h;
module l_wall(inv,dist,lg,zlg){
module l_line(dist,lg){
for (i=[0:lg-1])
if(i*dist<=dl){
if(i%2==0){
translate([0,i*(dist),0])
cube(size=[w,l,h], center=false);
... | glb/cad_c55f1d22ad85.glb |
Create a commutator-camera-plate by starting with a rectangular block 35mm wide, 50mm deep, and 30mm high, positioned with its front face at x=75, y=-25, and z=-15. Carve a large cylindrical void with a diameter of 203mm centered on the origin to create a concave curved profile across the block. Additionally, remove tw... | $fn = 180;
difference(){
translate ([75, -25, -15]) cube ([35, 50, 30], center = false);
union() {
cylinder (50, d = 203, center = true);
translate ([0,-20,0]) rotate ([0,90,0]) cylinder (300, d = 3, center = false);
translate ([0,20,0]) rotate ([0,90,0]) cylinder (300, d = 3, center = ... | glb/cad_da367d5e7c4e.glb |
Create a commutator-camera-plate consisting of a central rectangular plate 215mm wide, 95mm deep, and 2mm thick.
Add six cylindrical lugs with a diameter of 11mm and a height of 3.25mm: place four at the corners of the plate, 10mm from each edge, and two centered along the x-axis at the left and right edges. Addition... | plate_size_x = 215;
plate_size_y = 95;
plate_thickness = 2;
comm_screw_diam = 5;
comm_plug_hole_size_x = 14;
comm_plug_hole_size_y = 32;
comm_plug_to_screw = 12.5;
comm_screw_distance = 90;
camera_screw_diam = 5;
camera_screw_distance_apart = 49;
camera_plug_hole_x = 9;
camera_plug_hole_y = 16.5;
dist_comm_screw_cam... | glb/cad_388a2ba9c4e2.glb |
Create a commutator-camera-plate consisting of a central rectangular plate 215mm wide, 95mm deep, and 2mm thick. At each of the four corners, add a cylindrical lug with a diameter of 11mm and a height of 4.5mm. Additionally, add five more cylindrical lugs of the same size: one centered on the left edge and four positio... | plate_size_x = 215;
plate_size_y = 95;
plate_thickness = 2;
comm_screw_diam = 5;
comm_plug_hole_size_x = 14;
comm_plug_hole_size_y = 32;
comm_plug_to_screw = 12.5;
comm_screw_distance = 90;
camera_screw_diam = 5;
camera_screw_distance_apart = 49;
camera_plug_hole_x = 9;
camera_plug_hole_y = 16.5;
dist_comm_screw_cam... | glb/cad_bc418525aba2.glb |
Create a kopf-1900-adaptor by starting with a truncated cone that is 9.7mm tall and centered on the origin. The cone should have a base diameter of 7.64mm and taper to a top diameter of 4.79mm. Remove a cylindrical core from the center of the cone with a diameter of 1.5875mm and a height of 10mm. Additionally, remove a... | drill_diam = 1.5875;
difference () {
cylinder (h=9.7,d1=7.64,d2=4.79,center=true,$fn=360);
union () {
cylinder (h=10,d=drill_diam,center=true,$fn=360);
translate ([-0.01,-5,-5]) cube (10);
}
} | glb/cad_8feec62a63f9.glb |
Create a kopf-1900-adaptor by constructing a composite vertical shaft with a central hole. Start by centering a cylinder 50mm tall with a 2mm radius. Add a second, shorter cylinder to the center of the first, measuring 10mm in height with a 3.25mm radius. Remove a continuous 1mm radius hole through the entire vertical ... | difference () {
union () {
cylinder (50, r=2, center = true, $fn = 50);
cylinder (10, r = 3.25, center = true, $fn =50);
}
union () {
cylinder (55, r=1, center = true, $fn = 50);
translate ([0,0,-25]) cylinder (5, r=1.3, center = true, $fn = 50);
translate ([-15, -15,... | glb/cad_5934f24e7e5a.glb |
Create a Nanoject holder for a Cartesian stereotaxic frame. Start by constructing a main body with a total height of 40mm. The base is a trapezoidal wedge 18mm wide at the bottom, tapering to 11mm wide at a height of 6.5mm, and then expanding to a rectangular block 40mm wide and 40mm tall.
Center a vertical cylindrica... | resolution = 100;
wedge_h = 40;
wedge_base_w = 18;
wedge_depth = 6.5;
wedge_neck_w = 11;
wedge_base_to_center = 23;
holder_width = 40;
nanoject_neck = 19.2;
fastener_gap = 0.3;
fastener_screw_hole_size = 6;
fastener_head_size = 9.25;
fastener_nut_width = 9.5;
fastener_head_depth = 5;
difference () {
union () {
... | glb/cad_ca248e432e45.glb |
Create an Openspritzer pressure ejection system housing. Start with a main box with external dimensions of 110mm length, 104.4mm width, and 51.6mm height, using a wall thickness of 1.5mm and corner radii of 4mm.
Inside the box, create a compartment for a regulator with a width of 50.1mm, height of 50.1mm, and length ... | use <GoodBox.scad>;
tol = 0.2;
RegHeight = 50.1;
RegWidth = 50.1;
RegLength = 52.75;
RegKnobDiam = 35.8 + tol;
AirHoseInDiameter = 13.3 + tol;
AirHoseInYOffset = (36.95 + 48.05)/2 + .4;
AirHoseOutDiameter = 10.3 + tol;
AirHoseOutYOffset = (13.49 + 19.18)/2;
GaugeDiameter = 9.8 + tol;
GaugeYOffset = (13.2 + 22.72)/2 +... | glb/cad_f99c2ce35e1c.glb |
Create a hollow cylindrical tube with a total length of 44mm, an outer diameter of 51.9mm, and an inner diameter of 46mm. The tube features external metric threads with a 2mm pitch and a thread width of 1.5mm; these threads are located at both the top and bottom ends, each extending 15mm into the body.
To create the ... | $fn=200;
use <threads.scad>;
thread_od = 51.9;
thread_pitch = 2;
thread_length = 15;
thread_size = 1.5;
tube_od = thread_od;
tube_id = 46;
total_length = 44;
sideplate_len = 10;
sideplate_angle = 40;
sideplate_inset = 1;
module threaded_section(){
metric_thread(thread_od, thread_pitch, thread_length, internal=fal... | glb/cad_a9556f54f0e2.glb |
Create a battery holder for an 18350 cell. Start by constructing a main vertical body that is 20mm wide, 90mm high, and 3mm thick. At the top of this body, create a semi-circular cradle with an outer diameter of 11mm and an inner diameter of 5mm, maintaining a wall thickness of 3mm. This cradle should be 20mm deep. Bel... | $fn=100;
up_height = 90;
wall = 3;
middle = 5;
out_x = middle+2*wall;
width = 20;
difference(){
union(){
translate([middle/2+wall,up_height-out_x/2,0]) difference(){
cylinder(d=out_x,h=width);
translate([0,0,-1]) cylinder(d=middle,h=width+2);
translate([-20,-40,-1]) cube(40);
}
cube(size=[wall,up_he... | glb/cad_a0771723f569.glb |
Create a VU Lamp base and cover. Start with a circular base of 60mm radius and 4mm height, topped with a second circular tier of 58mm radius and 2mm height. Center a 48mm cubic cutout 5mm above the bottom to house a circuit board.
On either side of the board cutout, add two small cylindrical holders with a 2mm radius ... | BOARD = 48;
RADIUS = 60;
HEIGHT = 50;
$fn = 64;
color("Yellow") {
difference() {
union() {
base(RADIUS, 4);
translate([0, 0, 4])
base(RADIUS - 2, 2);
}
translate([0, 0, 5])
cube([BOARD, BOARD, 6], center = true);
}
difference() {
rotate([-16, 0, 0]) {
for (direction... | glb/cad_5d0df6945931.glb |
Create a ktCAM1 object consisting of a thick circular base with a rectangular cutout. Start by creating a cylinder with a diameter of 78mm and a height of 12mm. From this cylinder, remove a central cylindrical core with a diameter of 76mm and a height of 10mm, leaving a 2mm thick wall and a 2mm thick bottom floor.
Wi... | gap1 = 0.001;
gap2 = 0.002;
circle = 76;
panel_thick = 2;
A = 0;
L = 0;
R = 0;
B = 1;
BOXINNE = 30;
BOXBASE = BOXINNE+panel_thick*2;
module BOX_R()
{
difference()
{
cube( [BOXBASE, BOXBASE, BOXBASE] );
translate( [BOXBASE/2, BOXBASE/2, BOXINNE-gap2] ) cylinder( panel_thick*3, 18/2, 18/2, $fn... | glb/cad_e76060f67426.glb |
Create a Canapied support base by starting with a rectangular block that is 30mm wide, 23mm deep, and 5mm high, positioned so its center is at x=15, y=11.5, and z=2.5. From this block, remove a central channel to create two parallel side walls. The void to be removed is defined by a 2D polygon extruded to a height of 5... | ease=.2;
feetZ = 5;
feetH = 11+ease;
featfeetZ=feetZ+2;
featfeetH=4;
module feetShape(){
polygon(points=[[0,0],
[60,0],
[50,14],
[47,feetH],
[13,feetH],
[10,14]]
);
}
module featfeet(){
translate([15,-featfeetH,-1]) cube([30,feetH+featfeetH*2,featfeetZ]);
}
difference(){
featfeet();
... | glb/cad_00afcf2f5838.glb |
Create a Tube Cutting Guide by starting with a rectangular base block that is 40mm long, 5.66mm wide, and 5.66mm high. Carve a V-shaped longitudinal notch along the entire length of the block to hold a tube; this notch is created by removing a rectangular prism of 40mm by 5.66mm by 5.66mm, rotated 45 degrees relative t... | TubeDiameter=4.0;
BladeOpeningWidth=1.0;
GuideLength=TubeDiameter*10.0;
BladeOpeningMargin=TubeDiameter*2;
BoundingSquareDiagonal=TubeDiameter*sqrt(2);
NotchHeight=BoundingSquareDiagonal;
GuideHeight=(2*NotchHeight)/sqrt(2);
GuideWidth=2*GuideHeight;
module guide()
{
difference(){
cube([GuideLength,GuideWidth,... | glb/cad_6425070b5a9a.glb |
Create a P3Steel X-end motor mount. Start with a base block measuring 18mm by 44mm by 47mm, centered on the X and Z axes. From this base, remove a central hexagonal prism with a height of 70mm and a radius of 17mm to create the motor shaft cutout.
To create the mounting holes, remove four 10-sided cylinders with a ra... | use <inc/x-end.scad>
module x_end_motor_base() {
x_end_base();
translate([-34,1.5,-6])
rotate([0,90,0])
difference() {
translate(v = [-15,31,26.5-1]) cube(size = [18,44,47], center = true);
translate([-15+7,0,51-2]) rotate([0,45,0]) translate([-15,-15,0]) cube([30,70,30]);
translate([-15-18+11,0,... | glb/cad_c0e53b50cf1d.glb |
Create a P3Steel X-end part. Start with a main rectangular block 18mm wide, 42.5mm deep, and 49mm high. Remove material from the top and bottom corners using four rotated cubes of 30x60x30mm, each rotated 45 degrees and positioned to create chamfered edges.
Inside this block, create two horizontal holes for push-fit r... | use <bearing.scad>
rod_distance = 45;
m5_tolerance = 0.3;
module x_end_base() {
height = 49;
difference() {
translate(v = [-15,-9-3.5/2,height/2]) cube(size = [18,39+3.5,height], center = true);
translate([-15+7,-20,51-2]) rotate([0,45,0]) translate([-15,-15,0]) cube([30,60,30]);
translate([-15-18+1... | glb/cad_238e23850ebd.glb |
Create a vertical bearing holder for a P3Steel printer. Start by creating a main body that is a cylinder with a radius of 10.5mm and a height of 58mm. To this cylinder, add a rectangular block on one side to create a flat face, resulting in a shape that is partially cylindrical and partially rectangular.
Inside this b... | bearing_diameter = 15;
module horizontal_bearing_base(bearings=1) {
translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true);
}
module horizontal_bearing_holes(bearings=1) {
cutter_lenght = 10+bearings*25;
one_holder_lenght = 8+25;
holder_lenght = 8+bearings*25;
difference() {
translate(v... | glb/cad_2a6f0e25f20c.glb |
Create a toepler_machine base. Start with a rectangular block that is 175mm long, 160mm wide, and 10mm thick. Round the two corners on one of the shorter ends to create a semi-circular profile.
On the flat top surface of this base, position a conductor guide. This guide is a chamfered extrusion with a height of 7.5mm... | include <pulleys.scad>
use <Chamfer.scad>
use <parametric_involute_gear_v5.0.scad>
use <bearing.scad>
part = 6;
use <threads_v2.scad>
base_l = 175;
base_d = 160;
base_thick = 10;
tol = 0.2;
disk_clearance = 25;
disk_radius = base_d-70;
disk_thick = 1.0;
axle_diam = 3;
pulley_thick = 3;
band_thick = 1;
suppor... | glb/cad_328f6773588b.glb |
Create a toepler_machine, a complex electrostatic generator. Start with a rectangular base board 225mm long, 160mm wide, and 5mm thick, featuring 3mm chamfered edges.
Position two vertical supports on the base, each consisting of a trapezoidal profile with an upper width of 25.85mm (bearing radius 25.85mm plus 5mm mi... | include <libs/pulleys.scad>
use <libs/Chamfer.scad>
use <libs/parametric_involute_gear_v5.0.scad>
use <libs/bearing.scad>
use <libs/threads_v2.scad>
include <es_disk.scad>
include <leyden.scad>
include <basic_shapes.scad>
assembled = 1;
part = 6;
test_scale = 1.0;
with_rods = true;
with_torii = true;
tol = 0.2;
... | glb/cad_9d250a4bfd9c.glb |
Create a 3D model of a toepler_machine, which is a technical drawing layout consisting of various geometric annotation elements.
Construct a series of thin lines (0.025mm width, 0.01mm height) on the XY plane. Create several horizontal lines of length 2mm, some with single-sided arrows and some with double-sided arrow... | DIM_CENTER = 0;
DIM_LEFT = 1;
DIM_RIGHT = 2;
DIM_OUTSIDE = 3;
DIM_HORZ = 0;
DIM_VERT = 1;
DIM_UPPER_LEFT = 0;
DIM_UPPER_RIGHT = 1;
DIM_LOWER_LEFT = 2;
DIM_LOWER_RIGHT = 3;
DIM_LINE_WIDTH = .025;
DIM_SPACE = .1;
DIM_HEIGHT = .01;
DIM_HOLE_CENTER = DIM_LINE_WIDTH * 6;
DIM_FONTSCALE = DIM_LINE_WIDTH * .7;
OFFSET = .05... | glb/cad_ec15c3329068.glb |
Create a mechanical keyboard keycap called a Freygrid. The main body is a hollowed-out frustum with a square base and a smaller square top. The base dimensions are 18.16mm by 18.16mm, and the top dimensions are 12.16mm by 14.16mm. The total height of the keycap is 11.5mm. The walls of the keycap are 3mm thick, and the ... | key_length = 1;
key_height = 1;
key_profile_index = 0;
keytop_thickness = 1;
wall_thickness = 3;
has_brim = 0;
brim_radius = 11;
brim_depth = .3;
stabilizers = 0;
stabilizer_distance = 50;
inverted_dish = 0;
stem_profile = 0;
stem_inset = 0;
stem_offset = 0;
$fn = 3;
unit = 19.05;
minkowski_radius = 1.7... | glb/cad_bef6b8aefb83.glb |
Create a fan shroud for an nVidia Tesla K40. Start by constructing a main rectangular body measuring 94mm in length, 35mm in width, and 25.4mm in height. Within this body, carve out a central cooling air channel that is 90mm long, 18mm wide, and 25.6mm high, leaving a 2mm wall thickness on the sides.
Along the top ed... | $fn = 256;
offset = 60 * sqrt(2) / 2;
opacity = 0.75;
plate_height = 2;
duct_height = 10 - plate_height;
duct_radius = 30;
truncation = 109.999;
channel_depth = 15.4;
channel_length = 88.5;
channel_width = 17.5;
screw_radius = 4.5;
module channel () {
union () {
difference () {
cube ([94, 35, ... | glb/cad_bc8efc7a0377.glb |
Create a bracket consisting of two identical plates. Each plate is a cube measuring 5mm in length, 5mm in width, and 1mm in height. Centered in each plate, create a circular hole with a radius of 0.5mm that passes completely through the height of the plate. Position the first plate flat on the horizontal plane. Positio... | $fn=64;
module plate(l, w, h) {
difference() {
cube([l, w, h]);
translate([l/2, w/2, -0.1]) {
cylinder(r=0.5, h=h+.2);
}
}
}
plate(5, 5, 1);
module bracket(l, w, h) {
plate(l, w, h);
rotate(a=90, v=[1, 0, 0]) {
plate(l, w+h, h);
}
}
translate([12, 0, 0]) {... | glb/cad_18c88b32c313.glb |
Create a 3D scene containing five distinct geometric objects. First, place a cube with side lengths of 3mm, centered at coordinates (-4.5, 0, 0). Second, place a cylinder with a radius of 1.5mm and a height of 3mm, centered at (0, 0, 0). Third, place a sphere with a radius of 1.5mm at coordinates (4.5, 0, 1.5). Fourth,... | $fn=32;
translate([-4.5, 0, 0]) {
color([1, 0, 0]) {
cube([3, 3, 3], center=true);
}
}
translate([0, 0, 0]) {
color([0, 1, 0]) {
cylinder(h=3, r=1.5);
}
}
translate([4.5, 0, 1.5]) {
color([0, 0, 1]) {
sphere(1.5);
}
}
translate([8, 8, 0]) {
color([1, 0, 0]) {
... | glb/cad_080e6dd928d4.glb |
Create a 3D model consisting of two concentric, rotationally symmetric components. First, create a torus by rotating a circle with a 1mm radius around a central axis, where the center of the circle is positioned 4mm away from the axis of rotation. Second, create a complex solid of revolution by rotating a specific poly... | $fn=128;
rotate_extrude() translate([4, 0, 0]) circle(r=1);
rotate_extrude() {
polygon( points=[[0,0],[2,1],[1,2],[1,3],[3,4],[0,5]] );
} | glb/cad_deafe7271dbf.glb |
Create a corner bracket for a torch table. Start by creating a solid rectangular block with a width of 45mm, a height of 35mm, and a depth of 20mm. From this block, remove a central rectangular section to create a sleeve for square tubing; this cutout should be 30mm wide and 30mm deep, centered within the block, with t... | include <TTvars.scad>;
TTcorner();
module TTcorner(){
rotate([0,0,90])
difference(){
translate([(barX+(bmountGap*2))/2,0,-(1+boltD)]) {
difference(){
cube([((bmountX-(barX+(bmountGap*2)))/2)+(cornerSQ+(cornerT*2)),cornerSQ+(cornerT*2),bmountZ]);
translate([(-(cornerSQ-(cornerSQr*2))/2)+((bmountX-(barX+(bmountGap*2))... | glb/cad_158ddb71316e.glb |
Create a corner bracket for a torch table. Start with a solid rectangular block that has a width of 55mm, a height of 30mm, and a depth of 100mm. From this block, remove a central rectangular section to create a square tubing hole; this cutout should be 20mm by 20mm in cross-section with rounded corners of 2mm radius, ... | include <TTvars.scad>;
TTcorner();
module TTcorner(){
difference(){
difference(){
cube([((bmountX-(barX+(bmountGap*2)))/2)+(cornerSQ+(cornerT*2)),cornerSQ+(cornerT*2),bmountZ]);
translate([(-(cornerSQ-(cornerSQr*2))/2)+((bmountX-(barX+(bmountGap*2)))/2)+((cornerSQ+(cornerT*2))/2),(cornerSQ-(cornerSQr*2))/2,bmountZ-... | glb/cad_475728730bb8.glb |
Create a torch table assembly consisting of several rectangular bars and mounting brackets. First, create two Y-axis flat bars, each with dimensions of barX width, barLY length, and barZ height. Position one at the origin and the second at a distance of Y2YA along the Y-axis.
Next, create two X-axis flat bars with dim... | include <TTvars.scad>;
use <TTbmount.scad>;
use <TTxmount3.scad>;
use <TTx2mount.scad>;
use <TTcorner4.scad>;
translate([-barX/2,0,0])
cube([barX,barLY,barZ]);
translate([Y2YA,0,0])
translate([-barX/2,0,0])
cube([barX,barLY,barZ]);
translate([0,20,0]){
TTbmount();
TTxmount();
translate([0,X2X,0])
mirror([0,1,0])
T... | glb/cad_58be4bf62efe.glb |
Create a corner mounting bracket for a torch table. Start with a solid rectangular block that has a width of 22mm, a height of 22mm, and a depth of 30mm. From this block, remove a smaller rectangular section to create a square tubing sleeve; this cutout should be 16mm by 16mm and extend through the full 30mm depth of t... | include <TTvars.scad>;
TTcorner();
module TTcorner(){
rotate([0,0,90])
translate([-(xmountX/2)-((barX+(bmountGap*2))/2),0,-(1+boltD)])
difference(){
difference(){
translate([(barX+(bmountGap*2))/2,0,0])
cube([(xmountX/2)-((barX+(bmountGap*2))/2)+(boltD/2)+(cornerSQ+(cornerT*2)),cornerSQ+(cornerT*2),bmountZ]);... | glb/cad_808261eeb60b.glb |
Create a ktCAM2 mounting plate by starting with a rectangular block measuring 60mm wide, 180mm long, and 50mm thick. Position this block so it is centered on the X-axis and extends from Y -30mm to Y 150mm, and from Z -50mm to Z 0mm.
From this main body, remove several geometric volumes to create the final shape. Firs... | gap1 = 0.001;
gap2 = 0.002;
circle = 76;
panel_thick = 2;
A = 0;
B = 1;
difference()
{
translate( [-35/2, -18-10, -20-10] ) cube( [35+25, 140, 35+10] );
MAIN_CAM();
translate( [-13/2, -5, -14] ) cube( [13, 30, 15] );
difference()
{
translate( [-14, 17, -27] ) cube( [34, 82, 40] );
... | glb/cad_f41df7019e1c.glb |
Create a GT2 pulley for a Cartesian Drawing Machine. Start with a central cylindrical body that has a total height of 15mm (composed of a 7mm toothed section and an 8mm base). The toothed section should have 24 teeth with a GT2 2mm profile, an outside diameter of 11.88mm, and a height of 7mm.
At the bottom of the pull... | teeth = 24;
profile = 12;
motor_shaft = 5.6;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.8;
m3_nut_depth = 2.8;
retainer = 1;
retainer_ht = 1.5;
idler = 1;
idler_ht = 1.5;
pulley_t_ht = 7;
pulley_b_ht = 8;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1;
additional_tooth_width = 0.2;
a... | glb/cad_f2f4f8385cc6.glb |
Create a GT2 pulley for a Cartesian Drawing Machine. Start with a cylindrical base 8mm high with a diameter of 20mm. Centered on this base, add a toothed section 7mm high with an outside diameter of 11.88mm, featuring 24 teeth based on the GT2 2mm profile.
On the top of the toothed section, add a circular belt retain... | teeth = 24;
profile = 12;
motor_shaft = 3.5;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.8;
m3_nut_depth = 2.8;
retainer = 1;
retainer_ht = 1.5;
idler = 1;
idler_ht = 1.5;
pulley_t_ht = 7;
pulley_b_ht = 8;
pulley_b_dia = 20;
no_of_nuts = 0;
nut_angle = 90;
nut_shaft_distance = 1;
additional_tooth_width = 0.2;
a... | glb/cad_b9ccb22925d5.glb |
Create a MazeMouse ultrasonic distance sensor module. Start with a rectangular base measuring 45mm by 20mm with a thickness of 1.2mm.
Place two identical cylindrical sensor bodies on the base. Each sensor body is a cylinder with a radius of 8mm and a height of 13.8mm, featuring a concentric hollow center with a radiu... | difference()
{
union()
{
color("DARKBLUE")cube([45,20,1.2]);
translate([16/2+1,18/2+1,1.3]) ultrasonicSensor();
translate([16/2+27+1,18/2+1,1.3]) ultrasonicSensor();
color("SILVER")translate([45/2-3.25,20-4,1.3]) xtal();
translate([(45/2)-((2.45*4)/2)+0.6,2,-0.2]) rotate([180,0,0]) headerPin(4);
}
union(... | glb/cad_4639515b9823.glb |
Create a rectangular block for 3D printing with a length of 23mm, a width of 9mm, and a thickness of 3mm. Centered along the width of the block, place two circular holes that pass completely through the thickness. The first hole should be positioned 3mm from the left edge, and the second hole should be positioned 20mm ... | show_assembly = !true;
is_tappable = false;
e = 1/64;
center_to_center = 17;
length = 3 + center_to_center + 3;
width = 3 + 3 + 3;
default_thickness = 3.0;
m2p5_punch_radius_tappable = (2.5 - 0.15) / 2;
m2p5_punch_radius_slideable = (2.5 + 0.4) / 2;
module m2p5_screw_punch(radius = m2p5_punch_radius_slideable, ... | glb/cad_496aa26c621f.glb |
Create a collection of four Platonic solids, each with an edge length of 1mm, centered at their own origins.
First, create a regular tetrahedron. Second, create a regular octahedron. Third, create a regular dodecahedron, which is a polyhedral shape with 12 regular pentagonal faces. Fourth, create a regular icosahedro... | module tetrahedron() {
he = 1 / 2;
fi = sqrt(3) / 6;
fc = sqrt(3) / 3;
i = sqrt(6) / 12;
c = sqrt(6) / 4;
polyhedron(
[
[ 0, 0, c],
[ 0, fc, -i],
[-he, -fi, -i],
[ he, -fi, -i],
],
[
[0, 1, 3],
... | glb/cad_d53f9e32c0d6.glb |
Create two identical components for a PotSolaire hinge. For each component, start by creating a cylinder with a radius of 8mm and a height of 8mm. On top of this cylinder, center a sphere with a radius of 8mm so that its center point sits exactly at the top surface of the cylinder. From the bottom of the cylinder, remo... | chw = 70;
chr = 8;
axr = 3;
jj = 0.4;
molz = chr;
m3e = 6.3;
m3r = m3e/2;
module molette() difference(){
union(){
cylinder(r=chr, h=molz);
translate([0,0,molz]) sphere(r=chr);
}
translate([0,0,-1]) cylinder(r=1.7, h=molz+chr+2, $fn=4*3);
translate([0,0,5]) cylinder(r=m3r+0.2, h=molz+chr+2, $fn=6);
}
molette(... | glb/cad_4fdd7f5045b3.glb |
Create a PotSolaire, a connected plant pot with a solar panel attachment.
Start by constructing the main pot body. The pot is a hollowed-out inverted truncated pyramid with a height of 180mm. The top opening is a square with a width of 247mm, tapering down to a base width of 217mm. The walls have a thickness of 4.5mm... | oe = 3.5+1;
pir = 5;
pvw = 247;
pvz = 240;
chw = 70;
chr = 8;
axr = 3;
jj = 0.4;
module pot(){
translate([0,0,pvz-60]) pyramide(pvw, pvw-18, 60);
translate([0,0, pvz-60-5]) pyramide(pvw-17, pvw-30, 5);
pyramide(pvw-30, pvw-70, pvz-60);
}
dely = 10;
delz = 25;
pot();
translate([0,pvw/2+dely,pvz]) rotate([-40,0,0... | glb/cad_64f1ad0b204b.glb |
Create a PotSolaire, a connected plant pot with a solar panel lid.
First, construct the main pot body as a hollow rectangular prism with rounded corners. The outer dimensions are 195mm wide (135mm flat width plus two 30mm radius corners) and 180mm high. The walls should be 3mm thick.
Next, create a lid collar that f... | oe = 3;
pw = 135;
pr = 30;
pz = 180;
j = 1;
bz = 15;
$fn = 32*4;
chw = 70;
chr = 8;
axr = 3;
jj = 0.3;
0w = pw/2;
0z = bz/2+oe/2+j/2;
pox = 131;
poz = 151;
pob = 6;
porr = 14;
niv = 3;
if(niv == 0){
pot();
translate([0, 0, pz-bz+j]) color("orange") collier();
translate([0w, 0w+(pw/2+j+oe+jj+chr), pz+j-bz+0z]... | glb/cad_4916ddfb928d.glb |
Create a PotSolaire mounting bracket. Start with a base plate that is 7mm thick, 2.1mm wide, and 140mm long. At each end of the base plate, create a vertical support post with a height of 21mm and a width of 6.3mm. These posts should be centered on the ends of the plate.
At the center of each end of the base plate, c... | ty = (143+137)/2;
include <Hexa.scad>;
use <Cubo.scad>;
ep = 0.3*7;
tz = 7;
ix = 1.5;
iy = 5;
my = 20;
$fn = 4*4;
difference(){
union(){
hull(){
translate([ep+1.5,0,0]) cylinder(r=1.5+ep, h=tz);
translate([ep+1.5+ep/4,0,0]) cylinder(r=1.5+ep, h=tz);
}
hull(){
... | glb/cad_d53c2c3e32b7.glb |
Create a PotSolaire base by starting with a central rectangular block measuring 120mm in length, 30mm in width, and 10mm in height, centered on the origin. At each end of this block, along the center line of the length, add a composite structure consisting of a 4mm by 17mm by 10mm rectangular prism and a cylinder with ... | difference () {
union () {
cube ([120,30,10], center=true);
translate ([-37,6.5,8]) cube([4,17,10], center=true);
translate([37,6.5,8]) cube([4,17,10], center=true);
translate([-37,6.5,12]) rotate ([0,90,0]) cylinder (r= 8.5, h= 4, center=true,$fn=80);
translate([37,6.5,12]... | glb/cad_cc8677676d20.glb |
Create a cylinder-reminder-cap consisting of a main hollow body and a top disc. For the main body, create a cylinder with a radius of 15mm and a height of 40mm, centered on the Z-axis. Hollow this cylinder by removing a concentric inner cylinder with a radius of 14mm and a height of 45mm. Additionally, create a rectang... | use <text_on/text_on.scad>
$fn=512;
translate([0,0,0]) {
difference() {
cylinder(r=15,h=40,center=true);
cylinder(r=14,h=45,center=true);
translate([12, 16, 5]) cube ([15,21,71], center = true);
}
text_on_cylinder("OPEN",[0,0,-20],size=20,r=15,h=35,spacing=1.2,rotate=00,eastwest=0);... | glb/cad_9eb9498d016e.glb |
Create an Anechoic-Panel consisting of a square base plate and a grid of pyramid-shaped spikes. Start by creating a solid square base measuring 160mm by 160mm with a thickness of 10mm. On the top surface of this base, arrange a repeating 8x8 grid of four-sided pyramids. Each pyramid must have a base width of 20mm and a... | width = 160;
length = width;
base = 10;
height = 50;
pyramid_width = 20;
flat_edge = true;
if (flat_edge){
translate([-width/2, -length/2, base]) {
intersection(){
translate ([0, 0, -base]) {
cube( [width, length, height+base], center = false);
}
... | glb/cad_d3a6abe661b9.glb |
Create an L-bracket designed to hold two pieces of wood together. Start with a base rectangular plate measuring 40mm in length, 20mm in width, and 4mm in height. Attach a vertical wall to one long edge of this base; this wall should be 4mm thick and 20mm high, running the full 40mm length of the bracket.
To refine th... | bracket_l = 40;
bracket_w = 20;
bracket_h = 20;
bracket_wall = 4;
screw_r = 1.5;
screw_off_y = ((bracket_w-bracket_wall)/2);
screw_off_x = (bracket_l)/4;
screw_off_h = ((bracket_h-bracket_wall)/2)+bracket_wall;
L_bracket();
module L_bracket(){
difference(){
bracket();
translate ([screw_off_x,screw_off_y,brac... | glb/cad_d71be8ef970d.glb |
Create a bearing housing by starting with a central cube measuring 32mm on each side and 12mm in height, centered on the origin. From this cube, remove a vertical cylinder with a radius of 12mm and a smaller concentric vertical hole with a radius of 8mm. Additionally, remove a toroidal ring created by rotating a circle... | num_bearings = 7;
bearing_r = 4;
gap = .2;
box_size = bearing_r*8;
box_height_muliplyer = 1.5 ;
box_height = (bearing_r*2 ) * box_height_muliplyer;
bearing_fa=12;
bearing_fs=1;
difference() {
cube(size = [box_size,box_size,box_height], center = true);
difference() {
cylinder(h = box_height+1, r= bearing_r*3,ce... | glb/cad_2c1a3529e262.glb |
Create a microswitch holder by starting with a central rectangular block measuring 20mm in length, 12mm in width, and 35mm in height. Center this block and subtract a smaller internal rectangular volume of 20mm by 6mm by 9.75mm, positioned 4mm from the bottom, to create a cavity for the switch.
Within this cavity, cr... | sw_h = 9.75;
sw_l = 20;
sw_w = 6;
sw_bore = 1.5;
sw_h_os = 3.5;
sw_gap = 10;
h_h = 35;
h_w = 12;
h_l = sw_l;
sc_os = 8;
wall = 2.75;
h_top_h = 13;
pin_h = 4;
pin_w = 4;
b_ir = 1.75;
b_or = 3;
b_h = 3;
rotate ([0,90,0])
difference(){
translate([0,0,pin_h+sw_h/2-(h_h/2)]) cube([h_l,h_w,h_h], center=true);
translate... | glb/cad_6d748ce13fa0.glb |
Create a rounded cube with overall dimensions of 10mm in length, 10mm in width, and 10mm in height. The object should be perfectly symmetrical on all axes. Apply a rounding radius of 2.5mm to all twelve edges and all eight corners. Ensure the curved surfaces are defined by 45 facets to maintain a consistent geometric r... | lenght = 10;
width = 10;
height = 10;
round_cube (p=0.1,l=lenght,w=width,h=height,r=height/4,s=45);
module round_cube (p,l,w,h,r,s){
difference() {
cube([l,w,h],center=true);
round_edge_shadow (p,l,w,h,r,s);
round_corner_shadow(p,l,w,h,r,s);
}
}
module round_edge_shadow (p,l,w,h,r,s){
union() {
round_edge... | glb/cad_dfc11c271a93.glb |
Create a sink stopper consisting of a tapered base and a small attachment on top. For the base, create a truncated cone with a height of 8mm, a top radius of 19mm, and a bottom radius of 18mm. Hollow out the center of this base by removing a smaller truncated cone with a height of 5mm, a bottom radius of 16mm, and a to... | stopper_d = 38;
slope = 1;
height = 8;
detail = 256;
botton_r = (stopper_d/2)-slope;
top_r = (stopper_d/2);
botton_ir = botton_r -2;
top_ir = botton_r - (height/2);
att_height = height/1.5;
att_width = 4;
att_lenght = stopper_d/4;
translate([0,0,height+(att_height/2)]) attachment();
base();
module attachment(){
... | glb/cad_bb32d8759543.glb |
Create a stop cock key consisting of a main vertical shaft and a handle. Start by creating a vertical cylinder with a radius of 13.5mm and a height of 101mm. On top of this cylinder, add a second cylinder with a height of 20mm and a radius of 13.5mm. Within this top cylinder, create a hollow hexagonal socket with a sid... | inner_cyc_r = 5/2;
outer_cyc_r = 27/2;
shaft_h = 100;
shaft_r = 27/2;
shaft_taper_h = 20;
cyc_h = 20;
inner_hex_side = 5;
inner_hex_r = 10.5/2;
outer_hex_side = 10;
outer_hex_r = 19/2;
handel_w = 60;
stopcock ();
module stopcock (){
translate([0,0,shaft_h])
union (){
difference(){
cylinde... | glb/cad_b92c769df4ca.glb |
Create a threaded rod holder designed to secure an 8mm diameter rod. Start with a central rectangular block measuring 25mm in width and depth, and 30mm in height. Hollow out the center of this block to create an inner rectangular cavity measuring 21mm by 21mm.
On one side of the block, create a semi-cylindrical cutou... | include <nut_trap.scad>;
rod_dia = 8;
rod_r = rod_dia/2 ;
box_height = 30;
outer_size_x = 25;
outer_size_y = 25;
inner_size_x = 21;
inner_size_y = 21;
bolt_lenght = 15;
bolt_nut_dia = 7;
difference() {
union() {
translate([-rod_dia/2,0,0])
cube( size = [outer_size_x+rod_dia,outer_size_y,box_height], center =... | glb/cad_2a9d3e515c7d.glb |
Create a toilet seat holder consisting of a rectangular base and an attached hook. Start by creating a solid rectangular base measuring 32.5mm wide, 38.5mm deep, and 9.4mm thick. From this base, remove a central rectangular section measuring 26.5mm wide, 38.5mm deep, and 3.5mm thick, centered at a 3mm offset along the ... | rotate([90,0,90])
seat_hook();
module seat_hook(){
base();
rotate([180,0,90])
translate([-(32.5/2)+(13-9),0,(9.4/2)+((36.7-9.4)/2)])
hook();
}
module hook(){
cube([9,9,36.7-9.4],center = true);
translate([0,(32.5-9.4)/2,(36.7/2)-(9) ] )
rotate ([90,0,0])
cylinder(h = 32.5, r = 9/2,center = true);
}
mo... | glb/cad_702e0a8a92c1.glb |
Create a toilet seat holder consisting of a rectangular base and an attached hook. Start with a rectangular base block measuring 32.5mm wide, 38.5mm deep, and 9.4mm thick. From this base, remove a central rectangular section measuring 26.5mm wide, 38.5mm deep, and 3.5mm thick, centered at a 3mm offset along the width. ... | rotate([90,0,90])
seat_hook();
module seat_hook(){
base();
rotate([180,0,90])
translate([(32.5/2)-(13-9),0,(9.4/2)+((36.7-9.4)/2)])
hook();
}
module hook(){
cube([9,9,36.7-9.4],center = true);
translate([0,(32.5-9.4)/2,(36.7/2)-(9) ] )
rotate ([90,0,0])
cylinder(h = 32.5, r = 9/2,center = true);
}
mod... | glb/cad_dbc6cd6665ff.glb |
Create a threaded rod holder by combining a base block with a hook. Start with a rectangular base block measuring 32.5mm by 38.5mm with a thickness of 9.4mm. Carve out a central rectangular slot from this base by removing a volume of 26.5mm by 38.5mm by 3.5mm centered at a slight offset of 3mm along the X-axis, and fur... | rotate([90,0,90])
seat_hook();
module seat_hook(){
base();
rotate([180,0,90])
translate([-(32.5/2)+(13-9),0,(9.4/2)+((26.7-9.4)/2)])
hook();
}
module hook(){
cube([9,9,26.7-9.4],center = true);
translate([0,(32.5-9.4)/2,(26.7/2)-(9) ] )
rotate ([90,0,0])
cylinder(h = 32.5, r = 9/2,center = true);
}
mo... | glb/cad_921e03daf8bc.glb |
Create a toilet lid bolt consisting of a tiered base and a vertical shaft. Start by creating a rectangular base plate measuring 25mm by 25mm with a height of 3mm. Centered on top of this base, add a smaller rectangular step measuring 15mm by 15mm with a height of 2mm, though this step should be positioned so its bottom... | height = 40;
screw_r = 4.5;
base_w = 25;
base_l = 25;
base_h = 3;
step_w = 15;
step_l = 15;
step_h = 2;
cube ([base_w,base_l,base_h], center=true);
translate([0,0,base_h/2])
cube ([step_w,step_l,step_h+base_h], center=true);
translate([(step_w/2)-screw_r,0,height/2])
cylinder(h=height,r=screw_r,center=true); | glb/cad_ff5e34bbc284.glb |
Create a bench spacer for fixing a table top. The main body is a rectangular base with a length of 85mm, a width of 120mm, and a height of 35mm. The base consists of a bottom plate with a thickness of 5mm and a front plate of 5mm thickness.
Add a lip to the structure: the inner lip has a height of 8mm and the outer l... | use </home/mec/.local/share/OpenSCAD/libraries/celtic-knots.scad>
lenght = 85;
width = 120;
height = 35;
walls = 5;
lip_width = 23;
inner_lip_height = 8;
outer_lip_height = 7.8;
screw_walls = 10;
screw_hole_size = 2;
board_top_height = 15;
base_h = height/2;
inset = 5;
part_m();
module part_r(){
translate([len... | glb/cad_fa15afc50c0d.glb |
Create a toilet lid nut by combining three primary geometric volumes and removing a central core. First, create a wide, flat base cylinder with a radius of 14mm and a height of 2.5mm. Centered on top of this base, add a taller cylinder with a radius of 9mm and a height of 15mm. To create the grip, place a rectangular b... | outer_r = 14;
outer_h = 2.5;
inner_r = 9;
inner_h = 15 ;
bolt_hole_r = 4;
grip_w = 3;
difference(){
bolt_body();
translate([0,0,inner_h/2])
cylinder( h=inner_h+3, r=bolt_hole_r , center=true);
}
module bolt_body(){
cylinder( h=outer_h, r=outer_r , center=true);
translate([0,0,inner_h/2])
cylinder( h=inner_h... | glb/cad_f829d6d444e0.glb |
Create a seat spacer with a total length of 43mm, a width of 17mm, and a height of 10mm. The main body is a rounded rectangular shell formed by the intersection of a cylinder with a radius of 25.5mm and a hull connecting two spheres of radius 8.5mm positioned 25.3mm apart.
Hollow out the center of this shape to creat... | lenght =43;
width = 17;
height = 10;
cap_or = width/2;
plug_lenght = 39;
plug_width = 13.7;
plug_height = 5;
wall_thinkness = 1.35;
plug_or = plug_width/2;
plug_ir = plug_or-wall_thinkness;
difference(){
body();
translate([0,0,wall_thinkness])
linear_extrude(height = height, center = true, convexity = 0)
hull... | glb/cad_7fd12ff37147.glb |
Create a bolt shim by starting with a rectangular block that is 40mm long, 25mm wide, and 9mm high. Remove two cylindrical holes from this block, each with a radius of 2.5mm and a height that fully penetrates the 9mm thickness. Position the first hole centered along the width at 12.5mm from the left edge. Position the ... | height = 9;
lenght = 40;
width = 25;
screw_l = 25;
screw_r = 2.5;
difference(){
cube([lenght,width,height]);
translate([(lenght-screw_l)/2,width/2,-0.5])
cylinder(h=height+1, r= screw_r);
translate([lenght-(lenght-screw_l)/2,width/2,-0.5])
cylinder(h=height+1, r= screw_r);
} | glb/cad_fd442dc164cd.glb |
Create a celtic test cube by starting with a solid cube that is 20mm in length, width, and height, centered on the origin. Carve three distinct celtic knot patterns into the faces of the cube. Each knot pattern should have a width of 4mm, a height of 5mm, and a gap of 1mm between the strands.
Position the first knot ... | use </home/mec/.local/share/OpenSCAD/libraries/celtic-knots.scad>
cube_l = 20;
cube_w = 20;
cube_h = 20;
knot_l = cube_l*0.80;
knot_w = cube_w*0.80;
knot_h = 5;
knot_g= 1;
fn = 40;
difference(){
cube ([cube_l,cube_w,cube_h],center=true);
translate([0,0,-(cube_h/2)-(knot_h)+1]) rotate ([0,0,0]) knot_1(knot_w/4,kn... | glb/cad_849747f34f14.glb |
Create a door latch consisting of a sliding bolt and a mounting base.
First, construct the mounting base as a rectangular block 30mm wide and 65mm long (the sum of a 15mm catch length and a 50mm holder length) with a thickness of 3mm. In this base, create a central rectangular slot 8mm wide and 65mm long to accommoda... | catch_lenght = 15;
holder_lenght = 50;
lenght = catch_lenght + holder_lenght ;
width = 30;
wall_s = 3;
bolt_r = 4;
bolt_slider_w = 3;
bolt_slider_gl = catch_lenght;
gap = 0.5;
handle_l = 5;
screw_lenght = wall_s*2+1;
screw_size = 1.5;
counter_sink = 2;
p=0.1;
r=wall_s/4;
s=45;
translate ([0,-20,catch_lenght]) rotat... | glb/cad_8f8c5feca155.glb |
Create a door latch bolt by constructing a central cylindrical shaft with a radius of 3.5mm and a total length of 60mm. This shaft is modified by intersecting it with a sphere of radius 30mm centered on the shaft, creating a rounded, capsule-like body.
At one end of this geometry, add a handle. The handle is formed b... | catch_lenght = 15;
holder_lenght = 60;
lenght = catch_lenght + holder_lenght ;
width = 40;
wall_s = 6;
bolt_r = 3.5;
bolt_slider_w = 4;
bolt_slider_gl = 21;
gap = 0.5;
screw_lenght = wall_s*2+1;
screw_size = 1.5;
counter_sink = 2;
p=0.1;
r=wall_s/4;
s=45;
rotate ([0,0,0]) translate ([width/2,-wall_s-30,bolt_r]) rot... | glb/cad_c2493ff83cc2.glb |
Create a fan holder arm with a total width of 69.5mm, a height of 5mm, and a length of 73mm. The main body is formed by a hull connecting a circle with a 5mm radius to a centered rectangle measuring 45mm by 5mm. This body is extruded to a thickness of 69.5mm.
Remove a central cylindrical core from the body using two c... | height = 5;
lenght = 45+28;
width = 69.5;
arm_width = 15;
arm_lenght = 45;
teeth_gaps = 3.2;
teeth_or = 5;
teeth_ir = 2;
notch_width = 35.5;
notch_lenght = 28;
notch_depth = 28;
notch_offset = 9;
screw_x = 59;
screw_y = lenght - 16;
screw_r = 1;
rotate ([90,180,0]) fan_arm();
module fan_arm(){
difference(){
ar... | glb/cad_a577929d8620.glb |
Create a cooling hood for an extruder. Start with a central attachment plate that is a rectangular block 77mm long, 28mm wide, and 3mm high.
Construct a cooling block centered on the plate. This block features a cylindrical chamber with a radius of 10mm and a height of 28mm. Surround this chamber with a wall thicknes... | height = 40;
width = 28;
lenght = 77;
attachment_plate_height = 3;
wall_thinkness = 1.8;
peek_chamber_h = 28;
peek_chamber_r = 10;
peek_skirt_r = 7;
hole_r = 10;
attachment_plate();
peek_cooling_block();
module attachment_plate(){
difference(){
translate([0,0,(height/2)-attachment_plate_height])
cube([lenght... | glb/cad_1118b91afb9f.glb |
Create an Astro-3D-Printing mount consisting of a base plate and a vertical support structure.
Start with a rectangular base plate 78mm long, 42mm wide, and 5.5mm thick. At one end of the base plate, create a vertical plate 94mm high and 7mm thick. This vertical plate is joined to the base plate, extending the overal... | $fn = 150;
basePlateLength = 78;
basePlateWidth = 42;
basePlateThick = 5.5;
verticalPlateHeight = 94;
verticalPlateThick = 7;
supportPlateLength = 39;
supportPlateWidth = 35;
supportPlateThick = 12;
supportPlateOffetX = 50;
supportPlateOffsetY = -20;
supportPlateRotation = 2.5;
ScrewDistance = 20;
fingerHeight =89... | glb/cad_a17f56614e5a.glb |
Create an Astro-3D-Printing adapter by starting with a main hollow cylinder that has an outer diameter of 42.3mm and an inner diameter of 30.3mm, with a total height of 21mm. The bottom of this cylinder should be closed with a floor thickness of 1.5mm. Create a central vertical hole through the top with a diameter of 1... | $fn = 300;
internDiameter = 30.3;
wallThickness = 6.0;
tubeHigh = 21;
ceilingThickness = 1.5;
viewHoleDiameter = 14;
focusHoleHeight = 10;
translate([0,1.3,tubeHigh])
rotate(a=180, v=[0,0,1])
canonAdpter();
difference()
{
difference()
{
difference()
{
union()
{
... | glb/cad_fda7a5669d1f.glb |
Create an Astro-3D-Printing adapter by starting with a main hollow cylinder that has an outer diameter of 42.3mm, an inner diameter of 30.3mm, and a height of 30mm. The bottom of this cylinder should be closed with a floor thickness of 1.5mm. Remove a central vertical core of 14mm in diameter from the top, but leave a ... | $fn = 300;
internDiameter = 30.3;
wallThickness = 6.0;
tubeHigh = 30;
ceilingThickness = 1.5;
viewHoleDiameter = 14;
focusHoleHeight = 10;
translate([0,1.3,tubeHigh])
rotate(a=180, v=[0,0,1])
canonAdpter();
difference()
{
difference()
{
difference()
{
union()
{
... | glb/cad_beac71c42cb4.glb |
Create a Raspi3-Airchannel consisting of two symmetrical mirrored frame sections, a top and a bottom.
For the bottom frame, create a central block 50mm wide, 22mm deep, and 18mm high. Add two rectangular extensions to the sides to form a total width of 86mm. On the outer edges, place four vertical support pillars; ea... | use <raspi3.scad>;
module frame_bottom() {
difference() {
union() {
for(i=[-1,1]) {
for(j=[0,1]) {
translate([3.5+j*58, i*24.5, 0]) {
cylinder(d=2.3, h=23, $fn=16);
cylinder(d=5.7, h=20, $fn=32);
... | glb/cad_11100a4afdea.glb |
Create a Raspi3-Airchannel by starting with a base plate 85mm long, 56mm wide, and 1.25mm thick. Round the four corners of this base with a radius of 3mm. On top of this base, add several rectangular blocks to represent the board's components: a central pin header block measuring 50.65mm by 5mm by 11mm, a micro USB pow... | module raspi3() {
ph = 1.25;
mxh = 2;
hdx = 58;
hdy = 49;
cr = 3;
be = -58/2;
difference() {
union() {
for(x=[-1, 1]) {
for(y=[-1, 1]) {
translate([x*(85/2-cr)+27/2-3.5, y*(56/2-cr), 0]) cylinder(r=cr, h=ph, $fn=32);
}
... | glb/cad_2f912f3512eb.glb |
Create a thin, circular ring for a kitchen drain mod. Start with a base disk that has a diameter of 63.7mm and a height of 0.6mm. Remove a concentric circular hole from the center with a diameter of 50mm.
To create the outer decorative teeth, place 17 small rectangular tabs around the perimeter. Each tab should be 5m... | include <hose-connector.scad>
drain_cutout_d = 63.7;
cutout_depth = 2.8;
drain_hole_diameter = 50;
drain_hole_depth = 13;
barb_count = 2;
wall_strength = 1;
drain_top();
module drain_top() {
h = 0.6;
n = 16;
l = 5; w = 2; h_notch = 0.6;
difference() {
union() {
cylinder(d=drain_cutout_d, h=h, $fa... | glb/cad_3033c1c250dd.glb |
Create a mod for the IKEA Duktig children's kitchen by constructing a tapered cylindrical body with an outer diameter of 48mm at the top and a lower diameter of 40.8mm at the base, with a total height of 8mm. The walls of this body should be 1.6mm thick.
Pierce the side walls with three rows of 32 small holes, each 1.... | outer_d = 48;
outer_h = 8;
lower_d = outer_d*0.85;
grid_depth = 3;
side_wall = 1.6;
bottom_wall = 2;
no_rings = 3;
ring_thickness = 1.8;
no_strips = 12;
strip_width = 1.6;
strip_thickness = 1;
middle_ring_d = 10;
ring_middle_offset = middle_ring_d*1.5;
middle_ring_holes = 12;
middle_ring_hole_d = 0.8;
no_side_hol... | glb/cad_15ac1c2c72dc.glb |
Create a mod for the IKEA Duktig kitchen consisting of two mirrored holder plates connected by vertical supports. Each plate is a rectangular base measuring 200mm wide by 120mm high with a thickness of 5mm.
On each plate, create a central cutout that is 100mm deep. The front plate's cutout is a complex organic profil... | height = 120;
thickness = 5;
stabilizator = 10;
stabilizator_h = 7.5;
board_width = 180;
board_thickness = 12.0;
board_gap = 0.2;
board_holder_s = 10;
board_holder_t = 1;
board_overlap = 5;
connector_size = 7.5;
connector_bolt_d = 4;
connector_bolt_depth = 3.2;
connector_bolt_gap = 0.5;
front_back_distance = 152;
... | glb/cad_99d885b81e6e.glb |
Create a canister cap connector for a children's toy kitchen. Start by creating a main cylindrical cap base with a height of 13mm and a top wall. On top of this base, add a connector featuring two barbs spaced 10mm apart. Each barb should be designed to fit a hose with a diameter of 6mm.
Extend a hollow snorkel tube ... | include <canister-cap.scad>;
include <hose-connector.scad>;
barb_count = 2;
barb_offset = 10;
snorkel_h = 200-13;
snorkel_d = 6;
snorkel_d_inner = snorkel_d - 2*1.2;
snorkel_d_top = 2;
snorkel_offset = 6;
rotate([0,180,0]) canister_cap_connector();
module canister_cap_connector() {
difference() {
union() {
... | glb/cad_d448c710ea0d.glb |
Create an inline hose adapter for a children's kitchen toy. The model consists of two barbed cylindrical connectors joined by a central junction.
First, create the input connector as a hollow cylinder with an internal diameter of 12.7mm (0.5 inches). This section should feature 3 stacked barbs, where each barb is a tr... | inputs = 1;
outputs = 1;
input_units = "US";
output_units = "US";
input_size = 0.5;
output_size = 0.375;
connector_type = "inline";
inline_junction_type = "round";
vault_wall_thickness = 2.0;
vault_support = "yes";
vault_connector_ratio = 1.8;
inline_junction_width = 0.8;
strength = 1.0;
input_barb_count =... | glb/cad_27d97fee6717.glb |
Create a marble display case as a rectangular block measuring 101.5mm in length, 15.5mm in width, and 19mm in height. The block features a central rectangular cutout running along its length, measuring 95.5mm long, 15.5mm wide, and 19mm deep, leaving a wall thickness of 1mm on all sides and the bottom.
Along the top ... | marble_diameter = 15.5;
marble_gap = marble_diameter/3;
marble_edge_offset = marble_diameter/6;
marbles = 6;
infinity = 1000;
box_width = marble_diameter;
led_diameter = 5;
led_length = 8;
cpu_length = 37;
cpu_width = 18;
cpu_depth = 5;
wall = 1;
marble_led_gap = 0.3;
$fn = 80;
difference() {
union() {
... | glb/cad_af05477eca79.glb |
Create a Constant Pressure Pump consisting of a centrifugal fan housed within a protective casing and a hose adapter.
First, construct the fan impeller. Create a hollow cup with an outer radius of 45mm and a height of 40mm, with a wall thickness of 5mm. Carve 48 radial slots into this cup by rotating a dual-blade pro... | module scCup(){
difference(){
cylinder(h=40,r=45,center=true,$fa=0.01);
translate([0,0,2])
cylinder(h=38,r=40,center=true,$fa=0.01);
}}
module singleBladeKO(){
union(){
translate([42.5,0,0]) rotate([0,0,-41]) cube([12.5,2.5,35],true);
rotate([0,0,-36])
translate([46.5,0,0])
rotate([0,0,-55])
cube([06,2.5,35],true);... | glb/cad_c5405840a98e.glb |
Create a Prusa i3 Hephestos X-axis endstop mount. Start with a rectangular base measuring 26mm in length, 6mm in width, and 3mm in height, centered on the origin. Drill two vertical holes with a radius of 2mm through the base, positioned at x = 9.5mm and x = -9.25mm. In the center of the base, create a cylindrical cuto... | difference()
{
translate([0,0,1.5])cube(size=[26,6,3], center=true);
translate([9.5,0,-1])cylinder(h=10, r=2, $fn=100);
translate([-9.25,0,-1])cylinder(h=10, r=2, $fn=100);
}
difference()
{
translate([0,3,7.05])rotate([90,0,0])cylinder(h=6, r=7.05, $fn=100);
translate([0,5,7.05])rotate([90,0,0])cylinder(h=10,... | glb/cad_1c021f9b95b1.glb |
Create a Y-axis endstop base for a Prusa i3 printer. Start with a central rectangular block measuring 20mm in length, 3mm in width, and 10mm in height. Attach a side base block measuring 3mm by 9.5mm by 10mm, positioned 8.5mm from the center along the length and 7.75mm along the width. Add a tab block measuring 10mm by... | translate([0,1.5,5])cube(size=[20,3,10], center=true);
translate([8.5,7.75,5])cube(size=[3,9.5,10], center=true);
translate([2,11,5])cube(size=[10,3,10], center=true);
difference()
{
translate([-4.5,11,5])cylinder(h=10, r=3, $fn=4, center=true);
translate([-4.5,14,5])cube(size=[3,3,10], center=true);
}
difference()... | glb/cad_391e0f821bd5.glb |
Create a filament roll support for a Prusa i3 printer by constructing a hollow vertical cylinder. Start with a solid outer cylinder that has a radius of 12mm and a total height of 80mm. Centered within this volume, remove a smaller concentric cylindrical core with a radius of 10.5mm and a height of 90mm to create a tub... | difference()
{
translate([0,0,40])cylinder(h=80, r=12, $fn=100, center=true);
translate([-0,0,39])cylinder(h=90, r=10.5, $fn=100, center=true);
} | glb/cad_fba21f8a0bf3.glb |
Create a fan support bracket for a Prusa i3 printer. Start with a central body that is 55mm wide and 5mm thick, extending 60mm in length. Integrate a fan mounting frame by adding a rectangular section 65mm wide, 5mm thick, and 70mm long, rotated 45 degrees. Add reinforcement blocks for the fan, including one 55mm by 5m... | module chaflan(){
difference(){
translate([6,0,6])
cube([12,16,12],center=true);
rotate([90,0,0])
cylinder(r=6, h=17, center=true, $fn=100);
}
}
module marco_resta(){
translate([0,0,00])
difference(){
translate([0,24,-53])
rotate([45,0,0])
cube([ancho+20,6,90], center=true);
translate([0,13.5,-55])... | glb/cad_97d37542be62.glb |
Create a Y-axis endstop frame for a Prusa i3 printer. Start with a base plate that is 26mm wide, 3mm thick, and 16mm deep, centered on the origin. On top of this base, add a vertical rectangular section 4mm wide, 35mm tall, and 26mm deep, positioned so it is centered along the width and extends upwards from the base.
... | difference()
{
union()
{
difference()
{
union()
{
translate([0,0,1.5])cube(size=[26,16,3], center=true);
translate([0,6,17.5])cube(size=[26,4,35], center=true);
}
translate([9.5,-5.3,0])cylinder(h=10,r=1.58,$fn=100,center=true);
translate([-9.5,-5.3,0])cylinder(h=10,r=1.58,$fn=100,center=t... | glb/cad_4751c5c84ee1.glb |
Create a Prusa i3 Hephestos X-axis belt coupler. The model consists of a main horizontal bridge and a vertical support column.
Start with a horizontal rectangular bridge measuring 74mm in length, 16mm in width, and 2mm in height. At one end of the bridge, integrate a vertical column that is 15mm wide and 16mm deep, ex... | module enganche_macho(){
h=13;
l=25;
a=16;
b=12;
rh=2.8;
rm=1.8;
ah=1.5;
difference()
{
union(){
difference(){
hull(){
translate([0,b/2,0])cylinder(h=a+0.5, r=h/2, $fn=100, center=true);
translate([0,-b/2,0])cylinder(h=a, r=h/2, $fn=100, center=true);
}
translate([0,(b/2)+1.5,0])cylinder(h=a+3... | glb/cad_d0464655bcf0.glb |
Create a Z-axis endstop mount for a Prusa i3 printer. Start with a rectangular base block measuring 26mm in width, 41mm in depth, and 5mm in height.
At the center of the base, create a cylindrical cutout with a radius of 7.05mm and a height of 6mm, oriented vertically. Inside this cutout, remove a smaller concentric ... | module chaflan(){
difference(){
cylinder(h=30,r=3,$fn=100,center=true);
translate([3,0,0])
cylinder(h=30,r=3,$fn=100,center=true);
translate([0,-5,0])
cube([10,10,40], center=true);
}
}
difference()
{
translate([0,17.5,-0.5])
cube(size=[26,41,5], center=true);
translate([20,37.5,0])
cube(size=[26,4... | glb/cad_482b0804cec2.glb |
Create a filament roll support for a Prusa i3 printer. Start by constructing a main body that combines a cylindrical base and a rectangular arm. Create a cylinder with a radius of 12mm and a height of 10mm, centered at X-130, Y-42, Z5. Extend a flat arm from this base, approximately 100mm in length, with a thickness of... | difference()
{
union()
{
difference()
{
union()
{
minkowski()
{
cylinder(h=8, r=6, $fn=100, center=true);
translate([20,3.5,8])cube(size=[40,7,8], center=true);
}
linear_extrude(height = 10)
polygon(points=[ [-2.5,12.4],
[43,-5.35],
[-130,-50],
[-130,-... | glb/cad_0907bd5726d6.glb |
Create a filament roll support for a Prusa i3 printer. Start by constructing a main body that combines a cylindrical base and an elongated arm. At one end, place a cylinder with a radius of 12mm and a height of 10mm, centered at X=-130, Y=-42, Z=5. From this base, extend a flat arm toward the opposite end.
At the far... | mirror([ 0, 1, 0 ])
{
difference()
{
union()
{
difference()
{
union()
{
minkowski()
{
cylinder(h=8, r=6, $fn=100, center=true);
translate([20,3.5,8])cube(size=[40,7,8], center=true);
}
linear_extrude(height = 10)
polygon(points=[ [-2.5,12.4],
[43,-5.35... | glb/cad_785633708dad.glb |
Create a grove-case by constructing a low-poly conical knob shape. Start by creating a hull between two spheres centered on the Z-axis: one sphere with a diameter of 5mm positioned at Z=5mm, and a larger sphere with a diameter of 10mm positioned at Z=10mm. Use a facet resolution of 16 sides for all spherical elements. ... | include <conf/config.scad>
use <lib/Write.scad/Write.scad>
d1=5;
d2=10;
$fn=16;
rotate([0,180,0]){
difference() {
knob(d1=d1,d2=d2);
difference() {
writesphere(text=MAT,where=[0,0,d2],radius=d2/2-0.5);
translate([0, 0, +1]) {
knob(d1=d1-1,d2=d2-1);
}
}
}
}
module knob(
d1=... | glb/cad_c6374b47634b.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.