Commit Graph

4591 Commits

Author SHA1 Message Date
wmayer
e8822668af + fix issue with bad default value of natural direction 2015-02-20 14:40:03 +01:00
wmayer
22c6c89719 + add slots for undo/redo to Python document observer 2015-02-18 21:36:47 +01:00
wmayer
af80c7493a + fix ambiguous shortcuts 2015-02-18 13:07:42 +01:00
wmayer
629dc9aad0 + fixes #0001972: FreeCAD crashes when using keyboard shortcut H to constrain a line 2015-02-18 12:50:16 +01:00
DeepSOIC
55bea2fb6d Sketcher: bugfix in updating constraints after external geometry delete 2015-02-17 12:27:32 +01:00
DeepSOIC
52f062b9c6 Sketch:Validation: swap endpoints for reversed + constraint orientation locking controls
Added buttons to port sketches to CCW-emulation Sketcher.

Bonus =) : Added constraint orientation lock/unlock buttons (affects
point-wise modes of tangent and perpendicular constraints so far)
2015-02-17 12:27:32 +01:00
DeepSOIC
1bbc764e9e Sketcher: fix reversed geometry and rotated arcs
Fixes a bug where an arc, ellipse, or arc-of-ellipse, being reversed in
XY plane, behaved badly in sketcher (see forum thread "Sketch: how to
handle reversed external arcs?"
http://forum.freecadweb.org/viewtopic.php?f=10&t=9130 ).
Also fixes a problem with rotated arcs (see forum thread "Rotating Arc
in Sketcher"
http://forum.freecadweb.org/viewtopic.php?f=22&t=9145#p74262 ).

This is done by adding an emulation flag to a few methods in
Part::GeomXXX, which makes the shape to pretend being non-reversed
(CCW). This causes endpoints of reversed arcs of circles lineked as
external geometry to swap, causing broken sketches sometimes.
2015-02-17 12:27:31 +01:00
Abdullah Tahiri
3d26960f4a Ellipse: External geometry rotated fix
This commit solves the problem that a ellipse appears rotated when added as external geometry, if the face having the
elliptical shape has a direction vector in the -z axis.

This solves the problem. However, the issue with CW and CCW shapes in the sketcher shall be further investigated in order
to arrive to a general acceptable solution.
2015-02-17 12:27:31 +01:00
Eivind Kvedalen
06bfa9eb80 Spreadsheet: getProperty does not return 0 when property is not found, but throws an exception. Handle this instead. 2015-02-17 11:47:56 +01:00
Eivind Kvedalen
23e7849b7f Spreadsheet: Remove empty set from documentObjectToCellMap. 2015-02-17 11:47:11 +01:00
Eivind Kvedalen
f57ea14ac8 Spreadsheet: docDeps property was not properly maintained, resulting in spurious links to other objects. 2015-02-17 11:46:12 +01:00
Eivind Kvedalen
d201aec70c Spreadsheet: Don't return error message when custom attribute is not found. 2015-02-17 11:45:30 +01:00
Eivind Kvedalen
e0f4e74b9e Spreadsheet: Consistently use App::Document::Label as reference for document names when tracking dependencies. 2015-02-17 11:44:55 +01:00
Eivind Kvedalen
9eac357945 Fixed crash when setting/resetting bold/italic/underline on empty cells. 2015-02-17 11:44:21 +01:00
Yorik van Havre
e8d7a4d3ad Arch: fixed support of 2D entities in IFC importer 2015-02-16 12:20:29 -02:00
Yorik van Havre
2dfbbad5b6 Arch: small fix in DAE importer 2015-02-15 23:41:46 -02:00
Yorik van Havre
310ab9e1f0 Updated translation files 2015-02-14 12:16:39 -02:00
Yorik van Havre
91079e8f06 Spreadsheet: Added translation file 2015-02-14 12:15:01 -02:00
Yorik van Havre
30cd441251 Spreadsheet: Added back old python spreadsheet code for archiving purposes 2015-02-14 12:03:22 -02:00
wmayer
28c510c7e7 + open transaction when duplicating selection 2015-02-13 23:12:51 +01:00
wmayer
cf82371194 + open transaction when pasting clipboard into document 2015-02-13 23:01:41 +01:00
wmayer
a6a4bea1c5 + fixes #0001945: selection out of sync with viewer 2015-02-13 22:26:04 +01:00
wmayer
1caa1b4f55 + remove unused variable 2015-02-13 22:13:38 +01:00
Eivind Kvedalen
1f347b53cf + Fixed merge of cells to retain value in upper left cell+ Replaced std::map::at() with iterators and find. Removed some superfluous calls to std::map::find()
+ Visual Studio fixes
+ Fixed return values
+ Removed unused variables
2015-02-13 21:53:59 +01:00
Eivind Kvedalen
935ec5b034 Initial implementation of Spreadsheet module (C++ version) by Eivind Kvedalen.
Various fixes for Windows by
Peter Lama <peterldev94@gmail.com>
Werner Mayer <wmayer@users.sourceforge.net>
2015-02-13 21:53:58 +01:00
Eivind Kvedalen
337bd00de0 Added Quantity::operator>(...). 2015-02-13 21:53:58 +01:00
Eivind Kvedalen
c16139da7f Added InterpreterSingleton::getValue(...) function. 2015-02-13 21:53:57 +01:00
Eivind Kvedalen
264c28b96e Added tracking of external documents to dependency tracking code. 2015-02-13 21:53:57 +01:00
Eivind Kvedalen
53083e091c Made Property::encodeAttribute static. 2015-02-13 21:53:56 +01:00
Yorik van Havre
9220ceb692 Draft: Fixed DXF imorter for non-GUI operation - fixes #1961 2015-02-13 16:49:29 -02:00
Yorik van Havre
c023355fcb Arch: Adapted IFC importer for new IfcOpenShell6
Squashed following commits:
* Arch: Adapted IFC importer for IfcOpenShell6
* Arch: further fixes for ifcopenshell6 compatibility
* Arch: IFC importer now converts to/from  meters for better compatibility with IfcOpenShell
* Arch: further fixes with ifcopenshell6
* Arch: precision adjustments in IFC exporter
* Arch: small fix in makeRoof
2015-02-13 16:41:34 -02:00
Yorik van Havre
52aa640086 Draft: made new DXF libraries dialogs translatable 2015-02-13 16:01:16 -02:00
wood-galaxy
762ec9f718 Draft : Show dialog if DXF libraries not found/not downloadable 2015-02-13 15:31:50 -02:00
wmayer
65061346d8 + write out material information for x3d format 2015-02-13 17:26:49 +01:00
Sebastian Hoogen
f0dd9a3182 refuse to change the placement of PartDesign::Feature Objects
in OpenSCAD/Explode Group command
2015-02-13 00:40:27 +01:00
Yorik van Havre
75f16b24e4 Draft: fixed importSVG - fixes #1964 2015-02-12 11:57:39 -02:00
wmayer
6d4c1d54e3 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-02-12 14:07:10 +01:00
Sebastian Hoogen
fcabea8d92 meshing was removed from StlTransfer
with OCCT CR0025357 issue #1906
2015-02-12 13:46:14 +01:00
Yorik van Havre
cba87af78f Draft: Small fix in DXF importer - fixes #1961 2015-02-12 13:46:14 +01:00
Yorik van Havre
ac14a45064 Fixed typo 2015-02-12 13:46:13 +01:00
Yorik van Havre
d3207edb22 Drawing: reset the default template to the classic one 2015-02-12 13:46:13 +01:00
Yorik van Havre
8548e45a40 Draft: Small fix in DXF importer - fixes #1961 2015-02-11 16:08:34 -02:00
Yorik van Havre
0471698cfd Fixed typo 2015-02-11 15:50:18 -02:00
Yorik van Havre
170753508c Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-02-11 11:25:09 -02:00
wmayer
b9fb49e856 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-02-11 09:50:41 +01:00
Yorik van Havre
60334c49d8 Drawing: reset the default template to the classic one 2015-02-10 14:05:14 -02:00
Sebastian Hoogen
8421a0b951 disable conversion of BSplines to circles in SVG drawing output
partly revert 0a31bebaed
2015-02-10 15:45:34 +01:00
Yorik van Havre
a6e5895e72 Fixed typo in text 2015-02-10 11:52:49 -02:00
Yorik van Havre
228e29244e Draft: re-added Draft-Drawing tool to DraftWB 2015-02-09 12:26:41 -02:00
Johannes Obermayr
5d0d74d3b9 Mod/Complete: Check for modules at runtime.This fixes runtime errors if e. g. TestGui isn't installed due to -DBUILD_TEST=OFF ... 2015-02-08 16:37:14 +01:00