Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a Twirre drone test platform part with a uniform thickness of 2.8mm. Start by forming a main flat base defined by a polygon with vertices at [-9, 0], [35, -60], [110, -60], and [110, 0]. On this base, add two identical hook structures: one at the origin and one translated to [76.6, 0, 0]. Each hook is composed o... | $thickness = 2.8;
module hook(){
difference(){
union(){
cube([10,5,$thickness]);
translate([0,5,0])cube([25,7,$thickness]);
linear_extrude(height = $thickness)
polygon(points=
[[0,0],
[-9,0],
[0,12]... | glb/cad_c06624703a20.glb |
Create two identical rectangular plates for a drone test platform, each measuring 50mm in length, 37.2mm in width, and 2mm in height. For each plate, place four 3.2mm diameter holes through the thickness, positioned 2.6mm from the edges at each of the four corners.
On one of the plates, add a centered mounting socket... | $_plateLenght = 50;
$_plateWidth = 29.2;
$_plateHeight = 2;
$_plateBaseHeight = 1.6;
$_poleDia = 11;
$_poleMountHeight = 30;
$_poleClearanceTop = 4;
$_poleClearanceBot = 31;
$_boltDia = 3.2;
$_boltClearance = 2;
module bolt(){
cylinder(d=$_boltDia,$_plateHeight*3,$fn=15);
}
module bottomPlate(){
difference(){... | glb/cad_142bab9c47b4.glb |
Create a sonar mount for a drone test platform. Start by constructing a rectangular base plate measuring 44.1mm in length, 20.478mm in width, and 3mm in height. On the top surface of this base, place a smaller rectangular block measuring 30mm by 10mm by 3mm, positioned such that it is offset from the center. To finish ... | include <lib/railSystem.scad>;
module sonarMount(){
rotate([0,180,0])
translate([-5,0,0])railMount(30,2);
translate([-38.1/2 -10, -14.478 - 15, -10])
difference(){
union(){
translate([-3,-3,0])cube([38.1 + 6,14.478 + 6,3]);
translate([38.1/2 - 15,10,0])cube([30,10,3]);
... | glb/cad_e63998787b8e.glb |
Create a sonar mount for a drone test platform. Start by constructing a base plate consisting of two joined rectangular blocks: one main block measuring 44.1mm by 20.478mm by 3mm, and a second smaller block measuring 30mm by 10mm by 3mm attached to its side. From this combined volume, remove two vertical holes. Each ho... | include <lib/railSystem.scad>;
module sonarMount(){
rotate([0,90,0])
translate([-20,0,-10])railMount(30,2);
translate([-38.1/2 -10, -14.478 - 15, -10])
difference(){
union(){
translate([-3,-3,0])cube([38.1 + 6,14.478 + 6,3]);
translate([38.1/2 - 15,10,0])cube([30,10,3])... | glb/cad_7bbcd373d167.glb |
Create a Twirre drone test platform component consisting of a base plate and a mounting cap. First, construct a base assembly by combining a rectangular block measuring 60mm by 36mm by 5mm and a second rectangular block measuring 35mm by 80mm by 5mm, positioned adjacent to the first. Integrate two mirrored cubic volume... | include <lib/flamewheel.scad>;
module arduino(){
translate([0,0,0])
cylinder(d=3,20,$fn=10);
translate([15.2,50.8,0])
cylinder(d=3,20,$fn=10);
translate([15.2 + 27.9,50.8,0])
cylinder(d=3,20,$fn=10);
translate([0,50.8 + 24.1,0])
cylinder(d=3,20,$fn=10);
translate([1... | glb/cad_d325d0500cbd.glb |
Create a sonoff watering irrigation timer housing by starting with a sphere of radius 12mm, which is then resized to 28mm in width, 16mm in depth, and 20mm in height. Hollow out the center of this shape by removing a concentric sphere with a radius of 10mm. To create a flat base, remove a cube of 30mm per side position... | difference() {
resize([28,16,20])
union() {
difference() {
sphere(r = 12);
sphere(r = 10);
translate([-15, -15, -30]) {cube(size =[30,30,30]);};
}
translate([0, 0, -8+0.1])
difference() {
cylin... | glb/cad_9a355079f4f8.glb |
Create a protective pod for a drone frame by constructing a rectangular bridge with cylindrical mounting holes at each end. The bridge should be 30.5mm long, 2mm thick, and 4mm high.
At each end of the bridge, center a cylindrical hole with a diameter of 5.54mm (the 5.04mm standoff diameter plus a 0.5mm tolerance) th... | STANDOFF_DISTANCE = 30.5;
STANDOFF_DIAMETER = 5.04;
MOUNT_THICKNESS = 2;
STANDOFF_HEIGHT = 30;
BRIDGE_OFFSET = -2.52;
TOLERANCE = 0.5;
$fn = 128;
pod(STANDOFF_DISTANCE, STANDOFF_DIAMETER, STANDOFF_HEIGHT, BRIDGE_OFFSET, TOLERANCE);
module frame_skeleton(standoff_distance, standoff_diameter, standoff_height) {
ba... | glb/cad_65c0d8a0ee03.glb |
Create a 3D printing calibration tower consisting of nine stacked cubes, each 20mm x 20mm x 10mm, resting on a 30mm x 30mm base. The cubes are stacked vertically to a total height of 90mm.
Each 10mm block is a hollow shell with a wall thickness of 1.2mm. Every block contains a centered temperature label embossed on th... | DoYouUnderstandYouMustModifyTheGCodeThisMakes=7;
Labels=["230", "225", "220", "215","210","205","200","195","190"];
NumberOfBlocks = len(Labels);
ReverseLabelOrder=0;
Reverse=ReverseLabelOrder == 1;
BlockSize=[20, 20, 10];
WallThickness=1.2;
TopOfTriangleThickness=2;
TowerBase=[30, 30, 0];
FontFace=0;
FontFacesInCu... | glb/cad_646e6a034080.glb |
Create a projector clip by starting with a hollow cylinder that has an outer diameter of 14mm, an inner diameter of 10mm, and a height of 20mm, centered on the Z-axis. To create the clip opening, remove a rectangular section from the cylinder using three intersecting blocks. Position the first block at the base, with d... | $fn=100;
diameterPipe = 10;
thickness = 2;
height = 20;
partitionDepth = 0.65*diameterPipe+thickness;
diameterBit = 3;
heightBit = 3;
module projektorClip() {
difference() {
cylinder(r=(diameterPipe/2)+thickness, h=height, center = true);
cylinder(r=diameterPipe/2, h=height, center=true);
... | glb/cad_3c6a6367a59e.glb |
Create a hollowed-out prism with a length of 20mm, a width of 10mm, and a height of 15mm. The outer shell is defined by a polyhedron with vertices at [0,0,18], [20,0,18], [20,10,0], [0,10,0], [0,10,15], and [20,10,15]. To create the interior cavity, remove a smaller concentric prism from the center. This inner void sho... | module gripRecess01(
width=10,
height=10,
wallThickness=2,
gripDepth=5
) {
cube([1, 1, 1]);
sphere(r = 10);
};
module gripRecess02() {
}
module prism(l, w, h){
polyhedron(
points=[[0,0,h*1.2], [l,0,h*1.2], [l,w,0], [0,w,0], [0,w,h], [l,w,h]],
faces=[[0,1,2,3],... | glb/cad_a937ff49f9fd.glb |
Create a relay mount consisting of two separate symmetrical bracket components.
First, create a base bracket by starting with a solid rectangular block measuring 22.2mm in width, 8mm in depth, and 5mm in height. From this block, remove a central rectangular section measuring 18.2mm in width, 3mm in depth, and 1.5mm i... | pcbWidth = 18.2;
pcbDepth = 53.4;
pcbHeight = 1.5;
bottomGap = 3.5;
$fn = 50;
holeDiameter = 2.5;
holeDistanceX = 14.2;
holeDistanceY = 49.2;
module pcb() {
$fn = 50;
holeDiameter = 3.0;
holeDistanceX = 14.2;
holeDistanceY = 49.2;
difference() {
translate([-pcbWidth/2,-pcbDepth/2,0]) {
... | glb/cad_cd57dd0c13ef.glb |
Create a USB mount consisting of a base plate and a vertical backing. Start by creating a rectangular base plate 13.7mm wide, 15.1mm deep, and 1.7mm thick. In this base, place two circular holes with a diameter of 3.0mm each. These holes should be centered along the width and positioned 9.2mm from the front edge, space... | pcbWidth = 13.7;
pcbDepth = 15.1;
pcbHeight = 1.7;
module pcb() {
$fn = 50;
holeDiameter = 3.0;
holeDistanceX = 8.2;
holeDistanceY = 9.2;
difference() {
translate([-pcbWidth/2,0,0]) {
cube([pcbWidth, pcbDepth, pcbHeight]);
};
translate([holeDistanceX/2,holeDista... | glb/cad_6df3123db01b.glb |
Create a 3D model consisting of two rectangular prisms. First, construct a tall vertical body with a square base of 20mm by 20mm and a height of 100mm. Then, create a second, smaller rectangular prism measuring 20mm by 20mm by 10mm. Position this smaller prism so that it sits on the same base plane as the tall body, bu... | lightHeight = 100;
slatWidth = 40;
slatHeight = 5;
slatAngle = 30;
slatCountFront = 3;
slatCountSide = 3;
screwBottom = "yes";
module branch() {
cube([20,20,10]);
};
module top() {
};
module body() {
cube([20,20,lightHeight]);
};
module main() {
body();
translate([0,-30,0]) {
branch();
};
};
main... | glb/cad_b1d215d874de.glb |
Create a display cover for a small electronic module. Start by creating a rectangular base block with an outer dimension of 30.6mm in width, 29.4mm in depth, and 6mm in height.
Hollow out the center of this block to create a rectangular frame with a wall thickness of 2mm. The resulting interior cavity should be 26.6m... | $fn=150;
module case(
bottomThickness,
wallThickness,
width,
depth,
height
) {
difference() {
minkowski() {
cube([width,depth,height]);
cylinder(r=2,h=bottomThickness);
}
translate([0,0,bottomThickness]) {
cube([width,depth,height]);
};
}
}
module slottedHole(action="all", diame... | glb/cad_39a557891d69.glb |
Create a display holder for a PCB with an overall outer dimension of 42.8mm in width, 72mm in depth, and 18mm in height. The walls of the holder are 2mm thick.
Start with a solid block of these dimensions and remove a central rectangular section to create a hollow shell. From this shell, carve out a space for the PCB... | bodyWidth = 130;
bodyDepth = 80;
bodyHeight = 40;
shellThickness = 4;
glassThickness = 2.1;
inlayHeight = 18;
module bottom() {
borderThickness = 1.5;
difference() {
cube([bodyWidth, bodyDepth, bodyHeight]);
translate([shellThickness,
shellThickness,
bodyHeight-(2*glassThickness+... | glb/cad_13288e7e6733.glb |
Create a set of 25 identical small cylinders, arranged in a 5x5 grid. Each cylinder must have a radius of 3.8mm and a height of 2.0mm. Position the cylinders so that their centers are spaced 7.6mm apart along both the X and Y axes, ensuring they are placed side-by-side with no overlap. | $fn=50;
height = 60.0;
rInner = 11.0;
rOuter = 25.0;
magnetHeight = 1.8;
magnetRadius = 4.0;
magnetPipeHeight = height-(10+35);
magnetPipeDiameter = 6.0;
magnetDist = rInner+magnetPipeDiameter-1.0;
module pipe(rInner, rOuter, height, center=false) {
difference() {
cylinder(h=height, r=rOuter, center=cente... | glb/cad_d6561c4081f3.glb |
Create a set of nine hollow cylindrical bolts arranged in a 3x3 grid on a flat plane. Each bolt must have a height of 5mm. The bolts are organized by outer diameter and inner hole diameter.
For the first row (y=0), create three bolts with outer diameters of 6mm, 8mm, and 10mm, all featuring a centered inner hole with... | $fn=100;
module screwBolt(diameterBolt, diameterScrew, height) {
difference() {
cylinder(r=diameterBolt/2, h= height);
cylinder(r=diameterScrew/2, h= height);
};
};
module main() {
translate([0, 0, 0]) {
screwBolt(6, 2.2, 5);
};
translate([10, 0, 0]) {
screwBolt(8, 2.2, 5);
}
translate([20, 0, 0]) {
screw... | glb/cad_110fb82a38bd.glb |
Create an I-beam structural component with a total length of 100mm and a total height of 15mm. Construct the shape using three rectangular sections: two horizontal flanges and one vertical web.
First, create the lower flange as a rectangular prism measuring 100mm in length, 10mm in width, and 2mm in height, positione... | module beam_I(
beamLength=100, beamHeight=15,
flangeWidth=10, flangeThickness=2, webThickness=1
) {
cube([beamLength, flangeWidth, flangeThickness]);
translate([0, 0, beamHeight-flangeThickness]) {
cube([beamLength, flangeWidth, flangeThickness]);
};
translate([0, flangeWidth/2-webThi... | glb/cad_10bc1a4b3bbc.glb |
Create a shower button component by combining a cylindrical base with a spherical top. Start with a solid cylinder that has a diameter of 20.5mm and a height of 10mm. Centered on top of this cylinder, place a sphere with a diameter of 30mm such that its center point is exactly 15mm above the bottom of the base. To crea... | $fn = 100;
innerDiameter = 14.5;
shell = 3;
bottom = 2;
outerDiameter = innerDiameter+2*shell;
buttonDiameter = 30;
mockHeight = 10;
screwDiameter = 5.5;
module showerbutton() {
difference() {
union() {
cylinder(r=outerDiameter/2, h=mockHeight+buttonDiameter/2);
translate([0,0,mockHeight+buttonDiame... | glb/cad_5531fc8a5b84.glb |
Create a set of small storage containers and lids. First, construct a simple open box with outer dimensions of 20mm width, 10mm depth, and 10mm height, featuring walls that are 1mm thick. The box should be hollowed out from the top, leaving a floor thickness of 1mm.
Next, create a matching lid for this box. The lid sh... | module simpleBox01(width=20, depth=10, height=10, wallThickness=1) {
difference() {
cube([width, depth, height]);
translate([wallThickness, wallThickness, wallThickness]) {
cube([
width-2*wallThickness,
depth-2*wallThickness,
height-wallTh... | glb/cad_000455114591.glb |
Create a cable clamp by starting with a solid rectangular block 20mm wide, 5mm deep, and 7mm high. Carve a semi-cylindrical groove across the top center of the block to hold a cable; this groove should have a radius of 5mm and a total depth of 5mm. To allow the cable to sit properly, remove a rectangular section from t... | $fn=50;
module cableClamp(
cableDiameter,
screwDiameter,
screwDistance,
width,
depth,
height,
ingress=0
) {
if (cableDiameter==undef) {
echo("cableDiameter is not set.");
cableDiameter=10;
};
if (screwDiameter==undef) echo("screwDiameter is not set.");
screwDistance= (screwDistance==und... | glb/cad_dd777f986975.glb |
Create two interlocking beam components, a male and a female version, each with a length of 100mm, a total width of 15mm, and a total height of 10mm.
For the male beam, start with a rectangular base 100mm long, 15mm wide, and 5mm high. Centered on top of this base, add a trapezoidal prism flange that is 5mm high. Thi... | module beam_V_Female(
beamLength=100, beamWidth=15, beamHeight=10,
upperFlangeWidth=0, lowerFlangeWidth=0, flangeHeight=0
) {
upperFlangeWidth= upperFlangeWidth==0 ? (beamWidth/3)*2 : upperFlangeWidth;
lowerFlangeWidth= lowerFlangeWidth==0 ? upperFlangeWidth*.8 : lowerFlangeWidth;
flangeHeight= fla... | glb/cad_76daa0f3aad0.glb |
Create a leg plug for a lamp base. Start by creating a central vertical cylinder with a diameter of 20.6mm and a height of approximately 12.2mm (calculated as 78% of the top section height).
Above this cylinder, construct a wider, complex top assembly. This top part is based on a circular profile with a diameter of 3... | $fn=600;
epsilon=0.0001;
in_leg_hole_d = 20.6;
plug_top_d = 40-0.6;
plug_top_extra_length = 2;
plug_cylinder_base_h = 2;
plug_cylinder_top_h = 16;
leg_base_depth=90;
lamp_base_d=12.5;
lamp_base_h=25.3;
leg_plug_width = 5.5;
leg_plug_depth = 3;
leg_plug_notch_d = 2*0.75;
leg_plug_raise_h = 3;
module leg_plug_notch(... | glb/cad_7293cb737350.glb |
Create a camera mount consisting of a hollowed-out rectangular shell. Start by creating a solid outer rectangular block with a width of 51mm, a depth of 52mm, and a height of 100mm. From this block, remove a central rectangular volume to create a hollow interior, leaving a wall thickness of 3mm on the sides and bottom.... | module monitor() {
width=300;
height=100;
monitor_thickness=40;
translate([-50, 0,0])
rotate([270, 0, 0]) {
union() {
cube([width, height+45, monitor_thickness]);
translate([0, 45, 38])
cube([width, height, 70]);
}
... | glb/cad_800ba83b0839.glb |
Create a Stringent Wall Plotter mount by starting with a solid rectangular block measuring 26mm in depth, 28mm in height, and 20mm in width. Carve out a central rectangular void starting 2mm from the front face, with a width of 24mm, a height of 10mm, and a depth of 22mm, leaving a 2mm thick wall on the left and a 2mm ... | thick=2;
space=2;
depth=22;
overshoot=2;
width=20;
tab_height=10;
difference() {
cube([depth+overshoot+thick, 2*thick+space+tab_height, width]);
translate([thick,2*thick+space,-1]) cube([depth+thick, tab_height, width+2]);
translate([0,thick,-1]) cube([depth+overshoot, space, width+2]);
translate([0,0,-1]) cube(... | glb/cad_c36c1030c9d6.glb |
Create a claw-crane-memo consisting of two intersecting rectangular prisms. First, create a vertical rectangular prism with dimensions 0.5mm by 15mm by 1mm, centered on the X and Z axes. Second, create a horizontal rectangular prism with dimensions 5mm by 0.5mm by 1mm. Position this second prism so that it intersects t... | include <common.scad>
parralel_poles();
label();
translate([13, -5, 6]) {
rotate(90, [1, 0, 0]) {
translate([-2.5, 7.5, 0]) {
cube([5, 0.5, 1], center=true);
}
cube([0.5, 15, 1], center=true);
rotate(90, [0, -1, 0]) {
text("←", size=8);
}
}
}
rota... | glb/cad_aee0b0c3980a.glb |
Create a claw-crane-memo consisting of two intersecting rectangular prisms. First, construct a vertical rectangular prism with dimensions of 0.5mm width, 15mm height, and 1mm depth, centered on its X and Z axes. Second, create a horizontal rectangular prism with dimensions of 5mm width, 0.5mm height, and 1mm depth. Pos... | include <common.scad>
parralel_poles();
label();
translate([6, 15, 6]) {
rotate(90, [1, 0, 0]) {
translate([-2.5, 7.5, 0]) {
cube([5, 0.5, 1], center=true);
}
cube([0.5, 15, 1], center=true);
text("←", size=8);
}
}
rotate(20, [1, 0, 0]) {
translate([0, 5, -3.5]... | glb/cad_392ac319708e.glb |
Create a claw-crane-memo consisting of two intersecting rectangular prisms. First, create a vertical rectangular prism with a width of 0.5mm, a depth of 15mm, and a height of 1mm, centered on the X and Z axes. Second, create a horizontal rectangular prism with a width of 5mm, a depth of 0.5mm, and a height of 1mm. Posi... | include <common.scad>
parralel_poles();
label();
translate([13, -5, 6]) {
rotate(90, [1, 0, 0]) {
translate([-2.5, 7.5, 0]) {
cube([5, 0.5, 1], center=true);
}
cube([0.5, 15, 1], center=true);
rotate(90, [0, -1, 0]) {
text("←", size=8);
}
}
}
tran... | glb/cad_7bf8673d0cb8.glb |
Create a claw-crane-memo consisting of two intersecting rectangular prisms. First, construct a vertical rectangular prism with dimensions of 0.5mm width, 15mm height, and 1mm depth, centered on its X and Z axes. Second, create a horizontal rectangular prism with dimensions of 5mm width, 0.5mm height, and 1mm depth. Pos... | include <common.scad>
parralel_poles();
label();
translate([11, 12, 6]) {
rotate(90, [1, 0, 0]) {
translate([-2.5, 7.5, 0]) {
cube([5, 0.5, 1], center=true);
}
cube([0.5, 15, 1], center=true);
text("←", size=8);
}
}
box(); | glb/cad_7bf7337f203d.glb |
Create a bank tokens box for the Founders of Gloomhaven board game. Start with a solid rectangular base measuring 70mm in width, 50mm in depth, and 20mm in height.
From this base, remove several geometric volumes to create storage compartments. First, create a cylindrical hole with a diameter of 15mm and a depth of 1... | include <consts.scad>;
echo("Bank Tokens box (WxDxH):", BANK_BOX_W, BANK_BOX_D, BANK_BOX_H);
difference() {
union() {
cube([BANK_BOX_W, BANK_BOX_D, BANK_BOX_H]);
translate([BANK_BOX_W/2, 0, BANK_BOX_H]) rotate([-90, 0, 0]) cylinder(d=CLIP_DIA, h=WALL);
translate([BANK_BOX_W/3, BANK_BOX_D, ... | glb/cad_14c74ce6087d.glb |
Create a prestige box insert for the Founders of Gloomhaven board game. Start with a solid rectangular base measuring 75mm in width, 120mm in depth, and 25mm in height.
From this base, remove several rectangular sections to create storage compartments. Center a 45mm wide compartment at the front. Behind it, create a ... | include <consts.scad>;
echo("Prestige box (WxDxH):", PRESTIGE_W, PRESTIGE_D, PRESTIGE_H);
COMPLETION_SPACING = (PRESTIGE_W - WALL*2 - COMPLETION_MARKER_D*6)/5;
difference() {
union() {
cube([PRESTIGE_W, PRESTIGE_D, PRESTIGE_H]);
translate([PRESTIGE_W/2, 0, PRESTIGE_H]) rotate([-90, 0, 0]) cylinde... | glb/cad_f2e98d8dbb9a.glb |
Create a resource box for the Founders of Gloomhaven board game. Start with a solid rectangular base measuring 75mm in width, 25mm in depth, and 20mm in height.
From this base, remove several rectangular sections to create storage compartments. First, carve out a slot for resource tokens measuring 65mm by 10mm by 10m... | include <consts.scad>;
echo("Resources box (WxDxH):", RESOURCE_BOX_W, RESOURCE_BOX_D, RESOURCE_BOX_H);
difference() {
union() {
cube([RESOURCE_BOX_W, RESOURCE_BOX_D, RESOURCE_BOX_H]);
translate([RESOURCE_BOX_W/2, 0, RESOURCE_BOX_H]) rotate([-90, 0, 0]) cylinder(d=CLIP_DIA, h=WALL);
transla... | glb/cad_45a22c3e5f0b.glb |
Create a card insert for the Founders of Gloomhaven board game. Start with a solid rectangular base measuring 41mm wide, 41mm deep, and 15mm high.
Carve out several rectangular slots from the top of this base to hold game cards. The first slot, for buildings, should be 35mm wide and 12mm deep. The second slot, for ad... | include <consts.scad>;
CARD_START = VOTING_STACK/2+CARD_BOX_SPACING*2;
echo("Cards Spacing: ", CARD_BOX_SPACING);
echo("Card box (WxDxH):", CARD_BOX_W, CARD_BOX_D, CARD_BOX_H);
difference() {
union() {
cube([CARD_BOX_W, CARD_BOX_D, CARD_BOX_H]);
translate([VOTING_GAP, 0, CARD_BOX_H]) rotate([-90... | glb/cad_25d942b7b1b4.glb |
Create a lid for the Founders of Gloomhaven influence tokens box. Start by creating a solid rectangular base with a width of 30mm, a depth of 30mm, and a height of 2mm. From this base, remove a rectangular volume of 30mm by 30mm by 10mm starting from the bottom to create a thin plate. To this plate, add four thin cylin... | include <consts.scad>;
echo("Influence Tokens Lid (WxDxH):", INFLUENCE_BOX_W, INFLUENCE_BOX_D, FLOOR);
difference() {
union() {
cube([INFLUENCE_BOX_W, INFLUENCE_BOX_D, FLOOR]);
translate([INFLUENCE_BOX_W/2, 0, FLOOR]) rotate([-90, 0, 0]) cylinder(d=CLIP_DIA, h=WALL);
translate([INFLUENCE_B... | glb/cad_28a9f90c3df4.glb |
Create a rectangular box for Influence Tokens with outer dimensions of 30mm width, 30mm depth, and 10mm height. The box should have a wall thickness of 2mm and a floor thickness of 2mm, creating a hollow interior cavity of 26mm by 26mm by 8mm. At each of the four upper edges of the box, center a semi-circular cutout wi... | include <consts.scad>;
echo("Influence Tokens box (WxDxH):", INFLUENCE_BOX_W, INFLUENCE_BOX_D, INFLUENCE_BOX_H);
difference() {
union() {
cube([INFLUENCE_BOX_W, INFLUENCE_BOX_D, INFLUENCE_BOX_H]);
translate([INFLUENCE_BOX_W/2, 0, INFLUENCE_BOX_H]) rotate([-90, 0, 0]) cylinder(d=CLIP_DIA, h=WALL);
... | glb/cad_f1cf41bcd2d2.glb |
Create a player tokens insert box with overall dimensions of 30mm width, 30mm depth, and 15mm height. From this main volume, remove a central rectangular cavity starting 2mm from the bottom and sides, measuring 26mm wide and 26mm deep, with a height of 13mm. Within this cavity, remove a small 1mm cube from the back-lef... | include <consts.scad>;
echo("Player Tokens box (WxDxH):", TOKEN_BOX_W, TOKEN_BOX_D, TOKEN_BOX_H);
difference() {
union() {
cube([TOKEN_BOX_W, TOKEN_BOX_D, TOKEN_BOX_H]);
translate([TOKEN_BOX_W/2, 0, TOKEN_BOX_H]) rotate([-90, 0, 0]) cylinder(d=CLIP_DIA, h=WALL);
translate([TOKEN_BOX_W/3, T... | glb/cad_2fc5bb16451d.glb |
Create a Dry-Filament-Holder by starting with a base rectangular block that is 130mm long, 15mm wide, and 13mm high. From this base, remove a smaller rectangular section to create a recessed channel. This cutout should begin 10mm from one end, measuring 22mm in length, 15mm in width, and 10mm in height. Position this c... | BOX_HEIGHT = 120;
LID_HEIGHT = 22;
LID_OVERHANG = 10;
FEET_OVERHANG = 10;
FEET_WIDTH = 15;
THICKNESS = 3;
difference() {
cube([FEET_OVERHANG + BOX_HEIGHT, FEET_WIDTH, THICKNESS + LID_OVERHANG]);
translate([FEET_OVERHANG, 0, THICKNESS]) cube([LID_HEIGHT, FEET_WIDTH, LID_OVERHANG]);
} | glb/cad_bac45e548d8d.glb |
Create a Dry-Filament-Holder by starting with a wide base cylinder 21.5mm in diameter and 6mm in height. Centered on top of this base, add a second, narrower cylinder with a diameter of 7.9mm and a height of 7mm. Finally, bore a vertical hole with a diameter of 6.5mm through the center of both cylinders, extending from... | $fs = 0.01;
$fa = 2;
difference() {
union() {
cylinder(d=21.5, h=6);
cylinder(d=7.9, h=7);
}
cylinder(d=6.5, h=10);
} | glb/cad_2564ab6dc932.glb |
Create a Dry-Filament-Holder by starting with a rectangular block that is 40mm long, 10mm wide, and 10mm high. Center the block on the origin. Drill a circular hole with a diameter of 4mm straight through the center of the block along its entire 40mm length, running parallel to the longest axis. | THICKNESS = 2;
NUT_WIDTH = 6;
NUT_INSET = 5;
TOTAL_LENGTH = 40;
SCREW_DIA = 4;
$fs = 0.5;
difference() {
cube([TOTAL_LENGTH, NUT_WIDTH + THICKNESS * 2, NUT_WIDTH + THICKNESS * 2], center=true);
rotate([0, 90, 0]) translate([0, 0, -TOTAL_LENGTH/2]) #cylinder(d=SCREW_DIA, h=TOTAL_LENGTH);
} | glb/cad_53922fdb54aa.glb |
Create a nerf gauntlet chamber by starting with a cylinder of height 20mm and radius 10mm. Subtract a smaller concentric cylinder with a radius of 5mm from the center to create a hollow tube.
Within the wall of this cylinder, carve out a dart channel. This channel is formed by subtracting a central cylinder of radius... | include <constants.scad>
module chamber(angle=0) {
jswhalf = jam_slot_width/2.0;
jswallw = jam_slot_width + 2.0 * w_thickness;
rotate(angle + 90) difference() {
union() {
difference() {
difference () {
union () {
cylinder(h=cyl_len, r=chamber_r);
translate([0, chamber_r/2 + w_th... | glb/cad_0a1e3a3f3462.glb |
Create a nerf gauntlet mount by constructing a printable cylinder mount. Start with a cuff base and integrate a bearing plate. The bearing plate consists of two bearing mounts and two slider bases. Each bearing mount is formed by combining a cylinder for the bearing shim and a larger cylinder for the rounded part of th... | include <constants.scad>
cuff_angle = atan((motormount_w- w_thickness*2)/(cuff_outer_r * 2 - mount_offset/2));
module bearing_mount(mount_height) {
mount_x = bearing_d/2 + w_thickness;
mount_y = w_thickness + max(bearing_inner_d, bearing_d - w_thickness*2);
mount_z = min(mount_height - w_thickness/2, bear... | glb/cad_f15b012d0059.glb |
Create a nerf gauntlet motor mount consisting of two mirrored mounting assemblies. Each assembly starts with a central square plate measuring 20mm by 20mm with a thickness of 3mm. In this plate, create four screw holes positioned symmetrically at the corners, each consisting of a cylindrical hole with a diameter of 3mm... | include <constants.scad>
module screw_hole(hole_len=(w_thickness*2)) {
union(){
cylinder(w_thickness, d1=brushless_motor_screw_d + w_thickness, d2=brushless_motor_screw_d);
cylinder(hole_len, d=brushless_motor_screw_d);
}
}
module screw_holes(hole_len=(w_thickness*2)) {
offset = brushless... | glb/cad_c53f354fb1c3.glb |
Create a Nerf gauntlet pusher mount. Start by creating a cuff with a radius of 35mm and a height of 40mm. The cuff should have a cutout on one side to accommodate a cylinder.
On top of the cuff, add a pusher plate. The pusher plate consists of a rectangular block with dimensions 10mm by 60mm by 80mm. On the side of t... | include <constants.scad>
cuff_angle = atan((motormount_w- w_thickness*2)/(cuff_outer_r * 2 - mount_offset/2));
pusher_throw = cyl_len - jam_slot_offset_from_top;
pusher_overthrow = pusher_throw + jam_slot_support_len;
echo("pusher_throw:", pusher_throw);
echo("pusher_overthrow:", pusher_overthrow);
height_to_flywheels... | glb/cad_991ab91fa8f4.glb |
Create an FPV Module Dock with a main body and a front cover. The main body is a rectangular shell with rounded corners, measuring 60mm wide, 40mm high, and 14mm deep. The walls are 3.5mm thick.
The back wall is 6mm thick. The front wall is 2.5mm thick.
On the front wall, create a series of rectangular cutouts for ve... | DOCK_BODY_DEPTH = 14;
DOCK_BODY_HEIGHT = 40;
DOCK_BODY_WIDTH = 60;
DOCK_BACK_THICKNESS = 6;
DOCK_FRONT_THICKNESS = 2.5;
DOCK_WALL_THICKNESS = 3.5;
DOCK_PROTECTOR_HEIGHT = 0;
DOCK_PROTECTOR_DEPTH = 0;
NUT_HEIGHT = 5.6;
NUT_WIDTH = 11.1;
NUT_INSIDE_DIAMETER = 6.350;
NUT_HOLDER_WALL_THICKNESS = 1.5;
NUT_HOLDER_BASE_THI... | glb/cad_5a6d9955e604.glb |
Create an ErgoDox-Case keyboard base. Start by constructing a main rectangular body with a total height of 11.5mm (7.5mm base height plus two 2mm plates). The main body should have a width of 50mm and a length of 115mm, with rounded corners of 9mm diameter.
Add a thumb rest extension to the side, which is a rounded re... | $fs = .3;
$fa = 6;
keyCutDim = 14;
keyGap = 5;
keyDist = keyCutDim + keyGap;
wallThickness = 2.5;
plateThickness = 1.5;
pcbWallSpace = 1.5;
pcbCircuitXDimension = 25;
outerRowKeyShift = 4.7625;
outerColumnShift = 4.7752;
innerColumnShift = 2.8702;
middleColumnsShift = 1.5977;
baseDimensionX = pcbCircuitXDimension +... | glb/cad_edb9014688be.glb |
Create a Gloomhaven Insert Tray by constructing a base plate and a series of vertical walls to create compartmentalized storage. Start with a base plate measuring 245mm by 285mm with a thickness of 2mm.
Build the outer perimeter using walls that are 37mm high. Add internal dividing walls of varying heights and positio... | include <ghmodules.scad>;
intersection() {
intersection() {
union() {
translate([0, 0, BASETHICK/2]) {
cube([245, 285, BASETHICK], true);
}
wall([122.5-THICK, 142.5], [285, 37], 90);
wall([-122.5, 142.5], [285, 37], 90);
wall([122.5, 142.5], [245, 30], 0);
... | glb/cad_fc679a0b2c1f.glb |
Create a Gloomhaven Insert Tray by constructing a rectangular base measuring 150mm by 285mm with a thickness of 3mm. Build vertical walls around the perimeter and interior to create compartments, ensuring all walls are 32mm to 35mm high.
Incorporate a series of internal dividers and support walls. Position primary wa... | include <ghmodules.scad>;
difference() {
union() {
translate([0, 0, BASETHICK/2]) {
cube([150, 285, BASETHICK], true);
}
wall([75, 142.5], [150, 35], 0);
wall([75, -142.5+THICK], [150, 35], 0);
wall([75-THICK, 142.5], [285, 35], 90);
wall([-75, 142.5], ... | glb/cad_3fa7fe76b6c9.glb |
Create a Gloomhaven Insert Tray by starting with a rectangular base measuring 285mm by 120mm with a thickness of 2mm. Build a series of vertical walls, each 23mm high and 2mm thick, to create compartmentalized sections. Place the outer perimeter walls at the edges of the 285mm by 120mm footprint. Add internal dividing ... | include <ghmodules.scad>;
difference() {
union() {
translate([0, 0, BASETHICK/2]) {
cube([285, 120, BASETHICK], true);
}
wall([142.5, 60], [285, 23], 0);
wall([142.5, -60+THICK], [285, 23], 0);
for (x = [142.5-THICK, 101.5, 63.5, 25.5, -20.5, -76.5, -100.5, -14... | glb/cad_dde2d4744c6f.glb |
Create a Gloomhaven Insert Tray by constructing a rectangular base plate measuring 245mm by 285mm with a thickness of 2mm. Build a perimeter wall 28mm high around the edges, but leave 10mm gaps in the walls at the center of the shorter sides (at x = 122.5mm and x = -122.5mm) to allow for joins.
Divide the interior of ... | include <ghmodules.scad>;
intersection() {
intersection() {
union() {
translate([0, 0, BASETHICK/2]) {
cube([245, 285, BASETHICK], true);
}
wall([122.5-THICK, 142.5], [285, 28], 90);
wall([-122.5, 142.5], [285, 28], 90);
translate([122.5-THICK, -5, 0]) cube([THI... | glb/cad_0dd2381b5fda.glb |
Create a Gloomhaven Insert Tray by constructing a base plate and a series of vertical walls to form compartmentalized storage. Start with a rectangular base measuring 285mm by 185mm with a thickness of 2mm.
Build the outer perimeter walls with a height of 57mm and a thickness of 2mm. Add internal dividing walls of th... | include <ghmodules.scad>;
intersection() {
intersection() {
difference() {
union() {
translate([0, 0, BASETHICK/2]) {
cube([285, 185, BASETHICK], true);
}
wall([142.5-THICK, 92.5], [185, 57], 90);
wall([-142.5, 92.5], [185, 57], 90);
... | glb/cad_b71d05342d33.glb |
Create an FPV goggle strap clip by constructing a composite geometric shape. Start with a main outer block that is 30mm wide, 14mm deep, and 10mm high. From this block, remove a central rectangular slot that is 24mm wide, 3mm deep, and 20mm high, centered along the width and positioned 5.5mm from the front face. Additi... | CLIP_HEIGHT = 10;
CLIP_WALL_THICKNESS = 3.0;
CLIP_SIDE_WALL_THICKNESS = 3.0;
CLIP_MIDDLE_WALL = 4;
MIDDLE_FIN_HEIGHT = 20;
STRIP_THICKNESS = 3.0;
STRIP_WIDTH = 24;
HOLDER_OFFSET = 10;
HOLDER_THICKNESS = 4;
HOLDER_WIDTH = 24;
base();
module base(){
clip_thickness = CLIP_WALL_THICKNESS*2 + CLIP_MIDDLE_WALL + STR... | glb/cad_e37cc7431ba4.glb |
Create a 3D model of a "math" themed molecular-style structure consisting of several spheres connected by thin cylinders.
Place twelve spheres, each with a radius of 2.75mm, at various coordinates around the origin. For each sphere, add two opposing cylinders extending from its center to connect it to adjacent sphere... | translate([-16.841,-3.528,0.0]){sphere(r=2.7497471803, $fn=50);}
translate([15.979,-1.813,0.0]){sphere(r=2.7497471803, $fn=50);}
translate([7.909,-17.817,0.0]){sphere(r=2.7497471803, $fn=50);}
translate([-8.591,10.761,0.0]){sphere(r=2.7497471803, $fn=50);}
translate([7.589,17.817,0.0]){sphere(r=2.7497471803, $fn=50);}
... | glb/cad_d7662f0b4b49.glb |
Create a drawer spice insert consisting of three thin rectangular plates joined to form an open-ended shell. First, create a main L-shaped base by joining a vertical wall and a horizontal floor. The vertical wall should be 10mm wide, 2mm thick, and 20mm high. The horizontal floor should be 10mm wide, 2mm thick, and 2mm... | WIDTH = 10;
LONGER_ARM_HEIGHT = 20;
SHORTER_ARM_LENGTH = 2;
ARM_ANGLE = 70;
STAND_OFFSET = 18;
STAND_THICKNESS = 2;
full_stand();
function stand_height(angle, base_offset) = 4;
module main_l(){
union(){
translate([0,0,LONGER_ARM_HEIGHT/2])
cube([WIDTH,STAND_THICKNESS,LONGER_ARM_HEIGHT], true);
... | glb/cad_5be2854d1e96.glb |
Create a KeyV2 mold top by constructing a hollow rectangular box. Start with an outer cube measuring 38mm in width, 38mm in depth, and 23mm in height. From this volume, remove a smaller centered rectangular block to create the inner cavity. This inner cutout should be 34mm wide and 34mm deep, positioned 2mm from each o... | include <keys.scad>
platform_width = 30;
platform_height = 4;
platform_slant = 3;
minimum_height = 12;
extra = 9;
side_thickness = 2;
bottom_thickness = 2;
inner_side = platform_width + extra * 2;
total_side = inner_side + side_thickness * 2;
bottom_box_height = 5 + bottom_thickness;
function hypo(num) = sqrt(p... | glb/cad_aa4a8c1e0888.glb |
Create a camera mount for a CX-20 drone by starting with a central rectangular block measuring 102mm in length, 72mm in width, and 40mm in height, centered on the origin. From this main body, remove several geometric shapes to create the final structure.
First, carve out a large central rectangular void measuring 118... | difference(){
cube([102,72,40],center=true);
union(){
cube([118,66.5,34.5],center=true);
translate([15,17,10])
cylinder(h = 12, r = 3.7, $fn=100);
translate([15,-17,10])
cylinder(h = 12, r = 3.7, $fn=100);
translate([-40,28,10])
cylinder(h = 12, r = 3.7, $fn=100);
translate([-40,-28... | glb/cad_8b468d72759a.glb |
Create a hub for a spool with a central bore of 8.3mm diameter. The hub consists of a central cylinder with a diameter of 17.9mm (center bore plus two times the vane width of 1.6mm) and a height of 7mm (6mm vane height plus 1mm extrusion).
From this central hub, create 6 equally spaced radial vanes. Each vane has a w... | maxDia = 58;
centerBoreDia = 8.3;
centerExtrusion = 1;
vaneCount = 6;
vaneWidth = 4;
vaneHeight = 6;
maxVaneAngle = 115;
filletRadiusScale = 1.4;
rimWidth = 4;
rimHeight = 4;
rimAngularWidth = 50;
addSeat = "no";
seatWidth = 2;
seatHeight = 4;
extrusionWidth = 0.4;
layerHeight = 0.3;
resolution = 360;
... | glb/cad_52d288e281f1.glb |
Create a DIP socket designed to hold 8 pins. Start with a solid rectangular base measuring 10.16mm in width, 14.62mm in depth, and 4mm in height.
Remove a cylindrical hole from the center of one of the short sides to serve as a pin 1 indicator, with a radius of approximately 1.95mm. Cut a rectangular channel through ... | dip(8);
module dip(pins, pitch = 2.54, rs = 7.16, cut = false, h1 = 4, h2 = 2) {
r1 = 1.9/2;
r2 = 1.42/2;
p = pins + pins % 2;
difference() {
translate([-pitch/2,-pitch/2,0]) cube([pitch * p/2, rs + pitch, h1]);
union() {
$fn=20;
translate([-pitch/2,rs/2,-1]) ... | glb/cad_c803731ba19d.glb |
Create a protective electronics case with a base plate and walls. The base plate is a rectangular slab measuring 180.975mm by 47.625mm with a thickness of 2mm. Construct the outer shell by adding end walls 2mm thick at both ends and long walls 2mm thick along the sides, all rising to a height of 35mm.
Within the shell... | intersection() {
case();
}
module case() {
a = 0.4826;
w = 180.975;
h = 35;
d = 47.625 - 2*a;
s = 2;
pi = 2.54;
pd = pi*2;
m2diam = 1.75;
d4_40 = 2.2606 + .22;
circuitheight = 5;
b1height = s+16;
bl = 32;
bh = 5;
ps_len = 18.5; ps_wid = 17; ps_x = 84... | glb/cad_bbc492ac9712.glb |
Create an IN14 spacer by starting with the base geometry of an in14spacer. From the center of this object, remove a triangular prism-shaped hole with a radius of 2.5mm and a height of 8mm, extending from a vertical position of -1mm. | include <nixie.scad>
difference() {
in14spacer ();
$fn=3;
translate([0,0,-1]) cylinder(h=8, r=2.5);
} | glb/cad_37cc5b791ef8.glb |
Create an IN-14 nixie tube spacer. Start with a main cylinder that has a radius of 9.25mm and a total height of 6mm. From the top of this cylinder, remove a central cylindrical volume with a radius of 8.5mm and a height of 1mm, leaving a 1mm high lip around the outer edge.
Within the main body, create 13 evenly space... | in14spacer();
module in14spacer(height = 5, lip = 1) {
pr1 = 1.9/2;
pr2 = 1.42/2;
$fn = 42;
difference() {
color("grey") cylinder(h = height+lip, r = 9.25);
translate([0,0,height]) cylinder(h = lip/2+0.1, r = 8.5);
translate([0,0,height+lip/2]) cylinder(h = lip+0.1, r = 8.75);... | glb/cad_f368cbf5e61a.glb |
Create a y-bushing-block assembly consisting of a rectangular base plate and several mounting brackets. The base plate is 5.5mm thick with rounded corners. Position four M4 screw holes (3.4mm diameter) on the base: two spaced 24mm apart along the X-axis and two spaced 48mm plus a 26mm block distance apart along the Y-a... | bushing_l=15.5;
bushing_d=12;
bushing_clearance_r=0.16;
bushing_id=8;
block_distance=26;
rail_d=8.75;
clip_t=0.5;
clip_center_l=4;
bracket_screw_d=3;
bracket_screw_tap_d=bracket_screw_d-0.5;
bushing_t=2;
bracket_thickness=bracket_screw_d*2+2;
bracket_l=20;
screw_d=3.4;
screw_x=24;
screw_y_long=2*24 + bloc... | glb/cad_b51069181892.glb |
Create a Towers of Hanoi set consisting of a base and a series of disks.
Construct the base as a flat, rounded rectangular platform 85mm wide and 5mm thick. On the top surface, place three vertical posts centered along the length. Each post is a cylinder with a 6mm radius and a height of 35mm, topped with a hemispher... | disk_height=5;
base_height=5;
post_radius=6;
hole_radius=post_radius+0.75;
rings_per_post=7;
screw_head_d=7;
screw_length=20;
screw_d=3.3;
tap_d=3;
post_offset=0;
e=0.01;
module disk(diameter, height) {
difference() {
hull() {
rotate_extrude(convexity=10, $fn=diameter*2)
... | glb/cad_c584a0d09ae1.glb |
Create a geometric sculpture by combining several nested polyhedral shapes, rotated 135 degrees on the X-axis and 35 degrees on the Y-axis. Start by centering a solid cube with a side length of 11.7mm. Surround this with a hollow cube of 34mm, an open octahedron of 20mm, and a larger open octahedron of 58mm. To refine ... | use <solidlib.scad>
$fn = 25;
rotate([135,35,0]) {
openoctahedron(58);
opencube(34);
openoctahedron(20);
octacorners(48);
cubecorners(34, 11.7);
cube(11.7, center=true);
} | glb/cad_276209ceed8b.glb |
Create a CHI hardware chassis consisting of two mirrored symmetrical halves. For one half, construct a base plate and a vertical leg assembly. The leg is formed by a primary rectangular block 46mm wide, 2mm thick, and 63mm tall.
Along the outer edge of this leg, integrate a vertical support structure 10mm wide and 2m... | module corner_fill(len, thick)
{
translate([0,-(thick / 2),-(thick / 2)]) difference()
{
cube([len,thick / 2, thick / 2]);
rotate([0,90,0]) translate([0,0,-1]) cylinder(h=len + 2, d=thick);
}
}
module corner_cut(len, thick)
{
union()
{
corner_fill(len, thick);
transl... | glb/cad_404b901f34dc.glb |
Create a CHI hardware housing consisting of a rectangular deck and supporting legs. Start by forming the main deck as a rectangular slab measuring 92mm in width, 150mm in depth, and 2mm in height, positioned at a height of 63mm. Construct the outer walls by adding two side panels that are 2mm thick and 150mm long, exte... | difference()
{
union()
{
translate([0,0,63])
cube([92,150,2]);
translate([0,0,33])
cube([92,2,30]);
translate([0,0,43])
cube([2,150,20]);
translate([90,0,38])
cube([2,150,25]);
translate([0,148,43])
cube([92,2,20]);
translate([0,0,0])
cube([10,2,63]);
t... | glb/cad_42bde9ea188c.glb |
Create a CHI hardware mount consisting of two mirrored symmetrical assemblies. For one assembly, start with a base leg that is 63mm long, 10mm wide, and 2mm thick. The leg features a toe piece where the end is rounded with a 10mm diameter semi-cylinder and contains a 3mm diameter hole drilled through the center of the ... | module corner_fill(len, thick)
{
translate([0,-(thick / 2),-(thick / 2)]) difference()
{
cube([len,thick / 2, thick / 2]);
rotate([0,90,0]) translate([0,0,-1]) cylinder(h=len + 2, d=thick);
}
}
module corner_cut(len, thick)
{
union()
{
corner_fill(len, thick);
transl... | glb/cad_d4850ddba7b8.glb |
Create a CHI hardware component consisting of two mirrored, symmetrical L-shaped bracket assemblies connected by a central ridge. Each assembly is built from a base plate and a vertical face. The vertical face has a height of 20mm and a thickness of 2mm. The side walls extend from this face with a length of 75mm and a ... | module corner_fill(len, thick)
{
translate([0,-(thick / 2),-(thick / 2)]) difference()
{
cube([len,thick / 2, thick / 2]);
rotate([0,90,0]) translate([0,0,-1]) cylinder(h=len + 2, d=thick);
}
}
module corner_cut(len, thick)
{
union()
{
corner_fill(len, thick);
transl... | glb/cad_2accd12fa9ee.glb |
Create a CHI hardware base consisting of a main rectangular plate with two symmetrical raised side walls. The overall width is 46mm and the base plate thickness is 2mm.
Construct two identical side sections, each 46mm wide and 140mm deep. Each section features a base plate and a vertical ridge 20mm high. The inner edg... | module corner_fill(len, thick)
{
translate([0,-(thick / 2),-(thick / 2)]) difference()
{
cube([len,thick / 2, thick / 2]);
rotate([0,90,0]) translate([0,0,-1]) cylinder(h=len + 2, d=thick);
}
}
module corner_cut(len, thick)
{
union()
{
corner_fill(len, thick);
transl... | glb/cad_aa9c6e836284.glb |
Create a geometric shape by starting with a rectangular block measuring 60mm in length, 23mm in width, and 3.25mm in height, centered such that its base is at z = -1.625mm. From this block, remove material using two intersecting volumes. First, remove a mirrored copy of the same 60mm by 23mm by 3.25mm block, but rotate... | $fn = 100;
difference() {
translate([0,0,-1.625]) cube([60,23,3.25]);
union(){
translate([60,0,0]) rotate([13.07,180,0]) cube([60,23,3.25]);
rotate([13.07,0,0]) cube([60,23,3.25]);
}
}
intersection() {
translate([-50,0,-1.625]) cube([100,23,3.25]);
union() {
translate([0,61,... | glb/cad_bf3d85732532.glb |
Create a hollow rectangular box with outer dimensions of 25mm width, 40mm length, and 14mm height. The interior should be carved out by a smaller centered rectangular volume of 22mm by 40mm by 11mm, leaving a wall thickness of 1.5mm on the sides and 1.5mm on the top and bottom.
On the top face, create a rectangular sl... | module main() {
difference(){
cube([25, 40, 14], center=true);
cube([22, 40, 11], center=true);
cran();
}
}
module move () {
cube([21, 2, 10], center=true);
translate([0,0,7]) cube([2, 2, 5], center=true);
rotate([0,0,-30]) translate([0,0,8.5]) cylinder(r=4, h=2, center=true, $f... | glb/cad_1204beb839ae.glb |
Create a contact printer dial by constructing a tiered circular assembly. Start with a primary conical base that has a bottom radius of 29mm, a top radius of 24mm, and a height of 15mm. Centered on top of this base, add a second, shorter conical section with a bottom radius of 15mm, a top radius of 12.5mm, and a height... | include <../common/common.scad>
in = 25.4;
$fn = 100;
module arrow () {
difference () {
cube([20, 10, 15], center=true);
translate([0, 0, 5]) rotate([0, 20, 0]) cube([230, 10, 15], center=true);
translate([0, -8, 0]) rotate([0, 0, 15]) cube([230, 10, 15], center=true);
translate([0, 8, 0]) rotate([0, 0, -15])... | glb/cad_eb545918136e.glb |
Create a contact printer model by combining two rectangular blocks. First, form a base structure by joining a block measuring 25.4mm x 19mm x 25.4mm with a second block measuring 25.4mm x 76.2mm x 25.4mm, centered such that they overlap to form a T-shaped or intersecting volume. From this combined mass, remove a centra... | difference () {
union () {
translate([0, 0, 9.5/4]) cube([25.4, 9.5 * 2, 25.4 + (9.5 / 2)], center = true);
translate([0, (25.4 * 3) / 2, 0]) cube([25.4, 25.4 * 3, 25.4], center = true);
}
cube([25.4, 9.7, 25.4], center = true);
translate([5, 9.5 + (25.4 * 3) / 2, 14]) rotate([0, 45, 0]) cube([25.4 * 2, 25.4 * ... | glb/cad_e32f7bb475fc.glb |
Create a battery holder for FPV goggles consisting of a main basket and an integrated clip. Start by constructing a central shelf with a total depth of 32mm, a width of 23.9mm, and a height of 45mm. This shelf should have a hollow interior space for the battery measuring 24mm in depth and 37mm in height, leaving a base... | CLIP_HEIGHT = 10;
CLIP_WALL_THICKNESS = 3.0;
CLIP_SIDE_WALL_THICKNESS = 3.0;
CLIP_MIDDLE_WALL = 4;
MIDDLE_FIN_HEIGHT = 20;
STRIP_THICKNESS = 3.0;
STRIP_WIDTH = 24;
HOLDER_OFFSET = 10;
HOLDER_THICKNESS = 4;
HOLDER_WIDTH = 24;
BASKED_WALL_THICKNESS = 3;
BASKET_HEIGHT = 40;
TOLERANCE = 0.05;
SHELF_FULL_HEIGHT = 45;
... | glb/cad_afa6c3a05f0f.glb |
Create an FPV goggle battery holder consisting of a central basket and an integrated clipping mechanism.
Start by constructing the main battery shelf as a rectangular block with a width of 23.9mm, a total depth of 32mm, and a height of 45mm. Hollow out the center of this block to create a battery space that is 22mm d... | CLIP_HEIGHT = 10;
CLIP_WALL_THICKNESS = 3.0;
CLIP_SIDE_WALL_THICKNESS = 3.0;
CLIP_MIDDLE_WALL = 4;
MIDDLE_FIN_HEIGHT = 20;
STRIP_THICKNESS = 3.0;
STRIP_WIDTH = 24;
HOLDER_OFFSET = 10;
HOLDER_THICKNESS = 4;
HOLDER_WIDTH = 24;
BASKED_WALL_THICKNESS = 3;
BASKET_HEIGHT = 40;
TOLERANCE = 0.05;
SHELF_FULL_HEIGHT = 45;
... | glb/cad_3e307a7ed309.glb |
Create a hard drive mount consisting of a rectangular bar with a length of 154.94mm, a width of 8mm, and a thickness of 14mm. The bar has rounded ends, formed by cylinders with a 4mm radius.
Run a continuous 4mm diameter hole through the center of the bar's length to accommodate a threaded rod. On the flat face of th... | $fn=30;
hole_spacing=154.94;
total_length=162;
bar_width=8;
bar_thickness=14;
hdd_hole_min_thickness=3;
hdd_hole_spacing=60+41.6;
hdd_countersink_diameter=9;
cutout_length_offset=13;
difference() {
bar(bar_width, bar_thickness, hole_spacing);
bar_holes(bar_thickness, hole_spacing);
bar_cutout(cutout_len... | glb/cad_3c4780e73eba.glb |
Create an LCD knob by starting with a main body that consists of a truncated cone and a sphere. The base is a cylinder with a height of 7.5mm, tapering from a bottom radius of 10mm to a top radius of 7.25mm. Centered on top of this base, place a sphere with a radius of 14mm.
From this combined volume, remove a central... | difference () {
translate([0,0,0]) rotate(a=[0,0,0]) cylinder(h = 7.5, r1=10, r=7.25, $fn=60);
translate([0,0,20]) rotate(a=[0,0,0]) sphere(14);
translate([0,0,-0.1]) rotate(a=[0,0,0]) cylinder(h = 4.6, d=6.1, $fn=60);
translate([0,0,-0.1]) rotate(a=[0,0,0]) cylinder(h = 0.6, d1=7.1, d2=6.1 , $fn=30);
translate([0... | glb/cad_f9abfa078dfb.glb |
Create a Prusa-Mk2-extruder-MK8-FIT-bowden consisting of two primary components: a cover and a clip.
For the cover, start with a base rectangular block measuring 36mm x 32mm x 8.6mm, centered at x=-18. Create a central rectangular cutout of 30mm x 16.5mm x 9mm, shifted to x=-15, y=-0.5, z=-3. Remove a cylinder with a ... | module cover()
{
difference()
{
translate([-18,0,0]) cube([36,32,8.6]);
translate([-15,-0.5,-3]) cube([30,16.5,9]);
translate([-0,33,3]) rotate([90,0,0]) cylinder(h = 15, r=4, $fn=60);
translate([-15,15,-6]) cube([30,19,9]);
translate([-4,4.5,0]) rotate([0,0,45]) cube... | glb/cad_2d4770dd2fd4.glb |
Create a mechanical model of a Telesto Max10 FPGA module. Start with a rectangular PCB base measuring 57.54mm by 83.8mm with a thickness of 1mm. At each of the four corners of the PCB, create a cylindrical mounting hole with a radius of 1.625mm and a height of 2mm.
On the top surface of the PCB, place a JTAG port as a... | FN_ROUND=10;
FUZZ=0.001;
PORT_PIN_PITCH=2.54;
PORT_PIN_R=1.1/2;
PORT_PIN_CX=4;
PORT_PIN_CY=24;
PORT_PIN_Z=10;
PORT_X=PORT_PIN_CX*PORT_PIN_PITCH;
PORT_Y=PORT_PIN_CY*PORT_PIN_PITCH;
PCB_CHAMFER_X=0.44;
PCB_CHAMFER_Y=0.96;
PCB_X=57.54;
PCB_Y=83.8;
PCB_Z=1;
PCB_HOLE_R=3.25/2;
PCB_HOLE_Z=2*PCB_Z;
PCB_HOLE_X=28.96;
PCB_... | glb/cad_a33f026c1f7e.glb |
Create a dovetail joint system consisting of two rectangular boards, each with a thickness of 19.05mm (0.75 inches), a width of 88.9mm (3.5 inches), and a length of 609.6mm (24 inches).
For the first board, create five dovetail tails along one end. Each tail is a trapezoidal prism with a height of 19.05mm. The wide e... | INCH = 25.4;
STOCK_THICKNESS = 0.75 * INCH;
STOCK_WIDTH = 3.5 * INCH;
STOCK_LENGTH = 24 * INCH;
DOVETAILS = 5;
PIN_WIDTH = 0.125 * INCH;
ANGLE = atan(8/1);
PART = "all";
STOCK_INTERSECT = false;
function pin_width_wide() = pin_width_narrow() + 2*(STOCK_THICKNESS/tan(ANGLE));
function pin_width_narrow(... | glb/cad_194c3caef59c.glb |
Create a rectangular enclosure with a width of 135mm, depth of 139mm, and height of 48mm.
Start with a base plate that is 135mm wide, 139mm deep, and 3mm thick. From this base, remove a central rectangular section measuring 120mm by 50mm, centered at x=67.5mm and y=14mm, and another measuring 60mm by 30mm centered at... | $fn=30;
w = 135;
d = 139;
h = 48;
angle = 30;
if(!true) {
base();
front();
walls();
top();
}
if(true) {
base();
front();
walls();
}
if(!true) {
top(standalone=true);
}
module base() {
difference(){
cube([w, d, 3]);
translate([w/2-60, 14,-1]) cube([120, 50, 5]);
translate([w/2-60, 80,-1]) cube([120, 5... | glb/cad_dd8559e152d3.glb |
Create a rounded bounding box for the Tronxy X5S Upgrades. Start with a base rectangular prism measuring 30mm in width, 30mm in length, and 10mm in height (derived from the dimensions 40mm, 50mm, 20mm minus the rounding offsets). Apply a Minkowski sum with a sphere to round all edges and corners. Specifically, use roun... | $_SUPPORT_THK=0.2;
$_FN_CYL=32;
$_EPSILON=0.2;
module tr(dx,dy=0,dz=0) {
translate([dx,dy,dz]) children();
}
module rot(ax,ay=0,az=0) {
rotate([ax,ay,az]) children();
}
module trrot(tx,ty,tz,ax,ay=0,az=0) {
translate([tx,ty,tz]) rotate([ax,ay,az]) children();
}
module trcube(tx,ty,tz,dx,dy,dz) {
t... | glb/cad_c96bdc243a20.glb |
Create a set of 26 individual letter blocks, one for each uppercase letter of the English alphabet. Each block is a cube measuring 20mm on all sides. Centered on the top face of each cube, carve out the corresponding letter as a hole that penetrates 10mm deep into the block. The letters should be scaled to a height of ... | module LetterBlock(letter, size=30) {
difference() {
translate([0,0,size/4])
cube([size,size,size/2], center=true);
translate([0,0,size/6])
linear_extrude(height=size, convexity=3)
text(letter,
size=size*22/30,
font="Tah... | glb/cad_707d8f041936.glb |
Create a papirus_zero_case for a Raspberry Pi Zero. Start by creating the main PCB as a thin plate 65mm wide, 30mm deep, and 1.4mm thick. The four corners of this plate should be rounded with a radius of 3mm.
Add four cylindrical mounting holes with a diameter of 2.75mm and a height of 3mm. Position these holes cente... | $fn=100;
part = "piZero";
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_7543066d3c96.glb |
Create a two-part protective case for a Raspberry Pi Zero and PaPiRus Zero ePaper pHAT.
Construct the bottom case as a hollow rectangular box with outer dimensions of 67.8mm length, 32.5mm width, and 10mm height. The walls should be 1.4mm thick, and the floor should be 1.4mm thick. Inside the four corners of the floo... | $fn=100;
pi_zero_width=30;
pi_zero_length=65;
wall_width=2.8;
floor_thickness=wall_width/2;
ic_width=pi_zero_width+2.5;
ic_length=pi_zero_length+8;
bottom_ic_height=10;
top_ic_height=8;
ridge_width=1.2;
ridge_height=1.5;
use <library.scad/raspberrypi.scad>;
use <raspberrypi_library/papirus_hat_pizero.scad>;
modul... | glb/cad_7e136112615a.glb |
Create a Frag-Tank aquarium structure. Start by constructing the main outer shell using three glass panels of 8mm thickness. Place two parallel side walls, each 234mm high and 700mm deep, positioned 484mm apart. Connect these with a back panel of the same height and thickness.
Inside the tank, install four vertical ba... | thickness=8;
width=120;
hight=234;
waterlevel=190;
baffle_hight=hight-thickness;
baffle_thickness=5;
translate([-thickness,0,0]) color("Aqua", 0.2) cube([thickness, hight, 700]);
translate([484,0,0]) color("Aqua", 0.2) cube([thickness, hight, 700]);
translate([200, 0, 0]) underflow_baffle();
translate([320, 0, 0])... | glb/cad_a2c2efc7af7c.glb |
Create a MazeCryptexGenerator consisting of a thick hollow ring. The main body is a cylinder with an outer radius of 30.48mm (derived from a 2.375-inch PVC outer diameter) and an inner radius of 25.9575mm (derived from a 2.047-inch PVC inner diameter), with a total height of 10mm.
The ring is divided into 60 equal an... | data = [[true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true], [false, fa... | glb/cad_e45d8753efcf.glb |
Create a Maze Cryptex Generator base consisting of a hollow cylindrical tube sitting atop a solid circular foundation. Start by creating a solid circular base with a radius of 31.37mm and a height of 5mm, using a 12-sided polygonal profile. Above this base, construct a tall hollow cylinder with an outer radius of 25.86... | dimensions = [60, 50];
options = dimensions[1];
radius = 20;
slice_height = (radius * 2 * PI)/dimensions[1];
echo(slice_height);
ang = 360/options;
wall_radius = radius + slice_height;
echo(wall_radius*2);
IN_MM_CONVERSION = 25.4;
pvc_outer_radius = ((2.375)/2 * IN_MM_CONVERSION);
pvc_inner_radius = ((2.047)/2 * IN_MM_... | glb/cad_e0e67368813d.glb |
Create a Maze Cryptex Generator consisting of a hollow cylindrical tube. Start by creating a solid base cylinder with a radius of 16.28mm and a height of 6.28mm.
Above this base, construct the main body as a larger hollow cylinder. The outer wall of this body has a radius of 16.28mm and a total height of 257.6mm. To ... | data = [[true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true], [false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false,... | glb/cad_7222faf3b8c7.glb |
Create a replacement rim for a Morex Cubid 2699 case. Start by constructing a hollow rectangular frame with outer dimensions of 14mm in height, 95.4mm in width, and 4mm in depth. The walls of this frame should be 1mm thick.
Add two thin flanges, each 14mm wide, 1mm deep, and 0.5mm thick, positioned at the top and bott... | width=95.4;
height=14;
depth=4;
wallthick=1;
wflange=1;
flangeoffset=0.5;
flangethickness=0.5;
clipwidth=5;
clipthick=wallthick;
clipheight=12;
retainerthick=wallthick*2;
retainerheightinclip=2.5;
module originalrim(){
difference(){
cube( [height,width,depth], center=true );
cube( [height-(wallthick*2),wi... | glb/cad_67090aa72ebb.glb |
Create a water-cooled battery box for an electric surfboard. Start with a solid rectangular block measuring 154mm in length, 78mm in width, and 56mm in height, centered on the origin. From this main volume, remove several rectangular sections to create hollow channels. Specifically, remove six rectangular prisms, each ... | $fn=24;
difference(){
union(){
cube([154,78,56],center=true);
};
translate([0,17,5])
cube([144,24,56],center=true);
translate([0,-17,5])
cube([144,24,56],center=true);
translate([0,51,5])
cube([144,24,56],center=true);
translate([0,-51,5])
cube([144,24,56... | glb/cad_5eb5d26dc42a.glb |
Create a flat, bracket-like geometric shape for an open electric surfboard project with a uniform thickness of 4mm. Start by forming a solid base using two overlapping rectangular prisms: one measuring 24mm by 24mm and another measuring 9mm by 28mm, centered on the same plane. From this combined volume, remove three re... | ROD=10;
PLY=5;
OFFSET=0;
THICKNESS=4;
difference(){
union(){
cube([ROD+4,ROD+4,THICKNESS],center=true);
translate([(ROD+PLY)/2,-OFFSET/2+2,0])
cube([PLY+4,ROD+OFFSET+8,THICKNESS],center=true);
};
union(){
cube([ROD,ROD,THICKNESS],center=true);
translate([(ROD+PLY)... | glb/cad_d3733a92c609.glb |
Create an open electric surfboard electronics enclosure. Start by constructing a central rectangular base that is 5mm thick, 70mm wide, and 5mm high, centered at the origin. Add two identical rectangular blocks on either side of the center, each 5mm wide, 40mm deep, and 15mm high, positioned 45mm from the center along ... | $fn=36;
module top(){
translate([22.5,18,28.75])
cube([40,4,2.5],center=true);
translate([22.5,-18,28.75])
cube([40,4,2.5],center=true);
translate([-22.5,18,28.75])
cube([40,4,2.5],center=true);
translate([-22.5,-18,28.75])
cube([40,4,2.5],center=true);
translate([0,0... | glb/cad_6b12bb931956.glb |
Create a slide potentiometer attachment head. Start by forming a main body that is the intersection of a 9mm by 9mm by 7mm cube centered on the origin and a hull connecting two cylinders: one with a 5mm radius and another with a 3mm radius, both 20mm tall and centered along the Y-axis at 9mm and -9mm respectively. To t... | $fn=72;
module head (){
difference(){
union(){
intersection(){
cube([9,9,7], center=true);
hull(){
translate([0,9,-2])
cylinder(r=5,h=20,center=true);
translate([0,-9,-2])
cyli... | glb/cad_87584e9b66b4.glb |
Create a T-foil for an electric surfboard. Start by constructing a central body using a hull of three cylinders, all 60mm long and centered on the Y-axis: one with a radius of 8mm at the origin, one with a radius of 7mm at Y=16mm, and one with a radius of 7mm at Y=-6mm. To this, add a third cylinder with a radius of 6m... | $fn=72;
module tfoil(){
difference(){
union(){
hull(){
translate([0,0,0])
rotate([0,90,0])
cylinder(r=8,h=60,center=true);
translate([0,-6,0])
rotate([0,90,0])
cylinder(r=7,h=6... | glb/cad_72a58a8bb380.glb |
Create a housing for a cable-actuated slide potentiometer. Start by forming the main body from three joined sections: a central rectangular block measuring 18mm wide, 140mm long, and 10mm high, centered at the origin; a smaller rectangular block measuring 18mm wide, 20mm long, and 18mm high positioned at [0, 60, 4]; an... | $fn=72;
module throttlecontrol(){
difference(){
union(){
translate([0,-10,0])
cube([18,140,10],center=true);
translate([0,60,4])
cube([18,20,18],center=true);
translate([0,0,-3.5])
cube([38,120,3],center=true);
t... | glb/cad_30ede9844c2d.glb |
Create a handgrip attachment for a throttle lever. Start with a central vertical cylinder with a radius of 12.7mm and a height of 100mm, centered on the origin. At the top end, add a thin disc with a radius of 13.1mm and a height of 0.6mm, positioned at Z=49.7mm. At the bottom, create a composite shape by forming a hul... | $fn=72;
difference(){
union(){
cylinder(r=12.7,h=100,center=true);
translate([0,0,49.7])
cylinder(r=13.1,h=0.6,center=true);
translate([0,15,-45])
rotate([0,90,0])
cylinder(r=12.5,h=6,center=true);
hull(){
translate([0,0,-25])
... | glb/cad_4156451aafdf.glb |
Create a 3D model of an SDR stick by combining three geometric components. Start with a central rectangular block measuring 61mm in length, 17mm in width, and 14mm in height, positioned at coordinates (10.5, -28.0, 6.0). Attach a smaller rectangular block to one end of the central body, measuring 11mm in length, 12mm i... | $fs = 0.1;
$fa = 5;
module sdr() {
color("Black") {
translate([10.5, -28.0, 6.0]) cube([61.0, 17.0, 14.0]);
}
color("Silver") {
translate([71.5, -25.5, 10.5]) cube([11.0, 12.0, 5.0]);
}
color("Gold") {
translate([-1.5, -19.5, 13.0]) rotate([0, 90, 0]) cylinder(h=12.0, r=4.0);
}
}
sdr(); | glb/cad_c624c9f04f89.glb |
Create a 3D model of a Raspberry Pi 4 board. Start with a main PCB base: a thin plate 85mm wide, 56mm deep, and 1.4mm thick. The corners of this plate should be rounded with a radius of 3mm. Subtract four cylindrical mounting holes with a diameter of 2.75mm and a height of 3mm; position two holes on the left side at x ... | $fn=100;
part = "pi4";
header = true;
headerDown = false;
module header(pins, rows)
{
color("darkgrey") cube([2.54*pins,2.54*rows,2.54]);
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_59beac9154bc.glb |
Create a Beachhub Pi Rack consisting of two vertical support beams and three stacked hardware holders.
First, create two identical vertical beams, each 200mm long. The beam profile is a complex 2D polygon extruded along its length, featuring a series of stepped notches and protrusions. Position these beams parallel t... | $fs = 0.1;
$fa = 5;
use <raspberrypi.scad>;
use <coolingcase.scad>;
use <ssd.scad>;
use <sdr.scad>;
module beam(length) {
color("Gray")
linear_extrude(height=length)
polygon([[0.0,0.0], [3.5,0.0], [3.5,1.0], [2.0,1.0], [4.0,3.0], [6.0,3.0], [8.0,1.0], [6.5,1.0], [6.5,0.0],
[10.0,0.0], [10.0,3.5], [9... | glb/cad_66775285fcbf.glb |
Create a 3D model of an external SSD. Start by constructing the main body as a hull formed between two cylinders, each with a radius of 5.5mm and a height of 77mm. Position the first cylinder along the Y-axis starting at the origin and the second cylinder 47mm away along the negative Y-axis, both rotated 90 degrees to ... | $fs = 0.1;
$fa = 5;
module ssd() {
color("Gray")
difference() {
hull() {
rotate([0, 90, 0]) cylinder(h=77.0, r=5.5);
translate([0.0, -47.0, 0.0]) rotate([0, 90, 0]) cylinder(h=77.0, r=5.5);
}
hull() {
translate([73.0, -20.75, 0.0]) rotate([0, 90, 0]) cylinder(h=5.0, r=1.5);
tran... | glb/cad_d337a95f5e9c.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.