summaryrefslogtreecommitdiff
path: root/cad/src/experimental/oleksandr/README.txt
blob: 58c96fc8c2462f1d1b52a29f2abe60e41fb622f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
README.txt in cad/src/experimental/oleksandr
for psurface module, used by SurfaceChunks chunk display style

# $Id$ 

Copyright 2006-2008 Nanorex, Inc.  See LICENSE file for details. 

===

How to compile:

cd into this directory

% make

On Mac this should produce psurface.so. 

Copy or symlink this into some directory on your Python path when NE1 is run,
e.g. cad/src. 

Then run NE1, make a chunk, select it,
and use the debug menu -> other command "SetDisplay(SurfaceChunks)".

(It may be necessary to have set the debug_pref 'enable SurfaceChunks next session?'.)

This will print one of two things, depending on whether "import psurface" succeeded
(when it ran once at NE1 startup):

            print "psurface not imported, check if it has been built"
            print " (will use slow python version instead)"
        else:
            print "fyi: psurface import succeeded:", psurface