diff --git a/OpenNest.Tests/CincinnatiCIFiber/CIFiberPostProcessorTests.cs b/OpenNest.Tests/CincinnatiCIFiber/CIFiberPostProcessorTests.cs index b6614f11..8c5284f2 100644 --- a/OpenNest.Tests/CincinnatiCIFiber/CIFiberPostProcessorTests.cs +++ b/OpenNest.Tests/CincinnatiCIFiber/CIFiberPostProcessorTests.cs @@ -16,7 +16,7 @@ namespace OpenNest.Tests.CincinnatiCIFiber; /// /// Output-contract tests for the Cincinnati CI Fiber post, checked against the -/// structure of the machine sample NC (12992-4SS_NEST.nc): header block, +/// structure of a Cincinnati machine sample NC: header block, /// restart jump, N-labelled contour blocks with /L macro lines, G41 /// selection, trimmed coordinate format and the M50/M30/% tail. /// diff --git a/OpenNest.Tests/CincinnatiCIFiber/CIFiberSampleRegressionTests.cs b/OpenNest.Tests/CincinnatiCIFiber/CIFiberSampleRegressionTests.cs index 069a4f61..06dcda43 100644 --- a/OpenNest.Tests/CincinnatiCIFiber/CIFiberSampleRegressionTests.cs +++ b/OpenNest.Tests/CincinnatiCIFiber/CIFiberSampleRegressionTests.cs @@ -16,19 +16,20 @@ using OpenNest.Posts.CincinnatiCIFiber; namespace OpenNest.Tests.CincinnatiCIFiber; /// -/// Regression against the real machine program: posts the reconstructed -/// 12992-4SS nest (same part + layout as the sample NC) and compares contour -/// counts, macro counts and perimeter geometry with 12992-4SS_NEST.nc. +/// Regression against a real machine program: posts a nest reconstructed from +/// a Cincinnati sample NC (same part and layout) and compares contour counts, +/// macro counts and perimeter geometry with that NC. The sample is a customer +/// production part, so the fixture stays outside the repository and is not +/// named here. /// /// Each placed part in the fixture carries the sample's own pierce, lead-in /// and cut moves as its saved cutting program (not locked). Posting those /// saved programs must reproduce the sample move for move; the other tests /// replace them with OpenNest's own lead-ins first. /// -/// The fixture lives outside the repository (/srv/shared). Configure it in -/// OpenNest.Tests/test-config.json: -/// { "CIFiberSampleNcPath": "/srv/shared/.../12992-4SS_NEST.nc", -/// "CIFiberReconstructedNestPath": "/srv/shared/.../12992-4SS_NEST_reconstructed.nest" } +/// Configure the fixture in OpenNest.Tests/test-config.json (gitignored): +/// { "CIFiberSampleNcPath": ".nc", +/// "CIFiberReconstructedNestPath": ".nest" } /// Both must exist for the test to run; otherwise it skips. /// public class CIFiberSampleRegressionTests diff --git a/Posts/OpenNest.Posts.CincinnatiCIFiber/CIFiberFormatter.cs b/Posts/OpenNest.Posts.CincinnatiCIFiber/CIFiberFormatter.cs index 46c728f1..429c0471 100644 --- a/Posts/OpenNest.Posts.CincinnatiCIFiber/CIFiberFormatter.cs +++ b/Posts/OpenNest.Posts.CincinnatiCIFiber/CIFiberFormatter.cs @@ -6,7 +6,7 @@ namespace OpenNest.Posts.CincinnatiCIFiber /// /// Formats numeric values for the CI Fiber machine program. /// Coordinates: up to decimals with trailing - /// zeros trimmed ("3.706", "5.01", "0"), never "-0" (sample NC format). + /// zeros trimmed ("1.234", "5.01", "0"), never "-0" (sample NC format). /// Header values (V.E.*) use fixed decimals. /// public sealed class CIFiberFormatter diff --git a/Posts/OpenNest.Posts.CincinnatiCIFiber/CIFiberProgramWriter.cs b/Posts/OpenNest.Posts.CincinnatiCIFiber/CIFiberProgramWriter.cs index 6855a7df..2fd34428 100644 --- a/Posts/OpenNest.Posts.CincinnatiCIFiber/CIFiberProgramWriter.cs +++ b/Posts/OpenNest.Posts.CincinnatiCIFiber/CIFiberProgramWriter.cs @@ -17,7 +17,7 @@ namespace OpenNest.Posts.CincinnatiCIFiber /// /// ( <nest name> ) /// ( CONFIGURATION - CI FIBER 8K ) - /// ( August 20, 2026 01:10 PM ) + /// ( <month d, yyyy hh:mm AM|PM> ) /// ( Material = Mild Steel .060 ) /// V.E.MATERIAL = "MSN" ... V.E.UNIT = 1 /// G90 @@ -43,7 +43,7 @@ namespace OpenNest.Posts.CincinnatiCIFiber /// % /// /// - /// Coordinates are spaceless (G1X3.706Y47.488); arcs post I/J incremental + /// Coordinates are spaceless (G1X1.234Y5.678); arcs post I/J incremental /// from the arc start (TF5200 G162 default). The first motion block after /// the G41/G42 selection is always LINEAR (TF5200 ยง13.2.4.1): contours /// without a lead-in move are rejected with a clear error.