Table of Contents

NC Optimization Option Panel

Key model is NcOptOption.

Layout

Tip

Use XmlConvert.ToDouble and FromDouble to parse the double value for dealing with the inf value.

Source Code Path

See this page for git repository.

WPF Application Source Code Path

  • NcOpt/NcOptOptionPanel

Web Page Application Source Code Path

HiNC-2025-webservice (Quasar CLI SPA):

  • wwwroot-src/src/components/mission/NcOptOptionCommandPanel.vue — six grouped <q-card>s (General / Distances / Feedrate / Motion Dynamics / Force & Safety / Compensation) backed by a setter-map table so adding a new property requires one line. preferedForce_N and maxFeedPerTooth_mm round-trip Infinity through the string-accepting backend endpoint.
  • wwwroot-src/src/api/mission.ts — typed wrapper over the NcOptOption-related endpoints.
  • Missions/NcOptOptionEndpoints.cs — REST endpoints for every NcOptOption property (per-property PUT with string body to accept Infinity).
  • Missions/MissionController.cs — hosts the NcOptOption command CRUD that wraps the property endpoints.