Intro_Course_4_6 - nasa/gunns GitHub Wiki

Intro Course 4.6: Exporting

When you “export” a network drawing from GunnsDraw, it creates the C++ header and body files containing the various classes that make up the network (the main network class, its config & input data classes, and various other special classes & structs used in the network).

  • Always save your drawing file in Draw.io before you export.
  • Run the gunns/draw/netexport.py Python script from the command line. More info here: Exporting GunnsDraw Networks.
    • The netexport.py script performs some maintenance on the drawing, error checking, and reports the status of the export process.
  • It is important to remember that netexport.py can change the drawing for maintenance updates like renumbering the nodes, updating link shape data contents, etc.
    • The script will tell you what kinds of these changes it makes, if any.
    • You should always synchronize the drawing in Draw.io after the export and review the maintenance changes in Draw.io.

Previous Page / Next Page

⚠️ **GitHub.com Fallback** ⚠️