LinuxCNC Features - a kind of NGCGUI

More
14 Dec 2015 14:56 #66960 by billykid
I want to apologize first ..but do not understand the language well and I'm in trouble.
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.

More
14 Dec 2015 15:03 - 14 Dec 2015 15:50 #66962 by andypugh

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.


The demo is not in 2.7.3, it is in Master / 2.8.

buildbot.linuxcnc.org
Last edit: 14 Dec 2015 15:50 by andypugh. Reason: I was wrong.

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

More
14 Dec 2015 15:46 - 11 Jan 2016 15:33 #66966 by dgarrett

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
Last edit: 11 Jan 2016 15:33 by dgarrett. Reason: was features_preview_2, now _3

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

More
16 Jan 2016 08:21 #68518 by DaBit
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?

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

More
16 Jan 2016 17:41 #68532 by newbynobi
Hi to Everyboddy,

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.

More
18 Jan 2016 00:03 #68634 by FernV
Le 2016-01-16 03:21, DaBit a écrit :
> 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.

More
18 Jan 2016 00:05 #68635 by FernV
> 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?

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
The following user(s) said Thank You: licantrop

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

More
02 Feb 2016 19:31 - 03 Feb 2016 13:18 #69466 by cncnoob1979

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 :)


Warning: Spoiler!
Last edit: 03 Feb 2016 13:18 by cncnoob1979.

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

More
03 Feb 2016 00:31 - 03 Feb 2016 18:01 #69471 by dgarrett
The 'features_preview_3' branch is a part of the LinuxCNC git repository. This
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.
Last edit: 03 Feb 2016 18:01 by dgarrett. Reason: typos

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

More
03 Feb 2016 13:27 #69507 by cncnoob1979
dgarrett,

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.

Time to create page: 0.128 seconds
Powered by Kunena Forum