1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

1175 Commits

Author SHA1 Message Date
vpa
cf9192329b 0027523: Visualization - selection owner contains obsolete shape
- remove check for selection activation in SelectMgr_SelectionManager::RecomputeSelection;
- given selection mode is now handled properly and single selection mode can be recomputed;
- test case for issue #27523.
2016-06-17 12:22:16 +03:00
jgv
b3cbd47d26 0027065: BRepOffsetAPI_MakePipe misses definition of virtual method Generated()
Virtual method Generated() inherited from BRepPrimAPI_MakeSweep is overridden in class BRepOffsetAPI_MakePipe, providing information on shapes generated from the profile.
2016-03-25 15:11:59 +03:00
vpa
9e5394288d 0026870: Visualization - deactivated selections are not updated after object's re-computation
- update status in SelectMgr_SelectionManager::RecomputeSelection:
  1) is set to full for all selections;
  2) is switched to none only if selection was actually recomputed;
- test case for issue #26870
2015-11-16 16:42:58 +03:00
anv
b9f21bee94 0026522: Exception while copying offset on C0 surface 2015-09-22 22:07:21 +03:00
abv
258faef5fc 0026671: Infinite loop in ShapeFix_Wire::FixSelfIntersection()
Avoid possible infinite loops in ShapeFix_Wire::FixSelfIntersection() -- when needed, fix is repeated once instead of going back in the loop
2015-09-22 22:07:20 +03:00
oan
ee9749a81f 0026532: Meshing of edge with minSize parameter leads to incorrect result
Fix missed parameter.

Test case for issue CR26532
2015-09-18 14:35:57 +03:00
nbv
200a6865ad 0026687: SIGSEGV in BRepBuilderAPI_MakeFace
1. Check face location has been added.
2. Message, if mkplane command fails, has been added.
3. Test case for this issue has been created.

Changes in accordance with the remark.

Small correction of test case for issue CR26687
2015-09-18 14:35:35 +03:00
aml
74e9b952a4 0026196: Wrong result obtained by projection algorithm.
Improved periodicity handling when trimmed parameters became unclosed or nonperiodic, but underlying geometry closed or periodic.
Added possibility to not perform trim in GeomAdaptor::MakeSurface.

Minor corrections.

Test-case for issue #26196
2015-09-17 16:30:25 +03:00
nbv
2fc40ae3de 0026642: ShapeUpgrade_UnifySameDomain introduces extremely high vertex tolerances
Algorithm of computation of safe shift value along 2D-line (in order to distance between two points was less than tolerance) has been improved.

Correction of some test cases in accordance with their new behavior.
2015-09-16 18:14:29 +03:00
ika
00ffff5c8c 0026419: [Regression?] Export of a reversed face leads to crash in 6.9.0 although proceeded in 6.8.0
Take basis surface from trimmed surfaces during IGES writing, because pcurves will be transformed, so trim will be shifted, accorded to new face bounds,
fix updating of seam edge,
change condition of using Segment during exporting periodic BSpline surfaces to IGES (if bounds are not in one period).

Test cases for issue CR26419
2015-09-16 10:48:32 +03:00
ika
086964d58a 0026573: IGES file with one entity 128 is not read
Add some workaround to read IGES files with lines, which lengths are less than standard 80.

Test case for issue CR26573

Correction of test cases for issue CR26573

Correction of test case for issue CR26573
2015-09-16 10:48:31 +03:00
ifv
fd87d80b23 0026651: IntTools_FClass2d gives incorrect result of classification 2015-09-16 10:48:30 +03:00
ifv
9189dced18 0026588: SIGSEGV in BRepFeat_MakeDPrism::Perform()
Incorrect piece of code is removed (not used)
2015-09-16 10:48:29 +03:00
abv
c16859d7b6 0024097: BRepAlgoAPI_Section returns wrong result
Test case added: bugs modalg_6 bug24097
2015-09-16 10:48:28 +03:00
nbv
2e6bcdaf8e 0026099: Wrong result done by 2d intersection algorithm
Detection of intersection for almost parallel lines has been improved.
2015-09-16 10:48:27 +03:00
pkv
5d3ec53550 0026567: Exception in Boolean intersection command
Correcting the usage of NCollection_IncAllocator
2015-09-16 10:48:26 +03:00
apv
55b22036f8 Adjusting test cases for current state of OCCT 2015-09-16 10:48:25 +03:00
gka
0b2fbc70d3 0025553: ShapeFix_Face::FixMissingSeam() fails to correct a face
Modification to support case when edges on face  have incorrect orientation was added.
Modification to support case when wires have intersecting segment was added

Test cases for issue 25553 added; other affected tests corrected (improvements)

Corrected test case
2015-09-16 10:47:51 +03:00
mkv
104c1cf105 0026575: Normal projection of an edge to a face is wrong 2015-09-11 19:06:20 +03:00
jgv
68dace5e56 0026636: BRepOffsetAPI_ThruSections algorithm crashes on two inconsistent wires
Test case for issue CR26636
2015-09-11 18:56:07 +03:00
nbv
f81b508020 0026313: Method BRepBuilderAPI_GTransform::ModifiedShape(...) thows exception
Test cases for issue CR26313
2015-09-11 18:33:03 +03:00
jgv
46480f36ed 0026173: Wrong result of ChFi3d_ChBuilder algorithm: incorrect processing of G1 junctions at vertex
Test case for issue CR26173
2015-09-11 18:25:42 +03:00
msv
dbde431489 0026635: UnifySameDomain loses internal edges
Treat internal edges in proper way to save them in the result.

The test "bugs heal bug26489_4" has been modified to reflect the actual behavior.

Test-case for issue #26635
2015-09-11 18:05:07 +03:00
isn
5b755bca16 0026498: BRepOffsetAPI_MakeOffset causes segmentation fault
Test case for issue CR26498
2015-09-11 17:51:02 +03:00
abv
1925eae948 0026627: [Regression] Shape Healing hangs as of OCC 6.8.0
Check for orientation of the solid corrected to ensure that cycle always finishes.

Test case added: bugs modalg_6 bug26627
Tests boolean volumemaker A3, B5, B7 corrected (improvements)
2015-09-11 17:30:30 +03:00
abv
61b0059a45 0026647: BRepTools::UVBounds() computes zero range by V
Calculation of bounding box on conic 2d curves corrected to work properly if specified parametric range is in negative values.

Test case added
2015-09-11 17:29:26 +03:00
pkv
4c15f1799b 0026582: Wrong result obtained by Common operator
class BOPAlgo_WireSplitter
   - static function:
Standard_Real Angle2D (const TopoDS_Vertex& aV,
                         const TopoDS_Edge& anEdge,
                         const TopoDS_Face& myFace,
                         const GeomAdaptor_Surface& aGAS,
                         const Standard_Boolean bIsIN)
The treatment of circles has been chenged to prevent
the loss of accuracy due to small differences in large values.

Small correction of test case for issue CR26582

Test case for issue CR26582

Conflicts:
	src/BOPAlgo/BOPAlgo_WireSplitter_1.cxx
2015-09-11 15:22:55 +03:00
vpa
d833925587 0026462: Visualization - selection does not adapt to line width change
- added interface for changing sensitivity of a particular selection through both local and interactive context;
- added corresponding methods for changing sensitivity to SelectMgr_SelectionManager, SelectMgr_Selection and SelectBasics_SensitiveEntity;
- option -setSensitivity was implemented in vaspects Draw command;
- test case for issue #26462
2015-09-11 15:21:39 +03:00
ika
c3a1713672 0026451: Crash importing STeP file
Add check for NULL.

Test case for issue CR26451
2015-09-03 18:00:45 +03:00
aml
a99ae14b48 0026075: Make Extrema_GenExtCC return IsParallel flag in case of parallel curves
1) Added check for parallel curves.
2) Changed unefficient o(n^2) duplicates deleting algorithm to o(n) algorithm.
3) Deleted useless upper level duplicates deleting algorithm.

Test-case for issue #26075
2015-09-03 01:56:53 +03:00
nbv
32b95ded37 0026251: Section curve cannot be found
Current algorithm ignores found triangles intersection (IntPolyh_PMaillageAffinage) and, consequently, cannot find start point for intersection line. Branch fixes this problem.

Test case for issue CR26251
2015-09-03 01:56:22 +03:00
nbv
23ea021260 0026310: Very slow boolean cut operations on cylinders
1. JoinWLines algorithm has been improved.
2. Reference to the V-boundaries is deleted when computing step.
3. Decreasing the tolerance when computing parameters of WLine.
4. Adding boundary point is forbidden if it lies in prolongation of found ones.
5. Possible reason of exception has been eliminated.
6. Processing of critical point has been improved.

Test cases for this issue have been created.
Correction of some test case(s).

Test case bugs/modalg_6/bug26310_4 is added

Update of test-cases for issue #26310
2015-09-02 14:39:52 +03:00
ika
d18c866246 0026241: Sewing algorithm computes tolerance of joint vertex too rough
Upgrade method of computing vertex tolerance.
Update function, which used the old method.
Test case for issue CR26241
Delete obsolete variables.
2015-09-02 14:39:51 +03:00
abv
f206b65145 Revert previously made adjustment of test cases for Linux
- boolean volumemaker C1: the problems disappeared on Windows are still present on Linux
- boolean volumemaker F8: improvement on Linux found on master due to #24682 does not happen in OCCT 6.9.1, since #24682 is not included
2015-09-02 14:39:50 +03:00
gka
1c9e5ae0f1 0026376: Imported STEP shape is partially wrong
Modification of the translation of the face based on the toroidal surface with negative major radius was made.
Seems that such face is considered by "Solid Works" and "ProE wildfire 5.0" systems as face having reversed orientation.
This step file was written by "Solid Works 2014".
2015-09-02 14:39:30 +03:00
ika
e84806af3b 0026461: STEP Import interface crashes
Add a check for NULL;
some code refactoring.
2015-09-02 14:39:29 +03:00
abv
134735be7b Adjustment of test cases
- bugs modalg_6 bug26238: check real values with tolerance to avoid false failures due to numeric deviations
- draft angle G8: removed TODOs that do not exhibit in 6.9.1 branch
- boolean gdml_private O1: unstable
2015-09-02 14:39:26 +03:00
aml
574ea6faba 0026556: Infinite calculations of BRepOffset_MakeOffset
Method for pre-analysis of input data added (CheckInputData).
Now it is possible to work with Error() function, which return error code.

Tests corrected according to changed error appearance.
2015-09-02 14:39:24 +03:00
apn
d0af00dc66 0026447: Performance degradation intersecting cylindrical surfaces
Added test case bugs/modalg_6/bug26447
2015-09-02 14:39:22 +03:00
aml
e965d0c73c 0025981: Wrong result obtained by projection algorithm.
Adjust periodic added.

processing of V parameter periodicity added.

Test case for issue CR25981
2015-09-02 14:39:21 +03:00
nbv
17e64c3080 0025820: No Intersection Curves between surface of revolution and planes
Thin shapes processing has been improved.

Test-cases for issue #25820

Comment has been changed
2015-09-02 14:39:20 +03:00
mkv
fec4763816 Add test case for #26446 2015-09-02 14:39:19 +03:00
gka
3884c1d394 0026289: STEP import/export produces an empty shape
Exception is raised during reading step file containing p-curve having not-unique last knot.
Modification correcting misprint during computation new numbers of poles for such case was made in the file StepToGeom_MakeBSplineCurve.pxx
Protection against exception was made in the file StepToTopoDS/StepToTopoDS_TranslateEdge.cxx.
Warning message was added in the file StepToTopoDS_TranslateEdgeLoop.cxx.

Test case for issue CR26289
2015-09-02 14:39:18 +03:00
dbv
52ee6a456b 0026553: Out of range exception in BRepFill_Pipe::FindEdge
Test case for issue CR26553
Warning fix
2015-09-02 14:39:17 +03:00
jgv
1c6adc4f1e 0026554: Error in IntPatch_PrmPrmIntersection: initial step for walking line is not related with actual tolerance
Test case for issue CR26554
Small corrections for issue CR26554
2015-09-02 14:39:15 +03:00
abv
e09a591f48 Adjustment of tests for OCCT 6.9.1:
- de iges_1 L8,P7 - corrected according to changes made in #24682, with minor amendment of number of labels
- heal wire_tails_real A5 - corrected as in master
- offset wire_unclosed_outside_0_025 B4 - correcting according to actual state (looks better)
- de step_3 F1 - corrected according to actual state, see #26597
- de iges_1 N9 - reverted to state before integration of #25593 (zero-area face is created due to self-intersecting wire)
2015-09-02 14:39:13 +03:00
abv
cc19ba1caf Adjusting testing case 2015-09-02 14:39:12 +03:00
jgv
8b04c979b2 0026540: Errors in BRepOffsetAPI_MakeOffset: infinite loop in method FixHoles for closed results.
Test case for issue CR26540
2015-09-02 14:39:09 +03:00
pkv
eb20feb3bc 0026243: Boolean operations failed on shapes with fillets
Detected bugs have been fixed.

Test case for issue CR26243
2015-09-02 14:38:50 +03:00
mkv
dd531ee973 0026442: Access violation in BRepOffset_MakeOffset
Test cases for issue CR26442
2015-09-02 14:38:49 +03:00