Changesets: FreeCAD

releases/FreeCAD-0-18 2f0c3a79

2019-06-22 21:12:19

abdullah


Committer: wmayer Details Diff
Sketcher: Fix carbon copy construction points

=============================================

fixes 0003926

Points made of construction type are special non-constrainable points, such as (current) bspline knots.

This was not intended in Carbon Copy.
Affected Issues
0003926
mod - src/Mod/Sketcher/App/SketchObject.cpp Diff File

master e7e35509

2019-06-22 17:01:06

carlopav


Committer: yorik Details Diff
[Draft] Cleaned code in arc 3Points preview

Arc tracker during creation is computed by arc tracker new method.
Attach Issues:
mod - src/Mod/Draft/DraftTools.py Diff File

master 87225f0a

2019-06-22 16:59:13

carlopav


Committer: yorik Details Diff
[Draft] Fixed a bug in arc editing and added preview

Fixed a bug so arc editing take correctly the placement into account.
Added preliminary support for preview during arc editing. To be improved in the future.
Attach Issues:
mod - src/Mod/Draft/DraftEdit.py Diff File

master 04ce90c4

2019-06-22 16:56:37

carlopav


Committer: yorik Details Diff
[Draft] Arc Tracker by 3points method

Added arcBy3Points method to arc tracker
Attach Issues:
mod - src/Mod/Draft/DraftTrackers.py Diff File

master 06358224

2019-06-22 13:19:13

abdullah


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

wmayer

Details Diff
code simplification in PythonWrapper
Attach Issues:
mod - src/Gui/WidgetFactory.cpp Diff File

releases/FreeCAD-0-18 3eaf87b2

2019-06-22 12:32:50

wmayer

Details Diff
code simplification in PythonWrapper
Attach Issues:
mod - src/Gui/WidgetFactory.cpp Diff File

master cabb7339

2019-06-22 10:32:36

wmayer

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

wmayer

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

abdullah


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

abdullah


Committer: abdullahtahiriyo Details Diff
Sketcher: Toolbar - add toggle deactivated state command
Attach Issues:
mod - src/Mod/Sketcher/Gui/Workbench.cpp Diff File

master 2822381d

2019-06-22 04:53:10

abdullah


Committer: abdullahtahiriyo Details Diff
Sketcher: ViewProvider representation of deactivated constraints
Attach Issues:
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

abdullah


Committer: abdullahtahiriyo Details Diff
Sketcher: Settings - Deactivated constraints color selection
Attach Issues:
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

abdullah


Committer: abdullahtahiriyo Details Diff
Sketcher: Constraints' widget deactivated constraints commands and representation
Attach Issues:
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

abdullah


Committer: abdullahtahiriyo Details Diff
Sketcher: GUI command to activate/deactivate constraints
Attach Issues:
mod - src/Mod/Sketcher/Gui/CommandConstraints.cpp Diff File

master 7e3fd1a3

2019-06-22 04:47:02

abdullah


Committer: abdullahtahiriyo Details Diff
Sketcher: Update icon resources
Attach Issues:
mod - src/Mod/Sketcher/Gui/Resources/Sketcher.qrc Diff File

master 76097838

2019-06-22 04:46:28

abdullah


Committer: abdullahtahiriyo Details Diff
Sketcher: Art - Toggle Active Constraint icon
Attach Issues:
add - src/Mod/Sketcher/Gui/Resources/icons/Sketcher_ToggleActiveConstraint.svg Diff File

master f45d0e54

2019-06-22 04:44:26

abdullah


Committer: abdullahtahiriyo Details Diff
Sketcher: Python interface to SketchObject constraint state
Attach Issues:
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

abdullah


Committer: abdullahtahiriyo Details Diff
Sketcher: Extend SketchObject to handle constraint state
Attach Issues:
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

abdullah


Committer: abdullahtahiriyo Details Diff
Sketcher: Solver interface of activated state
Attach Issues:
mod - src/Mod/Sketcher/App/Sketch.cpp Diff File

master 7fad3156

2019-06-22 04:42:21

abdullah


Committer: abdullahtahiriyo Details Diff
Sketcher: Python interface to contraints' activated state
Attach Issues:
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

abdullah


Committer: abdullahtahiriyo Details Diff
Sketcher: Extend Constraints to have an activated boolean state
Attach Issues:
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.
Attach Issues:
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.
Attach Issues:
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.
Attach Issues:
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
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 238 239 240 241 242 243 244 ... 300 ... 360 ... 420 ... 480 ... 540 ... 579 580 581  Next  Last