How to code a script to export 3D model to a special file format

Hello, everyone. How to code a script to export 3D model to a special file format? Is any tutorial or books to be referenced? Thanks advanced!:stuck_out_tongue:

Do you want to export to a format Blender already supports, or are you wondering about a new/custom format?

First, I thank you to reply.Second, I want to export new/custom format.

We have no idea without seeing the format. It could be very simple if you’re just exporting a bunch of points’ locations in 3D space, or it could be very complex if you’re aiming at a full interchange format. I doubt you’ll find a book on your particular format, and it’s honestly one of those questions where, if you need to ask for a walkthrough, you likely need to do more general coding and problem solving study before you’re ready.