Prompt
stringlengths
96
2.17k
Code
stringlengths
27
249k
3d_glb
stringlengths
24
24
Create a customizable text button by arranging characters in a circular pattern. For the text "Amelie", place each character along the perimeter of a circle with a radius of 10mm. Use a font size of 6mm and a thickness of 3mm for the extruded letters. Position each character so that its center is aligned with the circ...
use <string.scad>; MySnappyString="Amelie"; Radius=10; fontsize=6; Gap=.3; Tilt=0; font=str("Aldo"); Thickness=3; VFlipChars=true; ForceFixedSpacing=0; CircleText( MySnappyString=MySnappyString, Radius=Radius, fontsize=fontsize, Gap=Gap, Tilt=Tilt, font=font, Thickness=Thickness, VFlipChars=VFlipChars, ForceFixedSpac...
glb/cad_f017389c668f.glb
Create an OpenGrid custom shelf mounting bracket. Start with a main body that is a semi-rounded rectangular block with a height of 28mm, a width of 32.5mm (4mm wall + 20.5mm bar space + 8mm bolt wall), and a length of 30.5mm (4mm wall + 20.5mm bar space + 6mm outer thickness). Round the vertical edges with a 2mm radius...
$fn = $preview ? 30 : 100; eps = 0.01; eps3 = [eps, eps, eps]; M4_HEAD_R=6.6/2; M4_R=5.0/2; M3_HEAD_R=5.3/2; M3_HEAD_H=3.0; M3_R=3/2; M3_INSERT_R=4.15/2; M3_INSERT_H=3.8; module semi_rounded_rect(w,l,h,r=2){ scale([1,1,h/2]) minkowski(){ cube([w-2*r, l-2*r, 1]); translate([r,r,0]) cylinder(r=r,...
glb/cad_857f7da67c77.glb
Create a Wera Screwdriver Holder consisting of a mounting rail and individual tool holders. First, construct a mounting rail as a rectangular base with a series of protruding pegs. Each peg should be a composite shape: a wide cylindrical base (8mm diameter, 0.71mm height) transitioning into a narrower cylinder (2mm d...
handle_diameter = 36; handle_bottom_outer_diameter = 26.7; handle_bottom_inner_diameter = 23; thin_shaft_diameter = 5.0; thick_shaft_diameter = 5.0; symbol = "tx"; label_first_line = "TX"; label_second_line = "25"; handle_sides = 6; module customizer_wera_holder() { wera_holder(handle_diameter, handle_bottom_out...
glb/cad_a35d12c96bf3.glb
Create a Wera Screwdriver Holder consisting of a mounting rail and individual tool holders. First, construct a mounting rail. The rail is a rectangular base with a width of 90mm and a height of 15mm, featuring a series of vertical cylindrical peg holes spaced 45mm apart. Each hole has a diameter of 8mm at the top, ta...
handle_diameter = 36; handle_bottom_outer_diameter = 26.7; handle_bottom_inner_diameter = 23; shaft_diamater = 5.0; ferrule_diamater = 8.0; symbol = "tx"; label_first_line = "TX"; label_second_line = "25"; handle_sides = 6; module customizer_wera_holder() { wera_holder(handle_diameter, handle_bottom_outer_diamet...
glb/cad_b67050a40cd0.glb
Create a Wera Screwdriver Holder consisting of a tool-specific socket and a mounting rail. For the holder, create a block approximately 40mm wide and 44mm deep. Carve a central vertical cavity to fit a screwdriver handle; this cavity should be a rounded polygon (6 sides) with a width across flats of 26.7mm and a circ...
handle_diameter = 36; handle_bottom_outer_diameter = 26.7; handle_bottom_inner_diameter = 23; shaft_diamater = 5.0; ferrule_diamater = 8.0; symbol = "tx"; label_first_line = "TX"; label_second_line = "25"; handle_sides = 6; module customizer_wera_holder() { wera_holder(handle_diameter, handle_bottom_outer_diamet...
glb/cad_c6082f5154a4.glb
Create a GastroNorm KnockBox frame designed to hold a 20mm diameter rod. Start by creating a rectangular base plate with outer dimensions of 172mm by 157mm and a thickness of 11mm. This plate should have a centered rectangular cutout of 148mm by 134mm with corner radii of 40mm, leaving a wall thickness of 3mm around th...
rodDia = 20; rodLength = 121+5; rodHolderWidth = 20; innerWidth = 148; innerHeight = 134; cornerRadius = 40; outerWidth = 170 + 2; outerHeight = 155 + 2; walls = 3; $fn = 128; single = 0; module roundedCube(size,radius) { linear_extrude(size[2]){ hull(){ translate([radius,radius,0]){ circ...
glb/cad_a913a547fada.glb
Create a cable splitter housing by designing a symmetrical half-shell. The outer body begins with a narrow section 8mm long, transitioning through a 2mm bifurcation zone into a wider section that is 10mm long. The overall width of the narrow end is 9mm, and the wider end is 13mm. The height of the shell is 9mm, but it ...
$fn=90; du1= 6; du2= 4; kl= 8; la1= 2; la2= 10; difference(){ union(){ minkowski(){ translate([-kl/2-la1-0.5,0,0])cube([kl-1,du1+3-2,du1+3-2],center=true); rotate([0,90,0])cylinder(d=2); } minkowski() {translate([kl/2-0.5+la2/2,0,0])cube([kl+la2-1,du...
glb/cad_f71bbb20b012.glb
Create a Nozzle Wiper Brush handle. Start by creating a main rectangular body with a total length of 170mm, a width of 15mm, and a height of 8mm. Apply a 1mm fillet to all edges and corners to smooth the geometry. On the top surface, create a recessed cutout to hold a silicone wiper. This cutout should be 28mm long an...
wiperWidth = 5.8; wiperLength = 28; wiperHeight = 6.2; wiperDepth = 3; wiperInset = 3; clearance = 0.1; handleWidth = 15; handleLength = 170; handleHeight = 8; filet=1; showWiper = true; showColor = true; $fn = 100; eps = .1; WI = max( filet, wiperInset+clearance); BW = max( wiperWidth+WI...
glb/cad_47a0ac67e371.glb
Create an under-nail cleaner tool. Start with a handle that is a long, thin cylinder with a radius of 1.2mm and a length of 22mm, extending along the x-axis. At one end of this cylinder, add a hemispherical cap with a radius of 1.2mm. At the opposite end, create a flat, blade-like cleaning tip. This tip is formed by a ...
$fn = $preview ? 60 : 180; translate( [ 0, 0, 1 ] ) difference() { color( "#baf4c2" ) { translate( [ 0, 0, -1 ] ) linear_extrude( 2.1 ) hull(){ scale( [ 1.8, 1, 0.5 ] ) circle( 2.25 ); translate( [ 0.7, 0 ] ) scale( [ 4, 1, 0.6 ] ) circle( 1.7 ); } translate( [ ...
glb/cad_0ac960f7a42f.glb
Create a replacement clip for a Sansa Clip Zip MP3 player. Start with a main body that is 52mm wide, 29.7mm tall, and 1.8mm thick. The top and bottom edges of this body should be rounded with a radius of 150mm. The side edges are slightly tapered, narrowing to 97.5% of the width at the top. Integrate a cylindrical pr...
$fn=60; rotate([$preview?0:90,0,0]) { difference() { union() { translate([0,0,1.8]) mirror([0,0,1]) linear_extrude(1.8, scale=[0.975,1]) { offset(r=2.5) offset(delta=-2.5) intersection() { square([51+1,29.7], true); translate([150-51/2,0]) circle(r=150, $fn=360); translate([51/2-150,0]) circl...
glb/cad_ae7d92238924.glb
Create a portable air conditioner exhaust dual hose conversion plate. Start with a square base measuring 180mm by 180mm with a thickness of 2mm. Centered on this base, create a cylindrical collar with an outer diameter of 161mm and a height of 16mm. Bore a hole through the center of this collar and the base with a diam...
$fn=180; difference(){ union(){ translate([-90, -90, 0]) cube([180, 180, 2]); translate([0, 0, 2]) cylinder(d=161, h=16); } translate([0, 0, -0.01]) cylinder(d=130, h=25.2); translate([0, 0, 1.99]) cylinder(d=156, h=25.2); for (a = [0, 120, 24...
glb/cad_2b4fc77b2aa8.glb
Create a portable air conditioner exhaust hose collar with a total height of 12mm. Start by constructing a solid base using a hull operation between a cylinder with a diameter of 151mm and a height of 2mm, and a larger cylinder with a diameter of 155mm and a height of 10mm positioned 2mm above the base. Hollow out th...
outerDiameter = 155; innerDiameter = 130; collarHeight = 12; wallWidth = 2; retainerWidth = 4; $fn=180; cid = outerDiameter - (wallWidth * 2); difference(){ hull(){ cylinder(d=cid, h=wallWidth); translate([0, 0, wallWidth]) cylinder(d=outerDiameter, h=collarHeight - wallWidth); } ...
glb/cad_38b61e2f6b93.glb
Create an EU tag consisting of a square base and raised decorative elements. Start by creating a square base plate measuring 25mm by 25mm with a thickness of 1mm. The top surface of this plate should have slightly rounded corners. Centered on the top face of the plate, create the letters "EU" in a bold, sans-serif fo...
$fs=.2;$fa=1; h=25; w=h; base=1; star=.5; lap=.2; text="EU"; color("#003399")difference(){ union(){ linear_extrude(base/3*2)offset(1)square([w-2,h-2],true); translate([0,0,base/3*2])linear_extrude(base/3,scale=(w-base/3*2)/w)offset(1)square([w-2,h-2],true); } translate([0,0,base-lap])linear_extrude(sta...
glb/cad_6fe85581eee5.glb
Create a 5015 Blower Fan Screw Sleeve by constructing a hollow cylinder with an outer diameter of 4.8mm and a height of 15.6mm. The cylinder should have a uniform wall thickness of 0.8mm, resulting in an inner diameter of 3.2mm. Ensure the geometry is smooth and circular.
od = 4.80; thick = 0.8; height = 15.6; $fn=64; linear_extrude(height) { difference() { circle(d=od); circle(d=od - thick * 2); } }
glb/cad_613565bb2be5.glb
Create a parametric espresso dosing funnel and pusher. The funnel body begins with a base cylinder 64.5mm in diameter and 4mm high. Above this base, create a conical section that flares outward from a diameter of 57.375mm (75% of the funnel diameter) at the 4mm height mark to a top diameter of 85mm over a height of 25m...
OD = 64.5; ID = 51.5; FD = 85; FH = 25; OH = 0.5; WALL = 1.8; LIP = 1; LUGL = 20.5; LUGN = 3; LUGH = 4; LUGT = 1; PM = 0.4; PTH = 2; PG = 6; $fn = 150; module body () { cylinder(d=OD, h=FH+LUGH); translate([0,0,LUGH]) cylinder(d1=FD*.75, d2=FD, h=FH); } module lugholes () { if (LUGT == 1) { ...
glb/cad_c9efb61a1a90.glb
Create a train carriage interior for a Blokkendoos type II. Start with a rectangular base plate measuring 210mm in length, 30.2mm in width, and 3.3mm in height. Along the length of the base, construct vertical walls with a height of 16.5mm. Divide the interior into compartments. Create two main passenger sections, ea...
use <bank_B_open_afdeling.scad> balkon = [18.30, 24.85, 3.17]; totaal = [210, 30.2, 3.3]; h_wanden = 16.5; h_bodem = totaal[2]; d_compartiment = 18.8; d_pcb_holes = 141.28; d_pcb_hole_1 = 37.82; w_pcb_holes = 22; r_pcb_holes = 1.22; h_pcb_mount = 14.66; w_catch = 31.5; h_catch = 4; d_ca_1 = 51.5; d_ca_2 = 143.5; d...
glb/cad_39dc23171bb1.glb
Create a hexagonal lampshade for an Olight Obulb Plus by constructing a tiered cylindrical vessel. Start with a wide base cylinder 130mm in diameter and 1.4mm high. Centered on top of this base, add a middle ring with a diameter of 86.8mm and a height of 2.7mm. Above that, add a top ring with a diameter of 82.2mm and a...
$fn = $preview ? 32 : 512; top_ring_d = 82.2; top_ring_h = 6.4; difference() { union() { cylinder(1.4, d=130); cylinder(1.4+1.3, d=86.8); cylinder(top_ring_h, d=top_ring_d); }; translate([0, 0, 1]) cylinder(42, d=78); translate([0, 0, top_ring_h + 1.8]) cylinder(42...
glb/cad_460c68bbaf92.glb
Create a building block with a total height of 23mm. The base is a rectangular body 20mm wide and 10mm deep, with a height of 14mm. The bottom of this body is flat, and the four vertical corners are chamfered. The walls of the body have a thickness of 0.8mm. On top of the body, place two cylindrical pins. Each pin has...
nozzleDiameter=0.4; width=20; depth=10; bodysegmentheight= 14; bodysegments = 1; pinprotrusion = 9; walls=2; module lowerblockprofile(width, depth, wallthickness, height, isInner = false) { difference() { translate([0,0,-0.5*wallthickness]) hull() { translate([0,0,-2*wallthickness]) ...
glb/cad_b2851049c649.glb
Create a tweezer holder block with a total width of 21mm, thickness of 15mm, and height of 61mm. Round all exterior edges with a 2mm radius. On the flat back face, create two countersunk screw holes for M3 screws, positioned 14mm from the bottom and top edges and centered along the width. Carve a tapered slot through ...
w=21; t=15; h=61; tw_x = 12.5; tw_y = 1.75; angle = 7; d1=12; d2=6; tip=2.5; conical=30; chamfer_w=1; chamfer_h=2; $fn=32; difference() { minkowski() { translate([1, -1, 1]) cube([w-2, t, h-2]); sphere(d=2); } translate([-1, -2, -1]) cube([w+2, 2, h+2]); #translate([tw_x, tw_y, 0]) rotate([-angle, 0, 0]...
glb/cad_b3a6be52f76a.glb
Create a magnetic battery case half with a total height of 35.8mm and an outer width of 23mm. The main body is a rounded rectangular block containing a central cylindrical cavity 19mm in diameter and 66mm long (split across two halves), with a wall thickness of 2mm. At the top opening, create a protruding lip with a ...
$fn = 50; dia = 19; height = 66; body_t = 2; lip_t = 1; lip_h = 3; lip_tol = 0.15; fillet_r = 2; spacing = 5; mag_h = 1.8; mag_d = 5; mag_t = 0.7; tip_mags = true; tm2_d = 6; debug = false; base_off = tip_mags ? mag_h : 0; half_h = height/2 + body_t + base_off; ext_r = dia/2 + body_t; tube_off = dia/2 + spacing/2...
glb/cad_adc061d42e33.glb
Create a Spice Caddy designed to hold six cylindrical jars in a 3x2 grid. The base is formed by six outer-diameter cylinders, each 49mm in diameter, arranged with a center-to-center pitch of 47mm. These cylinders are merged into a single organic form with a bottom floor thickness of 1.6mm. Extrude the walls of these c...
repeat_x = 3; handle_type = 2; dia = 45; shroud = 35; total = 167; handle = 10; bottom = 1.6; top = 3.2; wall = 2; $fa = 5; $fs = 0.5; pitch = dia + wall; outer_dia = dia + 2*wall; n = repeat_x - 1; module main_part() { offset(r=-dia/6) offset(delta=dia/6) { for (x=[-n/2:n/2], y=[-0.5:0.5]) translate([x,y]*pitc...
glb/cad_a22309886278.glb
Create a PC Cable Comb with a thickness of 8mm. The main body is a rectangular block with rounded corners and chamfered edges. Within this block, create a series of 26 circular holes to hold cables. Each hole must have a diameter of 3.2mm. Arrange these holes in a linear row with a horizontal gap of 0.8mm between eac...
CableThickness = 3.2; CombThickness = 8; PinCount = 26; PrinterTolerance = 0.14; CableGap = 0.8; Color = "#258bfb"; $fn = 100; CablePatternBoxX = ((CableThickness + CableGap) * (PinCount / 2)) - CableGap; CablePatternBoxY = (CableThickness * 2) + 1; BoxOuterDiameterX = CablePatternBoxX + (3.5 * 2); BoxOuterDiam...
glb/cad_609c9a1eadff.glb
Create an Exhaust Filter Box consisting of a main housing and a removable back panel. The main housing is a rectangular shell with outer dimensions of 80.5mm width, 40mm depth, and 62.5mm height. The walls are 2mm thick. The bottom face and the top interior face feature honeycomb patterns with a cell diameter of 3.5m...
include <honeycomb.scad> $fn=50; $wall = 2; $hc_diameter = 3.5; $hc_wall = 1; $upper_width = 80.5; $upper_depth = 40; $upper_height = 62.5; $upper_slot_pos = 2.6; $upper_slot_width = 2.6; $upper_slot_depth = 2; $upper_indent_angle = 25; $upper_indent_height = 48; $upper_indent_depth = 7.6; $back_slot_width = $wal...
glb/cad_a643ee189c47.glb
Create an Exhaust Filter Box consisting of a main housing and a separate back panel. The main housing is composed of two stacked chambers. The upper chamber is a rectangular shell with a width of 80.5mm, depth of 40mm, and height of 62.5mm. It features 2mm thick walls and a front panel that is angled at 25 degrees. T...
include <honeycomb.scad> $fn=50; $wall = 2; $hc_diameter = 3.5; $hc_wall = 1; $upper_width = 80.5; $upper_depth = 40; $upper_height = 62.5; $upper_slot_pos = 2.6; $upper_slot_width = 2.6; $upper_slot_depth = 2; $upper_indent_angle = 25; $upper_indent_height = 48; $upper_indent_depth = 7.6; $lower_side_ledge = 7.5...
glb/cad_6f2796d731b7.glb
Create a Side or Edge Clamp Vise Jig. Start by constructing the main body as a rounded cube with dimensions 60mm in length, 19.5mm in width, and 15mm in height, with a corner radius of 1mm. Integrate a central cylinder with a radius of 15mm and a height of 20mm, and add two rounded cylinders at each end of the body, ea...
use <roundedcube.scad> use <roundcylinders.scad> use <bosl/constants.scad> include <bosl/threading.scad> $fn=100; NotchThickness = 7; threadDiameter = 10; threadHoleAdjustment = 0.55; threadLength = 45; threadPitch = 2; translate([0,0,7.5]) { difference() { union () { translate([0,0,0]) ...
glb/cad_8924fabab6bc.glb
Create an Infinity Button by constructing a three-dimensional infinity symbol. The shape should be formed by extruding a flat infinity sign to a thickness of 2mm. Scale the overall dimensions of the resulting object by a factor of 1.2 in all three axes. Ensure the curves of the loops are smooth and the geometry is a si...
scale([1.2,1.2,1.2]) { linear_extrude(2) text("∞", $fn=50); }
glb/cad_a56f0926c520.glb
Create an Infinity Button by starting with a main circular disc 14mm in diameter and 2mm thick. Hollow out the center of this disc by removing a smaller concentric cylinder with a 12mm diameter and 1mm thickness, leaving a 1mm thick rim around the edge and a 1mm base. Pierce two vertical holes through the entire thickn...
difference() { difference() { cylinder(h=2, r=7, $fn=50); translate([0,0,1]) cylinder(h=1, r=6, $fn=50); } union() { translate([-2,0,0]) cylinder(h=1,r=1, $fn=50); translate([2,0,0]) cylinder(h=1,r=1, $fn=50); } } translate([-6,- 5, 0])...
glb/cad_a94071efda23.glb
Create an ElectroMagnetic Gimbal laser mirror base. Start by constructing a series of concentric rings. Create three nested rings with a radius of 14.5mm, each decreasing in size by 3.5mm. These rings should be hollow spheres with a wall thickness of 2mm, truncated by a cylinder of 5mm height centered on the Z-axis. A...
magnetDiam=10; magnetHigh=5; gimbalHigh=magnetHigh; positions=4; showPole=true; northColor="green"; southColor="red"; gravitovectometer = false; gravitovectometer_ball_diameter = 7; rings = 3; d=3.5; r1=14.5; s=1.04; magnetGimbal(); module magnetGimbal() { union() { ringSet(); coilset(); up...
glb/cad_770720e0e34e.glb
Create a 3D heart sculpture by combining two symmetrical lobes. For a single lobe, create a hull between a sphere and a base surface. The sphere should have a diameter of 40mm, be scaled by 1.2 in the X-axis and 1.3 in the Z-axis, and be positioned at X -20mm, Y 0, and Z 50mm. The base surface is a hull consisting of a...
$fn=77; depth=40; botDia=3; sphereBottom=true; raise=45; upLobe=50; outLobe=.5; smidge=.1; oneHeart(); module oneHeart() { union() { oneLobe(); rotate([0,0,180])oneLobe(); } } module oneCLHeart() { union() { rotate([0,15,0])oneOldLobe(); rotate([0,-15,0])oneOldLobe(...
glb/cad_465e697cb7e3.glb
Create a Ducted Fan and Gearshaft assembly consisting of a gear, a central shaft, and a coupler. First, construct a gear with 8 teeth and a height of 3.67mm. The gear should have a diametral pitch of 1 and a pressure angle of 88 degrees. Cut two rectangular grids of holes into the gear face, rotated 90 degrees from ea...
numb_teeth = 8; gearHigh =10; AxleDiam= 3.175; module plusShaft(length) { axle_gap = 1.9; hole_radius = 2.65; union() { translate([-hole_radius, -axle_gap/2, 0]) roundedRect([hole_radius * 2, axle_gap, length], .2); translate([-axle_gap/2, -hole_radius, 0]) roundedRect([...
glb/cad_4a1bcc095c56.glb
Create a Parametric U-Bolt Bracket consisting of two identical mirrored parts. For each part, start with a rectangular block 30mm long, 70mm wide, and 20mm deep, centered such that it is offset by 5mm. Apply a 4mm chamfer to the long edges of the block. From this block, remove a central cylindrical section to accommod...
PostDiam=50.4; PostLen = 120; PostNeckH = 5; PostNeckD = 58; PostNeckB = 10; UBoltDiam=5.5; FrontBraceWidth =40.3; FrontBraceThick = 3.2; BlockDeep= 20; BlockWidth= 70; BlockLen = 30; BlockOffset=5; EdgeChamfer=4; TopPart(); BotPart(); module TopPart() { difference() { translate([0, 0, (PostLen-BlockD...
glb/cad_0f731a4b4649.glb
Create a Washing Machine Motor Cooling Fan with a total diameter of 110mm and a height of 25mm. Start by constructing a central hub with a diameter of 45mm and a central shaft hole of 15mm. The hub should have a rounded outer profile with a minimum radius of 4mm. From this hub, extend 4 blades equally spaced at 90-de...
propDiameter=110; propHeight=25; propPitch=55; propThickness=4; propNacaCamber=0.005; propNacaMaxCamberPosition=0.4; propBladeCount=4; propShaftDiameter=15; propHubDiameter=45; propHubMinRadius=4; propSegmentSize=2; propNacaSampleCount=41; module splitter(dia=200) { difference() { union() ...
glb/cad_cd0cdf9c8af4.glb
Create a surgical instrument tip protector with a total width of 28mm, a height of 28mm, and a thickness of 3mm. The main body is a rectangular slab with two opposite corners rounded to a radius of 8mm, creating a shape that is flat on the top and rounded on the bottom corners. On the flat face of the protector, creat...
$fn = $preview ? 60 : 180; width = 28; depth = 3; height = 28; holes = 5; holeDepth = 2; roundness = 8; module roundCorner( cornerSize, height ) { difference() { translate( [ -0.1, -0.1, 0 ] ) cube( [ cornerSize, cornerSize, height ] ); union(){ translate( [ 0, cornerSize, -1 ] ) cube( [ ( cornerSize *...
glb/cad_6334e039b02d.glb
Create a ship organizer for a board game. The base is a flat platform with a thickness of 8mm. Construct a central main slot for a game board that is 178.5mm wide, 140mm deep, and 3mm high. This slot should be angled at 75 degrees. Flanking this central slot, add two side card slots. Each side slot should be 41mm w...
$fn = 32; wall = 2.5; bottom = 0.8; hboard = 4; edge = 3; cardsize = [41, 64, 2]; boardsize = [178.5,140,3]; angle = 75; base = 8; difference() { union() { translate([boardsize[0]/3 - cardsize[0],-16,base]) rotate(90, [0,1,0]) cylinder(h = (boardsize[0]*2/3 + cardsize[0]) - (boardsize[0]/3 - cardsize[0]), d = 10)...
glb/cad_d8e9397adddc.glb
Create a ship organizer tray with a base thickness of 0.8mm and a total height of 4.8mm. The main body is a rounded rectangular plate measuring 178.5mm by 140mm. In the center of this plate, create a rectangular cutout of 172.5mm by 134mm, leaving a wall thickness of 3mm around the edges. Around the central cutout,...
$fn = 32; wall = 2.5; bottom = 0.8; hboard = 4; edge = 3; cardsize = [41, 64]; boardsize = [178.5,140]; playareasize = [ wall + cardsize[0] + 10 + boardsize[0] + wall + cardsize[0] + wall, wall + cardsize[1] + wall + 81 + cardsize[1] + wall ]; playareaoffset = [ w...
glb/cad_b246ac3f865b.glb
Create a coin sorter holder by starting with a solid cylinder 100mm in height and 100mm in diameter. Remove a smaller concentric cylinder from the center with a diameter of 44mm and a height of 101mm to create a hollow tube. To create the coin slots, carve out eight vertical cylindrical holes that extend through the ...
$fn=64; coin_number=8; tolerance=0.5; cylinder_dia=100; hole_dia=44; height=100; test=0; coin1=20.3; coin2=25.9; coin3=18; coin4=24.5; coin5=21.6; coin6=27.8; coin7=23.5; coin8=28.4; list= [coin1,coin2,coin3,coin4,coin5,coin6,coin7,coin8]; module test() { difference() { cylinder(5,cylinder_dia/2,cylinder_dia/...
glb/cad_ccc9f907dfd5.glb
Create a bicycle mudflap assembly consisting of a mounting clip and a flexible splash guard. First, construct the mounting clip. Create a semi-cylindrical shell designed to fit a mudguard with an external width of 43mm, a height of 16.5mm, and a wall thickness of 1.4mm. The clip should have a total height of 25mm and...
include <BOSL2/std.scad> $fn=100; mudguard_dx=43; mudguard_dy=16.5; mudguard_th=1.4; clip_h=25; clip_th=2; clip_ch=clip_th/2; ear_w=4; flap_th=1.5; band_shrink=1; flap_l=150; flap_r=10; rivet_d=4.05; inf=100; eps=0.05; x=[1,0,0]; y=[0,1,0]; z=[0,0,1]; function d2r(d)=PI*d/180; ext=let(x=mudguard_dx/2,y=mu...
glb/cad_a6c0e2ed8e65.glb
Create a bicycle mudflap assembly consisting of a rigid clip and a flexible flap. First, construct the clip. Create a semi-cylindrical shell based on a mudguard with a total length of 65mm and a width of 23mm. The shell should have a wall thickness of 2mm. The clip height is 25mm. Cut a longitudinal hole through the ...
include <BOSL2/std.scad> $fn=100; mudguard_dx=65; mudguard_dy=23; mudguard_th=2; clip_h=25; clip_th=2; clip_ch=clip_th/2; ear_w=4; flap_th=1.5; band_shrink=1; flap_l=170; flap_r=10; rivet_d=4.05; inf=100; eps=0.05; x=[1,0,0]; y=[0,1,0]; z=[0,0,1]; function d2r(d)=PI*d/180; ext=let(x=mudguard_dx/2,y=mudgua...
glb/cad_73cf6c5ccbfb.glb
Create a customizable bead by extruding a 3-sided regular polygon with a diameter of 8mm to a total height of 8mm. During the extrusion process, apply a twist of 200 degrees to the shape to create a spiraling, faceted effect. Finally, remove a centered cylindrical hole with a diameter of 1.2mm that runs vertically thro...
bead_diameter=8; bead_sides=3; twistiness=200; bead_height=8; hole_size=1.2; difference() { linear_extrude(height = bead_height, center = true, twist = twistiness)circle(bead_diameter/2,$fn=bead_sides); cylinder(bead_height+1,hole_size/2,hole_size/2,center=true,$fn=64); }
glb/cad_6c7907379231.glb
Create a license plate holder adapter consisting of a flat base plate with a capsule shape, measuring 131mm in length, 15mm in width, and 4mm in thickness. The ends of the plate are fully rounded with a radius of 7.5mm. Along the center line of the plate, create five holes. The three central holes are horizontal slots...
hole_d = 6.5; slot_total_length = 10; countersink_depth = 1; countersink_top = 10; module long_hole(total_length=10, width=6.5) { rect_length = total_length - width; union() { translate([-rect_length/2, -width/2]) square([rect_length, width]); translate([-rect_length/2, 0]) ...
glb/cad_7309af484dd1.glb
Create a Wiha Precision Screwdriver Holder consisting of a rectangular base with three screwdriver slots. The overall structure is composed of four blocks: two outer screw-mounting blocks and two inner screwdriver holder blocks. Each screw-mounting block is a cube measuring 12mm wide, 16mm deep, and 13mm high. Centere...
sd_num = 3; holder_height = 13; holder_depth = 16; sh_block_width = 12; sd_block_width = 20; screw_head_di = 8.75; screw_head_cs = 4; screw_hole_di = 5; sd_di_top = 10; sd_di_bottem = 9.5; sd_open_width = 4.5; build_holder(); module build_holder() { build_screw_block(); ...
glb/cad_4b74610dd108.glb
Create a bead for a necklace by constructing a sphere with a diameter of 24mm. Bore a straight hole completely through the center of the sphere from top to bottom to allow a thread to pass through; this hole should have a diameter of 2mm. Ensure the final geometry is a smooth, symmetrical sphere with a clean cylindrica...
$fn=128; bead_diameter=24; hole_diameter=2; difference() { sphere(bead_diameter/2); cylinder(bead_diameter+2,hole_diameter/2,hole_diameter/2,center=true); }
glb/cad_93d509f2ce1d.glb
Create a display housing for a Nextion NX3224K028 screen consisting of a main frame and a back cover. Construct the main frame as a rounded rectangular block 91mm long, 51mm wide, and 9mm high. Hollow out the center to create a screen cavity 70mm long and 50mm wide, starting 10.5mm from the front edge. Cut a rectangu...
$fn = $preview ? 12 : 72; height=9; length=91; width=51; frame(); translate([0,0,20]) { back(); } module frame() { difference() { dyam= 4; minkowski() { cube([length,width,height]); sphere(d=dyam); } translate([-2,-2,height]) { cube([95,55,2]); } translate([-1,-1,2]) { cube([93,53,hei...
glb/cad_5077223e64a4.glb
Create a Pragmatic Pandemic Suspender Button. Start with a main body formed by the intersection of a cylinder with a radius of 7.9375mm and a height of 3mm, and a sphere with a radius of 7.9375mm scaled to 45% of its size along the Z-axis. From this shape, remove a central core by subtracting a cylinder with a radius...
fn = pow(2,7); mm2in = 25.4; ccl = 0.001; buttonD = 5/8*mm2in; buttonR = buttonD/2; buttonH = 3; buttonTh = 0.5; holeD = 2; holeR = holeD/2; holes = 4; echo(buttonD); difference() { intersection() { cylinder(r=buttonR, h=buttonH, $fn=fn, center=true); ...
glb/cad_1f6518aee27e.glb
Create a BrewPi-ESP RJ-45 Sensor Breakout Box consisting of a base and a lid. For the base, construct a rectangular enclosure with exterior walls 2mm thick. The exterior dimensions are 44.2mm wide by 56.4mm deep, with a total height of 24.8mm. In the front wall, center a rectangular cutout 16.8mm wide by 13.8mm high,...
front_post_hole_offset = 24.7; front_post_to_pcb_front = 3.6; front_to_rear_post_hole_offset = 31.75; panel_depth = 2; panel_offset = max(0.5, panel_depth-3); heatset_insert_height = 6; heatset_insert_hole_diameter = 4.2; heatset_insert_screw_diameter = 3; screw_space_below_heatset = 0.4; post_height=heatset_insert_h...
glb/cad_759f9fa8cede.glb
Create a potentiometer box consisting of a hollow rectangular base and a matching lid. For the base, create a rounded rectangular enclosure with external dimensions of 63mm by 57mm and a wall thickness of 2mm. The interior should be hollowed out, leaving a lip around the top edge to receive the lid. At the four corne...
use <Libs.scad> board_size_x = 61; board_size_y = 55; board_x_spacer = 2; board_y_spacer = 1; wall_thickness = 2; input_cable_r = 4/2; speaker_cable_r = 4/2; standoff_ext_r = 3.7; standoff_bottom_r = 7; standoff_inner_r = 1.7; knob_aperture_height = 2; knob_aperture_radius = 5; standoff_h = 4; board_thickness = 2; com...
glb/cad_dd75ab407041.glb
Create a potentiometer box consisting of a hollow rectangular base and a matching lid. For the base, create a rounded rectangular enclosure with external dimensions of 63mm by 57mm and a wall thickness of 2mm. The interior should be hollowed out to a depth of approximately 23mm. At the bottom, integrate four cylindri...
use <Libs.scad> board_size_x = 61; board_size_y = 55; board_x_spacer = 2; board_y_spacer = 1; wall_thickness = 2; input_cable_r = 4/2; speaker_cable_r = 4/2; standoff_ext_r = 3.7; standoff_bottom_r = 7; standoff_inner_r = 1.7; knob_aperture_height = 2; knob_aperture_radius = 5; standoff_h = 4; board_thickness = 2; com...
glb/cad_b6e8d49ce398.glb
Create a potentiometer box consisting of a hollow rectangular base and a matching lid. For the base, create a rounded rectangular enclosure with external dimensions of 63mm by 57mm and a wall thickness of 2mm. The base should have a hollow interior and a lip height of 5mm. At the four corners of the interior floor, p...
use <Libs.scad> board_size_x = 61; board_size_y = 55; board_x_spacer = 2; board_y_spacer = 1; wall_thickness = 2; input_cable_r = 4/2; speaker_cable_r = 4/2; standoff_ext_r = 3.7; standoff_bottom_r = 7; standoff_inner_r = 1.7; knob_aperture_height = 2; knob_aperture_radius = 5; standoff_h = 4; board_thickness = 2; com...
glb/cad_467e00c9dc74.glb
Create a perfume sample stand consisting of a rectangular block with a sloped front face. The overall footprint is based on a grid of cells, where each cell is a cube with a side length 1.5 times the bottle diameter (26.85mm for a 17.9mm diameter bottle). The stand is 2 tiers high and 2 bottles wide per tier. For each...
VERSION = 2.1; $fn=60; tierCount = 2; holesPerTier = 2; tierHeight = 45; holeDiameter = 17.9; holeDepth = 11; gapWidth = 1; cubeSize = holeDiameter * 1.5; perfumeStand(); module perfumeStand() { difference() { union() { label(); for (level = [1:tierCount]) { translate([0 , (level - 1) * cubeSize, 0...
glb/cad_495296240b51.glb
Create a parametric cross stitch grid ruler by starting with a thin rectangular base measuring 6.75 inches long, 0.85 inches wide, and 0.05 inches thick, with rounded corners of 0.2 inches. At the far right end, center a circular hanging hole with a radius of 0.125 inches. Along the length of the ruler, create a series...
$fn=50; aida_count=14; ruler_length=6.75; ruler_height=0.05; number_of_cutout_repeats=5; cutout_size=0.08; text_size=0.6; text_depth=0.033; hanging_hole_radius=0.125; difference(){ linear_extrude(ruler_height) difference(){ minkowski(){ square([ruler_length,0.85]); ...
glb/cad_f850146b1973.glb
Create a tablet-weaving card as a square plate measuring 50mm by 50mm with a total thickness of 0.7mm. The plate has rounded corners with a radius of 4.2mm. At each of the four corners, create a circular hole with a radius of 2.5mm, positioned 9mm from the edges. In the center of the plate, create a square cutout mea...
tabletWidth = 50; centerHoleWidth = 6; tabletBaseHeight = 0.3; tabletContrastHeight = 0.2; tabletClearHeight = 0.2; tabletRoundingRadius = 4.2; holeOffset = 9; holeRadius = 2.5; dotRadius = 0.8; dotSeparation = dotRadius*2 + 0.4; letterRadius = 3; letterOffset = 4; pipSpacing = 5; pipMajorAxis = 2.7; pipMinorAxis = 1; ...
glb/cad_d35c8f4ea582.glb
Create an underdesk holder for an iFixit Manta kit. The main body is a C-shaped bracket with a wall thickness of 5mm. The outer dimensions of the bracket are 55mm in width and 186mm in length, with an interior height of 35mm. The bracket consists of a flat base and two perpendicular side walls that are 50mm wide. The s...
$fn = $preview ? 32 : 256; wt = 5; id = 176; ih = 35; bw = 50; sd = 4; sh = 8; shh = 3; module ifixit(){ cube([50,175,34.5]); } module bracket(){ linear_extrude(wt)square([bw+wt,id+2*wt]); translate([0,0,wt]){ linear_extrude(wt/2)square([bw,wt]); linear_extrude(ih+wt){ transla...
glb/cad_6998b4b1ca9b.glb
Create a SeeedStudio ESP32S3 wio module N connector bracket. The main body is a vertical rectangular pillar with a height of 57mm. At the base of this pillar, create a support structure consisting of a central circular hub with a diameter of 22mm. This hub features a central circular hole with a diameter of 14mm and is...
$fn=180; high = 57; holes = [[-9,-9],[9,-9],[-9,9],[9,9]]; template = false; if (template) { if (false) { template(); } else { linear_extrude(height=1) { template(); } } } else { linear_extrude(height=16,convexity=10) { difference() { innerp...
glb/cad_ad74deae4996.glb
Create two watercolor swatch frames. The first frame is a square slab measuring 60mm by 60mm with a thickness of 5mm. Remove nine cylindrical holes from this slab, each with a diameter of 15mm and a depth of 20mm. Arrange these holes in a 3x3 grid, with each hole centered within a 20mm by 20mm cell, placing the first h...
translate([-70,0,0]) difference() { cube([60,60,5]); for (x = [0:2]) { for (y = [0:2]) { translate([x*20+10,y*20+10,0]) cylinder(d=15,h=20,center=true); } } } difference() { cube([95,80,5]); for (x = [0:2]) { for (y = [0:2]) { translat...
glb/cad_505a442d69be.glb
Create a Pizza Button sewing accessory. Start by constructing a main circular disc with a diameter of 40mm and a height of 2mm. Hollow out the center of this disc by removing a smaller concentric cylinder with a diameter of 32mm and a height of 1mm, leaving a 4mm wide outer rim. Add a central decorative cylinder with...
salami = 3; difference () { union() { difference() { cylinder(2, 20, 20, $fn = 40); translate([0,0,1]) cylinder(1, 16, 16, $fn = 40); } cylinder(3, 15, 15, $fn = 5); rotate([0,0,180]) cylinder(3, 15, 15, $fn = 5); cylinder(3, 15, 15, $fn = 6); cylinder(4, salami, salami, $fn = 25); f...
glb/cad_37256e947957.glb
Create a narrow escape guide for a pinball machine consisting of a flat top plate and a supporting bottom bracket. For the top plate, create a flat polygon with a thickness of 1.2mm. The polygon's vertices are defined by the coordinates [20,0], [20,13.75], [0,40], [35,40], [55,13.75], and [75,0] in mm. Drill two circul...
$fn = 64; wood_width=13.75; top_poly = [[20,0],[20,wood_width],[0,40],[35,40],[35+20,wood_width],[55+20,wood_width],[55+20,0]]; difference() { linear_extrude(1.2) { polygon(top_poly); } translate([20+39+5+2.5,wood_width/2,-0.1]) cylinder(2,d=5); translate([20+5+2.5,wood_width/2,-0.1]) cylinde...
glb/cad_694690624b73.glb
Create a Button Soldering Jig by starting with a base plate that is 80mm long, 15mm wide, and 3mm thick. Centered along the length of this base, extend a vertical holder that is 50mm tall and 15mm wide. The transition between the base and the holder should be beveled. Within this vertical holder, carve out a central ...
$fs = 0.4; $fa = 1; button_d = 12.2; depth = 15; base_length = 80; thickness = 3; bevel = 5; holder_length = 50; fork_d = 4; module jig_profile() { x1 = 0; x3 = (base_length/2) - (thickness/2); x2 = x3 - bevel; x4 = x3 + thickness; x5 = x4 + bevel; x6 = base_length; y1 = 0; y2 = thickness; y3 = y2 +...
glb/cad_291a76aa4b96.glb
Create a button with a total height of 2mm. The base is a rounded rectangle with a width of 36mm and a height of 40mm, featuring corner radii of 5mm. The outer edge of this base is defined by a thin frame 1mm wide and 2.2mm high. On the top surface, create a decorative pattern consisting of several raised rectangular ...
$fs = 0.3; $fa = 0.3; hpaint = 0.3; htotal = 2; strich_b = 0.5; strich_h = 0.3; module quattro(a,b,c,d,e,h) { hull() { translate(a) cylinder(h,d=e); translate(b) cylinder(h,d=e); translate(c) cylinder(h,d=e); translate(d) cylinder(h,d=e); } } module line(x,y,l, ori) {...
glb/cad_54e11d097755.glb
Create a set of 9 pacing beads. Each bead is a cylinder with a diameter of 12mm and a height of 4mm. The top and bottom faces of each cylinder must have a rounded fillet edge with a radius of 1mm. Through the center of each bead, create a vertical hole with a diameter of 4.4mm that runs the full height of the cylinde...
include <BOSL/constants.scad> use <BOSL/masks.scad> beads = 9; diameter = 12; hole_diameter = 4.4; notch_diameter = 2.2; height = 4; $fn = 70; module filleted_cylinder(height, diameter, fillet = 1) { union() { cylinder(h = height, d = diameter); translate([0, 0, height]) fillet_ho...
glb/cad_8fab557bf9e5.glb
Create a Gridfinity tool bin for Bernina L450/L460 tools. Start by constructing a standard Gridfinity base block that is 1 unit wide, 1 unit deep, and 4 units high, with a total footprint of 42mm by 42mm and a base height of 6mm. From this block, remove four specific geometric volumes to create tool slots. First, cente...
use <gridfinity_modules.scad> $fn=32; width = 1; depth = 1; height = 4; magnet_diameter = 6; magnet_thickness = 2; hole_overhang_remedy = true; box_corner_attachments_only = true; gridfinity_baseh = 6; gridfinity_pitch = 42; gridfinity_zpitch = 7; gridfinity_clearance = 0.5; corner_radius = 3.75; difference() { ...
glb/cad_ad54ba4b974c.glb
Create a scissors holder by starting with a solid block that is 20mm wide, 30mm deep, and 63mm tall. From this main body, remove a central vertical cylindrical hole 8mm in diameter that runs the full height of the block, with a smaller 4mm diameter section extending 20mm below the base. Carve out a primary rectangula...
SCISANGLE = 20; SCISWID = 15; BLOCKWID = 20; wall_thick = (BLOCKWID - SCISWID) / 2; difference() { holder(); screw(); } module holder() { difference() { positives(); negatives(); } } module positives() { translate([0, -BLOCKWID/2, 0]) { translate([-10, 0, 0]...
glb/cad_24e3d509e100.glb
Create a flashlight cup holder. Start by constructing a hollow vertical cylinder with a height of 55mm, an outer radius of 16.5mm, and an inner radius of 15mm, using a 20-facet resolution for the circular walls. The inner cavity should begin 2mm from the base. Cut a notch out of the top rim by placing a 75mm cube cente...
HEXOFF = 23.6; FLASHLIGHT_RADIUS = 15; fr = FLASHLIGHT_RADIUS; STANDOFF = 3.5; CUP_HT = 55; difference() { allbody(); screwhole_neg(); } module allbody() { translate([0,fr + STANDOFF,0]) body(); screwhole_pos(); } module screwhole_pos() { translate([0,0,18]) rotate([-90,0,0]) ...
glb/cad_8e14545c5302.glb
Create a cellphone holder designed for side-mounting. Start with a main body that is 165mm high, 85mm wide, and 3mm thick. Incorporate a shelf extending 19mm from the back and a vertical wall 3mm thick and 165mm high. Add a cable management cutout for a USB-C cable. This cutout is formed by subtracting a central rect...
Y_NORM = 23.60; X_NORM = 20.44; LEFTEDGE = X_NORM; LOWERLEFT = Y_NORM * .5; UPPERLEFT = 59.00; longdist = 62.44; shortdist = Y_NORM; middist = Y_NORM*2; allthick = 3; cowling_thick = 4; cowling_rad=4.5; cowlplus = (cowling_rad + allthick) * 2; height = 165; width = 85; shelf = 16 + allthick; long_angle = 19.11; sca...
glb/cad_36e38bbb1d67.glb
Create three identical corner hangers for a cube sculpture. Each hanger is based on a torus with a cross-sectional radius of 1.75mm and a major radius of 10mm. For each hanger, start with the torus and remove a section of it using a 30mm cube positioned at coordinates [-15, -33, -15] to create a C-shaped open hoop. ...
maxdiagonal = 254*1.732; cubesize=254; border = 20; thickness=4; cord_d = 3.5; rotate([0,0,-120]) holderhoop(); rotate([0,0,120]) holderhoop(); holderhoop(); module holderhoop() { translate([0,10,-15]) rotate([55,0,0]) difference() { torus(r1=cord_d/2, r2=10, endstops=0, $fn=50); ...
glb/cad_1aad5d9f6381.glb
Create a corner hanger for a cube sculpture. Start with a central cube that has a side length of 254mm. From this main volume, remove three rectangular prisms to create hollow channels. Each prism should have a width and depth of 214mm (calculated as the cube size minus a 20mm border on each side) and a length that ext...
maxdiagonal = 254*1.732; cubesize=254; border = 20; thickness=4; cord_d = 3.5; rotate([0,0,-60]) holderhoop(); rotate([0,0,60]) holderhoop(); rotate([0,0,180]) holderhoop(); module holderhoop() { translate([0,10,-20]) rotate([55,0,0]) difference() { torus(r1=cord_d/2, r2=10, ends...
glb/cad_01b25a7e98bc.glb
Create two identical hard drive mounting rails for an Antec 302 tower case. Each rail is based on a rounded rectangular base measuring 5mm wide, 114.3mm long (4.5 inches), and 15mm high, with corner radii of 1mm. On each rail, add a locking section by extending a rounded rectangular block of 2mm width and 15mm height...
use <rounded_cube.scad> PART = "rail"; tolerance = 0.75; $fn=120; module pin(pin_diameter, pin_length) { point = pin_diameter / 2; body = 2*(pin_length + point); difference() { rotate([0, 90, 0]) cylinder(h = body, d=pin_diameter, center=true); rotate([90, 0, 0]) t...
glb/cad_3c260b8f3c10.glb
Create a choral sheet music holder consisting of two identical mirrored rectangular bars that join via a dovetail joint. Each bar has a thickness of 5mm and a width of 30mm. For each bar, create a main rectangular section 143mm long. At one end of this section, carve out a female dovetail slot that is 20mm long and 2...
sheet_music_length = 287; string_holder_thickness = 5; string_holder_width = 30; dove_tail_cut_length = 143; dove_tail_split_length = 20; dove_tail_split_width = 20; edge_dia = 1; end_dove_tail_length = 10; end_dove_tail_width = 15; $fn= 30; xpos = 30; littlebit = 0.2; hole_dia = 2.1; first_hole_offset = 3.5; mod...
glb/cad_fcc5d985606c.glb
Create a choral sheet music holder consisting of a base and a protruding dovetail joint. Start with a rectangular base block that is 21mm wide, 5mm long, and 3mm thick. On top of this base, center a rectangular arm that is 5mm wide, 3mm thick, and 5mm long, extending outward. Integrated into the structure, create a do...
folder_thickness = 2.2; outside_length = 5; outside_width = 21; outside_thickness = 3; base_thickness = 3; inside_hook_thickness = 5; string_holder_thickness = 5; dove_tail_length = 10; dove_tail_width = 15; edge_dia = 1; point_spacing = 2.5; dovetail_full_width = dove_tail_width + 2*edge_dia + 4; $fn= 30; test_fe...
glb/cad_915161fafd12.glb
Create a Minimal Raspberry Pi Zero Camera Mount with a total height of 7.6mm. The base is a flat plate featuring a curved, C-shaped clip designed to snap onto an 8mm rod. This clip is formed by a circular profile with an outer radius of 7mm and a wall thickness of 3mm, with a 120-degree opening to allow the rod to slid...
overlap = 0.1; layer_height = 0.2; thick_xy = 3; y_total = 39.5; y_frame = 6.35; dx_frame = 1.0; d_rod = 8; or_clip = d_rod / 2 + thick_xy; x_clip = d_rod - dx_frame; z = 7.6; open_a = 120; open_a_p = open_a / 2; open_a_r = or_clip * 2; open_a_c = cos(open_a_p); open_a_s = sin(open_a_p); d_screw = 1.8; dy_screw = 10; ...
glb/cad_f38380242eae.glb
Create a parametric under-desk drawer consisting of a base plate and four surrounding walls. The base plate is a rectangular slab 200mm wide by 160mm long with a thickness of 2mm. The surface of this plate features a hexagonal grid pattern where each hexagon has a diameter of 10mm and is separated by 1mm of spacing. C...
width = 200; length = 160; height = 40; front_wall = "handle"; back_wall = "wall"; left_wall = "rail"; right_wall = "rail"; hexagon_size = 10; hexagon_spacing = 1; thickness = 2; rail_thickness = 10; handle_width = 60; screw_size = 4; screw_holes = 2; connector_count = 3; connector_gap = 0.1; $fn = 100;...
glb/cad_8db8b9317319.glb
Create a spacer for a bicycle speed sensor. Start by constructing a semi-cylindrical shell with an outer diameter of 43mm and an inner diameter of 38mm, creating a wall thickness of 2.5mm. The height of this semi-cylinder should be 34mm. To this curved shell, attach a rectangular block that serves as the sensor mount. ...
gabel_durchmesser = 38; sensor_breite = 13; abstand_benoetigt = 10; sensor_abstand = 23; halterung_hoehe = 34; halterung_durchmesser = gabel_durchmesser + 5; halterung_dicke = 8; sensorhalterung_breite = halterung_hoehe; sensorhalterung_hoehe = 7; module abstandshalter() { difference(){ cylinder(d = halterun...
glb/cad_c0f7165aed01.glb
Create a strain relief for an LGB Controller. Start by constructing a main body that is 20mm wide, 22mm deep, and 36.4mm tall. The overall shape is a rectangular block with a hollowed-out center. Remove a central rectangular section measuring 8mm wide and 13mm deep, extending from the bottom up to a height of 36.1mm, l...
$fn=30; intersection() { difference() { linear_extrude(height=36.4) hull() { square([20,1]); translate([2,20]) circle(r=2); translate([18,20]) circle(r=2); } translate([-0.1,-0.1,-0.1]) cube([25,11.5,29]); translate([11,1,-0.1]) cube([8,13,36.1]); ...
glb/cad_f90e3c866d2d.glb
Create a cable clip holder consisting of a single row of five identical circular clips. Each clip is formed by extruding a C-shaped profile to a height of 5mm. The inner diameter of each clip is 6.5mm, and the wall thickness of the material is 1.4mm. The C-shape is not a full circle; it features a small opening to al...
rows=1; number_cables=5; cable_diameter=6.5; thickness=1.4; opening=0.31; height=5; $fn=32; module cablecliprow(num,n,r,h,d,a){ R=r+d; for(i=[0:num-1]){ translate([i*(2*r+d),0,0]){ linear_extrude(height=h){ union(){ da=asin(d/(R+r)); ...
glb/cad_8374610f42dc.glb
Create a no-bearing drybox filament spool roller. Start by constructing a main body that is 70mm wide, 48mm deep, and 25mm high. The body should have a wall thickness of 1.5mm and a base with an internal radius of 2.5mm. The corners of the main body should be chamfered by 12mm. At the top of the body, integrate a cyli...
overlap = 0.1; layer_height = 0.2; x = 70; y = 48; z = 25; d = 8; a = 20; z_foot = 3.4; ir = 2.5; ay = 2; ax = 2; chamfer = 12; thick = 1.5; d_window=15; d_support=3; a_hygrostat = 10; z_hygrostat = 14; xy_hygrostat = 44; xform=1; $fn = 64; function x_at_z (x, z) = x + 2 * sin(ax) * z; function y_at_z (y, z) = y +...
glb/cad_6eaee659ff89.glb
Create a no-bearing drybox filament spool roller. Start by constructing a hexagonal nut with M6 threading, having a total of 3 turns and an outer diameter of 10mm. Scale this nut by a factor of 1.033 along the X and Y axes while keeping the Z axis at a scale of 1. Next, create a ring-shaped component by taking a toru...
use <threadlib/threadlib.scad> overlap = 0.1; layer_height = 0.2; id = 2; r2 = 12; turns = 3; thread_h = 1; thread_d = 6; sxy = 6.2 / 6; intersection() { scale([sxy, sxy, 1]) { nut("M6", turns=3, Douter=10, nut_sides=64); } cylinder(d=10, h = (turns + 0.5) * thread_h, $fn=64); } module torus (d1, d2) { ...
glb/cad_c4dff56fbacf.glb
Create a customizable letter bead by starting with a cube that is 12mm on all sides. Round all corners and edges of the cube with a radius of 2mm. Drill a vertical hole with a diameter of 6mm through the center of the cube from the top face to the bottom face. On the four vertical side faces of the cube, add raised le...
letter_front = "F"; letter_right = "R"; letter_left = "L"; letter_back = "B"; cube_size = 12; hole_dia = 6; letter_height = 1; letter_depth = 6; corner_radius = 2; $fn = 100; hole_fn = 100; module rounded_cube(size, radius) { inner_size = size - 2*radius; minkowski() { cube([inner_size, inner_s...
glb/cad_98ef727b3d5f.glb
Create a servo frame for a Bluebird BMS-A10V servo. Start with a solid rectangular base measuring 32.1mm in length, 24.8mm in width, and 5mm in height. From this base, remove a central rectangular cavity measuring 22.1mm by 15.3mm with a depth of 5mm. Create a secondary cutout on the top surface measuring 32.1mm by 5mm...
$fn=250; difference() { #translate([-16.5,-12.15,0]) cube([32.1,24.8,5]); #translate([-11.05,-7.65,0]) cube([22.1,15.3,5]); #translate([-16.5,7.65,1.5]) cube([32.1,5,3.5]); #translate([-14.1,0.7,3.5]) cube([28.2,5.1,1.5]); #translate([-12.6,3.25,0]) cylinder(r=0.35,h=5); #tra...
glb/cad_dadd28968ace.glb
Create a multisection storage bin with a total width of 100mm, a depth of 30mm, and a back wall height of 20mm. The bin should have a front wall height of 15mm and a base thickness of 2mm. The main body consists of a bottom panel and a front wall, both 2mm thick. The two side walls are 2mm thick and slope from the bac...
width = 100; back_height = 20; front_height = 15; depth = 30; sections = 3; wall_thickness = 2; separator_thickness = 1; front_wall_honeycomb = false; back_wall_honeycomb = false; sides_honeycomb = false; separators_honeycomb = true; bottom_honeycomb = false; hexagon_size = 10; hexagon_spacing = 1; hex_radius = he...
glb/cad_d4ee0147ccd7.glb
Create a Wall-Mount Adapter for a flush Ethernet box. Start by constructing a main rectangular enclosure with outer dimensions of 80mm length, 80mm width, and 35mm height. The enclosure should have a wall thickness of 3mm, creating a hollow interior. The corners of the outer shell should be rounded with a 5mm radius. ...
include <rounded_cube.scad> include <nuts_and_bolts.scad> $fn=100; length=80; width=80; height=35; wall_thickness=3; module ear() { hull() { translate([0-7.5,0,-4]) rounded_plane(13,13,8); translate([0-wall_thickness/2,-15,-6]) cylinder(12,wall_thickness/2, wall_thickness/2, center=tr...
glb/cad_05523365bbd7.glb
Create a Dwarven Forge Replacement Biscuit by starting with a rectangular base that is 15mm long, 10mm wide, and 1.9mm thick. Round the edges and corners of this base using a 0.8mm radius. Along the length of the base, add a series of small, square-profiled ridges that are 0.5mm in radius and 8mm wide, spaced evenly ac...
$fn=64; length=15; width=10; thick=1.9; ridges=0.5; mink = 0.8; rotate([90,0,0]) difference() { union() { minkowski() { sphere(d=mink); cube([length-mink, width-mink, thick-mink], center=true); } for(i=[-6:1.5:6]) { translate([i,0, thick/2]) scale([1,1,1]) rotate([90,0,0]) cylinder($...
glb/cad_290f3c064170.glb
Create a Dwarven Forge Replacement Biscuit by starting with a rectangular base that is 15mm long, 10mm wide, and 2.05mm thick. Apply a 1mm fillet or rounding to all edges and corners of this base. Along the length of the block, add a series of small, square-profiled ridges that protrude from both the top and bottom fac...
$fn=64; length=15; width=10; thick=2.05; ridges=0.55; mink = 1.0; rotate([90,0,0]) difference() { union() { minkowski() { sphere(d=mink); cube([length-mink, width-mink, thick-mink], center=true); } for(i=[-6:1.5:6]) { translate([i,0, thick/2]) scale([1,1,1]) rotate([90,0,0]) cylinder...
glb/cad_b612a764f22d.glb
Create a 6-sided dice with a total side length of 16mm. Start with a cube of these dimensions and round all eight corners and twelve edges using a radius of 15mm to create a smooth, rounded shape. On each face, create circular indentations (holes) to represent the numbers 1 through 6. Each hole should have a radius of...
$fn = 100; rand_breite = 100; eck_radius = 15; eck_fn = 50; loch_radius = 7.5; loch_tiefe = 8; loch_abstand = 22.5; loch_fn = 50; loch_delta = rand_breite - loch_tiefe; delta = rand_breite - eck_radius; doppel_delta = rand_breite - 2 * eck_radius; rand_mitte = rand_breite * 0.5; difference() { cube (rand_breite)...
glb/cad_fd749f1134f4.glb
Create a tool box consisting of a rounded rectangular container and a matching lid. The main box has exterior dimensions of 80mm length, 150mm width, and 50mm height. It features a uniform wall thickness of 2mm and a bottom thickness of 2mm. The four vertical corners are rounded with a 5mm radius. Along the top rim o...
itemsShown="both"; boxLength=80; boxWidth=150; boxHeight=50; lidColor = "#FFFFFF"; lidContentColor = "#FFFFFF"; boxColor = "#FFFFFF"; lidContent = "text"; rotateLidContent = true; withNotch=true; cornerRadius=5; wallThickness=2; bottomThickness=2; lidThickness=2; text="Tool Box"; textSize=15; textThickness=1; png...
glb/cad_bf62822251ba.glb
Create a Neopixel Matrix Display holder consisting of a 5x5 grid of square pixel cells. Each individual cell is a cube measuring 16.7mm x 16.7mm with a total height of 5mm. Within each cell, create a central square cutout of 14.7mm x 14.7mm with a floor thickness of 1mm. Additionally, carve a vertical slot through the ...
n_pix_x = 5; n_pix_y = 5; corner = true; bottom = true; left = true; right = true; top = true; led_h = 4; led_w = 5.8; pix_l = 16.7; plate_h = 0; wall = 1; stripe_w = 10.5; stripe_h = 1; pix_h = plate_h + led_h + stripe_h; border_w = 8.2; border_h = 1.7; border_thick = 1; border_wall = 2; corner_l = 40; prism_h = 1...
glb/cad_8ce1f966bae4.glb
Create a Neopixel Matrix Display bracket by starting with a rectangular base measuring 50mm in length, 20mm in width, and 3mm in height. On top of this base, add a second rectangular block that is 50mm long, 5mm wide, and 7mm high, aligned to the back edge of the base so that the total width of the structure is 25mm. T...
$fn = 128; frame = [50, 20, 3]; inner = [frame.x, 5, frame.z + 4]; module screw_sunk( l=20, dh = 6, lh = 3, ds = 3.2, ) { cylinder(h=lh, r1=dh/2, r2=ds/2); cylinder(h=l, r=ds/2); } difference() { union() { cube(frame); translate([0, frame.y, 0]) cube(in...
glb/cad_9a05f884959d.glb
Create a Neopixel Matrix Display mounting bracket. Start with a rectangular base measuring 45mm in length, 10mm in width, and 3mm in height. At the center of the base, create a cylindrical cutout that passes through the width of the part. This cutout is formed by a cable channel with a diameter of 5.6mm. To accommoda...
$fn = 128; base = [45, 10, 3]; cable_d = 5.6; wall = 3; module screw_sunk( l=20, dh = 6, lh = 3, ds = 3.2, ) { cylinder(h=lh, r1=dh/2, r2=ds/2); cylinder(h=l, r=ds/2); } module cable_out() { translate([0, base.y, cable_d / 2 -1 ]) rotate([90, 0, 0]) hull() {...
glb/cad_5a6c24e48594.glb
Create a Neopixel Matrix Display base by constructing a rectangular slab measuring 250mm in length, 30mm in width, and 0.6mm in height. On top of this base, add a thin rectangular strip that is 250mm long and 5mm wide with a height of 1.8mm, aligned to one long edge of the base. Finally, add a thin wall measuring 250mm...
base = [250, 30, 0.6]; spacer_h = 1.8; wall = 1; cube(base); cube([base.x, 5, spacer_h]); translate([0, base.y - wall, 0]) cube([base.x, wall, spacer_h]);
glb/cad_b79ed1ee88e6.glb
Create a Mini Regulator case consisting of a hinged protective box with a pull latch. The internal cavity must measure 102mm in width, 70.18mm in depth, and 50.63mm in height. Inside the cavity, create a cutout to hold the regulator components. This includes a main cylindrical body with a diameter of 46.75mm and a len...
include </path/to/CaseBuilderLib/CaseBuilderLib.scad> Stage=1; OpenA=180; UvisB = true; LvisB = true; IdimX=102; IdimY=70.18; IdimZ=50.63; ObjX=3.1; ObjY=12; ObjZ=-8; Gh1X=-7; Gh2X=-100; Gh3X=-100; LockO=2; LabT="Mini Regulator"; LabS=11; difference() { CaseBuilder(pSet(stage=Stage, ...
glb/cad_e910b9dd3f6f.glb
Create a Foreceps Guard by constructing a hollow, rectangular sleeve with rounded exterior edges. The overall external dimensions of the guard are 4mm wide, 3mm high, and 8mm long. The walls of the guard should have a uniform thickness of 0.5mm. The shape is formed by four rounded planes that meet at the corners. The ...
$fn=48; opening_x=3; opening_y=1.5; length=8; thickness=0.5; tapered_x=1.5; tapered_y=1; radius=thickness/2; module rounded_cylinder(length, radius) { if (length >= 2 * radius) { cylinder_length = length - (2 * radius); cylinder(cylinder_length,radius,radius,true); endcap = (lengt...
glb/cad_ba02f3625614.glb
Create a Hollow Plunger for a 3mL Syringe consisting of two main parts: a segmented base and a long hollow shaft. First, construct the segmented base by stacking four cylinders. Start with a bottom cylinder 0.93mm high with a radius of 3.12mm. Add a second cylinder 2.34mm high with a radius of 2.285mm. Add a third cy...
$fn=48; module plunger() { cap=6.24; capL=0.93; throat=4.57; throatL=2.34; base=8.73; baseL=0.93; shaft=8.18; shaftL=69.25; catchDivot=5.2; catchDivotP=10.4; thumb=11.9; thumbL=1.32; cylinder(capL, r1=cap-0.6, r2=cap); translate([0, 0, capL]) cylinder(throatL, r=throat); translate([...
glb/cad_fd86a3ec2512.glb
Create a Positron 3D Service Kit case consisting of a hinged two-part shell with a custom-fitted interior organizer. The main case has inner dimensions of 90mm x 50mm x 20mm. The lower shell contains a series of precision-milled cavities to hold specific tools. In the interior, create a section for three Allen keys us...
include </path/to/CaseBuilderLib/CaseBuilderLib.scad> $fn=200; Stage=3; OpenA=180; UvisB = true; LvisB = true; IdimX=90; IdimY=50; IdimZ=20; ObjX=0; ObjY=0; ObjZ=0; Gh1X=0; Gh2X=-100; Gh3X=-100; LockO=2; LabT=["Positron 3D", "Service Kit"]; LabS=[8, 8]; module hexagon(size) { circle(d = size/cos(30)...
glb/cad_4be696685630.glb
Create a Honeywell Humidifier LED Cover consisting of a thin, curved base with two small protruding legs. Start by creating a curved arc segment with a thickness of 2mm. This arc is formed by the area between two concentric circles: an inner radius of 120mm and an outer radius of 139.5mm. The segment should be trimmed ...
$fa = 1; $fs = 0.4; height = 2; radious = 120; long_half = 26.5; long_depth = 19.5; short_half = 18; short_depth = 15; power_half = 5; power_depth = 10; power_height = 1; leg_length = 4; leg_side = 3; distance = sqrt(radious^2-long_half^2); center = [0, radious]; intersection() { translate([0, distance, heig...
glb/cad_597d8c137b7c.glb
Create a Sonos One Plug Lock by starting with a rectangular base block measuring 31.75mm in width, 24.75mm in height, and 11mm in thickness. Center a rectangular cutout through the block that is 21.5mm wide and 13.75mm high, leaving a wall thickness of 5mm on the top, bottom, and sides. On the top surface, centered a...
plug_lip_width = 25.75; plug_lip_height = 18.75; plug_lip_thickness = 5.00; plug_rim = 6.00; screw_hole_dia = 3.60; plug_hole_width = 21.50; plug_hole_height = 13.75; difference() { union() { cube([plug_lip_width + plug_rim, plug_lip_height + plug_rim, plug_lip_thickness + plug_rim], center = true); ...
glb/cad_3f3b5098e38c.glb
Create a lifting wedge for a glider main gear. Start with a base block that is 100mm wide, 80mm long, and 5mm thick. On top of this base, add a wedge-shaped volume that is 80mm long and 42mm high at its peak. The profile of this wedge should slope from a height of 42mm down to 8mm over its 80mm length. The overall comb...
$fn=20; difference(){ union(){ translate([0,0,5])rotate([0,-90,0]) linear_extrude(80){ polygon([[0,0],[0,80],[42,8],[42,0]]); }; linear_extrude(5){ polygon([[10,0],[20,10],[20,70],[10,80],[-90,80],[-100,70],[-100,10],[-90,0]]);} } translate([0,0,38]) #rota...
glb/cad_b0d4d45abaaf.glb
Create an instrument panel cover with a base plate and a centering ring. Start with a base plate that is 5mm thick, formed by the union of two centered cubes: one 60mm by 60mm and another 50mm by 60mm rotated 90 degrees, resulting in a square with chamfered corners. Centered on this plate, add a cylindrical centering r...
$fn=100; l = 60; t = 5; f = 5; dLK = 67; dL = 4.5; dZR = 57.5; tZR = 3; difference(){ union(){ hull(){ cube([l,l-2*f,t],true); cube([l-2*f,l,t],true); } translate([0,0,t/2])cylinder(d1=dZR,d2=dZR-1,h=tZR,true); } for (i=[0:3]){ rotate([0,0,45+i*90])tr...
glb/cad_64c665476049.glb
Create a board retention clip consisting of three primary components: a main body, a locking flag, and a support raft. First, construct the main body by creating a rectangular block 18.8mm long, 10mm wide, and 2mm high, with all edges rounded by a 1mm radius. From this block, remove a triangular section starting at t...
$fn=50; difference(){ translate([1, 1, 3.2]){ minkowski() { cube([18.8, 10, 2]); cylinder(r=1,h=1); } } translate([0,-.2,4.7]){ triangle(8.5, 12.4, 1.5); } } translate([6.2,4.1,0]){ makefoot(5.8); makeleg(5.8); } translate([19.2,3.6,0]){ ...
glb/cad_0d23634ab195.glb
Create a Marvel Zombies token and card box consisting of two identical open-faced sheaths. For each sheath, construct a main body by stacking five rectangular sections along the Y-axis. The central three sections are hollow boxes with outer dimensions of 66.4mm in length, 43.2mm in width, and varying heights of 13.2mm,...
$fn = 100; tw=69; th=40; tl=150; cw=42; cl=64; w=1.2; mr=3.2/2; ml=3; sheath(true); rotate([0,180,0]) translate([-2*(w+cl/2),0,5]) sheath(false); module sheath(first=true) { difference() { union() { translate([0,-5,0]) magnet(12,(5+w)/2); translate([0,0*(w+cw+w),0]) box(cl,cw,12)...
glb/cad_0040d165c5ad.glb
Create a Fluglochkeilhalter by constructing two mirrored rectangular blocks, each measuring 50mm in length, 35mm in width, and 10mm in height. From each block, remove a central rectangular section measuring 37mm by 15mm by 10mm and a secondary upper section measuring 40mm by 25mm by 5mm to create a recessed channel. In...
$fn=40; for(i=[0,1]) mirror([0,i,0]) translate([0,1,0]) difference() { cube([50,35,10]); cube([37,15,10]); cube([40,25,5]); translate([45,5,0]) { cylinder(d=5,h=30); translate([0,0,7]) cylinder(d1=5,d2=8,h=3); } translate([45,30,0]) { cylinder(d=5,h=30); translate...
glb/cad_8f4c5f02def1.glb
Create a cylindrical vault gift box consisting of a main body, two lids, and two seals. Construct the main body as a central cylinder with an interior diameter of 45mm and a height of 210mm. Hollow out the center with a 45mm diameter bore. Add five vertical ribs, each 7mm thick, spaced evenly around the exterior. At ...
$fn=90; schraube=6; nschrauben=5; nrippen=5; schluesselweite=10; schraubenkopf=schluesselweite/cos(30); innendurchmesser=45; innenhoehe=210; deckeldicke=7; rippendicke=7; difference(){ union(){ cylinder(d=innendurchmesser+5,h=innenhoehe,center=true); for (r=[1:nrippen]){ rot...
glb/cad_bcb1dbe4fdc4.glb
Create a minimal fume extractor fan stand by constructing a vertical rectangular block 15mm wide, 12mm deep, and 70mm tall. At the top of this block, carve out a rectangular notch 5mm wide, 12mm deep, and 13mm tall, centered along the width and aligned with the back edge. Additionally, drill a horizontal hole with a ra...
h=70; $fn = 50; difference() { cube([15,12,h]); translate([5,0,h-13]) cube([5,12,13]); translate([0,6,h-6]) rotate([0,90,0]) cylinder(h=20,r=2.5); } translate([-50,0,0]) cube([100,12,12]);
glb/cad_1549b2be0130.glb