With the #rail curve for a #braid strand in https://pixelfed.social/p/Splines/797916882329430160, we can start the construction of a braid that matches the sketch in #Vignola's #RegolaArchitettura shown in https://pixelfed.social/p/Splines/793215298082967733.
The strands for this braid have a radius of 1 part or 8 units. So their diameter is 16 units, and the braid itself is 32 units wide.
To create one strand, we start with a circle of radius of 8 units perpendicular to the tip of the orange curve. We use the orange curve as a #railCurve and the blue circle as the #sweepingCurve in the #sweepOneRail operation.
Note that the circle appears distorted like an oval in all views — front view is on top-left, top view on top-right, right view in bottom-left, and perspective view in bottom-right. That is because the circle is perpendicular to the rail curve, not to any of the "world" coordinate planes. If the sweeping curve does not appear like an angled line in the top view, something is wrong.
After the sweep, close #planarHoles to get a solid strand and, as always, check for #nakedEdges and #nonManifoldEdges to ensure an #airtight object.
Refer again to the middle portion of the top diagram in https://pixelfed.social/p/Splines/793215298082967733 between the two bell shapes of the scrolls. The total width of the #tectonic surface on which the braid will be laid is 4 parts or 32 units wide. The braid has a rim 8 units wide on both sides that rises 6 units above the tectonic surface. Half of the braid should be above the tectonic surface, meaning that the total height of the braid should be 12 units.
If you check the bounding box of this strand, you find that it is indeed 32 units wide as needed, but the height is 24 units. So we have to apply #nonuniformScaling to keep X and Y scale intact but halve the scale in the Z direction. This will reduce the roundness of the strand and cut its height in half to 12 as needed.
Splines (@[email protected])
#Braids #3StrandBraids We are finally ready to convert the two #sinusoids from https://pixelfed.social/p/Splines/797893262102038801 into a single 3D curve that captures the essential geometry of a #braid strand. First extrude the blue sinusoid into a surface that extends past the magenta sinusoid on both sides. Then draw a bounding box around the blue extrusion and trim the magenta sinusoid that falls outside the bounding box. Discard the bounding box, and extrude the trimmed magenta sinusoid into a surface that extends past the blue extrusion on both sides. Then split either surface with the other. It doesn't matter which surface is split and which is used as a cutting surface. The braid strand lies literally at the intersection of both surfaces. I trimmed the magenta surface with the blue one and deleted the top portion to reveal the curve at the intersection — shown here in orange. In perspective view this curve continuously swerves from left to right and simultaneously from top to bottom as it progresses along the X axis. This single curve has the characteristics of both sinusoids as seen in front and top views. In the side view, this looks like the #infinity symbol. So we have progressed from zero (with #helix), to plus (with #sinusoid), to infinity (with intersection of two #sinusoidal surfaces). Once we have this curve, we can sweep a circle around it to make a round strand. We can change the radius of the circle to make thinner or thicker strands. We can slant the circles to give a "calligraphic" look to the strands. We can use ovals, rectangles, squares, stars, or any closed shape to give different surface properties to the strands — the possibilities are endless. Once you have a closed #airtight strand with capped #planarHoles, make 2 more copies of the same strand. Shift the first copy by 1/3 the wavelength of the magenta sinusoid (48/3 = 16 units) and shift the second copy by 2/3 (48*2/3 = 32 units) while leaving the original one in its place.
