DeepSOIC
1c135d6379
Part: AttachmentEditor: fix for new SubList Py API
2016-06-15 21:15:14 -03:00
tomate44
f13f57ef3d
Implements more arguments to BSplineCurve.approximate
2016-06-13 14:18:35 +02:00
wmayer
10bb9fa5cc
+ add overloaded methods of write() and read() to write and read from streams
2016-06-11 14:47:01 +02:00
wmayer
9c7bc073e4
+ for importBrep() and exportBrep() allow file names or file objects
2016-06-11 12:38:58 +02:00
wmayer
d3b69112de
+ revert regression in commit c3f35d9f affecting Part Thickness tool
2016-06-01 09:13:16 +02:00
wmayer
33c9b9d0dd
+ fix mistake in BSplineCurve.interpolate for Tangents/TangentFlags argument
2016-05-25 14:22:22 +02:00
tomate44
f2071dd1b0
Update BSplineCurve interpolate documentation
2016-05-25 11:50:52 +02:00
wmayer
8cfabdb579
+ support of tangents in BSplineCurve.interpolate
2016-05-24 23:15:17 +02:00
tomate44
7582f1799c
Update BSplineCurve interpolate documentation
...
Update BSplineCurve interpolate() documentation for the new "parameters" argument
2016-05-24 18:50:16 +02:00
wmayer
23e97bbb2c
+ issue #0002560 : Part BSplineCurve alternate interpolate method
2016-05-23 14:14:50 +02:00
wwmayer
711213d58e
Merge pull request #170 from f3nix/gcc-warnings-2
...
Fix some GCC warnings.
2016-05-20 22:23:36 +02:00
DeepSOIC
b13e6924e4
Part: make primitives attachable
2016-05-20 00:11:16 +03:00
DeepSOIC
b4102fc3da
Attacher: fix defaulting to 3D of AttachableObject
2016-05-20 00:11:16 +03:00
Mateusz Skowroński
f1077748fa
Fix some GCC warnings.
2016-05-19 22:22:12 +02:00
wmayer
c81aca0902
+ unify method names
2016-05-18 23:43:58 +02:00
DeepSOIC
554d3736f9
Attacher: add command to Part workbench menu
...
+ add an icon to attachment editor
2016-05-18 23:06:04 +02:00
DeepSOIC
7f5197695d
Attacher: add general purpose editor UI (python)
...
Added as PartGui.AttachmentEditor, and Part_EditAttachment gui command
2016-05-18 23:05:51 +02:00
wmayer
9316a1511a
+ fix index error using occ matrix class
2016-05-15 16:12:24 +02:00
blobfish
b5dfc41759
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
c922507f2f
Attacher: Py: fix crash on FreeCAD startup
2016-05-14 23:10:38 +03:00
wwmayer
6eb173a54b
Merge pull request #159 from DeepSOIC/Attacher16
...
Attacher16 - fixes, and Py interface
2016-05-14 18:23:27 +02:00
wmayer
bca7a1866e
+ port to OCC 7.0
2016-05-14 16:53:27 +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
2d8a7614c5
Attacher: Py: fix docu strings
2016-05-14 00:50:30 +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
76c0a81fe3
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
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
dcc8926236
Attacher: Py: implement Attacher attribute of AttachableObject
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
DeepSOIC
d4f1ef2f7a
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
fe295b701b
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
897a66cbb7
Attacher: Py: withdraw positionBySupport from Part2DObject
...
to be reintroduced later in AttachableObjet Py interface
2016-05-13 19:54:44 +03:00
DeepSOIC
162378220d
Attacher: preparations for Py interface of shape type system
...
+ add getModeByName to AttachEngine
2016-05-13 19:54:44 +03:00
DeepSOIC
53bd9b674b
Attacher: fix wrong inertial calculation on solids
...
was using surface calculation instead of volume...
2016-05-13 19:54:44 +03:00
DeepSOIC
6ffa0c9b37
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
d21995323e
Attacher: change Part2DObject to use Plane attacher by default
2016-05-13 19:54:44 +03:00
DeepSOIC
a41c79cd55
Attacher: AttachableObject should have virtual destructor
2016-05-13 19:54:44 +03:00
DeepSOIC
00d8537b66
Part: duplicate include cleanup
...
no functional changes
2016-05-13 19:54:44 +03:00
wmayer
c21888af6c
+ issue #0002542 : Part.Wire.makeoffset() doesn't handle circles correctly.
2016-05-12 19:03:23 +02:00
wmayer
59980c33d1
+ methods to highlight points, edges or faces of a shape
2016-05-09 23:48:30 +02:00
wmayer
1ccab846e2
+ apply f3nix:fix-gcc-warnings-1
2016-05-08 12:00:26 +02:00
wmayer
d8ad50d11d
+ move global function to namespace
2016-05-07 12:21:21 +02:00
DeepSOIC
c1f22cbd8d
Attacher: fix wrong superPlacement read-onlyness
...
It reacted to changes to unrelated properties. Fixed.
2016-05-07 11:24:41 +02:00
DeepSOIC
651be3dcd1
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
b3e9c6b9a9
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
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
DeepSOIC
9d19bf023a
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
d12141d1fb
Attacher: new mode: center of mass (point attacment)
2016-05-07 11:24:41 +02:00
DeepSOIC
71f5a8f980
Attacher: fix typo in tooltip
2016-05-07 11:24:41 +02:00