Commit Graph

379 Commits

Author SHA1 Message Date
wmayer
e41f01b1e7 fix compiler warnings 2016-08-07 13:38:41 +02:00
DeepSOIC
b2fd98e442 Part: make Fusion and Common able to fuse arrays
If Fusion or Common features get only one argument, and the shape is a
compound, the children of the compound are treated as list of arguments.
2016-08-07 12:15:08 +02:00
Wolfgang E. Sanyer
d1d2f1f811 This commit adds getShape and setShape to TopoShape 2016-08-06 23:42:55 +02:00
wmayer
c294c8bdbd + rename methods in Vector3 class
+ add convenience methods Cross and Dot to Vector3 class
+ fix bug in DistanceToLineSegment in Vector3 class
2016-07-30 15:14:47 +02:00
DeepSOIC
01c48219eb Part: add/update GUI commands
* Updated translation contexts for  Gui commands for JoinFeatures.
* Added Gui commands for Split tools: BooleanFragments, Slice, XOR.
Icons.
2016-07-29 14:20:52 +03:00
Mateusz Skowroński
634f3af079 Fix some GCC warnings. 2016-07-15 13:05:37 +02:00
Yorik van Havre
407475b513 Part: Enabled per-face transparency 2016-07-07 12:46:25 -03:00
wmayer
6ce55d47a5 + fix gcc warning 2016-07-02 14:28:59 +02:00
wmayer
3feaef3d2e + unify method names 2016-05-18 23:43:58 +02:00
DeepSOIC
1cf0e3de02 Attacher: add command to Part workbench menu
+ add an icon to attachment editor
2016-05-18 23:06:04 +02:00
DeepSOIC
7d7cf5c723 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
1285e2ad7f 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
1199a63b2b Attacher: Py: fix crash on FreeCAD startup 2016-05-14 23:10:38 +03:00
wwmayer
28e90ca08c Merge pull request #159 from DeepSOIC/Attacher16
Attacher16 - fixes, and Py interface
2016-05-14 18:23:27 +02:00
wmayer
cb73d010bb + port to OCC 7.0 2016-05-14 16:53:27 +02:00
DeepSOIC
86707b4cb5 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
dc12e8b72b + methods to highlight points, edges or faces of a shape 2016-05-09 23:48:30 +02:00
DeepSOIC
39249581eb 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
22480effeb 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
701eba37be Attacher: new mode: center of mass (point attacment) 2016-05-07 11:24:41 +02:00
DeepSOIC
d1d8746518 Attacher: fix typo in tooltip 2016-05-07 11:24:41 +02:00
wmayer
a1cccbc449 + issue #0002525: Line color of shapes are always black 2016-05-06 13:57:13 +02:00
wmayer
4ce77402ca + fix compiler warning due to comparison of string literals 2016-04-26 18:57:25 +02:00
wmayer
d1bc34441d + fix various gcc & clang warnings 2016-04-24 16:21:19 +02:00
DeepSOIC
7dbe10bb12 Attempt to fix gcc build 2016-04-21 22:34:20 +03:00
DeepSOIC
8dea73ed2b 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
2639b6b5fb Attacher: list ref. combinations in UI 2016-04-21 20:55:42 +03:00
DeepSOIC
102b02e12b Attacher: create special source file to contain attacher strings 2016-04-21 20:55:42 +03:00
wmayer
dfa5972b4b + fix various warnings with VC12 2016-04-16 12:02:58 +02:00
wmayer
6380881b58 + fix warnings:
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
Stefan Tröger
4f0f1449eb Part: Recalculate tessellation when requested 2016-04-12 18:12:23 +02:00
Alexander Golubev
57c583bb09 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
f6b0ed3a47 PartDesign: Body rework - add BaseFeature property and make Tip always point to solid 2016-04-12 18:12:16 +02:00
Stefan Tröger
83546a02d3 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
20284ab7e3 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
628a0279cd visualize the primitive add/sub shape in edit 2016-04-12 18:12:07 +02:00
Stefan Tröger
19344f7f01 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
91cddd2a91 small warning fix 2016-04-12 18:12:03 +02:00
Jan Rheinländer
80329d3c75 Reference highlighting for fillets and chamfers 2016-04-12 18:12:00 +02:00
jrheinlaender
5ac8aeaf2c 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
819f790900 updated translations 2016-04-06 22:39:34 -03:00
Yorik van Havre
66e33b066a Updated translation files from crowdin 2016-03-17 23:29:11 -03:00
wmayer
712fc50d1d + prepare ViewProvider2DObject to read in GridSize from old projects 2016-03-11 23:06:47 +01:00
wmayer
72a96f7da9 + 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
7d0012e160 Added latest translations from crowdin 2016-03-06 14:50:07 -03:00
wmayer
fd617f77dc + set refine option by default 2016-03-05 16:15:45 +01:00
wmayer
250a55fe55 + add refine option to shape builder 2016-03-05 16:13:15 +01:00
wmayer
864974a234 + do not allow to set negative grid size in property editor 2016-03-01 18:24:39 +01:00
wmayer
319c239b5a + fix regression in German translation (also fixed on crowdin) 2016-03-01 16:45:14 +01:00
Yorik van Havre
81008006c0 Updated translation files 2016-03-01 12:34:03 -03:00