예제 #1
0
파일: engine.py 프로젝트: peca3d/vb30
 def use_zmq(self):
     return SysUtils.hasZMQEnabled()
예제 #2
0
파일: engine.py 프로젝트: bdancer/vb30
 def use_zmq(self):
     return SysUtils.hasZMQEnabled()
예제 #3
0
파일: engine.py 프로젝트: peca3d/vb30
import sys
import subprocess
import ipaddress

import bpy
import _vray_for_blender

from vb30.lib import SysUtils
from vb30 import export, debug

from vb30.lib.VRayStream import VRayExportFiles
from vb30.lib.VRayStream import VRayFilePaths

# Check if current build support new RT exporter
HAS_VB35 = SysUtils.hasRtExporter()
HAS_ZMQ = SysUtils.hasZMQEnabled()
if HAS_VB35:
    import _vray_for_blender_rt


# This will hold handle to subprocess.Popen to the zmq server if
# it is started in local mode, and it should be terminated on Shutdown()
#
class ZMQProcess:
    log_lvl_translate = {
        'ERROR': '4',
        'WARNING': '3',
        'DEBUG': '2',
        'INFO': '1',
    }
    _zmq_process = None
예제 #4
0
파일: engine.py 프로젝트: bdancer/vb30
import bpy
import _vray_for_blender

from vb30.lib import SysUtils, PathUtils
from vb30 import export, debug
from vb30 import osl

from vb30.plugins import PLUGINS_ID
from vb30.lib.VRayStream import VRayExportFiles
from vb30.lib.VRayStream import VRayFilePaths


# Check if current build support new RT exporter
HAS_VB35 = SysUtils.hasRtExporter()
HAS_ZMQ = SysUtils.hasZMQEnabled()
if HAS_VB35:
    import _vray_for_blender_rt



# This will hold handle to subprocess.Popen to the zmq server if
# it is started in local mode, and it should be terminated on Shutdown()
#
class ZMQProcess:
    log_lvl_translate = {
        'ERROR': '4',
        'WARNING': '3',
        'DEBUG': '2',
        'INFO': '1',
    }