Python API - must have

Having the Python API made for some Extremely convenient processing. I really hope you considering supporting it in Wrap3 and future versions. I can’t understate this enough. For example, I could use external algorithms or scripts in Autodesk’s Maya for automating the process of finding corresponding points between shapes. For example I wrote an algorithm in Maya for detecting colored marker dots and finding corresponding marker names between different scans that are written to a text file that can be read into WrapX as pointOnTriangles (barycentric coords) instead of having to manually select them on both source and destination meshes. It was also convenient for using an automated process for finding corresponding freePolygon areas on the good/desirable geometry in places where there were holes in original scans. I could write those out as text files and read them into WrapX as a freePolygonIndicesFloating array parameter during nonRigidRegistration, ect… Mind you, I love your visual node based visual batch processing as an option, however I feel like much of the power of WrapX has been stripped away without the Python API. :frowning: Please, please consider adding it. (P.S. Your Wrap programs rock!)

Cheers,
Spencer

Hello Spencer,

Thank you for the feedback. We will definitely add some automation abilities to Wrap3 later.

However there is a work-around for now. Starting from version 3.2 (will be released in few days) you can run Wrap3 from command line passing it a project file. It will compute the file and close itself.

Please find out more about command line interface here:
http://www.russian3dscanner.com/docs/Wrap3/CommandLineInterface/CommandLineInterface.html

Since *.wrap project file is just a text file in JSON format you can easily change node parameters from external script. Please check more about how to do that here:
http://www.russian3dscanner.com/docs/Wrap3/ProjectFileEdit/ProjectFileEdit.html

I know this is a temporaly solution but I think it can be used for many of usecases.

Hi Andrew,
I will look forward to the upcoming update. That should really help. I’ll be very interested in seeing your eventual automation enhancements as well. Thank you for the feedback!
Cheers,
Spensa

Hello Spencer,

I’m exploring methods for marker detecting within Maya. Would you be able to share your algorithm approach?

Thank You,

Dan