GibbsCAM12 MultiPart

From Compost Wiki
Revision as of 18:06, 30 August 2017 by Jeffm (talk | contribs)
Jump to navigation Jump to search

Changes to Multiple Parts in GibbsCAM 12

GibbsCAM 12 has changed the way that users define multiple parts for milling-style machines. The multiple part options have been moved from the post dialog into the Document Control Dialog (DCD). Because all part instances are now defined in the DCD and not just the post dialog, machine simulation is able to fully render an entire multi-part program.

DCD Multi-part tab

The new GUI for multiple parts on the DCD allows the user to select a multi-part method. Depending on what options the user has purcahsed, or what third party plugins are installed, any number of multi-part methods may be available. This document will focus on the Part Duplicaiton method, as it is the replacement for the legacy multi-part system from post dialog.

Part Duplication

Part Duplication offers more options than the old mulit-part system, including Grids and zig-zag. The goal of the part duplication tab is to tell GibbsCAM where each part instance is on the machine, and how it should handle the duplication of the operations across those parts. This tab does not have any posting specific options, only motion and part locations. Posting specific user controls are still located in the posting dialog in special tabs, depending on the style of post processor used.

All part files that had legacy multi-part settings will be automatically upgraded to part duplication and given the appropriate part instance locations. Legacy options that did not fully define part locations (Workfixtures mode) will use the stock size to compute acceptable part instance locations (leaving half a sock size between parts).


Posting

Legacy Posts

Every attempt to maintain compatibility with legacy posts has been made with the new multi-part system. Whenever possible the new options are mapped to legacy commands to ensure that old posts still output like they used to. Some new options are not compatible with legacy posts, due to the limitations of the old commands and assumptions that posts made. In these cases where legacy output can not be guaranteed, the multi-part output of the post will be longhand. The legacy post will not know that the program is multi-part MultipleParts? will return false, and the post will be presented with all duplicated operations as part of the EachOp/NextOp loop. This has the effect of letting the post treat the program as if each part had been programmed using a shifted CS manually by the user. The resulting output will be vaid, it will just not use subs for the operations that are duplicated across parts.

Options that map to old posts

If work-fixtures are selected in the post dialog, all part duplication options, except zig-zag are fully supported in old posts. The EachPart/NextPart loop will run as expected and allow the post to compute WFOs for each part.

If work-fixtures are not selected in the post dialog, the only option that can be run by legacy posts is equally spaced. In this case the post will output the part shift inside the sub and work as expected.

Options that output longhand in old posts

Grids or Define Positions with out work-fixtures can not be output with subs by legacy posts. The legacy posts assume that the only option when work-fixtures is off, is that of equally spaced and will output the shift inside the sub. For these options to work the shift must be outside the sub.

Zig-Zag can also not be run by legacy posts. Posts assume that the EachPart/NextPart loop runs the same way for each op group, when zig-zag is true this is not the case as each group reverses the loop.

For these reasons we force these cases to output longhand.

Post Upgrades

New post processor functions are available to output multiple parts with out the previously mentioned limitations.

There are two planned methods for post upgrades.

The UKM Style .67 Any Mill Master Post

The .67 master post is a modern UKM style post that has full support for part duplication with subs using all options. It also supports a wide range of UKM features such as redundant axes, utility ops, and enhanced mode output.This is the post to upgrade to for the best possible GibbsCAM 12 feature.

        • PUT SVN LOCATION HERE****

Legacy Style .27 Multi-Part Upgrade

We are providing a legacy style post (using the .26/27 format) that has only been upgraded to support the new multi-part options. This may be an easier upgrade for legacy posts that do not need advanced UKM features.


        • PUT SVN LOCATION HERE****

Legacy Commands in Upgraded Posts

After a post is upgraded, it must not call any legacy multi-part commands. Any post that does so will generate an error at run time. There are new post commands for anything a post should need.

Future Extension

The new multi-part system is intended to be future-proof, allowing any number of third party multi-part systems to be installed. For this reason the interface to the post processor is left abstracted from the specific multi-part method used. This allows upgraded posts to work with any system with out modification, such as a future replacement for TMS.