wmayer
8f0ea2082a
make sure that action is created when calling updateAction
2016-07-02 13:19:25 +02:00
DeepSOIC
95f70b0b9d
Sketcher: TV: preferences UI
...
* 4 checkboxes for setting defaults for visibility automation
* "Apply to existing sketches" button
2016-06-20 01:19:30 +03:00
DeepSOIC
d9376eb487
Sketcher: visibility automation
...
Added the following properties to Sketch ViewProvider:
* 4 bools to enable/disable parts of automation
* TempoVis property to hold instance of TempoVis python object, that helps with the automation
2016-06-20 01:19:06 +03:00
Eivind Kvedalen
7afcb4beda
Sketcher: Changed return type of Constraint::getPresentationValue() to Quantity, to be able to include unit.
2016-06-18 09:48:52 +02:00
Eivind Kvedalen
171fce7b19
Sketcher: Fixed radian/degree mix-up for Angle constraint.
2016-06-18 09:48:46 +02:00
wmayer
23b01e425f
+ make sure strings in PartDesign & Sketcher commands can be translated
2016-05-24 18:16:02 +02:00
DeepSOIC
0f75ad6637
Sketcher: change rules of external linkage
...
Was:
+ allowed: links to support
+ allowed: free links within one body,
+ Ctrl-protected: links between bodies of ?one? part
- blocked: (everything else) . i.e., if sketch is not in a body, only
links to support are allowed.
New:
* Across Parts, from Part to outside part, from document into part:
blocked
* Within one part (also if directly in document): allowed.
except links from body to outside or to other bodies are screened (hold
Ctrl to allow).
Support (attachment) is totally ignored in this logic.
2016-05-21 01:31:06 +03:00
DeepSOIC
f947101938
Attacher: use getModeName() instead of eMapModeStrings[]
...
getModeName() does range checking. eMapModeStrings[] will crash if out
of range.
2016-05-07 11:24:41 +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
wmayer
df48d1668b
+ remove 'using namespace Attacher' inside header file
2016-04-13 15:57:49 +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
03b08a311c
Fix sketch positioning with part and body
2016-04-12 18:12:23 +02:00
Alexander Golubev
0cfc0cd424
Fix warnings introduced in new PartDesign
...
Mostly unused wariables and compare of signed & unsigned
2016-04-12 18:12:21 +02:00
DeepSOIC
81015b3f44
Fix problems with unlimited external geometry
...
Caused by recent changes by abdullah, which assumes there is external
geometry only if sketch has support.
http://forum.freecadweb.org/viewtopic.php?f=3&t=12746&p=102087#p102087
2016-04-12 18:12:21 +02:00
Stefan Tröger
4ed0302404
Ensure correct sketch placement calculation
...
As bodies are movable now they need to be taken into account for calculating the sketch placement.
2016-04-12 18:12:21 +02:00
Stefan Tröger
83eedba043
crossreferences only with ctrl button and fix missing return value
2016-04-12 18:12:20 +02:00
DeepSOIC
e2f70e5e5b
Sketcher: when refusing to link external, print why (in statusbar)
2016-04-12 18:12:20 +02:00
DeepSOIC
3df305cc4e
Sketcher: allow referencing everything; add testing for circular references
2016-04-12 18:12:20 +02:00
Alexander Golubev
797d6d3a11
App/Origin: big refactoring
...
- Rebase App::Origin on App::DocumentObject
- Keep all control over the Origin structure inside the Origin and it's
ViewProvider
- Add OriginFeature class as common base for App::Plane and App::Line
- Rebase App::Plane and App::Line on top of newly created class and
move to the file.
- Change Origin's ViewProvider API associated with temporary display
- Lots of associated changes to files
- Several minor fixes
- Lots of new bugs
2016-04-12 18:12:18 +02:00
Alexander Golubev
8b62680fe7
Sketcher: minor enhance in sketch interaction with body
2016-04-12 18:12:16 +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
DeepSOIC
a48f9a682c
Sketcher: use Selection's getAsPropertyLinkSubList
2016-04-12 18:12:13 +02:00
DeepSOIC
2a390660c8
Sketcher: minimalistic UI for new attachment engine
2016-04-12 18:12:12 +02:00
Stefan Tröger
a8f27937de
fix sketch editing within transformed parts
2016-04-12 18:12:08 +02:00
Jan Rheinländer
273e0f0b71
Fixed bug that did not allow selecting datum planes as external references in sketches
2016-04-12 18:11:59 +02:00
jrheinlaender
be9365679f
Centralize the check for valid external geometry to ensure consistency
2016-04-12 18:11:55 +02:00
jrheinlaender
2c37723217
Fixed bug in external geometry selection of sketcher
2016-04-12 18:11:55 +02:00
jrheinlaender
7174a259f0
Two minor fixes
2016-04-12 18:11:53 +02:00
jrheinlaender
38ab82a94d
Allow external references from other body but not from same body outside the support
2016-04-12 18:11:53 +02:00
jrheinlaender
da12aa8805
Allow mapping a sketch to a datum plane
2016-04-12 18:11:52 +02:00
jrheinlaender
9e7b463113
Allow geometry from other bodies in the same par as external geometry for sketches
2016-04-12 18:11:52 +02:00
jrheinlaender
6915d8b734
Miscellaneous fixes
2016-04-12 18:11:50 +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
jrheinlaender
5b3d5e6bd8
Moved generic Datum class to Part module to avoid Sketcher dependency on PartDesign
2016-04-12 18:11:49 +02:00
jriegel
71b9ded9a1
some adjustments on WB auto-switch
2016-04-12 18:11:45 +02:00
jriegel
db460cff8a
auto WB switching for editing Sketches and new TaskWatcher
2016-04-12 18:11:45 +02:00
jriegel
fbd763a8f4
switch PartDesign to Bodies
2016-04-12 18:11:45 +02:00
jriegel
8537926edc
Finally fixing the highlight code
2016-04-12 18:11:44 +02:00
Yorik van Havre
ca7c5d31a4
updated translations
2016-04-06 22:39:34 -03:00
wmayer
05ed514bcf
+ replace insecure x/fabs(x) with sgn function
2016-03-24 11:07:30 +01:00
Yorik van Havre
bcb75d5477
Updated translation files from crowdin
2016-03-17 23:29:11 -03:00
DeepSOIC
5c3024e9f8
Sketcher: negative constraint value avoidance
...
by swapping elements being constrained at creation time, should the
precalculated value happen to be negative.
2016-03-12 21:28:37 +01:00
DeepSOIC
e624a1d00d
Sketcher: never ever hide constraint value sign, anymore
2016-03-12 21:28:22 +01:00
wmayer
b25ef6235d
+ on rename of contraint make sure that new name is different, on swap constraint names make sure they have user-defined names
2016-03-12 20:02:18 +01:00
wmayer
a17870c93c
+ fixes #0002471 : In constraint context menu, 'Change Value' is always greyed out
2016-03-12 15:26:06 +01:00
wmayer
f124f6e70b
+ minor whitespace fix, fix warnings
2016-03-11 21:39:15 +01:00
wmayer
4fcb93b64e
+ issue #0001203 : Allow User to Adjust Size of Constraint Points
2016-03-08 00:31:50 +01:00
Yorik van Havre
d1b4f23388
Added latest translations from crowdin
2016-03-06 14:50:07 -03:00
triplus
d432c72a15
Add SVG workbench icons
2016-02-26 23:17:43 +01:00
Yorik van Havre
28b6c82555
Added updated translations from crowdin - fixes #2443
2016-02-26 18:32:02 -03:00