|
|
Attention:
|
|
|
|
|
|
- need to add to C:\Program Files\Blender Foundation\Blender 3.1\3.1\python\lib\site-packages in windows all the content of the Python/librairy yaml
|
|
|
|
|
|
the scripts to export Director task is : extractDTask.py
|
|
|
|
|
|
This script create an output file in yaml.
|
|
|
Structure as is :
|
|
|
- cube :
|
|
|
- [name of cube 1]:
|
|
|
- rotation : [val] in radians
|
|
|
- x : [val] in meters
|
|
|
- y : [val] in meters
|
|
|
- z : [val] in meters
|
|
|
- [name of cube 2]:
|
|
|
- rotation : [val] in radians
|
|
|
- x : [val] in meters
|
|
|
- y : [val] in meters
|
|
|
- z : [val] in meters
|
|
|
- ...
|
|
|
- box :
|
|
|
- [name of box 1]:
|
|
|
- rotation : [val] in radians
|
|
|
- x : [val] in meters
|
|
|
- y : [val] in meters
|
|
|
- z : [val] in meters
|
|
|
- [name of box 2]:
|
|
|
- rotation : [val] in radians
|
|
|
- x : [val] in meters
|
|
|
- y : [val] in meters
|
|
|
- z : [val] in meters
|
|
|
- ...
|
|
|
|
|
|
Parameters :
|
|
|
- argRefObject => name of the reference object all the objects (in the 2 collections indicated afterwards) above it will be taken into account for the export
|
|
|
- argCollectionCube => name of the collection with all cubes for the DT
|
|
|
- argCollectionBox => name of the collection with all box for the DT
|
|
|
- delta => margin to calculate if the object if an object is above the reference object
|
|
|
- path => path where the output file while be save
|
|
|
|
|
|
Next Step [import dans Ue4](Ue4/importDT) |
|
|
\ No newline at end of file |