Created
July 1, 2026 20:32
-
-
Save ednisley/9d51659dc49abb97917d5be5a01ec371 to your computer and use it in GitHub Desktop.
OpenSCAD source code: Plug for photo backdrop crossbar studs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Photo backdrop fitting | |
| // Ed Nisley - KE4ZNU | |
| // 2026-07-01 | |
| include <BOSL2/std.scad> | |
| Layout = "Show"; // [Build,Show] | |
| /* [Hidden] */ | |
| ID = 0; | |
| OD = 1; | |
| LENGTH = 2; | |
| HoleWindage = 0.2; | |
| Protrusion = 0.01; | |
| NumSides = 3*2*4; | |
| Clearance = 0.3; | |
| $fn=NumSides; | |
| Tube = [23.0 - HoleWindage,1*INCH,100.0]; // arbitrary length | |
| Aperture = [24.0,15.0,100.0]; // oblong nut hole, arbitrary Z | |
| Washer = [10.5,20.0,1.5]; // M10 | |
| //----- | |
| // Define things | |
| module Fitting() { | |
| difference() { | |
| union() { | |
| intersection() { | |
| xcyl(Tube[LENGTH],d=Tube[ID]); | |
| cuboid(Aperture,rounding=Aperture.y/2,edges="Z"); | |
| } | |
| cuboid([Aperture.x,Aperture.y,Tube[OD]/2],rounding=Aperture.y/2,edges="Z",anchor=BOTTOM); | |
| } | |
| cyl(Aperture.z,d=Washer[ID]); | |
| } | |
| } | |
| //----- | |
| // Build things | |
| if (Layout == "Show") { | |
| Fitting(); | |
| } | |
| if (Layout == "Build") { | |
| up(Tube[OD]/2) | |
| xrot(180) | |
| Fitting(); | |
| } | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More details on my blog at https://softsolder.com/2026/07/02/photo-backdrop-crossbar-improvement/