Menu

ramps compatible gcode

Help
2019-04-22
2019-04-24
  • COSTAS VLACHIDIS

    Hi
    I need some pycam configuration to producea ramps compatible gcode.
    My ramps -Marlin board needs G01 beafor any x -x -z motion line.
    Thanx in advence

     
  • Lars

    Lars - 2019-04-22

    pycam supports a setting for "plunge feedrate" (since v0.6.1) that allows to you reduce the speed for downward moves.
    Is that what you are looking for?

     
  • COSTAS VLACHIDIS

    Not exactelly
    I 'm using Pycam 0.5.1 under windows 7, and my cnc machine works with Marlin software and Ramps 1.4 board. So the produced gcode from Pycam must have G01 befor any x -x -z motion line.
    Is there any configuration for this?
    I do not know if any newer version of Pycam can run under windows
    Thank you

     
  • Lars

    Lars - 2019-04-22

    Ah - I completely misunderstood your question (based on my overly quick reading attempt) :(

    No: such a GCode dialect is currently not supported by pycam.
    In case that it is tolerable for you to post-process the GCode on your own, then something like "sed -i s/^([XYZ])/G01 \1/i' FILENAME" could fix your issue.

     
  • COSTAS VLACHIDIS

    Good morning from Rodos Island in Greece
    Please be more specific .What is "sed -i s/^([XYZ])/G01 \1/i' FILENAME" ?
    Is this some kind of code that I need to enter some how in the Pycam?
    I'm not a programmer soplease be patient with me.
    Thank you Costas

     
  • Lars

    Lars - 2019-04-23

    Ah - sorry for spontaneously jumping into scripting territory :)

    "sed" is a commandline tool for text manipulation. The above expression would prefix every line that starts with "x", "y" or "z" with "G01 " in a given file. This kind of tools is available in every unix-like environment. In your case something like "cygwin" (for Windows) would provide such a functionality.
    But I guess, this is not the best approach for you, if you are currently not used to this kind of tools.
    Sorry - there is nothing built into pycam at the moment, that would solve your use-case :(

     
  • COSTAS VLACHIDIS

    Hi Lars
    I have resolved this problem to an older posting into yours discusion group,I 've found a posting mensiing the https://chmodux.wordpress.com/2012/07/13/g-code-mendrel/ who has developed java executable thay turns pycad gcode in a form to be executed from Ramps and Marlin sofware.'m using this combination of hardware-software because it has and supports a low cost LCD, and a memory card to store the gcode files under windows. And so it is not obligatory to use the laptop to mill something. Anyway thank you for your help

     
  • COSTAS VLACHIDIS

    this is the topic : https://sourceforge.net/p/pycam/discussion/860183/thread/ddf61e8d/
    and this is the python file link :https://bitbucket.org/raw/cnc_mendel/src
    and finally this is the jar file lnk :https://www.thingiverse.com/thing:52706
    I 'm posting themto help any other that has the same problems.
    Costas

     
  • Lars

    Lars - 2019-04-24

    Thank you for sharing these ressources!

     

Log in to post a comment.