Testing release of SheetCam for Linux

Will you show some screenshots ?

Got this up and running on a new install of Debian 11 (Bullseye)
All installed OK.
Only thing I could not work out was how to add an icon to a desktop shortcut that is running run-sheetcam which is hte only option I could see to start it.

Nice to have the Plasmac post processor.

What desktop are you using? In most cases you can simply drag the SheetCam shortcut onto your desktop.

Using XFCE. I could create the shortcut on the desktop but it did not have the sheetcam icon. What file is that included in?

If you drop down the start menu and select graphics you should be able to drag the SheetCam shortcut onto your desktop.
Alternatively you can find the SheetCam icon in ~/sheetcamtng/resources/sheetcamlogo.png

That was the thing. Nothing turned up in the menu anywhere I could see.
I’ll use the logo manually.

That’s odd. I haven’t had any other reports of the shortcut being missing.

Les,

The PlasmaC post processor is not sending the kerf width to Linuxcnc.
This line needs adding to UseTool

      post.NonModalNumber(",kw=", toolDia * scale, precision)

Without a kerf width, Plasmac’s cut recovery that moves the torch of the cut path by multiples of the kerf width is not functional
I’m using 7.1.20 for Windows.

I’ve attached the revised post.
plasmac.comp.txt (97.2 KB)

Actually, the postprocessor also omitted the ability to set Plasmac’s Auto hole modes
I added some additional parameters.
Set

holeMode     = 0

to disable Plasmac’s builtin hole processing mode.
The other variables allow you to select the correct mode and and the hole diameter and overcut distance.
All dimensions are set in mm but are converted to inches before use.

holeMode     = 2     -- Set the hole cutting mode. 0=disabled, 1=diameter velocity reduction,
					 --                            2= vel reduction+ overcut, 3=include arcs, 4=arcs + overcut
holeVelocity = 60    -- Set the velocity for hole cutting mode as a percentage of feedrate
holeDia      = 32    -- Set the hole diameter in device units (mm)
holeOvercut  = 4     -- Set the whole overcut distance (mm)

It would be good if any Linuxcnc users here could test this.

For detailed information about holecutting in plasmac, please refer to the docs.
http://linuxcnc.org/docs/devel/html/plasma/qtplasmac.html#_hole_cutting_intro

Hopefully Les can incorporate this as rev 0.3 into his Sheetcam distributions.


EDIT: fixed revised syntax - removed the attachment

Actually, I found a bug in QTPlasmac’s gcode filter parsing. Comments broke some of its numeric parsing. This later version works around this

I also removed AutoHoles as it was really redundant as holeMode can do the same thing. So now the hole processing should be disabled if

holeMode = 0

The linuxcnc guys wanted their statistics data at the end of the gcode file and I found a bug in Les’s post so its been fixed too.

This is now appended to the end of the file (Length was not reported previously)

 ;begin statistics
 ;Pierces = 4
 ;   Cuts = 4,    Length = 627.48mm
 ;end statistics

It should also report the number of scribing segments and distance scribed but I don’t have a scriber
LinuxCNC PlasmaC3…scpost.txt (10.8 KB)

Thanks. I have updated my records so it will be included in the next release.

Thanks Les. I’ll let you know here if there is any changes.
I’ve finally got QTPlasmac onto my production machine so trying to get everything working!

Why is there only a 64-bit version on the download official page - 7.1.20-1-amd64 ? I need the last update 32-bit version in branch 7.1. This will eventually run on Debian 7 Wheezy with LinuxCNC 2.6.12.

There is a 32 bit version earlier in this thread.
Linuxcnc V2.6 is so old now, an upgrade to 64 bit hardware is almost mandatory and Wheezy is way past end of life.

That’s the problem. It’s getting harder to support 32 bit Wheezy and there are not many users still on 32 bit.

Thanks for supporting linux. I tried the .deb on the Downloads page SheetCamTNG_7.1.20-1_amd64.deb and had no luck with Ubuntu 16.04 due to lack of libreadline7. Then I upgraded to 20.04 and it has readline8 but not 7, so it fails too. But looks like Ubuntu 18.04 would have worked.

Also tried SheetCam_setupV7.1.16-64.bin, and it likewise fails due to lack of readline7 on Ubuntu 20.04.

Edit: I manually downloaded and installed the 18.04 package on my 20.04 machine (which is a dicey thing that I don’t recommend) :
https://packages.ubuntu.com/bionic/libreadline7

Then the .bin version worked for me. The .deb then was willing to install. Running failed with:
$ SheetCamTNG-dev
SheetCamTNG-dev: error while loading shared libraries: libwx_gtk3u-3.1.so.4: cannot open shared object file: No such file or directory

And I was able to work around that with:
$ LD_LIBRARY_PATH=/usr/lib/SheetCamTNG-dev SheetCamTNG-dev

Also, looks like the .deb is reporting its version as 1.0, which is maybe why people are getting prompted to “upgrade” to version 6.

$ apt-cache show sheetcamtng
Package: sheetcamtng
Status: install ok unpacked
Maintainer: Les Newell <les@sheetcam.com>
Architecture: amd64
Version: 1.0
Depends: libreadline7, libncurses5, libtinfo5, libpng16-16
Description: SheetCam TNG CAM package
Description-md5: 1aabfb050ac8b2d53ac0f87f39479be3

Supporting Linux is a nightmare - the libraries change on every release.
If you want to run SheetCam from the command line you need to run /usr/bin/SheetCamTNG-dev-run, not /usr/bin/SheetCamTNG-dev.

I wasn’t aware of people getting prompted to upgrade to V6.x. I can’t replicate that one here.

Les your efforts for us Linux users are very much appreciated

just installed the latest release yesterday on a clean Debian Buster linuxcnc 2.8.2 iso install and it works a charm. (I was running mx21)

I too had the downgrade request in the past, and I also had icons not showing correctly but it all looks good

Is Linux support continuing with version 8 and beyond?