Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a spare part for a telescopic ladder by combining a central slide with two mirrored side brackets. Start by creating a central slide with a thickness of 15mm, defined by a polygon with vertices at [0,0], [32,0], [32,6.5], [31,7], [20,7], [3,3], and [0,1.5]. To this central piece, attach two mirrored side bracket...
$fn=80; rotate([180,0,0]) { halfInner(); mirror([1,0,0]) halfInner(); rotate([180,-90,0]) translate([-12,0,-7.5]) slide(); } module halfInner() { w = 7.6/2; p = [ [0, 0], [w, 0], [w, 14], [w - 1, 15] , [w - 1.2, 22], [w - 2.5, 24], [0, 24], ...
glb/cad_b79f5e9f67a2.glb
Create an Allen Key holder designed to fit a 1.25-inch eyepiece rack. Start by creating a main cylindrical body with a diameter of 31.75mm and a height of 50mm. On the top surface of this cylinder, add a hexagonal flange with a diameter of 37mm and a thickness of 5mm. Within the main body, create four hexagonal holes...
hole_diameter = 31.75; tube_length = 50; tube_outer_diameter = hole_diameter; top_flange_diameter = 37; top_flange_height = 5; key_sizes = [9.5, 6.4, 5.7, 3.7]; module allen_key_holder() { difference() { union() { cylinder(h = tube_length, d = tube_outer_diameter); translate([0,...
glb/cad_006e30015529.glb
Create a holder for a countersunk wood screw. The object is a small, vertically oriented component with a total height of 5mm. Start with a base cylinder 10mm in diameter and 1mm high. On top of this, add a conical section 1mm high that tapers from a 10mm diameter at the bottom to a 5mm diameter at the top. Above thi...
holder(); $fn = 80; module holder() { difference() { union() { translate([0,0,0]) cylinder(d=10,h=1); translate([0,0,1]) cylinder(d1=10,d2=5,h=1); translate([0,0,2]) cylinder(d=5,h=1); translate([0,0,3]) cylinder(d1=5,d2=10,h=1); translate([0,0,4]) cylinder(d=10,h=1); } union() { tr...
glb/cad_c72351e0d348.glb
Create a parametric dial adapter consisting of a central shaft and an optional outer host body. Start by creating a cylindrical shaft with a diameter of 6mm and a total length of 15mm. At the top of this shaft, add a tapered section that transitions from the 6mm base diameter to a larger taper diameter of 10mm over a...
checks=true; min_wall=2; $fn=50; wiggle=true; shaft_length=15; shaft_diameter=6; notch=1; notch_length=8; notch_shaft_width=4; if (checks && notch > 0) assert (notch_shaft_width >= min_wall, "CHECKFAIL: Notch is too narrow"); if (checks && notch > 0) assert (notch_shaft_width <= shaft_diameter, "CHECKF...
glb/cad_e03b6481373b.glb
Create a vial pincher tool with a height of 6mm. The device consists of two identical handles joined at a hinge, angled away from each other by 20 degrees. Each handle is 26mm long with a thickness of 8mm. The front of each handle transitions from a rounded end into a flat section that forms the gripping area. At the ...
Diameter = 10.5; Height = 6; HandleLength = 26; HandleThickness = 8; Angle = 20; Hinge = 8; SlotWidth = 2; OrgOffset = HandleLength + Diameter + Hinge/2; epsilon = 0.05; $fn = 100; module handle() { difference() { union() { hull() { translate([-OrgOffset, HandleThickness/2, 0]) cyl...
glb/cad_f5e35f60b936.glb
Create a TCG Shipping Case consisting of a main box and a separate lid. For the main box, create a rectangular base with dimensions 90mm wide by 114mm long and a depth of 7mm. Round all four vertical corners with a 10mm radius. Hollow out the center of the box to create a cavity, leaving a wall thickness of 3mm on al...
$fn = 200; chamferSize = 3; boxWidth = 90; boxLength = 114; boxDepth = 7; boxCurve = 10; boxWallThickness = 3; lidHeight = 3; boxPrinterResolution = .1; BoxBottom(); BoxLid(); ChamferLip(); module TestTopLoader() { color("Red") { translate([7, 7,2]) { cube([76,100,6]); } ...
glb/cad_f48a4ee9c2ba.glb
Create a Honeycomb Wall Screwdriver Insert consisting of a hexagonal base and an attached support beam. First, create a hexagonal prism with a diameter of 13mm and a length of 9mm to serve as the wall insert. Add a smaller hexagonal stopper section to this base with a length of 1mm. Attached to the base, create a he...
include <BOSL2/std.scad>; $fa = 1; $fs = 0.4; hex_diameter = 13.0; wall_insert_length = 9.0; support_diameter = 13.0; screwdriver_measurements = "9,11.5,18,2,38|6.5,9,16.5,1.5,35|6.5,9,16.5,1.5,35"; screwdrivers = [for(i = split("|", screwdriver_measurements)) [for (j = split(",", i)) float(j)]]; insert_length = ...
glb/cad_9012e49713f3.glb
Create a shaft collar for a sewing machine horizontal arm shaft. Start with a main cylinder that has a height of 14.8mm and an outer radius of 9.65mm. Remove a concentric inner cylinder with a radius of 6.55mm to create a wall thickness of 3.1mm. Cut a vertical slot through the wall to leave a C-shaped cross-section; t...
$fn = $preview ? 32 : 128; height = 14.8; axle_radius = 13.1 / 2; thickness = 3.25; cast_radius = axle_radius + thickness; notch_distance = thickness - 2.37; screw_hole_radius = 5.75 / 2; screw_hole_distance = 8.6 - 2 * screw_hole_radius; difference() { cylinder(height, r=cast_radius, center=true); cylinder(...
glb/cad_21eb8c3b8636.glb
Create a parametric snap-on lid for a container with a diameter of 86.17mm. Start by creating a solid base disk with a thickness of 1.6mm and a total diameter of 89.37mm. On top of this base, add a concentric ring with a height of 3mm, an outer diameter of 89.37mm, and an inner diameter of 86.17mm. To allow the lid t...
container_diameter = 86.17; lid_thickness = 1.6; lip_width = 1.6; lip_height = 3; continer_radius = container_diameter / 2; total_radius = continer_radius + lip_width; total_diameter = total_radius * 2; gap = 1.4; gap_spacing = 0.2; tab_diameter = 1; tab_radius = tab_diameter / 2; tab_angle = gap_spacing * 100 / 2; ...
glb/cad_e61bad715796.glb
Create a darts spare ring holder by starting with a main rectangular base that is 24mm wide, 9mm deep, and 6mm high. Centered on the top surface of this base, place a cylinder with a diameter of 145mm and a height of 2mm. To create the internal storage area, remove a large central rectangular section from the base, lea...
$fn = 150; difference(){ union(){ cylinder(2,72.5,72.5); translate([-12,58.5,0]) cube([24,9,6]); } union(){ translate([12,-72.5,0]) cube([72.5,145,10]); translate([-84.5,-72.5,0]) cube([72.5,145,10]); translate([-20,-86.5,0]) cube([72.5,145,10]); translate([...
glb/cad_5784c47b7c50.glb
Create a Scraper Holder by starting with a main body shaped as a tapered cylinder with a height of 85mm. This body should have a base radius of 25mm that tapers linearly to a top radius of 12.5mm. From this main volume, remove a central vertical cylinder with a radius of 1.56mm (1/16th of the base radius) and two large...
base_height=85; main_radius=25; outside_radius=main_radius/3; tab_width=20; tab_length=5; tab_height=5; tab_thickness=2; $fn=100; difference(){ solid(main_radius); translate([0,0,-5]) solid(main_radius-1); middle_cylinder(main_radius*1/32); } module solid(base_radius){ difference(){ union(){ mainbody(bas...
glb/cad_c74536c39ab9.glb
Create a 4-inch duct hole cover by constructing two concentric cylinders. First, create a wide, thin base cylinder with a radius of 60mm and a height of 1mm. Centered on top of this base, add a second cylinder with a radius of 52mm and a height of 10mm. Finally, remove a central cylindrical core with a radius of 51mm a...
$fn=100; difference(){ union(){ cylinder(h=10, r=52); cylinder(h=1, r=60); } translate([0,0,-0.1]) cylinder(h=11, r=51); }
glb/cad_88c3e1f668ed.glb
Create a roller blind bracket. Start with a base that combines a cylinder with a diameter of 40mm and a height of 5mm, merged with a rectangular block measuring 26mm by 40mm by 5mm positioned to extend from the side. Add a vertical rectangular pillar measuring 5mm by 40mm by 23mm attached to the outer edge of the base....
$fn=180; module A() { difference() { union() { cylinder(d=40,5); cylinder(d=17.3,5.5); cylinder(d=5.5,5+11); cylinder(d=4.5,5+14); translate([-9.5/2,-1.6/2,0]) cube([9.5,1.6,5+11]); translate([-1.6/2,-9.5/2,0]) cube([1.6,9.5,5+11]); ...
glb/cad_1056b6b610cd.glb
Create a Honeycomb Wall L-Key Insert consisting of a hexagonal base and a support block. First, create a hexagonal prism with a flat-to-flat diameter of 13.05mm and a length of 10mm. This prism should be split into two sections: a main body of 9mm and a thinner 1mm raised stopper section. Attached to the flat face o...
include <BOSL2/std.scad>; $fa = 1; $fs = 0.4; hex_diameter = 13.05; wall_insert_length = 9.0; support_diameter = 13.05; key_type = "Allen"; key_measurements = "4,3,2.5,2,1.5"; tolerance = 1; separator_width = 2; flip_support = false; keys = [for (j = split(",", key_measurements)) float(j)]; insert_length = w...
glb/cad_1917ef05e3b8.glb
Create a GENIUS FaceCam 1000X mount consisting of a rectangular base plate and a vertical mounting post. Start with a base plate measuring 26mm wide, 35mm deep, and 6mm high. In this plate, create two countersunk screw holes centered along the width. These holes are spaced 20mm apart, centered on the depth of the plate...
$fn = 40; fudge = 0.01; bracket_width = 26; bracket_depth = 35; bracket_height = 6; screwhole_separation = 20; bracket_screw_radius = 2.2; bracket_screwhead_height = 4; bracket_screwhead_radius = 3.7; post_width = 14; post_depth = screwhole_separation - (2 * (bracket_screwhead_radius)); post_height = 35; co...
glb/cad_ed5b7602c468.glb
Create a parametric corner cable clip with a total height of 6mm. The main body is a cylindrical arc with an outer diameter of 9.4mm and a wall thickness of 1.7mm, creating a central circular channel for a cable with a 6mm diameter. Extend a single wing from the right side of the arc. This wing is formed by the conve...
nail_diameter_mm = 0.71; wall_thickness_mm = 1.7; cable_diameter_mm = 6; include_left_wing = false; include_right_wing = true; total_height_mm = 6; total_wing_width_mm = 7; $fn = 128; totalDiameter = wall_thickness_mm*2 + cable_diameter_mm; totalRadius = totalDiameter /2; cableRadius = cable_diameter_mm / 2; wing_widt...
glb/cad_40cabeb2f286.glb
Create a pipe connector consisting of a central hollow tube with two perpendicular branching arms. The main body is a hollow cylinder with an outer diameter of 18mm, a wall thickness of 2.2mm, and a total length of 18mm. This central tube is oriented along the Z-axis. Add two identical hollow cylindrical arms extendin...
$fn = $preview ? 50 : 50; pipe_dimension = [18, 5, 2.2]; hose_connection = [[2:3:8], 1]; branches = [90, 270]; $vpr = [$t * 360, $t * 360, $t * 360]; module pipe(pipe_dimension, hose_connection, center = true){ rotate_extrude(convexity = 10) translate([pipe_dimension[1] / 2 - pipe_dimension[2] / 2, ...
glb/cad_1b498756df76.glb
Create a ring light adapter consisting of two stacked hollow cylinders with a shared outer diameter of 61mm and a high facet resolution for smoothness. The bottom cylinder must have a height of 21mm and an inner diameter of 35mm. The top cylinder, sitting directly on the bottom one, must have a height of 4mm and an inn...
module dual_hollow_cylinder( inner_d1, outer_d, height1, inner_d2, height2, hole_d, hole_from_top, facets=64 ) { $fn = facets; wall_thickness = (outer_d - inner_d1)/2; union() { difference() { cylinder(d=outer_d, h=height1); cylinder(d=inner_...
glb/cad_3a6676a3c8a2.glb
Create a train holder for the board game Ticket to Ride: First Journey. Start by constructing a flat base plate with a thickness of 2mm. The base follows a specific irregular perimeter: starting from (0,0), it moves to (10,0), (15,5), (20,5), (25,0), (30,0), (35,5), (40,5), (45,0), (50,0), (55,5), (60,5), (65,0), (70,0...
include <BOSL2/std.scad> include <BOSL2/rounding.scad> include <BOSL2/walls.scad> tray = [ [0, 0],[10,0],[15,5],[20,5],[25,0],[30,0], [35,5],[40,5],[45,0],[50,0],[55,5],[60,5], [65,0],[70,0],[75,5],[80,5],[85,0],[90,0], [95,5],[100,5],[105,0],[110,0],[110,75], [105, 75],[100, 70], [95,70],[90, 75]...
glb/cad_4185f7a6782b.glb
Create a spool stand for an IKEA Samla 22l box. The design consists of a base plate with two upright supports and a central rod holder. First, create a rectangular base plate with a width of 218mm and a thickness of 3mm. At each end of the base, add a corner support block. Each block is a hull of two layers: a bottom ...
rodradius = 7.3; rodlen = 160; faces = 6; cornerl = 52.5; cornerw = 47.5; cornerh = 30; cornerr = 16.75; baseh=-150; basew=218; baset = 3; withHydro = false; opennut = true; nutlen = 7; *translate([0, -100, 0]) rod(); *translate([0, -200, 0]) corner(); mirror([0, 0, 1]) standwall(); *mirror([0, 0, 1]) standmiddle()...
glb/cad_7904e5d7a112.glb
Create a parametric round box for a monocular consisting of a male threaded base and a female threaded lid. The base is a cylinder with an outer diameter of 44mm. It features a bottom thickness of 2mm and a central hollow cavity with a diameter of 35mm and a height of 16mm. The exterior walls are 2.5mm thick. Around ...
container_inner_diam = 35; container_male_height = 16; container_internal_height = 4; container_wall = 2.5; thread_height = 12; container_internal_ring_bottom_height = 0.6; bottom_height = 2; thread_thickness = 1; thread_clearance = 1;; bevel = 1.5; number_of_bars = 16; bar_tip = "bar"; text = "MONOCULAR "; text_siz...
glb/cad_b40324c1bbfe.glb
Create a Bearing Cleaner consisting of a tube, a cap, and multiple spacers. Construct the tube as a hollow cylinder with an outer diameter of 36mm and a wall thickness of 3mm. The tube should have a flat base 3mm thick and an internal central bolt that is 6.5mm in diameter. This bolt extends from the base to a height...
$fs = 0.4; $fa = 1; use <threads.scad>; bearing_count = 4; bearing_od = 22; bearing_id = 8; bearing_length = 7; spacer_length = bearing_length; spacer_id = bearing_id + 0.5; spacer_od = spacer_id + 2 * 1.5; bolt_diameter = bearing_id - 1.5; tube_thickness = 3; tube_space = 10; tube_od = bearing_od + (tube_thicknes...
glb/cad_172c49d12f94.glb
Create a round container jar with a screw-on lid. For the base, create a cylinder with an inner width of 120mm and an inner height of 32mm. The walls and the floor should both have a thickness of 1.2mm. The interior bottom corner should have a rounding radius of 5mm. At the top of the base, add a female screw thread ...
chamfer_lid = 0; chamfer_base = 0; smooth_sides = 0; part_to_print = 0; Inner_Width_Base = 120; Inner_Height_Base = 32; wall_thickness = 1.2; wall_thickness_lid = 1.2; bottom_thickness = 1.6; bottom_rounding = 5; Height_Rim = (smooth_sides!=1) ? 0 : 3; Diameter_Rim = Inner_Width_Base + 0.2; thread_height = ...
glb/cad_8a23fdb17e72.glb
Create a Raspberry Pi Camera Module 3 mount. Start with a rectangular base plate measuring 28mm wide, 15mm high, and 2mm thick. In this base, center a mounting hole 10.5mm from the left edge and 7.45mm from the top edge; this hole consists of a 3.2mm radius shaft with a larger 6.2mm radius countersink for the screw hea...
$fn = 100; baseWidth = 28; baseHeight = 15; baseDepth = 20; baseThickness = 2; lipWidth = 3.15; lipDepth = 1.12; baseHoleRadius = 3.2 / 2; baseHoleHeadRadius = 6.2 / 2; baseHolePositionLeft = 10.5; baseHolePositionTop = 7.45; baseCornerDepth = 6.75; cameraWidth = 25.14; cameraHeight = 24.25; cameraDepth = 3.95; cam...
glb/cad_0960388db5ce.glb
Create a set of Warmaster tokens and markers. Each token begins with a circular base 22mm in diameter and 2mm thick. Centered on this base, add a concave dome with a bottom diameter of 19mm, a top diameter of 12.6mm, and a height of 5mm. For the "Hits (D6)" marker, add four rectangular blocks to the top of the dome: t...
include <BOSL2/std.scad>; include <BOSL2/polyhedra.scad> token="all"; dome_height=5; d_dice_base=25; d_dice_dome=22.5; d_marker_base=22; d_marker_dome=19; sym_height = 10; module base(d=d_marker_base) { color("grey") cylinder(d=d, h=2, $fn=64); color("grey") right(d/2) cylinder(d=5, h=2, $fn=3); } module magnets...
glb/cad_9fd3fe24c3c4.glb
Create a Bathroom Radiator Hook with a total width of 14mm and all edges rounded with a 2mm bevel. The object is centered around a horizontal bar of 5mm thickness. At the top, create a C-shaped clamp to fit a pipe with an inner diameter of 18.25mm. The clamp should have a wall thickness of 7mm and wrap around the pipe...
pipe_diam = 18.5; pipe_outer_dist = 53; width = 14; bevel = 2; clamp_diam = pipe_diam - 0.25; clamp_thickness = 7; clamp_angle = 220; retainer_diam = pipe_diam; retainer_thickness = 5.5; retainer_angle = 76; retainer_offset = 75; hook_diam ...
glb/cad_a24c468beede.glb
Create a wavy text nameplate consisting of three separate name tags stacked vertically with a vertical offset of 45mm between each. Use a bold, heavy sans-serif font with a font size of 30mm. For the first tag, extrude the characters "Brooklyn" sequentially along the x-axis. For the second tag, extrude "Michaella". Fo...
FontSize = 30; names = [ [["B", "r", "o", "o", "k", "l", "y", "n"], [0, 0.7, 1.05, 1.8, 2.5, 3.1, 3.3, 3.9], 4], [["M", "I", "c", "h", "a", "e", "l", "l", "a"], [0, 1.2, 1.4, 2, 2.7, 3.5, 4.2, 4.4, 4.65], 4], [["R", "o", "b"], [0, 0.7, 1.45], 3] ]; for (i = [0:len(names)-1]) { translate([0,i*(FontSize...
glb/cad_8e5ad4977d0a.glb
Create a rectangular board game inlay with outer dimensions of 170mm in length, 120mm in width, and 35mm in height. The walls should be 1.5mm thick. Inside the main volume, create three circular compartments for chips. Each chip cavity is a cylinder with a 40mm diameter, tilted at a 28-degree angle. Position these cav...
wall_thickness = 1.5; $fn = $preview ? 32 : 128; outer_box_inner_width = 120; outer_box_inner_length = 170; outer_box_inner_height = 35; chip_diameter = 40; chip_height = 3.3; chip_count = 4; chip_angle = 28; chip_angled_diameter = cos(chip_angle)*chip_diameter; chip_angled_height = (sin(chip_angle) * chip_diameter) ...
glb/cad_2399f2df6888.glb
Create a Moon Lamp LED and Wemos D1 Mini holder. Start by constructing a main cylindrical container with a height of 34.4mm and an outer diameter of 39mm. This container should have a hollow center with a wall thickness of 1mm and a bottom base thickness of 1mm. At the top of this cylinder, add a flared rim that tran...
$fn = $preview ? 32 : 128; wallThickness = 1; bottomThickness = 1; openingDiameter = 39; ledRingDiameter = 50; wemosWidth = 27; wemosHeight = 34.4; wemosThickness = 4.4; rimHeight = 3; outerHeight = wemosHeight; USBPortWidth = 9; USBPortHeight = 4.4; module container() { difference(){ cylinder(h = outerH...
glb/cad_d4e65031ba31.glb
Create a hollow rectangular sleeve for a Braun coffee pot repair. The outer dimensions of the box should be 12.2mm in length and 17.1mm in width, with a total height of 4.5mm. The walls of the sleeve must be 0.8mm thick, creating an internal rectangular void that measures 11.6mm by 16.2mm. Ensure the bottom of the box ...
length = 11; width = 16.5; height = 4.5; wall_thickness = 0.8; glue_gap = 0.3; module fence(){ difference() { cube([length+2*wall_thickness+2*glue_gap,width+2*wall_thickness+2*glue_gap,height],center = true); cube([length+2*glue_gap, width+2*glue_gap, height],center = true); } } translate([0,0,height/2]) fenc...
glb/cad_f3bd70e98656.glb
Create a machine screw cover consisting of a tapered base and a hollow cylindrical cap. Start by creating a base cylinder with a height of 2.4mm, a bottom diameter of 13mm, and a top diameter of 16mm to create a slight outward taper. On top of this base, add a hollow cylindrical shell with a total height of 4mm. The ou...
cap_ht = 2.4; cap_OD = 13; taper = 1.5; scr_hd_dia = 9; scr_hd_ht = 4; wall = 1.5; $fn = 60; pin_dia = 2.4; pin_ht = 2.4; cylinder(h=cap_ht,r1=cap_OD/2,r2=cap_OD/2+ taper); difference() { translate([0,0,cap_ht]) cylinder(h=scr_hd_ht,d=scr_hd_dia+2*wall); translate([0,0,cap_ht]) cylinder(h=scr_hd_ht,d=scr_...
glb/cad_a2d8afb4a068.glb
Create a set of stackable shelves consisting of vertical legs and horizontal shelf platforms. First, create the leg: a rectangular block 10mm thick, 150mm deep, and 225mm high. Hollow out the center of the leg by removing a block from the middle, leaving a 5mm wall on the sides and a 10mm gap at the top and bottom. O...
$fa = 1; $fs = $preview ? 2 : 0.4; thickness = 10; width = 256; depth = 150; height = 220; heightIsTotalHeight = false; hexagonWidth = 12; noOfColumns = 9; noOfRows = 12; separateForPrint = true; overlapBuffer = 1; desiredHeight = heightIsTotalHeight ? height + (thickness/2) : height - (thickness/2); if (sep...
glb/cad_45b8b791c4a8.glb
Create a name stamp tool consisting of a rectangular base with rounded corners and raised text. The base should have a total thickness of 8mm, with corners rounded to a radius of 3mm. The overall length of the base is determined by the text "ROAD A", where each character is 10mm high with a 1.2mm spacing between letter...
road_name = "ROAD A"; text_size = 10; negative = true; modify_bloc_size = false; dist_x = 10; dist_y = 10; text_depth = 4.0; epaisseur = 8; arrondi = 3; space = 1.2; nbre_x = len(road_name); echo(nbre_x=nbre_x); bloc_x = modify_bloc_size? dist_x : nbre_x*text_size*space; bloc_y = modify_bloc_size? dist_y : text_s...
glb/cad_4f301e5dcd7e.glb
Create a wall mount bracket with a total width of 10mm. The structure consists of a wall-side vertical plate and a room-side vertical plate connected by a horizontal base. The wall-side plate is 4mm thick, 25mm long, and 10mm wide, featuring a 5mm diameter screw hole centered along its width and positioned 2mm from the...
$fn = 32; empty_thickness = 13.5; wall_side_thickness = 4; room_side_thickness = 3; bottom_side_thickness = 5; wall_side_lenght = 25; room_side_length = 10; screw_hole_diameter = 5; screw_hole_distance_from_end = 2; width = 10; bottom_rounding_radius = 5; difference() { cube([wall_side_thickness, wall_side_le...
glb/cad_bd5b7ff52e47.glb
Create a stackable egg holder tray with a base footprint of 88mm by 88mm (a 3x3 grid of 22mm cells, though the source specifies a width of 44mm for the repeating unit). The main body is a solid block 52mm high with a wall thickness of 2.5mm. The tray features a repeating pattern of egg-shaped recesses. Create these b...
height=52; width=44; top=8; thickness=2.5; $fn=60; x_count=3; y_count=3; version="B"; r=top/2; R=width*sqrt(2)/2-top/2; dr=r*sqrt(2); dR=R*sqrt(2); dim=width/2; h=height; t=thickness/2; module quarter(){ intersection() { cube([dim,dim,h]); cylinder(h,dR,dr,$fn=4); } } module single_cylinder(){...
glb/cad_3c28d7606c3a.glb
Create a stackable egg holder tray with a base footprint of 3 by 4 egg cells. The overall dimensions for one unit are 44mm in width and 52mm in height, with a wall thickness of 2.5mm. The main body is a grid of cells formed by intersecting a large rectangular block with four-sided prisms to create open-ended slots fo...
height=52; width=44; top=8; thickness=2.5; $fn=60; x_count=3; y_count=4; version="A"; r=top/2; R=width*sqrt(2)/2-top/2; dr=r*sqrt(2); dR=R*sqrt(2); dim=width/2; h=height; t=thickness/2; module quarter(){ intersection() { cube([dim,dim,h]); cylinder(h,dR,dr,$fn=4); } } module single_cylinder(){...
glb/cad_1cabe73dd280.glb
Create a parametric under-table mounting drawer with an interior cavity of 80mm width, 150mm length, and 40mm height. The walls and base should have a uniform thickness of 1.5mm. Construct the main body as an open-top box. On the two shorter exterior sides, add mounting rails that extend outward. These rails should b...
width=80; length=150; height=40; thickness=1.5; x_divider=0; y_divider=0; divider_height="Full"; insert="None"; diameter=3.5; number_of_holes=4; $fn=20; module insert(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]); } translate([w/2-d/2,0,0]...
glb/cad_0130a94e7772.glb
Create a Straw Caddy with a total width of 88.9mm, a depth of 30.48mm, and a height of 152.4mm. The main body is a hollow rectangular shell with a wall thickness of 1.8mm and a base thickness of 2.4mm. The front face features two distinct openings. The bottom opening is a wide rectangular viewport that begins 22.86mm...
$fn = 180; anInch = 25.4; caddy_width = 3.5 * anInch; caddy_depth = 1.2 * anInch; caddy_height = 6 * anInch; wall_thickness = 1.8; bottom_thickness = 2.4; bottom_viewport_begin = (0.8*anInch) + bottom_thickness; bottom_viewport_height = 2.6 * anInch; top_viewport_begin = (0.8*anInch) + bottom_thickness; top_viewport_he...
glb/cad_59a4621a204f.glb
Create a screwless flag wall hook consisting of a flat rectangular base and a protruding hook. Start with a rectangular base plate measuring 30mm wide, 50mm long, and 1mm thick, ensuring all four corners and edges are rounded with a 1mm radius. Position a hook assembly on the top edge of the plate, centered along the...
$fn = 100; plate_height = 1; plate_rounding = 1; plate_width = 30; plate_length = 50; cylinder_distance_from_top = 3; cylinder_diam = 6; cylinder_1_height = 6; cylinder_2_height = 4; cylinder_2_angle = 60; minkowski() { translate([plate_rounding, plate_rounding, 0]) { cube([plate_width - 2*plate_rounding...
glb/cad_6374b224d86a.glb
Create a pair of mirrored vise soft jaws. For each jaw, start with a solid rectangular block measuring 123mm in length, 16mm in width, and 20mm in height. Hollow out the center of the block to create a U-shaped channel that is 115mm long, 10mm wide, and 16mm deep, leaving walls that are 4mm thick on the sides and botto...
interiorLength = 115; totalWidth = 16; totalHeight = 20; jawThickness = 6; wallThickness = 4; numberOfMagnets = 4; magnetSize = 6; magnetDepth = 1; squareMagnets = 0; gripSpacing = 10; gripAngle = 45; roundStockHolderCount = 1; roundStockHolderGrooveSize = 4; roundStockHolderPosition = 10; roundStockHolde...
glb/cad_6590ecd9c729.glb
Create a pair of mirrored vise soft jaws. For each jaw, start with a solid rectangular block measuring 123mm in length, 16mm in width, and 20mm in height. Hollow out the center of the block to create a U-shaped channel that is 115mm long, 12mm wide, and 16mm deep, leaving a wall thickness of 4mm on the sides and bott...
interiorLength = 115; totalWidth = 16; totalHeight = 20; jawThickness = 6; wallThickness = 4; numberOfMagnets = 4; magnetSize = 6; magnetDepth = 1; squareMagnets = 0; gripSpacing = 10; gripAngle = 45; roundStockHolderCount = 1; roundStockHolderGrooveSize = 4; roundStockHolderPosition = 50; roundStockHolde...
glb/cad_2e846c3fdac5.glb
Create a Devo energy dome 45 record adapter by constructing a stepped conical tower. Build the tower using four stacked cylinders, each with a height of 4.5mm. The bottom cylinder must have a diameter of 38mm. Each subsequent cylinder placed on top should decrease in diameter by 6mm, resulting in diameters of 32mm, 26m...
$fn = 300; base_diameter = 38; post_diameter = 7.5; step_count = 4; total_height = 18; reduction_per_step = 6; step_height = total_height / step_count; module devo_hat() { union() { for (i = [0 : step_count - 1]) { step_diameter = base_diameter - i * reduction_per_step; translate([0, 0, i * step_h...
glb/cad_92ad31da412a.glb
Create a coin featuring a Euro symbol. Start by constructing a main cylindrical disc with a radius of 20mm and a height of 2mm. Hollow out the center of this disc by removing a smaller concentric cylinder with a radius of 18mm and a height of 1mm, positioned 1.01mm from the base, to leave a thin outer rim and a shallow...
$fn=50; union() { difference() { cylinder(h=2,r=20); translate([0,0,1.01]) cylinder(h=1,r=18); } translate([-1,0,0]) linear_extrude(1.5) text("€",25,"Liberation Sans",valign="center",halign="center"); }
glb/cad_5d5a2f4dbf7f.glb
Create a Vitamix Ascent Blade Tool consisting of a hexagonal socket attached to a rectangular handle. Start by creating a hexagonal prism with a flat-to-flat distance of 50mm and a height of 25mm. Centered within this hexagon, remove a cylindrical hole with a diameter of 25mm that passes completely through the prism. A...
inner_hex_flat_distance = 50; socket_depth = 15; handle_length = 100; handle_width = 30; handle_thickness = 10; center_hole_diameter = 25; $fn = 10; module vitamix_wrench() { difference() { union() { translate([-(handle_width / 2), -handle_length, 0]) cube([handle_width, handl...
glb/cad_ae78743a225d.glb
Create a Fly Screen Clip by combining several geometric primitives. Start with a base consisting of three rounded rectangular plates: one measuring 6.4mm by 22.34mm with a height of 1mm, a second smaller plate of 3.2mm by 21.34mm with a height of 2mm positioned atop the first, and a third plate measuring 15mm by 6.4mm ...
module rsquare(size, radius) { assert(radius < size.x / 2, "Radius must be less than half the width"); assert(radius < size.y / 2, "Radius must be less than half the height"); minkowski() { square([ size.x - radius * 2, size.y - radius * 2 ], center = false); circle(radius); } } $fn=60; difference() ...
glb/cad_4b909c23c922.glb
Create a 3D placeholder model for an FS90 servo. Start with a central rectangular body measuring 23mm wide, 12.5mm deep, and 22mm high. Attach a mounting flange to the body that is 32mm wide, 12mm deep, and 2.5mm thick, positioned 5mm up from the base. On top of the body, center a cylindrical gear housing with a radius...
module FS90_motor(holes = true){ difference(){ union(){ a_cube("blue", [0,0,0], [23,12.5,22]); a_cube("blue", [0,0,5], [32,12,2.5]); a_cylinder("blue", [5.5,0,2.75], 6, 25.75); a_cylinder("blue", [-.5,0,2.75], 3, 25.75); a_cylinder("white", [5.5,0,3.65], 2.35, 29.25); } if (holes) { f...
glb/cad_cae6393574df.glb
Create a hollow nose cone for a rocket with a total height of 100mm and a wall thickness of 2mm. The outer shell should be a revolved surface with a base radius of 57mm (derived from a 110mm inner diameter plus wall thickness) and a tip radius of 0.4mm. The profile of the cone should follow a sine curve, transitioning ...
wall_thickness = 2; sections = 20; tip_radius = 0.4; height = 100; inner_diameter = 110; nose_shape = "sine"; radius = (inner_diameter + 2 * wall_thickness) / 2; $fn = 64; mounting_ring = true; mounting_ring_height = 20; cone_offset = mounting_ring == true ? mounting_ring_height : 0; haack_max = sqrt((2 ...
glb/cad_cca4df662f87.glb
Create a Bac Water and Spike support clamp designed as a hollow cylindrical holder. The overall outer diameter is 38mm and the total height is 76.5mm. Start by creating a solid circular base disc with a diameter of 38mm and a thickness of 2mm. Above this base, build a semi-cylindrical wall that extends upwards to a h...
$fn = 200; wall_thickness = 2; diameter = 38; radius = diameter / 2; total_height = 76.5; wall_height = total_height - 2 * wall_thickness; slit_width = 7; slit_depth = 17.5; fillet_radius = slit_width / 2; module bottle_holder() { difference() { union() { cylinder(h=wall_thickness, r=radius, center=false)...
glb/cad_b76cfb45a41c.glb
Create a bolt and nut assembly for body armor repair. First, construct a hex bolt. Create a hexagonal head with a distance between flats of 12mm and a height of 5mm. From the center of the head, extend a threaded shaft with an outer diameter of 8mm and a total thread length of 25mm. Use a thread pitch of 2mm and a st...
type = "bolt"; head_type = "hex"; drive_type = "socket"; head_diameter = 12; head_height = 5; drive_diameter = 5; slot_width = 1; slot_depth = 2; texture = "exclude"; thread_outer_diameter = 8; thread_s...
glb/cad_442e6a3b12f7.glb
Create a USB and SD Card Holder designed to snap onto a cylindrical post with a diameter of 35.5mm. The main body consists of three stacked, concentric rings. Each ring has a cross-section that starts at the inner radius of 17.75mm and extends outward, sloping upward at a 10-degree incline. The total height of the thr...
postDia = 35.5; opening = 34; rings = 3; usbStickCount = 30; sdCardCount = 15; sdSpacingAngle = 10; usbSpacingAngle = 15; inclineAngle = 10; margin = 2; $fn=240; usbWidth = 5; usbLength = 13; usbDepth = 14; sdWidth = 2.25; sdLength = 25; sdDepth = 14; m = max( margin, tan( inclineAngle ) *...
glb/cad_1c9ca548f133.glb
Create a rim profile for a 21-cup food container with an overall length of 237mm and an overall width of 113mm. The shape is a rounded rectangle composed of four corner arcs, two short-side arcs, and two long-side arcs. Position four corner cylinders with a radius of 32mm at the coordinates (±85.52, ±22.85). For the s...
difference() { rubbermaid_21cup_rim(ht=5, offset=2); translate([0,0,0.4]) rubbermaid_21cup_rim(5, 0.2); translate([0,0,-1]) rubbermaid_21cup_rim(3, -4); } module rubbermaid_21cup_rim(ht=1, offset=0) { totallen = 237; totalwid = 113; ca1=4.891152271; ca2=87.79017767; cx0=85.5240712; ...
glb/cad_994c624ae6cd.glb
Create a corner connector for a folding drying rack consisting of a 90-degree curved elbow with two straight cylindrical arms. The main body is based on a cylinder with an outer diameter of 14.5mm. The elbow section is a 90-degree arc with an outer radius of 54mm and a cross-sectional diameter of 16mm. Extend two stra...
$fa = 1; $fs = 0.4; epsilon = 0.01; translate([-54,0,0]) rotate_extrude(angle=90, convexity=2) translate([54,0,0]) circle(8); module inset() { rotate([90,0,0]) union() { cylinder(8, d=3, center=true); translate([0,0,4]) sphere(1.5); translate([0,0,-4]) ...
glb/cad_f1caf48367e3.glb
Create a spherical lamp shade with a radius of 50mm. The overall shape is a hollow sphere with a total height of 90mm, as the bottom 10mm and top 10mm are capped. At the base of the sphere, create a central vertical hole with a diameter of 13mm that extends from the bottom up to a height of 50mm to accommodate an LED...
use <closepoints.scad> shape = 0; radius = 50; cap_bottom = 10; cap_top = 10; freq_v = 27; wave_v = 0; twist = 0; freq_h = 13; wave_h = 0; extra_scale = 1; hole_dia = 13; fx_sphere = function(z) z < radius ? sqrt(radius * radius - pow(radius - z, 2)) : sqrt(radius * radius - pow(z - radius, 2)); fx...
glb/cad_a274101491d8.glb
Create a Futures Finbox Router Jig with a total thickness of 12mm. The main body is a rounded rectangular plate with a length of 150mm and a width of 32mm, featuring rounded outer corners with a 15mm radius. At the center of the plate, create a rounded rectangular cutout (slot) that is 131mm long, 13mm wide, and 16mm...
router_bit_radius_mm = 6; copy_ring_radius_mm = 12.25; thickness_mm = 12; extra_width_mm = 30; extra_length_mm = 50; clearance_mm = 0.15; corner_radius = 15; part="B"; e = 0.01; $fn=128; flange_width_mm = 32; flange_length_mm = 150; flange_thickness_mm = 2; slot_width_mm = 13; slot_length_mm = 131; slot_depth_...
glb/cad_a199102b15b1.glb
Create a programmer adapter for BRC8 hardware. Start by constructing a rectangular base block measuring 25mm in width and 30.5mm in depth, with a total height of 7mm. Within this base, integrate four cylindrical spacer posts, each 3mm in diameter and 4mm tall, positioned at the four corners of the 25mm by 30.5mm footpr...
ys=30.5; yoff=7.75; include <pogoadapter.scad> h1=7; h2=4; board=1.6; module base() { dx=25; lx=5; ly=1; od=3; translate([0,0,h2]) cube([dx,ys,h1-h2]); translate([dx/2-lx/2,-ly,-board]) cube([lx,ly,h1+board]); translate([dx/2-lx/2,ys,-board]) cube([lx,ly,h1+board]); translate([dx/2-lx/2,ly,-board]) ...
glb/cad_9dc177e5e51a.glb
Create a rectangular programmer adapter block with overall dimensions of 51mm in length, 13.5mm in width, and a total height of 7mm. The main body is a solid rectangular prism. At the top surface, create a rectangular cutout measuring 32mm by 2.25mm, positioned 19mm from the right edge and 11.25mm from the bottom edge....
xs=51; ys=13.5; xoff=xs-19; yoff=11.25; include <pogoadapter.scad> h1=7; h2=4.5; h3=6; d3=8; board=1.6; module base() { lx=5; ly=1; od=3; translate([0,0,h2]) cube([xs,ys,h1-h2]); translate([-ly,ys-lx/2,0]) rotate([0,0,-90]) rastnase(lx,ly,h1,board); translate([xs+ly,ys-lx/2,0]) rotate([0,0,90]) rast...
glb/cad_4fca050abc6b.glb
Create a programmer adapter for the ISS2. Start by constructing a rectangular base block that is 18mm wide, 48.5mm long, and 7mm high. At the center of the two shorter ends, add small rectangular locking tabs that extend 5mm outward and 1mm thick. On the top surface of the base, integrate two cylindrical spacers with...
ys=48.5; yoff=17.5; yp=42.5; include <pogoadapter.scad> h1=7; h2=4; board=1; module base() { dx=7.5+8.5+2; lx=5; ly=1; od=3; translate([0,0,h2]) cube([dx,ys,h1-h2]); translate([dx/2,-ly,0]) rastnase(lx,ly,h1,board); translate([dx/2,ys+ly,0]) rotate([0,0,180]) rastnase(lx,ly,h1,board); translate([od...
glb/cad_52fc4f8c82eb.glb
Create a programmer adapter block for flashing electronics. Start with a rectangular base measuring 51mm in length, 20mm in width, and 7mm in height. At the top surface, create a rectangular cutout that is 2.5mm high, starting from a height of 4.5mm from the bottom. Within this base, incorporate four small rectangula...
xs=51; ys=20; xoff=xs-19; yoff=11.25; include <pogoadapter.scad> h1=7; h2=4.5; h3=6; d3=8; board=1.6; module base() { lx=5; ly=1; od=3; translate([0,0,h2]) cube([xs,ys,h1-h2]); translate([-ly,ys/2,0]) rotate([0,0,-90]) rastnase(lx,ly,h1,board); translate([xs+ly,ys/2,0]) rotate([0,0,90]) rastnase(lx,...
glb/cad_3b2c09e50ca7.glb
Create an Innogy flash adapter by starting with a rectangular base block. Construct the main body as a union of two rectangular prisms: one measuring 7mm by 2mm by 5mm, and a second taller prism measuring 7mm by 1mm by 40mm attached to its side. From this combined volume, remove a series of holes to accommodate pogo pi...
include<pogoadapter.scad> difference() { translate([-pogorm,-pogorm,0]) union() { cube([pogorm*7,pogorm*2,5]); cube([pogorm*7,pogorm/2,40]); } pogos(pogocontacts, pogorm, pogo_od,pogo_height); translate([0,0,15]) slot(); translate([0,0,20]) slot(); translate([0,0,25]) slot(); } module slot() { ...
glb/cad_888c20f4f1a3.glb
Create a sliding door mechanism clip. Start with a base plate that is 5.6mm thick, defined by a polygon with vertices at [0,0], [14,0.5], [14,17.5], and [0,18]. On top of this base, add a rectangular block measuring 15.4mm by 8mm with a height of 2mm, positioned at [0, 5, 3.6]. Construct the upper assembly by adding a...
$fs = 0.25; module fillet(L,R){ difference() { cube([R+R,R+R,L]); translate([0,0,-1]) cylinder(h=L+2,r=R); } } union(){ linear_extrude(5.6){ difference(){ polygon([[0,0],[14,0.5],[14,17.5],[0,18]]); polygon([[2.5,2.5],[19,3],[19,15],[2.5,15]]); } } difference(){ union(){ trans...
glb/cad_102cb2f8d2e1.glb
Create a parametric desk lamp light diffuser. Start by creating a solid circular base with a diameter of 173mm and a thickness of 1mm. On top of this base, add a cylindrical section with a diameter of 173mm and a height of 0mm (as there is no extra height specified). Continuing upward from the base, construct a conic...
$fn = $preview ? 60 : 180; lampDiameter = 172; wallThickness = 1; wallAngle = "yes"; wallHeight = 5; wallExtraHeight = 0; bottomThickness = 1; wallGaps = 3; vaseMode = "no"; difference() { color( "#baf4c2" ) { cylinder( bottomThickness, d = ( lampDiameter + wallThickness ) ); translate( [ 0, 0, bottomThic...
glb/cad_de39c577d5ff.glb
Create a Gridfinity Labelled Weekly Pill Organizer consisting of a bin and a matching lid. Construct a rectangular bin with a base footprint of 42mm by 42mm and an overall external height of 14mm. The bin should feature a hollow interior pocket and a specialized Gridfinity-style base. On four of the exterior vertical...
include <gridfinity-rebuilt-openscad/gridfinity-rebuilt-utility.scad>; $fa = 8; $fs = 0.25; Part = "bin"; gridx = 1; gridy = 1; gridz = 2; Interior_Style = "minimal"; Lip_Grips = undef; Lid_Orientation = "left"; div_pattern = "default"; divx = 1; divy = 1; div_multiple = 0; gridz_define = 0; height_internal...
glb/cad_5103c4e57ce8.glb
Create a protective cap for a medium-duty oxyfuel torch head. The object is a hollow vertical cylinder with an overall height of 34mm and an outer diameter of 21mm. Starting from the bottom, create a base with a thickness of 1mm. Above this, form a stem 19mm high with an internal diameter of 14.5mm. Transition this s...
od = 21; h = 34; idhex = 15.5; idstem = 14.5; baseth = 1; hstem = 19; hhex = 4; htrs = 25-hstem-hhex; threadl = h-hstem-hhex-htrs; threadd = 17.8; threadp = 1.75; ch = threadp; bch = 10; section = false; nfaces = 100; $fn = 0; $fs = 0.3; $fa = 360/nfaces; odstem = idstem+(od - threadd)-0.8; ht2 = htrs + 1; pcr =...
glb/cad_2bf1af9093af.glb
Create an embroidery floss bobbin winder consisting of three sets of spur gears. Each set contains a small gear and a larger gear with specific tooth counts to achieve different gear ratios: one set with 24 and 60 teeth (1:2.5), one with 28 and 56 teeth (1:2), and one with 21 and 63 teeth (1:3). For each gear, create...
include <BOSL2/std.scad>; include <BOSL2/gears.scad>; module _mkgear(teeth, height) { spur_gear( mod=cos(30), thickness=height/2, backlash=.15, shorten=-.1, helical=30, slices=1, pressure_angle=20, clearance=.5, teeth=teeth ); } module mkgear(teeth, crank=true, height=6, wsh_d=11.5, wsh_h=3, blt...
glb/cad_5eabfd099d44.glb
Create an Arca Swiss QR plate cover by starting with a rounded rectangular base measuring 38.2mm wide and 50.2mm long, with a total height of 3.6mm. The base should have rounded corners with a radius of 5mm. From this base, remove a central rectangular section that is 38mm wide and 50mm long, leaving a wall thickness o...
$fn = 64; as_w = 38 + 0.2; as_h = 50 + 0.2; difference() { linear_extrude(0.6 + 3) rrect([as_w, as_h] + [3,3], 5); translate([0,0,0.6]) linear_extrude(10) rrect([as_w,as_h], 4); translate([0,0,-0.1]) linear_extrude(1) { for(i=[-1,1]) scale([1,i]) translate([0,-14]) rrect([13, 12],3); circ...
glb/cad_019b95cf9529.glb
Create an edison light bulb adapter by combining two concentric cylinders and removing a central core. First, create a wide, short base cylinder with a radius of 30.75mm and a height of 6mm, centered on the origin. Add a second, taller cylinder on top of this base with a radius of 20.5mm and a height of 16mm. Finally, ...
axis_diameter = 32; spool_inter_diameter = 41; spool_adapter(axis_diameter,spool_inter_diameter); module spool_adapter(axis_dia=5,spool_dia=41) difference(){ union(){ cylinder(r=spool_dia*.75, h=6, center = true); cylinder(r=spool_dia*.5, h=16); } cylinder(r=axis_dia*.5,h=40,center = true); }
glb/cad_c546f9994be2.glb
Create a plant label consisting of a flat stake with a pointed tip. The main body is a rectangle 10mm wide and 100mm tall, with a thickness of 2mm. At the top of this rectangle, add a triangular point that extends an additional 20mm upward, centering the apex at the 5mm mark of the width to create a total height of 120...
text_param = "YOUR PLANT NAME"; label_width = 10; label_height = 120; thickness = 2; tip_height = 20; text_size = 5; text_adjust = 5; text_font = "Arial:style=Bold"; module plant_label(label_text = "Plant") { difference() { linear_extrude(height = thickness) union() { ...
glb/cad_a7e40123dc60.glb
Create a customizable microscope camera case designed to house a Raspberry Pi HQ camera. Start with a main rectangular body with overall dimensions of 53.1mm x 53.1mm x 22.1mm. Hollow out the center to create a cavity of 46.1mm x 46.1mm x 15.6mm, leaving walls 3mm thick. On the top face, center a circular cutout with ...
cam_w = 38; cam_d = 38; cam_h = 7; cam_c_mount_diam = 37; cable_w = 17; cable_d = 2; cable_shift_z = 3.5; cutout_c_mount_w = 11; cutout_c_mount_d = 6; rotate_cam_circuit = false; case_inner_offset = 15.3; cam_case_wall = 3; screw_diam = 3; screw_hole_h = 4.1; screw_hole_diam = 4.15; inner_mount_h = 6; inner_sc...
glb/cad_0bc9af246408.glb
Create an angled base for an Anfim BEST espresso grinder. Start with a solid block that has a footprint defined by a polygon with vertices at [0,0], [100,0], [124.5, 26.5], [124.5, 128.25], [108.5, 191.5], [84, 191.5], [84, 183], [16, 183], [16, 191.5], [-8.5, 191.5], [-24.5, 128.25], and [-24.5, 26.5], with all corner...
$fa = 1; $fs = $preview ? 2 : 0.5; points=[ [0.0,0.0], [100.0,0.0], [124.5,26.5], [124.5,101.75+26.5], [108.5,165.0+26.5], [84.0,165.0+26.5], [84.0,156.5+26.5], [16.0,156.5+26.5], [16.0,165.0+26.5], [-8.5,165.0+26.5], [-24.5,101.75+26.5], [-24.5,26.5] ]; difference(){ ...
glb/cad_9fb21cfbcc73.glb
Create a hollow stackable cone with a flared base. The cone should have an overall height of 30mm and a base diameter of 48mm. The main body of the cone is formed by a hull between a 10mm diameter sphere at the top and a 40mm diameter cylinder at the bottom. The walls of the cone should be 2mm thick. The flared base i...
$fa = 1; $fs = 0.4; use <threads.scad>; cone_diameter = 40; cone_height = 30; cone_thickness = 2; point_diameter = 10; base_diameter = 48; base_thickness = 2; notch_radius = 0.8; cones_in_sleeve = 32; per_cone_height = 4.7; per_stack_height = cone_height - base_thickness; stack_height = (cones_in_sleeve*per_cone_heig...
glb/cad_a29b598b4407.glb
Create a paperclip bookmark with a uniform thickness of 1mm. Start by forming a solid rectangular base 30mm long, 20mm wide, and 1mm thick. At one end of this rectangle, add a semi-circular protrusion with a radius of 10mm, centered at the 10mm mark of the width and the 30mm mark of the length. From this combined sha...
$fn = $preview ? 60 : 180; clipSize = 1; difference() { union() { difference() { color( "#baf4c2" ) { cube( [ 30, 20, clipSize ] ); translate( [ 30, 10, 0 ] ) cylinder( clipSize, r = 10 ); } color( "#aaa" ) { translate( [ 2.5, 2.5, -0.1 ] ) cube( [ 27.5, 15, ( clipSize + 0.2 ) ] ); ...
glb/cad_e9fab3c32f7b.glb
Create a Mini-reel quantity gauge as a flat circular disk with a diameter of 80mm and a thickness of 3mm. Carve nine radial slots into the disk, each 10mm deep. These slots are spaced equally around the circumference. Each slot should have a specific width and a 1mm chamfer at the outer edge to facilitate insertion. ...
Diameter = 80; Thickness = 3; SlotDepth = 10; SlotChamfer = 1; SlotWidthTweak = 0; TextSize = 4; TextFont = "osifont"; TextFontWeight = 0.1; TextHeight = 0.25; Description = ["MINI-REEL", "MAX QTY", "4mm pitch"]; SlotWidths = [ 0.73, 0.82, 0.94, 1.1, 1.32, 1.65, 2.0, 2.6, 3.3 ]; SlotLabels = [...
glb/cad_95cb2b734ba1.glb
Create a Euro Container Grip Insert designed to plug a rectangular handle opening. Start by creating a main body with a width of 138mm, a height of 29.2mm, and a depth of 16.4mm. The top face of this body should have rounded corners with a radius of 3.1mm, while the bottom face has rounded corners with a radius of 2mm....
insert_width = 138; insert_height = 29.2; insert_depth = 16.4; insert_corner_radius_top = 3.1; insert_corner_radius_bottom = 2; insert_collar = 2.5; wall_thickness = 2; base_thickness = 1.5; front_corner_radius = 3; $fn = 90; module cylinders(w, h, radius, height){ translate([radius,radius]) cylinder(r=radius,h=h...
glb/cad_b89c92d6b665.glb
Create a soundproofing insert for a radiator mounting bracket. Start with a solid rectangular block measuring 9.4mm wide, 8mm deep, and 12mm high. Carve a central vertical channel through the depth of the block, 2.35mm wide and 14mm high, leaving 2mm thick walls on either side. Remove a rectangular section from the bot...
$fn=40; difference(){ cube([9.4,8,12]); translate([0,(8-2.35)/2,0]) cube([2,2.35,14]); translate([9.4-2,(8-2.35)/2,0]) cube([2,2.35,14]); translate([0,(8-2.35)/2,0]) cube([9.4,2.35,3]); translate([(9.4-2.3)/2,0,4.25]) cube([2.3,8,8]); translate([9.4/2,0,10]) rotate([-90,0,0]) #cylinder(8,2.4,2.4...
glb/cad_2b90b93bd57f.glb
Create a Cable Holder for a drawer. Start with a rectangular block that is 48mm wide, 18.2mm deep, and 10mm high. Cut a central rectangular channel through the width of the block, leaving a wall thickness of 2.5mm on the top and bottom. This channel should be 13.2mm wide and 43mm long. Along the front face, create ...
opening_width = 13.2; thickness = 2.5; height = 10; add_screw_hole = true; cable_diameter = 3; slot_count = 6; slot_distance = 5; $fa=.3;$fs=.3; width = slot_distance * (slot_count + 1) + cable_diameter * slot_count; depth = opening_width + 2 * thickness; cable_radius = cable_diameter/2; module m4_hole(hh) { ...
glb/cad_a7565285515b.glb
Create a Vtech Funny Sunny replacement disc. Start with a main cylindrical plate 88mm in diameter and 5mm thick. Hollow out the center of this plate by removing a smaller cylinder with a diameter of 84mm and a height of 5mm, leaving a 2mm thick outer ring. Cut a rectangular gap through this outer ring that is 19.4mm wi...
$fn=64; testing=0; dia=88; h_plate=5; h_plate_inner=2; outer_ring_th=2; conn_dia=16; conn_inner_dia=14; conn_h_total=10; conn_h_min=8; conn_ring_maxdia=17.8; conn_ring1_outer_dia=16; conn_ring2_outer_dia=10; conn_ring3_outer_dia=4; gapw=19.4; gapdepth=4; selected_ring=7; module disccomplete(dia_disc=dia) { c...
glb/cad_8dc96f0193cc.glb
Create a Bicycle Basket Mount consisting of a main rectangular body with integrated locking and mounting features. The main body is a rectangular block with a width of 47mm (holder_w) and a length of approximately 225mm (holder_l). Within this body, create a central rectangular cutout (lock hole) measuring 28mm in le...
$fn=64; dia=10; frontx=0; dist_ortlieb=171; frontx_ortlieb=60+2; backx=218; backx_ortlieb=60+171+12; width=67; tipx=118; lenrack=tipx+backx_ortlieb+20; dia_ortlieb=9; dia_ortlieb_big=15; len_ortlieb=10+dia/2; len_ortlieb_big=3.5; wiggle=1; wall=2.5; holder_w=44+3; holder_th=wall*2; fullholder_w=90; holder_l=back...
glb/cad_66f0bbafda2d.glb
Create a Bicycle Basket Mount consisting of a rectangular block with a central cutout and a side hole. Start with a solid rectangular base measuring 34mm in width, 28mm in length, and 12mm in height, centered on the origin. Remove a rectangular section from the top center of the block to create a U-shaped channel. Th...
$fn=64; screwdia=4.3; lock_d=18; lock_h=28; lock_thin_w=2; lock_thick_w=4; lockhole_d=lock_d-lock_thick_w-lock_thin_w; lockhole_h=26; lockhole_w=31; lockhole_w_through=10.5; holder_w=34; holder_l=28; echo( lockhole_d); difference() { cube([holder_w,holder_l,lockhole_d],center=...
glb/cad_1fd7337d9e32.glb
Create a Bicycle Basket Mount consisting of a rectangular base block with a total width of 67mm, a length of 28mm, and a height of 5.2mm. Center a rectangular cutout through the block that is 26mm wide, 10.5mm deep, and 20mm high. Bore a horizontal cylindrical hole with a diameter of 4.3mm through the center of the b...
$fn=64; screwdia=4.3; dia=10; frontx=0; dist_ortlieb=171; frontx_ortlieb=60+2; backx=218; backx_ortlieb=60+171+12; width=67; tipx=118; wiggle=1; wall=2.5; holder_h=5; lock_d=18; lock_h=28; lock_thin_w=2; lock_thick_w=4; lockhole_d=lock_d-lock_thick_w-lock_thin_w; lockhole_h=26; lockhol...
glb/cad_ab0c58660f44.glb
Create a 3D sculpture called a Sphere of ManyCubes. Begin with a grid of 5 by 5 by 5 cells, where each cell is a cube with a total width, height, and depth of 11.5mm. Within each cell, construct a hollow frame by starting with a solid 11.5mm cube and removing three rectangular prisms to leave only the edges. Specifical...
r=1.5; b=10; c=b+r; s=5; rad=(s*(c-r)+r)/2; module create_in_bounds_frame(x,y,z) { lv000=norm([ x, y, z]-[rad,rad,rad]); lv100=norm([x+c, y, z]-[rad,rad,rad]); lv110=norm([x+c,y+c, z]-[rad,rad,rad]); lv010=norm([ x,y+c, z]-[rad,rad,rad]); lv001=norm([ x, y,z+c]-[rad,rad,rad]); lv101=...
glb/cad_00f85a2bfec5.glb
Create a phone cable support by starting with a solid rectangular block measuring 70mm in length, 17mm in width, and 95mm in height. From this main body, remove a central rectangular cavity measuring 65mm by 12mm by 30mm to create the primary opening. Carve out a secondary rectangular section from the top face measurin...
iphone_size_x = 65; iphone_size_y = 12; iphone_size_z = 30; hole_size_x = 45; hole_size_y = 7.5; iphone_cable_z = 60; screen_size_x = 55; screen_pos_z = 5; box_over = 5; rotate([-90, 0, 0]) { difference() { translate([0, 0, -iphone_cable_z/2]) cube([iphone_size_x+box_over, iphone_size_y+box...
glb/cad_4f959ebefa6e.glb
Create a Raspberry Pi power case by starting with a main rectangular box of dimensions 60mm x 40mm x 25mm. Hollow out the center of the box, leaving a wall thickness of 3mm, but keep the floor solid up to a height of 6mm. On the left side wall, create two circular wire pass-through holes. On the top surface, integrat...
include <PowerCase.scad> union() { difference() { translate([relay_translation_x, relay_translation_y, relay_translation_z]) RelaySupport(relay_x, relay_y, relay_h, relay_distance, relay_support_size); translate([relay_translation_x, relay_translation_y, relay_translation_z]) RelaySupportHoles(re...
glb/cad_000c5debf97d.glb
Create a Gaggia MDF Doser Impeller consisting of two main components: a bottom base and a top cap. For the bottom section, create a main cylinder 54mm in diameter and 24mm high. Remove a concentric inner cylinder 48mm in diameter and 2mm high from the top, and a central vertical hole 10mm in diameter. Add a central p...
$fa = 1; $fs = $preview ? 2 : 0.5; module bottom(){ difference(){ union(){ difference(){ translate([0,0,24/2])cylinder(h=24,d=54,center=true); translate([0,0,24])cylinder(h=2,d=48,center=true); } translate([0,0,28/2])cylinder(h=28,d=22,cen...
glb/cad_e3900e035a53.glb
Create a 3D model of the "Posable Android Rennes Robot" logo. The object is a flat, extruded graphic with a height of 1mm. The shape is composed of several complex, interlocking polygonal regions that form a stylized word or symbol. The geometry is defined by a series of connected polygons. The primary structure consi...
fudge = 0.1; translate([-0.5, -1, 0.25]) rotate([0, 0, -10]) cube([1, 13, 0.5], center=true); module poly_path896(h) { scale([25.4/90, -25.4/90, 1]) union() { linear_extrude(height=h) polygon([[-6.015954,20.943356],[-9.937845,20.471036],[-9.725258,19.245733],[-8.916977,17.759346],[-8.237450,...
glb/cad_c0c4ed74ada1.glb
Create a whiteboard pen holder starting with a rectangular base that is 30mm high and 5mm thick. The total length of the base should accommodate four pens and two magnets. At each far end of the base, create a cylindrical hole with a diameter of 10.5mm and a depth of 5mm to house magnets. Along the top surface of the ...
holder_height = 30; holder_width = 5; magnet_d = 10.5; magnet_distance = 2; pen_holder_height = 12; pen_holder_width = 4; pen_d = 10.5; pen_inside = 1; pen_number = 4; magnet_r = magnet_d/2; pen_r = pen_d / 2; offcet_base = magnet_d + magnet_distance * 2; offcet_holder = offcet_base; offcet_pen = offcet_base...
glb/cad_8a9b57922ac3.glb
Create an auto-rewinder spool stand designed to fit a Rubbermaid 16-cup container. The model consists of a stand, an axle, and a retaining ring. First, construct the stand. The base should follow the outer rim profile of a 16-cup container, defined by three arcs: 32mm for the corners, 300mm for the narrow sides, and 2...
output = "axle"; material_number = 7; material_name = "PLA"; feedholedia = 6; springretainerpos1 = 30.9; springretainerpos2 = 52.2; module dummy(){} totallen = 237; totalwid = 113; ca1=4.891152271; ca2=87.79017767; cx0=85.5240712; cy0=22.8505013; re=300; rc=32; rs=2250; ex0=re-0.5*totallen; sy0=rs-0.5*totalwid; ...
glb/cad_e5353e7108de.glb
Create a retractable double-edge razor blade scraper consisting of two sliding symmetrical halves, each 3.5mm thick. For each half, create a main body that combines a blade holder section and a handle section. The blade holder is a rectangular block 47mm long and 27mm wide, with a beveled front edge at a 38-degree an...
display = "printall"; assemblystep = 0; front_angle = 38; handlewid = 24; handlelen = 70; exposed_edge = 5; blade_overlap = 2; thickness = 3.5; module dummy() {} blen = 43; bwid = 22; binwid = 13; elen = 37; holepos = 12.7; holedia = 5; bthick = 0.1; hblen = blen/2; helen = elen/2; snapstyle = 1; lockpegdia =...
glb/cad_6d79ad9543f9.glb
Create a universal flashlight mount consisting of a base and four protruding support pegs. First, create a rectangular base plate 36mm wide by 40mm long and 10mm thick. The corners of this plate should be rounded using spheres with a diameter of 10mm. In the center of this base, create a vertical hole with a standard...
use <circlestack_thread3.scad> use <hotshoe_adapter_v2.scad> show = "tripod"; max_dia = 41; module dumy() {} ohang = 35; peg_len = 1.1*max_dia; maxr = 0.5*max_dia; if (show == "tripod") tripod_mount(); else if (show == "camera") hotshoe_mount(); else { translate([-max_dia,0,0]) tripod_mount(); tran...
glb/cad_5ac912f6a8fb.glb
Create a procedural weathered fractal terrain paperweight. Start by generating a square landscape with a side length of 100mm. The surface should be a fractal heightmap created using 7 levels of subdivision, with a vertical Z-scale magnification of 30mm. Apply a grayscale erosion algorithm for two passes to weather the...
maxlevels = 7; seed = -1000; sidelen = 100; zscale = 30; zoffset = 0; erosionpasses = 2; sealevel = -0.5; boxed = true; show = "both"; cornerbevel = 6; cornerelev = [[0, 0], [-0.25, 0]]; module dummy(){} randfield = scaled2drands(seed, cornerelev, maxlevels); landscape = make_landscape(cornerelev, maxlevel...
glb/cad_2bec4e9f0559.glb
Create three d20 dice, each with a diameter of 22mm between opposite faces. All three are regular icosahedrons with numbers engraved to a depth of 1.1mm using a bold Helvetica font. The first die is fair: distribute the numbers 1 through 20 such that opposite faces sum to 21 and the values around each vertex are numer...
dia_faces = 22; print = "all"; numfont = "Helvetica:style=Bold"; engravedepth = 1.1; module dummy() {} cspacing = 0.95; sq3 = sqrt(3.0); phi = 0.5*(sqrt(5.0)+1.0); fontsize = 0.325*dia_faces*sq3/(phi*phi); if (print == "fair") d20(dia_faces, 0); else if (print == "bias-1") d20(dia_faces, -1); else if (pri...
glb/cad_d2611870c7e5.glb
Create a spear head called Gungnir consisting of two symmetrical blade halves and a threaded collar. For the blade halves, create a shape 240mm long and 60mm wide. The base is a cylinder with a 26mm diameter that tapers along its length to a blunt tip with a 10mm diameter. The leading edges should follow an ogive cur...
use <geodesic_hemisphere.scad>; use <circlestack_thread3.scad>; display="all"; bladelen = 240; bladewid = 60; bwoffset = 28; tipdia = 10; module dummy() {} rodht = 28; insertlen = 25; insertdia = 20; clearance = 0.1; speardia = 26; handledia = 23; guardlen = 26; guardwid = 8; runesize = 18; rspacing = 1.32; runes ...
glb/cad_2e0cb74ec816.glb
Create a set of six geodesic hemispheres, each with a radius of 10mm. The hemispheres should be constructed with varying facet resolutions to create different polygonal bases. Position the hemispheres as follows: one with an 8-sided base at (-21, 21, 0), one with a 10-sided base at (0, 21, 0), one with a 12-sided base ...
translate([-21,21,0]) geodesic_hemisphere(r=10, $fn=8); translate([0,21,0]) geodesic_hemisphere(r=10, $fn=10); translate([21,21,0]) geodesic_hemisphere(r=10, $fn=12); translate([-21,0,0]) geodesic_hemisphere(r=10, $fn=16); geodesic_hemisphere(r=10, $fn=20); translate([21,0,0]) geodesic_hemisphere(r=10, $fn=24); module...
glb/cad_a95c1754b822.glb
Create a Customizable Vortex Cannon. Start by constructing the main body as a conical frustum with a height of 100mm, a top diameter of 120mm, and a bottom diameter of 80mm. Hollow out the center by removing a smaller conical frustum with a top diameter of 116.8mm and a bottom diameter of 76.8mm, leaving a wall thickne...
Height = 100; Top_Diameter = 120; End_Diameter = 80; Hole_Diameter = 50; Use_Baffles = "Yes"; grip_angle = 0 + 0; Angular_Resolution = 4; Linear_Resolution = 0.4; $fa = Angular_Resolution; $fs = Linear_Resolution; cannon(Height, Top_Diameter, End_Diameter, Hole_Diameter, Use_Baffles); module grip(angle = 0) { ...
glb/cad_1c99e3ccf364.glb
Create a Card Stand by constructing a wedge-shaped base with a narrow slot for holding cards. Start with a trapezoidal prism that has a length of 60mm, a base width of 8mm, and a height of 6mm. The profile of this prism should taper from the 8mm base width up to a top edge that is only 0.3mm wide. Centrally along the ...
Stand_Height = 6; Stand_Length = 60; Base_Width = 8; Card_Slot = 0.2; Open_Ended = "No"; stand(Stand_Height, Stand_Length, Base_Width, Card_Slot); module stand(h = 4, l = 60, b = 8, slot = 0.3) { D() { rotate([90,0,0]) LiEx(h = l + (Open_Ended=="No"?2:-0.1)) polygon([[-b/2,0], [b/...
glb/cad_b29f182ad165.glb
Create a Tornado Vortex Tube connector. Start by creating a main outer cylinder with a diameter of 36.3mm and a total height that accommodates the internal components. Inside this outer cylinder, create a central void consisting of three stacked sections. The middle section is a cylindrical cutout with a diameter of ...
Joint_Thickness = 3; Opening_Diameter = 30.3; Opening_Height = 17.5; Nozzle_Diameter = 10; Nozzle_Angle = 45; Angular_Resolution = 5; Linear_Resolution = 0.3; $fa = Angular_Resolution; $fs = Linear_Resolution; o_d = Opening_Diameter; o_h = Opening_Height; j_t = Joint_Thickness; n_d = min(Opening_Diameter, Nozzle_...
glb/cad_d2452ad5df42.glb
Create a Spinner consisting of three main parts: a base, an arrow, and a cap. First, create the base as a cylinder with a diameter of 35mm and a height of 3.6mm. Centered on the top face, add a vertical pin with a diameter of 7mm and a height of 4.8mm. To allow the arrow to spin, remove two cylindrical holes from the ...
Output = -1; Use_Screw = "No"; Magnet_Diameter = 10; Magnet_Height = 3; Number_of_Magnets = 2; Arrow_Height = 1.8; Arrow_Length = 80; Arrow_Width = 15; Fine_Clearance = 0.05; Large_Clearance = 0.6; $fs = 0.3; $fa = 2; module __Customizer_Limit__ () {} cap_h = 4.8; cap_d = 29; screw = Use_Screw == "Yes"?true:false...
glb/cad_75b86f1eac8e.glb
Create a Stackable Coffee Sachet Holder. Start by creating a solid rectangular block with a width of 66mm, a depth of 106mm, and a height of 157.4mm. Hollow out the center of this block to create an open container. The interior cavity should be 60mm wide, 100mm deep, and 154.4mm high, leaving a wall thickness of 3mm ...
thickness = 3; sachetWidth = 60; sachetDepth = 10; sachetHeight = 154.4; numberOfSachets = 10; hexagonWidth = 12; noOfColumns = 15; noOfRows = 12; $fa = 1; $fs = $preview ? 2 : 0.4; overlapBuffer = 1; ceilWidth = ceil(sachetWidth); width = ceilWidth + (thickness * 2); ceilDepth = ceil(sachetDepth); depth = (cei...
glb/cad_fd6d1999655a.glb
Create an SFX backwards mount consisting of two symmetrical brackets. Each bracket is a flat frame with a thickness of 4mm and a height of 10mm. The main body of each bracket is a rectangular ring designed to house a power supply with outer dimensions of 100mm in length and 63.5mm in width. The brackets feature a cen...
$fn=30; psuX = 100; psuY = 63.5; psuZ = 10; psuO = 6; holY = psuY/2-psuO; tol = 0.4; thk = 4; bkt = 5; bck = thk*bkt; uncD = 4.32; m3hD = 3.65; nutD = 6.6; nutZ = 2.6; sofD = 7; sofZ = 10; hstD = 4.7; hstZ = 5; totX = (psuX+thk*2+bck)/2; totY = (psuY+thk*2)/2; totZ = psuZ/2; totB = 14; typD = sofD; typZ = sofZ; typ...
glb/cad_09aa0f7d2728.glb
Create a Nozzle Pencil Topper consisting of a threaded shaft and a hexagonal head. Start by creating a central cylindrical hole with a diameter of 7.5mm that runs through the entire length of the object. Build the main body around this hole. The base is a threaded shaft with an outer diameter of 12mm. The threads are...
resolution = 100; $fn = resolution; pd = 7.5; sd = 12; module hexagon(r) { for (i=[0:5]) { rotate(i*60) polygon([ [0, 0], [r, 0], [(r*cos(60)), (r*sin(60))]]); } } module rat(r) { translate([0, 0, -0.05]) linear_extrude(0.1) polygon([[r, 0], [(...
glb/cad_30058fa1993a.glb
Create a Fractal Define 7 Adapter for 20mm fillports consisting of two separate ring components. For the first component, create a base cylinder with a diameter of 28mm and a height of 2mm. On top of this base, add a second cylinder with a diameter of 25.5mm and a height of 1mm. Bore a central hole through both cylinde...
$fn = 128; id = 20.1; od = 25.5; randdicke = 2; randbreite = 28; tiefe = 3; module top() { difference() { union() { cylinder(d = randbreite, h = randdicke); translate([0, 0, randdicke]) { cylinder(d = od, h = tiefe - randdicke); } } cylinder(d = id, h = tiefe); } } module b...
glb/cad_b8e5a06b58fb.glb