Surface names on imported .obj, Change

I often obtain assets in the wavefront format.  .OBJ

Many times the surfaces in these are named such that there is no way to know what they are short of adding random colors to see what changes.

Not a very practical solution.

Once I ID those surfaces is there a way I can rename them before saving as a prop so in future can apply colors or textures without having to constantly experiment?

Can this be done in DAZ or in some 3d party utility?

Thanks

Comments

  • GordigGordig Posts: 10,171

    Not 100% sure if this does what you're looking for, but you might give this script a try.

  • macleanmaclean Posts: 2,438

    With most .obj files, it's actually easier to do it in notepad. The line to look for is usually "usemtl MaterialName" which you can change to anything you like. There should also be an accompanying .mtl file with "newmtl MaterialName" entries. These need to have the same new name as the .obj. (Actually, if they don't, DS just assigns a default color, so it's not a crucial extra step)

    Still, if there's a script that does it, all the better

  • Esp. if wanting to make PA items, manually editing anything is not recommended. [used to get products refused]

    Renaming surfaces can be done easily in D/S. Use the Geometry Editor tool and the Tool panel. Name changes on the tool panel are reflected immediately on the Surfaces. On the Tool panel, Right-click on the names of any empty surfaces to remove them. Double-click to type a new name.

     

  • paul_ae567ab9paul_ae567ab9 Posts: 231
    edited August 2020

    I cannot find how to change any of the surface names.

    The geometry editor does not appear to have any option to change surface names that I can find. Does that have to be done on initial inport prior to saving as a prop?

    Would appeciate a little more detailed info.

    Thanks

    daz.jpg
    751 x 526 - 68K
    Post edited by paul_ae567ab9 on
  • FYI closest I can come which helps is use surface selector to ID the surface then put a descrpiter in the Tags field.

    It's a work around until I can find how to change the actual surface names.

  • With the Geometry Editor active the Tool Settings pane will list the groups on the model, and allow renaming by double-click.

  • Catherine3678abCatherine3678ab Posts: 8,384
    edited August 2020

    I cannot find how to change any of the surface names.

    The geometry editor does not appear to have any option to change surface names that I can find. Does that have to be done on initial inport prior to saving as a prop?

    Would appeciate a little more detailed info.

    Thanks

    I said - the Tool Panel. [panel = pane = tab]

    Windows > Panes > Tool Settings

    Feel free to Explore, there are lots of panels, panes, tabs, whatever you want to call them.png
    1070 x 809 - 165K
    Post edited by Catherine3678ab on
  • Thanks !

  • You're most welcome :-)

     

Sign In or Register to comment.