Changeset 363 for inundation/ga/storm_surge/pmesh/load_mesh/loadASCII.py
- Timestamp:
- Oct 6, 2004, 5:39:01 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pmesh/load_mesh/loadASCII.py
r360 r363 65 65 apointattributes.append(float(fragment)) 66 66 pointattributes.append(apointattributes) 67 68 ######### loading the point title info 69 vertTitle = [] 70 for index in range(int(NumOfVertAttributes)): 71 #print index 72 fragments = fd.readline() 73 vertTitle.append(fragment) 67 74 68 75 ######### loading the triangle info … … 299 306 vertices = gen_dict['generatedpointlist'] 300 307 vertices_attributes = gen_dict['generatedpointattributelist'] 308 vertices_attribute_titles = gen_dict['generatedpointattributetitlelist'] 301 309 triangles = gen_dict['generatedtrianglelist'] 302 310 triangles_attributes = gen_dict['generatedtriangleattributelist'] … … 325 333 + attlist + "\n") 326 334 index += 1 335 336 # write comments for title 337 fd.write(" # attribute column titles ...Triangulation Vertex Titles..." + "\n") 338 for title in vertices_attribute_titles: 339 fd.write(title + "\n") 327 340 328 341 #<# of triangles>
Note: See TracChangeset
for help on using the changeset viewer.