CNC Panel Pro V1.0.0 — Curve stability and placement update

This replacement retains version 1.0.0, the 39-pattern library, saved profiles,
favourites/presets, existing licence/trial storage, XYZ mirror controls, compact
left gallery/right parameters and Edit / DXF Export.
Install ONE edition, fully exit ALL SketchUp windows, then reopen SketchUp.
About must show: Curve stability update · Optimized mesh.

The supplied 3.mp4 shows Preview succeeding but Apply reporting:
"Surface 1: Points are not planar" on curved arch strips.
The actual video settings were reproduced with geometry extracted from the
previously supplied 1.skp: 3.7344-inch tile, 0.3734-inch border, 18-mm thickness,
Cutout mode, X-only mirror. The ten original curved patches were left intact.
Numerical checks found very thin oblique construction triangles susceptible
to cancellation in an absolute-coordinate plane fit. This is consistent with
the reported error; a native SketchUp stack trace was not available.

Changes
- Remove redundant interior vertices only when the surface plane AND its
  interpolated normal field remain affine. Preserve every cutting-boundary
  segment and all source creases. Do not simplify the selected pattern corners.
- Improve poor internal diagonals only across compatible planar normal fields.
- Prepare one indexed curved packet directly for EntitiesBuilder, avoiding a
  second, unused native PolygonMesh build on SketchUp 2022 and newer.
- If the native builder rejects a triangle as nonplanar, construct that exact
  triangle by transforming a stable canonical triangle, then explode it into
  the result. Pool the template within that recovery pass; remove it afterward.
  No triangle is silently skipped, and no arbitrary hole is capped.
- Check complete native face area and manifold status before accepting output.
  Failure aborts the entire Apply; keep the source and preserve one-step Undo.
- Retain read-only cached Preview, idle mesh preparation, per-batch definition
  reuse, nested source hiding, and cancellation/history guards.
- Older SketchUp versions retain the indexed PolygonMesh insertion path.

Validation and timing limits
All ten actual-model patches at the video settings retained identical cutting
boundary segments and cap area at depths 0, +18mm, -18mm and 2 inches. The
combined native triangle count fell from 760,080 to 269,600: 64.5% fewer faces.
This reduces native placement/viewport work; it is NOT a measured 64.5% decrease
in native SketchUp time. First uncached dense geometry preparation still takes
roughly a second per patch in this environment; cached geometry lookup is much
faster. Neither universal 0.01-second Apply nor every possible curved topology
can be guaranteed. Hardware, pattern density and native face creation matter.
API doubles exercise simulated native plane-fit rejection, affine recovery,
complete face-area/solid checks and cleanup. They are NOT native SketchUp.
Additional checks cover cylinder/cone/freeform mappings, border zero, signed
thickness, mirrors, multi-surface history, source visibility and installed UI.
Native SketchUp is unavailable in this environment: verify on Windows SketchUp
before distributing the build to customers.

Unsupported source conditions still produce visible errors: genuinely folded
or overlapping mapping, nonmanifold patches, thickness folding through itself,
or details below the supported construction precision. Select an appropriate
open patch/seam or correct the source, rather than accepting incomplete faces.

If native placement fails, use About > Save Support File and attach the JSON.
It contains local expected geometry/settings and native construction details.
Nothing is transmitted automatically. CNC Pattern Pro is unchanged.
Website metadata is prepared only; no website/server has been deployed.

Primary API references reviewed
https://ruby.sketchup.com/file.generating_geometry.html
https://ruby.sketchup.com/Sketchup/EntitiesBuilder.html
https://ruby.sketchup.com/Geom/PolygonMesh.html

