Skip to Content

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:

NameTypeDescription
columnsthe 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:

NameTypeDescription
columnsthe 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()
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:

NameTypeDescription
Operatorthe CENPyOlpProgramModifyOperator
portrLandsif Report is created in Portrait or Landscape Mode

cenfooter

def cenfooter(portrLands)

Defines the customized Footer of the PDF Report, underneath common Header

Parameters:

NameTypeDescription
portrLandsif Report is created in Portrait or Landscape Mode
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:

NameTypeDescription
Operatorthe CENPyOlpProgramModifyOperator
headLinethe List of the Columns Header Names
colWidthsthe List of the Columns Width
orderthe List of the ordered Column Numbers

weldTable

def weldTable(Operator, headLine, colWidths, order)

Defines the customized Body of the PDF Report.

Parameters:

NameTypeDescription
Operatorthe CENPyOlpProgramModifyOperator
headLinethe List of the Columns Header Names
colWidthsthe List of the Columns Width
orderthe List of the ordered Column Numbers

unitConvert

def unitConvert(value, var=0)

Converts a Value to the set Unit.

Parameters:

NameTypeDescription
value
var— (default: 0)

weldPosition

def weldPosition(index)

Check and returns if there is a related DataSet where the Program number fits.

Parameters:

NameTypeDescription
indexthe Integer Index for the Welding Position

collectOperation

def collectOperation(Operator, operation)

Looping through the requested Operation and getting the welded Length.

Parameters:

NameTypeDescription
Operatorthe CENPyOlpProgramModifyOperator
operationthe 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:

NameTypeDescription
orderthe numeric List of the desired Order
unsortedthe complete Range of Information per TPE

header_table

def header_table(Operator)

Write a Table with common Program Information

Parameters:

NameTypeDescription
Operatorthe CENPyOlpProgramModifyOperator

colored_table

def colored_table(headings, rows, colWidths)

Write the Program TPEs Information to the Table

Parameters:

NameTypeDescription
headingsthe List of the Table Header
rowsthe List of the TPE Information
colWidthsthe List of the Column Width

stringLF

def stringLF(thisText)

Converts an Asteriks * in a String into an Linefeed chr(10)

Parameters:

NameTypeDescription
thisText

calcLinLength

def calcLinLength(teachHandler, lastTpE, opTpe)

Calculates linear tool path length

Parameters:

NameTypeDescription
teachHandlerthe teach handler
lastTpEthe last tool path element
opTpethe current tool path element

calcCircLength

def calcCircLength(teachHandler, lastTpE, opTpe)

Calculates circular tool path length

Parameters:

NameTypeDescription
teachHandlerthe teach handler
lastTpEthe last tool path element
opTpethe current tool path element
Was this page helpful?