Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a spindle for a bead chain motor shaft consisting of two mirrored components. For the first component, create a base cylinder with a radius of 15mm and a height of 1mm. On top of this base, add a truncated cone that tapers from a 15mm radius at the bottom to a 10mm radius at the top over a height of 5mm. In the ... | ballRadius = 2.125;
spindleRadius = 10;
spindleLargerRadius = 15;
spindleSegmentHeight = 5;
circleRes = 72;
numBalls = 12;
motorShaftRadius = 2.5;
motorShaftFlatThickness = 3;
motorShaftLength = 6;
jointFudgeFactor = 0.2;
module spindleTop() {
union() {
spindleSide();
translate([0, 0, spindleSegmentHeight - ... | glb/cad_f5e20fc30098.glb |
Create a motor mount for a 28BYJ-48 stepper motor. Start with a base plate measuring 50mm by 50mm with a thickness of 3mm. From this base, extend two perpendicular walls, each 50mm high and 4.5mm thick, along one side and one edge to form an L-shaped bracket.
On the base plate, create a central cutout for the motor sh... | printFudgeFactor = 0.1;
circleRes = 36;
s = 0.001;
motorShaftRadius = 2.5;
motorShaftFlatThickness = 3;
motorShaftFlatLength = 6;
motorShaftTotalLength = 8.5;
motorShaftBaseRadius = 4.5;
motorShaftBaseThickness = 1.5;
motorShaftDistanceFromCenter = 8;
motorBodyRadius = 14;
motorBodyHeight = 19;
motorSideRectWidth = ... | glb/cad_f8c7e8319382.glb |
Create a prosthetic finger socket and support structure. Start by constructing a finger socket that is tapered, with a bottom diameter of 22mm and a top diameter of 17mm, and a depth of 36mm at the top, tapering to 25mm at the bottom. Incorporate a scalloped cutout on each side with a width ratio of 0.75 relative to th... | part = 8;
knuckles = 2;
preview = 0;
rotatetest = 65;
explode = 0;
socket_width_bottom = 22;
socket_width_top = 17;
socket_depth_top = 36;
socket_depth = socket_depth_top;
socket_depth_bottom = 25;
socket_depth_scallop = 21;
tip_length = 24.5;
middle_section_length = 31;
base_extra_length = .5;
linkage_len... | glb/cad_9c8e9e5807e9.glb |
Create a prosthetic finger socket and support structure. Start by constructing a hollow, tapered socket body with a bottom diameter of 20.5mm and a top diameter of 17.25mm, extending to a depth of 34mm. Incorporate a scalloped cutout on each side with a depth of 21mm to accommodate webbing.
Build a base section that c... | part = 8;
knuckles = 2;
preview = 0;
rotatetest = 65;
explode = 0;
socket_width_bottom = 20.5;
socket_width_top = 17.25;
socket_depth_top = 34;
socket_depth = socket_depth_top;
socket_depth_bottom = 25;
socket_depth_scallop = 21;
tip_length = 24.5;
middle_section_length = 31;
base_extra_length = .5;
linkag... | glb/cad_67b1f66c5674.glb |
Create a prosthetic finger model consisting of a socket, a base, a middle segment, a tip, and a tip cover.
Construct the finger socket as a tapered hollow cylinder with a top diameter of 17.75mm and a bottom diameter of 19.25mm, reaching a depth of 27.25mm. Incorporate a scallop on the left side with a radius of 8mm, ... | test=0*1;
preview = 0;
part = 6;
knuckles = 2;
rotatetest = 0;
explode = 0;
tip_length = 24.5;
middle_length = 21;
base_extra_length = .5;
linkage_length = 65;
middle_sides = 1 ;
bumper_split = -.1;
socket_width_top = 17.75;
socket_width_bottom = 19.25;
socket_depth = 27.25;
socket_thickness_top = 1.45;
... | glb/cad_9a72474f251f.glb |
Create a prosthetic finger model consisting of a socket, a base, a middle segment, and a tip.
First, create the finger socket as a hollowed conical tube with a top diameter of 17.5mm and a bottom diameter of 18.5mm, extending to a depth of 26.5mm. Incorporate a scallop on the left side with a radius of 8mm, offset ver... | test=0*1;
preview = 1;
part = 4;
knuckles = 2;
rotatetest = 0;
explode = 0;
tip_length = 24.5;
middle_length = 21;
base_extra_length = .5;
linkage_length = 65;
middle_sides = 1 ;
bumper_split = -.1;
socket_width_top = 17.5;
socket_width_bottom = 18.5;
socket_depth = 26.5;
socket_thickness_top = 1.45;
so... | glb/cad_870ac904510f.glb |
Create an Adjustable Laptop Stand joint consisting of three main components: a bottom section, a button, and a top cover.
For the bottom section, create a cylinder with a radius of 14mm and a height of 19mm. Carve out a central rectangular slot measuring 16mm by 9.75mm by 11mm. Add a cylindrical connector on top with... | bottom_radius=14;
bottom_height=19;
button_radius=9;
button_hold_length=14.75;
button_hold_width=8.5;
button_hold_height=19;
connector_height= bottom_height / 2;
connector_thickness=2;
connector_thickness_top=2;
connector_filament_diameter=1.75 + .1;
connector_ring_height= connector_height / 2;
degrees_of_notches=30... | glb/cad_7d107740a121.glb |
Create a Parametric Lens Cap Holder consisting of a circular base and a strap attachment. Start by creating a main cylinder with a height of 6.5mm and a diameter of 64mm (calculated as the 58mm cap width plus 6mm of wall thickness on each side). Inside this cylinder, remove a coaxial cylindrical volume to create a hole... | definition = 100;
baseheight = 6.5;
basewidth = 6;
basehole = 50;
capwidth = 58;
captilt = 1.5;
capheight = 4;
captolerance = 1;
beltlength = 10;
beltwidth = 42;
beltheight = 4;
beltthickness = 4;
$fn = definition;
difference(){
cylinder(baseheight,basewidth+capwidth/2,basewidth+capwidth/2);
translate(... | glb/cad_e966264a9d9a.glb |
Create a Sleep Apnea Mask Hanger designed to fit over a headboard. Start by creating a vertical back plate that is 5mm thick, 15mm wide, and 55mm tall. From the top of this plate, extend a horizontal arm forward by 46mm, maintaining the 5mm thickness and 15mm width. At the end of this horizontal arm, create a downward-... | $fn=50;
BackLength=55;
HBWidth=46;
HoseDiameter=25;
FrontLength=35;
Width=15;
HangerThickenss=5;
translate([0,0,0])cube([HangerThickenss,Width,BackLength]);
translate([HangerThickenss,0,BackLength-HangerThickenss])cube([HBWidth,Width,HangerThickenss]);
translate([HBWidth+HangerThickenss,0,BackLength-FrontLength+HoseDi... | glb/cad_a58afee1d033.glb |
Create a Customizable Message Heart by first constructing a solid heart shape with a thickness of 5mm. To form the heart, combine a square with a side length of 20mm and two circles with diameters of 20mm; position the circles so their centers are 10mm above the top edge of the square and 10mm to the left and right of ... | text_line_1 = "LOVE" ;
text_line_2 = "YOU" ;
text_line_3 = "" ;
show_lines = 2 ;
heart_size = 1 ;
adjust_y = 0 ;
color("Red",1) render(3) main() ;
module main()
{
difference()
{
scale([heart_size,heart_size,1]) heart();
translate([0,adjust_y,0]) words();
}
}
module heart()
{
linear_extrude(5)
trans... | glb/cad_9e20d43b7f9e.glb |
Create a coffee machine lever consisting of a circular handle attached to a tapered arm. Start by creating a hollow cylinder for the handle with an outer radius of 20mm, an inner radius that tapers from 15mm at the bottom to 16mm at the top, and a total height of 14mm. From the center of this handle, extend a 90mm long... | difference() {
union() {
difference() {
cylinder(r=40/2,h=14,center=true);
cylinder(r1=30/2,r2=32/2,h=15,center=true);
}
rotate([0,90,0])
translate([0,0,31/2]) union() {
cylinder(r1=14/2,r2=25/2,h=90);
translate([0,0,90]) difference() {
sphere(25/2,center=true);
translate([0,0,-25/2-0.1]) cube([25,25,25],center... | glb/cad_9f4f752e4e80.glb |
Create a Raspberry Pi Camera Module Mockup by starting with a base rectangular plate measuring 24mm by 25mm with a thickness of 3.5mm. On top of this base, add a smaller rectangular block measuring 17.5mm by 8mm with a height of 2mm, positioned 8.5mm from the front edge and aligned to the left side. Centered on top of ... | difference () {
union (){
cube ([24,25,3.5]);
translate ([0,8.5,3.5]) {
cube ([17.5,8,2]);
}
translate ([13.5,12.5,5.5]) {
cylinder ($fn=15, h=3, d=7);
}}
cube ([19.5,25,2.5]);
translate ([2,2,0]) {
cylinder ($fn=15, h=13, d=2);
translate ([12.5,21,0]) {
cylinder ($fn=15, h=13, d=2);
}
translate ([0,21,0]) {
cy... | glb/cad_c81d9f3c4b70.glb |
Create a customizable box and lid set. For the box, create a rounded rectangular shell with a length of 100mm, a width of 100mm, and a height of 15mm. The outer corners should have a radius of 10mm. The walls and the floor should be 1.2mm thick. Hollow out the center of the box, leaving the floor and walls intact. Insi... | height=15;
length=100;
width=100;
cornerrad=10;
outwalls=1.2;
thickness=1.2;
sectionsl=5;
sectionsw=5;
sectionsh=14;
inwalls=0.8;
tol=0.4;
lidthickness=1.2;
lidheight=6;
l=length-(cornerrad*2);
w=width-(cornerrad*2);
translate([cornerrad, cornerrad, 0]){
union(){
difference() {
hul... | glb/cad_b3546235c689.glb |
Create a Slide Box consisting of a bottom base and a top cap.
First, create the bottom piece. Start with a rectangular volume that has an interior cavity measuring 14mm in width, 100mm in depth, and 50mm in height. The walls of this base should be 1.85mm thick on the sides and 1.95mm thick on the bottom. Ensure the c... | object_size_x = 1.4;
object_size_y = 50 ;
object_size_z = 50 ;
object_slots_x = 10;
object_slots_y = 2;
object_slots_z = 1;
object_air_x = 0.1;
object_air_y = 1 ;
object_air_z = 1 ;
wall_x = 1.85;
wall_y = 1.85;
wall_z = 1.95;
print_space_x = 0.3;
print_space_y = 0.3;
print_space_z = 0.3;
$fn=100;
part ... | glb/cad_3c288fadedb5.glb |
Create a Soldering Helper consisting of four distinct components: two clamps, an SMD parts holder, and a solder spool stand.
For the two clamps, create a base shape by combining a cylinder with a radius of 8mm and height of 12mm, a cube of 16x16x12mm positioned at [-8, -16, 0], and a linear extrusion 5mm high based on... | $fn=30;
module right_clamp(){
difference(){
union(){
translate([0,0,0]) cylinder(h=12, r=8);
translate([-8,-16,0]) cube([16,16,12]);
linear_extrude(height = 5){
polygon(points=[[0,8],[60,8],[60,1],[0,-8]]);
}
translate([35,-4,6]) rotate([-90,0,0]) cylinder(h=6, r=6... | glb/cad_0400b720d855.glb |
Create a Hex Tile Box container designed to hold hexagonal game tiles. The main body is a hexagonal prism with a flat open top. The outer diameter of the hexagon, measured from point to point, is 95.2mm, and the total length of the container is 105.2mm. The walls of the container are 1.6mm thick.
To construct the int... | _d = 92;
_l = 102;
_wall_thickness = 1.6;
_generate = "container";
_lid_wall_thickness = 1.2;
_lid_fudge = 0;
module hex_holder(diam, l, wall, extra_cut = 0)
{
outer_d = diam + (wall * 2);
outer_l = l + (wall * 2);
difference() {
rotate([0,0,30]) cylinder(outer_l,d=outer_d,d=outer_d, center = true, $fn=6);
... | glb/cad_d53a9c10d560.glb |
Create a Reset logo by constructing a hollow cylinder with an outer radius of 10mm, an inner radius of 8mm, and a height of 10mm, centered on the origin. Intersect this ring with a rectangular prism that measures 4mm in width, 20mm in length, and 10mm in height. Position this prism so that it is centered on the Z-axis ... | difference(){
cylinder(r=10,h=10,center=true);
cylinder(r=8,h=10,center=true);
}
translate([0,10,0])
cube([4,20,10],center=true); | glb/cad_5cf613928807.glb |
Create a tube end cap with a total height of 10mm. Start with a solid base that is a cylinder with a radius of 17.5mm (a 35mm diameter) and a height of 1mm. On top of this base, add a tapered cylindrical shell that reaches a total height of 10mm. This upper section should taper from the base radius of 17.5mm down to a ... | inner_diameter = 25;
total_height = 10;
upper_wall_thickness = 1;
lower_wall_thickness = 5;
bottom_thickness = 1;
bottom_radius = 6;
smooth = 180;
pad = 0.1;
hole_radius = inner_diameter/2;
difference() {
union() {
difference() {
cylinder(total_height,hole_radius+lower_wall_thickness,hole_radiu... | glb/cad_cba05d7bddb8.glb |
Create a Storage Tray with a total height of 24.2mm and a base thickness of 1.2mm. The tray is organized into a grid of columns with widths of 50mm, 25mm, and 25mm, and rows with a height of 25mm. All internal and external walls must be 1.5mm thick.
Construct the tray using five rows of compartments. In the first row,... | _x_bin_widths = [50,25,25];
_y_bin_length = 25;
_z_depth = 23;
_wall_width = 1.5;
_bottom_thickness = 1.2;
_num_rows = 5;
_tray_layout_1 = "| | |_|";
_tray_layout_2 = "|_|_|_|";
_tray_layout_3 = "|_ _ _|";
_tray_layout_4 = "| _| |";
_tray_layout_5 = "|_|_ _|";
_tray_layout_6 = "|_|_|_|";
_tray_layout_7 = "|_|... | glb/cad_40deb86069d5.glb |
Create a low profile spool holder consisting of a rectangular base and a cylindrical support rod. Start by creating a rectangular base block with a width of 20mm and a height of 12mm (10mm depth plus a 2mm top plate).
Centrally atop this base, integrate a horizontal cylindrical rod with a diameter of 8mm. This rod sh... | largeur_top_frame = 18;
largeur_top_frame_back = 15;
marge_vs_top_frame = 2;
epaisseur_parois_ext = 3;
epaisseur_plateau = 2;
diametre_tige = 8;
profondeur_holder_vs_frame = 10;
largeur_holder = 20;
extra_frame = 10;
extra_tige = 20;
size_x_frame = 30;
size_y_frame = 20;
size_z_frame = 50;
dist_3mm_hole_to_top_frame =... | glb/cad_0a9302377753.glb |
Create a low profile spool holder guide consisting of a vertical rectangular block. The main body is a rectangular prism 15mm wide, 3mm deep, and 63.1mm tall. At the top of this block, add a smaller rectangular extension that is 15mm wide, 7mm deep, and 3mm tall.
Remove two cylindrical holes from the structure. The fi... | dist_3mm_hole_to_top_frame = 28.1;
size_x_frame = 30;
size_y_frame = 20;
size_z_frame = 50;
difference(){
guide_cable();
hole_3mm();
hole_wire();
}
module frame(){
color("black") cube([size_x_frame,size_y_frame,size_z_frame]);
}
module guide_cable(){
length_above_frame = 30;
depth_suppor... | glb/cad_37b11ff3c9dc.glb |
Create a desk case for a WIMM One device. Start by constructing a base block that is 42mm wide, 12.5mm thick, and 42mm deep. On one side of this block, add a semi-cylindrical ridge with a radius of 3.125mm and a length of 42mm, running along the full depth of the case. Within the main block, carve out a central rectang... | thickness = 12.5;
casewidth = 42;
wim_height = 36;
wim_width = 32;
rotate ([270,0,0]) translate([0,-thickness + thickness/-4,0]) {
translate([thickness/4, 0,0])
cylinder(r=thickness/4, h=casewidth);
cube([thickness/2, thickness + thickness/4, casewidth]);
translate([thickness/2,thickness/4,0]) {
difference() {... | glb/cad_0b20c87bc148.glb |
Create an adjustable LED cube jig piece by starting with a central cube measuring 15mm x 15mm x 5mm, centered on the origin. In the center of the top face, create a tapered hole for a 3mm LED that transitions from a 3.5mm diameter at the bottom to a 4.5mm diameter at the top. Cut two rectangular slots through the main ... | union(){
difference(){
cube([15,15,5],true);
translate([0,0,-2.5]){
cylinder(5,d1=3.5,d2=4.5,true);
};
translate([4.5,-1.75,-2.5]){
cube([3,3.5,5]);
translate([0,-2,0]){
cube([1.5,2,5]);
};
};
trans... | glb/cad_b59a71d5fd6d.glb |
Create an adjustable LED cube jig piece with a base height of 5mm. Start with a primary rectangular base of 9.5mm by 15mm by 5mm. Attach a second rectangular block of 9.5mm by 5mm by 22.5mm to the top of the first, positioned at X=0, Y=15, Z=0.
Add two wedge-shaped slopes to the structure: the first slope is created ... | module slope1 ( ) { for(i=[0:55]) translate([0,0,i*0.25-0.25]){cube([5,i*0.25,0.25]);} }
module slope2 ( ) { for(i=[0:55]) translate([0,0,i*0.25-0.25]){cube([i*0.25,5,0.25]);} }
difference(){
union(){
cube([9.5,15,5]);
translate([0,15,0]){
cube([9.5,5,22.5]);
}
translat... | glb/cad_0b194a0078d4.glb |
Create an adjustable LED cube jig piece. Start with a base rectangular block measuring 30mm in width, 15mm in depth, and 5mm in height. From this base, remove a central rectangular slot measuring 3.5mm by 3mm by 5mm, positioned 16.25mm from the left edge and 2.5mm from the center line along the depth axis. Additionally... | module slope1 ( ) { for(i=[0:55]) translate([0,0,i*0.25-0.25]){cube([5,i*0.25,0.25]);} }
module slope2 ( ) { for(i=[0:55]) translate([0,0,i*0.25-0.25]){cube([i*0.25,5,0.25]);} }
difference(){
union(){
cube([9.5,15,5]);
translate([0,15,0]){
cube([9.5,5,22.5]);
}
translat... | glb/cad_61621e6ad32f.glb |
Create an adjustable LED cube jig piece by constructing a base and several vertical walls. Start with a primary rectangular base of 9.5mm by 15mm by 5mm. Attach a second rectangular block of 9.5mm by 5mm by 22.5mm on top of the base, aligned to the edge at coordinates (0, 15, 0).
Add two additional rectangular blocks... | module slope1 ( ) { for(i=[0:55]) translate([0,0,i*0.25-0.25]){cube([5,i*0.25,0.25]);} }
module slope2 ( ) { for(i=[0:55]) translate([0,0,i*0.25-0.25]){cube([i*0.25,5,0.25]);} }
difference(){
union(){
cube([9.5,15,5]);
translate([0,15,0]){
cube([9.5,5,22.5]);
}
translat... | glb/cad_34b47fceccb2.glb |
Create an adjustable LED cube jig by constructing a base geometry composed of several intersecting blocks. Start with a primary rectangular block measuring 9.75mm by 15mm by 5mm. Attached to this, place a second block of 9.75mm by 5mm by 22.5mm positioned at [0, 15, 0]. Add a third block measuring 15mm by 9.5mm by 5mm ... | module slope1 ( ) { for(i=[0:55]) translate([0,0,i*0.25-0.25]){cube([5,i*0.25,0.25]);} }
module slope2 ( ) { for(i=[0:55]) translate([0,0,i*0.25-0.25]){cube([i*0.25,5,0.25]);} }
difference(){
union(){
cube([9.75,15,5]);
translate([0,15,0]){
cube([9.75,5,22.5]);
}
transl... | glb/cad_d4b484d91d06.glb |
Create a Parametric Standard Box consisting of a main body and a matching cover.
For the main body, create a hollow rectangular prism with internal dimensions of 70mm length, 55mm width, and 60mm height. The walls and floor should have a thickness of 1.3mm. Round the exterior corners with a radius of 3mm. In the floo... | part = "both";
External_borders_width=1.3;
Internal_Length=70;
Internal_Width=55;
Internal_Height=60;
Closing_Type="Mecanical";
Fix_Width=10;
Fix_Length=10;
Screw_Length=15;
Screw_width=3;
Screw_head_hole=1;
Screw_head_height=1;
Screw_head_width=6;
Holes=1;
Holes_size=1;
Holes_number=25;
Holes_space=2;
... | glb/cad_1c2356a85c1f.glb |
Create a wedge for a K82000 extrusion by combining two rectangular prisms. First, construct a base rectangular block with a length of 63mm, a depth of 5.3mm, and a height of 12.2mm. Then, create a second, smaller rectangular block with a length of 63mm, a depth of 5.3mm, and a height of 4.95mm. Position this second blo... | length=63;
outer_depth=5.3;
outer_height=12.2;
inner_depth=5.3;
inner_height=4.95;
translate([0,-1*outer_depth,0]) {
cube([length,outer_depth,outer_height]);
}
translate([0,0,(outer_height-inner_height)/2]) {
cube([length,inner_depth,inner_height]);
} | glb/cad_48149f69e22b.glb |
Create a Misumi 15x15 Corner Bracket designed as a right-angle support. Start by constructing two perpendicular walls, each 6mm thick and 50mm long, meeting at a 90-degree corner to form an L-shape with a total height of 15mm. At the base of this L-shape, add a flat rectangular plate 4mm thick that extends 50mm along b... | Length = 50;
Thickness = 6;
holeDiameter = 3;
Height = 15;
difference()
{
union()
{
walls();
lip();
plate();
brace();
}
holes();
MountingSlot();
}
module lip()
{
hull()
{
translate([-1, 0, Height/2 + .5]) cube ([1,Length,1]);
translate([0, 0,... | glb/cad_c3062a207a91.glb |
Create a PCB Workstation base consisting of a grid of sockets for articulated ball joints. The layout is a 4 by 4 grid of sockets spaced 16mm apart.
First, construct the grid framework using thin rectangular walls 1.6mm thick and 5mm high. Place these walls along the perimeter and between the socket rows and columns ... | xcount = 5;
ycount = 5;
spacing = 16;
wall_thick = 1.6;
wall_height = 5;
support_thick = .5;
path="D:\\Downloads\\PCB_Workstation_with_Articulated_Arms\\files\\BS_joint-Simple.stl";
grid(xcount-1, ycount-1, spacing);
wall(xcount-1, ycount-1, spacing);
extra_supports(xcount-1, ycount-1, spacing, support_thick);
module... | glb/cad_4676e276fc11.glb |
Create a screwdriver stand consisting of a bottom base, a top plate, and two side walls. The base and top plate are rectangular blocks with a width of 36mm and a length of 123mm. The base is 10mm thick, and the top plate is 5mm thick. Both the base and top plate feature two rows of six vertical holes, spaced 19mm apart... | Show = 0;
Num2HoleDia = 2.6;
Num2ClearHoleDia = 3.7;
NumHoles = 6;
HoleSpacing = 19;
HoleIn = 9;
StandWid = 2 * HoleIn + HoleSpacing;
StandLen = (NumHoles-1) * HoleSpacing + 2 * HoleIn;
StandHgt = 65;
BotThk = 10;
TopThk = 5;
SideThk = 3;
TopHoleDia = [8,7,6.5,5.4,4.8,4.1];
BotHoleDia = [6,5,4.4,4,3.5,3];
if (Show)... | glb/cad_990ea0e534d2.glb |
Create a Boxx Insert, which is a rectangular storage bin with internal subdivisions. The overall outer dimensions are 79mm in width (calculated as 2 modules of 39.5mm) and 39.5mm in depth, with a total height of 28.7mm. The outer shell should have a wall thickness of 1.7mm and rounded corners with a radius of 5mm at th... | what = "boxx";
h = "halfSize";
modulesH = 2;
modulesV = 1;
numberOfHorizontalDivisions = 3;
numberOfVerticalDivisions = 2;
wallThickness = 1.7;
pegDiameter = 7.4;
pegDistance = 39.5;
baseCornerDiameter = 5;
topCornerDiameter = 10;
topWidth = 52.5;
topLowerWidth = 51.5;
topInnerDiameter = 48.5;
bottomWidth = 49.... | glb/cad_4141f54149b2.glb |
Create a bike water bottle cage consisting of a main support body and two mounting wings.
First, create the main support body. Start with a central vertical section that is 13.5mm wide. This section features a hollow cylindrical cutout with a diameter of 32mm to accommodate the bike tube. Above this, build a curved c... | $fs = 1;
$fa = 6;
module _ry() {
rotate([90,0]) children();
}
module _rx() {
rotate([0,90]) children();
}
module wedge(d, h, center, arc) {
hull() {
cylinder(d=0.1, h=h, center=center);
rotate([0,0,arc/2]) translate([0, d*2]) cylinder(d=0.1, h=h, center=center);
rotate([0,0,-arc/2]) ... | glb/cad_281bb6c5e798.glb |
Create a fader knob with a tapered body. The base is a rectangle measuring 15.25mm in length and 8.9mm in width. The top surface is a smaller centered rectangle measuring 14.25mm by 6.6mm, and the total height of the object is 13mm, creating a frustum-like shape with sloping sides.
In the center of the base, create a ... | width=8.9;
length=15.25;
topwidth=6.6;
toplength=14.25;
height=13;
slotwidth=4.1;
slotlength=1.27;
slotdepth=10.5;
point0=[0,0,0];
point1=[0,width,0];
point2=[length,width,0];
point3=[length,0,0];
point4=[(length-toplength)/2,(width-topwidth)/2,height];
point5=[(length-toplength)/2,width-(width-topwidth)/2,height];... | glb/cad_e93ed848a2c5.glb |
Create a customizable coat rack peg. Start with a base cylinder that is 12mm high with a bottom radius of 5.925mm and a top radius of 6.875mm. Drill a 3mm diameter hole vertically through the center of this base cylinder.
From the top surface of the base, extend the peg upwards. The main body of the peg should transi... | hole_depth = 12;
hole_diameter = 12.5;
peg_length = 50;
module coat_rack_peg(hole_depth=12, hole_diameter=12.5, peg_length=50) {
$fs = 1;
$fa = 1;
p0=[hole_diameter / 2 * 1.1,0];
p1=[hole_diameter / 2 * .5, ( peg_length / 2 )];
p2=[hole_diameter / 2 * .5, peg_length];
difference() {
cylinder(r1=hole_dia... | glb/cad_c81fd94b575f.glb |
Create an airplane nose cone by constructing a hollowed-out conical shape. Start with a solid outer body consisting of a truncated cone with a base diameter of 48mm and a top diameter of 30mm, reaching a height of 30mm. Cap this truncated cone with a spherical dome that has a diameter of 30mm, though the dome should be... | planeDiameter = 48;
totalLength = 60;
tipDiameter = 30;
wallThickness = 6;
insideScaleFactor = (planeDiameter-2*wallThickness)/(planeDiameter);
coneLength = totalLength - tipDiameter;
$fn = 120;
MakeNoseConeWhole();
module MakeNoseConeWhole() {
difference() {
MakeNoseConeOutside();
scale(inside... | glb/cad_b55d463facca.glb |
Create an Arduino Uno mount with a base thickness of 6mm. The design features a central hub and three radiating arms that support the board.
First, create three mounting pillars for the Arduino board. Position the first at [0, 0], the second at [-19, -14], and the third at [9, -14]. Each pillar consists of a cylinder... | arduinoHoles = [[-19,-14], [9, -14], [-24, 38.9]];
arduinoHoleDiameter = 2.8;
arduinoHoleThickness = 2.8;
arduinoHeadDiameter = 0;
arduinoHeadThickness = 4;
arduinoExtraThickness = 4;
mountHoleSep = 70;
mountHoleDiameter = 4;
mountHoleThickness = 5;
mountHoleNutWidth = 5.5+1;
mountHoleNutThickness = 3;
mountThicknes... | glb/cad_9325d5b688a7.glb |
Create a vibration support bracket for a CNC rail with a constant thickness of 5mm. The main body is a flat plate with a total width of 60mm. The base section is a rectangle 60mm wide by 35mm long. Attached to this base is a vertical wall extending upwards to a total height of 54mm, creating an L-shaped profile with an... | holeDiameter = 4 + 1.2;
holeSpacing = 30;
pieceThickness = 5;
extrusionSep = 20;
extrusionSepSlot = extrusionSep + 8*2;
bottomToRail = 32 - 8;
bottomSlotLength = 25;
width = holeSpacing + 15*2;
bottomLength = bottomSlotLength + 10*2 + pieceThickness;
topHeight = bottomToRail + extrusionSepSlot + 10;
$fn = 60;
MakeS... | glb/cad_92c772a7f70d.glb |
Create a parametric Death Star model by starting with a main sphere with a radius of 30mm and a facet resolution of 64. Carve a thin equatorial ring out of the center of the sphere by removing the volume between two concentric cylinders: an outer cylinder with a radius of 31.5mm and an inner cylinder with a radius of 2... | ra=30;
fn=64;
deathstar();
module deathstar(ra=ra,fn=fn)
{
difference()
{
sphere(r=ra,$fn=fn);
difference()
{
cylinder(r=ra*1.05,h=ra*0.1,$fn=fn,center=true);
cylinder(r=ra*0.93,h=ra*0.11,$fn=fn,center=true);
}
rotate([0,-35,0]) translate([ra*1.25,0,0])
sphere(r=ra/2.3,$fn=fn/2);
}
} | glb/cad_32ca3d7d8048.glb |
Create a webcam mount for a display by constructing a base structure and removing specific geometric volumes. Start with a union of three rectangular blocks: one measuring 9mm x 2mm x 40.5mm, one measuring 2mm x 47mm x 40.5mm positioned at x=7, and one measuring 9mm x 2mm x 40.5mm positioned at y=45.
From this combine... | displayThickness = 43;
displayTop = 7;
webcamBaseMax = 40.5;
difference() {
union() {
cube([displayTop+2, 2, webcamBaseMax]);
translate([displayTop,0,0]) {
cube([2, displayThickness+2+2, webcamBaseMax]);
}
translate([0,displayThickness+2,0]) {
cube([displayTo... | glb/cad_0d0d6b8c4575.glb |
Create a 3D object by extruding a six-sided regular polygon with a radius of 40mm to a total height of 100mm. As the shape is extruded upward, apply a constant twist of -90 degrees and a linear scale reduction so that the top hexagonal face is 60% the size of the bottom face. Ensure the final geometry maintains a low-f... | k=6;
j=100;
m=40;
p=-90;
linear_extrude(height = j, center = false, convexity = 50, twist = p,scale=.6,$fn=k,slices=j)
circle(m); | glb/cad_a620bf678a1c.glb |
Create a parametric piano hinge consisting of 5 repeating links. Each link is based on a cylinder with a radius of 6mm and a length of 15mm, oriented along the Y-axis. The links alternate between solid and hollow constructions, separated by a spacing of 0.6mm.
For the hollow links, create a cylindrical shell by removi... | LinkRadius = 6;
LinkLength = 15;
InnerShaft = 3.5;
InnerTolerance = .6;
Spacing = .6;
LinkNumber = 5;
TabLength0 = 25;
TabLength = 25;
TabThickness = 3;
HoleDiameter=4;
HoleOffset0=0;
HoleOffset=0;
LongTab = 0;
TotalLength = (LinkNumber*LinkLength)+(Spacing*(LinkNumber-1));
module solidHinge(LinkRadius,LinkLen... | glb/cad_b88c180aa368.glb |
Create a vasa by polygon by extruding a square shape vertically to a height of 100mm. Start with a base square that fits within a circle of radius 40mm. As the shape is extruded upward, apply a linear scale that reduces the top face to 60% of the base size and simultaneously rotate the geometry by -90 degrees around th... | num_corners=4;
height=100;
base_radius=40;
angle_twist=-90;
top_scale=.6;
linear_extrude(height = height, center = false, convexity = 50, twist = angle_twist,scale=top_scale,$fn=num_corners,slices=height)
circle(base_radius); | glb/cad_8b4e620a3dd1.glb |
Create a rectangular fence perimeter composed of four walls. Each wall is made of a series of thin vertical slats. Each individual slat is a rectangular prism measuring 20mm wide, 2mm thick, and 100mm high. Arrange these slats side-by-side with a 5mm gap between them. Two opposite walls should be 400mm long, consisting... | c=400;
b=800;
translate (v=[-c/2,b/2,0])
stena(c);
rotate(a=90,v=[0,0,1])
translate (v=[-b/2,c/2,0])
stena(b);
rotate(a=180,v=[0,0,1])
translate (v=[-c/2,b/2,0])
stena(c);
rotate(a=270,v=[0,0,1])
translate (v=[-b/2,c/2,0])
stena(b);
module stena(l){
color("lightgreen")
for(i=[0:25:l-25]){
translate(v=[i,0,0... | glb/cad_16d53b03d1fa.glb |
Create a hollow coupling component consisting of a cylindrical base and a hemispherical cap. The outer shell has a total height of 45mm and an outer diameter of 27mm. The main body is a cylinder with a diameter of 27mm and a height of 33.5mm, topped with a hemisphere of the same 27mm diameter.
The interior is hollowed... | pWb = 2 ;
pHa = 45 ;
pDi = 26 ;
pSw = 1 ;
pMn = "thing9541_The_Horns_fixed.gnu-gpl.bin.stl";
pMz = -90 ;
pMx = -205 ;
pMy = -205 ;
pRx = 80 ;
pRy = 0 ;
pRz = 0 ;
pCf = 2 ;
pWi = pWb/2;
pHi = pHa-pWi;
pDa = pDi+2*pWi;
difference () {
difference () {
union () {
color("red")
... | glb/cad_4c60c95d8310.glb |
Create a test cube by constructing a solid cube with equal dimensions of 10mm in length, 10mm in width, and 10mm in height. | group() {
group(){
cube (size = [10.0, 10.0, 10.0], center = false);
}
} | glb/cad_6a08e97a9ba0.glb |
Create a Raspberry Pi Zero stand base by constructing a flat plate 6mm thick. The outer perimeter is formed by the convex hull of four 6mm diameter circles centered at [35, 39], [35, -39], [-35, 39], and [-35, -39]. From this shape, remove a smaller inner section created by the convex hull of four 6mm diameter circles ... | $fn = 50;
buildBase();
module buildBase(){
difference(){
linear_extrude(6){
difference(){
hull(){
translate([35,-39,0]) circle(d=6);
translate([35,39,0]) circle(d=6);
translate([-35,-39,0]) circle(d=6);
translate([-35,39,0]) circle(d=6);
}
hull(){
translate([30,-25,0]) circ... | glb/cad_f987eea9d55d.glb |
Create a framing finger for an LCD panel. The main body is a rounded block with a total width of 25.4mm and a height of 40mm. The overall shape is formed by the hull of two cylinders with a radius of 12.7mm, creating an ovoid profile.
Carve a recessed channel out of the center of this block. This inner void is also an... | part=1;
height=40;
frame_height_v=590;
frame_width_v=742;
glass_height_v=461;
glass_width_v=612;
glass_offset=8.7;
monitor_thickness_top=11;
monitor_thickness_bottom=8;
monitor_width_v=545;
monitor_height_v=322;
wiggle=0.5;
layer=0.41;
width=25.4;
inch=25.4;
thickness=width/4;
screw_depth=inch / 4 + 1;
f... | glb/cad_fa39d39748be.glb |
Create a Zonestar P802M MB Case consisting of a main box and a removable lid.
Construct the main box as a rectangular enclosure with a height of 65mm, an internal width of 70mm, and an internal length of 201mm. The walls and bottom should have a thickness of 1.8mm. In the bottom surface, place four mounting holes wit... | part = 3;
resolution = 0.4;
single_wall = 0.6;
box_hight = 65;
mount_type = 1;
smartadapter = false;
topfan = false;
backstyle = 2;
resetbutton = false;
ramps_xtra_front = 0;
ramps_xtra_back = 0;
ramps_xtra_left = 0;
ramps_xtra_right = 0;
factor_lid = 3;
facto... | glb/cad_a8e3f309b3da.glb |
Create a Borromean rings sculpture consisting of three identical interlocking rings. Each ring is a torus with a major radius of 9mm and a minor radius (cross-section) of 4mm. Position the first ring horizontally on the XY plane, centered at the origin. Position the second ring by rotating it 90 degrees around the X-ax... | union(){
difference(){
rotate_extrude($fn=50) translate([9,0,0]) circle(4,$fn=50);
translate([-15,0,-7]) cube(40);
}
rotate([90,0,0]) translate([9,0,-20]) cylinder(20,4,4,$fn=50);
rotate([90,0,0]) translate([-9,0,-20]) cylinder(20,4,4,$fn=50);
translate([0,20,0]) difference(){
rotate_extrude($fn=50) transla... | glb/cad_68ffabcb1566.glb |
Create a parametric liquid stirrer consisting of a central spindle and two mixing paddles. Start by creating a cylinder with a diameter of 3mm and a total length of 80mm to serve as the main shaft. At one end of this shaft, add two rectangular paddles perpendicular to the spindle. Each paddle must be 2mm thick, 7mm wid... | $fn=100;
length = 80;
paddle_width = 7;
spindle_diameter = 3;
union(){
rotate ([0,90,0])
cylinder (d=spindle_diameter,h=length);
translate ([-0.1,-(paddle_width/2), -(spindle_diameter/2)])
cube ([2, paddle_width, spindle_diameter]);
translate ([4,-(paddle_width/2),-(spindle_diameter/2)])
... | glb/cad_7fa15b170e34.glb |
Create a hexagonal base with a total height of 3mm. The outer diameter of the base is 30mm, and the sides are sloped inward to create a top hexagonal face with a width of 25mm. The top surface features a shallow inset depth of 0.5mm.
Cut a 3mm diameter hole completely through the center of the base. Additionally, crea... | $fn=60 * 1;
_hexOuterWidth = 30;
_hexInnerWidth = 25;
_hexHeight = 3;
_hexInnerDepth = 0.5;
_hexOuterSlope = 0.9;
_hexOuterAngleRadius = 0;
_hexMagRadCenter = 1.5;
_hexMagDepth = 0;
_hexMagRadEdge = 1.5;
_hexMagEdgeDistance = 9;
_hexMagPos = "Edge";
_hexMagFreq = "EveryOther";
_hexMagEdgeDistance2 = (_hex... | glb/cad_7b6ed1784e33.glb |
Create a vacuum cleaner to sander adapter consisting of three coaxial sections with a wall thickness of 4mm. Start with a base cylinder 40mm high with an inner diameter of 35mm and an outer diameter of 39mm. On top of this, add a 20mm high conical transition section that tapers from the base's 35mm inner diameter down ... | module tube( d, h, t )
{
err = 0;
difference()
{
cylinder( d = d + t, h = h);
translate( [0, 0, -err / 2] )
cylinder( d = d, h = h + err);
}
}
module tube2( d1, d2, h, t )
{
err = 0;
difference()
{
cylinder( d1 = d1 + t, d2 = d2 + t, h = h);
translate( [0, 0, -err / 2] )
cylinder( d1 = d1, d2 = ... | glb/cad_521dbc81fe9d.glb |
Create a Hex Socket Adapter by constructing a hollow hexagonal prism with a total height of 10mm. The outer boundary should be a regular hexagon with a diameter of 7.4mm. Centered within this outer shape, remove a hexagonal hole with a diameter of 4.8mm that extends through the entire 10mm length of the object. Ensure ... | linear_extrude(10){
difference(){
Hex(7.4);
Hex(4.8);
}
}
module Hex(size){
circle(size/2,$fn=6);
} | glb/cad_92613f91b37d.glb |
Create a parametric cable clip for a T-slot extrusion with a total length of 20mm. The main body is a composite shape centered on the origin. Start with a central rectangular block 1.5mm wide, 2.75mm high, and 20mm long. To this, add a rounded cover section created by the intersection of a 10.25mm wide by 1.6mm high re... | cover_length = 20;
wing_width = 1.5;
module cover(cover_len)
{
union() {
translate([0, -2.2/2 - .95, 0])
intersection() {
cube([20.5/2, 1.6, cover_len], center=true);
translate([0, 3.5, 0])
cylinder(r=6, h=cover_len, $fn=50, center=true);
}
translate([-6.5/2 + wing_width/2,0,0])
cube([... | glb/cad_660daf1ea7fb.glb |
Create an "Impossible Dovetail" puzzle consisting of two interlocking pieces. Each piece begins as a cube with a side length of 20mm.
The first piece is a 20mm cube with a dovetail-shaped void carved out of its center. This void is formed by two symmetrical, mirrored dovetail cuts that enter from the opposite faces of... | SIZE = 20;
SLACK = 0.4;
STYLE = "SEPARATE";
EPSILON = 0.1;
module dovetail_tooth(width, height, thickness, slack) {
offset = width / 3 + slack / 2;
translate([- width / 2, - height / 2, 0]) {
linear_extrude(height = thickness) {
polygon([[0, 0], [width, 0], [width - offset, height], [off... | glb/cad_0e3f30fcbee0.glb |
Create a camera mounting bracket for a Logitech C270. Start with a base rectangular block that is 17.2mm wide, 6mm thick, and 19mm tall. Within this block, carve out a central rectangular slot that is 7.2mm wide, 6mm thick, and 16mm tall, positioned 3mm from the bottom and 3mm from the sides, leaving a 3mm wall at the ... | mountWidth=7.2;
floorToMount=13 + 3;
mountThickness=6;
t=3;
tt=t*2;
smallScrew=2.8;
largeScrew=3.8;
camThickness=18.6;
camHeight=10;
ffcWall=5;
$fn=30;
module camera() {
translate([-25,0,0])
#cube([50,camThickness,camHeight*3]);
}
module mount() {
difference() {
cube([tt + mountWidth + tt, mountThicknes... | glb/cad_df0b96d5dacf.glb |
Create a Sierpinski Tetrix fractal using a tetrahedron as the base geometric seed. The base tetrahedron should have a side length of 10mm.
Construct the fractal through four iterations of recursive subdivision. In each iteration, replace the current shape with four half-scale versions of itself. Position one at the o... | shape = "Tetrahedron";
side_length = 10;
overlap = 1.5;
iterations = 4;
useful_length = side_length / pow(2, iterations - 1);
if(shape == "Tetrahedron") {
Sierpinski(side_length, iterations) {
tetrahedron(useful_length);
}
}
else if(shape == "Sphere") {
Sierpinski(side_length, iterations) {
... | glb/cad_778084c8f167.glb |
Create a Tetris Lens Shelf in the shape of a Z-tetromino. The model consists of three connected rectangular prisms, each with a base dimension of 80mm by 80mm and a depth of 80mm.
Construct the shape by placing one central 160mm by 80mm by 80mm block centered at the origin. To this central block, attach two additiona... | _1_piece = "Z";
_2_size = 80;
_3_depth = 80;
_4_thickness = 2;
_5_solid = true;
module createPart(type, size, depth, thickness, solid) {
eps = 0.1;
translate([0,0,depth/2]) {
if (type == "I") {
difference() {
cube(size=[size*4, size, depth], center=true);
if (!solid) {
... | glb/cad_c7ccba54c3ab.glb |
Create a Ball Corner Case Guard by combining a sphere and a cone. Start with a sphere of radius 10mm centered at (0, 0, 15mm). Below this, create a cone with a base radius of 20mm and a height of 20mm, centered vertically so its base is at z=0 and its tip is at z=20mm; the cone must have exactly 3 sides, forming a tria... | r = 10;
r2 = 2 * r;
d = 2.5;
s = 4;
difference()
{
union()
{
translate( [ 0, 0, r2*3/4 ] )
sphere( r = r, center = true );
translate( [ 0, 0, r2/2 ] )
cylinder( r1 = r2, r2 = 0, h = r2, center = true, $fn = 3 );
}
translate( [ 0, 0, r2/2-d*sqrt(2) ] )
cylinder( r1 = r2, r2 = 0, h = r2, center = true,... | glb/cad_86d87f8e46de.glb |
Create a Mendel power connector bracket. Start with two vertical mounting cylinders, each 20mm in diameter and 26mm high, positioned side-by-side. Remove a central vertical hole from both cylinders to accommodate M8 bolts.
Connect these cylinders with a rectangular shell that is 6mm thick. Within this shell, create a ... | include <configuration.scad>
include <functions.scad>
include_coax_mount = 1;
include_XLR_mount = 1;
total_height = 26;
bushing_diameter = 20;
flange_diameter = 37;
flange_depth = 2.5;
barrel_diameter = 19;
screw_radius = 14.5;
screw_diameter = 4.6;
coax_hole_diameter = 11.5;
coax_surround_diameter = 28;
coax_reces... | glb/cad_fdd7c7ce6baa.glb |
Create a center axle for a Math Spinner by constructing a hollow cylinder with an outer diameter of 35mm and a total height of 20mm. Remove a central core to create a hole with a diameter of 33mm and a height of 19.5mm, leaving a base thickness of 0.5mm at the bottom. At the very bottom of this central hole, create a s... | $fn = 180;
axle_diameter = 32;
fit_buffer = 1;
thick = 3;
outer_height = 20;
inner_height = outer_height-0.5;
outer_diameter = axle_diameter + 3;
inner_diameter = axle_diameter + fit_buffer;
cap_diameter = 3;
chamfer_diameter = inner_diameter + 1;
difference() {
cylinder(d=outer_diameter, h=outer_height);
union() {
... | glb/cad_39ca81d4b4cb.glb |
Create a 32mm axle for a Math Spinner. Start by constructing a solid cylinder with a diameter of 32mm and a total length of 142mm. From this cylinder, remove a central longitudinal cavity to create a hollow tube. This cavity should consist of a cylinder with a diameter of 27mm and a length of 63mm, centered along the a... | $fn = 90;
diameter = 32;
diameter_inner = diameter - 5;
diameter_end = diameter_inner - 4;
translate([0, 71, 10]) rotate([90, 0, 0]) difference() {
Axle();
Cavity();
translate([0, 0, 67]) Cavity();
}
module Cavity() {
union() {
translate([0, 0, 6]) cylinder(d=diameter_inner, h=63);
translate([-5, -(diameter+... | glb/cad_699b4771d5c3.glb |
Create a Dial Indicator Mount by starting with a central rectangular block measuring 49.7mm in width, 25mm in depth, and 12mm in height.
On both the left and right sides of the block, create vertical cylindrical cutouts with a radius of 4.1mm and a height of 40mm, centered on the side faces. To ensure these cutouts a... | rod_distance =50-0.3;
rod_dia = 8.2;
height=23;
zdim=12;
ydim=25;
module mclock(){
translate([0,9,0])rotate([90,0,0])cylinder(h=9,r=58/2,center=true,$fn=44);
translate([0,1-0.1,0])rotate([90,0,0])cylinder(h=25,r=53/2,center=true,$fn=44);
translate([0,-10,0]) cube([6,30,16],center=true);
translate([0,1-3,0])rotate... | glb/cad_cd724a11b7e8.glb |
Create a drilling jig for a bookcase. Start with a base plate that is 2mm thick. The base plate should be a hull encompassing a series of circles with a radius of 9.4mm, centered at intervals of 32.1mm along the X-axis and offset by 16.05mm on the Y-axis.
Along this centerline, create five vertical holes with a diame... | thickness = 2;
bit_protrusion = 50;
guide_holes = 2;
jig_holes = 3;
slack = .8;
pitch = 32.1;
diameter = 4.9;
depth = 9;
$fn = 60;
module billy_jig(
diameter=diameter,
pitch=pitch,
depth=depth,
thickness=thickness,
bit_protrusion=bit_protrusion,
guide_holes=guide_holes,
jig_holes=jig_holes,
sla... | glb/cad_1fb9edc50990.glb |
Create a Tab Support consisting of a flat rectangular base and a supporting backrest. Start by creating a rectangular base measuring 60mm in length, 50mm in width, and 3mm in height. At the rear of this base, specifically 45mm from the front edge, attach a vertical support wall. This wall should be 3mm thick, 50mm wide... | cube ([60,50,3]);
translate([45,0,0]) rotate(-20, [0,1,0]) cube ([3,50,50]);
translate([58,0,0]) cube ([3,50,10]); | glb/cad_92b13f61bdff.glb |
Create a spool holder consisting of a flat square base and a vertical cylindrical post. Start by creating a square base plate measuring 55mm by 55mm with a thickness of 3mm. At the center of this plate, position a vertical cylinder with a radius of 10mm and a height of 120mm. To ensure the post is integrated, extend th... | difference()
{
cube([55,55,3]);
translate([0,-20,-0.5]) rotate(45, [0,0,1]) cube([20,20,4]);
translate([-1,45,-0.5]) rotate(45, [0,0,1]) cube([20,20,4]);
translate([70,59,-0.5]) rotate(135, [0,0,1]) cube([20,20,4]);
translate([75,0,-0.5]) rotate(135, [0,0,1]) cube([20,20,4]);
}
translate([12,2,3]) cube ([30,7,1... | glb/cad_78799c048fea.glb |
Create a Reciprocal Reuleaux Triangle for FDM. Start by creating a square outer frame with a total width of 43mm, a height of 6mm, and a wall thickness of 4mm. In the center of this frame, carve out a Reuleaux triangle-shaped hole with a width of 35mm.
Inside this triangular void, place a solid Reuleaux triangle with ... | $fn = 100;
tol = 0.05;
tolerance=1;
triwidth=35;
height = 6;
wall = 4;
module case4(triwidth) {
difference() {
translate([0,-2.2,0]) caseo(triwidth);
casei(triwidth);
}
}
module caseo(triwidth){
casewidth = triwidth+tolerance*2+wall*2;
translate([-casewidth/2, -casewidth/2+wall/2,-height/2])
cu... | glb/cad_c7ed0d2a8772.glb |
Create a finger guide for a numeric keypad consisting of a main rectangular base and two side walls. The base is a rectangular slab measuring 100mm in length, 80mm in width, and 3mm in thickness. Attached to the long edges of this base are two vertical side walls, each 20mm high and 5mm wide, positioned at the opposite... | longueur_gd = 100;
largeur_gd = 80;
epaisseur_gd = 3;
nb_ligne_trous = 5;
nb_colonne_trous = 4;
hauteur_bl = 20;
largeur_bl = 5;
distance_trou_bl = 0;
distance_trou_bs = 5;
diametre_trous = 15;
d_entre_trous = 18;
$fn = 20;
cube (size = [longueur_gd, largeur_bl, hauteur_bl], center = false);
translate([0,l... | glb/cad_e299523e2898.glb |
Create a power strip clip by starting with a solid rectangular block measuring 62mm in length, 86mm in width, and 20mm in height. Carve out a central rectangular void to create the clip's opening, measuring 56mm in length, 31mm in width, and 22mm in height, positioned 5mm from the front edge and 1mm from the side edge.... | $fn = 64;
width = 55;
height = 42;
heightRadius = 60;
bracketThickness = 20;
powerStripOpeningWidth = 30;
clipOpeningWidth = 31;
module powerStripCrossSection(thickness) {
intersection() {
translate([width / 2 - heightRadius, 0, 0])
cylinder(r=heightRadius, h=thickness, center=true);
translate([heightRadius -... | glb/cad_f5bc8facb3c7.glb |
Create a vase by extruding a 5-sided regular polygon with a base radius of 40mm to a total height of 100mm. As the shape is extruded upward, apply a continuous twist of -90 degrees and scale the top face down to 60% of the base size. Ensure the geometry is defined by 5 distinct corners throughout the extrusion to maint... | num_corners=5;
height=100;
base_radius=40;
angle_twist=-90;
top_scale=.6;
linear_extrude(height = height, center = false, convexity = 50, twist = angle_twist,scale=top_scale,$fn=num_corners,slices=height)
circle(base_radius); | glb/cad_d22a335aa266.glb |
Create an Electrophoresis Comb consisting of a main horizontal support bar and a series of teeth. The main body is a rectangular bar 84.84mm long, 5mm wide, and 5mm thick. At each end of this bar, add a square locking block measuring 2.72mm by 2.55mm with a height of 2.64mm.
Along the bottom edge of the main bar, crea... | echo(version=version());
comb_preset = 8;
text_label = "Your Text Here";
locking_block_supports = "yes";
tooth_thickness = 1.5;
custom_tooth_count = 8;
custom_tooth_width = 5.6;
custom_tooth_gap = 1.6;
tooth_length = 17.75;
tooth_support = 6;
union(ep_comb) {
translate([0, 0, 0])
linear_extrude(heigh... | glb/cad_6e385803f718.glb |
Create a Rep2X nozzle fan mount. Start with a square base plate measuring 40mm by 40mm with a thickness of 1mm. At each of the four corners of this plate, place a circular hole with a radius of 1.6mm.
On one side of the plate, construct a rectangular clip. The outer dimensions of this clip should be 17.7mm in length, ... | clipDim=[17.7, 12.6, 10];
wallWidth=2;
fanWidth=40;
fanHoleWidth=32;
fanHoleRadius=1.6;
module airblock(depth,width) {
rotate([-90,90,0]) linear_extrude(height=width) polygon(points=[[0,0],[depth,0],[0,depth/tan(45)]], paths=[[0,1,2]]);
}
module fanClip(outside, wallwidth, c) {
difference() {
union() {
... | glb/cad_39218af2220f.glb |
Create a Customizable Bowden Frame Mount. Start by creating a main rectangular body with a width of 30mm and a height of 60mm (frameZ + 20mm). At the base, integrate a rectangular slot 4mm wide and 60mm high to accommodate a frame bar.
Add a mounting plate that extends from the top of the body, tilted at a 45-degree a... | topTiltAngle = 45;
frameThickness = 4;
frameZ = 40;
addBrace=1;
carriage_mount=1;
horizontal_spacing_1=30;
horizontal_spacing_2=50;
horizontal_spacing_3=0;
horizontal_spacings_dia=3.25;
horizontal_spacings_nut_size=5.8;
horizontal_spacings=[horizontal_spacing_1,horizontal_spacing_2,horizontal_spacing_3];
$fn=... | glb/cad_dfa64ef20ec4.glb |
Create a nametag by starting with a rectangular base that is 105mm wide, 35mm deep, and 10mm thick. Centered on the top face of this base, carve out the word "Name" using a script-style font with a character height of 20mm and a spacing of 1.1. Additionally, create a circular hole with a radius of 3mm through the entir... | linear_extrude(height=10){
difference() {
translate([-7,-10,0])
square([105,35]);
text("Name",font="Brush Script Std:style=Medium",size=20,spacing=1.1);
translate([-2,20,0])
circle(r=3); }
} | glb/cad_350fac071ea3.glb |
Create a parametric filament spool hub designed to hold a 608ZZ bearing. Start with a central core that is 20mm high, featuring a central vertical hole with a radius of 4.3mm for a threaded rod. The core should taper from a base radius of 45mm down to 4.3mm at the top, with the top edge slightly flattened. Within this ... | spool_hole_diam = 53.5;
spool_wall_thickness=9;
r_spool = 45;
edge_cut=1;
h = 20;
w = 20;
br = 11.1;
bh = 7;
ir = 4.3;
t = 4;
e = 0.02;
$fn = 64;
module cutouts() {
cube([5,100,50], center=true);
cube([100,5,50], center=true);
rotate([0,0,45]) cube([5,100,50], center=true);
rotate([0,0,45]) cube([100,5,... | glb/cad_f167b509d457.glb |
Create a ball bearing cage with an overall outer radius of 55mm and a total height of 15mm. The main body is a circular ring formed by rotating a square profile with a side length of 8.25mm around the center axis. This profile is positioned so that the inner radius of the ring is 35.5mm.
Within this ring, create 12 e... | Bearing_Radius = 55;
Bearing_Height = 15;
Bearing_Internal_Radius = 35;
Bearing_Number = 12;
Bearing_Tolerance = 0.5;
Definition = 50;
module cage(radius, height, intthickness, bearingnum, bearingtol,fn) {
difference(){
union(){
rotate_extrude()translate([intthickness+bearingtol+height/2,0,0])
tra... | glb/cad_e89859e9b3db.glb |
Create a parametric napkin ring by starting with a sphere that has a radius of 22mm. Hollow out the center of this sphere by removing a smaller concentric sphere with a radius of 19mm, creating a shell with a wall thickness of 3mm. To create the opening for the ring, remove the material from the center using a centered... | ring_size=22;
ring_thick=3;
ring_height=20;
module ring(){
difference(){
sphere(ring_size);
sphere(ring_size-ring_thick);
translate([0,0,ring_height/2])
linear_extrude(height=ring_height) square(ring_size*2.5, center=true);
translate([0,0,-ring_height*1.5])
linear_extrude(height=ring_height) square(ring_size*2.5, ce... | glb/cad_9240d53927ef.glb |
Create a Reel Help 0500 filament reel manager. Start by creating a central cylindrical body with a total height of 98mm and an outer radius of 15.6mm. Subtract a concentric inner cylinder with a radius of 14.1mm to create a hollow tube.
Around this central tube, add four vertical rectangular spokes, each 10mm wide, sp... | $fn=96;
scaffold = 0.4;
breakout = 0.2;
clearance = 0.35;
shim = 0.01;
tuberebate = 1.2;
supportr = (28 + tuberebate)/2;
supportl = 98;
tubet = 1.2;
riderpos = 2;
reelr = 57/2;
reell = 32;
clipl = 40;
cliph = (supportl - clipl) / 2 + 2;
clipt = 2;
clipw = 10;
spokew = 2;
catchl = 4;
catchh = 3;
clipsl = 12;
bitty = 4... | glb/cad_0c72fcc09b1f.glb |
Create a Raspberry Pi Zero Base and LCD frame consisting of two separate components.
First, construct the Pi base. Create a central rectangular platform 3mm thick. On this platform, place four mounting posts at the corners, each formed by a hull of two 6mm diameter circles spaced 12mm apart, with a 2.6mm diameter hol... | $fn=50;
translate([120,0,0]) LCDMount();
PiBase();
module PiBase(){
difference(){
union(){
linear_extrude(3){
translate([11.5,29,0]) rotate([0,0,-45]) createPiHole();
translate([-11.5,29,0]) rotate([0,0,45]) createPiHole();
translate([11.5,-29,0]... | glb/cad_9eded68a5fbf.glb |
Create a Flap Vent consisting of a square outer frame and five rectangular flaps.
The frame is a square with an outer dimension of 320mm and a thickness of 15mm. It features a central square cutout of 310mm, leaving a 5mm wall thickness. The frame has a 20mm wide outer edge and a 5mm gap between the inner edge and th... | duct_d = 300;
n_flaps = 5;
big_gap = 5;
thick = 5;
small_gap = 2;
edge = 20;
flap_thick = 2.5;
M3_rad = 1.7;
color("red")
frame();
color("green")
all_flaps(false, ang = 45);
module half_flap(ang=0)
{
intersection()
{
flap(rods = false, ang = 0);
rotate([0,0,ang])
translate([0,-duct_d/2,-duct_d/2])
cube... | glb/cad_d67ceab66594.glb |
Create a Reel Help 1000 filament reel manager. Start with a central vertical cylinder that has a radius of 15.6mm and a height of 98mm. Remove a smaller concentric cylinder from the center with a radius of 24.1mm and a height of 98mm.
Add a series of eight vertical spokes, each 2mm wide, distributed evenly around the ... | $fn=96;
scaffold = 0.4;
breakout = 0.2;
clearance = 0.35;
shim = 0.01;
tuberebate = 1.2;
supportr = (28 + tuberebate)/2;
supportl = 98;
tubet = 1.2;
riderpos = 2;
reelr = 51/2;
reell = 57;
clipl = 65;
cliph = (supportl - clipl) / 2 + 2;
clipt = 2;
clipw = 10;
spokew = 2;
catchl = 4;
catchh = 3;
clipsl = 12;
bitty = 4... | glb/cad_173bc18792a3.glb |
Create a customizable socket tool consisting of two stacked cylindrical sections. The base is a drive cylinder with a height of 7.35mm and a radius of 4.825mm. Centered within this base, remove a cubic hole with a side length of 6.55mm to create the drive opening.
Positioned atop the base is the main socket cylinder w... | socket_size = 7;
socket_type = 6;
socket_wall_thickness = 3;
depth = 10;
drive_size = 6.35;
drive_wall_thickness = 3;
tolerance = 0.2;
socket_detail = 100;
tolSize = socket_size + tolerance;
inscribedSize = tolSize/0.866025;
tolDrive = drive_size + tolerance;
socketRadius = (inscribedSize+socket_wall_thickness... | glb/cad_f286c14bf015.glb |
Create a RepRap Generation6 Fan Holder consisting of a mounting plate and four supporting pillars. Start with a central mounting plate 4mm thick. The main body of the plate is a square with rounded corners (radius 14mm) and a central circular aperture with a radius of 28mm.
Extend two rectangular strips from the plat... | $fn = 40;
bdh = 5;
fap = 56/2;
fsz = 60;
fmh = 50;
thk = 4;
translate([0, 0, 20])rotate([180, 0, 0]) plate();
translate([0, 0, 20])%cylinder(r = 28, h = 2);
module plate() {
vect1 = [
[ 50, 25, 0],
[ 50,-25, 0],
[-50, 25, 0],
[-50,-25, 0]
];
difference() {
union() {
trans... | glb/cad_7ce9d57df27d.glb |
Create a set of eight mounting components consisting of four spacers and four standoffs.
First, create four identical low-profile spacers. Each spacer is a hollow cylinder with a height of 3mm, an inner hole diameter of 3.8mm, and an outer diameter of 7.8mm. These cylinders should be rendered with 60 facets to appear... | sp_height = 3;
sp_hole = 3.8;
sp_wall = 2.0;
so_height = 20;
so_hole = 3.8;
so_wall = 2.0;
$fn = 20;
vect1 = [
[0, 0, 0],
[16, 0, 0],
[0, 16, 0],
[16, 16, 0]
];
vect2 = [
[0, 0, 0]
];
for (i = vect1) {
translate([0, 0, sp_height/2])translate(i) tube(sp_height, sp_hole, sp_wall, 60);
}
for (i =... | glb/cad_6501e808a3ab.glb |
Create a QuickNano quadcopter racer frame with a thickness of 3mm. The central body is a rectangular plate measuring 42mm by 32mm.
Extend four arms from the corners of the central plate. Each arm is formed by a hull connecting a cylinder of diameter 9.8mm at the outer tip to a cylinder of diameter 9.8mm at the base. ... | lenX = 28;
lenY = 30;
motD = 7.0;
thick = 3;
q = 10;
module motor(a) {
translate([ 0,0,0]) rotate([0,a,0]) {
color("blue") {
difference() {
translate([ 0,0,-3]) cylinder(h=14, d=motD*1.7,$fn=4*q);
translate([ 0,0, 0]) cylinder(h=20, d=motD+0.3,$fn=4*q);
rotate([0,-a,0]... | glb/cad_25e370dbe1a7.glb |
Create a QuickNano quadcopter racer frame with a central rectangular body and four extending arms. The main chassis is a flat plate 2.4mm thick, centered on the origin, with a rectangular cutout measuring 31mm by 19mm.
Four arms extend from the center to the corners. Each arm is formed by the convex hull of two 9mm di... | lenX = 28;
lenY = 30;
thick = 2.4;
q = 10;
module motor(a) {
translate([ 0,0,0]) rotate([0,a,0]) {
color("blue") {
difference() {
translate([ 0,0,-3]) cylinder(h=14, d=11,$fn=4*q);
translate([ 0,0, 0]) cylinder(h=20, d=7.3,$fn=4*q);
rotate([0,-a,0]) translate([ 0,0,-1... | glb/cad_7943ee0afafb.glb |
Create a QuickNano quadcopter racer frame. Start with a central rectangular base plate measuring 42mm by 32mm with a thickness of 2.4mm. From the center, extend two symmetrical arms reaching out to coordinates (28, 30) and (28, -30). Each arm is formed by the convex hull of two 9mm diameter cylinders.
At the end of ea... | lenX = 28;
lenY = 30;
thick = 2.4;
q = 10;
module motor(a) {
translate([ 0,0,0]) rotate([0,a,0]) {
color("blue") {
difference() {
translate([ 0,0,-3]) cylinder(h=14, d=11,$fn=4*q);
translate([ 0,0, 0]) cylinder(h=20, d=7.3,$fn=4*q);
rotate([0,-a,0]) translate([ 0,0,-1... | glb/cad_98ec79840911.glb |
Create a QuickNano quadcopter racer frame. Start with a central rectangular base plate measuring 42mm by 32mm with a thickness of 3mm. From the center, extend four arms outward. Each arm is formed by a hull connecting a 9mm diameter cylinder at the center to a 9mm diameter cylinder at the arm's end, positioned at coord... | lenX = 28;
lenY = 30;
thick = 3;
q = 10;
module motor(a) {
translate([ 0,0,0]) rotate([0,a,0]) {
color("blue") {
difference() {
translate([ 0,0,-3]) cylinder(h=14, d=12,$fn=4*q);
translate([ 0,0, 0]) cylinder(h=20, d=7.3,$fn=4*q);
rotate([0,-a,0]) translate([ 0,0,-1.2... | glb/cad_44ec67eb3a43.glb |
Create a QuickNano quadcopter racer frame consisting of two mirrored symmetrical layers separated by a vertical gap of 8mm.
For each layer, start with a central rectangular plate measuring 42mm by 32mm with a thickness of 3mm. At each of the four corners, place a motor mount. Each mount is a cylinder with an outer di... | lenX = 28;
lenY = 30;
motD = 8.0;
thick = 3;
q = 10;
module motor(a) {
translate([ 0,0,0]) rotate([0,a,0]) {
color("blue") {
difference() {
translate([ 0,0,-3]) cylinder(h=14, d=motD*1.7,$fn=4*q);
translate([ 0,0, 0]) cylinder(h=20, d=motD+0.3,$fn=4*q);
rotate([0,-a,0]... | glb/cad_ca57a3a1efb8.glb |
Create a QuickNano quadcopter racer frame. Start with a central rectangular base plate measuring 42mm by 32mm with a thickness of 3mm. At each of the four corners of this plate, place a motor mount. Each mount is a cylinder with an outer diameter of 11.9mm and a height of 14mm, with a concentric inner hole of 7.3mm dri... | lenX = 28;
lenY = 30;
motD = 7.0;
thick = 3;
q = 10;
module motor(a) {
translate([ 0,0,0]) rotate([0,a,0]) {
color("blue") {
difference() {
translate([ 0,0,-3]) cylinder(h=14, d=motD*1.7,$fn=4*q);
translate([ 0,0, 0]) cylinder(h=20, d=motD+0.3,$fn=4*q);
rotate([0,-a,0]... | glb/cad_c3973bf00410.glb |
Create a 90-degree optical post adaptor. Start by creating a main cylindrical clamp with an outer diameter of 23.1mm and a height of 10mm, centered on the Z-axis. This cylinder should have a central vertical hole with a diameter of 13.1mm to accommodate a post.
On one side of the clamp, create a mounting base by mergi... | post_diameter = 13.1;
clamp_wall_thick = 5;
clamp_screw_diameter = 5.6;
mount_depth = 5;
mount_diameter = 10;
mount_screw_diameter = 3.5;
clamp_height = mount_diameter;
module post_clamp_90() {
difference() {
hull() {
cylinder(r=post_diameter/2+clamp_wall_thick, h=clamp_height, $fn=360, center=true);
... | glb/cad_210d48c37fa3.glb |
Create a set of hard drive and SSD adapter brackets consisting of two identical mirrored plates. Each plate is a rectangular slab measuring 2mm thick, 145mm long, and 40mm wide.
On each plate, create four through-holes with a radius of 2mm to serve as screw mounts. Position two holes at a depth of 6mm, located 29mm a... | union() {
rotate([0,90,0]) {
difference() {
translate([-2,0,0])cube([2,145,40]);
translate([0,29,6])Screw();
translate([0,29+101.5,6])Screw();
translate([0,29,33])Screw();
translate([0,+101.5,33])Screw();
}
translate([0,48,21])Support();
translate([0,48+79,21])Support();
translate([0,0,-2])rotate([0,180,0]) {
di... | glb/cad_64a1b8f7d29b.glb |
Create two identical mirrored adapter brackets for mounting hard drives. Each bracket begins with a flat rectangular plate measuring 2mm thick, 145mm long, and 40mm wide.
On each plate, create four cylindrical screw holes with a radius of 2mm that pass through the thickness of the plate. Position two holes at the coo... | union() {
rotate([0,90,0]) {
difference() {
translate([-2,0,0])cube([2,145,40]);
translate([0,29,6])Screw();
translate([0,29+101.5,6])Screw();
translate([0,5.5,33])Screw();
translate([0,5.5+101.5,33])Screw();
}
translate([0,48,21])Support();
translate([0,48+79,21])Support();
translate([0,0,-2])rotate([0,180,0]) ... | glb/cad_4a280328a4cf.glb |
Create a hard drive adapter bracket consisting of a flat rectangular base plate measuring 114mm in length, 15mm in height, and 1.5mm in thickness. At each end of the plate, add a cylindrical support block with a radius of 5.5mm and a total length of 16.5mm. These blocks should be centered along the length of the plate,... | translate([0,-114/2,0])rotate([0,90,0])union() {
translate([-5,0,0])cube([5,114,2]);
difference() {
union() {
translate([-1.5,0,0])cube([1.5,114,15]);
translate([0,((114-102)/2),5.5])union() {
Support();
translate([0,102,0])Support();
}
}
translate([0,(114-77.1)/2,4])union() {
translate([0,0,3])Screw();
translate([0... | glb/cad_1475094f9064.glb |
Create a circular coaster with a diameter of 100mm and a thickness of 2mm.
In the center of the coaster, create a cutout that passes entirely through the 2mm thickness. This cutout is based on the Pirate Party logo, scaled to fit within a 90mm diameter area (leaving a 5mm margin from the outer edge).
The cutout con... | $fn = 100;
diameter = 100;
outer_margin = 10;
thickness = 2;
pirate_party_coaster(diameter, outer_margin, thickness);
module pirate_party_coaster(diameter, margin, thickness) {
difference() {
cylinder(r=diameter/2, h=thickness, center=true);
resize([diameter-margin, diameter-margin, thickness/2]) pirate_party_l... | glb/cad_aa1fd9869597.glb |
Create a compound gear consisting of two stacked gear cylinders sharing a common central axis.
First, create a base gear with an outside diameter of 11.2 mm and 20 teeth. This gear should have a thickness of 1.5 mm.
Directly on top of the base gear, add a second, smaller gear with an outside diameter of 8.2 mm and ... | compound_gear(
base_diameter = 11.2,
base_teeth = 20,
base_thickness = 1.5,
top_diameter = 8.2,
top_teeth = 14,
top_thickness = 4,
bore = 2.2
);
$fs = 0.1;
pi = 3.1415926535897932384626433832795;
module compound_gear (
base_diameter,
base_teeth,
base_thickness,
top_diamete... | glb/cad_f8be32aef6fc.glb |
Create a volume knob for a potentiometer. Start by constructing a hollow cylinder with an outer diameter of 24mm, a height of 10mm, and a wall thickness of 3mm. Inside this main body, add a second concentric hollow cylinder that is 6.5mm in radius and 6.5mm tall, positioned so that it extends from the top of the main b... | module hollowcyl(r, h, t) {
difference() {
cylinder(h = h, r = r);
translate([0, 0, -t]) {
cylinder(h = h, r = r - t);
}
}
}
module knob() {
holemargin = 1;
outerd = 24;
innerd = 6 + holemargin;
height = 10;
depth = 3.5;
thickness = 3;
offset = 1 + 0.25;
union() {
hollowcyl(outerd/2, height, thic... | glb/cad_8e18000e7354.glb |
Create a Zoetrope animation device consisting of a hollow cylindrical drum with a central hub. The main body is a thick-walled cylinder with an outer radius of 46.81mm and an inner radius of 44.81mm, reaching a total height of 60mm. At the base of this cylinder, integrate a central hub that rises to a height of 19.5mm;... | pictureStripLength = 281;
pictureHeight = 30;
slitCount = 10;
slitWidth = 7;
coneHeight = 5;
createZoetrope();
module hub(hubHeight)
{
union()
{
cylinder(h= hubHeight - coneHeight, r= 7);
translate([0,0,hubHeight - coneHeight])
{
cylinder(r1=7, r2=0, h=5);
};
}
}
module insideHub(pictureHeight) {
... | glb/cad_9e71dd48c075.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.