1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00
Commit Graph

1330 Commits

Author SHA1 Message Date
ifv
e5ed77c989 Commit for #28771 2017-05-23 16:12:17 +03:00
nbv
c45a54c355 0028724: Extrema between circle and plane cannot be found
The main reason of the regression is that the Extrema algorithm finds the truth extrema point but cannot adjust it to the range of given circle. It is connected with the fact that Geom(2d)Adaptor_Curve::IsPeriodic() method returns false for given circle because adaptor contains a piece of the circle which is not closed.

New algorithm of IsPeriodic() method will return the information about periodicity of the curve itself (independently of first and last parameter of adaptor).

The documentation about Geom(2d)_TrimmedCurve and Geom_RectangularTrimmedSurface has been updated in frame of the information about IsPeriodic-methods.

(cherry picked from commit b3cba642626bf141475c6e614fdc1df5e93cfcf7)
2017-05-15 10:54:26 +03:00
nbv
b8e5ce678e 0028725: Degradation in performance of BRepExtrema_DistShapeShape
If Curve-Curve-Extrema algorithm returned small number of extremas then unification of every extrema will been made as it was made before the patch #27665 (without Cell-filter).
2017-05-15 10:54:24 +03:00
emv
ece2d8b143 0028683: Wrong result of CUT operation
1. Partial porting of the patches for the issues #0026738 and #0028017:
   Careful treatment of the SD vertices created on the Face/Face intersection stage.

2. Avoid creation of the small section edges.

3. Test case for the issue.

4. Adjusting test cases for current behavior.
2017-04-28 12:12:46 +03:00
nbv
52e7e5b5fd Fix for issue #28491 2017-03-02 12:02:19 +03:00
ifv
73b74714ee Commit for SENR-17-065: wrong calculation of sprops for face
Fix bug in expressions for calculation of inertia moments Ixx, Iyy, Izz in both methods
GProp_SGProps::Compute(...)
2017-02-28 13:07:02 +03:00
nbv
4a258f6654 Patch for the issue #28373. 2017-01-20 11:12:10 +03:00
msv
5d989d42c5 0027862: Exception in BRepOffsetAPI_MakePipeShell
Check if the shape is not null before querying its ShapeType.
2016-09-12 10:21:53 +03:00
nbv
861f38f969 Fix for issue #27665 2016-07-25 13:06:02 +03:00
nbv
d6e98f99a7 Line-Plane extrema has been added in analytical case. 2016-07-18 11:28:26 +03:00
ifv
2a56652429 0026038: Wrong result done by extrema for the circle and plane
Test cases for issue CR26038

(cherry picked from commit 9dfbbfe673)
2016-07-18 10:22:45 +03:00
ifv
67b1b0e720 0027679: Wrong offset: overlapping edges, regression comparing with OCCT670 2016-07-15 10:58:28 +03:00
nbv
5c64b759be Porting the fix for issue #27664 2016-07-14 17:27:09 +03:00
gka
373f8e8b7c 0026485: Problem with the normals of a triangulated shape
Use gp::Resolution() instead of Precision::SquareConfustion() in order to normalize normal vectors according to implementation of gp_Vec::Normalize().
2016-02-25 16:41:05 +03:00
nbv
dd65d9dff5 0026841: Boolean operation "bsection" produce invalid result on the attached cases
Porting the fix to OCCT 6.7.0
2015-12-14 17:14:52 +03:00
msv
2748a46ef7 Correct test case bugs fclasses bug23237 to make it stable. 2015-09-30 17:05:52 +03:00
pkv
571d2d532b 0026619: Tolerances of operands are modified using bop
The fix forces creation of new sub-shapes (vertex, edge) when the tolerance of some sub-shape of an argument is to be increased.

This new behavior is turned off by default. It can be turned on using two ways:
1) Setting 'locking' flag of the arguments.
2) Calling the method SetNonDestructive(Standard_True) of the class BOPAlgo_PaveFiller.
2015-09-30 17:05:51 +03:00
nbv
d5eff06bb0 0026496: Error in use the BRepCheck_Analyzer
Implementation Propagate() function from MASTER (in BRepCheck_Wire)
2015-07-29 13:59:44 +03:00
emv
bc6903b48c 0026444: Boolean operation "bcut" gives invalid result between solid and halfspace solid.
Patch for version 670 of OCCT (Git branch CR0_670_FixS).

class BOPAlgo_PaveFiller
method void BOPAlgo_PaveFiller::PutPaveOnCurve
    (const Standard_Integer nV,
     const Standard_Real aTolR3D,
     BOPDS_Curve& aNC,
     const BOPCol_MapOfInteger& aMI,
     BOPCol_DataMapOfIntegerReal& aMVTol,
     const Standard_Integer iCheckExtend)

Do not put the pave on the curve in case if there is already one with the same parameter.
Update tolerance of the existing vertex to reach the new one.

Added test case bugs/modalg_6/bug26444.
2015-07-27 15:32:24 +03:00
gka
00d4616755 Patch for Bug #73"Error of compilation of the OCCT products for 6.7.0.
Method SetValues() with previous list of arguments was added for compatibility
2015-04-07 19:22:24 +03:00
msv
3e056d8e98 0025876: Geom2dAPI_InterCurveCurve returns only one intersection point instead of two intersection points
Extend domain of circle to include all possible solutions.
Test case for issue CR25876
Period 'jump" handling algorithm changed.
2015-03-11 09:11:48 +03:00
ifv
f175c53445 Fix regressions (see #25729 for details) 2015-02-17 11:03:23 +03:00
nbv
b2435ed8e2 Test case for this issue is updated 2015-02-05 17:41:19 +03:00
nbv
859eb523ce 0025772: Boolean operation produces invalid result after patch for 0025416
Patch for bug #0025416 and #0025697

Test cases for the issue #25416 and #25697 have been added.
New test case for this issue has been created.
2015-02-05 13:28:10 +03:00
ifv
967b56d5d8 Fix for 3d offset algorithm 2015-02-02 16:00:19 +03:00
ifv
fda01cadb2 Commit for 2d offset algorithm 2015-02-02 15:58:21 +03:00
nbv
b11453f54f 0025374: [6.8.0beta regression] gp_Trsf2d::SetMirror() looses transformation form
1. Elements of gp_TrsfForm have been documented
2. gp_Trsf2d class has been reverted to non-regression case.

Update of test-cases

Conflicts:
	src/gp/gp.cdl
	tests/de/iges_1/K3
	tests/de/iges_2/B8
	tests/de/iges_2/E6
	tests/de/iges_2/G1
2014-11-24 17:00:56 +03:00
nbv
71c8570833 0025194: It is necessary to orthogonalize transformation matrix in gp_Trsf and gp_Trsf2d classes
1. Method "SetValues()" for gp_Trsf2d class is added.
2. Method Orthogonalize for gp_Trsf2d and gp_Trsf classes was added.
3. Unused arguments from "SetValues()" method for gp_Trsf was deleted.
4. Output of AppParCurves_MultiPoint Dump  was corrected.
5. Method of right projected point choosing was corrected in ProjLib package.
6. Some test cases were changed according to their new behavior.

Conflicts:
	src/BRepFill/BRepFill_LocationLaw.cxx
	src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx
	tests/de/iges_2/E6
2014-11-24 16:53:05 +03:00
gka
657b3ae503 New classes for BOPAlgo for patch on boolean operations from OCC version 680 2014-11-24 15:46:26 +03:00
nbv
9c77e7cc97 0025416: Wrong section curve
patch #25416 to OCCT 6.7.0
2014-10-31 11:14:55 +03:00
gka
3796cb32b2 Fix for regressions for case infinite box ( case 46) 2014-10-30 19:03:55 +03:00
gka
097a0cae0f Fix to avoid exception for case46 (regressions) 2014-10-28 19:51:23 +03:00
gka
3054ab58fb Fix for case 52 2014-10-28 12:43:36 +03:00
ifv
75ee56f2df Analyzer for surface normals is added 2014-10-24 12:12:27 +04:00
aml
95ee0712bc 0025380: Intersection curve cannot reach boundary of surface
Changed next point computation in point walker. Now trying to walk over another isoline if new point is too close to previous.
2014-10-23 15:43:31 +04:00
gka
a5a0a4399f Fix for operation "Split shell" 2014-10-21 15:13:54 +04:00
gka
d099845895 Version Open CASCADE 670 with fixes 2014-10-10 15:48:10 +04:00
abv
47d9074abb 0024428: Implementation of LGPL license
OCCT documentation updated to refer to LGPL as applicable license
V6_7_0
2013-12-17 12:43:17 +04:00
bugmster
480bf81e37 0024428: Implementation of LGPL license
Update of OCCT samples source code due to moving to LGPL license
2013-12-17 12:43:15 +04:00
bugmster
973c2be1e1 0024428: Implementation of LGPL license
The copying permission statements at the beginning of source files updated to refer to LGPL.
Copyright dates extended till 2014 in advance.
2013-12-17 12:42:41 +04:00
vro
3693361422 0024166: Unable to create file with "Save" menu of voxeldemo Qt sample
Turning on the light to display the shapes of the sample.
2013-12-17 12:32:32 +04:00
ibs
4a0c5c25a4 0024469: cmake mfcsample project skippes ParamsFacesPage
add ParamsFacesPage.cpp and ParamsFacesPage.h in mfcsample cmake project

Unrelated changes: common samples include paths have lower priority than specific ones
Unrelated changes: debug tbb cmake seeks with _debug postfix
2013-12-17 12:25:09 +04:00
ibs
a0726e55a7 0024426: CMake ignores 3rd party options; env.sh does not set "CASROOT" environment variable
unrelative changes: #!/bin/bash line was added to env.sh.in
CMake: debug environment was removed for the time being; env.sh and env.bat templates were refactored
possibility of using of redundant command line parameters were removed from env.sh & env.bat scripts
tcl installation corrected;
Removed "echo off" from shell script
2013-12-17 12:25:08 +04:00
aba
38fd051164 0024471: Erasing of the shape in HLR sample leads to sample crash. 2013-12-17 12:18:22 +04:00
abv
243fc66226 Preparation for OCCT 6.7.0 release: 'beta' removed from OCCT version 2013-12-16 12:34:34 +04:00
kgv
5396d9ca17 0024466: Visualization - PrsMgr_Presentation3d::Erase() now leads to incomplete destruction of Graphic3d_Structure 2013-12-15 16:25:16 +04:00
szv
4e7bb26301 0024440: Regressions in products test group sat/doc_1
Check for closed shell is corrected
2013-12-12 19:42:47 +04:00
aba
60bf98ae02 0024425: Improve usage ergonomics of new dimension presentations
- Added format for value string.
- Construction and validness.
- Revise modification of properties and update of presentations.
- Units moved to Drawer; code revisions.
- Length and angle initialization was changed. Type of geometry filed was added to AIS_Dimension.
- Method for test case bugs/vis/buc60915 was corrected. Description of the dimension classes was corrected.
- Fixed initialization of angle and length.
2013-12-12 19:36:55 +04:00
Pawel
e04db19958 0024448: Possible copy-paste bug in IGESGeom_SplineCurve.cxx
Replaced 'allXPolynomials' with 'allYPolynomials' to avoid redundancy.
2013-12-12 19:36:54 +04:00
Pawel
de88958f6e 0024451: Logical conjunction always evaluates to false
As the variable gets casted on Standard_Byte it is checked to be within the range <0; 255>
2013-12-12 19:36:53 +04:00