Difference between revisions of "Scripting Guide"
(7 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
* [http://www.poromenos.org/tutorials/python Learn Python in 10 minutes] - Quick introduction to Python for competent programmers. | * [http://www.poromenos.org/tutorials/python Learn Python in 10 minutes] - Quick introduction to Python for competent programmers. | ||
− | * [http://docs.python.org/ | + | * [http://chryswoods.com/beginning_python/index.html Beginning Python Tutorial] - Quick introduction to Python basics. |
+ | * [https://docs.python.org/2/tutorial/ Python Tutorial] - Official Python tutorial (requires some programming knowledge). | ||
* [http://www.greenteapress.com/thinkpython/ How to Think Like a Computer Scientist: Learning with Python] - Book on Python programming for beginners. [http://www.greenteapress.com/thinkpython/html/ HTML Version] | * [http://www.greenteapress.com/thinkpython/ How to Think Like a Computer Scientist: Learning with Python] - Book on Python programming for beginners. [http://www.greenteapress.com/thinkpython/html/ HTML Version] | ||
− | * [http://diveintopython. | + | * [http://www.diveintopython.net/ Dive Into Python] - In depth book covering advanced subjects in a comprehensive manner. |
An advanced knowledge of Python is not needed in order to write simple TexGen scripts. However, bear in mind that Python is a very powerful language with many libraries included for performing common tasks. | An advanced knowledge of Python is not needed in order to write simple TexGen scripts. However, bear in mind that Python is a very powerful language with many libraries included for performing common tasks. | ||
+ | |||
+ | A TexGen scripting guide with sample scripts can be found on [https://github.com/louisepb/TexGenScriptingGuide GitHub] | ||
A series of tutorials on getting started with using Python in conjunction with TexGen are provided below. They have been written in such a way that they are best read sequentially since each one follows on from the previous: | A series of tutorials on getting started with using Python in conjunction with TexGen are provided below. They have been written in such a way that they are best read sequentially since each one follows on from the previous: | ||
Line 13: | Line 16: | ||
* [[Scripting Create Models]] | * [[Scripting Create Models]] | ||
* [[Scripting Export Mesh]] | * [[Scripting Export Mesh]] | ||
+ | * [[Scripting Examples]] |
Latest revision as of 09:34, 7 March 2018
Python Interface
Python is a high level interpreted programming language. In this case it is used as a scripting language to allow easy access to TexGen functionality. Python has been embedded in the TexGen GUI which allows the GUI to run python scripts. The goal of this tutorial is not to teach Python programming, there are plenty of resources online for that. A few of them are listed below:
- Learn Python in 10 minutes - Quick introduction to Python for competent programmers.
- Beginning Python Tutorial - Quick introduction to Python basics.
- Python Tutorial - Official Python tutorial (requires some programming knowledge).
- How to Think Like a Computer Scientist: Learning with Python - Book on Python programming for beginners. HTML Version
- Dive Into Python - In depth book covering advanced subjects in a comprehensive manner.
An advanced knowledge of Python is not needed in order to write simple TexGen scripts. However, bear in mind that Python is a very powerful language with many libraries included for performing common tasks.
A TexGen scripting guide with sample scripts can be found on GitHub
A series of tutorials on getting started with using Python in conjunction with TexGen are provided below. They have been written in such a way that they are best read sequentially since each one follows on from the previous: