Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a lever for toy spare parts. Start with a central rectangular beam 100mm long, 6mm wide, and 6mm high, centered on the origin. At the right end of the beam, add a small cube 8mm long, 6mm wide, and 6mm high, rotated 45 degrees around the Z-axis and positioned at the edge of the beam. At the left end, add a secti... | use <latch.scad>
eps = 0.01;
module shape( l , w, h ) {
union() {
translate( [ - l / 2, 0 , 0 ] )
cylinder(h = h, r1 = w / 2, r2 = w / 2, center = true, $fn=100);
translate( [ + l / 2, 0 , 0 ] )
cylinder(h = h, r1 = w / 2, r2 = w / 2, center = true, $fn=100);
cube... | glb/cad_ab6e4944f3e8.glb |
Create a bifold control hardware piece consisting of a central rod with threaded sections. Start by creating a central cylinder with a diameter of 4mm and a total length of 47mm. This central rod is divided into three distinct segments along its length. The middle section is a smooth cylinder 24mm long. Attached to bot... | $fa=1;
$fs=0.4;
use </home/ntynen/tmp/threads.scad>;
door_hardware();
sleeve = false;
button_head = false;
top_threading = true;
module sleeve()
{
difference()
{
cylinder(h=5.5, d=15.9);
translate([0, 0, 2])
cylinder(h=4.5, d=15.3);
translate([0,0,-0.15])
cyl... | glb/cad_d6731b4a4b13.glb |
Create a bifold-control spacer by constructing a cylinder with a diameter of 12mm and a height of 4mm. Centered through the middle of this cylinder, add a circular hole with a diameter of 5mm that passes completely through the top and bottom faces. | $fa=1;
$fs=0.4;
spacer_size = 4;
spacer_diam = 12;
spacer_center_hole = 5;
difference()
{
cylinder(h=spacer_size, d=spacer_diam);
translate([0, 0, -2])
cylinder(h=(spacer_size*2), d=spacer_center_hole);
} | glb/cad_d6c7c16cbc3f.glb |
Create a Hexagon Nut Table Saw Jig consisting of a rectangular base plate and a vertical cylindrical pin. Start by creating the base plate as a rectangular slab with a length of 250mm, a width of 85.8mm (calculated as 50.8mm plus 35mm), and a thickness of 8mm.
Position a vertical cylindrical dowel pin on the top surf... | outer_diameter = 50.8;
inner_hole_diameter = 21.9;
jig_thickness = 8;
dowel_height = 20;
recess_depth = 3;
jig_width = outer_diameter + 35;
jig_length = 250;
dowel_offset_from_top = 50;
dowel_offset_from_left = outer_diameter / 2;
poop = 0.01;
module hexagon_jig() {
fence_thickness = 30;
fence_length = ... | glb/cad_e3c3020e7ce6.glb |
Create a dust hose adapter consisting of a vertical main passage and an angled side port. The main body begins with a top cylinder 30mm high with an outer diameter of 40mm and an inner diameter of 35mm. Below this, add a 20mm long conical transition section that tapers the outer diameter from 40mm down to 30mm and the ... | inner_diameter_TOP = 35;
outer_diameter_TOP = 40;
top_length = 30;
inner_diameter_BOT = 25;
outer_diameter_BOT = 30;
bot_length = 25;
mid_length = 20;
inner_diameter_SIDE = 20;
outer_diameter_SIDE = 25;
side_length = 45;
side_angle = 45;
wall_thickness = 2;
poop = 0.1;
module logo() {
logo_width = 7;
logo_... | glb/cad_fa5351738ab1.glb |
Create a Bader B3 small wheel for a knife grinder. Start by constructing a main central cylinder with a diameter of 20.54mm and a height of 50.8mm. Remove a center hole from this cylinder with a diameter of 7.35mm running through the entire height. On both the top and bottom faces, create recessed circular cutouts for ... | bearing_outer_diameter = 5/8 * 25.4;
bearing_inner_diameter = 1/4 * 25.4;
bearing_width = 3/16 * 25.4;
wheel_width = 2 * 25.4;
wheel_diameter = 1 * 25.4;
wheel_inner_diameter = bearing_inner_diameter + 1;
outer_material_thickness = 1/16 * 25.4;
resolution = 128;
poop = 0.1;
assert(bearing_outer_diameter < wheel_dia... | glb/cad_a56404e162bb.glb |
Create a 3D model consisting of three separate components: a threaded block, a threaded cylinder, and a split wedge.
First, create a rectangular block measuring 100mm x 50mm x 100mm. Centered within this block, remove a horizontal cylindrical threaded hole with an outer diameter of 50mm and a length of 50mm, using a ... | use <BOSL/constants.scad>;
use <BOSL/threading.scad>;
thread_tpi = 6;
screw_diameter = 25;
outer_thread_diameter = 50;
threading_block_length = 50;
taper_angle = 5;
taper_min_thickness = 2;
thread_pitch = 25.4 / thread_tpi;
poop = 0.1;
module threaded_block() {
block_size = [outer_thread_diameter*2, threading_b... | glb/cad_97f10ae67309.glb |
Create a set of insets consisting of two separate geometric components. First, create a cylinder with a diameter of 21.9mm and a height of 6mm. Second, create a rectangular block with a width of 130mm, a depth of 10mm, and a height of 6mm. Position the rectangular block so that it is translated 20mm along the Y-axis re... | outer_diameter = 50.8;
inner_hole_diameter = 22.25;
jig_thickness = 10;
dowel_height = 3;
minkowski_radius = 2;
jig_diameter = 180;
jig_handle_diameter = 60;
jig_handle_height = 25;
poop = 0.01;
module hexagon_holder_jig() {
fence_thickness = 30;
fence_length = 200;
corner_to_corner = outer_diameter... | glb/cad_17872c16d811.glb |
Create a yoga block with overall dimensions of 228.6mm in length, 152.4mm in width, and 101.6mm in height. The block should have a "rounded flat" chamfer style, achieved by creating a base cube and applying a Minkowski sum with an octahedron of size 5mm and a sphere of radius 3mm to soften the edges and corners.
On th... | block_length = 228.6;
block_width = 152.4;
block_height = 101.6;
chamfer_radius = 5;
chamfer_style = "rounded_flat";
chamfer_resolution = 64;
rounded_flat_radius = 3;
enable_logo = true;
logo_size = 9;
logo_depth = 2;
logo_style = "engrave";
logo_position = "corner";
yoga_block(block_length, block_width, blo... | glb/cad_4123927e5352.glb |
Create a 3D model of an inline hex wrench tool. Start by creating a main cylindrical body with a height of 8mm and an outer radius of 20.08mm (calculated as the inner radius plus a 10mm wall thickness).
Cut a hexagonal hole through the center of the cylinder with a face-to-face distance of 17.4625mm. To allow for too... | hex_size = 17.4625;
wrench_depth = 8;
wall_thickness = 10;
opening_size = 120;
label_text = "11/16\"";
extrude_depth = 2;
poop = 0.1;
module engrave_text() {
hex_radius = hex_size * 1/sqrt(3);
outer_radius = hex_radius + wall_thickness;
translate([-(hex_radius + outer_radius)/2, 0, wrench_depth - 0.... | glb/cad_b158c011581c.glb |
Create a Chisel Sheath by constructing a tapered outer shell and hollowing out the center. Start with a main body that is 28.6mm wide and 57mm long. The body should taper in thickness from 12.6mm at the opening end to 9.7mm at the tip end. Apply a 1mm radius round-over to all exterior edges.
Create a matching tapered ... | chisel_width = 18.6;
sheath_length = 52;
chisel_tip_thickness = 4.7;
chisel_end_thickness = 6.6;
sheath_wall_thickness = 3;
tip_thickness = 5;
sheath_side_thickness = 5;
round_radius = 1;
logo_width = 7;
logo_height = 4;
logo_top_scale = 0.8;
logo_spacing = 1.5;
logo_depth = 0.5;
sheath();
module sheath() {
diff... | glb/cad_6737cad79fea.glb |
Create a hexagon screw tool. Start by creating a central threaded rod with a diameter of 110mm and a total length of approximately 41.67mm (calculated as 25mm * 5/3), featuring internal threads with a pitch of 4.23mm (6 threads per inch).
From the center of this rod, remove a tapered hexagonal volume. This hexagonal ... | include <BOSL2/std.scad>
include <BOSL2/threading.scad>
block_thickness = 25;
block_diameter = 150;
threaded_hole_diameter = 110;
thread_tpi = 6;
mount_hole_diameter = 4;
mount_hole_distance = 130;
support_disk_diameter = 40;
support_disk_height = block_thickness;
minkowski_radius = 1;
max_threading_length = block_... | glb/cad_e7f1877a62c5.glb |
Create a Chisel Sheath designed to hold a chisel with a width of 19mm. The main body is a hollowed-out sleeve with a wall thickness of 2mm on the top and bottom and 3mm on the sides. The interior cavity follows the chisel's geometry: it has a base thickness of 6.5mm, tapering to 4.9mm at the tip over a bevel length of ... | chisel_width = 19;
chisel_tip_thickness = 4.9;
chisel_end_thickness = 6.5;
chisel_bevel_length = 5;
chisel_length = 62;
sheath_wall_thickness = 2;
sheath_side_thickness = 3;
sheath_front_thickness = 4;
enable_sheath_bevel = true;
minkowski_radius = 1;
very_tip_thickness_buffer = 1;
enable_ears = true;
ear_d... | glb/cad_8d3bbabe7845.glb |
Create a wood dowel threading block consisting of a rectangular main body and a flat mounting plate. The main body is 48mm long, 63.5mm wide, and 38.1mm high, with all edges rounded by a 2mm radius. This body sits atop a square mounting plate measuring 120mm by 120mm with a thickness of 10mm.
At the center of the bloc... | use <BOSL/threading.scad>
screw_diameter = 19.2;
tpi = 6;
screw_diameter_inch = screw_diameter / 25.4;
width = 2.5 * 25.4;
length = screw_diameter * 2.5;
height = (screw_diameter_inch + 0.75) * 25.4;
thread_z_padding = 3/8 * 25.4;
thread_z_location = thread_z_padding + screw_diameter_inch/2 * 25.4;
mounting_pla... | glb/cad_16708d0f0480.glb |
Create a replacement threader block with a rectangular body measuring 65mm in length, 63.5mm in width, and 34.29mm in height. Apply a 2mm chamfer to all edges.
At the center of the block, create a horizontal internal threaded hole with a diameter of 26mm and a pitch of 4.23mm (6 TPI). This threaded section should span... | use <BOSL/threading.scad>
screw_diameter = 26;
tpi = 6;
screw_diameter_inch = screw_diameter / 25.4;
router_hole_gap = 3/8 * 25.4;
width = 2.5 * 25.4;
length = screw_diameter * 2.5;
height = (screw_diameter_inch) * 25.4 + router_hole_gap*2;
center_hole_diameter = 3/8 * 25.4;
side_hole_diameter = 7/32 * 25.4;
si... | glb/cad_9604c35e68a9.glb |
Create a dust hose adapter consisting of three connected sections: a top tapered fitting, a conical middle transition, and a bottom tapered fitting, with an additional side port. Use a 64-facet resolution for all cylinders.
First, create the top section as a hollow tapered cylinder with a length of 50mm. The inner dia... | top_taper_diameter_tip = 63.5;
top_taper_diameter_base = 63;
top_length = 50;
top_is_outer_fitting = true;
top_wall_thickness = 3;
bot_taper_diameter_tip = 106;
bot_taper_diameter_base = 106;
bot_length = 50;
bot_is_outer_fitting = false;
bot_wall_thickness = 3;
mid_length = 40;
side_taper_diameter_tip = 38;... | glb/cad_ca251cc85a16.glb |
Create a chisel cap designed as a hollow rectangular sheath. The outer dimensions of the cap should be 23.3 mm wide, 8 mm high, and 27.4 mm deep. The walls of the cap must be 2 mm thick.
Create a central hollow cavity starting 2 mm from the bottom face, with internal dimensions of 19.25 mm wide and 4.5 mm high, extend... | chisel_w = 25.4*.75;
chisel_h = 4;
wall_thickness = 2;
sheath_depth = 25.4;
cylinderBump = .5;
nudge_width = 0.2;
nudge_height = 0.5;
outterWall_w = chisel_w + (2*wall_thickness);
outterWall_h = chisel_h + (2*wall_thickness);
outterWall_d = sheath_depth + wall_thickness;
hole_height = 12;
difference(){
unio... | glb/cad_70fd4eb4c1db.glb |
Create a bottom hub for a LoRa ground plane antenna by starting with a solid cylinder 60mm in diameter and 20mm in height. Remove four angled radial holes to accommodate fiberglass rods; each hole must have a diameter of 11.9mm and be positioned 22mm from the center of the hub. These holes should be angled at 45 degree... | rod_diameter = 11.1;
tolerance = 0.8;
hole_diameter = rod_diameter + tolerance;
hub_diameter = 60;
hub_height = 20;
radial_distance = 22;
mount_diameter = 4.0;
mount_circle = 45;
difference() {
cylinder(h=hub_height, d=hub_diameter, $fn=64);
for(i = [0:3]) {
rotate([0, 0, i * 90]) {
tran... | glb/cad_c33b37554d79.glb |
Create a top hub for a solar-powered meshtastic station antenna. Start by creating a solid cylinder with a diameter of 40mm and a height of 15mm. Bore a central vertical hole completely through the cylinder with a diameter of 11.9mm to serve as a socket for a fiberglass rod. Additionally, create four smaller mounting h... | rod_diameter = 11.1;
tolerance = 0.8;
hole_diameter = rod_diameter + tolerance;
hub_diameter = 40;
hub_height = 15;
mount_diameter = 4.0;
mount_circle = 30;
difference() {
cylinder(h=hub_height, d=hub_diameter, $fn=64);
translate([0, 0, -1])
cylinder(h=hub_height + 2, d=hole_diameter, $fn=32);
... | glb/cad_d6f6bc2d5301.glb |
Create a towel rack designed to fit over two radiator bars. The object has a total width of 30mm and a wall thickness of 2.5mm.
Construct two C-shaped clips, each with an inner diameter of 23.7mm and an outer diameter of 28.7mm. Position these clips so that their centers are separated by a distance of 16.9mm. The cli... | $fa = 0.1;
$fs = 0.1;
$fn=128;
Bar_Diameter = 23.5;
Bar_Distance=16.9;
Rack_Width = 30;
Rack_Shape = "triangle";
Wall_Size = 2.5;
barOffset = 0.2;
insideDiameter = Bar_Diameter + barOffset;
outsideDiameter = insideDiameter + Wall_Size * 2;
structureTriange=15;
structureLength=36;
structureHeight=4;
module roun... | glb/cad_28b2dd23b710.glb |
Create a scara-seele motor and sensor holder assembly.
Construct a main rectangular box with a width of 180mm, a depth of 150mm, and a height of 300mm (275mm plus a 25mm base). The walls and base are 6mm thick. The two side walls feature a series of eight interlocking finger joints, each 10mm long, along the bottom e... | kerf_3mm = 0.08;
kerf_6mm = 0.15;
press_fit_mdf = 0.15;
box_material_thickness = 6;
motor_holder_material_thickness = 10;
lifter_bottom_base_height = 25;
lifter_edge_joint_lenght = 10;
edge_clearnece_space = 1;
box_lift_width = 180;
shaft_lenght = 285;
box_lift_depth = 150;
box_lift_height = 275 + lifter_bottom_base_h... | glb/cad_7c6d45379710.glb |
Create a bike IoT tracker mount by starting with a flat, elliptical plate that is 13mm wide, 25mm long, and 0.8mm thick. Centered within this plate, remove a large elliptical hole that is 10mm wide and 10mm long. Additionally, create two smaller circular holes, each 3.2mm in diameter, positioned along the longitudinal ... | $fn = 50;
difference() {
resize([13, 25]) cylinder(0.8, d=1);
for (i = [-1, 1]) {
translate([0, 8*i, 0]) cylinder(10, d = 3.2, center=true);
}
cylinder(10, d = 10, center=true);
} | glb/cad_77ec520ea1d1.glb |
Create a 3D-printable velcro pattern consisting of a rectangular base plate and an array of truncated conical towers.
Start by creating a rectangular base plate with a thickness of 0.6mm. The overall dimensions of the plate should be approximately 60mm by 60mm, providing a 5mm border around the tower array.
Populate... | Base_diameter = 1.0;
Height_multiplier = 2.0;
Top_multiplier = 1.3;
Interference = 0;
Auto_adjust_dimensions = false;
Width = 50;
Length = 50;
Thickness = 0.6;
Border_horizontal = 5;
Border_vertical = 5;
Resolution = 8;
Preview_mode = true;
Max_towers_per_dimension = 50;
$fn = Preview_mode ? 8 : Resolution... | glb/cad_181334531185.glb |
Create a Yagi antenna element mounting bracket. Start with a central rectangular base measuring 39mm in length, 12mm in width, and 12mm in height, centered on the origin. Remove a central rectangular slot from this base that is 19.2mm long, 12.5mm wide, and 10mm high, also centered on the origin. Drill a vertical hole ... | $fa = 1;
$fs = 0.4;
mounting_width = 12;
boom_width = 19;
element_dia = 8;
element_gap = 5;
mounting_screw = 3;
parking_angle = 10;
module base(mw = 12, bw = 19, ms = 3){
difference(){
difference(){
cube([boom_width + 20, mounting_width, 12],center=true);
translate([0,0,-6]... | glb/cad_77842a1613d1.glb |
Create a Prusa3-vanilla X-end prototype. Start with a main rectangular block measuring 17mm in width, 39mm in depth, and 58mm in height, centered on the X and Y axes.
On the front face, create a vertical slot for a bearing. At the bottom of the block, add a hexagonal protrusion with a height of 8mm and a radius of 8m... | use <bearing.scad>
use <polyholes.scad>
rod_distance = 45;
module x_end_base(){
height = 58;
translate(v=[-15,-9,height/2]) cube(size = [17,39,height], center = true);
vertical_bearing_base();
translate(v=[-2-2,-17,4]) cube(size = [8,16,8], center = true);
translate(v=[0,-17,0]) rotate([0,0,30]) cylinder(h = 8,... | glb/cad_055833fac2b9.glb |
Create a NEMA 17 extruder idler base by starting with a solid rectangular block measuring 24.5mm in width, 42mm in depth, and 11mm in height. From this base, remove a central rectangular cutout measuring 11mm wide by 23mm deep and 25mm high. Through this central void, create a horizontal cylindrical hole with a radius ... | module extruder_idler_base(){
translate([0.25,0,0]) cube([24,42,8+3]);
}
module extruder_idler_holes(){
translate([12,21,0]){
cube([11,23,25], center= true);
#translate([-13.25,0,4.1+2])rotate([0,90,0])cylinder(r=4.1, h=24);
translate([7,16,-1])cylinder(r=2.2, h=24, $fn=20);
translate([-7,16,-1])cylinder... | glb/cad_e23cf6eb0a02.glb |
Create a Prusa X-end motor mount by starting with a base block and removing specific geometric volumes. Begin with a solid rectangular base centered at [-15, 31, 26.5] with dimensions 17mm x 44mm x 53mm.
From this base, remove a central rectangular belt hole measuring 10mm x 46mm x 22mm, centered at [-1, 32, 0]. Crea... | use <x-end.scad>
module x_end_motor_base(){
x_end_base();
translate(v=[-15,31,26.5]) cube(size = [17,44,53], center = true);
}
module x_end_motor_holes(){
x_end_holes();
translate(v=[-1,32,30.25]){
translate(v=[-14,1,0]) cube(size = [10,46,22], center = true);
translate(v=[20,-15.5,-15.5]) rotate(a=[0,-90,... | glb/cad_a95982bf0290.glb |
Create a Prusa nozzle by constructing a series of stacked geometric primitives along a central vertical axis. Start at the base with a truncated cone 0.6mm high, tapering from a radius of 0.75mm at the bottom to 2.25mm at the top. Directly above this, add a cylinder with a radius of 2.25mm and a height of 10.7mm. Follo... | $fn=50;
difference(){
union(){
cylinder(r1=1.5/2, r2=4.5/2,h=0.6);
translate([0,0,
0.6
]) cylinder(r=4.5/2,h=10.7);
translate([0,0,
0.6+10.7
]) cylinder(r=5/2,h=0.5);
translate([0,0,
0.6+10.7+0.5
]) cylinder(r=3.9/2,h=1.2);
for(i = [0 : 8] ){
translate([0,0,
0.6+10.7+0.5+1.2+i*2.5
]) cylinder(r=6.8/2,h=1, $fn=6);
... | glb/cad_f935611c4a12.glb |
Create a small gear for a NEMA 17 extruder. The gear should have 8 teeth with a circular pitch of 335mm and a rim thickness of 20mm. Integrate a central cylinder with a radius of 11mm and a height of 9mm into the gear's core. To finish the part, remove material to create three specific voids: a central vertical hole wi... | include <external_gear_script.scad>;
module small_gear()
{
translate([0,0,0])
{
translate ([30,0,0])
difference(){
union(){
rotate ([0,0,360*-1/20]) gear (number_of_teeth=8,
circular_pitch=335,rim_thickness=20,bore_diameter=0,hub_thickness=0);
cylinder(r=11, h=9);
}
translate ([0,0,-1]) cyli... | glb/cad_2f3444f5da73.glb |
Create a vertical bearing holder by starting with a cylinder that has a radius of 10.5mm and a height of 58mm. Cut this cylinder in half vertically to create a semi-cylindrical block.
From the center of this semi-cylinder, remove a smaller concentric cylinder with a radius of 7.5mm and a height of 62mm to create a ho... | use <polyholes.scad>
bearing_diameter = 15;
module horizontal_bearing_base(bearings=1){
translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true);
}
module horizontal_bearing_holes(bearings=1){
cutter_lenght = 10+bearings*25;
one_holder_lenght = 8+25;
holder_lenght = 8+bearings*25;
difference(){
... | glb/cad_9610a17f940f.glb |
Create a Prusa3-vanilla extruder body for a NEMA 17 motor. Start with a main block that has a total height of 34mm. Within this body, create a central motor mount cutout measuring 42mm by 42mm.
Incorporate a nozzle mount system featuring a central filament hole with a radius of 2mm and a length of 70mm. Add a tapered... | module nozzlemount(){
rotate([0,90,0]) cylinder(r=2, h=70, $fn=30);
translate([17,0,0]) rotate([0,90,0]) cylinder(r2=3,r1=2, h=10, $fn=30);
translate([-1,0,0]) rotate([0,90,0]) cylinder(r=8, h=4);
translate([-2,15,0]) rotate([0,90,0]) cylinder(r=2, h=70);
translate([10-5,15,0]) rotate([0,90,0]) rotate([0,0,30... | glb/cad_ccc97c019df7.glb |
Create a Prusa3-vanilla extruder body. Start with a main block structure consisting of a base where the drive gear is placed (42x19x34mm), a front plate (42x55x4mm), and a base plate (11x80x34mm). Add an idler retainer block (6x7x34mm) with top and bottom bridges (6x20x1mm and 6x20x2mm respectively) to provide spring t... | module nozzlemount(){
rotate([0,90,0]) cylinder(r=2, h=70, $fn=30);
translate([17,0,0]) rotate([0,90,0]) cylinder(r2=3,r1=2, h=10, $fn=30);
translate([-1,0,0]) rotate([0,90,0]) cylinder(r=8, h=4);
translate([-2,15,0]) rotate([0,90,0]) cylinder(r=2, h=70);
translate([10-5,15,0]) rotate([0,90,0]) rotate([0,0,30... | glb/cad_14e42966f9f8.glb |
Create a Prusa3-vanilla Y frame corner. Start with a rectangular base block measuring 18mm wide, 22mm deep, and 47mm high.
Remove three primary cylindrical holes from this block: two holes with a radius of 4.4mm passing through the center of the 18mm faces at heights of 10mm and 30mm, and one hole with a radius of 5.... | module corner_base(){
translate([-9,-11,0])cube([18,22,47]);
}
module corner_holes(){
translate([-11,-11,0]){
translate([0,11,10]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h = 270, r=4.4, $fn=30);
translate([0,11,30]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h = 270, r=4.4, $fn=30);
translate([11,... | glb/cad_8c339af134f1.glb |
Create a Prusa X carriage by starting with a base composed of a rectangular plate measuring 33mm by 68mm with a height of 7mm, and a central belt holder block measuring 33mm by 16mm with a height of 17mm. Integrate two horizontal bearing holders: one small holder at the front and one long holder positioned 45mm behind ... | use <bearing.scad>
module x_carriage_base(){
translate([-33/2,0,0]) rotate([0,0,90]) horizontal_bearing_base(1);
translate([-33/2,45,0]) rotate([0,0,90]) horizontal_bearing_base(2);
translate([-33,-11.5,0]) cube([33,68,7]);
translate([-33,20,0]) cube([33,16,17]);
}
module x_carriage_beltcut(){
translate([-2... | glb/cad_bc11a5fbf61b.glb |
Create a Y belt holder by starting with a base composed of three joined rectangular blocks: one measuring 33 by 15 by 16 mm, a second 33 by 15 by 16 mm block positioned adjacent to it, and a third 50 by 4 by 16 mm block extending from the side. From this combined mass, remove a 67 by 1 by 15 mm rectangular slit for the... | module belt_holder_base(){
translate([-33-8.5,0,-1]) cube([33,15,16]);
translate([-33-8.5,11,-1]) cube([33,15,16]);
translate([-50,22,-1]) cube([50,4,16]);
}
module belt_holder_beltcut(){
position_tweak=-0.2;
translate([-66,-0.5+10,3]) cube([67,1,15]);
translate([-66,-0.5+10,12]) rotate([45,0,0]) cube([67,15,1... | glb/cad_049577215b11.glb |
Create a Prusa3-vanilla extruder gear by starting with a gear that has 36 teeth, a circular pitch of 335mm, a rim thickness of 5mm, and a central bore diameter of 4.8mm. Centered on this gear, add a hexagonal prism with a height of 6mm, a bottom radius of 12mm, and a top radius of 9mm, positioned 4mm above the base. Re... | include <external_gear_script.scad>;
module big_gear()
{
translate ([0,0,0])
difference(){
union(){
gear (
number_of_teeth=36,
circular_pitch=335,
rim_thickness=5,
bore_diameter=4.8);
translate ([0,0,4]) cylinder(r1=24/2, r2=18/2, h=6, $fn=6);}
translate ([0,0,4]) cylinder(r=9/2, h=7, $fn=6);
for ... | glb/cad_fc0dd7790307.glb |
Create a chimera-cad arm mount consisting of a 3mm thick plate bent into an L-shape. The base is a flat rectangular section with a width of 60mm and a height of 75mm. This base contains four circular holes with a diameter of 6.05mm, positioned 10mm from the edges. Specifically, place two holes along the bottom edge and... | $fn=24;
tie_height=80;
thickness=3;
lie_flat=false;
tie_bolt_inner_from_center = 20;
tie_bolt_dia=6.05;
tie_bolt_space_x=40;
tie_bolt_space_y=55;
z1_bolt_space=60;
z1_bolt_dia=6.5;
inter_z1_spacing=400;
plate_margin=10;
plate_size_lower_x=tie_bolt_space_x+(plate_margin*2);
plate_size_y=tie_bolt_space_y+(plate_marg... | glb/cad_2966c832d5ec.glb |
Create a linear bearing clamp called i2_xends. Start by creating a main cylindrical body with a radius based on the bushing clamp outer radius and a height that accommodates the bearing length. Subtract a central cylindrical hole from this body to create a sleeve for a smooth rod, using a radius that accounts for the r... | include <configuration.scad>
function adjust_bushing_len(conf_lb, h, add=layer_height*2) = ((conf_lb_length(conf_lb)+add) > h) ? conf_lb_length(conf_lb)+add : h;
function bushing_foot_len(conf_lb, h=10.5, add=bushing_clamp_outer_radius_add) = ((conf_lb_out_dia(conf_lb)/2+add) > h) ? conf_lb_out_dia(conf_lb)/2+add : h... | glb/cad_fd3df9435a8a.glb |
Create a Z motor mount for a stepper motor. Start with a central motor plate that is 42mm square and 3mm thick, positioned so its center is at the origin. Build a U-shaped bracket around this plate using two vertical side walls and a bottom wall, each with a thickness of 3mm. The side walls should be 42mm wide and exte... | include <configuration.scad>
include <inc/nuts_screws.scad>
include <inc/motors.scad>
use <inc/drivetrain.scad>
module z_motor_mount(){
difference(){
union(){
translate([0,0,stepper_motor_padded/2+z_motor_mount_clamp_wall_thickness]) rotate ([0,-90,0]) motor_plate(size=[stepper_motor_padded,stepper_motor_padded,... | glb/cad_0fcb2193d4a8.glb |
Create a Coaxial SCARA Robot Arm Simulation part by starting with a main cylinder that has a diameter of 14mm and a height of 25mm, using a 40-facet resolution. Remove a central vertical hole from this cylinder with a diameter of 5mm and a height of 50mm, positioned so it extends 10mm below the base. Additionally, crea... | difference(){
cylinder(d=14,h=25,$fn=40);
translate([0,0,-10])cylinder(d=5,h=50,$fn=40);
translate([-5,0,7])rotate([0,90,0])cylinder(d=3,h=50,$fn=40);
translate([-5,0,18])rotate([0,90,0])cylinder(d=3,h=50,$fn=40);
} | glb/cad_60147736eb1a.glb |
Create a Coaxial SCARA Robot Arm Simulation part by constructing a primary cylinder with a diameter of 19mm and a height of 6mm. From this main body, remove a cylindrical section with a diameter of 17mm and a height of 2mm, positioned 5mm above the base, to create a shallow recessed ring. Additionally, remove a thin cy... | difference(){
union(){
difference(){
cylinder(d=19,h=6,$fn=60);
translate([0,0,5])cylinder(d=19-2,h=2,$fn=30);
translate([0,0,0])cylinder(d=19-2,h=1,$fn=30);
}
cylinder(d=7,h=6,$fn=30);
}
translate([0,0,-10])cylinder(d=5,h=100,$fn=30);
} | glb/cad_6e34c4696143.glb |
Create a hollow square tray by starting with a solid cube that is 50mm wide, 50mm deep, and 10mm high. Center this cube on the XY plane and position its base 5mm above the origin. From the center of this volume, remove a smaller concentric cube that is 48mm wide, 48mm deep, and 12mm high. This operation will carve out ... | x = 12 * 4;
difference(){
translate([0,0,5])cube([x+2,x+2,10],center=true);
translate([0,0,7])cube([x,x,12],center=true);
} | glb/cad_f062c2d2e4ea.glb |
Create a GT2 2mm pulley with 20 teeth. Start with a cylindrical base 8mm high and 20mm in diameter. Above this base, add a toothed section 12mm high with an outside diameter of 11.88mm. The teeth should follow the GT2 2mm profile.
On top of the toothed section, add a 1.5mm high circular retainer flange that extends th... | teeth = 20;
profile = 12;
motor_shaft = 5.2;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 6.4;
m3_nut_depth = 2.7;
retainer = 1;
retainer_ht = 1.5;
idler = 0;
idler_ht = 1.5;
pulley_t_ht = 12;
pulley_b_ht = 8;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2;... | glb/cad_333554afed07.glb |
Create a GT2 2mm timing pulley with 40 teeth. The pulley consists of a central toothed cylinder with a height of 7mm and an outer diameter of 11.88mm. The teeth should follow the GT2 2mm profile.
The pulley features a base with a height of 1mm and a diameter of 20mm. A central hole for a motor shaft with a diameter of... | teeth = 40;
profile = 12;
motor_shaft = 19;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 6.4;
m3_nut_depth = 2.7;
retainer = 1;
retainer_ht = 1.5;
idler = 1;
idler_ht = 1.5;
pulley_t_ht = 7;
pulley_b_ht = 1;
pulley_b_dia = 20;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2;
... | glb/cad_567f8f57b39c.glb |
Create a GT2 2mm pulley with 20 teeth. The model consists of a central cylindrical body with a base height of 8mm and a toothed section height of 7mm. The toothed section has an outside diameter of 11.88mm.
Add a belt retainer flange on top of the toothed section with a height of 1.5mm and a radius extending 1.5mm bey... | teeth = 20;
profile = 12;
motor_shaft = 5.2;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 6.4;
m3_nut_depth = 2.7;
retainer = 1;
retainer_ht = 1.5;
idler = 0;
idler_ht = 1.5;
pulley_t_ht = 7;
pulley_b_ht = 8;
pulley_b_dia = 17;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2;
... | glb/cad_397cf700c7c1.glb |
Create a GT2 2mm timing pulley with 20 teeth. Start with a cylindrical base 8mm high and 18mm in diameter. Centered on this base, add a toothed section 7mm high with an outside diameter of 11.88mm, featuring 20 evenly spaced GT2 profile teeth.
On top of the toothed section, add a 1.5mm high circular retainer flange t... | teeth = 20;
profile = 12;
motor_shaft = 5.2;
m3_dia = 3.2;
m3_nut_hex = 1;
m3_nut_flats = 6.4;
m3_nut_depth = 2.7;
retainer = 1;
retainer_ht = 1.5;
idler = 0;
idler_ht = 1.5;
pulley_t_ht = 7;
pulley_b_ht = 8;
pulley_b_dia = 18;
no_of_nuts = 1;
nut_angle = 90;
nut_shaft_distance = 1.2;
additional_tooth_width = 0.2;
... | glb/cad_8cd29b2e1e67.glb |
Create a Programmer Clip consisting of a main rectangular base and a clamping bridge. The base is a rounded rectangular prism 60mm long, 16mm wide, and 5mm thick, with corner radii of 3mm.
At the far end of the base, create a clamping bridge that is 15.5mm long, 16mm wide, and 6.2mm thick. This bridge features a cent... | $fs = 0.15;
base_length = 60;
base_width = 16;
base_thickness = 5;
corner_radius = 3;
nut_height = 1.7;
nut_across_flats = 4.2;
hole_diameter = 2.2;
screw_hole_side_offset = 3;
screw_hole_front_offset = 3;
module rounded_cube(size = [ 1, 1, 1 ])
{
size_vector = (size[0] == undef) ? [ size, size, size ] : size;
li... | glb/cad_6bb3cd773975.glb |
Create a brushless motor adapter consisting of a circular base plate and a central raised hub. The base plate should have a thickness of 5mm and a diameter of 38mm. Centered on this plate, add a cylindrical hub with a diameter of 21.2mm and a height of 4.2mm above the plate.
Pierce the entire assembly with a central v... | motor_plate_thickness = 5;
hub_diameter = 21.2;
hub_thickness = 4.2;
axle_hole_diameter = 5;
power_wheels_bolt_thread_diameter = 3;
power_wheels_nut_flat_width = 5;
power_wheels_bolt_hole_separation = 25;
brushless_bolt_thread_diameter = 3;
brushless_bolt_count = 4;
brushless_bolt_separation = 30;
difference() {
... | glb/cad_60381f20d7b7.glb |
Create a coffee scoop consisting of a hollowed hemispherical bowl and an attached rectangular handle. The bowl is formed by a hemisphere with an outer radius of 20.3mm and an inner radius of 18.8mm, creating a wall thickness of 1.5mm. The bowl is a half-sphere, sliced horizontally at its equator.
Attached to the top e... | water_volume = 240 * .75;
ratio = 0.056;
wall_thickness = 1.5;
coffee_density = 350;
handle_size = [15,45,3];
text_size = 6;
text_content = str(water_volume," mL");
grounds_mass = coffee_mass_by_water(water_volume, ratio);
grounds_volume = coffee_volume(grounds_mass, coffee_convert_density(coffee_density));
inner... | glb/cad_dd7637e0f9e8.glb |
Create a device-hardware enclosure consisting of a bottom shell and a top shell that mirror each other. Each shell is a rounded box with overall dimensions of 35mm length, 40mm width, and 30mm height, featuring a wall thickness of 2mm and corner fillets with a 2mm radius.
The shells are hollowed out to create a cavity... | Length = 35;
Width = 40;
Height = 30;
Thick = 2;
PCBFeet = 0;
Vent = 1;
Vent_width = 1.0;
txt = "nolabot mkviii";
TxtSize = 4;
Police ="Arial Black";
Filet = 2;
Resolution = 50;
m = 0.9;
PC... | glb/cad_6200c9cf76cb.glb |
Create a C120 flange holder by starting with a solid cylinder 49.75mm in diameter and 4mm thick. Remove a central cylindrical hole with a diameter of 18.75mm that passes completely through the thickness of the plate. Additionally, create four smaller circular bolt holes, each 4.1mm in diameter and 4mm deep, passing thr... | $fn=300;
module c120() {
difference() {
cylinder(h=4, d=49.75);
cylinder(h=4, d=18.75);
for (zrot=[0,90,180,270]) {
rotate([0,0,zrot])
translate([39.45/2,0,0])
cylinder(h=4, d=4.1);
}
}
}
module wr75() {
difference() {
translat... | glb/cad_c76bfb0ab42e.glb |
Create a satellite LNB holder consisting of a central cylindrical tube and an attached support arm.
Start with a main tube that is 66mm long with an outer radius of 15.75mm. This tube is hollowed out by a central hole with a radius of 3mm and a length of 32mm. Add two small cylindrical protrusions, each with a radius... | $fn=80;
module hexagon(size, height) {
boxWidth = size/1.75;
for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true);
}
module cylinder_mid(height,radius,fn){
fudge = (1+1/cos(180/fn))/2;
cylinder(h=height,r=radius*fudge,$fn=fn);}
module cylinder_outer(height,radius,fn){
fudge = 1... | glb/cad_b39b1e2dabf8.glb |
Create a satellite component holder consisting of a truncated conical base and a top circular platform. Start by creating a hollow truncated cone with a bottom radius of 120mm and a top radius of 29mm, with a wall thickness of 2.5mm. The height of this conical section is determined by a 70-degree slope relative to the ... | $fn=100;
angle=70;
thickness=2.5;
rtop=29;
w = 117;
module triangle(o_len, a_len, depth)
{
linear_extrude(height=depth)
{
polygon(points=[[0,0],[a_len,0],[0,o_len]], paths=[[0,1,2]]);
}
}
function cyl_height(top_r, bottom_r) = tan(90-angle) * (bottom_r - top_r);
module cover(top_r, bottom_r) {
... | glb/cad_197ab4f1ddcd.glb |
Create a satellite LNB holder consisting of two symmetrical halves. The core of the model is a main tube with a diameter of 31.5mm and a height of 66mm. This tube is hollowed out by a central cylinder with a radius of 12.5mm and a height of 77mm.
Attached to the main tube is a secondary holder component. This part fea... | $fn=150;
module hexagon(size, height) {
boxWidth = size/1.75;
for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true);
}
module cylinder_mid(height,radius,fn){
fudge = (1+1/cos(180/fn))/2;
cylinder(h=height,r=radius*fudge,$fn=fn);}
module cylinder_outer(height,radius,fn){
fudge = ... | glb/cad_cdeb63e4b6a6.glb |
Create a satellite LNB holder consisting of a main body and a base plate. The main body is a vertical structure with a central channel and two side rails. The side rails are defined by rounded rectangles measuring 6mm by 16mm with a corner radius of 1mm. The overall height of the main body is 19mm.
The base is a recta... | module roundedRect(size, radius) {
x = size[0];
y = size[1];
hull() {
translate([(-x/2)+(radius/2), (-y/2)+(radius/2), 0])
circle(r=radius);
translate([(x/2)-(radius/2), (-y/2)+(radius/2), 0])
circle(r=radius);
translate([(-x/2)+(radius/2), (y/2)-(radius/2), 0])
circle(r=radius);... | glb/cad_938046ca8f99.glb |
Create a T90 LNB holder consisting of a main rectangular block and an attached cylindrical pin. Start with a main body that is a rectangular prism measuring 37mm by 49mm with a height of 15mm. Remove a semi-cylindrical cutout from the center of one 49mm side with a radius of 20mm and a height of 15mm. On the remaining ... | use <Triangles.scad>;
screw_r = 2;
$fn = 20;
module t90_pin() {
difference() {
union() {
cylinder(h=14, r1=3.9, r2=3.9, center=false);
translate([0, 0, 16.3])
rotate([180,0,0])
linear_extrude(height=3, center=false, scale=[1.40,0.95])
... | glb/cad_8fa72f7b8764.glb |
Create a DoorStationScad device consisting of a main rectangular base with a mounted LCD screen and three control buttons.
Start by creating a rectangular base box with dimensions 10mm width, 20mm length, and 4mm height. Hollow out the center of the box by removing a smaller internal rectangular volume of 9.6mm by 19... | include <raspberrypi3.scad>;
include <cubex.scad>;
echo(version=version());
$fn=20;
Box(10,20,4,false,50);
module Lcd(){
difference(){
union(){
color("grey")
cube([8.00,3.6,0.16],true);
color("black")
translate([1.5,0.5,-0.41])
cube([3.5,1.7,0.7],true);
color("black")
translate([0,0,0.5])
... | glb/cad_62c214f07fac.glb |
Create a Sannel House enclosure consisting of a rectangular base and surrounding walls. Start with a base plate measuring 120.85mm by 203.5mm with a thickness of 3mm. From this base, extend walls upward to a total height of 30mm, leaving a central hollow cavity of 114.85mm by 197.5mm.
Along the interior of the long w... | $fn=100;
module tab()
{
translate([0,-3,0]) difference()
{
cube([8,3,40]);
color("purple") translate([4,3.5,36]) rotate([90,0,0]) cylinder(d=4,h=4);
translate([4,3,36]) rotate([90,0,0]) difference()
{
color("red") translate([-5,0,0]) cube([10, 10, 4]);
color("blue") cylinder(d=8,h=3);
}
}
}
module... | glb/cad_081f4b5cc77c.glb |
Create a rectangular housing for the Sannel house with overall outer dimensions of 120.85mm in width, 203.5mm in length, and 12.75mm in height. Hollow out the center by removing a rectangular block of 107.85mm by 190.5mm, leaving a wall thickness of approximately 6mm on the sides and 4mm on the ends, with the floor of ... | $fn=100;
module tab()
{
difference()
{
cube([8,25,3]);
translate([4,21,0])cylinder(d=4,h=3);
}
}
translate([23.75,15.5,0]) tab();
translate([89.75,15.5,0]) tab();
translate([31.75,184.5,0]) rotate([0,0,180]) tab();
translate([97.75,184.5,0]) rotate([0,0,180]) tab();
translate([5,32.5,0]) c... | glb/cad_3cc3e5d9ca1a.glb |
Create a 3D model of an ESP8266-Remote PCB. Start with a rectangular blue base measuring 16mm by 24mm with a thickness of 0.98mm.
On the top surface of the base, place a silver rectangular shield measuring 12.1mm by 15.2mm with a height of 2.3mm, positioned 1.98mm from the left edge and 0mm from the bottom edge. Add ... | fragments=20;
module halfPad() {
color("Gold", a=1) {
difference() {
cube(size=[1,1,1], center=true);
cylinder(h=2,d=0.6,center = true, $fn=fragments);
};
};
};
module padHoles(x, y, zRot = 0) {
rotate([0, 0, zRot]) {
translate([x, y, 0]) {
cylind... | glb/cad_d72ad9c51ee7.glb |
Create a 3D model of an ESP8266-Remote PCB. Start with a blue rectangular base measuring 16mm by 24mm with a thickness of 0.98mm. On top of this base, place a silver rectangular shield measuring 12.1mm by 15.2mm with a height of 2.3mm, positioned 1.98mm from the left edge and 0mm from the bottom edge of the base. Add a... | fragments=20;
module halfPad() {
color("Gold", a=1) {
difference() {
cube(size=[1,1,1], center=true);
cylinder(h=2,d=0.6,center = true, $fn=fragments);
};
};
};
module padHoles(x, y, zRot = 0) {
rotate([0, 0, zRot]) {
translate([x, y, 0]) {
cylind... | glb/cad_120600390f55.glb |
Create a 3D model of an ESP8266-Remote module. Start with a blue rectangular PCB base measuring 16mm by 22mm with a thickness of 0.98mm.
On the top surface, place a silver rectangular shield measuring 12.1mm by 15.2mm with a height of 2.3mm, positioned 1.98mm from the left edge and 0mm from the bottom edge. Add a sma... | fragments=20;
module halfPad() {
color("Gold", a=1) {
difference() {
cube(size=[1,1,1], center=true);
cylinder(h=2,d=0.6,center = true, $fn=fragments);
};
};
};
module padHoles(x, y, zRot = 0) {
rotate([0, 0, zRot]) {
translate([x, y, 0]) {
cylind... | glb/cad_326ac59ccb6b.glb |
Create an ESP8266-Remote model starting with a blue rectangular PCB base measuring 18mm wide, 20mm long, and 0.98mm thick, positioned with its bottom-left corner at (0, -13, 0). On top of this base, place a silver rectangular shield measuring 15mm wide, 12mm long, and 1.5mm thick, positioned at (1.5, -12, 1).
Along th... | fragments=20;
module halfPad() {
color("Gold", a=1) {
difference() {
translate([0, 0, 0.5]) {
cube(size=[0.85,0.90,1], center=true);
};
};
};
};
module padHoles(x, y, zRot = 0) {
rotate([0, 0, zRot]) {
translate([x, y, 0.5]) {
cylinder(h=2,... | glb/cad_372a677f80dc.glb |
Create a rectangular enclosure for an APRS modem with external dimensions of 34mm width, 66mm length, and 15mm height. The walls should be 3mm thick. Hollow out the center to create an internal cavity of 28mm width, 60mm length, and 15mm height. On one of the shorter 34mm sides, create a rectangular cutout for a USB po... | hyla=6;
hala=7;
h=hyla + hala + 2;
w=28;
l=60;
wall=3;
sisa = [w,l,h];
ulko = [for (i = sisa) i+6];
usb = [9,4,wall];
module cube1(){
difference() {
translate ([0,0,-wall])cube(ulko);
translate([wall,wall,0]) cube(sisa);
}
}
module cube2(){
difference(){
cube1();
translate([8+wal... | glb/cad_bc896e10c640.glb |
Create a rectangular case for an APRS modem with external dimensions of 34mm in width, 15mm in height, and 66mm in length, using a wall thickness of 3mm. The main body is a solid block with a rectangular cutout of 28mm by 60mm by 15mm removed from the center to create the internal cavity. On one of the shorter 34mm sid... | hyla=6;
hala=7;
h=hyla + hala + 2;
w=28;
l=60;
wall=3;
lidheight=1.5;
sisa = [w,l,h];
ulko = [for (i = sisa) i+wall*2];
usb = [9,4,wall];
translate([wall,0,0.5]) {
rotate([0,90,0])
cylinder(r=0.5,h=w);}
difference () {
holed=8;
cube([w+wall*2,h,lidheight]);
translate ([(wall+2.5+holed/2-holed/2), (hyla+1-0.5-holed/... | glb/cad_c5fb1f89e106.glb |
Create a 3D grid structure based on a large cube with overall dimensions of 100mm x 100mm x 100mm. The structure is formed by a network of intersecting ribs with a uniform thickness of 1.5mm.
Construct this by creating a solid 100mm cube and removing a series of smaller internal cubes to create a void. Specifically, ... | largo=100;
ancho=100;
alto=100;
CuboT=8;
espesor=0;
espesorCostillas=1.5;
altoResta=100;
cubX=(largo-2*espesor-(espesorCostillas*(CuboT-1)))/CuboT;
cubY=(ancho-2*espesor-(espesorCostillas*(CuboT-1)))/CuboT;
cubZ=(alto-2*espesor-(espesorCostillas*(CuboT-1)))/CuboT;
largoTX=largo-2*espesor;
anchoTY=ancho-2*espesor;
a... | glb/cad_cfcf48424527.glb |
Create a 3D model of a structural profile connector. Start by creating a central equilateral triangular prism with a height of 20mm and a side length of 20mm.
Around this central prism, add three identical outer wing sections. Each wing is formed by a semi-cylindrical shell with a radius of 30mm and a thickness of 3m... | perfil=20;
extensiOn=2;
resoluciOn=100;
angulo=60;
module redondeador(perfil=20,extensiOn=3,resoluciOn=100,espesor=0){
difference(){
translate([0,perfil/2,0])
cube([perfil*extensiOn,perfil*extensiOn,perfil-2*(espesor)],center=true);
cylinder(r=perfil*(extensiOn/2),$fn=resoluciOn,h=perfil,center=true);
}
}
... | glb/cad_7f4b560ddb62.glb |
Create a corner bracket by starting with a central cube measuring 22.5mm on each side and 20mm in height, centered on the origin. From this cube, remove a smaller central cube measuring 22.5mm by 22.5mm with a height of 10mm, also centered on the origin. Next, remove a large cylinder with a radius of 16.25mm and a heig... | $fn=100;
module perfil1 (){
medida=2;
difference(){
square([20,20],center=true);
circle(r=2);
for(i=[1:4]){
rotate(i*90)
translate([0,-20/2])
polygon(points=[[0,-medida],[3,-medida],[3,medida],[5,medida],[5,3],[3,5],[-3,5],[-5,3],[-5,medida],[-3,medida],[-3,-medida]]);
rotate(i*90)
translate([... | glb/cad_ac8f1bf609db.glb |
Create a hollow rectangular box with an open top. The outer dimensions of the box should be 91.01mm in width, 101.18mm in depth, and 14.5mm in height. The walls and the base of the box must have a uniform thickness of 1.5mm. To achieve this, create a solid rectangular block of the outer dimensions and remove a smaller ... | espesor=1.5;
toleranciaAdentro=1;
lonX=87.01;
lonY=97.18;
lonZ=12;
altoPlaca=1.5;
difference(){
ExlonX=lonX+(toleranciaAdentro+espesor)*2;
ExlonY=lonY+(toleranciaAdentro+espesor)*2;
ExlonZ=lonZ+(toleranciaAdentro+espesor);
InlonX=lonX+(toleranciaAdentro)*2;
InlonY=lonY+(toleranciaAdentro)*2;
InlonZ=lonZ+(tolerancia... | glb/cad_63a710c66366.glb |
Create a geometric composition consisting of two identical clusters of shapes. Each cluster is centered around a central point. Within one cluster, create four rectangular prisms, each measuring 10mm by 5mm by 10mm. Position these prisms so they are centered on the origin and rotated around the Z-axis at 45, 135, 225, ... | b=10;
h=5;
a=10;
radio=5;
resta=1;
translate([0,50,0])
union(){
rotate(45)
translate([b,0,0])
cube([b,h,10],center=true);
rotate(135)
translate([b,0,0])
cube([b,h,10],center=true);
rotate(225)
translate([b,0,0])
cube([b,h,10],center=true);
rotate(315)
translate([b,0,0])
cube([b,h,10],center=true);
translate([0,b,... | glb/cad_58641747e76f.glb |
Create a rectangular plate with overall dimensions of 159.5mm in length, 87.5mm in width, and 9mm in thickness. The plate should have rounded corners with a radius of 7mm. Centered within the top surface of the plate, create a circular hole with a diameter of 8mm and a depth of 4.5mm. The interior of the plate should b... | X=145.5;
Y=73.5;
Z=9;
radioM=7;
resolucion=20;
difference(){
translate([0,0,-Z/2])
cube([X+(2*radioM),Y+(2*radioM),Z],center=true);
translate([-X/2+radioM,-Y/2+radioM,0])
minkowski(){
cube([145,73.5,9]);
sphere(r=4,$fn=20);
}
cube([X-(2*radioM),y-(2*radioM),Z-(radioM)]);
sphere(r=radioM,$fn=reso... | glb/cad_285288734473.glb |
Create a rectangular base plate measuring 87.01mm by 97.18mm with a thickness of 1.5mm. On this plate, add several rectangular blocks of varying sizes to serve as connector housings. Position a block measuring 20mm by 59.88mm by 19.5mm centered along the Y-axis but shifted 6.45mm in the negative Y direction. Add a seco... | module placa(taladro=10) {
lonX=87.01;
lonY=97.18;
altoPlaca=1.5;
difference(){
union(){
linear_extrude(height=altoPlaca)
square([lonX+taladro,lonY+taladro],center=true);
translate([0,-6.45,0])
translate([-((lonX/2)-(20/2)),0,(19.5/2)+altoPlaca])
cube([20+taladro,59.88,19.5],center=true);
ajusteC=2*(7+1);
transla... | glb/cad_ab0317e9d5dd.glb |
Create a geometric assembly centered around a ring of modules. First, construct a thin ring with an outer radius of 80mm and a thickness of 10mm, using a 12-sided polygonal profile. At 30-degree intervals along this ring, place 12 small spheres with a radius of 7.5mm.
Around the center of the ring, arrange a series of... | module caja1(lon=20,tol=0){
difference(){
cube([lon,lon,2*lon],center=true);
translate([lon*(3/4)+tol,lon*(3/4)+tol,0])
rotate([0,0,45])
cube([lon,lon,2*lon],center=true);
translate([-lon*(3/4)-tol,lon*(3/4)+tol,0])
rotate([0,0,45])
cube([lon,lon,2*lon],center=true);
}
}
... | glb/cad_ebe06745bfc7.glb |
Create a small aircraft model by combining a central fuselage with two wings. For the fuselage, start with a sphere of radius 3mm using a 20-facet resolution. Attach a cylinder of radius 3mm and length 6mm to the sphere, extending backwards along the x-axis, and cap the rear with another sphere of radius 3mm centered a... | module Cuerpo(radio=3,def=20,largoT=6){
sphere(r=radio,$fn=def);
rotate([90,0,90])
translate([0,0,-largoT])
cylinder(r=radio,$fn=def,h=largoT);
translate([-largoT,0,0])
sphere(r=radio,$fn=def);
}
module Ala( largoAla=12,
lateralAla=9,
anchoAla=3,
espesor=1)
{
... | glb/cad_36863cfe885a.glb |
Create a protective electronics enclosure called Verduino. The model consists of a main rectangular body with dimensions 87.01mm in width and 97.18mm in depth, and a total height of 22mm.
The enclosure features a hollowed-out interior to house a circuit board. On the bottom face, create a rectangular plate 1mm thick ... | module placa(taladro=10) {
lonX=87.01;
lonY=97.18;
altoPlaca=1;
difference(){
union(){
linear_extrude(height=altoPlaca)
square([lonX,lonY],center=true);
translate([0,-6.45,0])
translate([-((lonX/2)-(20/2)),0,(19.5/2)+altoPlaca])
cube([20+taladro,59.88,19.5],center=true);
translate([-17.9,0,0])
translate([0,(lonY/... | glb/cad_b66af98daebe.glb |
Create a geometric sculpture consisting of five identical cubes, each measuring 3mm on all sides. Center the first cube at the origin. Place the subsequent four cubes such that each one is positioned 4mm higher along the Z-axis than the previous one. As you move upward, rotate each new cube by an additional 45 degrees ... | for(i=[0:4]){
rotate(45*i)
translate([0,0,4*i])
cube([3,3,3]);
} | glb/cad_fc950af7175f.glb |
Create a torus by rotating a circle around a central axis. The circle should have a radius of 10mm and its center should be positioned 20mm away from the axis of rotation. Use a facet resolution of 30 segments for the rotation to give the resulting ring a faceted, polygonal appearance rather than a perfectly smooth sur... | rotate_extrude($fn=30)
translate([20,0,0])
circle(r=10,$fn=30); | glb/cad_93c2d0486d31.glb |
Create a rectangular protective case for a board with external dimensions of 91.01mm by 101.18mm and a total height of 7.5mm. The case features a base thickness of 2mm.
The interior is a hollowed-out rectangular cavity measuring 89.01mm by 99.18mm with a depth of 5.5mm. This cavity is further structured by a grid of r... | use<VERNUINOboard.scad>;
use<LetrasVerduino.scad>;
espesor=2;
toleranciaAdentro=1;
toleranciaComp=1.5;
lonX=87.01;
lonY=97.18;
lonZ=3.5;
altoPlaca=1.5;
ExlonX=lonX+(toleranciaAdentro+espesor)*2;
ExlonY=lonY+(toleranciaAdentro+espesor)*2;
ExlonZ=lonZ+(toleranciaComp+altoPlaca+espesor);
InlonX=lonX+(toleranciaAdentr... | glb/cad_8a8b017bf74a.glb |
Create a 3D model of a central triangular connector. Start by creating a right triangular prism with a height of 20mm. The base of this prism is an equilateral triangle with a side length of 20mm, centered on the Z-axis.
Inside this triangular volume, create three identical cylindrical holes to serve as screw mounts. ... | perfil=20;
extensiOn=2;
resoluciOn=100;
angulo=60;
use<elementosDiseNio.scad>
use<piezasCorte.scad>
module redondeador(perfil=20,extensiOn=3,resoluciOn=100,espesor=0){
difference(){
translate([0,perfil/2,0])
cube([perfil*extensiOn,perfil*extensiOn,perfil-2*(espesor)],center=true);
cylinder(r=perfil*(extensiOn... | glb/cad_8615356decbe.glb |
Create a rectangular block with a length of 194mm, a width of 111.5mm, and a height of 30mm. | largo=194;
ancho=110+1.5;
thick=20+10;
espesor=1;
toleranciaPantalla=5;
pantallaLago=155;
pantallAncho=86;
largoPanel=190;
anchoPanel=84;
cube([largo,ancho,thick],center=true); | glb/cad_cb2e1d07efe9.glb |
Create a geometric abstract sculpture centered around a central core. Start by placing a 10mm cube at the origin. Add a rectangular connecting bar measuring 5mm by 40mm by 5mm, centered on the Y-axis.
Construct two mirrored wing-like structures. Each wing begins with a linear extrusion of a polygon with vertices at [0... | baseRanger=20;
alturaRanger=6;
anchoRanger=10;
resolucion=12;
dif=2;
module detalle(){
translate([anchoRanger-dif,2*baseRanger,anchoRanger-dif])
rotate([0,45,0])
cube([10,2*baseRanger,10],center=true);
mirror([1,0,0]){
translate([anchoRanger-dif,2*baseRanger,anchoRanger-dif])
rotate([0,45,0])
cube([10,2*baseRange... | glb/cad_bb2c26f1de63.glb |
Create a ktBOX2s electronic enclosure. Start by constructing a rectangular outer shell with a total length of 143mm, a width of 43mm, and a height of 12mm. The walls of the enclosure are 1mm thick.
The shell is formed by four walls: two long side walls (143mm) and two short end walls (43mm). The end walls are position... | A = 1;
B = 0;
gap1 = 0.001;
gap2 = 0.002;
panel_thick = 1;
if( A )
{
{
difference()
{
union()
{
translate( [-1.5, -1.5, 11] )
cube( [143, 43, panel_thick] );
translate( [-1.5, -1.5, -1.5] )
cube( [143, panel_thick, 13.5] );
translate( [-1.5, 40.5, -1.5] )
cube... | glb/cad_5c64aeb111e6.glb |
Create a 3D model of a gaming cabinet shell with a total width of 39mm and a wall thickness of 2.54mm. Start by creating a rectangular base that is 39mm wide and 46.5mm deep. Attach a vertical back panel to the rear of the base, measuring 39mm wide and 61.21mm high.
From the top of the back panel, construct a top can... | scale([1/2.54, 1/2.54, 1/2.54]) {
scale([1, 1, 1]) {
t = 2.54/2;
w = 39;
backH = 61.21;
bottomD = 46.5;
marqueH = 12;
frontH = 43 + marqueH;
union() {
color("lightgray") translate([0, t, 0]) rotate([90,0,0]) cube([w,9.9,t]);
color("... | glb/cad_196a79292b32.glb |
The provided OpenSCAD code describes a complex geometric structure designed to mimic a moth's compound eye. The model consists of a series of hexagonal-based pyramids (ommatidia) arranged on a spherical surface.
### Model Breakdown
1. **Ommatidium Construction**:
* Each **ommatidium** is a hollow hexagonal pyr... | $fn = 20;
union() {
rotate(a = [0, -45.0, 0.0]) {
difference() {
hull() {
polyhedron(faces = [[0, 1, 2], [0, 2, 3], [0, 3, 4], [0, 4, 5], [0, 5, 6], [0, 6, 1], [1, 2, 3, 4, 5, 6]], points = [[0, 0, 0], [35, 3.06, 0.0], [35, 1.53, 2.65], [35, -1.53, 2.65], [35, -3.06, 0.0], [35, -1.53, -2.65], [35, 1.53, -2.6... | glb/cad_1218e02e4762.glb |
Create a laser-cut template model starting with a central rectangular block measuring 50mm wide, 45mm deep, and 25mm high, centered on the origin. Carve out a large rectangular section from the top to create a recessed basin. Within this structure, integrate a series of geometric subtractions and additions.
Position ... | difference(){
translate([0,17.5,-3.25])
union(){
difference(){
cube(size = [50,45,25],center=true);
translate([0,5,6])
cube(size = [40,45,25],center=true);
translate([0,30,10])
rotate([-45,0,0])
cube(size = [60,40,30],center=true);
rotate([90,0,0])
translate([-10,3,10])
cylinder(r = 3,h = 20,$fn=30);
rotate([... | glb/cad_2df29f7b5230.glb |
Create a laser-cut template model consisting of five stacked circular discs. Each disc must have a thickness of 2.6mm. The discs should be concentric and vary in size, starting with a base circle of 5mm radius and increasing by 5mm for each subsequent layer. Specifically, create five discs with radii of 5mm, 10mm, 15mm... | laserScale = 1;
$flatten = false;
$childNum = 1;
assembly($childNum,$flatten){
for($i=[0:4]){
assembly($childNum,$flatten){
laserCutLayer([$i*2.6,0,0], [0,90,0],2.6,$flatten){
circle(r=5+5*$i,center = true);
}
}
}
}
module pass(){
children();
}
pass()assembly($childNum,$flatte... | glb/cad_e1fb6082a9a6.glb |
Create a rectangular block measuring 40mm wide, 60mm deep, and 15mm thick, centered on the origin. From this main body, remove several cylindrical and rectangular volumes to create holes and slots. First, carve out four vertical holes, each with a radius of 1.5mm and a height of 30mm, positioned at coordinates (15, 25,... | difference(){
cube([40,60,15],center = true);
translate([15,25,0]){
cylinder(30,r=1.5,center = true,$fn=100);
}
translate([5,25,0]){
cylinder(30,r=1.5,center = true,$fn=100);
}
translate([-15,25,0]){
cylinder(30,r=1.5,center = true,$fn=100);
}
translate([-5,25,0]){
cylinder(30,r=1.5,center = true,$fn=100);
}
rotat... | glb/cad_415b221e3d35.glb |
Create a hollowed cylindrical object centered on the origin. Start by constructing a main body composed of three stacked cylinders: a central cylinder 8mm high with a 20mm radius, a second cylinder 2mm high with a 22mm radius positioned 1.2mm above the center, and a third cylinder 2mm high with a 22mm radius positioned... | difference(){
cylinder(2,r=10,center = true,$fn=100);
cylinder(6,r=3,center = true,$fn=100);
}
difference(){
union(){
cylinder(8,r=20,center = true,$fn=100);
translate([0,0,1.2]){
cylinder(2,r=22,center = true,$fn=100);
}
translate([0,0,-3]){
cylinder(2,r=22,center = true,$fn=100);
}
}
cylinder(10,r=7.1,ce... | glb/cad_e82a962d6802.glb |
Create a cube with dimensions of 100mm by 100mm by 100mm. Center the cube on the origin. Remove a cylindrical hole from the center of the cube that passes completely through the top and bottom faces. The cylinder must have a radius of 20mm and a total height of 120mm to ensure it fully penetrates the cube. | difference(){
cube([100,100,100],center = true);
cylinder(r=20,120,center = true);
} | glb/cad_422dd1bc0f5d.glb |
Create a laser-cut template for a locker assembly. Start by constructing a circular base with a radius of 85mm (50mm width plus 35mm offset). From this circle, remove a concentric ring defined by an inner radius of 21.5mm and an outer radius of 23.5mm. Additionally, remove a larger circular section with a radius of app... | use<lasercut.scad>
$thickness=2.6;
$offset=35;
$tol = 0.2;
$legLen = 80;
$height = 20;
$safeWid = 20;
$width = 50;
$axelr = 1.5;
module locker(){
union(){
difference(){
circle(r=$width+$offset,$fn=100);
difference(){
circle(r=sqrt(($offset/2+1.5)*($offset/2+1.5)*2),$f... | glb/cad_c8241209a99e.glb |
Create a laser-cut template model consisting of a central square plate with four radiating arms. Start with a central square plate measuring 22.86mm by 38.1mm with a thickness of 2mm.
At each corner of this central plate, place a vertical cylindrical pillar with a height of 31.75mm and an outer radius of 3.25mm. Each... | translate([81.3,80.8,0]){
rotate([0,0,120.5]){
translate([-2,-1.2,-15.875]){
difference(){
cube(size=[4,27,31.75],center=false);
rotate([-19,0,0]){
translate([-0.5,-20,28]){
cube(size=[5,50,31.75],center=false);
}
}
rotate([27,0,0]){
translate([-0.5,-10,-29.5]){
cube(size=[5,50,31.75],center=false);
... | glb/cad_a10723c200b6.glb |
Create a Prusa-i3-Niekrieg LCD cable clip. Start by forming a base composed of a cylinder with a radius of 7mm and a height of 7mm, using a 30-facet resolution. Merge this with two rectangular blocks: one measuring 9.5mm by 18mm by 3mm positioned at [2, -8, 0], and a smaller one measuring 5.5mm by 5mm by 3mm positioned... | difference(){
union(){
cylinder(r=7,h = 7, $fn=30);
translate([2,-8,0]) cube([9.5,18,3]);
translate([2,-9,0]) cube([5.5,5,3]);
}
translate([0,0,-1]) cylinder(r=5,h = 10, $fn=30);
translate([-4.5,0,-5]) cube([9,15,15]);
translate([8,-12,-1]) cube([2,19,5]);
translate([9,7,-1]) cylinder(r=1,h = 5, $fn... | glb/cad_7d96b4af4dc0.glb |
Create a PSU-Y reinforcement part by combining a horizontal plate and a vertical corner block. Start with a horizontal plate measuring 25mm by 38mm with a height of 15mm, positioned at [5, -23, 0]. Attach a vertical corner block measuring 28mm by 17mm with a height of 28mm, positioned at [-23, -2, 0].
From this base,... | module base()
{
union(){
difference(){
union(){
translate([ 5, -23, 0 ]) cube([ 25, 38, 15 ]);
translate([ -23, -2, 0 ]) cube([ 28, 17, 28 ]);
}
translate( [ 4 , -25 , -1 ] ) cube( [ 9 , 23 , 18 ] );
}
difference(){
translate([ 8, -7, 0 ]) cube([ 5, 5, 15 ]);
... | glb/cad_6197a2ac3d46.glb |
Create an SD card cover for a Prusa-i3 by constructing a primary rectangular block and removing two cylindrical sections. Start with a rectangular prism measuring 2mm in width, 55mm in length, and 10mm in height, positioned with its center at x=-3, y=3, and z=10. From this block, remove two cylinders to create semi-cir... | include<lcd-support-A.scad>;
rotate([0,0,45]) difference(){
translate( [ -3 , 3 , 10 ] ) cube( [ 2 , 55 , 10 ] );
translate( [ -4 , 3 , 20 ] ) rotate([0,90,0]) cylinder( h = 4, r = 7, $fn=30);
translate( [ -4 , 58 , 20 ] ) rotate([0,90,0]) cylinder( h = 4, r = 7, $fn=30);
} | glb/cad_8deee020bce5.glb |
Create a Prusa-i3-Niekrieg X carriage. Start with a base plate measuring 33mm by 68.5mm with a thickness of 7mm. On this base, integrate two horizontal bearing holders: a small one and a long one positioned 45mm apart. Add a rectangular block for the upper motor screw measuring 28.5mm by 16.2mm with a height of 12mm.
... | use <bearing.scad>
use <extruder-body.scad>
module x_carriage_base(){
translate([-33/2,0,0]) rotate([0,0,90]) horizontal_bearing_base(1);
translate([-33/2,45,0]) rotate([0,0,90]) horizontal_bearing_base(2);
translate([-33,-12,0]) cube([33,68.5,7]);
translate([-19,56.8,0]) rotate([0,0,0]) cube([28.5,16.2,12]);
... | glb/cad_e5426afb5984.glb |
Create a Prusa-i3-Niekrieg X-axis end prototype. Start with a main rectangular block measuring 17mm wide, 39mm deep, and 58mm high, centered on the X and Y axes.
At the bottom and top of the block, centered along the depth, create two push-fit rod holes with a diameter of 7.8mm and a length of 50mm, positioned 45mm a... | use <bearing.scad>
use <polyholes.scad>
rod_distance = 45;
module x_end_base(){
height = 58;
translate(v=[-15,-9,height/2]) cube(size = [17,39,height], center = true);
vertical_bearing_base();
translate(v=[0,-17,0]) poly_cylinder(h = 8, r=12.5, $fn=25);
translate(v=[-6,-10.6,10]) rotate([0,0,48.2]) cube(size =... | glb/cad_0a931614b4da.glb |
Create a Prusa-i3-Niekrieg Y belt holder. Start with a main body composed of three rectangular blocks: one measuring 30x27x15mm positioned at [-1, -1, -1], one measuring 50.5x10x15mm at [-10, 16, -1], and one measuring 52x3x15mm at [-10, 23, -1].
Add two belt holder cylinders, each with a 30-facet resolution. The firs... | module main_body()
{
translate([-1, -1, -1 ]) cube([ 30, 27, 15 ]);
translate([-10, 16, -1 ]) cube([ 50.5, 10, 15 ]);
translate([-10, 23, -1 ]) cube([ 52, 3, 15 ]);
}
module belt_holders()
{
translate([ 16, 18, 0 ]) cylinder( h=11, r=3.5, $fn=30 );
translate([ 16, 18, 11 ]) cylinder( h=3, r1=3.5, r2=2.5, $fn=3... | glb/cad_373998cc8fdb.glb |
Create a Prusa-i3-Niekrieg Y-frame corner. Start with a rectangular base block measuring 18mm wide, 22mm deep, and 49mm high.
Remove material to create three main through-holes: two vertical holes with a radius of 4.4mm positioned at the front and back, and one horizontal hole with a radius of 5.4mm passing through t... | module corner_base(){
translate([-9,-11,0])cube([18,22,49]);
}
module corner_holes(){
translate([-11,-11,0]){
translate([0,11,10]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h = 270, r=4.4, $fn=30);
translate([0,11,30]) rotate([0,90,0]) translate([0,0,-5]) cylinder(h = 270, r=4.4, $fn=30);
translate([11,... | glb/cad_7f5c16873cd8.glb |
Create a Y motor mount for a Prusa i3 printer. Start with a base that includes a central motor holding section and a rod plate joiner. The main body is formed by a central block measuring 9mm by 31mm by 10mm, centered at [29, 29, 0], combined with two cylinders of radius 5.5mm and height 10mm positioned at [-15.5, -15.... | module y_motor_base(){
translate(v = [29,-21+50,0]){
translate(v = [-21+4.5,0,5]) cube(size = [9,31,10], center=true);
translate(v = [-15.5,-15.5,0]) cylinder(h = 10, r=5.5, $fn=50);
translate(v = [-15.5,+15.5,0]) cylinder(h = 10, r=5.5, $fn=50);
translate([-21,7,0]) rotate([0,0,45]) cube([2, 2, 10... | glb/cad_5b86c24265d8.glb |
Create a PSU cover for a Prusa i3 printer. Start with a main base block measuring 95mm x 65mm x 56mm. Add two vertical support pillars: one at the back left and one at the back right (positioned at x=60), each measuring 14mm x 65mm x 5mm. Include a bracket base on the right side measuring 6mm x 65mm x 56mm.
Carve out ... | module PSU_COVER()
{
difference(){
union(){
translate([0,0,-1])cube([95,50+15,56]);
translate([0,0,-3.5])cube([14-0.5,50+15,5]);
translate([60-0.5,0,-3.5])cube([14,50+15,5]);
translate([91+4,0,-1])cube([6,50+15,56]);
translate([-2,45.4-4.6,19])cube([2,3,15]);
translate([0,35,46.5])scale([1.2,1,0.2])rotate([-28,-5... | glb/cad_a936dc412fe5.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.