built-in named parameters - Page 2

Page 2 of 2 FirstFirst 12
Results 21 to 23 of 23

Thread: built-in named parameters

  1. #21
    Member
    Join Date
    Apr 2017
    Location
    Canada
    Posts
    158
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Apr 2012
    Location
    Canada
    Posts
    65
    Downloads
    0
    Uploads
    0

    Default 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

    KC1022/Sherline lathes, Atlas MF mill, Alexander 2CGD, Shop built gantry mill with PP, Nikon 6 Shadowgraph


  3. #23
    Member
    Join Date
    Apr 2017
    Location
    Canada
    Posts
    158
    Downloads
    0
    Uploads
    0

    Default 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 FirstFirst 12

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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

built-in named parameters

built-in named parameters