Think back to your math class -  functions were approximated what by short
segments.  I see you get the idea for the XY path but you missed the accel
part.  You can approximate the acceleration path in the same way.

Remember a G1 has a speed function.  If you can figure out how fast
something is supposed to be traveling a position X, then you can can figure
the speed at X1.  The commanded speed change between these two points will
be acceleration your acceleration

G01 X1.0 Y1.0 F10
G01 X2.0 Y1.0 F20
between the above lines will be the change of speed (aka accerlation) in the
X direction
G01 X1.0 Y2.0 F30
Now you have an acceleration component in two direction (one involving a
reversal of direction)

you should be able to take it from here.


Be careful, you may begin to visualize functions if you do this too much.
But then again, isn't that art?



On Fri, Sep 10, 2010 at 7:49 PM, Spiderdab <77...@tiscali.it> wrote:

> Il 11/09/2010 00:14, BRIAN GLACKIN ha scritto:
> > You could probably generate the Gcode very easily in a spreadsheet.
> >
> > Think about the path you want the ball to follow and the acceleration
> curve.
> >
> > The travel path will probably be a curvilinear function (like 1/2 of a
> > parabola).
> > You can create the gcode on a spreadsheet with X, f(x) [your "y"] and
> have a
> > seperate function define F as a function of X
> >
> > Once you set it up, you can create 5 or 50K lines of gcode for the path
> > simply by deciding how long each X segment will be.
> >
> sounds good, but i don't think that's what i need. if i understood, this
> way you draw the path, but the point moves in a fixer speed. (tell me if
> i'm wrong)
> now i'm drawing paths in 3dstudio max, and converting with a script
> (don't remember the name of that) and i find it fast and simple to draw
> the curves.
> my problem is that i want the ball to change direction sometime
> istantly, sometime with a smooth ramp.
>
> > Its artistic integral math ....
> >
> i liked that very much! i want a shirt with this truth writed on!!
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to