<< Click to Display Table of Contents > Drill |
The following commands can be found under Mark → Edit... → Drill: In CCI commands that work with entity names, add the prefix "drill_geom_" to the entity name to access entities inside of the Drill Geometry entity list, for example: "drill_geom_Rectange".
•Pen Enable Flags, see Pen Settings oCO2Power oDrill oPoint Power Map oUse Geometry
|
---|
☒ Set ☒ Get |
|||
---|---|---|---|
DLL Function |
int CCI_Return = ScSetDoubleValue(int Value_Type, double Parameter) double Parameter = ScGetDoubleValue(int Value_Type) |
||
ASCII Function |
int CCI_Return = ScCciSetDoubleValue(int Value_Type, double Parameter) double Parameter = ScCciGetDoubleValue(int Value_Type) |
||
Description |
Set or get the various pen drill parameters. |
||
Value_Type |
Type: int |
ID: |
|
Location: ScComSAMLightClientCtrlValueTypes |
|||
scComSAMLightClientCtrlDoubleValueTypeDrillPeriod |
72 |
||
Drill Period (1/Frequency). For CO2 Laser: Laser1. [μs] |
|||
scComSAMLightClientCtrlDoubleValueTypeDrillDuration |
73 |
||
Drill Duration in [µs]. The unit displayed in SAMLight is different: [ms]. |
|||
scComSAMLightClientCtrlDoubleValueTypeDrillLength |
74 |
||
Pulse width. For CO2 laser: Laser2. [μs] |
|||
scComSAMLightClientCtrlDoubleValueTypeDrillJumpSpeed |
75 |
||
Jump speed. [mm/s] |
|||
scComSAMLightClientCtrlDoubleValueTypeDrillJumpDelay |
76 |
||
Jump delay. [μs] |
|||
scComSAMLightClientCtrlDoubleValueTypeDrillCo2HalfPeriod |
79 |
||
For CO2 laser: HalfPeriod in [µs] to manipulate the Frequency. Frequency = 1 / ( 2 * HalfPeriod ) |
|||
scComSAMLightClientCtrlDoubleValueTypeDrillMarkLineAsDotsGridX |
126 |
||
X grid size of Mark Lines as Dots. [mm]* |
|||
scComSAMLightClientCtrlDoubleValueTypeDrillMarkLineAsDotsGridY |
127 |
||
Y grid size of Mark Lines as Dots. [mm]* |
|||
Parameter |
Type: int |
Unit: depends on constant |
|
The corresponding value. |
|||
CCI_Return |
Type: int |
||
CCI return number, see error list. |
|||
Notes |
•The pen number has to be set by ScSetPen. •The function drill must be enabled first |
||
C# Example: Set drill duration to 250.0 µs: int CCI_Return = cci.ScSetDoubleValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeDrillDuration, 250.0 ); |
|||
C# Example: Get drill duration:
double Drill_Duration = cci.ScGetDoubleValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlDoubleValueTypeDrillDuration ); |
Table 93: Drill Double Values
☒ Set ☒ Get |
|||
---|---|---|---|
DLL Function |
int CCI_Return = ScSetLongValue(int Value_Type, int Parameter) int Parameter = ScGetLongValue(int Value_Type) |
||
ASCII Function |
int CCI_Return = ScCciSetLongValue(int Value_Type, int Parameter) int Parameter = ScCciGetLongValue(int Value_Type) |
||
Description |
Set or get the various pen drill parameters. |
||
Value_Type |
Type: int |
ID: |
|
Location: ScComSAMLightClientCtrlValueTypes |
|||
scComSAMLightClientCtrlLongValueTypeDrillEnableCo2Power |
56 |
||
CO2 Power Enable. |
|||
scComSAMLightClientCtrlLongValueTypeDrillMarkLineAsDotsActive |
101 |
||
Mark line as dots enable. |
|||
Parameter |
Type: int |
Unit: none |
|
•0: Disable. •1: Enable. |
|||
CCI_Return |
Type: int |
||
CCI return number, see error list. |
|||
Notes |
•The pen number has to be set by ScSetPen. |
||
C# Example: Enable the mark line as dots:
int CCI_Return = cci.ScSetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeDrillMarkLineAsDotsActive, 1 ); |
|||
C# Example: Get the mark line as dots enable state:
int Mark_Line_As_Dots_Enable = cci.ScGetLongValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlLongValueTypeDrillMarkLineAsDotsActive ); |
Table 94: Drill Long Values
☒ Set ☐ Get |
|||
---|---|---|---|
DLL Function |
int CCI_Return = ScSetStringValue(int Value_Type, string PPM_Path) |
||
ASCII Function |
int CCI_Return = ScCciSetStringValue(int Value_Type, string PPM_Path) |
||
Description |
Set the path of Pen > Drill > Point Power Map raster graphic. |
||
Value_Type |
Type: int |
ID: |
|
Location: ScComSAMLightClientCtrlValueTypes |
|||
scComSAMLightClientCtrlStringValueTypePenPixelMap |
28 |
||
PPM_Path |
Type: string |
Unit: none |
|
Path of Point Power Map raster graphic. |
|||
CCI_Return |
Type: int |
||
CCI error number, see error list. |
|||
Notes |
•The pen number has to be set by ScSetPen. •The Point Power Map can be enabled with Pen Enable Flags. •This is not related to the Pen PixelMap for grayscale bitmap marking, as the name of the constant may suggest. |
||
C# Example: Set Point Power Map Path to "F:\bg_img.bmp":
int CCI_Return = cci.ScSetStringValue( ( int )ScComSAMLightClientCtrlValueTypes.scComSAMLightClientCtrlStringValueTypePenPixelMap, @"F:\bg_img.bmp" ); |
Table 95: Point Power Map Path