Skip to Content

Arc Report Utility

Class โ€œArcReportUtilityโ€ for ArcWelding PDF Reports

Quick Facts

PropertyValue
ClassArcReportUtility
Modulecenpylib.ArcReportUtility
Packagecenpylib
ReleaseR2025.2.4
Methods52
Inherits fromFPDF

Inheritance

Quick Start

# Boilerplate Example obj = ArcReportUtility()

Lifecycle

MethodReturnsSummary
__init__โ€”Initialization
createAuxCommandArcWeldReportโ€”Pass Command from AutoExecute, e.g.
createPDFReportโ€”Main Method to create the PDF Report

Query Methods

MethodReturnsSummary
getRelatedDataSetโ€”Check and returns if there is a related DataSet where the Program number fits.
getRGBColoursโ€”Get the RGB Colours for the Table Header Row.
getAnyEventโ€”Calculates linear tool path length
getVectorโ€”Gets vector through two points
getVectorLengthโ€”Calculates vector length
getVectorScalarโ€”Calculates vector scalar

Mutation Methods

MethodReturnsSummary
setLanguageโ€”Sets the desired Language
setReportUnitโ€”Sets the desired Unit mm/inch
setDownloadFolderโ€”Sets the desired Report Download Folder, vary from standard DL-Folder

Execution & Actions

MethodReturnsSummary
buildReportNameโ€”Build Report File Name, to be inheritate if customizing desired.

Utilities

MethodReturnsSummary
techColumnSelectionโ€”Get the desired Set of Columns and its Order.
weldColumnSelectionโ€”Get the desired Set of Columns and its Order.
defineFontโ€”Defines the desired Font Type and size to Globals.
defineColumnTitleWidthโ€”Defines the Order of the desired Table Columns.
defineOpsColumnTitleWidthโ€”Defines the Order of the desired Table Columns.
defineColIdโ€”โ€”
defineColMaterialโ€”โ€”
defineColSeamSizeโ€”โ€”
defineColWeldingPositionโ€”โ€”
defineColWeldingSpeedโ€”โ€”
defineColWireDiameterโ€”โ€”
defineColWireFeedSpeedโ€”โ€”
defineColWireConsumptionโ€”โ€”
defineColVoltageโ€”โ€”
defineColCurrentโ€”โ€”
defineColGasFlowโ€”โ€”
defineColGasFlowRateโ€”โ€”
defineColTotalWeldingTimeโ€”โ€”
defineColOpsWeldSeamโ€”โ€”
defineColOpsWPSIDโ€”โ€”
defineColOpsSeamSizeโ€”โ€”
defineColOpsWeldingPositionโ€”โ€”
defineColOpsSeamLengthโ€”โ€”
defineColOpsWeldingTimeโ€”โ€”
headerโ€”Defines the common Header of the PDF Report, called from FPDF Base Class
cenheaderโ€”Defines the customized Header of the PDF Report, underneath common Header
cenfooterโ€”Defines the customized Footer of the PDF Report, underneath common Header
footerโ€”Defines the common Footer of the PDF Report, called from FPDF Base Class
techTableโ€”Defines the customized Body of the PDF Report.
weldTableโ€”Defines the customized Body of the PDF Report.
unitConvertโ€”Converts a Value to the set Unit.
weldPositionโ€”Check and returns if there is a related DataSet where the Program number fits.
collectOperationโ€”Looping through the requested Operation and getting the welded Length.
columnOrderโ€”Sorts the complete Range of Columns to the desired Order of the single Columns
header_tableโ€”Write a Table with common Program Information
colored_tableโ€”Write the Program TPEs Information to the Table
stringLFโ€”Converts an Asteriks * in a String into an Linefeed chr(10)
calcLinLengthโ€”Calculates linear tool path length
calcCircLengthโ€”Calculates circular tool path length

Version Notes

This class is documented as of release R2026.1.1.

Was this page helpful?