Language: English | 日本語
A docker image to run FBX SDK Python with Node.js.
This docker image is published on Docker Hub below. https://hub.docker.com/r/seguropus/fbx-sdk-python-nodejs
# Make docker image
docker-compose build
# Execute docker container
docker-compose up
You can get list of file formats which FBX SDK can read.
# download from docker hub
docker pull seguropus/fbx-sdk-python-nodejs:latest
# execute container
docker run -it seguropus/fbx-sdk-python-nodejs:latest /bin/ash
FBX SDK has been already installed in the docker image. You can use like below.
from fbx import *
manager = FbxManager.Create()
python-shell
has been already installed in the docker image. You can use like below.
const pythonShell = require('python-shell');
const pyOption = {
pythonPath: '/usr/local/bin/python',
}
const pyShell = new pythonShell.PythonShell('main.py', pyOption);
pyShell.on('message', (message) => {
console.log(message);
});
The FBX SDK Python is under Autodesk License (see License.txt)