Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Leitner's learning box for flashcards consisting of a base and five vertical dividers. The base is a rectangular plate measuring 110mm by 282mm with a thickness of 6mm.
Construct two outer side walls, each 6mm thick and 282mm long, with a height of 62mm. These walls should have five rectangular slots cut out... | h = 50;
b = 110;
t = 6;
steps = 4;
bsteps = 7;
factor = 1.3;
len = (h+2*t) * (steps + 1) - t;
scale = (len - 3*t) / (pow(factor, steps+1) - factor);
function fach_pos(i) = 2*t + scale * (pow(factor, i+1) - factor);
explode = 10;
module fach()
{
square([ b, h ]);
translate([ -t, h-2*t ]) square([ t*2, t ]);
tra... | glb/cad_191d3eee7487.glb |
Create a light sensor housing consisting of two adjacent rectangular compartments. First, construct a main outer block that is 6.5mm wide, 6.5mm deep, and 2.5mm high. Within this block, carve out two distinct internal voids. The first void is a square chamber measuring 6.5mm by 6.5mm with a height of 2.5mm. The second ... | h=2.5;
d=3.5;
b=6.5;
difference() {
union() {
translate([0,0,h/2]) cube(size=[b,b,h-0.01], center=true);
translate([3,-b/2,0]) cube([d,b,h-0.01]);
}
translate([0,0,h]) rotate([0,180,45]) cylinder(h,b-2,d-1.3,$fn=4);
translate([b/2+.2,-(b-1.5)/2,0]) cube([2.5,b-1.5,h]);
} | glb/cad_f0c1d5ce3f68.glb |
Create a simple wheel encoder consisting of a flat circular base with a rectangular mounting block. Start by creating a thin disc with a diameter of 22mm and a height of 0.9mm. Remove a concentric circular hole from the center with a diameter of 11.5mm. Attached to the outer edge of this disc, add a rectangular block m... | RadDurchmesser = 36;
RadBreite = 4;
NabenHoehe = 11.5;
SpeichenBreite = 3;
SpeichenAnzahl = 12;
NabenDurchmesser = 10;
sh = 0.9;
di = NabenDurchmesser+1.5;
h_sens = 4.5 ;
difference() {
union() {
difference () {
cylinder(d=22, h=sh, $fn=80);
cylinder(d=di, h=sh, $fn=80);
... | glb/cad_2b28679d838f.glb |
Create a right-angle rod connector designed for 8mm rods. Start by creating a vertical cylinder 20mm tall with an outer diameter of 14mm and a centered hole 8.6mm in diameter. Cut a rectangular slot 12mm wide and 13mm long into the side of this cylinder, 6.4mm deep, to allow a rod to slide in. Perpendicular to this ver... | $fn=30;
include <MCAD/nuts_and_bolts.scad>;
module cyl(){
difference(){
union(){
cylinder(20,7,7);
translate([0,-6,4])cube([12,13,6.4]);
}
cylinder(20,4.3,4.3);
translate([7,0,10])rotate([0,90,0])nutHole(4,tolerance=0.1);
translate([-20,0,10])rotate([0,90,0])cylinder(100,2.1,2);
};
};
cyl();... | glb/cad_d3e84004342e.glb |
Create a light sensor housing by starting with a rectangular base measuring 7.5mm in length, 3.5mm in width, and 0.7mm in height. Centered on top of this base, add a rectangular block that is 5mm long, 3.5mm wide, and 3mm high. Hollow out the center of this upper block to create an open cavity, leaving a wall thickness... | l=7.5;
l1=5;
b=3.5;
d=0.7;
h=3;
w=0.3;
difference() {
union() {
cube([l,b,d]);
translate([(l-l1)/2,0,0]) cube([l1,b,h]);
}
translate([(l-l1)/2+w,w,0]) cube([l1-2*w, b-2*w, h]);
} | glb/cad_529004364868.glb |
Create a Modular Key Switch Mounting Plate by starting with a central rectangular plate measuring 19mm by 19mm with a thickness of 1.5mm. In the center of this plate, create a rectangular cutout for a Matias-style switch measuring 15.5mm by 12.8mm.
To allow the plates to interlock, add registration tabs and slots to t... | plate_thickness = 1.5;
switch_type = "matias";
matias_x = 15.5;
matias_y = 12.8;
cherry_xy = 14;
key_spacing_x = 19;
key_spacing_y = 19;
connect_top = "true";
connect_bottom = "true";
connect_right = "true";
connect_left = "true";
tab_radius = 1;
tab_tolerance = .02;
$fn = 20;
module matias(){
cube([matias_x,m... | glb/cad_f4ce33ddd0e0.glb |
Create a Garmin Montana Kayak daybag mount consisting of a main support body and a clamping mechanism.
Construct the main body as a symmetrical bracket with a total width of 46mm (calculated from two 19mm offsets plus an 8mm center section). The body features a central mounting area and two extending arms. Each arm i... | print_it=1;
what="arm";
handlebar_d=23.2;
tol=0+0.1;
th= 0+4;
hnut_th= 0+5;
hook_x=0+19;
hook_y=0+19-0.8;
hook_z=0+34 + 1.2;
hook_szx= 0+8;
hook_szy= 0+2.8;
hook_szz= 0+3;
arm_th= 0+6;
gps_szx= 0+145;
gps_szy= 0+37;
gps_szz= 0+75;
handle_y= 19+th + handlebar_d/2;
module body(w,h, margin)
{
color([1,1,0])
{
... | glb/cad_5363320851a9.glb |
Create a Garmin Montana GPS attach plate by starting with a central rectangular block measuring 52mm in width, 5mm in depth, and 43mm in height. Center this block on the origin and rotate it 90 degrees around the X-axis so it lies flat.
Within this plate, create four identical recessed holes to accommodate M3 nuts an... | handlebar_d=23.2;
tol=0+0.1;
th= 0+4;
hnut_th= 0+5;
module screw()
{
cylinder(r=3.6, h=3, $fn=6 ) ;
cylinder(r=3/2+0.2, h=30, $fs=1);
}
module screwset()
{
for(sz=[-1:2:1])
for(sx=[-1:2:1])
translate([11*sx,17,(handlebar_d/2+hnut_th/2)*sz])
for(mz=[-1:1])
scale([1,1,mz])
rotate([-90,0,0])
{... | glb/cad_2ec1ba1f1f01.glb |
Create a Garmin Montana kayak daybag mount consisting of two identical clip components. Each clip starts with a base rectangular block measuring 80mm in length, 43mm in width, and 4mm in height, featuring 8mm fillets on the corners.
On each clip, integrate two semi-circular hinge elements. Each hinge is a half-cylinde... | use <plib/fillet_cube.scad>
use <montana_attach_plate.scad>
module hinge_circle( r, w, axle_h )
{
difference() {
intersection() {
cube( [ 2*r, w, r ] ) ;
translate( [ r, 0, 0 ] ) rotate( [ -90, 0, 0 ] )
cylinder( w, r=r, $fn=360 ) ;
}
translate( [ r, -1, axle_h ] ) rotate( [ -90, 0, 0 ] )
cylinder(... | glb/cad_4b082cb4d651.glb |
Create a Garmin Montana Kayak daybag mount consisting of two identical clip components.
For each clip, start with a base rectangular block measuring 80mm in length, 43mm in width, and 4mm in height. Apply an 8mm fillet to the corners. On the top surface of the block, at a distance of 16mm from the front edge, create ... | use <plib/fillet_cube.scad>
use <montana_attach_plate.scad>
bld_bottom = 0 ;
bld_top = 1 ;
module hinge_circle( r, w, axle_h )
{
difference() {
intersection() {
cube( [ 2*r, w, r ] ) ;
translate( [ r, 0, 0 ] ) rotate( [ -90, 0, 0 ] )
cylinder( w, r=r, $fn=360 ) ;
}
translate( [ r, -1, axle_h ] ) rota... | glb/cad_7a931b40f6b2.glb |
Create a Garmin Montana Kayak daybag mount consisting of a rectangular clip base. Start with a fillet-edged cube measuring 80mm in length, 43mm in width, and 4mm in height.
At the front end of the clip, create two semi-circular hinge protrusions. Each protrusion should be a half-cylinder with a radius of 8mm and a wi... | use <plib/fillet_cube.scad>
use <montana_attach_plate.scad>
bld_bottom = 1 ;
bld_top = 0 ;
module hinge_circle( r, w, axle_h )
{
difference() {
intersection() {
cube( [ 2*r, w, r ] ) ;
translate( [ r, 0, 0 ] ) rotate( [ -90, 0, 0 ] )
cylinder( w, r=r, $fn=360 ) ;
}
translate( [ r, -1, axle_h ] ) rota... | glb/cad_4c7ec8dc87fd.glb |
Create a customizable fidget spinner with three legs. The body is centered around a central circular hole with a radius of 11.1mm and a height of 7mm.
From this center, extend three legs spaced 120 degrees apart. Each leg consists of a circular outer housing with a radius of 11.1mm and a height of 7mm, positioned 30m... | numberOfLegs = 3;
hThick = 2;
legLength = 30;
curveScale = 1.5;
outsideBearingRadius = 11;
insideBearingRadius = 11;
bearingHeight = 7;
hPlay = 0.1;
vPlay = 0;
roundness = 1.5;
curveOffset = 0;
curveSizeAdjust = 0;
$fa = 0.5;
$fs = 0.75;
buffer = 0.01;
oHeight = bearingHeight + vPlay;
oRadius = outsideBea... | glb/cad_aa724c7dbfc9.glb |
Create a GT2 2mm Pulley. Start by creating a central cylindrical shaft hole with a diameter of 5mm. Build a base cylinder around this hole with a diameter of 17mm and a height of 9mm. Above this base, add a toothed section with a height of 10.5mm and an outside diameter of 11.88mm. This section must feature 20 evenly s... | include<MCAD/teardrop.scad>;
$fn=16;
m3d=3;
m3di=2.9+0.3;
m3dih=2.9+0.2;
m3nd = 5.5 / cos(180 / 6);
m3ndi=m3nd+0.3;
m3ndih=m3nd+0.2;
m3nh = 2.5;
m3shd=7.7;
teeth = 20;
profile = 12;
motor_shaft = 8;
shaft_count= 16;
m3_dia = m3dih;
m3_nut_hex = 1;
m3_nut_flats = 5.5;
m3_nut_depth = 2.5;
retainer = 1;
retainer_ht... | glb/cad_6d8dbd8eb65d.glb |
Create a Christmas ball ornament consisting of a hollow sphere with an outer diameter of 80mm and a wall thickness of 1.5mm.
On the surface of the sphere, create 24 evenly spaced pentagram-shaped holes distributed along the equator. Arrange additional rows of these pentagram holes at regular latitude intervals moving... | part = "sphere";
hole_type = "pentagram";
sphere_diamater = 80;
hole_count = 24;
hole_size_scale = 1;
led_candle_mount = 1;
led_candle_diameter = 37.6;
led_candle_height = 19;
enable_loop = 1;
do_loop = (!pin_loop_hole && enable_loop);
upside_down = 0;
pin_loop_hole = 0;
enable_supports = !led_candle_mount;... | glb/cad_993ae0e7a5b9.glb |
Create a traffic cone consisting of a square base and a hollow conical top. Start by constructing a square base 90mm wide, 90mm deep, and 10mm high, with rounded corners having a radius of 20mm. Centered on this base, place a hollow cone with a total height of 120mm. The outer wall of the cone should taper from a botto... | base_width = 90;
base_height = 10;
base_corner_radius=20;
cone_height = 120;
cone_wall_width = 4;
cone_radius_bottom = 40;
cone_radius_top = 10;
module rounded_cube(x,y,z,r) {
union() {
difference() {
cube(size=[x,y,z],center=true);
for( ix = [0:1] ) {
for( iy = [0:1] ) {
mirror([ix,0,0]){
mir... | glb/cad_8667dee1d52c.glb |
Create a solder-free circuit board library consisting of a rectangular base board 110mm long, 70mm wide, and 2mm thick.
On the board, position a watch battery stack holder at [55, 52.5, 2]. This holder is a block 15.5mm long, 20mm wide, and 10mm high, with a cylindrical void for a stack of three watch batteries and t... | use </usr/share/openscad/MCAD/regular_shapes.scad>;
use </usr/share/openscad/MCAD/shapes.scad>;
min_hole_radius = 1.3;
error_tolerance = 1.05;
contact_width = 7;
peg_height = 5;
board_thickness = 2.0;
sample_circuit_demo ();
module sample_circuit_demo () {
board_length = 110;
board_width = 70;
union() ... | glb/cad_033d2aa77e9c.glb |
Create a geometric cookie cutter in the shape of a five-pointed star. The star should have an outer radius of 20mm and an inner radius of 10mm at the points of the inner vertices.
The cutter consists of a thin vertical wall with a thickness of 0.8mm and a total height of 10mm. At the base of the wall, add a wider sup... | shape = 1;
radius = 20;
sides = 5;
inner_radius = 10;
width = 20;
height = 20;
thickness = 0.8;
pad_width = 5;
pad_height = 1;
depth = 10;
if(shape == 1) {
templatify(star(radius, inner_radius, sides));
}
else if(shape == 2) {
templatify(ngon(radius, sides));
}
else if(shape == 3) {
templatify(ngo... | glb/cad_b02225eb488f.glb |
Create a parametric round duct fitting with an outer diameter of 28mm and a wall thickness of 1.8mm. The main body is a hollow cylinder with an inner diameter of 24.4mm.
To create a straight pipe section, extend this hollow cylinder to a length of 40mm. For a clamp-style end fitting, add a collar to the end of the pi... | duct_OD = 28;
duct_OD2 = 28;
duct_wall = 1.8;
duct_length = 40;
quality = 100;
clearance = 0.2;
o_ring_section = 3;
layer_height = 0.3;
bolt_OD = round(duct_OD/8);
reduction_angle = 30;
end_type = "clamp";
printable = true;
duct_OR = duct_OD/2;
duct_OR2 = duct_OD2/2;
duct_IR = (duct_OD-(2*duct_wall))/2;
duct_IR2 = (du... | glb/cad_0ab4f1ad603a.glb |
Create a battery container with a total height of 228mm, a width of 54.5mm, and a depth of 16.8mm. The main body is a rectangular shell with a wall thickness of 2mm. Hollow out the center of the container, leaving the 2mm walls, but leave the bottom closed. Remove a rectangular section from the top and bottom edges of ... | D = 14;
L = 50.5;
N = 16;
T = 2;
H = (D + 0.8) * N + T * 2;
W = L + 0.8 + T * 2;
Depth = (D + 0.8) + T * 2;
union(){
difference(){
cube([Depth,W,H], center = true);
translate([0,0,T]) {
cube([Depth - T * 2,W - T * 2,H], center = true);
};
translate([T * 2,0,H/2 - 4]) {... | glb/cad_87f3e1877611.glb |
Create an RJ45 coupler for storage by constructing a rectangular block with a total width of 15.6mm, a height of 14.25mm, and a depth of 23.6mm. The walls of this block should be 2mm thick.
Carve out two identical, mirrored symmetrical holes from the top and bottom faces to accommodate ethernet connectors. Each hole ... | slide = 0.6;
width=11.6+slide;
tab1=6.2+slide;
tab2=3.78+slide;
h1=6.5+slide;
h2=8.25+slide;
h3=7.5;
h4=10;
len = 12;
wall = 2;
wall2 = wall*2;
supp = 0.5;
tol=0.05;
module hole() {
difference() {
union() {
translate([-width/2,0,-wall]) cube([width,h1,len+wall]);
translate([-tab1/2,h1-tol,0]) cube([t... | glb/cad_43f100f41644.glb |
Create an X-carriage for self-aligning bronze bushings. Start with a central base block 66mm wide, 70mm deep, and 5mm thick. At the front and back centers of the base, add two mounting holes for M4 screws.
Position four self-aligning bushing mounts at the corners of the carriage, specifically at coordinates (±25, ±30,... | include <configuration.scad>
fan_hole_separation=32;
fan_support_block=8;
fan_trap_width=3;
fan_support_thickness=8;
fan_diameter=33;
fan_hole_height=4;
with_fanmount = true;
snap_in_mount = false;
use <bushing.scad>
module mountingholes(){
translate(v = [0, -25, -5]) polyhole(m4_diameter,10);
translate(... | glb/cad_aeea34ed8f21.glb |
Create a pin board bracket consisting of a central rectangular plate and two cylindrical pegs. Start by creating a rectangular base plate with a thickness of 3.8mm, a width of 37.6mm, and a length of 40mm. Position this plate so its center is at the origin.
Add two cylindrical pegs, each with a radius of 1.9mm and a t... | hole_gap=18.8;
radius=1.9;
peg_length=5;
orig_total_height=45;
module pegs() {
translate([0,-hole_gap,0]){
hook(false);
}
hook(false);
translate([0,hole_gap,0]){
hook(true);
}
}
module hook(bent) {
difference() {
hook_main(bent);
if (bent==true) {
edge_off();
}
}
}
module hook_main(bent) {
ro... | glb/cad_8407d4f571c8.glb |
Create a pin board bracket consisting of a main rectangular body and two cylindrical pegs. Start by creating a rectangular block that is 70mm long, 37.6mm wide, and 3.8mm thick. Position this block so its center is offset from the pegs.
Add two cylindrical pegs, each with a radius of 1.9mm and a length of 5mm. The fi... | hole_gap=18.8;
radius=1.9;
peg_length=5;
orig_total_height=75;
module pegs() {
translate([0,-hole_gap,0]){
hook(false);
}
hook(false);
translate([0,hole_gap,0]){
hook(true);
}
}
module hook(bent) {
difference() {
hook_main(bent);
if (bent==true) {
edge_off();
}
}
}
module hook_main(bent) {
ro... | glb/cad_b60c254a050f.glb |
Create a pole-clamp consisting of a main cylindrical sleeve and an attached mounting bracket. Start with a central cylinder that has an inner radius of 10mm and an outer radius of 12mm, extending 50mm in length. This cylinder is tilted at a 30-degree angle relative to the bracket assembly.
Attached to the side of the ... | ri=10;
rpost=13;
d=2.0;
angle=30;
l1=50;
l2=40;
c_pos=5;
width = 8;
gap = 5;
$add_knob=false;
$full_gusset=false;
module hexagon(size, height) {
boxWidth = size/1.75;
for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true);
}
module boltclamps() {
height = 20;
rBolt = 2.5;
nut = 7.2;
nut... | glb/cad_18b92286dfdc.glb |
Create a keychain by starting with a rectangular base measuring 50mm in length, 20mm in width, and 5mm in height. On the top surface of this base, add the embossed text "Max" starting at coordinates (3, 11, 0) and the text "Minka" starting at (10, 1, 0), both with a height of 8mm and a font size of approximately 7-8mm.... | $fn=220;
cube([50,20,5]);
translate([3,11,0,])linear_extrude(height=8)text("Max",font="ubuntu medium:style=light",size=8,spacing=1);
translate([35,9,0])linear_extrude(height=8)text("&",size=8,spacing=0.8);
translate([10,1,0])linear_extrude(height=8)text("Minka",font="purisa:style=bold",size=7,spacing=1);
difference(){
... | glb/cad_56fad1868a54.glb |
Create a keystone jack housing with an overall footprint of 35mm in length, 27mm in width, and 10mm in height. The main body is a rectangular shell with walls 6mm thick. Carve out a central rectangular cavity starting 6mm from the front and side edges, measuring 16.5mm in length and 15mm in width, extending from a heig... | jack_length = 16.5;
jack_width = 15;
wall_height = 10;
wall_thickness = 6;
catch_overhang = 2;
small_clip_depth = catch_overhang;
big_clip_depth = catch_overhang + 2;
big_clip_clearance = 4;
small_clip_clearance = 6.5;
outer_length = jack_length + small_clip_depth + big_clip_depth + (wall_thickness * 2);
outer_widt... | glb/cad_d80b886a9a55.glb |
Create a Mendel microswitch holder consisting of two separate parts: a main clamp and a spacer.
For the main clamp, start with a central cube 24mm wide, 24mm deep, and 17.37mm high. Remove a cylindrical hole with a 4mm radius running through the center along the depth axis to accommodate a rod. Cut four octagonal ver... | cubeWidth=24;
nutTraps = 1;
shelfLength=20;
cubeHeight=13.37+(nutTraps*4);
module y_bar_clamp() {
union () {
difference(){cube(size=[cubeWidth,cubeWidth,cubeHeight],center=true);
translate(v=[0,0,2.9+(nutTraps*2)])rotate(a=[90,0,0])cylinder(r=4, h=30, center=true);
translate(v=[6,6,0])cylinder(r=2.5, h=cubeWid... | glb/cad_3c826ca312d9.glb |
Create a Servoarmtest consisting of a central hub with four radiating arms. Start with a central cylinder that has a diameter of 5.92mm and a height of 2mm. This hub features a central vertical hole with a diameter of 2.5mm.
The hub is designed to fit a Futaba 3F spline, meaning it contains 5 teeth. Each tooth is a tr... | arm_length = 20;
arm_count = 4;
SERVO_HEAD_CLEAR = 0.2;
$fn = 40 / 1;
FUTABA_3F_SPLINE = [
[5.92, 2, 1.1, 2.5],
[5, 0.3, 0.7, 0.1]
];
module servo_futaba_3f(length, count) {
servo_arm(FUTABA_3F_SPLINE, [length, count]);
}
module servo_standard(length, count) {
servo_futaba_3f(length, count);
}
mo... | glb/cad_6e302c9555b0.glb |
Create a shave brush support starting with a base block that is 40mm wide, 40mm deep, and 3mm high. Add a rectangular extension on top of this base that is 40mm wide, 7mm deep, and 7mm high, positioned against one side. From this combined volume, remove a central vertical cylinder with a radius of 12.5mm and a height o... | difference(){
union(){
cube([40,40,3]);
cube([40,7,10]);
}
translate([20,20,0]){
cylinder(h=5, r=12.5);
}
translate([2,2,2]){
cube([36,3,15]);
}
translate([9,23,0]){
rotate([0,0,30]){
cube([10,2... | glb/cad_d13330c9495a.glb |
Create a shave brush support by combining a cylinder and a rectangular block, then removing a rectangular slot. First, place a cylinder with a radius of 27mm and a height of 3mm, centered at coordinates (20, 25) on the XY plane. Attach a rectangular block measuring 40mm in length, 7mm in width, and 10mm in height to th... | difference(){
union(){
translate([20,25,0]){
cylinder(r=27, h=3);
}
cube([40,7,10]);
}
translate([2,2,2]){
cube([36,3,15]);
}
} | glb/cad_05add968f129.glb |
Create a 3D model of the Icarus ship by starting with a central 30mm cube centered on the origin. Extend this core by adding three rectangular prisms, each measuring 15mm by 15mm in cross-section, projecting 5mm from each face of the central cube along the X, Y, and Z axes to create a total length of 40mm for each axis... | module example003()
{
difference() {
union() {
cube([30, 30, 30], center = true);
cube([40, 15, 15], center = true);
cube([15, 40, 15], center = true);
cube([15, 15, 40], center = true);
}
union() {
cube([50, 10, 10], center = true);
cube([10, 50, 10], center = true);
... | glb/cad_176ced5719f5.glb |
Create a 3D model of the Icarus ship by starting with a central composite shape formed by the union of a 30mm cube centered on the origin and a 15mm by 15mm by 50mm rectangular prism centered on the origin but shifted 25mm down along the Z-axis. From this combined volume, remove three intersecting 50mm by 10mm by 10mm ... | module example002()
{
intersection() {
difference() {
union() {
cube([30, 30, 30], center = true);
translate([0, 0, -25])
cube([15, 15, 50], center = true);
}
union() {
cube([50, 10, 10], center = true);
cube([10, 50, 10], center = true);
cube([1... | glb/cad_01104aef83ee.glb |
Create a 3D model of the Icarus ship emblem consisting of three intersecting letters: G, E, and B. Each letter must be 10mm in size and extruded to a thickness of 20mm. The letters are arranged such that they are mutually perpendicular to one another, intersecting at a single central point to form a cubic cluster.
Fi... | font = "Liberation Sans";
module G() offset(0.3) text("G", size=10, halign="center", valign="center", font = font);
module E() offset(0.3) text("E", size=10, halign="center", valign="center", font = font);
module B() offset(0.5) text("B", size=10, halign="center", valign="center", font = font);
$fn=64;
module GEB() ... | glb/cad_523bec1fcdf1.glb |
Create a 3D model of the Icarus ship consisting of three concentric rings of geometric elements centered at the origin. For the innermost ring, place six cubes, each 8mm on all sides and centered, arranged in a circle with a radius of 15mm. For the middle ring, place twelve spheres with a 5mm radius arranged in a circl... | color("red")
make_ring_of(radius = 15, count = 6)
cube(8, center = true);
color("green")
make_ring_of(radius = 30, count = 12)
difference() {
sphere(5);
cylinder(r = 2, h = 12, center = true);
}
color("cyan")
make_ring_of(radius = 50, count = 4)
some... | glb/cad_ba83037a276e.glb |
Create a 3D model consisting of four distinct groups of geometric shapes and text, arranged in a grid-like layout.
The first group on the left features the 3D text "Nothing..." extruded to a height of 1mm and centered.
The second group consists of the 3D text "one object" extruded to a height of 1mm and centered, p... | color("red")
translate([-100, -20, 0])
align_in_grid_and_add_text();
color("yellow")
translate([-50, -20, 0])
align_in_grid_and_add_text() {
cube(5, center = true);
}
color("cyan")
translate([0, -20, 0])
align_in_grid_and_add_text() {
cube(5, center ... | glb/cad_6a2c9fff8a88.glb |
Create a 3D model of a die. Start with a central cube measuring 100mm on all sides.
To create the pips, place spheres with a radius of 10mm at specific coordinates. On the top and bottom faces, place one sphere at the center (0, 0) and four spheres at the corners (±25, ±25). On the front and back faces, place spheres... | module example006()
{
module edgeprofile()
{
render(convexity = 2) difference() {
cube([20, 20, 150], center = true);
translate([-10, -10, 0])
cylinder(h = 80, r = 10, center = true);
translate([-10, -10, +40])
sphere(r = 10);
translate([-10, -10, -40])
sphere(r =... | glb/cad_997b6f1a6b8c.glb |
Create a 3D model of the Icarus ship by starting with a solid sphere that has a radius of 50mm. From this sphere, remove three identical cylindrical holes, each with a radius of 12.5mm and a height of 125mm, to create open channels through the center. Position the first cylinder vertically along the Z-axis. Position th... | module example001()
{
function r_from_dia(d) = d / 2;
module rotcy(rot, r, h) {
rotate(90, rot)
cylinder(r = r, h = h, center = true);
}
difference() {
sphere(r = r_from_dia(size));
rotcy([0, 0, 0], cy_r, cy_h);
rotcy([1, 0, 0], cy_r, cy_h);
rotcy([0, 1, 0], cy_r, cy_h);
}
size ... | glb/cad_ce53e49dd843.glb |
Create a 3D model of a cube with a side length of 60mm. On the four side faces of the cube, add extruded letters with a height of 5mm and a font size of 50mm. Center the letter "C" on the front face, the letter "U" on the right face, the letter "B" on the back face, and the letter "E" on the left face. Each letter shou... | echo(version=version());
font = "Liberation Sans";
cube_size = 60;
letter_size = 50;
letter_height = 5;
o = cube_size / 2 - letter_height / 2;
module letter(l) {
linear_extrude(height = letter_height) {
text(l, size = letter_size, font = font, halign = "center", valign = "center", $fn = 16);
}
}
differenc... | glb/cad_621349badcbb.glb |
Create a 3D model of the Icarus ship. Start by creating a main hollow cylinder with an outer radius of 100mm and a height of 50mm. Remove a smaller inner cylinder with a radius of 80mm and a height of 50mm, positioned 10mm above the base, to create a thick-walled ring. Cut a 50mm cubic notch out of the side of this rin... | module example005()
{
translate([0, 0, -120]) {
difference() {
cylinder(h = 50, r = 100);
translate([0, 0, 10]) cylinder(h = 50, r = 80);
translate([100, 0, 35]) cube(50, center = true);
}
for (i = [0:5]) {
echo(360*i/6, sin(360*i/6)*80, cos(360*i/6)*80);
translate([sin(360*i... | glb/cad_511a2eea23ef.glb |
Create a 3D model of the Icarus ship consisting of three separate components. First, create a torus by rotating a 5mm square centered at a radius of 10mm around the Z-axis. Second, create a ring by rotating the character "J" around the Z-axis, positioned at a height of 40mm. Third, create a complex revolved solid by ro... | echo(version=version());
color("red")
rotate_extrude()
translate([10, 0])
square(5);
color("cyan")
translate([40, 0, 0])
rotate_extrude($fn = 80)
text(" J");
color("green")
translate([0, 30, 0])
rotate_extrude($fn = 80)
polygon( points=[[0,0],[... | glb/cad_72859315753c.glb |
Create a 3D model of the Icarus ship by starting with a sphere that has a radius of 10mm. Constrain this sphere by intersecting it with a cube that is 15mm on each side and centered on the sphere's origin, effectively cropping the sphere into a rounded cubic form. From this resulting shape, remove three identical cylin... | debug = true;
$fs = 0.1;
$fa = 5;
difference() {
intersection() {
body();
intersector();
}
holes();
}
if (debug) helpers();
module body() {
color("Blue") sphere(10);
}
module intersector() {
color("Red") cube(15, center=true);
}
module holeObject() {
color("Lime") cylinder(... | glb/cad_6801c3b4cabf.glb |
Create a 3D model of the Icarus ship base. Start by creating a base foot that is 20mm high; this shape is a square with 50mm sides, centered on the origin, with corners rounded by a 10mm radius, and the top face scaled down to 50% of the bottom face's size. On top of this base, centered at a height of 20mm, place a hol... | $fn = 40;
foot_height = 20;
echo(version=version());
module outline(wall = 1) {
difference() {
offset(wall / 2) children();
offset(-wall / 2) children();
}
}
linear_extrude(height = foot_height, scale = 0.5) {
offset(10) {
square(50, center = true);
}
}
translate([0, 0, foot_height]) {
linear... | glb/cad_c55b5075276f.glb |
Create a bed tent clip designed to attach to a round rail. Start by creating a semi-cylindrical C-clamp with an outer diameter of 42.6mm and an inner diameter of 32.6mm to fit the rail, with a total thickness of 20mm. The clamp should have a gap in the inner circumference to allow it to snap onto the rail.
On one side... | pole_diameter=10;
wall=5;
socket_depth=20;
rail_diameter=32.6;
clip_width=pole_diameter+wall*2;
clip_thickness=6;
opening_p=.85;
opening_size=rail_diameter*opening_p;
opening_angle=5;
extra=1;
tab_thickness=6;
tab_length=15;
rounding=4;
loop_space=2.25;
opening_x=sqrt(pow((rail_diameter/2),2)-pow((opening_size/2),2))... | glb/cad_4c006f952fb7.glb |
Create a tiny Deltabot consisting of a central actor base, three motor mounts, and three robotic arms.
For the actor base, create a cylinder with a radius of 30mm and a height of 5mm. Remove a central cylindrical hole with a radius of 8mm and a height of 6mm. Around the center, place three sets of holes at 120-degree ... | use <by28stepper.scad>
module by28_mount() {
difference() {
hull(){
cylinder(r=25,h=5,center=true);
translate([0,-10,0])cube([50,30,5],center=true);
}
by28_holemask();
}
translate([0,-25,-17.5])difference() {
cube([50,6,40],center=true);
rotate([... | glb/cad_f68ccc0c5700.glb |
Create a motor mount for a 28BYJ-48 stepper motor. Start with a main cylindrical body 28mm in diameter and 19mm high, centered on the Z-axis. On the top face of this cylinder, centered 8mm above the origin, place a smaller cylinder 9mm in diameter and 3mm high.
Integrated into this top assembly, create a central axis... | use <complex.scad>
$fn=20;
module by28_holemask(h=10, s=0) {
translate([-17.5,0,-.5])cylinder(d=4.2+s,h=h,center=true);
translate([ 17.5,0,-.5])cylinder(d=4.2+s,h=h,center=true);
translate([0,8,0]) cylinder(d=9+s,h=h,center=true);
}
module by28_shape(h=10,s=0) {
cylinder(d=28+s,h=h,center=true,$fn=60... | glb/cad_960dfbda02ce.glb |
Create a cutting board and knife rack consisting of a flat base and three angled knife slots. Start with a rectangular base 160mm long, 5mm high, and approximately 110mm wide, with rounded corners.
At the rear of the base, create a vertical holder for a cutting board that is 15mm thick and 5mm wide. This holder shoul... | cutting_board_thicnkess = 15;
bottom_length = 160;
bottom_height = 5;
edge_width = 5;
slot_width = 5;
knife_1_length = 180;
knife_1_width = 80;
knife_2_length = 185;
knife_2_width = 35;
knife_3_length = 190;
knife_3_width = 35;
module cutting_board_knife_rack(knifes, bottom_length, bottom_height, edge_width, slot... | glb/cad_094330ce7b81.glb |
Create a hollow, twisted vessel with a height of 40mm. The cross-section is based on a three-sided polygon (triangle) with a radius of 10mm and rounded corners with a radius of 5mm. Extrude this shape vertically to the full height, applying a 90-degree twist and a scale factor of 3 to the top face relative to the botto... | baseRadius = 10;
roudness = 5;
sides = 3;
Height = 40;
shellThickness = 2;
Twist = 90;
Res = 30;
draft = 3;
insideRotation = 0;
Extrude();
module Base() {
if(solid == "yes") {
offset(r = roudness, $fn = 50)
circle(r = baseRadius, $fn = sides);
}
if(solid == "no") {
difference() {
l... | glb/cad_050500175008.glb |
Create a 3D architectural massing model representing a building on a site with a width of 10mm and a length of 20mm. Start by placing a base slab centered at the origin with dimensions 10mm by 20mm and a thickness of 0.1mm.
Construct the building height using a series of stacked rectangular prisms. The first section c... | Location="New_York";
Zoning="R10";
Site_lenght=20;
Site_width=10;
Placement="Corner_Lot";
Frontage="Narrow_Street";
Inclusionary_Housing_Public_Plaza="Yes";
Slab=0.1;
Hollow=0.8;
Bleu=[.3,.3,.3,.7];
Vitres=[.6,.7,1,.3];
Base=[.8,.3,.3,.6];
Area=(Site_lenght*Site_width);
Base_Setback=(Site_lenght-Building_Lenght... | glb/cad_9940f6b18fcc.glb |
Create a pendant case for an Adafruit Trinket. The main body is a rectangular shell with a width of 20.2mm, a height of 33mm (including a 5mm bottom margin), and a depth of 20mm. The four vertical corners of the body are rounded with a radius of 2mm.
Hollow out the center of the body to create a cavity for the circuit... | ssiz=30;
sdepth=6;
bottommargin=5;
c_width=20.2;
c_height=28+bottommargin;
c_depth=20;
fboffset=50;
display_depth=5.5;
phole_z=11;
module circuit(){
color("black")
cube([c_width,c_height,13]);
translate([0,0,12]){
color("green")
cube([c_width,28,1.5]);
translate([0,4,1.5])
color("white")
cube([c_width,2... | glb/cad_1aa455ac8b34.glb |
Create a Markerboard Clip by starting with a solid rectangular block measuring 13mm by 20mm by 20mm. Carve out a central rectangular slot 10mm wide and 23mm long, leaving walls 1.5mm thick on each side, to create a U-shaped channel. At one end of this block, integrate a semi-cylindrical grip. This grip is formed by tak... | BOARD_THICKNESS=10;
MARKER_RADIUS=10;
CLIP_THICKNESS=1.5;
CLIP_WIDTH=20;
rotate([90, 0, 0]) {
difference() {
cube(size=[BOARD_THICKNESS+CLIP_THICKNESS*2, CLIP_WIDTH, MARKER_RADIUS*2]);
translate([CLIP_THICKNESS, -1, CLIP_THICKNESS]) cube(size=[BOARD_THICKNESS, CLIP_WIDTH+3, MARKER_RADIUS*3]);
}
translate([-B... | glb/cad_bff112720e2e.glb |
Create a Guidler with Lever for MakerFarm Kits. Start with a central idler block that is 12mm wide, 26mm long, and 26mm deep. At the center of this block, create a cylindrical cutout for a 608 bearing with a diameter of 22mm and a height of 9mm.
On the top surface, add a grab lever that is 12mm wide, 11mm deep, and 18... | m8_diameter = 9;
m8_nut_diameter = 16.4;
m3_diameter = 3.6;
m3_nut_diameter = 6.1;
wade_block_height=55;
wade_block_width=24;
wade_block_depth=28;
nema17_hole_spacing=1.2*25.4;
nema17_width=1.7*25.4;
motor_mount_translation=[50.5,34,0];
608_diameter=22;
filament_diameter=3;
filament_feed_hole_offset=filament_diam... | glb/cad_f92ed5de3a01.glb |
Create a balcony clip for lighting fixtures. Start by constructing a solid rectangular base measuring 20.5mm in width, 60mm in length, and 5mm in height. On both the left and right sides of this base, add vertical walls that are each 5mm wide, 60mm long, and 35.5mm high, creating a U-shaped channel. On top of these ver... | $fn=100;
translate([0,0,0],center=false) {
cube(size=[20.5,60,5],center = false);
}
translate([-5,0,0],center=false) {
cube(size=[5,60,35.5],center = false);
}
translate([-5,0,0],center=false) {
cube(size=[5,60,35.5],center = false);
}
translate([20.5,0,0],center=false) {
cube(size=[5,60,35.5],center = false);
}
tr... | glb/cad_e4dd72730683.glb |
Create a Casting Ring consisting of two identical hollow cylindrical halves. For each half, create a cylinder with an outer diameter of 73mm, an inner diameter of 70mm, and a height of 30mm. Use a facet resolution of 60 sides for all circular shapes.
To form the specific profile of each ring, remove a smaller concent... | heightoverall=50;
diameter=70;
tolerance=0.2;
height=heightoverall+10;
wandstaerke=3;
wandhalb=wandstaerke/2+tolerance;
rotate([0,180,0]) {
translate([diameter/2+5,0,-height/2]) {
difference() {
difference() {
cylinder(height/2,diameter/2+wandstaerke,diameter/2+wandstaerke,$fn=60);... | glb/cad_e4b83b938ae1.glb |
Create a cap consisting of a primary cylinder with a diameter of 22.5mm and a height of 15mm. Remove a concentric cylindrical core from the center with a diameter of 20.5mm and a depth of 20.5mm to create a hollow shell. From the top surface, extend a smaller concentric cylinder upwards with a diameter of 8mm and a hei... | difference(){
cylinder(15,22.5,22.5);
cylinder(13,20.5,20.5);
cylinder(16,2,2);
}
difference(){
cylinder(19,3,3);
cylinder(19,2,2);
cylinder(13,20.5,22.5);
}
difference(){
cylinder(8,22.5,22.5);
cylinder(5,20.5,20.5);
cylinder(8,14,14);
} | glb/cad_f624231ea60c.glb |
Create a Mounting Plate Frame for an 8x8 LED Module Array Matrix. The frame is a grid of repeating I-shaped mounting units arranged in a 3-by-2 configuration.
Each individual mounting unit is 32.15mm wide by 32.15mm deep and 12.2mm high. The base of each unit is an I-beam shape with a center leg 7mm wide and a base th... | use <MCAD/polyholes.scad>
frame( x_count=3, y_count=2, strut=true );
bd_sx = 32.15;
bd_sy = 32.15;
bd_hspx = 26.8;
bd_hspy = 26.8;
bd_hid = 3.3;
bd_pin_len = 0;
if_leg_w = 7;
if_base_sz = 3.2;
if_sz = 12.2;
if_sx = bd_sx + 0;
if_sy = bd_sy + 0;
if_strut_w = 4;
post_hid = 2.2 + 0.2;
MF = 0.01;
MSA = MF;
MDA = 2*MF;... | glb/cad_92f9ff5d5d8d.glb |
Create a Mounting Plate Frame for an 8x8 LED Module Array Matrix. The overall structure is a grid composed of repeating I-shaped mounting units.
For a single mounting unit, create an I-shaped base with a thickness of 3.2mm. The base has a total width and depth of 32mm by 32mm. The I-shape is formed by a central leg 7m... | use <MCAD/polyholes.scad>
bd_sx = 32;
bd_sy = 32;
bd_hspx = 26.8;
if_leg_w = 7;
if_base_sz = 3.2;
if_sz = 12.2;
if_sx = bd_sx + 0;
if_sy = bd_sy + 0;
if_strut_w = 4;
post_hid = 2.2 + 0.2;
MF = 0.01;
MSA = MF;
MDA = 2*MF;
post_od = (if_sx - bd_hspx);
module matrix_mount() {
difference() {
union() {
t... | glb/cad_9043e4d7a00d.glb |
Create a square fan grille with a total width of 80mm and a thickness of 4mm. The main body is a square plate with rounded outer corners (radius of 2.67mm) and a large central circular cutout with a radius of 20mm. At each of the four corners, create a circular mounting hole with a diameter of 4.5mm, positioned 35.75mm... | Standard_Size=80;
Grille_Width=80;
Bolt_Diameter=4.5;
Bolt_Hole_Width=71.5;
Grille_Height=4;
Edge_Width=2;
Vanes=4;
Vane_Width=2;
Rings=2;
Ring_Width=2;
Hollow="yes";
if(Standard_Size==36)FanGrille(36,29.5,3.5);
else if(Standard_Size==38)FanGrille(38,30,3.5);
else if(Standard_Size==40)FanGrille(40,32,3.5);
e... | glb/cad_e2f33169dc54.glb |
Create a procedural pumpkin model by combining a ribbed base with a central stem. For the base, arrange 11 identical spheres, each with a radius of 5.5mm, in a circular pattern. Position these spheres such that their centers are distributed evenly every 36 degrees around a central axis. Scale each sphere by a factor of... | module pumpkin(bumps,size,depth) {
r = 5.5;
step = 360/bumps;
calcdepth = 1-depth/2;
echo(calcdepth);
module pumpkinBottom() {
for(i=[0:bumps]) {
t = step * i;
x = r*cos(t);
y = r*sin(t);
color("orange")
scale([1,1,0.75])
translate([x,y,0]) {
rotate([0,0,t])
scale([1,calcdepth,1])
... | glb/cad_7312cc50e564.glb |
Create a Parametric Pulley with Countersink. Start by creating a cylindrical base with a diameter of 20mm and a height of 8mm. Centered on this base, add a toothed cylinder with an outside diameter of 11.88mm and a height of 7.4mm, featuring 20 GT2-2mm profile teeth. Add a belt retainer flange on top of the toothed sec... | teeth = 20;
profile = 12;
motor_shaft = 5.2;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 5.7;
m3_nut_depth = 2.7;
m3_sink = 1;
m3_sink_dia = 5.6;
m3_sink_depth = 3;
retainer = 1;
retainer_ht = 2.5;
idler = 0;
idler_ht = 1.5;
pulley_t_ht = 7.4;
pulley_b_ht = 8;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_... | glb/cad_210cd6ef29e1.glb |
Create a filament guide for a mini extruder by constructing a main cylinder with a radius of 5mm and a height of 3mm. From the center of this cylinder, remove a smaller concentric cylinder with a radius of 1mm that extends through the entire height of the part. Additionally, remove a wider concentric cylinder with a ra... | fil_r = 1;
ht = 3;
out_r = 5;
chamfer_r = 2.5;
chamfer_h = 0.5;
f=100;
translate([0, 0, ht]) {
rotate([0, 180, 0]) {
difference()
{
cylinder(r=out_r, h=ht, $fn=f);
translate([0, 0, -1])
cylinder(r=chamfer_r, h=chamfer_h+1, $fn=f);
translate([0, 0, -1])
cylinder(r=fil_r, h=ht+2, $fn=f);
}
}
} | glb/cad_7460c783db89.glb |
Create a customizable fidget spinner designed for 22mm ball bearings. Start by constructing a central core using a sphere with a radius of 20mm, flattened along the Z-axis to a scale of 0.5. At the center of this core, create a cylindrical hole with a radius of 11mm and a height of 7mm. Within this central hole, carve ... | ring_distance = 24;
ring_radius = 15;
inner_ring_radius = 20;
outside_scale = 50;
inside_scale = 50;
number_holes = 4;
center_hole_effect_thickness = 13;
sphere_scale = outside_scale/100;
inner_sphere_scale = inside_scale/100;
inner_scale_ring_height = ring_radius + (inner_sphere_scale * 20);
scale_ring_height =... | glb/cad_f33f65cd9d1f.glb |
Create a dual spool holder for a Kossel 250 V-Slot printer. Start with a rectangular base plate measuring 130mm in length, 20mm in width, and 5mm in thickness. Center the plate and place two circular mounting holes with a radius of 3mm and a depth of 7mm at positions [15, 10, 0] and [115, 10, 0].
Add two identical fil... | $fn=180;
guide_depth = 40;
guide_offset = 70;
guide_distance = 90;
union() {
base();
translate([20, 0, 5])
filament_guide();
translate([guide_distance, 0, 5])
filament_guide();
}
module base() {
difference() {
translate([0, 20, 0])
rotate([90, 0, 0])
... | glb/cad_94779a2dea56.glb |
Create a Kossel 250 V-Slot Dual Spool Holder. Start by constructing a base that consists of two joined rectangular blocks: one measuring 80mm x 5mm x 20mm and a second block measuring 50mm x 40mm x 20mm positioned at coordinates (15, 5, 0).
From this combined base, remove two vertical cylindrical holes to create moun... | $fn=100;
rotate([90,0,0])
difference() {
base();
mount_holes();
rest_left();
}
module base() {
union() {
cube([80,5,20]);
translate([15,5,0])
cube([50,40,20]);
}
}
module mount_holes() {
translate([7.5,-1,10]) rotate([-90,0,0]) cylinder(h=7,r=6/2);
translate([... | glb/cad_26b376a63c2e.glb |
Create a spool holder pipe by constructing a tall, hollow cylinder. The outer diameter of the cylinder should be 33mm and the total height should be 220mm. Create a concentric inner hole with a diameter of 25mm that runs through the entire length of the cylinder to form a tube with a wall thickness of 4mm. Ensure the g... | $fn = 180;
pipe_height = 220;
pipe_diameter = 33;
difference() {
cylinder(h = pipe_height,d = pipe_diameter);
translate([0,0,-1]) cylinder(h = pipe_height + 2, d = pipe_diameter - 8);
} | glb/cad_5e2a128d5773.glb |
Create a Kossel 250 V-Slot Dual Spool Holder ring by constructing a hollow cylinder. Start with a solid outer cylinder that has a diameter of 43mm and a height of 10mm. From the center of this volume, remove a concentric inner cylinder with a diameter of 32mm and a height of 12mm, positioned so that it extends 1mm beyo... | $fn = 180;
ring_height = 10;
pipe_diameter = 33;
difference() {
cylinder(h = ring_height,d = pipe_diameter + 10);
translate([0,0,-1]) cylinder(h = ring_height + 2, d = pipe_diameter - 1);
} | glb/cad_b5a641cf75a9.glb |
Create a Kossel 250 V-Slot Dual Spool Holder pipe by constructing a hollow cylinder. The outer shell should be a cylinder with a diameter of 19mm and a total height of 220mm. To create the hollow interior, remove a concentric cylinder from the center with a diameter of 11mm and a height that extends slightly beyond the... | $fn = 180;
pipe_height = 220;
pipe_diameter = 19;
difference() {
cylinder(h = pipe_height,d = pipe_diameter);
translate([0,0,-1]) cylinder(h = pipe_height + 2, d = pipe_diameter - 8);
} | glb/cad_5b7cddf08531.glb |
Create a spool holder ring by constructing a hollow cylinder with a height of 10mm. The outer diameter of the cylinder should be 27mm, and it should feature a centered vertical hole with a diameter of 18.5mm that passes completely through the object from top to bottom. Ensure the geometry is smooth with a high facet re... | $fn = 180;
ring_height = 10;
pipe_diameter = 19;
difference() {
cylinder(h = ring_height,d = pipe_diameter + 8);
translate([0,0,-1]) cylinder(h = ring_height + 2, d = pipe_diameter - 0.5);
} | glb/cad_3141b7f5b7fb.glb |
Create a Kossel 250 V-Slot Dual Spool Holder consisting of a base plate and a vertical filament guide. Start with a rectangular base plate measuring 70mm in length, 5mm in width, and 20mm in height, oriented horizontally. Drill two circular mounting holes with a radius of 3mm through the base, positioned at x=15mm and ... | $fn=180;
guide_depth = 40;
guide_offset = 70;
union() {
base();
translate([20, 0, 5])
filament_guide();
}
module base() {
difference() {
translate([0, 20, 0])
rotate([90, 0, 0])
cube([70, 5, 20]);
translate([15, 10, -1])
cylinder(h = 7, r ... | glb/cad_d13088e8aa58.glb |
Create a Customizable Escalator consisting of a chain-driven step system, two pulleys, a chassis, and a manual crank handle.
Construct a chain of 30 links. Each link is a rectangular block 12mm long, 20mm wide, and 3.5mm thick, featuring a male connector on one end and a female socket on the other to allow them to int... | use <pins/pins.scad>
use <utils/build_plate.scad>
link_number = 30;
links_per_step = 2;
links_per_pulley = 10;
alpha = 45;
chain_length_correction = 0;
length = 12;
width = 20;
breadth = 3.5;
joint_size = 2.25;
joint_hole_size = 2.75;
wall_thickness = 3;
cavity_depth = 2.5;
cavity_breath = 3.5;
chassis_thi... | glb/cad_e0fae5e45581.glb |
Create a Wanhao i3 Y Endstop Mount Adapter consisting of a thin base plate and a perpendicular mounting wall. Start by creating a rectangular base plate measuring 14mm wide, 20mm long, and 2mm thick. Place two holes with a diameter of 3mm through this plate: one centered at 7mm width and 4.5mm from the front edge, and ... | $fn = 20;
m3_hole_size = 1.5;
rotate([0,270,0]) {
difference() {
cube([14, 20, 2]);
translate([7,4.5,0]) {
cylinder(10, m3_hole_size, m3_hole_size);
}
translate([7,12.5,0]) {
cylinder(10, m3_hole_size, m3_hole_size);
}
}
translate([0, 20, -6]) {
difference() {
cube([14,... | glb/cad_f11ac1fa7d56.glb |
Create a lens holder base for a mobile phone. Start with a main rectangular block measuring 70mm in width, 7.5mm in thickness, and 50mm in height.
At the top of this block, centered along the width, create a rectangular holder section that is 19.73mm wide and 11.5mm deep. This section should have a cylindrical hole p... | topedgez=50;
width=70;
thick = 7.5;
lensthick=8.42;
surroundthick = 2.6;
innerplatez = topedgez-surroundthick;
startfilletz = 16.5;
glassstartz = 17.75;
glassr = 2.75;
glassw = 10.24;
glasssurroundthick = 1.39;
glasssurroundr = glassr + glasssurroundthick;
glasssurroundw = glassw + glasssurroundthick * 2;
glassinter... | glb/cad_d09ff01c1d6b.glb |
Create a spool holder support by starting with a main cylinder that has a diameter of 60mm and a height of 40mm. From the center of this main cylinder, remove a smaller vertical cylinder with a radius of 8mm that extends through the entire height. Next, create a recessed cavity for a bearing by removing a cylinder with... | Diametre_bobine_en_mm = 60 ;
Largeur_bobine_en_mm = 40 ;
Epaisseur_de_la_paroi_en_mm = 5 ;
Facette = 60 ;
$fn=Facette;
exterieur = Diametre_bobine_en_mm / 2 ;
difference(){
cylinder ( h=Largeur_bobine_en_mm, r=exterieur );
cylinder ( h=100, r=8 );
translate ([0,0,14.1]) cylinder ( h=100, r=11.45 );
translate ([0,0,2... | glb/cad_22214819ff12.glb |
Create a foldable phone stand consisting of two symmetrical plates joined by a print-in-place hinge. Each plate is a rectangular slab 60mm long, 25mm high, and 2mm thick.
The plates are connected at one end by a cylindrical hinge mechanism. The outer half of the hinge is formed by a cylinder with a radius of 2.5mm, w... | Height = 25;
Length = 60;
Thickness = 2;
PhoneThickness = 11;
Tilt = 65;
$fa = 6;
$fs = 0.5;
module Plate() {
rotate([90,0,0])
linear_extrude(Thickness)
union() {
polygon([
[0,0],[0,Height],
[Length-2,Height],[Length,Height-2],
... | glb/cad_4b102c6060f2.glb |
Create a Y-Undercarriage for a 3D printer carriage. The main structure consists of a central body with a thickness of 4.9mm. Create two outer support rails, each 4.9mm thick, positioned at the edges of a 170mm total width. Add two inner support rails, also 4.9mm thick, placed just inside the outer rails. Connect these ... | include <configuration.scad>
include <LM8UU_holder_ziptie.scad>
SupportThickness=4.9;
SupportWidth = 10;
ClampSeparation = 38;
xWidth = 170;
yWidth = 75;
height = 14;
belt_width=7.25;
belt_thickness=2;
tooth_height=1;
tooth_offset = 2;
belt_distance_from_bed = 8;
belt_clamp_thickness=5;
belt_clamp_spacing=8;
belt_... | glb/cad_3e65e86aae49.glb |
Create an Anet A8 Y-Undercarriage designed for four LM8UU bearings. The main structure is a flat plate with an overall width of 170mm and a depth of 75mm, and a thickness of 0.25mm.
Position two LM8UU bearing holders at the far left and right edges of the plate. Add four main support rails: two outer rails aligned wi... | include <configuration.scad>
include <LM8UU_holder_ziptie.scad>
SupportThickness=0.25;
SupportWidth = 10;
ClampSeparation = 38;
xWidth = 170;
yWidth = 75;
height = 14;
belt_width=7.25;
belt_thickness=2;
tooth_height=1;
tooth_offset = 2;
belt_distance_from_bed = 8;
belt_clamp_thickness=5;
belt_clamp_spacing=8;
belt... | glb/cad_aea8fc0ea713.glb |
Create a Prusa X Carriage with a slim LM8UU holder. Start with a central base plate that is 3.2mm thick, centered on the X and Y axes. In the center of this plate, create a vertical cylindrical hole with a radius of 21mm.
Position two LM8UU bearing holders on the base plate, spaced 28mm apart along the Y-axis, each sh... | include <configuration.scad>
include <lm8uu-holder-slim_V1-1.scad>
belt_clamp_thickness=2;
belt_clamp_width=m3_diameter+3*belt_clamp_thickness+2;
belt_clamp_spacing=16;
MMshift = 6.6;
MMconnectorWidth = 3.6;
optoFlagMount = 1;
for (i=[-1,1])
translate([0,i*(belt_clamp_width+1),0])
belt_clamp();
belt_clamp_channel()... | glb/cad_db52e979849f.glb |
Create a Rocket Engine Mount consisting of one central main engine holder and three secondary engine holders connected by a spacer. All cylinders should have a facet resolution of 30.
First, create the main engine mount as a hollow cylinder with an outer diameter of 1.8125 inches, an inner diameter of 1.6875 inches, a... | units = "Inches";
wall_t = .125;
$fn = 30;
se_d = 1.375;
se_h = 6;
se_n = 3;
se_me_diff = 1;
me_d = 1.6875;
me_h = 3;
me_s_diff = .5;
s_l = .5625;
s_t = .25;
s_h = 1.5;
overlap_amount = wall_t*2;
engine_spacer_render();
module secondary_engine_mount(){
difference(){
cylinder(r = se_d/2+wall_t, h = ... | glb/cad_70964fb34794.glb |
Create a Mini Kossel Retractable Auto Bed Leveling Probe. The main body is a vertical assembly with a total height of 26mm. Construct the central core using a cylinder with a radius of 6mm and a height of 26mm, flanked by a rectangular block measuring 12mm wide, 6mm deep, and 26mm high. Add a second vertical cylinder o... | include <configuration.scad>;
use <microswitch.scad>;
height = 26;
height2 = 26;
tunnel = 2.4;
face_offset = 4;
base_height = 2;
module foot() {
difference() {
translate([12.5, 0, 0]) rotate([0, 0, -60])
translate([-12.5, 0, 1]) rotate([0, 0, -60]) union() {
cylinder(r=5, h=base_height, center=tr... | glb/cad_0ceea6ba8948.glb |
Create a 16mm Contact Printer Snoot consisting of a flashlight sleeve and a tapered conical tube. Start by creating a hollow cylindrical sleeve with an outer diameter of 33mm, an inner diameter of 27mm, and a height of 10mm, centered on the Z-axis.
Attached to the bottom of this sleeve, construct a tapered tube that ... | $fn = 140;
FILM = 16;
GATE = 16;
SPROCKET = 4;
FL_D = 27;
SLEEVE = 10;
T = 3;
DIST = 25.4;
SLIT_VALUE = 1;
module snoot (SLIT = 1) {
difference () {
cylinder(r = (FL_D / 2) + T, h = SLEEVE, center = true);
cylinder(r = (FL_D / 2), h = SLEEVE + 1, center = true);
}
translate ([0, 0, -(SLEEVE / 2) - (DI... | glb/cad_452bd393cc91.glb |
Create a Grand Daddy Printer mount consisting of a main base plate and an attached vertical screw plate.
Start with a square base plate measuring 42mm by 42mm with a thickness of 4mm. Center a large circular hole with a radius of 13mm through the middle of this plate. At each of the four corners of the base plate, po... | mount_width=42;
mount_height=42;
mount_thick=4;
motor_offset=7.5;
bolt_offset=5.7;
bolt_r=1.75;
plate_height_offset =13.8;
plate_horizontal_offset = 0;
slot_width=5.75;
slot_height=4;
plate_thick = 4;
plate_length = 17;
plate_width = 35;
inner_hole_r=13;
side_height = 20;
wall = 2;
screw=5.4/2;
screw_y = 10;
sc... | glb/cad_1a1b9f88f219.glb |
Create a Grand Daddy Printer mounting bracket. Start with a rectangular base plate measuring 20mm in width, 28.5mm in length, and 4mm in height.
On the top surface of this base, add a triangular wedge that is 5.75mm wide and 4mm high, extending from the base.
Construct two identical vertical bearing holders. Each h... | slot_width=5.75;
slot_height=4;
base_height = 4;
base_width=20;
base_length = 28.5;
bearing_r = 16.8/2;
bearing_width=5.5;
inner_hole_r=5;
side_height = 20;
wall = 2;
screw=4.5;
pole_r=2.4;
bh = bearing_width+wall;
echo("Separation = ");
echo(base_length-(2*bh));
union(){
translate([-0.001,0,0])
plate();
pol... | glb/cad_280e3e24460d.glb |
Create a Grand Daddy Printer mounting bracket. Start with a rectangular base plate measuring 4mm in height, 20mm in width, and 28.5mm in length.
At each end of the length, construct a bearing holder. Each holder is a block 20mm high, 20mm wide, and 7.5mm thick. Center a vertical hole with a radius of 5mm through thes... | slot_width=5.75;
slot_height=4;
base_height = 4;
base_width=20;
base_length = 28.5;
bearing_r = 16.8/2;
bearing_width=5.5;
inner_hole_r=5;
side_height = 20;
wall = 2;
screw=4.5;
pole_r=2.4;
bh = bearing_width+wall;
echo("Separation = ");
echo(base_length-(2*bh));
union(){
translate([-0.001,0,0])
plate();
pol... | glb/cad_50e8b4581adc.glb |
Create a 3D heart shape with a uniform height of 5mm. Start by placing a cube with a base of 10mm by 10mm and a height of 5mm. Add two cylinders, each with a radius of 5mm and a height of 5mm, to serve as the rounded lobes of the heart. Position the first cylinder so its center is at x=5mm, y=10mm, and the second cylin... | module heart1(){
cylinder(h=5,r=5);
}
module heart2(){
cylinder(h=5,r=5);
}
module heart3(){
cube(size=[10, 10, 5]);
}
heart3();
translate([5,10,0]) heart1();
translate([0,5,0]) heart1(); | glb/cad_bd5aa399b010.glb |
Create a 3D model of an Electronic building system module, specifically a Diode block. Start by creating a base cube with dimensions 30mm x 30mm x 5mm.
To create the interlocking features, remove four cylindrical sections from the base: one at each corner, each with a radius of 3.5mm and a height of 7mm, centered rel... | $fn=100;
Vx=0;
Vy=0;
Vz=0;
Vr=2;
Vw="Wert";
Vk=1;
module Widerstand(Vx,Vy,Vz,Vw) {
difference() {
Leer(Vx,Vy,Vz,"");
translate([Vx-10,Vy,Vz],center=false) {
cylinder(h=7,r=Vk,center=true);
}
translate([Vx+10,Vy,Vz],center=false) {
cylinder(h=7,r=Vk,center=true);
}}
difference(){
translate([Vx,Vy,Vz+3],center=false) ... | glb/cad_ee9fdbdaeab9.glb |
Create a Pied foot by constructing a composite circular base with a square hole through the center. Start by creating a cylinder with a height of 10.4mm, a bottom radius of 15.6mm, and a top radius of 15.6mm. Attach a second cylinder to the bottom of the first one with a height of 5.2mm and a constant radius of 15.6mm.... | Taille_du_carre_en_mm = 20 ;
Resolution = 120 ;
$fn= Resolution ;
carree = Taille_du_carre_en_mm * 1.04 ;
difference() {
union(){
translate ([0,0,carree/2 ])cylinder (r1=carree * 1.5 , r2= carree /1.2 , h=carree ) ;
cylinder(r1=carree * 1.5 , r2... | glb/cad_f6497434882e.glb |
Create a CAN Bus Connector Box consisting of a main case and a matching lid.
The case is a rectangular box with a total height of 12mm and wall thickness of 1.5mm. The outer dimensions are determined by a PCB area of 165mm by 35mm, with an additional 2mm clearance on the sides and 0.5mm on the top and bottom, resulti... | countSubD9 = 12;
withFasteningTab = "Yes";
total_height = 12;
wall_thickness = 1.5;
part_to_print = "case and lid";
db9x = 20;
db9y = 12.5;
db9Gap = 5;
module polyhole(h, d) {
n = max(round(2 * d),3);
rotate([0,0,180])
cylinder(h = h, r = (d / 2) / cos (180 / n), $fn = n);
}
module createMenisc... | glb/cad_af59244eb45c.glb |
Create a Universal IR Sensor Board Mount consisting of two main sections: an attachment arm and a sensor board mount.
First, create the attachment arm. This is a rectangular block 8mm wide, 10mm high, and 5mm thick. Center a cylindrical hole with a diameter of 5.4mm through the 5mm thickness. Extend this arm with a 5m... | type = "fixed";
hotend_length = 50;
resolution = 20;
render_type = "printed";
attachment_mount_hole = 5.4;
attachment_mount_height = 10;
attachment_thickness = 5;
attachment_width = 8;
attachment_slide_offset = 10;
attachment_hole_width = 3.2;
sensor_hole = 2.5;
sensor_width = 24;
sensor_height = 17.62;
se... | glb/cad_29a0ee195820.glb |
Create an exercise ball stand by constructing a hollow, tapered ring with a height of 30mm. Start with a solid cone frustum that has a base diameter of 150mm and a top diameter of 100mm. From the center of this shape, remove a smaller concentric cone frustum to create a wall thickness of 5mm throughout. The inner void ... | maxDiameter = 150;
minDiameter = 100;
height = 30;
thickness = 5;
facets = 100;
module ballStand()
{
difference(){
cylinder(r1=maxDiameter*0.5,r2=minDiameter*0.5, h=height, center = true, $fn = facets);
cylinder(r1=maxDiameter*0.5 - thickness*0.5,r2 = minDiameter*0.5-thickness*0.5, h = height+2, cent... | glb/cad_e732ddca648f.glb |
Create a CR2032 to CR2430 battery adapter by constructing a hollowed-out cylinder with a height of 3mm. Start with an outer cylinder that has a radius of 12.25mm and a height of 3mm. Remove a smaller concentric cylinder from the center with a radius of 10mm and a height of 3mm, leaving a ring wall with a thickness of 2... | difference() {
difference() {
cylinder(r=24.5/2,h=3);
translate([0,4.5/2,0])
cylinder(r=20.0/2,h=3);
}
translate([0,34,0])
cylinder(r=30.0,h=3);
} | glb/cad_6c009c562676.glb |
Create a PSU cover for a 3D printer. Start with a main base block measuring 95mm in width, 65mm in depth (including a 15mm extension), and 56mm in height. Add a vertical bracket base on the right side measuring 6mm by 65mm by 56mm. Incorporate a thin frame skirt around the edges, with sections measuring 1.65mm thick an... | cover_height = 3;
socket_pos = 2;
socket_type = 1;
module socket_cutout1()
{
translate([45,2,40])cube([27.5,31.9,30]);
translate([45-4.5,2+15.6,40])cylinder(r=2,h=50, $fn=8);
translate([45-4.5+37-0.5,2+15.6,40])cylinder(r=2,h=50, $fn=8);
translate([45-4.5+37-0.5,2+15.6,40])cylinder(r=3.25,h=15-1.5, $fn=6);
tran... | glb/cad_93ae5c554078.glb |
Create a geometric composition centered at the origin consisting of three interlocking rectangular cuboids and one cylinder, all with rounded edges. The first cuboid measures 5mm by 20mm by 30mm. The second cuboid measures 30mm by 5mm by 20mm and is centered at the origin. The third cuboid measures 20mm by 30mm by 5mm ... | module shape() {
cube([5, 20, 30], center = true);
cube([30, 5, 20], center = true);
cube([20, 30, 5], center = true);
translate([8,0,0])
rotate(35, [.95,.65,.4])
cylinder(30, d=3, $fn=12, center = true);
}
module fillet() {
sphere(r=2.5,$fn=18);
}
shape();
*fillet();
*difference() {
cube(50, c... | glb/cad_f9fb53184f53.glb |
Create a filament filter consisting of a base and a cap. The base is a cylinder with a total height of 4mm and an outer diameter of 25.5mm. It features a central hole with a diameter of 13.5mm and a screw thread with a 4mm pitch and a 55-degree angle, extending to a height of 14mm. Around the bottom perimeter of the ba... | include <polyScrewThread.scad>;
fn=64;
height=17;
nozzle=.3;
diameter=19.5;
thickness=3;
translate([0,30,0])cap();
translate([0,0,0])base();
module pits(c=14,d=6,shift=0,skip=1){
for (z=[1:c-skip])
rotate([0,0,360/c*z])
translate([shift+d/2,0,0])
hull(){
sphere(d=d,$fn=fn/4);
t... | glb/cad_0622980c74e9.glb |
Create a filament stand consisting of several washers and four identical corner brackets. First, produce twelve washers in total: four thin washers with an outer diameter of 12.6mm, an inner hole of 6.6mm, and a height of 1mm; and eight thicker washers with the same diameters but a height of 2mm. Arrange these in three... | $fn=32;
nozzle=.3;
diameter=6+nozzle*2;
size=12;
stand=size;
wall=1.5;
washers();
for (i=[0:3]) translate([0,i*size*1.5,0])corner();
module washers(space=2.5){
for (i=[0:3])
translate([-diameter*space,i*diameter*space,0])washer(diameter,diameter*2,1);
for (j=[2:5])for (i=[0:3])
translate([-diameter*space*j,i*dia... | glb/cad_790709b3c185.glb |
Create a square key tool consisting of a central shaft and a wide grip. Start by creating a central cylindrical keyway with a diameter of 15.5mm and a height of 9mm. Inside this cylinder, carve out a centered square hole measuring 7.2mm by 7.2mm that runs through the full height of the cylinder.
Below the keyway, crea... | keywidth = 7.2;
keylength = 7;
holediameter = 15.5;
gripdiameter = 55;
gripheight = 8;
cutout = 3;
skirtheight = 8;
smoothness = 100;
tocorner = sqrt((gripdiameter / 2) * (gripdiameter / 2) * 2);
bottomradius = (tocorner - ((gripdiameter - cutout) / 2)) - 0;
module keyway(keywidth, keylength, holediameter) {
diffe... | glb/cad_deb989c1aed6.glb |
Create a parametric crank knob by combining three cylindrical volumes and removing two specific voids. Start with a wide base cylinder 25.7mm in diameter and 2.5mm high. On top of this base, center a second cylinder with a diameter of 22mm and a height of 16.55mm. Atop this second cylinder, add a smaller vertical peg w... | bsr = 25.7/2;
bsh = 2.5;
bdr = 22/2;
bdh = 16.55;
arr = 5/2;
arh = 10;
aro = 2*(bdr/3);
phr = 6.3/2;
phh = 9.5;
scr = 2.9/2;
scl = bdr;
sch = 5;
difference(){
union(){
cylinder(r=bsr, h=bsh, $fs=.1);
cylinder(r=bdr, h=bdh, $fs=.1);
translate([0,aro,bdh]) cylinder(r=arr,h=arh, $fs=.1);
}
cylinder(r=phr, h... | glb/cad_cb2c4068b2d6.glb |
Create a Z-axis shim spacer for a 3D printer. The main body is a rectangular plate with a height of 3mm, centered between two vertical rods. The distance between the centers of the two rods is 100mm.
At each rod location, create a clamping element with a height of 4mm. These clamps are slightly elliptical, with a radi... | ShimHeight = 3;
ClampHeight = 4;
Label = "yes";
Reinforce = "no";
RodDistance = 100;
RodDiameter = 19;
RodRadius = RodDiameter/2;
RodCenter = RodDistance/2 + 0.1;
MaxX = RodCenter - 2.85;
ClampScale = [1, 1.062, 1];
difference() {
union() {
difference() {
union() {
translat... | glb/cad_04daab7ee2a6.glb |
Create a Horizontal Kinematic Mount consisting of three stacked layers. The bottom base is a rounded square plate measuring 50mm by 50mm with a thickness of 8mm and corner radii of 2mm. Centered in this base, create a vertical hole with a diameter of 3.5mm (8-32 screw clearance) that extends through the entire assembly... | include <screws_v15b.scad>
$fn = 96;
eps = 0.001;
eps2 = 2 * eps;
scrClr = 1;
pSize = 30.0;
baseX = 50;
baseY = baseX;
baseZ = 8;
rndCrnr = 2;
midZ = 4;
midAngle = 2.5;
topZ = 6;
topAngle = midAngle;
hingeTh = 1;
hingeW = baseY - 2 * rndCrnr;
hingeHt = 3;
stackZ = baseZ + 2 * hingeHt + midZ + topZ;
nutDia = 2 * ... | glb/cad_d6d0d5e2c7b4.glb |
Create a simple axle holder for pegboard hooks. Start with a rectangular base that is 6mm thick, 9.2mm wide, and approximately 31mm long. At one end of the rectangle, create a recessed cylindrical hole with a diameter of 3.6mm and a depth of 8mm, centered vertically within the thickness of the block and starting 1.2mm ... | wall = 1.2;
wire = 3.6;
recess = 8;
axle = 6.5;
extent = 16;
cap = recess+wall;
len = extent+wall+cap+axle*1.5;
block = wire+2*wall;
outer = axle+2*wall;
outer_r = outer/2;
little = 0+0.01;
spacing = 0+10;
axleholder();
translate([0, outer+spacing, 0])
axleholder();
module axleholder() {
difference() {
l... | glb/cad_af2e56883116.glb |
Create a portable game console shell. Start with a main rectangular base that is 128mm long, 120mm wide, and 30mm high. Hollow out the center of this base by removing a smaller rectangular volume of 123mm by 115mm and 30mm high, leaving a thin outer wall.
On the top surface, create a large rectangular cutout for a 5" ... | x = -49.25;
y = -23.7;
z = 10;
lcdLength = 99;
lcdWidth = lcdLength / 1.72;
lcdHeight = 2;
lcdDeltaLength = 30;
lcdDeltaWidth = 60;
baseX = 0;
baseY = 0;
baseZ = 0;
buttonHollowDelta = 35;
buttonHollowRadius = 4;
buttonHollowHeight = 10;
buttonHollowZ = -2;
buttonHollowX = -25;
posCrossA = 20;
posCrossB = 6;
crossZ... | glb/cad_e35be125c2b5.glb |
Create a portable game console case component by constructing a central cross-shaped base. Start by forming two intersecting rectangular slabs, each 1mm thick. The first slab is 5mm wide and 19mm long, centered at the origin. The second slab is 19mm wide and 5mm long, also centered at the origin and rotated 90 degrees ... | $fn=64;
posCrossA = 19;
posCrossB = 5;
crossZ = 0;
crossHeight = 6;
delta = 1;
hullDelta = 2;
sphereRadius = 1;
difference(){
union(){
color("Blue") {
translate([(posCrossB / 2) * -1, (posCrossA / 2) * -1, crossZ]) {
cube([posCrossB, posCrossA, delta],false);
roundedcube... | glb/cad_dc4b1fc5400c.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.