Can't seem to get gcode that works...

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
ajawamnet
Posts: 32
Joined: Sun Jul 28, 2019 12:42 am

Can't seem to get gcode that works...

Post by ajawamnet »

On the left is what Freecad shows - on the right is my backplot. Using LinuxCNC postproc ... Using -- inches or null doesn't change it. Also tried the --modal and --axis-modal. No luck.

The other backplot program I have shows the same thing. I've used these backplot programs for years so I know they agree with my setup of Mach 3 not sure what's going on there

Image

File's attached - just a simple profile on a piece of angle...
Attachments
sdvsdg.FCStd
(129.89 KiB) Downloaded 25 times
Last edited by ajawamnet on Thu Apr 23, 2020 1:47 am, edited 1 time in total.
ajawamnet
Posts: 32
Joined: Sun Jul 28, 2019 12:42 am

Re: Can't seem to get gcode that works...

Post by ajawamnet »

also - tried some other post processors - some don't output anything...
ajawamnet
Posts: 32
Joined: Sun Jul 28, 2019 12:42 am

Re: Can't seem to get gcode that works...

Post by ajawamnet »

same Freecad output in Metacut view:

Image
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Can't seem to get gcode that works...

Post by GeneFC »

I ran your file and generated g-code output using the linuxcnc postprocessor. I got the following in Camotics. Looks completely normal.

Camotics Plot.png
Camotics Plot.png (31.77 KiB) Viewed 1110 times

Not sure where your experience is going astray. FreeCAD uses industry standard generic g-code. Perhaps you have added some special features for your Mach 3 processing that are mangling the FreeCAD output.

OS: Windows 7 SP 1 (6.1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20634 (Git)
Build type: Release
Branch: master
Hash: ba34cc6a96c15d64224e8f0c8b5da874f1e03a07
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)

Gene
User avatar
roerich_64
Veteran
Posts: 1465
Joined: Thu May 21, 2015 7:00 pm
Location: Ostfriesland

Re: Can't seem to get gcode that works...

Post by roerich_64 »

GeneFC wrote: Thu Apr 23, 2020 3:30 am PingPong :)
Hi Gene,
please take an other postprozessor. Than go back to linuxCNC postprozessor.

Then it comes an issue with the 'ProfileEdges' operation.

Bests
Walter
Die Liebe wird siegen, denn sie ist unzerstörbar :) ;)
ajawamnet
Posts: 32
Joined: Sun Jul 28, 2019 12:42 am

Re: Can't seem to get gcode that works...

Post by ajawamnet »

GeneFC wrote: Thu Apr 23, 2020 3:30 am I ran your file and generated g-code output using the linuxcnc postprocessor. I got the following in Camotics. Looks completely normal.


Camotics Plot.png


Not sure where your experience is going astray. FreeCAD uses industry standard generic g-code. Perhaps you have added some special features for your Mach 3 processing that are mangling the FreeCAD output.
)

Gene

That looks correct from your post.

This is a fresh install of Freecad so I did nothing to the posts that I know of.

I've tried everything I can think of ...

I even tried to just do a simple face profile still have arc issues - see pic:
Image
ajawamnet
Posts: 32
Joined: Sun Jul 28, 2019 12:42 am

Re: Can't seem to get gcode that works...

Post by ajawamnet »

So even Mach 3 shows garbage in the same file the same way that Metacut and NC Plot do - see screenshot. I've done thousands of jobs using Visual Mill, Deskproto and Cambam - never had this issue - my webpage for my shop here :
http://www.ajawamnet.com/ajawam3/swarf/swarf.htm
my main page: http://www.ajawamnet.com

I'm not sure why I can't get this to work... shame too 'cause it looks like a Visual Mill killer.

As previewed in Mach 3:
Image
User avatar
dubstar-04
Posts: 698
Joined: Mon Mar 04, 2013 8:41 pm
Location: Chester, UK
Contact:

Re: Can't seem to get gcode that works...

Post by dubstar-04 »

ajawamnet wrote: Thu Apr 23, 2020 2:22 pm So even Mach 3 shows garbage in the same file the same way that Metacut and NC Plot do - see screenshot. I've done thousands of jobs using Visual Mill,
I can't reproduce this issue.

Please could you post your FreeCAD info. You can find under help->about FreeCAD and then click the 'copy to clipboard' button and paste the data here.

Thanks,

Dan
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Can't seem to get gcode that works...

Post by GeneFC »

roerich_64 wrote: Thu Apr 23, 2020 10:38 am
Hi Gene,
please take an other postprozessor. Than go back to linuxCNC postprozessor.

Then it comes an issue with the 'ProfileEdges' operation.

Bests
Walter
Walter,

I did exactly what you asked. I could not do much with the "other postprocessor" output, but when I switched back to linuxcnc everything was still normal.

Gene
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Can't seem to get gcode that works...

Post by GeneFC »

ajawamnet wrote: Thu Apr 23, 2020 2:22 pm
I'm not sure why I can't get this to work... shame too 'cause it looks like a Visual Mill killer.
Please post the actual g-code output file that is giving the strange results. There may be some code that is output by FreeCAD that is not processed as intended by your setup. In addition to ordinary motion codes there are tool change codes, for example, and setup codes.

Gene
Post Reply