Interface ICamApiSimulator
Manages simulation of the project
Namespace: CAMAPI.Simulator
Assembly: CAMAPI.Simulator.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("AF46B3B9-0DC7-4780-96D2-1B146E058330")]
public interface ICamApiSimulator
Properties
BreakOnEndOfOperation
Should simulator break simulation on the end of operation
Declaration
bool BreakOnEndOfOperation { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
BreakOnErrors
Should simulator break simulation on errors
Declaration
bool BreakOnErrors { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
BreakOnStopCommand
Should simulator break simulation on special STOP command
Declaration
bool BreakOnStopCommand { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
CheckGouges
Should simulator check for gouges
Declaration
bool CheckGouges { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
CheckHolderCollisions
Should simulator check for holder collisions
Declaration
bool CheckHolderCollisions { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
CheckMachineCollisions
Should simulator check for machine collisions
Declaration
bool CheckMachineCollisions { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
FastSimulateAllOperations()
Calculate simulation results for all operations in the project
Declaration
void FastSimulateAllOperations()
FastSimulateCurrentOperation()
Calculate simulation results for the current operation
Declaration
void FastSimulateCurrentOperation()
FastSimulateUpToCurrentOperation()
Calculate simulation results from the first operation to the current operation (inclusive)
Declaration
void FastSimulateUpToCurrentOperation()
ResetSimulationResults()
Stop current simulation and delete all simulation results
Declaration
void ResetSimulationResults()
SaveMachiningResultToSTL(ICamApiPartStage, string, out TResultStatus)
Declaration
void SaveMachiningResultToSTL(ICamApiPartStage PartStage, string FileName, out TResultStatus ResultStatus)
Parameters
| Type | Name | Description |
|---|---|---|
| ICamApiPartStage | PartStage | |
| string | FileName | |
| TResultStatus | ResultStatus |
SmoothSimulationStart()
Smoothly start simulation from the current operation up to the end
Declaration
void SmoothSimulationStart()
SmoothSimulationStepBackward()
Execute previous command in smooth simulation mode
Declaration
void SmoothSimulationStepBackward()
SmoothSimulationStepForward()
Execute next command in smooth simulation mode
Declaration
void SmoothSimulationStepForward()
SmoothSimulationStop()
Stop current process of smooth simulation
Declaration
void SmoothSimulationStop()