Arc Report Utility
Class โArcReportUtilityโ for ArcWelding PDF Reports
Quick Facts
| Property | Value |
|---|---|
| Class | ArcReportUtility |
| Module | cenpylib.ArcReportUtility |
| Package | cenpylib |
| Release | R2025.2.4 |
| Methods | 52 |
| Inherits from | FPDF |
Inheritance
Quick Start
# Boilerplate Example
obj = ArcReportUtility()Lifecycle
| Method | Returns | Summary |
|---|---|---|
__init__ | โ | Initialization |
createAuxCommandArcWeldReport | โ | Pass Command from AutoExecute, e.g. |
createPDFReport | โ | Main Method to create the PDF Report |
Query Methods
| Method | Returns | Summary |
|---|---|---|
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
| Method | Returns | Summary |
|---|---|---|
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
| Method | Returns | Summary |
|---|---|---|
buildReportName | โ | Build Report File Name, to be inheritate if customizing desired. |
Utilities
| Method | Returns | Summary |
|---|---|---|
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?