Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Soldering Iron Stand starting with a solid rectangular block 80mm wide, 100mm long, and 20mm high. Round over all top edges and vertical corners with a radius of 3.5mm.
On the top surface, carve out a central square pocket for a sponge that is 63mm wide and 63mm long, with a depth of 15mm. Near the center of... | W=80;
L=100;
H=20;
TOP_RO_R=3.5;
BOT_RO_R=2.5;
SPN_CO_D=15;
STD_W=19;
STD_L=3;
STD_D=17;
FOOT_H=6;
FOOT_R=10;
include <MCAD\2Dshapes.scad>;
module roundOver(radius=10,
depth=5,
angle=90,
$fn=64,
length)
{
linear_extrude(height=length,
center=false,
convexity=10,
twist=0)
... | glb/cad_99573346c474.glb |
Create an Earbud Wrap designed to organize cables and store ear pieces. Start by constructing the main body as a flattened sphere with a radius of 25mm, scaled to 50% on its Y-axis. Within this body, create a radial pattern of nine spokes, each being a truncated cone with a bottom radius of 8mm and a top radius of 5mm,... | rotate([90,0,0])
all();
module all()
{
difference()
{
body();
earhole();
scale([-1,1,1])
earhole();
translate([-50,-19,-50])
cube([100, 10, 100]);
translate([0, -7.8, -2]) rotate([90,0,0]) scale(.7)
rwr2017();
}
}
module earh... | glb/cad_95b94a0b3a99.glb |
Create a logic analyzer enclosure consisting of a main box and a sliding lid.
The main box is a rounded rectangular shell with outer dimensions of 66.1mm length, 46.1mm width, and 12.5mm height. The walls are 2.5mm thick. The four vertical corners are rounded with a 3mm radius. The interior floor features four suppor... | low = 1;
i_width = 40.6;
i_length = 56.8;
i_height = low ? 10.0 : 14.5;
wall = 2.5;
border = 0.6;
support_w = 7.0;
support_h = 2.0;
hole_w = 34.0;
hole_l = 49.5;
hole_r = 1.6;
usb_offset_y = 13.0;
usb_offset_h = 1.4;
usb_width = 10.0;
usb_height = 6.0;
power_offset_x = low ? -1: 4.0;
power_offset_y = 27.0;
power_len... | glb/cad_651b6f455825.glb |
Create an Asteroid Rock Generator model by generating a convex hull around a collection of small spheres. Distribute these spheres in a spherical pattern with a base radius of 150mm. For every 20 degrees of rotation around the vertical axis and every 20 degrees of inclination from 0 to 170 degrees, place a sphere with ... | size = 150;
deformation_scale = 50;
deform_seed = 42;
skew_scale = .5;
skew_seed = 51;
resolution = 20;
finest_point = 6;
$fn = 4;
hull(){
translate([.1*size, 0, 0]) {
random_skew=rands(0, skew_scale, 4, skew_seed);
echo ("random_skew", random_skew);
scale([ 1 + random_skew[0], 1 + random_skew[1], 1 +... | glb/cad_843ab0867e9a.glb |
Create an SN04 sensor mounting bracket consisting of a baseplate and alignment features. The baseplate is a rectangular slab 60mm wide, 74mm high, and 5mm thick, with rounded corners of 5mm radius.
At a height of 60mm from the bottom, center two cylindrical pillars with an outer diameter of 7mm and a height of 1mm. Dr... | width = 60;
height = 74;
thickness = 5;
corner_radius = 5;
corner_radius_segments = 8;
sensor_slots_offset = 3.5;
pillar_height = 1;
pillar_y_offset = 60;
pillar_distance = 38;
pillar_diameter = 7;
pillar_hole_diameter = 3.5;
pillar_segments = 32;
enable_top_bearing_pins = false;
enable_top_bearing_cutouts = false... | glb/cad_2fe4a2cedf25.glb |
Create a parametric vacuum tube socket by starting with a solid cylinder that has a height of 7mm and an outer diameter of 20.75mm. Remove a smaller concentric cylinder from the center with a diameter of 14.25mm to create a thick-walled ring. Around this ring, place 22 evenly spaced vertical holes, each with a diameter... | pin_ring_diameter=17;
pin_size=1.75;
pin_count=22;
height=7;
difference()
{
cylinder(r=(pin_ring_diameter/2)+(2*(pin_size/2)),h=height,$fn=64);
cylinder(r=(pin_ring_diameter/2)-(2*(pin_size/2)),h=height+1,$fn=64);
for (i=[0:(360/pin_count):360])
{
rotate([0,0,i])
translate([(pin_ring_diameter/2),0,0])
cylinder(r=... | glb/cad_0ca8de7d75cc.glb |
Create a nametag with a base plate measuring 32mm wide and 54mm tall, with a thickness of 2mm and rounded corners with a 3mm radius. At the top center of the plate, create a rectangular slot 15mm wide and 5mm tall, with a 1.5mm corner radius, that penetrates through the entire thickness of the base.
On the top surface... | TagName = "Medlem";
show_foreground_objects = 1;
show_background_objects = 1;
BackgroundColor = "Lime";
ForegroundColor = "Black";
BoardWidth = 32;
LogoYPosition = 0;
TagYPosition = 20;
if (show_foreground_objects) {
translate([-.2, TagYPosition, 0.4]){
color(ForegroundColor)
linear_extrude(height = .6)
... | glb/cad_b0c6b2da0472.glb |
Create a cufflink consisting of a decorative head and a locking toggle mechanism.
For the head, create a rounded cube (dice) with a side length of 30mm and a corner radius of approximately 4.3mm. On each face, subtract spherical indentations with a radius of 3mm to represent dice pips. Position the head so it is scal... | height=12;
length=10;
space=0.3;
resolution=50;
assembly();
module assembly() {
top();
stift();
flip();
}
module top(){
difference(){
translate([ -9.5, 0, height+2.5])
rotate([ 40, 35, 0 ])
scale([0.4,0.4,0.4])
dice(len);
cube([height*2,height*2,(length+space)*2], center=true);
}
}
module flip(... | glb/cad_96fcbf02dfaf.glb |
Create a cufflink consisting of a decorative top, a connecting stem, and a locking base. Start by creating the top piece as a cylinder with a radius of 2.25mm and a height of 8mm, centered on the Z-axis. Below this, create a vertical stem that is 12mm tall. This stem is formed by a hull of two circles with 2mm radii, s... | height=12;
length=10;
space=0.3;
resolution=50;
assembly();
module assembly() {
top();
stift();
flip();
}
module top(){
translate([0,0,height+5])
cylinder(r=4.5/2,h=8,center = true,$fn=resolution);
translate([-1.5,0,height-.5])
linear_extrude(height = 1.5, center = false, convexity = 10, twist = 0)
hull... | glb/cad_b33d4f4e34b1.glb |
Create a cufflink consisting of a decorative top, a connecting stem, and a locking toggle.
For the decorative top, create a pill-shaped base by forming a hull between two circles of radius 7mm spaced 11mm apart, extruded to a height of 4mm. Centered on top of this base, add a second pill-shaped layer with a radius of... | height=12;
length=10;
space=0.3;
resolution=50;
use <write/Write.scad>
assembly();
module assembly() {
rotate([ 0, 0, 90 ])
top();
stift();
flip();
}
module top(){
translate([0,0,height+2])
write("2O14",t=2,h=7,center=true,font="orbitron.dxf");
difference(){
translate([-5.5,0,height+1])
linear_extrude(hei... | glb/cad_90eae18ce57d.glb |
Create a Print Bed Level Check tool by constructing a thin, rectangular hollow frame with a cross-shaped internal reinforcement. Start by creating a solid rectangular slab 225mm wide, 145mm deep, and 0.2mm high. Remove a smaller rectangular center section measuring 223mm by 143mm and 0.2mm high to leave a perimeter wal... | use <utils/build_plate.scad>
build_plate_selector = 1;
build_plate_manual_x = 100;
build_plate_manual_y = 100;
thick = 1;
height = 0.2;
if(build_plate_selector == 0){
outline(285,153,height,thick);
}
if(build_plate_selector == 1){
outline(225,145,height,thick);
}
if(build_plate_selector == 2){
outline(120,12... | glb/cad_d74055a21533.glb |
Create a toy badge clip consisting of a square base and a central circular gripping ring. Start with a square base measuring 38mm by 38mm with a thickness of 2mm. Round the four corners of this base using a radius of 9.5mm.
In the center of the base, create a circular ring with an outer diameter of 29mm and a height o... | dimension = 38;
height = 2;
center_diameter = 25;
tab_height = 4;
tab_top_thickness = 3;
tab_thickness = 2;
tab_wedge_height = 2;
tabs = 8;
tab_space = 4.5;
tab_start_angle = 25;
union() {
difference() {
cube([dimension,dimension,height]);
translate([dimension/2,dimension/2,-1])
cyl... | glb/cad_8544bdbe4a52.glb |
Create a parametric slanted spacer by starting with a cylinder that has an outer diameter of 9mm and a total height of approximately 6.28mm. Bore a concentric hole through the center with a diameter of 5.25mm. To create the slanted top surface, cut away the upper portion of the cylinder using a plane angled at 20 degre... | tolerance = 0.25;
inner = 5 + tolerance;
outer = 9;
angle = 20;
thickness = 3;
module washer (inner, outer, thickness, angle) {
allthick = thickness + outer*tan(angle);
difference() {
cylinder(d=outer, h=allthick, $fn=60);
translate([0,0,-allthick])
cylinder(d=inner, h=allthick*3, $... | glb/cad_02d03db4634f.glb |
Create a tiny Arduino nano V3 box with drv8825 support. Start by constructing a rectangular outer shell with a total height of 25mm, a width of 40mm, and a length of 60mm. The walls should have a uniform thickness of 1.25mm.
Inside the box, create two vertical support walls to hold a Nano board. These supports should... | box_w = 40;
box_h = 60;
box_total_height = 25;
thickness=1.25;
$fn=100;
nano_width = 18.75;
nano_height = 42;
module nano(){
color("red"){
cube( [nano_width, nano_height, 1.25]);
translate( [(nano_width-7.5)/2, 35, 2]){
cube( [7.5,9, 3.7]);
}
}
}
module driver(){
color("red"){
cub... | glb/cad_0bbdde864975.glb |
Create a prototype board base by starting with a rectangular plate measuring 150mm in width, 165mm in length, and 3mm in height. Position this plate so its center is aligned with the origin, extending from -65mm to 100mm along the length axis.
Add four small support feet to the underside of the plate. Each foot is a 2... | include <includes/module-thread.scad>
color ("Gainsboro")
{
plateau();
translate([140,-65,0]) pied();
translate([10,-45,0]) rotate([0,0,180]) pied();
translate([140,80,0]) pied();
translate([10,100,0]) rotate([0,0,180]) pied();
}
module trou(){
# translate([0,0,0]) cylinder(h=10 ,d=3 , $fn=100);
translate([6... | glb/cad_488a1055f085.glb |
Create a PicoAPRS protector box designed to house a circuit board of 33.5mm x 24.5mm x 59mm. The main body is a rectangular enclosure with a wall thickness of 1.5mm.
On one side, integrate two cylindrical mounting lugs for attachment. These lugs are created by forming a hull between two cylinders with a radius of 11m... | $fn=40;
picoX=33.5;
picoY=24.5;
picoZ=59;
antenne=16.5;
connect=40;
paroi=1.5;
fixation=16;
difference(){
leftbox=3.8;
union(){
hull(){
translate([-paroi-leftbox,-paroi,-paroi])cube ([picoX+(2*paroi)+leftbox,picoY+(2*paroi),picoZ+(2*paroi)]);
translate([picoX*2/3+3+paroi,-paroi,-fixati... | glb/cad_f163931557b4.glb |
Create a rabbit ring consisting of a circular band and two upright ears. Start by forming the ring as a sphere with a diameter of 14mm, then flatten it by removing the top and bottom sections to create a band with a total height of 4mm. Cut a cylindrical hole through the center of this band with a diameter of 12mm.
To... | $fn=200;
inner_ring_diameter = 12;
enable_double_sided = 0;
outer_ring_diameter = inner_ring_diameter+2;
ear_length = 11;
ear_width = 4;
ring_heigth = 4;
distance_between_ears = 8;
module ears() {
difference() {
translate([ear_length/2,-1*(distance_between_ears/2),0]) rotate([0,0,70]) resize(newsize=[ear_widt... | glb/cad_329a77db2b61.glb |
Create a two-part protective case for a Raspberry Pi Model B+ and a UnicornHat. The overall internal cavity should accommodate a PCB of 85mm by 56mm.
For the bottom section, create a tray with a wall thickness of 1.2mm. Include a recessed floor 4mm below the PCB level. Add four cylindrical mounting pedestals at the PC... | part = "all";
have_plugrow = 0;
have_open_plugrow = 0;
have_camera = 0;
have_unicorn = 1;
have_sdcard_support = 1;
have_leds = 0;
mil2mm = 0.0254;
pcb = [85.0, 56.0, 1.5];
pcb2floor = 4.0;
pcb2roof = 17.0;
pcbmntdia = 2.75;
pcbmnt1dx = pcb[0]/2 - 3.5;
pcbmnt1dy = 3.5 - pcb[1]/2;
pcbmnt2dx = pcb[0]/2 - 3.5 - 58.0;
p... | glb/cad_561f1b1f5465.glb |
Create a PSU Cover by starting with a solid rectangular block measuring 101.7mm in width, 45mm in depth, and 39.6mm in height. From this main volume, remove a central rectangular section to create a hollow interior that is 98.5mm wide, 30mm deep, and 38mm high, positioned 1.6mm from the front, top, and side faces. To a... | psuWidth = 98.5;
psuHeight = 38.0;
psuDepth = 30.0;
protectDepth = 15.0;
protectZOffset = 9.0;
protectXOffset = 8.0;
protectHeight = 14.0;
wallThick = 1.6;
difference() {
translate([0, -protectDepth, 0])
cube([psuWidth + 2*wallThick, psuDepth+protectDepth, psuHeight + 1*wallThick]);
translate([wal... | glb/cad_26a505ceb1da.glb |
Create a Rubble Dabble wargaming terrain plate. Start with a rectangular base measuring 133.35mm in width, 66.675mm in breadth, and 3mm in height.
On top of this base, distribute a variety of rubble features with an average size of 26mm. Include 45 randomly rotated and scaled cubes, 1 sphere with a low facet count of... | part = 1;
W=133.35 ;
B=66.675 ;
H=12.25 ;
Base=3;
AvrgFeatureSize=26 ;
cubes=45 ;
spheres=1;
cylinders=3;
mounds=4;
craters=3;
MoundHeightMultiplier=0.75;
Cratering=1.5 ;
Az=AvrgFeatureSize;
translate([-W/2,-B/2,0])cube([W,B,Base]);
difference(){
union(){
plate();
mounds();}
translate([0,0,H+Az*0.25 ])... | glb/cad_2c15a7f467d8.glb |
Create a customizable fidget spinner by designing a central body with holes for bearings. Start with a central cylinder that has a diameter of 22.3mm and a height of 7mm. Around this center, place three additional cylinders of the same dimensions, spaced equally at 120-degree intervals, each positioned 40mm from the ce... | bearingCount = 3;
bearingRadius = 11;
bearingHeight = 7;
bearingDistance = 40;
thickness = 5;
tolerance = .3;
$fn = 80;
bearingDiameter = (bearingRadius*2) + tolerance;
difference() {
for(i = [1:bearingCount]){
hull() {
rotate([0,0,(360/bearingCount)*i]) {
translate([bear... | glb/cad_40fe513cef3e.glb |
Create a scale model traffic cone with a total height of 50mm. Start by constructing a square base 30mm wide and 2mm thick, with the corners rounded to a radius of 18mm. Centered on this base, build a hollow truncated cone that extends to the full height of 50mm. The outer wall of this cone should taper from a bottom r... | height = 50;
base_width = 30;
top_width = 5;
base_height = 2;
wall_thickness = 1;
difference() {
union() {
intersection() {
translate([-base_width/2,-base_width/2,0]) cube([base_width,base_width,base_height]);
cylinder(r=0.6*base_width,h=base_height);
}
cylinder(r1=b... | glb/cad_bf736ed3f266.glb |
Create a Geocache Logbuch Spieß by constructing a composite geometric shape based on a radius of 10mm. Start by creating a sphere with a radius of 5mm. Intersect this sphere with a large cube to remove the bottom half, leaving a hemisphere. Centered on top of this hemisphere, place a vertical cylinder with a height of ... | Spiess (10,30);
module Spiess (radius,rundung,)
{
difference(){
cylinder (r=2.5,h=radius*0.3,$fn=rundung);
{
cylinder (r=radius/7.5,h=radius*0.3,$fn=rundung);
}
}
difference ()
{
difference ()
{
sphere (r=radius/2, $fn=rundung*2);
translate ([-radius*2,-radius*2,0])
{
cube (radius*4);
}
}
translate([-radius*3,-rad... | glb/cad_d2f4ad3e4aea.glb |
Create a Geocache Logbuch Spieß by constructing a composite geometric shape. Start with a central sphere with a radius of 5mm. Cut away the bottom half of this sphere using a large cube to leave only a hemispherical dome. Position a cylinder vertically in the center of the flat circular face of the hemisphere; this cyl... | Spiess (10,30);
module Spiess (radius,rundung,)
{
{
cylinder (r=radius/10,h=radius*0.3,$fn=rundung);
}
difference ()
{
difference ()
{
sphere (r=radius/2, $fn=rundung*2);
translate ([-radius*2,-radius*2,0])
{
cube (radius*4);
}
}
translate([-radius*3,-radius*3,-radius*6.2]){
cube (radius*6);
}
}
} | glb/cad_9facfc1814a1.glb |
Create an Extruder Holder consisting of a flat base plate and several vertical supports. The base is a rectangular slab measuring 61.6mm by 48.3mm with a thickness of 3mm.
At the corners of the base, add vertical walls 3mm thick and 45mm high. On the right side, these walls are 9mm wide. On the left side, create two ... | x=55.6;
y=42.3;
z=42;
width=3;
dia=13;
$fs=0.01;
difference(){
union(){
cube(size = [x+2*width, y+2*width, width]);
translate([x+2*width-9, 0, 0]){
cube(size=[9, width, z+width]);
translate([9-width, 0, 0])
cube(size=[width, 9, z+width]);
}
translate([x+2*width-9, y+width, 0]){
cube(size=[9, wi... | glb/cad_7342ff7f40c3.glb |
Create a Hakko T12 Handle Holder consisting of a mounting base and a tilted support sleeve.
First, construct the support sleeve by creating a hull between two cylinders: a larger cylinder with a diameter of 27mm and a height of 11mm, and a smaller cylinder with a diameter of 23.4mm and a height of 3mm positioned dire... | DEBUG=false;
SHOW_BASE = false;
SHOW_HOLDER = false;
HC1Dia = 17.4;
HC1Len = 3.0;
HC2Dia = 21.0;
HC2Len = 8.0;
HWW = 3.0;
HolderAng = 20;
HolderConW = 5.0;
HolderConH = 8.0;
HolderConD = HWW-0.4;
BaseW = 30.0;
BaseL = 20.0;
BaseWW = 3.0;
BaseArmW = 8.0;
BaseArmL = 10.0;
BaseArmH = 20.0;
BaseArmOffset = 5.0;
BaseScr... | glb/cad_2b9f8b3daf10.glb |
Create a Helmer Drawer Endstop by constructing a primary vertical block and an attached L-shaped base. Start with a main rectangular column measuring 10mm by 10mm with a height of 27mm. At the top of this column, attach a horizontal rectangular wing measuring 16mm by 10mm by 4mm, extending from the side. At the bottom ... | $fn=16;
rotate([90,0,0])difference(){
union(){
cube([10,10,27]);
translate([-16,0,23])cube([16,10,4]);
translate([-3,0,0])cube([3,10,5]);
translate([-10,5,23])cylinder(d=10,h=8);
}
translate([-2,0,2])cube([10,10,21]);
translate([-10,5,22])cylinder(d=5.5,h=10);
}
transl... | glb/cad_759e1bf89ec2.glb |
Create a plug prototype starting with a main cylindrical body 40mm long with a radius of 17.5mm. Carve out a rectangular slot measuring 13mm by 3mm by 23mm, rotated -108 degrees, from the side of the cylinder. Remove two large rectangular slabs measuring 10mm by 50mm by 2mm from the sides and a small 5mm cube and 2.5mm... | module plug()
union()
{
difference()
{
rotate([0,90,0])
{
cylinder(h = 40, r = 17.5);
translate([-15,12,8.5])
{
rotate([0,0,-108])
{
cube(size = [13,3,23], center = false);
}
}
}
translate([18,5,10])
{
rotate([0,90,90])
{
cube([10,50,2]);
}
}
translate([18,... | glb/cad_30f848192ff4.glb |
Create a door stopper with a total length of 125mm, a width of 40mm, and a height of 20mm. The main body is a wedge shape, starting at the full 20mm height on one end and sloping down to 0mm at the opposite end.
From the top surface, carve out a centered rectangular inset to create a recessed area. This inset should ... | door_stopper_simple ();
module door_stopper ()
{
height = 25 ;
length = 135 ;
width= 62 ;
half_width = width / 2;
borders = 10;
bottom_cube_length = length - 4.5 * borders;
bottom_cube_width = width - 2 * borders;
bottom_cube_height = 6.0 ;
bottom_z = 0;
top_cube_length = l... | glb/cad_50af07fd8014.glb |
Create a door stopper with a total length of 120mm, a width of 60mm, and a height of 25mm. The main body is a wedge shape that slopes from the full height of 25mm at the back down to 0mm at the front.
From this wedge, remove two rectangular sections to create inset areas for text. First, create a bottom inset centered... | door_stopper ();
module door_stopper ()
{
height = 25 ;
length = 120 ;
width= 60 ;
half_width = width / 2;
borders = 10;
bottom_cube_length = length - 4 * borders;
bottom_cube_width = width - 2 * borders;
bottom_cube_height = 6.0 ;
bottom_z = 0;
top_cube_length = length - 4... | glb/cad_5b17866675bf.glb |
Create a trigger sled for a rubber band shooter. Start with a main rectangular body measuring 120mm in length, 13mm in width, and 5mm in height. At the front end, add a wedge-shaped section by placing a 20mm by 20mm by 7mm cube rotated 45 degrees on the Z-axis. Carve out a central inner void measuring 120mm long, 5mm w... | difference() {
translate ([0, 0.1, 0]) {cube ([120, 13, 5]);}
translate ([0, 4, 0]) rotate ([0, 0, 45]) {cube ([20, 20, 7]); }
translate ([10, 6.5, -1]) {cube ([120, 5, 7]); }
notch ();
translate ([5*1, 0, 0]) notch();
translate ([5*2, 0, 0]) notch();
translate ([5*3, 0, 0]) notch();
translate ([5*4, 0, 0]) notch();
t... | glb/cad_b69874849049.glb |
Create a Shapeoko 2 Y Home/Limit Switch Mount by constructing a base block and mirroring it to create a pair. For a single mount, start with a composite base formed by four overlapping rectangular prisms: one measuring 26 by 28.5 by 4mm, one 5 by 28.5 by 13mm, one 4 by 28.5 by 11mm, and one 1 by 28.5 by 8mm, all aligne... | use <MCAD/nuts_and_bolts.scad>
ystop();
translate([-18,0,0]) scale([-1,1,1]) ystop();
module ystop(){
difference(){
union(){
translate([-5,-4,0]) cube([26,28.5,4]);
translate([-8,-4,0]) cube([5,28.5,9+4]);
translate([-3,-4,0]) cube([4,28.5,9+2]);
translate([1,-4,0]) cube([1,28.5,8]);}
translate([7,0,-1]) cylinder(r=... | glb/cad_a8996156121a.glb |
Create a Tulpa Switch Tag consisting of a base plate and a raised emblem. Start with a base plate 2mm thick and 30mm wide. The top edge of the plate is a straight line 15mm long, while the sides curve downward and inward to form a rounded bottom, creating a shield-like silhouette.
On the top surface of the base, crea... | $fs = 0.8;
chipWidth = 30;
chipTopSquare = 15;
chipCircle = 30;
rimThickness = 1;
magnetTopDistance = 3;
positiveHeight = 2;
rimHeight = 2.8;
module circleSection() {
intersection() {
intersection_for(x = [-1, 1]) {
translate([x*(chipCircle - chipWidth/2), 0])
circle(r = chipCircle);
}
translate([-... | glb/cad_0c474db2d7a0.glb |
Create an iRobot Create Power Adapter Holder consisting of two primary components: a base tray and a vertical support structure.
First, construct a base tray as a rectangular block 100mm wide, 14mm deep, and 7mm high.
Second, create a hollowed-out cradle for the adapter. Start with a solid form composed of two oute... | $fn=100;
d1=45.5;
d11=d1+4;
l=120.0;
difference()
{
union()
{
translate([l/2-d1/2, 0, 0])
cylinder(d=d11, h=20);
translate([-1*(l/2-d1/2), 0, 0])
cylinder(d=d11, h=20);
translate([-(119-d1)/2, -(d11)/2 ,0 ])
cube([119-d1, d11, 20]);
}
union()
... | glb/cad_03a70010de84.glb |
Create a remote control battery cover with a rectangular base measuring 25mm by 53mm and a thickness of 3mm. The main body is formed by a hull connecting four cylinders of 2.5mm radius: two positioned at the corners of one 25mm side and two at the corners of the opposite 53mm side, creating rounded corners.
On the to... | module trappe_telecommande_sat() {
$fn=30;
l=53;
ll=25;
rr=2.5;
llp=19;
llp2=15.5;
e1=2.2;
e1p=3;
e2=10;
e2p=11.5;
Lang_l=7.5;
Lang_e=3;
Lang_h=e2p-3;
L2_t=57;
L3_t=58.5;
L2_l=15.5;
L3_l=9;
deff=4;
difference() {
union() {
hull() {... | glb/cad_d54d46b552e5.glb |
Create a Crystal Star Tree by generating a hollow, twisted geometric column. Start by defining a star-shaped profile with 8 points and a radius of 50mm. Extrude this star profile vertically to a height of 150mm, applying a 180-degree twist along the Z-axis and scaling the top face down to 1% of the base size to create ... | height=150;
radius=50;
points=8;
function starvec(theta, n, s1, s2, i) = (i < n-1)?concat([[(i%2?s1:s2)*sin(theta*i),(i%2?s1:s2)*cos(theta*i)]], starvec(theta,n,s1,s2,i+1)) : [[(i%2?s1:s2)*sin(theta*i),(i%2?s1:s2)*cos(theta*i)]];
module star(r, n, i = 0.5) {
p = starvec(360.0/(n*2),n*2,r,i*r,0);
polygon(point... | glb/cad_e07e7d335d95.glb |
Create a two-part amplifier case consisting of a base and a cover, both featuring rounded corners with a 2mm radius.
The base is a hollowed rectangular shell with outer dimensions of 92mm by 63mm and a height of 23mm. On one side wall, centered at x=50, create four circular cut-through holes of varying sizes: a 10mm ... | $fn = 40;
module miniroundsphere(size, radius)
{
$fn = 20;
x = size[0]-radius/2;
y = size[1]-radius/2;
minkowski()
{
cube(size=[x,y,size[2]], center=true);
sphere(r=radius);
}
}
module miniroundcylinder(size, radius)
{
$fn = 20;
x = size[0]-radius/2;
y = size[1]-radius/2;
minkowski()
{
cube(size=[... | glb/cad_426e938fcb22.glb |
Create a caravan lamp shader in the shape of a hollow truncated cone. The main body should have a total height of 120mm, tapering from a bottom radius of 45mm to a top radius of 35mm. The walls of this cone are thin, created by removing a concentric inner cone that is 1mm smaller in radius at both the top and bottom.
... | $fn = 200;
module lamp()
{
translate([0,0,-1.5])
union()
{
difference()
{
cylinder(h=3, r=42, center=true);
cylinder(h=3.1, r=38.5, center=true);
}
for (i = [0:7])
{
translate([sin(360*i/8)*31, cos(360*i/8)*31, 0])
rotate(360*i/8, [0, 0, -1])
cube([4.1, 16, 3], center=true);
}
... | glb/cad_b76ceea1b7af.glb |
Create a customizable game token with a total height of 1mm. The main body is a five-sided polygonal prism with a beveled profile on both the top and bottom faces. Each face should taper from an outer diameter of 20mm at the center plane to an inner diameter of 18mm at the top and bottom surfaces. Center the token on t... | outerDiameter = 20;
innerDiameter = 18;
bevelBothSides = "yes";
shapeRotation = 90;
points = 5;
totalHeight = 1;
coinValue = "1";
textSize = 9;
textFont = "Open Sans";
module taperedShape() {
if(bevelBothSides == "yes") {
rotate(shapeRotation) translate([0,0,totalHeight/2]) cylinder(h = totalHeight/2, d1 = ou... | glb/cad_0493239a5d53.glb |
Create a shark model by starting with a central body shaped as a sphere with a radius of 10mm, scaled by a factor of 3 along the x-axis to create an elongated ellipsoid. At the front end of this body, remove a small section to create a mouth opening and carve out two small vertical cylindrical holes with a radius of 1m... | difference(){
scale([3,1,1]) sphere(10);
translate([-30,-10,-10]) triangle(20,20);
translate([-12,5,-20]) cylinder(h=30,r=1);
}
translate([0,-3,-2.5]) rotate([0,0,-1]) triangle(20,5);
translate([33,-10,5]) rotate([0,180,0]) triangle(20,10);
translate([-21,-5,2]) triangle(4,3);
translate([-21,-5,-5]) triangle(4,3);... | glb/cad_8073e0efb0af.glb |
Create a Bottle Flip Toy by constructing a tiered vertical assembly. Start with a wide cylindrical base that is 90mm in diameter and 15mm high. Directly on top of this base, center a second, narrower cylinder with a diameter of 24mm and a height of 7mm. From the top of this second cylinder, extend a thin vertical colum... | cylinder(15,45,45);
translate([0,0,15])
cylinder(12,45,7);
scale([1,1,1])
cylinder(180,7, 5);
translate([0,0,180])
sphere(12); | glb/cad_5525bb5c179f.glb |
Create a mendel square block extruder insulator by starting with a central rectangular block measuring 59.91mm in width, 75mm in depth, and 41.83mm in height. From this main body, remove a smaller rectangular section from the front bottom edge measuring 11.4mm in width, 76.14mm in depth, and 23mm in height.
To create... | module pinchwheel()
{
translate([0,0,0])rotate(90,[0,0,0]){
difference()
{
union()
{
translate([29.875,0.37,20.892])cube([59.908,75,41.833], center = true);
}
union()
{
translate([59,0.8,40])cube([17,76.6,24],center=true);
translate([ 3.75 ,0.571, 39.5])cube([11.399,76.143,23],center = true);
t... | glb/cad_d13263552eb2.glb |
Create a mendel square block extruder insulator holder by starting with a rectangular base block measuring 60mm in width, 75mm in length, and 10mm in height. Center this block on the X and Y axes.
Remove material from the block to create five cylindrical holes and six rectangular slots. Position two cylindrical holes... | module cap()
{
translate([0,0,0])rotate(180,[1,0,0]){
difference()
{
union()
{
translate([29.875,0.37,20.892])cube([30,75,10], center = true);
}
union()
{
translate([30,-8.1,21.635])rotate(90,[0,0,0])cylinder(60,3,3,center=true);
translate([30,-1.1,21.635])rotate(90,[0,0,0])cylinder(60,1.6,1.6,ce... | glb/cad_7e53871e6486.glb |
Create a building sidewalk with rubble for a wargame. Start by creating a rectangular base plate with dimensions 115mm by 115mm and a height of 1.5mm. In the center of this plate, remove a rectangular section measuring 103mm by 103mm to create a central slot.
Around this central slot, create a raised border (the sidew... | width=109;
length=109;
slot_height=3.5;
paper=2;
sidewalk_width=5;
sidewalkHeight=1.5;
groove_depth=0.5;
sidewalk_squares= length==180 ? 18 : length==109 ? 10 : 7;
sidewalk_squares_width = round(sidewalk_squares*width/length);
base_width=sidewalk_width+3*paper;
outer_width=width+3*paper+2*base_width;
outer_le... | glb/cad_66e420cb2946.glb |
Create a Diamond Air Plant Pot by constructing a hollowed-out geometric vessel with 9 sides. Start by creating a solid 9-sided polygonal cone that begins at a point and widens to a diameter of 50mm over a height of 35mm. Atop this base, add a second 9-sided polygonal section that tapers inward from the 50mm diameter to... | width1 = 50;
width2 = 32;
height1 = 35;
height2 = 10;
sides = 9;
module diamond(w, w2, h1, h2) {
$fn=sides;
cylinder(d1=0, d2=w, h=h1);
translate([0, 0, h1]) cylinder(d1=w, d2=w2, h=h2);
}
module dvase(w, w2, h1, h2) {
difference() {
diamond(w, w2, h1, h2);
translate([0, 0,... | glb/cad_b22ed50ac2a9.glb |
Create a rectangular chassis for the Xpider Spartan Zero robot. Start with a base block that is 44mm long, 25mm wide, and 15mm high, with the corners rounded by a 1mm radius. Hollow out the center of this block by removing a rectangular volume of 44mm by 25mm by 18mm, centered vertically at -1.6mm on the Z-axis.
To c... | $fn=120;
difference() {
minkowski() {
cube([44,25,15], center= true);
cylinder(r=1, h=2, center=true);
}
translate([0,0,-1.6])cube([44,25,18], center= true);
translate([20,0,10])cube([4,7,10], center= true);
translate([-2,-10,5])cube([6,10,4], center= true);
translate([20.5,-11... | glb/cad_9dca101f531b.glb |
Create a circular chassis for the Xpider Spartan robot. Start with a main disc centered at the origin with a radius of 44mm and a height of 1mm. Carve a large central hole through the disc with a radius of 20mm and a height of 20mm.
Add a raised inner ring centered at the origin with a radius of 21.8mm and a height of... | $fn=120;
rotate([0,0,23.8])translate([-35.7,0,2.5])difference()
{
cube([15.5,12.3,2.3],center=true);
translate([-3,0,0])cube([18,8.1,6],center=true);
translate([6.5,2.5,-3])cylinder(r=.8,h=6);
translate([6.5,0,-3])cylinder(r=.8,h=6);
translate([6.5,-2.5,-3])cylinder(r=.8,h=6);
}
rotate([0,0,-9.6])... | glb/cad_cdde0abf3c5a.glb |
Create a robot leg component for the Xpider Spartan Zero. Start by constructing a main body using a convex hull that connects four cylinders, each with a radius of 2.2mm and a height of 3.5mm. Position these cylinders at the following coordinates: [10.8, 0, 0], [3.5, 0, 2.5], [8.5, 0, 8.5], and [12.3, 0, 10], all rotat... | $fn=60;
difference(){
union(){
hull() {
translate([10.8,0,0])rotate([-90,0,0])cylinder(r=2.2, h=3.5);
translate([2.8,0,2.5])rotate([-90,0,0])cylinder(r=2.2, h=3.5);
translate([-10.8,0,0])rotate([-90,0,0])cylinder(r=2.2, h=3.5);
}
hull() {
translate([10.8,0,0])rotate([-90,0,0])cylinder(r=2.2, h=3.5);
translate([3.5,0,... | glb/cad_ed5235ef0531.glb |
Create a robot chassis base consisting of a central hub and three radiating arms. Start with a central cylinder of radius 9mm and height 4.25mm, centered vertically at z=2.125mm. On top of this hub, add a smaller central cylinder with a radius of 5mm and a height of 2.25mm, centered at z=5mm.
Extend three identical ar... | $fn=60;
difference() {
union() {
translate([0,0,2.125])cylinder(r=9, h=4.25, center=true);
translate([0,0,5.0])cylinder(r=5, h=2.25, center=true);
translate([5.5,0,5.0])cylinder(r=3.5, h=2.25, center=true);
translate([-2.75, 4.75,5.0])cylinder(r=3.5, h=2.25, center=true);
translate([-2.75,-4.75,5.0])cylinder(r=3.5,... | glb/cad_e9ab8ca4ce4c.glb |
Create a robot leg component for the Xpider Spartan Zero. Start by constructing a central rectangular body that is 6.5mm wide, 24mm long, and 4.2mm thick, centered at the origin. Extend this body backward along the Y-axis by adding a smaller rectangular section measuring 2.8mm by 4.6mm by 4.2mm, positioned at Y = -20.3... | $fn=60;
difference(){
union() {
hull(){
translate([0,0,0])rotate([0,90,0])cylinder(r=2.1, h=2.8, center=true);
translate([0,-18,0])rotate([0,90,0])cylinder(r=2.1, h=2.8, center=true);
};
hull(){
translate([3.5,-46.75,3.9])rotate([0,90,0])cylinder(r=2.5, h=2, center=true);
translate([3.5,-44.2,0.3])rotate([0,90,0])cyl... | glb/cad_6e51ee962283.glb |
Create a mechanical arm for the Xpider Spartan Zero robot. Start by constructing a central body that is the convex hull of two cylinders, each with a radius of 2mm and a height of 2.5mm, positioned at coordinates [0, 0, 2] and [28, 0, 2] and rotated 90 degrees along the X-axis. Add a cylinder with a radius of 4.3mm and... | $fn=60;
difference(){
union(){
hull(){
translate([28,0,2])rotate([90,0,0])cylinder(r=2, h=2.5, center=true);
translate([0,0,2])rotate([90,0,0])cylinder(r=2, h=2.5, center=true);
};
translate([0,0,2])rotate([0,0,0])cylinder(r=4.3, h=4, center=true);
};
translate([28,0,2])rotate([90,0,0])cylinder(r=1, h=6, center=true)... | glb/cad_1f50abcb92d3.glb |
Create a flat plate for the Xpider Spartan Zero robot. The main body is formed by the union of three convex hulls, each connecting a pair of cylinders with a height of 1.75mm. The first hull connects a cylinder of radius 2mm at [0, 15.9, 0] to one of radius 1.7mm at [-1.8, 18.2, 0]. The second hull connects a cylinder ... | $fn=60;
difference(){
union(){
hull() {
translate([0,15.9,0])cylinder(r=2, h=1.75);
translate([-1.8,18.2,0])cylinder(r=1.7, h=1.75);
translate([-4,18.9,0])cylinder(r=1.7, h=1.75);
}
hull() {
translate([-4,18.9,0])cylinder(r=1.7, h=1.75);
translate([-10,18.9,0])cylinder(r=1.7, h=1.75);
}
hull() ... | glb/cad_f6b418488f47.glb |
Create a flat mechanical link for the Xpider Spartan Zero robot. Start by creating a main body that is the convex hull of two cylinders, each with a radius of 2mm and a height of 3mm, positioned 31mm apart along the x-axis and centered on the z-axis. From this body, remove a central cylindrical hole with a radius of 3.... | $fn=60;
difference() {
union(){
hull(){
translate([0,0,0])cylinder(r=2, h=3, center=true);
translate([31,0,0])cylinder(r=2, h=3, center=true);
}
translate([31.5,1.25,0])cylinder(r=3.25, h=3, center=true);
};
translate([0,0,0])cylinder(r=1, h=6, center=true);
hull(){
translate([31.5,0.3,0])cylinder(r=1.1, h=6, center=t... | glb/cad_8af9ec948002.glb |
Create a robot chassis component by starting with a central vertical cylinder with a radius of 2.25mm and a height of 3mm. From this base, extend a rounded, organic housing upwards and outwards. Incorporate a rounded protrusion by creating a hull between two cylinders of radius 2.5mm and height 4.5mm, positioned at coo... | $fn=60;
difference() {
union(){
hull() {
translate([-2.25,4.25,4])rotate([0,90,0])cylinder(r=2.5, h=4.5);
translate([-2.25,4.25,2.4])rotate([0,90,0])cylinder(r=2.5, h=4.5);
};
hull() {
translate([0,0,0])cylinder(r=2.25, h=3);
translate([-2.25,4.25,2.4])rotate([0,90,0])cylinder(r=2.5, h=4.5);
};
};
translate([0,0,3])cy... | glb/cad_2ed3b2a95aee.glb |
Create a robot chassis called the Xpider Spartan Zero. Start with a main body consisting of a thin disc with a radius of 43.8mm and a height of 1.5mm, centered on the XY plane. Remove a concentric circular hole from the center with a radius of 24mm.
Add three screw pegs to the disc, each a cylinder with a radius of 3.... | $fn=120;
intersection() {
difference() {
scale([1,1,.97])translate([0,0,0])sphere(r=44);
translate([0,0,2])scale([1,1,1.2])sphere(r=35);
translate([0,0,-50])cube([100,100,100], center=true);
translate([0,0,82.5])cube([100,100,100], center=true);
rotate([0,0,-1])translate([4... | glb/cad_3d5094bbaa8d.glb |
Create a flat robotic limb component for the Xpider Spartan Zero. Start by constructing a base shape formed by the convex hull of two cylinders, each with a radius of 2.2mm and a height of 3mm. Position the first cylinder at coordinates (6, 0, 0) and the second at (-2.1, -4.9, 0). Then, extend this shape by creating a ... | $fn=60;
difference() {
union() {
hull() {
translate([6,0,0])cylinder(r=2.2, h=3);
translate([-2.1,-4.9,0])cylinder(r=2.2, h=3);
}
hull() {
translate([-2.1,-4.9,0])cylinder(r=2.2, h=3);
translate([-3,-23.35,0])cylinder(r=2.2, h=3);
}
};
translate([6,0,0])cylinder(r=1, h=8, center=true);
translate([-2... | glb/cad_e5c858c1e06a.glb |
Create a base plate for the Xpider Spartan Zero robot. Start with a central rectangular block measuring 19mm by 14mm with a height of 8mm. Apply a 2mm fillet or rounding to all edges of this block to soften the corners.
Carve out a rectangular slot from the top center of the block, measuring 3.5mm wide, 6mm deep, and... | $fn=120;
difference() {
minkowski() {
cube([19,14,8], center=true);
cylinder(r=2, h=1, center=true);
}
cube([19,14,6], center=true);
translate([6.5, -4.5,-5])cylinder(r=1, h=30, center=true);
translate([-6.5,-4.5,-5])cylinder(r=1, h=30, center=true);
translate([0,-0.75,1])cube... | glb/cad_f40793968063.glb |
Create a robot chassis base for the Xpider Spartan Zero. Start by forming the main body from a union of a central rectangular block and a rounded shell created by the Minkowski sum of a 12mm by 22mm by 2mm cube and a cylinder with a 3mm radius and 2mm height. Add a top ring as a cylinder with a 14mm radius and 4mm heig... | $fn=120;
difference() {
union() {
translate([4,0,0])minkowski() {
cube([12,22,2], center=true);
cylinder(r=3,h=2, center=true);
}
translate([-2,0,0])cylinder(r=14, h=4, center=true);
rotate([0,0,0])cube([4,34,4], center=true);
translate([15,0,0])c... | glb/cad_69a3ae5c60cd.glb |
Create a robot chassis for the Xpider Spartan Zero. Start by forming the main body from two intersecting rectangular blocks: one measuring 23 by 15 by 20 mm centered at a height of 10 mm, and a second measuring 30 by 9 by 22 mm centered at a height of 11 mm and shifted 3 mm along the Y-axis.
From this combined volume... | $fn=120;
difference(){
union() {
translate([0,0,10])cube([23,15,20], center=true);
translate([0,-3,11])cube([30,9,22], center=true);
}
translate([0,1,4.2])cube([12.6,10.6,12], center=true);
translate([0,1,20.2]) hull() {
cube([7.5,10.6,20.5], center= true);
translate(... | glb/cad_ce7627168461.glb |
Create a rectangular base plate for the Xpider Spartan Zero robot. Start by forming a main body that is a hull encompassing a centered rectangular block measuring 26mm in length, 8mm in width, and 3mm in height, merged with a cylinder of radius 1.5mm and height 3mm positioned at the coordinates (21.5, 4.5, 0). From thi... | $fn=60;
difference() {
union() {
hull() {
translate([10,-1.5,0])cube([26,8,3], center=true);
translate([21.5,4.5,0])cylinder(r=1.5, h=3, center=true);
}
};
translate([1.5,0,0])cylinder(r=1, h=6,center=true);
translate([19.5,-0,0])cylinder(r=1, h=6, center=true);
}; | glb/cad_a2ce7c55d1b5.glb |
Create a hollowed-out spherical shell for the Xpider Spartan robot. Start with an outer sphere with a radius of 46.125mm and hollow it out using an inner sphere with a radius of 44.25mm. To flatten the base, truncate the bottom of the sphere with a large cube centered at Z = -57.5mm.
Add a decorative belt by placing a... | $fn=120;
difference() {
union() {
sphere(r=46.125);
hull() {
translate([0,36.5,23.75])rotate([-57,0,0])cylinder(r1=16, r2=15, h=2, center=true);
translate([0,31.5,29.75])rotate([-47,0,0])cylinder(r1=16, r2=15, h=2, center=true);
}
translate([0,0,-4.5])cyli... | glb/cad_9e1480021598.glb |
Create a robot chassis part for the Xpider Spartan Zero. Construct the main body by creating two symmetrical mirrored halves. Each half is formed by the convex hull of a series of cylinders and a cube. Position the cylinders at the following coordinates relative to the center: (17, ±3.1, 2), (17, ±3.1, 8.6), (11, ±3.1,... | $fn=60;
difference() {
union() {
hull() {
translate([17,-3.1,2])rotate([90,0,0])cylinder(r=2, h=1.8, center=true);
translate([17,-3.1,8.6])rotate([90,0,0])cylinder(r=2, h=1.8, center=true);
translate([11,-3.1,8.8])rotate([90,0,0])cylinder(r=2, h=1.8, center=true);
translate([5,-3.1,8.4])rotate([90,0,0])cylinder(r=2, h... | glb/cad_70b1e35869de.glb |
Create a circular mounting plate for the Xpider Spartan Zero robot. Start by creating a main solid cylinder with a radius of 23mm and a height of 3mm. From the center of this disk, remove a smaller concentric cylindrical hole with a radius of 17mm and a height of 8mm to create a ring. Additionally, bore four small circ... | $fn=60;
difference() {
cylinder(r=23, h=3);
cylinder(r=17, h=8, center = true);
translate([15,12.5,0])cylinder(r=1, h=8, center=true);
translate([15,-12.5,0])cylinder(r=1, h=8, center=true);
translate([-15,12.5,0])cylinder(r=1, h=8, center=true);
translate([-15,-12.5,0])cylinder(r=1, h=8, center=true);
} | glb/cad_c8a7a867dbfb.glb |
Create a robot chassis base called the Xpider Spartan Zero. Start with a main circular disc with a radius of 43.8mm and a height of 3mm, centered at [0, 0, 1.5]. Hollow out the center of this disc with a concentric cylinder of radius 42.6mm and height 3mm.
Add several structural components to the top of the disc: a dr... | $fn=120;
difference() {
union() {
difference(){
translate([0,0,1.5])cylinder(r=43.8,h=3, center=true);
translate([0,0,3])cylinder(r=42.6,h=3, center=true);
}
translate([5.75,0,5])cube([1.6,32,10], center=true);
rotate([0,0,-12]){
rotate([0,0,0]... | glb/cad_05e0b31059b4.glb |
Create a robot chassis called the Xpider Spartan Zero. Start by forming a base shape using the intersection of a sphere with a radius of 48mm, centered at [0, -4, -36.5], and a complex hull. This hull is defined by several cylinders with a radius of 4mm and heights of 0.1mm to 1mm, positioned at various coordinates: [±... | $fn=120;
intersection() {
translate([0,-4,-36.5])sphere(r=48);
difference(){
union() {
hull(){
hull() {
translate([-4.8,17,3])cylinder(r=4,h=.1);
translate([ 4.8,17,3])cylinder(r=4,h=.1);
translate([-12,-11,3])cylinder(r=4,h=.1);
translate([ 12,-11,3])cylinder(r=4,h=.1);
translate([ 8,-18.5,3])cylinder(r=4,h=.1);
tr... | glb/cad_e62a9f9277d9.glb |
Create a front-side connector for a PC case. The main body is a rectangular plug with a width of 14.5mm, a depth of 9.5mm, and a height of 13mm. The plug has a wall thickness of 1.5mm.
On one side of the plug, add a vertical bar that is 4mm wide and 1mm high, extending to the full depth of 9.5mm. Incorporate a small ... | PC_THICK=1.5;
PC_W=14.5;
PC_D=9.5;
PLAY=0.1;
PLUG_H=13;
PLUG_R=2;
PLUG_THICK=1.5;
BAR_W=4;
BAR_H=1;
OVAL_W=5.5;
OVAL_H=9;
OVAL_D=6;
OVAL_CHOP=0.8;
HOLE_R=1;
FOOT_W=13;
FOOT_H=3;
FOOT_D=11;
FOOT_SHIFT=2.5;
LEG_W=3.5;
LEG_H=20;
LEG_HOLE_W=1.5;
PLUG_PIN_DELTA=15;
WING_W=FOOT_W-FOOT_SHIFT;
WING_D=2;
CLIP_W=7;
mod... | glb/cad_e3135bb4c40d.glb |
Create a Tubular Alarm-Clock case by constructing a hollow cylindrical base with a diameter of 80mm and a wall thickness of 2mm. The base should be extruded to a height of 10mm. Within this base, create a central rectangular cutout measuring 48mm by 10mm and 32mm deep to accommodate a speaker driver. The main body of t... | include <shared.scad>
module shape1(){
difference(){
circle(d=base_dia-base_wall*2,$fn=q/2);
translate([0,base_dia/2.7])
square([base_dia,base_dia],true);
translate([0,-base_dia/2])
square([base_dia/2,base_dia/2],true);
}
}
module layer1(){
linear_extrude(base_h*.7,... | glb/cad_abeb14e3bd5a.glb |
Create a thin, flat ring for a Tubular Alarm-Clock. Start by creating a solid cylinder with a diameter of 78.5mm and a height of 2.5mm. From the center of this cylinder, remove a smaller concentric cylindrical hole with a diameter of 56mm and the same height of 2.5mm to create a hollow washer-like shape. | include <shared.scad>
linear_extrude(2.5,convexity=8)
difference(){
circle(d=78.5,$fn=q*2);
circle(d=56,$fn=q);
} | glb/cad_239732de604f.glb |
Create a Tubular Alarm-Clock case by starting with a hollow main tube. The tube is formed by a cylinder with an outer diameter of 80mm and a wall thickness of 2mm, extruded to a height of 10mm.
On the side of the tube, integrate four button mounts. Position one large circular mount for a snooze button with a diameter... | include <shared.scad>
include <threads.scad>
module main_tube(){
color("white")
linear_extrude(base_h,convexity=8){
difference(){
circle(d=base_dia,$fn=q*2);
circle(d=base_dia-base_wall*2,$fn=q/2);
}
}
}
module screw_threads(){
color("white")
difference(){
... | glb/cad_ac2e1ec6a700.glb |
Create a Tubular Alarm-Clock with Speaker. The main body is a horizontal cylinder designed to house a speaker with a diameter of 80mm.
Construct a base support consisting of two symmetrical feet. Each foot is formed by the intersection of a rectangle and a circle, extruded to a height of 1.4mm. Within these feet, cre... | include <shared.scad>
module shape1(){
intersection(){
square(foot_dim,true);
circle(d=foot_dim[1]*1.45,center=true,$fn=q*6);
}
}
module screw_holes(){
circle(d=m4,center=true,$fn=q);
translate([0,base_h/4])
circle(d=m4,center=true,$fn=q);
translate([0,-base_h/4])
circle(d... | glb/cad_bffd516ce476.glb |
Create a Tubular Alarm-Clock case designed to house a speaker and electronics. The main body is a hollow cylinder with an outer diameter of 100mm and a wall thickness of 3mm, extending to a height of 110mm. At the base, integrate a circular insert with a diameter of 80mm and a height of 10mm to secure the internal comp... | include <shared.scad>
module shape1(){
difference(){
square([sev_seg[0],sev_seg[1]/6],true);
translate([sev_seg[0]/2-m1*m1,0])
circle(d=m1,$fn=q);
translate([-sev_seg[0]/2+m1*m1,0])
circle(d=m1,$fn=q);
}
}
module layer1(){
linear_extrude(insert_h,convexity=8){
... | glb/cad_db3cd3af92e0.glb |
Create a plastic cup holder by constructing a hollow, tapered cylinder with a height of 97mm. The outer wall should taper from a bottom radius of 50.2mm to a top radius of 34.7mm. The wall thickness is 1.2mm throughout. The bottom of the cylinder must be completely open and flat.
On one side of the cylinder, add a han... | walld=1.2;
lowerR=49/2+walld;
upperR=67/2+walld;
height=97;
$fn=50;
module henkel(){
he=height/2-2;
rad=4;
difference(){
translate([30,-30,he]) rotate([135,90,0]) scale([2.0,1.0,2.0])
rotate_extrude(convexity = 10)
translate([height/5, 0, 0])
circle(r = rad);
translate([30,-30,he]) rotate([135,90,0]) scale([2... | glb/cad_90b722889337.glb |
Create a 12mm rod mount for a 1-inch aluminum extrusion. Start with a solid rectangular base measuring 50mm in length, 25mm in width, and 5mm in height. On one end of this base, add a vertical rectangular block that is 30mm long, 25mm wide, and 22mm high.
Remove material to create the following openings: first, carve... | module part1()
{
cube( size=[50,25,5]);
cube( size=[30,25,22]);
}
difference()
{
part1();
translate([0,12.5,-1]) cube( size=[30,25,23]);
translate([0,0,22]) cube( size=[30,25,23]);
translate([15,12.5,-1]) rotate(a=[0,0,90]) cylinder(h = 25, r=12/2,$fs=.01);
translate([40,12.5,-1]) rotate(a=[0,0,90]) cylinder(h ... | glb/cad_c9449e28981d.glb |
Create a proximity sensor mount for a Hypercube printer. Start with a main rectangular shaft 6mm wide, 53.5mm long, and 5mm thick. At the front end, create a rounded head by merging a cylinder with a 9mm radius and 5mm height with a 6mm by 11.5mm by 5mm block. At the rear end, add a support section consisting of a 6mm ... | $fn=36;
module X_Prox_Mount(){
difference(){
union(){
hull(){
translate([-5,0,0]) cylinder(h=5, r=9);
translate([3,0,0]) cube([6,11.5,5]);
}
translate([3,0,0]) cube([6,53.5,5]);
hull(){
translate([3,50.5,5]) rota... | glb/cad_479aae25b506.glb |
Create a proximity endstop mount for a HyperCube printer. Start with a main vertical block 15mm wide, 5mm deep, and 20mm tall. Attach a horizontal base plate to the bottom that is 15mm wide, 25mm deep, and 5mm thick, extending 20mm backward from the front face of the main block. Integrate a transition section that blen... | $fn=36;
module YEndStopProxMount(){
w1=15;
difference(){
union(){
cube([w1,5,20]);
translate([0,-20,-5]) cube([w1,25,5]);
hull(){
translate([0,0,-5]) cube([15,5,5]);
translate([0,0,-12.5]) cube([5,5,5]);
}
hul... | glb/cad_d9c7cf8a823b.glb |
Create a ZeroTech Dobby propeller clip consisting of a flat rectangular base with three vertical cylindrical posts. Start by creating a base plate that is 9mm long, 5mm wide, and 0.8mm thick, centered so that its length runs along the x-axis. At each end of the base, centered width-wise, add a small semi-circular protr... | $fa=1;$fs=0.1;
module base() {
translate([-4.5,-2.5,0]) cube([9,5,0.8]);
translate([-4.5,0,0]) cylinder(0.8,2.5,2.5);
translate([4.5,0,0]) cylinder(0.8,2.5,2.5);
}
module pillar(height) {
cylinder(height,1.5,1.5);
}
module solid_clip() {
base();
translate([-4.5,0,0]) pillar(4.1);
pillar(3... | glb/cad_1b596130a401.glb |
Create an L-shaped joining plate by combining two rectangular blocks, each measuring 3mm by 1mm with a thickness of 0.125mm, joined at a right angle to form a total footprint of 3mm by 3mm. In this L-shaped base, place five circular holes, each with a radius of 0.1285mm and a depth that fully penetrates the thickness o... | module lplate()
{
cube(size = [1,3,0.125], center = false);
cube(size = [3,1,0.125], center = false);
}
difference()
{
lplate();
translate(v = [0.5, 0.5, -0.125]) cylinder(h = 0.375, r=0.257/2, $fs=.01);
translate(v = [0.5, 1.5, -0.125]) cylinder(h = 0.375, r=0.257/2, $fs=.01);
translate(v = [0.5, 2.5, -0.125]) ... | glb/cad_0ca58fc44f98.glb |
Create a fan mount bracket by starting with a composite base formed from three rectangular blocks. Position one block at coordinates [3, 13.5, 1.6] with dimensions 7mm x 11mm x 6.4mm, a second block at [-11.5, 7, 0] with dimensions 23.1mm x 7.8mm x 8mm, and a third block at [-20.3, 4.25, 0] with dimensions 40.8mm x 7.8... | lateral_offset = 0;
medial_offset = 3.5;
hole_oversize = 0.1;
hole_size = 1.5 + hole_oversize;
difference() {
union() {
translate([3 - lateral_offset,13.5,1.6]) cube([7,7.5 + medial_offset,6.4]);
translate([-11.5,7,0]) cube([23.1,7.8,8]);
translate([-20.3,4.25,0]) cube([40.8,7.8,8]);
... | glb/cad_dfe591726a09.glb |
Create a car vent sunglass holder consisting of a cylindrical ring and a ball-and-socket attachment arm. Start by creating a main cylinder with an outer diameter of 22mm and an inner diameter of 18mm, with a height of 10mm.
Attached to the side of this ring, create a socket assembly. The socket is formed by two paral... | vent_fin_width = 4.75;
length_of_fingers = 25;
width_of_fingers = 1.6;
inner_diameter = 18;
inner_radius = inner_diameter / 2;
$fn = 100;
union() {
difference() {
cylinder(h=10, r=inner_radius+2);
translate([0,0,-0.5])
cylinder(h=11, r=inner_radius);
}
translate([inner_radius,0... | glb/cad_e5082e85b948.glb |
Create a Customisable Modular Y Carriage for a 3D printer. Start by constructing four corner blocks, each a cube of 60mm x 60mm x 10mm. In each corner block, create a 3mm diameter hole at coordinates (5, 5, 0) and a hexagonal hole with a 3mm diameter at the same location. Additionally, add a 3mm diameter hole at the ou... | dimX=214;
dimY=214;
mountingOffsetX=0;
mountingOffsetY=0;
cornerX=60;
cornerY=60;
centerX=60;
centerY=60;
middleX=centerX/2;
middleY=centerY/2;
Ybelt=20.5;
screw_size=3;
thick=10;
tolerance=0.125;
beam_slot=10;
beam_corner=5;
modular_beam=1;
lm_beam=0;
preview=1;
view="corners";
Ssize = 3;
xbase = 14;
ybase = 9.5;
... | glb/cad_9883edd259e9.glb |
Create a knob receiver piece consisting of two stacked cylinders with a square hole passing through the center. The base is a cylinder with a diameter of 10.5mm and a height of 6.5mm. Centered on top of this base is a second, narrower cylinder with a diameter of 7.8mm and a total height of 10mm (extending 3.5mm above t... | $fn = 100;
knobReceiverPiece();
shaft = 2.2;
module solenoidPiece()
{
difference()
{
union()
{
cylinder(h=3, d=6.5);
cylinder(h=5, d=3.3);
}
union()
{
cylinder(h=6, d=2.8);
cylinder(h=0.8, d=5.4);
}
}
}
modul... | glb/cad_ac0fa77d17ac.glb |
Create an adapter for a diaper bin top by constructing a solid block that is the intersection of a cylinder and a rectangular prism. The cylinder should have a diameter of 63.4mm and a height of 28mm. The rectangular prism should be 81.8mm wide, 27.3mm deep, and 28mm high.
From this main body, remove a central rectan... | $fn = 100;
outer_circle = 63.5 - 0.1;
section_width = 82 - 0.2;
section_depth = 27.5 - 0.2;
section_height = 28;
hole_width = 21 + 0.2;
hole_depth = 6.3 + 0.2;
hole_offset_center = 27/2;
hole_offset_border = 18;
drill = 2.5/2;
drill_offset_center = 15;
drill_offset_border = section_depth/3;
difference(){
intersectio... | glb/cad_8bdb2b2170be.glb |
Create a Makita 10.8v battery connector holder. The main body is a hollow shell with a total height of 53.5mm and a base thickness of 5mm. The outer shape is defined by a central rectangular section with a width of 44.5mm and a depth of 25mm, flanked by two semi-cylindrical ends with a radius of 12.5mm.
Inside this sh... | $fn = 64;
height=53.5;
btmthick=5;
module bat(rextra, h, celloffset) {
r = 11.5+rextra;
d = (42.5/2) + rextra - r;
d2 = 40.5 + rextra*2 - r*2;
union() {
translate([0,0,celloffset+h/2]) cube([d*2,r*2,h], center=true);
translate([d,0,celloffset]) cylinder(r=r,h=h);
translate([-d,0,celloffset]) cylinder(r=r,h=... | glb/cad_3b199fe1dac1.glb |
Create a comb by starting with a rectangular base measuring 50mm wide, 185mm long, and 4.5mm thick. Remove a cylindrical section with a diameter of 15mm from both the front and back ends of the base to create rounded edges. Along the length of the base, starting 10mm from the front edge and repeating every 4mm up to 17... | rotate([0,0,90])
difference(){
difference(){
cube([50,185,4.5]);
}
for (a=[10:4:175]) {translate([15,a,-1])
cube([40,2,8]);}
translate([50,200,16])
rotate([90,0,0])
cylinder(d=30,h=210,$fn=50);
} | glb/cad_6550298b8b80.glb |
Create a 3D text model of the phrase "Courgette 123". Use a font style similar to Courgette or Amatic SC Bold, with a font size of 30mm. The letters must be extruded to a thickness of 35mm along the Z-axis.
Set the character spacing to 0.7 to slightly tighten the gap between letters. The text should be oriented to fl... | use <utils/build_plate.scad>
text_to_generate = "Courgette 123";
font_size = 30;
font_name = "Courgette";
font_name_manual = "Amatic SC:bold";
character_spacing = 0.7;
writing_direction = "ltr";
thickness_of_letters = 35;
text_color = "Red";
show_build_plate = "no";
build_plate_color = "Measure";
build_plate... | glb/cad_2b55420b9713.glb |
Create a Parametric Axial Cooling Fan Shroud consisting of a fan mount, a funnel, and a mounting hook.
First, create the fan mount as a square plate 40mm wide and 3.5mm thick. Center a circular cutout with a diameter of 33mm (40mm minus twice the 3.5mm wall thickness) and add four screw holes of 3.3mm diameter at the ... | fanScrewSpacing = 24.5;
fanMountSize = 30;
fanMountSize = 40;
fanScrewSpacing = 32.5;
fanMountThickness = 3.5;
screwHoleSize = 3.3;
funnelThickness = 3.5;
funnelLength=20;
funnelTipHeight = 10;
funnelTipWidth = 15;
funnel2Length = 15;
funnel2TipHeight = 2+funnelThickness;
funnel2TipWidth = 10+funnelThickness;... | glb/cad_73514b5b6784.glb |
Create an E3D V6 mount for a CTC Prusa i3 Pro B extruder. Start with a main body consisting of a motor mount block measuring 48.5mm x 13mm x 12mm and a hot end mount block measuring 36mm x 11mm x 12mm. Add a fan mount extension measuring 17mm x 8mm x 4mm, featuring a 3.35mm diameter hole centered at its base. Include a... | filament_offset_x = -6;
filament_offset_z = 9.5;
fan_mount_height = -27;
fan_mount_length = 17;
motor_rest_height = -19.2;
motor_rest_depth = 19;
motor_screw_height = -13.45;
block_height = 13;
carriage_mount_holes_offset = -26.8;
carriage_mount_height = 25.2;
mount_cover_thickness = 7;
m3_hole_diameter = 3.35;
hot_end... | glb/cad_21f6c2039327.glb |
Create a RunCam HD 2 camera mount consisting of a base plate and an angled wedge.
Start with a base plate 2mm thick. The plate is a hull formed by four circles of radius 1.6mm (calculated as half the hole size minus 3mm) centered at the corners of a rectangle. The front two circles are spaced 29mm apart (center-to-ce... | front_cc = 29;
rear_cc = 29;
front_rear_cc = 49.5;
angle = 25;
solid_wedge = "Yes";
base_thickness = 2;
hole_size = 3.2;
edge_margin = 3;
screw_head_size = 6;
velcro_width = 20;
velcro_height = 3;
camera_width = 38;
camera_length = 65;
hole_clearence = edge_margin+hole_size/2;
screw_head_clerance = screw_h... | glb/cad_e040761525b0.glb |
Create two separate square plates, each measuring 100mm by 100mm with a thickness of 1mm. On the first plate, create a 9 by 9 grid of circular holes. The centers of these holes should be positioned starting at 5mm from the edges and spaced 10mm apart in both the X and Y directions. Each hole must have an outer diameter... | h=1;
module card1 () {
cube([100,100,h]);
for (x = [5:10:95]) {
for (y = [5:10:95]) {
translate([x,y,1]) difference() {
cylinder(h=h,r=3);
cylinder(h=h+1,r=2);
}
}
}
}
module card2() {
cube([100,100,h]);
for (x = [0:3:100]) {
translate([x,0,h]) cube([1,100,h]);
}
}
card1();
translate([-105,0,0])
car... | glb/cad_5fa84b28aad3.glb |
Create a customizable tray with an inner cavity measuring 138mm by 68mm and a depth of 10mm. The walls and base should be 1mm thick. The outer corners of the tray must be rounded with a radius of 9mm (the 8mm inner corner radius plus the 1mm wall thickness).
The tray is not a solid box but features several cutaways. O... | phone_length = 138;
phone_width = 68;
phone_thickness = 10;
corner_radius = 8;
gap = 0;
wall_thickness = 1;
base_thickness = 1;
side_cutaway = 1;
top_bottom_cutaway = 1;
base_cutaway = 1;
side_lip = 1;
side_percent = 0.75;
top_bottom_lip = 1;
top_bottom_percent = 0.8;
base_cutaway_percent = 0.75;
module c... | glb/cad_40ae8e132372.glb |
Create a micro quadcopter frame with a diagonal motor-to-motor distance of 110mm, featuring a front-to-rear motor spacing of 80mm and side-to-side spacing of 76mm.
Construct the main chassis using four sweeping arcs that connect the motor mounts. Each arc consists of a 2mm thick base with a width of 2.6mm and a 2mm t... | use <MCAD/polyholes.scad>
part_view = false;
show_motors = true;
show_props = true;
show_aio = true;
show_fc_tray = true;
show_fc = true;
show_uplate = true;
show_battery = true;
show_rollbar = true;
show_usb = false;
make_frame = true;
make_tray = true;
make_uplate = true;
make_test_plate = false;
if ( make_frame )... | glb/cad_8e548f365c20.glb |
Create an Arrow Cutting Jig by starting with a base block that is 10.6mm high. The main body is a rectangular slab measuring 117mm in length and 100mm in width. At the right end of this slab, add a rectangular protrusion that is 16mm wide, 100mm long, and 6mm high, extending the total length to 133mm.
Carve a horizon... | slot_width=16;
slot_depth=6;
slot_overlap=2.0;
arrow_diameter=6.6;
wall = 2.0;
jig_height = arrow_diameter + 2*wall;
slot_to_blade =93;
arrow_tube_length = 20;
difference(){
union(){
cube([arrow_tube_length/2 + slot_to_blade + slot_width + slot_overlap,100,arrow_diameter+2*wall]);
translate([arrow_tube_leng... | glb/cad_72863e2fc7c2.glb |
Create a Z top mount for a 3D printer. The main body is a plate with a thickness of 7mm and a total depth of 86.5mm.
Construct the base as a composite of three sections. The first section is a hull created from two circles of radius 6mm and two squares of side 6mm, spanning a width of 48mm and a depth of 43.5mm. The ... | $fa = 3;
$fs = 0.3;
side = "left";
add_fila_holder = 1;
add_leds = 1;
thn = 7;
thnplus = 3;
width1 = 48;
width2 = 29;
width3 = 64;
width4 = 18;
depth = 86.5;
depth1 = 43.5;
depth2 = 9;
depth3 = 34;
screw_d = 3.5;
rod_d = 10;
rod_x = 15.5;
rod_y = 9;
fila_r = 100;
fila_w = 70;
fila_d = 20... | glb/cad_43e482546a5f.glb |
Create a razor stand by constructing a solid cylinder with a radius of 20mm and a height of 15mm. On top of this cylinder, center a sphere with a radius of 20mm, positioned so that its center is 15mm above the base. Remove a central vertical core from the entire object to create a hole: this hole consists of a cylinder... | $fn = 60;
intersection() {
difference() {
union() {
translate([0,0,15]) sphere(r = 20);
cylinder(h = 15, r = 20);
}
translate([0,0, 8.4 + 2]) union() {
cylinder(h = 40.8, r = 8.5);
sphere(r = 8.5);
}
translate([0, 0, -5]) cylinder(h = 1... | glb/cad_a5b93840fa75.glb |
Create a 3tbsp espresso scoop consisting of a hemispherical bowl and a flat handle. Start by creating a sphere with a radius of 27.67mm, then cut it exactly in half to create a hollowed open bowl. Attach a rectangular handle to the base of the bowl; the handle should be 20mm wide, 120mm long, and 2mm thick. At the far ... | $fn = 60;
rotate([180,0,0])
difference() {
union() {
sphere(r = 27.67 + 1);
translate([-10,0,-2]) cube([20,120,2]);
translate([0,120,-2]) cylinder(h=2,r=10);
}
translate([-50,-50,0]) cube([100,100,50]);
translate([0,120,-2]) cylinder(h=2,r=5);
sphere(r = 27.67);
} | glb/cad_d40ce916d476.glb |
Create a Prusa i3 tool holder by starting with a solid rectangular block 42mm deep, 55mm wide, and 20mm high. To allow it to hook onto a frame, remove a rectangular section from the top and side, leaving a 2mm thick overhang and a mounting area 40.5mm wide.
Carve various tool slots into the remaining volume. Create a ... | platethickness = 6.4;
mountwidth = 40.5;
holderheight = 20;
holderwidth = 55;
holderdepth = 40;
overhangthickness = 2;
caliperx = 19;
calipery = 5.8;
margin = 1.5;
spacing = 2.5;
backmargin = margin + platethickness + overhangthickness;
frontmargin = holderdepth + platethickness + overhangthickness - margin;
big = 100;... | glb/cad_4b24f2b185ba.glb |
Create a Chinese Spindle Mount with a total height of 80mm. Start with a solid cylindrical base 80mm tall with a radius of 50mm. Hollow out the center by removing a concentric cylinder with a radius of 39.8mm and a height of 80mm.
Carve a rectangular slot through the center of the block, 120mm wide, 50mm deep, and 80... | module solid_base(){
cylinder (h=80, r=50);
translate (v= [0,-25,40])cube(size = [120,50,80], center=true);
translate (v= [-50,-15,80]) cylinder(h = 15, r=4);
}
module m8nut(){
translate (v= [-40,-30,10])cube(size = [12.9,8,20], center=true);
translate (v=[-40,-10,13]) rotate([90,0,0]) cylinder(h = 41, r=4);
tran... | glb/cad_994b7a5b2a73.glb |
Create a parametric garden stake by starting with a rectangular base measuring 150mm in length, 40mm in width, and 5mm in thickness. At one end of this rectangle, create a triangular pointed tip by adding a polygon that extends from the 40mm width of the base to a point 45mm beyond the edge, centered along the width. O... | label_text = "legplant";
sign_l = 150;
sign_w = 40;
thickness = 5;
font = "Yellowtail";
module label(lbl) {
tw = len(lbl) * 15;
th = sign_w-5;
difference() {
cube([sign_l, sign_w, thickness]);
translate([sign_l-tw-5, 5, -.1]) cube([tw, sign_w-10, thickness+.2]);
}
translate([sig... | glb/cad_f1f64376e664.glb |
Create a 3D model consisting of several abstract, rotationally symmetric geometric forms arranged in space.
First, construct a complex, undulating spindle-like shape. This is formed by stacking circular layers along a central axis. The radius of these layers should vary according to a combination of quadratic and cubi... | module polyhedronByCylindrical(Dapoints = [], Datriangles = [0], Daangle=1 , Twist=360/360){
function polarheightToxyz(r, xangle, height) = [ r*cos(xangle) ,r*sin(xangle), height ];
xyz = [for(i=[0:len(Dapoints)-1]) polarheightToxyz(Dapoints[i][0], Dapoints[i][1], Dapoints[i][2])];
zstep = floor(360/Daangle);... | glb/cad_eb8ebc19f377.glb |
Create a 3D model consisting of several distinct organic, rounded shapes arranged in a loose cluster.
The primary feature is a large, teardrop-shaped volume. Construct this by generating a series of stacked circular cross-sections along a vertical axis. The radius of these circles should start small at the top, expan... | module polyhedronBySpherical(Dapoints = [], Datriangles = [0], Daangle=1 , Twist=360/360){
function polarangleToxyz(r, xangle, yangle) = [ r*cos(yangle)*cos(xangle) ,r*cos(yangle)*sin(xangle), r*sin(yangle) ];
xyz = [for(i=[0:len(Dapoints)-1]) polarangleToxyz(Dapoints[i][0], Dapoints[i][1], Dapoints[i][2])];
... | glb/cad_5dee743411a0.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.