Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a crooked coaster by starting with a solid cylinder 90mm in diameter and 11mm high. Hollow out the center by removing a cylinder with a 80mm diameter and a height of 12mm, but tilt this inner cutout by 3 degrees along the X-axis and position its base 5mm from the bottom of the main body. To create drainage, remo... | coaster_interior_width = 80;
coaster_exterior_width = coaster_interior_width + 10;
difference() {
cylinder(r=coaster_exterior_width/2, h=11);
translate([0,0,5]) rotate([0, 3, 0]) cylinder(r=coaster_interior_width/2, h=12);
translate([coaster_interior_width/2,0,8]) rotate([0, 90, 0]) cylinder(r=2, h=10, $fn=15);
rotate... | glb/cad_372e224fb6ec.glb |
Create a Customizable Threaded Insert Practice Plate. Start with a rectangular base plate 1mm thick. The plate's width and length should accommodate a grid of 4 rows and 2 columns of cylindrical pillars, with 5mm spacing between the pillars. Each pillar has a diameter of 10.4mm and a height of 10mm.
Within each pillar... | Embed_Nut_Thread = 4.4;
D1 = 0.1;
D2 = 0.15;
D3 = 0.2;
D4 = 0.25;
Embed_Nut_Height = 6.0;
Material_Thickness = 3;
Underflush = 1.0;
Rows = 4;
Columns = 2;
Pillar_Spacing = 5;
min_height = 3;
cylinder_height = Embed_Nut_Height + Underflush + min_height;
cylinder_outer_d = Embed_Nut_Thread + (2*Material_Thickn... | glb/cad_58614cbcbafc.glb |
Create a parametric stamp handle starting with a rectangular base 38mm wide, 22mm long, and 2.5mm thick. On top of this base, add a tapered section that is 38mm wide and 22mm long, but scales down to 80% of its original dimensions over a height of 2.5mm.
Centered on top of this assembly, construct a handle that is 15m... | EnableDebug = true;
label = "Sun";
stampWidth = 38;
stampLength = 22;
stampBaseThickness = 5;
handleWidth = 15;
handleThickness = 5;
handleHeight = 10;
handleCornerDiameter = 5;
fontSize = 5;
textHeight = 1.5;
fontName = "Arial";
verticalAlign = "baseline";
horizontalAlign = "left";
direction = "ltr";
te... | glb/cad_311d07ec702a.glb |
Create a Christmas Tree candy mold by starting with a solid rectangular block measuring 40mm wide, 20mm deep, and 105mm tall. From this block, carve out a central void to create the mold.
The void begins at the bottom with a spherical base 30mm in diameter, flattened on the Z-axis to a height of 33mm. Above this base,... | MOL = 100;
Tip_Diameter = 10;
ConeLength=75;
ConeDiameter=35;
Base_Diameter = 30;
Base_Height = 33;
Ripple_1_Diameter = 10;
Ripple_2_Diameter = 10;
Ripple_3_Diameter = 10;
Ripple_4_Diameter = 10;
Ripple_5_Diameter = 10;
Ripple_6_Diameter = 10;
Ripple_7_Diameter = 10;
Ripple_8_Diameter = 10;
Ripple_1_Altitude = 93;
R... | glb/cad_6832f638d2f5.glb |
Create a parametric filament ruler for measuring remaining material on a spool. The tool consists of a main body with a thickness of 3mm. The base is a rectangular block with a width of 44mm (80% of the 55mm spool inner width) and a height of 30mm. Attached to this is a vertical ruler section with a width of 25mm and a... | D_outer=195;
D_inner=78;
Width=55;
ruler_name="Sunlu 1kg";
material="PLA";
dia=1.75;
weight=1000;
vof=0.75;
rule_text_height_mm=4;
calculate_in="%";
report_at=[0,10,25,50,75,100];
add_10m_notch="yes";
rule_w=25;
rule_t=3;
rule_h=30;
base_width_ratio=0.8;
module stop_customisation(){}
g_per_cm_3=[["PL... | glb/cad_4340df552a28.glb |
Create a Bathroom Radiator Hook with a width of 12mm and a wall thickness of 4.5mm.
The main body is a flat profile consisting of two C-shaped clamps connected by a vertical segment. The upper clamp is a circular arc with an inner radius of 10.15mm (half of the 20.3mm bar diameter) and an outer radius of 14.65mm, spa... | diameter=20.3;
distance=20.3 + 19.7 + 20.3;
thickness=4.5;
space_h=15;
shift_h=0.5*diameter + thickness + 0.5*space_h;
height_h=10;
alpha_t=210;
alpha_b=135;
radius_r=7.5;
$fn=100;
width=12.0;
radius_b=diameter/2;
distance_b=distance-2*radius_b;
radius_h=space_h/2;
module part_square(p_size,p_alpha) {
if (p_alpha < ... | glb/cad_33c7d68e08e7.glb |
Create a Customizable E3D Revo Nozzle Holder. Start with a rectangular base 126mm wide (7 nozzles × 18mm spacing), 35mm high, and 20mm deep. Apply a 1.5mm chamfer to all outer edges.
Along the top edge, create 7 evenly spaced nozzle ports. Each port consists of a vertical hole 6.4mm in diameter, centered 9mm from the ... | Nozzle_Count = 7;
Height = 35;
Depth = 20;
Nozzle_Spacing = 18;
Nozzle_Spacer_Height = 2;
Nozzle_Spacer_Base_Diameter = 12;
Nozzle_Spacer_Top_Diameter = 8;
Nozzle_Depth_Offset = 1;
Nozzle_Diameter = 6.4;
Chamfer_Edge_Distance = 1.5;
Screw_Mount_Type = "None";
Screw_Mount_Thickness = 4;
Screw_Head_Diameter =... | glb/cad_91b0e2bbe099.glb |
Create a mirror bracket with a total height of 67mm and a thickness of 20mm. The main body is formed by a vertical rectangular strip 4mm wide and 55mm tall, joined at the bottom to a horizontal rectangular base that is 23mm wide and 4mm tall. Additionally, extend a small vertical tab 4mm wide and 12mm tall upwards from... | w = 4;
h = 20;
r = 2;
module bracketoutline()
{
square([w,55]);
translate([-5,0,0]) square([19+w,w]);
translate([14,-12,0]) square([w,12]);
}
module bracket1()
{
linear_extrude(height = h, center = true, convexity = 10, twist = 0)
bracketoutline();
}
module screwhole()
{
translate([-0.5,0,0]) rotate([0,90,... | glb/cad_51f8261c55a9.glb |
Create a Temperature and Humidity Sensor Holder consisting of one track and two identical jaws.
First, construct the track. Create a rectangular base measuring 32mm wide, 32mm long, and 5.5mm high. In the center of the top face, remove a guide slot consisting of two stacked rectangular sections: a bottom section 11.8m... | componentX = 30;
componentY = 15;
brickX = 4;
brickY = 4;
trackWidth = brickX * 8;
trackLength = brickY * 8;
trackHeight = 5.5;
trackMidX = 4;
trackMidZ = 5;
trackBotX = 10;
trackBotZ = 2.5;
jawWidth = trackWidth;
jawPreviewSpace = 4.5;
slotWidth = 24;
$fn=50;
trackRender = 0;
jawRender = 0;
beautyR... | glb/cad_11d83562b71c.glb |
Create a Thumbstick Sensor Holder consisting of one track and two identical jaws.
First, construct the track as a rectangular block 32mm wide, 40mm long, and 5.5mm high. Carve a T-shaped guide slot through the center of the top face along the length of the block; the slot's middle section should be 8mm wide and 10mm ... | componentX = 34;
componentY = 26;
brickX = 4;
brickY = 5;
trackWidth = brickX * 8;
trackLength = brickY * 8;
trackHeight = 5.5;
trackMidX = 4;
trackMidZ = 5;
trackBotX = 10;
trackBotZ = 2.5;
jawWidth = trackWidth;
jawPreviewSpace = 4.5;
slotWidth = 15;
$fn=50;
trackRender = 0;
jawRender = 0;
beautyR... | glb/cad_e54dc87f28c9.glb |
Create an OLED Display Holder consisting of one track and two identical jaws.
First, construct the track as a rectangular block measuring 32mm wide, 44mm long, and 5.5mm high. Carve a T-shaped groove through the center of the top face to create a sliding channel. The channel consists of a middle section 4mm wide and ... | componentX = 28;
componentY = 27;
brickX = 4;
brickY = 5.5;
trackWidth = brickX * 8;
trackLength = brickY * 8;
trackHeight = 5.5;
trackMidX = 4;
trackMidZ = 5;
trackBotX = 10;
trackBotZ = 2.5;
jawWidth = trackWidth;
jawPreviewSpace = 4.5;
slotWidth = 21;
$fn=50;
trackRender = 0;
jawRender = 0;
beaut... | glb/cad_abfe0ffb9b6f.glb |
Create a 7 Segment Display Holder consisting of one track and two identical jaws.
First, construct the track as a rectangular block 40mm wide, 40mm long, and 5.5mm high. Carve a T-shaped groove through the center of the top face to allow the jaws to slide in. On the bottom face of the track, add a brick-compatible mo... | componentX = 42;
componentY = 24;
brickX = 5;
brickY = 5;
trackWidth = brickX * 8;
trackLength = brickY * 8;
trackHeight = 5.5;
trackMidX = 4;
trackMidZ = 5;
trackBotX = 10;
trackBotZ = 2.5;
jawWidth = trackWidth;
jawPreviewSpace = 4.5;
slotWidth = 0;
$fn=50;
trackRender = 0;
jawRender = 0;
beautyRe... | glb/cad_1f47473dba97.glb |
Create an MP3 Player Holder consisting of one track and two identical jaws.
First, construct the track as a rectangular block measuring 40mm wide, 44mm long, and 5.5mm high. Carve a guide slot through the center of the track consisting of a 8mm wide by 5mm high rectangular channel in the middle, with a 10mm wide by 2... | componentX = 42;
componentY = 24;
brickX = 5;
brickY = 5.5;
trackWidth = brickX * 8;
trackLength = brickY * 8;
trackHeight = 5.5;
trackMidX = 4;
trackMidZ = 5;
trackBotX = 10;
trackBotZ = 2.5;
jawWidth = trackWidth;
jawPreviewSpace = 4.5;
slotWidth = 18;
$fn=50;
trackRender = 0;
jawRender = 0;
beaut... | glb/cad_80e41777d6db.glb |
Create a RasPi CM4 Camera/DVR enclosure consisting of a base and a lid.
Construct the base as a hollow rectangular box with outer dimensions of 59.2mm x 44.2mm x 28.5mm. The interior cavity should be 55.2mm x 40.2mm x 26mm. At the bottom of the base, create four octagonal mounting holes with a radius of 3.4mm and a h... | T = 0.2;
T2 = T * 2;
W = 2;
W2 = W *2;
L = 5;
L2 = L*2;
base();
lid();
module lid(){
difference(){
union(){
translate([0,0,13+T])cube([55.2+W2+T2,40.2+W2+T2,2],true);
translate([24.8,12,11+T])cube([10,15-T2,5],true);
translate([0,18.6,11+T])cube([20,3,5],true);
... | glb/cad_018b9abe9887.glb |
Create a Turner's Cube by starting with a solid cube that is 30mm on each side, centered on the origin. Remove material from this cube using a series of cylindrical bores along the X, Y, and Z axes.
First, create three identical through-holes along each primary axis. Each hole is formed by a series of 15 concentric cy... | module centerbore()
{
module cyl()
{
for ( i = [1:15] )
{
translate([0,0, i*0.5 + 1 ]) cylinder(30, i*0.5 + 1.3 , i*0.5 + 1.3 , false);
}
}
module repeat6()
{
cyl();
rotate([90,0,0]) cyl();
rotate([0,90,0]) cyl();
rotate([180,90,0]) cyl();
rotate([180,0,90]) cyl();
rotate([270,90,0]) cyl();
}
m... | glb/cad_03f2befb82d6.glb |
Create a Parametric Portable Magnetic Dice Tower and Storage consisting of three main components: a long base piece, a short tray, and a short chamber.
The long base piece is a rectangular block with a height of 8.1mm. It features a hollowed-out central section and four square magnet cutouts, each 8.1mm wide and 8.1mm... | partToGenerate = "All 3 pieces";
die_diameter = 27;
wall_thickness = 2;
wall_extraBacking = 1;
split_type = "Half";
magnet_type = "Cube";
magnet_diameter = 8.1;
magnet_depth = 8.1;
chamfer_exterior = "yes";
chamfer_tray = "yes";
chamfer_amount = 2;
module __Customizer_Limit__ () {}
eps = 0.007;
$fn=64;
pos... | glb/cad_65647455cc35.glb |
Create a 3D model of a bed frame with a total footprint of 900mm by 2000mm. The structure is built using boards with a thickness of 18mm.
Construct the main frame using longitudinal rails and transverse beams. The longitudinal rails are 2000mm long, 54mm wide, and 34mm high. The transverse beams span the width of the ... | modellgroesse= 1/1;
versatz=0;
explosion=0;
plattendicke = 18 * modellgroesse;
echo ("Plattendicke:" , plattendicke);
rahmenholzbreite = 54 * modellgroesse;
rahmenholzhoehe = 34 * modellgroesse;
plattenbreite20 = 200 * modellgroesse;
echo ("Plattenbreite20:" , plattenbreite20);
plattenbreite25 = 250 * modellgroesse... | glb/cad_8f96c8b5570c.glb |
Create a fan mount for a Quick Fit X carriage by starting with a base rectangular block that is 10mm wide, 25mm deep, and 14mm high. On top of this base, center a hollow cylindrical duct with an outer radius of 7.5mm and an inner radius of 6mm, extending the cylinder 20mm in length. To accommodate wiring and mounting, ... | difference()
{
union()
{
import_stl("Fan_mount_richraps_quickfit_Xcarriage_and_Ultibots_v3_Fan_duct.stl");
translate([5, 12, 11])
cube([5, 10, 14]);
translate([7.5, 32, 32])
rotate([90, 0, 0])
cylinder(r=15/2, h=20, $fn=50 );
... | glb/cad_948b92ae343e.glb |
Create two curved train track sections, one left-handed and one right-handed, designed to support wooden toy trains. Each track is a 45-degree arc with a centerline radius of 220mm. The main track bed is 6mm wide and 12mm thick. Along the outer edge of each curve, add a protective guard rail that is 4mm wide and extend... | use <trains-master/tracklib.scad>;
$fn = 100;
track_width = 6;
track_depth = 12;
height = 12;
offset = 8;
myradius = 180+40;
left_curve();
translate([100,0,0]) right_curve();
module right_curve() {
difference() {
union() {
curve();
color("red") rotate([0,0,-45]) translate ([-myradius-wood_width()/2,0,0]) rota... | glb/cad_d9851629713e.glb |
Create a wood dowel marker consisting of three stacked coaxial geometric sections. Start with a base cylinder that has a diameter of 8mm and a height of 10mm. Directly on top of this base, add a second cylinder acting as a collar with a height of 2mm and a diameter of 12mm. Finally, center a cone on the top surface of ... | $fn = 265;
dowel_diameter = 8;
height = 15;
collar_height = 2;
collar_overlap = 2;
spike_height = 3;
spike_diameter = 4;
dowel_radius = dowel_diameter / 2;
spike_radius = spike_diameter / 2;
insert_height = height - collar_height - spike_height;
cylinder(h = insert_height, r = dowel_radius);
translate([0,0,insert_h... | glb/cad_5bfafda52782.glb |
Create a custom measuring cup with a volume of 236.588 mL. Start by constructing a hollow hemispherical bowl with an outer radius of approximately 31.55mm and a wall thickness of 1.04mm. The bowl is formed by taking a sphere of the outer radius and removing a concentric inner sphere of 30.51mm, then slicing the top hal... | volume=236.588;
wallThick=1.04;
pi=3.1415926536;
radius=10*pow((volume*375)/(236*pi),1/3);
handlX=1.3*radius;
handlY=0.3*radius;
handlZ=0.2*radius;
res=30;
echo("volume: " );echo(volume);
echo("height: " );echo(4*radius/5);
echo("radius: ");echo(radius);
echo("thickness: ");echo(radius*(wallThick-1));
module cup(... | glb/cad_460f72ef2b40.glb |
Create a base for an automotive relay by starting with a central rectangular block measuring 30mm by 30mm with a height of 12mm. On one side of this block, add a protruding section consisting of a 12mm by 12mm by 12mm cube centered on the edge, merged with a cylinder of 6mm radius and 12mm length that extends outward. ... | difference()
{
union()
{
cube([30, 30, 12],center=true);
translate([-9, 21, -8])
cube([12, 12, 12],center=true);
translate([-9, 21, -2])
... | glb/cad_1ec7fae63f99.glb |
Create a Datrek golf bag repair patch. The main body is a curved, arc-like shell with a height of 27.5mm and a width of 150mm. The outer shape is defined by a circular arc with a radius of 18.5mm, though the overall form is trimmed into a wedge-like segment.
The shell is hollowed out to create a channel, leaving a wal... | fillet_rad=2.5;
fillet_fn=32;
arc_h=10;
arc_wid=150;
arc_rad=(arc_wid^2)/(8*arc_h)+(arc_h/2);
arc_angle=acos((arc_rad-arc_h)/arc_rad)*2;
body_h=30-(fillet_rad*2);
body_width=arc_wid;
body_rad=arc_rad-(fillet_rad*2);
body_hwid=14+(2*fillet_rad);
body_hh=body_h-2;
body_wall=4-fillet_rad;
body_thick=body_hwid+(body_wall... | glb/cad_b6457d816fef.glb |
Create a Tinker Toy Wheel by starting with a main cylinder that has a radius of 19mm, a height of 20mm, and a 6.5-facet resolution. From this main body, remove a central cylindrical core with a radius of 8mm and a height of 20mm. Additionally, carve out a shallow circular depression from the top of the wheel with a rad... | module hole()
{
cylinder(10,6,5.5,true);
module wheeldepression()
{
module outerd()
{ translate([0,0,2]) cylinder(3,17,17,true); }
difference()
{
outerd();
cylinder(20,8,8);
}
}
wheeldepression();
translate([0,20,0]) cube([2,40,30],true);
}
module wheel()
{
cylinder(6.5,19,19, true);
}
difference()
{
wh... | glb/cad_6d488bbab955.glb |
Create a pen stand consisting of a hollow vertical tube and a flared base. Start by constructing a main tube with an outer diameter of 14.4mm and an inner diameter of 13.4mm, extending to a total height of 90mm. The bottom 22mm of this tube should be a tip support, which is a hollow cylinder with an outer diameter of 1... | $fn = 60;
debug = false;
PenD = 12;
a = 1.4;
inner_bt = PenD + a;
outter_bt = inner_bt + 1;
tz = 22;
module torus(torus_radius,torus_thickness) {
rotate_extrude() translate([torus_radius,0,0]) circle(torus_thickness);
}
module TipSupport() {
difference() {
cylinder(d=outter_bt,h=tz);
translate([0,0,1... | glb/cad_11f0e99b19c1.glb |
Create a parametric crate with an inner cavity of 80mm width, 50mm height, and 80mm depth. All walls should have a thickness of 2mm.
The crate consists of five walls: a base and four sides. The base and the two long side walls are identical panels of 84mm by 84mm (outer dimensions) with a 2mm thickness. These three pa... | inner_width = 80;
inner_height = 50;
inner_depth = 80;
wall_thickness = 2;
front_space = 10;
hexagon_size = 10;
hexagon_total = hexagon_size * 1.3;
margins = 10;
outer_width = inner_width + 2 * wall_thickness;
outer_height = inner_height + 2 * wall_thickness;
outer_depth = inner_depth + 2 * wall_thickness;
module ... | glb/cad_b2a1f5eb3a8c.glb |
Create a 3D model of a neodym magnet in the shape of a short, wide cylinder. The cylinder must have a diameter of 19.8mm and a height of 4.5mm. | include <../DIYLB_Config.scad>
module magnet() {
description = str("Neodym Magnet (D=20,H=4.5)");
vitamin(str("magnet(): ", description));
color("Silver"){ cylinder(h=4.5,d=19.8); }
}
magnet(); | glb/cad_a738bdfe6f9c.glb |
Create a 3D model of a Euro-Cent coin by constructing a cylinder with a diameter of 16.4mm and a height of 1.9mm. | include <../DIYLB_Config.scad>
module cent() {
description = str("Euro-Cent coin");
vitamin(str("cent(): ", description));
color("gold"){ cylinder(1.9,d=16.4); }
}
cent(); | glb/cad_6637c45ab5a4.glb |
Create a DIY Laser Bed assembly helper. Start with a main body that is a rectangular block measuring 10mm wide, 10mm deep, and 58mm tall, positioned from x=-8 to 2, y=0 to 10, and z=-4 to 54.
From this main body, remove several geometric volumes: two rectangular blocks measuring 20mm by 40mm by 20mm, one positioned a... | include <DIYLB_Config.scad>
module miniMagnet() {
description = str("Neodym Magnet (5mmx5mmx2mm)");
vitamin(str("miniMagnet(): ", description));
*color("Silver"){ cube([2,5,5]); }
color("Silver"){ cylinder(h=1,d=4); }
}
module DIYLB_assemblyHelper_stl() {
stl("DIYLB_assemblyHelper");
color(p... | glb/cad_4ea1bd8a9cb1.glb |
Create a motor mount for a drone with an X-shaped layout. Start with a central square plate measuring 17mm by 17mm with a thickness of 2mm. At the center of this plate, create a vertical cylindrical hole with a diameter of 6mm and a height of 20mm to accommodate the motor shaft.
To form the mounting arms, create two s... | $fn =50;
module support() {
* cylinder ( d = 23, h= 20, center = true);
difference() {
union() {
cube([17,17, 2], center = true);
hull() {
translate([0,-0,0]) rotate ([0,0,45])translate([-14,0,0])cylinder ( d = 5, h= 2, center = true);
translate([0,-0,0]) rotate... | glb/cad_f7abefd75979.glb |
Create a motor mount and nose cover for a drone. Start by constructing a base plate using a convex hull that connects four small cylinders, each 2mm in diameter and 0.1mm thick, positioned at the coordinates (18.5, 16.5, 0), (-18.5, 16.5, 0), (18.5, -16.5, 0), and (-18.5, -16.5, 0). To this base, add a second hull that... | $fn = 100;difference() {
hull() {
translate([18.5,16.5,0]) cylinder ( d = 2, h = 0.1, center = true);
translate([-18.5,16.5,0]) cylinder ( d = 2, h = 0.1, center = true);
translate([18.5,-16.5,0]) cylinder ( d = 2, h = 0.1, center = true);
translate([-18.5,-16.5,0]) cylinder ( d = 2,... | glb/cad_49baa97fa5d5.glb |
Create a Mercury Montego hood latch handle. Start by constructing a main body that is a hybrid shape: a rounded rectangular base that transitions into a peaked, wedge-like top. The overall footprint is approximately 27mm by 20mm with a height of 22mm. The top surface should taper upward to a ridge.
Incorporate a cent... | faces=60;
difference(){
};
difference(){
translate([20,-20,0])scale([.6,1,1])rotate([0,0,45]){
minkowski(){
hull(){
translate([40,40,0])scale([1,1,1])rotate([0,0,90])scale([1,1,1])cylinder(r=30,h=6,$fn=4);
translate([40,40,22])rotate([0,0,0])cylinder(r=7,h=2,$fn=120);};
translate([0,0,0])sphere(r=2,$fn=faces);
... | glb/cad_bd55882d7d86.glb |
Create a replacement control stick assembly for a micro RC helicopter. Start by constructing a main vertical cylinder with a height of 80mm and a radius of 115mm. Attach a horizontal cylinder to the side of this main body, positioned 40mm up from the base, with a radius of 25mm and a length of 30mm. Extend a second hor... | difference()
{
union()
{
difference()
{
union()
{
cylinder(h = 80, r=115);
translate([105,0,40])
rotate(a=[0,90,0])
cylinder(h=30,r=25);
translate([135,0,40])
rotate(a=[0,90,0])
cylinder(h=170,r=40);
}
union()
{
translate([0,0,10])
... | glb/cad_feddc48e11dc.glb |
Create a rectangular enclosure for a USB charger board. Start with a solid rectangular block measuring 25mm in width, 37mm in length, and 12mm in height. Hollow out the center by removing a rectangular volume of 21mm by 33mm by 20mm, starting from a depth of 2mm from the bottom face. To create access ports, remove two ... | difference(){
union(){
cube([25,37,12]);
}
union(){
translate([2,2,2]) cube([21,33,20]);
translate([12.5,5,6])
rotate(a = [90,0,0])
cylinder(r=4,h=10);
translate([12.5,40,6])
rotate(a = [90,0,0])
cylinder(r=4,h=20);
}
} | glb/cad_35ec11076f86.glb |
Create a rectangular enclosure for a USB charger board. Start with a solid rectangular base measuring 25mm by 37mm with a height of 2mm. On top of this base, add a second rectangular section that is 21mm by 33mm and 2mm high, positioned 2mm from the edges of the base to create a thin outer rim. Hollow out the center of... | difference(){
union(){
cube([25,37,2]);
translate([2,2,2]) cube([21,33,2]);
}
union(){
translate([3.5,3.5,2]) cube([18,30,3]);
translate([12.5,10.5,-5])
rotate(a = [0,0,90])
cylinder(r=2.5,h=20);
}
} | glb/cad_6895c118b28f.glb |
Create a Bench Power Supply case consisting of three main components: a back housing, a front housing, and a front panel.
For the back housing, create a U-shaped shell with an inner width of 126mm, height of 66mm, and depth of 120mm. The walls should be 1.6mm thick. On the back plate, create a rectangular cutout for t... | Which_part="front";
Border=3;
Terminal_size=[45,21,3.5];
include_terminal_block="yes";
$fn=50;
Inner_size=[126,66];
Inner_depth=120;
Fan_bottom_offset=8;
Fan_offset=20;
Vent_type = "cutout" ;
Vent_hole_dia=3;
Overlap=20;
Wall_thickness=1.6;
Power_wide=32;
Power_high=25;
Power_offfset_top=7.5;
Power_offfset_right=14;... | glb/cad_d5c8a13f3061.glb |
Create a modular rack for a rack and pinion system. Start with a rectangular base block that is 6.2mm thick and has a length sufficient to accommodate 23 teeth. Drill a cylindrical hole through the entire length of the block with a radius of 3.1mm to serve as a shaft.
On the top surface of the block, add 23 identical ... | pi=3.1415926535897932384626433832795;
innerRadius=3.1;
borders=2.5;
diametralPitch=12;
numberOfTeeth=23;
pressureAngle=20*pi/180;
rack3(innerRadius,borders,diametralPitch,numberOfTeeth,pressureAngle);
module rack3(innerRadius,borders,P,N,PA)
{
a = 1/P;
d = 1.25/P;
multiplier=20;
height=(d+a)*multiplier;
tanPA ... | glb/cad_8dad181f868e.glb |
Create a modular rack for a rack and pinion system. Start with a rectangular support base that is 6.2mm wide and has a length sufficient to accommodate 10 teeth. The support must feature a central longitudinal hole with a radius of 3.1mm.
Along one side of the support, add 10 gear teeth. Each tooth is a herringbone sh... | pi=3.1415926535897932384626433832795;
innerRadius=3.1;
borders=2.5;
diametralPitch=12;
numberOfTeeth=10;
pressureAngle=20*pi/180;
centerAngle=25;
rack(innerRadius,borders,diametralPitch,numberOfTeeth,pressureAngle,centerAngle);
module rack(innerRadius,borders,P,N,PA,CA)
{
a = 1/P;
d = 1.25/P;
multiplier=20;
heig... | glb/cad_a302a37cb39d.glb |
Create a parametric vase with a total height of 120mm and a base diameter of 60mm. The vase consists of a solid base 1mm thick and a thin-walled shell with a thickness of 0.2mm.
The walls are constructed by lofting a series of 8-sided polygonal profiles along the Z-axis. The overall form follows a "Classic" design pro... | vase_base_diameter = 60;
vase_height = 120;
vase_design = "Classic";
vase_customDesign = [[0,100], [50,160], [100,100]];
wall_sideCount = 8;
wall_complexity = 16;
twist_rotations = 0.5;
base_thickness=1;
wall_thickness=0.2;
module __Customizer_Limit__ () {}
twist_total = 360*twist_rotations;
twist_perUnit = t... | glb/cad_673f87ffa5f6.glb |
Create a vitamin bottle model by constructing a main body and a cap. For the body, create a decagonal prism with a diameter of 44mm and a height of 10mm, centered at the origin. Above this, create a second decagonal prism with a diameter of 42mm and a height of 1mm, positioned 17mm along the Z-axis. Use a hull operatio... | difference() {
union(){
hull() {
translate(v = [0, 0 , 17]) {
cylinder(h=1, d=42, center=true, $fn=10);
}
translate(v = [0, 0 , 11]) {
cylinder(h=10, d=44, center=true, $fn=10);
}
}
cylinder(h=12, d=36, center=tru... | glb/cad_9f2fb6fe0256.glb |
Create a vitamin bottle model using decagonal prisms. Start with a main body that is a decagonal prism 50mm in diameter and 60mm in height, centered on the origin. Add a decagonal base plate 45mm in diameter and 1mm thick, positioned 33mm below the center. Above the main body, add a decagonal neck 40mm in diameter and ... | difference(){
union(){
translate(v = [0, 0 , 40]) {
cylinder(h=2, d=43, center=true, $fn=10);
}
translate(v = [0, 0 , 35]) {
cylinder(h=10, d=40, center=true, $fn=10);
}
hull(){
translate(v = [0, 0 , 35]) {
cylinder(h=1, d=40, ... | glb/cad_8d031119d733.glb |
Create a Decoder Ring by constructing a hollow 26-sided polygonal cylinder with a total height of 15mm (scaled from 20mm). The main body is a 26-gon prism where each side length is 6mm. Hollow out the center by removing a concentric cylinder with a radius of 19.65mm (scaled from 26.2mm minus 4.5mm).
On the exterior of... | use <font.scad>
hh = 20;
ll = 6;
xx = 26.2;
tz2 = 5;
sc = 6;
scale(0.75)
rotate([0,180,0])
translate([0,0,-hh])
difference()
{
union()
{
for (k=[0:25])
{
column(dx,k,3);
column(ex,k,12);
}
linear_extrude(height=hh)
26_gon(ll);
}
translate([0,0,-2])
linear_extrude(height=30)
circle(r=xx-4.5,center=true);
}
module col... | glb/cad_aa0fb4f24fa9.glb |
Create a handsfree tool clamp consisting of a central cylindrical sleeve and a vertical mounting bracket. Start with a cylinder 26mm in diameter and 25mm high, with a concentric hole 23.5mm in diameter passing through its center. Attach a vertical rectangular backplate to the cylinder, measuring 40mm wide, 80mm tall, a... | difference()
{
union()
{
cylinder(25,26,26,$fn=130);
translate([-20,30,0])
cube([40,4,80]);
translate([-6,20,0])
cube([12,10,25]);
translate([-20,17,0])
cube([4,14,80]);
translate([16,17,0])
cube([4,14,80]);
translate([-6,-40,0])
cube([12,30,25]);
translate([0,-26,0])
cylinder(3,16,16);
}
translate([0,0,-2])... | glb/cad_d2657c053bee.glb |
Create a spool adapter designed to fit a 38.5mm inner diameter spool and an 8mm axle. Start by creating a main cylindrical body with a diameter of 38.5mm and a height of 9.5mm. Add a wider, thin cylindrical base plate with a diameter of 48.5mm and a height of 2.5mm at the bottom of the main cylinder.
At the center of ... | lager=0;
achse=0;
$fn=360;
co=2;
bba=22;
bbi=8;
bbt=7;
bbac=bba+0.60;
Sdi=38.5;
Sdw=8;
module bearing(){
color("blue"){
difference(){
cylinder(bbt,d=bba);
translate([0,0,-co/2])cylinder(bbt+co,d=bbi);
}
}
}
x=18;
y=18;
rw=26;
module adapter(){
color("red"){
difference(){
union(){
cylinder(bbt+2.5,d=Sdi);
cylinder(2.... | glb/cad_da0175f40f92.glb |
Create a protective cap for a soldering iron by constructing a tapered outer shell and a matching inner void. Start with a solid tapered cylinder that has a total height of 40mm, a bottom diameter of 14mm, and a top diameter of 10mm. Inside this shape, remove a concentric tapered hole that is 30mm deep, starting with a... | use <write/Write.scad>
_1a_Hole = 9.8;
_1b_Hole = 8.5;
_1c_diameter = 14;
_1d_diameter = 10;
_2a_total_height = 40;
_3a_innerl_height = 30;
difference(){
cylinder(40,_1c_diameter/2,_1d_diameter/2);
cylinder(30,_1a_Hole/2,_1b_Hole/2);
}
translate([0,0,40]) sphere(_1d_diameter); | glb/cad_c74102bf128b.glb |
Create a ROV Bilge Pump Thruster Mount consisting of two main concentric cylindrical sections connected by pillars.
First, create the motor base as a cylinder with an outer radius of 24mm and an inner radius of 20mm, with a height of 20mm. On the outer wall of this base, create a rectangular groove 20mm long, 7.1mm w... | use <write.scad>
use <NutPocketCodes.scad>
res=180;
motorCylIn=20.00;
motorCylOut=motorCylIn+4;
motorLength=20;
propCylIn=30;
propCylOut=propCylIn+3;
propLength=22;
taperLength=40;
nPillar=4;
pillarThick=5;
pillarLength_1=propLength;
pillarLength_2=taperLength;
pillarLength_3=motorLength;
pillarExtrude=5.5;
pillarE... | glb/cad_1994a2983a9d.glb |
Create two identical strap holder components. For each component, start with a rectangular base measuring 43mm in width, 18mm in length, and 2mm in thickness. Drill four circular holes with a radius of 3mm through this base: two holes positioned 4mm from the left edge at y-coordinates of 5mm and 13mm, and two holes pos... | width = 23;
extraOnSides=10;
length = 18;
height= 10;
topgap = 3;
thickness = 2;
holeSize = 3;
rotate([180,0,0])
union(){
union(){
difference(){
cube([width+(extraOnSides*2), length, thickness]);
translate([0,0,-1])
union(){
translate([4,5,])
cylinder(r=holeSize, h=thickness*2);
translate([4,13,0])
cylin... | glb/cad_480b587cec3d.glb |
Create a handlebar mount for a Garmin Montana 600 GPS. The model consists of two main components: a mounting nut and two symmetrical support arms.
First, create the mounting nut. This is a cylindrical block with a central hole designed to fit a handlebar with a diameter of 23.2mm. The nut should have a thickness of 5m... | print_it=0;
what="both";
handlebar_d=23.2;
tol=0+0.1;
th= 0+4;
hnut_th= 0+5;
hook_x=0+19;
hook_y=0+19-0.8;
hook_z=0+34 + 1.2;
hook_szx= 0+8;
hook_szy= 0+2.8;
hook_szz= 0+3;
arm_th= 0+6;
gps_szx= 0+145;
gps_szy= 0+37;
gps_szz= 0+75;
handle_y= 19+th + handlebar_d/2;
module body(w,h, margin)
{
color([1,1,0])
{... | glb/cad_e83ec9f4715d.glb |
Create a Mobius camera mount by starting with a sphere of 68mm diameter that is scaled by a factor of 2.5 along the Z-axis to create a prolate spheroid. Attach a smaller sphere to the side, centered at X=30, with a diameter of 12mm, scaled by 3 along the X-axis and 2.5 along the Z-axis. From this combined mass, remove ... | $fn= 100;
difference() {
union() {
scale([1,1,2.5]) sphere( d = 68);
translate([30,0,0])rotate([0,18,0]) scale([3,1,2.5]) sphere( d = 12);
}
translate([-0.1,0,0]) scale([1,1.04,1])cylinder(d= 65, h = 50, center = true);
translate([-20,0,0])cube([60,80,500], center = true);
translate([20,0,50])rotate([0... | glb/cad_9ac535c6977e.glb |
Create a Mobius camera mount consisting of two symmetrical articulating parts. For the first part, create a central cylinder 8mm in diameter and 10mm high. Attach a rectangular block 4mm wide, 1mm thick, and 10mm long to this cylinder, and bridge the two using a hull operation to create a flat support foot. Drill a 5.0... | $fn = 100;
module articulation1() {
difference() {
union() {
cylinder(d = 8, h = 10, center = true);
hull() {
rotate ([0,90,0]) translate([-0,10,2]) cylinder(d = 10., h = 4, center = true);
translate([2,0,0]) cube([4,1,10], center = true);
}
... | glb/cad_7593b24e5a05.glb |
Create a Z-axis endstop clamp. Start by constructing a hollow cylinder with an outer diameter of 13mm and an inner diameter of 8mm, extending to a height of 20mm. Cut a gap into this cylinder to create an opening, using a rectangular cutout that removes a section of the ring to leave an open angle of 80 degrees. Attach... | X = 0;
Y = 1;
Z = 2;
rod_diam = 8;
clamp_diam = rod_diam + 5;
open_angle = 80;
width = 20;
base_lx = 6.5;
base_ly = 8;
base_lz = width;
zip_tie_holes = [clamp_diam, 1.5, 3];
open_x = 2*(rod_diam/2)*sin(open_angle/2);
module Prusa_clamp()
{
union() {
difference() {
cylinder(r=clamp_diam/2, h=width);
... | glb/cad_109e650f9bd5.glb |
Create a Christmas Star Electronics Enclosure consisting of two matching halves (a top and bottom) that form a hollow rounded box. The external dimensions of the full enclosure are 61mm x 47.5mm x 53.5mm with a wall thickness of 2mm. The internal cavity is 57mm x 43.5mm x 51.5mm.
For the bottom half, create a rounded ... | use <OpenSCAD_Rounded_primitives/rcube.scad>;
use <MCAD/nuts_and_bolts.scad>;
version = "v0.5";
$fn = 40;
pcb_x = 51;
eimp_x_extension = 7;
int_x = pcb_x + eimp_x_extension + 6;
int_y = 44;
int_z = 50;
int_pad = 1.5;
wall_thickness = 2;
ext_x = int_x + int_pad + wall_thickness;
ext_y = int_y + int_pad + wall_thick... | glb/cad_f5f28cd393ef.glb |
Create a handlebars mirror expanding mount adapter consisting of two symmetrical expanding sleeves and a central push-part.
First, create two identical expanding sleeves. Each sleeve is a hollow cylinder with a height of 25mm, an outer diameter of 16mm, and an inner hole diameter of 7mm. To create the expanding mecha... | height = 25.0;
width = 16.0;
hole_width = 7;
expand_part_shift = 3;
expand_gap = 5;
nut_width = 10.25;
nut_height = 5;
$fn = 100;
module tube(height, radius, wall, center = false) {
difference() {
cylinder(h=height, r=radius, center=center);
cylinder(h=height, r=radius-wall, center=center);
}
}
module he... | glb/cad_0ae9ad140d21.glb |
Create a rectangular block measuring 69mm in length, 10mm in width, and 14mm in height. On the vertical face of this block, embed three sets of text extruded at a 45-degree angle. Position the first phrase, "45 degree", starting at a coordinate of 5mm along the length and 25mm along the width. Position the second phras... | use <Spiff.scad>;
use <linear_extrude_45.scad>;
render() {
translate ([5, 0, 0]) linear_extrude_45() translate([0, 25, 0]) write("45 degree");
translate ([5, 0, 14]) linear_extrude_45() write("Extrusion");
difference() {
cube([69, 10, 14]);
scale([.8, 1, 1]) translate ([5, 0, 2]) linear_extrude_45(1) writ... | glb/cad_8ea7e9f90690.glb |
Create a small spool adaptor consisting of a tiered cylindrical base and a central raised hub. Start by creating a main cylinder with a radius of 35mm and a height of 15mm. On top of this base, add a ring-shaped extension created by rotating a rectangle of 35mm by 9mm around the center, positioned 22mm above the base p... | $fn=360;
module makepoly()
{
translate([0,0,22])
rotate([0,180,0])
rotate_extrude(convexity = 20)
translate([0.01,0.01,0.01])
polygon(points=[[0,0],[35,0],[35,9]]);
}
difference()
{
union()
{
cylinder(r=35, h=15);
makepoly();
}
translate([0,0,-0... | glb/cad_94d5a848cf58.glb |
Create a Ducted Fanwheel consisting of a central hub, radiating blades, and an outer shroud.
Start with a central cylindrical hub 18mm in diameter and 17mm total height (10mm fan depth plus 7mm protrusion). Bore a 6.3mm diameter hole vertically through the center of the hub.
Arrange 7 identical blades around the hu... | fanHeight=10;
hubDiam=18;
fanDiam=50;
shaftDiam=6.3;
hubHeight=7.0;
hubWall=1.5;
bladeNum=7;
bladeWidth=1.1;
angle=-37;
$fn=99;
hubRad=hubDiam/2;
fanRad=fanDiam/2;
shaftRad=shaftDiam/2;
bladeLength=(fanDiam-shaftDiam-hubWall)/2;
bladeShift=shaftRad+hubWall;
module singleBlade() {
intersectionFactor=2;
tra... | glb/cad_95d9b71ad72e.glb |
Create a miniature base topper with a shifted European plaster stone pattern. Start by creating a cylindrical volume with a diameter of 23mm and a height of 4mm.
Within this cylinder, carve out a shifted brick pattern. The pattern consists of rectangular stones with dimensions of 200mm by 100mm by 60mm (scaled down b... | scale_factor=57.2;
base_top_diameter=23;
pattern="shifted";
base_type="none";
base_bottom_diameter=25;
$fn= $preview?32:64;
stone_size=[200,100,60];
bone_stone_size=[200,165,60];
scale=1/scale_factor;
modifier=1 / 23*base_top_diameter / 57.2*scale_factor;
translate([0,0,1])
intersection(){
cylinder(h=4,d=base_to... | glb/cad_87de24b6ed7a.glb |
Create a Rotary Encoder Holder consisting of one track and two identical jaws.
First, construct the track as a rectangular block 32mm wide, 32mm long, and 5.5mm high. Carve a T-shaped groove through the center along the length of the track; the bottom of the groove should be 10.9mm wide and 2.5mm deep, while the uppe... | componentX = 27;
componentY = 19;
brickX = 4;
brickY = 4;
trackWidth = brickX * 8;
trackLength = brickY * 8;
trackHeight = 5.5;
trackMidX = 4;
trackMidZ = 5;
trackBotX = 10;
trackBotZ = 2.5;
jawWidth = trackWidth;
jawPreviewSpace = 4.5;
slotWidth = 0;
$fn=50;
trackRender = 0;
jawRender = 0;
beautyRe... | glb/cad_12781b45eaba.glb |
Create a symmetric-arm socket wrench with a total thickness of 9.1mm. The main body consists of a central rectangular block measuring 16.33mm wide by 81.65mm long. At each end of this rectangle, center a cylinder with a radius of 16.33mm and a height of 9.1mm. In the exact center of the tool, place a larger cylinder wi... | include <libraries/MCAD/shapes.scad>
include <OpenScadTextString.scad>
include <num_to_str.scad>
kerf = 0.4;
Num3=10;
Denom3=16;
D3 = 25.4*Num3/Denom3 + kerf;
H = 9.1;
H_hex = 9.1;
Ltot = D3 * 5.0;
M = D3/2;
L = Ltot-2*(D3/2+M);
Tsz=D3/20;
xHeight=8*Tsz;
zHeight=1.1;
rotate([0, 0, -45])
wrench();
module wrench(... | glb/cad_cf642b399572.glb |
Create a customizable plug by constructing a single centered cylinder with a total height of 10mm. The cylinder should have a uniform radius of 5mm at both the top and bottom bases. Ensure the geometry is rendered with a low facet count to maintain a faceted, polygonal appearance rather than a smooth curve. | cylinder_height=10;
cylinder_top=5;
cylinder_bottom=5;
cylinder(r1=cylinder_bottom,r2=cylinder_top,h=cylinder_height,center=true); | glb/cad_73915fd2fd69.glb |
Create a Mini-Sandwich Maker consisting of a heart-shaped base, a pusher, and a handle axis. The heart shape is defined by a square combined with two circles.
For the base, create a heart-shaped shell with a height of 35mm and a width of 25mm. The walls should have a thickness of 2mm. Hollow out the center of this hea... | PartOfObject = "Base";
Type = "Heart";
TypeCap = "Sphere";
TypeAxis = "Cylinder";
RectangleBevelResoltuion = 50;
Height = 35;
Width = 25;
Length = 25;
TP = 5;
H = Height+TP;
W = Width;
L = Length;
TH = 2 ;
HAP = H+10;
WAP = W/3.5;
LAP = L/3.5;
RSB = RectangleBevelResoltuion;
Type_Part();
mod... | glb/cad_454653395dd9.glb |
Create a parametric manifold block with dimensions 93mm in length, 25mm in width, and 20mm in height.
Inside the block, create a central distribution cavity by removing a cylinder with a radius of 6.67mm (one-third of the height) that runs along the length of the block, though it is offset from the ends by 4mm. At on... | manifold_width = 25;
manifold_length =93;
manifold_height =20;
cavity_radius = manifold_height/3;
cavity_offset = 4;
cavity_length = manifold_length-cavity_offset;
hole_radius = 2;
hole_relative_spacing = 2;
hole_repeat = 15;
tubing_inner_radius = 4.318/2;
inlet_radius = 6.35/2;
inlet_offset = 3;
nozzle_radius = i... | glb/cad_86fe73608975.glb |
Create a 623ZZ pulley for a GT2 belt tensioner by constructing a stacked cylindrical body with a total height of 5.0mm. Start with a central base cylinder 12.7mm in diameter and 5.0mm high. Add a thin top flange cylinder with a diameter of 16.2mm and a height of 0.4mm, centered at the top. Below the flange, add a trans... | in_diam=10.1;
out_diam=12.7;
guide_diam=16.2;
out_height=0.4;
base_height=0.9;
total_height=5.0;
$fn=64;
module stack() {
translate ([0,0,out_height/2]) cylinder(r=guide_diam/2, h=out_height, center=true);
translate ([0,0,base_height/2]) cylinder(r1=guide_diam/2, r2=out_diam/2, h=base_height, center=true);
translate (... | glb/cad_397ef5c84056.glb |
Create a Rode NT-USB articulated arm adapter. Start with a central cylinder that has an outer diameter of 35mm and a height of 10mm. This central cylinder must have a concentric hole through its center with a diameter of 20mm, featuring internal ISO metric threads.
Attached to the side of this cylinder, create a protr... | $fn=100;
outerdia=35;
threaddia=20;
height=10;
arm_dia=5;
arm_offset=4;
union()
{
translate([0,0,height/2])
difference()
{
union()
{
hull()
{
translate([outerdia/2+20,0,arm_offset])rotate([90,0,0])
cylinder(r=height/2+arm_offse... | glb/cad_30ebcdb92293.glb |
Create a customizable bauble by constructing a spherical shell with a diameter of 55mm. The main body is formed by five intersecting spiral arms, each with a thickness of 3mm. These arms should twist around the center of the sphere three times. To create a double-helix effect, mirror these spirals with an opposite twis... | loops = 5;
twist = 3;
size = 55;
thickness = 3;
double_helix = true;
do_loop = true;
module spirals(twist=twist) {
twistA = twist*360/(loops*2);
linear_extrude(height=size, center=true, convexity=4, twist=twistA, slices=size)
for (i = [1:loops]) {
rotate(i*360/loops, [0,0,1])
... | glb/cad_12b9795f833c.glb |
Create a Helen Weight by stacking three coaxial cylinders of varying heights and diameters. Start with a base cylinder that is 50mm tall with a radius of 15mm. Directly on top of this base, place a second cylinder that is 55mm tall with a radius of 5mm, positioned so that its bottom is 1mm above the bottom of the base ... | union()
{
cylinder(50,15,15);
translate([0,0,1]) cylinder(55,5,5);
translate([0,0,53]) cylinder(3,10,10);
} | glb/cad_a0bd021e7bb1.glb |
Create a mini lacrosse stick consisting of a head and a shaft holder. For the head, construct a rounded, bowl-like shape using a hull of cylinders. The top section is formed by three cylinders with radii ranging from 14mm to 19mm and heights of 5mm, while the bottom section is a hull of two cylinders with 11mm radii an... | $fn=30;
head();
head_holder();
module eyelets() {
for(i=[1:45:180]) {
translate([0,0,2]) rotate([90,0,i]) cylinder(h=60,r=1,center=true);
}
for(i=[-30:30:30]) {
translate([0,-37,2]) rotate([90,0,i]) cylinder(h=60,r=1,center=true);
}
}
module head() {
difference(){
union() {
hul... | glb/cad_13571cc6ea9b.glb |
Create a mini lacrosse stick shaft butt by constructing a composite cylindrical body with a central hole. First, create a base cylinder with a radius of 4mm and a height of 5mm. On top of this base, add a second cylinder with a radius of 3.25mm and a height of 10mm. To create the hollow interior, remove a central cylin... | $fn=30;
shaft_butt();
module shaft_butt() {
difference() {
union() {
cylinder(h=10, r1=3.25, r2=3.25);
cylinder(h=5, r1=4, r2=3.25); }
union() {
translate([0,0,2]) cylinder(h=10, r1=2.3, r2=2.3);
}
}
} | glb/cad_d1b65a1e0e75.glb |
Create a P3Steel LCD Controller Side Mount. Start with a main body that is a rectangular block 14mm wide, 20mm deep, and 70mm tall (frame width of 50mm plus 20mm). Center a vertical slot through the middle of the body that is 3.1mm wide, 22mm deep, and 60mm tall to accommodate the aluminum frame.
The top of the mount... | frame_width = 50;
frame_thickness = 3.1;
nut_diam = 6.6;
screw_diam = nut_diam/2;
sup_len = 50;
module frame_support() {
difference() {
color("red") {
difference() {
cube([14, 20, frame_width+20], center = true);
translate([0, 0, -8.5])
cube([frame_thickness, 22, frame_width+10], center = true);
... | glb/cad_88996b63e08d.glb |
Create a whiteboard marker tray that is 100mm long. Start by constructing a U-shaped trough with a total width of 19mm, a height of 7mm, and a wall thickness of 2mm on all sides. This creates an internal cavity that is 15mm wide and 5mm high. Attached to the back of this trough, add a vertical clipping bracket that is ... | wall_thickness = 2;
tray_height = 7;
tray_width = 15;
clip_height = 11;
clip_width = 7;
holder_length = 100;
module marker_holder() {
union() {
difference() {
cube([tray_width + 2 * wall_thickness, tray_height, holder_length]);
translate([wall_thickness, -wall_thickness, -wall_thickness / 2]) {
... | glb/cad_5388715ba703.glb |
Create a golf ball model by starting with a spherical shell that has an outer diameter of 43mm and a wall thickness of 2mm. The interior of the sphere should be hollowed out by removing a concentric sphere with a radius of 19.5mm. To provide structural support, add four rectangular prisms, each 1.5mm wide and 43mm long... | owall = 2;
iwall = 1.5;
osup = 0.5;
nsup = 4;
rot = 180/nsup;
size = 43;
difference() {
import_stl("golf-out.stl", convexity = 5);
sphere(r=size/2-owall);
}
intersection(){
sphere(r=size/2-owall/2);
sup(iwall,size);
}
difference() {
translate([0,0,-size/8*3]) sup(osup,size/4);
sphere(r=size/2-1);
}
m... | glb/cad_86f920d91c21.glb |
Create a Christmas ornament consisting of a circular ring and embossed text. Start by creating a hollow ring with an outer radius of 75mm, an inner radius of 70mm, and a height of 10mm. Within this ring, add three lines of centered, cursive text, each extruded to a height of 10mm. Position the first word, "Lauren", at ... | $fn = 50;
color("red"){
linear_extrude(10){
offset(delta=0.25,join_type="miter"){
translate([0,10,0])
text("Lauren", font = "Alex Brush",size = 30, halign = "center");
translate([0,-15,0])
text("+", font = "Alex Brush", size = 30, halign = "center");
translate([0,-40,0])
text("Dave", font = "Alex Brush", size = 30,... | glb/cad_998cb1889091.glb |
Create a parametric rope tensioner with a total length of 70mm and a thickness of 7mm. The main body is formed by the convex hull of three cylinders aligned along the Y-axis: two cylinders with a diameter of 24.6mm positioned at the ends (Y = -35mm and Y = 35mm), and a central cylinder with a diameter of 28.5mm at the ... | $fn=144;
diameterUnit = 5/32 * 25.44;
outerWidth = diameterUnit * 5;
holeDiameter = diameterUnit * 3;
length = 70;
halfLength = length / 2;
thickness = 7;
innerCutoutOffset = halfLength - holeDiameter - (diameterUnit * 2);
difference() {
hull() {
spot(thickness, outerWidth, -halfLength);
spot(thic... | glb/cad_2205e032e92c.glb |
Create a Plus on Pedestal model by starting with a square base and adding a central geometric structure. First, create a cube for the pedestal that is 15mm wide, 15mm deep, and 4mm high, centered at the origin. On top of this base, centered at X=0, Y=0, and Z=3, place a vertical cylinder with a radius of 5mm and a heig... | translate([0, 0, 3])
{
cylinder(h=20, r=5);
translate([-10, 0, 10])
{
rotate([0,90,0])
{
cylinder(h=20, r=5);
}
}
translate([0, 10, 10])
{
rotate([90,0,0])
{
cylinder(h=20, r=5);
}
}
translate([0, 0, 10])
{
sphere(r = 8);
}
}
translate([-7.5, -7.5, 0])
{
cube([15, 15, 4]);
} | glb/cad_79b73a3354bc.glb |
Create a 3D model of a hollowed spherical shell. Start by creating a sphere with a radius of 33.5mm, centered at a height of 25mm along the Z-axis. From this sphere, remove a vertical cylinder with a radius of 19mm that extends from the base upward to a height of 50mm, effectively carving a circular hole through the ce... | difference()
{
translate([0, 0, 25])
{
intersection()
{
translate([-25, -25, -25])
{
cube(50);
}
sphere(6.7*5);
}
}
translate([0, 0, 2])
{
cylinder(h=50, r=19);
}
} | glb/cad_bbcc04e56d01.glb |
Create a snowflake ornament with a uniform thickness of 2mm. The design is based on a six-fold radial symmetry. First, create six primary arms by placing a rectangular bar measuring 4mm by 25mm by 2mm, centered on the Z-axis, and rotating it in 60-degree increments around the center. On each of these arms, add two smal... | $fs = 0.5;
$fa= 3;
module snowflake_bit3 () {
translate ([-3,19,0])
rotate ([0,0,60])
cube (center = true, [3,8,2]);
translate ([3,19,0])
rotate ([0,0,-60])
cube (center = true, [3,8,2]);
}
module snowflake_bit1 () {
translate ([0,12.5,0])
cube (center = true, [4,25,2]);
snowflake_bit3 ();
translate... | glb/cad_2af614febfef.glb |
Create a hat bill by constructing a curved, thin shell. Start with a hollowed-out cylindrical section with an outer radius of 85mm and a wall thickness of 2mm. Rotate this cylinder 45 degrees along its longitudinal axis. To shape the bill, remove the lower half of this cylinder using a large cube, and further refine th... | hdep = 200;
thick = 2;
rad = 85;
curve = 65;
dep = hdep * 2;
radhp = rad - thick;
module matter () {
difference () {
rotate ([0,45,0]) cylinder (h = dep, r = rad, center = true);
rotate ([0,45,0]) cylinder (h = dep, r = radhp, center = true);
translate ([thick * -7,0,dep / 2 * -1]) cube ([dep * 3,dep,dep], cen... | glb/cad_4f6e23c876b6.glb |
Create a set of dungeon props including a treasure chest, a key, and books.
For the treasure chest, create a rectangular base 10mm wide, 8mm deep, and 4mm high. The lid should be a rounded hull that transitions from the rectangular base into a semi-cylinder with a 4mm radius. Carve out recessed areas from the front an... | function fs( quality ) = "high"==quality ? 0.5 : 5;
function fa( quality ) = 360 / ( "high"==quality ? 180 : 90 );
quality = "high";
$fs = fs( quality );
$fa = fa( quality );
clearance = 0.15;
key_hole_radius = 0.8;
key_bit_height = 1;
key_bit_width = sin(45) * key_hole_radius * 2 - clearance;
q = 0.02;
module bas... | glb/cad_0bceb385c031.glb |
Create a set of dungeon props for a 20mm scale.
First, construct a French Ashlar floor pattern using rectangular slabs. Each slab should have a base unit size of 5mm along its shortest edge. Create the slabs as beveled boxes with a height between 1mm and 2mm. Arrange them in the following layout: a 1x1 slab at (-7.5,... | function fs( quality ) = "high"==quality ? 0.5 : 5;
function fa( quality ) = 360 / ( "high"==quality ? 180 : 90 );
quality = "high2";
$fs = fs( quality );
$fa = fa( quality );
unit_size = 5;
chamfer_radius = 0.5;
clearance = 0.3;
module stone( w, d, h )
{
w = w - clearance * 0.5;
d = d - clearance * 0.5;
dx =... | glb/cad_3609e4b755c9.glb |
Create a scalpel cover by designing a hollowed-out shell based on a specific polygonal profile. First, construct a solid 2D polygon with the following vertices: (-23.5, 37), (-22.4, -52.7), (-19.4, -65.7), (-12.2, -86.7), (2.9, -117), (5.9, -118.3), (15.5, -101.7), (23.5, -85.6), (23.5, 16.4), (23.5, 118.3), (0, 118.3)... | fudge = 0.1;
module poly_path2996(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-23.500000,36.995210],[-22.380760,-52.662370],[-19.404482,-65.742358],[-12.213400,-86.663790],[2.923700,-117.039220],[5.911280,-118.336210],[15.459320,-101.683900],[23.500000,-85.610030],[23.... | glb/cad_2212ae428332.glb |
Create a Power Supply Terminal Cover with a main U-shaped base. The base has an overall length of 106mm, a height of 41mm, and a depth of 42mm, with a wall thickness of 2mm.
On the front face, create a rectangular switch cutout measuring 19mm by 14mm, positioned 10mm from the left edge. Add a small circular LED hole ... | hole_resolution=50;
base_length=106;
base_height=41;
base_depth=42;
base_thickness=2;
$fn=hole_resolution;
switch_cutout_length=19;
switch_cutout_width=14;
switch_location = 2;
led_cutout_radius=2;
grommet_cutout_radius=6;
power_plug_cutout_length=28;
power_plug_cutout_width=20;
screw_hole_cutout_radius=1;
antishoc... | glb/cad_5bcd63d5d491.glb |
Create a simple vase with a height of 110mm. The external shape is a modulated cylinder with a base diameter of 51.5mm and a top diameter of 64.5mm. The top rim features a wavy, undulating profile created by 20 cycles of modulation with an amplitude of 3mm, while the base remains a smooth circle. The entire external fo... | Height=110;
Internal_Top_Diameter=120;
Internal_Base_Diameter=100;
Faces_Number=360;
Top_Cycles=20;
Top_Modulation=3;
Base_Cycles=0;
Base_Modulation=0;
Phase_Diff=-20;
BottonTK=2;
WallTK=1.5;
Top_Diameter=Internal_Top_Diameter+Top_Modulation*2+WallTK;
Base_Diameter=Internal_Base_Diameter+Base_Modulation*2+WallTK;
Top_... | glb/cad_1ade37abaf63.glb |
Create a simple vase and water tray set. First, construct the main body as a cylinder with a diameter of 124mm and a height of 20mm. Hollow out the center by removing a cylinder with a diameter of 128mm, starting from a height of 2mm from the base, leaving a bottom thickness of 2mm. To create the drainage and support s... | ID=120;
Botton_tk=2;
Wall_tk=2;
difference(){
cylinder(h=20, d=ID+2*Wall_tk+8, $fa=1);
translate([0,0,Botton_tk]) cylinder(h=20, d=ID+8, $fa=1);
}
for(n=[0: 360/5: 360])rotate([0,0,n]) translate([ID/7+4.1, 0, 0])cube([ID/3, 2, 6]);
for(n=[0: 360/5: 360])rotate([0,0,n]) translate([ID/2+0.1, 0, 0])cube([4, 2, 20]... | glb/cad_1e399939a83a.glb |
Create a Recessed Flange-Mount Ball Transfer consisting of two main components: a recessed base and a top flange.
First, create the recessed base as a cylinder with a radius of 15.35mm and a total height of 10.67mm. Subtract a central sphere with a diameter of 18.7mm, positioned so its center is 9.35mm above the base'... | MOD_QUAL = "normal";
PART = "assembly";
D_ONE = 12.7;
D_TWO = 4.5;
ELEV = 8;
DRL = "M3";
R_DRL = "imperial";
DRL_HD_COEF = 2.0;
TOL = 1.0;
DSIZE = DRL == "M3" ? 3 :
DRL == "M4" ? 4 :
DRL == "M5" ? 5 :
DRL == "M6" ? 6 :
DRL == "#4" ? 2.845 :
DRL == "#6" ? 3.505 :
... | glb/cad_9578be8a9d08.glb |
Create a dual hot end mount for a V3 hot end and RepRap Mendel. Start with a central rectangular block measuring 90mm x 41mm x 5mm. Attached to the bottom center of this block, add a second rectangular volume measuring 70mm x 20mm x 25mm.
From this combined mass, remove several geometric shapes to create mounting hole... | module xcarriagemk5D()
{
difference() {
union() {
cube([90, 41, 5], center = true);
translate([0, 0, -13])cube([70, 20, 25], center = true);
}
union() {
translate([-45, 0, 0])cube([20, 20, 10], center = true);
translate([45, 0, 0])cube([20, 20, 10], center = true);
translate([10, 0, -35])rotate(0... | glb/cad_241c59082f1c.glb |
Create a dual hot end mount for a RepRap Mendel. Start by creating a rectangular block that is 60mm wide, 10mm deep, and 20mm high. Position this block so its center is aligned with the origin, extending from -30mm to 30mm on the X-axis, -5mm to 5mm on the Y-axis, and 8mm to 28mm on the Z-axis. From this main body, rem... | module importxcarrage()
{
import_stl("C:\Documents and Settings\rbisping\My Documents\Downloads\mystls\xcarriagemkgrmount.stl",convexity=5);
}
module vinsulclamp()
{
difference()
{
union(){
translate([-30,-15,8])cube([60, 10, 20]);
}
union(){
importxcarrage();
translate([25, 20, 22.4])rotate(90,[1, 0, 0])cyli... | glb/cad_3897cab0c71d.glb |
Create a dual hot end mount for a V3 hot end and RepRap Mendel. Start with a central rectangular plate measuring 90mm by 81mm with a thickness of 5mm, centered on the origin.
From this base, remove a large central rectangular block measuring 75mm by 25mm by 100mm. Additionally, remove a smaller rectangular section me... | module xcarriagemk5D()
{
difference() {
union() {
cube([90, 81, 5], center = true);
}
union() {
translate([0, 0, 0])cube([75, 25, 100], center = true);
translate([20, 35, 0])rotate(0,[1, 0, 0])cylinder(40,2,2,center=true);
translate([-20, 35.0, 0])rotate(0,[1, 0, 0])cylinder(40,2,2,center=true);
... | glb/cad_9dcc118d0b4a.glb |
Create a Hario MSS-1B to Bosch IXO adapter. Start with a main outer cylinder that has a radius of 10mm and a total height of 15.5mm. From the center of this cylinder, remove a coaxial hole consisting of two stacked sections: first, a bottom cylindrical void with a radius of 6.2mm and a height of 8mm, and second, a five... | roundRadius = 6.2;
roundHeight = 8;
fiveRadius = 3.8;
fiveHeight = 7.5;
space = 5;
sixHeight=11;
sixRadius=7.18/2;
rotate([180, 0, 0])
main();
module main() {
difference() {
cylinder(r=10, h=roundHeight+fiveHeight+2, $fn=64);
translate([0, 0, -1])
union() {
cylinder(r=roundRadius, h=roundHeight+1, $fn=... | glb/cad_e6216e6edcbf.glb |
Create a customizable keychain consisting of a flat base with raised text. Start by constructing the base as a capsule shape with a length of 35mm, a width of 10mm, and a height of 2mm. This base is formed by the convex hull of two cylinders, each 10mm in diameter and 2mm high, positioned at opposite ends of the length... | Text = "Your Text";
Text_Font = "Arial";
Text_FontSize = 5.0;
Text_X = 0.0;
Text_Y = 0.0;
Text_Height = 1.0;
Base_Length = 35.0;
Base_Width = 10.0;
Base_Height = 2.0;
Hole_Size = 3.0;
Hole_X = 0.0;
Hole_Y = 0.0;
module keychains(){
$fn=100;
move = Base_Width / 2;
hull(){
translate([move ,0,0]) c... | glb/cad_9dbaaf910185.glb |
Create a customizable keychain by first constructing a base plate that is 2mm thick. This base is formed by the convex hull of two cylinders, each with a diameter of 10mm, positioned 25mm apart along the x-axis. Bore a vertical hole with a diameter of 3mm through the base, centered at x = -2mm, y = 0mm. On the top surf... | text = "Your Text";
font = "Arial";
fontSize = 5.0;
textX = 0.0;
textY = -2.0;
length = 25.0;
holeSize = 3.0;
$fn=70;
module keychains(){
hull(){
cylinder(h = 2, d1 = 10, d2 = 10);
translate([length,0,0]) cylinder(h=2,d1=10,d2=10);
}
translate([textX, textY,1]) linear_extrude(height=2) ... | glb/cad_66b532515546.glb |
Create a Wire Spool holder by constructing a hollow cylindrical shell. Start with an outer cylinder that has a diameter of 54mm and a total height of 30mm. Create a concentric inner void by removing a cylinder with a diameter of 50mm and a height of 30mm, leaving a wall thickness of 2mm. To form the rim, add a thin rin... | $fs=1;
$fa=1;
Wandstaerke = 2;
Spulenloch = 20;
Spulenhoehe = 30;
Spulenbreite = 50;
HoleSize = 2;
WithHole = false;
Case();
module Case()
{
translate([0,0,0.5 + Wandstaerke])
{
rotate_extrude(convexity = 10, $fn = 100)
translate([Spulenbreite/2, 0, 0])
circle(d=1, $fn = 100);
}
difference()
{
differenc... | glb/cad_48ef6ba0a76a.glb |
Create a 3D pendant titled "Illuminati Diamond" consisting of stylized, gothic-style text extruded to a uniform thickness of 3mm. The design features three rows of overlapping and interlocking characters arranged in a diamond-like cluster.
The top row contains the letters "E", "A", "R", "T", "H" in a condensed, ornate... | fudge = 0.1;
module poly_path8(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-3.100000,-216.833691],[-6.225000,-212.671191],[-10.400000,-207.533691],[-13.059375,-204.179004],[-14.275000,-202.296191],[-14.405859,-201.733887],[-14.253125,-201.332129],[-13.842578,-201.02177... | glb/cad_dc6f2a9fed03.glb |
Create a screwcup storage container with a total height of 40mm and an outer diameter of 60mm. The walls should have a thickness of 1mm. The main body is a hollow cylinder featuring a continuous external screw thread with a pitch of 12mm and a thread depth of 0.75mm.
The geometry is composed of three distinct vertica... | wall_thickness=1.0;
cup_height=40.0;
cup_diameter=60.0;
thread_pitch=12;
turns_to_lock=0.7;
thread_depth=0.75;
quality=60;
screwcup (thread_pitch, cup_height, quality, cup_diameter, wall_thickness,turns_to_lock);
module screwcup(pitch, height, qual, male, wall, chamf)
{
union() {
if (2*chamf*pitch >= height){... | glb/cad_050c57918124.glb |
Create a screwcup storage container with a total height of 40mm and an outer diameter of 60mm. The object is a hollow cylinder with a wall thickness of 1mm. The main body features a threaded exterior created by a spiral profile. This thread has a pitch of 12mm and a depth of 0.75mm.
The geometry is composed of three ... | wall_thickness=1.0;
cup_height=40.0;
cup_diameter=60.0;
thread_pitch=12;
turns_to_lock=0.7;
thread_depth=0.75;
screwcup (thread_pitch, cup_height, 100, cup_diameter, wall_thickness,turns_to_lock);
module screwcup(pitch, height, qual, male, wall, chamf)
{
union() {
if (2*chamf*pitch >= height){
translate([0,0,... | glb/cad_89d16fd97bbd.glb |
Create a bike basket universal mount consisting of a vertical cylinder with a diameter of 25mm and a total height of 74mm. Flatten one side of the cylinder by removing a section 22mm high and 5mm deep, centered vertically along the length of the pole, to create a flat mounting surface.
At the top of the cylinder, cre... | $mount_hight=74;
$mount_diameter=25;
$mount_deepening_depth=5;
$mount_deepening_height=22;
$mount_deepening_spare=4;
$top_rim_diameter=7;
$height_correction=2;
$punch_hole_count=3;
$punch_hole_diameter=5;
$punch_hole_spacing=($mount_hight/2)/($punch_hole_count+1);
$fn=36;
difference() {
translate([0,0,$mount_hight... | glb/cad_a226fc7645b7.glb |
Create a GoPro Ball Joint Mount Adapter by combining a spherical head, a connecting neck, and a mounting plate. Start by creating a sphere with a diameter of 15mm. Attached to the top of this sphere, center a cylinder with a diameter of 8mm and a height of 20mm, extending upwards. At the top of this cylinder, construct... | eta=0.01;
$fn=50;
BallDiameter = 15;
sphere(d=BallDiameter);
cylinder(d=8, h=20);
translate([0, 0, 20-eta+1.5])
cube([15, 2.75+3+3+3+2.75, 3+2*eta], center = true);
translate([0, -2.75-3-1.5, 33])
rotate([-90, 0, 0])
goprotoaster();
module goprotoaster()
{
slice(2.75);
translate([0, 0, 2.75+3])
... | glb/cad_5ad01be26fae.glb |
Create a Mendel90 x-carriage hotend fan duct. Start with a rectangular mounting plate 10mm thick, 40mm wide, and 40mm high. Centered on this plate, create a circular cutout 35mm in diameter and 8mm deep to accommodate a fan. Position four 3.3mm diameter mounting holes at the corners of the plate, each offset 4mm from t... | de = 0.1;
fn_hole = 12;
ex = 0;
nozzle_size = 0.4;
P0110 = 30;
P0111 = 20;
P0112 = 16;
P0115 = 2;
P0130 = 3;
P0131 = 6;
P0132 = P0112-P0130;
P0133 = P0132-P0131;
echo("bracket foot length", P0132);
echo("bracket top length", P0133);
P0135 = 15;
P0140 = 3.2;
P0141 = P0131+P0115;
P0142 = 4;
P0145 = 5.5;
P0146 = 3;
P01... | glb/cad_a72a2faa42c0.glb |
Create a Basic Didjeridu Mouthpiece by revolving a profile around a central vertical axis.
First, construct the main body. The base is a hollow cylinder with an outer diameter of 48.3mm and an inner diameter of 40mm. This cylinder extends upwards for 15mm.
Above this base, create a transition section that tapers in... | rim_diameter = 29;
rim_curvature = 3;
inside_bite = 0.1;
rim_thickness = 6;
outside_bite = 0.35;
outside_shoulder_slope = 0.3;
rimInnerDiameter = rim_diameter;
transitionLength = 25;
didjOuterDiameter = 48.3;
didjInnerDiameter = 40;
shankWallThickness = 3.36;
shankLen = 15;
printer_spooge_factor = 0.35;
prin... | glb/cad_0ffa608bef5b.glb |
Create a Power Supply Terminal Cover by starting with a rectangular base block measuring 108mm in length, 41mm in height, and 18mm in depth. The base should have a uniform wall thickness of 2mm.
From this base, remove the following geometric cutouts: a rectangular opening for a power plug measuring 28mm by 20mm locat... | hole_resolution=50;
base_length=108;
base_height=41;
base_depth=18;
base_thickness=2;
$fn=hole_resolution;
switch_cutout_length=27;
switch_cutout_width=12;
led_cutout_radius=4;
grommet_cutout_radius=6;
power_plug_cutout_length=28;
power_plug_cutout_width=20;
screw_hole_cutout_radius=1;
module base(){
cube([base_le... | glb/cad_0bfdab76c266.glb |
Create an adjustable Z endstop mount. Start with a base block 50mm wide, 15mm deep, and 3mm high. On top of this base, add a vertical wall 50mm wide, 4mm deep, and 55mm high, aligned to the back edge.
Cut a semi-circular notch with a radius of 6mm into the bottom center of the base. Create two vertical bolt slots, eac... | m3 = 3.2;
height = 55;
module bolt_slot() {
union() {
hull() {
translate([-(m3 / 2), -1, (m3 / 2)]) cube([m3, 6, height]);
translate([0, 5, (m3 / 2)]) rotate([90, 0, 0]) cylinder(h = 6, r = (m3 / 2));
}
hull() {
translate([-3.75, 3, (m3 / 2)]) cube([7.5, 3, height]);
translate([0, 6, (m... | glb/cad_d1735d77bf0d.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.