Prompt stringlengths 38 2.2k | Code stringlengths 7 5.77M | 3d_glb stringlengths 24 24 |
|---|---|---|
Create a linear bearing bushing with a total height of 25mm. Start by constructing a star-shaped prism with 36 points, where the points alternate in radial length between 180mm and 2.6mm, distributed evenly around the center. Intersect this star prism with a cylinder that has an outer radius of 7.6mm to constrain the o... | $fn = 32;
innerradius = 4.35;
outerradius = 7.6;
height = 25;
segments = 36;
star_r1 = 180.0;
star_r2 = 2.6;
foo = [ for (i = [0 : segments])
(i%2 ? star_r1 : star_r2) * [ sin(360/segments*i), cos(360/segments*i) ]
];
intersection() {
union() {
difference() {
translate([0, 0, -0.1])
... | glb/cad_4c4981bc259c.glb |
Create a Parabolic Tea Light Reflector by constructing a thin, curved shell based on a parabolic profile. The overall width of the plate is 101.6mm (4 inches) and the height is 76.2mm (3 inches). The shell must have a uniform thickness of 4.76mm (3/16 inches).
The curvature is defined by a focal length of 25.4mm (1 in... | inch = 25.4;
$fn = 30;
numfaces = 50;
Plate_Width = 4*inch;
Plate_Height = 3*inch;
Plate_Thickness = 3/16*inch;
focal_length = 1*inch;
k=1/(4*focal_length);
module main()
{
difference()
{
hull()
{
parabolic_dish();
}
translate([0,Plate_Thickness, -0.01]) scale([... | glb/cad_e854d80bfa1a.glb |
Create a moldable card form with a base thickness of 10mm. The main body is a rectangular block measuring 98.18mm in length and 66.3mm in width (calculated as the card dimensions of 85mm by 54mm plus a 6.35mm margin on all sides). The corners and edges of this block should be rounded with a radius of 1.75mm.
Inside th... | inch = 25.4;
$fn = 20;
card_len = 85;
card_width = 54;
card_thickness = 1.5;
form_thickness = 10;
margin = 0.25*inch;
card_text = "TacPar";
card_font_size = 14;
text_depth = 1.5;
mink_edge_size = 1.75;
mirror_image = true;
through_hole_dia = inch*0;
module main()
{
difference()
{
translate([0,0,fo... | glb/cad_79465e9d9108.glb |
Create a Knobby Tire by starting with a main cylinder that has a diameter of 70mm and a height of 20mm. Remove a concentric cylindrical core from this main body with a diameter of 20mm and a height of 20mm to create a hollow bore. To create the knobby tread, place 14 identical knob elements evenly spaced around the out... | tire(70, 20, 10);
module tire(diameter, width, bore)
{
knobs = diameter/5;
knobheight = width;
knobradius=diameter/15;
difference()
{
union()
{
cylinder(r=diameter/2, h=width);
for (i=[0:knobs-1])
{
rotate([0,0,360/knobs*i])
{
translate([diameter/2, 0, 0])
{
translate([0,0,... | glb/cad_8959b7cc6c9d.glb |
Create a logo plate for "SOUKAL.EU" starting with a rectangular base measuring 59.6mm wide by 16mm high and 0.6mm thick. Apply a 1mm fillet or rounded edge to all sides of this base. Centered on top of this plate, add the text "SOUKAL.EU" using an ExtraBold Italic font at a size of 7mm. The text should be rendered in t... | image_file = "c:\\Logo\\symbol_vertix_K_neg.png";
font="Open Sans:style= ExtraBold Italic";
size=7;
$fa = 6;
$fs = 0.5;
image_width = 40;
image_length = 40;
plate_width=59.6;
plate_heigth=16;
plate_thickness=0.6;
text_thickness = 0.8;
$fn=250;
union(){
color("Yellow",1){
translate([0,0,-1]){
$fn=50;
minkows... | glb/cad_85e1bc623aac.glb |
Create a C.H.I.P Case consisting of a top and bottom shell that snap together to house a PCB of 61mm by 42mm.
For the bottom shell, create a rectangular box with a wall thickness of 1.2mm and rounded corners of 1.2mm. The interior should feature four cylindrical pedestals at the PCB mounting points to support the boa... | part = "all";
have_plugrow = 0;
have_open_plugrow = 0;
have_camera = 0;
have_leds = 1;
mil2mm = 0.0254;
pcb = [61.0, 42, 1.5];
pcb2floor = 4.0;
pcb2roof = 10.0;
pcbmntdia = 2.75;
pcbmnt1dx = pcb[0]/2 - 3.5;
pcbmnt1dy = 3.5 - pcb[1]/2;
pcbmnt2dx = pcb[0]/2 - 3.5 - 58.0;
pcbmnt2dy = pcb[1]/2 - 3.5;
pcbmnthead = 6.2;
... | glb/cad_462c7b4ac42c.glb |
Create a replacement button for a bread machine by constructing a central cylindrical pin with a radius of 2.5mm and a height of 27mm. At the top of this pin, attach an oval-shaped cap with a width of 6.5mm along the X-axis and a depth of 9.5mm along the Y-axis, and a thickness of 10mm. From the sides of this oval cap,... | pin_rad = 5/2;
pin_height=27;
button_x = 13/2;
button_y = 19/2;
difference(){
rotate([0, 180 - 35,0]) union(){
cylinder(r=pin_rad, h=pin_height, center=true, $fn=100);
translate([0,0,pin_height/2]) scale([button_x,button_y,1]) cylinder(r=1, h=10, center=true, $fn=100);
translate([0,button_y - 2,0]) c... | glb/cad_35ca091a92f9.glb |
Create a Kossel Spool Stand consisting of a vertical support structure and a spool holder. Start by creating a rectangular base 70mm long, 12mm thick, and 10mm wide. From this base, extend a vertical wall 150mm high and 10mm wide. On the inner face of this wall, add a triangular support gusset that tapers from the base... | include <configuration.scad>;
bearing_od = 21.8;
tube_length = 110;
tube_wall_thickness = 3;
end_ring_diameter = 37;
end_ring_thickness = 4;
rod_extension_length = 25;
rod_diameter = 7.8;
stand_height = 150.0;
stand_base_thickness = 12;
stand_base_length = 70;
module standBase() {
difference()
{
cube([stand_base_... | glb/cad_21e0366617d4.glb |
Create an XYZ Calibration test consisting of two intersecting rectangular prisms. First, create a rectangular base that is 100mm long, 10mm wide, and 5mm high, aligned along the X-axis. Then, create a second rectangular prism with dimensions of 10mm long, 100mm wide, and 5mm high, aligned along the Y-axis. Position the... | cube ([100,10,5], center = false);
cube ([10,100,5], center = false); | glb/cad_f7994c59c935.glb |
Create an XYZ Calibration test consisting of three rectangular prisms that meet at a single shared corner. First, create a base prism lying along the X-axis with dimensions of 100mm in length, 10mm in width, and 5mm in height. Second, create a prism extending along the Y-axis with dimensions of 10mm in length, 100mm in... | cube ([100,10,5], center = false);
cube ([10,100,5], center = false);
cube ([10,10,50], center = false); | glb/cad_f2029a2a5fc9.glb |
Create a Parametric Magic Wand consisting of interlocking rod segments. Each rod segment is 100mm tall and is formed by linearly extruding a circle with a 20mm radius that is offset from the center by 10mm. As this circle extrudes, it must twist 720 degrees (two full rotations) over the 100mm height to create a spiral ... | h=100;
cr=20;
w=10;
nw=2;
c = 2;
module core() {
linear_extrude(height = h, center = false, convexity = 10, twist = nw*360)
translate([w, 0, 0]) circle(r = cr);
if (c > 0) {
linear_extrude(height = h, center = false, convexity = 10, twist = -nw*360) translate([w, 0, 0]) circle(r = cr);
}
if (c==2) {
rotate(... | glb/cad_056b7e38fb02.glb |
Create a BeagleBone Black slim case consisting of a base and a lid.
For the base, create a rounded rectangular shell with a wall thickness of 2mm. The interior should be hollowed out to provide a 0.5mm clearance between the board and the case. Cut rectangular openings in the side walls for the Ethernet jack, power ja... | Render_Options = 1;
Lid_Options = 0;
DevRails_Options = 0;
WallMount_Options = 1;
OSHW_Options = 3;
include <BBB_OSHW_Case_Library.scad>
module Base()
{
union() {
difference() {
translate([-Case_Thickness-Case_Gap, -Case_Thickness-Case_Gap, -Case_Thickness]) {
union() {
roundCornersCube(Case_L-Cas... | glb/cad_f507a7d3676a.glb |
Create a Prusa i3v Z Trap designed to secure a Z-axis nut. Start with a base block that is 20mm wide and 20mm deep. The main body consists of a rounded rectangular section 25mm long, 20mm wide, and 5mm thick, with rounded corners of 3mm radius. Attached to the top of this is a smaller rectangular block measuring 11mm l... | include <polyholes.scad>;
include <cyl_head_bolt.scad>;
m5_size = 5.6;
module Alum20x20()
{
linear_extrude(height = 452, center = false, convexity = 10)polygon(points =
[[-10,-8.5],[-8.5,-10],[-4.64,-10],
[-2.84,-8.2],[-5.5,-8.2],[-5.5,-6.56],
[-2.84,-3.9],[2.84,-3.9],[5.5,-6.56],
[5.5,-8.2],[2.8... | glb/cad_474c01f1802e.glb |
Create a Customizable Cassegrain Dish consisting of a main reflector, a secondary reflector, a waveguide, and supporting struts.
First, create the main reflector as a parabolic dish with a diameter of 30mm and a focal length of 20mm. The dish should have a wall thickness of 1.5mm. In the center of the main reflector, ... | focal_main=20;
diameter_main=30;
x_e=2;
diameter_secondary=5;
display_type=2;
number_of_struts=3;
$fn=20;
echo(str("Suggested filename: Cassegrain Dish ",type_string,"-Fm=",focal_main,"Dm=",diameter_main,"Xe=",x_e,"Ds=",diameter_secondary,"Ns=",number_of_struts));
type_string=(display_type==1)?"mockup":((display... | glb/cad_67a147bf5ffa.glb |
Create a Christmas ornament consisting of a flat circular base and raised lettering. Start by creating a cylinder with a diameter of 100mm and a height of 5mm. At the top edge of this cylinder, centered along the diameter, create a vertical hole with a diameter of 3mm that passes completely through the 5mm thickness. O... | $fn = 180;
holeDiameter = 3.0;
module hook_hole()
{
translate([0, bulbDiameter / 2 - holeDiameter * 2, 0])
cylinder(d = holeDiameter, h = bulbHeight);
}
bulbDiameter = 100.0;
bulbHeight = 5.0;
module red_bulb()
{
difference()
{
color("red")
cylinder(d = bulbDiameter, h = bu... | glb/cad_cc36cc05faf5.glb |
Create a 3D model of a handle for a 6-inch rack enclosure. The handle is composed of two identical mirrored sections.
For one section, start with a base shape created by the union of two mirrored 4-unit extrusions, each 16mm wide and 16mm high with 4mm radius rounded corners, rotated 45 degrees. These extrusions are ... | $fn = 50*1;
part = "k";
Units = 5;
Four_mm_screw = 3.8;
Five_mm_screw = 4.8;
sixinch = 155*1;
width = 155-20-20;
unit = (44.5/19)*6;
gauge = 3*1;
gauge_box = 2*1;
slip = 0.35*1;
go();
module go(){
if (part=="a"){
extrusion(Units,true,false,false);
}else if (part=="b"){
extrusion(Unit... | glb/cad_ebc9326c5907.glb |
Create a door handle with a total height of 90mm. The main body is defined by a custom 2D profile extruded along the Z-axis, with vertices at [0,0], [10,0], [45,10], [45,15], [26,15], [24,26], [17.5,24], [19,15], [10,10], and [0,10].
To refine the shape, remove three rectangular sections from the center of the extrus... | $fn=24;
outline = [
[0,0] ,[10,0] ,[45,10] ,[45,15],
[26,15],[24,26],[17.5,24],[19,15],[10,10],
[0,10] ,[0,0]
];
outline_r = [[19.5,13], [10,8], [2,8], [2,2], [9.8,2], [43,11.5], [43,15.805]];
module outline_c()
{
for(i=[1:1:6])
{
cube_line(outline_r[i-1],outline_r[i], 2 );
}
}
module cube... | glb/cad_4f32e788473d.glb |
Create a 96-well plate grid consisting of 2 rows and 3 columns of cylindrical wells. Each well should have an outer diameter of 6.86mm and a total height of 10.67mm. The walls and the bottom of each well must be 0.6mm thick (calculated as 1.5 times a 0.4mm wall thickness), meaning the inner cavity of each well is a cyl... | NumRows=2;
NumCols = 3;
WallThickness = 0.4;
WellDiameter = 6.86;
WellDepth = 10.67;
WellCenterSpacing = 9;
WellBottomThickness=1.5*WallThickness;
CubeLong = WellCenterSpacing-WellDiameter;
CubeShort = WallThickness*2;
CubeHeight = WellDepth*0.5;
for ( c = [0 : 1 : NumCols - 2] )
{
for ( r = [0 : 1 : NumRows ... | glb/cad_c25932706bb2.glb |
Create a hex bolt with a threaded shaft and a hexagonal head.
Start by creating a hexagonal head with a distance between flats of 12mm and a height of 5mm. From the center of the top face of this head, extend a threaded shaft with an outer diameter of 8mm. The threading should have a pitch of 2mm and a step shape of ... | type = "bolt";
head_type = "hex";
drive_type = "socket";
head_diameter = 12;
head_height = 5;
drive_diameter = 5;
slot_width = 1;
slot_depth = 2;
texture = "exclude";
thread_outer_diameter = 8;
thread_s... | glb/cad_442e6a3b12f7.glb |
Create a 3D model of a set of mechanical logic gates.
First, construct a "bit" unit. This unit is composed of a central storage element and two process elements positioned 40mm above and below it along the Z-axis. Add two rectangular blocks measuring 10x10x30mm, centered at Z=23mm and Z=-23mm, and offset by -15mm and... | module register4b()
{
translate([0,0,0])bit();
translate([0,0,120])bit();
translate([0,0,-120])bit();
translate([0,0,240])bit();
}
module register4bp()
{
translate([0,85,0])bit();
translate([0,85,120])bit();
translate([0,-85,0])bit();
translate([0,-85,120])bit();
translate([0,0,180]... | glb/cad_59a9149dfd8e.glb |
Create a Bed Guard Holder by starting with a base rectangular plate measuring 180mm in length, 30mm in width, and 7mm in thickness. At one end of the plate, construct a vertical U-shaped bracket to hold a bedside rail. This bracket is formed by adding a rectangular block 15mm wide, 30mm deep, and 32mm high, positioned ... | Holder_Height = 180;
Holder_Width = 30;
Holder_Thickness = 7;
BedSide_Thickness =18;
BedSide_OverLap = 50;
Joint_Thickness=15;
Bolt_Hole1_Offset = 20;
Bolt_Hole2_Offset = 70;
Bolt_Hole_Diameter = 4.2;
Bolt_Head_Diameter = 9;
Bolt_Head_Depth = 4;
$fn=100;
Assembly();
module BoltHole(){
cylinder(d=Bolt_Hole_Dia... | glb/cad_c931b379a535.glb |
Create a QAV-500 UHF Rx mount. Start by constructing a base plate that combines a rectangular mounting area and a tapered extension. The main body is formed by joining a rectangle of 30mm by 80mm by 4.5mm height with a larger polygon defined by points at [-20.75, -4.5], [-27.25, 22], [27.25, 22], and [20.75, -4.5], ext... | nut=1;
$fn=10;
difference() {
minkowski() {
union() {
difference() {
linear_extrude(height = 4.5, twist=0) polygon(points=[[-20.75,-4.5],[-27.25,22],[27.25,22],[20.75,-4.5]]);
linear_extrude(height = 7, twist=0) polygon(points=[[-10,2],[-15,15],[15,15],[10,2]]);
}
difference() {
translate([-15,-84... | glb/cad_bdb267f0a995.glb |
Create a UHF Dipole mounting bracket starting with a base rectangular block 40mm long, 10mm wide, and 3mm thick. At one end, integrate a vertical cylindrical tower with a radius of 5mm and a height of 20mm, centered 1.5mm from the side edge and 5mm from the center line. Within this tower, carve out a vertical hole with... | $fn=80;
difference(){
union(){
cube([40,10,3]);
translate([1.5,5,0]) cylinder(r=5,h=20);
translate([5,2,0]) cube([3,6,20]);
}
translate([1.5,5,0]) cylinder(r=3,h=21);
translate([-5,0,0]) cube([5,10,21]);
translate([7.5,0,4]) cube([2,10,2.5]);
translate([7.5,0,15]) cube([2,10,2.5]);
union(){
translate([2... | glb/cad_97d170b132f0.glb |
Create a bicycle bag storage clip with a height of 20mm. Start by forming the main body from a combination of two blocks: one measuring 10x60x20mm and another measuring 20x10x20mm, joined at the origin. Add a cylinder with a radius of 6mm and a height of 20mm centered at coordinates (20, 6, 0). To refine the outer edge... | $fn = 100;
mirror([1,1,0])
difference () {
union() {
cube ([10,60,20]);
cube ([20,10,20]);
translate ([20, 6, 0] ) cylinder (r =6, h = 20);
intersection () {
translate ([0,8,0]) cube ([60,50,20]);
translate ([125, 75,0]) difference () {
... | glb/cad_2bd71a500431.glb |
Create a Duetwifi and Duex2/5 enclosure consisting of a main box and a removable lid. The main enclosure box is a rounded rectangular prism with overall dimensions of 172mm width and 135mm length (125mm plus a 10mm airgap). The walls are 3mm thick with a base thickness of 4mm and corner radii of 4mm.
Inside the box, c... | include <MCAD/regular_shapes.scad>;
use <MCAD/boxes.scad>
function lookup(v,var,lar,i=0) = (var[ i ]==v) ? lar[ i ] : ( i < len ( var ) ? lookup( v, var, lar, i + 1 ) : -1);
printbox = true;
printlid = tru;
printlidx5 = tru;
printguard = tru;
assembled = tru;
expansion = true;
expcon = tru;
hardware = tru;
nuttrap =... | glb/cad_3659bc25e67d.glb |
Create a QAV-500 LED bumper. Start by constructing a thin, curved arc using an oval prism with a width of 8mm, a length of 46mm, and a height of 30mm. From this main body, remove a smaller concentric oval prism centered at x=-5 to leave only a narrow outer arc.
At the two ends of this arc, centered at y=39 and y=-39 ... | include <MCAD/regular_shapes.scad>;
slotted=0;
extended=1;
difference() {
union() {
difference() {
oval_prism(8,46,30);
translate([-5,0,0]) oval_prism(8,46,30);
}
if (slotted==0) {
if (extended==1) {
translate([8.5,-39,0]) cylinder(h=14,r=5,$fn=30);
translate([8.5,39,0]) cylinder(h=14,r=5,$fn=... | glb/cad_3a36ccf0abe0.glb |
Create a hollow cylinder for a bike chain roller with an outer diameter of 7.77mm and a height of 5.85mm. To form the interior, remove a concentric cylindrical core with a diameter of 5.97mm, leaving a wall thickness of 0.9mm. Ensure the geometry is smooth with a high facet resolution. | pinch = 12.7;
roller_dia = 7.77;
inner_plate=6.35;
difference(){
cylinder(h=inner_plate - .5, d=roller_dia, $fn=360);
cylinder(h=inner_plate - .5, d=roller_dia - 1.8, $fn=360);
} | glb/cad_be5855997033.glb |
Create a bike chain link by constructing a flat base and removing specific cylindrical volumes. Start with two solid cylinders, each 1mm thick with a diameter of 9.77mm, positioned with their centers 12.7mm apart along the x-axis. Connect these two cylinders with two identical rectangular blocks, each measuring 5.18mm ... | pinch = 12.7;
roller_dia = 7.77;
inner_plate=6.35;
difference() {
union() {
translate([-pinch/2,0,0])cylinder(d=roller_dia + 2, h=1, $fn=360);
translate([pinch/2,0,0])cylinder(d=roller_dia + 2, h=1, $fn=360);
translate([0,5.3,0])rotate([0,0,225])difference(){
cube([roller_dia/1.5,roller_dia/1.5... | glb/cad_ee7fe7e830a1.glb |
Create a bike chain link prototype. Start with two flat, circular discs, each 12.7mm wide and 2mm thick, positioned so their centers are 12.7mm apart along the x-axis. Connect these discs with a central vertical cylinder that has a diameter of 5.37mm and a total height of approximately 11.7mm, centered between the disc... | pinch = 12.7;
roller_dia = 7.77;
inner_plate=6.35;
difference() {
union() {
translate([-pinch/2,0,0])cylinder(d=roller_dia + 5, h=2, $fn=360);
translate([pinch/2,0,0])cylinder(d=roller_dia + 5, h=2, $fn=360);
translate([-pinch/2,0,0])
cylinder(d=roller_dia - 2.4, h=1+1+inner_plate+1+.2+1.2+2 +2... | glb/cad_255033eea496.glb |
Create a Reprappro Mendel E3D Mount by starting with a central block that is 24mm wide, 12.7mm deep, and 18mm high, centered on the origin. Attach two half-cylinders to the left and right sides of this block, each with a radius of 6.35mm and a height of 18mm, to create a rounded outer profile.
From this combined mass... | difference(){
union(){
translate([0,0,18/2]) cube([24,12.7,18],center=true);
translate([-(24/2),0,0]) cylinder(r=12.7/2,h=18,$fn=60);
translate([(24/2),0,0]) cylinder(r=12.7/2,h=18,$fn=60);
}
translate([-(25/2),0,-1]) cylinder(r=3.4/2,h=20,$fn=60);
translate([(25/2),0,-1]) cylinder(r=3.4/2,h=20,$fn=60);
translate([0,... | glb/cad_af33871cb486.glb |
Create a Reprappro Mendel E3D Mount by starting with a central block that is 24mm wide, 12.7mm deep, and 15mm high. Round the two short ends of this block by adding two half-cylinders with a radius of 6.35mm and a height of 15mm, centered on the x-axis.
From this combined solid, remove two vertical holes with a radiu... | difference(){
union(){
translate([0,0,15/2]) cube([24,12.7,15],center=true);
translate([-(24/2),0,0]) cylinder(r=12.7/2,h=15,$fn=60);
translate([(24/2),0,0]) cylinder(r=12.7/2,h=15,$fn=60);
}
translate([-(25/2),0,-1]) cylinder(r=3.4/2,h=18,$fn=60);
translate([(25/2),0,-1]) cylinder(r=3.4/2,h=18,$fn=60);
translate([0,... | glb/cad_0133922e321b.glb |
Create a Reprappro Mendel E3D Mount consisting of a rectangular carriage plate with a base measuring 82mm by 40mm and a height of 4mm. At each of the four corners of the plate, add a cylindrical pillar with a radius of 3.5mm and a height of 10mm.
Within the main body of the plate, create a large central cutout in the... | module mount_holes(){
translate([-1,-(25/2),12.7/2]) rotate([0,90,0]) cylinder(r=3.2/2,h=8,$fn=60);
translate([-1,(25/2),12.7/2]) rotate([0,90,0]) cylinder(r=3.2/2,h=8,$fn=60);
}
difference(){
union(){
translate([4.1,15.3,4]) cylinder(r=7/2,h=4,$fn=70);
translate([4.1,43.5,4]) cylinder(r=7/2,h=4,$fn=70);
translate... | glb/cad_3b072ae3e2cd.glb |
Create a Reprappro Mendel E3D Mount consisting of a rectangular carriage plate with integrated mounting features. Start with a base rectangular block measuring 82mm in length, 40mm in width, and 4mm in height.
At each of the four corners of this base, create a vertical cylindrical hole with a radius of 1.75mm and a h... | module mount_holes(){
translate([-1,-(25/2),12.7/2]) rotate([0,90,0]) cylinder(r=3.2/2,h=8,$fn=60);
translate([-1,(25/2),12.7/2]) rotate([0,90,0]) cylinder(r=3.2/2,h=8,$fn=60);
}
difference(){
union(){
translate([4.1,15.3,4]) cylinder(r=7/2,h=4,$fn=70);
translate([4.1,43.5,4]) cylinder(r=7/2,h=4,$fn=70);
translate... | glb/cad_5b398a2b63da.glb |
Create a Reprappro Mendel E3D Mount consisting of a rectangular carriage plate and integrated mounting features. Start with a main rectangular base measuring 82mm in length, 40mm in width, and 4mm in height.
At each of the four corners of this base, create a vertical cylindrical pillar with a radius of 3.5mm and a he... | module mount_holes(){
translate([-1,-(25/2),17/2]) rotate([0,90,0]) cylinder(r=3.2/2,h=8,$fn=60);
translate([-1,(25/2),17/2]) rotate([0,90,0]) cylinder(r=3.2/2,h=8,$fn=60);
}
difference(){
union(){
translate([4.1,15.3,4]) cylinder(r=7/2,h=4,$fn=70);
translate([4.1,43.5,4]) cylinder(r=7/2,h=4,$fn=70);
translate([78... | glb/cad_ad9c891ab04d.glb |
Create a Reprappro Mendel E3D Mount by starting with a central block that is 24mm wide, 12.7mm deep, and 18mm high, centered on the origin. Merge this block with a hull formed by two cylinders, each with a radius of 6.35mm and a height of 18mm, positioned at x = -15mm and x = 15mm.
From this combined mass, remove two... | difference(){
union(){
translate([0,0,18/2]) cube([24,12.7,18],center=true);
hull(){
translate([-(30/2),0,0]) cylinder(r=12.7/2,h=18,$fn=60);
translate([(30/2),0,0]) cylinder(r=12.7/2,h=18,$fn=60);}
}
translate([-(30/2),0,-1]) cylinder(r=3.4/2,h=20,$fn=60);
translate([(30/2),0,-1]) cylinder(r=3.4/2,h=20,$fn=60);
tran... | glb/cad_e959994aa6f3.glb |
Create a Reprappro Mendel E3D Mount by starting with a central rectangular block measuring 24mm wide, 12.7mm deep, and 15mm high, centered on the origin. Merge this block with a hull formed by two cylinders, each with a 6.35mm radius and 15mm height, positioned 15mm apart along the x-axis.
From this combined volume, ... | difference(){
union(){
translate([0,0,15/2]) cube([24,12.7,15],center=true);
hull(){
translate([-(30/2),0,0]) cylinder(r=12.7/2,h=15,$fn=60);
translate([(30/2),0,0]) cylinder(r=12.7/2,h=15,$fn=60);}
}
translate([-(30/2),0,-1]) cylinder(r=3.4/2,h=18,$fn=60);
translate([(30/2),0,-1]) cylinder(r=3.4/2,h=18,$fn=60);
tran... | glb/cad_c81611f5fb43.glb |
Create a Reprappro Mendel E3D Mount consisting of a main carriage plate and an integrated endstop arm. Start with a rectangular base plate measuring 82mm in length, 40mm in width, and 4mm in height. At one end of the plate, add a vertical rectangular extension that rises 30mm from the base, measuring 5mm wide and 5mm t... | module mount_holes(){
translate([-1,-(30/2),17/2]) rotate([0,90,0]) cylinder(r=3.2/2,h=8,$fn=60);
translate([-1,(30/2),17/2]) rotate([0,90,0]) cylinder(r=3.2/2,h=8,$fn=60);
}
difference(){
union(){
translate([4.1,15.3,4]) cylinder(r=7/2,h=4,$fn=70);
translate([4.1,43.5,4]) cylinder(r=7/2,h=4,$fn=70);
translate([78... | glb/cad_c45137224e2f.glb |
Create a small model house with a rectangular base and a peaked roof. Start by forming the main body as a rounded rectangular prism measuring 10mm wide, 13mm deep, and 9mm high, with all edges and corners rounded by a 1mm radius. On top of this base, add a gabled roof that peaks along the center of the 13mm depth. To c... | difference(){
union(){
translate([1,1,1])minkowski(){
cube ([10-2,13-2,9]);
sphere(1,$fn=100);
};
translate([0,-1,-0.5]) minkowski(){
hull(){
translate([0.5,15-1,10]) rotate([90,0,0])cylinder(h=15-2,d=1,$fn=100);
translate([9.5,15-1,10]) rotate([90,0,0])cylinder(h=15-2,d=1,$fn=100);
translate([5,15-1,12]) rotate([... | glb/cad_208fb7abd191.glb |
Create a small model house with a total footprint of 7mm by 10mm and a height of 5mm. Start by constructing a rectangular base with rounded corners, using a 1mm radius for the rounding. The main body is a solid block 5mm wide, 8mm deep, and 5mm tall, with all edges softened by a 1mm fillet. On top of this base, add a g... | difference(){
union(){
translate([1,1,1])minkowski(){
cube ([7-2,10-2,5]);
sphere(1,$fn=100);
};
translate([0,-1,-0.5]) minkowski(){
hull(){
translate([0.5,12-1,6]) rotate([90,0,0])cylinder(h=12-2,d=1,$fn=100);
translate([6.5,12-1,6]) rotate([90,0,0])cylinder(h=12-2,d=1,$fn=100);
translate([3.5,12-1,8]) rotate([90... | glb/cad_1d06ee0a6357.glb |
Create a Mini V Wheel by starting with a main cylinder that has an outer diameter of 15.23mm and a height of 8.8mm. Remove a central cylindrical hole with a diameter of 9.974mm through the entire height. At both the top and bottom faces of the wheel, create a V-shaped outer chamfer with a width of 2.135mm. Additionally... | ID = 9.974;
ID2 = 8.64;
ID2height = 1.0;
OD = 15.23;
height = 8.8;
cham1w = 2.135;
cham2w = 0.266;
res = 100;
module wheel()
{
difference(){
cylinder(h = height, r = OD / 2, center = true, $fn = res);
cylinder(h = height + 0.1, r = ID / 2, center = true, $fn = res);
translate([0, 0, heig... | glb/cad_29373853ec8c.glb |
Create a Snowflake Ornament consisting of a central hexagonal hub and a recursive, six-fold symmetrical branching structure. The central hub is a hexagonal prism with a radius of 16mm (40mm * 0.4). From this center, extend six primary arms spaced 60 degrees apart. Each arm is a tapered wedge that is thicker at the cent... | use <write.scad>
MAX_HEIGHT = 5;
MIN_HEIGHT = 2;
RADIUS = 50;
LEVEL = 3;
E = 0.1;
module hex(level, radius, pos, dir, children=3) {
if (level >=1) {
if (radius * 0.3 > 2) {
translate([pos[0], pos[1], 0])
linear_extrude(height=combine(dist(pos) / RADIUS, MAX_HEIGHT, MIN_HEIGHT) * 0.8, scale=0.9)
... | glb/cad_e68ec9cc6bb0.glb |
Create a bottom battery case designed to hold a 3x2 grid of 18650 batteries. The main body is a rounded rectangular tray with a base thickness of 0.8mm and side walls of 0.8mm. The interior contains six cylindrical recesses, each with a diameter of 18.7mm and a depth of 25.8mm, arranged in 3 columns and 2 rows.
The ou... | use <write/Write.scad>
_part = "bottom";
_batteryDiameter = 18.7;
_insideHeight = 25.8;
_columns = 3;
_rows = 2;
_walls = 0.8;
_base = 0.8;
_4a_magnetType = "cylinder";
_4b_magnetDiameter = 5;
_4c_magnetHeight = 2;
_lipHeight = 2;
_fitGap = 0.1;
_labelText = "18650";
_labelFont = "write/orbitron.dxf";
_l... | glb/cad_efbc793d8c4e.glb |
Create a square flower pot with a wall thickness of 1.5mm. The pot should have a height of 75mm, a square base with a width of 60mm, and a square top with a width of 75mm, creating a tapered effect.
The pot is hollow, with the interior cavity starting 1.5mm from the bottom. To create drainage, add a series of rectang... | shape = 1;
bottom = 60;
top = 75;
height = 75;
t = 1.5;
holes = 1;
perforate = 0;
brim = 0;
feet = 0;
detail = 10;
sqr2 = sqrt(2);
difference() {
union(){
difference() {
union(){
if (brim == 1) {
translate([0,0,height-1]) {
if (shape == 1) {
cylind... | glb/cad_6ecc83a3f98a.glb |
Create a tool rack for 3D printer accessories consisting of a rectangular plate with two rectangular slots. The overall plate dimensions are 30mm in height, 12mm in depth, and 150mm in length. The plate has a wall thickness of 3.2mm.
Cut two identical rectangular holes through the body of the plate. Each hole must mea... | ModuleType="plateWithRectHoles";
FixHeight=30;
FixDepth=12;
FixThickness=3.2;
loose=0.2;
FixAnchorHoles=3.6;
FixLength=150;
PlateForTubeDiam=90;
PlateForTubeDepth=60;
PlateForTubeResolution=360;
PlateWithRectHoleX=25;
PlateWithRectHoleY=5;
PlateWithRectHoleQt=2;
screwPos1=FixLength * 0.25;
screwPos2=FixLen... | glb/cad_4225faba3978.glb |
Create a custom tripod bracket adapter consisting of a tapered wedge base and a pivot bracket.
First, construct the base as a rectangular block with dimensions 38.3mm by 38.3mm and a height of 6.3mm. Apply a corner rounding radius of approximately 2.3mm. Taper the sides of this base at a 35-degree angle.
Next, creat... | $fn=36;
orientation = 0;
Tip_Radius = 7.5;
Tip_Width = 20.24;
Bracket_Length = 25.4;
Bracket_Width = 14;
Slot_Length = 21.8;
Slot_Width = 5.7;
Nut_Size = 7.9;
Nut_Depth = 3.5;
Bolt_Diameter = 4.8;
Bolt_Neck_Diameter = 11;
Bolt_Neck_Depth = -3;
Base_X = 38.3;
Base_Y = 0;
Corner_Rounding = 30;
Base_Z = 6.... | glb/cad_ac080f0c5911.glb |
Create an adjustable glass clip by starting with a main cube that is 20mm wide, 20mm long, and 5mm high. From this base, remove a rectangular section to create a cutout for the glass. This cutout should be 11.5mm wide and 11.5mm long, with a depth of 2.75mm, positioned so that it leaves a 8.5mm inset from the outer edg... | module chamfered_cube(size,d=1){
hull(){
translate([d,d,0])cube(size-2*[d,d,0]);
translate([0,d,d])cube(size-2*[0,d,d]);
translate([d,0,d])cube(size-2*[d,0,d]);
}
}
module chamfered_cylinder(r=0,r1=0,r2=0,h=0,d=1){
hull(){
translate([0,0,d])cylinder(r1=(r?r:r1),r2=(r>0?r:r2),h=h-2*d);
... | glb/cad_32ca86c10c1d.glb |
Create a stonework style N scale fence consisting of two identical repeating sections. For each section, start by placing a vertical post with dimensions 0.8mm wide, 6mm high, and 0.6mm deep at the origin. Add two horizontal rails, each 0.8mm wide and 0.6mm deep; position the first rail at a height of 1mm and the secon... | Nslats=8*1;
width=0.8*1;
height=6*1;
depth=0.6*1;
spacing=1.5*8/7*1;
bar_depth=depth-0.2;
number_sections=2;
module fence() {
for (i=[1:Nslats-1]){
translate([i*spacing+width/4,1,0]) cube([.5,height-2.1,depth]);
}
translate([0,1,0]) cube([Nslats*spacing,width,depth]);
translate([0,height-1.1,0]) cube([Nslats... | glb/cad_adb211ca4814.glb |
Create an Electric Skateboard Motor Mount consisting of a flat base plate and a cylindrical mounting block.
Start with a base plate that is 4.25mm thick. The plate's main body is formed by the convex hull of a 33mm diameter circle centered at the origin and a 19mm diameter circle centered at [0, 14.5, 0], which is th... | module l(a){
linear_extrude(height = 0.25){
difference (){
hull(){
translate([0,14.5,0]) resize([28.5,20])circle(d=19);
circle(d=33);
}
hull() {
translate([0,14.5-(11.64*a/18),0]) circle(d=19+(1*a/18));
circle(d=22-(2*a/18));
}
}
... | glb/cad_e154895b3d24.glb |
Create a half-length straight train track rail section for a construction toy system. The overall footprint is a rectangular block measuring 64.5mm in length and 15.85mm in width, with a total height of 6.5mm.
The main body is a hollowed shell with a bottom cavity measuring 12.85mm by 60.65mm and a depth of 6.5mm. The... | findiam=10.2;
condiam=9.2;
extrawidth=0.0;
module supportbeam(x,y,z,a,lx,w){
translate(v=[x,y,z]){
rotate(a=a,v=[0,0,1]){
scale(v=[lx,w,w]){
polyhedron(
points=[ [0,0,0],[0,0,1],[0,1,1],
[1,0,0],[1,0,1],[1,1,1]],
triangles=[ [0,2,1],[3,4,5],
... | glb/cad_6c71d8346a68.glb |
Create an easy removal display mount by constructing a base structure and subtracting two mounting holes. Start with a front panel that is 40mm wide, 35mm deep, and 3mm thick. Attach a top section to this panel that is 40mm wide, 40mm deep, and 3mm thick, but rotate it 135 degrees along the X-axis so it angles away fro... | w = 3;
d = 4;
dw = 40;
hh = 30;
difference(){
union(){
cube([dw,35,w]);
translate([0,35,3])
rotate([135,0,0])
translate([0,-40,0])
{
cube([dw,40,w]);
cube([dw,w,hh]);
translate([0,w+6.2,0])
cube([dw,w,hh]);
}
}
translate([dw/2-7.5-d/2,10,-.1])
cube([d,40,w+1]);
translate([dw/2+7.5-d/2,10,-.1])
cube([d,40,w+1]);
... | glb/cad_95db48f6dc20.glb |
Create an Odroid-XU4 Bumper Mount by starting with a rectangular base block measuring 65mm by 88mm with a height of 5mm. Round the four outer corners of this base with a radius of 5mm. Hollow out the center of the block to create a recessed tray measuring 60mm by 84mm with a depth of 3mm, ensuring the inner corners are... | $fn=64;
difference(){
roundedoutside(65,88,6,5);
translate([2.5,2,1])color("blue")roundedinside(60,84,8,3);
}
module roundedoutside(xdim ,ydim ,zdim,rdim){
hull(){
translate([rdim,rdim,0])cylinder(h=zdim,r=rdim);
translate([xdim-rdim,rdim,0])cylinder(h=zdim,r=rdim);
translate([rdim,ydim-rdim... | glb/cad_c1f50b8fca42.glb |
Create a Great Dodecahedron ornament by constructing a star-like polyhedron and adding a hanging loop.
First, build the Great Dodecahedron. This geometry is formed by 60 intersecting isosceles triangles, each with an apex angle of 108 degrees. The vertices are positioned such that the shape is derived from an icosahe... | mark = 2;
if (mark==1)
scale(20)
great_dodecahedron();
else
if (mark==2)
union()
{
scale (20)
great_dodecahedron();
hanger(32);
}
module great_dodecahedron()
{
gr = (1+sqrt(5))/2;
rgr = 1/gr;
rgrs = rgr*rgr;
polyhedron
(points = [
[ 0, 1, gr],[0, -1, gr],
[ 0, 1, ... | glb/cad_3b10ddb119ca.glb |
Create a wall holder for an Amazon Echo. Start by creating a main cylindrical ring with an outer diameter of 89.5mm and a height of 5mm. This ring serves as the base plate.
Add a vertical support structure extending from this base. This support is a block with a width and depth of 89.5mm and a height of 40mm. The bott... | $fn=300;
echoHeight= 235;
echoDiameter= 83.5+1;
ringHeight= 5;
ringTopOffsetHeight= 60;
BaseBottomThickness= 5;
HolderThickness= 40;
RingThickness= 3;
ringDiameter=echoDiameter+RingThickness*2;
walloffset=10;
cabelThickness=4;
powerSupply=50;
print =true;
screwDiameter=13;
screwDiameterHole=5;
screwSocket=... | glb/cad_8f2a7f1dfd1e.glb |
Create a Customizable Ring for Flash Drive Cryptex. Start by constructing a ring with an outer diameter of 34mm, an inner diameter of 24.2mm, and a height of 5mm. The outer profile should be a decagon (10-sided polygon). Remove a cylindrical core from the center with a radius of 12.1mm. To create the unlocking mechanis... | use <write/Write.scad>
$fn = 1*50;
symbol_1="1";
symbol_2="2";
symbol_3="3";
symbol_4="4";
symbol_5="5";
symbol_6="6";
symbol_7="7";
symbol_8="8";
symbol_9="9";
symbol_10="0";
opening_position = 1;
font_type = "Letters.dxf";
font_position = 0;
font_height = 6;
font_depth = 0.3;
diameter_in = 1*24.2;
diameter_ou... | glb/cad_9d16df64fc09.glb |
Create a Modular Tube Storage Rack consisting of five identical tube holders aligned side-by-side. Each individual holder is a cylinder with a diameter of 18mm and a height of 88mm. To create the opening for the tube, remove a central cylindrical core with a diameter of 14mm and a height of 88mm, but leave a 2mm thick ... | $fn=50;
cd1 = 14;
cd2 = 18;
cdh = 88;
rh = 6;
fivepack();
module fivepack() {
rotate([90, 0, 0]) singleholder();
translate([cd2+rh, 0, 0]) rotate([90, 0, 0]) singleholder();
translate([(cd2+rh)*2, 0, 0]) rotate([90, 0, 0]) singleholder();
translate([(cd2+rh)*-1, 0, 0]) rotate([90, 0, 0]) singleholde... | glb/cad_0fcbe949bf00.glb |
Create a "Distance to North Pole Sign" consisting of a directional signpost and a hanging hook.
First, construct the signpost as a flat, elongated hexagonal plaque with a pointed arrow-like end. The main body should be a thin plate with a thickness of 6mm. On the top surface of this plate, add raised 3D text that rea... | use <write/Write.scad>;
latitude=33.67006;
arrow_direction=1;
distance_units=0;
km_per_deg_lat=110.54;
miles_per_km=0.621371;
deg_to_north_pole=90-latitude;
km_to_north_pole=km_per_deg_lat*deg_to_north_pole;
miles_to_north_pole=miles_per_km*km_to_north_pole;
scale([0.3,0.3,0.3])
union(){
color ("White")
transl... | glb/cad_baa6bb933521.glb |
Create a Nintendo EPS piece by starting with a rectangular base measuring 120mm in length, 39mm in width, and 19.5mm in height. Apply a corner radius of 1mm to this base.
On the top face of the base, create a recessed channel that is 100mm long, 39mm wide, and 3mm deep. This channel should have rounded ends with a ra... | custom_text = "nintendo";
text_size = 20;
round_radius_rect = 1;
nintendo_round = "yes";
if (nintendo_round=="yes") {
size = [100, 39, 19.5];
radius = 36/2;
radius_2 = 25/2;
x = size[0];
y = size[1];
z = size[2];
difference() {
linear_extrude(height=z)
... | glb/cad_430439c56069.glb |
Create a simplistic shelf plank wall mount with a total width of 20mm and a structural thickness of 4mm. The main body is a right-angled triangular bracket. Start with a vertical wall leg that is 4mm wide and 125mm tall. Attached to this is a horizontal arm extending 140mm from the wall.
Between the wall leg and the ... | height = 100;
arm = 140;
protrude = 25;
width = 20;
strength = 4;
plank = 4;
screw_plank = 3.5;
screw_rear = 4.5;
spacing_h = 20;
spacing_v = 18;
little = 0+0.01;
function percent(percentage, x) = x * percentage / 100;
difference() {
linear_extrude(width) {
square([strength, percent(100+protru... | glb/cad_76dcef2c6f64.glb |
Create a filament feeder guide by starting with a solid rectangular block 20mm wide, 30mm long, and 25mm deep. Centered on the 20mm width, add a semi-cylindrical protrusion with a diameter of 20mm that extends along the full 25mm depth of the block. From this combined volume, remove a central rectangular cutout measuri... | width = 20;
length = 30;
depth = 25;
mount = 20;
hole = 3;
module add() {
cube([width, length, depth]);
translate([width / 2, 0, 0]) {
cylinder(h = depth, d = width);
}
}
module subtract() {
translate([-1, (length / 2) - (mount / 2), -1]) {
cube([mount + 2, mount, mount]);
... | glb/cad_9eb42a4a4d44.glb |
Create a Login Pad case consisting of a top and bottom shell.
For the top shell, create a rounded cube with dimensions 83mm width, 83mm depth, and 25mm height, with a corner radius of 5mm. Hollow out the center with a 2mm wall thickness. On the top face, create a rectangular opening 60.4mm wide and 57mm deep with a 3... | caseCornerRadius = 5;
caseWidth = 83;
caseDepth = 83;
caseHeight = 25;
cutHeight = 7;
cutAngle = 10;
padHoleWidth = 60.4;
padHoleDepth = 57;
padHoleHeight = 3.2;
padHoleCornerRadius = 3;
padHoleOffsetX = 5;
padHoleOffsetY = 10;
ledDiameter = 5.2;
ledLength = 6.2;
clearance = 0.4;
wallWidth = 2;
screwHoleDiameter... | glb/cad_e5674782d2db.glb |
Create a Temperatur Regler Halterung, which is a mounting bracket for a temperature controller. Start by creating a solid rectangular block measuring 81mm in length, 10mm in height, and 40mm in width. From the center of this block, remove a smaller rectangular volume measuring 71mm by 20mm by 30mm to create a hollowed-... | rotate([270,0,0]){
translate([0,10/2,20+15/2]){
difference(){
cube([71+10,10,30+10],center=true);
cube([71,20,30],center=true);
}}
difference(){
cube([35,20,25],center=true);
union(){
translate([0,0,5])cube([25,35,25],center=true);
translate([0,0,0])cylinder(h=50,d=5.5,center=true);
}
}
translate([15,0,-6])cylinder(h=... | glb/cad_a389f8f3d538.glb |
Create a Steckerhalterung connector mount by starting with a base block that is 40mm wide, 100mm long, and 40mm high. Within this volume, carve out a central channel that is 20mm deep. This channel is formed by a cylinder with a 55mm diameter, but it is modified by removing a smaller concentric cylinder with a 43mm dia... | $fn=100;
translate([25,0,5])
intersection(){
translate([-30,-50,-5]) cube([40,100,40]);
ungeschnitten();}
intersection(){
translate([-30,-50,0]) cube([40,100,40]);
translate([0,0,24])
difference(){
ungeschnitten();
translate([-30,-50,-7]) cube([40,100,40]);
}
}
module ungeschnitten () {
difference(){
rotate([0,270,0])... | glb/cad_559e92d5a9e3.glb |
Create a Desk Cable Hole Cover consisting of two concentric cylindrical sections. First, create a hollow cylindrical sleeve with an outer diameter of 45mm and an inner diameter of 40mm. This sleeve should have a total height of 21.5mm. Next, add a wider cylindrical flange at the top of this sleeve, starting at a height... | hole_cover_wall_thickness = 5;
hole_diameter = 45;
hole_height = 18.5;
desk_cover_height = 3;
desk_cover_thickness = 5;
union()
{
difference(){
cylinder(hole_height + desk_cover_height, d1 = hole_diameter, d2 = hole_diameter, 0, $fn=50 );
cylinder(hole_height + desk_cover_height, d1 = (hole_dia... | glb/cad_666db44eb916.glb |
Create a Pepper Mill Funnel with a wall thickness of 1.4mm. The main body is a hollow, rotationally symmetric vessel formed by revolving a profile around a central vertical axis. Start from the bottom with an inner diameter of 25mm, tapering outwards linearly over a height of 25mm to a diameter of 30mm, and then contin... | d0 = 25;
d1 = 30;
d2 = 70;
h1 = 25;
h2 = 30;
sw = 6;
th = 1.4;
h1h2 = h1+30;
function reverse_inset_half_profile(p, dx) =
concat(p, [for(i = [len(p)-1:-1:0]) [p[i][0]-dx, p[i][1]]]);
function half_profile() =
[
[d0/2, 0],
[d1/2, h1],
[d2/2, h1h2],
];
function profile() =
... | glb/cad_6b189c454fc4.glb |
Create an Apartment Door Peep-Hole Blocker consisting of three stacked coaxial cylinders on a thin circular base. Start by creating a flat circular base with a radius of 8mm and a height of 2mm. Centered on top of this base, place a cylinder with a radius of 6mm and a height of 11mm. Finally, place a smaller cylinder o... | $fn = 200;
linear_extrude(height = 2)
square([16, 1.6], center = true);
cylinder(r = 16 / 2, h = 1);
cylinder(r = 12 / 2, h = 11);
cylinder(r = 9 / 2, h = 18); | glb/cad_1d7ec449d72f.glb |
Create a front connector for an enclosure by constructing a base L-shaped bracket. Start with a main rectangular block measuring 15mm wide, 150mm long, and 5mm thick. Attach a second rectangular block to the side of the first, measuring 5mm wide, 150mm long, and 15mm thick, so they share the same length. Add a vertical... | difference(){
union(){
cube([15,150,5]);
cube([5,150,15]);
cube([5,30,50]);
}
{
union(){
translate([20,10,4]) cube([6,5.5,2.5],center=true);
translate([20,10,-1]) cylinder(h=10, r=1.25,$fn=360);
translate([130,10,4]) cube([6,5.5,2.5],center=true);
translate([130,10,-1]) cylinder(h=10, r=1.25,$fn=360);
translate([10,2... | glb/cad_1f3f463ee14d.glb |
Create a front connector for an enclosure by constructing a base L-shaped bracket. Start with a primary rectangular block measuring 15mm by 150mm by 5mm, and attach a second block measuring 5mm by 150mm by 15mm along one side, and a third block measuring 50mm by 30mm by 5mm to form the main body.
From this combined v... | difference(){
union(){
cube([15,150,5]);
cube([5,150,15]);
cube([50,30,5]);
}
{
union(){
translate([45,20,4]) cube([6,5.5,2.5],center=true);
translate([45,20,-1]) cylinder(h=10, r=1.25,$fn=360);
translate([45,8,4]) cube([6,5.5,2.5],center=true);
translate([45,8,-1]) cylinder(h=10, r=1.25,$fn=360);
translate([10,8,4])... | glb/cad_ec2d9007b2f2.glb |
Create a Printruder Mendel mount by starting with a central rectangular block measuring 30mm wide, 60mm long, and 20mm high, centered on the origin. Add two rectangular extensions to the sides, each 7.5mm wide, 60mm long, and 10mm high, positioned 12mm above the base and offset 11.7mm from the center. Incorporate two a... | module printrudermendelmount()
{
difference()
{
union()
{
cube([30, 60,20],true);
translate([11.7,0,12])cube([7.5,60,10],true);
translate([-11.7,0,12])cube([7.5,60,10],true);
translate([11,0,16])rotate(25,[0,-1,0])cube([10,60,10],true);
translate([-11,0,16])rotate(25,[0,1,0])cube([10,60,10],true);
}
... | glb/cad_d8fc0efb1c30.glb |
Create a Christmas Stocking Hanger with a thickness of 10mm. The object is a flat, mirrored pair of brackets designed to hook over a mantel.
Construct the main body as a long, narrow profile. The primary structure consists of a horizontal base extending 230mm in length and 30mm in width. At one end, create a vertical... | $fn=80;
module hanger() {
difference() {
union() {
difference() {
union() {
translate([19, 15]) square(size=[15, 30], center=false);
translate([12, 40]) square(size=[23, 30], center=false);
translate([5, 65,]) square(size=[240,40], center=false);
difference() {
translate([19, 15]) circle (r=10);
translate([19, 15]... | glb/cad_e8dc2a41a7ef.glb |
Create a servo mount for an auto bed-leveling system. Start with a main carriage mount block measuring 24mm in length, 12mm in width, and 19mm in height. Remove a rectangular section from the center of this block to create an inner cavity measuring 16mm in length, 12mm in width, and 13mm in height, positioned such that... | use <nuts_and_bolts.scad>
width=12;
length=24;
height=19;
innerWidth=12;
innerLength=16;
innerHeight=13;
difference() {
union() {
cube([length,width,height]);
translate([-7,width,0])cube([38,15,8]);
}
translate([(length - innerLength) / 2,0,height - innerHeight])cube([innerLength,width,innerHeight]);
translate([... | glb/cad_179345533455.glb |
Create a Minkowski experiment object by constructing a rounded rectangular slab. Start with a central rectangular prism that is 6mm wide, 6mm deep, and 2mm high. Apply a uniform fillet or rounding effect to all edges and corners using a radius of 2mm. The final resulting shape should be a smooth, rounded block with ove... | Width = 10;
Depth = 10;
Height = 2;
Radius = 2;
$fn=360;
minkowski()
{
cube([Width-2*Radius,Depth-2*Radius,Height]);
cylinder(Height,Radius,Radius);
} | glb/cad_528e8970fde1.glb |
Create a camera mount for a quadcopter consisting of two identical mirrored halves. For each half, create a rectangular wall 21mm wide, 2.85mm thick, and 10mm high. At each end of the wall, add a vertical cylinder with an outer diameter of 7mm and a height of 10mm. Drill a 4mm diameter hole vertically through the cente... | column_dia = 7;
column_hole_dia = 4;
column_ht = 20;
column_spacing = 21;
lens_dia = 8.2;
lens_offset = 0;
mount_thickness = 2.85;
camera_angle = 15;
print_offset = 20;
module mount(offset, angle) {
$fn=40;
translate([0, offset, 0]) {
difference() {
union() {
columns... | glb/cad_170e5f78d349.glb |
Create a soft foot for a stool by constructing a hollowed rectangular block with a tapered profile. The outer base is a rectangular prism measuring 33.94mm by 35.115mm with a height of 4mm. The top of the block tapers inward to a smaller rectangle measuring 30.94mm by 35.115mm at a height of 2mm.
Hollow out the cente... | base_thickness=4;
top_thickness=2;
inner=[27.94,31.115,15];
outer=inner+[base_thickness*2,base_thickness*2,base_thickness];
outer_base=inner+[base_thickness*2,base_thickness*2,base_thickness];
outer_top=inner+[top_thickness*2,top_thickness*2,0];
xb=outer_base[0]/2;
yb=outer_base[1]/2;
xt=outer_top[0]/2;
yt=outer_top[1]... | glb/cad_3cfb9d16111b.glb |
Create a Speeduino v0.3 enclosure consisting of a base and a top cover. The main internal cavity is a rectangular volume 138mm wide, 100mm long, and 43mm high. The walls are 3mm thick.
For the base, create a solid floor with four integrated mounting posts located at (44.5, 3.5), (92.76, 84.78), (5.13, 94.94), and (133... | include <nutsnbolts/cyl_head_bolt.scad>;
$fn=64;
pcb_thickness = 1.6;
thickness = 3;
length = 100;
width = 138;
height = 43;
font = "Liberation Sans :style=Bold Italic";
letter_size = 16;
letter_height = 4;
screw1_x = 44.5;
screw1_y = 3.5;
screw2_x = screw1_x + 48.26;
screw2_y = screw1_y + 81.28;
screw3_x = scre... | glb/cad_464d4727ca1b.glb |
Create a Teenage Mutant Ninja iPhone costume by assembling a mask, a belt, and a belly plate designed to fit a phone with a glass depth of 2mm, a steel width of 58.5mm, and a steel height of 113.4mm.
For the mask, create two scaled cylinders at the top, each with a radius of 9mm, height of 2mm, and scaled by [2, 1, 1... | include<iphone.scad>
iphoneDepth = glassDepth;
iphoneWidth = steelWidth;
iphoneHeight = steelHeight;
upButtonCenterHeight = steelHeight/2-upCenter;
downButtonCenterHeight = steelHeight/2-downCenter;
buttonRadius = 4.8/2;
mask();
belt();
belly();
module mask(){
difference(){
union(){
translate([-iphoneWidth/4,iph... | glb/cad_6a5338a3a2eb.glb |
Create a game cartridge holder for NES cartridges. The holder consists of four identical slots arranged in a row. Each slot is formed by a base with a rounded, hull-like profile. The main body of each slot is a rounded block with a width of 130mm and a depth of 30mm.
Inside each block, carve out a rectangular void to... | cart_count = 4;
cart_type = 5;
support_legs_length = 0;
cart_angle = 30;
leveled = 0;
module cart_cup(cup_height, cup_width, cup_depth, cart_hole_depth, support_legs_length, cup_angle) {
difference() {
union() {
translate([0,cup_depth/2,0])
hull() {
translate([... | glb/cad_6279a5d59c36.glb |
Create a toilet roll holder consisting of a large main cylinder and two smaller cylindrical inserts. Construct the main outer cylinder with a radius of 15mm and a total height of 134mm. Within this main body, place two smaller cylinders, each with a radius of 7mm and a height of 10mm. Position the first small cylinder ... | rotate(90, [1,0,0]) {
cylinder(r1=15, r2=15, h=134);
translate([0,0,-8])
cylinder(r1=7, r2=7, h=10);
translate([0,0,132])
cylinder(r1=7, r2=7, h=10);
} | glb/cad_6061a417c946.glb |
Create a Vive Lighthouse Bracket by combining two main geometric sections. First, construct a rectangular base block measuring 58mm wide, 30mm deep, and 41.5mm high. Hollow out the center of this block by removing a smaller rectangular volume of 60mm wide, 19.5mm deep, and 48mm high, starting from a position 5mm from t... | $fn=64;
difference(){
union(){
translate([25,-70,0])rotate([0,30,0])cube([10,70,48]);
difference(){
translate([0,0,0])cube([58,30,41.5]);
translate([5,5,0])cube([60,19.5,48]);
}
}
translate([19,-70,-5])cube([20,70,5]);
} | glb/cad_adaa60f1b518.glb |
Create a Christmas Tree ornament with a total height of 100mm and a base diameter of 80mm. The main body consists of 7 radial fins spaced equally around the center axis. Each fin is a thin vertical profile with a wall thickness of 0.5mm that tapers slightly as it reaches the outer radius.
The tree's silhouette is form... | number=7;
base_diameter=80;
height=100;
wall=.5;
twist=0;
direction=-1;
hanger=2;
baseplate=1;
branches=7;
overhang=5;
radius=(base_diameter/2);
branchrad=(base_diameter/2)-overhang-2;
difference () {
tree(number=number,radius=radius,height=height,wall=wall,twist=twist,dir=direction);
if (hanger==1) {
f... | glb/cad_1daa8d988a19.glb |
Create a scale model of Saturn and its rings, sliced horizontally at the equator to sit flat on a surface. The planet is an oblate hemi-spheroid with a radius (Rs) of 20mm.
Surround the planet with a series of concentric rings of varying heights and radii. Create the D Ring as two thin strands at 1.11Rs and 1.2Rs. Ad... | $fn = 40;
Rs = 20;
Ls = 4.2*Rs;
MajAxis = 22.2*Rs ;
MinAxis = 9.43*Rs ;
OrbIncl = 62.2 ;
PrntInc = 90-OrbIncl;
PeriLat = 5 ;
rotate(a=[0,0,90]) {
difference() {
union() {
resize(newsize=[2*Rs, 2*Rs, 2*(0.898061*Rs)]) sphere(center=true);
difference() {
cylinder (h = 1.00, r=1.1100*Rs,... | glb/cad_48f5cde6ce6a.glb |
Create a pair of glasses designed to fit a phone. For the front frame, create two outer circular rims, each with a radius of 12mm and a thickness of 2mm. Position these rims symmetrically along the width and height of the phone's face. Connect these two rims with a bridge consisting of a central cylinder with a 12mm ra... | include<iphone.scad>
iphoneDepth = glassDepth;
iphoneWidth = steelWidth;
iphoneHeight = steelHeight;
upButtonCenterHeight = steelHeight/2-upCenter;
downButtonCenterHeight = steelHeight/2-downCenter;
buttonRadius = 4.8/2;
glasses_front();
ear_hooks();
module glasses_front(){
difference(){
union(){
translate([-ip... | glb/cad_949ef8b119ef.glb |
Create a belt clamp for an H1 plastic bed. Start with a central rectangular block measuring 12.7mm in length, 10mm in width, and 2.7mm in height. Round the two short ends of the block with a radius of 5mm. Drill a 3mm diameter hole completely through the center of both rounded ends along the longitudinal axis. In the c... | $x = [12.7,10,2.7];
$screw = 3;
$y = [6.6, 3, 1.2];
$space = 2.3;
module h1_beltclamp(){
$fn=20;
difference(){
union(){
translate(v = [0,0,$x[2]/2]) cube([$x[0],$x[1],$x[2]], center=true);
translate(v = [-$x[0]/2,0,0]) cylinder(r=$x[1]/2,h=$x[2]);
translate(v = [+$x[0]/2,0,0]) cylinder(r=$x[1]/2,h=$x[2... | glb/cad_18af67db6f68.glb |
Create a UNICEF Thermometer Jar by constructing a composite cylindrical vessel. Start with a base consisting of a truncated cone that is 15mm high, tapering from a bottom radius of 40mm to a top radius of 22mm. Centered on top of this base, add a vertical cylinder with a radius of 18mm and a height of 120mm. Finally, c... | difference(){
union(){
cylinder( r1=40, r2=22, h=15, $fn=1000);
cylinder( r=18, h=120, $fn=1000);
}
translate([0,0,10]) cylinder( r=15, h=112, $fn=1000);
} | glb/cad_ff8e3f4d4838.glb |
Create a Parametric Spool Adaptor consisting of a central hub, a wide outer rim, and connecting spokes. Start by creating a central hub as a cylinder with a height of 15mm and an outer radius of 9mm. Bore a hole through the center of this hub with a radius of 5mm.
Next, create the outer rim by forming a cylinder with... | axis_diameter = 10;
axis_length = 15;
spool_inner_diameter = 54;
spool_width = 20;
spokes = 6;
displayMode = rezPrinter;
spool_adaptor(axis_diameter,axis_length,spool_inner_diameter,spool_width,spokes);
module Hub(axis_radius=4, spool_width=10)
{
difference() {
cylinder(r=axis_radius+4, h=spool_width+2);
tra... | glb/cad_82f20460f3d6.glb |
Create a soldering air filter housing designed for an 80x25mm fan.
Start by creating a main fan plate. This is a square plate with a width and length of 88mm and a thickness of 6mm. In this plate, center four circular mounting holes with a diameter of 6mm each, positioned at the corners with a center-to-center spacin... | FanHoleSpacing = 72;
FanHoleDiameter = 6;
FanSize = 80;
FanThickness = 25;
FilterThickness = 8;
BoxDepth = 85;
BoxThickness = 2;
BoxWidth = FanHoleSpacing+FanHoleDiameter+FilterThickness*2+BoxThickness*4;
LipWidth = 4;
FilterWidth = FanHoleSpacing+FanHoleDiameter+BoxThickness*2;
CornerSize = BoxThickness*2+FilterThickn... | glb/cad_8794644b181c.glb |
Create a Thin Wall Surface Test model consisting of three intersecting thin plates. First, create a flat square base measuring 50mm by 50mm with a thickness of 1mm, centered on the XY plane. Position a vertical rectangular wall 1mm thick and 50mm wide, 50mm high, standing upright along the Y-axis so that it bisects the... | translate([-25,0,0])
cube([50,1,50]);
translate([0,-25,0])
cube([1,50,50]);
cube([50,50,1],center=true); | glb/cad_1dfae5d757d1.glb |
Create a cylindrical base for an Android figure. Start with a solid cylinder that has a radius of 22mm and a height of 13mm. From the top center of this cylinder, remove a smaller concentric cylindrical volume with a radius of 19mm and a height of 10mm, starting at a height of 10mm, to create a hollowed-out section. Wi... | module android_body_bottom()
{
difference() {
import_stl("android_body_bottom.stl");
translate([0,0,13]) cylinder(r=22,h=10);
}
difference() {
translate([0,0,10]) cylinder(r=19,h=13);
#translate([0,0,15]) cube([27,21,10],center=true);
}
translate([-20,0,15]) cube([3,3,3],center=true);
translate([20,... | glb/cad_598c81273049.glb |
Create a Lego Technic wheel rim by constructing a central cylindrical body with a total height of 30mm and a radius of 13mm. At the base, add a wider cylindrical flange with a radius of 15.5mm and a height of 2mm. Above this base, add another cylindrical section with a radius of 17.5mm and a height of 2mm, positioned 3... | hoogtegrip = 15;
gripoffset = 15.5;
module wiel()
difference()
{
union()
{
cylinder(r=26/2,h=30);
cylinder(r=31/2,h=7);
cylinder(r=35/2,h=2);
translate([0,0,3.5])
cylinder(r=35/2,h=2);
translate([0,0,30-2])
... | glb/cad_8e8c7c92ca96.glb |
Create a Christmas Tree sculpture by stacking six tiered levels of geometric foliage. Each level consists of a central cylinder with a height of approximately 5.33mm and a radius that decreases as the levels go up.
For each level, carve out a star-shaped void from the center. This star should have 9 branches and be c... | rad=80;
etage=6;
branche=9;
torsion=2;
base=3;
module etoile(type = 1, r1 = rad/4, r2 = rad/2, n = branche, h = 10*etage, t =5)
{
linear_extrude(height = h, twist = 360*t/n, convexity = t)
difference() {
circle(r2);
for (i = [0:n-1]) {
if (type == 1) rotate(i*360/n) polygon([
[ 2*r2, 0 ],
[ r... | glb/cad_9d21f7535708.glb |
Create a Sells Mendel 40x40 Fan Mount consisting of a mounting bracket and a spacer.
First, construct the bracket. Create a central rectangular block 13mm wide, 29mm deep, and 3mm thick. Remove a central rectangular slot 5mm wide and 19mm deep from this block. At the ends of this slot, create two circular holes with ... | fan_width = 40;
fan_height = 40;
fan_depth = 20;
fan_bolt = 4;
fan_bolt_offset = 16;
fan_angle = 55;
fan_push = 5;
mount_wall = 4;
mount_depth = 3;
mount_bolt = 5;
mount_bolt_offset = 19.5;
module fan_mount()
{
translate([0, -(mount_bolt_offset + mount_bolt + mount_wall * 2)/2, 0])
difference()
{
union()
{
cube... | glb/cad_96488be7fa76.glb |
Create a Corn Crusher housing starting with a rectangular base plate measuring 40mm wide, 68mm long, and 4mm thick. Centered on this base, construct a vertical rectangular housing block that is 25mm wide, 25mm deep, and 49.5mm tall. The housing block should be hollowed out from the top down to the base plate, leaving a... | outer_w = 40;
inner_w = 26;
point_w = inner_w/4;
spring_outer_w = 17;
spring_inner_w = spring_outer_w/2 -2;
spring_h_adj = 0;
crusher_h_adj =18.5 ;
bottom_thick = 4;
slant_height = 2;
h = 31.5;
pedal_l = outer_w*1.7;
pedal_w = outer_w*1;
pedal_thick = 4;
module spring_holes()
{
translate([.5*pedal_w,pedal_l/2+spri... | glb/cad_49e28ce956fc.glb |
Create a vibrating balls toy model consisting of a base and three stacked spheres. Start by constructing the base as a composite cylinder: create a main cylinder with a radius of 50mm and a height of 20mm, topped with a rounded upper edge formed by a torus with a cross-sectional radius of 10mm centered at the top edge.... | r_bottom=60;
h_bottom=30;
rounding=10;
r_ball1=45;
r_ball2=35;
r_ball3=20;
connector_radius=10;
ball_distance=30;
base(r_bottom,h_bottom,rounding,connector_radius,ball_distance,r_ball1,r_ball2,r_ball3);
module base (r_bottom,height,rounding,connector_radius,ball_distance, c1,c2,c3) {
union () {
co... | glb/cad_3e64e7334890.glb |
Create a spool holder guide for a Hesine M-505. Start by constructing a base consisting of three stacked coaxial cylinders centered on the Z-axis. The bottom cylinder has a diameter of 20.5mm and a height of 3mm. Directly above it, place a second cylinder with a diameter of 15.5mm and a height of 4.7mm. Above that, add... | $fn=128;
hole_size=15.5;
glass_w=4.7;
pangle=40;
translate([-40,0,0])rotate([90,0,0])
difference(){
rotate_extrude(angle=pangle,convexity=2)translate([40,0,0])circle(d=8);
rotate_extrude(angle=pangle+1,convexity=2)translate([40,0,0])circle(d=4);
rotate_extrude(angle=pangle+1,convexity=2)translate([45,0,0])s... | glb/cad_ccb9fb25afb2.glb |
Create a filament reel holder consisting of two symmetrical arms and a connecting end piece.
Each arm is a flat plate with a thickness of 5.95mm. The main body of the arm is a rectangular strip 65mm wide and 18mm high. At the mounting end, the arm transitions into a connector featuring two protruding tongues. Each to... | slotHeight = 20;
slotWidth = 6;
slotVerticalSeperation = 7;
slotHorizontalSeparation = 20;
woodThickness = 6;
spaceBelowBottomSlot = 6;
plasticToWoodWiggleRoom = 0.025;
plasticToPlasticWiggleRoom = plasticToWoodWiggleRoom * 2;
armThickness = slotWidth - plasticToWoodWiggleRoom * 2;
crosspieceThickness = 6 - plasticT... | glb/cad_e7c0a0fbb835.glb |
Create a filament reel holder consisting of two symmetrical arms and a connecting end piece.
Each arm is a flat plate with a thickness of 5.95mm. The main body of the arm is a rectangular strip that transitions into a mounting connector. This connector features two protruding tongues, each 6mm wide and 5mm high, sepa... | slotHeight = 20;
slotWidth = 6;
slotVerticalSeperation = 7.3;
slotHorizontalSeparation = 20;
woodThickness = 6;
spaceBelowBottomSlot = 6;
plasticToWoodWiggleRoom = 0.025;
plasticToPlasticWiggleRoom = plasticToWoodWiggleRoom * 2;
armThickness = slotWidth - plasticToWoodWiggleRoom * 2;
crosspieceThickness = 6 - plasti... | glb/cad_c5e989be5409.glb |
Create a Polargraph Gondola pen holder starting with a circular base. The base is a ring with an outer radius of 18mm, an inner hole radius of 7.5mm, and a thickness of 3mm. Attached to the top surface of this ring, centered on the x-axis, is a vertical rectangular clip assembly. This assembly consists of a rectangular... | wall=3;
height=32;
clipwidth=10;
baseradius=18;
holeradius=7.5;
module base(){
difference(){
cylinder(r=baseradius, h=wall);
cylinder(r=holeradius, h=2*wall+1, center=true);
}
}
module penmount()
{
translate([clipwidth/-2,holeradius,0]) cube([clipwidth,wall, height]);
union (){
translate([clipwidth/... | glb/cad_a951d16bc2ab.glb |
Create a Tesla Coil base by constructing a tapered hollow vessel. Start with a solid shape formed by lofting a circle with a 25mm radius at the bottom to a larger circle with a 37.5mm radius at the top, reaching a total height of 33mm. Hollow out the center by removing a tapered inner volume that transitions from a 15m... | $fn = 100;
base_radius = 15;
base_height = 120;
base_thickness = 5;
rotate([180, 0, 0])
union() {
difference() {
hull() {
translate([0, 0, -5])
cylinder(r=25, h=5);
translate([0, 0, -38])
cylinder(r=37.5, h=5);
}
hull() {
transla... | glb/cad_df11043d819c.glb |
Create a Tesla Coil model by starting with a sphere that has a radius of 20mm. From this sphere, remove the bottom section by placing a cube with dimensions of 40mm by 40mm by 20mm such that its center is aligned with the sphere's center on the X and Y axes, but its bottom face is shifted down by 20mm. The resulting sh... | $fn = 100;
base_radius = 20;
difference() {
sphere(r=base_radius);
translate([-base_radius, -base_radius, -base_radius])
cube(size=[base_radius * 2, base_radius * 2, base_radius]);
} | glb/cad_bd6a0456d3cb.glb |
Create a Tesla Coil base by constructing a hollow vertical cylinder. The outer cylinder must have a radius of 15mm and a total height of 120mm. To create the hollow center, remove a concentric inner cylinder with a radius of 12.5mm and a height that spans the entire length of the object. Ensure the final shape is a thi... | $fn = 50;
base_radius = 15;
base_height = 120;
base_thickness = 5;
difference() {
cylinder(r=base_radius, h=base_height);
translate([0, 0, -0.01])
cylinder(r=(base_radius - (base_thickness / 2)), h=base_height + 0.02);
} | glb/cad_3091e83904bd.glb |
Create a Tesla Coil model by starting with a sphere with a radius of 20mm. From this sphere, remove a central cube with a width and depth of 40mm and a height of 20mm, positioned so its base is aligned with the bottom of the sphere. Remove a second rectangular block measuring 20mm wide, 40mm deep, and 10mm high, positi... | $fn = 100;
base_radius = 20;
difference() {
sphere(r=base_radius);
translate([-base_radius, -base_radius, -base_radius])
cube(size=[base_radius * 2, base_radius * 2, base_radius]);
translate([2, -base_radius, base_radius - 7])
cube(size=[20, base_radius * 2, 10]);
translate([-base_radius - ... | glb/cad_06eb21f14048.glb |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.