Table of Contents

Workpiece Page

The page triggers by Main Panel.

The key model is Workpiece and WorkpieceEditorDisplayeeConfig. Which is assigned from the Main Panel's MachiningProject.Workpiece.

FixtureEditorDisplayeeConfig is from UserEnv.UserConfig which assigned from the parent component.

Layout

  • Workpiece Page
    • Manage Panel
      • Raw Shape Tab
      • Target Shape Tab
        • Geometry Management Control
      • Anchor Tab
      • Runtime Tab
        • Initial Resolution Dropdown (powers of 2)
          • 0.0009765625
          • 0.001953125
          • 0.00390625
          • 0.0078125
          • 0.015625
          • 0.03125
          • 0.0625
          • 0.125
          • 0.25
          • 0.5
          • 1
          • 2
          • 4
          • 8
          • 16
      • Material Tab Visible if UserEnv.EnablePhysics is true.
        • Workpiece Material File Selector
          • Browse Button The initial directory is the project directory.
          • Browse Resource Button The directory is the Default Resource directory.
          • Readonly File Path TextBox
          • Readonly Name TextBox (Name)
        • Cutting Parameter File Selector
          • Browse Button The initial directory is the project directory.
          • Browse Resource Button The directory is the Default Resource directory.
          • Readonly File Path TextBox
          • Readonly Name TextBox (Name)
    • Viewer Panel
Tip

Add a resizable splition bar between Manage Panel and Viewer Panel.

Default Resource

The default resources of Workpiece Material and Cutting Parameter exist in Resource folder under application folder (Not project folder). Set the default folder of the File Selector to the Resource sub folder:

  • “Resource/WorkpieceMaterial”
  • “Resource/CuttingParameter”

Behavior

Single-User WPF Application Source Code Path

  • Mech/Workpieces/WorkpiecePage
  • Mech/Workpieces/WorkpieceWindow

see this page for git repository.