Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create an X-Belt Block Part 1125 by starting with a central body formed from the union of a 10mm cube and two cylinders. The cube is 10mm wide, 10mm deep, and 6mm high, centered on the X and Y axes and positioned 3mm above the base. Add two cylinders with a radius of 5mm and a height of 6mm, centered at [0, 5, 3] and [... | difference(){
union(){
translate([0,0,3]){
cube([10,10,6],center=true);}
translate([0,5,3]){
cylinder(h=6, r=5,$fn=150, center=true);}
translate([0,-5,3]){
cylinder(h=6, r=5,$fn=150, center=true);}
}
translate([0,-7.7,3]){
cylinder(h=6.3, r=1.5,$fn=150, center=true);}
translate([0,7.7,3]){
cylinder(h=6.3, r=1.... | glb/cad_8e14b33ee3ce.glb |
Create an Improved Servo Bracket with a total width of 43mm, a wall thickness of 2mm, and a base height of 2mm.
Start with a flat rectangular base 43mm wide by 35mm deep. In the center of this base, remove a rectangular section 23mm wide by 20mm deep to create two 10mm wide legs extending forward. At the front corner... | $fn=50;
servo_width = 23;
wall = 2;
brace_size = 2*wall;
hole=4.5;
mount_length = 35;
leg_width = 10;
screw_offset = 2.5;
slotw = 1;
slotAl = 10;
slotBl = 15;
outside_leg = 35;
inside_leg = 20;
hook_width = 3;
hook_height = 4;
hook_offset = 3;
bracket_width = servo_width + 2 * leg_width;
slotA_y = inside_... | glb/cad_526bd547f327.glb |
Create a paper lift for a printer by constructing a series of rectangular prisms. Start with a main vertical block measuring 15mm wide, 10mm deep, and 60mm high. From this main block, remove a smaller rectangular section measuring 8mm wide, 5mm deep, and 10mm high, positioned 4mm from the side and 2.5mm from the front,... | difference() {
cube([15,10,60]);
translate([4,2.5,51]) cube([8,5,10]);
}
color("red") translate([12,0,0]) rotate([0,0,-15]) cube([80,3,45]);
color("blue") translate([89,-20.7,0]) cube([40,3,45]);
color("cyan") translate([-10,7,0]) cube([10,3,60]);
color("green") translate([88,-20,0]) cube([3,30,45]);
color("pink") t... | glb/cad_9ddf362afd32.glb |
Create a paper lift for a printer by constructing a series of rectangular prisms. Start with a main vertical base block measuring 15mm wide, 10mm deep, and 70mm high. Centered on the 15mm x 10mm face, add two smaller rectangular protrusions measuring 7.9mm wide, 4.9mm deep, and 8.5mm high: position one at the very bott... | cube([15,10,70]);
translate([4.25,2.75,-8.5]) cube([7.9,4.9,8.5]);
translate([4.25,2.75,70]) cube([7.9,4.9,8.5]);
color("cyan") translate([-10,7,0]) cube([10,3,70]); | glb/cad_fdbd2ae6f8bd.glb |
Create a paper lift for a printer by constructing a primary rectangular block measuring 15mm wide, 10mm deep, and 60mm tall. From this main block, remove a smaller rectangular void measuring 8mm wide, 5mm deep, and 10mm tall, positioned 4mm from the side and 2.5mm from the front, extending 1mm below the base. Attach a ... | difference() {
cube([15,10,60]);
translate([4,2.5,-1]) cube([8,5,10]);
}
color("red") translate([12,0,15]) rotate([0,0,-15]) cube([80,3,45]);
color("blue") translate([89,-20.7,15]) cube([40,3,45]);
color("cyan") translate([-10,7,0]) cube([10,3,60]);
color("green") translate([88,-20,15]) cube([3,30,45]);
color("pink"... | glb/cad_98ae20e95094.glb |
Create a NEMA17 brace consisting of a central square plate and two symmetrical side supports. Start with a square base plate 42mm wide and 42mm deep with a thickness of 5mm. In the center of this plate, create a circular hole with a diameter of 25mm that passes completely through the thickness.
At each of the four cor... | ThicknessStepper = 5;
WidthStepper = 42;
ScrewsStepper = 31;
HeightFoot = 25;
Stepper=1;
$fn=72;
difference(){
union(){
translate([WidthStepper/-2, WidthStepper/-2,0])
cube([WidthStepper,WidthStepper,ThicknessStepper]);
translate([WidthStepper/2, WidthStepper/-2,0])
cube([5,WidthStepper,HeightFoot]);
for... | glb/cad_b904983a0cef.glb |
Create a grinning Jack O'Lantern coin by starting with a solid cylinder 25.4mm in diameter and 3mm thick. Carve out the facial features by removing material through the full thickness of the cylinder. For the eyes, remove two identical pie-slice shapes with a radius of 6.35mm; position the center of the right eye at [4... | use <MCAD/2Dshapes.scad>
epsilon = 0.1;
module extrude_through(height) {
translate([0,0,-epsilon])
linear_extrude(height=height+2*epsilon)
children();
}
module JackOLanternFace(cylinder_diameter, cylinder_height) {
cylinder_radius = cylinder_diameter / 2;
difference() {
cylinder(r=cylinder_radius, ... | glb/cad_d7f96f7c7127.glb |
Create a Leg-Support Bar Clamp by constructing a hollow cylindrical ring with an outer diameter of 22mm and a wall thickness of 2mm, resulting in an inner diameter of 18mm. The ring should have a total height of 10mm. Cut a gap into the ring to create two separate ends, leaving a small opening between them. On the flat... | difference()
{
union()
{
cylinder(10,28,28,true,$fn=400);
translate([-11,0,-5]) cube([22,40,10]);
translate([0,25,-4.5]) cube([30,30,1],true);
};
union()
{
translate([-9,0,-6]) cube([18,50,12]);
cylinder(11,26,26,true,$fn=400);
translate([0,34,0]) ro... | glb/cad_758731a5f7af.glb |
Create a Proximity Sensor Holder for an E3D V5 hotend. The model consists of a flat mounting plate and a cylindrical holster.
Start with a rectangular base plate measuring 60mm in length, 22.25mm in width, and 5mm in thickness. Centered at the 30mm mark along the length, create a circular cutout with a diameter of 13m... | hotend_holder_thickness = 5;
tolerance = 0;
resolution = 100;
hotend_diameter = 13;
holster_height = 25;
proximity_sensor_holder(hotend_holder_thickness, tolerance, resolution, hotend_diameter, holster_height);
%translate([30,9.6,9])
rotate([180,0,0])
e3dv5(0,100, 0.5);
module proximity_sensor_holder... | glb/cad_35b1d3fe450c.glb |
Create a Keypad/LCD Mounting Bracket consisting of two mirrored, L-shaped arms. Each arm is formed by a flat strip with a thickness of 4mm and a total height of 13mm.
The strip bends at a 30-degree angle with a bend radius of 5mm. One section of the strip is 80mm long to accommodate a keypad, and the other is 65mm lo... | use <bend.scad>
bolt_r = 2;
keypad_l = 80;
keypad_holespace = 50;
lcd_l = 65;
lcd_holespace = 55;
lcd_wire_h = 5;
kp_lcd_a=30;
kp_lcd_holediff = (90-73)/2;
bend_r = 5;
wall_w = 4;
wall_h = kp_lcd_holediff + (wall_w *2) + (bolt_r*2);
function dist_x(dist,angle) = dist * cos(angle);
function dist_y(dist,angle... | glb/cad_336005d1b572.glb |
Create a Graber I3 Z Screw Isolator. Start by forming the main body as a union of two shapes: a hexagonal prism with a flat-to-flat width of 16mm and a height of 16.5mm, and a rectangular block attached to one side measuring 48mm in length, 14.5mm in width, and 16.5mm in height.
From this combined volume, remove the ... | nut_ht = 15;
nut_wd = 15;
nut_id = 8;
dia = 10;
thick = 1.5;
length = 48;
difference() {
union() {
cylinder(r=((nut_wd/2)/cos(180/6)+0.05)+2*thick, h=nut_ht+thick, $fn=6);
translate([0,-(dia+3*thick)/2,0])
cube([length+(dia/2),dia+3*thick, nut_ht+thick]);
}
translate([0,0,thick+1])
cylinder(r=(nut_wd/2)/c... | glb/cad_75095ef100d2.glb |
Create a clip-on foot for a play yard fence. Start with a solid rectangular block measuring 30mm wide, 180mm long, and 6mm thick.
At the center of the block, carve out a rectangular slot to accommodate a rail. This slot should be 13.9mm wide and 20.4mm high, positioned so that it leaves a 7.4mm gap between the bottom... | len = 180;
wid = 30;
thk = 6;
gap = 7.4;
w = 13.9;
h = 27.8;
h0 = 20.4;
clip_thk=1.5;
bottom = false;
rad = 27.8;
$fn=72;
module fillet(r, h) {
difference() {
cube([h, r, r]);
translate([-1, 0, 0]) rotate([0, 90, 0]) cylinder(h=h+2, r=r);
}
}
module main() {
ph = 0.5*acos((rad-h)/rad);
y = h/tan(... | glb/cad_b6856a390991.glb |
Create a Snap-Fit Blower Fan Duct and a matching mount.
For the duct, create a hollow rectangular tube with a wall thickness of 1.2mm. The main outlet section should be 20mm long and 15.15mm wide. At the fan end, incorporate a snap-fit notch that is 10.85mm long and 1.9mm wide, offset by 0.91mm from the center. The d... | tipLength = 30;
tipWidth = 3;
tipDistance = 30;
elbowAngle = 90;
elbowInnerRadius = 0.01;
thickness = 1.2;
outerLength = 20;
outerWidth = 15.15;
notchLength = 10.85;
notchWidth = 1.9;
notchOffset = 0.91;
notchFromEdge = 1;
notchClearance = 0.5;
cy = 25;
cz = 25;
r = 22.5;
$fn=200;
mountThickness = 6;
separati... | glb/cad_ae281d574b12.glb |
Create a jet-shaped cookie cutter based on the F16 profile. The model consists of a thin vertical wall that follows the perimeter of the aircraft shape, with a total height of 10mm. The main cutting edge should have a thickness of 0.53mm. To facilitate pressing and release, add a wider stabilizing rim at the bottom of ... | h=10;
t=0.53;
h1=2;
t1=3;
cutter();
%translate([0,0,-1])cube(size=[100,100,1],center=true);
module base(h){
translate([-2,-117,0])mirror([1,0,0])scale([0.6,0.6,1])rotate([0,0,45])
linear_extrude(file="F16.dxf",height=h);
}
module cutter(){
difference(){
union(){
edge(height=h,thickness=t);
edge(height=h1,th... | glb/cad_0256c0b9dec8.glb |
Create a Gearcube Globe Holder consisting of a curved, decorative support structure. The main body is a partial torus created by rotating a circle with a 5mm radius around an axis at a distance of 50mm from the circle's center. This resulting ring is sliced in half and further hollowed out by a central cubic cutout to ... | scale(.95)
{
difference()
{
rotate_extrude(convexity = 10, $fn = 48)
translate([50, 0, 0])
circle(r = 5, $fn = 24);
translate([-100,-100,-200])cube(200);
translate([0,0,-100])
cube(200);
rotate([0,0,-45])
translate([0,0,-100])
cube(200);
}
difference()
{
union()
{
rotate([0,0,90])transla... | glb/cad_1360ba811b4d.glb |
Create a drink tag consisting of a flat rectangular body with a circular hook at one end. The main body is 40mm long, 16mm wide, and 2mm thick. At the left end, create a circular cutout with a 10mm diameter to form the hook, leaving a 3mm wall of material around the circle to maintain the tag's width.
Smooth the oute... | function split(string, seperator=" ", ignore_case = false, regex=false) =
_split(string, index_of(string, seperator, ignore_case=ignore_case, regex=regex));
function _split(string, indices, i=0) =
len(indices) == 0?
[string]
: i >= len(indices)?
_coalesce_on(after(string, indices[len(indices)-... | glb/cad_27c9eed39e77.glb |
Create a NEMA 17 stepper motor model. The main body is a combination of a central cube and a cylinder. Start with a central block that is 42.3mm wide and 42.3mm deep, with a height that can vary. This block is modified by an intersection with a rotated cube of approximately 52.4mm width and depth, creating a clipped-co... | Example_Number = 2;
if(Example_Number==0){
motor_height = 34.0;
Nema17(motor_height);
}
else if(Example_Number==1){
motor0_height = 34.0;
motor1_height = 53.0;
Nema17(motor0_height);
translate([100,0,0])
Nema17(motor1_height);
}
else if(Example_Number==2){
for(x_trans=[0:100:500],y_... | glb/cad_cfd5619df86a.glb |
Create an end stop for an MGN-12 linear rail. Start by constructing a base shape using a convex hull that encompasses four cylinders: two cylinders with a 2mm diameter positioned at x= -9 and x= 9 (both at y= -5, z= 0), and two cylinders with a 6mm diameter positioned at x= -7 and x= 7 (both at y= 3, z= 0). All cylinde... | module bottom_stop()
{
$fn=50;
extra_space = 0.5;
screw_diameter_hole = 3.0 + extra_space;
screw_head_diameter_hole = 5.8 + extra_space;
rail_width = 12.0 + extra_space;
difference() {
hull() {
translate([-9, -5, 0])
cylinder(h=7, d=2, center = true);
translate([9, -5, 0])
cylinder(h=7, d=2, ce... | glb/cad_e39081969dc7.glb |
Create a cut out arm for a diametrics quad. Start with a central rectangular arm measuring 50mm in length, 12mm in width, and 3mm in thickness, centered on the origin. Remove a small oval cutout from this arm, scaled to 0.8 by 1.2 with a radius of 3mm, positioned 6.5mm from the center along the width.
At one end of th... | $fn = 90;
arm = 50;
thickness = 3;
motorHoleDiameter = 3;
motorHoleCenters = 14;
motorArmatureDiameter = 4.97;
motorBase = 20.94;
supportLength = 5;
test();
module test() {
arm();
translate(v = [arm / 2 + 6, 0, 0])
rotate(a = 45, v = [0, 0, 1])
motorMount();
rotate(a = 180, v = [0, 0, 1]) {
translate(v ... | glb/cad_23aca2bbaf78.glb |
Create a Mini Vibration Motor Housing by constructing a hollow cylinder with an outer radius of 5.5mm and a total height of 17mm. Remove a central cylindrical core with a radius of 3.5mm, starting from 1mm above the base and extending through the top, to create a tube with a 1mm thick floor. Finally, cut a rectangular ... | difference() {
cylinder(r=5.5, h=17, $fn=50);
translate([0,0,1])
cylinder(r=3.5, h=18, $fn=50);
translate([-2.65,-1,-0.1])
cube([5.5,2,3]);
} | glb/cad_44b6264a3688.glb |
Create a 3D logo of a stylized letter M with a total height of 60mm and a thickness of 10mm. The structure is based on a radius of approximately 10.91mm.
Start by creating two primary vertical pillars. The first pillar is a 20-sided prism with a radius of 10.91mm and a height of 10mm, positioned such that its bottom ... | MakerbotM(60,10);
module MakerbotM(height, thickness)
{
radius = height/5.5;
translate([-1.25*radius,1.5*radius,0])
{
difference() {
cylinder(r=radius,h = thickness, $fn=20);
translate([0,-1*radius,0])cube([radius,radius,thickness]);
}
translate([2.5*radius,0,0])difference() {
cylinder(r=radius,h =... | glb/cad_90144d627d99.glb |
Create a Funneled Bottle Adapter consisting of two concentric cylindrical shells connected by a conical transition. Start by creating a lower cylindrical tube with an inner diameter of 40mm, a wall thickness of 1.6mm, and a height of 9mm. Above this, add a second cylindrical tube with an inner diameter of 43mm, a wall ... | bottom_diameter = 40;
top_diameter = 43;
inset = 5;
bottom_height = 9;
top_height = 9;
outer_conus_height = 5;
inner_conus_height = 8.4;
thickness = 1.6;
bottom_radius = bottom_diameter / 2;
top_radius = top_diameter / 2;
height = top_height+outer_conus_height+bottom_height;
rotate([180,0,0])union() {
rotate... | glb/cad_acdff3ab4624.glb |
Create a Prusa i3 X-Carriage for GT2 belts. Start by constructing the base, which consists of two horizontal bearing holders connected by a central belt holder block measuring 39mm by 16mm by 17mm, all integrated with a base plate measuring 43mm by 68mm by 8.5mm.
Carve a central channel for the belt by removing a bloc... | use <inc/bearing.scad>
hotend_mount = 1;
hotend_groovemount_depth = 5;
hotend_groovemount_diameter = 16;
x_rod_distance = 45;
belt_tooth_distance = 2;
belt_tooth_ratio = 0.8;
module x_carriage_base(){
translate([-33/2,+2,0]) rotate([0,0,90]) horizontal_bearing_base(1);
hull(){
translate([-33/2,x_rod_dista... | glb/cad_368852ce2114.glb |
Create a HDD stand by starting with a solid rectangular block 15mm wide, 40mm long, and 7.6mm high. Apply a 5mm radius fillet to all exterior edges and corners to round the shape. Carve a central rectangular groove through the length of the block, starting from the top surface and extending down to a base thickness of ... | breite1=15;
laenge1=40;
fuss=1.6;
hoehe1=6;
breite2=13.3;
x=15;
y=1;
z=1;
radius=5;
mfn=25*radius;
difference(){
union(){
minkowski(){
cube([breite1,laenge1,hoehe1+fuss]);
cylinder(r=radius,h=0.1+fuss,$fn=mfn);
}
}
union(){
translate([(breite1/2)-(breite2/2),0-x/2,fuss])
#cube([breite2,laenge1+x,hoeh... | glb/cad_cf45927246df.glb |
Create an endstop mount for a 2020 frame. Start with a main rectangular base measuring 30mm wide, 16mm deep, and 6mm thick, centered on the origin. On the left side, add a smaller rectangular protrusion measuring 6mm wide, 8mm deep, and 3.5mm high, centered at X=-7, Y=0, and Z=3.
From this combined volume, remove a r... | thickness = 6;
economical = 1;
mount_hole_diameter = 3.5;
eps = 0.05;
module end_stop_holder() {
$fn=50;
difference() {
union() {
cube([30, 16, thickness], center = true);
translate([-7, -4, thickness/2])
cube([6, 8, 3.5], center = true);
}
translate([3, -2, -thickness/2 + 1.25 - eps/4])
cub... | glb/cad_762353df6cb2.glb |
Create a Titmouse Feeder for suet cakes consisting of a base plate, four side walls, and a top cover.
Construct the base plate as a series of three concentric rings with a total outer diameter of approximately 113mm (based on $w2/2 \times \sqrt{2}$ where $w2=80$), connected by radial spokes.
Create four side walls,... | ew=0.56;
eh=0.25;
module trapez(w1,w2,h,d){
hull(){
translate([-w1/2,0,0])cube([w1,0.1,d]);
translate([-w2/2,h-0.1,0])cube([w2,0.1,d]);
}
}
module meise(
h = 160,
w1 = 40,
w2 = 80,
d = 2,
D = 4*ew,
g = 3.4,
m = 8,
n = 5,
hook =false,
eps=0.5,
base=false,
top=false... | glb/cad_45bafebde0f9.glb |
Create a Makergear hot end adapter for a Gregs X Slide by starting with a main cylindrical disk that is 66mm in diameter and 4.65mm thick. From this disk, remove several geometric shapes to create precise openings. First, center a circular hole with a diameter of 12.05mm. Around the perimeter of the disk, place six sma... | $fs=0.2;
$fa=2;
translate([-51.6,-48.8,0])
difference()
{
translate([51.75,48.8,2.3]) cylinder(h=4.6,r=33,center=true);
translate([42.25,71.88,-0.1]) cylinder(h=20,r=2,center=true);
translate([51.72,73.83,-0.1]) cylinder(h=20,r=2,center=true);
translate([60.96,71.88,-0.1]) cylinder(h=20,r=2,center=true);
translate([... | glb/cad_4b2967bece73.glb |
Create a desk hook by constructing a main body with rounded edges. Start with a vertical rectangular block 50mm wide, 30mm deep, and 54mm high, but modify the geometry to include a lower protruding section that is 10mm wide, 30mm deep, and 20mm high, centered horizontally. Apply a 3mm fillet or rounding to all exterior... | difference() {
minkowski() {
union() {
translate([2.5,0,2.5]) cube([45,30,49]);
translate([20,0,-17.5]) cube([10,30,20]);
}
translate([3,0,3]) rotate([-90,0,0]) cylinder(h = .1, r=3, center = false, $fs=.01);
}
translate([10,-1,15]) cube([52,32,34.5]);
translate([25.5,-1,-7]) rotate([-90,0,0]) cylinder... | glb/cad_e4de669f4c20.glb |
Create a spool holder mount by starting with a vertical rectangular block that is 12.5mm wide, 12.5mm deep, and 40mm tall. Apply a corner radius of 5mm to the vertical edges of this block to give it a rounded, pill-like cross-section.
Remove material from this block to create two specific voids. First, carve out a ce... | module roundedRect(size, radius)
{
x = size[0];
y = size[1];
z = size[2];
linear_extrude(height=z)
hull()
{
translate([(-x/2)+(radius/2), (-y/2)+(radius/2), 0])
circle(r=radius);
translate([(x/2)-(radius/2), (-y/2)+(radius/2), 0])
circle(r=radius);
translate([(-x/2)+(radius/2), (y/2)-(radius/2), 0])... | glb/cad_8a69d160ed37.glb |
Create a child-powered marble lift adapter consisting of a U-bend pipe and a bottle attachment.
First, construct the outer shell. Create a U-shaped pipe with a major radius of 30mm and an outer minor radius of 12.5mm. One end of the U-bend should transition into a conical section with a height of 20mm, tapering from ... | include <2LScrew2.scad>
module torus(rmajor, rminor) {
rotate_extrude(convexity=10)
translate([rmajor,0,0]) circle(r=rminor);
}
module ubend(r_major, r_minor) {
epsilon = 1;
total_rad_eps = r_major+ r_minor + epsilon;
difference(){
rotate([90,0,0])
torus(rmajor = r_major, rminor=r_minor);
translate(... | glb/cad_a474ef1cba76.glb |
Create a child-powered marble lift adapter consisting of a U-bend pipe with a hollow interior. The main body is formed by a torus with a major radius of 30mm and a minor radius of 12.5mm.
Subtract a hollow channel from the center of this shape. This channel consists of a smaller torus with a major radius of 30mm and ... | include <2LScrew2.scad>
module torus(rmajor, rminor) {
rotate_extrude(convexity=10)
translate([rmajor,0,0]) circle(r=rminor);
}
module ubend(r_major, r_minor) {
epsilon = 1;
total_rad_eps = r_major+ r_minor + epsilon;
difference(){
rotate([90,0,0])
torus(rmajor = r_major, rminor=r_minor);
translate(... | glb/cad_f1b39ee1e649.glb |
Create a Dragon iPhone 5 Case. Start by constructing a main body based on the dimensions of an iPhone 5, with a total height of 7.6mm, a width of 58.57mm, and a length of 123.83mm. The case should have rounded corners with a radius of 9.28mm.
The walls of the case should be 1.8mm thick. Create a hollow interior to fit... | 4length = 115.25;
case_thickness = 1.8;
4cornerR = 8.77;
input = [[173,265],[[249.79,24.88],[248.02,25.32],[244.25,27.89],[239.44,32.33],[235.15,37.24],[231.94,41.84],[229.73,45.5],[228.03,49.68],[226.05,55.5],[224.36,63.2],[224.11,73],[224.01,80.56],[223.44,84],[222.11,83.1],[220.19,80.23],[218.32,75.42],[217.67,69.23... | glb/cad_63915537e52e.glb |
Create a Pitot Tube application consisting of a support tube and a housing box.
First, construct the support tube assembly. Create a main vertical tube with an outer diameter of 9mm and an inner diameter of 5mm, with a wall thickness of 4mm. The tube should be 120mm tall. At the top, integrate a curved section with a... | diamtube=5;
spess=4;
lato=diamtube+spess;
altezza=120;
particolare="all";
echo("----------------");
echo("Componente: ", particolare);
echo("----------------");
if (particolare == "tubo" || particolare == "all") {
difference() {
union () {
translate([30, 20+3, 100])
rotate([0,... | glb/cad_89b5514d7458.glb |
Create an interactive puzzle feeder called The City. Start by creating a circular base disk with a radius of 55mm and a height of 3mm. On top of this base, place 11 square prisms, each with a base size of 10mm by 10mm. These prisms should be positioned randomly across the surface of the disk, ensuring they remain withi... | radius = 55;
number_of_tower = 10;
tower_size = 10;
max_tower_height = 150;
disk_height = 3;
cylinder(disk_height, radius, radius,true);
for(i=[0:number_of_tower]) {
height = rands(0,max_tower_height,1)[0];
tx = rands(tower_size-radius,radius-tower_size,1)[0];
maxy = sqrt(pow(radius-tower_size, 2) - pow... | glb/cad_904dd9e15be8.glb |
Create a BagBiner, a small mounting clip designed to hold a carabiner against fabric. The overall outer shape is a symmetrical, rounded block with a total height, length, and width of 23.4mm. This outer volume is formed by the intersection of a cylinder with a diameter of 23.4mm and a cube of the same dimensions, resul... | carabiner_thickness = 3.3;
fabric_thickness = 2;
carabiner_ID = 22;
thickness = 6;
fn = 7;
hole_diameter = carabiner_thickness*2+fabric_thickness*4;
slot_width = fabric_thickness*2;
total_height = hole_diameter*1.5+thickness*2;
total_length = total_height;
total_width = total_height;
difference(){
intersection(... | glb/cad_363ae938c34b.glb |
Create a Bevel Gauge for a honing guide consisting of four adjacent rectangular sections, each 12.5mm wide and 2mm thick. For each section, the length varies based on the target bevel angle (20, 25, 30, and 35 degrees).
At the end of each rectangular base, add a vertical stop block that is 8mm wide and 7mm high. From... | use <MCAD/triangles.scad>
description = "Plane";
bladeThickness = 2;
guideHeight = 30.6;
bevelAngles = [20,25,30,35];
stopHeight = 7;
stopWidth = 8;
gaugeWidthPerAngle = 50/len(bevelAngles);
gaugeThickness = 2;
guideWheelRadius = 18.7/2;
guideOffset = 20;
difference() {
for (index = [0:len(bevelAngles)-1]) {
... | glb/cad_2ea02caafbaa.glb |
Create a printable birdhouse with a width of 100mm, a depth of 120mm, and a height of 200mm. The main body is a hollow rectangular box with walls 8mm thick. The interior is carved out, leaving the walls and a floor.
The roof consists of two rectangular slabs, each 8mm thick, meeting at a 30-degree angle to form a peak... | roofangle = 30;
thick=8;
holeheight = 110;
width = 100;
depth = 120;
height=200;
roofoverhang=40;
holediameter = 28;
holeradius=holediameter/2;
module birdhouse(width, depth, height, overhang, holesize)
{
house(width, depth, height, overhang);
translate ([ 1.5* width,0,0])
front(width, height, holesize,true);
}
... | glb/cad_2cdfe9cb4d15.glb |
Create a customizable miniature base by constructing a tiered circular platform. Start with a primary cylinder that has a diameter of 20mm, a height of 1.8mm, and a slight outward slant of 95 degrees, using a 30-facet resolution to give it a faceted, low-poly appearance. On top of this first tier, center a second cylin... | base_type = 1;
base_shape = 30;
diameter = 20;
height = 3;
slant = 95;
stretch = 100;
inner_circle_ratio = 40;
red = 136;
green = 118;
blue = 155;
color([red/255, green/255, blue/255])
union(){
scale([stretch/100, 1, 1]){
if (base_type == 1){
cyl1_height = height * (1-inner_circle_ratio/10... | glb/cad_29f081bf9dbf.glb |
Create a Simple Printerbot LC Filament Guide by starting with a solid rectangular block measuring 11mm in width, 15mm in depth, and 8mm in height. Centered within this block, bore a vertical cylindrical hole with a diameter of 2.2mm. The center of this hole should be positioned exactly 5.5mm from the side edge and 6.5m... | difference() {
cube([11,15,8]);
translate([5.5,6.5,0]) {
cylinder(8, 2.2, 2.2);
}
} | glb/cad_31146dc2d8a3.glb |
Create a Belt Drive Wade's Extruder consisting of a main body, an idler, and a bearing brace.
Construct the main body as a block 24mm wide, 59mm high (including a 4mm elevation), and 28mm deep. The base is 70mm long and 7mm thick. Bevel the edges between the base and the block with a 6mm radius. On the base, create a... | include<configuration.scad>
include<jonaskuehling-default.scad>
use <MCAD/nuts_and_bolts.scad>
malcolm_hotend_mount=1;
groovemount=2;
peek_reprapsource_mount=4;
arcol_mount=8;
mendel_parts_v6_mount=16;
grrf_peek_mount=32;
wildseyed_mount=64;
geared_extruder_nozzle=128;
jhead_mount=256;
reprapfaborg_mount=512;
pushfit_... | glb/cad_98d5eea20436.glb |
Create a U-shaped spacer with a height of 2.5mm. Start by forming the outer boundary: combine a cylinder with a radius of 10mm and a rectangular block measuring 10mm by 20mm, positioned so the block extends from the cylinder's center to one edge, creating a semi-circular profile with flat parallel arms. From this shape... | diaM = 20;
diam = 14;
height = 2.5;
difference(){
union(){
cylinder(r=diaM/2, h=height,$fn=100);
translate([0,-(diaM/2),0])
cube([diaM/2,diaM,height]);
}
union(){
cylinder(r=diam/2, h=(height+5), $fn=100);
translate([0,-(diam/2),0])
cube([diaM/2,diam,height+5]);
}
} | glb/cad_6e7b41f21d61.glb |
Create an action camera mount for a paintball gun barrel. Start by forming a solid base composed of two cylinders, each with a radius of 15mm and a height of 20mm, positioned 30mm apart along the x-axis, merged with a central rectangular block measuring 40mm wide, 50mm deep, and 20mm high. From this combined volume, re... | difference(){
union(){
cylinder($fn = 255, r=15, h=20, center = false);
translate([30,0,0])cylinder($fn = 255, r=15, h=20, center = false);
translate([-4,-25,0])cube([40,50,20], center=false);
}
union(){
cylinder($fn = 255, r=11, h=100, center = true);
translate([30,0,0])cylinder($fn = 255, r=10, h=100, cente... | glb/cad_f79fc018f649.glb |
Create a Seeger-like spacer by starting with a thin disc that has an outer diameter of 22mm, an inner diameter of 15mm, and a height of 2.5mm. To create the characteristic C-shape, remove a section of the ring to leave a gap. This is achieved by centering a cylinder with a 15mm diameter and removing a rectangular porti... | diaM = 22;
diam = 15;
height = 2.5;
union(){
difference(){
cylinder(r=diaM/2, h=height,$fn=100);
union(){
cylinder(r=diam/2, h=height+5,$fn=100);
cube([diaM/2,diaM/2,height+5]);
}
}
translate([0,diaM/2-(diaM/2-diam/2)/2,0])
cylinder(r=(diaM/2-diam/2)/2, h=height, $fn=20);
translate([diaM/2-(diaM/2-diam/2)/2... | glb/cad_24c2ea0dda46.glb |
Create a scale mail piece for armor by constructing a rounded, leaf-like plate with a mounting hole. Start with a base shape formed by the intersection of two spheres, each with a radius of 12.25mm, shifted slightly apart and scaled on the Z-axis to 0.15 to create a thin, curved disc. To refine the bottom edge, remove ... | module small_scale() {
difference() {
union() {
translate([0,0,.5]) difference() {
intersection() {
translate([12.25,11.1,0]) scale([1,1,.15]) sphere(r=12.25,$fn=200);
translate([2,11.1,0]) scale([1,1,.15]) sphere(r=12.25,$fn=200);
... | glb/cad_8ee167d1c526.glb |
Create a "star in star" sculpture by generating a complex, twisting geometric form. Start by creating a three-pointed star profile with a radius of 100mm. Extrude this profile vertically to a height of 100mm while applying a 180-degree twist. To create the primary body, generate a series of 200 stacked layers where eac... | slice_num=200;
res=1;
module up() {
rotate ([0,0,180]) circle ($fn=3, r=100);
}
module down() {
rotate ([0,0,0]) circle ($fn=3, r=100);
}
module star() {
up();
down();
}
module stack() {
linear_extrude(height=100, twist=180, slices=20) up();
}
module swirl() {
for (i=[0:slice_num-1]) {
hull() {
scale ([... | glb/cad_c05b2aec6de1.glb |
Create a customizable label for a rectangular object by starting with a solid rectangular block that is 9.8mm wide, 1.8mm thick, and 10mm high. Carve a rectangular hole through the center of this block, leaving a wall thickness of 0.4mm on all sides; this interior void should measure 9mm wide, 1mm thick, and extend sli... | include <write/Write.scad>
text="KA";
width=9;
thick=1;
height=10;
nozzle=0.4;
mult=2;
textH=5;
VOff=0;
font="write/Letters.dxf";
union(){
difference(){
cube([width+2*mult*nozzle,thick+2*mult*nozzle,height]);
translate([mult*nozzle,mult*nozzle,-1])
cube([width,thick,height+2]);
}
translate([width/2+nozzle... | glb/cad_8296521dcdd7.glb |
Create a star-shaped candle holder by constructing a central hollow cylinder with an outer radius of 27.5mm, an inner radius of 25mm, and a total height of 50mm. Surrounding this central core, build a decorative star base composed of 25 stacked layers, each 0.45mm thick. Each layer is a six-pointed star created by rota... | lays=25;
res=.45;
rot=.615;
module check() {
translate ([15,-32,0])
scale ([1,-1,1])
polygon([[3,0],[52,0],[-2,-62.5],[-3,-62],[35,-8],[2,-1]]);
}
module star() {
rotate ([0,0,-4.5])
for (i=[0:5]) {
rotate ([0,0,60*i]) check();
}}
for (i=[0:lays/res-1]){
translate ([0,0,res*i]) scale ([pow(.98,i),pow(.98,i)... | glb/cad_96de5bc78ed7.glb |
Create a faucet handle consisting of a central cylindrical body with a hollow core and six radiating protrusions. Start with a base cylinder 14mm high with a radius of 30mm. Above this, add a second cylindrical section 28mm high with a radius of 16.25mm, starting from a height of 10mm. Create a central vertical hole th... | module main(){
difference(){
union(){
translate([0, 0, 0]) rotate([0, 0, 0]) cylinder(h =10, r = 16.25, $fn = 50);
translate([0, 0, 10]) rotate([0, 0, 0]) cylinder(h =10, r = 8, $fn = 50);
translate([0, 0, 0]) rotate([0, 0, 0]) cylinder(h =14, r = 30, $fn = 50);
for ( i = [0 : 5] ) {
rotate( i * ... | glb/cad_f48ddc9c63e5.glb |
Create a breadboard box with external dimensions of 74.6mm width, 55mm length, and 10mm height. The box should be hollowed out to create a shell with a wall thickness of 2.1mm. In each of the four interior corners, add a support pillar. Each pillar is constructed by combining a cylinder with a diameter of 6mm and a hei... | width=74.6;
length=55;
height=10;
support_board=6;
height_support_board=6.9;
hole_screw=2.1;
text_bottom="Circuit test 1";
font_size=6;
height_text=.5;
thickness=2.1;
module caixa(){
difference(){
union(){
difference(){
cube([width,length,height],center=true);
... | glb/cad_92597a765d75.glb |
Create a Banana Peel model consisting of a central body with three peeling segments. The main body is formed by three stacked conical sections: a bottom section, a middle section, and a top section.
The bottom section is a truncated cone with a base radius of 26.25mm and a top radius of 22.5mm, with a height of 45mm.... | include <../pin_connectors/pins.scad>
tolerance = 0.3;
part = "assembly";
print_part(part);
module print_part(part) {
echo(str("Printing part: ", part));
if (part == "assembly") {
assembly();
} else if (part == "bottom") {
render() rotate([0, 0, 15]) bottom();
} else if (part == "middle") {
m... | glb/cad_fba08e5788ca.glb |
Create a luggage mount block with a total height of 70mm and a thickness of 11mm. The overall footprint is a trapezoidal prism with rounded corners, measuring 50mm wide at the top and 68mm wide at the bottom.
Construct the outer shell with a wall thickness of 4mm. Hollow out the center to create a passage for a mount... | tolerance=1;
mblockThickness=11 + tolerance;
mblockTopWidth=50 + tolerance;
mblockBottomWidth=68 + tolerance;
mblockHeight=70;
shellThickness=4;
mblock=[[mblockHeight/2,-(mblockBottomWidth/2)]
,[-(mblockHeight/2 ),-(mblockTopWidth/2 )]
,[-(mblockHeight/2),mblockTopWidth/2 ]
,[mblockHeight/2,mblockBottomWidth/2... | glb/cad_7c724aa16f7e.glb |
Create a Freeside Atlanta Keychain by constructing a composite base and removing a specific void. Start by combining a scaled-up version of a barcode city skyline mesh and the text "Freeside" positioned at coordinates [0, 2.5, 0.15] and scaled by a factor of 5. Add a rectangular base block measuring 59.2mm by 9mm by 2m... | difference(){
union(){
scale([5,5,5])
difference(){
import_stl("BarcodeCity_fixed.stl", convexity = 30);
translate( [-8, -13.5, -3])
cube(15);
}
translate( [-29.6,0,-2.858])
scale([59.2,9,2])
cube(1);
scale([5,5,5])
translate( [0,2.5,.15])
import_stl("TEXTFreeside_fixed.stl", convexity = 30... | glb/cad_a75362cb4837.glb |
Create a vatten2 holder by constructing a primary rectangular shell with an outer width of 15mm, depth of 60mm, and height of 30mm, featuring wall thicknesses of 1.2mm. Attached to the side of this main body, add a second rectangular shell measuring 40mm wide, 70mm deep, and 20mm high, also with 1.2mm walls.
Carve a ... | wi = 15;
de = 60;
he = 30;
$fn = 100;
dia = 7.8;
edges = 1.2;
module boxwithedges(width, depth, height, edges) {
difference() {
cube([width, depth, height]);
translate([edges,edges,edges])cube([width-edges*2, depth-edges*2, height-edges]);
}
}
module cutout() {
mywi = 3;
myhe = 7;
translate([wi/2 - mywi/2,... | glb/cad_f9900dc56787.glb |
Create a Mendel90 Fan Duct designed for a 50mm centrifugal blower and a v5 hotend. The main body is a conical duct with a height of 9mm. The outer diameter at the base is 57mm, tapering to a medium diameter of 50mm at the top, with a central hollow core that transitions from a 32mm internal diameter at the base to 40mm... | trx=17;
try=35;
h2=45;
h2t=6;
d1=57;
d2=50;
d3=32;
d4=40;
h1=9;
fn=64;
w=55;
belt=10;
xfan=20.5;
yfan=15.5;
e3=0.5;
spacing=30;
dhole1=3.5;
dhole2=3.5;
nut=5.6;
xh1=47;
yh1=7;
xh2=5;
yh2=45;
e1=1.5;
e2=3;
e4=3;
oh=30;
difference(){
union(){
cylinder(d=d1, h=h1, $fn=fn);
translate([-w/2+trx,try+belt]) cub... | glb/cad_64277b2fa239.glb |
Create a Filament Guide by starting with a solid rectangular base measuring 11.25mm in depth, 44.5mm in width, and 10mm in height. From this block, remove two vertical cylindrical holes to serve as guides for PTFE tubing; each hole must have a diameter of 4.75mm and be positioned 7.5mm from the front face, with one cen... | boltSpacing = 23.5;
filamentSpacing = 37;
filamentOffset = 7.5;
wallThickness = 1;
tubeDiameter = 4.75;
width = filamentSpacing + tubeDiameter + wallThickness * 2;
difference() {
union() {
cube([3,width,10]);
cube([filamentOffset + wallThickness + tubeDiameter / 2, tubeDiameter + wallThickness * ... | glb/cad_da759db23a27.glb |
Create a cyclic cam with a thickness of 5mm, centered on the Z-axis. The cam should have 7 lobes based on a maximum profile radius of 20mm and a profile depth of 4mm.
Construct the outer profile using a cosine function where the radius varies sinusoidally as it rotates 360 degrees, creating 7 symmetric peaks and vall... | nt =7;
r=20;
phr =4;
h = 5;
sa = 3;
tw = 0;
sl = 2;
pd = 6;
hole_size = 8;
hole_type = 2;
profile_type = 1;
Cyclic_Cam(profile_type,r,phr,sa,nt,h,tw,sl,hole_type,hole_size,pd);
function cpos_x(i,r,nt,phr) = cos(i)*(r+(cos(nt*i)*phr));
function cpos_y(i,r,nt,phr) = sin(i)*(r+(cos(nt*i)*phr));
function cpos... | glb/cad_f5f5cada54de.glb |
Create a cyclic cam gear with 12 lobes, a maximum profile radius of 20mm, and a profile depth of 4mm. The gear should have a total thickness of 10mm. At the center, add a square shaft hole with a width and length of 8mm.
Depending on the specific cam type, construct the outer profile using one of the following geometr... | nt =12;
r=20;
phr =4;
h = 5;
sa = 3;
tw = 0;
sl = 2;
pd = 6;
rim = 10;
atol = 0.1 ;
hole_size = 8;
hole_type = 2;
profile_type = 7;
color([0,0,1,1])
Cyclic_Cam(6,20,4,1,12,10,0,2,2,8,6,0.1);
color([1,0,0,1])
translate([40,0,0])
Cyclic_Cam(7,20,4,1,12,10,0,2,2,8,6,0.1);
function cpos_x(i,r,nt,phr) = cos(i)... | glb/cad_0df409320e62.glb |
Create a Garmin Zumo 550 GPS fork mount. Start by constructing a hollow cylindrical clamp with an outer radius of 34.5mm and an inner radius of 26mm, and a height of 12mm. Cut a 45-degree gap into the cylinder to allow it to be clamped around a fork.
Attached to the side of this clamp, create a rectangular mounting br... | module forkgpsmount() {
difference()
{
union()
{
cylinder(h=12, r=34.5, $fn=360);
rotate([0, 0, 45]) translate([1.5, 32.5, 0]) cube([8, 16, 12]);
rotate([0, 0, 45]) translate([-9.5, 32.5, 0]) cube([8, 16, 12]);
translate([-52, -6, 0]) cube([18.5, 12, 12]);
translate([-52, 25, 0]) cube([16.5, 8, 12]... | glb/cad_061339318a66.glb |
Create a Garmin Zumo 550 GPS fork mount. Start by creating a main cylindrical ring with an outer radius of 34.5mm and an inner radius of 26mm, with a height of 12mm. To form the clamp opening, remove a section of the ring using a combination of rectangular cuts: one centered block 18.5mm by 12mm by 12mm, and two smalle... | module forkgpsmount() {
difference()
{
union()
{
cylinder(h=12, r=34.5, $fn=360);
rotate([0, 0, 45]) translate([1.5, 32.5, 0]) cube([8, 16, 12]);
rotate([0, 0, 45]) translate([-9.5, 32.5, 0]) cube([8, 16, 12]);
translate([-52, -6, 0]) cube([18.5, 12, 12]);
translate([-52, 25, 0]) cube([16.5, 8, 12]... | glb/cad_6c9a7eecb1bf.glb |
Create a parametric compartment box consisting of a bottom tray and a matching lid. For the bottom tray, create a solid rectangular block with a total height of 21mm. The outer walls should be 0.9mm thick, and the floor should be 1mm thick. Carve out a 2x2 grid of square compartments, each with internal dimensions of 2... | module compartmentBox(columns, rows, columnWidth, rowHeight, boxThickness,
bottomThickness, topThickness, outerWallThickness,
innerWallThickness, topLipThickness, topLipHeight,
topFitTolerance, isBottom) {
if (isBottom)
{
difference() {
... | glb/cad_1d9cc2c25872.glb |
Create a Customizable Pen Clip designed to hold a writing utensil. Start by centering a rectangular block with dimensions 2mm wide, 10mm deep, and 5mm thick. Attach two rectangular arms to the top and bottom of this center block; each arm should be 15mm long, 10mm deep, and 2mm thick, angled away from the center at 2.5... | thickness = 5;
penD = 8;
penrad=(penD+2)/2;
depth = 10;
wlthk = 2;
angle = 2.5;
cube([wlthk,depth,thickness],true);
translate([-wlthk/2,-depth/2,(thickness/2)]){
rotate(a=angle,v=[0,1,0])
cube([15,depth,wlthk],false);
}
translate([-wlthk/2,-depth/2,(-thickness/2)-wlthk]){
rotate(a=-angle,v=[0,1,0])
... | glb/cad_f2fe63707150.glb |
Create a hole cover consisting of a wide circular base and a narrower cylindrical plug. Start by creating a thin circular disc with a diameter of 15mm and a height of 1mm to serve as the base. Centered on this base, add a hollow cylinder with an outer diameter of 10mm and a total height of 5mm. This cylinder should hav... | $fn=80;
hole_diameter = 10;
depth = 5;
wall =1.5;
material_wall=2;
cover_diameter =15;
cover_height = 1;
difference(){
cylinder(d=hole_diameter,h=depth );
cylinder(d=hole_diameter-wall,h=depth+1 );
}
translate([0,0,-cover_height]){
cylinder(d=cover_diameter,h=cover_height );
}
rotate_extrude(c... | glb/cad_1c52b7cc72e4.glb |
Create a flexible coupling pulley with a central bore of 5.2mm running through the entire length of the object. The main body consists of a grooved pulley section with a width of 6.5mm. This section has 20 evenly spaced semi-circular grooves around its perimeter, each with a diameter of 1.5mm. The radius of this groove... | belt_pitch = 2.0;
grooves = 20;
groove_diameter = 1.5;
width = 6.5;
bore = 5.2;
pitch_radius_delta = 0.254;
include_secondary = false;
secondary_grooves = 80;
include_hub_section = true;
grub_screw_holes = 1;
grub_bore_tear_shaped = false;
hub_max_diameter = 16;
hub_width = 4;
grub_bore = 2.6;
ext = 1.0;
... | glb/cad_6b2ce1eb5b31.glb |
Create a filament skein controlled rotation tool by starting with a main disc that is 6mm thick and 30.5mm in diameter. At the center of this disc, create a cylindrical hole with a diameter of 5mm that passes completely through the center. Around this central hole, place four smaller circular holes, each 3mm in diamete... | $fn=60;
difference()
{
translate ([2.8,0,0])rotate([0,90,0])cylinder(5,30.5,30.5);
translate ([2.8,0,0])rotate([0,90,0])cylinder(5,5,5);
translate ([2.7,12,0])rotate([0,90,0])cylinder(6,1.5,1.5);
translate ([2.7,0,12])rotate([0,90,0])cylinder(6,1.5,1.5);
translate ([2.7,0,-12])rotate([0,90,0])cylinder(6,1.5,1.5);... | glb/cad_fdf2407cffb1.glb |
Create an EZstruder spring enhancer consisting of a rectangular base with a cylinder extending vertically from its center. Start by creating a rectangular prism centered on the origin with a width of 7.5mm, a depth of 6mm, and a height of 2mm. Centered on the top face of this base, add a smooth cylinder with a radius o... | $fn=200;
union() {
cube([7.5,6,2], true);
cylinder(r=2,h=8);
} | glb/cad_647e8a41c072.glb |
Create a Brainwave mounting plate for an OpenBeam system. Start with a flat rectangular base 2mm thick. The overall footprint is defined by the outer boundaries of the mounting holes.
Create four primary mounting holes for the Brainwave board: two positioned at x=15.24mm, y=59.8mm and two at x=89.16mm, y=59.8mm. Thes... | h1 = [15.24,59.8];
h2 = [89.16,59.8];
h3 = [15.24,7.54];
h4 = [89.16,7.54];
t=2;
bp = [90,83];
bc = 15/2;
ob1 = [bc,bc];
ob2 = [bc,bp[1]-bc];
ob3 = [bp[0]-bc,bp[1]-bc];
ob4 = [bp[0]-bc,bc];
hw = 5;
megaplate();
module megaplate() {
translate(-h2/2)
difference() {
union() {
hullize(ob1,ob2);
hullize(ob2,ob3);
... | glb/cad_dac53294f6bf.glb |
Create a Cubieboard Tower Case Power Supply Unit Addon. Start by constructing a main body with a height of 27.5mm, a width of 108mm, and a depth of 68mm. The four vertical corners should be rounded with a radius of 10mm.
Hollow out the center of the body to create a shell with a bottom thickness of 2.5mm. Remove a ce... | size_x=108;
size_y=68;
screws_x=115.5;
screws_y=75.5;
edges= [[ 0.5, 0.5],
[ 0.5,-0.5],
[-0.5,-0.5],
[-0.5, 0.5]];
module cutouts(size_z){
translate([0,0,-1]) linear_extrude(height = size_z+2)
polygon(points=[
[-size_x/2+5,size_y/2+5],
[-size_x/2-1,size_y/2+11],
[size_x/2+1,size_y/2+11],
[size_x/2-5,s... | glb/cad_2f8e9f233284.glb |
Create a hot bed leveling assistant indicator bushing and clamp. Start by constructing a central vertical assembly consisting of two stacked cylinders. The bottom cylinder has a radius of 4mm and a height of 10mm, centered vertically at 2mm. Directly above it, place a second cylinder with a radius of 5mm and a height o... | difference() {
union() {
translate(v = [0, 0, 2]) {
cylinder(4,10,10,$fn = 150, center= true);}
translate(v = [0, 0, 6.5]) {
cylinder(5,7.795,7.759,$fn = 150, center= true);}
}
translate(v = [0, 0,4.5]) {
cylinder (h = 14, r=5, center = true, $fn=150);
}
translate(v = [0, 12, 5]) {
cube([20,8,12],ce... | glb/cad_bd8be32bf67e.glb |
Create a hot bed leveling assistant indicator bushing and clamp. Start by creating a base cylinder with a radius of 5mm and a height of 14mm, centered on the origin. Above this base, add a second cylinder with a radius of 4mm and a height of 10mm, positioned so its center is 2mm above the origin. Further add a third cy... | difference() {
union() {
translate(v = [0, 0, 2]) {
cylinder(4,10,10,$fn = 150, center= true);}
translate(v = [0, 0, 6.5]) {
cylinder(5,7.795,7.759,$fn = 150, center= true);}
}
translate(v = [0, 0,4.5]) {
cylinder (h = 14, r=5, center = true, $fn=150);
}
} | glb/cad_51986e5fe7e2.glb |
Create a Hot Bed Leveling Assistant Indicator Bushing and Clamp. Start by creating a main cylinder with a radius of 10mm and a height of 12mm, centered vertically. Remove a smaller concentric cylinder from the center with a radius of 5mm and a height of 14mm. Cut a rectangular slot through the top of the cylinder, 2mm ... | translate(v = [0, 0, 6]){
difference(){
cylinder (h = 12, r=10
, center = true, $fn=150);
cylinder (h = 14, r=5, center = true, $fn=150);
translate(v = [0,4.25, 0]) {
cube([2,14,14],center= true);}
}
}
difference(){
translate(v = [0, 12, 6]) {
cube([8,10,12],center= true);
}
translate(v = [0,11.5, 6]... | glb/cad_1928d28959d2.glb |
Create a 3D logo consisting of a stylized letter H and an arrow. First, construct the letter H as a central block 50mm wide, 50mm high, and 3mm thick. Carve out two vertical channels from the top and bottom edges toward the center, each 16.67mm wide and 3mm deep, leaving two outer vertical pillars and a central horizon... | wh = 50;
wallH = 3;
wallArrow = 3;
part = "both-separated";
indent = "yes";
third = wh/3;
sixth = wh/6;
half = wh/2;
fourth = wh/4;
eighth = wh/8;
printParts();
module printParts() {
if (part == "both-connected" ) {
union() {
H([0, 0, 0]);
arrow([0, 0, wallH/2+wallArrow/2]);
}
... | glb/cad_c2f23c559ad9.glb |
Create a small garden clip for micro-drip hoses. Start by constructing a base rectangular prism measuring 95mm in length, 8mm in width, and 2.5mm in height. Attached to the top of this base, aligned to the side, add a second rectangular prism that is 95mm long, 2.5mm wide, and 8mm high. At one end of the clip, integrat... | module add (){
cube(size=[95,8,2.5]);
translate ([0,3,0]) cube(size=[95,2.5,8]);
translate([0,3,0]) cylinder(h=8,r=14/2);
}
translate([0,3,0]) difference() {
add();
translate([0,3,0]) cylinder(h=8,r=8/2);
translate ([-8,3/2,0]) cube(size=[8,4 ,8]);
translate([0,0,20]) rotate([0,10,0]) cube(size=[100,20,20]... | glb/cad_d1146694bebf.glb |
Create a Stick Bomb Fixture designed to hold tongue depressors. Start with a central rectangular base that is 149.85mm wide, 88.9mm long, and 2.41mm thick. From this base, remove a central square cutout measuring 76.2mm by 76.2mm, rotated 45 degrees relative to the base edges.
Within the remaining material, carve out ... | in=25.4;
L=5.9*in;
D=.7*in;
t=0.060*in;
wbuffer = .25*in;
tbuffer = .095*in;
dy=((L-2*D)/3)/sin(45);
fixture();
module bomb()
{
for (i=[0:dy:dy*3])
translate ([0,i,0])
rotate ([0,0,45])
stick();
for (i=[dy/2:dy:dy*3])
translate ([0,i,0])
rotate ([0,0,-45])
stick()... | glb/cad_7cff0085d607.glb |
Create a wheel spoke adapter for a 28BYJ-48 stepper motor. Start by constructing a thin outer rim with a diameter of 60mm and a height of 4mm, leaving a wall thickness of 1.8mm. At the center, add a cylindrical boss with a diameter of 12mm and a height of 10mm.
Connect the central boss to the outer rim using 5 evenly ... | raggi=5;
wheel_diameter=60;
oring=0;
fudge_factor = 0;
fn=100;
difference(){
union() {
difference () {
cylinder (r=wheel_diameter / 2, h=4, $fn=fn);
translate([0,0,-0.1]) cylinder (r=(wheel_diameter / 2)-1.8, h=4.2, $fn=fn);
}
for(i = [0:raggi]) rotate([0, 0, i * 3... | glb/cad_7d918482dd90.glb |
Create an extruder and cooling fan bracket. Start with a base structure composed of three joined rectangular blocks: one measuring 8x68x10mm, a second measuring 80x14x15mm positioned at x-35, y-61.2, z-0, and a third measuring 30x5x10mm positioned at x-5, y-44, z-0 and rotated 45 degrees on the Z-axis.
From this comb... | difference() {
union() {
cube([8, 68, 10]);
translate([-35,61.2,0]) cube([80, 14, 15]);
translate([5,44,0]) rotate([0,0,45]) cube([30, 5, 10]);
}
union() {
translate([-35,80,4]) rotate([60,0,0]) cube([80, 8, 30]);
translate([-1, 10, 5]) rotate([0,90,0]) cylinder(r=1.6, h=10, $fn=32);
translate([-1,... | glb/cad_4113980400b6.glb |
Create an LED clip for a Makerbot Z Stage by constructing a central block and an angled arm with specific cutouts. Start with a main rectangular block measuring 14mm wide, 20mm deep, and 9.5mm high, centered on the origin. Attach a second rectangular block measuring 14mm wide, 6mm deep, and 16mm high to the first; posi... | $fn=100;
module ledholder() {
union() {
cube([14, 20, 9.5], center=true);
translate([0,-12,7]) {
rotate([45,0,0])
cube([14, 6, 16],center=true);
}
}
}
module holes() {
union() {
translate([0,-12,7])
rotate([-45,0,0])
cylinder(h=16, r=4.9, center=true);
translate([0,2,0])
cube([16,20,5.2],... | glb/cad_8d194679b019.glb |
Create an LED clip for a Makerbot Z Stage by constructing a central block and an angled arm with a hollow channel. Start with a base rectangular prism measuring 14mm wide, 20mm deep, and 9.5mm high, centered on the origin. Attached to this base, add a second rectangular prism measuring 14mm by 6mm by 16mm, positioned w... | $fn=100;
module ledholder() {
union() {
cube([14, 20, 9.5], center=true);
translate([0,-12,7]) {
rotate([45,45,0])
cube([14, 6, 16],center=true);
}
}
}
module holes() {
union() {
translate([0,-12,7])
rotate([-45,45,0])
cylinder(h=16, r=4.9, center=true);
translate([0,2,0])
cube([16,20,5.2... | glb/cad_edaf6ef06b2a.glb |
Create an LED clip for a Makerbot Z Stage by starting with a central rectangular block measuring 14mm wide, 20mm deep, and 9.5mm high, centered on the origin. Attach a second rectangular block to this base, measuring 14mm wide, 6mm deep, and 16mm high, positioned at coordinates [0, -12, 7] and rotated 45 degrees on bot... | $fn=100;
module ledholder() {
union() {
cube([14, 20, 9.5], center=true);
translate([0,-12,7]) {
rotate([45,45,0])
cube([14, 6, 16],center=true);
}
}
}
module holes() {
union() {
translate([0,-12,7])
rotate([-45,45,0])
cylinder(h=16, r=4.9, center=true);
translate([0,2,0])
cube([16,20,5.2... | glb/cad_68df06cbc475.glb |
Create a vertical test tube holder consisting of two horizontal plates connected by vertical walls. The top plate is positioned at a height of 100mm and the bottom plate at 50mm, both with a thickness of 2mm. The overall footprint is determined by a grid of 3 columns and 4 rows of square holes. Each square hole has a s... | TubesX = 3;
TubesY = 4;
TubeHeight = 150;
TubeDiameter = 16;
HoleDiameter = 18;
HolderHeight = 100;
HolderThickness = 2;
SecondTableHeight = 50;
InterTubeSpace = 4;
AlternateEvenRows = "Yes";
DrawSampleTubes = "No";
MakeHalfHoleBottom = "Yes";
DrawHatchOnWalls = "Yes";
MakeSquaredHoles = "Yes";
$fn=50;
bAlt... | glb/cad_0ff8810f26b7.glb |
Create an M3 screw cutter box. Start with a rectangular base block measuring 74.4mm in width, 36mm in depth, and 15mm in height. Hollow out the center of this block to create a cavity that is 78mm wide, 30mm deep, and 11mm high, leaving a wall thickness of 3mm on the sides and bottom.
Within the remaining material of ... | largoTornilloInicial=20;
sobrante=2;
numTornillos = 5;
largo_caja=30;
alto_caja=15;
diametro_tornillo=3;
cabeza_tornillo=6.2;
grosorPared=3;
grosorSoporte=4.4;
largoTornillo=largoTornilloInicial-sobrante;
anchoCaja=cabeza_tornillo*((numTornillos*2)+2);
module caja(){
cube([anchoCaja, largoTornillo*2, alto_caja]);
... | glb/cad_0dc3dd0de4fa.glb |
Create a Sakura Sealing Wand by combining a central handle with a decorative ring and wing-like accents. Start with a central sphere with a radius of 13mm, positioned at the center. Around this sphere, create a thick circular ring with an outer radius of 54mm at the base tapering slightly to 50mm at a height of 8mm. In... | scale([0.35,.35,2]) translate([-190,60,0]) rotate([0,0,50])import_stl("right_wing_130113e.stl");
scale([0.35,.35,2]) translate([190,60,0]) rotate([0,0,310])import_stl("left_wing_130113e.stl");
difference (){
color ("red")translate([0,-65,0]) sphere(13);
translate([-110,-176,-220]) cube(220);
}
difference (){
color ("re... | glb/cad_8048d401006f.glb |
Create a model of three connected hexagonal prisms, each with a radius of 20mm and a height of 6mm. Arrange the hexagons so they are clustered together, with one centered at the origin, one offset to the upper right, and one offset to the lower right.
On the top face of each prism, extrude the letter "C", "S", and "C... | module hexletter (radius,ht,letter,ltrht)
{ union ()
{ cylinder (r=radius,h=ht,$fn=6);
linear_extrude (height=ltrht)
{ text (letter,size=radius,valign="center",halign="center");
}
}
}
radius = 20;
height = 6;
letterheight = 10;
diff=0.5;
xoff = (radius * 1.5)-diff+(sin(30)*diff*0.... | glb/cad_88a6a8e74c61.glb |
Create three identical hexagonal rings, each with a height of 5mm, an outer radius of 20mm, and an inner radius of 15mm. Position the first ring centered at the origin. Place the second ring so its center is offset by 25.49mm along the X-axis and 17.32mm along the Y-axis. Place the third ring so its center is offset by... | module hexring (outer,inner,height)
{ difference ()
{ cylinder (r=outer,h=height,$fn=6);
cylinder (r=inner,h=height,$fn=6);
}
}
outer = 20;
inner = 15;
height = 5;
diff = outer-inner;
xoff = (outer * 1.5)-diff+(sin(30)*diff*0.5);
yoff = (outer * sin(60))-(sin(60)*diff*0.5);
color ("green") hexring... | glb/cad_f0e91f22ee5b.glb |
Create a horizontal test tube holder. Start with a solid rectangular base that is 5mm thick. The base should have a width of 75mm and a total length of 133mm.
On the top surface of this base, create seven cylindrical holes arranged in a single row. Each hole must have a diameter of 17mm and a depth that penetrates th... | Tubes = 7;
TubeHeight = 100;
TubeDiameter = 16;
HoleDiameter = 17;
InterTubeSpace = 1;
HolderThickness = 5;
Angle = 20;
AlternateZ = 1;
Text = "RafaelEstevam.Net";
TextRelief = 0;
TextOffsetX=5;
TextOffsetZ=0;
difference(){
base();
drawTubes(HoleDiameter);
if(TextRelief == 1) drawText();
}
if(TextReli... | glb/cad_cdd164ec0d6d.glb |
Create a Mecanum wheel hub by starting with an octagonal prism that has a radius of 29.5mm and a height of 14mm. Bore a central hole with a radius of 2mm through the entire height of the hub.
Around the perimeter of the hub, integrate eight brackets. Each bracket is based on a rectangular base 27mm wide and 5mm thick.... | include <polygon.scad>;
module mecanum_wheel_bracket_slope(width, depth, height, offset_x=0, offset_y=0)
{
offset_z = height/ 4;
translate([offset_x, offset_y, -offset_z])
rotate(a=120)
cube([width, depth, height]);
}
module mecanum_wheel_bracket(
base_w = 27,
hole_r = 6.45,... | glb/cad_d7ae2f182795.glb |
Create a mecanum wheel roller by generating a solid of revolution with a height of 20.5mm. The outer profile of this revolution is defined by a path starting at (0, 20.5), moving to (9, 17), then to (10.5, 10), and ending at (10.5, 0), with the segment between the first and second points following a bezier curve. This ... | include <bezier.scad>;
module mecanum_wheel_roller(
major_r = 10.5,
minor_r = 7.85,
height = 20.5,
bore_r = 2
)
{
delta_r = major_r - minor_r;
points = [
[0, height],
[delta_r - 1.5, 17],
[delta_r, 10],
[delta_r, 0]
];
difference() {
rotat... | glb/cad_6171427eaaf5.glb |
Create a Parametric Soap Dispenser Platform consisting of a cylindrical holder and an attached drainage base.
Start by creating a main cylindrical holder with an outer radius of 40mm and a height of 40mm. At the top edge of this cylinder, add a rounded toroidal rim with a cross-sectional radius of 5mm. Hollow out the... | $fn=100;
RADIUS = 20;
WALL = 4;
APEX = 3;
SRAD = 36;
ang = asin(1/APEX);
module fill(){
rad1 = RADIUS*2;
rad2 = RADIUS;
polygon([[0,0],[rad1*cos(90-ang),rad1*sin(90-ang)],[rad1+rad2+rad2*cos(90-ang),rad2*sin(90-ang)], [rad1+rad2+rad2*cos(90-ang),0]]);
}
module route(){
cen2 = RADIUS*3;
rad1 = RADIUS*2 - WALL;
... | glb/cad_dd2959875883.glb |
Create a coat hook mount consisting of a wide circular base and a central vertical cylinder. Start by creating a flat circular disc with a radius of 15mm and a height of 2mm. Centered on this disc, add a larger vertical cylinder with a radius of 9.3mm and a height of 17mm. To finish the piece, remove material to create... | module rondhaakje()
{
difference()
{
union()
{
translate([0, 35, 0]) cylinder(h=17, r=9.3);
translate([0, 35, 0]) cylinder(h=2, r=15);
import_stl("../STL/Coat-hook.stl", convexity = 5);
}
translate([25,37.6,7.2]) rotate([0,90,0]) cylinder(h=4, r=4.5, $fn=24);
translate([29,37.6,7.2]) rotate([0,90,0... | glb/cad_ea4d5d14d6b3.glb |
Create a sewing tape spool and holder consisting of two separate parts. First, create a base container by placing a thin cylinder with a radius of 30mm and a height of 4mm. On top of this base, add a central cylinder with a radius of 9mm and a height of 18mm. From this central cylinder, remove a smaller concentric cyli... | color("green")
union() {
translate([0,0,-2]) cylinder(h = 4, r=30, center = false, $fs=.01, $fn=100);
difference() {
cylinder(h = 18, r=9, center = false, $fs=.01, $fn=100);
translate([-2.5,-3,0.1]) cube([5, 12.1, 18]);
translate([0,0,-1]) cylinder(h = 20, r=7.1, center = false, $fs=.01, $fn=100);
}
}
differen... | glb/cad_b67ae71a4c66.glb |
Create a mounting bracket for a RAMPS 1.4 board and Arduino Mega 2560. Start with a base plate measuring 101.6mm in length, 53.3mm in width, and 0.6mm in thickness. The plate's overall shape is defined by the convex hull connecting several cylindrical mounting points.
Place six cylindrical pillars of varying heights. ... | $fn=30;
module arduinomega()
{
width=53.3;
length=101.6;
x1 = 14;
x2 = x1 + 1.3;
x3 = x2 + 50.8;
x4 = x3 + 24.1;
x5 = x1+ 82.5;
y1 = 2.5;
y2 = y1 + 5.1;
y3 = y2 + 27.9;
y4 = y3 + 15.2;
module spacers(d=2, h=6)
{
module spacer()
{
cylinder(d=d, h=h);
}
translate([x1, y4, 0]) spacer();
tran... | glb/cad_02cb0eab9f0d.glb |
Create a wheel stopper cup by starting with a solid cylinder that has a radius of 20mm and a height of 20mm. Carve out a spherical void from the top of the cylinder using a sphere with a radius of 25mm, positioning the center of the sphere 30mm above the base of the cylinder. This will result in a bowl-like indentation... | difference() {
cylinder(20, 20, 30);
translate([0, 0, 30]) {
sphere(r=25);
}
} | glb/cad_206428356fea.glb |
Create a battery holder for three AA batteries. Start by constructing a rectangular base box with outer dimensions of 48mm in width, 61.4mm in length, and 16mm in height. The walls of this box should be 2mm thick. Hollow out the center of the box to create an inner compartment that is 44mm wide, 57.4mm long, and 14mm h... | plateWidth = 26;
plateHeight = 13;
plateThickness = 0.5;
plateBumpLength = 1.7;
plateSpringLengthUncompressed = 9.7;
plateSpringLengthCompressed = 3.0;
batteryLength = 50;
batteryDiameter = 14;
numberOfBatteries = 3;
outerWallThickness = [2.0, 2.0, 2.0];
innerWallThickness = 2.0;
batterySizeFudgeFactor = 1.0;
debu... | glb/cad_6a9f902bea2d.glb |
Create a USB box holder by constructing a main rectangular body with overall dimensions of 105mm in length, 28mm in width, and 74mm in height. The interior must be hollowed out to create a sleeve for a battery pack, leaving walls that are 7mm thick. The internal cavity should be 105mm long, 14mm wide, and 60mm high, wi... | $fn=100;
usbHeight = 108;
usbWidth = 60;
usbThick = 14;
rounding = 2;
holderLength = 105;
thick = 7;
difference () {
cube([holderLength, usbThick+2*thick, usbWidth+2*thick]);
translate([-0.1, thick, thick])
minkowski()
{
cube([1.01*holderLength,usbThick,usbWidth]);
rot... | glb/cad_a8027d56801b.glb |
Create a USB box container by constructing a hollow rectangular shell. The outer dimensions of the main body should be 56mm in width, 83mm in depth, and 118mm in height. The walls of the container should have a uniform thickness of 10mm.
Inside this shell, create a central rectangular cavity that is 16mm wide, 63mm de... | GreyChargerHeight = 108;
GreyChargerThick = 16;
GreyChargerWidth = 63;
GreenChargerHeight = 120;
GreenChargerThick = 36;
GreenChargerWidth = 46;
thickness = 10;
screwHead = 5;
screwBody = 2;
attachedSize = 20;
$fn=100;
module screwAttach() {
rotate(a=-90, v=[0,0,1])
rotate(a=-90, v=[1,0,0])
difference() {... | glb/cad_02ec158128eb.glb |
Create a USB box mounting plate. Start with a main rectangular slab that is 30mm thick, 110mm high, and 90mm wide.
From this slab, remove four specific screw holes. Each hole consists of a wide cylindrical head with a radius of 5mm and a deeper narrow shaft with a radius of 2mm. Position two holes on the left side an... | GreyChargerHeight = 108;
GreyChargerThick = 16;
GreyChargerWidth = 63;
GreenChargerHeight = 120;
GreenChargerThick = 36;
GreenChargerWidth = 46;
thickness = 10;
screwHead = 5;
screwBody = 2;
attachedSize = 20;
$fn=100;
module screwHole() {
rotate(a=-90, v=[0,0,1])
rotate(a=-90, v=[1,0,0]) {
translate(... | glb/cad_67c165449a7d.glb |
Create a Lego Technic Lever 3M. Start by creating a base rectangular block with rounded ends, measuring 23mm in length, 7.45mm in width, and 4mm in height. The ends should be fully semicircular with a radius of 3.725mm.
At the center of this block, remove a vertical cylindrical hole with a radius of 2.5mm. This hole ... | height=4.0;
outer_width=7.45;
outer_length=23;
plus_length=5.0;
plus_width=2.0;
hole_sink=0.8;
module round_piece(width, length, height) {
hull() {
translate([outer_length/2-outer_width/2,0,0])
cylinder(h=height, r=outer_width/2, $fn=50);
translate([-outer_length/2+outer_width/2,0,0]... | glb/cad_5d45a89f6245.glb |
The provided code defines a function that generates a 3D model of a circular tray with a handle and a textured interior.
### Analysis of the Model:
1. **Shape**: The base is a circular disk (tray).
2. **Feature**: It includes a small loop or handle extending from the edge of the circle.
3. **Interior Texture**: The... | union()
{
translate([-37,0,0])
linear_extrude(height=4.5)
difference()
{
circle(center=true,r=8,$fn=48);
circle(center=true,r=6,$fn=48);
translate([36,0,0])
circle(center=true,r=34,$fn=48);
}
intersection()
{
translate([0,0,-5])
cylinder(r=36,h=30,center=-true,$fn=48);
union()
{
linear_extrude(height =4.5)
diff... | glb/cad_386b3fb3ac05.glb |
Create a tripod mount for a small flashlight by constructing a hollow cylindrical sleeve with an inner radius of 13mm and a height of 20mm. Enclose this cylinder within a hull that connects the cylinder's top and bottom faces to a centered, rotated rectangular block measuring 10mm by 5mm by 10mm, oriented at a 45-degre... | $fn=100;
lr=13;
d1=10;
difference(){
hull(){
cylinder(r=lr+1.5,h=d1*2);
rotate([0,0,-45]) translate([0,-20,5]) cube([10,5,d1], center=true);
}
cylinder(r=lr,h=20);
cube([20,20,20]);
}
#rotate([0,0,-45]) translate([0,-25,5]) cube([10,10,d1], center=true); | glb/cad_999658395018.glb |
Create a tripod mount for a small flashlight by starting with a rectangular base that is 37mm wide, 36mm deep, and 1mm thick. Centered on this base, add a second rectangular volume that is 37mm wide, 30mm deep, and 14mm tall, blending the two into a single solid. In the center of this structure, create a conical protru... | hull(){
cube([37,36,1], center=true);
translate([0,0,7.5]) cube([37,30,1], center=true);
}
translate([0,0,10])
difference(){
translate([0,0,-2]) cylinder(r1=10, r2=8,h=7);
cube([10,11,10], center=true);
} | glb/cad_da98d6951e46.glb |
Create a Linear Stage Flexure by starting with a solid rectangular block measuring 40mm by 40mm with a thickness of 5mm. Round the four outer corners of this block with a radius of 2.5mm.
From this block, remove material to create a central rectangular shuttle area measuring 12mm by 15mm. This shuttle is connected to ... | part = 1;
totalX = 40;
totalY = 40;
thickness = 5;
shuttleX = 12;
shuttleY = 15;
slotWidth = 1.5;
l = 8;
minWidth = 0.8;
maxWidth = 1.6;
notchScale = 1.5;
centerSize = 12;
$fn = 100;
print_part();
module print_part() {
linear_extrude(thickness) difference() {
roundedSquare(totalX,totalY, 2.5,center=t... | glb/cad_70ec97b0eebe.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.