Committer: ckloss <ckloss@fluid38.(none)>

On branch master
 Initial commit for lpp, version 2011-10-11
This commit is contained in:
ckloss
2012-02-03 14:10:31 +01:00
commit 80592c0da1
227 changed files with 119295 additions and 0 deletions

15
examples/test_ldump.py Normal file
View File

@ -0,0 +1,15 @@
# simple test of dump tool
# requires files/dump.lines
# uses gl and vcr tools to visualize line segments
d = dump("files/dump.lines")
ld = ldump("files/dump.lines")
ld.map(1,"id",2,"type",6,"end1x",7,"end1y",8,"end2x",9,"end2y")
d.extra(ld)
g = gl(d)
g.arad(0,0.2)
g.lrad(1,5)
g.lcol(1,"green")
v = vcr(g)
print "all done ... type CTRL-D to exit Pizza.py"