NativeCam on LinuxCNC 2.9.3

More
22 Oct 2024 16:36 #312878 by freemoore
I'd be up for trying that; I've been down another rabbit-hole for the last few days and only just saw your message. What sort of medium suits you - via messages here, or e.g. whatsapp, what suits you and when?

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

More
22 Oct 2024 17:19 #312883 by Giovanni
I think that messages here would be fine.

Regards
Giovanni

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

More
23 Oct 2024 09:50 #312936 by freemoore
When would suit you?

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

More
23 Oct 2024 19:48 #312998 by Giovanni
I think we could start right now! :-)
I have written a theoretical, hypothetical installation procedure (attached below) in .pdf and editable .odt so if you need to modify it, you can.
I hope it would be useful.
Good luck. Let me know.

Regards
Giovanni
Attachments:
The following user(s) said Thank You: freemoore

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

More
24 Oct 2024 18:24 #313127 by freemoore
Ah great! I'll have a look.

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

More
30 Oct 2024 19:02 #313508 by Krulli_Fräser
I would love to use NativeCam in LCNC as it seems like the best way to generate easy/moderately complex gcode for directly on the control.
Modeling the part and using CAM interrupts my workflow too much.

Keep posting here when you get it to work correctly

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

More
17 Nov 2024 12:27 #314657 by freemoore
Hi Giovanni and others,

Didn't think it would take me an entire month to find time to try this, but that's what's happened. Giovanni, many thanks to you for your clear and thorough instructions, I have nativecam working embedded in a tab.

Linuxcnc version is 2.9.3.

Followed Giovanni's guide but had some issues/found solutions as follows:

I wanted to use Giovanni's latest edit of ncam.py as downloaded from p2 of this topic so extracted that to the Desktop and did:

> Desktop sudo cp ncam.py /usr/share/linuxcnc/gladevcp/NativeCAM
> Desktop sudo cp ncam.py /usr/lib/python3/dist-packages/

- I guess one of those is likely unnecessary but I'm not sure which, leaving them both there for now.

On my system there were already some lines pointing to gladevcp instead of aux_gladevcp, so where Giovanni's instructions say 'aux_gladevcp' I substituted just 'gladevcp'

I couldn't get the system to append the path: /usr/lib/python3/dist-packages/gladevcp to the pythonpath but it already contained: /usr/lib/python3/dist-packages, so instruction number 5 becomes this:

Move to the dist-packages directory:
> cd /usr/lib/python3/dist-packages

Create symbolic links to the files in the NativeCAM folder:
> sudo ln /usr/share/linuxcnc/gladevcp/NativeCAM/ncam.py -s
> sudo ln /usr/share/linuxcnc/gladevcp/NativeCAM/ncam.glade -s
> sudo ln /usr/share/linuxcnc/gladevcp/NativeCAM/pref_edit.py -s

(A few times I saw an error like 'ModuleNotFound: pref_edit.py' so added a symlink to that)

and a couple of other errors mostly due to me reading through a file too fast and putting a couple of things in the wrong place.

for no. 8: again, gladevcp instead of aux_gladevcp

I did not use instruction no. 9 as I don't use ncam as standalone.

Trying out first cuts using embedded nativecam last night, works as expected so far. No crashes as yet. Thanks also to BogdanTheGeek for the initial update!
The following user(s) said Thank You: Clive S, Aciera

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

More
18 Nov 2024 20:36 #314798 by Giovanni
I am happy to hear that you reached the goal.

Now we could integrate your experience in the installing intructions file.
We have NativeCAM working on LinuxCNC 2.9 and 2.10 beta, Rapberry Pi and Debian.

Yes, we have to thank BogdanTheGeek for the big job of porting NativeCAM from python2 to python3.

Regards
Giovanni
The following user(s) said Thank You: Clive S, Unlogic

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

Time to create page: 0.100 seconds
Powered by Kunena Forum