[Blender 3.6] UV Packer
This commit is contained in:
parent
80e3c58913
commit
78e31ea49c
18 changed files with 635 additions and 347 deletions
|
@ -35,10 +35,10 @@ logger = logging.getLogger(__name__)
|
|||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
# COLLECTIONS NAMIG CONVENTION
|
||||
part_col_name = 'Part'
|
||||
part_col_name = 'Parts'
|
||||
lcs_col_name = 'LCS'
|
||||
hierarchy_col_name = 'Hierarchy'
|
||||
lowpoly_col_name = 'Lowpoly Parts'
|
||||
lowpoly_col_name = 'Lowpoly'
|
||||
# LCS POINT'S SUFFIXES CONVENTION
|
||||
inlet = '_in'
|
||||
outlet = '_out'
|
||||
|
@ -91,8 +91,6 @@ def json_to_blend(js_data):
|
|||
bmesh.update()
|
||||
bobj = bpy.data.objects.new(js_obj, bmesh)
|
||||
part_collection.objects.link(bobj)
|
||||
else:
|
||||
logger.info('%s has not mesh data!', js_obj)
|
||||
|
||||
if bobj:
|
||||
fc_placement(bobj,
|
||||
|
@ -142,5 +140,5 @@ def json_to_blend(js_data):
|
|||
|
||||
# TODO
|
||||
# update do not dork
|
||||
logger.info('Imported %s objects without errors', len(bobjs))
|
||||
logger.info('Generated %s objects without errors', len(bobjs))
|
||||
return bobjs_for_render
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue