perryjohnson / spardesign2

parametric analysis of biplane spars (rewritten from the ground up)
2 stars 0 forks source link

OOP Parse ABAQUS files #4

Closed perryjohnson closed 12 years ago

perryjohnson commented 12 years ago

Rewrite the module that parses ABAQUS files (outputted from TrueGrid) to be object-oriented and more modular.

perryjohnson commented 12 years ago

The old location of this code was spardesign/truegrid/ABAQUSutilities.py. The new location of this code will be spardesign2/scripts/abaqus_utilities.py

whophil commented 12 years ago

Complete.

perryjohnson commented 12 years ago

A note on old modules. I removed the code that used temp files to help parse ABAQUS grid files, making the following changes below.

Some modules have been renamed: readFile() --> _read_file() defineRegularExpressions() --> _define_patterns() findBlockStarts() --> _find_block_starts() parseABAQUS() --> _parse_abaqus()

Other modules have been deprecated: makeTempFiles() (DEPRECATED) closeTempFiles() (DEPRECATED) deleteTempFiles() (DEPRECATED) findHeaders() (DEPRECATED) interpretABAQUS() (DEPRECATED) checkABAQUSparsing() (DEPRECATED)