Add new commands to show/hide mesh parts
Is your feature request related to a problem? Please describe.
Some assets may have mesh parts the user do not want to visualize.
A good example is a convex hull collision mesh surrounding the main mesh.
In this specific case, if the asset is created for UE, its name is prefixed by UCX_.
Describe the solution you'd like
We should add commands to hide/show parts based on the mesh name and a regexp (or glob)
e.g. hide_part UCX_.* will hide the convex hull.
That way, users can bind a key to hide some parts based on their workflow.
Additional context At the moment, mesh names are not stored by importers, so that must be added too.
https://dev.epicgames.com/documentation/en-us/unreal-engine/fbx-static-mesh-pipeline-in-unreal-engine?application_version=5.4#collision
This needs https://github.com/f3d-app/f3d/issues/18 before being fixable
Added data and unreal specific resources
Despite this command is very useful to hide many generated objects, interactive UI would be much better for simple usage - to hide and show specific objects. Imagine you want to hide some specific object but you dont know its name. So you have to open console, then type something like:
part list // you know there that the name is "box123"
part hide box123
With UI, you can just click a checkbox, this is much easier.
Despite this command is very useful to hide many generated objects, interactive UI would be much better for simple usage - to hide and show specific objects. Imagine you want to hide some specific object but you dont know its name. So you have to open console, then type something like:
part list // you know there that the name is "box123" part hide box123With UI, you can just click a checkbox, this is much easier.
Well, both are planned :)