Example #1
0
        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);
                }
            }
        }
Example #2
0
 public Boolean isInGroup(GCodeGroups group)
 {
     return(this.group == group);
 }
Example #3
0
 public AxisOffset(GCodeGroups group)
 {
     this.group = group;
 }
Example #4
0
 CollantMode(GCodeGroups group)
 {
     this.group = group;
 }
Example #5
0
 internal StopMode(GCodeGroups group)
 {
     this.group = group;
 }
Example #6
0
 FeedRateMode(GCodeGroups group)
 {
     this.group = group;
 }
Example #7
0
 DistanceMode(GCodeGroups group)
 {
     this.group = group;
 }
Example #8
0
 SFOverrideMode(GCodeGroups group)
 {
     this.group = group;
 }
Example #9
0
 SpindleMode(GCodeGroups group)
 {
     this.group = group;
 }
 CutterLengthCompMode(GCodeGroups group)
 {
     this.group = group;
 }
Example #11
0
 ActivePlane(GCodeGroups group)
 {
     this.group = group;
 }
 CutterRadiusCompMode(GCodeGroups group)
 {
     this.group = group;
 }
Example #13
0
 public MotionMode(GCodeGroups group)
 {
     this.group = group;
 }
Example #14
0
 internal RetrackMode(GCodeGroups group)
 {
     this.group = group;
 }
Example #15
0
 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;
 }