I want to create a mesh outside of blender, using bmesh module, and save it into an OBJ or whatever, completely through a python script.
bmesh itself is available from outside, but since I don't open blender, there would be no saving options available. How can I do that?

  • $\begingroup$ bmesh module only works with blender. $\endgroup$
    – Karan
    Mar 17 at 10:24
  • $\begingroup$ You can run blender in background through the command line docs.blender.org/manual/en/latest/advanced/command_line/… $\endgroup$
    – Karan
    Mar 17 at 10:25
  • $\begingroup$ bmesh module is accessible without requiring blender running, look this doc link. this module is somehow separate from other blender modules. $\endgroup$ Mar 17 at 12:12
  • $\begingroup$ yes in order to use it without opening the blender, you have to install it in your system as a python package/module. $\endgroup$
    – Karan
    Mar 17 at 13:25
  • $\begingroup$ can you import bmesh in your python file? $\endgroup$
    – Karan
    Mar 17 at 13:26


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.