Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a robotic arm base called "brako" starting with a main circular platform 100mm in diameter and 4mm thick. At the center of this platform, create a vertical hole 8.5mm in diameter that passes completely through the thickness. Position four support pillars around the center. Each pillar is a hollow cylinder with ...
echo(version=version()); BASE_WIDTH = 113.0; BASE_HEIGHT = 53.0; BASE_WALL = 4.0; INNER_RIDGE_HEIGHT = 6.0; INNER_RIDGE_WIDTH = 2.0; PLATFORM_WIDTH = 100.0; PLATFORM_HEIGHT = 4.0; SUPPORT_WIDTH = BASE_WIDTH - INNER_RIDGE_WIDTH * 4; SUPPORT_HEIGHT = 20.0; ROD_WIDTH = 8.5; ROD_DEPTH = 10.0; ROD_PLACEMENT = (BASE_WIDT...
glb/cad_45d3308d2310.glb
Create a robotic arm base called "brako." Start with a circular platform 100mm in diameter and 4mm thick. From this platform, extend four vertical support rods, each 10mm high and 8.1mm in diameter. Position these rods symmetrically: one at the center to accommodate a stepper motor shaft, and three others distributed a...
echo(version=version()); BASE_WIDTH = 113.0; BASE_HEIGHT = 53.0; BASE_WALL = 4.0; INNER_RIDGE_HEIGHT = 6.0; INNER_RIDGE_WIDTH = 2.0; PLATFORM_WIDTH = 100.0; PLATFORM_HEIGHT = 4.0; SUPPORT_WIDTH = BASE_WIDTH - INNER_RIDGE_WIDTH * 4; SUPPORT_HEIGHT = 20.0; ROD_WIDTH = 8.1; ROD_DEPTH = 10.0; ROD_PLACEMENT = (BASE_WIDT...
glb/cad_1c2f48d71c7b.glb
Create a robotic arm base consisting of a main cylindrical body and a thin top plate. Start with a main cylinder 113mm in diameter and 43mm high. Hollow out the center of this cylinder with a smaller concentric cylinder that has a diameter of 105mm and a height of 23mm, leaving a 20mm thick wall at the bottom. Cut a sq...
echo(version=version()); BASE_WIDTH = 113.0; BASE_HEIGHT = 43.0; BASE_WALL = 4.0; INNER_RIDGE_HEIGHT = 6.0; INNER_RIDGE_WIDTH = 2.0; SUPPORT_WIDTH = BASE_WIDTH - INNER_RIDGE_WIDTH * 4; SUPPORT_HEIGHT = 20.0; RISER_HEIGHT = 4.0; ROD_WIDTH = 8.1; ROD_DEPTH = 10.0; STEPPER_WIDTH = 42.3; STEPPER_HEIGHT = 33.0; STEPPER...
glb/cad_e8d537873304.glb
Create a robotic arm base platform by starting with a solid cylinder that has a diameter of 113mm and a height of 4mm. To complete the part, remove four smaller cylindrical holes, each with a diameter of 3.1mm and a height of 4mm, passing vertically through the platform. These holes should be positioned symmetrically a...
echo(version=version()); BASE_WIDTH = 113.0; BASE_HEIGHT = 53.0; BASE_WALL = 4.0; INNER_RIDGE_HEIGHT = 6.0; INNER_RIDGE_WIDTH = 2.0; PLATFORM_WIDTH = 100.0; PLATFORM_HEIGHT = 4.0; SUPPORT_WIDTH = BASE_WIDTH - INNER_RIDGE_WIDTH * 4; SUPPORT_HEIGHT = 20.0; ROD_WIDTH = 8.1; ROD_DEPTH = 10.0; ROD_PLACEMENT = (BASE_WIDT...
glb/cad_51728dd529fe.glb
Create a robotic arm base platform. Start with a main circular disk that has a diameter of 113mm and a height of 4mm. At the center of this disk, create a hexagonal nut-shaped housing with an outer diameter of 17mm and an inner diameter of 13mm, and a height of 5mm. Position three cylindrical support pillars around...
echo(version=version()); BASE_WIDTH = 113.0; BASE_HEIGHT = 53.0; BASE_WALL = 4.0; INNER_RIDGE_HEIGHT = 6.0; INNER_RIDGE_WIDTH = 2.0; PLATFORM_WIDTH = 100.0; PLATFORM_HEIGHT = 4.0; SUPPORT_WIDTH = BASE_WIDTH - INNER_RIDGE_WIDTH * 4; SUPPORT_HEIGHT = 20.0; ROD_WIDTH = 8.1; ROD_DEPTH = 10.0; ROD_PLACEMENT = (BASE_WIDT...
glb/cad_bbaa24a82863.glb
Create a robotic arm base platform by starting with a cylinder that has a diameter of 113mm and a height of 4mm. From this main disk, remove several cylindrical holes of varying sizes and positions to create mounting points. First, center a hole with a diameter of 8.1mm that passes completely through the platform. Next...
echo(version=version()); BASE_WIDTH = 113.0; BASE_HEIGHT = 53.0; BASE_WALL = 4.0; INNER_RIDGE_HEIGHT = 6.0; INNER_RIDGE_WIDTH = 2.0; PLATFORM_WIDTH = 100.0; PLATFORM_HEIGHT = 4.0; SUPPORT_WIDTH = BASE_WIDTH - INNER_RIDGE_WIDTH * 4; SUPPORT_HEIGHT = 20.0; ROD_WIDTH = 8.1; ROD_DEPTH = 10.0; ROD_PLACEMENT = (BASE_WIDT...
glb/cad_7876876ca4cd.glb
Create an RSA Token Holder designed to hold a token at a 40-degree angle. Start with a main block that is scaled by 1.07. The core body is a rectangular prism with a width of 66mm (60mm token width plus 6mm extra) and a height of 44mm (34mm token diameter plus 10mm extra). Carve a hollow slot into the top face to acc...
tkWidth=60; tkMinHeight=24; tkDiam=34; tkThickness=9.5; tkMaxThickness=10.5; addPads=0; padIndentX=23; padIndentY=11; padIndentDepth=.5; padEdge=3; tkChainX=10; tkChainY=8; tkChainZ=6; angle=40; extraWidth=6; extraHeight=10; extraZ=10; extraRaiseZ=5; scaleBy=1.7; overallScaleBy=1.07; raisedBy=(tkDiam-tkMinHeight...
glb/cad_2b3c88a9d6a4.glb
Create a Y-axis holder for a Prusa Mendel. Start with a main rectangular body block measuring 26mm in width, 10mm in depth, and 12mm in height. Cut a central vertical channel through the block to accommodate the Y-axis, consisting of a cylinder with a radius of 4mm and a height of 14mm. Refine this channel by adding ...
module ziptie_round_edge() { difference() { translate([0,0,0]) rotate([90,0,0]) cylinder( h=3.2, r=4, $fn=50 ); translate([0,1,0]) rotate([90,0,0]) cylinder( h=5, r=2, $fn=50 ); translate([-10,-4,0]) cube([20,5,5]); translate([-20,-4,-13]) cube([20,5,20]); } } module part() ...
glb/cad_f061d6f4af0a.glb
Create a card holder by starting with a solid rectangular block measuring 69mm wide, 87mm long, and 25mm high. Hollow out the center to create a compartment for cards that is 65mm wide, 85mm long, and 25mm deep, leaving a wall thickness of 2mm on the sides and bottom. To allow access and removal, carve out several re...
module holder(card_width, card_length, deck_thickness) { wall_thickness = 2; part_width = card_width + (wall_thickness * 2); part_length = card_length + wall_thickness; part_height = deck_thickness * 1.25; slot_width = part_width / 2; slot_offset = part_width / 4; d...
glb/cad_2a28f200a558.glb
Create a lora_collar designed to fit around a central pole. Start by creating a central rectangular block measuring 90mm wide, 55mm deep, and 115mm tall, centered on the origin. Surround this block with a larger outer rectangular shell that is 100mm wide, 77.25mm deep, and 34mm tall, maintaining a 5mm wall thickness be...
$fn = 60; box_size = [90, 55, 115]; pole_size = 89; strap_width = 13 + 1; squash_amount = .5; strap_depth = 5 * 1/squash_amount; wall_size = 5; collar_box = [ box_size[0] + wall_size * 2, box_size[1] + pole_size / 4 + wall_size * 2, (strap_width + wall_size * 2) * 2 ]; module ring (d, h, thick) { dif...
glb/cad_a0c05caf9b4f.glb
Create a YamSuph liquid handling chassis by starting with a cube that measures 18.02mm on the x and z axes and 20mm on the y axis. Centered within this block, remove a vertical well created by the convex hull of two spheres: a larger sphere with a radius of 4.8mm positioned at the base and a smaller sphere with a radiu...
$fn = 20; thick = 20; fiddle = 0.01; spacing = 9.0; difference() { translate( [ -fiddle, 0, -fiddle ] ) cube([ spacing*2 + fiddle*2, thick, spacing*2 + fiddle*2]); translate( [ spacing, -7.5, spacing ] ){ ...
glb/cad_e0f6559ec72c.glb
Create an elevator support for an F104 model. Start by creating a sphere with a diameter of 10.7mm and scale it by a factor of 2 along the X and Z axes to form an ovaloid. Place a circular plate with a diameter of 40mm and a thickness of 1mm at the center of this shape. From this combined volume, remove a central vert...
tubeDia = 5.2; foamThickness = 6.0; plateThickness = 1.0; plateDia = 40.0; insertDia = tubeDia + 5.5; forAngle = 30.0; aftAngle = -8.0; scaleFactor = 2.0; epsilon = 50.0; $fn = 100; module plate(dia, ht){ cylinder(d=dia,h=ht); } module insertCutter(d,h){ linear_extrude(height = h*10,center=true,convexity=10,...
glb/cad_2d2e774d9a62.glb
Create an elevator support for an RM F104 model. Start by creating a circular base plate with a diameter of 40mm and a thickness of 1mm. Centered on this plate, add an oval-shaped insert created by scaling a sphere of 9.5mm diameter by a factor of 2 along the X and Z axes, resulting in an ellipsoid. This ellipsoid shou...
tubeDia = 4.2; foamThickness = 6.0; plateThickness = 1.0; plateDia = 40.0; insertThickness = foamThickness; insertDia = 9.5; forAngle = 30.0; aftAngle = -8.0; scaleFactor = 2.0; epsilon = 50.0; $fn = 100; module plate(dia, ht){ cylinder(d=dia,h=ht); } module insertCutter(d,h){ linear_extrude(height = h*10,c...
glb/cad_eb4c680b7212.glb
Create an elevator support for an RM F104. Start by constructing a sandwich of three coaxial cylinders. The bottom and top cylinders are plates with a diameter of 40mm and a thickness of 1mm each. Between them, place a central cylinder with a diameter of 22.5mm and a height of 6mm, such that the total height of the ass...
rodDia = 5.0; foamThickness = 8.0; plateThickness = 1.0; plateDia = 40.0; insertThickness = foamThickness - 2.0*plateThickness; insertDia = (plateDia + rodDia)/2.0; forAngle = -8.0; aftAngle = 0.0; epsilon = 10.0; $fn = 100; module outerPlate(dia, ht){ cylinder(d=dia,h=ht); } module insert(d,t){ cylinder(d=d...
glb/cad_69a00ca658d5.glb
Create an elevator support for an F104 model. Start by constructing a central cylinder with a diameter of 22.5mm and a height of 6mm. Place this cylinder on top of a larger circular base plate that has a diameter of 40mm and a thickness of 1mm, such that the base is centered and the top of the central cylinder is flush...
rodDia = 5.0; foamThickness = 6.0; plateThickness = 1.0; plateDia = 40.0; insertThickness = foamThickness; insertDia = (plateDia + rodDia)/2.0; forAngle = -8.0; aftAngle = 0.0; epsilon = 10.0; $fn = 100; module plate(dia, ht){ cylinder(d=dia,h=ht); } module insert(d,t){ cylinder(d=d,h=t); } module rod(d,ht)...
glb/cad_85028b79c376.glb
Create an F104 elevator support consisting of a three-layered sandwich structure. Start by creating a bottom circular plate with a diameter of 40mm and a thickness of 1mm. On top of this, place a central cylindrical insert with a diameter of 12mm and a height of 3mm. Cap the assembly with a second circular plate of the...
rodDia = 5.0; foamThickness = 5.0; plateThickness = 1.0; plateDia = 40.0; insertThickness = foamThickness - 2.0*plateThickness; insertDia = 12.0; forAngle = 30.0; aftAngle = -8.0; epsilon = 50.0; $fn = 100; module outerPlate(dia, ht){ cylinder(d=dia,h=ht); } module insertCutter(d,h){ linear_extrude(height = ...
glb/cad_932d8743a667.glb
Create an elevator support for an F104 model. Start by creating a circular plate with a diameter of 40mm and a thickness of 1mm. Centered on this plate, add a second circular cylinder with a diameter of 12mm and a height of 6mm. From this combined shape, remove a central vertical cylinder with a diameter of 5mm and a...
rodDia = 5.0; foamThickness = 6.0; plateThickness = 1.0; plateDia = 40.0; insertThickness = foamThickness; insertDia = 12.0; forAngle = 30.0; aftAngle = -8.0; epsilon = 50.0; $fn = 100; module plate(dia, ht){ cylinder(d=dia,h=ht); } module insertCutter(d,h){ linear_extrude(height = h*10,center=true,convexity...
glb/cad_40265d89766f.glb
Create an elevator support for an RM F104 model. Start by constructing a three-layered cylindrical assembly with a total height of 4.8mm. The bottom and top layers are circular plates, each 1mm thick with a diameter of 20mm. Between these plates, place a central cylindrical insert with a diameter of 12.5mm and a thickn...
rodDia = 5.0; foamThickness = 4.8; plateThickness = 1.0; plateDia = 20.0; insertThickness = foamThickness - 2.0*plateThickness; insertDia = (plateDia + rodDia)/2.0; forAngle = 0.0; aftAngle = -8.0; epsilon = 5.0; $fn = 100; hookDia = 10.0; elipseFact = 1.8; hookAngle = -120.0; module hookCutOut(di,fc,ang,ht){ r...
glb/cad_08ef35e042ea.glb
Create a hollow cylindrical tube for an F104 fuel tank center section. The tube should have an external diameter of 36mm and a total length of 180mm. The wall thickness of the cylinder is 0.8mm. On one side of the cylinder, carve a longitudinal slot to accommodate a wing tab. This slot must be 54mm long and 5.5mm wide...
include <TankFins.scad> include <Beziers.scad> $fn=100; diaExt = 36.0; radiusExt = diaExt/2.0; centerLength = 180; centerSampleLength = 20; frontLength = 93; frontCurve = 2; frontBez = frontLength; rearLength = 100; rearCurve = 1; rearBez = 85; overlapLength = 10; overlapRadius = 33.0/2.0; slotOffset = 32; slotLeng...
glb/cad_2c6b021f8f6c.glb
Create a 3D model of an F104 nose cone. Start by creating a base cylinder with a diameter of 33mm and a height of 10mm, centered on the Z-axis. On top of this base, add a convex conical shape that transitions from the 33mm base diameter to a rounded point. This upper section should have a total height of 98mm. The pr...
module BezConic(p0,p1,p2,steps=5) { stepsize1 = (p1-p0)/steps; stepsize2 = (p2-p1)/steps; for (i=[0:steps-1]) { point1 = p0+stepsize1*i; point2 = p1+stepsize2*i; point3 = p0+stepsize1*(i+1); point4 = p1+stepsize2*(i+1); { bpoint1 = point1+(point2-point1)*(i/steps) ; bpoint2 = point...
glb/cad_3eabf6b1f42c.glb
Create a fuel tank model consisting of three coaxial sections aligned along a central axis. The middle section is a smooth cylinder with a diameter of 35mm and a length of 180mm. Attached to one end of the cylinder is a front cone section with a length of 98mm. This section starts at the cylinder's 35mm diameter and ...
module BezConic(p0,p1,p2,steps=5) { stepsize1 = (p1-p0)/steps; stepsize2 = (p2-p1)/steps; for (i=[0:steps-1]) { point1 = p0+stepsize1*i; point2 = p1+stepsize2*i; point3 = p0+stepsize1*(i+1); point4 = p1+stepsize2*(i+1); { bpoint1 = point1+(point2-point1)*(i/steps) ; bpoint2 = point...
glb/cad_e42a72114e8d.glb
Create an up-core-ext-case extension for a computer case. Start by creating a main rectangular body with dimensions 75.85mm in width, 72mm in depth, and 22.45mm in height. Apply a corner radius of 7mm to the outer edges. Hollow out the center of the body to create a recessed interior, leaving a wall thickness of 4.2mm...
include <tols.scad> include <smooth_make.scad> include <bolt_params.scad> use <bolts.scad> sleeve_tol = 0.2; core_x = 65; core_y = 55; core_z = 2; core_r = 3; core_s = 0.2; core_sm = 2*sm_base; case_p = 3.66; case_x = 75.85; case_y = 72; case_z = 22.45; case_h = 9.5; case_r = 7; case_lt = 1.3; case_lh = 1.25; case...
glb/cad_e20f87616a53.glb
Create two separate containers, one with a square base and one with a circular base, both with a diameter or width of 40mm, a total height of 10mm, and a wall thickness of 0.5mm. For both containers, create a base floor with a thickness of 2mm. Within this floor, embed a pattern of hexagonal holes. Each hole should be ...
use <../../pattern.scad> thickness = 0.5; alveolus_size = 5; xstep = cos(30) * (thickness + sqrt(3) * alveolus_size / 2); ystep = sin(30) * (thickness + sqrt(3) * alveolus_size / 2); xmove = [ 2 * xstep, 0 ]; ymove = [ xstep, ystep ]; reinforcement_height = 2; height = 10; module reinforced_box(thickness, height, rei...
glb/cad_c292c03eec40.glb
Create a rectangular block with a length of 120mm, a width of 110mm, and a height of 20mm. On the top surface of this block, engrave a decorative pattern of "bean" shapes. Each bean is constructed by placing two circles of radius 5mm centered 20mm apart along a vertical axis, and subtracting two larger circles of radiu...
use <../../pattern.scad> module bean(r1, r2, spacing, h1, h2) { translate([ -spacing / 2, 0, 0 ]) circle(r = r1, center = true); translate([ spacing / 2, 0, 0 ]) circle(r = r1, center = true); difference() { square([ spacing, h1 * 2 ], center = true); translate([0, h2, 0]) circle(r = r2, center = true); ...
glb/cad_39bcb54518dd.glb
Create a holder to pierce a stopper with a needle by starting with a solid cube that is 15mm wide, 15mm long, and 24mm high. Center this cube on the X and Y axes. Remove a vertical cylindrical hole from the center of the cube to accommodate a needle; this hole must have a radius of 0.75mm and a total height of 35mm, ex...
stopper_R_top = 8.5/2; stopper_R_bottom = 7/2; stopper_H = 14; needle_R = 1.5/2; needle_H = 35; needle_protusion_H = 5; needle_cannal_H = needle_H - stopper_H - needle_protusion_H; cubeW = 15; cubeL = 15; cubeH = stopper_H+needle_cannal_H; difference(){ translate([0,0,cubeH/2]) color("black") cube([cubeW,cubeL,...
glb/cad_76296cd2c660.glb
Create a support holder for a stopper and needle. Start by creating a solid cube with dimensions 25.5mm x 25.5mm x 18mm, centered on the X and Y axes. From the top center of this cube, remove a smaller square prism measuring 15.5mm x 15.5mm with a height of 18mm, centered on the X and Y axes, to create a recessed squar...
stopper_R_top = 9/2; stopper_lip_R = stopper_R_top/1.5; stopper_lip_H = 3; needle_protusion_H = 6; cube_lip_W = 15.5; cube_lip_L = 15.5; cube_lip_H = 6; cubeW = cube_lip_W+10; cubeL = cube_lip_L+10; cubeH = needle_protusion_H + stopper_lip_H + cube_lip_H; difference(){ translate([0,0,cubeH/2]) color("yellow")...
glb/cad_197ea1cb17f3.glb
Create a mount for an E3D V6 nozzle by starting with a rectangular base measuring 25mm in length, 16mm in width, and 4mm in height. Centered along the length of this base, place two vertical holes with a diameter of 3.5mm, spaced 10mm apart from each other. On the top surface of the base, add a smaller rectangular bloc...
dimCube= [25,16,4]; dimHole= 3.5; pitchHole= 10; dimFoot= [4,dimCube[1],4]; difference(){ translate([0,-dimCube[1]/2,0]) cube(dimCube); for(y=[-pitchHole/2, pitchHole/2]){ translate([3,y,0]) cylinder(d=dimHole, h=dimCube[2]+1, $fn= 360); } } translate([dimCube[0]-dimFoot[0],-dimFoot[1]/2,dimCube[2]...
glb/cad_4c00320cd070.glb
Create a mount for an E3D V6 hotend consisting of two main parts: a mount body and a cover. The mount body is a rectangular block measuring 35mm x 15mm x 47.5mm. Carve a central vertical cylinder with a diameter of 22.1mm and a height of 28mm, centered at Z=15mm, to accommodate the heatsink. Add a smaller vertical cy...
dimMount=[35,15,47.5]; dimCover=[dimMount[0],dimMount[1],42.7+1]; dia_screw_clear= 3.5; dia_head_clear= 7; height_head_clear= 4; dia_nut_trap= 6.6; height_nut_trap=5; module cut_fan_hotend(){ translate([0,0,15]) rotate([0,90,0]) cylinder(d=28, h=36, center=true, $fn=360); } module cut_e3dv6(){ translate([...
glb/cad_93b8c2a81062.glb
Create a fan nozzle mount for an E3D V6. Start with a main rectangular block measuring 32mm x 10mm x 17mm. At the position [30, 5, 0], add a hexagonal prism with a radius of 5.8mm and a height of 17mm. Attach a smaller rectangular block measuring 3mm x 10mm x 23mm at [-3, 0, -6]. Carve out a vertical screw hole at [30...
module fan_nozzle(){ difference(){ union(){ cube([32,10,17]); translate([30,5,0])cylinder(r=5.8,h = 17, $fn=6); translate([-3,0,-6]) cube([3,10,23]); } translate([30,5,-10])cylinder(r=3.2/2,h = 24.5-0.2, $fn=15); translate([30,5,17-3.5])cylinder...
glb/cad_db19383b1b35.glb
Create a fan nozzle mount for an E3D V6 hotend. Start with a main rectangular block measuring 32mm x 10mm x 17mm. At the corner position (30, 5, 0), add a hexagonal prism with a radius of 5.8mm and a height of 17mm. Attach a smaller rectangular block of 3mm x 10mm x 23mm at position (-3, 0, -6). Carve out a vertical m...
module fan_nozzle(){ difference(){ union(){ cube([32,10,17]); translate([30,5,0])cylinder(r=5.8,h = 17, $fn=6); translate([-3,0,-6]) cube([3,10,23]); } translate([30,5,-10])cylinder(r=3.2/2,h = 24.5-0.2, $fn=15); translate([30,5,17-3.5])cylinder...
glb/cad_db19383b1b35.glb
Create a KiCad project logo model. Start by constructing a main rectangular block measuring 10mm in width, 5.1mm in depth, and 8.1mm in height. From this block, remove several internal sections: a central rectangular void of 8.8mm by 3.2mm by 5.4mm centered horizontally, two thin vertical slots of 0.6mm width at the le...
module pin(pin_heigth=9,pin_size=0.5,pin_angle=3,pin_chanfer=0.05) { epsilon=0.01; difference(){ cube([pin_size,pin_size,pin_heigth]); translate([-epsilon,pin_size-pin_chanfer,0])rotate([-pin_angle,0,0])cube([pin_size+2*epsilon,pin_size,pin_heigth]); translate([-epsilon,pin_chanfer,0])ro...
glb/cad_410d28afa455.glb
Create a Hydroponics Controller enclosure. The main body is a rounded rectangular box with external dimensions of 140mm length, 130mm width, and 70mm height, with a wall thickness of 2mm. The corners of the box should have a fillet radius of 2mm. The top of the box is open. The side walls feature decorative ventilatio...
Length = 140; Width = 130; Height = 70; Thick = 2; Filet = 2; Resolution = 50; m = 0.9; PCBFeet = 0; Vent = 1; Vent_width = 2.5; PCBPosX = 7; PCBPosY = 6; PCBLength = 70; PCBWidth = 70; Fo...
glb/cad_f679960b4576.glb
Create a Hydroponics Controller enclosure. Start by constructing a bottom shell with outer dimensions of 140mm length, 130mm width, and 70mm height. The walls should have a thickness of 2mm. The vertical corners of the shell must be rounded with a 2mm radius. The shell is an open-top box. The side walls feature ventil...
Length = 140; Width = 130; Height = 70; Thick = 2; Filet = 2; Resolution = 50; m = 0.9; PCBFeet = 0; Vent = 1; Vent_width = 2.5; PCBPosX = 7; PCBPosY = 6; PCBLength = 70; PCBWidth = 70; Fo...
glb/cad_08a0e2f28d24.glb
Create a HydroponicsController front panel. Start with a rectangular plate measuring 140mm in length, 130mm in width, and 2mm in thickness. The plate should have rounded corners with a radius of 2mm. On the face of the panel, create a large rectangular cutout centered horizontally. This cutout should be 72mm long and ...
Length = 140; Width = 130; Height = 70; Thick = 2; Filet = 2; Resolution = 50; m = 0.9; PCBFeet = 0; Vent = 1; Vent_width = 2.5; PCBPosX = 7; PCBPosY = 6; PCBLength = 70; PCBWidth = 70; Fo...
glb/cad_8651b20cbcdf.glb
Create a servo arm with a central hub and a single extending arm. Start with a central cylinder for the hub that has a diameter of 6.92mm and a height of 4mm. Inside this hub, create a central vertical hole with a diameter of 2.5mm. Around the inner wall of the hub, add 25 evenly spaced teeth; each tooth should be 0.3m...
$fn = 40; SERVO_HEAD_CLEAR = 0.3; FUTABA_3F_SPLINE = [ [4.92, 4, 2, 2.5], [25, 0.3, 0.7, 0.1] ]; module servo_futaba_3f(length, count) { servo_arm(FUTABA_3F_SPLINE, [length, count]); } module servo_standard(length, count) { servo_futaba_3f(length, count); } module servo_head_tooth(length, width, he...
glb/cad_84680cba452d.glb
Create a SampleHolder consisting of a thick, hollow cylindrical disc. Start by creating a solid cylinder with a radius of 4.3mm and a height of 20mm, centered on the origin. Subtract a smaller concentric cylinder from the center with a radius of 8.4mm and a height of 40mm to create a large central hole. Additionally,...
$fn=120; translate([0, 0, -2]) difference(){ union(){ cylinder(4.3, 20, 20, center=true); translate([0, 0, -5]) english_thread (diameter=1.14, threads_per_inch=14, length=0.14, taper=1/16); } cylinder(40, 8.4, 8.4, center=true); } function segments (diameter) = min (50, ceil (d...
glb/cad_e6b227dc5329.glb
Create an OrangePiStackMount consisting of a series of interlocking walls and bridge plates. First, create a wall component. The wall is a rectangular block with a total depth of 68mm, a thickness of 10mm, and a height of 40mm. Carve a notch into the wall to accommodate a board; this notch should be 48mm deep, 10mm t...
generateType = "demo"; number_of_wall_notches = 1; number_of_horizontal_units = 4; board_depth = 48; board_width = 46; board_thickness = 10; board_headroom = 20; wall_thickness = 10; wall_depthroom = 10; wall_depth = board_depth + (wall_depthroom * 2); wall_height = board_thickness + (board_headroom * 2); interloc...
glb/cad_5ad55339b92e.glb
Create a cryptex inner shell consisting of a hollow cylinder and a base. The main body is a hollow cylinder with an inner radius of 12mm, a wall thickness of 2mm, and a height of 30mm. This cylinder sits upon a solid circular base with a radius of 15mm and a thickness of 2mm. On the exterior of the main cylinder, add ...
include <sharedparams.scad> include <rotate_extrude.scad> module InnerShell() { rotate_extrude() translate([isInnerRadius, isBaseThick]) square([isThick, isInnerHeight]); difference() { cylinder(h=isBaseThick, r=osBaseRadius); ShellBaseLineMark(radius=osBaseRadius, height...
glb/cad_688eaf7684f5.glb
Create a cryptex outer shell consisting of a hollow cylinder with an outer radius of 25mm and an inner radius of 20mm. The main body has a height of 40mm, sitting atop a base cylinder with a radius of 25mm and a thickness of 3mm. At the bottom of the shell, incorporate a chamfered transition that slopes from the oute...
include <sharedparams.scad> include <rotate_extrude.scad> include <common.scad> module OuterShell() { lockRingSlotHeight = lockRingActualHeight; module LockRingSlot() { LockRingFinger( width=lockRingFingerWidth+lockRingSlotWidthClearance, innerRadius=osInnerRadius * 0.9, ...
glb/cad_7342b30dde52.glb
Create a cryptex end cap starting with a thin cylindrical base of 1mm thickness and a radius of 10mm. On top of this base, create a decorative twisted extrusion with a height of 7.5mm. This extrusion begins as a pattern of five circles, each with a 5mm radius, arranged symmetrically around the center at a distance of 5...
include <sharedparams.scad> module EndCap() { baseRadius = osBaseRadius; baseThick = 1; translate([0, 0, -baseThick]) cylinder(r=baseRadius, h=baseThick); numLobes = 5; lobeRadius = baseRadius / 2; module Thingy2D(initialTwist=0, initialScale=1) { scale([initialScale, initial...
glb/cad_a5eea0ca647b.glb
Create a Ring Separator Tool consisting of two distinct geometric components. First, create a Label Ring Support by extruding a regular polygon with 6 corners to a height of 6mm. From this shape, remove a concentric polygonal hole with the same number of corners and a radius of 10.3mm, starting from a height of 5mm and...
include <sharedparams.scad> use <rotate_extrude.scad> use <common.scad> module RingSeparatorTool() { module LabelRingSupport() { outerRingGuideHeight = 1; outerRingGuideClearance = 0.3; outerRingGuideThick = 2; difference() { linear_extrude(ringHeight + outerRingGuid...
glb/cad_55275cd4173f.glb
Create a CameraBox mount by starting with a central pylon body. The pylon is formed by the hull of two cylinders, each with a diameter of 6.36mm and a height of 30mm, positioned apart along the Y-axis with a separation of 57.64mm between their centers. On the top surface of this pylon, centered at Z=30mm, add two iden...
$fn=100; hookSpacingY = 50; hookLength = 4.76; BottomWidth = 1.58 ; FirstVertical = 2.39; bottomWingWidth = 1.58; _2ndVertical = 0.78; _3rdVertical = _2ndVertical+0.01; TopWidth = 3.18; hookSupportX = BottomWidth + 2*bottomWingWidth; hookSupportY = hookSpacingY + hookLength; slotEpsilon...
glb/cad_a1dece3f9dcb.glb
Create a CameraBox designed as a rectangular base with a tapered internal cavity. Start by creating a solid rectangular block measuring 20mm in length, 10mm in width, and 2mm in height. Centered within this block, carve out a void that forms a tapered, wedge-like opening. The opening begins at one end as a wide rectang...
$fn=100; module nacaduct_cutout(aspect){ width = 0.1 * aspect /2 ; translate([0,0,-.1215]){ difference(){ translate([0,0,-0.0]) linear_extrude(0.122) polygon(points = [ [0,width], [0.1, width-width*0.004], [0.2, width-width*0.034], [0.3, width-width*0.234]...
glb/cad_50ee0803e8d6.glb
Create a CameraBox designed to hold a camera of 35.052mm width, 60.452mm length, and 17.78mm height. The main body is a hollowed-out shell based on a scaled sphere with a diameter of approximately 70mm, resized to 64.2mm in width, 107.7mm in length, and 29.4mm in height. The walls of this shell should be 2mm thick. Th...
include <Hooks.scad> $fn=100; cameraX = 35.052; cameraY = 60.452; cameraZ = 17.78; cameraColor = "DarkBlue"; cameraOffset = 1; cameraOffsetColor = "RoyalBlue"; enclosingSphereDiamter = sqrt(pow(cameraX+cameraOffset,2) + pow(cameraY+cameraOffset,2) + ...
glb/cad_3c3c17b57034.glb
Create a PaPiRus HAT for a Raspberry Pi Zero. Start with a main PCB base that is 65mm wide, 30mm deep, and 1.4mm thick. The base has rounded corners with a radius of 3mm. Remove two cylindrical holes with a diameter of 2.75mm, positioned centrally along the width at the edges, 3.5mm from the left and right sides and 11...
$fn=100; module female_header(pins, rows) { color("black") cube([2.54*pins,2.54*rows,3.5]); } module papirus_hat_pizero() { color("white") difference() { hull() { translate([-(65-6)/2,-(30-6)/2,0]) cylinder(r=3, h=1.4 ); translate([-(65-6)/2, (30-6)/2,0]) cylinder(r=3, h=1.4 ); ...
glb/cad_d11d8aee574e.glb
Create a printer-tweaks guide by constructing a solid block with a total width of 15mm, a total depth of 10.4mm, and a height of 15mm. The base of the block is a rectangular prism 15mm wide, 10.4mm deep, and 15mm high. On top of this base, add a section that extends the height by 6.4mm, featuring rounded top corners wi...
frame_depth = 6.4; tube_od = 3.4; wall_width = 2.0; gap = 1.5; width = 15; frame_overlap = 15; radius = 2.5; $fa = 5; $fs = 0.01; total_depth = wall_width*2 + frame_depth; top_height = tube_od + gap*2; module block_with_rounded_corners( width, height, depth, radius ) { intersection() { union() { ...
glb/cad_4f9b131201b6.glb
Create a behavioral stimulator UV LED holder by starting with a cylinder that has a diameter of 25.6mm and a height of 3.5mm. From this main body, remove several rectangular sections to create openings. First, carve out a central square hole measuring 3.7mm by 3.7mm that extends through the entire height of the cylinde...
ledx=3.55; ledy=3.55; ledz=2; tol=0.15; holdd = 25.6; module one_hole(){ translate([-(ledx+tol)/2,-(ledy+tol)/2,-5]){ cube([ledx+tol,ledy+tol,10]); } } module four_holes(){ translate([0.5,0.5,-5]){ cube([ledx+tol,ledy+tol,10]); } translate([-ledx-0.5,-ledy-0.5,-5]){ cube([ledx+tol,ledy+tol,10]); ...
glb/cad_3bf11f949860.glb
Create a behavioral stimulator frame by constructing a rectangular hollow sleeve. Start with a solid rectangular block measuring 30.4mm in width, 3mm in depth, and 41.2mm in height. From the center of this block, remove a smaller rectangular section to create a hollow interior that is 25.4mm wide, 1mm deep, and 36.2mm ...
holed=6; tol=0.15; dist2hol = 42.42; basethick=20; dichx=25.4; dichy=1; dichz=36.2; framey=3; module mount_poles(){ translate([dist2hol/2,0,0]){ cylinder(d=holed-tol,h=basethick,center=true,$fn=360); } translate([-dist2hol/2,0,0]){ cylinder(d=holed-tol,h=basethick,center=true,$fn=360); } } module main_holder(){ d...
glb/cad_3c1a62cc2853.glb
Create a PowerPoleSplitter, a two-part housing consisting of a top and bottom case. The bottom case is a hollow rectangular box with an outer width of 50mm and height of 35mm. The walls are 2mm thick. The bottom case features a rectangular cutout at the front for an input power pole connector. The interior is hollowe...
part = 1; name_enable = 1; name = "Max"; vd_enable = 1; vd_width = 22.0; vd_length = 9.9; vd_height = 6.9; vd_drill = 2.0; vd_holder_width = 6.0; vd_length_offset = 10.0; vd_hole_dist = 26.0; ipp_enable = 1; drill_diameter_top = 3.2; drill_diameter_bottom = 3.8; drill_depth_bottom = 20.0; drill_block_width = 10; h...
glb/cad_681ba903961f.glb
Create a libertango wall faceplate consisting of two identical side-by-side rectangular sections. Each section is based on a rounded-corner geometric shape with a total width of 71mm (67mm for the shape plus a 4mm gap between them). The overall structure is 30mm thick. For each of the two sections, create a primary bo...
include <tango_shape.scad> COUNT = 2; module base_shape() { hull() { scale([81/66,81/66,1]) tango_shape(8); scale([75/66,75/66,1]) tango_shape(11); } } module rounded_shape() { dd=12; intersection() { scale([100/(100+dd),100/(100+dd),100/120]) min...
glb/cad_3474f1bc9d3d.glb
Create a wall faceplate called "libertango" with a rounded, symmetrical body. Start by creating a main body that is a rounded rectangular slab. The overall outer dimensions are based on a shape approximately 58.5mm wide. Within this body, create two symmetrical screw tunnels. Each tunnel is a concentric cylinder pair:...
DOUBLE = true; ROUNDED_TOP = true; include <tango_shape.scad> module front() { if (ROUNDED_TOP) { intersection() { translate([-33,0,-104]) rotate([0,90,0]) cylinder(h=66, r=120, $fn=600); tango_shape(20); } } else tango_shape(15); } mod...
glb/cad_62f85e77790a.glb
Create a wall faceplate called libertango. The main body is a rounded rectangular shell with a thickness of 10mm. The outer perimeter is defined by a rounded shape with a height of 66mm and a width of 66mm, featuring a rounded top. Hollow out the center of the body to create a cavity. This cavity consists of a centra...
include <tango_shape.scad>; ROUNDED_TOP = true; DOUBLE = false; module front() { if (ROUNDED_TOP) { intersection() { translate([-33,0,-104]) rotate([0,90,0]) cylinder(h=66, r=120, $fn=600); tango_shape(20); } } else tango_shape(15); } m...
glb/cad_22e0bd9118e2.glb
Create a telescope gimbal azimuth base. Start by creating a main circular disk with a radius of 95mm and a thickness of 9mm. Centered within this disk, remove a concentric cylindrical core with a radius of 75mm and a height of 6mm, leaving a 20mm wide ring of material. At the bottom of the main disk, add a concentric...
use <struts.scad>; fidelity = 200; outerThickness = 9; innerThickness = 3; guideDepth = 4; guideOuterRadius = 185/2; guideInnerRadius = guideOuterRadius - 3; guideHeight = 5; outerRadius = 190/2; innerRadius = guideOuterRadius - 20; meshRadius = 103.5; bearingRadius = 31/2; bearingHolderThickness = 5; azimuthBas...
glb/cad_62579e2585cc.glb
Create a telescope gimbal lower mount consisting of a semi-circular band and two symmetrical shaft supports. First, construct a curved band by creating a hollow cylinder with an inner radius of 48mm and an outer radius of 53mm, with a total width of 30mm. Cut this cylinder in half along its length and remove a rectangu...
use <struts.scad> fidelity = 200; shaftDiameter = 10.25; shaftLength = 10+5+9; shaftOffset = 70-shaftLength+9; innerRadius = 96/2; outerRadius = innerRadius+5; bandWidth = 30; lowerMount(); module lowerMount() { copyMirror() { translate([shaftOffset,0,0]) rotate([0,90,0]) cylinder(shaftLength, r=shaf...
glb/cad_90e112d5f9ae.glb
Create a telescope gimbal motor mount. Start by creating a rectangular block with a width and depth of 42.3mm and a height of 48mm. On the top face of this block, center a cylindrical shaft with a diameter of 5mm and a height of 24mm. Around this shaft, create a circular recessed cutout with a radius of 12mm that penet...
motor(); fidelity = 200; motorLength = 48; motorWidth = 42.3; motorMountHoleOffset = 31/2; module motor(){ difference(){ translate([-motorWidth/2, -motorWidth/2, 0]) cube([motorWidth, motorWidth, motorLength]); motorMountPattern(); } translate([0,0,motorLength]) cylinder(2, 11, 11, $fn...
glb/cad_0cf4594be03e.glb
Create a telescope gimbal upper mount consisting of a semi-circular band and two integrated mounting blocks. Start by creating a hollow semi-cylindrical band with an inner radius of 48mm, an outer radius of 53mm, and a width of 30mm. The band should be a half-cylinder, sliced along its length. At each end of the band'...
use <struts.scad> fidelity = 200; innerRadius = 96/2; outerRadius = innerRadius+5; shaftDiameter = 9.75; shaftLength = 70+9-innerRadius; mountingBlockWidth = 9; bandWidth = 30; collarRadius = shaftDiameter/2+3; collarLength = shaftLength-9-mountingBlockWidth; upperMountHeight = shaftDiameter/2+3; mountingHoleOf...
glb/cad_8653e4b9a950.glb
Create a telescope gimbal azimuth spur gear. Start by constructing a gear with 10 teeth, a thickness of 8mm, and an outer diameter of 18mm. Centered on this gear, add a vertical cylindrical shaft with a diameter of 10.25mm and a total height of 29mm. The shaft should extend both above and below the gear. Finally, bore ...
use <parametric_involute_gear_v5.0.scad>; fidelity=200; gearThickness = 8; gearTeeth = 10; gearOuterDiameter = 18; shaftDiameter = 10.25; shaftLength = 9+10+gearThickness; diametralPitch = (gearTeeth+2)/gearOuterDiameter; azimuthSpur(); module azimuthSpur() { difference() { gear (number_of_teeth = gea...
glb/cad_bafb72b77f77.glb
Create a telescope gimbal base by starting with a gear that has 120 teeth, a thickness of 10mm, an outer diameter of 195mm, and an inner diameter of 175mm. From the top surface of this gear, carve out a guide slot that is 4mm deep with an outer radius of 93.5mm and an inner radius of 90mm, and a height of 5mm. On the...
use <parametric_involute_gear_v5.0.scad>; fidelity = 200; gearThickness = 10; gearTeeth = 120; gearOuterDiameter = 195; gearInnerDiameter = 175; diametralPitch = (gearTeeth+2)/gearOuterDiameter; guideDepth = 4; guideOuterRadius = 185/2+1; guideInnerRadius = guideOuterRadius - 3-0.5; guideHeight = 5; tabWidth = 10;...
glb/cad_536fcbfcdb61.glb
Create a telescope gimbal ring by constructing a hollow cylinder with a height of 9mm. The outer diameter should be 80mm and the inner diameter should be 62mm, resulting in a wall thickness of 9mm. Ensure the cylinders are smooth with high facet resolution to maintain a circular profile.
innerRadius = 31/2; outerRadius = 40/2; difference() { cylinder(9, outerRadius,outerRadius, $fn=200); cylinder(9, innerRadius,innerRadius, $fn=200); }
glb/cad_d71f4c31d61b.glb
Create a telescope gimbal consisting of two bevel gears. The first is a large gear with 24 teeth and a circular pitch of 300. This gear is integrated into a support column with a radius of 18mm and a height of 9.5mm. The column features a central vertical hole with a radius of 5.25mm and two transverse holes passing th...
use <parametric_involute_gear_v5.0.scad>; fidelity = 200; motorShaftDiameter = 5; supportRadius = 36/2; supportHeight = 9.5; shaftRadius = 10.5/2; keyHoleHeight = 5; gear1_teeth = 24; gear2_teeth = 8; axis_angle = 90; outside_circular_pitch=300; outside_pitch_radius1 = gear1_teeth * outside_circular_pitch / 360; o...
glb/cad_12a251056442.glb
Create a telescope gimbal consisting of two symmetrical mounting rings, an upper and a lower mount. Each mount is based on a hollow cylinder with an inner radius of 48mm, an outer radius of 53mm, and a width of 30mm. For the lower mount, create the hollow cylinder and add two rectangular mounting blocks, each 10mm wi...
use <struts.scad> fidelity = 200; innerRadius = 96/2; outerRadius = innerRadius+5; screwHoleOffset = 7; voidWidth = 5; shaftDiameter = 9.75; shaftLength = 70+9-innerRadius; mountingBlockWidth = 10; mountingBlockThickness = 3; bandWidth = 30; collarRadius = shaftDiameter/2+3; collarLength = shaftLength-9-mountin...
glb/cad_3ff88bc88a9c.glb
Create a telescope gimbal elevation gear. Start by constructing a gear with 120 teeth, an outer diameter of 180mm, and a thickness of 10mm. Integrate a central cylindrical hub with a height of 15mm and a diameter of 17mm (the shaft diameter of 11mm plus 6mm) that extends through the gear. Bore a central shaft hole wi...
use <parametric_involute_gear_v5.0.scad>; fidelity = 200; gearThickness = 10; gearTeeth = 120; gearOuterDiameter = 180; extraGearHeight = 15; diametralPitch = (gearTeeth+2)/gearOuterDiameter; shaftDiameter = 11; spacerDiameter = shaftDiameter + 6; spacerLength = 3; bearingThickness = 9; boreCircles = 6; boreDia...
glb/cad_a9944175a05a.glb
Create a telescope gimbal elevation motor mount. Start with a central rectangular plate that is 42.3mm wide and 3mm thick. At the center of this plate, create a cylindrical cutout with a radius of 22.5mm and a depth of 5mm to accommodate a large bevel. Add two symmetrical support structures extending from the plate. ...
use <struts.scad> use <motor.scad> fidelity = 200; plateThickness = 3; supportRadius = 5; supportFootOffset = 30; motorWidth = 42.3; motorMountHeight = 31; motorMountHoleOffset = 31/2; elevationMotorMount(); module elevationMotorMount() difference() { union() { hull() { copyMirror([0,1,0]...
glb/cad_5623f5220f68.glb
Create a telescope gimbal elevation spur by constructing a gear with 10 teeth, a thickness of 13mm, and an outer diameter of 17.7mm. Centered on this gear, add a vertical cylindrical shaft with a diameter of 10.25mm and a total height of 29mm. From this shaft, remove a horizontal cylindrical hole with a radius of 1.5mm...
use <parametric_involute_gear_v5.0.scad>; fidelity = 200; gearThickness = 13; gearTeeth = 10; gearOuterDiameter = 17.7; diametralPitch = (gearTeeth+2)/gearOuterDiameter; shaftDiameter = 10.25; shaftLength = 9+10+gearThickness; elevationSpur(); module elevationSpur() { difference() { gear (number_of_te...
glb/cad_7a66e347ec6b.glb
Create a keyboard case half for the Keebio Iris. Start by extruding a base plate based on the PCB outline, with a total height of 50mm. The main body should be a hollowed shell that follows the PCB's perimeter, offset by 2mm. Integrate five support struts at the PCB hole centers: [28.16, 46.24], [69.55, 122.88], [65.9...
$fs = 1; matias_x2 = 13.4; matias_x1a = 17.2; matias_x1b = 7.2; matias_x0 = 15.5; matias_y2 = 13; matias_y1a = 6.1; matias_y1b = 14; matias_y0 = 12.8; matias_z = 11.6; matias_z2 = 6.1; matias_z1 = 1; matias_z0 = 4.5; pcb_thickness = 1.6; pcb_hole_centers = [[28.155410, 46.238052], [69.547785, 122....
glb/cad_a8d8abe33189.glb
Create a set of four small card-storage caps. Each cap is based on a rounded rectangular prism with dimensions 66mm in length, 44mm in width, and 12mm in height, featuring an edge radius of 1mm. Every cap must have a semi-circular finger notch with a 13mm radius removed from the center of the long edges. The four caps...
module roundedCorner(radius) difference(){ cube([radius + 0.1, radius + 0.1, radius + 0.1], center=true); translate([radius/2, radius/2, radius/2]){ sphere(r = radius, $fn = 25, center = true); } } module roundedEdge(length, radius) difference(){ cube([radius + 0.1, radius + 0.1, length + 0...
glb/cad_721893bde05b.glb
Create a 3D printer mount with a total height of 11mm. Start with a central rectangular block measuring 34mm in width, 28mm in depth, and 11mm in height. Subtract a central vertical void to accommodate a hotend, consisting of three stacked cylinders: a bottom cylinder with a radius of 8.2mm and height of 7mm, a middl...
fnresolution = 0.4; height=11; diametre_M4=4; head_M4=8; bolt_M4=8.5; mount(); module mount(){ translate([0, height/2, 0]){ difference(){ translate([0, 0, 14]) rotate([90, 0, 0]) support(); flange(); } translate([23, -height/2, 2]) cylinder(h=4, r=3.1/2, center=true, $fn=30); differen...
glb/cad_054413be2c41.glb
Create a 3D model of a motor mount and gear assembly. Start by constructing the main motor body as a cylinder with a radius of 24.75mm and a height of 29mm, centered on the Z-axis. Create a flat mounting plate by forming a hull between a central cylinder with a radius of 24.75mm and height of 0.5mm, and two smaller cyl...
module motor_PM49M(){ difference(){ union(){ translate([0, 0, -29/2]) cylinder(h=29, r=49.5/2, center=true, $fn=60); hull(){ translate([(49.5+5+4)/2, 0, -0.5/2]) cylinder(h=0.5, r=(5+4)/2, center=true, $fn=60); translate([0, 0, -0.5/2]) cylinder(h=0.5, r=49.5/2, center=true, ...
glb/cad_b8c16fcb5e52.glb
Create a 3D printer parts adapter consisting of two main joined sections. First, create a base body by combining a 37mm x 37mm x 7mm cube with an adjacent 63mm x 16mm x 7mm rectangular block. From this combined volume, remove several vertical cylindrical holes to create mounting points. Specifically, place two 4mm diam...
diametre_M4=4; head_M4=8; bolt_M4=8.5; module adapter() { difference(){ union(){ translate([-7, -7, 0]) cube([37, 37, 7]); translate([-4-6-20, -3.5+7, 0]) cube([43+20, 16, 7]); } translate([-3.5, 11.5, 3.5]) cylinder(h=20, r=diametre_M4/2, $fn=30); translate([-3.5, 11.5, 0]) cylinder(h...
glb/cad_3c83c67db63f.glb
Create a mounting bracket for 3D printer rods. Start with a central rectangular base plate measuring 53mm in length, 11mm in width, and 16mm in height. At each end of this plate, centered 45mm apart, create a cylindrical snap-fit clip with an outer diameter of 14mm and an inner diameter of 8mm, extending the full 16mm ...
rod_d=8; rod_spacing=45; mount_hole_spacing=18.9; mount_hole_d=3; mount_nut_d=6.5; stop_offset=0; nut=6; thick=16; wall=2; mount_plate_width=mount_hole_d+wall; mount_plate_length=rod_spacing+4; difference() { union() { translate([rod_spacing/2,0,0]) rod_snap(rod_d, rod_d+wall*3, thick); translate(...
glb/cad_d210164bab54.glb
Create a mounting bracket for 3D printer parts consisting of a central rectangular plate and two cylindrical rod snaps. The central plate is a rectangular block 16mm thick, 17mm long, and 11mm wide. Position two cylindrical snaps on opposite sides of the plate, spaced 27mm apart from center to center. The first snap is...
rod_d1=8; rod_d2=6; rod_spacing=27; mount_hole_spacing=18.9; mount_hole_d=3; mount_nut_d=6.5; stop_offset=0; nut=6; thick=16; wall=2; mount_plate_width=mount_hole_d+wall; mount_plate_length=rod_spacing-1; module mount(){ difference() { union() { translate([rod_spacing/2, 0, 5]) rod_snap(rod_d1, rod_d1+wal...
glb/cad_ffd87ed7ba62.glb
Create a Y-idler base for a 3D printer by constructing a composite solid and removing specific holes. Start with a base composed of two cylinders, each with a radius of 8mm and a height of 19mm, positioned 20mm apart center-to-center along the y-axis. Connect these cylinders with a central rectangular block measuring 1...
module y_idler_base(){ translate(v = [0, 0, 0]) cylinder(h = 19, r=8); translate(v = [0, 20, 0]) cylinder(h = 19, r=8); translate(v = [0, 10, 9.5]) cube(size = [16, 20, 19], center=true); translate(v = [-4, 10, 9.5]) cube(size = [8, 16+20, 19], center=true); } module y_idler_holes(){ translate(v = [0, 0, -25]) c...
glb/cad_b2e3a5843611.glb
Create a 3D model of a printer part mount. Start with a main rectangular plate measuring 55mm in width, 55mm in length, and 5mm in thickness. At the center of the plate, create a circular cutout with a radius of 9mm and a height of 5mm. On the side edges of the plate, incorporate two cylindrical holes with a radius o...
$fn=100; r_body = 21; r_hole = 1.75; r_ear = 3.75; plate_width = 55; plate_length = 55; plate_thickness = 5; plate_hight = 18; r_screw=2; r_screw_head=4.5; module mount(){ difference(){ translate([-plate_width/2, -plate_length/2, 0]) cube([plate_width, plate_length, plate_thickness]); difference(){...
glb/cad_623c9cfa16f7.glb
Create a 3D model of a printer part mount. Start with a rectangular base plate measuring 52.5mm in width and 52.5mm in length, with a thickness of 5mm. At the center of this plate, create a circular cutout with a radius of 26.25mm and a depth of 5mm. Within this central area, place a cylindrical hole with a radius of...
$fn=100; r_body = 21; r_hole = 1.75; r_ear = 3.75; plate_width = 52.5; plate_length = 52.5; plate_thickness = 5; plate_hight = 18; r_screw=2; r_screw_head=4.5; module mount(){ difference(){ translate([-plate_width/2, -plate_length/2, 0]) cube([plate_width, plate_length*3/4, plate_thickness]); tran...
glb/cad_c0c095a642a3.glb
Create a small chair model using rectangular prisms. Start by placing four vertical legs, each measuring 0.05mm by 0.05mm with a height of 0.45mm. Position one leg at the origin (0,0,0), one at (0.40,0,0), one at (0.40,0.40,0), and one at (0,0.40,0). For the two legs at (0.40,0.40,0) and (0,0.40,0), increase their heig...
module sedia() { cube([0.05,0.05,0.45]); translate([0.40,0,0]) cube([0.05,0.05,0.45]); translate([0.40,0.40,0]) cube([0.05,0.05,0.80]); translate([0,0.40,0]) cube([0.05,0.05,0.80]); translate([0,0,0.40]) cube([0.45,0.45,0.05]); translate([0,0.40,0.50]) cube([0.45,0.05,0.30]); } sedia();
glb/cad_c2a0b0314198.glb
Create a classroom scene containing walls, furniture, and equipment. Construct the room boundaries using thick walls 290mm high. The south wall includes two recessed heating units, each consisting of a rectangular body 120mm wide and 45mm high with cylindrical end-caps of 5mm radius. The west wall is 883mm long, and ...
module tavolo_1(){ union(){ translate([0,0,69]) cube([140, 80, 3]); translate([11,11,0]) rotate(a=90, v=[0,0,1]) cylinder($fn=3, r=7, h=69); translate([129,11,0]) rotate(a=90, v=[0,0,1]) cylinder($fn=3, r=7, h=69); translate...
glb/cad_1283bd6e0baf.glb
Create a mounting bracket for a jar. Start by creating a central rectangular mounting plate that is 2.1mm thick, 47mm long, and 8mm wide. To this plate, attach two flexible arms. Each arm should be a curved slab with a thickness of 2.1mm and a width of 8mm, forming an arc with an outer radius of 35mm and an angular spa...
use <arc.scad> neck_diameter = 47; jar_outside_diameter = 70; mounting_hole_diameter = 3; mounting_hole_separation = 30; flex_angle = 120; assembly_thickness = 2.1; assembly_width = 8; difference() { union() { translate([-assembly_thickness/2, -neck_diameter/2, 0]) cube([assembly_thickne...
glb/cad_49217073f6a7.glb
Create a b-hydro hydroponic tank nozzle. Start by creating a solid block that serves as the main body. From this body, remove a cylindrical core with a diameter of 36mm and a height of 10mm, centered within the part. To form the nozzle's exterior, create a larger cylindrical shell with an outer diameter of 40mm. Inte...
include <lib/s-hydro/lib/hydroponics.scad> include <conf/large_config.scad> include <lib/v-hydro/lib/nozzle.scad> tank_nozzle(); module tank_nozzle(nl=ndo*2,nh=b*2) { rotate(90){ difference() { finish_inset3(); rotate(-45-90) { translate([0, y/2-b/2, nh]) { rotate([90,0,0]) { ...
glb/cad_f0b9f5f81796.glb
Create a b-hydro hydroponic component. Start by constructing a main vertical cylindrical body with an outer diameter of 60mm and a height of 50mm. At the top of this body, integrate a funnel-shaped section that transitions from the 60mm outer diameter to a wider opening of 90mm over a height of 20mm. Inside this funn...
include <lib/s-hydro/lib/hydroponics.scad> include <lib/v-hydro/lib/nozzle.scad> include <conf/large_config.scad> do=d; hf=tl; fo=bd*1.5; siphon2(); cover_inlet2(); module cover() { difference() { cylinder(d=bd*2+w*2, h=wb-tl+hf+w); cylinder(d=bd*2, h=(wb-tl+hf)*2,center=true); } } module cover_inl...
glb/cad_50b5b6cb86bb.glb
Create a b-hydro siphon nozzle. Start by constructing a central nozzle assembly. Create a tapered cylinder that transitions from a base diameter of 5mm to a top diameter of 10mm over a height of 20mm. Inside this, remove a smaller concentric cylinder with a diameter of 5mm to create a hollow shell. At the top of this ...
include <lib/v-hydro/hydroponics.scad> include <lib/v-hydro/lib/nozzle.scad> include <conf/large_config.scad> do=d; hf=tl; w=1.5; siphon(); module cover() { translate([0, 0, wb-hf*2]) { cover_inlet(); translate([0, 0, ts*2]) { funnel(); } } } module cover_inlet() { male(); translate([0, ...
glb/cad_b8f925cc0df3.glb
Create a b-hydro device by starting with a main ring. This ring is a hollow cylinder with an outer diameter of 70mm, a height of 20mm, and a wall thickness of 1.5mm. Inside this ring, remove a central cylindrical section with a diameter of 40mm (calculated as the outer diameter minus 30mm) that spans the full height. ...
outer_diameter = 70; wall_thickness = 1.5; width = 15; height = 20; thin = 0.01; angle = 25; p=outer_diameter * 0.33; rotate([-angle, 0, 0]) { assembly(); } module mantle(){ intersection(){ translate([0,-outer_diameter/2,-height/2-thin]) cylinder(d=outer_diameter-width, h=height*2); translate([0,-w...
glb/cad_42283efd29d8.glb
Create a 3D model of a frequency visualization consisting of 20 stacked, thin layers. Each layer is a flat plate with a thickness of 1mm. The base of each plate is a rectangle extending from -360 to 360 on the X-axis and -1 on the Y-axis. The top edge of each plate is defined by a cosine wave with an amplitude of 1 uni...
sum = false; frequencies = [.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6, 6.5, 7, 7.5, 8, 8.5, 9, 9.5, 10]; range = [-360, 360]; function f(x, y) = cos(x * y) * (cos(30 * x) + 0 * cos(30 * x)); scale([1/7.2, 10, 5]) for(f = [0:len(frequencies) - 1]) translate([0, 0, f]) linear_extrude(1) polygon(concat([...
glb/cad_9bd20751f642.glb
Create a Cartesian grid model composed of a series of interconnected square prisms. Start by constructing a large cube with a total side length of 135mm (9 units of 15mm). Within this volume, create a network of intersecting bars, each 3mm thick, that run parallel to the X, Y, and Z axes. Every intersection point whe...
grid = 15; size = 3; segments = false; if(segments) { %grid(); segment(); } else { grid(); %segment(); } module grid() difference() { linear_extrude(grid * size * 2, center = true, convexity = 5) difference() { square(grid * size * 2, center = true); for(i = [0, 1]) mirror([i, -i, 0]) for(i = [0, 1]) mirror...
glb/cad_841dd08d420e.glb
Create a 3D visualization of a logistic equation curve composed of 13 sequential rectangular slabs. Each slab must have a width of 5mm along the y-axis and be spaced 5mm apart. The slabs are positioned along the y-axis starting from y=5mm up to y=65mm. For each slab, the height along the z-axis and the length along the...
a = 0.2; w = 5; offset = 25; K = 50; for(i = [1:13]) translate([0, i * w, 0]) f(h = i); module f(i = 0, h, start = 1, end= 2*3*4*3) { cube([h, w, start + offset]); if (i < (end - h) ) translate([h, 0, 0]) f( i + h, h, start *(1 + h*a) - h * a * start*start / K, end); }
glb/cad_1751e859fe34.glb
Create a Hacker-Calculus-model in the shape of a right circular cone. The cone must have a total height of 90mm and a total volume of 50,000 cubic millimeters. To achieve this specific volume and height, calculate the required radius for the circular base such that the volume equals one-third of the base area multiplie...
offset = [0, 0]; v = 50000; h = 90; n = 300; a = v / h * 3; s = 2 * sqrt(a * tan(180 / n) / n); apothem = (2 * a / n / s); r = apothem / cos(180 / n); linear_extrude(h, scale = 0) translate(offset) difference(){ circle(r, $fn = n); square(r); } echo(str("base-sectional area: ", a)); echo(str("side: ", s)); echo(s...
glb/cad_492cf2c21ec8.glb
Create a 3D model of a Hacker-Calculus-model consisting of two intersecting, extruded curved plates. First, create a plate by extruding a 2D profile with a thickness of 1.5mm. The profile is defined by a function where the height varies as a sine wave combined with a linear slope: $f(x) = 5\sin(x) + 8x$ for $x$ rangi...
xmin = 0; xmax = 7; step = (xmax - xmin) / 100; c = 0; c = f(xmin); xunit = 10; thick = 1.5; openwidth = 10; xmark = .2; function f(x) = sin(x * 180 / PI) * 5 + x * 8; function d(x) = cos(x * 180 / PI) * 5 + 8; x = [for(x = [xmin:step:xmax + step / 2]) x]; integral = integrate([for(x = x) d(x) * step], c); $fs =...
glb/cad_92c393d7e7c1.glb
Create a 3D model of a Lotka-Volterra plot. The object is a solid volume defined by the intersection of two extruded polygons that represent the predator-prey population dynamics over time. The primary shape is formed by extruding a 2D area along the Z-axis to a height of 1000mm. This area is defined by the overlap o...
timestep = .1; oversample = 30; length = 20; xyscale = 25; zscale = 6; originmarker = 0; line = 0; minthick = 1; a = 2/3; b = 4/3; p = 1; q = 1; K = 0; start = [.5 * p/d, 1 * a/b]; start = [0.6, 0.4]; axis = [1, 0, 0]; $fs = .2; $fa = 2; function x(x, y) = x + timestep / oversample * (a * x * (K ? (1 - x / K) : ...
glb/cad_48f402e6434a.glb
Create a 3D surface model of a Lotka-Volterra phase space plot. The model should be contained within a square base measuring 90mm by 90mm. The height of the surface at any point (x, y) is defined by the function $z = 200 \cdot \exp(-(\frac{4}{3} \cdot \frac{y}{25} - \frac{2}{3} \cdot \ln(\frac{y}{25}) + \frac{x}{25} - ...
xyfactor = 25; zfactor = 200; a = 2/3; b = 4/3; p = 1; q = 1; function f(x, y) = zfactor * exp(-((b * (y + 0) / xyfactor - a * ln((y + 0) / xyfactor) + q * (x + 0) / xyfactor - p * ln((x + 0) / xyfactor)))); starts = [[.4, .6], [.4, 1.2], [1.2, 0.6], [1.2, 2.2]]; orbitheight = .4; t = 0; range = [90, 90]; res = 1;...
glb/cad_b62a21f67250.glb
Create a 3D model of a cross-product representation. Start by creating a rectangular slab 60mm long, 3mm wide, and 1mm thick, centered along its width on the X-axis. Duplicate this slab and rotate it 120 degrees around the Z-axis to create a second arm, then form a convex hull that connects these two slabs into a singl...
$fs = .2; $fa = 2; angle = 120; width = 3; hull() { translate([0, -width/2, 0]) cube([60, width, 1]); rotate([0,0,angle]) translate([0, -width/2, 0]) cube([60, width, 1]); } translate([0, -width/2, 0]) cube([60, width, 7]); rotate([0,0,angle]) translate([0, -width/2, 0]) cube([60, width, 9]); cylinder(r=4, ...
glb/cad_1c653bf6ab7e.glb
Create a 3D model of a Hacker-Calculus exponential decay visualization consisting of 13 rectangular prisms arranged in a row along the y-axis. Each prism has a constant width of 5mm in the y-direction and is spaced 5mm apart. The prisms are positioned such that their base starts at a height of 25mm above the xz-plane. ...
a = -0.12; w = 5; offset = 25; for(i = [1:13]) translate([0, i * w, 0]) f(h = i); module f(i = 0, h, start = 30, end= 2*3*4*3) { cube([h, w, start + offset]); if (i < (end - h) ) translate([h, 0, 0]) f(i + h, h, start*(1+ h * a), end); }
glb/cad_01f20332e781.glb
Create a 3D solid for the Hacker-Calculus-model by defining a profile based on the intersection of two distinct areas along a shared axis. The object extends from z = 0 to z = 100 mm. For the first profile, the width at any point z is defined by the function 10 * cos(z * 10) + 20. For the second profile, the width is d...
zmax = 100; step = .1; function x(z) = 10 * cos(z * 10) + 20; function y(z) = .01 * pow(z - 50, 2) + 10; intersection() { rotate([0, -90, 0]) linear_extrude(1000, convexity = 5) polygon(concat([[zmax, 0], [0, 0]], [for(z = [0:step:zmax]) [z, x(z)]])); rotate([0, -90, 90]) mirror([0, 0, 1]) linear_extrude(1000, conv...
glb/cad_0f02a7911a2f.glb
Create a Hacker-Calculus-model in the shape of a right circular cone. The cone must have a total height of 90mm and a total volume of 50,000 cubic millimeters. To achieve this volume and height, the base of the cone should be a circle with a radius of approximately 13.3mm. The geometry should be constructed as a solid,...
v = 50000; h = 90; n = 300; wall = 1; tol = .2; lid = true; lip = .25; ball = 6; offset = [0, 0]; a = v / h * 3; s = 2 * sqrt(a * tan(180 / n) / n); apothem = (2 * a / n / s); r = apothem / cos(180 / n); cylinders = 0; if(cylinders) for(i = [0:cylinders - 1]) translate([offset[0] * (1 - i / cylinders), offset[1] *...
glb/cad_0f809864c5d0.glb
Create a Hacker-Calculus-model consisting of three stacked cylinders of decreasing radii, all centered on the same vertical axis. The total height of the object is 90mm, with each of the three cylinders having an equal height of 30mm. The cylinders are arranged such that the bottom cylinder is the widest, the middle is...
cylinders = 3; offset = [0, 0]; v = 50000; h = 90; n = 300; a = v / h * 3; s = 2 * sqrt(a * tan(180 / n) / n); apothem = (2 * a / n / s); r = apothem / cos(180 / n); if(cylinders) for(i = [0:cylinders - 1]) translate([offset[0] * (1 - i / cylinders), offset[1] * (1 - i / cylinders), i * h / cylinders]) cylinder(r = ...
glb/cad_1695667f74da.glb
Create a Steinberger adapter for single-ball strings. Start with a central body consisting of a cylinder with a radius of 4.04mm and length of 5.31mm, centered on the X-axis. Flanking this, add two cylinders with a radius of 3.43mm and length of 2.4mm, positioned symmetrically at a distance of 10mm apart. Construct a ...
use <torus.scad> use <screw-thread.scad> minimalist = false; string_spacing = 7; number_of_strings = 6; string_bend_radius = 4; string_bend_points = 24; channel_radius = 1; channel_points = 12; kick_angle = 15.945; neck_points = 64; truss_plug_radius = 4.04; truss_plug_length = 5.31; truss_plug_points = 24; truss...
glb/cad_f80c946e64bf.glb
Create a Steinberger adapter by constructing a threaded cylinder. The overall height of the object is 100mm. The main body is a screw thread with an outer radius of 8mm and an inner radius of 7mm. The thread is designed with a pitch of 3mm per full revolution, meaning the thread completes 8 full rotations over its leng...
module screw_thread ( points_per_revolution, height_per_revolution, height, inner_radius, outer_radius ) { number_of_points = ceil(points_per_revolution * height / height_per_revolution) + points_per_revolution * 2; inner_points = [for(point = [0:number_of_points])[ sin(-360 * point...
glb/cad_de11e18d3ca7.glb
Create a Steinberger adapter by constructing a low-resolution torus. The shape should be formed by rotating a small circle around a central axis. The circle used for the cross-section must have a diameter of 5mm and be positioned so that the resulting torus has an inner radius of 10mm and an outer radius of 15mm. To ac...
module torus( inner_radius, outer_radius, major_points, minor_points ) { rotate_extrude($fn = major_points) { translate([(inner_radius + outer_radius) * 0.5, 0, 0]) { circle(d = outer_radius - inner_radius, $fn = minor_points); } } }; torus(10, 15, 8, 4);
glb/cad_3f672f015694.glb
Create a fan-to-duct adapter. Start with a square base plate measuring 120mm by 120mm with a thickness of 5mm. Center a circular hole through this plate with a radius of 57mm. At each of the four corners of the square plate, place a circular screw hole with a diameter of 5.5mm. On top of the base plate, add a conical ...
fan_size = 6; duct_size = 100; adapter_length = 50; adapter_thickness = 3; fan_interface_thickness = 5; union() { $fn = 64; fan_sizes = [40, 50, 60, 70, 80, 92, 120, 140, 200, 220]; screw_distances = [32, 40, 50, 60, 72, 83, 105, 124.5, 154, 170]; screw_distance = screw_distances[fan_size]; fa...
glb/cad_0c9702f8dd2e.glb
Create a thin rectangular plate measuring 63.5mm wide, 88.9mm long, and 0.35mm thick. Round all four corners with a radius of 6mm. On the top surface of the plate, add two embossed text markings, each 10mm in size and 0.05mm high. Position the first marking in the top-left area, offset 5mm from the left and top edges...
thickness = 0.35; layer_height = 0.05; card_style = "poker"; card_value = "A"; card_suit = "\u2660"; font = ""; font_size = 10; text_offset = 5; difference() { $fn=64; length = card_style == "poker" ? 88.9 : 88.9; width = card_style == "poker" ? 63.50 : 57.15; radius = 6; cube([width, length,...
glb/cad_e45ed6ecd91b.glb
Create a stylized car model. Start with a main chassis as a rectangular block measuring 1460mm in length, 500mm in width, and 20mm in height. Position four wheels at the corners of the chassis. Each wheel is a ring created by rotating a profile consisting of a 25mm diameter outer circle and a 10mm diameter inner circl...
toleranta = 1; module roata(diametru_exterior, diametru_interior) { rotate_extrude(){ difference(){ union(){ translate([100,0,0]) circle(diametru_exterior); translate([50,0,0]) circle(diametru_exterior); translate([15,0,0]) circle(diametru_interior); ...
glb/cad_05d0a36be59f.glb
Create a fid spin tool consisting of a main body and three separate weights. Start with the main body: a flat plate 20mm thick, based on a custom profile, with a central vertical hole 64mm in diameter (32mm radius). Cut three larger circular holes through the body, each 48.5mm in radius and 22mm deep, positioned at the...
fid_spin( thikness = 20, center_hole_r = 32, weight_r = 48, weight_center_hole_r = 20, weight_chamfere_c_r = 24, weight_chamfere_s_r = 12 ); module fid_spin(thikness, center_hole_r = 32, weight_r = 48, weight_center_hole_r = 20, weight_chamfere_c_r = 24, weight_chamfere_s_r = 12) { fid_spin...
glb/cad_8695b96b2118.glb