Hello everyone! I’m new to Python scripting. I’d like to make a script which can be exporter Camera coordinates as Hex/Binary file format. I’m still confusing how I must to start for it? Thanks.
by camera coordinates you mean the camera object’s location (as seen in properties editor, object tab)?
You can access that for the current object like
bpy.context.object.matrix_world.to_translation()
Writing binary data isn’t related to Blender by any means, check out the python docs etc.
https://docs.python.org/3.4/library/struct.html