StitchFeatures.createInput Method
Parent Object:
StitchFeaturesDefined in namespace "adsk::fusion" and the header file is <Fusion/Features/StitchFeatures.h>
Description
Creates a StitchFeatureInput object. Use properties and methods on this object to define the stitch feature you want to create and then use the Add method, passing in the StitchFeatureInput object.
Syntax
"stitchFeatures_var" is a variable referencing a StitchFeatures object.# Uses no optional arguments. returnValue = stitchFeatures_var.createInput(stitchSurfaces, tolerance)
# Uses optional arguments. returnValue = stitchFeatures_var.createInput(stitchSurfaces, tolerance, operation)
|
"stitchFeatures_var" is a variable referencing a StitchFeatures object.
#include <Fusion/Features/StitchFeatures.h>
// Uses no optional arguments. returnValue = stitchFeatures_var->createInput(stitchSurfaces, tolerance);
// Uses optional arguments. returnValue = stitchFeatures_var->createInput(stitchSurfaces, tolerance, operation);
|
Return Value
StitchFeatureInput |
Returns the newly created StitchFeatureInput object or null if the creation failed. |
Parameters
stitchSurfaces |
ObjectCollection |
The surfaces (open BRepBodies) to stitch together. Stitching surfaces can form multiple closed volumes resulting in multiple solids. Stitch Surfaces can form multiple BRepShells (entirely connected set of entities) that would result in a single non-solid BRepBody. |
tolerance |
ValueInput |
ValueInput object that defines the stitching tolerance. It must define a distance value. |
operation |
FeatureOperations |
Specifies the operation type for the result when the final result is a closed solid. Otherwise this argument is ignored.
This is an optional argument whose default value is FeatureOperations.NewBodyFeatureOperation. |
Samples
Version
Introduced in version June 2015