Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create an RC servo connector retaining clip by starting with a main rectangular housing block measuring 32mm in length, 6.5mm in width, and 13mm in height. Centered within this block, remove a volume created by the convex hull of two smaller boxes: one measuring 25mm by 5mm by 11mm and another measuring 30mm by 1.5mm b... | translate([0,20,0])v2();
module v2(){
difference(){
cube([32,6.5,13],center=true);
hull(){
cube([25,5,11],center=true);
cube([30,1.5,6],center=true);
}
translate([0,0,1.5])cube([39,1.5,11],center=true);
hull(){
translate([0,0,5])cube([29,3,8],center=true);
translate... | glb/cad_e0ce042dc9cd.glb |
Create two battery compartment lids of different sizes. For the large lid, start with a base plate measuring 138.5mm by 37.5mm with a thickness of 2mm. Centered on the top surface, add a rectangular block measuring 13mm by 3mm by 7mm, and atop that, place a 20-sided prism cylinder with a 3mm diameter and 13mm length, o... | lidbig();
translate([0,50,0])lidsmall();
module lidsmall(){
difference(){
union(){
cube([66.5,37.5,2],center=true);
translate([0,18,1.5])cube([15.5,6,1.5],center=true);
translate([0,-17,3])cube([13,3,7],center=true);
translate([0,-17,6.5])rotate([0,90,0])
... | glb/cad_791b2e3dc87c.glb |
Create a replacement EURO-BOX face plate by designing a rectangular slab with rounded corners. The main body should be a centered plate with a total width of 89.5mm and a total depth of 42.2mm, and a thickness of 1mm. To achieve the rounded edges, apply a corner radius of 7.5mm to all four corners. Ensure the final geo... | $gap=15;
$fn=99;
front();
module front(){
difference(){
minkowski(){
translate([0,0,0]) cube([89.5-15,42.2-15,1],center=true);
cylinder(r=7.5,h=1);
}
}
} | glb/cad_c0c19b35e607.glb |
Create a mounting plate for a PiCorePlayer. Start with a base rectangular plate measuring 74.5mm by 27.2mm with a thickness of 1mm, ensuring all four corners are rounded with a radius of 7.5mm.
On the top surface of this plate, incorporate several cutouts and protrusions. Center a rectangular hole measuring 13.2mm by... | $gap=15;
$fn=99;
back();
font = "Liberation Sans:style=Bold Italic";
module front(){
difference(){
minkowski(){
translate([0,0,0]) cube([89.5-15,42.2-15,1],center=true);
cylinder(r=7.5,h=1);
}
translate([-27.6,-6,0]) cylinder(d=3.2,h=5,center=true);
translate([-38.5,3,0.4]) rotate([180... | glb/cad_ea46ef53a1d1.glb |
Create a PiCorePlayer face and mounting plate consisting of two separate panels.
First, create a front face plate. Start with a rectangular base measuring 74.5mm by 27.2mm with a thickness of 1mm, adding rounded corners with a radius of 7.5mm. Center a circular hole with a 3.2mm diameter through the plate at coordina... | $gap=15;
$fn=99;
translate([0,50,0])front();
back();
font = "Liberation Sans:style=Bold Italic";
module front(){
difference(){
minkowski(){
translate([0,0,0]) cube([89.5-15,42.2-15,1],center=true);
cylinder(r=7.5,h=1);
}
translate([-27.6,-6,0]) cylinder(d=3.2,h=5,center=true);
translate... | glb/cad_66960fa45d23.glb |
Create a mounting plate for a PiCorePlayer. Start with a rectangular base measuring 95mm by 66mm with a thickness of 1.5mm, centered on the origin.
Within this base, create six vertical cylindrical holes with a diameter of 6mm and a height of 15mm. Position these holes at the following coordinates: (37.7, 16, 0), (-1... | module mount(){
difference(){
union(){
cube([95,66,1.5],center=true);
{
translate([85/2-4.8,56/2-12.4,0]) cylinder (5,d=6,$fn=36) ;
translate([-(85/2-25.6),-(56/2-18),0]) cylinder (5,d=6,$fn=36) ;
translate([85/2-4.8,-(56/2-10),0]) cyl... | glb/cad_6d1619436fd9.glb |
Create a mounting plate for a PiCorePlayer. Start with a base plate that is a rounded rectangle with overall dimensions of 74.5mm by 27.2mm and a thickness of 5mm. The corners should have a radius of 7.5mm.
On the top surface of this plate, create two circular holes with a diameter of 8mm. Position the first hole at x... | $gap=15;
$fn=99;
back();
font = "Liberation Sans:style=Bold Italic";
module front(){
difference(){
minkowski(){
translate([0,0,0]) cube([89.5-15,42.2-15,1],center=true);
cylinder(r=7.5,h=1);
}
translate([-27.6,-6,0]) cylinder(d=3.2,h=5,center=true);
translate([-38.5,3,0.4]) rotate([180... | glb/cad_32e2e179c85b.glb |
Create a hex nut test print plate by starting with a central rectangular slab measuring 80mm wide, 30mm deep, and 2mm thick. Along the center line of the plate, create seven hexagonal holes, each with a height of 6mm. These hexagons should be spaced 10mm apart, starting from -30mm and ending at 30mm relative to the cen... | difference(){
translate([0,0,1.5]) cube([80,30,2],center=true);
translate([-30,0,0]) rotate([0,0,30]) cylinder(6,d=6.1,center=true,$fn=6);
translate([-20,0,0]) rotate([0,0,30]) cylinder(6,d=6.2,center=true,$fn=6);
translate([-10,0,0]) rotate([0,0,30]) cylinder(6,d=6.3,center=true,$fn=6);
translate([... | glb/cad_8aad1f7de16d.glb |
Create a hex nut test plate by starting with a central rectangular slab measuring 80mm wide, 30mm deep, and 3mm thick. Along the center line of the slab, create a series of seven hexagonal holes, each 6mm deep. These hexagons must be oriented with a 30-degree rotation and spaced 10mm apart, starting from -30mm and endi... | difference(){
translate([0,0,1.5]) cube([80,30,2],center=true);
translate([-30,0,0]) rotate([0,0,30]) cylinder(6,d=7.7,center=true,$fn=6);
translate([-20,0,0]) rotate([0,0,30]) cylinder(6,d=7.8,center=true,$fn=6);
translate([-10,0,0]) rotate([0,0,30]) cylinder(6,d=7.9,center=true,$fn=6);
translate([... | glb/cad_858a188c6333.glb |
Create a clothes line adapter consisting of a flat base and two raised arms. Start with a base plate that is 3.5mm thick. On this base, create two symmetrical circular protrusions, each 20mm in diameter, centered 28mm apart along a horizontal axis.
Within each 20mm circle, center a 6mm diameter hole. To form the arms... | body($fn = 48);
module body() {
linear_extrude(height = 3.5)
body_shape(false);
linear_extrude(height = 2.3)
body_shape(true);
}
module body_shape(combined = false) {
translate([14, 36])
difference() {
circle(d = 20);
circle(d = 6);
translate([-30, -15])
square([30, 30]);
rotate(-80)
tran... | glb/cad_1de55ae3d621.glb |
Create a TT Motor Wheel with an overall diameter of 50mm and a thickness of 10mm. The outer edge of the wheel should be a zigzag pattern consisting of 60 teeth, alternating between the outer radius of 25mm and an inner radius of 24.5mm.
The interior of the wheel is mostly hollow, defined by a circular cutout with a ra... | $fa = 1;
$fs = 0.4;
wheel_od = 50;
rim_thickness = 2;
tooth_depth = 0.5;
points = 60;
hubradius = 4.2;
wheelwidth = 10;
spokes = 5;
spokewidth = 1.2;
shaftoffset = 1.2;
shaftlength = 7.5;
shaftwasher = 0.6;
shaft_diam = 5.4;
solid_diam = 3.7;
tolerance = 0.3;
wheel_outer_radius = wheel_od/2;
rimradius = wheel_oute... | glb/cad_2ea8676482f8.glb |
Create a Gameboy Cartridge Micro consisting of two interlocking halves: a bottom base and a top cover.
For the bottom half, create a rectangular base 57mm wide, 34.4mm deep, and 1.4mm high. Add a central screw tab at y=31mm with a radius of 3mm and a height of 1mm, featuring a vertical passthrough hole with a 1.1mm ra... | include <BOSL/shapes.scad>
$fa = 1;
$fs = .2;
ff = 0.001;
width = 57;
depth = 34.4;
top();
translate([0, 40, 0]) bottom();
bottom_far_wall_thickness = 1.2;
bottom_handle_width = 1.5;
bottom_height = 1.4;
bottom_side_thickness = 2;
bottom_wall_height = 4.3;
far_wall_tab_depth = 1;
far_wall_tab_width = 1;
far_wall_t... | glb/cad_58970287ddac.glb |
Create a Gameboy Cartridge Mini consisting of two interlocking halves.
For the bottom half, create a base 57mm wide by 52.1mm deep with a height of 1.4mm. Add a central ridge 50mm wide and 0.2mm high. Position a screw post with a 3.5mm radius at y=17mm and an alignment post with a 0.9mm radius at y=41.9mm. Construct ... | include <BOSL/shapes.scad>
$fa = 1;
$fs = 0.1;
ff = 0.001;
width = 57;
depth = 52.1;
translate([-width/2 - 1, 0, 0]) top();
translate([width/2 + 1, 0, 0]) bottom();
alignment_post_height = 2;
alignment_post_r = 0.9;
alignment_post_y = 41.9;
bottom_base_height = 1.4;
bottom_wall_height = 4.3;
bottom_wall_thickness ... | glb/cad_bcfdc7d8d9bb.glb |
Create a Roller Blind Window Clip consisting of two mirrored parts. For each part, start with a main rectangular block measuring 6.3mm by 51.6mm by 23.8mm. From this block, remove a large cylinder with a 42mm diameter and 20mm height, centered at coordinates (25, 18) relative to the block's origin.
Add a rectangular e... | module right() {
difference() {
union(){
difference(){
cube([6.30,51.6,23.8]);
translate([25,18,7.5])
cylinder(d=42,h=20, $fn=100);
}
translate([-20+6.30-4.5,51.6,0])
cube([20+4.5,6.30,23.8]);
tran... | glb/cad_ca2516d837f3.glb |
Create a Gameboy Cartridge shell consisting of a top and bottom half.
For the bottom half, create a base 57mm wide by 64.8mm deep with a height of 1.4mm. Add two side walls 1.8mm thick and 4.3mm high. The right wall should feature a rectangular cutout (lock) 1mm wide, 3mm deep, and 3mm high, with a secondary travel e... | include <BOSL/shapes.scad>
$fa = 1;
$fs = .1;
ff = 0.001;
width = 57;
depth = 64.8;
classic = true;
translate([-width/2 - 1, 0, 0]) top();
translate([width/2 + 1, 0, 0]) bottom();
alignment_post_height = 2;
alignment_post_r = 0.9;
alignment_post_y = 41.9;
bottom_base_height = 1.4;
bottom_wall_thickness = 1.8;
bot... | glb/cad_4b470701b4c2.glb |
Create a pill smasher consisting of two separate parts: a hollow bucket and a matching bolt. To construct the bucket, create a solid cylinder with a diameter of 36mm and a total height of 30mm. Hollow out the center by removing a cylinder with a diameter of 26mm that runs through the entire height. To create the tapere... | bucket();
translate([40,0,15])bolt();
module bucket(){
union(){
difference(){
union(){
translate([0,0,23.75]) cylinder(2.5,d1=36,d2=31,center=true,$fn=99);
translate([0,0,7.5]) cylinder(30,d=36,center=true,$fn=99);
translate([0,0,-8.75]) cylinder(... | glb/cad_7d14920b5b2f.glb |
Create a circular badge consisting of a base and a decorative leaf emblem. First, construct the base as a cylinder with a diameter of 40mm and a total height of 4mm. The bottom 2mm of this cylinder should be a consistent 40mm diameter, while the top 2mm should taper slightly to a diameter of 38mm.
Centered on top of t... | $fn=50;
button();
leafs();
module button(){
translate([0,0,2])color("#555555")cylinder(1,d1=40,d2=38);
color("#555555")cylinder(2,d=40);
}
module leafs(){
color("#00aa00")
translate([0,-3,0])scale([3.2,3.2,1.5])
union(){
rotate([0,0,-135])scale([0.4,0.4,1])leaf();
rotate([0,0,-90]... | glb/cad_c76629f9f5cc.glb |
Create a parametric bottle cap with an inner diameter of 45mm and a wall thickness of 2mm. The main body is a hollow cylinder with an inner depth of 11mm. The top edge of the cap is rounded with a radius of 2mm.
Inside the cap, create a single internal thread that starts 1.3mm from the bottom. This thread should have ... | precision=3;
wallThickness=2;
innerDiameter=45;
innerDepth=11;
threadPitch=3.81;
threadDepth=1.25;
threadWidth=1.3;
threadTurns=1.5;
threads=1;
threadStart=1.3;
ridges=25;
smoothness=(precision==1)?4:((precision==2)?6:20);
facets=(precision==1)?6:((precision==10)?20:50);
segments=facets*threadTurns;
$fn=max... | glb/cad_86d0b24e519f.glb |
Create a parametric bottle cap with a total inner diameter of 20mm and a wall thickness of 2mm. The main body is a hollow cylinder with an inner depth of 11mm.
At the base, add a flat circular rim with a radius of 11.25mm and a thickness of 2mm. Above this rim, construct the neck of the cap. The neck consists of a ce... | precision=3;
wallThickness=2;
innerDiameter=20;
innerDepth=11;
threadPitch=3.81;
threadDepth=1.25;
threadWidth=1.3;
threadTurns=1.5;
threads=1;
threadStart=1.3;
ridges=25;
smoothness=(precision==1)?4:((precision==2)?6:20);
facets=(precision==1)?6:((precision==10)?20:50);
segments=facets*threadTurns;
$fn=max... | glb/cad_18007100ce7c.glb |
Create a laboratory rack for Eppendorf tubes by starting with a solid rectangular block that is 25mm high, with a base thickness of 1mm. The block's width and depth are determined by a grid of 6 columns and 8 rows of holes. Each hole is a cylinder with a diameter of 11.34mm, spaced 2mm apart from adjacent holes and the... | my_text="JMF";
n_rows=8;
n_cols=6;
plate_height=25;
spacer_length=2;
bottom_thickness=1;
$fa = 6;
$fs = 0.25;
eppendorf_diameter=10.8;
eppendorf_lid_diameter=20;
eppendorf_tube_height=37.8;
tube_top_r=1.05*eppendorf_diameter/2;
plate_width=n_cols*(spacer_length+2*tube_top_r)+spacer_length;
plate_depth=n_rows*(spacer... | glb/cad_6305f9019869.glb |
Create a Window Blind String Winder Lock. Start by creating a central cylindrical peg with a diameter of 5.5mm and a height of 2.8mm. On top of this peg, add a second cylindrical section that transitions from a base diameter of 15.4mm to a top diameter of 16.9mm over a height of 1.9mm, topped with a final flat cylinder... | thickness_peg = 2.8;
thickness_large = 3.3;
thickness_flat = 1.4;
width_peg = 5.5;
width_peghole = 3.4;
width_slant = 15.4;
width_total = 16.9;
with_countersink = 1;
screw_head_height = 2.9;
screw_head_top_r = 6.9;
screw_head_bottom_r = 2.7;
$fn = 64;
total_thickness = thickness_peg + thickness_large;
module lock ... | glb/cad_1a57b566324d.glb |
Create a Stacking Magnetic Epoxy Soap Dish and Travel Container consisting of a hexagonal chamber and a matching lid.
For the chamber, create a hexagonal base with a diameter of 75mm and a thickness of 2mm. On this base, create a hexagonal mesh pattern of holes with a spacing of 25mm. Build walls around the base to a... | $fs = $preview ? 10 : 1;
selected_module = "all";
Sides = 6;
sides = Sides;
Thin_Wall_Thickness=1.29;
twt=Thin_Wall_Thickness;
Floor_Thickness = 2;
floor_thickness = Floor_Thickness;
Soap_Height = 15;
h_soap = Soap_Height;
Soap_Diameter = 75;
d_soap = Soap_Diameter;
Magnet_Thickness = 2;
h_magnet = Magnet_Thickn... | glb/cad_3f4ca738720c.glb |
Create a portable AC vent holder consisting of a flat, circular ring. The main body is a cylinder with an outer diameter of 200mm and a height of 10mm. Centered within this body, remove a cylindrical hole with a diameter of 156mm to create the ring shape.
Around the ring, place three evenly spaced screw holes at 120-d... | $fn = 500;
$airVentDiameter = 150;
$baseTolerance = 1;
$gapSealantMinThickness = 3;
$holeDiameter = 150 + 2*($baseTolerance + $gapSealantMinThickness);
$outerDiameter = 200;
$screwHoles = 3;
$thickness = 12;
$eps = 1 / 100;
module ScrewHole() {
cylinder(h = $thickness + 2*$eps, d = 8+($baseTolerance));
tran... | glb/cad_c5c828bae47b.glb |
Create a Transparent LCD cover and rotary knob for a 3D printer.
For the LCD cover, construct a main body starting with a base rectangular block of 155mm x 59.8mm x 2mm. Add angled side walls by rotating and positioning blocks to create a wedge-like profile. Incorporate a central rectangular window measuring 98.5mm x... | module main_body()
{
difference()
{
union()
{
translate( [ -77 , -4.5 , 0 ] ) cube( [ 155 , 59.8 , 2 ] );
translate( [ -77 , -4.5 , 0 ] ) rotate([35,0,0]) cube( [ 155 , 2 , 20.08 ] );
translate( [ -77 , -3.5 , -1 ] ) rotate([35,0,0]) cube( [ 7 , 5 , 15 ] );
... | glb/cad_24bb51dfb6f2.glb |
Create a rotary knob for a printer LCD. Start with a main cylindrical body 6mm high, with a bottom radius of 12mm and a top radius of 13mm. Add a thin 1mm thick cylindrical disc on top with a radius of 12mm.
Carve out a central vertical hole 6.1mm in diameter and 5.2mm deep. Around this hole, create a tapered recesse... | $fn = 128;
difference () {
union() {
translate([0,0,0]) rotate(a=[0,0,0]) cylinder(h = 6, r1=12, r=13);
translate([0,0,6]) rotate(a=[0,0,0]) cylinder(h = 1, r1=13, r2=12);
}
translate([0,0,19.5]) rotate(a=[0,0,0]) sphere(14);
translate([0,0,-0.1]) rotate(a=[0,0,0]) cylinder(h = 5.2, ... | glb/cad_36cd61268e66.glb |
Create a Customizable All-In-One Temperature and Bridging Tower. Start with a base plate measuring 89.3mm in length, 20mm in width, and 1mm in height, featuring 4mm fillets on the corners. On the top surface of this base, center a recessed text label for the filament type.
Stack 9 tiers vertically on top of the base. ... | gFilamentType = "PLA";
gHighTemp = 220;
gTempJump = 10;
gNumTiers = 9;
gTypeScale = 1.0;
gFilamentBrandTop = "";
gFilamentBrandBottom= "";
gBrandScale = 1.0;
gBaseLen = 89.3;
gBaseWidth = 20;
gBaseHeight = 1;
gBaseFillet = 4;
gTierLength = 79;
gTierWidth = 10;
gTierHeight = 10;
$fn = 64;
_min = 0.01;
gCode =... | glb/cad_d54616e1d4eb.glb |
Create a parametric modular storage box with a total length of 117mm, width of 74.4mm, and height of 10.8mm. The box should have a base floor thickness of 0.8mm and external walls that are 1.2mm thick along the length and 5mm thick along the width. All outer corners must have a radius of 5mm.
Divide the interior into ... | length=117;
width=74.4;
height=10.8;
radius=5;
floor_thick=0.8;
wall_thick=0.8;
wall_thick_length=1.2;
wall_thick_width=5;
internal_radius=2;
rows=3;
columns=3;
stackable=true;
tab_length=40.40;
tab_height= 3.00;
tab_thick= 2.75;
tab_radius= 2.00;
tolerance=0.2;
lid_print=false;
text_print=false;
t... | glb/cad_8fcf0590d42d.glb |
Create a Pen Ball writing aid consisting of two hemispherical shells. Start with a sphere of 60mm diameter and a wall thickness of 2mm. Remove a cylindrical core with a diameter of 10.5mm to create a central hole for the writing utensil.
Within the shell, create three equidistant structural pillars arranged 120 degree... | ball_diam = 60.0;
pen_diam = 10.5;
wall_thick = 2.0;
tol=0.8;
nut_thick = 3.2;
nut_flats = 7.0;
nut_diam = nut_flats / (sqrt(3)/2);
screw_length = 12.0;
screw_nom_diam = 4.0;
screw_head_diam = 8.0;
screw_head_thick = nut_thick;
pillar_height = screw_length - (1.25 * nut_thi... | glb/cad_0f46c26c294c.glb |
Create a 608 Bearing Cleaner consisting of a tube, a cap, and spacers.
First, create a hollow tube with an outer diameter of 36mm and a wall thickness of 3mm. The tube should have a total length of 91.2mm. The bottom edge should be chamfered, and the top section must feature an internal metric thread with a diameter ... | $fs = 0.4;
$fa = 1;
use <threads.scad>;
bolt_length = 76.2;
bolt_diameter = 6.35;
bolt_tpi = 20;
bearing_od = 22;
bearing_id = 8;
bearing_shaft_od = 11.5;
tube_thickness = 3;
tube_space = 10;
tube_od = bearing_od + (tube_thickness*2) + tube_space;
base_thickness = 3;
tube_thread_length = 15;
tube_length = bolt_lengt... | glb/cad_dacb59f62fba.glb |
Create a noise cancelling tweak part for a 3D printer by starting with a solid rectangular base measuring 92mm in length, 10mm in width, and 3mm in height. From this base, remove three identical rectangular notches to create gaps. Each notch should be 5mm wide and 6.1mm high, positioned with the bottom edge starting 0.... | difference(){
cube([92,10,3]);
union(){
translate([2,4,-0.1])
cube([5,6.1,1.1]);
translate([30.5,4,-0.1])
cube([5,6.1,1.1]);
translate([65,4,-0.1])
cube([5,6.1,1.1]);
translate([2,4,-0.1])
cube([5,4,2.6]);
translate([30.5,4,... | glb/cad_da878dbf6524.glb |
Create a rectangular frame for noise reduction with outer dimensions of 99mm in length, 42mm in width, and a total height of 4mm. From the center of this solid block, remove a rectangular section to create a hollow interior. This interior cutout should start 1mm from the outer edges along the length and width, leaving ... | difference(){
cube([99,42,4]);
union(){
translate([1,1,0.5])
cube([97,40,3.6]);
translate([8,5,-0.1])
cube([83,32,0.7]);
}
} | glb/cad_d793fa06396b.glb |
Create a noise cancelling tweak part for a 3D printer. Start by creating a thin rectangular base plate measuring 42mm in width, 39mm in depth, and 0.5mm in height. On the left side of this base, add a vertical wall that is 5mm thick and 5mm high, extending along the full 39mm depth of the plate. This wall should be for... | cube([42,39,0.5]);
intersection(){
cube([5,39,5]);
translate([-5.8,0,0])
rotate([0,45,0])
cube([8,39,8]);
}
cube([42,1,5]); | glb/cad_ffdcbe5404dc.glb |
Create a Halligan tool clip consisting of two intersecting vertical cylinders. First, create a primary cylinder with a diameter of 30mm and a height of 25mm. Position a second, smaller cylinder with a diameter of 20mm and a height of 25mm so that its center is offset 22mm along the x-axis from the center of the first. ... | difference(){
union(){
cylinder(d=30,h=25);
translate([22,0,0])cylinder(d=20,h=25);
}
translate([0,0,-1])cylinder(d=24.8,h=27);
translate([22,0,-1])cylinder(d=15,h=27);
translate([0,-30,-1])rotate([0,0,45])cube([22,22,27]);
translate([22,-32,-1])rotate([0,0,45])cube([22,22,27])... | glb/cad_e207371fc6fa.glb |
Create an optical port adapter by constructing a hollow elliptical ring. Start with an outer elliptical cylinder that is 37.8mm wide along the X-axis and 56.7mm deep along the Y-axis, with a total height of 14mm. Remove a concentric inner elliptical cylinder with a width of 25.4mm and a depth of 38.1mm to create a wall... | $fn = 100;
inside = 25.4;
thickness_xy = 6;
height_inside = 5+9;
thickness_z = 6;
flat = 21.6;
scale_ellipse = 1.5;
tube = 3;
outside = inside + 2*thickness_xy;
difference(){
union(){
difference(){
union(){
difference(){
scale([1, scale_ellipse, 1]) cylinde... | glb/cad_3786a95214b2.glb |
Create a Lomo RF-4 lens to Copal 3s shutter adaptor. The object is a stepped cylindrical assembly. Start by creating a main cylinder with a radius of 32mm and a height of 12mm, centered on the Z-axis. Inside this cylinder, carve out an internal metric thread with a nominal diameter of 60.5mm, a pitch of 0.75mm, and a l... | use <threads.scad>;
vLensThreadNominal2 = 60.5;
vLensThreadPitch2 = 0.75;
vLensThreadClearance2 = 0.3;
vLensThreadLength2 = 25;
vLensThreadOffset2 = 0;
difference(){
translate([0,0,10]) {
cylinder(h = 12, r1 = 64/2, r2 = 64/2, center = true);}
metric_thread(diameter=vLensThreadNominal2, pitch=vLensThreadPitch2, lengt... | glb/cad_e53070bfd657.glb |
Create a basket for coffee filters by constructing a hollowed-out conical vessel. Start by forming the main body as a combination of two stacked shapes: a lower cylinder with a radius of 24mm and a height of 100mm, and an upper truncated cone that sits atop it, starting at a height of 50mm with a base radius of 48mm an... | difference() {
union() {
translate([0,0,50])cylinder(r1=48, r2=63, h=50);
cylinder(r1=24, r2=135/2, h=100);
}
translate([0,0,50]) cylinder(r1=45, r2=60, h=50);
} | glb/cad_3a72b6acc73a.glb |
Create an AKAI MIDIMIX Knob. Start with a main body shaped as an 8-sided regular polygonal prism (octagonal) with a height of 15mm. The body is slightly tapered, with a bottom radius of 7mm and a top radius of 6mm.
At the base, add a cylindrical stem with a radius of 8mm and a height of 1mm. Centered within the knob, ... | quality = "preview";
knob_radius_top = 6;
knob_radius_bottom = 7;
knob_height = 15;
knob_faces = 8;
shafthole_radius = 3.1;
shafthole_height = 7.0;
shafthole_faces = 50;
shafthole_cutoff_arc_height = 1.5;
enable_stem = true;
stem_radius = 8;
stem_height = 1;
stem_faces = 50;
stem_transition_height = 0;
st... | glb/cad_1f81b08354e2.glb |
Create a parasol balcony stand by constructing a main vertical body 120mm tall. Start with a central cylinder 76mm in diameter and 120mm high. Remove a smaller concentric cylinder from the center with a diameter of 23mm and a height of 120mm. Cut a rectangular slot out of the side of the main body measuring 22mm wide, ... | $fn=30;
minkowski()
{
difference() {
cylinder(h = 120, r1 = 38, r2 = 38, center=true);
translate([-24,0,-60])
cylinder(h = 120, r1 = 11.5, r2 = 11.5, center=false);
translate([11,-28,-60])
cube([22,55.5,120], center=false);
translate([16,-35.5,-60])
cube([25,71,120], center=false);
translate([-22,-44,-60])
... | glb/cad_483809bdd6b5.glb |
Create a parasol balcony stand consisting of a main vertical body with a height of 80mm and a radius of 38mm. The structure is a hollowed-out cylinder with a 30-facet resolution. Within this main body, remove two vertical cylindrical voids, each with a radius of 30mm, positioned symmetrically at x = -22mm and x = -22mm... | $fn=30;
minkowski()
{
difference() {
cylinder(h = 80, r1 = 38, r2 = 38, center=true);
translate([-24,0,0])
cylinder(h = 40, r1 = 11.5, r2 = 11.5, center=false);
translate([-24,0,-40])
cylinder(h = 40, r1 = 2, r2 = 11.5, center=false);
translate([11,-28,-40])
cube([22,55.5,120], center=false);
translate(... | glb/cad_d4278d3e17c5.glb |
Create a cable organizer consisting of a honeycomb grid of hexagonal tubes. Each individual hexagonal cell must have an outer radius of 17mm, a height of 120mm, and a wall thickness of 1mm. The cells are arranged in a staggered grid with 2 columns and 3 rows, but with an additional cell centered in the middle of the se... | r = 17;
h = 120;
baseThickness = 1;
thickness = 1;
xRow = 2;
yRow = 3;
middleLineAddOne = true;
hh = r *0.866;
module hexagon (){
difference(){
cylinder(r=r, h=h, $fn=6);
translate([0,0,thickness]){
cylinder(r=r-thickness, h=h+baseThickness, $fn=6);
}
}
}
for(j =[0:1:yRow-1]){
if(j ... | glb/cad_f92f197a1b52.glb |
Create a table height increaser consisting of a tapered main body and a flat base. Start by creating a cylinder for the base with a diameter of 60mm and a height of 10mm. On top of this base, place a tapered cylinder with a total height of 80mm, starting with a bottom diameter of 50mm and narrowing to a top diameter of... | $fn = 100;
$outer_height = 80;
$outer_diameter1 = 50;
$outer_diameter2 = 40;
$inner_height = 20;
$base_diameter = 60;
$base_height = 10;
$round_height = $base_diameter;
$round_diameter = 50;
$round_cut_h = 6;
$zipper_width = $base_diameter;
$zipper_depth = 5;
$zipper_height = 2;
difference() {
union() {
... | glb/cad_7a5404a44de3.glb |
Create a Gameboy switch puzzle cartridge case consisting of two interlocking halves: a bottom and a top.
For the bottom half, create a base 57mm wide and 64.8mm deep with a height of 1.4mm. Add side walls 4.3mm high and 1.8mm thick. On the far end, include a notch 5mm wide and 3mm deep. The far wall should feature a c... | include <BOSL/shapes.scad>
$fa = 1;
$fs = .1;
ff = 0.001;
width = 57;
depth = 64.8;
translate([-width/2 - 1, 0, 0]) top();
translate([width/2 + 1, 0, 0]) bottom();
alignment_post_height = 2;
alignment_post_r = 0.9;
alignment_post_y = 41.9;
bottom_base_height = 1.4;
bottom_notch_wall_thickness = 0.7;
bottom_wall_th... | glb/cad_93b152d81975.glb |
Create a Sharpie Holder consisting of a honeycomb grid of seven hexagonal cells. Each cell should have an inner diameter of 17.75mm and a wall thickness of 0.9mm. The cells are arranged in a tight cluster with one central hexagon surrounded by six others.
The overall structure has a flat base with a thickness of 0.4mm... | hex_count = 7;
wall_thickness = 0.9;
hex_inner_diam = 17.75;
bottom_thickness = 0.4;
module hex(inner_diam, thickness) {
inner_rad = 0.5 * inner_diam;
outter_rad = inner_rad + thickness;
points = [
for (ang_i=[0:60:360])
[inner_rad * cos(ang_i), inner_rad * sin(ang_i)],
for (ang_o=[... | glb/cad_81fba051868e.glb |
Create a Parametric Filament Spool Clip with a total height of 6mm. The profile is based on a central channel 3mm wide and 18mm long. At the start of the clip, create a circular ring with an outer diameter of 10mm (calculated as twice the sum of the channel width and two 1.5mm walls).
Extend a rectangular arm from th... | $fs = 0.4;
$fa = 1;
wall_thickness = 1.5;
filament_diameter = 1.8;
clip_thickness = 6;
module solid_clip_profile(channel_width, clip_length) {
spring_diameter = (channel_width + (wall_thickness*2)) * 2;
filament_offset = (spring_diameter/2) + wall_thickness*2;
channel_length = clip_length - (spring_diameter/2);... | glb/cad_5723ddf43064.glb |
Create a Growler Drying Collar designed to hold a bottle upside down. Start with a central cylindrical ring that has an inner diameter of 19mm and an outer diameter of 44mm, with a total height of 8mm. On top of this base, add a second concentric ring with an outer diameter of 54mm and a height of 4mm, maintaining the ... | cd = 100;
od = 60;
id = 19;
difference(){
cylinder(r=22, h=8, $fn=cd);
translate([0,0,-.1]) cylinder(r=id, h=8.2, $fn=cd);
}
difference(){
cylinder(r=27, h=4, $fn=cd);
translate([0,0,-.1]) cylinder(r=id, h=4.2, $fn=cd);
}
module nib(){
hull(){
translate([ 1.5,0,0]) sphere(r=1.25, $fn=30, center=... | glb/cad_db8c5cb93d67.glb |
Create a Nut Clipper, a position indicator clip for a leveling wheel. The main body is a curved sector with a 15-degree angle, designed to fit a wheel with an outer diameter of 60mm and a height of 8mm. The cross-section of the clip is a custom polygon with a total height of 8.2mm and a variable width; the bottom secti... | err = 0.2;
wheel_od = 60;
wheel_h = 8;
spoke_w = 2.57;
wheel_id_to_trough = 4.67;
wheel_rim_wave_h = 0.6;
wheel_rim_w = wheel_id_to_trough + wheel_rim_wave_h;
wheel_nub_sp = 2.8;
clip_top_w = wheel_rim_w + err;
clip_top_h = 1.4;
clip_top_nub_r = 1.4;
clip_h = wheel_h + err;
clip_bottom_w = clip_top_w * 1.8;... | glb/cad_56f8f943ddfb.glb |
Create a customizable electronics enclosure consisting of a main box and a removable cover.
Construct the main box as a rectangular shell with outer dimensions of 70mm width, 140mm length, and 40mm height. The walls should be 3.6mm thick with rounded corners of 1mm radius. The interior is hollowed out, leaving a 1.5m... | box = "Enabled";
cover = "Enabled";
outer_width = 70;
outer_length = 140;
outer_height = 40;
wall = 3.6;
corner = 1;
gap_xy = 0.2;
gap_z = 0.2;
cover_screw_hole = 3.7;
screw_wall_thickness = 4;
screw_head = 7.9;
cover_hole_distance = 2.5;
standoff_height = 10;
standoff_wall_thickness = 3;
sandoff_hole_siz... | glb/cad_0547a390db6f.glb |
Create a Customizable Electronics Enclosure consisting of a main box and a removable cover.
Construct the main box as a rectangular prism with outer dimensions of 70mm width, 140mm length, and 40mm height. The box has a wall thickness of 3.6mm and rounded corners with a 1mm radius. Hollow out the interior to create a... | box = "Enabled";
cover = "Enabled";
outer_width = 70;
outer_length = 140;
outer_height = 40;
wall = 3.6;
corner = 1;
gap_xy = 0.2;
gap_z = 0.2;
cover_screw_hole = 3.7;
screw_wall_thickness = 4.1;
screw_head = 7.9;
cover_hole_distance = 2.5;
step = 1.5;
entry_1_location = "None";
entry_1_shape = "Round";
e... | glb/cad_4d726ce739bc.glb |
Create a PSU cooling chimney for a Lack enclosure. The main body is a hollow rectangular duct with an outer footprint of 100mm by 85mm and a total height of 440mm. The walls are 5mm thick.
The base of the chimney is a flat rectangular plate 130mm wide and 80mm deep with a thickness of 3mm. From this base, two vertical... | bot();
module parts(){
translate([0,0,20])top();
translate([0,0,10])mid();
bot();
}
module cut(){
intersection(){
chimney();
translate([50,-0.1,0])cube([150,150,500]);
}
}
module top(){
intersection(){
chimney();
translate([-10,-0.1,364])cube([150,150,500]);
... | glb/cad_b725efe49a72.glb |
Create a JGA5 Pi3 and relay mount consisting of two main base platforms. First, create a rectangular base for the Raspberry Pi measuring 86.6mm by 57mm with a thickness of 2mm. Centered on this base, add a raised rectangular frame measuring 89.1mm by 59.5mm with a height of 7mm, but hollow out the center to create a ri... | $fn=60;
difference() {
union() {
union() {
translate([+00.0,+00.0,+00.0]) cube([+86.6,+57.0,+02.0], center=true);
difference() {
translate([+00.0,+00.0,+02.5]) cube([+89.1,+59.5,+07.0], center=true);
translate([+00.0,+00.0,+02.5]) cube([+86.6,+57.0,+0... | glb/cad_5e0e6ad54490.glb |
Create a Post Tower model consisting of a hollowed cylindrical tower and a base. Start by constructing a hollow cylinder with an outer radius of 35mm and an inner radius of 33.25mm, extending to a height of 167.5mm.
At the top of this cylinder, add a thin circular cap with a radius of 35.25mm and a thickness of 1mm. ... | $fn = 128;
module tower_half() {
intersection() {
union(){
difference() {
translate([0,0,0]) rotate([0,0,0]) cylinder(h=167.5, r=35);
translate([0,0,0]) rotate([0,0,0]) cylinder(h=167.5, r=33.25);
}
translate([0,0,0]) rotate([0,0,0]) cylinder(h=160, r=35);
translate([0,0,160]) rotate([0,0,0]) cy... | glb/cad_6d311a55dcea.glb |
Create a seal cutter tool consisting of two main components: a cutting block and a cap.
First, create the cutting block as a rectangular prism with dimensions 28.15 mm in width, 26.20 mm in depth, and 16 mm in height. Center the block and subtract four inclined slits from its volume. Each slit should be 0.55 mm wide a... | width = 12.15;
depth = 10.20;
secondWidth = 0;
gap = 0.55;
gapAngle = 15;
capSpacing = 0.08;
holePositions = [[0, 0, 0], [0, 0, 0], [0, 0, 0]];
holeSpacingX = 4;
holeSpacingY = 4;
holeSize = 4;
cutEdge = 8;
capEdge = 3;
fontSize = 7;
translate([0,0,16])rotate([0,180,0])cuttingBlock();
translate([width+2*c... | glb/cad_dac59c3129e5.glb |
Create a Micro Stringing Test consisting of a rectangular base with two vertical walls. Start by creating a flat rectangular base that is 30mm long, 10mm wide, and 1mm thick. Position two identical vertical walls on top of this base. Each wall must be a rectangular prism measuring 10mm in length, 1mm in width, and 10mm... | cube([30,10,1]);
translate([0,4.5,1]) {
cube([10,1, 10]);
translate([20,0,0]) cube([10,1,10]);
} | glb/cad_d5fd4202a714.glb |
Create an Angled Dry Box Feeder consisting of two identical mirrored halves. For each half, start with a rectangular base measuring 45mm in length, 20mm in width, and 6mm in height, with the corners rounded by a radius of 6.67mm.
At the center of the base, create a cylindrical outlet angled at 45 degrees. This outlet... | echo(fs=$fs);
echo(fa=$fa);
echo(fn=$fn);
$fa=6;
$fs=1.5;
$fn=60;
print_margin = 0.3;
base_height = 3;
base_length = 45;
base_width = 20;
base_minimum_height = 1.6;
base_size = [base_length, base_width, 2 * base_height];
nut_diameter = 3.0;
nut_height = 4.0;
nut_height_hexagon = 2.4;
nut_diameter_parallel = 5.5;
mo... | glb/cad_d17288cc25b2.glb |
Create a Gravity Paper Holder Magnet consisting of a base and a decorative cage.
Start with a rectangular base 60mm wide, 29mm high, and approximately 6mm thick. Within this base, create two cylindrical cutouts for magnets, each 15.5mm in diameter and 3mm deep, positioned symmetrically along the center axis.
Constru... | include <lib_markus.scad>
holder();
baseHeight = 29;
magnetThickness=3;
magnetDiameter = 15.5;
magnetCenterDistance = 27;
magnetSideWall = 1.6;
magnetY = baseHeight/2;
tiltAngle = 22;
paperGap = 3.3;
paperGapInset = 0.75;
ballDiameter = 20;
holeDiameter = ballDiameter + 0.3;
bottom = 11.5;
magnetWallThin = 0.86;... | glb/cad_fda61f0a6de4.glb |
Create a CanDo Internal Corner replacement part. The main body is a rectangular block with a total height of 82.6mm, a width of 25mm, and a thickness of 6mm. The shape is characterized by a deep, wide rectangular channel carved out of the center, leaving two outer walls and a base.
The outer walls are 6mm thick. The ... | $fn=60;
micron = 0.001;
height = 82.6;
height1 = 70;
width0 = 25.0;
width1 = 23.5;
width2 = 20.0;
thick = 6.0;
facet = 2.0;
module pill() {
hull()
{
translate([0,0,facet]) sphere(facet);
translate([0,0,thick-facet]) sphere(facet);
}
}
module internalcorner() {
difference() {
hull() {
t... | glb/cad_07ad283f05e0.glb |
Create a Frequency Counter Crystal Tester case consisting of a bottom tub and a top cover.
For the bottom tub, create a rectangular shell with outer dimensions of 84.8mm by 58.3mm and a height of 8.4mm. The walls should be 1.6mm thick. Hollow out the center to create a main cavity of 72.7mm by 46.2mm, leaving a floor... | $fa = 12;
$fs = 2;
$fn = $preview ? 12 : 60;
micron = 0.001;
print_margin = 0.3;
pcb_x = 80;
pcb_y = 53.5;
pcb_z = 10;
wall = 1.6;
hole_x = 72.7;
hole_y = 46.2;
hole_z = 10-wall;
right = 14;
box_x = pcb_x + 4.8;
box_y = pcb_y + 4.8;
box_z = pcb_z + hole_z;
pcb_x_of... | glb/cad_7030e66719cc.glb |
Create a CanDo endcap replacement for an 80mm plinth. Start by constructing a solid hull that connects four small spheres of 2mm radius. Position two spheres at the base and two at the top, 83.6mm apart along the Y-axis. The base spheres should be centered on the X-axis, while the top spheres are offset to create a tap... | $fn=60;
micron = 0.001;
height = 83.6;
width0 = 23.6;
width1 = 20.9;
thick = 6.0;
facet = 2.0;
module pill() {
hull()
{
translate([0,0,facet]) sphere(facet);
translate([0,0,thick-facet]) sphere(facet);
}
}
module endcap() {
difference() {
hull() {
translate([0,0,0]) pill();
transl... | glb/cad_fc0201063337.glb |
Create a grid of internal support structures for casting silicone rubber discs. The overall layout consists of a repeating pattern of circular cores arranged in rows.
For each individual unit, create a central core consisting of a cylinder with a 7mm diameter and 0.3mm height. Above this, add a concentric cylinder wit... | include <lib_markus.scad>
grid();
module grid(xCount=8.5, yCount=3) {
if ($preview) {
color([.9,.9,.9]) translate([0,0,-1.5]) mold();
}
distance = 10.75;
adhesiveThickness = 0.1;
maxHeight = 2.6 - adhesiveThickness;
yDistance = sqrt(distance*distance - (distance*distance)/4);
width = (yCount-1) *... | glb/cad_0f158070d9b8.glb |
Create a battery holder for 18650 cells. Start with a rectangular base plate measuring 74.1mm in length, 20.1mm in width, and 1.5mm in height. Add two side walls, each 1.5mm thick and 19.5mm high, running the full length of the base. Close one end of the holder with a solid wall 1.8mm thick.
The interior cavity should... | $fn = 60;
micron = 0.01;
margin = 0.6;
battery_height = 18.2;
battery_length = 68.5;
pin_width = 9.85 + 0.15;
pin_width_pin = 2.05 + 0.15;
pin_height = 16.0;
pin_height_plate = 9.15 + 0.15;
pin_height_pin = pin_height - pin_height_plate;
pin_length_plus = 1.5;... | glb/cad_8247ce30b7f6.glb |
Create a Tiny OpenScad Compliant Grabber with a total height of 4mm. The model consists of two symmetrical handles and a gripping mechanism.
First, create two handles, each 60mm long and 30mm wide, with a thickness of 4mm. These handles should be positioned to form the grip of the tool. Between the handles, incorporat... | $fn=200;
height = 4;
handle_width = 30;
handle_length = 60;
trigger_length = 17;
handle_thickness = 4;
gap = 0.2;
grabber_width = 40;
grabber_length = 45;
grabber_thickness = 1;
grabber_end_radius = 2.7;
color("red"){
handle(handle_width, handle_length, handle_thickness, trigger_length,
height);
trig... | glb/cad_88718f58e3a4.glb |
Create a replacement motor mount for an LRP drone. The main body is formed by the convex hull of two cylinders: one with a diameter of 20.8mm and a height of 6mm, and another with a diameter of 12.8mm and a height of 14mm positioned 16mm away along the X-axis.
From this main body, remove several geometric features. F... | $fn = 90;
difference()
{
union()
{
translate([0,0,0]) dron();
}
union()
{
}
}
module dron()
{
difference()
{
union()
{
hull()
{
translate([0,0,1]) rotate([0,0,0]) cylinder(d=20.8,h=6,center=true);
translate([16,0,-1]) rotate([0,90,0]) cylinder(d=12.8,h=14,cent... | glb/cad_3c0d44068204.glb |
Create a wall mount for an electric screwdriver by constructing a long base and three identical holding slots. Start with a rectangular base 150mm long, 15mm wide, and 10mm thick. For each slot, create a composite shape consisting of a cylinder with a 23mm radius and a 150mm length, merged with a 25.5mm by 5mm by 140mm... | $fn = 80;
hgt = 150;
rotate([90,0,0])
difference() {
union() {
cube([15,10,150]);
hull() {
translate([15/2,18,0])
cylinder(r=23/2,h=150);
translate([-5,22,10])
cube([25.5,5,150-10]);
}
}
translate([0,0,2]){
translate([15/2,18,0])
cylinder(r=21/2,h=150);
translate([15/2,15.6,0])
rotate([0,0,45]... | glb/cad_d951cb4a0b64.glb |
Create a K40 Laser Crosshair Mount by starting with a central cylinder that has a radius of 12mm and a height of 6mm. Remove a concentric inner cylinder with a radius of 6.2mm and the same height to create a hollow ring.
On opposite sides of this ring, centered along the Y-axis, add two symmetrical laser pointer moun... | $fn = 40;
rotate([0,180,0])
difference() {
union() {
cylinder(r=24/2,h=6);
for(r=[-16.75:33.5:16.75])
translate([r,-16.75,0]){
difference(){
hull() {
cylinder(r=15/2,h=6);
translate([-sign(r)*17/2,16/2,0])
cylinder(r=4,h=6);
}
cylinder(r=12.4/2,h=6);
}
}
}
cylinder(r=21.5... | glb/cad_92b7a66e078f.glb |
Create a control panel for an MKS DLC32. Start with a base plate 190mm wide by 175mm deep and 20mm thick. Round the four outer corners with a 5mm radius.
Cut a rectangular opening for the display screen measuring 110mm by 65mm, centered horizontally and positioned 12mm from the bottom edge. Within this area, create a ... | x = 32;
y = 31;
w = 60;
h = 30;
xsz = 110;
ysz = 65;
$fn = 60;
difference() {
hull() {
translate([5,5,0])
cylinder(r=5,h=2);
translate([5,175-5,0])
cylinder(r=5,h=2);
translate([190-5,175-5,0])
cylinder(r=5,h=2);
translate([190-5,5,0])
cylinder(r=5,h=2);
}
translate([12.5,7.5,0])
{
translate([... | glb/cad_cf1b6f675ace.glb |
Create a control panel button for an MKS DLC32. Start by constructing a base cylinder with a radius of 6mm and a height of 1.5mm. On top of this base, centered at the same axis, create a composite shape that begins with a cylinder of radius 4.4mm and a height of 1mm, starting 1.5mm above the bottom plane. Transition th... | $fn = 80;
difference() {
union() {
translate([0,0,1.5])
hull() {
cylinder(r=8.8/2,h=1);
translate([0,0,4.25])
scale([1,1,.4])
sphere(r=8.8/2);
}
cylinder(r=6,h=1.5);
}
cylinder(r1=7.6/2, r2=6.6/2, h=5);
} | glb/cad_523b95477e17.glb |
Create a shelf bracket for an LED neon flex light consisting of two interlocking U-shaped components. First, construct a base U-channel by creating a solid rectangular block 23.1mm wide, 15mm deep, and 22.8mm high, then remove a central rectangular volume of 19.5mm by 15mm by 21mm, leaving a wall thickness of 1.8mm on ... | shelf_bracket_width = 15;
shelf_bracket_length = 21;
shelf_bracket_height = 19.5;
walls = 1.8;
led_width = 12;
led_length = 15;
led_height = 18;
shelfbracket();
translate([led_width + (led_width/2), 0, walls])
rotate([0, 180, 0])
ledbracket();
module shelfbracket() {
difference(){
cube([ shelf_bracket_heig... | glb/cad_e38328feedfa.glb |
Create a Truchet-style fridge magnet tile by starting with a square base measuring 15mm x 15mm with a height of 2.5mm.
On the top surface of this base, add a raised pattern with a height of 4.5mm and a thickness of 3.8mm. The pattern consists of three parallel bars, each 3.8mm wide, oriented at a 45-degree angle. Pos... | side = 15;
hTile = 2.5;
hPattern = 4.5;
thickPattern = 3.8;
magnetType = 0;
hMagnet = 2;
rCylinderMagnet = 3;
horzRectMagnet = 10;
vertRectMagnet = 5;
patternFamily = 2;
$fn = 40;
gap = 5;
draw();
module draw(){
if(patternFamily==0){
drawTile(0, 0, 4);
drawTile(side+gap, 0, 5);
draw... | glb/cad_edc1600beb6b.glb |
Create an On-Air Indicator consisting of three main parts: a case body, a faceplate, and an LED carrier.
For the case body, create a hollowed-out capsule shape with a width of 110mm, height of 70mm, and depth of 35mm. The walls should be 2mm thick. On the top surface, center a rectangular cutout measuring 19mm by 12.5... | $fs = 0.4;
$fa = 1;
font_text = "On Air";
font_name = "DeStencilNF";
font_size = 11;
case_width = 110;
case_height= 70;
case_depth = 35;
case_thickness = 2;
locator_slop = 0.2;
faceplate_thickness = 1;
diffuser_thickness = 1;
diffuser_height= 30;
diffuser_width = 80;
magnet_od = 6;
mag_slop = 0.2;
mag_thickness = ... | glb/cad_254b342ed84e.glb |
Create a Name Sweep model featuring the text "HelloThere" in a bold, monospaced font. The text should be extruded along a 90-degree circular arc, creating a swept, curved effect. Set the maximum character height to 100mm. Position the text so there is a 10mm baseline gap between the bottom of the characters and the bas... | text = "HelloThere";
fontString = "Consolas:style=Bold";
spacing = 1;
size = 100;
angle = 90;
baseline = 10;
plate = true;
plateHeight = 20;
plateBorder = 10;
plateHull = true;
includeBaselineInBase = false;
sizeX = len(text) * size * 0.8;
module CustomText() {
text(text, halign = "center", spacing = spaci... | glb/cad_771a4ad4b323.glb |
Create a plastic tray cover with a wall thickness of 1.2mm and a total height of 96mm. The cover is a thin-walled perimeter consisting of several connected segments. Start with a straight wall 4mm long, followed by a 90-degree corner. Then, add a straight wall 12mm long, followed by another corner angled at approximate... | walls = 1.2;
width = 96;
a = 12;
b = 145;
c = 42.4;
d = 24.5;
e = 11;
r = 0.6;
$fs = 0.2;
tray_cover([[4,90], [a,90],[b,atan2(c,d)],[sqrt(c^2 + d ^ 2), 90 - atan2(c,d)],[11, 90],[4,0]], height = width);
module tray_cover(dim, next = 0, height)
{
this_angle = 180 - (next > 0?dim[next-1][1]:0);
next_angle = 180 ... | glb/cad_b06a3416cbf3.glb |
Create a DIY Printer Light Bar mount. The object is a 25mm wide bracket with a complex profile designed to slide into a V-slot rail.
The profile consists of two main sections. The first section is a slot profile that fits the rail, featuring a narrow throat of 6.2mm. The second section is a support profile that exten... | $fs = 0.4;
$fa= 1;
strip_width = 45;
throat_width = 6.2;
screw_offset = 0.96 * (throat_width*2) + (strip_width/2);
screw_hole = 2.8;
mount_width = 25;
module slot_profile() {
x0 = 0;
x1 = 5;
x2 = x1 + 1.64;
x3 = x2 + 2.66;
y0 = 0;
y1 = y0 + 2.42;
y2 = y1 + 0.24;
y3 = y2 + 5.68;
y4 = y3 + 0.24;
y5 ... | glb/cad_a3173ae1322c.glb |
Create a Dunce Cap accessory by constructing a solid cone with a base radius of 15mm and a height of 45mm. On the outer surface of the cone, add the word "DUNCE" in a bold, sans-serif font with a character size of 4mm. The text should be extruded 5mm from the surface and positioned vertically along the side of the cone... | a = 15;
b = 45;
c = sqrt(a*a+b*b);
beta = acos( (a*a + c*c - b*b) / (2*a*c) );
$fn = 100;
difference() {
union() {
cylinder(b, a, 0);
translate([0, -1, b-15])
rotate([beta,0,0])
linear_extrude(5)
text("DUNCE", direction="ttb" ,size=4, font="Comic Sans MS:style=Bold");
}
difference(){
cylinder(b+10,... | glb/cad_211155230e9f.glb |
Create a Fidget Slider Nametag Badge consisting of a frame and sliding letter tiles.
First, construct the frame. Create a rectangular base with rounded corners and a total height of 2.2mm. The outer dimensions should be approximately 88mm in length and 18.2mm in width. On the top surface, carve out a central rectangul... | output = "Frame";
name = "LYDIA";
length = 5;
letter_width = 12;
letter_height = 15;
height = 1.6;
border = 2;
clearance = 0.2;
module end_parameters(){};
font = "Courier New:style=Bold";
$fs = 0.5;
if(output == "Frame")
frame(length);
else if(output == "Name")
word(name);
module word(name)
{
Tx(-(len(nam... | glb/cad_5c8077673c02.glb |
Create a two-part filament spool consisting of a main spool body and a detachable top disk.
For the main body, create a revolved shape with an outer diameter of 200mm and a total width of 40mm. This body features a central hub with a diameter of 90mm and a central spindle hole with a diameter of 60mm. The walls of th... | $fn=96;
$outerdia=200;
$hubdia=90;
$holedia=60;
$width=40;
$wall=3;
$numholes=5;
$e=0.005;
$fit=0.3;
spool();
translate([$outerdia*.68, $outerdia*.75,0])topdisk();
module spool () {
hr=$holedia/2;
or=$outerdia/2;
oh=$hubdia/2;
space=($outerdia-$hubdia)/8;
r2=$outerdia/2-space;
r1=$hubdia/2+s... | glb/cad_073155d530d9.glb |
Create a parametric modular storage box with a total length of 117mm, width of 74.4mm, and height of 10.8mm. The box should have a floor thickness of 0.8mm and external walls that are 1.2mm thick along the length and 5mm thick along the width. All outer corners must have a radius of 5mm.
Divide the interior into a 3x3... | length=117;
width=74.4;
height=10.8;
radius=5;
floor_thick=0.8;
wall_thick=0.8;
wall_thick_length=1.2;
wall_thick_width=5;
internal_radius=2;
rows=3;
columns=3;
stackable=true;
tab_length=40.40;
tab_height= 3.00;
tab_thick= 2.75;
tab_radius= 2.00;
tolerance=0.2;
lid_print=false;
text_print=false;
t... | glb/cad_7c3205eefd84.glb |
Create a name tag base as a rounded rectangle with a total width of 100mm, a height of 60mm, and a thickness of 3mm, using a corner radius of 5mm. On the main body, add the name "Alice" as raised 3D text, centered vertically and scaled to fit within 80% of the tag's width. At the top of the tag, create a smaller rounde... | name = "Alice";
toptext = "Hello, my name is";
font= "Liberation Sans";
height = 60;
width = 100;
thick = 3;
radius = 5;
linear_extrude(thick-1) hull() {
circle(radius);
translate([height-radius*2,0,0]) circle(radius);
translate([height-radius*2,width-radius*2,0]) circle(radius);
translate([0,width-ra... | glb/cad_795f062807e1.glb |
Create a Gridfinity AAA Battery Container. Start by constructing a base grid block that is 1 unit wide, 1 unit deep, and 2 units high (based on the Gridfinity pitch). The block should include four magnet holes in the bottom.
Within this block, create a partitioned cavity to hold batteries. The cavity should be divided... | include <gridfinity_modules.scad>
battery_height=50;
part = 1;
battery_diameter=10.65;
magnet_holes=true;
sets_of_batteries=3;
if (magnet_holes) {
basic_cup(sets_of_batteries/3,1,3,1);
}
else basic_cup(sets_of_batteries/3,1,3,0);
module basic_cup(num_x=1, num_y=1, num_z=2, bottom_holes=0, chambers=1) {
... | glb/cad_b43b04b95a75.glb |
This OpenSCAD code is a collection of modules designed to create 2D vector-style icons (like a gift, star, key, clock, pen, and YouTube logo) using **Cubic Bézier curves**.
The core logic relies on a custom implementation of the Bézier formula to generate a series of points between four control points, which are then ... | faces_segment = 12;
textstring1="Bada";
textstring2="";
textstring3="";
HiddenText="";
add_a_special_character="none";
special_character=9829;
distance_special_char = .5;
textsize1=16;
textsize2=16;
textsize3=16;
distance=1.1;
fontname1="norwester";
fontstyle1="Regular";
fontname2="<same as fontname1>";
... | glb/cad_6a08182527c1.glb |
Create a 3/4" knockout adapter for a liquidtight conduit fitting. Start by creating a main cylindrical collar with a diameter of 36mm and a height of 8mm. At the base of this collar, add a smaller concentric cylinder with a diameter of 28mm and a height of 2mm, extending downwards.
From the center of this assembly, r... | include <Poor_mans_openscad_screw_library/polyScrewThread_r1.scad>
final_render = true;
knockout_diamater = 22;
conduit_outer_diameter = 21;
outer_thread_diameter = conduit_outer_diameter + 6;
thread_resolution = (final_render == true) ? 0.5 : 6;
nut_scale=1.03;
inner_tooth_degree = 45;
inner_tooth_height=3;
outer_t... | glb/cad_8ee2ec6283bb.glb |
Create a parametric felt bumper designed to hold a circular pad. Start by creating a base cylinder with a height of 2mm and a diameter of 29.4mm, with a concentric hole removed from the center that is 25.4mm in diameter and 2mm deep. Above this base, construct a main body that is 12mm tall. This body should be a frustu... | gap = 17;
felt_thickness = 5;
felt_diameter = 25.4;
screw_head_diameter = 7.5;
screw_head_height = 3;
screw_shank_diameter = 4;
remaining_gap = gap - felt_thickness;
small_diameter = felt_diameter + 4;
$fn=200;
union() {
difference() {
cylinder(h=remaining_gap, d1=small_diameter, d2=small_diameter + (s... | glb/cad_4a326b7d3e8b.glb |
Create a Universal Rectangular Clip designed to hold a rectangular object. Start with a solid rectangular block measuring 68mm in width, 43mm in depth, and 25mm in height.
Carve out a central rectangular void to create the clip's opening. This void should be 60mm wide and 33mm deep, positioned 4mm from the front face... | inner_width = 60;
inner_depth = 33;
clip_height = 25;
wall_thickness = 4;
tooth_size = 6;
add_screw_holes = true;
screw_head_diameter = 8;
screw_head_height = 4;
screw_shank_diameter = 5;
$fn = 50;
outer_width = inner_width + (wall_thickness * 2);
outer_depth = inner_depth + wall_thickness + tooth_size;
#un... | glb/cad_ea77a1916a95.glb |
Create an epoxy mixing beaker based on a target volume of 30ml. The main body is a hollow cylinder with a wall thickness of 1.5mm and a base thickness of 1.6mm. The inner radius is calculated such that the volume of the cylinder up to the first marking line equals the target volume, with the total height of the beaker ... | part = "Beaker";
Resin_Volume = 30;
Stir_Length = 75;
module Beaker(volume){
$fn=150;
thick = 1.6;
h2d = 0.5;
function cubert(x) = pow(x, 1/3);
V = volume * 1000;
h2r = h2d * 2;
BeakerRad = cubert( V/(PI*h2r) );
Vol_ht = h2r * BeakerRad;
Total_ht = 1.5*Vol_ht + thick;
module base(r, ex=0){
ht... | glb/cad_c723cd2f4863.glb |
Create a Tiny OpenScad Compliant Grabber with a total height of 4mm. The model consists of two symmetrical mirrored halves.
First, construct the handles. Each handle is based on a rounded form with a width of 30mm and a length of 60mm, and a thickness of 4mm. The handles are connected by a central trigger mechanism. T... | $fn=200;
height = 4;
handle_width = 30;
handle_length = 60;
trigger_length = 14;
handle_thickness = 4;
gap = 0.2;
grabber_width = 40;
grabber_length = 45;
grabber_thickness = 1;
grabber_end_radius = 2.7;
color("red"){
handle(handle_width, handle_length, handle_thickness, trigger_length,
height);
trig... | glb/cad_e6246b414f34.glb |
Create a rectangular organizer box with outer dimensions of 58mm width, 78.5mm length, and 21mm height. Inside this volume, carve out two identical rectangular compartments, each measuring 46.5mm wide and 36.5mm long, with a depth of 20mm (leaving a 1mm base). Position the first compartment starting at coordinates (5.7... | $fn=100;
difference(){
cube([58,78.5,21]);
translate([5.75,2,1])
cube([46.5,36.5,100]);
translate([5.75,40,1])
cube([46.5,36.5,100]);
translate([29,-4,-2])
rotate([0,0,0])
cylinder(h=400, r=13, center=false);
translate([29,82.5,-2])
rotate([0,0,0])
cylinder(h=400, r=13, center=false);
}
module roundedCube(x,y,z... | glb/cad_8ac681312f5d.glb |
Create a game organizer insert by starting with a solid rounded rectangular base measuring 222mm by 144.5mm with a height of 9mm and corner radii of 3mm. From this base, remove several sections to create storage compartments. First, carve out a large central rectangular void measuring 192mm by 133mm with a depth of 100... | $fn=100;
difference(){
roundedCubeR3(222,144.5,9);
translate([22,5.75,3])
roundedCubeR5(192,133,100);
translate([77.5,15.75,-1])
roundedCubeR5(126.5,113,100);
translate([32,61.25,-1])
roundedCubeR5(172,68,100);
translate([22,5.75,1])
roundedCubeR3(45.5,45.5,100);
translate([29.5,13.25,-11])
roundedCubeR3(30.5,30.... | glb/cad_802636ab4b14.glb |
Create a rectangular organizer tray for the Manhattan Project board game with overall dimensions of 111mm in width, 117.5mm in length, and 19.5mm in height. The outer corners of the tray should be rounded with a 3mm radius.
Carve out two distinct storage wells from the top of the block. The first well is a small, sha... | $fn=100;
difference(){
roundedCube(111,117.5,19.5);
translate([28,83,6])
minkowski(){
translate([0,9.5,11])
cube([71,13,23]);
sphere(r=10);
}
translate([28,0,6])
minkowski(){
translate([0,12,11])
cube([71,58,23]);
sphere(r=10);
}
translate([0,59,-1])
rotate([0,0,90])
cylinder(h=30, d=30, center=false);
}
module r... | glb/cad_eebfb920f3ca.glb |
Create a rectangular organizer for a board game box with overall dimensions of 222mm in length, 49mm in width, and 26mm in height. From this solid block, remove three identical vertical rectangular slots to create storage bays. Each slot must be 72mm wide, 23mm deep, and 100mm high, positioned side-by-side along the le... | $fn=100;
difference(){
cube([222,26,49]);
translate([1.5,1.5,1])
for(i = [0:2]){
translate([(i*73.5),0,0])
cube([72,23,100]);
translate([(i*73.5)+36,200,49])
rotate([90,0,0])
cylinder(h=400, r=25, center=false);
}
} | glb/cad_05a16f06fc65.glb |
Create a rectangular organizer box for a board game insert with outer dimensions of 58mm width, 78.5mm depth, and 25mm height. Hollow out the interior to create a main storage compartment starting 4.5mm from the left wall and 3.25mm from the front wall, with a base thickness of 1.5mm; this interior cavity should measur... | $fn=100;
difference(){
cube([58,78.5,25]);
translate([4.5,3.25,1.5])
cube([49,72,100]);
translate([14.5,21.75,-2])
roundedCube(29,42,100);
translate([29,-2,-2])
rotate([0,0,0])
cylinder(h=400, r=13, center=false);
}
module roundedCube(x,y,z)
{
r=3;
translate([r,r,0])
minkowski()
{
cube([x-(2*r), y-(2*r), z-r]);
... | glb/cad_5f0cd0e03923.glb |
Create a game organizer insert by starting with a solid rectangular block measuring 100mm in width, 85.5mm in depth, and 15.3mm in height. From this base block, remove two rectangular volumes to create open storage compartments. The first and largest cutout should be a rectangle measuring 66.25mm in width and 100mm in ... | $fn=100;
difference(){
cube([100,85.5,15.3]);
translate([0,58,-1])
cube([66.25,100,100]);
translate([2,2,1])
cube([96,54,100]);
translate([68.25,2,1])
cube([29.75,81.5,100]);
}
module roundedCube(x,y,z)
{
r=3;
translate([r,r,0])
minkowski()
{
cube([x-(2*r), y-(2*r), z-r]);
cylinder(r,r,r);
}
} | glb/cad_8e9fdb54607c.glb |
Create a rectangular organizer tray for the Manhattan Project board game with overall outer dimensions of 110.5mm in width, 117.5mm in depth, and 26mm in height. The outer corners of the tray should be rounded with a radius of 3mm.
Inside this main volume, carve out two primary storage wells. The first well is a rect... | $fn=100;
difference(){
roundedCube(110.5,117.5,26);
translate([20.5,70,0])
minkowski(){
translate([0,9.5,11])
cube([78,26,23]);
sphere(r=10);
}
translate([28,0,0])
minkowski(){
translate([0,12,11])
cube([70.5,45,23]);
sphere(r=10);
}
translate([13,0,0])
minkowski(){
translate([0,12,11])
cube([70.5,21,23]);
sphere(r... | glb/cad_0d122c168d0a.glb |
Create a rectangular organizer block with rounded corners, measuring 58mm in width, 66mm in depth, and 30.7mm in height. From this solid base, remove several vertical cylindrical holes of varying diameters and positions to create storage wells.
Position a 31mm diameter hole centered at x=29mm and y=-9.5mm, and anothe... | $fn=100;
difference(){
roundedCube(58,66,30.7);
translate([29,17,6])
rotate([0,0,0])
cylinder(h=400, d=31, center=false);
translate([29,-9.5,-1])
rotate([0,0,0])
cylinder(h=400, d=31, center=false);
translate([11.75,39,2])
rotate([0,0,0])
cylinder(h=400, d=20.5, center=false);
translate([-5,39,-1])
rotate([0,0,0]... | glb/cad_bad4ff1dc03d.glb |
Create a game organizer insert by starting with a base rounded rectangular block measuring 222mm in length, 117.5mm in width, and 17.5mm in height, with corner radii of 3mm. From this base, remove a large rectangular section from the right side starting at x=111mm, y=-1mm, and z=11mm, extending 200mm in length, 200mm i... | $fn=100;
difference(){
roundedCube(222,117.5,17.5);
translate([111,-1,11])
cube([200,200,62]);
translate([11,0,0]){
translate([7,2,1])
for(i = [0:4]){
translate([(i*18.5),0,0])
cube([17,80.5,62]);
}
translate([20,42.25,56])
rotate([0,90,0])
cylinder(h=70, d=100, center=false);
translate([15.5,1.5,1])
for(i = [0:4]... | glb/cad_b810fc9cafc0.glb |
Create a rectangular organizer block with overall dimensions of 85.5mm in length, 35.25mm in width, and 15.3mm in height. From this solid base, carve out two distinct negative spaces. First, create a rectangular cutout measuring 67mm by 26mm with a depth of 20mm, positioned 1.5mm from the front and 4.625mm from the sid... | $fn=100;
difference(){
cube([85.5,35.25,15.3]);
translate([1.5,4.625,1.5])
cube([67,26,20]);
translate([0,17.625,-1])
rotate([0,0,90])
cylinder(h=30, d=17, center=false);
translate([78,17.625,6])
rotate([0,0,90])
cylinder(h=30, d=15.5, center=false);
translate([88.5,17.625,-1])
rotate([0,0,90])
cylinder(h=30, d=15... | glb/cad_0d9537cf841d.glb |
Create a game organizer insert by starting with a solid rectangular block measuring 194.5mm in length, 46mm in width, and 70.5mm in height. From this main volume, carve out several rectangular slots, each 100mm deep, starting 1mm from the bottom surface.
On the left side of the block, create four parallel slots: the ... | $fn=100;
difference(){
cube([194.5,46,70.5]);
translate([1.5,1.5,1])
cube([95,7,100]);
translate([1.5,10,1])
cube([95,10,100]);
translate([1.5,21.5,1])
cube([95,7,100]);
translate([1.5,30,1])
cube([95,14.5,100]);
translate([98,1.5,1])
cube([95,17.75,100]);
translate([98,20.75,1])
cube([95,17.75,100]);
translat... | glb/cad_4fee29f309b4.glb |
Create a name tag with a rectangular base measuring 78mm in length, 32mm in width, and 2.2mm in thickness. The four corners of the base must be rounded with a radius of 4mm and a chamfer size of 0.4mm.
On the top surface, create three lines of text. The first line should say "HELLO!", the second line "MY NAME IS", and... | length = 78;
width = 32;
thick = 2.2;
cornerRadius = 4;
chamferSize = 0.4;
hasSlot = false;
slotDiameter = 5.8;
slotWall = 3.32;
slotLength = 50;
$fn = 40;
textStyle = "inset";
depth = 0.8;
margin = 3.0;
textAlign = "left";
font = "PT Sans Narrow:style=Bold";
greetingSize = 5.8;
greetingSpace = 2;
name... | glb/cad_4ed67f8ccac0.glb |
Create an EZR Struder cable holder by starting with a base rectangular block 68mm long, 13.75mm wide, and 5mm thick. Add two rounded protrusions to the top surface: the first is 19.15mm by 12mm and 3mm high with 5mm radius rounded corners, and the second is 19.15mm by 8mm and 3mm high with 5mm radius rounded corners. P... | include <NopSCADlib/lib.scad>
translate([-52.71,51.75,0]) difference() {
union(){
cube([68,13.75,5]);
translate([5,-7,0]) minkowski() { cube([19.15,12,3]); cylinder(r=5, h=2, $fn=100); }
translate([17.75,0,0]) minkowski() { cube([19.15,8,3]); cylinder(r=5, h=2, $fn=100); }
translate([68,0,6]) rotate([-90,0,0])... | glb/cad_9cb06f3e81d4.glb |
Create a Toy Vacuum Cleaner consisting of a main body, a canister, and an impeller.
For the body, create a hollow cylinder with an outer diameter of 48.2mm and an inner diameter of 45mm, with a total height of 20mm. Integrate a battery holder handle by creating a hull between a cylinder of the same outer diameter and... | output = "body";
inner_diameter = 45;
wall_thickness = 1.6;
canister_height = 25;
straw_diameter = 11.45;
fan_height = 6;
fan_intake = 12;
fan_blades = 10;
motor_diameter = 20.00;
motor_flat = 15.00;
motor_shaft_length = 10;
motor_shaft = 2.15;
motor_insert_depth = 10;
battery_holder_width = 34;
battery_angle = 10... | glb/cad_aa21219f0566.glb |
Create an under desk audio cable holder by starting with a main body that combines a cylinder and a rectangular block. Form the outer shell by merging a cylinder with a diameter of 11mm and a height of 40mm with a rectangular prism measuring 11mm wide, 4mm deep, and 40mm tall, centered so the prism is offset by 1.5mm f... | $fn = 200;
dia_1 = 8;
len_1 = 30;
dia_2 = 3.7;
wall = 3;
difference() {
translate([0,0,-10])
union() {
cylinder(d = dia_1 + 3, h = len_1 + 10);
translate([-(dia_1 + 3) * .5, -dia_1 + 1.5, 0])
cube([dia_1 + 3, 4, len_1 + 10]);
}
cylinder(d=dia_1 + .5, h= ... | glb/cad_897ee11eb353.glb |
Create a RS232C sub-D DE9 shell consisting of a flat rectangular base plate and two vertical side walls. The base plate should be 27mm wide, 30mm long, and 2mm thick, with slightly rounded corners using a 2mm radius.
On opposite ends of the base plate, construct two vertical walls. Each wall starts with a rectangular ... | $fn = 16;
shellHeight = 13.0;
shellWidth = 23.0;
shellLength = 30.0;
shellThick = 2.0;
shellRim = 1.0;
gap = 0.5;
sideLength = 22;
sideYoffset = (shellLength - sideLength) / 2;
sideGuideWidth = 1.5;
sideGuideHight = 3.0;
ridgeWidth = sideGuideWidth / 2;
camfer = shellThick;
sphereDiam = 0.01;
caseWidth = shellWidt... | glb/cad_7ce15378e6fe.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.