[ Bug ] "Flatten this wire" has some issues

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

[ Bug ] "Flatten this wire" has some issues

Post by Roy_043 »

Rather by accident I discovered that there is a "Flatten this wire" option in the Tree view context menu for Draft_Wires, Draft_Fillets, Draft_BSplines, Draft_CubicBezCurves and Draft_BezCurves.

Issue 1: Bug
If the placement of the wire does not match the default placement the command will move the wire.

Issue 2: Bug
The command cannot work for Draft_Fillets. See Issue 3. So the option should not be displayed for that object.

Issue 3:
IMO the implementation is somewhat unexpected as the current working plane is not used as the projection plane. The projection plane is derived from the object instead.

Issue 4:
IMO this option should removed from the context menu and added to Draft_Edit edge menus. Compare the "reverse wire" option.

Code: Select all

OS: Windows 8.1 (6.3)
Word size of FreeCAD: 64-bit
Version: 0.20.25220 (Git)
Build type: Release
Branch: master
Hash: 46282db7c8c65d1205a4cd03499d4beadb1573c6
Python version: 3.8.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: Dutch/Netherlands (nl_NL)
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: [ Bug ] "Flatten this wire" has some issues

Post by Roy_043 »

Post Reply