Model Along Path
Usage Instructions
This tool enables the rapid generation of linear models, such as utility tunnels and road guardrails, based on a modeling path and model objects. The resulting data is stored as model instance data.
Parameter Description
| Parameter Name | Description | Type |
|---|---|---|
| Model Object (Optional) |
Specifies the input model object. This can be defined by the output of tools like Import Model or Create LOD. | Model |
| Model File (Optional) |
Selects the model file. Supported formats include: *.s3mb, *.3ds, *.dae, *.osgb, *.off, *.fbx, *.gltf, *.stl, *.obj. | String |
| Transformation Matrix (Optional) |
Specifies the transformation matrix used to translate, rotate, and scale the model object to achieve the desired spatial position. This can be defined by the output of the Transformation Matrix tool. | Matrix |
| Modeling Path | Sets the lofting path for the model object. The model object will be placed along this path, aligned with its own Y-axis direction. This can be defined by the output of tools like Get Dataset Geometry Array. | Geometry |
| Model Smoothing Factor (Optional) |
Sets the smoothness of model turns. A higher smoothing factor results in more rounded turns but increases processing time and the size of the output data. | Integer |
| Modeling Spacing (Optional) |
Sets the distance between successive model objects along the modeling path, in meters. When the spacing is greater than 0, model objects will be distributed along the lofting path at the specified interval. | Double |
| Path Simplification Threshold (Optional) |
Sets the threshold for simplifying the modeling path. A larger value results in a higher degree of simplification. The unit is meters, with a default value of 0.1. When this parameter equals 0, the system will not simplify the modeling path. When it is greater than 0, the system simplifies the path by removing points whose perpendicular distance to the line connecting the start and end of the path segment is less than the threshold (as shown in the animation below). When it is less than 0, the system performs adaptive simplification on the modeling path.
|
Double |
| Flip (Optional) |
Sets whether to flip the model object. | Boolean |
| Is Geodetic (Optional) |
Sets whether the coordinates of the geometry object representing the modeling path are geodetic (longitude/latitude). | Boolean |
Output
| Parameter Name | Description | Type |
|---|---|---|
| Modeling Result | The resulting model instance data. | InstanceCollection |