Bernd Hahnebach
a39f24d978
FEM: some renameing for multiple solver:
...
- module names vs multiple solver
- stick with python command class names in Fem
- rename commands for new objects from _CommandFemSomeObjName to _CommandSomeObjName
- rename commands for do something to _CommandDoSomething
- change tool names to have a consistent naming in all FEM for menue tools and tool tipps
2016-05-16 13:22:54 +02:00
Bernd Hahnebach
72ed75907f
FEM: split ccxInpWriter in new modules FemInputWriter and FemInputWriterCcx
2016-05-16 13:22:54 +02:00
Bernd Hahnebach
a9793c2084
FEM: add module FemToolsCcx.py and make use of it
...
- move construktor from FemTools to FemToolsCcx
- FemComands and his childs, use the new FemToolsCcx class instead of super class FemTools
- TestFem, use new FemToolsCcx class instead of supper class FemTools
2016-05-16 13:22:54 +02:00
Bernd Hahnebach
37b16c3417
FEM: ccxInpWriter, write vertex loads the same way like edge loads and face loads
2016-05-16 13:22:54 +02:00
Bernd Hahnebach
972af61bd3
FEM: add module FemMeshTools and move methods in there
2016-05-16 13:22:54 +02:00
Bernd Hahnebach
2ff7ca50fa
FEM: fix unit test after small changes in writeAbaqus
2016-05-16 13:22:54 +02:00
Bernd Hahnebach
3bec7077ee
FEM: improvements in Abaqus (CalculiX) FEM mesh im- and export:
...
- add hexa8, hex20, penta6, penta15, quad4, quad8 to writeAbaqus in FemMesh
- make node order in ccxFrdReader and writeAbaqus fitting each other
2016-05-16 13:22:54 +02:00
wmayer
eb8c21d703
+ fix build failure of Robot module when using occ
2016-05-15 21:01:44 +02:00
wmayer
270f8bfc87
+ fix index error using occ matrix class
2016-05-15 16:12:24 +02:00
David Pello
21ffb0305f
BSD Porting fixes, conditional compilation and use of gettimeofday()
2016-05-15 12:08:43 +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
cb62d49d50
AttachEngine: fix crash when referenced objects get deleted
...
... by verifying if the pointers equal to objects contained in all open
documents. Not terribly good, but I can't think of a situation where
doing this search might cause trouble.
2016-05-14 02:14:51 +03:00
DeepSOIC
a43f6361f3
Attacher: Py: fix docu strings
2016-05-14 00:50:30 +03:00
DeepSOIC
d119d810cd
Attacher: Py: renames
...
AttachEngine attributes and methods:
getShapeType -> getRefTypeOfShape
isShapeOfType -> isFittingRefType
downgradeType -> downgradeRefType
getTypeRank -> deleted (rank exposed through getRefTypeInfo )
getTypeInfo -> getRefTypeInfo
suggestMapModes -> suggestModes
2016-05-13 19:54:44 +03:00
DeepSOIC
37d5773ee5
Attacher: Py: add GUI strings to getModeInfo and getTypeInfo
2016-05-13 19:54:44 +03: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
DeepSOIC
c2839fdd09
Attacher: Py: extend AttachEngine's interface
...
* add constructor
attributes:
* Mode
* CompleteModeList
* ImplementedModes
* GetModeInfo
* References
* SuperPlacement
* Reverse
* Parameter
* CompleteRefTypeList
methods:
* getShapeType
* isShapeOfType
* downgradeType
* getTypeRank
* copy
* calculateAttachedPlacement
* suggestMapModes
* readParametersFromFeature
* writeParametersToFeature
2016-05-13 19:54:44 +03:00
DeepSOIC
bfad1d9339
Attacher: Py: implement Attacher attribute of AttachableObject
2016-05-13 19:54:44 +03:00
DeepSOIC
7e38a59bac
Attacher: Py: create AttachEnginePy
...
Not very useful at the moment, just created the interface.
2016-05-13 19:54:44 +03:00
DeepSOIC
41bae90d28
Attacher: Py: add interface for changing attacher type
...
Plus a mechanism to remember attacher type of AttachableObject through
save-restore cycle.
2016-05-13 19:54:44 +03:00
DeepSOIC
c040ee7333
Attacher: Py: introduce Py interface of AttachableObject
...
Small - just the introduction.
Support for Py features based on AttachableObject.
Redirect Part2DObjectPython's father to be AttachableObjectPython.
2016-05-13 19:54:44 +03:00
DeepSOIC
e7b6ebeb01
Attacher: Py: withdraw positionBySupport from Part2DObject
...
to be reintroduced later in AttachableObjet Py interface
2016-05-13 19:54:44 +03:00
DeepSOIC
13f56f04c2
Attacher: preparations for Py interface of shape type system
...
+ add getModeByName to AttachEngine
2016-05-13 19:54:44 +03:00
DeepSOIC
2ee73babcf
Attacher: fix wrong inertial calculation on solids
...
was using surface calculation instead of volume...
2016-05-13 19:54:44 +03:00
DeepSOIC
a4b31297d4
Attacher: initialize member variables
...
They got garbage values on creation, as was revealed when testing Py
interface.
2016-05-13 19:54:44 +03:00
DeepSOIC
3b030a08b2
Attacher: change Part2DObject to use Plane attacher by default
2016-05-13 19:54:44 +03:00
DeepSOIC
add1382d03
Attacher: AttachableObject should have virtual destructor
2016-05-13 19:54:44 +03:00
DeepSOIC
4dbbb1a7ed
Part: duplicate include cleanup
...
no functional changes
2016-05-13 19:54:44 +03:00
Yorik van Havre
5177d7a38c
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2016-05-12 23:16:59 -03:00
wmayer
858b9bf3b9
+ issue #0002542 : Part.Wire.makeoffset() doesn't handle circles correctly.
2016-05-12 19:03:23 +02:00
Yorik van Havre
77409edcec
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2016-05-11 10:19:13 -03:00
Wolfgang E. Sanyer
5540dd81c2
Fixed bug ID0002513, where Mesh.export failed.
...
The failure occered when Mesh.export was passed just a filename, such as 'out.stl'. If
'/some/path/out.stl' was passed it succeeded.
2016-05-10 22:29:40 +02:00
wmayer
dc12e8b72b
+ methods to highlight points, edges or faces of a shape
2016-05-09 23:48:30 +02:00
wmayer
5a2d26ac1b
+ apply f3nix:fix-gcc-warnings-1
2016-05-08 12:00:26 +02:00
wmayer
9b4793788a
+ fix warnings
2016-05-08 06:19:32 +02:00
Mateusz Skowroński
ef795a6ad4
Fix Tab order in TaskDatumParameters dialog.
2016-05-07 23:02:04 +02:00
Mateusz Skowroński
0aaa3c19c3
Fix layout in TaskDatumParameters dialog.
2016-05-07 23:01:47 +02:00
wmayer
2868bbd8c5
+ move global function to namespace
2016-05-07 12:21:21 +02:00
DeepSOIC
754a56e61b
Attacher: fix wrong superPlacement read-onlyness
...
It reacted to changes to unrelated properties. Fixed.
2016-05-07 11:24:41 +02:00
DeepSOIC
b84850cfed
Attacher: UI: another fix of status label
...
When no references were filled in, and modes were switched, it falsely
claimed 'Attached'. This has been fixed.
2016-05-07 11:24:41 +02:00
DeepSOIC
78bed4bb78
Attacher: make positionBySupport return if attached or not
...
Needed as reliable way of testing if attachment is working or not.
2016-05-07 11:24:41 +02:00
DeepSOIC
03b974246c
Attacher: add superPlacement to UI
...
Expose superPlacement as X,Y,Z,yaw,pitch,roll quantity boxes. With partial expression support.
2016-05-07 11:24:41 +02:00
DeepSOIC
4d7f802a13
Attacher: make Placement read-only when attached
...
Read-onlyness of Placement and superPlacement properties is now
dynamically controlled by MapMode property value.
2016-05-07 11:24:41 +02:00
DeepSOIC
ac20612f6b
Attacher: UI improve status message display
...
Before, message used to display 'Selection accepted', when attachment
actually failed. Shouldn't happen anymore.
2016-05-07 11:24:41 +02:00
DeepSOIC
dd3675d9ae
Attacher: rework UI
...
* Remove hint system on buttons. Buttons show currently selected
reference type, instead.
* Change button's caption to "Selecting..." when selecting.
* internal logic rearrangements
2016-05-07 11:24:41 +02:00
DeepSOIC
92ccefa1d2
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
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