Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a joystick and Arduino board housing upper part with overall dimensions of 130mm length, 90mm width, and 35mm height. The main body is a hollowed rectangular shell with a wall thickness of 4mm and rounded exterior corners.
On the top surface, create a large circular cutout with a radius of 11.5mm, positioned o... | include <K.scad>
modele = "ambidextre";
L = 130;
l = 90;
h = 35;
s = 2/1;
e = 4/1;
L2 = (L-2*s/2)-2*e;
l2 = (l-2*s/2)-2*e;
h2 = (h-2*s/2)-2*e;
ht = 4.01/1;
s2=0.5/1;
rv=1.45/1;
r4=rv+rv;
h4=3/4*h;
r42=rv;
h42=h;
x=2/1;
h1=3... | glb/cad_47b55a8d0723.glb |
Create a circular pendant with a radius of 20mm and a thickness of 2mm. Centered on the top edge of this disc, add a small ring consisting of a cylinder with an outer diameter of 7mm and an inner diameter of 5mm, both with a height of 1mm. On the top surface of the pendant, place the 3D text "Pendant" using a font like... | choice="circle";
PT=2;
$fn = 200;
PR=20;
L=40;
B=40;
print="Pendant";
TS=5;
Font="Comic Sans MS";
TT=2;
space=1;
t=0;
VA="center";
HA="center";
height=1;
Outer_Diameter = 7;
Inner_Diameter = 5;
X=0;
Y=0;
Z=0;
if(choice=="circle"||choice=="Circle"||choice=="c"){
cylinder(PT, PR,PR);
translate... | glb/cad_0b7f01673a8b.glb |
Create a circular pendant with a radius of 20mm and a thickness of 2mm. On the top edge of the circle, centered at the outer boundary, add a small ring for a keychain. This ring should be a hollow cylinder with an outer diameter of 7mm and an inner diameter of 5mm, sharing the same 2mm thickness as the main body. Cente... | choice="circle";
PT=2;
$fn = 200;
PR=20;
L=40;
B=40;
print="Pendant";
TS=5;
Font="Comic Sans MS";
TT=2;
space=1;
t=0;
VA="center";
HA="center";
if(choice=="circle"||choice=="Circle"||choice=="c"){
cylinder(PT, PR,PR);
translate([0,PR+1,0])
ring();
}
else if(choice=="rectangle"||choice=="R... | glb/cad_26ddb0004a4c.glb |
Create a hollow cylindrical vessel with a domed top and a ring handle. Start by constructing a main cylinder with an outer radius of 10mm and a height of 20mm. Hollow this cylinder by removing a concentric inner cylinder with a radius of 9mm and a height of 20mm. At the top of the vessel, add a hemispherical dome with ... | color([0.8,0,0]) {
union(){
translate([0, 0, 31]){
rotate([0, 90, 0]){
rotate_extrude($fn=8) {
translate([3.5, 0, 0]) {
circle(r=1, $fn=16);
}
}
}
}
union(){
difference(){
cylinder(r1=10, r2=10, h=4.5, center=false);
transl... | glb/cad_48881af82677.glb |
Create a 3D model of a geometric sculpture by starting with a cube that is 10mm on each side, centered at the origin. From this cube, remove the volume of a sphere with a radius of 6.5mm, also centered at the origin, to create a hollowed-out interior with circular openings on each face. Finally, place a solid sphere wi... | difference(){
cube([10, 10, 10], center=true);
sphere(r=6.5);
}
translate([0, 0, 0]){
sphere(r=5.5);
} | glb/cad_67db0290dff4.glb |
Create a collection of geometric primitives arranged in 3D space. Position a 5mm cube centered at (0, 0, 2.5). Place a 4x4x10mm rectangular prism with 8-sided facet resolution at (-10, -10, 0). Create a 10mm tall cone with a base radius of 3mm and a 3-sided polygonal base at (-10, 0, 0). Construct a 7mm tall hexagonal ... | translate([0, 0, 2.5]){
color([0.8,0,0]) {
cube([5, 5, 5], center=true);
}
}
translate([-10, -10, 0]){
assign($fn=8){
color([0.2,0.4,1]) {
cube([4, 4, 10], center=false);
}
}
}
translate([-10, 0, 0]){
color([0,0.6,0]) {
assign($fn=3){
cylinder(r1=3, r2=0, h=10, center=false);
}... | glb/cad_f10f2e8d08e2.glb |
Create a grid of thin, flat rings used for backlash testing. The overall structure consists of a 4 by 4 arrangement of circles, where each circle unit occupies a 25mm by 25mm area.
Each individual ring is created by centering a solid cylinder with a diameter of 15mm and a height of 0.4mm, then removing a concentric i... | nox = 4;
noy = 4;
module forbind(x, y,)
{
translate([x-13, y+11.0, 0])
color("pink")
cube(size=[0.7, 3, 0.4], center = false);
translate([x-13, y+13.7, 0])
color("green")
cube(size=[(nox*25), 0.7, 0.4], center = false);
translate([x-13+(nox*25)-00.7, y+13.7, 0])
color("yellow")
cube(size=[0.7, 22, 0.4], center = fa... | glb/cad_356f72955cfe.glb |
Create a filament support consisting of a central rectangular block with two cylindrical end caps. Start with a main rectangular body that is 40mm long, 15mm wide, and 10mm thick. At each end of this block, center and attach a cylinder with a radius of 8mm and a height of 11mm.
Through the center of the entire assemb... | $fn=100;
height=15;
beam_thickness=10 ;
module head()
{
difference()
{
union()
{
translate([0, -5, 0])
cylinder(h=11, r=8);
translate([-20, -height, 0])
cube([40, height, beam_thickness]);
translate([-20, 0, 5])
rotate(... | glb/cad_924468ca4460.glb |
Create a filament support by starting with a central block that is 9.6mm wide, 10mm deep, and 13mm tall. Round the bottom front edge by adding a cylinder with a radius of 4.8mm and a height of 10mm, oriented horizontally along the Y-axis. Remove a central circular hole with a radius of 3.2mm that passes through the ent... | $fn=100;
difference()
{
union()
{
rotate([90, 0, 0])
cylinder(h=10, r=4.8);
translate([-4.8, -10, 0])
cube([9.6, 10, 13]);
}
rotate([90, 0, 0])
cylinder(h=12, r=3.2);
translate([-6, -5, 8])
rotate([0, 90, 0])
cylinder(h=12, r=2.2);
} | glb/cad_8dd96f3744de.glb |
Create a filament support consisting of a circular base and a central hub with radiating spokes. Start by creating a wide, flat circular base with a radius of 35mm and a height of 2mm. On top of this base, add a concentric cylinder with a radius of 28.4mm and a height of 15mm. Remove a central vertical hole with a radi... | union()
{
difference()
{
union()
{
cylinder(h=15, r=28.4, $fn=200);
cylinder(h=2, r=35, $fn=200);
}
translate([0,0,-2])
cylinder(h=24, r=26, $fn=200);
}
difference()
{
union()
{
cylinder(h=15, r=9, $fn=100)... | glb/cad_6e2a9a98d65f.glb |
Create a filament support consisting of a central rectangular base and two vertical pillars. Start with a rectangular base 100mm long, 10mm wide, and 6mm high. At each end of the base, center a cylinder with a radius of 5mm and a height of 6mm.
Construct two identical vertical pillars. Each pillar is composed of a cy... | $fn=100;
longer = 100;
module pillar()
{
difference()
{
height=25;
union()
{
translate([-20, 0, 0])
cylinder(h=height, r=5);
translate([20, 0, 0])
cylinder(h=height, r=5);
translate([-20, -5, 0])
cube([40, 10, 15... | glb/cad_7378d65ebb66.glb |
Create a RepRap X-carriage for Igus bushings. Start by creating a rectangular base block that is 23mm wide, 17mm deep, and 15.8mm high, centered on the origin.
Centered on top of this base, add a vertical cylinder with a height of 60mm and a radius of 9mm. To make this a bushing holder, remove a smaller concentric cy... | include <configuration.scad>
module bushing(stiff, lenght=11){
difference(){
union(){
translate(v=[-7.5,-8,0])cube(size = [15,8,lenght]);
cylinder(h = lenght, r=7.5);
}
rotate(a=[0,0,45]) translate(v=[1,1,-1]) cube(size = [16,16,lenght+2]);
if(stiff){
translate(v=[-4.8,-6,-1]) cube(size = [0.8,6,lengh... | glb/cad_0fcc37d2df5a.glb |
Create a RepRap X-carriage for Igus bushings. Start with a central base block measuring 66mm by 70mm with a thickness of 5mm. At the center of the block, create a circular cutout with a radius of 20mm and a height of 20mm.
Add two mounting holes for M4 screws, positioned at [0, -25, -5] and [0, 25, -5], each with a d... | include <configuration.scad>
snap_in_mount = false;
use <bushing.scad>
module mountingholes(){
translate(v = [0, -25, -5]) polyhole(m4_diameter,10);
translate(v = [0, 25, -5]) polyhole(m4_diameter,10);
}
module xcarriage(linear_bearings){
union(){
translate(v = [0,0,2.5])
union(){
difference(){
... | glb/cad_029f4e809a66.glb |
Create a Shapes Toy consisting of five distinct hollow geometric prisms, each with a height of 25mm and a wall thickness of approximately 4mm to 5mm.
First, create a pentagonal ring by centering a 5-sided prism with an outer radius of 20mm and an inner radius of 15mm. Second, create a circular ring with an outer radi... | use <MCAD\boxes.scad>
use <boxes.scad>
$fn=100;
h1=25;
s_c=1;
s_f5=1;
s_rc=1;
s_add=1;
s_f3=1;
s_t=1;
if (s_f5)
{
translate([0, 0, -h1/2+2])
difference()
{
cylinder(h=h1, r=20, $fn=5);
cylinder(h=h1, r=15, $fn=5);
}
}
if (s_c)
{
translate([-50, 0, -h1/2+2])
difference()
{... | glb/cad_d3cad0801b81.glb |
Create a Tape Dispenser consisting of a main holder, a cutting blade, and a fastening nut.
First, construct the holder as a modified elliptical cylinder with a height of 23mm. The outer boundary is based on a roll diameter of 58mm and a wall thickness of 2.5mm. The base is an oval shape created by scaling a cylinder ... | include </Users/jag/Dropbox/scad/Thread_Library.scad>
roll_diameter=58;
hole_diameter=25;
tape_width=19;
center_hole=10;
outer_wall_thickness=2.5;
side_wall_thickness=2;
clearance=0.75;
blade_thickness=outer_wall_thickness*1.5;
blade_height=6;
blade_width=tape_width+side_wall_thickness+clearance*2;
blade_stickout=bla... | glb/cad_b73a9f926040.glb |
Create a round speaker holder with a total height of 4mm. Start by creating a main cylindrical ring with an outer diameter of 66mm and an inner diameter of 52mm (calculated as the 58mm speaker diameter minus a 3mm flange width on each side). Within this ring, carve out a central cylindrical void with a diameter of 58mm... | cross_length = 74;
cross_width = 10;
holder_diameter = 66;
speaker_diameter = 58;
screw_radius = 1;
flange_depth = 2;
flange_width = 3;
height = 4;
bounding_size = cross_length + cross_width;
module drawclip() {
circle(holder_diameter / 2);
for (angle = [0, 90]) {
rotate(angle) {
difference() {
... | glb/cad_01d1e96d2eb0.glb |
Create a Seiko Watch Case Tool by starting with a main cylinder that has a diameter of 32.76mm and a height of 12mm. Remove a smaller concentric cylinder from the center with a diameter of 24mm and a height of 14mm to create a hollow ring. Around the outer perimeter of this ring, add seven rectangular lugs, each measur... | difference(){
cylinder(h=12,d=32.76);
translate([0,0,-1]){
cylinder(h=14,d=24);
};
};
for (i=[0:6]){
rotate([0,0,60*i]){
translate([32.76/2-2,0,0]){
cube([4,2,14]);
};
};
};
translate([-5,-30,0]){
cube([10,60,5]);
}; | glb/cad_62f85a4b0b4f.glb |
Create an X-carriage for a Prusa i3 3D printer. Start with a main rectangular body measuring 54mm in width, 76mm in height, and 11mm in thickness.
At the top and bottom of the body, create two large cylindrical cutouts with a diameter of 15.1mm that pass through the thickness of the part. Centered within the body, ad... | m3d=3+0.4;
m3r=m3d/2;
m4d=4+0.4;
m4r=m4d/2;
m5d=5+0.4;
m5r=m5d/2;
m3nd = 6.2+0.4;
m3nr = m3nd/2;
m3nh=2.8;
m5nd = 9+0.4;
m5nr = m5nd/2;
m5nh=4.2;
sbd = 8+0.3;
sbr = sbd/2;
hs=50;
bh=25;
hz=11;
hx=bh+bh+2+2;
hy=hs+15+6+6;
bd=15.1;
id_dia=13;
pl_dia=15.6;
ky=2;
kx=0;
kxd=5;
kh=40;
module ziptie(d) {
differ... | glb/cad_65340c6e3ec1.glb |
Create a parametric screwdriver consisting of a handle and a shaft. Start with a rectangular main body measuring 60mm by 120mm by 60mm. Remove four cylindrical sections from the body, each with a radius of 20mm and a height of 150mm, positioned at the corners of the 60mm by 60mm face to round the edges. On one side of ... | Scale = .3;
Phillips = 1;
Flathead = 0;
Hex = 0;
Text = "it's a screwdriver";
rotate([0,0,90]) scale([Scale,Scale,Scale]) scale([Phillips,Phillips,Phillips]) difference() {
union() {
translate([30,245,30]) rotate([90,0,0]) cylinder(5,10,10);
translate([30,255,30]) rotate([90,0,0]) cylinder(10,2,1... | glb/cad_6672c2150a65.glb |
Create a Leap Motion controller headmounted holder consisting of a base, a curved arm, and a mounting bracket.
Start with a base block 50mm wide, 5mm thick, and 30mm deep. Drill five 4mm diameter holes through this base: one centered at the top and four spaced symmetrically around the perimeter.
Construct the arm as... | module leap_holder(){
translate([0,-6,-18])
union(){
difference(){
union(){
translate([-43,0,0]) cube([86,10,36]);
translate([-10,0,-5]) cube([20,13,5]);
}
translate([-40.5,-0.01,2.5]) cube([81,10.02,31]);
translate([-50.5,-0.01,5.5]) cube([101,10.02,25]);
translate([0,6,-0.3]) cyli... | glb/cad_e536399920a8.glb |
Create a Tux cookie cutter by extruding a Tux penguin silhouette into three stacked concentric layers of varying heights and thicknesses. The overall maximum dimension of the shape should be 100mm.
First, create a base lip that is 3mm high and 10mm wide, following the perimeter of the Tux silhouette. On top of this b... | ThreadThick = 0.33;
ThreadWidth = 2.0 * ThreadThick;
function IntegerMultiple(Size,Unit) = Unit * ceil(Size / Unit);
MaxSize = 110;
Size = 100;
TipHeight = IntegerMultiple(8,ThreadThick);
TipThick = 1*ThreadWidth;
WallHeight = IntegerMultiple(7,ThreadThick);
WallThick = 4*ThreadWidth;
LipHeight = IntegerMultiple(... | glb/cad_528227676e03.glb |
Create a picatinny ring holder with a total length of 25mm. Start by forming a main body that combines a cylinder with an outer diameter of 28mm and a height of 25mm, merged with a rectangular block measuring 28mm wide, 14mm deep, and 25mm high. Bore a central vertical hole through the entire assembly with a radius of ... | $fn=200;
len=25.0;
gap=1.40;
extra_height = 0;
rad=21.5/2;
rad_screw=(3.0+0.3)/2;
difference(){
translate([0,0,len/2])
cube([28,7.6+0.5*extra_height-0.01,len-0.01],center=true);
rail(len,extra_height);
};
difference(){
union(){
difference(){
translate([0,17,0])
union(){
cylinder(len,14,14);
... | glb/cad_32d818dc8a0d.glb |
Create a picatinny ring holder with a total length of 25mm. Start by forming a main body that combines a cylinder with an outer radius of 16mm and a rectangular block measuring 32mm wide by 20mm deep by 25mm high. Bore a central hole through the entire length of the cylinder with a radius of 11mm.
On one side of the b... | $fn=200;
len=25.0;
gap=1.4;
extra_height = 0;
rad=22/2;
rad_screw=(3.0+0.3)/2;
difference(){
translate([0,0,len/2])
cube([32,7.6+0.5*extra_height-0.01,len-0.01],center=true);
rail(len,extra_height);
};
difference(){
union(){
difference(){
translate([0,22,0])
union(){
cylinder(len,16,16);
tr... | glb/cad_b4e5ac1f6548.glb |
Create a picatinny ring holder with a total length of 25mm. Start by forming a main body that combines a cylinder with a radius of 16mm and a rectangular block measuring 32mm wide by 30mm deep by 25mm high. Bore a central hole through the top of this assembly with a radius of 11mm.
On the underside, carve out a rail p... | $fn=200;
len=25.0;
gap=1.4;
extra_height = 0;
rad=22/2;
rad_screw=(3.0+0.3)/2;
rad_screw2=(3.0+0.3)/2;
difference(){
difference(){
railhole();
translate([-1,-5,-0.02])
cube([2,20,len+0.04]);
}
translate([-18,8,len/2])
rotate([0,90,0])
cylinder(36,rad_screw2,rad_screw2);
}
module railhole(){
differ... | glb/cad_3e293d88c5ba.glb |
Create a Parametric Led Bracket consisting of three main components: an axis clip, a knuckle joint, and a LED circuit holder.
First, create the axis clip by forming a cylinder with an 8mm diameter and 15mm height. Hollow out the center with an 8mm diameter hole and remove a 90-degree wedge section to create a C-shaped... | part = 0;
Thickness = 3;
LedCircuitType = 1;
LedCircuitSize = 59;
LedCircuitThickness = 1.62;
LedArmLength = 30;
LedCircuitClipThickness = 1.5;
AxisDiameter = 8;
AxisClipHeight = 15;
AxisClipLength = 60;
AxisClipThickness = 2;
OffsetX = 0;
KnukleScrewDiameter = 3;
KnukleHeight = 40;
KnukleDiameter = 2*(KnukleScre... | glb/cad_6e40483e2648.glb |
Create a Christmas ornament consisting of a decorative spherical cage containing a central figure.
First, construct the outer cage by creating a spherical shell with an outer radius of 25mm and an inner radius of 23mm. Carve out the shell using a series of intersecting rectangular prisms to create a lattice of open s... | module leaf()
{
scale ([.045,.045,1])
translate(v=[-480,-320,0])
linear_extrude(height=2,center=true)
polygon (points = [
[344.54963, 61.17986], [344.316, 61.90594], [343.91738, 67.22500], [343.66380, 73.00000],
[343.66380, 73.00000], [343.41022, 78.77500], [342.31440, 87.32500], [341.228... | glb/cad_4b454cc27f34.glb |
Create a Snowman Ornament consisting of a central snowman figure enclosed within a decorative spherical cage.
First, construct the snowman by stacking three spheres along the Z-axis: a large base sphere with a radius of 12mm, a middle sphere with a radius of 6mm positioned 10mm above the center, and a smaller head sp... | module head()
{
difference()
{
sphere(r=10);
translate(v=[6*cos(45),6*sin(45),4])
rotate(a=[90,0,0])
cylinder(h=20,r=2,center=false);
translate(v=[-6*cos(45),6*sin(45),4])
rotate(a=[90,0,0])
cylinder(h=20,r=2,center=false);
rotate(a=[90,0,0])
cylinder(h=20,r=2,center=false);
translate(v=[0,-10,-6])
cube (size =[5... | glb/cad_a5e63645749a.glb |
Create a customizable vase by generating a twisted, tapering hollow shell. Start with a 2D circle with a radius of 30mm. Extrude this circle linearly to a total height of 100mm, applying a 360-degree twist and scaling the shape by a factor of 1.5 from the bottom to the top. Use 10 slices for the extrusion to create a f... | Height = 100;
Twist = 360;
Scale = 1.5;
Slices = 10;
Radius = 30;
HoleRadius = 3;
difference(){
translate([0, 0, Height/2]){
linear_extrude(height = Height, twist = Twist, scale = Scale, center = true, slices = Slices)
circle(Radius);
}
scale([0.85,0.85,0.85]){
translate([0, 0,... | glb/cad_bffbf4ab03be.glb |
Create a configurable comb with a total thickness of 2mm. Start by constructing the main body as a rectangular plate 7mm high and 94mm long (calculated from 30 teeth, each 1.2mm wide with 2mm spacing between them). From the bottom edge of this body, extend 30 rectangular teeth downwards, each 1.2mm wide and 20mm long, ... | Thickness=2;
BodyHeight=7;
TeethWidth=1.2;
TeethLength=20;
TeethSpacing=2;
TeethNumber=30;
HandlePresent=1;
HandleRounded=1;
HandleLength=60;
HandleHeight=15;
TotTeethLength=(TeethWidth + TeethSpacing) * TeethNumber - TeethSpacing;
linear_extrude(height=Thickness, convexity=10){
square([TotTeethLength, ... | glb/cad_c91284382f0d.glb |
Create an Intex Pool Pipe Connector Clamp with a total length of 66mm, a height of 10mm, and a wall thickness of 3mm. The main body is a flattened oval ring. Construct the straight side sections as two parallel rectangular bars, each 33mm long, 3mm wide, and 10mm high, separated by a central gap of 50mm. Connect these ... | height=10;
breadth=3;
breadth_small=1.2;
length=66;
gap_width=50;
roundness=0.5;
knob_diameter=8.8;
knob_roundness=0.333;
knob_length=7.7;
$fn=100;
straight_length=length*(1-roundness);
module knob(l) {
cylinder(h=l-(knob_diameter*knob_roundness)/2,d=knob_diameter);
translate([0,0,l-(knob_diameter*knob_round... | glb/cad_48f1eab5a2b7.glb |
Create a Y-Axis Fan Holder for a stepper motor. The overall structure is a U-shaped bracket with a base and two side arms.
Start with a base plate that is 5.8mm thick. In the center of this base, create a circular opening with a diameter of 23mm for a fan. Position four screw holes around this central opening, spaced ... | height = 28.5;
fan_hole_diameter = 23;
fan_screw_distance = 20;
fan_screw_diameter = 3;
fan_hole_angled = "true";
arm_inward_angle_left = 4;
right_wall_size_modifier = 1.75;
bottom_arm_height = 2;
bottom_arm_gap = 8;
back_support_depth = 2;
mid_left_cutout = 9;
wall_size = 4;
fan_angle = 10;
nub_size = 1;
nub... | glb/cad_c11a8fba6ffa.glb |
Create an Intex Pool Pipe Endpiece consisting of a hollow cylindrical sleeve and a locking knob. The main body is a cylinder with an outer diameter of 54.5mm and a height of 50mm, featuring a concentric inner hole with a diameter of 51.5mm. The walls of this sleeve are 1.5mm thick.
At the base of the cylinder, create ... | height=50;
breadth=1.5;
breadth_big=3;
height_big=2;
diameter=51.5;
knob_diameter=10;
knob_roundness=0.2;
knob_length=4.4;
gap_width=2;
gap_height=20;
slope_height=1;
slope_factor=0.25;
$fn=300;
$fn_detail=100;
module knob(l) {
cylinder(h=l-(knob_diameter*knob_roundness)/2,d=knob_diameter,$fn=$fn_detail);
tra... | glb/cad_147e3d6e7f5f.glb |
Create an Ikea Lampshade consisting of a central base plate and a series of radiating vertical fins. Start by creating a cylindrical base plate with a diameter of 44mm and a height of 14mm. Remove a concentric cylindrical core from this base with a diameter of 28.5mm and a height of 10mm, and further remove a smaller c... | basePlate_d=44;
basePlate_h=14;
baseTubeSub_d=38;
baseTubeSub_h=10;
basePlateSub_d=28.5;
basePlateSub_h=10;
finShape_d=147;
finShape_h=2;
finShapeSub_d=130;
finShapeSub_h=finShape_h+2;
rotate([180,0,0])
bottomAssy();
module bottomAssy() {
rotate([0,0,0])
finAssy();
rotate([0,0,22.5])
finA... | glb/cad_edbd87e24c6f.glb |
Create an Ikea Lampshade consisting of a central base plate and eight radiating fins. Start by creating a central octagonal base plate with a diameter of 44mm and a height of 10mm. Remove a cylindrical core from this base with a diameter of 38mm and a height of 10mm, and further remove a smaller concentric cylinder wit... | basePlate_d=44;
basePlate_h=10;
baseTubeSub_d=38;
baseTubeSub_h=10;
basePlateSub_d=28.5;
basePlateSub_h=10;
finShape_d=147;
finShape_h=3;
finShapeSub_d=130;
finShapeSub_h=finShape_h+2;
rotate([180,0,0])
bottomAssy();
module bottomAssy() {
rotate([0,0,0])
finAssy();
rotate([0,0,45])
finAss... | glb/cad_1f8db3aaf038.glb |
Create a fusebox cover clip consisting of a cylindrical head and a hemispherical base. Start with a central cylinder 12mm in diameter and 16mm high, positioned from Z=2.5mm to Z=18.5mm. Attach a sphere with a 30mm diameter centered at Z=-11.2mm to the bottom of the cylinder, but truncate the sphere by removing everythi... | $fn=60;
difference(){
union(){
translate([0,0,2.5])cylinder(d=12,h=16);
translate([0,0,-11.2])sphere(d=30);
}
translate([0,0,-11.6])sphere(d=30);
translate([0,0,-7.5])cube([30,30,15], center=true);
difference(){
translate([0,0,2.5])cylinder(d=9,h=16.1);
translate(... | glb/cad_fec9a4e2645e.glb |
Create a Kinect vertical mount consisting of a hollow rectangular housing with a flat base and two upright side walls. The base is a thin rectangular slab 2mm thick. From this base, extend two vertical walls 70mm high. The interior of the housing is a hollow rectangular cavity designed to fit the sensor, with the botto... | fudge = 0.1;
module wand(h)
{
scale([25.4/90, -25.4/90, 1]) union()
{
linear_extrude(height=h)
polygon([[-48.423531,-55.828125],[-49.252010,-55.763552],[-50.042671,-55.507815],[-161.159861,-6.515625],[-162.237747,-5.777334],[-162.957506,-4.734818],[-163.265745,-3.506045],[-163.109071,-2.208985],[-145.937... | glb/cad_813e6ed98bc2.glb |
Create a Stackable Plano Box Holder consisting of a back panel and two side panels.
Create a back panel that is 235mm wide, 35mm high, and 4mm thick. In this panel, create a pattern of vertical slots. Each slot is 10mm wide and runs through the thickness of the panel.
Create two side panels, each 120mm long, 35mm hi... | build_plate_selector = 3;
build_plate_manual_x = 200;
build_plate_manual_y = 200;
back_height=35;
back_width= 235;
side_length=120;
back_thickness=4;
tab_thickness=3;
tab_width=18;
hole_pattern=2;
hex_dia = 10;
spacing = 1.0;
replicator2=285;
replicator=225;
thingomatic=120;
ultimaker=200;
pin_width=3;
hoff... | glb/cad_a1bc71fc32a2.glb |
Create a Nexus 6 Wall Mount by starting with a rectangular base measuring 160mm in length, 84mm in width, and 10mm in height. In the center of this base, create a circular cutout with a radius of 35mm and a depth of 35mm to accommodate a wireless charger.
To secure the charger, add two small rectangular clips measuri... | $fn = 128;
union(){
difference()
{
cube([160,84,10]);
translate([65,42,0]) cylinder(8,35,35,false);
translate([0,36,2]) cube([34,12,6]);
translate([135,15,0]) cylinder(5,5,5,false);
translate([135,69,0]) cylinder(5,5,5,false);
translate([135,15,0]) cylinder(10,1.5,1.5,false);
translate([135,69,0]) cylin... | glb/cad_a5e8d02c5cb6.glb |
Create a Snap-build Cellular Structure component consisting of interlocking male and female parts.
The base geometry is a rectangular block with a width of 22mm, a height of 3.5mm, and a central cutout of 9.4mm by 8mm by 3.5mm. The male part features a cylindrical axle with a radius of 2mm and a length of 4mm, while ... | full_plate();
spar_len=50;
pin_x=5.6;
block_x=22;
block_height=3.5;
tip_height=1.8;
theta=2.2;
axle_rad=2;
hole_rad=2.2;
pin_length=8;
pin_width=4;
lip_len=1.2;
z_offset=block_height/2;
spar_offset=sqrt(spar_len*spar_len*2);
tol=0.1;
$fn=20;
module full_plate() {
offset=36;
translate([offset*2,-25,0])
rotate([0,0,90... | glb/cad_1fcc781e5c3e.glb |
Create a wardrobe crossbar mount by starting with a main circular disc 15mm thick with a radius of 32.5mm. From this disc, remove a central vertical cylindrical core with a radius of 14mm and a height of 30mm. Additionally, remove a rectangular block from the center of the disc that is 28mm wide, 25.33mm deep, and 30mm... | r = 65/2;
r2 = 28/2;
r3=38/2;
h=15;
l=38;
difference() {
union(){
difference() {
cylinder(5,r,r);
translate([0,-r+8,3.1]) cylinder(2,2,4);
translate([0,-r+8,-1]) cylinder(7,2,2);
translate([r-7,8,3.1]) cylinder(2,2,4);
translate([r-7,8,-1]) cylinder(7,2,2);
translate([-r+7,8,3.1]) cylinder(2,2,4);
translate([-... | glb/cad_ad795ee382b2.glb |
Create two mirrored end-clamps for an enclosed cable carrier. For each clamp, construct a primary cylindrical body with a radius of 9mm and a height of 10mm. From this cylinder, remove a central core consisting of a smaller cylinder with a radius of 4mm and a height of 10mm, and a centered rectangular slot measuring 8m... | scaleit= 1;
module ChainLink() {
scale([scaleit,scaleit,scaleit])import_stl("CableChainEnds_fixed.stl");
}
mirror()ChainLink();
mirror() {
translate([31,-10,9])rotate([0,90,90])clamp();
translate([-31,10,9])rotate([180,90,90])clamp();
}
module clamp() {
difference(){
union() {
cylinder(10, r=9);
translate([5,... | glb/cad_7065e62b3e58.glb |
Create a Dual Head XY Offset Calibration Tool consisting of two identical L-shaped components joined at a right angle. Each component is composed of a primary rectangular base and a series of smaller square tabs.
First, create a rectangular base measuring 10mm wide, 95mm long, and 0.4mm high. Along one 95mm edge of t... | layerHeight = 0.4;
size = 10;
offset = 0.1;
draw = "extruder1";
if (draw=="extruder1") {
union() {
cube([10,(size)*10-5,layerHeight]);
for (i=[0:size-1]) {
translate([0,i*10,layerHeight])
cube([5,5,layerHeight]);
}
}
translate([-(((size)/2)*10),5,0])
rota... | glb/cad_924200591b91.glb |
Create a replacement air flow orientation part for a Zibro Clima P90. Start by creating a sphere with a radius of 20mm centered at the origin. Clip this sphere so that only the portion above a flat base remains, specifically by removing everything below z = -20mm and trimming the sides with a cube of 40mm per side. Fur... | connector_height = 10;
connector_width = 10;
connector_thickness = 6;
cross_1_thickness = 3;
cross_2_thickness = 2.5;
union(){
intersection(){
difference()
{
sphere(r=20, center = true, $fn=100);
translate([-20,-20,-40]) cube([40,40,40]);
}
rotate([45,0,0])
translate([-3,-3,-3]) cube([5,30,30]);
}
tr... | glb/cad_3c181aef5f21.glb |
Create a Stove Holder consisting of two identical arms positioned perpendicularly to support a gas cartridge. Each arm is based on a rectangular block 124.5mm long, 6mm wide, and 12mm high. From this block, remove a rectangular section 79.5mm long, 8mm wide, and 5mm high, starting 10mm from the inner edge and centered ... | part = "both";
module wedge()
{
difference()
{
translate([-5, 0, 16.0]) cube([6.4, 6, 2]);
translate([-0, -1, 16.0]) rotate([0, 45, 0]) cube([6.4, 8, 2]);
}
}
module arm()
{
difference()
{
translate([-25, 0, 0]) cube([149.5, 6, 12]);
translate([10, -1, -1]) cube([79.5, 8, 5]);
}
translate([94.2, 0, 0]... | glb/cad_cc29215c5be1.glb |
Create a water valve knob consisting of a main cylindrical body with a diameter of 27mm and a height of 24mm.
At the center of the cylinder, create a vertical hole with a diameter of 4.4mm that passes through the entire height of the part. At the bottom of the knob, create a recessed circular opening with a diameter ... | diametro_maneta=27;
altura_maneta=24;
diametro_tornillo=4;
diametro_eje_valvula=8;
anchura_minima_eje=6.50;
altura_eje_valvula=14;
pared=1.20;
tornillo_acople=false;
diametro_tornillo_acople=3;
hueco_acople=4;
union() {
difference(){
cylinder(h=altura_maneta,d=diametro_maneta,center=true,$fn=150);
translate([... | glb/cad_07af0f3e3053.glb |
Create a try square consisting of a flat ruler body and a perpendicular guide block.
First, construct the ruler body by joining two rectangular plates: one measuring 50mm by 20mm by 5mm, and a second intersecting plate measuring 15mm by 20mm by 5mm, creating an L-shaped footprint. At the corner where these plates mee... | de = 0.1;
fn_hole = 12;
ex = 0;
show_mirrored = false;
P1 = 50;
P2 = 50;
P3 = 20;
P4 = 15;
P5 = 5;
P10 = 10;
P11 = 5;
P20 = 2;
P21 = 2;
P30 = 4;
if (show_mirrored) {
mirror([ 0, 1, 0 ]) SquareRuler();
} else {
SquareRuler();
}
module SquareRuler()
{
difference()
{
union()
{
... | glb/cad_108d0cf18b39.glb |
Create a Reloading Block consisting of a rectangular base with a grid of holes. The base should be 12.7mm thick (0.5 inches) with rounded corners of 6.35mm radius (0.25 inches) and a slight chamfer of 0.635mm (0.025 inches) on the bottom edges.
The block features a 10 by 5 grid of cylindrical holes. Each hole has a d... | X_Bullets=10;
Y_Bullets=5;
Height=0.5;
Block_Corner=0.25;
Pad=0;
Case_Diameter=0.452;
Hole_Slack=0.048;
Depth=0.4;
Bullet_Space=0.1;
Chamfer=0.025;
Block_Chamfer=0.1;
Convert = "mm";
dia=Case_Diameter+Hole_Slack;
web=Height-Depth;
W=X_Bullets*(dia+Bullet_Space)-Block_Corner+Pad*2;
L=Y_Bullets*(dia+Bullet_Space)-Bloc... | glb/cad_30644bf639fe.glb |
Create a TM-281A Chevy Mount by starting with a base block that is 4.375mm long, 2mm wide, and 2.0875mm deep. The base is formed by combining a rectangular prism of 1.14mm by 2mm by 2.0875mm with an adjacent L-shaped section that extends the length to 4.375mm, where the top of this extension is slightly recessed by 0.3... | width=2;
depth=(10-5.75-0.57)/2;
$fn=100;
module base(){
cube([1.14,width,depth]);
translate([0,width,0])rotate([90,0,0])linear_extrude(height=width) polygon(points=[[1.14,0],[1.14,depth],[4.25,depth-0.375],[4.25,0]]);
translate([0,0,depth-0.25]) linear_extrude(height=0.25) polygon(points=[[1.14,width/2-0.... | glb/cad_4f30110dac1c.glb |
Create a Dual AA Battery Pack consisting of two identical holders. For each holder, start with a rectangular block measuring 18.5mm in length, 31mm in width, and 8mm in height.
From this block, remove a central rectangular volume to create a compartment for two AA batteries. This inner cavity should be 14.5mm long an... | AA = [ 14.5, 51.5 ];
AAA = [ 10.5,44.5 ];
C = [ 26.2, 50 ];
D = [ 34.2, 61.5 ];
typ = AA;
num = 2;
bottom_thick=1.5;
fr_thick=3.5;
side_thick=2;
distance_bat=1;
nut_h = 2.5;
nut_radius = 6.4/2;
nut_drill = 3.5;
ser=1;
w=typ[0];
h=w;
l=typ[1]*ser;
ip_l = l;
ip_w = w + (w+distance_bat)*(num-1);
ip_h = h;
mc_l = ip... | glb/cad_f402d905a22a.glb |
Create a DIY 24VDC laptop power supply enclosure consisting of a main case and a lid.
For the case, create a hollow rounded-bottom box with an overall length of 85mm, width of 61mm, and height of 36mm. The walls should be 2mm thick. On one end of the case, create a circular cutout with a 6mm diameter to serve as the ... | include <MCAD/boxes.scad>
$fa=5;
$fs=0.3;
percent = 1 / 100;
board_length = 61;
board_width = 43;
board_thickness = 2;
full_width = 51;
unit_height = 20;
heatsink_length = 45;
screw_radius = 1.5;
screw_dist_length = 52.75;
screw_dist_width = 36.75;
terminal_width = 10;
terminal_depth = 7;
terminal_inset = 7;
term... | glb/cad_86a0b89c73a5.glb |
Create a build plate library model consisting of a central cube and a surrounding boundary frame. First, create a cube with a side length of 30mm, centered on the X and Y axes and positioned so its bottom face is 15mm above the origin.
Next, construct a rectangular boundary plate centered on the origin with a thickne... | build_plate_selector = 1;
build_plate_manual_x = 100;
build_plate_manual_y = 100;
build_plate(build_plate_selector,build_plate_manual_x,build_plate_manual_y);
squares_the_cube_takes_up = 3;
if(squares_the_cube_takes_up%2 == 0){
translate([0,0,squares_the_cube_takes_up*5]){
cube(squares_the_cube_takes_up*10,center... | glb/cad_5fe5dba84c2b.glb |
Create a cylindrical cup holder with an outer diameter of 40mm and a total height of 40mm. Hollow out the center by removing a smaller cylinder with a diameter of 30mm and a height of 38mm, positioned so that it starts 2mm from the bottom, leaving a 2mm thick base. On the outer curved surface, embed the text "Mr.Johnso... | outerShape = 2;
boxSize = 40;
boxHeight = 40;
holeDiameter = 30;
holeHeight = 38;
yourName = "Mr.Johnson";
use <write/Write.scad>
$fn=100;
difference()
{
difference()
{
if (outerShape == 1) {
translate([0,0,boxHeight/2])
cube([boxSize,boxSize,boxHeight], center=true);
... | glb/cad_31ce4c2fecd1.glb |
Create a Tape Measure Winder consisting of two main components: a holder and a winder.
First, construct the holder as a cylinder with a radius of 22mm and a total height of 20mm, centered on the origin. Hollow out the center of this cylinder with a smaller cylinder of 20mm radius and 16mm height. Create a circular op... | pt = 2;
cl=0.5;
mod = 0.01;
th = 16 + cl+2;
tr = 20;
fn=64;
rhr = 2;
rh=32;
tc=7;
module holder()
{
difference()
{
cylinder(r=tr+pt, h=th+pt*2,center=true,$fn=fn);
translate([0,0,th/2 -mod]) cylinder(r1=tr,r2=th-pt/4,h=pt*2+cl,ceneter= true,$fn=fn);
cylinder(r=tr,h=th,center=true,$fn=fn);
cylinder(r=tr... | glb/cad_4d67f09ae73b.glb |
Create a PVC Gate Valve Support by starting with a solid rectangular block measuring 70mm in length, 10.3mm in width, and 8.3mm in height. Hollow out the center of this block by removing a rectangular section that is 66mm long, 6.3mm wide, and 8.3mm high, positioned 2mm from each end and 2mm from the bottom face. To cr... | d = 6.3;
l = 70;
t = 2;
$fa = 0.1;
$fs = 0.1;
difference() {
cube([l, d + (2 * t), d + t]);
translate([t, t, t])
cube([l - (2 * t), d, d + 0.1]);
rotate([0, 90, 0])
translate([-t - (d / 2), t + (d / 2), -0.1])
cylinder(r = d / 2, h = l + 0.2);
rotate([0, 90, 0])
translate([-t - d - 1, t + (d / 2), -0.1])
c... | glb/cad_00066d673189.glb |
Create a Hose Splitter and Joiner by constructing a central barbed fitting with a hollow core. Start by building a barbed cylinder consisting of three stacked sections: a base cylinder with a 4mm radius and 3mm height, a middle cylinder with a 5mm radius and 2mm height, and a top cylinder with a 3mm radius and 3mm heig... | splitter();
module joiner(){
rotate([90,0,0])union(){
barb();
translate([0,0,16])rotate([180,0,0])barb();
}
}
module splitter(){
rotate([90,0,0])difference(){
union() {
translate([0,0,-2])barb();
translate([-5,0,8])rotate([0,90,0])cylinder(10,2,2);
translate([-10,0,8])rotate([0,90,0])barb();
tran... | glb/cad_913692cb6a6f.glb |
Create a toroidal transformer mount consisting of a circular base and a hollow cylindrical riser. Start by creating a solid circular base with a diameter of 65mm and a height of 3mm. Centered on this base, add a hollow cylinder with an outer diameter of 28mm and a total height of 53mm. This cylinder must have a wall th... | $fn=64+0;
part = "first";
screw_hole_diameter = 3.7;
transformer_height = 50;
transformer_inner_diameter = 28;
mount_wall_thickness = 2;
pedestal_diameter = 65;
pedestal_height = 3;
number_of_spokes = 3;
cap_thickness = 3;
cap_diameter = 37;
if(part=="first") {
toroid_transformer_holder(
spokes=number_of_... | glb/cad_2f79e24857a9.glb |
Create a Unicorn Horn Generator consisting of a twisted, tapering spire. The main body is a linear extrusion 150mm in height that twists 540 degrees (1.5 rotations) as it rises. The base of this spire is a circle with a 30mm diameter, which scales down to 10% of its original size at the peak. The top of the spire is ca... | Hauteur_de_la_corne = 150;
Diametre_d_une_corne = 30;
Espacement_entre_les_cornes = 5;
Nombre_de_cornes = 2;
Nombre_de_rotations = 1.5;
Nombre_de_couches = 64;
Nombre_de_faces_par_couche = 64;
Nombre_d_accroches = 3;
Epaisseur_des_... | glb/cad_eaab8534bbbf.glb |
Create a Printrbot Simple Acme knob consisting of a knurled handle and an internal threaded hole. Start by creating a two-tiered cylindrical body: a top section with a diameter of 26mm and a height of 5mm, and a bottom section with a diameter of 20mm and a height of 6mm.
Add knurling to the outer edge of the top sect... | use <Thread_Library.scad>
difference() {
screw_knob(26, 5, 20, 6, 3, 12, 0.4, 0, 0, 0);
trapezoidThreadNegativeSpace(length=12, pitch=1.5875, pitchRadius=3.2, threadAngle=29, countersunk=0, stepsPerTurn=14);
}
module screw_knob(
knob_top_diameter, knob_top_height,
knob_bottom_diameter, knob_bottom_height,
knurl_... | glb/cad_939839a36395.glb |
Create a hexagonal knob for a 1/4" Acme threaded rod. Start by creating a hexagonal prism with a radius of 6mm and a height of 10mm. Inside this prism, create a centered vertical hole with a trapezoidal thread profile. The internal thread should have a pitch of 1.5875mm, a pitch radius of 3.2mm, and a thread angle of 2... | use <Thread_Library.scad>
difference() {
cylinder(r=6, h=10, $fn=6);
trapezoidThreadNegativeSpace(length=10, pitch=1.5875, pitchRadius=3.2, threadAngle=29, countersunk=0, stepsPerTurn=14);
} | glb/cad_baa57a3a941f.glb |
Create a smartphone car holder designed for a device measuring 71mm by 141mm with a thickness of 9mm. Start by constructing a hollow rectangular shell with a bottom thickness of 5mm and walls that are 2.4mm thick. The outer dimensions of the shell should be 73mm by 143mm with a total height of 11mm, featuring rounded c... | $fn=360;
corner_radius = 10;
width = 71;
height = 141;
thickness = 9;
offset_width = 1;
offset_height = 1;
offset_thickness = 2;
single_wall_thickness = 1.2;
bottom_thickness = 5;
wall_thickness = single_wall_thickness * 2;
module basic_case() {
difference() {
minkowski() {
... | glb/cad_2ef877855ddf.glb |
Create two identical spool holder side supports. For each support, start with a central rectangular block measuring 14mm wide, 18mm deep, and 24mm high. Attach a second rectangular block to the bottom of the first, measuring 14mm wide, 12mm deep, and 24mm high. On the side of the main body, add a rectangular protrusion... | mirror()spoolstand();
module spoolstand() {
difference() {
rotate([0,0,90])import_stl("YAFSH_Bottom.stl");
translate([-8,30,0])
union() {
translate([6,6,0]) {
translate([0,(66.6-7.8)/2],0)cylinder(r=7.9/2,h=30,$fn=100);
translate([0,-(66.6-7.8)/2],0)cylinder(r=7.9/2,h=30,$fn=100);
}
}
}
translate([-8,30,0... | glb/cad_32d89515865a.glb |
Create a YAFSH Spool Holder by constructing a primary body and removing specific internal volumes. Start with a solid base consisting of a cylinder with a radius of 8mm and a height of 10mm, joined to a rectangular block measuring 4mm by 152mm by 10mm. Add a second rectangular block measuring 4mm by 20mm by 10mm, cente... | difference(){
union() {
cylinder(10, r=8);
translate([4,0,0])cube([4,152,10], center=false);
translate([-6,10,5])cube([4,20,10], center=true);
translate([4,132,20])rotate([0,90,0])translate([10,10,0])cylinder(4, r=10);
}
union() {
cylinder(10, r=4.3);
translate([0,10,5])cube([8,20,10], center=true);
translate([4... | glb/cad_13ed675917d0.glb |
Create a Luggage Tag case designed to house a Raspberry Pi and an LCD. The main body is a rectangular enclosure with an interior width of 95.25mm (3.725 inches + 1.2mm) and an interior depth of 96.5mm (3.75 inches + 1mm). The walls are 2.5mm thick.
The case is split into a top and bottom half along the centerline of t... | Control_Probe = "Thermocouple";
Pi_Model = "3B/2B/1B+";
Pieces = "Both";
LCD = 1;
wall = 2.5;
wall_t = 2;
body_chamfer_height = 1.5;
MouseEarHeight = 0;
body_corner_radius = wall*2-1/2;
d_off = 1.0;
w = inch(3.725)+1.2;
d = inch(3.75)+d_off;
h_b = [32-6.7, 32][LCD];
probe_centerline = 9.3;
case_split = 12.4;
... | glb/cad_aeae281dfbb5.glb |
Create a two-part mold for a "Mr Jaws" sculpture. Each mold half is a rounded rectangular block measuring 80mm wide, 40mm high, and 15mm deep, with corner radii of 8mm.
For both halves, carve out the negative volume of the Mr Jaws sculpture from the center. To ensure the halves align and cannot be assembled backwards... | model_filename = "Mr.Jawsv2.stl";
model_rotate = [0,0,0];
model_translate = [0,0,0];
model_scale = 1;
mold_width = 80;
mold_height = 40;
mold_depth = 15;
mold_spacing = 3;
rounded_corners = true;
edge_radius = 8;
key_size = 3;
key_fettle = 0.4;
key_margin = 7;
pour_hole = 0;
location = 0;
side_by_side();
module si... | glb/cad_9af4f17ac87d.glb |
Create a sugar cube bridge test model consisting of a series of interlocking cubic frames. Start by constructing a large solid block composed of a grid of 20mm cubes. The overall structure is built from five columns of cubes along the X-axis. The first column contains five cubes, the second four, the third three, the s... | box_size = 20;
border = 3;
count = 5;
shift = box_size - border;
small_box = shift - border;
module box(size, start)
{
translate([(size - 1) * shift + start * shift, (size - 1) * (shift / 2), start * shift])
cube(size = [box_size, box_size + (size - 1) * shift, box_size], center = true);
}
module cut(size, start)... | glb/cad_8a43fbc6d5ad.glb |
Create a Moebius generator by constructing a continuous loop of 90 connected segments. Each segment is formed by taking a thin, 3-sided prism (an equilateral triangle) with a radius of 10mm and a height of 0.1mm, centered on its Z-axis. Position the center of each prism 20mm away from the origin.
Arrange these prisms... | nombresections = 90;
rayon = 10;
nbrcotes = 3;
tours = 1;
nbrtour = tours/nbrcotes;
moebius();
module moebius()
{
union()
{
for (i=[0:nombresections])
{
union()
{
hull()
{
rotate ([0,0,i*360/nombresect... | glb/cad_1042f8bea3ff.glb |
Create a button with a smooth, rounded pentagonal profile. The main body is formed by the convex hull of five spheres, each with a radius of 2.5mm, positioned at the vertices of a regular pentagon with a radius of 20mm. This base has a total height of 3mm.
Add a raised outer rim by creating a second convex hull of fiv... | TypeDeBouton="lissé";
HauteurDuBouton=3;
RayonDuBouton=20;
Forme=5;
Rebord="true";
EpaisseurDuRebord=2;
HauteurDuRebord=2;
NombreDeTrous=5;
DistanceTrou=5;
DiametreTrou=2;
RotationsDesTrous=0;
QualiteDuLissage=2;
bouton();
module bouton()
{
if (TypeDeBouton=="forme")
{
difference()
{
if (Rebord=="... | glb/cad_1d83e6c195d9.glb |
Create a Jerusalem Cube, a fractal geometric object, starting with a central cube that is 100mm on each side. To generate the fractal pattern, place smaller cubes at the corners and midpoints of the edges of the primary cube.
The corner cubes should have a side length of $100 \times (\sqrt{2} - 1)$ mm, approximately ... | mi=3;
ta=100;
mt1=sqrt(2)-1;
mt2=1-(2*mt1);
toto(it=1,taille=ta);
module toto()
{
union()
{
if(it==mi)
{
cube([taille,taille,taille],center=true);
}
if(it<=mi)
{
translate([taille/2,taille/2,taille/2])
translate([-taille/2*mt1,-taille/2*mt1,-taille/2*mt1])
toto(it... | glb/cad_9fa8bcaad88f.glb |
Create a spaceship generator model by constructing a repeating geometric unit and stacking it 8 times. For each unit, start with a central cylinder that has a radius of 100mm, a height of 60mm, and a 16-sided polygonal cross-section. Hollow out this cylinder by removing a concentric inner cylinder with a radius of 98mm... | undership=8;
ha=60;
ta=100;
ep=2;
col=8;
rx=0.9;
ry=1.05;
rz=1.025;
tx=0;
ty=-10;
tz=1;
qu=16;
divqucols=2;
tata();
module tata(it=1)
{
toto();
if (it<=undership)
{
translate([tx,ty,tz])
scale([1*rx,1*ry,1*rz])
tata(it=it+1);
}
}
module toto()
{
union()
{
... | glb/cad_d4a581ebc553.glb |
Create a "Générateur de cube" consisting of a complex network of interconnected small cubes. Construct a series of small cubes, each measuring 0.125mm on all sides and centered on their local axes. Arrange these cubes in a repeating pattern based on a count of 6. Position the cubes using a trigonometric distribution wh... | nbr=6;
taille=0.125;
union()
{
for (i=[1:nbr])
{
union()
{
for (j=[1:nbr])
{
union()
{
for (k=[1:nbr])
{
hull()
{
translate([sin(360/nbr*i)*nbr,sin(360/nbr*j)*nbr,sin(360/nbr*k)*nbr])
cube([taille,taille,taille],cen... | glb/cad_69a7a3c87a72.glb |
Create a rectangular box with a closed top, measuring 185mm in width, 100mm in height, and 100mm in depth. All walls and panels must have a uniform thickness of 5mm.
The box is constructed from six panels. The front and back panels are 185mm wide and 100mm high. The two side panels are 100mm wide and 100mm high. The ... | Hauteur = 100;
Largeur = 185;
Profondeur = 100;
EpaisseurPlanches = 5;
NombreSubdivisionsHauteur = 5;
NombreSubdivisionsLargeur = 2;
NombreSubdivisionsProfondeur = 2;
BoiteFermee = "oui";
Fente ... | glb/cad_3460dd231ecd.glb |
Create a memory card storage box with an outer footprint of 33mm by 73mm and a height of 27mm. The walls and the base should each be 1mm thick. To achieve this, construct a solid rectangular block measuring 33mm in width, 73mm in length, and 27mm in height, then remove a central rectangular volume of 31mm by 71mm by 26... | cube([32,72,1]);
rotate([0,0,90])
translate([0,-32,0])
cube([1,32,27]);
rotate([0,0,90])
translate([72,-33,0])
cube([1,33,27]);
rotate([0,0,0])
translate([0,0,0])
cube([1,72,27]);
rotate([0,0,0])
translate([32,0,0])
cube([1,72,27]); | glb/cad_c92a9d84cb75.glb |
Create a memory card storage box with a rectangular base measuring 50mm by 26mm and a height of 1mm. Construct the outer walls by adding two long side walls of 50mm by 32mm by 1mm, positioned parallel to each other with a gap of 26mm between them, and two short end walls of 27mm by 32mm by 1mm to close the ends. Inside... | cube([50,26,1]);
rotate([90,0,0])
cube([50,32,1]);
rotate([90,0,0])
translate([0,0,-27])
cube([50,32,1]);
rotate([90,0,90])
translate([0,0,49])
cube([27,32,1]);
rotate([90,0,90])
translate([0,0,43])
cube([26,20,1]);
rotate([90,0,90])
translate([0,0,38])
cube([26,20,1]);
rotate([90,0,90])
translate([0,0,33])
cube(... | glb/cad_a296da0555a9.glb |
Create three identical crossbar supports for a filament spooler, spaced 28mm apart center-to-center. Each support begins with a rectangular base measuring 70mm long, 25mm wide, and 7mm thick. Centered on the top surface of this base, place two vertical holes with a radius of 3.5mm and a depth of 8mm, positioned 10mm an... | module bearingHolder()
{
rotate( [180,0,0] ) difference(){
union()
{
translate([0,-12.5,0]) cube([70,25,7]);
translate([20,-12.5,1]) rotate([-90,0,0]) trap();
}
translate([10,0,-1]) cylinder(r=3.5,h=8,$fn=20);
translate([60,0,-1]) cylinder(r=3.5,h=8,$fn=20);
#translate([35,-1,-5]) rotate([90,0,0]) cylinder(r=5,h=12,... | glb/cad_730af5c0ffb7.glb |
Create a 3D logo for AM Enterprises by extruding a specific 2D geometric composition to a height of 10mm, centered on the Z-axis. The base shape is defined by the intersection of a 28.5mm by 25.7mm rectangle with a union of five distinct polygons. The first polygon is a narrow vertical strip from x=0 to x=3.5 and y=0 t... | linear_extrude(height = 10, center = true, convexity = 10, twist = 0)
intersection(){
square(28.5,25.7);
union(){
polygon(points=[[0,0],[3.5,0],[3.5,28.5],[0,28.5]], paths=[[0,1,2,3]]);
polygon(points=[[0,13.2],[10,13.2],[10,16.6],[0,16.6]], paths=[[0,1,2,3]]);
polygon(points=[[19.6,28.2],[15.8,28.2],[3.4... | glb/cad_b119498d251b.glb |
Create an AM Logo plaque by first constructing a rectangular base frame with rounded corners. The outer boundary is a rectangle measuring 28.5mm by 25.7mm with a total height of 10mm. This frame should have a hollowed-out center, leaving a wall thickness of 2mm around the perimeter.
Inside this frame, center a stylize... | $fn=100;
mirror([1,0,0]){
union(){
linear_extrude(height = 10, center = true, convexity = 10, twist = 0)
intersection(){
square(28.5,25.7);
union(){
polygon(points=[[0,0],[3.5,0],[3.5,28.5],[0,28.5]], paths=[[0,1,2,3]]);
polygon(points=[[0,13.2],[10,13.2],[10,16.6],[0,16.6]], paths=[[0,1,2,3]]);... | glb/cad_86d1f1f93654.glb |
Create a McCarthy-style tree generator model by revolving a specific 2D profile around a central vertical axis. To define the profile, start with a union of three shapes: a hull connecting two 16-sided polygons (one with a diameter of 5mm at a height of 85mm and another with a diameter of 35mm at a height of 45mm), a c... | Hauteur=90;
Largeur=40;
Arrondi=5;
rotate_extrude()
difference()
{
offset(-Arrondi)
offset(Arrondi*2)
union()
{
hull()
{
translate([0,Hauteur-Arrondi])
circle(d=Arrondi,$fn=16);
translate([0,Largeur+Arrondi])
circle(d=Largeur-Arrondi,$fn=... | glb/cad_7b22b86f36ad.glb |
Create a plunger for epoxy dispensing by constructing a composite geometric form 90mm in length. Start with two parallel cylinders running the full length: one with a diameter of 18.8mm and a second, smaller one with a diameter of 13.3mm, positioned with a center-to-center spacing of 15.55mm. Combine these cylinders in... | plunger1 = 18.8;
plunger2 = 13.3;
plungerlength = 90;
plungerspacing = 1.2;
rotate ([0,90,0])
union() {
difference() {
union() {
cylinder(h = plungerlength, r=plunger1/2);
translate([0, plunger1/2 + plunger2/2 + plungerspacing, 0])
cylinder(h = plungerlength, r=plunger2/2);
}
translate([4, -10, 0])
c... | glb/cad_9d561249fd22.glb |
Create a flexible joint for a prosthetic finger by combining two cylinders and a rectangular block. Start by placing a cylinder with a radius of 5mm and a height of 30mm centered at the origin. Create a second identical cylinder with a radius of 5mm and a height of 30mm, positioned 30mm away along the x-axis. Connect t... | height = 30;
radius = 5;
lenght = 30;
middle_width = 5;
module extrudedCircle(){
linear_extrude(height=height){
circle(radius);
}
}
extrudedCircle();
translate([lenght,0,0]){
extrudedCircle();
}
translate([0,-middle_width/2,0]){
linear_extrude(height=height){
square([lenght,middle_width],0);
}
} | glb/cad_33ccb4ce5689.glb |
Create a Raspberry Pi holder consisting of a flat base plate with a thickness of 3mm. The base is a custom polygon defined by the vertices [0,0], [31.5, 126], [51.5, 126], and [97, 0] in the XY plane.
On this base, add four cylindrical mounting pillars for the Raspberry Pi. These pillars are positioned in a rectangula... | dAB=87;
dAD=41.5;
dCD=118;
ScrewSize=2;
TubeThickness = 2;
TubeSize=ScrewSize + TubeThickness;
BaseThickness=3;
PiHolderThickness=8;
PiX=49;
PiY=58;
ShapeThickness=15;
PaddingY=4;
PaddingX=5;
ShapeSizeX=(dAB + (2*PaddingX));
ShapePoints=[
[ 0, 0, 0],
[ dAD - 2*Paddi... | glb/cad_66c2e5040cef.glb |
Create a windsock mount by constructing a tiered cylindrical assembly. Start with a main base cylinder 20mm in diameter and 30mm high. On top of this base, add a second cylinder with a diameter of 11mm and a height of 2mm. Centered on top of that, add a third cylinder with a diameter of 11mm and a height of 7mm. To cre... | tube_height = 30;
tube_outer = 16;
bord_height = 2;
bearing_height = 7;
bearing_internal = 8;
hole_diam = 2.5;
top_space = 5;
difference()
{
union()
{
cylinder(d=20, h=tube_height);
translate([0, 0, tube_height]) cylinder(d=bearing_internal + 3, h=bord_height);
translate([0, 0, tube_height... | glb/cad_eaf4a53c93fc.glb |
Create a windsock mount consisting of a square base and a central tapered tube. Start with a square base 50mm wide and 50mm deep with a thickness of 10mm. In the center of this base, create a vertical tube that extends 50mm upward. The tube should have a tapered exterior, starting with a lower outer diameter of 31mm at... | base_dimension = 50;
base_thickness = 10;
tube_inner = 22;
tube_height = 50;
tube_lower = 31;
tube_upper = 28;
tube_bevel_height = 17;
anchor_hole = 3.4;
screwhead_diameter = 7.8;
slot_width = 2;
slot_depth = 33;
anchor_offset = (base_dimension - 10)/2;
module dd_umbrella_stand(dim,dep,inner,height,lower,up... | glb/cad_9151324f97d3.glb |
Create a windsock mount consisting of a square base and a conical holder. Start with a square base measuring 50mm by 50mm with a thickness of 5mm. Centered on top of this base, place a cone that transitions from a lower circular diameter of 30mm at the base to a point at a height of 70mm. To secure the mount, create fo... | base_dimension = 50;
base_thickness = 5;
tube_height = 50;
tube_lower = 30;
tube_len = 70;
anchor_hole = 3.4;
screwhead_diameter = 7.8;
anchor_offset = (base_dimension - 10)/2;
module dd_umbrella_stand(dim,dep,height,lower, len)
{
difference()
{
union()
{
cube([dim,dim,dep],center=true... | glb/cad_57d6bc0a1926.glb |
Create a windsock mount consisting of a wide circular base and a central raised hub. Start with a main circular plate 60mm in diameter and 5mm thick. In the center of this plate, create a raised cylindrical hub with an outer diameter of 28mm and a total height of 14mm. This hub must contain a concentric vertical hole 2... | plate_height = 5;
plate_diameter = 60;
bearing_height = 7;
bearing_external = 22;
top_space = 5;
hole_diam = 6;
hole_offset = plate_diameter/2 - 8;
difference()
{
union()
{
cylinder(d=bearing_external + 6, h=bearing_height + top_space + 2);
cylinder(d=plate_diameter, h=plate_height);
trans... | glb/cad_e3c6675d9ed6.glb |
Create a CoolSpool filament spool consisting of a main spool body and separate support arms.
Construct the spool body by creating two concentric cylinders with a height of 43mm and a wall thickness of 1mm. The outer cylinder must have a diameter of 90mm and the inner cylinder a diameter of 54mm. Connect these two cyl... | $fa=0.5;
$fs=0.5;
enable_spool = 1;
enable_supports = 1;
spool_height = 43;
spool_diameter = 90;
spool_thickness = 1;
spool_inner_diameter = 54;
num_supports = 3;
support_width = 10;
screw_size = 1.9;
slot_height = 2;
tolerance = 0.25;
support_arm_length = 50;
spool_height_with_toler... | glb/cad_38bee6c63aba.glb |
Create a Bike Light housing by starting with a solid cylinder of radius 11mm and a total length of 113mm, then bisecting the entire length of the cylinder with a rectangular cutout of 22mm width and 11mm height to create a semi-cylindrical shell.
Inside this shell, carve out a series of coaxial cylindrical chambers a... | $fn = 60;
thick=2;
switchlen=12;
switchwid=9;
batterylen=70;
batterywid=9;
airflowlen=6;
airflowwid=10;
pcblen=1;
pcbwid=10;
ledlen=6;
ledwid=12;
lenslen=2;
lenswid=12;
wiredia=1;
notchlen=1;
notchwid=1;
function width() = max(switchwid,batterywid,airflowwid,pcbwid,ledwid,lenswid)+thick;
function length() = thick+... | glb/cad_b15afd73f3f7.glb |
Create a curved lithophane panel. The overall shape is a rectangular plate with a width and length of 99mm each, curved along a 60-degree arc. The panel is composed of 8 equal segments (faces) arranged side-by-side to form the curve.
The thickness of the panel varies based on a surface map, with a minimum base thickne... | ang=60;
num_face=8;
xtra=0;
image_file = "image-surface.dat";
hole_diameter = 0;
hole_border = 0;
lithophane_border = 0;
layer_height = 0.32;
number_of_layers = 23;
min_lays=2.5;
sz=99;
s=0.01;
length = 99;
width = 99;
z=sz/num_face;
min_layer_height = layer_height*min_lays;
hole_radius = hole_diameter/2;
he... | glb/cad_a3b09166a15e.glb |
Create a RepRap Y-carriage Igus bushing holder. Start by creating a central rectangular block measuring 33mm in length, 10mm in width, and 5.05mm in height. Add a second, larger rectangular base plate centered beneath the block with dimensions of 34mm in length, 120mm in width, and 2.05mm in height.
To finish the par... | include <configuration.scad>
snap_in_mount = false;
use <bushing.scad>
module ybushing(linear_bearing=true){
if(linear_bearing==false){
translate(v = [0,0,-2.05]) difference(){
union(){
translate(v = [0,0,5.05/2]) cube(size = [33,10,5.05], center = true);
translate(v = [0,0,5]) rotate(a=[0,0,0]) hole_bushin... | glb/cad_9d270342eb6a.glb |
Create a Hall-O endstop mount starting with a rectangular base plate measuring 22mm x 14mm x 4mm. On top of this base, add a vertical axis holder block that is 12mm wide, 14mm deep, and 20mm high, positioned 5mm from the front edge of the base. Extend a small rectangular tab of 3mm x 14mm x 10mm from the back of this h... | module hall_endstop_mount()
{
difference()
{
union()
{
cube([22, 14, 4]);
translate([5, 0, 4])
difference()
{
union()
{
cube([12, 14, 20]);
translate([-2, 0, 10])
cube([3, 14, 10]);
}
translate([2.25, -1, 6])
cube([7.5, 16, 15]);
translate([6, 15,... | glb/cad_2de870977d25.glb |
Create a RAMPS 1.4 Fan Mount with an overall width of 64mm, height of 40mm, and depth of 10mm. The main body is a rectangular slab with a thickness of 3.5mm. Hollow out the center of the slab to create two side brackets, leaving a wall thickness of 3.5mm on each side, but keep a solid air guide on one side.
The top e... | module ramps_fan_mount_cutoff_cube(width, height, depth, cutoff = 5, radius = 5)
{
union()
{
cube([width, height - cutoff - radius, depth]);
hull()
{
for (x = [radius, width - radius])
translate([x, height - cutoff - radius, 0])
cylinder(r = radius, h = depth);
for (x = [radius + cutoff, width ... | glb/cad_de68bf671e41.glb |
Create a MultiWrench for 1/4" sockets consisting of three identical wrench branches radiating from a central point at 120-degree intervals. Each branch is constructed by combining a cylinder with a length of 15mm and a radius of 5mm with a rounded rectangular head. This head is a prism 5mm wide, 5mm deep, and 8mm tall,... | wrenchCount = 3;
wrenchLength = 15;
multiWrench(wrenchCount,wrenchLength);
module multiWrench(count,length){
for(degree=[0:360/count:359]){
union(){
echo(degree);
wrenchBranch(length,degree);
}
}
}
module wrenchBranch(length,degree){
difference(){
rotate([9... | glb/cad_05dc521f0a7d.glb |
Create a Hanging Gardens replacement playing piece by combining three rectangular prisms into a single solid. Start with a central base prism measuring 3.8mm wide, 15.75mm deep, and 10mm high, centered on the origin. Add a second prism measuring 9.2mm wide, 12.5mm deep, and 10mm high, centered on the X and Z axes but s... | translate([0, 0, 5])
union() {
cube([3.8, 15.75, 10], center=true);
translate([0, -(15.75-12.5)/2, 0])
cube([9.2, 12.5, 10], center=true);
translate([0, -(15.75-9.7)/2, 0])
hull() {
cube([15, 9.7, 10], center=true);
translate([0, -(9.7-0.0001)/2, 0])
cube([17.9, 0.0001, 10], ... | glb/cad_3c23a4dcdb50.glb |
Create a Sheriff Badge by first constructing a six-pointed star base. Form this base by merging two identical equilateral triangular prisms, each with a radius of 40mm and a height of 5mm, with one rotated 180 degrees relative to the other. Add six small cylindrical pegs, each with a radius of 5mm and a height of 5mm, ... | difference () {
union () {
cylinder(r=40, h=5,$fn=3);
rotate([0,0,180])
cylinder(r=40, h=5,$fn=3);
translate([37,0,0])
cylinder(r=5, h=5);
translate([-37,0,0])
cylinder(r=5, h=5);
translate([-19,33,0])
cylinder(r=5, h=5);
translate([19,33,0])
cylinder(r=5, h=5);
translate([-19,-33,0])
cylinder(r=5, h=5);
translate([19,... | glb/cad_2c04e3c9b9e1.glb |
Create a customizable round connector brick with a total height of 13mm. Start by constructing the main body as a cylinder with a diameter of 8mm. At the bottom, add a shorter cylindrical base with a height of 1.7mm and a diameter of 5.8mm. At the top, add a cylindrical protrusion with a height of 1.7mm and a diameter ... | lego_diam = 8.0;
lego_height = 13;
pin_height = 1.7;
pin_diam = 4.8;
pin_diff = 1.0;
$fn = 100;
pin_rad = pin_diam / 2;
lego_rad = lego_diam / 2;
hole_rad = pin_rad-pin_diff/2;
hole_rad2 = pin_rad;
difference()
{
union()
{
cylinder(pin_height, pin_rad+pin_diff, pin_rad+pin_diff);
translate([0,0,pin_height... | glb/cad_885d2c2053c8.glb |
Create a wiper cap for a 2011 Toyota Corolla. The main body is a hollowed cylindrical structure with a total height of 8mm. Start with an outer shell that is 28mm wide and 31mm long, with a wall thickness of 1.8mm.
Inside this shell, create a concentric ring system. The outer ring has a diameter of 24.6mm, while the ... | module outer_case(width, height, length)
{
difference() {
union() {
cylinder(h = height, d = width, center = true, $fn = 500);
translate([0.0, 0.25 * length, 0.0]) cube([width, 0.5 * length, height], center = true);
}
translate([0.0, 0.5 * length - 4.0 + 6.5, 2.4]) {... | glb/cad_1b21019bd554.glb |
Create a jigsaw puzzle plate with a total width of 100mm, divided into a 3x3 grid of square pieces. Each individual piece has a side length of approximately 33.33mm.
For the internal edges of each piece, create interlocking tabs and sockets. The tabs are circular protrusions with a radius equal to 1/10th of the piece... | filename = "";
width = 100;
x_blocks = 3;
spacing = 0.4;
module puzzle_piece(side_length, spacing) {
$fn = 48;
circle_radius = side_length / 10;
half_circle_radius = circle_radius / 2;
side_length_div_4 = side_length / 4;
bulge_circle_radius = circle_radius - spacing;
difference() {
square(side_length - spac... | glb/cad_3a892e6bfec0.glb |
Create a parametric buffer suspension system consisting of two main coaxial components. For the lower part, create a cylinder with a radius of 3.25mm and a height of 20mm, centered on the origin. Add a small cube at the base of this cylinder measuring 6.75mm on each side. Bore a horizontal hole through the center of th... | axis=4.5;
height=20;
d=3.2;
t=2;
m=8;
module suspension_up (height, d, t,m){
difference () {
cylinder(r=m/2, h=height, center=true, $fn=50);
translate([0,0, -t]) cylinder(r=(m-t)/2, h=height, center=true, $fn=50);
translate ([0,0,-2]) cube ([3*m, d, height*0.6], center=true);
}
difference () {
union () {
tr... | glb/cad_42e816a8e372.glb |
Create a Neva3 component holder by starting with a solid rectangular base measuring 195mm in width, 95mm in height, and 11mm in depth. From this base, remove several rectangular sections to create cutouts. First, remove a central rectangle starting 20mm from the left and right edges, with a height of 24mm and a depth t... | $fn=100;
w = 195;
h = 95;
dep = 11;
difference() {
cube([w,h,dep]);
translate([20,-1,-1])
cube([w-20*2,23+1,dep+2]);
translate([60,h-40,-1])
cube([w-60*2,34,dep+2]);
translate([69.5,h-7,-1])
cube([w-69.5*2,34,dep+2]);
translate([4.5+5,9.5+5,2])
{
cylinder(h=1... | glb/cad_7e73055c3679.glb |
Create a 3D stick figure model with a uniform thickness of 2mm and a limb thickness of 1.4mm.
Start with a hollow head consisting of a ring with an outer diameter of 10mm. From the base of the head, extend a central body segment 12mm long.
Construct the legs using two symmetrical branches. Each leg consists of a th... | upper_arm_l = -70;
lower_arm_l = 110;
hand_l = -30;
upper_arm_r = 80;
lower_arm_r = 40;
hand_r = 30;
thigh_l = -40;
shin_l = 30;
foot_l = 10;
thigh_r = 40;
shin_r = -30;
foot_r = -10;
body = 0;
base_position = 1;
base_type=3;
base_width = 15;
base_depth = 5;
base_height = 2;
base_rotate = 0;
base_offset_x = 5.5;
base_... | glb/cad_157212904014.glb |
Create a Flexing Battery Holder designed for AA batteries. The model consists of three parallel battery compartments arranged side-by-side. Each compartment is a chamfered rectangular housing with a length of 50mm and a width of 14.4mm to accommodate the cells.
For each compartment, create a main cavity that holds the... | cell = 1;
ParallelCells = 3;
SeriesCells = 1;
AlternateSymbols = 1;
ew=0.56;
eh=0.25;
Li18650 = [
["len", 65.2],
["dia", 18.4],
["cellHeight", 0.75],
["screwHole", 3],
["eps", 0.28],
["overHang", 0],
["lenCorrect", 0.3],
["cutDepth", 0],
["df", 1]
];
Li18650P = [
["len", 70],
["dia", 18.4],
[... | glb/cad_2720cdc2ca9a.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.