Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Tebis TPPLNew to Visual Studio Code? Get it now.
Tebis TPPL

Tebis TPPL

MaTka

|
286 installs
| (0) | Free
Tebis TPPL is special language for writings Tebis CAD/CAM postprocessors. Extensions include syntax highlighting and snippets.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

&# tebis-tppl README

Marketplace Version Extension Installs Extension Downloads Rating

Tebis TPPL is the language for creating TEBIS CAD / CAM postprocessors. Postprocessors are created in text form and then compiled by an internal compiler from Tebis AG.

Features

  • syntax highlighting
  • code snippets for inserting useful commands
  • compiling postporcessors via external utility

Snippets commands

Snippets supports following commands and functions

  • IF THEN and IF THEN ELSE decision
  • soubroutine core structure
  • several commands and function with selection of proper values

You can select the appropriate value in multi-value functions. Use the UP and DOWN arrows to select the correct value. Use the TAB key to move the next position for other values. The ENTER key completes data entry.

When you start typing a function with the abbreviation below, you will receive the correct command / function.

abbreviation TPPL commanad/function
If IF THEN ENDIF
If-ELSE IF TEH ELSE ENDIF
soubroutine soubroutine structure
DEB DEBUG w level selection
TERM TERM w level selection
ERR SET_ERROR w selection
SCALE SET_SCALE
GRID GRIDVAL
ABS ABS
ACOS ACOS
ASIN ASIN
ATAN ATAN
ATAN2 ATAN2
COS COS
SIN SIN
TAN TAN
SQR SQR
Vectlen VECTOR_LENGTH
Angspace ANGLE_IN_SPACE
Angplane ANGLE_IN_PLANE
Rotpoint POINT_ROTATE
Rotvect VECTOR_ROTATE
vectprod VECTOR_PRODUCT
Userplane DEFINE_USERPLANE
pointuserplane POINT_USERPLANE_TO_REFAXIS
vectoruserplane VECTOR_USERPLANE_TO_REFAXIS
point_userplane POINT_TO_REFAXIS_USERPLANE
vector_userplane VECTOR_TO_REFAXIS_USERPLANE
point_trafo POINT_REFAXIS_TO_TRAFO
vector_trafo VECTOR_REFAXIS_TO_TRAFO
instr INSTR
mid MID$
replace REPLACE$
set_arc SET_ARC
set_helix SET_HELIX
set_format SET_FORMAT w selections
set_label SET_LABEL
set_circspl SET_CIRCSPL
set_active SET_ACTIVE
skip SKIP
stdform STDFORM$ w selection
str STR$ w selections
inq rot INQ_ROT w selection
comment COMMENT
func FILE_FUNC w selections

Setings external compiler

By command Ctrl+ you can setup path where is located external TPPL compiler.

    "tppl.tpplCompilerPath": "c:\\pathTo\\compiler.exe"

Second setting is path where compiled postprocessor should be saved.

    "tppl.tpplOutputPath": "c:\\pathTo\\storage\\place"

Comments and improvements

Any feedback is welcome! If you want help me improve the extension you could send me an issue

  • If someone has already filed an issue that encompasses your feedback, please leave a 👍/👎 reaction on the issue.
  • Otherwise please file a new issue

Syntax highlighting

Example of highligting

Release Notes

Here are information about changes in each releases of extension

1.2

Added detection of PP_TEC commands and showing it in Outline tree.

1.1

Correction in PP compilling

1.0

Correction of comment line starting by asterix (*). Now this comment sign has be on the begining of row. Impovement of recognitin of keyword VALID.

0.9

Added autosave before start compilling. Change PP date variable when PP is compiled.

0.8

Added support for PP compilation via special external compiler. The compiler can be run using the command palette (Ctr + Shift + P) and the "tpplCompile" command. For the correct execution, you need to set the compiler path and the path for storing compiled postprocessors. Subroutines specified in the source code of the postprocessor are visible in the outline tree.

0.7

Reviewing a snippet, especially improving readability. Revision of color highlighting. Adding notes and configuration sections.

0.6

Remove own color theme. Adjust syntax highlighting settings so you can use built-in color themes. Tested on Dark + color theme.

0.5

Minor correction in snippets

0.4

Minor correction of snippets

0.3

Syntax highlightin to Tebis up V4.0 R6/R7 Improve sinppets.

0.1

Initial release of project

Thanks to the Contributors!

  • Nozkan (Nozkan)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft