Prompt stringlengths 96 2.17k | Code stringlengths 27 249k | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a sprinkler arc radius control insert. Construct a main body based on a circular profile with a 90-degree arc. The part should be a thick-walled curved segment with a hollow center. On the top surface of the insert, emboss the text "90" with a character height of 4mm, positioned centrally within the arc's curve.... | include <common.scad>
difference() {
sprinkler_insert(90);
translate([-3,10,-0.5]) {
linear_extrude(1) mirror([0,1,0]) text("90", 4);
}
} | glb/cad_f7b4e53fcf0d.glb |
Create a Toro 300 series sprinkler arc radius control insert designed for a 60-degree arc. The main body is a custom geometric insert based on the sprinkler's internal housing. On the top surface of the part, engrave the text "60" centered at a height of 10mm, using a font size of 4mm and a depth of 1mm to clearly iden... | include <common.scad>
difference() {
sprinkler_insert(60);
translate([-3,10,-0.5]) {
linear_extrude(1) mirror([0,1,0]) text("60", 4);
}
} | glb/cad_9cb79a37e4ac.glb |
Create a sprinkler arc radius control insert. Start by constructing the main body as a cylinder with a diameter of 25mm and a height of 10mm. Use a low facet count for the cylinder to give it a faceted, polygonal appearance. Centered on the top face of this cylinder, carve out a recessed area to embed the text "180". T... | include <common.scad>
difference() {
sprinkler_insert(180);
translate([-4.5,10,-0.5]) {
linear_extrude(1) mirror([0,1,0]) text("180", 4);
}
} | glb/cad_1c1c68b1f399.glb |
Create a Rollei Heidosmat 150mm f/2.8 to Copal 3 Shutter Adaptor. Start by creating a central cylinder with a height of 50mm and a radius of 27mm, centered on the origin. From this main body, remove a smaller concentric cylinder with a height of 20mm and a radius of 26.92mm to create a hollow core.
At the top of the ... | use <modules.scad>;
use <threads.scad>;
vLensThreadNominal = 58;
vLensThreadPitch = 0.75;
vLensThreadClearance = 0.3;
vLensThreadLength = 7;
vLensThreadOffset = 0;
translate([0,0,15]) {
difference(){
metric_thread(diameter=vLensThreadNominal, pitch=vLensThreadPitch, length=vLensThreadLength, internal=false, n_starts=... | glb/cad_96cda1ad70d8.glb |
Create a Simple XYZ Calibration Structure consisting of three intersecting rectangular prisms, each 100mm in length, meeting at a single shared corner to represent the X, Y, and Z axes. The first prism should be 100mm long, 5mm wide, and 5mm thick, extending along the X-axis. The second prism must also be 100mm long, 5... | linear_extrude(5) square([5,100]);
linear_extrude(5) square([100,5]);
linear_extrude(100) square([5,5]); | glb/cad_cb5980c352ce.glb |
Create a painter's pole topper consisting of a tapered base and a threaded top section. Start by creating a conical base that transitions from a bottom diameter of 30mm to a top diameter of 23mm over a height of 50mm. This base must be hollowed out by a central vertical hole with a radius of 3.25mm and a larger interna... | include <threads.scad>
$fn=64;
screw_dia_inside = 15;
screw_dia_outside = 18.5;
screw_height = 18;
base_height = 50;
base_dia1 = 30;
base_dia2 = 23;
pole_dia = 22;
module dome() {
difference() {
intersection() {
r = screw_dia_outside/2+2;
... | glb/cad_ff84aad61758.glb |
Create a toilet seat lifter handle consisting of a flat base and an attached raised grip. Start by creating a rectangular base with a width of 28mm, a length of 52mm, and a height of 4mm, ensuring all edges and corners are rounded with a radius of 2mm.
Attached to the top of this base, construct a raised handle secti... | module __Customizer_Limit__ () {}
production = 1;
jpeghq = 0;
$resolution = (production && !$preview) ? 150 : (jpeghq ? 150 : 25);
if (production && !$preview) {
echo("Producing PRODUCTION quality");
echo("Resolution",$resolution);
} else {
echo("Producing DRAFT quality");
echo("Resolution",$resolution)... | glb/cad_b3fe8f3f014e.glb |
Create a folding slat camping table clip. Start by extruding the clip profile to a thickness of 19.78mm. In this body, create two cylindrical mounting holes, each with a diameter of 4.32mm and a depth of 9mm, positioned symmetrically at x = -16mm and x = 15.9mm, with their centers offset at y = -1.8mm and z = 10mm.
A... | facets=200;
$fn=facets;
clipDXF = "C:/path/to/camping_table_slat_clip.DXF";
ClipBody();
translate([-0.1, -1.8, 10])
rotate([0,90,90])
Pin();
module ClipBody()
{
difference()
{
translate([1, -131.41, 0])
linear_extrude(19.78)
scale([3.52, 3.52, 3.52])
... | glb/cad_2b75601081f5.glb |
Create an Upright iPhone 5/5S/SE Holder for Horizontal Bicycle Handlebars consisting of two symmetrical mirrored components. Each component is 5mm thick.
First, create the vertical support piece. Start with a base plate 17mm wide and 60mm long. Centered on this plate, create a cutout for a 35mm diameter handlebar. Add... | Phone_Length=59.6;
Phone_Width=124.8;
Phone_Thickness = 8.6;
Vertical_Offset = 0;
Dual_Vertical = 0;
Grip = 0;
Swap_Catches = 0;
Handle_Bar_Diameter = 35;
Holder_Height = 17;
$fs = 0.5;
$fa = 6;
module copy_mirror(vec=[0,1,0]) {
union() {
children();
mirror(vec) children();
}
};
module rounded_corner(v... | glb/cad_190b746eec74.glb |
Create an MMU Loader Test model consisting of a rectangular base with a cutout of the number 5. Start by creating a solid rectangular slab measuring 30mm in width, 15mm in depth, and 1mm in height. Center this slab on the XY plane. To create the number, carve out the digit "5" from the center of the slab. The digit sho... | $fa = 1;
$fs = 0.2;
area_x = 30;
area_y = 15;
area_z = 1;
area_number = 5;
module myMMULoad() {
for(number = [area_number:area_number])
{
translate([0,(area_y * number),0])
{
difference()
{
cube([area_x,area_y,area_z],center=true);
tra... | glb/cad_c754f03d29d7.glb |
Create a nozzle break holder for a BEAR frame. Start with a main body that is a hybrid shape: a rectangular block 100mm long, 10mm wide, and 100mm tall, but with one side modified into an octagonal prism with a radius of 10mm. On the bottom face, carve a V-slot channel 95mm long with a width of 11mm, offset by 0.5mm.
... | use <library/vertical_hole.scad>
$fn=60;
module nozzlebreak(){
rotate([0,90,0]){
translate([0,0,-10])cylinder(h=25, d=4.5);
translate([0,0,5]) cylinder(h=3, d1=4.25,d2=6.5);
translate([0,0,8]) cylinder(h=17, d=6.5);
translate([0,0,24]) cylinder(h=5, d=13);
translate([0,0,29]... | glb/cad_cf043dda42f5.glb |
Create a motorized turntable consisting of a base body, a motor mount, and a top plate.
First, construct the main body as a hollowed-out housing. The exterior is a rounded square prism with a height of 25mm. The bottom is a flat square base, while the top transitions into a circular opening with a diameter of 50mm to... | $fn = 60;
{
union()
{
translate([0,0,8.5]) zakladna();
translate([0,0,8.5]) dekl_low();
}
union()
{
}
}
module spulka()
{
difference()
{
union()
{
translate([0,0,23]) cylinder(d=200,h=4,center=true);
translate([0,0,18.5]) cylinder(d=55,h=9.5,center=true);
}
union(... | glb/cad_01fad52208fc.glb |
Create a 3D model of the Hallburg Castle building. Start with a main rectangular building body 35mm long, 15mm wide, and 14mm high, with walls 2mm thick. Add two gabled end walls, each 9mm high at the peak, with a 2mm wall thickness.
On the west gabled wall, create four rectangular window openings (2.5mm high, 2.2mm w... | include <geblib.scad>
geblen1 = 35;
geblen2 = 35;
gebr = 15;
geho = 14;
gibh = 9;
wd = 2;
gebdrw = 7;
zianz = 15;
ziho1 = 1.7;
ziho2 = 2.15;
tuh = 27;
tub = 6;
tuax = 26;
tuay = 11;
kub = 10;
ttrh = 3;
ttrb1 = tub;
ttrb2 = tub/3;
ttrt = 2.0;
tgtf = 0.45;
tgoff = 1.0;
fh = 2.5;
fb = 2.2;
rt = 0.45;
rb = 0... | glb/cad_3a19899f3e17.glb |
Create a Letter Puzzle piece for the letter "M" with a total height of 5mm. The base geometry is formed by the union of four rectangular blocks: two vertical blocks measuring 25mm by 110mm positioned at [0, 0, 0] and [61, 0, 0], one square block measuring 25mm by 25mm rotated 45 degrees and positioned at [43, 30, 0], a... | $fn = 50;
$height = 5;
HPuzzle();
module MPuzzle() {
difference() {
union() {
translate([0, 0, 0]) cube([25, 110, $height]);
translate([43, 30, 0]) rotate([0, 0, 45]) cube([25, 25, $height]);
translate([61, 0, 0]) cube([25, 110, $height]);
translate([0, 48, ... | glb/cad_3419398cd9bc.glb |
Create a set of case feet consisting of two different sizes: a front foot and a rear foot. Each complete assembly consists of a rigid main leg and a separate shoe pad.
For the front foot, create a cylinder with a diameter of 47mm and a height of 35.5mm. Remove a central vertical hole with a diameter of 11.25mm that st... | leg_lift = 20;
shoe_height = 10;
front_leg_diameter = 47;
leg_height = 15.50 + leg_lift;
rear_leg_diameter = 29.7;
screw_hole_diameter = 12.25;
screw_hole_offset = 3;
screw_thread_diameter = 3;
screw_thread_height = 6;
front_screw_hole_height = leg_height - screw_hole_offset;
rear_screw_hole_height = leg_height - scr... | glb/cad_9dce3e788f63.glb |
Create a hose diameter adaptor consisting of two stepped conical sections joined end-to-end, with a continuous hollow center.
First, construct the larger base section with a total length of 20mm. Divide this length into four equal steps of 5mm each. For each step, create a cylinder where the diameter increases by 1mm... | smallExtDiam = 6;
smallLength = 16;
bigExtDiam = 9;
bigLength = 20;
holeDiameterDifference = 2;
stepCount = 4;
stepDiamIncrease = 1;
tubeAdapter(smallExtDiam, smallLength, bigExtDiam, bigLength);
module tubeAdapter(smallExtDiam, smallLength, bigExtDiam, bigLength) {
difference() {
union() {
oneSide(big... | glb/cad_0efa87add6f1.glb |
Create a parametric soap holder starting with a solid rectangular block 100mm wide, 85mm deep, and 7mm high. Carve out the interior to create a series of four parallel supporting arms and three drainage gaps. The overall top surface of the holder must be angled downwards at 15 degrees to allow water to flow off.
The ... | w = 100;
d = 85;
l = 15;
lh = 7;
ll = 2;
alpha = 15;
beta = 25;
n = 4;
r = 0.4;
inf = 200;
eps = 0.01;
color([0.8, 0.8, 1])
difference() {
cube([w, d, inf]);
rotate([alpha, 0, 0])
translate([-eps, l, ll])
rotate([beta - alpha, 0, 0])
cube([w + 2*eps, inf, inf]);
w_arm = w * r / n;
w_gap = w * ... | glb/cad_844b8eea82ed.glb |
Create a parametric box with a lid. The external dimensions are 40mm wide, 30mm high, and 10mm deep. The walls and the lid have a thickness of 0.86mm.
For the bottom part, create a solid rectangular base with rounded exterior corners (radius 0.86mm). Hollow out the center to create a compartment, leaving the wall thic... | main();
width = 40;
height = 30;
depth = 10;
isExternal = true;
divider_percent = 0;
fingerGap = false;
fingerGapSize = 25;
rounded = true;
interrior_radius = 0;
useTextOnTop = false;
textOnTop = "Some text";
textOnTopSize = 3;
textOnTopDepth = 0.15;
wt = .86;
lt = .1;
topPart = true;
bottomPart = true... | glb/cad_e33fdce9aa95.glb |
Create a rectangular tray with rounded corners and a hollowed-out center. The overall outer dimensions of the base are 72.87mm in width, 64mm in depth, and 16.5mm in height. The corners of the outer shell should be rounded with a radius of 10mm.
Inside this shell, create a rectangular void to form the main storage wel... | $fn=100;
difference(){
roundedCube(72.87,64,16.5);
translate([12,12,11])
minkowski(){
cube([48.87,40,23]);
sphere(r=10);
}
translate([-1,32,43])
rotate([0,90,0])
cylinder(h=90, d=70, center=false);
}
module roundedCube(x,y,z)
{
r=10;
translate([r,r,0])
minkowski()
{
cube([x-(2*r), y-(2*r), z-r]);
cylinder(r,r,r);
... | glb/cad_b6d0ae1fdb3d.glb |
Create a rectangular box with overall dimensions of 216mm in length, 144mm in width, and 19.5mm in height. From this solid base, remove a large rectangular volume measuring 213mm by 141mm by 100mm, positioned 1.5mm from the front and side edges and starting at a height of 12mm. Additionally, remove a second rectangular... | $fn=100;
difference(){
cube([216,144,19.5]);
translate([1.5,1.5,12])
cube([213,141,100]);
translate([1.5,7,1])
cube([213,130,100]);
translate([0,72,-1])
rotate([0,0,90])
cylinder(h=30, d=25, center=false);
}
module roundedCube(x,y,z)
{
r=3;
translate([r,r,0])
minkowski()
{
cube([x-(2*r), y-(2*r), z-r]);
cylinder... | glb/cad_44aaa5263af6.glb |
Create a rectangular tray with rounded corners and a hollowed interior. The outer dimensions of the tray are 144mm in length, 35.5mm in width, and 19.5mm in height. The corners of the outer shell should have a radius of 3mm.
Hollow out the center of the tray by removing a volume that is 112mm long, 21mm wide, and 23mm... | $fn=100;
difference(){
roundedCube(144,35.5,19.5);
translate([25,7.25,6])
minkowski(){
cube([112,21,23]);
sphere(r=5);
}
translate([5,18,-1])
rotate([0,0,90])
cylinder(h=200, d=25, center=false);
translate([0,5.5,-1])
cube([5,25,30]);
}
module roundedCube(x,y,z)
{
r=3;
translate([r,r,0])
minkowski()
{
cube([x-(2*... | glb/cad_e975c0261cb8.glb |
Create a rectangular organizer box with overall dimensions of 188mm in length, 67mm in width, and 65mm in height.
From this solid block, carve out four rectangular wells, each 7mm deep. Position the first two wells at the left and right ends of the block: the first at coordinates (1.5, 1.5, 7) and the second at (95, ... | $fn=100;
difference(){
cube([188,67,65]);
translate([1.5,1.5,7])
cube([92,46,100]);
translate([1.5,49,7])
cube([92,16.5,100]);
translate([95,1.5,7])
cube([92,46,100]);
translate([95,49,7])
cube([92,16.5,100]);
translate([47.5,200,65])
rotate([90,0,0])
cylinder(h=400, r=27.5, center=false);
translate([141,200,65... | glb/cad_498beb4fa707.glb |
Create a rectangular organizer tray for a game box with overall dimensions of 216mm in length, 144mm in width, and 18mm in height.
Start with a solid block of these dimensions and carve out the following sections: first, remove a large rectangular volume measuring 210mm by 144mm by 30mm, starting from a height of 9mm... | $fn=100;
difference(){
cube([216,144,18]);
translate([0,0,9])
cube([210,144,30]);
translate([2,1,1])
for(i = [0:2]){
translate([i*74,0,0])
cube([60,92,23]);
translate([(i*74)+30,0,-2])
rotate([0,0,90])
cylinder(h=30, d=25, center=false);
}
translate([2,94,1])
cube([72,49,23]);
translate([37.75,144,-2])
rotate([0... | glb/cad_3059233457c0.glb |
Create a game organizer tray by starting with a rounded rectangular block measuring 216mm x 73mm x 17.5mm, with corner radii of 3mm.
Carve out a large central rectangular void measuring 142mm x 70mm x 17.5mm, positioned 17.5mm from the left edge and 1.5mm from the front edge. Within the remaining base of this tray, c... | $fn=100;
difference(){
roundedCube(216,73,17.5);
translate([17.5,1.5,8])
roundedCube(142,70,17.5);
translate([-5,0,0]){
translate([25.5,7,1])
linear_extrude(height=20)
polygon(points=[[-0.5,0],[-0.5,25],[5,25],[5,48],[11,59],[13,59],[18,48],[18,13],[24.5,13],[24.5,0]]);
translate([75,66.5,1])
rotate([0,0,180])
lin... | glb/cad_44dff71b5d2a.glb |
Create a rectangular organizer tray for a game box with overall outer dimensions of 216mm in length, 139mm in width, and 13.5mm in height.
From this solid base, carve out the following rectangular voids to create storage compartments: a large area measuring 155mm by 136mm positioned 1.5mm from the left and front edge... | $fn=100;
difference(){
cube([216,139,13.5]);
translate([1.5,1.5,6])
cube([155,136,100]);
translate([1.5,27.5,1])
cube([144,84,100]);
translate([159,5.5,7.5])
cube([55.5,128,100]);
translate([165.5,33.5,1])
cube([49,72,100]);
translate([0,69.5,-1])
rotate([0,0,90])
cylinder(h=30, d=25, center=false);
translate([... | glb/cad_2dc7a0a3a4d3.glb |
Create a rectangular block measuring 95mm wide, 67mm deep, and 65mm high. From this block, remove the following four rectangular volumes to create storage slots: first, a slot 92mm wide, 19mm deep, and 100mm high, positioned 1.5mm from the front and side edges and starting at a height of 7mm; second, a slot 73mm wide, ... | $fn=100;
difference(){
cube([95,67,65]);
translate([1.5,1.5,7])
cube([92,19,100]);
translate([11,22,16])
cube([73,15,100]);
translate([11,38.5,16])
cube([73,8,100]);
translate([10.25,48,1])
cube([74.5,17.5,100]);
translate([47.5,200,65])
rotate([90,0,0])
cylinder(h=400, r=27.5, center=false);
} | glb/cad_b0d9341c31bc.glb |
Create a rectangular organizer tray for a game box with overall dimensions of 216mm in length, 144mm in width, and 18mm in height.
From this solid base, remove a rectangular block measuring 210mm by 144mm by 30mm, positioned 9mm above the base, to create a shallow recessed area. Within this area, carve out three iden... | $fn=100;
difference(){
cube([216,144,18]);
translate([0,0,9])
cube([210,144,30]);
translate([2,1,1])
for(i = [0:2]){
translate([i*74,0,0])
cube([60,92,23]);
translate([(i*74)+30,0,-2])
rotate([0,0,90])
cylinder(h=30, d=25, center=false);
}
translate([48,122,1])
for(i = [0:3]){
translate([i*44,0,0])
cylinder(h=30,... | glb/cad_1ecaed9c30ec.glb |
Create a Parametric T-Track consisting of seven repeating segments, each 40mm long, for a total length of 280mm. Each segment is a rectangular block 19.05mm wide and 9.525mm high.
From the top center of each segment, remove a longitudinal slot to create a T-shaped profile. The main upper slot is 9.525mm wide and 7.14... | track_height = 9.525;
track_width = 19.05;
track_length = 40;
slot_width = 9.525;
slot_depth = 7.144;
t_slot_depth = 2.381;
t_slot_width = 14.2875;
t_slot_height = 3;
slot_bottom_width = 11.1125;
slot_bottom_height = slot_depth - t_slot_height - t_slot_depth;
screw_hole_width = 5;
screw_hole_height = track_height -... | glb/cad_38a82a42a905.glb |
Create a hex key tool consisting of a long hexagonal shaft and a perpendicular handle block. First, construct a hexagonal prism with a flat-to-flat diameter of 7.1mm and a total height of 112.5mm. Rotate this prism 30 degrees around its longitudinal axis. At the base of this shaft, add a centered cube that serves as a ... | hex_diameter=7.1;
total_length=120;
thumb_side=25;
h=total_length-thumb_side/2;
r=hex_diameter/2;
rotate(a=30) cylinder(r=r, h=h, $fn=6);
cube(size=[hex_diameter*(3)^0.5/2, thumb_side, thumb_side], center=true); | glb/cad_29bc891da775.glb |
Create a temperature calibration tower consisting of a base and a series of stepped cutouts. Start by forming a solid block that is 26mm wide, 44mm deep, and 16mm high. Attach a thin vertical wall to the back of this block that is 1mm wide, 44mm deep, and 16mm high.
Along the side of the main block, create a series of... | max_temp=240;
min_temp=190;
steps=5;
count=1+(max_temp-min_temp)/steps;
temperature=max_temp;
difference() {
union() {
translate([0,-4,-4])
cube([1,44,16]);
translate([1,0,0])
cube([count*steps,36,8]);
}
translate([.8,0,0])
for(x=[0:count]) {
translate([5*x+... | glb/cad_bdbcfc3a6ec2.glb |
Create a Lamp Socket Shade consisting of two main parts: a base and a shade.
First, construct the base as a hollowed conical frustum with a height of 50mm. The outer wall should taper from a bottom radius of 56mm to a top radius of 46mm. The wall thickness is 2mm. At the top of this base, create a flat cap 15mm thick... | part = "base";
base_diameter= 88;
shade_diameter=108;
overall_height = 150;
base_height = 50;
thick = 2;
base_thick = 15;
base_rim = 4;
factor = 0.55;
holes = 20;
grill_size = 2.5;
sides = 60;
base_radius = base_diameter / 2;
shade_radius = shade_diameter / 2;
shade_height = overall_height - base_height;
i... | glb/cad_e2fc616aa9a1.glb |
Create a parametric pen holder consisting of 12 hexagonal tubes arranged in a circular pattern. Each tube should have an outer diameter of 12mm and an inner diameter of 9mm, creating a wall thickness of 1.5mm. The tubes must be 40mm tall.
Position the tubes around a central axis, spaced such that their centers form a ... | pencilNumber=12;
pencilHeight = 40;
pencilDiameter = 9.00;
pencilInnerFn = 6;
pencilOuterFn = 6;
pencilAngle = 10;
pencilAngleY = 5;
pencilAngleZ = 30;
wallTickness = 1.5;
epsilon=0.01;
c= (pencilDiameter + wallTickness) / 2;
boxRadius = c / sin(180/ pencilNumber);
echo ("=========================");
echo(base... | glb/cad_8fd4e8bb461a.glb |
Create an AC-Bot Carriage mount by starting with a base block that is 50mm wide and 30mm high. The main body is formed by a profile that is 20mm wide at the top, extending to 40mm wide, then tapering down to 14mm and 0mm at the bottom edges. Integrate a small angled protrusion measuring 9mm by 1mm to fit into a v-slot.... | $fn=80;
ht = 30;
new();
module new() {
difference() {
union() {
translate([-18,0,0]) rotate([90,0,90])
linear_extrude(height=50)
polygon(points=[[0,20],[0,40],[20,40],[ht,20],[ht,14],[ht+28,5],[ht+28,0],[15,0]]);
translate([-18,0,25.5]) rotate([0,-90,180])
... | glb/cad_ba51f62ba469.glb |
Create a Scurrg Bin for a Harbor Freight Organizer by constructing a solid with a height of 23.25mm. The overall footprint is defined by a mirrored polygon with vertices at (-0.1, 1), (8, 1), (12, 4.5), (24, 14), (30, 15), (34, 15), (35, 13), (37, 13), (38, 15), (39, 16), (39, 40), (37, 42), (37, 53), (33.5, 53), (33.5... | include <./bintools.scad>
$fn=160;
binHeight = 46.5/2;
angle=0;
locations = [[[26.5,-31,0], [0,0,53]]];
if (0) harborFreightLargeHalfHt(locations,inset=0.5,filled=1,cornerRad=3.75,
bottomThick=0.9) scurrgBlank();
if (1) scurrgBlank();
if (0) {
translate([-50,0,0]) harborFreightLargeHalfH... | glb/cad_1d88c96c6e4e.glb |
Create a Raspberry Pi 3b v-slot mounting bracket. Start with a main body composed of three joined rectangular prisms: one measuring 24 by 10 by 78 mm, another measuring 9.75 by 11 by 78 mm, and a third section defined by a 2D polygon with vertices at (-0.1, 0), (0, 0), (1, 1), (8, 1), (9, 0), and (9, -0.1), extruded to... | $fn=80;
difference() {
union() {
translate([-15,0,0]) cube([24,10,78]);
translate([-15,0,0]) cube([9.75,11,78]);
translate([4,0,0]) rotate([0,0,180])
linear_extrude(height=78)
polygon(points=[[-0.1,0],[0,0],[1,1],[8,1],[9,0],[9,-0.1]]);
}
bolts();
}
module bolts() {
un... | glb/cad_074f2df9152f.glb |
Create a Motorola APX6000 radio cradle. Start by constructing a main body using a hull operation that connects eight spheres of radius 6mm positioned at the corners of a rectangular footprint. The base dimensions are 85.75mm wide by 180mm long, while the top expands to 90mm wide by 185mm long at a total height of 43mm.... | include <Cradle.scad>
roundingRadius = 6;
bottomWidth = 85.75;
topWidth = 90.0;
bottomLength = 180;
topLength = 185;
depth = 43;
baseThickness = 5;
manifoldOffset = 0.1;
offset = 5;
lengthRelief = 5;
widthRelief = 2;
$fa = 6;
$fs = 0.5;
difference() {
hull() {
translate([-bottomWidth/2,-bottomLength/2,r... | glb/cad_760a323eff3d.glb |
Create a Pi 3B Case for Prusa MK3 consisting of a base and a lid.
For the base, create a rectangular shell with rounded corners measuring 85mm by 56mm. The base has a floor thickness of 1.25mm and a total height of 15mm. Inside the base, place four cylindrical support posts at coordinates [3.5, 3.5], [3.5, 52.5], [61... | Part="both";
Extrusion_Mount="Yes";
Include_Camera_Slot="No";
cameraSlot= (Include_Camera_Slot == "Yes") ? true : false;
mount3030= (Extrusion_Mount == "Yes") ? true : false;
epsilon=0.01;
baseGap=3.25;
PCBThick=1.3;
baseThick=1.25;
totalHeight=21.5;
baseHeight=15;
mountHeight=10;
topHeight=totalHeight-baseHeight;
t... | glb/cad_828c971dd07b.glb |
Create a One Hand Electric Can Opener Modification consisting of two separate mounting components: a back mount and a front mount.
For the back mount, create a rectangular block 100mm wide, 50mm deep, and 17mm high. Remove a semi-cylindrical section from the bottom center using a cylinder with a 106mm diameter and 30m... | union() {
difference() {
cube([100,50,17]);
translate([50,-20,-1]) cylinder(d=106,h=30, $fn=80);
for(x=[15,100-15]) {
translate([x,35,17]) {
cylinder(d=5,h=50, center=true);
cylinder(d=10,h=8, center=true);
}
}
}
difference() {
for(x=[50+60.175/2,50-60.175/2]) {
translate([x,15,14]) rot... | glb/cad_2c8def57d184.glb |
Create a One Hand Electric Can Opener Modification consisting of a main frame and a sliding bottom plate.
Construct the main frame with a total width of 118.139mm and a height of 17mm. The frame should feature a central rectangular cutout measuring 70mm by 150mm for clearance and a semi-cylindrical cutout with a 34mm... | use <quickthread.scad>;
frame();
module animate() {
frame();
translate([118.139,28+$t*140,18]) rotate([95,0,180]) bottom_plate();
}
module frame() {
difference() {
union() {
linear_extrude(height=17) import(file="can_opener.dxf", layer="frame");
linear_extrude(height=14.5) import(file="can_opener.dxf",... | glb/cad_16030ab234ab.glb |
Create an Essential Oil Wall Rack designed to hold eight 25mm diameter bottles across two tiers. Start with a solid block measuring 57mm in depth, 210.4mm in width, and 100mm in height. The front face of the block should be angled backward at 20 degrees.
Carve out two parallel rows of eight circular pockets, each 25m... | bottle_count = 8;
dia = 25;
spacing = dia-1.7;
width = spacing * (bottle_count-1) + dia;
difference() {
$fn = 40;
cube([dia*2+7,width+4,100]);
for(y = [dia/2+2:spacing:spacing*bottle_count+2]) {
translate([(dia+5)+dia/2,y,3]) cylinder(d=dia,h=60);
}
translate([dia+5,2,15]) cube([dia+10,width,100]);
for(y... | glb/cad_28c51fcca2bc.glb |
Create a protective phone case for a Google Pixel 3a. Start by creating a main outer shell with a rounded rectangular footprint of 64.5mm by 146.5mm and a wall thickness of 4.5mm. The shell should be hollowed out to accommodate the phone, leaving a screen opening at the top.
On the bottom edge, center a wide cutout fo... | $fn=50;
module pixelbody(){
minkowski() {
linear_extrude(height = 0.01, center = true, convexity = 10, twist = 0) {
minkowski() {
square([53.2,135],true);
circle(5.25);
}
}
sphere(4.25);
}
}
module bodyplus(){
union(){
pixelbody();
translate([0,-76,... | glb/cad_fa28f4e86c02.glb |
Create a protective phone case for a Google Pixel 3a. Start by creating a main outer shell with a rounded rectangular profile measuring 65.5mm by 147.5mm (derived from a 53.8mm by 134mm base with a 5.75mm radius). The shell should have a wall thickness of approximately 5.5mm.
Hollow out the center to create a cavity f... | $fn=50;
module pixelbody(){
minkowski() {
linear_extrude(height = 0.01, center = true, convexity = 10, twist = 0) {
minkowski() {
square([55.2,136.5],true);
circle(4);
}
}
sphere(4.25);
}
}
module bodyplus(){
union(){
pixelbody();
translate([0,-76,0... | glb/cad_1b607ed3e2fe.glb |
Create a protective phone case for a Google Pixel 3a. Start by creating a main outer shell with rounded corners, based on a rectangle measuring 53.6mm by 137mm with a corner radius of 5.5mm. Hollow out the center to create a cavity for the phone body, which should be 53.2mm by 136mm with a corner radius of 5.25mm. The ... | $fn=50;
module pixelbody(){
minkowski() {
linear_extrude(height = 0.01, center = true, convexity = 10, twist = 0) {
minkowski() {
square([53.2,136],true);
circle(5.25);
}
}
sphere(4.25);
}
}
module bodyplus(){
union(){
pixelbody();
translate([0,-76,... | glb/cad_17cd9e6e18e3.glb |
Create a Syringe Pump Plunger Stage consisting of a main bracket and support structure. Start with a central block measuring 5mm by 52mm by 30mm, and attach a secondary block measuring 9mm by 35mm by 33mm. Add a center rib measuring 13.5mm by 4mm by 33mm.
On the face of the stepper motor mount, create four 3mm diamete... | Syringe = 24.6;
Support = 32;
Endmajor = 39.5;
Endminor = 30.2;
Endflange = 2.4;
Plunger = 26.5;
Plungerflange = 2.3;
Rodminor = 15.7;
Rodmajor = 17.5;
Syringecenter = (Endminor /2)+21;
module bracket(){
$fn = 20;
difference(){
union () {
translate([-0.5,0,21])cube([5,52,30],center=true);
tra... | glb/cad_0980aed18f0e.glb |
Create a NEMA 17 stepper motor mount and base plate assembly. Start by creating a central bracket for the motor: a block measuring 4mm by 52mm by 42mm, centered on the Y and Z axes and shifted 21mm along the X axis. Subtract a cylinder with a radius of 11.5mm and a height of 5mm from the center of this block to accommo... | module bracket(){
difference(){
translate([0,0,21])cube([4,52,42],center=true);
translate([-2.4,0,21])rotate([0,90,0])cylinder(r=11.5,h=5);
translate([-2.5,-15.5,36.65])rotate([90,0,90])cylinder(r=1.7, h=5);
translate([-2.5,-15.5,5.65])rotate([90,0,90])cylinder(r=1.7, h=5);
translate([-2.5,15.5,36.65])rotate([90... | glb/cad_ff4a3b823632.glb |
Create a Syringe Pump stationary end support. Start with a base composed of two intersecting rectangular blocks: a central block measuring 42mm x 40mm x 9mm and a secondary block measuring 50mm x 30mm x 9mm positioned at [0, 35, 4.5].
Add a cylindrical support body with a radius of 14.3mm and a height of 32mm, center... | Syringe = 24.6;
Support = 32;
Endmajor = 39.5;
Endminor = 30.2;
Endflange = 2.4;
Plunger = 26.5;
Plungerflange = 2.3;
Rodminor = 15.7;
Rodmajor = 17.5;
Syringecenter = (Endminor /2)+20;
$fn = 20;
syringe_body();
module syringe_body(){
$fn=30;
difference(){
union () {
translate([0,0,4.5]... | glb/cad_fb12a189190d.glb |
Create a Syringe Pump idler bearing support consisting of a main bracket and a syringe body mount.
First, construct the bracket as a central block measuring 4mm by 52mm by 42mm. Remove a cylinder with a radius of 8mm and a height of 5mm from the center, and a larger cylinder with a radius of 15mm and a height of 5mm ... | $fn = 20;
bracket();
module bracket(){
difference(){
translate([0,0,21])cube([4,52,42],center=true);
translate([-2.4,0,21])rotate([0,90,0])cylinder(r=8,h=5);
translate([-2.4,0,50])rotate([0,90,0])cylinder(r=15,h=5,$fn=50);
translate([-2.5,-15.5,36.65])rotate([90,0,90])cylinder(r=1.7, h=5);
translate([-2.5,-1... | glb/cad_12ae9c67802c.glb |
Create a Syringe Pump Plunger Stage consisting of a main bracket and mounting components. Start with a central block measuring 5mm by 52mm by 30mm, and add a secondary block of 9mm by 35mm by 33mm centered on the first. Integrate a center rib measuring 13.5mm by 4mm by 33mm.
On the face of the stepper motor mount, cre... | Syringe = 17;
Support = 32;
Endmajor = 31.5;
Endminor = 20.2;
Endflange = 2.4;
Plunger = 19.5;
Plungerflange = 2;
Rodminor = 10;
Rodmajor = 11.5;
Syringecenter = (Endminor /2)+21;
module bracket(){
$fn = 20;
difference(){
union () {
translate([-0.5,0,21])cube([5,52,30],center=true);
translate... | glb/cad_08596468a5b6.glb |
Create a Syringe Pump Endstop mount consisting of a central bracket and two symmetrical clamping arms. Start with a central rectangular block measuring 4mm by 52mm by 42mm. Subtract a cylinder with a 13mm radius and 5mm height from the center of one face to create a recessed area for a stepper motor.
On the opposite s... | bottom();
module bottom(){
difference(){
union(){
bracket();
clamps();
}
translate([-22,-42,21])cube([24,84,34]);
}
}
module top(){
difference(){
union(){
bracket();
clamps();
}
translate([-22,-... | glb/cad_e9640d262511.glb |
Create a spiral linear bearing with an outer diameter of 12mm, an inner diameter of 5.05mm, and a total height of 23.8mm. The main body is a cylinder that has been linearly extruded with a 30-degree twist.
Carve seven identical helical grooves (spikes) into the outer surface. Each groove is created by subtracting a r... | outerD=12;
innerD=5.05;
filament_margin = 0.92;
H=23.8;
N = 7;
spike_angle = 30;
blade_twist = 30;
$fn = 50;
module spike() {
difference() {
rotate ([0,0,0]) translate ([outerD/2-2,0,0]) rotate ([0,0,spike_angle]) cube([7,1.1,H+2], center = true);
cylinder (r = (innerD+ filament_margin)/2, h = H+2... | glb/cad_bf7e44806653.glb |
Create a Syringe Pump stationary body clamp. Start with a base composed of two intersecting rectangular blocks: a central block measuring 42mm x 40mm x 9mm and a secondary block measuring 45mm x 22mm x 9mm positioned at [0, 30, 4.5].
Add a cylindrical support extending from the base with a radius of 10.5mm (Syringe r... | Syringe = 17;
Support = 32;
Endmajor = 31.25;
Endminor = 20.2;
Endflange = 2;
Plunger = 19.5;
Plungerflange = 2;
Rodminor = 10;
Rodmajor = 11.5;
Syringecenter = (Endminor /2)+20;
$fn = 20;
syringe_body();
module syringe_body(){
$fn=30;
difference(){
union () {
translate([0,0,4.5])cube([... | glb/cad_b2a57aeb4b35.glb |
Create an intersection cube sphere by generating a cube and a sphere that share the same center point. The cube should have side lengths of 12mm. The sphere should have a diameter of 16mm, resulting in a radius of 8mm. The final shape is the volume where these two geometries overlap, creating a sphere with six flat cir... | intersection() {
cube(12, center=true);
sphere(8);
} | glb/cad_45b65700988d.glb |
Create a Picade Backplate by starting with a base rectangular plate measuring 90mm by 90mm with a total thickness of 1.9mm. In the center of the plate, create a square cutout measuring 78mm by 78mm, leaving a 6mm border around the edges. Add vertical walls 6mm high along the left and right edges of this central cutout.... | $fn=50;
toleranz=0.2;
layerhoehe=0.2;
1st_layerhoehe=0.3;
eth_abstand=24;
eth_loch=2.845;
eth_dim=[14, 13];
usb_abstand=30;
usb_loch=2.845;
usb_dim=[14, 7];
button_loch=16;
platte_dim=[90, 90, layerhoehe * 8 + 1st_layerhoehe];
platte_d=platte_dim[2];
wand_d=6;
m3_d=6;
durchbruch_dim=[78, 78];
platte();
module fl... | glb/cad_8bdb06e5d78e.glb |
Create a Picade Backplate consisting of five thin circular discs, each with a diameter of 20mm and a thickness of 0.9mm. Each disc must feature a centered, recessed text label cut entirely through the geometry.
Arrange the discs in two rows. The bottom row contains four discs spaced linearly along the X-axis. The fir... | button_d=20;
color("white")
{
*linear_extrude(height=0.9)
difference()
{
circle(d=button_d, $fn=50);
text("\uF080", font="Webdings:style=Regular", valign="center", halign="center", size=15);
}
*translate([button_d + 1, 0, 0])
linear_extrude(height=0.9)
difference()
{
circle(d=button_d, $fn=50);
... | glb/cad_ad43889c18ab.glb |
Create a wall-mounted hook for a handheld massager. Start with a rectangular base plate that is 100mm wide, 50mm deep, and 10mm thick. From this base, extend a vertical arm upwards to a total height of 100mm. This vertical section should be 10mm thick and 50mm wide.
Within this vertical arm, carve out a central cylind... | hook_x = 100;
hook_y = 50;
hook_z = 100;
hook_shelf_z = 70;
hook_hole_diam = 25;
hook_hole_depth = 80;
translate([hook_x, 0, 0])
rotate([0, -90, 0])
wall_hook(hook_x, hook_y, hook_z, hook_shelf_z, hook_hole_diam, hook_hole_depth);
module wall_hook(x, y, z, shelf_z, hole_diam, hole_depth) {
arm_thickness = 10;
bac... | glb/cad_123a35e3bdf0.glb |
Create a CurrentRanger 18650 battery case. Start with a solid rectangular block measuring 83.5mm in width, 53.79mm in depth, and 31.6mm in height. All outer vertical corners should have a 2mm radius.
Hollow out the center to create a main cavity with a floor thickness of 1mm and wall thickness of 2mm. In the top face,... | fudge = 0.75;
cx = 79.5+fudge;
cy = 50.04+fudge;
cxsp = 75.44;
cysp = 45.97;
cz = 29;
cthick = 1.6;
wall = 2;
bottom = 1;
screwd = 2;
screwlen = 5;
bossd = screwd+wall*2;
batd = 19;
batl = 65+3+5;
usbw = 11;
usbh = 5;
usboff = 12.83;
contactw = 12;
contactc = 7;
dovet = 1.25;
wiret = 2;
wirew = 4;
$fn=36;
cx... | glb/cad_e773702b5662.glb |
Create a Transtec Frog backplate led/buzzer mount by starting with a rectangular base measuring 12mm wide, 38mm long, and 2mm thick. At a centered position along the width, create two vertical holes passing through the plate. Position the first hole 2.75mm from the left edge and the second hole 2.75mm from the right ed... | height = 2;
$fs = 0.01;
plate_width = 38;
wp = 32.5;
module screw_hole_big() {
cylinder(d=4.3, h=2+height, $fn=50);
}
module screw_hole_small() {
cylinder(d=2.5, h=2+height, $fn=50);
}
difference() {
hole_height = 02;
union() {
cube([12, plate_width, height], center=false);
}
{
... | glb/cad_736a35c806cf.glb |
Create a Caddx Vista camera spacer by starting with a rectangular base measuring 13mm wide, 20mm long, and 3.8mm high. On the top surface of this base, add two small cylinders, each with a diameter of 5.8mm and a height of 4.3mm, positioned with their centers at coordinates (5, 3.7) and (5, 16.3) relative to the base c... | height = 3.8;
$fs = 0.01;
module screw_hole_big() {
cylinder(d=4.3, h=2+height, $fn=50);
}
module screw_hole_small() {
cylinder(d=2.1, h=2+height, $fn=50);
}
difference() {
hole_height = 02;
union() {
cube([13, 20, height], center=false);
translate([5, 3.7, 0])
cylinder(d... | glb/cad_c2e42799fd96.glb |
Create a Uilleann bagpipes chanter consisting of a long, tapered central body with a hollow inner bore. The bore starts at the bottom with a diameter of 13.2mm and narrows to 5.51mm over a length of 337mm.
The main body is primarily a cylinder that tapers from 20.4mm to 18mm in diameter over a height of 244.9mm, posit... | module metal() {
color("silver") children();
}
module leather() {
color("sienna") children();
}
module ivory() {
color("wheat") children();
}
module wood() {
color("black") children();
}
module patty(h, d) {
intersection() {
cylinder(h=h, d=d);
translate([0, 0, h/2]) {
... | glb/cad_f2101a37b37c.glb |
Create a Parametric Velcro Anchor designed to secure a strap. Start by creating a base plate that is 2mm thick, 34mm wide (calculated as 26mm strap width plus two 4mm side margins), and 20mm long.
In the center of this base, add a raised bridge that is 2mm thick, 26mm wide, and 10mm long. This bridge should be positi... | VelcroWidth = 26;
VelcroThickness = 2;
Thickness=2;
SideWidth=4;
BaseWidth=20;
BridgeWidth=10;
MountHoles = false;
HoleShape = "Cone";
ConeTopDia = 3;
ConeBotDia = 2;
CylDia = 2;
SocTopDia = 3;
SocBotDia = 2;
SocDepth = 1;
Indent = false;
IndentWidth = 13;
IndentLength = 25;
IndentDepth = 0.8;
RotateMode... | glb/cad_b645d75c5598.glb |
Create a vertical bearing holder for a RepRap G3D Z-axis. Start by creating a main body that is a cylinder with a radius of 10.5mm and a height of 58mm. This cylinder should be partially enclosed by a rectangular block centered on the Z-axis with dimensions 7.5mm wide, 21mm deep, and 58mm high.
From this combined volu... | use <polyholes.scad>
bearing_diameter = 15;
module horizontal_bearing_base(bearings=1){
translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true);
}
module horizontal_bearing_holes(bearings=1){
cutter_lenght = 10+bearings*25;
one_holder_lenght = 8+25;
holder_lenght = 8+bearings*25;
d... | glb/cad_9bf83dfb71c6.glb |
Create a RepRap G3D Z-axis leadscrew nut holder. Start with a main rectangular block measuring 17mm in width, 39mm in depth, and 58mm in height.
On the front face of this block, create a vertical slot measuring 11mm wide, 46mm high, and 28mm deep, centered relative to the block's depth. Refine the edges of this slot ... | use <bearing.scad>
use <polyholes.scad>
rod_distance = 45;
module x_end_base(){
height = 58;
translate(v=[-14,-9,height/2]) cube(size = [17,39,height], center = true);
vertical_bearing_base();
translate(v=[-2-2,-17,4]) cube(size = [8,16,8], center = true);
translate(v=[0,-17,0]) rotate([0,0,30... | glb/cad_7f73c55be40a.glb |
Create a marble run track piece by starting with a rectangular base that is 90mm long, 20mm wide, and 10mm high. Cut a semi-circular channel through the center of the length with a diameter of 12mm to create a groove for the marble. Along one side of the track, add three cylindrical magnet holders. Each holder should b... | $fn=30;
mag =90;
szel = 12;
teker = 0;
module cso (m,sz,tw) {
linear_extrude (height=m, twist=tw) {
difference () {
square ([sz+8,10]);
translate ([10,-1]) {
circle (d=sz);
};
};
};
};
module magnes (atm, mg) {
rotate ([90,0,90]) {
difference () {
cylinder (d=atm+2, h=mg+2);
cylinder (d=atm, h=mg);
};
};
};
cso (mag... | glb/cad_34e07baa85fa.glb |
Create a marble run component centered around a central vertical axis. Start by creating a central core consisting of a cylinder with a diameter of 8mm and a height of 5mm, topped with a sphere of radius 2.5mm at a height of 2.4mm. Below this sphere, extend a thin cylinder with a diameter of 3mm reaching down to -10mm,... | $fn =30;
difference () {
union () {
for (a=[0:60:170]) {
rotate ([0,0,a]) {
lap();;
};
};
translate ([0,0,-2.5]) {
cylinder (d=8, h=5);
};
};
union () {
translate ([0,0,-3]) {
cylinder (d=4, h=8);
};
translate ([0,0,2.4]){
sphere (2.5);
};
};
};
difference () {
union () {
translate ([0,0,2.2]){
sph... | glb/cad_f091b78e0649.glb |
Create a marble run track piece by starting with a rectangular block 90mm long, 20mm wide, and 10mm high. Carve a semi-cylindrical groove with a diameter of 12mm along the entire 90mm length, centered 10mm from the side edge. At both ends of the block, create a circular housing for a magnet by removing a cylinder with ... | $fn=30;
mag =90;
szel = 12;
teker = 0;
module cso (m,sz,tw) {
linear_extrude (height=m, twist=tw) {
difference () {
square ([sz+8,10]);
translate ([10,-1]) {
circle (d=sz);
};
};
};
};
module magnes (atm, mg) {
rotate ([90,0,90]) {
difference () {
cylinder (d=atm+2, h=mg+2);
cylinder (d=atm, h=mg);
};
};
};
cso (mag... | glb/cad_688f3285544d.glb |
Create a Suspended Cube sculpture by starting with a large outer cube measuring 20mm on all sides. Hollow out this outer cube by removing three smaller internal rectangular prisms, each measuring 16mm by 16mm by 20mm, positioned such that they leave a 2mm thick wall on two adjacent sides of each axis, effectively creat... | difference() {
cube(20);
translate([0,2,2])
cube([20,16,16]);
translate([2,0,2])
cube([16,20,16]);
translate([2,2,0])
cube([16,16,20]);
}
translate([5,5,5])
cube(10);
translate([0,0,20])
rotate([0,125.3,45])
cylinder(34.2,.25,.25);
translate([20,0,20])
rotate([0,125.3,135])
cylinder(34.2,.25,.25);
translate([0,20,20... | glb/cad_b3aa383bbcfc.glb |
Create a cap for a spring doorstop. Start by creating a main cylinder with a diameter of 13.8 mm and a total height of 11.5 mm. This cylinder should have a hollow center consisting of a hole with a diameter of 10.8 mm and a depth of 11 mm, leaving a base thickness of 0.5 mm at the bottom. On the top surface of the main... | $fn=0;
$fa=0.01;
$fs=0.1;
spring_od=10.8;
spring_id=6.7;
wall_thickness=1.5;
base_length=10;
cap_length=4;
difference() {
union () {
cylinder(d=spring_od+wall_thickness*2,h=base_length+wall_thickness);
translate([0,0,base_length+wall_thickness])
scale([spring_od+wall_thickness*2,spring_od+wall_thickne... | glb/cad_66e787e8e99a.glb |
Create a Kuru Toga Mechanical Pencil Cap Replacement by constructing a hollowed-out capsule shape. Start with a solid outer form consisting of a cylinder with a radius of 3.65mm and a height of 9.65mm, topped with a hemisphere of the same 3.65mm radius. From the center of this combined shape, remove a core to create a ... | height = 13;
d_inner = 6.5;
d_outer = 7.3;
r_outer=d_outer/2;
r_inner = d_inner/2;
size= height-r_outer;
translate([0,0,size])
color("red")
difference(){
union(){
sphere(r=r_outer, $fn=100);
translate([0,0,-size])
cylinder(r=r_outer, h=size, $fn=100);
}
color("green")
union() {
sphere(r=r_inner, $fn=100... | glb/cad_7949fa23adb4.glb |
Create a curtain rail end stop consisting of a circular base and a vertical stopper. Start with a cylindrical base 16mm in diameter and 2mm in height. Cut a rectangular slot through the center of this base, 10mm wide and 2mm deep, leaving 3mm of material on either side. Centered on this base, place a vertical rectangul... | $fn=80;
d_d=16;
difference(){
cylinder(h=2, d=16);
translate([0,8,1])
color("red")
cube([10,2,2],true);
translate([0,-8,1])
color("red")
cube([10,2,2],true);
}
off_y=1.0;
translate([0,off_y,6])
rotate([0,0,90])
cube([1.8,13.5,12], true);
color("red")
{
translate([-3.2,off_y,0])
cylinder(h=10, d2=1.9, d1=... | glb/cad_0d7d8d9dd5a6.glb |
Create a 20-foot shipping container model for an HO scale train. The main body is a rectangular prism with outer dimensions of 70.6mm in length, 28mm in width, and 29.8mm in height. The structure is built around a skeletal frame of 2mm thick beams running along all twelve edges.
The roof and floor are flat plates 1mm ... | epb=2;
lx=70.6;
ly=28;
lz=29.8;
hd=1.2;
translate([0,0,-lz/2+0.5])
color("blue")
cube([lx-4,ly-4,1],true);
difference() {
union() {
for(x=[-lx/2,lx/2-epb]) {
for (y=[-ly/2,ly/2-epb]) {
translate([x,y,-lz/2])
cube([epb,epb,lz]);
}
}
for(y=[-ly/2,ly/2-epb]) {
for (z=[-lz/2,lz/2-epb]) {
translate([-l... | glb/cad_a3f00dea4ccd.glb |
Create a filament clip for a 1.75mm filament spool. Start with a base block 9mm wide, 13mm long, and 5mm high. Round the four outer vertical corners with a 2mm radius. On one of the 9mm sides, create a centered cutout to accommodate the spool rim; this cutout consists of a rounded rectangular slot 4mm wide and 8.7mm lo... | include <MCAD/boxes.scad>
$fn=100;
k=0.01;
round_outer_corner = 2;
round_inner_corner = 1;
height=5;
fildia=2.5;
sink=fildia/3;
difference(){
union(){
difference(){
union(){
roundedBox([9, 13, height], round_outer_corner, true);
translate([fildia/3*2,0,0])
cylinder(d=fildia*3, h=height, center=tru... | glb/cad_b2b7c10ae983.glb |
Create a Guiding Bezel for a wire spool holder. Start with a rectangular base plate that is 2 mm thick, 20 mm high, and has a total length of 186 mm (calculated as two 9 mm rims, 11 spool widths of 15 mm each, and a 2 mm gap).
Center a 4 mm diameter circular hole through the plate at each end, positioned 4.5 mm from ... | bezel_height = 20;
spools=11;
spool_width=15.0;
wire_hole_diameter = 2;
rim=9.0;
screw_hole_diameter = 4;
gap=2;
$fn=50;
totalx=2*rim + spools*spool_width + gap;
thickness=2;
ix=0.005;
difference(){
cube([totalx, bezel_height, thickness]);
union(){
translate([rim/2, bezel_height/2, 0])
cylinder(d=screw_hole_... | glb/cad_ef7bf63e07dc.glb |
Create a Ring Object Storage dispenser consisting of two identical components. Each component is composed of a central vertical pin attached to a square base plate.
For each component, create a square base plate measuring 20mm by 20mm with a thickness of 3mm, centered on the XY plane. From the center of this plate, ex... | d_outer = 13;
height = 33;
corr = 0;
base_plate_size = 20;
create=1;
$fn=200;
d_wall = 3;
d_inner = d_outer-d_wall-corr;
if(create>0){
union(){
difference(){
cylinder(d=d_outer, h=height);
cylinder(d=d_outer-d_wall+corr/2, h=height+0.005);
}
cube([base_plate_size, base_plate_size, d_wall], center=... | glb/cad_f19a8000f87c.glb |
Create a Sonicare Brush Marker Clip, which is a small, asymmetric hollow cylinder designed to slide onto a toothbrush handle.
Start by creating a solid elliptical cylinder with a height of 7mm, an outer width of 10.3mm along the X-axis, and an outer depth of 10.1mm along the Y-axis. From the center of this shape, rem... | include <MCAD/boxes.scad>
$fn=360;
k=0.001;
asym = 1;
clickBall = 0;
rounded = 0;
wall=2.0;
zi=7;
zo=zi-0.001;
yoi=7.9;
yui=8.1;
yuo=yui+wall;
xoi=8.1;
xui=8.3;
xuo=xui+wall;
rotate([0,180,0]){
difference(){
difference(){
union(){
scale ([xuo,yuo,zo])
cylinder(d=1, h=1);
}
scale ([xui, yui,... | glb/cad_46d2dd7aa784.glb |
Create a fish feeder ring by constructing a hollow, torus-like ring with a median radius of 40mm. The cross-section of the ring is an elliptical shell. First, create a solid elliptical profile with a width of 10mm along the x-axis and a height of 9mm along the z-axis. From this solid profile, remove a smaller concentri... | radius=40;
dia_x=10.0;
dia_z=9;
dia_xi=dia_x-1.6;
dia_zi=dia_z-1.6;
$fn=360;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
color("red")
translate([0,0,0])
rotate_extrude(angle=360, convexity=10)
translate([radius, 0]) difference(){
scale([dia_x,dia_z])circle(d=1);
scale([dia_xi,dia_zi])circle(d=1);
} | glb/cad_affbf2008120.glb |
Create a Shower Syphon Extractor tool. Start with a central rectangular body that is 40mm wide, 5mm thick, and 70mm long. At the end of this body, add a handle section consisting of two parallel arms, each 5mm wide and 20mm long, separated by a gap. Connect these arms with a cross-bar 5mm thick, positioned 5mm before t... | $fn=300;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
z_pull=70;
x_pull=5;
y_pull=5;
x_dia=40;
z_claw=4;
y_claw=y_pull;
x_claw=x_pull+5;
d_trigger=23;
x_handle=40+2*x_pull;
z_handle=20;
rotate([90,0,0])
union()
{
cube([x_pull, y_pull, z_pull+d_trigger/2]);
translate([x_dia-x_pull,0,0])
cube([x_pull, y_pull, z_pull+d_... | glb/cad_cb4c7c6a05f1.glb |
Create a Shower Syphon Extractor tool. The main body consists of a central rectangular block 40mm wide, 5mm thick, and 81.5mm long. At one end of this block, create a circular handle by forming a ring with an outer diameter of 50mm and an inner diameter of 40mm, with a thickness of 5mm.
Along the length of the central... | $fn=300;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
z_pull=70;
x_pull=5;
y_pull=5;
x_dia=40;
z_claw=4;
y_claw=y_pull;
x_claw=x_pull+5;
d_trigger=23;
x_handle=40+2*x_pull;
z_handle=20;
rotate([90,0,0])
union()
{
cube([x_pull, y_pull, z_pull+d_trigger/2]);
translate([x_dia-x_pull,0,0])
cube([x_pull, y_pull, z_pull+d_t... | glb/cad_55c220d9080a.glb |
Create a wireless charger powerbank case designed to house a Xiaomi Power Bank 2 and a Qi charging circuit board.
Start by creating a main rectangular body with dimensions 133mm in length, 72mm in width, and 14.5mm in height. The two long side edges should be rounded with a radius of 10.8mm. Hollow out the interior t... | $fn=360;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
r1=7.25;
x1=133;
y1=72-r1*2;
z1=14.5;
wall=1;
x2=130;
y2=71.5-30;
z2=21.6;
r2=z2/2;
y_sh=11;
difference(){
union(){
cube([x1, y1, z2+wall*2]);
translate([0, 0, r2+wall])
rotate([0, 90, 0])
cylinder(r=r2+wall, h=x1);
translate([0, y1, r2+wall])
rotate([... | glb/cad_70b3a9857318.glb |
Create a soap bar holder designed to hook onto a metal frame. The model consists of a mounting clip and a drainage tray.
First, create the mounting clip. The clip is 75mm wide and 40mm deep. It features a hollowed-out cylindrical profile with an outer diameter of 5.5mm and an inner diameter of 2.5mm, running across th... | $fn=200;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.5;
d_pil=9;
all_x_bars=8;
all_x=(all_x_bars)*10-5;
clip_mat=1.5;
clip_z=40;
clip_gap=2;
back_mat=3.0;
back_z=55;
bottom_mat=3.0;
bottom_y=30;
front_mat=3.0;
front_z=20;
translate([0, (back_mat-clip_mat)/2, 0]){
color("white")
translate([0, 0, back_z])
cube([all_x, c... | glb/cad_adb2ca3e197e.glb |
Create a soap bar holder designed to hook onto a metal frame. Start with a main rectangular base plate measuring 55mm wide, 1.5mm thick, and 40mm deep.
At the top of this base, create a U-shaped hanging clip. The clip consists of two parallel vertical walls, each 15mm high and 1.5mm thick, connected by a semi-circula... | $fn=200;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.5;
d_pil=9;
h_pil=115;
h_pil2=90;
color("white")
translate([0, 0, 100])
cube([55, 1.5, 40]);
translate([0, +2+2, 140-15])
cube([55, 1.5, 15]);
difference(){
color("green")
translate([0, 2.75, 140])
rotate([0, 90, 0])
difference(){
cylinder(d=5.5, h=55);
translate([... | glb/cad_f63aa2a615e8.glb |
Create a Parametrizable Rugged Box consisting of a bottom and top section. For both sections, start with a main body of 55mm length, 55mm width, and a total height of 50mm. Use a shell thickness of 3mm and a fillet radius of 4mm for the corners.
The bottom section should have a height of 35mm. Hollow out the center to... | $fn=64;
outSideLength=55;
outSideWidth=55;
outSideHeight=50;
shellThickness=3;
ribThickness=10;
filletRadius=4;
showExample=true;
showExampleCombined=false;
heiBottom=0.7*outSideHeight;
heiTop=outSideHeight-heiBottom;
if(showExample){
color([0.5,0.5,1])
translate([0,outSideWidth+4*shellThickn... | glb/cad_8841bd986118.glb |
Create a rolling pin holder for a kitchen rail system. Start by creating a solid cylinder with a diameter of 28mm and a height of 10mm. Remove a smaller concentric cylinder from the center with a diameter of 22mm and a height of 10mm to create a hollow tube with a 3mm wall thickness.
To create the mounting clip, add ... | $fn=200;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
holz_dia=22;
wall=3;
out_dia=holz_dia+2*wall;
z_all=10;
difference(){
union(){
translate ([-wall/2, -out_dia/2-19, 0]){
difference(){
cube([ 9.5+2*wall, out_dia/2+19, z_all]);
color("red")
translate([wall, -dt1, -dt1])
cube([9.5, 9, z_all+dt2]);
... | glb/cad_dac6cb005118.glb |
Create a rolling pin holder for a kitchen rail system. Start by creating a solid cylinder with a diameter of 28mm and a height of 20mm. Subtract a smaller concentric cylinder from the center with a diameter of 22mm and a height of 20mm to create a hollow tube with a 3mm wall thickness.
To form the mounting clip, add ... | $fn=200;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
holz_dia=22;
wall=3;
out_dia=holz_dia+2*wall;
z_all=20;
difference(){
union(){
translate ([-wall/2, -out_dia/2-19, 0]){
difference(){
cube([ 9.5+2*wall, out_dia/2+19, z_all]);
color("red")
translate([wall, -dt1, -dt1])
cube([9.5, 9, z_all+dt2]);
... | glb/cad_54265c24f0e3.glb |
Create a Roland KR-55 Keyboard Switch by starting with a solid rectangular block that measures 6mm in width, 16mm in depth, and 12mm in height. From the center of this block, remove a smaller rectangular section to create a hole that passes through the bottom and extends upward. This central cutout must be 3.7mm wide a... | $fn=250;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
difference(){
cube([6, 16, 12]);
translate([6/2-3.3/2, 16/2-3.3/2,-dt1])
cube([3.3+prt_delta, 3.3+prt_delta, 9+prt_delta+dt1]);
} | glb/cad_a18d28603415.glb |
Create a Roland KR-55 Keyboard Switch by constructing a rounded rectangular block and removing a smaller rectangular section from its center. Start with a solid rounded box that measures 6mm in width, 16mm in length, and 12mm in height, applying a corner radius of 0.5mm to all edges. From this main body, carve out a ce... | include <MCAD/boxes.scad>
$fn=40;
box_rad=0.5;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
difference(){
translate([0, 0, 6])
roundedBox([6, 16, 12 ], box_rad, false);
translate([-(3.3+prt_delta)/2, -(3.3+prt_delta)/2,-dt1])
cube([3.3+prt_delta, 3.3+prt_delta, 9+prt_delta+dt1]);
} | glb/cad_eae2700a3e8b.glb |
Create a Roland KR-55 Keyboard Switch by starting with a solid rectangular base measuring 6mm in width, 16mm in depth, and 11mm in height. Carve a square hole through the center of the base that is 3.7mm wide and 3.7mm deep, extending from the bottom face up to a height of 9.4mm. On the top surface of the base, add a s... | $fn=250;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
difference(){
cube([6, 16, 11]);
translate([6/2-3.3/2, 16/2-3.3/2,-dt1])
cube([3.3+prt_delta, 3.3+prt_delta, 9+prt_delta+dt1]);
}
color("red")
for (i = [1 : 2.9 : 16]){
translate([0, i-1, 11])
cube([6, 1.5, 1]);
} | glb/cad_8be87c9e8abc.glb |
Create a Bird Cage Mirror Frame Hanger consisting of a rectangular base and a hanging tab. Start with a solid rectangular block measuring 90mm by 78mm with a height of 4.1mm. From the center of this block, remove a rectangular section measuring 84mm by 72mm with a height of 4.1mm to create a viewport. Within that viewp... | $fn=250;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
mirror_thickness=4.1;
mirr_z=mirror_thickness+prt_delta*2;
mirr_x=84;
mirr_y=72;
irim=2;
orim=3;
tri_x=mirr_y/4;
hole=5;
difference(){
cube ([mirr_x+orim*2, mirr_y+orim*2, 2+mirr_z/2]);
union(){
translate([orim, orim, 2+dt1])
color("grey")
cube([mirr_x, mirr... | glb/cad_e6a93bc75681.glb |
Create two mirrored end pieces for roof window blind rails. Each piece is based on a rectangular footprint of 11mm by 16.6mm.
Start with a base plate 1.5mm thick. On top of this, add a vertical section 25.3mm high. The main body is a block 11mm wide and 16.6mm deep, but it is modified by a diagonal chamfer on one sid... | $fn=250;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
endstueck_links();
translate([0, -10, 0])
mirror([0,1,0])
endstueck_links();
module endstueck_links(){
difference(){
union(){
cube([11, 16.6, 1.5]);
translate([0, 16.6-1.6, 0])
cube([11, 1.6, 2.8]);
translate([0, 16.6-1.7, 0])
cube([11-5.5, 1.7, 25.3]);
... | glb/cad_d3d485330019.glb |
Create a Simple Ballast Tank Cap consisting of a wide base and a concentric hollow tube. Start by creating a solid circular base with a diameter of 57.5mm and a height of 2mm. Centered on top of this base, add a hollow cylinder with an outer diameter of 47.5mm and a height of 15mm. This upper cylinder must have a wall ... | $fn=250;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
dia_hole = 47.5;
dia_cap = dia_hole+10;
z_tube=15;
wall_tube=1.5;
wall_cap=2;
cylinder(d=dia_cap, h=wall_cap);
translate([0,0,wall_cap])
union(){
difference(){
cylinder(d=dia_hole, h=z_tube);
cylinder(d=dia_hole-2*wall_tube, h=z_tube+dt2);
}
}; | glb/cad_4ce2dafc63b4.glb |
Create three flat, washer-like rings for a bunker lamp grid holder. The first two rings are identical: create a cylinder with a diameter of 11.8mm and a height of 1.5mm, then remove a concentric cylindrical hole from the center with a diameter of 6.8mm. Position these two rings 30mm apart. The third ring is slightly di... | $fn=250;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
di= 6.4+prt_delta;
da= 11.8;
z1 = 1.5;
gross();
translate([-15, 0,0])
gross();
module gross(){
difference(){
cylinder(d=da, h=z1);
translate([0, 0, -dt1])
cylinder(d=di, h=z1+dt2);
}
}
di2= 6.0+prt_delta;
da2= 9.3;
z2 = 1.6;
translate([15,0,0])
difference(){
... | glb/cad_11e6c38b7225.glb |
Create a retaining clip for a bunker lamp grid. The object is composed of several thin walls, each 1.9mm thick and 16.5mm high, arranged in a jagged, open-loop perimeter.
Start with a vertical wall at the origin, 1.9mm thick and 12.6mm deep. From the end of this wall, extend a second wall 18.15mm long, running parall... | $fn=50;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
za=16.5;
dl=6.8;
wall=1.9;
difference(){
union(){
color("red")
translate([0, 0, 0])
cube([wall, 12.6, za+dt1]);
translate([ 0, 12.6-wall, 0])
cube([18.15, wall, za]);
color("blue")
translate([ 16.8, 13.15-wall, 0])
rotate([0, 0, -45])
cube([6.1, wall, za]);
... | glb/cad_73bb6a65aea9.glb |
Create a holder clip for a bunker lamp by starting with a thin cylindrical base 12mm in diameter and 1.7mm in height. Centered on top of this base, place a triangular prism with a height of 6mm. This prism must be an equilateral triangle that fits within the 12mm diameter of the base. Finally, bore a vertical cylindric... | $fn=250;
dt1=0.01;
dt2=dt1*2;
prt_delta=0.4;
difference(){
union(){
cylinder(d=12, h=1.7);
translate([0, 0, 1.7])
cylinder(d=12, h=6.0, $fn=3);
}
translate([0,0,-dt1])
cylinder(d=5.0, h=20);
} | glb/cad_52f5e88c38ef.glb |
Create a chair glide consisting of a main rectangular block and a centering pin. Start with a solid rectangular base measuring 40mm in length, 20mm in width, and 18mm in height. From the bottom face of this block, remove a large cylindrical section with a radius of 12.2mm and a depth of 21mm to create a concave recess ... | rotate ([90, 0, 0]){
difference () {
difference () {
translate ([-2, 0, 0]) cube ([40, 20.0, 18.0]);
translate([15.5, 20.5, 15]) rotate ([90, 0, 0]) cylinder (21.0, r=12.2, $fn=360);
translate ([15.5, 10, -1]) cylinder (1.5, r=8.5, $fn=360);
}
translate ([15.5, 20.5, 13]) difference () {
rotate ([9... | glb/cad_514b4f8ee9b4.glb |
Create two bolts for a microphone stereo mount. Each bolt consists of a hexagonal head and a cylindrical shaft. The hexagonal head for both bolts has a flat-to-flat width of 9.525mm and a height of 6mm, featuring an internal thread with a pitch of 1.587mm.
For the first bolt, attach a cylindrical shaft to the center o... | $fn=200;
include <threads-library-by-cuiso-v1.scad>;
rotate([0, 180, 0]) {
thread_for_screw_fullparm(diameter=9.525, length=6, pitch=1.587, divs=200);
translate ([0, 0, 6]) cylinder(d=6.8,h=8);
translate ([0, 0, 14]) cylinder(d=12,h=10, $fn=6);
}
rotate ([0, 180, 0]) {
translate ([20, 0, -21]) {
thread_for_... | glb/cad_8ab5912f2715.glb |
Create an XY Stereo Mount for microphones. Start by constructing a base plate using a hull that connects two cylinders, each with a radius of 6mm and a height of 15mm, positioned 43mm apart along the x-axis. On the right side of this base, add a cylindrical elevation with a radius of 21mm and a height of 15mm, centered... | $fn=200;
include <threads-library-by-cuiso-v1.scad>;
difference () {
union () {
hull () {
cylinder (6, 15, 15, center=true);
translate ([43, 0, 0])
cylinder (6, 15, 15, center=true);
}
translate ([43, 0, 13.5])
cylinder (21, 15, 15, center=true);... | glb/cad_e938b38de4b1.glb |
Create a LAN protection plug for a laptop ethernet port. Start by creating a rectangular base plate measuring 13.5mm in width, 10mm in depth, and 2mm in height. Centered on top of this base, add a rectangular block that is 12mm wide, 6.5mm deep, and 8mm high. From this upper block, remove two rectangular sections to cr... | linear_extrude(2)
square([13.5,10],true);
linear_extrude(8)difference(){
square([12,6.5],true);
translate([0,3])
square([8.5,4],true);
translate([0,-3])
square([8.5,4],true);
} | glb/cad_c420bfdfe365.glb |
Create a Cr2032 to ER14250 adapter. Start with a main outer cylinder 14mm in diameter and 23.5mm in height, centered on the origin. Inside this cylinder, add a smaller concentric cylinder with a diameter of 5.65mm and a height of 24.5mm, using a lower facet resolution of 32 sides.
Carve out a large central void to ac... | er14250 = [14,25];
cr2032 = [20,3.25];
q=64;
$fn=q;
difference(){
union(){
cylinder(d=er14250[0],h=er14250[1]-1.5,center=true);
translate([0,0,.5])
cylinder(d=5.65,h=er14250[1]-.5,center=true,$fn=q/2);
}
difference(){
union(){
translate([3,0,0])
ro... | glb/cad_dfca05293028.glb |
Create an Anet A2 bottom Z-mount consisting of a base plate and a vertical support structure. Start with a base plate 5mm thick. The main body of the base is a rounded square measuring 42.3mm by 42.3mm. Center a large circular hole with a 23mm diameter in the middle of this plate. Place four small screw holes with a di... | m_size=[42.3,42.3];
m_distance = 31;
f_offset = 21;
f_right = 40;
f_left = 20;
b_thick = 5;
m_thick = 6;
m_height = 44;
s_height = 20;
frame_screws = [20,20];
m3 = 3.45;
m5 = 5.65;
q=64;
$fn=q;
module rsquare(b,r){
x = b[0]/2-r;
y = b[1]/2-r;
hull(){
for(n=[1,-1])for(m=[1,-1])
tr... | glb/cad_a32e4e9fc6d2.glb |
Create a Hex Key / Allen Wrench Organizer by constructing a rectangular base measuring 80mm by 100mm with rounded corners (3mm radius) and a total height of 7mm.
First, create a recessed storage bin at the front of the base. This bin should be 70mm wide and 18mm deep, centered along the X-axis, with a depth of 4mm.
... | box = [80,100];
border = 5;
key1 = [18,53,4.5];
key2 = [16.5,51,4];
key3 = [15,46,3];
misc = [box[0]-10,0];
finger = 14;
parts_store = [box[0]-10,box[1]-key1[1]-18];
magnets = 0;
q=64;
module rsquare(b,r){
x = b[0]/2-r;
y = b[1]/2-r;
hull(){
translate([x,y])
circle(r,$fn=q/2);
tr... | glb/cad_567975c55ae6.glb |
Create a repair part for a garage remote key fob consisting of two rectangular legs connected by a semi-circular arch. Start by creating two identical rectangular blocks, each measuring 6mm wide, 2.44mm high, and 4mm deep. Position these blocks so they are separated by a distance of 19.68mm. To connect them, add a semi... | shellwidth = 1.83;
legwidth = 6;
legheight = 2.44;
legdepth = 4;
legextrusionwidth = 6;
legextrusionheight = shellwidth+2.44;
legextrusiondepth = 3.5;
ringwidth = 19.68;
ringheight = 5.5;
$fn = 120;
module leg() {
cube([legwidth,legheight,legdepth]);
translate([0,0,legdepth])
cube([legextrusionwidth,legextru... | glb/cad_c5ccbdc877f5.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.