subassembly models setup from SDFormat file
This commit is contained in:
parent
6af0f188a7
commit
95437a4527
7 changed files with 145 additions and 14 deletions
|
@ -14,7 +14,7 @@ from utils.remove_collections import remove_collections
|
|||
from utils.cleanup_orphan_data import cleanup_orphan_data
|
||||
from remesh import asset_setup
|
||||
from export.dae import export_dae
|
||||
from export.stl import export_stl
|
||||
from export.collision import export_col_stl
|
||||
|
||||
sys.path.append('/home/bm/bin/blender-git/blender_bin') # import blender module
|
||||
import bpy
|
||||
|
@ -31,7 +31,7 @@ def freecad_asset_pipeline(fcstd_path, export_path, tessellation=20):
|
|||
asset_setup()
|
||||
bpy.ops.wm.save_as_mainfile(filepath="/home/bm/test.blend")
|
||||
export_dae(export_path)
|
||||
export_stl(export_path)
|
||||
export_col_stl(export_path)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue