How to install in linuxcnc 2.7 Ngcgui, please help

More
8 years 5 months ago #110143 by jarcysgru
How to install in linuxcnc 2.7
Ngcgui, please help

Please Log in to join the conversation.

More
8 years 5 months ago #110153 by Grotius
Hi,

If you start linuxcnc with config picker, you can select several ngc items, see picture, it is within the axis program example list.

Attachment not found



Okey i see there are several ngc programs to play with. This is nice.
This samples are already installed on your system. If you want you can change the example programs to your own usefull program.
But first make a copy, so you can go back if you make a bad character.

Attachment not found


then it says, choose yes :

Attachment not found


program startup. The files are now in your config folder. You can change the code.

Attachment not found



If you right click on your desktop icon, you can see by properties where your core startup file (ini file) is located, in my case :
/usr/bin/linuxcnc '/home/grotius/linuxcnc/configs/sim.axis.ngcgui/pyngcgui_axis.ini'

Okey this line looks confusing but i explain :
This section is for starting linux :
/usr/bin/linuxcnc '/home/grotius/linuxcnc/configs/sim.axis.ngcgui/pyngcgui_axis.ini'
This section is for starting your section :
/usr/bin/linuxcnc '/home/grotius/linuxcnc/configs/sim.axis.ngcgui/pyngcgui_axis.ini'

So open your : pyngcgui_axis.ini file, this is your base file. From here you can modify and locate all the stuff that is
currently used.

Good luck !!

If i open the ini file, i see this, its a black screen with some text :

Attachment not found



If you also want a black screen to program, Its very relaxing for your eyes.
just type in terminal : sudo apt-get install gedit and choose by options for different backgrounds...
If you want to see special highlights, change your file extension name to .c !! You can change it back. but it helps
with difficult programs.

Please Log in to join the conversation.

More
8 years 5 months ago #110251 by jarcysgru
Hello, I have launched NGCGUI programs again but from what I see they are in a demo and explain to me
- I have a randomly created machine configuration or I can connect these programs together so that I would have the spindle on and the appropriate XYZ axis speed parameters displayed.
- whether these programs are only for creating a directory and whether they are just a demo.
- and whether you can set the Polish language
Gives a photo, I found this network so it would look like I do not have everything polonized

Please Log in to join the conversation.

More
8 years 5 months ago #110252 by jarcysgru
How to load the file code into NGCGUI
This set of procedures can be easily expanded and changed as needed on your own. Let's add your own tab - for the beginning let it be the procedure of turning the hemisphere or semicircular element from any diameter at any point of the Z axis - obviously to insert in NGCGUI. We save the code to the file polkula.ngc, file wsadzamy to / home / twoja-nazwa-uzytkownika / emc2-dev / nc_files / ngcgui_lib / lathe. W /home/twoja-nazwa-uzytkownika/emc2-dev/configs/sim/ngcgui/ngcgui_lathe.ini we are adding a line:


; Author: Z. Maciej "Miki" Bajkowski

(info: Toczenie półkuli lub zaokrąglenia krawędzi wałka. )
o<polkula> sub

#<promien_walca> = #1 (=30 Promień walca)
#<promien_na_plasko> = #2 (=20 Promień części bez zaokrąglenia. 0 - toczymy półkulę)
#<promien_kulki> = #3 (=15 Promień zaokrąglenia)
#<przybranie> = #4 (=3 Przybranie materiału)
#<przesuniecie_z> = #5 (=0 Punkt początku operacji na osi Z)
#<Coolant> = #6 (=8 8 - Chłodziwo włączone, 9 - wyłączone)
#<predkosc> = #7 (=400 Prędkość skrawania)

#<promien> = #<promien_walca>
; Turn the OD
M3 M#<Coolant> ; spindle cw, coolant on/off

#<walec> = 0
#<promien_walca> = [#<promien_walca>-#<promien_na_plasko>]
g18 (g7)
M3 S1000

g0 z[#<przesuniecie_z>+1] x[[#<promien>]+1]

o100 while [#<walec> lt [#<promien_walca>]]

#<walec>=#<walec>]+[#<przybranie>
x#<promien_walca>]-[#<walec>]+[[#<promien_na_plasko>]
z[#<przesuniecie_z>]

g3 x#<promien> z-#<walec>]-[#<przesuniecie_z> r[#<promien_kulki>] f[#<predkosc>]

g0
x [[#<promien>]+1]
z[#<przesuniecie_z>+1]

o100 endwhile ( koniec toczenia )


o<polkula> endsub

Please Log in to join the conversation.

More
6 years 7 months ago #161052 by Dinuka_Shehan

Please Log in to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 7 months ago #161058 by BeagleBrainz
Replied by BeagleBrainz on topic How to install in linuxcnc 2.7 Ngcgui, please help

Dinuka_Shehan wrote: my version of linux cnc is Linux wheexy 2.7 but I don't have long list of config picker samples not ngcgui?

what is the problem


How many time do you need to be advised to keep YOUR problems to one thread ?
Multiple threads will not get you answers any quicker. It will cause confusion as info will be spread across multiple sources.
Be patient, the forum isn't your personal helpdesk, where all your queries will be answered as soon as you post. Be polite and realise sometimes you will just have to wait.

Please Log in to join the conversation.

Time to create page: 0.649 seconds
Powered by Kunena Forum