Fill in the Blanks Gcode Dynomotion


Page 1 of 3 123 LastLast
Results 1 to 12 of 27

Thread: Fill in the Blanks Gcode Dynomotion

  1. #1
    Registered Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    378
    Downloads
    0
    Uploads
    0

    Default Fill in the Blanks Gcode Dynomotion

    Hay Tom,
    Been meaning to ask about this for a while. Have you thought about adding a fill in the blanks Gcode Generator to KmotionCNC? To do things like Bolt hole circles, Rectangle mill, Circle Mill, Pocket Mill. I believe this would make KmotionCNC an even more awesome control. And make it a different KCNC version that would be extra cost?

    Anyhow, guess iam trying to open a new can of worms again.

    Thanks,
    Troy

    Similar Threads:
    http://www.homecncstuff.elementfx.com/


  2. #2
    Registered
    Join Date
    May 2012
    Location
    canada
    Posts
    270
    Downloads
    0
    Uploads
    0

    Default Re: Fill in the Blanks Gcode Dynomotion

    Dont really mean to bash the idea but its probably not as worthwhile anymore. Fusion360 cad/cam is free to hobbyists and I think there are other CAM options available for cheap these days. Probably would be alot of work to add something like that to kmotioncnc and maybe not a whole lot of value anymore since CAM software is more available. Might be useful to some people i guess.



  3. #3
    Registered Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    378
    Downloads
    0
    Uploads
    0

    Default Re: Fill in the Blanks Gcode Dynomotion

    Thats true also. But me being from a job shop background , its much faster to program at the machine with controls like Hurco, Milltronics and even Prototraks. Especially when you just need a simple pocket or bolt hole. There is also some operators/general machinist that pick up a control's conversational side much easier than CAD/CAM. Plus when Fusion is out to lunch on a cloud somewhere or internet is down, you can keep programming one off simple jobs.

    http://www.homecncstuff.elementfx.com/


  4. #4
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2805
    Downloads
    0
    Uploads
    0

    Default Re: Fill in the Blanks Gcode Dynomotion

    Hi Troy,

    Do you think that could be done with the Existing Screen Editor? Create a bitmap image of something like a bolt hole circle with dimensions. Then place Edit Controls for all the parameters (number of holes, radius, offset, etc.). Then have a button run a program to create the GCode. If you were to create the screen and describe exactly how the GCode should be created I could probably write the code to create the GCode for you. Several new functions might need to be added like MergeGCodeFileToOpenFile or such.

    Regards

    TK
    http://dynomotion.com


  5. #5
    Registered BlueChip's Avatar
    Join Date
    Jun 2003
    Location
    Massachusetts
    Posts
    183
    Downloads
    0
    Uploads
    0

    Default Re: Fill in the Blanks Gcode Dynomotion

    PC based conversational is available through KipwareM maybe ... KipwareM - Conversational CNC CAM Programming Software for Milling
    Generates compatible code out-of-the-box.



  6. #6
    Registered
    Join Date
    Jun 2004
    Location
    Scotland
    Posts
    312
    Downloads
    0
    Uploads
    0

    Default Re: Fill in the Blanks Gcode Dynomotion

    This is something I did start working on, in an attempt to learn how to use Visual Studio to create PC programs (I can handle coding processors/webpages, but full blown software is something I've never really done), but more important projects got in the way, so it got side tracked.

    My big problem was coming up with a suitable software framework, as I just couldn't get my head around how more complex programs work, and I didn't want to invest too much time if I was going to have to re-write things.
    If somebody wanted to create a suitable framework, I'd be happy to work on the code required for creating G-code via various dialogues.

    Tom, I'm not sure if it could be done via the screen editor, especially if you were relying on KFlop C programmes to handle the g-code generation, as there is quite a bit of text manipulation needed.
    If you want, I can dig out the screen mockups/layout sketches I done, so you can see how I imagined things would work. I should still have the visual studio project somewhere, but it may only be on my old laptop, which I'll have to dig out and see if it'll limp into life.



  7. #7
    Gold Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    2805
    Downloads
    0
    Uploads
    0

    Default Re: Fill in the Blanks Gcode Dynomotion

    Hi m_c,

    Tom, I'm not sure if it could be done via the screen editor, especially if you were relying on KFlop C programmes to handle the g-code generation, as there is quite a bit of text manipulation needed.
    I don't see the text manipulation in C being that great or difficult. It does seem silly to make KFLOP do the work when the PC is available. But doing things on the PC requires Users learning yet another Language, Interface to KMotionCNC, Environment, Compiler or scripting etc. But then it wouldn't be hard to add some hooks so a PC program could read/write screen controls, create the GCode and push it back to KMotionCNC. Most of that functionality exists with the Screen Editor and Measure Fiducial Programs which are separate C# programs.

    If you want, I can dig out the screen mockups/layout sketches I done, so you can see how I imagined things would work.
    If they are handy I'd like to see and hear other's feedback.

    Regards

    TK
    http://dynomotion.com


  8. #8
    Registered
    Join Date
    Jun 2004
    Location
    Scotland
    Posts
    312
    Downloads
    0
    Uploads
    0

    Default Re: Fill in the Blanks Gcode Dynomotion

    Tom, just sent you an email (to your tk@dynomotion email, which I hope still works..)

    To me, I see this more as adding conversational programming capability, rather than adding the ability for users to create screens/programs to do conversational programming.
    Given the amount of work that it would ultimately involve, I'm not sure whether having all the code publically available would be that advisable.

    I've had a look at my sketches, and since I very much doubt anybody will be able to interpret my scribbles, I'll make some new ones over the next couple of days.



  9. #9
    Registered Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    378
    Downloads
    0
    Uploads
    0

    Default Re: Fill in the Blanks Gcode Dynomotion

    Quote Originally Posted by TomKerekes View Post
    Hi Troy,

    Do you think that could be done with the Existing Screen Editor? Create a bitmap image of something like a bolt hole circle with dimensions. Then place Edit Controls for all the parameters (number of holes, radius, offset, etc.). Then have a button run a program to create the GCode. If you were to create the screen and describe exactly how the GCode should be created I could probably write the code to create the GCode for you. Several new functions might need to be added like MergeGCodeFileToOpenFile or such.

    Regards
    Hi Tom,
    I will make some screens with the layout and post back. Most likely this weekend. Thanks for considering this idea.

    Troy

    http://www.homecncstuff.elementfx.com/


  10. #10
    Registered
    Join Date
    Jun 2004
    Location
    Scotland
    Posts
    312
    Downloads
    0
    Uploads
    0

    Default Re: Fill in the Blanks Gcode Dynomotion

    I've been giving this idea more thought, and there are couple areas that I'm struggling to fit into an overall system, so am looking for peoples thoughts on them

    First up, I'll clarify a couple details.
    The more common title for what this thread is about, is Conversational Programming. Within each file you create, you can have one or more individual operations that are created by entering required values.

    So the bits I'm struggling to fit in to the overall scheme.
    1) Once a file has been created, would you like the ability to be able to edit the operations within that file at a later date?
    2) How would you prefer to enter the required speeds/feeds?
    3) Would you use the ability to re-order operations?
    4) How much do you think this would be worth?


    Here's my thoughts.
    1) From a usability point, I can see it being a major advantage. Click to edit, have the operation screen pop-up with the existing parameters, edit what you need to, click a button, then the g-code file gets updated with the new code.
    From a programming point, in order to keep everything contained within the g-code file, it's quite involved with parsing/checking/updating.
    2) I'd quite like some form of database, so you can create a basic library of previously used speeds/feeds for each tool and material. Select a tool for an operation, then up pops a list of previously used speeds/feeds for various materials. However this does have the potential to lead to a lot of information either of little use, or hard to present in a user friendly way. Another possibility is the addition of a basic speeds/feeds calculator.
    3) This although sounds good, but would it actually be used? I'm struggling to think of a realistic scenario where you would actually want to re-order operations..
    4) I have my thoughts, and I know what Tom's thoughts are, but am interested in other peoples'.



  11. #11
    Registered Need TECH Help!'s Avatar
    Join Date
    Dec 2007
    Location
    United States
    Posts
    378
    Downloads
    0
    Uploads
    0

    Default Re: Fill in the Blanks Gcode Dynomotion

    The word conversational is owned (patented) by a "big machine tool" company. Thats why i didnt use it.
    So the bits I'm struggling to fit in to the overall scheme.
    1) Once a file has been created, would you like the ability to be able to edit the operations within that file at a later date?
    2) How would you prefer to enter the required speeds/feeds?
    3) Would you use the ability to re-order operations?
    4) How much do you think this would be worth?
    1) This would be nice. Or maybe an easier approach for now, would be to have a history in the operation page of last data entered in fields.
    2)Per each operation. Refer to my screen example of Bolt Circle to get a better idea of what i have in mind.
    3)Hmmm...No/maybe...dont think that would be necasary. To me thats getting more into CAM than a quick simple program.
    4)This would be more up to Dynomotion, But i would think that an option when purchasing KFLOP that you could use either the current KMotionCNC or pay extra for the intergrated GCode generator. (KCode??) That said i think an extra price of $100-$200??

    Here's my thoughts.
    1) From a usability point, I can see it being a major advantage. Click to edit, have the operation screen pop-up with the existing parameters, edit what you need to, click a button, then the g-code file gets updated with the new code.
    From a programming point, in order to keep everything contained within the g-code file, it's quite involved with parsing/checking/updating.
    2) I'd quite like some form of database, so you can create a basic library of previously used speeds/feeds for each tool and material. Select a tool for an operation, then up pops a list of previously used speeds/feeds for various materials. However this does have the potential to lead to a lot of information either of little use, or hard to present in a user friendly way. Another possibility is the addition of a basic speeds/feeds calculator.
    3) This although sounds good, but would it actually be used? I'm struggling to think of a realistic scenario where you would actually want to re-order operations..
    4) I have my thoughts, and I know what Tom's thoughts are, but am interested in other peoples'.
    1) Thats what i was thinking. Another proprietary protection might be to have the code posted out, be something other than Gcode?
    I think the approach for starters should be simple. No more options than what is needed. A history/library of previous speed feed would be nice, but think that would be more than what is needed.
    Attached is an example of what i had in mind. The example is of a bolt circle operation. Made screens out of what ever controls i could use to make it look like what i had in mind. Also am using my custom screens.

    Troy

    Attached Files Attached Files
    http://www.homecncstuff.elementfx.com/


  12. #12
    Registered
    Join Date
    Jun 2004
    Location
    Scotland
    Posts
    312
    Downloads
    0
    Uploads
    0

    Default Re: Fill in the Blanks Gcode Dynomotion

    It's maybe a patent (shouldn't it technically be a trademark for the name?), but most people know what conversational coding is, and most control manufacturers use 'conversational' in their marketing blurb, even if they name their system something else.

    Anyway, your thoughts are mostly along the same lines as mine.
    The main reason I'm asking about some more advanced features, is when I'm designing something, I like to think about the ultimate end goal, so I can try and build a suitable structure from the beginning, rather than have to re-write huge chunks later to add features.

    Depending on what Tom has planned, I'm thinking about working on my program again. I have started adding a bolt circle routine, just to see how much I've forgotten since I last worked on the program. If I get it finished, and you're interested to try it, PM your email and I'll send a copy across if I get it done.


    However, what I'd personally like to see added to KMotionCNC first, is proper handling of metric/imperial.



Page 1 of 3 123 LastLast

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

Fill in the Blanks Gcode Dynomotion

Fill in the Blanks Gcode Dynomotion