Make Pallet not generate more than 3 materials for plane option.

Issue #1078 closed
engetudouiti created an issue

I have not used it before, but it is interesting idea to keep each figure materials to save and re-use them. Thanks!😁

Though it not solve my current request to copy materials between 2 figures which have different material slot assignment.

(eg 10 to 5, or 1 to 10 etc) so I keep request. (https://bitbucket.org/Diffeomorphic/import_daz/issues/1077/generate-material-slots-and-assign-from)

At same time, Make palette seems not work correctly for recent version blender 3.2 when I use Plane option. I just test with simple cube,3 material assign with default UV, then it generate 2 material Grid plane. like this

Error: Python: Traceback (most recent call last):

File "C:\Users\TAKE\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\import_daz\error.py", line 207, in execute

‌ self.run(context)

File "C:\Users\TAKE\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\import_daz\matedit.py", line 1382, in run

‌ for mat in cone.data.materials:

NameError: name 'cone' is not defined. Did you mean: 'One'?

Info: Total files 77 | Changed 77 | Failed 0

===
It is somehow interesting because I set Plane mode, but log point at Cone name… ^^;

Comments (4)

  1. engetudouiti reporter

    Then I test with current Scene merged figure, now it seems generate all material, with plane option.

    (do not know why my cube can not generate correctly)

    but as you see generate some duplicate planes (though it not problem for me,,,)

    like this

    Can you generate one row grid plane from right to left , along with Current material slots?

    (though there may be case, it remain a few materiasl slot which not assgined.. blender offer function to remove mateiral slot which not currently used)

  2. engetudouiti reporter

    Thanks I test later. I do not know when these problem happen. I often tweak slot as I need, so if it cause issue.

    but first cube test, I really do not know why it not worked. ^^;

  3. Log in to comment