Commit Graph

12192 Commits

Author SHA1 Message Date
wmayer
75b2e858a2 add warning when compound with multiple solids/shells is selected 2017-09-22 12:16:21 +02:00
wmayer
c1ac53b61f fix cyclic dependency if body is selected when creating a datum entity 2017-09-22 11:21:20 +02:00
Kurt Kremitzki
b739616d0e Correct typo in Windows uninstaller 2017-09-22 10:45:19 +02:00
wmayer
00d6df17e3 don't exit FreeCAD when Ext directory doesn't exist 2017-09-22 10:37:11 +02:00
Markus Lampert
e8a394424a Fixed and added PathUtil unit tests for dealing with Part. 2017-09-21 11:35:00 -07:00
Markus Lampert
5741e6f202 Fixed circular hole diameter for cases where the selected edge is not the full circle. 2017-09-21 11:35:00 -07:00
Markus Lampert
992b2589b2 Added support for Part as base object. 2017-09-21 11:32:32 -07:00
Markus Lampert
87533cbb16 Fixed PathHelix to not throw an exception if StartDepth == FinalDepth. 2017-09-21 11:32:32 -07:00
wmayer
74cf6a8dad improve readability of attachment error messages 2017-09-21 19:40:37 +02:00
wmayer
7d4eafbab0 if an Undo/Redo is performed then do nothing inside the body feature 2017-09-21 19:00:26 +02:00
wmayer
499cb18a00 add transform command to body 2017-09-21 17:32:22 +02:00
wmayer
957bab1e29 do not auto activate single body in document when opening context-menu 2017-09-21 15:59:32 +02:00
Yorik van Havre
41b42cce04 Draft: fix to clone's App::Part support 2017-09-21 10:11:47 -03:00
wmayer
cb494198f0 prepare Arch and Path workbench for Qt5 2017-09-21 14:57:20 +02:00
Stefan Tröger
00e7c0f2cb Maintain backlinks on dynamic property removal. fixes #0003189 2017-09-21 13:29:20 +02:00
Stefan Tröger
14a2b0c6c3 PartDesign: Test shall not find buttons by text, as text gets translated. fixes #0003187 2017-09-21 13:03:22 +02:00
Stefan Tröger
94248a6c42 Improve GeoFeatureGroup claim children algorithm and remove special Body impelmentation 2017-09-21 13:02:16 +02:00
Stefan Tröger
e64813827d Expose global placement calculation to python API 2017-09-21 12:58:01 +02:00
Stefan Tröger
957b23e610 Don't check for multiple groups when performing a transaction. fixes #0003150
During undo/redo the order in which objects are removed from a group and added to annother is arbitrary, hence it cannot comply to the single Group rule. Not echking for it in this case is unproblematic, as undo/redo only recrete former states, and those states have been checked in normal operation.
2017-09-21 12:48:39 +02:00
Stefan Tröger
ec796329bf Expressions: Prevent backlink creation to same objects. fixes #0003192 2017-09-21 12:11:13 +02:00
Stefan Tröger
de31528dda PartDesign: Make Base Feature compatible with GeoFeatureGroup. fixes #0003080
The Original BaseFeature implementation had some serious issues with scoped links. It failed completely for e.g. sketches on the BaseFeature as it made a local link to refere to a out of body object. The only solution to make this work correctly is to add a proxy object into the body which is alloed to exactly that, to link outside oof the body. Something like shapebinder.
2017-09-21 11:40:14 +02:00
Stefan Tröger
30f930404c PartDesign: Allow boolean Fuse/Common without base feature 2017-09-21 11:26:47 +02:00
Stefan Tröger
1248ba3bf9 Fix wrong detection of multiple GeoFeatureGroups 2017-09-21 11:14:21 +02:00
Stefan Tröger
f1c307dc28 PartDesign: Boolean must show the operation result, not the children. fixes #0003184 2017-09-21 10:48:38 +02:00
Markus Lampert
0457b196a2 Changed path tool library manager to use different preference for json library than for xml in order to not break old installations. 2017-09-21 10:29:35 +02:00
Markus Lampert
d1ee60e525 Added version support to all JSON exports. 2017-09-21 10:29:35 +02:00
Markus Lampert
7e03dcaa10 Deal with temporary invalid data for stock extents and ensure minimum size. 2017-09-21 10:29:35 +02:00
Markus Lampert
b4d0428059 Changed PathJob to deal with JSON template files instead of XML. 2017-09-21 10:29:35 +02:00
Markus Lampert
4d37d8bbbe Fixed up ToolController template arguments and loading for the switch to JSON. 2017-09-21 10:29:35 +02:00
Markus Lampert
f34b63f570 Added full JSON file format support to ToolLibraryManager. 2017-09-21 10:29:35 +02:00
Markus Lampert
e9222ce9de Changed default tooltable to be stored in json format - automatically converted on first access. 2017-09-21 10:29:35 +02:00
Markus Lampert
aac6419f9d Added template attrs and setFrom support to Tooltable. 2017-09-21 10:29:35 +02:00
Markus Lampert
c705bcb0f1 Creation of Tool from a templateAttrs dictionary. 2017-09-21 10:29:35 +02:00
Markus Lampert
324dfdd341 Renamed fromTemplate to setFromTemplate. 2017-09-21 10:29:35 +02:00
Markus Lampert
1dd18cc970 Added restore from dictionary to Tool and templateAttrs for their retreival. 2017-09-21 10:29:35 +02:00
looooo
677a149614 new-style-modules: fix wrong statement in comment 2017-09-20 23:25:26 +02:00
looooo
2ff47374f2 new-style-modules: adding the possebility to import from "freecad"
(this mostly aims at new modules and extension modules which want to use pip)
- any module having problems with nameclashes can use this syntax (from freecad import module)
- current imports still work (backward cobatibility)
- python extension moduels can be installed (pip) to python std path (eg.: site-packages)

- adding app, gui to the new freecad package:
```
from freecad import app
from freecad import gui
```

- syntax for importing c++ extension will not change
```
import FreeCAD as App
import FreeCADGui as Gui
```
2017-09-20 23:25:12 +02:00
wmayer
be8f0ed83d do some code clean-up and corrections in Selection class 2017-09-20 23:22:19 +02:00
wmayer
3212294847 fixes #0003153: Preselect: Show object label in status bar 2017-09-20 22:52:09 +02:00
Peter Lama
76474951d2 Attacher UX enhancements
- New editor for MapMode with button to open attacher dialog
- Hide attachment properties when they are not applicable
- Disable super placement ui in attacher dialog when object is not attached
- Always select used mode in mode list
2017-09-20 19:24:35 +02:00
luzpaz
a78be0d9c8 Misc. typos
Misc typos
2017-09-20 12:55:37 -04:00
Yorik van Havre
5e4b64d99f Draft: Add support for App::Part in Draft Clones 2017-09-20 11:12:11 -03:00
wmayer
01f7894b2b fix build failure on Windows due to conflicting define with Win32 API 2017-09-20 15:58:09 +02:00
Mateusz Skowroński
0a375d8267 Fix some more Quarter High DPI Display issues. Partially fixes #3130 (the offset issue).
Related to issue #2968.

Ported from code by Randall O'Reilly.
https://grey.colorado.edu/svn/coin3d/quarter/trunk/
2017-09-20 14:37:22 +02:00
wmayer
be18a46df9 add convenience methods to directly set/get a placement to/from a shape 2017-09-19 15:43:28 +02:00
wmayer
3058b0c713 fixes #0003161: Shape Binder not at expected place 2017-09-19 15:01:13 +02:00
Bernd Hahnebach
0681f490d1 FEM: unit tests, use for all objects creations the fem objects module 2017-09-19 11:33:20 +02:00
Bernd Hahnebach
0692a83925 FEM: objects module, add doc parameter to creation tools 2017-09-19 11:33:08 +02:00
sliptonic
3d322773fd Add test for imperial linuxcnc 2017-09-19 11:12:31 +02:00
sliptonic
7a384f62bc added --inches flag to linuxcnc and smoothie post 2017-09-19 11:12:31 +02:00