Добавлен опциональный алгоритм тесселяции

This commit is contained in:
Igor Brylyov 2023-07-01 14:52:09 +03:00
parent 839ce36c70
commit 23edfea360
2 changed files with 18 additions and 9 deletions

View file

@ -72,10 +72,12 @@ def freecad_asset_pipeline(fcstd_path,
remove_collections()
cleanup_orphan_data()
# import objects
# import objects, tesselation method can be "Standard" by default with linear/angular deflection parameters and Mefisto with max edge length parameter
objs_for_render = obj_importer(fcstd_path,
tesselation_method,
linear_deflection,
angular_deflection)
angular_deflection,
max_edge_length)
# restructuring hierarchy by lcs points
lcs_objects = restruct_hierarchy()