Programming Basics

In trCAD, a 3D model is defined by a piece of script code. This code contains all instructions required for building the object and it includes all the logics defining how the object changes with its parameters.

The trCAD script language is mostly based on popular programming languages of the C family like C/C++, Java or JavaScript. In this chapter, all concepts of this language are explained. This includes basic concepts that are more or less equal to all other programming languages of the C familiy. Readers who are familiar with these could skip this chapter or quickly go over it.

Note

Features that differ significantly from most other C family languages are highlighted by a "note" section like this one.

This chapter covers the following topics: