NativeCam on LinuxCNC 2.9.3

More
2 years 1 month ago #310711 by juergen-home
Thanks Giovanni
I'll try it next time, put it in with a long fork and a mask on :-)
Juergen

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

More
2 years 1 month ago #310764 by Giovanni
image missing /media/kunena/emoticons/smile.png
I forgot you may need the pref_edit file too.

Regards
Giovanni

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

More
2 years 1 month ago #311017 by Giovanni
Here is a more stable version (in my opinion).
But the calculation problem is still there (on my computer).
The following user(s) said Thank You: freemoore

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

More
2 years 1 month ago #311080 by freemoore
Hello all,
It's good to see you working on NativeCAM, I use it all the time and have got to the point where I need to update to lcnc 2.9.x and the lack of ncam is the main problem.

I followed juergen-home's instructions with a couple of changes:

step 3. copied to /home/freemoore/linuxcnc/ncam/
step 4. open console in /home/freemoore/linuxcnc/ncam/NativeCAM-master
step 5. sudo bash ncam_debsetup.txt
python3 ncam.py --ini=/home/freemoore/linuxcnc/configs/sim.axis.vismach.5axis.table-rotary-tilting/xyzbc-trt.ini --catalog=mill

After this I have run each further step down to 14 and reproduced the errors and results in Juergen's post, but without getting tool library to appear in ncam.

Next I copied Giovanni's ncam.py from above in place of the one in Bogdan's download.

I still don't have a tool library, but this is outputting a program to the simulated 5-axis machine config of lcnc that I've set it up with here. And the program is running OK.

Not sure I know what would be useful to you but I'm happy to test new versions of your code here!

great to see the familiar ncam on a 2.9 installation, it gives me hope :)

cheers, Andy

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

More
2 years 1 month ago #311081 by freemoore
A weird thing:
In the Value field there's 'change to gcode', this is the behaviour:
feature is Circle by Center, Diameter defaults to 38.1
right-click Diameter value and choose 'change to gcode'
value changes to 45
right-click menu now shows 'revert to original type', choose that
value changes to 1143
after this, 'change to gcode' and 'revert..' make the value swap from 45 to 1143 and back.

putting a different start value in e.g. 700 or 70 - change to gcode still puts the value to 45, revert to original puts it to 1143 and so on.

another test:
while the Value field is 'changed to gcode' the calculator style input field doesn't appear and this value doesn't change. 'revert to original type' allows the calculator to appear again.

A

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

More
2 years 1 month ago - 2 years 1 month ago #311086 by Giovanni
Hello,
I am happy to ear that my little fixes are useful to someone.
To me is useful your feedback and I think it would be useful to test NativeCAM on various computers.
I have a question for you real users: if you input numbers in the fields by doing calculations, is the result correct or a huge number is given?

I ask you that because I am testing NativeCAM on two machines: standalone on a iMac and embedded in LinuxCNC on a Raspberry Pi (the real LinuxCNC machine).
Calculations on the Mac are correct, but on Raspberry Pi are wrong.

I am not a Python or a NativeCAM expert (I am learning Python while trying to fix Native CAM), but I hope to be able to fix some problem.

Regards
Giovanni
Last edit: 2 years 1 month ago by Giovanni.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.142 seconds
Powered by Kunena Forum