NativeCam raspberry Pi 4
- FernV
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 459
- Thank you received: 124
18 Dec 2017 21:37 #103312
by FernV
Your panel is a PYVCP and can not be in a tab, it needs to be converted to a gladevcp.
Start reading here forum.linuxcnc.org/41-guis/29251-custom-...pyvcp?start=10#59771
Fern
Replied by FernV on topic Use NativeCAM as a deb package now
In a tab I think as my right hand pane of the axis display is full up with tallies and displays for a tach, spindle direction and several other utilities. OTOH, if that right hand pane could be tabbed too, that would be useful. I think I won't be needing those buttons and tallies while ncam is running. Only after ncam has done its thing.
Your panel is a PYVCP and can not be in a tab, it needs to be converted to a gladevcp.
Start reading here forum.linuxcnc.org/41-guis/29251-custom-...pyvcp?start=10#59771
Fern
Please Log in or Create an account to join the conversation.
- Gene1934
- Offline
- Elite Member
Less
More
- Posts: 174
- Thank you received: 13
18 Dec 2017 22:17 #103316
by Gene1934
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <geneslinuxbox.net:6309/gene>
Replied by Gene1934 on topic Use NativeCAM as a deb package now
I just did, again. I'll consider that, and glade-gtk2, when it Just Works on an uptodate wheezy 32 bit install.
Or on an r-pi3 running Jessie, or a rock64 running stretch.
Yes, its faster, but there is always the "when it works" caveat.
So far, that quest for both the capability and power fail to next power fail stability has been a miserable failure, and bug submissions (which I've done, years ago now) are canceled with won't fix, not supported anymore so use gtk3 stuff, failing to admit that gtk3 is still suffering from the whole concept being thrown under the bus. It still, what, 6-7 years later, has only 10% of the capabilities glade-gtk2 had. pyvcp has its own problems with wasted screen real estate, but generally it just works, every time.
I'll try it, but I'll have backups too so I can back away the third time it doesn't just work.
Thanks & Cheers, Gene1934
Or on an r-pi3 running Jessie, or a rock64 running stretch.
Yes, its faster, but there is always the "when it works" caveat.
So far, that quest for both the capability and power fail to next power fail stability has been a miserable failure, and bug submissions (which I've done, years ago now) are canceled with won't fix, not supported anymore so use gtk3 stuff, failing to admit that gtk3 is still suffering from the whole concept being thrown under the bus. It still, what, 6-7 years later, has only 10% of the capabilities glade-gtk2 had. pyvcp has its own problems with wasted screen real estate, but generally it just works, every time.
I'll try it, but I'll have backups too so I can back away the third time it doesn't just work.
Thanks & Cheers, Gene1934
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <geneslinuxbox.net:6309/gene>
Please Log in or Create an account to join the conversation.
- FernV
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 459
- Thank you received: 124
19 Dec 2017 00:19 #103323
by FernV
Replied by FernV on topic Use NativeCAM as a deb package now
Gene
Best regards
Fern
- Rename your ini file GO704fast.ini.bak
- Copy included file to /home/gene/linuxcnc/configs/GO704fast/
- Start LinuxCNC normally with this ini file
Best regards
Fern
Please Log in or Create an account to join the conversation.
- Gene1934
- Offline
- Elite Member
Less
More
- Posts: 174
- Thank you received: 13
19 Dec 2017 01:12 #103326
by Gene1934
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <geneslinuxbox.net:6309/gene>
Replied by Gene1934 on topic Use NativeCAM as a deb package now
Thanks FernV
I'll give this one a try tomorrow. The ncam -i install seems to have worked ok too,
Now I am looking for an fft histogram chart maker so I can define the best focus distance of this camera. Looks to be something in the 4cm range while scanning a small upc bar code. An fft histogram should nail that down pretty closely.
Cheers, Gene1934
I'll give this one a try tomorrow. The ncam -i install seems to have worked ok too,
Now I am looking for an fft histogram chart maker so I can define the best focus distance of this camera. Looks to be something in the 4cm range while scanning a small upc bar code. An fft histogram should nail that down pretty closely.
Cheers, Gene1934
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <geneslinuxbox.net:6309/gene>
Please Log in or Create an account to join the conversation.
- Geshka
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
21 Dec 2017 23:38 #103445
by Geshka
Replied by Geshka on topic Use NativeCAM as a deb package now
Sorry Fern. just got back to hobby after crazy time at work.
Truetype-tracer is 4.1-2 version
ncam is 0.1.14b version
Below is output that ncam give during start - not a lot of warnings
gyakubov@LinuxCNC:~/Desktop/my-mill$ ncam -i my-mill.ini
NativeCAM info:
inifile = /home/gyakubov/linuxcnc/configs/my-mill/my-mill.ini
NCAM_DIR = /home/gyakubov/linuxcnc/configs/my-mill/ncam
SYS_DIR = /usr/share/linuxcnc/aux_gladevcp/NativeCAM
program = /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py
[RS274NGC]SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/mill:ncam/lib/utilities
Real paths:
/home/gyakubov/linuxcnc/configs/my-mill/ncam/my-stuff
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/mill
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/utilities
Using default mill/menu.xml, no mill/menu-custom.xml found
/usr/bin/ncam:2644: GtkWarning: IA__gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
mi = _action.create_menu_item()
Previous work not saved as current work
Truetype-tracer is 4.1-2 version
ncam is 0.1.14b version
Below is output that ncam give during start - not a lot of warnings
gyakubov@LinuxCNC:~/Desktop/my-mill$ ncam -i my-mill.ini
NativeCAM info:
inifile = /home/gyakubov/linuxcnc/configs/my-mill/my-mill.ini
NCAM_DIR = /home/gyakubov/linuxcnc/configs/my-mill/ncam
SYS_DIR = /usr/share/linuxcnc/aux_gladevcp/NativeCAM
program = /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py
[RS274NGC]SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/mill:ncam/lib/utilities
Real paths:
/home/gyakubov/linuxcnc/configs/my-mill/ncam/my-stuff
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/mill
/usr/share/linuxcnc/aux_gladevcp/NativeCAM/lib/utilities
Using default mill/menu.xml, no mill/menu-custom.xml found
/usr/bin/ncam:2644: GtkWarning: IA__gtk_accel_label_set_accel_closure: assertion `gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
mi = _action.create_menu_item()
Previous work not saved as current work
Please Log in or Create an account to join the conversation.
- Geshka
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
22 Dec 2017 00:03 #103446
by Geshka
Replied by Geshka on topic Use NativeCAM as a deb package now
Also, folks - facing strange issue.
I am trying to execute g-code file on other machine where ncam is not installed. I am loading it into LCNC and getting error - "Unable to open file <select>"
LCNC complains on this line -
o<select> CALL [31] [0] [0.000000] [0.000000 - #<wp_length> / 2] [0.000000 - #<wp_length>]
it is some sort of external subprogram or what exactly?
I am trying to execute g-code file on other machine where ncam is not installed. I am loading it into LCNC and getting error - "Unable to open file <select>"
LCNC complains on this line -
o<select> CALL [31] [0] [0.000000] [0.000000 - #<wp_length> / 2] [0.000000 - #<wp_length>]
it is some sort of external subprogram or what exactly?
Please Log in or Create an account to join the conversation.
- FernV
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 459
- Thank you received: 124
22 Dec 2017 01:14 #103450
by FernV
NativeCAM is designed as a package and all ngc files included in
[RS274NGC]SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/mill:ncam/lib/utilities
are needed.
It is a library and your other machine must have this in it's ini file as well and must have access at those files.
ncam.ngc depends on them
Fern
Replied by FernV on topic Use NativeCAM as a deb package now
...I am trying to execute g-code file on other machine where ncam is not installed
...it is some sort of external subprogram or what exactly?
NativeCAM is designed as a package and all ngc files included in
[RS274NGC]SUBROUTINE_PATH = ncam/my-stuff:ncam/lib/mill:ncam/lib/utilities
are needed.
It is a library and your other machine must have this in it's ini file as well and must have access at those files.
ncam.ngc depends on them
Fern
Please Log in or Create an account to join the conversation.
- Geshka
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
22 Dec 2017 02:36 #103451
by Geshka
Replied by Geshka on topic Use NativeCAM as a deb package now
Thanks Fern,
here is enhancement feature if you'd like: to generate completely portable g-code which can be executed on any machine
here is enhancement feature if you'd like: to generate completely portable g-code which can be executed on any machine
Please Log in or Create an account to join the conversation.
- FernV
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 459
- Thank you received: 124
04 Jan 2018 16:07 #104026
by FernV
FYI, you can use ncam generated code on any machine running lcnc as long as [RS274NGC]SUBROUTINE_PATH is pointing to directories containing the needed (.ngc) files. Just copy them to your other machine.
Most of them will be updated in the next release and will have to be copied again.
Fern
Replied by FernV on topic Use NativeCAM as a deb package now
Thanks Fern,
here is enhancement feature if you'd like: to generate completely portable g-code which can be executed on any machine
FYI, you can use ncam generated code on any machine running lcnc as long as [RS274NGC]SUBROUTINE_PATH is pointing to directories containing the needed (.ngc) files. Just copy them to your other machine.
Most of them will be updated in the next release and will have to be copied again.
Fern
Please Log in or Create an account to join the conversation.
- basten82
- Offline
- New Member
Less
More
- Posts: 5
- Thank you received: 0
12 Jan 2018 15:42 #104338
by basten82
Replied by basten82 on topic Use NativeCAM as a deb package now
Hi,
i like your Nativecam tool very much. But i see in some videos a tool probing routine like tool diameter probing. How can i activate this functions ?
Thanks
Daniel
i like your Nativecam tool very much. But i see in some videos a tool probing routine like tool diameter probing. How can i activate this functions ?
Thanks
Daniel
Please Log in or Create an account to join the conversation.
Time to create page: 0.118 seconds