Changesets: FreeCAD

master 02df1acb

2015-06-16 18:37:03

Abdullah Tahiri


Committer: wmayer Details Diff
Gui: New feature: Extension of TaskView to notify if a taskbox is hidden or visible

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

http://forum.freecadweb.org/viewtopic.php?f=10&t=11363
Attach Issues:
mod - src/Gui/TaskView/TaskView.cpp Diff File
mod - src/Gui/TaskView/TaskView.h Diff File

master 238becae

2015-06-16 10:18:11

wmayer

Details Diff
+ further optimization in sketcher
Attach Issues:
mod - src/Mod/Sketcher/App/Sketch.h Diff File
mod - src/Mod/Sketcher/App/SketchObject.h Diff File

master 788fadf4

2015-06-15 23:42:37

wmayer

Details Diff
+ fix const correctness
Attach Issues:
mod - src/Mod/Sketcher/App/Sketch.h Diff File
mod - src/Mod/Sketcher/App/SketchObject.h Diff File

master 280019dd

2015-06-15 21:28:29

wmayer

Details Diff
+ implement Geometry.copy for Python
Attach Issues:
mod - src/Mod/Part/App/GeometryPy.xml Diff File
mod - src/Mod/Part/App/GeometryPyImp.cpp Diff File

master 4caa464e

2015-06-15 15:35:56

Przemo Firszt


Committer: wmayer Details Diff
FEM: All FEM results are stored in a single object

Functionality previously provided by setNodeColorByResult is now
in setNodeColorByScalars. FemResult* object is no longer required,
the function accepts list of elements and a list of values.

Functionality previously provided by setNodeDisplacementByResult is now
in setNodeDisplacementByVectors. FemResult* object is no longer required,
the function accepts list of elements and a list of vectors.

A side effect: FemResultValues and FemResultVector are no longer used
and have bee removed.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
Attach Issues:
mod - src/Mod/Fem/App/AppFem.cpp Diff File
mod - src/Mod/Fem/App/CMakeLists.txt Diff File
mod - src/Mod/Fem/App/FemResultObject.cpp Diff File
mod - src/Mod/Fem/App/FemResultObject.h Diff File
rm - src/Mod/Fem/App/FemResultValue.cpp Diff File
rm - src/Mod/Fem/App/FemResultValue.h Diff File
rm - src/Mod/Fem/App/FemResultVector.cpp Diff File
rm - src/Mod/Fem/App/FemResultVector.h Diff File
mod - src/Mod/Fem/Gui/ViewProviderFemMeshPy.xml Diff File
mod - src/Mod/Fem/Gui/ViewProviderFemMeshPyImp.cpp Diff File
mod - src/Mod/Fem/MechanicalAnalysis.py Diff File
mod - src/Mod/Fem/ccxFrdReader.py Diff File

master 1749ff2d

2015-06-15 03:58:07

yorik

Details Diff
Added a Revert command to the File menu - fixes 0002040 Affected Issues
0002040
mod - src/Gui/CommandDoc.cpp Diff File
mod - src/Gui/Workbench.cpp Diff File

master d0cfe4b0

2015-06-14 23:36:54

yorik

Details Diff
Arch: Allow to build Arch objects from Part Compounds - fixes 0002095

Arch objects can now be based on a Part Compound and will take
its DiffuseColor property. Arch objects that are clones of
such objects will also copy that property.
Affected Issues
0002095
mod - src/Mod/Arch/ArchComponent.py Diff File
mod - src/Mod/Arch/ArchPanel.py Diff File
mod - src/Mod/Arch/ArchRebar.py Diff File
mod - src/Mod/Arch/ArchStructure.py Diff File
mod - src/Mod/Arch/ArchWall.py Diff File
mod - src/Mod/Arch/ArchWindow.py Diff File

master 796c9d79

2015-06-14 19:30:29

Abdullah Tahiri


Committer: wmayer Details Diff
Sketcher: New Features: SparseQR decomposition and Solver advanced control TaskBox

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

The solver has been adapted to use Eigen's SparseQR QR decomposition algorithm. The original
Dense QR implementation is maintained and can be selected using the Advanced Control TaskBox (see below).

The use of SparseQR provides over an order of magnitude improvement in solving time in complex sketches due to
the Sparse nature of the Jacobian matrix of the system of equations.

The solver advanced control is a new TaskBox in the Sketcher that allows to select which algorithms are to be used for
the different solving operations and tweak its parameters. It is not intended to be a user control, but means to debug
solving problems and improve the algorithms and their configuration.

This commit also introduces multithread support for Eigen. Currently it is only limited to products and does not provide
a substantial speed improvement. It is expected to have more multithreaded operations in Eigen in the future.

As a bonus, the TaskBoxes in the Taskbar of the Sketcher remember the last state (collapsed or deployed).
Attach Issues:
mod - src/Mod/Sketcher/App/CMakeLists.txt Diff File
mod - src/Mod/Sketcher/App/Sketch.cpp Diff File
mod - src/Mod/Sketcher/App/Sketch.h Diff File
mod - src/Mod/Sketcher/App/planegcs/GCS.cpp Diff File
mod - src/Mod/Sketcher/App/planegcs/GCS.h Diff File
mod - src/Mod/Sketcher/Gui/CMakeLists.txt Diff File
mod - src/Mod/Sketcher/Gui/TaskDlgEditSketch.cpp Diff File
mod - src/Mod/Sketcher/Gui/TaskDlgEditSketch.h Diff File
add - src/Mod/Sketcher/Gui/TaskSketcherSolverAdvanced.cpp Diff File
add - src/Mod/Sketcher/Gui/TaskSketcherSolverAdvanced.h Diff File
add - src/Mod/Sketcher/Gui/TaskSketcherSolverAdvanced.ui Diff File

master f99fd100

2015-06-14 11:46:18

Eivind Kvedalen


Committer: wmayer Details Diff
Added zoom and automatic refresh of dependency graph view. Affected Issues
0002058
mod - src/App/Document.cpp Diff File
mod - src/App/Document.h Diff File
mod - src/Gui/CMakeLists.txt Diff File
mod - src/Gui/CommandDoc.cpp Diff File
add - src/Gui/GraphicsViewZoom.cpp Diff File
add - src/Gui/GraphicsViewZoom.h Diff File
mod - src/Gui/GraphvizView.cpp Diff File
mod - src/Gui/GraphvizView.h Diff File
mod - src/Gui/Qt4All.h Diff File

master d0d98b87

2015-06-12 23:11:40

Eivind Kvedalen


Committer: wmayer Details Diff
Spreadsheet: Fixed exception bug in SheetPy::setCustomAttributes(...).
Attach Issues:
mod - src/Mod/Spreadsheet/App/SheetPyImp.cpp Diff File

master e864bb8d

2015-06-12 23:07:44

Eivind Kvedalen


Committer: wmayer Details Diff
Spreadsheet: Added test macro.
Attach Issues:
add - src/Mod/Spreadsheet/App/Spreadsheet.FCMacro Diff File

master efc21a5a

2015-06-12 22:11:08

Eivind Kvedalen


Committer: wmayer Details Diff
Spreadsheet: Removed superfluous fc_target_copy_resource call in CMakeLists.txt.
Attach Issues:
mod - src/Mod/Spreadsheet/CMakeLists.txt Diff File

master ec5f3b2b

2015-06-12 17:01:47

Abdullah Tahiri


Committer: wmayer Details Diff
Sketcher: new Feature: Group creation of Sketcher geometry and other improvements and bug fixes

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

Group creation:
- complex geometries (consisting of several geometry elements and constraints) have been rewritten to use python list (one command call for all geometries and constraints)
- Ellipse ExposeInternalGeo as group creation of geometries and constraints

To construction mode creation:
- addGeometry python and SketchObject functions modified to take an additional optional parameter "construction" to create the geometry/geometries directly as construction.
In addition to the shorter form, this helps generate less amount of onChange propagation and Redraws.
- all the geometry creation commands in CommandCreateGeo.cpp have been rewritten to use the new construction argument. This includes modifying the regular polygon script to
take a new optional parameter to create geometry as construction in addGeometry.
- special care is taken in group creation not make construction points
- Show/hide internal geometry implemented with this option.

To solving:
- the solve previously included after every geometry addition (when in no Update, e.i. no Recompute mode) has been removed and each Gui::Command calls either an UpdateActive
for recompute or a Solve in no Update mode. This is behaviour is less intrusive and uniform with group creation.

Bug fixes and redrawing reduction:
- Fixes the CheckId exception problem. The solution also helps further remove redraws during creation of complex geometry (e.g. Slot)
- Fixes touching the sketch by only opening it.
- Code clean up.
Attach Issues:
mod - src/Mod/Sketcher/App/SketchObject.cpp Diff File
mod - src/Mod/Sketcher/App/SketchObject.h Diff File
mod - src/Mod/Sketcher/App/SketchObjectPyImp.cpp Diff File
mod - src/Mod/Sketcher/Gui/CommandCreateGeo.cpp Diff File
mod - src/Mod/Sketcher/Gui/CommandSketcherTools.cpp Diff File
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp Diff File
mod - src/Mod/Sketcher/ProfileLib/RegularPolygon.py Diff File

master edbbcfb7

2015-06-12 16:08:49

yorik

Details Diff
Draft: Fixed placement of one-face Facebinders
Attach Issues:
mod - src/Mod/Draft/Draft.py Diff File

master 40f8bb41

2015-06-12 04:02:29

yorik

Details Diff
Arch: Fixed encoding bug in IFC export
Attach Issues:
mod - src/Mod/Arch/importIFC.py Diff File

master 5040a97b

2015-06-11 00:19:20

wmayer

Details Diff
+ filter out removed workbenches
Attach Issues:
mod - src/Gui/Action.cpp Diff File
mod - src/Gui/Action.h Diff File

master 4a7419c0

2015-06-10 23:21:46

wmayer

Details Diff
+ fix whitespaces
Attach Issues:
mod - src/Gui/Action.cpp Diff File
mod - src/Gui/Action.h Diff File

master 4f5534a8

2015-06-09 21:55:35

wmayer

Details Diff
+ fixes 0002116: FreeCAD crash when I click on treeview Affected Issues
0002116
mod - src/Gui/propertyeditor/PropertyItem.cpp Diff File

master 54317bec

2015-06-09 21:23:16

wmayer

Details Diff
+ fix writing STEP settings
Attach Issues:
mod - src/Mod/Part/Gui/DlgSettingsGeneral.cpp Diff File

master da527013

2015-06-09 17:18:21

Abdullah Tahiri


Committer: wmayer Details Diff
Gui New Feature: Gui::Document support for App::Document undo and redo signals

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

It defines new slots connected to App::Document's signalUndo/signalRedo, which
triggers Gui::Document's signalUndoDocument and signalRedoDocument signals.

setModified is not executed upon redo/undo, as this is already done on modification of the properties if
properties were modified, and if there were not, no setModified is needed anyway.
Attach Issues:
mod - src/Gui/Document.cpp Diff File
mod - src/Gui/Document.h Diff File

master beedcc06

2015-06-09 16:36:19

yorik

Details Diff
New splashscreen
Attach Issues:
mod - src/Gui/Icons/freecadsplash.png Diff File

master 61bd2d41

2015-06-09 14:19:20

Abdullah Tahiri


Committer: wmayer Details Diff
Sketcher: Requested Feature: Remove help button

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

The help button next to the close button in the Task dialog is now removed.

It was requested that this button is removed as it is inconsistent with other help sources and it is not implemented.
Attach Issues:
mod - src/Mod/Sketcher/Gui/TaskDlgEditSketch.cpp Diff File
mod - src/Mod/Sketcher/Gui/TaskDlgEditSketch.h Diff File

master 895510e0

2015-06-09 00:05:37

yorik

Details Diff
Draft: small bugfix in Drawing view
Attach Issues:
mod - src/Mod/Draft/Draft.py Diff File
mod - src/Mod/Draft/DraftGeomUtils.py Diff File

master d1acd124

2015-06-08 17:21:53

Abdullah Tahiri


Committer: wmayer Details Diff
Sketcher: Bug fix: Undo/Redo implementation

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

Fixes a bug in master that the dependent 3D geometry would not update on Undo (in Auto update mode enabled).

Undo and redo signals are handled by ViewProvider in order to introduce an recompute or solve() of the sketchObject
as determined by the Auto Update Mode in order to update DoF and dependent geometry if necessary.
Attach Issues:
mod - src/Mod/Sketcher/App/SketchObject.cpp Diff File
mod - src/Mod/Sketcher/App/SketchObject.h Diff File
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.cpp Diff File
mod - src/Mod/Sketcher/Gui/ViewProviderSketch.h Diff File

master eb7a3c76

2015-06-08 16:09:34

Abdullah Tahiri


Committer: wmayer Details Diff
Bug fix: General reduction solution / new sketch solving model

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

The new solving architecture focus all the solving on the SketchObject.

Actions that change the DoF can call execute() (i.e. recompute) or Solve() depending on whether a full recompute of dependent features is required or not.
In both calls the geometry of the solver is updated with the geometry of the SketchObject.

The only additional call that calls the solver is MovePoint. This function may or may not update the geometry of the SketchObject
(as now it is intended for UI related solving, like dragging, rubberbands, ...).

In operations that do not involve a change of DoF and therefore do not require a sketch solving, it may happen that as a side effect of moving a point, the
geometry changes to old behaviour. In order to avoid that, those SketchObject operations, as for example setConstruction or ToggleConstruction,
must set a flag "bool solverNeedsUpdate" to true. In case a movePoint is executed before any other solver execution, the geometry is first updated and then
the moving is performed.

So to keep in mind when programming sketcher operations:
-> Need recompute (UpdateActive)
-> Need solving because DoF changed (solve())
-> The operation does not change DoF (set solverNeedsUpdate to true)
Attach Issues:
mod - src/Mod/Sketcher/App/SketchObject.cpp Diff File
mod - src/Mod/Sketcher/App/SketchObject.h Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 240 ... 300 ... 360 ... 420 ... 467 468 469 470 471 472 473 ... 480 ... 540 ... 569 570 571  Next  Last