Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Fanguard open hardware logo consisting of a square plate with a hexagonal mesh and mounting pins.
Start with a square base of 80mm x 80mm and a thickness of 1mm. At each of the four corners, center a cylindrical mounting pin with an outer diameter of 6mm and a total height of 7mm. Each pin must have a concen... | fan_side_length=80;
mount_hole_width=72;
mount_hole_d=4;
outer_pin_diameter=6;
pin_height=6;
mesh_kind="hex";
mesh_holes_d=10;
mesh_thickness=1;
mesh_clearance=1;
mesh_density_ratio= 98;
solid_outer_border=1;
outer_roundness=50;
mesh_offset= 68;
tol=0.1+0;
$fa=1+0;
$fs=0.33+0;
dholes= mesh_holes_d;
margin... | glb/cad_2b3c8fca928f.glb |
Create a binary clock diffuser plate. Start with a base rectangular plate measuring 55.88mm by 53.34mm with a thickness of 1mm.
On the top surface of this plate, create a grid of square recessed cells to hold LED diffusers. The grid consists of two main columns of cells. Each column contains 6 rows of cells. The cell... | grid=2.54;
block_size=4*grid;
led_diameter=5;
led_height=5;
block_height=5;
block_thickness=1;
module LED_block()
{
difference()
{
minkowski()
{
cube([block_size-2,block_size-2,block_height]);
translate([1,1,0])
cylinder(r=1,h=1,$fn=32);
}
translate([1,1,0])
cube([block_size-(block_thickness*2),block_size-(block_thi... | glb/cad_aecef9e234dd.glb |
Create a set of five socket sleeve scratch protectors. Each protector is a hexagonal tube with a height of 14mm and a wall thickness of 1mm.
For each sleeve, create a hollow hexagonal prism. The inner hexagonal void should have a flat-to-flat diameter corresponding to the specific socket size (10mm, 12mm, 14mm, 16mm,... | type = "Hex";
socket_sizes = [10,12,14,16,17];
socket_length = 14;
spacing = 24;
number = len(socket_sizes);
units = "Metric";
wall = 1;
xc = number;
yc = round(sqrt(number));
count = number;
if(units=="Imperial"){
if(type == "Hex"){
build_socket_imperial();
}
if(type == "Double Hex"){
bu... | glb/cad_83a27a932769.glb |
Create a Static De-shocker Wand by constructing a central cylindrical body with a total height of 41.54mm. The main section is a cylinder with a diameter of 10mm and a length of 30mm. At both the top and bottom of this main section, add a tapered transition (a frustum) with a height of 5mm, connecting the 10mm diameter... | length = 30.0;
diameter = 10.0;
cap_od = 6.92;
cap_id = 5.11;
cap_len = 8.77;
cap_bore = 7.64;
lanyard_od = 4.85;
lanyard_flange = 6.89;
lanyard_flange_len = 1.02;
lanyard_len = 12.95;
ne2_od = 5.5;
ne2_len = 13.0;
$fn = 60;
overlap = 1.0;
deshocker(diameter, length);
module deshocker(diameter, length, taper = 5.... | glb/cad_a7af74ed3985.glb |
Create a MakerBot Z18 spool holder consisting of two symmetrical mirrored arms. For each arm, start with a central vertical support structure that is 6mm thick and 150mm high. At the base of this support, create a mounting clip by adding two rectangular plates, each 4mm thick and 62.5mm wide, positioned on opposite sid... | Bearing608zzThick = 8;
Bearing608zzDiameter = 22.5;
M8ThreadDiameter = 12;
XWallThick = 20;
YWallThick = 5;
ZWallThick = 3;
Z18plateThick = 4;
spoolHeight = 150;
part = "both";
module bearingSupport(Bearing608zzThick, Bearing608zzDiameter, M8ThreadDiameter, XWallThick, YWallThick, ZWallThick) {
difference() {
... | glb/cad_1be7738d778f.glb |
Create a slip-on collar for a 1/2 inch post by starting with a centered cylinder that has an outer radius of 11mm and a height of 9mm. Remove a concentric inner cylinder with a radius of 6.25mm and a height of 10.8mm to create a hollow tube. Cut a vertical slot through the wall of the collar by removing a centered rect... | $fn = 40;
innerRadius = 12.5/2;
outerRadius = 22/2;
M3 = 2.7;
height = 9;
difference(){
cylinder(r=outerRadius,h=height,center=true);
cylinder(r=innerRadius,h=1.2*height,center=true);
translate([8.5,0,0])rotate([0,90,0])cylinder(r=M3/2,h=1.2*innerRadius,center=true);
translate([2.3,-innerRadius,0])rotate([0,0,20])... | glb/cad_a9d8b81ccdcd.glb |
Create a sliding lid organizer box with a main body and a removable lid.
For the main body, create a rectangular block with overall dimensions of 104mm in width (X), 54mm in depth (Y), and 19mm in height (Z). Round the corners on the Z-axis with a 2mm radius. The body contains four internal compartments, each measuri... | Render_Box=1;
Render_Lid=1;
Compartment_Size_X = 50;
Compartment_Size_Y = 25;
Wall = 2;
Number_of_Compartments_X = 2;
Number_of_Compartments_Y = 2;
Depth = 15;
Tolerance=.13;
Rounded_outside = 1;
Rounded_outside_all = 0;
Rounded_inside = 1;
Lid_Type=1;
Lid_Height=5;
Include_Thumbhole=1;
Include_Coinslot=0;
Coinsl... | glb/cad_bcfa941a992a.glb |
Create an iPod station by starting with a central rectangular block 80mm wide, 24mm deep, and 41mm high, centered on the origin. From this main body, remove several geometric volumes to create the docking space and cable routing. First, carve out a central rectangular void 81mm wide, 9mm deep, and 50mm high, tilted 10 ... | difference(){
translate([0,0,-6]) cube(size = [80,24,41], center = true);
rotate([10,0,0]) translate([0,11,-5]) color("blue") cube(size = [81,9,50], center = true);
rotate([10,0,0]) translate([0,0,9]) color("green") cube(size = [59,7,13], center = true);
rotate([10,0,0]) scale([1.85,1.2,1]) cylinder(h = 17 , r=2.4... | glb/cad_b45c836d247a.glb |
Create an Emfcamp Tilda battery enclosure by starting with a rounded rectangular box that measures 58mm in length, 44mm in width, and 12mm in height, featuring a corner radius of 2mm. Hollow out the center of this box by removing a rectangular volume measuring 55mm by 41mm with a height of 8.5mm, centered within the en... | use <MCAD/boxes.scad>
difference()
{
translate([0,0,12/2])roundedBox([55+3,41+3,12],2,true,$fn=40);
translate([0,0,8.5/2+1.5])cube([55,41,8.5],center=true);
translate([25,-20,5.5])rotate([90,0,0])cylinder(r=2,h=100,$fn=50);
} | glb/cad_fe3639b69be9.glb |
Create a customizable plant label consisting of a rectangular header plate and a supporting stake.
First, create the header plate as a rounded rectangle with a width of 60mm, a height of 12mm, and a thickness of 1mm, using a corner radius of 2mm.
Attached to the bottom center of the plate, create a stake that is 8m... | Text_Label="Rosemary";
Style = "Arial";
Label_Style = "Indent";
Text_Font_Size = 7;
Text_Thickness=0.5;
Text_Spacing = 0.9;
Width_Label = 60;
Height_Label = 12;
Thickness_Label = 1;
StickWidth = 8;
StickHeight = 150;
OneOrTwoSticks = "One";
StickBaseHeight = Thickness_Labe... | glb/cad_4c2fe029f91e.glb |
Create an interlocking hexagonal drawer system consisting of a frame and a drawer.
For the drawer, create a hollow hexagonal prism with a width of 80mm and a length of 111.4mm. The walls should be 1.4mm thick. Close the back of the drawer with a solid hexagonal plate and leave the top open. At the front face, add a h... | use <../lib/hullUtils.scad>;
MODE_SELECT = 0;
body_len = 115;
width = 80;
slide_gap = 1.5;
wall_width = 6;
nozzle = 0.4;
end_cap_length = 20;
e=0.1;
hexSideRatio = sqrt(3)/2;
enable_handle_brace = true;
module hex(width,length)
{
rotate([90,0,0])
cylinder(d=width, h=length,$fn=6, center=true);
}
module ... | glb/cad_f9633519e5b9.glb |
Create an interlocking hex drawer system consisting of a frame and matching drawers.
For the drawer, create a hollow hexagonal prism with a width of 80mm and a length of 115mm. The walls should be 0.4mm thick. Close the back of the drawer with a solid hexagonal face and leave the top open. At the front, add a handle ... | use <../lib/hullUtils.scad>;
MODE_SELECT = 12;
body_len = 115;
width = 80;
slide_gap = 1.5;
wall_width = 6;
nozzle = 0.4;
end_cap_length = 20;
e=0.1;
hexSideRatio = sqrt(3)/2;
enable_handle_brace = true;
module hex(width,length)
{
rotate([90,0,0])
cylinder(d=width, h=length,$fn=6, center=true);
}
module... | glb/cad_55e7f7a50bea.glb |
Create a V Wheel for a MakerSlide carriage. The main body is a cylinder with a total height of 7.4mm and a radius of 10.5mm. This central body features a V-shaped profile created by two conical sections: the bottom half is a cone that flares outward from the center to a radius of 11.5mm at the base, and the top half is... | motor_shaft_dia = 6.0;
motor_shaft_d_flat_dia = 5.5;
motor_shaft_fudge = 0.8;
drive_height = 7.4;
drive_flange = 1.5;
drive_v_angle = 45.0;
drive_inner_wall = 7.0;
module motor_shaft(dia, flat_dia, drive_height) {
d_flat_radius = (flat_dia+motor_shaft_fudge) - (dia+motor_shaft_fudge)/2;
difference() {
cylinder(r=(... | glb/cad_8b434dd83566.glb |
Create a customizable luggage tag. Start by creating a rectangular base 75mm wide, 45mm high, and 2mm thick, with rounded corners of 4mm radius.
Add a raised border lip around the perimeter that is 3mm wide and 1mm thick. On the left side of the tag, create a rectangular hole for a strap that is 15mm wide and 4mm hig... | use <MCAD/boxes.scad>;
part = "all";
tagWidth = 75;
tagHeight = 45;
tagDepth=2;
cornerRadius = 4;
typeface = "Concert One";
tagHolePosition = 0;
tagHoleWidth = 15;
tagHoleHeight = 4;
useLip = true;
lipWidth=3;
lipDepth = 1;
text_horizonal_alignment="right";
text_position=1;
textPadding=2;
line_spacing=4... | glb/cad_72d42fb716fb.glb |
Create a parametric mesh generator consisting of a grid of intersecting thin bars. The overall dimensions of the mesh should be approximately 50mm in width and 60mm in height, with a uniform thickness of 0.4mm.
Construct the mesh using a repeating pattern of square holes and solid bars. Each hole must be 1mm square, ... | HOLE_SIZE = 1;
MESH_SIZE = 0.4;
MESH_THICKNESS = 0.4;
USE_DIMENSIONS = "Yes";
WIDTH = 50;
HEIGHT = 60;
X_COUNT = 21;
Y_COUNT = 10;
module gen_mesh(_X_COUNT, _Y_COUNT){
_HEIGHT = _Y_COUNT * (HOLE_SIZE + MESH_SIZE);
_WIDTH = _X_COUNT * (HOLE_SIZE + MESH_SIZE);
echo(_WIDTH, _HEIGHT);
for (x_inde... | glb/cad_bda2b2fd497d.glb |
Create a 3D model of a 9G micro servo placeholder. Start with a central rectangular block measuring 23mm x 12.5mm x 22mm. Add a flat rectangular plate on top, centered at a height of 5mm, measuring 32mm x 12mm x 2mm. On the side of the main body, integrate a 20-sided polygonal cylinder with a radius of 6mm and a height... | 9g_motor();
module 9g_motor(){
difference(){
union(){
color("steel blue") cube([23,12.5,22], center=true);
color("steel blue") translate([0,0,5]) cube([32,12,2], center=true);
color("steel blue") translate([5.5,0,2.75]) cylinder(r=6, h=25.75, $fn=20, center=true);
color("steel blue") translate([-.5,0,2.... | glb/cad_8dd5b4feda15.glb |
Create a logo for IES Lorenzo Hervas y Panduro by constructing three distinct geometric elements on a shared plane, all with a thickness of 2mm. First, create a circular base with a radius of 15mm and a height of 4mm. From this base, remove a central rectangular section measuring 10mm by 20mm, positioned at coordinates... | difference(){
difference() {
cylinder (r=15,h=4);
translate([1,-10,2])
cube([10,20,2]);}
translate([-11,-10,2])
cube([10,20,2]);}
translate([-10,-9,2])
difference(){
cube([8,18,2]);
translate([0,6,0])
cube([6,12,2]);}
translate([2,-9,2])
difference(){
difference(){
union(){
cube([8,16,2]);
translate([3,15,0])
cylin... | glb/cad_860502085177.glb |
Create a screw support by starting with a truncated cone that has a bottom radius of 10mm, a top radius of 7.5mm, and a height of 6mm. Remove a central vertical cylinder with a radius of 2mm that runs through the entire height of the object. Additionally, remove a wider cylindrical section with a radius of 5mm and a he... | difference(){
cylinder(r1=10,r2=7.5,h=6);
cylinder(r=2,h=6);
translate([0,0,4])
cylinder (r=5,h=2);} | glb/cad_6a916037a93e.glb |
Create a tripod quick release plate with a total length of 90mm, a width of 42mm, and a height of 13mm. The main body is a rectangular block, but the bottom is hollowed out by removing a central section 39mm wide, 90mm long, and 3.9mm deep, leaving 3mm thick outer walls.
On the top surface, center a longitudinal chan... | 501pl();
module 501pl(){
channel = 5.5;
height = 11+2;
length = 90;
wall = 3;
module tapered() polyhedron(points = [[-4.75,0,0], [0,0,9], [0,0,0], [-4.75,length,0], [0,length,9], [0,length,0]],
triangles = [[0,1,2], [0,4,1], [0,3,4], [0,5,3], [0,2,5], [3,5,4], [2,1,4], [2,4,5]]);
rotate([180,0,0])
difference... | glb/cad_3bce4337b68f.glb |
Create a tripod head consisting of a central mounting assembly and a quick-release platform.
Start by constructing the main head body. Create a central cylinder with a radius of 20mm and a height of 25mm. Subtract a smaller central cylinder with a radius of 12.5mm and a height of 25.1mm. Add a rectangular block measu... | translate ([-40,22,86]) rotate([180,0,90]){
}
module pen()
{
translate ([0,0,20]) rotate ([0,0,0]) cylinder(h=80,r=5/2,$fn=100,center = true);
translate ([0,0,-20]) rotate ([0,0,0]) cylinder(h=30,r=25/2,$fn=100,center = true);
translate ([0,0,30]) rotate ([0,0,0]) cylinder(h=2,r=8/2,$fn=100,center = true);
translate ... | glb/cad_1c2086c77501.glb |
Create a VaseNEdges model by extruding a 2D pentagon with a radius of 40mm. Extrude the shape vertically to a total height of 120mm. During the extrusion process, apply a linear twist of 240 degrees to the geometry. As the shape rises, scale the pentagon by a factor of 1.5, so the top opening is larger than the base. E... | sides=5;
diameter=80;
length=120;
module vase_edges(h2=length*1.5,r=length,d=diameter/4,m=length/7) {
$fn=120;
translate([0,0,length/2]) difference() {
cylinder(h=length,r=3*d+length/sides,center=true);
for ( i = [0 : 360/sides : 360*(sides-1)/sides] ) {
rotate([0,0,i])
translate([length+d,h2/2,-m])
... | glb/cad_34acf561ebc4.glb |
Create a T-slot nut for a Sherline Mill by constructing a composite geometric shape. Start with a square base measuring 9.5mm by 9.5mm with a height of 2.3mm. Centered on top of this base, add a cylinder with a radius of 3mm and a height of 10.5mm. Above that, add a second, wider cylinder with a radius of 4.05mm and a ... | difference()
{
union()
{
translate([0,0,1.15]) cube([9.5,9.5,2.3], true);
cylinder(h = 10.5, r1 = 3, r2 = 3, center = false, $fn=100);
translate([0,0,5.5]) cylinder(h = 5, r1 = 4.05, r2 = 4.05, center = false, $fn=100);
}
cylinder(h=50, r1=2.25, r2=2.25, center=true, $fn=100);
} | glb/cad_cdb5d3189828.glb |
Create a GEIO robot neck joint repair splint by starting with a solid cylinder that has an outside diameter of 15.5mm and a height of 4mm. Use a facet resolution of 32 for the circular geometry. Subtract two vertical cylindrical holes from this main body, each with a diameter of 6.5mm and a height that exceeds the main... | OD = 15.5;
PD = 6.5;
HT = 4;
SP = 1.4;
$fn=32;
module copy_mirror(vec=[0,1,0])
{
children();
mirror(vec) children();
}
module splint() {
difference() {
cylinder(d=OD,h=HT);
copy_mirror(vec=[1,0,0]) {
translate([PD/2+SP/2,0,0])
cylinder(d=PD,h=HT+1);
}
... | glb/cad_cfd1c008a6a6.glb |
Create a 3D representation of a haiku by extruding three distinct vector line layers from a 2D drawing. Extrude the first layer to a height of 12mm, rotating it -12 degrees on the X-axis and -4 degrees on the Z-axis, and positioning it at [ -2, 0, 6]. Extrude the second layer to a height of 8mm, rotating it 8 degrees o... | difference() {
union() {
rotate(a=[-12,0,-4])
translate(v=[-2,0,6])
linear_extrude(height=12, convexity=30)
import(file="haiku.dxf", layer="Line1");
rotate(a=[8,0,1])
translate(v=[-2,-1,-4])
linear_extrude(height=8, convexity=30)
import(file="haiku.dxf", layer="Line2");
rotate(a=[10,0,6]... | glb/cad_aa66655f950e.glb |
Create a Customizable D6 Holder designed to hold two 12mm dice. Start by constructing a solid rectangular base with a total width of 27.5mm, a depth of 12.5mm, and a height of 7mm. The base should have a slight taper, being 4mm wider at the bottom than at the top.
Inside this base, create two square cutouts to hold th... | DieSize=12;
Fit=0.5;
Tagged=0;
Branded=0;
WallThickness=3;
ArrowType=1;
CornerStyle=1;
NumberOfDice = 2;
ExtraBaseWidth = 4;
HeightFactor=3;
DieCutoutSize=DieSize+Fit;
BaseEvenX = NumberOfDice >= 2 ? DieCutoutSize * 2 + WallThickness : DieCutoutSize;
BaseEvenY = NumberOfDice >= 4 ? DieCutoutSize * 2 + WallTh... | glb/cad_c5573361cb50.glb |
Create a BLTouch parametric mount for a Hypercube Evolution. Start with a base plate centered at the origin, formed by the hull of two cylinders with a radius of 4mm and a height of 6mm, positioned at [0, -9, 0] and [0, 9, 0], combined with a central rectangular block measuring 11.54mm by 6mm by 6mm. Drill two vertical... | $fn=60;
OVERALL=71.8;
BL=36.3+(5.5+2.5);
X=11.54;
Y=6;
Z=6;
M3=2.7;
OFF=18;
BOSS=4;
TOP=2;
SHAFT=11;
H=OVERALL-BL+TOP;
difference() {
union() {
hull() {
color("lime") translate([0,-OFF/2,0]) cylinder(r=BOSS,h=Z);
color("gray") translate([0,OFF/2,0]) cylinder(r=BOSS,h=Z);
color("green") translate([-X/2,-Y/2,0]) c... | glb/cad_617c67275f89.glb |
Create a Folding Rod consisting of a central rectangular bar with circular joints at both ends. The central bar is a cube with dimensions 10mm x 50mm x 10mm, centered on the origin.
At each end of the bar, along the Y-axis, add a joint. Each joint is created by combining a cylinder with a diameter of 10mm and a heigh... | $fn=36;
rod_size=10;
rod_length=50;
duct_dia=5;
duct_insert=1;
hole_dia=2.7;
hole_tolerence=0.4;
joint_a=1;
joint_b=3;
duct_length=rod_length-rod_size*sqrt(2)-duct_dia*2;
difference(){
rod();
if (duct_insert==1)
duct();
}
module rod(){
color("Goldenrod")
cube([rod_size,rod_length,rod_size],true);
if... | glb/cad_0571539952a0.glb |
Create a Runcam Mini Split camera mount. Start with a main body formed by the convex hull of several elements: six cylinders with a diameter of 7mm and height of 3mm positioned at coordinates (±14, ±14, 0), (±16, ±11, 0), and (±10, ±12, 0), combined with two spheres of 12mm radius centered at (0, 0, 32) and (-5, 0, 32)... | module rcmini_mount() {
difference () {
hull() {
hull() {
translate([-14,-14,0]) cylinder(d=7,h=3,$fn=64);
translate([-14,14,0]) cylinder(d=7,h=3,$fn=64);
translate([-16,-11,0]) cylinder(d=7,h=3, $fn=64);
translate([-16,11,0]) cyli... | glb/cad_0fba97fcac58.glb |
Create a wheel wedge for an RC plane. Start with a central circular support plate that is 2mm thick and 25mm in diameter. In the center of this plate, create a circular hole with a diameter of 15mm.
From the center, extend three identical arms spaced 120 degrees apart. Each arm consists of a base plate 2mm thick and ... | thickness = 2;
middle_disk_diameter = 25;
tire_diameter = 69;
tire_width = 22;
tire_rounding = 8;
center_hole_diameter = 15;
arm_width = 15;
$fn = 30;
wedge_size_multiplier = 2.5;
outer_radius = (tire_diameter / 2) + thickness * wedge_size_multiplier * 0.8;
x = ((tire_diameter /2) / cos(60)) - arm_width;
modul... | glb/cad_32957351e32b.glb |
Create a SparkFun Audio Amplifier Enclosure consisting of a hollow rectangular box with rounded corners. The outer dimensions are 93.5mm by 47.1mm, with a wall thickness of 2mm. The box has an external bottom height of 24.75mm and an additional 5mm lip extending upwards.
Inside the box, place four cylindrical standoff... | use <Libs.scad>
board_size_x = 89;
board_size_y = 43.1;
board_x_spacer = 4.5;
board_y_spacer = 1;
wall_thickness = 2;
input_cable_r = 3/2;
speaker_cable_r = 4/2;
standoff_ext_r = 3.7;
standoff_bottom_r = 7;
standoff_inner_r = 1.7;
power_connector_height = 12.75;
power_connector_radius = 5.3;
standoff_h = power_connect... | glb/cad_6a2f374558b6.glb |
Create a Dremel plunge router consisting of a top plate, a bottom plate, and a sliding mechanism.
The bottom plate is a centered rectangular block 82mm wide, 80mm deep, and 4.75mm thick. Remove a central vertical cylinder with a 20mm radius and two smaller vertical cylinders with a 6mm radius positioned 30mm from the... | include<Thread_Library.scad>
include<ISOThread.scad>
baseX=82;
baseY=80;
threadRad=9.0;
nutRad=14;
nutDepth=9.5;
baseRad=35;
baseDepth=35;
holeRad=4;
cuttingHoleRad=20;
tubeHeight=nutDepth*2;
tubeRad=holeRad*2.3;
ISOnutHeight=5;
$fn=0;
$fa=0.6;
$fs=2;
assembly();
module slideBolt() {
translate ([0,0,nutDepth]) cyl... | glb/cad_3b25a1ec9dca.glb |
Create a Parametric Spool Mount by combining several geometric primitives. Start with a central block that is a cube measuring 20mm x 20mm x 20mm, centered on the Z-axis.
Add a main barrel as a cylinder with a radius of 10mm and a length of 20mm. At the end of this barrel, attach a conical tip that transitions from a... | module spoolMount(barrel_l, barrel_d, spool_center_d, hook_l, hook_nub_l) {
alpha = 1;
barrel_r = barrel_d / 2;
hook_z = hook_l / -2;
block_l = spool_center_d;
plate_z = barrel_r / 2;
plate_l = barrel_d * 3;
hook_offset = plate_l / 2 + barrel_r;
block_z = barrel_d;
barrel_z = block_z + barrel_r;
cl... | glb/cad_f28bb82d2f3c.glb |
Create a collection of 15 numbered spheres, each with a diameter of 3mm. Position these spheres at random coordinates within a 20mm cube, ranging from -10mm to 10mm on the X, Y, and Z axes. For each sphere, embed a 3D number corresponding to its sequence (1 through 15) centered within the volume. The numbers should be ... | numberOfSpheres=15;
diaOfSpheres=3;
numberSphere(diaOfSpheres,0);
addObjects(objList);
$fn=20;
objList=[[0,0,0]];
module addObjects(objects,iter=1,count=15){
if (iter<=count){
pos=rands(-10,10,3);
coll=collCheck(objects,pos,iter);
objects=concat(objects,[pos]);
addObjects(objects,iter+1,count);
... | glb/cad_63b3f98149dd.glb |
Create a collection of 15 numbered spheres, each with a diameter of 3mm. The spheres should be randomly positioned within a 3D volume, ensuring that no two spheres overlap or collide.
For each sphere, use a low-facet resolution of 20 segments. To create the numbering, carve the corresponding digit (from 1 to 15) into... | numberOfSpheres=15;
diaOfSpheres=3;
minDistance=3;
maxDistance=5;
$fn=20;
objList=[];
if (len(objList)) numberSphere(diaOfSpheres,0);
addObjectsExpand(objList);
module addObjects(objects,iter=1,count=numberOfSpheres){
if (iter<=count){
pos=rands(-10,10,3);
coll=distCheck(objects=objects,pos=pos,iter=it... | glb/cad_d88e0c876a57.glb |
Create 15 identical M3 screw spacers arranged in a grid. Each spacer is a hollow cylinder with a height of 12mm, an outer diameter of 6.2mm, and a centered inner hole with a diameter of 3.2mm. Ensure the cylinders are smooth and circular rather than hexagonal. Position the spacers in a repeating pattern where each piec... | inner_diam = 3.2;
outer_diam = 6.2;
hex = false;
height = 12;
pieces = 15;
rows = floor(sqrt(pieces));
columns = floor(pieces/rows);
add = pieces - rows * columns;
for (i = [0:rows-1]){
translate([i%2 * 10, i * (outer_diam + 10), 0])
for (j = [0:columns-1]){
translate([j * (outer_d... | glb/cad_08eb1f6987ad.glb |
Create a round M3 screw spacer by constructing a cylinder with an outer diameter of 6.2mm and a height of 8mm. Remove a concentric cylindrical hole from the center with a diameter of 3.2mm and a height of 8mm, ensuring the inner void passes completely through the object. Use a high facet resolution for both the outer w... | inner_diam = 3.2;
outer_diam = 6.2;
hex = false;
height = 8;
difference(){
if(hex) cylinder(height, outer_diam/2, outer_diam/2, $fn = 6);
else cylinder(height, outer_diam/2, outer_diam/2, $fn = 60);
cylinder(height, inner_diam/2, inner_diam/2, $fn = 60);
} | glb/cad_82847f2acdf5.glb |
Create an Ikea Cabinet Foot consisting of a wide base and a tall cylindrical sleeve. Start by creating a solid cylinder for the base with a diameter of 40.2mm and a height of 5.5mm. Centered on top of this base, add a taller cylinder with a diameter of 25mm and a total height of 121.5mm. This upper cylinder should be h... | $fa=0.1;
inch = 25.4;
thread_id = 8;
thread_od = 10;
thread_slop = 0.5;
thread_length = 35;
foot_diameter = 40.2;
foot_height = 5.5;
leg_diameter = 25;
leg_length = (5*inch)-foot_height;
spacer_diameter = 30.3;
spacer_height = 6.2;
spacer_hole = thread_od+thread_slop;
union() {
difference() {
translate( v=[0... | glb/cad_f845d00d5581.glb |
Create a Customizable Carabiner by constructing a closed loop with a rounded, octagonal cross-section. The cross-section should have a width of 6mm and a height of 6mm, with the corners beveled by 2mm.
The loop is formed by two concentric circular arcs connected by straight sections. The inner arc has a radius of 6mm ... | radius1 = 6;
radius2 = 11;
length = 36;
width = 6;
height = 6;
gap = 0.39;
rounded = 2;
$fs=0.3*1;
$fa=5*1;
bevel = min (rounded/ sqrt(2), height/2);
epsilon = 0.01;
difference ()
{
loop (radius1, radius2, width, height, length);
translate([-length, radius2, 0])
rotate([0, 45, - 45 - atan((radiu... | glb/cad_d4b8220e5332.glb |
Create a Customizable Carabiner by constructing a closed-loop body with a cross-section that is a 6mm by 6mm square with 1mm beveled edges. The loop is formed by two concentric arcs connected by straight sections. The inner arc has a radius of 6mm and the outer arc has a radius of 11mm. The distance between the centers... | radius1 = 6;
radius2 = 11;
length = 36;
width = 6;
height = 6;
gap = 0.39;
rounded = 1;
$fs=0.3*1;
$fa=5*1;
bevel = rounded / sqrt(2);
epsilon = 0.01;
difference ()
{
loop (radius1, radius2, width, height, length);
translate([-length, radius2, 0])
rotate([0, 45, - 45 - atan((radius2 - radius1)/l... | glb/cad_8dae83d7233a.glb |
Create a Customizable Spool Holder by constructing a central cylindrical body and radiating arms. Start with a central cylinder 30mm high with a minimum diameter of 28mm and a maximum diameter of 80mm, forming a conical shape.
Subtract a central vertical hole with a diameter of 8.5mm through the entire height. At the... | $fn=90;
$MinD=28;
$MaxD=80;
$H=30;
$BodyType=1;
$BearingD=22;
$BearingH=7;
$BearingW=1.2;
$BearingWH=0.6;
$RodD=8.5;
$ArmThickness=3;
$NumArms=3;
$ArmType=2;
$Pi=4*atan2(1,1);
module bearing (diameter=22, height=7) {
cylinder(h=height, d=diameter);
translate ([0,0,height]) cylinder(h=$BearingWH, d... | glb/cad_851771943173.glb |
Create a dial rotary knob by combining a base and a main grip. Start with a base cylinder 44.2mm in diameter and 4.2mm high. On top of this base, center a second cylinder with a diameter of 35mm and a height of 20mm. To create the grip's detail, remove a sphere with a 5mm radius from the top of the upper cylinder, cent... | tol= 0.1;
$fn=50;
knob();
module knob() {
difference() {
union() {
body();
translate([0,0,4.19]) dial();
}
translate([0,0,-0.1]) rotate([0,0,180]) shaft();
}
}
module body() {
union() {
difference() {
cylinder(r=22.1, h=4.2);
}
cylinder(r=7,h=2.1);
}
}
module dial() {
difference() {
cyl... | glb/cad_0cba2ec0adcc.glb |
Create a Z endstop and wobble isolator. Start with a main rectangular block that is 28mm high. Within this block, create a central vertical cavity to house a microswitch that is 12.82mm long, 6.5mm high, and 5.7mm wide. Position two vertical screw holes with a radius of 1.1mm through the microswitch housing, located 1.... | render_moving_parts=false;
slicer=false;
microswitch_length=12.82;
microswitch_height=6.5;
microswitch_width=5.7;
microswitch_hole_radius=1.1;
microswitch_bottom_to_hole_center = microswitch_hole_radius + 0.6;
microswitch_edge_to_hole1_center = microswitch_hole_radius + 2.05;
microswitch_edge_to_hole2_center = microsw... | glb/cad_fa3e0f9ec0aa.glb |
Create a HeartBleed cookie cutter consisting of a cutting wall and a supporting base.
First, construct the cutting wall by extruding a heart-shaped profile to a height of 10mm. The heart is modified with a "bleed" effect: the bottom left side of the heart is not a smooth curve but is broken by three parallel, vertica... | fudge = 0.1;
module cutter(h)
{
scale([25.4/180, -25.4/180, 1]) union()
{
difference()
{
linear_extrude(height=h)
polygon([[-164.822672,-400.692246],[-175.256464,-400.223176],[-185.010172,-398.910996],[-199.630043,-395.620196],[-214.267162,-391.219344],[-228.632389,-385.849651],[-242.436581... | glb/cad_ebcae528d0b2.glb |
Create a Google Glass Case with a total height of 40mm. The main body is a hollowed-out shell with a thickness of approximately 3mm.
Construct the main chassis using a combination of large cylinders and cubes to create a curved, protective enclosure. The primary structure features a brow curve and an eyepiece section,... | $fn=100;
difference()
{
translate([0,0,0]) cylinder(36,100,100);
translate([0,0,-1]) cylinder(40,97,97);
translate([-108,-100,-1]) cube([35,200,40]);
translate([73,-100,-1]) cube([35,200,40]);
translate([-108,-120,-1]) cube([200,100,40]);
translate([0,0,0]) difference()
{
translate([28,47.4,-1]) c... | glb/cad_4f18e5ce3087.glb |
Create a Google Glass Case with a total height of 40mm. The case is a hollowed-out protective shell consisting of a bottom base and a matching lid.
For the main body, construct the long sides and short sides using large cylinders with a radius of 347mm and a wall thickness of 3mm (created by subtracting a concentric c... | $fn=100;
mirror([0,0,1]) rotate([0,180,0])
{
difference()
{
translate([0,0,0]) cylinder(10,97,97);
translate([0,0,-1]) cylinder(40,94,94);
translate([-108,-100,-1]) cube([35,200,40]);
translate([73,-100,-1]) cube([35,200,40]);
translate([-108,-120,-1]) cube([200,100,40]);
translate([0,0,0]) difference... | glb/cad_df56f8ce282b.glb |
Create a case for a WCTX-12USB wireless charger module consisting of a rounded rectangular box and a sliding lid.
Construct the main box with outer dimensions of 66mm width, 106.8mm depth, and 10mm height. Use a wall thickness of 2mm and a corner radius of 2.5mm for both internal and external corners. On one of the s... | include <MCAD/boxes.scad>
bX=66;
bY=106.8;
bZ=10;
corner=2.5;
wall=2;
lip=2;
snug=.99;
catch=1;
coil=48.5;
coily=-50;
boxDim=[bX, bY, bZ];
over=.5;
module drawBox () {
innerBox=[bX-(2*wall), bY-(2*wall), bZ-(2*wall)+.22];
echo("innerBox=", innerBox);
union() {
difference() {
roundedBox(boxDim... | glb/cad_06ddfd8230d2.glb |
Create a Bowden coupling base for a push-to-fit fitting. Start with a central body formed by the union of a rectangular block measuring 50mm in length, 25.5mm in width, and 11mm in height, and a cylinder with a radius of 8.5mm and a height of 8mm. Add a conical transition to this cylinder that tapers from a radius of 8... | include <polyScrewThread.scad>
bolt_distance = 50;
bolt_dia = 5.5;
base_flesh = 10;
tube_dia = 10.1;
open = 0;
base_h = 11;
supports = 0;
PI = 3.15159265;
$fs=0.2;
$fa=3;
if(supports==0)
rotate([0,180,0]) coupling();
if(supports==1)
{
coupling();
}
module coupling()
{
width = bolt_dia+bolt_distance+3;
hexS... | glb/cad_16fb9dec03f4.glb |
Create a NorCal40A Enclosure lid. Start with a rectangular plate that is 105mm wide, 125mm deep, and 3mm thick.
On the underside of this plate, center a circular cutout with a radius of 23mm. Within this circular area, create a series of concentric ring-like patterns or a grid of small circular holes to act as a spea... | wall_side_thickness=3;
top_thickness=3;
top_front_run=5;
bat_door_thickness=2;
top_support_side=3;
pcb_spacing=1;
pcb_width=99;
pcb_depth=99;
pcb_height=1.6;
pcb_height=1.6+20;
pcb_hole_x1=5.08;
pcb_hole_x2=95.25;
pcb_hole_y1=5.08;
pcb_hole_y2=94.62;
pcb_hole_r=3.35/2;
pcb_bay_height=23;
insert_d=5;
insert_h=5;
ba... | glb/cad_c64b02b1fae0.glb |
Create a knob base with a total height of 18mm. Start with a circular base 2mm thick with a radius of 17.4mm. Above this base, add a tapered cylindrical section 1mm high that transitions from a radius of 17.4mm down to 14.5mm. From that point, extend a main cylinder upwards to a total height of 18mm with a radius of 14... | height=18;
slot_width=3;
slot_depth=0.5;
d1=29;
d2=28.8;
recess_d=23.3;
recess_height=2.9;
dot_width=2.5;
dot_depth=0.5;
ss_height=8;
ss_d=4;
ss_include=0;
shaft_d=6;
shaft_lining=0;
shaft_depth=13;
shaft_lining_d=(3/8)*25.4;
module cutout() {
union() {
translate([-1.44,0,0])
cube([2.88,1,height]);
rotat... | glb/cad_71036e000b01.glb |
Create a rotary knob with a total height of 15.6mm. The base is a cylinder with a diameter of 20.4mm and a height of 3mm. Above this base, add a slightly tapered cylindrical body that starts at a diameter of 20.2mm and narrows to 17.5mm over a height of 1mm, then continues as a cylinder with a diameter of 17.3mm for th... | height=15.6;
slot_width=2;
slot_depth=0.5;
d=20.4;
d0=20.2;
d1=17.5;
d2=17.3;
recess_d=12;
recess_height=2.9;
dot_width=1.5;
dot_depth=0.5;
ss_height=8;
ss_d=4;
ss_include=0;
shaft_d=6;
shaft_lining=0;
shaft_depth=9;
shaft_lining_d=(3/8)*25.4;
module cutout() {
union() {
translate([-0.825,0,0])
cube([1.65,... | glb/cad_36a1389fae24.glb |
Create a Back-2-Back dual Greg's Wade Extruder X Carriage. The main body consists of two identical Y-axis bearing holders positioned parallel to each other. Each holder is a cylindrical housing with an outer radius of 10.5mm and a height of 30mm.
Within each housing, create a central vertical hole with a radius of 4m... | include <configuration.scad>
function adjust_bushing_len(conf_b, h, add=layer_height*2) = ((conf_b[2]+add) > h) ? conf_b[2]+add : h;
function bushing_foot_len(conf_b, h=10.5, add=4*single_wall_width) = ((conf_b[1]+add) > h) ? conf_b[1]+add : h;
function bushing_outer_radius(conf_b) = conf_b[1] + 4*single_wall_width;... | glb/cad_b5298bfefc85.glb |
Create a Back-2-Back dual Greg's Wade Extruder X Carriage. Start by constructing the main body as a combination of two linear bearing mounts. The first is a linear bushing mount of length 80mm (adjusted based on bearing size), and the second is positioned at a distance defined by the x-axis rod spacing.
Add a main pl... | include <configuration.scad>
use <bushing-xmod.scad>
use <extras/groovemount.scad>
carriage_l_adjusted = max(adjust_bushing_len(bushing_xy, carriage_l_base, layer_height * 9), adjust_bushing_len(bushing_carriage, carriage_l_base, layer_height * 9));
carriage_l_real = max((bushing_xy[2] > 30 ? carriage_l_adjusted : (... | glb/cad_fa06526d3a51.glb |
Create a Switch Adapter plate by starting with a base rectangular slab measuring 60mm in length, 50mm in width, and 2mm in height. Round all four vertical corners of this base with a radius of 2mm.
At each of the four corners of the plate, create a circular hole with a diameter of 3mm that passes completely through th... | laenge = 60;
breite = 50;
schalter_laenge = 30;
schalter_breite = 22;
main();
module main()
{
if (false)
{
beschriftung();
}
else
{
difference()
{
color("black")
platte();
color("white")
... | glb/cad_6905890b2703.glb |
Create a Switch Adapter plate measuring 60mm in length, 80mm in width, and 2mm in thickness. The outer corners of the plate must be rounded with a radius of 2mm.
Center two rectangular cutouts for switches, each measuring 30mm by 22mm. Position these cutouts symmetrically along the width axis, offset from the center b... | laenge = 60;
breite = 80;
schalter_laenge = 30;
schalter_breite = 22;
main();
module main()
{
if (false)
{
beschriftung();
}
else
{
difference()
{
color("black")
platte();
color("white")
... | glb/cad_e23308c6b44f.glb |
Create a two-part enclosure for a USB-TTL serial adapter.
For the bottom case, create a rectangular box with a floor thickness of 0.8mm and walls 2mm thick. The interior dimensions are based on a PCB with hole spacing of 42.5mm (X) and 23.5mm (Y). The walls should be 4mm high, topped with a 2mm high ridge that allows... | wall_thickness = 2;
floor_thickness = 0.8;
ceiling_thickness = 0.8;
bottom_wall_height = 4;
top_wall_height = 3;
hole_spacing_x = 42.5;
hole_spacing_y = 23.5;
hole_diameter = 0.0;
standoff_diameter = 3;
standoff_height = 1.5;
board_thickness = 1.65;
padding_left = 8;
padding_right = 2;
padding_back = 0;
padding_fr... | glb/cad_34c56f8f6be3.glb |
Create a stencil mask for marking wooden pins. Start by creating a hollow cylindrical sleeve with an inner diameter of 56mm and a wall thickness of 2mm. The sleeve should have a total height of 70mm.
Modify the top of the cylinder by cutting it at a 45-degree angle. The overall outer shape is formed by the convex hul... | winkel = 45;
durchmesser = 56;
hoehe = 70;
font = "Stencil";
fontsize = 33;
HullSize = 2;
YOffset = -3;
drawSingleOne("10");
module drawAll() {
for(i=[1:12]) {
translate([0, (i-1)*(durchmesser+HullSize*2+5), 0]) {
drawSingleOne(i);
}
}
}
module drawSingleOne(nr) {
differ... | glb/cad_918b6e865b9d.glb |
Create a storage box for Atlantis board game tiles. Start by creating a solid rectangular base measuring 44.4mm by 44.4mm with a height of 0.2mm. On top of this base, build a hollow rectangular shell with outer dimensions of 44.4mm by 44.4mm and a total height of 78.16mm. To create the interior cavity, remove a central... | $fn = 90;
difference() {
union() {
translate(v = [0, 0, 0.2000000000]) {
difference() {
color(c = "dodgerblue") {
cube(size = [44.4000000000, 44.4000000000, 77.9600000000]);
}
color(c = "orangered") {
translate(v = [0.4800000000, 0.4800000000, 0.4800000000]) {
cube(size = [43.44000000... | glb/cad_896306d3ada5.glb |
Create a rectangular storage box for Atlantis board game tiles and cards. Construct the main body as a solid rectangular prism with outer dimensions of 42.96mm in width, 42.96mm in depth, and 88.16mm in height. To create the hollow interior, remove a smaller rectangular prism from the center, starting from a height of ... | $fn = 90;
union() {
difference() {
cube(size = 1);
cube(size = 2);
}
color(c = "darkslateblue") {
translate(v = [0.0000000000, 0.0000000000, 0]) {
union() {
translate(v = [0, 0, 0.2000000000]) {
difference() {
color(c = "mediumseagreen") {
cube(size = [42.9600000000, 42.9600000000, 87... | glb/cad_546cf52843f2.glb |
Create a rectangular storage box for Atlantis board game tiles. Start by creating a solid base cube with dimensions of 44.4mm in width, 44.4mm in depth, and 0.2mm in height. On top of this base, add a hollow rectangular shell with outer dimensions of 44.4mm by 44.4mm and a total height of 78.16mm. This shell should hav... | $fn = 90;
difference() {
union() {
translate(v = [0, 0, 0.2000000000]) {
difference() {
color(c = "cornsilk") {
cube(size = [44.4000000000, 44.4000000000, 77.9600000000]);
}
color(c = "tomato") {
translate(v = [0.4800000000, 0.4800000000, 0.4800000000]) {
cube(size = [43.4400000000, 4... | glb/cad_fa169c77eb5e.glb |
Create a hollow rectangular box for Atlantis board game tiles. Start by creating a solid cube with outer dimensions of 42.96mm in width, 42.96mm in depth, and 50.96mm in height. To create the interior cavity, remove a smaller centered cube from the top, measuring 42mm in width, 42mm in depth, and 50.96mm in height. Pos... | $fn = 90;
union() {
difference() {
cube(size = 1);
cube(size = 2);
}
color(c = "darkgray") {
translate(v = [0.0000000000, 0.0000000000, 0]) {
union() {
translate(v = [0, 0, 0.2000000000]) {
difference() {
color(c = "lightgoldenrodyellow") {
cube(size = [42.9600000000, 42.9600000000, 5... | glb/cad_9fbbfa781068.glb |
Create a rectangular storage box for Atlantis board game tiles and cards. Construct the main outer body as a solid cube with dimensions of 42.96mm in width, 42.96mm in depth, and 88.16mm in height. To create the hollow interior, remove a smaller rectangular block from the center starting 0.48mm from the bottom and 0.48... | $fn = 90;
union() {
difference() {
cube(size = 1);
cube(size = 2);
}
color(c = "dimgrey") {
translate(v = [0.0000000000, 0.0000000000, 0]) {
union() {
translate(v = [0, 0, 0.2000000000]) {
difference() {
color(c = "turquoise") {
cube(size = [42.9600000000, 42.9600000000, 87.9600000000... | glb/cad_a1700ac621fe.glb |
Create a square storage box for Atlantis board game tiles. Start by creating a solid cube with a base width and length of 44.4mm and a total height of 41.16mm. From the top center of this cube, remove a smaller square section to create a hollow interior. This interior cavity should be 43.44mm wide and 43.44mm long, lea... | $fn = 90;
union() {
translate(v = [0, 0, 0.2000000000]) {
difference() {
color(c = "olive") {
cube(size = [44.4000000000, 44.4000000000, 40.9600000000]);
}
color(c = "thistle") {
translate(v = [0.4800000000, 0.4800000000, 0.4800000000]) {
cube(size = [43.4400000000, 43.4400000000, 40.960000000... | glb/cad_ccb82e4dc430.glb |
Create a rectangular storage box for Atlantis board game tiles. Start by creating a solid rectangular base with outer dimensions of 70.96mm in length, 45.96mm in width, and a total height of 31.16mm. Hollow out the center of this volume to create a cavity that is 70mm long, 45mm wide, and 30.96mm deep. The walls and th... | $fn = 90;
union() {
difference() {
cube(size = 1);
cube(size = 2);
}
color(c = "greenyellow") {
translate(v = [0.0000000000, 0.0000000000, 0]) {
union() {
translate(v = [0, 0, 0.2000000000]) {
difference() {
color(c = "fuchsia") {
cube(size = [70.9600000000, 45.9600000000, 30.96000000... | glb/cad_4776e56ecfa7.glb |
Create a square storage box for Atlantis board game tiles and cards. Start by creating a solid cube with outer dimensions of 72.4mm in width, 72.4mm in depth, and 21.16mm in height. Hollow out the center of this cube by removing a smaller cube measuring 71.44mm in width and depth, and 20.96mm in height. Position this i... | $fn = 90;
difference() {
union() {
translate(v = [0, 0, 0.2000000000]) {
difference() {
color(c = "firebrick") {
cube(size = [72.4000000000, 72.4000000000, 20.9600000000]);
}
color(c = "lightslategray") {
translate(v = [0.4800000000, 0.4800000000, 0.4800000000]) {
cube(size = [71.4400... | glb/cad_aa9bdc0889a6.glb |
Create a RoboRally card box by constructing a hollow rectangular container. Start with a solid rectangular base measuring 95.96mm in length, 68.96mm in width, and 0.2mm in height. On top of this base, add a larger rectangular shell with the same outer dimensions of 95.96mm by 68.96mm and a height of 18.76mm. To create ... | $fn = 90;
union() {
difference() {
cube(size = 1);
cube(size = 2);
}
color(c = "whitesmoke") {
translate(v = [0.0000000000, 0.0000000000, 0]) {
union() {
translate(v = [0, 0, 0.2000000000]) {
difference() {
color(c = "cornsilk") {
cube(size = [95.9600000000, 68.9600000000, 18.96000000... | glb/cad_c568701d61c7.glb |
Create a RoboRally card box by constructing a hollow square tray. Start with a solid cube measuring 97.4mm in width, 97.4mm in depth, and 9.16mm in height. To create the interior cavity, remove a smaller centered cube from the top, measuring 96.44mm in width and depth, with a height of 8.96mm. Position this cutout so t... | $fn = 90;
difference() {
union() {
translate(v = [0, 0, 0.2000000000]) {
difference() {
color(c = "navajowhite") {
cube(size = [97.4000000000, 97.4000000000, 8.9600000000]);
}
color(c = "darksalmon") {
translate(v = [0.4800000000, 0.4800000000, 0.4800000000]) {
cube(size = [96.4400000... | glb/cad_08349eed1e09.glb |
Create a RoboRally card box by constructing a hollow cube with outer dimensions of 97.4mm in width, 97.4mm in depth, and 42.96mm in height. The box should have a solid base with a thickness of 0.2mm. To create the interior cavity, remove a central cube measuring 96.44mm in width and 96.44mm in depth, starting from a he... | $fn = 90;
difference() {
union() {
translate(v = [0, 0, 0.2000000000]) {
difference() {
color(c = "springgreen") {
cube(size = [97.4000000000, 97.4000000000, 42.9600000000]);
}
color(c = "greenyellow") {
translate(v = [0.4800000000, 0.4800000000, 0.4800000000]) {
cube(size = [96.44000... | glb/cad_fb160b3df08a.glb |
Create a rectangular card box for RoboRally cards. Start by creating a solid rectangular base that is 95.96mm wide, 68.96mm deep, and 0.2mm thick. On top of this base, build walls to create an outer shell with the same width and depth, reaching a total height of 53.16mm. Hollow out the center of this shell by removing ... | $fn = 90;
union() {
difference() {
cube(size = 1);
cube(size = 2);
}
color(c = "brown") {
translate(v = [0.0000000000, 0.0000000000, 0]) {
union() {
translate(v = [0, 0, 0.2000000000]) {
difference() {
color(c = "lemonchiffon") {
cube(size = [95.9600000000, 68.9600000000, 52.960000000... | glb/cad_2bbcfa52b22c.glb |
Create a Shelf Filament Guide clip by starting with a rounded rectangular block measuring 36mm in length, 19mm in height, and 15mm in width, with corner radii of 3mm. From this main body, remove a central rectangular slot that is 15mm long, 15mm wide, and 15mm high, with corner radii of 1mm, centered to leave a wall th... | use<8bitArt.scad>;
tableThickness=15;
difference(){
roundedSquare(s=[36,tableThickness+4,15],r=3);
translate([-8.5,0,0])
roundedSquare(s=[15,tableThickness,15.2],r=1);
translate([1,-tableThickness/2,-17.5]){
cube([20,tableThickness,35]);
%cube([20,tableThickness,35]);
}
translate([-8.5,0,0]) rotate([90,... | glb/cad_82295fd64168.glb |
Create a shopping trolley token consisting of a coin-shaped head and a rectangular handle. Start by creating a cylinder with a diameter of 24.9mm and a height of 2.6mm. Cut a rectangular slot through the center of this cylinder, removing a section that is 24.9mm wide and 2.6mm high, leaving a semi-circular profile on o... | coin_diameter = 24.9;
coin_height = 2.6;
handle_length = 24;
handle_width = 8;
hole_diameter = 5;
difference()
{
union()
{
difference()
{
cylinder(h = coin_height, r1 = (coin_diameter/2), r2 = (coin_diameter/2), center = false, $fn=100);
translate([coin_diameter*0.56,0,0]) cube([coin_diameter,coin_diameter... | glb/cad_e1ac345987d7.glb |
Create a shopping trolley token consisting of a circular coin head attached to a rectangular handle. Start by creating a cylinder for the coin head with a diameter of 20.4mm and a height of 2.7mm. Attach a rectangular handle to the side of the coin, measuring 24mm in length, 8mm in width, and 2.7mm in height. Center th... | coin_diameter = 20.4;
coin_height = 2.7;
handle_length = 24;
handle_width = 8;
hole_diameter = 5;
difference()
{
union()
{
difference()
{
cylinder(h = coin_height, r1 = (coin_diameter/2), r2 = (coin_diameter/2), center = false, $fn=100);
translate([coin_diameter*0.56,0,0]) cube([coin_diameter,coin_diameter... | glb/cad_824a9797107f.glb |
Create a customizable anti-spam keychain. Start by constructing a rectangular base with a thickness of 4mm, a total length of 110mm, and a width of 20mm. The four corners of this base must be rounded with a radius of 3mm. Drill a circular hole with a diameter of 4mm through the entire thickness of the base, centered ve... | $fn=100;
base_x=110;
base_y=20;
base_z=4;
base_r=3;
hole_d=4;
text="stop spamming!";
text_size=10;
text_height=2;
difference() {
hull() {
translate([base_r, base_r, 0]) cylinder(r=base_r, h=base_z);
translate([base_x-base_r, base_r, 0]) cylinder(r=base_r, h=base_z);
translate([base_r, base_y-base_r, 0])... | glb/cad_5de623eb7f7e.glb |
Create a printable RC filter by starting with a solid rectangular slab measuring 10mm in width, 20mm in length, and 2mm in height. From this base, remove a pattern of traces based on the RCFilter design, extruded to a depth of 1mm and positioned 1.5mm above the base. The resulting geometry should be a thin rectangular ... | module RCFilter() {
linear_extrude(file="RCFilter.dxf"
, layer="CapTerminal"
, height=1.0
, center=false
, convexity=10);
linear_extrude(file="RCFilter.dxf"
, layer="IndTerminal"
, height=1.0
, center=false
, convexity=10);
}
difference () {
scale([10.0,20.0,2.0]) translate([0,-0.5,0])
cube(size=1.0, ce... | glb/cad_f360e0617f02.glb |
Create a car holder for a Nexus 4 phone. Start by centering a main rectangular base plate that is 65mm wide, 25mm deep, and 3.8mm thick, positioned so its center is 3.1mm above the origin. Add a central supporting spine to this base that is 65mm wide, 4mm deep, and 10mm high, centered on the origin.
On the left side,... | translate([0, 11, -3.1]) cube([65, 25, 3.8], center = true);
cube([65, 4, 10], center = true);
translate([34.5, -2.5, 0]){
rotate([0,0,-42])
cube([7, 2, 10], center = true);
}
translate([36.69 , -9.1, 0]) cube([2.2, 10, 10], center = true);
translate([35.45 , -14.5, 0]) cube([4.7, 2, 10], center = true);
translate([-... | glb/cad_7e41a4384d43.glb |
Create a car holder for a Nexus 4 phone. Start with a central rectangular block measuring 65mm wide, 14.5mm deep, and 10mm high. Remove a smaller rectangular section from the bottom center, measuring 63mm wide, 13.4mm deep, and 10mm high, to create a thin U-shaped channel.
Add a flat plate on top of this structure, c... | translate([0, 12.2, -3.1]){
difference(){
cube([65, 30, 3.8], center = true);
translate([0, -10, 0]) cube([64, 10, 12.5], center = true);
}}
difference(){
cube([65, 14.5, 10], center = true);
translate([0, -2, 0]) cube([63, 13.4, 10], center = true);
translate([25 , 0, 0.6])
rotate([90,0,0])
cylinder(h=100, r=0.8, $... | glb/cad_6c63ffb2f85e.glb |
Create a Printrbot LC Bowden Cable Mod consisting of a mounting bracket and an insert.
First, construct the main bracket body as a rectangular block with a depth of 22mm, a width of 24mm, and a height of 55mm. Add a base plate extending from the bottom with a thickness of 7mm and a total length of 62mm. Incorporate a... | include<configuration.scad>
include<jonaskuehling-default.scad>
malcolm_hotend_mount=1;
groovemount=2;
peek_reprapsource_mount=4;
arcol_mount=8;
mendel_parts_v6_mount=16;
grrf_peek_mount=32;
wildseyed_mount=64;
geared_extruder_nozzle=128;
jhead_mount=256;
reprapfaborg_mount=512;
elevation=4;
extra_gear_separation=2;... | glb/cad_2c91a74b2322.glb |
Create a Printrbot LC Bowden Cable Mod bracket. Start with a base plate that is 14mm wide and 4.5mm thick. The overall length of the base is 49mm, with the sides extending slightly beyond the central width.
At the center of the plate, create a raised cylindrical boss with a height of 9mm and a diameter of 7mm. Bore a... | module wade_to_bowden(){
height = 4.5;
height2 = 4.5;
pneufit_thread_len=9;
extraheight = 20-height;
width = 14;
bottom_extra_w=6.5;
dia = 49;
extrawidth = width/2;
m8hole = 9.6;
m4hole = 4.2;
$fn=100;
y=14.5;
z=5;
bearing_dia = 15.6;
rotate([0,0,90])
difference(){
union(){
translate([-width/2-bottom_extra_w... | glb/cad_52eb3154a6a0.glb |
Create a Printrbot LC Bowden Cable Mod mounting bracket. Start with a base plate that is 4.5mm thick. The main body is a rectangular section 14mm wide and 49mm long. Extend this body with a side plate that is 15mm wide and 49mm long, positioned to create a flat mounting surface. Add a rectangular extension of 17mm by 1... | module wade_to_bowden(){
thickness = 4.5;
plate_w = 15;
extra_plate_w = 17;
extra_plate_y = 10;
standoff_total = 9;
mount_height = 5;
standoff = thickness;
height = standoff;
pneufit_thread_len=9;
extraheight = 20-height;
width = 14;
bottom_extra_w=6.5;
dia = 49;
extrawidth = width/2;
m8hole = 10;
m4hole = 4.2;
$f... | glb/cad_2388a7b9be85.glb |
Create a Printrbot LC Bowden Cable Mod adapter by constructing a solid cylinder with a height of 9.5mm and an outer diameter of 15.5mm. Bore a conical hole through the center of the cylinder to create a tapered internal cavity. The bottom of this hole should have a diameter of 3.5mm, widening linearly as it extends upw... | module wade_to_bowden(){
height = 9.5;
outer_dia = 15.5;
inner_dia_bottom = 3.5;
inner_dia_top = 6;
$fn = 200;
difference(){
union(){
cylinder(height,outer_dia/2,outer_dia/2);
}
translate([0, 0, -1]) cylinder(height+2,inner_dia_bottom/2,inner_dia_top/2);
}
}
wade_to_bowden(); | glb/cad_11f9b003a7d1.glb |
Create a Basic af Box by constructing a hollowed rectangular container with rounded corners. Start with a solid rounded cube measuring 50mm in length, 50mm in width, and 25mm in height, featuring a corner radius of 5mm. From this solid, remove a smaller rounded cube to create the interior cavity. This interior cutout s... | $fn = $fn + 250;
x = 50;
y = 50;
z = 25;
wall_thickness = 1;
base_thickness = 1;
chamfer_edge = 5;
difference(){
roundedcube(x,y,z,chamfer_edge);
translate([wall_thickness,wall_thickness,base_thickness])
roundedcube(x-(wall_thickness*2),y-(wall_thickness*2),z,chamfer_edge);
}
module roundedcube(xdim ,... | glb/cad_90839a3f6c67.glb |
Create a Basic af Box by constructing a rounded rectangular container with outer dimensions of 50mm in length, 50mm in width, and 25mm in height. The outer shell should have rounded vertical corners with a radius of 20mm. Hollow out the center of this volume to create a cavity that is 48mm long and 48mm wide, leaving a... | $fn = $fn + 250;
x = 50;
y = 50;
z = 25;
wall_thickness = 1;
base_thickness = 1;
chamfer_edge = 20;
difference(){
roundedcube(x,y,z,chamfer_edge);
translate([wall_thickness,wall_thickness,base_thickness])
roundedcube(x-(wall_thickness*2),y-(wall_thickness*2),z,chamfer_edge);
}
module roundedcube(xdim ... | glb/cad_6d6587bcf92e.glb |
Create a Basic af Box by constructing a hollowed rectangular container with overall exterior dimensions of 10mm in length, 10mm in width, and 10mm in height. The exterior should be a rounded cube where every vertical edge is chamfered with a radius of 1mm. To create the interior cavity, remove a smaller rounded cube fr... | $fn = $fn + 250;
x = 10;
y = 10;
z = 10;
wall_thickness = 1;
base_thickness = 1;
chamfer_edge = 1;
difference(){
roundedcube(x,y,z,chamfer_edge);
translate([wall_thickness,wall_thickness,base_thickness])
roundedcube(x-(wall_thickness*2),y-(wall_thickness*2),z,chamfer_edge);
}
module roundedcube(xdim ,... | glb/cad_7babb34ba4f4.glb |
Create a KD1JV Slop Bucket Enclosure consisting of a top shell, a bottom plate, and two button caps.
Construct the top shell as a hollow box with a wall thickness of 3mm. The outer dimensions are 101.6mm wide, 111.76mm deep, and 35mm high. In the top face, create a rectangular cutout measuring 92.6mm by 105.76mm. Add ... | include <box.scad>;
mmpi=25.4;
bezel_cover_thickness=0.86;
bezel_cover_h=22.3;
bezel_width=2.5;
pcb_width=3.6*mmpi;
pcb_depth=3.925*mmpi;
pcb_thickness=0.062*mmpi;
pcb_hole_dia=0.125*mmpi;
pcb_hole_offset=2.4;
wall_thickness=3;
wall_spacing=2;
top_width=pcb_width+2*(wall_thickness+wall_spacing);
top_depth=pcb_dept... | glb/cad_83547f52f4fa.glb |
Create a Filament Guide Tube Guide consisting of a central sleeve and two symmetrical mounting arms. Start by creating a central rectangular block that is 11.4mm wide, 11.4mm thick, and 45mm long. Bore a cylindrical hole through the center of this block along its length with a diameter of 6.4mm to accommodate the guide... | offsetMargin = 0.1;
$fn = 64;
PTFETubeOutsideDiameter = 6.4;
filamentGuideWallThickness = 2.5;
filamentGuideLength = 45;
filamentGuideSideCutoffOffsetPercentage = 0.25;
armHeight = 8;
createFilamentTubeGuide();
module createFilamentTubeGuide()
{
difference()
{
union()
{
translate(... | glb/cad_ef8afc01556b.glb |
Create a Customizable Bottle Opener. Start by constructing a flat, elongated body with a total length of 50mm and a thickness of 6mm. The overall shape should be a rounded trapezoid with a base width of 22mm at the key ring end and corners angled at 103.5 degrees.
In the center of the body, create a cutout for the bot... | use <utils/build_plate.scad>
Text="Text";
TextHieght=90;
TextRelief=-10;
TextPositionX=-30;
TextPositionY=0;
TextSpacing=10;
Font = "";
image="OpenSCAD_surface_example_input_image.png";
image_height=0.9;
image_width=0;
ImageOffsetX=0;
CoinType = "US";
ManualRadius=9.5;
ManualThickness=1.75;
ManualOverhan... | glb/cad_893f861b1cba.glb |
Create a rain gauge base with a rectangular footprint of 60mm by 30mm and a thickness of 2mm. On the top surface, place two cylindrical calibration posts with a radius of 3mm and a height of 4.5mm, positioned symmetrically along the center line at the front and back edges, specifically 20mm from the center.
Integrate ... | use<triangles.scad>
$fn = 30;
module base(length, width, height)
{
difference() {
union() {
translate([-width/2, -length/2, -2]) cube([width,length,2]);
translate([width/2-2, 0, 0]) rotate(a=90, v=[0,1 ,0 ]) rotate(a=90, v=[0,0 ,1 ]) Isosceles_Triangle(b=length/2, H=height);
translate([width/2-1, 0, 0]) ... | glb/cad_9ec5c2fbce43.glb |
Create a rain gauge bucket by constructing a hollowed-out vessel with a base and two symmetrical walls. Start with a rectangular base measuring 50mm by 15mm with a thickness of 1mm. From the edges of this base, extend two identical isosceles triangular walls upwards to a height of 15mm, with the base of each triangle s... | use<triangles.scad>
$fn = 30;
module bucket(length, width, height)
{
difference() {
union() {
translate([-width/2, -length/2, -1]) cube([width,length,1]);
translate([width/2-1, 0, 0]) rotate(a=90, v=[0,1 ,0 ]) rotate(a=90, v=[0,0 ,1 ]) Isosceles_Triangle(b=length, H=height);
translate([-width/2, 0, 0]) ... | glb/cad_cc756a714718.glb |
Create a rain gauge consisting of a pyramid-shaped funnel and a rectangular base. Start by constructing a pyramid with a square base of 55mm by 37mm and a height of 30mm. At the peak of this pyramid, integrate a vertical cylinder with a radius of 2.5mm and a height of 5mm to serve as the funnel neck. Hollow out the cen... | $fn = 18;
module cone(length, width, height, funnel, edge)
{
difference() {
union() {
polyhedron(
points = [
[length/2, width/2, 0],
[length/2, -width/2, 0],
[-length/2, -width/2, 0],
[-length/2, width/2, 0],
[0, 0, height]
],
triangles = [
[3, 2, 1, 0],
[1, 4, 0],
... | glb/cad_55930f7f8511.glb |
Create a rain gauge sensor housing consisting of a rectangular open-top box. The box should have interior dimensions of 63mm in length, 45mm in width, and 60mm in height. The walls and the base should have a uniform thickness of 0.5mm.
At the base of the box, create four circular mounting holes with a radius of 2mm. ... | $fn = 18;
module base(length, width, height)
{
wall=0.5;
holesize=2;
step = width/(holesize*holesize*2);
difference() {
union() {
echo("lenght:", length);
echo("width:", width);
cube([length+2*wall,width+2*wall,1],center = true);
color("gray") translate([0,width/2+wall-(wall/2), height/2]) rotate(... | glb/cad_373250ccff12.glb |
Create a Parametric Finger Pen Holder by intersecting two 3D extruded profiles.
First, create a horizontal plan outline. This outline consists of two circles connected by a filleted web. The larger circle has a diameter of 21.14mm (finger diameter + 2mm wall) and the smaller circle has a diameter of 11.97mm (pen diam... | finger_perimeter = 60;
pen_perimeter = 31.4;
module naff() { }
finger_d = finger_perimeter / PI;
pen_d = pen_perimeter / PI;
$fn = 64;
finger_wall = 2.0;
pen_wall = 1.5;
overall_height = 18;
pen_height = 10;
bar = 0.75 * pen_d;
pen_centre_x = bar + (pen_d + finger_d) / 2;
finger_cut_angle = 50;
pen_cut_angle = 60;
... | glb/cad_3b57967caf75.glb |
Create a hollow lattice pyramid with a square base. The structure is composed of cylinders with a radius of 2mm connecting five spherical joints, also with a radius of 2mm. Position four joints at the corners of a square base with a side length of 30mm, and place a fifth joint at the apex, centered above the base at a ... | Resolution=30;
Length=30;
Height=34;
Radius=2;
r=Radius;
$fn=Resolution;
lng=Length-r-r;
module sphere1(){
sphere(r);
}
module sphere2(){
translate([lng,0,0]) sphere(r);
}
module sphere3(){
translate([lng,lng,0]) sphere(r);
}
module sphere4(){
translate([0,lng,0]) sphere(r);
}
module sphere5(... | glb/cad_2bbe12f0c5cf.glb |
Create a car cup holder adapter for an Amazon Echo Dot. Start by creating a main outer cylinder with a diameter of 66mm and a height of 68.5mm. Hollow out this cylinder by removing a smaller inner cylinder with a diameter of 62mm and a height of 67mm, positioned 2mm from the base. Additionally, remove a smaller cylinde... | fn = 360;
difference(){
translate([0,0,0])
cylinder(d = 66, h = 68.5, $fn = fn, center = false);
group(){
translate([0,0,2])
cylinder(d = 62, h = 67, $fn = fn, center = false);
translate([0,0,-1])
cylinder(d = 35, h = 10, $fn = fn, center = false);
... | glb/cad_5e23ead46e1c.glb |
Create a car cup holder adapter for an Amazon Echo Dot. Start by creating a main outer cylinder with a diameter of 87mm and a height of 33mm. Hollow out the center of this cylinder with a hole 83.1mm in diameter, starting 2mm from the base and extending 32mm upward. At the bottom of the base, create a central circular ... | fn = 360;
difference(){
translate([0,0,0])
cylinder(d = 87, h = 33, $fn = fn, center = false);
group(){
translate([0,0,2])
cylinder(d = 83.1, h = 32, $fn = fn, center = false);
translate([0,0,-1])
cylinder(d = 35, h = 10, $fn = fn, center = false);
hull(){
trans... | glb/cad_13d82d415677.glb |
Create a parametric curved tray by constructing a hollow cylindrical ring with a height of 25mm. The ring must have an outer diameter of 435mm and an inner diameter of 310mm. To define the tray's length, carve away the ring so that only a segment remains, where the length of the outer arc is exactly 225mm. Ensure the r... | tray_height = 25;
outer_diameter = 435;
inner_diameter = 310;
length_of_outside_edge = 225;
outer_circ = outer_diameter*3.14;
slice_percentage = (length_of_outside_edge/outer_circ);
slice_final_block_rotation = 360 - (90 + (360*slice_percentage));
slice_block_size = [outer_diameter*.6,outer_diameter*.6,tray_height... | glb/cad_63110e4cf0be.glb |
Create a Universal Wall Plug by constructing a main cylindrical body with a diameter of 6.1mm and a total length of 40mm. At the base, add a flat circular collar with a diameter of 9mm and a height of 0.7mm. Surround the base with a 10mm high conical rib structure that tapers from a diameter of 8mm at the bottom to 6.1... | $fn=100;
Diameter = 6.1;
Length = 40;
HoleDiameter = 3.5;
TipDiameter = 4;
TipHeight = 6;
CollarDiameter = 9;
CollarHeight = 0.7;
RibNr = 4;
RibDiameter = 8;
RibHeight = 10;
SleeveStart = Length / 4;
SleeveLength = Length / 2;
SleeveWidth = 1;
FoldingHoleDiameter = 3.5;
difference(){
union(){
cylinder(d=D... | glb/cad_f4ffde837aa1.glb |
Create a customizable door latch with a stopper mechanism. Start by creating a central cylindrical base with a diameter of 30mm and a height of 15mm. Through the center of this cylinder, create a vertical hole with a diameter of 4mm, featuring a countersink at the top with a diameter of 8mm and a depth of 4mm.
Extend ... | $fn=64;
width=30;
height=15;
length=60;
washerWidth= width*0.7;
screwDiam=4;
screwDiamBottom=screwDiam;
countersink=4;
all();
module all() {
union() {
latch();
washer(washerWidth/2);
stopper();
}
}
module stopper() {
difference() {
translate([0, 0, -height/4]) cylinder(h = height/2,... | glb/cad_f5710b9ad6d0.glb |
Create a peephole cover consisting of a tiered circular base and a mounting clip. Start with a primary cylinder 46.9mm in diameter and 3mm high. Centered on top of this, add a second, smaller cylinder 34mm in diameter and 2mm high.
On one side of the disk, create a rectangular mounting holder that is 8mm wide, 7mm de... | $fn = 30;
BASE_HEIGHT = 3;
BASE_DIA = 46.9;
INNER_HEIGHT = 2;
INNER_DIA = 34;
HOLDER_SIZEX = 8;
HOLDER_SIZEY = 7;
HOLDER_HEIGHT = BASE_HEIGHT + INNER_HEIGHT;
HOLDER_THICKNESS = 1.5;
AXIS_TO_REF = 1.1;
AXIS_TO_TOP = 2.8;
AXIS_DIA = 2.8;
AXIS_X = HOLDER_SIZEX / 2;
AXIS_Y = BASE_DIA/2 - AXIS_TO_TOP;
AXIS_Z = BASE_HEI... | glb/cad_15a3657e4e9d.glb |
Create a battery box for a single AA cell. Start with a main body consisting of a central block 66mm long, 15mm wide, and 10mm high. Add two end walls, each 2mm thick, 15mm wide, and 20mm high, positioned at the far ends of the length. Between these walls, add two internal dividers 3mm thick, 15mm wide, and 11.5mm high... | Cell_Count = 1;
Mounting_Holes = "yes";
module edge(radius, height)
{
difference()
{
translate([radius/2-0.5, radius/2-0.5, 0])
cube([radius+1, radius+1, height], center = true);
translate([radius, radius, 0])
cylinder(h = height+1, r1 = radius, r2 = radius, center = true, $fn = 100);
}
}
module batter... | glb/cad_11e78aedd876.glb |
Create a square heatsink and fan spacer with a base measuring 9.5mm by 9.5mm and a total height of 16.4mm. Centered through the entire length of the block, create a vertical cylindrical hole with a diameter of 4mm. At the top face of the spacer, modify this hole into a conical guide by widening the opening from the 4mm... | $fn = 100;
overlap_offset = .1;
depth = 16.4;
hole_d = 4;
width = 9.5;
height = 9.5;
guide_d = 6;
guide_h = 1.5*guide_d;
difference()
{
translate([-width/2, -height/2, 0])
cube([width, height, depth]);
translate([0, 0, -overlap_offset])
cylinder(d = hole_d, h = depth + 2*overlap_offset);
translate([0, 0, dept... | glb/cad_a430d1bcbd05.glb |
Create a low-poly sphere with a radius of 10mm. The sphere must be constructed using a low facet resolution of 6 sides, resulting in a faceted, geometric shape rather than a smooth surface. | $fn=6;
module ball() {
sphere(10);
}
module flat() {
circle(20);
}
module fine() {
$fn=200;
ball();
}
module assembled() {
ball();
thing();
}
display="";
if (display == "") assembled();
if (display == "test_fine.stl") fine();
if (display == "test_ball.stl") ball();
if (display == "test_fl... | glb/cad_f25723309add.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.