- Posts: 457
- Thank you received: 0
NativeCAM is Features renamed
yeltrow wrote: Can this control panel be run as a tab?
Yes it can and this question was asked before in this thread and someone else have answered. I do not know how.
But if you have a wide monitor (available and inexpensive second hand),
you would be benefit in viewing the changes immediately.
yeltrow wrote:
I wasn't sure how I could come up with the -x option to pass loadusr if I did it myself. It seems like it is some magic random number.
The -x option is the address in memory of the parent for the new object (NCam in this case). This is passed by gladevcp, you do not have to worry about it
Fern
Please Log in to join the conversation.
Attachment not found
Please Log in to join the conversation.
My workpiece shows as ENORMOUS and will not update. I haven't figured it out. It does it in the demo cofiguration too. I use inches. I also couldn't get a drill operation to execute. Milling seems to work as expected...
Attachment not found
Please Log in to join the conversation.
However I am sure it will do what it is suppose to do.
You only need this one to correct
I will be back at the end of the day
Fern
Please Log in to join the conversation.
yeltrow wrote: One additional clue that might be helpful in understanding the PYTHONPATH problem:
My workpiece shows as ENORMOUS and will not update. I haven't figured it out. It does it in the demo cofiguration too. I use inches. I also couldn't get a drill operation to execute. Milling seems to work as expected...
This has nothing to do with PYTHONPATH
The enormous box you see is your mill limits.
I guess your mill set-up is metric and you loaded the Basic-spacer demo.
(maybe this is a demo inifile ?)
Read the comment. The values are in inches, just change them to metric
If you do some mistake, just click Undo
Also, you only need nondeb_setup.py
gladevcp will now find the missing files
Fern
Please Log in to join the conversation.
cd Downloads
git clone github.com/FernV/NativeCAM.git
cd NativeCAM/
sudo ./nondeb_setup.py
#This failed because I didn 't have python-lxml...
sudo apt-get install python-lxml
sudo ./nondeb_setup.py
cd configs/sim/axis/ncam_demo
linuxcnc mill.ini
# This failed complaining about the lack of the directory for lathe - Maybe a flaceholder README in this directory is needed? The repository does not have this directory, perhaps because it is empty.
mkdir /home/myusername/Downloads/NativeCAM/defaults/lathe
linuxcnc mill.ini
#open Basic spacer-in.xml with the menu.
#Check "show workpiece."
#No workpiece is visible.
Attachment not found
#Then I tried adding it to the simulator configuration.
#I went to ~/linuxcnc/configs. I made a complete copy of the simulations folder with axis.ini
#Then I tried using the ncam script to autoconfigure everything like this:
~/Downloads/NativeCAM/ncam.py -i axis.ini -c mill
# I got the usual ncam only window.
Attachment not found
# Then I started it up alongside the axis mill simulation
Attachment not found
#I WAS SUCCESSFUL IN EMBEDDING IT AS A TAB by commenting out the called to GLADEVCP and adding some
# EMBEDDED_TAB settings as shown below:
# required NativeCAM item :
#GLADEVCP = -U --catalog=mill /home/myusername/Downloads/NativeCAM/ncam.ui
EMBED_TAB_NAME=NCAM
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -x {XID} -U --catalog=mill /home/myusername/Downloads/NativeCAM/ncam.ui
Attachment not found
Still can't get the silly workpiece to show...
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
- Posts: 22010
- Thank you received: 3
Please Log in to join the conversation.
I have no idea what "Toggle Skip Lines" means, but clicking the button as tommylight suggested fixed it for me!
Please Log in to join the conversation.
yeltrow wrote: on "Still can't see the material":
I have no idea what "Toggle Skip Lines" means, but clicking the button as tommylight suggested fixed it for me!
Everything was normal with your procedure except the complain about a lathe subdirectory and I see no reason why you had to create the dir /home/myusername/Downloads/NativeCAM/defaults/lathe
I will investigate on this
The case of "Toggle Skip Lines" button was discussed many times in this thread and is explained in the videos,
but it seems you need more information.
You do NOT want to mill the workpiece contour and many lines show to help have a
better idea of the final result.
When you toggle the button, it either shows or hide those lines.
What LinuxCNC does is when a line start with '/', it will execute the line or not.
A safety is in the generated ncam.ngc file at about line 60.
If you forget to "Skip Lines", it will enter in pause and wait for you to stop and toggle the button
then restart.
You can surely imagine what would happen without it,
As I wrote a few messages before, the application is in transition to become a deb package
and is not up to date including the README.md
Fern
Please Log in to join the conversation.
Please Log in to join the conversation.
