wmayer
13480d6d9c
do some security checks to make sure Py::Module is valid
2019-06-03 17:57:52 +02:00
Markus Lampert
0b40519f3f
Changed all catch types to references for polymorphic exceptions.
2018-08-08 15:45:30 +02:00
Peter Lama
926b844409
Rename superPlacement property to AttachmentOffset
...
The name Attachment Offset gives a better picture of what the
property does.
2017-11-05 16:41:25 +01:00
wmayer
949c86d364
Port to occ7.2:
...
+ Standard_Failure::Caught() is now marked as deprecated and should be replaced with standard C++ exception handling
2017-09-01 16:27:46 +02:00
Peter Lama
a75a98ef27
Use OCCT Handle macro for Handle_ classes
...
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
looooo
a388a9d72d
py3: Part: App: gathering commits relevant for Mod/Part/App
2017-03-01 17:10:46 +01:00
Stefan Tröger
d0d4d6bc07
Port Attacher codde to the extension framework
...
AttachableObjects are desired in multiple occasions, and the current AttachableObject is not flexible enough to handle all cases. Hence the code is portet to an extension, which gives the needed flexibility.
2016-12-07 06:41:40 +01:00
Wolfgang E. Sanyer
7f4a437cc2
This commit adds getShape and setShape to TopoShape
2016-08-06 23:42:55 +02:00
Mateusz Skowroński
f1077748fa
Fix some GCC warnings.
2016-05-19 22:22:12 +02:00
DeepSOIC
71f70eb855
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
98a472b18d
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
632cf142fe
Attacher: Py: add GUI strings to getModeInfo and getTypeInfo
2016-05-13 19:54:44 +03:00
DeepSOIC
8b4f1210ed
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
7000d551b7
Attacher: Py: create AttachEnginePy
...
Not very useful at the moment, just created the interface.
2016-05-13 19:54:44 +03:00