Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a GitHub-themed base plate by starting with a rectangular slab measuring 72mm wide, 72mm deep, and 4mm thick. Remove two parallel rows of 10 circular holes, each with a radius of 2.55mm and a depth of 20mm. Position the first row of holes centered 4mm from the front edge, with the center of the first hole locate... | use <arduino.scad>
beam_width = 8;
difference(){
cube([8*9, beam_width * 9, 4]);
for (x=[8 : 8 : beam_width * 10]) {
translate([x-4, beam_width/2, -10])
cylinder(r=2.55, h=20, $fn=25);
}
for (x=[8 : 8 : beam_width * 10]) {
translate([x-4, (bea... | glb/cad_e2508b7fb88f.glb |
Create a Tapster Base Plate by starting with a hexagonal prism that has a radius of 97mm and a height of 4mm. From this base, remove several geometric sections to create a pattern of holes and slots. First, remove a central cylinder with a radius of 2.6mm and a height of 25mm. Next, create a rectangular cutout pattern ... | beam_width = 8;
hole_diameter = 5.2;
hole_radius = hole_diameter / 2;
module beam(number_of_holes) {
beam_length = number_of_holes * 8;
for (x=[beam_width/2 : beam_width*1 : beam_length]) {
translate([x-4,beam_width/2-4,-2])
cylinder(r=hole_radius, h=12, $fn=30);
}
}
module joint(){
... | glb/cad_d25a420de6c7.glb |
Create a LEGO Technic-compatible gridbeam by starting with a rectangular prism that is 72mm long, 8mm wide, and 8mm high. Along the center axis of the beam, create a series of nine circular holes, each with a diameter of 5.1mm. These holes should be spaced 8mm apart, with the center of the first hole positioned 4mm fro... | beam_width = 8;
hole_diameter = 5.1;
hole_radius = hole_diameter / 2;
module beam(number_of_holes) {
beam_length = number_of_holes * beam_width;
difference() {
cube([beam_length,beam_width,beam_width]);
for (x=[beam_width/2 : beam_width : beam_length]) {
translate([x,beam... | glb/cad_7c20bb9cd775.glb |
Create a Lego-compatible grid beam by starting with a rectangular block that is 88mm long, 8mm wide, and 4mm high. Along the center length of this block, create a series of 11 circular holes, each with a diameter of 5.1mm. The first hole should be centered 4mm from the starting edge, and each subsequent hole should be ... | beam_width = 8;
hole_diameter = 5.1;
hole_radius = hole_diameter / 2;
module beam(number_of_holes) {
beam_length = number_of_holes * 8;
difference(){
cube([beam_length,beam_width,beam_width/2]);
for (x=[4 : 8 : beam_length]) {
translate([x,4,-2])
cylinder(... | glb/cad_1e2730495429.glb |
Create a Lego-compatible grid beam by starting with a long, extruded trapezoidal prism. The prism's profile is a trapezoid with a base of 40mm, a top width of 32mm, and a height of 4mm, extruded to a total length of 232mm. From this main body, remove a series of circular holes to create a grid pattern. Each hole must h... | beam_width = 8;
hole_diameter = 5.1;
hole_radius = hole_diameter / 2;
module beam(number_of_holes) {
beam_length = number_of_holes * beam_width;
for (x=[4 : 8 : beam_length]) {
translate([x,4,-2])
cylinder(r=hole_radius, h=10, $fn=30);
}
}
difference(){
trapezoid();
tran... | glb/cad_30b423726059.glb |
Create a Tapster Side-plate by starting with a main rectangular slab measuring 232mm in length, 39.75mm in width, and 8mm in thickness, centered on the origin. From this slab, remove two identical rectangular sections to create cutouts for nuts; these cutouts should be 8mm wide, 32.5mm long, and 12mm deep, positioned s... | beam_width = 8;
hole_diameter = 5.3;
hole_radius = hole_diameter / 2;
difference(){
cube([29*beam_width,39.75,beam_width], center=true);
translate([-14.5*beam_width,0,0])
cube([8,32.5,12], center=true);
translate([-13*beam_width+2,0,0])
cube([3.5,8.5,16], center=true);
translate([-14*beam_w... | glb/cad_a4bceca188fa.glb |
Create an Open Design model consisting of several intersecting geometric primitives. Start by centering a rectangular block with dimensions 9mm by 6mm and a height of 3mm. Position a second, smaller rectangular shape with a base of 3mm by 2mm and a height of 2mm, centered at the coordinates (0, 0, 5), but scaled up by ... | translate([0,0,5]) {
rotate(a=[0,180,0]) {
color("red")
linear_extrude(height = 2, scale=3)
square ([3,2],center = true);
}
};
translate([0,0,0]) {
color("gray")
linear_extrude(height = 3)
square ([9,6],center = true);
};
translate([-0.75,3,0]) {
cube([1.5,0.5,2.5]);
};
translate([2.5,3,1]) {
rotate(a=[... | glb/cad_8ff4c69953da.glb |
Create a Cam model consisting of two intersecting rectangular plates. First, construct a base square plate measuring 30mm by 30mm with a thickness of 3mm. Centered within this base plate, remove a square section measuring 8.5mm by 8.5mm that extends through the entire height of the plate. Second, create a second square... | Cam();
module Cam(width=30, heigth=3, camW=8.5){
union(){
color("red")
difference() {
translate([-width/2,-width/2,0])
cube([width,width,heigth]);
translate([-camW/2,-camW/2,-height])
cube([camW,camW,heigth*2]);
}
color("blue")
... | glb/cad_1c1c8e2c1faa.glb |
Create a battery holder consisting of four rectangular prisms. First, create a base plate that is 20mm wide, 74mm long, and 4mm thick. Position a second prism of the same dimensions (20mm by 4mm by 30mm) vertically against the left side of the base plate, aligned with the base's starting edge. Place a third prism of th... | Battery();
module Battery(width=74, heigth=30){
color("red")
translate([0,0,0])
cube([20,width,4]);
color("blue")
translate([0,0,0])
cube([20,4,heigth]);
translate([0,-20,heigth])
cube([20,24,4]);
translate([0,width,0])
cube([20,4,heigth]);
translate([0,width,heigth])
... | glb/cad_b671ee82b900.glb |
Create a wheel attachment bracket by starting with a solid rectangular block that is 50mm wide, 50mm deep, and 15mm high. From this block, remove two identical cylindrical holes that run through the entire depth of the block. Each hole must have a diameter of 3mm. Position the first hole so its center is 11mm from the ... | echo(version=version());
wheelAttach(40, 15 ,35);
module Base(diameter=100, height=3, cubeWidth=50, cubeHeight=50) {
cubePos = diameter/2 ;
negCubePos = -cubePos - cubeWidth;
translate([0,0,0])
cylinder(height, diameter, diameter);
translate([cubePos, cubePos, 0])
wheelAttach();
tra... | glb/cad_44cfbfb820a6.glb |
Create a battery model by combining three rectangular prisms. First, create a base prism measuring 20mm in length, 30mm in width, and 4mm in height, positioned at the origin. Second, add a vertical prism measuring 20mm in length, 4mm in width, and 30mm in height, aligned with the origin. Finally, place a third prism me... | Battery();
module Battery(width=30, heigth=30){
color("red")
translate([0,0,0])
cube([20,width,4]);
color("blue")
translate([0,0,0])
cube([20,4,heigth]);
translate([0,-20,heigth])
cube([20,24,4]);
} | glb/cad_3388590ccbaa.glb |
Create a hollow cube for a BackLed project. Start by creating a solid outer cube with dimensions of 15mm in width, 15mm in depth, and 13mm in height. From this outer shape, remove a smaller interior cube to create a cavity. This interior cutout should be 11mm wide, 11mm deep, and 11mm high, and must be positioned 2mm f... | BackLed();
module BackLed(){
color("red")
difference() {
translate([0,0,0])
cube([15,15,13]);
translate([2,2,2])
cube([11,11,11]);
}
} | glb/cad_32d3e9ceab44.glb |
Create a hollow rectangular box for a BackLed. Start by creating a solid rectangular prism with dimensions of 30mm in width, 23mm in depth, and 26mm in height. From this main volume, remove a smaller rectangular prism to create the internal cavity. This inner cutout should be 24mm wide, 20mm deep, and 22mm high, positi... | BackLed();
module BackLed(){
color("red")
difference() {
translate([0,0,0])
cube([30,23,26]);
translate([3,0,1])
cube([24,20,22]);
}
} | glb/cad_ed343889d4ab.glb |
Create a hollow rectangular enclosure for a BackLed. Start by creating a solid rectangular block measuring 30mm in width, 23mm in depth, and 26mm in height. From this main volume, remove a smaller rectangular block measuring 24mm by 20mm by 22.2mm, positioned 3mm from the front and side edges, to create a hollow interi... | BackLed();
module BackLed(){
color("red")
difference() {
translate([0,0,0])
cube([30,23,26]);
translate([3,0,0.8])
cube([24,20,22.2]);
translate([3,0,23])
cube([3,3,3]);
translate([24,0,23])
cube([3,3,3]);
}
} | glb/cad_34968448dacf.glb |
Create a ktAIR1 device housing. Start by constructing a main rectangular frame with an outer width of 145mm and height of 145mm, and a depth of 24.5mm. Hollow out the center of this frame to create a wall thickness of 2mm.
Within this structure, integrate a central rectangular section measuring 124mm by 130mm with a d... | gap1 = 0.001;
gap2 = 0.002;
th = 2;
fx = 141+th*2;
fy = 141+th*2;
fd = 24.5-5;
fd2 = 5;
cx = 124;
cy = 130;
cd = 25;
cr = 0.7;
A = 0;
B = 0;
C = 0;
D = 1;
E = 1;
if(A)
{
fan( -(24.5+th*3)/2 );
}
if(B)
{
socket_a( 25/2 );
filter1( 35/2 );
}
if(C)
{
filter2( 105 );
rear( 140+th/2 );
}
if(D)
{
di... | glb/cad_b924ea758aec.glb |
Create a benchtop power ATX breakout board enclosure. Start by creating a main shell with a height of 12.5mm, based on the board's outer dimensions with rounded corners. The shell should have a wall thickness of 2mm.
At the board's mounting positions, add standoffs. Each standoff consists of a cylinder with a 2.8mm ra... | include <benchtop_power_common.scad>
tolerance=0.7;
bolt_diam=3;
bolt_head_height=2.8;
bolt_head_r=5.6/2;
cover_clearance = 10.5;
cover_thickness = 2;
led_window_thickness = 0.1;
switch_body=[12,6,6.5];
switch_lever=[6,3.1,5];
module standoff(D_o=bolt_diam/2+cover_thickness, h=cover_clearance+cover_thickness){
cy... | glb/cad_c2a678beb34b.glb |
Create a 3D printing tool part by constructing a composite cylindrical shape with a total height of 8.6mm. Start by forming a base cylinder with a radius of 5mm and a height of 0.8mm. Centered on top of this base, add a second cylinder with a radius of 4mm and a height of 4.3mm. Finally, bore a vertical hole with a rad... | h=8.6;
difference() {
union() {
cylinder(r=4,h=h/2, $fn=50);
cylinder(r=5,h=(h-7)/2, $fn=50);
}
cylinder(r=2.4,h, $fn=50);
} | glb/cad_4b7d5613eaa5.glb |
Create a spray hook tool by starting with a circular base 50mm in diameter and 2mm thick. Centered on this base, add a tapered cylinder that rises 16mm, starting with a diameter of 27mm at the base and narrowing to 25.5mm at the top. Remove a central vertical hole with a diameter of 22mm that extends 21.01mm high, pass... | $fn=100;
module sprayHook() {
difference() {
union() {
cylinder(d=50, h=2);
cylinder(d1=27, d2=25.5, h=16);
}
cylinder(d=22, h=21.01);
translate([0,0,13]) {
translate([0,5/2+0.3,0]) cube([50,0.5,7.01], center=true);
translate([0,-5/2-0... | glb/cad_be20e665e4e3.glb |
Create a 3D printing tool part that combines a building block base with a rotating propeller assembly. Start by constructing a base using two interlocking building block units, each 2x2 in size, stacked to a total height of 19.2mm. In the center of this base, create a vertical cylindrical hole with a radius of 11.15mm ... | include <duplo-block-lib.scad>
br = 11.15;
bh = 7;
ir = 4.3;
t = 4;
e = 0.02;
slotZ=-0.1;
holeZ=2;
screwD=5.2;
quality = 50;
duploBearing();
duploPropelers(topHoles=false, bottomSlots=false, nbPropelers=4);
module duploPropelers(topHoles=true, bottomSlots=true, nbPropelers=3) {
translate([0,0,21]) {
differen... | glb/cad_a6a5d00b6572.glb |
Create a 3D model for a 3dprinting tool consisting of three intersecting rectangular prisms. Start by centering a cube with dimensions 3.5mm x 14mm x 3mm. Add a second cube measuring 3.5mm x 3.4mm x 3mm, positioned 2.5mm above the center of the first cube along the Z-axis. Finally, add two identical cubes, each measuri... | union() {
cube([3.5,14,3], center=true);
translate([0,0,2.5]) cube([3.5,3.4,3], center=true);
translate([1.25,5.75,-1]) cube([6,2.5,5], center=true);
translate([1.25,-5.75,-1]) cube([6,2.5,5], center=true);
} | glb/cad_3e0d4aca46e1.glb |
Create a face shield base with a height of 3.5mm and a thickness of 6mm. The main body consists of a wide, curved band formed by rotating a 6mm by 3.5mm rectangle around a central axis at a radius of 65mm, covering an arc of 210 degrees. At each end of this curved band, attach a straight rectangular arm that is 6mm wid... | module clipX(sizeX, cornerD) {
hull() {
translate([-(sizeX-cornerD)/2,0,0]) sphere(d=cornerD);
translate([(sizeX-cornerD)/2,0,0]) sphere(d=cornerD);
}
}
module clipFace(sizeX, sizeY, cornerD) {
hull() {
translate([0,-(sizeY-cornerD)/2,0]) clipX(sizeX,cornerD);
translate(... | glb/cad_2fe838467a02.glb |
Create a Duplo-compatible marble run fork. Start with a rectangular base block that is 2 units wide, 2 units long, and 3 units high in Duplo raster dimensions. From this base, remove three cylindrical channels to create a splitting path for a marble.
First, create a straight horizontal inflow channel centered along t... | include <duplo-marblerun.scad>
quality = 50;
width = 2;
length = 2;
height = 3;
effWidth = 2 * (width * duploRaster - duploWall - 2 * gapBetweenBricks);
runHeight = 3.5 * duploHeight;
ankle = 70;
ankleWidthOffset = tan(90 - ankle) * runHeight;
ankleHeightOffset = sin(ankle) * innerRadius;
outflowTranslateWidth = ... | glb/cad_abcd664d7056.glb |
Create a pylon for a marble run compatible with building blocks. Start by constructing a base that matches the dimensions of a 2x2 building block. Centered on this base, build a vertical tower structure. The tower begins with a square section that transitions into a series of stacked cylinders. First, create a cylinder... | include <duplo-block-lib.scad>
include <duplo-marblerun.scad>
$fn=80;
innerRadius=14*dr/16;
quality = 50;
pylon(8);
module pylon(h=8) {
difference() {
union() {
duploMarbleRunBase(2,2,1,false);
hull() {
translate([0,0,duploHeight-5]) cube([1.97*dr,1.97*dr,0.5],ce... | glb/cad_75d85e05be97.glb |
Create a face shield base consisting of a primary curved structure and several additional concentric arcs. Start by constructing the main face shield base. Add a first curved arc by extruding a 3mm by 4mm rectangle along a circular path with a radius of 71.5mm, spanning an angle of 230 degrees. Position this arc so it ... | include <face-shield-lib.scad>
$fn=50;
high=4;
module arc() {
translate([0,-22,0])
rotate([0,0,180-25]) {
rotate_extrude(angle=230, convexity=10) translate([71.5, 0]) square([3,high]);
}
translate([0,30,0])
rotate([0,0,-100-40]) {
rotate_extrude(angle=100, conv... | glb/cad_f38e3ebd9dfc.glb |
Create a face shield base consisting of a central curved band and four symmetrical decorative arcs. The base should be 5mm high. Each arc is a semi-circular ring with a thickness of 3mm and a radius of 30mm, extruded to a height of 5mm. Position the first arc centered at [0, -58, 0] and rotated 180 degrees. Create thre... | include <face-shield-lib.scad>
$fn=60;
high=5;
module arc() {
translate([0,-58,0])
rotate([0,0,180]) {
rotate_extrude(angle=180, convexity=10) translate([30, 0]) square([3,high]);
rotate([0,0,180]) translate([0,-36,high/2]) clip();
}
}
union() {
faceShieldBase();
... | glb/cad_eca97227a7c2.glb |
Create a thin rectangular plate measuring 50.4mm by 52.4mm with a thickness of 1.6mm. Centered on the top face of this plate, carve out a circular hole with a diameter of 40mm that penetrates completely through the material. Inside this circular void, add a raised 3D element in the shape of a smiley face, consisting of... | echo(version=version());
font = "Liberation Sans";
module letter(letter_size, letter_height, l) {
linear_extrude(height = letter_height) {
text(l, size = letter_size, font = font, halign = "center", valign = "center", $fn = 16);
}
}
union() {
difference() {
cube([50.4, 52.4, 1.6]);
transl... | glb/cad_98977cb06ff2.glb |
Create a wine glass holder consisting of two identical horizontal platforms connected by two vertical pillars. Each platform is a rectangular block 100mm long, 20mm wide, and 12mm thick, with rounded corners created by a 4mm diameter fillet.
In the center of each platform, create a vertical cylindrical hole with a di... | $fn=80;
wine_glass_holder_top();
translate([64,-2,55]) cylinder(d=4,h=110,center=true);
translate([32,-2,55]) cylinder(d=4,h=110,center=true);
translate([0,0,100]) wine_glass_holder_top();
module wine_glass_holder_top() {
union() {
difference() {
linear_extrude(height=12, convexity=4)
... | glb/cad_9bcfc3252e91.glb |
Create a hollow cylindrical ring designed to bridge instruments to a pole. Start by constructing a main vertical cylinder with an outer diameter of 30mm and a height of 45mm, and remove a concentric inner core with a diameter of 26mm to create a tube. At the base of this tube, add a wider, shorter cylindrical flange wi... | $fn=80;
module ring() {
difference() {
union() {
cylinder(d=31.8, h=3);
cylinder(d=30, h=45);
}
cylinder(d=26, h=100, center=true);
translate([0,0,15]) rotate([90,0,0]) cylinder(d=7, h=50, center=true);
}
}
ring(); | glb/cad_945c757c195d.glb |
Create a 3D model of a metric screw thread with a diameter of 8mm, a pitch of 1mm, and a total length of 8mm. The thread should be external (like a bolt) and right-handed.
Construct the shape by creating a central cylinder with a radius of approximately 3.375mm (calculated as the diameter divided by 2, minus 5.3/8 of ... | metric_thread(8, 1, 8);
pi = 3.14159265;
function segments(diameter) = min(50, ceil(diameter*6));
module metric_thread(diameter=8, pitch=1, length=1, internal=false, n_starts=1)
{
n_turns = floor(length/pitch);
n_segments = segments(diameter);
h = pitch * cos(30);
union() {
intersection() {
... | glb/cad_bbd8c0254e58.glb |
Create a Duplo-compatible marble run corner ramp piece. Start with a rectangular base block that is 2 units wide and 2 units long in Duplo raster dimensions, with a height of 6 units. From this base, remove a curved ramp channel that transitions through a 90-degree turn. This channel should have an inner radius of 8.75... | include <duplo-marblerun.scad>
innerRadius=14*dr/16;
quality = 50;
rampCornerHolePiece();
module rampCornerHolePiece() {
difference() {
duploMarbleRunBase(2,2,6,true);
translate([0,0, -duploHeight]) __cornerHoleRamp(20);
}
}
module __cornerHoleRamp(steps) {
translate([-dr,-dr,2])
for(i=[0:90... | glb/cad_6c416241e84a.glb |
Create a battery holder for a motion sensor. Start with a main cylinder 30.5mm in diameter and 32.5mm high. Remove a smaller concentric cylinder from the bottom with a diameter of 27.7mm and a height of 2mm. Create a central void for a battery by removing a cylinder 17.5mm in diameter and 34.5mm high, positioned 3mm fr... | $fn=100;
cr123H=34.5;
cr123D=17.5;
module xiaomiAqaraMotion() {
sensorExtD=30.5;
sensorIntD=27.7;
holderH=cr123H+2+2-4;
difference() {
cylinder(d=sensorExtD, h=holderH);
translate([0,0,-0.01]) cylinder(d=sensorIntD, h=2);
translate([3,0,-5+3]) cylinder(d=cr123D, h=cr123H);
... | glb/cad_947b370b7551.glb |
Create a vacuum cleaner connector with a 32mm diameter. Start by constructing a main body that transitions from a circular top to a wider, flat base. The top section is a hollow cylinder with an outer diameter of 33mm and an inner diameter of 26mm, extending 30mm in height.
The base is a flat, elongated platform creat... | $fn=100;
use <../water-hose-connector/water-hose-connector.scad>;
vacuum_cleaner_32mm();
module clamp_side() {
union() {
hull() {
translate([0,0,0]) cylinder(d=5,h=8);
translate([3,0,0]) cylinder(d=6,h=8);
}
hull() {
translate([0,3/2,0]) cylinder(d=2,h=... | glb/cad_fb36b1bc8cad.glb |
Create a male water hose connector with a central hollow bore of 4.3mm diameter running through the entire length. Start with a base cylinder 12mm wide and 1.75mm high. On top of this, add a cylinder 20mm in diameter and 4mm high. Above that, add a third cylinder 20mm in diameter and 8mm high, but taper its outer wall ... | riA = 14/2;
riB = 9/2-0.25;
vert0 = 64;
vert1 = 32;
t1 = 1.75;
r1 = 24/2;
t2 = 4;
r2 = 20/2;
t3 = 8;
r3= 14/2;
t4 = 0.75;
t5 = 1.50; r5 = 17/2;
t6 = 0.75;
s6 = t1+t2+t3+t4+t5+t6;
t7 = 2.50;
t8 = 3.00;
t9 = 3.5;
r7 = 16/2;
r8 = 11.5/2;
echo("rimthickness: ",r8-riB);
r9 = r7;
echo("length=24? ",s6-t1 +t7+t8+t9);... | glb/cad_b17ac2ff1ab3.glb |
Create a 3D printing tool mount consisting of three main geometric components. First, create a base fixing part for under the bed: a rectangular block 22mm wide, 50mm long, and 12.5mm high. The top of this block is rounded with a radius of 6.25mm. Remove a rectangular slot 22mm wide and 35mm long from the bottom, and d... | $fn=100;
thickness=4;
thicknessPlate=4.5;
width=22;
lenthPartUnderBed=50;
lenthPart2=65;
high=thickness*2+thicknessPlate;
screwDiam=4;
difference() {
hull() {
cube([width,lenthPartUnderBed,high]);
translate([0,lenthPartUnderBed,high/2]) rotate([0,90,0]) cylinder(d=high, h=width);
}
tra... | glb/cad_9c050c84119d.glb |
Create two identical identification plates for water pipes. For each plate, start with a base shape formed by the convex hull of two 30mm diameter cylinders placed 70mm apart along the x-axis, then apply a 2mm spherical fillet to all edges. The final base should be 1mm thick. Drill two 3.5mm diameter holes through the ... | $fn = 50;
cornerOffset=2;
module plate(text) {
difference() {
minkowski() {
hull() {
cylinder(h=1, d=30);
translate([70,0,0]) cylinder(h=1, d=30);
}
sphere(d=cornerOffset);
}
translate([-6,0,-2]) cylinder(h=5,d=3.5);
... | glb/cad_e6bbc17cd640.glb |
Create a 3D model of a square plate with a central square cutout. Start by creating a base square slab that is 52.8mm wide, 51.7mm deep, and 2mm thick. In the center of this slab, create a square hole that is 48mm wide and 48mm deep, leaving a border of 2.4mm on the sides and 0.15mm on the front and back.
Additionall... | echo(version=version());
font1 = "Liberation Sans";
font2 = "Segoe UI Emoji";
module letter(font, letter_size, letter_height, l) {
linear_extrude(height = letter_height) {
text(l, size = letter_size, font = font, halign = "center", valign = "center", $fn = 16);
}
}
cube_size = 56;
cube_h = 26;
cube_bord=2;
... | glb/cad_6a4cb61dcc92.glb |
Create a soap holder by starting with a solid cylinder 91mm in diameter and 17mm high. Hollow out the center by removing a shape formed from the combination of a 55mm diameter cylinder and a 30mm diameter sphere, with the void starting 17.01mm from the base and extending 15mm high. To create drainage and access holes, ... | $fn = 100;
soap_diameter=85;
soap_high=15;
module soap_holder() {
difference() {
cylinder(d=soap_diameter + 3*2, h=soap_high+2);
translate([0,0,17.01])
minkowski() {
cylinder(d=soap_diameter-30, h=soap_high);
sphere(d=30);
}
translate... | glb/cad_f8d43890b4ec.glb |
Create a 3D printing tool consisting of a central tube and two end caps. Start by constructing a main hollow cylinder with an outer diameter of 50mm, an inner diameter of 46.8mm, and a total height of 200mm. Along the length of this tube, create three circular holes that pass completely through the walls; each hole mus... | $fn = 100;
module bouchon() {
difference() {
union() {
cylinder(d=50, h=2);
cylinder(d=50-2*1.6, h=6);
}
translate([0,0,2]) cylinder(d=50-4*1.6, h=5);
translate([0,0,-0.01]) cylinder(d=30, h=10);
}
}
module tube() {
difference() {
cylinder(d... | glb/cad_d4ea244f1f1d.glb |
Create a small rectangular hollow container with rounded edges and corners. The outer dimensions of the main body should be 8mm in width, 19.3mm in length, and 9mm in height. All exterior edges and corners must be rounded with a radius of 1mm. To create the interior cavity, remove a centered rectangular block from the ... | $fn=100;
L=17.3;
l=6;
h=7;
width=1;
minkowski=1;
difference() {
minkowski() {
cube([l-minkowski,L-minkowski,h-minkowski], center=true);
sphere(d=minkowski*2);
}
minkowski() {
cube([l-(2*minkowski)-width,L-(2*minkowski)-width,h+0.1], center=true);
sphere(d=minkowski*2);
... | glb/cad_551fedc40a4c.glb |
Create a rectangular frame for a mirror fix with a total thickness of 4mm. Start by constructing a solid rectangular slab measuring 155mm in length and 105mm in width, with rounded corners created by a 15mm radius. From the center of this slab, remove a rectangular section measuring 171mm by 121mm to create a hollow ce... | $fn=100;
width=4;
module mirror_fix() {
difference() {
minkowski() {
cube([185-30,135-30,width], center=true);
cylinder(d=30,h=0.001);
}
translate([0,0,width-1.5])
cube([171,121,width], center=true);
cube([171-6,121-6,width*2], center=true);
... | glb/cad_5dc4cbfdd5c6.glb |
Create a clothes-hanger side frame. The frame is based on a bar with a diameter of 7mm and an 8-facet cross-section.
Construct the main body as a bent bar with a total end-to-end length of 390mm and a total height of 110mm. The bar consists of a horizontal bottom section and two diagonal top sections that meet at a p... | part = "side";
length = 390;
height = 110;
bar_d = 7;
bend_d = 38;
pin_buffer = 5;
hook_d = 57;
hook_h = 110;
bar_facets = 8;
tolerance = 0.2;
bar_r = bar_d / 2;
bend_r = bend_d / 2;
thickness = bar_d*cos(180/(bar_facets));
pin_d = bar_d;
plate_h = pin_d * 2 + pin_buffer + 4;
plate_w = pin_d * 2;
plate_... | glb/cad_f3ea829481fd.glb |
Create a ktMEAS1 measurement tool by constructing a base shape formed from two joined rectangular blocks. First, create a block 25mm wide, 125mm long, and 30mm high. Attach a second block of the same width and height, 180mm long, positioned so it extends from the side of the first, resulting in an overall L-shaped foot... | gap1 = 0.001;
gap2 = 0.002;
th = 2;
difference()
{
color( "Blue" )
union()
{
cube( [25, 230/2+10, 30] );
translate( [25, 0, 0] ) cube( [25, 340/2+10, 30] );
}
translate( [10, 10, -10] ) cube( [30, 350, 50] );
translate( [0, 0, 30-2+gap1] )
linear_extrude( height=2, convexity... | glb/cad_d6cc45666d71.glb |
Create a Tafl game board starting with a square base plate measuring 177.8mm by 177.8mm with a thickness of 2.5mm, centered on the origin. On top of this base, construct a grid of raised rails to define the playing squares. The rails should be 3.5mm high and 2.5mm wide. Create a series of parallel rails spaced evenly a... | module tafl(size, baseSize, railSize, numSquares){
echo("generating board of size: ", size, " units with ", numSquares, " squares");
cube(size=[size, size, baseSize], center=true);
for(i = [0:numSquares]){
crossHatch(size, baseSize, railSize, numSquares, i);
rotate([0,0,90]){
... | glb/cad_d857e7950569.glb |
Create an AntiSupport object consisting of a stack of thin, flat rectangular plates. The overall dimensions of the stack should be 30mm in width, 30mm in depth, and 30mm in height. Each individual plate must have a thickness of 0.35mm. Center the entire assembly at the origin. The plates should be stacked vertically al... | module AntiSupport(Cube=[30,30,30], Position=[0,0,0], nozzle=0.35, hor=false, center=true)
{
x=Cube[0];
y=Cube[1];
z=Cube[2];
if (!center){
translate(Position + [x/2,y/2,z/2]) bar();
}
else{
translate(Position) bar();
}
module bar(){
if (hor)
{
f... | glb/cad_f4133b9c4717.glb |
Create a rotating curtain holder consisting of a base and a hinged holder. Start with a base plate that is 32.5mm wide, 25mm deep, and 7.5mm thick. The base should have a central cutout and two small 3mm diameter holes at each end of the width for mounting. Within the base, create two vertical support pillars, each 7.5... | thickness = 7.5;
hole_d = 20;
space =2.5;
screw_h = 7.5;
module base(){
difference(){
hull(){
cube([(3*thickness)+(4*space),hole_d+(2*space),thickness]);
translate([-space,space,0])cube([(3*thickness)+(6*space),hole_d,thickness]);
}
union(){
translate([1.5,(hole_d+(2*space))/2,0]) cylinder(... | glb/cad_e5ff8519a728.glb |
Create a vertical bearing holder for a 2040 aluminium extrusion. Start by creating a main cylindrical body with a height of 62mm and a radius of 7.4mm.
At the base of this cylinder, integrate a thin, flat circular disc with a radius of 7.45mm and a height of 0.5mm.
To complete the part, cut a vertical slot through ... | use <polyholes.scad>
bearing_diameter = 14.95;
module horizontal_bearing_base(bearings=1){
translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true);
}
module horizontal_bearing_holes(bearings=1){
cutter_lenght = 10+bearings*25;
one_holder_lenght = 8+25;
holder_lenght = 8+bearings*25;
difference()... | glb/cad_5db0a8d0c24a.glb |
Create a Y-belt idler for a 2040 aluminium extrusion. Start with a base block composed of a main rectangular volume of 25mm width, 20mm depth, and 46mm height, combined with a top extension of 25mm by 12.5mm by 5mm and two thin horizontal plates of 25mm by 5mm by 2mm positioned at heights of -1.5mm and 18.5mm. Add a sm... | module Y_belt_idler()
{
difference()
{
union(){
translate([-12.5,-20,-6]) cube([25,20,46]);
translate([-12.5,0,31]) cube([25,12.5,5]);
translate([-12.5,2,-1.5]) rotate ([90,0,0])cube([25,5,2]);
translate([-12.5,2,18.5]) rotate ([90,0,0])cube([25,5,2]);
translate(... | glb/cad_7826548c45fe.glb |
Create a Y-belt idler for a 2040 aluminium extrusion. Start with a base block composed of a 25x20x46mm rectangular prism centered at x=0, with additional rectangular sections added to the top: a 25x17.5x5mm block at z=31, and two 25x5x2mm plates positioned at z=-1.5 and z=18.5, and a 25x5x2mm block at z=29.
Carve out ... | module Y_belt_idler()
{
difference()
{
union(){
translate([-12.5,-20,-6]) cube([25,20,46]);
translate([-12.5,0,31]) cube([25,17.5,5]);
translate([-12.5,2,-1.5]) rotate ([90,0,0])cube([25,5,2]);
translate([-12.5,2,18.5]) rotate ([90,0,0])cube([25,5,2]);
translate(... | glb/cad_eb4189d1f978.glb |
Create a Y motor holder for a Prusa i3 MK2s/MK3 designed for 2040 aluminium extrusion.
Start with a main rectangular body measuring 10mm by 42mm by 50mm, positioned from x=6, y=-1.5, z=-3. From this body, remove a horizontal cylinder with a radius of 11.5mm and a length of 35mm, centered at x=-17, y=19.5, z=26. Addit... | module holder()
{
translate([6,-9,36.25]) rotate([45,0,0]) cube([10,1.5,1.5]);
translate([6,-9,33.5]) rotate([45,0,0]) cube([10,1.5,1.5]);
translate([6,-14,33.5]) rotate([45,0,0]) cube([10,1.5,1.5]);
difference(){
translate([-10,-1.5,-3]) cube([20,7,40]);
translate([-3,12,7]) rotate([... | glb/cad_17db5cf79339.glb |
Create a Y motor holder for a 2040 aluminium extrusion. Start with a main rectangular body measuring 10mm by 42mm by 50mm, positioned from x=6, y=-1.5, z=-3.
Remove a semi-cylindrical cutout with a radius of 11.5mm and a length of 35mm, centered at x=-17, y=19.5, z=26, oriented along the Y-axis. Carve out several rec... | module holder()
{
translate([6,-9,36.25]) rotate([45,0,0]) cube([10,1.5,1.5]);
translate([6,-9,33.5]) rotate([45,0,0]) cube([10,1.5,1.5]);
translate([6,-14,33.5]) rotate([45,0,0]) cube([10,1.5,1.5]);
difference(){
translate([-10,-1.5,-3]) cube([20,7,40]);
translate([-3,12,7]) rotate([... | glb/cad_e9b103300025.glb |
Create a Y-axis holder for 2040 aluminum extrusions. Start with a main rectangular body block measuring 50mm in length, 20mm in width, and 12mm in height. Centered on the top face, add a smaller rectangular block measuring 25mm by 5mm by 5mm.
Carve a central cylindrical hole through the width of the part with a radius... | 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_12bc34d6b599.glb |
Create a Y holder front for a 2040 aluminium extrusion. Start with a main body block that is 50mm long, 20mm wide, and 12mm high, featuring rounded corners with a 3mm radius. Attach a rectangular base plate measuring 25mm by 5mm by 2mm, centered at the bottom.
Carve a central Y-axis hole through the block using a cyli... | include <roundCornersCube.scad>
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([2... | glb/cad_f92e30668bce.glb |
Create a Y-axis holder for 2040 aluminum extrusions. Start with a main rectangular body block measuring 50mm in length, 20mm in width, and 12mm in height. Centered on the top surface, add a smaller rectangular protrusion measuring 25mm by 5mm with a height of 2mm.
Carve a central cylindrical channel through the width ... | 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_80aecc758f37.glb |
Create a Y-axis holder for 2040 aluminum extrusions. Start with a main rectangular body block measuring 50mm in length, 20mm in width, and 12mm in height. Centered on the top surface, add a smaller rectangular protrusion measuring 25mm by 5mm with a height of 2mm.
Carve a horizontal cylindrical tunnel through the cent... | 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_76e0031cab74.glb |
Create a Z axis bottom holder for a Prusa i3 MK2s/MK3 designed for 2040 aluminium extrusion. The part consists of a base plate with a complex profile. Start with a primary base structure composed of three rectangular sections: one measuring 7.5mm by 49mm by 36mm, another 30mm by 3.7mm by 36mm, and a larger flat base of... | module z_bottom_base()
{
translate([0,-1.5,0]) cube([7.5,49,16+20]);
translate([0,-5,0]) cube([30,3.7,22+14]);
translate([0,42,0]) cube([30,5.5,22]);
translate([0,-5,0]) cube([50,52.5,5]);
}
module z_bottom_fancy()
{
translate([0.5,-2.5,0]) rotate([0,0,-45-180]) translate([-15,0,-1]) cube([30,... | glb/cad_b6f3322da1a4.glb |
Create a Z-axis bottom holder for a Prusa i3 MK2s/MK3 designed to fit 2040 aluminum extrusions.
Construct the main body using a combination of rectangular blocks: a central base plate measuring 50mm by 52.5mm by 5mm, with side extensions of 7.5mm by 49mm by 36mm and 30mm by 3.7mm by 36mm, and a further section of 30m... | module z_bottom_base()
{
translate([0,-1.5,0]) cube([7.5,49,16+20]);
translate([0,-5,0]) cube([30,3.7,22+14]);
translate([0,42,0]) cube([30,5.5,22]);
translate([0,-5,0]) cube([50,52.5,5]);
translate([-2,13.5,0]) cube([2,5,30]);
translate([-2,20+13.5,0]) cube([2,5,30]);
}
module z_bottom_f... | glb/cad_900e46bfe1f7.glb |
Create a Z axis top holder for a Prusa i3 MK2s/MK3 designed for 2040 aluminium extrusion. The part is a mirrored pair of brackets.
Start with a base composed of three rectangular plates: one 8x45x20mm, one 33x3.6x12mm, and one 38x45x5mm. Add a cylindrical protrusion with a radius of 7mm and a height of 2.5mm at posit... | module z_top_base()
{
translate([0,-5,0]) cube([8,45,20]);
translate([0,-5,0]) cube([33,3.6,12]);
translate([0,-5,0]) cube([38,45,5]);
#translate([-2,1.5,0]) cube([2,5,20]);
#translate([-2,21.5,0]) cube([2,5,20]);
translate([25+4.3,3.2,5]) rotate([0,0,0]) cylinder(h = 2.5, r=7, $fn=60);
}
modu... | glb/cad_3b5cdb80b8ef.glb |
Create a Z axis top holder for a Prusa i3 MK2s/MK3 designed for 2040 aluminium extrusion. The model consists of two mirrored parts.
For each part, start with a base composed of several overlapping rectangular blocks: one 8x55x20mm block, one 33x3.6x12mm block, and one 38x55x5mm block, all positioned to form the main b... | module z_top_base()
{
translate([0,-5,0]) cube([8,55,20]);
translate([0,-5,0]) cube([33,3.6,12]);
translate([0,-5,0]) cube([38,55,5]);
translate([-2,13.5,0]) cube([2,5,20]);
translate([-2,33.5,0]) cube([2,5,20]);
translate([-20,1.2,4]) cube([20,5,16]);
translate([-12.5,6,4])cube([5,2,16]);
... | glb/cad_2fe318fb2128.glb |
Create a 1U rack mount bracket for 2040 aluminum extrusion. Construct the main body as a composite of rectangular blocks with a wall thickness of 3mm. The overall structure should have a total height of 44.4mm and a depth of 31.75mm. The vertical back plate is 3mm thick.
Integrate a series of rectangular sections to ... | thickness=18;
wall=3;
$fn=12;
module rack(thickness,wall){
width=20;
L=44.4;
H=31.75;
R=3;
X=(44.4-31.75)/2;
depth=10;
difference() {
union(){
cube([wall,thickness+2*wall,L-wall],0);
translate ([0,thickness+wall,0]) rotate ([0,0,90]) cube([wall,thickness+wall... | glb/cad_5b85ef56a8c3.glb |
Create a Prusa i3 MK2s/MK3 X-end idler for 2040 aluminium extrusion. Start with a base body that incorporates a central housing for bearings and a pulley.
Within this base, create a series of holes and cutouts: a long cylindrical hole 80mm in length with a 1.55mm radius for a pulley screw, a smaller 4mm long hole wit... | use <x-end.scad>
use <igus.scad>
module x_end_idler_holes()
{
x_end_holes();
translate([0,3.5,0])
{
translate(v=[0,-19,30.25]) rotate(a=[0,-90,0]) cylinder(h = 80, r=1.55, $fn=50);
translate(v=[-4,-19,30.25]) rotate(a=[0,-90,0]) cylinder(h = 4, r=3, $fn=50);
translate(v=[-21.5,-19,... | glb/cad_7665566312e2.glb |
Create a Y-belt holder for a 2040 aluminium extrusion. Start with a base block formed by the union of two rectangular prisms: one measuring 14mm x 51mm x 12mm positioned at [-7, -25.5, 44.5] and a second measuring 12mm x 30mm x 17mm positioned at [-5, -15, 29].
Carve out the belt paths by removing two 3mm x 32mm x 3mm... | module y_belt_holder()
{
difference()
{
union()
{
translate([-7,-25.5,44.5]) cube([14,51,12]);
translate([-5,-15,29]) cube([12,30,17]);
}
translate([-7.5,-16,39.9]) rotate([0,45,0]) cube([3,32,3]);
translate([-7.5,-16,34.9]) rotate([0,45,0]) cub... | glb/cad_8c9b7cc43732.glb |
Create a Y-belt holder for a 2040 aluminium extrusion. Start with a base block formed by the union of a 14x48x12mm rectangular prism and a 12x30x17mm rectangular prism positioned to create a stepped profile.
Carve out a central belt channel by removing a 3x32x3mm volume rotated 45 degrees, and create lower and upper ... | module y_belt_holder()
{
difference()
{
union()
{
translate([-7,-24,44.5]) cube([14,48,12]);
translate([-5,-15,29]) cube([12,30,17]);
}
translate([-7.5,-16,39.9]) rotate([0,45,0]) cube([3,32,3]);
translate([-7.5,-16,34.9]) rotate([0,45,0]) cube(... | glb/cad_f01c2f37fc5d.glb |
Create a Raspberry Pi Cluster Case consisting of a base, a top, two long sides, two short sides, and internal partitions. The overall external dimensions are 158mm in length, 100mm in width, and 99mm in height, with a wall thickness of 3mm.
Construct the base as a flat rectangular plate of 158mm by 100mm by 3mm. Creat... | module casenumber (mode,n,m,l,w,h,p1,p2,p3,t) {
module peg(z){
translate([z/5,0,0])cube([z/5,t,t]);
translate([3*z/5,0,0])cube([z/5,t,t]);
}
module slot (z){
difference(){
cube([z,2*t,t]);
peg(z);
}
}
module base(){
translate([0,t])cube([l,... | glb/cad_4e7bcecf2dc4.glb |
Create a UP2 heat pipe bender jig. The device consists of a central body with two parallel rollers and a clamping mechanism.
First, create the main body. It features two cylindrical shaft bores with a radius of 5mm (bore_r = 5) running through the center to hold the rollers. The body includes bearing housings with an ... | include <tols.scad>
include <smooth_model.scad>
include <bolt_params.scad>
use <bolts.scad>
sm = sm_base;
hp_org_r = 6/2;
hp_org_h = 150;
hp_space_h = 100;
hp_mid_t = 2.18;
hp_mid_w = 8.36;
hp_end_t = 4.3;
hp_end_w = 7.25;
hp_mid_h = 40;
hp_end1_h = 40;
hp_end2_h = 55;
hp_trans_h = 3;
hp_cap_h = 5;
hp_cap_r = 3/2;
h... | glb/cad_ccd2469474d2.glb |
Create a rectangular base block measuring 40mm in length, 30mm in width, and 16mm in height, centered on the origin. On the top surface of this block, centered at a height of 8mm, place a series of five small square prisms, each with a side length of 2.83mm and a height of 9.6mm. These prisms should be rotated 45 degre... | union () {
difference () {
union () {
cube ([40, 30, 16], center=true);
translate ([0, 0, 8]) {
rotate (a=90.0, v=[1, 0, 0]) {
union () {
rotate (a=45.0, v=[0, 0, 1]) {
cube ([2.8284271247461903, 2.8284271247461903, 9.6], center=true);
}
... | glb/cad_06b300951504.glb |
The provided OpenSCAD code describes a complex, repetitive geometric structure. Based on the logic of the script, here is a detailed breakdown of what the resulting 3D model represents:
### 1. Overall Structure
The model is a **large, rectangular grid of interlocking hexagonal cells**. It is composed of multiple ident... | rotate (a=90.0, v=[1, 0, 0]) {
union () {
translate ([0.0, 0.0, 0]) {
difference () {
intersection () {
linear_extrude (height=10, scale=373.20508075688775){
polygon (points=[[0.05000000000000002, 0.08660254037844387], [-0.1, 0], [0.05000000000000002, -0.08660254037844387]]);
... | glb/cad_804d9af29ff5.glb |
Create a clj-scad-things object by starting with a central solid rectangular block measuring 56mm in length, 30mm in width, and 17mm in height, centered on the origin. From this main volume, remove several geometric shapes to create the final form. First, remove a rectangular block of 42mm by 31mm by 2mm, centered at [... | difference () {
cube ([56, 30, 17], center=true);
translate ([0, 0, 9]) {
rotate (a=1.8749999999999998, v=[1, 0, 0]) {
cube ([42, 31, 2], center=true);
}
}
translate ([-29, 0, 0]) {
rotate (a=29.999999999999996, v=[0, 1, 0]) {
cube ([10, 30, 40], center=true);
}
}
translate ([29,... | glb/cad_9b682aa4ea84.glb |
Create a rectangular block measuring 145mm in length, 120mm in width, and 40mm in height, centered on the origin. Hollow out the center of this block by removing a smaller rectangular volume of 142mm by 114mm by 40mm, shifted 1.5mm along the length. Remove a thin slice measuring 3mm by 120mm by 20mm positioned at the f... | difference () {
cube ([145, 120, 40], center=true);
translate ([-1.5, 0, 0]) {
cube ([142, 114, 40], center=true);
}
translate ([71, 0, -10]) {
cube ([3, 120, 20], center=true);
}
translate ([67.5, 0, -5]) {
cube ([4, 120, 10], center=true);
}
translate ([-52.5, -58.5, 0]) {
rotate (a=90... | glb/cad_d869aef701e2.glb |
Create a rectangular block measuring 180mm x 192mm x 38mm, centered on the origin. Hollow out the center by removing a smaller rectangular block of 177mm x 192mm x 35mm, offset by 1.5mm along the X-axis and 1.5mm along the Z-axis.
Carve out several rectangular slots from the main body: two large slots measuring 50mm ... | difference () {
cube ([180, 192, 38], center=true);
translate ([-1.5, 0, 1.5]) {
cube ([177, 192, 35], center=true);
}
translate ([65, 83.5, 0]) {
cube ([50, 33, 38], center=true);
}
translate ([65, -83.5, 0]) {
cube ([50, 33, 38], center=true);
}
translate ([-37, 83.5, 0]) {
cube ([106,... | glb/cad_9b42d468e008.glb |
Create a rectangular block measuring 64mm wide, 192mm long, and 48mm high, centered on the origin. From this main volume, remove several geometric sections to create a hollowed-out shell and specific cutouts. Carve out a central rectangular void measuring 56mm by 192mm by 44mm, centered at a height of 2mm. Remove two r... | difference () {
cube ([64, 192, 48], center=true);
translate ([0, 0, 2]) {
cube ([56, 192, 44], center=true);
}
translate ([0, 83.5, 0]) {
cube ([50, 33, 48], center=true);
}
translate ([0, -83.5, 0]) {
cube ([50, 33, 48], center=true);
}
translate ([-4, 0, 16]) {
cube ([64, 192, 48], ce... | glb/cad_902a7d5e8ca9.glb |
Create a rotationally symmetrical ring with a complex cross-section by revolving a specific polygon around a central axis. The polygon profile starts with a base rectangle 7mm wide and 8mm high, extending from a radius of 5mm to 12mm and a height from -4mm to 4mm. On top of this base, add a smaller rectangular step tha... | rotate_extrude ($fn=256) {
polygon (points=[[5, 4], [12, 4], [12, 5.5], [15, 5.5], [16.5, 4], [16.5, -4], [15, -5.5], [12, -5.5], [12, -4], [5, -4]]);
} | glb/cad_f884385e5226.glb |
Create a rotationally symmetrical object by revolving a specific profile around a central vertical axis. The profile begins at a radius of 10mm from the center, extending vertically to 7.25mm. From there, it steps outward to a radius of 20mm and continues upward to a height of 12.5mm. The profile then extends further o... | rotate_extrude ($fn=256) {
polygon (points=[[10, 0], [10, 7.25], [20, 7.25], [20, 12.5], [43, 12.5], [45, 10.5], [45, -10.5], [43, -12.5], [20, -12.5], [20, -7.25], [10, -7.25]]);
} | glb/cad_52e49bc2b6bb.glb |
Create a rectangular block measuring 45mm wide, 126mm long, and 40mm high, centered on the origin. Hollow out the center of this block by removing a smaller rectangular volume of 42mm wide, 120mm long, and 40mm high, offset by 1.5mm along the width axis.
At each end of the long axis, remove a cylindrical hole with a ... | difference () {
cube ([45, 126, 40], center=true);
translate ([1.5, 0, 0]) {
cube ([42, 120, 40], center=true);
}
translate ([2.5, -61.5, 0]) {
rotate (a=90.0, v=[1, 0, 0]) {
cylinder (h=3, r=11.5, center=true);
}
}
translate ([2.5, 61.5, 0]) {
rotate (a=90.0, v=[1, 0, 0]) {
cyli... | glb/cad_eefcdaa88aee.glb |
Create a square base tile for tabletop gaming. The main body is a flat square plate with a total width and length of 50.8mm (2 inches) and a thickness of 6mm.
Cut a large square hole through the center of the plate to create a hollow frame. The remaining border should be uniform on all sides.
At each of the four cor... | x = 2;
y = 2;
square_basis = "inch";
lock = "openlock";
magnet_hole = 6;
priority = "magnets";
shape = "square";
curvedconcave = "false";
curvedlarge = undef;
curvedsquare = "false";
notch = "false";
notch_x = 2;
notch_y = 2;
dynamic_floors = "false";
TOPLESS = "true";
external_north = "false";
external_south... | glb/cad_f5cb0c216dbc.glb |
Create a rectangular base for a miniature, known as an openforge-base. The base should be a solid block with a total width of 50.8mm (two 25.4mm square units), a depth of 12.7mm (half of a 25.4mm square unit), and a height of 12mm. The overall shape is a simple rectangular prism with these exact dimensions. | include <impl_wall.scad>
x = 2;
z = 4;
HEIGHT = 6;
half = false;
SQUARE_BASIS = "inch";
LOCK = "openlock";
SUPPORTS = "true";
module riser_wall(x,half,square_basis) {
tmp_edge_width = MAGNET_HOLE >= 5.55 ? MAGNET_HOLE + 1 : 6.55;
edge_width = (PRIORITY == "lock" && (x == 1)) || LOCK == "triplex" || LOCK... | glb/cad_903b324822aa.glb |
Create a modular terrain base consisting of a 2x2 grid of squares, where each square has a side length of 25.4mm and the overall tile height is 6mm.
The main body is a solid block measuring 50.8mm by 50.8mm by 6mm. To create the interlocking mechanism, remove a square section from the center of the tile, measuring 25... | x = 2;
y = 2;
HEIGHT = 6;
SQUARE_BASIS = "inch";
LOCK = "openlock";
TOPLESS = "true";
SUPPORTS = "true";
MAGNETS = "flex_magnetic";
MAGNET_HOLE = 6;
ELECTRONICS = "false";
PRIORITY = "lock";
NOTCH = "false";
NOTCH_X = 2;
NOTCH_Y = 2;
CENTER = "none";
include <impl_square.scad>
module base_square(x,y,squar... | glb/cad_f11ad4f8313b.glb |
Create a rectangular riser base for miniatures. The main body is a solid cube with a footprint of 50.8mm by 50.8mm (two 25.4mm squares by two 25.4mm squares) and a total height of 12.7mm.
Along each of the four vertical side faces, create a series of recessed notches to allow for interlocking tiles. These notches mus... | include <impl_square.scad>
x = 2;
y = 2;
z = 4;
SQUARE_BASIS = "inch";
LOCK = "openlock";
SUPPORTS = "true";
module riser_square(x,y,square_basis) {
tmp_edge_width = MAGNET_HOLE >= 5.55 ? MAGNET_HOLE + 1 : 6.55;
edge_width = (PRIORITY == "lock" && (x == 1 || y == 1)) || LOCK == "triplex" || LOCK == "open... | glb/cad_d1c91afa1b9f.glb |
Create a base for a modular terrain system called OpenForge Bases. The overall shape is a rectangular block with a height of 6mm. The footprint is a 2x2 grid of squares, where each square has a side length of 25.4mm, resulting in a total base size of 50.8mm by 50.8mm.
One corner of the block is rounded with a radius ... | x = 2;
y = 2;
z = 4;
SQUARE_BASIS = "inch";
LOCK = "openlock";
SUPPORTS = "true";
include <impl_curved.scad>
module riser_curved(x,y,square_basis) {
tmp_edge_width = MAGNET_HOLE >= 5.55 ? MAGNET_HOLE + 1 : 6.55;
edge_width = (PRIORITY == "lock" && (x == 1 || y == 1)) || LOCK == "triplex" || LOCK == "open... | glb/cad_efc33da800cb.glb |
Create a rectangular box with outer dimensions of 20mm width, 17mm length, and 10mm height, centered on the origin. Hollow out the center of the box by removing a smaller rectangular volume, leaving a wall thickness of 2mm on the left and right sides, while keeping the top and bottom faces solid. At the center of the b... | $fn=100;
width=20;
length=17;
height=10;
border_thickness=2;
holder_radius=3;
holder_length=2;
module holder() {
difference() {
rotate([90,90,0]) cylinder(r=holder_radius, h=holder_length, center=true);
translate([0,-5,-4])
rotate([15,0,0])
cube([holder_radius*4, holder_radius*4... | glb/cad_ffa24a9a62b5.glb |
Create a circular emblem consisting of a thin base plate and a surrounding outer wall. Start by creating a flat cylinder with a diameter of 71.9mm and a thickness of 1mm, centered on the origin. In the center of this plate, cut out a hole in the shape of a snowflake symbol using a font size of 20mm. Around the perimete... | $fn=100;
thickness=1;
wall_thickness=1;
wall_height=7.5;
diameter=72 - 0.1;
snowflake= "\u2744";
heart = "\u2764";
tree = "\U01F384";
star = "\u2736";
cstar = "\u2742";
pattern=snowflake;
tfont="DejaVu Sans";
font_size=20;
radius=diameter/2;
difference() {
cylinder(r=radius, h=thickness, center=... | glb/cad_ab0a9c2138f7.glb |
Create a hollow cylindrical sleeve with a total height of 25mm and an outer diameter of 28.5mm. The main body is formed by a thick outer wall of 5mm, surrounding a central bore with a diameter of 18.5mm. At the top edge of the cylinder, incorporate a bevel that transitions the inner radius of 9.25mm to an outer radius ... | $fn=200;
diameter=18 + 0.5;
height=25;
bevel_height=2;
bevel_thickness=1;
wall_thickness=5;
hole_thickness=2;
radius=diameter/2;
difference() {
cylinder(r=radius+wall_thickness, h=height, center=true);
cylinder(r=radius, h=height*2, center=true);
translate([radius, 0,0])
cube([diameter, hole_thickne... | glb/cad_e53f6f3ae176.glb |
Create a hollow cylindrical container with an outer diameter of 66mm and a total height of 86mm. The walls should have a uniform thickness of 3mm, and the bottom base should also be 3mm thick, leaving an internal cavity with a diameter of 60mm and a height of 80mm.
On the side of the cylinder, create a horizontal cyl... | $fn=100;
diameter=60;
height=80;
wall_thickness=3;
bottom_thickness=3;
module body(wthickness, diam_off) {
difference() {
cylinder(h=height+bottom_thickness, r=diameter/2+wthickness*2, center=true);
translate([0,0,bottom_thickness])
cylinder(h=height+bottom_thickness*2, r=diameter/2 + di... | glb/cad_ba340306833e.glb |
Create a rectangular tray with an outer dimension of 115mm in width, 45mm in depth, and 10mm in height. To form the interior cavity, remove a central rectangular block measuring 111mm wide, 46mm deep, and 10mm high, positioned 2mm above the base. This results in a shallow open container with a flat bottom 2mm thick and... | width=111;
depth=45;
height=10;
border_size=2;
difference() {
cube([width+(border_size*2), depth, height], center=true);
translate([0,0,border_size])
cube([width, depth+1, height], center=true);
} | glb/cad_6e6e8d409269.glb |
Create a rectangular tray with overall dimensions of 155mm in width, 30mm in depth, and 10mm in height. To form the hollow interior, remove a central rectangular block that is 151mm wide, 31mm deep, and 10mm high, positioned 2mm above the base. This results in a thin-walled container with a flat bottom and open sides, ... | width=155;
depth=30;
height=10;
border_size=2;
difference() {
cube([width, depth, height], center=true);
translate([0,0,border_size])
cube([width-(border_size*2), depth+1, height], center=true);
} | glb/cad_9217f9636651.glb |
Create a reel component by starting with a central cylinder 52mm in diameter and 10mm high, centered on the origin. Add a second, wider cylinder on top of the first, with a diameter of 62mm and a height of 5mm, positioned so its base is slightly below the top surface of the first cylinder. Bore a 10mm diameter hole ver... | $fn=200;
bearing_height=7;
bearing_diameter=22;
bearing_bevel_diameter=24;
bearing_bevel_height=1;
bearing_inner_diameter=10;
reel_diameter=52;
reel_depth=10;
reel_flare=5;
reel_flare_depth=5;
difference() {
union() {
color("red")
cylinder(h=reel_depth, r=reel_diameter/2, center=true);
... | glb/cad_3512a4921a42.glb |
Create a flat plate with a thickness of 10mm. The main body is a rectangular block measuring 136mm by 60mm. At the right end, add a protruding hook section that extends the total length by 17mm and has a width of 12mm. Attached to the bottom right is a square foot measuring 10mm by 10mm.
Carve several holes and cutout... | $fn=60;
thickness=10;
frame_thickness=17;
hook_length=30;
hook_height=12;
hook_thickness=8;
hook_hole_depth=10;
hook_hole_diameter=3;
hook_hole_body_diameter=4;
rod_diameter=8;
foot_size=10;
foot_hole_diameter=3;
cable_hole_diameter=10;
difference() {
union() {
cube([136, 60, thickness]);
transl... | glb/cad_974c2f25e6ae.glb |
Create a motor holder by starting with a central rectangular block measuring 35mm in length, 8mm in width, and 15mm in height. Carve a rectangular slot through the top of the block that is 35.5mm long, 4.7mm wide, and 15mm deep to create a channel. Remove a cylindrical hole with a diameter of 4mm that passes vertically... | $fn=100;
holder_slot_width=4.7;
holder_length=70/2;
holder_width=8;
holder_height=15;
motor_diameter=4;
screw_hole_diameter=3;
difference() {
cube([holder_length, holder_width, holder_height], center=true);
translate([0,0,holder_height/2])
cube([holder_length+1, holder_slot_width, holder_height], center=... | glb/cad_c8f9cef27594.glb |
Create a dial indicator holder consisting of a base plate and a mounting carriage. Start with a rectangular base plate 60mm wide, 30mm deep, and 8mm thick. Centered on the plate, remove a rectangular section 45mm wide and 30mm deep, leaving a 5mm wide border on the left side. On the right side of the plate, create a ci... | $fn=50;
screw_diameter = 3.5;
screw_distance = 22;
mount_width=5;
mount_thickness=12 + 20 - 15;
mount_depth=30;
plate_thickness = 8;
plate_width=60;
plate_depth=30;
hole_diameter = 8.25;
clamp_diameter=4.1;
clamp_border_width = 2.5;
clamp_width = 5;
hole_space=2.5;
difference() {
cutout_width = plate_width - m... | glb/cad_cbc3f94048d0.glb |
Create a concentric ring-like structure composed of two nested cylindrical shells. First, create a large outer ring by rotating a circle with a radius of 1.75mm around a central axis at a distance of 10mm, resulting in a torus with an outer diameter of 23.5mm and a thickness of 3.5mm. Inside this torus, place a hollow ... | $fn=70;
difference() {
cylinder(h=3.5, r=4, center=true);
cylinder(h=5, r=2, center=true);
}
difference() {
cylinder(h=3.5, r=17/2, center=true);
cylinder(h=5, r=12/2, center=true);
}
rotate_extrude(convexity=10)
translate([20/2 - 3.5/2,0,0])
circle(r=3.5/2); | glb/cad_1734d3c3bef5.glb |
Create a triangular prism with a length of 30mm and equilateral sides of 10mm. Center the prism so that its longitudinal axis runs through the middle of the triangular faces. Bore a circular hole with a diameter of 4mm through the entire length of the prism, following this central axis from one triangular face to the o... | $fn=200;
height=30;
side=10;
axis_diameter=4;
rotate([0,270,0])
difference() {
cylinder(height,side,side, $fn=3, center=true);
cylinder(h=height*2, r=axis_diameter/2, center=true);
} | glb/cad_3bdd7b5738c2.glb |
Create a gas cylinder holder for mounting on a breadboard. Start with a square base measuring 175mm by 175mm with a thickness of 12.7mm. Round the corners of this base with a 2mm radius. In the base, create four vertical holes with a diameter of 7mm; these should be positioned symmetrically, each offset from the corner... | $fn = 60;
vial_diameter = 2*25.4+1;
flange_diameter = 150;
flange_height = 180;
wall_thickness = 5;
base = 0;
base_x = 175;
base_y = 175;
base_z = 12.7;
hole_pitch = 1*(25.4+0.15);
hole_d = 7;
vial_radius = vial_diameter / 2;
flange_radius = flange_diameter / 2;
union(){
difference(){
thorlabs_bas... | glb/cad_1dbe9c04d8aa.glb |
Create a set of four rectangular plates, each measuring 2 inches wide, 0.5 inches thick, and 2.1 inches high. Each plate must have four screw holes with a radius of 0.0787 inches, positioned 0.315 inches from the side edges and 0.415 inches from the front and back edges.
For the first plate, create a central circular ... | $fn = 60;
inch = 25.4;
height = 2.1;
width = 2;
d_screws = 4/25.4;
d_0p25_28 = 0.2;
d_0p125_NTP = 0.3;
O_015_ID = 0.551;
O_015_OD = 2*0.354;
O_015_ODsq = 0.559607913;
O_015_W = 0.085;
O_015_H = 0.052;
O_019_ID = 0.801;
O_019_OD = 2*0.336;
O_019_ODsq = 0.755957454;
O_019_W = 0.085;
O_019_H = 0.052;
translate([0,0,0.... | glb/cad_467c67f762b3.glb |
Create a set of four electrochemical cell components. Each component starts as a rectangular block measuring 2 inches wide, 0.5 inches deep, and 2.875 inches high. All blocks feature four vertical screw holes with a radius of 0.085 inches, positioned 0.23 inches from the side edges and 0.33 inches from the front and ba... | $fn = 60;
inch = 25.4;
WE_square = 0;
h_CE = 1.71;
height = 2.875;
width = 2;
d_screws = 0.17;
d_0p25_28 = 0.2;
d_0p125_NTP = 0.33;
h_WE = 0.922;
areaWE = 2;
dWE = sqrt(2)/2.54;
dCE = 0.44;
O_015_ID = 0.551;
O_015_OD = 0.7;
O_015_W = 0.085;
O_015_H = 0.052;
O_019_ID = 0.801;
O_019_OD = 0.941;
O_019_ODsq = 0.75595... | glb/cad_1ab9557565ac.glb |
Create a valve holder by combining a rectangular block and a semi-circular base. Start with a rectangular block measuring 7mm in width, 35mm in depth, and 27mm in height. Attached to the bottom of this block, create a base platform that is 7mm thick, extending 15mm further in width to a total width of 22mm and 35mm in ... | $fn = 60;
base = 7;
d_arc = 15;
height = 30;
copies = 1;
d_valve = 11;
inset = 1;
h_inset = base-2.5;
d_inset = 23.5;
for(i=[0:copies-1]){
translate([0, 2*(d_arc/2+10)*i,0]) {
holder();
}
}
module holder()
{
difference() {
cube([7, 2*(d_arc/2+10), base+20]);
translate([-1, 10, b... | glb/cad_81d63c032e95.glb |
Create a BabyMobileHolder saddle clamp designed to secure a pipe with a diameter of 16mm. The main body is a block with a total width of 34mm and a depth of 20mm, and a base thickness of 5mm.
At the center of the block, create a semi-cylindrical cutout with a radius of 12mm (the pipe radius plus a 4mm wall thickness)... | pipe_d = 16;
pipe_lift = 0;
screw_d = 6.4;
screwh_d = 12;
screw_trans = 0;
support_d = 0;
base_thickness = 5;
mount_t = 4;
base_thick = max(base_thickness,screw_trans);
pipe_r = pipe_d/2;
mount_d = screwh_d + mount_t *2 + 2;
mount_w = pipe_d + (mount_d + mount_t) * 2 ;
mount_w_trust = mount_w - mount_d + 2... | glb/cad_b8d1eaaa4afd.glb |
Create a container with a total width of 60mm, a height of 100mm, and a total length of 40mm. The base is a solid slab 5mm thick. Rising from this base is a wall structure that follows the perimeter of a 60mm wide by 100mm high rectangle, but with one end rounded into a semi-circle with a radius of 30mm. The walls have... | hole_distance = 60;
height = 100;
width = 60;
wall_thickness = 3;
base_thinkess = 5;
length = 40;
hole_radius = 2;
tolerance = 0.2;
module base(off, addon = 0) {
offset(delta=off) {
translate([width/2, 0 ,0]) circle(r=width/2);
square([width, height + addon], false);
}
}
cutout_r = hole_radius +... | glb/cad_98133d4d6eca.glb |
Create a spool holder consisting of two symmetrical side plates and a connecting central bar.
Each side plate is a flat slab 6mm thick, 150mm long, and 175mm high. From this rectangular base, remove a large circular cutout with a radius of 175mm centered near the top to create a curved inner profile. Additionally, su... | HOLDER_THICKNESS = 6;
HOLDER_HEIGHT = 175;
HOLDER_LENGTH = 150;
SPOOL_SIZE = 148.5;
SPOOL_SIZE_MARGIN = 0;
SPOOL_INNER_RADIUS = 53 / 2;
HOLDER_SIDE_DISTANCE = SPOOL_SIZE + SPOOL_SIZE_MARGIN;
BAR_CLIP_SIZE_X = 15;
BAR_CLIP_SIZE_Y= 20;
BAR_CLIP_SIZE_Y_OUTER= 17.5;
BAR_WIDTH = 6;
BAR_HEIGHT = 6;
ROD_RADIUS = 8 / 2;
JO... | glb/cad_c90e06bae152.glb |
Create a rectangular base block with a width of 50mm, a length of 21.5mm, and a height of 5mm. The four vertical edges of the base should be rounded with a radius of 2.5mm. Carve five parallel, semi-cylindrical channels through the top of the block, running along the length of the base. These channels are spaced evenly... | canal_sizes = [5, 4, 3, 4, 5];
canal_max_diameter = 5;
canal_size_offset = 0.3;
canal_gutter = 3;
base_width = 50;
base_length = 21.5;
base_height = 5;
base_rounding = 2.5;
canal_z_offset = 1.6;
$fn = 32;
module base() {
translate([base_rounding, base_rounding]) {
minkowski() {
cube([b... | glb/cad_46861ceb0d8d.glb |
Create a headphone stand consisting of two intersecting vertical rectangular prisms, each with a 40mm by 40mm base and a height of 140mm, forming an L-shaped footprint.
Add a front support structure starting from the base. This includes a vertical wall 4mm thick and 60mm high, positioned 14mm from the center. Extend ... | include <../common/din/din934.scad>
include <../common/din/din912.scad>
leg_side = 40;
front_height = 60;
joint_height = 10;
thickness = 4;
ear_size = 10;
headphones_joint_size = 28;
tolerance = 0.1;
module mock() {
color(c = [1, 0, 0], alpha = 0.3) {
union() {
translate([0, 0, -100]) cube([... | glb/cad_ef4774f6bd2e.glb |
Create a headphone joint assembly consisting of two mirrored structural components. For the first part, create a vertical rectangular plate 60mm high, 40mm wide, and 4mm thick. At the top of this plate, integrate a hook structure consisting of a horizontal rectangular bar 48mm long, 28mm wide, and 4mm thick, with an ad... | include <../common/din/din934.scad>
include <../common/din/din912.scad>
leg_side = 40;
front_height = 60;
joint_height = 10;
thickness = 4;
ear_size = 10;
bolt_height = 10;
headphones_joint_size = 28;
tolerance = 0.1;
module mock() {
color(c = [1, 0, 0], alpha = 0.3) {
union() {
translate([... | glb/cad_437fcac8d6a5.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.