Classic Session Command Panel
The key model is SimpleSessionCommand.
Layout
- Head Line
- Object Management Menu Button
- file extension is ShellCommand
- The pointed Editor Panel is Session Management Panel
- Object Management Menu Button
- Title Label
- Session Management Panel
- NC/Command List Tab
- Shell Commands ListBox
- The model is NcCommandList.
- Support add, remove, reorder commands.
- The items are multi-selectable.
- Support file drag from the external application (such as file explorer), files drag into the Shell Commands List is equivalent to create NcFileCommands.
Tip
don't use file filter to the drag behavior
- On each NC File Command:
- Only one line for each entry.
- Batch Selection CheckBox with ‘Select’ Text Label
- NC File Command Panel.
- The horizontal auto scroll bar is required.
- Shell Commands ListBox
- Output Tab
- Output Shot Files Tab
- Enable Write Shot Files CheckBox
- The model is EnableWriteShotFiles.
- Shot File Template Text Field
- The model is ShotFileTemplate.
- Default value:
Output/[NcName].shot.csv
- Shot File Time Resolution (ms) Number Field
- The model is ShotFileTimeResolution_ms.
- Default value: 1
- Enable Write Shot Files CheckBox
- Output Step Files Tab
- Enable Write Step Files CheckBox
- The model is EnableWriteStepFiles.
- Step File Template Label
- Step File Template Text Field
- The model is StepFileTemplate.
- Default value: “Output/[NcName].step.csv”
- Apply one line layout to the label and the text field.
- Enable Write Step Files CheckBox
- Optimization Files Tab
- Enable Optimize To Files CheckBox
- The model is EnableOptimizeToFiles.
- Optimization File Template Text Field
- The model is OptimizationFileTemplate.
- Default value: “Output/Opt-[NcName]”
- Enable Optimize To Files CheckBox
- Output Shot Files Tab
- Geometry Difference Tab
- Enable Geom Diff CheckBox
- The model is EnableGeomDiff.
- Geom Diff Detect Radius (mm) Number Field
- One Line layout
- The model is GeomDiffDetectRadius_mm.
- Default value: 1
- Enable Geom Diff CheckBox
- NC/Command List Tab
Tip
Use Disabled Style if the section key checkbox is not checked.
Tip
The file templates support placeholder [NcName] which will be replaced with actual NC program name.
WPF Application Source Code Path
- Mission/SimpleSessionCommandPanel
see this page for git repository.