Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Series Elastic Actuator prototype consisting of a central cylindrical assembly. Start with a main cylinder 42mm in diameter and 3.5mm high, centered on the origin. Subtract a circular track from this cylinder with a diameter of 42mm.
Above this base, add a gear with 24 teeth, a tooth width of 2mm, and a tooth... | use <gearModule.scad>
$fn = 36;
dia = 42;
ball_tol = 0.2;
ball = 4;
show_balls = false;
module track(quality=36,diameter=42)
{
rotate_extrude($fn=quality)
translate( [diameter/2,0,0] )
circle(d=ball+ball_tol,$fn=quality);
}
module big_plate()
{
difference() {
cylinder(d=40,h=4,ce... | glb/cad_232fa6020891.glb |
Create a Series Elastic Actuator prototype consisting of three main components. First, construct a central hub by creating a cylinder 20mm in diameter and 2mm high, with a 10mm diameter cylinder 10mm high extending from its center. Remove a 7mm diameter hole and a 5.5mm by 12mm rectangular slot from the center of this ... | $fn = 36;
module part1()
{
difference()
{
union()
{
translate([0,0,0.5]) cylinder(d=20,h=2,center=true);
cylinder(d=10,h=10);
}
translate([0,0,8]) cube([5.5,12,4.1],center=true);
translate([0,0,8]) cylinder(d=7,h=4.1,center=true);
cylinde... | glb/cad_fcb6e5701011.glb |
Create a Series Elastic Actuator prototype consisting of three identical cylindrical components arranged in a triangular cluster. Each component is a short, thick cylinder with a height of 6mm. The bottom half of each cylinder features a textured, gear-like outer surface with fine diagonal ridges, while the top half is... | $fn = 50;
use <mcad/involute_gears.scad>
module Planetary( ID = 35,
Na = 42,
Height = 3,
BL = 0.4,
TargetRatio = 4.5,
InnerBore = 5.4,
NumPlanets = 3,
PressureAngle = 28,
... | glb/cad_5fc8e10c1a6e.glb |
Create a Series Elastic Actuator prototype consisting of a central cylindrical base with a hole. Start by creating a main cylinder with a diameter of 20mm and a height of 1mm, centered on the Z-axis. Remove a smaller concentric cylinder from the center with a diameter of 10mm and a height of 5mm to create a ring. Final... | $fn = 36;
module part1()
{
difference()
{
translate([0,0,0.5]) cylinder(d=20,h=2,center=true);
cylinder(d=10,h=5,center=true);
}
n = 10;
for( i=[1:n] )
rotate([0,0,360/n*i])
{
translate([17/2,0,0])
cylinder(d1=2,d2=3,h=5);
}
}
... | glb/cad_273d420e9da2.glb |
Create a Series Elastic Actuator prototype consisting of a planetary gear system. Start by creating a stationary outer annulus with an outer diameter of 40mm and a height of 3mm, featuring internal gear teeth with 42 teeth.
Inside the annulus, place a sun gear with a 5.4mm center bore and a number of teeth calculated... | $fn = 50;
use <mcad/involute_gears.scad>
module Planetary( OD = 40,
ScrewDistance = 31,
ScrewDia = 3,
ID = 35,
Na = 42,
Height = 3,
BL = 0.4,
TargetRatio = 4.5,
... | glb/cad_1b01999781d5.glb |
Create a cap for 3D printing parts consisting of a base cylinder and a hollowed upper sleeve. Start with a solid cylinder 2mm high with a radius of 9mm. Above this, add a concentric hollow cylinder extending from height 2mm to 9mm, with an outer radius of 7mm and an inner radius of 6.25mm.
Cut a central vertical hole... | include<wedge.scad>
$fn = 100;
module snap(strength, width, depth) {
nose = 1.0;
cube([width, depth, strength]);
translate([0, 0, strength]) {
translate([0, 0.75, 0]) rotate([90,0,90]) wedge(90, depth - 0.75, nose, strength);
translate([width - strength, 0.75, 0]) rotate([90,0,90]) wedge(9... | glb/cad_079eed8e0dea.glb |
Create a 3D printer frame plate as a rectangular block measuring 60mm in width, 85mm in length, and 6.67mm in thickness. Center the block on the origin. Remove several cylindrical holes from the block to create mounting points. First, bore three holes with a diameter of 6.5mm: one centered on the plate and two position... | plate_x = 60;
plate_y = 85;
plate_z = 6.67;
difference() {
translate ([0,-plate_y/2,-plate_z/2]) cube([plate_x,plate_y,plate_z], center=true);
translate ([0,-15,0]) holecuts();
}
module holecuts(){
translate ([+47/2,0.0]) cylinder(d=6.5, h=100, center=true);
translate ([-47/2,0.0]) cylinder(d=6.5, h=1... | glb/cad_8e1b3d540ae5.glb |
Create a 3D printer frame plate as a rectangular slab measuring 203.2mm by 406.4mm with a thickness of 10mm. Centered on the plate, remove several cylindrical holes of varying diameters and positions. First, create two mounting holes with a diameter of 7.5mm, positioned 60mm from the center along the x-axis and 15mm fr... | tplate = 10;
xplate = 8*25.4;
yplate = 16*25.4;
tol = 2.5;
ds1 = 7.5;
ds2 = 18;
ls1 = 60;
prof = 30;
bsy = 25;
ds3 = 6;
ls2 = 38/2;
difference(){
translate ([0,-yplate/2,-tplate/2]) cube([xplate,yplate,tplate], center = true);
translate ([-ls1,-prof/2,0]) screwdrill(ds1, tol);
translate ([+ls1,-prof/... | glb/cad_ec11a9aaf693.glb |
Create a rectangular plate for a 3D printer frame with overall dimensions of 66mm in length, 30mm in width, and 5.8mm in thickness. Center the plate on the origin. Drill two cylindrical holes completely through the thickness of the plate, each with a diameter of 6.5mm. Position these holes along the center longitudinal... | tplate = 5.8;
recess = 6.66 - tplate;
ls1 = 24;
ls2 = 18;
l1 = ls1 + 42;
l2 = ls2 + 12;
dscrew = 4;
dscrew2 = 6.5;
l3 = 17 + dscrew2;
bushplate();
module bushplate(){
translate ([0,-l2/2,-tplate/2-recess]) difference ()
{
cube([l1,l2,tplate], center = true);
translate ([+l3,0,0]) cylinder... | glb/cad_825d12cee8fa.glb |
Create a 3D printer frame part by starting with a rectangular block measuring 42mm in length, 14mm in width, and 4mm in height. Center this block on the origin. Remove two cylindrical holes from the block, each with a diameter of 6mm and a height of 100mm to ensure they pass completely through the thickness of the part... | rotate ([0,0,90]) translate ([0,0,-2]) difference (){
cube([42,14,4], center = true);
translate ([+16,0,0]) cylinder(d=6,h=100,center=true);
translate ([-16,0,0]) cylinder(d=6,h=100,center=true);
} | glb/cad_149139d4d838.glb |
Create a 3D printer frame plate as a rectangular slab with dimensions 66mm in length, 30mm in width, and 4.175mm in thickness. Center the slab on the origin. Remove six cylindrical holes that pass completely through the thickness of the plate. Position four mounting holes with a diameter of 4mm at the corners of a rect... | tplate = 25.4/8+1;
ls1 = 24;
ls2 = 18;
l1 = ls1 + 42;
l2 = ls2 + 12;
dscrew = 4;
dscrew2 = 6.5;
l3 = 17 + dscrew2;
bushplate();
module bushplate(){
translate ([0,-l2/2,-tplate/2]) difference ()
{
cube([l1,l2,tplate], center = true);
translate ([+ls1/2,+ls2/2,0]) cylinder(d=dscrew, h=100, ... | glb/cad_6ce00cb1bcce.glb |
Create a Raspberry Pi camera case consisting of a main cylindrical body and two flat mounting plates. The main body is a hollow tube with an outer diameter of 34mm and an inner diameter of 31mm, extending to a height of 100mm. The bottom of this tube is capped with a solid base 4mm thick with a diameter of 34mm.
Cut f... | $fn=50;
module rounded(x, y, z, r) {
translate([r, r, 0])
minkowski() {
cube([x - 2 * r, y - 2 * r, z - 1]);
cylinder(r=r, h = 1);
};
}
module pi() {
rounded(65, 30, 1.5, 2.5);
translate([52, 7.3, 0])
cube([16, 12, 3]);
translate([65 - 19, 30 - 7, 0])
cube... | glb/cad_06f6a2e7755a.glb |
Create a PropForm propeller template consisting of four identical flat 2D profiles arranged in a linear row. Each profile is a symmetrical airfoil-like shape with a total length of 5mm. The shape is defined by a maximum chord of 2.25mm. The profile starts at a leading edge, curves outward to reach its maximum chord, an... | function CmaxPosition(Pd) = -0.07291667*Pd*Pd + 0.44166667*Pd - 0.01875;
Hinv = [
[1.,0.,0.,0.],
[0.,1.,0.,0.],
[-3.,-2.,3.,-1.],
[ 2.,1.,-2.,1.]
];
U = [for (i=[0:.05:1.05]) [1,i,i*i,i*i*i]];
Chord = 2.25;
linear_extrude(.1) {
translate([0, Chord*0.0, 0]) larrabee_planform (5, 1.0, Chord);
t... | glb/cad_670df05c5e60.glb |
Create a PropForm mold block for a propeller with a diameter of 355.6mm (14 inches) and a pitch of 558.8mm (22 inches). The overall shape is a wedge-like block with a width of 63.5mm (2.5 inches).
The base of the block is a polygon defined by the points [0,0], [177.8, 63.5], and [0, 63.5]. Extrude this shape to a hei... | prop_dia_in = 14.0;
prop_pitch_in = 22.0;
block_width_in = 2.5;
xsection="curved";
camber_radius_in = 10.0;
sections = 50;
show_dimensions = true;
minimal_volume = true;
mm = 25.4;
$fn = 192;
prop_dia = prop_dia_in * mm;
prop_pitch = prop_pitch_in * mm;
block_width = block_width_in * mm;
camber_radius = camber_... | glb/cad_43a9e1288b4e.glb |
Create a series of six polyhedrons based on a 2D house-shaped profile defined by the coordinates [-5,-5], [5,-5], [5,5], [0,7], and [-5,5]. Each object is an extrusion of this profile to a specific height along the Z-axis, with the top surface transformed relative to the base.
1. Create the first object with a height ... | points = [[-5,-5],[5,-5],[5,5],[0,7],[-5,5]];
stretch (
points,
transform_matrix(0, 0, [.2,2],[0,5]),
transform_matrix(10, -10, [.2,1.5], [0,5]));
stretch (
points,
transform_matrix(10, -10, [.2,1.5], [0,5]),
transform_matrix(20, -20, [.2,1.25], [0,5]));
stretch (
points,
transform_matr... | glb/cad_941b514ce999.glb |
Create a finger-toy consisting of two symmetrical eye assemblies connected by a ring.
First, construct the eye. Create a sphere with a radius of 10mm. Hollow out the center by removing a smaller concentric sphere with a radius of 8mm and a vertical cylinder with a radius of 6.67mm passing through the center. Inside t... | Num_Eye_Pairs=1;
part = "Basic";
ring_r=9;
ring_thick=5;
print_dist=.4;
$fs=1;
ring_width=2;
eye_r=10;
eye_dist=4;
eyering_r=(eye_r+eye_dist/2)*sqrt(2)-ring_r;
openring_shiftdown=ring_r/sqrt(2)+eyering_r/sqrt(2);
eye_shiftside=openring_shiftdown;
openring_shiftbottom=-eye_r+ring_thick/2 + eye_r*.35;
eyeball... | glb/cad_c58303766d0a.glb |
Create an LM8UU Bearing X-Carriage. Start with a central base plate that is a rectangular slab measuring 50mm by 56mm with a thickness of 3.2mm. Center a vertical cylinder with a radius of 26.5mm and a height of 6mm on this plate.
Add a fan mount to the rear of the base plate. This mount consists of a central rectangu... | include <configuration.scad>
include <lm8uu-holder-slim.scad>
belt_clamp_thickness=2;
belt_clamp_width=m3_diameter+3*belt_clamp_thickness+2;
for (i=[-1,1])
translate([0,i*(belt_clamp_width+1),0])
belt_clamp();
belt_clamp_channel();
simonkuehling_x_carriage(with_fanmount=true);
module simonkuehling_x_carriage(with... | glb/cad_b3feb2608e3b.glb |
Create a clamp assembly consisting of two main sections joined by a central bridge. The first section is a cylindrical bearing housing with an outer diameter of 27.2mm and a height of 15mm. This cylinder has a concentric vertical hole passing through its center with a diameter of 11.3mm, and a smaller coaxial hole with... | m3_diameter = 3.25;
m3_nut_diameter = m3_diameter * 1.8;
m8_diameter = 8.2;
m10_diameter = 10.5;
outer_radius = m10_diameter/2+3.3;
shaft_separation = 30;
bearing_od = 22.6;
bearing_id = m8_diameter;
bearing_rodhole_d = bearing_id + 3;
module origclamp(){
difference(){
union(){
translate([outer_radius, out... | glb/cad_bebb263fad72.glb |
Create four identical spacers for a Y-carriage assembly. Each spacer is a hollow cylinder with an outer diameter of 12mm and a height of 27mm.
For each cylinder, create a central vertical hole with a diameter of 3mm that passes completely through the top and bottom faces. Additionally, create two larger circular cuto... | include <gregs-lm8uu-holder3.scad>
include <configuration.scad>
layer_height=0.30;
beam_support_thickness=5;
beam_width=20;
beam_thickness=9;
bar_seperation=100;
carriage_mount_hole_y_sep=110;
carriage_mount_hole_x_sep=bar_seperation;
carriage_width=carriage_mount_hole_x_sep;
carriage_depth=carriage_mount_hole_y_s... | glb/cad_2c89c4cec8ce.glb |
Create an X-Carriage for a 3D printer. Start with a central base plate that is 50mm wide, 56mm long, and 3.2mm thick. In the center of this plate, create a vertical cylindrical hole with a radius of 21mm.
Position two LM8UU bearing holders symmetrically on the base plate, each centered 25mm from the origin along the X... | include <configuration.scad>
include <lm8uu-holder-slim.scad>
belt_clamp_thickness=2;
belt_clamp_width=m3_diameter+3*belt_clamp_thickness+2;
for (i=[-1,1])
translate([0,i*(belt_clamp_width+1),0])
belt_clamp();
belt_clamp_channel();
simonkuehling_x_carriage(with_fanmount=true);
module simonkuehling_x_carriage(with... | glb/cad_b73a1b0b4969.glb |
Create a case bottom for a Raspberry Pi Zero W. Start by creating a rectangular base with a width of 65mm, a height of 30mm, and a depth of 1.6mm. Apply a corner radius of 3mm to the outer edges.
From this base, carve out a central rectangular recessed area that is 59mm wide and 24mm high, leaving a wall around the p... | include <raspberry_pi_zero_w.scad>;
$fn=30;
echo(version=version());
corner_radius = 3.0;
depth = 1.6;
height = 30;
hole_diameter = 2.75;
hole_offset = 3.5;
hole_to_hole = 58;
tollerance = 0.2;
width = 65;
post_height = 4.5;
standoff_height = post_height - 1.6;
module case_bottom() {
color("steelblue")
tran... | glb/cad_9250b17f41ca.glb |
Create a hollowed-out rectangular block with rounded corners and edges. The outer shell should have a width of 40mm, a height of 20mm, and a thickness of 40mm. Apply a corner radius of 10mm to all exterior edges. To create the interior cavity, remove a smaller rounded rectangular block from the center. This inner cutou... | $fn = 24;
height = 20;
width = 40;
thickness = 40;
shell_thickness = 20;
roundedness = 10;
module rounded_box(points, radius, height){
hull(){
for (p = points){
translate(p) cylinder(r=radius, h=height);
}
}
}
module multiHull(){
for (i = [1 : $children-1])
hull(){
... | glb/cad_83b46089c14d.glb |
Create a hexagonal base with a total height of 13mm and a flat-to-flat outer radius of 21.5mm. The base should be a solid hexagonal prism for the first 10mm of its height. From the 10mm mark up to the top at 13mm, create a hexagonal rim with a wall thickness of 5mm, leaving a recessed hexagonal center with a radius of ... | DEBUG = true;
DEBUG = false;
inner_radius = 16.5;
rim_thickness = 5;
rim_height = 3;
outer_radius = inner_radius + rim_thickness;
n_sides = 6;
standoff_height = 10;
height = standoff_height + rim_height;
module body() {
difference(){
cylinder(r=outer_radius, h=height, $fn=n_sides);
translate([0,... | glb/cad_3199d24b2b23.glb |
Create a 3D model of a Reuleaux triangle prism with a width of 50mm and a height of 10mm. The base shape is formed by the intersection of three circles, each with a diameter of 50mm, centered at [0, 25, 0], [-25, -25, 0], and [25, -25, 0]. On the top surface of this prism, add the text "JMH" extruded to a height of 2mm... | $fa = 12;
$fs = 2;
$fn = 360;
width = 50;
module reuleaux_triangle(width) {
intersection(){
translate([0, width/2, 0]) circle(width);
translate([-width/2, -width/2, 0]) circle(width);
translate([width/2, -width/2, 0]) circle(width);
}
}
hull(){
linear_extrude(10)
reuleaux_triangle(w... | glb/cad_6f6a7e2106c6.glb |
Create a servo mount consisting of a main rectangular body and several integrated attachments. The main body is a block 41mm long, 20.5mm wide, and 36mm high. At the top, add two mounting flanges extending 7.5mm from each end of the length, each 2.5mm thick and positioned 7mm below the top edge. On the top surface, cen... | infinity=1000;
module Servo(L=41, W=20.5, H=36, CutoutL=0, CutoutH=0, FlangeL=7.5, FlangeH=2.5, FlangeFromTop=7,
HolesN=2, HoleD=4, HolesXDist=48.5, HolesYDist=10, AxisD=6, AxisH=5.5, AxisHoleD=2, AxisFromFront=10.5,
AxisFlangeD1=14.5, AxisFlangeD2=11, AxisFlangeH=1.5,
CableLeadL=2, CableLeadW=6.5, CableLeadH=3.7, ... | glb/cad_489faa90d358.glb |
Create a servo mount with a central cavity for a servo measuring 28mm in length, 14mm in width, and 10.3mm in height. The main body is a rectangular block 48mm long, 16mm wide, and 10.3mm high. Center the servo cavity within this block, shifting it by -1.2mm along the X-axis.
At the top of the mount, add a raised ste... | infinity = 1000;
include <lego_pin_hole.scad>
base_LL = 6;
base_WL = 2;
base_HL = 0;
side_wall_startL = 1;
side_wall_stopL = 2;
servo_L = 28;
servo_W = 14;
servo_H = 10.3;
servo_H_front = 8.5;
ServoXOffset=-1.2;
ServoFlangeL=6.5;
step_L = 10;
step_H = 3;
screw_D = 6;
screw_D2 = 3;
screw_H = 7.8;
screw_space = 35... | glb/cad_a1334330d6ca.glb |
Create a servo mount designed for LEGO compatibility. Start with a rectangular base measuring 48mm in length, 24mm in width, and 4mm in height. Centered on this base, create a rectangular cavity to house a servo, measuring 41mm long, 20.5mm wide, and 32mm high. Ensure there is a 7mm wide gap running through the center ... | infinity = 1000;
lego = 8;
lego_pin = 4.8;
lego_flange = 6;
lego_flange_depth = 0.8;
lego_clearance = 0.2;
base_LL = 6;
base_WL = 3;
base_HL = 1;
side_wall_startL = 2;
side_wall_stopL = 4;
servo_L = 41;
servo_W = 20.5;
servo_H = 32;
servo_H_front = 26;
servo_cable_W = 7;
base_x_offset = -(2-0.25);
snap_x = 8;
snap... | glb/cad_73cf0efcc480.glb |
Create a lego servo mount by constructing a circular disc with a total height of 8mm and an outer diameter of 24mm. At the center of this disc, remove a cylindrical hole with a diameter of 10mm that passes completely through the object. To the outer perimeter of the disc, add 25 evenly spaced vertical teeth, each with ... | use <servo_arm_base.scad>
use <lego_pin_hole.scad>
lego=8;
infinity=1000;
d_base=10;
d = lego*3;
module lego_servo_arm_round(teeth=25, ds1=6, ds2=5.5, film=1)
{
difference()
{
union()
{
servo_arm_base(d=d_base, h=8, ds1=ds1, ds2=ds2, hs=4, teeth=teeth, d_hole=3, d_head_hole=6, h_head_hole=2, chamfer=0, film=f... | glb/cad_be00f893f3ea.glb |
Create a lego servo mount by constructing a rounded rectangular base with a total length of 24mm, a width of 8mm, and a height of 4mm. The base should be formed by the convex hull of two cylinders with a radius of 4mm, positioned 8mm apart along the x-axis, and a central cylinder with a radius of 5mm and a height of 4m... | use <servo_arm_base.scad>
use <lego_pin_hole.scad>
lego=8;
infinity=1000;
d_base=10;
d = lego*3;
module lego_servo_arm_round(teeth=25, ds1=6, ds2=5.5, length=5)
{
difference()
{
union()
{
servo_arm_base(d=d_base, h=8, ds1=ds1, ds2=ds2, hs=4, teeth=teeth, d_hole=3, d_head_hole=6, h_head_hole=2, chamfer=0, film... | glb/cad_8834ac14a2f2.glb |
Create a lego servo mount consisting of a central cylinder with two thin, wider circular flanges at each end. The main central cylinder has a radius of 2.5mm and a total length of 8mm. At both ends of this cylinder, add a circular flange with a radius of 3.1mm and a thickness of 0.8mm. The final shape should be a symme... | lego = 8;
lego_pin = 4.8;
lego_flange = 6;
lego_flange_depth = 0.8;
lego_clearance = 0.2;
r1 = (lego_pin+lego_clearance)/2;
r2 = (lego_flange+lego_clearance)/2;
infinity=1000;
module lego_pin_hole(h, pos, rot=[0,0,0], extend=infinity, chamfer=0, teardrop=0, film=0)
{
chamfer_internal_offset=0.2;
chamfer_external_wid... | glb/cad_ae8ce68adb86.glb |
Create a lego servo mount by starting with a main cylinder that has a diameter of 10mm and a height of 8mm. Drill a vertical hole through the center of this cylinder with a diameter of 3mm. At the bottom of the mount, create a wider recessed opening for a screw head with a diameter of 6mm and a depth of 2mm. To create ... | infinity = 1000;
module servo_arm_base(d=10 , h=8 , ds1=6 , ds2=5.5 , hs=4 , teeth=25 , d_hole=3 , d_head_hole=6, h_head_hole=2, chamfer=0, film=0)
{
difference()
{
cylinder(r=d/2, h=h);
translate([0,0,(h_head_hole+0.2)*film])
cylinder(r=d_hole/2, h=h);
translate([0,0,-1])
if(chamfer)
cylinder(r2=... | glb/cad_8a479e34b96b.glb |
Create a servo mount for an MG90S servo. Start with a rectangular base measuring 48mm in length, 16mm in width, and 4.7mm in height. Centered on this base, carve out a rectangular servo cavity 29mm long, 14mm wide, and 19.7mm deep, offset by 1.3mm along the length.
At the bottom of the mount, create a cable lead chan... | infinity = 1000;
include <lego_pin_hole.scad>
base_LL = 6;
base_WL = 2;
base_HL = 3+1.7/lego;
servo_L = 29;
servo_W = 14;
servo_H = 19.7;
ServoFullH=30;
ServoXOffset=0.8+0.5;
ServoCableLeadW=lego;
ServoCableLeadFromBottom=3;
ServoCableLeadFromTop=5.2;
HolesXDist=34.5;
HoleD=1.8;
HoleH=10;
HoleAngle=7;
ScrewD=2.3;
Sc... | glb/cad_4575b88ba045.glb |
Create a lego servo mount consisting of a rectangular base and a central cavity for a servo. The base is 48mm long, 16mm wide, and 4.1mm high. Centered on this base, create a rectangular servo cavity measuring 29mm in length and 14mm in width, extending upwards from the base.
On the sides of the base, add four lego-co... | infinity = 1000;
include <lego_pin_hole.scad>
base_LL = 6;
base_WL = 2;
base_HL = 3+1.7/lego;
servo_L = 29;
servo_W = 14;
servo_H = 19.7;
ServoFullH=30;
ServoXOffset=0.8+0.5;
ServoCableLeadW=lego;
ServoCableLeadFromBottom=3;
ServoCableLeadFromTop=5.2;
HolesXDist=34.5;
HoleD=1.8;
HoleH=10;
HoleAngle=7;
ScrewD=2.3;
Sc... | glb/cad_1896d9b1c927.glb |
Create a servo mount for an MG90S servo. Start with a rectangular base block measuring 48mm in length, 16mm in width, and 10.3mm in height. Centered within this block, carve out a rectangular cavity for the servo that is 28mm long, 14mm wide, and 10.3mm deep, offset by -1.2mm along the length.
At the top of the mount... | infinity = 1000;
include <lego_pin_hole.scad>
base_LL = 6;
base_WL = 2;
base_HL = 0;
side_wall_startL = 1;
side_wall_stopL = 2;
servo_L = 28;
servo_W = 14;
servo_H = 10.3;
servo_H_front = 7.5;
ServoXOffset=-1.2;
ServoFlangeL=3;
step_L = 10;
step_H = 3;
screw_D = 6;
screw_D2 = 3;
screw_H = 7.8;
screw_space = 35;
... | glb/cad_45d45b428d0a.glb |
Create a bullet-shaped object centered on the Z-axis. Start by constructing a base cone-like frustum that begins at the origin with a diameter of 7mm and extends upward to a height of 20mm, tapering outward to a diameter of 12mm. From the top of this base, extend a cylinder with a constant diameter of 12mm upward for a... | h1 = 50;
h2 = 20;
d1 = 7;
d2 = 5;
d3 = 12;
difference() {
union() {
translate([0, 0, h2]) cylinder(h=h1-h2-d3/2, d1=d3, d2=d3);
translate([0, 0, h1-d3/2]) sphere(d=d3);
cylinder(h=h2, d1=d1, d2=d3);
}
cylinder(h=100, d=d2);
} | glb/cad_1ca2a2be29b3.glb |
Create a cylindrical object with a total height of 15mm and an outer radius of 15mm. The main body is a cylinder with a radius of 15mm and a height of 13.5mm. Centered on top of this cylinder, add a torus with a major radius of 15mm and a minor radius of 1.5mm, positioned so that its center is at a height of 13.5mm. To... | use <Torus.scad>
r1 = 15;
r2 = 12 / 2;
h1 = 15;
difference() {
union() {
cylinder(r=r1, h=h1-(r1-r2)/2);
translate([0, 0, h1-(r1-r2)/2])
Torus((r1-r2)/2, r1);
}
cylinder(r=r2, h=2*h1);
translate([0, -r2, 0]) cube([r1, 2*r2, 2*h1]);
} | glb/cad_cef9e6239a64.glb |
Create a business card holder by first constructing an open-topped rectangular box with outer dimensions of 91.8mm in width, 17.8mm in depth, and 45mm in height. The walls of this box should be 1mm thick. To create the opening for the cards, remove a central slot from the top and front face of the box. This slot is for... | use <lib_boxes5.scad>
wall_thickness = 1;
card_width = 89;
card_height = 54;
size = 15;
exposure = 10;
tolerance = 0.40;
box_x = 2*wall_thickness+2*tolerance+card_width;
box_y = 2*wall_thickness+2*tolerance+size;
box_z = wall_thickness+tolerance+card_height-exposure;
difference() {
open_box(box_x, box_y, box_z, 0, ... | glb/cad_3720bf8f35ea.glb |
Create a hollow cylindrical tube with an outer diameter of 28mm, an inner diameter of 24mm, and a total height of 30mm. Cut a wide rectangular slot through the wall of the cylinder to create an opening. This slot should be 28mm wide and 30mm high, centered such that it removes a significant portion of the cylinder's si... | d1 = 24;
t1 = 2;
h1 = 30;
difference() {
union() {
cylinder(d=d1+2*t1, h=h1);
}
union() {
cylinder(d=d1, h=h1);
translate([(d1+2*t1)/4, -((d1+2*t1)/2), 0]) cube([d1+2*t1, d1+2*t1, h1]);
}
}
translate([0, d1/2, 0]) cube([2*d1, t1, h1]); | glb/cad_49a740d968aa.glb |
Create a small storage box with a lid. The main body is a rectangular container with outer dimensions of 26.6mm in width, 77.4mm in depth, and 23.5mm in height. The walls have a thickness of 2.4mm.
The base of the box is a solid rectangular shell. To create the interior storage space, remove a rectangular volume from... | use <lib_boxes6.scad>
sdx = 25;
sdy = 2.2;
sdz = 33;
x = sdx*2;
y = sdx*3;
z = sdz;
r = 0;
f = 9;
t = 0.4;
d1 = 0.8*2+t;
d2 = 1.5;
d3 = 1.5;
xc = x+2*d1;
yc = y+2*d1;
zb = 2*z/3+d2;
zt = f+d3+z/3;
rc = 0;
difference() {
box_bottom(xc, yc, zb, rc, d1, f, t, d2);
translate([xc/4, yc/6, 0]) cylinder(h=d2, d = ... | glb/cad_01b209d6001d.glb |
Create a rectangular array of spheres, each with a radius of 3mm. The spheres should be arranged in a grid that is 11 spheres wide along the X-axis and 6 spheres deep along the Y-axis. The spacing between the centers of the spheres should be approximately 11.43mm (3*rp+1) in both the X and Y directions. The total footp... | use <lib/boxes3.scad>
x = 5.5*25.4 ;
y = 3.5*25.4 ;
z = 15 ;
r = 10 ;
d = 2.0 ;
rp = 3;
difference() {
union() {
open_box(x, y, z, r, d);
intersection() {
rounded_rectangle(x, y, z, r);
union() {
for (x1 = [0 : 3*rp+1 : x]) {
for (y1 = [... | glb/cad_6b3d1eb5c853.glb |
Create a hollowed-out geometric shell by constructing a large outer form and removing a slightly smaller inner form. First, create the outer shape by forming a convex hull that encompasses a sphere with a radius of 15mm centered at the origin, two smaller spheres with radii of 7mm positioned at [20, 5, 0] and [20, -5, ... | r1 = 15.0;
d1 = 2.0;
r2 = 7;
x2 = 5;
y2 = 10;
difference() {
hull() {
sphere(r=r1);
translate([r1+x2, y2/2, 0]) {
sphere(r=r2);
}
translate([r1+x2, -y2/2, 0]) {
sphere(r=r2);
}
translate([0, 0, -r1])
cylinder(h=1, r=r1);
}
... | glb/cad_c4def3bdbe2c.glb |
Create a set of four distinct geometric components. First, construct two hollow cylindrical sleeves with a height of 20mm. The first sleeve should have an outer diameter of 24mm and an inner diameter of 15mm. The second sleeve should have an outer diameter of 32.4mm and an inner diameter of 25mm.
Additionally, create... | module sleeve(x, y, z, d) {
translate([0, (y-x)/-2, 0]) {
difference() {
hull() {
cylinder(h=z, d=2*d+x);
translate([0, y-x, 0]) cylinder(h=z, d=2*d+x);
}
hull() {
cylinder(h=z, d=x);
translate([0, y-x, 0]) c... | glb/cad_8680d0f696d4.glb |
Create a rectangular plate with dimensions 230mm in length, 230mm in width, and 10mm in thickness. The plate should have rounded corners with a radius of 10mm. Along the length of the plate, centered at a distance of 16mm from the edges, create four circular holes, each with a diameter of 16mm. Position two holes along... | use <lib_boxes5.scad>
use <lib_soft.scad>
th = 10.0;
x1 = 230;
y1 = 230;
d1 = 120;
bd2 = 16;
bd1 = 35;
bx1 = bd2*2;
by1 = bd1+4*bd2;
bz1 = 72;
intersection() {
difference() {
union () {
softz_cube([x1, y1, th], cr=10);
translate([0, 110, th]) cube([x1, th, th]);
}
... | glb/cad_e0fc8875b51a.glb |
Create a ktLED1 LED holder by constructing a base block and a mounting clip. Start with a rectangular base measuring 32mm in length, 21.35mm in width, and 6.8mm in height.
At the center of this base, create a vertical cylindrical cutout with a diameter of 5.4mm and a depth of 3.3mm to house the LED. Directly above th... | gap1 = 0.001;
gap2 = 0.002;
th = 2;
d1 = 7+1;
d2 = 12-1;
d3 = 2.1+0.4;
h1 = 9.6-2;
h2 = 2.1+0.4;
th1 = 5.1;
th2 = 2;
r1 = 20;
x1 = 16;
A = 1;
B = 1;
if(A)
{
right();
}
if(B)
{
translate( [-10, 0, -10] )
rotate([0, 180, 0])
{
difference()
{
mirror( v=[0, 0, 1] )
translate( [0... | glb/cad_7543ebf4ccda.glb |
Create a 3D model of an MBI5024 LED driver chip support. Start by creating a central rectangular body with dimensions of 13mm in length, 6mm in width, and 1.5mm in height.
Add a series of 12 identical pins extending from the bottom of the body. Each pin is composed of three small rectangular sections: two outer pads ... | off_ground = 0.1;
body_height = 1.5;
module body() {
translate([0, 0, body_height/2 + off_ground]) {
cube([13, 6, body_height], center=true);
}
}
module half_pin(pin_width, pin_thickness, pin_height, pin_pad_length) {
translate([0, 0, pin_thickness/2]) {
cube([pin_width, pin_pad_length, pi... | glb/cad_d2a0c7f2067e.glb |
Create a 3D Triforce composed of four regular tetrahedrons and a connecting outer frame.
First, create four regular tetrahedrons, each with an edge length of 50mm. Position three of these tetrahedrons to form a larger equilateral triangular base: place the first at the origin, the second shifted 50mm along the x-axis... | edge_length = 100.0;
frame_width = 5.0;
frame_standout = 5.0;
function tetrahedron_height(size) = sqrt(6.0) * size / 3.0;
function equilateral_triangle_height(size) = sqrt(3.0) * size / 2.0;
function tetrahedron_center(size) =
[
size / 2.0,
sqrt(12) * size / 12.0,
sqrt(12) * size / 12.0
... | glb/cad_8b4a0e1cfcbb.glb |
Create a Kit-Baleine electronic housing by constructing a main outer block and removing specific internal volumes. Start with a solid rectangular block measuring 34.6mm in length, 28mm in width, and 8.6mm in height, centered on the origin. From this block, remove a smaller internal rectangular volume measuring 37.6mm i... | module CI() {
color("DarkGreen") cube([36,25,1.7],center=true);
color("DarkGreen") translate([-2.6/2,0,0]) cube([38.6,6.8,1.7],center=true);
color("Silver") translate([-8,0,4.4/2+1.7/2]) cube([15.3,21.3,4.4],center=true);
color("DimGray") translate([8,0,5.0/2+1.7/2]) cube([6,6,5],center=true);
}
module... | glb/cad_34e8f3c52586.glb |
Create an espresso funnel designed to fit a basket with an inside diameter of 51.5mm. The main body is a rotationally symmetric, hollow flared cone with a wall thickness of 2mm. The profile of the wall follows a square root curve, starting from the base and extending upward to a total height of 20mm, reaching a top out... | $fn = 64;
vertFn = 32;
targetDiameter = 51.5;
targetRadius = targetDiameter/2;
wallWidth = 2;
gap = 0.12;
omega = 0.001;
function funnelProfile(x) = sqrt(x) * 4;
x0 = 0;
x1 = 20;
incr = (x1 - x0) / vertFn;
poly1 = [ for (x = [x0 : incr : x1]) [x, funnelProfile(x)] ];
poly2 = reversePoly( offsetPoly(poly1, 0, ome... | glb/cad_5c41533428b3.glb |
Create a post-modern fidget object consisting of two identical interlocking tori. Each torus must be constructed by rotating a circle with a radius of 8mm around an axis located 16.18mm from the circle's center. Position the first torus centered at the origin. Position the second torus by translating it 16.18mm along t... | cli_fn = 80;
$fn = cli_fn;
gap = 0.18;
doDiameter = 16;
doRadius = doDiameter / 2;
rotate([0, 45, 0]) {
donut(doRadius + gap, doRadius);
translate([0, doRadius*2 + gap/2, 0])
rotate([0, 90, 0]) {
donut(doRadius + gap, doRadius);
}
}
module donut(insideRadius, radialRadius) {
rotate_extr... | glb/cad_799600b1f0aa.glb |
Create a tent hook with a total thickness of 6mm. The main body is formed by the convex hull of two cylinders: a first cylinder centered at [0, 0] with a radius of 6.5mm, and a second cylinder centered at [18.5, 0] with a radius of 8mm.
From this solid body, remove two vertical cylindrical holes: one with a radius of... | cli_fn = 32;
$fn = cli_fn;
fn_Low = 64;
fn_Med = fn_Low * 2;
fn_High = fn_Low * 4;
omega = 0.001;
wallWidth = 6.0;
wallHeight = wallWidth;
bevelRadius = 0.5;
bevelSteps = 8;
hookAngle = 36;
d1 = 7;
r1 = d1/2;
c1 = [0, 0, 0];
d2 = 10;
r2 = d2/2;
c2 = c1 + [22-r1+r2, 0, 0];
echo(c2=c2);
tentHook(wallWidth, wallHe... | glb/cad_890d4ae2989a.glb |
Create a Scanse Sweep to Actobotics bracket by starting with a main cylinder 50mm in diameter and 5mm thick. Remove a center bore with a radius of 6.35mm. Create a cable routing channel through the center bore using a rectangular cutout measuring 17mm by 8mm.
Add four mounting holes for the Actobotics pattern, positio... | module ScanseToActobotics() {
bracket_radius_mm = 25.0;
bracket_height_mm = 5.0;
difference() {
cylinder(h=bracket_height_mm, r=bracket_radius_mm, $fn=256);
cylinder(h=bracket_height_mm, r=6.35, $fn=128);
for(angle = [45:90:315]) {
rotate(a=angle, v=[0,0,1]) {
... | glb/cad_696501cc9437.glb |
Create a zipspool filament holder. Start by constructing the base arms as a union of three hulls: one connecting two cylinders of 5mm diameter positioned 125mm apart at the bottom corners, and two more hulls connecting each of those bottom cylinders to a top pair of cylinders (each 5mm diameter) spaced 28mm apart. Thes... | holder_height = 180;
holder_width = 125;
holder_arm_depth = 10;
holder_arm_height = 5;
holder_spindle_backing = 55;
holder_spindle_offset = 3;
holder_key_angle_offset = 30;
holder_bevel_diameter = 40;
holder_bevel_depth = 5;
holder_clip_height = 5;
holder_clip_width = 2;
holder_clip_offset = 10;
spindle_diameter = 28;
... | glb/cad_849b7067485f.glb |
Create a TactBook hackable laptop platform. Start by constructing the display assembly: create a front panel with a thickness of 3mm, a rear panel with a thickness of 3mm, and a middle section with a thickness of 5mm that connects them.
For the main body, build a bottom side and a top side. On the right side of the bo... | $fn=36;
include <note.scad>
include <board/H310M-STX.scad>
include <body.scad>
include <parts/speaker.scad>
include <parts/usb_type_a_port_single.scad>
include <parts/hdmi_type_a_port_180788.scad>
include <parts/touchpad_D1.scad>
include <common/fan_guard_blank.scad>
space = 50;
display_front_thickness = 3;
display_... | glb/cad_5efd4ef8d548.glb |
Create a geometric household item consisting of two stacked hexagonal rings. Each ring is composed of six cylindrical segments, each 10mm long with a radius of 0.5mm. The cylinders are arranged as 16-sided prisms to form a regular hexagon.
For the first ring, position six cylinders such that their centers form a hexag... | $fn = 16;
joint_thickness = 1;
segment_thickness = 1;
module regular_polygon(num_sides, side_length)
{
slice_angle = 360 / num_sides;
segment_radius = side_length / (2 * tan(slice_angle/2));
vertex_radius = side_length / (2 * sin(slice_angle/2));
for(i = [0:num_sides-1])
{
rotate([0,0,sli... | glb/cad_341fce7f47a9.glb |
Create a parametric household container with a square footprint. Start by constructing a rounded cube with a side length of 60mm, a height of 80mm, and a corner radius of 5mm. Hollow out the center to create a shell with a wall thickness of 5mm and a bottom thickness of 5mm. The interior cutout should also have a corne... | $fn=64;
module roundedcube(xdim,ydim,zdim,rdim){
hull(){
translate([rdim,rdim,0]) cylinder(h=zdim,r=rdim);
translate([xdim-rdim,rdim,0]) cylinder(h=zdim,r=rdim);
translate([rdim,ydim-rdim,0]) cylinder(h=zdim,r=rdim);
translate([xdim-rdim,ydim-rdim,0]) cylinder(h=zdim,r=rdim);
}
}... | glb/cad_ab3634fd7ee2.glb |
Create a Roman Temple model starting with a rectangular base measuring 44mm wide, 60mm long, and 2mm high. Centered on this base, place a rectangular cella measuring 24mm wide, 40mm long, and 16mm high.
Surround the cella by placing 32-facet cylinders as pillars, each with a radius of 2mm and a height of 16mm. Positi... | $fn=32;
baseHeight = 2;
baseWidth = 44;
baseLength = 60;
pillarRadius = 2;
pillarHeight = 16;
cellaWidth = 24;
cellaLength = 40;
roofHeight = 5;
roofBeamHeight = 1;
numWidthPillars = 6;
numLengthPillars = 8;
module fancyPillar()
{
translate([pillarRadius, pillarRadius, baseHeight])
{
translate([0, 0, ... | glb/cad_138e4c5f8db4.glb |
Create a utensil holder consisting of a flat base and five vertical walls. Start by creating a rectangular base that is 10mm wide, 2mm thick, and has a total length determined by the sum of the internal gaps and wall thicknesses. Place five vertical walls, each 2mm thick, 10mm wide, and 40mm high. Position the first wa... | module utensilHolder(bottomHeight, wallHeight, wallThickness, width, gapList)
{
module bottom(gap) { cube([gap, width, bottomHeight]); }
module wall() { cube([wallThickness, width, wallHeight]); }
function total_gap_of(n) = ( n==0 ? 0 : gapList[n-1] + wallThickness + total_gap_of(n-1) );
for(i = [0 : 1... | glb/cad_66936f70eada.glb |
Create a household holder base by stacking three concentric cylindrical sections. Start with a bottom cylinder 100mm in diameter and 5mm high. On top of this, add a 5mm high conical frustum that transitions from a 50mm bottom radius to a 20mm top radius. Atop the frustum, place a final cylinder with a 20mm diameter and... | $fn = 64;
cutInHalfView = true;
baseRadius = 50;
baseHeight = 5;
midBevelTopRadius = 20;
midBevelBottomRadius = 25;
midBevelHeight = 5;
topTubeRadius = 10;
topTubeHeight = 20;
holeRadius = 8;
holeDepth = 25;
holeEdgeFromRadius = 5;
centreMarkerRadius = 1;
centreMarkerHeight = 1;
module baseModel() {
union() {... | glb/cad_60ba8850298c.glb |
Create a laser engraver belt holder by starting with a rounded rectangular base measuring 19mm by 19mm with a height of 6.5mm and corner radii of 2mm. From this base, remove a cylindrical hole with a radius of 3mm centered at coordinates (9.5, 4) that passes completely through the height of the object. Additionally, re... | $fn=64;
module roundedcube(xdim,ydim,zdim,rdim){
hull(){
translate([rdim,rdim,0]) cylinder(h=zdim,r=rdim);
translate([xdim-rdim,rdim,0]) cylinder(h=zdim,r=rdim);
translate([rdim,ydim-rdim,0]) cylinder(h=zdim,r=rdim);
translate([xdim-rdim,ydim-rdim,0]) cylinder(h=zdim,r=rdim);
}
... | glb/cad_fed87bc66586.glb |
Create a rounded shade by constructing a composite solid and hollowing it out. First, build the outer shell by combining a cylinder with a diameter of 40mm and a height of 80mm, a cube with a width and depth of 40mm and a height of 80mm, and a sphere with a radius of 20mm positioned at the top center. Additionally, add... | $fn=100;
module roundedShadeShape(diameter, sideLen, cylinderHeight)
{
cylinder(h=cylinderHeight, r=diameter/2, center=false);
translate([-diameter/2,0,0]) cube([diameter,sideLen,cylinderHeight]);
translate([0,0,cylinderHeight]) sphere(r=diameter/2);
translate([0,0,cylinderHeight]) rotate([-90,0,0]) cy... | glb/cad_eede4a5329ed.glb |
Create a 3D model of a stepper motor. Start with a main cylindrical body 28mm in diameter and 19mm high. Centered on the bottom face and extending upwards, add a rectangular block measuring 17mm wide, 14.6mm deep, and 17mm high, positioned 2mm above the base. On the top surface, place a central vertical cylinder with a... | $fn=30;
module stepper_28BYJ_motor(){
cylinder(d=28, h=19);
translate([0, -14.6/2, 2])
cube([17, 14.6, 17]);
translate([-8,0,1]){
cylinder(d=9, h=19+1.5);
difference(){
cylinder(d=5, h=19+10);
translate([-3-1.5,0,19+10-3])
cube(6.01, center=... | glb/cad_a396eecae840.glb |
Create a bitbeam for an Arduino UNO board. Start by creating a rectangular base block measuring 9 units wide, 7 units deep, and 0.25 units high.
Add six cylindrical pegs to this base, each with a diameter of 6mm and a height of 5mm. These cylinders should be centered vertically and positioned symmetrically. Place two... | include <bitbeam-lib/bitbeam-lib.scad>
size = 70;
module bb_brd_9x9(){
difference(){
union(){
translate([-unit/2, unit/2, -unit*0.5])
ecube([unit*9, unit*7, unit*0.25]);
for (i=[0,1]){
translate([17-unit/2,unit*7,-unit/2+5/2])
mi... | glb/cad_2db4e98e4b52.glb |
Create a bitbeam board by starting with a rectangular base block measuring 7 units wide, 9 units deep, and 0.25 units thick. At the four corners of this base, centered at coordinates (±20, ±30) relative to the center, place four cylinders with a diameter of 6mm and a height of 5.1mm. Drill a smaller hole with a diamete... | include <bitbeam-lib/bitbeam-lib.scad>
module brd_oedu(){
difference(){
union(){
translate([-unit/2, unit/2, -unit*0.5])
ecube([unit*7, unit*9, unit*0.25]);
translate([24, 40, -unit*0.5])
for (x=[-1, 1], y=[-1, 1]){
translate([20*... | glb/cad_677e68fdd701.glb |
Create a bitbeam board by starting with a rectangular base measuring 9 units wide, 7 units deep, and 0.25 units thick. At four specific points on this base, add cylindrical protrusions with an outer diameter of 6mm and a height of 5.1mm. These cylinders should be positioned symmetrically: two along the x-axis offset by... | include <bitbeam-lib/bitbeam-lib.scad>
module brd_oedu(){
difference(){
union(){
translate([-unit/2, unit/2, -unit*0.5])
ecube([unit*9, unit*7, unit*0.25]);
translate([32, 32, -unit*0.5])
for (x=[-1, 1], y=[-1, 1]){
translate([30*... | glb/cad_58909d733839.glb |
Create a bitbeam board beam by starting with a rectangular base plate measuring 63mm by 63mm with a thickness of 2.5mm. At each of the four corners of this plate, place a cylindrical pillar with an outer diameter of 6mm and a height of 5.1mm. Each of these four pillars must have a concentric vertical hole drilled throu... | include <bitbeam-lib/bitbeam-lib.scad>
size = 70;
module brd_ouni(){
difference(){
union(){
translate([-unit/2, unit/2, -unit*0.5])
ecube([unit*9, unit*9, unit*0.25]);
translate([35.5-4, 40.7, -unit*0.5])
for (x=[-1, 1]){
for (y=... | glb/cad_db8bb9ce72bd.glb |
Create a Raspberry Pi Pico board beam by starting with a central rectangular slab measuring 7mm wide, 3mm deep, and 0.25mm thick. At the four corners of this slab, centered around the middle, place four cylindrical posts. Each post must have an outer diameter of 3.8mm and a height of 5.1mm, with a concentric hole drill... | include <bitbeam-lib/bitbeam-lib.scad>
module brd_rpip(){
difference(){
union(){
translate([unit*-0.5, unit*0.5, -unit*0.5])
ecube([unit*7, unit*3, unit*0.25]);
translate([24, 16, -unit*0.5])
for (x=[-1, 1], y=[-1, 1]){
translate(... | glb/cad_efb942488fd3.glb |
Create a bitbeam construction beam by starting with a central rectangular base measuring 8mm wide, 6mm deep, and 0.25mm high, centered on the origin. Add a second rectangular block on top of this base, measuring 8mm wide, 1mm deep, and 1mm high, centered along the X-axis and shifted 2.5mm along the Y-axis. Add a third ... | include <bitbeam-lib/bitbeam-lib.scad>
size = 70;
module bd_rpiz(){
difference(){
union(){
translate([-unit*4 , -unit*3, -unit*0.5])
ecube([unit*8, unit*6, unit*0.25]);
translate([0, unit*2.5, 0])
ecube([unit*8, unit, unit], true);
transl... | glb/cad_744fa14dc6c6.glb |
Create a bitbeam construction part by starting with a base rectangular block measuring 8mm wide, 6mm deep, and 0.25mm high, centered on the X and Y axes. Add a second rectangular block on top of the first, measuring 8mm wide, 1mm deep, and 1mm high, positioned at Y=2.5mm. Add a third small block measuring 1mm wide, 1mm... | include <bitbeam-lib/bitbeam-lib.scad>
size = 70;
module bd_rpiz(){
difference(){
union(){
translate([-unit*4 , -unit*3, -unit*0.5])
ecube([unit*8, unit*6, unit*0.25]);
translate([0, unit*2.5, 0])
ecube([unit*8, unit, unit], true);
transl... | glb/cad_01b7f1ab113a.glb |
Create a Raspberry Pi Zero board beam by starting with a rectangular base plate measuring 9mm wide, 4mm deep, and 0.25mm thick. At the four corners of this plate, centered at coordinates (±29mm, ±11.5mm) relative to the center, place four cylindrical pillars. Each pillar must have an outer diameter of 6mm and a height ... | include <bitbeam-lib/bitbeam-lib.scad>
module brd_rpiz(){
difference(){
union(){
translate([unit*-0.5, unit*0.5, -unit*0.5])
ecube([unit*9, unit*4, unit*0.25]);
translate([32, 20, -unit*0.5])
for (x=[-1, 1], y=[-1, 1]){
translate(... | glb/cad_461f790e9cc6.glb |
Create a Display Cover 16x2 by starting with a rectangular plate measuring 88mm by 32mm with a thickness of 1mm. From this plate, remove a central rectangular section measuring 80.2mm by 36.8mm with a height of 8mm, and a smaller inner rectangular section measuring 71.5mm by 24.5mm with a height of 8mm. At each of the ... | include <bitbeam-lib/bitbeam-lib.scad>
module socket(){
difference(){
union(){
cylinder(d=6,h=4.6);
cylinder(d=2.8,h=6.2);
translate([-3,0,0]) cube([6,3,4.6]);
translate([0,-3,0]) cube([3,6,4.6]);
}
translate([0,0,1.6]) cylinder(d=1.5,h=8);
}
}
color("YellowGreen")
union() {
... | glb/cad_79c3bdddcb78.glb |
Create a Cyber Robot Battery Case Holder 8x1 by constructing a rectangular base and an attached wall. Start with a central rectangular block that is 8 units long, 1 unit wide, and 1 unit high. Attached to the side of this block, create a wider rectangular base that extends 3.2 units outward from the center and has a he... | include <bitbeam-lib/bitbeam-lib.scad>
module bb_crbch_8(){
cube_arm(8, side_holes=false);
translate([-unit/2, -unit/2-3.2, -unit/2])
cube([unit*8, 3.2, 4]);
translate([-unit/2, -unit/2-3.2, 2])
cube([unit*8, 3.2, 2]);
}
translate([-3.5*unit, 0, unit/2])
color("YellowGreen")
bb_crb... | glb/cad_f4df7534438e.glb |
Create a bitbeam servo beam by constructing a composite central body and removing a central hole. Start by combining a rectangular arm 10mm long, 2mm high, and 2mm wide, centered at the origin, with a central base block 6mm wide, 6mm deep, and 2mm high. Add a 2mm cubic protrusion centered on the base, and a cylinder wi... | include <bitbeam-lib/bitbeam-lib.scad>
module geek_servo_beam(){
difference(){
union(){
translate([unit*-2, 0, 0])
cube_arm(5, h=2, side_holes=false);
translate([-unit, -unit, 0])
cube_base(3, 3, h=2);
translate([unit*0.5, unit*0.5, 0])
... | glb/cad_f71fd0124bcf.glb |
Create a bitbeam geek servo beam by starting with a base beam geometry and removing a central rectangular section. Specifically, carve out a rectangular hole from the center of the beam that measures 5.1 units wide, 4.1 units deep, and 2 units high. Position this cutout so it is centered on the X and Y axes but offset ... | include <bitbeam-lib/bitbeam-lib.scad>
use <bb-geek-servo-a.scad>
color("red")
difference(){
geek_servo_beam();
translate([0, 0, -unit])
cube([unit*5.1, unit*4.1, unit*2], true);
} | glb/cad_33faed4e8703.glb |
Create a BYJ28 motor frame by constructing a thick, low-profile cylindrical ring. Start with a main outer cylinder that has a diameter of 33mm and a height of 16mm. Remove a concentric inner cylinder from the center with a diameter of 28.7mm and a height of 18mm to create the ring wall.
To add the mounting features, ... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=40;
color("red")
translate([4*unit, -3*unit, unit*0.5])
rotate([0, 0, 90])
cube_arm(7);
color("red")
difference(){
union(){
translate([-1*unit, -3*unit, unit*0.5])
rotate([0, 0, 90])
cube_arm(7, skip=[2,3,4], skip_side=[2,3,4]);
... | glb/cad_57bf37903233.glb |
Create a motor frame for a BYJ28 motor. Start by constructing a main cylindrical body with an outer diameter of 33mm and a height of 16mm. Hollow out the center of this cylinder with a hole 28.7mm in diameter and 18mm deep.
On the outer wall of the cylinder, create two opposing circular mounting holes, each 4.3mm in ... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=40;
color("red")
difference(){
union(){
translate([4*unit, -2*unit, unit*0.5])
rotate([0, 0, 90])
cube_arm(5, skip_side=[0,5]);
translate([-1*unit, -2*unit, unit*0.5])
rotate([0, 0, 90])
cube_arm(5, skip=[1,2... | glb/cad_18f6c4ab39ff.glb |
Create a motor frame for a BYJ28-48 motor. Start by constructing a main outer cylinder with a diameter of 33mm and a height of 16mm, using a 50-facet resolution. Remove a concentric inner cylinder with a diameter of 28.7mm and a height of 18mm to create a hollow ring. To form the mounting structure, add a central recta... | include <bitbeam-lib/bitbeam-lib.scad>
color("red"){
translate([-2*unit, -3*unit, unit*0.5])
cube_arm(8);
translate([-2*unit, 3*unit, unit*0.5])
cube_arm(8);
translate([4*unit, -2*unit, unit*0.5])
rotate([0, 0, 90])
cube_arm(5, skip_side=[0,5]);
}
color("red")
difference(){
union(){
tran... | glb/cad_edeb61031965.glb |
Create a bitbeam frame by constructing a central rectangular block measuring 2mm by 8mm by 2mm. Extend this central core with four identical arms, each 5mm long, projecting outwards. Two arms should extend along the Y-axis, positioned 2mm from the center in both positive and negative directions. Two additional arms sho... | include <bitbeam-lib/bitbeam-lib.scad>
rotate([0, 0, -90])
color("RoyalBlue")
difference(){
union(){
for (i=[-1, 1])
translate([4-2.5*unit, i*unit*2, 4])
cube_arm(5, skip=[4], skip_side=[0, 4]);
translate([-unit*2, -unit*2, 4])
rotate([0, 0, 90])
cu... | glb/cad_6ebfb2063a08.glb |
Create a bitbeam frame by constructing a central rectangular block measuring 2mm by 14mm by 2mm. Extend this central core with two symmetrical arms on the left and right; each arm consists of two 5mm long segments separated by a 6mm gap, with the segments themselves being 2mm wide and 2mm tall. Additionally, add a 7mm ... | include <bitbeam-lib/bitbeam-lib.scad>
rotate([0, 0, -90])
color("RoyalBlue")
difference(){
union(){
for (i=[-1, 1])
translate([4-2.5*unit, i*unit*3, 4])
cube_arm(5, skip=[4], skip_side=[0, 4]);
translate([-unit*2, -unit*3, 4])
rotate([0, 0, 90])
cu... | glb/cad_98e62c696455.glb |
Create a Ping-Pong Pivot by constructing a spherical shell with a diameter of 45mm. Hollow out the center of this sphere by removing a smaller concentric sphere with a diameter of 42mm, leaving a wall thickness of 1.5mm. To open the shape, remove a central rectangular block measuring 50mm by 50mm by 18.1mm, and further... | include <bitbeam-lib/bitbeam-lib.scad>
module bb_pivot(){
translate([4-5*unit, 0, 0])
cube_arm(10, skip=[2, 3, 4, 5, 6, 7]);
translate([0, 0, 3*unit+2])
difference(){
union(){
sphere(d=45, $fn=80);
hull(){
translate([0, 0, -22])
... | glb/cad_be67ee992526.glb |
Create a planet ring gear by starting with a central cylinder 5mm in diameter and 0.5mm in height. Remove six small circular holes from this cylinder, each with a diameter of 2mm, arranged in a hexagonal pattern around the center, with each hole's center positioned 3mm from the main axis.
Above this ring, centered on... | include <bitbeam-lib/bitbeam-lib.scad>
module side(){
difference(){
cylinder(r1=0, r2=4.7, h=2, center=true, $fn=30);
translate([0, 0, 0.01])
cylinder(d1=0, d2=4.7, h=2, center=true, $fn=30);
}
}
module plus_shaft(h){
difference(){
cylinder(d=4.7, h=h, center=true, $fn=... | glb/cad_acd6a25f6995.glb |
Create a Rail Angle 22.5 degree curved track section based on a unit of 8mm. The model consists of two mirrored curved rail arms. Each arm is formed by a base block 8 units wide, 0.5 units high, and 0.5 units thick, with the first and sixth segments removed. From this base, subtract a central rectangular slot 0.5 units... | include <bitbeam-lib/bitbeam-lib.scad>
include <lib/rail.scad>
module curve(angle){
translate([0, 0, unit*0.5]) {
rail_curve(48.45, angle);
rail_curve(57.55, angle);
}
for (a=[0, 1]){
rotate([0, 0, a*angle])
translate([unit*22.5, unit*0.5-unit*a, unit*0.25])
dif... | glb/cad_331bcc8d32bd.glb |
Create a Rail Angle 45° construction piece based on a grid unit of 8mm. The model consists of two identical mirrored arms joined at a 45-degree angle. Each arm is a rectangular block 64mm long (8 units), 4mm wide (0.5 units), and 2mm high (0.25 units).
From the center of the joint, extend two arms. Each arm features ... | include <bitbeam-lib/bitbeam-lib.scad>
include <lib/rail.scad>
module curve(angle){
translate([0, 0, unit*0.5]) {
rail_curve(48.45, angle);
rail_curve(57.55, angle);
}
for (a=[0, 1]){
rotate([0, 0, a*45])
translate([unit*22.5, unit*0.5-unit*a, unit*0.25])
differ... | glb/cad_63f52886031a.glb |
Create a buzzer bracket by constructing a curved, C-shaped band. The band is a 270-degree circular sector with a thickness of 1mm and a cross-section width of 1.6mm. The center of the arc is positioned such that the inner radius is 5.85mm and the outer radius is 7.45mm. To complete the geometry, add a small rectangular... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=50;
module sector(){
rotate([0, 0, 90+45])
rotate_extrude(angle=270)
translate([11.7/2, 0, 0])
square([1.6, unit], true);
}
translate([0, unit*0.5, unit*0.5])
color("YellowGreen")
translate([-unit, 0, 0]){
translate([unit, 17.85, 0])
... | glb/cad_55a88e645ae2.glb |
Create a bitbeam construction set component consisting of four identical small cylindrical pegs. Each peg is a cylinder with a diameter of 5mm and a height of 3mm. Centered through the longitudinal axis of each cylinder is a circular hole with a diameter of 1.5mm and a height of 3.1mm, which passes completely through t... | include <bitbeam-lib/bitbeam-lib.scad>
color("YellowGreen"){
difference(){
for(x=[-1, 1]){
for(y=[-1, 1]){
translate([x*27/2, y*13.5/2, -2.3/2])
cylinder(d=5, h=3, center=true);
}
}
for(x=[-1, 1]){
for(y=[-1, 1]){
... | glb/cad_5df6af138ec8.glb |
Create a traffic light housing by starting with a central block that is 12mm wide, 12mm deep, and 10mm high. From the center of this block, remove a cylindrical core with a diameter of 6mm and a height of 4.2mm, positioned so that it starts 10mm up from the base. To create the outer rim, add a larger concentric cylinde... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=25;
module led() {
translate([0,0,-.1])
cylinder(d=5.9,h=4.9);
translate([0,0,-.1])
cylinder(d=4.9,h=10.2);
}
module cover() {
difference() {
translate([0,0,10])
cylinder(d=7.6,h=4);
translate([0,0,9.9])
cylinder(d=6,h=4.2);
translate([-... | glb/cad_2f924d27524f.glb |
Create a traffic light LED component. Start by constructing a main rectangular block measuring 12mm wide, 12mm deep, and 10mm high, centered on the X and Y axes. From the center of the top face, remove a cylindrical volume with a diameter of 5.9mm and a height of 4.9mm, and a second concentric cylindrical volume with a... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=25;
module led() {
translate([0,0,-.1])
cylinder(d=5.9,h=4.9);
translate([0,0,-.1])
cylinder(d=4.9,h=10.2);
}
module cover() {
difference() {
translate([0,0,10])
cylinder(d=7.6,h=4);
translate([0,0,9.9])
cylinder(d=6,h=4.2);
translate([-... | glb/cad_086d161b6722.glb |
Create a traffic light housing by starting with a rectangular block measuring 12mm wide, 20mm deep, and 10mm high. Centered within this block, create two identical light assemblies positioned at y-coordinates of 6mm and 14mm. Each assembly consists of a light source and a cover. The light source is formed by two concen... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=25;
module led() {
translate([0,0,-.1])
cylinder(d=5.9,h=4.9);
translate([0,0,-.1])
cylinder(d=4.9,h=10.2);
}
module cover() {
difference() {
translate([0,0,10])
cylinder(d=7.6,h=4);
translate([0,0,9.9])
cylinder(d=6,h=4.2);
translate([-... | glb/cad_834de20abefb.glb |
Create a traffic light component consisting of a main rectangular housing and two integrated LED light assemblies. Start by creating a rectangular block 12mm wide, 20mm long, and 10mm high, centered on the X-axis. Within this block, place two identical LED units positioned at Y coordinates of 6mm and 14mm. Each LED uni... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=25;
module led() {
translate([0,0,-.1])
cylinder(d=5.9,h=4.9);
translate([0,0,-.1])
cylinder(d=4.9,h=10.2);
}
module cover() {
difference() {
translate([0,0,10])
cylinder(d=7.6,h=4);
translate([0,0,9.9])
cylinder(d=6,h=4.2);
translate([-... | glb/cad_ced6af07f342.glb |
Create a traffic light model consisting of a rectangular housing containing three light units. Start by creating a main rectangular block with dimensions 12mm wide, 28mm long, and 10mm high. Centered along the length of this block, place three identical light assemblies at intervals of 8mm from each other, specifically... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=25;
module led() {
translate([0,0,-.1])
cylinder(d=5.9,h=4.9);
translate([0,0,-.1])
cylinder(d=4.9,h=10.2);
}
module cover() {
difference() {
translate([0,0,10])
cylinder(d=7.6,h=4);
translate([0,0,9.9])
cylinder(d=6,h=4.2);
translate([-... | glb/cad_8f4c638eb5c4.glb |
Create a traffic light housing by starting with a main rectangular block measuring 12mm wide, 28mm long, and 10mm high, centered on the X-axis. Along the center line of this block, place three identical light assemblies spaced at intervals of 8mm (specifically at Y positions 6mm, 14mm, and 22mm). Each assembly consists... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=25;
module led() {
translate([0,0,-.1])
cylinder(d=5.9,h=4.9);
translate([0,0,-.1])
cylinder(d=4.9,h=10.2);
}
module cover() {
difference() {
translate([0,0,10])
cylinder(d=7.6,h=4);
translate([0,0,9.9])
cylinder(d=6,h=4.2);
translate([-... | glb/cad_43bccb71eeb9.glb |
Create a housing for an HC-S04 ultrasound sensor. The main body is a rectangular block measuring 6mm by 3mm by 1mm in units of a base grid, but for absolute dimensions, construct a central rectangular slab 6mm wide, 3mm deep, and 1mm thick. Extend this central slab with two rectangular arms measuring 8mm by 1mm by 1mm,... | include <bitbeam-lib/bitbeam-lib.scad>
color("YellowGreen"){
difference(){
for(x=[-1, 1]){
for(y=[-1, 1]){
translate([x*43/2, y*17.5/2, -4/2])
cube([4, 4, 4.5], center=true);
}
}
for(x=[-1, 1]){
for(y=[-1, 1]){
... | glb/cad_3c4f44c30a96.glb |
Create a mini servo motor mount consisting of two identical rectangular arms. Each arm is a block measuring 6 units long, with a specific cutout pattern. On each arm, place two mounting brackets. Each bracket is a rectangular block measuring 8mm wide, 18.01mm long, and 5mm high, centered on the arm. Within each of thes... | include <bitbeam-lib/bitbeam-lib.scad>
module servo_mount(){
difference(){
cube([8, 18.01, 5], center=true);
translate([2, 1, 0])
cylinder(d=2.6, h=5.1, center=true);
translate([2, -3, 0])
cylinder(d=2.6, h=5.1, center=true);
}
}
color("r... | glb/cad_64f94cffa8fd.glb |
Create a Track Chain 1x3 construction piece. The model consists of a central body with integrated sockets and connecting elements.
Start by creating a central core that is a combination of a rectangular block and rounded elements. The main body features a central hole with a diameter of 4mm passing through the center.... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=40;
shift=12.6/2;
module socket(){
intersection(){
union(){
translate([0, 0, -unit/2-7/3.8])
cylinder(d1=unit*1.5, d2=unit, h=7/1.95, center=true);
translate([0, 0, unit/2+7/3.8])
cylinder(d2=unit*1.5, d1=u... | glb/cad_0c252ddeee34.glb |
Create a bitbeam track chain link. The primary body is a cylinder with a diameter of 8mm and a length of 24mm, centered on the origin.
Subtract a central hole with a diameter of 4mm that runs the entire length of the cylinder. To create the socket features, remove two rectangular sections from the outer surface of th... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=40;
shift=12.6/2;
module socket(){
intersection(){
union(){
translate([0, 0, -unit/2-7/3.8])
cylinder(d1=unit*1.5, d2=unit, h=7/1.95, center=true);
translate([0, 0, unit/2+7/3.8])
cylinder(d2=unit*1.5, d1=u... | glb/cad_1bd54031a5cc.glb |
Create a Track Chain 1x5 wheel by constructing a central cylindrical body with a diameter of 12.6mm and a height of 19mm. Centered within this body, create a vertical hole with a diameter of 4mm that passes through the entire height.
On the top and bottom faces of the cylinder, integrate two socket features. Each soc... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=40;
shift=12.6/2;
module socket(){
intersection(){
union(){
translate([0, 0, -unit/2-7/3.8])
cylinder(d1=unit*1.5, d2=unit, h=7/1.95, center=true);
translate([0, 0, +unit/2+7/3.8])
cylinder(d2=unit*1.5, d1=... | glb/cad_f61f34e297cd.glb |
Create a Track Chain 2x10 wheel by constructing a complex geometric body centered at the origin. Start with a central core consisting of a rectangular block 0.5mm wide, 7mm high, and 1.6mm deep, merged with a slightly smaller rectangular block 0.33mm wide, 3mm high, and 0.1mm deep. Enclose this in a larger rectangular ... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=40;
shift=12.6/2;
module socket(){
intersection(){
union(){
translate([0, 0, -unit*1.5-7/3.8])
cylinder(d1=unit*1.5, d2=unit, h=7/1.95, center=true);
translate([0, 0, unit*1.5+7/3.8])
cylinder(d2=unit*1.5, ... | glb/cad_07e2ce8471a6.glb |
Create a track chain link for a construction set. The main body is a composite shape centered on the origin. Start with a central rectangular block 10mm wide, 20mm long, and 3.2mm thick.
At each end of the long axis, create a rounded profile. The front end is a semi-circle with a diameter of 10mm, while the rear end ... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=40;
shift=12.6/2;
module socket(){
intersection(){
union(){
translate([0, 0, -unit*1.5-7/3.8])
cylinder(d1=unit*1.5, d2=unit, h=7/1.95, center=true);
translate([0, 0, unit*1.5+7/3.8])
cylinder(d2=unit*1.5, ... | glb/cad_a5434d62cbed.glb |
Create a Track Chain 2x5 wheel by constructing a complex geometric body centered at the origin. Start with a central core that is a hull of two boxes: one measuring 0.5mm by 14mm by 1.6mm and another measuring 6.3mm by 14mm by 1.6mm, both centered. Subtract a smaller central box measuring 10mm by 3mm by 5mm from this c... | include <bitbeam-lib/bitbeam-lib.scad>
$fn=40;
shift=12.6/2;
module socket(){
intersection(){
union(){
translate([0, 0, -unit*1.5-7/3.8])
cylinder(d1=unit*1.5, d2=unit, h=7/1.95, center=true);
translate([0, 0, unit*1.5+7/3.8])
cylinder(d2=unit*1.5, ... | glb/cad_218663578ea8.glb |
Create a bitbeam wheel by starting with a cylinder that has a diameter of 16.8mm (1.5 units), a height of 8mm (1 unit), and a facet resolution of 40 sides. Center this cylinder on the origin. Remove a central shaft hole from the cylinder. Additionally, create a cylindrical hole with a diameter of 2.8mm that passes enti... | include <bitbeam-lib/bitbeam-lib.scad>
use <lib/holes.scad>
module wheel(size, h=1){
translate([0, 0, unit*0.5])
difference(){
ecylinder(d=unit*size, h=unit, center=true, $fn=40);
shaft_hole(1);
rotate([0, 90, 90])
cylinder(d=2.8, h=size*unit+0.2, center=true);
}
}
co... | glb/cad_8d850613511f.glb |
Create a bitbeam wheel by constructing a central cylinder with a radius of 7.5mm and a height of 10mm, centered on the origin. Integrate this cylinder with a profile that is 2 units wide (20mm) and 1mm thick. Through the center of this assembly, remove a vertical shaft hole with a diameter of 4.8mm. Additionally, creat... | include <bitbeam-lib/bitbeam-lib.scad>
use <lib/wheel.scad>
use <lib/holes.scad>
module wheel(size, h=1){
translate([0, 0, unit*0.5])
difference(){
union(){
translate([0, 0, unit*-0.5])
profile(size, h);
cylinder(r=unit*0.75, h=unit, center=true, $fn=40);
... | glb/cad_9053f3e7f50f.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.