Sheetcam revised post - please test

More
09 Nov 2021 12:00 - 09 Nov 2021 12:01 #225808 by snowgoer540

It's not the magic comment. Its the comment after setting some of the hole cutting variables.

Magic comment/g-code command, to me they are the same, # commands get called magic comments in the docs as well (even if I'm biased because I'm probably the one who put that there :laugh: ).

It looks like there is a string to float conversion happening but the number AND the rest of the line is being parsed causing an error


I understand what the entire issue is. A current "work around" is to put the comment the line before the magic comment/g-code command while any necessary change gets evaluated.

I think I will leave the post processor as it is now as Les has copied it for inclusion in his next release. In any case, the sheetcam report provides the data you are looking for at the part level.


Half way there I reckon. Honestly, I don't intend to pick up Les' post until, at a minimum, it does the stuff the original post did.
Last edit: 09 Nov 2021 12:01 by snowgoer540.
The following user(s) said Thank You: tommylight

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

More
09 Nov 2021 14:49 #225834 by Clive S
What is the recommended post for QTplasmaC using hypertherm 65 using the tools table from them.

Butt not yet using the RS485 connections

I am using the original F post

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

More
09 Nov 2021 20:42 #225872 by rodw

It's not the magic comment. Its the comment after setting some of the hole cutting variables.
 

Magic comment/g-code command, to me they are the same, # commands get called magic comments in the docs as well (even if I'm biased because I'm probably the one who put that there :laugh: ).


Not even close. When you use
#<h_velocity> = nn

You are using a gcode named parameter.
ref: linuxcnc.org/docs/devel/html/gcode/overv...ml#_named_parameters

It would not be unreasonable to expect the filter correctly processes valid gcode. Its a bug!

You can use whatever post processor you like or you can write your own which I did in the beginning. I think Phil removed links to the one he wrote so getting a full featured post processor distributed with sheetcam is worthwhile.

It would be interesting to extend the post to change the velocity slow down based on the hole/arc diameter as some of the sheetcam rule sets in use do. But I just wanted to implement the plasmac default features.

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

More
09 Nov 2021 20:57 #225873 by rodw

What is the recommended post for QTplasmaC using hypertherm 65 using the tools table from them.

Butt not yet using the RS485 connections

I am using the original F post

I don't think there is any functional difference between the Sheetcam post and the one you are using. There are two main differences I can think of:
1. The Sheetcam one more closely follows the Sheetcam paradigm. Spotting is moved to drilling operations so there is no need to use a specific Centre Spot tool for it. This was a carry over from a CandCNC post I modelled my original work on.
2. By default, Sheetcam passes all of the cut parameters to Plasmac using a magic comment so Sheetcam is the master of all cutting parameters to avoid data redundancy and the need to sync sheetcam to Plasmac if you make a change. Changing a variable in the Sheetcam Post makes it retrieve the Plasmac material based on the tool number the same as what you have now.
3. the Sheetcam post is part of sheetcam! The previous post was really unofficial as it was on the forum here, not part of the Linuxcnc distro. To me this is the correct model.

I personally think 2. is a big positive issue, you only should have data stored in one place to avoid it getting out of step.
The following user(s) said Thank You: Clive S

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

More
09 Nov 2021 21:34 - 09 Nov 2021 21:38 #225878 by snowgoer540

You are using a gcode named parameter.


ok

Its a bug!


Yes, I'm still aware.

What I said:

I understand what the entire issue is. A current "work around" is to put the comment the line before the magic comment/g-code command while any necessary change gets evaluated.

You can use whatever post processor you like

I am; thanks.
Last edit: 09 Nov 2021 21:38 by snowgoer540.

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

More
09 Nov 2021 22:15 #225885 by phillc54

It would be interesting to extend the post to change the velocity slow down based on the hole/arc diameter as some of the sheetcam rule sets in use do. But I just wanted to implement the plasmac default features.

The default is to have #<holes>=0. By setting the default to 2 you are forcing all users who update to either edit the PP or change the way they currently do holes in SheetCam. An update should not force users to make unnessary changes.

The automatic holes feature was really designed for users that code by hand or for users of simplistic gcode PPs like Inkskape.

Personally I wouln't use the QtPlasmaC holes feature from SheetCam because there is much more flexibility by doing it in SheetCam itself.

The early versions of the holes feature had four or five different hole sizes but that was removed to align with the above. 

 

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

More
10 Nov 2021 01:56 #225907 by rodw
Good points Phil. I was actually wondering if it was worth building out the plasmac hole processing to accommodate tiered hole processing based on the hole rules from SeanP on another forum. I shared screen dumps of the Plasmac versions of these  a long time ago so I guess thats the kind of thing you are talking about. There would be an enable flag and and arrays holding the hole diameters and velocities.
I got as far as reading the Lua docs about arrays this morning but have not looked at the Sheetcam onArc method to see if its feasible. I think it is.

I have not been using hole slowdowns often but recently I enabled the Plasmac defaults and it did make a difference. Long term I want to have an enhanced filter to apply more sophisticated hole adjustments. I may get there one day.

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

More
13 Nov 2021 01:39 - 13 Nov 2021 01:41 #226262 by RNJFAB
Hey Rod,

I updated to this post on the new machine running QTPlasmaC.

The only problem (re:user errors) I'm encountering is that since the rain I keep getting power outages in the shed (not asscoiated with this) and when I restart and get everything aligned again, I can only start from the beginning of the job. Previously I would be able to enter a job at the beginning of any cut.

The error I get is attached, along with the first 30 lines of gcode.

I think I may just need to get the toolset loaded into QTPlasmaC, however I am still adjusting these in sheet cam as I learn the machine anyhow it runs.

   
Attachments:
Last edit: 13 Nov 2021 01:41 by RNJFAB.

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

More
13 Nov 2021 02:03 #226263 by phillc54
With the current G-Code filter you won't be able to run from line if you use temporary materials. We could probably rework the filter so that this is possible.
The following user(s) said Thank You: RNJFAB

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

More
13 Nov 2021 02:10 #226264 by RNJFAB
Thanks Phillc54.

So only workaround is to go to an old pp and choose the material in QTPlasmac?

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

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