Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a resettable handwheel for a mini lathe consisting of a base, a scale ring, and a handlebar.
Start with a cylindrical base 32mm in diameter and 2mm high, featuring a 5mm center bore. Add two 3mm diameter mounting holes positioned 10mm from the center on opposite sides. Within the base, incorporate a hexagonal ... | {}
{
quality=0.5;
$fa=quality;
$fs=quality;
shim=0.1;
color_vitamins=[0.9,0.9,0.9,1.0];
color_base1=[0.6,0.8,1.0,1.0];
color_base2=[0.6,1.0,0.6,1.0];
color_base3=[0.7,0.7,0.7,1.0];
vitamins=0;
exploded=0;
debug=0;
global_center_bore=5;
handlebartype="60mm";
}
module spacer(solid=0,cutaway=0) {
dif... | glb/cad_ef88dbf7ca17.glb |
Create a resettable handwheel scale strip for a mini lathe. Start by creating a rectangular base strip with a length of 107.21mm (calculated as $\pi \times 34\text{mm} + 0.5\text{mm}$), a width of 6mm, and a thickness of 0.1mm.
Along the top surface of this strip, add a series of measurement markers and text labels. E... | quality=1;
quality=0.5;
$fa=quality;
$fs=quality;
shim=0.1;
scalering_diameter=34;
length=(3.14*scalering_diameter)+0.5;
width=6;
02marker=[0.4,width-3,0.4];
01marker=[0.4,width-4.5,0.4];
scalevalues=["0.6","0.5","0.4","0.3","0.2","0.1","0","0.9","0.8","0.7",""];
increments=length/10;
echo(str("Increments ",incremen... | glb/cad_fa53e99f114c.glb |
Create a multicolored pendant base by starting with a circular hanger element. This hanger is a ring with an outer radius of 8mm and an inner radius of 6mm, with a thickness of 3mm, and features a large circular cutout of radius 25mm centered 25mm away from the origin.
For the main body, create a 12-sided polygon base... | include <polygons.scad>
i = 1;
if (i==1)
union()
{
hanger(-31);
difference()
{
linear_extrude(height=3)
rotate([0,0,15])
12_gon(16.5);
translate([0,0,1.5])
rotate([0,0,30])
linear_extrude(height=3)
hexagon(15);
for ( i =[
[0,0,60],[0,0,120],
[0,0,180],[0,0,240],
[0,0,300],[0,0,0],
... | glb/cad_fe4f5549e77e.glb |
Create a Luggage Tray Spare Tire Support Pad. Start with a circular base disk that has a diameter of 65mm and a thickness of 4mm. From the center of this base, extend a vertical cylindrical neck upwards. This neck begins as a wider cylinder with a diameter of 14mm and rises to a height of 24mm (calculated as the total ... | $fn = 200;
padDiameter=65;
padHeight=28;
threadedSupportDiameter=14;
threadedSupportEndDiamter=12;
threadedSupportLength=14;
padThickness=4;
threadedRodDiameter=7.64;
rotate_extrude() {
polygon(
points=[
[0,0],
[(padDiameter/2),0],
[(padDiameter/2),padThickness],
... | glb/cad_2d68b3afcdf0.glb |
Create a handle for rectangular tools by designing a solid body with a total length of 80mm, a width of 15mm, and a depth of 4.5mm. The overall profile should be an elongated, symmetrical shape that is wider in the center and tapers toward the ends. Specifically, the profile starts at a width of 7.5mm at the ends and e... | pickLength=82;
pickWidth=8;
pickDepth=.75;
length=80;
width=15;
depth=4.5;
fudge=.01;
bevelSize=depth-fudge;
topOffset=width*.75;
middleFocal=length*.25;
bottomOffset=width*.75;
module pick2() {
$fn=50;
difference() {
translate([bevelSize/2, bevelSize, bevelSize/2])
minkowski(){
rotate([90,0, ... | glb/cad_8baf5b2f349c.glb |
Create a flexible spoked wheel with a total diameter of 30mm and a depth of 5mm. Start by constructing an outer ring with a thickness of 4mm. In the center, create a smaller concentric hub with a diameter of 10mm and a thickness of 3mm. To make the hub compatible with a ribbed axle, remove three rectangular sections fr... | xw=0.4;
wd=30;
wdp=5;
ot=4;
axd=10;
axt=3;
spt=2;
function c3D(tPoints) =
(len(tPoints[0]) < 3) ?
tPoints * [[1,0,0],[0,1,0]] :
tPoints;
function rToS(pt) =
[-acos((pt[2]) / norm(pt)),
0,
-atan2(pt[0],pt[1])];
function rotPos(r, ang) =
[r * cos(ang), r * sin(ang), 0];
m... | glb/cad_42a563d0dc97.glb |
Create a Flexible Spoked Wheel consisting of a outer rim, an inner hub, and connecting spokes.
Construct the outer rim as a ring with a diameter of 30mm, a thickness of 2mm, and a depth of 3mm. The outer edge of this rim should feature a series of small, hexagonal teeth spaced every 10 degrees around the circumferenc... | xw=0.4;
wd=30;
wdp=3;
ot=2;
axd=8.5;
axt=1.5;
spt=1.5;
function c3D(tPoints) =
(len(tPoints[0]) < 3) ?
tPoints * [[1,0,0],[0,1,0]] :
tPoints;
function rToS(pt) =
[-acos((pt[2]) / norm(pt)),
0,
-atan2(pt[0],pt[1])];
function rotPos(r, ang) =
[r * cos(ang), r * sin(ang), 0... | glb/cad_bbebd48fc793.glb |
Create an Intex Easy Set Pool Air Ring Inflation Adapter. Start by creating a solid cylinder with a diameter of 18.5mm and a height of 10mm. Modify the top of this cylinder by adding a spherical cap with a radius of 18.5mm, centered at a height of 22.2mm, to create a rounded upper profile.
On top of this base, add a s... | airplug_diameter=18.5;
airplug_height=10;
airplug_quality=96;
blowgun_diameter=10;
blowgun_pitch=2.81/3;
blowgun_length=6;
blowgun_perimeter=1.2;
blowgun_quality=96;
$fn=96;
WrenchSizes=0;
module airplug_solid() {
cylinder(r=airplug_diameter/2,h=airplug_height,$fn=airplug_quality);
intersection() {
cylinder(r=airplug_... | glb/cad_09e89de74d98.glb |
Create a rectangular mounting plate for an R/C vehicle with overall dimensions of 56mm in length, 40mm in width, and 3.5mm in thickness. The plate should have rounded corners with a radius of 2mm.
Cut several holes and slots through the thickness of the plate. First, create a large circular hole with a radius of 6.5mm... | thickness = 3.5;
length = 56 ;
holeDia = 4.0;
width = 40;
module rounded_box(l,w,h,r_edge){
cube(size=[l-2*r_edge,w-2*r_edge,h ],center=true);
for (x = [l/2-r_edge,-(l/2-r_edge) ]) {
for (y = [(w/2-r_edge),-(w/2-r_edge)]) {
translate([x,y,0]) cylinder(r1=r_edge,r2=r_edge,h=h,center=true,$fn=40);
}
}
translate... | glb/cad_528818028744.glb |
Create a parametric clamp with a total height of 50mm. Start with a main outer cylinder that has an inner diameter of 31mm and a wall thickness of 3mm. Cut a slot through the cylinder to create jaws that are 7mm wide, leaving a gap of 8mm in the center of the break.
Attach a rectangular base to the side of the cylinde... | translate([0, 0, 0]) clamp();
module clamp(baseholes = true, base = true, base_thickness = 5, base_width = 50, ring_thickness = 3, ring_inner_dia = 31, jaws_thickness = 5, jaws_width = 7, break_width = 8, screw_diameter = 3, screw_count = 3, nut_recess = true, nut_diameter = 5.5, nut_thickness = 2.5, height = 50) {
... | glb/cad_0464af170681.glb |
Create a K8200 Dual Z Mount plate with a thickness of 15mm. The main body is formed by the convex hull of several shapes: a cylinder with a radius of 15.4mm centered at (40 + 14, 0, 0), a rectangular block of 1mm width and 38mm height positioned at (40 - 20, 0, 0), and two cylinders with 7mm radii centered at (40 + 28 ... | $fa=0.1;
$fs=0.1;
ExtW = 28;
ExtChanW = 12;
ExtChanD = 2;
FrameGap = 40;
LinBearingGap = 20;
LinBearingD = 15;
LinBearingH = 15 ;
ZRodGap = 25;
ZScrewSpace = 40;
module FrameExtrusion()
{
difference()
{
cube ([100,ExtW,ExtW]);
union()
{
translate([-1,-1,ExtW/2-ExtChanW/2]) ... | glb/cad_4db2dbf9c444.glb |
Create a Customizable Obelisk with a total height of 100mm. The main body is a four-sided tapered monolith. The base section is a square frustum with a height of approximately 87.5mm, transitioning from a base width of 21.21mm to a top width of 12.73mm. This is topped by a smaller square pyramid with a height of 12.5mm... | height=100;
base_units=7;
my_string="ԴռԽենոծիդե";
my_font="DejaVu Sans";
style=3;
h=height;
tolerance=0.4+0;
s2=sqrt(2)+0;
ep=0.05+0;
base_height=h*(base_units/(base_units+1));
tip_height=h/(base_units+1);
base1=tip_height*1.5*s2;
base2=tip_height*0.9*s2;
r1=tolerance*base1/s2;
r2=tolerance*base2/s2;
z=base... | glb/cad_17a847dcbab1.glb |
Create a Pond Muck Vac consisting of a central vertical venturi body and a side-mounted hose connector. The main body is composed of three stacked sections: a bottom section 15mm high that tapers from a radius of 22mm at the base to 19.05mm at the top, with a concentric internal bore tapering from 18mm to 10mm; a middl... | include <threads.scad>
module body(){
top();
throat();
bottom();
hose();
vacuum();
}
module top()
{
translate([0,0,35])
{
difference()
{
cylinder(h=65,r=38.1/2);
cylinder(h=66,r1=10,r2=16);
}
}
}
module throat()
{
translate([0,0,15])
{
difference()
{
c... | glb/cad_2c370329142c.glb |
Create a Pond Muck Vac consisting of a central vertical venturi body and a side-mounted hose connector. The main body is built in three stacked sections: a bottom section 15mm high with an outer radius of 19.05mm and an inner tapered hole from 18mm to 10mm; a middle throat section 20mm high with an outer radius of 19.0... | include <threads.scad>
module body(){
top();
throat();
bottom();
hose();
vacuum();
structure();
}
module structure()
{
translate([13,-12,35])
{
cube(size=[20,24,40]);
}
}
module top()
{
translate([0,0,35])
{
difference()
{
cylinder(h=65,r=38.1/2);
... | glb/cad_b6bddb07d2dd.glb |
Create a Mendel foot by starting with a solid cube that is 24mm in width, depth, and height. From the top face of this cube, remove four vertical cylindrical holes to create a grid of openings. Each hole must have a radius of 3mm and a depth of 20mm, starting from a height of 4mm from the bottom of the cube. Position t... | difference () {
cube(size=[24,24,24]);
translate(v=[6,6,-1]) cylinder(r=3,h=30);
translate(v=[6,6,19]) cylinder(r=4.5,h=6);
translate(v=[18,6,-1]) cylinder(r=3,h=30);
translate(v=[18,6,19]) cylinder(r=4.5,h=6);
translate(v=[6,18,-1]) cylinder(r=3,h=30);
translate(v=[6,18,19]) cylinder(r=4.5,h=6);
translate(v=[1... | glb/cad_673ae898d5a6.glb |
Create a double-sided token by starting with a cylinder 40mm in diameter and 4mm thick. Create a recessed center on both the top and bottom faces by removing a concentric cylinder from each side with a diameter of 36mm and a depth of 1mm, leaving a 4mm wide rim around the edge and a 2mm thick center core.
On the top f... | token_width = 40;
token_rim_size = 4;
token_thickness = 4;
token_recess = 1;
o = .1;
perfect_circle_factor = 200;
sidea_font = "Impact";
sidea_letter_size = 8;
sidea_letter_height = 1;
sidea_letter_line_space = 2;
sidea_letter_text_line1 = "Good";
sidea_letter_text_line2 = "Day";
sidea_text_posy = -5;
sidea_text_pos... | glb/cad_6d955effebe2.glb |
Create a trimmer spool holder consisting of a primary cylindrical base and two symmetrical lateral tabs. Start with a base cylinder 80mm in diameter and 35mm high. Remove a concentric inner cylinder with a radius of 38mm and a height of 60mm, starting 2mm from the bottom, to create a thick-walled ring.
At the center o... | module TogliMateriale (){
translate([10,-50,13])
cube ([100,100,50]);
translate([-110,-50,13])
cube ([100,100,50]);
}
CubePoints = [
[ 0, 0, 0 ],
[ 22, 0, 0 ],
[ 22, 14, 0 ],
[ 0, 14, 0 ],
[ 0, 0, 4 ],
[ 22, 0, 4 ],
[ 22, 9, 4 ],
[ 0, 9, 4 ]];
CubeFaces = [
... | glb/cad_c818913022ed.glb |
Create a trimmer spool holder consisting of a central cylindrical base and two symmetrical lateral tabs. Start with a base cylinder 80mm in diameter and 35mm high. Create a concentric inner bore by removing a cylinder with a 76mm diameter and a height of 60mm, starting 2mm from the bottom, leaving a 2mm thick floor and... | module TogliMateriale (){
translate([10,-50,13])
cube ([100,100,50]);
translate([-110,-50,13])
cube ([100,100,50]);
}
CubePoints = [
[ 0, 0, 0 ],
[ 22, 0, 0 ],
[ 22, 14, 0 ],
[ 0, 14, 0 ],
[ 0, 0, 4 ],
[ 22, 0, 4 ],
[ 22, 9, 4 ],
[ 0, 9, 4 ]];
CubeFaces = [
... | glb/cad_9fcceedc149f.glb |
Create a drip ring for a hydroponic bucket. The main body is a circular ring with an outer diameter of 120mm and an inner diameter of 118mm, centered on the Z-axis with a thickness of 6mm. The ring is not a complete circle; remove a section of the ring to create a gap.
At one end of the ring, attach a hose barb. The ... | union(){
translate([-72,0,3])rotate([0,90,0])barb();
translate([-64,0,0.1])cube([9,2,0.2],true);
difference(){
translate([0,0,3])rotate_extrude(convexity = 10, $fn=200)translate([60, 0, 0])circle(r = 3, $fn=60);
difference(){
translate([0,0,3])rotate_extrude(convexity = 10, $fn... | glb/cad_bbaa5ca284d4.glb |
Create a drip ring for a hydroponic bucket. Start by constructing a hollow cylinder with an outer radius of 17mm and a height of 5mm. Remove a concentric inner cylinder with a radius of 15mm and a height of 14mm to create a ring. Attached to the side of this ring, add a rectangular base structure. This base consists of... | union(){
difference(){
cylinder(r=17, h=5, $fn=80);
translate([0,0,-1])cylinder(r=15, h=14, $fn=80);
}
translate([0,-25,8])rotate([-10,0,0]) {
translate([-6, 0, 0])cube([10,2,14],true);
translate([6, 0, 0])cube([10,2,14],true);
}
translate([0,-20,1])cube([10,10,2],tru... | glb/cad_5e8fe6bab718.glb |
Create a pump holder spike for a hydroponic bucket. Start by creating a circular base ring with an outer radius of 17mm and a height of 5mm. Remove a concentric cylindrical hole from the center of this base with a radius of 15mm and a depth of 14mm, leaving a 2mm thick rim. Attached to the bottom of this ring, construc... | longSpike();
module longSpike(){
union(){
difference(){
cylinder(r=17, h=5, $fn=80);
translate([0,0,-1])cylinder(r=15, h=14, $fn=80);
}
difference() {
translate([0,-76,1])cube([10,120,2],true);
translate([-11,-40,1])rotate([0,0,3])cube([10,200... | glb/cad_80b6ea7bf997.glb |
Create a Ball Chain Pulley consisting of two symmetrical mirrored halves. For the first half, start with a central core cylinder 2.5mm high with a radius of 6.73mm. Around this core, place 11 rectangular teeth, each 4mm long, 0.6mm thick, and 2.5mm wide, spaced evenly every 32.7 degrees. Add a thin circular base plate ... | toothH = 4;
toothT = 0.6;
toothW = 2.5;
toothCount = 10;
toothSeparation = 36/10;
toothDensity = 2;
PI = 3.14159;
innerR = toothCount*toothSeparation / (2*PI);
wallH = 3;
wallR = innerR + toothH + wallH;
wallT = 1;
holeH = wallH*2 + toothW + 4;
holeR = (4.92+0.5)/2;
grubH = 6;
grubR = 9;
nutT = 2.2;
nutW = 6;
ti... | glb/cad_cd955d943ae5.glb |
Create a V9 Extruder Filament Guide by starting with a solid rectangular block measuring 15mm in width, 11mm in depth, and 14mm in height.
Carve a vertical cylindrical hole through the center of the block with a radius of 3mm and a height of 22.5mm to accommodate the hotend. Directly above this, create a smaller vert... | $fn=100;
clearance_drive = 1.0 ;
clearance_screws = 0.2 ;
hight = 10.5 ;
rotate([90,0,0]){
difference(){
union(){
translate([-4,-2, 11.5 - hight])
cube([15,11, 3.5 + hight]);
}
#union(){
translate([5.775,4,-11])
cylinder(r=3,h=22.5);
translate([5.775,4,-1])
cylinder(r=0.6,h=30);
... | glb/cad_680d464a7f35.glb |
Create a Customizable Studded Brick. Start with a main rectangular body measuring 16mm in length (X), 32mm in width (Y), and 9.6mm in height (Z). The body should be hollowed out from the center with thin walls of 1.05mm, leaving a small internal structural gap.
On the top surface, place a grid of 8 cylindrical studs (... | studCountX = 2;
studCountY = 4;
studCountZ = 1;
plateThickness = 3.2;
wallType = "thin";
studOD = 5.1;
studHeight = 1.6;
frontSide = "studs";
backSide = "studs";
rightSide = "studs";
leftSide = "studs";
bottomSide = "female";
topSide = "studs";
poleOD = 6.134;
poleID = 4.314;
offsetThickness = 1.05;
$fn = ... | glb/cad_5f3920fdb1d8.glb |
Create a T-Slot connector. The main body is a rectangular block with a width of 20mm, a length of 30mm, and a height of 30mm.
On the top face, create a centered rectangular recessed channel that is 24mm long and 14mm wide, extending 30mm deep.
On the side faces, incorporate two cylindrical holes with a radius of 2.... | door_stopper ();
module door_stopper ()
{
height = 30 ;
length = 30 ;
width= 20 ;
half_width = width / 2;
borders = 3;
bottom_cube_length = length -4 * borders;
bottom_cube_width = width - 2 * borders;
bottom_cube_height = 0.0 ;
bottom_z = 0;
top_cube_length = length +2 * b... | glb/cad_4eca2a8af2ba.glb |
Create a double-sided token by starting with a smooth cylinder 30mm in diameter and 4mm thick. On the top face, engrave the words "Good" and "Day" using a bold sans-serif font. The letters should be 8mm in size and 1mm deep, centered horizontally and stacked vertically with a 2mm gap between the lines. Position this te... | token_width = 30;
token_rim_size = 4;
token_thickness = 4;
o = .1;
perfect_circle_factor = 200;
sidea_font = "Impact";
sidea_letter_size = 8;
sidea_letter_height = 1;
sidea_letter_line_space = 2;
sidea_letter_text_line1 = "Good";
sidea_letter_text_line2 = "Day";
sidea_text_posy = -5;
sidea_text_posx = 0;
sideb_font... | glb/cad_bf4d93363f4b.glb |
Create an LED PSU cover with a base length of 110mm, a height of 43mm, and a depth of 50mm. The main body is a three-sided open shell with walls 2mm thick. The bottom and two side walls form a U-shape, while the top is open. The back wall extends to the full depth of 50mm, but the side walls only extend 19mm from the f... | switch_cutout_length=0;
switch_cutout_width=0;
switch_cutout_thickness=1.4;
led_cutout_radius=0;
grommet_cutout_radius=6;
power_plug_cutout_length=48;
power_plug_cutout_width=27.5;
power_plug_cutout_thickness=1.4;
screw_hole_cutout_radius=1;
base_length=110;
base_height=43;
base_depth=50;
base_thickness=2;
... | glb/cad_b8c3c10d7be5.glb |
Create a Nosecone Electronics Bay consisting of a central rectangular carrier and two circular end plates.
First, construct the central carrier as a rectangular block 37mm wide, 91mm long, and 5mm thick. On the top and bottom faces of the carrier, add four small rectangular stubs (each 6mm wide and 5mm thick) positio... | print_part=1;
front_ring=43.5;
front_thickness=5;
rear_ring=44.6;
carrier_width=35;
carrier_length=91;
carrier_thickness=5;
stub_width=6;
rod_diameter=7;
fill_piece=27;
size_adjustments=1.2;
$fn=50;
if (print_part==1) {
translate ([0,0,carrier_thickness-1])carrier(0);
translate ([-carrier_width-10,carrier_len... | glb/cad_050fbc61c358.glb |
Create a protective phone case with a main body measuring 68.3mm in width, 130.8mm in length, and 9.7mm in thickness. The exterior should have rounded corners with a 10mm radius and a smooth, rounded outer surface created by adding a 3mm offset to all exterior faces.
Hollow out the center to fit a phone, using an inte... | $fa=0.5; $fs=0.5 ;
c_overprint = 0.3;
c_phone_width = 68.3;
c_phone_length = 130.8;
c_phone_thickness = 9.7;
c_phone_corner_r = 10;
c_back_rounding = 11;
c_camera_from_top = 22;
c_camera_square = 14;
c_camera_to_flash = 15;
c_camera_to_speaker = 15;
c_flash_size = 6;
c_speaker_size = 7;
c_head_jack = 8;
c_head_jack_... | glb/cad_8aae46d6554c.glb |
Create an adjustable phone case designed for a device measuring 68.3mm wide, 130.8mm long, and 9.7mm thick. The main body should be a rounded rectangular shell with a corner radius of 10mm and a wall thickness of 3mm. The case features a lip that extends 3mm over the front edge of the phone.
On the back panel, create ... | $fa=0.5; $fs=0.5 ;
c_overprint = 0.3;
c_phone_width = 68.3;
c_phone_length = 130.8;
c_phone_thickness = 9.7;
c_phone_corner_r = 10;
c_back_rounding = 11;
c_camera_from_top = 22;
c_camera_square = 14;
c_camera_to_flash = 15;
c_camera_to_speaker = 15;
c_flash_size = 6;
c_speaker_size = 7;
c_head_jack = 8;
c_head_jack_... | glb/cad_eaf2e561562d.glb |
Create a cube with a side length of 85mm. On the faces of this cube, carve out several inscriptions using a bold sans-serif font with a depth of 5mm.
On the top face, center the text "BASEJ" with a character size of 20mm. On the front face, place the text "OSNOVNA" and "ŠOLA" in two separate rows; "OSNOVNA" should be... | echo(version=version());
font = "Arial:style=Bold";
cube_size = 85;
letter_size = 20;
letter1_size = 38;
letter2_size = 16;
letter_height = 5;
o = cube_size / 2 - letter_height / 2;
module letter(l) {
linear_extrude(height = letter_height) {
text(l, size = letter_size, font = font, halign = "center", valign =... | glb/cad_2bceab3598fa.glb |
Create five identical laptop replacement feet. Each foot is a pill-shaped shell with a total width of 7.69mm, a depth of 18.51mm, and a height of 5.50mm. To construct the shell, create a solid pill shape—formed by the convex hull of two cylinders with a radius of 3.845mm placed at opposite ends of the depth—and remove ... | $fn = 180;
howManyToPrint = 5;
offsetBetween = 2.00;
thickness = 2.00;
footHeight = 5.50;
footWidth = 7.69;
footRadius = footWidth / 2;
footDepth = 18.51;
module pill_shape(width, depth, height)
{
hull()
{
cylinder(r = width / 2, h = height);
translate([0, depth - width, 0])
... | glb/cad_1fe6cd0bf1f9.glb |
Create a re-railer for N-scale flex track. Start with a central rectangular block 80mm long, 30mm wide, and 5.93mm high.
Carve a central channel through the length of the block to accommodate the track. This channel should be 16.13mm wide (perpendicular to the rails) and 3.93mm deep. Within this channel, create a ser... | factor=1.2;
section_length=80;
section_width=30;
under_tie_height=2;
frog_length=60;
cross_angle=30;
tie_length=16.13*factor;
tie_width=1.76*factor;
tie_thickness=1.86;
track_height=3.93;
tie_spacing=6.5;
rail_width=1.35*factor;
rail_spacing=11.03*factor;
flange_clearance=1;
difference(){
union(){
difference(){
... | glb/cad_29d4a13c3acd.glb |
Create a bilge pump strainer and mount. Start with a central body consisting of a truncated cone that transitions from a bottom diameter of 39.5mm to a top diameter of 61.5mm over a height of 12.75mm. On top of this cone, add a cylinder with a diameter of 61.5mm and a height of 14.5mm.
Cut a central vertical hole thro... | b_dia=59;
strainer();
mount_clips();
module strainer(){
difference(){
union(){
color("green")cylinder(d1=35.5+4,d2=61.5,h=12.75);
translate([0,0,12.75])color("orange")cylinder(d=61.5,h=27.25-12.75);
translate([-68.5/2,-9.85/2,27.25-12.75])color("red")cube([68.5,9.85,12.75]);
}
translate([0,0,27.25-13.5])color("bl... | glb/cad_693fd36ababa.glb |
Create a machine rotary knob consisting of a spherical dome and a protruding handle. Start with a sphere of radius 42.8mm, but truncate the bottom half so it has a flat base. Add a cylindrical base plate with a radius of 27.5mm and a height of 1mm at the bottom.
Hollow out the center of the dome to create a cavity. T... | $fn=70;
union() {
difference() {
union() {
dial();
body();
}
translate([0,0,3.99]) shaft();
}
}
module body() {
difference() {
shell();
bottom_cavity();
}
}
module shaft() {
difference() {
intersection() {
cylinder(h=18.4,r=3.6);
translate([-5.6/2,-4,-.1]) cube([5.6,8,19]);
}
transla... | glb/cad_6c8279fe6321.glb |
Create an inverted bottle holder by starting with a truncated cone that has a height of 40mm, a base radius of 30mm, and a top radius of 18mm. From the center of this cone, remove a cylindrical core with a radius of 8mm that starts 2mm from the base and extends 30mm upward. Finally, remove a second cylindrical section ... | difference()
{
cylinder(h = 40, r1 = 30, r2 = 18, center = false);
translate([0, 0, 2])
cylinder(h = 30, r = 8);
translate([0, 0, 30])
cylinder(h = 10, r = 16);
} | glb/cad_ab0fd1ffcc42.glb |
Create a 3D model of a twisted, variable-width column by extruding a 9mm by 12mm rectangle centered at coordinates (-4, -3) on the XY plane. Extrude this rectangular profile upward along the Z-axis to a total height of 20mm. As the shape rises, continuously vary its scale and rotation to create a twisting, undulating e... | module linear_extrude_fs(height=1,isteps=20,twist=0){
union(){
for(i = [ 0: 1: isteps-1]){
translate([0,0,i*height/isteps])
linear_extrude(
height=height/isteps,
twist=twist/isteps,
scale=f_lefs((i+1)/isteps)/f_lefs(i/isteps)
... | glb/cad_fc04ce7d1c54.glb |
Create a door friction catch by extruding a specific 2D profile to a height of 10mm. The profile is a polygon defined by the coordinates [0,0], [11,0], [11,3], [12,4], [11,7], [10,7], [10,1], and [0,1]. Once this main body is formed, create a circular hole through the center of the part. The hole should have a radius o... | $fn=30;
tol=0.1;
clip();
module clip() {
difference() {
linear_extrude(height=10)
polygon(points=[[0,0],[11,0],[11,3],[12,4],[11,7],[10,7],[10,1],[0,1]]);
translate([5,-0.1,5]) rotate([-90,0,0]) cylinder(r=1.55+tol,h=1.2);
}
} | glb/cad_40640da91409.glb |
Create a V-Slot Power Plug Cover with an overall width of 53mm and a wall thickness of 2.5mm. The main body is a hollow rectangular shell designed to house a power jack, with internal dimensions of 28mm width, 48mm depth, and 21mm height. Add 4.5mm of extra material to the bottom face and 7.5mm to the top face. The mai... | t=2.5;
sock_ex_h=34;
sock_w=28;
sock_d=48;
sock_h=21;
sock_ex_b=4.5;
sock_ex_t=7.5;
sock_fillet=5;
f_w=48+2*t;
f_d=sock_d+sock_ex_b+sock_ex_t;
f_corner=(f_w-sock_w-2*t)/2;
e=0.01;
power_plug();
module mount_screw() {
translate([0,0,-e]) cylinder(2*t+2*e, d=3.5, $fn=16);
translate([0,0,t+e]) rotate(30) cy... | glb/cad_df38f97733ce.glb |
Create a Sketchbook Pencil Holder consisting of a rectangular base with four integrated cylindrical clips. Start by creating a rectangular plate measuring 51mm in length, 20mm in width, and 3mm in thickness.
Along the center line of the length, place four identical pencil clips spaced evenly at 6mm, 19mm, 32mm, and 4... | rotate([-90,0,0]){
difference(){
translate([0,0,0])cylinder(d=20,h=3);
translate([0,0,0])cylinder(d=9,h=4);
translate([-1.5,-4,2])cube(center=true,[3,12,4]);
}
difference(){
translate([51,0,0])cylinder(d=20,h=3);
translate([51,0,0])cylinder(d=9,h=4);
translate([51+1.5,-4,2])cube(center=true,[3,12,4]);
}
translate([25.5... | glb/cad_aff01a28bc13.glb |
Create a 3D model of a twisted rectangular prism that evolves along the Z-axis. Start with a 2D rectangular base measuring 12mm by 9mm, centered such that its bottom-left corner is at coordinates (-4, -3). Extrude this shape vertically to a total height of 30mm.
As the shape extrudes upward, apply a twisting motion an... | module linear_extrude_ft(height=1,isteps=20,scale=1,slices=0){
union(){
for(i = [ 0: 1: isteps-1]){
translate([0,0,i*height/isteps])
linear_extrude(
height=height/isteps,
twist=f_left((i+1)/isteps)-f_left((i)/isteps),
... | glb/cad_cb92d096b3d5.glb |
Create a 3D sculpture by extruding a 12mm by 9mm rectangle vertically to a total height of 50mm. The extrusion must be composed of 20 discrete stacked segments, each 2.5mm thick. For each segment, apply a scaling factor and a rotational twist based on a sine wave function.
The scale of the rectangular cross-section s... | module linear_extrude_ftfs(height=1,isteps=20,slices=0){
union(){
for(i=[0:1:isteps-1]){
translate([0,0,i*height/isteps])
linear_extrude(
height=height/isteps
,twist=leftfs_ftw((i+1)/isteps)-leftfs_ftw(i/isteps)
,scale=leftfs_fsc((i+1)/isteps)/leftfs_fsc(... | glb/cad_3289cec6bd88.glb |
Create a maraca shaker consisting of a hollowed-out body and a handle. Start by creating a base cylinder with a radius of 25mm and a height of 25mm. On top of this base, add a conical section that transitions from the 25mm base radius down to a 5mm radius over a height of 25mm, and cap it with a final cylinder of 5mm r... | $fn = 50;
shaker_radius = 25;
shaker_height = 25;
handle_radius = 5;
handle_height = 25;
bead_radius = 6;
wall_thickness = 3;
vasable=true;
vasable_bottom_thickness = 0.5;
module base_item()
{
bottom_thickness = (vasable ? vasable_bottom_thickness : wall_thickness);
difference()
{
color("grey"... | glb/cad_6d8c211ea317.glb |
Create a Pokemon card deck box with an open top. The main body is a rectangular container with an outer width of 74mm, an outer depth of 34mm, and a varying height. The front wall is 65mm tall, while the rear wall is 85mm tall, creating a sloped top edge. All walls are 2mm thick.
The interior cavity should be 70mm wid... | thickness = 2;
interior_width = 70;
interior_depth = 30;
front_height = 75 - 10;
rear_height = 95 - 10;
hexagon_radius = 3;
difference() {
union() {
difference() {
difference() {
cube([interior_width+thickness*2, interior_depth+thickness*2, rear_height]);
translate([thickness, thickness, t... | glb/cad_273d70412ecb.glb |
Create a hose adapter consisting of a tiered cylindrical body with a central hole. Start by creating a base disc with a diameter of 18mm and a height of 2mm. On top of this base, add a second cylinder with a height of 7.7mm, a bottom diameter of 14.4mm, and a top diameter of 14mm. Both the base and the upper cylinder s... | union(){
difference(){
difference () {
union () {
translate(v=[0, 0,0]){
cylinder(y=10,h=2,d=18);
}
translate(v=[0, 0, 2]){
cylinder(h=7.7, d2=14, d1=14.4, $fn=360/16);
}
}
union () {
translate(v=... | glb/cad_8b5e748aa902.glb |
Create a hose and flow control adapter starting with a rectangular base plate measuring 56mm wide, 37mm deep, and 2mm high. At the center of this plate, place a vertical cylindrical screw mount with an outer diameter of 7mm and a height of 18mm, featuring a concentric inner hole 2.8mm in diameter that starts 10mm from ... | difference(){
union(){
translate(v=[0, -6,2/2]){
cube([56, 37, 2.0], center=true );
}
translate(v=[0, 0,2/2]){
cylinder(h=2,d=26, center=true, $fn=360/16);
}
translate(v=[0, 0,2.0]){
difference(){
cylinder(h=18,d=7, center=false, $fn=360/16);
tra... | glb/cad_939219e445a8.glb |
Create a hose and flow control adapter. Start with a central cylindrical body that has a total height of 11mm. This main body consists of a wider upper ring with a diameter of 30mm and a height of 4mm, positioned atop a lower cylindrical base that has a height of 12mm and a slight taper, with a bottom diameter of 14.8m... | include <polyScrewThread.scad>
PI=3.141592;
union(){
difference(){
difference () {
union () {
translate(v=[0, 0,7]){
cylinder(y=10,h=4,d=30);
}
translate(v=[0, 0,-3-2]){
cylinder(h=12, d1=14.8, d2=15.2);
}
}
t... | glb/cad_14e77d71d4b0.glb |
Create a hose and flow control adapter. Start with a main cylindrical body 5.9mm high with a diameter of 40mm. Create a central hole through this body with a diameter of 35.8mm and a depth of 5mm, leaving a thin base.
On opposite sides of the main body, add two screw support lugs. Each lug is formed by a cylinder 8mm... | union(){
difference(){
cylinder(h=5+0.9, d=40);
translate([0,0,0.9]){
cylinder(h=5, d=35.8);
}
}
union(){
translate([-36/2-5,0,0]){
difference(){
union(){
cylinder(h=3, d=8);
translate([8/4,0,2/2]){
cube(size=[8/2,8,2],... | glb/cad_94b7b1b53adb.glb |
Create a hose adapter consisting of a hexagonal base and a threaded upper section. Start by creating a hexagonal prism with a diameter of 35mm and a height of 4mm. Centered within this base, remove a conical hole that tapers from a diameter of 11.2mm at the bottom to 10.8mm at a height of 9mm.
Above this base, startin... | include <polyScrewThread.scad>
PI=3.141592;
union(){
difference(){
difference () {
union () {
translate(v=[0, 0,0]){
cylinder(y=10,h=4,d=35, $fn=6);
}
translate(v=[0, 0, 2.5]){
screw_thread(26.67,1.81432,55,10,PI/2,0);
}
... | glb/cad_a4f2e5194f97.glb |
Create a hose adapter consisting of a threaded base and a grip. Start by creating a threaded cylinder with an outer diameter of 13.72mm, a pitch of 1.41122mm, and a tooth angle of 55 degrees, extending to a total height of 10mm. At the top of this threaded section, add a cylindrical grip with a radius of 8mm and a heig... | include <polyScrewThread.scad>
PI=3.141592;
union(){
difference () {
union () {
translate(v=[0, 0,10]){
cylinder(h=4,r=16/2,$fn=32);
}
translate(v=[0, 0,10-6]){
cylinder(h=6,d1=13.7,d2=14.1);
}
}
translate(... | glb/cad_9781740c09f3.glb |
Create a hose and flow control adapter. Start by creating a threaded cylinder with an outer diameter of 13.72mm, a thread pitch of 1.41122mm, and a tooth angle of 55 degrees, extending to a total height of 10mm. At the top of this threaded section, add a hexagonal grip with a flat-to-flat width of 13mm and a height of ... | include <polyScrewThread.scad>
PI=3.141592;
union(){
difference () {
union () {
translate(v=[0, 0,10]){
cylinder(h=4,r=14.8/2,$fn=6);
}
translate(v=[0, 0,10-6]){
cylinder(h=6,d1=11.7,d2=12.1);
}
}
translate... | glb/cad_b4ec8c0089b6.glb |
Create a hose and flow control adapter. Start by creating a hexagonal grip with a flat height of 4mm, positioned 10mm above the base. Below this grip, add a tapered cylindrical section that is 6mm high, transitioning from a bottom diameter of 11.7mm to a top diameter of 12.1mm. Integrated into the bottom of the model i... | include <polyScrewThread.scad>
PI=3.141592;
difference(){
difference () {
union () {
translate(v=[0, 0,10]){
cylinder(h=4,r=14.8/2,$fn=6);
}
translate(v=[0, 0,10-6]){
cylinder(h=6,d1=11.7,d2=12.1);
}
}
tran... | glb/cad_e4b642978a62.glb |
Create a 608-based bearing adapter for a filament spool. Start by constructing a central cylinder with a radius of 13mm and a height of 8mm, centered on the origin. Attach a wider, thinner disc to the bottom of this cylinder, with a radius of 15mm and a height of 2mm, also centered on the origin. From this combined sol... | $fn=192;
nothing=.00001;
difference()
{
union ()
{
cylinder(r=26/2, h=8, center=true);
translate([0, 0, -5-nothing]) cylinder(r=30/2, h=2, center=true);
}
translate([0, 0, 4]) cylinder(r1=22/2, r2=22.5/2, h=18, center=true);
cylinder(r=19/2, h=20, center=true);
} | glb/cad_c59bc0554b7d.glb |
Create a Cable Manager designed to hold 7 cables. Start with a base plate formed by the convex hull of two cylinders with a radius of 4mm and a height of 2mm, positioned 44mm apart along the Y-axis. Subtract two vertical holes with a radius of 1.75mm from the center of each cylinder to create mounting points.
On top o... | $fa=0.5*1;
$fs=0.5*1;
tolx=0.25*1;
wall=2;
cable_diameter=6;
filament_diameter= 3;
filament_radius=filament_diameter/2+tolx;
unit_width=cable_diameter+wall;
ncable=7;
nstack=2;
module base(ncable){
difference(){
hull(){
cylinder(r=unit_width/2,h=wall);
translate([0,(ncable+1)*u... | glb/cad_3a7359ebe8c1.glb |
Create a Traditional Dealgan Spindle. Start by constructing the main body as a tapered vertical tower with a total height of 155mm and a base footprint of 30mm by 30mm. The body should transition from a square base into a series of stacked, progressively smaller geometric sections—starting with a rounded square, moving... | $fn=50;
module pyramideShape() {
hull() {
minkowski()
{
cube([35,35,1],true);
sphere(4);
}
translate([0,0,30])
minkowski()
{
rotate([0,0,22.5]) cylinder(1,17.4,17.4,$fn=8);
sphere(4);
}
translate([0,0,80])
minkowski()
{
rotate([0,0,30]) cylinder(1,... | glb/cad_a24c8378a230.glb |
Create a Light Mount for a Recumbent Front Derailleur Post. Start by creating a main cylinder with a diameter of 24mm and a height of 24mm. Hollow out the center of this cylinder by removing a smaller concentric cylinder with a diameter of 20mm and a height of 54mm, centered vertically.
To create the mounting interfac... | $fn=200;
comprimento=50;
tubo=35;
largura=24;
diacyl=24;
espcyl=2;
esp=3;
lar=6;
color([1,0.6,0])
difference(){
union(){
translate([0,0,-largura/2])
difference(){
union(){
cylinder(d=diacyl, h=largura);
translate([-(comprimento-20/2+(tubo-espcyl)/2-espcyl),(diacyl/2-l... | glb/cad_a5f13a1b88b0.glb |
Create a Wood Chisel Blade Cover by constructing a rectangular hollow box. Start with a solid outer block measuring 19mm wide, 24mm deep, and 8.84mm high. From this block, remove a smaller rectangular volume to create a cavity that is 15mm wide, 20mm deep, and 4.84mm high. This internal cutout should be centered along ... | bladeWidth = 15.00;
bladeDepth = 20.00;
bladeHeight = 4.84;
offset = 2.00;
tighteness = 0.10;
boxWidth = bladeWidth + offset * 2;
boxDepth = bladeDepth + offset * 2;
boxHeight = bladeHeight + offset * 2;
cutoutWidth = boxWidth - offset * 2;
cutoutDepth = boxDepth - offset * 2;
cutoutHeight = bo... | glb/cad_f9cb1c1cec2a.glb |
Create a Colored Pencil Carousel platform. Start by creating a circular disc with an outer radius of 48mm and a thickness of 10mm. From the top surface of this disc, remove a central cylindrical hole with a radius of 10.4mm and a height of 20mm.
Around the outer perimeter of the disc, create 12 equally spaced rectang... | use <pencil-holder.scad>;
m3_nut_width = 5.5;
m5_nut_width = 7.9;
backlash = 0.25;
shaft_length = 150;
show_pencils = "no";
module baseGrooveProfile() {
difference() {
translate([25, 0])
polygon([
[-9, 0],
[-9, 2],
[-7, 4.5],
[8.5... | glb/cad_11fafe83a623.glb |
Create a Fan Mount K8200 by starting with a solid rectangular block measuring 45mm wide, 18mm deep, and 20mm high, centered on the origin. Carve out a central rectangular void measuring 40mm wide, 11mm deep, and 20mm high, positioned 10mm above the center. Remove a large cylinder with a 38mm diameter that passes vertic... | $fn=100;
difference() {
cube([45 , 18, 20], center=true);
union() {
translate([0, -1, 10]) {
cube([40, 11, 20], center=true);
}
translate([0,0,24]) {
rotate([90 ,0 ,0]) {
cylinder(25, d=38, center=true);
}
}
translate([1... | glb/cad_4543bc58218c.glb |
Create a Fan Mount K8200 by constructing a complex geometric assembly. Start with a central core consisting of three intersecting rectangular prisms: one measuring 8x10x5mm, one 6x10x11mm, and one 2x10x15mm, all centered. Add a fourth prism measuring 9x10x15mm, centered at X=4.5, with a second identical prism positione... | $fn=20;
module nupsies(n,d) {
for(i=[0:360/n:360]) {
echo(i);
rotate(i, 0, 0) {
translate([d,0,0]) {
sphere(d=2);
}
}
}
}
difference() {
union() {
cube([8,10,5], center=true);
cube([6,10,11], center=true);
cube([2,10,1... | glb/cad_195ce145e95e.glb |
Create a Hilbert Cube composed of 128 small cubes, each measuring 2.5mm on all sides. Arrange these cubes in a 3D grid pattern to form a complex, winding path that fills a larger cubic volume. The cubes should be positioned such that their centers are spaced 2.5mm apart, creating a continuous sequence of connected bloc... | union() {
translate([-7.5,7.5,-7.5]) cube(2.5, center=true);
translate([-7.5,2.5,-7.5]) cube(2.5, center=true);
color([1,1,1]) translate([-7.5,5.0,-7.5]) cube(2.5, center=true);
translate([-2.5,2.5,-7.5]) cube(2.5, center=true);
color([1,1,1]) translate([-5.0,2.5,-7.5]) cube(2.5, center=true);
translate([-2.5,7.5,-7.5]... | glb/cad_0b194a85eb9e.glb |
Create a cube with dimensions of 50mm x 50mm x 50mm, centered on the origin. Within this cube, create eight vertical holes to serve as reinforcement channels. Each hole must be a cylinder with a radius of 1.7mm and a height of 100mm to ensure they penetrate completely through the top and bottom faces of the cube.
Pos... | difference (){
cube (50,center=true);
translate([5,-17,-35]){
cylinder (r=1.7,h=100,$fn=50);
}
translate([-5,-17,-25]){
cylinder (r=1.7,h=100,$fn=50);
}
translate([5,17,-25]){
cylinder (r=1.7,h=100,$fn=50);
}
translate([-5,17,-25]){
cylinder (r=1.7,h=100,$fn=50);
}
tra... | glb/cad_5829cc6e15ed.glb |
Create a customizable LED strip diffuser consisting of two main parts: an angled mounting base and a snap-on cover.
First, construct the mounting base. Start with a rectangular plinth 2mm thick. Centered on this plinth, add a triangular prism with a length of 55mm. The prism's cross-section is defined by a face width... | length = 55;
faceW = 10;
angle = 30;
thickness = 2;
wall = 1.5;
A = 180 - 90 - angle;
base = sin(A)*faceW;
side = cos(A)*faceW;
chord = (sqrt((side*side)+((base/2)*(base/2))))+2;
totalWidth = 2*chord;
centre = chord;
totalLength = length+(2*wall)+1;
module ledDiffuser(){
angleMount();
translate([2*totalW... | glb/cad_0b7647c89e75.glb |
Create a Huxley Spool Holder foot by starting with a cylinder that has a radius of 7mm and a height of 14mm. Position this cylinder so its center is at coordinates (1.6, 9.52, 0). From this cylindrical base, remove a rectangular section using a cube with dimensions 7.5mm wide, 15mm deep, and 15mm high, positioned at (1... | union() {
difference() {
import_stl("source files/emaker-Huxley-08c5d97 2/stl/frame-vertex-foot.stl");
translate([-30,-20,0]) cube([31.5,40,15]);
}
difference() {
translate([1.6,9.52,0]) cylinder(h=14,r=7);
translate([1.6,2.52,0]) cube([7.5,15,15]);
}
} | glb/cad_7bbb13b90215.glb |
Create a 9V Battery Case bottom tray. Start by creating a solid rectangular base with rounded corners, measuring 77mm in width, 20mm in depth, and 36.5mm in total height. The base floor should be 1.5mm thick.
Inside this volume, carve out four rectangular battery compartments arranged in a single row. Each compartment... | _part = "bottom";
_batteryLength = 27;
_batteryWidth = 18;
_insideHeight = 35;
_columns = 4;
_rows = 1;
_walls = 1;
_base = 1.5;
_lipHeight = 2.5;
_fitGap = 0.1;
_labelDepth = -0.8;
font = "Impact";
letter_size = 15;
letter_height = 2.5;
letter_line_space = 5;
letter_text_line1 = "4x";
letter_text_line2 = "9V... | glb/cad_017a50553057.glb |
Create two identical jumper wire connector housings. For each housing, start with a solid rectangular block measuring 12.16mm in length, 7.08mm in width, and 8mm in height. Center a rectangular hole through the top of the block to create a hollow shell; this interior cutout should measure 10.16mm in length and 6.08mm i... | k=0.1;
height=8;
thickness=1;
pitch=2.54;
tolerance=0.2;
print = 0;
translate([0,0,0]) connector(4, 2);
mirror([0,0,0]) translate([0,0,0]) pin2(+1);
translate([0,10,0]) connector(4, 2);
mirror([0,0,0]) translate([0,10,0]) pin2(+1);
module connector(L=2, W=1){
difference() {
union() {
cube([L*pit... | glb/cad_8925a3e7147e.glb |
Create a door blocking device consisting of a circular base and a hexagonal pin. Start by creating a smooth cylinder for the base with a diameter of 7mm and a height of 5mm. Centered on top of this base, add a hexagonal prism with a flat-to-flat width of 6mm and a height of 20mm. Finally, create two small vertical hole... | halen_size = 6;
pin_height = 20;
base_height = 5;
base_diam = 7;
cyl_diam = 2;
cylinder(base_height, base_diam, base_diam, $fn=100);
translate([0, 0, 4.99])
cylinder(pin_height, halen_size/2, halen_size/2, $fn=6);
translate([0, base_diam, 0])
cylinder(base_height, cyl_diam, cyl_diam, $fn=100);
translate([0, -base_di... | glb/cad_c9d2965c8fde.glb |
Create a keyboard and trackpad bracket by starting with a solid rectangular block measuring 20mm wide, 22mm deep, and 10mm high. From this block, remove a cylindrical section to create a semi-circular trough. This cutout is formed by a cylinder with a radius of 9mm, oriented horizontally and centered along the 20mm wid... | translate([0, 0, 10]) rotate([180, 0, 0]) intersection() {
difference() {
translate([-11, -11, 0]) cube([20, 22, 10]);
translate([-9, 0, 0]) rotate([0, 90, 0]) cylinder(h = 20, r1 = 9, r2 = 9);
}
translate([-11, 0, 0]) rotate([0, 90, 0]) cylinder(h = 22, r1 = 11, r2 = 11);
} | glb/cad_7789883bd386.glb |
Create a Darieus turbine consisting of three identical aerofoil blades arranged symmetrically around a central vertical axis. Each blade is a vertical profile with a height of 50mm and a thickness of 0.3mm. The cross-section of each blade is a teardrop shape based on a 10mm radius. Position these three blades at 120-de... | module teardrop(radius,height,truncated)
{
truncateMM = 1;
union()
{
if(truncated == true){
intersection(){
translate([0,0,height/2]) scale([1,1,height]) rotate([0,0,180])
cube([radius*2.5,radius*2,1],center=true);
scale([1,1,height]) rotate([0,0,3*45])
cube([radius,radius,1]);
}
}
if(t... | glb/cad_2995578ea602.glb |
Create a bike handlebar mount for a Garmin eTrex GPS. The device consists of a hinged clamp designed to fit a handlebar with a diameter of 25.2mm.
The main body is a block 22mm wide and 49mm high. Create a cylindrical cavity through the center of the block with a radius of 12.6mm to accommodate the handlebar. The cla... | $fn = 60;
module arc(r1,r2,h,a1=0,a2=0){
if(a2-a1<=180){
difference(){
cylinder(r=r2,h=h);
translate([0,0,-1])cylinder(r=r1,h=h+2);
rotate(a2)translate([-r1-r2,0,-1])cube([2*(r1+r2),2*(r1+r2),h+2]);
rotate(a1+180)translate([-r1-r2,0,-1])cube([2*(r1+r2),2*(r1+r2)... | glb/cad_2ca532256421.glb |
Create a snap-together hinge consisting of two mirrored mating parts. Each part is built around a central rectangular block with a length of 5mm, a width of 3.55mm, and a height of 3.7mm (calculated as two tab thicknesses of 1.85mm plus a 1.3mm separation).
For the first part, create two female sockets. Each socket st... | $fn=70;
tabThickness = 1.85;
tabWidth = 3.55;
tabSeperation = 1.3;
tabTolerance = 0.2;
pivotTolerance = 1;
directDiameter = 3;
indentWidth = 2.93939;
diameterOrWidth = 0;
ballTolerance = 0.3;
backLength = 5;
ballRatio = .4;
divisor = 4*(.25-pow(.5-ballRatio,2));
dSquared = pow(exposedWidth,2)/divisor;
D = sq... | glb/cad_aa1f54624939.glb |
Create a dishwasher water collector cap. Start by creating a wide base cylinder with a diameter of 59mm and a height of 5mm. On top of this base, add a second cylinder with a diameter of 57mm and a height of 2mm, effectively creating a thin outer rim. In the center of the model, place a cylinder with a diameter of 16mm... | k=0.1;
$fn=50;
d_in1 = 14;
d_in2 = 16;
d_out1 = 59-2;
d_out2 = 59;
h_in = 8;
h_out = 5;
t_button = 2;
print = 0;
rotate([print * 180,0,0]) cap();
module cap(){
difference(){
union() {
difference(){
cylinder(r=d_out2/2, h=h_out);
translate ([0,0,t_button]) cylinder... | glb/cad_375704dde4bc.glb |
Create a dummy battery model for a Nikon EN-EL15 with a total height of 55.75mm. Start by constructing a main body that combines a central rectangular block measuring 29mm in width and 13mm in depth, with two semi-cylindrical protrusions on the sides. These protrusions should have a diameter of approximately 20mm and a... | Nikon_EN_EL15();
module Nikon_EN_EL15()
{
H = 55.75;
difference()
{
union()
{
difference()
{
translate([9.6,10,0])cylinder(h= H, d=20 ,$fn = 30, center=false);
translate([-5,0,0]) cube([5,25,H+1]);
}
difference()
{
transla... | glb/cad_f979d74c5d13.glb |
Create a hanging enclosure for a RAMPS 1.4 control board. The main body is a rectangular box with external dimensions of 152mm in length, 92mm in width, and 61mm in height, featuring a wall thickness of 2mm. The interior is a hollow cavity measuring 148mm by 88mm by 57mm.
At the four interior bottom corners, add cylin... | tolerance = 0.2;
m3ScrewDiameter = 3.3;
m3ScrewCapDiameter = 5.35;
m3ScrewCapThickness = 3.2;
m3NutFlatSideWidth = 5.5;
m3NutPointySideWidth = 6;
m3NutThickness = 2.4;
mksRampHoleDiameter = 4;
mksRampHoleCenterFromEdge = 2 + mksRampHoleDiameter / 2;
mksRampWidth = 84;
mksRampLength = 143;
mksRampHeight = 15;
mksRampUS... | glb/cad_c527c4032f96.glb |
Create a Feedback Sports Ultimate Repair Stand Top Extension consisting of a hollow cylindrical body with a total height of 73mm. Start with a main outer cylinder that has a radius of 19.1mm and a height of 20mm. Centered within this, create a hollow bore with a radius of 16mm that extends upwards. At the top of this i... | $fa=.1;
$fs=.1;
cylinder(h = 20, r1 = 19.1, r2 = 19.1, center = false);
cylinder(h = 50, r1 = 16, r2 = 16, center = false);
translate(v = [0, 0, 50]) { cylinder(h = 3, r1 = 16, r2 = 14, center = false);}
translate(v = [0, 0, -2]) { cylinder(h = 2, r1 = 18, r2 = 19.1, center = false);}
color( "Blue" ) {
for (a =... | glb/cad_a78ba5667b63.glb |
Create a Dwarf Fortress dwarf symbol by constructing two stacked layers of extruded text on a flat base. First, create a rectangular base plate with a thickness of 4mm. Centered on this base, extrude a solid block character "█" to a height of 4mm using a font similar to DF Curses 8x12, scaled so the character is 16mm w... | s = 4;
h = 1;
letters = ["█", "☺"];
for (i = [0:len(letters)]) {
scale([s, s, s]) {
translate([0, 0, i*h]) {
linear_extrude(height=h) {
text(letters[i], halign="center", font="DF Curses 8x12");
}
}
}
} | glb/cad_a9f6fddc101f.glb |
Create a robot model based on a rectangular chassis. Start with a main base plate measuring 600mm in length, 560mm in width, and 20mm in thickness, positioned 20mm above the ground. Subtract a central rectangular hole from this plate measuring 300mm by 155mm, centered at X=370 and Y=225.
On top of the plate, add a mot... | Platte = true ;
PlatteLang = 600;
PlatteBreit = 560;
PlatteHoch = 20;
Bodenhoehe = 20;
Loch = true ;
LochLang = 300;
LochBreit = 155;
LochX = 370;
LochY = 225;
MALE = true ;
MALEDrehung = false;
MALELang = 160;
MALEBreit = 130;
MALEHoch = 100;
MALEx = 0;
MALEy = 0;
MALEZ = 0;
Arduino = true ;
ArduinoDrehung = false;... | glb/cad_f2074655aefd.glb |
Create a servo mount for an RSC-9400 router speed controller. The model consists of a U-shaped bracket and a separate knob adapter.
First, construct the bracket. Create a base consisting of two vertical side arms, each 8mm wide, 35mm deep, and 88.5mm tall. Connect these arms with a top plate 79.7mm wide, 35mm deep, an... | $fn=120;
rotate([90,0,0])bracket();
module bracket(){
difference(){
bracket_base();
rsc_chassis();
translate([0,0,25])rotate([0,180,0])servo();
}
}
module knob_to_servo(){
difference(){
translate([0,0,6])cylinder(d=30,h=19);
rotate([0,0,27.5])rsc_knob();
translate([0,0,25])rotate([0,180... | glb/cad_58722e9e0617.glb |
Create a smartphone holder for a Fiat Punto. Start by constructing a central rectangular cradle with a width of 100mm, a length of 200mm, and a height of 10mm. The walls of this cradle should be 5mm thick. To allow for a charging cable, create a rectangular cutout through the center of the base.
On the underside of th... | Modele_de_smartphone="Huawei SCL-L01";
Visualisation="paysage";
Trou_pour_alimentation="oui";
Largeur_du_smartphone=100;
Longueur_du_smartphone=200;
Epaisseur_du_smartphone=10;
Epaisseur_du_support=5;
ObjetFinal();
module ObjetFinal(){
modele=
[
["Huawei SCL-L01",72,143,10],
["iPhone 4",58.6,115.2,9.3],
[... | glb/cad_10d51fba2bb0.glb |
Create a Melzi Fan cooling duct designed to direct airflow from a fan onto a PCB.
Start by creating a mounting platform for a 40mm fan. This platform should be 4mm thick, with a 38mm diameter central hole and four 3mm screw holes spaced 32mm apart on each edge.
From this platform, extend a rectangular tube with 2mm... | Knickwinkel=45;
Knickradius=50;
Zusatzhoehe=0;
Wanddicke = 2;
fn = 128;
fns = 32;
steps = 32;
print_layout=0;
print_support=0;
support_dist=0.3;
supTh=0.4;
SchrPos = [[4, 4], [46, 4]];
PcbLochdurchmesser = 3;
ElkoPositionen = [ [33, 19], [33, 41], [33, 62], [33, 84] ];
ElkoDurchmesser = 7;
ElkoHoehe = 8;... | glb/cad_f963538cf5bf.glb |
Create an Owlet brooch by constructing a stylized owl body and adding facial and plumage details. Start with a flat body base 35mm wide and 50mm high. The top is a semi-circle, and the bottom is rounded with 7mm radius corners. Add two small triangular ears protruding from the top corners.
For the face, place two larg... | $n_feathers_x = 3;
$n_feathers_y = 2;
$feathers_y_offset = -30;
$feather_b = 12;
$feather_h = 6;
$eye_color = "grey";
$body_color = "brown";
$beak_color = "yellow";
$feathers_color = "grey";
owlet(b=35, h=45, $n_feathers_x=4, $feathers_y_offset=-22);
function arc(r=1, beg=0, end=360, x=0, y=0, n=360) =
[for(i=[0:... | glb/cad_22a24070d64b.glb |
Create a minimalistic opto endstop holder by starting with a central cylinder 10mm high with a 6mm radius. Merge this with a rectangular block measuring 11mm by 15mm by 10mm, centered on the cylinder and shifted 6mm along the Y-axis. Add a second rectangular block measuring 7mm by 27mm by 10mm, centered at X=6, Y=0, Z=... | $fn = 100;
difference() {
union() {
translate([6, 0, 5]) {
cube(size = [7, 27, 10], center = true);
}
translate([0, 0, 5]) {
cylinder(h = 10, r=6, center = true);
translate([0, -6, 0]) {
cube(size = [11, 15, 10], center = true);
}
}
}
translate([0, 0, 5]) {
cylinder(h = 20, r=4, cente... | glb/cad_b852708a0cf0.glb |
Create an OptoSwitch mount consisting of two main components: an arm and a cap.
First, construct the arm. Start with a solid base composed of three joined sections: a cylinder with a radius of 5mm and height of 9mm centered at (5, 5, 0), a cylinder with a radius of 6.5mm and height of 9mm centered at (30, 6.5, 0), an... | $fn=16*4;
module arm(){
module solids(){
translate([5,5,0]) cylinder(r=5, h=9);
translate([30,6.5,0]) cylinder(r=6.5, h=9);
translate([5,0,0]) cube([25,13,9]);
}
module holes(){
translate([5,5,0]) cylinder(r=4, h=9);
translate([30,6.5,0]) cylinder(r=5.5, h=9);
... | glb/cad_c6eb96024946.glb |
Create a Howard Timberlake model by designing a composite geometric shape. Start with a sphere with a radius of 20mm, centered at a height of 20mm above the origin. From this sphere, remove a central cylindrical volume to create a void. This void is formed by a cylinder with a radius of 22mm and a height of 10mm, cente... | $fa = 10;
R = 20;
clearance = 0.5;
h = R - R * cos(60);
module sp()
translate([0, 0, R])
sphere(R);
if(0)
sp();
else
difference() {
translate([0, 0, h / 2])
cylinder(r = (R * sin(60) + 2), h = h, center = true);
minkowski() {
sp();
cylinder(r = c... | glb/cad_c67a958d265d.glb |
Create a guitar string remover consisting of two separate parts: a handle and a lever.
For the handle, create a revolved shape centered at (60, 0, 50). The profile for the revolution is a polygon with vertices at [0,0], [0.5,0], [1.5,2], [1,2], [1,7], and [0,7]. This revolved body is modified by a hull operation that ... | translate ([60,0,50])
{
ray=5;
haut=15;
qual=64;
lar=20;
ep=2;
difference()
{
rotate_extrude($fn=qual)
{
translate ([2.9,0,0])
polygon(points=[[0,0],[0.5,0],[1.5,2],[1,2],[1,7],[0,7]]);
}
translate([-0.5,-5,-5])
cube([1,10,10]);
... | glb/cad_b9b0baff7796.glb |
Create a parametric air cap consisting of a hollow cylindrical shell and an internal angled grid. Start by creating a main outer cylinder with a diameter of 45mm and a total height of 20mm. This cylinder should have a wall thickness of 1mm, leaving an inner diameter of 40mm.
Inside this shell, construct a series of p... | vyska=20;
prumer=45;
stena=1;
Vprumer=40;
silaMrizky=2;
vyskaMrizky=20;
mezeraMrizky=4;
sklonMrizky=20;
podpora=true;
pocetMrizek=round((Vprumer-2*stena)/(silaMrizky+2*mezeraMrizky));
prodlouzeni= (sqrt(pow(silaMrizky,2)*2)/2);
module vnitrniCut()
{
cylinder (h=vyska+stena,r=Vprumer/2-stena);
}
module dilMri... | glb/cad_2ec3c2b4b6b3.glb |
Create a sillcock spacer with a thickness of 12mm. The main body is an oval shape, 65mm in length and 45mm in width.
At the center of this body, create a tapered conical hole that passes through the entire thickness. The bottom of the hole should have a diameter of 29mm, widening to a diameter of 37mm at the top.
On... | thickness = 12.0;
pipe_diameter = 29.0;
opening_taper_diameter = 37.0;
screw_d = 6.5;
screw_x_offset = 20.0;
screw_x_width = 6.5;
length = 45.0;
width = 65.0;
facets = 32;
module screw_hole() {
hull() {
translate([screw_x_offset, 0, -0.1]) cylinder(d=screw_d, h=thickness+0.2, $fn=facets);
translate([... | glb/cad_6e901e6b3594.glb |
Create a Mendel90 compact dsub fitting starting with a rectangular base measuring 30mm wide, 46mm long, and 2.5mm thick. Drill two vertical holes through this base, each 2mm in diameter, positioned at coordinates (5, 7.5) and (5, 38.5). On top of this base, construct a series of vertical walls that are 25mm high. Place... | difference()
{
cube([30,46,2.5]);
translate([5,7.5,-1]) cylinder(20,2,2);
translate([5,38.5,-1]) cylinder(20,2,2);
}
difference()
{
union()
{
translate([9,37.5,0]) cube([6,8.5,25]);
translate([17,37.5,0]) cube([4,8.5,25]);
translate([23,37.5,0]) cube([6,8.5,25]);
translate([9,0,0]) cube([6,8.5,25]);
translate([17,0,0])... | glb/cad_999c61eae021.glb |
Create a protective cover for a Kobo e-reader by starting with a rounded rectangular base. The main body should be 180mm long, 120mm wide, and 12mm thick, with all exterior corners rounded to a radius of 2mm. Hollow out the center of this volume to create a recessed tray, leaving a consistent wall thickness of 2mm arou... | $fn=30;
length = 180;
width= 120;
height = 12;
radius = 2;
rand = 2;
rand6 = 3;
rand2 = 200;
rand3 = 0;
rand5 = 0;
rand4 = 4;
difference(){
translate([0, 0, 0]){
roundedBox(length, width, height, radius);
}
union(){
translate([rand6, rand, rand]){
roundedBox(length - 2*rand, width - 2*rand6, height- 2*r... | glb/cad_609225af846c.glb |
Create a protective cover for a Skytraxx 1.0. Start by creating a solid rounded rectangular block with a total length of 70mm, a width of 88mm, and a height of 29mm, applying a corner radius of 2mm to all edges. From this main volume, remove a smaller rounded rectangular section from the center to create a hollow inter... | $fn=20;
length2 = 66;
width2= 82;
height2 = 25;
radius = 2;
rand = 2;
rand6 = 3;
rand2 = 200;
rand3 = 0;
rand5 = 0;
rand4 = 6;
length = length2 + 2*rand;
width= width2 +2*rand6;
height = height2 + 2*rand;
difference(){
translate([0, 0, 0]){
roundedBox(length, width, height, radius);
}
union(){
translate([r... | glb/cad_392540cd2a78.glb |
Create a gas stove control knob by starting with a central cylinder 34mm in diameter and 26mm in height, centered on the origin. Carve a vertical slot through the center of the cylinder that is 10mm wide and 40mm tall, extending from the top face down through the bottom. Within the center of the cylinder, create a holl... | $fn=50;
union(){
difference(){
cylinder(26,17,17,center);
union(){
translate ([10,20,15]) rotate([90,0,0]) cylinder(50,5,5);
translate ([10,-20,10]) cube([20,40,20], center);
translate ([5,-20,15]) cube([20,40,20], center);
translate ([-10,20,15]) rotate([90,0,0]) cylinder(50,5,5);
translate ([-30,-20,10]) cube([20... | glb/cad_dffb5474cf6b.glb |
Create an LED lamp consisting of three curved arms that form a bow shape, originating from a common base. The total diameter of the lamp's curvature is 300mm. Each arm is constructed from 8 repeating segments.
For each segment, create a U-shaped profile rail with a total width of 20mm (composed of a 12mm internal spac... | $fn=90;
Eps = 0.02;
Schiene = 1;
Deckel = 1;
Verbinder = 1;
Abschluss = 1;
Fuss = 1;
Dicke = 4.0;
LedB = 8.0+4.0;
LedH = 2.5+2.5;
Durchm = 300;
AnzElem = 8;
Laenge = Durchm/AnzElem;
Breite = LedB + 2*Dicke;
Hoehe = Dicke + LedH + Dicke/2 + Dicke;
Winkel = 120/AnzElem;
Winkel2 = 120/AnzElem/2;
LaengeV = Dicke/(2*sin(... | glb/cad_060853689ab3.glb |
Create a radio stand by constructing a smooth cylinder with a height of 25mm and a radius of 7mm. From the center of this cylinder, remove a smaller triangular prism with a height of 25mm and a radius of 5.6mm. The resulting shape should be a hollowed cylinder with a three-sided, equilateral hole running through its en... | thickness = 25;
module outside()
{
$fn = 290;
color("red") cylinder(thickness,7,7);
}
module hole()
{
$fn = 3;
color("blue") cylinder(thickness,5.6,5.6);
}
difference(){
outside (0,0,0);
hole (0,0,0);
} | glb/cad_0b7c954be52a.glb |
Create a radio stand by constructing a solid cylinder with a height of 56mm and a radius of 7mm. From the center of this cylinder, remove a triangular prism with a height of 56mm and a radius of 5.6mm to create a hollow core. Ensure the outer cylinder is rendered with high resolution for a smooth surface, while the inn... | thickness = 56;
module outside()
{
$fn = 290;
color("red") cylinder(thickness,7,7);
}
module hole()
{
$fn = 3;
color("blue") cylinder(thickness,5.6,5.6);
}
difference(){
outside (0,0,0);
hole (0,0,0);
} | glb/cad_2a4261f7f468.glb |
Create a radio stand by constructing a vertical triangular prism. The prism should have a total height of 170mm and a base that is an equilateral triangle with a side length of 4mm. Ensure the prism is oriented vertically along the Z-axis. | module hole()
{
$fn = 3;
color("red") cylinder(170,4,4);
}
hole(0,0,0); | glb/cad_457595bad5cc.glb |
Create a radio stand by constructing a triangular prism with a length of 65mm. The prism should be oriented so that its length runs along the Y-axis, with a cross-section consisting of an equilateral triangle where each side measures 4mm. | length =65;
module hole()
{
rotate([0,90,0])
{
$fn = 3;
color("red") cylinder(length,4,4);
}
}
hole(0,0,0); | glb/cad_000c45168c86.glb |
Create a radio stand by constructing a smooth cylinder with a radius of 7mm and a height of 10mm. From the center of this cylinder, remove a smaller triangular prism hole that is 7mm tall and has a radius of 5.6mm. Position this hole so that it starts 3mm above the base of the main cylinder, leaving a solid 3mm thick f... | thickness = 10;
module outside()
{
$fn = 290;
color("red") cylinder(thickness,7,7);
}
module hole()
{
$fn = 3;
color("blue") cylinder(thickness-3,5.6,4);
}
difference(){
outside (0,0,0);
hole (0,0,0);
} | glb/cad_bcf42f77c6d7.glb |
Create a Horizontal Filament Holder consisting of a central spool hub and two supporting arms. Start by creating a central cylindrical disc with a radius of 25mm and a height of 10mm, and remove a concentric cylindrical hole with a radius of 20mm from its center. In the center of this disc, place a vertical cylinder wi... | difference()
{
union(){
translate ([-5, -60, 0]) scale ([1, 18, 1]) cube( 10);
translate ([-120, -5, 0]) scale ([18, 1, 1]) cube( 10);
translate ([0,115,10]) cylinder (h= 100, r = 5);
translate ([-115,0,10]) cylinder (h= 100, r = 5);
difference(){
cylinder(h=10, r=25);
cylinder(h=10, r=20);
}
}
tran... | glb/cad_20bba55b620b.glb |
Create a Horizontal Filament Holder consisting of two identical arms joined at a right angle. For each arm, start with a rectangular base measuring 10mm wide, 120mm long, and 5mm thick. At each end of the rectangle, center a cylindrical protrusion with a height of 5mm and a radius of 8mm. Within these protrusions, crea... | difference()
{
union(){
translate ([-5, -5, 0]) scale ([1, 12,0.5]) cube (10);
translate ([0, 110, 0]) cylinder (h=5, r=8);
translate ([0, 0, 0]) cylinder (h=5, r=7);
}
translate ([0, 110, 0]) cylinder (h=5, r=5.1);
translate ([0, 0, 0]) cylinder (h=10, r=3.2);
}
rotate ([0,0,90]) difference()
{
union(... | glb/cad_47b38b8bff1f.glb |
Create a Canning Jar Sprouting Lid by first constructing a circular cap with a radius of 31.5mm. Hollow out the center of this cap by removing a cylinder with a radius of 22.5mm and a height of 3mm. Within this remaining annular ring, integrate a fine mesh screen pattern. The mesh should be composed of intersecting tra... | include <canning_jar_lids.scad>;
include <meshscreen.scad>;
tracewidth = 0.55;
layerheight = 0.2;
module sprouter(rad)
{
difference() {
cap(rad);
translate([0,0,-0.1]) cylinder(r=(rad-9), 3);
}
intersection()
{
mesh_raw(h=1.2,mesh_w=tracewidth,mesh_space=1,width=(rad-9)*2,layer_h=layerheight);
translate([... | glb/cad_27144e721678.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.