Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a circular asset for laser cutting with a total diameter of 70mm and a thickness of 10mm. Start with a solid cylinder of these dimensions, centered on the origin. Subtract a smaller concentric cylinder from the center with a diameter of 10mm. Around this central hub, arrange a ring of circular holes. Calculate t...
$fn=100; module main() { difference() { cylinder(h =10, r1 = 80/2, r2 = 80/2, center = true); cylinder(h =10, r1 = 1, r2 = 1, center = true); rotate_extrude($fn=100)translate([(80/2)+(4/2),0,0])circle(r=6); } } circlefitSpokes( 70, 10, 20, 14); module circlefitSpokes( diameter, ...
glb/cad_b5e484cff558.glb
Create a cylindrical disc with a diameter of 25mm and a height of 6mm, centered on the origin. Bore a vertical hole with a diameter of 2mm through the center of the disc. Around the outer perimeter of the disc, carve a circular groove with a radius of 2mm. This groove should be centered vertically and positioned such t...
$fn=100; difference() { cylinder(h = 6, r1 = 25/2, r2 = 25/2, center = true); cylinder(h =10, r1 = 1, r2 = 1, center = true); rotate_extrude($fn=100)translate([(25/2)+(0.8/2),0,0])circle(r=2); }
glb/cad_8135e078892e.glb
Create a 3D design repository case with a base and an open top. The base is a rectangular box with overall dimensions of 77mm in width, 80mm in depth, and 28mm in height. The walls of the case have a thickness of 1.6mm. The interior of the base is hollowed out, leaving a floor and four vertical walls. The front wall f...
$fn=100; nozzle=0.4; wall=nozzle*4; clearance=0; h=28; ht=3; hf=29.5; sm=20; x=77; y=80; s=2; powersupply_y=19; power_socket_d=11.5; onoff_d=21; reduce_rearpanel_w=0.5; bottom_on=1; top_on=0; back_on=0; psu_mounts_on=0; module border_support(h) { cube([wall*2,wall*2,h]); } module frontpanel() { x=x-clearanc...
glb/cad_0cba2cfc59cf.glb
Create a 3D model of a 2020Profile T-slot extrusion with a height of 40mm. Start with a square base of 30mm by 30mm, using a corner radius of 1mm. From this base, remove a central circular hole with a diameter of 4.3mm. On each of the four sides, create a T-slot cutout. Each T-slot consists of a wide outer rectangula...
ProfileCore = 4.3; minkR_TS = 0.04 * 20; minkR_IC = 0.075 * 20; minkR_PF = 0.05 * 20; 2020Profile(40); module fillet(rad) { translate([-rad, -rad, 0]) difference() { translate([0, 0, 0]) square([rad + 0.01, rad + 0.01]); circle(r = rad, center = true, $fn = 32); } } module insideCutout() { minkowski(...
glb/cad_3fdb19996beb.glb
Create a two-part mold consisting of two mirrored halves, each based on a block with a width of 41mm, height of 55mm, and depth of 20mm, featuring rounded corners with an 8mm radius. For each half, carve out a central cavity by importing a 3D model, scaling it by 2, translating it to [0, 8, 9], and rotating it [180, ...
model_filename = "filename.stl"; model_rotate = [180,66,0]; model_translate = [0,8,9]; model_scale = 2; rounded_corners = true; edge_radius = 8; mold_width = 41; mold_height = 55; mold_depth = 20; mold_spacing = 10; insert_size = 3; insert_diff = 0.4; insert_margin = 7; pour_hole_r1 = 8; pour_hole_r2 = 5; pour_hole_...
glb/cad_ef84d02a5a42.glb
Create a snap-fit case for an Adafruit Trellis M4. The main body is a rectangular enclosure with rounded corners (10mm diameter). The outer dimensions are 120mm by 60mm. Construct the base as a shallow tray with a wall height of approximately 6.8mm. The interior should feature a recessed board area of 120.8mm by 60.8...
$fn=36; $corner_diameter=10; $num_x = 8; $num_y = 4; $notch_width = 40; $notch_top_padding = 2.5; $edge_gap = 2; $deep_notch_depth = 28; $reset_x = 120-16; $reset_y = 60-23; $reset_hole_size = 4; $edge_padding = 0.2; module notch(depth, width, height) { notch_depth=$corner_diameter/2; points = [ [$no...
glb/cad_9fc7d65e6d47.glb
Create a snap-fit case for an Adafruit Trellis M4. The model consists of two mirrored halves, each 6mm thick. First, create the top cover. Start with a rectangular slab 120mm by 60mm with 10mm rounded corners. On the underside, create a grid of 32 square button cutouts, each 9.4mm wide, arranged in 8 columns and 4 row...
$fn=36; $corner_diameter=10; $num_x = 8; $num_y = 4; $notch_width = 40; $notch_top_padding = 2.5; $edge_gap = 1.4; $edge_width = 0.5; module button_hole(height) { minkowski() { cube([9.4,9.4,height], center=true); cylinder(h=height, d1=1, d2=1); } } module buttons(num_x, num_y, height) { ...
glb/cad_19b935bd9ee2.glb
Create a SpinnerBot battery clip by starting with a solid rectangular block measuring 11.43mm in length, 50.8mm in width, and 17.78mm in height. From this main body, remove a smaller rectangular section to create a hollowed-out channel. This cutout should start 3.175mm above the base and measure 10.16mm in length, 52.3...
$fn=100; InterDeckSpace = 0.7; BatteryWidth = 1.5; Width = BatteryWidth + 0.5; Thickness = 0.125; ClipLength = 0.35; BumpSize = 0.0625; module Box() { union() { cube([ClipLength + BumpSize + Thickness, Width, InterDeckSpace]); } } module Cutout() { union() { translate([-0.01, -0.01, Thickness]) cube([...
glb/cad_91cf3c048106.glb
Create a SpinnerBot bar by starting with a rectangular block measuring 57.15 mm in length, 12.7 mm in width, and 5.715 mm in thickness. Center this block on the origin. Remove a central vertical shaft hole with a diameter of 6.35 mm that passes completely through the thickness of the block. Around this central hole, cr...
$fn=100; Span = 2.25; Width = 0.5; Thickness = 0.225; WeightHole = 0.15; Shaft = 0.078; SpringDia = 0.25; module bar() { cube([Span, Width, Thickness], true); } module shaftHole() { difference() { cylinder(d = SpringDia, h = Thickness * 4, center=true); difference() { union() { translate([...
glb/cad_40d350df7646.glb
Create a holder for a lamp stick by starting with a solid rectangular block measuring 50mm in length, 12mm in height, and 15mm in depth, centered on all axes. From this main body, remove a central rectangular section to create a cutout. This cutout should be 60mm long, 12mm high, and 15mm deep, centered on the X and Z ...
$fn=100; ClipLength = 50; Height = 12; Depth = 15; SlotWidth = 30; Thickness = 2.5; AccHoleSpace = 10; HoleDia = 2.5; LampHoleSpace = (1.65 * 25.4); module Box() { union() { cube([ClipLength, Height, Depth], center=true); } } module LampHoles() { union() { translate([0.5 * LampHoleSpace, 2.5, 0]) ...
glb/cad_c6301fb75d07.glb
Create a SpinnerBot chassis by starting with a solid rectangular slab measuring 63.5mm in width, 80mm in length, and 4.25mm in height. Carve a central rectangular cavity out of the top face to create a battery box that is 58.5mm wide, 80.2mm long, and 17.78mm deep, leaving a wall thickness of 2.5mm on the sides. Re...
$fn=100; HoleSpace = 35; CornerHoleOffset = 15; CornerHoleDrop = 2.5; AccHoleSpace = 10; PlateWidth = 2.5 * 25.4; PlateLength = 80; InterDeckSpace = 0.7 * 25.4; PlateThickness = 2.5; HoleDia = 2.5; EconoboxY = 8; EconoboxX = PlateWidth - EconoboxY; TotalHeight = InterDeckSpace + 2 * PlateThickness; module Slab() { ...
glb/cad_fa3459177ad2.glb
Create a SpinnerBot scoop accessory. Start by constructing the main body as a flat plate with a thickness of 3mm and a total length of 80mm. The profile of this body is a non-symmetrical polygon defined by the following vertices: (0, 31.5), (0, 34.5), (15.1, 34.5), (46.6, 0), (8, 0), and (8, 31.5), returning to the sta...
$fn=100; Rise = 31.5; MountWidth = 8; Thickness = 3; ContactWidth = 0.7 * Thickness; ScoopLength = 80; epsilon = 0.1; AccHoleSpace = 10; HoleDia = 2.5; module AccessoryHoles() { union() { for(idx = [-2:2]) { translate([idx * AccHoleSpace, 0, 0]) cylinder(d = HoleDia, h = Thickness * 2); } } } mo...
glb/cad_eda1f1162403.glb
Create a SpinnerBot scoop accessory. Start by constructing the main body as a flat plate with a thickness of 3mm and a total length of 80mm. The profile of this body is a non-symmetrical polygon: it begins at the origin with a width of 37.85mm (the sum of a 31.5mm rise and 6.35mm offset), extends to a width of 14.35mm ...
$fn=100; Rise = (31.5 + 0.25 * 25.4); MountWidth = 8; Thickness = 3; ContactWidth = 0.7 * Thickness; ScoopLength = 80; epsilon = 0.1; AccHoleSpace = 10; HoleDia = 2.5; module AccessoryHoles() { union() { for(idx = [-2:2]) { translate([idx * AccHoleSpace, 0, 0]) cylinder(d = HoleDia, h = Thickness * 2);...
glb/cad_49358b1a4d4b.glb
Create a SpinnerBot mount by starting with a central rectangular block that is 20.32mm wide, 6.35mm high, and 50.8mm long. To this main body, add a smaller rectangular protrusion on one end measuring 16.51mm wide, 15.24mm high, and 12.7mm deep. Within this protrusion, carve out a central cavity to house a motor. This c...
use <Scoop_3r1_wheels.scad> $fn=100; Dia = 0.8; Width = 0.6; Len = 0.7; Hole = 0.25; WallThickness = 0.05; module motor() { intersection() { cylinder(d = Dia, h = Len + 2 * WallThickness, center=true); cube([Dia * 2, Width, Len + 2 * WallThickness], center=true); } } module mountCase() { cube([Dia + 2...
glb/cad_aae331e7a22c.glb
Create two identical motor mounts for a SpinnerBot, mirrored and positioned apart. Each mount begins with a central rectangular base measuring 48mm wide, 45mm high, and 20mm deep. From this base, carve out a motor case cavity. This cavity is formed by three intersecting rectangular prisms: one measuring 13.8mm by 23....
$fn=100; HoleSpace = 17.8; HoleDia = 2.5; MCaseWidth = 23.2; HoleCornerOffset = (MCaseWidth - HoleSpace) * 0.5; MCaseDepth = 13.8; MountWidth = 48; MountHeight = 45; MountDepth = 20; MCaseLength = 48; SlotWidth = MountWidth - 2.0 * MCaseDepth - 4.0; MotorBoxWidth = MCaseWidth + 2.5; MotorBoxHeight = MountHeight; Moto...
glb/cad_566349b19b36.glb
Create a MorseMachine, a protective electronics enclosure consisting of a bottom base and a top cover. Construct the bottom base as a rectangular box with a wall thickness of 1.2mm and rounded corners. The interior should feature a main compartment for a PCB (80x58mm) and an additional section for a battery (17x53x26m...
part = "all"; with_battery = 0; extra_room = 40; have_usb_plug = 1; have_power_plug = 1; have_power_switch = 0; have_up_key = 1; have_down_key = 1; have_left_key = 1; have_right_key = 1; have_select_key = 1; have_reset_key = 1; have_plugrow_upper = 0; have_plugrow_lower = 0; mil2mm = 0.0254; DATUMX = 1120; DATUMY = 1...
glb/cad_fa41151be418.glb
Create a hollow cylindrical ring with a height of 10mm, an outer diameter of 45mm, and an inner diameter of 40mm. From this ring, remove a 10mm by 10mm by 10mm cube positioned such that its inner edge starts 5mm from the center along the x-axis and 15mm from the center along the y-axis, creating a rectangular notch tha...
$fn = 50; $inner_diameter = 40; $outer_diameter = 45; $h = 10; difference(){ cylinder($h, d=$outer_diameter, true); cylinder($h, d=$inner_diameter, true); translate([-5,15,0]){ cube([10,10,10]); } }
glb/cad_4632b163b3d5.glb
Create a triangular vase by starting with a solid base and extending a hollow body upwards. First, create a solid base 2mm thick by extruding a three-sided polygon with a radius of 50mm and rounded corners (5mm radius). For the main body, extrude a hollow shell from the top of the base to a total height of 150mm. This ...
radius = 50; sides = 3; thickness = 1.5; bodyHeight = 150; bodyTwist = 45; bodyFlare = 1; translate([0,0,2]){ linear_extrude(height=bodyHeight, twist=bodyTwist, scale=bodyFlare, slices=10) polyShape(solid="no"); } linear_extrude(height=2) polyShape(solid="yes"); module polyShape(solid){ difference(){ ...
glb/cad_69c57b9a4c2e.glb
Create a symmetrical plate with a total footprint of 44mm by 90mm and a uniform thickness of 11mm. Start by constructing a rectangular block 44mm wide, 45mm deep, and 11mm thick. From this block, remove a cylindrical hole with a radius of 15.5mm centered at x=21mm and y=10mm. Additionally, remove two semi-cylindrical n...
use <fillets3d.scad>; $fn = 50; module halfblock(){ difference() { cube([44, 45, 11], center=false); translate([21, 10, 0]){ cylinder(r1=15.5, r2=15.5, h=11, center=false); } translate([-10, 45, 0]){ cylinder(r1=20, r2=20, h=11, center=false); } ...
glb/cad_202ddfa149a0.glb
Create a Bottle Label Applicator part by constructing a 20mm by 20mm square profile extruded to a height of 100mm. The profile is a T-slot aluminum extrusion style. At the center of the profile, remove a 24-sided polygonal hole with a diameter of 4.3mm. On each of the four flat faces of the square, create a T-slot ch...
ProfileCore = 4.3; minkR_TS = 0.04 * 20; minkR_IC = 0.075 * 20; minkR_PF = 0.05 * 20; 2020Profile(100); module fillet(rad) { translate([-rad, -rad, 0]) difference() { translate([0, 0, 0]) square([rad + 0.01, rad + 0.01]); circle(r = rad, center = true, $fn = 32); } } module insideCutout() { minkowski...
glb/cad_039f5e691f27.glb
Create a Dungeons & Dragons: The Legend of Drizzt Board Game Organizer. The model is a single complex extruded shape with a height of 50mm. Construct the base by creating a 2D profile that combines a large rectangular outer boundary measuring approximately 140mm by 131mm (from -70mm to 70mm on the X-axis and -65.45mm...
fudge = 0.1; user_unit_scale_x = 1.0; user_unit_scale_y = 1.0; custom_scale_x = 1; custom_scale_y = 1; zsize = 50; line_fn = 8; min_line_width = 1.0; line_width_scale = 1.0; function min_line_mm(w) = max(min_line_width, w * line_width_scale) * 1; uppertrayoutline_0mm_0_center = [0.000000,0.000000]; uppertrayoutline_0m...
glb/cad_f3dca343ded7.glb
The provided OpenSCAD code defines a complex 3D geometry consisting of numerous extruded 2D shapes (circles and paths). These shapes are organized into a module called `mini_outlines_small`, which aggregates a large collection of individual `poly_circle` and `poly_path` components. ### Key Technical Components: 1. *...
fudge = 0.1; user_unit_scale_x = 1.0; user_unit_scale_y = 1.0; custom_scale_x = 1; custom_scale_y = 1; zsize = 50; line_fn = 8; min_line_width = 1.0; line_width_scale = 1.0; function min_line_mm(w) = max(min_line_width, w * line_width_scale) * 1; circle6893_0_center = [49.500005,27.500062]; circle6893_0_points = [[37....
glb/cad_5867bda02555.glb
Create a kickstand for a digital multimeter. Start by constructing a main rectangular plate that is 43mm wide, 99.5mm long, and 5mm thick. At the center of this plate, remove two rectangular voids, each 19.5mm wide and 24.5mm long, spaced such that the first void begins 13.7mm from one end and the second begins 57.3mm ...
part(); $fn=80; catch_length = 54.0; catch_radius = 2.0; barrel_length = 43.0; barrel_radius = 2.5; stand_legth = 99.5; stand_width = 43.0; stand_rounding = 2.0; stand_rounding = 2.0; stand_thickness = 5.0; stand_end_thickness = 6.3; stand_end_lenth_1 = ...
glb/cad_f9dcaaf0f80f.glb
Create a bioblow device housing. Start with a base block that is a rounded square with a width and length of 60mm, a height of 16.5mm, and corner radii of 4mm. Hollow out the center of the block by removing a cylinder with a radius of 28mm and a height of 15mm, starting from a floor thickness of 1.5mm. Cut a tube-sha...
fan_width = 60;bore_hole_offset = 5; bore_hole_diameter = 4; nut_width = 7; bore_depth = 3; air_foil_depth = 15; wall_thickness = 2; floor_thickness = 1.5; outlet_height = 7; tube_diameter = 4; nub_height=1.8; box_height = air_foil_depth+floor_thickness; union() { difference() { translate([fan_width/2, fan_width/2 ...
glb/cad_aa87e08e5099.glb
Create a Mini-ITX and ATX Power Supply Test Bench. Start by constructing the base using three rectangular plates: an ATX bottom plate measuring 87mm by 170mm with a thickness of 7mm, a vertical plate holder measuring 7mm by 170mm with a thickness of 6mm positioned adjacent to the first, and a Mini-ITX bottom plate meas...
include <screw_holes.scad> difference() { union() { linear_extrude(7) square([87,170]); translate([-7, 0, 0]) linear_extrude(6) square([7,170]); translate([-51, 0, 0]) linear_extrude(7) square([44,170]); translate([74, -4, 0]) linear_extrude(19+0.5) square([12,4]); ...
glb/cad_fc068099fb2c.glb
Create a Mini-ITX and ATX Power Supply Test Bench. Start with a main vertical plate that is 172mm tall, 170mm wide, and 7mm thick. Attach two holder blocks to the face of this plate to secure a power supply: one at the bottom measuring 19mm wide by 4mm thick by 42mm deep, and one at the top measuring 29mm wide by 4mm t...
include <screw_holes.scad> translate([0, 0, 7]) rotate([0,-90,0]) difference() { union() { color("aqua", 1) translate([-7, 0, 6]) linear_extrude(172) square([7,170]); color("aqua", 1.0) translate([-7, -4, 0]) linear_extrude(35+7+1) square([19,4]); color("aqua", 1.0) trans...
glb/cad_f01cff99c670.glb
Create a spectrophotometer axis consisting of two stacked cylinders. Start by creating a wide, short base cylinder with a radius of 2.5mm and a height of 1mm. Directly on top of this base, center and add a second, taller cylinder with a radius of 1mm and a height of 36.2mm, such that the total height of the combined st...
module axis(alpha=1) { $fn=100; color("red", alpha) { cylinder(r=2.5, h=1); cylinder(r=1, h=4*5+3*5.2+1); } } axis();
glb/cad_6dca9b94752e.glb
Create a spectrophotometer enclosure box with overall outer dimensions of 100mm width, 115mm length, and 50mm height. The walls and base should have a uniform thickness of 1mm. The main body is a hollow rectangular prism. To form the interior cavity, remove a central block of 98mm by 113mm by 50mm from the center of ...
module box_raw(width, length, thin) { $fn=100; height=50; difference() { hull() { for(x=[thin/2, width - thin/2]) for(y=[thin/2, length - thin/2]) translate([x, y, thin/2]) { sphere(r=thin/2); translate([0, 0, 50]) cylinder(r=thin/2, h=thin/2); } } union() { translate([t...
glb/cad_b3dc51f16fb0.glb
Create a rectangular cover for a spectrophotometer with overall dimensions of 100mm in width and 115mm in length, and a uniform thickness of 1mm. The main body is a flat plate with rounded corners, where the rounding is defined by a radius of 0.5mm. Subtract a rectangular cutout from the center of the plate, leaving ...
use <lib/hinge.scad> module cover_raw(width, length, thin) { hull() { for(x=[thin/2, width - thin/2]) for(y=[thin/2, length - thin/2]) { translate([x, y, thin/2]) sphere(r=thin/2); translate([x, y, 0]) cylinder(r=thin/2, h=thin/2); } } translate([thin, thin, -thin]) difference() { cu...
glb/cad_154e5981503a.glb
Create a spectrophotometer camera mount. Start by creating a thin vertical rectangular plate measuring 1.5mm thick, 25mm wide, and 23.862mm high. Centered on this plate, add a small cube measuring 8mm wide, 8.5mm deep, and 8.5mm high. To complete the assembly, add four cylindrical pins with a radius of 1mm and a length...
module cam() { $fn=100; cam_fix=2; ci_h=1.5; color("red") { translate([0, -25/2, 9.462 - 23.862]) { cube([ci_h, 25, 23.862]); for(y=[2, 25-2]) for(_z=[2, 14.5]) translate([1.5/2, y, _z]) rotate([0, 90, 0]) cylinder(r=cam_fix/2, h=20, center=true); } rotate([0, 90, 0]) cylinder(r=4, ...
glb/cad_5b9bad4a09a1.glb
Create a hinge assembly consisting of a series of repeating cylindrical elements. Each element is a cylinder with a radius of 5mm and a length of 10mm, centered around a longitudinal hole with a radius of 2mm. For each element, attach a rectangular block to the side. This block should extend 1mm from the cylinder's s...
use <support_box.scad> function hinge_height( r_outer, max_height ) = max_height > 0 && max_height < r_outer*sqrt(2) ? max_height : r_outer*sqrt(2) ; function hinge_length( len, gap, n_hinges ) = n_hinges*len+(n_hinges-1)*gap ; module hinge_element( len, r_outer=5, r_inner=2, offset=1, v_offset=1, max_height=...
glb/cad_5eaa84877c99.glb
Create a 3D model of a Raspberry Pi 3 board. Start with a main PCB base that is 85mm by 56mm with a thickness of 1.4mm. The four corners of the PCB should be rounded with a radius of 3mm. Position four cylindrical mounting holes with a diameter of 2.75mm and a height of 3mm; two holes are located at the left edge (x = ...
$fn=100; part = "pi3"; header = true; headerDown = false; module header(pins, rows) { color("darkgrey") cube([2.54*pins,2.54*rows,1.27]); for(x=[0:pins-1],y=[0:rows-1]) translate([x*2.54+(1.27+.6)/2,y*2.54+(1.27+.6)/2,-3.5]) cube([0.6,0.6,11.5]); } module pi3() { color("limegreen") difference() { ...
glb/cad_7de9e599c4f4.glb
Create a spectrophotometer housing consisting of several distinct geometric components. First, create a series of hollow semi-cylindrical shells. Each shell has an outer radius of 5mm and an inner radius of 4mm, with a length of 10mm to 11mm. These shells are positioned as a sequence of open troughs. Second, constru...
module draw_support_box( dim, trans_vec, cube_vec, plate_w, plate_gap ) { n_iter = ceil( (dim-plate_w)/(plate_w+plate_gap) ) ; plate_diff = (dim-plate_w)/n_iter - plate_w ; for (i = [0:n_iter] ) { translate(i * ( plate_w + plate_diff )*trans_vec) cube( cube_vec ) ; } ...
glb/cad_925a4c8f680d.glb
Create a spectrophotometer housing with a total width of 110mm and a wall thickness of 1mm. Start with a main body that includes a vertical support for an LED, consisting of a 1mm thick wall and a cylindrical cutout with a radius of 2.6mm and a height of 4mm. At the center, create a narrow slit by removing a 1mm thic...
use <lib/camera.scad> module measure_raw(width, thin, dled, grind_t) { translate([5, -20/2, -50/2]) cube([thin, 20, 50/2]); translate([5, 0, 0]) rotate([0, 90, 0]) { cylinder(r=20/2, h=thin); cylinder(r=dled/2+thin, h=4); } translate([45, 0, 0]) cube([thin, 50, 50], center=true); translate([45 + (...
glb/cad_17f067d4d740.glb
Create a spectrophotometer window consisting of a flat rectangular base with a small raised rectangular protrusion. The main base is a square plate measuring 45mm by 45mm with a thickness of 1mm. Centered on this plate, create a raised rectangular block that is 3mm wide and 1mm thick, with rounded ends. The ends of thi...
use <lib/hinge.scad> module window(thin, alpha=1) { $fn=100; pr=2.5; color("green", alpha) translate([0, 0, -2.5-3*thin/2]) { translate([(5*3 + 2*5.2)/2, 0, 2.5+3*thin/2]) rotate([90, 0, 180]) hinge(5, 5.2, 3, r_outer=2.5, r_inner=1.05, max_height=2.5); hull() { translate([thin/2-(45-3*thin)/2, -45...
glb/cad_f33012b30a41.glb
Create a 3D model of a "PrintedPlasticPython" bicycle frame. Start by placing two wheels with a wheelbase of 930mm. Each wheel has a rim diameter of 406mm and a tire width of 55mm. The rear wheel features a hub width of 100mm, and the front wheel has a hub width of 130mm. Construct a complex frame using beams with a...
include <rear_wheel.scad>; include <front_wheel.scad>; include <rider.scad>; include <seat.scad>; include <steering_BB.scad>; include <beam.scad>; include <vector_operations.scad>; include <cranks.scad>; include <heim_joint.scad>; include <heim_joint_thru_axle.scad>; include <ortlieb_pannier.scad>; wheelbase = 930; p...
glb/cad_b9a760988da6.glb
Create a rectangular plate measuring 180mm in width, 150mm in depth, and 3mm in height. Centered on the top face of this plate, cut through a complex logo and text design to a depth of 2.5mm, leaving a 0.5mm bottom floor. The cutout design consists of three main sections: 1. Top Text: The word "NEWOBIES" in a stylized...
fudge = 0.1; module poly_path4169(h) { scale([0.1, 0.1, 1]) union() { difference() { linear_extrude(height=h) polygon([[22.519605,563.283911],[16.781504,562.045656],[11.243344,560.470625],[5.916437,558.568864],[0.812092,556.350419],[-4.058377,553.825334],[-8.683661,551.003655],[-13.052447,...
glb/cad_37a60e3c7acb.glb
Create a CTCSS Tone Generator front panel. Start with a rectangular plate measuring 100mm in length, 140mm in width, and 2mm in thickness. The plate should have rounded corners with a radius of 2mm. On the face of this panel, create two cutouts: 1. A large rectangular hole centered horizontally, measuring 71.5mm in le...
Length = 100; Width = 140; Height = 60; Thick = 2; Filet = 2; Resolution = 50; m = 0.9; PCBFeet = 0; Vent = 1; Vent_width = 1.5; PCBPosX = -1; PCBPosY = 10; PCBLength = 55; PCBWidth = 75; ...
glb/cad_9a4087c0a396.glb
Create a pinball machine cabinet consisting of a playfield and a surrounding wooden frame. Start by placing a rectangular playfield of width `playfield_width`, height `playfield_height`, and thickness `playfield_thickness`, tilted at an angle defined by `playfield_slope`. Construct the side walls using planks of thic...
include <global_preferences.scad> include <physical_dimensions.scad> matrix_spacing = 40; inner_length = cos(playfield_slope) * (playfield_height + ball_slit); slope_height = sin(playfield_slope) * (playfield_height + ball_slit); slope_top = asin((slope_height + space_top_back - space_top) / (playfield_height + ball_...
glb/cad_859323939ff0.glb
Create a plunger rod for a pinball machine by constructing a single vertical cylinder. The cylinder must have a radius of 3mm and a total height of 100mm. Ensure the geometry is rendered with a smooth circular cross-section.
include <global_preferences.scad> include <physical_dimensions.scad> module plunger_rod() { color(color_hardware) { cylinder(r=plunger_rod_radius, h=plunger_rod_length); } } plunger_rod();
glb/cad_e39cfd4b4ede.glb
Create a plunger spring for a pinball machine by generating a helical coil. Start with a small circle of 1mm radius, offset from the center axis by a distance equal to twice the plunger rod radius. Extrude this circle vertically to the specified plunger spring length, applying a total twist of 5000 degrees along the ax...
include <global_preferences.scad> include <physical_dimensions.scad> module plunger_spring() { color(color_hardware) { linear_extrude(twist=5000, height=plunger_spring_length) { translate([plunger_rod_radius * 2, 0, 0]) { circle(r=1); } } } } plunger_spring();
glb/cad_5e304db46d8d.glb
Create a solenoid component for a pinball machine. Start with a main rectangular block that is 10mm wide, 20mm long, and 15mm high. Center this block so its width spans from -5mm to 5mm on the X-axis. On top of this block, add a cylinder with a radius of 2mm and a height of 15mm, centered on the X-axis and positioned a...
include <physical_dimensions.scad> include <global_preferences.scad> module solenoid(expansion = 0) { color(color_electronics) { difference() { union() { translate([-solenoid_width / 2, solenoid_pin_retracted - solenoid_pinhole_position]) { cube([solenoid_width, solenoid_length, solenoid_height]); }...
glb/cad_a0a44fcbcbf0.glb
Create a spring for a pinball machine by generating a helical coil. The coil should be formed by extruding a circle with a radius of 0.8mm along a vertical path. The center of this circle must be offset from the central axis by a radius of 4mm. Extrude the shape to a total height of 80mm, applying a total twist of 10,8...
include <physical_dimensions.scad> include <global_preferences.scad> wire_radius = 0.8; length = 80; twists = 30; module spring() { color(color_hardware) { linear_extrude(height=length, twist=twists * 360) { translate([spring_radius - wire_radius, 0, 0]) { circle(r=wire_radius); } } translate([0, spr...
glb/cad_d149f69aa9dd.glb
Create a protractor tool consisting of three main components: a base, a rotating bar, and a clamp. First, construct the base as a quarter-circle sector with a radius of 80mm and a thickness of 9mm. The base should have a width of 15mm. On the top surface, engrave markers at 0, 6, 30, 45, and 90 degrees. Each marker c...
marker_angles = [0, 6, 30, 45, 90]; radius = 80; groove = 1.05; thickness = 9; width = 15; groove_depth = 2; printing_play = 0.2; font_size = 9; axle_radius = 5; bar_length = sqrt(300 * 300 + 200 * 200); clamp_radius = 3; clamp_thickness = 2; m3_radius = 1.5; m3_nut_radius = 5.5 / 2; m3_nut_thickness = 2; module protr...
glb/cad_a37f74bbfe6d.glb
Create a flipper solenoid for a pinball machine. Start by constructing a main rectangular block with a width of 20mm, a length of 40mm, and a height of 30mm, positioned so the block is centered on the X-axis. Add a cylinder to this block with a radius of 2mm and a height of 10mm, oriented along the X-axis and positione...
include <physical_dimensions.scad> include <global_preferences.scad> module flipper_solenoid(expansion = 0) { color(color_electronics) { difference() { union() { translate([-flipper_solenoid_width / 2, flipper_solenoid_pin_retracted - flipper_solenoid_pinhole_position]) { cube([flipper_solenoid_width, f...
glb/cad_0e1733e9bae4.glb
Create a flipper solenoid brace for a pinball machine. Construct the main body by creating a convex hull between two cylinders of different sizes, both with a height equal to the flipper solenoid pin gap thickness. The first cylinder should have a radius equal to the grip side radius, and the second cylinder, positione...
include <physical_dimensions.scad> grip_side_radius = flipper_solenoid_pin_retracted - flipper_solenoid_pinhole_position; length = 50; module flipper_solenoid_brace() { difference() { hull() { cylinder(r=grip_side_radius, h=flipper_solenoid_pingap_thickness); translate([length, 0, 0]) { cylinder(r=flippe...
glb/cad_0508a4df4ce7.glb
Create a Stormcrest pinball gutter lift. Start by constructing the main body as a cube with dimensions of `gutter_width` by `gutter_width` and a height of `gutter_height` plus `playfield_thickness`, `printing_play * 2`, and `top_height`. Add an attachment block to the underside of the playfield measuring `gutter_width`...
include <physical_dimensions.scad> extra_top_spacing = 10; attachment_width = 30; gutter_width = lane_wall_thickness * 2 + ball_slit; gutter_height = ball_radius * 2 + lane_wall_thickness + printing_play + movement_play + sin(roll_slope) * printer_height; top_height = ball_radius * 2 + printing_play + movement_play +...
glb/cad_e10e9b2326fc.glb
Create a Vallejo paint organizer consisting of a row of eight identical bottle holders. For each holder, start with a base rectangular block measuring 30mm wide, 15mm deep, and 15mm high. Add a thin rectangular floor plate extending from the base, 30mm wide and approximately 59mm deep (sin(70)*63mm), with a thickness o...
holders_x = 8; holders_y = 1; module paintmock(d=25, h=50, neck_d=20, neck_h=28) { cylinder(d=d, h=h, $fn=60); translate([0,0,neck_h]) cylinder(d=neck_d, h=50, $fn=60); } module rack(x, y = 1) { for (j = [1:y]) for (i = [1:x]) translate([30*i,sin(70)*85*j,0]) differenc...
glb/cad_a0d1af4e9da9.glb
Create a CNC-Engraver Arduino case consisting of a bottom and top section. For the bottom section, create a rectangular box with dimensions based on the Arduino case width, depth, and height. Hollow out the center, leaving walls of a specific thickness. On the front wall, create a rectangular cutout for an on/off swi...
include <Measurements.scad> module arduino_case_bottom() { difference() { union() { difference() { cube([arduino_case_width, arduino_case_depth, arduino_case_height]); translate([arduino_case_wall_thickness, arduino_case_wall_thickness, arduino_case_wall_thickne...
glb/cad_5e9d4c7115d9.glb
Create a CNC-Engraver model consisting of a structural frame built from aluminum profiles and mechanical components. Construct the base and axes using 2020 and 2040 profiles. For the X-axis, create a portal assembly using 2040 profiles of a specific portal height, connected by a 2040 cross-member of length (x_axis_smo...
include <Measurements.scad> use <X Axis Parts.scad> use <Y Axis Parts.scad> use <Z Axis Parts.scad> use <Dust Shoe.scad> use <Laser.scad> module stepper_nema17() { color("darkgrey") union() { stepper_mount(stepper_motor_length); translate([nema17_width/2, nema17_width/2, 0]) union() { cylinder(d=nema17_cyli...
glb/cad_82262f5a3f5a.glb
Create a CNC-Engraver Z-axis assembly consisting of several distinct components. First, construct two bearing block bases (floating and fixed). Each base is a rectangular prism with a width of `z_axis_base_width` and a height of `profile_width`. Subtract two vertical cylinders of diameter `z_axis_smooth_rod_dia` plus...
include <Measurements.scad> module z_axis_floating_bearing_block_base() { difference() { translate([-z_axis_base_width/2, play/2, 0]) cube([z_axis_base_width, 3*nozzle_width+608_bearing_od/2-play/2, profile_width]); for (i=[-1, 1]) { translate([i*z_axis_smooth_rod_distance/...
glb/cad_8dc4d26aead7.glb
Create a CNC-Engraver drilling template. Start by constructing a base rectangular block measuring 60mm in length, 40mm in width, and 5mm in height. On top of this base, add two thin rectangular rails, each 60mm long, 4.9mm wide, and 2mm high. Position these rails so they are centered along the length of the base, with ...
difference() { union() { translate([0, -20]) cube([60, 40, 5]); for (i=[-1, 1]) translate([0, -4.9/2+i*10, 5]) cube([60, 4.9, 2]); } for (i=[10, 30, 50]) for (j=[-1, 1]) translate([i, j*10, -0.1]) cylinder(d=4.7, h=5+2+0.2, $fn=32); }
glb/cad_ac0145edc701.glb
Create a CNC Engraver laser module mount by combining two rectangular blocks. First, create a base block with a width of 20mm, a depth of 20mm, and a height of 5mm. Centered on top of this base, add a second rectangular block with a width of 12mm, a depth of 20mm, and a height of 10mm. From this combined structure, re...
include <Measurements.scad> module laser_module_mount() { difference() { union() { translate([-laser_module_width/2, 0, 0]) cube([laser_module_width, sk20_depth, sk20_rail_mount_offset-laser_module_depth/2]); translate([-sk20_base_width/2, 0, 0]) cub...
glb/cad_4fb38971a4cb.glb
Create a CNC-Engraver x-axis assembly consisting of several bearing blocks and a motor holder. First, construct the x-axis bearing mount. Create a central rectangular block with a width of 2*(x_axis_smooth_rod_distance/2 + lm8uu_od/2 + 3*nozzle_width + m3_screw_head_dia + 3*nozzle_width) and a height of lm8uu_length. ...
include <Measurements.scad> module x_axis_bearing_mount() { width = 2*(x_axis_smooth_rod_distance/2+lm8uu_od/2+3*nozzle_width+m3_screw_head_dia+3*nozzle_width); difference() { union() { translate([-width/2, 0, 0]) cube([width, 2+3*nozzle_width+608_bearing_od/2-anti_backlash...
glb/cad_a41af6fe6375.glb
Create a CNC-Engraver Y-axis assembly consisting of several bearing block and motor mount components. First, construct the floating and fixed bearing block bases. Each base is a rectangular block with a width based on the smooth rod distance and nozzle width. Subtract two vertical cylinders for the smooth rods and sev...
include <Measurements.scad> module y_axis_floating_bearing_block_base() { width = 2*(6*nozzle_width+m3_screw_head_dia+6*nozzle_width+y_axis_smooth_rod_dia/2)+y_axis_smooth_rod_distance; difference() { translate([-width/2, play/2, 0]) cube([width, 3*nozzle_width+608_bearing_od/2-play/2, pro...
glb/cad_b67d4e8709af.glb
Create a 3DP Lack Enclosure bottom corner piece. Start with a main body that is a 50mm cube with rounded vertical edges of 2mm radius. In the center of the bottom face, create a vertical screw hole with a diameter of 7mm that extends through the part. At the base, integrate a conical alignment foot. This cone starts w...
$fn=200; leg_width = 50; leg_edge_radius = 2; height = 50; screw_hole_d = 7; module cylinder_outer(r, h) { fudge = 1/cos(180/$fn); cylinder(r=r*fudge, h=h); } module leg_body(height=height) { screw_diameter = 7; difference() { union() { leg_corner = leg_width - leg_edge_radius; ...
glb/cad_af0f7585e334.glb
Create a tea steward automatic tea steeper assembly consisting of a spool, a stepper motor holder, and a mounting block. Start by creating a central mounting block that is 34mm wide, 32mm long, and 10mm thick. Cut a rectangular hole through the center of this block, measuring 22.6mm wide and 16mm long. Construct a ...
use <../vitamins/stepper_28BYJ.scad>; use <../parts/spool.scad>; use <../vitamins/bearing.scad>; $fn = 80; PARTNO = 0; SpoolLenght = get_SpoolCoreLenght()+2*get_SpoolBoarderThickness(); BlockThickness = 10; DefaultHolderHeight = 2*(get_SpoolOuterRadius())+BlockThickness; HolderWidth = 2*(get_SpoolOuterRadius())+2; De...
glb/cad_71ecf0adacb1.glb
Create a tea steward spool. Start by constructing the main body as a series of stacked cylinders. Create a bottom circular border with a height of 3mm and a radius of 27mm. Above this, add a tapered cylinder section that transitions from a radius of 27mm at the base to 25mm over a height of 4.67mm. Follow this with a c...
use <../vitamins/bearing.scad>; OuterRadius = 27; InnerRadius = 25; BearingModel = 608; BearingInnerRadius = bearingInnerDiameter(BearingModel)/2; BearingDistanceRing = 3; BearingOuterRadius = bearingOuterDiameter(BearingModel)/2; BearingHeight = bearingWidth(BearingModel); SpoolCoreLenght = 14; RingHeight = 1.5; Boa...
glb/cad_c6cc4fdf2735.glb
Create a 3D model of a 28BYJ stepper motor. Start with a main cylinder 29mm in diameter and 19.2mm in height. On one side of the cylinder, attach a rectangular block measuring 8mm by 17.5mm by 17.5mm, and adjacent to it, a smaller rectangular block measuring 8.5mm by 7mm by 17.5mm. On the top face, center a circular pl...
$fn=60; module 28BYJ() { difference() { union() { translate([0,0,-19.2])cylinder(d=29,h=19.2); translate([9,-8.75,-17.5])cube([8,17.5,17.5]); translate([10,-3.5,-17.5])cube([8.5,7,17.5]); translate([-8.1,0,-1])cylinder(d=9.2,h=2.5); translate([-8....
glb/cad_2356a2006f93.glb
Create a FilamentMerger block by starting with a solid rectangular base measuring 30mm wide, 35mm deep, and 16mm high. From this base, remove several geometric volumes to create channels for filament tubes. First, carve a central vertical hole with a radius of 1.25mm that passes through the center of the block. Around ...
echo(version=version()); $fn=80; tube_radius = 4.75/2.0; filament_radius = 2.50 / 2.0; translate([-30,0,0]) difference() { translate([15,-13,-8]) cube([30,35,16], center=false); union() { color("magenta") rotate_extrude(angle=30) translate([30,0]) cir...
glb/cad_a42f2adc53a4.glb
Create a Reprap Wilson X-end prototype. Start with a main rectangular block measuring 17mm by 39mm with a height of 58mm. On the side of the block, create a vertical slot for a bearing. At the top and bottom of the block, centered along the 39mm width, create two push-fit rod holes with a diameter of 8.15mm and a len...
use <bearing.scad> rod_distance = 45; pushfit_d = 8.15; hex_nut_r = 4.75; 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])...
glb/cad_eecfa74e3a93.glb
Create a 3D model of the Wilson X-end motor mount. Start with a central motor arm block measuring 17mm by 44mm by 53mm, centered at X=-15, Y=31, Z=26.5. Add a z-stop adjuster block measuring 12mm by 10mm by 32mm, centered at X=-25.5, Y=5.5, Z=58. From this block, remove a smaller central cube of 12mm by 8mm by 28mm a...
use <x-end.scad> offs_adjuster_y = 5.5; adj_block_x = 12; adj_block_y = 10; adj_block_z = 32; motor_offs_z = 0; module adjustomatic() { difference() { translate(v=[-(15+17/2+adj_block_x/2),offs_adjuster_y,58-adj_block_z/2]) cube(size=[adj_block_x,adj_block_y,adj_block_z],center=true); tra...
glb/cad_294b20f0962e.glb
Create a Reprap Wilson Y-end idler mount. Start with a base plate that is 193.5mm wide and 3mm thick, shaped as the intersection of a rectangle and a large circle with a 220mm radius. Add two identical end posts at each far end of the base. Each post is a block 23mm wide, 16mm deep, and extends upwards. Within each p...
include <configuration.scad> washer_recess = 2; idler_offset_y = 6; base_thickness = 3; tie_wrap_extra = 1; belt_h = 29; idler_w = 10; idler_wall_t = 5; end_w = 193.5; idler_wall_h = 32.6; yend_idler(); module yend_idler() { difference() { union() { bigbase(); brace(); endpost(); ...
glb/cad_c927804390bb.glb
Create a dashboard frame for electronics. Start by constructing a main rectangular box with outer dimensions of 340mm in length, 110mm in width, and 60mm in height. Hollow out the center of this box by removing a smaller rectangular volume of 336mm by 106mm by 60mm, leaving a wall thickness of 2mm on the sides and bott...
module frame() { difference() { cube([340, 110, 60]); translate([2, 2, 1]) { cube([336, 106, 60]); } } translate([-5, -5, 56]) { difference() { cube([350, 120, 4]); translate([7, 7, -1]) { cube([336, 106, 6]); }...
glb/cad_5cf23badf02d.glb
Create a gear for a robotic hand with 20 teeth. The gear should have a total thickness of 5mm. The main body is a cylinder with a radius of approximately 10.82mm (calculated as (20 * 1.7 * 4) / (2 * pi)). Around the perimeter of this cylinder, place 20 evenly spaced teeth. Each tooth is a small block with a width of ...
numberOfTeeth = 20; widthOfTeeth = 4; heightOfTeeth = 5; thicknessOfGear = 5; radiusOfHoleForShaft = 4.242640687; sidesOfShaft = 4; module tooth(width, thickness, height){ scale([width/5,thickness/5,height/10]){ difference(){ translate([-2.5,0,0]) cube([5,5,10]); translate([5+1.25-2.5,0-1,0]) ...
glb/cad_3e02cff032c3.glb
Create a spool-like component for a robotic hand. Start by creating a base cylinder with a bottom diameter of 36mm, a top diameter of 32mm, and a height of 2mm. On top of this base, add a second cylinder with a diameter of 32mm and a height of 3mm. Cap this with a third cylinder that tapers from a bottom diameter of 32...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3.5, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11...
glb/cad_d20526323ffa.glb
Create a robotic hand component called "sarah" by combining several geometric primitives. Start with a central body consisting of a rectangular block 3mm wide, 26mm deep, and 17mm high. Subtract a hexagonal hole (6-sided cylinder) with a diameter of 9.5mm and a height of 70mm, centered at a depth of 8.5mm and rotated...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3.5, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11...
glb/cad_caa9d1581e0a.glb
Create a 3D model of the "sarah" robotic hand component. Start by constructing a central gear-like structure with a thickness of 5mm. This gear should have 14 teeth, each with a height of 3.5mm and a width of 2mm. The gear's main body is defined by an outer radius of 11.5mm and an inner radius of 8.5mm. Integrate a sp...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3.5, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11...
glb/cad_9ecf9869a025.glb
Create a robotic anthropomorphic hand component named "sarah." Start by constructing a central assembly based on a series of spools and gears. Create a gear with 14 teeth, a tooth width of 2mm, and a tooth height of 3.5mm, with a total thickness of 5mm. Integrate this with a spool geometry that has a base radius of 8...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3.5, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11...
glb/cad_921436c23506.glb
Create a robotic anthropomorphic hand component called "sarah" consisting of a series of interlocking phalanges and a metacarpal base. Start by creating a phalange unit. The main body of the phalange is formed by two mirrored "bottom" sections, each consisting of a 3/4 gear with 14 teeth and a thickness of 4mm. These ...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11.5;...
glb/cad_453a95aa23ab.glb
Create a robotic hand component named "sarah" consisting of a central gear-driven assembly. Start by creating two identical gear-like bases, each 4mm thick, featuring 14 teeth with a tooth width of 2mm and height of 3mm. Position these bases 14mm apart along the Z-axis. Between these bases, integrate two spool-like st...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11.5...
glb/cad_12993bae8adf.glb
Create a partial gear for a robotic hand. Start with a gear that has 14 teeth, a tooth width of 3mm, a tooth height of 3mm, and a total thickness of 5mm. The gear should be a partial slice rather than a full circle, containing only 5 teeth (slices) of the total 14. The center of the gear must feature a square hole with...
numberOfTeeth = 20; widthOfTeeth = 4; heightOfTeeth = 5; thicknessOfGear = 5; radiusOfHoleForShaft = 4.242640687; sidesOfShaft = 4; module tooth(width, thickness, height){ scale([width/5,thickness/5,height/10]){ difference(){ translate([-2.5,0,0]) cube([5,5,10]); translate([5+1.25-2.5,0-1,0]) ...
glb/cad_d0ae69c99f36.glb
Create a robotic hand component named "sarah" by assembling several geometric parts. Start by creating a base structure using two mirrored sections. Each section is formed by the intersection of a block and a complex "part1" geometry. This "part1" consists of two mirrored "bottom" elements spaced 14mm apart, where each...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11.5...
glb/cad_5a9cf475408a.glb
Create a robotic hand component called "sarah" consisting of a servo mount and a gear-driven spool system. First, construct a servo spool assembly. Create a central spool by stacking three cylinders: a base cylinder with a bottom diameter of 26mm and top diameter of 22mm and height of 3mm, a middle cylinder with a co...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11.5...
glb/cad_f4bc64a764a9.glb
Create a robotic hand component called "sarah" consisting of three identical mechanical assemblies arranged in a row. Each assembly is composed of a central gear-and-spool system and a servo mount. For each of the three units, create a base structure that includes a gear with 14 teeth and a thickness of 5mm. Integrate...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11.5...
glb/cad_dc3755783305.glb
Create a robotic anthropomorphic hand component called "sarah." The model is a complex assembly of mechanical supports and gear-like structures. Start by creating a base structure that includes two mirrored "part2" assemblies. Each assembly consists of a bottom section and a mirrored top section, separated by a vertic...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11.5...
glb/cad_7ecf3f63c2cd.glb
Create a robotic hand component named "sarah" consisting of a central gear-and-spool assembly and a supporting chassis. Start by creating a gear with 14 teeth, a thickness of 5mm, a tooth height of 3.5mm, and a tooth width of 2mm. Integrate this gear with a spool system where the spool has a height of 1.7mm and radii...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3.5, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11...
glb/cad_a7b92313ad0b.glb
Create a robotic hand component called "sarah" consisting of a servo motor assembly and a mounting structure. First, construct the servo assembly. Create a central spool by stacking three cylinders: a base cylinder with a bottom diameter of 26mm and top diameter of 22mm and a height of 3mm, a middle cylinder with a c...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11.5...
glb/cad_f1c1e4439f09.glb
Create a robotic anthropomorphic hand component called a metacarpal. Start by constructing a central body consisting of two mirrored gear-like sections. Each section is a partial gear with 14 teeth and a thickness of 4mm, positioned 10mm apart along the Y-axis. Connect these two gear sections with a hull of two cylinde...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11.5;...
glb/cad_28c0b93e0e3b.glb
Create a spool and lid for a robotic hand servo. For the spool, construct a tiered cylindrical body starting with a base frustum 3mm high, tapering from a 26mm diameter at the bottom to 22mm at the top. Add a 3mm high cylinder of 22mm diameter on top, followed by a 2mm high frustum tapering from 22mm back out to 26mm, ...
module servo_horn(height=2) { quality = 12; hull() { translate( [-12.5,0,0] ) cylinder( d=4, h=height,$fn=quality ); translate( [0,0,0] ) cylinder( d=6, h=height,$fn=quality ); translate( [12.5,0,0] ) cylinder( d=4, h=height,$fn=quality ); } hull() { translate( [0...
glb/cad_3f1b68c9c318.glb
Create a press-plate for a robotic hand servo. Start with a main rectangular block measuring 14mm wide, 25mm deep, and 9.5mm high. Attach a second rectangular mount to the side of this block, extending the depth to 41mm (adding 8mm to each end) while maintaining the 9.5mm height. From this combined volume, remove a cen...
translate([10,-37,-7]) difference() { union() { cube( [14,25,9.5] ); translate( [0,-8,0] ) cube( [3,25+2*8,9.5] ); } translate([-0.1,1,-0.1]) cube( [12,23,10] ); translate([1.1,-4,4.5]) ...
glb/cad_770a1bda744f.glb
Create a robotic hand spool and lid assembly. For the spool, construct a tiered cylindrical body starting with a base cylinder 2mm high with a bottom diameter of 36mm and a top diameter of 32mm. Add a middle cylinder 3mm high with a constant 32mm diameter, and a top cylinder 2mm high that tapers from 32mm at the bottom...
module servo_horn(height=2) { quality = 12; hull() { translate( [-12.5,0,0] ) cylinder( d=4, h=height,$fn=quality ); translate( [0,0,0] ) cylinder( d=6, h=height,$fn=quality ); translate( [12.5,0,0] ) cylinder( d=4, h=height,$fn=quality ); } hull() { translate( [0...
glb/cad_8fe22fef89ba.glb
Create a 3D model of a robotic hand component called sarah. Construct the object by combining several geometric hulls. First, create a lower section by forming a hull between two cylinders: one with a diameter of 10mm at the base and 15mm at the top, and another shifted 10mm along the y-axis with a diameter of 20mm at ...
module spool() { a = 1; r1=7.5; r2=5; hull() { translate( [0,0,0] ) cylinder( r1=r1, r2=r2, h=a ); translate( [0,10,0] ) cylinder( r1=r1, r2=r2, h=a ); } hull() { translate( [0,0,a] ) cylinder( r1=r2, r2=r2, h=a ); translate( ...
glb/cad_598328f98957.glb
Create a robotic hand component consisting of two identical assemblies spaced 28mm apart along the Y-axis. Each assembly is composed of four gear-like discs and two spool elements. For each assembly, place two gears with 14 teeth, a tooth width of 2mm, a tooth height of 3mm, and a thickness of 3mm. Position the first...
use <gearModule.scad> module spool() { a = 1; r1=8.5; r2=7.5; hull() { translate( [0,0,0] ) cylinder( r1=r1, r2=r2, h=a ); translate( [0,10,0] ) cylinder( r1=r1, r2=r2, h=a ); } hull() { translate( [0,0,a] ) cylinder( r1=r2, r2=r2, h...
glb/cad_8482cd608437.glb
Create a robotic hand component called "sarah" consisting of a complex gear and spool assembly. Start by creating a gear with 14 teeth, a total thickness of 5mm, and a central square hole. The gear's profile is modified by an intersection with a 20mm by 12mm by 5mm rectangular block centered on the X-axis, effectively ...
use <gearModule.scad> module gear2(thick=5) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3, thickness=thick,holeRadius=0,holeSides=4); union() { r1=10.5; r2 = 8.5; cylinder(...
glb/cad_1ecb7e34d645.glb
Create a robotic hand component called Sarah. Start by constructing a gear with 14 teeth, a tooth width of 2mm, and a tooth height of 3mm, with a total thickness of 5mm. The gear's geometry is defined by a central core where the radius transitions from 8.5mm to 10.5mm. Build a spool structure consisting of three stack...
use <gearModule.scad> module gear2(thick=5) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=3, thickness=thick,holeRadius=0,holeSides=4); union() { r1=10.5; r2 = 8.5; cylinder(...
glb/cad_80eca8f07ffd.glb
Create a robotic hand component consisting of a series of interlocking gears and spools. Start by creating a gear with 14 teeth, a tooth width of 2mm, and a tooth height of 4mm, with a total thickness of 5mm. This gear should have a central hole with a square profile (4 sides). Construct two identical spool elements. ...
use <gearModule.scad> module gear2(thick=5,flip=false) { translate([0,0,0]) intersection() { translate([0,0,thick]) gear(toothNo=14, toothWidth=2, toothHeight=4, thickness=thick, holeRadius=0,holeSides=4); union() { r1=11.5...
glb/cad_cc37b05b3f52.glb
Create a Musical Toy enclosure consisting of a main cylindrical body and a cap. The main body is a cylinder with a height of 108mm and an outer radius of 24.5mm, with the edges softened by a 2mm sphere radius. The interior is hollowed out by a cylinder with a radius of 22mm. At the bottom of the main body, create a be...
$fn = 50; include <helix.scad> include <speaker.scad> include <arduino_nano_pcb.scad> include <dfplayer_pcb.scad> include <9v_battery_enclosure.scad> i_r = 44/2; o_r = 45/2+2; h = 108; module bottom_bevel() { translate([0, 0, 5-0.01]) cylinder(r1=i_r+1, r2=(i_r+1)/1.1, h = 5); translate([0, 0, -0.01]) cylin...
glb/cad_5191b1451c3f.glb
Create a spice-coop lid by starting with a main cylinder that has a radius of 25.75mm and a height of 13mm. Inside this cylinder, remove a right-handed trapezoidal thread with a pitch of 4.25mm, a pitch radius of 22.75mm, and a length of 13mm, using a profile ratio of 1.66, a backlash of 0.1mm, and a clearance of 0.1mm...
include <Thread_Library.scad> use <write.scad> union () { difference () { cylinder ($fn=120, h=13, r=25.75); trapezoidThreadNegativeSpace (threadAngle=30, threadHeightToPitch=0.24000000000000002, backlash=0.1, clearance=0.1, pitch=4.25, stepsPerTurn=90, length=13, pitchRadius=22.75, countersunk=0, RH=true, pr...
glb/cad_f2951c86d5aa.glb
Create a 1st-attempt-of-orgen-with-dynamics consisting of 13 vertical flue pipes arranged in a row. Each pipe is a hollow cylinder with a specific outer diameter, inner diameter, and height that decreases sequentially from left to right. For each pipe, start with an outer cylinder and subtract a concentric inner cylin...
include <OpenSCAD_support/loft.scad> include <config.scad> end_of_keyboard = 70; z1 = 30; z2 = 75; move_c = [36, 50, 1.5 + z1]; move_cis = [68, 50, 1.5 + z1]; move_d = [100, 50, 1.5 + z1]; move_dis = [132, 50, 1.5 + z1]; move_e = [162, 50, 1.5 + z1]; move_f = [194, 50, 1.5 + z1]; move_fis = [20, 20, 1.5 + z1]; move_g...
glb/cad_c17d7db1eeab.glb
Create a 3D model of an Orgen instrument chassis. Start with a base structure consisting of a rectangular floor measuring 230mm x 81mm x 3mm. At each end of this floor, add vertical walls 28mm high and 3mm thick, and connect them with a top plate measuring 230mm x 81mm x 3mm, positioned 28mm above the floor. In the fl...
include <all_pipes_o1.scad>; include <config.scad>; include <OpenSCAD_support/motor_dummy.scad>; difference(){ translate([0, 0, 28])cube([230, 81, 3], false); translate ([0, 0, 1.5 - z1]) for (i= [0 : len(pipe_points)-1 ]) translate(pipe_points[i]) cylinder(z1 + 5, wideOuter...
glb/cad_ea98cd67493b.glb
Create a ktEPD1 display case. Start by creating a main rectangular frame centered at the origin with dimensions 262mm wide, 128mm deep, and 1mm thick. Cut a rectangular opening through the center of this frame measuring 163.2mm by 97.92mm. Construct a surrounding border around this opening. Add two side walls, each 2m...
gap1 = 0.001; gap2 = 0.002; th = 1; th2 = 2; waku_x = 262; waku_y = 128; disp_x = 163.2; disp_y = 97.92; body_x = 170.2; body_y = 111.5; body_z = 1.2; body_d = 2.7; stand_z = 50; side_z = 10; A = 1; if(A) { difference() { translate( [0, 0, th/2] ) cube( [waku_x, waku_y, th], center=true )...
glb/cad_0b58a7a21b30.glb
Create a ktEPD2 holder by starting with a main frame. Construct a rectangular base that is 190mm wide, 10mm deep, and 11mm high. Rotate this base -9 degrees along the X-axis. From this base, remove a central rectangular volume of 171.2mm by 111.5mm with a height of 1.7mm to create a recessed tray. Add a thin flat plat...
gap1 = 0.001; gap2 = 0.002; th = 2; body_x = 170.2+1.0; body_y = 111.5; body_z = 1.2+0.5; body_d = 2.7; waku_x = 190; waku_y = 10; waku_z = 11; bwaku_x = 80+10; bwaku_y = 50; poll1 = 6; poll2 = 9; stand_z = 50; side_z = 10; A = 1; if(A) { difference() { union() { rotate( [-9, 0...
glb/cad_7ff070e5d519.glb
Create a base plate for a telescope focuser. Start by creating a thick curved ring section with an outer diameter of 176mm and an inner diameter of 127mm, with a total thickness of 2.8mm. This shape should be a semi-circular arc rather than a full circle, centered on a vertical axis. Remove a central cylindrical hole ...
hole_screws=true; offset_thin=0.90; $fn=360; outer_curve=6.93; inner_curve=5; focuser_width=2.8; center_hole_diameter=2.4; module pipe_raw(){ difference(){ cylinder (r=outer_curve/2,h=focuser_width, center=true); translate([0,0,0]) cylinder (r=inner_curve/2,h=3, center=true); } } module pipe_with_a_hole(){ differen...
glb/cad_859780c633be.glb
Create an ElecBoard model consisting of three distinct geometric components. First, create a cylinder with a radius of 10mm and a height of 80mm, positioned with its base at [20, 0, 0] and oriented along the Y-axis. Second, create a partial torus by rotating a circle with a 10mm radius around an axis; the circle should...
translate([0,60,0]) rotate_extrude(angle=270, convexity=10) translate([40, 0]) circle(10); rotate_extrude(angles=90, convexity=10) translate([20, 0]) circle(10); translate([20,0,0]) rotate([90,0,0]) cylinder(r=10,h=80);
glb/cad_194acd856b7b.glb
Create a 3D model of an ElecBoard battery pack enclosure. Start by constructing a main rectangular housing with overall dimensions of 48mm in width, 165mm in length, and 55mm in height. The main body is a hollowed shell. On the top surface, create a large rectangular cutout to form an open compartment. At the bottom ...
module packBat(x=48, y=165, z=55) { difference() { cube([x,y,z], false); translate([-50,-21,-3])cube([200,200,3], false); } }; module devant(longueur=75, hauteur=50, longueur2=63, hauteur2=20, extrude=48, hauteur3=20, longueur3=63) { rotate([90,0,90]) linear_extrude(height=ext...
glb/cad_d487252fae81.glb
Create a 3D model of an ElecBoard battery pack enclosure. Start by constructing a main rectangular body with dimensions 52mm wide, 160mm long, and 52mm high. This main body should have slightly rounded edges. Integrated into the base of this structure, create a secondary, lower section that extends forward. This fron...
module packBat(x=48, y=160, z=50) { difference() { minkowski() { $fn = 50; rotate([90,0,0]) cylinder(1,1.5,1.5, false); cube([x,y,z], false); } translate([-50,-21,-3])cube([200,200,3], false); } }; module devant(longue...
glb/cad_fcb3e8d90da4.glb
Create a 3D model of an ElecBoard battery enclosure. Start by constructing a main rectangular housing with a width of 48mm, a length of 165mm, and a height of 50mm. The walls of this housing should have rounded edges with a radius of 1.5mm. On the top surface, center the text "ElecBoard" in a bold italic sans-serif fo...
module packBat(x=48, y=165, z=50) { difference() { minkowski() { $fn = 50; rotate([90,0,0]) cylinder(1,1.5,1.5, false); cube([x,y,z], false); } translate([-50,-21,-3])cube([200,200,3], false); } }; module devant(longue...
glb/cad_2716db74f3f9.glb
Create a 3D model of an ElecBoard battery enclosure. Start by constructing a main rectangular housing with a width of 48mm, a length of 165mm, and a height of 50mm. The walls of this housing should have rounded edges with a radius of 1.5mm. On the top surface, center the text "ElecBoard" in a bold italic sans-serif fo...
module packBat(x=48, y=165, z=50) { difference() { minkowski() { $fn = 50; rotate([90,0,0]) cylinder(1,1.5,1.5, false); cube([x,y,z], false); } translate([-50,-21,-3])cube([200,200,3], false); } }; module devant(longue...
glb/cad_0c6ad04065d5.glb
Create an ElecBoard by combining two main geometric components. First, construct a battery pack housing as a rectangular block measuring 48mm wide, 160mm long, and 50mm high, with slightly rounded edges (1.5mm radius). Remove a thin 3mm slice from the bottom of this block. Second, create a front attachment piece by ext...
module packBat() { difference() { difference() { minkowski() { $fn = 50; rotate([90,0,0]) cylinder(1,1.5,1.5, false); cube([48,160,50], false); } translate([0,0,-3]){cube([48,158,51.5],false);} } ...
glb/cad_136b95148269.glb