Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a RAMPS mounting bracket with a total height of 15mm. The main body is a rectangular slab approximately 100mm long. At the right end, create a vertical cylindrical cutout with a radius of 4mm to accommodate an M8 threaded rod, centered 7.3mm from the right and top edges.
Along the length of the bracket, incorp... | include <configuration.scad>
module endstop(){
outer_diameter = m8_diameter/2+3.3;
screw_hole_spacing = 48.26;
difference(){
union(){
translate([outer_diameter, outer_diameter, 0]) cylinder(h =15, r = outer_diameter, $fn = 20);
translate([outer_diameter, 0, 0]) cube([15.5,outer_diameter*2,15]);
translate([-73,... | glb/cad_66a904e1c383.glb |
Create a lens focus mechanism consisting of several concentric cylindrical components. Start by creating an inner tube with an outer diameter of 62mm and an inner diameter of 57.86mm, extending to a height of 47.5mm. Surround this with a larger outer tube that has an outer diameter of 73mm and an inner diameter of 68.5... | $fn=40;
filter_tube_length=47.5;
ftube_od=62;
ftube_id=57.86;
od=73;
otube_id=68.5;
#focusring();
module focusring(){
inner_tube();
ring();
pins();
outer_tube();
guide_tube_and_mount();
}
module inner_tube(){
color([1,0.5,0.5]) translate([0,0,-filter_tube_length+5.5]) difference(){
linear_extrude(height=filter_tube... | glb/cad_dbc5be6effb1.glb |
Create a Prusa i2 motor X end with a built-in Z endstop activator. Start by constructing the main X end body with curved sides and a closed end. Integrate a NEMA 17 motor mount that features a thickness of 9mm and follows a standard NEMA 17 hole spacing of 30.48mm (1.2 inches). The mount should include four mounting ho... | include <configuration.scad>
include <gregs-lm8uu-holder.scad>
use <teardrop.scad>
corection = 1.17;
use <x-end.scad>
xendmotor(endstop_mount=false,curved_sides=true,closed_end=true,luu_version=false,adjustable_z_stop=true);
module xendmotor(endstop_mount=false,curved_sides=false,closed_end=true,luu_version=false,ad... | glb/cad_65003686580d.glb |
Create a Prusa i2 motor X end with a built-in Z endstop activator by constructing a 20mm long extruded teardrop shape. Start with a 2D profile consisting of a circle with a radius of 4.5mm, but modify the circle by replacing a portion of its arc with a flat-topped polygon. Specifically, the profile should be defined by... | teardrop();
module teardrop (r=4.5,h=20,top_and_bottom=false)
{
rotate([-270,0,90])
linear_extrude(height=h,convexity=10)
{
circle(r=r, $fn = 24);
polygon(points=[[0,0],[r*cos(30),r*sin(30)],[0.5*r,r],[-0.5*r,r],[-r*cos(30),r*sin(30)]],
paths=[[0,1,2,3,4]]);
if (top_and_bottom)
polygon(points=[[0,0],[r*... | glb/cad_bdff68005d18.glb |
Create a Prusa i2 motor X end with a built-in Z endstop activator. The main body consists of two mirrored side sections joined by a central structure. Each side section is a block with a height of 15.8mm and a length of 40mm.
In the center, create a rod support area with a width of 10mm and a bushing support area wit... | include <configuration.scad>
corection = 1.17;
use <bushing.scad>
use <teardrop.scad>
axis_diameter_real=4;
axis_diameter_larger=4.5;
add_strength=false;
xend_height=15.8;
xend_length=40;
solid_end_width=3;
slot_width=1;
pad_height=5.2;
pad_width=7;
pad_connector_height=3.3;
bushing_support_width=17;
rod_support_widt... | glb/cad_1acce7777834.glb |
Create a Prusa i2 motor X end with a built-in Z endstop activator. The main body is a vertical block 45mm high, 20mm wide, and 10mm deep. At the center of the block, create a vertical cylindrical hole with a radius of 7.7mm that runs through the entire height.
To form the outer profile, combine the central block with... | include <configuration.scad>
z_linear_bearings(luu_version=true);
luu_height=45;
uu_height=24;
module z_linear_bearings(luu=false,override_height=-1)
{
translate(v=[0,9.5,0]) rotate(a=[0,0,90])
assign (height=(override_height>0)?override_height:luu_version?luu_height+4+1:65)
{
difference()
{
union()
{
tra... | glb/cad_1545ab3045e3.glb |
Create a Roller Brake Tool consisting of a main body with a recessed center. The body is a rounded rectangular block with a total thickness of 13mm. The overall footprint is defined by a central rectangle with rounded corners (radius 8mm) and further rounded edges (radius 4mm).
The tool features two symmetrical cable ... | length_f = 101;
length_r = 99;
part = "a";
$fs = $preview ? 2.5 : .5;
$fa = $preview ? 5 : 1;
overlap = .1;
radius_1 = 8;
radius_2 = 4;
base_thickness = 13;
Print_Part();
module Base_Solid(){
module Base_Outline(){
outline = [
[-(23 - (radius_1+radius_2)), -(23 - (radius_1+radius_2))],
... | glb/cad_daf5ed5ed431.glb |
Create an Ice Cube Mold by constructing a hollow cylindrical container with an outer diameter of 36mm and an inner diameter of 33mm, reaching a total height of 30mm. This creates a wall thickness of 1.5mm around the perimeter. Inside this cylinder, carve out a void based on a scaled-down version of the Galdhopiggen mou... | model_filename = "berg_1.stl";
model_rotate = [180,0,0];
model_translate = [0,0,0];
model_scale = .70;
mold_diameter = 33;
mold_height = 30;
mold_spacing = 5;
makeForm();
module makeForm() {
translate([0, 0, mold_height]) former();
former_border();
}
module former_border() {
difference() {
cyli... | glb/cad_4b2f24d51a3d.glb |
Create a Personalized Soda Can Holder consisting of a cylindrical sleeve and a handle.
Start with a main cylindrical body designed to fit a can with a diameter of 68mm. The sleeve is split into two rings: a bottom ring with a height of 40mm and a top ring with a height of 15mm, separated by a gap. Both rings have a w... | include <rotational_bitmap.scad>
Can_Diameter = 68;
Can_Height = 120;
Holder_Wall_Thickness = 2.1;
Holder_Floor_Thickness = 2;
Holder_Bottom_Height = 40;
Holder_Top_Height = 15;
Holder_Total_Height = 95;
Bolt_Diameter = 3.25;
Holder_Tab_Height = 15;
Holder_Tab_Length =15;
Handle_Thickness = 10;
Handle_Width = 10;... | glb/cad_3ce3f09f3333.glb |
Create a Portabee base stabilizer consisting of a U-shaped bracket with a total depth of 17mm and a wall thickness of 3mm. The main body is a rectangular channel with an inner width of 71mm and an inner height of 44mm. The structure features two flat base plates extending outward from the bottom of the vertical walls. ... | depth=17;
inner_width=71;
inner_height=44;
thickness=3;
outer_width=inner_width+thickness;
outer_height=inner_width+thickness;
base=15;
$fn=50;
module motor_support_hole() {
cylinder(d=6, h=1000, center=true);
}
module base() {
difference() {
cube([base,depth,thickness]);
translate([base/2, ... | glb/cad_169ef0e1ffc7.glb |
Create a simple endstop holder for a v1.2 PCB endstop. The base is a flat plate with a height of 10mm. On one end, create a semi-circular wrap designed to fit around an 8mm diameter rod. This curved section has an outer radius of 7.5mm and a wall thickness of 3.5mm, forming a C-shape that allows the holder to clip onto... | rodDiameter = 8;
mainWall = 4;
height = 10;
endstopSpacing = 19;
endstopSpacing2 = 11;
module mainCurve(rod = 8, wall = 4, h = 10) {
extra = 0.5;
curveWall = wall - extra;
innerRad = rod/2;
outerRad = (innerRad + curveWall);
difference() {
union() {
cylinder(h=h, r = outerRad, $fn=50);
translate([-outerRa... | glb/cad_95111b1ca41a.glb |
Create a rectangular cap for an LED profile or tube. Start by constructing a solid rounded cube with a total width of 21.7mm, a depth of 11.5mm, and a height of 9.5mm. The vertical edges and corners of this outer shell should have a rounding radius of 2mm.
Hollow out the center of this shape to create a rectangular c... | rounding_Radius = 2;
wall_Thickness = 2;
internal_Width = 17.7;
internal_Depth = 7.5;
internal_Height = 7.5;
$fn = 32;
delta = 0.01;
difference()
{
rounded_cube(width = internal_Width + 2 * wall_Thickness,
depth = internal_Depth + 2 * wall_Thickness,
height = internal_Height + wal... | glb/cad_e293b4a084da.glb |
Create a set of involute spur gears and a gear rack. For each gear, define a circular pitch (mm per tooth) and a pressure angle (e.g., 28 degrees) to ensure they mesh.
Construct the gears by creating a base circle, a root circle, and an outer circle. The teeth should be formed by involute curves—paths traced by a stri... | module gear (
mm_per_tooth = 3,
number_of_teeth = 11,
thickness = 6,
hole_diameter = 3,
twist = 0,
teeth_to_hide = 0,
pressure_angle = 28,
clearance = 0.0,
backlash = 0.0
) {
n = floor(number_of_teeth);
p = mm_per_tooth * n / PI / 2;
c... | glb/cad_28b8f01bab9c.glb |
Create a set of involute gears and a gear rack. For the gears, use a circular pitch of 9mm and a pressure angle of 28 degrees.
First, create a large internal ring gear with 60 teeth, a thickness of 6mm, and a center hole of 3mm. The teeth should be oriented inward.
Inside this ring, place a small spur gear with 12 te... | module gear (
mm_per_tooth = 3,
number_of_teeth = 11,
thickness = 6,
hole_diameter = 3,
twist = 0,
teeth_to_hide = 0,
pressure_angle = 28,
clearance = 0.0,
backlash = 0.0
) {
n = floor(number_of_teeth);
a = (twist) ? tan(twist)*thickness/(... | glb/cad_ab4adb71dcda.glb |
Create a magnetic food storage clip consisting of two identical mirrored halves. For each half, start with a rectangular base measuring 7mm wide, 130mm long, and 15mm high. Carve a deep longitudinal channel through the center of the base to create a U-shaped profile. At one end of the clip, create a hollow rectangular ... | module A()
{
difference()
{
cube([6,130,15]);
translate([4,0,10])rotate([0,45,0])cube([6,110,15]);
translate([4,0,5])rotate([0,45,0])cube([6,110,15]);
translate([0,115,2.5])cube([5,10,10]);
translate([0,115.3,2.8])cube([6,9.4,9.4]);
translate([-1,132,0])rotate([0,0,-40])cube([20,20,15]);
}
... | glb/cad_4ee4ebdf50f0.glb |
Create a Tap or Drill Guide Block by starting with a solid cylinder 56mm in diameter and 30mm thick, centered on the origin. Remove a smaller concentric cylinder from the center with a diameter of 26mm and a height exceeding 30mm to create a through-hole. Around this center, create 9 evenly spaced circular holes arrang... | $fa = 3;
$fs = 0.1;
nHoles = 9;
rBlock = 28;
rCenter = rBlock / 2 - 1;
rHoles = 20;
tBlock = 30;
rMin = 1;
rMax = 5;
rStep = (rMax-rMin)/(nHoles-1);
sepHoles = 360 / nHoles;
difference() {
cylinder(tBlock, rBlock, rBlock, center = true);
cylinder(tBlock + 1, rCenter, rCenter, center = true);
union() {
f... | glb/cad_2239079aecab.glb |
Create a Mounting Peg for a pegboard system. The object consists of two mirrored halves connected by a thin, flexible bridge, designed to be printed flat and then folded.
Each half is based on a mounting profile that includes a straight peg and a hook peg. The pegs are cylinders with a diameter of 5.65mm (6.35mm minus... | Part = "Mounting Peg";
Pegboard_Depth = 4;
Hole_Diameter = 6.35;
Hole_Grid_Size = 25.4;
Mount_Tolerance = 0.35;
Peg_Tolerance = 0.35;
Mounting_Slot_Type = "Minimal";
Mount_Slot_Top_Dist = 2;
RoundedBin_WallThickness = 2;
RoundedBin_Interior_X = 50;
RoundedBin_Interior_Y = 50;
RoundedBin_Interior_Z = 70;
R... | glb/cad_2cb6c373ab1f.glb |
Create a panel mount for a USB-B connector. Start by creating a rectangular base plate measuring 26mm wide by 16mm high with a thickness of 1.5mm, ensuring the four corners are rounded with a radius of 0.8mm.
In the center of this plate, create a square opening measuring 10mm by 10mm that passes through the thickness... | $fn=32;
USB_w = 12.5;
USB_h = 12.5;
USB_d = 16.5;
USB_w_open = 10;
USB_h_open = 10;
panel_w = 26.0;
panel_h = 16.0;
panel_t = 1.5;
radius = .8;
radius2 = radius / 2;
adapter();
module adapter() {
difference() {
translate( [ -panel_w / 2, -panel_h /2, 0])
roundCube(panel_w, panel_h, panel_... | glb/cad_e6ca70e07868.glb |
Create a panel mount for a USB-B connector. Start with a circular base plate with a radius of 13mm and a thickness of 1.5mm. In the center of this plate, create a square opening measuring 10mm by 10mm that passes through the thickness of the plate.
Around this opening, build a rectangular housing to secure the connect... | $fn=32;
USB_w = 12.5;
USB_h = 12.5;
USB_d = 16.5;
USB_w_open = 10;
USB_h_open = 10;
panel_w = 26.0;
panel_h = 16.0;
panel_t = 1.5;
panel_r = 13;
radius = .8;
radius2 = radius / 2;
adapter();
module adapter() {
difference() {
translate( [ 0 , 0 , panel_t/2])
cylinder(panel_t, r=panel_r,c... | glb/cad_1e7670adcc63.glb |
Create a customizable signet ring. Start by forming the main body from a sphere with a diameter of 25mm, scaled to be 80% of its size along the Y-axis and 120% along the Z-axis. Hollow out the center to create a finger hole by removing a cylinder with a diameter of 20mm and a height of 50mm, centered on the Y-axis. Fur... | part="all";
base_height=1;
border_size=1;
text_height = 1;
ring_text = "Love";
font_size=5;
font_type = "Arial";
font_style = "";
font_halign="center";
font_valign="center";
font_spacing=1;
font_direction="ltr";
font_language="en";
font_script="latin";
animation_rotation = false;
$fn=100;
is_animated = ... | glb/cad_f325f402836b.glb |
Create a 3D molecular model of Lactic acid. Start by placing a central sphere with a diameter of 25mm at the origin. Position two additional 25mm spheres at coordinates [69, 0, -41] and [-69, 0, -41]. Place a 20mm sphere at [140, 0, -2].
Connect these spheres using hexagonal prisms (6-sided cylinders) with a radius of... | module tetraedre(tx, ty, tz, diametre, diametre2) {
translate([tx, ty, tz]) {
rotate([0,169,0]) {
cylinder(r=7.5, h=75, $fn=6);
translate([0, 0, 80])
sphere(diametre2);
}
rotate([60,-35.5,0]) {
cylinder(r=7.5, h=80, $fn=6);
translate([0, 0, 80])
sphere(diametre);
}
rotate([-60,-35.5,0]) ... | glb/cad_6f3dc1ad0d37.glb |
Create a customizable signet ring. Start by forming the main body from a sphere with a diameter of 25mm, scaled to 1.0 in X and Z but 0.8 in Y. Hollow out the center to create a finger hole by removing a cylinder with a 20mm diameter and 50mm height, centered and rotated 90 degrees. Further refine the shape by removing... | part="all";
base_height=1;
border_size=1;
text_height = 1;
ring_text = "Love";
text_position_x = 0;
text_position_y = 0;
text_rotation = 0;
font_size=5;
font_type = "Arial";
font_style = "";
font_halign="center";
font_valign="center";
font_spacing=1;
font_direction="ltr";
font_language="en";
font_script... | glb/cad_f83eae1b6457.glb |
Create a two-part electronic device packaging consisting of a top and bottom half that fit together. The internal cavity should accommodate a device of 26mm x 36mm x 40mm with a 1mm clearance on all sides. The walls of the packaging must be 2mm thick with external corners rounded to a 3mm radius.
Construct the bottom ... | device_xyz=[26,36,40];
clearance_xyz=[1,1,1];
wall_t=2;
corner_radius=3;
corner_sides=3;
lip_h=2;
top_bottom_ratio=0.4;
has_mouseears=false;
mouse_ear_thickness=1;
mouse_ear_radius=10;
layout="beside";
separation=2;
lip_fit=0.2;
holes = [
["N", "Cone", [8,10,0,0,0,"inside"], [4,5,4,8] ],
["E", "Ro... | glb/cad_6eb6e3b71148.glb |
Create a 3D model of a Potassium hexachloromanganate unit cell structure.
Start by defining a cubic unit cell with a side length of 9.6445mm. Place manganese atoms as spheres with a radius of 1mm at the eight corners of the cell and at the centers of the six faces.
Next, create a smaller internal cubic grid by placi... | cell = 9.6445;
x =0.236;
mn_simple();
module show_27()
{
for (i = [-1:1:1])
for (j = [-1:1:1])
for (k = [-1:1:1])
{{{
echo (i,j,k);
translate([i*cell,j*cell,k*cell])
mn_all(1);
}}} }
module mn_simple()
{
scale(4)
{
face_centered(1);
bond(0,0,0,0,0,cell,0.5);
bond(cell,0,0,cell,0,cell,0.5);
... | glb/cad_41b50916d450.glb |
Create a double-ended measuring spoon consisting of two hemispherical bowls connected by a central rectangular handle.
First, create the larger bowl as a hollow hemisphere with an inner radius of 13.301mm and a wall thickness of 1.5mm. Attach a rectangular handle to the base of this bowl; the handle should be 15mm wi... | radius1 = 13.301;
radius2 = radius1 / pow(4, 1/3);
handle_width = 15;
scoop_thickness = 1.5;
handle_thickness = 1.5;
handle_length = 20;
hole_radius = 0;
res = 50;
union(){
translate (v = [0, 10, 0])
{
spoon(radius1);
}
translate (v = [0, 0, 0])
{
rotate (a = [0, 0, 180])
{
spoon(radius2);
}
}
}
... | glb/cad_bc67e4bd414e.glb |
Create a Customizable Spool Holder consisting of a vertical cylindrical sleeve mounted on a flat base. Start with a base formed by the union of a central cylinder with a radius of 11mm and a height of 5mm, and a rectangular bracket measuring 20mm by 62mm with a thickness of 5mm, centered on the cylinder. From this base... | CD=22;
RW=86;
difference(){
union(){
cube([20,CD+40,5],center=true);
translate([0,0,0])rotate([0,0,0])
cylinder(h=5, r=CD/2+CD*0.1,$fn=48,center=true);
translate([0,0,(RW+20)/2])
cylinder(h=RW+20, r=CD/2,$fn=48,center=true);
translate([0,0,RW+10])
cylinder(h=20, r2=CD/2,r1=CD/2+1.3,$fn=48,center=true);
}
translate([0... | glb/cad_62e1579da51b.glb |
Create a spool holder for a 3D printer frame. Start with a main cylindrical body that has an outer radius of 28.5mm and a height of 11mm. Create a central vertical hole through this body with a radius of 25.5mm.
At the base, create a recessed cylindrical cavity to house a ball bearing. This cavity should have a radius... | spool_inside_diameter = 53.5;
spool_tickness = 10;
save_pla = 1;
locking_ring = 1;
$fn = 100;
ball_bearing_tickness = 7;
ball_bearing_diameter = 21.7;
spool_holder_tickness = 2;
spool_inside_radius = spool_inside_diameter * 0.5;
inside_diameter = ball_bearing_diameter + ball_bearing_diameter * 0.75;
inside_radius =... | glb/cad_3bf0db0f10cc.glb |
Create a spool holder for a 3D printer frame. Start with a main cylindrical body that has an outer radius of 21mm and a height of 9mm. Inside this body, create a central vertical hole with a radius of 17mm.
To accommodate the bearing, create a larger cylindrical cutout centered in the body with a radius of 9.25mm and... | spool_inside_diameter = 38;
spool_tickness = 6;
save_pla = 1;
locking_ring = 1;
$fn = 100;
ball_bearing_tickness = 7;
ball_bearing_diameter = 21.7;
spool_holder_tickness = 2;
spool_inside_radius = spool_inside_diameter * 0.5;
inside_diameter = ball_bearing_diameter + ball_bearing_diameter * 0.75;
inside_radius = in... | glb/cad_9a4d863313b1.glb |
Create a spool holder for a 3D printer frame. Start with a main cylindrical body that has an outer radius of 30.75mm and a height of 33mm. This body should have a central vertical hole with a radius of 22.75mm and a height of 34mm.
Within the main body, create a larger central cavity to house a ball bearing. This cavi... | spool_inside_diameter = 53.5;
spool_tickness = 28;
save_pla = 1;
locking_ring = 1;
$fn = 100;
ball_bearing_tickness = 7;
ball_bearing_diameter = 21.7;
spool_holder_tickness = 4;
spool_inside_radius = spool_inside_diameter * 0.5;
inside_diameter = ball_bearing_diameter + ball_bearing_diameter * 0.75;
inside_radius =... | glb/cad_5dad80c4155f.glb |
Create a toothpaste cap by starting with a solid cylinder 19mm in diameter and 11.5mm in height, positioned so its base is 2.01mm below the origin. From the center of this cylinder, remove an internal buttress thread with an outer diameter of 16.3mm, a pitch of 2.1mm, and a length of 8mm. Finally, remove a smaller conc... | include <threads.scad>
$fn=40;
difference(){
translate([0,0,-2.01])
cylinder(d=19, h=11.5);
buttress_thread(16.3, pitch=2.1, length=8, internal=true,n_starts=1);
translate([0,0,7.9])
cylinder(d=16.5, h=10);
} | glb/cad_3841b67c46c7.glb |
Create a Rounded Cube Pen Holder with an outer dimension of 80mm. Start by constructing a solid rounded cube using a convex hull of eight spheres, each with a radius of 12mm. Position these spheres at the corners of a cube with a side length of 56mm (calculated as the outer dimension minus twice the radius), so the tot... | dimension = 80;
factorradius2dim = 12 / 80;
wall = 2.0;
userColorRGB = [0/255, 48/255, 112/255];
userColorAlpha = 255/255;
radius = dimension * factorradius2dim;
$fn = 50;
offset4sphere = dimension - (2 * radius);
innerhulltopextension = wall + radius;
innerradius = radius - wall;
color(userColorRGB, userColo... | glb/cad_eb030556c8e6.glb |
Create a chopstick by constructing a long, tapered geometric form. Start with a base section consisting of a cylinder with a bottom radius of 2mm and a top radius of 4mm, extending to a height of 83.33mm. Directly on top of this, add a second cylinder with a constant radius of 4mm and a height of 166.67mm, resulting in... | $fn=4;
module chopstick(len) {
scale([1,1.3,1])
rotate([0,0,45])
difference() {
union() {
cylinder(r1=2, r2=4, h=len/3);
translate([0,0,len/3])
cylinder(r=4, h=2*len/3);
}
rotate([0,0,45])
translate([3,0,len/2])
cube([4,10,len*1.1], center=true);
}
}
module p1() {
intersection() {
chopstick(250);
rotate([0,0,-9... | glb/cad_a9194de44d59.glb |
Create a Resource Card Organizer consisting of three main components: a base, a box, and a lid. Use a card stack dimension of 55mm length, 81mm width, and 10mm height as the reference for all parts.
First, create the base. Start with a rectangular plate 59mm by 81mm and 2mm thick. Add two vertical side walls, each 2mm... | _l = 55;
_w = 81;
_h = 10;
module holder_base_basic(l,w,h)
{
cube([l,w,2], center=true);
translate([0,(w/2)-2,0])
rotate([0,90,0])
cylinder(l+3,d=2,d=2, center=true, $fn=20);
translate([0,-((w/2)-2),0])
rotate([0,90,0])
cylinder(l+3,d=2,d=2, center=true, $fn=20);
}
module holder_base(l,w,h)
{
l_mod = l + 4... | glb/cad_2594c2e80029.glb |
Create a two-part protective case for an LVC desulphator circuit board measuring 40mm by 66.5mm by 1.6mm.
Construct the bottom section as a hollow rectangular box with a wall thickness of 1.2mm and corner radii of 1.2mm. The interior should accommodate the PCB with a 0.5mm margin on all sides. Include four mounting p... | pcb = [40.0, 66.5, 1.6];
pcb2floor = 4.0;
pcb2roof = 24.0;
pcbmnt = [pcb[0]/2-4.5, pcb[1]/2-4.5,
-(pcb[0]/2-4.5), -(pcb[1]/2-4.5)];
pcbled = [0, -(pcb[1]/2-23.0)];
pcbmntdia = 3.1;
pcbmnthead = 6.2;
pcbmntthreads = 2.5;
breakaway = 0.3;
testpin = [pcb[0]/2-6.0, -pcb[1]/2+6.0, 4.2];
testpin_d = 20.0;
testpin_dia =... | glb/cad_0d149cbee7de.glb |
Create a OnePlus One simple bracket by starting with a solid cylinder that has a radius of 10mm and a height of 15mm, centered on the X and Y axes. Cut this cylinder in half along the XY plane to create a semi-cylindrical base. From the flat top surface of this semi-cylinder, remove a central rectangular block measurin... | h_phone=153;
w_phone=76;
t_phone=9;
linear_extrude(height = 2, center = false, convexity = 10)
import(file = "/base 2d.dxf", layer = "0");
linear_extrude(height = 11, center = false, convexity = 10)
import(file = "/base 2d.dxf", layer = "1");
translate([0,0,9])
linear_extrude(height = 2, center = false, convexity = ... | glb/cad_91b1a1e97140.glb |
Create a basic business card holder by starting with a solid rectangular block measuring 100mm wide, 20mm deep, and 25mm high. Hollow out the center of this block to create an open container, leaving a uniform wall thickness of 2mm on the bottom and all four sides. On the front exterior face of the holder, center the t... | boxWidth = 100;
boxHeight = 25;
boxDepth = 20;
wallThickness = 2;
name = "BKNJ";
typeStyle = "write/Letters.dxf";
typeSize = 12;
typeDepth = 3;
use <write/Write.scad>
difference()
{
cube([boxWidth, boxDepth, boxHeight]);
translate([wallThickness, wallThickness, wallThickness])
{
cube([boxWidth-wallThickness*2, boxDep... | glb/cad_1feb1fa95c69.glb |
Create a parametric bearing flange designed to hold a bearing with a diameter of 22mm and a thickness of 7mm. Start by creating a main cylindrical ring with an outer diameter of 23.8mm and an inner diameter of 22.4mm, extending it to a height of 30mm. From this ring, remove a central cylindrical core with a diameter of... | height = 1.2;
bearing_diameter = 22;
bearing_thickness = 7;
belt_width = 6;
flange_thickness = 1;
flange_size_outer = 3;
flange_size_inner = 1;
tolerance = 0.4;
$fn=90;
translate([0,0,bearing_thickness/2+height])
difference(){
union(){
difference(){
translate([0,0,-bearing_thickness/2])
cylinder(r=bearing_d... | glb/cad_6c9d8bdd36af.glb |
Create a volume knob for a Sony CDX-GT540UI stereo. Start by creating a main cylindrical body with a diameter of 22mm and a height of 6mm. The top surface of this cylinder should have a shallow, wide spherical dip carved into the center. To provide grip, place eight small spheres, each 2mm in diameter, evenly spaced ar... | fudge = 0.2;
knobCenter = 5.8;
knobDiameter = 22;
knobHeight = 6;
fpwidth = 46;
fplength = fpwidth+20;
fpheight = 10;
knobholediam = 18.5;
knobholeheight = 5.5;
knobpostheightlower = 3.3;
knobpostheighupper = knobpostheightlower+5.3;
knobslit = 0.75;
difference() {
knob();
partFaceplate();
}
%partFaceplate... | glb/cad_d1203dc79e0b.glb |
Create a volume knob for a Sony CDX-GT540UI stereo. The main body is a cylinder with a diameter of 22mm and a height of 6mm. The top face of the cylinder should be slightly concave, featuring a shallow central dip. To provide grip, place small spheres with a diameter of 2mm evenly spaced around the top perimeter of the... | fudge = 0.2;
knobCenter = 5.8;
knobDiameter = 22;
knobHeight = 6;
fpwidth = 46;
fplength = fpwidth+20;
fpheight = 10;
bumpheight = fpheight+5;
bumplength = fplength/2;
bumpwidth = fpwidth/2;
knobholediam = 18.5;
knobholeheight = 5.5;
knobpostheightlower = 3.3;
knobpostheighupper = knobpostheightlower+5.3;
knobslit... | glb/cad_bac3909d3f77.glb |
Create a Cabinet Faceplate Clip consisting of two mating parts: a peg and a socket.
First, construct the peg. Create a rectangular base 60mm long, 12mm wide, and 2mm high. Centered on this base, add a raised rectangular block 12.5mm long, 10mm wide, and 13mm high. Cap both ends of this raised block with hemispheres of... | $fs=0.1;
$fa=15;
render_part=2;
render_part=3;
module Faceplate_Clip_Peg_Body(extension=0.1
, base_width=12.0
, base_length=60.0
, base_height=2.0
, peg_outer_length=22.5
, peg_width=10.0
, peg_height=13.0
) {
union() {
translate([-base_length/2,-base_width/2,0]) cube(size=[base_length,base_width,base_h... | glb/cad_408f9c6db345.glb |
Create a basic business card holder by starting with a solid rectangular block measuring 100mm wide, 20mm deep, and 25mm high. Hollow out the center of this block to create an open-top box, leaving a uniform wall thickness of 2mm on the bottom and all four sides. On the front exterior face of the holder, center the tex... | name = "BKNJ";
typeStyle = "write/Letters.dxf";
typeSize = 12;
typeDepth = 3;
boxWidth = 100;
boxHeight = 25;
boxDepth = 20;
wallThickness = 2;
use <write/Write.scad>
difference()
{
cube([boxWidth, boxDepth, boxHeight]);
translate([wallThickness, wallThickness, wallThickness])
{
cube([boxWidth-wallThickness*2, boxDep... | glb/cad_943c83c190e1.glb |
Create a screwdriver holder starting with a rectangular base measuring 125mm in length, 35mm in width, and 3mm in height. Along the length of this base, create four identical tool slots positioned at 20mm, 50mm, 80mm, and 110mm from the origin.
Each slot is constructed by adding a vertical rectangular block 3mm wide,... | $fn=36;
x=20;
x2=50;
x3=80;
x4=110;
difference() {
union() {
translate([5,0,0])
cube([120,35,3]);
color("salmon") {
translate([x-1.5,1,3])
cube([3,29.7,9]);
translate([x,0,8])
rotate([-75,0,0]) cylinder(30,6.5,8);
translate([x2-1.5,1,3])
cube([3,29.7,9]);
translate([x2,0,8])
rot... | glb/cad_056e4ca3ca1b.glb |
Create a Kossel Spool Holder mount for a 1515 extrusion. Start with a rectangular base measuring 15mm wide by 30mm deep and 4mm thick, centered on the origin. On top of this base, add a second rectangular block measuring 15mm wide by 20mm deep and 10mm high, positioned so its center is 10mm along the depth axis and 4mm... | $fn=20;
module kosselSpoolHolder()
{
difference() {
union(){
translate([0, 5, 0])cube([15, 30, 4], center = true);
translate([0, 10, 4]) cube([15, 20, 10], center = true);
}
translate([0, -5, 0]) cylinder(r = 1.5, h = 4, center = true);
translate([0, 10, 6]) rotate([0, 0, 60]) cube([8, 30, 8], center = ... | glb/cad_1fe50736ad46.glb |
Create a Kossel Spool Holder mount for a 1515 extrusion. Start by constructing a base plate that is 15mm wide, 40mm long, and 4mm thick, centered on the origin. On top of this base, add a centered rectangular block that is 15mm wide, 20mm long, and 10mm high.
To create the mounting holes, remove two vertical cylinder... | $fn=20;
module kosselSpoolHolder()
{
difference() {
union(){
translate([0, 10, 0])cube([15, 40, 4], center = true);
translate([0, 10, 4]) cube([15, 20, 10], center = true);
}
translate([0, -5, 0]) cylinder(r = 1.5, h = 4, center = true);
translate([0, 25, 0]) cylinder(r = 1.5, h = 4, center = true);
t... | glb/cad_bbef60c6db0d.glb |
Create a Bowden tube wire clip by constructing a solid hull that encompasses two cylinders. The first cylinder has a diameter of 7mm (5mm cable diameter plus 2mm wall thickness) and the second has a diameter of 6.16mm (4.16mm tube diameter plus 2mm wall thickness). Both cylinders should have a height of 2.5mm. Position... | bowden_tube_diameter = 4.16;
cable_diameter = 5;
clip_width = 2.5;
clip_thickness = 1;
middle_thing_width = 0.3;
$fn = 30;
c2c_distance = (bowden_tube_diameter + cable_diameter)/2 + middle_thing_width;
inner_gap_width = 0.4*min(bowden_tube_diameter, cable_diameter);
bowden_gap_width = 0.5*bowden_tube_diameter;
d... | glb/cad_1dce449f08bb.glb |
Create a Customizable Punchcard consisting of a thin rectangular plate measuring 83.82mm by 45.72mm with a thickness of 2.54mm.
Subtract the following circular holes from the plate: two positioning holes with a diameter of 6.35mm, centered at (41.91mm, 6.35mm) and (41.91mm, 39.62mm), and four threading holes with a d... | Left_counter = 0;
Middle_counter = 0;
Right_counter = 0;
No_Purpose_Hole = 0;
Text="";
Text_position=0;
$fn=30;
include <write/Write.scad>;
punchcard();
module punchcard(){
scale([25.4,25.4,25.4])
difference(){
card(Text);
union(){
if (Left_counter == 1)
hole(3);
if (Left_counter == 2)
hole(1);
if (Left_co... | glb/cad_30954c310eca.glb |
Create a First 9 patch by constructing a rectangular frame and adding text. Start by creating a solid rectangular base measuring 50mm in length, 12mm in width, and 2mm in height. Hollow out the center of this base by removing a smaller rectangular section measuring 48mm by 10mm, positioned 1mm from the left and 1mm fro... | union(){
translate([6.5, 0.7,0])
color("black")
linear_extrude(height = 2, center = false)
import_dxf(file = "First9_v2.dxf");
difference() {
color("black") cube([50, 12,2]);
translate([1, 1,0.5])
color("white")cube([48, 10, 2]);
}
} | glb/cad_a2045ad51a64.glb |
Create a landing leg foot for an Alien 560 quadcopter. Start by centering a main vertical cylinder with a diameter of 12mm and a height of 35mm. At the base of this cylinder, add a conical transition section that extends 8mm downwards, tapering from a bottom diameter of 26mm up to the 12mm diameter of the main cylinder... | innerx=32.75;
innery=32.25;
innerz=27;
pinh=35;
pind=12;
thickness=5;
notchdepth=4;
notchdia=16;
$fn=128;
union()
{
#translate([0,0,0])
cylinder(r=pind/2,h=pinh);
#translate([0,0,-4])
cylinder(r1=5+notchdia/2,r2=pind/2,h=8);
#translate([0,0,-(notchdepth+4)])
cylinder(r=notchdia/2,h=notchdepth);
} | glb/cad_ea5834022e02.glb |
Create a landing foot for an Alien 560 quadcopter. Start by creating a solid cube with dimensions 43.75mm x 43.25mm x 37mm. From the center of this cube, remove a smaller rectangular volume measuring 33.75mm x 33.25mm x 27mm to create a hollow interior. To allow access to this cavity, remove two thin slots from the opp... | innerx=33.75;
innery=33.25;
innerz=27;
pinh=5;
pind=12;
pith=4.25;
pitd=16;
thickness=10;
notchd=4;
notchw=6;
$fn=128;
union()
{
difference()
{
translate([-(innerx/2)-thickness/2,-(innery/2)-thickness/2,-(innerz/2)-thickness/2])
cube([innerx+thickness,innery+thickness,innerz+thickness]);
translate([-innerx/2... | glb/cad_cc1770c2765e.glb |
Create an LM8UU bearing mount consisting of a rectangular base plate and a central housing. Start with a base plate 46mm wide, 40mm long, and 6mm high. In this plate, create four vertical screw holes with a radius of 1.7mm, positioned at x = ±17.25mm and y = ±14mm. At the top of each hole, create a hexagonal nut trap w... | screw_dia = 3.4;
nut_dia = 6.5;
nut_height=3;
body_width = 33;
gap_width = 10;
body_height = 22;
body_length=40;
LM8UU_dia = 15.5;
screw_elevation = body_height-1.5;
plate_height = 6;
plate_length=body_length;
plate_width=46;
screw_space_x = 34.5;
screw_space_y=28;
lm8uu_length=23;
module mount_plate()
{
difference... | glb/cad_2c2d05b310e7.glb |
Create an acoustical lens consisting of a hollowed cylinder. Start with a solid outer cylinder that has a radius of 9mm (18mm diameter) and a total height of 11mm.
From the center of this solid, remove a smaller concentric cylinder with a radius of 8mm (16mm diameter) and a height of 10mm to create a wall thickness o... | variant = 4;
wall = 1.0;
sensor_diameter = 16.0;
sensor_height = 10.0;
aperture = 8.5*0.5;
split = 1.0;
nosplit = 2.0;
d = 0.01;
module var1() {
difference() {
cylinder(r = sensor_diameter/2 + wall, h = sensor_height + wall, $fn = 50);
translate([0,0,-d]) {
cylinder(r = sensor_diameter/2, h = sensor_height+... | glb/cad_1e56f2b96032.glb |
Create a tool holder for a Torx set by starting with a rectangular base measuring 145mm in length, 30mm in width, and 3mm in height. Along the length of this base, create six evenly spaced tool slots starting at 10mm and repeating every 25mm (at positions 10, 35, 60, 85, 110, and 135mm).
Each slot is formed by adding... | $fn=36;
x=10;
x2=35;
x3=60;
x4=85;
x5=110;
x6=135;
difference() {
union() {
translate([0,0,0])
cube([145,30,3]);
color("salmon") {
translate([x-1.5,1,3])
cube([3,24,9]);
translate([x,0,8])
rotate([-75,0,0]) cylinder(25,4.5,5);
translate([x2-1.5,1,3])
cube([3,24,9]);
transl... | glb/cad_02aca3fa71ba.glb |
Create a Dual i3 Bowden JHead Hotend Mount. Start with a rectangular base plate measuring 58mm x 30mm x 5mm. On top of this base, add a Jhead mount block measuring 58mm x 15mm x 15mm, positioned at y=8mm. Further add a pneumatic fittings mount using a hull operation that connects a base of 58mm x 7mm x 5mm (at y=23mm) ... | include <hardware.scad>
include <functions.scad>
include <hotend mount clamp v2.scad>
module xCarriageMount()
{
difference()
{
union()
{
cube([58,30,5]);
translate([0,8,0])
cube([58,15,15]);
hull()
{
translate([0,23,0])
cube([58,7,5]);
translate([17.5,30,14])
ro... | glb/cad_6137df6ca013.glb |
Create a Dual i3 Bowden JHead Hotend Mount. Start with a rectangular base plate measuring 58mm x 30mm x 5mm. On top of this base, add a central rectangular block measuring 58mm x 15mm x 15mm, positioned from y=8 to y=23. Above this, create a pneumatic fitting mount by forming a hull between a 58mm x 7mm x 5mm base (fro... | include <hardware.scad>
include <functions.scad>
include <hotend mount clamp v2.scad>
module xCarriageMount()
{
difference()
{
union()
{
cube([58,30,5]);
translate([0,8,0])
cube([58,15,15]);
hull()
{
translate([0,23,0])
cube([58,7,5]);
translate([17.5,30,14])
ro... | glb/cad_a03ac159421a.glb |
Create a Raspberry Pi stand by starting with a rectangular base measuring 85.6mm in length, 56mm in width, and 12mm in height. On the top surface of this base, place two cylindrical standoffs, each 6.5mm tall with an outer diameter of 6mm. Position the first standoff at coordinates (25.5, 18) and the second at (80.1, 4... | $fa = 3;
$fs = 0.5;
module standoff(x, y) {
stdh = 6.5;
translate([x, y, 0])
difference() {
cylinder(d=6, h=stdh);
translate([0, 0, -0.05])
cylinder(d=2.7, h=stdh + 0.1);
}
}
bart = 12;
room = 4;
difference() {
translate([0, -56/2, 0]) {
standoff(25.5, 18.0);
standoff(80.1, 43.6);
translate... | glb/cad_a6bb6ea41130.glb |
Create a Raspberry Pi stand consisting of a hollow, tapered conical base and a cylindrical top neck. Start by creating a cone with a height of 60mm, a bottom outer diameter of 76mm, and a top outer diameter of 12.35mm. Hollow out the center of this cone by removing a smaller cone with a height of 60mm, a bottom inner d... | $fa = 2;
$fs = 1;
id1 = 25.4/4;
id2 = 70;
ch = 60;
th = 5;
eps = 0.01;
difference() {
cylinder(d1=id2+6, d2=id1+6, h=ch);
cylinder(d1=id2, d2=id1, h=ch+eps);
}
translate([0, 0, -3])
cylinder(d=id2+6, h=3+eps);
difference() {
translate([0, 0, ch])
cylinder(d=id1+6, h=th);
translate([0, 0, ch-eps/2])
c... | glb/cad_c7300320384c.glb |
Create a Raspberry Pi stand consisting of a main board holder and a weighted base.
First, construct the board holder as a rectangular sleeve with outer dimensions of 31.11mm width, 27.9mm length, and 7mm thickness. Create a central cavity for the board measuring 25.11mm by 23.9mm by 1mm. The back of the holder should... | $fs = 0.5;
$fa = 3;
boardw = 25.11;
boardl = 23.9;
boardt = 1;
connw = 20.83;
connt = 2.7;
edgew = (boardw - connw)/2;
marginw = 0.5;
margint = 0.2;
supw = 3;
supt = 3;
cablew = 16;
cablet = 0.15;
eps = 0.01;
translate([25, 0, 0])
rotate([90, 0, 0]) {
difference() {
cube([boardw+2*supw, boardl+supw, boardt+2... | glb/cad_0bccbe565e92.glb |
Create a JHEAD Fan Duct for a Mendel90 printer. Start by constructing a main housing that transitions from a fan mount to a hotend nozzle. The fan end is a rounded rectangular block measuring 40mm by 40mm with a depth of 10mm, featuring a central cylindrical cutout with a 38mm diameter. In the corners of this fan mount... | use <rcorn_cube.scad>
use <roundCornersCube.scad>
halterbohrungmutter=5.5;
fan_h=40;
fan_w=40;
tube_h=31.5;
tube_w=34;
tube_halter_size=14;
fan_hole_srew=32/2;
hotend_d=22.5;
hotend_offset_w=fan_w/2-tube_w/2;
hotend_offset_l=39.5+hotend_d/2;
hotend_h=24;
socket_h=3;
bodenweg=8;
%translate([0,0,-5]) rotate([0,-... | glb/cad_8c64c20858e2.glb |
Create a support frame for a toggle switch. Start with a solid rectangular block measuring 11mm wide, 10.6mm long, and 6mm high. Center a vertical cylindrical hole with a diameter of 6mm through the entire height of the block. To create the switch body opening, remove a rectangular section from the top of the block tha... | switch_dia = 6.0;
switch_width = 8.5;
frame_w = switch_width + 2.5;
frame_l = 1*10.6;
frame_height = 3.9;
slot = 1*1.4;
frame_t_height = frame_height + 2.1;
d = 1*0.01;
difference () {
translate([-frame_w/2, -frame_l/2, 0]) cube([frame_w, frame_l, frame_t_height]);
union () {
translate([0,0,-d]) cylinder(r=... | glb/cad_022fed0b7ee6.glb |
Create a set of seven flexible shoelace bars, each 2mm thick, arranged side-by-side with a 12mm spacing between them. Each bar is a flat, elongated strip with rounded ends. The ends are formed by a circle with a 5mm radius, from which a 10mm wide by 7mm high rectangle is removed, leaving a semi-circular cap. The main b... | resolution = 128;
barLengths = [40, 45, 50, 55, 60, 65, 70];
$fn = $preview ? 0 : resolution;
module drawLace (length) {
linear_extrude(height=2) union(){
difference(){
translate([0, 2, 0]) circle(r=5);
translate([-5, 0, 0]) square([10, 7]);
}
translate([-1.5, 0, 0... | glb/cad_5875db4cf5ec.glb |
Create a Customizable LED strip holder by extruding a specific 2D profile to a height of 100mm. The profile is based on a line width of 0.4mm.
Construct the main body as a series of connected walls, each 0.8mm thick (2x line width). The central feature is a slot for an LED strip that is 10mm wide and 0.8mm high. Flan... | line_width = 0.4;
led_slot_width = 10;
led_slot_height = 0.8;
led_tabs_width = 2;
foot_angle = 45;
height = 100;
slicer_helper_notch = true;
module ledHolder(){
foot_length = led_slot_width+line_width;
foot_x = foot_length*cos(foot_angle);
foot_y = foot_length*sin(foot_angle);
foot_x2 = line_width*2*si... | glb/cad_fb869c72601e.glb |
Create a Wine Glass Plate Clip by starting with a base rectangular block measuring 40mm in length, 30mm in width, and 9mm in height. Round the two short ends of this block by adding half-cylinders with a 15mm radius and 9mm height to each end, creating a pill-shaped footprint.
From this solid, remove a spherical void... | $fn = 25;
rotate([180,0,0]) {
difference() {
union() {
cube([40,30,9]);
translate([0,15,0]) cylinder(r = 15, h = 9);
translate([40,15,0]) cylinder(r = 15, h = 9);
}
translate([325,15,3]) cylinder(r = 300, h = 3);
translate([0,15,0]) sphere(r = 13);
translate([27.55,10,6]) cube([31,10,4]);
tran... | glb/cad_d830b94019a7.glb |
Create a filament guide consisting of a rectangular base and a circular loop. Start with a rectangular block measuring 10mm wide, 40mm long, and 5mm thick. At one end of this block, center a vertical hole with a diameter of 5mm and a depth of 25mm. At the opposite end of the block, construct a circular loop by combinin... | module 3M() {
cylinder(h=25,r1=2.5,r2=2.5);
}
difference() {
cube([10,40,5]);
translate([5,5,-10]) 3M();
}
translate([0,40,15]) rotate([90,180,90])
difference() {
union() {
translate([0,0,0]) cube([20,10,10]);
translate([10,0,0]) cylinder(h=10, r1=10,r2=10);
}
translate([10,0,0]) cylinder(h=20,r1=8,r2=8);
} | glb/cad_70eaad80db5d.glb |
Create a two-ended measuring spoon. The object consists of a central handle connecting two bowl-shaped ends of different sizes.
First, create the larger end with a volume of 29.2 ml. This end is formed by a cone with a base diameter of 20mm and a height of 10mm, capped with a sphere of radius 14mm.
Second, create the... | use <write/Write.scad>
volume1=6;
volume2=29.2;
part = "preview_do_not_print";
r1=10;
reference=23.886945313;
preview=(part == "preview_do_not_print");
fn=preview?30:60;
echo(preview,fn);
label_thickness = 0.6;
label_height = 6;
label_font="orbitron.dxf";
module interconnect()
assign(h=3.5)
assign(b=15.1191-1,a=... | glb/cad_9510f9c596f3.glb |
Create a Voron SCAD Skirt, a decorative and functional panel for a 3D printer. The overall panel dimensions are 137.33mm in length, 65mm in height, and 20mm in thickness.
The main body of the skirt is a rectangular slab with a honeycomb pattern of hexagonal cells. Each hexagonal cell has a diameter of 22mm, a point-to... | $fn=30;
total_Distance_Between_Rubber_Feet_Mount = 415;
total = total_Distance_Between_Rubber_Feet_Mount;
skirtLength = total/3;
skirtHeight = 65;
extrusionWidth = 20;
screw = 4.4;
screwHead = 8;
ribWidth = 6;
skirtFaceThickness = 7;
SFT = skirtFaceThickness;
HCW = skirtL... | glb/cad_cf1e6b4d4f58.glb |
Create a GPS mount consisting of a central platform and two supporting arms. Start by creating a rectangular platform 23mm long, 20mm wide, and 5mm high. At the center of the bottom face of this platform, remove a cylindrical channel 10mm in diameter to accommodate a cable, offset by -4mm along the Y-axis. At both ends... | fn=32;
sd=5.5;
sdt=20;
sh=20;
gw=20;
gl=23;
gh=5;
gcw=10;
cyo=-4;
gxo=40;
gzo=15;
gpo=0;
tk=1.5;
module gps()
{
color("blue")
{
translate([gxo-gl/2,-gw/2,gzo]) rotate([0,gpo,0]) cube([gl,gw,gh]);
}
}
module spacer()
{
color("yellow")
{
for(y=[-1,1]) translate([0,y*sdt/2,0]) cyl... | glb/cad_5e6cc65a1bf7.glb |
Create a dual 608 bearing idler for a 10mm rod. The main body is a block 30mm wide, 33mm deep, and 17mm high. The top center of the body features a cylindrical protrusion with a radius of 10.5mm and a 16-facet resolution, while the bottom section is a rectangular base 30mm wide, 8.5mm deep, and 8.5mm high.
Carve a cen... | difference() {
union () {
difference() {
union() {
cube([30,33,17]);
translate([0,0,8.5]) rotate([0,90,0]) cylinder(h=30,r=10.5,$fn=16);
translate([-1.5,33,8.5]) rotate([0,90,0]) cylinder(h=33,r=8.5,$fn=100);
translate([0,-8.5,0]) cube([30,8.5,8.5]);
translate([-1.5,33,0]) cube([33,8.5,8.5]);... | glb/cad_a8bbdd9d83f5.glb |
Create a wedding band with an internal diameter of 19.35mm and a total height of 9mm. The ring's cross-section is composed of concentric circular profiles. First, create a main circular body by revolving a shape that results in a ring with a wall thickness of 3mm, but carve a deep groove into the center of this wall us... | module ring(ring_size_diameter) {
$fn = 90;
ring_radius = ring_size_diameter / 2;
ring_height = 9;
curved_width = 3;
diff_square_width = 20;
outer_square_width = .8;
inner_square_width = .8;
rotate_extrude()
difference() {
translate([ring_radius+(curved_width/2),0,0])
scale([curved_width/2,ring_heigh... | glb/cad_1964d689a134.glb |
Create a speaker horn for a Nexus 4 phone. Start by constructing a main body that is 30mm wide, 10mm deep, and 23mm high. From this block, remove a central rectangular slot that is 30mm wide, 6mm deep, and 13mm high, positioned 2mm from the back face and 8mm from the bottom. Additionally, remove a smaller rectangular s... | ff = 0.001;
ff2 = ff * 2;
$fn = 90;
hanger_length = 135 - 50 - 23;
rotate([0, -90, 0]) {
union() {
translate([0, 0, hanger_length]) {
difference() {
cube([30, 10, 23]);
translate([-ff, 2, 8])
cube([30 + ff2, 6, 13 + ff]);
translate([-ff, 3, 8])
cube([30 + ff2, 4, 15 + ff]);
transla... | glb/cad_f1923a22d48a.glb |
Create an Omega Bracket mounting piece with a material thickness of 10mm and a total depth of 20mm. The main body consists of a central horizontal section 40mm wide (inner width) and 10mm thick, connected to two vertical side walls that are each 40mm high and 10mm thick. These vertical walls extend outwards to form a U... | leftLeg="yes";
rightLeg="yes";
holes="yes";
countersunk="yes";
thickness = 10;
innerWidth = 40;
depth = 20;
height = 40;
legWidth = 40;
legHoleDiameter = 5;
centerHoleDiameter = 5;
countersunkDepth = 2;
countersunkDiameter = 10;
$fs=0.5;
$fa=5;
createBracket();
module leg(position) {
translate(posit... | glb/cad_9884dd7b2056.glb |
Create a post shoe designed to hold a square post. Start by creating a central hollow square column with an internal void of 23.5mm by 23.5mm and a wall thickness of 11.5mm. The total outer width and depth of this column section should be 34.5mm.
Extend the base of the shoe into a flared, pyramid-like support structur... | POST_SIDE_LENGTH = 23;
SCREW_HEAD_SIZE = 12;
WALL_THICKNESS = POST_SIDE_LENGTH / 2 * 1;
SHOE = WALL_THICKNESS * 3 * 1;
PSL = POST_SIDE_LENGTH + 0.5 * 1;
$fn = 100 * 1;
difference() {
union() {
cube([PSL + WALL_THICKNESS, PSL + WALL_THICKNESS, PSL + WALL_THICKNESS], true);
translate([0, 0, -((... | glb/cad_0b7084d72717.glb |
Create a Pico 50mm fan air scoop consisting of a mounting base and a conical shroud.
Start with a rectangular base 50mm long, 12mm high, and 2mm thick. In this base, create four 2mm radius screw holes: two positioned on the vertical face and two on the horizontal bottom face, offset from the edges.
Attached to this ... | length = 50;
height = 12;
thickness = 2;
hole_d = 4 /2;
offset = 3;
scoop_d1 = 16;
scoop_d2 = 28;
scoop_len = 24;
scoop_z_offset = 5;
scoop_angle = 4;
scoop_y_offset = 2;
scoop_x_offset = ((scoop_d2*2 + 50) /4 )-1;
pico_h_top = 23.8;
pico_h_bottom = 20;
pico_d = 14.25 /2;
pico_tip_d = 8 /2;
pico_h = 6;
output = 4;
u... | glb/cad_5a58d5b2db7d.glb |
Create a Hall Effect Z Endstop Mount designed as a vertical bracket with a base and an upper mounting section.
Start with a base plate that is 50mm wide and 50mm deep. In this base, create three mounting holes for M3 bolts: two positioned 20mm apart and one centered 10mm further back. Each hole should have a 1.8mm ra... | include <shapes.scad>;
module z_bottom_base(){
translate([0,0,0]) cube([8,40,16+25]);
translate([0,-5,0]) cube([30,5.01,22]);
translate([0,-5,0]) cube([50,15,5]);
translate([0,-5,0]) cube([18,50,5]);
}
module z_bottom_fancy(){
translate([0.5,-2.5,0]) rotate([0,0,-45-180]) translate([-15,0,-1]) cu... | glb/cad_22725ab683ed.glb |
Create a Y Belt Tensioner for a RepRap Graber i3. Start with a main rectangular block measuring 27mm in length, 20mm in width, and 20mm in height. Carve a rectangular slot through the center of the block along its length, measuring 23mm long, 8.1mm wide, and 20mm deep, leaving walls on the sides.
Pierce a horizontal ... | blockHeight = 20;
blockLength = 27;
difference(){
cube([blockLength,20,blockHeight]);
translate([0,(10-(7.9/2)),0]){
cube([23,8.1,blockHeight]);
}
translate([9,22.5,blockHeight/2]){
rotate([90,0,0]){
cylinder(h=25, d=8.1, $fn=60);
}
}
translate([9,3,blockHeight/2]){
rotate([90,90,0]){
cylinder... | glb/cad_89c68b7fe1de.glb |
Create a Y Belt Tensioner consisting of a rectangular block measuring 5mm by 20mm by 15mm. Center a hexagonal nut cavity and two circular holes along the 20mm length.
First, create a hexagonal hole with a flat-to-flat width of 8.1mm and a depth of 3.5mm, centered at the 10mm mark of the length and 7.5mm into the thic... | nut = 4;
translate([0,0,5]){
rotate([0,90,0]){
difference(){
cube([5,20,15]);
translate([-5,3.175,7.5]) rotate([0,90,0]) cylinder(h=12,d=3.1, $fn=100);
translate([-5,(3.175+6.3+7.3),7.5]) rotate([0,90,0]) cylinder(h=12,d=3.1, $fn=100);
translate([2,3.175,7.5]) rotate([0,90,0]) cylinder(h=3.1, d=5.7, ... | glb/cad_7b01b44c26dd.glb |
Create a Y Belt Tensioner consisting of a main rectangular block and two symmetrical side tabs. The main block is 19.5mm long, 25mm wide, and 15mm high. Center a rectangular slot 8.1mm wide and 15mm deep through the block's width to accommodate a bearing. At the center of the block's width, add a horizontal cylindrical... | blockHeight = 15;
blockLength = 19.5;
xPosition = blockHeight/2;
difference(){
union(){
translate([blockHeight/2,-2.5,0]) cube([blockLength,25,blockHeight]);
translate([blockHeight/2,22.5,blockHeight/2]){
rotate([90,90,0]){
cylinder(h=25,d=blockHeight, $fn=60);
}
}
}
translate([0,(10-(7.9/2)),0]) c... | glb/cad_c5c5e25e9e72.glb |
Create a customizable phone dock designed to hold a device in either portrait or landscape mode. Start with a main rectangular base block measuring 75mm wide, 45mm deep, and 42mm high.
At the bottom of the base, add two rectangular feet, each 15mm wide, 5mm high, and 80mm long, positioned at opposite outer edges. In ... | include_horizontal=1;
w_usb = 11;
d_usb = 6.5;
l_usb=29;
h_back = 35;
th_back = 15;
w_phone = 71;
d_phone = 14.5;
dock_offset=10;
d_mount = 45;
h_mount = 42;
w_wire = 4.5;
l_feet=80;
h_horiz=150;
w_mount = w_phone + 4;
pos_back = h_back/tan(90-th_back);
y_usb = sin(th_back)*l_usb;
z_usb = l_usb-cos(th_back)*... | glb/cad_929ebca9672f.glb |
Create an E61 Espresso Basket Fill Guide consisting of a circular snap-ring and an attached upward-tapering guide tube. Start by creating a torus with a major diameter of 65mm and a cross-sectional tube diameter of 6mm, with a wall thickness of 1.75mm. Slice off the bottom portion of this torus so it forms a C-shaped c... | basketDiameter = 65.00;
rimDiameter = 6;
guideHeight = 15;
thickness = 1.75;
extraBottom = 0.875;
$fn=128;
module cone(height, diameter1, diameter2, thickness1, thickness2, center=false) {
difference() {
cylinder(h=height, d1=diameter1, d2=diameter2, center=center);
translate([0, 0, -height/2]) cylinder(h=h... | glb/cad_2ffa66782a73.glb |
Create three distinct extruded objects, each 60mm tall (20mm base height scaled by 3), positioned side-by-side.
The first object is a circular extrusion with a radius of 15mm. Extrude it vertically such that its cross-sectional scale varies according to a sine wave function: $\sin(z \cdot 360^\circ + 90^\circ) \cdot 0... | module variable_extrude(height, center = false, convexity = 10, twist = 0, slices = 20, scale = 1.0, $fn = $fn){
sl = slices >= floor($fn/4) ? slices : floor($fn/4);
sub_sl = slices >= $fn/4 ? 1 : 4;
sl_h=height/sl;
scale_x = is_list(scale) ?
is_function(scale[0])?
scale[0]:
function(z) z*(scale[0]-... | glb/cad_db3d175dd1e6.glb |
Create a Tetris Puzzle consisting of several distinct geometric blocks, each with a uniform thickness of 5mm. Construct an S-block by joining three 5x5x5mm cubes: one at the origin, one at [0, 5, 0], and one at [-5, 0, 0]. Build a Z-block by joining three 5x5x5mm cubes: one at the origin, one at [0, 5, 0], and one at [... | cube(size=[5,5,5], center = false);
translate(v = [0, 5, 0]) {
cube(size=[5,5,5], center = false);
}
translate(v = [-5, 0, 0]) {
cube(size=[5,5,5], center = false);
}
translate(v = [5, 5, 0]) {
cube(size=[5,5,5], center = false);
}
translate(v = [0, 15, 0]) {
cube(size=[20,5,5], center = false);
}
tran... | glb/cad_f9e5888e438d.glb |
Create a Tetris Puzzle plate by starting with a base shape formed by the convex hull of four cylinders, each with a 5mm diameter and 5mm height. Position these cylinders at the coordinates (0, 0, 0), (0, 72, 0), (108, 72, 0), and (108, 0, 0). Within this base, place a rectangular block measuring 98mm by 62mm with a hei... | difference(){
hull(){
cylinder(h=5, d=5, center=false, $fn=100);
translate(v = [0, 72 , 0]) {
cylinder(h=5, d=5, center=false, $fn=100);
}
translate(v = [108, 72 , 0]) {
cylinder(h=5, d=5, center=false, $fn=100);
}
translate(v = [108, 0 , 0]) {
cylinder(h=5, d=5, center=false, $fn=100);
}
}
translate(v = [5,... | glb/cad_b3faa98880ef.glb |
Create an LM8UU bearing mount consisting of a base plate and a central housing. Start with a rectangular base plate 46mm wide, 40mm long, and 6mm high. Centered on this plate, build a main body 33mm wide, 22mm high, and 40mm long.
Cut a horizontal cylindrical hole through the center of the body to accommodate a beari... | screw_dia = 3.4;
nut_dia = 6.5;
nut_height=3;
body_width = 33;
gap_width = 10;
body_height = 22;
body_length=40;
LM8UU_dia = 15.5;
plate_height = 6;
plate_length=body_length;
plate_width=46;
screw_space_x = 34.5;
screw_space_y=28;
lm8uu_length=23;
screw_elevation = body_height/2+plate_height+2;
clamp_location=15.7... | glb/cad_04e1b51e7725.glb |
Create a Parametric Keyboard Generator case consisting of a main body and a removable lid.
Construct the main body as a rectangular enclosure with a height of 30mm. The outer walls should be 4mm thick with rounded corners (radius 1mm). The interior is hollowed out, leaving a 2mm high lip around the bottom edge to rec... | columns = 4;
rows = 1;
hole_diameter = 3;
$fn = 100;
frame_width = 5;
plate_thickness = 3.5;
wall_thickness = 4 ;
cutout_width = 14 ;
cutout_depth = 14 ;
key_width = cutout_width + frame_width + wall_thickness/2;
key_depth = cutout_depth + frame_width + wall_thickness/2;
body_thickness = 30;
cylinder_rad = 1.5;
cylind... | glb/cad_11c0e5435e67.glb |
Create a centrifugal fan housing and impeller assembly. The assembly consists of a top and bottom case section sandwiching a central fan wheel.
First, create the impeller. The impeller is a cylinder with a diameter of 48.4mm and a height of 11.4mm. It features a central axle hole with a diameter of 25mm. The impeller ... | include <lib/relativity.scad>;
use <MCAD/teardrop.scad>;
e=0.01;
$fa=2;
$fs=0.8;
xy_margin = 0.6;
z_margin = 0.8;
vent_size = 20;
vent_offset = 6;
case_l = 50;
case_min_d = 0.9*case_l;
case_min_r = case_min_d/2;
case_max_r = case_min_r + vent_offset;
case_h = 15;
case_hole_distance = case_l-8;
case_side_th = 0.8;
... | glb/cad_80fd94116980.glb |
Create a parametric landing gear door for an RC model. Start with a primary flat plate that is 1.2mm thick. This plate should be shaped as a combination of a rectangle and a semi-circle: the rectangular section measures 12.2mm wide (9.2mm leg diameter plus 1.5mm margins on each side) and 86mm long. The semi-circular en... | margin = 1.5;
wall = 1.2;
leg_dia = 9.2;
leg_len = 86.0;
wheel_dia = 55.0;
leg_extra = 5.0;
leg_extra_width = 11.4;
leg_extra_wall = 2.5;
cwall = 2.5;
clip_size = 0.25;
surface_to_c = 7.9;
sprung_len = 17.8;
axle_dia = 3.5;
d = 1*0.01;
module clip(is_top) {
rotate ([90, 0, 0]) difference () {
union () ... | glb/cad_16ae90beb22f.glb |
Create a Shruthi-1 synthesizer case consisting of a main bottom enclosure, a removable top lid, and a separate backplate.
For the bottom enclosure, create a rectangular box with outer dimensions of 123.5mm x 92.2mm x 41.2mm and wall thicknesses of 1.5mm. Hollow out the center to fit a device of 119.5mm x 88mm x 40mm.... | clearance=1.0;
top_fitting_tolerance=0.3;
wall_width=1.5;
wall_height=1.2;
layer_height=0.3;
shruthi_width=119.5;
shruthi_depth=88;
shruthi_height=40;
shruthi_x=shruthi_width;
shruthi_y=shruthi_depth;
shruthi_z=shruthi_height;
mounting_hole_dia=3.5;
mounting_hole_x_from_edge=3.75;
mounting_hole_y_from_edge=3.0;
moun... | glb/cad_fe4e49866cf8.glb |
Create a Graber i3 Arduino Ramps Case. Start with a main hollow box measuring 170mm in height, 85mm in width, and 70mm in length, with a wall thickness of 3mm.
On the front face, create a rectangular hole for the USB port measuring 14mm by 14mm, positioned 16mm from the side. On the opposite front face, create a powe... | thickness = 3;
height = 170;
width = 85;
length = 70;
sideProtectionHeight = 20;
usbHoleSize = 14;
usbSideDistance = 16;
usbHeight = length - usbHoleSize - 2;
powerLength = 20;
powerWidth = 26;
powerOppositeSideDistance = width - powerWidth - 15;
powerLengthDistance = length - powerLength - 13;
cablesRadius = 15;
c... | glb/cad_00bdb465ccb2.glb |
Create a Sticky-Note Tray by starting with a solid rectangular base measuring 80mm wide by 79mm long with a height of 7.6mm. Hollow out the center of this base to create a tray with a wall thickness of 1.5mm and an interior depth of 3mm.
Within this tray, incorporate three circular bolt holes with a radius of 3.3mm: ... | module stickytray(h = 3, l = 78, w = 77, t =1.5)
{
module holes()
{
r = 3.3;
module hole()
{ cylinder(20,r,r,true); }
module magnet()
{ translate([0,0,0.6]) cube([3.2,3.2,h+3.6],true); }
hole();
translate([-13,20.5,0]) hole();
translate([-13,-20.5,0]) hole();
translate([-13,0,0]) magnet();
tra... | glb/cad_3722cb54319a.glb |
Create a Card Case Customizer consisting of a main box and a slightly oversized lid.
For the main box, create a rectangular container with an interior cavity measuring 56mm by 10mm (based on a card count of 10). The walls should be approximately 2mm thick. The total height of the box is 78mm. On the exterior face of ... | card_count = 10;
card_type = 56;
build_plate_selector = 0;
build_plate_manual_x = 100;
build_plate_manual_y = 100;
rotate([0,0,90]) build_plate(build_plate_selector,build_plate_manual_x,build_plate_manual_y);
input ="default_TNH";
image_size = 20;
Move_Image_Left_Right = 30;
Move_Image_Up_Down = 40;
image_rot... | glb/cad_fe80a3cd6d01.glb |
Create a Window Motor Hub Adapter by starting with a main cylinder that has a diameter of 76mm and a total height of 11.35mm. Remove a smaller concentric cylinder from the center of the main body with a diameter of 19mm and a height that passes completely through the part. Cut a horizontal cylindrical tunnel through th... | $fn=50;
HubDiameter=76;
ScrewHeight=5;
ScrewHoleDiameter=19;
PipeDiameter=12.7;
MountingHoleDiameter=57.5;
TotalHeight=ScrewHeight+(PipeDiameter/2);
MountingScrewDiameter=6.5;
difference()
{
cylinder(h=TotalHeight, r=HubDiameter/2);
translate([0,0,-.1])
cylinder(h=TotalHeight+.2, r=ScrewHoleDiameter/2);
transla... | glb/cad_d45424527634.glb |
Create a touchpad pen consisting of two main cylindrical sections and a side clamp.
First, construct the upper section. Create a cylinder with a radius of 4.5mm and a height of 43mm. At the base of this cylinder, create a conical transition 10mm high that flares out from a radius of 4.5mm to 4.5mm. At the top, add a ... | radius_round = 18.9;
radius_tube =35;
radius_pen = 4.5;
radius_top = 0.5;
radius_big = 4.5;
detail = 20;
shift_height=7;
clamp_width = 6;
module upper_part()
{
difference()
{
translate([0,0,10]) cylinder(r=radius_pen, h=50-shift_height, $fn=detail);
translate([0,0,43-shift_height]) round();
}
differe... | glb/cad_e2531a4b8384.glb |
Create a guitar string winder tool. Start by constructing a solid block with a rectangular base of 13mm by 23mm and a total height of 27mm. The top and bottom of this block should be rounded with semi-cylindrical ends, each having a radius of 6.5mm, creating a capsule-like footprint.
From the center of this volume, r... | peg_length = 17;
peg_width = 7;
peg_height =12;
shell = 3;
base = 15;
accross_flat = 6;
outer_length = peg_length + (shell *2);
outer_width = peg_width + (shell *2);
outer_height = peg_height + base;
base_ctrx = outer_width / 2;
base_ctry = outer_length / 2;
difference(){
union(){
translate([base_ctrx, 0, 0]){cyl... | glb/cad_7afe3ab943d4.glb |
Create a guitar string winder tool. Start by constructing a main body that is a rectangular block with rounded ends, measuring 42mm in length, 3mm in width, and 30mm in height. Add a base to this body that is 15mm thick, resulting in a total height of 45mm. The overall outer dimensions of the shell should be 50mm by 42... | peg_length = 42;
peg_width = 3;
peg_height =30;
shell = 4;
base = 15;
accross_flat = 8;
stem = 50;
outer_length = peg_length + (shell *2);
outer_width = peg_width + (shell *2);
outer_height = peg_height + base;
base_ctrx = outer_width / 2;
base_ctry = outer_length / 2;
difference(){
union(){
translate([base_ctrx,... | glb/cad_32652a294692.glb |
Create a Ball in Cage model. Start by constructing a hollow cubic cage with an outer dimension of 24mm per side and a wall thickness of 2mm. The cage should have open windows on all six faces, created by removing 20mm by 20mm square sections centered on each face. Inside this cage, place a sphere with a radius of 11.8m... | module BallInBox()
{
difference() {
cube([24,24,24]);
translate([-2,2,2]) {cube([26,20,20]);}
translate([2,-2,2]) {cube([20,26,20]);}
translate([2,2,-2]) {cube([20,20,26]);}
}
translate([12,11.8,12]){sphere (r=11.8);}
}
module Link()
{
difference(){
cube([20,2,10]);
translate([2,-0.1,2]){cube([16... | glb/cad_3d3d91d9ff7e.glb |
Create a Trumpet Straight Mute by constructing a hollow tapered cylinder with a total height of 140mm. The outer shell should be a frustum with a bottom radius of 26.5mm and a top radius of 12.5mm. Create a matching inner void to establish a wall thickness of 1mm, with a bottom radius of 25.5mm and a top radius of 11.5... | Length=140;
WallThickness=1;
difference(){
cylinder(r1=(25+Length*0.3)/2,r2=25/2,h=Length);
translate([0,0,WallThickness]) cylinder(r1=(25+Length*0.3)/2-WallThickness,r2=25/2-WallThickness,h=Length);
}
for (i=[0:120:359]){
rotate([0,0,i]) translate([19,-5,Length-50]) rotate([0,-8.5,0]) cube([3,10,40]);
} | glb/cad_3f336430e42b.glb |
Create an AtHome Duplex Cover Plate for Nema 5-15 outlets. Start by creating a rectangular base plate with a thickness of 6.35mm, a height of 114.3mm, and a width of 69.85mm. The four corners of the plate must be rounded with a radius of 6.35mm.
Center a mounting hole in the middle of the plate. This hole consists of ... | joinfactor = 0.125;
goldenratio = 1.61803399;
gThickness = 1/4 * 25.4;
gRoundingRadius = 1/2/2*25.4;
gStandardWidth = 2.75*25.4;
g1GangWidth = 2.75*25.4;
g2GangWidth = 4.5*25.4;
gStandardHeight = 4.5 * 25.4;
gFixtureHoleDistance = 2.375*25.4;
gFixtureHoleIR =5/32/2*25.4;
gFixtureHoleOR = 6.75/2;
gLightSwitchHeight ... | glb/cad_262ee9df6577.glb |
Create a Dewalt 611 Deflector and Dust Shoe. Start with a main body formed by the hull of two cylinders: one with a radius of 37.5mm and another with a radius of 27.875mm centered at [70.875, 0, 0], both having a height of 11mm.
From this body, remove a central cylinder with a radius of 20.75mm and a height of 13mm. ... | $fn = 40;
union() {
difference() {
union() {
translate([0.0, 0.0, 1.0]) {
render() {
difference() {
cylinder(r=20.75, h=9.0, center=true);
cylinder(r=11.0, h=10.8, center=true);
}
... | glb/cad_9aa2c8db1170.glb |
Create a deflector plate for a router motor. Start by creating a base shape formed by the convex hull of two cylinders, each with a height of 5.5mm and centered on the Z-axis; one cylinder has a radius of 37.5mm at the origin, and the second has a radius of 27.875mm and is positioned at x=70.875mm. From this base, remo... | difference() {
difference() {
difference() {
hull() {
cylinder(r=37.5, h=5.5, center=true);
translate([70.875, 0.0, 0.0]) {
cylinder(r=27.875, h=5.5, center=true);
}
}
hull() {
c... | glb/cad_31ff9a92dd5b.glb |
Create a Dewalt 611 Deflector and Dust Shoe consisting of a tiered circular base with several cutouts. Start by creating a main cylinder with a radius of 37.5mm and a height of 11mm, centered on the Z-axis. From this, remove a central cylinder with a radius of 20.75mm and a height of 13mm.
Add a secondary ring around ... | $fn = 40;
union() {
difference() {
union() {
translate([0.0, 0.0, 1.0]) {
render() {
difference() {
cylinder(r=20.75, h=9.0, center=true);
cylinder(r=11.0, h=10.8, center=true);
}
... | glb/cad_bb484fbf26bd.glb |
Create a Dragon Curve fractal composed of small rectangular prisms. The base unit is a rectangular prism with dimensions 1mm in length, 0.33mm in width, and 1mm in height.
Construct the fractal by recursively duplicating and rotating these units. Each iteration involves taking the existing shape, rotating it 90 degre... | module line (L, w) {
translate ([L/2-w/2,0,0]){
cube([L,w,1],center=true);
}
}
module rep1 (L, w){
i = 1;
T = L-w;
K = T*sin(45);
rotate ([0,0,-45]){
line(L,w);
translate ([T*(pow(2,i-1)),T*(pow(2,i-1)),0]){
rotate ([0,0,-90]){
line(L,w);}
}
}
}
module rep2 (L, w){
j = 2;
T = L-w;
K = T*sin(45)... | glb/cad_0d0189567eb0.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.