Post Processor for LinuxCNC and PlasmaC

More
20 Jul 2019 12:05 #139954 by docwelch
That would be great if you would post that code. I'll see if I can get it to do what I am thinking and I will let you know. I have this implemented in my post processor, but putting it in plasmac might make sense; I'll leave that to you to decide.

Thanks again,
Steven

Please Log in or Create an account to join the conversation.

More
20 Jul 2019 13:11 #139962 by rodw
Steven Les Newell from Sheetcam said;

One issue I can see is that SheetCam outputs compensated code. It does not currently support G41/G42. The main reason for this is because some of the things it does are hard to make work correctly with compensation. For instance wiggle piercing can't work with G41/G42.


motion has a pin motion.motion−type which tells you what the g code is doing at any time. One of the states is set when you are cutting an arc. This definitely works. There is a thread here somewhere where Andy helped me come up with a couple of algorithims which in theory should have allowed you to calculate the arc radius. But I did not have any wins. so I don't know why. My maths?? My coding?? the algorithims???

This is where I think state tags in conjunction with a plasmatask module might be able to help.

Sheetcam has an onArc() method where you can determine the arc length and generate code to suit. Perhaps Fusion has something similar.

Please Log in or Create an account to join the conversation.

More
21 Jul 2019 04:54 - 21 Jul 2019 04:59 #140045 by phillc54

That would be great if you would post that code. I'll see if I can get it to do what I am thinking and I will let you know. I have this implemented in my post processor, but putting it in plasmac might make sense; I'll leave that to you to decide.

Thanks again,
Steven

Attached are the file and instructions (sort of). The .py file needs to be executable.
You enable it in the ini file and you can also select between holes or all arcs.
It works for absolute mode, G91 will not work yet.
Eventually it will be in PlasmaC because I am selfish and that is what I intend to use as I will be using dxf2gcode which doesn't have any plasma related stuff.

Edit: When it does make it into PlasmaC I imagine that the options will be available on the GUI somewhere
Attachments:
Last edit: 21 Jul 2019 04:59 by phillc54.
The following user(s) said Thank You: Plasmaguy

Please Log in or Create an account to join the conversation.

More
20 Dec 2019 15:47 - 20 Dec 2019 15:51 #152950 by AgentWD40

Sorry guys, This is the latest one. Phill made a change so it errors if the material is not found in plasmac.

This may not be pretty under the hood but it is working. If you want to spot holes create and use a special tool called centerpunch with a drill operation and you will see the tools change while running

File Attachment:

File Name: SpaceShipP...post.txt
File Size:23 KB


Is this "rev 6" still the latest plasmac/sheetcam post processor?

Follow up questions:
1. Does plasmac or sheetcam handle kerf offset?
2. Plasmac overrides sheetcam's feedrates, right?
3. Center spotting: I do see there is example code in the user guide. But what's the best way to implement this from sheetcam? (video series linked below covers it but he's not using plasmac)

I know it's asking a lot but a plasmac specific sheetcam user guide would be super helpful for us newbies. I've found a series of video tutorials for sheetcam by Arclight Dynamics that was very helpful on learning the basics of sheetcam, but I don't know what applies or doesn't apply to PlasmaC.
Last edit: 20 Dec 2019 15:51 by AgentWD40.
The following user(s) said Thank You: Plasmaguy

Please Log in or Create an account to join the conversation.

More
20 Dec 2019 20:42 #152968 by rodw
I'm pretty sure that is the POST I am still using.
Just create your cut chart as a Sheetcam toolset, export it and import it into Plasmac via the materialverter if thats what Phill still calls it.
And tell Sheetcam to make .ngc files in the settings

Answers:
1. Sheetcam creates code compensated for the kerf width. Plasmac/Linuxcnc can use a tool offset for kerf compensation (tool width) but that is not required with Sheetcam. I think the POST for fusion360 does it this way and its discussed in the manual

2. The postprocesser here just uses the tool number in sheetcam and retrieves the Plasmac tool number and then reads and sets the Plasmac feedrate.

3. Create a tool called centerpunch and export to Plasmac with the others.. Copy holes to a new layer and create a drilling operation using the centerpunch tool. Set the dimensions for the holes in the operation window to make sure the holes you are drilling are in the min and max range. Make this the first operation in the list.

The arclight demos are very good but ignore all the stuff about code snippets and the like. These are not required with plasamc becasue it has the antidive/corner lock feature and a Hole mode too I think now. There is not really anything special about using Linuxcnc with sheetcam as the post processor handles all the Linuxcnc/Plasmac specific stuff without you needing to worry about it.

I did get Les Newell the Sheetcam developer to agree to write a post for Plasmac quite a while ago but it was so actively under development it was too premature. Now things have stablised in the feature set, perhaps its time to do that. That way, the POST would be distributed with sheetcam.I have not added code for the pneumatic marker which Stephan has pioneered or the Hypertherm RS485 control he is working on with Phill. Perhaps we should do it after that is in the production system.

the cool bit is Sheetcam runs on Linux and Windows but I run it from my Linuxcnc box.

Don't be afraid to edit the POST. Its pretty easy really. Its just a programming language called Lua, a number of methods that are called at specific times and (eg onPenDown) where the controller specific code goes. This code simply outputs text commands to the GCODE file.

This project is not really the right place to ask about sheetcam as its a commercial app in its own right. They run their own forum and also the plasmaspider forum has a wealth of info.
The following user(s) said Thank You: fernandosf

Please Log in or Create an account to join the conversation.

More
20 Dec 2019 21:30 #152973 by phillc54

the cool bit is Sheetcam runs on Linux and Windows but I run it from my Linuxcnc box.

For anyone using a Mac, the Windows version seems to run fine under WINE. wiki.winehq.org/MacOS

Please Log in or Create an account to join the conversation.

More
20 Feb 2020 12:04 #157989 by JTknives
Has anyone messed around with using hypertherm pronest. Thy now offer a monthly subscription and so far I am LOVING it. Not knocking on sheetcam as it’s gotten me where I am today but man is hypertherms software smooth. The auto nesting is fantastic and only takes around a min to produce some amazing results. Any ways I’m going to be working with hypertherm and giving them my machine specs as thy want it to finish setting up my software profile. Just wondering if any of you have tryied using it with plasmaC.
The following user(s) said Thank You: thefabricator03

Please Log in or Create an account to join the conversation.

More
20 Feb 2020 14:05 #158004 by tommylight
@ 30$ a month, quite expensive compared to sheetcam.
For professional use, that is very reasonable, but for hobby ....

Please Log in or Create an account to join the conversation.

More
20 Feb 2020 20:17 #158059 by thefabricator03
I have not tried it but I am very interested in seeing if it would work with PlasmaC. Be sure to let us know how you go with it.

Please Log in or Create an account to join the conversation.

More
21 Feb 2020 10:50 #158107 by jay1st
New to LinuxCNC i'm wondering what is the processor's utility when using Sheetcam and PlasmaC ?

Will it be possible to have a flowchart combining all the different "modules/software/processor" needed to have a CNC plasma running, starting with the DXF file and having as output the end process (the cutting of the part ?

It might sound stupid but when starting from scratch there are some things that are not easy to figure out :)

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.223 seconds
Powered by Kunena Forum