Changesets: FreeCAD
master 06358224 2019-06-22 13:19:13 Committer: abdullahtahiriyo Details Diff |
Sketcher: Polyline snap arc to 45 degrees bug fix ================================================= fixes 0003974 Snapping to 45 degrees during arc creation (hold ctrl during an arc within a polyline), resulted in reduced precision, because Gui::Command::doCommand %f defaults only to six decimal positions, which is a poor representation in radians of, for example, 90 degrees. A work-around could have been to hardcode a higher number of decimals, as in %0.Xf. However, I do not like such magic numbers. The solution chosen is to use an App.Quantity object using as units degrees, which leads to no loss of precision. |
Affected Issues 0003974 |
|
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp | Diff File | ||
master 933ed45e 2019-06-22 12:32:50 Details Diff |
code simplification in PythonWrapper | ||
mod - src/Gui/WidgetFactory.cpp | Diff File | ||
releases/FreeCAD-0-18 3eaf87b2 2019-06-22 12:32:50 Details Diff |
code simplification in PythonWrapper | ||
mod - src/Gui/WidgetFactory.cpp | Diff File | ||
master cabb7339 2019-06-22 10:32:36 Details Diff |
issue 0003984: Creating a Path Job object fails with 'PySide2.QtWidgets.QDialog' object has no attribute 'templateGroup' |
Affected Issues 0003984 |
|
mod - src/Gui/WidgetFactory.cpp | Diff File | ||
releases/FreeCAD-0-18 60fd668d 2019-06-22 10:32:36 Details Diff |
issue 0003984: Creating a Path Job object fails with 'PySide2.QtWidgets.QDialog' object has no attribute 'templateGroup' |
Affected Issues 0003984 |
|
mod - src/Gui/WidgetFactory.cpp | Diff File | ||
master 3810381d 2019-06-22 06:17:51 Committer: abdullahtahiriyo Details Diff |
Sketcher: fixes no horizontal/vertical on segment after horizontal/vertical alignment ===================================================================================== Selecting first the horizontal/vertical constraint and applying to a line segment with a previous horizontal/vertical alignment constraint caused FreeCAD to refuse applying it. fixes 0004013 |
Affected Issues 0004013 |
|
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp | Diff File | ||
master f22d1393 2019-06-22 04:53:58 Committer: abdullahtahiriyo Details Diff |
Sketcher: Toolbar - add toggle deactivated state command | ||
mod - src/Mod/Sketcher/Gui/Workbench.cpp | Diff File | ||
master 2822381d 2019-06-22 04:53:10 Committer: abdullahtahiriyo Details Diff |
Sketcher: ViewProvider representation of deactivated constraints | ||
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.h | Diff File | ||
master 8b5ee49d 2019-06-22 04:52:20 Committer: abdullahtahiriyo Details Diff |
Sketcher: Settings - Deactivated constraints color selection | ||
mod - src/Mod/Sketcher/Gui/SketcherSettings.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/SketcherSettingsColors.ui | Diff File | ||
master 70081d73 2019-06-22 04:51:11 Committer: abdullahtahiriyo Details Diff |
Sketcher: Constraints' widget deactivated constraints commands and representation | ||
mod - src/Mod/Sketcher/Gui/TaskSketcherConstrains.cpp | Diff File | ||
mod - src/Mod/Sketcher/Gui/TaskSketcherConstrains.h | Diff File | ||
master 4de857a4 2019-06-22 04:48:50 Committer: abdullahtahiriyo Details Diff |
Sketcher: GUI command to activate/deactivate constraints | ||
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp | Diff File | ||
master 7e3fd1a3 2019-06-22 04:47:02 Committer: abdullahtahiriyo Details Diff |
Sketcher: Update icon resources | ||
mod - src/Mod/Sketcher/Gui/Resources/Sketcher.qrc | Diff File | ||
master 76097838 2019-06-22 04:46:28 Committer: abdullahtahiriyo Details Diff |
Sketcher: Art - Toggle Active Constraint icon | ||
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_ToggleActiveConstraint.svg | Diff File | ||
master f45d0e54 2019-06-22 04:44:26 Committer: abdullahtahiriyo Details Diff |
Sketcher: Python interface to SketchObject constraint state | ||
mod - src/Mod/Sketcher/App/SketchObjectPy.xml | Diff File | ||
mod - src/Mod/Sketcher/App/SketchObjectPyImp.cpp | Diff File | ||
master e06e03dc 2019-06-22 04:43:48 Committer: abdullahtahiriyo Details Diff |
Sketcher: Extend SketchObject to handle constraint state | ||
mod - src/Mod/Sketcher/App/SketchObject.cpp | Diff File | ||
mod - src/Mod/Sketcher/App/SketchObject.h | Diff File | ||
master 20a83b82 2019-06-22 04:43:02 Committer: abdullahtahiriyo Details Diff |
Sketcher: Solver interface of activated state | ||
mod - src/Mod/Sketcher/App/Sketch.cpp | Diff File | ||
master 7fad3156 2019-06-22 04:42:21 Committer: abdullahtahiriyo Details Diff |
Sketcher: Python interface to contraints' activated state | ||
mod - src/Mod/Sketcher/App/ConstraintPy.xml | Diff File | ||
mod - src/Mod/Sketcher/App/ConstraintPyImp.cpp | Diff File | ||
master 7cd3dd7d 2019-06-22 04:41:31 Committer: abdullahtahiriyo Details Diff |
Sketcher: Extend Constraints to have an activated boolean state | ||
mod - src/Mod/Sketcher/App/Constraint.cpp | Diff File | ||
mod - src/Mod/Sketcher/App/Constraint.h | Diff File | ||
staging 60bc5682 2019-06-22 02:23:35 Zheng, Lei Details Diff |
ViewProvider(DocumentObject): new APIs for context aware selection Context aware selection makes it possible to select the same Coin3D node in different hierarchies (i.e. context) without ambiguity. New/modified APIs in ViewProvider (the first two are the most crucial APIs for context aware selection to work): * getElementPicked(), supercedes getElement(). Given a Coin3D pick point, this function returns a dot separated subname reference as a path leads to the selected object. * getDetailPath(), supercedes getDetail(). Given a subname reference, this function returns an SoFullPath leads to the Coin3D node of the selected object or sub-element (with SoDetail). * (has)HiddenMarker(), check/return a special text marker for context aware override of object visibility. * partialRender(), render only part of the object based on given subname references. It can render, e.g. some faces of a solid, or some children of a container. It uses the 'secondary' extension of SoSelectionElementAction to select which elements to render or hide. The actually rendering functionality will be added in the following patch. * update()/onChanged(), modified to sync Visibility property from DocumentObject. * useNewSelectionModel(), modified to return the default true view parameter. This is for test in the early stage of Link development, probably not needed anymore. * getBoundingBox(), a convenience function to obtain the bounding box of a sub-object/element regardless of object's visibility. It uses getDetailPath() and SoGetBoundingBoxAction to obtain bounding box through Coin3D. It will be used in later sub-element box selection functionality. New/modified APIs in ViewProviderDocumentObject: * getElementPicked()/getDetailPath() provides actual implementation to support container like (sub)object selection without ambiguity. It relies on DocumentObject::getSubObject() to walk the path. * reattach(), called when undo deleteion * forceUpdate()/isUpdateForced(), force update even if object is invisible. These are used by Link to force update the visual of a linked object regardless of its visibility. * getLinkedViewProvider(), return the linked view provider with hierarchy. ViewProviderDocumentObjectPy: * Object attribute is made writtable. Assigning it is equaivalant of calling ViewProviderDocumentObject::attach() in Python. |
||
mod - src/Gui/ViewProvider.cpp | Diff File | ||
mod - src/Gui/ViewProvider.h | Diff File | ||
mod - src/Gui/ViewProviderDocumentObject.cpp | Diff File | ||
mod - src/Gui/ViewProviderDocumentObject.h | Diff File | ||
mod - src/Gui/ViewProviderDocumentObjectPy.xml | Diff File | ||
mod - src/Gui/ViewProviderDocumentObjectPyImp.cpp | Diff File | ||
mod - src/Gui/ViewProviderPy.xml | Diff File | ||
mod - src/Gui/ViewProviderPyImp.cpp | Diff File | ||
staging a789c345 2019-06-22 02:23:35 Zheng, Lei Details Diff |
ViewProvider(DocumentObject): new APIs for context aware selection Context aware selection makes it possible to select the same Coin3D node in different hierarchies (i.e. context) without ambiguity. New/modified APIs in ViewProvider (the first two are the most crucial APIs for context aware selection to work): * getElementPicked(), supercedes getElement(). Given a Coin3D pick point, this function returns a dot separated subname reference as a path leads to the selected object. * getDetailPath(), supercedes getDetail(). Given a subname reference, this function returns an SoFullPath leads to the Coin3D node of the selected object or sub-element (with SoDetail). * (has)HiddenMarker(), check/return a special text marker for context aware override of object visibility. * partialRender(), render only part of the object based on given subname references. It can render, e.g. some faces of a solid, or some children of a container. It uses the 'secondary' extension of SoSelectionElementAction to select which elements to render or hide. The actually rendering functionality will be added in the following patch. * update()/onChanged(), modified to sync Visibility property from DocumentObject. * useNewSelectionModel(), modified to return the default true view parameter. This is for test in the early stage of Link development, probably not needed anymore. * getBoundingBox(), a convenience function to obtain the bounding box of a sub-object/element regardless of object's visibility. It uses getDetailPath() and SoGetBoundingBoxAction to obtain bounding box through Coin3D. It will be used in later sub-element box selection functionality. New/modified APIs in ViewProviderDocumentObject: * getElementPicked()/getDetailPath() provides actual implementation to support container like (sub)object selection without ambiguity. It relies on DocumentObject::getSubObject() to walk the path. * reattach(), called when undo deleteion * forceUpdate()/isUpdateForced(), force update even if object is invisible. These are used by Link to force update the visual of a linked object regardless of its visibility. * getLinkedViewProvider(), return the linked view provider with hierarchy. ViewProviderDocumentObjectPy: * Object attribute is made writtable. Assigning it is equaivalant of calling ViewProviderDocumentObject::attach() in Python. |
||
mod - src/Gui/ViewProvider.cpp | Diff File | ||
mod - src/Gui/ViewProvider.h | Diff File | ||
mod - src/Gui/ViewProviderDocumentObject.cpp | Diff File | ||
mod - src/Gui/ViewProviderDocumentObject.h | Diff File | ||
mod - src/Gui/ViewProviderDocumentObjectPy.xml | Diff File | ||
mod - src/Gui/ViewProviderDocumentObjectPyImp.cpp | Diff File | ||
mod - src/Gui/ViewProviderPy.xml | Diff File | ||
mod - src/Gui/ViewProviderPyImp.cpp | Diff File | ||
master f5d92fda 2019-06-22 02:23:35 Zheng, Lei Committer: wmayer Details Diff |
ViewProvider(DocumentObject): new APIs for context aware selection Context aware selection makes it possible to select the same Coin3D node in different hierarchies (i.e. context) without ambiguity. New/modified APIs in ViewProvider (the first two are the most crucial APIs for context aware selection to work): * getElementPicked(), supercedes getElement(). Given a Coin3D pick point, this function returns a dot separated subname reference as a path leads to the selected object. * getDetailPath(), supercedes getDetail(). Given a subname reference, this function returns an SoFullPath leads to the Coin3D node of the selected object or sub-element (with SoDetail). * (has)HiddenMarker(), check/return a special text marker for context aware override of object visibility. * partialRender(), render only part of the object based on given subname references. It can render, e.g. some faces of a solid, or some children of a container. It uses the 'secondary' extension of SoSelectionElementAction to select which elements to render or hide. The actually rendering functionality will be added in the following patch. * update()/onChanged(), modified to sync Visibility property from DocumentObject. * useNewSelectionModel(), modified to return the default true view parameter. This is for test in the early stage of Link development, probably not needed anymore. * getBoundingBox(), a convenience function to obtain the bounding box of a sub-object/element regardless of object's visibility. It uses getDetailPath() and SoGetBoundingBoxAction to obtain bounding box through Coin3D. It will be used in later sub-element box selection functionality. New/modified APIs in ViewProviderDocumentObject: * getElementPicked()/getDetailPath() provides actual implementation to support container like (sub)object selection without ambiguity. It relies on DocumentObject::getSubObject() to walk the path. * reattach(), called when undo deleteion * forceUpdate()/isUpdateForced(), force update even if object is invisible. These are used by Link to force update the visual of a linked object regardless of its visibility. * getLinkedViewProvider(), return the linked view provider with hierarchy. ViewProviderDocumentObjectPy: * Object attribute is made writtable. Assigning it is equaivalant of calling ViewProviderDocumentObject::attach() in Python. |
||
mod - src/Gui/ViewProvider.cpp | Diff File | ||
mod - src/Gui/ViewProvider.h | Diff File | ||
mod - src/Gui/ViewProviderDocumentObject.cpp | Diff File | ||
mod - src/Gui/ViewProviderDocumentObject.h | Diff File | ||
mod - src/Gui/ViewProviderDocumentObjectPy.xml | Diff File | ||
mod - src/Gui/ViewProviderDocumentObjectPyImp.cpp | Diff File | ||
mod - src/Gui/ViewProviderPy.xml | Diff File | ||
mod - src/Gui/ViewProviderPyImp.cpp | Diff File | ||
master 39e556fb 2019-06-22 01:33:06 Details Diff |
[TD] Add Centerline Shift/Rotate | ||
mod - src/Mod/TechDraw/Gui/TaskCenterLine.cpp | Diff File | ||
mod - src/Mod/TechDraw/Gui/TaskCenterLine.h | Diff File | ||
mod - src/Mod/TechDraw/Gui/TaskCenterLine.ui | Diff File | ||
master 7199c952 2019-06-22 01:32:35 Details Diff |
Cleanup dangling debug code | ||
mod - src/Mod/TechDraw/App/DrawViewPart.cpp | Diff File | ||
mod - src/Mod/TechDraw/App/DrawViewPart.h | Diff File | ||
mod - src/Mod/TechDraw/App/Geometry.cpp | Diff File | ||
master 0b8baab4 2019-06-21 11:02:56 Details Diff |
PartDesign: Extend context menu when right-clicking on 3d view in PD workbench | ||
mod - src/Mod/PartDesign/Gui/Workbench.cpp | Diff File | ||
staging 6ec33e85 2019-06-21 08:34:23 Zheng, Lei Details Diff |
Gui: add ViewParams class A convenience class to obtain common view parameters, analogous to existing WindowParameter class. |
||
mod - src/Gui/CMakeLists.txt | Diff File | ||
add - src/Gui/ViewParams.cpp | Diff File | ||
add - src/Gui/ViewParams.h | Diff File | ||
mod - src/Gui/ViewProviderMeasureDistance.cpp | Diff File |