Prompt
stringlengths
38
2.2k
Code
stringlengths
7
5.77M
3d_glb
stringlengths
24
24
Create a parametric closet pole socket consisting of a circular base and a vertical cylindrical sleeve. Start by creating a flat circular base with a diameter of 55.6mm and a thickness of 3.5mm. Centered on this base, add a vertical cylinder with an outer diameter of 41mm and a height of 19mm. Hollow out the center o...
Base_Diameter = 55.6; Base_Thickness = 3.5; Base_Screw_Diameter = 4; Base_Screw_Head_Diameter = 8.75; Socket_Outer_Diameter = 41; Socket_Inner_Diameter = 35; Socket_Height = 19; joinfactor = 0.125; $fn = 128; module preconditions() { assert(Base_Diameter > Socket_Outer_Diameter); assert(Base_Thickness > 0); asser...
glb/cad_fc6aab3f9b19.glb
Create an Encanto Door Knob consisting of a decorative base and a raised central emblem. Start by creating a rotationally symmetrical base; this is a revolved profile that starts with a narrow cylindrical neck and expands outward and upward into a wide, smooth, rounded dome. The maximum height of the overall structure ...
knob(); imgfile = "BigP2.png"; module knob(){ dist_A = 18.42; dist_B = 15.12; $fn=200; difference(){ union(){ union(){ logoht = 46.0; pomo(); translate([2,-1,logoht])scale([0.87,0.87,1])logo(); } } translate...
glb/cad_3b174d52c40a.glb
Create a Honeycomb Storage Wall parametric box. Start by constructing a solid rectangular block with an overall width of 66mm, a depth of 22mm, and a height of 31mm. Apply a 1mm fillet or radius to all exterior edges to round the corners. Hollow out the center of the block to create an open container with a wall thic...
wallThickness=2; widthDimension=62; depthDimension=18; heightDimension=30; removeBottom=false; minkowskiSetting=1; xDim=widthDimension+wallThickness*2; yDim=depthDimension+wallThickness*2; zDim=heightDimension+wallThickness; smallXDim=widthDimension; smallYDim=depthDimension; smallZDim=heightDimension+minkowskiSe...
glb/cad_29ce2665b2f1.glb
Create an encryption cogwheel consisting of a gear-shaped disc with a central hole and embossed lettering. The main body is based on a gear with a diameter of 160mm. At the center, create a vertical cylindrical hole with a radius of 11mm and a height of 7mm to accommodate a 608 ball bearing. To form the face of the wh...
font = "DejaVu Sans:style=Bold"; letter_size = 6; string = "ABCDEFGHIJKLMNOPQRSTUVXYZ"; $fn = 100; H_text = 0.6; H_base = 2; assert(len(string) == 25, "alphabet should have 25 letters"); module letter(l) { linear_extrude(H_text) text(l, size=letter_size, font=font, halign="center", valign="...
glb/cad_588e8a6364f2.glb
Create a Skadis arrow indicator consisting of a rectangular base and a protruding arrow. Start by creating a rounded rectangular box with a width of 5.8mm, a depth of 14.4mm, and a height of 5.4mm. The corners of this box should have a radius of 2mm. Centered within this base, add a 3D arrow symbol. The arrow should ...
$fn = 100; stiff = 0.05; module rounded_box(width, depth, height, corner_radius, shave_edge = 0) { corner_radius = max(1, corner_radius); width = width - 2 * corner_radius; depth = depth - 2 * corner_radius; corners = [ [0, 0, 0], [width, 0, 0], [0, depth, 0], [width, depth, 0] ]; translate([corne...
glb/cad_eac6755f40fe.glb
Create a customizable sink plug consisting of a tapered base and a ring handle. Start by creating a conical frustum with a height of 10mm, a bottom diameter of 39.4mm, and a top diameter of 40.2mm. On the top flat surface of this frustum, center a torus to serve as a pull ring. The torus should have a major radius of 6...
$fn= $preview ? 16:64; d1=39.4; d2=40.2; h=10; ring=13; ringWall=ring/2; cylinder(d1=d1,d2=d2,h=h); tr([0,0,h],[90,0,0]) torus(r1=ring/2,r2=ringWall/2); module torus(r1=10,r2=1){ rotate_extrude(convexity = 10) translate([r1, 0, 0]) circle(r = r2); } module cylinderRounded(d=[20,40],h=30,center=false,r=[0,0,0,0]...
glb/cad_2e189d24c09c.glb
Create a Babylon 5 Walker avatar head. Start with a central sphere of radius 10mm. Carve out the top and bottom of the sphere using two cubes of 20mm width, centered on the Z-axis and positioned 16mm above and below the center, respectively. Add a nose by extruding a symmetrical polygon profile (points at [0,0], [1.5...
$fn=30; Thick = 2.5; Rad = 10; CylinderThick = 2; scale([.8,1,1]) { difference() { union() { intersection() { BaseHead(); sphere(r=Rad+1); } Rest(); } translate([0,0,-Rad-5]) cylinder(r1=8.5,r2=6,h=25); } } module Rest() { translate([0,0,-.9*Rad]) { difference() { ...
glb/cad_ebbab05b6b78.glb
Create a double-sided game token with a total thickness of 2mm. The main body is formed by the intersection of a cylinder with a diameter of 26mm and a cube measuring 13mm wide by 26mm deep by 2mm thick, centered on the origin. From this shape, remove two rectangular sections from the bottom corners, each 13mm wide by ...
TOKEN_CIRCLE_W = 13; TOKEN_CORNER_SCALE = 0.86; TOKEN_SOLID_MIDDLE = .8; TOKEN_ENGRAVED_FACE = .6; TOKEN_THICKNESS = TOKEN_SOLID_MIDDLE + 2*TOKEN_ENGRAVED_FACE; TEXT_SIZE = 6; $fn = 200; willToken("3", 1.2); module strengthToken (modifier, size=1) { scale([size,size,1]) difference() { ...
glb/cad_d649ce061d26.glb
Create a parametric folding tenting foot consisting of a base and a movable leg. First, construct the base as a rectangular block 35mm wide, 30mm long, and 6mm thick. Carve a central void into the top of the base to accommodate the leg. This void consists of a rectangular cutout 20mm wide and 40mm long, combined with...
Draw_Part = 0; Base_Width = 35; Base_Length = 30; Base_Thichness = 6; Leg_Length = 40; Leg_Width = 20; Leg_Thickness = 4; Bendy_Gap_Offset = 5; Bendy_Gap_Thickness = 5; Bendy_Gap_Y_Offset = 3.3; Hinge_Joint_Leng...
glb/cad_c30c302b9d1b.glb
Create a pin vice collet with a central bore of 2.5mm in diameter. The overall shape is a series of stacked coaxial cylinders. Start with a base cylinder 0.25mm high with a bottom radius of 3.15mm and a top radius of 3.4mm. Above this, add a main cylindrical body with a constant radius of 3.4mm and a height of 5mm. On ...
collet_dia = 2.5; r_col = collet_dia / 2; r_od = 3.4; r_tap = 2.919; l_ch = 0.25; l_p = 5; l_t = 5.51; w_sl = 0.75; qual = 120; difference(){ color("blue")union(){ translate([0,0,0])cylinder(h = l_ch, r1 = r_od - l_ch, r2 = r_od, $fn= qual); translate([0,0,l_ch])cylinder(h = l_p, r = r_od, $fn= qual); t...
glb/cad_650ffd976a62.glb
Create a Bessey Clamp Holder for a honeycomb storage wall. Start with a main rectangular block that has an overall width of 27mm, a depth of 50mm, and a height of 25mm. Apply a 1mm fillet or rounding to all exterior edges. Carve out a central rectangular cavity to hold the clamp head, measuring 23mm wide, 42mm deep, ...
use<hex plug library.scad>; $fn = 128; plaThickness=2; offset=2; minkowskiSetting=1; xDim=23; finalXDim=xDim+plaThickness*2; yDim=50; zDim=25; translate([0, minkowskiSetting, minkowskiSetting]) difference() { minkowski() { translate([-finalXDim/2, 0, 0]) cube([finalXDim, yDim, zDim]); sphere(minkowski...
glb/cad_e94eb57ea317.glb
Create a .32 Long dummy cartridge by combining three stacked geometric primitives. Start with a base rim consisting of a cylinder 9.5mm in diameter and 1.4mm in height. Directly on top of this rim, center a second cylinder for the main case body with a diameter of 8.6mm and a height of 23.4mm. Finally, top the assembly...
$fn = 100; case_height=23.4; rim_height=1.4; cylinder(d=9.5, h=rim_height); translate([0, 0, rim_height]) cylinder(d=8.6, h=case_height); translate([0, 0, rim_height + case_height]) cylinder(h=7.7, d1=7.6, d2=4);
glb/cad_f5e5899ff13b.glb
Create a card organizer box for the Vikings Gone Wild board game with external dimensions of 69mm width, 133mm length, and 97mm height. The box should have walls and a floor that are 1.2mm thick. In the center of the floor, create a stadium-shaped negative space (cutout) measuring 41.4mm wide by 106.4mm long and 1.2mm ...
generate = "Box"; visualize_dividers = "Yes"; game_name=""; text_size=10; game_font = "Franklin Gothic Medium Cond:style=Regular"; move_text_updown = -20; box_width = 69; box_length = 133; box_height = 97; thickness_of_walls = 1.2; thickness_of_floor = 1.2; floor_negative_space = 1; floor_negative_width = 6...
glb/cad_0519c8fc6236.glb
Create a vacuum tube lock button by starting with a main body formed from the convex hull of two cylinders, each 15mm in diameter and 10.2mm high, positioned 6.75mm apart along the y-axis. Add a wider base by creating a convex hull of two 16mm diameter cylinders, 0.5mm high, placed at the same positions as the main cyl...
height=10.2; heightHook=0.5; dia=15; wall=1; thick=5.5; diaHook=16; length=18.5; cutDepth=4.5; cutWidth=3; dimpleDepth=1.1; dimpleRad=15; $fs=0.5; $fa=2; difference(){ union(){ hull(){ for(i=[-1,1])translate([0,i*(length-dia)/2,0])cylinder(d=dia,h=height); } hull(){ ...
glb/cad_d6f1c9cdea9c.glb
Create a Socket Cover consisting of a flat rectangular base and a hollow rectangular shell. Start with a base plate measuring 90mm by 135mm with a thickness of 1mm and rounded corners with a 10mm radius. Centered on this base, construct a hollow rectangular box with outer dimensions of 70mm by 115mm and a total height ...
cw=70; ch=115; cwx = 10; ww = 1; bw = 1; cd = 20; sideOnly = false; closedBottom = false; linear_extrude(height=bw) difference(){ offset(r=cwx) square([cw,ch], center=true); square([cw-ww,ch-ww], center=true); } translate([0,0,cd/2]) difference(){ union(){ cube([cw, ch, cd], center=true); translate([cw/...
glb/cad_e1988ae63815.glb
Create a parametric velcro-style fastener consisting of a rectangular base plate and an array of tapered towers. Start with a rectangular base plate 0.6mm thick. The plate dimensions should extend beyond the tower array by a border of 5mm on all sides. Populate the plate with a grid of tapered cylinders (towers). E...
Base_diameter = 1.0; function Top_diameter() = Base_diameter*1.3; function Height() = Base_diameter*2; Interference = 0; Horizontal = 10; Vertical = 10; Thickness = 0.6; BorderH = 5; BorderV = 5; Resolution = 12; $fn = Resolution; function factor() = Base_diameter/12.5; function spacing()=Base_diameter*4.4+...
glb/cad_80e51c250c7e.glb
Create a FanToFilter connector designed to mount a 120mm fan to a filter cartridge. Start by creating a fan mounting plate with a diameter of 120mm and a thickness of 1mm. This plate should feature a central circular cutout for airflow and four small cylindrical bosses at the corners to accommodate M4 screws. Above ...
printer_layer_height=0.20; printer_plate_thickness=round_up_to_layer_height(5*printer_layer_height,printer_layer_height); printer_wall_thickness=0.86; printer_overlap_angle=45; printer_xy_tollerance=0.5*printer_layer_height; printer_z_tollerance=1.0*printer_layer_height; filter_width=150; filter_length=100; filter_hei...
glb/cad_81a28a3acd53.glb
Create a FanToFilter connector designed to mount a 120mm fan to a filter cartridge. Start by creating a fan mounting plate with a 120mm outer diameter and a central circular cutout to allow airflow. Add four mounting bosses at the corners for M4 screws. Construct a filter housing to hold two filter cartridges, each ...
printer_layer_height=0.20; printer_plate_thickness=round_up_to_layer_height(5*printer_layer_height,printer_layer_height); printer_wall_thickness=0.86; printer_overhang_angle=45; printer_xy_tollerance=0.5*printer_layer_height; printer_z_tollerance=1.0*printer_layer_height; filter_width=1.0*100; filter_length=1.0*150; f...
glb/cad_18468147f2da.glb
Create a one-piece cord-stop consisting of a flat, elongated band with a symmetrical, undulating profile. The shape is defined by two circular end-loops connected by a narrower central bridge. For the medium size, create two circular rings with an inner diameter of 14mm and a wall thickness of 1.2mm. Connect these tw...
$fn=100; module mcurve(m) { if (len(m)) { a=m[0][0]; x=m[0][1]; s=len(m[0])>=3?m[0][2]:1; if (abs(a) > 0) { if (s) translate([-x,0,0]) rotate(a>0?-.001:.001) rotate_extrude(angle=a+(a>0?.002:-.002)) intersecti...
glb/cad_871293ac3c2b.glb
Create a jig for Think Sticks by starting with a solid rectangular block measuring 42.75mm wide, 28.5mm deep, and 13.5mm high. From this block, remove material to create five cylindrical holes, each with a radius of 5.05mm. Position three of these holes vertically, centered along the Z-axis; place one at the center (0,...
myd = 9.5; myr = 0.5*myd; offset = 0.2; rodh = 7.5+0.5*myd; rodl = 35.0; myth = 0.5*rodl-0.5*myd; extra = 0.5; difference() { translate(v=[0,0,0.5*(myth-extra)]) scale(v=[9.0,6.0,(myth+extra)/myr]) cube(size=myr, center=true); ahole(); translate(v=[2.*myr,0,0]) ahole(); translate(v=[-2.*myr,0,0]) ahole...
glb/cad_330cea9f52f1.glb
Create an OLED Display case for IoT consisting of a main housing, a front panel, and a back panel. Construct the main housing as a rounded rectangular box with outer dimensions of 50mm width, 48mm depth, and 40mm height, using a corner radius of 2mm. Hollow out the center of this box, leaving a wall thickness, and cr...
$fn = $preview ? 60 : 100; Case=1; Front=1; Backpanel=1; E=4; if(Case) { difference() { render() Kubus([50,44+E,40],radius=2); translate([1,-6,1])cube([48,60,38]); hull() { translate([16,10,35])cylinder(d=2.2,h=10); translate([34,10,35])cylinder(d=2.2,h=10); } hull() { translate([16,16,35])cylind...
glb/cad_111ba9456b1d.glb
Create a ring-shaped flange for a CAT DX37 angle grinder handle. Construct a solid cylinder with an outer diameter of 90mm and a height of 10mm, centered on the origin. From the center of this cylinder, remove a coaxial cylindrical hole with a diameter of 70mm and a height slightly greater than 10mm to ensure a clean c...
inner_diameter = 70; wall_thickness = 10; ring_height = 10; $fn = 200; module ring() { difference(){ cylinder(h=ring_height, d=inner_diameter+2*wall_thickness , center=true); translate([0,0,0])cylinder(h=ring_height+2, d=inner_diameter, center=true); } } ring();
glb/cad_64f1be875aab.glb
Create a 3D model of a stylized poop emoji. The main body is a tapered, swirling conical shape formed by stacked circular layers that decrease in diameter as they rise, ending in a small curled tip at the top. The base is a wide, rounded disc, and the overall form is rotated 45 degrees. Position two identical eyes on ...
module poop() { pp = 40; ll = 440; function es0(x) = pow(x, 2); function es1(x) = 1 - pow(1 - x, 5); function dd0(r) = 24 * (r < 0.25 ? 1 : es1(1- (r - 0.25)/0.75)); function dd(r) = 15 + 45 * es0(1 - abs(r - 0.25)/0.75); function hh(r) = 135 * (r < 0.26 ? 0 : (r - 0.26)/0.74); function...
glb/cad_9409e5b75315.glb
Create a parametric adhesive hook consisting of a flat rectangular base and a protruding peg. The base is a thin plate measuring 22mm in width, 45mm in height, and 2.2mm in thickness. The corners of the base should be rounded with a fillet radius of 1.4mm. Along the bottom edge, the thickness of the plate transitions f...
$fn=50; body_width = 22; body_height = 45; body_thickness = 2.2; body_chamfer_dist = 16; body_chamfer_thickness_start = 0.8; body_chamfer_width_inset = 1; body_fillet_radius = 1.4; peg_length = 5.5; peg_thickness = 2.8; peg_angle = 80; peg_start_dist = 10; peg_hook_scale = 1.25; hull() { translate([body_width-bo...
glb/cad_6b65aff10110.glb
Create a Gridfinity Tool Tray for Allen keys by starting with a base rectangular block measuring 110mm x 205mm x 15mm. From this block, carve out six L-shaped channels to hold hex wrenches of varying sizes. Each channel consists of a long arm and a short arm connected by a rounded bend with a radius of 2mm to 5.5mm dep...
include <BOSL2/std.scad> $fn=64; function hexTol(d_key) = max(0.5, d_key/4); module hexKey(d_key, l1, l2, r_key, korr_Angle=0){ d_key_tol = d_key + hexTol(d_key); translate([0,0,-d_key/2]){ rotate_extrude(angle=90+korr_Angle, convexity = 10) translate([r_key,0,0]) rotate([0,0,90]) { circle(d=d_ke...
glb/cad_ebbc32c72e68.glb
Create a handlebar mount for an Olight S1 MINI. Start by creating a main cylinder with a diameter of 24mm and a height of 19mm, centered on all axes. From this cylinder, remove a central cylindrical core with a diameter of 20mm and a height of 19mm. Additionally, remove a cube measuring 21mm on all sides, centered on t...
$fn=64; difference() { cylinder(d=24, h=19, center=true); union() { intersection() { cylinder(d=20, h=19, center=true); cube([19, 19, 19], center=true); } translate([0, 16, 0]) rotate([0, 0, 45]) cube([21, 21, 21], center=true); } } module halfCircle(diameter, thickness, width,...
glb/cad_55fc08a459ce.glb
Create a Strikethrough MMU3 Label-Plate. Start with a flat base plate 123mm wide, 26mm high, and 2mm thick. The perimeter is a custom polygon: the top edge is straight, but the sides step inward by 10mm and downward by 6mm before extending to the bottom edge. The bottom edge is also stepped, moving inward by 30.5mm and...
$fn=50; font="Nimbus Sans:Bold"; d=[123,26,2]; e=[10,6]; f=[30.5,0]; g=[25,2]; color("black") linear_extrude(d.z) offset(1) offset(delta=-1) difference() { polygon([ [0,d.y/2], [d.x/2-e.x,d.y/2], [d.x/2-e.x,d.y/2-e.y], [d.x/2,d.y/2-e.y], [d.x/2,-d.y/2], [f.x,-d.y/2...
glb/cad_e25c164c2b2f.glb
Create a customizable parasol stand adapter. Start by creating a main cylinder with a diameter of 51mm and a height of 80mm. On the top face of this cylinder, add a thin circular disc with a diameter of 57mm and a height of 5mm. From this combined volume, remove a central vertical cylinder with a diameter of 28mm tha...
parasolpole_d=26; parasolpole_h=120; stand_d1=53; stand_d2=55; stand_rh=80; stand_hw=34; stand_hh=90; spc=1; h2=5; eps=0.01; $fn=60; module the_stand_tube() { color("darkgrey") { difference() { cylinder(d=stand_d2,h=stand_rh); translate([0,0,-eps])cylinder(d=stand_d1,h=stand_rh+2*eps); } translate([...
glb/cad_c59e53e3a877.glb
Create a door rosette support consisting of a main cylindrical body and a raised outer ring. Start with a base cylinder 49mm in diameter and 6mm high. Remove a central vertical hole 16mm in diameter through the full height of the base. On the top surface of the base, add a concentric ring that is 25mm in outer diamet...
mount_hole_on = false; $fn = 64; body_height = 6; body_outer = 49; body_inner = 16; circle_height = 2; circle_outer = 25; circle_inner = body_inner; circle_shift = body_height; mhole_height = 1; mhole_size = circle_inner + 8; holeh_height = 3; holeh_size = 7.5; holeh_shift = body_height - holeh_height; hole_heigh...
glb/cad_ca952140d5ff.glb
Create a Monster Lock replacement body consisting of a main housing, a shackle, and an internal actuator. First, construct the housing as a cylinder with a diameter of 12.75mm and a height of 20.6mm. Create a central vertical hole through this cylinder with a diameter of 10.5mm. On one side of the housing, add a rect...
$fn = 80; ml410_assembled_locked(); *ml410_assembled_unlocked(); function ml410_brass_colour() = [0.88, 0.75, 0.43]; function ml410_silver_colour() = [0.75, 0.75, 0.75]; module ml410_assembled_locked() { color(ml410_brass_colour()) { rotate([0, 180, -90]) { ml410_kik(); } } c...
glb/cad_c0162214f2fd.glb
Create an IKEA Hol replacement pin by constructing two coaxial cylinders. First, create a base cylinder with a diameter of 12mm and a height of 12mm. Then, create a second, narrower cylinder with a diameter of 10mm and a height of 10.5mm. Position this second cylinder so that its base starts exactly at the top surface ...
$fn = 64; out_width = 12; out_height = 12; in_shift = out_height; in_width = 10; in_height = 10.5; cylinder( d = out_width, h = out_height ); translate([0, 0, in_shift]) cylinder( d = in_width, h = in_height );
glb/cad_a45b351dc9f5.glb
Create a Lucky Bamboo Spacer consisting of a flat circular base and a central vertical tube. Start by creating a thin outer ring with an outer diameter of 70mm, an inner diameter of 65mm, and a height of 3mm. In the center of this ring, place a vertical hollow cylinder with an outer diameter of 19mm and an inner diamet...
$fn = 200; innerDiameter = 16; outerDiameter = innerDiameter + 3; outerRingInnerDiameter = 65; outerRingOuterDiameter = outerRingInnerDiameter + 5; difference(){ cylinder(3, d = outerRingOuterDiameter); cylinder(4, d = outerRingInnerDiameter); } difference(){ color("red") cylinder(30,d=outerDiameter); ...
glb/cad_fdf99441aa12.glb
Create a customizable cat scratcher consisting of a shallow rectangular tray with a grid of conical spikes. Start by constructing the base tray: create a bottom plate 72mm wide by 100mm long with a thickness of 3mm. Add two side walls, each 3mm wide and 10mm high, positioned at the far left and right edges of the botto...
$fn = 25; $sBottomRadius = 8; $sTopRadius = 1.5; $sHeight = 15; $bWallWidth = 3; $bInnerWidth = 66; $bInnerDepth = 10; $bHeight = 100; $sBottomDiameter = $sBottomRadius * 2; $bWidth = $bInnerWidth + ($bWallWidth * 2); $spikesX = floor($bWidth / $sBottomDiameter); $spikesY = floor($bHeight / $sBottomDiameter); $spa...
glb/cad_0861975dc549.glb
Create a 7 Wonders Second Edition card box insert starting with a solid rectangular block measuring 110mm in width, 107.5mm in depth, and 70mm in height. Carve out three rectangular slots from the top, each 106mm wide and 1mm thick at the base, leaving 2.5mm walls on the sides. Position the first slot 1.5mm from the fr...
$fn=200; difference(){ cube([110,107.5,70]); translate([2.5,1.5,1]) cube([106,8,100]); translate([2.5,11,1]) cube([106,28,100]); translate([1,20,12]) rotate([0,270,0]) linear_extrude(1) text("Age III", valign="center", size=11); translate([2.5,40.5,1]) cube([106,32,100]); translate([1,56.5,14]) rotate([0,270...
glb/cad_9bec1222a103.glb
Create a door catch for a 3mm acrylic panel. Start by creating a flat, circular base disk with a radius of 6mm and a height of 1mm. Centered on top of this base, add a concentric cylinder with a radius of 4mm and a height of 4mm. Bore a hole through the center of this upper cylinder with a radius of 3.15mm and a depth ...
include <BOSL2/std.scad> $fn=100; cylinder(r=6,h=1); difference() { cylinder(r=4,h=4); translate([0,0,0.8])cylinder(r=3.15,h=4.1); }
glb/cad_db88b85d0cb2.glb
Create a door catch for a 3mm acrylic double door consisting of two separate components: a mounting base and a door insert. First, create the mounting base as a rectangular block measuring 46mm long, 6mm wide, and 2mm thick. Apply a 1mm rounding to the four vertical edges. Center two holes through the block, each wit...
include <BOSL2/std.scad> $fn=100; translate([0,0,6.5]) difference() { cuboid([30,6,9], rounding=3, edges=[TOP+RIGHT,TOP+LEFT]); translate([-8,0.2,-1])rotate([90,0,0])cylinder(d=6.1,h=3.3); translate([8,0.2,-1])rotate([90,0,0])cylinder(d=6.1,h=3.3); } difference() { translate([0,0,1])cuboid([46,6,2], ro...
glb/cad_ddba6bfd1d25.glb
Create two mirrored Z-axis bottom holder parts for a 3D printer frame. Each part is based on a primary block with a base footprint of approximately 50mm by 52.5mm and a height of 37mm. For each holder, incorporate a central vertical cylindrical opening with a diameter of 22.2mm to accommodate a smooth rod. Add three ...
Fixing_bolt_hole_diameter = 3.2; Fixing_bolt_head_diameter = 6.2; Fixing_bolt_head_depth = 3.5; Rod_hold_diameter = 8.1; Fixing_bolt_hole_radius = Fixing_bolt_hole_diameter/2; Fixing_bolt_head_radius = Fixing_bolt_head_diameter/2; Rod_hold_radius = Rod_hold_diameter/2; module z_bottom_base() { translate([0,-1.5...
glb/cad_bbafa618bd9a.glb
Create a Z axis top holder for a 3D printer frame. The part is a mirrored pair of brackets. Start with a base block approximately 38mm wide, 45mm deep, and 16mm high. On the mounting face, create two horizontal bolt holes with a diameter of 3.2mm. These holes should be recessed to accommodate bolt heads with a diamet...
Fixing_bolt_hole_diameter = 3.2; Fixing_bolt_head_diameter = 6.2; Fixing_bolt_head_depth = 3.5; Rod_hold_diameter = 8.1; Bottom_wall = .6; Z_Screw_hold_diameter = 11.6; Fixing_bolt_hole_radius = Fixing_bolt_hole_diameter/2; Fixing_bolt_head_radius = Fixing_bolt_head_diameter/2; Rod_hold_radius = Rod_hold_diameter/2;...
glb/cad_17085fc00c37.glb
Create two hinge components, an upper and a lower, for a printer frame. For the upper hinge, create a main body by combining a cylinder with a height of 26mm and a radius of 2.4mm, a truncated cone on top with a height of 2mm transitioning from a 2.4mm radius to a 1.8mm radius, and a rectangular block measuring 7mm b...
Fixing_bolt_hole_diameter = 3.5; Fixing_bolt_head_diameter = 6; Fixing_bolt_head_depth = 3.8; Fixing_bolt_hole_radius = Fixing_bolt_hole_diameter/2; Fixing_bolt_head_radius = Fixing_bolt_head_diameter/2; module upper_hinge() { difference() { union(){ cylinder( h = 26, r = 2.4, $fn=30); translate([0,0,2...
glb/cad_99e14c55496c.glb
Create a card organizer box with a lid and dividers. The main box should have outer dimensions of 69mm width, 133mm length, and 95.5mm height, with wall and floor thicknesses of 1.2mm. In the center of the floor, create a negative stadium-shaped cutout measuring 41.4mm by 106.4mm. Along the interior side walls, add a s...
generate = "Box"; visualize_dividers = "Yes"; game_name=""; text_size=10; game_font = "Franklin Gothic Medium Cond:style=Regular"; move_text_updown = -20; box_width = 69; box_length = 133; box_height = 95.5; thickness_of_walls = 1.2; thickness_of_floor = 1.2; floor_negative_space = 1; floor_negative_width =...
glb/cad_2e74c4b491ff.glb
Create a motorcycle mirror extension by constructing a hull between two cylinders. The first cylinder forms the base with a diameter of 19.5mm and a height of 13mm. The second cylinder is positioned 40.5mm away along the x-axis, also with a diameter of 19.5mm, but with a height of 16mm. From this combined volume, remo...
use <threads.scad>; Extension_Height = 36; Extension_Length = 40.5; Lower_Socket_Diameter = 19.5; Lower_Socket_Screw_Diameter = 10.5; Lower_Socket_Screw_Depth = 6; Lower_Socket_Screw_Head_Diameter = 16.5; Lower_Socket_Screw_Head_Depth = 7; Upper_Socket_Diameter = 19.5; Upper_Socket_Screw_Depth = 16; Upper_Socket_Thr...
glb/cad_f96d4ecd4683.glb
Create a rectangular storage box for game components with external dimensions of 69mm width, 133mm length, and 97mm height. The walls and floor should have a uniform thickness of 1.2mm. In the center of the floor, create a stadium-shaped negative space (cutout) measuring 41.4mm wide by 106.4mm long. Along the interior...
generate = "Box"; visualize_dividers = "Yes"; game_name=""; text_size=10; game_font = "Franklin Gothic Medium Cond:style=Regular"; move_text_updown = -20; box_width = 69; box_length = 133; box_height = 97; thickness_of_walls = 1.2; thickness_of_floor = 1.2; floor_negative_space = 1; floor_negative_width = 6...
glb/cad_0519c8fc6236.glb
Create a 1:18 scale parametric shipping crate consisting of a hollow box and a separate lid. For the box, create a rectangular shell with an outer width of 45mm, depth of 35mm, and height of 25mm. The walls are constructed from horizontal planks 5mm wide and 1.2mm thick, separated by 0.5mm gaps. The interior is hollo...
parts = 3; addHandleHoles = 0; width = 45; depth = 35; height = 25; $fn = 32; plankThickness = 1.2; plankWidth = 5; plankGap = 0.5; gapDepth = 0.4; ropeGap = 5; ropeR = 1.1; module crate(w, h, d, addHandle) { if (addHandle) { difference() { difference() { crateMain(w,h,d); tra...
glb/cad_de9cb65bc903.glb
Create a shower drain pull-up hook by combining a rectangular base, a vertical stem, and a circular ring. Start with a rectangular base measuring 12mm wide, 3mm deep, and 3mm high, centered on the origin. From the center of this base, extend a vertical rectangular pole with a width of 2mm and a depth of 3mm, reaching a...
$fn=50; cube([12, 3, 3], center=true); translate([0, 0, 8]){ cube([2, 3, 15], center=true); } translate([0,1,25]){ rotate([-90, 0, 0]){ difference(){ cylinder(h=5, r=10, center=true); cylinder(h=5, r=8, center=true); } } }
glb/cad_3cd007e4fb9b.glb
Create a planar plant support with a total thickness of 10mm. Start by constructing a large outer ring with an outer radius of 31.5mm and a wall thickness of 4mm. Inside this outer ring, center a smaller concentric ring with a radius of 15.75mm and the same 4mm wall thickness. Modify the outer ring by removing a rect...
$fn=64; r=3; R=30; h=1.2; thicknes=4; height=10; module ring(R=63/2,opt=0){ difference(){ cylinder(h=height/2,r=R,center=true); translate([R,opt*R,0]) cube([2*R,2*R,height+1],center=true); if (opt==0){ translate([0,R/2,0]) cube([2*R,R,height+1],center=true);} cylinder(h=height/2+1,r=R-thick...
glb/cad_79629d790b1c.glb
Create a yoghurt lid by constructing a main circular disc with a diameter of 97mm and a total height of 3.5mm. Carve a cylindrical hole out of the center of this disc with a diameter of 95mm and a depth of 2.2mm, leaving a base thickness of 1mm. To create the rim, add a thin circular wall extending from the base to the...
cupDia=95; cupEdge=1.2; thick=1; $fa=2; difference(){ union(){ cylinder(d=cupDia+2*thick,h=cupEdge+2.5*thick); translate([cupDia/2.5,0,0])cylinder(d=cupDia/3,h=2*thick); } translate([0,0,thick])cylinder(d=cupDia,h=cupEdge+2.5*thick); } rotate_extrude()translate([cupDia/2,cupEdge+1.75*thi...
glb/cad_f4af68b19fae.glb
Create a vintage dresser drawer slide stabilizer with a rectangular base measuring 10.4mm in width and 12mm in height. The total length of the part is approximately 56.4mm. On the top surface, create two identical countersunk screw holes. Each hole consists of a main cylindrical shaft with a 5mm diameter and 25mm len...
rail_width = 3; bar_incut_to_wheel = 6.3; bar_incut = 16-1.4; bar_to_wheel_edge = 18; bar_width = 1.2; wheel_incut = 9.4-1.4+rail_width; height = 12; screw_top_diameter = 9; screw_main_diameter = 5; screw_length = 25; screw_inset = 0.5; screw_slope_distance = screw_length-21-screw_inset; drawer_bottom_thickness = 7; dr...
glb/cad_34614276abf4.glb
Create a parametric door handle bumper with a total height of 10mm. The object is formed by the convex hull of two stacked rectangular prisms, each containing a centered cutout. The first section is a rectangular block with outer dimensions of 27mm by 15mm. Centered within this block, create a rectangular hole measur...
$fn = 50; 1_shape = 1; d1x = 21; d1y = 9; 1_thickness = 3; 2_shape = 0; d2x = 20; d2y = 12; 2_thickness = 1.5; height = 10; distance = 3; module outer_1() resize([d1x + 1_thickness * 2, d1y + 1_thickness * 2, height]) { if (1_shape == 0) cylinder(h = 1, d = 1); else ...
glb/cad_7add6403476c.glb
Create a wire shelf support filament holder consisting of a hollow cylindrical sleeve and an integrated plug. The main body is a cylinder with an outer diameter of 0.934mm and a height of 0.723mm. This cylinder is hollowed out by removing a central core that consists of two parts: a lower cylinder with a radius of 0.38...
use <../common/cylinder_arc.scad> use <sleeve.scad> od = 0.934; id1 = 0.771; id2 = 0.755; id3 = 0.598; d1 = 0.45; d2 = 0.641; d3 = 0.723; $fn = 256; module plug() { union() { difference() { cylinder(h=d3 + 0.5, r1=od/2, r2=od/2+0.18, center=false); union() { cyli...
glb/cad_449489555896.glb
Create a customizable air freshener holder. Start by constructing a hollow vertical cylinder with an outer diameter of 55.2 mm, an inner diameter of 54 mm, and a wall thickness of 1.6 mm. The total height of this cylindrical section is 75 mm. Integrate this cylinder with a flat rectangular backplate that is 55.2 mm w...
Maximus_height = 150; Holder_height = 75; Thickness = 1.6; Air_freshener_diameter = 52; Bevel_degree = 30; module __Customizer_Limit__ () {} $fn = 256; holderHeight = Holder_height; thickness = Thickness; innerDiameter = Air_freshener_diameter + 2; bevelDeg = Bevel_degree; diameter = innerDiameter + thickness * 2; ra...
glb/cad_d6b4cd9fc75f.glb
Create a Custom Token Case consisting of two separate parts: a top cover and a bottom base. For a rectangular token with a width of 26mm, length of 26mm, and height of 2mm, design both parts with a wall thickness of 0.8mm and an internal tolerance of 0.3mm. Create the top part as a shallow rectangular shell with a hei...
type = "Rectangle"; wToken = 26.0; lToken = 26.0; hToken = 2.0; rimWidth = 1.5; innerTolerance = 0.3; outerTolerance = 0.0; rimThickness = 0.5; gWallWidth = 0.8; gNotchWidth = 1.5; gSeparator = 2; $fn=64; _min = .005; color("lightblue") CreateTop(wToken, lToken, hToken, rimWidth, rimThickness, innerTolerance); ...
glb/cad_d70e8f88832d.glb
Create a HexaTrellis system consisting of hexagonal frames, connecting links, and mounting posts. First, create the main hexagonal frame. The hexagon should have a maximum width (corner-to-corner) of 210mm, a wall thickness of 15mm, and a depth of 8mm. The frame is a hollow hexagonal ring. Second, design the mountin...
Units = "mm"; Display = "all"; Width = 210; Thickness = 8; WallW = 15; ScrewD = 5; PostH = 25; plugHoles = true; Links_top = [0, 0, 0]; Links_bottom = [0, 0, 0]; Fit = 0.40; $fn=180; POLY_N = 6; EPS = 0.01; IN_TO_MM = 25.4; MIN_SCREW_H = 2; HOLE_PLUG_THICKNESS = 0.4; POST_RECESS = 2; LINK_TOP = 2; MI...
glb/cad_72bbc4d21a33.glb
Create a MinION device model. Start with a main rectangular body 105mm wide, 33mm deep, and 23mm high, with rounded corners (5mm radius). Carve a large rectangular cavity out of the top center, 102mm wide and 30mm deep, leaving a 1.5mm thick floor. Slice the body horizontally at 14.375mm from the bottom to create a d...
wd = 105; ht = 23; dp = 33; sp = ht*3/8; sigma = 0.001; module vent(tk=2){ linear_extrude(height=tk, center=true){ rotate(-30) hull(){ translate([0,-1.5]) circle(d=1.5, $fn=24); translate([0,1.5]) circle(d=1.5, $fn=24); } } } module motif(){ linear_extrude(height=1, center=true, convexity=40) ...
glb/cad_f9ade7561bc8.glb
Create a 1U Eurorack Blank Tile. Start with a rectangular front face that is 43.18mm high, 2mm thick, and has a width calculated as 30.18mm (based on 6 HP). On the back of this face, add two vertical stiffening ribs. Each rib must be 2mm wide, 8mm deep, and 25mm high. Position the first rib 1mm from the left edge and...
use <tile_common.scad>; plate_height = inches(1.7); module front_face(plate_width) { thickness = 2; cube([plate_width, thickness, plate_height], center=false); } rib_width = 2; rib_inset = 1; rib_height = 25; rib_depth = 8; module left_stiffening_rib() { translate([rib_inset, 0, ((plate_height - rib_heig...
glb/cad_f4499a22577c.glb
Create a dust hose adaptor consisting of three stacked coaxial sections with a wall thickness of 2mm. Start with a bottom cylindrical section that is 50mm high, with an outer diameter of 99.5mm and an inner diameter of 99mm. On top of this, add a 50mm high conical transition section that tapers linearly from the bottom...
$fn=200; fit = 0.5; wallThickness = 2; topSectionSize=63; bottomSectionSize=100; topSectionHeight = 50; topOuter = topSectionSize-fit; topInner = topOuter - wallThickness; bottomSectionHeight = 50; bottomOuter = bottomSectionSize - fit; bottomInner = bottomOuter - wallThickness; midSectionHeight = 50; section(bot...
glb/cad_9a3ec7c8af32.glb
Create a customizable pegboard holder consisting of a mounting base and a container. Start with a mounting base that is 27mm high. Within this base, create two symmetrical dovetail cutouts designed for a square pegboard. These cutouts are spaced 33mm apart (center-to-center), with each cutout having a width of 19mm a...
mount_h = 27; top_offset = 4; mount_spacing_mult = 0; sqbrd_mount_spacing = 33; sqbrd_hole_spacing = 38; sqbrd_hole_size = 10; holder_h = 21; holder_form = "rounded_cube"; holder_d = 6; holder_fn = 64; holder_l = 20; holder_w = 40; holder_count_lon = 1; holder_count_lat = 1; holder_start_offset = 0; hold...
glb/cad_b6b0de779e5e.glb
Create a helicopter blade linkage spoon. Start with a main body that is 5mm high. At one end, create a cylindrical head with an outer diameter of 9.18mm and a height of 3mm. This head should contain a spherical cutout with a diameter of 5.1mm centered within it. Extending from the head is a rectangular shaft with a t...
out = "blade_linkage_spoon"; bspoon_l = 15; bspoon_full_h = 5; bspoon_ball_d = 5.1; bspoon_linkage_th = 1.47; bspoon_linkage_OD = bspoon_ball_d+bspoon_linkage_th*2; bspoon_linkage_h = 3; bspoon_thread_d = 2.8; bspoon_shaft_offset = 5; $fn=64; if (out == "blade_linkage_spoon") { blade_linkage_spoon(); } m...
glb/cad_057d125fb422.glb
Create a Spice Drawer Organiser consisting of a grid of hexagonal cells. The grid is 4 cells wide by 4 cells deep. Each cell is designed to hold a jar with a diameter of 50mm, with a spacing of 4mm between the edges of the jars. The walls of the grid have a thickness of 4mm. The cells are arranged in a staggered honey...
include <BOSL2/std.scad> DEBUG = true; QUALITY = 500; EPSILON = 0.1; Dovetails_Bottom = true; Dovetails_Top = true; Dovetails_Left = true; Dovetails_Right = true; Number_X = 4; Number_Y = 4; Thickness = 4; Second_Row_Right_Offset = true; Legs = [ [1,1], [1,3], [2,3], [2,1], ] ; Leg_Diameter = 5; ...
glb/cad_1adaed8fb5a1.glb
Create a series of five cable clips, spaced 20mm apart. Each clip is based on a rectangular block 11mm wide, 8mm high, and 3mm thick. On one side of the block, create a semi-circular cutout to hold a cable. This cutout is formed by subtracting a cylinder with a radius of 1.75mm (3.5mm diameter) from a larger concentr...
font = "Liberation Serif:style=Bold"; buffer = .15; cable_od = 3.25; clip_h = 8; clip_thick = 3; steps = 128; text_d = clip_thick/3; clip_w = 11; font_h = clip_h-1; num_start = 1; num_end = 5; a_char = "C"; for (i=[num_start:num_end]){ translate([20*(i-1),0,0]) rotate([90,0,0]) clip(str(i)); } module text_e(t,t...
glb/cad_b7a53ccd4e0f.glb
Create a Conical Device Mount designed for a honeycomb wall. Start by constructing a hollowed-out conical shell with a wall thickness of 5mm. The outer diameter of the cone should taper from 120mm at the base to 80mm at the apex over a total height of 33mm. Cut the cone in half along its longitudinal axis to create a...
DeviceWidth = 120; DeviceWidthApex = 80; DeviceHeight = 33; WallThickness = 5; CableHoleWidth = 0; BottomCutout = 40; PinLength = 12.85; PinRadius = 7.765; MountHoleWidth = 4; ScrewHeadDiameter = 5.5; ScrewHeadDiameter2 = 4; ScrewHeadHeight = 1.5; Delta=0.01; if (PinLength > 0) { CreatePin(PinLength = P...
glb/cad_2b6340d39727.glb
Create a 1U Rack Hook by starting with a main rectangular base measuring 15.875mm wide, 5mm deep, and 44mm high. To this base, add a protruding arm that extends from the top. This arm is formed by a right-angled triangle with a base of 31.25mm (29.25mm plus a 2mm offset) and a height of 68mm, extruded to the same 15.87...
epsilon = 0.01; $fn = 20; module SAS_Triangle_3D(s1, s2, a, h, valid) { if (valid) { linear_extrude(height = h, twist = 0, center = false) polygon( points = [ [ 0, 0 ], [ s1, 0 ], [ s2 * cos(a), s2 * sin(a) ] ]); } else { cylinder(r = 0.5, $fn = 12, height = h); translate([ ...
glb/cad_3ba58721ec89.glb
Create a 3D model of an Oxford Nanopore minION device. Start with a main rectangular body measuring 105mm in width, 33mm in depth, and 23mm in height, with rounded corners. Hollow out the center of the body to create a casing, leaving a wall thickness of approximately 5mm. Cut a thin horizontal slice through the midd...
wd = 105; ht = 23; dp = 33; sp = ht*3/8; sigma = 0.001; usb_w = 12; usb_h = 2.6; usb_dep = 6.65; usb_ht = (ht-sp)*0.7; e = 0.05; module usb() { $fn = 32; linear_extrude(usb_dep) hull() { translate([-usb_w/2, 0]) circle(usb_h); translate([usb_w/2, 0]) circle(usb_h); } } module vent(tk=...
glb/cad_9a9a5f3a4ebe.glb
Create a plant support consisting of two connected circular rings of different sizes. First, create a large ring for the plant with an inner diameter of 30mm, a wall thickness of 3mm, and a height of 5mm. Cut a 1mm wide gap through the ring's cross-section to allow it to flex. Second, create a smaller ring for a sup...
plantSideDiameter = 30; plantSideThickness = 3; plantSideHeight = 5; stickSideDiameter = 6.4; stickSideThickness = 3; stickSideHeight = 10; gapWidth = 1; tolerance = .1; showColor = true; $fn = 100; eps = .1; plantSideRadius = plantSideDiameter/2; stickSideRadius = stickSideDiameter/2; blockHeight = min( st...
glb/cad_05b22c7f8cd0.glb
Create a pill-shaped wargaming base with a total height of 4.3mm. The outer boundary is an oval formed by a central rectangle 55mm long and 40mm wide, capped by two semicircles with a 20mm radius. Hollow out the center of this shape to create a wall thickness of 1.5mm, leaving a floor thickness of 3.2mm at the bottom. ...
base_height = 4.3; wall_thickness = 1.5; magnet_thickness = 1.0; base_length = 95.0; base_width = 40.0; tolerance = 0.1; top_thickness = (base_height - magnet_thickness) - tolerance; text_size = 4; text_height = 1.2; magnet_count = 3; magnet_diameter = 3; magnet_well_wall_thickness = 2; magnet_tolerance = 0.5; model_sm...
glb/cad_cd1d08117a32.glb
Create a wargaming oval base with a length of 60mm and a width of 35mm. The base should have a total height of 4.3mm. The sides are tapered, with the top surface being smaller than the bottom by 4mm in diameter. The base is hollowed out to create a shell with a wall thickness of 0.5mm, leaving a solid floor at the bo...
base_size = 0; magnet_count = 0; custom_sizes = false; base_length = 90.0; base_width = 52.0; base_height = 4.3; solid_base = false; wall_thickness = 0.5; magnet_height = 1.0; base_top_diameter_difference = 4; tolerance = 0.1; magnet_hole_depth = (base_height - magnet_height) - tolerance; text_size = 4; text_...
glb/cad_a90ff71a5005.glb
Create an oval wargaming base with a total height of 4.3mm, a length of 170mm, and a width of 109mm. The base should be hollowed out from the top to create a rim with a wall thickness of 1.5mm, leaving an interior floor depth of 3.2mm. In the center of the base floor, emboss the text "170" using a bold Arial font wit...
base_height = 4.3; wall_thickness = 1.5; magnet_height = 1.0; base_length = 170.0; base_width = 109.0; tolerance = 0.1; magnet_hole_depth = (base_height - magnet_height) - tolerance; text_size = 4; text_height = 1.2; magnet_count = 5; magnet_diameter = 3; magnet_thickness = magnet_height; magnet_well_wall_thickness = 2...
glb/cad_827f4563861c.glb
Create a watch band fix by constructing a hollow rectangular sleeve with rounded edges. The outer dimensions of the sleeve should be 24.4mm in width, 7.4mm in height, and 9mm in depth. The interior cavity must be a centered rectangular cutout measuring 22mm wide by 5mm high, extending through the depth of the object. A...
echo(version=version()); font = "Liberation Sans"; w_i = 22; h_i = 5; d = 9; r = 1; wall_thickness = 1.2; label = "Dion"; label_depth = 0.4; label_size = 5; w_o = w_i + 2*wall_thickness; h_o = h_i + 2*wall_thickness; difference() { color("gray") minkowski(){ $fn=25; cube([w_o-2*r,h_o-2*...
glb/cad_baf3df6a36f3.glb
Create a Rollerblind Wallspacer by starting with a rectangular block that is 22mm wide, 40mm high, and 17mm thick. Center the block on the origin. Remove a central cylindrical core with a radius of 2mm from the center of the block. Additionally, create two capsule-shaped holes that pass entirely through the 17mm thickn...
$fn=360; width = 22; height = 40; thickness = 17; diameter=5; module bore(x,y) { translate([x,y,0]) hull() { translate([-diameter/2,0,0]) cylinder (h = thickness+5, r=diameter/2, center = true); translate([diameter/2,0,0]) cylinder (h = thickness+5, r=diameter/2, center = true); } } differen...
glb/cad_b5b0c22ea908.glb
Create a Bahtinov mask for a telescope. Start by constructing a circular base cap with an outer diameter of 166mm and a thickness of 3mm. From this base, extend a concentric cylindrical wall upwards to a total height of 15mm. This wall should have an outer diameter of 150mm and an inner diameter of 142mm, creating a wa...
focalLength = 900; aperture = 150; capDepth = 15; capEdge = 8; capThickness = 3; capWall = 4; bFactor = 150; minimumSlat = 2; slatAngle = 30; shadowSize = 0; function slatStride(i) = (i * focalLength / bFactor > 2 * minimumSlat) ? (i * focalLength / bFactor) : slatStride(i + 2); module slats(angle, d, offs) ...
glb/cad_0142a8243518.glb
Create a pill bottle consisting of a base and a lid. For the base, create a cylinder with an outer diameter of 24mm and a total height of 42mm. Hollow out the center with a hole 20mm in diameter and 42mm deep, leaving a 2mm thick floor at the bottom. On the top exterior of the base, add a right-handed trapezoidal screw...
use <Thread_Library.scad> use <knurledFinishLib_v2.scad> makeBase = true; makeLid = true; innerD = 20; innerH = 40; lidH = 4; screwLength = 8; screwWall = 2; floorWall = 2; $fn = 64; label = "SUN"; font = "Liberation Sans:style=Bold"; labelDepth = 0.5; knurlWidth = 3; knurlHeight = 3; knurlDepth = 1; knurlCorner = ...
glb/cad_155084033e4b.glb
Create a pill bottle stand designed to hold eight cylindrical bottles arranged in two rows of four. Start by creating a solid rectangular block with a base floor thickness of 4mm. The overall footprint should be a rounded rectangle based on a box diameter of 22mm plus a 1mm clearance, with 4mm of padding around the edg...
include <pillbottle.scad>; makeBase = false; makeLid = false; rows = 2; columns = 4; padding = 4; boxClearance = 1; boxD = outerD + boxClearance * 2; boxOuterD = boxD + padding * 2; boxHeight = innerH / 2; boxFloor = 4; sideLabel = ""; sideLabelSize = 4; sideLabelDepth = 0.5; difference() { linear_extrude(height...
glb/cad_e962fb994a36.glb
Create a TV frame shape block mount for building toy figures. Start by creating a square base plate measuring 34mm by 34mm with a thickness of 5mm. Hollow out the center of this plate by removing a 32.8mm square section from the top, leaving a thin outer wall of 0.6mm on all sides. Attached to this base, construct a v...
$fn=34; qo=0.001; lenght=34; module clamp(){ linear_extrude(height = lenght, center = false, convexity = 10, twist = 0) polygon([ [0.000,10.000], [31.90,-01.650], [42.967,19.168], [39.950,20.014], [32.264,08.630], [17.060,05.493], [02.925,11.100], ...
glb/cad_803a8b994b0c.glb
Create a 19-inch rack rail for audio gear. The main body is a vertical slot 133.35mm tall (3U), 50mm wide, and 31mm deep. Within this body, carve a vertical channel 6.6mm wide and 10mm deep to accommodate screws, and a wider internal pocket 11.6mm wide and 4.2mm deep to house square nuts. Along the height of the rail, ...
U = 3; side = "left"; topFeature = "coupler_pos"; bottomFeature = "foot"; height = U * 44.45; flip = (side=="right") ? 1:0; module slot(u) { h = u * 44.45; w = 5; screw_W = 6.6; screw_D = 10; nut_W = 11.6; nut_D = 4.2; front = 2.6; difference() { cube([w*5+screw_W,50,h]); ...
glb/cad_6e2acc3fdcd2.glb
Create a Parametric PCB and Fan Mount. Start with a base plate 3mm thick. The base is a hull formed by four 13mm diameter cylinders positioned at the corners of a rectangle defined by a 42.5mm x 40mm frame fixation distance. Add four PCB standoffs at the corners of a 42mm x 52mm rectangle. Each standoff is a cylinder ...
Base_height = 3; Wall_thickness = 3; Fix_mount_distance_x = 42.5; Fix_mount_distance_y = 40; Fix_mount_hole_diameter = 4.2; PCB_mount_distance_x = 42; PCB_mount_distance_y = 52; PCB_standoff_height = 3; PCB_mount_hole_diameter = 3; Nut_height = 2; Nut_diameter = 6.3; Nut_fillet_radius =.4; Add_cooling_fan = ...
glb/cad_369cf8628686.glb
Create a Randomly Generated Height Map consisting of a 40mm by 40mm square base. Fill this area with a grid of smaller cubes, each measuring 2mm by 2mm. For every 2mm square position in the grid, generate a column with a height between 3mm and 5mm. The final height of each individual column should be a random value wit...
module generate_face(width,length,max_height,min_height = 1,pixel = 2) { p_x = floor(width / pixel - 1); p_y = floor(length / pixel - 1); for (y = [0:p_y]) { translate([0,y * pixel,0]) { for (x = [0:p_x]) { n = rands(1,max_height,1); ...
glb/cad_3dd4df64a65b.glb
Create a Merkur 37C razor cover by extruding a specific 2D profile to a height of 41.2mm while applying a 6.5-degree twist along the vertical axis. The base profile is a hollow ring with an outer diameter of 32mm and an inner diameter of 28mm. From this ring, remove a rectangular section measuring 33mm by 33mm centered...
translate(v=[0, 0, -20.6]) linear_extrude(height=41.2, center=false, convexity=10, twist=6.5, scale=1.0) { mirror(v=[1, 0, 0]) { difference() { circle(d=32, $fn=251); circle(d=28, $fn=219); translate(v=[0, -11, 0]) square(size=[33, 33], center=true); translate(v=[15, 0, 0]) s...
glb/cad_b95e23798a3a.glb
Create an MMU2 frame holder with a total thickness of 10mm. Start by constructing a base plate with a complex polygonal profile: the left side features a hook-like structure with a height of 52.25mm and a width of approximately 20mm, while the right side extends into a larger support arm. The main body consists of tw...
depth=10; wall_thickness = 8; rounded_corners = 6; extra_length = 35; inner_bar = 0; inner_bar_up_point = 17; inner_bar_down_point = 17; inner_bar_width = 8; screws = 1; angle = 60; screw_length = 65; $fn = 50; difference() { union() { hook(); mmu_holder(); } if (screws) screws(); } module hook() { linear...
glb/cad_adaa0eb62415.glb
Create a resin print curing station stand consisting of a central vertical pillar and a stabilizing base. The central pillar is a cylinder with a radius of 6mm and a total height of 150mm. Along the height of this pillar, create a series of rectangular peg holes to hold support pegs. These holes should be 120mm long,...
height = 150; pillar_r = 6; base_segs = 3; peg_x = 120; peg_y = 5; peg_z = 2; peg_tolerance = 1; num_of_pegs = 0; seg_pos = 360/base_segs; number_of_peg_holes = abs(height/10); gap_between_peg_holes = height/number_of_peg_holes; if(num_of_pegs > 0) { for(j=[0:num_of_pegs-1]) { translate([height*0.2...
glb/cad_22b65427bb3f.glb
Create a resin print curing station stand consisting of a central pillar, a stabilizing base, and four removable pegs. Start by creating a central vertical cylinder with a height of 150mm and a radius of 5mm. Along the height of this pillar, create a series of rectangular peg holes. Each hole should be 120mm long, 5m...
height = 150; pillar_r = 5; base_segs = 3; peg_x = 120; peg_y = 5; peg_z = 2; peg_tolerance = 0.5; num_of_pegs = 4; seg_pos = 360/base_segs; number_of_peg_holes = abs(height/10); gap_between_peg_holes = height/number_of_peg_holes; if(num_of_pegs > 0) { for(j=[0:num_of_pegs-1]) { translate([height*0...
glb/cad_13a338efee57.glb
Create an electric toothbrush holder consisting of two symmetrical handle holders and two central brush head holders. For each handle holder, create a base block 16mm wide, 31mm deep, and 30mm high. Integrate a pseudo-ellipse by placing two cylinders of 31mm diameter at a distance of 7mm apart, connected by a rectang...
$fn=100; eps=0.1; module generate_pseudoellipse(diameter, distance, height){ translate([-0.5*distance, 0, 0]) cylinder(h=height, d=diameter); translate([0.5*distance, 0, 0]) cylinder(h=height, d=diameter); translate([-0.5*distance, -0.5*diameter, 0]) cube([distance, diameter, heigh...
glb/cad_0fd434db03ca.glb
Create a Sandberg Blue Storm headphones' bridge replacement part. Start with a main rectangular base measuring 211mm in length, 25mm in width, and 4mm in height. Round the top edges of this base. At each end of the base, add a rectangular block measuring 12mm by 15mm by 5mm, centered along the width. On the inner face...
$fn=16; inf=300; not=0.001; w=25; wall=2+2; l=207+2*27+2; bolt=1.5; boltSpan=[19,17]; boltShift=[4,25.5]; boltRing=4; boltRingH=[1+wall,2+wall]; block=[27-15,15,1+wall]; blockShift=[15,0,0]; blockCut=[7,3,inf]; block2=[11,20,1+wall]; block3=[2.5,20,1+wall]; guide=[130,14,1+wall]; f=1; d(){ u(){ t([-l/2,-w/2,0...
glb/cad_bb0d3bf253d4.glb
Create a Universal Assortment Box consisting of a main box and a hinged cover. The box should have an outer length of 100mm, width of 60mm, and a total height of 25mm. Use a wall thickness of 1.6mm and a corner radius of 10mm. The box features an upper rim 2.5mm high with a 0.4mm gap to accommodate the cover. Construc...
height = 25.0; width=60.0; length=100.0; radius=10.0; wall_thickness=1.60; rim_thickness=1.60; rim_height=2.50; rim_gap=0.40; cover_gap=0.10; cover_structure_height=1.51; number_of_hinges=2; hinge_mount=0; hinge_width=15; outer_diameter=3.95; pin_diameter=2.01; pin_clearance=0.21; male_to_female_clearan...
glb/cad_2e4108c33f6c.glb
Create a Minimalist Clothespin Chip-Clip consisting of two mirrored, interlocking curved arms. Each arm is based on a profile that starts with a 157.5-degree curve of 12mm radius, transitions to a 6mm radius curve, then a 7.5mm straight section, followed by a 174.5-degree curve of 5mm radius, a 32mm straight section, a...
$fn=200; include <../library/mcurve.scad> module zigzag(a, b, n, m, z) { translate([-n*a,-m*b,-z/2]) linear_extrude(z) for (y = [0:m-1]) { for (x = [0:n-1]) { translate([x*2*a+a,y*2*b+b]) polygon([[a,b],[a,0],[0,-b],[-a,0],[-a,b],[0,0]]); } } } d=[3...
glb/cad_acd256608adb.glb
Create a TH3d Ruler HSW hook by starting with a hexagonal peg that is 9.5mm tall and 15.35mm in diameter. This peg should be constructed as a hull between a 6-sided prism and a slightly smaller 14.5mm diameter 6-sided prism at the top face. Attached to the bottom of this hexagonal base, position a ruler-holding hook as...
$fn=50; module hexpeg(peg_l) { hull() { cylinder(h=(peg_l - 1), d=15.35, $fn=6, center=true); translate([0, 0, -((peg_l / 2) - .25)]) cylinder(h=.5, d=14.5, $fn=6, center=true); } } module profile(length, dia, base, sep) { hull() { cylinder(h=length, d=dia, cen...
glb/cad_92857de144ef.glb
Create two tapered cylindrical knobs. The first knob is a frustum with a bottom radius of 13mm, a top radius of 12mm, and a height of 6mm. The second knob is a larger frustum with a bottom radius of 18.5mm, a top radius of 17.5mm, and a height of 8mm. For both knobs, center a vertical cylindrical hole with a diameter...
$fn=60; sh=6.1; module groove(a=0,g=6.5) { rotate([0,0,a]) hull() { translate([0,g,6]) cylinder(10,2/2,2/2); translate([0,g,6]) rotate([-160,0,0]) cylinder(10,2/2,2/2); } } module cicik(r=13,i=6,g=6.5,s=45) { difference() { hull() { ...
glb/cad_ce075b448a4c.glb
Create an arrow fletching marking jig. The main body is a hexagonal prism with an external diameter of 12mm and a height of 48mm. Bore a central cylindrical hole through the entire length with a diameter of 6mm to accommodate the arrow shaft. Cut three equidistant longitudinal slots into the hexagonal faces, each 2.5m...
shaftDiameter = 6; externalDiameter = shaftDiameter+6; slotWidth = 2.5; capHeight = 2; nockIndicator = 0.5; sectionLength = 48; sectionCount = 1; baseIsOpen = true; openBaseLength = 35; closedBaseLength = 35; nockAligner = false; nockThroatDepth ...
glb/cad_c54f4bd8005b.glb
Create a card organizer for the Too Many Bones board game. Start with a main rectangular block measuring 94mm wide, 71.9mm deep, and 50mm high, ensuring the corners are rounded with a 3mm radius. Carve out five distinct rectangular slots from the top of the block to hold cards. Position the first slot at [1.5, 2.4, 1...
$fn=200; difference(){ roundedCube3(94,71.9,50); translate([1.5,2.4,1]) cube([91,5.8,100]); translate([1.5,9.7,1]) cube([91,6.4,100]); translate([1.5,17.6,1]) cube([91,6.4,100]); translate([1.5,25.5,1]) cube([91,6.7,100]); translate([1.5,35.2,1]) cube([91,11.6,100]); translate([1.5,48.3,1]) cube([91,21.2,100]);...
glb/cad_07819ec0b4df.glb
Create a card organizer for the Too Many Bones board game. Start with a main outer block measuring 94mm wide, 72.7mm deep, and 50mm high, featuring rounded corners with a 3mm radius. Carve out five rectangular slots from the top face to hold cards, all 91mm wide and 1mm deep. Position the first slot at x=1.5, y=2.4; ...
$fn=200; difference(){ roundedCube3(94,72.7,50); translate([1.5,2.4,1]) cube([91,6.4,100]); translate([1.5,10.3,1]) cube([91,6.5,100]); translate([1.5,18.3,1]) cube([91,6.5,100]); translate([1.5,26.3,1]) cube([91,7.1,100]); translate([1.5,36.4,1]) cube([91,11.4,100]); translate([1.5,49.3,1]) cube([91,21,100]); ...
glb/cad_ae4a5ab50a9f.glb
Create a card organizer for a game chest with an overall outer dimension of 94mm wide, 81.5mm deep, and 50mm high. The main body is a rectangular block with rounded corners of 3mm radius. Carve out five distinct rectangular slots from the top surface, all 91mm wide and 1mm deep, starting from the front edge. The firs...
$fn=200; difference(){ roundedCube3(94,81.5,50); translate([1.5,2.4,1]) cube([91,5.5,100]); translate([1.5,9.4,1]) cube([91,7.7,100]); translate([1.5,18.6,1]) cube([91,7.7,100]); translate([1.5,27.8,1]) cube([91,7.7,100]); translate([1.5,38.5,1]) cube([91,5.2,100]); translate([1.5,45.2,1]) cube([91,11.4,100]); ...
glb/cad_16d192dac004.glb
Create a parametric plant support consisting of a circular base and vertical supports. Start by creating a flat ring with an inner diameter of 56mm and a width of 11mm, extruded to a height of 2mm. In the center of this ring, place a circular hole with a diameter of 5mm. Add five vertical support fins distributed even...
inner_diameter = 56; hole_diameter = 5; ring_width = 11; supports = 5; support_angle = 15; support_height = 30; $fa = $preview ? 12 : 0.1; $fs = $preview ? 1 : 0.1; linear_extrude(2) { difference() { union() { difference() { circle(d = hole_diameter * 2); circle(d = hole_diameter); }...
glb/cad_16263781b921.glb
Create a BitZero v2 holder plug consisting of two stacked cylinders. The base is a cylinder with a diameter of 16.5mm and a height of 7mm. Above this, add a second cylinder with a diameter of 14.9mm and a height of 9.8mm. Carve several openings into the geometry: first, create a horizontal cylindrical hole with a diam...
wire_cyl_d = 16.5; wire_cyl_h = 7; probe_cyl_d = 14.9; probe_cyl_h = 9.8; flex_hole_d = 8; flex_hole_z_off = flex_hole_d/2 + wire_cyl_h + 1; flex_hole_slot_h = probe_cyl_h - flex_hole_d/2 - 1; cross_flex_slot_w = 2.5; wire_hole_d = 3.0; wire_hole_z_off = 1.5; wire_hole_slot_w = 1.8; chamfer_cone_od1 = wire_cyl_d + ...
glb/cad_1ad5bdeda236.glb
Create a Sunlu Hygrometer Mount consisting of a rectangular frame and a cylindrical filament guide. First, construct the hygrometer frame. Create a rectangular outer shell with a total width of 56.4mm, length of 36.2mm, and depth of 4mm. Hollow out the center to leave walls that are 5mm thick on the sides and 4mm thi...
$fs = 0.2; fil_hole_d = 2.5; gap_w = 2.85; chamfer_cyl_d = 13; chamfer_cyl_h = 30; chamfer_depth = 7; thread_z_off = chamfer_cyl_h - 9.5; theta = 25; stem_d = 5.95; stem_y_off = 10; stem_z_off = tan(theta) * stem_y_off; thick = 2; hygro_w = 46.4; hygro_l = 26.2; hygro_face_t = 7; hygro_f_side_t = 5; hygro_f_depth...
glb/cad_c71b603d0bd8.glb
Create a Sunlu Hygrometer Mount and Filament Guide. Start by constructing a rectangular frame for the hygrometer with outer dimensions of 56mm width, 36mm length, and 4mm depth. The frame should be hollowed out in the center to create a border with a wall thickness of 5mm. Attached to the bottom of this frame, create ...
$fs = 0.2; fil_hole_d = 2.5; gap_w = 2.85; chamfer_cyl_d = 13; chamfer_cyl_h = 30; chamfer_depth = 7; thread_z_off = chamfer_cyl_h - 9.5; theta = 25; stem_d = 5.95; stem_y_off = 10; stem_z_off = tan(theta) * stem_y_off; thick = 2; hygro_w = 46.4; hygro_l = 26.2; hygro_face_t = 7; hygro_f_side_t = 5; hygro_f_depth...
glb/cad_411f3ed39751.glb
Create a heavy duty funnel with a threaded outlet. The main body is a hollow conical shape with a total height of 120mm and a wall thickness of 5mm. The exterior starts at the base with a cylinder 50mm in diameter and 30mm high, transitioning through two additional conical sections: the first rises 30mm to a diameter o...
include <NPT Pipe.scad> glue = 0.01; difference () { funnel(); translate ([0,0,0]) render(convexity = 2) NPT_Pipe(d1=4,d2=4,length=27); translate ([0,0,13]) cylinder (6, d1=40, d2=30, center=false); if (false) translate ([5,0,0])cube ([200,200,200]); } module funnel () { dia1= 50; dia1prime=...
glb/cad_9df863ef2a7b.glb
Create an assortment box with an overall outer dimension of 200mm width, 200mm depth, and 70mm height. The box is divided into a grid of 6 columns and 5 rows of storage slots. For each slot, create a hollow rectangular housing with a wall thickness of 1.3mm and a tolerance gap of 0.5mm between the housing and the draw...
drawer_height = 20; drawer_width = 25; drawer_length = 30; wallsize_drawer = 0.8; stepFront = 10; box_X = 120; box_Y = 100; box_Z = 50; box_rows = 4; box_cols = 3; stepBackX = 0; stepBackY = 1; wallsize_slot = 1.3; tolerance = 0.5; notch = 10; flag_frontnotch = 0; flag_breakpi...
glb/cad_8cea06b66e6f.glb
Create a latitude and longitude sign consisting of a rectangular base with embossed text. Start by creating a white rectangular plate measuring 190mm wide, 80mm high, and 1mm thick. On the top surface of this plate, add a black rectangular border that is 185mm wide and 75mm high, with a thickness of 0.6mm. This borde...
lat_decimal = 39.99; lon_decimal = -9.12; lat_dir = lat_decimal > 0 ? "N" : "S"; lat_deg = floor(abs(lat_decimal)); lat_min = floor( 60*(abs(lat_decimal) - lat_deg) ); lat_sec = round( 3600*(abs(lat_decimal) - lat_deg - lat_min/60) ); echo(lat_dir = lat_dir, lat_deg = lat_deg, lat_min = lat_min, lat_sec = lat_sec); l...
glb/cad_c4925dc96a8b.glb
Create a Korbanth MPP 2.0 Chassis consisting of a main switch box and integrated mounting features. Start with a central rectangular block measuring 8.65mm wide, 42mm long, and 34mm high (17mm half-height). Hollow out the center of this block, leaving a wall thickness of 2mm, and create a flat top surface with a thickn...
use<c:\users\lee\downloads\duponyx.scad> tacswH = 4.7; tacswButtonH = 0.8; tacswL = 6.2; tacswW = 6.2; tacswSep = 28; tacswLegW = 5.5; tacswLegThickness = 1; tacswLegLen = 10; tacswLegSep = 3.8; swBoxLen = 42; swBoxBW = 8.65; swBoxTW = 7.65; swBoxH = 17; swBoxTaper = 1; wallThickness = 2; topWallThickness = 3; scre...
glb/cad_74d3fe7d392d.glb
Create a small mechanical component consisting of a hollowed cylinder and a hexagonal cap. Start by creating a main cylinder with a diameter of 5.2mm and a height of 10.5mm, centered on the Z-axis. Remove a smaller concentric cylindrical core with a diameter of 2.7mm and a height of 10.5mm to create a thin-walled tube....
e=0.1; jackh = 10.5; jackd = 5.2; jackid = 2.7; topThickness = 0; gripH = 2; gripD = 10; notchH = 4; notchZ = 3; $fn=100; union() { difference() { cylinder(d=jackd,h=jackh+topThickness,center=true); translate([0,0,-topThickness]) cylinder(d=jackid,h=jackh+topThickness+e,center=true); ...
glb/cad_cee32ffa83f8.glb
Create a Korbanth MPP 2.0 Chassis blade end component. Start with a main outer cylinder that has a diameter of 22.4mm and a height of 18mm, centered on the Z-axis. Hollow out this cylinder by removing a concentric inner cylinder with a diameter of 21.8mm (calculated as the outer diameter minus twice the wall thickness ...
gx16dia = 15.5; gx16h = 18; capDia = 22.4; layerH = 0.2; nozzleW = 0.4; thickness = nozzleW *4; bladeID = 18.8; bladeInnerHeight = 10; bladeLipThickness = 1; gx16mh=10; gx16mscrewh = 3; gx16mliph = 3; gx16mdia = 12.7; gx16mlipdia =gx16mdia-0.8; gx16mscrewdia =2; gx16mscrewsink = 2; ledstripChanW = 12.5; lestripCh...
glb/cad_cb37de043b42.glb
Create a fixing lug consisting of a flat rectangular base plate and a vertical mounting bracket. The base plate should be 30mm by 30mm with a thickness of 3mm. On the base plate, create four screw holes, each 4mm in diameter. Position these holes symmetrically near the corners. Additionally, create a central hole in ...
difference() { union() { difference() { cube(size=[30, 30, 3.0], center=true); translate(v=[14.0, 14.0, -1.52]) linear_extrude(height=3.04, center=false, convexity=10, twist=0.0, scale=1.0) difference() { translate(v=[0.5, 0.5, 0.0]) square(size=[1.04, 1.04], center=true...
glb/cad_f7cfe6680372.glb