Skip to content

Commit

Permalink
Merge pull request gdsestimating#37 from danmarshall/master
Browse files Browse the repository at this point in the history
added more dimension entity data
  • Loading branch information
bzuillsmith authored Sep 18, 2018
2 parents 63eabdf + b0b26a2 commit 92f88d9
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions lib/entities/dimension.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,24 @@ EntityParser.prototype.parseEntity = function(scanner, curr) {
case 11:
entity.middleOfText = helpers.parsePoint(scanner);
break;
case 12: // Insertion point for clones of a dimension
entity.insertionPoint = helpers.parsePoint(scanner);
break;
case 13: // Definition point for linear and angular dimensions
entity.linearOrAngularPoint1 = helpers.parsePoint(scanner);
break;
case 14: // Definition point for linear and angular dimensions
entity.linearOrAngularPoint2 = helpers.parsePoint(scanner);
break;
case 15: // Definition point for diameter, radius, and angular dimensions
entity.diameterOrRadiusPoint = helpers.parsePoint(scanner);
break;
case 16: // Point defining dimension arc for angular dimensions
entity.arcPoint = helpers.parsePoint(scanner);
break;
case 70: // Dimension type
entity.dimensionType = curr.value;
break;
case 71: // 5 = Middle center
entity.attachmentPoint = curr.value;
break;
Expand Down

0 comments on commit 92f88d9

Please sign in to comment.