Gcode tools - lathe extension develop

cnc-club.ru for English speaking users

Gcode tools - lathe extension develop

Сообщение Nick » 08 апр 2010, 09:25

Gcode tools - lathe extension develop



Questions to discus


  1. Cutting tool parameters
  2. Additional lathe parameters
  3. Lathe's Gcode features
  4. Special places
  5. ...

Desired features list


  1. Special mode for 4axis mills
  2. Automatic flip along axis

Awaiting of realization


  1. Automatic flip along axis

Done


  1. Path calculation
  2. Export path to gcode
  3. Defailt X and Z axis remap
Аватара пользователя
Nick
Мастер
 
Сообщения: 22395
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1474
Заслуга: Developer
Медальки:

Re: Gcode tools - lathe extension develop

Сообщение Nick » 08 апр 2010, 09:41

Another question:
How to cut this place? How to determine such special places?
Gcode tools - lathe extension develop gcode lathe 0036.png

By the way, clones can be used to draw bottom part of the path. If you change original's geometry clone will be also changed.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22395
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1474
Заслуга: Developer
Медальки:

Re: Gcode tools - lathe extension develop

Сообщение alfcnc » 08 апр 2010, 17:24

Hi !
I think that turning path with angle zone so sophisticated require a four axis turning system.
Whit simple turning machine it's possible to do some case but it's more harder ! That require special tools ! And special nc code.
And we must take care of the geometry of the turning tool ... it's ever more sophisticated.

Can we just in the first state of feature ! Have generation for simple path ! just with no dead angle.
In the first time that's be the user that must becarufull of the angle of his path to don't have problem in cuting his path.

In second evolution we can improve to have tool consideration and special shape generation...
alfcnc
Кандидат
 
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester

Re: Gcode tools - lathe extension develop

Сообщение Nick » 08 апр 2010, 17:58

Ok... But before we start let's discuss a little on all questions mentioned above.
It will help me to see the whole picture and I will be able to do further improvements without rewriting the code from the very beginning.

1. What parameters do cutters have? I remember from my school lessons that there are several types of cutters. What are that types, which of them we will use at the first realisations? which won't?
2. What parameters do lathes have?

PS we are about to release a new version. So we are not coding any new functions until release. We've set deadline to next Friday (April 16). Tuis is another reason to to discus the thin places.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22395
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1474
Заслуга: Developer
Медальки:

Re: Gcode tools - lathe extension develop

Сообщение alfcnc » 10 апр 2010, 17:13

Hi ! after some search I found this doc.
Resume some parameters of coordinate system and the tool working face of cnc lathe.

Gcode tools - lathe extension develop coordinate_system_of_lathe.jpg
alfcnc
Кандидат
 
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester

Re: Gcode tools - lathe extension develop

Сообщение Nick » 12 апр 2010, 09:11

alfcnc писал(а):Hi ! after some search I found this doc.
Resume some parameters of coordinate system and the tool working face of cnc lathe.


We'll have to use G18 code to be able to use G02 and G03 codes.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22395
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1474
Заслуга: Developer
Медальки:

Re: Gcode tools - lathe extension develop

Сообщение alfcnc » 13 апр 2010, 12:59

I think that's be nice to have the choice off two major mode.
One mode for native lathe turning ! Classical setting XZ axis and spindle.
And one mode for turning on 4 axis center of type 3 axis milling with a rotational servo axis or a spindle for rotary axis that's is often along X axis.
And perhaps be able to select were the X and y axis and z axis are setting. And then set/unset A axis for adjust to the different case if it's a servo or just a spindle.

I speak off this type of center:
5980multipurposemachine.jpg
5980multipurposemachine.jpg (13.04 Кб) Просмотров: 8213


Or with servo/stepper type config... the A axis done the job of spindle on lathe.
But the tool is different because using the milling tool on the z spindle...

Gcode tools - lathe extension develop sherline.jpg
alfcnc
Кандидат
 
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester

Re: Gcode tools - lathe extension develop

Сообщение Nick » 13 апр 2010, 13:47

alfcnc писал(а):I think that's be nice to have the choice off two major mode.
One mode for native lathe turning ! Classical setting XZ axis and spindle.
And one mode for turning on 4 axis center of type 3 axis milling with a rotational servo axis or a spindle for rotary axis that's is often along X axis.
And perhaps be able to select were the X and y axis and z axis are setting. And then set/unset A axis for adjust to the different case if it's a servo or just a spindle.


Ok, I'll put in the header in the desired list.

About the trajectory of cutting tool is there any special things?
Can you write a simple algorithm on which cutting is usually made?
Is there any common thing that you cut with cnc lathe?
Аватара пользователя
Nick
Мастер
 
Сообщения: 22395
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1474
Заслуга: Developer
Медальки:

Re: Gcode tools - lathe extension develop

Сообщение alfcnc » 13 апр 2010, 15:33

I'll try to give some answer to your question.
But wait a little for found the time.
Thank's.
alfcnc
Кандидат
 
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester

Re: Gcode tools - lathe extension develop

Сообщение alfcnc » 13 апр 2010, 16:53

a simple exemple for lathe mode is the one give with emc:

Gcode tools - lathe extension develop emc_exemple.jpg


nc file:

lathe_pawn.ngc
(2.13 Кб) Скачиваний: 648
alfcnc
Кандидат
 
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester

Re: Gcode tools - lathe extension develop

Сообщение Nick » 13 апр 2010, 18:20

Let's take a closer look...

If I wrong with something please correct me.
Horizontal lines are major cutting trajectory which cut most of material.
What do diagonals from bottom right to top left do? Is it a penetration trajectory?
And two curvy paths are the finishing trajectory.
What cutter is used to cut this thing?
Аватара пользователя
Nick
Мастер
 
Сообщения: 22395
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1474
Заслуга: Developer
Медальки:

Re: Gcode tools - lathe extension develop

Сообщение Nick » 06 май 2010, 17:03

So as we've made a release. I'm coming back to lathe development :).

First step is ready: Generate parallel lines and calculate their intersection with the path.
Вложения
Gcode tools - lathe extension develop 0041 gcodetools lathe.png
Аватара пользователя
Nick
Мастер
 
Сообщения: 22395
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1474
Заслуга: Developer
Медальки:

Re: Gcode tools - lathe extension develop

Сообщение Nick » 07 май 2010, 13:29

Now I'm thinking adding penetration trajectory.
As I know penetration is not always done with the right (90 deg) angle.
Аватара пользователя
Nick
Мастер
 
Сообщения: 22395
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1474
Заслуга: Developer
Медальки:

Re: Gcode tools - lathe extension develop

Сообщение alfcnc » 17 май 2010, 13:08

Yes ! The penetration angle is different with material to cut !
And different with the type of tools...
I think for single point surface the tool angle can be set the more obvious to be able to cut all the shape
when finishing pass.
I've found some documentation about lathe would you that I send you this ?
alfcnc
Кандидат
 
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester

Re: Gcode tools - lathe extension develop

Сообщение alfcnc » 17 май 2010, 13:11

root писал(а):So as we've made a release. I'm coming back to lathe development :).

First step is ready: Generate parallel lines and calculate their intersection with the path.


I have download ver 1.6 and try to run the lathe tab... but any result !is the parellel algorithme usable now ?
alfcnc
Кандидат
 
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester

Re: Gcode tools - lathe extension develop

Сообщение Nick » 18 май 2010, 12:44

alfcnc писал(а):I have download ver 1.6 and try to run the lathe tab... but any result !is the parellel algorithme usable now ?

No :), it is in the development. I'm thinking about how to make cutting trajectory from this parallel lines and intersection dots?
How should penetration trajectory looks like?
Аватара пользователя
Nick
Мастер
 
Сообщения: 22395
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1474
Заслуга: Developer
Медальки:

Re: Gcode tools - lathe extension develop

Сообщение alfcnc » 21 май 2010, 22:57

I think the cutting path would be like this for axial cutting...

Gcode tools - lathe extension develop lathe_path.png


I think for good finishing surface that's be nice to have abilities to define 2 , 3 , or more final path with a different depht
cutting layer to have very thin pass cutting at the near end of the cutting process... this allow the real final path to be a very very thin cutting and this done good accuracy of cutting and better surface looking... (but this depend of the material to cut, wood , metal , plastic). If requires different final cutting parameters and if wanting very high surface finishing quality you must put another tool... But with ceramic carbids tool and some thin pass to the end of cuting the result are often very good for metal cutting. :idea:
alfcnc
Кандидат
 
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester

Re: Gcode tools - lathe extension develop

Сообщение Nick » 30 июн 2010, 12:39

I'm sorry for the delay with lathe... I was really busy this time and spent all my free time to write offset function, which will be also needed in lathe to make final fine cut.

But here's some new results! :)

I've made a function which generates paths that could be exported to gcode later. Now I've stopped at gcode exporting. Here some problems:
1. We already have generate_gcode function, but it is focused on generate gcode for mills, not lathes. So I think we will need a new function to generate lathe gcode.
2. What parameters should we add?
3. What axes should we use?

Here are an illustration for the function I've made. How do you think, what must be improved in this function?
Gcode tools - lathe extension develop 0045 gcode tools lathe.png

Also there's some different types of subpath:
blue - the subpath have been already cut, go through it at maximum speed
red - cut at depth step (the final path will be cut next steps)
green - cut the path
Gcode tools - lathe extension develop 0046 gcode tools lathe.png
Аватара пользователя
Nick
Мастер
 
Сообщения: 22395
Зарегистрирован: 23 ноя 2009, 16:45
Откуда: Gatchina, Saint-Petersburg distr., Russia
Репутация: 1474
Заслуга: Developer
Медальки:

Re: Gcode tools - lathe extension develop

Сообщение alfcnc » 07 июл 2010, 18:42

Hi ! root !

Very nice !

I think to others improvement just for final tool path !
But all it is very good for me.

For final path just be able to set the speed of it and the number
of fine final cutting path...

so I see parameters...

Feed of roughing cut or speed cut...
Depth pass of roughing cut.
Feed of end cut.
Depth pass of ending cut.
I want say that's very nice to be able to have a parameters for reapeat n times
the end cut.. often I do 2 too 3 time the end cut to have a very good surface finishing...
and a paramater to subdivide the end depth cutting path.
alfcnc
Кандидат
 
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester

Re: Gcode tools - lathe extension develop

Сообщение alfcnc » 07 июл 2010, 19:13

alfcnc писал(а):Hi ! root !

Very nice !

I think to others improvement just for final tool path !
But all it is very good for me.

For final path just be able to set the speed of it and the number
of fine final cutting path...

so I see parameters...

Feed of roughing cut or speed cut...
Depth pass of roughing cut.
Feed of end cut.
Depth pass of ending cut.
I want say that's very nice to be able to have a parameters for reapeat n times
the end cut.. often I do 2 too 3 time the end cut to have a very good surface finishing...
and a paramater to subdivide the end depth cutting path.


For the Axes setting that's be nice to be able to name the axes same as wanted...
So if i want Z to be done by my X axis... be able to set X ... and if i want
to set Y for X be able to and so on... that's permit to be able to use a mill for
doing vertical milling or others...

I see some choose box like this... default to Z and X but be able to change it...

lathe_choice_of_axes.png
lathe_choice_of_axes.png (6.14 Кб) Просмотров: 7925
alfcnc
Кандидат
 
Сообщения: 98
Зарегистрирован: 02 апр 2010, 19:10
Репутация: 0
Заслуга: Tester

След.

Вернуться в English forum

Кто сейчас на конференции

Зарегистрированные пользователи: alexey_ushakov, atomichammer, Bebebe, Bing [Bot], denbond, Евжений, frezeryga, Google [Bot], Leonid Vs, Lunatic, mikehv, miklin, Morze, niksooon, NKS, Руслан_cnc, raddd, rehden, s29, Sergo67, Sh_Juri, shtanc, sodefi, tbc, tehnic, VAT, verser, Yandex [bot]

Поделиться

Reputation System ©'