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 R2025.2.4.
Was this page helpful?