VolumetricModelToMeshFeatureInput.smallShellThreshold Property

Parent Object: VolumetricModelToMeshFeatureInput

PreviewThis functionality is provided as a preview of intended future API capabilities. You are encouraged to use it and report any problems or suggestions using the Fusion API and Scripts forum.

Because this is a preview of future functionality, there is the possibility that it will change, which will possibly break any existing programs that use this functionality. Because of that, you should never deliver any programs that use any preview capabilities. For a distributed program, you should wait until it has moved from preview to released state.


Defined in namespace "adsk::fusion" and the header file is <Fusion/Features/VolumetricModelToMeshFeatureInput.h>

Description

Gets and Sets the small mesh threshold used to determine if a mesh shell is considered small. The value is a fraction of the total mesh area and must be between 0 and 1. The default is 0.02.

Syntax

"volumetricModelToMeshFeatureInput_var" is a variable referencing a VolumetricModelToMeshFeatureInput object.

# Get the value of the property.
propertyValue = volumetricModelToMeshFeatureInput_var.smallShellThreshold

# Set the value of the property.
volumetricModelToMeshFeatureInput_var.smallShellThreshold = propertyValue
"volumetricModelToMeshFeatureInput_var" is a variable referencing a VolumetricModelToMeshFeatureInput object.
#include <Fusion/Features/VolumetricModelToMeshFeatureInput.h>

// Get the value of the property.
Ptr<ValueInput> propertyValue = volumetricModelToMeshFeatureInput_var->smallShellThreshold();

// Set the value of the property, where value_var is a ValueInput.
bool returnValue = volumetricModelToMeshFeatureInput_var->smallShellThreshold(value_var);

Property Value

This is a read/write property whose value is a ValueInput.

Samples

Name Description
Volumetric Custom Feature API Sample

Demonstrates how to create a Volumetric Custom Feature using the API for graph creation.

To run the sample script, have a document open in Fusion’s DESIGN workspace. This script will create a component with a box by sketching then extruding that sketch. It will then use that box as a boundary body and create a Volumetric Custom Feature.

The script will the create a gyroid lattice using the Volumetric Model API with the appropriate Graphs, Nodes and Connections for a minimal example. Finally, the script will convert that Volumetric Model to Mesh using the API and the VolumetricModelToMeshFeature.

Version

Introduced in version May 2025