585,987 active members*
4,378 visitors online*
Register for free
Login
Page 2 of 2 12
Results 21 to 23 of 23
  1. #21
    Join Date
    Apr 2017
    Posts
    158

    named parameters in PathPilot not in standard LinuxCNC

    OK, I've finally got around to looking through Tormach's python code. The only relevant file seems to be
    ~/tmc/configs/common/namedparameters.py.

    Possibly other parameters are defined elsewhere, in hardware-specific python routines, but the only parameters defined in namedparameters.py are
    • _pi
    • _epochtime
    • _x_axis_min_limit
    • _x_axis_max_limit
    • _y_axis_min_limit
    • _y_axis_max_limit
    • _z_axis_min_limit
    • _z_axis_max_limit
    • _spindle_rpm_max
    • _spindle_rpm_min




  2. #22
    Join Date
    Apr 2012
    Posts
    64

    Re: built-in named parameters

    You also need to look in configs/<mill or lathe or router>/python. The toplevel.py e.g. has a lot of globals defined.
    Toplevel.py specificlly states " build the following globals variables for the various atc ngc routines in remap" and although it mentions Remap, those variables are global so accessible elsewhere

  3. #23
    Join Date
    Apr 2017
    Posts
    158

    Re: built-in named parameters

    I glanced at toplevel.py, but I didn't pay attention to the ATC-related stuff. I'll leave that digging to people with ATCs.

Page 2 of 2 12

Similar Threads

  1. Replies: 2
    Last Post: 03-30-2020, 11:06 PM
  2. Asius Technologies Named 2013 Autodesk Inventor of Year
    By cncadmin in forum News Announcements
    Replies: 0
    Last Post: 02-26-2014, 08:20 PM
  3. Editing a named spline using a macro?
    By spacely in forum UG NX
    Replies: 0
    Last Post: 04-26-2010, 10:06 PM
  4. PBC Linear Named Leader in Engineering by Design World
    By Pacific Bearing in forum News Announcements
    Replies: 0
    Last Post: 12-22-2009, 10:04 PM

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
  •