Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Quadcopter Design base plate. Start by creating a central plate that is a hull of four cylinders, each with a diameter of 6mm and a height of 1.4mm, positioned at coordinates (±40, ±8, 0.7). On this plate, add four small cylinders with a diameter of 5mm and a height of 2.5mm, rotated 45 degrees and centered ar... | module Wedge(x1,x2,yy,zz)
{
rotate([90,0,0])
linear_extrude(height = zz, center = true, convexity = 10)
polygon( points=[[0,0],[x1,0],[x2,yy],[00,yy]] );
}
module WedgeZ(x1,x2,yy,zz)
{
rotate([0,0,90])
Wedge(x1,x2,yy,zz);
}
module WedgeZZ(x1,x2,yy,zz)
{
rotate([0,0,-90])
Wedge(x1,x2,yy,zz);
}
module Base()
{
... | glb/cad_09272276ab62.glb |
Create a quadcopter motor mount. The main body is formed by the hull of four small cylinders, each 8mm in diameter and 0.01mm high, positioned 8.5mm from the center and rotated every 90 degrees (at 45, 135, 225, and 315 degrees). This body is merged with a central cylinder that has a diameter of 12mm (10mm tube outer d... | module quad_motor_mount(d, tm, tube_od, tube_l, tube_t, t2, mode)
{
d2 = d/2;
mode = mode*(tube_od+t2) + tube_od/2 + tm -.2;
difference(){
union(){
hull(){
scale([.9,1,1]) for( i=[0,90,180,270] ){
rotate([0,0,i+45]) hull(){
translate([8.5,0,0]) cylinder(d=8, h=.01, $fn=36);
}
}
tr... | glb/cad_526baa1a3b11.glb |
Create a quadcopter motor mount. Start with a main body formed by the convex hull of four small cylinders, each 8mm in diameter and 0.01mm high, positioned 8.5mm from the center and rotated every 90 degrees (at 45, 135, 225, and 315 degrees). Integrate a central cylinder with a diameter of 12.8mm and a length of 20mm, ... | module quad_motor_mount(d, tm, tube_od, tube_l, tube_t, t2, mode)
{
d2 = d/2;
mode = mode*(tube_od+t2) + tube_od/2 + tm -.2;
difference(){
union(){
hull(){
scale([.9,1,1]) for( i=[0,90,180,270] ){
rotate([0,0,i+45]) hull(){
translate([8.5,0,0]) cylinder(d=8, h=.01, $fn=36);
}
}
tr... | glb/cad_3c7db6339c67.glb |
Create a Linear Rail Gantry system consisting of a shuttle, a guide tube, a rack, and a motor mount.
First, construct the shuttle as a base block 80mm wide by 50mm long and 7.5mm thick. Add two bearing supports: one 18mm wide by 50mm long by 5mm thick on the right, and one 30mm wide by 50mm long by 12mm thick on the l... | bspace = 31/2;
ybase = 42.5;
xbase = 42.5;
holerad = 1.75;
shuttlelength = 50;
shuttlewidth = 80 ;
tubelength = 100;
v608innerdiam = 6;
pi=3.1415926535897932384626433832795;
innerRadius=3.1;
borders=2.5;
diametralPitch=12;
numberOfTeeth=19;
pressureAngle=20*pi/180;
centerAngle=25;
divs = 30;
div = divs;
module r... | glb/cad_cad12de9ff87.glb |
Create a timber deck LED light fitting. Start with a square base plate 30mm wide and 1.5mm thick. Centered on this plate, build a hollow cylinder with an outer diameter of 20mm and an inner diameter of 16mm, extending to a total height of 30mm.
To secure the fitting in wood, add two decorative angled ridges (tori) ar... | LightBase=30;
LightExtDiameter=20;
LightIntDiameter=16;
LightHeight=30;
BurHeight=5;
BurSize=1.6;
LightTopThickness=1.5;
LEDdiameter=5.3;
LEDheight=7.2;
LEDlipdepth=1.1;
LEDlipdiameter=6.3;
LEDaboveTop=0.6;
difference () {
union () {
translate ([-LightBase/2,-LightBase/2,0])
cube ([LightBase,LightBase,Lig... | glb/cad_7d1b467b3993.glb |
Create a parametric end cap for a rectangular pipe. Start by creating a base plate as a rounded rectangular prism with a width of 40mm, a depth of 30mm, a height of 3mm, and corner radii of 3mm.
Centered on top of this base, construct a hollow rectangular plug with an outer width of 36mm and a depth of 26mm (accountin... | width=40;
width=40;
depth=30;
height=3;
plugHeight=17;
plugWall=4;
plugRound=4;
tolerance=0.4;
wall=2;
round=3;
plugDistance=3;
plugDistanceHeight=1;
plugWallSpacer=1;
minWallBlock=15;
plugWidth=width-(2*(wall+tolerance));
plugDepth=depth-(2*(wall+tolerance));
plugWidthReal=width-(2*(wall));
plugDepthReal=depth-(2... | glb/cad_236146faa85f.glb |
Create a Big Bag Clip by combining a central extruded plate with rounded structural bars. Start with a flat profile extruded to a height of 20mm, centered on the Z-axis. To reinforce the structure, add three rounded bars, each with a radius of 2mm. The first bar connects the top-left and top-right points of the profile... | dxffile = "bigbagclip.dxf";
$fn = 100;
radius = 2;
topleft = dxf_cross(file=dxffile, layer="topleft");
topright = dxf_cross(file=dxffile, layer="topright");
bottomleft = dxf_cross(file=dxffile, layer="bottomleft");
bottomright = dxf_cross(file=dxffile, layer="bottomright");
module bar(start, end, radius)
{
offset =... | glb/cad_27b886269f67.glb |
Create a bike light to rack adapter plate. Start with a central rectangular plate 100mm wide, 20.3mm high, and 3mm thick. At each end of this plate, create a semi-circular protrusion with a radius of 10.15mm. Drill two holes completely through the plate, centered on the axis of the semi-circles, each with a diameter of... | bracket_height = 22.25;
tongue_width = 20.6;
tongue_thickness = 3;
base_width = 15.5;
base_thickness = 2.5;
side_thickness = 2.5;
plate_thickness = 3;
plate_width = 100;
plate_height = 20.3;
hole_dia = 5.8 ;
hole_sep = 82 ;
module plate() {
difference() {
union() {
cube(size= [hole_sep, plate_thickness, plate_... | glb/cad_33f37b20ee65.glb |
Create a fastener consisting of a tiered cylindrical base and a top ring. Start by creating a base cylinder with a height of 1mm and a radius of 2.7mm, which tapers slightly to a radius of 2.2mm at the bottom. Above this, add a series of identical 1mm thick discs centered on the Z-axis at heights of 1mm, 3mm, and 5mm. ... | hole_dia = 6.4;
thole_dia = 4.0;
tol = 0.5;
d = 0.01;
module step() {
intersection () {
cylinder(r2=hole_dia/2 + tol, r1=hole_dia/2 - tol, h=1.0+d, $fn=32);
translate([-hole_dia/2+tol, -hole_dia/2-tol, 0]) cube([hole_dia-2*tol, hole_dia+2*tol, 1.0+d]);
}
translate([0, 0, 1.0]) cylinder(r=ho... | glb/cad_187b8a59f486.glb |
Create an endstop limit switch board consisting of a base circuit board, a connector, and a switch mechanism.
Start with a rectangular circuit board measuring 16mm wide, 39.5mm long, and 1.5mm thick. Drill four circular holes with a diameter of 3.8mm, positioned at coordinates (3, 3), (13, 3), (3, 18), and (3, 37).
... | support = "Yes";
leaf_spring_thickness = 0.8;
$fa = 0.1;
$fs = 0.2;
board_width=16;
board_height=39.5;
board_th=1.5;
module circ_board() {
hole_diam = 3.8;
hole_coords = [
[3, 3],
[13, 3],
[3, 18],
[3, 37],
];
difference() {
cube(size = [board_width,
... | glb/cad_2e5b2e00075b.glb |
Create a pair of plain tweezers by constructing two symmetrical, elongated arms. Start with a base shape formed by the intersection of a sphere with a diameter of 70mm, a cylinder with a radius of 35mm and a height of 17.5mm oriented along the Y-axis, and a second sphere with a diameter of 70mm centered at X = -17.5mm.... | l=70;
t=10;
scale([1,1/7,1/7]) intersection()
{ union()
{ sphere(l/2);
rotate([0,-90,0]) cylinder(r=l/2,h=l/4);
translate([-l/4,0]) scale([1/2,1,1]) sphere(l/2);
}
difference()
{ cube([l,l,l/2], center=true);
translate([0,0,-l]) cylinder(r=l/2-t,h=3*l);
translate([... | glb/cad_efa74b82c99e.glb |
Create a plant sign consisting of a rectangular plaque and a supporting stake. Start by creating a solid rectangular plaque 52mm wide by 32mm high with a thickness of 2mm. Hollow out the center of this plaque by removing a rectangular section 50mm wide by 30mm high, leaving a 1mm border around all four edges, but leave... | signWidth=50;
signHeight=30;
textMsg = "Tomate";
textSize = 9;
stickLength = 90;
border = 1;
thickness = 2;
module renderSign(length,height,border,thickness) {
color([0.5,0.5,0.5]){
difference (){
cube(size=[length+(2*border),height+(2*border),(thickness+0.5)],center=false);
translate([bo... | glb/cad_4722f8a6cc14.glb |
Create an IR sensor support for a Miniskybot. Start with a central rectangular block measuring 17mm in length, 53mm in width, and 30mm in height. Attach a smaller rectangular extension to the side, measuring 10mm in length, 47mm in width, and 4mm in height, positioned to align with the bottom edge.
Remove a large rect... | module support (U_width, U_height, U_lenght, IR_width, IR_height, IR_lenght, drill, nut)
{
difference ()
{
union ()
{
cube ([U_lenght, U_width, U_height], center=true);
translate ([U_lenght/2+4, 0, -U_height/2+2]) cube ([10, U_width-6, 4], center=true);
}
translate ([4,0,4]) cube ([U_lenght, U_width-8, U_h... | glb/cad_880d3c16953e.glb |
Create a miniature game tank consisting of a hull, a turret, and two track assemblies.
Construct the hull as a low-poly, faceted block with sloped front and rear panels. The main body should be roughly 40-50mm in length and 20-30mm in width, with a height of approximately 10-15mm. Ensure the front glacis plate is ang... | Generate_Random=0.15;
size=1;
part=1;
style=floor(rnd(1,6.99));
bubble=rnd(-2,3);
gunl=rnd(30,45);
gund=rnd(2,3.5);
gunelev=rnd(0,25);
guns=floor(rnd(1,3.99));
gunstyle1=rnd(0,2);
gunstyle2=rnd(0,2);
gunstyle3=rnd(0,2);
skirtstyle1=rnd(0,2);
skirtstyle2=rnd(0,2);
skirtstyle3=floor(rnd(0,1.999));
skirtstyle4=rnd(1,2... | glb/cad_38c80fdc9cbb.glb |
Create a plant sign consisting of a rounded rectangular plaque and a supporting stake. Start by creating a base plaque 32mm wide by 32mm high with a thickness of 2mm. The plaque should have fully rounded ends; achieve this by centering a cylinder with a 32mm diameter at each end of a 30mm wide by 30mm high rectangle. H... | signWidth=60;
signHeight=30;
textMsg = "Tomato";
textSize = 13;
stickLength = 90;
stickWidth = 5;
border = 1;
thickness = 2;
module renderSign(length,height,border,thickness) {
color([0.5,0.5,0.5]){
difference (){
union(){
cube(size=[length+(2*border),height+(2*border),(t... | glb/cad_0c3cffcde6ab.glb |
Create a rubber duck model by combining several scaled geometric primitives. Start with the body as a sphere with a radius of 15mm, scaled by 2 in X, 1.5 in Y, and 1 in Z. Position a head sphere with a radius of 12.5mm at [20, 0, 20], scaled to 1 in X, 0.95 in Y, and 1 in Z. Add two wing/tail elements by placing sphere... | $fn=60;
difference() {
union() {
scale([2,1.5,1])
sphere (r=15);
translate([20,0,20])
scale ([1,.95,1])
sphere (r=12.5);
translate([-0.5,12.5,2.5])
scale([2.5,1.2,1.5])
rotate([15,20,10])
sphere (r=8.5);
translate([-0.5,-12.5,2.5])
scale([2.5,1.2,1.5])
rotate([15,20,10])
sphere (r=8.5);
differenc... | glb/cad_4bffb6743a3f.glb |
Create a Comb Cable Holder consisting of a mounting support and a cable-organizing comb.
First, construct the mounting support as a flat plate 30mm long, 25mm high, and 5mm thick. The plate's top edge should be rounded with two semicircles of 2.5mm radius at the corners. Center a cylindrical hole with a 2.5mm radius ... | h_w=5.0;
h_h=25.0;
h_e=5.0;
h_l=30.0;
hole_radius=5/2;
c_w=40;
c_e=5.0;
c_s=5.0;
c_n=10;
c_l=(2*c_n+1)*c_s;
$fn=10;
module support_holder() {
difference() {
linear_extrude(height=h_l)
union() {
difference() {
translate([h_e/2,0,0]) hull() {
square([h_w,h_e]);
translate([0.5*h_e,h_h-0.5*h_... | glb/cad_703dc6e8d3e1.glb |
Create a Skymega Sonar DevBoard holder. Start by constructing a hollow rectangular sleeve with outer dimensions of 8mm width, 57mm length, and 36mm height, using a wall thickness of 2mm. This sleeve should be open at the top and bottom, but feature a cutout on one of the long sides that removes a section 4mm wide and 5... | PCBx = 4;
PCBy = 53;
PCBz = 36;
wallThickness = 2;
servoDiameter = 6;
module PCB_Holder(){
difference(){
cube([PCBx + 2*wallThickness, PCBy + 2*wallThickness,PCBz], center = true);
cube([PCBx,PCBy,PCBz], center = true);
translate([PCBx,0,0]){
cube([PCBx,PCBy-2*wallThickness,PCBz], center... | glb/cad_c2ac1abc222f.glb |
Create a Skymega Sonar DevBoard by starting with a base rounded box measuring 90mm by 60mm with a height of 8.8mm and corner radii of 5mm. Centered on this base, remove a rounded rectangular section measuring 52mm by 52mm with a height of 6mm and corner radii of 3mm to create a space for the PCB.
Add two support block... | use <boxes.scad>
difference(){
union(){
translate([45,0,4.4]){
roundedBox([90, 60, 8.8], 5, true);
}
leftSupport();
rightSupport();
}
translate([30,0,6]){
roundedBox([52, 52, 6], 3, true);
}
translate([73,0,15.25]){
servo();
}
}
module leftSupport(){
tr... | glb/cad_159ed93e5b14.glb |
Create an extruder barrel cooling duct designed for a 40x40x26mm fan. The main body is a hollowed shell consisting of a rectangular fan housing that transitions into a tapered circular duct.
The outer geometry begins with a central rectangular block measuring 34.5mm wide, 30mm deep, and 22mm high. Above this, add a f... | duct();
fn = 50;
t = 2;
lf = 40.5;
wf = 40.5;
hf = 26;
f = -9;
module ductoutside()
{
translate([0,-10,0]) cube([34.5,30,22], true);
translate([0,15,42]) rotate([15,0,180])
{
difference()
{
intersection()
{
translate([0,0,-hf/2]) cylinder(hf,34.5/2,40,$fn=fn, true);
translate([0,... | glb/cad_cee170c8736f.glb |
Create a power socket safety plug and removal key consisting of two separate parts. The plug is a flat circular disc with a radius of 20mm and a thickness of 4mm. Centered in this disc is a circular hole with a radius of 3mm and a depth of 5mm. Two prongs extend from the top surface of the disc; each prong is 16mm high... | include <MCAD/boxes.scad>
smooth = 90;
plug_radius = 20;
plug_height = 4;
prong_thickness = 1.6;
prong_height = 16;
prong_width = 6.2;
module prong() {
cube([prong_thickness,prong_width,prong_height]);
translate([0,prong_width/2,0]) rotate([0,90,0]) cylinder(prong_thickness,prong_width/2,prong_width/2,center=fa... | glb/cad_f5f93fe5413b.glb |
Create a printable auger segment by combining a central cylinder and a twisting blade. Start with a cylinder that has a radius of 5mm and a height of 25mm. Around this core, create a square profile of 10mm by 10mm and extrude it to a height of 20mm, applying a full 360-degree twist along the extrusion path to form the ... | module augerpiece() {
difference() {
union() {
linear_extrude(height=20, center=false,twist=360) translate()square(10,10);
cylinder(r=5,h=25);
}
translate([0,-25,-1]) cube([50,50,100]);
translate([0,0,-1])cylinder(r=3,h=30);
translate([-15,0,20]) rotate([0,90,0]) cylinder(r=3,h=30);
translate([-15,0,... | glb/cad_278f322ab42e.glb |
Create a parametric carry handle for a bolt mount. Start by forming the main body as a hull between two cylinders, each with a radius of 20mm and a height of 30mm, positioned 75mm apart along the x-axis. This creates a rounded rectangular slab 30mm thick. Add a rectangular block to the bottom center of this shape, meas... | use <hex_nut.scad>;
OpeningLength = 75;
OpeningHeight = 30;
HandleWidth = 30;
HandleThickness = 5;
FrontLarger = 3;
BottomThicker =1;
BoltWrenchSize = 13.4;
BoltHeadDepth = 6;
BoltRadius = 4.3;
UseSHCS = true;
SocketCapScrewHeadRadius = 6.7;
$fn=60;
difference() {
translate([0,-BottomThicker,0])
hull() {
translat... | glb/cad_98d15e2f698c.glb |
Create a Minecraft Creeper statue by assembling several rectangular prisms. Start with a main body that is 10mm wide, 15mm deep, and 40mm tall. Attach a head on top of the body, centered so it extends 5mm past the body on each side, creating a cube that is 20mm wide, 20mm deep, and 20mm tall. On the front face of the h... | cube([10,15,40],center=false);
difference () {
translate([-5,-3,40]) cube([20,20,20],center=false);
translate([14,0,50]) cube([5,5,5],center=false);
translate([14,10,50]) cube([5,5,5],center=false);
translate([14,5,44]) cube([5,5,6],center=false);
translate([14,2.1,42]) cube([5,3,6],center=false);
translate... | glb/cad_4ccd19127725.glb |
Create a razor blade holder by constructing a vertical cylinder with a radius of 5mm and a height of 100mm, using a 30-facet resolution. Cap both the bottom and top ends of this cylinder with spheres of the same 5mm radius and 30-facet resolution. At the top of the model, create a cutout for the blade by removing three... | module shaver()
{
difference()
{
union()
{
cylinder(r=5,h=100,$fn=30);
translate([0,0,0])sphere(r=5,$fn=30);
translate([0,0,100])sphere(r=5,$fn=30);
difference()
{
translate([0,-7,100]) rotate([0,-40,0]) cube([20,14,4]);
translate([0,4,98]) rotate([0,-40,12]) cube([20,14,8]);
translat... | glb/cad_5e82fb2afb72.glb |
Create a plant sign consisting of a rounded rectangular plaque and a supporting stake.
First, construct the plaque as a flat plate with a total width of 62mm (60mm plus a 1mm border on each side) and a total height of 32mm (30mm plus a 1mm border on each side), with a uniform thickness of 2mm. Round all four corners ... | signWidth=60;
signHeight=30;
radius = 10;
textMsg = "Tomato";
textSize = 9;
stickLength = 90;
stickWidth = 5;
border = 1;
thickness = 2;
module renderSign(length,height,border,thickness,radius) {
color([0.5,0.5,0.5]){
difference(){
union(){
difference (){
cube(si... | glb/cad_5d960ce61005.glb |
Create a dial gauge holder consisting of a main body and a bottom support piece.
For the main body, start with a central block 100mm wide, 9mm deep, and 10mm high. Extend the width to 108mm by adding rounded ends created from the hull of eight spheres with 2mm radii, positioned at x=±54mm, y=±1mm, and z=±2mm. Add two... | module Uhrenhalter()
{
difference()
{
union()
{
cube([100, 9, 10], center = true);
translate([0,0,1.1])
hull()
{
translate([54,-1.0,-2]) sphere(r=2);
translate([54,1.0,-2]) sphere(r=2);
translate([54,-1.0,2]) sphere(r=2);
translate([54,1.0,2]) sphere(r=2);
translate([-54,-1.0,-2]) sp... | glb/cad_d6d709071c36.glb |
Create a parametric peristaltic pump consisting of a housing and a rotor assembly.
First, construct the pump shell as a cylinder with a radius of 50mm and a height of 34mm. Hollow out the center with a smaller cylinder of radius 45mm. Create a pipe entry by removing a section of the shell using the intersection of tw... | include <metric_fastners-0.1.scad>
$fn = 50;
mode = 8;
pipe_od = 10;
pipe_wall = 3;
pump_radius = 50;
outer_edge = 5;
base_thickness =10;
wall_thickness = 2*pipe_od;
bolt_size = 4;
bolt_length = 40;
clearance = 2;
rotor_arms = 4;
shaft_size = 10;
motor_shaft = 5;
landing_height = 5;
landing_width = 30;
entry_an... | glb/cad_3e442490ac98.glb |
Create a headset clip designed to hold a headset behind a monitor. Start by creating a main rectangular U-shaped bracket with a total width of 25mm and a wall thickness of 1.4mm. The base of the U consists of a back plate 25mm deep and 19mm high, with two side walls extending forward.
From this structure, remove a ce... | monD=25;
monF=19;
heaD=10;
heaDiameter = 50;
heaL=6;
width=25;
thick=1.4;
$fn=100;
heaDia= max(width+thick*2,heaDiameter);
function pyth(a,h) = sqrt(h*h - a*a);
difference() {
cube([monD+thick*2,monF+thick,width]);
translate([thick,-0.1,-0.1]) cube([monD,monF+0.1,width+0.2]);
translate([thick+mon... | glb/cad_664029b87169.glb |
Create a dual kitchen hook with a total height of 150mm and a uniform thickness of 5mm. The main body consists of a central vertical bar 5mm wide and 122mm long, positioned centrally. At both the top and bottom ends of this bar, create a semi-circular hook. Each hook is formed by a cylinder with a radius of 14mm and a ... | totalHeight=150;
thickness=5;
hookRadius=14;
figureRadius=14;
hookExt=8;
$fn=100;
module hook() {
union() {
difference() {
cylinder(h=thickness, r=hookRadius);
translate([0,0,-1]) cylinder(h=thickness+2, r=hookRadius-thickness);
translate([-hookRadius,0,-1])
cube([hookRadius*3, hookRad... | glb/cad_585fd37884e3.glb |
Create a chunky, hexagonal faceted bracelet. Start by constructing a thick hollow ring with a width of 20mm, an inner radius of 32.5mm, and an outer radius of 65mm. To create the hexagonal exterior, carve away six symmetrical sections from the outer ring. For each of the six sides, position a large cubic cutting volume... | wristRadius = 32.5;
width = 20;
sides = 6;
angle = 20;
difference() {
translate([0,0,-width/2])
cylinder(h=width, r=2*wristRadius);
translate([0,0,-width/2])
cylinder(h=width, r=wristRadius);
for (i=[0:sides-1]) {
cut(i*360/sides,angle);
cut((i*360/sides)+(360/(2*sides)),-angle);
}
}
module cut(angle1,ang... | glb/cad_1d3ad542a8a0.glb |
Create a helical pen holder by starting with a central cylinder that has a height of 15mm, a mid-section radius of 40mm, and a tapered profile based on a 15-degree pitch. Remove a concentric inner cylinder with a radius of 30mm from the center to create a thick-walled ring.
Around the body of this ring, create 20 eve... | Definition = 100;
Model_Radius = 40;
Internal_Radius = 30;
Height = 15;
Bevel = 5;
Bevel_Angle = 40;
Hole_Number = 20;
Hole_Radius = 4;
Hole_Angle = 20;
Hole_Pitch = 15;
Hole_Distance = 37;
Test = "export";
module penholder(intrad,thickness,height,bevel,bevelangle,holenum,holerad,dist,angle,severity,test){
... | glb/cad_340ca1569599.glb |
Create a Y-Axis endstop limit switch bracer consisting of a rectangular base and two mounting holes. Start with a base block measuring 8.4mm wide, 27.2mm long, and 3.6mm thick.
On the top surface of the base, add a slot boss centered 4mm from the bottom edge. This boss should be 5.2mm wide, 3.2mm high, and 2.4mm deep... | $fa = 0.1;
$fs = 0.2;
base_wd = 8.4;
base_ht = 27.2;
base_th = 3.6;
slotboss_depth = 2.4;
slotboss_wd = 5.2;
slotboss_ht = 3.2;
slotboss_y = 4;
guide_y = 9.2;
topscrew_offset = 19.2;
thruhole_diam = 4.2;
nut_width = 6.0;
catch_depth = 2.4;
module slotboss(coord=[0, 0, 0]) {
translate(coord)
translat... | glb/cad_7a4f69904a56.glb |
Create a fan rotor consisting of a central hub and radiating blades. Start with a central cylinder 12mm high with an outer diameter of 60mm and a wall thickness of 2mm. Hollow out the center of this cylinder to create a ring, leaving a 4.5mm diameter hole through the vertical axis for the axle.
At the base of the hub... | axis_dia = 4.5;
bush_dia = 7.5;
outer_dia = 60;
wall_strength = 2;
difference() {
translate ([0,0,-wall_strength/2])
cylinder(h=12+wall_strength, r=outer_dia/2, center=true);
translate ([0,0,1])
cylinder(h=12, r=outer_dia/2-wall_strength, center=true);
translate([0,outer_dia/2-wall_strength,1])
union() {
... | glb/cad_19aa5a5023c9.glb |
Create an Ikea Ivar Raise consisting of a tapered rectangular block with a hollow center. The overall outer dimensions of the base are 32.2mm by 44.3mm. The main body is a truncated pyramid that rises to a height of 66mm.
At the top of this block, create a rectangular cutout to accommodate the Ivar leg. This cutout i... | H_COVER=3.3;
H_RAISE=0.3*220;
base_thick=4.5;
$fn=70;
GLUE=0.01;
EXTRA=0.2;
R=5/2;
X=32.2;
Y=44.3;
GRADIENT=1/20;
BOTTOM_DELTA=GRADIENT*H_RAISE;
T=2.5;
brim_hight=0.3;
brim_r=6;
brims=[
[+R-T-BOTTOM_DELTA,+R-T-BOTTOM_DELTA],
[X-R+T+BOTTOM_DELTA,+R-T-BOTTOM_DELTA],
[X-R+T+BOTTOM_DELTA,Y-R+T+BOTTOM_DELTA],
... | glb/cad_0ec6c1e574ca.glb |
Create a suitcase handle consisting of a central grip and two identical side pivot attachments.
For the grip, create a rectangular block 119mm long, 21mm wide, and 12mm thick. Modify the grip by adding two semi-cylindrical profiles along its length, each with a 6mm radius, to create a rounded ergonomic surface.
For ... | $fn = 0;
$fa = 0.01;
$fs = 0.2;
hLn = 119;
hWd = 21;
hTk = 12;
dBp = 89;
hHt = 57;
sWd = 15;
hDm = 5;
pLn = 15;
sPc = 0.18;
pAd = 0.01;
translate([-hHt/2-hTk/2,0,hTk])
rotate([-90,0,0])
difference () {
union () {
translate([0,0,hTk/2])
cube([hLn,hTk,hWd-hTk]);
translate([0,hTk/2,hTk/2])
rotate([0,90,0])
cyli... | glb/cad_e172cdda2d57.glb |
Create a suitcase handle consisting of a central grip and two pivoting side supports.
The grip is a horizontal cylinder with a length of 119mm and a diameter of 12mm. This cylinder is encased in a rectangular block that is 21mm wide and 12mm thick, with the cylinder running centrally through the length of the block.
... | $fn = 0;
$fa = 0.01;
$fs = 0.2;
hLn = 119;
hWd = 21;
hTk = 12;
dBp = 89;
hHt = 57;
sWd = 15;
hDm = 5;
pLn = 15;
sPc = 0.1;
pAd = 0.01;
translate([0,0,hTk])
rotate([-90,0,0])
difference () {
union () {
translate([0,0,hTk/2])
cube([hLn,hTk,hWd-hTk]);
translate([0,hTk/2,hTk/2])
rotate([0,90,0])
cylinder(r=hTk/2,... | glb/cad_468c1baf4c3e.glb |
Create a suitcase handle consisting of a central grip and two side supports.
First, create the grip as two identical mirrored halves. Each half is a composite shape: a rectangular block 119mm long, 12mm wide, and 21mm high, with a semi-cylindrical ridge of radius 6mm running the full 119mm length along the top. Remov... | $fn = 0;
$fa = 0.01;
$fs = 0.2;
hHt = 57;
hLn = 119;
hWd = 21;
sWd = 15;
hTk = 12;
hDm = 5;
pLn = 15;
dBp = 89;
sPc = 0.18;
pCl = 0.15;
pWd = 3.75;
pAd = 0.01;
translate([-hHt/2-hTk/2,0,hTk/2])
rotate([-90,0,0])
difference () {
union () {
translate([0,0,hTk/2])
cube([hLn,hTk,hWd-hTk]);
translate([0,hTk/2,hTk/2... | glb/cad_fc531ac61734.glb |
Create a 20x40 extrusion profile with a height of 10mm. The profile is based on a 20mm square cross-section that is mirrored and rotated to create a symmetrical, structural beam.
Construct the cross-section by creating eight identical geometric parts. Each part is a complex polygon that, when combined and rotated at ... | extrusion_profile_20x40(size=20, height=10, smooth=false);
translate ([0,30,0]) extrusion_profile_20x40(20, 10, true);
$fn = 30;
module extrusion_profile_20x40(size=20, height=10, smooth=true) {
linear_extrude(height=height) {
if (smooth) {
difference() {
extrusion_profile_20x40_8_parts(size, smooth=true);
... | glb/cad_9e959879d604.glb |
Create a Window Screen Part corner joint. The part has a thickness of 10.08mm and a width of 13.18mm.
Construct the joint using two identical arms. Each arm consists of a main rectangular body with a length of 25.47mm and a width of 13.18mm. The end of each arm features a bevel that tapers from the full width of 13.1... | shape=0;
style=1;
width=13.18;
depth_to_corner=25.47;
thickness=10.08;
angle=130;
outer_thickness=0;
module end(bevel,width,depth,thickness){
translate([0,-width/2,0]) cube([depth-bevel,width,thickness]);
translate([depth-bevel/2,0,thickness/2]) rotate([0,-90,0]) frustum(thickness,width,thickness-bevel*2,width... | glb/cad_b908e26dfb6d.glb |
Create a capacitive stylus pen. Start with a main body consisting of an octagonal prism with a radius of 10mm and a height of 80mm, centered on the origin. On top of this prism, add an octagonal tapered cap that transitions from a radius of 10mm at its base to 4mm at the top over a height of 20mm.
Create a vertical h... | difference(){
union(){
cylinder(r = 10, h = 80, $fn = 8, center = true);
translate([0,0,50])
cylinder(r1 = 10, r2 = 4, h = 20, $fn = 8, center = true);
}
translate([0,0,60])
cylinder(r = 3, h = 10, $fn = 20, center = true);
translate([0,0,58])
rotate([25,0,90])
cylinder(r = 1, h = 50, center = true);
translate([0,0... | glb/cad_1aee4ac93e90.glb |
Create an umbrella stand consisting of a square base and a tapered cylindrical holder. Start with a square base 50mm wide and 50mm deep with a thickness of 10mm. Centered on this base, create a cylindrical holder that is 50mm tall. The holder should have a tapered exterior, starting with a lower outer diameter of 42mm ... | base_dimension = 50;
base_thickness = 10;
tube_inner = 33;
tube_height = 50;
tube_lower = 42;
tube_upper = 40;
tube_bevel_height = 35;
anchor_hole = 3.4;
screwhead_diameter = 7.8;
slot_width = 2;
slot_depth = 15;
anchor_offset = (base_dimension - 10)/2;
module dd_umbrella_stand(dim,dep,inner,height,lower,up... | glb/cad_4ccec898d987.glb |
Create a Customizable Maze consisting of a base plate and a series of vertical walls. Start with a rectangular base plate that is 2mm thick. The maze is composed of a grid of tiles, where each tile has a width of 5mm.
Construct the walls using a wall thickness of 1mm and a wall height of 5mm. The layout of the walls i... | tile_width = 5;
wall = 1;
wall_height = 5;
plate_height = 2;
mazestring="03,06,02,06,00,02,02,02,02,06,br,05,02,12,04,04,06,02,10,10,12,br,01,09,04,08,08,12,08,08,08,04,br,01,12,04,00,04,00,04,00,08,12,br,01,03,12,12,04,04,08,08,01,04,br,01,09,08,04,04,08,08,08,12,04,br,09,00,12,08,04,08,00,12,00,04,br,01,08,01,08,12,... | glb/cad_2d79792d8374.glb |
Create a chunky bracelet shaped like a hexagonal nut. Start by constructing a hexagonal prism with a height of 20mm and a distance of 130mm between opposite flat sides. Inside this prism, create a centered cylindrical hole with a radius of 65mm.
Within the walls of this cylinder, carve a matching internal screw threa... | include <polyScrewThread.scad>
PI=3.141592;
wristRadius = 32.5;
width = 20;
sides = 6;
angle = 20;
boltDiameter= 2*wristRadius +
4 *
1/tan(60) +
0.3;
intersection()
{
hex_nut(4*wristRadius,
width,
4,
60,
boltDiameter ,
2);
tran... | glb/cad_cd1f3e75598e.glb |
Create a Tesla Model S Mobile Charger Mounting Bracket consisting of a base plate and a vertical wall plate, both with a thickness of 3.175mm. The base plate is a rectangular slab measuring 82.55mm wide by 57.175mm deep. The wall plate is a matching rectangular slab of 82.55mm by 57.175mm, oriented perpendicularly to t... | mm_p_inch = 25.4;
$fs = 0.01;
$fa = 3;
module corner(radius, height, fudge = 0.125) {
half_height = height / 2 + fudge;
full_height = height + fudge * 2;
diam = 2 * radius;
fudge_radius = radius + fudge;
difference() {
translate([-fudge_radius, -fudge_radius, -half_height]) cube([fudge_radi... | glb/cad_31629ce39e34.glb |
Create a Tesla Model S Mobile Charger Mounting Bracket consisting of a vertical wall plate and a horizontal base plate, both measuring 82.55mm by 57.175mm with a thickness of 3.175mm.
For the vertical wall plate, center a vertical slot 4.45mm wide and 12.7mm high, and a circular hole with a 19.05mm diameter. Position... | mm_p_inch = 25.4;
$fs = 0.01;
$fa = 3;
module corner(radius, height, fudge = 0.125) {
half_height = height / 2 + fudge;
full_height = height + fudge * 2;
diam = 2 * radius;
fudge_radius = radius + fudge;
difference() {
translate([-fudge_radius, -fudge_radius, -half_height]) cube([fudge_radi... | glb/cad_a410e8cc0ec6.glb |
Create a domekit strutcap consisting of a spherical head attached to a cylindrical shaft. Start by creating a sphere with a radius of 10mm. Attached to the bottom of this sphere, create a vertical cylinder with a radius of 7.5mm and a total height of 20mm.
Hollow out the center of the entire assembly by removing a co... | ball_radius = 10;
offset = 0;
height = ball_radius*2;
inner_radius = 5.5;
wall_thickness = 2;
shaft_radius = inner_radius + wall_thickness;
nut_diameter = 7.1;
nut_height = 2.8;
nut_depth = 2;
screw_diameter = 3;
collar_height = nut_diameter * 1.5;
collar_radius = ball_radius/2;
pad = 0.1;
module strut_cap() {
m... | glb/cad_9153fb010a48.glb |
Create a domekit geodesic hub. Start with a central cylinder that has a radius of 32mm and a height of approximately 12.36mm (calculated as 20mm divided by the golden ratio).
From this central cylinder, remove six circular holes arranged symmetrically around the perimeter. Each hole must have a radius of 10mm, multip... | disc_radius = 32;
ball_radius = 10;
expansion_factor = 1.11;
goldenratio = 1.61803399;
build_hexagon();
module build_hexagon() {
intersection() {
difference() {
ball_joint(6, ball_radius);
translate([0,0,ball_radius/1.5])
hexagon(disc_radius*0.6, ball_radius*2);
}
edge_work();
}
}
module build_penta... | glb/cad_81ded522ca6d.glb |
Create a rubber doormat fixator by starting with a central cube that is 32mm wide, 32mm deep, and 8mm high, centered on the origin. Remove a vertical cylindrical hole with a diameter of 4mm from the exact center of the cube, extending through the entire height. Additionally, remove four larger vertical cylinders, each ... | len = 32;
heigth = 8;
shift = len/2 + 2;
diam = 22;
difference() {
cube( [len,len,heigth], center=true );
for (i=[0:3]){
rotate([0,0,90*i]) translate([shift,shift,0]) cylinder(h=heigth+2, r=diam/2, $fn=60, center=true);
}
cylinder(h=heigth+2,r=4/2,$fn=30, center=true);
} | glb/cad_f4327d22dbfa.glb |
Create a Y-Axis Belt Tensioner consisting of a rectangular base with integrated mounting blocks. Start with a base plate measuring 31.7mm in length, 50.8mm in width, and 6mm in height. From this base, remove a central rectangular section measuring 23.62mm by 16.26mm, leaving a ledge of 2mm on the bottom side and 1mm on... | Len=28.7+3;
Wid=50.8;
Ht=6;
M5=5.5;
EarsOn=0;
EarHt=.5;
$fn=24;
module DrawEars()
{
translate([0,0,0])
cylinder(d=20,h=EarHt);
translate([Len,0,0])
cylinder(d=20,h=EarHt);
translate([0,Wid,0])
cylinder(d=20,h=EarHt);
translate([Len,Wid,0])
cylinder(d=20,h=EarHt);
}
module Base()
{
di... | glb/cad_295aa695a505.glb |
Create a Y-Idler Insertion Jig for flanged ball bearings. Start with a base rectangular block measuring 15mm wide, 22mm deep, and 2mm high.
Centered on top of this base, add a main body that is 15mm wide, 16mm deep, and 8mm high. Within this main body, create a vertical cylindrical cutout to accommodate a bearing. Th... | $fn=64;
union()
{
translate([0,0,18])
rotate([-90,0,0])
difference()
{
translate([-7.5,0,0])
cube([15,16,8]);
translate([0,0,-.1])
cylinder(d=15,h=1.1);
translate([0,0,.9])
cylinder(d=13,h=6.2);
translate([0,0,7])
cylinder(d=15,h=1.1);
... | glb/cad_1ab919ad5353.glb |
Create a puzzle base by starting with a rectangular block measuring 80mm wide, 100mm deep, and 8mm thick, positioned so its base is 4mm below the origin. Within this block, carve out a grid of square holes, each 4mm wide, 4mm deep, and 4mm high. These holes should be placed at 4mm intervals across the x and y axes, spe... | image_array = [0.5,0.5,0.5, 0.5,0,0.5, 0.5,0.5,0.5];
difference(){
translate([0,0,-4])cube([80,100,8]);
for (xpos=[0:20], ypos = [0:24])
if (image_array[xpos][ypos]==0)translate([xpos*4, ypos*4, 0]) cube([4.001, 4, 4]);
}
translate([110,0,0])sphere(1.8,$fn=100); | glb/cad_264e564bb46f.glb |
Create a Prusa Mendel Faceplate consisting of two mirrored panels. For each panel, start with a base plate 130mm in length.
Within the main body, create two primary cylindrical cutouts with a radius of 6.3mm and a height of 10mm, centered at coordinates (40.25, 9.25) and (11, 60) respectively. Subtract a large centra... | translate([0,40,0]) left_side();
translate([0,-50,0]) right_side();
module left_side()
{
translate([0,-37.5,0])
rotate([0,-90,0])
faceplate(length=130,
vertex_pos=39.5,
clip_size=10,
clip_pos=[59,20,-20],
bar_pos=-8,
motor_pos=-47.5,
... | glb/cad_15d7ba332f68.glb |
Create a Dummy Jumper by constructing a rectangular hollow shell. Start with a solid rectangular block measuring 6.5mm in width, 3.5mm in depth, and 6mm in height. From the center of this block, remove a smaller rectangular section to create a cavity that is 4.5mm wide and 1.5mm deep, extending through the full 6mm hei... | wall=1;
inx=4.5;
iny=1.5;
noGap();
module withGap(){
difference(){
cube([inx+2*wall, iny+2*wall, 6]);
translate([0,wall,0]) for( i=[0,2]){
translate([wall+i*inx/3,0,0]) cube([inx/3, iny,6]);
}
}
}
module noGap(){
difference(){
cube([inx+2*wall, iny+2*wall, 6]);
translate([wall,wall,0]) cube([inx,iny,6]);
}
} | glb/cad_460925719337.glb |
Create a bicycle seatpost light mount consisting of two mirrored clamping halves and a separate light attachment bracket.
For the clamp, create two identical halves that form a split cylinder with an inner diameter of 27.2mm and an outer diameter of 33.2mm, and a height of 17mm. Each half should feature a hinge mecha... | $fs=0.15;
x=19.5;
x2=15.2;
y=32;
z=2.0;
wedgex=6.5;
wedgey=3.3;
wedgez=1.8;
voidx=1;
boltd=6.1;
boltHead=9.9;
nutd=11.5;
nuty=17;
nuth=4.6;
translate([0,1,0]) mirror([ 0, 1, 0 ])bikePart1();
bikePart2();
module lightPart(){
difference(){
union(){
cube([x, y, z]);
translate([(x-x2)/2, 0, 0]) cube([x2, y, 2*z])... | glb/cad_90ee7d1e089b.glb |
Create a refillable water filter cartridge consisting of a main container and a separate cap. For the container, construct a hollow cylinder with an outer diameter of 36mm, a height of 72mm, and a wall thickness of 3mm. The bottom of this container must be a mesh grid formed by the intersection of a 36mm diameter cylin... | module tube(len, dia, thk) {
translate([0, 0, len/2]) difference() {
cylinder(h=len, r=dia/2, center=true);
cylinder(h=len+1, r=dia/2-thk, center=true);
}
}
module mesh() {
intersection() {
cylinder(h=3, r1=18, r2=18);
union() {
for (i = [-6:5]) {
translate([0,i * 3 , 0] ) cube([36, 1.5, 3], center=... | glb/cad_ebf2b28e1a0b.glb |
Create a Home Box by starting with a centered cube that is 50mm on all sides. Remove a cylindrical hole with a diameter of 14mm that passes through the center of the cube from the front face to the back face. Carve out two spheres, each with a radius of 17.5mm, centered at the left and right midpoints of the cube's X-a... | fn = 50;
module homebox()
{
difference()
{
cube(50, true);
translate([25,0,0]) sphere(17.5, $fn=fn);
translate([-25,0,0]) sphere(17.5, $fn=fn);
rotate([0,90,0]) cylinder(60,7,7,true,$fn=fn/4);
for (i = [0:11])
{ rotate([i*360/16,0,0]) cube([60,20,2],true); }
}
}
homebox(); | glb/cad_9b1c0edfaf43.glb |
Create a Reuleaux Triangle keyring with a thickness of 5mm. Construct the main body as a Reuleaux triangle with a constant diameter of 32mm, formed by the intersection of three circles of that same diameter centered at the vertices of an equilateral triangle. From the center of this shape, remove a large circular hole ... | $fa=1/1;
$fs=0.5/1;
main_diameter=32;
keyring_thickness=5;
large_hole_diameter=24;
small_hole_diameter=4;
difference ()
{
intersection_for(a=[0:120:359])
{
rotate([0,0,a])
translate([main_diameter/2,0,0])
cylinder(r=main_diameter,h=keyring_thickness);
};
union()
{
translate ([0,0... | glb/cad_935ff4b70bad.glb |
Create a Low Fastener Mendel vertex bracket. Start with a central block that serves as a mounting hub.
Integrate a NEMA17 motor cutout, which consists of a 42mm square face with a central 12mm radius cylinder and a 6mm radius cylinder extending through it. Add four rectangular slots for screws, each 4mm by 9mm by 20m... | frame_square=80;
plug_len=18;
plug_max_rad=3.3;
plug_min_rad=2.9;
tiers=4;
plug_step=(plug_max_rad-plug_min_rad)/tiers;
tier_ht=plug_len/tiers;
plug_etch=0.5;
case_min_rad=10.7/2;
case_wall=3.5;
case_max_rad=case_min_rad+case_wall;
ridges=4;
include <xbox.scad>
include <mendel_misc.inc>
module rtangle_prism(rap_x,r... | glb/cad_0f0e2c1cb7ae.glb |
Create a Dual Extruder mount for a Prusa i3 with a total width of 61.5mm. Start with a base rectangular plate 61.5mm wide, 25mm deep, and 5mm thick. On top of this base, add a mounting block that is 61.5mm wide, 20mm deep, and 15mm high, positioned 5mm from the front edge.
Create two symmetrical mounting sections for ... | width = 61.5;
$fn=100;
relative_difference = 0.0;
module xCarriageMountClamp()
{
difference()
{
union()
{
translate([5,15,15])
cylinder(r=5, h=5, $fn=80);
translate([56.5,15,15])
cylinder(r=5, h=5, $fn=80);
hull()
{
color("red")
translate([5.00,5,15])
cube([51.4,1... | glb/cad_07bd5b0e2728.glb |
Create a T-slot clip for a 20mm extrusion. The main body consists of two mirrored legs and a connecting top bridge. Each leg is a rectangular block 5mm wide, 11.2mm tall, and 2mm thick. Position these two legs parallel to each other with a gap of 5.25mm between them. Connect the legs at the top with a rectangular bridg... | tSlot_gap=5.25;
tSlot_inner_lip=3.35;
tSlot_depth=6.3;
tSlot_lip_depth=1.5;
tSlot_lip_edge_2_corner=7.37;
tSlot_lip_underside_2_base=4.7;
cHeight=11.2;
cThickness=2;
cWidth=5;
cLipDepth=3;
cLipHeight=4;
cLipTopHeight=3;
cLipTopDepth=4.5;
fWidth=10;
rotate([0,270,0])
union() {
clip_leg();
translate([0,tSlot_gap,0])
... | glb/cad_a4e120a837bb.glb |
Create a 3D model of a Pentagonal Icositetrahedron, a Catalan solid. The final shape should be scaled by a factor of 30. Construct the polyhedron using 24 identical faces, where each face is an irregular pentagon. The geometry is defined by 39 vertices and 24 faces, arranged such that the resulting solid is a dual of t... | module catalan()
{
polyhedron(
points = [
[-0.0901145455692, 0.897162863386, -0.432409719167],
[-0.178545630569, 0.424185153461, -0.821572663221],
[-0.539658582967, 0.1914827141, -0.747593613937],
[-0.780444845146, 0.329345205445, -0.411376721392],
[-0.621420613433, 0.677753807834, -0.203173385881],
... | glb/cad_2db7892d6fe8.glb |
Create a Copy Cat Cracker Cutter consisting of a central cylinder with a radius of approximately 12.73mm and a height of 100mm, centered on the origin. Around the surface of this cylinder, add a series of embossed geometric shapes that form a repeating cat tessellation pattern.
The cat shape is defined by a 2D polygo... | use<path_extrude.scad>;
cat_poly = [
[0,0],[6,-4],[11,-4],[16,0],[19,-9],[19,-13],
[14,-20],[14,-28],[6,-32],[6,-34],
[21,-35],[25,-38],[25,-40],
[18.5,-41.5],[-18.5,-38.5],
[-25,-40], [-25,-42],[-21,-45],
[-35,-45], [-40,-40],
[-35,-35], [-35,-21],
[-34,-6], [-32,-6], [-28,-14],[-20,-14],
[-13,-19],... | glb/cad_339b2d708fe6.glb |
Create a Filament Odometer consisting of a base housing and a series of gear wheels.
First, construct the numbered wheels. Each wheel is a cylinder with a diameter of 35mm and a height of 11mm (composed of a 1.5mm base, a 10mm central body, and a 1.5mm top cap). On the outer face of each wheel, emboss the digits 0-9 ... | include <write/Write.scad>
PrintMode=0;
WheelDia=35;
Over1=1.5;
Shaft=2.1;
Format=10;
res1=25;
res2=50;
res3=100;
Pi=3.141592653589793238462643382795;
WheelWidth=(Pi*WheelDia)/Format;
Digits=3;
Seperation=5;
Clearance1=1.5;
Spacing=Clearance1*4+WheelWidth+Over1*4+Seperation;
Units=10;
SideWidth=Over1*2;
... | glb/cad_84abe8548b67.glb |
Create a coin holder for Israeli currency. The model consists of a solid base with a height of 4mm and a series of six vertical cylindrical tubes extending upwards to a total height of 60mm.
The tubes are arranged in a linear row. Each tube is a hollow cylinder with a wall thickness of 2mm. The inner diameters of the... | part = "il";
gap = 30;
d_wall = 2;
h_base = 4;
h_indent = 0;
h = 60;
tolerance = 0.5;
tol = tolerance;
r_us_coin = [(24.26 + tol) / 2,
(21.21 + tol) / 2,
(19.05 + tol) / 2,
(17.91 + tol) / 2];
r_us_all_coin = [(30.61 + tol) / 2,
(26.49 + tol) / 2,
... | glb/cad_c024e9bf8375.glb |
Create a 3D printed Braille display chassis. The main body is a rectangular block with a length of 50mm and a width based on the number of Braille cells (calculated as `numCells * 7.5 + 6mm`).
Within this chassis, create a series of vertical pin holes arranged in a Braille grid. Each pin hole consists of a lower cyli... | include <polyScrewThread_r1.scad>
d2dH=2.5;
d2dV=2.5;
c2c=7.5;
l2l=10;
dotDia=1.5;
dotH=0.7;
numCells=1;
edgeWidth=3;
scale=1;
smooth=25;
sprngDia=2;
sprngL=4.5;
wireChanDia=0.5;
sprngPreL=.75;
sprngRetL=3;
sprngRetW=0.15;
barH=7.5;
barW=1.8;
barXL=15;
barRailRad=1;
gearAng=30;
gearStep=2;
gearUCR=0.75;
barTolW=0.3... | glb/cad_6fa08e036fa6.glb |
Create a Raspberry Pi Wall Mount consisting of a rectangular base plate and four corner mounting posts.
Start with a base plate centered at the origin with dimensions 61.4mm wide by 91.4mm long and 2mm thick. Cut a rectangular hole through the center of this plate measuring 49.4mm by 81.4mm. At the center of each of ... | PCB_WIDTH = 56;
PCB_BREADTH = 86;
PCB_HEIGHT = 1;
PCB_CLEARANCE = 4;
PCB_EDGE_CLIP = 2;
MOUNT_SIZE = 6;
MOUNT_EXTRA = 4;
FUDGE_FACTOR = 0.3;
BASE_PLATE_WIDTH = PCB_WIDTH + (2 * (MOUNT_SIZE - FUDGE_FACTOR - PCB_EDGE_CLIP));
BASE_PLATE_BREADTH = PCB_BREADTH + (2 * (MOUNT_SIZE - FUDGE_FACTOR - PCB_EDGE_C... | glb/cad_4e8ec6b00359.glb |
Create a Printrbot Plus V1 Y Belt Tensioner consisting of two separate components. First, create a main L-shaped block. This block is formed by combining three rectangular prisms: one measuring 8x32x39mm, one measuring 37x8x39mm, and one measuring 5x7.5x39mm, all aligned to form a single cohesive body. From this main b... | $fn = 50;
difference(){
union(){
cube([8,32,39]);
cube([37,8,39]);
translate([14.5,8,0])cube([5,7.5,39]);
};
translate([28,0,10])rotate([-90,0,0])cylinder(10,2.5,2.5);
translate([28,0,29])rotate([-90,0,0])cylinder(10,2.5,2.5);
translate([0,20,10])rotate([0,90,0])cylinder(10,2.5,2.5);
translate([0,20,29])rotate([0,9... | glb/cad_f4e82773a959.glb |
Create a MicroMacro mechanical keyboard case consisting of a main hollow housing and a separate lid.
Construct the main housing as a rectangular box with an outer width of 21mm, depth of 26.5mm, and height of 22.5mm. Hollow out the center to create walls: the side walls should be 3mm thick and the front/back walls 2m... | switch_width = 14.1;
height = 22.5;
depth = 26.5;
width = 21;
long_wall_thickness = 3;
short_wall_thickness = 2;
usb_width = 7.5;
usb_depth = depth;
usb_height = 2;
usb_height_offset = 6;
top_thickness = 2;
bottom_padding_width = 3;
bottom_padding_depth = 3;
bottom_padding_height = 1;
switch_hole_iteratio... | glb/cad_e0f223072b85.glb |
Create a city model starting with a rectangular base measuring 70mm by 50mm with a height of 5mm. On this base, place several rectangular blocks of varying sizes: one 10mm cube at position (5, 5, 0), a 15mm by 10mm block with a height of 35mm at (5, 35, 0), a 10mm by 15mm block with a height of 25mm at (25, 10, 0), and... | cube([70,50,5]);
translate([5,5,0]) cube(10);
translate([5,35,0]) cube([15,10,35]);
translate([25,10,0]) cube([10,15,25]);
translate([25,33,0]) cube([10,10,25]);
translate([27,11,15]) cube([6,30,5]);
translate([53,18,0]) cylinder(r=15, h=15);
translate([45,40,0]) cylinder(r=5, h=20);
translate([60,40,0]) cylinder(r=... | glb/cad_78fb6513f17f.glb |
Create a PV layer holder by starting with a rounded cuboid base measuring 88mm in length, 64mm in breadth, and 10mm in height, with corner radii of 4mm.
Carve three distinct rectangular cutouts into the top surface. First, create a central PV cell cutout measuring 52mm by 52mm with a depth of 2mm. Second, create a PC... | a_bit=0.1;
clearance=1;
wall_t=3;
separation=3;
pv_l=48;
pv_b=52;
pv_h=2;
pcb_l=30;
pcb_b=35;
pcb_h=8;
post_d1=2.5;
post_d2=post_d1;
post_d3=2;
post_h=3;
post_x1=2;
post_y1=33;
post_x2=28;
post_y2=33;
post_x3=15;
post_y3=9;
scap_l=23;
scap_b=15;
scap_h=5;
total_l=pv_l+pcb_l+separation+4*clearance+2*wall_t;
total_b... | glb/cad_ec9e9633e50d.glb |
Create a PV layer holder by starting with a rounded cuboid base measuring 91mm in length, 73mm in breadth, and 6mm in height, with corner radii of 4mm.
Carve three distinct rectangular cutouts into the top surface. First, create a central PV cell cutout measuring 55mm by 64mm with a depth of 2mm. Second, create a PCB... | a_bit=0.1;
clearance=1;
wall_t=3;
separation=3;
pv_l=49;
pv_b=58;
pv_h=2;
pcb_l=30;
pcb_b=35;
pcb_h=5;
post_d1=2.5;
post_d2=post_d1;
post_d3=2;
post_h=3;
post_x1=2;
post_y1=33;
post_x2=28;
post_y2=33;
post_x3=15;
post_y3=9;
scap_l=23;
scap_b=15;
scap_h=5;
total_l=pv_l+pcb_l+separation+4*clearance+2*wall_t;
total_b... | glb/cad_8bafc60aef05.glb |
Create a PV layer holder fixture with a total height of 6mm. Start with a main body as a rounded cuboid with a length of 88mm and a width of 72mm, featuring rounded corners with a radius of 4mm. To ensure stability during printing, add four cylindrical "mouse ear" pads with a diameter of 20mm and a height of 0.7mm, pos... | a_bit=0.1;
clearance=1;
wall_t=3;
separation=3;
z_resolution=0.35;
mouse_ear_diameter=20;
pv_l=49;
pv_b=58;
pv_h=2;
pcb_l=30;
pcb_b=35;
pcb_h=5;
post_d1=2.5;
post_d2=post_d1;
post_d3=2;
post_h=3;
post_x1=2;
post_y1=33;
post_x2=28;
post_y2=33;
post_x3=15;
post_y3=9;
scap_l=23;
scap_b=15;
scap_h=5;
total_l=pv_l+pcb_... | glb/cad_821845c6d0f1.glb |
Create a PV layer holder fixture. Start with a main rounded cuboid body with a total height of 6mm. The body should have rounded corners with a radius of 4mm. At the four corners of the base, add cylindrical "mouse ear" pads with a diameter of 20mm and a height of 0.7mm.
Carve three distinct compartments into the top ... | a_bit=0.1;
clearance=1;
wall_t=3;
separation=3;
z_resolution=0.35;
mouse_ear_diameter=20;
pv_l=49;
pv_b=58;
pv_h=2;
pcb_l=30;
pcb_b=35;
pcb_h=5;
post_d1=2.5;
post_d2=post_d1;
post_d3=2;
post_h=3;
post_x1=2;
post_y1=33;
post_x2=28;
post_y2=33;
post_x3=15;
post_y3=9;
scap_l=23;
scap_b=15;
scap_h=5;
total_l=pv_l+pcb_... | glb/cad_7f6621061d77.glb |
Create a PV layer holder fixture with a main body that is 6mm tall. The overall footprint is defined by a rounded rectangle with a total length of 61mm and width of 70mm. At the four corners of the base, add cylindrical "mouse ear" tabs with a diameter of 20mm and a height of 0.7mm.
Carve three distinct compartments i... | a_bit=0.1;
clearance=1;
wall_t=3;
separation=3;
z_resolution=0.35;
mouse_ear_diameter=20;
pv_l=49;
pv_b=58;
pv_h=2;
pcb_l=35;
pcb_b=30;
pcb_h=5;
post_d1=2.5;
post_d2=post_d1;
post_d3=2;
post_h=3;
post_x1=2;
post_y1=33;
post_x2=28;
post_y2=33;
post_x3=15;
post_y3=9;
scap_l=20;
scap_b=22;
scap_h=10;
total_l=pv_l+pcb... | glb/cad_9a3df455c920.glb |
Create a rucksack strap retainer by starting with a central rectangular plate measuring 50mm in length, 30mm in width, and 2mm in height, centered on the origin. At each of the four corners of this plate, add a cylinder with a 10mm diameter and a 2mm height, centered so that the center of each cylinder aligns with the ... | length = 50 ;
width = 30 ;
height = 2 ;
diameter = 10 ;
thickness = 5 ;
difference(){
union(){
cube( size = [ length, width, height], center = true) ;
translate( [ length/2, width/2, 0] ){
cylinder( h = height, d = diameter, center = true) ;
... | glb/cad_72750b18304e.glb |
Create a Hexagonal Floating Platform with Pylons. Start by constructing a hexagonal platform with a radius of 100mm and a thickness of 2mm.
Create six pylon caps to be positioned at the vertices of the hexagon. Each cap is a cylinder with a radius of 15mm and a height of 15mm. Remove a central cylindrical core from e... | coin_diameter = 23;
coin_thickness = 2;
pylon_height = 140;
platform_radius = 100;
$fn = 128+0;
fit = 0+0;
part = 1;
module pylon (height=pylon_height)
{
difference ()
{
union ()
{
cylinder (r=1.5+coin_diameter/2,h=height,center=true);
translate ([-3,coin_diameter/-... | glb/cad_301ea7a17bf7.glb |
Create a rowing boat hull by combining a sphere with a radius of 60mm and a cylinder with a radius of 60mm and a length of 150mm, oriented along the Z-axis. Hollow out the center of this combined shape by removing a sphere with a radius of 54mm and a cylinder with a radius of 54mm and a length of 62mm. Additionally, re... | difference(){
union(){
sphere(60,$fn=50);
rotate([90,0,0])
cylinder(150,60,60,$fn=50);
rotate([90,0,0])
translate([0,0,150])
cylinder(2,60,60,$fn=50);
translate([0,-153,-60])
cylinder(50,4,4,$fn=50);
}
sphere(54,$fn=50);
rotate([90,0,0])
translate([0,0,0])
cylinder(62,54,54,$fn=50);
rotate([90,0,0])
translate([0,0... | glb/cad_aecbc50e3902.glb |
Create a geometric model consisting of a primary cylindrical base and an attached vertical pillar. Start by creating a cylinder with a radius of 10mm and a height of 10mm. Centered on top of this base, add a second, wider cylinder with a radius of 25mm and a height of 3mm. Position a sphere with a radius of 4.5mm at th... | difference(){
union(){
cylinder(8,10,10,$fn=130);
translate([-10,0,0])
cylinder(25,3,3,$fn=130);
translate([-10,0,24])
sphere(4.5,$fn=130);
}
translate([-10,0,22])
cylinder(10,2.9,2.9,$fn=130);
translate([0,0,-1])
cylinder(30,1.5,1.5,$fn=130);
rotate([0,90,0])
translate([-4,0,-15])
cylinder(30,1.5,1.5,$fn=130);
tra... | glb/cad_42cc6a81ebfd.glb |
Create a rowing boat model by combining a hull and a machine housing. Start with the hull as a cylinder with a radius of 54mm and a height of 15mm, oriented horizontally. Position a rectangular machine housing block measuring 100mm by 20mm by 110mm, centered at coordinates -24, -16, -55.
To finalize the shape, remove... | difference(){
union(){
rotate([90,0,0])
translate([0,0,0])
cylinder(15,54,54,$fn=50);
}
translate([-24,-16,-55])
cube([100,20,110]);
rotate([0,0,15])
translate([-60,-20,-12])
cube([40,20,24]);
} | glb/cad_527b160c4918.glb |
Create a rowing boat hull and motor platform. Start with a rectangular base platform measuring 68mm by 28mm with a thickness of 5mm. Centered on this base, add a rectangular housing measuring 20mm by 28mm with a height of 21mm. On the sides of this housing, attach two vertical supports, each 4mm wide and 28mm deep, ext... | difference(){
union(){
translate([-34,-109,-30])
cube([68,28,5]);
translate([5,-109,-30])
cube([20,28,21]);
translate([5,-109,-30])
cube([4,28,41]);
translate([-10,-109,-30])
cube([4,28,41]);
translate([-14,-109,-30])
cube([4,28,25]);
rotate([0,90,0])
translate([-11,-95,-10])
cylinder(4,14,14,$fn=130);
rotate([0,90,... | glb/cad_67b09334dced.glb |
Create a rowing boat model by combining several geometric components. Start with a main hull base consisting of a rectangular block 150mm long, 2mm wide, and 10mm high. Attached to the front of this base, add a smaller rectangular block measuring 40mm wide, 2mm deep, and 20mm high, positioned at coordinates (0, 0, -5).... | difference(){
union(){
cube([150,2,10]);
translate([0,0,-5])
cube([40,2,20]);
translate([150,4,5])
sphere(6,$fn=50);
}
translate([150,4,5])
sphere(5,$fn=50);
translate([-5,-20,-10])
cube([200,20,50]);
rotate([0,90,0])
translate([-5,4,152])
cylinder(10,4.5,4.5,$fn=50);
translate([146,-2,5])
cube([40,20,0.5]);
transla... | glb/cad_55189cde3641.glb |
Create a rowing boat model by combining a rectangular base with a vertical support. Start with a base formed by the union of two blocks: one measuring 17mm by 25mm by 2mm, and a second perpendicular block measuring 2mm by 25mm by 17mm.
From this combined structure, remove a rectangular section measuring 10mm by 4mm b... | difference(){
union(){
cube([17,25,2]);
cube([2,25,17]);
}
translate([-3,11,4])
cube([10,4,20]);
translate([12,8,-0.5])
cylinder(3,1.5,3,$fn=130);
translate([12,18,-0.5])
cylinder(3,1.5,3,$fn=130);
} | glb/cad_dba73a92692a.glb |
Create a square window frame with an outer dimension of 15mm by 15mm and a thickness of 2mm. Construct the outer border by placing four identical L-shaped frame sections at each corner. Each section should be a rectangular block 15mm long, 2mm wide, and 2mm thick, with a 15-degree angled cutout removed from the inner e... | module framepart(l,h) {
difference(){
cube([l,h,h]);
translate([-h,h,-h])
rotate([15,0,0])
cube([l+2*h,2*h,3*h]);
}
}
module bar(l,h) {
difference(){
cube([l,h,h]);
translate([-h/2,h+h/4,-h])
rotate([15,0,0])
cube([l+2,2*h,3*h]);
translate([l+h/2,-h/4,-h])
rotate([15,0,180])
cube([l+2... | glb/cad_75c514c9a986.glb |
Create an AA Battery Box designed to hold 6 cells. The main body is a rectangular enclosure with a base measuring 66mm by 90mm and a height of 10mm. Inside, create 6 cylindrical cradles for the batteries, each with a radius of 7.5mm, spaced 15mm apart center-to-center along the length.
At the ends of the box, incorpo... | Cell_Count = 6;
Mounting_Hole_Height=75.8;
Mounting_Hole_Width_Offset=5;
Mounting_Hole_Diametre=5.3;
Mounting_Flange_Thickness=5;
$fs = 0.01;
$fn = 30;
module fillet(r, h)
{
translate([r / 2, r / 2, 0])
difference()
{
cube([r + 0.01, r + 0.01, h], center = true);
translate([r/... | glb/cad_6e2ebf8e6f9c.glb |
Create a Twisted Key Fob consisting of a flattened, open-loop ring that twists around a central rectangular section.
The main body is based on a ring with a cross-section of a circle with a 2mm radius, scaled by 3 in the X and Z axes and 1.4 in the Y axis. This ring is not a closed loop but is interrupted to form a c... | text_line_1 = "twisted" ;
text_line_2 = "key fob" ;
text_line_3 = "example" ;
text_line_4 = "print" ;
show_lines = 2 ;
initial_text_angle = 0 ;
font_family_choice = 3 ;
font_family_choice = 3+0 ;
font_style = "Bold" ;
adjust_length = 0 ;
center_twist = 180 ;
text_surface_height = 0.8 ;
text_surface_twist = 0 ;
ring_... | glb/cad_ec0294dba654.glb |
Create a holder for extra screens consisting of a flat base plate with two vertical mounting brackets. Start with a rectangular base plate measuring 166mm in width, 120mm in depth, and 5mm in height.
At the two rear corners of the base, add two vertical rectangular brackets. Each bracket should have an outer dimensio... | $fn=100;
$y1=58;
$x1=-43;
{
translate([$x1,$y1,15]) rotate(-10,[0,1,0])
difference(){
cube([19,12,30],center=true);
cube([13,6,50],center=true);
}
}
{
translate([$x1+2.6,$y1,0]) cube([19,12,5],center=true);
}
$y2 = 56.5;
$x2=56;
{
translate([$x2,$y2,20]) rotate(0,[1,0,0])
difference(){
cube([12,19,35],center=true);
c... | glb/cad_fe31d2be0bb7.glb |
Create a ceramic knife cover with a total length of 85mm and a width of 25mm. The cover is a hollow shell with a wall thickness of 3mm. The internal cavity is designed to fit a blade that is 3mm thick, with an additional 0.2mm of clearance added to the internal dimensions.
The cross-section of the cover is not a simpl... | a_bit=0.1;
clearance=0.2;
blade_l=85;
blade_w=25;
blade_t=3;
wall_t=3;
iterations=100;
difference(){
rotate(a=7, v=[0,1,0]){
difference(){
union(){
for (i = [0:iterations]) {
translate ( [(i/iterations)*(blade_w+2*wall_t), 0, 0] ) cube (size=[ (blade_w+2*(clearance+wall_t))/iterations, (blade_t+2*(cl... | glb/cad_367a85df21ff.glb |
Create a parametric socket wrench with a total length of 150mm and a thickness of 10mm. The main body consists of a central rectangular section 15mm wide, flanked by two circular ends. Each end is formed by a cylinder with a radius of 15mm and a height of 10mm, centered at opposite ends of the tool.
At the center of ... | drive1 = 6.35;
drive2 = 12.7;
tolerance = 0.2;
tolDrive1 = drive1 - tolerance;
tolDrive2 = drive2 - tolerance;
D = 15;
M = D/2;
H = 10;
Ltot = 150;
L = Ltot-2*(D/2+M);
union()
{
difference() {
union() {
translate([0,L/2,H/2]) {
cylinder(r = (D/2+M), h = H,center = true);
}
translate([0,-L/2,H/2... | glb/cad_b99998b5ef78.glb |
Create a Simplified Tiger Tank in N scale (1:160). The model consists of a main body, tracks, and a turret.
For the body, create a lower hull using a hull operation between a cube of 28mm x 14.1mm x 5.1mm and a cube of 40mm x 14.1mm x 3.4mm. Add an upper body section as a cube of 34mm x 17.7mm x 4.5mm centered at [ -6... | include<henriks_generic_modules.scad>
x=1000/(160);
length_with_gun=8.45*x;
length=6.316*x;
width_with_tracks=3.72*x;
height_to_hull=1.78*x;
height_to_cupola=3.00*x;
cannon_outer_diam=3*0.088*x;
wheel_diam=height_to_hull*0.5;
lower_wheel_1_x=length*0.30;
lower_wheel_2_x=length*0.10;
lower_wheel_3_x=-length*0.10;
lo... | glb/cad_bef24437b2b2.glb |
Create a Simplified Tiger Tank in N scale (1:160) using the following geometric specifications. All dimensions are scaled by a factor of $m = 1000/160$.
Construct the hull by combining three centered boxes: a base measuring $0.95L \times 0.75W \times 0.1H$ (where $L=5.84m$, $W=2.62m$, and $H$ is the height to the hull... | include<henriks_generic_modules.scad>
m=1000/(160);
axle_margin=0.2;
axle_radius=2;
axle_length=6;
length_with_gun=5.84*m;
length=5.84*m;
width_with_tracks=2.62*m;
height_to_cupola=2.65*m;
wheel_diam=0.7*m;
turret_pos=0.5*m;
length_of_cannon=1.4*m;
height_to_hull=height_to_cupola*0.72;
turret_height=height_to_cupola... | glb/cad_1a5d3327c683.glb |
Create a Simplified Tiger Tank in N scale (1:160). The model consists of a hull, tracks, and a turret.
For the hull, create a base by combining three centered boxes: a bottom box (length 4.15mm, width 1.85mm), a middle box (length 4.18mm, width 2.00mm, height 0.15mm), and a top box (length 2.51mm, width 1.85mm). Add a... | include<henriks_generic_modules.scad>
m=1000/(160);
length_with_gun=5.84*m;
length=6.68*m;
width_with_tracks=3.00*m;
height_to_cupola=2.45*m;
wheel_diam=0.8*m;
turret_pos=length*0.05;
length_of_cannon=3*m;
height_to_hull=height_to_cupola*0.66;
turret_height=height_to_cupola-height_to_hull;
cannon_outer_diam=0.25*m;
... | glb/cad_81a0ee232a98.glb |
Create a Simplified Tiger Tank in N scale (1:160) using the following geometric specifications. Use a base scale factor of $x = 1000/160$ for all dimensions.
First, construct the chassis. Create a central body by positioning a rectangular block of $0.8\text{length} \times 0.6\text{width\_with\_tracks} \times 0.5\text{... | include<henriks_generic_modules.scad>
x=1000/(160);
length_with_gun=9.670*x;
length=7.69*x;
width_with_tracks=3.75*x;
height_to_cupola=2.99*x;
height_to_hull=height_to_cupola*2/3;
cannon_outer_diam=3.5*0.088*x;
wheel_diam=height_to_hull*0.5;
lower_wheel_1_x=length*0.33;
lower_wheel_2_x=length*0.22;
lower_wheel_3_x=... | glb/cad_4d50d830d423.glb |
Create a Simplified Tiger Tank in 1:160 N scale.
First, construct the hull. Create a lower body using a hull operation between a box of 4.42mm x 2.23mm x 0.89mm and a box of 6.32mm x 2.23mm x 0.54mm. Add an upper body box of 5.36mm x 2.80mm x 0.71mm centered slightly rearward. On the top surface, add a small driver's... | include<henriks_generic_modules.scad>
m=1000/87;
length_with_gun=8.45*m;
body_length=6.316*m;
width_with_tracks=3.72*m;
height_to_hull=1.78*m;
height_to_cupola=3.00*m;
turret_pos=body_length*0;
height_of_turret=1.1*m;
cannon_extra_diam=1;
cannon_inner_diam=0.088*m;
cannon_outer_diam=1.75*cannon_inner_diam+cannon_ext... | glb/cad_6b7f0ad49cbe.glb |
Create a medal by starting with a base cylinder that has a radius of 50mm and a thickness of 6mm. Within this base, create a second concentric cylinder with a radius of 40mm and the same 6mm thickness. To add the profile detail, import a 3D bust model and scale it to 30% of its original width along the X-axis. Position... | radius=40;
thickness=6;
edge=10;
rotate([0,-90,0])
union()
{
rotate([0,-90,0])
cylinder(h=thickness,r1=radius+edge,r2=radius+edge);
intersection()
{
rotate([0,90,0])
cylinder(h=thickness,r1=radius,r2=radius);
translate([0,0,-radius-15])
scale([0.3,1,1])
import_stl("BreTest01_lowpoly.STL");
}
} | glb/cad_aa3761c96d6a.glb |
Create a medal by starting with a large cylinder 80mm in diameter and 11mm thick. Remove a smaller concentric cylinder from the center that is also 80mm in diameter but 11mm thick, leaving a raised outer rim 10mm wide. Within the center of this ring, place a 3D profile of a human head bust. The bust should be scaled an... | radius=40;
thickness=11;
edge=10;
rotate([0,-90,0])
union()
{
rotate([0,-90,0])
translate([0,0,1])
difference()
{
translate([0,0,-thickness/2-1])
cylinder(h=thickness+1,r1=radius+edge,r2=radius+edge);
translate([0,0,-thickness/2-2])
cylinder(h=thickness/2+2,r1=radius,r2=radius);
}
intersection()
{
r... | glb/cad_77d29fa99991.glb |
Create an eccentric spacer consisting of a combined cylindrical and hexagonal body. Start with a central cylinder that has a diameter of 8mm and a total height of 11mm. Around the bottom 7.5mm of this cylinder, construct a hexagonal prism with a flat-to-flat width of 14.4mm. Apply a 1mm chamfer to the top and bottom ed... | use <MCAD/shapes/polyhole.scad>
include <MCAD/units/metric.scad>
$fs = 0.4;
$fa = 1;
min_wall_thickness = 1;
neck_length = 3.5;
outer_length = 7.5;
chamfer_thickness = 1;
eccentricity = 1;
bore_d = 5;
clearance = 0.3;
neck_d = 8;
total_thickness = outer_length + neck_length;
hex_ac_width = neck_d * 1.8;
hex_af_wid... | glb/cad_ecb89d029ced.glb |
Create a nylon roller 4-wheel carriage. Start with a rounded rectangular base plate 7mm thick. The plate's width is 58mm (40mm wheel separation plus 18mm for spacers) and its length is 70mm (60mm wheel separation plus 10mm for spacers).
In this base, create four through-holes for eccentric spacers, each with a diamet... | use <MCAD/array/along_curve.scad>
use <MCAD/array/mirror.scad>
use <MCAD/shapes/boxes.scad>
use <MCAD/shapes/polyhole.scad>
use <MCAD/shapes/2Dshapes.scad>
use <MCAD/shapes/triangles.scad>
use <MCAD/fasteners/nuts_and_bolts.scad>
include <MCAD/units/metric.scad>
use <utils.scad>
min_wall_thickness = 5;
wheel_separatio... | glb/cad_e8a376815ab2.glb |
Create a Minimalist Wobbler toy by constructing a thick, ring-like disc with a total height of 3mm and an outer diameter of 36mm. The main body is a cylinder with a central hole 26mm in diameter. To create the wobbling motion, modify the outer edge of the disc by removing two symmetrical semi-circular sections from the... | outer_diameter=36;
hole_diameter=26;
thickness=3;
$fn=96;
facet=0.5;
height=thickness;
radius=outer_diameter/2;
iradius=hole_diameter/2;
sradius=radius-iradius+1;
slot=sradius;
x1=2;
y1=sqrt(pow(5,2)-x1);
difference() {
union() {
difference() {
cylinder(h=height,r=radius);
translate ([-x1,-y1,0]) differ... | glb/cad_6dd06e1b19ad.glb |
Create an adjustable Y-axis opto end stop. Start with a central rectangular block measuring 15mm wide, 20mm deep, and 15mm high. Add two semi-cylindrical protrusions with a radius of 7.5mm and a height of 15mm, one centered on the front face and one on the back face, to round the ends of the main body.
On the side of... | layer_thickness=0.3;
hole_1=4.2;
hole_2=3.2;
hole_3=1.7;
size_1=7.5;
size_2=20;
size_3=8;
size_4=9.8;
size_5=10;
size_6=9;
hight_1=15;
hight_2=5;
hight_3=10;
hight_4=7*layer_thickness;
resolution=50;
module body(){
cube(size = [2*size_1,size_2,hight_1]);
translate([size_1,0,0])
cylinder(h=hight_1,r=size_1, $fn... | glb/cad_3e9e0ef513bc.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.