Arc Report Utility — Utilities
Back to Arc Report Utility.
techColumnSelection
def techColumnSelection()Get the desired Set of Columns and its Order.
weldColumnSelection
def weldColumnSelection()Get the desired Set of Columns and its Order.
defineFont
def defineFont()Defines the desired Font Type and size to Globals. Note : CN & JP are only supported by one unique Font, Size can be adjusted
defineColumnTitleWidth
def defineColumnTitleWidth(columns)Defines the Order of the desired Table Columns. Note: internal Column Name and its Place in the Order must be fix
Parameters:
| Name | Type | Description |
|---|---|---|
columns | — | the desired List of Columns in desired Order |
defineOpsColumnTitleWidth
def defineOpsColumnTitleWidth(columns)Defines the Order of the desired Table Columns. Note: internal Column Name and its Place in the Order must be fix
Parameters:
| Name | Type | Description |
|---|---|---|
columns | — | the desired List of Columns in desired Order |
defineColId
def defineColId()defineColMaterial
def defineColMaterial()defineColSeamSize
def defineColSeamSize()defineColWeldingPosition
def defineColWeldingPosition()defineColWeldingSpeed
def defineColWeldingSpeed()defineColWireDiameter
def defineColWireDiameter()defineColWireFeedSpeed
def defineColWireFeedSpeed()defineColWireConsumption
def defineColWireConsumption()defineColVoltage
def defineColVoltage()defineColCurrent
def defineColCurrent()defineColGasFlow
def defineColGasFlow()defineColGasFlowRate
def defineColGasFlowRate()defineColTotalWeldingTime
def defineColTotalWeldingTime()defineColOpsWeldSeam
def defineColOpsWeldSeam()defineColOpsWPSID
def defineColOpsWPSID()defineColOpsSeamSize
def defineColOpsSeamSize()defineColOpsWeldingPosition
def defineColOpsWeldingPosition()defineColOpsSeamLength
def defineColOpsSeamLength()defineColOpsWeldingTime
def defineColOpsWeldingTime()header
def header()Defines the common Header of the PDF Report, called from FPDF Base Class
cenheader
def cenheader(Operator, portrLands)Defines the customized Header of the PDF Report, underneath common Header
Parameters:
| Name | Type | Description |
|---|---|---|
Operator | — | the CENPyOlpProgramModifyOperator |
portrLands | — | if Report is created in Portrait or Landscape Mode |
cenfooter
def cenfooter(portrLands)Defines the customized Footer of the PDF Report, underneath common Header
Parameters:
| Name | Type | Description |
|---|---|---|
portrLands | — | if Report is created in Portrait or Landscape Mode |
footer
def footer()Defines the common Footer of the PDF Report, called from FPDF Base Class
techTable
def techTable(Operator, headLine, colWidths, order)Defines the customized Body of the PDF Report.
Parameters:
| Name | Type | Description |
|---|---|---|
Operator | — | the CENPyOlpProgramModifyOperator |
headLine | — | the List of the Columns Header Names |
colWidths | — | the List of the Columns Width |
order | — | the List of the ordered Column Numbers |
weldTable
def weldTable(Operator, headLine, colWidths, order)Defines the customized Body of the PDF Report.
Parameters:
| Name | Type | Description |
|---|---|---|
Operator | — | the CENPyOlpProgramModifyOperator |
headLine | — | the List of the Columns Header Names |
colWidths | — | the List of the Columns Width |
order | — | the List of the ordered Column Numbers |
unitConvert
def unitConvert(value, var=0)Converts a Value to the set Unit.
Parameters:
| Name | Type | Description |
|---|---|---|
value | — | — |
var | — | — (default: 0) |
weldPosition
def weldPosition(index)Check and returns if there is a related DataSet where the Program number fits.
Parameters:
| Name | Type | Description |
|---|---|---|
index | — | the Integer Index for the Welding Position |
collectOperation
def collectOperation(Operator, operation)Looping through the requested Operation and getting the welded Length.
Parameters:
| Name | Type | Description |
|---|---|---|
Operator | — | the CENPyOlpProgramModifyOperator |
operation | — | the Adress of the requested Operation |
columnOrder
def columnOrder(order, unsorted)Sorts the complete Range of Columns to the desired Order of the single Columns
Parameters:
| Name | Type | Description |
|---|---|---|
order | — | the numeric List of the desired Order |
unsorted | — | the complete Range of Information per TPE |
header_table
def header_table(Operator)Write a Table with common Program Information
Parameters:
| Name | Type | Description |
|---|---|---|
Operator | — | the CENPyOlpProgramModifyOperator |
colored_table
def colored_table(headings, rows, colWidths)Write the Program TPEs Information to the Table
Parameters:
| Name | Type | Description |
|---|---|---|
headings | — | the List of the Table Header |
rows | — | the List of the TPE Information |
colWidths | — | the List of the Column Width |
stringLF
def stringLF(thisText)Converts an Asteriks * in a String into an Linefeed chr(10)
Parameters:
| Name | Type | Description |
|---|---|---|
thisText | — | — |
calcLinLength
def calcLinLength(teachHandler, lastTpE, opTpe)Calculates linear tool path length
Parameters:
| Name | Type | Description |
|---|---|---|
teachHandler | — | the teach handler |
lastTpE | — | the last tool path element |
opTpe | — | the current tool path element |
calcCircLength
def calcCircLength(teachHandler, lastTpE, opTpe)Calculates circular tool path length
Parameters:
| Name | Type | Description |
|---|---|---|
teachHandler | — | the teach handler |
lastTpE | — | the last tool path element |
opTpe | — | the current tool path element |