Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a test hole block by starting with a rectangular base measuring 30mm wide, 30mm deep, and 22.5mm high. Remove a large section from the top of the block using a 45-degree angled cut to create a sloped upper face. On the remaining body, create four sets of holes, each set consisting of a horizontal, a 45-degree ...
cs = 30.0; ht = 0.75*cs; hs = 6.5; hlocs = [[1.9,-1.5*hs],[2.0,-0.5*hs],[2.1,0.5*hs],[2.2,1.5*hs]]; mytext1 = "1.9"; myfont = "Courier"; mysize = 5; dept = 1.0; difference() { cube(size=[cs,cs,ht],center=true); rotate(a=[0,-45,0]) translate(v=[0,0,ht+0.9*ht]) cube(size=2*cs,center=true); for (h=hlocs)...
glb/cad_8da7ca7fc789.glb
Create a belt clip adapter for a Gigaset A415/A420 phone. Start by constructing a central rectangular base that is 24.8mm wide, 2mm thick, and 20mm high. From this base, remove a central rectangular section 17.8mm wide, 2mm thick, and 20mm high, leaving two outer walls. Extend the geometry by adding two side blocks, e...
$fn=360; use <quansheng-clip.scad>; phone_depth = 22; phone_width = 48.5; phone_clip_height = 20; phone_clip_depth = 2; phone_flat_middle = 22.8; phone_side_shortest = 8; translate([phone_clip_depth / -2, 0, 0]) { difference() { translate([phone_flat_middle / -2, phone_clip_depth / -2]) cube([phone_flat...
glb/cad_5558d8257de2.glb
Create a belt clip mount for a Gigaset A415/A420 phone. Start with a rectangular base plate measuring 23.8mm wide by 30.5mm deep and 1mm thick. Construct a U-shaped channel on top of this base to hold a clip. Create two vertical side walls, each 2.4mm wide and 30.5mm deep, positioned at the left and right edges of th...
side_height = 1; total_height = 2.5; module gen_clip(bottom_plane_height=1) { translate([0, 0, bottom_plane_height * -1]) color("green") cube([23.8, 30.5, bottom_plane_height]); cube([2.4, 30.5, total_height]); translate([2.4, 0, side_height]) cube([1.5, 30.5, total_height - side_height]); translate...
glb/cad_c7e2df74cf06.glb
Create a round figurine pedestal with a total height of 7.5mm. The base of the pedestal should be a flat circle with a diameter of 50mm. The top surface should be a concentric flat circle with a diameter of 42.5mm. Connect the outer edge of the top circle to the outer edge of the bottom circle using a concave inverse f...
$fn=1000; radius = 25; height = 7.5; fillet_radius = 3.75; rotate_extrude() { difference() { square([radius, height]); translate([radius, height, 0]) circle(fillet_radius); } }
glb/cad_4e5c7118782a.glb
Create a keyhole hanger for a Skadis board. Start by creating a base disk with a diameter of 10mm and a height of 3mm. Centered on top of this disk, add a smaller cylinder with a diameter of 5mm and a height of 3mm. Above that, add a wider cylinder with a diameter of 15mm and a height of 2mm. Continuing vertically fro...
$fa = 1; $fs = 0.2; disk_diameter = 10; disk_depth = 3; slot_diameter = 5; slot_depth = 3; skadis_board_thickness = 5.3; skadis_slot_width = 5; module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") { size = (size[0] == undef) ? [size, size, size] : size; translate_min = radius;...
glb/cad_d88ff04f47df.glb
Create a keyhole hanger for a Skadis board by stacking several coaxial geometric primitives along the Z-axis. Start with a base cylinder 10mm in diameter and 3mm high. On top of this, add a second cylinder 5mm in diameter and 3mm high. Above that, place a thin disk 15mm in diameter and 2mm high. Continuing upward, add...
$fa = 1; $fs = 0.2; disk_diameter = 10; disk_depth = 3; slot_diameter = 5; slot_depth = 3; skadis_board_thickness = 5.3; skadis_slot_width = 5; module roundedcube(size = [1, 1, 1], center = false, radius = 0.5, apply_to = "all") { size = (size[0] == undef) ? [size, size, size] : size; translate_min = radius;...
glb/cad_9deda92fcc13.glb
Create a shower head diverter pull pin holder by extruding a curved, C-shaped ring to a height of 7.74mm. The shape is defined by two concentric circles: an inner radius of 9mm and an outer radius of 11mm, creating a wall thickness of 2mm. The ring is not a full circle; it consists of an arc covering 240 degrees, leavi...
$fn = 100; diverter_radius = 9; wall_thickness = 2; height = 7.74; module arc(radius, thick, angle){ intersection(){ union(){ rights = floor(angle/90); remain = angle-rights*90; if(angle > 90){ for(i = [0:rights-1]){ rotate(i*90-(rights-1)*90/2){ polygon([[0, 0], [radius+thick, (radius+thic...
glb/cad_02f1436bcb5d.glb
Create a Unifi USW Enterprise raiser consisting of a rectangular frame with four raised corner feet. First, construct the main outer frame by creating two parallel rectangular bars, each measuring 164mm in length, 24mm in width, and 3mm in height. Position these bars 140mm apart. Then, add two more parallel rectangular...
union() { doFeet(); translate([146,0,0]) doFeet(); translate([0,140,0]) doFeet(); translate([146,140,0]) doFeet(); cube([18,164,3]); translate([146,0,0]) cube([18,164,3]); cube([164, 24,3]); translate([0,140,0]) cube([164, 24,3]); } module doFeet() { cube([18, 24, 15]); }
glb/cad_94ed5f53ed2b.glb
Create a grinder machine tool rest adjustment jig by starting with a rectangular block 60mm long, 8mm wide, and 8mm high. Position this block so that its center is rotated 10 degrees clockwise. On the side of this block, add a thinner rectangular slab that is 12mm long, 40mm wide, and 2mm thick, aligned with the same 1...
toolWidth = 8.0; toolLen = 60.0; grinderDiam = 150.0; extraWidth = 40.0; angle = 10.0; difference() { translate([grinderDiam / 2 - 10, 0, 0.01]) { rotate([0, 0, -angle]) cube([toolLen, toolWidth, toolWidth]); rotate([0, 0, -angle]) translate([0, -extraWidth/2 +5, 0]) cube([12.0, extraW...
glb/cad_b2e55d513eda.glb
Create a nail grinder abrasive cap consisting of two stacked cylindrical sections with a hollow center. The base section is a cylinder with an outer diameter of 20.9mm and a height of 10mm. Directly on top of this base, add a second cylindrical section with a height of 11mm that tapers slightly from an initial outer di...
include <BOSL2/std.scad> $fn= $preview ? 32 : 64; lower_outer_d = 20.9; lower_inner_d = 18.2; lower_cyl_h = 10; upper_outer_d = 17; skin = (lower_outer_d-lower_inner_d)/2; upper_inner_d = upper_outer_d - (2*skin); difference() { solid(); cutout(); } echo("skin", skin); echo("upper_outer_d", upper_outer_d)...
glb/cad_785a9be45760.glb
Create a Rittal 7240.220 powerCON TRUE1 Mod mounting bracket. Start with a main rectangular base measuring 44mm by 44mm with a thickness of 3mm. The corners of the base should have a radius of 1mm. Add a central cylindrical cutout with a diameter of 24mm that passes through the base. On the underside of the base, crea...
$fn = $preview ? 32 : 64; railSize = [44,44]; outerDepth = 3; railWidth = 1.4; railTopWidth = (railSize.x - 39.2) / 2; railTopHeight = 5.5; railTopSlotPosX = (railSize.x-42) / 2; railTopSlotPosY = 1.3; railTopSlotHeight = 2.8; railScrewDistance = 38; railScrewPosY = 14; railScrewTabWidth = 4; railScrewTabHeight = 5...
glb/cad_f9d8613eba0f.glb
Create a rubber foot with a tapered cylindrical profile. The main body is a truncated cone with a base diameter of 17mm and a top diameter of 8mm, reaching a total height of 12mm. The bottom of the foot is flat, while the top edge is rounded with a radius of 3mm. Carve a vertical cylindrical hole through the center o...
fn = 100; corner_diammeter = 3; height = [5, 12]; out_in_diameter = [17, 8]; bore = 4; module rubber_feet(diameter, height, out_in_diameter, bore, fn){ difference(){ cylinder(h = height[1] - diameter / 2, d1 = out_in_diameter[0], d2 =out_in_diameter[1] + di...
glb/cad_7566c9fedefe.glb
Create a wood wick holder consisting of a flat square base and a centered vertical support. Start by creating a square base plate measuring 12mm by 12mm with a thickness of 2mm. Centered on top of this base, add a vertical rectangular support block that is 12mm wide, 6mm high, and 4mm thick. Carve a narrow, centered sl...
base_thickness = 2; support_height = 6; wick_thickness = 0.75; support_width = 12; support_offset = base_thickness + (support_height/2); module base() { translate([0,0,base_thickness/2]) cube([12, 12, base_thickness], center=true); } module support() { translate([0,0,support_offset]) difference()...
glb/cad_60c08ca3a037.glb
Create a rectangular enclosure plate for a CO2 sensor node with overall dimensions of 81mm in length, 55mm in width, and 3mm in height. At each of the four corners, create a tiered circular hole. First, center a large hole with a radius of 4.25mm that penetrates the top 1.5mm of the plate. Then, center a smaller, deepe...
$fn=25; l=81; w=55; h=3; difference() { cube([l,w,h]); translate([4.5,4.5,1.5]) cylinder(h=1.502,r=4.25); translate([l - 4.5,4.5,1.5]) cylinder(h=1.502,r=4.25); translate([4.5,w - 4.5,1.5]) cylinder(h=1.502,r=4.25); translate([l - 4.5,w - 4.5,1.5]) cylinder(h=1.501,...
glb/cad_1ff43e3017b1.glb
Create a rectangular enclosure for a CO2 sensor node with outer dimensions of 81mm length, 55mm width, and 25mm height. The main body is a hollow shell with a wall thickness of 3mm. On the front face, create a rectangular cutout 2mm wide and 12mm high, starting 8mm from the left edge and 13mm from the bottom, to allow...
$fn=25; l=81; w=55; h=25; wl=3; difference() { union(){ difference() { cube([l,w,h]); translate([wl,wl,wl + 0.001]) cube([l - wl * 2, w - wl * 2, h - wl]); } translate([27,11,3]) cube([15,15,3]); translate([50,4.5,3]) ...
glb/cad_a6691f0e2e3b.glb
Create a drill guide for cabinet knobs consisting of a flat base and a perpendicular locator edge. Start by creating an L-shaped base formed by two intersecting rectangular blocks: one block measuring 76.2mm by 101.6mm by 10mm, and a second block measuring 101.6mm by 76.2mm by 10mm, joined at a right angle to form a la...
inch = 25.4; $fn=90; screw8 = 5/32*inch; from_side = 2*inch; from_bottom = 1.5*inch; difference() { translate([-1,-1,0]) { cube([3*inch,3*inch,3]); } translate([from_side,from_bottom,-1]) { cylinder(d=screw8+0.3,h=10); } translate([from_bottom,from_side,-1]) { cylinder(d=screw8+0.3,h=10); } }...
glb/cad_1be4aadcbb12.glb
Create a doorlock replacement part for a distribution box. Start with a base cylinder that has a diameter of 38mm and a height of 3mm. Above this base, add a tapered cylinder that starts at a diameter of 32.6mm and narrows to 29mm over a height of 17mm. Inside this tapered section, create a hollow central cavity by r...
rotate([180,0,0]) union(){ difference(){ union(){ translate([0,0,3]) cylinder(h=11+4+2, d1=33-0.4, d2=29, center=false, $fn=300); difference(){ union(){ translate([0,0,3+2]) cylinder(h=5, d1=33+2, d2=30.7, center=false, $fn=300); ...
glb/cad_d319512d06ce.glb
Create a Cork and Bottlecap Stand consisting of a flat base and a grid of eight holding necks. Start by creating a base plate that forms a convex hull around eight cylinders, each with a diameter of 36mm and a height of 2mm. Arrange these cylinders in two rows of four; the rows should be spaced such that the centers of...
include <BOSL2/std.scad>; include <BOSL2/bottlecaps.scad>; across = 4; up = 2; spacing = 20; tight = 0; outer = 28; $fn = $preview ? 30 : 72; function xoffset(outer, spacing) = outer + spacing; function yoffset(xoff) = sqrt(3) / 2 * xoff; module neck() { difference() { translate([0, 0, 7]) sp...
glb/cad_d8e6da6368b8.glb
Create a bottle stopper with two inlets for gas and liquid. The main body is a tapered plug with a height of 14mm, transitioning from a bottom diameter of 15.7mm to a top diameter of 20.5mm (calculated as 26.5mm minus two 3mm borders). Integrated into the top of this plug is a flat circular disc with a diameter of 26...
$fn = $preview ? 64 : 64; $fa = $preview ? $fa : 0.2; $fs = $preview ? $fs : 0.1; thickness = 2; diameter = 26.5; plug_height = 14; plug_border = 3; inner_diameter = 15.7; adapter_a = 8; adapter_b = 4; adapter_height = 10; spiel = 0.07; center_off = (thickness+adapter_a+adapter_b)/2; mu = 0.001; module outer_neg...
glb/cad_1e81b34df856.glb
Create a bottle stopper with two parallel cylindrical inlets. First, construct a primary cylinder with a diameter of 7.9mm and a total height of 26.4mm. Next to it, create a second, smaller cylinder with a diameter of 3.9mm and the same height of 26.4mm. Position these two cylinders so they stand vertically and paralle...
$fn = $preview ? 64 : 64; $fa = $preview ? $fa : 0.2; $fs = $preview ? $fs : 0.1; adapter_a = 8; adapter_b = 4; thickness = 2; plug_height = 14; adapter_height = 10; adapter_inset = 1.2; cyl_height = adapter_height + adapter_inset*2 + plug_height + 2*thickness; spiel = 0.1; translate([0,-adapter_a/2 - 5, cyl_height...
glb/cad_df44c779b4a6.glb
Create a power socket attached holder for a charged device. The main body is a block with a width of 15mm and a total height of 28mm. The base of the block has a thickness of 4mm. From the top of this base, a vertical section rises to a total height of 28mm with a thickness of 4mm. On the opposite side of the base, a...
$fa = 1; $fn = 20; $fs = 0.4; mink = 1; holder_height = 25; holder_height_front = 25/2; holder_width = 15; thick1 = 5 - mink; thick2 = 3 - mink; thick3 = 1 - mink; cradle_width = 8; hole_thick = 3; hole_width = 15; difference() { minkowski() { sphere(d = mink); linear_extrude(holder_width) polygon(points=[[0...
glb/cad_fc05fc0c5cbf.glb
Create a power socket holder consisting of a cylindrical base and an attached T-shaped support. Start with a cylinder 38.6mm in diameter and 15mm high. From this cylinder, remove a central volume shaped like a Europlug: a polygon with a total width of 36.4mm and a height of 7.2mm, centered on the cylinder's axis. Addit...
$fa = 1; $fs = 0.4; nit = 0.01; socket_dia = 39 - 0.4; socket_depth = 15; eplug_width = 36 + 0.4; eplug_hheight = 14/2 + 0.2; gnd_pin_dia = 5 + 0.4; gnd_pin_offset= 10.2; holder_clearance = 6; holder_thick = 3; holder_clearance_thick = 4; holder_width = 20; holder_length = 33; holder2_width = 60 + 15 + 15; ...
glb/cad_6c0b37085335.glb
Create a flexible pipe cable holder with a height of 12mm. The main body is a thick, rounded ring designed to clamp around a pipe. The inner diameter of the main circular opening is 29mm, and the outer diameter is 34mm, creating a wall thickness of 2.5mm. The ring is split by a 2mm wide vertical gap to allow it to be...
fn = 100; edge = 2; diameter_in_out = [29, 34]; height = 12; diameter_cable = 5; scale_pipe_x = 100; scale_nut_y = 70; scale_length_y = 36; M4 = [7, 5, 3.5, 8, 3]; gap = 2; module round_cylinder(radius, height, diameter, fn){ hull(){ rotate_extrude(convexity = 10, $fn = fn) translate([diameter / 2...
glb/cad_5ebab9d1f94b.glb
Create a fridge rail guard with an overall footprint of 137mm width, 57mm height, and a uniform thickness of 2mm. Start by constructing a solid rectangular slab of these dimensions. From this slab, remove a central rectangular section to create a frame; the side borders should be 5mm wide, and the top and bottom border...
include <honeycomb.scad> height = 57; width = 137; thickness = 2; railWidth = 5.5; railHeight = 12; dia = 8; wall = 2; borderTB = 14; borderLR = 5; translate([borderLR,thickness,borderTB]){ rotate([90,0,0]){ linear_extrude(thickness){ honeycomb(width-2*borderLR, height-2*borderTB, dia, wall); } } }...
glb/cad_1c80425b72ce.glb
Create a mounting bracket for an NFC reader. Start with a rectangular base measuring 45.3mm by 31.3mm with a thickness of 5mm. At the center of the base, create a hexagonal cutout with a flat-to-flat width of 11.4mm that passes through the base. Above this hexagon, add a cylindrical void with a diameter of 15.6mm and...
outer = [45.4, 31.4] - [0.1, 0.1]; inner =[36.45, 16.5] + [0.1, 0.1]; post_size = (outer - inner) / 2; post_centers = inner + post_size; thickness = 5; post_height = 2.25; finger_overhang = 2.5; finger_thick = post_height - 1; outer_hole_to_snap_vertical = 11.9 - 1.65; lever_width = 10.2; lever_extension = 4; lev...
glb/cad_26c114dcb95f.glb
Create a parametric under-table drawer and matching slides. For the drawer, create a rectangular box with an outer width of 153mm, length of 183mm, and height of 41.5mm, with a wall thickness of 1.5mm. The interior should be hollowed out to 150mm by 180mm by 40mm. On the two shorter sides, add reinforced rails that tap...
module drawer(w,l,h,d) { difference() { translate([d*-1,d*-1,d*-1]) cube([w+d*2,l+d*2,h+d]); cube([w,l,h]); } hull() { translate([d*-1,d*-1,h-d*4]) cube([d,l+d*2,4*d]); translate([d*-4,d*-1,h-d]) cube([d,l+d*2,d]); } hull() { translate([w,d*-1,h-d*4]) cube([d...
glb/cad_fb5fba34c741.glb
Create a grease packing tool for wheel bearings by constructing a thick, hollow cylinder. Start with a solid outer cylinder that has a diameter of 72.9mm and a height of 25mm. From the center of this cylinder, remove a smaller coaxial cylinder with a diameter of 45.1mm and a height of 30mm to create a deep central hole...
$fn = 200; difference() { translate([0,0,0]) cylinder( d=72.9, h = 25 ); translate([0,0,-1]) cylinder( d=45.1, h = 30 ); translate([0,0,-1]) cylinder( d=61.5, h = 3 ); }
glb/cad_ff93a104bf32.glb
Create a grease packing tool consisting of two main concentric cylindrical components. First, construct a large outer cup with a diameter of 80mm and a height of 35mm. Hollow out this cup by removing a central cylinder with a diameter of 38mm and a height of 40mm, starting from 1mm below the base. Within this hollow sp...
$fn = 200; difference() { cylinder(h=35,d=80); translate([0,0,5]) cylinder(h=15,d1=65,d2=73); translate([0,0,20]) cylinder( d=73, h = 22 ); translate([0,0,-1]) cylinder(h=30,d=40); translate([0,28,-1]) cylinder(h=30,d=3); translate([0,-28,-1]) cylinder(h=30,d=3); translate([28, 0, -1]) cylin...
glb/cad_c897fc1d2e7c.glb
Create a parametric battery protector shell with a base and three walls. Start with a solid block measuring 80mm in length, 38mm in width, and 25mm in height. Apply a 1.5mm fillet to all exterior edges to smooth the corners. Hollow out the center to create a compartment for a battery that is 118mm long, 34mm wide, an...
wall_thickness = 2; battery_width = 34; battery_height = 41; battery_length = 118; label = "TATTU"; label_size = 8; label_depth = 0.6; label_offset = 3; guard_height = 25; guard_length = 80; cutout_height = 12; cutout_width = 12; cutout_pushback = 35; cuttout_length = 22; fillet = 1.5; chamfer_offset = 12; chamfe...
glb/cad_2f4bc72b6e32.glb
Create a wheel blocker for a cabinet by constructing a solid of revolution and removing two cylindrical voids. First, create a profile in the XY plane consisting of a polygon with vertices at [0, 14], [0, 0], [45, 0], [45, 2], and [33, 14]. Rotate this profile 360 degrees around the Y-axis to form a rounded, disc-like ...
$fa=1; $fs=0.2; wheel_spacing = 16; wheel_thickness = 15; spacer_radius=33; wheel_diameter=49; difference() { rotate_extrude() polygon([[0, 13+1], [0, 0], [spacer_radius+(13-1), 0], [spacer_radius+(13-1), 2], [spacer_radius, 13+1]]); for(i=[0, 1]) mirror([0, i, 0]) translate([0, wheel_spa...
glb/cad_4a44bd3b0cee.glb
Create a capacitor strap by starting with a base plate that is 20mm long, 8mm wide, and 4mm thick. The base should have rounded ends with a radius of 4mm. Drill two vertical holes, each 5mm in diameter, passing completely through the plate; position the first hole centered at one end and the second hole centered 20mm a...
post_width = 5; post_spacing = 20; width = 8; height = 4; capacitor_width = 10; capacitor_offset = 1; $fn = 50; tolerance = 0.1; difference(){ linear_extrude(height) { hull() { translate([post_spacing,0,0]) circle(width/2); circle(width/2); } } translate([post_spacing,0,-tolerance]) cyl...
glb/cad_aa25814fc609.glb
Create a Hammerhead Karoo Garmin adapter. Start with a flat circular base plate with a diameter of 33.75mm and a thickness of 2.2mm. The base should have a slightly wedge-shaped profile. On top of this base, construct a Garmin-style quarter-turn mount. This mount consists of a central cylinder with a diameter of 25mm ...
include <util.scad>; mount_offset = 3; flex_cutout = false; tab_h = 3.43; tab_th = 1.4; base_main_d = 33.75; base_tab_r = 41.2; base_tab_w = 36.2; base_th = 2.2; base_angle = atan(2.4-1.7)/(33.72) * 1; $fn=80; module rast() { translate([23.9/2,0,0]) rotate([0,0,90]) wedge(2.85, 2.65, -1, 0, 7, 1.4); } module ...
glb/cad_032de0b7c1e4.glb
Create a Swisstools PB Screwdriver holder consisting of a central disc and an attached cylindrical end cap. Start with a middle section that is a cylinder 32mm in diameter and 5mm high. In this middle section, remove four vertical holes with a diameter of 4mm, each positioned 8mm from the center, spaced every 90 degree...
include <scad-utils/morphology.scad> $fn=180; outer_shell_d = 32; screwdriver_handle_small_d = 12; screwdriver_handle_large_d = 15.5; screwdriver_tool_d = 4; module lazy_fillet(r_round=3) { difference() { square(r_round); translate([r_round,r_round]) circle(r=r_round); } } module holder_end() { linear...
glb/cad_d4177e9c1200.glb
Create a rectangular support block for an MPU6050 IMU with a length of 21.11mm, a width of 11.25mm, and a height of 11mm. Drill two vertical holes completely through the block to accommodate 3mm screws; each hole should have a diameter of 2.4mm. Position the first hole with its center 2.5mm from the left edge and 2.5mm...
$fn = 50; height = 8.5+2.5; hole_diameter = 3 - 2 * 0.3; pcb_length=21.11; pcb_width=15.75; header_gap=4.5; module hole() { union() { linear_extrude(height=height) { circle(r=hole_diameter/2, center=true); } } } difference() { difference() { linear_extrude(height=heigh...
glb/cad_2fd6f988d956.glb
Create a pattern weight by constructing a hexagonal prism with a flat top and bottom. The overall height of the object is 30mm, and the width across the flats of the outer hexagon is 58mm. From the center of the bottom face, remove a cylindrical hole with a diameter of 50mm and a depth of 22mm. Additionally, remove a s...
include<hex plug library.scad>; inner_dia=50; thickness=4; height=22; union(){ translate([0,0,height+2*thickness]) insert_empty(tolerance=0, inner_tolerance=0); difference(){ cylinder(d=inner_dia+2*thickness, h=height+2*thickness, $fn=6); translate([0,2,thickness]) cylinder(d=inner_...
glb/cad_8a2adddad0a2.glb
Create a Gridfinity-compatible storage tray for a Bernina L450/L460 decorative thread guide. Start with a base block that is 1 unit wide by 3 units deep, with a total height of 6 units. From this base, carve out a central rectangular cavity that is 14mm wide, 70mm long, and 30mm deep. Within this cavity, remove a thi...
use <gridfinity_modules.scad> module siergaren() { color("beige") cube([28,13,26]); color("gray") translate([5,13,0]) cube([12,55+1,1]); color("gray") translate([5+12,13+25,-6]) cube([1,8,7]); color("gray") translate([5,13+55,0]) rotate([-20,0,0]) cube([12,38,1]); color("gray") translate([5,13+55,0]) ro...
glb/cad_dfd6d3486984.glb
Create a cradle for a 4-inch inline fan by starting with a solid rectangular block measuring 105mm in width, 115mm in length, and 55mm in height. Center this block and carve out a large horizontal cylinder with a radius of 50mm that runs through the entire length of the block along the Y-axis. To create the open-ended ...
fan_h=110; fan_r=50; offset=5; $fn=100; difference(){ translate([0,0,fan_r/2+offset/2]) cube([fan_r*2+offset, fan_h+offset, fan_r+offset], center=true); translate([0,0,fan_r+offset]) rotate([90,0,0]) cylinder(h=fan_h+offset*2, r=fan_r, center=true); translate([fan_r+offset,0,fan_r+offset]) cylinder(h=f...
glb/cad_d82a96dc9c61.glb
Create a flexible pipe cable holder with a height of 12mm. The main body is a rounded block that forms a clamp. Create a central vertical hole with an inner diameter of 26mm and an outer diameter of 32mm to create a wall thickness of 3mm. To accommodate the cable, add a second, smaller vertical hole offset from the c...
fn = 100; edge = 2; diameter_in_out = [26, 32]; height = 12; diameter_cable = 5; scale_pipe_x = 70; scale_nut_y = 30; scale_length_y = 30; M4 = [7, 4, 3.5, 8, 3]; gap = 2; module round_cylinder(radius, height, diameter, fn){ hull(){ rotate_extrude(convexity = 10, $fn = fn) translate([diameter / 2 ...
glb/cad_4d1bc3ef1699.glb
Create a Floating Laptop Stand leg by constructing a composite geometric form. Start with a base plate that is 8mm thick and 200mm long. At one end, build a vertical support structure that transitions into a laptop receiver. This receiver is a rectangular slot 21.5mm wide and 58mm deep (50mm internal depth plus 8mm wal...
thickness = 21.5; edge_depth = 30; depth = 50; angle = 15; front_clearance = 30; length = 200; wall = 8; finger_d = 30; fillet_r = 15; foot_radius = 8; $fa = 3; $fs = 0.15; stand(); module stand(){ linear_extrude(wall) difference(){ side(); finger_hole(); } translate([0, 0, w...
glb/cad_96daddbeb13d.glb
Create a Gridfinity-compatible storage block for kanzashi flower templates. Start with a base grid block that is one unit wide and two units deep, with a total height of 35mm (5 units of 7mm). The block should include corner attachments for 6mm magnets. From this solid volume, carve out two rectangular compartments to ...
include <gridfinity_modules.scad> gridfinity_pitch = 42; gridfinity_zpitch = 7; gridfinity_clearance = 0.5; box_corner_attachments_only=true; md = 6; difference() { grid_block(num_x=1, num_y=2, num_z=5, magnet_diameter=md, box_corner_attachments_only=box_corner_attachments_only); translate([-gridfinity_pitch/...
glb/cad_6c0ff86fdf9a.glb
Create a CoCoEPROMpak holder by starting with a central rectangular base measuring 50.5mm wide, 5mm thick, and 33.5mm high. Add a thin vertical support wall centered behind this base, measuring 54mm wide, 0.5mm thick, and 37mm high. On the front face of the base, place two identical mounting posts. Each post consists o...
sz = 25.4*[4.25,.9,3]; rad=2; $fn=30; module post(p) { translate(p) { rotate([-90,0,0]) { cylinder(16,2,2); cylinder(18.5,1.5,1.5); translate([0,0,18.5]) cylinder(1,1.5,1); } } } difference() { union() { translate([-25.25,0,-16.75]) ...
glb/cad_a0bd917cc128.glb
Create a CoCoEPROMpak protective case. Start with a main body that is a rounded rectangular prism measuring 107.95mm wide, 22.86mm deep, and 76.2mm high. The corners of this body should have a radius of 2mm. Carve out a large central rectangular void from the front and top to hold the electronics, measuring 84mm wide...
sz = 25.4*[4.25,.9,3]; rad=2; $fn=30; difference() { translate([0,0,sz[2]/2]) minkowski() { sphere(rad); cube(sz-2*[rad,rad,rad],center=true); } translate([-42,0,-1]) cube([84,12.5,16]); translate([0,16.75-sz[1]/2,27.25]) minkowski() { sphere(.3); cube([53.3,...
glb/cad_f4d2d0a138da.glb
Create a Zeal 8-bit button by constructing a cube that is 9mm wide, 9mm deep, and 9mm high. Centered within this cube, remove a rectangular prism to create a hole that is 2.5mm wide, 3.5mm deep, and 9mm high, passing completely through the center of the object.
module zeal_button() { difference() { translate([0,0,4.5]) cube([9,9,9],center=true); translate([0,0,0]) cube([2.5,3.5,9],center=true); } } rotate([180,0,0]) zeal_button();
glb/cad_38596efc3f88.glb
Create a Zeal 8-bit computer case bottom. Start with a rectangular block 108mm wide, 158mm long, and 37mm high, with all corners rounded by a 3mm radius. Hollow out the center to create a shell with 3mm thick walls, leaving the bottom floor 3mm thick. Remove a rectangular section from the front wall, 52mm wide and 20mm...
$fn=30; module screw(pos) { translate(pos) { translate([0,0,2]) cylinder(50,1.75,1.75); cylinder(50,1.1,1.1); translate([0,0,-1]) cylinder(2,2,2); } } module zeal_bottom() { difference() { minkowski() { cube([102,152,31]); sphere(3); } ...
glb/cad_28279e2758dc.glb
Create a Zeal 8-bit gadget case. Start with a main rectangular body measuring 102mm by 152mm with a height of 2mm, adding rounded corners with a 1mm radius. Extend the base by adding a rectangular block 102mm by 152mm by 5mm positioned 4mm below the main plate. Hollow out the center of this assembly by removing a 98mm ...
$fn=30; module grill_hole(p) { translate(p) rotate([45,0,0]) linear_extrude(50,center=true) scale([1,cos(45)]) circle(1.5); } module zeal_top() { xs=70/8; ys=xs*sqrt(3); difference() { union() { minkowski() { cube([102,152,2]); cylind...
glb/cad_9a5c0a4cb011.glb
Create an Inquiry Cube by starting with a base cube measuring 50mm on all sides, with all edges and corners rounded to a radius of 3mm. On each of the six faces, engrave text to a depth of 1.5mm. The text on each face consists of a central word flanked by four smaller characters, with the central word using a font si...
cube_size = 50; round_radius = 3; text_size = 9; center_text_size = 7.5; text_depth = 1.5; text_offset = cube_size/5; center_font = "Liberation Sans:style=Bold"; side_font = "Liberation Sans:style=Bold"; face_texts = [ ["0", "7", "7", "−", "Chicken"], [" ", " ", " ", " ", " "] , ["4", "17", "+", "13", "Lam...
glb/cad_44ae91be8256.glb
Create an Inquiry Cube by starting with a base cube measuring 50mm on all sides, with all edges and corners rounded to a radius of 3mm. On each of the six faces, engrave text to a depth of 1.5mm. Each face features one large central character surrounded by four smaller characters positioned near the corners. The smal...
cube_size = 50; round_radius = 3; text_size = 9; center_text_size = 20; text_depth = 1.5; text_offset = cube_size/5; center_font = "Liberation Sans:style=Bold"; side_font = "Liberation Sans:style=Bold"; face_texts = [ ["5", "III", "D", "8", "3"], ["12", "IV", "C", "16", "4"], ["E", "2", "4", "II", "2"], ...
glb/cad_153a2485011e.glb
Create an Inquiry Cube by starting with a base cube measuring 50mm on all sides, with all edges and corners rounded to a radius of 3mm. Engrave text into each of the six faces to a depth of 1.5mm. On each face, place a smaller piece of text in the center and larger text positioned around the perimeter, offset 10mm fr...
cube_size = 50; round_radius = 3; text_size = 10; center_text_size = 5.7; text_depth = 1.5; text_offset = cube_size/5; center_font = "Liberation Sans:style=Bold"; side_font = "Liberation Sans:style=Bold"; face_texts = [ [" ", "2", "6", " ", "ALFRED"], [" ", "2", "4", " ", "ALMA"], ["7", " ", " ", "3", "ROB...
glb/cad_ff21d8958756.glb
Create an Inquiry Cube by starting with a base cube measuring 50mm on all sides, with all edges and corners rounded to a radius of 3mm. On each of the six faces, engrave text to a depth of 1.5mm. The text on each face consists of a central word or letter surrounded by four smaller labels positioned near the corners. ...
cube_size = 50; round_radius = 3; text_size = 10; center_text_size = 9; text_depth = 1.5; text_offset = cube_size/5; center_font = "Liberation Sans:style=Bold"; side_font = "Liberation Sans:style=Bold"; face_texts = [ ["A", "64", "10", "L", "Blue"], ["B", "4", "4", "U", "Pink"], ["6", "A", "Z", "8", "Orang...
glb/cad_3ed6489aba60.glb
Create a simple half-size ITX frame by starting with a rectangular base plate measuring 170mm in length, 85mm in width, and 5mm in height. Ensure the corners and edges of the base plate are rounded with a 1mm radius. Add four cylindrical mounting posts to the corners of the plate, each with a diameter of 6mm and a heig...
$fn = 100; module screwhole(v) {difference() { cylinder(d = 6, h = 15); translate([0, 0, -.01]) cylinder(d = 3, h = 15 + .02); }} minkowski(){ cube([170,85,5]); sphere(1); } translate([7,6,0])screwhole(); translate([164,6,0])screwhole(); translate([164,53,0])screwhole(); translate([7...
glb/cad_de221e83b698.glb
Create an e-bike twist to thumb throttle conversion mount. Start with a main cylindrical body that has an outer diameter of 34mm and a height of 12mm. Subtract a concentric inner cylinder with a diameter of 30mm and a height of 10mm to create a wall thickness of 2mm. Around the outer circumference of the cylinder, cr...
$fn = $preview ? 32 : 256; d1 = 22.2; d2 = 30; d3 = 35; h1 = 4; l1 = 6.8; l2 = 10; w1 = 2.1; c = 12; w = 2; module handlebar(a){ color("darkgray") cylinder(d=d1, h=a, center=true); } module throttle_mount(){ color("gray"){ cylinder(d=d2, h=l2); for(i=[0:1:c-1]){ rotate([0,0,360/c*i]) translate([0,d2/...
glb/cad_8e13688e8e30.glb
Create an e-bike twist to thumb throttle conversion mount. Start by creating a main cylindrical ring with an outer diameter of 34mm and an inner diameter of 30mm, with a total height of 12mm. Around the outer circumference of this ring, add 12 equally spaced rectangular rivets. Each rivet should have a width of 2.1mm...
$fn = $preview ? 32 : 256; d1 = 22.2; d2 = 30; d3 = 35; h1 = 4; l1 = 6.8; l2 = 10; w1 = 2.1; c = 12; w = 2; module handlebar(a){ color("darkgray") cylinder(d=d1, h=a, center=true); } module throttle_mount(){ color("gray"){ cylinder(d=d2, h=l2); for(i=[0:1:c-1]){ rotate([0,0,360/c*i]) translate([0,d2/...
glb/cad_0400ac918bcc.glb
Create a stop ring for an e-bike throttle conversion. Construct a hollow cylinder with an outer diameter of 33.5mm and a height of 10mm. Remove a concentric inner cylinder with a diameter of 22.2mm and a height of 10mm to create a ring with a wall thickness of 5.65mm.
$fn = $preview ? 32 : 256; d1 = 22.2; d2 = 33.5; w1 = 10; module ring(){ difference(){ cylinder(d=d2, h=w1); cylinder(d=d1, h=w1); } } ring();
glb/cad_85f8db2a55b5.glb
Create a ring-shaped fixture for an e-bike throttle conversion. Start with a solid cylinder that has an outer diameter of 33.5mm and a height of 10mm. Bore a concentric hole through the center of the cylinder with a diameter of 22.2mm to create a hollow tube. To complete the shape, remove a section of the wall to creat...
$fn = $preview ? 32 : 256; d1 = 22.2; d2 = 33.5; w1 = 10; module ring(r1){ difference(){ cylinder(d=d2, h=w1); cylinder(d=d1, h=w1); translate([-3/4*r1,r1/2,0])cube(r1+r1/2); } } ring(d1/2);
glb/cad_0ee8d018cccc.glb
Create a Bench Microscope Stand for Borescope. The model consists of a hexagonal base plate with a thickness of 10mm. The base is a regular hexagon with a diameter of 14mm. In the center of the hexagon, create a vertical cylindrical hole with a diameter of 3.5mm that passes through the entire thickness of the plate. ...
use <threadlib/threadlib.scad> part=1; caml=36.4; camd=6.6; cwl=3; wd=5; rb=12; swivelDia = 10; elbowDia = 25; elbowToothHeight = .6; elbowToothCount = 36; module __Customizer_Limit__ () {} r=.2; NONE=0; FEMALE=1; SWIVEL=2; NOSWIVEL=3; TUBE=4; cl=0.2; th=1.5; gr=.25; $fn=60; module knob() { union() { ...
glb/cad_9646139c4561.glb
Create a Skadis NeuMaster NSD2013 Drill Holder. Start by constructing a main cylindrical body with an outer diameter of 53mm and a total height of 65mm. Hollow out the center of this cylinder to create a tube with an inner diameter of 50mm, leaving a wall thickness of 3mm. The bottom of the holder should be closed with...
include<skadis_hook 3rd Party.scad> use <my_library.scad> $fa=1; $fs=0.4; wall = 3; diam = 50; diam2 = 40; height = 65; hook_w = 4.5; hook_h = 34.942; difference() { $fn = 80; union() { translate([0,0,0]) cylinder(h = height, d = diam+wall, center = false); translate([-(diam/2),(diam/2)-(hook_w/2)-15,0]...
glb/cad_88a028e8ecbb.glb
Create a fridge glass support by extruding a specific 2D profile to a height of 10mm. The base profile consists of a main rectangular body with a total width of 11.6mm and a total length of 30mm. The shape is formed by a primary rectangle of 4mm by 30mm, but the top corners are rounded with a radius of 4mm. Integrated ...
glass_support = 10; glass_thickness = 4.6; support_length = 15; size = 30; bar_x1 = 4; bar_y1 = size; r_1 = 4; bar_x3 = 3; bar_y3 = size; r_3 = 3; $fn = 68; profondeur_x = 20; largeur_y = 9.9; hauteur_z = 29.5/2; diam_cyl = 10; h_cyl =30; profondeur_x1 = 4; largeur_y1 = 13.8; linear_extrude(glass_support){ #s...
glb/cad_8eec7aaea433.glb
Create a Fridge door enhancer clip by starting with a solid cylinder that has a height of 5mm and an outer radius of 8mm. Remove a smaller concentric cylinder from the center with a radius of 5mm and a height of 36mm to create a thick-walled ring. To transform this ring into a clip, cut two rectangular notches out of t...
inside_diameter = 10; thickness = 3; size_height = 5; form = "clip"; $fn = 128; cote_ext_a = (inside_diameter + 2 *thickness)/2; cote_int_b = inside_diameter/2; marge = 0.0; radius_corner = 1.; hauteur = 35.0; hauteur2 = size_height; hauteur3 = 7.0; diam3 = 9.8; alpha1 = -15; alpha2 = 90; cote_ext = cote_ext_a...
glb/cad_44862303cb2d.glb
Create a cable holder clip for a 3D printer X-axis. Start by creating a base plate that is 46mm long, 13mm wide, and 10mm thick. On the underside of this plate, remove a semi-cylindrical volume with a diameter of 40mm, centered along the length, to create a C-shaped channel for snapping onto a vertical support bar. A...
$fn = $preview ? 60 : 180; module sv06PlusVerticalBarClamp() linear_extrude( 10 ) polygon( [ [ 1, 0 ], [ 2.4, 0 ], [ 3.1, 0.3 ], [ 4.5, 1.7 ], [ 4.5, 2.5 ], [ 3.5, 2.5 ], [ 2.5, 3.5 ], [ 2.5, 9.3 ], [ 43.5, 9.3 ], [ 43.5, 3.5 ], [ 42.5, 2.5 ], [ 41.5, 2.5 ], [ 41.5, 1.7 ], [ 42.9, 0.3 ], [ 43.6, 0 ], [ 45, 0 ], [ 4...
glb/cad_0b596e316391.glb
Create three distinct vases. The first is an oval vase: start with a sphere of 100mm diameter and 200mm height, then hollow it out by removing a smaller concentric sphere of 96mm diameter. Flatten the top and bottom by removing two 100mm cubes centered at Z=65mm and Z=-70mm respectively. The second is a top-heavy vase:...
$fn=90; module ovalVase(){ resize([100,100,200]) difference() { sphere(50); sphere(48); translate([0,0,65]) cube([100,100,50],center=true); translate([0,0,-70]) cube([100,100,50],center=true); } } module topHeavyVase(){ union(){ difference(){ cylinder(50,60,30); translate([0,0,-1]) cy...
glb/cad_83ffb7168903.glb
Create an espresso funnel designed to fit a portafilter. Start by creating a hollow, rotationally symmetrical cone-like shape with a total height of 30mm. The interior of the funnel should have a base diameter of 52.5mm, expanding upwards to a top outer diameter of 67mm. The wall thickness at the base is 7.25mm. At th...
filter_inner_diameter = 52.5; filter_outer_diameter = 67; funnel_profile_inside_radius = 35; funnel_profile_outside_radius = 45; funnel_height_cap = 30; sleeve_thickness = 1; sleeve_height = 7.4; wing_width = 22; wing_height = 4.5; $fn=200; filter_inner_radius = filter_inner_diameter / 2; filter_outer_radius = filter...
glb/cad_d27a0bcff341.glb
Create a parametric hinge holder consisting of a C-shaped clip. Start with a base geometry formed by two concentric circular plates, each with a radius of 20mm and a thickness of 1.5mm, separated by a vertical gap of 9.34mm. Connect these plates with a vertical wall of 1.5mm thickness that follows the outer arc of the ...
$fa = 0.1; $fs = 0.4; bottom_inner_w = 8.95; bottom_edge_dist_z = 3.85; bottom_edge_dist_x = 7.5; top_edge_dist_x = bottom_edge_dist_x; top_edge_dist_z = bottom_edge_dist_z; top_inner_w = 9.34; axis_dia = 5.07; screw_hole_dia=2.7; module q_circle (r=20, h=2.5) { linear_extrude (h) difference() { c...
glb/cad_8e7e675a66be.glb
Create a drying rack floor guide by starting with a main cylinder 20mm in diameter and 19mm in height. Hollow out the center of this cylinder with a smaller concentric hole 15.8mm in diameter that runs the full height of the object. To create the opening for the rack leg, cut a rectangular slot through the center of th...
$fa = 1; $fs = 0.1; m_height=19; m_width = 20; loop_diameter = 15.8; opening_width=10; pin_height = 5; pin_width = 4.66; pin_rotation = 20; wall_width = (m_width - loop_diameter) / 2; difference() { difference() { union() { cylinder(h=m_height,r=m_width/2); translate([...
glb/cad_fe92a8c47534.glb
Create a training device case consisting of a main box and a removable cover. Construct the main box as a rounded rectangular prism with overall dimensions of 65.6mm in length, 39.8mm in width, and 20.1mm in height, using a corner radius of 2mm. The interior should be hollowed out to an internal cavity of 64mm by 39m...
InsLen = 64; InsWth = 39; BattHgt = 8; Ldg1Hgt = 1; PCBHgt = 2.1; Ldg2Hgt = 2.5; FthrHgt = 7.5; InsHgt = BattHgt+Ldg1Hgt+PCBHgt+Ldg2Hgt+FthrHgt; Wall = 0.8; Rad = 2; OtrLen = InsLen+2*Wall; OtrWth = InsWth+2*Wall; OtrHgt = InsHgt+2*Wall; PCBBlock = 0.8; LdgWth = 2; BattWth = 36; PCBWth = 31.5; Fthr...
glb/cad_be5c902f38eb.glb
Create a vape blow adapter designed to fit over a device with a 21mm diameter. The main body is a collar with a height of 5mm and a wall thickness of 2mm. This collar features a central cylindrical cutout with a 21mm diameter to accommodate the device. Attached to the base of this collar is a mouthpiece section. The m...
$fs=1/2; $fa=1/2; bissl=1/100; vape_diameter=21; vd=vape_diameter; vent_width=2; ih=vent_width; collar_height=5; oh=collar_height; mouthpiece_hole=10; td=mouthpiece_hole; vertical_wall=2; w=vertical_wall; air_channel=3; v=air_channel; shift=1; s=shift; mouthpiece_length=10; ms=mouthpiece_length; rounded_mouthpiece=fals...
glb/cad_b19850e32efc.glb
Create a Jutlandia to Swedoor hinge adapter. Start by creating a base plate with a width of 36.8mm, a height of 69.7mm, and a thickness of 5.5mm. This base plate should have rounded corners with a radius of 15mm. From the center of this base, remove a rectangular section to create a recessed area for the hinge. This ...
$fn=128; swedoor_width=31.5; swedoor_height=64.75; swedoor_depth=2.6; swedoor_rounding=10; door_width=36.8; door_height=69.7; door_depth=5.5; door_rounding=15; hole_inner=14.7; hole_outer=22.2; hole_edge=7.5; hole_radius=6.5/2; module door_module(width, height, depth, rounding) { hull(){ translate([widt...
glb/cad_d81a41809854.glb
Create a set of parametric spool drawers consisting of a central support hub and multiple removable drawer bins. The central hub is a cylindrical ring with an inner diameter of 80.5mm and an outer diameter of 200mm, with a total height of 62mm. This hub features a series of radial rails that act as guides for the dra...
part="assembled"; n=6; od=200; id=80.5; ht=62; th=1.2; r=6; gap=1; rtw=9; rbw=4.5; rht=3; rcl=.6; module __Customizer_Limit__ () {} a=360/n; $fn=100; module profile() { offset(r=r) offset(-r-gap) projection() rotate_extrude(angle=a) translate([id/2,0]) square([(od-id)/2,th]); } module drawer...
glb/cad_7b0dd6905ec8.glb
Create an LCD cover for a 3D printer control panel. Start with a main body consisting of a base plate 155mm wide, 59.8mm deep, and 2mm thick. Add angled side walls rising from the base, including a front section that slopes upward. Cut a large rectangular window for the LCD screen measuring 98.5mm by 42mm, positioned ...
module main_body() { difference() { union() { translate( [ -77 , -4.5 , 0 ] ) cube( [ 155 , 59.8 , 2 ] ); translate( [ -77 , -4.5 , 0 ] ) rotate([35,0,0]) cube( [ 155 , 3 , 20.08 ] ); translate( [ -77 , -3.5 , -1 ] ) rotate([35,0,0]) cube( [ 7 , 5 , 15 ] ); ...
glb/cad_7a159eefd1c9.glb
Create a cone fitting consisting of three stacked, hollow concentric sections. Start with a base cylindrical ring 20mm high with an outer diameter of 60mm and an inner bore of 50mm. Directly on top of this, add a middle transition section 30mm high that tapers outwards; its outer wall should expand from a 60mm diameter...
$fn=100; difference() { cylinder(h=20, d=60); cylinder(h=20, d=50); } translate([0,0,20]) difference() { cylinder(h=30, d1=60, d2=70); cylinder(h=30, d1=50, d2=60); } translate([0,0,50]) difference() { cylinder(h=20, d=70); cylinder(h=20, d=60); }
glb/cad_bc184966d9df.glb
Create a Fridger Siphon designed for an 8mm inner diameter hose. The main body is a rounded rectangular block formed by the convex hull of two cylinders with a 15mm diameter and 10mm height, positioned 15mm apart along the X-axis. On top of this body, center a vertical cylindrical nozzle with a height of 8mm and a diam...
$fn=120; difference(){ union(){ hull() { translate([15,0,5]) cylinder(h=10, d=15,center=true); translate([0,0,5]) cylinder(h=10, d=15,center=true); } hull() { translate([15,0,12]) cylinder(h=4, d1=15, d2=10,center=true); translate([0,0,12]) cylinder(h=4, d1=15, d2=10 ,center=true); } translate([7.5,0,...
glb/cad_d573d478ca9b.glb
Create a bike chain guard consisting of a flat circular ring and four raised mounting posts. Start with a main outer ring that has an outer diameter of 214mm and a thickness of 3mm. From the center of this ring, remove a concentric circular area with a diameter of 179mm to create a hollow ring with a wall width of 17.5...
$fn=32; screws_d=166; outside_od=214; outside_id=outside_od - 35; outside_id_h=11; screw_id=3; screw_h=14; screw_od=9; ring_thickness=3; translate([0,0,-ring_thickness]) difference() { union() { cylinder(h=ring_thickness,d=outside_od,$fn=128); cylinder(h=outside_id_h,d=outside_id + 2* ring_thickness,$fn=128); } ...
glb/cad_e59133d4ea3b.glb
Create a Prusa Mini Enclosure Spool Holder consisting of a mounting base and a support pin. First, construct the mounting base as a triangular plate with a thickness of 12mm. The base is defined by a hull of three cylinders: two with a radius of 10mm positioned 94mm apart at the bottom corners, and a third cylinder w...
use <threads.scad>; thick = 12; length = 120; screwwidth = 94; distance = 0.1; outerradius = 8; shift = 0.35; screw = 0; $fn = 100; *translate([-50, 0, 0]) halteStift(); mainBody(); module mainBody() { difference() { union() { hull() { translate([10, 10, 0]) cylinder(h=...
glb/cad_74aa2ccbecf4.glb
Create a compact ball-hex driver holder consisting of a solid block with six vertical storage columns arranged in two opposing rows of three. Each storage column is a hollow cylinder with an outer diameter of 7.6mm and a depth of 42mm to accommodate the tool handle. At the base of each cylinder, create a transition f...
sizes=[[1.3,3],[1.5,3],[2,3],[2.5,4],[3,4],[4,5]]; shankl=63; handled=22.2; handler=6.5; testsize=[2,3,4,5,6]; testoff=[0,4,9,15,22]; module testobj() { difference() { cube([2+testoff[4]+testsize[4]/2+2,8,4]); for(i=[0,1,2,3,4]) translate([2+testoff[i],4,0]) hexrod(testsize[i],4); } } function encr(d)=d/sq...
glb/cad_06fe93f15d5a.glb
Create an Aquarium Syphon Clip by combining a cylindrical pipe holder and a rectangular glass clip. First, construct the pipe holder as a cylinder with a total height of 9mm and an outer diameter of 19mm. Remove a smaller concentric cylinder from the center with a diameter of 15mm and a height slightly exceeding 9mm to...
tolerance = 0.2; glassThickness = 5; wallThickness = 2; depth = glassThickness + tolerance + 2 * wallThickness; pipeDiameter = 15; module glassClip(thickness) { rotate([90, 0, 0]) difference() { cube([20,depth, depth], center=true); translate([3,0,0]) cube([17, glassThickness + tolerance, d...
glb/cad_75bf15667c6b.glb
Create a 510 Cartridge Stand by starting with a primary solid body. This body is an oval-shaped cylinder created by scaling a circle of radius 16.5mm by 50% along one axis. The total height of this solid is 55mm. At the base of this shape, create a wider, flat oval skirt with a height of 5mm and an additional 10mm of w...
cart_radius = 5.5; cart_height = 45; skirt_height = 5; skirt_width = 10; extra_height = 5; $fn = 200; n_carts = 3; solid_width = (3 * n_carts + 1) * cart_radius; module cart_hole() { cylinder(h=cart_height, r=cart_radius); } module solid() { scale([1, 0.5, 1]) union() { cylinder(h=cart_height + skirt_height + e...
glb/cad_2309ef18c504.glb
Create a circular anti-spill ring for a dog food bowl. The object is a revolved profile with a total outer diameter of 208.5mm and a wall thickness of 2mm. Construct the cross-section profile to be revolved 360 degrees around a central axis. The profile starts at a base radius of 94.25mm (the inner edge of the lip) a...
bowl_diam=204.5; bowl_lip_thickness=8.5; bowl_rad=bowl_diam/2; wall_thickness=2; side_height=13; $fn=200; bowl_ring_flat(); module bowl_ring_angled() { no_spill_lip_width=12; no_spill_lip_height=11; rotate_extrude($fn=200) polygon( points=[[bowl_rad-bowl_lip_thickness-wall_thickness-no_spill_lip_...
glb/cad_845850b27fba.glb
Create a desk mounted cable holder consisting of three identical repeating sections aligned side-by-side. For each section, start with a solid rectangular block measuring 15mm wide, 25mm deep, and 24.4mm high. Carve out a central rectangular void from this block to create a C-shaped clamp; this void should be 18.4mm hi...
Preview=true; $fn= Preview ? 32 : 100; section_width=15; Number_of_Holders=3; Top_Chamfer=false; Desk_Thickness=18.4; Wall_Thickness=3; Cable_Insert_Groove=3; Holder_Flush=false; Location="Centered"; Holder_Length=4; Cable_Diameter=3; holder_offset= Holder_Flush ? (Desk_Thickness +(Wall_Thickness*2)) - (Holder_Len...
glb/cad_58c00b39f60e.glb
Create a Smartphone mount for CD drive consisting of a phone clamp and a CD mount adapter. First, construct the phone clamp. Create a central rectangular bar 125mm long, 15mm wide, and 3mm thick. At each end of the bar, add a semi-cylindrical cap with a radius of 7.5mm. Extend four "fingers" from the sides of the bar:...
bar_length=125; bar_width=15; bar_height=3; outer_finger_length=40; inner_finger_length=40; rotate([-90,0,0]) translate([-gopro_connector_x/1,-gopro_connector_y-0.5,0]) gopro_connector("triple"); difference(){ translate([-gopro_connector_x,gopro_connector_x/2,0]) cube([gopro_connector_x,gopro_connector_x,3]);...
glb/cad_84bf43db0e69.glb
Create a modular storage holder for circular knitting needles. Start by constructing a base rail that is 10mm wide and 10mm high. This rail should feature a dovetail-style profile on its bottom edge, consisting of a central rectangular section 3mm wide and 1.6mm deep, flanked by two symmetrical trapezoidal extensions t...
d_nadel = 5; d_wand = 1.5; h_halter = 10; w_schiene = 10; w_rinne = 3; t_rinne = 1.6; module schienenclip(){ union(){ xi=w_rinne/2; xo=w_rinne/2+0.5*t_rinne; translate([-w_schiene/2,-t_rinne,0]) cube([w_schiene, t_rinne, h_halter]); linear_extrude(height=h_halter){ polygon(points=[[...
glb/cad_e1278fc6c45e.glb
Create a socks hanger consisting of a long base plate and a cylindrical tube holder. The base plate is a rectangular slab 2mm thick, with a total length of 156mm (calculated as 10 clips spaced 15mm apart plus 3mm margins on each end). Along the length of this plate, create 10 identical clip gaps. Each gap is centered...
SOCKS = 10; GAP = 1.8; GAP_DISTANCE = 15; TUBE_DIAMETER = 16; CLIP_THICKNESS = 2; $fn = 100; module gap () { gap_diameter = 50; gap_top_diameter = 6; translate([-(gap_diameter+GAP)/2, 10, 0]) difference() { translate([(gap_diameter+GAP)/2, 2, 0]) square([8, 25], center = true)...
glb/cad_8e8ffb54e98d.glb
Create a JSN-SR04T sensor cone. Start by constructing a hollow truncated cone with a height of 50mm. The outer base diameter is 56.3mm, tapering up to an outer top diameter of 28mm. The interior is hollowed out by a smaller truncated cone with a base diameter of 52.3mm and a top diameter of 23.7mm. On top of this cone...
$fa = 12; $fs = 2; $fn = $preview ? 12 : 128; micron = 0.001; printMargin = 0.3; cone_height = 50; cone_bottom = 52.3; cone_top_net = 18.4 + printMargin; rand_dia = 23.4 + printMargin; cone_top_gross = 28; conetop_height = 20; conetop_top_net = 18.1 + printMargin; ribs_dia = 20.3 + printMargin; ribs_thick = 3 + pr...
glb/cad_f7d325ff07aa.glb
Create a Mask to Cardboard Joiner consisting of two separate threaded components: a male screw and a female nut. First, create the male component. Start with a thin cylindrical base disc 12mm in diameter and 0.6mm thick. From the center of this disc, extend a threaded rod 5.5mm long with a diameter of 4mm and a threa...
include <BOSL2/std.scad> include <BOSL2/threading.scad> $slop = 0.12; disc_len = 0.6; disc_dia = 12.0; rod_len = 5.5; rod_dia = 4.0; module flare() { translate([0, 0, -(rod_len / 2)]) cylinder(h = 1, d1 = rod_dia * 2.0, d2 = rod_dia / 2, $fn = 64); } module bottom() { translate([0, 0, -(rod_len / 2) - disc_...
glb/cad_e989cdc1e4ed.glb
Create a Greaseweazel Lightning Plus case by starting with a central rectangular base plate measuring 64mm by 64mm with a thickness of 2mm. Centered on this plate, remove four circular holes, each 3mm in diameter and 10mm deep, positioned symmetrically at coordinates (±1, 30) and (±30, -14) relative to the center. On...
module gw_pos() { translate([-14.4, 190, 0]) children(); } module gw_holes() { translate([-1, 30]) children(); translate([30.0, -14]) children(); translate([-30.0, -14]) children(); } module gw() { translate([0, 0, 6]) { color("darkgreen") difference() { cube([64, 64, 2], cent...
glb/cad_5b51a188b3e2.glb
Create a Greaseweazel Lightning Plus case consisting of two matching rectangular shells, a top and a bottom, each measuring 150mm by 250mm with a height of 10mm. Both shells should have rounded corners with a 7mm radius. For each shell, construct a perimeter wall 2mm thick and 10mm high. The interior of each shell sho...
$fn=32; module mirrorkeep(x) { children(); mirror(x) children(); } module offset_diff(d) { difference() { offset(d[0]) children(); offset(d[1]) children(); } } module fill() { for (i = [-10:10]) { translate([0, i*30]) square([500, 1.2], center=true); } } module shell(...
glb/cad_cd55082150ff.glb
Create a drill bit sharpening jig designed to hold a drill bit with a 5.5mm diameter. The main body is a cylindrical base with a radius of 5mm and a height of 25mm. At the center of the jig, create a hole that matches the drill bit's profile, incorporating two helices that align with the drill bit's flutes. Use a hel...
part="two facets sharpener"; diameter=5.5; helix_angle=31; flute_circumferential_angle=92; flute_circumferential_angle_narrowing=0; split_point=true; point_angle=120; relief_angle=14; secondary_relief_angle=30; secondary_facet_angular_offset=5; conical_min_relief_angle=5; split_edge_angle=40; split_incidenc...
glb/cad_3edfe1465b1f.glb
Create a parametric snap-in hole cover. Start by forming a flat, circular disk with a diameter of 70mm and a thickness of 1.2mm. The outer edge of this disk should have a slight chamfer of 0.3mm. From the underside of the disk, create a concentric inner ring with a diameter of 64.5mm. Extending downwards from this in...
$fs = 0.1; $fa = 1; x = 0; y = 1; z = 2; include <BOSL2/std.scad> plateDiameter = 70; plateThickness = 1.2; plateChamfer = 0.3; innerDiameter = 64.5; tabSize = 1; tabDepth = 11.5; spokes = 4; spokeInset = (2*PI*innerDiameter)/(spokes*4); anchor = [-1,0,-1]; tabKateter = sqrt(((tabSize*4)^2)/2); totalDepth = tab...
glb/cad_b7a819b27902.glb
Create a keyboard foot replacement with a total height of 20mm. Start with a base block that is 13mm long, 4mm wide, and 20mm tall. The profile of this part is a hybrid shape: one end is a semi-circle with a radius of 2mm, which transitions into a rectangular body. Within this main body, remove a vertical cylindrical...
$fn = $preview ? 60 : 180; module roundCorner( cornerSize, height ) { difference() { translate( [ -0.1, -0.1, -0.1 ] ) cube( [ ( cornerSize * 2 ), ( cornerSize * 2 ), height + 0.2 ] ); translate( [ 0, cornerSize, -0.2 ] ) cube( [ ( cornerSize * 2 ), ( cornerSize * 2 ), ( height + 0.4 ) ] ); translate( [ c...
glb/cad_cecea01747af.glb
Create a keyboard foot replacement with a total height of 14.5mm and a width of 3mm. The main body is a rectangular block with a length of 13mm. One end of the block is rounded with a radius of 2mm. Within this body, carve out a central channel that is 3mm wide and 3mm high, extending 13.2mm along the length. At the ...
$fn = $preview ? 60 : 180; module roundCorner( cornerSize, height ) { difference() { translate( [ -0.1, -0.1, -0.1 ] ) cube( [ ( cornerSize * 2 ), ( cornerSize * 2 ), height + 0.2 ] ); translate( [ 0, cornerSize, -0.2 ] ) cube( [ ( cornerSize * 2 ), ( cornerSize * 2 ), ( height + 0.4 ) ] ); translate( [ c...
glb/cad_b14782c37062.glb
Create an IQOS Heets Spender organizer. Start by constructing a main outer rectangular block with a width of 79mm, a length of 54mm, and a height of 170mm. At the base, add a wider rectangular extension that measures 83mm in width and 58mm in length, with a height of 20mm. Hollow out the main block to create a central...
$fa = 1; $fs = 0.2; wall_thickness = 2; spacer = 1; iqos_width = 75; iqos_lenght = 50; iqos_height = 17; cube_width = iqos_width + wall_thickness *2 + spacer; cube_lenght = iqos_lenght + wall_thickness *2 + spacer; cube_height = 170; cube_extension = 20; hole_width =iqos_width + spacer; hole_lenght =iqos_lenght + ...
glb/cad_2e4594d1e14a.glb
Create an IQOS Heets Spender organizer by starting with a solid rectangular block measuring 79mm wide, 55mm long, and 200mm high. Hollow out the center to create a main storage cavity that begins 2mm from the bottom and sides, leaving a wall thickness of 2mm. This internal cavity should measure 77mm wide and 53mm long,...
$fa = 1; $fs = 0.2; wall_thickness = 2; spacer = 1; iqos_width = 75; iqos_lenght = 50; iqos_height = 17; cube_width = iqos_width + wall_thickness *2 + spacer; cube_lenght = iqos_lenght + wall_thickness *2 + spacer; cube_height = 200; hole_width =iqos_width + spacer; hole_lenght =iqos_lenght + spacer; hole_height =...
glb/cad_34f5c1e19340.glb
Create an IQOS Heets Spender consisting of two identical mirrored holder towers connected by a central bridge. For each tower, start with a solid rectangular block measuring 80mm in width, 55mm in length, and 170mm in height. Hollow out the center of this block to create a cavity 76mm wide and 51mm long, leaving a wa...
$fa = 1; $fs = 0.2; wall_thickness = 2; spacer = 1; connector_width = 30; connector_lenght = 40; iqos_width = 75; iqos_lenght = 50; iqos_height = 17; cube_width = iqos_width + wall_thickness *2 + spacer; cube_lenght = iqos_lenght + wall_thickness *2 + spacer; cube_height = 170; cube_extension = 20; hole_width =iqo...
glb/cad_392ac06adf84.glb
Create a "No Soliciting" door sign by starting with a rectangular base measuring 210mm by 60mm with a thickness of 2mm. Engrave a thin rectangular border into the top face, positioned 3mm from each edge with a width of 1mm. Inside this border, center the text "NO SOLICITING" in a bold sans-serif font with a height of 1...
$fa = 2; $fs = 1; lx = 210; ly = 60; lz = 2; bord_marg = 3; bord_w = 1; difference(){ cube([lx, ly, lz], center=true); translate([0,0,0.2]) linear_extrude(1) { text("NO SOLICITING", size=18, halign="center", font="Lato:style=Bold"); translate([0,-18]) text("please do not knock",...
glb/cad_2b468f5e1249.glb
Create a lid for a stackable sieve by constructing a revolved profile around a central axis. Start with a base disc that has a radius of 72.14mm and a height of 1.14mm. From the top of this base, extend a concentric cylindrical wall upwards to a total height of 11.14mm with an outer radius of 70mm and an inner radius o...
r_external = 70.0; r_internal = 68.86; r_rim_external = 71.64; r_rim_internal = 70.5; rim_height = 10.0; wall = r_rim_external - r_rim_internal; gap = r_rim_internal - r_external; r_lid_internal = r_rim_external + gap; r_lid_external = r_lid_internal + wall; lid_chamfer = 0.5; lid_height = 5.0; cylinder (r=r_lid_exte...
glb/cad_4c2b3de451e8.glb
Create a board game organizer tray for the Earth board game. Start with a solid rectangular base measuring 98.8mm in width, 60mm in depth, and 2.75mm in height. From this base, remove a large semi-circular cutout from the center of the back edge. This cutout is a cylinder with a radius of 27.5mm, centered at the midp...
$fn=200; difference(){ cube([98.8,60,2.75]); cube([3,44,10]); translate([95.8,0,0]) cube([3,44,10]); translate([49.4,60,-1]) rotate([0,0,0]) cylinder(h=400, r=27.5, center=false); translate([15,52,-1]) rotate([0,0,0]) linear_extrude(250) difference(){square(8);circle(8);} translate([90.8,52,-1]) rotate([0,0,0]) ...
glb/cad_8cc995969d3d.glb
Create a Load Cell Wind Anemometer mount. Start by constructing a central vertical column that is 40mm wide, 40mm deep, and 110mm tall. Extend the base of this structure by adding a horizontal platform that is 110mm wide, 40mm deep, and 20mm tall, centered on the column. Add a second horizontal extension to the side t...
$fs = 0.1; $fa = 5; difference() { union() { translate([-40/2,-40/2,0])cube([40,40,110]); hull(){ translate([0,-40/2,0])cube([110,40,20]); translate([150,0,0])rotate(a=[0,0,0])cylinder(r=40/2,h=10); } hull(){ translate([-40/2,0,0])cube([40,150,10]); t...
glb/cad_b487d983c1d0.glb
Create a Load Cell Wind Anemometer mount by starting with a central vertical block and a wider top platform. The main body consists of a 22mm x 22mm x 30mm cube centered on the origin, extending from z = -8 to z = 22. On top of this, create a wider platform by joining a 22mm x 22mm x 30mm cube (positioned from z = -38 ...
$fs = 0.1; $fa = 5; difference() { union() { translate([-22/2,-22/2,-8])cube([22,22,20]); translate([-22/2,-22/2,-28-10])cube([22,22,20+10]); hull(){ translate([-22/2,-22/2,2])cube([22,22,1]); translate([-40/2,-40/2,15])cube([40,40,3]); ...
glb/cad_74546de2f062.glb
Create a Load Cell Wind Anemometer housing. Start by creating a central rectangular block measuring 18mm wide, 18mm deep, and 25mm high. Add three identical thin, circular discs to this block. Each disc has a radius of 40mm and a thickness of 2mm. Position the first disc horizontally at a height of 30.5mm. Position t...
$fs = 0.1; $fa = 5; difference() { union() { translate([0,0,-16.5])rotate(a=[0,0,0])montgolfiere(); translate([0,0,-16.5])rotate(a=[0,0,45])montgolfiere(); translate([0,0,-16.5])rotate(a=[0,0,-45])montgolfiere(); translate([-18/2,-18/2,-8])cube([18,18,25]); ...
glb/cad_995dd9b043e8.glb
Create a Load Cell Wind Anemometer base consisting of two stacked rectangular plates with four mounting holes. First, create a large square base plate measuring 100mm by 100mm with a thickness of 2mm. Centered on top of this base, place a second, smaller square plate measuring 88mm by 88mm with a thickness of 3mm. To ...
$fs = 0.1; $fa = 5; difference() { union(){ translate([20-10+5+1,20-10+5+1,0])cube([100-10-2,100-10-2,3]); translate([20-10,20-10,-2])cube([100,100,2]); } translate([20-10+5,20-10+5,0])cube([10,10,5]); translate([20-10+5+80,20-10+5+80,0])cube([10,10,5]); translate([20-10+5,20-10+5+80,0]...
glb/cad_817e983b0acd.glb
Create a parametric mason bee nesting house consisting of four main components: a nest, a base, a shroud, and a locking pin. The nest is a hexagonal prism with a height of 150mm. Its interior contains a honeycomb pattern of holes, each 8mm in diameter. The outer wall is 5mm thick, and the top edge is beveled. The bas...
nest_height = 150; nest_holes = 4; pin_diameter = 5.8; stop_diameter = 10; stop_thickness = 2; bevel_size = 3; overall_length = 40; short_leg_length = 10; flat_thickness = 2; tip_rounding = 3; which_part="All"; mason_bee_house(which_part=which_part, nest_holes=nest_holes, nest_height=nest_height); module mason_bee...
glb/cad_11e3357d0cc0.glb
Create a protective cushion for a miniature vice clamp by constructing a hollowed-out rectangular tray. Start with a solid rectangular base measuring 81mm in length, 26.4mm in width, and 6mm in height. From this base, remove a central rectangular block to create a recessed channel. This inner cutout should be 75mm long...
length = 75; width = 20.4; wall = 3; difference() { cube( [length + wall, width + 2*wall, 2*wall] ); translate( [-0.1, wall, wall] ) cube( [length, width, 2*wall] ); }
glb/cad_d101fb2020d3.glb