Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Thingamajig by combining three primary geometric components. First, create a rectangular prism measuring 80mm by 15mm by 80mm, centered on the origin. Rotate this prism 15 degrees around the X-axis and remove a cylindrical hole with a 5mm radius that runs through the entire length of the shape. Second, create...
$fn=35; union() difference(){ rotate([0,-15,0]) translate([0,0,-4]) cube([80,15,80],center=true); rotate([90,-90,90]) translate([-5,0,-100]) cylinder(h=199, r=5); } difference(){ translate([30,0,-40]) cylinder(h=80, r=15); translate([30,0,-50]) cylinder(h=100, r=12); ...
glb/cad_8fd2d482bb30.glb
Create a parametric screw box consisting of a hollow cylindrical container with a twisting, threaded locking mechanism. The internal storage space is a cylinder with a diameter of 10mm and a height of 30mm. The walls of the container have a thickness of 2mm. The base of the container is a solid disk with a diameter of...
fingers = 3; wall_thickness = 2; extra_bottom = 0; percentage = 48; inclination = 5; in_diameter = 10; in_height = 30; tolerance_mm = 0.4; tolerance_deg = 1; fn = 150; module inner_space(hole_diameter, hole_height, wall) { diam_inner_space = hole_diameter + tolerance_mm*2 + wall*2; diam_spiral_base = ...
glb/cad_735bc874510b.glb
Create a bird pendant with a total thickness of 4mm. The main body is a rounded, oval-like profile formed by the intersection of two circles with a diameter of 40mm. At the front, add a beak composed of two small, thin polygons meeting at a point, with a separation ratio of 67% between the upper and lower sections. O...
shape = "040,020,030,008,005,013,000,015,005,030,050,025-,067,010,003-,010-"; ring_orientation = 2; ring_outer_diameter = 6; ring_thickness = 3; legs_number = 2; legs_diameter = 2; legs_spacings = 2; toes_length = 4; toes_angle = 80; beak_separation_ratio = 67; body_thickness = 4; eye_diameter = 2.5; rounding = 2; lay...
glb/cad_44adca98536b.glb
Create a Custom Quickdraw Holder by starting with a base plate shaped as a flattened oval. This base should be 184mm wide, 92mm deep, and 4mm thick. On the top surface of the plate, center the word "NAME" in a bold font with a height of 16mm, extruding the text 5.6mm upward from the surface. Arrange 12 circular hole...
textstring="NAME"; textsize = 20; fontname="Nova Mono"; scale([.8, .8, .8])union(){ difference(){ scale([.5, 1, 1])cylinder( r = 115, h=5, $fn=500); translate([0, 100, 0])translate([0,0,-5])cylinder(r=10, h=20, $fn=200); translate([-40, 15, 0])translate([0,0,-5])cylinder(r=10, h=20, $fn=200); translate([-35, 45,...
glb/cad_d4eaac417bd3.glb
Create a Modified Parametric Bed Bracket consisting of three integrated sections. First, create a top mounting block measuring 14mm x 20mm x 5.5mm. Remove a vertical cylinder with a radius of 2.6mm (5mm diameter plus 0.1mm tolerance) centered at x=10.6mm, y=10mm, and a rectangular slot measuring 6mm x 5.2mm x 6mm cen...
frame_screw = 5; bed_screw = 3; distance = 15; tolerance = 0.1; curve_sections = 60; $fn = curve_sections; frame_screw_radius = (frame_screw / 2) + tolerance; bed_screw_radius = (bed_screw / 2) + tolerance + 0.1; bed_spring_diameter = 8 + tolerance; difference() { cube([14, 20, 5.5]); translate([8 + fra...
glb/cad_d65a852e3c6c.glb
Create a Modified Parametric Bed Bracket by starting with a main cylinder that is 18mm in diameter and 6mm high. From this main body, remove a central vertical hole with a diameter of 3.4mm. Within this central area, create a hexagonal nut-shaped cavity for an M3 nyloc nut starting at a height of 4mm and extending to t...
include <Metric/M3.scad> curve_sections = 60; diameter = 18; height = 6; finger_diameter = 5; m3_nyloc_nut_height = 4; steps = 8; tolerance = 0.1; $fn = curve_sections; path_radius = diameter / 2 + 1; difference() { cylinder(d = diameter, h = height); for (i = [1 : steps]) { offset_angle = i * (36...
glb/cad_714857cdab2a.glb
Create a Bag Roll Storage holder with a total height of 70mm and an outer diameter of 70mm. Start by forming the main body as a semi-cylindrical shell with a wall thickness of 4mm. The back of the holder is a flat vertical plane, creating a D-shaped cross-section. At the base, create a solid floor 3mm thick. In the...
dia=70; hgt=4; oh=70; nz=0.4; $fn=100; lng=dia/2; module HexPatternV2(v, r=10, w=1, i=true, a=false) { dx=r*1.5; dy=r*0.866025; sy=(i) ? -0.1 : 0; az=(i) ? 0.2 : 0; r1=(a) ? r-w/2-(v.z+0.2) : r-w/2; intersection() { difference() { if(i) cube(v); for(yi=[0:1:v.y/dy+1]) { for(xi=[0:...
glb/cad_d9cb098f7beb.glb
Create a project enclosure for the ORANGE-ESPer with external dimensions of 80mm x 102mm x 29mm. The main body is a hollowed-out box with a wall thickness of 2.4mm and rounded corners with a radius of 2.1mm. Inside the base, place four cylindrical standoffs at the corners to support a PCB. Each standoff should have an...
include <write.scad> box_x = 80; box_y = 102; box_z = 29; box_r = 2.1; box_t = 2.4; standoff_r = 3.5; standoff_h = 4; standoff_hall_r = 2.1; pcb_x= 67; pcb_y = 89; pcb_t = 1.6; pcb_offset_x = 7.5; pcb_offset_y = 6; pcb_offset_z = box_t; pcb_base_level = pcb_offset_z + standoff_h + pcb_t; label_height = 4; bottom(...
glb/cad_5c494cd15f8d.glb
Create a stackable game token by designing a cylindrical disc with a diameter of 30mm and a height of 4mm. The main body is a ring-like structure created by subtracting a smaller, similarly shaped profile from the center to leave a raised outer rim. The profile of this rim is defined by rounded edges, specifically usin...
diameter = 30; height = 4; text = "+1/+1"; sides = 150; rotation = 0; deformation = 1; text_size = 5.6; text_spacing = 0.8; tolerance = 0.4; fn = 150; module marker_base(in_diameter, in_height, in_sides) { mid_height = 2*in_height/3; round_corner = 0.5; hull() { upper_toroid_diameter ...
glb/cad_075dd5358ae0.glb
Create a keyboard foot with a total length of 46mm, a depth of 24mm, and a base thickness of 2.1mm. The main body is a rectangular slab with rounded corners of 4mm radius. Along the top edge, centered depth-wise, integrate a cylindrical pin with a diameter of 3.5mm and a length of 3.5mm, positioned 1.8mm above the bott...
Length=46; Depth=24; Thickness=2.1; Corner_Radius=4; Leg_Length=11; Leg_Width=4; Total_Height=5.3; Pin_Diameter=3.5; Pin_Length=3.5; Pin_Height=1.8; Pin_Support_Gap=1; difference(){ union(){ cube([Length,Depth-Pin_Diameter/2-Pin_Height,Thickness]); translate([-Pin_Length,Depth-Pin_Length,Pin_Height+Pin_...
glb/cad_07a08aa53051.glb
Create a Print Sloosher consisting of a flat rectangular grid base and a vertical handle. Start with a rectangular base 135mm long, 75mm wide, and 3mm thick. The base features a 3mm wide outer border with a 4mm corner radius and a 2mm high lip. Inside this border, create a grid of 1mm wide lines spaced every 10mm in ...
$fn=50; $fa = 1; $fs = 5; grid_length = 135; grid_width = 75; handle_height = 130; grid_height = 3; grid_lipheight = 2; grid_lineWidth = 1; grid_x_size = 10; grid_y_size = 10; border_width = 3; corner_radius = 4; if (1>=2) echo (" WARNING : tube_radius must be smaller than diameter "); working(); mod...
glb/cad_dad0bf483188.glb
Create a NXT Motor Drive to Tetrix Hub connector as a short cylinder with a height of 7.8mm and a radius of 13mm. Start by removing a central vertical hole with a radius of 2.625mm. Add four screw holes spaced 90 degrees apart, centered 8mm from the middle. Each of these holes should have a bottom diameter of 4.5mm a...
technicBeamWidth = 7.8; hubWidth=technicBeamWidth; tetrixWidth = 2; tetrixScrewHoleRad = 2.25; tetrixScrewHeadRad = 3.0; holeSpacing = 8; technicHoleRad = 2.63; technicNubRad = 3.1; holeTol = 0.35; difference() { cylinder(h=hubWidth, r=2*holeSpacing-tetrixWidth, $fn=40); translate([0,0,-1]) cylinder(h=hubWidth+2,...
glb/cad_ce564bfb8f32.glb
Create a parametric hinged box consisting of a base and a lid. The overall outer dimensions for both parts are 85mm in length and 65mm in width. The base has an outer height of 65mm, and the lid has an outer height of 25mm. Both the base and lid are hollowed out with a wall thickness of 1mm, except for the back wall wh...
boxLength = 85; boxWidth = 65; baseHeight = 65; lidHeight = 25; wallThick = 1; backWallThick = 4; hingeWidth = 19.5; hingeThick = 1; hingeDepth = 9; hingeSpringWidth =8; hingeSpringThick = backWallThick/2; hingeSpringDepth = 6; module hingePocket() { translate ([0,-backWallThick/2,-hingeDepth/2]) cube ([...
glb/cad_0f1e0d654408.glb
Create a customizable scribing tool consisting of a guide block and a hole carrier. First, create the guide block as a rectangular prism with a height of 10mm, an overall width of 20mm, and an overall length of 80mm. All four vertical corners of this block must be rounded with a radius of 5mm. Attached to the side o...
corner_radius = 5; guide_height = 10; guide_outer_size_x = 20; guide_outer_size_y = 80; hole_carrier_height = 2; hole_carrier_border = 5; hole_carrier_cm_marks = 5; hole_carrier_diameter_bottom = 1.5; hole_carrier_diameter_top = 3...
glb/cad_79b97de09633.glb
Create a Tic Tac Toe game set consisting of a board, game pieces, and holders. First, create the board base as a square slab measuring 160mm x 160mm x 1mm. On top of this base, add a grid consisting of four vertical and four horizontal bars, each 3mm high and 4mm wide, spaced to divide the board into a 3x3 array of e...
BoardSize = 160; DrawBottom = 1; DrawGrid = 1; DrawX = 1; XCount = 5; DrawO = 1; OCount = 5; XHolder = 1; OHolder = 1; $fn=0 * 1.0; $fa=0.01 * 1.0; $fs=0.1 * 1.0; GridHeight = 3 * 1.0; GridWidth = max(1, BoardSize / 40); BlockSize = (BoardSize - (4*GridWidth) ) / 3; BoardThickness = 1 * 1.0; legLength =...
glb/cad_ad117739f1ec.glb
Create a Tic Tac Toe game set consisting of a board, game pieces, and holders. First, create the board as a square plate 160mm wide and 1mm thick. On top of this plate, add a grid of lines 3mm high and 4mm wide. The grid should be composed of four equidistant parallel lines running horizontally and four running verti...
BoardSize = 160; DrawBottom = 1; DrawGrid = 1; DrawX = 1; XCount = 5; DrawO = 1; OCount = 5; XHolder = 1; OHolder = 1; GridSquaresPerSide = 3; $fn=0 * 1.0; $fa=0.01 * 1.0; $fs=0.1 * 1.0; GridHeight = 3 * 1.0; GridWidth = max(1, BoardSize / 40); BlockSize = (BoardSize - ((GridSquaresPerSide + 1)*GridWidth...
glb/cad_8cfc53b2b838.glb
Create a bird feeder attachment consisting of a seed bowl and a threaded bottle mount. First, construct the mount as a hollow cylinder with an outer radius of 20mm and an inner radius of 17.5mm, with a total height of 12mm. Inside this cylinder, create a threaded internal bore. The thread should have a pitch of 8mm, ...
cr = 19; ir = 16.5; ch = 10; so = 3.5; c = 2; s = 8; oa = 40; drain = true; wt = 3.5; tt = 2; mh = 10; bh = 16; l = 60; $fn=64; renderThreadTest = false; h = bh + mh + ch; if(renderThreadTest){ threadTest(); } else { feeder(); } module feeder(){ difference(){ union(){ tr...
glb/cad_bd02aa391369.glb
Create a ring box consisting of a hollow rectangular base and a matching lid. Construct the base as a rectangular prism with outer dimensions of 47.75mm width, 52.66mm depth, and 22.20mm height. All exterior edges and corners of the base must be rounded with a radius of 1mm. Create a hollow interior cavity within the b...
$fn=50; difference(){ color("powderblue") minkowski(){ cube(size = [47.75,52.66,22.20], center=true); cylinder(r=1,h=1);} translate([0,0,2]){ minkowski(){ cube(size = [45.5,48.15,20], center=true); cylinder(r=1,h=1); } } } rotate([45,0,0]){ difference(){ translate([0,16.5,40]){ color("powderblue") ...
glb/cad_befb357a91bf.glb
Create a Raspberry Pi Experiment Platform consisting of a base and a top frame. Start with a rectangular base measuring 85mm by 69mm with a height of 5mm. To allow for airflow, remove material from the base by creating a series of slots: from x=10mm to x=75mm, spaced every 5mm, remove rectangular sections measuring 2mm...
union() { difference() { translate([0,0,0])cube([85,69,5]); for(x=[10:5:75]) { translate([x,13,0])cube([2,43,5]); } } difference() { translate([0,0,5])cube([6,5,30]); translate([3,2.5,25])rotate([0,0,0]){cylinder(h=10,r=1.625);} } translate([0,0,5])cube([5,12,7]); translate([3,10,12])cylinder(3,0.95,0.9); translate([...
glb/cad_51bfa46e3b42.glb
Create a rectangular casing for an Arduino Inclinometer with overall dimensions of 125mm width, 115mm depth, and 45mm height. The main body should be hollowed out with a wall thickness of 3mm. On the top surface, create a recessed wedge-shaped cutout to accommodate a screen. Within this area, add four screen support p...
casing = true; lid = false; mount1 = false; mount2 = false; mount3 = false; disableAdjustmentHoles = false; print = true; width = 125; depth = 115; height = 45; wallThickness = 3; overSizeFactor = 1.05; batteryHeight = 55; batteryWidth = 20; wedgeHeight = 30; include <push_button.scad> pushButtonHoleDia = 7; ...
glb/cad_22b92a3868ab.glb
Create a prototyping stand for a 7-inch LCD screen. The model consists of two symmetrical side supports connected by a central base. For each side support, create a primary outer wall that is 10mm wide, 100mm long, and 12mm high, with a rectangular cutout of 7mm by 100mm by 6.3mm starting 3mm from the bottom and 3mm ...
union() { difference() { translate([3,0,0])cube([50,10,12]); translate([3,3,3])cube([50,100,6.3]); } difference() { translate([0,0,0])cube([10,100,12]); translate([3,3,3])cube([7,100,6.3]); } difference () { translate([0,-20,0])rotate(a=[0,0,0]){cube([5,21,12]);} translate([-1,-15,6])rotate([90,0...
glb/cad_f6be7aecc277.glb
Create a case for a DPS3005/5005 power supply and USB-C decoy module. The main body is a hollow rectangular shell with external dimensions of 79.3mm width, 43.2mm height, and a total depth of approximately 55mm. The shell has a wall thickness of 2mm. The interior is designed to house the power supply unit, featuring a...
include <MCAD/nuts_and_bolts.scad>; include <MCAD/boxes.scad>; dps_face = [79.3, 43.2, 4.0]; dps_body = [71.8, 39.2, 34.25]; dps_latch = [76.0, 13.0, 12.5 + 1]; dps_latch_indent = [3.5, 2.0]; dps_lip = [2.0, 4.0, 2.0]; dps_tolerance = 0.8; wall = dps_lip[0]; vent_count = 7; vent_hole_height = 20; vent_wall = 6; ...
glb/cad_1bcd38297dcd.glb
Create a customizable desk mount consisting of a flat base and two perpendicular upright arms. Start by creating a rectangular base plate with a width of 60mm, a depth of 10mm, and a thickness of 3mm. At each end of the base plate, add a vertical arm. Each arm begins with a rectangular section that is 3mm wide, 10mm ...
subject_width = 60; subject_height = 30; mount_depth = 10; mount_thickness = 3; hole_radius = 3; module handle_bit(x_offset) { translate([x_offset, 0, subject_height]) { difference() { cube([mount_depth, mount_depth, mount_thickness]); translate([mount_depth / 2, mount_depth / 2...
glb/cad_51a80f1455d0.glb
Create a simple shelf hook with a uniform thickness of 5mm. Start with a base rectangular plate measuring 45mm in length and 30mm in width. Remove a rectangular section from the top center of this plate to create a slot for a shelf, measuring 40mm long and 10mm wide, leaving a 5mm border on the left side. From the bo...
wall_thick = 5; $fn = 75; shelf_thick = 10; depth = 40; arc = 45; nub_type = "round"; nub_h = 5; r = depth/sin(arc); difference(){ cube([depth+wall_thick,3*wall_thick+shelf_thick+r,wall_thick]); translate([wall_thick,wall_thick, -1])cube([depth+1, shelf_thick, wall_thick+2]); translate([0,2*wall_thick+s...
glb/cad_0350739dec83.glb
Create a wall mount for a Samsung Galaxy Tab S 8.4 tablet. The mount consists of a thin backplate 1.5mm thick with a central rectangular section 60mm wide and 105mm high. Within this central section, create two mounting slots for screws; each slot is 10.5mm long with circular ends of 3.5mm diameter, spaced 85mm apart v...
version = "Version 0.3"; $fn = 20; tablet_width = 215; tablet_height = 126; back_thickness = 1.5; tablet_thickness = 7.6; lip = 5.5; corner_w = 43; corner_h = 57; corner_d = 14; wall = 2; echo("Wall thickness is ", wall); box_w = 60; box_h = 105; hole_d= 3.5; slot_size = hole_d * 3; hole_sep = 85; cable_slot...
glb/cad_231aaa3a2e8f.glb
Create a guitar pedal enclosure by starting with a rounded rectangular box measuring 90mm in length, 65mm in width, and 35mm in height, with a corner radius of 6.35mm. Hollow out the center of the box to create a wall thickness of 5.08mm. On the top surface, center and create three circular holes: one with a 4mm radi...
res=50; inch = 25.4; box_length = 90; box_width = 65; box_height = 35; pot_radius = 4; led_radius = 2; switch_radius = 4; jack_radius = 5; screw_radius = 0.0625*inch; wall_thickness = 0.2*inch; corner_radius = 0.25*inch; offset = 3; difference(){ union(){ difference(){ roundedRect([box_length,box_width,box_heig...
glb/cad_06e65eee989b.glb
Create a handheld MP3 player case by starting with a rounded rectangular block that measures 50mm in width, 90mm in length, and 15mm in height, achieved by applying a 5mm fillet radius to all edges of a 40x80x5mm base cube. From this main body, remove several cylindrical cutouts to create functional openings. Position ...
minkowski() { cube([40,80,5],center=true); sphere(r=5); } difference(){ minkowski() { cube([40,80,2],center=true); sphere(r=2); } #translate([0,-16,7]) cube(size=[35,40,2],center=true); #translate([0,25,1.5])cylinder(h = 8, r=6); #translate([-15,15,1.5])cylinder(h = 8, r=6); #translate([15,15,1.5])cylinde...
glb/cad_bc7284cba175.glb
Create an antenna clip starting with a base cube measuring 15mm x 15mm x 15mm, with all corners rounded to a 1mm radius except for the top face (z-max), which remains rounded. Center a vertical screw hole through the entire block. This hole begins with a 3.5mm diameter cylinder at the bottom, transitioning at a heigh...
hole_roundness = 30; $fs = 0.25; baseX = 15; baseY = 15; baseZ = 15; baseRadius = 1; centerIs = true; screwDia = 3; screwHeadDia = 6; screwBottomThickness = 3; screwDiaExtra = 0.5; screwHeadDiaExtra = 1; antennaDia = 4.5; antennaHoleCenter = 10; wedgeWidth = 10; wedgeLength = 20; wedgePointZ = 3; union() { ...
glb/cad_e9380f90ad2a.glb
Create a cable wrapper spool consisting of two identical circular discs connected by a central cylinder. Each disc should have a radius of 50mm and a thickness of 3mm, with a concentric circular hole in the center with a radius of 20mm. Position these two discs 60mm apart along a central vertical axis. Connect the inne...
wrapper_hight = 60; disc_radius = 50; hole_radius= 20; disc_thickness = 3; difference(){ cylinder(h=disc_thickness,r1=disc_radius, r2= disc_radius, center = true, $fn=100); cylinder (h=disc_thickness,r1=hole_radius, r2= hole_radius, center = true, $fn=100);} translate([0,0, wrapper_hight / 2]){ differe...
glb/cad_24bacbe8e147.glb
Create a Customizable French Cleat Bit and Tool Holder. Start by constructing a back plate with a thickness of 6mm and a total height of 70mm (which includes a 20mm top shelf height and a 50mm main body). On the rear of this plate, add a French cleat mounting bracket that is 18mm deep and 6mm thick. From the front of ...
inch2mm = 0.3048/12*1000; mm2inch = 12/0.3048/1000; $fn=60; cleatHeight = 50; cleatDepth = 18; cleatThickness = 6; fixedShelfDepth = 70; topShelfHeight = 20; backThickness = 6; shelfThickness = 6; topShelf = 1; bottomShelf = 1; bottomHole = 0; holeDepthAxis = 8.5; holeWidthAxis = 8.5; holeAngle = 45; hexH...
glb/cad_14a7e8381038.glb
Create a Beatle-1 quadcopter frame consisting of a central platform and four motor mounts. Start with a central rectangular platform measuring 46mm by 23mm with a height of 3.6mm and rounded corners with a 6mm radius. The platform floor should be a honeycomb pattern of hexagonal holes with diameters between 4.1mm and 4...
$fn=40; module SlotF1607(h=16.5, d=7, shell=0.8, slack=0.1 ) { difference() { _openbox(h=h, delta=shell) circle(d=d + slack); union () { cylinder(d=6, h=h, center=true); translate([d/...
glb/cad_993572c6631c.glb
Create a Knob Factory model by constructing a main body as a conical frustum with a top radius of 16mm, a bottom radius of 14mm, and a height of 5mm. The circumference of this body should be a regular polygon with 7 faces. Center a vertical shaft hole through the body with a radius of 2.65mm and a height of 12mm. To c...
quality = "preview"; knob_radius_top = 16; knob_radius_bottom = 14; knob_height = 5; knob_faces = 7; shafthole_radius = 2.65; shafthole_height = 12; shafthole_faces = 20; shafthole_cutoff_arc_height = 0.35; enable_stem = false; stem_radius = 5; stem_height = 10; stem_faces = 30; stem_transition_height = 5;...
glb/cad_f670b1a7fe1c.glb
Create an extension cord holder based on a cylinder with a diameter of 100mm and a height of 60mm. Carve a torus-shaped groove into the outer edge of this cylinder, using a circular profile with a radius of 25mm, leaving a wall thickness of 5mm. Remove a large section of the cylinder to leave only a flat circular base ...
max_diameter=100; thickness=60; walls=5; screw_head=8.5; head_height=4; screw_dia=4; screw_height=26; module screw() { rotate([180,0,0]) union() { cylinder(r=screw_dia/2,h=screw_height, $fn=16); cylinder(r2=screw_dia/2,r1=screw_head/2,h=head_height, $fn=16); } } module cordholder() {...
glb/cad_3e73e0c7767a.glb
Create a Pinzgauer door latch knob by revolving a specific profile around a central axis. The main body is formed by rotating a composite shape consisting of a 6.5mm by 6mm rectangle positioned 1mm from the axis, a 5.5mm by 1mm rectangle at the base, and a small 1mm radius circle at the outer edge of the base. Add a 9m...
difference() { rotate_extrude(convexity = 32) { difference() { union() { translate([0,1]) square([6.5, 6]); translate([0,0]) square([5.5, 1]); translate([5.5,1]) circle(r=1, $fn=64); } translate([0,0]) square([3.3, 8]); } translate([0,8]) square([9, 5]); difference() { trans...
glb/cad_4e5a1e2944a1.glb
Create a Pinzgauer door latch knob consisting of a hexagonal base and a rounded grip. Start by creating a hexagonal prism with a flat top, measuring 20mm in diameter and 5mm in height. On top of this base, construct a rounded, rotational grip. The grip's profile is a complex revolved shape: it begins with a cylindric...
module knob() { difference() { rotate_extrude(convexity = 32) { difference() { union() { translate([0,1]) square([6.5, 6]); translate([0,0]) square([5.5, 1]); translate([5.5,1]) circle(r=1, $fn=64); } translate([0,0]) square([3, 8]); } translate([0,8]) square([9, 5]); differenc...
glb/cad_2dec892a1cfb.glb
Create a Customizable Lens Cap consisting of three main components: a base, a mechanism, and a backplate. First, create the base as a circular ring with an outer radius of 33.5mm and a height of 4.5mm. The interior should be hollowed out to an inner radius of 31.825mm. Cut two rectangular handle slots and two small ci...
diameter = 67; fullHeight = 6; backplateHeight = 0.7; springWidth = 1; springWinds = 3; tolerance = 0.08; $fn = 90; part = "Mechanism"; module HideVariables() {} mainRadius = diameter / 2; innerRadius = mainRadius * 0.95; outerRadius = mainRadius * 1.05; centerHoleRadius = mainRadius * 0.06; baseHeight = (fu...
glb/cad_55cedde0ed6c.glb
Create a Hopf link consisting of two interlocking tori. Construct the first torus by sweeping a circle with a radius of 0.6mm around a circular path with a radius of 2mm, centered at the origin and lying in the horizontal plane. Construct a second identical torus with a cross-sectional radius of 0.6mm and a path radius...
RES = 128; rad1 = 0.6; rad2 = 0.6; outR = 2; offs = 45; color("red") rotate_extrude(angle=360, $fn=RES) translate([outR,0,0]) circle(r=rad1, $fn=RES); translate([outR,0,0]) rotate([90-offs,0,0]) color("blue") rotate_extrude(angle=360, $fn=RES) translate([outR,0,0]) circle(r=rad1, $fn=RES);
glb/cad_95c84f38e1e4.glb
Create a hollow truncated toroid, similar to a cheese wheel, by rotating a specific 2D cross-section around a central vertical axis. The 2D cross-section consists of a central rectangle with a height of 100mm and a width of 120mm, with a circular arc attached to its outer edge. This arc must have a height of 30mm. To...
quality = "fast preview"; show_cross_section = false; height = 100; top_radius = 120; arc_height = 30; make_hollow = true; wall_thickness = 10; $fa = (quality == "rendering") ? 1 : (quality == "preview") ? 3 : (quality == "fast preview") ? 6 : (quality == "very fast preview") ? 12 : 12; small_...
glb/cad_682f06c96639.glb
Create a hotend fan duct consisting of a mounting base and an attached air guide. Start with a square mounting plate measuring 40mm by 40mm with a thickness of 3mm. In this plate, center a circular hole with a diameter of 36mm and place four smaller screw holes with a diameter of 3mm each, positioned at the corners of ...
S_d = 3; F_size = 40; F_d = 36; F_hs = 32; M_height = 3; E_h = 7; D_thickness = 1.5; D_width = 20 + D_thickness*2; D_lenght = 22; D_shift = 8; difference() { union() { translate([0,0,M_height/2]) mount(); translate([0,0,M_height]) duct(); } translate([-F_size/2, F_size/2-E_h/2-(F_size-F_hs)/2, M_heig...
glb/cad_1cf654ca7e42.glb
Create a Calibration Comb and Ooze test base. Start with a rectangular base plate measuring 28.95mm in length, 26mm in width, and 0.5mm in height. On top of this base, place a rectangular ruler section that is 4mm wide, 24mm deep, and 2mm high, positioned 5mm from the front edge and 1mm from the left edge. Extending fr...
module calibrateooze(baseheight, marginlength, rulerthickness, rulerheight, oozelengthstep, oozeheight, oozespacing, oozesteps, oozewidth) { width=oozespacing * oozesteps + 2; rulerwidth = oozespacing * oozesteps; ruleadjust = oozespacing; rulexend = rulerthickness*2 - 0.05; length = oozelengthstep * oozesteps + r...
glb/cad_560c88f269c8.glb
Create a Sock Tool for embroidery by constructing a flat plate with a thickness of 3.36mm. At the center, create a rectangular cutout measuring 70mm by 70mm with corner radii of 3mm. Surround this central hole with a border of 10mm. Extend the geometry by adding "wings" to the left and right sides of the main frame; t...
VERSION = "V0.95"; HOLE_X_L = 70; HOLE_Y_L = 70; R=3; BORDER=10; WING_W= 37; Z=3.36; TOP_KNOBS = true; TEXT = true; MODE_3D = true; PIN_HOLES = true; PIN_R = 3; MOUTH_W=7; MOUTH_L=90; run (); module run (mode_3d=MODE_3D, pin_holes=PIN_HOLES, texte=TEXT) { if (mode_3d==false) { projection () doit (pi...
glb/cad_337e1976f4dd.glb
Create a PillowBlock bearing mount with a total thickness of 11mm. The main body consists of a central circular housing and two rectangular mounting tabs extending laterally. The central housing is a cylinder with an outer radius of 16mm and a height of 11mm. Inside this housing, create a central vertical hole with a...
$fn = 100; bearing_outer_diameter = 22; bearing_thickness = 7; mounting_hole_diameter=6; bearing_OD_pillowblock_thickness = 5; lip_size = 2; lip_thickness = 2; lift = 4; mounting_pad=3; print_endplate = true; end_plate_bolt_diameter = 3; end_plate_thickness = 2; end_plate_clearance = 0.5; thickness=lip_thickness+...
glb/cad_05bb371efec4.glb
Create a Printrbot Simple Metal SKR V1.2 Adapter. Start by creating a rectangular plate with a thickness of 4.5mm. The outer boundary is defined by the convex hull of four cylinders, each with a diameter of 8mm, positioned at the corners of a rectangle measuring 93mm by 53.5mm. From this plate, remove four vertical ho...
adapter(); module adapter(){ $fn=64; H = 4.5; bo=6; difference(){ hull()for(i=[-.5:1:.5],j=[-.5:1:.5]) translate([93*i,53.5*j,0]) cylinder(d=8,h=H); hull()for(i=[-.5:1:.5],j=[-.5:1:.5]) translate([93*i,53.5*j,-.5]) cylinder(d=2,h=H+1); for(i=[-.5:1:.5],j=[-.5:1:.5]) translate([93*i,53....
glb/cad_d81410cc89a4.glb
Create a 3D model of a Raspberry Pi 4 Model B. Start with a main PCB base measuring 56mm by 85mm with a thickness of 1.4mm. The base has rounded corners with a radius of 3mm. Position four circular mounting holes with a diameter of 2.75mm, centered 3.5mm from the edges at each corner. On top of the PCB, place the foll...
interf = 0.2; module pin_headers(cols, rows) { w = 2.54; h = 2.54; p = 0.65; for(x = [0 : (cols -1)]) { for(y = [0 : (rows - 1)]) { translate([w * x, w * y, 0]) { union() { color("black") cube([w, w, h]); } } } } ...
glb/cad_bbece7b7cdec.glb
Create a customizable knob. The main body is a conical cylinder with a bottom diameter of 34mm, a top diameter of 27mm, and a height of 15mm. Add a base section to the bottom with a diameter of 34mm tapering to 30mm and a height of 2mm. Around the outer perimeter of the main body, add 60 vertical ridges that protrude ...
knobDia = 30; knobDiaTop = 27; knobHeight = 15; knobBottomDia = 34; knobBottomDiaTop = 30; knobBottomHeight = 2; outerRidged = true; outerRidgeAngle = 30; noOfOuterRidges = 60; outerRidgesHeight = 12; outerRidgesProtrution = 0.8; outerRidgesOffset = 0; makeTopIndent = true; centerTopIndent = false; topIndentDia = 8;...
glb/cad_09144ee34898.glb
Create a watch strap keeper by starting with a solid rectangular block measuring 30mm in width, 10mm in height, and 18mm in depth. Hollow out the center of this block to create a sleeve, leaving walls that are 1.5mm thick on the sides and 1.5mm thick on the top and bottom, resulting in an internal cavity that is 27mm w...
Strapwidth = 27; Strapheight = 7; Holdersize= 15; thickness = 3; SW = Strapwidth + thickness; SH = Strapheight + thickness; HH = Holdersize + thickness; difference() { cube([SW,SH,Holdersize]); translate([thickness/2,thickness/2,-2]) cube([Strapwidth,Strapheight,HH]); translate([SW/3,12,Holdersize/2]) rotate([90,0,0])...
glb/cad_3a3698628899.glb
Create a Customizable Master Spool consisting of two main components: a central barrel and two circular flanges. First, create the barrel as a hollow cylinder with an outer diameter of 91mm, a wall thickness of 2mm, and a height of 55mm. The interior bore of the barrel should have a diameter of 52.5mm. Next, create t...
parts=4; bore_idia=52.5; barrel_edia=91; bore_wall=2; traverse_hi=55; flange_edia=200; flange_hi=2.5; flange_cut=1; cable_tie_cut=1; cable_tie_wid=6; filament_cut=1; filament_dia=3.5; smooth=100; parts_bevel=0.75; i_tol=0.55; parts_gap=0.25; $fn=smooth; test_base_hi=2.50; bore_id=bore_idia+i_tol; barrel...
glb/cad_265c43f43cde.glb
Create a Mendel Filament Guide by starting with a rectangular base plate measuring 48mm wide, 180mm long, and 3mm thick. Carve a long, narrow slot through the center of the plate, starting from a 5mm diameter circular hole at one end and extending to another 5mm diameter circular hole at the opposite end. The slot shou...
difference() { cube([48,180,3]); translate([-162,90,-0.5]) cylinder(r=180, h=4, $fn=200); translate([210,90,-0.5]) cylinder(r=180, h=4, $fn=200); hull() { translate([24,10,-0.5]) cylinder(r=2.5, h=4); translate([24,170,-0.5]) cylinder(r=2.5, h=4); } hull() { translate([4,4,-0.5]) cylinder(r=...
glb/cad_2ad550038ba7.glb
Create a folding clamshell case for a Kindle Paperwhite 4. Start by creating a rectangular base plate measuring 117.5mm by 168.5mm with a thickness of 2mm. Round the four corners of this plate with a radius of 18mm. On the top surface of the plate, add embossed text that is 1mm deep. Along one of the shorter edges, co...
case_thickness=2; text_depth = 1; text = "Your Name"; size = 12; script = "latin"; x_move = 0; y_move = 50; $fn=100; $fs=100; case_width=117.5; case_height=168.5; case_round=18; CT = case_thickness/2; CH= case_height/2; CW = case_width/2; difference(){ union() { difference() { cube([case_width, case_height,case...
glb/cad_d26d54cc7fee.glb
Create a customizable coin sorter consisting of a stack of trays and a lid. Each tray is a rectangular box with internal dimensions of 100mm width, 100mm length, and 13mm height, featuring walls 2.5mm thick and a bottom 1mm thick. To make the trays stackable, add a 5mm high frame around the top perimeter of each box ...
part="all"; part_tray= 1; currency = "EUR"; Bwidth = 100; Blength = 100; Bheight = 13; wall = 2.5; bottom = 1; stack_z = 5; text_size_modifyer=1.0; text_font = "Liberation Sans"; epsilon = 0.1; MinOffset = 1; stack_gap = 1; support_start_height = Bheight - stack_z ; coinsCustom= [["C1",10],["C2",20],["C3...
glb/cad_8748773f63af.glb
Create a set of simple flat cylindrical game pieces arranged in a symmetrical hexagonal grid. Each individual piece must be a cylinder with a diameter of 30mm and a height of 2mm. Arrange the pieces in 4 rows and 5 columns. The grid should be self-centering and staggered, where every even-numbered row is offset to ne...
Height = 2; Diameter = 30; radius = Diameter/2; extra = 1.02; interRowDistance = sin(60) * extra; Rows = 4; oddRows = ( Rows % 2 ); rowStart = -1 * ceil ( ( Rows - oddRows ) / 2 ) + ( 1 - oddRows); rowEnd = floor( ( Rows - oddRows ) / 2 ); Cols = 5; oddCols = ( Cols % 2 ); colStart = -1 * ceil ( ( Cols - oddC...
glb/cad_1e073de57ce3.glb
Create a turbine model centered on a vertical axis. The core is a vertical ellipsoid with a radius of 30mm and a height of 90mm. Surrounding this core, create three distinct sets of radial blades. The first set consists of 6 blades, scaled by 0.8 and positioned 50mm below the center. The second set consists of 17 blade...
$fn=80; color("red") translate([0, 0, 50]) scale([0.8, 0.8, 0.8]) turbine(10); color("blue") translate([0, 0, 1]) scale([1.1, 1.1, 1.1]) turbine(17); color("black") translate([0, 0, -50]) scale([0.8, 0.8, 0.8]) turbine(6); body(); module turbine(n) { for (a = [ 1 : 1 : n ]) { rotate([0,0,a*360/n]) blade()...
glb/cad_837faafcd6b4.glb
Create a Bush Guide tool for vertical external thread cutting. The model consists of a central guiding assembly and a handle. First, create the main guide body. Start with a base cylinder 25mm in diameter and 1.5mm thick. On top of this base, add a second concentric cylinder with a diameter of 20.8mm and a height of 4...
use <MCAD/polyholes.scad> use <MCAD/metric_fastners.scad> die_holder=1; thread=6; SchneideisenDia=[20,25,30,38]; thickness=1.5; Explosion=1; Plate=1; PlateM=[3,4,5,6,8]; $fn=10; if(Explosion){ translate([0,0,thread*1.7+20]) die_Stock(); translate([0,0,thread*1.7+10]) rotate([0,180,0]) render() Bush_Guide(); ...
glb/cad_98f766035140.glb
Create a hotend holder for E3D, Hexagon, or Jhead hotends designed to fit 30mm carriages and 30mm fans. The main body is a vertical block with a total length of 58mm, a thickness of 24mm, and a width of 40mm. At the top and bottom of the block, create two large circular pass-through holes for rods. These holes should...
include <configuration.scad> include <inc/functions.scad> cl = 58; ct = 24; cw = 40; bco = 7.9; bfw = 10; angle = 40; hp = [14,44]; hd = 3; hp = [14,44]; hd = 3; rd = 45; bd = 15; pt = 2; d1 = bd+2*pt; d2 = 10; bcw = ct/2+4; acx = ct/2-(d1)/2; ccx = d2/2-ct/2; cy1 = rd/2-2*pt-b...
glb/cad_92675e1de0fa.glb
Create a customizable screwdriver handle with a total height of 100mm and a maximum diameter of 24mm. The main body is a revolved shape with rounded edges (1mm radius). The bottom section starts with a 5mm high base, transitioning into a main handle body that is 24mm wide. At the top, incorporate a collet section 4mm...
smooth=60; $fn=smooth; i_tol=0.8; rounding=1; part=1; socket_shape=2; total_hi=100; handle_dia=24; finger_grip_hi=27; finger_grip_dia=17; collet_hi=4; bottom_hi=5; n_groove=5; socket_size=6.24; socket_dep=85; groove_dia=handle_dia-finger_grip_dia; handle_hi=total_hi-bottom_hi-rounding*2; handle_wid=handle_dia-ro...
glb/cad_f7d46255a7e2.glb
Create an enclosure for an Arduino Nano IR transmitter consisting of a main body and a removable lid. For the main body, create a rectangular box with outer dimensions of 48mm in length, 24mm in width, and 21mm in height. The interior should be hollowed out to fit an Arduino Nano (44mm x 20mm x 18mm) with a 2mm wall ...
arduino_nano_width = 20; arduino_nano_height = 18; arduino_nano_length = 44; usb_connector_width = 8; usb_connector_height = 4; usb_connector_length = 12; reset_button_width = 8.5; reset_button_length = 6; reset_button_height = 2; case_wall_thickness = 2; fastener_diameter = 8; case_height = arduino_nano_height + ...
glb/cad_fb995e91d8c1.glb
Create a Woodwork Clamp consisting of a main body and a hexagonal nut housing. Start with a base block that is 35mm thick, 40mm deep, and 15mm wide. From this block, remove a section to create a curved outer profile with a radius of 80mm and a straight inner edge, resulting in a shape that is 15mm wide at its narrowest...
rod_rad=6/cos(180/8); echo(rod_rad); nut_rad=22.5/2; nut_depth=10; thickness=35; depth=40; outside=15; extension=20; i_rad=20; o_rad=80; extension=10; up_piece=6; nut = true; module clamp_piece() { translate([-outside,-up_piece,0]) cube([outside+extension,depth+up_piece,thickness]); intersection() { differenc...
glb/cad_3c878f8df55f.glb
Create a low-poly soap tray consisting of two parallel side rails connected by ten perpendicular rungs. Construct the two side rails as mirrored components. Each rail should have a length of 115mm, a height of 8mm, and a thickness of 16mm. The profile of each rail is a rectangle with one long side and one short side ...
$fn = 4; leg = [ 115, 16, 8 ]; width = 80; dia = 5; rungs = 10; spacing = 10; eps = 1e-5; module side_leg() { rotate([90, 0, 0])linear_extrude(height=leg.z, center=true)translate([-leg.x / 2, -leg.y / 2])union() { square([leg.x, leg.y / 2]); translate([leg.y / 2, leg.y / 2])hu...
glb/cad_c6f7aa01539e.glb
Create a mount for a Fotek PS-05N inductive proximity sensor. Start with a base consisting of two cylinders with a radius of 6.2mm and a height of 3mm, positioned 10mm apart center-to-center along the Y-axis, joined by a rectangular block measuring 20mm wide, 3mm deep, and 3mm high. Attached to this base is a vertical ...
mount_top=20; mount_bottom=30; difference() { union() { hull() { translate([-5,0,0]) cylinder(r=6.2, h=3); translate([5,0,0]) cylinder(r=6.2, h=3); translate([-10,6.2,0]) cube([20,3,3]); } translate([-10,6.2,0]) cube([20,3,mount_bottom+4.5]); } translate([-5,0,0]) cylinder(...
glb/cad_3a6341561a43.glb
Create an Ordbot fan mount for a 40mm fan. Start by creating a rectangular base plate measuring 40mm wide, 4mm thick, and 2mm high. Within this base, center a circular cutout with a radius of 18.85mm that passes completely through the 2mm height. Add two circular mounting holes with a radius of 1.85mm; position the fir...
t = 0.35; fan_w = 40; fan_hole_cc = 32; fan_r = 37/2+t; fan_hole_xy = (fan_w-fan_hole_cc)/2; fan_hole_r = 3/2 + t; bd_l = 20; h = 2; module fanClip() { difference() { cube([fan_w, fan_hole_xy*2 ,2]); for(i = [0, 1]) { translate([fan_hole_xy+i*fan_hole_cc, fan_hole_xy, -1]) cylinder(r=fan_hole_r, h=h+2);...
glb/cad_f016666e0569.glb
Create a telescope eyepiece adapter consisting of two concentric cylindrical sections. The main body is a hollow tube with an outer diameter of 50.8mm (2 inches) and an inner diameter of 31.75mm (1.25 inches), extending to a total height of 30mm. At the base of this tube, add a wider cylindrical lip with an outer diame...
input_over_extrusion=0.1; input_outer_diameter_inches=2; input_inner_diameter_inches=1.25; input_lip_outer_diameter_inches=2.2; input_adapter_height=30; input_adapter_lip_height=10; input_screw_thread_d=2.86; $fn=300; adapter_2125_h=input_adapter_height; adapter_2125_id=input_inner_diameter_inches*25.4+input_ov...
glb/cad_03a549688d81.glb
Create a Parametric Hex Knurled Cap by starting with a main cylinder 15mm in diameter and 15mm in height. Remove a central vertical hole 4mm in diameter that extends through the center, but only penetrates 0.75mm into the bottom face. Above this hole, carve out a hexagonal socket with a flat-to-flat width of 7mm that e...
input_cap_od=15; input_cap_h=15; input_hex_w=7; input_screw_d=4; input_buffer_h=0.75; input_knurl_count=15; input_knurl_depth=1; $fn=100; difference() { cylinder(d=input_cap_od,h=input_cap_h); sides=6; angle=360/sides; hex_cube_w=input_hex_w/2*tan(angle/2)*2; color("purple") translat...
glb/cad_ac92c2b95f90.glb
Create a Beaglebone Black Slim Case consisting of a base and a lid. For the base, create a hollowed-out rectangular shell with rounded corners. The outer dimensions are 88.9mm by 56.4mm with a height of 11.2mm. The walls are 1.5mm thick. The interior cutout should mirror the outer shape with rounded corners. On the l...
Render_Options = 2; Lid_Options = 1; DevRails_Options = 0; include <BBB_SlimCase_v2_Library.scad> module Base() { union() { difference() { translate([-Case_Thickness-Case_Gap, -Case_Thickness-Case_Gap, -Case_Thickness]) { union() { roundCornersCube(Case_L-Case_LgCurve_R, Case_W, Case_Z, Case_SmCurve_R...
glb/cad_41c6c8204130.glb
Create an Arduino Uno tray by starting with a hollow rectangular box with outer dimensions of 73.5mm in length, 58.5mm in width, and 21mm in height. The walls and floor should be 2mm thick. Inside the tray, place four small cylindrical mounting pillars with a radius of 3mm and a height of 3mm. Position two pillars ne...
l=69.5; w=54.5; h=19; wt=2; usbW=13; usbH=11.8; usbOfs=9.5; fho=15.7; fhi=2.5; rho=1.6; rhli=17.33; rhri=8.33; pcW=9.74; pcH=12.5; pcOfs=41; pcbH=1.69; bottomBoardH = -h/2+1+1.5; difference(){ union(){ difference(){ cube([l+2*wt,w+2*wt,h+wt], center=true); translate([0,0,wt/2+0.01])cube([l,w,h], center=tr...
glb/cad_7c77ce2c98fb.glb
Create a Modular Pegboard Mounting Bracket by starting with a main outer block measuring 55mm in width, 55mm in height, and 8mm in depth. Hollow out the center of this block to create a shell with wall thicknesses of 1.5mm, leaving the back face solid. On the back surface, integrate four peg mounts arranged in a squar...
mountHeight = 55; mountWidth = 55; mountDepth = 8; wallThickness = 1.5; guideHeight = 50; guideWidth = 2; guideInset = 2; guideOffset = 0; squareZOffset = 0; squareXOffset = 0; pegSpacing = 25.4; holeSize = 5; boardThickness = 6; $fn = 40; railPos = [ -(mountWidth / 2) + wallThickness, -(wallThickness...
glb/cad_3a81401e2f68.glb
Create a glasses stand by constructing a main body that is 40mm long, 40mm wide, and 15mm tall. The primary shape is formed by the convex hull of a cylinder with a 15mm diameter and a 40mm height, and a rectangular block measuring 40mm by 0.1mm by 40mm. Hollow out the interior of this body by removing a smaller versi...
numberofglasses = 1; thickness = 2; bodylength = 40; module mainbody(){ render(){ hull(){ cylinder(d=15,h=bodylength,$fn=60); translate ([-20,39.9,0]) cube([40,0.1,bodylength]) ; } } } module mainhollow(){ render(){ hull(){ translate([0,-0.3*thickness,0]) cylinder(d=15-thickness,h=bodylength,$fn=60); translate ([0...
glb/cad_2e43dcf3561e.glb
Create a Rostock Universal Endstop Holder consisting of two symmetrical clips connected by a central mounting wall. Position two identical clips 59.7mm apart, center-to-center. Each clip is a hollow cylinder with an outer radius of 6.25mm and an inner radius of 4.25mm, and a total height of 16.5mm. Each clip must fea...
rod_dia=8.5; rod_distance=59.7; material_t=2.0; wall_t=5; holder_h=16.5; hole_dia=3; cut_in=1; wall_w=rod_distance-material_t*2+rod_dia/2-1; $fn=30; module hex_standoff(){ rotate([90,0,0]){ translate([-rod_dia*0.66,holder_h/2,0]){ difference(){ cylinder(r=holder_h/1.75,h=rod_dia+material_t,cente...
glb/cad_742e0f442417.glb
Create a CO2 holder replacement consisting of a main ring and a suction cup attachment. Start by creating a ring with an outer diameter of 41mm and a height of 15mm. Hollow out the center of this ring with a 37mm diameter hole. To create the grip features, add four small cylinders, each 3mm in diameter and 15mm long, p...
$fn=150; module ring() { module grip() { translate([0, -19, 0]) cylinder(h=15, d=3); } rotate(-10) grip(); rotate(35) grip(); rotate(145) grip(); rotate(190) grip(); difference() { union() { cylinder(h=15, d=41); translate([14, -12,...
glb/cad_61132535ed19.glb
Create an E3Dv6 Part Cooler consisting of a hotend clamp, a mounting plate, and a fan duct assembly. First, construct the hotend clamp as a block 32.29mm wide, 17mm deep, and 12.7mm high. Center a vertical cylinder with a 12mm diameter through the block, and add larger 16mm diameter relief cylinders at the top and bo...
include <../NopSCADlib/core.scad> include <../NopSCADlib/vitamins/blowers.scad> include <../E3Dv6_hotend/e3d_v6_all_metall_hotend.scad> deleteClamp = true; shroudType = 0; showBlower = false; showBlowerScrews = false; showHotend = false; lowerDuctX0 = -18; lowerDuctY0 = 24.5; lowerDuctZ0 = -24.5; lowerDuctX1 = ...
glb/cad_b389f238f2e6.glb
Create a Dillon casefeeder adapter consisting of a hollow cylindrical body with a stepped outer diameter. Start with a main outer cylinder 24mm in diameter and 57.35mm in height. Subtract a central bore with a diameter of 13.18mm (case diameter plus 2mm) running the full height of this section. At the top, create a soc...
case_diameter=11.18; case_length=22.86; module body(bore) { difference() { cylinder(h=57.35, d=24, center=false, $fn=35); cylinder(h=57.35, d=bore, center=false, $fn=100); cylinder(h=8.9, d=18.46, center=false, $fn=100); translate([0,0,8.9]) cylinder(h=2, d1=17.7, d2=bore, cen...
glb/cad_95609096f153.glb
Create a Single Wall Customizer by constructing a hollow rectangular box. Start with a solid rectangular prism that is 20mm long, 20mm wide, and 10mm high. From this solid, remove a smaller rectangular prism from the center to create a shell with a uniform wall thickness of 0.4mm on all four sides. This inner cutout sh...
height = 10; length = 20; width = 20; thickness = 0.4; difference() { cube([length,width,height]); translate([thickness,thickness,-1]) { cube([length-2*thickness,width-2*thickness,height+2]); } }
glb/cad_87b599db99bb.glb
Create a parametric tap center jig consisting of a cylindrical tower mounted on a circular base. Start by creating a wide, flat circular base with a diameter of 30mm and a thickness of 2mm. Centered on this base, add a vertical cylinder with an outer diameter of 10mm and a total height of 35mm. Finally, bore a concentr...
d_interior = 6.2; d_exterior = 10; h_total = 35; h_baza = 2; d_baza = 30; difference() { union() { translate([0, 0, h_total/2]) cylinder(h = h_total, r = d_exterior/2, center = true, $fn=50); translate([0, 0, h_baza/2]) cylinder(h = h_baza, r = d_baza/2, center = true, $fn=50); } translate([0, 0, h_total/...
glb/cad_8528b5bc4a39.glb
Create a circular raster for drying silica gel with an outer diameter of 235mm and a central hole with a diameter of 55mm. The overall height of the object is 20mm. The main body consists of a thin outer rim with a wall thickness of 4mm. The floor of the raster is a flat grid pattern. Construct this grid using a seri...
inner=55; outer=235; dira=1; cara=1.6; vyskacary=0.5; velikostsegment=40; zed=2; vyska=20; $fn=32; module plocha(w,h) { cast=dira+cara; pozice1=cara+dira/2; pozice2=w-cara-dira/2; difference() { translate([0,-h/2,0]) cube([w,h,vyskacary]); for (i = [-h/2+cara+dira:cast:h/2-cara-dira...
glb/cad_759aff20f199.glb
Create a distance ring for a food dehydrator consisting of two concentric thin-walled cylinders. The inner cylinder has a diameter of 251mm and the outer cylinder has a diameter of 258.2mm, both with a wall thickness of 1.6mm and a total height of 18mm. The ring features four identical support structures spaced evenl...
include <base/pipe.scad> thin=1.6; inner=255; $fn=128; vnejsi=inner+2+2*thin; vysecpumer=vnejsi/2+10; module zarazka(vyska) { rotate([90,0,0]) linear_extrude(height=thin) polygon([ [8.5,0], [8.5,vyska], [0,vyska], [0,8.5*cos(45)] ] ); } module inner() { translate([0,0,16/2]) p...
glb/cad_20b773a1a567.glb
Create a Calibration Wall by constructing a large outer cube measuring 25mm x 25mm x 15mm. From the center of this volume, remove a smaller rectangular block to create a hollow shell. This inner cutout should be centered and measure 23mm in width and depth, and 13mm in height. This results in a hollow rectangular conta...
nozzle_width=0.5; cube_xyz=[25,25,15]; multiplier=2; difference() { cube(cube_xyz,center=true); cube(cube_xyz-[nozzle_width*2*multiplier,nozzle_width*2*multiplier,-nozzle_width*2],center=true); }
glb/cad_8e1deda8fae3.glb
Create a bracket for securing a USB surge protector to an NXT brick. The overall height of the part is 7.75mm. Construct the main body as a composite of two primary sections. The first section is a rectangular base for the surge protector, measuring approximately 34.55mm wide and 23.7mm deep. Within this base, create ...
include <write.scad> tBracket = 3; hBracket = 7.75; lBracket = tBracket + 16.7/2 + 14.3 + 69 + tBracket; wBracket = tBracket + 3.5/2 + 3.55 + 22.5 + 3.55 + 3.5/2 + tBracket; rNxtCurve= 6; tol = 0.5; rotate(90,[0,0,1]) rotate(180,[1,0,0]) difference () { union() { hull() { translate([rNxtCurve-1+tBracket, lBr...
glb/cad_7f64bf4ef144.glb
Create an iPhone 6 Dock by starting with a solid base formed by the intersection of a cylinder with a radius of 35mm and a height of 75mm, oriented horizontally along the Y-axis, and a cube that bounds it to a semi-circular profile. Carve out a slot for the phone by creating a rectangular void 67mm wide, 8mm deep, an...
$fn = 200; r = 35; w = 75; iphone_w = 67; iphone_d = 8; iphone_tilt = 10; iphone_pos = 0.4; lightning_h = 25; lightning_w = 8.8; lightning_d = 5.8; cable_d = 4; cable_bend_r = 8; difference() { intersection() { translate([0, w/2]) rotate([90]) cylinder(w, r, r); translate([-r, -w, 0]) cube(2*w); } ...
glb/cad_c87015ec2c5d.glb
Create a Customizable Hex Key T Handle and Clip. First, construct the T-handle. Create a central cylindrical core with a diameter of 5mm (calculated from a 3mm hex key diameter plus 2mm thickness). Extend this core into a handle by adding two symmetrical arms. Each arm consists of a cylinder with a length of 35mm (ha...
part_render=1; hex_key_diameter=3; hex_key_short_length=23; handle_length=70; handle_thickness=7; resolution=55; $fn=resolution; if (part_render==1) { hex_key_t_handle(); translate([handle_thickness+2*hex_key_diameter+10,0,0])hex_key_clip(); } if (part_render==2) { hex_key_t_handle(); } if (part_render==3...
glb/cad_9e2682c381d6.glb
Create a parametric L-bracket consisting of two intersecting rectangular plates. First, construct a horizontal plate 20mm wide, 20.5mm long, and 2mm thick. Attach a second plate of the same width and thickness, 23mm long, positioned perpendicularly to the first to form a right angle. To reinforce the inner corner where...
w = 20; l = 20.5; h = 23; g = 2; hole_l = 13; d_hole_l = 4.5; hole_h = 14; d_hole_h = 5.5; r = 10; $fn=50; difference() { union () { translate([0, -l/2, g/2]) cube(size = [w,l,g], center = true); translate([0, -g/2, h/2]) cube(size = [w,g,h], center = true); } translate([0, -hole_l, 0]) cylinder(h =...
glb/cad_1bc8d69fa071.glb
Create a wood router table vacuum cleaner adapter consisting of a mounting base and a connecting pipe. Start by creating a rectangular base plate measuring 40mm by 45mm with a thickness of 3mm. At each end of the 40mm width, place a 2mm diameter hole passing through the plate. Attached to this base, construct two sym...
thickness = 3; rPipe = 35.2/2; hPipe = 35; lPart=40; bPart=45; angle=45; rScrew=2; $fn=128; rotate([90,0,0])linear_extrude(height=thickness,center=false) polygon(points=[[0,0],[0,lPart],[lPart,0]]); translate([0,bPart+thickness,0])rotate([90,0,0])linear_extrude(height=thickness) polygon(points=[[0,0],[0,lPart],[...
glb/cad_236d3ae04de3.glb
Create a Customizable Bayonet Ring cover ring. Start by constructing a hollow cylinder with an outer diameter of 57.5mm and a wall thickness of 2mm, extending to a total height of 5mm. To create the bayonet locking mechanism, add three rectangular lugs equally spaced around the outer circumference. Each lug should ha...
smooth=60; $fn=smooth; part=2; part_gap=0.25; i_tol=0.5; bore_idia=52.5; bore_id=bore_idia+i_tol; bore_wall=2; if (part>0) thread(body_id=bore_id, wall=bore_wall, gap=part_gap, body=part); module thread(thread_tip=1, thread_dep=1, body_id, wall, gap, body){ thread_hi=thread_tip+thread_dep*2; ring_hi=thread_t...
glb/cad_3b746b0c9705.glb
Create a center plate for a multirotor quadcopter frame by starting with a thin cylinder that has a diameter of 157.7mm and a height of 2.5mm. Remove material to create several sets of holes. First, create four shock dumper mounting holes with a diameter of 9mm, positioned at the coordinates (40, 32.5), (-40, 32.5), ...
baseHeight=2.5; baseDiameter=157.7; xAPMdumper = 80; yAPMdumper = 65; dumperDiameterhHole=9; lenghtBetweenx525Supports=77; x525NumberSupports=4; difference(){ centerPlate(baseDiameter,baseHeight,x525NumberSupports,lenghtBetweenx525Supports); union(){ dumperHoles(baseHeight,xAPMdumper,yAPMdumper); domeHoles(); ...
glb/cad_3cabe59ab060.glb
Create a center plate mount for an APM 2.5 flight controller. Start by constructing a main body that is a union of two cylinders with a total height of 30mm: one central hexagonal prism with a flat-to-flat diameter of 6.93mm (derived from a 6mm apothem), and a second outer cylinder that tapers from a radius of 0 at the...
height=30; hexKey=12; drill=3.3; baseRatio=1.4; washerHoleDiameter=7; washerHoleHeight=0.5; nutHoleHeight=4; nutHexKey=5.6; nutDiameter=(hexKey/2)/cos(30); externalDiameter=(hexKey/2)/cos(30); difference(){ union(){ cylinder(r1=0,r2=externalDiameter*baseRatio,h=height,$fn=50); cylinder(r=externalDiameter,h=heigh...
glb/cad_a0a289bfeaa2.glb
Create a center plate for an APM 2.5 mount with a rectangular base measuring 80mm by 65mm and a thickness of 2.5mm. The base should have rounded corners formed by a radius of 17mm. At each of the four corners, center a vertical hole with a diameter of 9mm that passes through the base. Around each of these holes, crea...
baseHeight=2.5; xBase = 80; yBase = 65; xAPMDrillHole = 61; yAPMDrillHole= 35.5; difference(){ union(){ base(xBase,yBase,baseHeight); APMplacementSpacer(xAPMDrillHole,yAPMDrillHole,baseHeight); } union(){ nutHoles(xAPMDrillHole,yAPMDrillHole); drillHoles(xAPMDrillHole,yAPMDrillHole,3,100); } } module base...
glb/cad_9a492d4a3375.glb
Create a simple customizable comb by starting with a rectangular base measuring 100mm in length, 20mm in width, and 3mm in height. Along the top edge of the base, add 10 evenly spaced teeth. Each tooth should be a cylinder with a length of 20mm, positioned to extend from the base. The cylinders must be oriented horizon...
comb_length = 100; comb_width = 20; comb_height = 3; $fn = 50; Text = "3Ding" ; tooth_length = 20; tooth_amount = 10; tooth_radius_bottom= comb_height/3; tooth_radius_top= tooth_radius_bottom*0.75; union () { color ("LightSkyBlue") { cube ( [comb_length,comb_width,comb_height] ); y=comb_width-0.3; z=comb_height/2;...
glb/cad_8f89aaa4356c.glb
Create a battery holder for an x525 quadcopter frame. Start with a rectangular base measuring 95mm long, 50mm wide, and 2mm thick. On the top surface of this base, add two vertical walls that are 3mm thick and 25mm high. Position these walls so that the space between them is 51mm wide, centered along the length of the ...
largo=95; ancho=50; alto=2; ancho_bateria=51; alto_bateria=25; ancho_pared=3; desplazamiento_pared=(largo-ancho_bateria-(2*ancho_pared))/2; cota_x_entre_taladros=72; cota_y_entre_taladros=32; cota_x_entre_velcro=40; difference(){ union(){ cube([largo,ancho,alto]); translate([desplazamiento_pared,0,alto]) cube([...
glb/cad_e1f690c3b0f7.glb
Create a six-sided die by starting with a cube 25mm on each side. Soften the edges and corners of the cube by intersecting it with a sphere of approximately 21.65mm in diameter, creating a slightly rounded, organic cubic shape. On each of the six faces, engrave a word using a bold sans-serif font with a height of 5mm...
cubeSize = 25; rounding = 0.5; topWord = "top"; frontWord = "front"; backWord = "back"; bottomWord = "bottom"; leftWord = "left"; rightWord = "right"; font = "sans-serif:style=bold"; fontSize = cubeSize / 5; difference() { intersection() { cube(cubeSize, true); sphere(cubeSize * (sqrt(3) / 2) * ...
glb/cad_c09a33be11e8.glb
Create a Power Stick motor and battery housing. Start by constructing a main body using a hull of four cylinders with 5mm radii, positioned at the corners of a 30mm by 30mm square and extending to a total length of 142.5mm. From this body, remove a central rectangular cavity measuring 60mm in depth, 33mm in width, an...
depth_motor = 40; dia_motor = 30; width_button = 12.5; length_button = 20; width_battery = 33; length_battery = 33; depth_battery = 60; overall_length = depth_battery+depth_motor+width_button+10; difference(){ hull(){ rotate([0,90,0])translate([-15,-15,0])cylinder(r = 5, h = overall_length, center = false); ro...
glb/cad_1d2d1c620b6a.glb
Create a rotating cord clip replacement consisting of a central shaft and an attached hub. Start by creating a hollow vertical cylinder with an outer diameter of 21mm and a height of 22.6mm. At the top of this cylinder, add a wider lip with a diameter of 23.4mm and a height of 4mm. Attached to the base of the shaft, c...
$fa = .5; $fs = .5; SHAFT_D = 21; SHAFT_H = 22.6; SHAFT_INNER_DIF = 2.0; SHAFT_LIP_BASE_D_ADD = 1.2; HUB_D = 29; HUB_H = 9; HUB_L = 50; TIP_H = 4; TIP_D = SHAFT_D - SHAFT_INNER_DIF; FUDGE = .6; BRIDGE_THICKNESS = 3; CUT_X = 11; CUT_Y = 11; CUT_Z = BRIDGE_THICKNESS + FUDGE; KEY_X = CUT_X - FUDGE; DENT_H = 2.1; mod...
glb/cad_450e7114c97f.glb
Create a shave gel stand by constructing a shallow cylindrical container. Start with a solid cylinder that has a radius of 28.3 mm and a height of 10 mm. From the center of this cylinder, remove a smaller concentric cylindrical volume to create a hollow well. This inner cutout should have a radius of 26.3 mm and a heig...
rad=(52.6/2); $fn=100; module cap() { difference() { cylinder(h=10, r=rad + 2); translate([0, 0, 10-7.5]) { cylinder(h=7.5, r=rad); } } } cap();
glb/cad_61793c9a1802.glb
Create a rear lens cap for a Mamiya TLR lens. The main body is a hollow cylinder with an inner diameter of 31mm and a height of 7.3mm. The walls of this cylinder should have a thickness of 1.4mm. At the base of the cylinder, add a flat circular disk that serves as the cap's bottom. This disk should extend beyond the ...
$fn=120; nd = 0.7; n = 2; tl = n * nd; h = 7.3; lens_focal_length = 1; front_rear = 1; dr = 2; rim = 2; dims = [ [[48,97.9], [31, 80.9]], [[50,99.9], [31, 80.9]], [[48,97.9], [31, 80.9]], [[48,97.9], [31, 80.9]], [[48,97.9], [38.4, 88.3]], [[50,99.9], [38.4, 88.3]], [[50,99.9], [38....
glb/cad_75d045adb68d.glb
Create a battery organizer insert for a storage bin. Start with a solid rectangular block that is 140mm long, 104.5mm wide, and 50mm high. Hollow out the center of this block by removing two smaller rectangular volumes from the top: the first is 138mm long, 52.5mm wide, and 54mm deep, positioned 1mm from the front and ...
$fn=50; length = 140; box1_width = 51.5 +1; box2_width = 51.5 +2; height = 50; radius = 9; difference() { cube([length,(box1_width+box2_width),height],0); color("green") translate([1,1,1]) cube([length-2,(box1_width-1),height+4],0); color("blue") translate([1,(box1_width+1),1]) cube([length-2,(box2_width-2),height+4...
glb/cad_f3d053f1a2b8.glb
Create a battery insert for a Sterilite bin by starting with a solid rectangular block 140mm long, 95mm wide, and 50mm high. Carve out two adjacent rectangular compartments from the top of the block. The first compartment should be 138mm long, 45mm wide, and 54mm deep, positioned 1mm from the left and front edges. The ...
$fn=50; length = 140; box1_width = 45 +1; box2_width = 49 +2; height = 50; radius = 9; difference() { cube([length,(box1_width+box2_width),height],0); color("green") translate([1,1,1]) cube([length-2,(box1_width-1),height+4],0); color("blue") translate([1,(box1_width+1),1]) cube([length-2,(box2_width-2),height+4],0)...
glb/cad_ac6cff3418f7.glb
Create a washer plate for a sensor support by constructing a thick, hollow cylinder. The outer diameter of the cylinder should be 3mm and the total height should be 2mm. Centered vertically and horizontally, remove a cylindrical core with a diameter of 2mm to create a ring. Ensure the geometry is smooth by using a high...
scheibe_durchmesser = 3; scheibe_height = 2; loch_durchmesser = 2; roundness = 600; difference() { cylinder(d=scheibe_durchmesser, h=scheibe_height, $fn=roundness, center=true); cylinder(d=loch_durchmesser, h=scheibe_height+1, $fn=roundness, center=true); }
glb/cad_a8060d1c0bed.glb
Create a box for a MkPac electronic device. The overall outer dimensions are 64mm wide by 49mm long. The box is constructed in three vertical sections. The base section is a 3mm thick slab with rounded corners (radius 3mm). Remove a central rectangular area of 53mm by 43mm from the top of this slab. Additionally, remo...
$fs = 0.15; $fn = 100; pac_width = 60; pac_length = 45; pac_height = 1; pac_outx = pac_width +4; pac_outy = pac_length +4; pac_wx = 53; pac_wy = 43; pac_inx = pac_width +0.4; pac_iny = pac_length +0.4; layer1 = 3; layer2 = pac_height + 0.5; layer3 = 6; button_y_offset = 8; r = 3; main(); module main(){ bottom...
glb/cad_0e20588f1535.glb
Create a belt clamp and adjuster consisting of a bolt and a nut. First, create a bolt using an M7 thread profile with 8 turns. The bolt's outer diameter should be 1.2 times the thread specification. To accommodate a GT2 belt, create a longitudinal cutout through the center of the bolt that is 8mm wide (6mm belt width...
use <threadlib/threadlib.scad> use <parametric_timing_belt/timing_belts.scad> my_belt_profile = 0; my_belt_width = 6; my_belt_oversize = 2; type = "M7"; turns_bolt = 8; turns_nut = 10; hexagon_height = 6; hexagon_wrenchsize = 9; hexagon_cutaway_diameter = 8; Douter = thread_specs(str(type, "-int"))[2] * 1.2;...
glb/cad_d0afa26aac87.glb
Create a Mask Ear Saver consisting of a curved main band and several small attachment hooks. Start by creating a curved arc with a radius of 70mm, a thickness of 1.6mm, and an extrusion height of 5mm. The length of this main arc should be 150mm. On the left end of the arc, add one hook. This hook is a smaller arc with...
radius = 70; width = 1.6; heigh = 5; length = 150; hook_radius = 2.5; abstand_in_mm = 15; l_hooks = 1; left_open = false; r_hooks = 4; right_open = false; umfang = radius*2*PI; abstand = abstand_in_mm*360/umfang; angle=length*360/umfang; angles = [90-angle, 90]; fn = 360; r_haken_angles = right_open ? [-90...
glb/cad_b6777f84430f.glb
Create a key holder consisting of a rectangular base with seven protruding hooks. Start by creating a rectangular slab measuring 180mm in length, 30mm in width, and 3.4mm in height. Drill two vertical holes completely through the slab, each with a radius of 1.25mm; position one hole centered along the width at the far ...
module key_hook(x_size, y_size, z_size, hook_size, nb_hooks) { hook_radius = 2.5; hook_angle = 35; hook_space = (x_size - (nb_hooks * hook_radius * 2)) / (nb_hooks); echo(hook_space); union(){ difference() { cube([x_size, y_size, z_size], center = false); translate([...
glb/cad_09cc2375fd16.glb
Create an Extra Spiky Corner Guard by starting with a central cube that is 32mm on all sides, centered at the origin. Intersect this cube with a larger 35mm cube that is rotated 45 degrees on the X-axis and approximately -35.26 degrees on the Y-axis. To create the spikes, add three identical rectangular prisms, each ...
c = 35; t = 1.5; s = 3.5; intersection() { rotate( [ 45, -asin( 1 / sqrt( 3 ) ), 0 ] ) difference() { union() { cube( [ c, c, c ], center = true ); translate( [ 1, 1, 1 ]*(c/4.5) ) for ( a = [ 0, 120, 240 ] ) rotate( a, [ 1, 1, 1 ] ) translate( [ 0, 0, 1 ] * (6.5*c/35) ) rotate( [ 45, asin( 1 / sqrt(...
glb/cad_c32f6f5db794.glb
Create a Swiss Army style keyring side with a total length of 78mm, a width of 22mm, and a thickness of 12mm. The main body should have rounded ends and edges with a curvature radius of 3.5mm. Pierce three vertical holes through the body for screws: one at the center and two positioned 6.5mm from each end. Each of th...
include <functions.scad>; bodyLength = 78; bodyWidth = 22; curvatureOfEdges = 3.5; curvatureResolution = 20; screwHoleSize = 4; screwHeadSize = 6; sideThickness = 6; cutoutOffset = 12; keyHoleOffset = 6.5; logo = 1; renderNutHoles = 0; difference() { minkowski() { hull() { translate([bodyWidth/2,0,0]) c...
glb/cad_8e5b1de1aa48.glb