Community
HSM Post Processor Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to list/find "hidden" thingies ???

6 REPLIES 6
Reply
Message 1 of 7
bernard5BABD
266 Views, 6 Replies

how to list/find "hidden" thingies ???

OK, I had no idea how to express what I mean in the title....
I just found today that there is a variable "programName", which is not declared anywhere, but is readable, and contain, well, the program name. Are there any others like this ? If yes, where do I find a list ? 

Also, there are some functions that I see declared in the post-processor, but never called. Yet, they are, like "onParameter" How to know WHEN those functions are called?

Bernard Grosperrin, Retired, Maker, and Autodesk Certified Instructor
Blog : Le Bear CNC | Forum : Le Bear CNC Forum | Addin : Airfoil Sketch from file
6 REPLIES 6
Message 2 of 7

Hi,  if you use the post called dumper in the library, it will give you a list of what is output to the post and what the parameters are.  e.g

dumper.JPGdumper2.JPG

 

If my post answers your question, please click the 'Accept Solution' button. This helps everyone find answers more quickly!



Andy Millard

Product Support Specialist


Message 3 of 7

I know this and use it daily. You may have read my question a little quickly, and not fully understood it.
When I say "hidden", it means not found in the Dump.dmp file.

2 examples: 
-1- From the dump.dmp file, you get this.

 

-1: onMachine()
  Post Engine Version = 4.5834.0
  Program Name = BG-Dump
  Program Comment = 

 

No parameters. Program Name can be read from an "undeclared" variable named programName. Are there any others, and what are their names?
-2- There are a number of parameters listed under the onOpen() section. But trying to read them (some of them) from inside that function does NOT work.
-3- It DOES work from inside the onParameter function, but I have no idea WHEN this function is called, as it's call is nowhere in the post-Processor.

It makes sense there are a number of "built-ins" inside the post-processor mechanism, but it would be nice to have that documented somewhere.

 

Bernard Grosperrin, Retired, Maker, and Autodesk Certified Instructor
Blog : Le Bear CNC | Forum : Le Bear CNC Forum | Addin : Airfoil Sketch from file
Message 4 of 7

Have you seen the post processor training guide?

Training Guide 

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


Message 5 of 7

Not only I have seen it, but I also printed it and basically sleep with it 😂
What I am asking is not there. Besides, this guide's merit is to exist, but it's outdated and full of inconsistencies. You realize this pretty quickly when you start digging a little bit below the surface.

Don't want to be too harsh, it's still useful, but a good update is needed.

Regards,

Bernard

Bernard Grosperrin, Retired, Maker, and Autodesk Certified Instructor
Blog : Le Bear CNC | Forum : Le Bear CNC Forum | Addin : Airfoil Sketch from file
Message 6 of 7

It's been updated end of last year.

So not sure if you have seen those updates?

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


Message 7 of 7


@Laurens-3DTechDraw wrote:

It's been updated end of last year.

So not sure if you have seen those updates?


The post-processor Training Guide has been updated end of last year? The one I have is dated 9/15/21, so I guess it's the "updated" one. If correct, it's still full of inconsistencies to not say errors. Some control quality needs to be done

there.

Bernard Grosperrin, Retired, Maker, and Autodesk Certified Instructor
Blog : Le Bear CNC | Forum : Le Bear CNC Forum | Addin : Airfoil Sketch from file

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report