Creating Post processors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So been fiddling with this post processing file for a day or so and started todo alot of optimization to it today and it occured to me..
These could be alot more effectivly coded. Basicly they use Javascript - and that means you could make it faster ALOT faster for large programs. For one thing, you can remove the switch command in the code and utilize an object properly and call the command based on its name instead of using case that is in a optimization view really bonkers slow (ecma deoptimizises kinda bad when using switches and for loops).
Next step is do a generally prototype for what outlines a post process. I looked thru a few of em and they are quite similar. That makes it possible to make a generator where features can be selected based on different things such as machine, brand quirks and so on kinda easily and just generate a post process skeleton. And make the alterations to it afterwards.
Just by doing the the small optimizations above like removing the switch and handling it properly as a prototype, basicly halfed the processing time out of Fusion when running a large job with 30 or so operations, 9 tool changes (in my case manual) And even makes it possible to add stops for fixturing changes. By acting on the change in G54, G55 code change.
Anyone interested in collabing around making a "general" post generator. It is really possible actually due to the selection of language in the post process engine. I have done some rudimentary tests to check it already. 😃