Python for use with the STK Object Model

Python is an object-oriented, high-level programming language with dynamic data types, modules, and classes which make it easy for non-programmers to quickly get started automating and controlling STK from scripts.  Because Python is free, your code can run everywhere, it works on both for Windows and Unix.

Python benefits include…

  • Easy to read syntax
  • Built in data structures
  • Extensive standard libraries available for free for all major platforms
  • Source code is open for modification
  • Portable

As with other development environments Python can be used for STK Automation, Custom Engine applications, and creating scripts to control specific plugin points for constraints and engine models.

For STK users that aren’t programmers Python is ideal because it’s easy to read, free, and object oriented, and it doesn’t require type casting between STK Object Model Interfaces (similar to Matlab).   Further, most of the Matlab Code Snippets can be translated into Python with little or no edits.  Python is also a good choice for cross platform development, the current release of STK Engine for Unix is only available for Java but Linux will follow in future. If you have project that calls for it we’d like to hear about it.

STK benefits include…

  • Free alternative to Matlab
  • Readable
  • No casting like with .NET (CSharp/VB)
  • Portability across platforms

The steps to get started and a code sample can be found in article Getting Started STK COM integration using Python.

SHARE ON:
TwitterFacebookLinkedIn

About sboyer

Systems Engineer at AGI
This entry was posted in Products, STK, STK Engine, Tech Talk. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>