Plant seedlings started in pots require some hardening off time outdoors before being transplanted. Veggie seedlings also require protection from critters regarding them as a buffet, so Mary covers them with a sheet of floating row cover, which must be both suspended over the plants to give them growing room and tucked under the tray to keep the bugs out. She asked for a frame to simplify the process:
The solid model shows the structure with no regard for proportion:
The 5 mm fiberglass rods come from our decommissioned six-passenger umbrella, cut to length in the Tiny Lathe™ by applying a Swiss Pattern knife file around the perimeter, over the ShopVac’s snout to catch the glass dust. I started with a pull saw (also over the vacuum) during the weekly Squidwrench v-meeting, whereupon Amber recommended either a Dremel slitting wheel or a file, so I mashed everything together and it worked wonderfully well, without producing any errant glass-fiber shards to impale my fingers.
The corners consist of three tubes stuck together at the origin:
Shrink-wrapping them with a
hull() adds plenty of strength where it’s needed:
I decided putting the belly side (facing you in the picture) downward on the platform and the peak upward would distribute the distortion equally among the tubes and produce a nicely rounded outer surface for the mesh fabric:
Which led to some Wikipedia trawling to disturb the silt over my long-buried analytic geometry, plus some calculator work to help recall the process; back in the day I would have used a slipstick, but I was unwilling to go there. Although I could special-case this particular layout, the general method uses Euler’s Rotation Theorem, simplified because I need only one rotation.
Should you need concatenated rotations, you probably need quaternions, but, at this point, I don’t even remember forgetting quaternions.
Anyhow, the Euler rotation axis is the cross product of the [1,1,1] vector aimed through the middle of the corner’s belly with the [0,0,-1] target vector pointing downward toward the platform. The rotation amount is the
acos() of the dot product of those two vectors divided by the product of their norms. With vector and angle in hand, dropping them into OpenSCAD’s rotate() transformation does exactly what’s needed:
rotate(acos((BaseVector*Nadir)/(norm(BaseVector)*norm(Nadir))), v=cross(BaseVector,Nadir)) // aim belly side downward Corner();
Dang, I was so happy when that worked!
Because the corner model rotates around the origin where all three tube centerlines meet, the result puts the belly below the platform, pointed downward. The next step applies a translation to haul the belly upward:
translate([ArmOAL,0, // raise base to just below platform level ArmOC/sqrt(3) + (ArmRadius/cos(180/SocketSides))*cos(atan(sqrt(3)/2)) + Finagle])
This happens in a loop positioning the four corners for printing, so the first
ArmOAL as the X axis parameter translates the shape far enough to let four of them coexist around the origin, as shown above.
The mess in the Z axis parameter has three terms:
- Raise the centerline of the ends of the tubes to Z=0
- Raise the rim of the tube to Z=0
- Add a wee bit to make the answer come out right
The 0.18 mm
Finagle constant fixes things having to do with the
hull() applied to miscellaneous leftover angled-circles-as-polygons approximations and leaves just a skin below the platform to be sheared off by a huge cube below Z=0, matching the corner bellies with the bottoms of the feet.
Because the corners have awful overhangs, the results look a bit raggedy:
That’s after knocking off the high spots with a grubby sanding sponge and making a trial fit. They look somewhat less grotendous in person.
If we need another iteration, I’ll think hard about eliminating the overhangs by splitting the corner parallel to the belly, flipping the belly upward, and joining the pieces with a screw. What we have seems serviceable, though.
The OpenSCAD source code as a GitHub Gist: