Author Topic: ao from mesh baker normal-format option has an error.  (Read 637 times)

Quote
Traceback (most recent call last):
  File "C:\Users\Jooyoung\AppData\Roaming\Python\Python37\site-packages\pysbs\batchtools\batchtools.py", line 414, in sbsbaker_ambient_occlusion_from_mesh
    return __sbscall(BatchToolsEnum.BAKER, "ambient-occlusion-from-mesh", *pargs, **kwargs)
  File "C:\Users\Jooyoung\AppData\Roaming\Python\Python37\site-packages\pysbs\batchtools\batchtools.py", line 231, in __sbscall
    __check_option_value(option_name, typename, value)
  File "C:\Users\Jooyoung\AppData\Roaming\Python\Python37\site-packages\pysbs\batchtools\batchtools.py", line 100, in __check_option_value
    name, type(value)
TypeError: normal-format expects a string (received <class 'int'>) <--WHAT?

I didn't tested other bakers, but aoFromMesh baker take string instead of int. But, the document says int.
Last Edit: February 02, 2021, 05:27:45 pm

can you post the python line of code where sbsbaker_ambient_occlusion_from_mesh is used?

Can I send e-mail?

Sure you can sent as pm.