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
63ad26491f
fix Coverity issues
2016-08-22 15:02:18 +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
Yorik van Havre
3dd3461aec
Do not get transparency from DiffuseColor if not set per face - fixes #2675
2016-08-16 23:45:17 -03: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
50af9efa9f
PartGui: new Revolve task dialog.
...
Updated to support Axis link, and Symmetric properties. Layout was
completely changed.
2016-08-08 20:53:03 +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
wmayer
b32e1aae11
fix compiler warnings
2016-08-07 13:38:41 +02: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
e9b31ddb6a
Part: add/update GUI commands
...
* Updated translation contexts for Gui commands for JoinFeatures.
* Added Gui commands for Split tools: BooleanFragments, Slice, XOR.
Icons.
2016-07-29 14:20:52 +03: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
DeepSOIC
ea586e9880
Part: deprecate old JoinFeatures code
...
Commented out all the code not essential for recomputing old
JoinFeatures. The rest is left to support opening old projects.
2016-07-29 14:13:12 +03:00
wmayer
bff60f36a7
fix build failure with occ 6.9.0
2016-07-17 16:18:12 +02:00
wwmayer
fe60a44f5c
Merge pull request #219 from tomate44/tomate44-BezierSurface-fix
...
fix VDegree
2016-07-15 13:57:52 +02:00
Mateusz Skowroński
d7240c6b2b
Fix some GCC warnings.
2016-07-15 13:05:37 +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
Yorik van Havre
43e0834fb4
Part: Enabled per-face transparency
2016-07-07 12:46:25 -03: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
wmayer
8a30ac74b0
+ fix gcc warning
2016-07-02 14:28:59 +02:00
DeepSOIC
32f5466df4
Part: AttachmentEditor: withdraw code to use Show module
2016-06-20 01:19:02 +03:00
DeepSOIC
89ebf5fbcc
Part: AttachmentEditor: fix take_selection argument not working
2016-06-15 21:15:14 -03:00
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