feat(Demo-Para-Training-S50C-202501): S50C.hincproj trains through dedicated mission commands, and the NC/lines.nc anchors are live

The mission of S50C.hincproj is now settings rows (physics on, machining
resolution 0.015625 mm, feed-per-tooth motion resolution, collision detection
and pause on failure off), a script with the training settings (360 divisions
per spindle turn, the 3d result template), the time mapping of the six
dynamometer windows low1-high3, NC/lines.nc, a ReadOnFirstOrWrite record
Cache/S50C-lines-done.wct, the training into Output/S50C-3-fine-0.1.mp at the
call's default outlier ratio 0.1, a script that puts the template dimension
back to 2, and a disabled Post-Execution.

NC/lines.nc writes its eight LineSelection anchors as (@@...), the script
marker the current runner reads: low1-high3 map their windows, through1 and
through2 are anchors without a window. The project is saved in the current
format, and EmptyMachine.mt and SpindleCapability/test3.SpindleCapability with
it.

Verified: the previous mission (its dynamometerFile and outlierRatio
variables written as the literal values they held) and this one play
11,708 steps with the same per-step signature, on the previous NC and on
this one. On the previous NC neither trains, its ;@ anchors not being read,
and Output/S50C-3-fine-0.1.mp stays as committed; on this NC both train the
same Output/S50C-3-fine-0.1.mp (4,533 sample equations, R = 97.08%; that
run at 0.125 mm).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 22:06:30 +08:00
co-authored by Claude Opus 5.5
parent 5738f5bacf
commit 1227ad244f
4 changed files with 1847 additions and 178 deletions
+187 -26
View File
@@ -2,34 +2,195 @@
<GeneralXyzabcMachineTool>
<Name>EmptyMachine</Name>
<Note></Note>
<XyzabcChain>
<CodeXyzabcChain>
<ChainCode>[O][B][w];[O][Y][X][Z][A][S][t]</ChainCode>
<IsVertical>true</IsVertical>
<TransformerX>
<DynamicTranslation Axis="(1, 0, 0)" Len="-20" />
</TransformerX>
<TransformerY>
<DynamicTranslation Axis="(0, 1, 0)" Len="-60" />
</TransformerY>
<TransformerZ>
<DynamicTranslation Axis="(0, 0, 1)" Len="0" />
</TransformerZ>
<TransformerA>
<DynamicRotation Axis="(1, 0, 0)" Angle_deg="0" Pivot="(0, 0, 675)" />
</TransformerA>
<TransformerB>
<Asmb Guid="c52ffd61-7047-450f-871f-2edfa74cdf71">
<Name>GeneralMechanism</Name>
<ChildAncs>
<Anc Guid="de4c8991-3926-4846-8d05-71db8808bbd8">
<Name>O</Name>
</Anc>
<Anc Guid="85a8b618-2ddb-47f2-a946-8207b09074ee">
<Name>B</Name>
</Anc>
<Anc Guid="7cda007c-b91f-4394-bd27-b8bff1a2d420">
<Name>w</Name>
</Anc>
<Anc Guid="cd0d2427-50c2-4682-90f6-a064bdf18fb5">
<Name>Y</Name>
</Anc>
<Anc Guid="6f40cf87-1830-4f92-91b4-d601876646cc">
<Name>X</Name>
</Anc>
<Anc Guid="f73045d0-bd35-4cd4-99a9-90cbb28c9791">
<Name>Z</Name>
</Anc>
<Anc Guid="feb560f5-823d-4503-a593-08a05df686df">
<Name>A</Name>
</Anc>
<Anc Guid="6aa17107-d5d1-4afa-aa38-c1dd5db6561b">
<Name>S</Name>
</Anc>
<Anc Guid="b0eb7b63-d3e6-4488-9aed-7aea89a14c1c">
<Name>t</Name>
</Anc>
</ChildAncs>
<ChildAsmbs />
<Brns>
<Brn Guid="0f60c02a-3730-4ad0-9c2a-065e9207d36e" Name="B">
<Fletch>
<Anc Guid="de4c8991-3926-4846-8d05-71db8808bbd8">
<Name>O</Name>
</Anc>
</Fletch>
<Arrow>
<Anc Guid="85a8b618-2ddb-47f2-a946-8207b09074ee">
<Name>B</Name>
</Anc>
</Arrow>
<Transformer>
<DynamicRotation Axis="(0, -1, 0)" Angle_deg="0" Pivot="(0, 0, 0)" />
</TransformerB>
<TransformerC />
<ToolBuckleTransformer>
<StaticTranslation Trans="(0, 0, 675)" />
</ToolBuckleTransformer>
<TableBuckleTransformer>
</Transformer>
</Brn>
<Brn Guid="9d3e7012-0080-4a3d-9e93-992b7ded5cc1" Name="w">
<Fletch>
<Anc Guid="85a8b618-2ddb-47f2-a946-8207b09074ee">
<Name>B</Name>
</Anc>
</Fletch>
<Arrow>
<Anc Guid="7cda007c-b91f-4394-bd27-b8bff1a2d420">
<Name>w</Name>
</Anc>
</Arrow>
<Transformer>
<StaticTranslation Trans="(0, 0, 0)" />
</TableBuckleTransformer>
</Transformer>
</Brn>
<Brn Guid="a32ed639-b87b-44fe-a661-ec4adc8a8ead" Name="Y">
<Fletch>
<Anc Guid="de4c8991-3926-4846-8d05-71db8808bbd8">
<Name>O</Name>
</Anc>
</Fletch>
<Arrow>
<Anc Guid="cd0d2427-50c2-4682-90f6-a064bdf18fb5">
<Name>Y</Name>
</Anc>
</Arrow>
<Transformer>
<DynamicTranslation Axis="(0, 1, 0)" Len="-60" />
</Transformer>
</Brn>
<Brn Guid="d7804926-53e4-4291-a6d2-71a51f41981d" Name="X">
<Fletch>
<Anc Guid="cd0d2427-50c2-4682-90f6-a064bdf18fb5">
<Name>Y</Name>
</Anc>
</Fletch>
<Arrow>
<Anc Guid="6f40cf87-1830-4f92-91b4-d601876646cc">
<Name>X</Name>
</Anc>
</Arrow>
<Transformer>
<DynamicTranslation Axis="(1, 0, 0)" Len="-20" />
</Transformer>
</Brn>
<Brn Guid="0e2fb5f9-ec93-48de-9b41-0e088dfd082e" Name="Z">
<Fletch>
<Anc Guid="6f40cf87-1830-4f92-91b4-d601876646cc">
<Name>X</Name>
</Anc>
</Fletch>
<Arrow>
<Anc Guid="f73045d0-bd35-4cd4-99a9-90cbb28c9791">
<Name>Z</Name>
</Anc>
</Arrow>
<Transformer>
<DynamicTranslation Axis="(0, 0, 1)" Len="0" />
</Transformer>
</Brn>
<Brn Guid="ae203cec-48ec-43bf-bf8f-89d8b09f0b31" Name="A">
<Fletch>
<Anc Guid="f73045d0-bd35-4cd4-99a9-90cbb28c9791">
<Name>Z</Name>
</Anc>
</Fletch>
<Arrow>
<Anc Guid="feb560f5-823d-4503-a593-08a05df686df">
<Name>A</Name>
</Anc>
</Arrow>
<Transformer>
<DynamicRotation Axis="(1, 0, 0)" Angle_deg="0" Pivot="(0, 0, 675)" />
</Transformer>
</Brn>
<Brn Guid="537c174b-7066-4bc7-9699-b4751be62b0a" Name="S">
<Fletch>
<Anc Guid="feb560f5-823d-4503-a593-08a05df686df">
<Name>A</Name>
</Anc>
</Fletch>
<Arrow>
<Anc Guid="6aa17107-d5d1-4afa-aa38-c1dd5db6561b">
<Name>S</Name>
</Anc>
</Arrow>
<Transformer>
<DynamicRotation Axis="(0, 0, -1)" Angle_deg="0" Pivot="(0, 0, 675)" />
</Transformer>
</Brn>
<Brn Guid="b5594a2c-bd9c-4955-a86e-5dff6f245836" Name="t">
<Fletch>
<Anc Guid="6aa17107-d5d1-4afa-aa38-c1dd5db6561b">
<Name>S</Name>
</Anc>
</Fletch>
<Arrow>
<Anc Guid="b0eb7b63-d3e6-4488-9aed-7aea89a14c1c">
<Name>t</Name>
</Anc>
</Arrow>
<Transformer>
<StaticTranslation Trans="(0, 0, 675)" />
</Transformer>
</Brn>
</Brns>
</Asmb>
<Root>
<Anc Guid="de4c8991-3926-4846-8d05-71db8808bbd8">
<Name>O</Name>
</Anc>
</Root>
<AnchorToSolid />
</CodeXyzabcChain>
</XyzabcChain>
<TableMount>
<Anc Guid="7cda007c-b91f-4394-bd27-b8bff1a2d420">
<Name>w</Name>
</Anc>
</TableMount>
<ToolMount>
<Anc Guid="b0eb7b63-d3e6-4488-9aed-7aea89a14c1c">
<Name>t</Name>
</Anc>
</ToolMount>
<AxisX>
<Brn Guid="d7804926-53e4-4291-a6d2-71a51f41981d" Name="X" />
</AxisX>
<AxisY>
<Brn Guid="a32ed639-b87b-44fe-a661-ec4adc8a8ead" Name="Y" />
</AxisY>
<AxisZ>
<Brn Guid="0e2fb5f9-ec93-48de-9b41-0e088dfd082e" Name="Z" />
</AxisZ>
<AxisA>
<Brn Guid="ae203cec-48ec-43bf-bf8f-89d8b09f0b31" Name="A" />
</AxisA>
<AxisB>
<Brn Guid="0f60c02a-3730-4ad0-9c2a-065e9207d36e" Name="B" />
</AxisB>
<AxisC />
<Spindle>
<Brn Guid="537c174b-7066-4bc7-9699-b4751be62b0a" Name="S" />
</Spindle>
<CollisionIndexPairs AutoGenerate="true" />
</GeneralXyzabcMachineTool>
+8 -8
View File
@@ -9,19 +9,19 @@ G43 Z10. H01
G01 G90 X2. Y-20. M08
Z2.
G01 Z-0.5 F200.
G01 Y16. (;@LineSelection("low1",FirstTouch,null,LastTouch,null);)
G01 Y16. (@@LineSelection("low1",FirstTouch,null,LastTouch,null);)
Z2.
G00 Z10.
G01 X14. Y-20.
Z2.
G01 Z-0.5 F400.
G01 Y16. (;@LineSelection("low2",FirstTouch,null,LastTouch,null);)
G01 Y16. (@@LineSelection("low2",FirstTouch,null,LastTouch,null);)
Z2.
G00 Z10.
G01 X26. Y-20.
Z2.
G01 Z-0.5 F600.
G01 Y16. (;@LineSelection("low3",FirstTouch,null,LastTouch,null);)
G01 Y16. (@@LineSelection("low3",FirstTouch,null,LastTouch,null);)
Z2.
G00 Z10.
@@ -29,27 +29,27 @@ S7200
G01 X38. Y-20.
Z2.
G01 Z-0.5 F1200.
G01 Y16. (;@LineSelection("high1",FirstTouch,null,LastTouch,null);)
G01 Y16. (@@LineSelection("high1",FirstTouch,null,LastTouch,null);)
Z2.
G00 Z10.
G01 X50. Y-20.
Z2.
G01 Z-0.5 F2400.
G01 Y16. (;@LineSelection("high2",FirstTouch,null,LastTouch,null);)
G01 Y16. (@@LineSelection("high2",FirstTouch,null,LastTouch,null);)
Z2.
G00 Z10.
G01 X62. Y-20.
Z2.
G01 Z-0.5 F3600.
G01 Y16. (;@LineSelection("high3",FirstTouch,null,LastTouch,null);)
G01 Y16. (@@LineSelection("high3",FirstTouch,null,LastTouch,null);)
Z2.
G00 Z10.
G00 G90 X-6. Y10.
G17 G01 Z-0.5 F600.
S500 M03
X13. F200 (;@LineSelection("through1",FirstTouch,null,LastTouch,null);)
X25. F100 (;@LineSelection("through2",FirstTouch,null,LastTouch,null);)
X13. F200 (@@LineSelection("through1",FirstTouch,null,LastTouch,null);)
X25. F100 (@@LineSelection("through2",FirstTouch,null,LastTouch,null);)
Z2.
Z10. F6000.
+1622 -117
View File
File diff suppressed because it is too large Load Diff
@@ -3,7 +3,10 @@
<Name>not built</Name>
<Note></Note>
<EnergyEfficiency>0.4</EnergyEfficiency>
<HeatModelReadsContoursAsShaftOutput>true</HeatModelReadsContoursAsShaftOutput>
<WorkingTemperatureUpperBoundary_C>65</WorkingTemperatureUpperBoundary_C>
<GearShiftSpindleSpeed_rpm>4000.0000000000005</GearShiftSpindleSpeed_rpm>
<SpindleRunUpDuration_s />
<DryRunFrictionPowerCoefficient_mWdrpm>4.82</DryRunFrictionPowerCoefficient_mWdrpm>
<DryRunWindagePowerCoefficient_pWdrpm3>90</DryRunWindagePowerCoefficient_pWdrpm3>
<WorkableDurationToSpindleSpeedPowerContoursDictionary>