LinuxCNC Features - a kind of NGCGUI
I installed LinuxCNC 2.7.3. in ubuntu precise and functions regularly.
after I installed LinuxCNC-features by following the instructions without errors.
But now I can not find the items "features demo" in LinuxCNC launcher.
I tried to modify an .ini file exists but does not work even if symbolic links seem right.
thanks
Mauro
Please Log in or Create an account to join the conversation.
I want to apologize first ..but do not understand the language well and I'm in trouble.
I installed LinuxCNC 2.7.3.
...
But now I can not find the items "features demo" in LinuxCNC launcher.
buildbot.linuxcnc.org
Please Log in or Create an account to join the conversation.
The demo is not in 2.7.3, it is in Master / 2.8.
No -- the branch is named 'features_preview_3'
It is based on the 2.7 branch (not master).
There will not be buildbot debs until the next commit by Fernv as the
last scratch build has 'timed out'
Interested users can test using the 'features_preview_3' branch. If you report errors,
please be sure to report the ref of the commit:
$ git log --oneline -1
See also:
forum.linuxcnc.org/forum/40-subroutines-...cgui?start=280#66467
Please Log in or Create an account to join the conversation.
I tried to embed linuxcnc-features in gmoccapy on my just recently CNC-converted lathe. I got it from here: fernv.github.io/linuxcnc-features.
It works, but the lathe catalog is quite empty. If I do a google search I run against videos like this one: , where the lathe catalog seems to be filled a bit more.
Is there a more recent version somewhere?
Please Log in or Create an account to join the conversation.
I tried today linuxcnc-features to get the code for a very simple "servo motor holding plate" and I am impressed about the very easy usage. Concratulatzions on that, but...
- I am a German and here we do use th "," as decimal separator, but if I try to enter a diameter using the number block of the keyboard like "59,235" I get "59235" in the entry box. In gmoccapy I check for the locale settings and take care of decimal separator being "." or ",".
could you please add that also?
- I need to make a circular poket at position 55,50 with diameter 60 and 15 mm depth, thats real easy, but the used toolpath is very strange! It goes in the center down to 15 mm, than out and at a bigger diameter again to the bottom. This is the longest machining time I ever got! Why not to use a more sofisticated code, like Item 12 - Rectangular pocketing
Just my 5 ct opinion!
Norbert
Please Log in or Create an account to join the conversation.
> Forgive me if I just missed something somewhere.
>
> I tried to embed linuxcnc-features in gmoccapy on my just recently CNC-converted lathe. I got it from here: fernv.github.io/linuxcnc-features
> It works, but the lathe catalog is quite empty. If I do a google search I run against videos like this one: ... , where the lathe catalog seems to be filled a bit more.
>
> Is there a more recent version somewhere?
After I published the version you installed, Nick who initiated the project replaced ALL his files with mines.
My lathe is not CNC'ed and have no timeline to convert it now. However you may dig into github.com/cnc-club/linuxcnc-features which is Nick's repo and find all the files he had before in the history. I also received some from a user but they need to be reviewed,
I am doing more development on files for mill and will later work on some for lathe but if you can write some files that work, I would be very happy to include them
Regards
Fern
Please Log in or Create an account to join the conversation.
>
> - I am a German and here we do use th "," as decimal separator, but if I try to enter a diameter using the number block of the keyboard like "59,235" I get "59235" in the entry box. In gmoccapy I check for the locale settings and take care of decimal separator being "." or ",".
> could you please add that also?
Hi Norbert,
I am sorry I completely overlooked this. Features.py is updated now on github to use your local setting. I hope I have not induced errors, check and let me know if problems arise. I only edited code to correct this specific issue.
>
> - I need to make a circular poket at position 55,50 with diameter 60 and 15 mm depth, thats real easy, but the used toolpath is very strange! It goes in the center down to 15 mm, than out and at a bigger diameter again to the bottom. This is the longest machining time I ever got! Why not to use a more sofisticated code, like Item 12 - Rectangular pocketing
>
I am currently working on new files to correct and add new options
Regards
Fernand
Please Log in or Create an account to join the conversation.
- cncnoob1979
- Offline
- Platinum Member
- Posts: 403
- Thank you received: 75
dgarrett said:
Interested users can test using the 'features_preview_3' branch. If you report errors, please be sure to report the ref of the commit:
I am a very new user, Linuxcnc ~ pretty much your standard entry level user. I absolutely love this program you gentlemen have created, Nick/FernV and others that have contributed to this product. Thank you so very much! I can run this program stand alone and love it. Still trying to figure out how to embed it into axis.
Now, as a new user I have tried to follow along and have stumbled a lot. I have been looking at; I have read this entire thread multiple times and have found these links/sources for the latest Features files:
buildbot.linuxcnc.org/dists/jessie/scratch-sim/binary-i386/
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...03b63f65e157f08d7dfd
I am on Linux mint, Cinnamon LMDE 2, [Debian edition] and trying to figure out how to imbed this into Axis. Where is the latest code updates/examples located? There are multiple listed repositories and are difficult for me to follow. Such as Nick's Git, FernV Git and now Linuxcnc "Features_Preview_3_Branch"
I think FernV git is the latest [fernv.github.io/linuxcnc-features/]? Or the last commit to Linuxcnc [Preview_3].
I figured I could just download the Linuxcnc preview 3 branch listed above and move each of the 'ini's and program files related to Features program to import [merge] this into my setup. I tried to use the scratch deb's but there are none I could find for Features [Guessing they are pruned]
I'm currently using build bot for 2.7.* stable, I'm on the latest release ~linuxcnc-dev_2.7.3.100.g59889fc_i386.deb I'm sure there is a better way to do all of this. However If you don't know how, you don't know how to start ~ or what terms to search or where to look for the information. It can be a daunting task.
I have tried to execute the "setup script" but it complains that folders are missing and some other errors that I cant remember. Im at work so I don't have access at the moment. I used FernV's latest 2.01 I downloaded from his git [zip file master]
I have my system working smoothly and I am trying my best not to break it! But If I have do, I can bring it back to its current state.
So to restate: I'm looking for the latest features files to incorporate [embed] into my linuxcnc axis 2.7.3.100.
Any suggestions that I can follow? Can someone post all the required modified files required to embed this into axis, so I may learn from an example?
As stated my understanding of the process is very little, but I can read and ask questions.
EDIT: I found this in the READ ME listed in the Preview 3 file structure here : I hope it works out this way
Features components in the LinuxCNC git tree:
1) share/features/
all non-program components
2) lib/python/gladevcp/features.py
'the main program'
3) configs/sim/axis/features_demo/
axis gui demos
configs/sim/gmoccapy/features_demo/ -- gmoccapy gui demos
4) bin/features
copied (by make) from features.py
Notes:
1) Inifiles must specify a directory [DISPLAY]FEATURES_DIR
for 'features' subdirs (In sim configs, this dir is named './myfeatures')
2) Inifiles must specify a [RS274NGC]SUBROUTINE_PATH that includes
the 'features' lib (e.g, [DISPLAY]FEATURES + '/lib' which is
named ./myfeatures/lib in the sim configurations)
3) Embedding in a gui from an inifile:
For axis gui, use:
[DISPLAY]GLADEVCP = -U --catalog=mill ./myfeatures/features.ui
For gmoccapy gui, use:
[DISPLAY]EMBED_TAB_COMMAND = gladevcp -x {XID} -U \
--catalog=mill ./myfeatures/features.ui
Catalogs available are: mill and lathe.
./myfeatures is a subdirectory for local 'features' subdirs and files.
./myfeatures/features.ui is a 'features' gladevcp configuration file,
A system reference is at: share/features/features.ui
4) The initial startup of 'features' embedded in a LinuxCNC gui will
copy system 'features' files to the [DISPLAY]FEATURES_DIR. Subsequent
startups will copy new 'features' files if they are available (due
to a LinuxCNC version update for instance). If the user has modified
the local files, a dialog will indicate that the modified files
must be renamed or removed in order to receive system file updates.
5) A contributor using a Run-In-Place (RIP) build can copy locally modified
files back to the appropriate share/features/ subdirectory to
make a patch. Users runnning a DEB install can offer locally modified
'features' file to a cooperating contributor to make a patch
using a RIP install.
6) To use 'features as a standalone application, start from the command
line: $ features [Options]
If an inifile is specified, it should satisfy the usual inifile
requirements as indicated above. If no inifile is specified,
the current working directory will be used. For this case, the
first use of the 'features' application will request user
permission to copy system 'features' files to the working directory.
Reference:
$ features --help
Standalone Usage:
features [Options]
Options:
-h | --help this text
-i inifilename | --ini=inifilename inifile for standalone
Notes:
For standalone usage:
a) Specify an inifile name which specifies [DISPLAY]FEATURES_DIR
or
b) Start in a working directory with pre-existing Features subdirs
!!!If Features subdirs are not present, they will be created
Authors:
Nick Drobchenko - Nick from both cnc-club.ru and linuxcnc.org forums,
Fernand Veilleux - FernV from linuxcnc.org forum,
Sergey - verser from both cnc-club.ru and linuxcnc.org forums,
Meison Kim, Alexander Wigen, Konstantin Navrockiy, Fernand Veilleux.
Please Log in or Create an account to join the conversation.
branch is rebased to the LinuxCNC 2.7 branch of 1/5/2016 so it includes all
LinuxCNC 2.7 updates as of that date.
Any other repository (on github or elsewhere) is maintained by the originator.
If you know how to use git, you can checkout, build, and use the LinuxCNC
'features_preview_3' branch as a Run-In-Place (RIP) build. However, it is
much simpler to get a deb from the buildbot.
The last commit by FernV to the LinuxCNC 'features_preview_3' branch was made
2015-11-26 and the debs have expired since no new commits have been made.
I requested the buildbot to rebuild debs and Seb has arranged for debs to
remain active for 180 days now (Thanks Seb!). Debs were built today (2feb16)
Ref: tom-itx.no-ip.biz:81/~tom-itx/irc/logs/%...-02-02.html#16:05:14
After installing a 'features_preview_3' deb, simulator configs that illustrate
embedding in a gui are available by using the Configuration Selector that
appears when you start LinuxCNC:
Sample Configurations/sim/axis/features_demo/mill.ini
Sample Configurations/sim/axis/features_demo/mill-mm.ini
Sample Configurations/sim/axis/features_demo/lathe.ini
Sample Configurations/sim/axis/features_demo/lathe-mm.ini
Sample Configurations/sim/gmoccapy/features_demo/gmoccapy.ini
To modify a config after installing the 'features_preview_3' deb:
1) Start LinuxCNC and use the 'Configuration Selector' to run one of the
provided simulator configurations, for example:
Sample Configurations/sim/axis/features_demo/mill.ini.
This will create a new configuration directory typically named:
~/linuxcnc/configs/sim.axis.features_demo
2) You should study the sim config ini file in this directory to see the new
ini items required -- the additional items needed are in the [DISPLAY] and
[RS274NGC] sections, namely:
[DISPLAY]
GLADEVCP = -U --catalog=mill ./myfeatures/features.ui
FEATURES_DIR = ./myfeatures
PROGRAM_PREFIX = ./myfeatures/scripts/
...
[RS274NGC]
SUBROUTINE_PATH = ./myfeatures/lib/
...
3) With the additions show above, your original config directory must have a
subdirectory named './myfeatures' that contains the file named 'features.ui'.
This file can be copied from the simulator config myfeatures directory.
An example session based on modifying an existing config (named ORIG)
based on the sim example in ~/linuxcnc/configs/sim.axis.features_demo:
$ cd ~/linuxcnc/configs/ORIG/ ;# set working directory to existing config
$ cp ORIG.ini tryit.ini ;# make a copy with a new name (tryit.ini)
$ mkdir ./myfeatures ;# create the required subdirectory
$ mkdir ./myfeatures/lib ;# create subdir for lib files too
$ # copy the sim config features.ui file to the correct place
$ source=~/linuxcnc/configs/sim.axis.features_demo
$ cp $source/myfeatures/features.ui ./myfeatures/features.ui
$ # EDIT tryit.ini to add items for [DISPLAY] and [R274NGC] (see above)
$ linuxcnc tryit.ini ;# try it
Note: If your original configuration has different settings for
[DISPLAY]PROGRAM_PREFIX or [RS274NGC]SUBROUTINE_PATH, you will need to add the
setting for PROGRAM_PREFIX and ./myfeatures/lib as directories in the
SUBROUTINE_PATH specification. For more information, see the RS274NGC section
in linuxcnc.org/docs/2.7/html/config/ini-config.html
Note: If you use the 'features_preview_3' branch there is no setup script
required and the sim configs should run on any distribution supported by
LinuxCNC.
Note: The setup script provided in some outside repositories uses root
privilege to modify systems files (follow instructions and use at your own
risk) and may not be applicable to all system configurations.
Please Log in or Create an account to join the conversation.
- cncnoob1979
- Offline
- Platinum Member
- Posts: 403
- Thank you received: 75
Thank you!
I ended up reinstalling wheezy live CD install and wiped my LMDE Mint setup. I was needing glade 3.8 and was unable to find it without having to compile it. I now have a source for glade-gtk2 and I will reinstall at a later date. I will install the features_3 branch and try it out. I also managed to embed features into my linuxcnc Wheezy install using your information as a guide.
Thanks you so very much@!
I worked on this for 2 days and was unable to wrap my head around it.
Thanks for taking the time to "hold my hand!" I now understand how embedding works.
Please Log in or Create an account to join the conversation.