Skip to content
  • Mark OLESEN's avatar
    ENH: consistency improvements for surface patch handling (fixes #483) · 2a98c4e6
    Mark OLESEN authored
    - remove (unused) Istream constructors, prune some unused methods,
      rationalize write() vs writeDict().
      Deprecate inconsistent construction order.
    
    - handle empty names for ".ftr" surface patches (for plain triSurface
      format) with double-quoted strings for more reliable streaming.
      Written on a single line.
    
      This is _backward_ compatible, but if users have been parsing these
      files manually, they will need to adjust their code.
    
    Previously:
    ```
      (
      frt-fairing:001%1
      empty
    
      windshield:002%2
      empty
      ...
      )
    ```
    
    Updated (with example handling of empty name):
    ```
      (
      frt-fairing:001%1 empty
    
      windshield:002%2 ""
      ...
      )
    ```
    2a98c4e6