Features request / questions for batch processing

Hi Andrew,

We just purchased WrapX, you’ve done a really nice job on it !

I have few questions about batch processing ;

  • Does the app take flags ? it would be cool to have the ability to do something like “WrapX.exe -s myScript.py” to launch the app and run a script automatically (maybe with an option to do that in command line to make things a bit faster ? )

  • It it possible to open a port in python to execute code sent from another software like maya ?

  • Is it possible to skip the user validation (ok button) for registrations ?, if we already have points loaded from file.

Actually, I’m working on a semi-automated way to detect corresponding points between neutral face retopo and blendshapes scans, and export the UV coords of eahc points. It would be awesome to process all the blendshapes in wrapX automatically.

Thanks for your work !

Paul.

Hi Paul!

  1. Release 1.0 doesn’t take flags. Very soon there will be update which will take it. If it is urgent to you I can send you pre-update version with this modification.

  2. Since WrapX ships with full python package you can do anything network-related in the script, if I understand correctly your question. Could you please specify your use case?

  3. Of course. Registrations just use previously created lists of points. Lists of points can be loaded from file using function wrap.loadPoints http://www.russian3dscanner.com/docs/WrapX/wrapFunctions.html#wrap.loadPoints

We created public repo for user scripts. https://github.com/Russian3DScanner/WrapXScripts/tree/master/BatchWizard Here you can see BatchWizard set of scripts which divides batch processing in two steps - first with user interaction while setting control points and second with fully automated registrations.

Thanks for reply :slight_smile:

  1. Flags would be cool for our R&D, if would be awesome if you could send us the pre-release at unit@unit-image.com

2.Usually in Maya, I use maya.cmds.commandPort(n = ‘:6001’, sourceType=‘python’) to open a port, so I can execute code in Maya, sending it from another software using Python Socket, You’re right, since cmds.commandPort is a Maya fonction, I need to find the regular Python way to do that.

  1. Thanks, things are much clear right now :slight_smile:

Some others features ideas :

  • Topology brush : would be awesome => a brush to make the topology slide on the mesh.
  • Possibility to link the 2 viewport cameras for user points creation.
  • Function to color points (vuvuzella style) => easier to see if it matches
  • Blendshape preview with slider
  • Texture wrapping function (to deform all blendshapes textures of a character, may be done with : feature detect on neutral texture => optical flow tracking through textures => wrap blendhsapes textures)

Thanks :slight_smile:

Hi,

First of all great job with WrapX and thanks for the free upgrade from wrap.
We would also be interested by the possibility to launch wrapx with command line parameter to automatically start a script.
Is it already present in version 1.15? I did not found the change list for that version.

Best,

Sylvain

Hi sylvain!

Yes, you can start WrapX 1.1.5 with command line arguments. This is the usage:

WrapX.exe [–noexit] [filename] [args..]

–noexit : Don’t exit program after script execution
filename : File name to execute
args.. : Any number of arguments which will be passed to python script

Since WrapX is a window application it does not automatically create console window. You may find that for debugging purposes you may want to have it every time when application starts. If you need it, I can compile such version and send to you.