wmayer
53ca0eb6a3
support offset curve in edge.Curve for occ 7.0
2016-09-15 10:36:44 +02:00
wmayer
9370378ec7
allow to pass parameter range when creating a line from a line
2016-09-09 13:02:15 +02:00
DeepSOIC
e3ca28baa8
Part: add Offset2D feature
...
derived from Part::Offset, to re-use task dialog easily
2016-09-02 16:26:02 +02:00
DeepSOIC
1f6174e3f2
Part: Offset feature: split off into separate file
...
withdrew code from PartFeatures.h/.cpp and created FeatureOffset.h/.cpp
2016-09-02 16:26:02 +02:00
DeepSOIC
7f6872817a
Part: Py API: deprecate Part.Wire.makeOffset
...
(code unchanged. Only added deprecation note to documentation)
2016-09-02 16:26:02 +02:00
DeepSOIC
78d32b6405
Part: Py API: add makeOffset2d method to Part.Shape
...
+ write documentation to makeOffsetShape
2016-09-02 16:26:02 +02:00
DeepSOIC
5318e03561
Part: TopoShape: add makeOffset2D method
...
Supports:
* offsetting wire, compound of wires.
* offsetting compounds in collective or independent manners
('intersection' parameter)
* two offset modes (parameter 'allowOpenResult')
* filling offset when offsetting one wire, or compound in independent
manner
Not supported yet (planned):
* filling offset when offset in collective manner (intersection= true)
* offsetting planar faces
2016-09-02 16:26:02 +02:00
DeepSOIC
98418a4e0c
Part: Extrude: improvements
...
* split Dir into Dir+Length; added second Length
* support for parametric linked direction: to arbitrary edge, and to
normal
* options: reverse, symmetric
* second taper angle
* changed offset join mode for tapered extrusion on OCCT7
2016-09-01 11:46:18 +02:00
DeepSOIC
f3a3bd14fb
[breaking] Part: Revolve: fix forgotten check for reverseness of axis link
...
I didn't know BRepAdaptor_Curve does not take shape orientation
(reverseness) into account.
The commit can break existing projects. If revolution feature was
created with axis linked to reversed edge, and angle span is not 360,
the revolution direction will now swap. The chances of this situation
are pretty low, and revolution supports axis linkage for not long yet.
So I hope it won't cause any noticeable trouble.
--DeepSOIC
2016-09-01 11:46:18 +02:00
wmayer
6e284fc9ea
fix crash when saving a document after aborting a pending transaction
2016-08-31 17:58:55 +02:00
wmayer
4ba53881b5
fix Coverity issues
2016-08-22 15:33:54 +02:00
wmayer
e8b36592c0
fix Coverity issues
2016-08-21 18:46:40 +02:00
wmayer
f3f0f5bd2e
fix Coverity issues
2016-08-20 15:41:33 +02:00
wmayer
006de1ab19
issue #0002666 : Error on Save File
2016-08-12 13:33:48 +02:00
wmayer
1c1f0dfe49
fix various compiler warnings
2016-08-09 13:16:26 +02:00
DeepSOIC
507b39e3fc
Part: use the just-added methods to make properties read-only
2016-08-08 21:48:50 +03:00
DeepSOIC
779b7eedb2
Part: Revolve: add support for axis link and midplane
...
Changes on the App side only.
Added two properties:
* AxisLink (accepts an edge - line or arc of circle)
* Symmetric (for distributing the revolution symmetrically in both
directions)
2016-08-08 19:34:27 +03:00
DeepSOIC
433bd375f3
Part: make Fusion and Common able to fuse arrays
...
If Fusion or Common features get only one argument, and the shape is a
compound, the children of the compound are treated as list of arguments.
2016-08-07 12:15:08 +02:00
Wolfgang E. Sanyer
7f4a437cc2
This commit adds getShape and setShape to TopoShape
2016-08-06 23:42:55 +02:00
wmayer
461c0b1f7b
fix TopoShape::getFacesFromSubelement
2016-08-04 15:22:30 +02:00
wmayer
1e2e24b652
+ rename methods in Vector3 class
...
+ add convenience methods Cross and Dot to Vector3 class
+ fix bug in DistanceToLineSegment in Vector3 class
2016-07-30 15:14:47 +02:00
maito78
8fe7c94452
Add parameter at given distance method for curves
2016-07-29 22:40:19 +02:00
DeepSOIC
c069987e41
Part: add BOPTools package as member of Part Py module
2016-07-29 14:18:01 +03:00
DeepSOIC
87b7c86197
Part: add BOPTools package
...
Containing implementation of new JoinConnect, as well as new splitting
tools: BooleanFragments, Slice and XOR.
2016-07-29 14:16:54 +03:00
wmayer
bff60f36a7
fix build failure with occ 6.9.0
2016-07-17 16:18:12 +02:00
tomate44
2bed80b57e
fix VDegree
...
fix for getVDegree that was returning UDegree
2016-07-15 11:27:24 +02:00
wmayer
bdb359df39
+ GFA is available since OCC 6.9.0, raise an AttributeError otherwise
2016-07-14 15:16:02 +02:00
wmayer
161f418824
+ expose OCC version number to Python
2016-07-14 14:11:54 +02:00
WandererFan
3b96cbbeb6
wmayer patch for Win & OCC7 compat
2016-07-11 15:32:16 +02:00
DeepSOIC
ca0a640aed
Part: TopoShapePy: made Solid constructor accept CompSolid
...
Part.Solid(shape) now accepts compsolid as input, and creates a solid by
joining the compsolid.
Same done to Part.makeSolid().
+ change exception handling to expose the error message.
2016-07-04 14:58:53 +03:00
DeepSOIC
885fecb1ea
Part: TopoShapePy: add generalFuse method
2016-07-04 14:57:50 +03:00
DeepSOIC
c8ebc7f9c2
Part: TopoShape: add generalFuse method (GFA)
...
OCC's Generaal Fuse Algorithm
2016-07-04 14:55:38 +03:00
DeepSOIC
32f5466df4
Part: AttachmentEditor: withdraw code to use Show module
2016-06-20 01:19:02 +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
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
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