Table of Contents

Player extended RenderingCanvas Tool Bar

The model of the tool bar is DispEngine which is assigned from the RenderingCanvas of Player Panel.

The content of DispEngine.Displayee here is MachiningProjectDisplayee. the key content of the MachiningProjectDisplayee is MachiningProject.

The sub-model is MachiningProjectDisplayee and MachiningProject.

Layout

  • Player extended RenderingCanvas Tool Bar
    • Show CL Strip Button
    • Show CL Strip Dots Button Only editable if the ClStrip in RenderingFlagBitArray is true.
    • Fit View Button
    • Rendering Items SubMenu RenderingFlag-based checkboxes that deal the boolean value in RenderingFlagBitArray, such as “Show Machine”, “Show Workpiece”, etc.. Except the ClStrip option since there has already be managed by the Show CL Strip Button. Show HeidenhainCoordinate checkbox only if MachiningProject.NcEnv.<xref:Hi.Numerical.NcEnv.CncBrand> is Heidenhain. Create the submenu component class since the other GUI component also use it. See controller page
Tip

checkboxs in Project Rendering Items SubMenu can be classified by the category of RenderingFlag (see the hyperlink for the categories).

Behavior of CL Strip Buttons and Fit View Button

Apply RenderingFlagBitArray to set the Project Rendering Items.

Tip

Extract the MachiningProject From the MachiningProjectDisplayee and use it to set the behaviors.

Behavior of Project Rendering Items DropDown

See DemoRenderingMachiningProcessAndStripPosSelection for the sample code to complete the behavior of the buttons.

Source Code Path

See this page for git repository.

WPF Application Source Code Path

  • Play/PlayerExtendedRenderingCanvasToolBar

Web Page Application Source Code Path

  • wwwroot/player/player-extended-toolbar.js
  • Players/PlayerController.cs