Prompt stringlengths 96 2.17k | Code stringlengths 27 249k | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a DIN rail by extruding a specific 2D profile to a length of 10mm. The profile is centered on the X-axis and consists of a central vertical spine and two outer flanges. Start with a central vertical rectangle that is 1mm wide and 27mm high. Add two horizontal base plates at the top and bottom of this spine, each... | length = 10;
linear_extrude(length) dinRail();
module dinRail(){
t([0,-27/2]) square([1,27]);
t([0,-27/2]) square([7.5,1]);
t([0,27/2-1]) square([7.5,1]);
t([7.5-1,-27/2-5+1]) square([1,5]);
t([7.5-1,27/2-1]) square([1,5]);
}
module t(v=[0,0,0]){translate(v) children();} | glb/cad_7a4174afc1f2.glb |
Create a DIN rail clip with a total thickness of 1mm. The clip is designed to snap onto a standard DIN rail. Start by forming the main body as a vertical strip with a width of approximately 35mm. At the top and bottom, create protruding arms that wrap around the rail edges. The inner gripping section should have a wall... | $fn = 64;
length=1;
wall=2;
clipWall=1;
clipL=10;
tolerance=0.1;
cut=true;
mirror([1,0,0]) linear_extrude(length) dinRailClip(wall,clipWall,clipL,tolerance,cut);
%t([-7.5,0,0]) linear_extrude(length) dinRail();
module dinRail(){
t([0,-27/2]) square([1,27]);
t([0,-27/2]) square([7.5,1]);
t([0,27/2-1]) square([7.5... | glb/cad_d1e56bc12154.glb |
Create a DIN rail socket with a thickness of 0.1mm. The profile is based on a central structure with a wall thickness of 2mm. Construct the shape by forming a series of connected hulls and circular endpoints. Start with a central vertical section and extend it to a total height of 35mm. At the top and bottom extremitie... | $fn = 64;
length=0.1;
wall=2;
tolerance=0.2;
mirror([1,0,0]) linear_extrude(length) dinRailSocket();
%t([-7.5,0,0]) linear_extrude(length) dinRail();
module dinRail(){
t([0,-27/2]) square([1,27]);
t([0,-27/2]) square([7.5,1]);
t([0,27/2-1]) square([7.5,1]);
t([7.5-1,-27/2-5+1]) square([1,5]);
t([7.5-1,27/2-1])... | glb/cad_fa4089429f60.glb |
Create a Pocket Caltrop component by starting with a rectangular block 24mm wide, 12mm deep, and 14mm high. Carve a rectangular slot 12.1mm wide and 12mm deep through the center of the block along its width, starting from a height of 8mm.
At the center of the block, create a vertical hole with a radius of 2.2mm that ... | $fn = 20;
height = 14;
depth = 12;
width = 24;
center_of_mass = 8;
screw_radius = 2.4;
screw_head_radius = 4.5;
screw_head_depth = 2;
locking_screw_radius = 2.2;
grip_tolerance = 0.1;
module screw_socket() {
translate([0,0,-(screw_head_depth+5.5)]) {
cylinder(100,screw_head_radius,screw_head_radius);
... | glb/cad_b003c3031041.glb |
Create a dry measuring scoop with a total volume of 5ml. The main body is a hollow cylinder with a wall thickness of 1mm. The outer diameter and height are derived from the volume, maintaining a height-to-radius ratio of 1:1 (where height is twice the radius).
The scoop features a flat base with a thickness of 1mm. Th... | volume = 5;
volumeLabel = "";
unitLabel = "";
thick = 1;
$fn = $preview ? 0 : 200;
module flat(r, thick){
hull(){
circle(r=r + thick);
translate([-2*r,0,0])
circle(r=r/2);
}
}
module base(r, thick){
linear_extrude(thick)
flat(r, thick);
linear_extrude(2*thick)
difference(){
fla... | glb/cad_244c2de2855b.glb |
Create a Customizable Hanging Photo Frame with an outer boundary of 184mm by 134mm and a central rectangular cutout of 180mm by 130mm, leaving a 2mm border on all sides. The base frame thickness is 3mm.
Add a second layer on top of the border that is 2mm thick. At each of the four corners of the border, add a small tr... | line_size = 0.4;
layer_height = 0.2;
photo_size_val = [130,180];
border_val = 2;
photo_thickness_val = 2;
frame_thickness_val = 3;
hole_size = 2;
support_bar_width_val = 3;
extra_supports = false;
corner_bottom_left = true;
corner_bottom_right = true;
corner_top_left = true;
corner_top_right = true;
corner_th... | glb/cad_294b8ccf0a07.glb |
Create a damper socket for an aluminum profile. Start by creating a main rectangular body with dimensions 16.6mm wide, 26mm high, and 52.5mm deep. Round the vertical edges of this body with a 2mm radius.
Inside this body, create a cylindrical void to house the damper. This void consists of two stepped cylindrical sec... | $fn=64;
profile=20;
damper=[10.3,51.5,12,0.8];
wall=3;
bolt=5;
boltHead=10;
boltPad=2;
shift=[0,26,10];
r=2;
tol=0.2;
not=0.001;
block=[damper.x+tol+2*wall,shift.y,damper.y+wall];
body();
module body(){
difference(){
u(){
t([-damper.x/2-wall-tol/2,0,-shift.z]) mirror([0,1,0]) cubeRounded(block,r=[r,r,r],r... | glb/cad_48e1eb70dc53.glb |
Create a Pebble Time Round replacement bezel by starting with a thin disc 0.35mm thick and 35mm in diameter. Cut an oval hole through the center of this disc that measures 26mm wide by 25.5mm tall. Remove a small spherical section with a 1mm diameter from the bottom edge of the bezel, centered at coordinates (0, -17.5)... | $fn = 100;
difference() {
linear_extrude(0.35) {
difference() {
circle(d=35);
resize([26, 25.5]) translate([0, -.3]) circle(d=26);
}
}
translate([0, -17.5, .15]) sphere(1);
}
rotate([0, 0, -20])
translate([-35/2, 0, -.35*2])
rotate([0, 90, 0])
... | glb/cad_533663b69ad2.glb |
Create a cable holder clip with a total width of 20mm, a height of 15mm, and a base thickness of 4mm. The main body is a C-shaped bracket with rounded corners of 1mm radius. The base is a rounded rectangular slab measuring 17.4mm by 20mm with a thickness of 4mm. From this base, extend two vertical walls: one wall is 15... | $fn=64;
bolt = 6;
boltHead = 13.5;
boltPad = 4;
height = 15;
gap = 5;
wall = 2;
width = 20;
r = 1;
tol=0.2;
length = 2*wall+boltHead+2*tol+gap;
not = 0.01;
inf=100;
difference(){
u(){
t([0,-width/2,0]) cubeRounded([boltHead+2*tol+wall,width,boltPad],r=[r,r,r]);
t([0,-width/2,0]) cubeRounded([wall,width,heig... | glb/cad_43f75435e183.glb |
Create a filament guide for a 3D printer consisting of a mounting arm and a clip.
First, construct a mounting arm that is 4mm thick, 150mm long, and 13mm wide. Rotate this arm 15 degrees along its vertical axis. Within this arm, create two circular guide holes, each 16mm in diameter. These holes should be centered al... | $fn=64;
frameThickness=6;
frameHeight=40;
mountThickness=4;
mountThickness2=1.5;
hookLength=6;
holes=2;
hole=16;
smallHole=3;
smallHoleShift=70;
holeWall=5;
holderThickness=holeWall/2+holes*(hole+1.5*holeWall);
arm = [mountThickness,150,holderThickness];
armAngle=15;
r=2;
mirror([0,1,0]) clip();
arm();
module ... | glb/cad_c97ae2cc56f4.glb |
Create a mini filament spool consisting of two identical circular end-caps. For each cap, start with a flat disc 100mm in diameter and 3mm thick. Centered on this disc, create a raised cylindrical hub with an outer diameter of 46mm and a height of 30mm. Remove a central coaxial hole from the hub and the disc with a dia... | $fn=70;
base_h=3;
inner_d=40;
outer_d=100;
height=30;
cut_count=8;
additional_spacing = 0;
cut_d=(outer_d-(inner_d+6))/2-3;
module spool_part(part=1,h=5) {
difference() {
union() {
cylinder(d=outer_d,h=base_h, $fn=150);
cylinder(d=inner_d+6,h=h+3);
if (part==0)
cylinder(d=inner_d+3-add... | glb/cad_67406ac32251.glb |
Create an Octagon dice by finding the common volume where three identical octagonal prisms and a sphere intersect. Start with a sphere that has a diameter of 10mm. Create the first octagonal prism with a diameter of 10mm and a height of 10mm, centered on the sphere. Create a second octagonal prism of the same dimension... | $fn=64;
d1=10;
d2=10;
intersection(){
cyl();
rotate([0,90,0]) cyl();
rotate([90,0,0]) cyl();
sphere(d=d2);
}
module cyl(){
rotate(22.5) cylinder(d=d1,h=d1,center=true,$fn=8);
} | glb/cad_05a3ed25a7ae.glb |
Create a rounded knob with a star-shaped profile. The main body is a cylinder with a height of 12mm. The outer profile is a five-pointed star with an outer diameter of 40mm at the tips and an inner diameter of 30mm at the valleys. The tips of the star are rounded with a radius of 6mm.
Apply a 2mm fillet to both the to... | $fn=64;
n=5;
h=12;
d=[6,30,40];
f=[2,2];
knob(n=n,h=h,d=d,f=f);
module knob(n=5, h=10, d = [5,10,20], f=[2,2]){
points = n;
handleOuterDiameter = d[2];
handleInnerDiameter = d[1];
pointRadius = d[0];
handleThickness = h;
rTopFillet = f[1];
rBottomFillet = f[0];
baseDiameter = 0;
baseHeight = 0;
... | glb/cad_27aec637e255.glb |
Create a rectangular ONT Fibre Box with rounded corners. The main outer body should be 124mm long, 181mm wide, and 20mm high, with corners rounded to a 10mm radius. Hollow out the center of the box to create a shell with a wall thickness of 1.5mm.
On the interior of the shorter sides, incorporate two rectangular cuto... | $fn=100;
DoYouWant2=false;
Length=124;
Width=178+3;
Hight=20;
WallThickness=1.5;
Roundness=10;
ClipX=16;
ClipY=1.8;
ClipZ=17;
Offset=-7;
ClipFeatureX=16;
ClipFeatureY=1.5;
ClipFeatureZ=5;
ClipFeatureOffsetZ=3;
PlugWidth=13;
PlugHight=9.5;
main();
module main() {
difference() {
minkowski() {
cube([Len... | glb/cad_63b6105c5cf0.glb |
Create a lamp base consisting of a hemispherical cover and a circular bottom plate.
The bottom plate is a flat disc with a diameter of 120mm and a thickness of 0.9mm. Centered on this plate, create a rectangular housing for a transformer with outer dimensions of 37.5mm by 29.5mm and a height of 11.5mm. Inside this ho... | $fn=32;
bigFn=64;
transformer=[57.2,47.7,49];
transformerBase=[37+.5,29+.5,11.5];
transformerBlockZ=26;
transformerPad=7.5;
transformerShift=[0,-3.5,0];
antenaShift=[0,-35,38];
switchShift=[0,35,52];
switchAngle=-20;
d=120;
tol=0.2;
bolt=3+tol;
boltShift=7;
boltStands=8.7;
nut=6;
wall=2*.45;
inf=100;
not=0.001;
... | glb/cad_f1547bcf77ea.glb |
Create an ALU profile adapter by constructing a main body using a convex hull that connects six spheres of radius 2mm. Position these spheres at the following coordinates: (2, 18, 2), (2, -18, 2), (38, 18, 2), (38, -18, 2), (2, 18, 28), and (2, 2, 28).
Add two rectangular rails to the body. The first rail is a block ... | $fn=64;
tol = 0.2;
l1 = 40;
l2 = 30;
prof=[40,20];
nut = [8,5];
nutHead = [14+tol,9.5+tol];
padH = [4.5,3];
r=2;
rail=[[0,8,2],[0,4.8,0.8]];
not = 0.001;
inf = 100;
difference(){
body();
holes();
}
module rails(){
t([r,-rail[0].y/2,-rail[0].z]) cube([l1-2*r,rail[0].y,rail[0].z]);
rt([0,-90,0],v=[r,-rail[1].y/2... | glb/cad_3bc3c236e808.glb |
Create a spool holder adapter for an ALU profile. Start with a main rectangular block measuring 60mm in length, 20mm in width, and 8.5mm in height, featuring 1mm fillets on the corners.
Remove a central rectangular section from the bottom of the block measuring 18mm by 4mm by 6mm.
Create four bolt holes through the... | $fn=64;
layer=0.2;
bolt1=2.9;
bolt1L=6;
bolt1Head=5.2+.3;
bolt1HeadL=3;
bolt1Sink=bolt1HeadL;
span1=23;
bolt2=5;
bolt2L=10;
bolt2Head=9+.3;
bolt2HeadL=3;
bolt2Sink=3;
span2=42;
block=[60,20,8.5];
plate=[35,20,1.6];
cut=[18,4,6];
fillet=1;
f=fillet;
%t([0,0,-1-5]) cube([block.x, block.y, 2],center=true);
differen... | glb/cad_a5cda9b7c6e3.glb |
Create a Raspberry Pi Zero and Zero 2 frame. Start with a rectangular base plate measuring 58mm by 23mm with a thickness of 4.5mm. At each of the four corners, create a cylindrical mounting post with a diameter of 6mm and a height of 3mm. Centered on top of each post, add a smaller 2.4mm diameter hole that extends 1.5m... | $fn=30;
for (x=[0, 58])
for (y=[0, -23]) {
translate([x, y, 0])
cylinder(d=2.4, h=1.5);
translate([x, y, -3])
cylinder(d=6, h=3.01);
}
for (x=[0, 58])
hull(){
for (y=[0, -23]) {
translate([x, y, -3])
cylinder(d=6, h=1);
}... | glb/cad_033ba90e0230.glb |
Create a calibration test model consisting of three stacked geometric sections.
Start with a base rectangular block 20mm wide, 20mm deep, and 5mm high. On top of this base, add a second 20mm x 20mm x 5mm block, but round its vertical edges with a 3mm radius. Carve the letters "X", "Y", and "Z" into the top and side f... | $fn=32;
size=20;
h=[5,5,5,5];
hole=10;
r=3;
font=3;
fontH=1;
depth=size/4;
zDepth=1;
not=0.001;
difference(){
union(){
cubeRounded([size,size,h[0]],r=[0,0,0],center=[1,1,0]);
t([0,0,h[0]]) cubeRounded([size,size,h[0]],r=[r,r,0],center=[1,1,0]);
}
tr([size/2-depth+not,0,font/2+fontH],[0,90,0]) r(90) linear... | glb/cad_fa5109f69076.glb |
Create a 3D model of a "Customizable 100Hex" decorative plate. Start by creating a hexagonal base with a side length of 60mm and a thickness of 2mm.
If a base is requested, add a solid hexagonal slab 0.2mm thick beneath the main plate. To create the frame, add a hexagonal border 2mm wide around the outer edge.
Insid... | hex_size = 60;
hex_size_percent = 100;
hex_height = 2;
border_type = "hex";
border_size = 2;
hex_base = "no";
hex_base_thickness = 0.2;
color_of_base = "Black";
grill_pattern = "windmill";
grill_pattern_rotation = 0;
line_size = 0.8;
line_space = 2;
number_of_support_lines = 6;
centre_item = "yes";
color_... | glb/cad_f81874341e9e.glb |
Create a customizable cutlery organizer consisting of four hollowed-out compartments with rounded corners and edges. The overall structure is composed of four individual rounded boxes with a wall thickness of 2mm and a height of 50mm.
Construct three identical long compartments, each measuring 150mm in length and 50m... | $fn=32;
wall = 2;
h=50;
r=10;
t([0,0,0]) box([150,50,h],wall,r);
t([0,50-wall,0]) box([150,50,h],wall,r);
t([0,100-2*wall,0]) box([150,50,h],wall,r);
t([0,150-3*wall,0]) box([150,50,h],wall,r);
t([150-wall,0,0]) box([50,200-3*wall,h],wall,r);
module box(size=[50,30,20],wall=2,r=10){
module top(size=[9,9,1],r=1){
... | glb/cad_45c658be0f67.glb |
Create a set of customizable coasters and a matching container.
For the coasters, create a hexagonal base with a diameter of 76mm and a total height of 2mm. The base consists of a 1.6mm thick solid foundation with a 0.4mm high pattern embossed on top. The pattern is a "windmill" design, which consists of intersecting... | part_to_export = "both";
enable_preview_items = "no";
preview_cup_size = 72;
size_type = "cup-diameter";
size_in_MM = 76;
number_of_sides = 6;
corner_round = 3;
coaster_pattern_height = 0.4;
coaster_base_height = 1.6;
extra_border_height = 0;
multicolor_preview = true;
multicolor_preview_color = "White";
co... | glb/cad_00a43552c63b.glb |
Create an angled dry box filament feeder consisting of a flat base with a conical guide. Start by creating a flat base plate that is 20mm wide and 20mm long with a thickness of 2mm. At each end of the base, center a circular hole with a radius of 2mm to serve as mounting points. In the center of the base, construct a h... | $fs=0.25;
difference() {
union() {
translate([10,10,0]) cylinder(r=10,h=2);
translate([20,10,0]) cylinder(r=10,h=2);
translate([10,0,0]) cube([10,20,2]);
}
translate([5,10,-10]) cylinder(r=2,h=20);
translate([25,10,-10]) cylinder(r=2,h=20);
translate([15,10,-10]) cylinder(r=4,h=20);
}
... | glb/cad_e164b8a81f75.glb |
Create an Overhang Hole tool consisting of two separate geometric components spaced 25mm apart along the X-axis.
The first component is a flat ring with an outer diameter of 14mm and an inner hole of 10mm. The ring has a total height of 0.6mm, constructed from three stacked layers of 0.2mm each. The inner void is not... | $fn=32;
easyHolePositive([10,19],layers=3);
t([25,0,0]) easyHoleNegative([10,19],layers=3);
module easyHolePositive(d=[10,14],layer=0.2,layers=2){
n=floor(180/acos(d[0]/d[1]));
not=0.0001;
intersection(){
for(i=[0:layers-1]){
for(r=[0:360/n/pow(2,i):360])
rt(r,v=[d[0]/2,-d[1]/2,i*layer-layer*layers])
... | glb/cad_0261c476b9f8.glb |
Create an NVME adapter bracket arm with a total width of 43.5mm, a height of 53.5mm, and a thickness of 12mm.
Start with a solid rectangular block of these dimensions. Remove a smaller rectangular section from the interior, leaving a base wall thickness of 1.5mm and a top wall thickness of 3mm. Carve a vertical cylin... | arm_thickness = 12;
arm_width = 32 + 2 + 9 + 0.5;
arm_height = 55.5 + 2 - 2;
arm_base_width = 9;
arm_top_thickness = 3;
arm_base_thickness = 1.5;
arm_fillet_r = 5;
arm_vertical_cutout_d = 8;
base_fillet_r = 1;
base_fillet_length = 8;
screwdriver_hole_d = 5;
grabber_finger = 3;
grabber_thickness = 2;
grabber_fillet... | glb/cad_7573d0e72754.glb |
Create a Prusa i3 LCD knob. Start by creating a star-shaped handle with a thickness of 7.5mm. The handle should have 3 points, an outer diameter of 40mm, an inner diameter of 20mm, and a point radius of 7mm. Apply a 3mm fillet to both the top and bottom edges of the handle.
In the center of the handle, create a hexago... | $fn=32;
h=7.5;
hexD=[11,13];
sink=2;
holeH=5.1;
hole=6;
difference() {
knob(n=3, h=7.5, d = [7,20,40], f=[3,3]);
t([0,0,-0.1]) cylinder(h = holeH, d=hole);
t([0,0,-0.1]) cylinder(h = 0.6, d1=hole+1.1, d2=hole);
tr([0,0.75,-0.1],-90) cube([1.5,5.3,holeH]);
u(){
difference(){
t([0,0,-0.1]) cylinder(h = 2,... | glb/cad_31605162bd7b.glb |
Create a Hex dice by finding the intersection of four primary geometric volumes. First, define a central sphere with a diameter of 10.7mm. Within this sphere, intersect three identical hexagonal prisms. Each prism must have a diameter of 10mm and a height of 11.5mm. Position the first prism vertically along the Z-axis.... | $fn=128;
d1=10;
d2=10.7;
s=1.15;
dice();
module dice(){
intersection(){
scale([1,1,s]) cyl();
scale([1,1,s]) r(0) r([0,90,0]) cyl();
scale([1,1,s]) r(60) r([0,90,0]) cyl();
scale([1,1,s]) r(120) r([0,90,0]) cyl();
sphere(d=d2);
}
}
module cyl(){
cylinder(d=d1,h=d1,center=true,$fn=6);
}
module r(a=[0,... | glb/cad_d476226581ff.glb |
Create a wide coupling for OO gauge model trains. Start with a main rectangular body that is 21mm wide and 1.5mm thick.
At the front of the body, add a fixing arm. For an X8031 style fixing, create a rectangular block 6mm wide, 5.9mm long, and 1.5mm thick. Center this block on the body. Remove a central vertical hole... | include <OO_large_coupling.scad>
include <constants.scad>
include <hook_for_clip.scad>
GEN_COUPLING = true;
GEN_HOOK = true;
GEN_IN_SITU = true;
STYLE = "wide";
HOOK = "chunky";
FIXING = "X8031";
min_thickness = 1.5;
x8031_main_arm_length = 5.9;
x8031_main_arm_width = 6;
hook_holder_diameter = 1.8;
hook_holder_le... | glb/cad_bf5a6c79e188.glb |
Create an OO Gauge Coupling consisting of a flat profile with a thickness of 1mm. Start with a central vertical mid-bar that is 3.2mm wide and 9.5mm high. At the top of this bar, attach a horizontal top bar measuring 15.2mm wide and 1.9mm high.
To form the hook, add a vertical section extending downwards from the top ... | thickness = 1;
midbar_width = 3.2;
midbar_height = 9.5;
topbar_width = 15.2;
topbar_height = 1.9;
main_arm_width = 6;
hinge_base_diameter=4.2;
hinge_diameter = 2.3;
hinge_gap = 1.5;
hinge_bar_height = 2.6;
hinge_bar_width=8+1;
hinge_x = 9;
coupling_hinge_height = 4;
hinge_y = midbar_height - topbar_height - coupl... | glb/cad_48c7dd65e641.glb |
Create a model for an OO Gauge coupling. Start with a base plate that is 21mm wide, 1.5mm thick, and 9.7mm long, featuring a curved front edge with a radius of 26mm. The base should have a flange that tapers from 2mm to 1mm. Centered on this base, create a rectangular stub 8mm wide and 5.9mm long with a thickness of 1.... | include <OO_large_coupling.scad>
min_front_thickness = 0.8;
module hornby_style_coupling(withMountHoles=true){
min_thickness = 1.5;
hole_diameter = 2.7;
second_hole_diameters=2;
second_hole_distance=7.5;
main_arm_width = 6+2;
main_arm_length = 5.9;
difference() {
union(){
coupling_base(arm_thicknes... | glb/cad_6c780aabfaae.glb |
Create a cable hook consisting of a curved arm attached to a flat mounting base. Start by creating a semi-cylindrical shell with an outer diameter of 50.8mm and a wall thickness of 2mm. This shell should be open on one side to form a C-shaped hook and have a total width of 14mm.
At one end of the hook, integrate a fl... | FN = 90;
Delta = .11;
CLR_Delta = .25;
ItoM = 25.4;
hook_W = 14;
hook_H = 30;
THK1 = 5;
THK2 = 2;
hook_D = ItoM*(2);
Screw_D = 4.5;
Screw_HD_D = 10;
Screw_HD_THK = 4;
translate([hook_D/2+hook_W-THK2,-hook_W/2,THK1])
rotate([-90,0,0])
difference()
{
cylinder(d=hook_D,h=hook_W, $fn=FN);
translate([0,0,-Delta]... | glb/cad_6c50a7b44403.glb |
Create a wall mount bracket for a 120mm exhaust fan. Start with a flat base plate that is 127.6mm wide, 127.6mm deep, and 24.8mm thick. From this base, remove a central square section measuring 119.4mm by 119.4mm to create a perimeter frame with a wall thickness of 8mm.
Extend the bracket by adding an 8mm thick verti... | $fs = .2;
$fa = 2;
fanThickness = 25;
fanWidth = 119.6;
tolerance = 0.2;
bracketThickness = 8;
bracketFrontHeight = 60;
bracketBottomExtension = 90;
finalThickness = fanThickness - tolerance;
finalWidth = fanWidth - tolerance;
screwThickness = 4;
screwHead = 7;
screwHeadHeight = 3;
difference() {
union() {
diff... | glb/cad_c6e19fd2bd85.glb |
Create a tube adapter flange consisting of a flat square base and a transitioning circular neck.
Start with a square base plate that is 2mm thick. The plate should have rounded corners with a radius of 4mm. Centered on this plate, create a circular opening with an inner diameter of 119mm. At the four corners of the s... | roundRadius = 4;
thickness = 2;
flangeThickness = 2.01;
holeDistance = 105;
holeDiameter = 4;
boltHeadDiameter = 6;
angle = 60;
inputTubeLength = 3;
inputDiameter = 119;
outputLength = 30;
outputDiameter = 74;
meshLines = 0;
meshWidth = 0;
meshHei... | glb/cad_95dac2067d7a.glb |
Create a PVC Pipe Mount consisting of a base plate and a tilted cylindrical holder. Start with a base plate 7mm thick, formed by the convex hull of two circles with diameters of 44mm positioned at x=44 and x=-44. Subtract two hexagonal holes with a 2.5mm diameter from this base, one at each circle's center, extending t... | $fn=200;
inner_dia = 33.7;
outer_dia = 44;
hole_depth = 30;
pipe_angle=10;
support_thickness=16;
2x4_thickness=7;
pvc_pipe_holder(pipe_angle, inner_dia, outer_dia, hole_depth, 2x4_thickness, support_thickness);
module pvc_pipe_holder(pipe_angle, inner_dia, outer_dia, hole_depth, 2x4_thickness, support_thickness){
... | glb/cad_78f83a1b6424.glb |
Create a USB Blocker consisting of two rectangular prisms stacked together. First, create a main upper block with dimensions of 6mm in width, 13.4mm in length, and 1.5mm in height, centered on the origin. Then, create a second, thinner base plate measuring 7mm in width, 14.4mm in length, and 0.5mm in height. Position t... | cube([6,13.4,1.5],center=true);
translate([0,0,-1]) color("salmon") cube([7,14.4,0.5],center=true); | glb/cad_d6bd025ba95e.glb |
Create a mechanical water seal press and extractor set consisting of four distinct components.
First, create a press tool by centering a cylinder 15mm high with a 19mm radius. Remove a concentric core with a 13.25mm radius. Attach a central pillar 30mm high with a 6.75mm radius, featuring a hole 4.05mm in radius. Top... | translate([30,0,(-20)]) rotate([0,180,0]) color("red") press();
translate([30,0,(20)]) color("red") press_backplate();
translate([-30,0,(-20)]) color("green") punch();
translate([-30,0,(20)])color("green") punch_backplate();
module press()
{
difference()
{
cylinder(h=15,r=38/2,$fn=64,center=true);
... | glb/cad_b152cd5c1d8e.glb |
Create a Bushing Barrel Case designed as a hollow cylinder with a total height of 24mm and an outer radius of 7.5mm. The center of the object must be bored out with a hole of 5.1mm radius (10.2mm diameter) running through the entire length.
Along the outer wall, incorporate a series of decorative rings. These rings ar... | 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]]
);
}
module pocketring()
{
difference()
{
cylinder(h=1.2,r=15/2+0.2,$fn=64,center=true);
... | glb/cad_7c11db36d393.glb |
Create a P3Steel z axis rod top centering piece. Start by creating a main cylindrical body with a radius of 6mm and a height of 5mm, centered on the origin. Add a thin top flange to this body, which is a cylinder with a radius of 7mm and a height of 1mm, positioned 2mm above the center. From this combined shape, remove... | difference()
{
union(){
cylinder(h = 5, r=6, $fn=64, center=true);
translate([0,0,2.]) cylinder(h = 1, r=7, $fn=128, center=true);
}
union(){
translate([0,0,2]) cylinder(h = 7, r=5, $fn=128, center=true);
cylinder(h = 8, r=3, $fn=128, center=true);
}
} | glb/cad_8983a17ebeac.glb |
Create a bushing adapter by starting with a main cylinder that has a height of 24mm and a radius of 7.5mm. Remove a smaller concentric cylinder from the center with a radius of 5.1mm and a height of 24.1mm to create a hollow tube. To create the opening for the bushing, remove two rectangular prisms from the main body. ... | 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]]
);
}
difference()
{
cylinder(h=24,r=15/2,$fn=64,center=true);
color("red") cylinder(h=24.1,r=10/2+.1,$fn=... | glb/cad_7078bb8a70e9.glb |
Create a Captive Square Nut Thumbnut by starting with a main cylindrical body that is 14mm in diameter and 5mm in height. Apply a 1mm chamfer to both the top and bottom edges of this cylinder. Centered within this body, create a square cavity 6.5mm wide, 6.5mm deep, and 1.75mm high to house a square nut, positioned 1mm... | nut_size_mm = 6.5;
nut_thickness_mm = 1.75;
thumbscrew_diam_mm = 14;
thumbscrew_height_mm = 5;
chamfer_mm = 1;
thread_hole_diam_mm = 2.3;
radius_offset_scale = 1.1;
knurl_depth_mm = 2.75;
knurl_count = 10;
$fn=100;
difference() {
%union() {
cylinder(d1=thumbscrew_diam_mm-2*chamfer_mm, d2=thumbscrew_diam_m... | glb/cad_3d30096f31ee.glb |
Create a Voron V0 Kirigami Bed V3 Offset Nut by designing a cylindrical base with a diameter of 10mm and a height of 5mm. From the center of this base, remove a smaller cylindrical volume to create a hole. This hole is not a simple bore but is formed by the intersection of two different cylinder sizes: first, create a ... | $fn=64;
difference()
{
union()
{
for(i=[0:0.25:3]) translate([i,0,0]) cylinder(4,3.2/2,3.2/2);
for(x=[0:0.25:1]) translate([x,0,0]) cylinder(2,10/2,10/2);
}
translate([0,0,-0.5]) cylinder(5,3.3/2,3.3/2);
} | glb/cad_fa96645d7d97.glb |
Create a key scale holder consisting of a base, a spring mechanism, a hook, and a lid.
Start by creating the base, which is a rounded, organic plate with a total height of approximately 8.8mm. The base features a central circular cavity to house the spring and four small alignment pins (tapered cylinders) located at ... | $fn = 60;
vzdalenost = 0;
uhel = -((36/6)*vzdalenost);
label = "Daddy";
{
union()
{
translate([0,0,0]) color("green",1.0) zakladna();
}
}
module t(t, s = 18, style = "") {
rotate([90, 0, 0])
linear_extrude(height = 1)
text(t, size = s, font = str("Liberation Sans", style), $fn = 16);
}
module s... | glb/cad_18769d993e07.glb |
Create a rectangular nameplate for a key scale. Start by constructing a base plate using a hull of four cylinders, each with a diameter of 2.6mm. These cylinders should be positioned at the coordinates (14, 6, 3.2), (-14, 6, 3.2), (14, -6, 3.2), and (-14, -6, 3.2), and the resulting plate should have a total height of ... | text_height = 1.6;
text_label = "Text ;-)";
$fn=120;
plate_height = 0.6;
stitek_1();
module t(t, s = 18, style = "") {
rotate([90, 0, 0])
linear_extrude(height = 1)
text(t, size = s, font = str("Liberation Sans", style), $fn = 16);
}
module stitek_1()
{
hull()
{
translate([14,6,3.2]) cylinder(d... | glb/cad_28836a7792b5.glb |
Create a Phase Card Holder for the Ares Expedition game. The main body is a rectangular block with a width of 119.25mm, a depth of 47.7mm, and a height of 47.7mm. Tilt the entire block upwards by 25 degrees along the X-axis. To create the card slot, remove a rectangular section from the top and back, leaving a front li... | card_size = 47.7;
width_factor = 2.5;
tolerance = 0.1;
tilt = 25;
lip_width = 2;
lip_height = 3;
peg = false;
peg_hole = false;
peg_tolerance = 0.125;
peg_width = 5;
peg_height = 4;
peg_depth = 3;
peg_radius = 3;
test_pegs = false;
magnet_left = false;
magnet_right = true;
magnet_width = 3.7;
magnet_height = 9.... | glb/cad_c5b6f5b91be7.glb |
Create a customizable bookmark that is 20mm wide, 75mm long, and 0.5mm thick. At the bottom of the bookmark, create a page tab that extends 15mm upward from the base and is 15mm wide, centered horizontally. The top edge of this tab must be rounded. Within the main body of the bookmark, subtract a small circular hole wi... | hole_diameter = 1.5;
bookmark_length = 75;
bookmark_thickness = .5;
tab_length = 15;
message = true;
message_type = "text";
message_size = 10;
message_msg = "PRUSA";
message_font = "Comic Sans MS";
message_offset = 0;
message_height = 0.5;
rounded_tab = true;
module bookmark() {
union() {
differ... | glb/cad_16456f6d0b20.glb |
Create a Parametric Magnetic Fidget Switch consisting of a base case and a movable lever.
Construct the base case as a 30mm cube with 2mm rounded corners and a height of 15mm. The top face must feature a complex central cutout to accommodate the lever. This cutout includes a circular opening with a radius of approxim... | mag_diam = 6;
mag_height = 3;
mag_tol = 0.2;
mag_lever_od = 10;
base_mags =1;
mag_detent = 1;
mag_overlap = 0.65;
mag_olap_acc = 0.0001;
lever_width = 20;
lever_base_tol = 0.2;
lever_chamfer = 0.6;
lever_inset = 5;
lever_mags = 4;
lever_len = 18;
lever_thick = 6;
lever_hinge_id = 6;
lever_bearing = false;
lever_b_od ... | glb/cad_5d13571c5201.glb |
Create two ADXL345 sensor mounts, an X bracket and a Y bracket, designed as low-profile C-shaped clips with a wall thickness of 1.5mm. Both brackets should feature a flat rectangular backplate that is 20.5mm wide and 1.5mm thick, with a flat area of 12.5mm in length.
For the X bracket, create a central rectangular cut... | adxl_type = "GENERIC";
show_x_bracket = true;
show_y_bracket = true;
have_screws = true;
x_clamp_t = 2.27;
x_clamp_w = 15;
x_clamp_l = 5;
y_clamp_t = 6.57;
y_clamp_l = 8.0;
err = 0.2;
gen_sensor_w = 20.5;
gen_sensor_l = 15;
gen_sensor_flat_l = 12.5;
gen_sensor_raw_hole_d = 3.2;
gen_sensor_hole_dist = 15;
ada_sens... | glb/cad_d39ec87eb830.glb |
Create a rounded box and a sliding lid. The box should have overall dimensions of 100mm length, 35mm width, and 12mm height, with a corner radius of 10mm. The walls and bottom should be 2mm thick. The interior should be hollowed out, leaving a 2mm bottom base. Along the top inner edges of the long walls, create a ledge... | itemsShown="both";
boxLength=100;
boxWidth=35;
boxHeight=12;
cornerRadius=10;
wallThickness=2;
bottomThickness=2;
lidThickness=2;
lidClearance=0.4;
lidEdgeThickness=0.5;
withNotch=true;
lidText="420";
labelSize=20;
rotateText=1;
if (itemsShown=="box") showBox();
if (itemsShown=="lid") {showLid();}
if (itemsShown=="bo... | glb/cad_f3b563ede650.glb |
Create a telescope mirror wall hanger designed to hold a mirror 160mm in diameter and 18.5mm thick.
Start by creating a diamond-shaped reinforcing frame with a thickness of 6mm, centered on the XY plane. The frame's outer boundary is a square with sides of approximately 113mm, rotated 45 degrees, with a smaller squar... | dmirror = 160;
tmirror = 18.5;
ext = 4;
thk = 6;
union() {
difference() {
for(i=[0:45:180]) rotate([0,0,i]) arm(2*tmirror*sin(i));
translate([0,0,0.01]) mirror(0.1);
}
hanger();
}
module mirror(clearance = 0) {
if (clearance > 0) {
hull() {
cylinder(tmirror, d=dm... | glb/cad_17f774b850ee.glb |
Create a Prusa i3 MK3 thicker front panel. Start with a main body consisting of a base block 155mm wide, 59.8mm deep, and 12mm thick (including a 10mm front side thickness). Add structural reinforcements to the left and right sides, each 1.5mm wide, 70.7mm deep, and 26mm high.
Cut a rectangular LCD window 98.5mm wide,... | frontSideThick=10;
fst=frontSideThick;
inf=100;
module main_body(){
difference(){
u(){
t([ -77 , -4.5 , -fst ] ) cube( [ 155 , 59.8 , 2+fst ] );
tr([ -77 , -4.5 , 0 ],[35,0,0]) cube( [ 155 , 2 , 20.08 ] );
tr([ -77 , -3.5 , -1 ],[35,0,0]) cube( [ 7 , 5 , 15 ] );
tr([ 71 , -3.5 , -1 ],[35,0,0]) cube( [ ... | glb/cad_eac0b3dfed92.glb |
Create a filament spool holder tube by constructing a vertical assembly of three coaxial cylinders. Start with a central main shaft that is 88mm tall with a diameter of 8mm, using an 18-facet resolution to create a polygonal profile. At both the top and bottom ends of this main shaft, add a cylindrical cap with a diame... | {
union() {
translate([0,0,4])
cylinder(h=8,d=8,center=true, $fn=60);
translate([0,0,9.5])
cylinder(h=3,d=10,center=true, $fn=60);
translate([0,0,55])
cylinder(h=88,d=8,center=true,$fn=18);
translate([0,0,100.5])
cylinder(h=3,d=10,center=true, $fn=60);... | glb/cad_450a9e819ebc.glb |
Create an OpenScan Vise Mount consisting of two main components: a base mount and a movable jaw.
First, create the base mount. Start with a cylinder 10mm in diameter and 15mm in height. Remove a central vertical hole 5.25mm in diameter, but leave a flat keyway cut 4.7mm wide along one side of the hole to accommodate ... | motor_shaft_height_mm = 15;
motor_shaft_diam_mm = 5.25;
motor_shaft_diam_incl_key_cut_mm = 4.7;
vice_base_thickness_mm = 10;
vice_base_width_mm = 20;
vice_base_length_mm = 20;
bolt_diam_mm = 3.25;
vice_jaw_thickness_mm = 5;
vice_jaw_height_mm = 25;
vice_free_jaw_brace_bolt_inset_mm = 2;
brace_bolt_square_nut_size_mm = ... | glb/cad_ea06a25f0bde.glb |
Create a safety glass holder for a bench grinder. The main body is a rectangular block 168mm wide, 143.5mm long, and 32.6mm high. The top surface is angled downward at 8.5 degrees.
Carve a central rectangular window 134mm wide and 86mm long, offset 42mm from the rear, to accommodate a glass pane. Create a recessed po... | left_or_right="Left";
include_led_wiring_hole="Yes";
l=143.5;
w=168;
h=32.6;
rear_ang = 98.5;
front_ang = 99;
side_ang = 9.5;
top_ang = 8.5;
window_w = 134;
window_l = 86;
window_to_rear_offset = 42;
wall_thickness = 2;
rod_radius = 3.175;
rod_offset_x = 35.35;
$fn=100;
module bev_rear() {
module bev_rear_cylind... | glb/cad_b2da57389d11.glb |
Create a Router Hole Cutting Jig as a square plate with a total thickness of 6.35mm. The outer dimensions of the square are 177.8mm by 177.8mm, featuring rounded corners with a radius of 12.7mm. Apply a 1.016mm chamfer to both the top and bottom outer edges.
In the center, create a circular hole with a diameter of 152... | generate_for_sample_print = "No";
thickness_in = 0.25;
hole_diam_in = 6;
hole_offset_in = 1.0;
corner_fillet_in = 0.5;
top_bottom_chamfer_in = 0.04;
include_clamp_holes = "Yes";
text_depth_mm = 0.4;
text_size_scale = 1;
text_size = (0.75 * text_size_scale * hole_offset_in) * 10;
clamp_pocket_size_in = 1.1;
cla... | glb/cad_e6776c6e245e.glb |
Create a cylindrical container and matching lid. For the container, create a cylinder with a radius of 15mm and a height of 30mm. Hollow out the center by removing a concentric cylinder from the top, leaving a bottom thickness of 2.5mm and a wall thickness of 2.5mm.
For the lid, create a two-tiered structure. The bas... | radius = 15;
height = 30;
bottom_thickness = 2.5;
wall_thickness = 2.5;
knob_size = 2.5;
tolerance = 1;
outer_chonkosity = 360;
inner_chonkosity = 360;
lid_only = false;
cup_only = false;
module cup(){
difference() {
cylinder(height, radius, radius, $fn = outer_chonkosity);
translate([0,0,bottom_thickness])
... | glb/cad_fb994a1bb34c.glb |
Create a slim fidget ring with a total height of 7mm and a central finger diameter of 20mm. The model consists of two concentric parts: an outer ring and an inner rotating band.
Construct the outer ring as a cylinder with a height of 7mm. The outer wall should have a diameter of 23mm, but the top and bottom 1mm sectio... | $fn=64;
dia_finger=20;
ring_h=7;
inner_w=1;
outer_w=1.6;
gap_w=.5;
ridge_w=1;
click_r=ridge_w;
outer_smooth=.5;
clicks=0;
chamferring((dia_finger-ridge_w*2+outer_smooth), ridge_w, inner_w, ridge_w*2, 0,gap_w,ridge_w*2-outer_smooth );
chamferring((dia_finger-ridge_w*2+outer_smooth)+... | glb/cad_d0ff47a1a975.glb |
Create a print-in-place geared fidget ring with a total height of 7mm and an inner finger diameter of 24mm. The model consists of two concentric rings that interlock via fishbone (herringbone) gears.
First, construct the inner ring. It should have a base diameter of 24mm, with a 1.4mm thick ridge at the top and bottom... | $fn=64;
use <Getriebe.scad>
dia_finger=24;
zaehne=dia_finger-12+25;
ring_h=7;
inner_w=1;
outer_w=2;
gap_w=.7;
ridge_w=1.4;
click_r=ridge_w;
clicks=0;
chamferring(dia_finger, ridge_w, inner_w, ridge_w*2, 0,gap_w,0);
chamferring(dia_finger+inner_w*2+gap_w*2, ridge_w, outer_w, ridge_w, 1,gap_w,+rid... | glb/cad_d52758efbee4.glb |
Create a print-in-place geared fidget ring consisting of two concentric rings that rotate independently. The overall height of the model is 5mm.
First, create the inner ring. This part is a cylinder with an outer diameter of 22mm and a height of 5mm. Carve out a central hole with a diameter of 20mm. To allow for rotat... | $fn=64;
use <Getriebe.scad>
dia_finger=24;
ring_h=5;
ritzel_h=5+.87;
zaehne=41;
dia_finger=20;
ring_h=5;
ritzel_h=5+.87;
zaehne=37;
dia_finger=18;
ring_h=5;
ritzel_h=5+.87;
zaehne=35;
dia_finger=12;
ring_h=5;
ritzel_h=5+.87;
zaehne=28;
zaehne=dia_finger-18+35;
inner_w=1;
outer_w=2;
gap_w=.7;
ridge_w=1.4;
click_r... | glb/cad_c3e5a87fc336.glb |
Create a ring sizer gauge with a total thickness of 3mm. Start by creating a base shape that is the convex hull of two circles: a large circle with a diameter of 23.04mm and a smaller circle with a diameter of 11.52mm positioned so that its center lies on the edge of the larger circle. Extrude this combined shape to a ... | inner_ring_circumference = 66;
wall_width = 2;
thickness = 3;
inner_ring_diameter = inner_ring_circumference / PI;
echo(inner_ring_diameter);
outer_diameter = inner_ring_diameter + 2 * wall_width;
$fn=50;
module base() {
hull(){
circle(d=outer_diameter);
translate([outer_diameter,0,0]) circle(d=... | glb/cad_1ca9fb1a201a.glb |
Create a parametric cup holder adapter consisting of three stacked concentric sections. Start with a top cylindrical sleeve that is 50mm high with an outer diameter of 96mm and an inner diameter of 94mm, creating a wall thickness of 1.6mm.
Directly beneath this, add a transition section 9mm in height that tapers line... | $fn=150;
bottle_diameter = 92;
bottle_height = 50;
bottle_tolerance = 2;
holder_top_diameter = 82;
holder_bottom_diameter = 74;
holder_depth = 72;
wall_thickness = 1.6;
transition_height = 9;
include_text = false;
text_spread_angle = 90;
text = "NALGENE";
difference(){
water_bottle();
if(include_text){
translate([... | glb/cad_7143f49ce7e3.glb |
Create an exhaust check valve consisting of a hollow outer tube and a movable inner flap.
Construct the outer tube as a cylinder with an outer diameter of 89mm and a height of 50mm. The tube should be hollow, with an inner diameter of 86mm. Create a horizontal hole passing completely through the center of the tube wa... | $fn=360;
$correction=11;
$correctionxy=sqrt(($correction*$correction)/8);
module tube ()
{
difference()
{
union()
{difference()
{
cylinder(d=100-$correction,h=50,center=false);
translate([0,0,1]) cylinder(d=97-$correction,h=50,center=false);
cylinder(d=90-$correction,h=51, center=false);
};
translate([-30+$correctionx... | glb/cad_243656f4a121.glb |
Create a spacer for a K40 laser and Cloudray mirrorset by starting with a cylinder that has an outer diameter of 16mm and a height of 12.5mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a diameter of 12.3mm and a height of 14mm. To create an opening for the part to clip on, rem... | $fn=100;
difference()
{cylinder(d=16,h=12.5,center=true);
cylinder(d=12.3,h=14,center=true);
translate([5,0,0]) cube([11,10,14],center=true);
}; | glb/cad_6f2926065708.glb |
Create a mount for a YF-B7 water flow sensor. Start with a base plate that is 40mm wide, 40mm deep, and 5mm thick. On top of this base, add two vertical support pillars, each 15mm wide, 8mm deep, and 31mm tall. Position these pillars so they are spaced 65mm apart along the center axis of the base.
Within these pillars... | $fn=60;
difference()
{
union()
{
translate([0,5,0]) cube ([40,40,40],center=false);
translate([5,-20,0]) minkowski(){cube([30,90,5],center=false);cylinder(d=10,h=0.00001,center=true);};
translate([20-7.5,-19,5]) cube([15,8,31],center=false);
translate([20-7.5,80-19,5]) cube([15,8,31],center=false);... | glb/cad_7f85fdc31ff3.glb |
Create a red dot laser mount consisting of three distinct components: an attachment ring, a hook, and a mounting bracket.
First, create the attachment ring by forming a cylinder with a 35mm diameter and 10mm height, then hollow out the center with a 32mm diameter cylinder that is 12mm high. Remove material from the s... | $fn=60;
module attach()
{
difference()
{minkowski() {cylinder(d=35,h=10,center=false); sphere(d=5);}
translate([0,0,1]) cylinder(d=32,h=12,center=false);
translate([-20,0]) cube([40,100,30],center=true);
rotate([0,0,-90]) translate([-20,0,0]) cube([40,100,30],center=true);
rotate([0,0,-60]) translate([-17.5,0,0]) cube(... | glb/cad_45e5475b32bd.glb |
Create a shortened exhaust duct for a K40 laser. Start with a main rectangular body that is 200mm long, 92.5mm wide, and 35mm tall. The walls should have a slight rounded edge of 5mm. Hollow out the center of the body by removing a rectangular block measuring 180mm by 72.5mm with a height of 29mm, leaving a base and si... | $fn=60;
difference()
{
minkowski()
{union()
{
cube([195,87.5,30],center=false);
cube([195,15,80],center=false);}
cylinder(d=5,h=0.001);
};
translate([7.5,7.50,0])cube([180,72.5,29],center=false);
translate([-.5,-0.5,5])cube([196,16,90],center=false);
translate([100-30,-0.5,0])cube([60,87.5,29],center=false);
tran... | glb/cad_a4fd191a873a.glb |
Create a BL-Touch mount consisting of a rectangular base with a raised vertical section. Start with a base plate that is 21mm wide, 15mm deep, and 2mm thick. At the rear of the base, add a vertical block that is 8mm wide, 18mm deep, and 14mm high.
From this combined volume, remove a horizontal cylindrical hole with a... | $fn=60;
difference()
{union()
{
translate([3,3,0]) minkowski(){cube([16,12,2],center=false); cylinder(d=6,h=0.00001,center=false);}
translate([18,0,0]) cube([8,18,14],center=false);
};
translate([16,9,11]) rotate ([0,90,0]) cylinder(d=11.5,h=10,center=false);
translate ([3,2.5,0]) cube([12,3.5,3],center=false... | glb/cad_f486e8c23806.glb |
Create an LED stand for laser-engraved glass sheets consisting of a main base and a removable lid.
The main base is a rounded rectangular block 190mm long, 40mm wide, and 40mm high. The corners are rounded with a 6mm radius. The interior is hollowed out to create a cavity. At the center of the top face, create a long... | $length_of_glass = 180;
$thickness_of_glas=1.35;
$play=0.4;
$top=true;
$lid=true;
$fn=60;
module upper_stand()
{
union()
{
difference()
{minkowski () {cube([$length_of_glass+10,40,40],center=true);sphere(d=6);}
translate ([0,0,-10] )cube([$length_of_glass+10,40,21],center=true);
translate ([0,0,3] )cube([$length_of_... | glb/cad_05cc6aaea56a.glb |
Create a reinforced foot for a laser engraver. Start with a solid block that is 54mm wide, 54mm deep, and 85mm tall. From this block, remove a central rectangular section measuring 45mm by 45mm by 79mm, starting from a depth of 6mm, to create a thick-walled U-shaped bracket.
Within the remaining walls, create four ver... | $fn=100;
difference()
{
minkowski()
{union()
{cube([54,54,85],center=false);
cube([54,6,85],center=false);
cube([6,54,85],center=false);
};
cylinder(d=6, h=0.00001);
}
translate([6,6,6]) cube([20.5,51,85],center=false);
translate([6,6,6]) cube([51,20.5,85],center=false);
rotate ([0,0,-135])translate([-65,-25,6]) cube(... | glb/cad_64f3eb6fb17b.glb |
Create a hollow cylindrical mount for a laser module. Start by creating a solid cylinder with an outer diameter of 16mm and a total height of 13.5mm. From this solid form, remove a concentric cylindrical core with a diameter of 12.5mm and a height of 14mm, positioned 3.5mm above the base of the outer cylinder. This res... | $base=false;
$fn=60;
if ($base) translate([0,0,1.75]) cube([30,30,3.5],center=true);
difference(){ cylinder(d=16,h=13.5,center=false);
translate([0,0,3.5]) cylinder(d=12.5,h=14,center=false);}; | glb/cad_4dc09db91282.glb |
Create a laser mount by starting with a rectangular base measuring 28.5mm wide, 185mm long, and 6.7mm high. Centered along the length of this base, add a rectangular block that is 12mm wide, 185mm long, and 12.4mm high, positioned such that it extends upward from the base.
From this combined structure, remove a series... | $fn=60;
difference()
{
union()
{cube([28.5,185,6.7],center=false);
translate([15-6-0.75,0,0]) cube([12,185,12.4],center=false);
};
translate([15-0.75,18,0]) cylinder(d=3.5,h=15,center=false);
translate([15-0.75,43,0]) cylinder(d=3.5,h=15,center=false);
translate([15-0.75,68,0]) cylinder(d=3.5,h=15,center=false);
transl... | glb/cad_024952c0d77a.glb |
Create a laser mount for a 15W Cronos laser module. Start with a main rectangular base plate measuring 175mm in length, 55mm in width, and 6mm in height.
On this plate, integrate a series of holes for mounting hardware. Create a pattern of circular holes with diameters of 6mm and 3.5mm distributed across the surface.... | focus=true;
module plate()
{$fn=60;
difference()
{union(){
minkowski() {
union(){cube([175,56,6],center=true);translate([175/2-3,55/2+10,27])cube([6,20,60],center=true);} cylinder(d=5,h=0.00001,center=true);}
translate([175/2-10,55/2+14,47.5])cube([4,12.7,16.7],center=true);
translate([175/2-10,55/2+4... | glb/cad_6af5c66d3588.glb |
Create a spacer frame for a power supply by constructing a hollow rectangular ring. Start with a solid rectangular base measuring 165mm in length, 79mm in width, and 2mm in height, ensuring the corners are rounded with a radius of 1.5mm. From the center of this shape, remove a smaller rectangular block measuring 160.5m... | $fn=100;
difference(){
minkowski() {cube([162,76,2],center=true); cylinder(d=3,h=0.00001);}
cube([160.5,75,10],center=true);}; | glb/cad_43e4ec7a94e6.glb |
Create a protective storage box for a TL866II Plus universal programmer consisting of a bottom tray and a matching lid.
Construct the bottom tray as a rectangular container with outer dimensions of 200mm by 160mm and a height of 28mm. The walls should be 1.2mm thick. The interior should be hollowed out to a depth of ... | $fn=64;
handle=false;
usb=false;
module dip(distance,pins)
{difference()
{cube([4+distance*7.75,4+pins*2.54,7.3],center=false);
translate([4,0,0.1])cube([distance*7.75-4,4+pins*2.54,7.3],center=false);
translate([1.6,0,0.1])cube([0.8,4+pins*2.54,7.3],center=false);
translate([1... | glb/cad_2cc192920395.glb |
Create a protective case for a Wemos ESP32 D1 Mini consisting of a hollowed rectangular base and a matching lid.
Construct the lower body as a rounded rectangular box with overall dimensions of 45mm by 51mm and a height of 12mm. The corners should have a radius of 5mm. Hollow out the center to create a cavity measuri... | $fn=60;
module lower_body()
{
difference()
{
minkowski() {cube([35,41,12],center=true);cylinder(d=10,h=0.0001,center=true);}
translate ([0,0,2]) cube([31.7,39.6,10],center=true);
translate ([0,0,1]) cube([31.7,26,12],center=true);
translate ([0,0,1]) cube([21,39.2,12],center=true);
translate ([0,-20... | glb/cad_e77d33859146.glb |
Create an ER11 Collet Box consisting of a base and a friction-fit lid.
For the base, create a rounded rectangular block 175mm wide, 55mm deep, and 25mm high with 5mm rounded corners. Hollow out the center to create a walls-and-floor cavity 166mm wide, 46mm deep, and 21mm high. Inside the base, create 14 tapered holes... | module unterteil()
{
difference()
{
$fn=50;
minkowski()
{cube([170,50,23],center=true); cylinder(h=2,d=5,center=true);};
translate([0,0,-4]) cube([166,46,21],center=true);
for (a =[0:7]) { translate([-70+a*20,-10,6.5]) cylinder(h=12,d1=8,d2=11,center=true); };
for (a =[0:7]) { translate([-70+a*20,+12,6.5]) cylinder... | glb/cad_197335417aa1.glb |
Create a control knob housing for a spindle speed potentiometer. Start with a central cube measuring 57mm on all sides. From this cube, remove a large volume by centering a second cube of 60mm by 80mm by 80mm, rotated 45 degrees around the X-axis and shifted 30mm along the X-axis, to create a wide open face. Remove a s... | difference()
{
union()
{
difference()
{
cube([57,57,57],center=true);
translate([-30,0,25.5]) rotate([0,45,0])cube([60,80,80],center=true);
translate([0,0,-2])cube([53,53,53],center=true);
};
translate([-7.5,0,4]) rotate([0,45,0])cube([2,57,57],center=true);
translate([57/2-1.5,0,0])cube([3,77,57],center=true);
};... | glb/cad_bf3686c4c0cc.glb |
Create a protective filter cover consisting of a cylindrical base and a domed top. Start with a base cylinder 135mm in diameter and 30mm high. Centered on top of this base, add a second cylinder with a diameter of 110.2mm and a height of 6mm. Above that, place a third cylinder with a diameter of 98.2mm and a height of ... | $fn=100;
module dome()
{difference()
{
translate([0,0,98]) union() {difference(){sphere(d=155); sphere(d=155-1.6);}};
cylinder(d=200,h=158,center=false);
}
};
module ausschnitt()
{rotate([90,0,360/16])
minkowski()
{
cube([0.1,40,150],center=true);
cylinder(d=8,h=0.00001,cen... | glb/cad_26d2765ad670.glb |
Create a back panel for an ESP32 radio case. Start with a rectangular plate measuring 210.6mm in width, 75.6mm in depth, and 2mm in thickness.
At the four corners of the plate, create four circular holes with a diameter of 3.5mm, offset 4.25mm from the side edges and 4.5mm from the front and back edges.
In the cent... | $fn=100;
use <MCAD/libtriangles.scad>
module auflage()
{rotate ([0,90,0]) union() { difference() {rightprism(15,10,10); translate( [-5,5,5]) rotate([0,90,0]) cylinder(d=2.5, h=20,center=true);}
};};
module case()
{
difference()
{
union()
{
difference()
{
minkowski() {cube ([210,75,90],center=true); sphere(d=10); };
... | glb/cad_c11deda7e4da.glb |
Create a drag-chain mount assist for a 25mm pipe. Start with a rectangular base block measuring 90mm in length, 40mm in width, and 8mm in height.
On one end of the block, integrate a circular clamp designed to fit a 25mm outer diameter pipe. This clamp consists of a cylinder with an outer diameter of 35mm and an inne... | $fn=100;
difference()
{
union()
{ translate([0,25,0]) cube([11,20,8],center=true);
translate([40,37,18.5])
minkowski()
{cube([90,8,40],center=true);
rotate([90,0,0]) cylinder(d=5, h=0.0001,center=true);
};
difference()
{translate([0,-20,0] )cube([10,10,8],center=true);
translate([0,-21,0]) rot... | glb/cad_46884bb29b19.glb |
Create a Cutter for Vacuuming-foil Genius Family Vac by designing a rounded rectangular base and mirroring it to create two identical halves. Start with a base block 80mm wide, 50mm deep, and 1.3mm thick, applying a Minkowski fillet with an 8mm diameter cylinder to soften all edges.
In each half, carve out a recessed... | $fn=60;
module case()
{
minkowski()
{
cube([80,50,1.3],center=true);
cylinder(d=8,h=0.000001);
};
};
module klinge()
{linear_extrude(height = 0.7, center = true)
polygon([[0,0],[0,61],[20,14],[20,47]], paths=[[0,1,3,2]]);
};
module card()
{
difference()
{case();
translate([32,20,0.6])rotate([0,0,125]) klinge... | glb/cad_cd3786cebea5.glb |
Create a wall mount for a brushcutter by starting with a central cylinder 62mm in diameter and 40mm high, centered on the origin. Attach a rectangular block to the bottom of this cylinder, measuring 106mm wide, 50mm deep, and 42mm high, centered at [0, -67.5, 0].
To create the mounting space, remove a smaller concent... | $fn=100;
difference()
{union()
{
cylinder(d=62, h=40,center=true);
translate ([0,-30,0])rotate([90,45,0]) cylinder(25,36,75,$fn=4, center=true);
translate ([0,-67.5,0]) cube([106,50,42],center=true);
}
cylinder(d=25.5, h=42,center=true);
translate([0,0,30]) cylinder(d=50, h=42,center=true);
transl... | glb/cad_aaf682127ce0.glb |
Create a replacement canister cap by starting with a wide, flat base cylinder 40.62mm in diameter and 1.5mm in height. Centered on top of this base, add a second, smaller cylinder 30.62mm in diameter and 1.3mm in height. In the center of the assembly, create a main body that is 6mm tall. This central section begins as ... | $fn=100;
cylinder(d=40.62,h=1.5, center=true);
translate([0,0,1.5]) cylinder(d=30.62,h=1.3, center=true);
difference(){
translate([0,0,-3.75]) cylinder(d=21,h=6, center=true);
translate([0,0,-3.75]) cylinder(d=18,h=6, center=true);
};
difference ()
{
union()
{
translate([0,0,-3.75])cube([18,2,6],center=true);... | glb/cad_c43613edf088.glb |
Create a bottle stand for an APG CS13S multifuel stove by designing a low-profile ring. Start with a main outer cylinder that has a diameter of 110mm and a height of 15mm, centered on the origin. Inside this cylinder, remove a concentric cylindrical core with a diameter of 98.2mm and a height of 16mm to create a hollow... | $fn=80;
difference()
{
union()
{
cylinder (d=110,h=15,center=true);
translate([12,0,0]) rotate ([0,0,25.71])cylinder (d=102,h=15,center=true, $fn=7);
};
cylinder (d=98.2,h=16,center=true);
}; | glb/cad_651dd8411d60.glb |
Create a two-part press-fit replacement case for a remote control.
For the top half, create a rounded rectangular block with overall dimensions of 23mm by 48mm and a height of 8mm. The corners should be rounded with a 5mm diameter. Hollow out the center to create a shell. On the front face, integrate two button cutou... | $fn=60;
ring=false;
module oberteil_a()
{
union()
difference()
{
minkowski()
{
cube([23,48,8],center=true);
cylinder(d=5,h=0.001,center=true);
};
translate([0,0,2])cube([23.65,50.15,9],center=true);
}
translate([1.3,-4.25,-2.5]) cylinder(d=3,h=8);
translate([-2.3,-14.75,-2.5]) cylinder(d=3,h=8);
};
module unterteil... | glb/cad_f5a29f359d38.glb |
Create a probe holder for an Anycubic Kossel by starting with a base plate that is 30mm wide, 30mm deep, and 4mm thick. In the center of this plate, remove a rectangular block measuring 13.5mm wide, 23mm deep, and 14mm high to create a central recessed cavity. Attached to the right side of the base, add a vertical wall... | $fn=60;
difference()
{
cube([30,30,4],center=true);
translate([-5,0,0]) cube([13.5,23.0,14],center=true);
};
difference()
{
translate([15,-15,-2]) cube([5,30,30],center=false);
translate([20,0,15]) rotate([0,90,0]) cylinder(d=3.5,h=20,center=true);
translate([16.5,0,15]) rotate([0,90,0]) cylinder(d=5.5,h=3,center=tr... | glb/cad_55771f5b7428.glb |
Create a cable clip consisting of two connected cylindrical lobes. Start by forming a solid base composed of two cylinders, each 10mm in diameter and 5mm high, positioned with their centers 10mm apart along the x-axis. Connect these two cylinders with a rectangular block measuring 10mm wide, 6mm deep, and 5mm high, cen... | $fn=60;
difference()
{
union()
{
cylinder(d=10,h=5,center=true);
translate([10,0,0]) cylinder(d=10,h=5,center=true);
translate([5,0,0]) cube([10,6,5],center=true);
};
cylinder(d=5.8,h=6,center=true);
translate([10,0,0]) cylinder(d=5.8,h=6,center=true);
translate([-4,0,0]) cube([3,3,6],center=true);
translate([14,0,0])... | glb/cad_e7f3e872b0bd.glb |
Create a configurable spacer plate for a Smartwares radio switch. Start by creating a rectangular block with a total height of 500.8mm, a width of 31mm, and a depth of 81mm. Apply a fillet or rounding to all edges with a radius of 5mm. Centered along the height of the block, create four cylindrical holes that pass comp... | $fn=60;
height=500.8;
difference()
{
minkowski()
{
cube([31-5,81-5,height],center=true);
cylinder(d=5,h=0.0001);
};
translate([5,36.125,0]) cylinder(d=2.5,h=height*2,center=true);
translate([5,-36.125,0]) cylinder(d=2.5,height*2,center=true);
translate([-5,36.125,0]) cylinder(d=2.5,height*2,center=true);
translate([-... | glb/cad_8c92a9c5a392.glb |
Create a lid for a garbage bucket by constructing a rectangular base with rounded corners. Start with a main plate measuring 193mm by 123mm with a thickness of 2mm, using a corner radius of 15mm. In the center of this plate, create a rectangular cutout measuring 53mm by 97mm with a depth of 3mm to form a recessed tray.... | $fn=60;
module deckel()
{
difference()
{
minkowski()
{
cube([193,123,2],center=true);
cylinder(d=15,h=0.001,center=true);
};
cube([53,97,3],center=true);
};
difference()
{
minkowski()
{
translate([0,0,6])cube([189,119,12],center=true);
cylinder(d=14.5,h=0.001,center=true);
};
minkowski()
{
... | glb/cad_a14f3b689786.glb |
Create a mount for an IR remote by starting with a main body that is a rounded rectangular block measuring 48mm wide, 80mm tall, and 15mm thick, with corners rounded to a 10mm diameter. Carve out a central rectangular slot from the front face that is 58mm wide, 60mm tall, and 12mm deep, centered horizontally and positi... | $fn=60;
module halter()
{
difference()
{
translate([0,0,-1]) minkowski()
{cylinder(d=10, h=0.01, center=true);
cube([46,80,15],center=true);
};
translate ([0,-40,3]) cube([58,60,12],center=true);
translate([0,0,1]) minkowski()
{cylinder(d=5, h=0.01, center=true);
cube([48,80,8],center=true);
};
translate(... | glb/cad_94f3a3fba142.glb |
Create a replacement handle for a window blind. Start by constructing a main body that is a rounded rectangular slab measuring 40mm wide, 50mm long, and 3mm thick. The corners of this slab should be rounded with a radius of 10mm.
In the center of this slab, create a rectangular cutout measuring 15mm wide and 25mm lon... | $fn=60;
difference()
{
union()
{
minkowski()
{cylinder(d=10, h=0.01, center=true);
cube([30,50,3],center=true);
};
translate([0,-5.8,0]) cube([40,50,3],center=true);
difference()
{
translate([0,-25,5.5]) rotate([0,90,0]) cylinder(d=14, h=40, center=true);
translate([0,-25,5.5]) rotate([0,90,0]) cylinder(d=10, h=4... | glb/cad_72daae248650.glb |
Create a mount for a Bigtree Tech SKR 1.1 pro board. Start with a rectangular base plate measuring 142mm by 90mm with a thickness of 3mm, featuring rounded corners with a 5mm radius. At each of the four corners of this base, center a vertical cylindrical hole with a diameter of 2.7mm and a depth of 10mm.
Construct a v... | $fn=64;
module base()
{
minkowski(){
cylinder(d=5,h=0.01,center=true);
cube([142,90,3],center=true);
};
translate([69,-43.5,4]) cylinder(d=7,h=5, center=true);
translate([-69,43.5,4]) cylinder(d=7,h=5, center=true);
translate([69,43.5,4]) cylinder(d=7,h=5, center=true);
translate([-69,-43.5,4]) cylind... | glb/cad_602f3cf6a549.glb |
Create a variable base stand for a TUSH V2 by starting with a solid rectangular block measuring 81mm wide, 131mm long, and 10mm high, centered on the origin. From this base, remove three rectangular sections to create a central open channel and two side slots. First, carve out a central rectangular volume that is 43mm ... | difference()
{
cube([81,131,10],center=true);
translate([31.5,0,2]) cube([15,127.5,10],center=true);
translate([-31.5,0,2]) cube([15,127.5,10],center=true);
translate([0,0,2]) cube([43,127.5,10],center=true);
}; | glb/cad_4e191141c97e.glb |
Create a filament runout sensor housing by starting with a central rectangular block measuring 35mm x 25mm x 22mm. Hollow out the center of this block by removing a smaller rectangular volume of 31mm x 21mm x 22mm, leaving a wall thickness of 2mm on the sides.
On the left and right exterior side walls, centered 5mm f... | $fn=100;
difference()
{
union() {
cube([35,25,22],center=true);
translate([16,.75,5]) sphere(d=8);
translate([-16,0.75,5]) sphere(d=8);}
translate([0,0,2]) cube([31,21,22],center=true);
translate([0,0.75,5]) rotate([0,90,0]) cylinder(d=4.8,h=40, center=true);
translate([0,10,-1.25]) cube([10.5,10,6.5],c... | glb/cad_c5ab38ebb8f3.glb |
Create a Laser Warning Sign and Blinkbox. First, construct a hollow rectangular box with outer dimensions of 43mm x 43mm x 24mm. The walls and floor should be 1mm thick, leaving an interior cavity of 41mm x 41mm x 22mm. Centered on the top face of the box, create a circular hole with a diameter of 5.1mm that passes com... | difference()
{
cube([43,43,24],center=true);
translate([0,0,1]) cube([41,41,22],center=true);
cylinder(d=5.1,h=30,center=true);
}
translate([50,0,-12]) cube([43,43,1],center=true);
translate([50,0,-11]) cube([41.5,41.5,1],center=true); | glb/cad_8bf0584e3ea6.glb |
Create two hexagonal mounts for a Nanoleaf replica, each with a diameter of 45mm and a height of 6.8mm. For the first mount, create a solid hexagonal prism and remove two coaxial cylindrical holes from its center: one with a diameter of 5mm that passes completely through the height of the part, and a second, wider hole... | module konsole()
{
difference(){
cylinder(d=45,6.8,center=true,$fn=6);
cylinder(d=5,h=7,center=true,$fn=64);
translate([0,0,3])cylinder(d=10,h=7,center=true,$fn=64);
};
};
module konsole_deckel()
{
{
cylinder(d=45,6.8,center=true,$fn=6);
translate([0,0,3.4])cylinder(d=9.5,h=3,center=true,$fn=64);
};
};
konsole();
tr... | glb/cad_1cb35b978366.glb |
Create a power supply case consisting of a front and back shell. Both shells start as a rounded block with overall dimensions of 118mm x 68mm x 103mm (created by adding a 3mm radius sphere to a 115mm x 65mm x 100mm cube).
For the front shell, hollow out the center with a 100.5mm x 50.5mm x 100mm cube. Remove two 12mm ... | module block()
{
translate([0,0,50])
{
minkowski()
{
cube([115,65,100],center=true);
sphere(d=3);
};
};
};
module front()
{
difference()
{
block();
translate([0,0,52.5]) cube([100.5,50.5,100],center=true);
translate([-15,0,38]) cube([72.5,39.5,90],center=true);
translate([-15,0,38]) cube([76.5,13,90],ce... | glb/cad_ff86b9fd80a9.glb |
Create a power supply case consisting of a front and back shell. Start with a base block for each half that is 118mm wide, 68mm deep, and 183mm tall with rounded corners (3mm radius).
For the front shell, hollow out the center with a 100.5mm x 50.5mm x 180mm rectangular cavity. On the front face, create a rectangular ... | module block()
{
translate([0,0,50])
{
minkowski()
{
translate ([0,0,40]) cube([115,65,180],center=true);
sphere(d=3);
};
};
};
module front()
{
difference()
{
block();
translate([0,0,92.5]) cube([100.5,50.5,180],center=true);
translate([-15,0,38]) cube([72.5,39.5,90],center=true);
translate([-15,0,38])... | glb/cad_efeea74ecfec.glb |
Create a push cap for a food processor by constructing a main cylinder with a diameter of 49mm and a height of 105mm. From the center of this main body, remove a conical void that extends the full height of the object to 108mm, starting with a base diameter of 43mm at the bottom and tapering to a diameter of 40mm at th... | $fn=100;
difference(){
union() {
cylinder(d=49,h=105,center=false);
translate([24,0,0]) cylinder(d=49,h=105,center=false);
translate([12.5,0,0]) cylinder(d=50,h=105,center=false);
translate([17.5,0,0]) cylinder(d=50,h=105,center=false);
translate([7.5,0,0]) cylinder(d=50,h=105,center=false);
translate([-5,0,0]) {
trans... | glb/cad_dfab52c55b6f.glb |
Create a plug for a 25mm stainless steel conduit by combining a cylinder and a partial sphere. First, create a cylinder with a height of 5mm and a diameter that tapers slightly from 20.5mm at the bottom to 21.5mm at the top. Position a sphere with a diameter of 40mm so that its center is 14.4mm below the center of the ... | $fn=128;
cylinder(d1=20.5,d2=21.5,h=5,center=true);
translate([0,0,-14.4])difference() {
sphere(d=40,center=true);
translate([0,0,-3.2]) cube([40,40,40],center=true);}; | glb/cad_de68bb74662b.glb |
Create a plug for a 25mm stainless steel conduit by combining a truncated sphere and a tapered cylinder. Start by creating a sphere with a diameter of 40mm and remove a central cube of 40mm per side, shifted 3.2mm along the Z-axis, to create a hollowed dome. Attach a tapered cylinder to the flat base of this dome; the ... | $fn=128;
difference()
{
union() {
cylinder(d1=20.5,d2=21.5,h=5,center=true);
translate([0,0,-14.4])difference() {
sphere(d=40,center=true);
translate([0,0,-3.2]) cube([40,40,40],center=true);};
};
translate([10.75,0,0]) cylinder (d=10,h=10,center=true);
}; | glb/cad_34cfd5d9f423.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.