Changesets: FreeCAD

master 2e3f3dd6

2020-06-18 10:41:15

lambda


Committer: yorik Details Diff
Arch: importIFC: Allow faster inserts

For huge models just parsing the IFC file in ifcopenshell takes
significant time. When importing via IFC explorer from the BIM
workbench, the file is already open.

This change allows to pass the ifcopenshell.file object instead of a
filename, making the process much more efficient.

Backwards compatible code to use this will be submitted for the BIM
workbench soon. Then we have a workflow, where we can insert items
from big IFC files in multiple rounds quickly.
Attach Issues:
mod - src/Mod/Arch/importIFC.py Diff File

master e1cfaf12

2020-06-18 10:34:43

wmayer

Details Diff
Gui: [skip ci] handle case if an absolute path to a qss file is set
Attach Issues:
mod - src/Gui/DlgGeneralImp.cpp Diff File

master 87c0365a

2020-06-18 10:33:27

wmayer

Details Diff
Cloud: [skip ci] add missing closing curly brace
Attach Issues:
mod - src/Mod/Cloud/App/AppCloud.cpp Diff File

master 521b0e46

2020-06-18 06:39:17

russ4262

Details Diff
Path: Add operation's label to task panel window title
Attach Issues:
mod - src/Mod/Path/PathScripts/PathProfileGui.py Diff File

master 0f393e20

2020-06-18 06:36:42

russ4262

Details Diff
Path: Add operation's label to task panel window title
Attach Issues:
mod - src/Mod/Path/PathScripts/PathSurfaceGui.py Diff File
mod - src/Mod/Path/PathScripts/PathWaterlineGui.py Diff File

master 6b3815a7

2020-06-18 03:10:18

Gabriel Wicke

Details Diff
[path] Implement Ramer-Douglas-Peucker line simplification

Implement an iterative version of the Ramer-Douglas-Peucker line
simplification algorithm
(https://en.wikipedia.org/wiki/Ramer%E2%80%93Douglas%E2%80%93Peucker_algorithm),
which reduces line complexity to a limited linear deviation from the
original polyline. The ability to reason about linear deflection is the
key improvement over the previous linear implementation.

Worst case complexity is O(n^2), but expected complexity for typical
cases is O(n log n). A potentially faster alternative would be to call
out to libclipper, treating the line as a closed polygon. However, in
practice, performance of this implementation seems good enough. A
complex 3d surface operation optimizes in a few seconds, and reduces
output gcode size from about 220MB with the previous implementation to
10MB.
Attach Issues:
mod - src/Mod/Path/PathScripts/PathSurface.py Diff File
mod - src/Mod/Path/PathScripts/PathUtils.py Diff File

master ca13b246

2020-06-18 02:08:28

uwestoehr


Committer: yorik Details Diff
[Spreadsheet] add visible alias check

as discussed in https://forum.freecadweb.org/viewtopic.php?p=408992#p408981
visible feedback is missing for the Alias field. This PR add it and also adapts the UI label style.
Attach Issues:
mod - src/Mod/Spreadsheet/Gui/Sheet.ui Diff File
mod - src/Mod/Spreadsheet/Gui/SpreadsheetView.cpp Diff File
mod - src/Mod/Spreadsheet/Gui/SpreadsheetView.h Diff File

master 40faed1b

2020-06-18 01:39:40

russ4262

Details Diff
Path: Fix timing of `updatePanelVisibility()` call

Targeted function call needed to be after `updateBase()` call after the `for` loop.
Attach Issues:
mod - src/Mod/Path/PathScripts/PathOpGui.py Diff File

master 4e106902

2020-06-18 01:31:39

vocx-fc


Committer: yorik Details Diff
Draft: add onChanged method in the derived annotation classes

The classes `ViewProviderDimensionBase`, `ViewProviderLinearDimension`,
`ViewProviderAngularDimension`, `ViewProviderText`, and
`ViewProviderLabel` use `super()` to call the `onChanged` method
of the parent class `ViewProviderDraftAnnotation`.

In this way the `AnnotationStyle` property correctly modifies
the properties of every annotation object.
Attach Issues:
mod - src/Mod/Draft/draftviewproviders/view_dimension.py Diff File
mod - src/Mod/Draft/draftviewproviders/view_label.py Diff File
mod - src/Mod/Draft/draftviewproviders/view_text.py Diff File

master 29f3ab6d

2020-06-17 14:25:37

triplus


Committer: yorik Details Diff
Icon themes Part viewproviders
Attach Issues:
mod - src/Mod/Part/Gui/ViewProviderBoolean.cpp Diff File

master de152bf7

2020-06-17 12:26:26

triplus


Committer: yorik Details Diff
Icon themes DAGView
Attach Issues:
mod - src/Gui/DAGView/DAGModel.cpp Diff File

master f05253f8

2020-06-17 12:03:29

yorik

Details Diff
Draft: snapper.getPoint() does not return object anymore if no snapped object
Attach Issues:
mod - src/Mod/Draft/draftguitools/gui_snapper.py Diff File

master d1175050

2020-06-17 11:56:11

triplus


Committer: yorik Details Diff
Icon themes toolbar customization dialog
Attach Issues:
mod - src/Gui/DlgToolbarsImp.cpp Diff File

master 425d8f8f

2020-06-17 11:15:25

triplus


Committer: yorik Details Diff
Icon themes parameter editor
Attach Issues:
mod - src/Gui/DlgParameterImp.cpp Diff File

master b9d4e688

2020-06-17 02:09:03

vocx-fc


Committer: yorik Details Diff
Draft: improve setting of properties of dimensions, labels, and texts

Add view properties of dimensions, labels, and text objects
through methods, calling the parent classes, and `ViewProviderDraftAnnotation`
when needed.
Attach Issues:
mod - src/Mod/Draft/Draft.py Diff File
mod - src/Mod/Draft/draftviewproviders/view_dimension.py Diff File
mod - src/Mod/Draft/draftviewproviders/view_label.py Diff File
mod - src/Mod/Draft/draftviewproviders/view_text.py Diff File

master 575df244

2020-06-17 01:55:11

vejmarie


Committer: yorik Details Diff
Retab
Attach Issues:
mod - src/Mod/Cloud/App/AppCloud.cpp Diff File

master b393cf67

2020-06-17 01:17:03

vejmarie


Committer: yorik Details Diff
Add Amazon v4 API support as to take into consideration
the end of life of SHA1 signing from OpenSSL which is used by v2 API
Attach Issues:
mod - src/Mod/Cloud/App/AppCloud.cpp Diff File
mod - src/Mod/Cloud/App/AppCloud.h Diff File

master b51339b3

2020-06-16 22:53:22

vocx-fc


Committer: yorik Details Diff
Draft: clean up ViewProviderAngularDimension class

This class is also derived on `ViewProviderDimensionBase`.
It is used to measure the angle between two straight lines.

Various improvements in style, PEP8, spacing, docstrings.
In particular use more readable variable names.

The `updateData` method is modified to return immediately
if the `arc` attribute does not exist. This is better
to reduce the level of indentation of the code.
Attach Issues:
mod - src/Mod/Draft/draftviewproviders/view_dimension.py Diff File

master a89eda24

2020-06-16 21:48:43

vocx-fc


Committer: yorik Details Diff
Draft: clean up ViewProviderLinearDimension class

This class handles linear dimensions of edges, or radial
dimensions of arcs and circles.

Various improvements in style, PEP8, spacing, docstrings.
In particular use more readable variable names.

The modules `Part` and `DraftGeomUtils` have been delayed
in import.

The `updataData` method is modified to return immediately
if the Proxy property modified is different from `Start`,
`End`, `Dimline` or `Direction`.
Attach Issues:
mod - src/Mod/Draft/draftviewproviders/view_dimension.py Diff File

master bbf05f50

2020-06-16 19:18:07

vocx-fc


Committer: yorik Details Diff
Draft: clean up ViewProviderDimensionBase class

Use methods to set up the properties. As the dimension object has
16 properties, these properties are assigned using three methods
corresponding to text, units, and graphics properties.
Attach Issues:
mod - src/Mod/Draft/draftviewproviders/view_dimension.py Diff File

master 3f75dc7c

2020-06-16 15:40:16

vocx-fc


Committer: yorik Details Diff
Draft: clean up the ViewProviderDraftAnnotation class

This class is the base of the viewproviders of annotation-type
objects like dimensions (linear, radial, angular), labels,
and texts.

The basic properties of `ViewProviderDraftAnnotation`
are set up by a method `set_properties`, which can be called
in the derived classes.

In the general proxy object `DraftAnnotation` we implement
the `onDocumentRestored` method in order to add the missing
view property `AnnotationStyle` to older objects.
Attach Issues:
mod - src/Mod/Draft/draftobjects/draft_annotation.py Diff File
mod - src/Mod/Draft/draftviewproviders/view_draft_annotation.py Diff File

master 270e4b10

2020-06-16 15:25:19

vocx-fc


Committer: yorik Details Diff
Draft: move default annotation style properties to utils module

These style properties are used by `ViewProviderDraftAnnotation`
and by the Gui Command `Draft_AnnotationStyleEditor`.

Therefore, they are moved from `draftguitools.gui_annotationstyleeditor`
module to the `draftutils.utils` module, so that they
are in a central location where they won't cause circular
dependencies.
Attach Issues:
mod - src/Mod/Draft/draftguitools/gui_annotationstyleeditor.py Diff File
mod - src/Mod/Draft/draftutils/utils.py Diff File

master d804eb6e

2020-06-16 11:39:21

yorik

Details Diff
Arch: Added timing in IFC import
Attach Issues:
mod - src/Mod/Arch/importIFC.py Diff File

master ddf0cf31

2020-06-15 22:08:42

uwestoehr


Committer: wandererfan Details Diff
[TD] code optimization for DrawViewPart

Use same code for GeomHatch and Hatch in DrawViewPart as discussed here: https://forum.freecadweb.org/viewtopic.php?f=35&t=47536&start=10
Attach Issues:
mod - src/Mod/TechDraw/App/DrawViewPart.cpp Diff File

master 76aac3a2

2020-06-15 19:33:56

wmayer

Details Diff
boost: [skip ci] fix for boost < 1.60
Attach Issues:
mod - src/App/DocumentObserverPython.cpp Diff File
mod - src/Gui/DocumentObserverPython.cpp Diff File
mod - src/Mod/PartDesign/App/ShapeBinder.cpp Diff File
 First  Prev  1 2 3 ... 54 55 56 57 58 59 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 480 ... 540 ... 581 582 583  Next  Last