MatchSrf Enhancements with Multiple Matches

MatchSrf when used to match multiple edges needs several enhancements to make it much more useful.

A. Select differing levels of continuity for each edge: none, position, tangent, curvature.

B. When matching multiple edges be able to select a curve as the target for one or more edges to be match. Selecting a curve would of course limit the continuity for that edge to position.

C. Simultaneous matching of the multiple edges rather than than the apparently currently implemented sequential matching.

D. Prioritization and averaging when when two or more target surfaces to be matched are not compatible. By “compatible” I mean it is not possible for a single surface to simultaneously match two surfaces near a corner with the requested level of continuity.

First priority would be to match position on all edges with position, tangency or curvature continuity requested.
Second priority would be to match tangency on all edges with tangency or curvature continuity requested.
Third priority would be to match curvature on all edges with curvature continuity requested.

At corners where the target surface edges are not compatible with the requested levels of continuity, continuity would be satisfied on average.

Suggested proceedure is to start along the edges with continuity requested and work inward:

  1. For the control points along edges with continuity match requested set those control points for position continuity with the edges of the target surfaces. If at a corner the target surfaces are not position compatible set the coresponding corner control point to the average position of the target surfaces.
  2. For the control points in the rows/columns adjacent to the edges with tangency or curvature continuity requested and which have not had their position set in step 1 set the position of the those control points as needed for tangency continuity. Use an average position for control points near corners with incompatible target surfaces.
  3. For the control points in the rows/columns adjacent to the edges with curvature continuity requested and which have not had their position set in step 1 or step 2 set the position of the those control points as needed for curvature continuity. Use an average position for control points near corners with incompatible target surfaces.
4 Likes

related topic:

i totally agree that matchSrf will need some improvement and some love …

1 Like