Commit Graph

371 Commits

Author SHA1 Message Date
wmayer
c81aca0902 + unify method names 2016-05-18 23:43:58 +02:00
DeepSOIC
554d3736f9 Attacher: add command to Part workbench menu
+ add an icon to attachment editor
2016-05-18 23:06:04 +02:00
DeepSOIC
7f5197695d Attacher: add general purpose editor UI (python)
Added as PartGui.AttachmentEditor, and Part_EditAttachment gui command
2016-05-18 23:05:51 +02:00
blobfish
b5dfc41759 Part: Check Geometry: see following
adding parallel mode for bopargcheck. didn't help speed.
    add time to bopalgo check
    entry for stopOnFirstFaulty. didn't help speed.
    adding new bopalgochecks
2016-05-15 00:06:22 +02:00
DeepSOIC
c922507f2f Attacher: Py: fix crash on FreeCAD startup 2016-05-14 23:10:38 +03:00
wwmayer
6eb173a54b Merge pull request #159 from DeepSOIC/Attacher16
Attacher16 - fixes, and Py interface
2016-05-14 18:23:27 +02:00
wmayer
bca7a1866e + port to OCC 7.0 2016-05-14 16:53:27 +02:00
DeepSOIC
76c0a81fe3 Attacher: Py: GUI resources interface
Routines to get UI strings for attacher: mode names, mode tooltips,
ref.type names
2016-05-13 19:54:44 +03:00
wmayer
59980c33d1 + methods to highlight points, edges or faces of a shape 2016-05-09 23:48:30 +02:00
DeepSOIC
505ec6a26d Attacher: change suggestion routine interface
When another bit of information was needed to be extracted from mode
suggestion routine, it felt like listMapModes had too many arguments.
So, the arguments have been collapsed into a struct. This triggered a
few namespace-related changes, which lead to massive search-and-replace
changes all over FreeCAD.

So the only functional change carried out is the addition of reference
types readout to info returned by suggestor.
2016-05-07 11:24:41 +02:00
DeepSOIC
9d19bf023a Attacher: new modes: Inertia CS, Inertia axes
Modes added:
3D and plane attachment: Inertia CS
Line attachment: Inertia axes
This commit may serve a good example of how to add new attachment modes.
2016-05-07 11:24:41 +02:00
DeepSOIC
d12141d1fb Attacher: new mode: center of mass (point attacment) 2016-05-07 11:24:41 +02:00
DeepSOIC
71f5a8f980 Attacher: fix typo in tooltip 2016-05-07 11:24:41 +02:00
wmayer
7e01d0128b + issue #0002525: Line color of shapes are always black 2016-05-06 13:57:13 +02:00
wmayer
1166d8d2cc + fix compiler warning due to comparison of string literals 2016-04-26 18:57:25 +02:00
wmayer
d03a8fd386 + fix various gcc & clang warnings 2016-04-24 16:21:19 +02:00
DeepSOIC
b08a75bfb2 Attempt to fix gcc build 2016-04-21 22:34:20 +03:00
DeepSOIC
6eb450b7a0 Attacher: coding and translation style fixes
Replace QObject::tr() with qApp->translate, as suggested by @wwmayer
Curly braces around nested ifs.
Fix misleading comment in Attacher.h
2016-04-21 20:55:42 +03:00
DeepSOIC
4a1a1480ce Attacher: list ref. combinations in UI 2016-04-21 20:55:42 +03:00
DeepSOIC
314617f16a Attacher: create special source file to contain attacher strings 2016-04-21 20:55:42 +03:00
wmayer
46d340530f + fix various warnings with VC12 2016-04-16 12:02:58 +02:00
wmayer
5de9696365 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
Stefan Tröger
788035b80e Part: Recalculate tessellation when requested 2016-04-12 18:12:23 +02:00
Alexander Golubev
0ff24fd618 Part/Gui: remove ViewProviderPart::onDelete which handled unnecessary body housekeaping
Also do some headers cleanup
2016-04-12 18:12:19 +02:00
Alexander Golubev
8c5d514b18 PartDesign: Body rework - add BaseFeature property and make Tip always point to solid 2016-04-12 18:12:16 +02:00
Stefan Tröger
de0768af80 fix crash on datum point preselect
It is unclear why the coordinates are NULL. This fix prevents the crash but does not fix the reason why this unnormality occurs.
2016-04-12 18:12:13 +02:00
blobfish
c61718c63b PartDesign: Gui: build error. couldn't find ui generated file in part build directory. 2016-04-12 18:12:07 +02:00
Stefan Tröger
fec86abc09 visualize the primitive add/sub shape in edit 2016-04-12 18:12:07 +02:00
Stefan Tröger
f357e045de fix blocking datum plane
BrepFaceSet implementation was faulty, if normal cache locks have been aquired they need to be released
2016-04-12 18:12:04 +02:00
jriegel
842604a2f8 small warning fix 2016-04-12 18:12:03 +02:00
Jan Rheinländer
af25c0c793 Reference highlighting for fillets and chamfers 2016-04-12 18:12:00 +02:00
jrheinlaender
02dfb8551d Moved some methods from PartDesign::Body to Part::BodyBase so the SketchObjects will be removed cleanly from the Body when deleted 2016-04-12 18:11:49 +02:00
Yorik van Havre
ca7c5d31a4 updated translations 2016-04-06 22:39:34 -03:00
Yorik van Havre
bcb75d5477 Updated translation files from crowdin 2016-03-17 23:29:11 -03:00
wmayer
d0e52d3578 + prepare ViewProvider2DObject to read in GridSize from old projects 2016-03-11 23:06:47 +01:00
wmayer
4bccc5cc6e + fixes #0002273: Part: Chamfer edges and fillet edges dialog does not remember the type 2016-03-10 22:04:10 +01:00
Yorik van Havre
d1b4f23388 Added latest translations from crowdin 2016-03-06 14:50:07 -03:00
wmayer
843fbc49fc + set refine option by default 2016-03-05 16:15:45 +01:00
wmayer
781f91e6af + add refine option to shape builder 2016-03-05 16:13:15 +01:00
wmayer
a1eef54451 + do not allow to set negative grid size in property editor 2016-03-01 18:24:39 +01:00
wmayer
0c5a477fee + fix regression in German translation (also fixed on crowdin) 2016-03-01 16:45:14 +01:00
Yorik van Havre
7734ffb810 Updated translation files 2016-03-01 12:34:03 -03:00
wmayer
5574419293 + set range for quantity boxes 2016-02-29 12:29:02 +01:00
wmayer
a59b915132 + code clean-up 2016-02-28 19:01:23 +01:00
wmayer
4e29db90c6 + fixes #0002200: Application crash when modifying fillet 2016-02-28 18:56:21 +01:00
wmayer
32a5340b0b + use application-wide number of decimals in primitive creation dialog 2016-02-28 12:30:42 +01:00
wmayer
3f15ae80d0 + fixes #0002049: 0.15 and 0.16 Part Revolve ignores unit accuracy setting beyond 2 decimals 2016-02-28 12:12:10 +01:00
wmayer
d9e47e5896 + make fillet/chamfer dialog narrower 2016-02-28 11:39:32 +01:00
wmayer
92c2b18350 + use quantity boxes in fillet/chamfer dialog 2016-02-28 11:24:36 +01:00
Ian Rees
d811b585b7 Resolve clang compile error 2016-02-28 10:33:55 +13:00