586,308 active members*
3,517 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > LinuxCNC (formerly EMC2) > How I can install files *.py to generate G code
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2009
    Posts
    3

    How I can install files *.py to generate G code

    Hello to Everybody!!
    Searching in internet a software for g code using EMC2 i found this link:
    http://wiki.linuxcnc.org/cgi-bin/emc...ode_Generators
    I'm new user for linux so i have a little problem to install in mine computer with ubuntu Ver 8.04 :upload:engrave-11.py and all the other links with extension .py present in the page.
    Please somebody can help me to install it step by step because i have really difficult to do it?:drowning::drowning:
    Very Thanks !!!! Luciano

  2. #2
    Join Date
    May 2005
    Posts
    1662
    Go to Applications>Accessories>Terminal and type in
    Code:
    python  'name of file'
    If the python file is in a subdirectory of your home folder, type
    Code:
    python  path/to/file 
    example
    python   Desktop/whatever.py
    Check the wiki If you want to use the python script integrated with axis.
    Anyone who says "It only goes together one way" has no imagination.

  3. #3
    Join Date
    May 2005
    Posts
    1662
    Lets go one step back. Where you see this
    Quote Originally Posted by Banda View Post
    :upload:engrave-11.py
    right click and choose "Save As". Let it be saved to your Desktop (the default I think).
    Then in the terminal
    Code:
    python Desktop/engrave-11.py
    This stuff is confusing at first. Relax, it gets easier after a while
    Anyone who says "It only goes together one way" has no imagination.

  4. #4
    Join Date
    May 2005
    Posts
    1662
    Just took a look at engrave-11.py for the first time. Very cool It's different than some of the other gcode-generators in a few ways.

    It's taking font files from qcad. It likely works with other font files although I haven't tested this. Install qcad in any case, you'll like it and it's free.

    Unlike some of the other generators, it doesn't have a text editing window. Click on the "clipboard" button. Open up a text editor, right click and paste.

    The gcode program created is in the o-word format.

    If you want to work with text engraving also check out true_type_tracer. It's included with emc iirc.

    regards
    jeff
    (working hard to up his post count)
    Anyone who says "It only goes together one way" has no imagination.

  5. #5
    Join Date
    Feb 2009
    Posts
    3
    Dear Jeff!!!
    Very Thanks for Your Help and Your Courtesy!
    I'm new with Linux..and I have to learn a lot..!!
    Very Thanks for Your help !!
    Kind Regards,
    Luciano

Similar Threads

  1. Is there a way to generate CL code in Solidcam
    By manussim in forum SolidCAM for SolidWorks and SolidCAM for Inventor
    Replies: 6
    Last Post: 02-02-2021, 07:02 PM
  2. Enroute 3 to generate files for Mach 3
    By edmond in forum Uncategorised CAM Discussion
    Replies: 2
    Last Post: 08-20-2011, 09:52 PM
  3. What tools generate G-Code
    By eskimobob in forum LinuxCNC (formerly EMC2)
    Replies: 11
    Last Post: 09-30-2008, 02:54 AM
  4. Generate G code from rhino file
    By mredican in forum Rhino 3D
    Replies: 14
    Last Post: 02-24-2008, 12:51 AM
  5. Best way to generate code?
    By jderou in forum BobCad-Cam
    Replies: 0
    Last Post: 09-29-2004, 02:37 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
  •