Skip to content
This repository has been archived by the owner on Jul 31, 2022. It is now read-only.

Create -r option for convert2xkt to rotate LAS & CityJSON about X #38

Open
xeolabs opened this issue Dec 14, 2021 · 0 comments
Open

Create -r option for convert2xkt to rotate LAS & CityJSON about X #38

xeolabs opened this issue Dec 14, 2021 · 0 comments
Assignees

Comments

@xeolabs
Copy link
Member

xeolabs commented Dec 14, 2021

Create new convert2xkt option r, to rotate LAS and CityJSON models 90 degrees about the X-axis as they are converted.

Usage

node convert2xkt -h

Usage: convert2xkt [options]

Options:

    -v, --version           output the version number
    -s, --source [file]     path to source file
    -f, --format [string]   source file format (optional); supported formats are gltf, ifc, laz, las, stl and cityjson
    -m, --metamodel [file]  path to source metamodel JSON file (optional)
    -i, --include [types]   only convert these types (optional)
    -x, --exclude [types]   never convert these types (optional)
    -r, --rotatex           rotate model 90 degrees about X axis (for las and cityjson)
    -o, --output [file]     path to target .xkt file; creates directories on path automatically if not existing
    -l, --log               enable logging
    -h, --help              output usage information

XKT version: 9

To rotate a sample model:

node convert2xkt -s assets/models/laz/indoor.0.1.laz -o indoor.0.1.laz.xkt -r -l
@xeolabs xeolabs self-assigned this Dec 14, 2021
@xeolabs xeolabs changed the title Expose LAS and CityJSON rotateX option via convert2xkt Crate -r option for convert2xkt to rotate LAS & CityJSON about X Dec 14, 2021
@xeolabs xeolabs changed the title Crate -r option for convert2xkt to rotate LAS & CityJSON about X Create -r option for convert2xkt to rotate LAS & CityJSON about X Dec 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant