Organizing Targets

This forum is aimed at user contributions, in the form of assets, side projects, code patches and similar.

Moderator: joepal

Organizing Targets

Postby Ricardo2020 » Sun Sep 26, 2021 4:23 pm

My custom folder inside MakeHuman/Home has hundreds of targets. Leaving them all inside one folder caused the list of sliders to become overwhelming to the point of taking a lot of time just to find the desired control. So, I did the logical thing. I created sub folders and put the relevant targets inside of them.

Screenshot from 2021-09-26 12-21-03.png
MakeHuman/Home/Data/Custom
Target folders on main workstation running Linux Mint


Now that the targets are sorted, they become much easier to find. When I select custom, the sliders are still in the left pane, but the right pane is now populated with the folders. Selecting a folder brings up those targets it contains in the left pane.

Thus, I spend much less time hunting down a given target and much more time playing with the sliders. It streamlines my work flow tremendously!
Paddle faster. I hear charango music!
User avatar
Ricardo2020
 
Posts: 131
Joined: Sat Apr 18, 2020 4:17 pm
Location: Tennessee

Re: Organizing Targets

Postby punkduck » Mon Oct 11, 2021 7:17 pm

It would be best before you create models. For all who did that later (like myself :shock: and I guess this would happen in most cases) there is some additional work --- you have to change your model files.

search for "custom" and then enter the subdirectory before the file name.

So given that you created a folder mouth and used

Code: Select all
modifier custom/close_lips


it must be

Code: Select all
modifier custom/mouth-close_lips


now. Otherwise the missing target is skipped.
User avatar
punkduck
 
Posts: 1216
Joined: Mon Oct 17, 2016 7:24 pm
Location: Nuremberg, Germany

Re: Organizing Targets

Postby Ricardo2020 » Mon Oct 11, 2021 8:54 pm

Many thanks, punkduck.

This helps tremendously since the path statements within these text files are a cinch to edit using the corrected syntax you have given. Now to go about doing that for my vast collection of models, now numbering in the hundreds...

What would really be neat is a path parser/updater utility which could update these paths within the target statements inside a given model file. It could be a simple stand alone device or even incorporated into MH so that, when paths change, they can be easily updated.

Many thanks for the advice.
Paddle faster. I hear charango music!
User avatar
Ricardo2020
 
Posts: 131
Joined: Sat Apr 18, 2020 4:17 pm
Location: Tennessee


Return to User contributions

Who is online

Users browsing this forum: No registered users and 1 guest

cron