This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Author: Iyad Ahmed | |
import bpy | |
# importing numpy is slow for first time | |
import numpy as np | |
prev_mode = bpy.context.object.mode | |
bpy.ops.object.mode_set(mode="OBJECT") |
OlderNewer