NativeCam on LinuxCNC 2.9.3

More
2 years 4 weeks ago #311221 by Giovanni
It is not only a command.
I followed part of an "inspiring" doc and I typed other commands and edits on my own.
Actually, in my opinion, my installation is not completly correct, but it, after many experiments, works.

I have to create (and translate) a clean document with the procedure I followed to make NativeCAM run as a LinuxCNC tab.
When the doc will be ready I'll share it for sure.
The following user(s) said Thank You: gmouer, tommylight, freemoore, jmmontes

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

More
2 years 4 weeks ago #311236 by freemoore
Ok, thank you. I've just finished running a toolpath generated by your updated nativecam and it's gone without problems.

Another difference I just noticed:
when you add a new feature to the feature tree, all visible fields e.g. subfields of features like array->item->polyline->start collapse to the minimum view; I'm used to them staying visible.

Under the 'view' menu, 'Hide All Fields' is greyed out for me and in the right-click menu in the tree view window, 'Show All Fields' is also greyed out. I don't remember using these in the past, since the default behaviour (of not collapsing feature sub-menus) was good/what I got used to.

Let me know if there's anything particular you want me to try out.

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

More
2 years 4 weeks ago - 2 years 4 weeks ago #311239 by Giovanni
I have seen those problems. When I'll have some spare time, I'll try to fix them.

Since at this moment I have no much time I attach a text I have found recently.
Maybe the author is Fernand.
You have a standalone version of NativeCAM working, so I think you have only to made changes to embed it in LinuxCNC.
And I suppose you can run ncam from any place in the terminal simply by typing ncam.

You could follow that guide in the first 4 points to try to have NativeCAM in a LinuxCNC tab.
Remember to verify your paths.
In my case they were different respect those writtten in the guide and I had to adjust them.
One of the differences is the path:
/usr/share/pyshared/gladevcp
on my Raspberry is:
/usr/lib/python3/dists-packages/gladevcp

You can firstly verify the situation listing the directories.
If you write down the changes you make (I haven't... image missing /media/kunena/emoticons/sad.png) the guide could be written by you.

Regards
Giovanni
Last edit: 2 years 4 weeks ago by Giovanni. Reason: grammar
The following user(s) said Thank You: freemoore

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

More
2 years 4 weeks ago #311306 by freemoore
Ok, I'll give it a go. I've stripped out references to ncam in my ini file and deleted the folders that were created, and am going back to the start of the installation again, taking notes. If they end up coherent and I work out getting it into a tab, I'll post the results here.
The following user(s) said Thank You: jmmontes

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

More
2 years 3 weeks ago - 2 years 3 weeks ago #311336 by Giovanni
The following are the lines I have added to my .ini, all into DISPLAY section:

[DISPLAY]
# required NativeCAM item :
NCAM_DIR = ncam

# required NativeCAM item :
PROGRAM_PREFIX = ncam/scripts/

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


Note:
/usr/share......ncam.ui is where is located ncam on my computer.
Maybe different from yours. Locate where is your ncam files to create the path.
Mine, IMO,  is not the right place, but for now, since ncam works, I'll not change it.

In the terminal you could type:
which ncam

It will display the full path where is ncam that you run.

Regards
Giovanni
Last edit: 2 years 3 weeks ago by Giovanni. Reason: Added suggestions

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

More
2 years 3 weeks ago #311339 by andypugh
Is the problem with Python3 or are there Gtk problems too?

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

Time to create page: 0.068 seconds
Powered by Kunena Forum