The MergeSrf command combines two surfaces into one surface at untrimmed edges.


Select two surfaces.

Both surfaces must be untrimmed and share an edge.

Command-line options


The resulting surface will be smooth. This makes the surface behave better for control point editing, but may alter the shape of both surfaces.


Surface edges must be within this tolerance for the two surfaces to merge.

The Tolerance setting defaults to the Rhino global absolute tolerance. Zero or a value less than the absolute tolerance is not acceptable.


Defines the roundness (smoothness, dullness, bluntness, non-sharpness) of the merge. The default is 1 (full smoothing). Acceptable values are between 0 (sharp) and 1 (smooth).


Untrimmed surfaces that share an edge can merge into a single surface. The seam where the two surfaces meet smooths out, which is useful for modeling half of an object, mirroring it, and then merging the surfaces together to eliminate the kink. You can edit the resulting surface.
Surfaces can merge only if the shared edge on both surfaces run exactly along u- or v- direction and the surfaces share both edge endpoints.
If the merged surface is closed, use the MakePeriodic command to make an even smoother, editable surface.
Generally, you can only use the MergeSrf command when you have created untrimmed surfaces by lofting or sweeping and the surfaces share adjacent edges. Use the MergeSrf command to make them into a single surface. Once you have trimmed surfaces, however, you have to approach things differently.
A trimmed surface has an underlying untrimmed surface that defines the geometry of the shape. Trimming curves tell Rhino that some parts of the surface are supposed to be holes or are supposed to be cut out. It is the underlying surface that controls the geometry, and that is what the MergeSrf command needs to join surfaces to make one large surface out of smaller surfaces.
When you turn on the control points for two trimmed surfaces, you will see that even though the surfaces can touch up to one another nicely at their trims, their control points do not line up.

(1) Control points for blue surface; (2) control points for red surface.

If the control points do not line up on two trimmed surfaces, the surfaces cannot merge, as control points merge together to make a single surface out of two individual surfaces.
If you use Untrim on the two trimmed surfaces that you want to merge, this process will become more clear. You'll see that even though the trimming edges of the two surfaces connect, their underlying surfaces do not line up with one another.

The MergeSrf command will not smooth non-fully multiple interior knots.

See also

Edit surfaces

Rhinoceros 5 © 2010-2015 Robert McNeel & Associates. 17-Sep-2015