refactor(Hi.Sample): follow the Buckle to Mount rename -- the machine-tool and machining-project build demos and the coordinate-entry displayees use the ...Mount members
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Sample.MachineTool
|
||||
{
|
||||
GeneralXyzabcMachineTool dst = GeneralXyzabcMachineTool.CreateFromChainCode(
|
||||
"[O][Y][X][C][w];[O][Z][B][S][t]");
|
||||
if (dst.ToolBuckleTransformer is StaticTranslation st)
|
||||
if (dst.ToolMountTransformer is StaticTranslation st)
|
||||
st.Trans = new Vec3d(-72.40, 72.40, 176.44);
|
||||
dst.TransformerB.Pivot = new Vec3d(-72.4, -177.4, 225.94);
|
||||
Dictionary<string, Solid> solidMap = new Dictionary<string, Solid>()
|
||||
|
||||
@@ -22,7 +22,7 @@ public static class DemoBuildMachineToolWithoutGeometrys
|
||||
{
|
||||
GeneralXyzabcMachineTool xyzabcMachineTool = GeneralXyzabcMachineTool.CreateFromChainCode(
|
||||
"[O][C][w];[O][X][Y][Z][B][S][t]");
|
||||
if (xyzabcMachineTool.ToolBuckleTransformer is StaticTranslation st)
|
||||
if (xyzabcMachineTool.ToolMountTransformer is StaticTranslation st)
|
||||
st.Trans = new Vec3d(-200, 200, 400);
|
||||
return xyzabcMachineTool;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user