NativeCam on LinuxCNC 2.9.3

More
1 year 5 months ago #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 to join the conversation.

More
1 year 5 months ago #327780 by Giovanni
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

Please Log in to join the conversation.

More
1 year 5 months ago #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 to join the conversation.

More
1 year 5 months ago #328654 by Giovanni
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

Please Log in to join the conversation.

More
1 year 5 months ago #328659 by Giovanni
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





 

Please Log in to join the conversation.

More
1 year 5 months ago #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 to join the conversation.

More
1 year 5 months ago #328683 by Giovanni
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

Please Log in to join the conversation.

More
1 year 5 months ago #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:

 

Attachment not found



 

Attachment not found



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

Chris

Please Log in to join the conversation.

More
1 year 5 months ago #328691 by Giovanni
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 to join the conversation.

More
1 year 5 months ago #328692 by Giovanni
This is how the interface looks like.
 

Attachment not found


The difference, the contrast in style is obvious.
So I think with a QT interface, as you are doing, it would be better.

Giovanni

Please Log in to join the conversation.

Time to create page: 0.127 seconds
Powered by Kunena Forum