Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - alex_holden

Pages: [1] 2 3 4
1
CamBam help (General usage) / Re: CamBam for Windows on Linux/Wine
« on: November 03, 2025, 05:31:06 am »
This screenshot shows what it looks like under CamBam for Linux on Mono 6.12.0.199.

2
CamBam help (General usage) / Re: CamBam for Windows on Linux/Wine
« on: November 03, 2025, 05:29:18 am »
The navigation button icons are missing in your screenshot. This screenshot shows what it looks like on CamBam for Windows under Wine (XWayland).

Incidentally @Dragonfly previously asked about Python script objects: they crash CamBam for Linux, but work in CamBam for Windows under Wine.

3
CamBam help (General usage) / Re: CamBam for Windows on Linux/Wine
« on: November 02, 2025, 06:27:28 am »
Quote
BTW Ubuntu 22.04 is 3 years old (I'm on Kubuntu 25.04 and the current LTS is 24.04)
If something works, don't change it.
I stick to that principle.  ;)

Yes, staying up to date does bite me occasionally. The trouble is if you never update anything for fear of breaking something, before you know it you're running an ancient unsupported system full of known security vulnerabilities.

4
CamBam help (General usage) / Re: CamBam for Windows on Linux/Wine
« on: November 02, 2025, 06:21:30 am »
I use cambam for linux with ubuntu 22.04, mono version 6.12.0.182 and everything works good.

I just tried CamBam for Linux again: copy and paste from one window to another doesn't work and dragging MOPs to change their order doesn't work. Mono 6.12.0.199 on Kubuntu 25.10. On the plus side I'm not seeing the missing button labels bug any more.

5
CamBam help (General usage) / Re: CamBam for Windows on Linux/Wine
« on: November 01, 2025, 10:22:51 am »
I've spent a couple of hours trying to use CamBam under Wine in native Wayland mode so that copy and paste works, but I keep running into other annoying bugs that aren't present in X11/XWayland mode (e.g. drag and drop to change the order of MOPs doesn't work). Unfortunately I can't recommend it for now. Probably going to have to dust off the Windows partition to get some work done.  :'(

6
CamBam help (General usage) / Re: CamBam for Windows on Linux/Wine
« on: October 31, 2025, 13:24:07 pm »
Update: I just upgraded from Kubuntu 25.04 to 25.10 and copy and paste in CamBam under Wine broke again. It still works within a single window but not from one window to another.

After a bit of experimentation I found that copy and paste works if I force Wine to use native Wayland instead of XWayland (by unsetting the DISPLAY environment variable). On the plus side it feels noticeably faster in native Wayland mode; on the minus side the window resizing controls aren't working properly (I have to leave the main window maximised).

7
CamBam help (General usage) / Re: CamBam for Windows on Linux/Wine
« on: August 03, 2025, 05:43:09 am »
I am using CamBam for Linux for many years on Ubuntu 18.04 and Mono "frozen" at version 5.12.
However, decided to install Ubuntu 22 on a dual boot system. But the latest Mono version has the same problems with 'File open' dialog box (no icons on the navigation buttons) and Python scripts do not run. CamBam just crashes out.
In the meantime Microsoft had swallowed Xamarin and I couldn't find a way to downgrade Mono to the last version I know that works correctly. The repository GPG keys are rejected by apt.
Did any of you had succeeded in dealing with Mono problems?

No, I have never had much success running CamBam directly on Linux using Mono. Hence why I switched to CamBam for Windows and .NET 4.8 via Wine 10.0.

BTW Ubuntu 22.04 is 3 years old (I'm on Kubuntu 25.04 and the current LTS is 24.04)

8
CamBam help (General usage) / Re: Some Random Questions
« on: April 05, 2025, 05:09:37 am »
Could you open the .nc file in a text editor and look at the date/time in the header (second line)? That's what I do when I want to check I've sent the latest version to my CNC machine.

9
CamBam help (General usage) / Re: Errors in G-Code Halting Process
« on: April 01, 2025, 05:19:26 am »
Regarding tool changes, either output a separate g-code file for each tool or switch to a g-code sender that handles M6 tool change instructions in a sensible way. I wrote my own that basically just pauses the program, allows you to do a manual tool change (including jogging), then resumes the program without sending the M6 line out to grbl.

Regarding error 33, I have run millions of lines of CamBam-generated code through grbl and have never seen this error, but apparently it can be caused by excessive rounding, i.e. not enough precision in the numbers sent in the g-code commands:
https://softsolder.com/2020/03/18/grbl-error-33-arc-coordinates-vs-decimal-places/
Basically the code is telling grbl to move through an arc that is physically impossible. This might either be a problem with the postprocessor you're using (I use a slightly altered version of the included GRBL post), or your g-code sender might be rounding-off the numbers before it sends them.

The postprocessor I'm using has the "Number Format" parameter set to "0.0###" which causes it to output 4 digits of precision. My g-code sender doesn't do any rounding.

I don't believe it's true that grbl was originally written to control laser cutters. It was originally meant to control basic 3 axis routers/mills and the laser-specific features were added much later. It does lack some advanced features such as macros but there's no reason you can't use it with CamBam to drive a router.

10
Installation Help / Re: Tool Library - Not Generated
« on: February 22, 2025, 12:13:25 pm »
With the Linux version of CamBam, the tools XML files should be stored in ~/.config/CamBam plus 1.0/tools/

XML is text surrounded with markup tags, similar to HTML. It isn't a spreadsheet format, hence why it opens in a text editor. XML editors do exist but I'm not sure how useful they would be with a CamBam tool file.

I also encountered the unlabelled buttons bug when I tried to use Linux CamBam. I suspect it has something to do with the current version of Mono being much newer than the one it was compiled against when the program was released.

My solution is to run the Windows version of CamBam under Wine.
https://cambamcnc.com/forum/index.php?topic=10653.0

11
CamBam help (General usage) / Re: CamBam for Windows on Linux/Wine
« on: February 13, 2025, 16:32:35 pm »
I also rebooted into Windows 11 to compare native Windows CamBam with the same CB file. Moving around and zooming in the drawing window feels snappier than either of the Linux options even with thousands of toolpaths visible, and generating G-Code took just under 10 seconds. Still, 99% of the time I'd rather use the slightly slower Wine option than spend several minutes rebooting into Windows.

12
CamBam help (General usage) / Re: CamBam for Windows on Linux/Wine
« on: February 13, 2025, 13:58:31 pm »
I just did a quick comparison opening the same fairly complex CB file in Windows CamBam under Wine vs Linux native. Clicking around the menus and adjusting parameters in the UI feels instantaneous in both. Moving and zooming around in the drawing window feels fast in both with "show toolpaths" turned off, becoming slightly sluggish (but still usable) under Wine when there are thousands of toolpaths visible on screen. Generating the G-code took 11 seconds under Wine vs 31 seconds native. I don't know why there's such a big difference but that's what I've found. ???

13
Installation Help / Re: linux mint license install
« on: February 13, 2025, 07:44:11 am »
I always had various problems with the Linux version of CamBam that prevented me using it. Recently I have had better success running the Windows version under Wine 10. A dialog box asks you for your license key when you first start it, then it stores it in a file so you don't have to re-enter it every time.
https://cambamcnc.com/forum/index.php?topic=10653

14
CamBam help (General usage) / Re: CamBam for Windows on Linux/Wine
« on: February 04, 2025, 14:38:14 pm »
Great news. I got copy and paste working, both within a window and from one window to another. I can probably finally stop rebooting into Windows every time I want to use CamBam.  :D

The solution was simply to install .NET version 4.8 instead of version 4.0 into the Wine environment. i.e. follow the same instructions I linked to previously, but install "dotnet48" instead of "dotnet40". That's all I did and copy and paste started working.

I am curious whether Wine also enables CamBam to run on M-series Macs without needing to boot a full Windows VM. I believe it should work in theory (I've seen videos of people using it to run x86 Windows games). If anyone tries it, please post here to let us know if it works.

15
CamBam help (General usage) / CamBam for Windows on Linux/Wine
« on: February 03, 2025, 10:35:00 am »
I read that there was a new major version of Wine released (version 10.0), so I decided to try running CamBam under it, having completely failed to get it working previously.

I installed the 64 bit version of CamBam.

It doesn't seem to work at all with Mono. Instead, follow these instructions to install Microsoft .NET 4.0 using winetricks into a fresh Wine environment, then install and run CamBam using the same WINEPREFIX:
https://appdb.winehq.org/objectManager.php?sClass=version&iId=17886

I seem to recall seeing an error dialog saying something about running as administrator the first time I tried to start it, but I didn't change anything and I'm not getting that dialog any more, so I'm not sure what that was about. It asks about setting permissions every time you start it, but you can answer either yes or no and it doesn't seem to make any difference. It accepted my license code successfully and is working in full licensed mode. It seems to mostly work fine and doesn't feel significantly slower than running it natively on Windows. I tried adding a couple of third party plugins and they seemed to work normally.

The one major fail I've noticed so far is that copy/paste only works for text, not for drawing objects or machine operations. No error messages, it just silently does nothing. At least drag and drop works, though only within one window; you can't drag something between two CamBam instances.

Overall, it seems to work much better than the Linux version of CamBam (probably because it's using an old version of .NET rather than Mono), but I will probably need to carry on rebooting into Windows unless somebody knows of a way to fix copy/paste.

Pages: [1] 2 3 4