customize ZBrush add-on
-
I would like to implement an add-on that should launch a background thread when ZBrush starts, and can export current scene to a common 3D model format to a specified path. This exporting function will run in the background thread and be triggered by an external program, not ZBrush.
I looked into GoZ and ZScript, it seems they do not meet my requirements.
Does anyone have any ideas? -
@LeonGao007 Welcome to the Maxon developers forum and its community, it is great to have you with us!
Getting Started
Before creating your next postings, we would recommend making yourself accustomed with our forum and support procedures. You did not do anything wrong, we point all new users to these rules.
- Forum Overview: Provides a broad overview of the fundamental structure and rules of this forum, such as the purpose of the different sub-forums or the fact that we will ban users who engage in hate speech or harassment.
- Support Procedures: Provides a more in detail overview of how we provide technical support for APIs here. This topic will tell you how to ask good questions and limits of our technical support.
- Forum Features: Provides an overview of the technical features of this forum, such as Markdown markup or file uploads.
It is strongly recommended to read the first two topics carefully, especially the section Support Procedures: Asking Questions.
About your First Question
I've reached Zbrush developers, however I doubt what you ask for is possible.
First of all exporting Zbrush scene in a background thread, this would imply you copy the full scene in memory in order to avoid any issue if the user edits the scene while your edit it. I'm not an expert at it, but I do not think that Zbrush support that at all.
Exporting current scene to a common 3D model format to a specific path, this is possible via Script however from what I understand if the export plugin, trigger a popup you are screwed as you can see here Zplugin:USD Format:Save set save location through zscript.
Finally regarding GoZ, this is a custom file format, it work by saving everything into a given folder (in the temp folder), then call an executable that will load this custom GoZ file format.So from my perspective what you are asking for is not possible, but please wait until I confirm that with a Zbrush developers.
Cheers,
Maxime. -
@m_adam thanks for your prompt response. I'm looking forward to hearing from you.