586,036 active members*
3,521 visitors online*
Register for free
Login
Results 1 to 10 of 10
  1. #1
    Join Date
    Oct 2005
    Posts
    1145

    Gcode Editor Suggestions

    Some things that need attention in the Gcode Editor

    1. Thee NEEDS to be dedicated directories for things like Gcode. Example for the default Gcode directory " C:\UCcnc\Gcodes " The editor needs to point to the default directory on load AND auto save to the default directory on save UNLESS you redirect it from the editor.

    This prevents scattering file all over the PC/Network that I have to go find for everyone.

    2. IF there is no active Gcode loaded then editor need to open with an empty file. You create the program then on save it requires a NEW NAME to save to AND save to the Default DIR AND auto load the new file into UCcnc ready to run.

    3. On save it should do an auto save to the default DIR unless you chose differently with Save AS .

    4. When a file is loaded there needs to be a a line number reference on the left hand side of the gcode listing.

    5. THERE IS NO cut and paste ????

    6.It needs to highlight NON GCODE words like teh Gcode window does , that is nice.

    7. It would be NICE to have a TEST function that you could run from inside the editor to DEBUG teh code, Just run it thru the pretest that the LOAD gcode function does to test the code. ONLY do this from inside of the editor, Push a button ,test the code. THEN fix any problem BEFORE you leave the editor.

    8. ON SAVE Check the end of file for a LFchar and if it does NOT have one ADD one. (;-) or just add a % if there is not one.

    9. The exit button needs to be renamed to EXIT_ Save to reflect that it does BOTH.

  2. #2
    Join Date
    Mar 2003
    Posts
    35538

    Re: Gcode Editor Suggestions

    1. There NEEDS to be dedicated directories for things like Gcode. Example for the default Gcode directory " C:\UCcnc\Gcodes " The editor needs to point to the default directory on load AND auto save to the default directory on save UNLESS you redirect it from the editor.
    Go to Explorer, right click and choose "New Folder"

    It appears to remember the location of the last loaded g-code file. Imo, this is preferable to using a "fixed" location, unless you have an option for one behavior or the other.


    It seems like it would have been simpler to allow the user to choose their own editor. This would give you some of your requirements, but not all.

    It looks like you use the editor a lot. I rarely use it. I'd prefer the programmers spend time on more important features.
    Always tricky for the programmers to decide which customers to listen to.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Oct 2005
    Posts
    1145

    Re: Gcode Editor Suggestions

    HIYA Gerry I disagree on the Directories. MY way I ALWAYS know where it will open to and ALWAYS know where it saves to. I have not seen MANY CNC controls that did it any other way.

    AND ANY OP that uses the machine has the SAME assurance of where the files are or saved to. I have spent countless hours retreiving cut files scattered across a rather large network.

    In Sheetcam you have the option of either way and it works GREAT.

    Just a thought, (;-) TP

  4. #4
    Join Date
    Aug 2006
    Posts
    143

    Re: Gcode Editor Suggestions

    I have to side with Gerry
    All my code resides on my server in the particular project file. so I want it to go back exactly where it was. I can access it from any machine that way. I also don't do a ton of editing at the machine because of the fact I use a CAM program. Any changes I make at the machine are't reflected in the cam program unless I do it. I have found it's safer for me this way. I think being able to select the editor of your choice would be the way to go.

  5. #5
    Join Date
    Mar 2003
    Posts
    35538

    Re: Gcode Editor Suggestions

    Since they've already gone through the trouble of writing their own editor, I don't think it will change, and it should be fairly easy to add some of Terry's suggestions.

    When a control tries to be everything to everybody, you're going to have a lot of disagreement about what features should and shouldnot be included.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  6. #6
    Join Date
    Aug 2006
    Posts
    143

    Re: Gcode Editor Suggestions

    Quote Originally Posted by ger21 View Post
    Since they've already gone through the trouble of writing their own editor, I don't think it will change, and it should be fairly easy to add some of Terry's suggestions.

    When a control tries to be everything to everybody, you're going to have a lot of disagreement about what features should and shouldnot be included.
    I hear you on that. When I first started with Master 5 I emailed Art suggesting a function. Within a couple of hours it was there. That attitude was a blessing and a curse. I understand people like Terry want things to follow a professional style convention but I'm more of a freer spirit

    Derek

  7. #7
    Join Date
    Oct 2005
    Posts
    1145

    Re: Gcode Editor Suggestions

    HIYA Guys do any of you know HOW to post a picture..If yo have ever used sheetcam Les gives you the option of both ways . It works fine for everyone.. Just s note but my way does NOT restrict you to only THE directory(;-). It just POINTS to the main directory from the load window, you can go anywhere to load. Same with save. With SaveAs you can save anywhere but a simple SAVE always goes to the main Dir.

    Side note USING Notepad ++ you can point it to the main dir on loading of the program and it always points to that DIR. AND same with save.

    I like the simple editor as NOTEpad++ is a LOT of overkill for what it does. AND " I " do DO a lot of hand coding/modification of Gcode.

    Good to see yous guys here. I think there is a LOT of potential with UCcnc stuff.

    (;-0 TP

  8. #8
    Join Date
    Mar 2003
    Posts
    35538

    Re: Gcode Editor Suggestions

    Click the Go Advanced button when posting to get to the place to upload images.
    Just s note but my way does NOT restrict you to only THE directory(;-). It just POINTS to the main directory from the load window, you can go anywhere to load. Same with save. With SaveAs you can save anywhere but a simple SAVE always goes to the main Dir.
    But if you're primary intent is saving to a single "g-code" folder, it already does that.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  9. #9
    Join Date
    Oct 2005
    Posts
    1145

    Re: Gcode Editor Suggestions

    Actually no it doesn't it will save to the last directory you were at. THAT is what causes the problem most time.You go to an odd place at times to pickup a file someone left in the wrong spot then you forget and when you save next presto it seems to disapear.

    (;-) TP

  10. #10
    Join Date
    Mar 2003
    Posts
    35538

    Re: Gcode Editor Suggestions

    If you can find the file that got you lost, then surely you can find where you're g-code folder is?

    Yes, it should be trivial to add this, but for most users, it really shouldn't be an issue.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

Similar Threads

  1. CNC Editor
    By 55thSwiss in forum CNC Swiss Screw Machines
    Replies: 1
    Last Post: 01-17-2015, 04:53 AM
  2. VB editor
    By RicknBeachcrest in forum Screen Layouts, Post Processors & Misc
    Replies: 2
    Last Post: 07-04-2013, 05:56 PM
  3. 2d cad editor
    By 071203 in forum OpenSource Software
    Replies: 3
    Last Post: 09-25-2009, 02:22 PM
  4. Replies: 0
    Last Post: 03-10-2005, 07:46 PM
  5. gcode to gcode converter
    By july_favre in forum Uncategorised CAM Discussion
    Replies: 4
    Last Post: 05-25-2004, 12:51 AM

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
  •