DeepSOIC
b1fba06b33
Attacher: remove #include QString
2016-04-21 20:55:42 +03:00
DeepSOIC
d6a3d1b140
Attacher: fix superPlacement applied twice in some cases
...
superPlacement was applied twice on line and point attachment modes that
re-use 3d attachment modes code. Fixed.
2016-04-21 20:55:42 +03:00
DeepSOIC
431373823d
Attacher: split Attacher3d and AttacherPlane
...
Even though they share all the functionality now, I split them, to allow
independent user-friendly mode names.
2016-04-21 20:55:42 +03:00
wwmayer
c56dfa254c
Merge pull request #144 from sgrogan/stylesheetsCmake
...
Istall Image files in images sub-directory
2016-04-21 13:57:46 +02:00
mandeeps708
e5cb8db3ce
fixes Enable/Disable line number of MacroEditor
2016-04-20 22:23:48 +02:00
sgrogan
4ee095a9c9
Istall Image files in images sub-directory
2016-04-20 16:17:23 -04:00
DeepSOIC
6b5554fb03
PartDesign: reverse XZ plane to match legacy orientations
...
discussion in forum thread "ZX plane in PartDesign Next (instead of XZ)"
http://forum.freecadweb.org/viewtopic.php?f=8&t=15319
2016-04-19 21:36:31 +03:00
Jose Luis Cercos-Pita
14cb2b8a75
Moved to version checking for anarchists and software realists, like matplotlib guys
2016-04-19 13:41:30 +02:00
Yorik van Havre
6b1c433807
FEM: Results can now be double-clicked to show their task panel
2016-04-17 14:01:10 -03:00
wmayer
c5876fe7ca
+ fix whitespace & cmake warning
2016-04-17 11:38:56 +02:00
mandeeps708
8059563681
adds new material: Aluminium-6061-T6
2016-04-17 05:02:38 +05:30
mandeeps708
043502d073
Materials readme
2016-04-17 04:26:23 +05:30
wmayer
f48e57c99f
+ check for empty SoPath when using SoSearchAction
2016-04-16 16:54:41 +02:00
wmayer
cba54c51ad
+ disconnect boost signals on destruction
2016-04-16 15:38:04 +02:00
wmayer
099ceebec1
+ issue #0002504 : Crash in pad function after undoing some operations
2016-04-16 15:16:00 +02:00
wmayer
46d340530f
+ fix various warnings with VC12
2016-04-16 12:02:58 +02:00
Mateusz Skowroński
b5519922d8
QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
...
This change is Qt4/Qt5 neutral.
2016-04-15 11:55:12 +02:00
Mateusz Skowroński
3df6064e85
QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
...
This change is Qt4/Qt5 neutral.
2016-04-15 11:54:59 +02:00
Mateusz Skowroński
81b59324cd
Fix includes to be compatible with Qt5.
...
This change is Qt4/Qt5 neutral.
2016-04-15 11:54:44 +02:00
Mateusz Skowroński
e797054304
Fix files encoding. Go from ISO8859-1 to UTF-8.
2016-04-15 10:22:08 +02:00
wmayer
3e941f2b87
+ nothing to moc for DAG RectItem class
2016-04-13 19:18:01 +02:00
wmayer
88e987dd86
+ translatable tab name of Start page
2016-04-13 19:05:31 +02:00
wmayer
df6eb69f56
+ fix reported Qt warning
2016-04-13 17:16:32 +02:00
wmayer
08df5cbc59
+ remove 'using namespace Part' inside header file
2016-04-13 16:20:31 +02:00
wmayer
df48d1668b
+ remove 'using namespace Attacher' inside header file
2016-04-13 15:57:49 +02:00
wmayer
0a7ab4e1ff
+ add missing license text
2016-04-13 15:20:41 +02:00
wmayer
5de9696365
+ fix warnings:
...
-Wsign-compare, -Wunused-variable, -Wunused-function, -Wswitch
+ fix Qt issues
2016-04-13 14:26:38 +02:00
wmayer
e3b609b309
+ consistent naming
2016-04-13 11:37:09 +02:00
wmayer
7e01bf11fb
+ remove obsolete #pragma
2016-04-13 11:22:40 +02:00
Stefan Tröger
483e64f368
remove unneeded orig files
2016-04-12 19:10:19 +02:00
Stefan Tröger
4119bb7adc
Fix compilation issue in Attacher code
2016-04-12 18:12:24 +02:00
Stefan Tröger
cd2da9fe6d
Fix test cases by adopting to new behavior
...
Pad now does not have a Sketch property anymore but a profile property. Also due to changes in PropertyLinkSubList it ispossible that PropertyLinks get an empty list assigned, this must be supportet now.
2016-04-12 18:12:24 +02:00
Stefan Tröger
52ebfae6b1
Remove unneeded files
2016-04-12 18:12:24 +02:00
Stefan Tröger
788035b80e
Part: Recalculate tessellation when requested
2016-04-12 18:12:23 +02:00
Stefan Tröger
5f45bcbc94
PartDesign: Fix body command
2016-04-12 18:12:23 +02:00
Stefan Tröger
8b0d53358a
PartDesign: Adopt primitive preview
...
The preview was developed when the "one feature only" visibility rule was not yet introduced. This commit maks it work again.
2016-04-12 18:12:23 +02:00
Stefan Tröger
6bf31e841e
PartDesign: Fix attachment external references
2016-04-12 18:12:23 +02:00
Stefan Tröger
306611e8f8
Fix rebase error
2016-04-12 18:12:23 +02:00
Stefan Tröger
036d0691dd
Fix Windows build errors
2016-04-12 18:12:23 +02:00
Stefan Tröger
e9b9d285ac
PartDesign: Unify datum and shapebuilder visuals
2016-04-12 18:12:23 +02:00
Stefan Tröger
666a5968cb
Override mode works with non-toplevel viewprovider
...
And adopt the part design body to handle the override mode correctly
2016-04-12 18:12:23 +02:00
Stefan Tröger
048c374080
PartDesign: body is responsible for visuals
...
-Hide all visual properties of features when they are part of a body
-Propagate all body visual changes to features
-Separate display mode from body mode to enable setting display mode for both "tip" and "through" modes
-Use default visuals for body shape and only make "through" a new display mask mode for the children
2016-04-12 18:12:23 +02:00
Stefan Tröger
03b08a311c
Fix sketch positioning with part and body
2016-04-12 18:12:23 +02:00
Stefan Tröger
d7e52f11a7
PartDesign: Fix context menus
2016-04-12 18:12:23 +02:00
Stefan Tröger
64de3b64e1
PartDesign: prevent claiming features
2016-04-12 18:12:23 +02:00
Stefan Tröger
90debce159
Fix rebase error
2016-04-12 18:12:23 +02:00
Stefan Tröger
3b27def228
PartDesign: prevent crash on delete and add body
2016-04-12 18:12:23 +02:00
Stefan Tröger
e7d8a1a9a4
Remove ShapeBinder2D
...
As profile based features can work with faces and wires now ShapeBinder can do everything that needed ShapeBinder2D before.
2016-04-12 18:12:23 +02:00
Stefan Tröger
2b0e6883c3
Fix workflow manager crash on windows
2016-04-12 18:12:23 +02:00
Stefan Tröger
4ec7fe6303
PartDesign: Adopt pattern to face based features
2016-04-12 18:12:22 +02:00
Stefan Tröger
f712f5e4ac
PartDesign: Modeling features work with faces
...
-Rename Sketchbased to ProfileBased to show new behavior
-Adopt ProfileBased to make the relevant helper functions work with faces too
-Adopt features for unified use of helper functions
-Adopt commands to allow face selection
2016-04-12 18:12:22 +02:00
Stefan Tröger
7dea66872e
Datums not selectable during edit
2016-04-12 18:12:22 +02:00
Stefan Tröger
5002e8e430
Fix crash on aborted pattern external axis
2016-04-12 18:12:22 +02:00
Stefan Tröger
2585598c55
prevent parts from being dragged into parts
2016-04-12 18:12:22 +02:00
Stefan Tröger
7d30833349
PartDesign: Adopt to new property status bits
2016-04-12 18:12:22 +02:00
Stefan Tröger
a6c8f38cf0
no body allowed as body base feature
2016-04-12 18:12:22 +02:00
Stefan Tröger
7cd20adc9a
ShapeBinder: fix Null shape on recompute for copy
2016-04-12 18:12:22 +02:00
Stefan Tröger
e88b042a26
Fix shape binder placement
...
-- hidden for user
-- inherited by linked part
2016-04-12 18:12:22 +02:00
Stefan Tröger
4164f8fc4c
Ensure only a single PartDesign feature is visible
2016-04-12 18:12:22 +02:00
Stefan Tröger
24bdc173f7
PartDesign mirror must work with base planes
2016-04-12 18:12:22 +02:00
Stefan Tröger
99ef8e756d
Fix transform feature crash on apply
...
-Redundant "reset edit" and command commit removed
-Redundant apply call removed
2016-04-12 18:12:22 +02:00
Stefan Tröger
16433939e1
Add missing files
2016-04-12 18:12:22 +02:00
Stefan Tröger
c0b2568091
fix reference selection of origin features
2016-04-12 18:12:22 +02:00
Stefan Tröger
4be81b01e4
Handle external references for revolution et all
...
The reference selection, used in multiple part design features, treated body external references not corectly.
2016-04-12 18:12:22 +02:00
Stefan Tröger
3792f38191
Fix shutdown crash with primitives in the document
...
and cleanup the header
2016-04-12 18:12:22 +02:00
Stefan Tröger
4d12023f17
Prevent dressup crash due to multi command commit
...
the same functionality is provided by upstream accept functions
2016-04-12 18:12:21 +02:00
Stefan Tröger
28965457aa
Active view may not be 3d viewer
...
When for example the spreadsheet is open and an recompute is issued, the active view is not the 3d viewer which leads to crash if used for scene graph calculations.
2016-04-12 18:12:21 +02:00
Alexander Golubev
d43525370c
PartDesignGui: small rework to sketch-based task parameters
...
This done mostly for thurther unification them with other task
parameters/dialogs.
2016-04-12 18:12:21 +02:00
Alexander Golubev
96486cc4ed
PartDesign/App: a small fix to offset constraint syntax for Pad and Pocket
2016-04-12 18:12:21 +02:00
Alexander Golubev
6b75141514
Suppress a couple more warnings
2016-04-12 18:12:21 +02:00
Alexander Golubev
d523377631
App/OriginGroup: add missing AppExport
2016-04-12 18:12:21 +02:00
sgrogan
393ba05726
Win build fixes
2016-04-12 18:12:21 +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
e675c43ddf
Simplify the feature pick dialog
...
less options are easier to grasp for the user
2016-04-12 18:12:21 +02:00
Stefan Tröger
005c3db946
fix sketch classification for other body
...
hasObject does search recursive only in groups, but a body is not a group. Hence for sketches within a body this will always return false. Annother logic must be used to detect sketches in bodies.
2016-04-12 18:12:21 +02:00
Stefan Tröger
80fe971b55
fix sketch selection in part design
...
validateSketch was faulty: as every sketch is valid (non is removed) it could happen that the returned number was >0 but the iterator firstValidSketch was NULL nontheless. The routine needed to be udated to make snese and the usage in prepareSketchbased together with it.
2016-04-12 18:12:21 +02:00
Stefan Tröger
76c8cb3b69
add only a single reference copy
2016-04-12 18:12:21 +02:00
Stefan Tröger
2ab25ea414
Fix incorrect ShapeBinder recalculation
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
ef2437bb5c
Fix sketch on face of other body or part
...
The shapebinder object reduces the number of faces to 1, hence the subshape to select is always Face1 and not the original face name
2016-04-12 18:12:21 +02:00
Stefan Tröger
5f9bd72581
Ensure claimchildren3d is always respected
...
With the new setup object signals it may happen that a document object claims children but has no property changed after the viewprodivers creation. This scenario is not supportet up to now as the scene graph children are only set when the object changes.
2016-04-12 18:12:20 +02:00
Stefan Tröger
35a5727474
ensure document objects claims in tree
...
It is possible that a newly reated document object already claims other existing objects. The tree needs to be recomputed in this case.
This happens for example for the origin, which creates its planes and axis first and claims them before its own viewprovider is created.
2016-04-12 18:12:20 +02:00
blobfish
03ad4d752c
Core: Gui: DAGView: see following note:
...
Rework highlight rendering.
Exception for topo sort.
2016-04-12 18:12:20 +02:00
Stefan Tröger
e7a96ac26f
fix body booleans
2016-04-12 18:12:20 +02:00
Stefan Tröger
585e4cebb5
PartDesign/Gui: minor fix sWhatsThis of text
2016-04-12 18:12:20 +02:00
Stefan Tröger
2ff2d29f02
Fix crossreference handling
2016-04-12 18:12:20 +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
cc89deccbf
SelectionGate: add capability to display why not allowed.
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
DeepSOIC
a1557d07da
App: circular reference testing routine for new links
...
DocumentObject::testIfLinkDAGCompatible: return true if link can be
created (no cycles will be made). False if the link will cause a
circular dependency and break recomputes.
2016-04-12 18:12:20 +02:00
Stefan Tröger
5725dd7721
handle independent copies more gracefully
2016-04-12 18:12:20 +02:00
Stefan Tröger
3bd09ea570
change point of reference feedback for datums
...
On datum creation it is better to ask the user on OK than on tool activation, as he might hit cancel (and then the created references are till there) or even more important, he could add additional external references within the dialog. The disadvantae is that if the user sets "cross reference" ge gets asked again every time he opens and leaves the dialog.
2016-04-12 18:12:20 +02:00
Alexander Golubev
1f3d2df4d5
PartDesign/Body: add ability to store facebinders inside a body
2016-04-12 18:12:20 +02:00
Stefan Tröger
d5e035741a
ask user if he creates inter part/body references
2016-04-12 18:12:20 +02:00
Stefan Tröger
655bf961be
add task for datum shape features
2016-04-12 18:12:19 +02:00
Stefan Tröger
34541dea2f
PartDesign/Plane: several enhancements to plane icon
2016-04-12 18:12:19 +02:00
Stefan Tröger
e58ae2b616
Setup ShapeBinder Viewprovider and command
2016-04-12 18:12:19 +02:00
Stefan Tröger
811ccc410c
PartDesign: Reorder datum commands
2016-04-12 18:12:19 +02:00