]> OCCT Git - occt-copy.git/log
occt-copy.git
9 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

9 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

9 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/()

9 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

9 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

9 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)

9 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

9 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

9 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

9 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.

9 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

9 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.

9 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

9 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

9 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

9 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"

9 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.

9 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.

9 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.

9 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.

9 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

9 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.

9 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

9 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.

9 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".

9 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.

9 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

9 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

9 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.

9 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.

9 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.

9 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

9 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

9 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

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

9 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

9 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

9 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

9 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()

9 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)

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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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.

9 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

9 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

9 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

9 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

9 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

9 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

9 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).

9 years ago0026492: OpenGl_FrameBuffer does not releases itself correctly
duv [Tue, 28 Jul 2015 13:17:57 +0000 (16:17 +0300)]
0026492: OpenGl_FrameBuffer does not releases itself correctly

Logic related to myIsOwnBuffer flag in OpenGl_FrameBuffer was corrected.

9 years ago0026476: Visualization, TKOpenGl - do not enable GL_NORMALIZE in core profile
kgv [Fri, 24 Jul 2015 07:22:07 +0000 (10:22 +0300)]
0026476: Visualization, TKOpenGl - do not enable GL_NORMALIZE in core profile

9 years ago0026479: Visualization, TKOpenGl - do not implicitly turn off stereo in OpenGl_Worksp...
kgv [Fri, 24 Jul 2015 11:05:35 +0000 (14:05 +0300)]
0026479: Visualization, TKOpenGl - do not implicitly turn off stereo in OpenGl_Workspace::RedrawImmediate()

9 years ago0025775: "Default Gradient Background" in V3d_Viewer has no effect in new created...
apl [Tue, 21 Jul 2015 18:29:09 +0000 (21:29 +0300)]
0025775: "Default Gradient Background" in V3d_Viewer has no effect in new created V3d_View.

9 years ago0026430: Visualization - segmentation fault in opened local context
vpa [Tue, 21 Jul 2015 14:04:42 +0000 (17:04 +0300)]
0026430: Visualization - segmentation fault in opened local context

- check for empty dataset in Select3D_SensitiveSet was added;
- test case for issue #26430

9 years ago0026401: Visualization - small boxes in front of big one disappear in perspective...
apl [Mon, 20 Jul 2015 17:26:05 +0000 (20:26 +0300)]
0026401: Visualization - small boxes in front of big one disappear in perspective view

9 years ago0026466: UnifySameDomain creates invalid result shape from valid input shape
isn [Tue, 28 Jul 2015 09:45:45 +0000 (12:45 +0300)]
0026466: UnifySameDomain creates invalid result shape from valid input shape

Test-case for issue #26466

9 years ago0026393: Add draw commands to evaluate history of modifications of BOP
emv [Tue, 28 Jul 2015 08:44:27 +0000 (11:44 +0300)]
0026393: Add draw commands to evaluate history of modifications of BOP

DRAW commands bmodified, bisdeleted, bgenerated have been implemented to track
the history of shapes modifications in Boolean and General Fuse operations.

Test-case for issue #26393

9 years ago0026468: Out of range exception on current master
aml [Wed, 22 Jul 2015 13:13:46 +0000 (16:13 +0300)]
0026468: Out of range exception on current master

Problem with different ranges fixed.

test cases update.

9 years ago0026454: Visualization, TKOpenGl - do not require deprecated function of GL_ARB_verte...
kgv [Fri, 17 Jul 2015 08:17:45 +0000 (11:17 +0300)]
0026454: Visualization, TKOpenGl - do not require deprecated function of GL_ARB_vertex_type_2_10_10_10_rev in core profile

9 years ago0026446: GeomConvert::ConcatC1 produces not expected curve
aml [Thu, 16 Jul 2015 09:10:38 +0000 (12:10 +0300)]
0026446: GeomConvert::ConcatC1 produces not expected curve

Concatenation fixed.

9 years ago0026418: Unjustified limitation on tolerance of a input shape in BRepOffset_MakeOffset
aml [Tue, 21 Jul 2015 08:19:14 +0000 (11:19 +0300)]
0026418: Unjustified limitation on tolerance of a input shape in BRepOffset_MakeOffset

Performance improvements and regression elimination.
Handling of degenerated case added.

Update of test-case offset faces_type_a A2 according to the new behavior
Test-case for issue #26418

9 years ago0026408: Exception during fixshape procedure.
gka [Tue, 21 Jul 2015 07:35:52 +0000 (10:35 +0300)]
0026408: Exception during fixshape procedure.

Attached invalid shape is represented by solid containing one face twice.
Protection from such case was added in ShapeFix_Shell class.
Creation of COMPSOLID was modified for case when shells composing COMPSOLID have the same shared faces in order to prevent hanging.
Small modification.Protection to avoid exception
Test-case for issue #26408

9 years ago0026424: Visualization, TKOpenGl - fix text rendering in core profile
kgv [Mon, 20 Jul 2015 17:58:55 +0000 (20:58 +0300)]
0026424: Visualization, TKOpenGl - fix text rendering in core profile

OpenGl_Context::init() - fix condition on initializing alien OpenGL context within core profile.
OpenGl_Font::renderGlyph() - use GL_RED data format in core profile.
OpenGl_Text::render() - do not use GL_ALPHA_TEST in core profile.

Test-case for issue #26424

9 years ago0026351: Wrong result found by the projection algorithm
aml [Wed, 24 Jun 2015 12:44:28 +0000 (15:44 +0300)]
0026351: Wrong result found by the projection algorithm

C2 continuity intervals changed to Knots intervals in case of Bspline curve.
Fixed incorrect extremaPC usage.

Test case for issue CR26351
Update of test-cases according to the new behavior

Conflicts:
tests/de/step_2/U8

9 years ago0026308: Segmentation fault in BSplCLib::LocateParameter
nbv [Mon, 20 Jul 2015 12:23:00 +0000 (15:23 +0300)]
0026308: Segmentation fault in BSplCLib::LocateParameter

Detection of "jumping" knot value has been improved.
Test-case for issue #26308
Comment has been added in test case bugs/modalg_6/bug26308.

9 years ago0026406: BRepPrimAPI_MakeRevol crash when rotating Paraboloid face.
ifv [Mon, 20 Jul 2015 11:59:07 +0000 (14:59 +0300)]
0026406: BRepPrimAPI_MakeRevol crash when rotating Paraboloid face.

Test-case for issue #26406

9 years ago0026387: BRepPrimAPI_MakePrism crash when extruding Paraboloid face.
ifv [Mon, 20 Jul 2015 11:07:11 +0000 (14:07 +0300)]
0026387: BRepPrimAPI_MakePrism crash when extruding Paraboloid face.

Test-cases for issue #26387

9 years ago0025048: Wrong return value of GeomLib_Tool::Parameter
ifv [Fri, 10 Jul 2015 11:10:14 +0000 (14:10 +0300)]
0025048: Wrong return value of GeomLib_Tool::Parameter

9 years ago0026398: Tricheck command should be extended to show free nodes and links breaking...
oan [Mon, 20 Jul 2015 10:06:21 +0000 (13:06 +0300)]
0026398: Tricheck command should be extended to show free nodes and links breaking mesh consistency

Remark from MSV

9 years ago0026369: Modeling Data - Geom_OffsetSurface direction is wrong for indirect conical...
apl [Mon, 6 Jul 2015 08:30:57 +0000 (11:30 +0300)]
0026369: Modeling Data - Geom_OffsetSurface direction is wrong for indirect conical surface

9 years ago0026394: Visualization - eliminate unused variable in SelectMgr_RectangularFrustum
vpa [Thu, 2 Jul 2015 17:00:32 +0000 (20:00 +0300)]
0026394: Visualization - eliminate unused variable in SelectMgr_RectangularFrustum

Unnecessary calculations were removed

9 years ago0026390: IntTools_Context should provide possibility to set tolerance used by PointOn...
oan [Thu, 2 Jul 2015 09:52:42 +0000 (12:52 +0300)]
0026390: IntTools_Context should provide possibility to set tolerance used by PointOnSurf projector instead using of strict value 1.e-12

New method SetPOnSProjectionTolerance to set projection tolerance has been added IntTools_Context. By default it is set to 1.e-12

9 years ago0026379: Wrong result produced by the volume maker algorithm
emv [Thu, 9 Jul 2015 11:17:49 +0000 (14:17 +0300)]
0026379: Wrong result produced by the volume maker algorithm

1. class BOPAlgo_ShellSplitter
static method void RefineShell(TopoDS_Shell& theShell,
                               BOPCol_ListOfShape& aLShX)
Added protection from INTERNAL edges.

2. class BOPAlgo_MakerVolume
method void BOPAlgo_MakerVolume::MakeBox(BOPCol_MapOfShape& theBoxFaces)
Creation of the overlapping box of proper size.

Test-cases for issue #26379

9 years ago0026356: Wrong result done by projection algorithm
aml [Thu, 9 Jul 2015 11:12:21 +0000 (14:12 +0300)]
0026356: Wrong result done by projection algorithm

Changed internal one dimension search algorithm in case of fast changing curve.

Test-case for issue #26356

9 years ago0025613: Wrong distance found by xdistef command for attached shapes
nbv [Thu, 2 Jul 2015 11:44:35 +0000 (14:44 +0300)]
0025613: Wrong distance found by xdistef command for attached shapes

1. Divide B-spline curve on sub-intervals (bounded by knots values).
2. Class BRepLib_CheckCurveOnSurface_TargetFunc has been optimized for future implementation to checkshape algorithm (Adaptors are used instead of Geom_Curve(Surface)).
3. Parallelization of new algorithm.

The algorithm is based on math_PSO class.

Test cases for issue 25613 have been created.

Changes in accordance with the last remarks

9 years ago0026341: Uninitialized field in ShapeFix_Face
abv [Thu, 2 Jul 2015 11:33:54 +0000 (14:33 +0300)]
0026341: Uninitialized field in ShapeFix_Face

Parameter RemoveSmallAreaFaceMode in ShapeFix_Face is properly initialized; some other minor corrections

9 years ago0026342: No materials are read from STEP
ink [Thu, 2 Jul 2015 11:30:42 +0000 (14:30 +0300)]
0026342: No materials are read from STEP

Changed number of  arguments for descriptive_representation_item (for the case when description is absent).

Test case for issue CR26342

9 years ago0026339: [Regression in 6.9.0] Projecting a curve hangs
aml [Thu, 2 Jul 2015 11:19:13 +0000 (14:19 +0300)]
0026339: [Regression in 6.9.0] Projecting a curve hangs

Changed computation of point projection to more correct.
Calculation periodicity information added to cache.
Test case for issue CR26339

Small correction of test case for issue CR26339

9 years ago0026332: BRepOffsetAPI_ThruSections algorithm fails on two wires with different numbe...
jgv [Thu, 2 Jul 2015 10:46:39 +0000 (13:46 +0300)]
0026332: BRepOffsetAPI_ThruSections algorithm fails on two wires with different number of edges

Correction according to remark.

Correction of mistake.

Test case for issue CR26332

9 years ago0026296: Errors in BRepOffsetAPI_MakeOffset: failure because of wrong direction of...
jgv [Thu, 2 Jul 2015 10:39:51 +0000 (13:39 +0300)]
0026296: Errors in BRepOffsetAPI_MakeOffset: failure because of wrong direction of bisector.

Test cases for issue CR26296

Fix of regressions.

Small correction of test cases for issue CR26296

9 years agoEliminating instability in test cases
mkv [Fri, 26 Jun 2015 10:40:08 +0000 (13:40 +0300)]
Eliminating instability in test cases

9 years ago0023028: Visualization, TKOpenGl - eliminate global static variables
isk [Mon, 22 Jun 2015 12:01:37 +0000 (15:01 +0300)]
0023028: Visualization, TKOpenGl - eliminate global static variables

OpenGl_CappingAlgo - move global variables to OpenGl_Workspace class fields.
OpenGl_View::ShaderSource::Source() - drop static for local variable.
OpenGl_Window - drop redundant global constant THE_DEFAULT_BG_COLOR.

9 years ago0026219: ShapeUpgrade_UnifySameDomain fails with StdFail_NotDone exception
isn [Thu, 25 Jun 2015 11:47:00 +0000 (14:47 +0300)]
0026219: ShapeUpgrade_UnifySameDomain fails with StdFail_NotDone exception

Avoid merging edges if the collapsed vertex has a third connected edge.
Fix the problem when merged edges have different location.
Test case for issue CR26219

Additional fix to improve robustness.

Test cases for issue CR26219

Small correction of test cases for issue CR26219

9 years ago0026330: BRepOffsetAPI_ThruSections creates invalid shape
ifv [Thu, 25 Jun 2015 10:08:47 +0000 (13:08 +0300)]
0026330: BRepOffsetAPI_ThruSections creates invalid shape

Test case for issue CR26330

9 years ago0026357: Visualization - Panning zooms view if aspect ratio > 1
apl [Fri, 19 Jun 2015 12:15:11 +0000 (15:15 +0300)]
0026357: Visualization - Panning zooms view if aspect ratio > 1

9 years ago0026316: Infinite modification of the shapes in General Fuse operation
emv [Thu, 25 Jun 2015 09:50:37 +0000 (12:50 +0300)]
0026316: Infinite modification of the shapes in General Fuse operation

Check the validity of the intersection point between Faces.

Test case for issue CR26316

Correction of the test case for the issue.

Small correction of test case for issue CR26316

9 years ago0026359: Revolution shape of Parabola Curve has no triangles
kgv [Thu, 25 Jun 2015 09:47:26 +0000 (12:47 +0300)]
0026359: Revolution shape of Parabola Curve has no triangles

Adaptor3d_IsoCurve::Circle() - prevent parallel check with NULL-vector

Test case for issue CR26359

9 years ago0025556: Visualization - support stereo pair formats recognized by consumer display...
kgv [Sat, 20 Jun 2015 13:08:12 +0000 (16:08 +0300)]
0025556: Visualization - support stereo pair formats recognized by consumer display devices

Graphic3d_StereoMode - add new enumeration for stereoscopic outputs:
- Graphic3d_StereoMode_QuadBuffer
- Graphic3d_StereoMode_Anaglyph
- Graphic3d_StereoMode_RowInterlaced
- Graphic3d_StereoMode_ColumnInterlaced
- Graphic3d_StereoMode_ChessBoard
- Graphic3d_StereoMode_SideBySide
- Graphic3d_StereoMode_OverUnder

Graphic3d_RenderingParams - add new options controlling stereo output:
- StereoMode
- ToReverseStereo
- AnaglyphFilter

OpenGl_ShaderManager - add predefined GLSL programs for new stereo outputs.
OpenGl_Workspace::Redraw() - do not implicitly disable stereo to allow stereo dump as is.
OpenGl_Caps - add flag swapInterval to control VSync.
OpenGl_Workspace::BufferDump() - handle cases with non-applicable GL_PACK_ROW_LENGTH.

CALL_DEF_WINDOW - drop unused fields; add fields "left" and "top"
to reverse stereo pair for interlaced output depending on window position.

Draw Harness, ViewerTest:
- Extend syntax of command vstereo to setup stereo.
- Extend vdump command to allow dump of stereoscopic pair in different formats.
- Extend command vcaps with option vsync.
- Use mouse scroll to zoom and adjust ZFocus in WinAPI.
- Use "/" and "*" to adjust IOD.

v3d/glsl/stereo - add test case for stereo modes.

Cocoa_LocalPool, OSD_EnvironmentIterator - fix compilation issues on OS X Snow Leopard.

9 years ago0025760: Visualization - precision factor added to ZNear, ZFar in method ZFitAll...
apl [Thu, 18 Jun 2015 10:44:54 +0000 (13:44 +0300)]
0025760: Visualization - precision factor added to ZNear, ZFar in method ZFitAll() of Graphic3d_Camera is not enough

Small correction of test cases for issue CR25760

9 years ago0026305: BRepFeat_MakePrism returns inconsistent results && 026315: BRepFeat_MakeRevo...
ifv [Thu, 18 Jun 2015 10:36:16 +0000 (13:36 +0300)]
0026305: BRepFeat_MakePrism returns inconsistent results && 026315: BRepFeat_MakeRevol fails to create revol from shape

Test-cases for issues #26305 and #26315