private void setModals(IDictionary <String, ParsedWord> block) { foreach (ParsedWord word in block.Values) { if (word.word.Equals("G") || word.word.Equals("M")) { // Find the modal group and remove all modals if found GCodeGroups thisGroup = ModalGrouping.whatGroup(word.parsed); if (thisGroup != null) { if (thisGroup.ToString() != "Default") { modals.ExceptWith(ModalGrouping.groupToModals[thisGroup]); } } modals.Add(word.parsed); } } }
public Boolean isInGroup(GCodeGroups group) { return(this.group == group); }
public AxisOffset(GCodeGroups group) { this.group = group; }
CollantMode(GCodeGroups group) { this.group = group; }
internal StopMode(GCodeGroups group) { this.group = group; }
FeedRateMode(GCodeGroups group) { this.group = group; }
DistanceMode(GCodeGroups group) { this.group = group; }
SFOverrideMode(GCodeGroups group) { this.group = group; }
SpindleMode(GCodeGroups group) { this.group = group; }
CutterLengthCompMode(GCodeGroups group) { this.group = group; }
ActivePlane(GCodeGroups group) { this.group = group; }
CutterRadiusCompMode(GCodeGroups group) { this.group = group; }
public MotionMode(GCodeGroups group) { this.group = group; }
internal RetrackMode(GCodeGroups group) { this.group = group; }
internal PathControleMode(GCodeGroups group) { this.group = group; }
ReferenceLocation(GCodeGroups group) { this.group = group; }
PredefinedPosition(GCodeGroups group) { this.group = group; }
CoordinateSystemMode(GCodeGroups group) { this.group = group; }