Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create an Arched Cube Top Hook for cubicle walls. The main body is a long, narrow arched bracket with a consistent thickness of 8mm.
Start by creating a rectangular base section that is 23mm wide and 8mm thick. From this base, extend two arms that curve upwards and outwards using 90-degree arcs with a radius of 19mm ... | rotate ([90,0,33])
union () {
thick = 8;
translate([3.055,0,10.5]) rotate([0,-70,0]) cube([20,thick,3]);
rotate([-90,180,0]) translate([-5,10,0])rotate_extrude(convexity=10,$fn=100,angle=20) translate([2,0,0]) square([3,thick],false);
translate([3,0,0]) rotate([0,-90,0]) cube([10,thick,3]);
rotate([-90,90,0]) transl... | glb/cad_f8a9d16646f8.glb |
Create a USB panel mount bracket designed to clamp onto a 10mm threaded rod. Start with a main rectangular body measuring 67mm in length, 15mm in width, and 20mm in height. Add a stability foot measuring 4mm by 15mm by 10mm at the base. Extend a brace from the body measuring 22mm by 40mm by 20mm.
Carve out a central r... | m3_nut_diameter = 6.4;
module usb_panel_mount() {
difference() {
union() {
cube([67, 15, 20]);
translate([0,0,-10]) cube([4,15,10]);
translate([45,0,0]) cube([22,40,20]);
translate([10,4,0]) rotate([0,0,-45]) cube([5,50,5]);
}
translate([2,2.5,5]) cube([40,16,20]);
transl... | glb/cad_c1b57b1093b5.glb |
Create a Pluggable Screw Shield Case for Arduino by constructing a rectangular open-top enclosure with a base and three walls. The base should be 110mm long, 75mm wide, and 2mm thick. Add two side walls and a rear wall, each 27.7mm high and 2mm thick, leaving the front open. Include two vertical support blocks at the f... | include<arduino.scad>
include<plugableProtoScrewShield.scad>
difference(){
caseBottom();
shieldAndArduino();
translate([0,0,5]) mountingOuterSquares();
}
difference(){
MountingHolesScrewShield1(6,10);
translate([0,0,3]) MountingHolesScrewShield1(1,10);
}
module caseBottom(){
wallWidth = 2; caseHeight=27.7; ri... | glb/cad_3c1216a772d9.glb |
Create a Text Helix model consisting of a DNA-style double helix structure integrated with a central sphere and a circular base.
Construct two intertwined helical strands with a radius of 14mm, each with a line thickness of 6mm. These strands should spiral around a central axis, completing one full level over a verti... | text = "";
font_size = 16;
font_name = "Arial Black";
text_depth = 1;
sphere_radius = 14;
helix_line_thickness = 6;
cross_line_thickness = 4;
levels = 1;
level_dist = 70;
fn = 24;
function __frags(radius) = $fn > 0 ?
($fn >= 3 ? $fn : 3) :
max(min(360 / $fa, radius * 6.28318 / $fs), 5);
funct... | glb/cad_0c5a063bc443.glb |
Create a controller case base for a 3D printer board. The main body is a rectangular open-top box with a total height of 35mm. The outer dimensions are determined by the PCB size: the length is the board length (103mm) plus 15.5mm plus an optional top gap, and the width is the board width (69mm) plus 23mm.
The walls a... | board_length=103;
board_width=69;
hole_offset=4;
top_gap=0;
hbp_offset = 0;
case_length=board_length+15.5+top_gap;
case_width=board_width+23;
case_height=35 * 1;
module main_body()
{
cube( [ case_length , case_width , 2 ] );
cube( [ 1.5 , case_width , case_height ] );
translate( [ 0 , case_width-2 ... | glb/cad_df03177a31b2.glb |
Create a controller case door for a RAMBo mini board. The overall dimensions of the door are based on a board length of 103mm and a width of 69mm. The case length is 118.5mm and the case width is 92mm.
Construct the main body as a rectangular plate with a thickness of 1mm. The cover dimensions are 87.5mm in width and ... | board_length=103;
board_width=69;
hole_offset=4;
top_gap=0;
hbp_offset = 0;
case_length=board_length+15.5+top_gap;
case_width=board_width+23;
case_height=35*1;
cover_width = case_width - 4.5;
cover_length = case_length - 13;
module body()
{
cube( [ cover_length , cover_width , 1 ] );
cube( [ cover_lengt... | glb/cad_0a9c63294650.glb |
Create an antenna clip for a remote receiver. Start with a base plate that is 60.5mm wide, 10mm deep, and 1.5mm thick. The center of the base should have a rectangular cutout 12.5mm wide, 5mm deep, and 1.5mm thick.
Add two vertical antenna holders to the base. Each holder is a block 2mm wide and 10mm deep. Position th... | $fn=16;
satellite_large();
module antenna_clip(receiver_width, antenna1, antenna2)
{
clip_width=receiver_width+60;
translate([0,0,1.5])
difference()
{
union()
{
hull()
{
translate([0,0,-0.75]) cube([clip_width-6,5,1.5],center=true);
translate([0,0,-0.75]) cube([clip_width,5-3,1.5],center=true)... | glb/cad_ae10694dbc21.glb |
Create a fan adaptor that transitions from a small circular opening to a larger square base. Start by creating a hollow conical frustum with a height of 30mm, a bottom radius of 21mm, and a top radius of 31mm. The interior should be hollowed out by removing a concentric frustum with a height of 31mm, a bottom radius of... | rotate([180,0,0])
difference()
{
union()
{
cylinder(h = 30, r1 = 21, r2 = 31, center = true);
translate([0,0,-5])
{
translate([16,16,0])
cylinder(h = 20, r = 2.5, center = true);
translate([-16,-16,0])
cylinder(h = 20, r = 2.5, center = true);
translate([-16,16,0])
cylinder(h = 20, r = 2.... | glb/cad_4567160520f2.glb |
Create a tripod camera mount by starting with a central rectangular block measuring 29mm in width, 26mm in depth, and 8mm in height. Center this block on the origin, shifted 1mm upward along the Z-axis. From this main body, remove a central vertical cylindrical hole with a radius of 3mm that passes completely through t... | difference() {
translate ([0,0,1])
cube(size = [29,26,8], center = true);
translate ([-29/2,10,-3])
rotate ([90,0,0])
linear_extrude(height = 80, center = true, convexity = 10, twist = 0)
polygon(points=[[-5,-10],[-6,12],[5,10]], paths=[[0,1,2]]);
translate ([29/2,10,-3])
rotate ([90,0,180])
linear_extrude(h... | glb/cad_ff456cc5eade.glb |
Create a Camera Module Case consisting of a main rectangular body and a matching lid. The main body is built from a base floor measuring 75.5mm by 12.5mm with a thickness of 3mm. Add walls 10mm high and 1mm thick around the perimeter, including two side extensions measuring 29mm by 21.5mm.
For the lid, create a floor ... | translate([0,-60,0]){
cylinder(d=11.5,h=6,$fn=100);
cylinder(d=14,h=1.5,$fn=100);
}
module lidfloor(){
thickness = 1;
cube([75.5+3,12.5+2,thickness],center=true);
hull(){
translate([-75.5/2-51.6/2-1,0,0])
cube([0.0001,21.5+2,thickness],center=true);
translate([-75.5/2-1,0,0])
cube([0.0001,12.5+2,thickness]... | glb/cad_9a6c521f99f4.glb |
Create an Ethernet Category 6 Cable Organizer. Start with a base rectangular block measuring 35mm in width, 48mm in depth, and 7mm in height. To this base, attach two rectangular mounting tabs on the left side: one measuring 9.75mm by 9.75mm by 20mm, and another measuring 28mm by 9.5mm by 9.5mm, positioned to align wit... | module pasaCable(posY=0){
translate([6, posY, -0.1]){
cylinder(r= 3.5, h=8, $fn=40);
translate([0, -3, 0]){
cube([7.5, 6, 8]);
}
translate([7.5, 0, 0]){
cylinder(r=3.5, h=8, $fn=40);
translate([0,-3, 0]){
cube([5, 6, 8]);
... | glb/cad_7e7aa6c7c354.glb |
Create a Nixie case by starting with a sphere of radius 90mm. Within this sphere, create a complex hollow shell by intersecting it with three overlapping cylinders, all 100mm in height: one vertical cylinder with a radius of 17mm, one tilted 15 degrees along the X-axis with a radius of 17mm, and one tilted 7.5 degrees ... | translate(v=[0,0,-40]){
difference() {
intersection() {
union() {
cylinder(h=100,r1=17,r2=17);
rotate(a=[15,0,0],v=[1,0,0]){cylinder(h=100,r=17);}
rotate(a=[7.5,0,0],v=[1,0,0]){cylinder(h=100,r1=12,r2=13);}
}
sphere(r=90);
}
cube(size=[80,80,80], center = true);
translate(v=[0,-15,0]){rota... | glb/cad_a8f9106f07f8.glb |
Create a Fidget Spinner 608 Bearing Cap by constructing a tiered cylindrical plug. Start with a base disc 23mm in diameter and 1mm thick. Centered on top of this disc, add a cylinder 22mm in diameter and 2mm high. Above that, add a cylinder 10.5mm in diameter and 1.5mm high. Continuing upward, add a cylinder 8mm in dia... | $fn=40;
difference(){
union(){
translate([0,0,1])
cylinder(h=2,d1=22,d2=22,center=true);
translate([0,0,2.5])
cylinder(h=1.5,d1=10.5,d2=10.5,center=true);
translate([0,0,4])
cylinder(h=4,d1=8,d2=8,center=true);
translate([0,0,6])
cylinder(h=.5,d1=8.3,d2=8.3,center=true);
}
un... | glb/cad_a621b300ff14.glb |
Create a Pet Feeding Calendar consisting of a rectangular base plate with a grid of cutout slots. The base plate should be 35mm wide, 64.66mm long, and 10mm thick. Within this base, create a grid of 14 rectangular holes arranged in 2 columns and 7 rows. Each hole must be 18mm long, 6mm wide, and 12mm deep to ensure the... | $fn = 50;
columns = 2;
rows = 7;
CHANGE_NO_VALUES_BELOW_THIS_POINT="CHANGE NO VALUES BELOW THIS POINT";
hole_width = 6;
hole_length = 18;
thickness = 10;
x_offset = 7;
y_offset = 6.833;
module base(){
cube([(hole_length+x_offset)*columns+x_offset,(hole_width+y_offset)*rows+y_offset,thickness]);
}
module hole()... | glb/cad_0e12e14cfdb1.glb |
Create a square board for a two-player strategy game. Start with a solid cube measuring 146mm x 146mm x 4mm. Within this base, carve out a grid of 24 by 24 square holes. Each hole should measure 4mm x 4mm x 4mm. Position the first hole so its edges are 2mm from the X and Y axes. Space the holes consistently with a 6mm ... | difference(){
cube([146,146,4]);
for ( i = [0: 23] )
{
for (a=[0:23]){
translate([i*6,a*6,0.5]) translate ([2,2,0]) cube([4,4,4]);
}}
} | glb/cad_df8867f722be.glb |
Create a two-player strategy board game piece by combining three distinct geometric components. First, create a thin rectangular bar measuring 1.5mm by 7mm with a height of 2mm, and rotate it 18 degrees around the Z-axis, positioning it at coordinates (0, -6, 0). Second, construct a U-shaped bracket by taking a 7mm by ... | rotate([0,0,-18])translate([0,-6,0])cube([1.5,7,2]);
Klammer();
translate([0,-5,0]) rotate([0,0,180]) Klammer();
module Klammer(){
difference(){
cube ([7,7,2]);
translate([1.5,2,0])cube ([4,5,2]);
}} | glb/cad_d8db6683f6ad.glb |
Create a two-player strategy board game base by starting with a flat rectangular plate measuring 40mm by 40mm with a thickness of 0.5mm. On this plate, arrange a grid of 12 square pegs. Each peg must be a rectangular prism measuring 3.25mm by 3.25mm with a height of 16mm. Position these pegs in four columns and three r... | $fs = 0.1;
cube([40,40,0.5]);
for ( i = [0: 3] )
{
for (a=[0:3]){
translate([i*10,a*10,0]) translate ([5,5,0]) stift();
}}
module stift(){
translate([0,0,8])cube([3.25,3.25,16],center=true);
} | glb/cad_f0999fdfd3c8.glb |
Create a Seed of Life pendant by arranging seven identical rings in a hexagonal pattern. Each ring must be a flat cylinder with an outer radius of 30mm, an inner radius of 27mm, and a height of 5mm. Position the first ring centered at the origin. Place the remaining six rings around the center, with their centers posit... | radius = 30;
thickness = 5;
width = 3;
res = 100;
module ring() {
difference() {
cylinder(r = radius, h = thickness, center = true, $fn = res);
cylinder(r = radius-width, h = thickness+0.5, center = true, $fn = res);
}
}
module seedoflife() {
function x(n) = sin(n*60)*(radius-width/2);
function y(n) = cos(n*... | glb/cad_4146c86f42d7.glb |
Create a Customizable Cuvette Adaptor by starting with a solid rectangular block measuring 12.5mm wide, 12.5mm deep, and 45mm high. Center this block on the origin. From this main body, remove a central rectangular section to create a cuvette cutout that is 13.5mm wide, 3.7mm deep, and 45mm high, centered horizontally ... | adaptor_x=12.5;
adaptor_y=12.5;
adaptor_z=45;
bottom_thick=4;
adaptor_window_width=6.5;
cuvette_y=3.7;
$fa=1;
$fs=0.5;
module holder_body() {
cube(size=[adaptor_x, adaptor_y, adaptor_z], center=true);
}
module adaptor_window_width() {
translate([0, 0, adaptor_window_width/2]) {
cube(size=[adaptor_window_w... | glb/cad_cc189e79cc82.glb |
Create a US coin sorter consisting of four vertical cylindrical tubes of varying diameters, all with a total height of 50mm and centered vertically. The main body is formed by four solid cylinders: one with a radius of 14.38mm positioned at [0, 0], one with a radius of 11.775mm positioned at [23.55, -3], one with a rad... | entireheight=50;
quality = 100;
$fn = quality;
abcdefg = entireheight;
spacefiller();
difference(){
filledstorage();
negativestorage();
}
module spacefiller(){
translate([14,5.5,0])
cylinder(r = 2, h = entireheight, center = true);
translate([4.7,14.5,0])
cylinder(r = 2.5, h = entireheight, c... | glb/cad_7a71bfcd1c93.glb |
Create a battery light mount for a bicycle seatpost. Start by forming a clamp using a cylinder with an outer diameter of 29.9mm and an inner diameter of 27.2mm. Rotate this cylinder 17 degrees along the X-axis to match a seatpost angle of 73 degrees.
Extend the mount by attaching a rectangular block measuring 80mm in... | include <defaults.scad>;
use <Nut.scad>;
use <Bolt.scad>;
use <M3.scad>;
$fn = 120;
difference() {
difference() {
difference() {
difference() {
difference() {
difference() {
difference() {
difference() {
... | glb/cad_3f16058e93cd.glb |
Create a Customizable Cap designed to fit a pipe or can. Start by creating a solid outer cylinder with a diameter of 87.1mm and a height of 6mm. Hollow out the center of this cylinder by removing a concentric cylinder with a diameter of 86.1mm and a height of 6mm, leaving a wall thickness of 1mm at the bottom. Inside t... | tol = 0.6;
wt = 1.0;
d1 = 85.5;
d1t = d1 + tol;
d2 = 77.5;
d2t = d2 - tol;
l1 = 6.0;
l2 = 6.0;
makeCap = "no";
makeHoles = "no";
dh = 49.1;
hd = 4.0;
e = 0.02*1;
$fn = 128;
module outerSolid()
{
cylinder(d=d1t+2*wt,h=l1);
}
module outerHole()
{
translate([0,0,wt]) cylinder(d=d1t,h=l1+2*e);
}
module in... | glb/cad_15c1d76bfd59.glb |
Create a bed holding clip by constructing a C-shaped channel with rounded edges. Start with a solid rectangular block that is 20mm wide, 6mm deep, and 6.5mm high. From this block, remove a smaller rectangular section from the center of the front face to create a slot. This interior cutout should be 20mm wide, 5mm deep,... | clip_thick = 1;
clip_width = 20;
clip_height = 5.0;
clip_depth = 5;
clip_round = 0.25;
clip_round_detail = 10;
minkowski()
{
rotate([90,0,0]) cylinder(r=clip_round,h=clip_round, $fn = clip_round_detail);
rotate([0,90,0]) cylinder(r=clip_round,h=clip_round, $fn = clip_round_detail);
difference() {
c... | glb/cad_0de3997803cd.glb |
Create a support bracket for a phone frame bag. Start with a solid rectangular block 100mm wide, 40.1mm high, and 40mm long. Center a cylindrical cutout with a diameter of 38.1mm through the length of the block to accommodate a frame tube. Trim the bottom of the block so that only a 5mm high section remains below the c... | $fn = 100;
diam = 38.1;
t = 2;
width = 100;
height = 5;
length = 40;
d = 1;
difference() {
translate([-width/2,0,0]) {
cube([width,diam+t,length]);
}
translate([0,diam/2+t,-d]) {
cylinder(length+2*d,diam/2,diam/2);
}
translate([-width/2-d,height,-d]) {
cube([width+2*d,dia... | glb/cad_31a25b4827d5.glb |
Create a square microphone flag with a total height of 50mm and a logo area width of 50mm. The main body is a square prism with rounded corners. Centered vertically and horizontally through the entire object, create a cylindrical hole with a diameter of 40mm to accommodate a microphone handle.
The walls of the flag sh... | number_of_sides = 4;
width_of_logo = 50;
height_of_logo = 50;
hole_diameter = 40;
use_bottom = "false";
resolution = 100*1;
module flag(size, height, sides, hole, bottom)
{
difference()
{
union()
{
difference()
{
union()
{
translate([0, 0, height/2-3/2-5])
cylinder(h = 3, r1 = sqrt(... | glb/cad_d7b8f27c6d52.glb |
Create a motor mount for 35-size motors consisting of a circular base and a supporting cross-structure. Start by creating a smooth cylinder with a diameter of 55mm and a height of 4mm. Centered within this base, remove a vertical cylindrical hole with a diameter of 11mm that passes completely through the part. To provi... | $fn = 360;
difference() {
union() {
difference() {
cylinder(h=4,d=55);
translate([22,0,-0.5])cylinder(h=5,d=3);
translate([-22,0,-0.5])cylinder(h=5,d=3);
translate([0,22,-0.5])cylinder(h=5,d=3);
translate([0,-22,-0.5])cylinder(h=5,d=3);
}
... | glb/cad_01caf2246f51.glb |
Create a Rubik's speed cube puzzle consisting of several distinct geometric components.
First, create the cubie base shape by taking a cube with a side length of 14.9mm and applying a Minkowski sum with a sphere of radius 2mm to round the edges.
For the center piece, start with the rounded cubie and remove a centra... | CUBIE=18.9;
CORE=18;
INNER=4.5;
SCREW_TIP=1.5;
SCREW_BODY=2;
SCREW_HEAD=3.8;
SPRING=3.2;
ROUND=2;
DEPTH=6;
RAFT=5;
LAYER=0.3;
GAP=0.25;
WITH_SUPPORT=false;
WITH_RAFT=false;
inner_cubie=(CUBIE-2*ROUND);
module cubie() {
translate([-inner_cubie/2,-inner_cubie/2, -inner_cubie/2])
minkowski() {
cube([inn... | glb/cad_50e22f2ed710.glb |
Create a small electronic enclosure for a POV fidget spinner. The main body is a rounded rectangular prism with a total width of 28mm, length of 64mm, and height of 14mm. The ends are capped with semi-cylindrical forms with a radius of 14mm.
Inside the body, carve out a central cavity that is 24mm wide, 24mm high, and... | difference(){
union(){
translate([-14,-36,0]) cube([28,64,14]);
translate([0,30,0]) cylinder(14,14,14,$fn=60);
translate([0,-36,0]) cylinder(14,14,14,$fn=60);
translate([-66,-36,0]) cube([32,64,10]);
translate([-50,30,0]) cylinder(10,16,16,$fn=60);
translate([-50,-36,0]) cylinder(10,16,16,$fn=60);
}
translate([... | glb/cad_de40b48e8823.glb |
Create a wire clip designed to secure a flat cable. Start with a main block that is 11.1mm long, 5mm wide, and 5.8mm high. One end of this block should be a semi-cylinder with a radius of 2.5mm and a height of 5.8mm.
Carve a rectangular channel out of the center of the block to hold the wire. This channel should be 7.... | cable_type = "FLAT";
nails = "SINLE";
clip_strength = 2;
nail_hole_width = 2.2;
wire_width = 7.4;
wire_height = 3.8;
clip_width = 5;
clip_length = wire_width + clip_strength + 1.7;
clip_height = wire_height + clip_strength;
x_center_offset = 0 - (clip_length / 2) + 0.35;
module clip_block(){
translate([x_ce... | glb/cad_fade1ef90afe.glb |
Create a Tesa roll axis by starting with a central tapered cylinder that is 23.5mm high, with a bottom radius of 12.5mm and a top radius of 13.25mm. Pass a vertical cylindrical hole with a radius of 2mm through the center of this shape along its entire height. To create the locking mechanism, place two rectangular pris... | dag = 25/2;
dak = 26.5/2;
t1 = 12.5;
r1 = -2;
t2 = t1*-1;
r2 = r1*-1;
difference ()
{
union ()
{
color("violet")
translate([0,0,0])
rotate([0,0,0])
cylinder(h=23.5,r1= dag,r2=dak, $fn=120, center = true);
color("blue")
translate([0,0,0])
rotate([0,0,0])
cylinder(h=35,r= 2, $fn=120, center = true);
}
color("re... | glb/cad_a0eabbf9e24b.glb |
Create a BLTouch rear sensor mount consisting of a backplate and a sensor housing.
Start with a rectangular backplate 30mm wide, 8mm high, and 4.5mm thick. On the backplate, create two mounting holes 18mm apart, centered vertically. For each hole, create a cylindrical passage with a diameter of 3.4mm, transitioning t... | eps = 0.01*1;
$fn = 50*1;
extra_radius = 0.05*1;
m3_major = 2.85*1;
m3_radius = m3_major / 2 + extra_radius;
m3_wide_radius = m3_major / 2 + extra_radius + 0.2;
mount_type=0;
bl_height_with_offset = 44.6;
measured_height = 60;
sensor_offset_mount = 16;
mount_width = 30;
mount_height = 8;
mount_thickness = 4.5;... | glb/cad_b10bdf171515.glb |
Create a Customizable-U-Twist-O-Shade, a decorative cylindrical vessel. The main body is a hollow cylinder with an inside diameter of 60mm. The walls are formed by 40 repeating vertical extensions that twist as they rise.
Construct the body in four vertical sections: a bottom section (10mm high) twisting 15 degrees, a... | crossed = "no";
ring_low = "yes";
ring_up = "yes";
bottomshift = 1;
topshift =1;
diameter = 60;
adaptersize = 10;
venthole = 4;
num_ventholes = 3;
bottomheight = 10;
lowmiddleheight = 15;
upmiddleheight = 15;
topheight = 10;
num_extensions = 40;
angle_extension = 6;
offset_extension = 4;
bottomtwist = 1... | glb/cad_50724bd2d114.glb |
Create a set of game pieces, each with a uniform height of 10mm. First, create a heart shape by taking the convex hull of two cylinders with radii of 7mm positioned 12mm apart (6mm from the center) and removing a thin central strip 100mm wide to create a notch. Second, create a five-pointed star by extruding a 2D polyg... | hpiece=10;
module heart() {
difference(){
hull(){
for (i=[-1,1]) { translate([6*i,0,0]) cylinder(r=7,h=hpiece,$fn=30);}
translate([0,-15,0]) cylinder(r=0.1,h=hpiece);
}
translate([-50,0,-1]) cube([100,100,hpiece+10]);
}
for (i=[-1,1]) { translate([6*i,0,0]) c... | glb/cad_a12c53f08649.glb |
Create a game piece for My Little Scythe by extruding a specific 2D polygon to a height of 1mm. The polygon is defined by a series of vertices that form an irregular, organic rounded shape. Starting from the top surface, the perimeter follows these coordinates: (-0.01, 20.39), (-1.72, 21.67), (-3.62, 22.42), (-5.65, 22... | fudge = 0.1;
module poly_path44871(h)
{
scale([.5, -.5, 10]) union()
{
linear_extrude(height=h)
polygon([[-0.012647,20.392009],[-1.716995,21.666009],[-3.623814,22.422499],[-5.645236,22.694707],[-7.693392,22.515860],[-9.680410,21.919187],[-11.518423,20.937915],[-13.119562,19.605272],[-14.395956,17.954485]... | glb/cad_4fcd4451d9c7.glb |
Create a player piece for My Little Scythe by starting with a solid cylinder that has a radius of 10mm and a height of 10mm. From this main body, remove several geometric sections to create a recessed top. First, carve out a central cylindrical hole with a radius of 4.7mm and a height of 10mm, but position it so it onl... | hpiece=10;
difference(){
cylinder(r=10,h=hpiece);
difference(){
translate([0,0,hpiece-4])
union(){
translate([3,0,0]) difference(){
cylinder(r=4.7,h=10,$fn=20);
cylinder(r=2.7,h=10,$fn=20);
}
translate([-7.5,-1,0])cube([7,2,10]... | glb/cad_e19ec7040ade.glb |
Create a game piece shaped like a stylized gem. Start with a cube that is 10mm wide, 15mm tall, and 10mm deep. Rotate this cube 45 degrees around the Z-axis. To create the faceted gemstone effect, remove material from the top and bottom by centering two large 100mm by 100mm by 20mm slabs horizontally; position one slab... | module gem() {
difference()
{
scale([1,1.5,1]) rotate([0,0,45]) translate([0,0,5]) cube([10,10,10],center=true);
for (i=[1,-1]){
for (j=[0,180]){
rotate([0,0,i*atan(1.5/1)+j]) translate([0,0,23]) rotate([30,0,0]) cube([100,100,20],center=true);
}
}... | glb/cad_206adc48ebab.glb |
Create a powder measure hopper cap consisting of two stacked, concentric cylinders. First, create a wide base cylinder with a radius of 34mm and a height of 6mm. Centered directly on top of this base, add a second, narrower cylinder with a radius of 26.25mm and a height of 8mm. Ensure both cylinders have a high facet c... | union() {
cylinder (h= 6, r= 68/2,$fn= 100);
translate([0,0,6])
cylinder (h= 8, r= 52.5/2,$fn= 100);
} | glb/cad_035752f17914.glb |
Create a Meade Autostar holder by constructing a curved, bracket-like base. Start with a central plate that is 25mm high and 5mm thick, featuring a semi-circular or crescent-shaped profile that spans approximately 60mm in width.
On each side of this central body, add a connecting wing. Each wing should be 5mm thick a... | Ht = 25;
Thk = 5;
M3 = 3.8;
module SideConnect()
{
rotate([90,0,0])
difference()
{
linear_extrude(height = Thk, center = false, convexity = 10)polygon(points =
[[-29,0],[-29,25],[-30,25],[-30.92,24.91],[-31.81,24.66],
[-32.64,24.25],[-33.38,23.69],[-34,23],[-34.48,22.22],[-34.81,21.3... | glb/cad_47208f4dfdbf.glb |
Create a mini fidget spinner consisting of a central core and three outer cores. Each core is a cylinder 5mm thick with an outer radius of 10mm and a concentric inner hole with a radius of 5mm. To ensure smooth edges, intersect each cylinder with a sphere of 10mm radius centered at the cylinder's mid-height. Position t... | outerRadius = 10;
innerRadius = 5;
thickness = 5;
overlapFactor = 1.5;
holderThickness = 1;
holderRadiusAdd = 3;
holderWall = 2;
holderRadius = innerRadius + holderRadiusAdd;
wallInnerRadius = innerRadius - holderWall;
spinner();
color("red") holderA();
color("green") holderB();
module holderA() {
difference(... | glb/cad_10195ffabf61.glb |
Create a parametric clipping lid for a cylindrical object. Start by creating a main outer cylinder with a radius of 24.85mm (calculated as half of 47.1mm plus a 1.5mm wall thickness) and a height of 8mm. Hollow out the center by removing a cylinder with a radius of 23.7mm and a height of 5mm, leaving a base floor and a... | objectsize = 47.1;
notchheight = 2.5;
notchwidth = 15;
wallthickness = 1.5;
extraplay = 0.26;
$fn=150;
rotate(a=[0,180,0]) {
difference() {
cylinder(r=(objectsize/2)+wallthickness,h=8);
cylinder(r=((objectsize+extraplay)/2),h=5);
}
difference() {
difference() {
cylinder(r=((objectsize+extraplay)/2... | glb/cad_01f68218a8e0.glb |
Create a screw-like object by starting with a solid cube that is 10mm wide, 10mm deep, and 5mm high. From the center of this cube, remove a volume created by extruding a three-sided polygon (an equilateral triangle) with a radius of 5mm. As this triangular shape is extruded vertically through the 5mm height of the cube... | !difference(){
translate([-5,-5,0]) cube([10,10,5]);
twist([1,1,1]);
}
module twist(a,b,c){
scale(a,b,c){
linear_extrude(height=5, twist=360, scale=1, $fn=100) color("red") projection(cut=false) cylinder(h=10, r=5, $fn=3);
}
}
translate([10,10,0]) twist([0.98,0.98,1]); | glb/cad_7ae95823aa1c.glb |
Create a Cube in a Cube puzzle by constructing a solid inner cube with side lengths of 20mm, centered at the origin. Surround this with a larger outer cube of 32mm side length, also centered at the origin. To create the cage effect, remove material from the outer cube using a series of cylindrical cuts. First, bore thr... | o_s=32;
i_s=20;
outer_cube();
inner_cube();
module inner_cube()
{
cube([i_s, i_s, i_s], center=true);
}
module outer_cube()
{
difference()
{
cube([o_s, o_s, o_s], center=true);
union()
{
discs();
holes();
}
}
}
module discs()
{
rad=(o_s+(i_s/5))/2;
ht=(o_s-i_s)/2/2;
sh=(i_s/2)+ht/2;
translate... | glb/cad_50cece515c91.glb |
Create a Bushing Pulley by constructing a symmetrical 3D object revolved around a central axis. Start with a main cylindrical body that has an outer diameter of 22mm and a total width of 12mm. Bore a central hole through the entire length with an inner diameter of 3.2mm.
To create the pulley channel, remove material f... | ID = 3.2;
OD = 22;
W = 12;
tolerance = 0.450;
chamtype = "a";
cuttype = "a";
cham = 0.25;
Btolerance=0.0;
margin = 2;
pulley = 1;
CG = 0;
CD = 12;
CO = -.5;
CF = 60;
FS = -1.5;
viewmode = "3D";
pythA = sqrt(pow(tolerance,2)+pow(tolerance,2));
pythB = sqrt(pow(Btolerance,2)+pow(Btolerance,2));
pythC = sqrt(pow(cham... | glb/cad_e760eb062799.glb |
Create a parametric bearing cover for a 608 bearing. Start by constructing a circular base ring with an inner radius of 6.4mm and an outer radius of 9.7mm, and a thickness of 0.8mm.
Add a retainer ring to the bottom of the base that extends from the outer radius of 9.7mm to 9.9mm, with a thickness of 0.4mm.
On the t... | shape_text = "KODA-DESIGN-LTD-";
text_font = "Arial BLACK";
text_size = 2.9;
text_thickness = .4;
text_rotation = -90;
text_offset = -8.1;
inner_base_radius = 6.4;
outer_base_radius = 9.7;
base_thickness = .8;
print_retainer_ring = 1;
retainer_ring_thickness = .4;
retainer_ring_width = .2;
print_top_inner =... | glb/cad_5685f8813944.glb |
Create a Business Card Holder consisting of a back plate, a base, and a front lip.
First, create the back plate as a rectangular slab measuring 90.9mm wide, 2mm thick, and 39.1mm high.
Next, create the base as a rectangular slab 90.9mm wide, 38.1mm deep, and 2mm thick. Position it so it meets the back plate at a 90-d... | inches = 25.4;
message = "Business Name";
font = "Sirin Stencil";
fontSize = 10;
textWidth = 1;
textHeight = 1.5;
textSpacing = 1;
padding = 0;
wallThickness = 2;
businessCardWidth = 88.9;
businessCardLength = 38.1;
frontHeight = 22;
messagePosition = 1;
jointGap = 0.35;
colorRed = 1;
colorGreen = 0;
co... | glb/cad_aa770a047f47.glb |
Create a T-slot nut for an 8020 aluminum extrusion. Start with a rectangular block that is 20mm wide, 10mm deep, and 8mm high. Centered on the top face, remove a rectangular channel that is 20mm wide and 4mm deep to create the slot.
Through the center of the block, create a vertical hexagonal hole with a flat-to-flat... | width = 20;
slot_width = 8;
depth = 10;
slot_depth = 4;
screw_size = 4.5;
nut_size = 7.8;
nut_depth = 3.5;
repeat_x = 1;
repeat_y = 1;
da6 = 1 / cos(180 / 6) / 2;
da8 = 1 / cos(180 / 8) / 2;
da12 = 1 / cos(180 / 12) / 2;
for(x = [-(repeat_x - 1) / 2:(repeat_x - 1) / 2]) for(y = [-(repeat_y - 1) / 2:(repeat_y - 1) / ... | glb/cad_04caf43d8c24.glb |
Create a magnetic sew guide with a total height of 6mm and a thickness of 10mm. The main body is a bar 60mm long with rounded ends, each with a radius of 5mm. The two ends of the bar flare out into angled wings, each extending 15mm from the center.
Within this body, create two rectangular holes to house magnets. Each ... | guideHeight = 6;
guideT = 10;
sideLength = 15;
barLength = 60;
magType = 0;
distMag = 25;
cylMagRad = 5.1;
cylMagHeight = 5.2;
rectMagLength = 5.1;
rectMagWidth = 5.1;
rectMagHeight = 5.4;
$fn = 40;
rotate ([0,180,0])
if(magType==0 || magType==1) {
difference() {
union() {
sideCoords ... | glb/cad_3010094919bf.glb |
Create a Kossel Cooling Tube by constructing a hollowed pyramid with a square base. First, create a solid pyramid with a 40mm by 40mm square base centered at the origin and an apex located at coordinates (0, 8, 20). From this volume, remove a smaller internal pyramid that has a 40mm by 40mm square base positioned 5mm b... | difference(){
polyhedron(
points=[ [20,20,0],[20,-20,0],[-20,-20,0],[-20,20,0],
[0,8,20] ],
triangles=[ [0,1,4],[1,2,4],[2,3,4],[3,0,4],
[1,0,3],[2,1,3] ]
);
polyhedron(
points=[ [20,20,-5],[20,-20,-5],[-20,-20,-5],[-20,20,-5],
[0,4,15] ],
triangles=[ [0,1,4],[1,2,4],[2,... | glb/cad_8317e47b7268.glb |
Create a GPS platform consisting of a square base and a cylindrical riser. Start with a square base plate 40mm wide and 3mm thick, with corners rounded to a 4mm radius. Drill four vertical holes through the base, each with a radius of 1.75mm, positioned 16mm from the center of the plate along both the X and Y axes.
Ce... | $fn=100;
b_h = 3;
b_cr = 4;
b_l = 40;
b_cu = b_l - (b_cr *2);
h_c = 32;
h_r = 1.75;
f_r = 8;
cyl_r = 10;
ls_h = 47;
fb_r = f_r + cyl_r;
f_t = b_h + f_r -1;
difference(){
union(){
difference(){
lower_plate();
holes();
}
column_filet();
}
translate([0,0,-.5]) cylinder(ls_h+1, 6, 6);
}
translate([45,0, b_h - 0.1])... | glb/cad_4280d4277455.glb |
Create an espresso tamper consisting of three joined geometric components. Start with a wide, flat cylindrical base that has a radius of 30mm and a height of 10mm, with all edges rounded by a 1mm fillet. Centered on top of this base, add a truncated cone that extends 30mm upward; this cone should taper from a bottom ra... | $size=60;
$fn = 200;
$ra=$size/2;
union(){
minkowski(){
cylinder(r=$ra,h=$ra*0.1667);
sphere(r=1,$fn=20);
}
cylinder(r1=$ra*0.8333,r2=$ra*0.333,h=$ra);
translate([0,0,$ra*1.1667]) sphere(r=$ra/2);
} | glb/cad_66c5b50ab3f6.glb |
Create a customizable two-line table plaque. Start by creating a rectangular base plate that is 28mm wide and scaled to fit the length of the longest text line plus 6mm. The plate should have a thickness of 1.2mm and rounded corners with a radius of 2mm. Tilt this entire assembly 55 degrees backward along the X-axis.
... | $fn = 50;
line1_text = "Pedro";
line2_text = "Collado";
long1 = len (line1_text)*8+6;
long2 = len (line2_text)*8+6;
long = max(long1,long2);
scale (2) {
rotate ([55, 0, 0]) {
translate ([0,7,0]) linear_extrude(3) text(line1_text, halign = "center", valign ="center", font = "Liberation Mono");
translate ([0,-7,0]) line... | glb/cad_08deb29f09b3.glb |
Create a token holder by starting with a solid rectangular base measuring 132mm in width, 47mm in depth, and 5mm in height. Within this base, carve out a grid of 30 square holes arranged in 3 rows of 10. Each hole must be 11mm by 11mm. Position the holes so there is a 2mm gap between them and a 2mm margin from the oute... | numsquares = 10;
spacebetweensquares = 2;
squaresize = 11;
numrows = 3;
spacebetweenrows = 3;
difference(){
linear_extrude(5)
square([numsquares*(squaresize+spacebetweensquares)+spacebetweensquares, numrows*(squaresize+spacebetweenrows)+spacebetweenrows]);
{
for ( i = [0 : numsquares-1] ){
for ( j = [0 : ... | glb/cad_9c70318c1d37.glb |
Create a Paw Fidget Spinner. Start with a central cylindrical hole 22mm in diameter and 7mm deep to accommodate a bearing. Around this center, create a body with a thickness of 7mm.
Distribute three paw-shaped weights equally around the center at 120-degree intervals. Each paw weight is composed of a large central pa... | paws = 3;
pawSize = 20;
impression = "emboss";
rotatePaw = "no";
claws = "no";
$fn = 48;
x = 0; y = 1; z = 2; id = 3;
thick = 3;
inch = 25.4;
bearing608 = [22, 22, 7, 8];
bearing = bearing608;
none = [pawSize, pawSize, bearing[z]];
step = 360 / paws;
stop = (paws-1) * step;
weight = none;
pawAngle = (rotatePaw =... | glb/cad_a5ff7d8ed7a9.glb |
Create a Fidget Spinner Cap consisting of a main disc and a central bearing insert. Start by creating a 16-sided polygonal disc with a diameter of 22mm and a height of 1.3mm. Apply a chamfer to the sides so the bottom face has a diameter of 19.4mm (diameter minus twice the height) and the top face is 22mm.
On top of t... | disc_diameter_in_millimeter = 22.0;
disc_height_in_millimeter = 1.3;
disc_edges = 16;
disc_chamfer = "yes";
gap_extra_diameter_in_millimeter = 3.0;
gap_height_in_millimeter = 0.6;
bearing_hole_diameter_in_millimeter = 8.0;
bearing_height_in_millimeter = 7.0;
disc_d = disc_diameter_in_millimeter;
disc_h = disc_h... | glb/cad_b3fa7a82a471.glb |
Create a whisky glass lid by constructing a tiered, conical dome with a spherical handle. Start with a base cylinder 0.5mm high with a radius of 24mm. Above this, stack four truncated cones (frustums), each 3mm high: the first transitions from a 24mm to 19mm radius, the second from 21mm to 16mm, the third from 17mm to ... | $ab=50;
module surf(){
union(){
sphere(r=15, $fn=$ab);
cylinder(h=2,r1=24,r2=19, $fn=$ab);
translate([0,0,1])
cylinder(h=3,r1=21,r2=16, $fn=$ab);
translate([0,0,3])
cylinder(h=3,r1=17,r2=14, $fn=$ab);
translate([0,0,5])
cylinder(h=3,r1=15,r2=12, $fn=$ab);
translate([0,0,-0])
cylinder(h=0.5,r=24, $fn=$ab)... | glb/cad_aebae4fd5e92.glb |
Create a simple compass tool consisting of a central block and a conical tip. Start with a rectangular block measuring 12mm wide, 12mm deep, and 15mm tall, centered on the origin. Remove a vertical cylindrical hole with a diameter of 5mm through the center of this block. To soften the edges, intersect this block with a... | intersection()
{
difference()
{
cube([12, 15, 12], true);
cylinder(13, 2.5, 2.5, true, $fn=30);
}
rotate([0, 45, 0])
cube([15, 16, 15], true);
}
translate([0, -10, 0])
rotate([-90, 0, 0])
difference()
{
cylinder(6, 1, 6, true, $fn=30);
... | glb/cad_9d5118de3a04.glb |
Create a simple compass hub by constructing a main cylinder 14mm high with a diameter of 14mm. Remove a smaller concentric cylinder from the center that is 5mm high and 5mm in diameter. Within that central void, carve out a hexagonal prism with a flat-to-flat width of 6.02mm and a height of 10.8mm, centered on the vert... | difference()
{
cylinder(5, 7, 7, true);
cylinder(6, 2.5, 2.5, true, $fn=36);
translate([0, 0, 1])
cylinder(3.01, 5.4, 5.4, true, $fn=6);
}
for(i=[0: 10: 360])
rotate([0, 0, i])
translate([7, 0, 0])
cylinder(5, 1, 1, true, $fn=4); | glb/cad_4feb7f0fc2b8.glb |
Create a simple compass tool body. Start with a central block that is 8mm wide, 30mm long, and 20mm high, centered on the X and Y axes. To this block, add two rounded ends by placing cylinders with a 4mm radius and 20mm height at the front and back centers (Y = 15mm and Y = -15mm). Attach a horizontal cylinder to the s... | difference()
{
union()
{
translate([0, 0, 2.5])
{
cylinder(20, 8, 8, true, $fn=6);
cube([8, 30, 20], true);
translate([0, 15, 0])
cylinder(20, 4, 4, true, $fn=20);
translate([0, -15, 0])
cylinder(20, 4, 4, true, $fn=20);
}
translate([-7.5, 0, 0])
rotate([0, -90, 0])
cylinder(15, 7... | glb/cad_94331522531a.glb |
Create a simple compass body by constructing a central block that is 8mm wide, 30mm long, and 20mm high, centered on the X and Y axes. Soften the top and bottom ends of this block by adding hemispherical caps with a 4mm radius centered at the ends of the 30mm length. Attach a horizontal cylinder to the side of the main... | difference()
{
union()
{
translate([0, 0, 2.5])
{
cylinder(20, 8, 8, true, $fn=6);
cube([8, 30, 20], true);
translate([0, 15, 0])
cylinder(20, 4, 4, true, $fn=20);
translate([0, -15, 0])
cylinder(20, 4, 4, true, $fn=20);
}
translate([-7.5, 0, 0])
rotate([0, -90, 0])
cylinder(15, 7... | glb/cad_a1e38c943e67.glb |
Create a simple compass hub by starting with a main cylinder that is 7mm tall with a diameter of 4mm. Remove a smaller concentric cylinder from the center of this base that is 1.8mm in diameter and runs the full height of the part. Positioned 4.5mm above the base, add a second cylinder with a diameter of 6mm and a heig... | difference()
{
cylinder(3, 4, 7, true, $fn=30);
cylinder(3.1, 1.8, 1.8, true, $fn=20);
}
translate([0, 0, 4.5])
difference()
{
cylinder(6, 6, 6, true);
cylinder(6.1, 4.5, 4.5, true, $fn=6);
}
for(i=[0: 12: 360])
rotate([0, 0, i])
translate([6.5, 0, 4.5])
cylinder(6, 1, 1, true); | glb/cad_a87fea49b4cf.glb |
Create an ATX to Benchtop Power Supply bracket by constructing a hollow rectangular shell with a wall thickness of 3mm. The main outer dimensions of the enclosure are 125mm wide, 135mm long, and 102mm high. To create the opening for the power supply, remove a central rectangular volume from the front and top faces. Thi... | epsilon = 0.01;
psu_w = 125;
psu_l = 135;
psu_h = 102;
cutout_l = 40;
cutout_h = 56;
thickness = 3;
top_overlap = 14;
side_overlap = 11;
% psu();
union() {
translate([0,psu_l-cutout_l-top_overlap,psu_h])
cube([psu_w,top_overlap+cutout_l,thickness]);
translate([0,psu_l,psu_h-cutout_h-top_overlap])
cu... | glb/cad_b24daf7ac31b.glb |
Create a bottom laser tube bracket consisting of a rectangular base and a semi-circular support.
Start with a rectangular base block 40mm wide, 69mm long, and 8mm high. In this base, create four vertical through-holes centered at x = ±14mm and y = ±22.25mm. Each hole consists of a lower cylinder with a 5.5mm diameter... | Tube_Diameter = 55;
Tube_Center_Height = 72;
Part = "bottom";
$fn = 60*1;
defaultBlockHeight = 8*1;
blockWidth = 40*1;
blockLength = 69*1;
holeSpaceing = 29*1;
lowerHoleLength = 12*1;
lowerHoleWidth = 5.5*1;
upperHoleLength = 14.5*1;
upperHoleWidth = 9*1;
holeSeparationX = 28*1;
holeSeparationY = 44.5*1;
ringThickne... | glb/cad_c035d92e435d.glb |
Create a door number in the shape of a lowercase letter "a" using a monospace font. Extrude the letter to a height of 4mm with a slight taper, applying a scale factor of 0.95 to the top surface relative to the bottom. The overall size of the letter should be 100mm.
Add two countersunk mounting holes through the body ... | echo(version=version());
font2 = "Liberation Mono";
letter_size = 100;
letter_height = 4;
hole_dia = 3.8;
c_sink_dia = 6.6;
scale_factor = 0.95;
smoothness = 32;
holes = true;
letter = "a";
difference()
{
letter(letter);
union(){
if(letter == "0")
{
c_sink(0, 40.5);
c_sink(0, -38.5);
}
if(letter ==... | glb/cad_b40eed68033f.glb |
Create a parametric cupboard door holder with a thickness of 5mm. The overall shape is a flat rectangular plate with a total height of 25mm and a total length of 105mm.
Starting from the bottom left, create a rectangular section that is 15mm wide and 25mm high. From this point, extend the shape horizontally to a tota... | Thickness = 5 ;
Knob_Width = 10 ;
Inner_Knob_Distance = 65 ;
Strenght_Factor = 1.5 ;
module cupboard_doorstop(THICKNESS, KNOB_WIDTH, INNER_KNOB_DISTANCE, STRENGHT_FACTOR)
{
TOTAL_HEIGHT = KNOB_WIDTH + KNOB_WIDTH*STRENGHT_FACTOR ;
TOTAL_LENGTH = KNOB_WIDTH*2 + (KNOB_WIDTH*STRENGHT_FACTOR)*2 + INNER_KNOB_DISTANCE ;
... | glb/cad_465ccb5dfb55.glb |
Create a paint shelf for a tool board. Start with a rectangular base block that is 186mm wide, 34.5mm deep, and 6mm high.
At each far end of the block, remove a rectangular section 8.5mm wide, 35.5mm deep, and 1mm high, centered vertically at a height of 2.5mm from the bottom, to create mounting hooks.
To create the... | $fn = 0 + 0;
$fs = 0.1 + 0;
$fa = 4 + 0;
num = 6;
paint_slot_width = 14.5;
paint_slot_spacing = 31;
hook_spacing = 31;
shelf_height = 6;
shelf_thickness = 2;
shelf_width = hook_spacing * num;
hook_width = 8.5;
hook_depth = 34.5;
hook_height = 1;
usable_shelf_width = shelf_width-(hook_width*1.5) -1;
usable_num_sl... | glb/cad_add6543bd386.glb |
Create an encoder wheel with a total diameter of 120mm and a thickness of 2mm. The wheel features a central shaft hole with a diameter of 5.1mm. The main body of the wheel is a disc that extends from the shaft radius to the outer edge, with a small groove of 1mm depth carved into the outer perimeter.
Cut two concentri... | shaftDiameter = 5.1;
wheelDiameter = 120;
shaftMargin = 10;
shaftHeight = 20;
shaftBevel = 0;
shaftR = shaftDiameter/2;
wheelR = wheelDiameter/2;
wheelHeigh = 2;
wheelGrooveDepth = 1;
slitW = 1.5;
slitL = 4;
gapBetweenSlits = 1;
strip1Count = 48;
strip1OuterR = wheelR - 3;
strip1SlitL = 2 * slitL;
strip1InnerR = stri... | glb/cad_736dd8301c3e.glb |
Create a Kalah mancala game board by starting with a rectangular block measuring 50mm wide, 150mm long, and 10mm high. Carve out a series of spherical depressions, each with a radius of 8mm and centered at a height of 5mm, to create the seed pits. Arrange these pits in two parallel rows of six, with each row spaced 24m... | height=10;
holeheight=5;
difference() {
translate([0,9,0])cube([50,150,height],center=true);
translate([12,0,holeheight])sphere(r=8);
translate([-12,0,holeheight])sphere(r=8);
translate([12,18,holeheight])sphere(r=8);
translate([12,-18,holeheight])sphere(r=8);
translate([-12,18,holeheight])sphere(r=8);
translate(... | glb/cad_2394e27cb9ed.glb |
Create a kalah game base by starting with a flat square plate measuring 40mm by 40mm with a thickness of 0.5mm. On top of this plate, place a grid of 12 small square pegs. Each peg should be a cube measuring 3.25mm on each side with a height of 3.75mm. Arrange these pegs in a 4 by 3 rectangular array. The first peg sho... | $fs = 0.1;
cube([40,40,0.5]);
for ( i = [0: 3] )
{
for (a=[0:3]){
translate([i*10,a*10,0]) translate ([5,5,0]) stift();
}}
module stift(){
translate([0,0,2])cube([3.25,3.25,3.75],center=true);
} | glb/cad_191db06d6f1a.glb |
Create a hole calibrator consisting of a rectangular base plate 2mm thick. The plate should be sized to accommodate a row of nine circular holes and their corresponding labels.
Starting from the bottom, create nine through-holes centered vertically. The first hole must have a diameter of 8mm. Each subsequent hole's d... | use <write/Write.scad>
min_size = 8;
size_step = 1.105;
num_steps = 9;
thing_height = 2;
margin_between_holes = 3;
margin_outside = 3;
margin_text = 2;
text_depth = 0.5;
extra_space_for_text = 0;
space_for_text = min_size*len(str(size_step*(num_steps-1)));
max_size = min_size+size_step*(num_steps-1);
last_cen... | glb/cad_9b0c6d4cfc63.glb |
Create a parametric ratcheting wrench for a 10mm nut. The tool consists of a handle, a gear head, and an open-end wrench head.
The handle is a combination of a cylinder and a rectangular grip. Create a cylinder for the head with a diameter of 18mm and a height of 2.5mm. Attached to this is a rectangular handle 35mm lo... | use <publicDomainGearV1.1.scad>;
use <../MCAD/shapes.scad>;
nut_size=10;
tolerance=.4;
print=1;
size=nut_size+tolerance;
length=min(max(size*5,35),200);
width=max(size,11);
thickness=max(size/4,6);
gear_size=max(size*1.7,15);
head_size=gear_size*1.2;
teeth_width=2.5;
teeth=floor(gear_size/teeth_width*3.1415926-2);
r... | glb/cad_b94d689eab36.glb |
Create a spool center holder by constructing a series of concentric cylinders. Start with a wide, flat circular base with a radius of 30mm and a height of 1.6mm. On top of this base, center a larger hollow cylinder with an outer radius of 26.5mm, an inner radius of 25mm, and a height of 10mm, creating a thin-walled rin... | module drzak()
{
difference ()
{
cylinder(h=1.6,r1=30,r2=30);
cylinder(h=1.6,r1=4.5,r2=4.5);
}
difference ()
{
cylinder(h=10,r1=26.5,r2=26.5);
cylinder(h=10,r1=25,r2=25);
}
difference ()
{
cylinder(h=10,r1=6,r2=6);
cylinder(h=10,r1=4.5,r2=4.5);
}
}
drzak(); | glb/cad_7f5e921f3c7d.glb |
Create a Z EndStop Regulator consisting of a mounting bracket and a separate plunger. For the bracket, construct a main vertical body by combining a central block measuring 3mm by 10mm by 20mm with a horizontal rectangular arm measuring 3mm by 10mm by 14mm extending from the top, and a smaller rectangular base measurin... | include <Libs.scad>;
module staffa01 (){
difference(){
union(){
translate(v = [0, 0, 5]) cube([3,10,20], center = true);
translate(v = [5.5, 0, 15]) rotate([0,90,0]) cube([3,10,14], center = true);
translate(v = [3, 0, 12]) rotate([0,90,0]) cube([5,10,4], center = true);
hexNut("M6",center=true, outline=true, p... | glb/cad_453ac6ec7a96.glb |
Create a Mister Clip for 3/8" tubing. Start with a central rectangular block measuring 13mm wide, 13mm deep, and 5mm high. Center a vertical cylindrical hole with a radius of 4.8mm through this block. To create the clipping arms, add two rectangular extensions to the main block: one measuring 10mm by 2mm by 5mm positio... | union () {
difference () {
translate([0,-3,2.5]) cube([13,13,5],center=true);
cylinder(r=4.8,h=8,$fn=40);
}
translate([0,-9.5,0]) cube([10,2,5]);
translate([8,-9.5,0]) cube([2,18,5]);
translate([8.5,9,0]) cylinder(r=1.5,h=5,$fn=40);
} | glb/cad_b319b22aceac.glb |
Create an Impossible Cube puzzle consisting of two identical mirrored interlocking parts. Each part is based on a grid of 10mm units, forming a total outer volume of 40mm x 40mm x 40mm.
Construct one part by combining several geometric elements: a central block measuring 20mm x 10mm x 20mm, and an L-shaped extension ... | u=10;
m=0.15;
r=1;
parts=0;
$fn=12;
if(!parts)for(x=[0,1])for(y=[0,1])mirror([x,0,0])mirror([0,y,0])translate([u/2,u/2,0])part(u,m,r);
if(parts==1)part(u,m,r);
if(parts==2)mirror([1,0,0])part(u,m,r);
module part(u=5,m=0.2,r=0.1)
translate([0,0,-m])
{
m=m+r;
minkowski()
{
if(r)sphere(r=r);
... | glb/cad_3f82bbaff5ff.glb |
Create a Z-Axis Shim for a 3D printer by constructing a rectangular U-shaped channel. Start with a solid rectangular block that is 9.5mm wide, 30mm long, and 9mm high. From this block, remove a smaller rectangular section from the top to create a hollow slot. This interior cutout should start 4mm from the bottom, leavi... | shim_height = 4;
shim_fins = 5;
wall_thickness = 2;
slot_width = 9.5;
shim_length = 30;
difference() {
resize([slot_width,shim_length,shim_fins+shim_height])
cube();
translate([wall_thickness,0,shim_height])
resize([slot_width-wall_thickness*2,shim_length,shim_fins])
cube();
} | glb/cad_b3191d5a29a5.glb |
Create a replacement end-stop switch spring. Start with a rectangular base block measuring 12.5mm in length, 3mm in width, and 1mm in height. Attach a vertical side wall to one end of this base, measuring 0.8mm by 2mm with a height of 6.2mm.
Add two cylindrical pegs, each 1.6mm in diameter and 5.5mm tall, positioned ... | $fa=5;
$fs=.5;
$fn=30;
module switchSpring(){
translate([3.15,1.5,.2]) cylinder(d=1.6,h=5.5);
translate([3.15+6.5,1.5,.2]) cylinder(d=1.6,h=5.5);
translate([-1,0,5.7]) cube([12.5,3,1]);
translate([-1,0,0]) cube([.8,2,6.2]);
translate([-.5,6.6,.1]) rotate([0,0,8])cube([15,5,6.6]);
translate([-... | glb/cad_eee96fd09def.glb |
Create a Minecraft Snow Golem body by stacking two cubes. Start with a large base cube measuring 18mm on all sides, centered at the origin. Place a smaller cube measuring 13mm on all sides directly on top of the base, centered horizontally. Within this top cube, carve out a square vertical hole measuring 5.9mm by 5.9mm... | union() {
difference() {
union() {
cube([13, 13, 13], center = true);
}
union() {
translate([0, 0, 5.7])
cube([5.9, 5.9, 12], center = true);
translate([0, -6.8, -3.5])
cube([2, 2, 2], center = true);
translate([0, -6.8, 0])
cube([2, 2, 2], center = true);
... | glb/cad_4c557ecda96b.glb |
Create a Graymark Model 803 Power Supply Case. Start by constructing a hollow rectangular shell with outer dimensions of 116mm in width (x), 68mm in depth (y), and 41mm in height (z). The walls of this shell should be 3mm thick.
Inside the four corners of the shell, add four solid square support pillars. Each pillar m... | shell = 3;
x = 116;
y = 68;
z = 35 + shell + shell;
hole = 2;
support = 13.5;
hs = support/2;
supp_x = (99/2) + 2.1;
supp_y = (50.3/2) + 2.1;
difference(){
union() {
difference() {
cube([x, y, z], true);
translate([0,0,shell/2])
cube([x-shell, y-shell, z-shell]... | glb/cad_49eb0540228f.glb |
Create a snap-on side cover for a ZMR 250 frame. The main body is a flat plate 35mm high. At each end of the plate, create a mounting pillar consisting of a 20-sided prism with an outer radius of 3.5mm and an inner hole radius of 2.5mm, both extending the full 35mm height.
Connect these two pillars with a curved oute... | render() SideCover(mirror=false);
module SideCover(mirror=false) {
if (mirror) {
mirror([0,1,0]) SideCoverMain();
} else {
SideCoverMain();
}
}
module SideCoverMain() {
_h = 35;
x_offset = 52;
y_offset = 0;
r_standoff = 2.5;
_t = 1;
difference() {
union... | glb/cad_60f07eadc94e.glb |
Create a 1/10 scale model of a mailbox consisting of a box, a stand, and a flag.
First, construct the mailbox body by combining a cylinder with a length of 46.97mm and a radius of 12.7mm, with a rectangular base measuring 46.97mm long, 25.4mm wide, and 3.175mm high. Hollow out the interior of this shape by removing a... | scale = .1;
inchToMm = 254;
boxLength = 18.5 * inchToMm * scale;
boxWidth = 5 * inchToMm * scale;
boxThickness = .125 * inchToMm * scale;
standRadius = 1 * inchToMm * scale;
standHeight = 48 * inchToMm * scale;
flagHeight = 3 * inchToMm * scale;
flagThickness = .125 * inchToMm * scale;
flagStandHeight = 4 * inchToMm... | glb/cad_0d44590db6c8.glb |
Create a walking stick holder consisting of three interlocking parts.
First, create a vertical body with a thickness of 15mm. This part should be 35mm wide and 105mm long with 5mm rounded corners. At the top, add an overhang that extends the total width to 45mm and has a height of 20mm. Cut a hole through the center ... | use <euglib.scad>
part_number=1;
top_hole=20;
bottom_hole=17;
mounting_hole=4;
hw=35;
hl=105+((bottom_hole>17)?(bottom_hole-17):0);
hr=5;
to=10;
th=20;
h=15;
wt=1.6;
p=2+wt;
w=20;
module snake(h=15) {
snake_section_L(w=w,h=h);
translate([3,p,0]) snake_section_R(w=w-3,h=h);
translate([3,2*p,0]) snake... | glb/cad_0643f7595d91.glb |
Create a NotSoSimpleSpinner fidget toy consisting of a central hub, three radiating arms, and two separate caps.
Start with the central hub: create a cylinder with a height of 8mm and a diameter of 12mm. Subtract a smaller concentric cylinder from the center to create a hole, then subtract a second concentric cylinde... | $fn = 60;
boxside = 12;
addmksp = true;
mksp = 2;
cornercyl = 6;
berringcenter = 4.5;
berringtolerence = .6 ;
berringends = 6;
SpinnerCentershape = "circle";
SpinnerEndshape = "circle";
numberofbumps = 4 ;
addbumps = false ;
bumpsize = 2;
numberofSpinnerEnds = 3 ;
module SimpleBerring() {
difference(){
cylin... | glb/cad_7d6f3ed49cbc.glb |
Create a watch back remover tool starting with a hexagonal base that is 5mm high. The base should be a regular hexagon with a diameter of approximately 38.97mm (calculated as the distance between opposite vertices).
On top of this base, center a ring with an outer diameter of 38.5mm and an inner diameter of 33.5mm, w... | echo(version=version());
base_height = 5;
lug_width = 2.2;
lug_height = 1.5;
lug_id = 29.5;
lug_od = 33.5;
ring_thickness=2.5;
lugs();
base();
ring();
module lugs() {
difference(){
union(){
translate([0,0,base_height+lug_height/2])
cube([lug_od, lug_width, lug_height], center=true);
translate([0,0,base_he... | glb/cad_005c34b9ae5b.glb |
Create an electric toy motor mount consisting of a rectangular base and a raised support structure. Start with a rectangular block 40mm wide, 20mm deep, and 18mm high.
At the four corners of the base, create vertical holes with a 2mm radius that pass through the entire height. Surround each of these holes with a larg... | $fn=100;
w = 120;
h = 70;
d = 1.5;
mount_w = 40;
mount_h = 20;
mount_l = 18;
r_hole = 2;
x_hole = 5;
y_hole = 5;
e_hole = 6;
module motor_scheme(){
difference(){
cylinder(r1=10, r2=10, h=26);
translate([7, -8, 0])cube([16, 16, 26]);
translate([-23, -8, 0])cube([16, 20, 26]);
}
}
mod... | glb/cad_f916077abb87.glb |
Create a Tree kit composed of intersecting low-facet prisms. Start by creating a central vertical cylinder with a height of 20mm, a radius of 17mm, and 12 facets. From the top of this base, extend two symmetrical arms that angle away from the center at 20 degrees. Each arm consists of a primary outer cylinder with a ra... | a = 13;
b = 17;
w = 1.3;
u = 1.5;
h = 20;
k = 37;
l = 9;
fs = 1.2;
rotate(180,[1,0,0]) {
difference() {
union() {
cylinder( h, b, b, $fs=fs );
}
translate([0,0,-50])
cylinder( 100, b-w, b-w, $fs=fs );
}
}
difference() {
union() {
rotate( 20,[1,0,0]) cylinder( k+l, a-u, a-u, $fs=fs );
rotate(-20,[1,0,0]) cylind... | glb/cad_e07711fb9625.glb |
Create a Tree kit component consisting of a hollowed cylindrical base and branching arms. First, construct a main trunk as a hollow cylinder with an outer radius of 17mm, an inner radius of 15.7mm, and a height of 20mm. From the top of this trunk, extend four branching arms. Two of these arms should be angled at 20 deg... | b = 17;
a = 13;
w = 1.3;
u = 1.5;
h = 20;
k = 37;
l = 9;
fs = 1.2;
rotate(180,[1,0,0]) difference() {
cylinder( h, b, b, $fs=fs );
translate([0,0,-50]) cylinder( 100, b-w, b-w, $fs=fs );
}
difference() {
union() {
rotate( 20,[1,0,0]) cylinder( k+l, a-u, a-u, $fs=fs );
rotate(-20,[1,0,0]) cylinder( k+l, a-u, ... | glb/cad_719cdd4e2e18.glb |
Create a radiation trefoil symbol with a total diameter of 37.5mm and a uniform thickness of 1mm. The design consists of a central circular hub and three radiating blades. Start by creating a central solid cylinder with a radius of 3.75mm. Surround this with a larger concentric circular void with a radius of 11.25mm. T... | part = "outline";
diameter = 37.5;
thickness = 1;
radius = diameter/2;
$fa = 10;
$fs = 1;
if (part == "trefoil") {
trefoil(radius, thickness);
} else if (part == "outline") {
trefoil_outline(radius, thickness);
} else if (part == "both") {
trefoil(radius,thickness);
trefoil_outline(radius, thickness);
} else {
... | glb/cad_abb650ce2107.glb |
Create a lens cover consisting of two concentric cylindrical sections. First, create a wide, shallow base cylinder with a diameter of 30mm and a height of 2mm. Centered on top of this base, add a second, taller cylinder with a diameter of 27.7mm and a height of 7mm. Finally, carve out a central hole from the top of the... | $fn=200;
difference(){
union(){
cylinder(2,30,30);
cylinder(7,27.7,27.7);
}
translate([0,0,2]) cylinder(7,25.9,25.9);
} | glb/cad_4b8295e238a2.glb |
Create a Dome Hair Shield consisting of a hollow hemispherical shell and a flat circular base. Start by creating a hollow hemisphere with an outside diameter of 50mm and a wall thickness of 1mm. Attach this to a flat, ring-shaped base with an outer diameter of 60mm and a thickness of 1mm; the inner diameter of this rin... | base_length_from_dome = 5;
dome_outside_diameter = 50;
hole_diameter = 2;
hole_separation_multiplier = 2.5;
thickness = 1;
module base() {
linear_extrude(thickness)
difference() {
circle(d=(dome_outside_diameter + base_length_from_dome*2));
circle(d=dome_outside_diameter - thickness);
}
}
module... | glb/cad_75b12bfb94fd.glb |
Create a Fleet boardgame box consisting of a main container and a matching lid.
The main container is a rectangular box with outer dimensions of 80mm width, 110mm height, and 14mm depth. The walls are 2mm thick. The interior cavity is 76mm wide and 106mm high, with a depth of 12mm.
The lid is a flat rectangular cove... | include <../box_template.scad>;
$fn = 40;
wall = 2;
width=1;
height = 2;
deep = 6;
large_width=76+2;
large_height =106+2;
large_deep = 10+2;
small_width= 63+2;
small_height= 88 +2;
small_deep = 38;
fudge = 0.1;
module poly_leet(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
difference()
{
linear_ex... | glb/cad_cc831cc1a488.glb |
Create a rectangular inset lid for a board game box. The overall outer dimensions of the lid are 86.5mm in width, 104.5mm in height, and 38mm in depth.
The lid is a hollowed-out shell. Create a central rectangular cavity that removes material from the top, leaving a wall thickness of 1.5mm on all four sides. The inte... | include <../box_template2.scad>;
include <fleet_logo.scad>;
include <fleet_logo_inverz.scad>;
include <fleet_logo_kicsi.scad>;
include <fleet_logo_kicsi_inverz.scad>;
include <fleet_anchor.scad>;
include <fleet_anchor_inverz.scad>;
$fn = 40;
width=1;
height = 2;
deep = 6;
s = _box_size(width,height,deep);
in = _box_i... | glb/cad_3a9a7cc60c63.glb |
Create a peristaltic dosing pump consisting of a rotating rotor and a fixed housing.
First, construct the rotating part as a cylinder with a diameter of 35mm and a height of 6mm. Centered within this cylinder, create a vertical hole with a diameter of 5.7mm and a height of 3mm, and a second vertical hole with a diame... | $fn=80;
module bearing() {
difference() {
cylinder (d=16, h=5, center=true);
cylinder (d=5, h=5.1, center=true);
}
}
module bearings() {
translate([0,0,6]) {
translate([8,8,0]) bearing();
rotate([0,0,120]) translate([8,8,0]) bearing();
rotate([0,0,240]) translate([8,8,0]) bearing();
tran... | glb/cad_9e6f5dc294e9.glb |
Create a Z-axis filament protector consisting of a hollow, tapered cylindrical shell. Start with a base ring that has an inner diameter of 20.5mm and an outer diameter of 24.5mm, extruded to a height of 5.25mm. Within this base, create three rectangular cutouts spaced 120 degrees apart; each cutout should be 6.25mm wid... | $fs = 0.1;
id_base = 20.5;
id_top = 6;
d_screwhead = 5;
h_top = 15;
h_base = 3;
h_screwhead = 2.25;
thickness = 2;
h_filament = 10;
module ring(d1, d2) {
difference() {
circle(d2/2);
circle(d1/2);
}
}
module sleeve(d1,d2,h) {
linear_extrude(h)
ring(d1,d2);
}
module base() {
sleeve(i... | glb/cad_f2a58de091b9.glb |
Create a modular parametric robot consisting of a central body, two shoulders, and a base plate. Start with a rectangular base plate measuring 30mm by 40mm with a thickness of 2.5mm.
Construct the main body by creating a central block 12mm wide, 16mm deep, and 21mm high. Modify the head area by scaling a sphere to 18... | module shoulder()
{
intersection()
{
cube([18,9,18],true);
rotate([0,45,0]) cube([18,12,18],true);
translate([-9,0,0]) rotate([0,90,0]) cylinder(r=8, h=19, $fn=16);
}
translate([-9.5,0-1.5,-0.75]) rotate([45,0,0])cube([0.8,4,1]);
translate([-9.5,-1-1.5,2.25]) rotate([-45,0,0])cube([0.8,4,1]);
translate... | glb/cad_83f012aac511.glb |
Create a modular robot leg assembly consisting of a flat rectangular base and two symmetrical leg structures. Start by creating a rectangular base plate measuring 25mm by 40mm with a thickness of 2.5mm, centered at coordinates -13, -20, 20.
Construct the legs using a mirrored pair of components. Each leg begins with ... | use <mech_body.scad>
module legs1()
{
difference()
{
union()
{
translate([0,9,0])foot();
translate([0,-9,0])mirror([ 0, 1, 0 ]) foot();
intersection()
{
scale([1,1.3,1])translate([0,0,17]) cylinder(r=8,h=3,$fn=30);
translate([0,0,20]) scale([1,1.3,1])sphere(r=8);
}
}
translate([0,0,... | glb/cad_2b42b595b677.glb |
Create a modular robot component consisting of a flat rectangular base plate and two protruding cylindrical arm assemblies. Start by creating a vertical rectangular bottom plate with dimensions 3mm by 27mm by 36mm, positioned at [8.5, -35, -19].
Attached to this plate, construct two identical parallel arm assemblies. ... | use <mech_body.scad>
use <mech_legs1.scad>
module gun()
{
translate([-5,-21,2.5])rotate([0,90,0]) cylinder(r=4,h=15);
translate([-12,-21,2.5])
for ( i = [0 :7] )
{
rotate( i * 360 / 8, [1, 0, 0])
translate([0, 3.7, 0])
rotate([0,90,0]) cylinder(r=1.5,h=15,$fn=10);
}
translate([-8,-21,2.5])rotat... | glb/cad_b54b80a79bb4.glb |
Create a modular parametric robot consisting of several intersecting geometric components. Start with a central core made from a 20x16x16mm cube centered at [-5, 17, -6], with a larger 20x14x14mm cube removed from the center at [-20, 18, -5]. Add a side panel by placing a 20x3x14mm cube at [-5, 32, -5], then remove sev... | use<mech_body.scad>;
module rocket()
{
rotate([0,90,0]) cylinder(r=2.01, h=20, $fn=20);
translate([-4,0,0]) rotate([0,90,0]) cylinder(r1=0.5,r2=2, h=4, $fn=20);
}
module rocket_final()
{
difference()
{
union()
{
translate([-5,20,-3]) rocket();
translate([-5,20,2]) rocket();
translate([-5,20,7]) roc... | glb/cad_5e7c1e9c7b33.glb |
Create a modular parametric robot arm component. Begin by forming the main body through the intersection of two cubes: one measuring 15x10x10mm positioned at [-8, 17, -6] and rotated [0, -20, 0], and another measuring 15x11x11mm positioned at [-8, 22, -8] and rotated [45, -20, 0]. For the lower arm, intersect a 10x10x1... | use<mech_body.scad>;
use <parametric_involute_gear_v5.0.scad>
module arm()
{
intersection()
{
translate([-8,17,-6])rotate([0,-20,0])cube([15,10,10]);
translate([-8,22,-8])rotate([45,-20,0])cube([15,11,11]);
}
intersection()
{
translate([-20,17,-6])rotate([0,-0,0])cube([10,10,10]);
translate([-20,22,-8]... | glb/cad_0c15996e72d5.glb |
Create a modular parametric robot body. Start with a central rectangular block measuring 18.5mm x 10mm x 20mm, positioned at [0.5, 0, 1]. Remove a section from the front using a block of 15mm x 15mm x 22mm rotated 30 degrees on the Y-axis, centered at [-15, -3, 9]. Add a vertical hole with a radius of 1.65mm and a heig... | use<mech_body.scad>;
module wheels()
{
difference()
{
translate([0.5,0,1]) cube([18.5,10,20]);
translate([-15,-3,9]) rotate([0,30,0]) cube([15,15,22]);
translate([12,5,21-8]) cylinder(r=1.65,h=28, $fn=9);
}
difference()
{
translate([-3,10,0]) monowheel();
translate([-1.75,21,1]) scale([0.9,0.1,0.9... | glb/cad_7ab7f9bacbf2.glb |
Create a Suleve Corner bracket for 2020 extrusions. The object is composed of three identical plates, each measuring 20mm in height, 17mm in width, and 3mm in thickness.
First, create a base flat plate with these dimensions. Center a circular hole with a diameter of 5.5mm through the thickness of this plate, position... | $fn = 36;
include <handyscad/handyscad.scad>
ht = 20;
wd = 17;
th = 3;
ho = 5.5;
myp = [ [th,00,th],
[ht,00,th],
[th,00,ht],
[th,th,th],
[ht,th,th],
[th,th,ht],
];
myf = [ [0,1,2],
[3,5,4],
[0,2,5,3],
[0,3,4,1],
[1,4,5,2],
];
modul... | glb/cad_b0f4290dad9b.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.