depthmapX for Node.js
Command Line Interface bindings for SpaceGroupUCL/depthmapX.
Compatibility
- OSX and Linux are fully supported.
- Windows will be supported soon after the next release of depthmapX CLI.
https://github.com/archilogic-com/node-depthmapX/issues/1
Methods
Every global option in depthmap CLI translates to a module method.
CLI mode option | node module method |
---|---|
-m VGA | dmx.vga |
-m LINK | dmx.link |
-m VISPREP | dmx.visprep |
-m AXIAL | dmx.axial |
-m AGENTS | dmx.agents |
-m ISOVIST | dmx.isovist |
-m EXPORT | dmx.exportData |
-m IMPORT | dmx.importData |
Method Options
depthmapX CLI options are translated directly into node method options. See official depthmapX CLI docs for reference.
Example
const dmx = // 1. import file dmx