Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create an Ozobot Bit pen holder consisting of a curved cradle and an attached cylindrical pen shaft.
First, construct the cradle as a semi-spherical shell with an outer diameter of 35.9mm and a thickness of 2mm. The cradle should be a hollowed-out dome with a height of 4mm, designed to fit snugly over the robot's bod... | $fn = 60;
slush = 0.7;
bodyD = 32.5 + slush;
bodyR = bodyD/2;
wheelD = 12;
wheelProtrusion = 1.5;
wheelAngle = 52;
wheelDepth = 13.5 ;
buttonD = 11;
buttonH = 7;
cradleH = 4;
cradleThick = 2;
penslush = 0.8;
shaftD = 10+penslush;
narrowD = 6.5+penslush;
narrowH = 3.5;
shaftH = 11;
holderH = 16;
holderThick =... | glb/cad_0cab6a9589e1.glb |
Create a Water Bear mascot by combining several spherical and ellipsoidal forms. Start with a central body created from a sphere with a 50mm radius, scaled to 70% along the Y and Z axes. Position a head at [35, 0, 15] using a sphere with a 28mm radius. Attach two ears to the head by placing spheres with 10mm radii at [... | precision = 100;
head_size = 28;
eye_size = 3;
ear_size = 10;
body_size = 50;
foot_size = 20;
head();
body();
feet();
tail();
module head(){
translate([35,0,15])
difference(){
union(){
sphere(r=head_size, $fn=precision);
rotate([0,-50,80])
translate([head_size-2,0,0])
sphere(r=ear_size, $fn=precision... | glb/cad_04a433cadb50.glb |
Create a Customizable Camera Arm consisting of a central rectangular body with two identical cylindrical end-pieces. The central body is a square prism measuring 15mm by 15mm with a total length of 60mm between the centers of the end-piece screw holes.
At each end of the central body, create a cylindrical head with a ... | ArmLength = 75;
MainBodyLength = ArmLength - 15;
ScrewAllowance = .1;
NutAllowance = .25;
FemaleSlotDepthAllowance = .5;
FemaleSlotWidthAllowance = .05;
ScrewSize = 3;
NutSize = 6;
difference() {
translate([0,7.5,7.5])
rotate(a=[0,90,0])
linear_extrude(height = 5 - FemaleSlotWidthAllowance)
circle(d=15,$fn=... | glb/cad_c2896317796e.glb |
Create a Customizable Camera Arm consisting of a central rectangular body with a total length of 29mm and a width and height of 15mm.
Through the center of the body along its length, create a cylindrical hole with a diameter of 3.1mm to accommodate a screw. At both ends of the arm, create cylindrical protrusions with... | ArmLength = 29;
MainBodyLength = ArmLength - 7.5;
ScrewAllowance = .1;
NutAllowance = .25;
FemaleSlotDepthAllowance = .5;
FemaleSlotWidthAllowance = .05;
ScrewHeadDepth = 5.6;
ScrewSize = 3;
NutSize = 6;
difference() {
translate([0,7.5,7.5])
rotate(a=[0,90,0])
linear_extrude(height = 5 - FemaleSlotWidthAllow... | glb/cad_073783f5c69d.glb |
Create a Customizable Camera Arm extrusion mount. The main body is a composite block with a rectangular base of 15mm by 20mm and a height of 3mm.
Add two cylindrical screw holes with a diameter of 3.1mm (M3 screw size plus allowance) positioned at the top, spaced apart at x=4mm and x=11mm. Create a central screw hole... | ScrewAllowance = .1;
NutAllowance = .15;
FemaleSlotDepthAllowance = .5;
FemaleSlotWidthAllowance = .05;
ScrewSize = 3;
NutSize = 6;
ScrewHeadWidth = 5.6;
ScrewHeadDepth = 5;
MountOrientation = 2;
if(MountOrientation==1){
difference() {
union() {
translate([0,0,23])
rotate(a=[-90,0,0])
linear_extrude(... | glb/cad_c3edc57f5127.glb |
Create a customizable camera mount arm with a total length of 31mm. The main body is a rectangular block measuring 15mm by 15mm in cross-section, extending for the length of the arm.
At one end, create a cylindrical head with a diameter of 15mm and a height of 5mm. Bore a center hole through this cylinder and the ent... | ArmLength = 31;
MainBodyLength = ArmLength - 7.5;
ScrewAllowance = .1;
NutAllowance = .5;
FemaleSlotDepthAllowance = .5;
MaleWidthAllowance = .05;
NutThickness = 2.4;
PegSlotDepth = 15;
ScrewSize = 3;
NutSize = 5.5;
difference() {
translate([5 + (MaleWidthAllowance/2),7.5,7.5])
rotate(a=[0,90,0])
linear_ex... | glb/cad_f2ef1128ee18.glb |
Create a Customizable Camera Arm bracket. Start with a main body consisting of two joined sections: a vertical shaft and a platform. The shaft is a square prism measuring 15mm by 15mm with a height of 15.5mm. Attached to this is a platform that is 15mm wide, 15mm deep, and 3mm thick.
Cut a rectangular slot through the... | ScrewAllowance = .1;
FemaleSlotDepthAllowance = .5;
MaleWidthAllowance = .05;
ScrewSize = 3;
CameraScrewSize = 6.35;
CameraScrewAllowance = .1;
difference() {
translate([5 + (MaleWidthAllowance/2),7.5,7.5])
rotate(a=[0,90,0])
linear_extrude(height = 5 - MaleWidthAllowance)
circle(d=15,$fn=360, center = true)... | glb/cad_7f1ec84f66cf.glb |
Create a square plate for a simple cube assembly with a total outer dimension of 50mm by 50mm and a thickness of 2mm. The main body is a square slab measuring 46mm by 46mm by 2mm, centered to leave a 2mm border around the edges.
On this plate, add a central key and three sockets. The key is located at the center of on... | Side();
Size = 50;
WallWidth = 2;
KeyR = 3;
SocketH = 4;
Tollerance = 0.1;
module Key()
{
translate([KeyR + WallWidth, 0, 0])
difference()
{
union()
{
cylinder(r = KeyR , h = 2 * SocketH + Tollerance);
translate([0, 0, SocketH + Tollerance])
scale([1 / 1.5, 1, 1])
cylinder(r1 = KeyR * 1.5, r2 = ... | glb/cad_f95eddb56bfc.glb |
Create an internal chassis for a Google Home Mini. Start with a main circular disc 64mm in diameter and 2.5mm thick. Centered on this disc, create a hollow cylindrical ring with an outer diameter of 32mm and an inner diameter of 29mm, extending 15mm in height.
Add four mounting posts to the base, each 6.5mm in diamete... | fn = 360;
a = 290;
ls = 3.2;
ss = 1.9;
difference(){
group(){
translate([0,0,0])
cylinder(h=2.5, d = 64, $fn = fn);
for ( i = [0 : 90 : 269]){
hull(){
rotate([0,0,i])
translate([39.5,0,0])
cylinder(h = 3, d = 8, $fn = fn);
rotate([0,0,i])
translate([25,0,0])
cylinder(h = 3, d = 8, $fn = fn);
... | glb/cad_f6ba756c35c9.glb |
Create a Mage Wars Academy token holder by starting with a solid rectangular block measuring 105mm wide, 65mm deep, and 23.5mm high. From this base, remove several cylindrical cavities of varying sizes to create storage slots.
Position two 20mm diameter holes at [11, 10, 1] and [11, 22.5, 1]. Add a 20mm diameter hole... | $fs=0.1;
$fa=3;
token_holder();
module token_holder() {
sx=120-15;
sy=65;
e=6;
module tokens_cavity() {
translate([11,10,1]) cylinder(d=20, h=100);
translate([4.5,-1]) cylinder(d=20, h=100);
translate([11,sy-20/2,1]) cylinder(d=20, h=100);
translate([4.5,sy+1]) cylinder(d=20, h=100);
t... | glb/cad_0b7bc7caade7.glb |
Create a Citadel Bottle Holder organized in a grid of 3 rows and 3 columns.
The base unit is a cylindrical holder. Create a main outer cylinder with a radius of 18.75mm (half of the 33.5mm bottle diameter plus 2mm wall thickness) and a total height of 6.5mm. From this cylinder, remove a central cylindrical cavity wit... | rows = 3;
columns = 3;
extraPillars = "False";
bottleCasingStrength = 2;
bottleCavityStrength = 4.5;
capHoleBottleCavityDiff = 0;
bottleBodyDiameter = 33.5;
bottleCapDiameter = 18.5;
capHoleHeight = 2;
pillarHeight = 39.0;
pegSizeReduction = 1;
_pillarHeight = pillarHeight - bottleCavityStrength;
_extraPillars =... | glb/cad_a085f17c47fb.glb |
Create a side-slung pen holder for an Ozobot Bit. Start by creating a main spherical body with a diameter of 33.2mm. To accommodate the robot, remove a cylindrical section from the bottom and integrate two wheel-shaped protrusions, each 12mm in diameter, angled at 52 degrees from the center. Include a cutout for a powe... | $fn = 60;
slush = 0.7;
bodyD = 32.5 + slush;
bodyR = bodyD/2;
wheelD = 12;
wheelProtrusion = 1.5;
wheelAngle = 52;
wheelDepth = 13.5 ;
buttonD = 11;
buttonH = 7;
cradleH = 4;
cradleThick = 2;
penslush = 0.8;
shaftD = 10+penslush;
narrowD = 6.5+penslush;
narrowH = 3.5;
shaftH = 11;
holderH = 16;
holderThick =... | glb/cad_a1d0e1aeda04.glb |
Create a Beyblade Arena quadrant by constructing a 90-degree section of a circular bowl. Start with a circular base disc 400mm in diameter and 8mm thick. Above this base, create a bowl shape by intersecting a cylinder of the same 200mm radius and a height of 100mm with a sphere of 400mm diameter centered such that the ... | $fn = 200;
Size = 400;
function Height(size) = size/4;
function RingRadius(size) = size/2;
function RingHeight(size) = Height(size)/4;
function RingThickness(size) = size/50;
function BaseHeight(size) = size/50;
module disc(radius, height) {
linear_extrude(height) circle(radius);
}
module arena(size) {
heig... | glb/cad_d4f4ddc71a01.glb |
Create a Romer-G compatible keycap by starting with the base geometry of a Romer-G vertical keycap STL. Emboss the letter "D" into the top surface of the keycap, centered with a height of 1mm and an overall size of 5mm. Additionally, emboss the letter "D" into the front-facing edge of the keycap with a height of 0.4mm,... | include <write.scad>
locator_bump=true;
text_location="both";
top_text="D";
top_size=5;
top_h=1;
top_w=1;
top_pos_x=0;
top_pos_y=0;
edge_text="D";
edge_size=10;
edge_h=0.4;
edge_w=0.75;
edge_pos_x=0;
edge_pos_z=6;
key = "romerg_vert_keycap.STL";
key_pos = [-9,-9,10];
key_scale = [1,1,1];
key_rot = [-90,0,0];
union(... | glb/cad_c0fe2260740b.glb |
Create a 3D Contactless Mouse base consisting of three connected rectangular segments, each with a height of 22mm and a thickness of 4mm. Start by creating a first rectangular block measuring 50mm in length, 4mm in width, and 22mm in height. From the end of this first block, add a second rectangular block of the same t... | h=22;
e=4;
union(){
cube([50,e,h]);
translate([50,0,0]) rotate([0,0,45]) cube([120,e,h]);
translate([50+120*cos(45),120*sin(45),0]) rotate([0,0,90]){
difference(){
cube([40,e,h]);
translate([8,-5,(h-14)/2]) cube([24,e+10,14]);
}
}
} | glb/cad_74d18ba2a4ea.glb |
Create a 3D Contactless Mouse base by starting with a solid rectangular block measuring 40mm in length, 22mm in width, and 4mm in height. Carve out a smaller rectangular cavity from the top of this block to create a hollowed-out center. This interior cutout should measure 34mm in length and 8mm in width, with a depth o... | difference(){
cube([40,22,4]);
translate([3,7,1]) cube([34,8,3]);
} | glb/cad_d4f33f8d778c.glb |
Create a 3D Contactless Mouse base consisting of three connected rectangular walls. Start by creating a rectangular slab 50mm long, 4mm thick, and 22mm high, aligned along the X-axis. From one end of this slab, add a second rectangular slab of the same 4mm thickness and 22mm height, 120mm long, extending outward at a 4... | h=22;
e=4;
a=8.5;
module hexagon(size, height) {
boxWidth = size/1.75;
for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true);
}
union(){
cube([50,e,h]);
translate([50,0,0]) rotate([0,0,45]) cube([120,e,h]);
translate([50+120*cos(45),120*sin(45),0]) rotate([0,0,90]){
difference(){
cube([40... | glb/cad_470d58b2dca3.glb |
Create a 3D Contactless Mouse base plate. Start by constructing a flat octagonal platform 3mm thick, formed by the intersection of two cubes of 180mm x 180mm centered at the origin, one rotated 45 degrees relative to the other. Extend this base with a central rectangular section 200mm long and 60mm wide, also 3mm thick... | difference(){
union(){
cube([180,180,3], true);
rotate([0,0,45]) cube([180,180,3], true);
}
translate([0,-152,-5]) cylinder(h=10,r=140,$fn=100);
translate([0,152,-5]) cylinder(h=10,r=140,$fn=100);
translate([-80,-45,0]) rotate([0,0,-45]) cube([25,60,10], true);
translate([-80,45,0]) rotate([0,0,45]) cube([25,60,1... | glb/cad_f7a92dd80bcc.glb |
Create a 3D Contactless Mouse base by starting with a rectangular block measuring 54mm in width, 24mm in depth, and 3mm in height. Center this block so it extends from -27mm to 27mm along the x-axis. Within this base, create two circular holes, each with a radius of 9mm and a height of 6mm to ensure they pass completel... | union(){
translate([24,0,3]) cube([3,24,5]);
difference(){
translate([-27,0,0]){
cube([54,24,3]);
}
translate([13,12,-1]){
cylinder(h=6,r=9,$fn=100);
}
translate([-13,12,-1]){
cylinder(h=6,r=9,$fn=100);
}
}
} | glb/cad_21a7862c616c.glb |
Create a 3D Contactless Mouse base by starting with a rectangular platform measuring 54mm in width, 24mm in depth, and 3mm in height. On each end of this platform, add a vertical rectangular wall that is 3mm wide, 24mm deep, and 10mm high, positioned at the far left and right edges. Within the main platform, create two... | union(){
translate([24,0,3]) cube([3,24,10]);
translate([-27,0,3]) cube([3,24,10]);
difference(){
translate([-27,0,0]){
cube([54,24,3]);
}
translate([13,12,-1]){
cylinder(h=6,r=9,$fn=100);
}
translate([-13,12,-1]){
cylinder(h=6,r=9,$fn=100);
}
}
} | glb/cad_07d61c7e2777.glb |
Create a 3D Contactless Mouse base by constructing a hollow rectangular box with a specific internal support. Start by creating two parallel horizontal plates, each measuring 80mm by 31mm with a thickness of 3mm, separated vertically by a distance of 64mm. Connect these two plates at the far left and far right ends wit... | b=3;
translate([0,(70-b)/2,15.5]){
rotate([-90,0,0]){
union(){
translate([-40,-15.5,0]){
cube([80,31,b]);
}
difference(){
translate([-9.5,-15.5,b]){
cube([19,31,15]);
}
union(){
translate([-7.5,-13,b]){
cube([15,26,15]);
}
translate([-4.5,-20,b]){
cube([9,10,4]);
}
}
}
transla... | glb/cad_d6baadedcb2d.glb |
Create a vacuum hose clip with a height of 12mm. The main body is a curved C-shape designed to grip a 35mm diameter cylinder. The outer diameter of the clip is 41mm, creating a wall thickness of 3mm. The base of the clip is a rectangular block 34mm wide and 6mm deep.
The clip's profile is a circular arc that wraps ar... | Diameter_to_grip=35;
Number_of_clips=1;
clip_height=12;
width_of_base=34;
depth_of_base=6;
clip_wall_thickness=3;
center_line_distance=56;
hole=5;
module contor1(){
translate([0,-dist_from_cl,0]) square([width_of_base,depth_of_base],true);
contor();
}
the_fillet_r=(clip_wall_thickness/2)-0.1;
outer_dia=Diameter_to... | glb/cad_9f2af71f6da2.glb |
Create a snowman ornament consisting of three stacked spheres and a decorative base. Start with a large bottom sphere 50mm in diameter centered at (0, 0, 5). Above it, place a medium sphere 35mm in diameter centered at (0, 0, 40). At the top, place a small sphere 25mm in diameter centered at (0, 0, 65).
For the medium... | current_color = "ALL";
module multicolor(color) {
if (current_color != "ALL" && current_color != color) {
} else {
color(color)
children();
}
}
$fn=50;
multicolor("white")
translate([0,0,5]) sphere(d=50);
translate([0,0,40]) {
multicolor("white") sphere(d=35);
multicolor("red")... | glb/cad_3cd74372e02b.glb |
Create a Keg Tap Handle in the shape of a barrel with a total height of 65mm. The main body is a revolved surface with 18 staves, curving from a head radius of 21.67mm at the top and bottom to a maximum bilge radius of 28.17mm at the center.
Add four decorative hoops that wrap around the exterior, protruding 0.2mm fr... | difference () {
translate([0,0,height/2]) barrel();
thread(1.5,10,20,20);
}
height=65;
headRadius=1/3*height;
bilgeRadius=13/30*height;
staves=18;
hoopDepth=0.2;
addChimeToBase=false;
otherhoopWidth=height*(6/100);
headhoopWidth=height*(10/100);
quarterhoopDistance=height*(18/100);
frenchhoopDistance=height*(30/100);... | glb/cad_0c84caad336b.glb |
Create a 3D test object consisting of two nested, extruded polygonal shells. First, construct a base outer shell by extruding a 21-point irregular polygon to a height of 8mm. The vertices of this polygon are defined by the coordinates: [-5.05, 6.45], [-4.05, 7.45], [3.95, 7.45], [4.95, 6.45], [4.95, -6.55], [3.95, -7.5... | module module1()
{
color ([1,0.3058823529411765,0.9176470588235294])
{
linear_extrude( height = 8, center=false, convexity = 10, twist = 0, $fn = 10)
polygon(points = [
[-5.05,6.45]
,[-4.05,7.45]
,[3.95,7.45]
,[4.95,6.45]
,[4.95,-6.55]
,[3.95,-7.55]
,[-4.05,-7.55]
,[-5.05,-6.55]
,[-3.05,6.45]
,[-4.0... | glb/cad_2d53f2fbd68a.glb |
Create a Customizable Shelf Joint consisting of two mirrored hollow boxes connected by a central bridge. Each box has an outer dimension of 248mm in width, 15mm in depth, and 19mm in height, with a wall thickness of 1.5mm. The two boxes are separated by a central gap of 5mm, creating a total joint thickness of 8mm.
Th... | height = 16;
joint = 8;
side = 15;
width = 245;
thickness = 1.5;
xHoles = [ 1, 4 ];
yHoles = [ 4, 8 ];
zHoles = [ 2, 4 ];
half = false;
module drawHoles(width, count, diameter, height = thickness)
{
_dx = width / (count + 1);
translate([ - width / 2, 0, 0 ])
{
... | glb/cad_31d853635ab3.glb |
Create a car phone mount consisting of a phone cradle and a CD slot insert.
First, construct the phone cradle as an open-topped rectangular frame. The outer dimensions are 71mm wide, 150mm high, and 9.5mm deep. The walls should have a thickness of 3mm. The bottom of the frame is not fully closed; carve out a central ... | $fn=50;
PhoneHeight = 150;
PhoneWidth = 71;
PhoneDepth = 9.5;
CoverEdgeThickness = 3;
CdInsertThickness = 2;
CdInsertBumpHeight=2.5;
CdInsertAngle=95;
CdInsertOffset=15;
BackSupportAngle=5;
module Elipsoid(width, heigth, x,y,z){
translate([x,y,z]) {
scale([width, width, heigth]) {
sphere(d=1);
}
... | glb/cad_9eccbe02928a.glb |
Create a customizable ventilation grid consisting of a rectangular tube with rounded ends and an integrated grille.
First, construct the main body by creating a hull from four cylinders placed at the corners of a rectangle with a length of 100mm and a width of 40mm. The outer wall of this body should have a height of... | length=100;
width=40;
brim_width=10;
brim_radius=brim_width*2;
tube_wall=2;
tube_radius=tube_wall*2;
diameter=8;
brim_height=1;
height=10;
grid_x=6;
grid_y=6;
grid_height=5;
grid_thickness=1;
$fn=80;
if (tube_radius>=diameter)
echo (" WARNING : tube_radius must be smaller than diameter ");
if (brim_height>h... | glb/cad_9a0ddf276e3b.glb |
Create a customizable ventilation grid. Start by constructing a rectangular base frame with rounded corners. The overall outer dimensions are 108mm in length and 48mm in width, formed by a hull of four cylinders with a diameter of 18mm and a height of 3mm. Inside this, create a slightly taller central section by formin... | length=100;
width=40;
border=10;
borderinternal=4;
diameter=8;
spacerborder=3;
spacerinternal=10;
grid_x=6;
grid_y=6;
grid_height=5;
grid_thickness=1;
echo ("overall length= ",length + diameter," and overall width= ",width + diameter);
translate([-length/2,0,0])
difference(){
union(){
hull(){
c... | glb/cad_8c7db23fdc1e.glb |
Create an oval keychain by starting with a base sphere that is scaled to 8mm in radius on the X-axis, 16mm on the Y-axis, and 24mm on the Z-axis. Carve a cylindrical hole through the top of this shape with a radius of 2mm and a height of 13mm, positioned at X -6, Y 0, and Z 19.6. Additionally, remove a smaller spherica... | use <write/Write.scad>
show_text="yes";
text_font="write/orbitron.dxf";
text_itself="MK";
text_size = 9;
rotate(-60,[0,0,1])
scale([0.7,0.7,0.7])
union(){
keyringWithPic();
if (show_text=="yes") {
translate([1.5,0,0])
rotate(90,[0,1,0])
color("salmon")
write(text_itself,t=7,bold=1,h=text_size,font=text_font,s... | glb/cad_0ac6425061e8.glb |
Create a room sign based on "The Office" logo style. Start by creating a black rectangular base with rounded corners, measuring 185mm wide by 61.56mm high and 2mm thick.
On the right side of the base, add a raised white square border. This border is created by taking a rectangle measuring 53.9mm by 50.4mm with rounde... | $fn=50+0;
fudge = 0.01 + 0.01;
string_1 = "The";
string_2 = "??Mystery Room??";
text_scaling_ratio = 1;
part = 4;
select_font = "Arial:bold";
auto_scale = (len(string_2) > 8) ? 14 / ( len(string_2) + 6 ) : 1;
scaling = auto_scale * text_scaling_ratio;
if (part == 1 || part == 4) {
color ("white") translate ([... | glb/cad_2cef9eddfb55.glb |
Create a Customizable Switch Socket designed to hold a rocker switch. Start by creating a rectangular base plate (collet) that is 31.5mm wide, 35.5mm long, and 1.5mm thick, with a central rectangular cutout of 26.5mm by 31.5mm.
On top of this base, centered within the brim, build a rectangular sleeve (sunk) with oute... | switch_width = 21.5;
switch_length = 29;
switch_deepth = 26;
switch_bridge_width = 2;
sunk_width = 26.5;
sunk_length = 31.5;
sunk_deepth = 8.6;
collet_brim = 2;
collet_height = 1.5;
wall_thickness = 1.5;
layer_hei... | glb/cad_24ace77d10db.glb |
Create a switch socket for mounting a rocker switch. Start with a base rectangular plate measuring 23mm by 29mm with a height of 1.5mm. This plate has a central rectangular cutout of 19mm by 25mm, leaving a 2mm brim around the edges.
On top of this base, centered over the cutout, add a rectangular sleeve with outer di... | switch_width = 13.3;
switch_length = 19;
switch_deepth = 24;
switch_bridge_width = 2;
sunk_width = 19;
sunk_length = 25;
sunk_deepth = 6.6;
collet_brim = 2;
collet_height = 1.5;
wall_thickness = 1.5;
layer_height ... | glb/cad_7803550fd195.glb |
Create a switch socket for mounting a rocker switch. Start with a base rectangular plate measuring 24mm by 28mm with a height of 1.5mm. This plate has a central rectangular cutout of 19mm by 25mm.
On top of this base, centered over the cutout, add a rectangular sleeve with outer dimensions of 22mm by 28mm and a height... | switch_width = 13.3;
switch_length = 19;
switch_deepth = 24;
switch_bridge_thickness = 2;
sunk_width = 19;
sunk_length = 25;
sunk_deepth = 6.6;
collet_brim = 2;
collet_height = 1.5;
wall_thickness = 1.5;
layer_height ... | glb/cad_9c92cc2cc711.glb |
Create a replacement detergent tank cap with a rectangular base and a raised central cover. The base is a flat plate measuring 96mm in length and 33mm in width, with a thickness of 2mm. All four corners of this base must be rounded with a radius of 1.2mm.
Centered on top of this base, construct a raised rectangular co... | dx = 96;
dy = 33;
dwidth = 2;
dcornerrad=1.2;
hx = 73;
hy = 28;
hwidth = 2.4;
hrad = 5;
offhx = 9;
offhy = 2.5;
$fn=64;
module reinforced_wall(h=6, wbot=3.2, wtop=1.8) {
dent=0.4;
rotate([90,0,90]) linear_extrude(height = 1) {
polygon( points = [
[0, 0], [wbot, 0], [wtop, h], [0, h], [0, 2... | glb/cad_c21606b4ea9a.glb |
Create a Bed Leveling Test consisting of a 7x7 grid of square tiles. Each tile should be a cube measuring 20mm in width and length with a height of 1.2mm. Arrange these tiles so the entire pattern spans a total width and length of 220mm, resulting in an equal spacing of 31.43mm between the centers of adjacent tiles.
O... | squareSize = 20;
patternSize = 220;
height = 1.2;
printLetters = true;
n = 7;
fontStyle = "Liberation Sans:style=Bold";
letterThicknessFactor = 0.5;
letterSizeFactor = 0.75;
imax = floor((n-1)/2);
dx = patternSize / (n-1);
for (i = [1:n]) {
x = -0.5*patternSize + (i-1)*dx;
for (j = [1:n]) {
y = -0.5... | glb/cad_8519ae178d12.glb |
Create a CoderDojo tag by constructing a circular base with a total thickness of 10mm. The base is a cylinder with a diameter of approximately 40.7mm.
On the top surface of this base, carve out a recessed area to create a 3D logo. This logo consists of two distinct elements: a stylized "C" and a "D". The "C" is a curv... | fudge = 0.1;
module poly_path3060(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-24.896477,143.048787],[-0.726556,143.048787],[-0.726556,59.625936],[-27.020501,64.899373],[-27.020501,51.422809],[-0.873040,46.149369],[13.921882,46.149369],[13.921882,143.048787],[38.091804... | glb/cad_8c1528bcc872.glb |
Create a CoderDojo tag by constructing a circular coin-like base with a thickness of 10mm. The base is a cylinder with a diameter of approximately 40.7mm.
On the top surface of the base, engrave the CoderDojo logo. This consists of two distinct geometric subtractions: first, create a circular hole with a diameter of ... | fudge = 0.1;
module poly_path3060(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-24.896477,143.048787],[-0.726556,143.048787],[-0.726556,59.625936],[-27.020501,64.899373],[-27.020501,51.422809],[-0.873040,46.149369],[13.921882,46.149369],[13.921882,143.048787],[38.091804... | glb/cad_1f467ebc2df7.glb |
Create a CoderDojo tag by constructing a circular coin-like base with a thickness of 10mm and a diameter of approximately 405mm (scaled down to a usable size, as the source coordinates are large).
First, create the main circular body. On the top surface, engrave the CoderDojo logo by removing material to a depth of 5... | fudge = 0.1;
module poly_path3060(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-24.896477,143.048787],[-0.726556,143.048787],[-0.726556,59.625936],[-27.020501,64.899373],[-27.020501,51.422809],[-0.873040,46.149369],[13.921882,46.149369],[13.921882,143.048787],[38.091804... | glb/cad_e8e7cf470a18.glb |
Create a CoderDojo tag by constructing a circular disc with a diameter of 124mm and a thickness of 10mm.
On the top surface of the disc, emboss the CoderDojo logo. The logo consists of two primary geometric elements: a stylized "C" shape and a central circular ring. The "C" shape is a thick, curved path that follows ... | fudge = 0.1;
module poly_path3060(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-24.896477,143.048787],[-0.726556,143.048787],[-0.726556,59.625936],[-27.020501,64.899373],[-27.020501,51.422809],[-0.873040,46.149369],[13.921882,46.149369],[13.921882,143.048787],[38.091804... | glb/cad_224c0489d795.glb |
Create a CoderDojo tag by constructing a circular base with a small integrated loop for hanging. Start with a main disc 120mm in diameter and 10mm thick. On the top edge of the disc, add a smaller solid cylinder 30mm in diameter and 10mm thick, centered so it partially overlaps the main disc to form a hanging loop. Dri... | fudge = 0.1;
module poly_path3060(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-24.896477,143.048787],[-0.726556,143.048787],[-0.726556,59.625936],[-27.020501,64.899373],[-27.020501,51.422809],[-0.873040,46.149369],[13.921882,46.149369],[13.921882,143.048787],[38.091804... | glb/cad_f1b4bfb50874.glb |
Create a Microscope Mount for a Mini Spectrophotometer. Start with a rectangular platform measuring 99.1mm in width, 43.84mm in depth, and 5.56mm in height.
At the center of the platform's width, integrate a large vertical cylinder with an outer diameter of 20.8mm and a height of 20mm. This cylinder should be hollowe... | in2mm = 25.4;
specW = 3.5*in2mm;
specH = 1.337*in2mm;
platX = specW+10;
platY = specH+10;
specLX = 0.970*in2mm;
specLY = 0.8*in2mm;
gap = 0.02;
specLensR = 7.97/2;
specLensH = 5.56;
mountR = 41.6/2;
mountH = 20;
module cameraMount(){
union() {
translate([0,0,+2.52]) cylinder(4.02,(25.33/2)+gap,(25.33/2)+gap)... | glb/cad_cb17bec93eaa.glb |
Create a fiber optics collimating lens mount by starting with a thin circular disk that has a diameter of 70mm and a height of 2mm. Center a circular hole through the entire thickness of the disk with a diameter of 6.175mm. Additionally, create two smaller holes, each with a diameter of 2.9mm, positioned symmetrically ... | height=2;
bolt=(12.55-0.2)/2;
difference(){
cylinder(height,70/2,70/2);
cylinder(height,bolt,bolt);
translate([30,0,0]) cylinder(height,2.9/2,2.9/2,$fs=0.3);
translate([-30,0,0]) cylinder(height,2.9/2 ,2.9/2,$fs=0.3);
} | glb/cad_cb4577b5ab5d.glb |
Create a fiber optics collimating lens mount by constructing a thin, flat ring. Start with a solid cylinder that has a radius of 8mm and a height of 2mm. From the center of this cylinder, remove a smaller concentric cylindrical hole with a radius of 6.45mm and the same height of 2mm, resulting in a hollow washer-like s... | use <Thread_Library.scad>
height=2;
bolt=(12.9)/2;
difference(){
cylinder(height,16/2,16/2);
cylinder(height,bolt,bolt);
} | glb/cad_2deb648410fc.glb |
Create a spool holder side-to-side bar. Start with a long rectangular base that is 88mm long, 8mm wide, and 1.5mm thick. Centered along the length of this base, add a second rectangular section that is 8mm wide and 3mm high, but shorter than the base; it should start and end 13.4mm from each end of the base. At each fa... | spoolw=88;
bwc=10;
sscm=0.05;
spoolww=4;
spooldd=spoolw-spoolww;
bwcm=1;
bht=1.6;
bhw=bwc+bwcm*2+bht*2;
sswd=15;
ssd=8;
ssh=1.5;
ssh2=3;
ssch=5;
sscd=5.4;
sscw=5.4;
sshm=0.8;
ssdm=0.4;
module box(pos,size) { translate(pos) cube(size); }
module torus(pos=[0,0,0],r1=10,r2=2,angle=360)
{
translate(pos... | glb/cad_5e62fb5cba8b.glb |
Create a spool holder front loop consisting of a central base plate and two symmetrical end clips. The base plate is a rectangular slab with a thickness of 2mm and a total width of 14mm.
At each end of the base plate, construct a filament clip holder. Each holder consists of two thin vertical walls, 1.2mm thick, spac... | spoolw=88;
bwc=10;
flcm=0.15;
spoolww=4;
spooldd=spoolw-spoolww;
bwcm=1;
bht=1.6;
bhp=1;
bhw=bwc+bwcm*2+bht*2;
fchh=20;
flpt=2;
module box(pos,size) { translate(pos) cube(size); }
module torus(pos=[0,0,0],r1=10,r2=2,angle=360)
{
translate(pos)
rotate_extrude(angle=angle)
translate([r1,0]) circle... | glb/cad_e93cf9947125.glb |
Create a filament mount part. Start with a base plate that is 4mm thick. The main body is composed of two rectangular sections joined together: one measuring 16.5mm by 116.5mm and another measuring 32.5mm by 100.5mm, both 4mm high. At the corner where these sections meet, add a semi-circular extension with a radius of ... | use <Thread_Library.scad>
module cylinderThreaded(h=0,r=0){
trapezoidThreadNegativeSpace(
length=h,
pitch=2,
pitchRadius=r,
threadHeightToPitch=0.5,
profileRatio=0.5,
threadAngle=30,
RH=true,
countersunk=0.1,
clearance=0.1,
backlash=0.1,
stepsPerTurn=24
);
}
module m3(bolt_dia = 2.9,length=13){
union()... | glb/cad_4030a1159ea0.glb |
Create a filament mount part by starting with a main cylindrical disk that has a radius of 29mm and a height of 5mm. From this disk, remove a central cylindrical core with a radius of 7.5mm and a height of 5mm.
To create the outer features, add six small cylindrical pegs, each with a radius of 2mm and a height of 9mm... | use <Thread_Library.scad>
$fs=1;
module cylinderThreaded(h=0,r=0){
trapezoidThreadNegativeSpace(
length=h,
pitch=4,
pitchRadius=r,
threadHeightToPitch=0.5,
profileRatio=0.5,
threadAngle=30,
RH=true,
clearance=0.1,
backlash=0.1,
stepsPerTurn=24,
countersunk=0.1
);
}
difference(){
union(){
cylinde... | glb/cad_62d13bde02cb.glb |
Create a Filament Mount consisting of a mounting screw and an attached spindle.
First, construct the mounting screw. Create a central cylinder with a radius of 9.5mm and a height of 3mm. Above this, add a larger cylindrical head with a radius of 15mm and a height of 12mm. This head should be hollowed out by removing ... | include <Libs.scad>
include<Thread_Library.scad>
displayMode = rezPrinter();
module cylinderThreaded(h=0,r=0){
trapezoidThread(
length=h,
pitch=4,
pitchRadius=r,
threadHeightToPitch=0.5,
profileRatio=0.5,
threadAngle=30,
RH=true,
clearance=0.1,
backlash=0.1,
stepsPerTurn=24
);
}
module Spindle(
postD... | glb/cad_ca6dbce81230.glb |
Create a filament mount part consisting of a cylindrical nut with an integrated washer. Start by creating a wide, thin cylindrical base with a radius of 15mm and a height of 1mm. On top of this base, add a second cylinder with the same 15mm radius but a height of 4mm, resulting in a total solid height of 5mm.
From th... | use <Thread_Library.scad>
module cylinderThreaded(h=0,r=0){
trapezoidThreadNegativeSpace(
length=h,
pitch=4,
pitchRadius=r,
threadHeightToPitch=0.5,
profileRatio=0.5,
threadAngle=30,
RH=true,
clearance=0.1,
backlash=0.1,
stepsPerTurn=24,
countersunk=0.1
);
}
difference(){
union(){
cylinder(h=1,r... | glb/cad_d250e5137b26.glb |
Create a filament mount part consisting of a rectangular base and a tiered cylindrical tower. Start with a rectangular base measuring 24mm by 24mm with a height of 10mm. Centered on top of this base, place a cylinder with a radius of 9.5mm and a height of 9mm. Above this cylinder, add a smaller cylindrical section with... | use <Thread_Library.scad>
module cylinderThreaded(h=0,r=0){
trapezoidThread(
length=h,
pitch=4,
pitchRadius=r,
threadHeightToPitch=0.5,
profileRatio=0.5,
threadAngle=30,
RH=true,
clearance=0.1,
backlash=0.1,
stepsPerTurn=24
);
}
module nut() {difference(){
union(){
cylinder(h=1,r=30/2);
cylind... | glb/cad_d3d099a24d94.glb |
Create a ball-chain pulley and a weight clip.
For the pulley, create a central cylinder with a total height of 23.64mm and a diameter of 23.87mm. At the center, remove a vertical shaft with a diameter of 6.4mm. Around the middle of the pulley, create a circular groove to hold a ball chain; this groove is formed by re... | $fa = 10;
$fs = 0.4;
fastening_method = 0;
shaft_diameter = 6.4;
ball_diameter = 4.52;
ball_count = 12;
ball_spacing = 6.26;
link_diameter = 0.99;
screw_diameter = 3.05;
screw_count = 1;
nut_diameter = 5.6;
nut_height = 2.4;
clamp_inner_diameter = 13;
clamp_width = 8;
flat_spot_diameter = 4;
PI = 3.1415927;
wheel... | glb/cad_6902a16183a9.glb |
Create a zip-tie clip for a ball-chain pendulum weight. Start with a rectangular block that is 24mm wide, 12mm deep, and 25mm high.
Carve a central slot through the block to accommodate a ball chain. This slot consists of a sphere with a diameter of 5.5mm centered at a height of 15mm, connected to a horizontal cylind... | $fa = 10;
$fs = 0.4;
ball_diameter = 5.5;
ball_spacing = 69.5/11;
link_diameter = 2;
roll_diameter = 20.25;
roll_height = 0;
wall = 6;
clip_height = 15;
block_height = 25;
zip_h= 5;
zip_w = 2;
PI = 3.1415927;
link_length = ball_spacing - ball_diameter ;
slotwidth = ball_diameter+2*link_length;
module slot(){
union()... | glb/cad_15712e04e7a2.glb |
Create a 3D model of the Makerspace Urbana Logo by starting with a solid rectangular block measuring 24mm wide, 24mm deep, and 37mm tall. From this main block, remove a central rectangular section to create a U-shaped channel. This cutout should be 9mm wide and 18mm deep, extending 26mm into the block's height, leaving... | translate(v = [24/2, 24/2,37])
rotate([0,180,90]) {
difference() {
cube(size=[24,24,37]);
translate(v = [8, 8, -1]) {
cube (size=[9,18,26]);
}
translate(v = [8, 8, -1]) {
cube (size=[18,9,26]);
}
translate(v = [0, -0.1, -sqrt(8*8)])
rotate([0,-45,0]) {
cube(size=[sqrt(8*8+8*8),
... | glb/cad_7696b5de1649.glb |
Create a Customizable Dice Game consisting of nine dice arranged in a circular pattern. Each die is a cube with a side length of 15mm, but with its corners rounded by an intersecting sphere of radius 10.36mm.
On each die, engrave one letter on each of the six faces. The letters should be 8mm in size and 1mm deep. Use... | font = "Segoe UI:style=Bold";
char_size = 8;
char_thickness = 1;
symbols1 = ["G", "D", "O", "N", "T", "R"];
symbols2 = ["O", "A", "E", "E", "O", "I"];
symbols3 = ["R", "T", "E", "S", "N", "M"];
symbols4 = ["U", "P", "E", "E", "T", "T"];
symbols5 = ["F", "E", "D", "I", "H", "H"];
symbols6 = ["A", "E", "A", "E", "Y", "E... | glb/cad_eeb8400cba19.glb |
Create a Hexagon Board Game base. Start by constructing a large hexagonal plate with a flat-to-flat width (cle) of 101.6mm and a thickness of 2.54mm. Hollow out the center of this plate by removing a smaller concentric hexagon with a flat-to-flat width of 5.08mm.
Around the outer perimeter of the main plate, add six i... | use <Hexagones.scad>;
$fn = 150 ;
Epsilon = 0.15 ;
Thikness = 2.54 ;
inch = 25.4;
Cle_Size = 4*inch;
function cot(x)=1/tan(x);
function CoteY(x)=x*cot(60);
echo(CoteY(1*inch));
Ysize = CoteY(Cle_Size);
echo(Ysize);
module Plate()
{
difference()
{
Hexagone(cle=Cle_Size,h=Thikness);
translate([0,0,-Thikness... | glb/cad_a0b841cbdce8.glb |
Create an Android figure by assembling the following geometric components. Start with a main body consisting of a cylinder 39mm high with a radius of 22.5mm. Place a smaller cylinder on top of the body to serve as a neck, 4mm high with a radius of 20mm. Atop the neck, place a head created by taking a sphere with a radi... | body_height = 39;
body_r = 45/2;
color("lime") cylinder(body_height,body_r,body_r);
neck_height = 4;
neck_r = 40/2;
translate([0,0,body_height])
color("white") cylinder(neck_height, neck_r, neck_r);
translate([0,0,body_height + neck_height]){
difference(){
scale([1,1,0.8]){
color("lime") sphere(body_r);
... | glb/cad_fb5635f4c482.glb |
Create a rod mounting bracket for a shelf. Start by creating a flat rectangular base plate that is 25mm long, 20mm wide, and 2mm thick. At one end of this plate, center a vertical cylindrical sleeve with an outer diameter of 13mm and an inner hole diameter of 10.2mm to accommodate a rod; this sleeve should have a heigh... | $fa=0.2;
$fs=0.2;
top_length = 25;
top_height = 20;
side_length = 10;
pole_strength = 2;
rod_diameter = 10.2;
rod_cover_length = 7;
rod_cover_strenght = 1.5;
rod_to_ground = 50;
rod_side_distance = -pole_strength;
rod_cover_diameter = rod_diameter+2*rod_cover_strenght;
screw_hole_diameter = 3;
corner_smoothness = 0... | glb/cad_c7b98a959a82.glb |
Create a rod mounting bracket for a shelf. Start with a L-shaped base consisting of a vertical wall plate and a horizontal mounting flange. The vertical plate should be 23mm wide, 10mm deep, and 2mm thick. The horizontal flange should be 10mm wide and 2mm thick, extending from the bottom of the vertical plate.
At the ... | $fa=0.2;
$fs=0.2;
top_length = 23;
side_length = 10;
pole_strength = 2;
rod_diameter = 10.2;
rod_cover_length = 7;
rod_cover_strenght = 1.5;
rod_to_ground = 50;
rod_side_distance = -pole_strength;
rod_cover_diameter = rod_diameter+2*rod_cover_strenght;
screw_hole_diameter = 3;
corner_smoothness = 0;
all_covers();
... | glb/cad_dbbd00c34411.glb |
Create a playing card box with a wall thickness of 1.5mm and rounded corners with a 5mm radius. The main body is a hollow rectangular container with interior dimensions of 58mm in width, 89mm in height, and 47mm in depth. The exterior dimensions should be 60mm by 91mm by 49mm to account for the walls and tolerances.
... | $fn=100;
cardWidth= 57;
cardHeight= 88;
cardThick= 46;
radius= 5;
wall= 1.5;
tolerance= 0.5;
toleranceClip= 0.4;
module cubeRC(wx, wy, wz, rad)
{
hull()
{
translate([-wx/2+radius,-wy/2+radius,0]) cylinder(r=rad, h=wz);
translate([ wx/2-radius,-wy/2+radius,0]) cylinder(r=rad, h=wz);
translate([-w... | glb/cad_9a85a5e84805.glb |
Create a small loveseat furniture mini. The model is composed of three main rectangular sections with soft, rounded edges.
First, create a thin rectangular backrest that is 36mm deep, 54mm long, and 34mm high. Position this as the rear vertical support.
Second, add two identical armrests on either side of the backr... | units = 25.4;
scale = 50;
$fn = 1*12;
s = units/scale;
soft = 3*s;
sharp = 1*.2;
custom_furniture = 0;
stock_bookcase_selection = 100;
stock_bed_selection = 300;
other_stock_selection = 516;
length = 30;
depth = 30;
height = 30;
radius = 7;
shelves = 4;
drawers = 4;
chair_type = 1000;
sofabed_depth = 65;
... | glb/cad_ef2ff7b64667.glb |
Create a Bluetooth earbud case consisting of a main body and a removable cover.
For the main body, create a hollow shell by forming a hull between two scaled spheres (scaled by 0.2 on the X-axis) positioned at X = -27.5 and 27.5, and a third sphere at Y = -65, all with a diameter of 30mm. Hollow this out using a hull... | dg=27;
bg=55;
lks=65;
ws=1.5;
part=0;
$fn=100;
module MainBody() {
difference() {
hull() {
translate([-bg/2, 0, 0]) scale([0.2, 1, 1]) sphere(d=dg+2*ws);
translate([ bg/2, 0, 0]) scale([0.2, 1, 1]) sphere(d=dg+2*ws);
translate([0, -lks, 0]) sphere(d=dg+2*ws);
}
hull() {
trans... | glb/cad_cb1aebf15c11.glb |
Create two symmetrical smartphone holder shims. For each shim, construct a main body by combining a cylinder with a diameter of 12.8mm and a height of 4mm, and a rounded top formed by two spheres with a radius of 6.4mm. Integrate a protrusion slot into this body using a cylinder with a diameter of 7.9mm and a height of... | phone_thickness = 9;
phone_width = 80;
module Thing(slot_w, od) {
slot_w2 = slot_w/2;
difference() {
union() {
hull() {
rotate([0,180,0]) translate([45.35-od/2, 3, 0]) rotate([-90,0,0]) cylinder(d=od, h=4, $fn=50);
rotate([0, 0,0]) translate([45.35-od/2, 3, ... | glb/cad_d5f4f1fb595d.glb |
Create a Parametric Filament Spool Vase by constructing a hollowed-out vessel with a rounded base and a lipped top. Start with a main exterior body consisting of a cylinder 100mm tall with a radius of 15mm, capped at the bottom by a hemisphere with a radius of 15mm. At the top of the cylinder, add a flat circular lip t... | Cylinder_Height = 100;
Exterior_Radius = 15;
Wall_Thickness = 2;
Lip_Radius = Exterior_Radius+Wall_Thickness;
module vase(){
difference(){
exterior();
color("red") interior();
}
}
module interior() {
union() {
cylinder(h = Cylinder_Height+10, r = Exterior_Radius-Wall_Thickness, center = true);
translate([0... | glb/cad_a5ef6280269b.glb |
Create an iPad stand by combining a rectangular base with a supporting backrest. Start with a base block 100mm wide, 100mm deep, and 10mm high. On top of this, add a vertical support block 100mm wide, 40mm deep, and 30mm high. Carve out a slot from the top of the support block to hold the tablet; this slot must be 150m... | iPadThickness = 11.5;
standWidth = 100;
standBottomThickness=50;
standTopThickness = 10;
standDepth = 40;
iPadAngle = 115;
baseDepth = 100;
frontHeight = 25;
backHeight = 30;
holeRadius = 12;
holeHeight = 20;
difference(){
union(){base();stand();}
translate([0,10,10])
rotate([335,0,0])
iPad();
translate([0,-22,0])... | glb/cad_497c57adeb7e.glb |
Create a mounting bracket for an M8 rod. Start by creating a solid rectangular block with dimensions 16mm in width, 11mm in height, and 24mm in depth.
From this block, remove a cylindrical hole with a radius of 4mm that runs through the center of the 11mm height, extending along the entire 24mm depth. Additionally, r... | rod =8;
offset1=3;
x = rod +rod;
z = rod +rod+rod;
y = offset1+rod/2;
rod1offset =rod;
rod2offset =rod*2;
rotate([90, 0, 0])
difference() {
cube([x, y, z]);
translate([x/2,y,rod1offset])rotate([90, 0, 0]) cylinder(h=z,r=rod/2);
translate([ 0,y,rod2offset])rotate([ 0,90, 0]) cylinder(h=x,r=rod/2);
... | glb/cad_0ef6d64979a0.glb |
Create a clamp for an Asus EeePC netbook designed to fit an M8 rod. Start with a main rectangular block measuring 28mm in width, 7mm in height, and 37mm in depth. Orient this block so the 37mm dimension runs along the Z-axis.
Remove a cylindrical hole with a radius of 4mm running through the center of the block along... | rod =8;
offset1=3;
netbookthickness=20;
netbookcapture = 5;
ethernetwidth =14;
ethernetheight=15;
ethernetindent= 5;
x = ethernetwidth*2;
y = offset1+rod/2;
z = rod+rod+netbookthickness+netbookcapture;
rotate([90, 0, 0])
difference(){
cube([x, y, z]);
translate([x/2,y,rod])rotate([90, 0, 0]) cylinder(h=y,r=r... | glb/cad_47499c09942f.glb |
Create a cable puller servo horn. Start with a partial wheel that has a diameter of 40mm and a height of 6mm. The wheel should be a sector of 120 degrees, though the central mounting area remains a full circle with a diameter of 10mm.
In the rim of the wheel, create a circular notch with a depth of 1.7mm and a height ... | angle = 120;
cable_diameter = 0.75;
notch_depth = 1.7;
wheel_diameter = 40;
wheel_height = 6;
servo_mount_diameter = 10;
num_teeth = 25;
cable_radius = cable_diameter/2;
wheel_radius = wheel_diameter/2;
servo_mount_radius = servo_mount_diameter/2;
notch_height = 2*notch_depth;
inner_radius = wheel_radius - notc... | glb/cad_08d77cad8b83.glb |
Create a cable puller servo horn. Start with a base cylinder 20mm in diameter and 6mm high. Remove a pie-shaped wedge from this cylinder to leave a remaining arc of 120 degrees.
At the center of the base, create a vertical mounting hole for a servo. This mount consists of a 6.3mm outer diameter spline with 25 teeth, ... | angle = 120;
cable_diameter = 0.75;
notch_depth = 1.7;
wheel_diameter = 20;
wheel_height = 6;
servo_mount_diameter = 10;
num_teeth = 25;
cable_radius = cable_diameter/2;
wheel_radius = wheel_diameter/2;
servo_mount_radius = servo_mount_diameter/2;
notch_height = 2*notch_depth;
inner_radius = wheel_radius - notc... | glb/cad_051d50d437c8.glb |
Create a Mendel Feed Spool vertex by constructing a thick-walled cylinder with a height of 20mm. The main body is a cylinder with a radius of 8mm (16mm diameter) and a central vertical hole with a radius of 4.8mm (9.6mm diameter) passing through the entire height.
To this main body, add a secondary cylinder with a ra... | Lower = 0;
M3=4.3;
M8=9.6;
vertex_height=20;
FN=80;
union(){
translate ([0,0,vertex_height/2])difference()
{
union () {
dxf_linear_extrude(file = "vertex-body-fixed-qcad.dxf",height=vertex_height,center=true);
translate([35.013,39.999,vertex_height/2]) cylinder(h=12,r=(16/2),center=true,$fn=FN);
}
trans... | glb/cad_44f45789cdc6.glb |
Create a Parametric Circular Air Trimmer consisting of two main parts: a hollow cylindrical adapter and a removable circular cap.
First, construct the adapter. Create a thin-walled cylinder with an outer diameter of 64mm and a height of 16.2mm. Add a flat, circular brim at the base that extends the diameter to 74mm wi... | bore_diameter = 64;
bore_depth = 15;
brim_size = 5;
cap_slices = 6;
wall_width = 1.2;
cap_height = 1.2;
pin_diameter = 4.8;
padding = 1.2;
module _() {};
$fa = 1;
$fs = 0.5;
module cylinder2(h, r1, r2)
{
difference()
{
cylinder(h=h, r=r2);
translate([0, 0, -0.1]) cylinder(h=h+0.2, r=r1);
}
}
mo... | glb/cad_ef0c695b10a5.glb |
Create an Echo Dot Stand and an optional Cabinet Hook.
For the stand, create a cylindrical holder with an outer diameter of 85.6mm and a height of 33mm. The holder should be hollowed out to accommodate the device, with a central hole of 42.5mm diameter. Along the perimeter of the cylinder, create 50 evenly spaced ver... | Part="Dot";
Cabinet_Thickness=21.5;
MM_PER_INCH=25.4;
dot_diameter=3.3*MM_PER_INCH + 0.2;
dot_radius=dot_diameter/2;
dot_height=1.3*MM_PER_INCH;
dot_fn=150;
base_height=40;
base_lower_width=0.90*dot_diameter;
base_upper_width=0.5*base_lower_width;
base_upper_thick=0.75*dot_height;
base_fn=100;
minkowski_fn=10;
numsl... | glb/cad_9c289efeb08e.glb |
Create a CNC Router Dust Shoe mount. The object is a symmetrical base with a thickness of 2mm.
Construct the main body by creating a hull between three cylinders: a large cylinder with a diameter of 68mm (64mm router diameter plus 2mm wall thickness on each side) positioned at the rear, a smaller cylinder with a diam... | mount_thickness=2;
router_vacuum_offset=15;
router_diameter=64;
router_mount_height=14;
vacuum_diameter=30.5;
vacuum_mount_height=router_mount_height;
magnet_diameter=13;
magnet_height=1.4;
magnet_y_offset=45;
tool_opening=64;
cut_off_amount=15;
cut_off_width=11;
$fn=100;
use <hull.scad>
rotate([0,180,0])
mount()... | glb/cad_979c137e494e.glb |
Create a CNC Router Dust Shoe consisting of two concentric cylindrical mounts connected by a base.
First, create the router mount as a hollow cylinder with an outer diameter of 68mm and an inner diameter of 64mm, with a wall thickness of 2mm and a height of 28mm. Create the vacuum mount as a hollow cylinder with an o... | mount_thickness=2;
router_vacuum_offset=15;
router_diameter=64;
router_mount_height=14;
vacuum_diameter=30.5;
vacuum_mount_height=20;
vacuum_mount_angle=25;
magnet_diameter=13;
magnet_height=1.4;
magnet_y_offset=45;
$fn=100;
use <hull.scad>
mount();
module mount(){
base();
difference(){
extension();
for (a=[0:5... | glb/cad_f1e248cc2c0b.glb |
Create a CNC Router Dust Shoe mount. The object is a hollowed-out base designed to fit around a router and connect to a vacuum hose.
Start by creating a solid hull that encompasses three main cylindrical volumes: a central cylinder with a diameter of 68mm (64mm router diameter plus 4mm total wall thickness) and a hei... | mount_thickness=2;
router_vacuum_offset=15;
router_diameter=64;
router_mount_height=14;
vacuum_diameter=30.5;
vacuum_mount_height=router_mount_height;
magnet_diameter=13;
magnet_height=1.4;
magnet_y_offset=45;
tool_opening=64;
cut_off_amount=15;
cut_off_width=11;
vinyl_band=1.1;
$fn=100;
use <hull.scad>
mount()... | glb/cad_9206054a0fb4.glb |
Create a Customizable Material Sample tag by starting with a base plate that is 24mm wide, 24mm long, and 0.6mm thick. Round the corners of this plate with a radius of 3mm. To create the main body, add a rectangular extension to one side that is 10mm wider than the base plate, maintaining the 0.6mm thickness and the 3m... | size = 24;
label = "my TEXT";
h = 0.6;
d = 10;
r = 3;
fs = 4;
$fn=20;
module message(txt, shift) {
rotate([0, 0, 90])
translate([size/2, -shift, h])
linear_extrude(h*1.01)
text(txt, fs, halign="center", font="Liberation Sans:style=Bold");
}
translate([-size/2, -size/2, h])
... | glb/cad_82d6f31588d0.glb |
Create a Tefal Optiss scale wall hook. Start by constructing a base support consisting of three joined parts: a cylinder with a radius of 11.4mm and a height of 3.1mm, a rectangular block measuring 22.8mm wide, 11.4mm deep, and 3.1mm high centered on the cylinder, and a second cylinder with a radius of 11.4mm and a hei... | head_inner_radius=11.4;
head_outer_radius=20.5;
head_thickness=3.1;
head_space=10;
module scale_obj() {
union() {
translate([0,0,head_thickness]) difference() {
cylinder(head_thickness,head_outer_radius,head_outer_radius);
cylinder(head_thickness,head_inner_radius,head_inner_radius)... | glb/cad_a36c9f0f0bda.glb |
Create a pill bottle replacement cap and a matching plug. The cap begins with a base cylinder 10mm high with a radius of 30mm and 24 facets. Inside this base, create a centered internal metric thread with a diameter of 55mm, a pitch of 3.2mm, and a length of 10mm, using two starts.
On top of the base, add a conical s... | include <threads.scad>
include <Write.scad>
threadHeightToPitch=0.5;
profileRatio=0.5 ;
threadAngle=30 ;
RH=true ;
countersunk=0 ;
clearance=0.1 ;
backlash=0.1 ;
stepsPerTurn=14;
union() {
difference() {
translate([0,0,10])
cylinder(r1=30, r2=8, h=35,$fn=24,center=false);
translate([0,0,9.9])
cylind... | glb/cad_2930d5372ee6.glb |
Create an adapter for a PMS7003 air quality sensor consisting of a rectangular box and a separate flat template.
For the main box, create a base floor with dimensions 51mm by 40.8mm and a thickness of 1.25mm. Centered on this floor, cut a rectangular hole 51mm wide and 20mm long. Build four walls around the perimeter... | $fn=64;
wHeight=10;
wThick=1.5;
wThicCh=2.5;
floorThick=1.25;
bWidth=48;
bLength=37.8;
module conector(rectWidth, rectHeight, pipe, tall, hollow, shift){
difference() {
color("red") hull() {
translate([shift,0,0]) cylinder(1, r=pipe/2);
translate([0,0,tall]) cube([rectWidth, rectHeight, 1], true);
}
... | glb/cad_3d49109654b8.glb |
Create a Jhead to Jhead Lite Adapter by starting with a main cylinder 9mm tall with a radius of 7.65mm and a 40-facet resolution. Remove a central vertical hole with a radius of 5mm that extends through the entire height. Create a second internal bore with a radius of 6.35mm and a 25-facet resolution, positioned to sta... | difference() {
cylinder(9,r=7.65, $fn=40);
#translate([0,0,-3]) cylinder(15, r=5, $fn=25);
#translate([0,0,4]) cylinder(5.1,r=6.35,$fn=25);
#translate([0,0,-5]) cylinder(5,r=6.35,$fn=25);
#translate([0,8.0,4.65]) rotate([0,0,0]) cube([12.7,12.7,10], center = true);
# translate([-7.5,10,2]) rotate([90,0,0]) cyl... | glb/cad_95cfb2fbe202.glb |
Create a Galaxy Trucker Token Storage system consisting of three rectangular boxes, a central stick, and a lid.
Construct three open-top boxes with wall thicknesses of 1.5mm. The boxes should have external dimensions based on a width of 21.8mm and a length of 43.5mm, with rounded corners of 3mm. The boxes are designe... | part = "all";
wiggle=.25;
totalheight=65;
debug=0;
use<write/Write.scad>
width=21.8+2*wiggle;
length=43.5+2*wiggle;
corner=3;
thickness=1.7;
echo ("thickness:",thickness);
neg_width=24.5+2*wiggle;
neg_length=47.5+2*wiggle;
neg_corner=3;
w_arr=[width,neg_width];
l_arr=[length,neg_length];
c_arr=[corner,neg_corne... | glb/cad_2cacea7061b4.glb |
Create a Parametric Auto Rewind Spool Holder consisting of several concentric and interlocking components designed to fit a primary spool with a 48mm inner diameter and 80mm width.
First, create a central axle with a diameter of 8mm and a total length that accommodates the spool width, including 12mm anti-rotation blo... | output = ["spring", "hub", "protector", "cap"];
referenceSpoolInnerDiameter = 48;
referenceSpoolWidth = 80;
secondSpoolInnerDiameter = 53;
secondSpoolWidth = 55;
hubSpringEnable = "yes";
hubFlushWithReferenceSpool = "no";
axleDiameter = 8;
axleSetLength = 0;
axleRotationStopLength = 12;
setSpringDiameter = 10... | glb/cad_1f5a22ea7aa5.glb |
Create a magnetic heart light switch key mount. Start with a base plate that is 70.125mm wide, 114.3mm high, and 6mm thick. The left side of the plate is rectangular, while the right side features a semi-circular protrusion with a radius of 35.06mm, creating a rounded end.
In the center of the rectangular section, car... | joinfactor = 0.125;
goldenratio = 1.61803399;
gThickness = 6;
gRoundingRadius = 1/8/2*25.4;
gStandardWidth = 2.75*25.4;
gStandardHeight = 4.5 * 25.4;
gFixtureHoleDistance = 2.375*25.4;
gFixtureHoleIR =5/32/2*25.4;
gFixtureHoleOR = 6.75/2;
gLightSwitchHeight = 0.942*25.4;
gLightSwitchWidth = 0.406 * 25.4;
wallThick... | glb/cad_6e4ebce8bbcf.glb |
Create a blowpipe laser sight mount by constructing a hollow cylinder with an outer diameter of 25.5mm and an inner diameter of 19.5mm, with a total height of 30mm. Center the cylinder on the origin. To create the mounting slot, remove a section of the cylinder using a vertical cutout. This cutout is defined by a polyg... | bod = 19.5;
len = 30;
thick = 6;
$fn=50;
base = 10;
translate([-(base/2),(bod+thick)/2,0])
linear_extrude(height = len, center = true)
polygon(points=[[0,-2],[base,-2],[11.5,2],[-1.5,2]]);
difference() {
difference() {
cylinder(d=bod+thick,h=len,center=true);
cylinder(d=bod,h=len,cente... | glb/cad_38aa73de435d.glb |
Create a geometric vase by constructing two mirrored, twisted sections. First, define a base 2D profile by taking a 16-sided polygon with a 200mm diameter and subtracting seven 145mm diameter circles, each rotated by 360/7 degrees around the center and offset by 120mm. Apply a Minkowski sum with a 3mm diameter 8-sided ... | TYPE = 0;
TWIST_ANGLE = 60;
ROTATION_ANGLE = 10;
TAPER_SCALE_1 = 1.2;
TAPER_SCALE_2 = 1.4;
TWIST_ANGLE_2 = TYPE==0 ? -TWIST_ANGLE : TYPE==2 ? -TWIST_ANGLE : TWIST_ANGLE;
MIRROR = TYPE==0 ? 1 : TYPE==1 ? 1 : 0;
module base(){
minkowski(){
difference(){
circle(d=200,$fn=16);
for (i=[... | glb/cad_b46144f7fefb.glb |
Create a Power Supply Cover by starting with a solid rectangular block measuring 110mm in width, 60mm in height, and 50mm in depth. Hollow out the center of this block to create a shell with walls 5mm thick, leaving the top open. To accommodate the power socket and switch, remove a rectangular section from the front wa... | wall = 5;
width = 100;
height = 50;
depth = 45.0;
inner_wall_height = 10;
socket_width = 40.0;
socket_height = 27;
module AC_socket() {
translate([width-socket_width-10,wall+5,-1])
cube([socket_width,socket_height,wall+2]);
}
module cable_hole() {
translate([width*0.25,height*0.6,-1])
cylinder(d=8,h=wall+2);
... | glb/cad_6135ff12230c.glb |
Create a Filament Change Helper consisting of a rectangular frame and an attached arm. Start by creating a flat rectangular ring with an outer dimension of 16mm by 17mm and a thickness of 3.5mm. The inner cutout of this ring should be 8mm wide and 9mm high to allow it to slip over a tension arm. Attached to one of the ... | width = 8;
height = 9;
thickness = 3.5;
release_length = 17;
inside_tolerance = 1;
outer_wall = 4;
key_size = 6;
epsilon = 1e-3;
key_shift = -4;
difference() {
union() {
cube([width + 2 * outer_wall, height + 2 * outer_w... | glb/cad_5a6b7bf417e5.glb |
Create a sculpture called a Kingston Head by stacking several geometric primitives along a central vertical axis. Start with a base cylinder 16mm tall with a radius of 0.5mm. At the bottom of this cylinder, add a conical section 4mm high that flares from a radius of 0.5mm at the top to 0.75mm at the base. Position a sp... | module makewand() {
union() {
cylinder(h=16,r=0.5);
translate([0,0,0]) cylinder(r1=0.75,r2=0.5,h=4);
translate([0,0,5]) sphere(r=1.75);
translate([0,0,9]) sphere(r=1.5);
translate([0,0,13]) sphere(r=1.25);
translate([0,0,16]) cylinder(r1=0.5,r2=0.05,h=2.5);
}
}
$fn=80;
makewand(); | glb/cad_65558f59e097.glb |
Create an alternate spool-holder for a PrintDry by constructing a central hub with a total height of 40mm. Start with a tapered cylinder that has a bottom radius of 20mm and expands to a top radius of 24mm. At the base of this shape, center a smaller cylinder with a radius of 7mm and a height of 24mm that extends downw... | minkowski() {
difference() {
union() {
cylinder(r1=20,r=24,h=40);
translate([0,0,-10]) cylinder(r=7,h=24);
}
for (i=[0:6]) {
rotate([0,0,i*60]) {
translate([28,0,0]) rotate([0,0,0]) cylinder(r=12,h=80);
}
}
}
sphere(2);
} | glb/cad_80677c51d1b4.glb |
Create a Rhombus cut in Spiral by intersecting a rhombic dodecahedron with a twisted spiral volume. First, construct the rhombic dodecahedron by intersecting six rectangular solids, each with dimensions 45mm by 30mm by 30mm, rotated in pairs at 45-degree increments along the X, Y, and Z axes. Apply a Minkowski sum with... | sz=30;
sa=sz*1.5;
tw = 240;
rounding=2;
module rhomb()
{
minkowski()
{
intersection()
{
rotate([45,0,0]) cube(size=[sa,sz,sz],center=true );
rotate([-45,0,0]) cube(size=[sa,sz,sz],center=true );
rotate([0,45,0]) cube(size=[sz,sa,sz],center=true );
... | glb/cad_94929ab812cd.glb |
Create a parametric filament spool holder consisting of a base and a vertical support. Start with a rectangular base plate 30mm high, 25mm wide, and 5mm thick, with all four corners rounded to a 4mm radius.
Attached to this base, create a vertical support structure that is 30mm high and 25mm wide. This support featur... | $fn=100;
roundy=4;
largeur=25;
diametre_hole=4.4;
epaisseur_bar=5.2;
largeur_bar=20+1;
e_carre=5;
height=30;
difference() {
union(){
base();
translate([largeur_bar+2*e_carre, 0, height/2])
support();
}
linear_extrude(height)
square([largeur_bar, epaisseur_bar],... | glb/cad_000c0ed3afe9.glb |
Create a parametric filament spool holder consisting of a central cylindrical body with a recessed middle section. Start by creating a solid of revolution with an overall diameter of 30mm and a total height of 13.6mm. The profile of this shape should be a symmetrical spool: the top and bottom sections are flat discs wi... | $fn=100;
diametre=30;
diametre_hole=4.4;
largeur=13.6;
mini_largeur=4;
creu=2;
base();
module base(){
difference() {
color("green")
rotate_extrude($fn=200)
polygon( points=[[0,0],[diametre/2,0],[-creu+diametre/2,(largeur-mini_largeur)/2],[-creu+diametre/2,(largeur+mini_largeur)/2],[diametre... | glb/cad_e12f0271aea1.glb |
Create a parametric filament spool holder body that is 5mm thick. Start with a central rectangular plate measuring 20mm wide and 180mm long. Add semi-circular caps with a radius of 10mm to both the top and bottom ends of the plate to create a rounded profile.
Cut a rectangular slot out of the center of the body that ... | $fn=50;
e= 5;
largeur=20;
longueur=200-largeur;
diameter_hole=5.4;
body();
module body(){
difference(){
union(){
linear_extrude(height = e)
square([largeur, longueur], center = true);
translate([0, longueur/2, 0]) cylinder(e,r=largeur/2);
translate([0, -longueur/2, 0]) cylind... | glb/cad_2484cc120894.glb |
Create a parametric filament spool holder base with a total height of 5mm. Start by constructing a main rectangular frame with rounded corners of 4mm. The outer dimensions of this frame are 85mm in width and 39mm in length.
Cut two rectangular slots out of the main frame, each measuring 5mm by 3mm, positioned symmetr... | $fn=100;
roundy=4;
largeur=70;
longeur=39;
diametre_hole=4.4;
l_carre=5;
teton=7.5;
difference() {
base();
space();
}
middle_middle();
wheels_holder_locker();
module base(){
color("red")
difference() {
linear_extrude(height = 5)
minkowski(){
square([largeur+3*l_carre-2*roundy,longeur-... | glb/cad_115771ea6027.glb |
Create a soda machine bottle adapter consisting of two main cylindrical sections joined together. The lower section is a cylinder 24mm high with a 17mm radius. Remove a central vertical hole 6mm in diameter from the entire length of the object. Within this lower section, create an internal metric thread with a 40mm dia... | do_crystal_cap_only=false;
$fn = 100;
include <../Libs/threads.scad>
module ext_thread() color([1,0,0]) {
metric_thread(38,4,10,n_starts=2,leadin=0);
}
module ext_body() color([0,1,0]) {
cylinder(22,17,17);
}
module ext_hole() {
union() {
translate([0,0,5]) cylinder(5,4,15);
... | glb/cad_e105366391ef.glb |
Create a medicine sorter slider designed to fit inside a tube. Start with a main cylinder that is 120mm long and 26mm in diameter. Hollow out the center of this cylinder by removing a rectangular block 20mm wide and 100mm high that runs through the length of the shape, leaving a 1mm thick wall.
Divide the interior of ... | h=120;
w=26;
c=7;
t=1;
txt="MTWTFSS";
txtsz=7;
txtfont="Droid Sans";
hs=(h-t)/c-t;
module box(pos,size) { translate(pos) cube(size); }
module write(pos=[0,0,0],rot=[0,0,0],size=3,h=1.5,text="?",halign="center",valign="center")
{
translate(pos)
rotate(rot)
linear_extrude(height=h)
text(text... | glb/cad_c8503dad85be.glb |
Create a wall mount pen holder by constructing a container that combines a semi-cylinder and a rectangular block. Form the main body by joining a cylinder with a 30mm radius and a height of 75mm to a cube measuring 60mm wide, 30mm deep, and 75mm high, positioned so the cube's face is flush with the cylinder's diameter.... | difference() {
union() {
cylinder(r=30, h=75);
translate([-30,0,0])
cube([60,30,75]);
}
translate([0,0,2.01])
cylinder(r=26, h=75);
translate([-26,0,2.01])
cube([52,26,75]);
}
translate([0,30,75])
rotate([90,0,0])
difference() {
cylinder(r=30, h=4);
translate([0,10,-0.01]) {
translate([0,0,... | glb/cad_d548ff97d096.glb |
Create a wedge for card holders by constructing a hull between two cylinders of different diameters, both with a height of 30mm. Position the first cylinder with a diameter of 9mm at the origin and the second cylinder with a diameter of 5mm at a position 52mm along the x-axis. Once this solid wedge is formed, create a ... | max_wedge = 9.0;
length = 60;
width = 30;
min_wedge = 5.0;
hole = 20;
difference (){
hull(){
cylinder(d=max_wedge, h=width);
translate([length-(max_wedge/2)-(min_wedge/2),0,0]) cylinder(d=min_wedge, h=width);
}
translate ([hole/2,max_wedge/2,width/2]) rotate([90,0,0]) cylinder (d=hole, h=max_wedge+2);
} | glb/cad_a56e5d6953bb.glb |
Create a socket organizer holder designed to slide onto a circular rail. Start by creating a main cylindrical clamp with an outer radius of 7.8mm and an inner hole radius of 4.8mm, with a total height of 9.7mm. Cut a small gap into the bottom of this cylinder to allow it to flex when attaching to the rail.
Extending f... | d = 9.7;
dh = 12;
rr = 4.8;
fn1 = 30;
dw = 2;
ds = 5.5;
ct = 3;
ch = d;
cg = 0;
fa = 6;
fc = 2;
fw = 2*rr+2*ct;
ft = 1.5*ct;
enableNub = false;
nw = 3;
nt = 0.5;
nh = 5.5;
nr = 0.49;
t = 0.1;
union(){
difference(){
cylinder(r=rr+ct,h=d,$fn=fn1);
translate([0,0,-t/2])
cylinder(r... | glb/cad_4f7fd857918f.glb |
Create a socket set organizer end cap designed to slide onto a circular rail. Start with a main cylindrical clamp that has an outer radius of 7.8mm and a total height of 11mm. This clamp should have a concentric hollow center with a radius of 4.8mm to accommodate the rail.
Extend the geometry to include a mounting fla... | rr = 4.8;
fn1 = 60;
ct = 3;
ch = 8;
hd1 = 3;
hd2 = 6;
hz = 1;
hx = 2;
f1 = 4;
f2 = 5;
f3 = 5;
t = 0.1;
difference(){
union(){
cylinder(r=rr+ct,h=ch,$fn=fn1);
translate([0,0,-ct])
cylinder(r=rr+ct,h=ct,$fn=fn1);
translate([0,-rr-ct,-ct ])
... | glb/cad_d8007f27a848.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.