Lines 35-41
Link Here
|
35 |
|
35 |
|
36 |
""" |
36 |
""" |
37 |
|
37 |
|
38 |
import sys, os |
38 |
import sys, os, locale |
39 |
|
39 |
|
40 |
for dir in ('Lib', 'Filter', 'Pax'): |
40 |
for dir in ('Lib', 'Filter', 'Pax'): |
41 |
dir = os.path.join(sys.path[0], dir) |
41 |
dir = os.path.join(sys.path[0], dir) |
Lines 56-62
Link Here
|
56 |
import Sketch, Sketch.config |
56 |
import Sketch, Sketch.config |
57 |
Sketch.Issue(None, Sketch.const.INITIALIZE) |
57 |
Sketch.Issue(None, Sketch.const.INITIALIZE) |
58 |
#plugins.load_plugin_configuration(config.plugin_path) |
58 |
#plugins.load_plugin_configuration(config.plugin_path) |
59 |
|
59 |
locale.setlocale(locale.LC_NUMERIC, 'C') |
|
|
60 |
|
60 |
use_bbox = 0 |
61 |
use_bbox = 0 |
61 |
resolution = 72.0 |
62 |
resolution = 72.0 |
62 |
steps = alpha = None |
63 |
steps = alpha = None |