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:
@@ -184,18 +184,18 @@ public static class DemoBuildMachiningProject
|
||||
|
||||
#region ConfigureFixture
|
||||
//The fixture topology is free; the default shape has one branch from the
|
||||
//geometry anchor to each buckle, so the workpiece buckle is placed by the
|
||||
//geometry anchor to each mount, so the workpiece mount is placed by the
|
||||
//transformer of the branch to it: on top of the 10 mm thick fixture geom.
|
||||
Fixture fixture = Fixture.CreateDefault();
|
||||
fixture.Geom = new Box3d(new Vec3d(-40, -40, 0), new Vec3d(40, 40, 10));
|
||||
Branch.Get(fixture.GeomAnchor, fixture.WorkpieceBuckle).Transformer
|
||||
Branch.Get(fixture.GeomAnchor, fixture.WorkpieceMount).Transformer
|
||||
= new StaticTranslation(new Vec3d(0, 0, 10));
|
||||
localProjectService.Fixture = fixture;
|
||||
#endregion
|
||||
|
||||
#region ConfigureWorkpiece
|
||||
//The default shape already leads from the geometry anchor to the fixture
|
||||
//buckle and to program zero by zero translations.
|
||||
//mount and to program zero by zero translations.
|
||||
Workpiece workpiece = Workpiece.CreateDefault();
|
||||
workpiece.InitResolution = 0.25;
|
||||
workpiece.InitGeom = new Box3d(0, 0, -50, 70, 50, 0);
|
||||
|
||||
Reference in New Issue
Block a user