Skip to content

Commit

Permalink
fix FS#2465 - Modify > Chamfer / Bevel: fails with circle entity
Browse files Browse the repository at this point in the history
  • Loading branch information
qcad committed Apr 3, 2023
1 parent ca7ec14 commit a537543
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/ShapeAlgorithms.js
Expand Up @@ -1739,6 +1739,10 @@ ShapeAlgorithms.splineToLineOrArc = function(spline, tolerance, linesOnly) {
* Converts the given circle into an arc with the given start angle or 0.
*/
ShapeAlgorithms.circleToArc = function(circle, startAngle) {
if (isNull(startAngle)) {
startAngle = 0.0;
}

return circle.toArc(startAngle);
};

Expand Down

0 comments on commit a537543

Please sign in to comment.