Class NCMakerHelper
Helper methods for ICamApiNCMaker
Inherited Members
Namespace: CAMAPI.DotnetHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class NCMakerHelper
Methods
CreateSettings(ComWrapper<ICamApiNCMaker>, TCamApiNCMakerSettingsType)
Create instance of settings for generating NC program
Declaration
public static ComWrapper<ICamApiMakeCncSettings> CreateSettings(this ComWrapper<ICamApiNCMaker> ncMakerCom, TCamApiNCMakerSettingsType type)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiNCMaker> | ncMakerCom | NC maker |
| TCamApiNCMakerSettingsType | type | Type of NC maker settings |
Returns
| Type | Description |
|---|---|
| ComWrapper<ICamApiMakeCncSettings> |
Generate(ComWrapper<ICamApiNCMaker>, string, string, ComWrapper<ICamApiMakeCncSettings>)
Create NC program files
Declaration
public static IListString Generate(this ComWrapper<ICamApiNCMaker> ncMakerCom, string clDataFileName, string postProcessorFilePath, ComWrapper<ICamApiMakeCncSettings> settings)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiNCMaker> | ncMakerCom | NC maker |
| string | clDataFileName | Path to CAM project CLData file |
| string | postProcessorFilePath | Path to postprocessor file |
| ComWrapper<ICamApiMakeCncSettings> | settings | Settings for generating NC program |
Returns
| Type | Description |
|---|---|
| IListString | List of generated NC program file names |