export_mesh.ts 352 B

123456789101112
  1. function export_mesh_run(path: string, paint_objects: mesh_object_t[] = null, apply_disp: bool = false) {
  2. if (paint_objects == null) {
  3. paint_objects = project_paint_objects;
  4. }
  5. if (context_raw.export_mesh_format == mesh_format_t.OBJ) {
  6. export_obj_run(path, paint_objects, apply_disp);
  7. }
  8. else {
  9. export_arm_run_mesh(path, paint_objects);
  10. }
  11. }