Skip to content

Conversation

mikedh
Copy link
Owner

@mikedh mikedh commented Sep 26, 2025

  • Be more flexible in getting unit hints from file names since it was a little silly that 20mm-xyz-cube did not resolve as mm.
  • Apply actions guidance updating to use the macos-15-intel image.
  • test and fix trimesh.scene.lighting.autolight crashing on empty scenes by checking scene.bounds is None
  • release Pass PBRMaterial name to SimpleMaterial during conversion #2470
  • add a note about whether or not we should apply the fix from Material fixes for trimesh.util.concatenate() #2457 to PBRMaterial.to_simple using the same conversion function for the linear baseColorFactor to RGB, but don't actually apply the change as it seems likely to be a source of user confusion.
  • add a Path2D.convex_hull to match every other geometry method.
  • update test_scene.py to pytest style

mikedh and others added 11 commits September 26, 2025 15:41
Currently the name of PBRMaterial is lost when calling to_simple() which causes issues when exporting meshes with named materials in obj format.
Hi @mikedh!

Currently the name of PBRMaterial is lost when calling to_simple() which
causes issues when exporting meshes with named materials in obj format.
More specifically, the baseColorTexture will always be saved as an image
with name ```material_0.png```, and I couldn't find any workaround to
override this name; this means if saving two such meshes in the same
directory, only the last texture image would be available. I provided
the simple fix to pass the name, but please let me know if there is an
alternative.

Thanks for the amazing library!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants