View Issue Details

IDProjectCategoryView StatusLast Update
0002424FreeCADBugpublic2016-02-02 21:26
ReporterCharlieMAC Assigned Toyorik  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionreopened 
Product Version0.16 
Target Version0.16 
Summary0002424: End arrow of lines in Draft have a wrong direction
DescriptionWhen I try to create an arrow using the Draft WB and the "end arrow" property of the line object, the tip of the arrow has an incorrect direction. Normally, one expects that the tip of the line points outwards, but it turns out that it points inwards, from the end point to the start.

Pleas note that this is NOT about dimensions. It's about the Draft line object and the "end arrow" property of it.
Steps To Reproduce1.- Open FreeCAD
2.- Create a cylinder (optional)
3.- Load draft workbench
4.- Place the working plane on one of the faces (optional)
5.- Activate endpoint and center snapping (optional)
6.- Create a line from the center of the cylinder to the edge or elsewhere
7.- Toggle the end arrow property of the created line to true.

The cylinder is actually not really necessary. It can be reproduced without it.
Additional InformationOS: Debian GNU/Linux 8.3 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6263 (Git)
Build type: Release
Branch: master
Hash: 2ed8e5dd995c76e85db0ea0d8b98ca861bf3834d
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.0
TagsNo tags attached.
FreeCAD Information

Activities

CharlieMAC

2016-01-28 00:25

reporter  

Line.fcstd (Attachment missing)

jmaustpc

2016-01-28 13:15

manager   ~0006764

A link to the forum discussion.

http://forum.freecadweb.org/viewtopic.php?f=3&t=14013

Obviously to see this one has to change from the default setting and turn off "Draft create Part objects where possible".

Also you don't have to do the above all you have to do is create a Draft Line that is not running on the xy plane in only the x direction. I tried a few random orientations and they all had the arrow going in some different incorrect direction.

OS: Ubuntu 14.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6344 (Git)
Build type: Debug
Branch: master
Hash: 2eb194776b8c69e64840e9f62a7cb66abdb8090a
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.9.1.oce-0.18-dev

jmaustpc

2016-01-29 06:06

manager   ~0006775

Another related topic with some more related issues

http://forum.freecadweb.org/viewtopic.php?f=3&t=14044

1) set a Draft Line to end arrow "arrow" and "true", create a new document copy paste that DLine into new document, These two Dline end arrow parameters get copied and displayed in the property editor but the arrow does not appear and a recompute does not help. If the "true/false" value is toggled an error message is produced because the coin object does not exist, when toggled back to true the default "Dot" arrow is displayed despite the "Arrow" value still being Arrow, so "Arrow" value must also be toggled.

Coin error in SoGroup::removeChild(): tried to remove non-existent child 0x5915880 (Separator)


2) when "Hidden" is toggled the line itself toggles but the Arrow remain visible.

CharlieMAC

2016-02-02 19:01

reporter   ~0006797

Last edited: 2016-02-02 19:02

There's one little last thing remaining. When a FreeCAD file is opened all the lines are visible but the arrows remain hidden.

The property must be set to false and then again to true in order to show the arrows.

OS: Debian GNU/Linux 8.3 (jessie)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6378 (Git)
Build type: Release
Branch: master
Hash: 388ea0629ca79f25bfea3445733232c7ab0c333f
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.0

yorik

2016-02-02 21:13

administrator   ~0006798

true.. let's fix that...

Related Changesets

FreeCAD: master d45abca9

2016-01-30 17:31:32

yorik

Details Diff
Draft: fixed end arrow of lines/wires - fixes 0002424 Affected Issues
0002424
mod - src/Mod/Draft/Draft.py Diff File

FreeCAD: master ab89c9af

2016-02-02 22:26:34

yorik

Details Diff
Draft: redraw wire arrow on file load - fixes 0002424 Affected Issues
0002424
mod - src/Mod/Draft/Draft.py Diff File

Issue History

Date Modified Username Field Change
2016-01-28 00:25 CharlieMAC New Issue
2016-01-28 00:25 CharlieMAC File Added: Line.fcstd
2016-01-28 13:15 jmaustpc Note Added: 0006764
2016-01-28 13:15 jmaustpc Assigned To => yorik
2016-01-28 13:15 jmaustpc Status new => assigned
2016-01-28 13:16 jmaustpc Product Version => 0.16
2016-01-28 13:16 jmaustpc Target Version => 0.16
2016-01-28 19:13 yorik Target Version 0.16 =>
2016-01-29 06:06 jmaustpc Note Added: 0006775
2016-01-29 16:23 yorik Target Version => 0.16
2016-01-30 17:07 yorik Changeset attached => FreeCAD Master master d45abca9
2016-01-30 17:07 yorik Status assigned => closed
2016-01-30 17:07 yorik Resolution open => fixed
2016-02-02 19:01 CharlieMAC Note Added: 0006797
2016-02-02 19:01 CharlieMAC Status closed => feedback
2016-02-02 19:01 CharlieMAC Resolution fixed => reopened
2016-02-02 19:02 CharlieMAC Note Edited: 0006797
2016-02-02 21:13 yorik Note Added: 0006798
2016-02-02 21:26 yorik Changeset attached => FreeCAD Master master ab89c9af
2016-02-02 21:26 yorik Status feedback => closed