Changesets: FreeCAD

master 0a8c6e36

2020-06-07 13:54:34

wmayer

Details Diff
[skip ci] include missing boost header
mod - src/App/GroupExtension.cpp Diff File
mod - src/App/Link.cpp Diff File

master d693ff13

2020-06-07 12:57:05

wandererfan

Details Diff
[TD]Fix preference directory pickers
mod - src/Mod/TechDraw/Gui/DlgPrefsTechDrawGeneral.ui Diff File

master c0971eb5

2020-06-07 12:52:13

Reinier Heeres


Committer: yorik Details Diff
Fix saving of DXF files (python3)

- Python3 does not allow to write strings to a file opened as "wb"; it
expects bytes instead. Since ASCII DXF files are written using strings,
the file should be opened as "w". Should be ok for python2 as well.
- See also issue 003862, https://tracker.freecadweb.org/view.php?id=3862
mod - src/Mod/Draft/importDXF.py Diff File

master e9119741

2020-06-07 12:25:32

wmayer

Details Diff
App: [skip ci] handle XMLAttributeError in Document::readObjects
mod - src/App/Document.cpp Diff File

master b0e92abc

2020-06-07 12:23:53

wmayer

Details Diff
Base: [skip ci] in XMLReader class replace assert(0) calls with throwing an XMLAttributeError exception
mod - src/Base/Reader.cpp Diff File

master 11f55007

2020-06-07 11:34:32

abdullah


Committer: abdullahtahiriyo Details Diff
PartDesign: closing task dialog when exiting edit mode for Primitives

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

fixes 0004241

Problem:

PartDesignGui::ViewProvider is responsible for closing the tasks for most of PD features when exiting edit mode
(i.e. unsetEdit()).

For primitives, PartDesignGui::ViewProviderPrimitive is responsible, and neither does it or relies on its parent
VP to do it when calling unsetEdit().

Solution:

Make PartDesignGui::ViewProviderPrimitive::unsetEdit() rely on parent PartDesignGui::ViewProvider to tidy up,
including closing the task dialog.

Reference:

This is the default stack call when closing a document while a PD task using PartDesignGui::Viewprovider is active:
Affected Issues
0004241
mod - src/Mod/PartDesign/Gui/ViewProviderPrimitive.cpp Diff File

master ae641dc5

2020-06-07 10:53:47

wmayer

Details Diff
Python: [skip ci] tp_print slot has been replaced with tp_vectorcall_offset in Py3.8
mod - src/Base/swigpyrun_1.3.25.h Diff File
mod - src/Base/swigpyrun_1.3.33.h Diff File
mod - src/Base/swigpyrun_1.3.36.h Diff File
mod - src/Base/swigpyrun_1.3.38.h Diff File
mod - src/Base/swigpyrun_1.3.40.h Diff File
mod - src/CXX/Python3/cxx_extensions.cxx Diff File

master 03113405

2020-06-07 09:30:56

wmayer

Details Diff
Gui: [skip ci] fix bug when keyboard tracking for QuantitySpinBox is disabled and value is changed by mouse wheel or the spin buttons
mod - src/Gui/QuantitySpinBox.cpp Diff File

master f98b9488

2020-06-07 08:44:12

wmayer

Details Diff
Revert "App: [skip ci] avoid that Origin makes persistent any properties of its extension"

This reverts commit 457dba4fee90410d682f47300afda6e0a10c4fc1.
mod - src/App/Origin.h Diff File

master 86a182c2

2020-06-07 06:19:48

russ4262

Details Diff
Path: Add `opUpdateDepths()` method as in 3D Surface
mod - src/Mod/Path/PathScripts/PathWaterline.py Diff File

master f4e522c9

2020-06-07 05:44:17

russ4262

Details Diff
Path: Initialize OCL_Tool class and implement in OCL-based operations

The purpose of this class is to properly translate both, Legacy and ToolBit, tools into OCL tool types where possible.
message fix
mod - src/Mod/Path/PathScripts/PathSurface.py Diff File
mod - src/Mod/Path/PathScripts/PathSurfaceSupport.py Diff File
mod - src/Mod/Path/PathScripts/PathWaterline.py Diff File

master bbdd9abc

2020-06-07 05:43:33

vocx-fc


Committer: yorik Details Diff
Draft: combine two types of labels using functions

We use smaller functions to return a list of strings corresponding
to each basic value of `LabelType`. Then the final `Text` value
can be defined as a simple value, or as the concatenation
of two smaller lists, depending on the value of `LabelType`.

Since we have 8 basic values, we could return up to 8^2
combinations, but at the moment we only return 8 basic
values and 5 simple combinations, which are the ones
that make the most sense.

In the future we could define new properties, say, `LabelType2`
and `LabelType3`, to be able to combine two or three types
of strings in an arbitrary fashion. At the moment, the possible
combinations are hard coded in `LabelType`.
mod - src/Mod/Draft/draftobjects/label.py Diff File

master 41835940

2020-06-07 01:55:39

wandererfan

Details Diff
[TD]CosmeticEdge setters and getters
mod - src/Mod/TechDraw/App/Cosmetic.h Diff File
mod - src/Mod/TechDraw/App/CosmeticEdgePy.xml Diff File
mod - src/Mod/TechDraw/App/CosmeticEdgePyImp.cpp Diff File
mod - src/Mod/TechDraw/App/DrawViewPartPyImp.cpp Diff File
mod - src/Mod/TechDraw/App/Geometry.cpp Diff File
mod - src/Mod/TechDraw/App/Geometry.h Diff File

master 5c6de6dd

2020-06-06 23:29:36

Gabriel Wicke

Details Diff
Path: Area based unified projection implementation

Generalize the `extractFaceOffset` method to `getOffsetArea`, which can
handle both face offsetting and projection. Another difference is that
the new method exposes Area's ability to preserve internal holes,
defaulting to preserving. The method is moved to the PathUtils module,
reflecting its generality and fairly wide used across Path.

This method is then used to provide a drop-in alternative to
`FindUnifiedRegions` via a small wrapper in PathSurfaceSupport. The Area
implementation is generally quick, but can fail (throw) in some cases,
so the wrapper is trying the Area method as an optimization first, and
falls back to the full `FindUnifiedRegions` logic if that fails.
mod - src/Mod/Path/PathScripts/PathMillFace.py Diff File
mod - src/Mod/Path/PathScripts/PathProfile.py Diff File
mod - src/Mod/Path/PathScripts/PathSurfaceSupport.py Diff File
mod - src/Mod/Path/PathScripts/PathUtils.py Diff File
mod - src/Mod/Path/PathScripts/PathWaterline.py Diff File

master 81fdb648

2020-06-06 22:53:25

russ4262

Details Diff
Path: Fix available inputs for engraver tool type
mod - src/Mod/Path/PathScripts/PathToolEdit.py Diff File

master 31ae323e

2020-06-06 19:01:32

russ4262

Details Diff
Path: Add `ShapeName` property to ToolBit objects

The new `ShapeName` is the name of the FreeCAD shape file containing the 3D body of the cutter.
We might want to change the source of the `ShapeName` to the name of the first Body object in the shape file, rather than the name of the file itself.
mod - src/Mod/Path/PathScripts/PathToolBit.py Diff File

master 466ae17a

2020-06-06 17:29:50

vocx-fc


Committer: yorik Details Diff
Draft: hide properties not used in the Label object

When `LabelType` is `'Custom'`, the `Target` property
is hidden and `CustomText` is shown.

For other values of `LabelType`, `Target` is shown,
and in turn `CustomText` is hidden.

This avoids showing unused information in the property editor.
mod - src/Mod/Draft/draftobjects/label.py Diff File

master ac4196fb

2020-06-06 14:12:06

abdullah


Committer: abdullahtahiriyo Details Diff
Expressions: Avoid multiline error messages

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

fixes 0004324

A multiline error message produces poor visualisation when used in the UI, while
there is no need for it to be multiline.
Affected Issues
0004324
mod - src/App/ObjectIdentifier.cpp Diff File

master 98015194

2020-06-06 13:46:48

wmayer

Details Diff
App: [skip ci] correctly mapping of sub-feature name to role name of an Origin feature
mod - src/App/Origin.cpp Diff File

master b7f56e43

2020-06-06 11:48:25

wmayer

Details Diff
App: [skip ci] in dependency graph make sure that an Origin stays inside the Body or Part container
mod - src/App/Document.cpp Diff File

master 45c2e5cb

2020-06-06 11:04:01

wmayer

Details Diff
App: [skip ci] throw an exception if the expression gives NaN
mod - src/App/Expression.cpp Diff File

master 8f646d93

2020-06-06 09:39:20

rkoyama1623


Committer: yorik Details Diff
Arch: Fix bug of exporting into collada file 0004362

Enable to export mirrored part into collada file.

This is discussed in:
https://forum.freecadweb.org/viewtopic.php?f=3&t=30785

The issue is:
https://tracker.freecadweb.org/view.php?id=4362
mod - src/Mod/Arch/ArchCommands.py Diff File

master 5b5ea24b

2020-06-06 08:54:16

wmayer

Details Diff
App: [skip ci] suppress false warning
mod - src/App/Document.cpp Diff File

master a7198590

2020-06-06 06:45:47

vocx-fc


Committer: yorik Details Diff
Draft: adjust the text size for Labels with format_object

This function, `draftutils.gui_utils.format_object`,
takes the value defined in the `DrafToolBar`, and uses it
to specify the `FontSize` for `Text` objects.

Now it specifies the `TextSize` for `Label` elements as well.
mod - src/Mod/Draft/draftutils/gui_utils.py Diff File

master 0c69eebd

2020-06-06 01:16:38

Gabriel Wicke

Details Diff
Path: Use _optimizeLinearSegments utility in _planarSinglePassProcess

Slightly clean up the code by separating linear segment optimization
from gcode generation. While the current optimization is not very
effective once there is any kind of meshing noise, having a single
method performing the optimization will make it easier to tweak
tolerances or strategies.
mod - src/Mod/Path/PathScripts/PathSurface.py Diff File
 First  Prev  1 2 3 ... 70 ... 129 130 131 132 133 134 135 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 649 650 651  Next  Last