This package contains set of functions used for reading and writing 3D data.
Use anaconda
conda install -c mjirik io3d
or
pip install io3d
You can use 3D viewer sed3 for visualization.
pip install sed3
python io3d/datareader.py -i ./sample_data/jatra_5mm/
import io3d
import sed3
dr = io3d.DataReader()
datap = dr.Get3DData('sample_data/jatra_5mm/', dataplus_format=True)
ed = sed3.sed3(datap['data3d'])
ed.show()
import io3d.datareaderqt
app = QtGui.QApplication(sys.argv)
w = io3d.datereaderqt.DatareaderWidget()
w.show()
app.exec_()
datap = w.datap
Get sample data with io3d
package:
python -m io3d -l 3Dircadb1.1
Get list of available datasets:
python -m io3d -L
... or download data:
Put this data into sample_data dir.
python -m io3d -c directory_path