AdditiveFEAUtility.warpTriangleMesh Method

Parent Object: AdditiveFEAUtility
Defined in namespace "adsk::cam" and the header file is <Cam/ModifyUtility/AdditiveFEAUtility.h>

Description

Generates a warped or compensated mesh from a completed mechanical FEA operation and inserts it into the design. The direction of the warp (warpage vs. compensation) is controlled by the sign of the WarpCard value in the deck.

Syntax

"additiveFEAUtility_var" is a variable referencing an AdditiveFEAUtility object.

returnValue = additiveFEAUtility_var.warpTriangleMesh(deck)
"additiveFEAUtility_var" is a variable referencing an AdditiveFEAUtility object.

#include <Cam/ModifyUtility/AdditiveFEAUtility.h>

returnValue = additiveFEAUtility_var->warpTriangleMesh(deck);
"additiveFEAUtility_var" is a variable referencing an AdditiveFEAUtility object.

returnValue = additiveFEAUtility_var.warpTriangleMesh(deck);

Return Value

Type Description
boolean True on success, false on failure.

Parameters

Name Type Description
deck AdditiveFEADeckBuilder An AdditiveFEADeckBuilder containing the warp parameters. The WarpCard value's sign determines the warp direction: use a positive value (e.g. +1.0) for warpage, or a negative value (e.g. -1.0) for unrelaxed compensation. The magnitude acts as a magnification factor.

Samples

Name Description
Additive MPBF FEA Process Simulation API Sample

Demonstrates how to automate an additive Metal Powder Bed Fusion (MPBF) thermo-mechanical process simulation using the Additive FEA API.

The script creates a new Fusion design containing a simple box body, switches to the MANUFACTURE workspace, and creates an Additive setup using the Autodesk Generic MPBF machine and the MPBF 60 micron print setting from Fusion's library.

It then constructs an FEA input deck with the AdditiveFEADeckBuilder, configuring a thermo-mechanical analysis (layers per element, coarsening generations, adaptivity, STL tolerance, ambient and final temperatures, build plate Z bounds and XY extension, convection, and an STL map). The deck is applied to a process simulation operation, the PRM file derived from the print settings is attached, and the simulation is run via generateToolpath. The script parses signalFileContents to confirm a successful finish, then builds a second deck and uses AdditiveFEAUtility.warpTriangleMesh to generate a warped triangle mesh from the simulation results.

Version

Introduced in version May 2026