Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a Customizable Pushpin Shuriken by starting with a central cylinder 50mm in diameter and 4mm thick. Remove a smaller concentric cylinder from the center with a diameter of 20mm to create a ring. To form the points, create four identical protrusions spaced equally every 90 degrees around the perimeter. Each pro...
shuriken_w = 4; shuriken_points = 4; shuriken_dia = 50; middle_hole_dia = 20; tolerance = 0.2; module shuriken() { difference() { cylinder(r=shuriken_dia/2, h= shuriken_w, center=true); for(x=[0:shuriken_points -1]) { rotate([0,90,360/shuriken_points*x]) tran...
glb/cad_9bb157677cf8.glb
Create two identical knitting needles and two matching protective caps. Each needle consists of a main cylindrical body with a diameter of 5mm and a total length of 250mm. The body remains a constant 5mm diameter for most of its length, ending in a tapered tip that transitions from the 5mm body diameter down to a 1mm d...
$fn = 100; BODY_LENGTH = 250; BODY_DIAMETER = 5; TIP_TAPER_LENGTH = 15; TIP_DIAMETER = 1; SLEEVE_LENGTH = 3; SLEEVE_THICKNESS = 1; TOP_DIAMETER = 10; TOP_THICKNESS = 1; TWO_NEEDLES = true; translate(v = [BODY_DIAMETER / 2, BODY_DIAMETER / 2, 0]) { needle(); } if(TWO_NEEDLES) { translate(v = [-(BODY_DIAMETER / 2), -...
glb/cad_b2c8a10ef49d.glb
Create an Open Pick-N-Place Tape Feeder consisting of a tape guide, a feeder gear, and a lever mechanism. First, construct the tape guide. Create a base plate 38mm long and 8mm wide to accommodate the tape. Incorporate a central channel for the tape and a circular cutout with a radius of approximately 6.36mm to house ...
PI=3.14159265; tape_w = 8.0; tape_thickness = 0.9; tape_pitch = 4.0; tape_pad_w = 3.0; tape_pad_h = 2.0; gear_num_spokes = 20; gear_spike_w = 1; gear_spike_l = 1.0; gear_thickness = 1; gear_hole_dia = 2.85-0.2-0.05; gear_y_adjust = 1.8; guide_l = 38; guide_spacing1 = 0.0; guide_spacing2 = 1.1; level_knee_angle = 12...
glb/cad_2557d1d7c225.glb
Create a Yazzo Triple Rod Mounted Socket. Start by creating a central hollow cylinder with an outer radius of 10.39mm (calculated as 5/16" * 1.618) and an inner radius of 4.94mm (5/16"), with a total length of 32.36mm. This cylinder should be centered on the Y-axis. To this central tube, add a disc-shaped body with a ...
goldenratio = 1.61803399; joinfactor = 0.125; gBarIR = 5/16/2*25.4; gBarOR = gBarIR*goldenratio; gBarLength = 22; gBallRadius = 20/2; gMountLength = gBallRadius*2*goldenratio; gDoubleMountLength = gBallRadius*2*goldenratio*goldenratio; rodmountedsocket_triple(gBarIR*1.08, gBarOR, gDoubleMountLength, gBallRadius); m...
glb/cad_8f2c9f2847c3.glb
Create a Kossel Mini round bed mount for a tactile switch. Start with a base that combines a cylinder of radius 13.8mm and height 10mm with a rectangular section. From this main body, remove a central cylindrical volume with a radius of 85mm and a height of 3.5mm to accommodate the glass bed. Create a mounting hole fo...
$fn = 128; $bed_radius = 170 / 2; $bed_thickness = 3; $bolt_hole_radius = 3.2 / 2; $bolt_head_radius = 6 / 2; $bolt_hole_length = 15; $button_width = 6.3; $button_height = 3.5; $button_hole_radius = 1; $bolt_head_clearance = 3; $mount_width = 27.6; $spring_hole_depth = 3.5; $spring_hole_radius = 5.5 / 2; $bed_pad_leng...
glb/cad_e310b990e097.glb
Create a Makerslide belt clip by starting with a base rectangular plate measuring 27.5mm by 15mm with a height of 1.5mm and corner radii of 4mm. From this base, remove three specific geometric cutouts. First, create a circular hole with a radius of 2.75mm centered at coordinates (20, 7.5). Second, create a rounded rect...
beltwidth = 9; thickness = 1.75; module roundedRect(size, radius) { x = size[0]; y = size[1]; z = size[2]; linear_extrude(height=z) hull() { translate([radius, radius, 0]) circle(r=radius, $fn=20); translate([x - radius, radius, 0]) circle(r=radius, $fn=20); translate([x - radius, y - radius, 0]) circle...
glb/cad_483ffb44c192.glb
Create a set of nine identical burr puzzle pieces. Each piece begins as a rectangular prism with a total length of 60mm (composed of 6 segments of 10mm), a width of 12mm, and a height of 12mm. To ensure a proper fit, apply a tolerance offset of 0.3mm to the dimensions. For each piece, modify the geometry by removing 1...
length = 10; size = 6; tolerance = 0.3; bevel_radius = 0.3; distance = 2*size + 2; burr_piece(size, length, tolerance, bevel_radius, [[0,0,1,1],[0,0,1,0],[0,0,1,1],[0,0,1,1],[0,0,1,0],[0,0,1,1]]); translate([0,distance ,0]) burr_piece(size, length, tolerance, bevel_radius, [[1,1,1,1],[1,0,1,1],[0,0,1,0],[0,0,1,0],[0,...
glb/cad_784b254be219.glb
Create a Tablet Wall Mount consisting of a bottom support and a top retaining clip, both 20mm wide and 6mm thick, designed to hold a tablet measuring 192mm wide, 117mm high, and 9mm thick with 2mm rounded edges. The bottom support is a rectangular block 20mm wide, 6mm thick, and 42mm long. The top clip is positioned ...
angle=10; wall_distance = 1; width=192; height=117; thick=9; edge_radius=2; holder_thickness = 6; holder_width = 20; holder_mount_length = 42; gap_y=(sin(angle)*height)+wall_distance; gap_z=(cos(angle)*height); ho_bo_dis = gap_y+thick; difference() { union() { translate([0, 0, holder_mount_length/2]) ...
glb/cad_76c5450f2948.glb
Create a Customizable Wall Clock consisting of a main circular body and a separate rectangular motor housing. The main body is a flat disc with a radius of 35mm and a thickness of 2mm. Construct the face of the clock by creating a large gear with 576 teeth and a circular pitch of 33mm. From this gear, remove a concen...
use <write/Write.scad>; use <MCAD/gears.scad>; schedule = [[6.75,"wake up/dress/breakfast"],[7.75,"bus <"],[8.1,"school <"],[14.5, "snack <"],[15, "homework <"],[16.5, "Minecraft <"],[17.5, "play <"],[18.5, "get ready <"],[19, "dinner <"],[20, "bed time <"],[21, "asleep ;)"],[0,"midnight <"],[12,"noon <"]]; name = "<...
glb/cad_eb16b68ef1c2.glb
Create a flexible shaft coupling consisting of a main cylinder with a height of 11.3mm and a radius of 3.2mm. Bore a hole through the center of this cylinder with a radius of 2.3mm, leaving a solid wall at the top 2mm of the object. Around the outer perimeter, add eight rectangular protrusions, each 1.5mm long and 1mm ...
$fn=50; cylinder_height=11.3; cylinder_radius=3.2; top_height=2; remove_radius=2.3; nubby_length=1.5; nubby_width=1; nubby_distance_from_center=3; difference() { cylinder(h=cylinder_height,r=cylinder_radius); cylinder(h=cylinder_height-top_height,r=remove_radius); } for (i = [0:8]) { rotate(i*360/8,[0,0,1]) { ...
glb/cad_8b48621a39d6.glb
Create a 3D Pacman keyring by starting with a sphere 30mm in diameter. Remove a 60-degree wedge from the sphere, centered on the Z-axis and extending 30mm deep, to create an open mouth. Add two smaller spheres, each 5mm in diameter, to serve as eyes; position one at coordinates [0, 20, 20] and the other at [0, 20, -20]...
include </home/neal/Documents/3d Models/wedge.scad> difference() { sphere(30); translate([0,0,-30]) wedge(60,30,60); translate([0,20,20]) sphere(5); translate([0,20,-20]) sphere(5); } difference() { translate([-22,25,-2]) cylinder(4,6,6); translate([-22,25,-2.5]) cylinder(6,4,4); }
glb/cad_65e02031142b.glb
Create a Spool Foot base for a filament spool. Start with a central rectangular base plate measuring 144mm in length, 16mm in width, and 4mm in height. The ends of this base are rounded with a radius of 14.4mm. Remove a central channel from the bottom of the base that is 86.4mm long, 5.33mm wide, and 4mm deep, with rou...
bear_spread = 100; bear_sep = 10; bear_dia = 24; axle_dia = 8.1; hold_l = bear_dia+20; hold_w = 4; hold_h = bear_dia+(bear_dia/2); base_l = bear_spread+(hold_l*2); base_w = bear_sep+(hold_w*2)-4; base_h = 4; main_l = (base_l/5)*3; main_w = base_w; main_h = base_h; cuto_l = (base_l/5)*3; cuto_w = base_w/3; cuto_h =...
glb/cad_f214ece637b6.glb
Create a child safety latch consisting of a flat rectangular frame with two circular ends. The main body is a flat plate 5mm thick, 80mm long between the centers of the end knobs, and approximately 10mm wide. At each end of the frame, create a cylindrical knob. The latching end on the left is a cylinder with a 10mm d...
$fn=30*1; use <utils/build_plate.scad> build_plate_selector = 0; build_plate_manual_x = 100; build_plate_manual_y = 100; build_plate(build_plate_selector,build_plate_manual_x,build_plate_manual_y); knob_diameter=10; knob_distance=80; translate([0,0,2.5]) safety_clip(length=knob_distance, knob_d=knob_diameter); ...
glb/cad_64d88164566a.glb
Create a 250 Quad LED Arm Mount consisting of two rectangular prisms joined together. First, create a wide, thin base plate measuring 8mm wide, 50mm long, and 1mm high. Centered on top of this base, add a second rectangular prism that is 2mm wide, 50mm long, and 4mm high. Position this second prism so that it starts 3m...
cube([8, 50, 1]); translate([3,0, 1]) cube([2, 50, 4]);
glb/cad_f4aa1d3e355c.glb
Create a teeny-tiny putty knife by combining two thin rectangular prisms. First, create a base rectangular prism that is 50mm long, 10mm wide, and 1mm thick, centered on the origin. Then, create a second rectangular prism that is 30mm long, 15mm wide, and 1mm thick. Position this second prism so its center is offset 15...
cube([50,10,1], center = true); translate([15,0,0])cube([30,15,1], center = true);
glb/cad_8a3104c62739.glb
Create a Rollerstruder filament feeder consisting of a main body, a motor mount, and a hinged idler arm. The main body is a vertical structure 22mm high. At its center, create two aligned holes for 608 bearings (22mm outer diameter, 8mm inner diameter) with a 7mm thickness each. The bottom bearing hole should have a ...
include <rollerclamp.scad> include <um_hooks.scad> $fn=0; $fa=1; $fs=0.5; tol=0.02; print_layer_w= 0.8+tol; print_layer_th= 0.2; wall_th= 4; hair_tube_d= print_layer_th/2 - tol; debug_what="all"; body_height= 22; axis_to_axis= 38; m3_d= 3; m3_d_tight= 2.9; m3_nut_d= 6; m3_head_h= 1.6; m3_head_d= 5.5; m3_nut_h= 2....
glb/cad_53ae8192271d.glb
Create a Rollerstruder filament feeder consisting of a rectangular base and a cylindrical upper housing. Start with a square base block measuring 23mm by 23mm with a height of 6mm. Centered on top of this base, create a cylindrical body with an outer diameter of 17mm and a height of 6mm. Through the center of the enti...
$fn=50; PI=3.141592; tol=0.1; base_tol=0.15; fitting_d= 0*(9.5 - 0.5); fitting_h= 6; m3_head_d= 5.5; m3_head_h= 1.6; m3_d_tight= 3 - 0.15; bowdenplug_bowden_diam= 6.15; bowdenplug_bowden_inner_diam= 4; bowdenplug_filament_tube= bowdenplug_bowden_diam + 0.1; bowdenplug_diameter= 20; bowdenplug_body_unused_thread_h...
glb/cad_70795f233f0a.glb
Create a MatterControl Touch mount consisting of three main components: a mount, an arm, and two clips. First, create the mount as a block 35mm long, 15mm wide, and 5mm thick. Add a central rectangular section 23mm long, 15mm wide, and 15mm high on top of the block. Add a horizontal cylinder with a 7.5mm radius and 25...
module clip(height=3) { difference() { union() { cube([127.5,17,height]); translate([127.5,-15,0]) cylinder(height,r=20,$fn=32); translate([51.5,15,0]) rotate([0,0,-60]) cube([5,55,height]); translate([116.5,13,0]) rotate([0,0,30]) cube([5,30,height]); ...
glb/cad_4a6cd54108ba.glb
Create an FSR mount for a Kossel Mini by starting with a main cube that is 18mm wide, 18mm deep, and 15mm high. Attach a rectangular lip to one side of this cube that extends 10mm outward, is 18mm wide, and 5mm high. On the top face of the main cube, center a circular hole with a diameter of 19.1mm and a depth of 2mm...
fsr_diam = 19.1; cube_side = 18; beam_height = 15; screw_diameter = 3; difference() { solid(); translate([cube_side/2,cube_side/2,beam_height-1]) rotate([0,0,270]) fsr(); translate([0,cube_side/2,beam_height/2]) m3 (); } module solid () { cube([cube_side,cube_side,beam_height]); translate([cube_side,0,0]) cube([10,c...
glb/cad_ae848555576c.glb
Create an FSR mount for a Kossel Mini consisting of two primary components: a sensor holder and a mounting bracket. First, construct the sensor holder as a cube with a side length of 18mm and a height of 20mm. On one side of this cube, add a rectangular lip measuring 10mm by 18mm with a height of 5mm to support a hea...
fsr_diam = 19.1; cube_side = 18; beam_height = 15; screw_diameter = 3; bracket_width = 50; fsr_holder (); translate ([-10,0,-beam_height]) bracket (); module glass () { translate([85,cube_side/2,beam_height+5]) cylinder (h = 4 , d = 170, $fn =128); } module openbeam () { translate([-beam_height,-50,0]) cube([beam_hei...
glb/cad_15aec9554e52.glb
Create a GoPro Hero 3 protective frame. Start with a main rectangular body measuring 62.45mm x 45.15mm x 21.2mm. Remove a central rectangular block of 59.2mm x 41.9mm x 21.2mm to create a hollow shell with a wall thickness of 3.25mm. On the bottom face, create a gap 3mm wide and 32mm long centered on the edge. On the ...
gpx = 59.2; gpy = 41.9; gpz = 21.2; gpww = 3.25; kpr = 10.0; difference() { translate([0,0,0]) { cube([gpx+gpww,gpy+gpww,gpz],center=true); } translate([0,0,0]) { cube([gpx,gpy,gpz],center=true); } translate([0,-22.5,0]) { cube([3,4,32],center=true); } translate([-30,-10.5,0]) { rotate([0,90,0]) ...
glb/cad_39dd24d0e548.glb
Create two identical spool holder brackets. Each bracket consists of a base clip and a top axle holder. For the base clip, create a cylindrical sleeve with an outer diameter of 18.6mm and an inner diameter of 12.6mm, with a height of 12.6mm. Attach this sleeve to a custom-shaped chassis base. The base is a flat profil...
part = "both"; shaft_diameter_h = 12.6; shaft_diameter_v = 12.6; wall_thickness_h = 2; wall_thickness_v = 3; wall_thickness_c = 1.5; cradle_height = 5; min_length_h = 20; shaft_depth = max(wall_thickness_v * 2 + shaft_diameter_v, min_length_h); print_part(); module print_part() { if (part == "clip") { clip...
glb/cad_d351102a4745.glb
Create a Kossel Mini effector for an E3D-v6 hotend. The main body is a cylindrical disk with a total height of 8mm. At the center, create a vertical cylindrical hole with a radius of 8.1mm to accommodate the hotend. The top surface of the effector is flat, but the bottom is modified to facilitate printing and assembl...
include <configuration.scad> use <effector.scad>; separation = 40; offset = 20; hotend_radius = 8.1; height = 8; difference(){ lip(); lip_remove(); } original(); top(); module original() { difference() { rotate([0,0,60]) translate([0,0,-height/2]) effector(); hull() { translate([0,0,-height/2]) cylinder(height+1,ho...
glb/cad_dc3d5ec06e15.glb
Create a Kossel Mini effector for an E3D-v6 hotend. Start with a main cylindrical body that has a radius of 20mm and a height of 8mm. Remove the top half of this cylinder to create a semi-circular base. In the center of this base, create a vertical cylindrical hole with a radius of 8.1mm to accommodate the hotend. Add...
include <configuration.scad> separation = 40; offset = 20; hotend_radius = 8.1; height = 8; difference() { cylinder(40,offset-3,0, $fn=60); translate([0,0,height]) cylinder(20,20,20); translate([-20,-0.5,0]) cube ([40,20,10]); cylinder(40,hotend_radius,hotend_radius); translate([-hotend_radius-3,-10,height/2]) rotate...
glb/cad_647a72b71fe2.glb
Create a 3D puzzle called the Egg of Columbus. Start by constructing the base shape: a flat, egg-like profile with a height of 5mm. This profile is formed by the intersection of two cylinders, each with a radius of 119mm (calculated as $2 \times 60 - 1$), centered at x = -60 and x = 60 respectively. Refine this shape b...
size=60; height=5; cut_width=2; egg_of_columbus_puzzle(size, height, cut_width); module egg_of_columbus_puzzle(size, height, cut_width) { small_circle_radius = 2-sqrt(2); difference() { egg(size, height, cut_width); cube([5*size,cut_width,3*height],center=true); translate([0,2.5*size,0]) cube([cut_wid...
glb/cad_0dea06671fc3.glb
Create a Cross Puzzle business card. The overall footprint is a rectangle 90mm by 55mm with a thickness of 2mm. Construct a thin outer border wall 2mm thick around the perimeter. Inside this border, create a puzzle consisting of several geometric pieces separated by 2mm gaps. The puzzle pieces include four identical ...
use <utils/build_plate.scad> cardHeight = 90; cardWidth = 55; cardThickness = 2; cardWall = 2; gap = 2; cardText1 = "Use these"; cardText2 = "pieces"; cardText3 = "to make"; cardText4 = "a cross"; longLine = "no"; longLineText = "I_Rock@me.com"; invertText = "no"; layerHeight = 0.4; wideSupports = "no"; build_...
glb/cad_7aa0949fc89f.glb
Create a Customizable 3D Printed Rifle Target consisting of a combined circular disk and rectangular base. First, create a cylinder with a radius of 40mm and a height of 5mm. Attached to this cylinder, position a rectangular block that is 100mm long, 30mm wide, and 5mm thick. The block should be centered along the Y-ax...
$fn=100; target_size=80; target_thickness=5; bottom_length=100; difference() { union() { cylinder(h=target_thickness,r=target_size/2); translate([target_size/2.5,-15,0])cube([bottom_length,30,target_thickness]); } }
glb/cad_2e3c7452a024.glb
Create a Customizable 3D Printed Rifle Target consisting of a tiered rectangular base with a central slot. Start by creating a wide, flat rectangular base measuring 80mm in length, 60mm in width, and 5mm in height. Centered atop this base, add a second rectangular block that is 30mm long, 50mm wide, and 20mm high. Fina...
$fn=100; width=60; length=80; total_height=25; hole_thickness=5.25; difference() { union() { translate([-75,-30,0])cube([length,width,total_height/5]); translate([-45,-25,0])cube([length-50,width-10,total_height/1.25]); } rotate([0,90,0])translate([-105,-15,-30])cube([total_height*4,width/1.98347107,5.25]); }
glb/cad_570bcdaf3f2d.glb
Create a Customizable Ground Spike Rifle Target consisting of a circular face and a tapered spike. Start by creating a thin, flat cylinder for the target face with a radius of 50mm and a thickness of 2mm. Attach a conical spike to the back of this face, extending 60mm outward. The spike should be a cone that tapers fro...
$fn=100; target_size=50; target_thickness=2; spike_length=60; spike_bottom_thickness=.5; difference() { union() { cylinder(r1=target_size,r2=target_size/1.1,h=target_thickness); rotate([90,0,90])translate([0,0,target_size-10])cylinder(r1=target_thickness*2.5,r2=spike_bottom_thickness,h=spike_length); translate([target_...
glb/cad_28cd094d65cd.glb
Create a PTFE holder consisting of a central cylindrical body with two side attachments. The main body is a cylinder with a height of 15mm and an outer diameter of 18.3mm. Bore a central vertical hole through the entire height with a diameter of 4.5mm. At the top of this central cylinder, create a threaded internal hol...
use <MCAD/hardware.scad> myrodsize = 10.5+(9.4-8.3); myrodpitch = 0.907; con_thr_h = 9; tube_dia = 4.5; clamp_h = 15; bolt_h = 10.3; test = 0; tube_ext_dia = myrodsize + 8; module bowden_clamp( bolt_dia, bolt_to_center_left , bolt_to_center_right ) { bolt_ext_dia = bolt_dia + 10; huge = (bolt_to_center_left+bo...
glb/cad_8487877a7f24.glb
Create a WALLY wall plate customizer. Start with a main rectangular plate with a thickness of 6mm. The overall height is 114.3mm. The width varies based on the gang size, with a standard single gang width of 69.86mm. The plate features a recessed inner area created by subtracting a slightly smaller rectangular volume ...
plate_width = 1; plate_size = 0; 1st_plate = "none"; 1st_plate_bottom_hole = "none"; 2nd_plate = "none"; 2nd_plate_bottom_hole = "none"; 3rd_plate = "none"; 3rd_plate_bottom_hole = "none"; 4th_plate = "none"; 4th_plate_bottom_hole = "none"; 5th_plate = "none"; 5th_plate_bottom_hole = "none"; module GoAwayCu...
glb/cad_3732f0fcb8c5.glb
Create a 3D mechanical keyboard plate by starting with a solid rectangular base measuring 25mm by 24mm with a thickness of 1.3mm. Centered within this base, remove a square section measuring 14.2mm by 14.2mm that extends through the entire thickness of the plate, leaving a consistent border around the central opening.
difference() { cube([25,24,1.3]); for(i= [0 : 5]) { translate([5,5,-1]) cube([14.2,14.2,10]); } }
glb/cad_06c2c536bf6c.glb
Create a 3D mechanical keyboard chassis. Start with a top plate measuring 90mm by 250mm with a thickness of 1.5mm. In this plate, create a grid of 36 square holes for switches, each 14.1mm by 14.1mm and 3mm deep. The holes should be arranged in 3 columns of 12, spaced 20mm apart. Build a hollow base beneath the top pl...
difference() { union() { difference() { cube([90,250,1.5], center=true); for( i = [1 : 12] ) for(j= [0 : 3]) { translate([30-j*20, i*20-130, 0]) cube([14.1,14.1,3], center=true); } } difference() { translate([0,0,-7]) cube([90,250,14], center=true); translate([0,0,-...
glb/cad_9744dec4d84c.glb
Create a Prusa i3 Direct Drive Bowden Extruder consisting of three main components: an extruder body, an idler block, and an extruder holder. The extruder body is a rectangular block measuring 18mm x 21mm x 24mm. Carve a NEMA 17 motor cutout (42.4mm x 42.4mm x 47mm) from the center, including a circular flange cutout ...
clearance = 0.2; layer_height = 0.3; filament_dia = 3; thread_dia = 10; thread_length = 10; printable(); module printable(){ translate([6,-12,10]) rotate([-90,0,0]) extruder(); translate([26.5,0,0]) rotate([0,0,0]) idler(); translate([20,23,0]) rotate([0,-90,0]) extruder_holder(); translate([0,0,7.25]) cube(([1...
glb/cad_4a343e011834.glb
Create an LED Power Supply cover with a main body measuring 108mm wide, 50mm high, and 34.9mm deep. The cover is a hollow shell with a wall thickness of 3mm. Remove a large rectangular section from the bottom and top to create a U-shaped profile, leaving a cutout depth of 16mm for the terminals. On the front face, ce...
show_assembly = false; power_supply_depth = 215; power_supply_width = 114; power_supply_height = 50; power_supply_wall_thickness = 1.5; power_supply_cutout_depth = 16; power_supply_cutout_height = 42; power_supply_slot_depth_offset = 5.4; power_supply_slot_bottom_offset = 11.25; power_supply_slot_dia = 2.88; power_sup...
glb/cad_b430c9ae9215.glb
Create a two-piece enclosure for a Freescale KL25Z mbed development board. First, construct the main shell as a rounded rectangular box with external dimensions of approximately 91.44mm by 53.34mm (3.2 by 2.1 inches) and a height of 14mm. Hollow out the center to create a pocket that is 81.28mm by 48.26mm (3.2 by 1.9...
$fn=50; inch=25.4; klx=3.2*inch; kly=2.1*inch; translate([0,75,0]) rotate([0,0,0]) lid(); module wholebase(){ difference(){ boxbase(); translate([klx/2-0.5*inch,1.845*inch/2,-10]) cylinder(r=1,h=22); translate([-klx/2+0.5*inch,1.845*inch/2,-10]) cylinder(r=1,h=22); translate([klx/2-0.5*inch,-1.845*inch/2,-10]) ...
glb/cad_e69f9d3fae07.glb
Create a two-piece enclosure for a Freescale KL25Z mbed development board. First, construct the main shell as a rounded box with external dimensions of 91.44mm by 53.34mm (3.2 by 2.1 inches) and a height of 15mm, using a corner radius of 14mm. Inside this shell, create a hollow cavity that is 83.82mm by 47.61mm (3.3 ...
$fn=50; inch=25.4; klx=3.2*inch; kly=2.1*inch; difference(){ boxbase(); translate([klx/2-0.5*inch,1.845*inch/2,-10]) cylinder(r=1,h=22); translate([-klx/2+0.5*inch,1.845*inch/2,-10]) cylinder(r=1,h=22); translate([klx/2-0.5*inch,-1.845*inch/2,-10]) cylinder(r=1,h=22); translate([-klx/2+0.5*inch,-1.845*inch/2,-10]...
glb/cad_efd1bfd5cc42.glb
Create a two-piece enclosure for a Freescale KL25Z mbed development board. First, construct the main shell as a rounded rectangular box with external dimensions of approximately 91.44mm by 53.34mm (3.2 by 2.1 inches). The shell should have a wall thickness of 14mm and a hollowed-out interior pocket measuring 87.64mm ...
$fn=50; inch=25.4; klx=3.2*inch; kly=2.1*inch; difference(){ boxbase(); translate([klx/2-0.5*inch,1.845*inch/2,-10]) cylinder(r=1,h=22); translate([-klx/2+0.5*inch,1.845*inch/2,-10]) cylinder(r=1,h=22); translate([klx/2-0.5*inch,-1.845*inch/2,-10]) cylinder(r=1,h=22); translate([-klx/2+0.5*inch,-1.845*inch/2,-10]...
glb/cad_6de5d20ee590.glb
Create a Meshing Double Helix model consisting of two mirrored helical gears and a connecting zipper bar. First, construct a helical gear with 17 teeth, a pitch diameter derived from a circular pitch of 700mm, and a pressure angle of 30 degrees. The gear should have a total height of 20mm, with a rim thickness of 10m...
meshing_double_helix (); pi=3.1415926535897932384626433832795; module gear ( backlash=0, involute_facets=0) { pitch_diameter = number_of_teeth * circular_pitch / 180; pitch_radius = pitch_diameter/2; echo ("Teeth:", number_of_teeth, " Pitch radius:", pitch_radius); base_radius = pitch_radius*cos(pressure_an...
glb/cad_9553fc638c90.glb
Create a Parametric Zipper consisting of two meshing double helix gears. For each gear, create a double helix structure by mirroring two gear shapes across a central plane. Each gear shape should have 17 teeth, a circular pitch of 700mm, and a pressure angle of 30 degrees. Set the gear thickness to 5mm, the rim thick...
meshing_double_helix (); pi=3.1415926535897932384626433832795; module bevel_gear_pair ( gear1_teeth = 41, gear2_teeth = 7, axis_angle = 90, outside_circular_pitch=1000) { outside_pitch_radius1 = gear1_teeth * outside_circular_pitch / 360; outside_pitch_radius2 = gear2_teeth * outside_circular_pitch / 360; pitc...
glb/cad_a99eba070d4b.glb
Create a Label Dispenser with a main body and a roll holder. The body is a rectangular block with a width of 37mm (label width 29mm plus 4mm walls on each side) and a height of at least 63mm. Inside the body, create a cylindrical cutout for a drum with a diameter of 33mm. The body should feature a slot for the label ...
use <MCAD/regular_shapes.scad> label_width = 29; min_dx = 80; min_height = 63; drum_dia = 33; wall_thickness = 4; inner_roll_holder = true; max_roll_OD = 30; min_roll_ID = 10; roller = true; add_handle = true; handle_dia = 20; handle_lenght = 60; handle_wall_thickness = 2; mode = "print"; if (mode == "print") ...
glb/cad_00d23d45be0e.glb
Create two extruder gears: a large gear and a small gear. For the large gear, create an involute gear with 43 teeth, a circular pitch of 268mm, a thickness of 5mm, a rim thickness of 7mm, and a rim width of 3mm. The gear should have a central hub with a diameter of 22mm and a thickness of 9mm. Inside this hub, create...
include <configuration.scad> use <parametric_involute_gear_v5.0.scad> translate([55,40,0]) WadesL(); translate([15,60,0]) WadesS(); module WadesL(){ num_holes=7; hole_size=6; hole_offset=18.5; gear_thickness=5; nut_trap_depth=3; nut_trap_thickness=6; difference(){ gear (number_of_teeth=43, circular_pitch...
glb/cad_9043e17b58e6.glb
Create a Greg's Wade extruder for a Budaschnozzle hotend consisting of a main body, an idler, and a bearing washer. Construct the main body as a block 24mm wide, 55mm high, and 28mm deep. Add a base 70mm long and 7mm thick with a 25mm leadout. Bevel the transition between the block and base with a 6mm radius. Incorpo...
include<configuration.scad> include<jonaskuehling-default.scad> malcolm_hotend_mount=1; groovemount=2; peek_reprapsource_mount=4; arcol_mount=8; mendel_parts_v6_mount=16; grrf_peek_mount=32; wildseyed_mount=64; geared_extruder_nozzle=128; jhead_mount=256; reprapfaborg_mount=512; elevation=4; extra_gear_separation=2;...
glb/cad_62d664fb526c.glb
Create an Enlarged Rostock Idler End for a 12mm smooth rod. Start with a central rectangular block that is 40mm high. At the center of this block, create a vertical cylindrical hole with a 4mm radius and a total height of 40mm. At the top and bottom of the block, centered on the vertical axis, add screw mounting point...
include <configuration.scad> use <bracket.scad> h = idler_end_height; tilt = 2; module bearing_mount() { 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 stifener(l, w, z, a) { wz = sin(a)*w/2; wy = (1-cos(a))*w/2; ...
glb/cad_091733d49d8d.glb
Create an Enlarged Rostock Idler End bracket. Start with a central rectangular block 62mm wide, 30mm deep, and 20mm high, centered on the origin. At each end of the block, centered at x = -30mm and x = 30mm, add a cylinder with a radius of 9mm and a height of 20mm. Within these end cylinders, create vertical holes wit...
$fa = 12; $fs = 0.5; w = 60; module screws() { for (x = [-w/2, w/2]) { translate([x, 0, 0]) { translate([0, -10, 0]) rotate([0, 90, 0]) cylinder(r=1.65, h=20, center=true); translate([-x/3.8, -10, 0]) rotate([0, 90, 0]) cylinder(r=3.2, h=2.3, center=true, $fn=6); } } } module bracket(h) { ...
glb/cad_2b8baf206ff3.glb
Create a Hole and Stud Gauge consisting of a rectangular base plate 1mm thick. The plate is divided into six equal sections, each 20mm wide and 20mm deep. In the center row of the plate, create six circular holes. The first hole has a diameter of 2.0mm, and each subsequent hole increases in diameter by 0.1mm, ending w...
diameter_first = 2.0; diameter_last = 2.5; diameter_increment = .1; pitch = 20; plate_thickness = 1; make_holes = "yes"; make_more_holes = true; make_even_more_holes = true; tired_of_making_holes = false; tired_of_making_holes_q = false; enough_holes = false; whataboutholes = 42; make_studs = true; stud_height =...
glb/cad_9a5b9b356eb6.glb
Create a Prusa i3 Plate mounted dual spool holder. Start with a main body consisting of a 14mm by 35mm by 30mm rectangular block. Add a semi-cylindrical top section with a radius of 30mm and a height of 35mm, then remove a 100mm cube starting 1mm from the base and a 50mm cube starting 19mm from the base to create a cur...
translate([10,47,0]) rotate(a=90, v=[1,0,0]) difference() { union() { cube([14,35,30]); difference() { color("Red") translate([8,35,30]) rotate(a=90, v=[90,0,0]) cylinder(r=30, h=35); color("orange") translate([-15,-15,1]) rotate(a=45, v=[0,1,0]) cube([100,100,100]); color("orange") translate([-60,-10...
glb/cad_471d82372d80.glb
Create a mount for an optical endstop by constructing a T-shaped base. Start with a rectangular block measuring 26mm wide, 3mm thick, and 10mm deep. Attach a second rectangular block to this base, measuring 6mm wide, 35mm long, and 3mm thick, extending perpendicularly from the base to form the T-shape. Drill three hole...
difference(){ union(){ cube([26,3,10]); translate([0,0,0]) cube([6,35,3]); } union(){ translate([3,-0.1,5]) rotate([270,0,0]) #cylinder(r=1.5,h=4,$fn=50); translate([22,-0.1,5]) rotate([270,0,0]) #cylinder(r=1.5,h=4,$fn=50); translate([3,32,-0.1]) #cylinder(r=1.5,h=4,$fn=50); } }
glb/cad_04afdb1c984a.glb
Create a mount for an optical endstop by designing a rectangular plate with dimensions of 6mm in width, 40mm in length, and 1mm in thickness. At one end of the plate, center a circular hole with a radius of 1.5mm, positioned 3mm from the short edge and 3mm from the long edge. Ensure the hole passes completely through t...
difference(){ cube([6,40,1]); translate([3,3,-0.1]) cylinder(r=1.5,h=2,$fn=50); }
glb/cad_8e965bc2ebe5.glb
Create a Mendel spring consisting of two identical mirrored spring units joined by a central block. Each unit is based on a quarter-cylinder shell with an outer radius of 15mm, an inner radius of 12.5mm, and a height of 10mm. The shell's cross-section is a 30-facet approximation of a circle. Construct one unit by tak...
use <teardrop.scad> ; width = 2.5; height=10; module quarter() { difference() { cylinder(r=15, h=height,$fn=30); translate([0,0,-1]) cylinder(r=15-width, h=height+2,$fn=30); translate([-16,-2,-1]) cube([34,22,16]); translate([0,-16,-1]) cube([16,16,16]); } } module spring() { quarter(); translat...
glb/cad_24dd4b6dca45.glb
Create a crown generator consisting of a central ring body and radiating spikes. Start by creating a hollow cylinder for the main body with an inner radius of 4.1mm, an outer radius of 6.1mm, and a total height of 10mm. Add two decorative flanges at the top and bottom of this cylinder; each flange is a ring created by ...
include <write.scad> inner_radius=4.1; body_height=10; text="name"; facet_radius=1; aantal_spikes=6; hoogte_spikes=10; outer_radius=inner_radius+2; $fn=20; pi=3.1415926; pi2=pi*2; translate([0,0,-(body_height/2)+facet_radius]){ difference(){ rotate_extrude() translate([outer_radius, 0, 0]) circle(r = f...
glb/cad_83649c2656b4.glb
Create a Perler Bead Robot base consisting of a rectangular plate with several integrated mechanical features. Start with a base plate measuring 80mm by 60mm with a thickness of 10mm. At one end, create a vibrating funnel assembly. This consists of a central tube with an inner radius of 3.5mm and an outer radius of 6...
$fa = 8; $fs = 0.5; bearing_inner = 6/2 - 0.2; bearing_outer = 17/2 + 0.5; bearing_h = 6; bead_r = 5/2 + 1.0; m3hole_r = 3/2 + 0.5; m3hole_tight_r = 3/2 + 0.2; m3head_r = 3; motor_shaft = 2/2 + 0.3; motor_r = 25/2 + 0; motor_h = 12 - 3; layer_funnel_x = -10; layer_motor_x = 25; layer_x = 80; layer_y = 60; layer_z ...
glb/cad_67c540b4a5ad.glb
Create a Perler Bead Robot hopper by constructing a hollow rectangular container with rounded corners. The exterior dimensions are 80mm in width and 60mm in depth, with a total height of 80mm and a wall thickness of 3mm. The corners should have a radius of 12mm. The interior is hollowed out, but the bottom is not flat...
$fa = 8; $fs = 0.5; m3hole_r = 3/2 + 0.5; m3hole_tight_r = 3/2; m3head_r = 4; layer_funnel_x = -10; layer_x = 80; layer_y = 60; funnel_hole_r = 30/2; base_h = 5; hopper_x1 = layer_funnel_x - 25; hopper_x2 = layer_funnel_x + 25; hopper_y = 16; corner_r = 12; total_h = 80; wall_thickness = 3; slope_h = 30; module la...
glb/cad_0c323d87d273.glb
Create a Perler Bead Robot sorting layer. Start with a rectangular base plate measuring 80mm by 60mm with a thickness of 13mm. At each of the four corners, add a square pillar measuring 10mm by 10mm and 13mm high, each containing a vertical hole with a radius of 1.7mm for M3 bolts. In the center of the plate, carve ou...
$fa = 2; $fs = 0.5; bead_r = 5/2 + 1.0; bead_h_min = 4; bead_h_max = 6.5; m3hole_r = 3/2 + 0.5; m3hole_tight_r = 3/2 + 0.2; m3head_r = 3; servo_body_x = 24; servo_body_y = 13; servo_mount_x = 28; servo_mount_r = 2.1; servo_total_x = 35; servo_total_y = 14; servo_spline_x = -5.6; servo_spline_r = 2.45; servo_spline_z...
glb/cad_292f57710281.glb
Create a retainer ring removal tool for a fuel pump by starting with a main cylinder that has an outer radius of 68mm and a height of 80mm. Remove a smaller concentric cylinder from the center with a radius of 62mm to create a wall thickness of 6mm. Cut 18 equally spaced vertical slots into the bottom of the outer wa...
widthofsplines=4; heightofsplines=80; depthofsplines=6.5; idofring=136; holethick=2*depthofsplines+2*4; holediam=idofring-holethick; slotthick=16; topfuelpump=60; difference(){ cylinder(r1=idofring*.5-1,r2=idofring*.5,h=heightofsplines); union(){ for ( i = [0 : 17] ) { rotate([0,0,i*360/18]) translate([-.5*widtho...
glb/cad_5a4bcc5d66b9.glb
Create a modular amiibo display base. Start with a rectangular block measuring 75mm in length, 95mm in width, and 12mm in height. At each of the four corners of the base, create a square peg hole measuring 3.75mm by 3.75mm that penetrates the full height of the block. On the top surface, carve out a centered rectangu...
$fn=100; L = 75; W = 95; H = 12; D = 49.85; C = 1.5; D2 = D+5; H2 = 10.5; H3 = 1; M = 1.5; cut = 2; P = 3.75; O = 2; A = L-12; B = W-12; E = 1.5; N = 1.5; post = 10.5; Q = post*2; T = 0.85; Tdepth = 3; Bdepth = 3; module base(){ difference(){ cube([L, W, H]); } } module peg(){ cube([P,P,H]);...
glb/cad_beec0589abd5.glb
Create a modular display support post for figures. Start with a main rectangular body measuring 82mm in length, 5.5mm in width, and 5.5mm in height. Add two small rectangular pegs, each measuring 4mm by 3.25mm by 3.25mm; position one peg centered on the right end of the main body and the other centered on the left end,...
$fn=100; L = 82; W = 5.5; H = 5.5; A = 4; B = 3.25; C = 3.25; T = 0.9; module post(){ cube([L, W, H]); } module post1(){ union(){ cube([L, W, H]); translate([L, (W/2-B/2), (H/2-C/2)]){ cube([A, B, C]); } translate([-A, (W/2-B/2), (H/2-C/2)]){ cube([A, B, C]); } } } module post2(){ difference(){ ...
glb/cad_baecaf62dd40.glb
Create a modular display cube top with a total footprint of 75mm in length, 95mm in width, and 3.75mm in height. Start with a solid rectangular slab of these dimensions. Carve out a central rectangular hole measuring 61mm by 81mm that penetrates the full height of the slab. Around this central hole, create a recessed...
$fn=100; L = 75; W = 95; H = 3.75; l = L-14; w = W-14; lx = l+3; wy = w+3; hz = H-1.5; P = 3.75; O = 2; T = 0.85; Tdepth = 3; N = 1.5; post = 10.5; Q = post*2; h = 3; b = 3; Rx = 10; Ry = 5; module peg(){ cube([P,P,H]); } module top_4pegs(){ difference(){ cube([L, W, H]); translate([(L-l)/2, ...
glb/cad_26d7f820957f.glb
Create a modular amiibo display base. Start with a square platform measuring 54mm by 54mm with a thickness of 1.5mm. Centered on this platform, add a hollow cylindrical ring with an outer diameter of 54mm and an inner diameter of 49.9mm, extending upwards to a height of 10.5mm. To allow for clipping, create two verti...
$fn=100; D = 49.9; H2 = 10.5; C = 1.5; D2 = D+5; H3 = 1; M = 1.5; cut = 2; module test_base(){ translate([-(D2+2)/2, -(D2+2)/2, 0]){ cube([D2+2,D2+2,C]); } } module pipe(){ difference(){ cylinder(h = H2, r = D2/2); cylinder(h = H2, r = D/2); } } module pipecut(){ differen...
glb/cad_b5d3cd2da9cc.glb
Create a modular amiibo display retainer by starting with a rectangular base measuring 74.5mm in length, 94.5mm in width, and 2.25mm in height. In the center of this base, remove a rectangular section measuring 61mm by 81mm with a depth of 2.25mm, leaving a thin outer frame. To this frame, add two small rectangular cli...
$fn=100; L = 75; W = 95; H = 3.75; l = L-14; w = W-14; lx = l+3; wy = w+3; hz = H-1.5; tol = 0.5; lr = lx-tol; wr = wy-tol; hp = 0.7; Rx = 10-tol; Ry = 4; module retainer(){ difference(){ cube([lr,wr,hz-hp]); translate([(lr-l+3)/2, (wr-w+3)/2,0]){ cube([l-3,w-3,hz-hp]); } }...
glb/cad_abd291de5c4f.glb
Create a modular amiibo display support post. Start with a main rectangular base measuring 82mm in length, 5.5mm in width, and 5.5mm in height. At both the front and back ends of this base, add a smaller rectangular block measuring 4mm in length, 3.25mm in width, and 3.25mm in height, centered along the width. Cut a l...
$fn=100; L = 82; W = 5.5; H = 5.5; A = 4; B = 3.25; C = 3.25; T = 0.9; module post(){ union(){ cube([L, W, H]); translate([L, (W/2-B/2), 0]){ cube([A, B, C]); } translate([-A, (W/2-B/2), 0]){ cube([A, B, C]); } } } module posts(){ difference(){ post(); translate([0, W/2-T/2, B]){ cube([L...
glb/cad_c66c29f3fe56.glb
Create a modular amiibo display base. Start with a rectangular block measuring 90mm in length, 105mm in width, and 12mm in height. At each of the four corners, remove a square peg hole measuring 3.75mm by 3.75mm, inset 2mm from the edges. Create four thin slots, each 0.85mm wide and 10mm deep, positioned along the pe...
$fn=100; L = 90; W = 105; H = 12; D = 49.85; C = 1.5; D2 = D+5; H2 = 10.5; H3 = 1; M = 1.5; cut = 2; P = 3.75; O = 2; A = L-12; B = W-12; E = 1.5; N = 1.5; post = 10.5; Q = post*2; T = 0.85; Tdepth = 3; Bdepth = 3; module base(){ difference(){ cube([L, W, H]); } } module peg(){ cube([P,P,H])...
glb/cad_288589b2caeb.glb
Create a modular display post for amiibo figures. Start by creating a rectangular base that is 5.5mm wide, 95mm long, and 4mm high. From this base, remove a central vertical slot that is 0.85mm wide and 3mm deep, running along the length of the post. This slot should be centered width-wise and start 2mm from each end, ...
$fn=100; L = 75; W = 95; H = 3.75; w = 5.5; h = 4; P = 3.75; O = 2; T = 0.85; Tdepth = 3; module peg(){ cube([P,P,h]); } module top(){ cube([w,W,h]); } module peg_cut(){ difference(){ top(); translate([w/2-P/2, O,0]){ peg(); } translate([w/2-P/2, W-P-O,0]){...
glb/cad_f835271c016c.glb
Create a Velux DKL curtain wiretrack replacement part consisting of a base and an attached vertical plate. First, create the base as a rectangular block 15.8mm wide, 31.2mm high, and 2.4mm thick. Modify the top of this base by removing a wedge-shaped section at a 17-degree angle. Attach a vertical plate to the base,...
pad = 0.05; $fn = 50; base_width = 15.8; base_height = 31.2; base_thickness = 2.4; base_wedge_offset = 26.0; base_wedge_angle = 17; plate_width = 32; plate_height = 22; plate_thickness = 2; plate_base_offset = 7.3; plate_screw_hole_x_offset = 18; plate_screw_hole_y_offset = 8.6; plate_screw_hole_diameter = 3.0; p...
glb/cad_dd3ce05ffa7f.glb
Create a Raspberry Pi and PSU mount with a total height of 3mm. Start with a base rectangular plate for the PSU measuring 150mm by 25mm with 5mm rounded corners. At each of the four corners of this plate, create a hole with a radius of 2.2mm. To save material, remove a central rectangular section from this plate, leavi...
PSU_X = 150; PSU_Y = 25; Shell = 5; Height = 3; PI_X = 58; PI_Y = 49; M3_Nut_Dia = 6.5; M3_Nut_Height = 3.6; Layer_Height = 0.2; $fn = 20; union(){ PSU_Mount(); translate([(PSU_X / 2) - (PI_X / 2), (PSU_Y / 2) - (PI_Y / 2), 0]) PI_Mount(); translate([20, 0, 0]) UBEC_Mount(); } module UBEC_Mount(){ difference(){ ...
glb/cad_db3cfb2461c9.glb
Create a Prusa I3 Geared Stepper Extruder groovemount plate by starting with a solid rectangular block measuring 4.6mm in width, 47mm in length, and 24mm in height. From this block, remove a large central rectangular section measuring 8mm wide, 11.9mm deep, and 26mm high, positioned at x -2, y 20.05, and z 11.8 to crea...
difference(){ cube ([4.60,47,24]); translate ([-2,26,11.8])rotate([0,90,0])cylinder (r=6,h=8,centre=false ); translate ([-2,20.05,11.8])cube ([8,11.9,26]); translate ([-2,42.5,10.96])rotate([0,90,0])cylinder (r=1.6,h=8,centre=false );translate ([-2,2,10.96])rotate([0,90,0])cylinder (r=1.6,h=8,centre=false ); }
glb/cad_bd793fbdd622.glb
Create a Prusa I3 Geared Stepper Extruder mount. Start with a main body block measuring 22mm x 56mm x 24mm. Attach a groove mount plate to the side, extending the width to 55mm with a thickness of 3.5mm (4.7mm depth). Add two carriage mount cylinders with a radius of 5mm and a height of 24mm, positioned symmetrically a...
include <../configuration.scad> hotend_groovemount_depth = 4.7; hotend_groovemount_diameter = 16.2; module extruder_base(){ translate([-1,-2,0]) cube([22,56,24]); if (hotend_mount == 1) { translate([-16,49,0]) cube([55,5 + hotend_groovemount_depth - 1.5,24]); } else { translate([-16,49,0]) cube([55,5,24]); ...
glb/cad_6a6cc0a00867.glb
Create a Coin Box designed to hold five specific coins. Start with a main cylindrical body that is 52mm in diameter and 50mm high. Hollow out the center of this cylinder to create a thin outer wall. Within this body, carve out five cylindrical slots of varying sizes and depths. Create two slots for 1 Yuan coins with a...
yi_yuan_dia = 25.04+0.1; yi_jiao_dia = 19.0+0.1; wu_jiao_dia = 20.4+0.1; yi_yuan_h = 1.91+0.1; yi_jiao_h = 1.74+0.1; wu_jiao_h = 1.68+0.1; gap = 1; box_dia = 52; box_h = 50; $fn = 180; yi_yuan_offset = 19-0.5; yi_jiao_offset = 20.8-0.5; wu_jiao_offset = 20.5-0.5; difference(){ translate([0,0,-3]) cylinder(3,d=bo...
glb/cad_a450ec3d202d.glb
Create an Action Camera Wrench with a total thickness of 8mm. Start by forming the head as a cylinder with a diameter of 24mm and a height of 8mm. Inside this head, carve out a central socket by removing a cylinder with a diameter of 21mm and a height of 7mm. To create the wrench opening, remove four overlapping cylind...
difference(){ union(){ translate([0,0,2]){ cylinder(h=8,d=24,center=true); translate([20,0,0]) cube([40,15,8],center=true); translate([40,0,0]) cylinder(d=15,h=8,center=true); } } difference(){ cylinder(h=7,d=2...
glb/cad_1a96a16fdfa5.glb
Create a PlotterBot motor mount and spool system. First, construct a spool consisting of two circular rims with a diameter of 37.5mm and a thickness of 8.75mm (bottom) and 8.75mm (top). Connect these rims with a central cylinder of 27.5mm diameter and 30mm height. Create a cutout in the center of the spool to accommo...
in = 25.4; fn = 64; sth = 1.5; ssth = 3; th = 1.0; alpha = 0.1; sp = 0.4; fit = 0.2; cl = 0.005; boltHeadD = 5.5; boltHeadR = boltHeadD/2; boltHeadH = 3; boltD = 2.93; boltR = boltD/2; nutW = 5.75; nutD = 6.5; nutR = nutD/2; nutH = 2.75; boxL = 36*in; boxW = 8*in; boxH = 1.75*i...
glb/cad_e58948fd74e2.glb
Create a Tamiya M01/M02 battery end plate. Start with a central rectangular base measuring 30mm wide by 22mm deep and 2mm thick. Add a 9mm diameter cylinder with a height of 2.5mm at the center of the top face. Extend the base with a 37.5mm wide by 10mm deep by 2mm thick rectangle centered on the X-axis and offset 11mm...
hole_tolerance = 0.3; $fn = 25; module basic_shape() { difference() { union() { translate([15, 0, 0]) cylinder(d = 12, h = 2); translate([-15, 0, 0]) cylinder(d = 12, h = 2); translate([15, -12, 0]) cylinder(d = 10, h = ...
glb/cad_c77c84e06f28.glb
Create a liquid holder by starting with a solid rectangular block measuring 117mm in length, 57mm in width, and 20mm in height. Within this block, carve out eight cylindrical holes arranged in a grid of four columns and two rows. Each hole must have a radius of 14mm and a depth of 18mm, leaving a 2mm thick base at the ...
hole_radius = 14; hole_height = 18; height = 20; distance = 1; holes_per_row = 4; holes_per_column = 2; size_row = holes_per_row * (2 * hole_radius) + (holes_per_row + 1) * distance; size_column = holes_per_column * (2 * hole_radius) + (holes_per_column + 1) * distance; difference() { cube([size_row, size_column, h...
glb/cad_d498500548da.glb
Create an LED strip holder nail clip. Start by creating a base plate with a thickness of 5.5mm. The base should have a width of 20mm and a rounded end with a corner radius of 4mm. In the center of the base, carve out a rectangular channel to accommodate an LED strip that is 10.5mm wide and 1mm high. At the opposite end...
corner_radius = 4; thickness = 5.5; base_width = 20; nail_radius = 1; nail_head_depth = 1; nail_head_radius = 1.9; led_strip_width = 10.5; led_strip_height = 1; module base_raw() { hull() { translate([0, - corner_radius]) circle(r=0.01, $fn=50); translate([0, corner_radius]) circle(r=0.01, $fn=50); transl...
glb/cad_92e71f6e511a.glb
Create a Toilet Roll Spool end cap by combining two concentric cylindrical shapes. First, create a flat circular base with a diameter of 60mm and a height of 2mm. Centered on top of this base, add a tapered cylinder with a total height of 7mm. This upper section should start with a bottom diameter of 45mm and taper sli...
cylinder(h=2,d=60,centre=true,$fn=100); cylinder(h=7,d1=45,d2=43,centre=true,$fn=100);
glb/cad_51663f276433.glb
Create a prohibited sign symbol by constructing a hollowed-out cylinder and a crossing bar. First, create a large cylinder with a height of 5mm and a radius of 42mm. Remove a smaller concentric cylinder from the center with a radius of 34mm and a height of 6mm, positioned 0.5mm below the base of the first cylinder to c...
no(); module no(){ difference(){ cylinder(h=5, r=42, $fn=50); translate([0,0,-.5])cylinder(h=6, r=34, $fn=50); } rotate([0,0, 45])translate([0,-40,0])cube([6,78,5]); }
glb/cad_09bde3b4bbaa.glb
Create a parametric plant pot and matching base. The pot is a tapered hollow cylinder with a height of 100mm, a bottom outer radius of 35mm, and a top outer radius of 46mm. The walls are 4mm thick. At the top, create a flat rim band 10mm high. The interior is hollowed out, leaving a 4mm floor at the bottom. The bottom...
module pot( base_r=35, top_r=46, height=100, thickness=4, num_holes=6, slits=false ) { top_band = 0.1*height; hole = 0.75*base_r; hole_r = 4; translate([0,0,height-top_band]) difference() { cylinder(r=top_r+thickness, h=top_band); translate([0,0,-0.2]) cylinder(r=top_r, h=top_band+0.4); } difference() {...
glb/cad_e7cf8d256cfe.glb
Create a seat post adapter in the shape of a hollow cylinder with a height of 70mm. The main body should have an outer diameter of 31.5mm and an inner diameter of 27.2mm. Cut a vertical slot 3mm wide through the entire length of the cylinder wall to create an open gap. At the top of the cylinder, add a thin flange with...
$fa = .05; $fn = 200; InnerDiameter = 27.2; OuterDiameter = 31.5; OpenGap = 3; Heigth = 70; HeigthTop = 1; TopOverHang = 2; InnerRadius = InnerDiameter/2; OuterRadius = OuterDiameter/2; openCyl(Heigth,InnerRadius,OuterRadius, OpenGap); translate([0,0,Heigth/2]) openCyl(HeigthTop,InnerRadius,OuterRadius+TopOverHa...
glb/cad_20df36779654.glb
Create a parametric stackable container with external dimensions of 160mm width, 120mm depth, and 40mm height. The container has a uniform wall thickness of 3mm. Start by creating the main outer shell as a solid box of the dimensions mentioned above. Hollow out the center to create the interior cavity, leaving the 3m...
_q_ = 1; _x_ = 0; _y_ = 1; _z_ = 2; _w_ = 0; _l_ = 1; _h_ = 2; tight_gap = 0.2; tight_size = [tight_gap, tight_gap, tight_gap]; loose_gap = 0.4; loose_size = [loose_gap, loose_gap, loose_gap]; cnt_wall_thickness = 3; cnt_size = [ 160, 120, 40 ]; inset = [ cnt_wall_thickness , cnt_wall_thickness ,...
glb/cad_422f4b4c9792.glb
Create a parametric box and lid set with rounded corners. The main container has internal dimensions of 149mm by 87mm and a height of 140mm. The walls are 1.8mm thick with a corner radius of 5mm. To create the container, build a solid base with these dimensions and hollow out the center, leaving the 1.8mm walls and a 1...
x_width = 149.0; y_width = 87.0; bottom_height = 140.0; lid_height = 85.0; thickness = 1.8; lip_height = 8; lip_overlap_height = 2.0; lip_thickness = 0.8; looseness_offset = 0.15; radius = 5; generate_box = 1; generate_lid = 1; $fn=100; x_width_outside = x_width + thickness*2 + lip_thickness*2 + looseness_of...
glb/cad_b9201ed4aa9e.glb
Create a bracelet by arranging a series of small tori in a circular pattern. First, generate a ring of 19 small tori, each with a minor radius of 2mm and a major radius of 10.5mm. These should be positioned such that their centers are 30mm from the origin, with each torus rotated 20 degrees around the Z-axis relative t...
module torus(minorRad,majorRad,minorQuality,majorQuality) { rotate_extrude(convexity = 10, $fn = majorQuality) translate([majorRad, 0, 0]) circle(r = minorRad, $fn = minorQuality); } module bracelet() { union() { for (i=[0:18]) { rotate([0,0,i*20])translate([30,0,0])rotate([0,90,0])torus(2,10.5,6,12); } t...
glb/cad_35f6c1152da5.glb
Create a water container to tube adapter consisting of a large threaded base and a smaller threaded neck. First, create a large cylindrical base with a diameter of 40mm and a height of 15mm. This base must have internal ISO metric threads with a pitch of 4mm. The wall thickness of this base is 2mm. Centered on top o...
Quality=45; WallSize = 2; BigTubeDia = 40; BigTubeLen = 15; BigTubePitch = 4; LilTubeDia = 25; LilTubeLen = 15; LilTubePitch = 2; RubberThickness = 4; RubberRay = BigTubeDia/2-RubberThickness; $fn = Quality; WrenchSizes=0; function get_coarse_pitch(dia) = lookup(dia, [ [1,0.25],[1.2,0.25],[1.4,0.3],[1.6,0.35],[1...
glb/cad_195fcb92c5a6.glb
Create a Cable-pulling Servo Horn. Start with a partial wheel that has a diameter of 40mm and a height of 6mm. This wheel should be a sector of 120 degrees, with the remaining area removed. In the center of the wheel, create a servo mount. This mount consists of a splined hole designed for a 25-tooth servo. The splin...
angle = 120; cable_diameter = 0.75; notch_depth = 1.7; wheel_diameter = 40; wheel_height = 6; servo_mount_diameter = 10; num_teeth = 25; cable_radius = cable_diameter/2; wheel_radius = wheel_diameter/2; servo_mount_radius = servo_mount_diameter/2; notch_height = 2*notch_depth; inner_radius = wheel_radius - notc...
glb/cad_a001bc399f56.glb
Create a linear bearing model by constructing a main body and removing specific internal volumes. For a standard LM-8-UU size, create a central hull that blends a cylinder with a radius of 7.5mm and a height of 21.4mm with a cylinder of radius 7.15mm and a height of 24mm. Bore a hole through the center of this entire s...
module groove(d1, d2, w) { difference() { cylinder(r=d1/2+1, h=w, center=true); cylinder(r=d2/2 , h=w, center=true); } } module lb(D_Int=8, D_Ext=15, D_1=14.3, L=24, W=1.1, B=17.5) { chamf = D_Ext - D_1; difference() { hull() { cylinder(r=D_Ext/2, h=L-chamf, center=true); cylinder(r=D_1 /2, h=L ,...
glb/cad_50ede535a6c9.glb
Create a Hacklab.to Button by starting with a main cylindrical disc that has a radius of 20mm and a height of 4mm. Through the center of this disc, remove a horizontal cylindrical void with a radius of 3.5mm and a length of 20mm, centered vertically at a depth of 1.3mm from the bottom. Additionally, remove a slightly...
difference(){ union(){ cylinder(r=20,h=4); difference(){ translate([0,0,-1.3]) rotate([0,90,0])cylinder(r=3.5,h=20,center=true,$fn=15); translate([0,0,-1.3]) rotate([0,90,0])cylinder(r=3.8,h=6,center=true,$fn=15); } } translate([2.6,3.5,2]) scale([0.48,0.48,0.48]) linear_extrude(height=5) union(){ translate([...
glb/cad_b86a1162bf6b.glb
Create a stove hood knob by starting with a cylinder that has a radius of 10mm and a height of 14mm. To this base, add a central vertical section formed by the intersection of a cylinder with a radius of 10mm and a height of 18mm and a cube measuring 8mm by 30mm by 50mm. Finally, remove a central core from the bottom o...
difference(){ union(){ cylinder(r=10,h=14); intersection(){ cylinder(r=10,h=18); cube([8,30,50],center=true); } } intersection(){ cylinder(r=4,h=13); translate([0,-2,0]) cube([8,8,13],center=true); } }
glb/cad_448292a7882d.glb
Create a Prusa i3 Rod-Mounted X Tensioner. Start with a main body that is a block 13mm wide, 16mm tall (8mm rod diameter plus 4mm walls on top and bottom), and 4mm thick. At the center of the block, create a vertical cylindrical cutout with a radius of 2.1mm to accommodate a bearing screw. Around this central axis, f...
$fn = 15; radius_3mm = 1.55; radius_4mm = 2.1; nut_height_3mm = 2.5 + 1.75; rod_diameter = 8; rod_radius = rod_diameter / 2; part_thickness = 4; tension_is_adjustable = false; mount_tightness = tension_is_adjustable ? 0.5 : 1.0; mount_ridges = tension_is_adjustable ? 3 : 0; rod_top_to_screw = tension_is_adjustab...
glb/cad_19d1e128382c.glb
Create a Coffee French Press Strainer Retainer consisting of a thin circular base and a central hollow post. Start by creating a flat disc with a diameter of 54mm and a thickness of 2mm. Around the perimeter of this disc, remove nine identical triangular notches. Each notch is defined by a peak at 8mm from the center a...
tri_peak = 8; tri_height = 23; tri_base_half = 7; strainer_thickness = 2; post_height = 12; union() { linear_extrude(strainer_thickness) { difference() { circle(d=54); for (i = [0:8]) rotate([0,0,45 * i]) triangle(); } } translate([0,0,strainer_thickness]) { cylinder(d1 = 15, d2 = 8, h = 2 ); dif...
glb/cad_ac5245f90744.glb
Create a round protective case for a Raspberry Pi B+ board. The case consists of a bottom base and a lid. For the bottom base, create a cylinder with a diameter of 108.2mm and a height of 26mm. Hollow out the center by removing a concentric cylinder with a diameter of 104.2mm and a height of 26.5mm. To allow access fo...
include <raspberry-pi-b-plus-case/pi_b_plus.scad> boardThickness=1.33; boardWidth=56; boardLength=85; avWidth=7.05; avLength=14.90; avHeight=7.38-boardThickness; avRadius=avWidth/2; avOverHang=-2.30; avYset=boardLength-53.5+(avWidth/2); avRotate=-90; hdmiWidth=11.37; hdmiLength=15.07; hdmiHeight=7.86-boardThickness;...
glb/cad_e33292f0de8d.glb
Create three different extruder die caps for a 2" PVC clay extruder. Each cap begins with a base consisting of a cylinder 51.75mm in diameter and 7mm high, topped with a thinner flange 60mm in diameter and 2mm thick. The center of the main cylinder is hollowed out, leaving a wall thickness of 2mm. For the first cap, c...
$fn = 100; outside_diameter = 51.75; wall_thickness = 2; flange_diameter = 60; flange_thickness = 2; length = 7; module base_extruder_cap( outside_diameter, wall_thickness, flange_diameter, flange_thickness, length ) { difference(){ union() { cylinder(length, d=outside_di...
glb/cad_5a4499f0eb3e.glb
Create a fan adapter consisting of two mounting plates connected by a curved manifold tube. First, create a square mounting plate for a 30mm fan with a wall thickness of 4mm. The plate should have a central circular hole with a diameter of 30mm and four screw holes with a diameter of 3.4mm, positioned 24mm apart. Fro...
t_wall = 4; d_fan1 = 30; ls_fan1 = 24; ds_fan1 = 3.4; d_fan2 = 60; ls_fan2 = 52; ds_fan2 = 4.3; l_mani1 = 5; a_cone = 100; l_mani2 = round(d_fan2/(2*tan(a_cone/2))); a_mani = 45; az_mani = 20; n_pipe = 1; n_angle = 0.501; $fn = 50; module fanplate(d,ls,t,ds) { difference() { difference()...
glb/cad_519f965677c1.glb
Create a Polarized Parametric Battery Holder for two batteries. The main body is a rectangular block with a total width of 11mm (Mid_Height), a length of approximately 57mm, and a depth based on two batteries with a diameter of 15mm each. Carve out two cylindrical cradles for the batteries, each with a radius of 7.49m...
Cell_Count = 2; Battery_Size = 0; Mount_Hole_X_Spacing = 40; Length_Options = [50,37.4,71]; Battery_Length = Length_Options[Battery_Size]; Dia_Options = [15,17,19]; Battery_Dia = Dia_Options[Battery_Size]; Button_Dia = 8; Button_Height = 0.8; Clip_Width = 7; Clip_Below_Center = 10; Clip_Above_Center = 5; Clip_Co...
glb/cad_7064022a6b65.glb
Create a Makeblock 0824 Beam Coupler by starting with a solid rectangular block measuring 29mm in width, 29.5mm in height, and 60mm in length. Round the four long edges of this block with a radius of 0.5mm. From the center of this block, remove a rectangular volume measuring 8.31mm in width and 24.48mm in height, exten...
insideTolerance = 0.02; insideWidth = 8.15*(1+insideTolerance); insideHeight = 24*(1+insideTolerance); outsideWidth = insideWidth+2.5; outsideHeight = insideHeight+5; module rounded_box(l,w,h,r_edge){ cube(size=[l-r_edge,w-r_edge,h ],center=true); for (x = [(l-r_edge)/2,-(l-r_edge)/2 ]) { for (y = [(w-r_edge)/2,-...
glb/cad_2ef31bebcd5e.glb
Create a centrifugal forge blower consisting of a main casing, an impeller, and a lid. For the casing, create a cylinder 70mm in diameter and 45mm high with a wall thickness of 2.4mm. Cut a circular air inlet with a 12mm radius through the bottom. On the side of the casing, add a rectangular air outlet nozzle that tr...
blower_max_rad=35; blower_wall=2.4; blower_case_ht=45; blower_tube_rad=12.5; inlet_rad=12; driveshaft_rad=1.7; motor_neck_rad=6.5; motor_screw_sep=19; airway_rad=blower_tube_rad*0.8; module trunk(h,l) { cube([h,l,h]); translate([0,0,h]) rotate ([0,45,0]) cube([h/1.41,l,h/1.41]); } sp_rad=1.5+blower_wall; screw_offs...
glb/cad_2993fdaed702.glb
Create a customizable cuvette or vial rack. Start by creating a solid rectangular block with a total height of 13.75mm. The block's footprint should be 99.6mm by 67.6mm, with the four vertical corners rounded using a radius of 2.5mm. On the top surface, create a grid of 24 circular holes (6 rows along the X-axis and 4...
hole_shape=1; hole_size=10; hole_depth=12; rows=6; columns=4; spacing=1.6; bottom_thick=1.75; skid_height=0.5; skid_diameter=20; wall_thickness=5; material_holes_on=1; material_hole_size=1.5; $fa=1; $fs=1; module holes(hole_shape,hole_size,hole_depth,rows,columns,spacing,bottom_thick) { translate([hole_s...
glb/cad_a2ed509c3563.glb
Create a Customizable Spool Hub Adapter with a height of 15mm. The object is a hollow cylinder with a central hole of 33mm in diameter (32mm tube diameter plus a 1mm backlash). The outer boundary of the adapter is based on a 54mm diameter (53mm spool diameter plus 1mm arm compression). This outer wall features 5 equi...
part="right"; tube_diameter=32; spool_diameter=53; height=15; number_of_arms=5; function get_number_of_arms() = (part == "straight" && number_of_arms % 2 > 0 ? 1 : 0) + number_of_arms; inner_diameter_backlash=1.0; collar_thickness=2.0; chamfer_depth=2.0; wall=3.0; arm_thickness=2.4; arm_compression=1.0; arm_end_di...
glb/cad_51d70eadb937.glb
Create a spool insert consisting of a central cylindrical shaft and a wider base. Start by creating a main cylinder with a diameter of 31mm and a height of 6mm. Add a wider, thin disc at the bottom with a diameter of 37mm and a height of 1mm. Hollow out the center of the entire structure with a vertical hole 9.2mm in d...
rodDiameter = 9.2; spoolDiameter = 31; spoolHeight = 91; numSpokes = 5; lipDiamToAdd = 6; insertHeight = 6; spokeWidth = 3; lipHeight = 1; interlockHeight = 10; interlockSlopDeg = .5; spokeHeight = insertHeight + lipHeight; shaftHeight = (spoolHeight/2) + (interlockHeight); difference () { union () { difference (...
glb/cad_445b75fe1307.glb
Create a spool insert consisting of a central shaft and a supporting base. Start with a base cylinder 51mm in diameter and 6mm high. Add a wider circular lip at the bottom of this base with a diameter of 57mm and a thickness of 1mm. Remove a central vertical cylinder from the entire assembly with a diameter of 9.2mm....
rodDiameter = 9.2; spoolDiameter = 51; spoolHeight = 60; numSpokes = 5; lipDiamToAdd = 6; insertHeight = 6; spokeWidth = 3; lipHeight = 1; interlockHeight = 10; interlockSlopDeg = 2; centerExtraThickness = 5; spokeHeight = insertHeight + lipHeight; shaftHeight = (spoolHeight/2) + (interlockHeight); difference () { ...
glb/cad_0a8163ccbb6b.glb
Create a 3D model of a Pac-Man character. Start with a sphere with a radius of 20mm. To create the open mouth, remove a wedge-shaped section of the sphere using a conical cutout centered at the origin, with an opening angle of 45 degrees. For the eyes, place two smaller spheres, each with a radius of 5mm (one quarter ...
$fn=128; size = 20; mouthangle = 45; flat = 0; flatbase = 0; eyes = 0; holeeyes = 0; holed = 0; pacman(size, mouthangle, flat, flatbase, eyes, holeeyes, holed ); module pacman_demo() { pacman(5, 45); translate([15,0,0]) pacman(5, 45, flat=true); translate([30,0,0]) pacman(5, 45, flatbase=true); translate([45,0...
glb/cad_a0fa8b181475.glb
Create a Sortimo Insert Boxx consisting of a hollow rectangular container and four small cylindrical pegs. For the container, create a solid block with a height of 60.7mm. The base is a rounded square with a width of 39.5mm and corner radii of 5mm. The top rim is slightly wider at 52.5mm with corner radii of 10mm. Th...
what = "both"; modulesH = 1; modulesV = 1; wallThickness = 1.7; pegDiameter = 7.4; pegDistance = 39.5; baseCornerDiameter = 5; topCornerDiameter = 10; topWidth = 52.5; topLowerWidth = 51.5; topInnerDiameter = 48.5; bottomWidth = 49.5; height = 60.7; pegSlackH = (modulesH - 1) * ((topWidth - pegDistance)); pegSlac...
glb/cad_1eaaa789cb6f.glb
Create a Sortimo Insert Boxx, which is a hollow rectangular container with rounded corners and a flat base. The outer dimensions of the base are 39.5mm by 92mm, with a total height of 60.7mm. The walls should have a thickness of 1.7mm. The bottom corners of the exterior should be rounded with a radius of 2.5mm. The to...
what = "boxx"; modulesH = 1; modulesV = 3; wallThickness = 1.7; pegDiameter = 7.4; pegDistance = 39.5; baseCornerDiameter = 5; topCornerDiameter = 10; topWidth = 52.5; topLowerWidth = 51.5; topInnerDiameter = 48.5; bottomWidth = 49.5; height = 60.7; pegSlackH = (modulesH - 1) * 13; pegSlackV = (modulesV - 1) * 13...
glb/cad_ede2e5c24a2f.glb