586,103 active members*
3,813 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2009
    Posts
    419

    Call file as variable from within a file

    In linc you can call an .ngc file from within another .ngc file.

    Is it possible to use a variable as a file name so I can use a set of numbered files, starting with 1.ngc goin on for as long as I have files?

    I have found this page that does say files names can be numbers but it does not say if those can be added to an if/then loop or something similar:
    http://linuxcnc.org/docs/html/gcode/o-code.html
    Sven
    http://www.puresven.com/?q=building-cnc-router

  2. #2
    Join Date
    Jan 2005
    Posts
    1943
    The answer to your question is on the same document you linked to. Look at heading "6. Calling Files"

  3. #3
    Join Date
    Jul 2009
    Posts
    419
    Yes, I still have some trouble reading technical english every now and then. Have got it woring, thanks!
    Sven
    http://www.puresven.com/?q=building-cnc-router

Similar Threads

  1. Replies: 8
    Last Post: 05-04-2015, 12:49 PM
  2. Converting a pdf file to UG part file
    By gaoxingdcf in forum UG NX
    Replies: 1
    Last Post: 05-20-2010, 01:47 AM
  3. GPP file, what variable determines rough, semi, finish op when milling?
    By guru_florida in forum SolidCAM for SolidWorks and SolidCAM for Inventor
    Replies: 3
    Last Post: 01-04-2010, 09:38 AM
  4. converting a mastercam 9 file into a Solidworks file
    By Michael82 in forum Solidworks
    Replies: 5
    Last Post: 04-17-2009, 07:14 PM
  5. Replies: 3
    Last Post: 12-11-2008, 02:45 PM

Posting Permissions

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