Primary Surfacing: Achieving G2 Curvature Continuity for Y-Blends and Understanding Theoretical Edges in Rhino
thirtysixverts
Summary:
This video, episode 11 of Primary Surfacing, delves into advanced CAD techniques within Rhino, focusing on Y-blends and theoretical edges.
- Theoretical Edges (G0 Continuity): The video emphasizes the critical importance of ensuring primary surfaces meet positionally (G0) at theoretical edges before applying blends. Failure to do so leads to lumpy, problematic blends.
- Y-Blends Challenges: Y-blends are notoriously difficult to achieve with G2 (curvature) continuity due to complex surface interactions and dependencies.
- Achieving G2 Continuity (Iterative Process):
- Start by defining primary surfaces that meet at a G0 theoretical edge, then trim them back using pipes or other trim objects.
- Rebuild trimmed edges into clean, single-span curves (e.g., degree 5) to ensure high-quality blend creation.
- Use blend curves with curvature analysis (e.g., curvature graphs) to ensure smooth transitions and sensible curvature profiles, manually adjusting control points for ideal blends.
- Construct blend surfaces using "surface from edge curves."
- Employ iterative surface matching (MatchSrf command) with "match by closest points" and "preserve iso curve direction" to achieve target continuity (e.g., G2). This often requires inserting knots (
InsertKnot) or increasing surface degree for more control.
- A specific trick involves using a degree 1 guide surface and matching to it by curvature to force the blend's curvature to zero at a desired edge.
- "Cheater" Y-Blend Method: A simpler approach for less demanding Y-blends involves having the central intermediate surface elegantly come to a single point at its end, significantly reducing complexity compared to full G2 continuity across all three blend surfaces.
- Conclusion: Achieving true G2 curvature continuity in complex blends like Y-blends is a time-intensive and iterative process that requires careful attention to curvature graphs and understanding surface dependencies, going beyond simply checking a curvature option in Rhino tools.
Understanding Theoretical Edges [0:00:00]
The video begins by stressing the fundamental concept of theoretical edges, which are crucial for creating high-quality surface blends in CAD software like Rhino.
- Alias Golden Rule 7:
- The presenter refers to the Alias Golden Rule 7: "Build to theoretical edges," emphasizing its applicability to Rhino.
- This rule means that primary surfaces should first be made to meet perfectly at a G0 (positional) continuity before any blending (G1, G2, G3) is applied.
- Importance of G0 Continuity:
- Starting with surfaces that touch at their edges (G0) and then trimming them back (e.g., by ISO curve or trim object) is essential for creating clean, orderly blends.
- Failing to establish G0 continuity at the theoretical edges before blending is a major source of poor surface quality, leading to lumpy or messy blends.
- Visual Demonstration:
- The video shows an exaggerated comparison:
- Good Blend: Surfaces perfectly meet at sharp theoretical edges, leading to a smooth, orderly G2 blend after trimming and blending.
- Bad Blend: Surfaces are initially misaligned or don't perfectly meet at their theoretical edges, resulting in a lumpy and uncontrolled blend.
-
- "Making Theory" or "Hitting Theory":
- This terminology, often heard in Alias tutorials, refers to creating primary surfaces with G0 continuity at their intended intersection points.
- Watertightness Considerations:
- While theoretical edges ideally form a watertight junction, minor deviations in degree (e.g., degree 5 edge meeting degree 3 edge) might be acceptable initially. However, if problems arise, revisiting watertightness is recommended.
Sculptural Y-Blends: The Curvature Continuous Challenge [0:05:03]
Y-blends, especially freeform sculptural ones, have a reputation for being difficult to execute with high-quality continuity.
- The Goal:
- The objective is to achieve a smooth, curvature-continuous (G2) Y-blend where surface edges are invisible under zebra stripe analysis.
-
- Difficulty and Iteration:
- Achieving G2 continuity is a highly fiddly, fussy, and time-consuming process.
- For beginners, starting with tangency (G1) continuous blends is significantly easier and recommended for practice.
- Initial Primary Surfaces:
- The demonstration starts with three primary surfaces forming a "Y" shape, with small finite edges left at the intersection point as a buffer for manipulation.
- Trimming with Non-ISO Curves:
- Unlike simpler cases, Y-blends often require trimming with non-ISO curve objects (e.g., pipes or other custom trim geometry).
- Steps for Initial Trimming:
- Create
Pipe objects along the edges to be trimmed (e.g., 1-unit radius).
Intersect the primary surfaces with these pipes to generate trim curves.
Split the primary surfaces using these intersection curves.
- Issue: Trimmed edges generated this way are often "dirty" (multi-span curves with many control points), which can lead to messy geometry.
- Solution:
Untrim the surfaces (keeping trim objects).
- Create a planar surface (e.g., an extrusion of a line) intersecting the blend area.
Intersect all primary surfaces with this plane to create clean planar intersection curves.
Split these intersection curves at a central point.
- Re-trim the surfaces using these newly created, clean curves, ensuring they are perfectly planar at the intersection.
Creating and Refining Blend Curves [0:12:48]
This section focuses on using blend curves to create the G2 transitions and how to ensure their quality using curvature graphs.
- Making Clean Blends:
- Use
BlendCurve to create curvature-continuous blends between the trimmed edges.
- Curvature Graph Analysis:
- Crucially, use the
Show Curvature option with BlendCurve. Rhino's default blends often have "curvature humps" (non-smooth transitions), even if technically G2.
- Adjust the blend curve's control points (using Shift for symmetry) to achieve a "nice even ramp up and ramp down" in the curvature graph, indicating a sensical and smooth blend.
-
- Rebuilding Edges for Surface Creation:
- The trimmed edges (even after previous cleaning) can still be complex. To create clean blend surfaces, duplicate the edges and
Rebuild them as single-span, high-degree curves (e.g., degree 5) to simplify their control point structure.
Building and Matching Blend Surfaces [0:20:20]
Once the blend curves are established and edges are clean, the video moves to creating the actual blend surfaces and achieving desired continuity.
- Creating Blend Surfaces:
- Use
Surface From Edge Curves with the rebuilt, clean curves to create the blend surfaces.
- These surfaces will initially have no continuity matching.
- Iterative Surface Matching (MatchSrf):
- Use
MatchSrf with Multiple Matches to enforce continuity.
- Settings:
- Match to
Curvature (G2).
- Enable
Match by closest points for trimmed edges.
- Enable
Preserve ISO curve direction to maintain desired surface flow.
- Avoid
Refine Match initially, as it adds geometry indiscriminately.
- Analyzing Continuity (VSR or Zebra Stripes):
- Continuously check the matching results using global matching analysis tools (like VSR for precise numerical feedback) or
Zebra Stripes for visual inspection.
- Aim for very small tangency and curvature break values (e.g., 0.05 degrees for tangency, very low for curvature).
- Inserting Geometry for Control (
InsertKnot):
- If desired continuity levels are not met, manually insert more geometry using
InsertKnot. This adds control points uniformly without changing the surface shape, allowing MatchSrf to achieve tighter tolerances.
- Choosing the correct direction for knot insertion (U or V) is crucial.
-
- Dealing with Internal Discontinuities in Central Surface:
- A common issue with
Surface from Edge Curves in Y-blends is that the resulting central surface can be internally discontinuous.
- Solution:
Split the central surface along its internal (discontinuous) isocurve using ISO curve split and ShrinkTrimmedSrf. This creates two separate surfaces that are individually continuous.
Polishing and Advanced Matching Techniques [0:33:02]
The final stage involves a complex iterative process of refining continuity, especially for the central Y-blend junction.
- Strategic Matching Order:
- Prioritize matching the blend surfaces to their primary surfaces first.
- Then, work on matching the central seam where the blend surfaces meet.
- Leveraging Curvature Graphs and Control Points:
- Keep control points visible (
F10) and curvature graphs active while matching to understand surface behavior.
- Adjusting surface degree (e.g., from 3x3 to 5x5 or higher) provides more control points for finer adjustments to curvature.
- Forcing Curvature to Zero (Guide Surface Trick):
- To ensure the curvature transitions smoothly to zero at the central junction of the Y-blend:
- Create a
Line that is an extension of the central primary surface's edge.
Sweep1 this line to create a Degree 1 guide surface. This guide surface imports the tangency information from the original edge.
MatchSrf the blend surface to this Degree 1 guide surface by Curvature. Matching to a Degree 1 surface by curvature forces the matched edge's curvature to zero.
- This technique effectively dictates where the curvature changes direction, which is essential for a clean Y-blend.
-
- The Iterative Nature of G2 Matching:
- Achieving true G2 continuity is an "exhausting" and "finicky" process involving repeated cycles of:
- Running
MatchSrf.
- Checking results with global analysis (VSR) or zebra stripes.
- Adjusting control points or inserting knots if tolerances aren't met.
- Re-running
MatchSrf.
- There are "practical limits" to what can be achieved, especially with stock Rhino tools, versus dedicated Class A surfacing software. Many users overestimate the continuity of their models.
The "Cheater" Y-Blend (Easier Approach) [0:59:04]
The video concludes by demonstrating a simpler "cheater" method for creating Y-blends when full G2 curvature continuity is not strictly required.
- Concept:
- Instead of having the central intermediate surface meet the main surface with a complex blend that resolves at a sharp point within the Y-junction, the "cheater" method has the intermediate surface gracefully come to a point at its end, effectively avoiding the complex Y-junction blending.
- This is suitable for features like a hood scoop or automotive details where the visual flow allows for this simplification.
-
- Simplified Steps:
- Start with primary surfaces (e.g., with G1 continuity along some edges).
- Use
Pipe and Intersect to generate initial trim curves.
Rebuild these trim curves (e.g., degree 5) to enable smooth manipulation.
- Manually move the end control points of the central trim curves to meet at a single point, creating an elegant taper.
Split the central surface using these tapered curves (use Pull first if curves are not within tolerance for splitting).
- The remaining blend surfaces can then be created and matched using simpler
MatchSrf settings, often targeting tangency (G1) rather than curvature (G2), as the most complex part of the blend has been avoided.
- Trade-offs:
- This method is significantly faster and easier.
- It sacrifices some technical continuity (often not full G2) but can achieve visually pleasing results that are "good enough" for conceptual models or less demanding applications.