Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a basic cylinder with a radius of 1.5mm and a length of 40mm. The cylinder should be constructed with a facet resolution of 32 sides to define its circular cross-section. Orient the cylinder so that its length extends along the Y-axis. | $fn = 32;
radius = 1.5;
height = 40;
num = 1;
for (i=[0:num-1]) {
translate([0, i*(radius * 3),0])
rotate([0,90,0])
cylinder(r=radius, h=height);
} | glb/cad_ab8f919d8c0c.glb |
Create a parametric wire shelf with a width of 50mm and a depth of 20mm. The shelf consists of a rectangular outer frame with a height of 5mm. At each of the four corners, create a vertical cylindrical sleeve with an outer radius of 2.55mm and an inner hole radius of 1.75mm to accommodate support poles.
The interior o... | width = 50;
depth = 20;
numShelves = 1;
postRadius = 1.5;
wireSize = 1.2;
wireGap = 2;
splitGap = 0.5;
shelfH = 5;
wallThick = 0.8;
clearanceR = 0.25;
outerR = postRadius + wallThick + clearanceR;
innerR = postRadius + clearanceR;
$fn = 32;
module shelf(w, d) {
difference() {
difference() {
differenc... | glb/cad_0ed238c37288.glb |
Create a simple spool holder base. Start with a flat rectangular platform 100mm long, 20mm wide, and 5mm thick. At each end of this platform, center a circular foot with a radius of 20mm and a thickness of 5mm. Connect these two feet with the main rectangular body.
At the outer edge of each circular foot, construct a ... | spool_r = 100;
spool_w = 70;
spool_lip = 5;
double_m4_washers = 1.65;
bearing_w = 5;
bearing_gap = double_m4_washers + bearing_w;
bearing_id = 4.1;
bearing_r = 6.5;
base_thickness = 5;
fudge = 0.01;
module spool(){
$fn=180;
rotate([90,0,0])
cylinder(r=spool_r,h=spool_w);
}
module base_sides(){
tr... | glb/cad_a201624c90d5.glb |
Create a parametric container with outer dimensions of 120mm in length, 80mm in width, and 50mm in height. The container consists of five walls—a bottom and four sides—each with a thickness of 3mm.
Each wall is constructed as a solid plate with a 10mm wide frame around the perimeter. Within the interior area of each ... | box_x = 120;
box_y = 80;
box_z = 50;
frame = 10;
thickness = 3;
bottom_angle = 45;
sides_angle = 45;
pad_heigth = 0.5;
pad_radius = 10;
struts_number_x = 7;
struts_number_y = 7;
struts_number_z = 7;
struts_width = 3;
bo_thickness = thickness;
bo_frame = frame;
bo_struts_wid... | glb/cad_0802a48d8ebb.glb |
Create a funnel with a total height of 140mm. Start by constructing a conical main body that tapers from a base radius of 80mm up to a top radius of 5.5mm over a height of 90mm. This body should be hollow, with a wall thickness of 4mm. At the narrow top of the cone, attach a cylindrical hose connector with an outer rad... | $fn = 90;
trichter_h = 90;
aussen_r = 80;
wand = 4;
stoepsel_h = 50;
stoepsel_aussen_r = 5.5;
stoepsel_wand_r = 1.8;
difference() {
union () {
rotate([90,0,0]) {
difference() {
cylinder(2*aussen_r, 15, 15, true);
cylinder(2*aussen_r-10, 16, 16, true);
}
cylinder(2*aussen_r-10,... | glb/cad_78555f3ddbd8.glb |
Create a Logo Stamp consisting of a tapered linear extrusion of a specific geometric logo.
First, define the 2D profile of the logo. The outer boundary is a complex polygon defined by the coordinates provided in the "Outer" and "BlockM" modules, while the inner void is defined by the "Inner" polygon coordinates.
Co... | fudge = 0.1;
module Inner(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-25.025380,30.000000],[-40.025380,30.000000],[-40.025380,5.000000],[-0.025380,45.000000],[39.520310,5.505080],[40.025380,30.000000],[25.025380,30.505080],[25.025380,49.494920],[90.025380,49.494920],[... | glb/cad_4fb5edec3916.glb |
Create a bevel gear for a steering gear assembly. The gear should have 10 teeth, a large radius of 15.75mm, a small radius of 12mm, and a total height of 15mm. The face width of the teeth is 16mm, with a pressure angle of 30 degrees and a clearance of 1.0mm. The center of the gear must have a bore diameter of 10mm.
At... | use <MCAD/polyholes.scad>
use <MCAD/involute_gears.scad>
show_debugging_cube = false;
show_BevelGear = true;
layer_h = 0.3;
nozzle_d = 0.3;
de = 0.1;
fn_hole = 12;
P301 = 10;
P302 = 31.5/2;
P303 = 24/2;
P304 = 15;
P305 = P302/P301*360;
P310 = P304 / (P302-P303);
P311 = P302 * P310;
P312 = 10;
echo ("bevel gear par... | glb/cad_4b2d8861ff51.glb |
Create a Customizable Scope Camera Adapter consisting of two concentric cylindrical sections. First, create a base cylinder with a radius of 27.5mm, a height of 17mm, and a wall thickness of 2mm, leaving a hollow center with a radius of 25.5mm. Attached to the bottom of this base, create a second cylindrical section wi... | $fn=100 * 1;
eyepieceLength = 17;
eyepieceRadius = 25.5;
eyeRelief = 0;
cameraRadius = 13.8;
cameraLength = 18;
cameraMicRadius = 5;
thickness = 2 * 1;
height = eyeRelief + cameraLength;
rotate([180,0,0]) {
difference() {
union() {
cylinder(eyepieceLength, eyepieceRadius + thickness, eyepieceRadius + thic... | glb/cad_9cd50fe7c630.glb |
Create a raised glass bed holder by starting with a rectangular block measuring 20mm wide, 20mm deep, and 11mm high, featuring rounded corners with a 1mm radius. Carve a rectangular slot into the top of the block to hold a 4mm thick piece of glass; this slot should be 7.2mm wide and 16mm long, centered along the depth ... | use <boxes.scad>
difference () {
roundedRect([20, 20, 11], 1, $fn=22);
translate([0, 2, 4]){roundedRect([7.2, 16, 4], 1, $fn=22);}
translate([7.2, 2, 4]){roundedRect([11, 16, 4], 1, $fn=22);}
translate([4, 4, 9]) { cylinder (h = 4, r=3, center = true, $fn=100); }
translate([4, 4, 3.2]) { cylinder (h =3.2... | glb/cad_b982cc52cb11.glb |
Create a raised glass bed holder by starting with a rounded rectangular block measuring 20mm wide, 20mm deep, and 11mm high, with corner radii of 1mm. From this main body, remove a central rectangular slot measuring 7.2mm wide, 16mm deep, and 4mm high, positioned 2mm from the front edge. Additionally, remove a second r... | use <boxes.scad>
translate([0,0,11]){
rotate([0,180,0]){
difference () {
roundedRect([20, 20, 11], 1, $fn=22);
translate([0, 2, 4]){roundedRect([7.2, 16, 4], 1, $fn=22);}
translate([7.2, 2, 4]){roundedRect([11, 16, 4], 1, $fn=22);}
translate([4, 4, 9]) { cylinder (h = 4, r=3, center = true, $fn=100); }
transl... | glb/cad_2a8ba77fb05a.glb |
Create a Microscope Slide Case consisting of a rectangular base and a hinged lid. Construct the base as a solid block measuring 79.5mm in length, 29mm in width, and 20mm in height. Carve out a central rectangular cavity starting 3mm from the bottom, with dimensions of 79.5mm by 23mm by 25mm. Within this base, create tw... | union()
{
difference()
{
translate([0,0,0])cube([79.5,29,20]);
translate([5,3,3])cube([79.5,23,25]);
translate([0,24,13.8])cube([79.5,3.5,3.3]);
translate([0,2,13.8])cube([79.5,3.5,3.3]);
translate([0,3,13])cube([5,23,10]);
translate([1.5,1.5,7]){cube([79.5,26,1.8]);}
}
translate([3,5,13])rotate(a=[0,0,0]){cube([... | glb/cad_612a2b72b124.glb |
Create a pegboard customizable round hook consisting of a mounting assembly and a curved hanging rod.
First, construct the mounting assembly using a rod with a diameter of 5mm. Create a vertical section of this rod that is 25mm long. At the bottom of this section, add a 5mm diameter rod extending 8mm (the sum of the ... | round_diameter = 30;
extra_rod = 5;
TwoHoles = 25;
GrossRodDiameter = 5;
GrossThicknessOfPegboard = 3;
$fn = 60;
SquareFactor = 0.9;
HookRound(RoundDiameter = round_diameter, ExtraRod = extra_rod);
module License()
{
echo("Created by Bolukan (3dmodel@bolukan.nl), 2017");
echo("Licensed under the Creati... | glb/cad_28bf09dac9cc.glb |
Create a cell scraper consisting of a long handle and a flat scraping head. Start by creating a handle that is a cylinder 150mm long with a diameter of 5mm. At one end of this handle, attach a scraping head. The head is formed by a flat, rounded shape with a total width of 25mm and a thickness of 5mm. The profile of th... | sd=25;
ht=5;
hl=150;
xw=0.4;
gr=sqrt((sd)*(sd)/4+ (sd*sd)/4) ;
$fn=20;
rotate([90,0,45]){
rotate([0,90,0]){
linear_extrude(height=ht/2-xw, center=true) translate([0,sd/2-ht/2]){
difference(){
hull(){
circle(d=sd, $fn=60);
translate([sd/5,... | glb/cad_f83674b2963c.glb |
Create a cell scraper consisting of a long handle and a specialized scraping head. Start by forming the handle as a rounded rectangular prism with a thickness of 6mm and a total length of 200mm, ending in a circular cap with a 6mm diameter. At the front end, construct the scraping head by creating a flat, blade-like sh... | sd=25;
ht=6;
hl=200;
xw=0.4;
gr=sqrt((sd)*(sd)/4+ (sd*sd)/4) ;
$fn=20;
rotate([90,0,45]){
linear_extrude(height=ht/3-xw, center=true) translate([0,sd/2-ht/2]){
difference(){
hull(){
circle(d=sd, $fn=60);
translate([sd/5,ht/2-sd/2]) circle(d=ht);
... | glb/cad_870280a2177d.glb |
Create a cell scraper tool with a total length of 120mm and a thickness of 2mm. The main body is a flat handle 100mm long and 5mm wide. At one end of the handle, create a rounded tip by forming a hull between a 5mm diameter circle and a 5mm square. At the opposite end, construct a scraping tip by creating a hull betwee... | sl=100;
sw=5;
tpd=3;
tpw=10;
tpl=20;
st=2;
xw=0.4;
difference(){
linear_extrude(height=st){
hull(){
translate([-sl/2-tpl,-sw/2]) square(sw, $fn=24);
translate([sl/2,0]) circle(d=sw, $fn=24);
}
difference(){
translate([-sl/2-tpl,0]) circle(d=sw*2, $fn=24);... | glb/cad_712defc56390.glb |
Create a Splitable Bahtinov Mask consisting of a circular plate with a diameter of 235mm and a thickness of 2mm.
At the center, create a circular hole with a diameter of 70mm. Around this center hole, construct a series of precise slots (gaps) oriented at 30 degrees. These slots are arranged in a specific Bahtinov pa... | part = "all";
focus = 1000;
aperture = 203;
outer_Diameter = 235;
mask_Height = 2;
center_Hole_Diameter = 70;
outer_Height = 10;
inner_Height = 0;
split_Distance = -1;
bahtinov_factor = 150;
slot_Size = 0;
central_bars_width = 0;
slots_Orientation = 30;
split_layer_width = 0.3;
outerDiameter = outer_Diame... | glb/cad_afd8044c9046.glb |
Create a Jump Motor Base by constructing a solid rectangular base measuring 20.5mm in width, 25mm in depth, and 5mm in height. On the left and right sides of this base, add two identical vertical walls. Each wall must be 3mm wide, 25mm deep, and 15mm high, positioned so they extend upwards from the base and align perfe... | $fn=120;
cube([20.5,25,5]);
translate([-3,0,0])
cube([3,25,15]);
translate([20.5,0,0])
cube([3,25,15]); | glb/cad_f19679b7c944.glb |
Create a wall spacer for the Chrome Offline T-Rex Game. Construct the object by combining two concentric cylinders. First, create a wide, short base cylinder with a radius of 5mm and a height of 0.6mm. Centered on top of this base, add a taller cylinder with a radius of 3.3mm and a height of 11mm. Finally, remove a sma... | $fn = 120;
difference() {
union() {
cylinder(h=0.6, r=5);
cylinder(h=11, r=3.3);
}
cylinder(h=11, r=2);
} | glb/cad_7a2cdf3753bf.glb |
Create a wall mount for the Chrome Offline T-Rex Game. Start by creating a rectangular base block 20mm wide, 10mm deep, and 5.2mm high, centered on the X-axis. From this base, remove a central semi-circular cutout with a radius of 6.5mm and a depth of 2mm (leaving a wall thickness of 3.2mm), and extend this cutout into... | $fn=120;
width = 5.2;
wall_width = 3.2;
difference() {
translate([-10,-4,0])
cube([20,10,width]);
translate([0,4.1,width-wall_width])
union() {
cylinder(h=wall_width+1, r=6.5);
translate([-6.5,0,0])
cube([6.5*2,6.5,wall_width+1]);
}
translate([0,4,-0.5])
cylinder(h... | glb/cad_d10071fea56d.glb |
Create a bearing holder for the Chrome Offline T-Rex Game. Start with a base rectangular plate measuring 39.12mm in width, 14mm in depth, and 1mm in height.
On top of this base, add a central block that is 7.78mm wide, 14mm deep, and 13mm high, positioned 23.78mm from the left edge. This block must have two vertical ... | $fn=120;
base_height = 1;
nyloc_nut_hole_r = 7.8/2+1;
nyloc_nut_depth = 5;
hole_spacing = 9.78;
side = 0;
module nyloc_mount(depth=10) {
translate([0,depth,0])
rotate([90,0,0])
difference() {
cube([10,13,depth]);
translate([5,6,0])
cylinder(r=nyloc_nut_hole_r,h=nyloc_nut_depth,$fn... | glb/cad_78b612cc1d17.glb |
Create a motor mounter for the Chrome Offline T-Rex Game. Start with a base rectangular block measuring 14mm in width, 5.4mm in depth, and 10mm in height. From this base, remove a rectangular section at the outer edge by cutting a block 6mm wide and 12mm deep, rotated 45 degrees along the Z-axis.
Add three vertical s... | $fn=60;
side = -1;
rotate([90,0,0]) {
translate([0,0,7 * side])
union() {
translate([8,5.3,0])
intersection() {
rotate([0,0,-40])
cube([6,12,10]);
cube([6,12,10]);
};
translate([8,0,0])
cube([6,5.4,10]);
translate([0,0,... | glb/cad_3ef5b98cd70a.glb |
Create a bar mount for the Chrome Offline T-Rex Game. The overall structure is a rectangular block with a total width of 31.34mm, a height of 44mm, and a depth of 12mm. The main body is composed of a base plate 12mm deep and 6mm thick, with an additional upper section 4mm thick and 12mm deep, creating a total depth of ... | $fn=120;
nyloc_nut_hole_r = 7.8/2+1;
nyloc_nut_depth = 5;
hole_spacing = 9.78;
total_width = 2+hole_spacing*3;
height = 44;
bar_height = 4;
module nyloc_mount(depth=10) {
translate([0,depth,0])
rotate([90,0,0])
difference() {
cube([10,12,depth]);
translate([5,6,0])
cylinder(r=nylo... | glb/cad_1b7efeb7bdbd.glb |
Create a jump mechanism cap for a T-Rex game. Start with a rectangular base measuring 50mm in width, 13mm in depth, and 13mm in height. At the center of this base, create a raised rectangular block that is 17mm wide, 13mm deep, and extends 16mm upward from the base.
Within this central raised block, create a horizont... | $fn=120;
pole_radius = 8/2;
pole_distance = 36.3;
width = 50;
depth = 13;
cap_tickness = 3;
hole_depth = 10;
module copy_mirror(vec=[0,1,0]) {
children();
mirror(vec) children();
}
copy_mirror([1,0,0])
translate([-17/2, -depth/2,cap_tickness+hole_depth])
difference(){
union() {
cube([17/2, depth, ... | glb/cad_e20f77a5d4f8.glb |
Create a cylindrical container for the Chrome Offline T-Rex Game project with an outer radius of 49.15mm and a total height of 38mm. The main body is a hollow cylinder with a wall thickness of 2.5mm. At the base, create a recessed inner floor by removing a cylinder from the center with a radius of 45.15mm and a height ... | $fn=240;
inner_radius = 25/2;
inner_brim_width = (46-25)/2;
outer_radius = 98.3/2;
brim_height = 2;
height = 38;
difference() {
cylinder(r=outer_radius, h=height);
translate([0,0,-0.5])
cylinder(r=outer_radius-4, h=2);
translate([0,0,1])
cylinder(r=outer_radius-2.5, h=height-1+0.5);
}
differenc... | glb/cad_b48cd06b1122.glb |
Create a Cactus Carrier by first forming a rectangular base 40mm long, 9mm wide, and 10mm high. Attach a semi-cylinder to one end of the base with a radius of 4.5mm and a height of 10mm, such that the curved face extends outward from the 9mm width of the base. On the top surface of this combined shape, center a rectang... | $fn=260;
body_length = 40;
body_width = 9;
body_height = 10;
hole_length = 11.5;
hole_width = 1.8;
hole_depth = 5;
difference() {
union() {
cube([body_length,body_width,body_height]);
translate([0,body_width/2,0])
cylinder(r=body_width/2,h=body_height);
}
translate([(body_length... | glb/cad_2b71bf969229.glb |
Create a Jump Motor Mount for a T-Rex game. Start with a rectangular base measuring 25mm in width, 13.16mm in depth, and 6mm in height. From this base, remove a central rectangular section that is 40.3mm wide, 13.16mm deep, and 4mm high, centered on the base.
Within the remaining outer sections of the base, create tw... | $fn=120;
module copy_mirror(vec=[0,1,0]) {
children();
mirror(vec) children();
}
pole_radius = 8/2;
bearing_radius = 22.16/2;
bearing_distance = 36.3;
width = bearing_radius + 2;
translate([-25/2, -width/2,0])
cube([25, width, 6]);
difference() {
translate([-(bearing_distance+22)/2, -width/2,0])
cub... | glb/cad_e521463d6201.glb |
Create a bearing shaft spacer for the Chrome Offline T-Rex Game. Construct a hollow cylinder with an outer radius of 3.5mm and a total height of 7mm. Remove a concentric inner cylindrical core with a radius of 2.5mm and a height of 7mm to create a tube with a wall thickness of 1mm. Ensure the circular profiles are smoo... | $fn = 120;
difference() {
cylinder(h=7, r=3.5);
cylinder(h=7, r=2.5);
} | glb/cad_99430b3f4b78.glb |
Create a wall mount spacer by constructing a tiered cylindrical object. Start with a wide, thin base cylinder that has a radius of 5mm and a height of 1mm. Centered on top of this base, add a taller cylinder with a radius of 3.5mm and a height of 13mm. Finally, create a hollow center by removing a cylindrical core with... | $fn = 120;
difference() {
union() {
cylinder(h=1, r=5);
cylinder(h=13, r=3.5);
}
cylinder(h=13, r=2.5);
} | glb/cad_cf7c068847d6.glb |
Create a stepper motor mount for a NEMA-14 motor. Start with a base rectangular block that is 33.34mm wide, 36mm deep, and 11mm high.
On the top surface, center a large circular cutout with a radius of 12mm and a depth of 10mm. Within this top area, create two smaller mounting holes with a radius of 1.8mm and a depth... | $fn=120;
nyloc_nut_hole_r = 7.8/2+1;
nyloc_nut_depth = 5;
hole_spacing = 9.78;
stepper_size = 35.2;
stepper_hole_spacing = 26;
stepper_depth = 36;
side_padding = 2;
total_width = hole_spacing * 3 + side_padding * 2;
module nyloc_mount(depth=10) {
translate([0,depth,0])
rotate([90,0,0])
difference() {
... | glb/cad_990c24c848ff.glb |
Create a Loop Bearing Mounter by starting with a rectangular block that is 13mm wide, 21mm long, and 4mm high. From this base, remove three cylindrical holes. First, place a hole with a radius of 1.7mm centered 3.7mm from the side edge and 17mm from the front edge. Second, create a hole with a radius of 1.75mm centered... | $fn=60;
side = 0;
loop_hole_inset = 3.7;
motor_hole_inset = 2;
hole_radius = 1.75;
height = 4;
width = 13;
mirror([0,side,0])
difference() {
translate([0,0,0])
cube([width,21,height]);
translate([loop_hole_inset,17,-0.2])
cylinder(h=height+1,r=1.7);
translate([width/2+3.5, motor_hole_inset+hole... | glb/cad_d6859401b75a.glb |
Create a background plate spacer by constructing a tiered cylindrical object. Start with a wide, thin base cylinder that has a radius of 5mm and a height of 1mm. Centered on top of this base, add a second cylinder with a radius of 3.5mm and a height of 9mm. Finally, create a hollow center by removing a cylindrical core... | $fn = 120;
difference() {
union() {
cylinder(h=1, r=5);
cylinder(h=9, r=3.5);
}
cylinder(h=9, r=2.5);
} | glb/cad_a88779eed1ae.glb |
Create a DTE drone protection frame. Start by constructing two identical circular rims, each with an outer diameter of 30mm and a wall thickness of 2mm. These rims are hollowed out by removing a central rectangular section 20mm wide and 40mm long.
Position these two rims vertically, one at a height of 15mm and the oth... | q = 10;
fitx = 20;
fity = 20;
screwD = 2.5;
xmot = 26;
ymot = 26;
zmot = 40;
th = 2;
diBu = 30;
module rim() {
rotate(-45) union() {
difference() {
circle(d=diBu , $fn=10*q);
circle(d=diBu-2*th, $fn=10*q);
translate([0,-20]) square([20,40]);
... | glb/cad_05b938776b9d.glb |
Create a DTE drone protection frame. Start by constructing a central square base with a side length of 84mm and a height of 10mm. To this square, add two intersecting rectangular beams, each 121mm long, 3mm wide, and 10mm high, positioned diagonally to form an "X" shape across the base.
At the four corners of the squa... | q = 10;
fitx = 20;
fity = 20;
screwD = 2.5;
xmot = 26;
ymot = 26;
zmot = 40;
th = 2;
diBu = 30;
module rim() {
rotate(-45) union() {
difference() {
circle(d=diBu , $fn=10*q);
circle(d=diBu-2*th, $fn=10*q);
translate([0,-20]) square([20,40]);
... | glb/cad_72a27c4d7352.glb |
Create a DTE drone protection and stabilization frame. Start by constructing a central square base with a side length of 84mm and a thickness of 10mm. To this base, add two intersecting rectangular beams, each 121mm long, 3mm wide, and 10mm thick, crossing at the center to form an X-shape.
At the four corners of the s... | q = 10;
fitx = 20;
fity = 20;
screwD = 2.5;
xmot = 26;
ymot = 26;
zmot = 40;
th = 2;
diBu = 30;
module rim() {
rotate(-45) union() {
difference() {
circle(d=diBu , $fn=10*q);
circle(d=diBu-2*th, $fn=10*q);
translate([0,-20]) square([20,40]);
... | glb/cad_7c1c493ce135.glb |
Create a DTE drone frame consisting of a central square base and four extending arms. The main body is a square frame with an outer dimension of 84mm per side, with a thickness of 10mm.
At each of the four corners of the square, place a motor support. Each support is a cylinder with a diameter of 14mm and a height of... | q = 10;
fitx = 20;
fity = 20;
screwD = 2.5;
xmot = 26;
ymot = 26;
zmot = 40;
th = 2;
diBu = 30;
module rim() {
rotate(-45) union() {
difference() {
circle(d=diBu , $fn=10*q);
circle(d=diBu-2*th, $fn=10*q);
translate([0,-20]) square([20,40]);
... | glb/cad_841b6f6f4200.glb |
Create a Lever for Planetary gear consisting of two identical mirrored components. For each component, start with a central vertical cylinder with a radius of 10mm and a height of 20mm.
Extend a flat, rounded rectangular arm from the side of this cylinder. At the far end of this arm, add a small vertical hexagonal pe... | use <pins.scad>;
use <Write.scad>
object=3;
approximate_gear_ratio=6;
number_of_teeth_on_planets=22;
number_of_planets=3;
D=120;
T=20;
tol=0.15;
P=30;
nTwist=1;
w=6.2;
DR=0.5;
number_of_planets_b=4;
number_of_teeth_on_planets_b=7;
approximate_number_of_teeth_on_sun_b=8;
wall_thickness=4;
P_b=40;
nTwist_b=1... | glb/cad_941dd7f4f779.glb |
Create a spool holder for a 3D printer. Start by constructing a base plate consisting of three joined rectangular blocks: one main block measuring 34mm by 5mm by 32mm, a second block measuring 6mm by 16mm by 32mm positioned adjacent to it, and a third block measuring 48mm by 5mm by 32mm extending from the assembly.
Ce... | spool_width_got = 70;
module GoAwayCustomizer() {
}
spool_width = spool_width_got - 12;
unit = 1;
spool_hole_diameter = 32;
spl_l=spool_width*unit;
spl_d=spool_hole_diameter*unit;
$fn=48*2;
spl_r=spl_d/2*1;
plt_w=spl_d*1.5*1;
module plt_hld()
{
color("black") cube([34,5,spl_d]);
translate([28-9,0,0]) cube([... | glb/cad_cfcaeb054567.glb |
Create a Z-Endstop mount consisting of a main block and a supporting leg. Start with a main body that is 15mm wide, 20mm high, and 24mm deep. The body is a hollowed shell with a wall thickness of 2mm. The interior cavity is created by removing a central block that is 11mm wide, 17mm deep, and 14mm high.
At the base o... | module leg(x,y,z)
{
boardWidth = 5.8;
legWidth = 13;
legEndWidth = 7;
legHeight = 40;
union(){
translate([x-(legEndWidth/2),y,z])cube([legEndWidth,boardWidth,boardWidth],false);
translate([x-(legWidth/2),y,z-(legHeight-0.01)])cube([legWidth,boardWidth,legHeight],false);
}
}
module endBlock(x,y,z){
boardWidt... | glb/cad_42411db33143.glb |
Create a pegboard customizable straight rod hook consisting of a mounting base and a protruding rod.
First, construct the mounting base to fit a pegboard with 5mm diameter holes spaced 25mm apart and a board thickness of 3mm. Create two parallel cylindrical pins, each 5mm in diameter and 3mm long, positioned 25mm apa... | length_rod = 40;
extra_rod = 0;
degrees = 107;
TwoHoles = 25;
GrossRodDiameter = 5;
GrossThicknessOfPegboard = 3;
$fn = 60;
SquareFactor = 0.9;
HookBigRod(BigRod = length_rod, Degrees = degrees, ExtraRod = extra_rod, tip = false);
module License()
{
echo("Created by Bolukan (3dmodel@bolukan.nl), 2017");
... | glb/cad_103be21be185.glb |
Create a fastener consisting of two separate components: a solid inner core and a hollow outer sleeve. For the inner core, create a cylinder with a radius of 2.44mm and a total length of 12mm. At both ends of this cylinder, add a circular head with a radius of 5mm and a thickness of 1mm.
For the outer sleeve, create a... | $fn=20;
HeadHeight=1;
HeadDiameter=10;
SleeveLength=10;
SleeveOutterDiameter=5.08;
Play=0.1;
HeadRadius=HeadDiameter/2;
SleeveOutterRadius=SleeveOutterDiameter/2;
SleeveInnerRadius=(SleeveOutterRadius/2)-Play;
O1=HeadDiameter/2;
O2=HeadDiameter+10;
O3=(HeadDiameter*2)+15;
O4=(HeadDiameter*3)+20;
translate([O1,0,0]) ... | glb/cad_f80affafb9ad.glb |
Create an extruder mount for a 3D printer. Start with a base platform that is 70mm wide, 56mm deep, and 5.5mm thick. At the center of the base, create two circular screw holes with a radius of 6mm, positioned at coordinates (0, 14) and (0, 34.5).
On the top surface of the base, centered at a height of 25mm, create a ... | $fn=40;
width = 70;
module mount_squares () {
translate([8.75,5.5,-.5]) cube([6.25,14.25,6.5]);
translate([8.75,33.75,-.5]) cube([6.25,14.25,6.5]);
}
difference() {
translate([-width/2, 0,0]) cube([width,5.5,40]);
translate([0,-1,25]) rotate(a=90, v=[-1,0,0]) cylinder(h = 7, r=9.5);
translate([-9.5,-.5,25]) cu... | glb/cad_fa349a02b03e.glb |
Create an extruder mount for a 3D printer. Start with a base platform that is 70mm wide, 56mm deep, and 5.5mm thick. In the center of this base, create a large circular cutout with a radius of 9.5mm that extends 7mm deep into the platform, starting at a height of 33mm. On either side of this central cutout, at a distan... | $fn=40;
width = 70;
module mount_squares () {
translate([8.75,5.5,-.5]) cube([6.25,14.25,6.5]);
translate([8.75,33.75,-.5]) cube([6.25,14.25,6.5]);
}
difference() {
translate([-width/2, 0,0]) cube([width,5.5,48]);
translate([0,-1,33]) rotate(a=90, v=[-1,0,0]) cylinder(h = 7, r=9.5);
translate([-9.5,-.5,33]) cu... | glb/cad_448f6d8a8c1f.glb |
Create a Propeller for Planetary gear. The model consists of a central hub and radiating fins.
Start with a central cylindrical hub with a radius of 7mm and a total height of 25mm. At the top of this hub, add a hemispherical cap with a radius of 7mm. The bottom of the hub should be flat.
Create 6 identical fins distr... | use <pins.scad>;
use <Write.scad>
object=3;
approximate_gear_ratio=6;
number_of_teeth_on_planets=22;
number_of_planets=3;
D=120;
T=20;
tol=0.15;
P=30;
nTwist=1;
w=6.2;
DR=0.5;
number_of_planets_b=4;
number_of_teeth_on_planets_b=7;
approximate_number_of_teeth_on_sun_b=8;
wall_thickness=4;
P_b=40;
nTwist_b=1... | glb/cad_7d0720520a29.glb |
Create two windowed ornaments based on the geometry of a truncated rhombicosidodecahedron, scaled by a factor of 30.
For the first ornament, omit the 12 regular decagonal faces and 20 regular hexagonal faces to create openings. Additionally, remove 3 octagonal faces and 9 trapezoidal faces to form a larger window, bu... | difference()
{
union()
{
scale(30)
rotate([90,0,0])
difference()
{
union()
{
polyhedron(cords,faces);
decorationk( 0.000000000, 0.000000000,-0.974788904,0,1.04);
decorationk( 0.974788904, 0.000000000, 0.000000000,0,1.04);
decorationk(-0.974788904, 0.000000000, 0.000000000,0,1.04);
... | glb/cad_12b6a93f737e.glb |
Create two windowed ornaments based on the geometry of a truncated rhombicosidodecahedron, scaled by a factor of 30.
For the first ornament, omit one decagonal face, five hexagonal faces, and fifteen trapezoidal faces to create a window. Decorate the remaining faces with a combination of stars, snowflakes, and a cat ... | difference()
{
union()
{
scale(30)
rotate([0,100/3,0])
difference()
{
union()
{
polyhedron(cords,faces);
decorationk(-0.497610211, 0.000000000,-0.805150270,0,1.04);
decorationk( 0.805150270, 0.497610211, 0.000000000,0,1.04);
decorationk( 0.805150270,-0.497610211, 0.000000000,0,1.04);
... | glb/cad_01eed6f1684f.glb |
Create a Shimano M545 clipless pedal cage support. Start by constructing a central plug consisting of a cylinder with a diameter of 16.5mm and a height of 10mm. Remove a smaller concentric cylinder from the center with a diameter of 5.25mm and a height of 5mm to create a hole.
On top of this plug, add a cylindrical ca... | plug_diameter = 16.5;
plug_depth = 10;
plug_cap_diam = 22;
plug_cap_straight_depth = 1;
plug_cap_chamfer_depth = 2;
thread_diam = 5.25;
thread_depth = 5;
plug_cap_sides = 40;
hex_key_size = 0;
hex_key_depth = 4;
keyway_width = 0;
keyway_depth = 4;
keyway_length = 2;
clip_bar_length = 24;
clip_bar_width = 10;
clip... | glb/cad_1955dc362a3d.glb |
Create a pegboard tacklebox container by starting with a composite main body. Form the primary structure by combining a cylinder with a diameter of 15mm and a height of 42.5mm with a rectangular block measuring 15mm wide, 12.5mm deep, and 42.5mm high, centered so the block extends from the back of the cylinder.
Carve... | difference() {
union() {
cylinder(42.5, 15/2, 15/2, $fn=50);
translate([-15/2,-12.5,0]) cube([15,12.5,42.5]);
}
translate([0,0,-1]) cylinder(52, 7/2, 7/2, $fn=50);
translate([0,0,35]) cylinder(52, 11/2, 11/2, $fn=6);
translate([15/2,-6.5/2,-1]) cube([35, 6.5, 39.5]);
translate([-15/2-35,-6.5/2,-1]) ... | glb/cad_85cdaf9a20cb.glb |
Create a pegboard custom tacklebox container by starting with a main body that is a union of a cylinder with a 15mm diameter and 42.5mm height, and two intersecting rectangular blocks measuring 15mm by 12.5mm by 42.5mm and 12.5mm by 15mm by 42.5mm, centered on the cylinder's axis. From this solid, remove a central vert... | difference() {
union() {
cylinder(42.5, 15/2, 15/2, $fn=50);
translate([-15/2,-12.5,0]) cube([15,12.5,42.5]);
translate([-12.5,-15/2,0]) cube([12.5,15,42.5]);
}
translate([0,0,-1]) cylinder(52, 7/2, 7/2, $fn=50);
translate([0,0,35]) cylinder(52, 11/2, 11/2, $fn=6);
translate([15/2,-6.5/2,-1]) cube... | glb/cad_2ff31934e280.glb |
Create a pegboard custom tacklebox container. Start by forming a main body that combines a cylinder with a diameter of 15mm and a height of 42.5mm, centered on the origin, with a rectangular block measuring 15mm wide, 25mm deep, and 42.5mm high that shares the same center.
From this combined volume, remove a central ... | difference() {
union() {
cylinder(42.5, 15/2, 15/2, $fn=50);
translate([-15/2,-12.5,0]) cube([15,25,42.5]);
}
translate([0,0,-1]) cylinder(52, 7/2, 7/2, $fn=50);
translate([0,0,35]) cylinder(52, 11/2, 11/2, $fn=6);
translate([15/2,-6.5/2,-1]) cube([35, 6.5, 39.5]);
translate([-15/2-35,-6.5/2,-1]) cu... | glb/cad_3eed7b62cc97.glb |
Create a pegboard custom tacklebox container. Start by forming a main body that is a union of a cylinder with a diameter of 15mm and a height of 42.5mm, and two rectangular blocks: one measuring 15mm by 25mm by 42.5mm centered at the origin, and another measuring 12.5mm by 15mm by 42.5mm also centered at the origin. Fr... | difference() {
union() {
cylinder(42.5, 15/2, 15/2, $fn=50);
translate([-15/2,-12.5,0]) cube([15,25,42.5]);
translate([-12.5,-15/2,0]) cube([12.5,15,42.5]);
}
translate([0,0,-1]) cylinder(52, 7/2, 7/2, $fn=50);
translate([0,0,35]) cylinder(52, 11/2, 11/2, $fn=6);
translate([15/2,-6.5/2,-1]) cube([... | glb/cad_759fa9755903.glb |
Create a pegboard custom tacklebox connector. Start by constructing a central vertical body that is 15mm wide, 50.8mm deep, and 42.5mm high. This main body is composed of two primary rectangular blocks, each 12.5mm wide, 15mm thick, and 42.5mm high, positioned symmetrically along the Y-axis.
Integrate two cylinders wi... | difference() {
union() {
translate([0,-15/2,0]) cube([12.5,15,42.5]);
translate([0,25.4,0]) cylinder(42.5, 15/2, 15/2, $fn=50);
translate([-15/2,24.5,0]) cube([15,25/2,42.5]);
translate([-12.5,25.4-15/2,0]) cube([12.5,15,42.5]);
translate([0,-25.4,0]) cylinder(42.5, 15/2, 15/2, $fn=50);
tran... | glb/cad_f1ce9916387d.glb |
Create a pegboard custom tacklebox connector. Start by constructing a central body that is a combination of a cylinder and two rectangular blocks. The main form is a cylinder with a height of 42.5mm, a radius of 7.5mm, and a 50-facet resolution. Merge this with two rectangular prisms: one measuring 15mm by 12.5mm by 42... | difference() {
union() {
cylinder(42.5, 15/2, 15/2, $fn=50);
translate([-15/2,-12.5,0]) cube([15,25/2,42.5]);
translate([0,-15/2,0]) cube([12.5,15,42.5]);
translate([0,25.4,0]) cylinder(42.5, 15/2, 15/2, $fn=50);
translate([-15/2,24.5,0]) cube([15,25/2,42.5]);
translate([-12.5,25.4-15/2,0]) c... | glb/cad_07667b94951b.glb |
Create a pegboard custom tacklebox container with a total height of 42.5mm. The main body is formed by the union of a cylinder with a diameter of 15mm and two intersecting rectangular prisms: one measuring 15mm by 25mm and another measuring 25mm by 15mm, both centered on the XY plane.
Hollow out the center of this vo... | difference() {
union() {
cylinder(42.5, 15/2, 15/2, $fn=50);
translate([-15/2,-12.5,0]) cube([15,25,42.5]);
translate([-12.5,-15/2,0]) cube([25,15,42.5]);
}
translate([0,0,-1]) cylinder(52, 7/2, 7/2, $fn=50);
translate([0,0,35]) cylinder(52, 11/2, 11/2, $fn=6);
translate([15/2,-6.5/2,-1]) cube([35... | glb/cad_d6e6f4948f80.glb |
Create a pegboard custom tacklebox connector. Start by constructing a base volume composed of two overlapping cylinders, each with a radius of 7.5mm and a height of 42.5mm, positioned with their centers 25.4mm apart along the y-axis. Integrate these with several rectangular blocks: place a 15mm x 12.5mm x 42.5mm block ... | difference() {
union() {
cylinder(42.5, 15/2, 15/2, $fn=50);
translate([-15/2,-12.5,0]) cube([15,25/2,42.5]);
translate([-12.5,-15/2,0]) cube([12.5,15,42.5]);
translate([0,25.4,0]) cylinder(42.5, 15/2, 15/2, $fn=50);
translate([-15/2,24.5,0]) cube([15,25/2,42.5]);
translate([0,25.4-15/2,0]) c... | glb/cad_2fded4fc384e.glb |
Create a playing card holder by combining a cylindrical base with a tapered top. Start with a cylinder 17mm in diameter and 2mm in height. Atop this base, add a second cylinder that transitions from a 17mm diameter at its bottom to an 11mm diameter at its top, with a height of 1.8mm.
Cut a central slot through the en... | d = 17;
h = 3.8;
w_slit = 0.3;
z_slit = 3;
l_clamp = 6;
h_foot = 2;
d_top = 11;
w_opening = 2.2;
h_top = h - h_foot;
h_slit = h - z_slit;
$fn = 200;
module opening()
{
linear_extrude(40)
polygon([[0, l_clamp/2], [w_opening/2, d/2], [-w_opening/2, d/2]]);
}
difference()
{
union()
{
cylinder(h_fo... | glb/cad_13926b8053f6.glb |
Create a Z Opto-Flag Holder designed to secure an 8mm rod. Start with a base composed of a cylinder with a radius of 7.65mm and a height of 10mm, using 20 facets. Merge this with a rectangular block measuring 15.5mm by 15.3mm by 10mm, centered on the cylinder's axis, and a larger rectangular block measuring 35mm by 10m... | include <configuration.scad>
module endstop(){
outer_diameter = m8_diameter/2+3.3;
screw_hole_spacing = 20;
opening_size = m8_diameter-1.5;
difference(){
union(){
translate([outer_diameter, outer_diameter, 0]) cylinder(h =10, r = outer_diameter, $fn = 20);
translate([outer_diameter, 0, 0]) cube([15.5,outer_diam... | glb/cad_984e9384e180.glb |
Create a Losi Micro Truggy Front Shock Tower starting with a main rectangular plate measuring 31mm wide, 22.5mm deep, and 2mm thick, centered so the plate extends from -15.5mm to 15.5mm on the X-axis. Add four small cylindrical standoffs with a radius of 2mm and a height of 3mm: two positioned at X=11 and X=-11 (both a... | difference () {
union () {
translate([-15.5,-3,0]) cube([31.0,22.5,2]);
translate([11,6,1.5]) cylinder(r=2, h=3, center=true, $fn=10);
translate([-11,6,1.5]) cylinder(r=2, h=3, center=true, $fn=10);
translate([4.5,0,1.5]) cylinder(r=2, h=3, center=true, $fn=10);
translate([-4.5,0,1.5]) cylinder... | glb/cad_78eeeacc1601.glb |
Create a Gloomhaven character miniature and conditions holder. Start by creating a hexagonal prism with a diameter of 38.1mm and a total height of 7mm. In the center of this hexagon, remove a cylindrical volume to create a hole with a diameter of 27mm and a depth of 4mm, leaving a base thickness of 3mm at the bottom.
... | MiniDiameter=27;
HexDiameter=38.1;
HexHalfLength=sqrt((pow(HexDiameter,2))-(pow(HexDiameter/2,2)));
HexHeight=7;
HexBaseHeight=3;
CutoutHeight=3;
ConditionLength=15;
difference() {
union() {
cylinder(h=HexHeight,r=HexDiameter/2,$fn=6);
rotate([0,0,-60]) {
translate([-HexDiameter/... | glb/cad_0f191f2706b4.glb |
Create a Gloomhaven Character Miniature and Conditions Holder. Start by creating a hexagonal base with a diameter of 38.1mm and a total height of 7mm. In the center of this hexagon, remove a cylindrical core with a diameter of 26.5mm, starting from a height of 3mm up to the top surface, to create a socket for a miniatu... | MiniDiameter=26.5;
HexDiameter=38.1;
HexHalfLength=sqrt((pow(HexDiameter,2))-(pow(HexDiameter/2,2)));
HexHeight=7;
HexBaseHeight=3;
CutoutHeight=3;
ConditionLength=15;
difference() {
union() {
cylinder(h=HexHeight,r=HexDiameter/2,$fn=6);
rotate([0,0,-60]) {
translate([-HexDiamete... | glb/cad_b358ffe7b949.glb |
Create a Raspberry Pi Box designed to sit under a receipt printer. The model consists of a base and a cover.
For the base, create a hollow rectangular enclosure with outer dimensions of 142mm width, 157mm length, and 40mm height, with wall thicknesses of 1mm. On the bottom side, centered along the width, create a cabl... | piWidth = 56;
piLen = 85;
piHeight = 20;
piStandHeight = 5;
piThick = 2;
screwD = 2.9;
screwR = screwD/2;
standR = screwR+2;
sy1 = 25.5;
sx1 = 18;
sy2 = piLen-5;
sx2 = piWidth-12.5;
part = 2;
printerWidth = 140;
printerLen = 155;
cableGap = 10;
haveLED = 1;
ledD = 5;
ledR = ledD/2;
piStandoffs = 0;
piWOffset ... | glb/cad_b1d817035d72.glb |
Create a bar clamp for joining 8mm rods. Start by constructing a main body that combines a cylinder with a radius of 6.4mm and a height of 12.8mm, merged with a rectangular block measuring 7.9mm by 12.8mm by 12.8mm. Integrate a hexagonal nut shape with a width and height of 12.8mm into the top section. From this combin... | include <configuration.scad>
module barclamp(){
outer_diameter = (threaded_rod_diameter-0.0)/2+2.4;
difference(){
union(){
translate([outer_diameter, outer_diameter, 0])cylinder(h =outer_diameter*2, r = outer_diameter, $fn = 20);
translate([outer_diameter, 0, 0])cube([outer_diameter+1.5,outer_diameter*2,outer_d... | glb/cad_a4c466d2a63d.glb |
Create a two-part matching case for a PIR motion sensor. The overall external dimensions for each half are 31mm wide by 39mm deep by 8mm high. Both halves feature a wall thickness of 3mm.
For the bottom half, create a rectangular block with a central cavity measuring 25mm by 33mm and a depth of 7mm. Round the four ext... | wall_size = 3;
w = 25;
d = 33;
h = 8;
pcb_h = 14/2;
gap= 3;
rad = 3;
assy = false;
ears = true;
has_slot=true;
dxf=false;
module lip(l_h,l_w){
difference(){
cube([w+2*l_w,d+2*l_w,l_h], center=false);
translate([l_w,l_w,0]) cube([w,d,l_h], center=false);
}
}
module createSubtractor(h,radius) {
difference()... | glb/cad_08c1946e4976.glb |
Create a water molecule model by positioning a large central sphere representing oxygen with a diameter of 19.8 mm. Add two smaller spheres representing hydrogen, each with a diameter of 9.3 mm, positioned to create a bond angle of 104.45 degrees relative to each other with the oxygen sphere at the vertex. Finally, cre... | include <config.scad>;
difference(){
sphere(Hydrogen*SphereScale);
translate([0,0,-(Hydrogen*SphereScale)-1])
cylinder(h = UnionHoleDepth+1, r = UnionHoleDiameter/2 );
} | glb/cad_4c7eed553238.glb |
Create a water molecule model by starting with a central oxygen sphere with a diameter of 19.8 mm. To create the bonding points for the hydrogen atoms, remove two cylindrical holes from the oxygen sphere. Each cylinder should have a radius of 2.25 mm and a depth of 11 mm. Position the first cylinder so it extends from ... | include <config.scad>;
difference(){
sphere(Oxygen*SphereScale);
union(){
translate([0,0,-(Oxygen*SphereScale)-1])
cylinder(h = UnionHoleDepth+1, r = UnionHoleDiameter/2 );
rotate(a=[0,BondAngle,0])
translate([0,0,-(Oxygen*SphereScale)-1])
cylinder(h = UnionHoleDepth+1, r = UnionHoleDiameter/2 );
}
} | glb/cad_781105109ba5.glb |
Create a Cycloid Drive speed reducer with a 10:1 ratio. The assembly consists of an outer ring, a cycloidal rotor, and an eccentric drive shaft.
First, create the outer ring as a cylinder with a diameter of 50mm and a height of 10mm. The inner wall of this ring must feature a cycloidal profile with 11 internal lobes (... | quality=100;
speed_ratio=10;
gearbox_height=10;
gearbox_diameter=50;
SHOW_PART=0;
CLEARANCE_INPLACE=0.2;
CLEARANCE_MOVE=0.175;
CLEARANCE_MOVE_BRIDGING=0.4;
CLEARANCE_FIT=0.1;
layer_resolution=0.25;
outside_perimeter_width=1;
drive_shaft_diameter=9;
drive_shaft_diameter_hollow=7;
drive_shaft_sides=200;
drive_shaf... | glb/cad_1d9e44782d50.glb |
Create a Hinge Variations model consisting of two mirrored plates. Each plate is a rectangular block with a width of 24mm, a height of 40mm, and a thickness of 1mm.
On the inner edge of each plate, construct a hinge barrel. The barrel is a cylinder with an outside diameter of 4mm and a total height of 40mm. Create a c... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_3e17882ba7cf.glb |
Create a Hinge Variations model consisting of two mirrored plates. Each plate is a rectangular block with dimensions 24mm width, 40mm height, and 1mm thickness.
On the inner edge of each plate, construct a hinge barrel as a cylinder with an outside diameter of 4mm and a height of 40mm. Subtract a central coaxial hole ... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_4702e2f5d5ff.glb |
Create a Hinge Variations model consisting of two mirrored plates. Each plate is a rectangular block measuring 24mm in width, 40mm in height, and 3mm in thickness.
On the inner edge of each plate, construct a hinge barrel by adding a cylinder with an outside diameter of 4mm and a height of 40mm. Subtract a central coa... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_0265b2ada5c4.glb |
Create a Hinge Variations model consisting of two mirrored plates, each 24mm wide, 40mm high, and 1mm thick. On the inner edge of each plate, construct a vertical hinge barrel with an outside diameter of 4mm.
For the first plate, create a barrel that is a solid cylinder with a central hole of 2.16mm diameter running ... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_98e2e68094f0.glb |
Create a Hinge Variations model consisting of two mirrored plates, each 24mm wide, 40mm high, and 1mm thick. On the inner edge of each plate, construct a vertical hinge assembly.
For each plate, create a series of additive cylindrical barrels with an outside diameter of 4mm. These barrels are arranged along the height... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_64f3d5098640.glb |
Create a Hinge Variations model consisting of two mirrored plates. Each plate is a rectangular block with a width of 24mm, a height of 40mm, and a thickness of 1mm.
On the inner edge of each plate, construct a hinge barrel by adding a cylinder with an outside diameter of 4mm. The cylinder's total height should span th... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_08f144495cf9.glb |
Create a Hinge Variations model consisting of two mirrored plates. Each plate is a rectangular block 24mm wide, 40mm high, and 1mm thick.
On the inner edge of each plate, construct a hinge barrel by adding a cylinder with an outside diameter of 4mm and a height of 40mm, centered along the edge. To create the hinge mec... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_3a11907ee55e.glb |
Create a Hinge Variations model consisting of two mirrored plates. Each plate is a rectangular block with a width of 24mm, a height of 80mm, and a thickness of 1mm.
On the inner edge of each plate, construct a hinge barrel by adding a cylinder with an outside diameter of 4mm and a height of 80mm. Create a central hole... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_533116b200f1.glb |
Create a Hinge Variations model consisting of two mirrored plates, each 24mm wide, 40mm high, and 1mm thick. On the inner edge of each plate, construct a vertical hinge assembly.
For each plate, create a series of additive cylindrical barrels with an outside diameter of 4mm. These barrels are arranged vertically along... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_932a4edc7392.glb |
Create a Hinge Variations model consisting of two mirrored plates, each 24mm wide, 40mm high, and 1mm thick. On the inner edge of each plate, construct a vertical hinge assembly.
For each plate, create a series of additive cylindrical barrels with an outside diameter of 8mm. These barrels are arranged vertically along... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_138773614761.glb |
Create a Hinge Variations model consisting of two mirrored plates, each 24mm wide, 40mm high, and 1mm thick. On the inner edge of each plate, construct a vertical hinge assembly.
For each plate, create a series of additive cylindrical barrels with an outside diameter of 4mm. These barrels are arranged vertically along... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_2f6b42e281c8.glb |
Create a Hinge Variations model consisting of two mirrored plates. Each plate is a rectangular block with a width of 24mm, a height of 40mm, and a thickness of 1mm.
On the inner edge of each plate, construct a hinge mechanism. The hinge is formed by a series of alternating cylindrical sections. Create an additive oute... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_3c1b99306571.glb |
Create a Hinge Variations model consisting of two mirrored plates. Each plate is a rectangular block 24mm wide, 40mm high, and 1mm thick.
On the inner edge of each plate, construct a vertical hinge barrel. The barrel is a cylinder with an outside diameter of 4mm and a height of 40mm. Subtract a smaller concentric cyli... | $fs = 0.5;
module clearanceBlock(clearanceLength,clearanceHeight,hingeOutsideDiameter,hingePlateGap)
{
delta = 0.5;
halfDiameter = hingeOutsideDiameter * 0.5;
clearanceDepth = halfDiameter + hingePlateGap;
clearanceOpposingDepth = halfDiameter + delta;
translate([-clearanceDepth,-(clearanceHeight+delta),0]) cube(... | glb/cad_cf36a4202e5a.glb |
Create a car phone holder consisting of two main parts: a phone cradle and a vent clip.
For the cradle, create a hollow shell with an outer width of 79mm and a length of 152mm. The walls should be 3mm thick, with a back panel thickness of 4mm. The overall height of the shell is 15mm. Round the corners of the cradle wi... | display_clip=1;
display_holder=1;
clip_angle=15;
w=75+4;
l=152;
d=8+2;
back_thk=4;
shell_thk=3;
clearance=3;
r=7;
speaker_y= l/2.01;
sr=0;
br=0;
case_height=d+shell_thk+back_thk+clearance;
module round_square(w=75,l=152,r=7){
minkowski() {
square([w-2*r,l-2*r],center=true);
circle(r);
}}
module right_... | glb/cad_4436eaef955e.glb |
Create a Stick Drone model by starting with a large sphere with a radius of 48mm. Hollow out the center by removing a smaller concentric sphere with a radius of 42mm. At the bottom of the model, center a cube that measures 100mm on each side and 48mm in height.
Within the central void, create a cylinder with a radius... | include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\shapes.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\units.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\materials.scad>
hole = 1.5;
comp = 20;
difference ()
{ union()
{
difference ()
{ union()
{
color ("blue") rotate ([0,0,0]) ... | glb/cad_94e0a3772cd7.glb |
Create a Stick Drone frame by starting with a central cylinder that is 29mm in diameter and 3mm thick, centered on the origin. Extend four rectangular arms from this center, each measuring 10mm by 40mm by 3mm; position these arms so they radiate outward at 45-degree intervals. At the end of each arm, place a small cyli... | include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\shapes.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\units.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\materials.scad>
hole = 1.5;
comp = 20;
difference ()
{ union()
{
color ("blue") cylinder (3,42,42,center = true, $fn = 50);
... | glb/cad_b1c8ededdf95.glb |
Create a Stick Drone model consisting of two identical, symmetrical vertical components. For each component, start by creating a main cylinder with a diameter of 8mm and a height of 20mm. At the top of this cylinder, add a smaller, concentric cylinder with a diameter of 5mm and a height of 8mm, centered on the top face... | include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\shapes.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\units.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\materials.scad>
hole = 1.5;
comp = 20;
difference ()
{ union()
{
color ("blue") box (40,20,4);
color ("purple") translate ([... | glb/cad_b361f3d90d1a.glb |
Create a Stick Drone frame by starting with a central cylinder that has a radius of 3mm and a height of 38mm, centered on the origin. Surround this center with a thin ring structure created by placing four rectangular blocks, each measuring 10mm by 40mm with a thickness of 3mm. Position these blocks so they extend from... | include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\shapes.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\units.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\materials.scad>
hole = 1.5;
comp = 20;
difference ()
{ union()
{
color ("blue") cylinder (3,38,38,center = true, $fn = 50);
... | glb/cad_2e8f1988093a.glb |
Create a Stick Drone model by starting with a large sphere with a radius of 48mm. Hollow out the center by removing a smaller concentric sphere with a radius of 42mm. From the bottom of the model, remove a cube measuring 100mm x 100mm x 48mm to create a flat base.
Inside the hollow center, remove a cylinder with a rad... | include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\shapes.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\units.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\materials.scad>
hole = 1.5;
comp = 20;
difference ()
{ union()
{
difference ()
{ union()
{
color ("blue") rotate ([0,0,0]) ... | glb/cad_268db6e606ba.glb |
Create a Stick Drone model by starting with a central cylinder that is 15mm in diameter and 17mm in height, centered on the origin. From this main body, remove a series of geometric shapes to create holes and cutouts. First, remove a rectangular block measuring 25mm by 15mm by 15mm, positioned with its center at x=27mm... | include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\shapes.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\units.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\materials.scad>
hole = 1.5;
comp = 20;
difference ()
{ union()
{
color ("orange") cylinder(15,17,17, center = true, $fn= 100... | glb/cad_3ef30860753e.glb |
Create a Stick Drone model by starting with a main central cylinder that is 15mm in height and 17mm in diameter. From this main body, remove a smaller concentric cylinder from the center that is 8mm in height and 5mm in diameter.
To create the structural holes, remove several small cylinders, each 1.5mm in diameter a... | include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\shapes.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\units.scad>
include <C:\Program Files (x86)\OpenSCAD\libraries\MCAD\materials.scad>
hole = 1.5;
comp = 20;
difference ()
{ union()
{
color ("orange") cylinder(15,17,17, center = true, $fn= 100... | glb/cad_85ce85b2c6d2.glb |
Create a Parametric Cake Guide consisting of ten identical radial fins arranged in a circular pattern. Each fin must be a rectangular prism with a width of 2mm, a length of 50mm, and a height of 10mm. Position the first fin so that its 2mm width is centered on the origin, extending outward along the X-axis. Arrange the... | radius = 50;
wall_t = 2;
wall_h = 10;
slices = 10;
slice_angle = 360 / slices;
for (slice = [1 : slices]) {
rotate([0, 0, slice_angle * (slice - 1)])
translate([-wall_t / 2, 0, 0])
cube(size = [wall_t, radius, wall_h], center=false);
} | glb/cad_99f980e8f316.glb |
Create a Parametric Battery Clip designed for a cell with a radius of 9.25mm and a length of 69mm.
Start with a central rectangular base plate that is 3mm thick and has a width of 8mm. At each end of the base, create a terminal end. Each terminal end consists of a cylinder with a radius of 4.5mm and a height of 3mm, ... | CellRadius=9.25;
CellLength=69;
CellCount=1;
WireRadius=1.1;
doWireChannels=1;
MountThickness=3;
MountWidth=max(CellRadius/3*2,8);
TerminalRadius=4.5;
GripWidth=5;
GripThick=1.5;
GripFactor=0.6;
$fn=30;
module MetricCountersunkScrew(diameter=3, post_length=3,tapped=true,flush=true, tolerance=0.1){
translate( flu... | glb/cad_cabd2702b51d.glb |
Create a snap clamp designed to hold a 29mm diameter pipe. The main body consists of two symmetrical semi-cylindrical halves, each 20mm long with a wall thickness of 2mm. The inner diameter of the clamp is 29mm, and the outer diameter is 33mm.
Each half is constructed as a hollow semi-cylinder. On the outer edge of ea... | clamp_inner_diameter = 29;
clamp_length = 20;
flange_offset = 0;
wall_thickness = 2;
tolerance = 0.5;
axis_diameter = 2;
latch_axis_diameter = 2;
print_support_gap = 0.5;
show_left_side = 1;
show_right_side = 1;
show_latch_arm = 0;
show_clas... | glb/cad_5272cddd236f.glb |
Create a cable clamp by combining a spherical head with a flat mounting base. Start with a sphere 18mm in diameter. Create a flat base extending from the sphere with a thickness of 1.5mm. Within this base, integrate a circular mounting area 14mm in diameter that transitions into the sphere.
To allow for cable placeme... | $fn=60;
cable_diameter=6;
screw_diameter=2.8;
sphere_diameter=18;
around_screw_diameter=14;
hole_pos_x=13;
hole_pos_y=7;
thickness=1.5;
difference() {
union() {
rotate([90,0,0]) translate([0,0,0]) sphere(d=sphere_diameter);
linear_extrude(thickness) difference() {
hull() {
translate([hole_pos_x,ho... | glb/cad_45b0164bad91.glb |
Create a 90-degree cable clamp with a height of 10mm. Start by forming a solid base using a hull operation that connects two cylinders: one with a diameter of 7mm centered at (4, 4, 0) and another with a diameter of 11mm centered at (9, 9, 0). From this solid, remove a vertical hole with a diameter of 4mm centered at (... | $fn=30;
cable_diameter=6;
around_cable_thickness=5;
cable_pos=9;
screw_diameter=4;
around_screw_thickness=3;
screw_pos=4;
height=10;
difference() {
hull()
{
translate([screw_pos,screw_pos,0]) cylinder(d=around_screw_thickness+screw_diameter,h=height);
translate([cable_pos,cable_pos,0]) cylinder(d=c... | glb/cad_6225389eeeb6.glb |
Create a case for a Wifi Kit 32 with an OLED display, consisting of a main box and a separate lid.
For the main box, create a rounded rectangular prism with outer dimensions of 41.6mm in width (X), 71mm in depth (Y), and 19mm in height (Z), using a corner radius of 2.5mm. Hollow out the interior to leave walls 1.3mm t... | use <roundCornersCube.scad>
showLid = true;
showBox = true;
showESP = false;
showComplete = false;
showHolesForSwitches = false;
showSwitches = true;
mitUSBLoch = true;
pcbY = 65;
pcbX = 37;
pcbZ = 1.8;
antenneD = 4.7;
sz = 19;
wall_thickness = 1.3;
lipHeight = 4;
plugAddX = 2;
dispX = 19+.7;
dispY = 33+.7;
dis... | glb/cad_8de4e5b6d37f.glb |
Create a non-mar socket insert by constructing a hollow hexagonal sleeve with a circular base. Start by creating a hexagonal prism with a flat-to-flat width of 17.46mm and a height of 12.7mm. Center a hexagonal hole through the entire length of this prism with a flat-to-flat width of 13.33mm to create the inner sleeve ... | inside16=8;
outside16=10;
shrinkinside=2;
shrinkoutside=1.75;
heightmultiplier=1;
inside=inside16/16*25.4*(1+shrinkinside/100);
outside=outside16/16*25.4*(1+shrinkoutside/100);
th=inside*heightmultiplier;
difference(){
union(){
translate([0,0,th/2])hexagon(outside,th);
cylinder(h=2,r=(outside+4)/2);
}
... | glb/cad_4dce4dc1db7e.glb |
Create a lock core holder with a rectangular body that has rounded corners. The overall dimensions are 25mm wide, 37.5mm high, and 35mm deep, with a corner radius of 3mm.
In the center of the block, create a vertical cylindrical hole with a diameter of 16.5mm and a depth of 33mm to hold the lock core. Extend this hole... | nut_hole = 1;
cutaway = 0;
screw_head_counterbore = 7.5;
oval_body = 0;
sfic = 0;
Corner_radius = 3;
Overall_width = 25;
Overall_height = 25*1.5;
depth = 35;
tap_hole_632 = 2.95;
rad = Corner_radius;
wid = Overall_width;
height = Overall_height;
translate([0,0,depth])
rotate([0,180,0])
difference(){
if ... | glb/cad_4f3f1b558b50.glb |
Create an endplate for an electronics box. Start with a base rectangular slab measuring 61mm wide, 42mm high, and 2.5mm thick. On the top face of this slab, add a second, thinner rectangular wall that is 51mm wide and 1.5mm thick, positioned with a 5mm offset from the outer edge.
On the left and right edges of the bas... | width=61;
height=42;
outer_wall_t=2.5;
inner_wall_t=1.5;
inner_wall_w=51;
inner_wall_offset=5;
clip_w=8;
clip_inner_length=7;
clip_outer_length=10;
clip_tang_depth=2;
clip_t=1.5;
clip_offset=17;
endplate(w=width,h=height,owt=outer_wall_t,iwt=inner_wall_t,iww=inner_wall_w,iwo=inner_wall_offset,cw=clip_w,cil=clip_inner_... | glb/cad_65268ca39f06.glb |
Create a low profile telescope focuser consisting of a main cylindrical body and a separate pinion gear cover.
For the main body, create a vertical cylinder with an outer diameter of 37.5mm (32.5mm inner diameter plus 2.5mm walls) and a total height of 30mm. Hollow out the center with a 32.5mm diameter hole. At the b... | $fa=1;
$fs=0.1;
tube_d=140;
focus_h=18;
extra_eye_height=12;
eye_total=focus_h+extra_eye_height;
eye_id=32.5;
wall_t=2.5;
p_block_t= 5;
cut_w=6;
cut_d=5;
pinion_shaft_d=5;
pinion_d=8.4;
gear_depth=4;
pinion_knob_d=30;
flange_d=70;
flange_t=5;
printjob="focusser";
if(printjob=="focusser"){
translate([0,0,-tube_d/2+... | glb/cad_6d94f24fb80c.glb |
Create a hollow universal joint consisting of two identical brackets connected by a central ring.
First, construct a bracket by creating an octagonal prism with an outer radius of 20mm and a height of 35mm. Hollow out the center with an octagonal hole of 17mm radius. Flatten two opposite sides of the prism and round ... | translate([0,0,-.1])
%cube([200,200,.2], center=true);
outer_rad = 20;
wall = 3;
base = outer_rad/4-5;
height = outer_rad*2-5;
arm_thickness = outer_rad-wall;
ring_rad = outer_rad-wall-1;
ring_thick = 6;
spike_rad = 2.5;
base_rad = outer_rad-arm_thickness/2;
upper_rad = arm_thickness/2+2;
roundness = 8;
side_roundn... | glb/cad_2855789c6a40.glb |
Create a geometric sculpture by combining three identical cubes, each measuring 40mm on all sides and centered at the origin. Position the first cube with a 45-degree rotation around the X-axis. Position the second cube with a 45-degree rotation around the Y-axis. Position the third cube with a 45-degree rotation aroun... | union() {
rotate([45,0,0]) cube([40,40,40], true);
rotate([0,45,0]) cube([40,40,40], true);
rotate([0,0,45]) cube([40,40,40], true);
} | glb/cad_717792da6fec.glb |
Create a circular token with a diameter of 40mm and a thickness of 1.2mm. On the top surface, center the text "PF 2018" using a bold font with a size of 7mm and a height of 0.6mm. Below this, position the text "VERTIX" with a size of 7mm and a height of 0.6mm, offset 10mm below the center.
Add a circular hole with a ... | use <parametric_star.scad>
font="Ladislav:style=BOLD";
diameter=40;
ring_thickness=1.2;
hole_diameter=5;
hole_offset=15;
height=1.2;
company_text="VERTIX";
company_text_size=7;
PF_Text_1 = "PF 2018";
PF_Text_1_size=7;
PF_Text_height=0.6;
PF_Text_2 = "2018";
PF_Text_2_size=6;
star_offset_x=8;
star_offset_y=10;
star... | glb/cad_bcf966cfcbcd.glb |
Create a 3D star-shaped token with a height of 3mm. The star should have 5 points, defined by an outer radius of 15mm and an inner radius of 7.5mm. The geometry is formed by a central cylinder with a radius of 7.65mm, merged with five triangular tips that extend to the outer radius. Each tip is positioned symmetrically... | module parametric_star(N=5, h=3, ri=15, re=30) {
module tipstar(n) {
i1 = [ri*cos(-360*n/N+360/(N*2)), ri*sin(-360*n/N+360/(N*2))];
e1 = [re*cos(-360*n/N), re*sin(-360*n/N)];
i2 = [ri*cos(-360*(n+1)/N+360/(N*2)), ri*sin(-360*(n+1)/N+360/(N*2))];
polygon([ i1, e1, i2]);
}
linear_extrude(heigh... | glb/cad_ce4fb1dc3903.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.