Discussion on the feasibility of exporting FBX through zscript
-
I will implement a script to save the current scene to an FBX. Can this be done in zscript? If anyone knew, I would be extremely grateful!
-
Hello @qq475519905,
ZScript does not have the capability to export scenes to FBX format directly. ZScript is primarily used for automating tasks within ZBrush and does not have extensive file I/O capabilities beyond what is needed for ZBrush-specific tasks.
When you want to write a custom FBX exporter, you would have to use the GoZ ZBrush API, this would allow you to use C++ or pretty much every other language (you have tagged this as C++). Writing an FBX exporter is however no trivial task.
Cheers,
Ferdinand -
hello, I have created a simple script using zscript, but every time I export it, a 'FBX Export Options' window pops up. Do you want to allow direct export without a settings window? I would be very grateful if you could provide some tips!
-
This post is deleted! -
@ferdinand Hello, I have created a simple export script using zscript, but every time I export it, a "FBX Export Options" window pops up. Do you want to allow direct export without setting up a window? I would greatly appreciate it if you could provide some suggestions!
-
Hey @qq475519905,
sorry for the delay. As I said in the beginning, you can implement your own serializer using GoZ. But there is no dedicated exporter API in ZScript. I assume you are using some
RoutineCall
to achieve what you are doing. You cannot escape any GUI associated with such call.Cheers,
Ferdinand