Commit Graph

10696 Commits

Author SHA1 Message Date
Ian Rees
05b5b48af8 Refactor PartDesign create primitive commands 2017-04-06 19:26:19 +02:00
wmayer
a86583e833 fix crash when trying to drag and drop origin object in body object 2017-04-06 19:16:27 +02:00
Yorik van Havre
aa086c1dd9 Draft: Hold snapping points
When drawing (snapping) using the Draft module, it is now possible
to press the Q key to record points. Additional snap locations then
become available orthogonally to these hold points.
2017-04-05 19:04:05 -03:00
Yorik van Havre
f4edb7aed4 Arch: Rebars can now be based on any wire, not only sketches 2017-04-05 17:25:57 -03:00
Yorik van Havre
8337a7909f Added App::PropertyPlacementList 2017-04-05 17:22:51 -03:00
Alexander Gryson
c014840fce Spin icon a little after forum feedback 2017-04-05 16:09:03 -03:00
Zheng, Lei
1d60277c1f TreeView: fix tree view performance
It seems on some system calling QTreeWidgetItem::takeChildren and then
addChild back is expensive. This fix avoids that but still keeps track
of item order in claimed children
2017-04-05 19:41:16 +02:00
Yorik van Havre
275732a281 AddonManager: Misc fixes
* Fixed wrong WB description
* Enabled list sorting
* Blacklisted FCGear macro (it is a WB now)
2017-04-05 13:42:31 -03:00
Yorik van Havre
d8b8bbda31 Merge pull request #675 from kkremitzki/issue0002998
Create Macro dir for AddonManager if nonexistent
2017-04-05 13:15:02 -03:00
Kurt Kremitzki
c902422f63 Create Macro dir for AddonManager if nonexistent
This commit implements the directory-existence-check already used for
the Mod folder when AddonManager attempts to install something into it
and is associated with bug #00029998
2017-04-04 19:17:09 -05:00
Yorik van Havre
a253af0b9f Merge pull request #673 from gdoffe/path_dogbonedressup
path: use findParentJob() in getToolControllers()
2017-04-04 18:03:59 -03:00
Gilles DOFFE
428c56788e path: use findParentJob() in getToolControllers()
When applying dressup, the dressup became the new parent of the path feature object.
Then, in the getToolControllers() function, obj does not point systematically to the parent job.
An existing function findParentJob() is more suitable as it looks for the job also into grandparents.
2017-04-04 14:23:20 +02:00
Ulrich Brammer
42efec9b23 fixes 0002978 spreadsheet row problem for rows above AA 2017-04-04 13:46:15 +02:00
Ulrich Brammer
e58b74793a More precise real values for Calculix input files. 2017-04-04 13:46:15 +02:00
triplus
e46a8fe75f Navigation indicator support 2017-04-04 12:38:17 +02:00
wmayer
d7d7aa238f add methods firstVertex and lastVertex to TopoEdge 2017-04-04 10:05:46 +02:00
wmayer
add9bf910b fix memory leak on IGES import 2017-04-03 19:09:47 +02:00
wmayer
a289538e03 fixes #1999: Tessellation data or OpenInventor data memory leak 2017-04-03 18:21:49 +02:00
WandererFan
97ca11f9f2 Increase tolerance for overlapping Vertexes
Some "valid" shapes are being passed to findShapeOutline where edges
that should be connected are in fact separated 10x the expected tolerance
(2*Precision::Confusion) for 2 overlapping TopoDS_Vertex.
IntTools_Tools:ComputeVV also reports these Vertices as further apart than
their combined tolerances should allow.
This change introduces a tolerance into DrawUtil and EdgeWalker vertex
comparisions that is quite "sloppy" (0.00001) but which handles the sample
objects correctly. This tolerance is adequate for drawings.  Other uses
should be considered on case by case basis.
2017-04-02 20:04:34 -03:00
Yorik van Havre
21f683e86a Merge pull request #666 from ianrrees/20170402-path-add-geom-tolerance
20170402 path add geom tolerance
2017-04-02 20:03:14 -03:00
Ian Rees
a079b415ae Path: Use Deflection param for PathSurface meshes
The MaxLength option is quite slow and doesn't give as well-defined of
control over meshing accuracy as the deflection parameter.
2017-04-02 20:33:54 +12:00
Ian Rees
c913481ec1 Path: Add Property to Job for geometry tolerance 2017-04-02 19:58:50 +12:00
wwmayer
78d8272d77 Merge pull request #665 from realthunder/TreeViewFix
TreeView: fixed disappearing item
2017-04-02 09:51:02 +02:00
Zheng, Lei
b42c45becc TreeView: fixed disappearing item
The problem occurs when a child object is no longer claimed by its
former parent. The child tree item is not added back to Document root
even if it is the only instance left, which resulting the child object
disappearing entirely from the tree view.
2017-04-02 12:24:54 +08:00
WandererFan
1bde45172e fix wrong size svg export page 2017-04-01 16:41:50 +02:00
wmayer
b01a51dbf5 extend API of TimerFunction class 2017-04-01 16:39:44 +02:00
wmayer
c80f6f0941 add missing header 2017-04-01 16:11:25 +02:00
Zheng, Lei
38d41f935c PathGui: added selection style preference 2017-04-01 11:09:03 -03:00
Zheng, Lei
151d8a7b08 Gui: allow bounding box style to be customized 2017-04-01 11:09:03 -03:00
Alexander Gryson
b2f937ee9f Update "as-is" icon based on forum feedback 2017-04-01 11:01:08 -03:00
Alexander Gryson
e7dd0ba083 Align core icons to guidelines 2017-04-01 11:01:08 -03:00
wmayer
47847513a8 extend API of TimerFunction class 2017-03-31 22:18:06 +02:00
Kunda
784edd3f82 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -03:00
Yorik van Havre
ce56bdb045 Merge pull request #659 from sliptonic/feature/stock
path: enable stock
2017-03-30 17:33:40 -03:00
sliptonic
defb75b315 path: enable stock 2017-03-30 08:14:51 -05:00
tomate44
3b6020cda8 add doc and a couple of new methods to MakePipeShell 2017-03-29 19:47:52 +02:00
Yorik van Havre
7667875e0d Fixed error in addon manager 2017-03-29 10:39:59 -03:00
Bruce B. Lacey
0ca5ebe784 Fix commit 7741f74ae - Show more mac versions in about dialog 2017-03-28 11:05:05 -07:00
wwmayer
7983a79bca Merge pull request #655 from gdoffe/toolimprove_dogbonedressup
path: make dogbone dressup using new tool controller
2017-03-28 19:33:25 +02:00
Yorik van Havre
7741f74ae6 Show more mac versions in about dialog 2017-03-28 10:17:30 -03:00
Gilles DOFFE
5af90ff7b1 path: make dogbone dressup using new tool controller 2017-03-28 11:26:22 +02:00
Mateusz Skowroński
c5b7c987c4 Fix building with GCC and Qt5.
issue #0002986
2017-03-28 09:56:54 +02:00
wmayer
7e9da5e957 fix possible crash in view provider of boolean algorithm features 2017-03-27 22:43:13 +02:00
DeepSOIC
64754a655e Gui: Gesture: fix for conda
@peterl94 said anaconda's Qt doesn't offer private headers. The
definitions used have almost no code associated with them, I simply
copied them to the cpp file.

See thread "ana(conda) windows packaging", starting from this post:
https://forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=70#p167370
2017-03-27 13:40:21 +03:00
Zheng, Lei
f323b8c956 Gui.TreeWidget: check cyclic dep when populating 2017-03-26 18:53:36 +02:00
Zheng, Lei
a5dead1717 Gui.TreeWidget: removed incorrect assertion 2017-03-26 18:53:36 +02:00
Zheng, Lei
752f7a3d29 Gui: fixed ambiguous boost::bind 2017-03-26 18:53:36 +02:00
Zheng, Lei
535762ea4f Gui: improved TreeView drag and drop
* support undo of drag and drop
* support drop only (i.e. no item removal from dragged parent item) when
    Ctrl key is pressed at the time of drop.
2017-03-26 18:53:36 +02:00
Zheng, Lei
b95674db03 Gui: made the TreeView stable
The TreeView item (DocumentObjectItem) and DocumentObject now have a N:1
relationship. Adding or removing object with claimed children no longer
affects existing TreeView items.
2017-03-26 18:53:36 +02:00
wmayer
7901cf7ad2 issue #0002698: Exported STEP-File contains surplus PRODUCTS 2017-03-26 18:29:27 +02:00