Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a CornerBlock for a CNC machine. Start with a main rectangular body that is 52mm high, 50mm wide (tube diameter 25mm + 25mm), and 71mm deep. At the center of the block, create two intersecting cylindrical holes with a radius of 12.5mm: one running vertically through the entire height and one running horizontal...
tubeDia=25.0; tubeLag=4.0; blockHeight=52.0; blockXsize=tubeDia+15+10; blockYsize=tubeDia+13*2; mountScrewDia=4.0; threadHole=3.2; difference(){ union(){ cornerBLock(); cornerBlockLock(); } boltClip(); } module cornerBlockLock(){ difference(){ union(){ translate([tubeDia+tubeL...
glb/cad_65c190975f76.glb
Create a Board Game Deck Organizer consisting of two identical rows of card trays facing opposite directions. Each row contains three trays. For a single tray, create a solid rectangular box with an outer width of 45mm, a depth of 68mm, and a total height of 9mm. Hollow out the center of this box to create a card slot...
build_plate_selector = 3; build_plate_manual_x = 200; build_plate_manual_y = 200; cards=22; card_thickness=0.3; card_width= 43; card_depth=65; thickness=1; card_trays=6; backtoback=1; blank=1; ridge=8; brand1="S"; brand2="W"; base_thickness=2; tray_height=cards*card_thickness+base_thickness+3; build_plat...
glb/cad_a0ed8b2721bb.glb
Create a Note 4 Inductive Charging Stand by constructing a tilted rectangular housing. Start with a solid block 20mm wide, 89mm deep, and 100mm high. Rotate this block 20 degrees backward along its X-axis. Carve out the interior to create a pocket for the phone: remove a central rectangular volume 14.5mm wide, 85mm d...
module top(){ rotate([0,-20,0]){ difference(){ cube([20,89,100]); translate([6,2,12]){ color([1,0,0]) cube([14.5,85,100]); } translate([6,2,2]){ cube([12.5,85,11]); } } } } module base_shell(){ ...
glb/cad_1aa48384d8b2.glb
Create a carboy bung for a blow off tube. Start by creating a flat, ring-shaped lip with an outer radius of 30mm, an inner radius of 20.6mm, and a height of 4mm, centered vertically. From the bottom of this lip, extend a tapered cylindrical body downward for 36mm. This body should start with a radius of 25.4mm at the t...
$fn = 200; Lip_Outer_Radius=30; Lip_Height=4; Carboy_Opening_Radius=23; Bung_Length=36; Your_Tubing_ID_Radius=6.5; Tube_Connector_Height=20; Wall_Thickness=2.4; rotate([0,180,0]) { difference() { cylinder(r=Lip_Outer_Radius, h=Lip_Height, center=true); cylinder(r=Carboy_Opening_Radius-Wall_Thickness, h=Lip_...
glb/cad_2d6fe0d0d010.glb
Create a triangular pen body with a height of 100mm. The main barrel is an extruded equilateral triangle with a face width of 12mm. At one end of the barrel, create a tapered tip by intersecting the triangular prism with a cone that transitions from a diameter of 4.7mm at the very tip to a diameter of 40mm over a lengt...
Face_1_Text = "FACE 1"; Face_2_Text = "FACE 2"; Face_3_Text = "FACE 3"; Pen_Count = 1; Pen_Height = 100; Orientation = "Horizontal"; Text_Depth = .5; Text_Font_Size = 9; Text_Font = "Rubik Mono One"; Tolerance = .7; Ink_Tip_Diameter = 4 + Tolerance; Ink_Tip_Length = 10; Ink_Stick_Diameter = 3 + Tolerance; ...
glb/cad_8e3597fbffd3.glb
Create a swing-arm filament guide consisting of a cylindrical head attached to a rectangular arm. Start by creating a cylinder with a radius of 12.5mm and a height of 9mm. Remove a smaller concentric cylinder from the center with a radius of 11.4mm and a height of 14mm to create a hollow ring. Attach a rectangular bloc...
$fn=200; difference() { union() { translate([10, -2, 0]) cube([50, 4, 9]); cylinder(9, r=12.5); } translate([0,0,-1]) color("Maroon") cylinder(14, r=11.4); } difference() { union() { translate([60, -2, 0]) cube([10, 4, 9]); translate([70,2,4.5]) rotate([90,0,0]) cylinder(4,...
glb/cad_3a1d091e4578.glb
Create a swing-arm filament guide by starting with a rectangular base measuring 56.7mm in length, 7.5mm in width, and 25mm in height. Add two thin vertical walls, each 2mm wide, 22mm deep, and 25mm high, positioned at the front and rear ends of the base. On the left side, integrate a larger block measuring 20mm by 14mm...
$fn=200; cube([56.7, 7.5, 25]); cube([2,22,25]); translate([54.7,0,0]) cube([2,22,25]); difference() { union() { translate([-20,0,0]) cube([20,14,25]); translate([-19.5,14,12.5]) rotate([90,0,0]) cylinder(14, r=12.5); } color("Navy") translate([-19.5,12,12.5]) rotate([90,0,0]) cylinder(1...
glb/cad_1691860f0f92.glb
Create a flexible bike mount designed to hold a device with dimensions of 160mm in length, 102mm in width, and 10mm in height. Start by constructing a main outer frame that wraps around the device. The frame walls should be 1.6mm thick. Create a central cavity of 10mm by 102mm by 160mm to accommodate the device, leav...
PhoneLength=160; L=PhoneLength+3; PhoneWidth=102; B=PhoneWidth+3; PhoneHight=10; H=PhoneHight+1; Frame=10; Hole1R=0; H1R=Hole1R/2; PositionH1R=0; Hole2R=0; H2R=Hole2R/2; PositionH2R=0; Hole3R=0; H3R=Hole3R/2; PositionH3R=0; Hole4R=0; H4R=Hole4R/2; PositionH4R=0; Hole1L=0; H1L=Hole1L/2; PositionH1L=0; Hole2L=0; H...
glb/cad_4e22c01a6860.glb
Create an arrow in the knee prosthesis consisting of three main components: a base, an arrow shaft, and fletching. First, construct the base as a truncated cone with a bottom radius of 17.5mm, a top radius of 15mm, and a height of 7mm. Create a hole through this base by removing a cylinder with a radius of 6mm and a h...
arrow_diameter = 10; arrow_length = 200; arrow_pieces = 2; arrow_flat_bottom = 2; wound_angle = 15; attachment_hole_width = 18; base_height = 7; feather_base_height = arrow_diameter/2; module base(){ module arrow_hole (){ difference(){ rotate([wound_angle,0,0]) cylinder(r1=arrow_diameter/2+4,r2=arrow_diameter...
glb/cad_785a1e818925.glb
Create a Guidler extruder idler with a lever. Start with a central idler block measuring 12mm in height, 26mm in length, and 26mm in depth. At the center of this block, create a cylindrical cutout with a diameter of 24mm and a height of 9mm to house a 608 bearing. Within this bearing cutout, add a smaller central hole ...
m8_diameter = 9; m8_nut_diameter = 16.4; m3_diameter = 3.6; m3_nut_diameter = 6.1; wade_block_height=55; wade_block_width=24; wade_block_depth=28; nema17_hole_spacing=1.2*25.4; nema17_width=1.7*25.4; motor_mount_translation=[50.5,34,0]; 608_diameter=22; filament_diameter=1.75; filament_feed_hole_offset=filament_d...
glb/cad_3c2919e43d20.glb
Create a DC Buck Converter enclosure consisting of a main case and a matching lid. For the case, create a hollow rectangular box with external dimensions of 71mm length, 51mm width, and 31mm height. The walls should be 2mm thick. On the left and right side walls, create two circular wire inlet holes with a radius of ...
include <MCAD/boxes.scad> $fa=5; $fs=0.3; percent = 1 / 100; board_length = 61; board_width = 43; board_thickness = 2; full_width = 51; unit_height = 20; heatsink_length = 45; screw_radius = 1.5; screw_dist_length = 52.75; screw_dist_width = 36.75; terminal_width = 10; terminal_depth = 7; terminal_inset = 7; term...
glb/cad_09cada8c4ca7.glb
Create a Leap Motion mount for an Oculus CV1 consisting of a flat base and two symmetrical prongs. Start with a rectangular base measuring 7mm wide, 35mm long, and 2.5mm thick, positioned with its center offset. From this base, extend two identical prongs forward. Each prong is constructed by combining a central rectan...
prong(thickness=2.5); translate([-3.5, 15, 0]) cube([7, 35, 2.5]); module prong() { difference() { union() { translate([5, 1, 0]) rotate([0, 0, -90]) cylinder(r=2, h=thickness, $fn=3); translate([-5, 1, 0]) rotate([0, 0, -90]) cylinder(r=2, h=thickne...
glb/cad_4e6fa58fe740.glb
Create a double flanged ear tunnel with a total height of 12mm and a consistent central hole 4mm in diameter running through the entire length. Start by creating a bottom flange 2mm thick, shaped as a frustum that tapers from a 8mm diameter base to a 6mm diameter top. Above this, add a central cylindrical sleeve 6mm ta...
difference() { cylinder(r1=4, r2=3, h=2, $fn=32); cylinder(r=2, h=2, $fn=32); } difference() { translate([0,0,2]) {cylinder(r=3, h=6, $fn=32);} translate([0,0,2]) {cylinder(r=2, h=6, $fn=32);} } difference() { translate([0,0,8]) {cylinder(r1=3, r2=4, h=2, $fn=32);} translate([0,0,8]) {cylinder(r=2, h=2, $fn=32);...
glb/cad_96a7e40e8fba.glb
Create a pushbutton cover by starting with a solid rectangular base measuring 24mm in length, 24mm in width, and 7mm in height. Centered on top of this base, add a thinner rectangular slab measuring 20mm by 20mm with a height of 1mm. Along the bottom edge of the main base, add a thin rectangular lip that is 24mm long, ...
il = 20; iw = 20; ih = 5; t = 2; l = il+t*2; w = iw+t*2; h = ih+t; difference() { union() { cube([l,w,h]); translate([t,t,h]) cube([il,iw,1]); translate([0,-t,h-t]) cube([l,t,t]); translate([l/2,w/2,h/2]) sphere(h); } translate([-h+l/2,-h+w/2,-h-t]) cube([h*2,h*2,h*2]); translate([l/2,w/2...
glb/cad_7b3654d16934.glb
Create a Cardboard Box Flap Clip with a total thickness of 3mm. The footprint consists of three mirrored wing-like structures and a central circular element. Each wing is composed of a 3mm wide by 10mm long rectangle capped with a circle of 3mm diameter. Position the first wing centered at the origin, rotated -10 deg...
resolution = 40; module wing() { union() { rotate([0,0,-10]) translate([3.5/2,0,0]) { translate([0,3/2,0]) circle( 3/2, $fn = resolution ); translate([0,(3/2)+5,0]) square([3,10], center=true); } translate([3.7,9.5,0]) { translate([0,3/2,0]) circle( 3/2, $fn =...
glb/cad_af7e6720c03e.glb
Create an inductive charger phone stand by constructing a main rectangular slab with a total width of 77mm and a length of 154mm. The slab should have a thickness of 12.5mm, but the overall form is angled. In the center of this slab, create a rectangular cutout to house the charging pad. This cutout consists of a bas...
module holder() { difference() { union() { difference() { difference() { hull() { translate([2, 150, 2]) sphere(2, $fn=20); translate([2, 150, 4]) sphere(2, $fn=20); translate([73, 150, 2]) sphere(2, $fn=20); translate([73, 150, 4]) sphere(2,...
glb/cad_3d41c45b3627.glb
Create two identical supports for an inductive charger phone stand. For each support, start with a triangular prism that has a base of 80mm and a height of 60mm, with a thickness of 60mm. At the center of the top surface, place a triangular prism with a side length of 8mm and a height of 60mm. From the main body, remov...
module support() { difference() { translate([30, 50, 0]) cylinder(4,60,60, $fn=3); translate([-40, 50, -6]) scale([2.0, 1.3, 1]) cylinder(h=120, r=41, $fn=100); } } scale([.5, .5, 1]) translate([0, 20, 0]) support(); scale([.5, .5, 1]) translate([0, -125, 0]) support();
glb/cad_a5aaefd2ead5.glb
Create a replacement stovetop knob. Start with a base skirt formed by a circle with a 60mm diameter, linearly extruded to a height of 8mm while scaling down to 80% of its original diameter at the top. Above this, build the main grip by intersecting a cylinder with a 48mm diameter and 50mm height with two cylinders of 1...
$fn=40; difference(){ union(){ linear_extrude(height=8,scale=0.8) circle(d=60); difference(){ intersection(){ hull(){ translate([0,0,7]) rotate([90,0,0]) cylinder(d=14,h=50,center=true); translate([0,0,17]) rotate([90,0,0]) cylinder(d=14,h=50,center=true); ...
glb/cad_02e11b18744f.glb
Create a mini microphone stand and cable clip by starting with a main rectangular block measuring 28.5mm in width, 20.5mm in depth, and 20.5mm in height. From this primary volume, remove a smaller rectangular section measuring 24.5mm in width, 0.1mm in depth, and 2mm in height from the bottom-front edge to create a rec...
difference(){ translate([0.2,0.1,-2])color("red")cube(24.5); cube([28.5,20.5,20.5]); } translate([6,0.1,22.5])color("green")cube([4,24.5,4]); translate([14,0.1,22.5])color("green")cube([4,24.5,4]);
glb/cad_0147ad1795e9.glb
Create a mini microphone stand and cable clip by starting with a flat, rectangular base that is 20mm by 15mm and 2mm thick, centered on the origin. On top of this base, place a cylinder with an outer diameter of 15mm and a height of 13mm, also centered. Inside this cylinder, create a vertical hole with a diameter of 7m...
cube([20,15,2], center=true); cube([15,20,2], center=true); cylinder(r1 = 15/2, r2=15/2 ,h =13, $fn = 50); cylinder(r1 = 7/2, r2=7/2 ,h =17, $fn = 50);
glb/cad_88c9fad3440d.glb
Create a mini microphone stand consisting of a flat cross-shaped base with a central cylindrical riser. Start by forming the base from two intersecting rectangular prisms, each 2mm thick; one measuring 80mm by 40mm and the other 40mm by 80mm, both centered on the same axis to create a plus-sign footprint. In the center...
cube([80,40,2], center=true); cube([40,80,2], center=true); cylinder(r1 = 15/2, r2=15/2 ,h =13, $fn = 50); cylinder(r1 = 7/2, r2=7/2 ,h =17, $fn = 50);
glb/cad_70d0e8ab8d3b.glb
Create a mini microphone stand and cable clip. Start by constructing a base block that is 28.5mm wide, 20.5mm deep, and 20.5mm high. From this block, remove a smaller rectangular section measuring 24.5mm by 24.5mm by 24.5mm, offset by 0.2mm in width and 0.1mm in depth, and subtract a 2mm slice from the bottom. Add two ...
xcubesize = 24.5; module cablebase() { difference(){ translate([0.2,0.1,-2])color("red")cube(xcubesize); cube([28.5,20.5,20.5]); } translate([5,0.1,xcubesize -2])color("green")cube([4,xcubesize-4,6]); translate([15,0.1,xcubesize -2])color("green")cube([4,xcubesize-4,6]); } module ringforcable(...
glb/cad_4e1baf3ad47d.glb
Create a square heated bed plate for an i3 mini printer. Start with a solid square base measuring 123.5mm by 123.5mm with a thickness of 4mm. From the bottom face, remove a central square section measuring 110mm by 110mm to a depth of 2mm, leaving a 6.75mm wide border around the perimeter. At each of the four corners o...
out = 123.5/2; difference() { union() { translate([-out,-out,0]) cube([out*2,out*2,4]); for(x=[-1,1]) for(y=[-1,1]) translate([out*x,out*y,0]) for(j=[0:6]) translate([-j*x,-j*y,0]) cylinder(r=6,h=4); } translate([-110/2,-110/2,2]) cube([110,110,2]); for(x=[-1,1]) for(y=[-1,1]) transla...
glb/cad_c0283a3124ae.glb
Create a ZMR250 Base Plate Armour consisting of a central rectangular plate and two extending wings. Start with a main base plate measuring 90mm by 45mm with a thickness of 3mm, centered on the origin. Remove the four corners by cutting away four rotated rectangular sections: two measuring 30mm by 25mm and two measurin...
union(){ difference(){ cube([90,45,3], center=true); union(){ translate([-44,24.5,0])rotate([0,0,45])cube(size=[30,25,10], center=true); translate([-44,-24.5,0])rotate([0,0,45])cube(size=[25,30,10], center=true); translate([44,-24.5,0])rotate([0,0,45])cube(size=[30,25,10], center=tru...
glb/cad_1849797bcb9b.glb
Create a Mini Spherebot, a device designed to hold and rotate a 40mm sphere for drawing. Start with a main chassis: a rounded cube measuring 139mm wide, 74mm long, and 69mm high, with a wall thickness of 7mm. Hollow out the center to create a cavity. On the front face, create three horizontal slots for stepper motor ...
$fn = 32; include <stepper28BYJ.scad> include <roundedcube.scad> include <9g_servo.scad> w = 125; l = 60; h = 55; t = 7; ow = w + 2*t; ol = l + 2*t; oh = h + 2*t; fullAssembly =1; showAxis = 0; module slot(height=4) { translate([0,t+1,height/2]) rotate([90,0,0]) cylinder(d=height,h=t+2); cube([60,t+2,h...
glb/cad_3ddf468a34bb.glb
Create a gnu-keyring by constructing a flat, ring-shaped base with a total height of 5mm. Start by creating a solid 2D profile based on the GNU logo silhouette, extruded to a height of 4mm. From this base, remove a central cutout of the GNU logo silhouette that is 1mm deep, leaving a raised border of 4mm around the edg...
base_height= 4; image_height=1; invert_image = true; scaling_factor=0.5*0.75; hole_x = 82*scaling_factor; hole_y = 107*scaling_factor; image_cutout_scaling_factor=1.01; image_cutout_position_adjustment=-(5*scaling_factor)*image_cutout_scaling_factor; difference() { union() { scale([scaling_factor,scaling_factor,1]) ...
glb/cad_332aa0056991.glb
Create a buffer stop for H0 scale model railway tracks. Start with a main rectangular block measuring 32mm in length, 34mm in width, and 20mm in height. At the base, carve out a central rectangular channel to accommodate the track. This opening should be 30.5mm wide and 15.5mm long, with a depth of 5mm. Within this c...
$fa=3.6; $fs=0.2; x=32; y=34; z=20; p=30.5; ox=4.5; oy=15.5; oz=5; w=2; k=15; s=(y-p)/2; g=10; by=18.5; bz=18; difference(){ color("grey"){ translate([0,y/2-s,0]) cube([x,s,oz]); translate([0,-y/2,0]) cube([x,s,oz]); translate([x-s,-y/2,0]) cube([s,y,oz]); translate([w,-oy/2,0]) cube([ox,oy,oz]); translate([0,-...
glb/cad_c38cde9419bf.glb
Create a business card carrier designed to hold cards measuring 85x55mm. The main body is a rectangular shell with an overall thickness of 15mm and a depth of 10mm. The outer walls are 1.6mm thick. Construct the main enclosure as a rectangular block with dimensions 15mm by 58.7mm by 88.7mm, centered on the origin. Hol...
T=15/1; W=1.6/1; WB=1.6/1; Lange=85.5/1; L=Lange+2*W; Breite=55.5/1; B=Breite+2*W; T=15/1; Text1=" Your Name & bla"; Text2="3dk.berlin"; difference(){ union(){ difference(){ cube([T,B,L],center=true); translate([0,0,2*W]) cube([T+W,B-2*W,L], center=true); } union(){ intersection() { translate([0,0,2*W+0.2])...
glb/cad_8ecd700a1a37.glb
Create an X-carriage for a 3D printer. Start with a base plate measuring 33mm by 68mm with a thickness of 7mm. On top of this base, add a belt holder base measuring 33mm by 16mm with a height of 17mm, positioned centrally. Include two belt diverters: one on the right and one on the left, each consisting of a 5mm by 7mm...
use <bearing.scad> use <5015housing-MK3-tweaked.scad> module x_carriage_base(){ translate([-33/2,0,0]) rotate([0,0,90]) horizontal_bearing_base(1); translate([-33/2,45,0]) rotate([0,0,90]) horizontal_bearing_base(2); translate([-33,-11.5,0]) cube([33,68,7]); translate([-33,20,0]) cube([33,16,17]); translate(...
glb/cad_87ac0698306d.glb
Create a portal stand for a 3D printer with a base block measuring 70mm in width, 50mm in length, and 3mm in height. On the top surface, center a rectangular channel that is 6mm wide and 60mm long, extending across the length of the block. At the top of this channel, add a raised rectangular section that is 16mm wide...
spacing=3; framewidth=16; portalwidth=6; standlength=50; standwidth=70; module bow(stand, frame, engineheight) { difference() { rotate([0, -90, 0]) linear_extrude(stand.x, center=true) polygon([[0, 0], [0, stand.y/2-frame.y/2], [engineheight, stand.y/2-frame.y/2]]); translate([0, 0, eng...
glb/cad_6b7da405237b.glb
Create a spacer for a 3D printer y-axis rod. Start with a rectangular block measuring 16mm wide, 80mm long, and 7mm high. Remove a cylindrical hole with a diameter of 12mm running through the center of the block along its length, positioned 6mm from the sides and 7mm from the bottom. To create a slot for a nut, remov...
rod=12; length=80; nozzle=0.4; layer=0.25; flapfactor=1; module spacer(rod, length, nozzle, layer, flapfactor) { difference() { cube([rod+nozzle*10, length, rod/2+1]); translate([rod/2+nozzle*3, length/2, rod/2+1]) rotate([90, 0, 0]) linear_extrude(length+0.1*2, center=true) circle(d=rod); ...
glb/cad_d7919a3c7bf8.glb
Create a vertical bearing holder. Start with a main body consisting of a cylinder with a radius of 10.75mm and a height of 58mm, centered on the XY plane. To this cylinder, attach a rectangular block with dimensions 5.5mm wide, 21.5mm deep, and 58mm high, centered on the Z-axis and positioned so it partially overlaps t...
use <polyholes.scad> bearing_diameter = 14.5; module horizontal_bearing_base(bearings=1){ translate(v=[0,0,6]) cube(size = [24,8+bearings*25,12], center = true); } module horizontal_bearing_holes(bearings=1){ cutter_lenght = 10+bearings*25; one_holder_lenght = 8+25; holder_lenght = 8+bearings*25; difference(){ ...
glb/cad_bdf19597a257.glb
Create a 5015 fan housing for a 3D printer x-carriage. The main body is a complex shell consisting of a 3mm thick base, a 10mm tall central pillar, and a 14mm tall funnel section, topped with a 1.5mm thick lid. Integrate a series of cutouts throughout the structure: a central through-hole for the fan shaft, a 0.8mm t...
module housing() { difference() { union() { rotate([180,0,0]) { difference() { union() { linear_extrude(height = 3, center = false, convexity = 10, $fn=100) import (file = "5015housing-MK3.dxf", layer = "Base"); translate([0,0, -7])linear_extrude(height = 10, center = false, convexit...
glb/cad_a6d0294a3604.glb
Create a hotend mount consisting of three identical pillars arranged in a triangle. Each pillar is a vertical assembly with a total height of 32mm. The base of each pillar is a 16-sided prism with a radius of 4mm, which tapers upward to a 16-sided prism with a radius of 2.5mm at the top. For each pillar, center a vert...
include <configuration.scad>; separation = 44; offset = 22; mount_radius = 18.5; jhead_od_radius = 8; jhead_id_radius = 6; height = 6; jhead_height=5; mount_height=32; difference() { union() { for (a = [0:120:359]) rotate([0, 0, a]) { translate([0, mount_radius,0])cylinder(r1=4,r2=2.5, h=mount_height...
glb/cad_4f5c164872f8.glb
Create a Kossel Delta E3D hotend mount. Start with a central cylindrical disk with a radius of 17mm and a height of 4mm, centered on the origin. At the center of this disk, create a vertical hole with a radius of 5mm that passes through the entire height. Above this, add a second concentric cylinder with a radius of 18...
include <configuration.scad>; separation = 44; offset = 22; mount_radius = 18.5; jhead_od_radius = 8; jhead_id_radius = 5; height = 4; jhead_height=2; m3_cap_radius=2.775; m3_cap_height=3; module mount_cap() { rotate(a=[180,0,0]) { difference() { union() { cylinder(r=offset-5, h=height, center=true, $fn=36); ...
glb/cad_9c497795d5dc.glb
Create a Kossel Delta E3D hotend mount. Start with a central cylindrical body 10mm high and 42mm in diameter (21mm radius), using a 36-facet resolution. Subtract a central vertical hole with a radius of 14mm to accommodate the hotend. Around the perimeter, add three symmetrical mounting arms spaced 120 degrees apart. ...
include <configuration.scad>; separation = 44; offset = 23; mount_radius = 18.5; hotend_radius = 14; height = 10; cone_r1 = 2.5; cone_r2 = 14; module effector() { difference() { union() { cylinder(r=offset-2, h=height, center=true, $fn=36); for (a = [60:120:359]) rotate([0, 0, a]) { rotate([0, 0, 30...
glb/cad_4796616d1cb8.glb
Create a Kossel Delta E3D hotend mount. Start with a central cylinder 7mm high and 34mm in diameter (17mm radius), centered on the Z-axis. Add three smaller truncated cones around the perimeter, spaced 120 degrees apart. Each cone has a height of 7mm, a bottom radius of 8.5mm, and a top radius of 7.5mm, positioned with...
include <configuration.scad>; separation = 44; offset = 22; mount_radius = 18.5; jhead_od_radius = 8; jhead_id_radius = 6; height = 7; jhead_height=5; mount_height=31; module mount() { difference() { union() { cylinder(r=offset-5, h=height, center=true, $fn=36); for (a = [0:120:359]) rotate([0, 0, a]) { ...
glb/cad_845f677fa093.glb
Create a 3D geometric sculpture based on the intersection of three identical extruded letter shapes. First, define a base character shape using the letter "A" (or a similar bold, sans-serif glyph) with a size of 10mm. Create three versions of this shape, each extruded to a height of 20mm and centered on its own axis. ...
font = "Liberation Sans"; module G() offset(0.9) text("R", size=10, halign="center", valign="center", font = font); module E() offset(0.9) text("C", size=10, halign="center", valign="center", font = font); module B() offset(0.8) text("A", size=10, halign="center", valign="center", font = font); $fn=64; module GEB() ...
glb/cad_8183890f262d.glb
Create a 3D geometric sculpture by finding the intersection of three extruded text elements. First, create a text object that reads "L" with a font size of 10mm, centered both horizontally and vertically. Extrude this shape to a total height of 20mm, centered on the origin. Second, create a text object that reads "BIC"...
font = "Liberation Sans"; module G() offset(0.1) text("LJUBLJANA", size=1, halign="center", valign="center", font = font); module E() offset(0.12) text("BIC", size=1, halign="center", valign="center", font = font); module B() offset(1) text("L", size=10, halign="center", valign="center", font = font); $fn=64; module...
glb/cad_8f7676c0be1a.glb
Create a parametric foot with a height of 14mm. The main body is a truncated cone with a base diameter of 55mm and a top diameter of 50mm, using a 60-facet resolution for smoothness. Remove a central vertical hole with a diameter of 3.6mm that runs through the entire height of the object. Additionally, create a wider...
Height = 14; Base = 55; Top = 50; Sides = 60; Offset_Percent = 25; Offset_Thickness = 3; Screw = 3.6; Foot(); module Foot(){ difference() { cylinder( Height, Base/2, Top/2,$fn=Sides, false); translate([0,0,Offset_Thickness]){ cylinder( (Height+2), ((Top/2)*(Offset_Percent/100)), ((Top/2)*(Offset_Percent/100))...
glb/cad_e053702f2386.glb
Create a rod holder by starting with a rectangular base measuring 10mm in length, 4mm in width, and 2mm in height. Centered on top of this base, add a second rectangular block that is 5mm long, 4mm wide, and 5mm high. Carve a central horizontal channel through the entire width of the model, consisting of a cylinder w...
$fn=50; lenght = 10; lenght2 = 5; height1 = 2; height2 = 5; width = 4; space = 0.2; hole_radius = 0.9; rod_radius =1; module hole(pos){ translate([0,0,-0.01]){ linear_extrude(height = height2){ translate([pos,width/2,0]){ circle(r = hole_radius+0.01); } } } } difference(){ union(){ cube([lenght,wi...
glb/cad_86580bc1b6e0.glb
Create a rod holder consisting of a rectangular base and a raised central block. Start with a base plate measuring 40mm in length, 24mm in width, and 7mm in height. Centered on this base, add a second rectangular block that is 25mm long, 24mm wide, and 31mm high. Cut a cylindrical hole with a radius of 8mm through th...
use <Libs.scad> $fn=50; lenght = 40; lenght2 = 25; height1 = 7; height2 = 31; width = 24; space = 1; hole_radius = 2.6; rod_radius =8; module hole(pos){ translate([0,0,-0.1]){ linear_extrude(height = height2){ translate([pos,width/2,0]){ circle(r = hole_radius+0.1); } } } } difference(){ difference()...
glb/cad_0755da11f7b0.glb
Create a rod holder consisting of a rectangular base and a raised central block. Start with a base plate measuring 45mm in length, 24mm in width, and 7mm in height. Centered on this base, add a smaller rectangular block that is 25mm long, 24mm wide, and 31mm high. Carve a cylindrical hole with a radius of 8mm through...
use <Libs.scad> $fn=50; lenght = 45; lenght2 = 25; height1 = 7; height2 = 31; width = 24; space = 1; hole_radius = 2.6; rod_radius =8; module hole(pos,wid){ translate([0,0,-0.1]){ linear_extrude(height = height2){ translate([pos,wid,0]){ circle(r = hole_radius+0.1); } } } } difference(){ difference()...
glb/cad_9f2989ac567a.glb
Create a safety plug for a Hammerli SP20. Start by constructing a main vertical cylinder with a radius of 2.75mm and a height of 11.5mm, topped with a hemisphere of the same 2.75mm radius centered at the top. Attached to the base of this cylinder, add a rectangular block measuring 34mm in length, 8mm in width, and 2.5m...
$fn=100; module plug() { cylinder(r=2.75, h=11.5); translate([0,0,11]) sphere(2.75); translate([-2.5,-6,0])cube([34,8,2.5]); } difference() { plug(); color("red")translate([.8,-2.3,-.5])cube([8,4.5,3.5]); translate([2,3.7,1])rotate([90,0,0])cylinder(r=2.25, h=6); }
glb/cad_97d35f840feb.glb
Create a two-story parametric house with a total footprint of 120mm by 70mm and a wall thickness of 5mm. For the first story, construct four walls with a height of 30mm. The front wall should feature a central door 10mm wide and 20mm high, flanked by two windows on each side. Each window should be 10mm wide and 15mm ...
wall_thickness=5; front=true; right=true; left=true; back=true; ceilings=true; module pie(r = 10, a1 = 0, a2 = 30, h = 10){ rotate([0,0,360-a1]) linear_extrude(h) slice(r,a2); } module slice(r = 10, deg = 30) { degn = (deg % 360 > 0) ? deg % 360 : deg % 360 + 360; difference() { ...
glb/cad_8752205a58ff.glb
Create a levitating foot for a 2020 extrusion printer frame. The design consists of a base and a head block. For the base, create a structure with a bottom plate 5mm thick. Build a surrounding wall 1.6mm thick that rises to a total height of 26mm. The outer footprint is a complex shape combining a 40mm by 20mm rectang...
magnum = 1; tolerance = 0.1; nozzle = 0.4; neoRad = 15/2; neoHei = 15; wall = 1.6; wallh = 21; thickness = 5; supportoffset=10; segments=360; module neo(){ cylinder(h=neoHei,r=neoRad+(nozzle+tolerance)/2,$fn=segments); } module base(){ union(){ cube([40,20,neoHei+thickness]); translate([0,20,0])cube([20,20,...
glb/cad_d848d0a021ae.glb
Create a plinth clip designed to hold a cylindrical leg with a diameter of 26mm. Start by creating a base plate that is 26mm wide, 13.4mm deep, and 2.5mm thick, with rounded corners having a radius of 6mm. On top of this base, construct the main clip body with a height of 10mm. The body should be a semi-cylindrical s...
include <MCAD/boxes.scad> variablefnparameter = 360; variablelegDia = 26; variablescrewDia = 3; variableclipHeighth = 10; variablewallThickness = 2; variablebaseThickness = 2.5; variablescrewOffset = 0.8; module plinthClip(legDia,screwDia = variablescrewDia) { clipHeight = variableclipHeighth; wallThickness = varia...
glb/cad_733a1a0f5bac.glb
Create a Wrench Organizer by starting with a rectangular base block measuring 88mm in length, 10mm in width, and 12mm in height. Carve out a series of rectangular slots to hold wrenches. Each slot must be 12mm wide and 20mm deep, rotated 15 degrees along the X-axis to create an angled insertion point. Position the fi...
module wrench_org_in_longs(){ difference() { cube([107,10,23]); translate([10,-1,4]) rotate([0,-15,0]) cube([6.5,12,20]); translate([22,-1,4]) rotate([0,-15,0]) cube([6.2,12,20]); translate([34,-1,4]) rotate([0,-15,0]) cube([5.2,12,20]); translate([46,-1,4]) rotate([0,-15,0]) cube([5.2,12,20]); translate...
glb/cad_193293694a3b.glb
Create a Customizable Heart Friendship Charm with a total width of 30mm and a thickness of 2.5mm. The charm is split vertically into two asymmetrical halves by a jagged, lightning-bolt style break. The overall shape is a heart formed by two circles of 15mm radius and a centered square rotated 45 degrees. The left hal...
use <write/Write.scad> use <Write.scad> heart_size = 30; left_initial = "L"; right_initial = "R"; w=heart_size; your_font = "write/Letters.dxf"; thickness = 2.5; h=0; lx = (sqrt((w*w)/2)); ly = 1.5*(sqrt((w*w)/2)); diag = sqrt(2*w*w); c2x=.85*lx; c2y=.80*ly; c3x=1.15*lx; c3y=.60*ly; $fn=150; module heart() { tra...
glb/cad_65b385b3d6f4.glb
Create a Prusa i3 Mill carriage by starting with a rectangular block 85mm high, 35mm long, and 15mm wide. Center a vertical hole through the block that is 3.3mm in radius and 15.2mm high, extending slightly beyond the top and bottom faces. Carve a complex internal cavity into the block to house a rotary tool. This ca...
length=35; width=15; height=85; heightoffset=-10; connector=1.65; connectordistance=24; holdingwallthickness=4; module rotaryhead() { union() { rotate([0, 90, 0]) cylinder(r=6, h=140-2, $fn=30); translate([140-2, 0, 0]) rotate([0, 90, 0]) cylinder(r1=6, r2=3, h=2, $fn=30); translate([140, 0...
glb/cad_0b8522510585.glb
Create a customizable hex bit handle. The main body is a revolved shape with a height of 18mm and a maximum diameter of 20mm. The profile starts with a 5mm radius semi-circle at the base, transitions through a 1mm square section, and extends to a 5.25mm square top. At the center of the top face, create a hexagonal ho...
sdh=18; sdd=20; mo=1; mshape=0; msize=10; mt=2; definition=40; tolerance=0.15; $fn=definition; module screwdriver(a){ difference() { rotate([180,0,0])rotate_extrude() rotate([0,0,-90]) hull() { translate([sdh-5.25,0,0]) square(5.25); square(1); translate(...
glb/cad_e854561d4cfd.glb
Create an omniwheel consisting of a central hub, four supporting arms, and four peripheral rollers. Start by creating a central cylindrical hub with a radius of 22mm and a height of 44mm, featuring a concentric hole through the center with a radius of 2mm. From this hub, extend four arms spaced 90 degrees apart. Each...
radius = 48/2; length = radius * sqrt(2); echo(length); shift = length/2; r1 = radius-length/2+2; h1 =(radius-length/2)*2; th=0.5; w1=3+th*2; for(i=[0:3]) { rotate([0,i*90,0]) translate([shift,0,0]) wheel(); } for(i=[0:3]) { rotate([0,90*i,0]) arm(); } difference() { rotate([90,...
glb/cad_926e810f6b43.glb
Create a wire carrier chain model consisting of a main rectangular base and two small accompanying cubes. Start by placing a thin, flat rectangular plate with dimensions of 18mm by 22mm and a height of 1mm. Position this plate so its bottom surface is at a height of 0.9mm. Then, add two small identical cubes, each meas...
union(){ translate([0,0,0.9]) import_stl("printableIguslink2_fixed.stl"); translate([16,8,0]) cube([18, 22, 1]); translate([7,10.8,0]) cube([2, 2, 1]); translate([7,25,0]) cube([2, 2, 1]); }
glb/cad_8c07f0b2b071.glb
Create a 3D model of a smart controller board. Start with a base rectangular plate measuring 60mm by 93mm with a thickness of 1.6mm. Place four circular mounting holes with a radius of 2.05mm and a height of 1.6mm at the corners: two at the front at coordinates (2.55, 2.55) and (2.55, 90.45), and two at the rear at (87...
difference() { union(){ translate([20,0,4.6]) cube([70,93,1.6]); translate([29.25,7,6.2])cube([51,78.56,8.4]); translate([33.48,85.56,6.2])cube([42.5,6.27,3.4]); cube([60,93,1.6]); translate([8.9,65,1.6])cylinder(r=5.9,h=9.7,$fn=36); translate([4.65,23.42,1.6])cube([12.5,13,6.1]); translate([10.65,30,...
glb/cad_ad1ae22482ad.glb
Create an aquarium ramp tube end. Start by constructing a hollow cylinder with an outer diameter of 17mm and an inner diameter of 13mm, extending to a height of 15mm. At the top of this cylinder, add a tapered transition section 5mm high that narrows from an outer diameter of 17mm down to 14mm, while the inner bore nar...
$fn=50; D =13; module tube() { rotate([-90,0,0]){ difference(){ cylinder(d=D+2*2, h=15); cylinder(d=D, h=15); } translate([0,0,15]) difference(){ cylinder(d1=D+2*2, d2= 14, h=5); cylinder(d1=D, d2=12, h=5); } trans...
glb/cad_e6ba2094df88.glb
Create a rectangular address stamp base measuring 60mm in width, 40mm in depth, and 2mm in height. On the top surface of this base, embed four lines of text with a font size of 5mm, all extruded to a depth of 3mm into the base. Position the first three lines of text aligned to the left, starting 2mm from the left edge,...
$line1 = "name"; $line2 = "street"; $line3 = "city,state"; $line4 = "zip code"; translate([30,-20,2]){ rotate([180,0,180]){ union(){ linear_extrude(height=2)translate([0,0,10])square([60,40]); translate([0,0,-1]){ linear_extrude(height=3){ translate([2,33])text($line1,halign="left",size=5); translate([2,23])text($l...
glb/cad_a945a3eb48dd.glb
Create a modular base for a napkin holder. Start with a rectangular solid measuring 106mm in length, 34mm in width, and 3mm in height. On top of this base, add two parallel longitudinal rails. Each rail should be 106mm long, 4mm wide, and 15mm high. Position the first rail along one edge of the base from x=0 to x=106 a...
ancho=30; $fn=60; difference() { union() { hull() { translate ([0,0,0]) cube([106,0.2,19]); translate ([0,0,0]) cube([106,4,15]); } hull() { translate ([0,ancho+3.8,0]) cube([106,0.2,19]); translate ([0,ancho,0]) cube([106,4,15]); } translate ([0,0,0]) cube([106,ancho+4,3]); } transl...
glb/cad_62deccb491bc.glb
Create a Fabshub logo consisting of three identical hexagonal prisms and three connecting plates. Each hexagonal prism has a height of 30mm and a maximum width of 50mm. Position the first hexagon centered at the origin. Place the second hexagon 50mm away along the X-axis and 30mm up along the Y-axis. Place the third he...
module hexagon(size, height) { boxWidth = size/1.75; for (r = [-60, 0, 60]) rotate([0,0,r]) cube([boxWidth, size, height], true); } color([255/255,120/255,0,1])union(){ hexagon(50,30); translate([50,30,0])hexagon(50,30); translate([50,-30,0])hexagon(50,30); translate([25,15,-14])rotate([0,0,30])cube([10,10,2...
glb/cad_1eabd4b49234.glb
Create a spool bug tank toy consisting of a central reel and two axles. Start by constructing the main reel body as a vertical cylinder 30mm high with a base diameter of 24mm. The body should feature a tapered profile: the bottom 2mm is a cylinder of 24mm diameter, transitioning into a conical section that narrows to 1...
quality = 360; heigh=30; diameter=24; teeth=16; teethsize=3; hole=7; difference () { union () { cylinder (d=diameter-diameter/2, h=heigh, $fn=quality); cylinder (d1=diameter-2, d2=diameter, h=heigh/15, $fn=quality); translate ([0,0,2]) cylinder (d1=diameter, d2=diameter-diamet...
glb/cad_3b189a247b36.glb
Create a fan foot consisting of a base and three vertical walls. Start with a rectangular base plate measuring 25mm wide by 35.5mm deep and 5mm thick. From this base, extend two vertical walls upward to a total height of 20mm. The first wall is the outer side wall, which is 5mm thick and 30.5mm deep. The second wall is...
fan_width = 120; fan_depth = 25.5; hole_diameter = 4; hole_distance = 7.5; wall_size = 5; height = 20; width = 25; base_depth = 60; $fn = 15; depth = fan_depth + (2 * wall_size); module foot_walls() { translate([0, -(base_depth - depth) / 2, 0]) cube([width, base_depth, wall_size]); translate([0,...
glb/cad_3b312d81f6d8.glb
Create an Edgy Shelf consisting of a flat tray and two supporting wall brackets. First, construct the tray. Create a rectangular base 170mm wide, 150mm deep, and 3mm thick. Add a perimeter wall to the front edge that is 20mm high and 2mm thick. Next, create two identical brackets. Each bracket starts with a vertical...
shelf_depth = 150; shelf_width = 170; shelf_support_height = 60; shelf_support_width = 15; wall_thickness = 2; base_thickness = 3; wall_height = 20; drill_hole_diameter = 5; smidge = 0.1; print_gap = 5; print_tolerance = 1; left = 0; right = 1; module shelf() { union() { translate (v=[0,-print_tolerance...
glb/cad_dfcf2c0e6776.glb
Create a Raspberry Pi 2/3 Rack designed to hold four boards upright. The overall structure is based on a repeating unit height of 23mm. Start by creating two outer side walls. Each wall is a flat plate measuring 61.5mm wide (57.5mm internal width plus 2mm walls on each side) and 97mm deep. Between these walls, const...
rack_height=4; rpi_width=57.5; rpi_length=87; u_height=23; wall=2; ledge=2; port_height=11; port_len=61; module rack_side(){ translate([0,-3*wall,-wall]) cube([rpi_width+2*wall,rpi_length+wall*4,wall]); } module one_u(){ difference(){ translate([0,-wall*3,0]) cube([rpi_width+2*wal...
glb/cad_3857e770fae2.glb
Create a garden pot cover consisting of a circular disc with a diameter of 94.5mm and a total height of 3.6mm. The disc features a concentric outer frame with a thickness of 3.25mm. Inside this frame, create a mesh screen pattern across the surface. The mesh is composed of intersecting perpendicular bars, each 0.39mm...
shape= 128; diameter = 94.5; depth = 3.6; frame_thickness = 3.25; border_size = 0; hitm_diameter = 15; hitm_depth = depth; hitm_border = frame_thickness; mesh_space=1.25; mesh_height=3.6; indention = 1; nubs = 0; printer_layer_height = 0.25; printer_skin_size = 0.6; printer_extrusion_width = 0.39; smoot...
glb/cad_ec9521c0b538.glb
Create a Momoinololu Bracket by starting with a central rectangular slab measuring 50mm in length, 10mm in width, and 3mm in height. At each end of the slab, add a cylindrical protrusion with a radius of 3mm and a height of 4mm, centered on the width of the slab. To finish the part, create three vertical through-holes ...
module Bracket(){ translate([ 22,0,0]) cylinder (h = 4, r=3, center = false, $fn=100); translate([-22,0,0]) cylinder (h = 4, r=3, center = false, $fn=100); cube(size = [50,10,3], center = true, $fn=100); } module Hole(){ cylinder (h = 3.01, r=1.6, center = true, $fn=100); translate([ 22,0,0]) cylinder (h = 10,...
glb/cad_667dd0e862eb.glb
Create a Recursive Triangle fractal based on a Sierpinski gasket pattern. Start with a primary isosceles triangle that has a base width of 50mm, a height of 50mm, and a thickness of 1mm. Generate the fractal by recursively replacing the triangle with three smaller versions of itself. Each sub-triangle should be scale...
levels = 6; len = 50; wid = 50; height = 1.0; identity = [ [ 1, 0, 0, 0 ], [ 0, 1, 0, 0 ], [ 0, 0, 1, 0 ], [ 0, 0, 0, 1 ] ]; scale1x = 0.5; scale2x = 0.5; scale3x = 0.5; scale1y = 0.5; scale2y = 0.5; scale3y = 0.5; theta1 = 0; theta2 = 0; theta3 = 0; e1 = 0.0*len; e2 = 0.5*len; e3 = 0.0*len; f1 = 0.0*wid; f2 = 0...
glb/cad_a8e4bc7718f6.glb
Create a nameplate for a business card holder by starting with a rectangular base measuring 95.9mm in length, 11.9mm in width, and 0.8mm in height. Centered on top of this base, add 3D text that reads "Name/Title" with a font size of 11mm and a character spacing of 1. Extrude the text to a height of 0.8mm so that it si...
name = "Name/Title"; font_size = 11; text_spacing = 1; fn = 200; translate([0,0,-.8]) { cube([95.9, 11.9, .8],center=true); } linear_extrude(.8){ text(name, size=font_size, halign ="center", valign = "center", spacing=text_spacing,$fn=fn); }
glb/cad_e5c96ed71588.glb
Create a screw thread transformation model. Start by defining a 2D profile based on a set of radial coordinates: a point at radius 12.3mm and height 0mm, a point at radius 13.65mm and height 0.9mm, a point at radius 12.3mm and height 1.8mm, and a final point at radius 12.3mm and height 2.7mm. Extrude this profile lin...
pitch = 2.7; rzcoords = [ [ 12.3, 0 ], [ 13.65, 0.9 ], [12.3, 1.8], [12.3, 2.7] ]; function gen_seg(segs, a1, a2, r1, r2) = [ for (j=[0:segs]) let(r=r1+(r2-r1)*j/segs) let(a=a1+(a2-a1)*j/segs) [ r*cos(a), r*sin(a) ] ]; function convert_pts(pts, pitch, mina=5) = [ for (i=[0:len(pts)-2]) let(a1=pts[...
glb/cad_78fc657cff12.glb
Create a Strengthened Tri Glide strap component. Start with a rectangular base that is 30.8mm wide (26mm internal width plus two 2.4mm edges) and 12.8mm deep (4mm center beam plus two 2.4mm edges and two 4mm gaps). The overall height of the part is 2.4mm. Round the four exterior corners of the base with a radius of 1...
_1_webbingWidth = 26; _2_webbingGap = 4; _3_edgeThickness = 2.4; _4_centerThickness = 4; _5_height = 2.4; _6_cornerRounding = 75; _7_cornerBreakage = 0.66; _8_centerDepth = 1.2; module makeBody(xsize, ysize, height, radius) { translate([0,0,height/2]) { minkowski() { cube(size=[xsize-2*radius,ysize-2*radi...
glb/cad_fbfe9d416e62.glb
Create a Geometric Fibonacci Flower consisting of layered petals and leaves. First, construct the petals using a square with a side length of 10mm and a height of 1mm. Arrange these squares in four layers. For each layer, determine the number of petals using the Fibonacci sequence, skipping the first three numbers. I...
petalMaxLayer = 4; petalWidth = 10; petalHeight = 1; petalFibSkip = 3; leafMaxLayer = 3; leafHeight = 1; leafFibSkip = 4; petalLayer = 1; leafCords = [[0,0],[17,0],[5,7.5]]; function fib(x) = x < 3 ? 1 : fib(x - 1) + fib(x - 2); module petal() { translate([-petalWidth/2,-petalWidth/2,0])cube([petalWidth,p...
glb/cad_3f52f9ca73a0.glb
Create a "Magic Boxes" assembly consisting of 8 identical open-top boxes arranged in a 4x2 grid. Each box is a hollow cube with outer dimensions of 40mm width, 40mm depth, and 20mm height, with a wall thickness of 1mm. Connect the boxes using integrated hinge joints located at the top edges of the walls. Each joint is...
boxes = 8; box_width = 40; box_height = 20; box_thickness = 1; joint_radius = 4; joint_width = 15; spacing = 0.5; module joint_base(radius, width, spacing) { $fn = 48; linear_extrude(width) union() { circle(radius); polygon(points = [ [-radius * 3 / sqrt(13), radius * 2 / sqrt(13)], [radius + spacing,...
glb/cad_c4553e748435.glb
Create a Universal Earbud Holder by constructing a thick-walled cylindrical container with a total height of 21mm. The main body is formed by a hull connecting two rings, each with an outer radius of 43mm and a cross-sectional circle radius of 2mm, positioned 21mm apart vertically. Hollow out the center by removing a c...
difference(){ hull(){ translate([0,0,2])rotate_extrude($fn = 100)translate([43,0,0])circle(2,$fn = 50); translate([0,0,23])rotate_extrude($fn = 100)translate([43,0,0])circle(2,$fn = 50); }; translate([0,0,5+7.5])rotate_extrude($fn = 100)translate([48 ,0,0])circle(9,$fn = 50); translate([0,0,5])difference...
glb/cad_000338ec18ac.glb
Create a Universal Earbud Holder by constructing a main cylindrical body with an outer diameter of 54mm and a total height of 27mm. Hollow out the center of this cylinder to create a container with an inner diameter of 45.5mm and a wall thickness of 1.5mm, leaving a base thickness of 1.5mm at the bottom. Inside the c...
difference(){ union(){ difference(){ cylinder(27,48,48,$fn = 100); translate([0,0,1.5])cylinder(26,45.5,45.5, $fn = 100); translate([0,0,0])difference(){ cylinder(2,48,48,$fn = 100); translate([0,0,2])rotate_extrude($fn = 100)translate([46,0,0])circle(2,$fn = 50); cylinder(2,46,46,$fn = 100...
glb/cad_452c9b04cd4d.glb
Create a furniture feet upgrade support consisting of a hollowed conical base. Start by creating a solid cone with a height of 40mm. The bottom radius of this cone should be 18mm, tapering up to a top radius of 15.5mm. Inside this cone, remove a central cylindrical volume to create a socket for a furniture leg. This ...
use <MCAD/screw.scad>; precision = 10; upper = 10; feet_diameter = 26; feet_ground_diameter = 26; square_feet = false; feet_thickness = 5; screw_size = 0; type = "cone"; height_ratio = 3; socle = 5; join_size= upper*height_ratio; builder(upper, feet_diameter, feet_ground_diameter, square_feet, feet_thickness, screw...
glb/cad_4e77cb05401c.glb
Create a parametric button by starting with a central cylinder that has a radius of 20mm and a height of 2mm, centered on all axes. Remove four small cylindrical holes from this main body, each with a radius of 3mm and a height of 7mm; position these holes symmetrically around the center, spaced 90 degrees apart, with ...
module botton(r,n){ difference(){ difference(){cylinder(h=2,r1=r,r2=r,center=true); union(){for(i=[0:3]){ rotate([0,0,(360/4)*i])translate([r/2.5,0,0])cylinder(h=7,r1=3,r2=3,center=true); } } } union(){for(i=[0:n-1]){ rotate([0,0,(360/n)*i])translate([22,0,0])cylinder(h=7,r1=3,r2=3,center=true); } } } } translate...
glb/cad_f86deb58e687.glb
Create a Cat Bust Ornament consisting of a decorative frame and a cat head bust. First, construct the frame by creating a sphere with a radius of 25mm. Hollow out this sphere by removing a smaller concentric sphere with a radius of 23mm. To create the open face of the frame, intersect the remaining shell with a series ...
module cat_head() { difference() { union() { translate(v=[0,3,3]) sphere(r=10,center=true); import_stl("smallcathead_fixed(Cut 2).stl"); } translate(v=[0,0,16]) rotate(a=[30,0,0]) scale([1,1,1.5]) sphere(r=7.5,center=true); translate(v=[0,3,3]) sphere(r=8,center=true); translate(v=[0,0,23]) sphere(r=8,center=true...
glb/cad_31effbbe242e.glb
Create a simple target consisting of a circular face and a supporting base. Start by creating a main circular disk with a radius of 30mm and a thickness of 1.5mm. On the front surface of this disk, add three concentric rings by removing material to create recessed channels. The first ring should have an outer radius of...
thick=1.5; radius=30; base_thick=3; rings = 1; ring_dr = 0.4; difference(){ cylinder(h=thick,r=radius); if (rings>0){ difference(){ cylinder(h=thick*ring_dr, r=radius*0.9); cylinder(h=thick*ring_dr, r=radius*0.8); } difference(){ cylinder(h=thick*ring_dr, r=radius*0.6); cylinder(h=thick*ring_dr, r=...
glb/cad_d2eded6a2b4c.glb
Create a chess medal inlay by starting with a thin, flat cylinder that has a radius of 25mm and a height of 2mm. On top of this base, construct a complex decorative relief. This relief is formed by taking a profile of a chess king and rotating it 360 degrees around its vertical axis to create a lathe-turned shape, then...
segments = 256; union() { difference() { scale(0.125) { rotate([-90, 0, 0]) { translate([0, 0, 115]) { union () { rotate_extrude(convexity = 10, $fn = segments) { import(file = "king_profile.dxf"); } translate([-25, 5, 40]) { ...
glb/cad_bf678572eba5.glb
Create a Chess medal inlay consisting of a thin circular base with a decorative relief. Start by creating a solid cylinder with a radius of 25mm and a height of 2mm. On the top surface of this cylinder, add a complex geometric relief based on a chess queen's profile. This relief is formed by rotating a queen's profile ...
segments = 256; union() { difference() { scale(0.13) { rotate([-90, 0, 0]) { translate([0, 0, 65]) { union () { rotate_extrude(convexity = 10, $fn = segments) { import(file = "queen_profile.dxf"); } translate([0, 0, 28]) { sc...
glb/cad_670c8a4e1039.glb
Create a chess medal inlay based on a rook piece. Start by creating a thin circular base with a radius of 25mm and a height of 2mm. Above this base, construct a 3D volume by rotating a rook's profile around a central vertical axis, then scale this resulting revolved shape by 0.2. From this scaled volume, remove a centr...
segments = 256; union() { difference() { scale(0.2) { rotate([-90, 0, 0]) { translate([0, 0, 70]) { difference () { rotate_extrude(convexity = 10, $fn = segments) { import(file = "rook_profile.dxf"); } translate([0, 0, 20]) { ...
glb/cad_12a55b389d55.glb
Create a chess medal inlay by combining a thin circular base with a partial relief of a chess bishop. Start by creating a flat cylinder with a radius of 25mm and a height of 2mm. Centered on top of this base, construct a complex geometric form based on a scaled-down bishop profile. This upper element is created by rota...
segments = 256; union() { difference() { scale(0.17) { rotate([-90, 0, 0]) { translate([0, 0, 110]) { difference () { rotate_extrude(convexity = 10, $fn = segments) { import(file = "bishop_profile.dxf"); } translate([-30, 0, 5]) { ...
glb/cad_5f0b1297bc63.glb
Create a chess medal inlay by combining a thin circular base with a detailed relief. Start by creating a cylinder with a radius of 25mm and a height of 2mm. On the top surface of this cylinder, add a complex geometric relief centered on the disk. This relief is formed by taking a 3D model of a chess knight, scaling it ...
segments = 256; union() { difference() { scale(0.175) { rotate([-90, 0, 0]) { translate([0, 0, -80]) { union () { rotate_extrude(convexity = 10, $fn = 64) { import(file = "knight_profile.dxf"); } translate([-8, -12, 28]) { sc...
glb/cad_38f88f1ff3b0.glb
Create a chess medal inlay by combining a thin circular base with a partial revolved profile. Start by creating a flat cylinder with a radius of 25mm and a height of 2mm. Centered on top of this base, add a revolved geometric shape based on a pawn profile, scaled by a factor of 0.24. This revolved section should be ori...
segments = 256; union() { difference() { scale(0.24) { rotate([-90, 0, 0]) { translate([0, 0, 65]) { rotate_extrude(convexity = 10, $fn = segments) { import(file = "pawn_profile.dxf"); } } } } translate([-30, -30, -30]) { cube([60, 60, 30])...
glb/cad_c50c48108e40.glb
Create a monogrammed wheelchair joystick handle. Start by constructing a conical frustum with a height of 30mm, a bottom diameter of 13mm, and a top diameter of 21mm. Drill a cylindrical hole through the center of the base with a diameter of 7.3mm and a depth of 16.86mm. On the flat top surface, emboss the single upper...
include <OpenScadFont.scad> roundedTop = 0; joystickHeight = 30; joystickTopDiameter = 21; joystickBottomDiameter = 13; insideHoleDiameter = 7.3; insideHoleHeight = 16.86; monogramText = "M"; textHeight = 2; textXOffset = 0.5; textYOffset = -0.5; $fn=60; manifoldCorrection = 0.01; difference() { union...
glb/cad_277dcf8b1547.glb
Create an LNB adapter for a satellite dish consisting of a central hollow tube and a wide circular base. Start by creating a main vertical cylinder with an outer radius of 19.5mm and a height of 90mm. This cylinder should be hollowed out by a central bore with a radius of 16.6mm. At the bottom of the tube, add a conic...
Antenna(); module Antenna(){ difference () { union(){ translate([0,0,-6])cylinder(r=19.5, h=90, center=false,$fn=200); translate([0,0,-24])cylinder(r1=43,r2=19.5, h=22.5, center=false,$fn=200); translate([25,25,-24])cylinder(r=7, h=6, center=false,$fn=200); translate([-25,25,-24])cylinder(r=7, h=6, cent...
glb/cad_987b4f636f7b.glb
Create a HBP Wedge Removal Tool by constructing a right-triangular prism. The prism should have a length of 50mm and a width of 50mm. One end of the tool must be completely flat with a thickness of 0mm, tapering linearly along its length to a maximum thickness of 3mm at the opposite end. The resulting shape is a wedge ...
size = 50; maxThickness = 3; rotate(a=[90, 90, 90]) { linear_extrude(height = size, center = true, convexity = 10, twist = 0) polygon(points=[ [0,0], [maxThickness, size], [0, size] ], paths=[[0,1,2]]); }
glb/cad_4c02aa84542e.glb
Create a BLTouch effector mounting plate. Start with a central cylindrical body 38mm in diameter and 8mm high. Cut a central hole 18.5mm in diameter through the body. Extend three equidistant arms from the center, each 22.5mm long and 13.26mm wide, with a height of 8mm. At the end of each arm, create a cylindrical mo...
show_e3d_and_bltouch=0; fan_clamp_in_pos=0; show_fan=0; effectorHeight = 8; clampHeight=15; $fn=150; diaphram_rotation = 150; bltouch_xoffset = 20.5; blrotation=30; bltouch_width=18; m3_nutdia=6.5; m3_nutdepth=2.5; module bltouch(xoffset, blrotation) { rotate([0,0,blrotation]){ color([0,0,1]){ ...
glb/cad_71b27dad79e7.glb
Create a GoPro Cable Dolly consisting of two mirrored chassis plates, two wheels, and two sets of screws and nuts. Each chassis plate is based on a rounded triangular form created by the Minkowski sum of a 3-sided prism (radius 47mm, height 2mm) and a cylinder (radius 7mm, height 0.1mm). Centered on the plate is a re...
nutwidth=9.1; Strebe(1,nutwidth); rotate ([0,0,180]) translate ([70,0,0]) mirror([ 0, 1, 0 ]) Strebe(0,nutwidth); module Strebe (spezial,nutwidth) { difference () { union () { minkowski () { cylinder (r=47,h=2,$fn=3,center=true); cylinder (r=7,h=0.1,$fn=100,center=true); } translate ([-24.25,0,0]) cube ([12.5,15...
glb/cad_2ba10d2db507.glb
Create a GoPro Cable Dolly wheel. Start with a main cylinder that is 10mm high with a radius of 25mm, centered on the origin. Subtract a toroidal ring from this cylinder by rotating a circle with a 6mm radius around the center at a distance of 29mm from the axis. Remove a smaller central cylinder with a height of 11mm ...
difference () { cylinder (h=10,r=25,$fn=100,center=true); rotate_extrude(convexity = 10, $fn = 100) translate([25+4, 0, 0]) circle(r = 6, $fn = 100); cylinder (h=11,r=12.5/2,$fn=100,center=true); difference () { cylinder (h=11,r=22,$fn=100,center=true); cylinder (h=11,r=15.5/2,$fn=100,center=true); } } for (i=[0:7...
glb/cad_dc467ae040f0.glb
Create a GoPro Cable Dolly consisting of a threaded bolt and a matching nut. Construct the bolt by creating a central cylinder with a radius of 6mm and a height of 16mm. On top of this cylinder, add a wider cylindrical head with a radius of 8.5mm and a height of 10mm. This head must feature 20 small cylindrical holes...
translate ([0,0,10]) rotate ([180,0,0]) mutter(); translate ([0,20,42]) rotate ([180,0,0]) schraube_oben(); module mutter () { difference () { cylinder (r=8,h=10,$fn=100); trapezoidThreadNegativeSpace( length=15, pitch=4, pitchRadius=5, threadHeightToPitch=0.5, profileRatio=0.5, threadAngle=30, RH=true, c...
glb/cad_6e3040d070a9.glb
Create a shopping cart token by starting with a main circular disk that has a diameter of 26.48mm and a thickness of 1.92mm. On the right side of the disk, add a protruding tab that is 13.24mm wide and 9.62mm tall, centered vertically with the disk. Within this tab, create a circular hole with a diameter of 3mm that pa...
Diameter=26.48; Thickness=1.92; RingDia=3; SlotThick=1; $fn=60; difference(){ union(){ cylinder(d=Diameter,h=Thickness,center=true); translate([3*Diameter/4-2,0,0])cylinder(d=Diameter/4+RingDia,h=Thickness,center=true); translate([Diameter/2-2,0,0])cube([Diameter/2,Diameter/4+RingDia,Thickn...
glb/cad_9ffa8961c9bf.glb
Create a Bahtinov mask for a telescope with a total outer diameter of 145mm and a thickness of 2mm. The main body is a circular plate with a central aperture of 106mm. Within this aperture, create a specific pattern of slits designed for star focusing. This pattern consists of three sets of parallel bars, each 2mm wide...
outerDiameter = 145; aperture = 106; centerHoleDiameter = 0; gap = 2; module bars(gap, width, num=5) { num = round(num); for (i=[-num:num]) { translate([width/2,i*2*gap]) square([width,gap], center=true); } } module bahtinovBars(gap,width) { numBars = aperture/2 / gap / 2 -1; intersect...
glb/cad_3eb9524ac938.glb
Create a Raktajino Mug by constructing a revolved vessel with a hollow interior. The outer profile is defined by a base radius of 35.5mm and a top radius of 19mm, with a total height of 60.5mm. The wall thickness is 3mm. The profile transitions from the wide base to the narrower top through a middle section located 28....
wll=3; b2m=28.5; m2t=32; rdb=35.5; mmr=20.5; rdt=19; rdr=4; res=1.25; lyh=0.35; hrp=2/3; PI=3.141592; rdw=wll/2; rdm=mmr-rdr+rdw; thg=b2m+m2t; hp1=sqrt(pow((rdb-rdm),2)+pow(b2m-rdw,2)); lf1=acos((b2m-rdw)/hp1); xo1=rdw*cos(lf1); zo1=rdw*sin(lf1); hp2=sqrt(pow((rdt-rdm),2)+po...
glb/cad_2714b11f0d40.glb
Create a Makerslide MXL Belt Clip by starting with a rectangular base measuring 27.5mm by 15mm with a thickness of 1.5mm. Apply a corner radius of 4mm to all four corners of this base. Remove three specific geometric sections from this base to create openings. First, create a circular hole with a radius of 2.75mm cente...
module roundedRect(size, radius) { x = size[0]; y = size[1]; z = size[2]; linear_extrude(height=z) hull() { translate([radius, radius, 0]) circle(r=radius, $fn=20); translate([x - radius, radius, 0]) circle(r=radius, $fn=20); translate([x - radius, y - radius, 0]) circle(r=radius, $fn=20); translate([ra...
glb/cad_a48325c5122f.glb
Create a deep LM8UU holder by starting with a solid cube measuring 32mm x 32mm x 19.5mm. Carve out a central rectangular void measuring 24mm wide, 15mm deep, and 10mm high, positioned 4mm from the front face and 12mm from the base. Bore a horizontal cylindrical hole with a radius of 7.5mm and a length of 24mm through t...
lm8uu_holder_deep(); module lm8uu_holder_deep(){ color([1,1,1]) difference(){ cube([32,32,19.5]); translate([4,16,12])rotate([0,90,0])cylinder(r=7.5,h=24); translate([4,8.5,12])cube([24,15,10]); translate([-7,16,12])rotate([0,90,0])cylinder(r=4.5,h=40); translate([8,4,-2])cylinder(r=2,h=50,$fn=14); tran...
glb/cad_99a928e8b8c2.glb
Create a bearing holder by starting with a base composed of a cylinder with a radius of 19mm and a height of 11mm, joined to a rectangular block measuring 40mm by 36mm by 11mm centered at the origin. From this combined volume, remove a central vertical hole with a radius of 8.5mm and a height of 13mm, and a larger conc...
bearing_holder(); module bearing_holder(){ difference(){ union(){ cylinder(r=19,h=11); translate([-20,-16,0])cube([40,36,11]); } translate([0,0,-1])cylinder(r=8.5,h=13); translate([0,0,4])cylinder(r=11,h=9); translate([14,30,5.5])rotate([90,0,0])cylinder(r=2,h=70,$fn=10); translate([-14,30,5.5])rot...
glb/cad_de40c369a8e8.glb
Create a Part-Y z-nut trap by starting with a solid rectangular block measuring 21.5mm in width, 31mm in depth, and 8mm in height. From this block, remove four vertical cylindrical holes, each with a radius of 2mm and a height of 10mm, positioned at the coordinates (4.5, 5.5), (17, 5.5), (4.5, 25.5), and (17, 25.5). Ad...
z_nut_trap(); module z_nut_trap(){ color([1,1,1])difference(){ cube(size=[21.5,31,8]); translate(v=[4.5,5.5,-1]) cylinder(r=2,h=10); translate(v=[17,5.5,-1]) cylinder(r=2,h=10); translate(v=[4.5,25.5,-1]) cylinder(r=2,h=10); translate(v=[17,25.5,-1]) cylinder(r=2,h=10); translate(v=[4.5,3.5,5]) cube(size=...
glb/cad_f8070e0d0da1.glb
Create a bar clamp by starting with a solid rectangular block measuring 22mm in width, 22mm in depth, and 12mm in height. Remove four vertical holes, each with a radius of 2mm and a height of 30mm, using 10-sided prisms. Position these holes at the following coordinates: one at x=4, y=3.5; one at x=4, y=18.5; one at x=...
bar_clamp(); module bar_clamp(){ difference(){ cube([22,22,12]); translate([4,3.5,-1])cylinder(r=2,h=30,$fn=10); translate([4,18.5,-1])cylinder(r=2,h=30,$fn=10); translate([18,18.5,-1])cylinder(r=2,h=30,$fn=10); translate([18,3.5,-1])cylinder(r=2,h=30,$fn=10); translate([-1,11,8])rotate([0,90,0])cylinder(...
glb/cad_5c36e23dd5e2.glb
Create a lamp shade base consisting of a circular plate and three concentric hollow tubes of increasing diameters and decreasing heights. Start with a solid base plate 80mm in diameter and 7mm thick, with a centered vertical hole 28.5mm in diameter and 12mm deep. On top of this plate, place three concentric hollow cy...
basePlate_d=80; basePlate_h=7; basePlateSub_d=28.5; basePlateSub_h=12; insideTube_d=60; insideTube_h=90; insideTubeSub_d=insideTube_d-2; insideTubeSub_h=insideTube_h+2; middleTube_d=70; middleTube_h=50; middleTubeSub_d=middleTube_d-2; middleTubeSub_h=middleTube_h+2; outsideTube_d=80; outsideTube_h=20; outsideTubeSub...
glb/cad_5a4d00720a33.glb
Create a lamp shade adapter consisting of a base plate and a hollow vertical tube. Start by creating a solid cylinder for the base plate with a diameter of 42mm and a height of 4mm. Remove a smaller concentric cylinder from the center of this base plate with a diameter of 28.6mm and a height of 6mm, ensuring the hole c...
basePlate_d=42; basePlate_h=4; basePlateSub_d=28.6; basePlateSub_h=basePlate_h+2; tube_d=42; tube_h=40; tubeSub_d=tube_d-2; tubeSub_h=tube_h+2; basePlateAssy(); translate([0,0,basePlate_h]) tube(); module basePlateAssy() { difference() { color("blue") cylinder(d=basePlate_d, h=basePlate_h...
glb/cad_e149eedbf755.glb
Create a lamp shade consisting of a base plate and three concentric tiered tubes. Start with a solid cylindrical base plate 80mm in diameter and 7mm high, with a central vertical hole 28.5mm in diameter and 12mm deep. On top of this base, place three stacked hollow cylinders. The innermost tube is 60mm in diameter and...
basePlate_d=80; basePlate_h=7; basePlateSub_d=28.5; basePlateSub_h=12; insideTube_d=60; insideTube_h=90; insideTubeSub_d=insideTube_d-2; insideTubeSub_h=insideTube_h+2; middleTube_d=70; middleTube_h=50; middleTubeSub_d=middleTube_d-2; middleTubeSub_h=middleTube_h+2; outsideTube_d=80; outsideTube_h=20; outsideTubeSub...
glb/cad_824cca314771.glb