Loading and Viewing your System

Now that we have a working template, let's load it with:

python -m axcli load my-solar-system.tmpl.ax

Or, if you don't have axcli installed, you can use the Python interpreter or a script with:

import axinite.tools as axtools
args = axtools.read("my-solar-system.tmpl.ax")
axtools.load(args, "my-solar-system.ax")

After it's been loaded, you can view it with:

python -m axcli show my-solar-system.ax

Or, in a Python script:

args = axtools.read("my-solar-system.ax")
axtools.show(args, axtools.plotly_frontend(args, "show"))

Last updated