Commit Graph

9172 Commits

Author SHA1 Message Date
wmayer
17ffe48f96 implement drag and drop for body view provider 2017-09-22 13:12:20 +02:00
wmayer
5866694388 add warning when compound with multiple solids/shells is selected 2017-09-22 12:16:21 +02:00
wmayer
1884413deb fix cyclic dependency if body is selected when creating a datum entity 2017-09-22 11:21:20 +02:00
Markus Lampert
939c7d11ec Fixed and added PathUtil unit tests for dealing with Part. 2017-09-21 11:35:00 -07:00
Markus Lampert
2c60fc3135 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
61a9928216 Added support for Part as base object. 2017-09-21 11:32:32 -07:00
Markus Lampert
6bbd0cf288 Fixed PathHelix to not throw an exception if StartDepth == FinalDepth. 2017-09-21 11:32:32 -07:00
wmayer
e8a9350a63 improve readability of attachment error messages 2017-09-21 19:40:37 +02:00
wmayer
366d8bac35 if an Undo/Redo is performed then do nothing inside the body feature 2017-09-21 19:00:26 +02:00
wmayer
f351220183 add transform command to body 2017-09-21 17:32:22 +02:00
wmayer
d563e50632 do not auto activate single body in document when opening context-menu 2017-09-21 15:59:32 +02:00
Yorik van Havre
6797965dd5 Draft: fix to clone's App::Part support 2017-09-21 10:11:47 -03:00
Stefan Tröger
72000fe888 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
5e079d331b Improve GeoFeatureGroup claim children algorithm and remove special Body impelmentation 2017-09-21 13:02:16 +02:00
Stefan Tröger
6ae8b6482e 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
3da647a7e0 PartDesign: Allow boolean Fuse/Common without base feature 2017-09-21 11:26:47 +02:00
Stefan Tröger
903a71c8d4 PartDesign: Boolean must show the operation result, not the children. fixes #0003184 2017-09-21 10:48:38 +02:00
Markus Lampert
78a6d004f1 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
f5a2442662 Added version support to all JSON exports. 2017-09-21 10:29:35 +02:00
Markus Lampert
a6fc367064 Deal with temporary invalid data for stock extents and ensure minimum size. 2017-09-21 10:29:35 +02:00
Markus Lampert
c40e737492 Changed PathJob to deal with JSON template files instead of XML. 2017-09-21 10:29:35 +02:00
Markus Lampert
1263aecdaf Fixed up ToolController template arguments and loading for the switch to JSON. 2017-09-21 10:29:35 +02:00
Markus Lampert
ce43e688fa Added full JSON file format support to ToolLibraryManager. 2017-09-21 10:29:35 +02:00
Markus Lampert
837b07ced8 Changed default tooltable to be stored in json format - automatically converted on first access. 2017-09-21 10:29:35 +02:00
Markus Lampert
4110fdbb5b Added template attrs and setFrom support to Tooltable. 2017-09-21 10:29:35 +02:00
Markus Lampert
1d1636d1cf Creation of Tool from a templateAttrs dictionary. 2017-09-21 10:29:35 +02:00
Markus Lampert
ddec11cf24 Renamed fromTemplate to setFromTemplate. 2017-09-21 10:29:35 +02:00
Markus Lampert
b70086feaa Added restore from dictionary to Tool and templateAttrs for their retreival. 2017-09-21 10:29:35 +02:00
Peter Lama
9187919bb8 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
8550967f92 Misc. typos
Misc typos
2017-09-20 12:55:37 -04:00
Yorik van Havre
74ee138915 Draft: Add support for App::Part in Draft Clones 2017-09-20 11:12:11 -03:00
wmayer
33baa4a9f2 add convenience methods to directly set/get a placement to/from a shape 2017-09-19 15:43:28 +02:00
wmayer
c9fb691afe fixes #0003161: Shape Binder not at expected place 2017-09-19 15:01:13 +02:00
Bernd Hahnebach
f2e45423eb FEM: unit tests, use for all objects creations the fem objects module 2017-09-19 11:33:20 +02:00
Bernd Hahnebach
f84079e5fb FEM: objects module, add doc parameter to creation tools 2017-09-19 11:33:08 +02:00
sliptonic
996adcacd4 Add test for imperial linuxcnc 2017-09-19 11:12:31 +02:00
sliptonic
259f643c7e added --inches flag to linuxcnc and smoothie post 2017-09-19 11:12:31 +02:00
sliptonic
a13b75cf5a Path: refactor Surface 2017-09-19 11:12:31 +02:00
wmayer
907095293c support of keywords in Mesh.read and Mesh.write 2017-09-19 10:31:07 +02:00
wmayer
b90e24eb5e for boolean ops also support to pass single shape and tolerance 2017-09-18 22:16:15 +02:00
wmayer
eb87a20f8b use constraint to limit minimum and maximum degree 2017-09-18 12:07:00 +02:00
tomate44
f335d1f10d add MaxDegree setting to Part.Loft 2017-09-18 12:07:00 +02:00
Yorik van Havre
2db155a0c2 Draft: temporary fix for regression introduced by previous commit 2017-09-17 14:42:31 -03:00
Yorik van Havre
851e0bfd89 Draft: Fixed translate bug in non-GUI mode 2017-09-17 14:06:22 -03:00
WandererFan
45cd1ecf38 Change 5d6b03eff to use isRemoving
- DocumentObject::isDeleting was renamed to
  DocumentObject::isRemoving
2017-09-17 18:50:07 +02:00
WandererFan
89b29504dd Fix Symbol fail to paint
- calls ViewProviderDocumentObject, but should call
  ViewProviderViewPart in order to receive repaint
  signals.
2017-09-17 18:50:07 +02:00
WandererFan
e61d2b5d13 Fix crash due to QGraphicsScene update while View.isDeleting() 2017-09-17 18:50:07 +02:00
WandererFan
9ca4b72f1d Make View backgrounds transparent
- makes it easier to stack views
2017-09-17 18:50:07 +02:00
WandererFan
00edf63be8 Fix Symbol based View positioning 2017-09-17 18:50:07 +02:00
WandererFan
8431ec0fc1 Add debug utils for QRectF/QPointF 2017-09-17 18:50:07 +02:00