Skip to content

Commit

Permalink
fix(Hatch): rename bulge to hasBulge (#118)
Browse files Browse the repository at this point in the history
Rename bulge to hasBulge to maintain consistency with DXF documentation:
https://documentation.help/AutoCAD-DXF/WS1a9193826455f5ff18cb41610ec0a2e719-7a11.htm

BREAKING CHANGE: Renamed polyline "has bulge flag" from bulge to hasBulge
  • Loading branch information
ieskudero committed Nov 18, 2022
1 parent 98727da commit 3cf60c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/handlers/entity/hatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ export const process = (tuples) => {
case 72:
{
// !Polyline --> 1 = Line; 2 = Circular arc; 3 = Elliptic arc; 4 = Spline
// Polyline --> bulge
// Polyline --> hasBulge
drawType = parseFloat(value)
loop[isPolyline ? 'bulge' : 'edgeType'] = drawType
loop[isPolyline ? 'hasBulge' : 'edgeType'] = drawType
if (!isPolyline) {
drawEntity = createDrawEntity(drawType)
loop.entities.push(drawEntity)
Expand Down

0 comments on commit 3cf60c6

Please sign in to comment.