Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a pen holder for whiteboard edges. Start with a main rectangular base block measuring 7.25mm wide, 2mm thick, and 20mm high. Position this block so it can be modified to create a clip. To form the clip mechanism, create a rectangular cutout from the base that is 6.25mm wide, 18.5mm long, and 20mm high, leaving a... | ht=20;
difference(){
translate([0,-10.25,0])cube([6.25+2,20.5,ht]);
translate([-0.01,-9.25,-0.01])cube([6.25+1,18.5,ht+.02]);
}
translate([-0.99,-10.25,0])cube([1,3,ht]);
translate([-0.99,7.25,0])cube([1,3,ht]);
translate([-1,-10,0])cube([1,20,1]);
holder();
module holder(){
translate([16.5,0,0])
difference(){
rotate(... | glb/cad_7f39033d5ee1.glb |
Create a Manfrotto Tripod Stopper by constructing a hollowed-out geometric shell. Start with a rounded triangular prism that has a height of 20mm, a radius of 29.8mm at the rounded corners, and an overall scale of 0.35 in the X and Y axes and 0.5 in the Z axis. The outer shape is based on an equilateral triangle with s... | use <MCAD/3d_triangle.scad>;
$fn=50;
h =40;
r=29.8;
flat = 14;
podRadius = 29.5;
vertices = 3dtri_sides2coord(flat, flat, flat);
ir = 3dtri_radiusOfIn_circle (vertices[0],vertices[1],vertices[2]);
ic = 3dtri_centerOfIn_circle (vertices[0],vertices[1],vertices[2],ir);
difference () {
scale([.35, .35, .5])
d... | glb/cad_e86e78e9bc9b.glb |
Create a PSU S-230-12 Cover by starting with a solid rectangular block measuring 98mm in length, 40mm in width, and 42mm in height. Hollow out the center of this block by removing a smaller rectangular volume of 91mm by 37mm by 36mm, positioned 4mm from the front and 3mm from the bottom, to create a shell.
Remove mat... | $fn = 20;
difference(){
difference(){
cube([98, 40, 42]);
translate([4, -1, 3]) cube([91, 37, 36]);
}
cube([1,15,42]);
cube([130,15,1]);
translate([-1,6,28]) rotate([0, 90, 0]) cylinder(h = 8, d = 2.5);
translate([89,0,0]) cube([8, 14, 10]);
translate([95,0,5]) cube([1, 13, ... | glb/cad_97394dfb2607.glb |
Create a fan holder for a PLA DaVinci Pro 1.0. Start with a main rectangular block measuring 48.75mm in width, 2.4mm in height, and 41.75mm in depth.
Within this block, create four circular holes with a diameter of 3mm to accommodate screws. Position the first hole at coordinates (5, 4, 5) and the second at (36.75, 4... | color("green")
difference() {
translate([-8,0,0])
cube([48.75,2.4,41.75]);
translate([5,4,5])
rotate([90,0,0])
cylinder(d=3,h=5,$fn=100);
translate([31.75+5,4,5])
rotate([90,0,0])
cylinder(d=3,h=5,$fn=100);
translate([31.75+5,4,31.75+5])
rotate([90,0,0])
cylinder(d=3,h=5,$fn=100);
}
translate([0,0,14])
difference()... | glb/cad_42d24986fbb9.glb |
Create a fan holder for a 3D printer printhead. The main body is a rectangular block measuring 22mm in width and 22mm in depth, with a height of 3mm.
At the four corners of this block, create four cylindrical mounting posts, each with a radius of 5mm and a height of 3mm. Centered within the block, create a large circ... | wandstaerke = 5*0.48;
pultlaenge = 60;
pulttiefe = 40;
pultvorne = 20;
pulthinten = 30;
schanierhoehe = 20;
schanierradius = 15;
schanierinnen = 10;
schanierversatz = 2;
spalte = 0.65;
winkel = atan((pulthinten-pultvorne)/pulttiefe);
pulttiefe2 = sqrt(pow(pulttiefe+wandstaerke,2)+pow(pulthinten-pultvorne,2));
module... | glb/cad_a307c147f20d.glb |
Create a clamping bracket for a Nema 17 stepper motor. The main body is a C-shaped collar with a central square cavity measuring 34mm by 34mm to house the motor. The bracket walls are 4.5mm thick, with a rear wall thickness of 9.5mm to provide extra room for motor wiring. The overall height of the rear section is 20mm,... | eh=0.24;
ew=0.56;
$fn=24;
module chamfered_cube(size,
d=1,
D=0,
){
function d(i)=(len(D)>i)?D[i]:d;
hull(){
translate([d(0),d(1),0])cube(size-[d(0)+d(3),d(1)+d(4),0]);
translate([0,d(1),d(2)])cube(size-[0,d(1)+d(4),d(2)+d(5)]);
translate([d(0),0,d(2)])cube(size-[d(0)+d(3),0,d(2)+d(5)]);
... | glb/cad_29bcfc349558.glb |
Create a Bebop2 damper by combining a central cylinder and a flattened sphere. Start with a cylinder 16.5mm high with a radius of 4.5mm, using an 18-facet resolution. Center a sphere on this cylinder at a height of 8.5mm, scaled to 16mm in width and depth and 11mm in height, using a 36-facet resolution. To create the i... | difference() {
union(){
cylinder(h=16.5, r=4.5, $fn=18);
translate([0,0,8.5]) resize(newsize=[16,16,11]) sphere(r=16, $fn=36);
}
union(){
translate([0,0,-1]) cylinder(h=3, r=2.5, $fn=18);
translate([0,0,1]) cylinder(h=16.5, r=3, $fn=18);
translate([0,0,14.5]) cylinder(h=3, r=3.5, $fn=18);... | glb/cad_efab73f94625.glb |
Create a Bebop2 damper by constructing a hollow cylinder with a height of 2.5mm and an outer radius of 6mm. The cylinder should have a 36-facet resolution to give it a faceted, polygonal appearance. Remove a concentric inner cylinder with a radius of 4.8mm and a height of 4.5mm, positioned so that it starts 1mm below t... | difference() {
cylinder(h=2.5, r=6, $fn=36);
translate([0,0,-1]) cylinder(h=4.5, r=4.8, $fn=36);
} | glb/cad_c644207c6482.glb |
Create a Bebop2 damper by starting with a composite cylindrical base. Construct a bottom cylinder 10mm high with a radius of 7mm, topped with a second cylinder 6mm high with a radius of 4.3mm, and a third thin disc 1mm high with a radius of 5.3mm positioned at the 10mm height mark. All cylinders should have a 36-facet ... | difference() {
union() {
cylinder(h=10, r=7, $fn=36);
translate([0,0,10]) cylinder(h=6, r=4.3, $fn=36);
translate([0,0,10]) cylinder(h=1, r=5.3, $fn=36);
}
union() {
translate([0,0,16.5]) cube(size=[2,10,5], center=true);;
translate([0,0,16.5]) cube(size=[10,2,5], center=true);;
translat... | glb/cad_8e5890baac51.glb |
Create an Orc head soap pump replacement head. Start by constructing a central spherical shell with an outer radius of 42mm and a wall thickness of 2mm. To form the facial structure, merge this sphere with two additional spheres, each with a radius of 40mm, scaled by 0.5 along the X-axis and positioned symmetrically at... | $fn=100;
dPullo=80;
dPohja=40;
seina=2;
k=sqrt(dPullo*dPullo/4-dPohja*dPohja/4);
module pullomuotti(){
difference(){
sphere(r=dPullo/2);
translate([-dPullo/2,-dPullo/2,-dPullo-k])
cube([dPullo,dPullo,dPullo]);
}
}
difference(){
union(){
translate([k,0,-dPullo/2-k/2])
scale([0... | glb/cad_31a785905f64.glb |
Create a Beetle Game Eyeball replacement part. Start by constructing a base peg that is a cylinder 4mm in diameter and 7mm in length. On top of this peg, place a truncated cone that transitions from a 10mm diameter at the bottom to a 9.5mm diameter at the top over a height of 2mm. Above this cone, add a sphere with a d... | pegD = 4;
pegL = 7;
ballD1 = 10;
ballD2 = 9.5;
ballBaseH = 2;
ballTopD = 10;
ballTopH = 4.5;
ballTopShift = sqrt(ballTopD*ballTopD/4 - ballD2*ballD2/4);
pupilD = 4;
pupilDepth = 1.5;
eyeballTilt = atan((ballD1/2-pegD/2)/pegL);
echo(eyeballTilt);
eyeballLift = (pegD/2)/sin(90-eyeballTilt)-0.35;
$fn = 150;
translate... | glb/cad_18889948f1de.glb |
Create a tangle-free earbud holder consisting of two concentric parts: an inner rotating disc and an outer ring, both with a total height of 18mm.
Construct the inner disc as a cylinder with a diameter of 54mm. On the top surface of this disc, create a raised ridge profile that follows the outer edge. Carve out a cen... | innerD = 54;
height = 18;
gap = 0.4;
cordHoleWidth = 20;
earbudOutline = "budsGeneric.dxf";
middle();
outer_ring();
module middle(){
difference(){
inner_disc();
inner_holes();
}
}
module inner_holes(){
union(){
translate([-2,-25,1])resize([innerD-6,0,0], auto=true)linear_extrude(... | glb/cad_93124900c3cf.glb |
Create a Parametric Decorated Box consisting of a hollow rectangular container and a matching lid. The main box has exterior dimensions of 60mm in length, 50mm in width, and 30mm in height. The walls of the box are 2mm thick.
To create the opening for the lid, carve a slide slot 3mm wide and 2mm deep into the top edg... | height_box =30;
length_box =60;
width_box = 50;
echo(" height box is ", height_box , " mm");
echo(" length box is ", length_box, " mm");
echo(" width box is ", width_box, " mm");
hstart = 35 - height_box;
wb = width_box/2;
rotate([90,0,0])
union()
{
translate([-wb,0,0])
cube(size=[width_box,35-hstart,2]);
t... | glb/cad_c740dcb7668e.glb |
Create a lid for a parametric decorated box. Start by creating a rectangular base that is 45 mm wide, 57 mm long, and 2 mm thick. Centered on top of this base, add a second rectangular block that is 40 mm wide, 4.5 mm thick, and 4 mm high, positioned so that it begins 2.5 mm from the side edge of the base. Ensure the f... | length_box = 60;
width_box = 50;
width = width_box - 5;
length = length_box - 3;
union()
{
cube(size=[width,length,2]);
translate([2.5,0,0])
cube(size =[width -5,4.5,4]);
} | glb/cad_d65e010331b7.glb |
Create a food pellet insert for a fish feeder rotor. Start with a hollow cylinder that has an outer diameter of 105mm, an inner diameter of 71.5mm, and a height of 12mm.
Cut 15 identical food holes through the walls of the cylinder, spaced evenly every 24 degrees. Each hole should be a frustum (a tapered cylinder) ce... | $fn=100;
od = 105.0;
id = 71.5;
height = 12.0;
hole_d_lower = 5;
hole_d_upper = 11;
hole_circle_d = (od+id)/2;
sections = 15;
angle = 360/15;
wall_thick = 3.5;
difference()
{
cylinder(h=height, d=od, center=true);
cylinder(h=height, d=id, center=true);
for(a=[0:angle:359])
{
ro... | glb/cad_f8dc09b4ce31.glb |
Create a Moto G4 Play Car Mount consisting of a curved, symmetrical base plate with integrated mounting holes. The main body is a curved slab with a thickness of 5.2mm. The overall width of the plate is 72.2mm, and its depth is approximately 65mm.
The base features a large central concave cutout on the bottom edge wit... | module profile() {
translate([-1.5, 9.2])
difference() {
circle(d=3, $fn=128);
translate([-2.5, -2.5])
square([5, 2.5]);
}
translate([-2.5, -2.5])
difference() {
circle(d=5, $fn=32);
translate([-2.5, 0])
square([5, 2.5]);
translate(... | glb/cad_84018eb89710.glb |
Create a led module insert for a lamp head. Start by creating a main disc with a radius of 34mm and a height of 3mm, centered on the Z-axis. On the edge of this disc, add a rectangular block that is 15mm wide, 22mm long, and 6mm high, centered vertically and positioned so its inner edge is 1mm from the outer perimeter ... | r_module = 68/2;
h_module = 3;
w_switch = 13;
l_switch = 20;
h_switch = 3;
r_led_mount = 40/2/2;
module luxo_led_module() {
difference() {
union() {
cylinder(r=r_module, h=h_module, center=true);
translate([r_module - w_switch/2 - 1, 0, h_switch/2])
cube([w_switch+2, l_switch+2, h_module + h_swit... | glb/cad_f002b7e8355a.glb |
Create a Decora-style 8-button wall switch plate and a matching set of buttons.
For the wall plate, create a rounded rectangular base measuring 33mm by 66.5mm with a thickness of 8mm. Hollow out the center with a rectangular cavity measuring 30mm by 63.5mm and a depth of 7mm. On the front face, create two vertical co... | $fn = 50;
decora_plate();
buttons(24);
module buttons(offset) {
linear_extrude(5) translate([offset+9,0,0]) for(U=[16, 48], Y=U*[-1,1]/2) translate([0,Y]) circle(d=6);
linear_extrude(1) translate([offset+9,0,0]) for(U=[16, 48], Y=U*[-1,1]/2) translate([0,Y]) circle(d=8);
linear_extrude(5) translate([off... | glb/cad_3c2f995729a7.glb |
Create a wall shelf by forming a base shape and hollowing out the center. Start with a solid body created by the convex hull of two cylinders, each 100mm in diameter and 19mm high, positioned with their centers 0mm apart on the X-axis and aligned on the Y-axis. Connect these cylinders with a rectangular rear wall that ... | length = 0.0;
d1 = 100;
height = 15.0;
wall = 4.0;
indent = 0;
height1 = height+wall;
height2 = height1+7;
d2 = d1-2*wall;
screw1 = 5.0;
screw2 = 8.0;
$fn = 90;
difference() {B1(); W1(); }
module B1() {
hull() {
translate([0.5*d1,0.5*d1,0])
cylinder(h=height1,d=d1);
translate([0.5*... | glb/cad_3b663370a113.glb |
Create a bonnet stay clip consisting of a base, an insert, and a top clamping mechanism. Start with a rectangular base block measuring 15mm wide, 27mm long, and 11mm high. Carve out a central slot from the bottom, leaving walls 4.2mm wide on the sides and a front section 1mm deep. Remove a cylinder with a 1.5mm radius ... | $fn=40;
difference()
{
cube([15,27,11]);
union()
{
translate([-1,4.2,0]) cube([17,11.8,9.8]);
translate([-1,-1,-1]) cube([17,24.7,10.2]);
translate([-1,-1,-1]) cube([17,26.2,8.4]);
rotate([0,90,0]) translate([-7.7,23.7,-1]) cylinder(r=1.5, h=17);
}
}
translate([4.25,10.1,.2]) rotate([90,0,90])
{
translate... | glb/cad_f548008b5b1b.glb |
Create a tail stand for a flashlight by starting with a central solid cylinder 40mm in diameter and 7mm in height. From this central disk, extend three rectangular legs, each measuring 10mm by 7mm and 50mm long. Position these legs radially, spaced 120 degrees apart, and tilt each one slightly upward at a 7-degree angl... | difference()
{
union()
{
difference()
{
rotate ([90,0,0]) translate([0,0,0]) cube([10,7,50], center=false);
rotate ([97,0,0]) translate([-1,9,0]) cube([12,7,50], center=false);
}
difference()
{
rotate ([90,0,120]) translate([0,0,0]) cu... | glb/cad_f767b69e1eac.glb |
Create a Prusa Z nut spacer by designing a thin, cylindrical ring with a height of 7mm. The ring should have an outer diameter of 14mm and an inner diameter of 12.5mm. To transform this ring into a shim, remove a section of the wall to create an opening. Specifically, cut a rectangular slot through the ring's wall that... | module nutshim(onutw,inutw,height,rod) {
ir = inutw/2/sin(60);
or =onutw/2/sin(60);
rodr=(rod + 2)/2;
translate ([0,0,height/2]) difference() {
cylinder (r=or, h=height, $fa=60, center=true);
translate ([0,0,1]) cylinder (r=ir, h=height, $fa=60,center=true);
cylinder(r=rodr,h=height+2,center=true);
translate ([0,o... | glb/cad_a0758891de79.glb |
Create a thumb-wheel combination lock consisting of a base, a clasp, and multiple rotating wheels.
For the base, create a structure that holds the wheels in place. It should feature a series of repeated sections, each with a height of approximately 11.5mm. Each section includes a rectangular housing with a thickness ... | use <write/Write.scad>
part = "Full";
n = 10;
clear = 0.4;
N=3;
base_t = 2;
flag_t = 0.6;
flag_w_exact = 2;
tab_l = 6;
wheel_r = 20/2;
bump_h = 1;
wheel_t = 2;
wheel_nums_out_t = 6;
exact_axle_r = 3/2;
cam_r = 6;
cam_t = 3.5;
wheel_lock_t = 1.5;
wheel_nums_t = 2;
combo_num = 0;
clasp_t = 2.5;
clasp_... | glb/cad_37dfec66f75b.glb |
Create a Wire Clip by starting with a faceted sphere of 25mm radius, using a low resolution of 12 facets. Flatten the bottom of the sphere by slicing it with a horizontal plane at a height of 4mm from the bottom.
Carve a cylindrical hole through the center of the sphere to accommodate a wire with a 3.5mm radius. This ... | caseRadius = 25;
caseQuality = 12;
caseHatFace = 4;
caseBracingEnabled = 1;
caseBracingScrewRadius = 3;
caseBracingScrewCapRadius = 5;
caseBracingScrewHeight = 3;
wireRadius = 3.5;
wireClousereOffset = 1;
wireBracingType = "gap";
module copy_mirror(vec=[0,1,0])
{
children();
mirror(vec) children();
}
... | glb/cad_5bb582577994.glb |
Create a coin container consisting of a main tube and a separate cap. For the main tube, create a cylinder with an outer diameter of 43mm and a total height of 31mm. This tube must have a wall thickness of 1mm and a solid circular base with a thickness of 1mm, leaving an internal cavity with a diameter of 41mm and a de... | part = "both" ;
numberOfCoins = 10;
coinHeight = 3;
coinDiameter = 41;
capHeight = 5;
wallThickness = 1;
$fn = 100;
print_part();
module print_part() {
if (part == "first") {
CreateContainer();
} else if (part == "second") {
CreateCap();
} else if (part == "both") {
CreateContainerAndCap(... | glb/cad_b8c4bc686f01.glb |
Create a US Dollar coin container consisting of a main tube and a separate cap. For the main tube, create a cylinder with an outer diameter of 27.7mm and a total height of 51.5mm. This tube should have a solid base 1mm thick and a hollow interior with a diameter of 25.7mm, leaving a wall thickness of 1mm.
Separately,... | coin = "Dollar" ;
numberOfCoins = 25;
$fn = 100;
capHeight = 5;
wallThickness = 1;
print_part();
module print_part() {
if (coin == "Pennies") {
CreateContainerAndCap(
numberOfCoins = numberOfCoins,
coinHeight = 1.54,
coinDiameter = 19.07,
wallThickness = wall... | glb/cad_e5a9c8af5252.glb |
Create an L-shaped tube coupler by joining two identical square prisms. Each prism must have a cross-section of 18mm by 18mm and a length of 25mm. Position the two prisms so they meet at a 90-degree angle, forming an L-shape with a total outer footprint of 18mm by 36mm.
In each prism, center a circular hole with a dia... | cross_section = 18;
coupler_length = 25;
pipe_diameter = 11.1;
screw_diameter = 2.8;
coupler_type = 2;
$fn=55;
module base_shape() {
translate([0, 0, -0.1])
difference()
{
linear_extrude(height = coupler_length)
square(cross_section);
translate ([cross_section / 2, cross_sec... | glb/cad_0048f3c80749.glb |
Create a hinged triangle-to-square transformation pendant with a total height of 6mm. The model consists of four flat polygonal blocks connected by three circular hinge joints. Each block is 6mm thick, with a spacing of 0.8mm between moving parts to allow for rotation.
The hinge joints are composed of a central pillar... | side = 40;
height = 6;
spacing = 0.8;
ring_width = 1.5;
pillar_radius = 1;
chain_hole = "YES";
chain_hole_width = 2.5;
module line(point1, point2, width = 1, cap_round = true) {
angle = 90 - atan((point2[1] - point1[1]) / (point2[0] - point1[0]));
offset_x = 0.5 * width * cos(angle);
offset_y = 0.5 * width... | glb/cad_3444a5369ae1.glb |
Create a RC Scale Sandboard by starting with a solid rectangular base measuring 170mm in length, 40mm in width, and 4mm in height. Perforate this base with a grid of square holes, each measuring 4mm by 4mm. The holes should be arranged in rows and columns with a consistent 1mm spacing between them and a 1mm margin from... | length = 170;
width = 40;
height = 4;
hole_size = 4;
hole_spacing = 1;
difference() {
cube([length, width, height]);
rows = floor((length-hole_spacing) / (hole_size+hole_spacing));
startlength = (length - hole_spacing - rows*(hole_size+hole_spacing)) / 2 + hole_spacing;
columns = floor((width-h... | glb/cad_25b798471aac.glb |
Create a rounded rectangle with overall dimensions of 20mm in width, 30mm in length, and 10mm in height. The shape should be a rectangular prism where the four vertical edges are rounded with a radius of 5mm. Ensure the top and bottom faces remain flat, while the side profiles are smoothed to create a consistent rounde... | module rounded_edge(r, h) {
translate([r / 2, r / 2, 0])
difference() {
cube([r + 0.01, r + 0.01, h], center = true);
translate([r/2, r/2, 0])
cylinder(r = r, h = h + 1, center = true);
}
}
module rounded_rectangle(x,y,z,roundness) {
intersection() {
semi_rounde... | glb/cad_a7cb50edd16e.glb |
Create a small hive beetle trap consisting of a central reservoir and a series of parallel blades. Start by constructing a rectangular oil trap box with an outer width of 12mm, a depth of 30mm, and a wall thickness of 2mm. The box should be hollowed out to create a reservoir.
Attached to the side of this box, create ... | gap = 3.3;
wt = 2;
blades = 40;
blade_x = 30;
box_x = 12;
box_z = 30;
total_y = blades*(gap+wt)+wt;
rotate([0,0,45]) {
translate([0,-wt,0]) for (i=[0:blades]) {
translate([-blade_x/2,i*(wt+gap),0]) cube([blade_x,wt,wt]);
}
translate([-(box_x-wt*2)/2,0,0]) box();
}
module box() {
difference() {
minkowski() ... | glb/cad_550905529309.glb |
Create a power supply cover with outer dimensions of 102mm width, 52mm height, and 71mm depth, featuring a wall thickness of 1mm. The main body is a hollow rectangular shell. On the front face, center a rectangular cutout measuring 28mm by 20mm for a power plug, flanked by two 2mm diameter circular screw holes position... | use <function_helpers.scad>;
include <object_helpers.scad>;
$fa = 5;
w_cap=100;
h_cap=50;
d_cap=70;
wst_cap=1;
plug_x=77;
plug_y=39;
xt60_x=7;
xt60_y=16;
x_cap=w_cap+2*wst_cap;
y_cap=h_cap+2*wst_cap;
z_cap=d_cap+1*wst_cap;
screws_in=4;
cutouts_cap=[
["rect", "bottom", [plug_x,plug_y], wst_cap, [28,20], true],
... | glb/cad_887f6c94fd36.glb |
Create a Kokeshi doll model by combining a hollowed body and a stylized head. Start with the body: create a cylinder 30mm in diameter and 30mm tall. Hollow this cylinder by removing a concentric inner cylinder with a 20mm diameter, starting 5mm from the base. At the top of this body, add a hemispherical cap with a 15mm... | body_height = 45;
body_diameter = 30;
body_width = 5;
head_diameter = 30;
hair_diameter = 38;
hair_length = 15;
$fn = 64;
render_body = true;
render_head = true;
render_hair = true;
head_center = body_height + head_diameter / 4;
if (render_body)
{
difference()
{
union()
{
cylinder(h = body_he... | glb/cad_d633f7b71a3a.glb |
Create a hair comb with a total thickness of 2mm. Start by constructing the handle: create a shape using a hull operation between a cylinder with a radius of 12.5mm and a smaller cylinder with a radius of 6mm positioned 67.5mm away along the x-axis. Center a circular hole with a radius of 3mm through the base of this h... | $fn=20;
use <write/Write.scad>
lm = 80;
lc = 80;
rmy = 12.5;
rme = 6;
esp = 2;
ag = 3;
ad = 3;
pd = 1;
sep = 2;
texto = "Victoria";
refuerzo = 1;
module mango(lm,rmy,rme,esp,ag){
difference(){
hull(){
cylinder(h=esp,r=rmy);
translate ([lm-rmy-rme,rmy-rme,0]) cylinder(h=esp,r=rme);
}
translate([0,0,-... | glb/cad_ba14ae1bfad2.glb |
Create a 608 Bearing Chicago Screw Bushing by constructing a hollow cylinder. Start with a solid outer cylinder that has a diameter of 7.94mm and a height of 6.85mm. Remove a concentric cylindrical core from the center with a diameter of 4.60mm and the same height of 6.85mm to create a thick-walled tube. | $fn = 64;
difference() {
cylinder(d = 7.94, h = 6.85);
cylinder(d = 4.60, h = 6.85);
} | glb/cad_47096be20784.glb |
Create a Chicago Screw Bushing by starting with a solid cylinder 7.94mm in diameter and 6.85mm in height. Bore a concentric hole through the center of the cylinder with a diameter of 4.60mm. To complete the part, remove two rectangular slots from the body: one centered at the base and one centered at the top face. Each... | $fn = 64;
difference() {
cylinder(d = 7.94, h = 6.85);
cylinder(d = 4.60, h = 6.85);
translate([0, 0, 0])
rotate([45, 0, 0])
cube([9.94, 3.25, 3.25], center = true);
translate([0, 0, 6.85])
rotate([45, 0, 0])
cube([9.94, 3.25, 3.25], center = true);
} | glb/cad_b8fa7ed35af8.glb |
Create an Air Quality Node Box with an outer footprint of 68mm width, 115mm length, and 43mm height. The main body is a hollowed rectangular shell with rounded corners of 20mm radius and a wall thickness of 4mm. The interior is carved out to a height of 20mm, leaving a base floor.
Inside the box, add eight mounting po... | $fn = 50;
$width=20;
$length=32;
$boxw=68;
$boxl=115;
$boxh=43;
$boxhtop=$boxh-23;
$boxr=20;
$wall=4;
$dx=($boxw-$length*2)/2;
$dy=3;
module fix(x,y,z){
translate([x,y,0])
difference(){
cylinder(d=4.5,h=z);
translate([0,0,-0.125])
cylinder(d=2.9,h=z+0.5);
}
};
module sensor_add(){
differ... | glb/cad_8e4acc051688.glb |
Create an Arduino MySensors Air Quality Node Box consisting of a main outer shell and a base plate with mounting supports.
Construct the main shell as a hollow rectangular container with rounded corners. The outer dimensions are 68mm wide, 115mm long, and 43mm high. The walls are 4mm thick. The bottom of the shell is... | $fn = 50;
$width=56.5+5;
$length=101+5;
$boxw=68;
$boxl=115;
$boxh=43;
$boxhtop=$boxh-23;
$boxr=20;
$wall=4;
$dx=($boxw-$width)/2;
$dy=($boxl-$length)/2;
module fix(x,y,z){
translate([x,y,0])
difference(){
cylinder(d=4.5,h=z);
translate([0,0,-0.125])
cylinder(d=2.9,h=z+0.5);
}
};
module sens... | glb/cad_97be9b92f243.glb |
Create a rectangular base plate for an Arduino MySensors Air Quality Node Box with dimensions 20mm wide, 32mm long, and 2mm thick.
At the four corners of the plate, add four cylindrical mounting posts. Each post must have an outer diameter of 5mm and a height of 8.25mm. Bore a hole through the center of each post wit... | $fn = 50;
$width=20;
$length=32;
module fix(x,y){
translate([x,y,0])
difference(){
cylinder(d=5,h=8.25);
translate([0,0,-0.125])
cylinder(d=2.9,h=8.5);
}
}
difference(){
union(){
cube([$width,$length,2]);
fix(2.5,2.5);
fix($width-2.5,$length-2.5);
fix(2.5,$l... | glb/cad_def4df5e08a9.glb |
Create an Etalon IT calibration tool consisting of a series of eight adjacent rectangular prisms, each with a height of 3mm and a width of 5mm. Arrange these prisms in a row along the x-axis, starting from the origin. The length of each prism along the y-axis must increase according to the following sequence: 0mm, 3mm,... | IT = [0, 3, 6, 10, 18, 30, 50, 80, 120];
largeur = 5;
hauteur = 3;
for (i = [0:7])
{
translate([largeur*i, 0, 0]) cube([largeur, IT[i+1], hauteur]);
} | glb/cad_08127fba7888.glb |
Create a T-2020 frame profile by starting with a central rectangular block measuring 20mm by 20mm. Run a longitudinal hole with a 2.5mm radius through the center of the block. On four sides of the block, create grooves by removing material to form a channel. Each groove is centered on the face and consists of a central... | profileLength = 1000;
printZHeight = 230;
printTolerance = 0.25;
spaceBetweenProfiles = 5;
$fa=0.5;
$fs=0.5;
if(profileLength <= printZHeight) {
translate([10,10,profileLength/2]) profile(profileLength);
} else {
numOfProfiles = ceil(profileLength/(printZHeight-8));
numOfRow = ceil(sqrt(numOfProfiles));
currentPr... | glb/cad_79aaac741189.glb |
Create a Mendel Orca 04x fan holder. Start by creating a square plate with a total outer dimension of 60mm by 60mm and a thickness of 5mm.
In the center of this plate, create a square cutout to leave a border. The inner cutout should be 50mm by 50mm, leaving a 5mm wide wall on all sides.
At each of the four corners... | fan_mount(size=60,thick=5);
module fan_mount()
{
if(size == 25)
{
_fan_mount(
fan_size = 25,
fan_mounting_pitch = 20,
fan_m_hole_dia = 3,
holder_thickness = thick
);
}
if(size == 30)
{
_fan_mount(
fan_size = 30,
fan_mounting_pitch = 24,
fan_m_hole_dia = 3,
holder_thickness = thick
);... | glb/cad_ce311352ec78.glb |
Create a Customizable Testframe by constructing a thin, rectangular hollow frame. Start with a solid rectangular plate measuring 200mm by 200mm with a height of 0.2mm. From the center of this plate, remove a smaller rectangular section measuring 198mm by 198mm, leaving a consistent wall thickness of 1mm around the enti... | x_width = 200;
y_width = 200;
frame_width = 1;
frame_height = 0.2;
linear_extrude(frame_height)
difference() {
square([x_width, y_width], center=true);
square([x_width - 2 * frame_width, y_width - 2 * frame_width], center=true);
} | glb/cad_301f1f16c2ae.glb |
Create a support for an electric towel rail by constructing two stacked cylindrical components. First, create a solid base cylinder with a diameter of 29mm and a height of 2mm. Centered on top of this base, add a second, shallower cylinder with a height of 2mm and an outer diameter of 25.5mm. This upper cylinder must b... | height = 2;
coindiameter = 29;
prof = 2;
difference() {
cylinder(h=prof, r=25.50/2, $fn=50);
cylinder(h=prof, r=23.5/2, $fn=50);
}
translate([0,0,-2])
cylinder(h=height, r=coindiameter/2, $fn=50); | glb/cad_199c7061c66f.glb |
Create a wall support for an electric towel rail. Start by creating a main cylinder with a diameter of 29mm and a height of 15mm. Drill a central vertical hole through the entire height of the cylinder with a diameter of 9mm. To accommodate a screw head, remove material from the top of the cylinder by creating a wider ... | height = 15;
coindiameter = 29;
prof = 4.5;
broca=9;
difference() {
cylinder(h=height, r=coindiameter/2, $fn=50);
cylinder(h=height, r=broca/2, $fn=50);
translate([0,20,0])rotate([60,0,0])
cylinder(h=height-prof, r=25/2, $fn=50);
translate([0,-20,0])rotate([-60,0,0])
cylinder(h=height-prof, r=25/2, $fn=50);
t... | glb/cad_ef91e4dba8ee.glb |
Create a T-slot Cubicle Hook with a uniform thickness of 10mm. Start with a horizontal stem that is 20mm wide and 10mm thick. At one end of this stem, extend a T-shaped crossbar that is 14mm wide and 10mm thick, centered on the stem. From the opposite end of the stem, extend a vertical shaft 20mm long and 10mm wide.
... | height = 10;
module hook(){
difference(){
union(){
scale([8,height,height])
cube(1);
translate([-7,-3,0])
scale([7,height+6,height])
cube(1);
translate([8,height-20,0])
scale([8,20,height])
cube(1);
difference(){
translate([23,height-20,0])
cylinder(r=15, h=height, $fn=100);
translate([... | glb/cad_46b7e21ca0f2.glb |
Create a bottle rocket launcher consisting of a main rectangular block and a base plate. The main block is a cube measuring 27mm x 27mm x 40mm. Attached to the bottom is a flat foot plate measuring 27mm wide by 40.5mm deep and 2mm thick, centered on the x-axis.
On the side of the main block, centered at a height of 10... | external_x=27;
external_y=27;
external_z=40;
$fn=50;
if(1){
difference() {
union() {
translate([-external_x/2, -external_y/2, 0]) cube([external_x, external_y, external_z]);
difference() {
translate([-(external_x/2)+1, 0, 10]) rotate([0, -90, 0]) cylinder(11, 4, 4);
translate([-(external_x/2)-8, 0, 10]) ... | glb/cad_e9646484be8e.glb |
Create a Spindle Spool Hub holder consisting of a central cylindrical hub and a supporting base. Start by creating a main cylinder with a diameter of 52mm and a height of 15mm. At the bottom of this cylinder, add a circular flank disc with a diameter of 59mm and a thickness of 3mm.
Apply a chamfer to the main hub, ta... | use <Triangles.scad>
hub_diameter = 52;
hub_length = 15;
axis_diameter = 12;
flank_diameter = hub_diameter + 7;
flank_thickness= 3;
slit=1;
axis_slit=0.5;
champ=3;
center_diam=axis_diameter*2.2;
$fn=64;
module hub() {
union() {
intersection() {
cylinder(h=flank_thickness, d=flank_diam... | glb/cad_ef9958406dd1.glb |
Create a shaft mount by starting with a rectangular base block measuring 14mm in length, 42mm in width, and 6mm in height. Centered on this base, extend a vertical rectangular body upwards with a width of 20mm and a height of 37.5mm.
Through the center of this vertical body, create a horizontal cylindrical hole with ... | ER=12 + 1;
h=23;
E=21;
W=42;
L=14;
F=37.5;
G=6;
P=20;
B=32;
S=5.5;
d_clamp=4 + 1;
d_mount=5 + 1;
s=1.5;
difference () {
cube([L,W,G]);
translate([L/2,(W-P)/4,0]) cylinder(h=100,d=d_mount,$fn=75);
translate([L/2,W-((W-P)/4),0]) cylinder(h=100,d=d_mount,$fn=75);
}
difference() {
translate([0,W/2-P/2,0]) cube([L,P,F])... | glb/cad_47b4912f11f8.glb |
Create an SK12 shaft mount by starting with a base rectangular block 14mm long, 42mm wide, and 23mm high. Attach a vertical rectangular wall to the side of this base, measuring 14mm long, 20mm wide, and 37.5mm high. At the top of the base, center a horizontal cylinder with a diameter of 42mm and a length of 14mm.
Rem... | ER=12 + 0.5;
h=23;
E=21;
W=42;
L=14;
F=37.5;
G=6;
P=20;
B=32;
S=5.5;
d_clamp=4 + 1;
d_mount=5 + 1;
s=1.5;
rotate([0,-90,0]) difference() {
union() {
translate([0,W/2-P/2,0]) cube([L,P,F]);
cube([L,W,h]);
translate([0,W/2,h]) rotate([0,90,0]) cylinder(h=L,d=W,$fn=250);
}
translate([-1,W/2,h]) rotate([0,90,0]) cylinder(... | glb/cad_9cb8d9fd1e9f.glb |
Create a Tronxy Y-spanner belt tensioner consisting of two identical sliding arms and a fixed endplate.
Each sliding arm is a rectangular block 50mm long, 8mm wide, and 7.5mm thick. Position two of these arms parallel to each other with a 10mm gap between them. At the far end of the arms, create a vertical endplate w... | $fn=50;
doorgangH = 7.5;
doorgangB = 8;
tussenH = 12;
tussenB = 10;
lengte = 50;
hoogteGat = 20;
gatLager = 5;
moerLager = 9.5;
gatVerbinding = 4;
moerVerbinding = 7;
marge = 0.5;
hoogteLager = doorgangH + tussenH / 2 + hoogteGat;
diameterHouder = (hoogt... | glb/cad_19ae8d6138e6.glb |
Create a webcam mount consisting of a rectangular base and an upright support arm. Start with a rectangular base plate measuring 30mm wide, 20mm deep, and 6mm thick. In this base, create two vertical holes with a diameter of 3mm, spaced 10mm apart along the depth, centered at 65mm and 15mm respectively along the Y-axis... | $fn=30;
difference(){
translate([40,0,0]) cube([30,20,6]);
translate([65,5,0]) cylinder(h=6, d=3);
translate([65,15,0]) cylinder(h=6, d=3);
}
translate([40,0,0]) rotate([0,-45,0]) cube([6,20,60]);
difference(){
translate([-2.4,0,42.3]) cube([6,20,22]);
translate([-2,20,64]) rotate([90,90,0]) cylinde... | glb/cad_370b2240c573.glb |
Create a Prusa i2 X-Carriage with Lateral Fan by constructing a central base plate and adding supporting components. Start with a base plate 80mm long and 50mm wide. At the center, create a vertical cylindrical hole with a 42mm diameter to accommodate the hotend.
Position two LM8UU bearing holders symmetrically on eit... | include <configuration.scad>
include <lm8uu-holder-slim.scad>
belt_clamp_thickness=2;
belt_clamp_width=m3_diameter+3*belt_clamp_thickness+2;
for (i=[-1,1])
translate([0,i*(belt_clamp_width+1),0])
belt_clamp();
belt_clamp_channel();
simonkuehling_x_carriage();
base_length = 80;
rod_dist = 50;
module simonkuehling... | glb/cad_530eade14922.glb |
Create an ANET A8 Belt Pulley Insert. Start by creating a central cylinder with a diameter of 10.5mm and a height of 6.5mm. Around the outer surface of this cylinder, add 22 GT2-profile teeth.
On the top and bottom faces of the central cylinder, add belt retainers. These retainers should be circular rings with an out... | $fn = 100*1;
pulley_t_ht = 6.5;
retainers = 1;
retainers_ht = 1.5;
notch_depth = 1;
add_support = 1;
teeth = 22;
profile = 12;
motor_shaft = 10.5;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
retainer = 1*retainers;
retainer_ht = 1*retainers_ht;
idler = 1*retainers;
idler_ht = 1... | glb/cad_33976aef160d.glb |
Create a Bottle Name Tag by constructing a tapered hollow ring. Start with a conical shell that has a height of 26mm and a wall thickness of 2mm. The inner radius at the base should be 17.5mm, tapering up to an inner radius of 13mm at the top.
To create the opening for the tag, remove a vertical section of the wall t... | use <WriteScad/Write.scad>
create_name_tag(
name = "John Doe",
font = "WriteScad/Letters.dxf",
text_size = 9,
text_thickness = 1.5,
text_offset_y = 0,
height = 26,
radius_bottom = 17.5,
radius_top = 13,
thickness = 2
);
module create_name_tag(
name,
font,
text_size,
text_thickness,
text_o... | glb/cad_87ce777bd357.glb |
Create a customizable oil drum for toy trains. Start by creating a main cylinder with a diameter of 15mm and a height of 23mm. Add four decorative rings around the exterior of the cylinder: one at the very bottom (0.5mm from the base), one at the top (0.5mm from the peak), and two evenly spaced in the middle at heights... | TextOnBarrel="OIL";
TextLocation="Middle";
module ring(dout=32,height=2) {
rotate_extrude(convexity = 10, $fn = 50)
translate([dout/2+0.1, 0, 0])
circle(r = height/2-0.3, $fn = 50);
}
module barrel(hi=35,di=30) {
cylinder(h=hi,d=di,$fn=50);
translate([0,0,0.5]) {
ring(dout=di-1);
}
translate([0,0,hi/3]) {
... | glb/cad_1ea3b23805a2.glb |
Create a motor end bracket with a total height of 40mm. Start with a central bracket structure and add two diagonal fins positioned at x = -30mm and x = 30mm. Each fin is a 5mm wide, 30mm deep block that spans the full height of the bracket, but is clipped by a 45-degree angled cutout on the front face.
Incorporate a ... | include <configuration.scad>
use <bracket.scad>
h = motor_end_height;
m = 29;
module motor_end() {
translate([0, 0, h/2])
difference() {
union() {
bracket(h);
for (x = [-30, 30]) {
translate([x, 29.5, 0]) intersection() {
cube([5, 30, h], center=true);
rotate([45, ... | glb/cad_55507c441436.glb |
Create an endstop bracket for a delta printer. Start with a solid rectangular block that is 24mm high, 12mm wide, and 25mm deep.
At the bottom of the block, integrate a base section that is 8mm high, 12mm wide, and 12mm deep. Within this base, center a cylindrical cutout with a radius of 12mm.
On the top face of the... | use <bracket.scad>;
h = 24;
b = 8;
module microswitch() {
union() {
translate([0, -3.5, 2.5]) cube([6.3, 19.66, 10.55], center=true);
translate([0, 0, 8]) cube([3.5, 2, 3], center=true);
}
}
x = -45 * cos(30);
y = 50 - 45 * sin(30);
a = 0;
% translate([30+x, y, 4]) rotate([0, 180, -a]) microswitch();
m... | glb/cad_80022fe56aa3.glb |
Create a 3D model of a printer carriage. Start with a central rectangular body that is 76mm wide, 16.3mm deep, and has a height defined by the carriage height.
At the top and bottom of the body, create flat surfacing areas by removing material in a 99mm by 99mm by 20mm cube centered on the object.
Integrate two mag... | include <configuration.scad>
use <Magnets_V0.1.scad>
use <gt2belt.scad>
H = carriage_height;
W = smooth_rod_distance;
d = 16.3;
th = 3;
offset = lateral_offset;
module screws() {
translate([ 15 , 0, 0]) rotate([0, 90, 0]) cylinder(r=1.65, h=30 , center=true, $fn=2*q);
translate([ -1.15, 0, 0]) rot... | glb/cad_46df5473baf8.glb |
Create a circular effector platform for a delta printer with a total width of 60mm and a height of 6mm. The main body is a cylinder with a radius of 38mm and a height of 15mm, centered on the Z-axis. Cut a large circular hole through the center of the platform.
Position three identical arm attachment assemblies spaced... | platform_hinge_offset = 24;
entre_barres = 60;
width = 60;
height = 6;
$fa = 0.5;
offset = 15;
tilt = 30;
tv = 1.55;
middle = 2*offset - width/2;
module trous_aimants(reinforced) {
rotate ([tilt, 0, 0]) translate([entre_barres/2, 0, 0]) cylinder(r=2, h=80, center=true, $fn=24);
rotate ([tilt, 0, 0]) translate([... | glb/cad_bfef7beed535.glb |
Create a Nema 17 stepper motor bracket with a total outer width of 48.2mm and a depth of 20mm. The main body is a cube of 48.2mm x 20mm x 48.2mm.
Inside this body, carve out a central cavity to fit a Nema 17 motor. This cavity should be 42.2mm wide and 42.2mm deep, with a depth of 33.8mm. The cavity must feature a ci... | bracket_wall_width = 3;
bracket_depth = 20;
bracket_flaps = 20;
bracket_bolts_diameter = 4;
bevel_inner_corners = "yes";
module NemaForCSG(nema_side, nema_depth, nema_bolts, nema_crown, nema_bolt_radious)
{
r1 = nema_side/2- nema_bolts/2;
r2 = sqrt(2)* r1 ;
r=(r2-r1)*2;
difference()
{
union()
{
cube([... | glb/cad_54d7e97580d5.glb |
Create an 8020 Drop In Twist Lock Nut consisting of a flat base and a cylindrical top. Start by creating the base locking nut: a rectangular slab 19mm long, 9.5mm wide, and 3mm thick. The top two corners of this slab must be rounded with a radius of 4mm, while the bottom two corners are nearly square with a very small ... | overlap = 0.001;
smallRadius = 0.1;
ChannelWidth = 10;
ChannelTolerance = 0.5;
NutCornerRadius = 4;
NutLength = 19;
NutWidth = ChannelWidth - ChannelTolerance;
NutThickness = 3;
NutStemRadius = 3;
NutStemLength = 3;
ChannelStemLength = 9.5;
ChannelStemWidth = 9.5;
ChannelStemThickness = 6.5;
module nut(length, wid... | glb/cad_f0454c0042ea.glb |
Create a custom nameplate by starting with a rectangular base that is 70mm long, 20mm wide, and 4mm thick. On the top surface of this base, add the text "Name Here" using a bold, sans-serif font like Impact. The text should be extruded to a height of 5mm and positioned so that it starts 5mm from the left edge and 5mm f... | $fn=127;
union(){
linear_extrude(height=5)translate([5,5])text("Name Here",font="Impact:style=Regular");
cube([70,20,4]);
} | glb/cad_97d754248ad5.glb |
Create an earring display stand consisting of a base, a vertical support, and two earring holders. Start by creating a square base 30mm wide and 10mm high with rounded corners using a 2mm radius. Cut a rectangular hole through the center of this base that is 3mm wide and 3mm thick to accommodate the support pillar.
Fr... | earThick = 2;
earRadius = 10;
earHoleRadius = 3;
earSupportArcRadius = 12;
earSupportThick = 3;
earSupportWidth = 3;
earSupportHeightOffset = 10;
standHeight = 100;
baseWidth = 30;
baseHeight = 10;
baseRadius = 2;
tol = .25;
inCutRad = earSupportArcRadius - (earSupportWidth);
module ear() {
difference(){
... | glb/cad_dc507d2caa3e.glb |
Create a shopping cart token consisting of a coin-shaped base and an attached handle. Start by creating a cylinder with a diameter of 23.2mm and a height of 2.3mm to represent the coin.
Attached to this cylinder, create a rounded rectangular handle. The handle's main body is formed by two cylinders with a radius of 1... | $fn = 200;
coin_Diameter = 23.2;
coin_Height = 2.3;
text_Text = "Schaffenburg";
text_Size = 5.1;
text_ImprintDepth = 0.6;
text_Style = "Arial:style=Bold Italic";
text_Spacing = 1;
text_Alignment = "center";
keyhole_Diameter = 14.5;
module NAME()
{
translate([coin_Diameter / 2 / 11.6 * 12.5,0,coin_Height - text_... | glb/cad_15efaeee63c8.glb |
Create a No-Solicitor Sign consisting of a rounded rectangular base and a raised border. Start by creating a solid rounded box with a width of 150mm, a height of 50mm, and a thickness of 10mm, using a corner radius of 10mm.
On top of this base, add a raised border by creating a second rounded box with the same 10mm c... | $fn=30;
translate([75.0,25.0,2.5]) roundedBox(150.0,50.0,10.0, 10.0);
difference () {
translate([75.0,25.0,9.5]) roundedBox(150.0,50.0,5.0, 10.0);
translate([75.0,25.0,9.5]) roundedBox(140.0,40.0,10.0, 10.0);
}
translate([10.0, 15.3144329897, 7.5])
scale([48.2505107131, 198.2505107131, 9.0])
l... | glb/cad_b416d38f6284.glb |
Create a handheld game console case for a Raspberry Pi 2 and a 3.5-inch SPI screen. The main body is a rounded rectangular box with outer dimensions of 137.5mm width, 84mm height, and 31.2mm depth. The walls are 1.5mm thick.
The top surface features a large central rectangular cutout for the screen. Position two circu... | rpi_total_w=97.5;
rpi_total_h=58.4;
rpi_mh_y1=3.5;
rpi_mh_y2=rpi_mh_y1+49;
rpi_mh_x1=3.5;
rpi_mh_x2=rpi_mh_x1+58;
rpi_bottom_ext=3;
rpi_d=1.3;
screen_mh_z=18.6;
screen_mh_x=rpi_mh_x1+91;
screen_x=9.7;
screen_y=3;
screen_w=75;
screen_h=50;
screen_c_x=screen_x+screen_w/2;
rpi_top_ext=24.2;
at_total_w=27;
at_total_h=15;... | glb/cad_b721894e8fc1.glb |
Create a project enclosure consisting of a main box and a matching lid. The main box should have outer dimensions of 100mm width, 200mm depth, and 50mm height, with a wall thickness of 2mm. All vertical corners must be rounded with a radius of 5mm. The interior of the box is hollowed out, leaving the 2mm walls intact, ... | x_width=100;
y_width=200;
height=50;
thickness=2;
radius=5;
do_box=1;
do_lid=1;
lid_thickness=5;
screw_pilot=1.125*1;
screw_hole=2.5*1;
screw_countersink=0*1;
lid_height=min(height/4,lid_thickness);
corner_radius=min(radius,x_width/2,y_width/2);
xadj=x_width-(corner_radius*2);
yadj=y_width-(corner_radius*2);... | glb/cad_1c750c4d3e2d.glb |
Create a ride height gauge for RC cars consisting of a series of adjacent rectangular steps. Construct 13 sequential steps, starting from a height of 14mm and increasing by 1mm for each subsequent step until reaching a final height of 26mm. Each step must have a uniform width of 10mm and a depth of 10mm.
For every ste... | use <write.scad>
startHeight=14;
endHeight=26;
stepLength=10;
guageWidth=10;
radius=0.5;
text="WWW.TORCHRACING.CO.UK";
fn=50;
font="Letters.dxf";
difference(){
for(currentHeight=[startHeight:endHeight])
{
x=currentHeight-startHeight;
render(){
difference(){
translate([... | glb/cad_2d4dc3478b25.glb |
Create a Multicolor Key Snake articulated keychain. The model consists of a head, three identical body segments, and a tail, all with a diameter of 10mm and a flat bottom surface (flattened by 0.5mm).
For the head, create a scaled sphere (2.5x width, 1.5x height, 1.5x depth) with two small spheres for eyes on top. Add... | parts=3;
draw_part="All";
partnumber=3;
$fn=18;
diameter=10;
spacing=0.2;
extra=0;
flat=diameter/20;
length=diameter+extra;
dspacing=spacing*2;
ring=((diameter-dspacing)/3)/2;
dd=((diameter)/2)-ring;
echo("Diameter = ",diameter,"mm");
echo("partlength = ",length,"mm");
echo("ring radius = ",ring,"mm");
echo("toru... | glb/cad_3fd846a43830.glb |
Create a Rocket Bottle Fin Bracket consisting of a curved C-shaped clip and two extending tabs. Start by creating a cylindrical ring with an outer radius of 15.5mm, an inner radius of 12.5mm, and a height of 3mm. Cut away a 60-degree section of this ring to leave a C-shaped open channel.
Attached to the ends of this ... | radius=12.5;
thickness=3;
width=3;
difference() {
cylinder(width, (radius+thickness), (radius+thickness));
translate([0,0,-1]) cylinder(width+2, radius, radius);
translate([-(radius+thickness+1), -(radius+thickness+1), -1]) cube([(radius+thickness+1), (radius+thickness+1)*2, width+2]);
rotate(60) translate([-(rad... | glb/cad_be94b56a1290.glb |
Create a parametric light knob by starting with a rectangular block that is 46mm wide, 15mm high, and 15mm deep, centered on the origin. From the center of the back face of this block, remove a rectangular prong section that is 2mm wide, 6mm high, and 12mm deep. To create the snapping mechanism within this removed pron... | pw = 2;
ph = 6;
pd = 12;
dd = 6.5;
bw = 46;
bh = 15;
module knob(shape) {
if (shape == 1) {
cube([bw, bh, bh], center=true);
}
if (shape == 2) {
rotate([0,90,0]) cylinder(r=bh/2, h=bw, center=true);
}
if (shape == 3) {
sphere(r=bh/2);
}
}
module prong() {
translate([0,0,0-(bh-pd)/2]) {
difference() {
cube(size=... | glb/cad_1ba335a7bf60.glb |
Create a Razor Blade Bin Box consisting of a main container and a separate lid.
Construct the main container as a rectangular box with overall dimensions of 36mm in length, 30mm in width, and 53mm in height, with a wall thickness of 5mm. Hollow out the center to create a storage cavity of 26mm by 20mm by 43mm. On the... | $lgLame = 20;
$hLame = 43;
$lgBin = $lgLame + 16;
$hBin = $hLame + 10;
$pBin = 20;
$epaisseur = 5;
$lgOuverture = $lgBin + $epaisseur - 6;
$pOuverture = 15;
$lgLid = $lgBin;
$hLid = 12;
$pLid = $pBin;
difference() {
union() {
cube([$lgBin+$epaisseur*2,$pBin+$epaisseur*2,$hBin+$epaisseur*2],center=true);... | glb/cad_933ea3eac8fd.glb |
Create a Chilly Bin storage container and matching lid. The main bin is a rectangular box with outer dimensions of 56mm width, 66mm length, and 56mm height. All exterior vertical edges and the top rim must be rounded with a 3mm fillet radius. The bin is hollowed out to create a cavity with a wall thickness of 10mm, lea... | bw = 50;
bh = 50;
bl = 60;
ww = 10;
fr = 3;
lp = 0.2;
lx = ww/2;
lww = 3;
xw = 0.35;
module box() {
difference(){
minkowski(){
cube([bw,bl,bh], center = true);
sphere(r=fr);
}
}
}
translate([-bw*0.5-fr*2,0,0]){
difference(){
difference(){
box();
translate([0,0,ww/2]) cube([bw-ww+xw,bl-ww+xw,bh... | glb/cad_8e3e7cf64249.glb |
Create an Arc Reactor MK1 Stand. Start by constructing a truncated pyramid base with a height of 18.2 mm. The bottom square face should be 138 mm wide, tapering to a top square face of 130 mm wide. Hollow out the center of this pyramid, leaving a wall thickness of 1.2 mm.
On the top surface, create a square groove 124... | contentWidth = 124;
glassThickness = 4;
glassMargin = 3;
baseDiff = 5;
wallThickness = 1.2;
innerHeight = 17;
supportWallThickness = 1.2;
switchExternalWidth = 20;
switchExternalHeight = 12;
switchInternalWidth = 14.5;
switchInternalHeight = 9;
switchInternalDepth = 20;
switchWallThickness = 1.6;
switchBottomMargin = ... | glb/cad_22e89e1dfa40.glb |
Create a lamp housing for an E27 bulb. Start by creating a central hollow cylinder with an inner radius of 14.15mm and a height of 20mm. Around this, place a larger outer cylinder with a radius of 48mm and a height of 60mm.
To form the main body, add a sphere centered at a height of 77.578mm. This sphere should be sc... | module example001()
A = 1;
MA1 = 6 ;
difference() {
translate([0, 0, 5]) cylinder(h=7, r=18);
translate([0, 0, -1]) cylinder(h=20, r=14.15);
}
difference() {
translate([0, 0, 77.578]) scale([0.8, 0.8, 1]) sphere(r=75);
translate([0, 0, -1]) cylinder(h=20, r=14.15);
translate([0, 0, 115]) cylinder(h=20, r=35);
trans... | glb/cad_1e0759983c34.glb |
Create a ZeroTech Dobby motor arm replacement part with a total height of 6mm. Start by forming a main body that combines a cylinder with a radius of 9.25mm and a rectangular extension measuring 26mm in length and 11mm in width. From this base, remove a central cylindrical core with a radius of 8mm and a height of 9mm,... | $fa=1;$fs=0.1;
height = 6;
length = 26;
module pod_frame() {
difference() {
union() {
cylinder(height,9.25,9.25);
translate([0,-9.25,0]) cube([length,11,height]);
rotate([0,0,50]) translate([ 0.1,-10.5,0]) cube([8.5,10,height]);
}
translate([0,0,1]) cyli... | glb/cad_1fbaf1cbef58.glb |
Create a parametric pipe end cap designed for a 50mm pipe. Start by constructing a base flange as a cylinder with a diameter of 60mm and a height of 3mm. Atop this base, add a main cylindrical body with a diameter of 50mm and a total height of 30mm. The top of this main body should be rounded with a hemispherical cap o... | module end_cap_50mm_pipe()
difference()
{
height = 27;
base_diameter = 60;
base_thickness = 3;
pipe_diameter = 50;
wallthickness = 3;
union()
{
cylinder(height+base_thickness, pipe_diameter/2, pipe_diameter/2);
cylinder(base_thickness,base_diameter/2,base_diameter/2);
... | glb/cad_30797c62fff7.glb |
Create a parametric reel to pipe fastener based on a central axis diameter of 50.8mm. Start by constructing a hollow cylindrical collar with an outer diameter of 60.8mm and a height of 14mm, featuring a wall thickness of 5mm. Extend a rectangular support arm from one side of the collar; this arm should be 42.8mm long a... | module reelFastener(AxelDiameter)
difference()
{
WallThickness = 5;
AxelHolderHeight = 14;
LockingCylinderDiameter = 11.5 - 0.8;
LockingCylinderHeight = 40;
LockingCylinderOffset = 42.80;
CrossBeamDiameter = 5;
FlatteningIndentation = 0.8;
$fn = 40;
OuterDiameter = AxelDiameter+... | glb/cad_68b1acd77104.glb |
Create a parametric reel handle consisting of a main pipe holder and an attached handle grip. Start by creating a vertical cylindrical holder with an outer diameter of 60.8mm and a height of 18mm. This holder must have a central vertical hole with a diameter of 50.8mm to accommodate a pipe.
To form the handle attachm... | module reelFastener(AxelDiameter, HandleHolderDiameter, HandleHolderLengthRadius, AxelHolderHeight, GlueHole)
difference()
{
WallThickness = 5;
CoveringWallThickness = 3;
CrossBeamDiameter = 5;
FlatteningIndentation = 0.8;
$fn = 40;
OuterDiameter = AxelDiameter+2*WallThickness;
union()
... | glb/cad_fb3d29cb1aeb.glb |
Create two identical solid cylindrical fillers for the Cyberman pipes. Each filler should be a cylinder with a diameter of 3mm and a length of 17.85mm. To ensure they fit the specific pipe geometry, remove a rectangular section from each cylinder using a cutout that is 3mm wide, 19.85mm long, and 3mm high, positioned t... | $fn = 64;
%import( file = "cyPipes_020SM.stl" );
module filler( diameter = 3, length = 17.85 ) {
difference() {
rotate( [ 90, 0, 0 ] ) {
cylinder( length, diameter/2, diameter/2 );
}
translate( [ 0-diameter/2, 0-(length+1), -4.0 ] ) {
cube( [ diameter, length+2, diameter ], center = false );
}
}
}
t... | glb/cad_a663ac7f7cad.glb |
Create a professional drag chain cable link with a width of 40mm and a height of 18mm.
Start by constructing the main body as a rectangular frame. The side walls are defined by a width of 40mm and a height of 18mm, with a base plate thickness of approximately 2.67mm (WBR1/15).
Integrate a series of interlocking "sn... | module example001()
A = 1;
WBR1 = 40 ;
H1 = 18 ;
translate([0, 0, 0]) cube([WBR1/3, WBR1, WBR1/15]);
difference() {
translate([-H1/2, WBR1/20, H1/2]) rotate([90, 0, 0]) cylinder(h=WBR1/20, r=H1/2);
translate([-H1/2, WBR1/20+1, H1/2]) rotate([90, 0, 0]) cylinder(h=100, r=H1/4+0.3);
translate([-H1, 0, H1/4,]) rot... | glb/cad_17c9b14a972b.glb |
Create a professional drag chain cable mount consisting of a base plate and supporting brackets. The overall width of the assembly is 40mm and the height is 18mm.
Start by creating a rectangular base plate with a width of 13.33mm (WBR1/3), a depth of 40mm, and a thickness of 2.67mm (WBR1/15). At the center of the bas... | module example001()
A = 1;
WBR1 = 40 ;
H1 = 18 ;
B1 = 5 ;
difference() {
translate([WBR1+WBR1/6, 0, 0]) rotate([0, 0, 0]) cylinder(h=WBR1/15, r=B1);
translate([WBR1+WBR1/6, 0, -1]) rotate([0, 0, 0]) cylinder(h=H1+2, r=B1/2+0.2);
}
difference() {
translate([WBR1+WBR1/6, WBR1, 0]) rotate([0, 0, 0]) cylinder(h=WBR... | glb/cad_eaa451fba002.glb |
Create a Bedside Gadgets Holder consisting of two identical organizer units positioned side-by-side with a 3mm gap between them. Each unit is built from a solid rectangular block measuring 89mm in total depth, 28mm in width, and 83mm in height, with walls that are 3mm thick.
To form the slots, carve out a primary rec... | clip_width = 22;
phone_slot_width = 80;
phone_slot_height = 80;
phone_slot_thickness = 20;
clip_thickness = 3;
tablet_slot_thickness = 20;
number_of_phone_slots = 2;
bed_caddy( clip_width,
phone_slot_width,
phone_slot_height,
phone_slot_thickness,
clip_thickness,
... | glb/cad_95f2b042d5dc.glb |
Create a Tooth-paste Tube Key consisting of a handle and a sliding barrel. Start by constructing the handle as a flat rectangular plate 35mm wide and 15mm high, with a thickness of 8mm. Center a circular hole with a diameter of 8mm through the handle.
Attached to the handle, create a cylindrical barrel with a diamete... | barrel_diameter = 9.0;
barrel_flats = 8.0;
slot_width = 2.5;
slot_length = 50.0;
key_width = 35.0;
key_height = 15.0;
hole_diameter = 8;
overlap = 1;
$fn = 50;
translate([0, 0, barrel_flats/2])
rotate(-90, [0, 0, 1]) rotate(-90, [1, 0, 0])
tube_key(barrel_diameter, barrel_flats, slot_width, slot_length, key_width,... | glb/cad_f194b7d1c068.glb |
Create a Solidoodle Springloader, a mechanical bracket designed to hold a teflon block. Start with a base rectangular plate measuring 34mm in length, 12.65mm in width, and 3mm in thickness.
At the front of the plate, integrate a semi-cylindrical pivot with a diameter of 10mm and a width of 12.15mm. This pivot section... | slop=0.5;
block_width=12.65;
m3nut_thick=2.47;
m3nut_flat=5.44;
pl_width=block_width;
pl_length=34;
pl_thick=3;
pl_pivot_width=block_width-slop;
pl_pivot_dia=10;
pl_holes=3;
pl_support_height=pl_pivot_dia;
pl_support_width=pl_pivot_dia;
module m3nut(flat, thick) {
intersection_for ( i = [0,60,120]) {
rotat... | glb/cad_4ef4bdf28c53.glb |
Create a gear part for a puzzle bug consisting of a tiered cylindrical body with an eccentric pivot. Start by creating a lower cylinder with a radius of 3.42mm and a height of 7.62mm, using 32 facets. Remove a rectangular channel from the bottom of this cylinder measuring 7mm wide, 2mm deep, and 1.5mm high, centered al... | module lower_body()
{
difference()
{
cylinder(h = 7.62, r = 3.42, $fn = 32);
translate([-3.5, -1, -0.1])
cube([7, 2.0, 1.5]);
}
}
module upper_body()
{
union() {
translate([0, 0, 7.62])
union() {
cylinder(h = 2.0, r = 4.62, $fn = 48... | glb/cad_266eb3ec59da.glb |
Create a universal printer vibration dampener designed to hold a 41mm diameter ball. Start by creating a main cylindrical body with a radius of 22mm and a height of 23.5mm. Hollow out the center of this cylinder by removing a sphere with a radius of 20.5mm, positioned 22.5mm above the base. To further reduce material, ... | module leg() {
difference() {
linear_extrude(height = 2) {
polygon(points=[[-22,0],[-3,-31],[3,-31],[22,0]]);
}
translate([0, -26, -0.5])
cylinder(h = 3, r1 = 1.5, r2 = 3, $fn = 48);
}
}
module plate() {
union() {
leg();
rotate(120,0,0)
... | glb/cad_c61cffecfc54.glb |
Create a personalized beer coaster by constructing a shallow cylindrical base with a diameter of 60mm and a height of 3mm. Carve a concentric cylindrical hole into the top of this base, starting 2mm from the bottom, with a diameter of 40mm and a depth of 1mm, creating a thin recessed ring around the perimeter. On the t... | use <write.scad>;
color ("red")
translate (v=[25,58,0])
difference () {
translate (v=[50,50,0])
cylinder (3,60,58);
translate (v=[50,50,2])
color ("green")
cylinder (2,40,40);
}
color ("blue")
translate (v=[73,106,3])
writecircle("Joris & Lisa",h=10,t=4,[0,0,0],50); | glb/cad_5648158c738c.glb |
Create a Rock Wall Hand Hold by constructing a convex hull around four spheres, each with a radius of 49.9mm. Position the first sphere at the origin, and place the remaining three spheres at coordinates [30, 30, 0], rotated around the Z-axis at 100, 240, and 300 degrees respectively. From this organic mass, remove a c... | l=50;
d=9;
B=24;
h=5;
$fn=100;
module bolt_hole(){
union(){
translate([0,0,l-0.1])
cylinder(h=h, r=B/2);
cylinder(h=l, r=d/2);
}
}
difference(){
hull(){
sphere(r=l+h-.1);
translate([30,30,0])
sphere(r=l-h);
rotate([0,0,300])translate([30,30,0])
sphere(r=l-h);
rotate([0,0,... | glb/cad_373b4cc6be9b.glb |
Create a wireframe honeycomb structure based on a repeating pattern of truncated octahedrons. First, define a single truncated octahedron cell by creating a solid truncated octahedron and hollowing it out by subtracting a slightly smaller version of itself from the center, leaving a wall thickness of 0.175mm relative t... | module truncocta() {
octapoints = [[+1, 0, 0],
[-1, 0, 0],
[0, +1, 0],
[0, -1, 0],
[0, 0, +1],
[0, 0, -1]];
octafaces = [[4,2,0],[4,0,3],[4,3,1],[4,1,2],[5,0,2],[5,3,0],[5,1,3], [5,2,1]];
rotate([0,0,0]){
intersection() {
scale(v=3) {
polyhedron(points=octapoints,triangl... | glb/cad_4d2887bb6c36.glb |
Create a honeycomb space-filling structure composed of repeating octahedrons. Each individual octahedron is defined by six vertices: four on a central plane forming a square, and two vertices positioned symmetrically above and below the center along the Z-axis. The distance from the center to each vertex is 0.175mm.
C... | xw = 0.35;
density = 0.1;
sf = (xw/2) / density;
module octa(d = xw/2, s = 1) {
p = s + d;
octapoints = [[-p,-p, 0],
[+p,+p, 0],
[+p,-p, 0],
[-p,+p, 0],
[0, 0, +p*sqrt(2)],
[0, 0, -p*sqrt(2)]];
octafaces = [[4,2,0],[4,0,3],[4,3,1],[4,1,2],[5,0,2],[5,3,0],[5,1,3], [5,2,1]];
rotat... | glb/cad_73f9690fd2c1.glb |
Create a Honeycomb space-filling structure based on a truncated octahedron. Start by creating a hollow truncated octahedron shell with an outer scale of 45mm and a wall thickness of 10mm.
From this shell, remove material using a series of intersecting prisms and cylinders to create the open wireframe effect. First, s... | module truncocta() {
octapoints = [[+3, 0, 0],
[-3, 0, 0],
[0, +3, 0],
[0, -3, 0],
[0, 0, +3],
[0, 0, -3]];
octafaces = [[4,2,0],[4,0,3],[4,3,1],[4,1,2],[5,0,2],[5,3,0],[5,1,3], [5,2,1]];
intersection() {
polyhedron(points=octapoints/4,face... | glb/cad_e08ba7b17be7.glb |
Create a MeArm v1.0 Piece 7 replacement part by starting with a central rectangular block measuring 52.41mm in length, 3.0mm in width, and 18.75mm in height, centered on all axes.
From this main body, remove two identical oval-shaped voids. Position the first oval at x=17.42mm, y=0, and z=9.375mm, and the second at x... | difference()
{
cube([52.41,3.0,18.75],center=true);
translate([17.42,0,9.375])
scale([4,10,2])
sphere(d=3,$fn=20);
translate([-17.42,0,9.375])
scale([4,10,2])
sphere(d=3,$fn=20);
translate([24.83,0,0])
cube([2.75,20,7], center=true);
translate([22.08,0,0])
... | glb/cad_e4750e1e6470.glb |
Create an Optical Extension Coupler by starting with a vertical cylinder 10.5mm in diameter and 17.5mm in height, using a 32-facet resolution. Bore a central vertical hole through the entire length with a diameter of 2.6mm. Remove material to create two rectangular slots that cut through the cylinder walls to the cente... | fiber_height=2.25;
fiber_diameter=2.5 + 0.1;
connector_height=6.5 + 0.1;
connector_width=6.0 + 0.1;
connector_length=7.25;
case_diameter = 10.5;
difference(){
cylinder(d=case_diameter,h=(fiber_height+connector_height)*2,$fn=32);
cylinder(d=fiber_diameter,h=2*(fiber_height+connector_height),$fn=32);
translate([0,0... | glb/cad_4dc8ef593dd8.glb |
Create an Optical Extension Coupler by constructing a thin-walled hollow cylinder. The outer diameter of the cylinder should be 13mm and the total height should be 60mm. Create a concentric circular hole through the center of the cylinder with a diameter of 12mm and a height of 60mm, resulting in a wall thickness of 0.... | difference(){
cylinder(d=13,h=60,$fn=128);
cylinder(d=12,h=60,$fn=128);
} | glb/cad_647e08e02309.glb |
Create a customizable lamp shade in the shape of a conical frustum with a height of 130mm. The outer shell should taper from a top diameter of 100mm to a bottom diameter of 130mm. The walls must have a uniform thickness of 1mm.
Hollow out the center of the shape to create the inner cavity, maintaining the 1mm wall thi... | height = 130;
diameter_top = 100;
diameter_bottom = 130;
hole_diameter = 40;
thickness = 1;
subdivs = 300;
base_thickness = (thickness <= 2) ? thickness * 2 : thickness;
vent_space = (diameter_top - hole_diameter)/2 - thickness;
vent_offset = hole_diameter/2 + vent_space/2 + thickness/2;
vent_circumference_space... | glb/cad_3fe047bf5e89.glb |
Create a DIN Rail Stand by extruding a specific 2D polygon profile to a height of 30mm. The profile is defined by the following vertices in sequence: [0,0], [94,0], [94,10], [15.8,70], [15.8,80], [10,80], [10,105], and [0,105]. To create the inner cutout of the stand, remove a second internal polygon defined by the ver... | module contour_regular() {
polygon(points=[
[0,0],[94,0],[94,10],[15.8,70],[15.8,80],[10,80],[10,105],[0,105],
[10,10],[80,10],[10,63]
], paths=[
[0,1,2,3,4,5,6,7],
[8,9,10]
]);
}
difference()
{
translate([0,0,15])
linear_extrude(height = 30, center = true, convexity = 10)
contour_r... | glb/cad_1241f295f457.glb |
Create a DIN Rail Stand by extruding a specific 2D polygon profile to a height of 30mm, centered vertically. The profile is defined by the following vertices in sequence: [0,0], [100,0], [100,10], [22,70], [22,80], [10,80], [10,105], [0,105], and then returning through [10,10] and [82,10] to close the shape. From this ... | module contour_deep() {
polygon(points=[
[0,0],[100,0],[100,10],[22,70],[22,80],[10,80],[10,105],[0,105],
[10,10],[82,10],[10,66]
], paths=[
[0,1,2,3,4,5,6,7],
[8,9,10]
]);
}
difference()
{
translate([0,0,15])
linear_extrude(height = 30, center = true, convexity = 10)
contour_deep()... | glb/cad_69a1ac42e90e.glb |
Create a Prusa I3 Anycubic Inductive Sensor Mount. The main body is a vertical rectangular housing with a total height of 79mm and a width of 58mm. The walls are 1.5mm thick.
At the top, create a rectangular enclosure with an internal cavity to hold the inductive sensor. The sensor mounting area is defined by a centra... | $fs = 0.1;
$fa = 3;
thn0 = 2.0;
thn1 = 5.0;
over = 0.15;
r = 6.0 + over;
ind_d = 12.6;
ind_r = ind_d/2;
led_d = 3.2 + over;
led_r = led_d/2;
s_screw_d = 5.0 + over;
s_screw_r = s_screw_d/2;
s_i1_d0 = 6.5;
s_i1_d1 = 8.5;
s_i1_h = 2.0;
s_i2_d ... | glb/cad_72dc55293d28.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.