occt.git
8 years ago0024593: Missing surfaces from STL output CR0_691_FixD_patch
oan [Wed, 3 Feb 2016 08:05:20 +0000 (11:05 +0300)]
0024593: Missing surfaces from STL output

Added test cases

8 years ago0025045: STEP Import fails to find all surfaces
oan [Wed, 3 Feb 2016 08:04:53 +0000 (11:04 +0300)]
0025045: STEP Import fails to find all surfaces

Added test case

8 years ago0024594: Missing surfaces from STL output (second example)
oan [Wed, 3 Feb 2016 08:04:31 +0000 (11:04 +0300)]
0024594: Missing surfaces from STL output (second example)

Added test case

8 years ago0024595: STEP import missing surfaces
oan [Wed, 3 Feb 2016 08:03:45 +0000 (11:03 +0300)]
0024595: STEP import missing surfaces

Modification to create natural bounds for face based on the spherical and Bspline surface and having only one bound represented by Vertex loop was made.
 According to the specification of ISO-10303 part 42:
    "If the face has only one bound and this is of type vertex_loop, then the interior of the face is the domain of the face_surface.face_geometry. In such a case the underlying surface shall be closed (e.g. a spherical_surface.)"
    - natural bounds are applied only in case if VertexLoop is only the one
      defined face bound.

Update of test-cases according to the new behavior

Test-case for issue #24595

8 years agoSmall correction of qt samples OCCT691-REF V6_9_1
ski [Mon, 28 Sep 2015 13:04:01 +0000 (16:04 +0300)]
Small correction of qt samples

8 years ago0026723: Qt IE sample can not import STEP and IGES files with names containing not...
gka [Fri, 25 Sep 2015 13:30:29 +0000 (16:30 +0300)]
0026723: Qt IE sample can not import STEP and IGES files with names containing not ascii symbols

Added conversion of the names of the imported files in the  Utf8 coding

8 years agoFix samples crash.
isk [Fri, 25 Sep 2015 11:16:24 +0000 (14:16 +0300)]
Fix samples crash.

8 years agoChanging OCCT version from 6.9.1 beta to 6.9.1
bugmaster [Wed, 23 Sep 2015 08:30:15 +0000 (11:30 +0300)]
Changing OCCT version from 6.9.1 beta to 6.9.1

8 years ago0026707: Remove references to "opencascade.org" in documentation
ysn [Tue, 22 Sep 2015 10:16:04 +0000 (13:16 +0300)]
0026707: Remove references to "opencascade.org" in documentation

Links to OCC web sites in documentation are updated in accordance with the new site design.

8 years ago0026632: HLR sample doesn't work with Algo mode
nbv [Tue, 22 Sep 2015 10:35:13 +0000 (13:35 +0300)]
0026632: HLR sample doesn't work with Algo mode

The main reason of the problem is Walking-line contains two equal Walking-points (the segment has null-length both in 3D and 2D).

8 years ago0026701: BOPAlgo_Builder::Perform crash.
isn [Tue, 22 Sep 2015 19:10:56 +0000 (22:10 +0300)]
0026701: BOPAlgo_Builder::Perform crash.

Data race eliminated (PCurves are stored in edges after paralleled calculation)

Add comments and make minor cosmetic changes.

8 years ago0026522: Exception while copying offset on C0 surface
anv [Mon, 21 Sep 2015 12:58:53 +0000 (15:58 +0300)]
0026522: Exception while copying offset on C0 surface

8 years ago0026671: Infinite loop in ShapeFix_Wire::FixSelfIntersection()
abv [Mon, 21 Sep 2015 03:08:22 +0000 (06:08 +0300)]
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

8 years agoModification of service files for Voxel demo
bugmaster [Tue, 22 Sep 2015 10:30:36 +0000 (13:30 +0300)]
Modification of service files for Voxel demo

8 years ago0026705: Visualization - OpenGl_Workspace aspect setters are not exported
aba [Fri, 18 Sep 2015 11:07:48 +0000 (14:07 +0300)]
0026705: Visualization - OpenGl_Workspace aspect setters are not exported

8 years agoUpdate samples for VC++ 2013
bugmaster [Fri, 18 Sep 2015 09:46:25 +0000 (12:46 +0300)]
Update samples for VC++ 2013

8 years ago0026532: Meshing of edge with minSize parameter leads to incorrect result
oan [Thu, 17 Sep 2015 11:58:40 +0000 (14:58 +0300)]
0026532: Meshing of edge with minSize parameter leads to incorrect result

Fix missed parameter.

Test case for issue CR26532

8 years ago0026687: SIGSEGV in BRepBuilderAPI_MakeFace
nbv [Thu, 17 Sep 2015 10:52:17 +0000 (13:52 +0300)]
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

8 years ago0026688: Visualization, TKOpenGl - apply transparency within GLSL programs
kgv [Tue, 15 Sep 2015 15:18:03 +0000 (18:18 +0300)]
0026688: Visualization, TKOpenGl - apply transparency within GLSL programs

OpenGl_ShaderManager::PushAspectFace(), setup alpha to Diffuse() component as in FFP.
OpenGl_ShaderManager::stdComputeLighting(), take alpha from material Diffuse component.

8 years ago0026533: Draw command vdisplay requires vclear to update the presentation since OCC...
isk [Tue, 15 Sep 2015 09:06:43 +0000 (12:06 +0300)]
0026533: Draw command vdisplay requires vclear to update the presentation since OCC 6.9.0.
Update documentation related to vdisplay command and similar.

8 years ago0026196: Wrong result obtained by projection algorithm.
aml [Thu, 17 Sep 2015 10:18:00 +0000 (13:18 +0300)]
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

8 years ago0026683: VRML 2.0: ImageTexture node not written
agv [Wed, 16 Sep 2015 09:55:49 +0000 (12:55 +0300)]
0026683: VRML 2.0: ImageTexture node not written

8 years ago0026616: Memory leak in IntTools_Context::Hatcher
pkv [Mon, 31 Aug 2015 07:36:20 +0000 (10:36 +0300)]
0026616: Memory leak in IntTools_Context::Hatcher

I. New features:
    No new features

II.2. class IntTools_Context
- method:
Geom2dHatch_Hatcher& IntTools_Context::Hatcher
  (const TopoDS_Face& aF)
- method:
IntTools_SurfaceRangeLocalizeData& IntTools_Context::SurfaceData
  (const TopoDS_Face& aF)

The memory allocation is provided using inner allocator of the object.

II. Modified entities:
packages:
IntTools

8 years ago0026691: CMake building procedure should support compiler of version 14.0 of Microsof...
ibs [Tue, 15 Sep 2015 13:56:14 +0000 (16:56 +0300)]
0026691: CMake building procedure should support compiler of version 14.0 of Microsoft Visual C

"vc14" compiler name added to CMake building script

8 years ago0026642: ShapeUpgrade_UnifySameDomain introduces extremely high vertex tolerances
nbv [Tue, 15 Sep 2015 12:45:57 +0000 (15:45 +0300)]
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.

8 years ago0026419: [Regression?] Export of a reversed face leads to crash in 6.9.0 although...
ika [Tue, 8 Sep 2015 13:20:42 +0000 (16:20 +0300)]
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

8 years ago0026573: IGES file with one entity 128 is not read
ika [Thu, 3 Sep 2015 11:58:25 +0000 (14:58 +0300)]
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

8 years ago0026651: IntTools_FClass2d gives incorrect result of classification
ifv [Fri, 11 Sep 2015 11:01:45 +0000 (14:01 +0300)]
0026651: IntTools_FClass2d gives incorrect result of classification

8 years ago0026588: SIGSEGV in BRepFeat_MakeDPrism::Perform()
ifv [Thu, 10 Sep 2015 07:18:58 +0000 (10:18 +0300)]
0026588: SIGSEGV in BRepFeat_MakeDPrism::Perform()

Incorrect piece of code is removed (not used)

8 years ago0024097: BRepAlgoAPI_Section returns wrong result
abv [Sat, 5 Sep 2015 13:09:48 +0000 (16:09 +0300)]
0024097: BRepAlgoAPI_Section returns wrong result

Test case added: bugs modalg_6 bug24097

8 years ago0026099: Wrong result done by 2d intersection algorithm
nbv [Wed, 9 Sep 2015 07:07:43 +0000 (10:07 +0300)]
0026099: Wrong result done by 2d intersection algorithm

Detection of intersection for almost parallel lines has been improved.

8 years ago0026567: Exception in Boolean intersection command
pkv [Tue, 18 Aug 2015 07:06:11 +0000 (10:06 +0300)]
0026567: Exception in Boolean intersection command

Correcting the usage of NCollection_IncAllocator

8 years agoAdjusting test cases for current state of OCCT
apv [Fri, 11 Sep 2015 10:51:14 +0000 (13:51 +0300)]
Adjusting test cases for current state of OCCT

8 years ago0025553: ShapeFix_Face::FixMissingSeam() fails to correct a face
gka [Thu, 10 Sep 2015 14:42:22 +0000 (17:42 +0300)]
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

8 years ago0026575: Normal projection of an edge to a face is wrong
mkv [Thu, 10 Sep 2015 13:39:54 +0000 (16:39 +0300)]
0026575: Normal projection of an edge to a face is wrong

8 years ago0026628: Button Erase (Delete where erase algorythm is used) works incorrect
isk [Thu, 10 Sep 2015 14:26:45 +0000 (17:26 +0300)]
0026628: Button Erase (Delete where erase algorythm is used) works incorrect

Update AIS_InteractiveContext::EraseSelected() method.

Fix HLR sample

Fix samples.

8 years ago0026153: Draw Harness, ViewerTest - "verase" does not remove selection highlight...
isk [Thu, 14 May 2015 14:04:15 +0000 (17:04 +0300)]
0026153: Draw Harness, ViewerTest - "verase" does not remove selection highlight for shaded object

8 years ago0026665: Visualization, TKOpenGl - specify precision for integer uniforms explicitly...
kgv [Wed, 9 Sep 2015 07:29:43 +0000 (10:29 +0300)]
0026665: Visualization, TKOpenGl - specify precision for integer uniforms explicitly within OpenGL ES

Use lowp for enumerations / Boolean uniforms.
Define default integer precision to highp in Fragment Shader when available.

8 years ago0026672: Visualization, TKOpenGl - workaround mobile hardware with extremely low...
kgv [Wed, 9 Sep 2015 11:24:21 +0000 (14:24 +0300)]
0026672: Visualization, TKOpenGl - workaround mobile hardware with extremely low precision of mod() in GLSL

8 years ago0026638: Help of vcaps Draw command mentions wrong argument
mkv [Wed, 9 Sep 2015 16:59:45 +0000 (19:59 +0300)]
0026638: Help of vcaps Draw command mentions wrong argument

8 years ago0026636: BRepOffsetAPI_ThruSections algorithm crashes on two inconsistent wires
jgv [Thu, 10 Sep 2015 13:47:39 +0000 (16:47 +0300)]
0026636: BRepOffsetAPI_ThruSections algorithm crashes on two inconsistent wires

Test case for issue CR26636

8 years ago0026313: Method BRepBuilderAPI_GTransform::ModifiedShape(...) thows exception
nbv [Thu, 10 Sep 2015 13:16:55 +0000 (16:16 +0300)]
0026313: Method BRepBuilderAPI_GTransform::ModifiedShape(...) thows exception

Test cases for issue CR26313

8 years ago0026173: Wrong result of ChFi3d_ChBuilder algorithm: incorrect processing of G1 junct...
jgv [Thu, 10 Sep 2015 12:30:55 +0000 (15:30 +0300)]
0026173: Wrong result of ChFi3d_ChBuilder algorithm: incorrect processing of G1 junctions at vertex

Test case for issue CR26173

8 years ago0026650: Coding rules - fix misprint in NCollection_Vec3::operator/()
kgv [Mon, 7 Sep 2015 06:31:35 +0000 (09:31 +0300)]
0026650: Coding rules - fix misprint in NCollection_Vec3::operator/()

8 years ago0026635: UnifySameDomain loses internal edges
msv [Thu, 10 Sep 2015 12:02:41 +0000 (15:02 +0300)]
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

8 years ago0026498: BRepOffsetAPI_MakeOffset causes segmentation fault
isn [Thu, 27 Aug 2015 10:52:14 +0000 (13:52 +0300)]
0026498: BRepOffsetAPI_MakeOffset causes segmentation fault

Test case for issue CR26498

8 years ago0026627: [Regression] Shape Healing hangs as of OCC 6.8.0
abv [Mon, 7 Sep 2015 04:14:41 +0000 (07:14 +0300)]
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)

8 years ago0026647: BRepTools::UVBounds() computes zero range by V
abv [Sun, 6 Sep 2015 13:46:08 +0000 (16:46 +0300)]
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

8 years ago0026582: Wrong result obtained by Common operator
pkv [Thu, 3 Sep 2015 12:02:06 +0000 (15:02 +0300)]
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

8 years ago0026644: ShapeUpgrade_UnifySameDomain - strange behavior
gka [Fri, 11 Sep 2015 08:02:55 +0000 (11:02 +0300)]
0026644: ShapeUpgrade_UnifySameDomain - strange behavior

Modification to keep connectivity for non--manifold shapes during operation ShapeUpgrade_UnifySameDomain

8 years ago0026637: Save function works incorrect in OCAF mfc sample
ski [Thu, 3 Sep 2015 12:29:01 +0000 (15:29 +0300)]
0026637: Save function works incorrect in OCAF mfc sample

Storage format was corrected.

8 years ago0026462: Visualization - selection does not adapt to line width change
vpa [Mon, 31 Aug 2015 07:32:00 +0000 (10:32 +0300)]
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

8 years ago0026195: Visualization - optimize selection algorithms
vpa [Sun, 30 Aug 2015 21:07:01 +0000 (00:07 +0300)]
0026195: Visualization - optimize selection algorithms

- initial transformation of triangulation is now applied to selecting frustum;
- switched from NCollection_Vec3 to gp collections to avoid conversions and usage of macros;
- calculation of frustum was refactored to reduce its build time;
- double pixel tolerances for selection were replaced by integer ones;
- switched to splitting along the main axis only in SelectMgr BVH selection primitive sets.

8 years ago0026451: Crash importing STeP file
ika [Thu, 3 Sep 2015 11:36:27 +0000 (14:36 +0300)]
0026451: Crash importing STeP file

Add check for NULL.

Test case for issue CR26451

8 years ago0026075: Make Extrema_GenExtCC return IsParallel flag in case of parallel curves
aml [Thu, 4 Jun 2015 11:13:58 +0000 (14:13 +0300)]
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

8 years ago0026251: Section curve cannot be found
nbv [Tue, 1 Sep 2015 07:39:43 +0000 (10:39 +0300)]
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

8 years agoChange version from "6.9.1.dev" to "6.9.1.beta" V6_9_1_beta
abv [Mon, 31 Aug 2015 08:45:17 +0000 (11:45 +0300)]
Change version from "6.9.1.dev" to "6.9.1.beta"

8 years ago0026245: Unable to write SAT file by default
abv [Mon, 31 Aug 2015 04:00:57 +0000 (07:00 +0300)]
0026245: Unable to write SAT file by default

XSAlgo_AlgoContainer is corrected to return original shape if Shape Processing fails.
Handling of situation of absence of defined operator sequence is corrected to apply DirectFaces operator by default on writing, regardless of target format.
ShapeProcess is corrected to output warning if operator sequence is not defined in resource file, and to continue if one operator in sequence has failed.
Message names are made more meaningful.

8 years ago0026019: Unstable behavior of test cases with operation mkvolume
emv [Wed, 15 Jul 2015 10:09:36 +0000 (13:09 +0300)]
0026019: Unstable behavior of test cases with operation mkvolume

The maps have been replaced with indexed maps to provide stability
of the algorithms based on the General Fuse algorithm.

8 years ago0026611: Visualization, TKService - fix NULL-dereference in Font_FontMgr on broken...
kgv [Thu, 27 Aug 2015 09:34:09 +0000 (12:34 +0300)]
0026611: Visualization, TKService - fix NULL-dereference in Font_FontMgr on broken font

Check FT_Face::family_name for NULL during detection.
Skip fonts without mandatory UNICODE charset in Font_FontMgr.

8 years ago0026613: Coding - avoid use of macros in Resource_Manager.cxx
kgv [Fri, 28 Aug 2015 07:35:59 +0000 (10:35 +0300)]
0026613: Coding - avoid use of macros in Resource_Manager.cxx

Replace macros by enum Resource_KindOfLine.

8 years ago0026310: Very slow boolean cut operations on cylinders
nbv [Wed, 22 Jul 2015 13:10:27 +0000 (16:10 +0300)]
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

8 years ago0026241: Sewing algorithm computes tolerance of joint vertex too rough
ika [Thu, 18 Jun 2015 11:03:53 +0000 (14:03 +0300)]
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.

8 years agoRevert previously made adjustment of test cases for Linux
abv [Fri, 28 Aug 2015 16:31:29 +0000 (19:31 +0300)]
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

8 years ago0026605: Possible array out of bounds read in Extrema_GExtPC.gxx
aml [Thu, 27 Aug 2015 17:24:12 +0000 (20:24 +0300)]
0026605: Possible array out of bounds read in Extrema_GExtPC.gxx

Degenerated case fixed.

8 years ago0026376: Imported STEP shape is partially wrong
gka [Fri, 21 Aug 2015 15:12:35 +0000 (18:12 +0300)]
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".

8 years ago0026461: STEP Import interface crashes
ika [Thu, 20 Aug 2015 15:10:23 +0000 (18:10 +0300)]
0026461: STEP Import interface crashes

Add a check for NULL;
some code refactoring.

8 years ago0026574: Remove redundant dependence of TKIGES on TKOffset
Roman Lygin [Wed, 19 Aug 2015 15:24:43 +0000 (19:24 +0400)]
0026574: Remove redundant dependence of TKIGES on TKOffset

8 years agoAdjustment of test cases
abv [Tue, 25 Aug 2015 16:40:56 +0000 (19:40 +0300)]
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

8 years ago0026440: Invalid shape as a result of solid construction in BRepOffset_MakeOffset
aml [Thu, 20 Aug 2015 13:01:45 +0000 (16:01 +0300)]
0026440: Invalid shape as a result of solid construction in BRepOffset_MakeOffset

Fixed degeneration in wall building in thicksolid mode.

8 years ago0026556: Infinite calculations of BRepOffset_MakeOffset
aml [Thu, 20 Aug 2015 07:24:00 +0000 (10:24 +0300)]
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.

8 years ago0026458: BRepBuilderAPI_Copy does not copy mesh structure
azv [Mon, 20 Jul 2015 11:23:56 +0000 (14:23 +0300)]
0026458: BRepBuilderAPI_Copy does not copy mesh structure

The possibility to preserve triangulation in the copied shape is implemented.
It may be enabled by copyMesh flag, by default it is disabled.
Depending on copyGeom flag, the triangulation is shared with original shape (if False) or copied (if True).

Poly_Triangulation::Copy() method is added.

8 years ago0026447: Performance degradation intersecting cylindrical surfaces
apn [Thu, 30 Jul 2015 10:08:26 +0000 (13:08 +0300)]
0026447: Performance degradation intersecting cylindrical surfaces

Added test case bugs/modalg_6/bug26447

8 years ago0025981: Wrong result obtained by projection algorithm.
aml [Thu, 18 Jun 2015 10:39:46 +0000 (13:39 +0300)]
0025981: Wrong result obtained by projection algorithm.

Adjust periodic added.

processing of V parameter periodicity added.

Test case for issue CR25981

8 years ago0025820: No Intersection Curves between surface of revolution and planes
nbv [Thu, 18 Jun 2015 10:30:34 +0000 (13:30 +0300)]
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

8 years agoAdd test case for #26446
mkv [Fri, 21 Aug 2015 10:19:25 +0000 (13:19 +0300)]
Add test case for #26446

8 years ago0026289: STEP import/export produces an empty shape
gka [Thu, 20 Aug 2015 13:53:50 +0000 (16:53 +0300)]
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

8 years ago0026553: Out of range exception in BRepFill_Pipe::FindEdge
dbv [Thu, 20 Aug 2015 13:42:50 +0000 (16:42 +0300)]
0026553: Out of range exception in BRepFill_Pipe::FindEdge

Test case for issue CR26553
Warning fix

8 years ago0026554: Error in IntPatch_PrmPrmIntersection: initial step for walking line is not...
jgv [Thu, 20 Aug 2015 13:38:43 +0000 (16:38 +0300)]
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

8 years ago0025775: "Default Gradient Backgound" in V3d_Viewer has no effect in new created...
abv [Tue, 25 Aug 2015 08:17:18 +0000 (11:17 +0300)]
0025775: "Default Gradient Backgound" in V3d_Viewer has no effect in new created V3d_View.

Complete the fix: add gradient background in second variant of V3d_View::SetWindow()

8 years agoAdjustment of tests for OCCT 6.9.1:
abv [Mon, 24 Aug 2015 12:44:37 +0000 (15:44 +0300)]
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)

8 years agoAdjusting testing case
abv [Fri, 21 Aug 2015 16:30:25 +0000 (19:30 +0300)]
Adjusting testing case

8 years ago0026403: Lack of Standard_EXPORT keyword in SelectMgr headers
abv [Mon, 6 Jul 2015 17:30:38 +0000 (20:30 +0300)]
0026403: Lack of Standard_EXPORT keyword in SelectMgr headers

Some Standard_EXPORT keywords added to be able to link with TKV3d

8 years ago0026547: Configuration - fix compilation errors on VS2015
kgv [Thu, 13 Aug 2015 10:10:49 +0000 (13:10 +0300)]
0026547: Configuration - fix compilation errors on VS2015

Interface_STAT.cxx - rename local variable 'stat' to 'myStat' to avoid name collision.
OSD_FileNode.cxx - pass correct argument to va_start().
STEPConstruct_AP203Context::DefaultDateAndTime() - use _get_timezone() instead of global variable timezone on msvc.
Graphic3d_ArrayOfPrimitives::VertexColor() - fix reinterpret_cast() argument.

Small correction: OCC26481-linesarc.brep is equal to bug26296_linesarc.brep

8 years ago0026540: Errors in BRepOffsetAPI_MakeOffset: infinite loop in method FixHoles for...
jgv [Thu, 13 Aug 2015 08:15:22 +0000 (11:15 +0300)]
0026540: Errors in BRepOffsetAPI_MakeOffset: infinite loop in method FixHoles for closed results.

Test case for issue CR26540

8 years agoSign added and some formatting changes
ysn [Thu, 6 Aug 2015 13:20:50 +0000 (16:20 +0300)]
Sign added and some formatting changes

8 years ago0026243: Boolean operations failed on shapes with fillets
pkv [Thu, 6 Aug 2015 09:27:34 +0000 (12:27 +0300)]
0026243: Boolean operations failed on shapes with fillets

Detected bugs have been fixed.

Test case for issue CR26243

8 years ago0026442: Access violation in BRepOffset_MakeOffset
mkv [Tue, 4 Aug 2015 13:49:10 +0000 (16:49 +0300)]
0026442: Access violation in BRepOffset_MakeOffset

Test cases for issue CR26442

8 years ago0024522: Application crashes on view closing in case of using of clipping planes
apv [Wed, 5 Aug 2015 08:37:55 +0000 (11:37 +0300)]
0024522: Application crashes on view closing in case of using of clipping planes
Test-case for issue #24522

8 years ago0026249: Visualization, TKV3d - fix possible division by zero in SelectMgr_Rectangula...
vpa [Mon, 3 Aug 2015 15:41:56 +0000 (18:41 +0300)]
0026249: Visualization, TKV3d - fix possible division by zero in SelectMgr_RectangularFrustum

Added zero-length check for triangle normal in SelectMgr_RectangularFrustum::Overlaps

8 years ago0026485: Problem with the normals of a triangulated shape
oan [Thu, 30 Jul 2015 09:52:44 +0000 (12:52 +0300)]
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().

Test case

Test-case for issue #26485

8 years ago0026496: Error in use the BRepCheck_Analyzer
apv [Wed, 29 Jul 2015 13:38:31 +0000 (16:38 +0300)]
0026496: Error in use the BRepCheck_Analyzer
Test-case for issue #26496

8 years ago0026385: Fix to prevent BRepMesh from possible crash due to pointer to local variable...
abelcsik [Thu, 2 Jul 2015 14:30:57 +0000 (16:30 +0200)]
0026385: Fix to prevent BRepMesh from possible crash due to pointer to local variable stored inside Extrema_LocateExtPC

Made the BRepAdaptor_Curve a member of BRepMesh_EdgeParameterProvider to ensure that it is created before and destroyed after the Extrema_LocateExtPC that uses it.

8 years ago026464: BRepOffset_MakeOffset does not provide valid output
aml [Wed, 29 Jul 2015 13:14:09 +0000 (16:14 +0300)]
026464: BRepOffset_MakeOffset does not provide valid output

Handling of degenerated case improved.

Test-case for issue #26464

8 years ago0026481: Incorrect result of BRepOffsetAPI_MakeOffset: excess hanging arcs in the...
jgv [Wed, 29 Jul 2015 13:10:53 +0000 (16:10 +0300)]
0026481: Incorrect result of BRepOffsetAPI_MakeOffset: excess hanging arcs in the open result with join type GeomAbs_Arc

Test-case for issue #26481

8 years ago0026483: Option Run Parallel is not used by the command bopargcheck
pkv [Mon, 27 Jul 2015 07:06:15 +0000 (10:06 +0300)]
0026483: Option Run Parallel is not used by the command bopargcheck

I. New features:
No new features

II. Changes:
II.1 class BOPTest
-static function:
Standard_Integer bopargcheck (Draw_Interpretor& di,
                              Standard_Integer n,
                              const char** a )
The option has been retrieved and passed to the checker algorithm.

III. Modified entities:
packages:
BOPTest

8 years ago0026484: BRepExtrema_DistShapeShape hangs
nbv [Wed, 29 Jul 2015 12:38:41 +0000 (15:38 +0300)]
0026484: BRepExtrema_DistShapeShape hangs

Check in math_GlobOptMin::computeGlobalExtremum(...) method if the parameter went out of boundary(-ies).

Added test case bugs/modalg_6/bug26484

8 years ago0026473: Offset API fails to create offset shape
aml [Wed, 29 Jul 2015 12:33:30 +0000 (15:33 +0300)]
0026473: Offset API fails to create offset shape

Tolerance of map building changed.
Added possibility to work 0.0 offset value.

Added test cases bugs/modalg_6/bug26473_1 bug26473_2

8 years ago0026420: BOPAlgo_Builder resets "Closed" flag in the result
emv [Wed, 29 Jul 2015 12:29:42 +0000 (15:29 +0300)]
0026420: BOPAlgo_Builder resets "Closed" flag in the result

Set flag Closed to new Wires and Shells created in General Fuse algorithm if necessary.

Test-cases for issue #26420

8 years ago0026444: Boolean operation "bcut" gives invalid result between solid and halfspace...
emv [Wed, 29 Jul 2015 12:24:03 +0000 (15:24 +0300)]
0026444: Boolean operation "bcut" gives invalid result between solid and halfspace solid.

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.
Test boolean/volumemaker/G1 is stable now (deleted TODOs), test offset/faces_type_i/C9 is bad (offset is done with wrong result).