View Issue Details

IDProjectCategoryView StatusLast Update
0004551PathBugpublic2021-02-06 06:33
Reportersliptonic Assigned To 
Status newResolutionopen 
Target Version0.20 
Summary0004551: PathGeom.edgeForCmd() function can't handle full-turn circles.
DescriptionPathGeom.edgeForCmd() function is intended to take a Path Command (pseudo gcode) and return a corresponding Part Edge.

However, has an implicit assumption about the working plane. The assumption is set by setting a G17/18/19 command to select the XY, XZ, YZ plane in which an arc will exist. Arcs in other planes are not supported at all.

Since there are an infinte number of solutions to for a 360 degree arc that starts and ends on the same point and passes through another point at the midpoint, OCC throws an error.

Additional InformationPathGeom.edgeForCmd() should take a named argument for plane which defaults to the XY plane.
It should detect the full circle case and return a circular edge.
TagsNo tags attached.
FreeCAD Information<!--ATTENTION:
Help > About FreeCAD > Copy to clipboard
NOTE: just the snippet alone will do without anything else included.
The ticket will not be submitted without it.



2022-03-03 13:55

administrator   ~0016987

This ticket has been migrated to GitHub as issue 6155.

Issue History

Date Modified Username Field Change
2021-02-03 18:42 sliptonic New Issue
2021-02-06 06:33 abdullah Target Version => 0.20