added face information to the grid. i need to parse and add point->face information ... somehow ...
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import sys
|
||||
|
||||
from grid import simple_rect_grid
|
||||
from smcqdelaunay import get_qdelaunay_dump_str
|
||||
|
||||
if __name__ == '__main__':
|
||||
try:
|
||||
resolution = int(sys.argv[1])
|
||||
except:
|
||||
resolution = 3
|
||||
g = simple_rect_grid(resolution, resolution)
|
||||
s = get_qdelaunay_dump_str(g)
|
||||
g.construct_connectivity(s)
|
||||
print g
|
||||
Reference in New Issue
Block a user