Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a simple parametric bottle consisting of two interlocking cylindrical halves. Each half has an overall height of 61.6mm and an outer diameter of 34.2mm. Both halves feature a central hollow cavity with a diameter of 31mm and a wall thickness of 1.6mm.
For the male half, create a solid cylinder of the outer dime... | include <MCAD/units/metric.scad>
use <MCAD/shapes/polyhole.scad>
bottle_id = 31;
bottle_ih = 120;
wall_thickness = 1.6;
bottle_od = bottle_id + wall_thickness * 2;
bottle_h = bottle_ih + wall_thickness * 2;
joint_length = 10;
clearance = 0.3;
$fs = 0.4;
$fa = 1;
module bottle_male ()
{
difference () {
... | glb/cad_c2a7d6fc75c7.glb |
Create a MakerGear M2 LED Light Bar. Start with a main rectangular body that is 200mm long, 17mm wide, and 6mm thick. Add a secondary rectangular section on top of the main body that is 90mm long, 11.5mm wide, and 8.5mm thick, centered along the length of the bar.
Remove eight circular holes from the main body, each w... | rotate ([0,180,0])
difference()
{
union()
{
translate ([-9, 0,-3])
cube (size = [3,200,6], center=true);
translate ([ 5, 0,-3])
cube (size = [3,200,6], center=true);
translate ([-2, 0, 0.9])
cube (size = [17,200,3.2], center=true);
translate ([ 12, 0, -1.75])
cube (size = [11.5,90,8.5], center=tru... | glb/cad_00de35bd31e2.glb |
Create a lamp base by starting with a central housing that combines a cube of 45mm x 45mm x 30mm and a cylinder with a radius of 12mm and a height of 35mm, both centered on the same axis. From this combined volume, remove a central vertical hole with a radius of 6.5mm and a height of 38mm.
To refine the exterior, rem... | $fn=60;
module fillet (r, h)
{
translate ([r/2, r/2, 0])
{
difference ()
{
cube ([r + 0.01, r + 0.01, h], center = true);
translate ([r/2, r/2, 0]) cylinder (r=r, h=h+1, center=true);
}
}
}
module screwCut ()
{
difference ()
{
union ()
... | glb/cad_68b975784543.glb |
Create a Wispeco garage door lock bar guide by starting with a rounded rectangular block measuring 12mm wide, 29mm long, and 12mm high, with corner radii of 1mm. Carve out a central rectangular channel that is 5mm wide, 17mm long, and 20mm high, centered within the block. Remove two cylindrical holes, each with a radiu... | include <MCAD/shapes.scad>
$fn=60;
module housing ()
{
difference ()
{
translate ([-2,0,0]) roundedBox (12, 29, 12, 1);
union ()
{
translate ([-1.5,0,0]) roundedBox (5, 17, 20, 1);
rotate ([0,90,0]) translate([0,-21/2,0])cylinder (r=2.1, h=20, center = true);
... | glb/cad_735b7018c441.glb |
Create a Witch's Hat by starting with a flat, circular base rim with a radius of 30mm and a thickness of 2mm. Centered on this base, construct a conical tower that rises to a total height of 40mm. The tower should taper from a bottom radius of 15mm at the base to a narrow point at the top. To create the hollow interior... | base=30;
thickness=2;
height=40;
angle=30;
offset = 2;
difference()
{
union()
{
cylinder(r=base, h=thickness);
difference()
{
cylinder(r1=base/2, h=height);
translate([0,0,base/2 + height - height/4+sin(angle)*base/2/4+offset])
cube([base,base,base], center = true);
}
translate([0,0,... | glb/cad_db28edd4e5dc.glb |
Create a dual-extruder calibration model consisting of two concentric rings. First, construct an outer ring by creating a cylinder 14mm in diameter and 2mm high, centered on the origin, and removing a concentric inner cylinder 11mm in diameter and 3mm high. Attach a small cubic index marker to this outer ring, measurin... | $fn = 64;
module orange()
{
{
union()
{
difference()
{
cylinder(d=14,h=2, center=true);
cylinder(d=11,h=3, center=true);
}
translate([ -5.5, -5.5, 0 ])
cube( [2.5,2.5,2], center=true ); ... | glb/cad_25b49f235cf5.glb |
Create a Friendship Pin consisting of a central vertical cylinder and two spheres. Start by creating a main cylinder with a height of 18mm and a radius of 2mm, using a 30-facet resolution. Drill two identical holes through this cylinder; each hole must have a radius of 1.5mm and a length of 10mm. Position the first hol... | sep = 2.5;
difference() {
cylinder(18, 2, 2, $fn=30, true);
translate([0, 0, sep]) {
rotate([90, 0, 0]) {
cylinder(10, 1.5, 1.5, $fn=30, true);
}
}
translate([0, 0,-sep]) {
rotate([90, 0, 0]) {
cylinder(10, 1.5, 1.5, $fn=30, true);
}
}
}
tr... | glb/cad_b7fa9bf98353.glb |
Create a customizable tool handle by forming a main body that is a hull of a sphere with a 25mm diameter and a cylinder with a 25mm diameter and 80mm height positioned 5mm above the sphere's center. Bore a central vertical hole through the entire length of the handle with a diameter of 4.5mm, starting from the base. To... | $fn=25;
diameter = 25;
height = 80;
indents = 6;
indentDiameter = 6;
toolDiameter = 4.5;
fingerDivot = "false";
difference(){
Handle();
Indents();
translate([0,0,5])cylinder(height+5, d=toolDiameter, false);
}
module Handle(){
hull(){
sphere(d=diameter);
translate([0,0,5])cylin... | glb/cad_4f6384ed49f4.glb |
Create an aluminum tubing internal hex shaft support. Start with a rectangular block measuring 24.1 mm by 76.2 mm by 24.1 mm. Centered along the length of the block, remove a hexagonal prism with a flat-to-flat diameter of 12.7 mm and a point-to-point diameter of approximately 14.7 mm that extends through the entire 24... | use <MCAD/regular_shapes.scad>
in = 25.4;
tubeSize = 1*in;
wallSize = 1/16*in;
shaftDiam = 1/2 * in;
hexDiam = 2*tan(30)*shaftDiam;
holes = (1.875)*in;
length = 3*in;
inner = tubeSize-(2*wallSize)-0.5;
difference() {
cube([inner, length, inner], center=true);
rotate([0, 0, 0]) cylinder(d=0.5+hexDiam, h=inner... | glb/cad_64f4cf621d89.glb |
Create a Universal Cell Phone Mount frame by constructing a hollowed-out rectangular shell with rounded corners. The outer dimensions of the shell should be 73mm in width, 138.5mm in height, and 14.5mm in depth, based on a phone size of 68mm by 131mm with a 2.5mm border thickness.
The main body is a rounded rectangul... | part = "frame";
width = 68;
height= 131;
depth = 12;
border_thickness=2.5;
$fn=120;
print_part();
module print_part() {
if (part == "base") {
base(width);
} else if (part == "frame") {
box(width,height,depth,border_thickness);
}
}
module frame(width, height, depth, border)
{
difference()
{
... | glb/cad_9d720f7c1241.glb |
Create a six-sided die with a total side length of 16mm. The die should have rounded corners defined by a curvature radius of 2.27mm (calculated as 16 divided by 1.42).
On each of the six faces, engrave a custom image centered on the surface. Each image should be scaled to fit within a 12mm by 12mm area and engraved ... | i1 = "skull.dat";
i2= "skull.dat";
i3= "skull.dat";
i4= "wshield.dat";
i5= "wshield.dat";
i6= "bshield.dat";
pixils=100;
depth=.5;
cube_size=16;
image_size=12;
curvature=1.42;
image=[i1,i2,i3,i4,i5,i6];
rot=[[0,0,0],[90,0,0],[180,0,0],[270,0,0],[0,90,0],[0,-90,0]];
intersection(){
sphere(cube_size/curvatur... | glb/cad_72cd1a1c037d.glb |
Create a chair foot protector designed to hold a 27mm diameter felt pad. Start by constructing a main body using a hull operation between two shapes: a cylinder with a height of 19mm (13mm cup height plus 6mm for walls) that is tapered from a bottom radius of 11.25mm to a top radius of 12.25mm and tilted at a 12-degree... | Quality = 100;
Leg_Bottom_Diameter = 22.5;
Leg_Top_Diameter = 24.5;
Leg_Angle = 12;
Leg_Cup_Height = 13;
Felt_Diameter = 27;
Felt_Height = 5;
Include_Supports = 1;
$fn = Quality;
wall = 2*1;
union() {
difference() {
hull() {
rotate([Leg_Angle,0,0]) {
cylinder(r1=Leg_Bottom_Diameter/2+wall,
r2=L... | glb/cad_b25b859fc942.glb |
Create a circular coaster with a total diameter of 91mm. Start with a base cylinder that is 5.8mm thick. Add a rounded outer rim by rotating a circle with a 4.5mm radius around the center; this profile should be positioned such that the center of the circle is 41mm from the center of the coaster and 8.5mm above the bas... | Upper_Logo = "Mets2.dat";
Lower_Logo = "Mets.dat";
Coaster_diameter = 91;
Base_thickness = 5.8;
Depression_diameter = 83;
Depression_depth = 20;
Curve_radius = 20.5;
Coaster_radius=Coaster_diameter/2;
Depression_radius=Depression_diameter/2;
difference(){
union(){
translate([0,0,0])
cylinder(r=Coaster_rad... | glb/cad_dea7cb85c45b.glb |
Create a Parametric Tardis model. Start with a main rectangular body that is 24mm wide, 24mm deep, and 40mm tall. Add a base plinth that extends 2.4mm beyond the body on all sides with a height of 2.4mm.
Construct the roof as a truncated pyramid that slopes upward from the top edges of the body to a flat top surface.... | H = 40;
Ratio =0.6;
S = H * Ratio;
Lr = S/15;
Lh = H/9;
Dh = H - S/3.5;
Dw = 2 * S/5;
Po = (-Dh + 8 * S / 5) / 3;
Pr = Dw - (2 * Po);
HD = S/3;
$fn = 100;
color([0,0,0.7])
difference()
{
union()
{
cube([S,S,H]);
translate([S/20,S/20,0]) cube([S-(S/10),S-(S/10),H+(S/15)]);
translate([S/10,S/10,0]) cube([S-... | glb/cad_6f1f7b8a2575.glb |
Create a Hidden Heart Pendant by starting with a centered rectangular block measuring 60mm by 60mm with a thickness of 5mm.
Within this block, create a void by removing the intersection of two specific patterns. First, generate a heart-shaped polyhedron and a close-packed hexagonal array of cylinders. The final inter... | union () {
translate([-28,0,0])
linear_extrude(height=5)
difference() {
circle(center=true,r=8,$fn=48);
circle(center=true,r=6,$fn=48);
translate([36,0,0])
circle(center=true,r=25,$fn=48); }
intersection() {
translate([0,0,-5])
cylinder(r=29,h=30,center=-true,$fn=48);
union() {
linear... | glb/cad_96270d4b3d49.glb |
Create a self-locking carriage for a Kossel Mini 3D printer. Start with a main central body that is a rectangular block measuring 27mm wide, 40mm long, and 6mm thick.
Extend the body with two symmetrical ball joint mount horns. Each horn is formed by the intersection of a block measuring 40mm wide, 18mm long, and 6mm... | include <configuration.scad>;
belt_width_clamp = 6;
belt_thickness = 1.0 - 0.05;
belt_pitch = 2.0;
tooth_radius = 0.8;
separation = 40;
thickness = 6;
horn_thickness = 13;
horn_x = 8;
belt_width = 5;
belt_x = 5.6;
belt_z = 7;
corner_radius = 3.5;
m3_nut_radius = 3.0;
m3_wide_radius = 1.5;
module carriage() {
t... | glb/cad_74233915c0f9.glb |
Create a mic stand cable clip with a height of 13mm. The main body is formed by the union of two concentric cylindrical shells. The inner shell is a cylinder with a 13.5mm diameter, and the outer shell is a larger cylinder with an 8mm diameter. These two cylinders are joined by a hull operation to create a smooth, roun... | stand_opening_diameter = 13.5;
cable_opening_diameter = 8;
height = 13;
clip_opening_angle = 90;
module clip(height, major, minor, opening_angle=90) {
spacing = 0.5;
wall_major = pow(major / 20, 1/2) * 20 / 5;
wall_minor = wall_major * pow(minor / major, 1/3);
rounding = min(wall_major, wall_minor) ... | glb/cad_17ce85c7c37b.glb |
Create a coaster for a BeagleBone board. Start by creating a rectangular base with an outer width of 88.6mm, a length of 55.6mm, and a height of 10mm. The base should have rounded corners with a radius of 6.35mm.
Hollow out the center of the base to create a walls-and-floor structure. The bottom floor thickness shoul... | inside_width = 87;
inside_length = 54.5;
edge_thickness = 0.8;
bottom_thickness = 1;
border_size = 8;
base_height = 10;
$fn=32;
translate(v=[0,0,base_height/2]) box(inside_width, inside_length, bottom_thickness, base_height, border_size, edge_thickness);
module helper(inside_width,inside_length,edge_thickness) {
... | glb/cad_e09997ca66c4.glb |
Create a phone stand by combining three main geometric sections. Start with a vertical back wall that is a rectangular prism measuring 10mm wide, 70mm deep, and 140mm high. Cut a rectangular hole out of the bottom of this back wall, starting 1mm from the base, with dimensions of 10mm wide, 15mm deep, and 30mm high to a... | $fn = 30;
length = 40;
height = 40;
depth = 40;
standAngle = ([0,90,0]);
cube = ([40, 70, 40]);
ROTATE = 70;
union ()
{
difference ()
{
cube([10, depth + 30, height + 100]);
translate([0,27.5,1 ])
{
cube([10,15,30]);
}
};
translate([40,0,31])
{
rotate ([0,ROTATE- 87,0])
... | glb/cad_d099078299c3.glb |
Create a Macbook Pro Cable Dock by starting with a solid rectangular base measuring 12mm deep, 90mm wide, and 30mm high, with all outer corners rounded to a 2mm radius.
From this base, carve out five distinct vertical slots to hold cables. Each slot is a rounded rectangle that penetrates the depth of the block. Posit... | outer_width = 90;
outer_depth = 12;
outer_height = 30;
outer_radius = 2;
power_width = 17.15;
power_depth = 5.25;
power_height = 13;
power_radius = 1;
power_cablewidth = 1.5;
power_xoffset = 34;
videoA_width = 12;
videoA_depth = 9;
videoA_height = 18.5;
videoA_radius = 1;
videoA_cablewidth = 2.5;
videoA_... | glb/cad_8ef7bd413394.glb |
Create a Centre Finder tool consisting of three distinct variations. For the first version, create a long arm as a truncated triangle with a length of 150mm, a base width of 8mm, and a thickness of 2mm. Attach a rectangular face to the end of this arm that is 5mm long and 20mm wide, with two cylinders of 2.5mm radius a... | layerHeight = 0.4;
layerWidth = layerHeight * 1.9;
validJoin = 0.01;
precision = 100;
function hM(tW) = (hwMod(tW,layerHeight)<=0 ? layerHeight : hwMod(tW,layerHeight));
function wM(tW) = (hwMod(tW,layerWidth)<=0 ? layerWidth : hwMod(tW,layerWidth));
function hwMod(targetWidth,modulusDistance) = round((targetWidth)/m... | glb/cad_503330d9ef67.glb |
Create a "Threaded" Parametric Camera Lens Cap Holder. Start by constructing a buckle base that is 6mm thick and 3mm high. This buckle should be a ring with an outer diameter of 87.5mm and an inner diameter of 77.5mm, but it is modified into a strap-like shape: the sides are flattened to a width of 40mm, and a 6mm gap ... | lens_diameter = 77;
buckle_width = 40;
mount_height = 1.0;
mount_width = 4;
mount_base = 3;
mount_lip_height = 0.2;
mount_lip_width = 0.37;
mount_lip_spacing = 0.8;
mount_lip_count = 3;
buckle_gap = 6;
buckle_thickness = 6;
buckle_split = 5;
filled_buckle = false;
circle_sides = 72;
union()
{
buckle(lens_diamete... | glb/cad_0730a537755a.glb |
Create a Xiaomi camera mount with a 30-degree upward tilt. Start with a base plate 2.5mm thick. The base features four mounting holes with a diameter of 3.2mm; two front holes are spaced 28.5mm apart (center-to-center) and two rear holes are spaced 30mm apart (center-to-center), with a longitudinal distance of 48.5mm b... | camera_depth = 21.5;
back_height = 30;
front_cc = 28.5;
rear_cc = 30;
front_rear_cc = 48.5;
angle = 30;
base_thickness = 2.5;
hole_size = 3.2;
edge_margin = 3;
screw_head_size = 6;
front_offset = 10;
use_lip = "Yes";
velcro_width = 20;
velcro_thickness = 3;
hole_clearence = edge_margin+hole_size/2;
screw_... | glb/cad_702a3f73053a.glb |
Create a solid cylinder with a height of 50mm and a diameter of 14mm. Ensure the cylinder has a high facet resolution for a smooth circular profile. | $fn = 80;
difference() {
cylinder(50,14/2,14/2);
} | glb/cad_6b9086b767ad.glb |
Create a Caja Vemn promotional box for an SD card. Start by constructing a hollow cube with outer dimensions of 60mm x 60mm x 70mm and a wall thickness of 3mm. The top of the box should be open, featuring a thin rim or border 5mm high.
On the exterior of the box, create a decorative "V" pattern by removing four diagon... | pared = 3;
alto_caja = 70;
ancho_caja = 60;
alto_base_sd = 8;
alto_soporte_sd = 38;
espesor_v = 1.2;
ancho_v = 20;
alto_tapa = 5;
module caja (){
difference(){cube([ancho_caja,ancho_caja,alto_caja], center=true);
translate([0,0,pared])cube([ancho_caja-(pared*2),ancho_caja-(pared*2),alto_caja], center=true);... | glb/cad_cc33b006cd09.glb |
Create a Hinge Leaf with a height of 15mm. The main body is formed by a hull connecting a circle of diameter 17mm (calculated as the hinge diameter of 4.5mm plus twice the wall width of 4mm) and a smaller circle of diameter 4mm positioned at the end of the leaf. The leaf extends 60mm in length from the center of the hi... | height=15;
width=4;
lenght=60;
hingeD=4.5;
numberOfScrews=3;
screwD=4;
firstHoleOffset=15;
printCols=1;
printRows=3;
printSpacing=3;
showSetup="no";
hingeWithPinLock= "no";
hingeWithPinLockTop="no";
$fn=100;
module leaf(){
difference(){
union(){
linear_extrude(height=height){
... | glb/cad_4d02769e92a6.glb |
Create an i3 Bowden J-head Fan Mount designed to hold two 25mm fans. Start by constructing a base bar that is 56mm long, 8mm wide, and 3mm thick. Along this bar, create four identical fan tabs. Each tab is a composite shape formed by the hull of a 8x8x3mm cube and a cylinder with a radius of 4mm and a height of 3mm. Ev... | module fanTab()
{
difference()
{
hull()
{
translate([-4,0,0]) cube([8,8,3]);
translate([0,0,0]) cylinder(r=8/2, h=3, $fn=20);
}
translate([0,0,-5]) cylinder(r=3/2, h=10, $fn=20);
}
}
module fanMount(){
union()
{
translate([5,4,0])
fanTab();
translate([5+20,4,0])
fanTab();
... | glb/cad_9393af8b78a6.glb |
Create a batteryless expedition lamp called ExpaLight. The main body is a hollow cylinder with an outer radius of 11.75mm and a total height of 80mm. At the base, create a head section with a height of 15mm and an outer radius of 13.75mm.
Inside the main body, carve out a central cylindrical void with a radius of 9.6... | use <Thread_Library.scad>
use <MLAB_logo.scad>
use <spring.scad>
$fn=200;
CLEAR = 0.05;
perimeter = 0.43;
text2 = "";
stena_hl = 2;
stena_hlava = 1;
r_telo_in = 19.2/2;
r_telo_in_min = r_telo_in ;
r_telo_out = r_telo_in + stena_hl;
r_zavit = r_telo_in;
r_plast_in = r_telo_out + 0.5;
r_plast_out = r_plast_in + 8;
... | glb/cad_a68c464c71d9.glb |
Create a TIE-Fighter model by starting with a central sphere with a radius of 14mm. Connect this sphere to two side panels using two cylindrical arms. Each arm should be 15mm long, with one end having a diameter of 8mm and the other a diameter of 5mm; position these arms so they extend symmetrically from the center of ... | sphere(14,$fn=100,center=true);
translate([-19,0,0]) rotate([0,90,0]) cylinder(15,5,8,$fn=100,center=true);
translate([19,0,0]) rotate([0,90,0]) cylinder(15,8,5,$fn=100,center=true);
difference() {
translate([0,-14,0]) rotate([90,0,0]) cylinder(h=5,d1=15,d2=8,$fn=100,center=true);
translate([0,-16,0]) rotate([9... | glb/cad_c3a6c44bfd23.glb |
Create a TiGr Lock Bike Mount designed to fit between a bicycle's top tube and seat tube.
Start by creating a primary cylindrical clip that fits over the top tube. This clip should have an inner diameter of 29.2mm (28.7mm plus a 0.5mm inflation allowance) and a length of 25mm.
Integrate this with a second cylindric... | seat_tube_diameter = 28.9;
top_tube_diameter = 28.7;
seat_tube_angle = 74;
seat_stay_diameter = 19.1;
inflateMM = 0.5;
seat_staytube_triangle_lengths = [
125,
85,
107,
];
seat_stay_triangle_lengths = [
120,
120,
59,
];
translate([0,0,25]) rotate([0,-90,0]) tigrMount();
module tigrMount() {
difference() {
... | glb/cad_dbd91eed2a14.glb |
Create a Tiny Cabinet storage system consisting of a main outer shell and four matching drawers.
Construct the cabinet shell as a rectangular box with a height of 82mm, a depth of 80mm, and a width of 50mm. The shell has a wall thickness of 1mm for the top, bottom, and outer sides. Hollow out the interior to create a... | ShowAll = 1;
DoCabinet = 0;
CabinetHeight = 82;
CabinetDepth = 80;
CabinetWidth = 50;
HeightD = 20;
FBdividers = 0;
LRdividers = 0;
NumCabs = 4;
phi = 1.61803399;
SpaceH = 1;
SpaceV = 1;
SpaceVF = .5;
SupportThick = 1.5;
SupportWidth = 2.5;
SupportSpace = 20;
WallC = 1;
TopC = 1;
BotC = 1;
WallD = 1;
WidthC = Cabine... | glb/cad_18c664271a35.glb |
Create a procedural ship model. The main body is a boat hull with a length (LOA) between 900mm and 2000mm. The hull should be tapered, with a wider beam at the center and narrowing toward the bow and stern. The bottom of the hull follows a keel line that curves upward toward the bow.
The hull's sides are constructed w... | part=1;
LOA=rnd(900,2000);
Stern=LOA*rnd(-0.1,0.3);
Bow=LOA*rnd(-0.1,0.3);
Beam=LOA*rnd(0.05,0.3);
BeamHeight=min(Beam*rnd(0.4,1),LOA*0.1);
SternHeight=BeamHeight*rnd(0.9,3);
BowHeight=max(SternHeight*rnd(0.9,2),BeamHeight*rnd(0.9,3));;
KeelBase=LOA-Stern-Beam;
KeelLine=[
[0,0,0],
[KeelBase*rnd(0.0,0.3),0,-KeelBase*r... | glb/cad_0677e5bef190.glb |
Create an adjustable mechanical Z limit actuator. Start with a main body formed by the union of a cylinder with a radius of 5.5mm and a rectangular block measuring 11mm wide by 15.5mm deep, both with a height of 7mm.
Subtract a central vertical hole with a radius of 4mm that passes completely through the height of th... | mainHole=8;
nutThickness=2.5;
actuatorRadius=1.6;
nutCorners=6.5;
minWallT=1.5;
slotWidth=mainHole*0.3;
zThickness = nutCorners+2*minWallT;
difference(){
union(){
translate([-mainHole/2-minWallT,-(mainHole/2+zThickness),0])
cube([mainHole+minWallT*2,mainHole/2+zThickness,zThickness]);
cylinder(r=mainHole/2+min... | glb/cad_5d1aeca77f87.glb |
Create a 3D Google Chrome logo consisting of a hollowed-out hemisphere with a diameter of 50mm. The model is divided into four interlocking parts: three identical outer wedges and one polar cap.
First, create the main spherical shell. The outer radius is 25mm, and the inner void is a cylinder with a diameter of 23mm. ... | use <Thread_Library.scad>
OUTER = 50;
INNER = 23 * OUTER / 50;
CAP_RATIO = 0.60;
HEMISPHERE = true;
CAP_WALL = 3.0 * OUTER / 50;;
RING_WIDTH = 2.0 * OUTER / 50;
SQUASH = 1.0;
GAP = 0.5;
PITCH = 3 * OUTER / 50;
PART = "red";
E = 0.01;
module sphereoid(size, squash=SQUASH) {
scale([1, 1, squash])
difference() {... | glb/cad_ffe978d48b11.glb |
Create a Pokemon Card Game Box designed to hold a 60-card sleeved deck and accessories. The main body is a rectangular container with an outer footprint of approximately 73mm by 96mm and a total height of 32mm. The walls are 1.5mm thick.
The interior features two primary compartments. The main card cavity is 67mm wide... | outside();
$fn = 50;
deckWidth = 65+2;
deckHeight = 90+2;
deckThickness = 28+0.5;
deckCornerR = 0;
coinDia = 34.25;
coinThickness = 2.5;
wall = 1.5;
compartmentWidth = 40;
compartmentHeight = 60;
compartmentDepth = 4;
lidClearance = 0.5;
sideHoleR = 12;
detentR = 1;
detentOffset = deckWidth/2+wall;
detentWidth ... | glb/cad_135e26131f2e.glb |
Create a chair caster consisting of a central body, a mounting peg, and a wheel.
First, construct the main body as a cylinder with a diameter of 38mm and a height of 26mm. To this body, add a splash guard that is a semi-circular shell; create a cylinder with a radius of 27.8mm and a thickness of 4.5mm (outer radius 3... | $fn=30;
module peg(){
translate([0,0,57]){
translate([0,0,3.3]){
translate([0,0,13.7]){
translate([0,0,2.2]){
translate([0,0,4])scale([11,11,4])sphere(d=1);
cylinder(d=11,h=4);
}
cylinder(d=8,h=2.2);
... | glb/cad_7d5854361ac5.glb |
Create an appliance knob by starting with a main cylindrical body that has a radius of 22mm and a total height of 17mm. The top of this cylinder should be shaped into a smooth dome with a radius of 40mm and a height of 8mm. To create the grip, integrate a rectangular block measuring 42mm in length, 10.67mm in width, an... | knobRadius=22;
shaftRadius=3.2;
gripHeight=17;
gripLength=42;
gripWidth=shaftRadius*10/3;
domeRadius=knobRadius/11*20;
domeHeight=domeRadius/5;
difference()
{
union()
{
intersection()
{
translate([0,0,domeHeight-domeRadius])sphere(r=domeRadius,center=true,$fn = 100);
translate([0,0,50])cylinder(r=knobRad... | glb/cad_d3b30e308882.glb |
Create a Tactile Bits model consisting of a series of binary representations arranged in a grid. For each binary number, create a row of 4 cells. Each cell is a cube with a side length of 8mm. If a bit is "1", the cell remains a solid 8mm cube. If a bit is "0", the cell becomes a hollow shell created by removing a smal... | include <boolean.scad>
joinfactor = 0.00001;
display_1_8();
module display_1_8()
{
scale([8,8,8])
{
for (number = [0:8])
{
translate([0, 1.2*number, 0])
display_binary(number = number, bits = 4, withplate=true);
}
}
}
module display_binary(number, bits)
{
side = 1;
gap = 0.1;
for (pos = [0:bits-... | glb/cad_132a2b933fe9.glb |
Create a base for a hand-cranked flashlight. Start with a rectangular base plate measuring 92mm by 95mm with a thickness of 3mm. On this plate, construct two symmetrical support structures. Each support is formed by the convex hull of three cylinders, each with a radius of 4mm and a height of 3mm, positioned at the ori... | module sostegno_sx()
{
difference()
{
union()
{
hull()
{
cylinder(3,4,4);
translate([-15,30,0])cylinder(3,4,4);
translate([-48,0,0])cylinder(3,4,4);
}
hull()
{
cylinder(3,4,4);
translate([15,30,0])cylinder(3,4,4);
translate([36,0,0])cylinder(3,4,4);
}hull()
{
translate([0,32,0])cylinder(8,12,12);
transl... | glb/cad_3a8e782b1942.glb |
Create a webcam mount for a display by constructing a base frame and a supporting peg. First, create a U-shaped bracket consisting of two parallel bars, each 9mm wide and 25mm long, connected by a 2mm thick crossbar. The interior gap between these bars must be 47mm to accommodate the display thickness. Connect these ba... | displayThickness = 43;
displayTop = 7;
webcamBaseMax = 25;
webcamBaseMin = 21;
webcamThickness = 3.8;
height=14;
cube([displayTop+2, 2, webcamBaseMax]);
hull() {
translate([displayTop,0,0]) {
cube([2, displayThickness+2+2, webcamBaseMax]);
}
translate([displayTop+height,(displayThickness+2)/2-2,0]... | glb/cad_773fd8766a89.glb |
Create a set of aluminum tubing marking templates. Each template is a thin rectangular plate 1mm thick.
For the first template, create a plate 101.6mm long by 25.4mm wide. On the top surface, emboss the text "4026" with a height of 0.5mm. Along the top edge, add a guide rail 1mm thick and 4mm high. Cut narrow slots 1... | use <MCAD/boxes.scad>;
thick = 1;
in = 25.4;
length = 2*in;
width = .5*in;
spacing = (1/8)*in;
crossSize = (1/4)*in;
lineWidth = 1;
module tickmarks(length=1, spacings=[1], unit=1, lineWidth=1) {
for (i=[0 : len(spacings)-1]) {
divs = length/(spacings[i]*unit);
for (d=[1 : divs-1]) {
... | glb/cad_ad0d86b2f89d.glb |
Create a Metric Screw Knob with a total height of 40mm. The main body is a cylinder with a maximum radius of 25mm and a minimum radius of 12mm. The base features a chamfer of 1.3mm. The central holder section has a height of 10mm.
At the center, create a vertical hole with a diameter of 8.6mm (based on an ISO 8 head p... | headIso=8;
headHeight=7.5;
maxRadius=25;
minRadius=12;
maxRadiusChamfer=1.3;
maxHeight=40;
holderHeight=10;
numberOfCuts=5;
cutRadius=12;
cutOffset=8;
holderChamfer=10;
screwHeadSafetyHeight=6;
tolerance=0.3;
$fn=100;
module knob(numberOfCuts=7,maxRadius=25,minRadius=10,maxRadiusChamfer=1.5,
maxHeight... | glb/cad_e6e640145d90.glb |
Create a Ring Adapter for a Lapel Button by constructing a thick circular band with an outer radius of 13.5mm and an inner hole radius of 9.5mm. The band should have a total height of 100mm, but it must be clipped so that only a thin slice remains, resulting in a ring with a vertical thickness of approximately 10mm. To... | fingerWidth=19;
translate([0,0,5])
rotate(-10,[0,1,0])
intersection()
{
difference()
{
union()
{
cylinder(r=fingerWidth/2+4,h=16,center=true,$fn = 100);
translate([(fingerWidth/2+4)/2,0,0])
cube(size = [fingerWidth/2+4,fingerWidth+8,50], center = true);
translate([fingerWidth/2+8,0,0])cube(size = [5... | glb/cad_dbfa74b14f25.glb |
Create a Ring Adapter for a Lapel Button. Start by constructing a hollow ring with an inner diameter of 20mm and an outer diameter of 28mm, with a total thickness of 5mm. The ring should be centered on the origin. To create the adapter section, integrate a rectangular block into one side of the ring. This block should ... | fingerWidth=20;
angle=7;
meanThickness=5;
translate([0,0,meanThickness/2])
rotate(-angle,[0,1,0])
intersection()
{
difference()
{
union()
{
cylinder(r=fingerWidth/2+4,h=16,center=true,$fn = 100);
translate([(fingerWidth/2+2)/2,0,0])
cube(size = [fingerWidth/2+2,fingerWidth+8,50], center = true);
tr... | glb/cad_a09ed570c0bb.glb |
Create a Ring Adapter for a Lapel Button by constructing a circular band with a thickness of 8mm. Start with a main outer cylinder that has a radius of 14mm and a height of 100mm, centered on the origin. Remove a smaller concentric inner cylinder with a radius of 10mm and the same height to create a hollow ring with a ... | fingerWidth=20;
angle=6;
meanThickness=8;
translate([0,0,meanThickness/2])
rotate(-angle,[0,1,0])
intersection()
{
difference()
{
union()
{
difference()
{
cylinder(r=fingerWidth/2+4,h=16,center=true,$fn = 100);
translate([fingerWidth/2+6,0,25])cube(size = [10,50,50], center = true);
translate(... | glb/cad_992282d76d18.glb |
Create a "Find your thing" clip by constructing a hollow cylindrical ring with an inner diameter of 10mm, a wall thickness of 2mm, and a height of 3mm. To create the clip opening, remove a V-shaped wedge from the ring. This cutout should be centered on the vertical axis and defined by an opening angle of 64 degrees, wi... | diameter = 10;
thickness = 2;
length = 3;
angle = 64;
cutout = diameter*2;
difference() {
rotate_extrude($fn=200)
translate([diameter/2,0,0])
square([thickness, length]);
translate([0,0,-1])linear_extrude(height=length*2)
polygon([[0,0],[sin(angle/2)*cutout,cos(angle/2)*cutout],[-sin(angle/2)*cu... | glb/cad_b306abe548b6.glb |
Create a base for a Magnum Pepper Grinder by constructing a thick, low-profile cylinder with a diameter of 60mm and a height of 10mm. Inside this main cylinder, remove a smaller concentric cylinder to create a hollow well. This inner void should have a diameter of 55mm and a depth of 5mm, positioned so that it starts 5... | magnumDiameter = 55;
wallThickness = 5;
baseHeight = 10;
baseOffset = wallThickness;
module pepperBase (diameter) {
baseDiameter = diameter + wallThickness;
difference() {
cylinder(baseHeight, baseDiameter / 2, baseDiameter / 2, false);
translate([0,0,baseOffset]) cylinder(baseHeight, diamete... | glb/cad_6405cfee1215.glb |
Create a game component organizer consisting of a flat rectangular base and several vertical dividers. Start with a base plate measuring 190mm by 94mm with a thickness of 2mm.
On this base, construct a central rectangular compartment for game aids. This area is defined by two parallel walls running along the length o... | largeur_boite = 190;
longueur_boite = 190;
longueur_tuile = 88;
largeur_tuile = 88;
longueur_carte_perso = 41;
largeur_carte_perso = 41;
nb_cartes_perso = 28;
longueur_aide_jeu = 180;
largeur_aide_jeu = 42;
nb_aide_jeu = 6;
nb_tuiles = 30;
epaisseur_tuile = 2.3;
epaisseur = 2;
longueur_socle_pion = 15;
largeur_socle_pi... | glb/cad_16db8bd95d0b.glb |
Create a control knob for a 6mm potentiometer. Start by constructing a main cylinder with a diameter of 21mm and a height of 10.5mm. Center a vertical hole with a diameter of 7.6mm through the bottom of this cylinder, extending it to a height of 2.9mm. At the base, add a smaller cylinder with a diameter of 16mm and a h... | difference(){
translate([0,0,2]) cylinder(16,10.5,9,$fn=100);
translate([0,5,19.5]) sphere(2, $fn=100);
translate([0,0,-1]) cylinder(7.6,2.9,2.9,$fn=100);
for (i = [0 : 0.4 : 6]) {
distance=9.6;
translate([sin(360*i/6)*distance, cos(360*i/6)*distance, 11 ])
cylinder(16,1,1,$fn... | glb/cad_a526097b90a7.glb |
Create a dual spool holder consisting of a rectangular base and two symmetrical A-frame supports. The base is a flat plate with a total width of 10mm and a length of 227.9mm, featuring a central rectangular cutout.
Construct two identical support frames. Each frame is a mirrored triangle with a base width of 150mm and... | spool_spacer=1;
spool_roll_length=81;
spool_roll_diameter=15;
spool_roll_wall_thickness=2;
spool_roll_screw_diameter=3;
spool_roll_screw_depth=15;
spool_roll_screw_head_diameter=6.5;
spool_roll_screw_head_thickness=3.2;
bearing_diameter=10.5;
bearing_thickness=4;
bearing_holder_height=20;
bearing_holder_width=20;
trian... | glb/cad_7c6e22d37249.glb |
Create two identical spool adapters for a dual spool rack. Each adapter should be a hollow cylinder with an outer diameter of 36mm and a total length of 78mm. Create a central longitudinal hole through the entire length of each cylinder with a diameter of 16mm to form a thick-walled tube. Ensure the cylinders have smoo... | inner_diameter=16;
outer_diameter=36;
length=78;
translate ([-outer_diameter/2-0,-outer_diameter/2-0,0]) spool_adapter ();
translate ([outer_diameter/2+0,outer_diameter/2+0,0]) spool_adapter ();
module spool_adapter () {
difference () {
cylinder (d=outer_diameter,h=length,$fn=150);
translate ([0,0... | glb/cad_a4389f1ce36d.glb |
Create two identical spool holder adapters. Each adapter is a hollow cylinder with an outer diameter of 52.5 mm, an inner diameter of 37 mm, and a total height of 78 mm. The walls should be smooth and uniform throughout the length of the cylinder. | inner_diameter=37;
outer_diameter=52.5;
length=78;
translate ([-outer_diameter/2-0,-outer_diameter/2-0,0]) spool_adapter ();
translate ([outer_diameter/2+0,outer_diameter/2+0,0]) spool_adapter ();
module spool_adapter () {
difference () {
cylinder (d=outer_diameter,h=length,$fn=150);
translate ([0... | glb/cad_83d426cbff3b.glb |
Create a vacuum attachment adapter consisting of two identical mirrored ports joined at their bases. For each port, create a hollow tapered cylinder with a height of 25.4mm. The outer diameter should taper from 38.1mm at the base to 36.5375mm at the top. The inner cavity should be a concentric taper starting at a diame... | in = 25.4*1;
hose_id = 1.25 * in;
hose_id_min = hose_id - 1/16 * in;
hose_od = 1.5 * in;
hose_od_min = hose_od - 1/16 * in;
port_id = hose_id_min;
port_height = 1 * in;
case_wall = 1/16 * in;
plate_width = 3/16 * in;
pin_width = 1/4 * in;
tolerance = 1/64 * in;
fn = 120;
radius = hose_od/PI*2 + case_wall;
mod... | glb/cad_4fcdfa4cedb8.glb |
Create a Rubik's 3x3x3 O-type Square-3 puzzle. The model is based on a cubie size of 20mm. Construct the main body as a 3x3 grid of cubies, with a total outer dimension of 60mm per side. Each cubie should have rounded edges with a radius of 1mm.
The internal mechanism consists of rotating core elements. Create a centr... | cub=20;
ri=cub;
gap=.2;
re=1;
mx=5;
mz=4;
faces=.5;
hookm=[
[ 0, 0],
[ 2*mx, 0],
[ 2*mx, 2*mz],
[ mx, 2*mz],
[ mx, mz],
[ 0, mz],
[ ... | glb/cad_814c989847ab.glb |
Create a dual grip arm for cylindrical objects consisting of an arc-shaped base and two torch holder assemblies.
First, create the arm arc: a squashed cylinder with a diameter of 120mm and a height of 10mm. Remove a concentric inner cylinder with a diameter of 110mm and two smaller cylinders with a diameter of 6.5mm ... | $fn=150;
torch_holder_diameter=31;
torch_holder_width=15;
torch_holder_thickness=2;
torch_holder_top_height=15;
torch_holder_lock_screw_diameter=4.0;
torch_holder_lock_tab_length=15;
torch_holder_lock_tab_thickness=2;
torch_holder_spin_shaft_length=13;
torch_holder_spin_screw_diameter=5;
torch_holder_spin_screw_length=... | glb/cad_6ee8c7a8092d.glb |
Create a parametric pulley for a beaded chain. Start with a central cylinder 10mm thick and with a radius of approximately 26.75mm, centered on the origin. Add a secondary cylindrical shaft holder on top of this main body with a diameter of 20mm and a height of 7mm. Bore a 5mm diameter hole through the center of both c... | bead=4.5;
wire=2;
spacing=12;
n=10;
ramp=3;
shaft_dia=5;
holder_dia=20;
holder_h=7;
thickness=10;
umf=(bead+spacing)*n;
ra=umf/(2*3.14159);
echo("Radius: ", ra, "mm");
pulley();
module ramps() {
translate(v=[0,0,thickness/2])
rotate_extrude(convexity = 10,$fn=50)
translate(v=[ra+wire/4-0.1,0,0]) polygon... | glb/cad_a3fc42590c96.glb |
Create a bed cable suspension bracket consisting of a flat base and a vertical stabilizing fin. Start with a flat, circular base with a diameter of 30mm and a thickness of 2mm. In this base, place a 4mm diameter hole centered 6mm from the outer edge.
From the edge of the base, extend a tapered arm that narrows from t... | wall=2;
wide_end_diameter=30;
narrow_end_diameter=8;
screw_to_PSU_length=13;
free_end_length=30;
orthogonal_bit_height=20;
screw_hole_diameter=4;
screw_hole_distance=6;
spring_hole_diameter=2;
spring_hole_distance=3;
taper_length=screw_hole_distance+screw_to_PSU_length+free_end_length-wide_end_diameter/2-narrow_end_dia... | glb/cad_d14fbf95f56c.glb |
Create a cable organizer consisting of a flat back plate and a series of protruding arms. The back plate is 32mm high, 2mm thick, and has a total length determined by 9 slots and 10 arms.
The arms are each 12mm wide and 7mm apart. Each arm extends from the back plate to a total depth of 75mm. The first section of the... | Height = 32;
BackThickness = 2;
Depth = 75;
FilletRadius = 6;
ArmThickness = 2;
ArmWidth = 12;
AngleDegrees = 45;
AngledLength = 5;
SlotWidth = 7;
SlotCount = 9;
$fn = 50;
HoleStyle = 1;
BoltDiameter = 4;
BoltHeadDiameter = 8;
BoltCount = 3;
Support_length=30;
Support_height=20;
Support_strength=1.5;
... | glb/cad_72955dbd01f1.glb |
Create a Fitbit Charge Loop by starting with a sphere that is scaled by a factor of 2.5 along the X-axis to create a prolate spheroid with a radius of 6.5mm. From this base shape, remove a central rectangular volume measuring 21.8mm in length, 15mm in width, and 7.2mm in height, centered at the origin. Additionally, re... | $fn = 50;
difference() {
translate([0,0,0]) {
scale([2.5,1,1]) {
sphere(6.5);
}
}
translate([0,0,0]) {
cube([21.8,15,7.2],true);
}
translate([15,0,0]) {
cube([5,15,15],true);
}
translate([-15,0,0]) {
cube([5,15,15],true);
}
} | glb/cad_b2ba05e1c8e0.glb |
Create a tripod spare part consisting of a central vertical assembly. Start with a sphere 26mm in diameter. Attach a cylinder to the bottom of the sphere with a diameter of 26mm and a height of 18mm. Inside this lower cylinder, create a concentric hole with a diameter of 23.6mm and a height of 19.6mm.
At the bottom o... | $fn=90;
module torus(hr,rr)
{
rotate_extrude()
translate([hr-rr,0,0])
circle(r=rr,center=true);
}
difference(){
union(){
sphere(d=26);
translate([0,0,-(31-26/2)/2]){
cylinder(d=26,h=31-26/2,center=true);
cylinder(d=23.6,h=31-26/2+1.6,center=true);
}
translate([0,9,-18]){... | glb/cad_9e8f2e97948b.glb |
Create a tripod spare part consisting of a main body with a central vertical hole. Start with a central cylinder 15.6mm in diameter and 30mm high. Surround this with a larger outer structure formed by a hull connecting a 27mm diameter cylinder 6mm high at the base, a torus with a 13.5mm major radius and 1mm minor radiu... | $fn=90;
module torus(hr,rr)
{
rotate_extrude()
translate([hr-rr,0,0])
circle(r=rr,center=true);
}
module nuthole(h,rh)
{
for (aa=[-60,0,60])
rotate([0,0,aa])
cube([rh,rh*0.567,h],center=true);
}
difference(){
union(){
hull(){
translate([0,0,3])
cy... | glb/cad_6a0ea48645e1.glb |
Create an inert atmosphere irradiation chamber consisting of a base holder and a removable insert.
First, construct the slide holder base. Create a rectangular block with dimensions 29.5mm x 26.9mm x 6mm. Subtract a central rectangular cavity measuring 27.1mm x 22.3mm with a depth of 4mm, leaving a wall thickness of ... | slide_x=25.7;
slide_y=22.9;
slide_window_x=slide_x-4;
slide_window_y=slide_y-4;
slide_cavity_x=slide_x+1.5;
slide_cavity_y=slide_y+1.5;
slide_cavity_depth=4;
wall_thickness=2;
slide_holder_x=slide_cavity_x+2*wall_thickness;
slide_holder_y=slide_cavity_y+2*wall_thickness;
slide_holder_z=slide_cavity_depth+wall_thickness... | glb/cad_2d6c9d01305b.glb |
Create an inert atmosphere irradiation chamber consisting of a bottom slide holder and a top insert.
For the bottom holder, create a rectangular block with overall dimensions of 80mm x 30mm x 6mm. Carve out a central cavity for a microscope slide measuring 77.5mm x 27.5mm x 4mm, leaving a wall thickness of 2mm. Withi... | slide_x=76;
slide_y=26;
slide_window_x=slide_x-4;
slide_window_y=slide_y-4;
slide_cavity_x=slide_x+1.5;
slide_cavity_y=slide_y+1.5;
slide_cavity_depth=4;
wall_thickness=2;
slide_holder_x=slide_cavity_x+2*wall_thickness;
slide_holder_y=slide_cavity_y+2*wall_thickness;
slide_holder_z=slide_cavity_depth+wall_thickness;
co... | glb/cad_6f8214c299fc.glb |
Create a Warp-Test and Logo model by combining a cube and a cylinder. Start with a cube that is 30mm wide, 30mm deep, and 10mm high. In the same position, add a cylinder with a radius of 30mm and a height of 10mm. The cylinder should be positioned so that its center aligns with the corner of the cube, resulting in a co... | diameter=60;
height=10;
union(){
cube([diameter/2,diameter/2,height]);
cylinder(r=diameter/2,h=height);
} | glb/cad_518bbca42711.glb |
Create a Garden Hose Quick Connector centered on a vertical axis. Start with a central hollow core consisting of a cylinder with a radius of 4.5mm and a height of 29mm. Build the outer body using a series of stacked cylinders: a base cylinder with a radius of 14.5mm and height of 2.88mm, followed by a cylinder with a r... | $fn = 20;
module snap_connector(){
difference() {
union() {
translate([0,0,25]) cylinder(h=1.5, r=15.7/2);
translate([0,0,20]) cylinder(h=3.2, r=15.7/2);
translate([0,0,19]) cylinder(h=3, r=17/2);
translate([0,0, 6]) cylinder(h=2.88, r=19.5/2);
cylinder(r=13/2, h=28);
cylinder(h=2.88, r=29/2);
... | glb/cad_49230356f7b9.glb |
Create a vial holder for a magnetic stirrer consisting of a main base plate and separate adapters.
First, construct the main plate. Create a hollow cylinder with an outer diameter of 137mm, an inner diameter of 135mm, and a total height of 22mm. The walls should be 2mm thick. Within this structure, create a central c... | tolerance=1;
wall=2;
small_vial_diameter=23.3;
large_vial_diameter=28;
mini_vial_diameter=17.3;
hotplate_diameter=135;
surround_width=15;
support_width=large_vial_diameter+2*wall;
vial_cylinder_height=10;
off_center_distance=33;
stabiliser_height=10;
stabiliser_gap=hotplate_diameter/2;
adapter_extra_height=5;
mini_adap... | glb/cad_42a50cf27f32.glb |
Create a vial holder for a magnetic stirrer. Start by constructing a main circular base plate with an outer diameter of 139mm and a total height of 20mm. The base is a hollow cylinder with an inner diameter of 135mm and a wall thickness of 2mm.
Within this base, create eight circular recesses to hold large vials. Eac... | tolerance=1;
wall=2;
small_vial_diameter=23.3;
large_vial_diameter=28;
mini_vial_diameter=17.3;
hotplate_diameter=135;
surround_width=15;
support_width=large_vial_diameter+2*wall;
vial_cylinder_height=10;
off_center_distance=42;
stabiliser_height=10;
stabiliser_gap=hotplate_diameter/2;
adapter_extra_height=5;
mini_adap... | glb/cad_99a39c5c3630.glb |
Create a vial holder for a magnetic stirrer consisting of a main base plate and several removable adapters.
First, construct the main plate as a hollow cylinder with an outer diameter of 139mm and a total height of 22mm. The base should have a wall thickness of 2mm. Remove a central cylindrical core of 135mm diameter... | tolerance=1;
wall=2;
small_vial_diameter=23.3;
large_vial_diameter=28;
mini_vial_diameter=17.3;
hotplate_diameter=135;
surround_width=15;
support_width=large_vial_diameter+2*wall;
vial_cylinder_height=10;
off_center_distance=33;
stabiliser_height=10;
stabiliser_gap=hotplate_diameter/2;
adapter_extra_height=5;
mini_adap... | glb/cad_e2e2e147a534.glb |
Create a vial holder for a magnetic stirrer consisting of a main plate and several removable adapters.
First, construct the main plate as a hollow cylinder with an outer diameter of 137mm and a height of 22mm. The wall thickness is 2mm. Remove a central core of 135mm diameter from the bottom, leaving a 2mm thick circ... | tolerance=1;
wall=2;
small_vial_diameter=23.3;
large_vial_diameter=28;
mini_vial_diameter=17.3;
hotplate_diameter=135;
surround_width=15;
support_width=large_vial_diameter+2*wall;
vial_cylinder_height=10;
off_center_distance=52;
off_center_inner_distance=22;
inner_offset_angle=0;
stabiliser_height=10;
stabiliser_gap=ho... | glb/cad_d5d67d58f6d1.glb |
Create a test lead hanger starting with a rectangular base measuring 180mm in length, 40mm in width, and 5mm in thickness. Hollow out the center of this base by removing a smaller rectangle from the middle, leaving a 5mm wide border around the perimeter.
Along both the front and back 180mm edges of the base, add a ser... | base_length=180;
base_width=40;
base_thickness=5;
base_arm_width=5;
prong_width=10;
prong_thickness=2.5;
prong_length=30;
prong_interval=5;
prong_angle=10;
screw_width=4.5;
screw_cylinder_inner_diameter=8.5;
screw_cylinder_outer_diameter=11;
screw_cylinder_base_thickness=2;
screw_count=3;
screw_arm_width=5;
screw_arm_t... | glb/cad_bf9512e410e0.glb |
Create a thermal water barrier consisting of a central slide holder and two water block connectors.
Start with a rectangular slide holder block measuring 82mm x 32mm x 5mm. Carve a central window cavity of 68mm x 18mm x 5.2mm through the center. Inside the remaining walls, create a continuous seal groove 2mm wide and... | slide_x=76;
slide_y=26;
slide_z=1;
slide_size_tolerance=+1;
slide_window_x=slide_x-8;
slide_window_y=slide_y-8;
wall_thickness=3;
slide_holder_x=slide_x+wall_thickness*2;
slide_holder_y=slide_y+wall_thickness*2;
slide_holder_z=5;
wall_to_window_x=wall_thickness+(slide_x-slide_window_x)/2;
wall_to_window_y=wall_thicknes... | glb/cad_c8c68b9983cd.glb |
Create a lens cap for a fisheye lens by constructing a hollowed-out tapered cylinder. Start with a solid outer cylinder that has a height of 15mm, a bottom radius of 30.85mm, and a top radius of 30.7mm. Inside this shape, remove a concentric tapered cylinder to create a wall thickness of 1.5mm and a base thickness of 2... | tolerance=0.5;
dia=60.7+tolerance;
diatop=60.4+tolerance;
epaisseur=2;
paroi=1.5;
hauteur=15;
module cap() {
difference() {
cylinder(r1=dia/2+paroi,r2=diatop/2+paroi,h=hauteur,$fn=128);
translate([0,0,epaisseur]) cylinder(r1=(dia/2),r2=(diatop/2),h=hauteur,$fn=128);
}
}
cap(); | glb/cad_243d978a0e53.glb |
Create a name tag that consists of a rectangular base with a rounded attachment end. Start by creating a rectangular block 125mm long, 35mm wide, and 3mm thick. Hollow out the center of this block by removing a smaller rectangular section 123mm long, 33mm wide, and 1.5mm deep, leaving a thin outer rim. At one end of th... | rotate([0,0,90]) {
translate([-20,-176,0]) {linear_extrude(file="/Users/misan/Dropbox/3D/carmen.dxf", convexity=10, height=4.5);}
difference() {
cube(size=[125,35,3], center=false);
translate([1,1,0]) {cube(size=[123,33,1.5], center=false);
}
}
difference() {
difference() {
translate([0,17.5,0]) {
cylinder(r=10, h=3);... | glb/cad_1b0b167a0afa.glb |
Create a Wismec Reuleaux RX200/DNA200 cup holder insert by starting with a solid cylinder 66mm in diameter and 45mm tall. From the center of this cylinder, remove a vertical hexagonal prism with a height of 45mm to create a hollow core. The hexagonal cutout should be positioned such that its vertices are defined by a p... | $fn=100;
difference() {
translate([33,33,0])
linear_extrude(45)
circle(33);
translate([10,7,8])
linear_extrude(45)
polygon([[11,0],[1.25,25],[11,52],[34,52],[43.75,25],[34,0],[11,0]]);
} | glb/cad_dac7e0c28c7d.glb |
Create an Advanced Word Pen consisting of a main pen body and a separate fitted cap.
For the pen body, create a rounded rectangular profile with a thickness of 7mm. The body begins with a conical tip section that transitions into a main cylindrical shaft of 7mm diameter. The total length of the body should scale to f... | use <MCAD/fonts.scad>
wordpen(mode=object);
object=1;
word = "Pentastic";
helper_tabs=1;
tip_diameter = 2.4;
inner_diameter = 3.4;
inner_length = 140;
pen_thickness = 7;
lid_length = 30;
tolerance=0.2;
font_scale = 2.1;
font_spacing = 0.81;
top_offset=1.2*1;
font_height = pen_thickness + 1.5;
the_font = 8b... | glb/cad_a3ea8b21c0d2.glb |
Create a pair of cufflinks consisting of a decorative top and a base.
For the top piece, create a rectangular block 7.5mm wide, 20mm long, and 7.5mm high. Center a cylindrical stem protruding from the bottom of the block; the stem must be 12mm long with a radius of 2mm. Engrave the text "A.S" to a depth of 2.5mm on t... | showtop=true;
showstem=true;
showbottom=true;
toptext="A.S";
side1text="A.S";
side2text="A.S";
bottomheight = 4;
bottomradius=5.65;
stemlength=12;
stemradius=2;
holeradius =stemradius+0.15;
topx=7.5;
toplengthy=20;
notchlength = 4;
topz=7.5;
textdepth=2.5;
distancebetweenparts=15;
$fn=100;
module bottom()
{
tran... | glb/cad_db5f569acb9e.glb |
Create a procedural toy vehicle consisting of a main body, a cabin, and a cargo area.
Start with a rectangular base body approximately 100mm long and 40mm wide. At the front, add a cabin that is slightly narrower than the body and taller, with a rounded front face. Behind the cabin, construct a large rectangular carg... | part=1;
fwd=rnd(30,50);
war=[fwd,fwd,fwd,fwd,fwd,fwd,fwd,fwd,fwd,fwd+fwd*floor(rnd(0,2))];
rwd=war[floor(srnd(0,9))];
tw=rnd(40,60) ;
l=max(rwd*1.5+fwd*1.5,srnd(tw*2.5,350))-abs(rwd-fwd)*4;
h=min(tw*2,(srnd(0,tw)+l*0.2))+abs(rwd-fwd);
cabl=max(tw*1.5,srnd(tw,l*abs(rnd(-0.99,0.99)))-l*0.2);
cabw=tw*srnd(0.8,1)+abs(rw... | glb/cad_ad6ebda01925.glb |
Create a Desktop Whiteboard Stand consisting of a weighted base and a vertical support. Start by constructing the base from two stacked, flattened oval-like sections. The first section is a 2mm thick slab created by the hull of two 30mm diameter circles centered 120mm apart, rotated 45 degrees relative to each other to... | $fn=50;
baseWidth = 30;
baseRadius = 60;
baseAngle = 45;
buildBase(2, 1);
translate([0,0,1.9]) buildBase(3.1,0.85);
translate([0,-7,42]) rotate([-90,0,0]) buildSupport();
module buildBase(baseHeight,inScale){
linear_extrude(baseHeight, scale=inScale){
rotate([0,0,baseAngle]){
hull(){
... | glb/cad_113196b79ddc.glb |
Create a 10W LED Night Lamp base with an outer shell measuring 75.5mm in width, 70.3mm in depth, and 30.35mm in height. The shell has a wall thickness of 2mm. The main body is a hollowed-out rectangular prism with rounded corners of 8mm radius.
Inside the base, place four cylindrical pillars with an outer radius of 5.... | zHeight = 32 - 1.65;
xWidth = 75.5;
yDepth = 70.3;
wallThickness = 2.0;
strutHeight = 12;
strutThickness = 1.5;
holeDist = 46;
washerThickness = 0.5;
module holeSpacing(spacing)
{
translate([14.5,12.2,0])
for(i = [0,1])
{
for (j = [0,1])
{
translate([i*spacing,j*spacing,0])
children();
}
}
}
diffe... | glb/cad_a345f2f4080f.glb |
Create a keyboard support shaped as a right-angled wedge. Start by defining a trapezoidal profile in the XY plane with four vertices: (0, 0), (3, 0), (23, 140), and (0, 140), where all dimensions are in millimeters. Extrude this profile linearly along the Z-axis to a total width of 100mm, centering the extrusion so it ... | support_base_height = 3;
support_rise_by = 20;
support_width = 100;
support_depth = 140;
rotate(a=[90, -90, 0])
linear_extrude(height = support_width, center = true, convexity = 10, twist = 0)
polygon(points=[
[0, 0],
[support_base_height, 0],
[support_base_height + support_rise_by, support_depth],
[0, support... | glb/cad_1fbe934a2691.glb |
Create a simplified Duplo track section with a total length of 128mm and a total width of 64mm. Start by placing two parallel rails, each 128mm long, 2mm wide, and 7mm high. Position these rails so they are centered along the length and separated by a gap of 28mm. Beneath these rails, add two flat base pads that are 12... | pad_height = 6;
rail_height = 7;
in_height = 10;
in_width = 28;
full_length = 128;
full_width = 64;
endtie_width = 16;
midtie_width = 16;
pad_width = 9;
rail_width = 2;
between_teeth = 15.9;
rail_sz=[full_length, rail_width, rail_height];
pad_sz=[full_length, pad_width+rail_width, pad_height+1];
Rail();
module Tooth... | glb/cad_00b6ffe3f137.glb |
Create a curved track section for a construction toy system. The overall shape is a curved segment with a 30-degree arc and a midline radius of 260mm.
The base consists of two concentric curved rails. The inner rail is defined by a width of 2mm and a height of 13mm (6mm base height plus 7mm rail height). The outer rai... | full_angle = 30;
mid_radius = 260;
pad_base_height = 6;
pad_thickness = 1;
rail_height = 7;
in_height = 10;
in_width = 28;
full_width = 64;
pad_width = 9;
rail_width = 2;
between_teeth = 15.9;
endtie_angle = 30*(16/128);
midtie_angle = 30*(16/128);
Rail();
module Tooth(big) {
to_center = 8;
cube_width = big... | glb/cad_831b5ebea038.glb |
Create a cooling fan nozzle for a 40mm fan. Start with a square baseplate measuring 40mm by 40mm with a thickness of 2mm. At each of the four corners, create a circular screw hole with a radius of 1.75mm, positioned 3.75mm from the edges of the baseplate. In the center of the baseplate, create a circular cutout with a ... | $fn=200;
squareSide = 40;
fanSize=squareSide;
outerRadius = 18.75;
screwHoleRadius = 1.75;
screwHoleDistanceFromSide = 3.75;
baseThickness = 2;
nozzleWidth = 30;
nozzleHeight = 8;
nozzleLength = 20;
nozzleWallThickness = 0.8;
mountLength = 42;
mountThickness = 3;
smidge = 0.001;
baseCornerRadius = screwHol... | glb/cad_ecaedebdd7e3.glb |
Create a hollow cube for an oblobots head with an outer side length of 35mm and a wall thickness of 3mm. The interior should be carved out to leave a shell, but maintain a solid 2mm thick floor at the base.
On the front face, create two symmetrical eye sockets. Each socket starts with a protruding conical shape that e... | side=35;
ledn=5;
eyetoad=3;
eyering=1;
bridge=4;
expressionr=-25;
expressionc=1;
t=3;
sideint=side-2*t;
ledr=ledn+1;
eyesocket=ledr+0.5;
eyeedge=1;
eyer2=eyesocket+2*eyeedge;
eyer1=eyer2+2*eyetoad*eyering;
res=50;
eyebridge=side/bridge;
cut=((eyer1-eyer2)/2)*expressionc;
module moveRighteye(){
translat... | glb/cad_4048d08304c9.glb |
Create a Neo Armstrong Cyclone Jet Armstrong Cannon by constructing a central vertical tube and two flanking spheres. Start with a main cylinder that is 48mm tall with an outer radius of 5mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 4mm, leaving a wall thickness ... | l=48;
translate([5,5,5]) {
sphere(r=5, $fn=100);
}
translate([15,5,0]) {
difference() {
union() {
cylinder(r=5, h=l, $fn=100);
translate([0,0,l-10]) {
cylinder(r1=5, r2=6, h=2, $fn=100);
}
translate([0,0,l-8]) {
cylinder(r... | glb/cad_bd4afb070d7e.glb |
Create a gypsy plectrum with a total height of 15mm. Start by forming the main body as a convex hull encompassing three cylinders: one small cylinder with a 1mm radius positioned at the tip (offset 6mm from the center along the x-axis), and two larger cylinders with 10mm radii positioned symmetrically at the rear corne... | tip_radius=1;
hip_radius=10;
width=40;
length=60;
bevel=4;
tip_height=60;
resolution=100;
height=15;
$fn=resolution;
tip_offset = 6;
difference() {
hull() {
translate ([tip_offset, 0, 0])
rotate([0, -40, 0])
cylinder (r=tip_radius, h=height);
translate ([-width / 2 + hip_radius, length-hip_radius ... | glb/cad_7cd1c9623ae8.glb |
Create a Universal Phone and Tablet Stand. Start by constructing a base consisting of two parallel walls with a height of 16.3mm and a thickness of 4mm. The first wall is 60mm long. The second wall is positioned to create a slot for the device, with the walls angled at 103.9 degrees relative to each other to support th... | $fn=100*1;
H = 16.3;
L = 60;
T = 8;
A = 103.9;
D = 4;
DD = 0.2;
Text = "Thingiverse";
TH = 0.2;
TS = 8;
TX = -3;
TY = -11;
K = 1;
X = 20;
Y = 0;
module wall(x1,y1,x2,y2,z,t)
{
dx=x2-x1;
dy=y2-y1;
l = sqrt(dx*dx+dy*dy);
translate([x1,y1,0])cylinder(h=z,r=t/2);
translate([x2,y2,0])cylin... | glb/cad_37362a0088e0.glb |
Create a cable guide holder consisting of a central cylindrical sleeve with integrated mounting tabs. Start by creating a main cylinder with an outer radius of 11.25mm and a height of 15mm. Hollow out the center of this cylinder with a smaller concentric cylinder of radius 9.25mm and a height of 17mm to create a sleeve... | boltA=-12.5;
boltB=-boltA;
boltm=2;
bcm=2;
bdia=3.5;
wi=15;
thi=4;
shidia=18.5;
wl=2;
difference(){
union(){
cylinder(r=shidia/2+wl,h=wi);
hull(){
translate([boltA-boltm,(shidia-thi+wl*2.5)/2,0]) rotate([0,0,45]) cylinder(r=thi/1.8,h=wi,$fn=4);
translate([boltB+boltm,(shidia-thi+wl*2.5)/2,0]) rotate([0,0,45]) cyli... | glb/cad_94d84c2ce0c0.glb |
Create a cable guide holder by starting with a main cylinder that has a radius of 7.75mm and a height of 20mm. Subtract a smaller concentric cylinder from the center with a radius of 7.75mm and a height of 22mm to create a hollow tube.
Add two square-profiled pillars to the outer walls of the cylinder, each with a wi... | boltA=-5;
boltB=5;
boltm=2;
bcm=2;
bdia=3.5;
wi=20;
thi=4;
shidia=15.5;
wl=2;
difference(){
union(){
cylinder(r=shidia/2+wl,h=wi);
hull(){
translate([boltA-boltm,(shidia-thi+wl*2.5)/2,0]) rotate([0,0,45]) cylinder(r=thi/1.8,h=wi,$fn=4);
translate([boltB+boltm,(shidia-thi+wl*2.5)/2,0]) rotate([0,0,45]) cylinder(r=t... | glb/cad_7561869c4417.glb |
Create a Ball Stylus by combining a spherical base with a cylindrical shaft. Start by creating a sphere with a diameter of 60mm. From the top of this sphere, extend a vertical cylinder with a total height of 96mm and a radius of 3.5mm. To integrate the two, add a conical transition piece that starts at the sphere's sur... | ball_d = 60;
stylus = 96;
smooth = 30;
$fn = smooth;
ball = ball_d/2;
union()
{
cylinder (h=stylus/3, r1=ball*sin(acos((ball-5)/ball)), r2=3.5);
difference()
{
translate([0,0,-ball+5])
sphere(ball);
translate([-ball, -ball, -ball*4+10])
cube(ball*2);
}
difference()
{
cylinder (h=stylus, r1=3.5, r2=3.5);
translate([0... | glb/cad_feac133993dd.glb |
Create a Lilypad holder by starting with a central cylindrical base 4mm thick and 30mm in radius. Add a wider, thinner disc at the bottom that is 1mm thick with a radius of 43mm. Around the perimeter of this wider disc, place 22 small cylinders, each 1.5mm high and 4.5mm in radius, spaced evenly every 16.36 degrees.
... | module lily(){
difference(){
union(){
translate([0,0,-2.4])
cylinder(h=1, r=43, center=true,$fn=100);
cylinder(h=4., r=30, center=true, $fn=100);
for ( i = [0 : 22] ){
rotate( i * 360 / 22, [0, 0, 1])
translate([0, 38, -1.4])
cylinder(h=1.5, r=4.5, center=true, $fn=100);
}
}
color([1,0,0])
translate([0,0,1.3])
cylinder... | glb/cad_a8e1dc0b71fe.glb |
Create a Lilypad holder by starting with a base circular disk that matches the dimensions of a LilyPad board. Around the perimeter of this disk, arrange 22 identical small ring-shaped holders spaced evenly every 16.36 degrees. Each of these 22 holders should be a small cylinder with a total height of 4mm. Within each s... | use <lily.scad>
difference(){
lily();
for ( i = [0 : 22] ){
rotate( i * 360 / 22, [0, 0, 1])
translate([0, 38, -1])
cylinder(h=1, r=3.1, center=true, $fn=128);
}
for ( i = [0 : 22] ){
rotate( i * 360 / 22, [0, 0, 1])
translate([0, 38, -2])
cylinder(h=4, r=1.8, center=true, $fn=128);
}
} | glb/cad_7becd1287fac.glb |
Create a Rod Wall Holder consisting of a cylindrical base with a flat mounting section. Start with a cylinder 40mm in diameter and 30mm in height. Attach a rectangular block to the side of the cylinder, measuring 60mm wide, 10mm thick, and 25mm high.
Hollow out the center of the main cylinder with a 35mm diameter hole... | $fn=100;
module rodholder(space = false, bottom = false) {
difference() {
union() {
translate([-30,10,0]) cube([60,10,25]);
cylinder(d=40,h=30);
translate([0,10,0]) rotate([90,0,0]) linear_extrude(height=24, scale=[0.45,1]) {
translate([-30,0,0]) square([... | glb/cad_b9c2b24fd535.glb |
Create a modular model rocket body by constructing a hollow cylinder with an outer diameter of 30mm and a total height of 60mm. The main walls should be 2.5mm thick. At the top of this cylinder, add a solid collar extending upwards by 8mm with a slightly smaller outer diameter of 27mm. To create the interior cavity, re... | diameter = 30;
wallThickness = 2.5;
height = 60;
interlockHeight = 8;
interlockOD = diameter-3;
finMinHeight = 20;
finMaxHeight = 55;
finLength = 40;
finThickness = 2;
bottomThickness = 3;
module mainShape(){
cylinder (height, diameter/2, diameter/2, $fn=50);
translate ([0,0,height]) cylinder (interlockHeight, inter... | glb/cad_bf9f7715f3b8.glb |
Create a modular model rocket body by starting with a main cylinder 30mm in diameter and 60mm tall. On top of this, add a smaller concentric cylinder 8mm high with a diameter of 27mm. Hollow out the center of the main body with a cylinder 25mm in diameter and 60mm tall, and extend this internal void through the top sec... | diameter = 30;
wallThickness = 2.5;
height = 60;
interlockHeight = 8;
interlockOD = diameter-3;
finMinHeight = 50;
finMaxHeight = 55;
finBaseOffset = 5;
finLength = 40;
finThickness = 2;
bottomThickness = 3;
module mainShape(){
cylinder (height, diameter/2, diameter/2, $fn=50);
translate ([0,0,height]) cylinder (int... | glb/cad_ec08b1e76252.glb |
Create a modular model rocket body by combining a cylinder and a scaled sphere. Start with a solid cylinder that has a diameter of 30mm and a height of 10mm. On top of this cylinder, place a sphere with a diameter of 30mm, but scale the sphere vertically so that its total height is 120mm, creating a tall, bullet-shaped... | baseDiameter = 30;
wallThickness = 1.5;
height = 60;
baseHeight = 10;
module mainShape(){
translate ([0,0,baseHeight-0.1]) scale ([1,1,height/baseDiameter*2]) sphere (baseDiameter/2, $fn=50);
cylinder (baseHeight,baseDiameter/2, baseDiameter/2, $fn=50);
}
module cutout(){
difference(){
scale ([1-wallThickness*2/... | glb/cad_fe6a09ef7dfb.glb |
Create a modular model rocket body by constructing a hollow cylinder with an outer diameter of 30mm and a total height of 80mm. The main body should have a wall thickness of 1.5mm. At the top of the rocket, create an interlocking collar by extending the cylinder upward by an additional 8mm; this top section should have... | diameter = 30;
wallThickness = 1.5;
height = 80;
finMinHeight = 3;
finMaxHeight = 27;
finLength = 40;
finThickness = 2;
interlockHeight = 8;
interlockOD = diameter-3;
module mainShape(){
cylinder (height, diameter/2, diameter/2, $fn=50);
translate ([0,0,height]) cylinder (interlockHeight, interlockOD/2, interlockOD... | glb/cad_3cd27f37496a.glb |
Create a modular model rocket component consisting of a hollowed cylindrical body with four stabilizing fins. Start by creating a main cylinder with an outer diameter of 30mm and a height of 30mm. On top of this, add a smaller concentric cylinder with a diameter of 27mm and a height of 8mm to act as an interlocking col... | diameter = 30;
wallThickness = 1.5;
height = 30;
finMinHeight = 3;
finMaxHeight = 27;
finLength = 40;
finThickness = 2;
interlockHeight = 8;
interlockOD = diameter-3;
module mainShape(){
cylinder (height, diameter/2, diameter/2, $fn=50);
translate ([0,0,height]) cylinder (interlockHeight, interlockOD/2, interlockOD... | glb/cad_af901974c8a8.glb |
Create a Parametric Interlocking Card Tray System designed to hold a stack of cards.
Start by creating a rectangular base plate with dimensions 74mm by 74mm and a thickness of 2mm. Centered on this plate, remove a rectangular section of 66mm by 66mm to create a 4mm wide rim. Within this rim, create four finger access... | cardWidth = 70;
cardHeight = 70;
totalCardDepth = 0.25;
xySpace = 2;
zSpace = 2.5;
numberOfCards = 50;
baseEdgeThickness = 7;
filletSize=8;
interlockClearance = -1.2;
topBottomInterlockClearance = 0.7;
lidOnly = "no";
module basePlate() {
cube ([cardWidth+4+xySpace, cardHeight+4+xySpace, 2], center=true... | glb/cad_8faf6a6ec78c.glb |
Create a MatchStick Glider centered on a central fuselage. The fuselage consists of a main body formed by a cylinder with a radius of 6mm and a length of 7.5mm, with a rectangular section 6mm wide and 37.5mm long extending from the center.
Attached to the fuselage is a large wing, consisting of two mirrored rectangul... | size = 150;
flthick = .4;
module fuse(){
linear_extrude(size*.05)
union(){
circle(size*.04);
translate([-size*.04,0]){
square([size*.08,size/4]);}
translate([0,size/4]){
circle(size*.04);}
translate([-flthick*1.5,0]){
square([flthick*3,size]);}
}}
module wing (){
translate([0,size*.4]){
square([... | glb/cad_04e9b42789e0.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.