three_d_match.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:match3d 作者: ascribe 项目源码 文件源码
def generate_images(stl_directory_name, blender_args=None):
        output_directory = tempfile.mkdtemp()

        if not blender_args:
            blender_args = ['blender',
                    '-b', '-P', 'image_match_generator.py', '--',
                    '-d', abspath(expanduser(stl_directory_name)),
                    '-o', output_directory,
                    '--no-rotations',
                    '--only-front-view']

        spawnvp(P_WAIT, 'blender', blender_args)
        return output_directory
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号