writers.fbx

writers.fbx#

Output to the Autodesk FBX format. You must use a filter that creates a mesh, such as filters.poisson or filters.greedyprojection, in order to use this writer.

Dynamic Plugin

This stage requires a dynamic plugin to operate

Compilation#

You must download and install the Autodesk SDK and then compile the PDAL FBX plugin against it. Visit https://aps.autodesk.com/developer/overview/fbx-sdk to obtain a current copy of the SDK.

Example Windows CMake configuration

-DFBX_ROOT_DIR:FILEPATH="C:fbx2019.0" -DBUILD_PLUGIN_FBX=ON

Example#

[
    {
        "type":"readers.las",
        "filename":"inputfile.las"
    },
    {
        "type":"filters.poisson"
    },
    {
        "type":"writers.fbox",
        "filename":"outputfile.fbx"
    }
]
pdal translate autzen.las autzen.fbx -f poisson

Options#

filename

FBX filename to write. [Required]

ascii

Write ASCII FBX format. [Default: false]

where

An expression that limits points passed to a writer. Points that don’t pass the expression skip the stage but are available to subsequent stages in a pipeline. [Default: no filtering]

where_merge

A strategy for merging points skipped by a ‘where' option when running in standard mode. If true, the skipped points are added to the first point view returned by the skipped filter. If false, skipped points are placed in their own point view. If auto, skipped points are merged into the returned point view provided that only one point view is returned and it has the same point count as it did when the writer was run. [Default: auto]