]> SALOME platform Git repositories - modules/shaper.git/commit
Salome HOME
[bos #37689] EDF 28575 - vertical edges are recognised as horizontal mbs/37689_bad_sketch_orient 72/head
authormbs <martin.bernhard@opencascade.com>
Wed, 2 Oct 2024 08:39:57 +0000 (09:39 +0100)
committermbs <martin.bernhard@opencascade.com>
Thu, 24 Oct 2024 08:45:44 +0000 (09:45 +0100)
commit816e65c27b0f1f6b9c878bef3fe3c3c70e67cea5
treeee6c2edc7d5e4e321c90633e5b89a41f7495631a
parent17b53825dd0d8ef4a174e54770eec00863bdcf91
[bos #37689] EDF 28575 - vertical edges are recognised as horizontal

There are different algorithms used to compute the orientation of a new sketch and the orientation of the view.
Explicitly set up vector to the view orientation to match the sketch orientation.
src/ModuleBase/ModuleBase_IViewer.h
src/PartSet/PartSet_Tools.cpp
src/PartSet/PartSet_WidgetSketchLabel.cpp
src/SHAPERGUI/SHAPERGUI_SalomeViewer.cpp
src/SHAPERGUI/SHAPERGUI_SalomeViewer.h
src/XGUI/XGUI_ViewerProxy.cpp
src/XGUI/XGUI_ViewerProxy.h