Guide › Surface tab › Panels › 2. Fit & Fair

2. Fit & Fair: build and check the surface

The second step of Panels. Build the editable grid from step 1 into NURBS surfaces, choose how smoothly they meet, and set the balance between a fair shape and a tight fit to the scan. Then check the result with Zebra and Deviation. In Advanced Mode you can also fit single patches and edit their control points.

Build the surface from the grid

The step starts with a short line that says what to do on it. Work down the panel:

  1. Choose the Continuity, which sets how the patches meet.
  2. Set the Fair <-> Tight slider.
  3. Press Build Surface from Grid. Each cell of the grid becomes a NURBS patch, and all of them are fitted to the scan together. The scan inside the Ignore rim band and the areas you painted with Paint Ignore on 1. Network are left out of the fit. The status line says, for example, “Editable grid fitted globally to Class-A G2 NURBS surfaces.”
  4. Turn on Zebra or Deviation and check the result.
  5. To change the result, choose another Continuity or move the slider, and press Build Surface from Grid again. It goes back to your saved grid and builds it again with the new settings. To change the grid itself, press Back to Editable Grid.

The patches are named Layout panel 1, Layout panel 2 and so on. Cells you hid in the Patches list stay hidden. When you're happy, go on to 3. Seams & Finish.

Continuity choiceG2 (Class-A Curvature)

G2 (Class-A Curvature)
The patches meet with matching curvature, so reflections run smoothly across every seam. It's right for bodywork. Lines you marked Sharp Crease on the grid stay sharp.
G1 (Tangent — tighter fit)
The patches meet with matching slope. Control rows are placed closer together, and the fit is held to just under half the Fair <-> Tight tolerance, so the surface follows small radii and flanges more closely.
G0 (Sharp / Position)
The patches only meet in position. Every seam is a sharp edge.

Build Surface from Grid button

Builds the grid into surfaces as above. If there is no grid it says “No editable grid available. Propose a grid on Tab 1 first.” It works on the editable grid only. To fit patches you drew yourself on the Manual / Contours tab, use Fit together there, or Per-Patch Fit & Locks in Advanced Mode.

Fair <-> Tight slider50 % (0.50 mm)

Sets the fit tolerance. Slide left for a fairer surface with fewer, larger patches that skip scan noise, up to 2.00 mm at 0 %. Slide right for a tighter fit to the scan, down to 0.05 mm at 100 %. The label above it gives the tolerance. It also sets the Fit tolerance for contours and Auto Surface on 1. Network.

Zebra · Deviation buttonsoff

Turn on Zebra stripes or the Deviation colour map in the view. They are the same as Zebra and Deviation in Inspect, and only one shows at a time. Press the lit button again to turn it off.

Back to Editable Grid button

Shown after you build the grid. It removes the built surfaces, gives you the editable grid back as it was, and returns to step 1 on the Editable Grid tab: “Removed built surfaces and restored your editable quad grid.” Change the grid, then come back and build it again.

In Advanced Mode

Press Switch to Advanced Mode, and a section headed Advanced — Control Points & Fit Locks is added under the step's tools. Both of its buttons first build an open editable grid, with the Continuity you chose.

Control Points (U/V) button

Opens the Control Points tools, where you drag control points and rows and add or remove rows.

Per-Patch Fit & Locks button

Opens the per-patch fit tools below. In Advanced Mode they are shown when the step opens.

U- U+ V- V+ N- N+ buttons

Move the selected control point of the active patch by one Step distance (0.1 mm unless you change it in Control Points): along the patch's U or V direction, or along its normal (N). A control point held by a join or a locked boundary doesn't move, and the status line says so.

Boundary lock line

Says which control points are held: the rows along G1 and G2 joins always, and also the outer boundary when Hold outer boundary is on, or the symmetry plane when Symmetry plane is on.

Advanced: Per-Patch Fit & Locks

Move one patch's control points so the surface meets the scan, while keeping it smooth and holding the edges you choose. Fit one patch, a joined pair, or several patches at once. Use it for patches you drew on the Manual / Contours tab, or to refine single patches after building the grid.

The per-patch fit tools at a glance

  1. Fit joined pair fits this patch and its smooth neighbour together.
  2. Hold outer boundary keeps the edges where they are while the inside fits.
  3. Hold corner points keeps the four corners fixed.
  4. Fit intention puts smoothness first, or closeness to the scan first.
  5. Limit scan deviation refuses a fit that misses by more than you allow.
  6. Advanced fit settings hold the search distance, shape restraint and iteration limit.
  7. Preview fit runs the fit and shows the result.
  8. Result shows the distance to the scan before and after.

How to fit a patch

Check what you're fitting to

Select the patch. It's fitted to the scan side set by Scan side on 1. Network (Panel side or Opposite side), within its scan region. Turn on Deviation to see how far off it is now.

Preview the fit

Choose what to hold and how smooth to keep it (below), then press Preview fit. The fit runs in the background. The result shows the sampled RMS and maximum distance before and after, for example “Sampled RMS: 0.84 → 0.07 mm”.

Apply the fit

If you're happy, press Apply fit. Cancel, Esc or Ctrl Z discards it. Changing any setting also discards the preview, so you can try again.

The settings

Hold outer boundary tick boxon

Keeps the patch's edges where they are, and fits only the inside. Leave it on when the edges are already where you want them, for example on a feature line or a join. Untick it to let the edges move too.

Hold corner points tick boxon

This is shown when Hold outer boundary is off. It keeps the four corners fixed while the edges and inside move.

Fit intention choiceFair design

Fair design
Puts smoothness first, so the surface follows the scan but not its bumps and noise. It's right for a class-A panel.
Follow scan
Puts closeness first, so the surface follows the measured scan as closely as it can. Check the deviation and reflections before keeping it.

Smoothness percent50 %

With Fair design, this sets the balance between a smooth shape (higher) and agreement with the scan (lower). Check reflections and deviation after changing it.

Limit scan deviation tick boxoff

Sets a hard limit. If the fit's largest sampled distance is over Allowed maximum (1 mm by default), Apply fit stays disabled. When the patch can't meet it, the panel works out whether an extra U or V row would help, and offers a button for that.

Fit joined pair tick boxoff

This is shown when the patch has one smooth join to another. It fits both patches together. Their shared edge can move while keeping its smoothness, and the holds apply to the outside of the pair (Hold outer corners).

Add U/V controls and preview fit

Appears when the fit suggests more freedom in one direction would help. It adds a row without changing the shape, then fits again. Undo removes the row.

Advanced fit settings

Automatic search distance tick boxon

Works out how far from the surface to look for matching scan points. Untick it to set Search distance yourself, for example to stop the fit grabbing a nearby skin such as the inside of a door.

Shape restraint number0.000001

Holds controls towards where they started. Raise it to keep more of the patch's current shape.

Iteration limit number20 · 1–30

Sets the most fitting passes. More passes may fit better but take longer.

Fitting several patches together

  1. In the Patches list, Ctrl-click or Shift-click two or more patches. The selection card says “N patches selected - Fit fits them together, keeping their joins.”
  2. Press Preview fit. Each patch is fitted after the patches it depends on, holding the rows its joins give it. Hidden patches, and patches that follow a parent, are skipped.
  3. The result reports the worst RMS before and after. Press Apply to keep them all, or Cancel to leave them as they were.

Reading the result

If something goes wrong

“No editable grid available. Propose a grid on Tab 1 first.”

Build Surface from Grid needs an editable grid. Go back to 1. Network and press Propose Editable Grid. For patches you drew yourself, use Per-Patch Fit & Locks in Advanced Mode.

“No scan points face part of this surface. Check Panel side / Opposite side in Sections.”

The patch is being fitted to the wrong skin. Change Scan side on 1. Network.

Preview fit is greyed out

Wait for the scan to finish preparing, and make sure Scan side isn't All traces (unless you've chosen a scan region). Also check nothing else is being previewed.

“Cannot keep: sampled maximum … exceeds the … limit.”

Loosen Allowed maximum, add a control row, or divide the patch. Then preview again.

“Edit the creating guides or parent, or free this sheet before fitting its controls.”

This patch follows guides or another patch. Edit those, or free its controls in Control Points.

“Select two or more patches that can be fitted (not ones that follow a parent).”

Most of the selection was hidden or generated patches. Select ordinary patches.

User guide for Tesselform 1.1.3