From a149f96a766c4d8d63919535cc468c539036165e Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Sun, 19 Jun 2011 18:29:27 -0400 Subject: reverse the face orientation on all triangles in the stl files exported from sketchup. --- color/chromaticity.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'color/chromaticity.py') diff --git a/color/chromaticity.py b/color/chromaticity.py index 6229b51..fbd812a 100644 --- a/color/chromaticity.py +++ b/color/chromaticity.py @@ -1,6 +1,9 @@ import numpy as np +import os -f = open('sbrgb10w.csv') +dir = os.path.split(os.path.realpath(__file__))[0] + +f = open(dir + '/sbrgb10w.csv') color_map = [] for line in f: -- cgit