Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Customizable Zoetrope consisting of a spinning wheel and a support stand.
For the wheel, create a central hub cylinder with a radius of 16mm and a height of 5mm. Around this hub, arrange 12 equally spaced frames. Each frame consists of a backplate 28mm wide and 36mm high, with a bottom plate extending inward... | parts = "both";
frames = 12;
width = 32;
height = 24;
slit = 4;
set_diameter = 0;
diameter = 120;
stand_height = 75;
radius = (height+4 + slit) / 2 / tan(180/frames);
expand = tan(180/frames) * (radius + 2) * 2;
scale = (diameter/(radius*2)-1) * set_diameter + 1;
print_part();
module print_part() {
if (parts... | glb/cad_fc3a5f21902b.glb |
Create an Insulin Pump Clip Connector by assembling several rectangular prisms. Start with a base plate measuring 13mm by 22mm with a height of 0.65mm. Centered atop this base, add a rectangular block 5mm wide, 18mm long, and 2mm high, positioned 4mm from the left edge. Place two additional blocks, each 10mm wide and 3... | union(){
cube([13,22,1.3/2]);
translate([4,0,1.3/2])
cube([5,18,2]);
translate([1.5,0,2.3])
cube([10,10,3]);
translate([-4.5,0,4.3])
cube([23,10,3]);
translate([-4.5,0,5])
cube([2,10,5]);
translate([16.5,0,5])
cube([2,10,5]);
translate([-3,0,9])
cube([2,10,1]);
translate([14.5,0,9])
cube([2,10,1]);
translate([4... | glb/cad_84fa6835d957.glb |
Create an Insulin Pump Clip Connector by combining several rectangular prisms into a single solid. Start with a base plate measuring 13mm wide, 22mm long, and 0.65mm thick. Centered on this base, add a rectangular block 5mm wide, 18mm long, and 2mm thick, positioned 0.65mm above the base. On top of that, place a 10mm w... | union(){
cube([13,22,1.3/2]);
translate([4,0,1.3/2])
cube([5,18,2]);
translate([1.5,0,2.3])
cube([10,10,3]);
translate([-4.5,0,4.3])
cube([23,10,3]);
translate([-4.5,0,5])
cube([2,10,5]);
translate([16.5,0,5])
cube([2,10,5]);
translate([-3,0,9])
cube([2,10,1]);
translate([14.5,0,9])
cube([2,10,1]);
} | glb/cad_ee27a14780e1.glb |
Create an electric toothbrush wall mount consisting of a base, a vertical support, and a top ring. Start with a base created from a cylinder with a radius of 40mm and a height of 1mm, scaled on the Y-axis by a factor of 0.3 to create an elliptical profile. Add a border to this base by creating a larger concentric ellip... | $fn=100;
base_radius = 35;
base_border_witdh= 3.2;
base_border_height= 3.2;
base_elipse_coef=0.714;
top_border_witdh= 3.2;
top_radius = 17.5;
top_elipse_coef=1.0;
wall_height = 80;
wall_width = 25;
cable_hole=30;
thickness = 3.2;
electric_brush(base_radius,base_border_witdh,base_border_height,base_elipse_coef,top_radi... | glb/cad_75f88d0e355f.glb |
Create a heart puzzle consisting of seven identical slices that fit together around a central axis. Each slice is a 2D heart shape extruded to a height of 4mm. The heart is formed by two mirrored components, each consisting of a circle with a radius of 20mm and a square with a side length of 40mm attached to its bottom... | snapSize = 4;
maxSize = 100;
height = 4;
wiggleRoom = 0.1;
$fn = $preview ? 10 : 120;
module slice(number, maxSlices) {
difference() { difference() {
union() {
rotate([0, 0, number/maxSlices]) {
linear_extrude(height, center = false)
polygon( points=[[0,0],[cos(... | glb/cad_337cb1d7ce93.glb |
Create a PCB standoff consisting of a cylindrical base and a retaining clip. Start with a solid cylinder for the base that is 12mm in diameter and 5mm in height. Centered on top of this base, add a second cylinder with a diameter of 2.8mm and a height of 3mm. Above this second cylinder, create a retaining flange by add... | base_height=5;
base_diam=12;
hole_diameter=2.8;
hole_height=3;
flange=0.7;
flange_height=6;
split=0.6;
$fn=64;
difference() {
union() {
cylinder(d=base_diam,h=base_height);
cylinder(d=hole_diameter,h=base_height + hole_height);
translate([0,0,base_height + hole_height])
inter... | glb/cad_b7eca958a048.glb |
Create a removable filament spool bearing designed to fit a 608 bearing. Start by creating a main central cylinder with a diameter of 53.5mm and a height of 3mm. Below this, add a slightly wider base cylinder with a diameter of 57.5mm (53.5mm plus a 2mm overlap on each side) and a height of 3mm.
From the center of the... | spool_hole_diameter = 53.5;
closed = false;
$fa = 6;
$fs = 1;
M8_r = 8 / 2 + .2;
bearing_r = 22/2 + .2;
spool_overlap = 2;
bearing_h = 3;
interface_h = 1;
spool_h = 3;
weird_angle = asin(M8_r / bearing_r);
function cis(a) = [cos(a), sin(a)];
module thing(closed, diameter)
{
spool_r = diameter/2;
translate([... | glb/cad_9493dd0a982b.glb |
Create a PCB foot consisting of a vertical standoff and a horizontal leg. Start by creating a vertical cylinder with a diameter of 6mm and a height of 14mm. Drill a 2mm diameter hole through the center of this cylinder along its entire height. Attached to the base of this cylinder, create a horizontal leg that is 23mm ... | vert_height=14;
vert_diam=6;
vert_hole=2;
leg_hole=4;
leg_diam=9;
leg_len=23;
leg_height=4;
slices=64;
$fn=slices;
difference() {
CubePoints = [
[ 0, -vert_diam/2, 0 ],
[ leg_len, -leg_diam/2, 0 ],
[ leg_len, leg_diam/2, 0 ],
[ 0, vert_diam/2, 0 ],
[ 0, -vert_diam/... | glb/cad_ac48d1e380c4.glb |
Create a Parametric Fixing Table Leg consisting of a central vertical sleeve attached to a flat square base.
First, create the central sleeve as a cylinder with a diameter of 30mm and a total height of 60mm, with a wall thickness of 5mm. Hollow out the center of this cylinder.
Next, create a square base plate center... | cylindre = "true";
WidthLeg = 30;
LengthLeg = 30;
WidthSupport = 80;
LengthSupport = 80;
HeightObject = 60;
ScrewDiametre= 3;
ScrewHeadDiametre= 0;
ScrewHeadHeight= 3;
NumberOfScrewHeight = 2;
NumberOfScrewWidth = 2;
NumberOfScrewLength = 2;
ResolutionScrew=100;
ResolutionHeadScrew=... | glb/cad_24e70ce9f8ba.glb |
Create a fan grill consisting of a square base plate with a central circular opening. The base plate is a cube measuring 120mm by 120mm with a height of 10mm.
At each of the four corners of the square, center a cylindrical screw hole with a diameter of 5mm that passes completely through the height of the plate. These... | size=120.0;
height=10.0;
fanDiameter=100.0;
grillBlades=4;
grillPattern="lines";
grillWidth=4.0;
grillInset=1.0;
grillAngle=0;
screwWidth=100.0;
screwDiameter=5.0;
fangrill(s=size,h=height,fd=fanDiameter,p=grillPattern,g=grillBlades,gw=grillWidth,gi=grillInset,ga=grillAngle,sw=screwWidth,sd=screwDiameter);
m... | glb/cad_d8a9b5b37181.glb |
Create a broom wall hook consisting of a mounting plate and a wedge-shaped holder. Start with a mounting plate 8mm thick, 100mm high, and 30mm wide. The plate features a decorative profile created by blending rounded edges and varying radii.
Attached to this plate is a hook assembly. The hook is formed by a wedge 60mm... | handle_dia = 22;
mount_height = 100;
wall = 4;
drop = 10;
tab_thickness = 8;
hole_dia = 5;
hole_inset = 8;
wedge_x_offset = 6;
wedge_height = 60;
wedge_width = handle_dia+2*wall;
wedge_depth = handle_dia+2*wall;
radius = wedge_width/15;
fn=100;
module wedge(){
polyhedron(
points = [ [0,-wedge_width/2,wedge_height-d... | glb/cad_d91b0dc22875.glb |
Create a petal design vase by extruding a complex 2D profile vertically to a height of 200mm. The profile is formed by the intersection of ten overlapping circles, each with a radius of 50mm. Arrange these circles in a radial pattern around the center axis, with each circle shifted by 36 degrees. To create the petal ef... | $fn=48*1;
NumberOfPetals=10;
WidthOfVase=100;
WidthOfPetals=90;
HeightOfVase=200;
SHeight=HeightOfVase*1.1;
WallThickness=2;
BottomToTopRotation=100;
BDepth=2*1 ;
difference() {
linear_extrude(height=HeightOfVase,convexity=10,twist=BottomToTopRotation)
scale([1,1,1])
for(i=[0:360/NumberOfPetals:360]) {
... | glb/cad_e6618d14aea0.glb |
Create a battery box and lid for CR2032 cells. The box is a rectangular container with a wall thickness of 1.2mm. For a 1x10 configuration, the outer dimensions are 21.4mm in width, 33.3mm in length, and 13.33mm in height.
Inside the box, create 10 rectangular slots for the batteries. Each slot should be 20.2mm wide ... | CR2430 = [24.4, 2.95, "CR2430"];
CR2016 = [19.95, 1.6, "CR2016"];
LR44 = [11.5,5.25, "LR44"];
CR2032 = [19.9, 3.05, "CR2032"];
tolerance = 0.3;
count_perimeter = 3;
wall_thickness = 0.4;
height_adjustment = 2/3;
wall = count_perimeter * wall_thickness;
battery_box_multiple(CR2032, 1, 10);
module battery_box_multiple... | glb/cad_a1c2fd62fcf3.glb |
Create a Card Shuffler Tray consisting of a flat base and a vertical end wall. Start with a rectangular base 90mm long and 62mm wide, with a thickness of 1.9mm. Centered along the length of this base, remove two semi-circular cutouts, each with a radius of 15.5mm, one at each long edge.
At one end of the base, attach... | width = 64;
base_thickness = 1.9;
base_length = 90;
end_height = 47.5;
end_thickness_max = 3.4;
end_thickness_min = end_thickness_max / 2;
end_ridge_radius = end_thickness_max - end_thickness_min;
ridges = floor( width / ( end_ridge_radius * 2 ) );
even_width = (ridges * end_ridge_radius * 2 );
$fs = 1;
$fa = ... | glb/cad_01e9ae761e7a.glb |
Create an Extended Hollow Cube with an overall outer dimension of 30mm x 30mm x 30mm.
Start with a bottom base plate 3mm thick. This plate is a 30mm square with a 5mm diameter circular hole centered in the middle. On the top surface of this base, add embossed text including "←x→", "0.4,200°C", and the diameter "Ø5" c... | size= 30;
pillars= [3,4,5,6];
topThck=2;
botThck=3;
botHole=5;
emboss=1;
cstmLblTxt="0.4,200°C";
cstmLblyOffset=5;
cstmLblSize=4;
cstmLbl=true;
xLbl=true;
diaLbls=true;
fudge=0.1;
$fn=20;
txtSize=(size-botHole)/2;
txtOffset=size/2-(size-botHole)/4;
*difference(){
translate([0,0,size-topThck])
linear_extrude(topThc... | glb/cad_ea6ce1d7182f.glb |
Create a Cootie Eye replacement part. Start with a flat, eye-shaped base that is 9.7mm long, 7.6mm wide, and 1.5mm thick. This base should be a combination of a rectangle and a semi-circle with a radius of 4.3mm, forming a rounded end. Within this base, centered 1mm from the flat edge, create a circular pupil area with... | $fa = 1;
$fs = 1;
eye_width_widest = 7.6;
eye_thickness = 1.5;
eye_round_radius = 4.3;
eye_length = 9.7;
pupil_offset = 1;
iris_width = 1.25;
iris_radius = 2.5;
peg_base_width = 2.5;
peg_tip_width = 2;
peg_height = 12;
color( "yellow") union() {
linear_extrude(eye_thickness) union() {
difference() {
union() {... | glb/cad_aa10ab788881.glb |
Create a replacement leg for a Cootie board game. The part is a stylized, angular limb with a total length of approximately 37mm. Start by forming the main leg body, which features a tapered foot and a bent knee section. The foot begins at a point (0,0) and extends to a heel at 7.9mm. The leg then angles upward to a kn... | max_dimension = 37;
intersection() {
translate([0, 0, -max_dimension]) linear_extrude(max_dimension*2) polygon(points=[
[0, 0],
[7.9,0],
[13.15, 28.5],
[18.8, 26.5],
[25,27.3],
[25, 30],
[34, 30],
[34, 33],
[25, 33],
[25, 35.8],
[18.5, 34.35],
[8.5, 37.15],
[4, 4.3],
[.75, 3]
]);
rotat... | glb/cad_70cfc710d0ad.glb |
Create a guitar strap button with a total height of 13mm and a maximum width of 14.8mm. Start by building a base cylinder with a diameter of 10mm and a height of 1.8mm. On top of this base, add a narrower central cylinder with a diameter of 7.5mm and a height of 5.5mm. Above the central cylinder, create a flared sectio... | width = 14.8;
height = 13;
screw_diameter = 4.1;
countersink_diameter = 6.9;
countersink_depth = 3;
module strap_button() {
current_height = 0;
bottom_ridge_height = (1.8 / width) * width;
bottom_ridge_diameter = (5.4 / 7.4) * width;
flare_height = (2.9 / 14.8) * width;
top_height = (3.4 / 14.8) * width;
... | glb/cad_39d6a5442b11.glb |
Create a New Bright Train Valve Gear for the left side of a toy train. Start with a main rectangular base measuring 43mm in length, 5.8mm in width, and 3.5mm in height. At one end of this base, attach a small rectangular block measuring 5mm by 2.5mm with a height of 1.7mm, positioned to extend slightly beyond the base.... | color("black") mirror([1,0,0]) union() {
cube([43, 5.8, 3.5]);
translate([-5, 0, 1.8]) cube([5, 2.5, 1.7]);
translate([43, -16.7, -1.75]) cube([3.5,22.5,5.25]);
translate([43,-16.7,-17.25]) cube([3.5,7.5,15.5]);
translate([43,-12.7,-20.25]) cube([3.5,3.5,18.5]);
translate([40,-12.7,-17.25]) cube... | glb/cad_12b9fceb96e3.glb |
Create a Circular Elements socket by starting with a central cylindrical hole of radius 13.7mm and a total height of 5.6mm. Surround this hole with a solid hexagonal outer wall that has a radius of 14.2mm. The top surface of the socket should be flat, while the bottom features a recessed cylindrical well.
At each of t... | module nub(h=2,k=5,r=10,r1=5,l=1.2){
difference() {
union(){
cylinder(k,r1,0,$fn=30);
translate([0,0,-h]){
cylinder(r=r,h=h,$fn=30);
translate([0,-r,0]){cube([r+l,2*r,h]);}
translate([-r,0,0]){cube([r,r,h]);}
}
}
translate([0,0,-h]){cylinder(k,r1,0,$fn=30);}
}
}
module rack(n=5,space=4,clear=0.4,r=... | glb/cad_fa705a12268f.glb |
Create a Circular Elements socket for a circular PCB. The main body is a hexagonal ring with a height of 7mm. The outer diameter of the ring is based on a radius of 19.42mm. The center of the ring is hollowed out by a cylinder with a radius of 16.42mm.
At each of the six vertices of the hexagon, integrate a snap-toget... | module nub(h=2,k=5,r=10,r1=5,l=1.2)
difference() {
union() {
cylinder(k,r1,0,$fn=30);
translate([0,0,-h]) {
cylinder(r=r,h=h,$fn=30);
translate([0,-r,0]) cube([r+l,2*r,h]);
translate([-r,0,0]) cube([r,r,h]);
}
}
translate([0,0,-h]) cylinder(k,r1,0,$fn=30);
}
module rack(n=5,space=4,clear=0... | glb/cad_fd6297c47181.glb |
Create a Customizable Planer-to-Shop-Vac Adapter with a total height of 60mm and a consistent wall thickness of 2mm. The object is a tapered hollow sleeve consisting of three sections. Start with a bottom cylindrical band 10mm high with an inner diameter of 102.75mm and an outer diameter of 106.75mm. From the top of th... | param_from = 102.75;
param_to = 30.75;
param_height = 60;
param_wall_thickness = 2;
param_band_height = 10;
module funnel(from, to, height, wall_thickness, band_height) {
difference() {
cylinder(r=(from/2)+wall_thickness, h=band_height);
cylinder(r=(from/2), h=band_height);
}
translate([0, 0, band_height]... | glb/cad_3b54566f6246.glb |
Create a Wire Cube Plastic Connector by starting with a central cylinder 39mm in diameter and 26mm in height. The main body is a cylinder with a flat base of 2.9mm height. Above this base, create a hollowed-out cylindrical section with a wall thickness of 2.2mm.
Cut two perpendicular rectangular slots through the cent... | width = 39;
height = 26;
wall_width = 2.9;
horizontal_wall_width = 2.2;
base_height = 2.9;
shelf_gap = 5.15;
horizontal_shelf_gap = 5.25;
shelf_ridge_gap = 4;
center_support_width = 9.5;
base_bulge_radius = 4 * height;
ridge_radius = (shelf_gap - shelf_ridge_gap) / 2;
ridge_count = 11;
ridge_offset = 2.5;
$fa = 1;
$fs ... | glb/cad_3fd7cca98585.glb |
Create a Wax Seal Stamp consisting of a tiered handle and a custom engraved base.
Construct the handle by stacking several cylinders along the Z-axis: start with a base cylinder 10mm high with a 15mm radius. Add a second cylinder 5.8mm high with a 12mm radius positioned on top. Add a third truncated cone 12.8mm high,... | quality = 25;
handle_size = "large";
input ="default_TNH";
seal_size = 10;
Move_X = 0;
Move_Y = 0;
module GoAwayCustomizer(){
}
use <write/Write.scad>
use <MCAD/triangles.scad>
stencil_thickness = 1.5;
offX = 0;
offY = 0;
margin = 10;
dispo_width = seal_size;
points_array = (input=="default_TNH"? [[133,286],[[... | glb/cad_3e1f5dcc14e6.glb |
Create a toy recorder by starting with a main vertical cylinder that has a radius of 12mm and a height of 82mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a radius of 9mm and a height of 60mm, starting from the top and extending downwards.
Carve out several geometric section... | difference() {
cylinder(r=12,h=82);
translate([0,20,0]) rotate(v=[0,1,0], a=90) cylinder(r=25,h=25,center=true);
translate([10,-12,0]) rotate(v=[0,1,0], a=27) translate([0,0,8]) cube([10,24,24],center=true);
translate([-10,-12,0]) rotate(v=[0,1,0], a=-27) translate([0,0,8]) cube([10,24,24], center=true);
translate... | glb/cad_4c174f078377.glb |
Create a toy recorder mouthpiece starting with a main cylinder 29mm in diameter and 80mm in length. Hollow out the center with a bore 11mm in diameter, starting from the base and extending through the body. At the base, carve out a rectangular windway channel 10.5mm wide, 2.2mm high, and 30mm long, positioned 5.5mm fro... | ramp_angle=11;
ramp_width=11.5;
ramp_opening=3;
windway_width=10.5;
windway_height=2.2;
windway_length=30;
windway_position=5.5;
body_diam=29;
body_length=80;
bore_diam=11;
socket_depth=20;
socket_diam=17.5;
socket_taper=0.2;
mouthpiece();
module mouthpiece() {
difference() {
cylinder(r=body_diam/2, h=body_len... | glb/cad_77ba5ca746f4.glb |
Create a Puzzle Sphere by starting with a solid sphere with a radius of 30mm. Carve out the interior of the sphere by removing several intersecting rectangular prisms to divide the sphere into multiple interlocking pieces. First, remove a central cube with a width of 30mm, a height of 60mm, and a depth of 60.5mm, cente... | R=30;
tol=0.5;
x=R*cos(45);
rotate([-90,0,])
difference(){
sphere(r=R);
translate([0,0,-R])
cube(size=[R,2*R,2*R+tol],center=true);
translate([0,-R,0])
cube(size=[R,2*R+tol,2*R],center=true);
rotate([-45,0,0])
translate([0,0,-2*R])
cube(size=4*R,center=true);
translate([0,0,R+x])
cube(size=2*R+tol,cent... | glb/cad_a584ee590155.glb |
Create a customizable golf ball marker. Start by creating a thin, wide cylindrical base with a diameter of 15mm and a height of 1mm. Attached to the center of the bottom face of this base, add a tapered spike that is 5mm tall, narrowing from a base radius of 2mm down to a point with a radius of 0.25mm. On the top surfa... | include <write/Write.scad>
marker_diameter = 15;
spike_height = 5;
initials = "ABC";
letter_height = 12;
letter_type = "fancy";
flip_model_to = 180;
rotate(a=[0,flip_model_to,flip_model_to])
difference() {
union() {
cylinder(h = 1, r1 = (marker_diameter - 1), r2 = marker_diameter, center = false, $fs = 0.01);... | glb/cad_c4117fa9cb42.glb |
Create a PCB-Vise consisting of three rectangular jaw components, each measuring 6mm in height, 75mm in width, and 6mm in depth.
For the first jaw, create a solid block with a 1.8mm wide slot running the full width and depth to hold a PCB. On the bottom face, center two circular holes with a diameter of 12.1mm and a ... | $fn = 48;
rod = 5.0;
magnet_d = 12.1;
magnet_t = 2.7 + 0.2;
pcb = 1.8;
jaw_w = 75.0;
ht = 3 + magnet_d;
bolt = 3.0;
spring = 7.25;
module triangle(o_len, a_len, z, center=false)
{
centroid = center ? [-a_len/3, -o_len/3, -depth/2] : [0, 0, 0];
translate(centroid) linear_extrude(height=z)
polygon(points=[[0,0... | glb/cad_f7c4a3cea3b5.glb |
Create a 3D model of the Automatic OpenScad polygon tracer by extruding a complex 2D profile to a height of 3mm.
The base shape is defined by a series of connected polygons. The primary outer boundary is a large, irregular closed loop defined by approximately 160 coordinate points, creating a jagged, organic silhouet... | linear_extrude(height=3)
polygon(points=[[-0.02949524,92.9517],[1.435705,91.2201],[1.702105,70.1745],[3.700104,64.3137],[4.499304,62.4489],[2.900904,62.5821],[1.302504,62.9817],[0.9029045,61.3833],[1.169304,53.9241],[3.300505,47.5305],[6.497305,41.1369],[7.030106,36.8745],[6.497305,33.4113],[7.696104,33.0117],[8.628506... | glb/cad_99056525dcac.glb |
Create an Atomstack X20 Endstop Support. Start with a main block that is 23mm wide, 23mm high, and 13.5mm thick. Apply a 2mm rounding to all exterior corners and edges of this block. From the bottom face, remove a large section to create a recessed opening that is 13mm wide and 23mm high, leaving a wall thickness of 5m... | $fn=50;
tolerance = 0.1;
r1 = 2.5 - tolerance;
r2 = 2.5 + tolerance;
angle = -0.2;
ox1 = 7;
oy1 = 10;
ox2 = 6;
oy2 = 16;
thickness1 = 18.5;
thickness2 = 3;
w1 = 23;
w2 = 13;
h = 23;
rounding = 6;
rounded = 2;
module skew(amount){
M = [ [ 1 , amount , 0 , 0 ],
[ 0 , 1 , 0, 0 ],
[ 0 , ... | glb/cad_88724c2097d4.glb |
Create a customizable gasket by constructing a thin, hollow cylinder. Start with a solid cylinder that has a height of 1mm and an outer diameter of 4mm. Center this cylinder on the origin. From this solid shape, remove a concentric inner cylinder with a height of 1mm and a diameter of 2mm to create a ring. Ensure the f... | gasket_thickness=1;
gasket_outer_diameter=2;
gasket_inner_diameter=1;
module gasket()
{
difference()
{
cylinder(h=gasket_thickness, r=gasket_outer_diameter*2, center=true, $fn=100);
cylinder(h=gasket_thickness, r=gasket_inner_diameter*2, center=true, $fn=100);
}
}
gasket(); | glb/cad_44f2e42eb5a1.glb |
Create a Spool Hub for a 608ZZ bearing and 8mm rod. Start with a central cylinder that has a base radius of 45mm and a height of 20mm, tapering upward to a top radius of 4.3mm. Remove a small 2mm thick slice from the top edge to eliminate sharpness.
Through the center of this shape, create a vertical hole with a radi... | r_spool = 45;
edge_cut=1;
h = 20;
w = 20;
br = 11.15;
bh = 7;
ir = 4.3;
t = 4;
e = 0.02;
$fn = 64;
module hub() {
intersection() {
difference() {
cylinder(r1=r_spool, r2=ir, h=h);
translate([0,0,h-0.2+1]) cube([100,100,2], center=true);
translate([0,0,-e]) intersection() {
cylinder(r=br... | glb/cad_efa969f956c7.glb |
Create a mounting bracket for an Ultimarc Ultimate I/O board. Start with a rectangular backing plate centered on the origin, measuring 130mm in length, 65mm in height, and 2mm in thickness.
Remove six circular mounting holes, each 4mm in diameter, from the plate. Position two holes along the horizontal center line at ... | LENGTH=130;
HEIGHT=65;
OFFSET=4;
DIAMETER=4;
THICKNESS=2;
POLE_HEIGHT=7;
EXTRA_SPACING=0;
$fn = 100;
module backing_plate() {
difference() {
cube([LENGTH, HEIGHT, THICKNESS], center=true);
translate([-(LENGTH / 4), 0, 0]) mounting_hole();
translate([(LENGTH / 4), 0, 0]) mounting_hole();
... | glb/cad_5b52261b4f13.glb |
Create a Yazzo Keyed Span, which is a rectangular connector with trapezoidal keys on both ends. Start with a central rectangular block measuring 76.2mm in length, 25.4mm in height, and 8mm in thickness, centered on the origin.
At each end of the block, add a male trapezoidal key. Each key must have a base width of 12m... | joinfactor = 0.25;
gDefaultBase = 12;
gDefaultTop = 6;
gDefaultHeight = 6;
gDefaultThickness = 8;
gDefaultSpanLength = 3*25.4;
gDefaultSpanHeight = 1*25.4;
gDefaultSpanThickness = gDefaultThickness;
keyspan_malemale(gDefaultSpanLength, gDefaultSpanHeight, gDefaultSpanThickness);
module trapezoidkey(base, top, heigh... | glb/cad_c50382f082d4.glb |
Create a rocket model starting with a central cylinder 80mm tall with a radius of 6mm. Cap the top of this cylinder with a sphere of the same 6mm radius, though the sphere should be scaled vertically by a factor of 7 to create a pointed, elongated nose cone. At the base of the cylinder, add four identical fins. Each fi... | $fn=100*1;
numerical_slider_1 = 80;
numerical_slider_2 = 6;
scale_wings=100;
scale_model=100;
difference() {
union() {
scale([scale_model/100,scale_model/100,scale_model/100]) {
cylinder(h=numerical_slider_1, r=numerical_slider_2);
translate([0,0,numerical_slider_1]) scale([1,1,7]) sphere(numerical_slider_2);
f... | glb/cad_1b34947d9421.glb |
Create an Ellipse Message Band by constructing an elliptical ring with a major axis of 60mm and a minor axis of 45mm. The band should have a width of 20mm and a wall thickness of 4mm. To form the main body, create a ring with a cross-sectional radius of 10mm, then scale the entire assembly to fit the 60mm by 45mm ellip... | include <write/Write.scad>
message = "Live Laugh Love";
Font = "write/orbitron.dxf";
band_a = 60;
band_b = 45;
band_width = 20;
thickness = 4;
band_radius = band_width/2;
font_size = band_width*0.6;
scale ([1,band_b/band_a,1])
union () {
difference () {
rotate_extrude(center = true, $fn=72)
translate ([band_a/2+... | glb/cad_915490d32c62.glb |
Create a Universal Grommet by constructing a rotationally symmetrical body revolved around a central axis. The main body is formed by rotating a specific profile 360 degrees.
The profile is defined by a central hole with a diameter of 40mm. The thickness of the mounting plate area is 2mm. The cross-section of the gro... | $fn=50;
$EC = 0.3;
Show_Plate_Hole = false;
Plate_HoleD = 40;
Plate_Thick = 2;
Show_Cross_Section = false;
Grom_dr = 2;
Grom_dh = 3;
Extra_Lip = 2;
Outer_Rounding_R = 3;
Inner_Rounding_Fraction = .5;
RFI = (Outer_Rounding_R+Grom_dr)*Inner_Rounding_Fraction;
Double_Seal= false;
Seal_Thick = 0;
Seal_Hole_D = 0;
... | glb/cad_97e0a0c31850.glb |
Create a personalized keychain tag with a base thickness of 2mm. The main body is a rectangular plate with rounded corners, created by applying a 2mm radius fillet to a rectangle whose length is determined by the longest line of text and whose width is 28mm.
On the left side of the tag, place a cylindrical hole with ... | Tag_Text_Line_1 = "VN COACHING CENTRE";
Tag_Text_Line_2 = "CA N. NARAYANAN";
Tag_Text_Line_3 = "+91 9841033637";
$fn=50;
longest_text_1_2 = (len (Tag_Text_Line_1)>len(Tag_Text_Line_2) ? Tag_Text_Line_1 : Tag_Text_Line_2);
longest_text=(len(longest_text_1_2)>len(Tag_Text_Line_3)?
longest_text_1_2:
Tag_Text_Lin... | glb/cad_4f77dffa0503.glb |
Create a customizable heel lift wedge. Start by forming a base shape that combines a rectangular block and a semi-cylinder. The rectangular section should have a width of 80mm and a length of 70mm. At the rear of the wedge, attach a semi-cylinder with a radius of 40mm and a length of 70mm, centered along the width.
T... | heel_width =80;
l=70;
h=5;
wedge_angle=10;
r=heel_width/2;
total_l = r+l;
foot_wedge();
module foot_wedge(){
difference(){
union(){
translate([r,l,0])cylinder(h*2+l*tan(wedge_angle),r,r, $fs=1);
translate([0,0,0])cube([r*2,l,h*2+l*tan(wedge_angle)]);
}
translate([-1,0,h])rotate([wedge_angle,0,0])cube([r*2+10,tota... | glb/cad_2f0bb9ce661c.glb |
Create a Yazzo Tri-Tool base by starting with an equilateral triangle that has a side length of 76.2mm (3 inches) and a thickness of 8mm. Truncate the three corners of the triangle to create a hexagonal outer profile.
In the center of the platform, remove a cylindrical hole. The radius of this hole should be the radiu... | joinfactor = 0.25;
goldenratio = 1.61803399;
gDefaultKeyBase = 12;
gDefaultKeyTop = 6;
gDefaultKeyHeight = 6;
gDefaultPlatformSize = 3*25.4;
gDefaultPlatformHeight = gDefaultPlatformSize *(sqrt(3)/2);
gDefaultPlatformThickness = 8;
tritoolbase(3*25.4, 8);
module trapezoidkey(base, top, height, thickness)
{
linear_... | glb/cad_c0d3631a0143.glb |
Create a P3Steel Y-axis stepper mount spacer by designing a cylinder with a diameter of 9mm and a height of 10mm. Center a vertical hole through the middle of the cylinder to accommodate an M3 screw, giving the hole a diameter of 3.5mm and a height of 20mm to ensure it passes completely through the part. | $fn=64;
difference() {
cylinder(r=9/2, h=10, center=true);
cylinder(r=3.5/2, h=20, center=true);
} | glb/cad_bfda736d19f3.glb |
Create a PCB holder standoff consisting of a cylindrical base and a snap-fit retainer. Start by creating a vertical cylinder with a diameter of 6mm and a height of 10mm. On top of this base, add a second cylinder with a diameter of 3.8mm that extends upwards to a total height of 13.2mm (10mm base height plus 3.2mm boar... | type="stand";
pcb_height=10;
support_diameter=6;
support_hole=2;
support_hole_type="taper";
leg_height=4;
leg_len=16;
leg_diam=12;
leg_hole_diam=4;
leg_hole_type="taper";
pcb_hole=3.8;
pcb_thickness=3.2;
flange=0.35;
flange_height=6;
split=1;
$fn=($preview ? 64 : 128);
if (type=="leg") {
difference(... | glb/cad_2dcff50caf5a.glb |
Create a set of angle gauge blocks and a matching storage case.
For the gauges, generate 35 individual blocks. Each block starts as a rectangular prism with dimensions 20mm deep, 15mm wide, and 10mm high. From each block, remove a wedge-shaped section from the top to create a precise angle. The angles should range fr... | what="blocks";
step=2.5;
min_angle=2.5;
max_angle=87.5;
gauges_per_row=0;
h=10;
w=15;
d=20;
s=2;
do_rotate=true;
base_h=6;
hole_depth=7.5;
hole_fn=16;
base_s=5;
hole_clearance=0.5;
lid_clearance=1.0;
edge=0;
bevel=10;
bevel_fn=128;
has_lid=true;
lid_cutout_h=2;
lid_t=1.6;
lid_base_clearance=0.1;
... | glb/cad_11326d86aaf5.glb |
Create an M6 Cup Washer by constructing a wide, low cylinder with a radius of 7.1mm and a height of 3.7mm. From the center of this base, remove a vertical cylindrical hole with a radius of 3.225mm that passes completely through the object. Additionally, remove a second, wider internal cylindrical section with a radius ... | difference()
{
union()
{
cylinder(h = 3.7, r = 7.1);
}
union()
{
cylinder(h = 5, r = 3.225);
cylinder(h = 5, r = 3.225);
translate(v = [0, 0, 1]) cylinder(h = 5, r = 6.7);
}
} | glb/cad_e00172a634a6.glb |
Create an LCD controller mount designed to slip onto a 6mm frame. Start by constructing a central block that is 30mm wide, 30mm high, and 4mm deep. Attach a second block of the same dimensions, offset it by 6.1mm along the depth axis, and join these two blocks with a connecting slab that is 6.1mm thick, 30mm wide, and ... | frame_thickness=6.1;
$fn=64;
module LCD_pivot() {
difference() {
union() {
translate([4/2,30/2,30/2]) cube([4,30,30], center=true);
translate([4/2+frame_thickness+4,30/2,30/2]) cube([4,30,30], center=true);
translate([frame_thickness/2+4,30/2,4/2]) cube([frame_thickness,30,4], center=true);
... | glb/cad_acccb41c4080.glb |
Create a mounting bracket for an LCD controller. Start with a base shape formed by the union of a cube measuring 42mm x 42mm x 8mm, rotated 45 degrees on the Z-axis, and a cylinder with a radius of 8mm and a height of 8mm centered at X-30, Y29.75. Add two small rectangular blocks measuring 5mm x 9mm x 8mm, positioned a... | $fn=32;
module bracket() {
difference() {
union() {
rotate([0,0,45]) translate([0,-1,0]) cube([42,42,8]);
translate([-30,29.75,0]) cylinder(h=8,r=8);
translate([-1,-6.5,0]) cube([5,9,8]);
translate([-1,55.5,0]) cube([5,9.5,8]);
}
rotate([0,0,45]) translate([5,-1,-1]) cube([37,37,1... | glb/cad_07ee9ac0765f.glb |
Create a customizable cable tie with a total length of 190mm. The model consists of a head, a main strap, and a tapered leader.
Start with the head, a rounded rectangular block with a width of 9.9mm (1.5 times the strap width) and a height of 6.4mm. Cut a rectangular guide hole through the center of the head to allow ... | include <utils/build_plate.scad>
length = 190;
screwHole = 0;
releaseTab = 0;
tapeWidth = 6.6;
tapeThickness = 1.6;
tapeScale = 0.8;
partCount = 1;
build_plate_selector = 0;
build_plate_manual_x = 100;
build_plate_manual_y = 100;
build_plate(build_plate_selector,build_plate_manual... | glb/cad_8323f97534c0.glb |
Create a universal phone holder dock by starting with a solid rectangular block measuring 70mm in width, 40mm in depth, and 19mm in height. Carve out a rectangular void from the top center of the block to create a cradle. This interior cutout should measure 62mm in width and 14mm in depth, with a total height of 25mm, ... | incdock();
module incdock()
{
rotate ([180,0,0]) difference()
{
cube ([70,40,19]);
translate([4,15,-10])
{
rotate ([-5,0,0]) cube ([62,14,25]);
}
}
} | glb/cad_09524fb8dd00.glb |
Create a handlebar riser for a bicycle by constructing a hollow cylinder. Start with a solid outer cylinder that has a diameter of 46mm and a height of 20mm. Center a second, smaller cylinder within the first one to create a hole, using a diameter of 29mm and a height of 22mm to ensure the inner void completely penetra... | Height = 20;
Detail = 100;
difference ()
{
cylinder(Height, d = 46, $fn = Detail * 3.6, center=true);
cylinder(Height + 2, d = 29, $fn = Detail * 3.6, center=true);
} | glb/cad_a1aff267b70e.glb |
Create a zonk coaster by generating two overlapping sets of thin rectangular strips, each 1mm thick. Each strip must be 0.5mm wide and 80mm long. Arrange the first set of 60 strips by rotating them around a central point in increments of 3 degrees, ranging from 3 to 180 degrees. Create a second identical set of 60 stri... | height1 = 1;
width1 = .5;
radius1 = 40;
xoffset1 = 5;
lines1 = 60;
step = 180 / lines1;
module do_line(angle) {
rotate(angle)
square([width1, radius1 * 2], true);
}
linear_extrude(height= height1) {
for (angle = [step : step : 180]) {
do_line(angle);
translate([xoffset1, 0])
do_line(angle);
}
} | glb/cad_46424fb22d54.glb |
Create a PicoBot Case by starting with a main rounded rectangular block measuring 70mm in length, 55mm in width, and 25mm in height, with corner radii of 5mm. Hollow out the center of this block by removing a smaller rounded rectangular volume that is 4mm smaller in length and width and has the same height.
Add a cyli... | use <roundCornersCube.scad>
$fn=100;
length = 70;
width = 55;
height=25;
axelXPos = -9.6;
difference (){
union (){
difference () {
union(){
roundCornersCube (length,width,height,5);
translate ([-11.5,0,0]){
roundCornersCube (47,54+13,height,5);
}
}
translate ([0,0,1]){
union(){
roundCornersCube ... | glb/cad_0c739623b7e1.glb |
Create a PicoBot Case top cover by starting with a rounded rectangular block that is 71mm long, 61mm wide, and 23mm high, with corner radii of 5mm. Hollow out the interior of this block by removing a smaller rounded rectangular volume from the bottom, leaving a wall thickness of 1mm on the top and sides. The interior c... | use <casebottom.scad>
use <roundCornersCube.scad>
module casetop(){
length = 70;
width = 55;
height=23;
axelXPos = -10.6;
difference () {
union(){
translate ([0,0,0]) {
translate ([2,0,0]) {
roundCornersCube (length+1,width+6,height,5);
}
translate ([-16.5+5,0,0]){
roundCornersCube (37+10,54+13,height... | glb/cad_c2dd3a87d979.glb |
Create a Filament Spool Holder consisting of three stacked concentric cylinders of increasing height and decreasing diameter. Start with a base cylinder 110mm in diameter and 5mm high. On top of this base, center a second cylinder 82mm in diameter and 12mm high. Atop the second cylinder, center a third cylinder 52mm in... | module temp()
{
union()
{
cylinder(r = 55, h = 5);
translate([0,0,5])cylinder(r = 41, h = 12);
translate([0,0,17])cylinder(r = 26, h = 25);
}
}
module screw_hole()
{
union()
{
translate([0,0,3])cylinder(r = 2.5, h = 4);
cylinder(r = 1.5, h = 3);
}
}
difference()
{
temp();
for(i = [1:4])
{
assign(angle = i*90)
rotate(... | glb/cad_835572b1bd8e.glb |
Create a snap-fit Melzi board casing by constructing a rectangular box with an open top. Start with a main body that is 60mm wide, 105mm long, and 2mm thick. The walls should rise 25mm from the base. On the long sides, create a cutout that is 60mm wide and 5mm thick, positioned 102.5mm from the center along the length.... | module melzicoverbox()
union()
{
{
difference()
{
translate([0,52.5,1])cube([60,105,2], center=true);
translate([0,102.5,1.5])cube([60,5,30], center=true);
}
translate([0,105.5,12.5])cube([60,1,25], center=true);
difference()
{
translate([30.5,53,12.5])cube([1,106,25], center=true);
translate([32,65.6,10.5])cube([10,... | glb/cad_e39b35abf519.glb |
Create a snap-fit Melzi board casing top cover. Start by creating a central rectangular base plate measuring 62.5mm wide, 106.25mm long, and 1mm thick, centered on the origin. From this base, extend two vertical walls upward to a height of 25.5mm. The first wall should be 1mm thick and 106.25mm long, positioned along t... | module melzitopcover()
union()
{
{translate([0,-53.125,0.5])cube([62.5,106.25,1],center=true);
difference()
{
translate([31.75,-53.125,12.75])cube([1,106.25,25.5],center=true);
translate([30,-65.315,13.75])cube([10,64.13,20], center=true);
}
translate([0,-106.75,12.75])cube([64.5,1,25.5],center=true);
translate([-31.... | glb/cad_76ca047395e7.glb |
Create a snap-fit Melzi board casing by constructing a shallow open-topped box. Start with a rectangular base plate measuring 60mm wide, 25mm deep, and 1mm thick, centered on the origin. Add two vertical walls, each 1mm thick and 25mm high, positioned at the far left and right edges of the base plate. To refine the str... | module melzicoverbox()
union()
{
{
difference()
{
translate([0,-52.5,1])cube([60,105,2], center=true);
translate([0,-101,1.5])cube([60,8,30], center=true);
}
translate([0,-105.5,12.5])cube([60,1,25], center=true);
translate([30.5,-53,12.5])cube([1,106,25], center=true);
translate([-30.5,-100.5,12.5])cube([1,11,25],... | glb/cad_eaa9c2d05ba5.glb |
Create a snap-fit Melzi board casing top cover. Start by creating a central rectangular base plate measuring 62.5mm by 106.25mm with a thickness of 1mm. To this base, add three vertical walls, each 25.5mm high and 1mm thick. Position one wall along the long edge of the base, centered at 106.75mm along the length. Place... | module melzitopcover()
union()
{
{translate([0,53.125,0.5])cube([62.5,106.25,1],center=true);
translate([31.75,53.125,12.75])cube([1,106.25,25.5],center=true);
translate([0,106.75,12.75])cube([64.5,1,25.5],center=true);
translate([-31.75,101.75,12.75])cube([1,11,25.5],center=true);
}}
melzitopcover(); | glb/cad_2ed1935d3f98.glb |
Create a phone hook for desk dividers by constructing two identical hook shapes and a connecting block. First, create two hooks, each with a width of 10mm and a height of 30mm, positioned one above the other with a horizontal gap of 5mm between them. Connect these hooks with a rectangular block that is 10mm wide, 30mm ... | include <hooks.scad>
z_center_line = hook_width + horizontal_gap_between_hooks/2;
union() {
hook();
translate([0, 0, hook_width + horizontal_gap_between_hooks])
hook();
difference() {
translate([0, hook_outer_edge, -15 + z_center_line])
cube([10, 30, 30]);
translate([-1, hook_outer_edge + 1... | glb/cad_1da9a3e99607.glb |
Create a Laser Diode and Ping Pong Ball Holder. Start by creating a cylinder with a diameter of 40mm and a height of 10mm. Remove a smaller concentric cylinder from the center with a diameter of 15mm and a height of 5mm.
Attached to the side of this main body, construct a support structure for the laser diode. This b... | ball_diameter=40;
sled_width=73.5;
material_thickness=4.8;
board_height=18;
laser_tube_width=6.1;
laser_tube_length=8;
module laser() {
difference() {
cylinder(d=ball_diameter,h=10);
translate([0,0,20.5])
sphere(d=ball_diameter);
translate([0,0,-2.5])
cylinder(d=15,h=5);
}
hull() {
translate([20,0,5])... | glb/cad_0c2ba2e5d719.glb |
Create a projector ceiling mount consisting of a circular base plate and a central hub. Start by creating a main circular plate with a diameter of 90mm and a thickness of 5mm. Centered on this plate, add a cylindrical hub with a diameter of 50mm and a height of 15mm.
From the center of the assembly, remove a cylindric... | use <fillet.scad>
include <MCAD/units/metric.scad>
use <MCAD/shapes/polyhole.scad>
$fa = 1;
$fs = 0.5;
plate_thickness = 5;
plate_d = 90;
hub_d = 50;
hub_thickness = 15;
hollow_d = 25;
hollow_h = 10;
n_holes = 12;
hole_orbit_r = 35;
module fillet2d (r)
{
difference () {
square ([r, r]);
transla... | glb/cad_b8806c1b33a9.glb |
Create a projector ceiling mount plate. Start with a base plate 5mm thick. The plate's outer boundary is the convex hull of three circles, each with a diameter of 14mm, centered at the following coordinates (in mm): [0, 0], [242, 0], and [131.43, 85.88].
At each of these three coordinates, create a cylindrical screw h... | include <MCAD/units/metric.scad>
use <MCAD/general/utilities.scad>
use <MCAD/shapes/polyhole.scad>
use <fillet.scad>
use <arm.scad>
function mm (x) = length_mm (x);
function centroid (a, b, c) = [
(a[0] + b[0] + c[0]) / 3,
(a[1] + b[1] + c[1]) / 3,
(a[2] + b[2] + c[2]) / 3
];
function get_fragments_from_r... | glb/cad_b6ec7649c97b.glb |
Create a nano fidget spinner with a total thickness of 4mm. The main body is a three-lobed shape formed by a central circle with a radius of 10.39mm (radius * sin(60°)) and three additional circles of radius 6mm centered 12mm from the origin, spaced 120 degrees apart.
At the center and at each of the three lobes, cre... | radius = 12;
thickness = 4;
bearing_diameter = 12;
style = "dimples";
bearing_tolerance = 0.3;
bearing_angle = 45;
bearing_chamfer = 0.5;
tolerance_label = false;
bearing_radius = bearing_diameter / 2;
finger_radius = bearing_radius * 0.70;
finger_depth = thickness * 0.2;
bulbous_factor = (style == "bearings" ) ? -0.1 ... | glb/cad_2881539a5596.glb |
Create a snowboard binding degree plate consisting of a tiered circular base with integrated mounting slots and radial grip ridges. Start by constructing a three-layered cylinder: a bottom base cylinder with a radius of 43.025mm and height of 3.2mm, a middle section with a radius of 43.025mm and height of 5.3mm, and a ... | r1=86.05/2;
r2=101/2;
h1=5.3;
h2=3.2;
module degree_plate(){
union(){
translate([0,0,h2])cylinder(h=h1,r1=r1,r2=r2,center=false,$fn=100);
translate([0,0,0])cylinder(h=h2,r=r1,center=false,$fn=100);
translate([0,0,(h1+h2)])cylinder(h=.8,r=r2,center=false,$fn=100);
}
}
r3=20.3/2;
h3=1.04;
l1=60;
module slot_1()
{
$fn=1... | glb/cad_67206c33c58e.glb |
Create a Gentoo logo keychain with overall dimensions of 40mm in length, 43mm in width, and 3mm in height. The main body is a flat extrusion of the Gentoo "g" logo.
To form the keychain hole, create a vertical cutout that passes through the logo. This cutout is centered at a position 57% of the total length from the ... | heightC=3;
lenghC=40;
widhtC=43;
lengh_x=lenghC/5;
widht_y=widhtC/6.4375;
xpos=0.57*lenghC;
ypos=0.85*widhtC;
height_y=heightC*2.667;
zpos=-(heightC*2.667);
module keychain()
{
$fn=30;
dxfile="gentoo.dxf";
total_width = dxf_dim(file =dxfile, name = "total_width");
total_height = dxf_dim(file = dxfile, name = "tota... | glb/cad_2df56eefaf22.glb |
Create a Parametric Tray Grid with an overall height of 25mm. The grid consists of a solid block with rounded outer corners and a radius of 10mm. The total width is 109.5mm and the total depth is 126mm, based on a layout of 3 trays in the x-direction and 4 trays in the y-direction. Each individual tray pocket has an in... | height=25;
width=40;
depth=30;
wall=1.5;
radius=10;
x=3;
y=4;
$fn=200;
total_width = x*width + (x+1)*wall;
total_depth = y*depth + (y+1)*wall;
cr = min(radius, min(x*width, y*depth) / 2);
echo ("Total width of object:", total_width);
echo ("Total depth of object:", total_depth);
module rounded_corners() {
t... | glb/cad_e9d24cafb7dd.glb |
Create a finger claw prop by starting with a base cylinder that has a diameter of 14.5mm and a height of 10mm. From the top of this base, extend a cone that tapers to a sharp point. This conical section should start with a diameter of 15.5mm and reach a total height of 40mm. To achieve the correct orientation, tilt the... | diameter=14;
baseHeight=10;
clawHeight=40;
$fn=100;
difference() {
cylinder(d=diameter+0.5, h=baseHeight);
}
translate([0,0,baseHeight*0.68]) {
rotate([0,20,0])
difference() {
cylinder(d1=diameter+1.5, d2=0, h=clawHeight);
}
} | glb/cad_1a683da26c70.glb |
Create a wheel generator model with an outer diameter of 63mm and a width of 23mm. The outer rim should be a hollow cylinder with a wall thickness of 5mm.
At the center, construct a hub with a total width of 16mm. This hub must feature a central hole for a screw with a diameter of 2mm. Surrounding this screw hole, cre... | outerDiameter = 63;
treadWidth = 23;
treadThickness = 5;
shaftDiameter = 2;
shaftHexDiameter = 6.5;
Hex_deep= 14;
hubThickness = 14;
hubWidth = 16;
keyWidth = 0;
spokeCount = 6;
spokeWidth = 3;
spokeThickness = 13;
$fn = 100;
module regular_polygon(order = 6, r=3.25){
angles=[ for (i = [0:order-1]) i... | glb/cad_79a737ab2134.glb |
Create a miniature Christmas tree with a hanging ring. The tree body is composed of three stacked, coaxial cones, all oriented horizontally along the X-axis. The first and largest cone has a base radius of 10mm and a height of 20mm. The second cone is positioned 9mm along the axis with a base radius of 7.5mm and a heig... | $fn=10;
difference()
{
rotate([90,0,0]) union()
{
color([0,0.8,0]) cylinder (h=20, r1=10, r2=0);
color([0,0.8,0]) translate([0,0,9]) cylinder (h=15, r1=7.5, r2=0);
color([0,0.8,0]) translate([0,0,18]) cylinder (h=10, r1=5, r2=0);
color([0,0.8,0]) translate([0,0,-4]) cylinder (h=5,r1=2,r2=2);
co... | glb/cad_c88276f05a8a.glb |
Create a miniature Christmas tree ornament consisting of a low-poly conical body and a small ring at the base. Construct the main tree body by stacking four 10-sided prisms/cones along a central axis. The primary trunk is a 10-sided cone 20mm long, tapering from a radius of 10mm at the base to 0mm at the tip. Add three... | $fn=10;
difference()
{
rotate([90,0,0]) union()
{
color([0,0.8,0]) cylinder (h=20, r1=10, r2=0);
color([0,0.8,0]) translate([0,0,9]) cylinder (h=15, r1=7.5, r2=0);
color([0,0.8,0]) translate([0,0,18]) cylinder (h=10, r1=5, r2=0);
color([0,0.8,0]) translate([0,0,-4]) cylinder (h=5,r1=2,r2=2);
... | glb/cad_bf7fad77d2b4.glb |
Create a phone holder case for an alarm clock. Start by constructing a hollow casing with a total width of 70mm, a height of 140mm, and a wall thickness of 6mm. The base of this casing should be formed by a hull of three cylinders, each with a radius of 15mm, positioned to create a rounded, elongated triangular footpri... | module phoneHolder(generateNegative){
difference(){
if(generateNegative == false) {
cube([80, 140, 16], center = true);
} else {
cube([80, 170, 16], center = true);
}
if(generateNegative == false){
color("LimeGreen", 0.7){
transla... | glb/cad_288e24ef6dc0.glb |
Create a protective phone case for an iPhone 5 with a wall thickness of 1.8mm. The main body should be a rounded rectangular shell with a tapered side profile for better grip.
On the back panel, create a stencil-style cutout of a custom design. The design is centered on the back and consists of a series of connected ... | primary_color="red";
iphone_version = 2;
case_thickness = 1.8;
type_of_case = 1;
hole=1;
include_hooks="no";
input = [[400,263],[[258.54,15.04],[255.34,15.45],[251.92,16.37],[248.74,17.73],[246.13,19.2],[243.69,21.66],[240.96,25.4],[238.07,28.99],[235.26,31.12],[231.69,31.73],[227,31.69],[222.63,31.14],[219.85,30.5... | glb/cad_af121d9ae919.glb |
Create a Printrbot+ Micrometer Z Adjuster. Start with a main rectangular body measuring 3mm wide, 13mm deep, and 76mm tall. At the bottom of this body, add a rectangular tab measuring 15.8mm wide, 13mm deep, and 3mm tall.
Create a vertical hole through the center of the bottom tab and the main body to accommodate a t... | StemDiameter = 9.5;
RodDiameter = 3.5;
TopAlignerZ = 40;
rotate(a=[90,0,0]) HeadHolder();
module HeadHolder() {
union() {
cube(size = [3.0, 13.0, 76.0], center = false);
difference() {
cube(size = [9.3+6.5, 13.0, 3.0], center=false);
translate([9.3, 6.5, 1.5])
cylinder(h=4, r1=0.55*RodDiameter, r2=0.5... | glb/cad_ddb2b601eea4.glb |
Create a Printrbot+ Micrometer Z Adjuster by constructing a tapered 12-sided polygonal body with a height of 8mm. The base of this body should have a radius of 3mm, tapering outward to a top radius of 4.5mm. Bore a central vertical hole through the entire object with a diameter of 3.2mm to accommodate a threaded rod. A... | MicShaftD = 5;
RodD = 3.2;
PartR = (MicShaftD+4)/2;
$fn=12;
difference() {
cylinder(h=8, r1=PartR-1.5, r2=PartR);
cylinder(h=10, r1=RodD/2, r2=RodD/2);
translate([0,0,4])
cylinder(h=6, r1=MicShaftD/2, r2=MicShaftD/2+0.5);
} | glb/cad_760abd6b98f2.glb |
Create a Yazzo Female Clevis joint. Start with a main body consisting of a cylinder with a radius of 6.95mm and a height of 16mm, topped with a hemisphere of the same 6.95mm radius.
Bore a central hole through the cylinder and into the hemisphere with a radius of 4.3mm. At the center point of the hemisphere, create a... | goldenratio = 1.61803399;
joinfactor = 0.25;
fivesixteenths = 5/16/2*25.4;
halfinch = 0.5*25.4;
gDefaultCapLength = 16;
gDefaultCapIR = 4.3;
gDefaultCapOR = gDefaultCapIR*goldenratio;
gDefaultClevisLength = gDefaultCapOR*2;
gDefaultClevisGap = gDefaultCapIR*goldenratio;
gDefaultPinRadius = 3/2;
clevis(gDefaultClevi... | glb/cad_b22283078ab3.glb |
Create a Calibration Wall by constructing a hollow rectangular prism. Start with a solid outer cube that measures 30mm in length, 30mm in width, and 10mm in height. From this solid, remove a smaller centered rectangular block to create a shell with a uniform wall thickness of 0.35mm on all four sides. The interior cuto... | xlen = 30;
ylen = 30;
zheight = 10;
WallThickness = 0.35;
difference(){
cube([xlen,ylen,zheight]);
translate([WallThickness,WallThickness,-1]) cube([xlen-(2*WallThickness),xlen-(2*WallThickness),zheight+2]);}; | glb/cad_b5800cc56e93.glb |
Create a medicine bottle and pipette clipper. Start by creating a large outer cylinder with a height of 5mm and a radius of 27.5mm. Remove a concentric inner cylinder with a radius of 25mm and a height of 5mm to create a ring. Then, remove a half-cylinder with a radius of 25mm and a height of 5mm from one side of the r... | diamBottle = 50;
diamPip = 10;
height = 5;
thick = 5;
$fn = 100;
union() {
difference() {
cylinder(h=height, r=0.5*(diamBottle+thick));
cylinder(h=height, r=.5*diamBottle);
translate([-.5*diamBottle, 0, 0]) cylinder(h=height, r=0.5*diamBottle);
}
translate([0.5*(diamBottle+diamPip+thick), 0, 0])
differen... | glb/cad_008c3625d585.glb |
Create a Yazzo Male Clevis joint. Start by creating a hollow cylindrical rod cap with an inner radius of 4.3mm and an outer radius of approximately 6.95mm, extending to a length of 22mm.
At the top of this rod, attach a clevis capture mechanism. This consists of a flat disc with an outer radius of 6.95mm and a thickn... | goldenratio = 1.61803399;
joinfactor = 0.25;
fivesixteenths = 5/16/2*25.4;
halfinch = 0.5*25.4;
gDefaultCapLength = 22;
gDefaultCapIR = 4.3;
gDefaultCapOR = gDefaultCapIR*goldenratio;
gDefaultClevisLength =0;
gDefaultClevisGap = gDefaultCapIR*goldenratio;
gDefaultPinRadius = 3/2;
cleviselbow(gDefaultClevisLength, g... | glb/cad_0cda389ab4c6.glb |
Create a customizable glass by constructing a tapered hollow cylinder. Start with a solid outer cone frustum that has a base radius of 50mm, a top radius of 55mm, and a total height of 80mm. To create the interior cavity, remove a smaller concentric cone frustum from the center, starting 1.6mm above the base. This inne... | $fn=400;
thickness = 1.6;
base_thickness = 20;
height=60;
up_radius = 55;
down_radius = 50;
total_height=base_thickness+height;
glass(thickness,base_thickness,total_height,up_radius,down_radius);
module glass(thickness=1.6,base_thickness=16,height=20,up_radius=50,down_radius=50) {
main();
module main()... | glb/cad_4c9d55c23c00.glb |
Create a Pan Tilt Phone Camera mount consisting of three primary structural components: a fixed base, a horizontal support, and a vertical support.
First, construct the fixed base as a rectangular plate 60mm wide, 30mm deep, and 5mm thick. Add two cylindrical protrusions with a 15mm radius and 5mm height at each end o... | pantilt();
module pantilt()
{
translate([35,0,55]) camera_m();
translate([0,0,32.5]) base_v();
translate([-15,0,20]) base_h();
translate([15,0,-30]) base_f();
}
module camera_m()
{
difference()
{
union()
{
cube([36,16,36],center=true);
rotate([90,0,0])
... | glb/cad_dee2c1348110.glb |
Create a Pan Tilt Phone Camera mount consisting of three primary components: a fixed base, a horizontal base, and a vertical base.
First, construct the vertical base. Create a central rectangular block 50mm long, 6mm wide, and 5.2mm thick. At each end of this block, attach a 5mm radius semi-cylinder. To this assembly,... | use <PanTilt_Servo.scad>
module base_v1(length=30)
{
difference()
{
union()
{
cube([length,30,5],center=true);
translate([-length/2,0,0]) cylinder(5,15,15,center=true,$fn=60);
}
translate([-15,0,0]) holer_f();
}
}
module holer_m(length=40, width=20)
{
cube([length... | glb/cad_2884dd9603eb.glb |
Create a Step Block hold-down tool by starting with a rectangular base measuring 26mm wide, 120mm long, and 12.6mm high.
Along the length of the block, create a series of stepped recesses. Each step is formed by removing a profile consisting of a rectangle and a small protruding tab, repeated every 2.698mm along the ... | $fn = 150;
fudge = 0.01;
block_width = 26.00;
block_height = 12.60;
block_length = 120.00;
slot_width = 9.65;
my_scale = .45;
my_x_offset = 1.53;
my_y_offset = 2.698;
translate([-130,0,0])
rotate([0,-90,-90])
Basic_Block(28.00,45.00,74);
module Basic_Block (bw,bl,bh) {
difference () {
cube([bw,b... | glb/cad_09cfd21bda02.glb |
Create a universal microphone clip. Start by forming a main cylinder with a height of 15mm, an outer diameter of 8mm, and a wall thickness of 1.5mm. Hollow out the center with a 5mm diameter hole running the full height. Cut a 6mm wide vertical opening along the length of the cylinder to allow the clip to expand.
Inte... | diam=5;
hauteur = 15;
epaisseur=1.5;
ouverture=6;
def=100;
epaisseur_fixation = 3;
sur_epaisseur = 3;
r_coins_trou=1.5;
$fn=def;
difference(){
union(){
cylinder(hauteur,diam/2+epaisseur,diam/2+epaisseur);
translate([-(diam+epaisseur*2)/2,0,0]) cube([diam+epaisseur*2,diam/2+epaisseur+epaisseur_fix... | glb/cad_ffc3ad770b01.glb |
Create a universal microphone clip consisting of a cylindrical holder mounted on a flat circular base. Start by creating a solid cylinder for the base with a diameter of 30mm and a thickness of 2mm. Centered on this base, construct a vertical hollow cylinder with an outer diameter of 8mm and an inner diameter of 5mm, r... | diam=5;
hauteur = 15;
epaisseur=1.5;
ouverture=6;
def=100;
epaisseur_fixation = 2;
diam_fixation = 30;
$fn=def;
difference(){
union(){
cylinder(hauteur,diam/2+epaisseur,diam/2+epaisseur);
translate([-(diam+epaisseur*2)/2,0,0]) cube([diam+epaisseur*2,diam/2+epaisseur,hauteur]);
}
translate... | glb/cad_7c9f8545e2fb.glb |
Create a PCB magnet support as a tapered cylinder with a total height of 25mm. The base of the support should have an outer diameter of 12mm, tapering linearly to an outer diameter of 5mm at the top.
Carve a central vertical hole through the entire length of the object to accommodate a screw and a magnet. This intern... | height = 25;
magnetOD = 8;
magnetthick = 3;
screwdiam = 2;
screwheaddiam = 3;
screwheadthick = 1;
wallthick = 2;
$fs = $preview ? 1 : .2;
$fa = $preview ? 3 : 2;
epsilon = 0.01;
supportoutrad = (magnetOD+wallthick*2)/2;
supportinrad = magnetOD/2;
supportuprad = magnetOD/2-0.5;
topoutrad = (screwheaddiam+wallthick*2)/... | glb/cad_4800a13adaa4.glb |
Create a Parametric Box maker consisting of six rectangular plates with a material thickness of 4mm. The internal cavity dimensions are 100mm x 100mm x 100mm.
Construct a bottom plate and a top plate, both measuring 108mm x 108mm. Create four side walls: two measuring 108mm x 100mm and two measuring 100mm x 100mm.
Al... | internal_x = 100;
internal_y = 100;
internal_z = 100;
material_z = 4;
screw_outside_diameter = 3;
screw_length = 12;
nut_outside_diameter = 5.5;
nut_height = 2.5;
anchor_count = 3;
tooth_width = 3;
channel_position =70;
part = "assembled";
print_part();
module print_part() {
if (part == "bottom") {
bottom()... | glb/cad_509b49cd88af.glb |
Create an OrdBot Hadron extruder 50mm fan mount consisting of a main body and two articulating arms.
Start with the main body as a rectangular block 55mm wide, 10mm deep, and 20mm high. Carve a semi-circular cutout with a 50mm radius into the front face to accommodate a fan. Drill two horizontal holes for fan screws,... | fan_screwsd = 4.5 / 2;
x_head_screwsd = 4 /2;
fan_screw_height = 7;
mount_z_depth = 20;
mount_x_depth = 55;
mount_y_depth = 10;
left_arm_len = 23;
arm_thick = 3;
arm_x_width = 6;
arm_height = 20 - arm_thick;
arm_length = 30;
plate_length = 120;
plate_thick = 3;
plate_width = 60;
plate_hole_diam = 3;
union() {
body... | glb/cad_b515098851d7.glb |
Create a thread spool consisting of a central cylinder and two wider circular lips at the ends. The main body is a cylinder with a radius of 5.6mm and a total height of 60mm. At both the top and bottom ends, add a circular lip with a radius of 8.8mm and a thickness of 2mm. The transition between the main body and these... | spool_radius = 5.6;
spool_height = 60.0;
lip_radius = 8.8;
lip_height = 2.0;
spindle_radius = 3.6;
$fn=25;
difference()
{
union()
{
cylinder(r=spool_radius, h=spool_height);
cylinder(r=lip_radius, h=lip_height);
translate([0,0,lip_height]) cylinder(r1=lip_radius, r2 = spool_radius, h=lip_height);
transl... | glb/cad_6aca0ec6ba12.glb |
Create a spool holder clamp by starting with a solid cylinder that has a height of 5mm and an outer diameter of 8.5mm. Remove a smaller concentric cylinder from the center with a diameter of 5mm and a height slightly greater than 5mm to create a hollow tube. To finish the part, cut a narrow slot through one side of the... | id=5;
od=8.5;
cut_w=1;
h=5;
$fn=050;
difference(){
cylinder(h=h, r=od/2, center=true);
cylinder(h=h+0.1, r=id/2, center=true);
translate([od/2-cut_w,0,0]){
#cube([od/2,cut_w,h+0.1],center=true);
}
} | glb/cad_17d412093595.glb |
Create a spinning top button with a thickness of 3mm. The main body is formed by two overlapping capsule shapes. Each capsule is created by taking a circle with a diameter of 20mm and extending it along the Y-axis to a total length of 50mm, resulting in a rounded rectangular form with semicircular ends. Position these ... | $fn=99;
button_width=40;
button_length=50;
button_thickness=3;
string_hole_diameter=3;
button_segment_diameter=button_width/2;
button_segment_yoffset=button_length - (button_segment_diameter);
button_segment_cutout_diameter=button_segment_diameter * 1.25;
middle_yoffset=button_segment_yoffset / 2;
middle_xoffset=b... | glb/cad_d23f4835e41c.glb |
Create a customizable name plate by first constructing a rectangular base with dimensions of 40mm in length, 15mm in width, and 3mm in thickness, centered on the origin. On the top surface of this base, add the extruded text "text here" using a sans-serif font. The text should have a height of 2mm and a font size of 7.... | xSize = 40;
ySize =15;
zSize = 3;
textShift = -ySize/6.5;
textHeight= 2;
textSize = 7.5;
myColor = "blue";
myFont = "liberation sans";
module maketag(){
union(){
base();
translate([0, textShift , 0,])
textextrude();
}
}
module textextrude (){
color(myColor) linear_extrude... | glb/cad_d3b459a5abc1.glb |
Create a Concentricity Pusher Pin. Start by creating a cylinder with a radius of 4mm and a total height of 15mm. The bottom section of this cylinder, from the base up to a height of 7mm, should be a smooth cylinder. From the 7mm mark upward, add a threaded section with a diameter of 8mm and a pitch of 1.25mm, extending... | eps = 0.001;
include <..\..\lib\threads.scad>
rPinHole = 3.1;
distPinHoles = 56.5;
offsetPinHoleY = 5.4;
anglePinHole = 19.0;
wPinHole = 3.4;
campherPinHole = 0.7;
rToolPost = 31.0;
offsetToolPostY = 21.0;
lHolder = 89.7;
hHolder = 40.0;
wHolder = 36.2;
campherHolder = 0.7;
hHolderTop = 9.9;
hHolderBottom = 9.9;
dHo... | glb/cad_f996aed9d5ba.glb |
Create a parametric worm gear with a total length of 45mm. Start by constructing a central cylinder with a radius of 10mm. Around this core, create a spiral thread that wraps around the cylinder exactly 3 full turns over the 45mm length. The thread should have a height of 5mm, extending the total radius of the gear to ... | Shaft_Radius = 10;
Drive_Radius = 5;
Worm_Height = 5;
Worm_Width = 15;
No_Turns = 3;
Worm_Length = 45;
Locking_Screw = 1.5;
Resolution = 100;
Worm_radius = Shaft_Radius+Worm_Height;
H=Shaft_Radius+Worm_Height+Worm_Width;
AC = sqrt((H*H)-(Shaft_Radius*Shaft_Radius));
OCA = atan2(Shaft_Radius,AC);
... | glb/cad_6c7b9194b769.glb |
Create a parametric card deck box consisting of a main container and a friction-fit lid. For the main container, create a solid rectangular block measuring 74mm wide, 30mm deep, and 96mm high. Hollow out the center of this block by removing a smaller rectangular volume starting 2mm from the bottom and sides, leaving wa... | module box(w,d,h,wt,c=true,div=false,dd){
union(){
difference(){
cube([w,d,h]);
translate([wt,wt,wt])cube([(w-2*wt),(d-2*wt),h]);
if(c==true){translate([w/2,0,h+5])rotate([-90,0,0])cylinder(r=15,h=d);}
}
}
if(div==true){translate([0,dd,0])cube([w,wt,h-4]);}
}
module lid (w,d,h,wt){
difference(){
union(){
cube... | glb/cad_40fdc03af4ce.glb |
Create a parametric card deck box consisting of a main container and a separate friction-fit lid. For the main container, create a rectangular block measuring 74mm wide, 44mm deep, and 92mm high. Hollow out the center of this block to create a cavity, leaving walls that are 2mm thick on all sides. To allow for easy car... | module box(w,d,h,wt,c=true,div=false,dd){
union(){
difference(){
cube([w,d,h]);
translate([wt,wt,wt])cube([(w-2*wt),(d-2*wt),h]);
if(c==true){translate([w/2,0,h+5])rotate([-90,0,0])cylinder(r=15,h=d);}
}
}
if(div==true){translate([0,dd,0])cube([w,wt,h-4]);}
}
module lid (w,d,h,wt){
difference(){
union(){
cube... | glb/cad_59b43d58e79f.glb |
Create a decorative 3D model consisting of a central cylindrical hub with two symmetrical wing-like extensions.
First, construct the central hub as a thick-walled hollow cylinder with an outer radius of 26mm and a height of 25mm. Inside this hub, remove a smaller concentric cylinder with a radius of 17mm and a height... | union() {
translate(v = [26, 0, 0]) {
difference() {
translate(v = [0, 0, -5]) {
hull() {
translate(v = [9.5000000000, 9.5000000000, 5]) {
translate(v = [0, 0, 2.5000000000]) {
cylinder($fn = 32, center = true, h = 5, r = 3);
}
}
translate(v = [-9.5000000000, 9.5000000000, 5]... | glb/cad_9d0a85da7b65.glb |
Create a steering pin consisting of a central rectangular arm and two identical end caps positioned 50mm apart.
For the central arm, create a rectangular block with dimensions 41mm in length, 8mm in width, and 5mm in height, centered between the end caps.
To construct each end cap, start with a main cylinder 6mm hig... | union() {
translate(v = [0, 0, 6]) {
rotate(a = [0, 180, 0]) {
difference() {
translate(v = [0, 0, 3.0000000000]) {
cylinder($fn = 32, center = true, h = 6, r = 6.0000000000);
}
union() {
translate(v = [0, 0, -0.1000000000]) {
translate(v = [0, 0, 3.1000000000]) {
cylinder($fn =... | glb/cad_a17b7b87bbaa.glb |
Create a Hypercube display platform consisting of two concentric wireframe cubes connected at their corners and a central base plate. First, construct an outer wireframe cube with an external dimension of 100mm and a wall thickness of 5mm. Next, construct an inner wireframe cube with an external dimension of 70mm and a... | ocs= 100;
oct= 5;
ics= 70;
ict= 5;
difference(){
cube(ocs, center=true);
cube([ocs+2,ocs-2*oct,ocs-2*oct],center=true);
cube([ocs-2*oct,ocs+2,ocs-2*oct],center=true);
cube([ocs-2*oct,ocs-2*oct,ocs+2],center=true);
}
difference(){
cube(ics, center=true);
cube([ics+2,ics-2*ict,ics-2*ict],center=true);
cube([ics-2*ict,i... | glb/cad_68152000b844.glb |
Create a Hypercube display platform consisting of two concentric wireframe cubes connected at their corners. First, construct an outer wireframe cube with an external dimension of 100mm and a strut thickness of 5mm. This is achieved by creating a 100mm solid cube and removing three intersecting rectangular prisms of 11... | ocs= 100;
oct= 5;
ics= 70;
ict= 5;
difference(){
cube(ocs, center=true);
cube([ocs+2,ocs-2*oct,ocs-2*oct],center=true);
cube([ocs-2*oct,ocs+2,ocs-2*oct],center=true);
cube([ocs-2*oct,ocs-2*oct,ocs+2],center=true);
}
difference(){
cube(ics, center=true);
cube([ics+2,ics-2*ict,ics-2*ict],center=true);
cube([ics-2*ict,i... | glb/cad_1e40aabba633.glb |
Create a servo mount for a bed level probe consisting of three main sections: a carriage mount, a connector, and a servo base.
Start with the carriage mount, a rectangular block 26.125mm wide, 5.125mm high, and 9.125mm deep with 4mm thick walls. Drill two 3.4mm diameter holes through the center of the width and heigh... | wall_thickness=4;
carriage_mount_width=18.125;
carriage_mount_height=5.125;
servo_width=23.125;
servo_height=12.25;
servo_holes=27;
hotend_distance_from_carriage_top = 58;
servo_arm_length = 32;
connector_length=hotend_distance_from_carriage_top - servo_arm_length*0.75 - carriage_mount_height - wall_thickness*2 - ... | glb/cad_f55439c3e7a4.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.