This file contains hidden or 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
import os | |
import numpy as np | |
from PIL import Image | |
#------------------------------------------------------------------- | |
# | |
# helper functions | |
# | |
def create_complex_plane(X, Y, x0, x1, y0, y1, endpoint=False): | |
I = np.indices((Y,X)).astype(np.float64) |
This file contains hidden or 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
import os | |
import numpy as np | |
from PIL import Image | |
#------------------------------------------------------------------- | |
# | |
# helper functions | |
# | |
def create_complex_plane(X, Y, x0, x1, y0, y1, endpoint=False): | |
I = np.indices((Y,X)).astype(np.float64) |
This file contains hidden or 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
import os | |
import numpy as np | |
from PIL import Image | |
#------------------------------------------------------------------- | |
# | |
# helper functions | |
# | |
def create_complex_plane(X, Y, x0, x1, y0, y1, endpoint=False): | |
I = np.indices((Y,X)).astype(np.float64) |
This file contains hidden or 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
import numpy as np | |
from PIL import Image | |
#------------------------------------------------------------------- | |
# | |
# a few helper functions | |
# | |
def create_XY(X, Y, x0, x1, y0, y1, endpoint=False, dtype=np.float64): | |
I = np.indices((Y,X)).astype(np.float64) | |
fy = (y1 - y0) / (Y - 1) if endpoint else (y1 - y0) / Y |
This file contains hidden or 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
using System; | |
namespace Mine | |
{ | |
// helper class | |
public class PluginData | |
{ | |
public DateTime _creation_time; | |
public Autodesk.Revit.UI.IExternalCommand _instance; |