Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Laundry Refill Funnel consisting of a wide conical base and a threaded cylindrical neck. Start by creating a hollow cone with a base radius of 30mm and a top radius of 14mm, with a height of 60mm. The walls of this cone should be 2mm thick. At the bottom of the cone, add a flat circular lip with a radius of 30... | include<threads.scad>;
$fn=96;
detergent_cap_outer_diameter = 38;
detergent_cap_inner_diameter = 36;
detergent_cap_thickness = 2;
detergent_cap_height = 17;
detergent_cap_depth = 15;
detergent_funnel_diameter = 60;
detergent_funnel_height = 60;
detergent_funnel_lip_height = 5;
detergent_cap_thread_pitch = 3;
union()... | glb/cad_4ecca8958dde.glb |
Create a marble ball caster by starting with a central base plate 3mm thick. The main body is a rectangular block 21.5mm wide and 8mm thick, centered on the origin. At the center of this block, carve out a spherical void with a diameter of 16.5mm, positioned so the center of the sphere is 8.25mm above the base.
To al... | ballDiameter = 16.5;
holeSize = 3;
wallThickness = 2.5;
gapWidth = 5;
baseThickness = 3;
baseHeight = ballDiameter+wallThickness*2;
baseWidth = wallThickness*4+ballDiameter;
module mainShape(){
translate([-baseWidth/2, -wallThickness-holeSize/2]) cube([baseWidth, wallThickness*2+holeSize, baseThickness]);
translat... | glb/cad_d07a548e5266.glb |
Create a parametric cup with a total height of 75mm and a top diameter of 120mm. The main body is a hollowed-out hemispherical shell with a wall thickness of 1mm, scaled vertically to reach the specified height.
At the base of the cup, integrate a circular stand. The stand is a thick-walled ring with a bottom diamete... | cup_height = 75;
cup_width = 1;
cup_sides = 64;
cup_top_diameter = 120;
this_far_from_equator = 4;
cup_real_height = cup_height + this_far_from_equator;
inner_stand_diameter = 20;
stand_top_diameter = 40;
stand_bottom_diameter = 50;
stand_height = 10;
cup_top_radius = cup_top_diameter / 2;
inner_stand_radius = inne... | glb/cad_678d2b783d93.glb |
Create a parametric cup with a handle. The main body is a hollowed-out hemispherical bowl with a total height of 75mm and a top diameter of 120mm. The walls are extremely thin, with a thickness of 1mm.
The base of the cup is supported by a stand that transitions from a bottom diameter of 50mm to a top diameter of 40mm... | cup_height = 75;
cup_width = 1;
cup_sides = 64;
cup_top_diameter = 120;
ear = true;
ear_width = 8;
ear_thickness = 4;
ear_size = 15;
ear_distance_from_rim = 20;
ear_smoothness = 32;
ear_top_radians = 220;
ear_bottom_radians = 40;
this_far_from_equator = 4;
cup_real_height = cup_height + this_far_from_equator;
inner... | glb/cad_8ced9be479cc.glb |
Create a collection of simple geometric primitives. Place a sphere with a radius of 10mm at the origin. Position a cube with side lengths of 10mm, centered on its own axes, at coordinates (20, 0, 0). Create a smooth cylinder with a radius of 10mm and a height of 40mm, positioned at (0, 40, 10). Add a second cylinder wi... | translate([40, 40, 0]){
assign($fn=8){
color([1,0.6,0]) {
cylinder(r1=10, r2=10, h=10, center=false);
}
}
}
color([1,0.8,0]) {
sphere(r=10);
}
translate([20, 0, 0]){
cube([10, 10, 10], center=true);
}
translate([60, 60, 0]){
color([0.2,0.4,1]) {
cylinder(r1=10, r2=0, h=10, center=false);
}... | glb/cad_015511aff58d.glb |
Create a crown gear with 10 teeth, a modulus of 1, and a face width of 50mm. The gear should be constructed as a cylinder with a radius of 6.5mm (D=13) from which the involute tooth profile is subtracted. The teeth must be generated using a profile angle of 20 degrees and a profile shift of 0. Ensure the tooth roots ar... | iterations = 5;
gear(z=10,h=50,center=false);
module Gear(m = 1, z = 10, x = 0, h = 4, w = 20, D = 13, clearance = -.1, center = true)
{
difference()
{
cylinder(r = D/2, h = h, center = center);
gear(m, z, x, h+1, w, center = center, clearance = clearance);
}
}
module Gear_herringbone(m = 1, z = 10, x = ... | glb/cad_f03e9255fc66.glb |
Create a crown gear system consisting of a small cylindrical gear and a larger crown gear.
First, create the small gear as a spur gear with 5 teeth, a modulus of 1mm, and a profile angle of 20 degrees. Position this gear so its axis is perpendicular to the crown gear.
Next, create the crown gear blank as a cylinder ... | axis_angle=90;
x_offset=05;
teeth1=05;
m1=1;
teeth2=10;
rad2=20;
m = 2;
x = .0;
w = 20;
clearance
= -.2;
iterations = 10;
use <gears.scad>
gear1();
crowngear();
module crown_blank()
{
difference()
{
translate([0,0,-100-teeth1*m/4])cylinder(h=100,r=rad2,$fn=teeth2);
}
}
module gear1()
{
translate([x_o... | glb/cad_3f64bdd1dbfa.glb |
Create a shower head holder consisting of two main cylindrical components and a small connecting block. First, create a vertical conical sleeve with a height of 30mm; the outer diameter should taper from 28mm at the base to 32mm at the top, while the inner hollow space tapers from 20mm at the base to 24mm at the top. S... | rack_diameter = 10;
rack_height = 20;
head_upper_diameter = 24;
head_lower_diameter = 20;
holder_height = 30;
module shower_rack_holder(){
difference(){
cylinder (r=4+(rack_diameter / 2), h=rack_height, $fn=72);
cylinder (r=rack_diameter / 2, h=rack_height, $fn=72);
}
}
module shower_head_holder(){
differen... | glb/cad_99bc0605fd87.glb |
Create a MicAdapter consisting of a base and a tapered upper section. Start by creating a hollow cylindrical base with an outer diameter of 28mm and a height of 5mm, featuring an inner bore of 26mm. Remove a small rectangular notch measuring 5mm by 2mm by 5mm from the side of this base, positioned 12mm from the center.... | module foot() {
difference() {
cylinder(d=28,h=5);
cylinder(d=26,h=5);
translate([12,-1,0]){
cube([5,2,5]);
}
}
}
module body(){
difference(){
cylinder(d1=30, d2=21,h=11);
cylinder(d1=26,d2=19,h=11);
translate([12,-1,0]){
cube(... | glb/cad_578b7ec2c891.glb |
Create a front axle assembly for a 1:16 scale model truck consisting of a central axle body, two steering arms, and a servo connector.
First, construct the axle body. Create a central rectangular block 10mm high, 110mm wide, and 14mm thick. Extend this center section outward on both sides to a total length of 70mm. Th... | use <MCAD/polyholes.scad>
show_AxleBody = true;
show_AxleArmRight = true;
show_AxleArmLeft = true;
show_ServoConnector = true;
ex = 0;
layer_h = 0.4;
nozzle_d = 0.5;
create_Support = false;
support_d = nozzle_d*3;
support_color = "green";
support_alpha = 0.4;
de = 0.1;
fn_hole = 12;
P100 = 10;
P101 = 7... | glb/cad_212997e7de6a.glb |
Create a Radio Telescope model consisting of a primary dish, a secondary reflector, and a support stand.
First, construct the primary dish as a spherical cap with a radius of 70mm and a thickness of 0.84mm. This dish is formed by the space between two concentric spheres with a radius of 150mm and 150.84mm. Remove a s... | use <pins.scad>
socket();
t=2*0.42;
rs=150;
r=70;
pd=3;
rb=10;
rr=30;
h=30;
$fs=0.5;
hd=rs-sqrt(pow(rs,2)-pow(r,2));
phi=atan(r/(rs/2-hd));
d=rr/4*(2+rs/rr-sqrt(pow(2+rs/rr,2)-4*rs/rr));
echo(d);
module assembly(){
translate([0,0,h])rotate([35-$t*70,0,0])translate([0,0,1.6*rb]){
dish();
rotate([180,0,0])socket();... | glb/cad_193461c481f3.glb |
Create a replacement hinge for an Epson Artisan 725 printer. Start by creating a rectangular base plate with a length of 21mm, a width of 16mm, and a thickness of 2.33mm. At one of the shorter ends of this plate, center a vertical cylindrical shaft. This shaft should have a diameter of 2.94mm and a total height of 4.57... | in2mm = 25.4;
roundd = 0.2*in2mm;
shaftd = 0.116*in2mm;
shafth = 0.180*in2mm-roundd/2;
width=16;
length=21;
height=(1+1/16)*in2mm;
thickness=0.0915*in2mm;
echo(str(shafth));
rotate([0,90,0]){
translate([-roundd/2,0,0]){
translate([0,-thickness,height+roundd/2]){
difference(){
sphere(r=roundd/2,$fs=roundd/2... | glb/cad_1c12594768b1.glb |
Create a PenRose optical illusion object by combining several rectangular prisms. Start with a base horizontal block measuring 116mm by 24mm by 24mm. Attached to the end of this base, add a vertical block measuring 24mm by 20mm by 74mm, positioned so its inner edge aligns with the base. From the top of this vertical se... | module part1(){
cube([58,12,12]);
translate([46,12,0])cube([12,25,12]);
}
module part2(){
translate([46,37,0])cube([12,10,37]);
translate([46,46,37])cube([26,1,11]);
translate([72,46,37])union(){difference(){
cube([14,1,11]);
translate([2,-2,0])rotate([0,47,0])cube([19,6,17]);
}
}
}
module penrose(){
union(){
part1(... | glb/cad_5635bd5ed7a0.glb |
Create a customizable hinged box with a latch. The main body and the top cover both have a width of 70mm, a depth of 40mm, and a height of 12mm, with a wall thickness of 1.5mm.
For the bottom section, create a rectangular tub with the specified dimensions. Subtract a smaller rectangular volume from the center to crea... | $fn = 100;
width = 70;
depth = 40;
height = 12;
wallThickness = 1.5;
hingeOuter = 8.5;
hingeInner = 4.5;
hingeInnerSlop = .5;
hingeFingerSlop = .5;
fingerSize = 6.5;
topFingerSize = fingerSize;
latchWidth = 8;
hole = 1;
hole_diameter = 5;
hole_spacing =10;
hole_border =7.5;
chamfer = 1;
z = 0*width;
pos = -dep... | glb/cad_89ef0566e283.glb |
Create a mechanical toy called a Hexaflexagon consisting of several identical triangular plates connected by hinges. Each triangular plate is an equilateral triangle with a side length of approximately 34.6mm (sqrt(300)*2) and a thickness of 5mm.
For each triangle, create a central rectangular cutout measuring 17mm b... | module hinge_left(){
module hinge1(){
union() {
translate([0, -5, 0])
cube(size=[3, 10, 5]);
translate([0, 4, 0])
cube(size=[6, 1, 5]);
translate([0, -5, 0])
cube(size=[6, 1, 5]);
translate([6, -5, 2.5])
rotate(a=90, v=[-1,0,0])
cylinder(h=1, r=2.5, $fn=20);
translate([6, 5, 2.5])
... | glb/cad_d0a5bcf477cb.glb |
Create a Bolex Intervalometer consisting of two interlocking gears.
First, create a small gear with 13 teeth. The gear should have a total height of 27mm (12mm for the gear height and 15mm for the shaft height). Bore a central hole with a diameter of 5.25mm through the entire gear. Add a transverse hole for a setscre... | include <MCAD/involute_gears.scad>
generate = 0;
distance_between_axels = 42.5;
gear_h = 12;
gear_shaft_h = 15;
gear1_teeth = 13;
gear1_shaft_d = 5.25;
gear1_shaft_r = gear1_shaft_d/2;
gear1_setscrew_offset = 5;
gear1_setscrew_d = 3.5;
gear1_setscrew_r = gear1_setscrew_d/2;
gear1_captive_nut_d = ... | glb/cad_d8bbc3046e77.glb |
Create a cylindrical container with a bayonet-style locking mechanism. The interior space must have a minimum diameter of 18mm and a height of 12mm. The walls should have a minimum thickness of 1.0mm, with a bottom base thickness of 0.8mm.
The main body is a three-sided rounded polygonal cylinder. The top edge feature... | use <utils/build_plate.scad>
use <write/Write.scad>
_insideDiameter = 18;
_interiorHeight = 12;
_rounding = 8;
_overhangAngle = 45;
_minimumWallThickness = 1.0;
_bottomThickness = 0.8;
_lipHeight = 2.4;
_bayonetDepth = 0.6;
_partGap = 0.12;
_labelText = "";
_labelFont = "write/orbitron.dxf";
_labelHeight = ... | glb/cad_50725ff2f26b.glb |
Create a Box for KeyChain consisting of a hollow rectangular base and a matching lid. For the base, create a solid rectangular block measuring 55mm in length, 35mm in width, and 15mm in height. Hollow out the center of this block by removing a smaller rectangular volume of 50mm by 30mm by 12mm, leaving a wall thickness... | module BOX(){
difference(){
translate([-30,-20,0]){
cube([55,35,15],center=[-30,20,10]);
}
translate([-27.5,-17.5,3.1]){
cube([50,30,12],center=[0,0,25]);
}}}
BOX();
module HOLE(){
difference(){
translate([23,-20,5]){
cube([15,35,5],center=[-30,20,10]);
}
translate([25.25,-18.25,-2]){
cube([10.5,31.5,15],center=[-30,... | glb/cad_88e774188531.glb |
Create a Star Trek Type 1 Phaser prop. Start by forming the main body from two overlapping scaled spheres: the first sphere should be scaled to 2.8 in width, 4 in length, and 0.5 in height; the second sphere, acting as a handle, should be scaled to 1.4 in width, 3 in length, and 2 in height, positioned at [0, 2, 0] and... | d = 1;
u = [1,0.7,0.85];
module mb() {
color([1,0,0])
translate([0,0,0])
scale([2.8,4,0.5])
sphere(r=d,$fn=50);
rotate([-10,0,0])
color([0,0,1])
translate([0,2,0])
scale([1.4,3,2])
sphere(r=d,$fn=50);
}
module sd() {
translate([-1.5,-0.88,0.3])
cube([3,7,3]);
transl... | glb/cad_681f40a3a54b.glb |
Create a filament guide consisting of a rectangular base and a cylindrical guide tube. Start with a rectangular base block 11mm wide, 46mm deep, and 6.6mm high. Within this base, create two vertical bolt holes centered along the depth. Each hole consists of a 5.1mm diameter shaft extending from the bottom to a height o... | $fn = 50;
Y = 46;
BG = 30;
BZ = 6;
BDZ = BZ * 1.1;
BDX = 10;
GD = 10;
module bolt() {
union() {
translate([0, 0, -Y])
cylinder(d=5.1, h=Y+0.1);
cylinder(d=8.8, h=Y);
}
}
module boltDown() {
difference() {
cube([BDX+1, Y, BDZ]);
union() {
translate([BDX/2+.5, (Y-BG)/2, BZ])
bolt();
translate([... | glb/cad_620cad4c25eb.glb |
Create a quadcopter foot by starting with a rectangular base measuring 30mm by 31.5mm with a height of 2mm. From this base, remove several geometric sections to create a mounting clip and a central hole. First, remove a rectangular block 12.5mm wide, 15mm deep, and 3mm high, positioned 8.5mm from the left edge. Next, r... | difference()
{
cube([30,31.5,2]);
translate([8.5,-0.1,-0.1]) cube([12.5,15,3]);
translate([5.3,2.8,-0.1]) cube([19,3.2,3]);
translate([14.7,15,-0.1]) cylinder(r=6.25, h=3);
rotate([0,0,-20])
{
translate([-23,0,-0.1])cube([20,50,3]);
}
rotate([0,0,20])
{
translate([31.2,-9,-0.1])cube([20,50,3]);
}
} | glb/cad_9f2ccf555a4f.glb |
Create an M4 nut for a 20mm extrusion by starting with a base profile extruded to a height of 9mm. The base profile is a non-symmetrical polygon defined by the coordinates [0, 1], [2.5, 1], [5.75, 3.5], [5.75, 4.7], [-3.35, 4.7], [-5.75, 4.7], [-5.75, 3.5], and [-2.5, 1]. From this solid, remove two intersecting cylind... | difference(){
slot(9);
translate([0, 0, 4.5]) rotate([-90, 90, 0]) cylinder(d = 8.6, h = 5, $fn = 6);
translate([0, 0, 4.5]) rotate([-90, 0, 0]) cylinder(d = 4.4, h = 12, $fn = 15);
}
module slot(h){
linear_extrude(height = h) polygon([[0, 1], [2.5, 1], [5.75, 3.5], [5.75, 4.7], [-3.35, 4.7], [-5.75, 4.7], [-5.75,... | glb/cad_beb3aba7ea90.glb |
Create a Custom Circular Token Holder consisting of three stacked cylindrical compartments. Start by creating three solid cylinders, each with a diameter of 23mm and a height of 43mm, positioned vertically. Space these cylinders along the Y-axis so that the center of each subsequent cylinder is offset by 21.5mm from th... | diameter = 20;
height = 40;
thk = 3;
count = 3;
grab = 1;
radius = diameter/2;
difference (){
for(i=[0:1:count-1]){
translate([0,(diameter+thk/2)*i,0])
cylinder(h=height+thk, d = diameter+thk);
}
for(i=[0:1:count]){
translate([0,(diameter+thk/2)*i,thk])
cylinder(h=height, d = di... | glb/cad_6af9c9892b64.glb |
Create a board clip consisting of a central peg and a supporting base. The main body is a 20-sided prism with a diameter of 4mm and a height of 10mm. At the top of this prism, add a 20-sided cylindrical peg with a diameter of 2.8mm that extends 10mm further upward. To create a locking bump, add a 20-sided frustum start... | hole = 2.8;
marginT = 1.2;
marginB = marginT;
skirt = 3;
rise = 10;
clip = 10;
bump = 2;
thick = 1.5;
slotAngle = 20;
slot = hole * sin(slotAngle);
shave = hole * (1 - cos(slotAngle));
eps = 0.1;
Repeat(4, 2, hole + marginB + skirt + 1, rise + clip + 1) translate([0, 0, hole/2 - shave]) rotate([-90, 0, 0]) HoleClip... | glb/cad_42b0b3589162.glb |
Create a transport handle for a 3D printer consisting of two identical support brackets and a central grip.
Each support bracket begins with a rectangular base measuring 69mm in length, 15mm in width, and 17mm in height. Centered on the base, remove a cylindrical hole with a radius of 4.5mm that passes through the wi... | ExternalLength = 120 ;
InternalMinimumHeight = 45 ;
Width = 59 ;
FixationHoleRadius = 4.5 ;
SupportLength = Width+2*FixationHoleRadius ;
SupportWid... | glb/cad_592f2eeccd13.glb |
Create a 3D model of an iPhone connector. Start by creating a central rectangular plastic block that is 20.5mm wide, 5.65mm deep, and 9.07mm high. Round the two vertical side edges of this block with a radius of 2.825mm. On top of this block, center a rectangular protrusion that is 21.36mm wide, 2.57mm deep, and 6mm hi... | module iphone_connector()
{
connector_depth = 2.57;
connector_width = 21.36;
connector_height = 6;
plastic_width = 26.15;
plastic_height = 9.07;
plastic_depth = 5.65;
cable_strain_diameter = 4.5;
cable_strain_height = 6;
plastic_block_width = plastic_width-plastic_depth;
r_plastic_edge = plastic... | glb/cad_41f73d753187.glb |
Create a K8200 Z axis rework cable-driven system. Construct four corner brackets with a base size of 70x70x8mm, featuring a large circular cutout of 40mm radius and a central 20x20x20mm cubic void. Incorporate slotted holes for mounting, with two holes at 40mm and 50mm positions.
Design three types of pulleys: a small... | $fn=80;
e_width = 27.8;
m_clearance = 0.4;
m3_r=(3+m_clearance)/2;
m4_r=(4+m_clearance)/2;
m5_r=(5+m_clearance)/2;
m8_r=(8+m_clearance)/2;
translate([0,-100,115])test_fit(variant="T8X8", $fn=20);
module al_extrusion(length){
e_width = 27.8;
e_chamfer = 5.5;
difference(){
translate([e_chamfer-e_w... | glb/cad_880caf9f9d56.glb |
Create a K8200 Z axis rework cable-driven system. Start by designing four corner brackets, each a 70x70x8mm block with a 40mm radius cylindrical cutout and slotted holes for mounting. Construct a Z endstop bracket consisting of a 20x30x10mm base with a hull connecting two 3mm radius cylinders at the bottom and two 3mm ... | $fn=80;
translate([0,-100,115])test_fit($fn=20);
e_width = 27.8;
e_w_half = e_width/2;
module alfer_coaxis_profile(length){
e_width = 27.8;
e_chamfer = 5.5;
difference(){
translate([e_chamfer-e_width/2, e_chamfer-e_width/2, 0])
minkowski(){
cube(size = [e_width-e_chamfer*2, e... | glb/cad_708633dbe139.glb |
Create a Knob Generator consisting of a cylindrical grip and a hexagonal nut housing. The overall height of the knob is 10mm.
At the base, create a hexagonal socket designed to hold a nut with a width across flats of 5.42mm and a thickness of 2.5mm. The socket is formed by a 6-sided polygon (hexagon) with a diameter c... | part = "cylindrical";
nut_width = 5.42;
nut_thickness = 2.5;
height=10;
knurled_height=50;
echo("nut_diameter",nut_diameter);
diameter_1=150;
function get_diameter_1()=hex_nut_diameter*diameter_1/100;
diameter_2=125;
function get_diameter_2()=get_diameter_1()*diameter_2/100;
screw_hole_diameter = 55;
function ge... | glb/cad_4d261c804126.glb |
Create a miniature Mother's Day flower pot. Start by constructing a heart-shaped base with a thickness of 4mm. The heart is formed by the union of two circles with radii of 10mm centered at [10, 30] and [25, 30], and a triangle with a circumradius of 19mm centered at [17.5, 16] and rotated 30 degrees. Scale this heart ... | use<arc.scad>
module label() {
color("cyan")
linear_extrude(height = 4, center=true)
text("BEST MOM");
}
module heart() {
color("red")
linear_extrude(1)
union(){
translate([10,30,0])circle(10);
translate([25,30,0])circle(10);
translate([17.5,16,0])rotate([0,... | glb/cad_d2fde4ae1661.glb |
Create a pencil model by starting with a main cylinder that is 180mm tall with a diameter of 7mm. Remove a smaller, concentric cylindrical hole with a diameter of 1.9mm that runs through the entire height of the object. Additionally, remove a square-shaped section from the side of the main cylinder using a cube that is... | $fn = 60;
difference(){
cylinder(d=7,h=180);
cylinder($fn=60,d=1.9,h=181);
translate([0,-3.5,0]) cube([7,7,181]);
} | glb/cad_62a9263b9e3b.glb |
Create a storage box and lid consisting of a grid of compartments. The box is a solid block with overall dimensions of 125.6mm in width, 83.6mm in depth, and 31.15mm in height. The walls are 1.15mm thick.
Carve out 8 rectangular compartments arranged in a 4x2 grid. Each compartment interior measures 30mm by 40mm and ... | generate_box="yes";
generate_lid="yes";
showlid = generate_lid=="yes"? true : false;
showbox = generate_box=="yes"? true : false;
Type_of_Lid = "Standard";
compx = 30;
compy = 40;
wall = 1.15;
nox = 4;
noy = 2;
deep = 30;
tolerance=.05;
lidoffset=3;
lid_drop=7;
lidheight=lid_drop+wall;
Thumb_Divit="yes";
... | glb/cad_be90264a6c43.glb |
Create a kite connector consisting of a central sphere with a diameter of 0.375 inches. From this central sphere, extend six hollow cylindrical arms. Each arm must have an outer diameter of 0.375 inches and an inner bore diameter of 0.25 inches to accommodate dowel rods.
The arms should be positioned and oriented as f... | outter_diameter = .375;
minimum_shell = .0625;
minimum_length = 1;
units_entered = 25.4;
desired_units_for_output = 1;
arm_1_length = 1;
arm_1_inner_diameter = 0.25;
arm_1_angle = [0,0,0];
arm_1_color = [1,0,0];
arm_2_length = 1;
arm_2_inner_diameter = 0.25;
arm_2_angle = [0,90,0];
arm_2_color = [0,1,0];
arm_... | glb/cad_a376135bd60a.glb |
Create a cable management clip for a 20x20 rail. Start with a square base measuring 20mm by 20mm with a thickness of 3mm. In the center of this base, create a circular hole with a diameter of 5.2mm that passes completely through the thickness.
Attached to the top of the base, center a semi-cylindrical clip that is 10... | $fn=60;
base_thickness=3;
base_size=20;
hole_size=5 + 0.2;
clip_thickness=3;
clip_gap=2;
clip_gap_angle=45;
clip_depth=base_size/2;
module cable_holder() {
union() {
bottom();
translate([base_size/2,clip_depth,base_thickness-0.1]) rotate([90,0,0])half_cylinder();
}
}
module bottom() {
difference()... | glb/cad_c44f8b9a9e90.glb |
Create a Cobblebot Y Belt mount consisting of two primary components.
First, create a main block with a total width of 12mm, length of 45mm, and height of 17.5mm. From this block, remove a central rectangular section measuring 6mm wide and 45mm long, leaving a 3mm wall on each side. At the top of the block, create a ... | $fn=60;
Belt_width=6.1;
belt_thickness=1.4 +.3;
double_belt=2 +.3;
side_set=3;
Max_Width= Belt_width+2*side_set;
Max_Length=45;
Max_Height=17.5;
Top_overlap = 15;
Top_sideset =side_set;
Top_thickness=1.5;
lower_thickness = 3;
tnutW=10;
tnutL=15;
tnutH=3;
m5_hole=5.05;
Center_hole_ofsite=9.2;
from_bottom=8.5;
from_end=... | glb/cad_3061df962199.glb |
Create a spice replacement lid consisting of a tapered main body and a flat top disc. Start by creating a conical frustum with a height of 9.7mm, a base diameter of 30mm, and a top diameter of 28.9mm. Place a thin cylindrical disc with a diameter of 34mm and a height of 1mm centered on top of this frustum. To create th... | d1=29.5+0.5;
d2=28.4+0.5;
h=9.7;
hole_r=2;
difference(){
union(){
translate([0,0,h-1])
cylinder ($fn=120,r=d1/2+2,h=1);
linear_extrude(height = h, scale = d1/d2)
circle(r=d2/2,center = true,$fn=120);
}
linear_extrude(height = h-1, scale = d1/d2)
circle(r=d2/2-1,center = true,$fn=120);
for (i =[0,72,72*2... | glb/cad_f4ba5601f4ad.glb |
Create a cylindrical spice replacement lid with a total outer diameter of 41.9mm and a total height of 16.6mm. The lid consists of a solid top disc with a thickness of 3.6mm and a base wall height of 13mm. The interior of the lid must be hollowed out using a right-hand trapezoidal thread with a pitch of 4mm and a pitch... | include <Thread_Library.scad>;
dia=35.9;
lid_side=3;
cap_h=13;
cap_pitch=4;
top_thickness=3.6;
thread_quality = 90;
cap_fn=120;
difference(){
cylinder ($fn=cap_fn,r=dia/2+lid_side,h=cap_h);
trapezoidThreadNegativeSpace(length=cap_h+cap_pitch, pitch=cap_pitch, pitchRadius=(dia/2), threadHeightToPitch=(1.52... | glb/cad_2fd63050f38a.glb |
Create a Customizable Strap Glide. Start with a main rectangular body that is 36.5mm wide, 22.5mm long, and 3mm high. Round the four corners of this body with a radius of 2.625mm.
Cut four parallel rectangular slots through the body to create the glides. Each slot should be 26mm wide and 4.5mm high. Position these slo... | _1_webbingWidth = 26;
_2_webbingGap = 4.5;
_3_edgeThickness = 3.5;
_4_centerThickness = 4.5;
_5_height = 3;
_6_cornerRounding = 75;
_7_cornerBreakage = 0.66;
_8_eyeDiameter = 7;
_9_eyeRimThickness = 4;
_10_glidesAmount = 4;
_11_makeEyelet = true;
module makeBody (xsize, ysize, height, radius, eyelet, eyeRad,... | glb/cad_7fde1d23fffa.glb |
Create a rail stop for a sliding door track. Start with a main rectangular block that is 6mm thick, 27mm wide (extending from -7.5mm to 7.5mm on the Y-axis), and 10mm high. From this block, remove a central channel to create a slot that is 15mm high and 0.7mm wide.
To refine the shape, add a rounded protrusion on one... | h = 15;
ih1 = 3;
oh1 = 8;
t = 0.7;
d = 6;
t_slack = 0.1;
thk = 6;
wd = 10;
fillet_r = 1.25*thk/4;
module fillet(h, r) {
difference() {
cube([h, r, r]);
translate([-0.1, r, r]) rotate([0, 90, 0]) cylinder(h = h+.2, r = r);
}
}
module c(dim) {
t = dim[0]; l = dim[1]; h = dim[2];
echo(t,l,h);
interse... | glb/cad_5945b063b9e8.glb |
Create a customizable enclosure and matching lid. The main body is a rectangular box with overall dimensions of 100mm width, 50mm height, and 20mm depth. The walls and the base have a uniform thickness of 1.5mm. All vertical corners of the box must be rounded with a fillet radius of 5mm. The interior is hollowed out, l... | width = 100.0;
height = 50.0;
depth = 20.0;
thickness = 1.5;
fillet_radius = 5.0;
lid_type = "Partial";
lip_width = 4;
lip_added_height = 1;
lid_space = 1;
if (lid_type == "None") {
enclosure(width, height, depth, fillet_radius, thickness);
}
if (lid_type == "Simple") {
enclosure(width, height, depth, ... | glb/cad_923f919c27d4.glb |
Create a parametric iPhone 4 holder. Start with a solid block that is 69mm wide (63mm case width plus two 3mm walls), 20mm deep (14mm case depth plus two 3mm walls), and 76.5mm high.
Carve out a central device cavity 63mm wide, 14mm deep, and 72mm high, positioned 1mm from the bottom and centered horizontally. To pre... | use <../connector/iphone_connector.scad>
$fn = 100;
holder_height = 70;
case_depth = 14;
case_width = 63;
holder_front_lip = 3;
holder_thickness = 3;
bottom_gap = 3.5;
bottom_thickness = 3;
centerline_device_x = holder_thickness+case_width/2;
centerline_device_y = holder_thickness+case_depth/2;
centerline_device_z =... | glb/cad_a213e5b45e49.glb |
Create an IKEA drawer ejector holder by constructing a main body and subtracting two mounting holes. First, form the outer shell by creating a hull that encompasses two cylinders with a radius of 4mm and a height of 20mm, positioned 14mm apart along the x-axis, and a central rectangular block measuring 38mm by 2mm by 2... | $fn=30;
difference(){
hull(){
translate([7,0,0]) cylinder(20,8/2,8/2,center=true);
translate([-7,0,0]) cylinder(20,8/2,8/2,center=true);
translate([0,5,0]) cube([38,2,20],center=true);
}
hull(){
translate([7,0,0]) cylinder(21,6/2,6/2,center=true);
translate([-7,0,0]) cylinder(20,6/2,6/2,center=true);
translate([0,6,... | glb/cad_ec18a51cabd0.glb |
Create a hypospray prop consisting of a handheld grip and three separate medicine vials.
First, construct the main handle as a rounded rectangular box with dimensions 2mm wide, 2mm deep, and 5mm tall, using a corner radius of 0.3mm. Drill a vertical cylindrical hole through the center of this handle with a radius of ... | use <MCAD/boxes.scad>
w = 0.75;
he = 0.5;
$fn=25;
module hsb() {
color([he,0.3,he])
translate([0,0,2])
cylinder(r1=w,r2=w,h=5);
color([w,w,w])
translate([0,0,2.5])
roundedBox([2,2,5],0.3,true);
module tri(ss) {
polyhedron(
points=[[0,0,he],[ss,0,he],
[0,ss... | glb/cad_5d7b4a15f4c2.glb |
Create a shopping cart token and paper clip holder consisting of two separate components.
First, create the token as a flat cylinder with a diameter of 28.5mm and a thickness of 2mm. On one side of this cylinder, extend a rectangular tab that is 16mm wide and 2mm thick. Within this tab and the center of the token's e... | coin_diameter = 28.5;
coin_thickness = 2.0;
screw_diameter = 3.0;
screw_length = 16;
neck_length = 5;
parts = "Both";
wallthickness = 2*1;
coin_radius = coin_diameter / 2.0;
paperholder_thickness = 1.5*1;
module CreateCoin()
{
difference()
{
union()
{
cylinder(h=coin_thickness... | glb/cad_e27fa543117f.glb |
Create a hotend support for a direct drive extruder. Start with a base shape formed by the convex hull of two cylinders, each with a radius of 7mm and a height of 5mm, positioned 50mm apart at coordinates (-25, 0, 0) and (25, 0, 0). Add a cylinder with a radius of 20mm and a height of 5mm centered at (25, 0, 0), and a ... | module solid() {
hull() {
translate([-25,0,0]) cylinder(r=7,h=5);
translate([25,0,0]) cylinder(r=7,h=5);
}
translate([25,0,0]) cylinder(r=20,h=5);
translate([-7.5,-21,0]) cube([15,42,9.5+5]);
}
module holes() {
translate([0,+4.5,0]) cylinder(r=5.4,h=20);
translate([-10,-18,10])rotate([0,90,0]) cylinder(r=1.7,h=20);
t... | glb/cad_2dd7d5358eb2.glb |
Create a custom stamp tool consisting of two mirrored handle sections connected by a hinge. Each handle is a rectangular block 48mm wide, 70mm long, and 4mm thick. The outer edges of the handles are rounded with a radius of 4mm.
On the inner face of each handle, create a recessed guide area 40mm wide and 40mm long. Wi... | image_file = "smile.dat";
hinge_placement = 1;
emboss_height = 1.5;
handle_thickness = 2.5;
handle_length = 70;
$fa = 6;
$fs = 1.5;
image_width = 40;
image_length = 40;
image_padding = 4;
handle_width = image_width + image_padding*2;
handle_height = emboss_height+handle_thickness;
nub = 3;
tol = 0.5;
assembly();... | glb/cad_cd6ade4f5968.glb |
Create a Custom Phone Clip consisting of two main plates: a backplate and a front frame.
First, construct the backplate as a rectangular slab 160mm wide, 50mm long, and 1.5mm thick, with 4mm rounded corners. Add a central cross-shaped reinforcement structure to this plate using 2mm radius cylinders at the corners.
N... | width = 160.0;
length = 50.0;
base_thickness = 1.5;
wall_thickness = 2.0;
corner_radius = 4.0;
$fn=36.0;
clip_width = 10.0;
clip_height = 3.0;
clip_wall_thickness = 1.5;
clip_inner_spacing = 65.0;
tolerance = 0.5;
translate([10,
length+10+(wall_thickness/2.0),
base_thickness*3])
rotate([0, ... | glb/cad_aa498575c7ce.glb |
Create a Bowden Cable Coupling by starting with a central rectangular block 50mm long, 10mm wide (5mm bolt diameter plus 2.5mm wall thickness on each side), and 10mm high. At the center of this block, add a cylindrical protrusion with a height of 7mm, a base radius of 8.5mm, and a top radius of 7mm. At both far ends of... | bolt_distance = 50;
bolt_dia = 5;
nut_h = 5;
nut_dia = 10;
base_flesh = 2.5;
tube_dia = 6.3;
open = 0;
base_h = 10;
supports = 0;
offset = 3;
$fn =31;
module coupling_base()
{
difference()
{
union()
{
translate([0,0,base_h/2])cube([bolt_distance,bolt_dia+base_flesh,base_h],center=true);
transla... | glb/cad_775d11db288e.glb |
Create a spool holder by starting with a central rectangular block measuring 37mm in width, 20mm in depth, and 20mm in height, centered at a height of 10mm. Within this block, remove a horizontal cylindrical void with a radius of 11mm and a length of 10mm, shifted 5mm along the depth and height axes. Additionally, remo... | union (){
translate(v=[0,0,10]){
difference() {
cube(size = [37,20,20],center = true);
translate(v=[0,5,5]){
rotate(a = [90,0,0]) {
cylinder (h=10,r=11);
translate(v=[0,0,-10]){
cylinder (h=60,r=4.5);
}
}
}
translate(v=[0,0,30]){
cube(size = [9,50,50], center=true);
cube(size = [22,10,50], center... | glb/cad_5d29ba896caf.glb |
Create a Nema Mount for a stepper motor. Start by creating a central mounting block that is 60mm wide, 44mm deep, and 6mm thick. Position this block at a height of 27.1mm.
Within this block, create a series of cutouts to accommodate a stepper motor. Specifically, remove a central rectangular volume of 33mm by 5mm by ... | tubeouter=19.9;
tubeinter=15.56;
bearingouter=8;
conh=50;
mech=230;
walltmulti=1.3;
bolt=4.2/2;
bplatew=214;
bplatel=214;
spring=10;
bw=bplatew+mech;
bl=bplatel+mech*.75;
bh=700;
padj=(tubeouter*walltmulti);
boxwidth =bw-padj;
boxlength =bl-padj;
boxheight = bh-padj;
heated=((padj/2)+spring);
bearingouter=20;
bearingin... | glb/cad_37e2cc2386e4.glb |
Create a Customizable RC Motor Mounting Bracket with a total length of 40mm, a width of 30mm, and a height of 30mm. The structure consists of a back plate and two side walls, all with a uniform wall thickness of 3mm. The back plate is a 30mm by 30mm square. The side walls extend forward from the back plate to create a ... | wall_thickness = 3;
wall_res = 32;
cube_yz = 30;
cube_x = 40;
prop_shaft_dia = 7;
prop_screw_dia = 3.55;
prop_screw_slide_length = 4;
prop_screw_seperation = 19;
prop_mount_rotation = 45;
retain_screw_dia = 3.8;
retain_screw_slide = 8;
retain_screw_x_seperation = 18;
retain_screw_y_seperation = 16;
retain_... | glb/cad_7075508247b4.glb |
Create a phone stand by constructing a base and removing a specific section. First, create a solid shape by combining two extruded polygons. The first polygon has vertices at [0,-4], [20,7], [20,15], [15,15], [15,9], [5,9], [5,20], [0,20], [0,0], and [0,-4], extruded to a height of 27mm and centered. Combine this with ... | module base() {
union()
{
translate(v=[49.5,4,0]) linear_extrude(height = 27, center = true, convexity = 10, twist = 0)
rotate(a=[0,0,30]) polygon(points=[[0,-4], [20,7], [20,15], [15,15], [15,9], [5,9], [5,20],[0, 20],[0,0], [0,-4]]);
linear_extrude(height = 27, center = true, convexity = 10, twist = 0)... | glb/cad_e7d822af1189.glb |
Create a spool holder base consisting of a central cylinder and three radiating arms. The central cylinder has a diameter of 25.4mm and a height of 20mm, with a vertical hole through the center measuring 22mm in diameter and 7mm deep to accommodate a 608ZZ bearing. From this central hub, extend three identical arms spa... | r = 50; h = 20; w = 20;
t = 1.5; a = 4;
br = 11.2; bh = 7; ir = 5;
e = 0.02; $fn = 50;
module rot(x,y,z) { for(th=[0:120:240]) rotate(th) translate([x,y,z]) children(); }
module cyl(x,r) { cylinder(h+x,r=r); }
intersection() {
rotate_extrude(convexity=10) polygon([ [br,0],[br,bh+e],[ir,br+bh-ir],[ir,h],[r,t],[r,0]... | glb/cad_9e50e56a8b77.glb |
Create a parameterizable directional pad. Start by creating a thin circular base with a diameter of approximately 26.46mm and a height of 1mm. On top of this base, construct a cross-shaped platform by combining two identical perpendicular bars. Each bar should be 25mm long, 6mm high, and 1mm wide, with fully rounded en... | $fn = 60;
module dpad ( width, height, base, miter) {
module arrow () {
s = 4;
a = width/6/s;
h = sqrt(3)*a/2;
linear_extrude(miter/2, scale=s)
polygon([[-a/2, -h/3], [ a/2, -h/3], [0,h-h/3]]);
}
module bar () {
difference(){
union(){hull()
... | glb/cad_c54f7f6ce3a7.glb |
Create a Mahjong game tile holder consisting of two symmetrical mirrored pieces. For each piece, start with a base stand that is 154mm wide (7 tiles at 19mm each plus one extra width) and 26mm high.
Construct the main body by combining a rectangular stand with rounded edges (3mm radius) and a supporting bottom plate.... | $fs=0.2;
tileHeight=26;
tileWidth=19;
tileDepth=13;
tileNumber=7;
standWidth= tileWidth * ( tileNumber + 1 );
module holder (side) {
dragon_x_r = ( side == "right" ) ? 3 : 0;
dragon_x_l = ( side == "right" ) ? 17 : 20;
difference () {
union () {
rotate ([55,0,0]) {
diff... | glb/cad_9601ead36a96.glb |
Create a customizable endstop bracket with a thickness of 2mm. The bracket consists of two rectangular plates joined at a 90-degree angle. The first plate is 20mm long and 20mm wide with rounded corners. In the center of this first plate, create two circular holes with a diameter of 3.2mm, spaced 10mm apart from center... | thickness=2;
width=20;
L1=20;
frame_bolt_space=10;
frame_bolt_d=3.2;
L2=30;
endstop_bolt_space=10;
endstop_bolt_d=2.2;
endstop_mount_start=15;
endstop_mount_end=25;
$fn=60;
difference(){
translate([2,2,0])minkowski(){
cube([width-4,L1-4,thickness/2]);
cylinder(r=2,h=thickness/2);
}
... | glb/cad_b70a0538c1fb.glb |
Create a dpad directional pad consisting of a circular base and a raised cross-shaped platform. Start with a thin cylinder base with a diameter of approximately 27.94mm and a height of 5mm. On top of this base, construct a central cross formed by two intersecting rectangular prisms, each with a width of 8.33mm and a he... | $fn = 60;
module arrow ( edge, depth, zoom ) {
a = edge/zoom;
h = sqrt(3)*a/2;
linear_extrude(depth, scale=zoom)
polygon([[-h/3,-a/2], [-h/3, a/2], [h-h/3, 0]]);
}
module prism ( x, y, z_min, pitch, miter) {
h_cent = z_min-miter + (x-2*miter)*pitch/2;
hull()
for ( a=[-x/2+miter, x/2-miter] ... | glb/cad_aebf3d781f45.glb |
Create a gorilla tripod head mount. Start by constructing a base insert that is a rounded trapezoidal prism with a length of 40mm, a base width of 20mm, and a thickness of 2mm. The sides of this trapezoid should taper outward at a 7-degree angle. Incorporate a central cutout in the top surface to accommodate a mounting... | difference(){
insert();
union(){
translate([25,10,2])cylinder(h=4,r1=8,r2=8,center=true);
translate([25,10,-2])cylinder(h=6,r1=4.1,r2=4.1,center=true);
}
}
module insert(standOffHeight=3)
{
insertAngle =7;
insertLength=40;
baseThick=2;
Wbase=20;
difference()
{
union(){
difference(){
color([1,0,0])roundedT... | glb/cad_ef78318d27ef.glb |
Create a battery box for two 18650 cells. The main body is a rectangular base with a total width of 36mm (2 cells × 18mm) and a length of 79mm (65mm cell length + 14mm for walls). The walls are approximately 5.3mm thick.
Carve two semi-cylindrical cradles into the top of the base, each with a radius of 9mm and a lengt... | Cell_Count = 2;
Cell_Long = 65;
Cell_Wide = 18;
Connection = 1;
mounting_flanges = 1;
module edge(radius, height)
{
difference()
{
translate([radius/2-0.5, radius/2-0.5, 0])
cube([radius+1, radius+1, height], center = true);
translate([radius, radius, 0])
cylinder(h = height+1, r1 = radius, r2 = radiu... | glb/cad_895cc6ebb0a7.glb |
Create a Roller Carriage for a DLT-180. Start with a base plate that is 7mm thick, 66mm long, and 58mm wide (calculated from a 20mm carriage width plus two 8mm base radii).
At the center of the plate, create a rectangular cutout measuring 13mm by 36mm.
Position four M3 nut traps in a 20mm by 20mm square pattern. Ea... | roller_x = 19.5;
roller_y = 25;
roller_z = 15;
base_radius = 16/2;
width = roller_x*2 + base_radius*2;
height = 66;
thickness = 7;
carriage_width = 20;
center_x = width/2;
center_y = height/2;
m3_radius = 3.4/2;
m3_nut_h = 3.1;
m3_nut_w = 5.5+0.2;
m6_radius = 6.3/2;
shoulder_width = 12;
shoulder_radius = width/2-... | glb/cad_fcd8291a9094.glb |
Create a Roller Carriage adapter with a base thickness of 7mm. The main body is a rectangular plate 20mm wide and 66mm long.
At the center of the plate, create a rectangular cutout 10mm wide and 36mm long.
To accommodate M3 nuts, create four hexagonal pockets. Position two pockets at the top and bottom edges, cente... | roller_x = 19.5;
roller_y = 25;
roller_z = 15;
base_radius = 16/2;
width = roller_x*2 + base_radius*2;
height = 66;
thickness = 7;
carriage_width = 20;
center_x = width/2;
center_y = height/2;
m3_radius = 3.4/2;
m3_nut_h = 3.1;
m3_nut_w = 5.5+0.2;
m6_radius = 6.3/2;
shoulder_width = 12;
shoulder_radius = width/2-... | glb/cad_3ef540da859d.glb |
Create a cylindrical knob with a height of 10mm and a base diameter of 31mm. The knob should be a straight cylinder with no taper. On the top surface, add a small hemispherical divot with a radius of 6.2mm (40% of the minor radius), positioned offset from the center at a distance of 8.5mm (55% of the minor radius) alon... | HoleDiameter = 6;
HoleDepth = 8;
HoleFlatThickness = 0;
KnobHeight = 10;
KnobDiameter = 31;
CapType = 0;
TimerKnob=0;
Pointer1 = 1;
Pointer2 = 0;
Knurled = 0;
TaperPercentage = 0;
RingWidth = 0;
RingMarkings = 0;
ScrewHoleDiameter = 0;
ShaftLength = 0;
ShaftDiameter = 10;
NotchedShaft = 0;
RingThicknes... | glb/cad_dcd06d0f5b1f.glb |
Create a LoJack keyring holder by starting with a rectangular block measuring 22mm wide, 34mm long, and 14mm high. From this main body, remove a cylindrical section with a radius of 15.67mm and a depth of 10.66mm, centered such that the cylinder's edge is offset by 2mm from the side and 16mm from the bottom edge. To co... | $fn=60;
module EXTRUDER(){
linear_extrude(10.66){
difference(){
circle(15.67);
translate([2,-16,0]){
square(32);}}
}}
module BODY(){
translate([-20,-17,-1.6]){
linear_extrude(14){
square([22,34]);}}}
module HOLDER(){
difference(){
BODY();
EXTRUDER();
}}
module RING(){
linear_extrude(5){
difference(){
... | glb/cad_9cc5b4dd5d7a.glb |
Create a 3D Space Invader figure composed of a grid of small cubes, each measuring 6.25mm x 6.25mm x 5mm. Arrange these cubes on a flat plane to form a pixelated alien sprite.
The bottom section consists of two feet: place cubes at (12.5, 37.5), (18.75, 37.5), (56.25, 37.5), and (62.5, 37.5) for the base, with additi... | union() {
translate([12.5,37.5,0]) cube([6.25,6.25,5]);
translate([18.75,37.5,0]) cube([6.25,6.25,5]);
translate([56.25,37.5,0]) cube([6.25,6.25,5]);
translate([62.5,37.5,0]) cube([6.25,6.25,5]);
translate([18.75,43.75,0]) cube([6.25,6.25,5]);
translate([25.0,43.75,0]) cube([6.25,6.25,5]);
translate([50.0,43.75,... | glb/cad_f9dd845e98b9.glb |
Create an RC Truggy Wheel rim with an outer diameter of 58mm and a total width of 50mm.
The main body is a hollow cylinder with a wall thickness of 1.5mm. At both the top and bottom faces, create a tire bead groove consisting of an outer lip with a diameter of 62mm and a thickness of 2.8mm, and an inner lip with a di... | module Hex_Prism(d,h) {
difference() {
cylinder (r=1*d,h=h,center=true);
union() {
for (i=[0:1:5]) {
rotate([0,0,i*60]) translate([d,0,0]) cube([d,1.1*d,1.01*h], center=true);
}
}
}
}
module InnerWheelWithSpokes(n, odia, cdia, zoffs, swl) {
ra=... | glb/cad_5716dbea6e27.glb |
Create a roller blind end cap consisting of a wide circular base and a narrower vertical cylinder. Start by creating a flat disc with a radius of 18mm and a thickness of 3mm. Centered on this disc, add a vertical cylinder with an outer radius of 8mm and a total height of 23mm. Bore a hole through the center of this ver... | group() {
group(){
multmatrix([[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, -3.0], [ 0, 0, 0, 1]]){
cylinder($fn = 0, $fa = 12.000000, $fs = 2.000000, h = 3.0, r1 = 18.0, r2 = 18.0, center = true);
}
difference() {
multmatrix([[1.0, 0.0, 0.0, 0.0], [0.0, 1.0, 0.0, 0.0], [0.0, 0.0, 1.0, -9.0], [ 0, 0, 0,... | glb/cad_1a60b1ac64f2.glb |
Create an 8-bit heart with a missing piece by arranging a series of small cubes, each measuring 4.375mm on all sides. The overall shape is a pixelated heart constructed from these cubes, all sharing a base Z-coordinate of 0 and a height of 4mm.
Position the cubes to form the heart's silhouette, starting with the botto... | union() {
translate([17.5,13.125,0]) cube([4.375,4.375,4]);
translate([21.875,13.125,0]) cube([4.375,4.375,4]);
translate([26.25,13.125,0]) cube([4.375,4.375,4]);
translate([43.75,13.125,0]) cube([4.375,4.375,4]);
translate([48.125,13.125,0]) cube([4.375,4.375,4]);
translate([52.5,13.125,0]) cube([4.375,4.375,4])... | glb/cad_27cc58931403.glb |
Create a 3D voxel-style model of a 1-up Mushroom using a series of small cubes. Each individual cube must have dimensions of 6.25mm x 6.25mm x 5mm. Arrange these cubes on a 2D plane to form a pixelated mushroom shape.
The base of the mushroom is formed by placing cubes in a wide, rounded rectangular pattern. The botto... | union() {
translate([31.25,0.0,0]) cube([6.25,6.25,5]);
translate([37.5,0.0,0]) cube([6.25,6.25,5]);
translate([43.75,0.0,0]) cube([6.25,6.25,5]);
translate([50.0,0.0,0]) cube([6.25,6.25,5]);
translate([56.25,0.0,0]) cube([6.25,6.25,5]);
translate([62.5,0.0,0]) cube([6.25,6.25,5]);
translate([18.75,6.25,0]) cube... | glb/cad_c5f5a4ad9b59.glb |
Create a Raspberry Pi 3 case consisting of a bottom base and a top cover that snap together.
For the bottom base, create a rounded rectangular shell with a wall thickness of 1.2mm. The internal cavity should accommodate a PCB of 85mm by 56mm. Position four cylindrical mounting pedestals at the PCB corners to support ... | part = "all";
have_plugrow = 0;
have_open_plugrow = 0;
have_camera = 0;
have_sdcard_support = 1;
have_leds = 1;
mil2mm = 0.0254;
pcb = [85.0, 56.0, 1.5];
pcb2floor = 4.0;
pcb2roof = 17.0;
pcbmntdia = 2.75;
pcbmnt1dx = pcb[0]/2 - 3.5;
pcbmnt1dy = 3.5 - pcb[1]/2;
pcbmnt2dx = pcb[0]/2 - 3.5 - 58.0;
pcbmnt2dy = pcb[1]/... | glb/cad_95edc80f62d7.glb |
Create a parametric linear bearing with an external diameter of 15mm, an internal diameter of 8mm, and a total length of 24mm. The main body is a hollow cylinder.
At both the top and bottom faces, create a retainer ring feature by removing a concentric ring of material. This ring should have a width of 1.1mm and a de... | internal_diameter = 8.0;
external_diameter = 15.0;
length = 24.0;
retainer_rings_depth = 0.7;
retainer_rings_width = 1.1;
retainer_rings_offset = 17.5;
groove_depth = 1.6;
groove_width = 1.2;
groove_count = 12;
$fn = 64;
module groove(d1, d2, w) {
difference() {
cylinder(r=d1/2+1, h=w, center=tru... | glb/cad_4e3bcfada237.glb |
Create a Cupcake Corer consisting of a central hollow tube and a decorative wavy base. Start by constructing the main cutting tube with a height of 26.5mm; the outer diameter should taper slightly from 22mm at the bottom to 21mm at the top, while the inner bore is a consistent cylinder with a 20mm diameter. Along the t... | od = 50;
exr = 5;
ext = 5;
crd = 20;
crs = 1;
crh = 25;
ctt = 20;
cth = 1.5;
ww=1.5;
xw=0.4;
outerPoints = [ for(t = [0:5:359]) [(od/2+exr*sin(t*ext))*cos(t),
(od/2+exr*sin(t*ext))*sin(t)] ];
difference(){
union(){
translate([0,0,ww-xw]) cylinder(d1=crd+crs+ww, d2=crd+ww... | glb/cad_1af68c7841d2.glb |
Create a NEMA 17 to 23 adapter plate. Start with a central square block measuring 51.5mm by 51.5mm with a thickness of 4mm.
Remove a central cylindrical hole with a radius of 11.025mm. Create four outer mounting holes, each 5mm in diameter, positioned at the corners of the square. Each hole center should be located 2... | nema27 = 52-5.5;
nema27_holes = 5;
nema27_cylinder_dia = 38.5;
nema17 = 30.0;
nema17_holes = 3;
nema17_cilinder_dia = 22.05;
use_flanged_bolts = 1;
max_overhang = 30;
$fn=60;
$fa=0.1;
rotate([180,0,0])
gasket();
module gasket()
{
difference()
{
cube([nema27+3.5,nema27+3.5,4],center=true);
translate ([0,0,-3... | glb/cad_27b9d9934c70.glb |
Create a Customizable Bearing Spacer by constructing a tiered cylindrical object. Start with a main base cylinder that has an outer diameter of 21.8mm and a height of 1.95mm. Centered on top of this base, add a second cylinder with a diameter of 10mm and a height of 3mm. Within the center of the entire assembly, create... | outer_diameter=22;
inner_diameter=8;
spacer_width=3;
profil_shift_width=0.35;
profil_shift_thickness=2;
option=1;
bearing_width=7;
screw_diameter=4;
tolerance=0.1;
definition=100;
$fn=definition;
module spacer() {
difference() {
union() {
cylinder(d=outer_diameter-2*tolerance,h=spacer_width*(1 - profil_shift... | glb/cad_55774f454e0f.glb |
Create a High Power LED Clip designed to hold a star-shaped heatsink. Start with a circular base 25mm in diameter and 1.8mm thick. In the center of this base, add a small cylindrical support 5mm in diameter and 1.5mm high.
From the base, extend a curved clip structure that arcs outward. This clip should have an outer ... | $fn = 60;
base_dia = 25;
base_ext = 7;
base_t = 1.8;
center_h = 1.5;
center_dia = 5;
clip_gap = 1;
clip_h = 10;
clip_r = 130/2;
pin_dia = 3.0;
pin_len = 3.5;
num_cuts = 6;
disc_w = 20;
disc_t = 1.5;
cut_dia = 3.8;
cut_r = 10.0;
LED_dia = 8;
LED_h = 2.6;
LED_dome = 2.62;
module heatsink(){
difference(){
for(i=[0:nu... | glb/cad_8f2c5cb7c245.glb |
Create a shelf-talker left bracket designed to hold a label and slide onto a shelf. Start by creating a rectangular base plate that is 3mm thick and extends the full length of the label text. On the left end of this base, construct a U-shaped bracket to grip the shelf. This bracket consists of two vertical walls and a ... | label_text = "fiction";
font_size = 20;
letter_spacing = 1;
font = "write/Letters.dxf";
shelf_thickness = 20;
build_plate_selector = 0;
build_plate_manual_x = 100;
build_plate_manual_y = 100;
build_plate(build_plate_selector,build_plate_manual_x,build_plate_manual_y);
use <write/Write.scad>
use <utils/build_pl... | glb/cad_02351d853080.glb |
Create a High Power LED mini Lamp Shade consisting of a hemispherical bowl and a cylindrical base.
First, construct the bowl as a hollow hemisphere with an outer diameter of 68mm and a wall thickness of 0.4mm.
Next, create a cylindrical base that fits beneath the bowl. The base should have a diameter of 48.96mm (72... | $fn = 90;
include <HighPowerLED_holder-lib.scad>
dia = 68;
tilt = 0;
offset = -.15;
wall_t = 0.4;
base_ratio = 0.72;
base_h = -3.5;
base_t = 1.5;
wire_hole_w = 5;
wire_hole_h = 2.5;
mount_hole = 3.5;
mount_hole_dis = 35;
diff_h = 15;
if(print_diff){
translate([0,0,diff_h]) rotate([180,0,0]) diffuser();
} else {
%... | glb/cad_96750c9a6f79.glb |
Create an adjustable L profile holder consisting of two separate components: a base and a holder.
First, construct the base as a rectangular block 10mm wide, 50mm high, and 3mm thick. At both the top and bottom edges, centered along the width, create a vertical hole 4mm in diameter that passes through the thickness. A... | base_width=10;
base_height=50;
base_thickness=3;
base_arm_lenght=15;
hole_diameter=4;
hole_border=3;
holder_width=25;
holder_height=20;
holder_thickness=10;
profile_width=15;
profile_height=10;
profile_thickness=1.6;
profile_border=3;
strip_space_width=11;
screw_hole_diameter=7;
screw_hole_depth=2;
spacing=0.2;
$... | glb/cad_f984a14a33ed.glb |
Create a Parametric Torch Holder consisting of a C-shaped clasp attached to a rectangular back plate.
First, construct the clasp by creating a cylinder with a radius of 18mm (15mm inner radius plus 3mm wall thickness) and a height of 30mm. Hollow out the center by removing a cylinder with a 15mm radius and 32mm heigh... | $fn=100;
torch_diameter = 30;
clasp_height = 30;
clasp_thickness = 3;
opening_angle = 25;
arm_length = 8;
arm_width = 10;
plate_rounded_opt = true;
plate_corner_radius = 1;
plate_depth = 6;
plate_width = 70;
plate_height = 30;
mount_holes_opt = false;
mount_holes_vertical = true;
mount_holes_pan = true;
mount_hole_d... | glb/cad_f5036d337bfa.glb |
Create a power strip wall mount bracket by starting with a solid rectangular block measuring 60mm wide, 50mm high, and 16mm thick. Carve out a central rectangular slot 40mm wide and 20mm high that passes completely through the thickness of the block. To form the grip for the power strip, remove material from the top of... | $fn = 64;
width = 55;
height = 42;
heightRadius = 60;
bracketHeight = 50;
bracketThickness = 16;
powerStripOpeningWidth = 40;
screwDiameter = 4.5;
screwHeadDiameter = 8.5;
screwHeadHeight = 3.5;
module powerStripCrossSection(thickness) {
intersection() {
translate([width / 2 - heightRadius, 0, 0])
cylinder(r=he... | glb/cad_0c718240cd0c.glb |
Create a retractable string keychain belt and pants clip. Start by constructing a main circular frame with a total height of 11mm. The outer boundary of this frame is a cylinder with a radius of 23mm. Inside this, create a concentric circular cutout with a radius of 18mm to form the inner wall, leaving a wall thickness... | wall_thickness = 1.5;
height_watch = 11;
height_cover = wall_thickness + height_watch;
radius_watch_glass = 36/2;
radius_cover_inner = radius_watch_glass + 5;
radius_cover_outer = radius_cover_inner + wall_thickness;
clasp_length = 12;
holder_height = 1;
holder_t = 2;
holders_cover_height = 6;
holders = 8;
holder_thic... | glb/cad_8844735e6f2c.glb |
Create a Trigger Spray Filter consisting of a hollow cylindrical tube and a conical base. Start by creating a main vertical tube with an outer diameter of 9.6mm and a height of 32mm, with a concentric inner hole of 6.6mm diameter running through its center. At the bottom of this tube, add a conical transition that flar... | $fn=100;
dia=20;
tube_dia=6.6;
wall=1.5;
wall2=wall*2;
difference() {
union() {
cylinder(d=tube_dia+wall2, h=32);
cylinder(d1=dia, d2=tube_dia, h=10);
}
union() {
cylinder(d=tube_dia, h=32);
cylinder(d1=dia-(wall+wall), d2=tube_dia-(wall+wall), h=10);
}
}
translate([0,0,10]) {
difference() {
cylinder(d... | glb/cad_053984570fb2.glb |
Create a surface-mount wall box for a coax F connector and a keystone jack. The main body is a rounded rectangular shell with overall dimensions of 100mm width, 42mm height, and 22mm depth, with a wall thickness of 2mm and corner radii of 5mm.
On the right side of the front face, create a circular opening for a coax b... | $fn = 24;
$fa = 5;
$fs = 0.01;
width = 100;
height = 42;
depth = 22;
radius = 5;
thickness = 2;
patternThickness = 0.15;
module rj45Receiver() {
difference() {
cube([18, 25, 9.9]);
translate([1.55, 2.6, 0]) {
cube([14.9, 19.44, 7.9]);
}
... | glb/cad_574db5949d9b.glb |
Create a cable clip designed to grip a desk edge. Start by constructing a C-shaped ring with a height of 20mm. The outer boundary of this ring is a rounded rectangle measuring 46mm in length and 36mm in width, with the ends capped by semicircles of 36mm diameter. The wall thickness of this ring is 3mm, created by remov... | min_thickness = 0.7;
$fn=48;
module rectacyl(width, length, height) {
union() {
translate([0, width / -2, 0])
cube([length - width, width, height]);
cylinder(h = height, d = width);
translate([length - width, 0, 0])
cylinder(h = height, d = width);
}
}
module clip() {
translate([18, 18, 0])
differen... | glb/cad_b334ec2ff516.glb |
Create a sew-on grommet for a sweater drying rack by starting with a square plate measuring 20mm by 20mm with a thickness of 1.4mm. In the center of the plate, create a circular hole with a diameter of 4.5mm that is rotated 45 degrees relative to the plate's axes. Around the perimeter of the plate, create a series of s... | hole_radius = 0.5;
hole_spacing = 1.54;
width = 20;
hole_margin = 1.5;
hole_offset = width / 2 - hole_margin;
thickness = 1.4;
center_hole_diam = 4.5;
center_hole_angle = 45;
difference() {
cube([width, width, thickness], center=true);
rotate(center_hole_angle, [1,1, 0])
cylinder(h = 15, r=center_hole_diam / 2, $f... | glb/cad_754ea56aca9b.glb |
Create a beam compass clip designed to attach to a yardstick. Start with a main rectangular block that is 34mm wide, 20mm high, and 20mm deep. From the center of this block, remove a rectangular channel that is 28mm wide, 3.7mm high, and 20mm deep to create a slot for the yardstick to slide into.
On the right side of... | yh=28;
yt=3.7;
th=3;
cw=20;
x=[1,0,0];
y=[0,1,0];
z=[0,0,1];
$fn=80;
module tube(hh,ro,ri){
difference(){
cylinder(r=ro,h=hh,center=true);
cylinder(r=ri,h=hh+1,center=true);
}
}
module arc(rad,seg,thick,ht){
difference(){
cylinder(r=rad,h=ht,center=true);
cylinder(r=rad+t... | glb/cad_525193d247d9.glb |
Create a moth repellant holder by starting with a main rectangular block that is 30mm wide, 6mm high, and 7.5mm deep. Carve a rectangular slot through the center of this block that is 23mm wide, 6mm high, and 2.5mm deep, leaving a wall thickness of 3.5mm on the sides and 2.5mm on the top and bottom. On the back face of... | slot_thickness = 2.5;
slot_width = 23;
material_thickness = 2.5;
total_width = slot_width + material_thickness * 2;
width = 6;
peg_diam = 5;
peg_depth = 6;
union() {
difference() {
cube([slot_thickness + material_thickness * 2, total_width, width]);
translate([material_thickness, material_thickness, 0])
cube([... | glb/cad_86aeb48b5959.glb |
Create a standoff bracket for a Mini Spartan 6 FPGA board designed to fit inside a small metal tin. Start by creating two thin rectangular plates, each 100mm long, 15mm wide, and 1mm thick. Position these plates so they intersect at the center, rotated 30 degrees relative to each other to form a symmetrical X-shape.
... | $fa=1;
$fs=1;
x=0;
y=1;
z=2;
board_size = [77, 52.5, 2];
tin_size = [91, 56, 19];
tin_radius = 11;
floor_thickness = 1;
wall_thickness = 1.5;
fitter_width = 1.75;
fitter_depth = 1;
module roundCornersCube(x,y,z,r) {
minkowski() {
cube([x - 2 * r, y - 2 * r, z], center=true);
cylinder(r=r, h=0.1);
}
}
module ... | glb/cad_aa7231358bf9.glb |
Create two identical jaw faceplates for holding a cylindrical object in a vise. For each faceplate, start with a central rectangular block measuring 56mm in width, 48mm in length, and 22mm in height. Center a cylindrical hole with a diameter of 42mm and a height of 23mm through the center of the block along the height ... | module holder(hole_diam) {
width = 50;
height = 22;
ear_width = 3;
face_spacing = 1.5;
total_length = hole_diam + ear_width * 2 + face_spacing * 2;
difference() {
cube([width + ear_width * 2, total_length,height], center = true);
cylinder(h = height + 1, r = hole_diam / 2, $fn=48, center = true);
translat... | glb/cad_673019bb186e.glb |
Create a dovetail grout holder consisting of a long central rail with dovetail joints at both ends. Start by creating a main rail that is 180mm long with a square cross-section of 6mm by 6mm. Carve a wide, diagonal channel through the center of this rail, rotated 45 degrees relative to the sides, leaving two thin paral... | length = 180;
width = 6;
interior = 2;
module rail() {
translate([0, 0, width * 0.7072])
rotate([-135, 0, 0])
difference() {
cube([length, width, width]);
translate([0, 0, width])
rotate([-45, 0, 0])
cube([length + 1, width * 2, width]);
cube([length + 1, interior, interior]);
}
}
modu... | glb/cad_8f99ea44410a.glb |
Create a Clamp style X-End bearing mount. Start with a main rectangular block measuring 68.2mm in length, 39.5mm in width, and 9mm in height. Centered on the top surface, add a cylindrical protrusion with a radius of 12.5mm and a height of 9mm to accommodate a threaded rod.
Cut a central vertical hole through this pro... | include <nuts_and_bolts.scad>;
xendclamp();
module xendclamp(){
module roundCorner(){
difference(){
translate([4,4,0]) cube([8,8,16.5], center=true);
cylinder(r=8, h=16.8, center=true, $fn=20);
}
}
rotate([180,0,0]) difference(){
union(){
translate([0,-3,0]) cube([68.2,39.5,9], center=true);
translate(... | glb/cad_a1978fa6c016.glb |
Create a Clamp style X-End bracket with a total height of 9mm. Start with a main rectangular block measuring 68.2mm in length, 39.5mm in width, and 9mm in height, centered on the origin.
Carve out two symmetrical smooth rod grooves. Each groove is formed by a combination of a central rectangular slot and two angled si... | include <nuts_and_bolts.scad>;
xend_bracket_height=9;
module xend_top(){
module roundCorner(){
translate([0,0,20]) difference(){
translate([4,4,0]) cube([8,8,50], center=true);
cylinder(r=8, h=50.1, center=true, $fn=20);
}
}
difference(){
translate([0,-3,0]) cube([68.2,39.5, xend_bracket_height], ce... | glb/cad_126000127c9b.glb |
Create a Clamp style X-End bearing mount. The main body consists of two mirrored vertical plates, each 35mm high, 15mm wide, and 3mm thick, separated by a central gap. These plates are angled away from each other at 155 and 130 degrees respectively to accommodate bearings.
In the center of the assembly, create a verti... | use <AO-x-end-top.scad>;
bearing_frame_thickness=5;
bearing_thickness=5;
washer_thickness=1;
xend_bracket_height=9;
bearing_space= bearing_thickness + (washer_thickness*2);
rod_thickness=8;
translate ( [0, 0, xend_bracket_height/2 ]) {
difference() {
translate( [ 0, -12, 4.5 ]) {
translate( [ (-bearing_space/2) + ... | glb/cad_3508088f45bb.glb |
Create a Garage Sensor Mount starting with a rectangular base measuring 22mm wide, 60mm long, and 2mm thick. Centered on this base, remove a circular hole with a 5mm diameter and a small rectangular slot measuring 5mm wide by 5mm long, both passing through the base.
At each end of the base's width, add a vertical sup... | baseWidth = 22;
baseLength = 60;
supportHeight = 18;
holeDiameter = 5;
union() {
difference() {
translate([-baseWidth/2, -baseLength/2, 0])
cube([baseWidth, baseLength, 2]);
translate([0, -baseLength/2, 0])
union() {
translate([0, 5, 0])
cylinder(10, d=holeDiameter, ... | glb/cad_3d93a1313ff7.glb |
Create a replacement brake for a kid's scooter. Start by constructing a curved main body based on a cylinder with a diameter of 85mm and a thickness of 2mm, then apply a Minkowski sum with a 10mm sphere to round all edges. Position this curved element so its center is at [0, -80, 0].
Integrate a rectangular mounting ... | module bracket() {
difference () {
translate([0,-18,1.5]) cube([22,36,3], center=true);
translate([5,-7.8,-0.5]) cylinder(d=5,h=5);
translate([5,-7.8,0.5]) cylinder(r1=0,r2=8,h=5);
translate([-5,-7.8,-0.5]) cylinder(d=5,h=5);
translate([-5,-7.8,0.5]) cylinder(r1=0,r2=8,h=5);
... | glb/cad_86804711c708.glb |
Create a set of customizable PCB standoffs. Each standoff consists of a main body and an optional top section. The main body is a hexagonal prism with a height of 15mm and a diameter of 6mm.
For the top section, create a cylindrical peg with a diameter of 2mm and a height of 4mm. Depending on the style, this peg shou... | Generate = 3;
Shape = 3;
BaseHeight = 15;
BaseDia = 6;
Style = 1;
TopHeight = 4;
TopDia = 2;
X_Offset = 15;
Y_Offset = 10;
Columns = 3;
Rows = 3;
Shapes = [1:3];
Styles = [1:5];
RndFrags = 50;
module standoffTop(style, baseHeight, topHeight, diameter) {
radius = diameter/2;
if (style == 1) {
translate(... | glb/cad_f2eebb247a41.glb |
Create a door wedge with a length of 102mm, a width of 30mm, and a height of 15mm. The overall shape is a right-triangular prism where the height remains constant at one end and tapers down to zero along the length, creating a sloped hypotenuse.
On the top surface, center the text "329" with a height of 15mm and a thi... | use <write/Write.scad>
L=102*1;
W=30*1;
HW=15*1;
text="329";
label=str(text);
hole=3;
tooth=2;
theta=atan(W/L);
center=0*1;
h = W*.5;
t = 2*1;
space =.8*1;
rotate=0*1;
font = "write/BlackRose.dxf";
difference(){
wedge(L,W,HW);
translate([((10+len(label))*L/12)-(len(label)*8),W/8,t*.9])rotate([0,180,0]... | glb/cad_110a90300922.glb |
Create a Honeycombed Square by constructing a square plate measuring 50mm by 50mm with a thickness of 3mm. The plate should feature a structural honeycomb pattern of hexagonal cutouts. Each wall of the honeycomb grid must have a uniform width of 3mm. The hexagonal cells are formed by beams with a length of 10mm. Ensure... | _1_width = 50;
_2_height = 50;
_3_depth = 3;
_4_beam_width = 3;
_5_beam_length = 10;
module honeycomb_branch(beam_width, beam_length) {
union() {
translate([-beam_width / 2, -beam_width / 2, 0])
cube([beam_length, beam_width, beam_width]);
rotate([0, 0, -120])
translate([-beam_width / 2, -beam_wi... | glb/cad_46e5132014aa.glb |
Create an RC receiver antenna protector consisting of a rectangular base and two protruding protective tubes. Start by creating a rectangular base 41.2mm long, 8.1mm wide, and 5mm thick. Center two 3.1mm diameter circular mounting holes through the base, spaced 35mm apart.
From the center of the base, extend two hollo... | $fn = 90*1;
EPS = 0.1*1;
DIA_ANT_TUBE = 2;
DIA_ANT_OUTER_TUBE = DIA_ANT_TUBE + 3;
TUBE_LEN = 100;
TUBE_CTR_OFFS = 0.25*1;
DIA_MOUNT_HOLES = 3.1;
WIDTH_MOUNT_HOLES = 35;
BASE_WIDTH = DIA_ANT_OUTER_TUBE + DIA_MOUNT_HOLES + 0.1;
BASE_LENGTH = WIDTH_MOUNT_HOLES + 2 * DIA_MOUNT_HOLES + 0.1;
BASE_HEIGHT = 5*1;
rotate... | glb/cad_ccd53f2a6a00.glb |
Create a mini baseball cap by constructing a hollowed hemispherical shell with a protruding brim. Start with a sphere of 31mm radius. To create the cap's crown, remove the top portion of the sphere using a cube of 62mm width and depth and 31mm height, centered at a height of 15.5mm, and hollow out the interior by remov... | $fn = 100;
cap_r = 31;
cap_h = 2;
cap_x = cap_r/2;
cap_t = cap_h;
module baseball_cap() {
difference() {
union(){
difference(){
sphere(r=cap_r, center=true);
translate([0,0,cap_r/2]) cube(size=[2*cap_r,2*cap_r,cap_r],center=true);
}
translate([cap_x,0,-cap_h/2]) cylinder(h=cap_h,r=cap_r-cap_h,center=true);
}
diffe... | glb/cad_5b4892f2aad7.glb |
Create a rectangular case for an rx5808 Diversity Receiver board. Start with a solid base plate measuring 104mm in width, 64mm in depth, and 2mm in height. At each of the four corners of the base, add a cylindrical mounting stud with a diameter of 3mm and a height of 4.1mm, centered vertically at 2mm.
From this base, ... | width = 100;
depth = 60;
height = 2;
wall=2;
boardheight=39;
difference() {
translate([50,30,0]) {
union() {
translate([0,0,0]) {
cube([(width+2)+(wall*2), (depth+2)+(wall*2), (height)], true);
}
translate([-(width/2),-(depth/2), 2]) {
cylinder(d=2.99, h=4.1, $fn=100, center=tr... | glb/cad_e71eaaec27de.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.