- Posts: 457
- Thank you received: 124
LinuxCNC Features - a kind of NGCGUI
- FernV
- Offline
- Platinum Member
-
Less
More
12 years 5 days ago #52416
by FernV
Replied by FernV on topic LinuxCNC Features - updated files ?
Hi Nick,
Congratulations for creating a fantastic plug-in that in my opinion will be appreciated by beginners like me and users that do not use it on a regular basis. I think it is promising and has a future.
I was able to download and install it quite easily following the README.md but I wonder if those files are up to date, they seem quite old for a product in it's infancy.
I am using Debian Wheezy with LinuxCNC 2.6.3
I guess some work has been done since the last update of the files in gethub repo. Will you update soon ? I do not understand how others can say that it runs perfectly when I can not with supposedly the same files.
Regards
P.S. I can complete the translation in 2-3 days to french if I have a complete po file and will be happy to contribute
Congratulations for creating a fantastic plug-in that in my opinion will be appreciated by beginners like me and users that do not use it on a regular basis. I think it is promising and has a future.
I was able to download and install it quite easily following the README.md but I wonder if those files are up to date, they seem quite old for a product in it's infancy.
- Mill.xml has many broken link between *.ini file and their address on disk, same for lathe.xml
- To execute as stand alone and see the result in LinuxCNC, I have to execute as sudo
- Only linear array, circular array and n-gon are working, everything else result in errors in Terminal even after updating mill.xml like this when trying to show a Center Rectangle:
Traceback (most recent call last):
File "./features.py", line 912, in refresh
f.write(self.to_gcode())
File "./features.py", line 894, in to_gcode
g,d = self.refresh_recursive(iter)
File "./features.py", line 871, in refresh_recursive
gcode_def += f.get_definitions()
File "./features.py", line 257, in get_definitions
s = self.process(self.attr["definitions"])
File "./features.py", line 324, in process
s = re.sub(r"(?i)(<eval>(.*?)</eval>)", eval_callback, s)
File "/usr/lib/python2.7/re.py", line 151, in sub
return _compile(pattern, flags).sub(repl, string, count)
File "./features.py", line 287, in eval_callback
return str( eval(m.group(2), globals(),{"self":self}) )
File "<string>", line 1, in <module>
File "./features.py", line 274, in include_once
return self.include(src)
File "./features.py", line 265, in include
f = open(search_path(SUBROUTINES_PATH,src))
TypeError: coercing to Unicode: need string or buffer, NoneType found - There are inconsistencies in the interface, sometimes it is cX, CX or DX, though the order is right in the *.ini file, it is not the same in the interface
- "Rappid" does not seem a significant word in LinuxCNC but I think I understand the meaning
- po file is incomplete
I am using Debian Wheezy with LinuxCNC 2.6.3
I guess some work has been done since the last update of the files in gethub repo. Will you update soon ? I do not understand how others can say that it runs perfectly when I can not with supposedly the same files.
Regards
P.S. I can complete the translation in 2-3 days to french if I have a complete po file and will be happy to contribute
Please Log in or Create an account to join the conversation.
- Nick
- Offline
- Premium Member
-
Less
More
- Posts: 125
- Thank you received: 11
12 years 4 days ago #52419
by Nick
Replied by Nick on topic LinuxCNC Features - updated files ?
Hi!
Honestly, I have not tested Features with 2.6.3 yet.
We have tested it only with pre-releases of 2.6.
I'll try to find out what's wrong with 2.6.3.
If you will make po file it will be amazing
! Features are going to be multilingual
Honestly, I have not tested Features with 2.6.3 yet.
We have tested it only with pre-releases of 2.6.
I'll try to find out what's wrong with 2.6.3.
If you will make po file it will be amazing
Please Log in or Create an account to join the conversation.
- FernV
- Offline
- Platinum Member
-
Less
More
- Posts: 457
- Thank you received: 124
12 years 4 days ago #52475
by FernV
Replied by FernV on topic LinuxCNC Features - updated files ?
Hi Nick,
I have a suggestion, maybe some titles could be changed like :
Sorry, I have a better understanding of CX and DX
Your plug-in is intuitive and pretty well thought
Regards
I have a suggestion, maybe some titles could be changed like :
- Linear and Circular Array Number and Tool Number have 2 different meanings, the first one means Quantity while the second one is an ID, so Linear and Circular array could be Quantity or Count while Tool could be Ident
- In Gcode, could Variable be better than Line ?
Sorry, I have a better understanding of CX and DX
Your plug-in is intuitive and pretty well thought
Regards
Please Log in or Create an account to join the conversation.
- Nick
- Offline
- Premium Member
-
Less
More
- Posts: 125
- Thank you received: 11
12 years 3 days ago #52484
by Nick
In Gcode, could Variable be better than Line ?
What do you want to be instead of line?
Replied by Nick on topic LinuxCNC Features - updated files ?
Can you attach a screenshot I do not understand that quite well...FernV wrote: Hi Nick,
Linear and Circular Array Number and Tool Number have 2 different meanings, the first one means Quantity while the second one is an ID, so Linear and Circular array could be
Please Log in or Create an account to join the conversation.
- FernV
- Offline
- Platinum Member
-
Less
More
- Posts: 457
- Thank you received: 124
12 years 3 days ago #52515
by FernV
Replied by FernV on topic LinuxCNC Features - updated files ?
Hi
I assigned the wrong translation to Number in one place and it created confusion. "Number" is OK in all cases.
When I first selected Custom Gcode, I had no idea at all what Line 1-5 were about. It is only when reviewing your video that I understood. However, I think "Variable" could be a better term, I would have understood that it is an object which would need a value.
Is it supposed to write "features.ngc" in the topmost directory ? Or should it be in either ~/linuxcnc or ~/linuxcnc-features-master ?
Most errors are the same when linuxcnc is not updated :
TypeError: coercing to Unicode: need string or buffer, NoneType found
I searched www.google.com/search?q=TypeError%3A+coe...weasel-a&channel=nts
and I had lot of answers but since I do know python at all I have no idea what all this means
Regards
I assigned the wrong translation to Number in one place and it created confusion. "Number" is OK in all cases.
When I first selected Custom Gcode, I had no idea at all what Line 1-5 were about. It is only when reviewing your video that I understood. However, I think "Variable" could be a better term, I would have understood that it is an object which would need a value.
Is it supposed to write "features.ngc" in the topmost directory ? Or should it be in either ~/linuxcnc or ~/linuxcnc-features-master ?
Most errors are the same when linuxcnc is not updated :
TypeError: coercing to Unicode: need string or buffer, NoneType found
I searched www.google.com/search?q=TypeError%3A+coe...weasel-a&channel=nts
and I had lot of answers but since I do know python at all I have no idea what all this means
Regards
Please Log in or Create an account to join the conversation.
- FernV
- Offline
- Platinum Member
-
Less
More
- Posts: 457
- Thank you received: 124
12 years 1 day ago - 12 years 18 hours ago #52605
by FernV
Replied by FernV on topic LinuxCNC Features - french translation
Hi,
I am almost finished with translation to French. Every strings have been translated but there are some I am not sure because I do not understand fully hox CNC works.
Here are a few screenshots.
When I have it work, I will be able to correct the rest but if some French speaking people is willing to help, I include the language files. Just edit linuxcnc-features.po with poedit and when you save, it compiles automatically to mo. Re-open LinuxCNC Features to view the modifications.
To install the language file, unzip the archive file in LinuxCNC-features/locale folder and follow the point 6 of INSTALL in README.md
Regards
PS - I was only able to test in stand alone mode, plug-in would NOT load language translation. It only includes translation for mill. I was unable to load lathe.xml catalog in stand alone mode, only as plug-in. Until I can have ALL Features show in LinuxCNC simulator, not only arrays and n-gon, I will not do more translation.
I am almost finished with translation to French. Every strings have been translated but there are some I am not sure because I do not understand fully hox CNC works.
Here are a few screenshots.
When I have it work, I will be able to correct the rest but if some French speaking people is willing to help, I include the language files. Just edit linuxcnc-features.po with poedit and when you save, it compiles automatically to mo. Re-open LinuxCNC Features to view the modifications.
To install the language file, unzip the archive file in LinuxCNC-features/locale folder and follow the point 6 of INSTALL in README.md
Regards
PS - I was only able to test in stand alone mode, plug-in would NOT load language translation. It only includes translation for mill. I was unable to load lathe.xml catalog in stand alone mode, only as plug-in. Until I can have ALL Features show in LinuxCNC simulator, not only arrays and n-gon, I will not do more translation.
Last edit: 12 years 18 hours ago by FernV. Reason: Add a note
The following user(s) said Thank You: Nick
Please Log in or Create an account to join the conversation.
Time to create page: 0.252 seconds