An untrimmed surface is like a rectangular piece of pastry (or a triangle, or the even more degenerate 2-gon and 1-gon cases but letâs keep it simple for now). The max/min Iso Lines of an untrimmed surface are equivalent to its edges. Every point in the surfaceâs UV parameter space exists on the surface.
A trimmed surface is what happens when you use a cookie cutter on that pastry to define a new boundary. Now, the surfaceâs parameter space extends beyond the boundary. Iso Lines get trimmed at the boundary. Some UV coordinates give a result outside the boundary, but Iso Lines from that point still exist inside the boundary. Those Iso lines might even be split, if the trimming curve is concave.
In both cases, the same construction curves and control points exist. The edge curves remain the same when you Trim a surface and are revealed when you Untrim it.
Grasshopper components create trimmed/untrimmed surfaces as follows
These components generate Untrimmed Surfaces:
Primitive Plane, Cone, Cylinder, Sphere
Freeform 4Point, From Points, Edge, Fit Loft, Loft, Network, Ruled, Sum, Extrude (all types), Patch (with Trimmed set to False), Sweeps (for single-segment profiles and rails), Pipes (for single-segment curves, uncapped), Revolution (for single-segment profiles, both types)
These components generate Polysurfaces whose component surfaces are untrimmed:
Primitive Boxes, Quad Sphere
Freeform Pipes (for multi-segment curves), Sweeps (for multi-segment profiles and rails), Revolution (for multi-segment profiles, both types)
Deconstruct them and you get a list of Trimmed surfaces.
These components generate Trimmed surfaces
Freeform Boundary, Patch (with Trimmed set to True), Fragment
You can of course also generate Trimmed surfaces directly by many methods eg. Surface Split, Copy Trim. Some operations can create Trimmed surfaces indirectly eg when filleting a Brep edge, one of the two adjacent surfaces may become trimmed after the operation. Nearly all intersection operations (Union, Difference etc.) also result in trimming.
Note that Iso Trim ignores any Trim of the source surface.You always get the pure rectangle from the Untrimmed version.
To get the blue outline, you need to go the long way round and generate a grid of lines to use with Surface Split.