Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a BCN3D Sigma bowden tube retention fitting. Start with a base flange 6mm thick. The flange is formed by the convex hull of two cylinders at the ends and one in the center; the end cylinders have a diameter of 7mm and are spaced 20mm apart, while the center cylinder has a diameter of 16mm. Add a central boss on...
$fn = 120; flange_thickness = 6; plusabit = 1; extra_width = 4; gripper_dia = 12; cap_screw_diameter = 3; cap_screw_head_dia = 6.5; cap_screw_spacing = 20; cap_screw_counterbore_thickness = 2.6; cap_screw_counterbore_height = flange_thickness - cap_screw_counterbore_thickness; gripper_height = 3.5; tap_drill_size = 5.2...
glb/cad_45931ab06a74.glb
Create a customizable rubber band loom fishtail maker. Start by creating a base ring with an outer radius of 15mm, an inner hole radius of 9mm, and a height of 4mm. Arrange 8 pins equally around the circumference of the ring. Each pin is a hollow tube with an outer radius of 4mm and a wall thickness of 1mm. The pins ...
include <utils/build_plate.scad> size = 15; inner_size = 9; pins = 8; notches = 1; notch_depth = 1.1; notch_height = 9; ring_height = 4; pin_height = 18; pin_radius = 4; pin_wall_thickness = 1; build_plate_selector = 0; build_plate_manual_x = 100; build_plate_manual_y = 100; build_plate(build_plate_select...
glb/cad_af048c4d7fa7.glb
Create a Huxley Bed Strain Relief by starting with a solid rectangular block measuring 20.8mm in width, 13mm in depth, and 16.8mm in height. Carve a central rectangular slot through the depth of the block to accommodate a circuit board; this slot should be 15.8mm wide, 10mm deep, and 14.3mm high, positioned 3mm from ...
EPS=0.01; $fs=0.2; ConWidth=15.8; ConPlusInset=12.4; ConMinusInset=7.2; ConEmptyInset=2.3; RightOfConMaterial=2; LeftOfConMaterial=3; MaterialToCon=3; ThicknessOfCircuitBoard=2.3; MaterialThicknessOverBoard=2.5; MaterialThicknessBelowBoard=12; MaterialIntoBoard=10; MaterialBeforeBoard=3; WireRadius=1.1; totalWid...
glb/cad_c00cd5d405ab.glb
Create a modular drawer by starting with a centered rectangular box measuring 47mm wide, 46mm deep, and 37mm high. Hollow out the center of this box by removing a smaller centered rectangular volume of 41mm by 40mm by 34mm, leaving a consistent wall thickness. On the front face, add two identical decorative structural ...
module drawer() { union() { difference() { cube(size = [47,46,37], center = true); translate(v= [0,0,2]) cube(size = [41,40,34], center = true); } part(); translate(v=[-32,0,0]) part(); translate(v=[0.5,-26.5,9.5]) { rotate(a=[0,90,0] ){ cylinder(h = 35, r=1.8, center=true); }} } } ...
glb/cad_4eaec9d33dce.glb
Create a modular storage box by starting with a main outer cube measuring 60mm x 50mm x 50mm. Hollow out the center of this cube by removing a smaller internal block measuring 49mm x 49mm x 39mm, positioned at [2.5, -2, 2.5], to create a thick-walled open container. To enable modular connectivity, integrate specific ...
module connector(length) { difference() { cube(size = [length,5,10], center = true); translate(v= [0,1,6]) { rotate(a=[55,0,0]) { cube(size = [length+2,5,10], center = true); }} translate(v= [0,1,-6]) { rotate(a=[-55,0,0]) { cube(size = [length+2,5,10], center = true); }} } } module box() { diff...
glb/cad_f10035d9f5a5.glb
Create a name tag for a Pelican case consisting of a rectangular base with raised text. The base is a thin plate measuring 24.5mm wide, 118.5mm long, and 3.6mm thick. The bottom of the plate is flat, while the top surface is slightly recessed from the edges. On the top surface, center the text "Daniel Fraser" lengthw...
font = "Liberation Sans"; label_x = 24.5; label_y = 118.5; label_yd = 1.5; label_z = 3.6; label_shrink_scale = 0.97; letter_size = 12; letter_height = 5; letter_shift = 11; top_shrink=1.8; label_text="Daniel Fraser"; module letter(l) { linear_extrude(height = letter_height) { text(l, size = letter_size, font =...
glb/cad_79b06857be64.glb
Create a faceplate for an LCD screen by starting with a solid rectangular block measuring 110mm wide, 64mm deep, and 9mm thick, centered on the origin. Carve out a central rectangular void measuring 100mm by 40mm and 9mm deep to create a frame. At the top center of the frame, remove a smaller rectangular section measur...
thickness=9; maxDims=[110,64,thickness]; screwCorner=[ 47, 28,-20]; cornerCut=[ 47, 29,13]; cubeSize=[8,10,30]; tl=[[-1, 0, 0], [ 0, 1, 0], [ 0, 0, 1]]; bl=[[-1, 0, 0], [ 0,-1, 0], [ 0, 0, 1]]; tr=[[ 1, 0, 0], [ 0, 1, 0], [ 0, 0, 1]]; br=[[ 1, 0, 0], [ 0,-1, 0], [ 0, 0, 1]]; difference() { cube(size=maxDims,...
glb/cad_cda9da4cfa93.glb
Create a faceplate and mounting hook for an LCD screen. Start by constructing a central rectangular bar that is 3mm wide, 74mm long, and 10mm thick. At one end of this bar, centered at a position 6.5mm offset from the center line and 42mm along the length, create a cylindrical hook. This hook is formed by a cylinder wi...
difference() { union() { translate([-6.5,42,0]) difference() { translate([0,0,-5]) cylinder(r=8,h=10); translate([0,0,-5]) cylinder(r=5,h=10); translate([0,-6,0]) cube([20,10,10],center=true); } translate([0,5,0]) cube([3,74,10],center=true); } rotate([0,90,0]) translate([0,-28,-20]) cylinder(r=2,h...
glb/cad_192d586235e4.glb
Create a customizable sword by combining a blade, a hilt, and a handle. Start with the handle by creating a rectangular base 40mm long, 15mm wide, and 5mm high. At the end of this handle, center a hilt that is 10mm wide, 70mm long, and 5mm high. To decorate the hilt, place two diamond-shaped plates. The first is a la...
large_decoration_height = 8; small_decoration_height = 7; large_decoration_width = 24; small_decoration_width = 15; handle_width = 15; hilt_width = 10; hilt_length = 70; handle_height = 5; blade_length = 120; blade_side_height = 2; blade_center_height = 6; rotate([0,0,45]) translate([-large_decoration_width/2,-large...
glb/cad_1a0051afd7fc.glb
Create a Servo Valve adapter consisting of a servo housing and a valve holder. First, create the servo housing. Start with a central rectangular block 20mm wide, 38mm deep, and 40.5mm high. Add mounting tabs on the sides that are 3.5mm thick and extend 7.5mm beyond the main body. On these tabs, place four 2mm radius ...
servo_h=40.5; servo_w=20; servo_d=38; servo_mount_t=3.5; servo_mount_l=7.5; servo_mount_setback=8.5; servo_mount_hole=4; servo_mount_hole_setback_x=3.5; servo_mount_hole_setback_z=3.5; servo_shaft_setback=9.2; servo_shaft_diameter=6; servo_arm_t=5; servo_arm_h=8.5; servo_arm_clearance=10; servo_holder_margin=servo_...
glb/cad_2471aad092ca.glb
Create a Filament Feeder Foot by starting with a solid rectangular block 22mm wide, 30mm deep, and 14mm high. Center a vertical hole with a radius of 4.3mm that passes completely through the block from top to bottom. To create the mounting slot, remove a rectangular section 4mm wide and 18mm deep from the center of the...
feet(10, 18); m8_Radius = 8.6 / 2; height = 14; translate([-11, 0, 0]) { difference() { cube([22, 30, height]); translate([0, -10, 0])rotate([0, 0 , 45]) cube([10, 10, height]); translate([22, -10, 0]) rotate([0, 0 , 45]) cube([10, 10, height]); translate([0, 26, 0]) rotate([0, 0 , 45]) cube([10, 10, height]...
glb/cad_469f24b49655.glb
Create a Wrench Generator tool with a thickness of 5mm. The main body is a rectangular handle with a total length of 254mm and a width of 25.4mm. At both ends of the handle, create rounded heads. Each head is formed by the union of a central rectangle and two semi-circles with a radius of 12.7mm centered on the handle'...
include <MCAD/shapes.scad> include <write/Write.scad> NutSize = 10; Thickness = 5; HandleLength = 10; Text = "Sansolis The Plumber"; Font = "write/Letters.dxf"; RealNutSize = NutSize*25.4; kerf = 0.4 + 0; D = RealNutSize + kerf; M = D/2; H = Thickness; Ltot = D * HandleLength; Text_Height = RealNutSize*0.8 ; L =...
glb/cad_b2916f62be45.glb
Create a Taranis Removable Antenna Holder consisting of two concentric, C-shaped ring components. Both components share an outer diameter of 12mm and a 100-degree open gap. First, create a base holder ring with a height of 4mm and an inner diameter of 9mm. The ring should be a hollow cylinder with a 100-degree segment...
$outer_diam = 12; $inner_diam = 9; $clip_diam = 8; $open_angle = 100; $clip_height = 1.5; $height = 4; $epsilon=0.1; $fn=30; module pie(radius, height, angle) { difference() { cylinder(r=radius, h = height); translate([-radius - $epsilon,-radius-$epsilon,-$epsilon]) cube(size=[radius+...
glb/cad_df704dc59a7f.glb
Create a Taranis Removable Antenna Holder by constructing a thick-walled ring with a tapered interior. Start with a cylinder that has an outer diameter of 15.5mm and a total height of 6mm. From the center of this volume, remove a smaller concentric cylinder with a diameter of 7mm that extends through the entire height ...
$connector_diam = 7; $connector_height = 1; $inner_diam = 14.5; $outer_diam = 15.5; $overlap_height = 5; $epsilon = 0.1; $edge_width = 1; $edge_height = 1; $fn=45; difference() { intersection() { cylinder(h = $overlap_height + $connector_height, r = $outer_diam/2); cylinder(h = $overlap_height + $c...
glb/cad_10cdfd977057.glb
Create a Taranis Removable Antenna Holder consisting of three distinct parts: two symmetrical holders and one clip. To create a holder, construct a vertical tower of stacked cylinders. Start with a base cylinder 8.8mm in diameter and 2mm high. Above this, add a slightly narrower cylinder 7.8mm in diameter and 2mm high...
module mycil2(diameter, facets, from, to) { translate([0,0,from]) cylinder(h = to - from, r = diameter/2, $fn=facets); } module mycil(diameter, from, to) { mycil2(diameter, 20, from, to); } $epsilon = 0.1; $rim_start = 0; $rim_end = $rim_start + 2; $rim_diam = 8.8; $notch_start = $rim_end; $notch_e...
glb/cad_0cbf58f9bbe3.glb
Create a base support pad for a wifi scale by constructing a solid cylinder with a diameter of 45mm and a height of 10mm. Centered within this cylinder, remove a smaller cylindrical core with a diameter of 20mm. This hole should be bored from the top face down through the object, but stop 2mm before reaching the bottom...
$fn=200; t=10; dout=45; din=20; difference () { cylinder (d=dout,h=t); translate ([0,0,t-2]) cylinder (d=din,h=t); }
glb/cad_9340b52b2fbe.glb
Create a bicycle kickstand tip by constructing a tapered, hollowed-out prism. Start with a solid 12-sided polygonal cylinder that has a base diameter of 30mm, a top diameter of 15mm, and a total height of 30mm. Remove a central cylindrical hole from this shape to create the socket; this hole should have a diameter of 1...
inside_d = 11; base_d = 30; base_h = 30; tilt = 30; roundness=12; module inside() { translate([0,0,base_h-15]) cylinder(d1=inside_d-1, d2=inside_d, h=22); } module outside() { difference() { cylinder(d1=base_d, d2=inside_d+4, h=base_h, $fn=roundness, $fs=100); } } module kickstand_tip() { differen...
glb/cad_d9f8069fba5d.glb
Create a customizable top holder for a universal charging dock. Start by forming the main body from two overlapping rounded boxes with a corner radius of 4mm and a height of 30mm. The first box should have dimensions of 26mm by 50mm, and the second should be calculated as (phone thickness + 11mm - phone depth) by (phon...
include <MCAD/boxes.scad> phone_name = "Your custom"; font_size = 10; TextLabel = "text"; font = "REGISTRATION PLATE UK:style=Bold"; phone_width = 62; phone_depth = 7; phone_thickness = 12; rotate([180,0,180]) { difference() { union(){ translate([((phone_thickness+11-phone_depth)/2)-2,0,0]) { rounded...
glb/cad_b66a7d551781.glb
Create a Hydroponic Endpiece designed to plug a rectangular pipe. Start by creating a solid rounded rectangular slab with a width of 110.1mm, a height of 57.6mm, and a thickness of 11mm, using a corner radius of 3mm. Hollow out the center of this slab by removing a rounded rectangular volume with a width of 106.5mm and...
ep_width=106.5; ep_length=11; ep_height=54; ep_rad=3; ep_rim=1.8; ep_thick=2; module rounded_rect(wid,ht,rad,len) { cube([wid-2*rad,ht,len],center=true); cube([wid,ht-2*rad,len],center=true); translate ([(wid/2)-rad,(ht/2)-rad,0]) cylinder(h=len,r=rad,center=true); translate ([(wid/2)-rad,(ht/-2)+rad,0]) cylinder(...
glb/cad_9e266646b0ce.glb
Create a Gamecom780 Headband Replacement consisting of a curved headband and two symmetrical mounting ends. First, construct the headband as a hollowed-out semi-circular arc with an outer diameter of 95mm, a width of 42mm, and a wall thickness of 5mm. Incorporate a thin wire groove running along the center of the arc...
hb_thick=5; hb_diameter=95; hb_angle=42; hb_width=42; mnt_outside=9.25; mnt_hight=19; mnt_inside_adj=0; translate([mnt_hight,hb_diameter+mnt_outside,hb_width/2]) rotate([0,-90,0]) difference(){ union(){ translate([-hb_width/2,-mnt_outside-hb_thick,0])cube([hb_width,hb_thick,mnt_hight]); difference(){ uni...
glb/cad_3c65e8941534.glb
Create a Gamecom780 Headband Replacement mount. Start by creating a main outer cylinder with a radius of 9.25mm and a height of 19mm. From this cylinder, remove a series of concentric internal shapes to create a hollowed-out mounting point. First, remove a cylinder with a radius of 7.25mm and a height of 5mm, positione...
hb_thick=5; hb_width=42; hb_length=95; mnt_outside=9.25; mnt_hight=19; mnt_inside_adj=0; difference(){ union(){ cylinder(r=mnt_outside,h=mnt_hight,$fn=100); } union(){ translate([0,0,-1]) cylinder(r=7.25+mnt_inside_adj,h=5,$fn=100); translate([0,0,3]) cylinder(r=4.5+mnt_inside_adj,h=4.5,$fn=1...
glb/cad_7eae4b353a4f.glb
Create a landing skid mount plate for a quadcopter. The plate is 4mm thick and centered on the origin. First, create two symmetrical curved arms extending from the center. Each arm follows a Bezier path starting from the center, curving outward to a maximum width of 16mm (4 times the screw diameter), and ending at a t...
use <BezierScad/BezierScad.scad>; part = "mountPlate"; plateThickness = 4; partThickness = 3; iFitAdjust = .4; cylHeightExt = .1; M3D = 3.1; $fn = 64; tFittingCaptureLength = 30; arrowShaftOD = 7.7; arrowShaftThickness = 1; arrowShaftID = arrowShaftOD - 2 * arrowShaftThickness; mountPlateScrewD = 4; mountPlateScr...
glb/cad_f5d5ab4225f2.glb
Create a Z-Axis Limitswitch Mounting Arm with a total height of 10mm. Start with a base plate defined by a complex polygon with vertices at [-24, 22.6], [-24, -7], [-19, -7], [-19, -12], [19, -12], [19, -7], [24, -7], [24, 22.6], [19, 22.6], [19, 27.6], [15.8, 27.6], [15.8, 25.6], [13.8, 25.6], [13.8, 21.95], [12.65, 2...
difference () { union () { color("lime") linear_extrude(height = 10, slices = 96) { polygon([ [-24,22.6],[-24,-7],[-19,-7],[-19,-12],[19,-12],[19,-7],[24,-7], [24,22.6],[19,22.6],[19,27.6],[15.8,27.6],[15.8,25.6],[13.8,25.6], [13.8,21.95],[12.65,21.95],[12.65,20],[11.4,20],[11.4,7.6],[12.65,7.6],[12.65,5.65...
glb/cad_a268bf65ffa3.glb
Create a DIN rail bracket for a screw terminal block. The main body is a rectangular prism with a width of 3mm, a length of 30mm, and a height of 2.5mm. Center the object on the X and Y axes.
$fn=60; CLIP_H = 10; HOLE_DEPTH = 7; HOLE_DIAMETER = 2.9; module din_clip() { difference() { linear_extrude(height=CLIP_H, center=true, convexity=5) { import(file="din_clip_02.dxf", layer="0", $fn=64); } union() { } } } little_d = 4.5; stor_d = 5.6; module lillcylneg(){ rotate([0,90,0])cylinde...
glb/cad_90fd55630d62.glb
Create a Z-Axis nut holder by starting with a central rectangular block measuring 56mm wide, 34mm deep, and 40mm high. Center this block on the origin and shift it down 3mm along the Z-axis. From this main body, remove a central rectangular slot measuring 28.4mm wide, 90mm deep, and 6.5mm high, positioned 10mm back fro...
difference () { color ("red") rotate ([0,0,0]) translate ([0,0,-3]) cube ([56,34,40],center=true); color ("lime") rotate ([0,0,0]) translate ([0,-10,1]) cube ([28.4,90,6.5],center=true); color ("blue") rotate ([0,0,0]) translate ([0,1,0]) cylinder (r=5, h=80, $fn=96, center=true); color ("black") rotate ([90,0,0]) ...
glb/cad_c6a613b293bd.glb
Create a Z-Axis nut holder by starting with a solid rectangular block measuring 28mm in width, 30mm in depth, and 6mm in height. Center a smaller rectangular cutout through the middle of this block to create a hollow frame. This central opening must be 18mm wide, 13mm deep, and 7.5mm high, ensuring the cutout passes co...
difference () { color ("blue") rotate ([0,0,0]) translate ([0,0,0]) cube ([28,30,6],center=true); color ("red") rotate ([0,0,0]) translate ([0,0,0]) cube ([18,13,7.5],center=true); }
glb/cad_71f77078b29d.glb
Create a group model by constructing a single solid cube with equal dimensions of 3mm for its length, width, and height.
a=12; gloabal3=12; helo=12; cube(3);
glb/cad_cc73518580b5.glb
Create a mini socket handle consisting of a cylindrical base and a cubic top. Start by creating a cylinder with a diameter of 14mm and a height of 15mm. From the center of this cylinder, remove a square prism hole measuring 6.7mm by 6.7mm with a depth of 10.5mm. Additionally, remove four small circular holes, each 1mm ...
{} { quality=0.5; $fa=quality; $fs=quality; shim=0.1; vitamins=1; exploded=0; debug=0; } shim=0.1; female_dimension=[6.7,6.7,10.5]; male_dimension=[9.5,9.5,10]; difference() { union() { difference() { translate([0,0,0]) cylinder(d=14,h=15); translate([-female_dimension[0]/2,-female_dimension[1]...
glb/cad_86df19436d25.glb
Create a mini socket handle consisting of a central square block and a rounded base. Start by creating a central square prism for the tool bit holder with dimensions of 6.4mm by 6.4mm and a height of 8mm. Construct a base that extends from this central block. The base should be 25mm long, 3mm wide, and 10mm thick. Th...
{} { quality=0.5; $fa=quality; $fs=quality; shim=0.1; vitamins=1; exploded=0; debug=0; } male_dimension=[6.4,6.4,8]; handle_dimension=[25,3,10]; handle_cornerradius=2.5; hole_diam=3; difference() { union() { hull() { for(pos=[-(handle_dimension[0]/2)+handle_cornerradius,(handle_dimension[0]/2)-handle_...
glb/cad_d90df95e1311.glb
Create a fan bracket designed to hold a PCB and a fan. Start with a central base plate that is 63mm wide (pcb_width + 2 * bracket_thickness), 3mm thick, and 12mm long. Add a cross-brace to the bottom of this base, centered and measuring 61mm by 10mm with a thickness of 1.5mm. Construct two vertical legs that clip onto...
fan_size = 40; fan_hole_spacing = 32; screw_diameter = 3.25; pcb_width = 60.0; bracket_height = 36; bracket_length = 12; bracket_thickness = 3.0; cross_bracket = 10; lip_size = 1.75; bracket_width = max(pcb_width, fan_size - 4); module legs() { difference() { union() { color([0,0,.5]...
glb/cad_7ebe8ad6f674.glb
Create a motor end standoff consisting of a cylindrical base and a top rod. Start by creating a main cylinder with a diameter of 14mm and a height of 40mm, centered on the Z-axis. On top of this base, add a smaller cylinder with a diameter of 8mm and a height of 10mm, positioned so that it extends from the top of the b...
h_rod = 10; d_rod = 8.0; h_stand = 40; d_stand = 14; $fn=60; module motor_end_standoff() { difference() { union() { translate([0,0,+h_rod/2]) cylinder(d=d_rod, h=h_rod+2,center=true); translate([0,0,-h_stand/2]) cylinder(d=d_stand,h=h_stand,center=true); ...
glb/cad_2d176ce2e2b4.glb
Create a mounting platform for a RepRap Delta Rostock Mini Pro 2 with a total thickness of 8mm. The main body is a central cylinder with a radius of 30mm. To this central cylinder, add three identical rectangular joint extensions spaced 120 degrees apart. Each extension is positioned 32mm from the center to the hinge o...
platform_hinge_offset = 32; platform_thickness = 8; cutout = 12.5; inset = 6; $fn = 48; use <carriage_for_traxxas.scad> h=platform_thickness; module led_ring() { difference() { cylinder(d=80, h=4.5, center=true); cylinder(d=64, h=5, center=true); } } module platform() { transla...
glb/cad_1f8abdc2f73e.glb
Create a mount spacer for a RepRap Delta Rostock Mini Pro 2. Start with a rounded cuboid that is 19mm wide, 10mm deep, and 30mm high, with a corner radius of 3mm. From this main body, remove a vertical cylindrical hole with a diameter of 3mm and a height of 33mm, centered on the X and Y axes. Additionally, remove an el...
$fn=48; include<misc_parts.scad> module mount_spacer() { difference() { round_cuboid(x=19,y=10,z=30,r=3); cylinder(d=3,h=33,center=true); scale([1,1,1.4]) rotate([90,0,0]) cylinder(d=12,h=20,center=true); } } mount_spacer();
glb/cad_0f383e4decc3.glb
Create six identical belt mount components for a RepRap Delta Rostock Mini Pro 2 carriage, spaced 8mm apart along the x-axis. Each component is a rectangular block measuring 4mm in width, 17mm in depth, and 9mm in height, centered on its local x and y axes and shifted 4.5mm upward along the z-axis. From each block, r...
$fn=48; module anti_belt_mount() { translate([0,0,4.5]) difference() { cube([4, 17, 9], center=true); for (x = [-2,+2]) for (z = [-3:2:+3]) translate([x,0,z]) rotate([90,0,0]) cylinder(d=1.0, h=10,center=true); for (y = [-5,+5]) translate([0,y,0]) rotate([0,90,...
glb/cad_264d1ea2eaa5.glb
Create a filament holder consisting of a central rectangular base with integrated cylindrical mounts and holes. Start with a base plate that is 30mm wide, 16mm deep, and 6mm high, centered at the origin. Add two vertical cylindrical pillars to the top of the base: one positioned at x=15mm and one at x=-15mm, both wit...
hF = 18; $fn=48; include <misc_parts.scad> module non_printable_parts() { translate([+5,8.5, hF-8]) rotate([-90,0,0]) bearing(5,16,5); translate([-5, 2,15+2]) rotate([00,0,0]) bearing(5,16,5); translate([0,110,hF+1]) cylinder(d=200,h=2,center=true); } module groundplate(height) { translate([ 0,0,...
glb/cad_d1d852738c95.glb
Create a bowden clamp for a RepRap Delta Rostock Mini Pro 2. Start with a base plate 12mm thick, formed by the intersection of a 58mm by 18mm rectangle and a circle with a 28mm radius, with all corners rounded by a 2mm radius. Center a vertical hole 3.5mm in diameter through the entire thickness of the plate. Around ...
$fn=64; function signum(x) = (x < 0)?-1:(x > 0)?1:0; module bowden_clamp() { difference() { translate([0,0,-0]) linear_extrude(height=12,convexity=30,center=true) difference() { minkowski() { intersection() { square([...
glb/cad_cc455f8dcdce.glb
Create an idler end mount for a RepRap Delta Rostock Mini Pro 2. The part is centered around a main vertical bearing mount hole with a 4mm radius and a total height of 40mm. Construct the main body as a bracket with a total height of 30mm. Integrate a bearing mount consisting of two stacked conical sections: a lower ...
idler_end_height = 30; tilt = -2; include <bracket.scad> include <misc_parts.scad> module bearing_mount() { rotate([90 - tilt, 0, 0]) union() { translate([0, 0, 2.3]) cylinder(r1=12, r2=9, h=1.1, center=true); translate([0, 0, -2.3]) cylinder(r1=9, r2=12, h=1.1, center=true); } } module ...
glb/cad_d36e4920993e.glb
Create a carriage for a RepRap Delta Rostock Mini Pro 2. The main body consists of a series of linear bearing mounts. Create a sequence of linear bearing mounts by placing cylinders with a diameter of 15.2mm and a height of 49mm (the sum of carriage_height 24mm and carriage_extra_height 25mm) spaced 60mm apart along a ...
carriage_height = 24; carriage_extra_height = 25; carriage_hinge_offset = 22.5; belt_mount_offset = 8; width = 76; heightL = carriage_height; heightH = carriage_height + carriage_extra_height; offset = 25; cutout = 13; middle = 2*offset - width/2; $fn=48; module parallel_joints(reinforced) { differen...
glb/cad_3b37855b4ed7.glb
Create a linear drive assembly for a RepRap Delta Rostock Mini Pro 2 consisting of two identical parallel vertical units spaced 60mm apart. Each unit is composed of a central rod, a carriage, and end caps. For each unit, create a central vertical cylinder with a diameter of 8mm and a total length of 500mm. Position a ...
length_rod = 500; height_carriage = 350; use <motor_end_standoff.scad> use <motor_end.scad> use <carriage_for_traxxas.scad> use <idler_end.scad> $fn=24; module drive_with_carriage(lr=length_rod,hc=height_carriage) { r=180; translate([0,0,42]) rotate([0,r,0]) motor_end(); translate([0,0,hc]) rotate(...
glb/cad_a5a12a5c7ba4.glb
Create a 3D geometric sculpture of the nickname "GEB" by intersecting three extruded versions of the letters. First, create a central letter "O" with a size of 10mm, extruded to a height of 20mm and centered on all axes. Second, create the word "CAR" with a size of 3mm, extruded to a height of 20mm, and rotate it 90 de...
font = "Liberation Sans"; module G() offset(0.2) text("BASEJ", size=2, halign="center", valign="center", font = font); module E() offset(0.3) text("CAR", size=3, halign="center", valign="center", font = font); module B() offset(1) text("O", size=10, halign="center", valign="center", font = font); $fn=64; module GEB(...
glb/cad_0288583e780c.glb
Create a T-nut support for a 2020 aluminum extrusion frame. The object is a rectangular block measuring 26.4mm in length, 5.9mm in width, and 3.5mm in height. Centered within this block, create a rectangular cutout that is 13.85mm long, 4.3mm wide, and 2.6mm deep. This cutout should be positioned 4.2mm from the shorter...
module DrawTnutSupport() { translate([0,5.9,3.5]) rotate([180,0,0]) difference() { cube([26.4,5.9,3.5]); translate([4.2,.8,-1]) cube([13.85,4.3,2.6]); } } DrawTnutSupport(); translate([30.55,0,0]) DrawTnutSupport(); translate([0,9.9,0]) DrawTnutSupport(); translate([30.55,9....
glb/cad_77351d57d667.glb
Create a telecentric candle holder by constructing a hollow cylinder with an outer radius of 10mm and a height of 30mm. The cylinder wall should have a thickness of 1mm. At the base of the cylinder, create a centered circular opening with a radius of 3mm that extends 15mm upward, with a smaller internal void of 2.8mm r...
qual=64; ray=10; haut=30; epp=1; txt="LOL"; chartxt=3; taillefont=5; repetH=3; repetcirc=5; difference() { bougoir(); motif(); } module bougoir() { difference() { cylinder(h=haut,r=ray,$fn=qual); translate([0,0,epp]) cylinder(h=haut,r=ray-epp,$fn=qual); } difference() { ...
glb/cad_1ccfe17f4225.glb
Create a parametric aperture fan grill. Start with a square base measuring 80mm by 80mm with a thickness of 2mm. Round the four corners of this square with a radius of 4mm. Cut a large circular hole through the center of the base with a radius of 35mm. Additionally, create four smaller circular screw holes with a rad...
size=80; borderthickness=5; cornerradius=4; thickness=2; screwradius=2.3; screwinset=4; spines=10; spinesize=2; spineoffset=10; spinerotation=0; dxf=false; holeradius=size/2-borderthickness; if (dxf) projection(cut=false) fan_grill(); else fan_grill(); module fan_grill() { union() { difference() { ...
glb/cad_a9a55aacde67.glb
Create a Prusa Sanguinololu Fan Mount by constructing a base shape from three joined rectangular blocks. Start with a central block measuring 10mm by 5mm by 20mm. Attach a second block of 10mm by 15mm by 5mm to the side, and a third block measuring 10mm by 35mm by 5mm extending from the top. Remove material to create...
rotate([0,-90,0]) fan_mount(); module fan_mount() { difference() { union() { cube(size=[10,15,5]); translate([0,0,0]) cube(size=[10,5,20]); translate([0,0,20]) cube(size=[10,35,5]); } translate([5,10,-2]) cylinder(r=1.8,h=10); translate([5,10,18]) cylinder(r=3.2,h=10); translate([5-(4.4/...
glb/cad_a437d1891402.glb
Create a Parametric Bracket consisting of a flat base and a vertical mounting arm connected by triangular supports. Start with a rectangular base plate that is 15.15mm long, 2.5mm thick, and 2.5mm deep. On the underside of this base, create two circular holes with a diameter of 3.3mm. These holes should be positioned...
slotConfig = 3; baseDepth = 2.5; baseDiameter = 3.3; baseAllowance = 2; baseDistance = 4; baseSlot = false; slotDepth = 2.5; vSlotLength = 8; hSlotLength = 8; slotDiameter = 3.65; slotAllowance = 3; slotHeight = 2.3; supportWidth = 2.5; bracketMirror = false; baseLength = [2*supportWidth+2*slotAllowance+s...
glb/cad_c6bb03e80fd2.glb
Create a coffee measure spoon consisting of a cylindrical scoop and a flat handle. Start by creating a cylinder for the scoop with a radius of approximately 15.5mm and a height of 25mm. Hollow out the center of this cylinder to create a basin, leaving a wall thickness of about 1.5mm at the bottom and sides. Extend a ...
volume_spoon_mm3=20000; l = 150; r = pow((volume_spoon_mm3/(3.14159*1.618*2)),(1/3)); h = r*1.618*2; s=h/10; Spoon(); module Spoon(){ difference(){ union(){ cylinder(h,r+s-s/2,r+s+s/2); union(){ hull(){ cylinder(s,r/2+s,r/2+s); translate([l,0,0])cylinder(s,r/2+s,r/2+s); } rotate([90,0,0]){ ...
glb/cad_7b1a5126e0cc.glb
Create a USB connector holder consisting of a main base and a mounting peg. Start by creating a rectangular base with dimensions 20mm wide, 23mm deep, and 10mm high. Apply a 1mm fillet to the vertical edges and a 3mm fillet to the bottom edges. Centered on top of this base, add a rectangular mounting peg measuring 13...
CUBE_SIZE = [20, 23, 10]; PEG_SIZE = [13.1, 9.8, 3.2]; USB_SIZE = [10.9, 7.7]; module parameters_stop(){} DELTA = 0.01; X = 0; Y = 1; Z = 2; REAL_USB = [USB_SIZE[0], USB_SIZE[1], CUBE_SIZE[Z] + PEG_SIZE[Z] + DELTA * 2]; $fn = 100; function bit_get(num, bitpos) = floor(num / pow(2, bitpos)) % 2; module rounded...
glb/cad_3c6c9bcdb74d.glb
Create a set of Useful Hooks by constructing a series of identical link elements. Each link is based on a rounded rectangular slab with a total length of 10mm, a width of 2mm, and a height of 4mm. The main body of the link consists of a central rectangular section 6mm long and 2mm wide, capped at both ends by semi-cyli...
hook(21,0); hook(21,12); hook(21,-12); hook(21,24); hook(21,-24); hook(-21,0); hook(-21,12); hook(-21,-12); hook(-21,24); hook(-21,-24); module hook(xpos, ypos) { difference() { bean(xpos,ypos,1,10,40,2,30); union(){ bean(xpos,ypos,1,4,10,4,12); bean(xpos-12,ypos,1,4,10,4,12); bean(xpos+12,ypos,1,4,10,4...
glb/cad_a86537added9.glb
Create a Central Filament Guide consisting of two identical, interlocking hook-shaped arms arranged in a cross pattern. Each arm is formed by a central rectangular block 10mm long, 2mm wide, and 4mm high, with semi-circular caps of a 1mm radius on both ends, creating a rounded "bean" shape. From each of these bean-sh...
difference() { union(){ hook(0,0); rotate([0,0,90]) hook(0,0); } translate([0,0,-1]) cylinder(h=4, r1=3, r2=3, $fn = 60); rotate([0,0,45]) translate([0,-1,-1]) cube([10,2,4]); } module hook(xpos, ypos) { difference() { bean(xpos,ypos,1,10,40,2,30); union(){ bean(xpos-12,ypos,1,4,10,4,12); bean(xpos...
glb/cad_874df85b991a.glb
Create a personalized keyring featuring the text "Alexander" in the Chewy font. Each letter of the text should be 25mm in size and extruded with a slight -5 degree twist. The letters are arranged linearly with a spacing of 10mm between them, but each letter has a varying extrusion height to create a wave-like effect: t...
Font_name = "Chewy"; Text = "Alexander"; Rotation = 50; letter_1_height = 6; letter_1_space = 10; letter_2_height = 5; letter_2_space = 9; letter_3_height = 4; letter_3_space = 10; letter_4_height = 6; letter_4_space = 10.5; letter_5_height = 4; letter_5_space = 10.5; letter_6_height = 5; letter_6_space = 10.6;...
glb/cad_85591697bc78.glb
Create a magic illusion turntable consisting of a circular platform and a central hub. Start by creating a wide, flat circular base with a radius of 47mm and a thickness of 2mm. On top of this base, center a smaller solid cylinder with a radius of 20mm and a height of 7mm. To prepare the assembly for hardware, remove...
difference(){ union(){ cylinder(2,47,47,$fn=130); cylinder(7,20,20,$fn=130); } translate([0,0,-1]) cylinder(10,1.5,1.5,$fn=130); rotate([90,0,0]) translate([0,4.5,-47]) cylinder(94,1.7,1.7,$fn=130); translate([-3,10,1]) cube([6,3,8]); translate([-3,-13,1]) cube([6,3,8]); }
glb/cad_fdf6616b9a19.glb
Create a Magic Illusion Turntable base by starting with a rectangular block measuring 120mm in length, 100mm in width, and 30mm in height. Carve a large circular opening into the top surface with a diameter of 94mm and a depth of 27mm. Within this circular area, remove a central cylinder with a diameter of 8mm and a ...
difference(){ union(){ cube([120,100,30]); } translate([50,50,-1]) cylinder(32,6,6,$fn=130); translate([45,44,19]) cube([10,12,12]); translate([50,50,27]) cylinder(4,47,47,$fn=130); translate([15,25,2]) cube([27,53,30]); translate([45,74,15]) cube([20,7,16]); translate([20,25,2]) cube([30,2,40]); translate([20,76...
glb/cad_5370cdb38e31.glb
Create an 80mm fan grille with a total height of 4mm. Start with a square outer frame measuring 82mm by 82mm and 4mm thick. Round the four corners of this square using a radius of 56mm. At each corner of the frame, center a circular screw hole with a diameter of 4.5mm, positioned 36mm from the center of the model along...
hole_spacing = 72; hole_size = 4.5; outer_size = 82; corner_cut_radius = 56; outer_circle_diameter = 80; inner_circle_diameter = 30; outer_thickness = 4; inner_thickness = 3; vane_count = 7; vane_width = 2; ring_count = 2; ring_width = 2; vane_angle = 360 / vane_count; ring_spacing = (outer_circle_diameter - inner_c...
glb/cad_b908cd73f636.glb
Create a protective connector cover by constructing a hollowed-out rectangular block with rounded corners. First, create the main outer body with a width of 10.4mm, a length of 17.2mm, and a total height of 11.6mm. The vertical edges of this body should have a corner radius of 1.8mm. Inside this body, carve out a cen...
wall_thickness=1.6; base_thickness=1.6; cavity_extra_width = 0.4; cavity_extra_length = 1.0; cavity_extra_depth = 0.0; cavity_corner_radius = 0.2; cavity_width = 7 + cavity_extra_width; cavity_length = 13 + cavity_extra_length; cavity_depth = 10 + cavity_extra_depth; external_width = cavity_width + 2*wall_thic...
glb/cad_3d3541ba99fa.glb
Create a 3D model consisting of two separate spheres with a low-polygon, faceted finish. The first sphere should have a radius of 10mm and be constructed using 24 facets. Position a second, smaller sphere with a radius of 5mm and 24 facets alongside it. Ensure both spheres are centered on the same horizontal axis, with...
r1 = 10; r2 = 5; f = 20; d = 2; sq = (1 + d) * r1 + (1 + d) * r2; module RE(angle=0, convexity=2) { blank = 1000000; rotate([0, -90, 0]) rotate_extrude(angle=angle) rotate([0, 180, 90]) difference() { children(); translate([0, -blank/2, 0]) square(b...
glb/cad_8e68534fa5fa.glb
Create a drone frame called the AnisopterH8. Start by constructing four identical motor housings. Each housing is a complex cylinder assembly: a central cylinder with a diameter of 14.45mm and a height of 12mm, featuring a 6.375mm diameter hole through the center and a 8.5mm diameter cylinder extending from the top. Ea...
lenX = 28.5; lenY = 28.5; motD = 8.5; dX = 0; thick = 4.5; q = 10; housingh = 12; lenL = sqrt((lenX-dX)*(lenX-dX)+lenY*lenY); armL = lenL-motD/2; angl = acos((lenX-dX)/lenL); echo(angl); module profile(sz) translate([0,0, sz]) rotate([0, 90, 0]) { hull() { translate([ 0,0,0...
glb/cad_4b89e30b0215.glb
Create a drone frame called the AnisopterH8. The structure is based on a central hub with four symmetrical arms extending outwards. At the end of each arm, create a motor housing. Each housing is a composite shape: a central cylinder with a diameter of 14.45mm and a height of 12mm, which contains a hollow center of 6...
lenX = 28.5; lenY = 28.5; motD = 8.5; dX = 0; thick = 4.5; q = 10; housingh = 12; lenL = sqrt((lenX-dX)*(lenX-dX)+lenY*lenY); armL = lenL-motD/2; angl = acos((lenX-dX)/lenL); echo(angl); module profile(sz) translate([0,0, sz]) rotate([0, 90, 0]) { hull() { translate([ 0,0,0...
glb/cad_99ed317cdf82.glb
Create a drone frame called the AnisopterH8. The structure is a symmetrical X-shape with four arms extending from a central hub. Each arm terminates in a motor housing, which is a cylinder with a diameter of 12.05mm (1.45 times the motor diameter of 8.5mm) and a height of 10mm. The motor housing features a central hol...
lenX = 28.5; lenY = 28.5; motD = 8.5; dX = 0; thick = 3.0; q = 10; housingh = 10; lenL = sqrt((lenX-dX)*(lenX-dX)+lenY*lenY); armL = lenL-motD/2; angl = acos((lenX-dX)/lenL); echo(angl); module profile(sz) translate([0,0, sz]) rotate([0, 90, 0]) { hull() { translate([ 0,0,0...
glb/cad_a9052d97a5a5.glb
Create a drone frame called the AnisopterH8. The structure is based on a central body with four radiating arms. First, construct the motor housings at the end of each arm. Each housing is a cylinder with a diameter of 12.75mm (1.55 times the motor diameter of 8.5mm) and a height of 12mm. These cylinders are hollowed ...
lenX = 28.5; lenY = 28.5; motD = 8.5; dX = 0; thick = 3.5; q = 10; housingh = 12; lenL = sqrt((lenX-dX)*(lenX-dX)+lenY*lenY); armL = lenL-motD/2; angl = acos((lenX-dX)/lenL); echo(angl); module profile(sz) translate([0,0, sz]) rotate([0, 90, 0]) { hull() { translate([ 0,0,0...
glb/cad_855efbcf0fed.glb
Create a drone frame called the AnisopterH8. The structure is based on a central body with four radiating arms. First, create four motor housings. Each housing is a cylinder with a diameter of 12.75mm (1.55 times the motor diameter of 8.5mm) and a height of 12mm. These cylinders are hollowed out by a central hole wit...
lenX = 28.5; lenY = 28.5; motD = 8.5; dX = 0; thick = 3.5; q = 10; housingh = 12; lenL = sqrt((lenX-dX)*(lenX-dX)+lenY*lenY); armL = lenL-motD/2; angl = acos((lenX-dX)/lenL); echo(angl); module profile(sz) translate([0,0, sz]) rotate([0, 90, 0]) { hull() { translate([ 0,0,0...
glb/cad_ef0b7c2fe715.glb
Create a 3D model of the AnisopterH8 drone frame. The core structure consists of four motor housings arranged symmetrically around a central axis. Each motor housing is constructed by taking a cylinder with a diameter of 14.45mm and a height of 12mm, and removing a central vertical cylinder of 6.375mm diameter and a la...
lenX = 28.5; lenY = 28.5; motD = 8.5; dX = 0; thick = 4.5; q = 10; housingh = 12; lenL = sqrt((lenX-dX)*(lenX-dX)+lenY*lenY); armL = lenL-motD/2; angl = acos((lenX-dX)/lenL); echo(angl); module profile(sz) translate([0,0, sz]) rotate([0, 90, 0]) { hull() { translate([ 0,0,0...
glb/cad_fc00e7bd408f.glb
Create a parametric pulley designed for a motor shaft. Start by creating a cylindrical base with a diameter of 20mm and a height of 8mm. Centered on this base, add a toothed cylinder with a height of 12mm and an outside diameter of 11.88mm, featuring 8 teeth. The teeth should follow a T5 profile, where each tooth is de...
teeth = 8; profile = 6; motor_shaft = 5.2; m3_dia = 3.2; m3_nut_hex = 1; m3_nut_flats = 5.7; m3_nut_depth = 2.7; retainer = 0; retainer_ht = 1.5; idler = 0; idler_ht = 1.5; pulley_t_ht = 12; pulley_b_ht = 8; pulley_b_dia = 20; no_of_nuts = 1; nut_angle = 90; nut_shaft_distance = 1.2; additional_tooth_width = 0.2; ...
glb/cad_f18146f9d92f.glb
Create a customizable nametag by starting with a solid rectangular base that is 150mm long, 35mm wide, and 5mm deep. Using the Arial font at a size of 25mm, carve the word "Name" into the top surface of the base. The letters should be recessed to a depth of 2.5mm. Position the text so that it begins 1mm from the left e...
Text="Name"; Font="Arial"; depth=5; length=25*len(Text); text_size=25; width=35; text_depth=depth/2; $fn=100; difference(){ cube([length,width,depth]); translate([length/25,width/9,text_depth]) linear_extrude(text_depth) text(Text,text_size,font); }
glb/cad_f95058f82d54.glb
Create a cold cathode light mounting kit consisting of four light clips, a power supply holder, and a switch mount. For the light clips, create a cylinder with a height of 8mm and an outer radius of 7.5mm. Remove a central cylindrical core with a radius of 5.5mm and a height of 10mm. Cut two rectangular notches into ...
use <inc/cubeX.scad> $fn=50; diameter = 11; screw3t = 2.6; screw5 = 5.7; screw5hd = 11.; tbox_w = 34; tbox_h = 23.5; switch_width = 9.5; switch_height = 5; switch_screws = 19; Lmount(); translate([25,0,0]) Lmount(); translate([0,20,0]) Lmount(); translate([25,20,0]) Lmount(); translate([40,-7,0]) trans_mount(); tran...
glb/cad_9ef0d43eda4c.glb
Create a Nintendo 3DSXL L/R-Button Extension for the right shoulder button. Start with a main rectangular base measuring 22mm wide, 4mm thick, and 8mm high. Extend this base by adding a 4mm by 4mm square block at the outer edge, then extend further with a rectangular trigger section that is 18mm wide and 4mm thick, pos...
triggerZ=0; triggerY=30; triggerWidth=18; triggerXoffset=20; offset=triggerXoffset/10; snapFit=1; pegShape=1; side=1; pSize=350; pegSize=pSize/100; pDepth=400; pegDepth=pDepth/100; pGap=125; pegGap=pGap/100; pLip=50; pegLip=pLip/100; pWidth=22; pThickness=4; pHeight=8; height=10; if (side==1){ snap();exten...
glb/cad_98c26deb602b.glb
Create a Rod Stop by constructing a thick hollow cylinder with a height of 6mm, an outer radius of 7.25mm, and an inner radius of 4.25mm. Use a facet resolution of 30 sides for the circular geometry. Bore a transverse hole completely through the center of the cylinder's wall to accommodate a screw; this hole should hav...
$fn = 30; screw_radius = 1.5; inner_radius = 4.25; outer_radius = 7.25; part_height = 6; module ring(inner_radius,outer_radius) { difference() { cylinder(r=outer_radius, h=part_height); cylinder(r=inner_radius, h=part_height); } } module screw_collar() { difference() { ring(inner_...
glb/cad_8187d408556d.glb
Create a hose end for inflating a paddle board by constructing a hollow cylinder with an outer diameter of 18mm, an inner diameter of 12mm, and a total height of 16mm, centered on the origin. Remove a rectangular slot from the center of the cylinder walls that is 18mm wide, 6mm high, and 6mm deep, and remove a second r...
od=18; id=12; d=6; h=7; t=16; $fn=100; union (){ difference(){ cylinder(h=t,r=od/2,center=true); cylinder(h=t+1, r=id/2, center=true); translate([0,0,t/8])cube([od+1,od/3,h+d], center=true); translate([0,0,-1])rotate([0,0,45])cube([od+1,od/1.5,h], center=true); } difference(){ translate([0,0,-t])cylinder...
glb/cad_4c73c9834cb2.glb
Create a bearing retainer plate with a total thickness of 3mm. The main body is a rectangular plate measuring 29mm in length and 20.25mm in width. At each of the four corners, create a cylindrical pillar with an outer diameter of 9.4mm and a height of 3mm; each pillar must have a concentric vertical hole passing throug...
$fn=100; module verticalTube(ir, thickness, height) { difference() { cylinder(h=height, r=ir+thickness); translate([0,0,-1.0]) cylinder(h=height+2.0, r=ir); } } m3_clearance_r = 3.2/2; bearing_hole_r = 12/2; wall = 3; bwall = 4.5; thickness = 3; y_hole_distance = 20.25; x_hole_distance = 29; module bar() { ...
glb/cad_a88d51edbe36.glb
Create a Wii U sensor bar holder with a total width of 60mm and a height of 90mm. The structure consists of a flat rectangular base and a vertical support that angles slightly to hold a sensor bar. Construct the base as a flat plate 60mm wide. From this base, extend a vertical support upward. The support should featur...
holder_wid = 60; zheight = 90; wire_d = 3 /2; OUTPUT = 0; wii_z = 9.7; wii_y = 24; wii_len = 200; corner_d = 1.75 /2; sensclipwid = 2; sensclipspacing = 5; senswireoffset = 6.5; senswire_z = 5.75; trimwireconn = 1; if (OUTPUT == 0) { stand(); } if (OUTPUT == 1) { translate([zheight /2, 0, ...
glb/cad_373bea7e12da.glb
Create a hollow triangular pyramid with a height of 30mm. The base should be an equilateral triangle with a radius of 15mm. To create the hollow interior, remove a smaller concentric triangular pyramid from the center with a height of 27mm and a base radius of 13mm, leaving a wall thickness of 2mm at the base. Finally,...
difference(){ cylinder(h=30,r1=15,r2=0,$fn=3); cylinder(h=27,r1=13,r2=0,$fn=3); } translate([0,0,29]) sphere(2,$fn=300);
glb/cad_85998abfc8a1.glb
Create a hollow triangular prism with a height of 27mm. The outer boundary should be a right triangular prism with a radius of 15mm and 3 sides. To create the interior cavity, remove a smaller concentric triangular prism from the center with a radius of 13mm and a height of 25.5mm, positioned 2mm from the base so that ...
difference(){ cylinder(h=27,r1=15,r2=15,$fn=3); translate([0,0,2]) cylinder(h=25.5,r1=13,r2=13,$fn=3); }
glb/cad_de433bb4a410.glb
Create a hollowed-out elliptical cylinder. Start by creating a solid elliptical cylinder with a height of 27mm, where the base is an ellipse scaled to be 3 times wider along one axis than the other, based on a radius of 15mm. From this solid shape, remove a smaller concentric elliptical cylinder from the center to crea...
scale([3,1,1]) difference(){ cylinder(h=27,r1=15,r2=15,$fn=300); translate([0,0,2]) cylinder(h=25.5,r1=13,r2=13,$fn=300); }
glb/cad_bb4437925e18.glb
Create a hollow square pyramid with a height of 30mm and a base width of 30mm. The pyramid should have a wall thickness of 2mm, created by removing a smaller square pyramid from the center that has a height of 27mm and a base width of 26mm. The base of the pyramid should remain open. Finally, place a sphere with a radi...
difference(){ cylinder(h=30,r1=15,r2=0,$fn=4); cylinder(h=27,r1=13,r2=0,$fn=4); } translate([0,0,29]) sphere(2,$fn=300);
glb/cad_54b01ff76d36.glb
Create a hollow square prism with an outer height of 27mm and a base width of 30mm. The outer walls should be formed by a four-sided regular polygonal prism with a radius of 15mm. To create the interior cavity, remove a smaller four-sided regular polygonal prism from the center with a radius of 13mm and a height of 25....
difference(){ cylinder(h=27,r1=15,r2=15,$fn=4); translate([0,0,2]) cylinder(h=25.5,r1=13,r2=13,$fn=4); }
glb/cad_d5f7844c494d.glb
Create a hollow pentagonal pyramid with a total height of 30mm. The outer shell should be a five-sided prism that tapers to a point, with a base radius of 15mm. To create the hollow interior, remove a smaller five-sided tapered volume from the center with a base radius of 13mm and a height of 27mm, leaving a 2mm thick ...
difference(){ cylinder(h=30,r1=15,r2=0,$fn=5); cylinder(h=27,r1=13,r2=0,$fn=5); } translate([0,0,29]) sphere(2,$fn=300);
glb/cad_f4e3865a8aad.glb
Create a pentagonal prism with a height of 27mm and a radius of 15mm. The prism should be hollowed out to create a container. To do this, remove a smaller pentagonal prism from the center with a radius of 13mm and a height of 25.5mm. This inner prism should be positioned 2mm from the base of the outer prism, leaving a ...
difference(){ cylinder(h=27,r1=15,r2=15,$fn=5); translate([0,0,2]) cylinder(h=25.5,r1=13,r2=13,$fn=5); }
glb/cad_327efc756ca3.glb
Create a hexagonal pyramid with a total height of 30mm and a base radius of 15mm. The pyramid should be hollowed out by removing a smaller hexagonal pyramid from its center, which has a base radius of 13mm and a height of 27mm, leaving a wall thickness of 2mm at the base. Finally, place a sphere with a radius of 2mm ce...
difference(){ cylinder(h=30,r1=15,r2=0,$fn=6); cylinder(h=27,r1=13,r2=0,$fn=6); } translate([0,0,29]) sphere(2,$fn=300);
glb/cad_78885ccb1d37.glb
Create a hexagonal prism with a height of 27mm and a radius of 15mm. Hollow out the center of the prism by removing a smaller hexagonal prism from the inside, starting 2mm from the base. This interior cutout should have a height of 25.5mm and a radius of 13mm, leaving a 2mm thick floor at the bottom and walls that are ...
difference(){ cylinder(h=27,r1=15,r2=15,$fn=6); translate([0,0,2]) cylinder(h=25.5,r1=13,r2=13,$fn=6); }
glb/cad_fa1731298896.glb
Create a radio mounting bracket with a base plate and two vertical side walls. The base plate is 148mm wide, 86.5mm long, and 3mm thick. The two side walls extend upwards from the base to a height of 57mm, each with a thickness of 3mm. In the base plate, create four rounded slot holes, each 30mm long and 5.5mm wide (2...
radio_width = 144; radio_height = 38; radio_length = 122; bracket_height = 57; bracket_length = 86.5; bracket_extra_width = 1; bracket_wide_hole_length = 30; bracket_tilt_angle = 30; bracket_thickness = 3; radio_fan_depth = 27; radio_screw_spacing = 50; radio_screw_radius = 2.75; include <MCAD/boxes.scad> $...
glb/cad_ff567395aa39.glb
Create a custom stencil plate by starting with a base rectangular slab. The slab should have a thickness of 4.5mm and rounded corners with a radius of 3mm. The overall width is determined by the longest line of text multiplied by 7mm, plus a 12mm border on each side. The height of the slab is 18mm, divided into three e...
line1="MAKE"; line2="IT"; line3="YOURS!"; border=12; difference() { $fn=32; minkowski() { union(){ cube([max(len(line1),len(line2),len(line3))*7+border,15,0.75], center=true); if(line2||line3) { translate([0,-15,0]) cube([max(len(line1),len(line2),len(line3))*7+b...
glb/cad_0ff85bca5c23.glb
Create a pen holder consisting of six hexagonal tubes arranged in a 3x2 grid. Each tube is a six-sided hexagonal prism with an outer radius of 18mm and an inner hollow radius of 11mm, leaving a wall thickness of 2mm. The tubes vary in height between 30mm and 70mm. Position the tubes in three columns and two rows. In t...
x_count = 3; y_count = 2; random_seed = 1; min_height = 30; max_height = 70; radius = 13; thickness = 2; base_extra = 5; difference() { for ( x = [0:(x_count - 1)]) for( y = [0:(y_count - 1)]) { zy = (x % 2) * radius * 0.8645; translate([x * radius * 1.489, y * radius * 1.729 + zy, 1]) ...
glb/cad_4aae8f31fac0.glb
Create a Qi Wireless Charger Cradle designed to hold a charger and a phone at a 70-degree tilt. Start by creating a main body with a total width of 76mm (the 70mm charger diameter plus 3mm walls on each side). The profile is a tilted wedge that supports a phone with a thickness of 12mm. Cut a central circular hole ...
QiDiameter = 70; QiThickness = 10; USBWidth = 11; PhoneHeight = 140; PhoneThickness = 12; WallThickness = 3; Tilt = 70; $fa = 6; $fs = 0.5; module Side_Profile() { p2x = 0.25*QiDiameter + 0.5*PhoneHeight; p4x = p2x + WallThickness; p3x = p2x+1.5*cos(Tilt)+1.5; p3y = PhoneThickness+1.5*sin(Tilt); temp1 = (P...
glb/cad_a22caa72a077.glb
Create a blade generator for a sandpaper handler by constructing an ortho-style blade. Start with a central rectangular block that is 50mm wide, 10mm deep, and 10mm high. Position a second rectangular block centered on the first, with a width of 50mm, a thickness of 10mm, and a total height of 40mm, extending it vertic...
BladeLength = 10; BladeRadius = 16; BladeHeight = 40; Hollow = 1; EndType=5; module MakeBlade() { if (EndType==1) rotate([90,0,0]) union() { cube([10,50,BladeLength]); translate([5,0,BladeLength]) rotate([-90,0,0]) cylinder(h=50,r=5,$fn=100); ...
glb/cad_716078e7fa53.glb
Create a TubingHook bracket designed to hold vacuum parts. Start with a rectangular base block measuring 55mm wide, 6mm thick, and 87.5mm long. At the center of the base, create a cutout to accommodate a pipe. This cutout consists of two cylinders with a 35mm diameter, spaced 70mm apart along the length of the block,...
WhatToPrint = "b2" ; wid = 55; pipeDiam = 35; collarDiam = 44; th = 6; module bracket2 (len=80) { p=[[0,0],[40,0],[40,wid],[42,wid+4],[34,wid+2],[34,wid],[34,th],[0,th]]; difference () { union () { translate ([0,0,-len/4]) cube ([wid, th, 1.25*len]); translate ([wid/2,0,wid]) r...
glb/cad_616fc3236848.glb
Create a running activity visualization bead by starting with a sphere of 17.33mm diameter. Scale this sphere along the Z-axis by a factor of 0.699 to create a prolate spheroid. Through the center of this shape along the Z-axis, create a vertical cylindrical hole with a diameter of 3mm. To ensure the bead is printabl...
RunningDistance=5; RunningDuration=25; CutAway=0.5; HoleDiameter=3; ScaleFactor=1; $fn = 100; AverageSpeed = RunningDistance / RunningDuration * 60; Resolution = ln(AverageSpeed*AverageSpeed*AverageSpeed)*2.5; BeadDiameter = log(RunningDuration)*10; SkewFactor = log(RunningDistance) ; echo ("RunningDistance=", R...
glb/cad_4e407375c0f1.glb
Create a Compass Rose Map Stencil with a total thickness of 0.5mm. The main body is a semi-circular shape formed by a cylinder with a 36mm radius and a rectangular block measuring 72mm by 36mm, joined together. Cut the following slots into the body to create the stencil patterns: 1. A series of radial slots for the co...
module parametric_star(N=5, h=3, ri=15, re=30) { module tipstar(n) { i1 = [ri*cos(-360*n/N+360/(N*2)), ri*sin(-360*n/N+360/(N*2))]; e1 = [re*cos(-360*n/N), re*sin(-360*n/N)]; i2 = [ri*cos(-360*(n+1)/N+360/(N*2)), ri*sin(-360*(n+1)/N+360/(N*2))]; polygon([ i1, e1, i2]); } linear_extrude(heigh...
glb/cad_1ec3da432d35.glb
Create a vacuum cleaner nozzle consisting of a flat base and a cylindrical connector. Start by creating a rectangular base that is 150mm long, 20mm wide, and 5mm thick. On top of this base, centered along the length, construct a main body that transitions from a wide, flat rectangular profile at the rear to a narrower ...
module a(r){ hull(){ translate([0,0,10]) sphere(r=r,$fn=60); translate([0,20,10]) sphere(r=r,$fn=60); translate([60,25,10]) sphere(r=r,$fn=60); translate([60,-5,10]) sphere(r=r,$fn=60); translate([120,0,10]) sphere(r=r,$fn=60); translate([120,20,10]) sphere(r=r,$fn=6...
glb/cad_98fa025ec644.glb
Create a Functional SCUBA Low Pressure Demand Regulator consisting of a main valve block and backplate. Start with a circular base plate with a radius of 43mm and a thickness of 3mm. On this base, add a cylindrical chamber with a radius of 17mm and a height of 15mm, positioned at coordinates [0, -25, 3]. Integrate ...
difference(){ union(){ translate([0,0,0]) cylinder(r=43, h=3); hull(){ translate([-5,20,0]) cylinder(r=15, h=30); translate([5,20,0]) cylinder(r=15, h=30); } translate([0,-25,3]) cylinder(r=17, h=15); } union(){ hull(){ translate([-5,20,]) cylinder(r=12, h=30); translate([5,20,0]) cylinder(r...
glb/cad_3c026129b5db.glb
Create a Functional SCUBA Low Pressure Demand Regulator consisting of a main valve block and an actuator arm. Start by creating the main valve block as a cylinder with a radius of 43mm and a height of 30mm. Hollow out the center with a smaller cylinder of 38mm radius and 30mm height, starting 5mm from the base. In th...
difference(){ union(){ difference(){ union(){ translate([0,0,0]) cylinder(r=43, h=30); rotate([90,0,0]) translate([0,-60,-60 ]) union(){ translate([10,60,0])cube([40,7,4]); translate([45,60,0])cube([7,7,10]); #translate([45,63.5,7])rotate([0,90,0])cylinder(r=2, h=15); } } union...
glb/cad_85ea8885bbea.glb
Create a Functional SCUBA Low Pressure Demand Regulator valve block. Start by creating a main cylindrical body with a radius of 50mm and a height of 15mm. Hollow out the center of this body by removing a cylinder with a radius of 45mm and a height of 30mm, starting from a height of 5mm. Additionally, remove a smaller...
union(){ difference(){ union(){ translate([0,0,0]) cylinder(r=50, h=15); } union(){ translate([0,0,5]) cylinder(r=45, h=30); translate([0,0,0]) cylinder(r=20, h=30); translate([-20,35,0]) cube([40,3,6]); translate([-20,28,0]) cube([40,3,6]); translate([-20,-35,0]) cube([40,3,6]); translate(...
glb/cad_25dc5c87aaa0.glb
Create a pusher disc for a scuba regulator. Construct a thin, flat cylinder with a radius of 33mm and a height of 2mm.
translate([0,0,0]) cylinder(r=33, h=2);
glb/cad_72dd677e9bd0.glb
Create a Functional SCUBA Low Pressure Demand Regulator backplate. Start with a main circular base with a radius of 43mm and a thickness of 3mm. On top of this base, add a central mouthpiece housing formed by two cylinders with a radius of 7.5mm and a height of 20mm, positioned at x=-5, y=20 and x=5, y=20 respectively....
difference(){ union(){ translate([0,0,0]) cylinder(r=43, h=3); hull(){ translate([-5,20,0]) cylinder(r=7.5, h=20); translate([5,20,0]) cylinder(r=7.5, h=20); } for(a=6) for (i=[1:a]) rotate([0,0,360/a*i]) translate ([-0.25,43,0]) cylinder(r=6,h=3); } union(){ hull(){ translate([-5,20,0]) cy...
glb/cad_b35e4f5c26e5.glb
Create a Functional SCUBA Low Pressure Demand Regulator consisting of a main valve block and an activator arm. Start with the main body as a cylinder with a radius of 43mm and a height of 30mm. Hollow out the center with a smaller cylinder of radius 38mm and height 30mm. Around the outer perimeter of the top face, pl...
difference(){ union(){ difference(){ union(){ translate([0,0,0]) cylinder(r=43, h=30); for(a=6) for (i=[1:a]) rotate([0,0,360/a*i]) translate ([-0.25,43,0]) cylinder(r=6,h=30); rotate([90,0,0]) translate([0,-60,-60 ]) union(){ translate([10,60,0])cube([40,7,4]); translate([45,60,0])...
glb/cad_25c05a793f20.glb
Create a Functional SCUBA Low Pressure Demand Regulator valve block. Start by creating a main cylindrical body with a radius of 52mm and a height of 15mm. From this body, remove a central cylindrical core with a radius of 20mm and a height of 30mm. Additionally, remove a larger concentric cylinder with a radius of 47...
union(){ difference(){ union(){ translate([0,0,0]) cylinder(r=52, h=15); } union(){ translate([0,0,5]) cylinder(r=47, h=30); translate([0,0,0]) cylinder(r=20, h=30); translate([-20,35,0]) cube([40,3,6]); translate([-20,28,0]) cube([40,3,6]); translate([-20,-35,0]) cube([40,3,6]); translate(...
glb/cad_469266e9557d.glb
Create a valve activator arm for a demand regulator. Start with a base rectangular block measuring 40mm in length, 7mm in height, and 4mm in width, positioned from x=10 to x=50 and y=60 to y=67. Attach a second rectangular block to the end, measuring 17mm in length, 7mm in height, and 10mm in width, extending from x=35...
difference(){ union(){ translate([10,60,0])cube([40,7,4]); translate([35,60,0])cube([17,7,10]); } union(){ #translate([30,63.5,7])rotate([0,90,0])cylinder(r=2, h=25); translate([40,60,4])cube([3,7,10]); #translate([50,157.5,2])rotate([90,0,0])cylinder(r=1.5, h=145); } }
glb/cad_b222493ee0d8.glb
Create a Functional SCUBA Low Pressure Demand Regulator valve block. Start with a main cylindrical body with a radius of 43mm and a height of 30mm. Hollow out the center of this body with a cylinder of radius 38mm and a height of 30mm, starting 5mm from the base. Around the outer perimeter of the top face, add six eve...
difference(){ union(){ difference(){ union(){ translate([0,0,0]) cylinder(r=43, h=30); for(a=6) for (i=[1:a]) rotate([0,0,360/a*i]) translate ([-0.25,43,0]) cylinder(r=6,h=30); union(){ } } union(){ translate([0,0,5]) cylinder(r=38, h=30); hull(){ translate([-5,20,0...
glb/cad_b12145c5bd6b.glb
Create a Functional SCUBA Low Pressure Demand Regulator body. Start with a main cylindrical body with a radius of 43mm and a height of 30mm. Hollow out the center with a cylinder of radius 38mm, starting 5mm from the base. Around the outer perimeter of the top face, place six assembly screw holes with a radius of 2mm...
difference(){ union(){ difference(){ union(){ translate([0,0,0]) cylinder(r=43, h=30); for(a=6) for (i=[1:a]) rotate([0,0,360/a*i]) translate ([-0.25,43,0]) cylinder(r=6,h=30); union(){ } } union(){ translate([0,0,5]) cylinder(r=38, h=30); hull(){ translate([-5,20,0...
glb/cad_564adf2a3de0.glb
Create a DIY Pico LED Light Body by constructing a flat base with a total height of 2.5mm. Form the main body by creating a hull that connects two cylinders, each with a radius of 6.25mm, positioned at coordinates (0, 0, 0) and (0, 12, 0). Add a small rectangular block measuring 5mm by 2mm by 2.5mm centered at (-2.5, -...
difference(){ union(){ hull(){ translate([0,0,0]) cylinder(h=2.5, r=6.25); translate([0,12,0]) cylinder(h=2.5, r=6.25); # translate([0,19,0]) cylinder(h=2.5, r=2); translate([-2.5,-8.5,0]) cube ([5,2,2.5]); } } #translate([0,0,0]) cylinder(h=5, r=5.05); #translate([0,11.25,0]) cylinder(h=5, r=5.05); ...
glb/cad_73bbe17f93b6.glb
Create a dash panel grommet by starting with a rectangular base measuring 10mm by 12mm with a thickness of 1.5mm, centered on the origin. On top of this base, place a cylinder with a radius of 3.75mm and a height of 8.5mm. Above this cylinder, add a truncated cone that transitions from the 3.75mm radius at its base to ...
difference(){ union(){ translate([-5,-6,0]) cube([10,12,1.5]); translate([]) cylinder(r=7.5/2, h=8.5); translate([0,0,8.5]) cylinder(r1=7.5/2, r2=2, h=4); rotate ([0,90,0])rotate ([0,0,45]) translate([-7,-0,-1]) cube([7,7,2]); } translate([]) cylinder(r=5.5/2, h=8.5); }
glb/cad_dd69b7f33829.glb
Create a candy dispenser consisting of a base, a main body, a rotating internal cylinder, and a top cover. Start with a rectangular base measuring 95mm x 70mm x 12mm. In this base, create a circular exit hole with a 16mm radius and a rectangular ramp cutout measuring 15mm x 41mm x 12mm, rotated 16 degrees. Add four h...
module body() { union() { difference() { cube([63,35,152], center = true); translate([0,1.5,-0]) cube([55,32.1,152.1], center = true); translate([0,14,0]) cube([58.5,3, 153], center = true); rotate([0,90,0]) translate([-30,-1,0]) cylinder(r=24/2, h=110, $fn=100, center = true); } difference() ...
glb/cad_d4fee97fbae1.glb