Question
I seem to remember a while back somebody had posted a list of algebraic functions that were usable by Busellato's Genesis software. Does anyone have a complete list of allowable operators that can be used?
Forum Responses
(CNC Forum)
From contributor L:
Here’s some information I found from a discussion I read a while back that may help.
“In our Genesis manual it explains about several trigometric functions that are available for usage, but I discovered that there were more functions than were documented. Is there a complete list of all the functions available? Two that I cannot find in the manual but are very useful are the integer and absolute functions. Here is what I've found so far.”
Documented:
Sin ( ) or s( ) sine
asin( ) or as( ) arcsin
cos( ) or c( ) cosine
acos( ) or ac( ) arcosine
tan( ) or t( ) tangent
Undocumented:
int( ) or i( ) integer value
abs( ) absolute value
q( ) square root (same as sqrt( ))
p( ) power or squared
pi value of pi (3.142)
Undocumented (unknown what there results are for) :
f( )
v( )
sr( )
cr( )
tr( )
x( )
y( )
z( )
“I know that myself or most people will never use some or any of these, but it would have been nice of them to include everything available for our use - who knows how it may impact an individual’s usage.”
“Can anybody add to this list or clarify the unknowns?”
Response: “your list is nearly complete. Below are a few more.”
v( ) returns the inverse of an argument as 1/X
sr( ) returns the sine of an argument in radians
cr( ) returns the cosine of an argument in radians
tr( ) returns the tangent of an argument in radians
I know that complex motions are better defined by sin(x), cos(x), tan(x), 1/x, abs(x), arcsin(x), e^(x)Cos(2x)/2, ect., but does the average CNC programmer actually see these functions in his/her work? ACAD has arc functions that are B-Spline in nature, very different, although scaleable just as the aforementioned are scaleable.
I had some arc wizards written for me that allow us to input radius, chord length etc. type of information and G-code is automatically created for cutting our curved blanks. Are you creating programs/wizards such as that?
However I have helped customers with parametrics in the following examples;
Valances
Fluted components
Rafter Tails
Doors
Archways
Cabinet Components
Panel Components
Countertops
This just names a few. I hope this doesn't make this topic more "murky".
Contributor M is correct. This is a good reason to understand G-code, and why I have debated for it here in the past. However, you should also have an understanding of basic programming skills and some creativity. That being said, I've seen so many poor CAD drawings created by people who didn't understand drafting, but knew the basics of how to draw a line with a CAD program. So, don't let a lack of knowledge prevent you from attempting it.