NativeCam on LinuxCNC 2.9.3

  • vre
  • Away
  • Platinum Member
  • Platinum Member
More
05 May 2025 13:11 #327757 by vre
Replied by vre on topic NativeCam on LinuxCNC 2.9.3
I have installed and works except lathe.
Why this project stalled ?

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

More
05 May 2025 19:54 - 05 May 2025 20:23 #327780 by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
To solve the "lathe problem", please backup your files to be changed and try this:
copy default_template.xml (attached to this message) in
/home/linuxcnc/nativecam/catalogs/lathe/projects/
Replace the existing file.

Then:
sudo geany /usr/share/linuxcnc/gladevcp/NativeCAM/cfg/lathe/material.cfg
Remove the line 84 "header h3". All the line, without lefting an empty line.
Save the file, and maybe the problem is solved.

Let me know.
RegardsGiovanni

P.S. there is a revised installation guide too, if someone may be interested in.If you have already installed NativeCAM, you don't need this new guide since all the precedure is already done.
P.P.S: I am thinking my english is not so good
Attachments:
Last edit: 05 May 2025 20:23 by Giovanni. Reason: Forgot some piece and files
The following user(s) said Thank You: vre, COFHAL, Unlogic

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

  • vre
  • Away
  • Platinum Member
  • Platinum Member
More
09 May 2025 15:43 #328082 by vre
Replied by vre on topic NativeCam on LinuxCNC 2.9.3
How can use it with qtdragon_hd ?
Also the icons are missing from menus.

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

More
17 May 2025 20:27 #328654 by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
I've tried to run NativeCAM with qtdragon after a couple of changes:

# required NativeCAM item:
EMBED_TAB_NAME = NativeCAM
EMBED_TAB_LOCATION = tabWidget_utilities
EMBED_TAB_COMMAND = gladevcp -x {XID} -U --catalog=mill /usr/share/linuxcnc/gladevcp/NativeCAM/ncam.ui

And I copied an existing folder in qt_dragon config folder.

The NativeCam tab (empty) is shown, but NativeCAM wont'run cause it declares a DISPLAY problem.
I'll try to trick NativeCAM to avoid the display check, to see if it will run.

Regards
Giovanni
Attachments:

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

More
17 May 2025 21:48 - 17 May 2025 21:51 #328659 by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
The file attached is a dirty patch to test only with qt_dragon interface.
The DISPLAY test function is disabled to allow NativeCAM to run.


If you would try NativeCAM with qt_dragon, follow the installation procedure (search in previous messages)
Replace the ncam.py file with the attached and add the line in green in the .ini file:

# required NativeCAM item:
EMBED_TAB_NAME = NativeCAM
EMBED_TAB_LOCATION = tabWidget_utilities
EMBED_TAB_COMMAND = gladevcp -x {XID} -U --catalog=mill /usr/share/linuxcnc/gladevcp/NativeCAM/ncam.ui

It will run in a strange way:
LinuxCNC will start with the NativeCAM error. Click OK
NativeCAM will start (not embedded)
LinuxCNC screen shows up.

The NativeCAM tab is empty and useless, but to use NativeCAM use ALT-TAB keys to bring its window up.
After sending the program to LinuxCNC, use ALT-TAB keys to bring  LinuxCNC up.

It's a terrible way to use it, but for now it at least  works.

Regards
Giovanni





 
Attachments:
Last edit: 17 May 2025 21:51 by Giovanni.

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

More
18 May 2025 10:23 #328682 by cmorley
Replied by cmorley on topic NativeCam on LinuxCNC 2.9.3
There is a slowly developing version for qt screens:
github.com/LinuxCNC/linuxcnc/commits/qt_ncam/

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

More
18 May 2025 10:42 - 18 May 2025 20:36 #328683 by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
Since a QT version is currently in development, I think it would be better to use that version for QT interfaces.whithout making strange combinations.

Regards
Giovanni
Last edit: 18 May 2025 20:36 by Giovanni. Reason: Maybe I used wrong words

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

More
18 May 2025 12:23 #328688 by cmorley
Replied by cmorley on topic NativeCam on LinuxCNC 2.9.3
If it's a lot of work I wouldn't bother. Either I will finish the qt version or adapt your version.
Qt version seems to mostly work, but looks slightly different:

 

 

Does the sample basic spacer work for you?
Also the turners cubes I can't get to work (flat verse diameter error)

Chris
Attachments:

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

More
18 May 2025 13:16 #328691 by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
Yes it's a lot of work but it will be all QT.
You have to change at least all the interface.
That's a very good job.

"My" (note the quotes, cause it's not mine) version, the solution I proposed in the message above it's only the "standard" gtk-tkinter version for python3 in which I disabled the exit to sys if the screen is not axis, gmocappy... etc. allowing to be used with qt_dragon interface.
The empty Ncam tab is only to launch NativeCAM with LinuxCNC.
It's meant to be only a temporary solution if someone really need to run it.

Regards
Giovanni

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

More
18 May 2025 13:32 #328692 by Giovanni
Replied by Giovanni on topic NativeCam on LinuxCNC 2.9.3
This is how the interface looks like.
 
The difference, the contrast in style is obvious.
So I think with a QT interface, as you are doing, it would be better.

Giovanni
Attachments:

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

Time to create page: 0.183 seconds
Powered by Kunena Forum