Commit Graph

84 Commits

Author SHA1 Message Date
wmayer
7d38edb065 fix -Wextra in Part 2016-09-22 11:49:28 +02:00
DeepSOIC
5b3ab1b857 Part: Offset2D: fix save-load instability
Fixes #2699
It was found out that when direction of normal found by FindPlane
depends on if we are using result of offset directly, or after copying.

The fix (workaround) is to copy offset result inside  offset routine, so
that no unstable behavior makes its way to the user.
2016-09-18 18:45:04 +03:00
DeepSOIC
5462fe60e7 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
wmayer
c2dd2e2b99 fix Coverity issues 2016-08-21 18:46:40 +02:00
wmayer
1848b39992 fix TopoShape::getFacesFromSubelement 2016-08-04 15:22:30 +02:00
wmayer
6e6904898c fix build failure with occ 6.9.0 2016-07-17 16:18:12 +02:00
wmayer
b6670cde01 + GFA is available since OCC 6.9.0, raise an AttributeError otherwise 2016-07-14 15:16:02 +02:00
DeepSOIC
2206be773b Part: TopoShape: add generalFuse method (GFA)
OCC's Generaal Fuse Algorithm
2016-07-04 14:55:38 +03:00
wmayer
270f8bfc87 + fix index error using occ matrix class 2016-05-15 16:12:24 +02:00
wmayer
cb73d010bb + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
0777ef1e13 + command to create points object from geometry
+ implement TopoShape::getPoints
2016-03-05 23:36:57 +01:00
wmayer
27db1362e7 + change binary export & import of shapes to restore placement and orientation 2016-02-29 18:37:36 +01:00
wmayer
c633ec4075 + make API of InventorBuilder more flexible and add new methods 2015-11-26 15:27:40 +01:00
wmayer
5609b63be3 + add method to write/read BREP in binary format 2015-09-07 19:02:56 +02:00
wmayer
f85fa0325a + write out product name if defined to IGES/STEP files 2015-07-11 14:05:47 +02:00
wmayer
24f41d9ab7 + raise exceptions in TopoShape::makeOffsetShape if needed 2015-05-15 20:20:37 +02:00
wmayer
72fd1d2677 + whitespace improvement 2015-05-15 20:07:55 +02:00
blobfish
408cbdea1b Part: Offset: fill rework. 2015-05-15 20:00:47 +02:00
wmayer
178b7f8e6e + make argument of multiFuse const reference 2015-02-21 12:48:12 +01:00
Sebastian Hoogen
9a758221ee add TopoShape::multiFuse method
to fuse multiple shapes at once.
2015-02-21 12:35:21 +01:00
Sebastian Hoogen
fcabea8d92 meshing was removed from StlTransfer
with OCCT CR0025357 issue #1906
2015-02-12 13:46:14 +01:00
wmayer
801bfa8936 + fixes #0001662: IGES does not export correctly 2015-01-11 12:14:41 +01:00
wmayer
b76601b068 + fixes #0000763: Bad IGS import 2015-01-05 16:28:40 +01:00
WandererFan
b3236dba6c Fix #0001722 Left-handed helix with an angle>0 produces 1 too many turns 2014-11-06 10:49:02 -02:00
wmayer
61c92961e3 + customize IGES header 2014-10-29 16:39:33 +01:00
Sebastian Hoogen
01cf0f5872 issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
Sebastian Hoogen
6157cf3c4a fixes #1782 remove unused precsion parameters
from gp_Trsf::SetValues
2014-10-11 13:03:02 +02:00
wmayer
696d4a5f4a + fix warnings with clang 2014-09-24 17:46:04 +02:00
wmayer
6ee222bc95 + fixes #0001630: IGES-Export in [mm] turns to [Inches] 2014-07-23 13:49:16 +02:00
wmayer
2ecdf001a4 + Replace OCC_HEX_VERSION with OCC_VERSION_HEX 2014-07-18 14:51:54 +02:00
Sebastian Hoogen
29ea3d1a14 remove all references to BRepMesh 2014-07-18 10:43:16 +02:00
wmayer
04bf07a64f + fix Part.makeTube 2014-07-05 15:48:50 +02:00
WandererFan
375839eac1 fixes #1319
allow Part.makeHelix to use 'vertical height' parm
correct lefthanded conical helixes in TopoShape::makeHelix
2014-05-10 11:05:52 +02:00
WandererFan
e7a2852437 Issue #1508 Solid tickBox for Part.Revolution
Creates Solid for closed Edges & Wires
2014-04-25 10:07:21 +02:00
WandererFan
113e6026e4 Add function to Close Part.Loft (Gui & scripting) 2014-04-14 16:30:56 +02:00
wmayer
fa14dec3fa + allow to set deflection of a mesh with exportStl 2014-03-27 10:41:25 +01:00
wmayer
d4f4c30028 + relates to #0001421 2014-03-06 16:35:33 +01:00
Sebastian Hoogen
4a3f1cc33c BrepTools::Dump to string 2014-03-02 14:42:41 +01:00
wmayer
59a8e1d181 + fixes #0001429: don't apply booleans on null shapes 2014-02-22 13:06:30 +01:00
wmayer
3a8422d01e + fixes #0001413: Part.Shape.transformGeometry on Null Shape causes SIGSEGV 2014-02-14 15:02:26 +01:00
wmayer
f61fa56dd2 + fix minor error 2014-01-28 17:19:01 +01:00
wmayer
1b7b6efff1 + fixes: #0001369: Part::TopoShape::getMemSize fails for Bezier Curves 2014-01-28 11:29:21 +01:00
wmayer
a9f3b8a09f + Use long helix function in parametric feature 2013-12-29 14:51:25 +01:00
WandererFan
62e82aca90 Add Part.makeLongHelix to work around Mantis #0954 2013-12-29 13:53:01 +01:00
wmayer
1086dbf389 + fixes #0001247 2013-11-07 14:17:41 +01:00
Yorik van Havre
a1084de89c Part: Extended makePipeShell() so it accepts a transformation mode value 2013-10-07 15:41:38 -03:00
wmayer
4970c461ac + Apply patch for helix but deactivate it for the moment 2013-09-30 13:18:32 +02:00
wmayer
a5e3020dc9 + Fix TopoShape::fix() 2013-09-28 11:02:09 +02:00
jriegel
ec0a5ccb0c Merge branch 'refs/heads/double-precision-werner'
Conflicts:
	src/App/Document.cpp
	src/App/PropertyGeo.cpp
	src/App/PropertyStandard.cpp
	src/Base/Reader.cpp
	src/Base/Reader.h
	src/Gui/propertyeditor/PropertyItem.cpp
	src/Mod/Fem/Gui/ViewProviderFemMesh.cpp
	src/Mod/Inspection/Gui/ViewProviderInspection.cpp
	src/Mod/Mesh/App/MeshProperties.cpp
	src/Mod/Part/App/TopoShapeFacePyImp.cpp
	src/Mod/PartDesign/App/FeatureRevolution.cpp
2013-09-26 00:05:05 +02:00
jriegel
abf1623f07 Add SchemaVersion to RestoreDocFile to distinquish double from float binary 2013-09-24 11:01:09 +02:00