Help required producing usable Gcode files for CNC engraver - Page 4


Page 4 of 4 FirstFirst 1234
Results 37 to 45 of 45

Thread: Help required producing usable Gcode files for CNC engraver

  1. #37
    Member he1957's Avatar
    Join Date
    Jun 2018
    Location
    Tasmania
    Posts
    314
    Downloads
    0
    Uploads
    0

    Default Re: Help required producing usable Gcode files for CNC engraver

    Sounds like what you are doing is lots of fun and interesting at the same time. The sample I posted above was simply an example tool-path simulation (image) of the NC code that "drew" it (the NC code).

    For such projects, where you have (as shown) one operation to perform the task needed (route excess copper to get tracks) then a different operation (perhaps with a different tool) to perform another (drill holes) and so-forth. The machine/software should be quite capable of doing this. You use different operations.

    For example, I posted a pocket operation as described above. I would then create a drill operation using the pin (holes). These are shown as circles in the drawing but for a fixed operation such as it is, point entities would also work because the operation is a drill cycle using a particular bit size (perhaps 0.6 mm) at their co-ordinates, so all the generated code needs to do is drill holes at the point co-ordinates.

    The same copper traces could be produced by routing a contour around the outside edges of the "traces", leaving both the traces and the surrounding copper as "islands" that could also be used as ground-plane shielding (or even heat-sink assist or mounting pads). It's a matter of what works best for your intent.

    The various operation steps are broken into sections that can be in the same file with a tool change or as separate (manual) files with tool change.

    In the NC file, look for the "ToolChangeOrg" lines. These represent the start of the 3 operations and could be saved/loaded as three separate files. To make it 3 files, copy the "Header" and "EndOfFile" blocks and place the code from the "ToolChange" to the comment just before the next ToolChange between the Header and EndOfFile and save the files.

    The additional comments (between parenthesis "()") can be ignored/removed. I setup my PostProcessor to give this to help me follow/debug code if I need to. (Basically, its tells me about Before and After FirstFeed and LastFeed moves (BFFM, ALFM)).

    I constructed it this way so you can see the specific operations combined as a single file. A machine with tool-change processing will pause between the operations. If your machine does not understand tool change then it might blindly run the code (or error) using the tool currently mounted which could break the tool.

    Yes, there is a lot to it all, but it starts to fall into place. It's about thinking how would you do it yourself and then telling the machine (CNC machines are about as smart as a house brick).

    Attached Thumbnails Attached Thumbnails Help required producing usable Gcode files for CNC engraver-1_cuttraces-jpg   Help required producing usable Gcode files for CNC engraver-2_drillholes-jpg   Help required producing usable Gcode files for CNC engraver-3_cutinsideholeshapes-jpg  
    Attached Files Attached Files


  2. #38
    Member
    Join Date
    Jan 2005
    Location
    USA
    Posts
    10147
    Downloads
    0
    Uploads
    0

    Default Re: Help required producing usable Gcode files for CNC engraver

    Quote Originally Posted by lesthegringo View Post
    here is the CadBam file I used to generate the gcode appended to have a .txt extension (the only way I could get it to attach). You will have to rename it as a .cb file for it to work of course, but you will see that it has three items of text

    Thanks for the help

    Le
    G-code is only text it can stay in text and run in the machine control, some controls require different extensions, but most will run with the text extension

    Mactec54


  3. #39
    Member
    Join Date
    Jun 2008
    Location
    Hungary
    Posts
    56
    Downloads
    0
    Uploads
    0

    Default Re: Help required producing usable Gcode files for CNC engraver

    Guys, I have been adding circles as my drill points in Qcad, whereas I think that what I should have been doing is adding a point, but I'm struggling on how to do that - any ideas?

    Cheers

    Les



  4. #40
    Member he1957's Avatar
    Join Date
    Jun 2018
    Location
    Tasmania
    Posts
    314
    Downloads
    0
    Uploads
    0

    Default Re: Help required producing usable Gcode files for CNC engraver

    Quote Originally Posted by lesthegringo View Post
    Guys, I have been adding circles as my drill points in Qcad, whereas I think that what I should have been doing is adding a point, but I'm struggling on how to do that - any ideas?

    Cheers

    Les

    QCad User Reference Manual - Points

    I don't use QCAD but it looks interesting.

    I use SimplyCam for most works. Not only can you draw your parts but you can generate G-Code tool paths for many targets (see above), run a speed-controlled simulator (as well as single step), view your objects in a 3D presentation. You can also import G-Code to get it to draw what the object looks like via the simulator.

    It also has a GRBL control inbuilt.



  5. #41
    Member
    Join Date
    Jun 2008
    Location
    Hungary
    Posts
    56
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by he1957 View Post
    QCad User Reference Manual - Points

    I don't use QCAD but it looks interesting.

    I use SimplyCam for most works. Not only can you draw your parts but you can generate G-Code tool paths for many targets (see above), run a speed-controlled simulator (as well as single step), view your objects in a 3D presentation. You can also import G-Code to get it to draw what the object looks like via the simulator.

    It also has a GRBL control inbuilt.
    Thanks, I had not come across SimplyCad before, it certainly looks like it's worth a look. That may also relieve my issues on other fronts, though I have to say CadBam also looks worth the money.

    I'm currently visiting my family in the UK where I am also picking up a load of stuff bought on Amazon that can't be sent to Hungary for some inexplicable reason, but it includes some bits and bobs in pursuit of this topic. When I get back I will be investigating

    Cheers

    Les



  6. #42
    Member
    Join Date
    Jun 2008
    Location
    Hungary
    Posts
    56
    Downloads
    0
    Uploads
    0

    Default Re: Help required producing usable Gcode files for CNC engraver

    I've purchased my CamBam license and waiting for the licence code to come through, but in the meantime I have been playing with it and using the points to generate the drilling positions now that I'm more accustomed to Qcad (which I have to say I am liking more and more, apart from a couple of minor issues).

    If you look at the CamBam screenshot, you can see that CamBam appears to be locating the holes via the points and allocating a toolpath accordingly. The left side of the screen are the settings I am using to produce the gcode. However the out put generates what you see in the UGS visualisation screen (second screenshot), which as you can see bears no resemblance to the original. I tried to run it just in case the visualisation was wrong, but it is just garbage, errors at every line. I've included the .cb file used to generate the .nc file. This was produced on a different PC to before to make sure it wasn't an issue with the CamBam installation

    What am I doing wrong?

    ****Edit****

    Received the license, tried it again with the same results, so it must be something wrong with my file or setup

    Cheers

    Les

    Attached Thumbnails Attached Thumbnails Help required producing usable Gcode files for CNC engraver-cambam-drilling-trial-ugc-gcode-output-jpg   Help required producing usable Gcode files for CNC engraver-cambam-drilling-trial-jpg  
    Attached Files Attached Files
    Last edited by lesthegringo; 03-03-2019 at 04:50 AM. Reason: Updated with new info


  7. #43
    Member Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    3644
    Downloads
    0
    Uploads
    0

    Default Re: Help required producing usable Gcode files for CNC engraver

    I looked at your .cb file. The tool path looks fine. Try this: Set Depth Increment = 1.8, Hole Diameter = 0.0605, Drilling Method = Spiral Mill (CW)

    This will force it into using all G1 moves and eliminate using the Canned Cycle which uses G81 hole drilling. Sometimes you need to fool the post processor into doing what you want.

    Jim Dawson
    Sandy, Oregon, USA


  8. #44
    Member
    Join Date
    Jun 2008
    Location
    Hungary
    Posts
    56
    Downloads
    0
    Uploads
    0

    Default Re: Help required producing usable Gcode files for CNC engraver

    Thanks, I will give that a go

    Out of pure frustration last night I tried to drill by making pockets 0.9mm diameter using a 0.8mm milling cutter, and it worked, much to my surprise. I'm beginning to think that UGS simply doesn't work with the drilling function, which is a surprising omission considering what a basic function it is. Of course, I proceeded to snap my one and only 0.8mm cutter on a poorly based clamp, but at least I know that there is a workaround. I will still give the spiral mill method a go, I assume it is similar to the pocket method

    Cheers

    Les



  9. #45
    Member
    Join Date
    Oct 2016
    Location
    United States
    Posts
    6
    Downloads
    1
    Uploads
    0

    Default Re: Help required producing usable Gcode files for CNC engraver

    Quote Originally Posted by lesthegringo View Post
    Thanks, I will give that a go

    Out of pure frustration last night I tried to drill by making pockets 0.9mm diameter using a 0.8mm milling cutter, and it worked, much to my surprise. I'm beginning to think that UGS simply doesn't work with the drilling function, which is a surprising omission considering what a basic function it is. Of course, I proceeded to snap my one and only 0.8mm cutter on a poorly based clamp, but at least I know that there is a workaround. I will still give the spiral mill method a go, I assume it is similar to the pocket method

    Cheers

    Les
    Does not woodpecker board grbl1.1 ? It does not know drill cycles g81 and UGS does not translate. And the 1000 in firmware is just rhe max speed not actual rpm uses 1 to 1000 steps min to max

    Sent from my SM-G920P using Tapatalk



Page 4 of 4 FirstFirst 1234

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

Help required producing usable Gcode files for CNC engraver

Help required producing usable Gcode files for CNC engraver

Help required producing usable Gcode files for CNC engraver