585,760 active members*
3,833 visitors online*
Register for free
Login
Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2012
    Posts
    91

    Scripting in TNG

    I have little understanding of scripting for TNC. Seems to be a prerequisite for full use of TNG at this time. I have viewed the Planet CNC tutorials on the subject and find them and myself, unfortunately inadequate to obtain a grasp of the subject.
    Please could anyone suggest a route to enlightenment. I have books on Python, but without a specific incentive it is hard to stay with.
    Guidance very much appreciated!

  2. #2
    Join Date
    Mar 2017
    Posts
    1304

    Re: Scripting in TNG

    There is no need to use or know Python.
    You need to know basic g-codes.
    Most important is than you understand what you want from machine.

    Old software has a lot of settings. Even I have troubles knowing all of them, specially if it is not used very much. When user wants to set something uncommon they usually ask as for help. Sometimes solution is not possible and this is very frustrating.
    With scripts almost everything is possible. It is also easy to understand because everything is done same way.

    But I know that basic things need to be done without using scripts and more and more features get integrated - scripts are already made for convenience. There will be more and more such things. After all, I want TNG to be the best and most friendly of all programs.

  3. #3
    Join Date
    Apr 2012
    Posts
    91

    Re: Scripting in TNG

    With respect, you say "With scripts almost everything is possible. It is also easy to understand because everything is done same way."

    * So at this time I need to understand it. Since I surely do not find it easy to understand at the moment!

    I know my GCodes reasonably well. But that is not scripting, as some of the TNC features currently require.

    So I again appeal - Is there a source of learning that I can access or purchase please??

  4. #4
    Join Date
    Mar 2017
    Posts
    1304

    Re: Scripting in TNG

    Scripts are nothing more than g-code.
    Lets discuss what actual requirements really are. Without special requirements scripting is not needed.
    What do you want to do?

  5. #5
    Join Date
    Apr 2012
    Posts
    91

    Re: Scripting in TNG

    OK Thanks.
    To begin. I can see the gcode within a script such as "User defined" / "Pocket rectangle" But I am not familiar with the operators. i.e. the green and gold coloured comments. If you could explain a little about those. I think it would help me. Also how to adjust the parameters. If it is just a form of advanced gcode I will study up. Since I only have a simple knowledge of gcode. I see from other posts, that I am not the only person afflicted.
    Your kind assistance appreciated.

  6. #6
    Join Date
    Mar 2017
    Posts
    1304

    Re: Scripting in TNG

    Here is very basic tutorial:
    https://planet-cnc.com/adding-custom...-tng-software/

    We will make more advanced one shortly.

  7. #7
    Join Date
    Apr 2012
    Posts
    91

    Re: Scripting in TNG

    Yes I had read and can understand "the principle" very well.
    But it is also a good example of what I do not understand. That is, in your example "(name,Spindle ON, 1)" Could you help me to interpret, or learn to interpret, this text/syntax.

  8. #8
    Join Date
    Mar 2017
    Posts
    1304

    Re: Scripting in TNG

    This line means that script will be available under "Machine/User Defined" menu as "Spindle ON".

    You need to try these tutorials for yourself and I'm sure they will be much more understandable.

Similar Threads

  1. Scripting
    By Koblenzer in forum BobCad-Cam
    Replies: 1
    Last Post: 12-07-2011, 03:01 PM
  2. V21 scripting help
    By ammfg in forum BobCad-Cam
    Replies: 3
    Last Post: 06-11-2010, 01:29 PM
  3. Scripting
    By Klox in forum BobCad-Cam
    Replies: 29
    Last Post: 10-03-2003, 04:11 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •