Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a generic bolt consisting of a hexagonal head and a cylindrical shaft.
First, create the hexagonal head by constructing a regular hexagon with a side length of 4mm and a height of 3mm.
Next, attach a cylindrical shaft to the center of the head. The shaft should have a radius of 2mm and a length of 20mm. Posi... | use <hexagon.scad>
$fn=0;
$fa=0.01;
$fs=0.3;
module generic_bolt(hs, hh, sr, sh) {
translate([0, 0, -sh / 2])
union() {
hexagon(s=hs, h=hh);
translate([0, 0, (hh / 2) - 0.1])
cylinder(r=sr, h=(sh + 0.1));
}
}
module generic_machine_screw(hr, hh, sr, sh) {
translate([0, 0, -sh / 2]... | glb/cad_fe61866a23c3.glb |
Create a dune buggy chain tensioner consisting of a base, a tensioner arm, and a spring.
First, construct the base. Create a rectangular block 64mm long, 16mm wide, and 8mm high, centered at [34, -7, -11]. Carve a trough into the top of the block that is 64.2mm long, 10mm wide, and 5.1mm deep. Add two cylindrical mou... | use <hexagon.scad>
use <bolts-and-screws.scad>
$fn=0;
$fa=0.01;
$fs=0.3;
module dune_buggy_chain_tensioner_spring() {
color("silver")
union() {
difference() {
cylinder(r=9, h=5, center=true);
cylinder(r=7.4, h=5.5, center=true);
}
translate([-10, 8.25, 1.75])
rotate([0, 90, 0])
... | glb/cad_3d0b686c89fa.glb |
Create a resistor model by combining three geometric primitives aligned along a central vertical axis. Start by creating a cylinder with a radius of 1.125mm and a height of 5.5mm, positioned so its base is at a height of 1.125mm. Place a sphere with a radius of 1.125mm centered at the top of this cylinder. Finally, pla... | use <centered-primitives.scad>
use <hexagon.scad>
module LED(colour="red") {
color(colour)
union() {
cylinder(r=2.5, h=6);
translate([0, 0, 6])
sphere(r=2.5);
};
color("gray")
union() {
translate([1.125, 0, -5])
cylinder(r=0.25, h=5);
translate([-1.125, 0, -5])
cylinder(r=0.... | glb/cad_2a1dcc7bc7bd.glb |
Create a 12-volt cooling fan housing by starting with a central cube measuring 80mm by 80mm by 25mm. From this main body, remove four cylindrical mounting holes and four corner cutouts. Position the four cylindrical holes at the corners, centered at coordinates (±35.5, ±35.5) on the XY plane, each with a radius of 2.5m... | module 80_mm_12_volt_cooling_fan() {
difference() {
translate([0, 0, 12.55])
cube([80, 80, 25], center=true);
union() {
for (y_mult = [-1 : 2 : 1]) {
for (x_mult = [-1 : 2 : 1]) {
translate([x_mult * 35.5, y_mult * 35.5, 12.45])
cylinder(r=2.5, h=25.5, center=true);
... | glb/cad_10a52eb298d0.glb |
Create a protective cap for a Bash Bunny device. Start by extruding a base shape from the provided footprint DXF to a total height of 14.5mm. The top of this main body should be rounded using a hull operation that blends the footprint with a scaled sphere.
At the bottom of the cap, create a rectangular cutout to accom... | standard_fn = 50;
printgap = 1;
enable_ears = true;
footprint = "bash_bunny_footprint-cleaned.dxf";
usb_dim = [ 4.25 + printgap, 12 + printgap, 11 + printgap ];
collar_dim = [ 7 + printgap, 14 + printgap, 2.5 + printgap ];
extrude_height = usb_dim[2] + collar_dim[2];
import_ctr_offset = [ 9, 12.5, 0 ];
bunny_ear_... | glb/cad_4bd42d19bc43.glb |
Create a PC Card Stand for displaying add-in cards. The model is a symmetrical base with a central slot.
Start with a main body that is 60mm long, 15mm high, and 3.75mm thick. At the center of the top surface, create a rectangular cutout slot to hold the card. This slot should be 18.75mm wide and 1.25mm deep, extendin... | width=18.75;
thickness=1.25;
height=15;
slot=12;
span=60;
wall=1.5;
pinch=0.1;
tip_width=11;
tip_height=7;
bottom_gap=10;
bolt_r=4;
$fn=48;
module stand(width,thickness)
{difference(){
cube([span,thickness*3,height+1],true);
translate([0,0,height+1])
cube([width,thickness,height+1],true);
translate([0,-thickness*... | glb/cad_00b57b2c21c9.glb |
Create a rectangular block with a length of 622mm, a height of 300mm, and a thickness of 100mm. From this main body, remove a large cylindrical volume to create a cutout. This cylinder should have a radius of 345mm (calculated as half the wheel diameter of 622mm plus a 30mm margin) and a height of 30mm. Center this cyl... | $fn=150;
caseHeight = 300;
caseThickness = 100;
caseLength = 622;
seatTubeAngle = 73.0;
wheelDiameter = 622;
wheelCaseHeightMargin = 30;
wheelCaseThicknessMargin = 30;
mac15Length=358.9;
mac15Height=247.1;
mac15Thickness=18.0;
module macbook(){
color("silver")cube([mac15Length, mac15Height, mac15Thickness]);
... | glb/cad_9cd03302ee2f.glb |
Create a rectangular bar measuring 40mm wide, 400mm long, and 20mm high. Center the bar on the origin. Remove a text engraving from the top surface that reads "8/-8.5", with the text centered both horizontally and vertically. The text should have a height of 0.5mm. Additionally, create two circular holes that pass comp... | $fn = 1000;
module getBar(rad1, rad2, height = 20.0, width = 40.0, length = 400.0){
difference(){
cube([width, length, height], true);
translate([0,0,-1])
rotate([0,0,90])
text("8/-8.5", .5, halign = "center", valign = "center");
getCircle(rad1, height, width);
... | glb/cad_202110f52b78.glb |
Create three distinct geometric objects. First, construct a U-shaped bracket by extruding a profile 100mm high. The profile consists of two parallel vertical lines 55mm apart, each 1mm thick, connected by a 1mm thick horizontal line at the top.
Second, create a rounded hollow shell. Start with a solid block 55mm wide,... | $fn = 100;
module mainOffset() {
height = 100;
thickness = 1;
width = 55;
linear_extrude(height=height)
{
offset(r=1){
square([thickness,height],0);
translate([width,0,0])square([thickness,height],0);
translate([0,height,0])rotate([0,0,-90])square([thickn... | glb/cad_18dafba5a456.glb |
Create a Fan Duct for active cooling. Start by constructing a fan mount base that is 40mm in size with a thickness of 8mm. The mount should include two mounting holes with a diameter of 2.5mm for M3 screws, positioned for a 40mm fan.
From this base, extend two mirrored airflow splitters. Each splitter transitions from... | use <fan_holder_v2.scad>
use <shapes.scad>
use <ruler.scad>
$fn=20;
pi = 3.1415926535897932384626433832795;
layerHeight = 0.248;
outerRadius = 1.6;
wall = 1.5;
m3_diameter = 3.6;
kFanSize = 40;
heaterBlockW = 18;
nozzleOffsetFromBlockCenter = 2;
heaterBlockGap = 6;
mountToFilamentHoriz = 21.25;
fanAngleFromVert =... | glb/cad_65be8ffb95ba.glb |
Create a Fan Duct for active cooling. Start by constructing a fan mount base that accommodates a 40mm fan, featuring a mounting hinge with a diameter of 8mm and a thickness of 4mm. The hinge should include a central hole with a diameter of 3.6mm for M3 screws.
From this mount, extend two mirrored airflow splitters. Ea... | use <fan_holder_v2.scad>
use <shapes.scad>
use <ruler.scad>
$fn=20;
pi = 3.1415926535897932384626433832795;
layerHeight = 0.25;
outerRadius = 1.6;
wall = 1.5;
m3_diameter = 3.6;
kFanSize = 40;
heaterBlockW = 18;
nozzleOffsetFromBlockCenter = 2;
heaterBlockGap = 4+3;
mountToFilamentHoriz = 25-3;
fanAngleFromVert =... | glb/cad_28e75c6f9ec2.glb |
Create a Fan Duct mounting surround with a total outer dimension of 30mm by 30mm and a thickness of 3mm. The object is a flat square frame with a large central square cutout.
The outer boundary is a square with rounded corners. The inner cutout is also a square, positioned such that the remaining wall thickness is co... | fan_mount(size=30,thick=3);
module fan_mount(size=40,thick = 4)
{
if(size == 25)
{
_fan_mount(
fan_size = 25,
fan_mounting_pitch = 20,
fan_m_hole_dia = 3,
holder_thickness = thick
);
}
if(size == 30)
{
_fan_mount(
fan_size = 30,
fan_mounting_pitch = 24,
fan_m_hole_dia = 3,
holder_thickn... | glb/cad_0e10f46adc36.glb |
Create a protective case for an XH-M189 TPA3116D2 amplifier board. Start by constructing a hollow rectangular box with outer dimensions of 54mm in width, 88mm in length, and 40mm in height. The walls should have a uniform thickness of 2mm.
The box is open at the top. To create the interior cavity, remove a central bl... | $fn=50;
boardWidth = 50;
boardLength = 84;
thickness = 2;
width = boardWidth + thickness*2;
length = boardLength + thickness*2 + 2;
height = 40;
BOTTOM= true;
bottom = 20;
if (BOTTOM) corners();
difference(){
outer();
inner();
airflow();
cables();
if (BOTTOM) removeTop();
if (!BOTTOM) re... | glb/cad_bdc6ce9632ff.glb |
Create a StarPuzzle by starting with a solid rectangular block measuring 21.4mm wide, 55mm long, and 10.8mm high. From this main body, remove several smaller cubic volumes to create a complex void. First, carve out a rectangular hole measuring 13mm wide, 11.2mm long, and 7mm high, centered at a position 1mm from the le... | difference(){
cube ([21.4,55,10.8]);
translate([-1,22,5]) cube([13,11.2,7]);
translate([10.6,22,-1]) cube([20,11.2,13]);
translate([0,-11,-1]) rotate(a=[0,0,45]) cube(15);
translate([0,45,-1]) rotate(a=[0,0,45]) cube(15);
translate([21.5,11.5,-1]) rotate(a=[0,0,45]) cube(15);
translate([21.5,22.5,-1]) rotate(a=[0,0,45... | glb/cad_524298a4b614.glb |
Create a StarPuzzle by starting with a solid rectangular block measuring 21.4mm in width, 55mm in length, and 10.8mm in height. From this main volume, remove several smaller geometric shapes to create a hollowed-out star pattern. First, carve out a central rectangular void measuring 13mm by 11.2mm by 7mm, positioned at... | difference(){
cube ([21.4,55,10.8]);
translate([-1,22,5]) cube([13,11.2,7]);
translate([10.6,22,-1]) cube([20,11.2,13]);
translate([-1,22,-1]) cube([5.4,11.2,7]);
translate([0,-11,-1]) rotate(a=[0,0,45]) cube(15);
translate([0,45,-1]) rotate(a=[0,0,45]) cube(15);
translate([21.5,11.5,-1]) rotate(a=[0,0,45]) cube(15);
t... | glb/cad_3407474acfc3.glb |
Create a StarPuzzle by starting with a solid rectangular block measuring 11mm wide, 75.7mm long, and 10.8mm high. From this main body, remove two smaller rectangular sections to create a central gap. First, carve out a rectangular volume measuring 13mm wide, 32.9mm long, and 7mm high, positioned so its center is aligne... | difference(){
cube ([11,75.7,10.8]);
translate([-1,21.5,5]) cube([13,32.9,7]);
translate([5,32.3,-1]) cube([7,11,7]);
} | glb/cad_e0d4e8759af8.glb |
Create a StarPuzzle by starting with a rectangular block measuring 11mm wide, 75.7mm long, and 10.8mm high. From this main body, remove a central rectangular section to create a void. This void should be 13mm wide, 32.9mm long, and 7mm high, positioned 21.5mm from one end and centered vertically at a height of 5mm. Add... | difference(){
cube ([11,75.7,10.8]);
translate([-1,21.5,5]) cube([13,32.9,7]);
translate([5,37.8,-1]) cube([7,6,7]);
} | glb/cad_387fc640a619.glb |
Create a 3D architectural layout consisting of walls, piping, and kitchen furniture.
First, construct the walls by placing three rectangular slabs each 1000mm in size: one vertical slab 2mm thick along the X-axis, one vertical slab 2mm thick along the Y-axis, and one horizontal slab 2mm thick on the floor. Add a thin... | module walls()
{
size = 1000;
color([0.5, 0.5, 0.5])
{
translate([-2, -size, 0])
{
cube([2, size, size]);
}
cube([size, 2, size]);
translate([0, -size, -2])
{
cube([size, size, 2]);
}
}
color([0, 1, 0])
{
tra... | glb/cad_582d90fb0750.glb |
Create a 3D model of the letters "T" and "Z" using rectangular prisms. To form the "T", create a vertical pillar 1mm wide, 1mm deep, and 8mm tall. Place a horizontal bar 8mm wide, 1mm deep, and 1mm tall across the top of the pillar, centered so that the pillar is aligned with the center of the bar. Position this "T" at... | cube([1, 1, 8]);
translate([-3.5, 0, 9]) rotate([0, 90, 0]) {
cube([1, 1, 8]);
}
translate([9, 0, 0]) {
cube([8, 1, 1]);
translate([0, 0, 8]) {
cube([8, 1, 1]);
}
rotate ([0, -45, 0]) {
cube([11.5, 1, 1]);
}
} | glb/cad_58c9cf32bdf7.glb |
Create a 3D model of a library component shaped as a rounded rectangular prism. The overall dimensions of the object are 5mm in width (X), 7mm in depth (Y), and 10mm in height (Z). The object should be centered along the X and Z axes.
The geometry is defined by a rectangular block where the four vertical edges running... | module cube2(size, center = false, center_xy = false, center_x = false, center_y = false, center_z = false) {
translate([(center || center_x || center_xy ? -size[0]/2 : 0), (center || center_y || center_xy ? -size[1]/2 : 0), (center || center_z ? -size[2]/2 : 0)]) cube(size);
}
module cube_rounded_corners(size, corn... | glb/cad_3be316e112a9.glb |
Create a mounting bracket for a Benewake TFmini Lidar. Start with a central rectangular base measuring 32.8mm in length, 14.8mm in width, and 11mm in height, featuring rounded vertical edges with a 2mm radius. Integrate two mounting ears extending from the sides of this base; these ears should be 10mm wide and 5mm high... | lidar_box_size = [ 32.8, 14.8, 11 ];
lidar_lens_height = 5;
lidar_ears_height = 5;
lidar_ears_width = 10;
lidar_ears_radius = 3;
lidar_mounting_holes_distance = 36;
lidar_mounting_holes_dia = 2.5;
use <openscad_library/cube.scad>;
use <openscad_library/mirror.scad>;
module benewake_tfmini_lidar(show_connector = true)... | glb/cad_b55aea20b594.glb |
Create a 3D model of a motor and propeller assembly. Start by building the motor base as a cylinder with a diameter of 25mm and a height of 31mm. On top of this base, center a smaller cylinder with a diameter of 9mm and a height of 4mm, followed by a thin shaft cylinder with a diameter of 4mm and a height of 12.5mm.
... | motor_dia = 25;
motor_length = 31;
motor_shaft_ring_dia = 9;
motor_shaft_ring_length = 4;
motor_shaft_dia = 4;
motor_shaft_length = 12.5;
motor_base_to_prop_base = 44;
module motor() {
cylinder(d=motor_dia, h=motor_length);
translate([0, 0, motor_length]) cylinder(d=motor_shaft_ring_dia, h=motor_shaft_ring_length)... | glb/cad_c2b74d614189.glb |
Create a power filter model by starting with a central rectangular base plate measuring 34.6mm by 13.5mm with a thickness of 1.6mm. On top of this plate, position a cylinder with a 10mm diameter and 11mm height, centered at x = -12.1mm, y = 0, and z = 1.6mm. Add a rectangular block measuring 12.25mm by 12.25mm with a h... | use <openscad_library/cube.scad>;
$fs = 0.1;
$fa = 3;
module power_filter() {
difference() {
union() {
cube2([34.6, 13.5, 1.6], center_xy = true);
translate([-34.6/2+5.5+10/2, 0, 1.6]) cylinder(d=10, h=11);
translate([34.6/2 - 12.25 - 6, 0, 1.6]) cube2([12.25, 12.25, 7.... | glb/cad_ee01353ec926.glb |
Create a 3D model of a servo motor mount and horn. Start with a central rectangular body measuring 12.5mm by 22.7mm with a height of 23mm. On top of this body, add a mounting flange that extends the length to 32.4mm with a thickness of 2.8mm, positioned 18.8mm up from the base.
At the top of the main body, center a cy... | servo_body_size = [ 12.5, 22.7 ];
servo_body_height = 23;
servo_body_lower_part_height = 18.5;
servo_mount_length = 32.4;
servo_mount_ear_width = (servo_mount_length - servo_body_size[1]) / 2;
servo_mount_thickness = 2.8;
servo_mount_z_pos = 18.8;
servo_tower_height = 5.8;
servo_shaft_dia = 4.6;
servo_shaft_length = 3.... | glb/cad_9f86cf564567.glb |
Create a RunCam Eagle camera mount. Start with a main body formed by the hull of a cube with dimensions 26.4mm x 26.4mm x 11mm, featuring rounded vertical edges with a radius of 2.5mm, and a cylinder centered on top with a bottom diameter of 20mm, a top diameter of 15.4mm, and a height of 9mm. Add two small rectangular... | use <openscad_library/cube.scad>;
runcam_eagle_mounting_holes_pos = [ 1.8, 6.8 ];
function runcam_eagle_mounting_holes_pos() = runcam_eagle_mounting_holes_pos;
module runcam_eagle(lens_cap = false) {
difference() {
union() {
hull() {
cube_rounded_vertical_edges([26.4, 26.4, 11... | glb/cad_e82b4ad2bc8c.glb |
Create a safety cover support for a column drill. Start with two concentric rings: an inner ring with a diameter of 40.5mm and an outer ring with a diameter of 82mm. Both rings should have a wall thickness of 2.5mm and a height of 11mm, sitting on a base plate that is 2mm thick and spans the distance between the inner ... | $fn = 120;
innerDiam = 40.5;
outterDiam = 82;
bottomHeight = 2;
ringThick = 2.5;
ringHeight = 11;
clampingOpenningWidth = 3;
halfOpenningWidth = clampingOpenningWidth / 2;
innerReinforcementWidth = 2;
nutCageHeight = ringHeight - 3;
nutCageDiam = 15;
nutCageAngle = 65.66;
nutCageAngles = [ nutCageAngle];
delta_an... | glb/cad_78a56c0f0428.glb |
Create a dust-sensor housing consisting of a base and a front wall structure. Start with a rounded rectangular base measuring 84mm by 84mm (70mm plus 14mm extra margin) with a thickness of 2mm and corner curves of 10mm diameter.
Build walls around the perimeter with a total height of 32mm and a thickness of 2mm. The ... | EXTRA_MARGIN = 14;
SENSOR_WIDTH = 70 + EXTRA_MARGIN;
SENSOR_HEIGHT = 70 + EXTRA_MARGIN;
BASE_THICKNESS = 2;
CORNER_CURVE_DIAMETER = 10;
WALL_THICKNESS = 2;
TOTAL_WALL_HEIGHT = 32;
WALL_HEIGHT = 18;
FRONT_WALL_HEIGHT = TOTAL_WALL_HEIGHT - WALL_HEIGHT + BASE_THICKNESS - 1;
HOLE_DIAMETER = 3.0;
HOLE_HOLDER = 6.65;
SCRE... | glb/cad_667bff9a1860.glb |
Create a two-blade propeller with a total length of 240mm. The propeller consists of two symmetrical blades extending from a central mounting block.
Each blade is 2mm thick. The blades have a maximum width of approximately 30.8mm and taper toward the tips. The tips are rounded with an elliptical profile. The blades ar... | bladeangle = 30;
bore = 5;
tblade = 2;
tipElipticallity = 1;
length = 2 *120.0;
wmax = length/7 *0.9;
wmin = length/10 *0.8;
lmount = wmin *0.8;
l = length - 2*(wmax/2)/tipElipticallity;
teffmount = (wmin*tan(bladeangle)+tblade)*cos(bladeangle);
tipElipticallity = 0.61803;
mountsmooth = l*0.1;
only... | glb/cad_ab9c2a4a8d01.glb |
Create a delta robot mount plate with a total height of 52mm and a wall thickness of 6mm. The main body is a rectangular slab with a width of 138mm.
On the left side of the plate, integrate an arm mount rotated 90 degrees. On the right side, integrate a motor support.
Remove material to create four circular mountin... | use <top_arm.scad>
use <mount.scad>
use <mount2.scad>
$fn = 30;
armWidth = 24;
armTotalWidth = armWidth * 5 / 3;
motorAdapterWidth = 34;
stepperMountPosition = armTotalWidth/4 + motorAdapterWidth;
stepperMountWidth = 35;
plateWidth = 2 * (stepperMountPosition + stepperMountWidth);
height_offset = 10;
module robotBo... | glb/cad_49985c37d79a.glb |
Create a motor support bracket with a total frame width of 46mm and a wall thickness of 3mm. Construct the main body as a U-shaped channel with a base and two side walls, each 46mm wide and 46mm deep. In the center of the base, create a circular hole with a radius of 13.5mm that passes through the wall. Position four s... | motorSupport();
module motorSupport() {
$fn = 30;
wall_thickness = 3;
motor_height = 42;
height = motor_height / 2;
height_offset = 2;
frame_width = motor_height + 2*height_offset;
bolt = 3.2;
translate([-frame_width/2, 0, 0])
difference() {
union() {
cube([frame... | glb/cad_3cf25925c590.glb |
Create a delta robot joint frame by starting with a solid rectangular block that is 20mm wide, 40mm long, and 40mm high. From this main body, remove several cylindrical holes to create axle points. Place two horizontal holes with a 3mm radius that pass through the width of the block, positioned at heights of 10mm and 3... | module frameT1Joint() {
width = 20;
height = 40;
length = 40;
roleRadius = 3;
fixingRoleRadius = 3.0 / 2;
difference() {
translate([-width/2, -length/2, 0])
cube([width, length, height]);
translate([-1, length/2, 0])
rotate(a=[-45, 0 , 0])
... | glb/cad_2d4c18b3c581.glb |
Create a delta robot joint frame. Start with a main vertical cylinder that has a radius of 20mm and a height of 20mm. From this cylinder, remove a large section to leave a solid L-shaped footprint, effectively combining the cylinder with two cubes of 20mm side length and 20mm height positioned to create a right-angle c... | module frameT1Joint() {
radius = 20;
height = 20;
roleRadius = 3;
fixingRoleRadius = 3.0 / 2;
difference() {
union(){
difference() {
cylinder(r = radius, h = 1*height, $fn=120);
verticalRolePosition = -sqrt(2)/4*radius;
translate... | glb/cad_d66ebfc4e222.glb |
Create a delta robot joint frame. Start with a main vertical cylinder that has a radius of 20mm and a total height of 40mm. From this cylinder, remove a large section to create a flat vertical face, effectively turning the cylinder into a partial shell.
Within this structure, create several cylindrical holes to serve ... | module frameT1Joint() {
radius = 20;
height = 20;
roleRadius = 3;
fixingRoleRadius = 2.8 / 2;
difference() {
union(){
difference() {
cylinder(r = radius, h = 2*height, $fn=120);
verticalRolePosition = -sqrt(2)/4*radius;
translate... | glb/cad_bc0b25d8ef4c.glb |
Create a delta robot joint frame. Start with a main vertical cylinder with a radius of 20mm and a total height of 40mm. Integrate this cylinder with two adjacent cubes, each measuring 20mm on all sides; position one cube from x=0 to 20 and y=-20 to 0, and the second from x=-20 to 0 and y=0 to 20, both spanning the full... | module frameT1Joint() {
radius = 20;
height = 20;
roleRadius = 3;
fixingRoleRadius = 3.0 / 2;
difference() {
union(){
difference() {
cylinder(r = radius, h = 2*height, $fn=120);
verticalRolePosition = -(2 + sqrt(2))/8*radius;
tra... | glb/cad_a646042691ec.glb |
Create a robot tube component with a total height of 165mm. The main body is a hollow cylinder with an outer radius of 39.5mm and a wall thickness of 2mm. At the base, attach a hemispherical cap with a radius of 14.75mm, though the very top of this sphere is flattened by a small cubic cutout.
Along the length of the ... | module robotTube(height = 165) {
side = 158;
myRadius = side / (2 * sin(60));
r = 25*myRadius/100;
L = 2*r + 5;
R = 3 * L/2;
H = 2*sqrt(R*R - L*L/4);
wallThickness = 2;
err = 0.03;
translate([0, 0, H/2 - err*R])
difference() {
sphere(r = R, $fn=150);
... | glb/cad_5b5c8060c3c4.glb |
Create a robot tube component with a height of 8mm. Start by forming a main outer body that combines a cylinder with a radius of 38.5mm and a thin flat square plate measuring 82mm by 82mm and 1mm thick, centered at the base. Hollow out the center of this cylinder with a concentric hole of radius 37.3mm that extends thr... | module robotTube(height = 8) {
side = 158;
myRadius = side / (2 * sin(60));
r = 25*myRadius/100;
echo(r * 2 - 0.2);
L = 2*r + 5;
R = 3 * L/2;
H = 2*sqrt(R*R - L*L/4);
wallThickness = 1.2;
difference() {
union() {
difference() {
union() {
... | glb/cad_23cbf6eb4b1d.glb |
Create a nina-scad joint frame by starting with a solid rectangular block that is 30mm wide, 40mm long, and 40mm high. From this main body, remove a large diagonal section by subtracting a block of the same width and a height and length of approximately 28.28mm, rotated 45 degrees on the X-axis and centered relative to... | module frameT1Joint() {
width = 30;
height = 40;
length = 40;
roleRadius = 3;
fixingRoleRadius = 3.0 / 2;
difference() {
translate([-width/2, -length/2, 0])
cube([width, length, height]);
translate([-1, length/2, 0])
rotate(a=[-45, 0 , 0])
... | glb/cad_c3440416a88a.glb |
Create a delta robot arm mount by constructing a U-shaped bracket with a wall thickness of 1.6mm. The main structure is formed by three intersecting rectangular plates: one base plate measuring 21mm wide by 1.6mm thick by 31.5mm high, and two side plates measuring 1.6mm wide by 21mm deep by 31.5mm high, positioned at o... | arm_mount();
module arm_mount()
{
$fs = 0.1;
wall_thickness = 1.6;
height = 21;
frame_width = height;
frame_height = height * 3 / 2;
height_offset = 2;
translate([-frame_width/2, 0, 0])
{
difference() {
union() {
cube([frame_width, wall_thickness, frame_height]);
... | glb/cad_db18ff04c401.glb |
Create a robot top arm component. Start with a main rectangular body that is 24mm wide, 20mm high, and 90mm long. At one end of the arm, integrate a cylinder with a radius of 10mm and a height of 24mm. Add a motor coupling pin consisting of a cylinder with a 3.9mm radius and 14mm height, supported by a base cylinder wi... | use <nut_trap.scad>
$fn = 30;
module robotTopArm(armWidth = 24,
armLength = 90,
armHeight = 20,
armWallWidth = 4) {
color([1.0, 1.0, 1.0])
difference() {
union() {
translate([0, 0, armLength/2])
cube([armWidth, armHeight, armLength], center = true);
... | glb/cad_f521a5c84831.glb |
Create a body support for a delta robot. Start with a main cylinder that has a radius of 37.46mm and a total height of 26.2mm, centered on the origin.
Remove a central vertical cylinder with a radius of 7.49mm. Create three additional vertical holes with a radius of 2.7mm, each positioned at a distance of 18.73mm fro... | module bodySupport(side = 158, height = 20 + 2*(3 + 3.1)) {
transversalBoltRole = 3.1;
fixinigRoles = 2.7;
myRadius = side / (2 * sin(60));
difference() {
cylinder(r = 8*myRadius/10, h = height, $fn=300, center=true);
translate([0, myRadius/4, -height / 2 + transversalBoltRole + 3 + 20])... | glb/cad_0c2d0121d1b9.glb |
Create a delta robot arm tensor with a total height of 12mm and a thickness of 1.4mm. Start by forming a central rectangular block 1.4mm wide, 14mm deep, and 12mm high. Attach two semi-cylindrical lobes to the front and back faces of this block; each lobe should have a radius of 6mm and a thickness of 1.4mm, extending ... | $fn = 60;
module armTensor (height = 12, thickness = 1.4) {
difference() {
union() {
translate([0, 7, height/2])
rotate([0, 90, 0])
cylinder(r = height/2, h = thickness);
translate([0, -7, height/2])
rotate([0, 90, 0])
... | glb/cad_29d8363ff498.glb |
Create a pen support for a delta robot. Start with a circular base 34mm in diameter and 1.6mm thick. Centered on this base, add a vertical cylinder with a radius of 6.5mm and a total height of 26mm. Remove a central vertical hole with a radius of 5.2mm that passes through both the base and the upper cylinder.
In the b... | $fn = 90;
module penSupport() {
base = 1.6;
supportHeight = 14;
endEffectorHeight = 6;
difference() {
union() {
cylinder(r = 6.5, h = base + supportHeight + endEffectorHeight);
cylinder(r = 17, h = base);
}
translate([0, 0, -1])
cylinder(r =... | glb/cad_582526f40628.glb |
Create a body support for a delta robot. Start with a primary triangular prism with a height of 52mm and a radius of approximately 45.03mm (calculated from a side length of 158mm), centered on the origin.
Remove a central cylindrical hole with a radius of 11.26mm and a height of 54mm. Create three identical vertical s... | module bodySupport(side = 158, height = 52) {
myRadius = side / (2 * sin(60));
difference() {
cylinder(r = myRadius, h = height, $fn=3, center=true);
{
v_slotWidth = side / 4;
v_slotHeight = height + 6;
v_slotLength = side / 5;
translate([-myRad... | glb/cad_b81340b3792f.glb |
Create a body support for a delta robot. Start with a primary triangular prism with a height of 10mm and a radius of approximately 45.47mm, using only three facets for the outer perimeter. Remove a central cylindrical hole with a radius of 11.37mm and a height of 12mm.
Cut three rectangular slots through the prism, e... | module bodySupport(side = 158, height = 10) {
myRadius = side / (2 * sin(60));
difference() {
cylinder(r = myRadius, h = height, $fn=3, center=true);
cylinder(r = 25*myRadius/100, h = height + 2, $fn=60, center=true);
{
v_slotWidth = side / 4;
v_slotHeight = h... | glb/cad_5f6e007dd432.glb |
Create a nina-scad joint frame by starting with a solid rectangular block measuring 30mm in width, 40mm in length, and 40mm in height.
Remove material from this block using several cylindrical holes and a diagonal cutout. Create three primary holes with a radius of 3mm: two are positioned horizontally at the side, lo... | module frameT1Joint() {
width = 30;
height = 40;
length = 40;
roleRadius = 3;
fixingRoleRadius = 3.0 / 2;
difference() {
translate([-width/2, -length/2, 0])
cube([width, length, height]);
translate([-1, length/2, 0])
rotate(a=[-45, 0 , 0])
... | glb/cad_6873a3ba4c5f.glb |
Create a RepRap-PowerCode bracket consisting of two symmetrical mirrored halves. For one half, start with a primary block 12mm wide, 40mm long, and 24mm high. Attach a second rectangular block to the side, measuring 45mm by 19mm by 5mm, positioned at Y=21mm. Add a third block measuring 37mm by 5mm by 24mm at Y=35mm.
C... | dBar = 8.1;
dCab = 18;
hcub = 6.8;
module bloque(){
cube([12, 40, 24]);
translate([0, 21, 0])
cube([45, 19, 5]);
translate([0, 35, 0])
cube([37, 5, 24]);
}
module redondeoxy(){
translate([15, 21, -1])
cylinder(h = 7, r = 3, $fn=100);
translate([15, 20, -1])
cube([31, 4, 7]);
}
module tvar(){
transla... | glb/cad_24c30647fa52.glb |
Create a RepRap-PowerCode tensioner bracket. Start with a central base block that is 28mm wide, 19mm deep, and 8mm high. The top of this base is rounded with a radius of 5mm. Within this base, create a central vertical hole with a diameter of 3.3mm and a larger circular socket with a diameter of 6mm to accommodate a sc... | include <PowerCode_Config.scad>;
dTor = 6.2 ;
dToSo = 3.3 ;
dToCh = 6 ;
dToTu = 5.8 ;
hTuTen = 10.2 ;
module mbase(){
hull(){
translate([-14, -9.5, 0])
cube([28, 9.5, 8]);
translate([0, 0, 10])
rotate( 90, [1, 0, 0])
cylinder(h = 9.5, r = 5);
}
}
module mbaseope(){
translate([-9.5, -6, -1])
cube(... | glb/cad_91ca5324e09a.glb |
Create a RepRap-PowerCode corner bracket by starting with a solid rectangular block measuring 20mm wide, 30.5mm deep, and 16mm high.
Carve out two U-shaped channels to accommodate a screw. The first channel is vertical, centered at x=10, y=23, and z=8, with a diameter of 10.6mm and a length of 17mm. The second channe... | dPas = 10.6;
module bloque(){
cube([20, 30.5, 16]);
}
module RedU(d,h,u){
translate([(d/2)+(u-d)/2, 0, 0])
cube([u, d, h],center=true);
translate([0, 0, -h/2])
rotate( 90, [0, 0, 1])
cylinder(h = h, r = d/2, $fn=100);
}
module taladro(){
translate([10, 23, 8])
rotate( 90, [0, 0, 1])
RedU(dPas,17,8);... | glb/cad_bd0bfd953da9.glb |
Create a RepRap-PowerCode carriage part starting with a base rectangular block measuring 6.5mm in width, 17mm in length, and 9.4mm in height. Attach a rounded protrusion to the side of this block; this protrusion consists of two rectangular sections (one 3mm by 1.5mm by 9.4mm and another 2mm by 1mm by 9.4mm) merged wit... | dGran = 5.8;
dPeque = 3.6;
module diente(){
rotate( -135, [0, 1, 0])
cube([3, 14.5, 3]);
}
module saliente(){
hull(){
translate([6.5, 0, 0])
cube([3, 1.5, 9.4]);
translate([6.5, 1.5, 0])
cube([2, 1, 9.4]);
translate([8.5, 1.5, 0])
cylinder(h = 9.4, r = 1, $fn=100);
}
}
module taladro(){
translate... | glb/cad_65670f7baafe.glb |
Create a RepRap-PowerCode X-carriage. Start with a rectangular base measuring 58mm in length, 52mm in width, and 8mm in height.
At the bottom of the base, center a cylindrical channel running the full length of 60mm with a radius of 5mm to accommodate a linear bearing. This channel is partially open on the bottom sid... | include <Code_Config.scad>;
dTaTu = 3.3 ;
hCaTu = 5.5 ;
module medialuna(d,h,w){
difference(){
rotate( 90, [0, 1, 0])
cylinder(h = h, r = d/2);
translate([-1, -d/2 - 1, -w])
cube([h + 2, d + 2, d/2 + 1 + w]);
}
}
module soportecojili(){
medialuna(dCoLi, 2, 6.1);
translate([27.2, 0, 0])
medialuna(dCo... | glb/cad_08f1401e1290.glb |
Create a RepRap-PowerCode X-carriage. Start with a rectangular base measuring 58mm in length, 52mm in width, and 8mm in height.
At the bottom of the base, center a cylindrical rail with a radius of 5mm and a length of 60mm to accommodate a linear bearing. Along the top surface, create two hexagonal nut pockets with a... | include <PowerCode_Config.scad>;
dTaTu = 3.3 ;
hCaTu = 5.5 ;
module medialuna(d,h,w){
difference(){
rotate( 90, [0, 1, 0])
cylinder(h = h, r = d/2);
translate([-1, -d/2 - 1, -w])
cube([h + 2, d + 2, d/2 + 1 + w]);
}
}
module soportecojili(){
medialuna(dCoLi, 2, 6.1);
translate([27.2, 0, 0])
medialun... | glb/cad_4fb27c4248c6.glb |
Create a RepRap-PowerCode idler tensioner consisting of a base and a vertical support.
First, construct the base by creating a block 28mm wide, 19mm deep, and 8mm high. Round the top edges of this base using a 5mm radius. In the center of this base, create a vertical cutout 19mm wide and 7mm deep, extending 17mm high... | include <Code_Config.scad>;
dTor = 6.2 ;
dToSo = 3.3 ;
dToCh = 6 ;
dToTu = 5.8 ;
module mbase(){
hull(){
translate([-14, -9.5, 0])
cube([28, 9.5, 8]);
translate([0, 0, 10])
rotate( 90, [1, 0, 0])
cylinder(h = 9.5, r = 5);
}
}
module mbaseope(){
translate([-9.5, -6, -1])
cube([19, 7, 17]);
transl... | glb/cad_0f4e6d70531b.glb |
Create a RepRap-PowerCode motor mount. Start with a main rectangular block measuring 40mm x 17mm x 58mm. Integrate a vertical cylinder with a radius of 11mm, centered at [25, -6.5, 0] and extending 58mm in height. Subtract a 1mm wide slot from this cylinder, rotated 110 degrees on the Z-axis.
Incorporate a belt tensio... | include <PowerCode_Config.scad>;
TorFinal = true;
dTaTorfinal = 3.6 ;
hTuer = 5.8 ;
hTuZ = 7.96744 ;
dTaTorMo = 3.3 ;
dTaHaTorMo = 5.7 ;
module varilla(h){
hull(){
rotate( 90, [0, 1, 0])
cylinder(h = h, r = dVaLi/2);
translate([0, -2.5/2, 0])
cube([h, 2.5, 4.51]);
}
}
module varros(){
rotate( 90, [0,... | glb/cad_839edfc72c54.glb |
Create a RepRap PowerCode mounting clip consisting of two symmetrical halves mirrored across the X-axis. For each half, construct a base block 27.5mm wide, 6mm deep, and 15mm high, with a rectangular cutout of 18.5mm by 3mm by 17mm removed from the bottom inner section. Add a central vertical support block 4mm wide, 20... | hCen = 19.2;
hClip = 4.8;
wClip = 47;
dTor = 3.4;
hHex = 5.7;
module base(){
difference(){
cube([wClip/2+4, 6, 15]);
translate([-1, -1, -1])
cube([wClip/2-5, 3, 17]);
}
}
module centro(){
difference(){
translate([0, 5, 0])
cube([4, hCen+1, 15]);
translate([3, hCen+6, -1])
rotate( -45 ,[0, 0, 1])... | glb/cad_b13e4489b8d6.glb |
Create a RepRap-PowerCode idler assembly. Start with a main rectangular block measuring 40mm x 20mm x 58mm. Integrate a vertical cylinder with a radius of 11mm, centered at x=15, y=-6.5, extending the full 58mm height. Within this cylinder, remove a smaller concentric cylinder with a radius of 5.5mm (dCoLi/2) and a thi... | include <PowerCode_Config.scad>;
hTuZ = 7.96744 ;
hTuTen = 10.2 ;
M3Drill = 3.4 ;
M3Cap = 5.8 ;
M3Hex = 5.8 ;
M3Nut = 2.4 ;
Layer = 0.25 ;
module varilla(h){
hull(){
rotate( 90, [0, 1, 0])
cylinder(h = h, r = (dVaLi+0.2)/2);
}
}
module varros(){
rotate( 90, [0, 0, 1])
difference(){
union(){
trans... | glb/cad_e13afef99cfa.glb |
Create a RepRap PowerCode idler assembly. Start with a main rectangular block measuring 40mm x 17mm x 58mm. Integrate a vertical cylinder with a radius of 11mm and a height of 58mm into this block, then flatten one side of the cylinder with a 22mm x 10.6mm x 58mm rectangular cutout.
At the top of the block, create a h... | include <Code_Config.scad>;
hTuZ = 7.96744 ;
hTuTen = 10.2 ;
module varilla(h){
hull(){
rotate( 90, [0, 1, 0])
cylinder(h = h, r = dVaLi/2);
translate([0, -2.5/2, 0])
cube([h, 2.5, 4.51]);
}
}
module varros(){
rotate( 90, [0, 0, 1])
difference(){
union(){
translate([0, 0, 4])
hexagono(13.856... | glb/cad_680cd3183937.glb |
Create a RepRap PowerCode belt holder. Start by constructing a central block that is 18.5mm wide, 7mm deep, and 16mm high. Mirror this block across the X-axis to create a symmetrical base. On each side of the central block, add a rectangular extension measuring 7.5mm by 15mm by 16mm, positioned such that the total widt... | dTor = 6.6;
module mpieza(){
cube([18.5, 7, 16]);
difference(){
translate([11, 0, 0])
cube([7.5, 15, 16]);
translate([14.75, 15, -1])
rotate( 90, [0, 0, 1])
cylinder(h = 18, r = 1, $fn=100);
}
translate([12.5, -4.355, 0])
cube([4, 4.355, 16]);
clip();
}
module clip(){
difference(){
translate... | glb/cad_79913c9d19b9.glb |
Create a RepRap-PowerCode endstop mount by starting with a solid rectangular block measuring 20mm wide, 30.5mm deep, and 16mm high.
Carve out a vertical U-shaped channel for a screw with a diameter of 10.6mm and a height of 17mm, centered at X=10, Y=23, and Z=8. Add a second similar U-shaped channel, 25mm high and 8m... | dPas = 10.6;
hEnd = 13.6;
wEnd = 5.8;
dEnd = 10;
module bloque(){
cube([20, 30.5, 16]);
}
module RedU(d,h,u){
translate([(d/2)+(u-d)/2, 0, 0])
cube([u, d, h],center=true);
translate([0, 0, -h/2])
rotate( 90, [0, 0, 1])
cylinder(h = h, r = d/2, $fn=100);
}
module taladro(){
translate([10, 23, 8])
rot... | glb/cad_78b85d580d8c.glb |
Create a RepRap-PowerCode bracket by constructing a symmetrical body mirrored across the X-axis. The main structure consists of two mirrored halves, each featuring a block 11mm wide, 5mm deep, and 16mm high, joined by a larger central block 5mm wide, 27mm deep, and 16mm high. The outer edges of the central block are ro... | dTal = 6.4;
dTor = 3.3;
dCab = 5.8;
hHex = 5.8;
module mpieza(){
translate([0, -5, 0])
cube([11, 5, 16]);
translate([6, -27, 0])
cube([5, 27, 16]);
translate([5, -14, 0])
cube([1, 9, 16]);
hull(){
translate([6, -27, 8])
rotate( 90, [0, 1, 0])
cylinder(h = 5, r = 8, $fn=100);
translate([... | glb/cad_84a3f594730c.glb |
Create two symmetrical RepRap-PowerCode brackets. For one bracket, construct a main body by combining two rectangular blocks. The first block is 23mm wide, 6mm deep, and 32mm high, positioned from Y=-6 to Y=0. The second block is 5mm wide, 23mm deep, and 32mm high, positioned from Y=-23 to Y=0. Join these blocks with a... | dTalaX = 6.3;
dTalaY = 6.4;
module bloqueX(){
difference () {
translate([0, -6, 0])
cube([23, 6, 32]);
translate([15, 1, 8])
rotate( 90, [1, 0, 0])
cylinder(h = 8, r = dTalaX/2, $fn=100);
}
difference () {
translate([0, -5, 0])
cylinder(h = 32, r = 5, $fn=100);
translate([-5, -10, -1])
cube([... | glb/cad_dba8ab4c0fb9.glb |
Create a RepRap-PowerCode endstop mount. Start with a central body formed by two mirrored sections, each consisting of a 9mm by 27mm by 10mm block with a cylinder of radius 3mm and height 10mm centered at (6, 3, 0).
Carve out a central housing for the endstop switch, measuring 5.9mm high, 5.8mm wide, and 5mm deep. Wi... | dBar = 8.1;
dTor = 3.3;
dCab = 5.6;
hHex = 5.9;
hEnd = 13.6;
wEnd = 5.8;
dEnd = 5;
module mpieza(){
translate([0, 3, 0])
cube([9, 27, 10]);
translate([6, 3, 0])
cylinder(h = 10, r = 3, $fn=100);
translate([1.5, 0, 0])
cube([4.5, 3.9, 10]);
}
module endstop(){
translate([0, 2.8, 10-dEnd])
cube([hEnd/2, wE... | glb/cad_1d60524e602f.glb |
Create a RepRap-PowerCode carriage part by starting with a solid rectangular base measuring 6.5mm in width, 17mm in length, and 9.4mm in height. Attach a rounded protrusion to the side of this base; this protrusion consists of two rectangular sections (one 3mm by 1.5mm by 9.4mm and another 2mm by 1mm by 9.4mm) merged w... | dGran = 5.8;
dPeque = 3.6;
module diente(){
rotate( -135, [0, 1, 0])
cube([3, 14.5, 3]);
}
module saliente(){
hull(){
translate([6.5, 0, 0])
cube([3, 1.5, 9.4]);
translate([6.5, 1.5, 0])
cube([2, 1, 9.4]);
translate([8.5, 1.5, 0])
cylinder(h = 9.4, r = 1, $fn=100);
}
}
module taladro(){
translate... | glb/cad_65670f7baafe.glb |
Create a RepRap-PowerCode motor mount. Start with a main rectangular block measuring 40mm x 17mm x 58mm. Integrate a vertical cylinder with a radius of 11mm, centered at [25, -6.5, 0] with a height of 58mm, and subtract a 1mm wide slot from it, rotated 110 degrees.
Incorporate a nut housing for the Z-axis rod featurin... | include <Code_Config.scad>;
TorFinal = true;
dTaTorfinal = 3.6 ;
hTuer = 5.8 ;
hTuZ = 7.96744 ;
dTaTorMo = 3.3 ;
dTaHaTorMo = 5.7 ;
module varilla(h){
hull(){
rotate( 90, [0, 1, 0])
cylinder(h = h, r = dVaLi/2);
translate([0, -2.5/2, 0])
cube([h, 2.5, 4.51]);
}
}
module varros(){
rotate( 90, [0, 0, 1... | glb/cad_aa8d5bec44fc.glb |
Create a RepRap-PowerCode extruder mount. Start with a rectangular base 8mm thick. In the center of this base, carve out a large vertical cylindrical hole with a diameter of 40mm to accommodate the extruder.
On the top surface of the base, create two parallel guide rails running the length of the part. The larger rai... | hBase = 8 ;
dExtru = 40;
dTaSo = 4.6;
lTaCe = 25;
dCaPe = 3.4;
dCaGr = 5.8;
lCaPr = 3;
module cbase(){
difference () {
union() {
translate([8.5, 0, 0])
cube([13, 22, hBase]);
translate([0, 20, 0])
cube([13.5, 10, hBase]);
translate([13.5, 22, 0])
cylinder(h = hBase, r = 8, $fn=100);
}
t... | glb/cad_2f2c17e9f4e4.glb |
Create a RepRap PowerCode motor mount consisting of two symmetrical mirrored parts. For each part, start with a base block 53.5mm wide, 50mm deep, and 6mm high. Remove a rectangular section from the center measuring 34mm by 23.5mm and a cylindrical cutout with a 12mm radius. Drill two mounting holes with a diameter of ... | dBar = 8.1;
dMot = 3.4;
dCab = 20;
hcub = 6.8;
module bloqueX(){
difference(){
translate([0, 45, 0])
cube([40, 5, 33]);
translate([40, 44, 6])
rotate( -49.84, [0, 1, 0])
cube([22, 7, 43]);
}
difference(){
translate([0, 45, 0])
cylinder(h = 33, r = 5, $fn=100);
translate([-5, 40, -1])
cube([... | glb/cad_1a7989a12b35.glb |
Create a RepRap-PowerCode bracket consisting of two symmetrical mirrored halves. For one half, start with a base composed of three intersecting blocks: a vertical block measuring 12mm x 40mm x 24mm, a horizontal block measuring 45mm x 21mm x 9mm positioned at Y=19mm, and a third block measuring 37mm x 5mm x 24mm positi... | dBar = 8.1 ;
dCab = 18 ;
hcub = 6.8 ;
M3Drill = 3.4 ;
M3Cap = 5.8 ;
M3Hex = 5.8 ;
module bloque(){
cube([12, 40, 24]);
translate([0, 21-2, 0])
cube([45, 21, 9]);
translate([0, 35, 0])
cube([37, 5, 24]);
}
module redondeoxy(){
translate([15, 21-2, -1])
cylinder(h = 16, r = 3, $fn=100);
translate([15, 20... | glb/cad_463002b37707.glb |
Create a RepRap PowerCode belt holder. Start by constructing a symmetrical main body centered on the X-axis. Each half of the body is composed of three joined rectangular blocks: a base block of 10.5mm x 5mm x 16mm, a central vertical block of 5.5mm x 9mm x 16mm, and a protruding block of 13.5mm x 7mm x 16mm.
From thi... | dTor = 6.3;
hHex = 10;
module mpieza(){
cube([10.5, 5, 16]);
translate([5, -9, 0])
cube([5.5, 9, 16]);
translate([5, -9, 0])
cube([13.5, 7, 16]);
translate([14.5, -1.5, 0])
rotate( 225 ,[0, 0, 1])
cube([1, 1, 16]);
}
module moperaciones(){
translate([5, -7, -1])
rotate( 225 ,[0, 0, 1])
cube([3, 3, 18]... | glb/cad_c5a66c913828.glb |
Create a RepRap-PowerCode pulley by constructing a composite cylindrical shape. Start with a base cylinder 18mm in diameter and 0.5mm high. Centered on this base, add a larger cylinder with a diameter of 16.4mm and a height of 4mm. Connect the top of the base to this larger cylinder using a conical frustum that transit... | dCoji = 10.3;
hCoji = 5.2;
dEje = 6;
dPolea = 18;
hCorrea = 6;
module Polea(){
difference () {
union() {
cylinder (h = 0.5, r = dPolea/2, $fn=100);
translate([0, 0, 0.5])
cylinder (h = 4, r = (dCoji/2)+1.05, $fn=100);
translate([0, 0, 0.5])
cylinder(h = 4-(hCorrea/2), r1 = dPolea/2, r2 = (dCoji/2)... | glb/cad_657f653c5aea.glb |
Create a RepRap-PowerCode extruder mount. Start with a rectangular base measuring 46.7mm by 51mm with a height of 10mm. On the top surface of this base, add a clamping block centered at x=3, y=5. This block is formed by the convex hull of two cylinders with a radius of 10mm and a height of 10mm, positioned at (10, 0, 1... | include <Code_Config.scad>;
hBase = 10 ;
dExtru = 40 ;
dTaSo = 3.2 ;
dTaCh = 6 ;
dTor = 6.3 ;
module vaciadoEx(){
translate([3, -1, -1])
cube([32.2, 6, hBase+2]);
translate([-1, 17.5, -1])
cube([2.7, 34, hBase+2]);
}
module vaciadoIn(){
translate([34, 19.5, -1])
cube([14, 32, hBase+2]);
translate([18.7, ... | glb/cad_eac40dcab9b6.glb |
Create a rectangular electronics enclosure with external dimensions of 60.3mm width, 41mm depth, and 24mm height. The main body is a hollow shell with a wall thickness of 1.4mm and rounded corners with a radius of 1.4mm.
The interior features guide rails to hold a circuit board. Create two rails along the depth of th... | $fn=20;
breite = 60.3;
tiefe = 41;
hoehe = 21+3;
schiene = 2.5;
platinendicke = 1.8;
wanddicke = 1.4;
edge_radius = wanddicke;
module schienen() {
cube([schiene, tiefe, schiene]);
translate([breite-schiene, 0, 0])
cube([schiene, tiefe, schiene]);
translate([0, 0, schiene + platinendicke]) {
... | glb/cad_6410c1cdee28.glb |
Create a rectangular slab with a width of 78.67mm, a height of 40mm, and a thickness of 2mm. The slab should be a solid, uniform block with flat faces and sharp edges. | $fn=50;
breite_display = 72;
tiefe_display = 39.6;
terminal_durchmesser = 3.6;
terminal_box_breite = 30;
abstand = terminal_box_breite/4.5;
breite = breite_display + terminal_box_breite + abstand;
tiefe = tiefe_display + 2*abstand;
hoehe = 40;
wanddicke = 2;
edge_radius = wanddicke;
cube([breite, edge_radius, hoe... | glb/cad_7ae00348c383.glb |
Create a 3D model of a tray-like holder by extruding a specific 2D profile to a height of 60mm. The profile is defined by a series of connected points starting at [0,0], moving to [0,4], then to [33.02,4], and up to [33.02,35]. From there, it extends to [37.02,35], then to [37.02,19], and across to [41.02,19]. The path... | swh = 25.4;
wlt = 4;
ftl = swh*1.3;
plug_height = 15;
nubsi_height = wlt + plug_height;
echo(nubsi_height);
nubsi_width = 4;
tray_wall_height = nubsi_height + 20;
rotate([90, 0, 90])
linear_extrude(height=60)
polygon(points=[
[0,0],
[0,wlt],
[ftl,wlt],
[ftl,tray_wall_height],
[ftl+wlt,tray_wall_height],
[ftl+wlt,nubsi... | glb/cad_19956b5edb60.glb |
Create a 3D model of a mounting bracket consisting of a vertical plate and a perpendicular base. Start by creating a vertical rectangular plate with a width of 77mm, a height of 42.5mm, and a thickness of 5mm. Attach a thin base plate to the bottom edge that is 77mm wide, 25mm deep, and 5mm thick.
Remove several cyli... | $fn = 20;
breite = 77;
lochbreite = 65;
lochhoehe = 35;
dicke = 5;
aussenabstand = 3.5;
quertiefe = 25;
difference() {
union() {
color("blue", 1.0) {
cube([breite, dicke, lochhoehe + dicke*1.5]);
}
color("green", 1.0) {
cube([breite, quertiefe, dicke]);
}
... | glb/cad_93d7be4d7c5f.glb |
Create a belt clip replacement for a Gigaset E49H telephone handset. Start by constructing a flat rectangular base with dimensions 39mm by 26mm and a thickness of 3mm. At one end of this base, center a hollow cylindrical ring with an outer diameter of 26mm, an inner diameter of 20mm, and a height of 3.5mm.
Add four sn... | ring_outer = 26;
ring_inner = 20;
ring_height = 3.5;
snap_width = (ring_outer - ring_inner - 2) / 2;
snap_height = 1.5;
snap_size = 20;
clip_height = 3;
fn = 300;
module snap(inner_offset=0) {
rotate_extrude2(angle=snap_size, $fn=fn) {
translate([(ring_inner + 2 + inner_offset)/2, ring_height/2, 0])
... | glb/cad_758c84f180a2.glb |
Create a rectangular electronics enclosure with overall dimensions of 95mm width, 8mm depth, and 65mm height. The main body is a hollow shell with a wall thickness of 1.4mm and rounded corners with a radius of 1.4mm.
The interior is designed to hold a circuit board, featuring guide rails along the sides. These rails ... | $fn=20;
breite = 95;
tiefe = 8;
hoehe = 65;
schiene = 2.5;
platinendicke = 1.8;
wanddicke = 1.4;
edge_radius = wanddicke;
module schienen() {
cube([schiene, tiefe, schiene]);
translate([breite-schiene, 0, 0])
cube([schiene, tiefe, schiene]);
translate([0, 0, schiene + platinendicke]) {
cub... | glb/cad_17c43eba6378.glb |
Create a rectangular enclosure with a width of 18mm, a depth of 37.7mm, and a height of 10mm. The main body should have rounded corners with a radius of 1mm.
The interior is hollowed out, but the walls are modified by adding two vertical guide rails. Each rail is 2.5mm wide and runs the full depth of the object. Posi... | $fn=20;
tiefe_pcb = 23.7;
tiefe_jack = 14;
breite = 18;
tiefe = tiefe_pcb + 2 + tiefe_jack;
hoehe = 10;
schiene = 2.5;
platinendicke = 1;
wanddicke = 1;
edge_radius = wanddicke;
module schienen() {
cube([schiene, tiefe, schiene]);
translate([breite-schiene, 0, 0])
cube([schiene, tiefe, schiene]);
... | glb/cad_56174cc5a8ad.glb |
Create a hollow rectangular enclosure for a display and electronics. The main outer body is a rounded box with a total width of 106.67mm, a depth of 48.44mm, and a height of 40mm, featuring a wall thickness of 2mm and corner radii of 2mm.
On the top face, center a rectangular cutout for a display measuring 72mm by 39.... | $fn=20;
breite_display = 72;
tiefe_display = 39.6;
terminal_durchmesser = 3.6;
terminal_box_breite = 30;
abstand = terminal_box_breite/4.5;
breite = breite_display + terminal_box_breite + abstand;
tiefe = tiefe_display + 2*abstand;
hoehe = 40;
wanddicke = 2;
edge_radius = wanddicke;
module display() {
color([... | glb/cad_42d8636e96fb.glb |
Create a PCB holder with a total width of 32mm, a depth of 3mm, and a height of 80.5mm. The main body is a rectangular shell with a wall thickness of 1mm and rounded edges with a 1mm radius.
The structure features a central hollow cavity to accommodate a circuit board. On the side walls, integrate four cylindrical sc... | $fn=20;
breite = 32;
tiefe = 3;
hoehe = 80.5;
schiene = 2.5;
platinendicke = 1.2;
wanddicke = 1;
edge_radius = wanddicke;
platinentop_bis_top = 21;
module schienen() {
cube([schiene, tiefe, schiene]);
translate([breite-schiene, 0, 0])
cube([schiene, tiefe, schiene]);
translate([0, 0, schiene + pl... | glb/cad_5ca5c603fb26.glb |
Create a hex bolt with a threaded shaft and a hexagonal head. The bolt has a thread outer diameter of 4.94mm and a thread pitch (step) of 0.8mm. The threaded section should be 25mm long.
The head is a regular hexagon with a distance between flats of 6.5mm and a height of 3mm. The shaft is centered on the head. The thr... | type = "bolt";
head_type = "hex";
drive_type = "socket";
head_diameter = 6.5;
head_height = 3;
drive_diameter = 5;
slot_width = 1;
slot_depth = 2;
texture = "exclude";
thread_outer_diameter = 4.94;
thre... | glb/cad_2c4f2a95872e.glb |
Create a storage box and a matching lid. The box is a rounded rectangular shell with outer dimensions of 163.4mm in length and 63.4mm in width, a total height of 10mm, and a floor thickness of 1mm. The corners have a radius of 2mm. The walls are 1.2mm thick. Inside the box, add a single divider wall that is 0.8mm thick... | outwalls=1.2;
height=10;
length=161 + (outwalls*2);
width=61 + (outwalls*2);
cornerrad=2;
thickness=1.0;
sectionsl=1;
sectionsw=1;
sectionsh=14;
inwalls=0.8;
tol=0.1;
lidthickness=0.4;
lidheight=8;
l=length-(cornerrad*2);
w=width-(cornerrad*2);
translate([cornerrad, cornerrad, 0]){
union(){
di... | glb/cad_5ee20d6aeeb0.glb |
Create a two-part electronics enclosure consisting of a main case and a removable lid.
For the main case, create a rectangular base with outer dimensions of 180mm by 114mm and a height of 3mm. From this base, extend four vertical walls upward to a total height of 49mm. These walls should be 1.8mm thick. The interior w... | $fn = 64;
base_height = 3.00;
height = 46.00 + base_height;
wall = 1.80;
y_offset = 4.00;
workspace = [176.00, 110.00 + y_offset];
workspace_wall = [workspace[0] + wall * 2.00, workspace[1] + wall * 2.00];
module grid(x, y, width, height, center = true)
{
x_space = width / (x - 1);
y_space = height / (y - ... | glb/cad_bf6d19c33aa1.glb |
Create a rectangular open-top box and a matching flat lid. For the box, start with a solid rectangular block measuring 880mm in width, 6 {10} 80mm in length, and 620mm in height. Hollow out the center by removing a rectangular volume starting 10mm from the bottom and 10mm from each side wall, leaving a base thickness o... | l=680;
w=860;
h=610;
wall_thickness=10;
base_thickness=10;
enclosure_height=10;
enclosure_bump=10;
module box(w, l, h, wt, bt) {
difference() {
cube([w + wt * 2, l + wt * 2, h + bt]);
translate([wt, wt, bt])
cube([w, l, h]);
}
}
module box_enclosure(w, l, h, wt, bt) {
cube([w ... | glb/cad_c1a777e1e705.glb |
Create a 3D model of a base plate and an attached vertical wall. Start by creating a rectangular slab that is 160mm wide, 90mm long, and 4mm thick, positioned 3mm offset from the origin along the width. Add a second rectangular section that forms a wall; this section should be 160mm wide, 25mm high, and 9mm thick, alig... | model_width = 160;
model_height = 25;
model_lenght = 90;
module prism(l, w, h) {
polyhedron(
points=[[0,0,0], [l,0,0], [l,w,0], [0,w,0], [0,w,h], [l,w,h]],
faces=[[0,1,2,3],[5,4,3,2],[0,4,5,1],[0,3,4],[5,2,1]]
);
}
module extended_prism(l, w, h, extended) {
prism(l, w, h);
translate([0... | glb/cad_f734aaed51bc.glb |
Create a hollow cylindrical ring and a central solid cylinder. First, construct the outer ring by creating a cylinder with a radius of 14mm and a height of 16mm, then remove a concentric cylindrical core with a radius of 12mm and a height of 14mm, positioned 2mm from the base to leave a 2mm thick bottom floor. Inside t... | $fn = 64;
union() {
difference() {
linear_extrude(16)
circle(r = 14.00);
translate([0, 0, 2])
linear_extrude(16)
circle(r = 12.00);
}
difference() {
linear_extrude(19)
circle(r = 6.10);
translate([0, 0, 2])
... | glb/cad_a6394c6454f7.glb |
Create a thin, hollow ring by centering a cylinder with a radius of 100mm and a height of 5mm. Remove the interior volume by creating a concentric hole with a radius of 98mm and the same height of 5mm, resulting in a wall thickness of 2mm. Ensure the final shape is a smooth, circular ring with high facet resolution. | difference() {
cylinder(5, r1 = 100, r2 = 100, center = true, $fn=360);
cylinder(5, r1 = 98, r2 = 98, center = true, $fn=360);
} | glb/cad_0c47fb683742.glb |
Create a rail guide consisting of a flat rectangular base and two parallel vertical walls. Start by creating a base plate that is 180mm long, 27.8mm wide, and 1.6mm thick. On top of this base, place two vertical walls, each 180mm long, 1.6mm wide, and 16.6mm high. Position the first wall along one long edge of the base... | rail_lenght = 180;
rail_height = 15;
rail_width = 1.6;
rail_space = 23;
rail_base_height=1.6;
union() {
y_size = rail_space + rail_width * 2;
cube([rail_lenght, y_size, rail_base_height]);
cube([rail_lenght, rail_width, rail_height + rail_base_height]);
translate([0, y_size - rail_width, 0])
cu... | glb/cad_0beca554081c.glb |
Create a series of window-like rectangular frames with varying dimensions and features. Each basic window consists of a rectangular outer boundary with a smaller rectangular hole centered inside, creating a frame with a wall thickness of 0.8mm. The main frame height is 1.6mm.
Construct the following specific variation... | module alg_next_each_other_x(count = 2, space = 10.00, center = true) {
translate([center ? -space * count / 2 + space/2 : 0, 0, 0])
for (offset = [0:count - 1])
translate([offset * space, 0, 0])
children();
}
module alg_next_each_other_y(count = 2, space = 10.00, center = true)... | glb/cad_22049246a675.glb |
Create a ring with a height of 4mm. The ring should be formed by a hollow cylinder with an inner diameter of approximately 20.37mm and a wall thickness of 1.2mm, resulting in an outer diameter of approximately 22.77mm. Ensure the geometry is perfectly circular and smooth. | $fn = 128;
ring_size = 20;
ring_width = 4.00;
ring_thickness = 1.20;
dia = (ring_size + 40.00) / PI;
echo("dia", dia);
echo("circumference", (dia / 2) * PI * 2)
linear_extrude(ring_width) {
difference() {
circle(r = ring_thickness + dia / 2);
circle(r = dia / 2);
}
} | glb/cad_f84e4d968b9d.glb |
Create a cylindrical tube mount with an outer diameter of 70mm and a total height of 68mm. The main body is a hollow cylinder with a wall thickness of 3.2mm and a height of 60mm. At the bottom of this tube, add a solid circular base with a diameter of 70mm and a height of 8mm, but remove a small central cylinder with a... | $fn = 128;
nozzle = 0.4;
mount_r = 70.0 / 2;
mount_wall = nozzle * 8;
mount_h = 60.0;
base_h = 8.00;
module tube_mount_wall() {
linear_extrude(mount_h)
difference() {
circle(mount_r);
circle(mount_r - mount_wall);
}
}
module tube_base() {
difference() {
linear_extrude(base_h... | glb/cad_cff3ceda79c0.glb |
Create a circular token with a radius of 70mm and a total height of 7mm. Start by forming a solid base disk with a height of 5mm. On the top surface of this disk, add embossed text using a 24mm font size with a height of 2mm. The text should be centered and arranged in three stacked lines: "Baron" on the top line, "Jak... | $fn = 64;
font_size = 24.00;
font_space = font_size + 4.00;
font_h = 2.00;
ring_r = 70.00;
mount_hole = 4.00;
base_h = 5.00;
module centred_txt(value, font_size = font_size) {
text(value, font = "Liberation Sans", size = font_size, halign = "center", valign = "center");
}
module message() {
translate([0, f... | glb/cad_200618224a56.glb |
Create two identical vertical pillars. For each pillar, start with a circular base 5.8mm in diameter and 0.6mm thick. Centered on this base, extrude a vertical column 34mm high. The column's cross-section is a rounded rectangle formed by the union of two perpendicular rectangles—one measuring 3.75mm by 1.1mm and the ot... | base_h = 0.60;
h = 34.00;
r = 5.80 / 2;
$fn = 64;
m = 0.50;
b = 4.75 - m * 2;
w = 1.50 - m * 2;
s = 0.80;
linear_extrude(base_h)
circle(r);
linear_extrude(h) {
minkowski() {
union() {
square([b * s, w * s], center = true);
square([w * s, b * s], center = true);
}
... | glb/cad_1f83f4a01c77.glb |
Create a square tray by combining two concentric hollow square shells. First, construct a thin base plate by creating a square with a side length of 75.4mm and removing a centered square hole with a side length of 67mm, resulting in a wall thickness of 4.2mm, and extrude this shape to a height of 1mm. Second, build the... | wall = 1.2;
area = [75.40, 75.40];
hole = [67.00, 67.00];
base_h = 1.00;
w = 16.00;
union() {
linear_extrude(base_h) {
difference() {
square(area, center = true);
square(hole, center = true);
}
}
linear_extrude(base_h + w) {
difference() {
squar... | glb/cad_7e41871a925a.glb |
Create a rectangular shelf with a total height of 13.6mm, a width of 150mm, and a depth of 162mm.
From this main block, remove a central rectangular slot that is 12mm wide and 124mm long, positioned 6mm from the back edge. Additionally, remove five vertical rectangular slots, each 12mm wide and 140mm long, spaced eve... | $fn = 64;
size = [150.00, 162.00];
height = 13.60;
module grid(x, y, width, height, center = true)
{
x_space = width / (x - 1);
y_space = height / (y - 1);
translate(center ? [-(x_space * (x - 1))/2, -(y_space * (y - 1))/2, 0] : [0, 0, 0])
for (i = [0:x_space:(x - 1) * x_space]) {
for ... | glb/cad_86f8ee99a220.glb |
Create a circular lid with an outer diameter of 98.4mm and a total height of 6mm. The object should be constructed as a thin-walled ring with a solid base. Start by creating a solid cylinder with a radius of 49.2mm and a height of 6mm. From this, remove a concentric inner cylinder with a radius of 48mm and a height of ... | $fn = 128;
lid_r = 96.00 / 2.00;
lid_wall_height = 6.00;
lid_wall_thickness = 1.20;
lid_solid_base_height = 0.60;
difference() {
linear_extrude(lid_wall_height)
circle(r = lid_r + lid_wall_thickness, center = true);
translate([0, 0, lid_solid_base_height])
linear_extrude(lid_wall_height - li... | glb/cad_a9988e0841e7.glb |
Create a rectangular plate measuring 30mm wide, 50mm long, and 2mm thick. Centered within this plate, remove six circular holes, each with a radius of 0.8mm. These holes should be arranged in a 2 by 3 grid. The spacing between the holes is determined by placing them such that the outer edges of the holes are offset fro... | $fn = 64;
length = 50.00;
width = 30.00;
height = 2.00;
hole = 1.60;
hole_spacer = hole * 4;
module grid(x, y, width, height, center = true)
{
x_space = width / (x - 1);
y_space = height / (y - 1);
translate(center ? [-(x_space * (x - 1))/2, -(y_space * (y - 1))/2, 0] : [0, 0, 0])
for (i = [0:x_s... | glb/cad_de1fe8cf77de.glb |
Create a convoy prism adapter consisting of several concentric geometric components. Start by creating a base cylinder with a radius of 14.1mm and a height of 8mm, with a concentric cylindrical hole removed from the center with a radius of 12.1mm. On top of this base, add a thin disc with a height of 1mm and a radius o... | $fn = 128;
h = 8.00;
prizm_s = 22.05;
prizm_h = 4.00;
module circle_with_hole(r, size = 1.00) {
difference() {
circle(r + size * 2);
circle(r);
}
}
module square_with_hole(s, size = 1.00) {
difference() {
square(s + size * 2, center = true);
square(s, center = true);
... | glb/cad_8b7fa89ec883.glb |
Create a skateboard power base consisting of a main chassis and a separate lid.
Start with a rectangular base measuring 80mm by 56mm with a height of 18mm. From the bottom of this base, remove a central rectangular section of 58mm by 28mm with a depth of 7mm to create a workspace. Cut a channel 14mm wide through the ... | $fn = 32;
power_plug_slot_r = 5.5;
power_plug_rant_r = 6.30;
module power_plug() {
union() {
linear_extrude(2.00)
circle(r = power_plug_rant_r);
translate([0, 0, 2.00])
linear_extrude(20.00)
circle(r = power_plug_slot_r);
}
}
power_switch_rant = [15.00... | glb/cad_7760a6a1182d.glb |
Create a 3D model of an M3 Allen screw. Start by creating a cylindrical head with a diameter of 5.7mm and a height of 3.4mm. Centered on top of this head, add a second cylinder representing the screw shaft with a diameter of 3.4mm and a height of 20.4mm. The final object should be a single integrated piece consisting o... | $fn=32;
module m3_allen_screw(center = true) {
tolerance = 0.4;
head_w = 5.3 + tolerance;
head_h = 3.0 + tolerance;
width = 3.0 + tolerance;
height = 20.0 + tolerance;
translate(center ? [head_w/2, head_w/2, 0] : [0, 0, 0]);
union() {
color("red")
cylinder(h... | glb/cad_c7e532850402.glb |
Create a square plate with a side length of 18mm and a thickness of 2mm. Center a circular hole with a radius of 2.75mm through the middle of the plate, extending through the entire thickness of the object. | $fn=64;
b = 18.00;
r = 2.75;
h = 2.00;
linear_extrude(h)
difference() {
square([b, b], center = true);
circle(r = 2.75);
} | glb/cad_eed49a8cc23c.glb |
Create a U-shaped bracket with a flat base and two vertical end-walls. Start by creating a rectangular base plate measuring 100mm in length, 21mm in width, and 2mm in height. At each end of this base, add a vertical wall that is 17mm high and 2mm thick. These walls should be positioned so that their outer edges align w... | $fn = 64;
box = [96.00, 17.00];
bh = 2.00;
side = 2.00;
hole_r = 1.00;
wh = 8.00;
bottom = [box[0] + side * 2, wh];
module bottom_support(h, area) {
linear_extrude(h)
square(area, center = true);
}
module square_with_hole(h, area, r) {
translate([0, 0, h])
rotate([0, 180, 0])
d... | glb/cad_ece96d6ad3b1.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.