occt.git
8 years ago0026507: Visualization - Improved presentations of dimensions CR26507_2
aba [Fri, 11 Sep 2015 12:16:05 +0000 (15:16 +0300)]
0026507: Visualization - Improved presentations of dimensions

1) Added text alignment according to custom direction
2) Added possibility to add additional segment aligned with text
3) Added support  of alignment of special symbol with multiline 3d text
4) Added possibility to remove main dimension line from presentation of linear dimension

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 agoThe removing unstable status from test case
apn [Fri, 11 Sep 2015 09:50:16 +0000 (12:50 +0300)]
The removing unstable status from test case

8 years ago0026663: Test cases for BRepOffset_Makeoffset
ski [Fri, 11 Sep 2015 09:00:15 +0000 (12:00 +0300)]
0026663: Test cases for BRepOffset_Makeoffset

8 years ago0026606: Test cases for BRepProj_Projection
ski [Fri, 11 Sep 2015 09:21:46 +0000 (12:21 +0300)]
0026606: Test cases for BRepProj_Projection

Test cases provided

8 years ago0026652: OCC_DEBUG definition is always added to the compiler command line
ibs [Mon, 7 Sep 2015 09:47:55 +0000 (12:47 +0300)]
0026652: OCC_DEBUG definition is always added to the compiler command line

a misprint in the if statement fixed

8 years ago0026478: There is a lack of documentation on OCAF / Topological naming
ysn [Thu, 10 Sep 2015 14:49:32 +0000 (17:49 +0300)]
0026478: There is a lack of documentation on OCAF / Topological naming

Article content added in @subsection occt_ocaf_5_8 Example of topological naming usage

The description of topological naming mechanism has been added in sub-section 5_6.

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 ago0026621: Boolean Cut does not work on two solids
nbv [Thu, 10 Sep 2015 14:39:38 +0000 (17:39 +0300)]
0026621: Boolean Cut does not work on two solids

The main reason of the bug is incorrect extending line in SeveralWlinesProcessing(...) function.

Additionally, interface of IntPatch_WLine::Dump(...) method has been changed.

Change some test cases according to their new behavior.

Test-case for issue #26621

8 years ago0026587: Infinite calculations of BRepOffset_MakeOffset
mkv [Thu, 10 Sep 2015 13:47:01 +0000 (16:47 +0300)]
0026587: Infinite calculations of BRepOffset_MakeOffset

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 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 ago0026637: Save function works incorrect in OCAF mfc sample
ski [Tue, 8 Sep 2015 09:49:19 +0000 (12:49 +0300)]
0026637: Save function works incorrect in OCAF mfc sample

Format ".std" was eliminated from OCAF mfc sample.

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 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 ago0026644: ShapeUpgrade_UnifySameDomain - strange behavior
gka [Thu, 10 Sep 2015 14:11:05 +0000 (17:11 +0300)]
0026644: ShapeUpgrade_UnifySameDomain - strange behavior

Made modification to get valid shape after operation ShapeUpgrade_UnifySameDomain for non-manifold input shape

Test case for issue CR26644

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 ago0026583: Eliminate compile warnings obtained by building occt with vc14: declaration...
ski [Wed, 9 Sep 2015 09:56:09 +0000 (12:56 +0300)]
0026583: Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides function parameter

Eliminated warnings about "declaration of local variable hides function parameter"

8 years ago0026615: Configuration, genconfdeps.tcl - do not search for FreeImagePlus on non...
kgv [Fri, 28 Aug 2015 09:20:00 +0000 (12:20 +0300)]
0026615: Configuration, genconfdeps.tcl - do not search for FreeImagePlus on non-Windows

8 years ago0026584: Eliminate compile warnings obtained by building occt with vc14: declaration...
ski [Tue, 18 Aug 2015 11:47:04 +0000 (14:47 +0300)]
0026584: Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides class member

Eliminated warning "declaration of variable hides class member"

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 ago0025162: Visualization, TKOpenGl - drop GLU library dependency
isk [Tue, 8 Sep 2015 12:15:04 +0000 (15:15 +0300)]
0025162: Visualization, TKOpenGl - drop GLU library dependency
Drop gluScaleImage() and gluBuild2DMipmaps().
Drop gluUnPorject() from samples.
Output message if NPOT is unsupported and texture coordinates was scaled. Texture initialization is fail in this case.
Output message if texture dimension exceed the max dimension. Texture initialization is fail in this case.
TKOpenGl does not depends on deprecated GLU anymore.

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 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 ago0025777: the standard views are defined incorrectly and mismatch the old display.
isk [Mon, 7 Sep 2015 13:17:29 +0000 (16:17 +0300)]
0025777: the standard views are defined incorrectly and mismatch the old display.
Old vright equals new vfront, old vfront equals new vright, old vleft equals new vback, old vback equals new vleft.

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 ago0026288: Offset on faces with opposite orientation
isn [Thu, 10 Sep 2015 13:21:32 +0000 (16:21 +0300)]
0026288: Offset on faces with opposite orientation

Test-case for issue #26288

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 ago0026017: Unstable behavior of test cases with boolean operations
apn [Mon, 7 Sep 2015 14:56:35 +0000 (17:56 +0300)]
0026017: Unstable behavior of test cases with boolean operations

Changes in boolean/gdml_private and volumemaker caused by integration of 26019 and 26253.

8 years ago0026462: Visualization - selection does not adapt to line width change
vpa [Fri, 28 Aug 2015 19:25:45 +0000 (22:25 +0300)]
0026462: Visualization - selection does not adapt to line width change

- added interface for changing sensitivity of a particular selection through both interactive and local 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 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 ago0026488: The class ShapeUpgrade_UnifySameDomain is not documented.
isn [Fri, 7 Aug 2015 16:04:44 +0000 (19:04 +0300)]
0026488: The class ShapeUpgrade_UnifySameDomain is not documented.

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 ago0026195: Visualization - optimize selection algorithms
vpa [Mon, 31 Aug 2015 07:29:53 +0000 (10:29 +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 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 ago0026522: Exception while copying offset on C0 surface
anv [Thu, 10 Sep 2015 11:27:50 +0000 (14:27 +0300)]
0026522: Exception while copying offset on C0 surface

Removed check for C0 surface while copying offset surface

General code melioration

Test case for issue CR26522

Ignoring C0 basis surface while reading offset surface (added)

8 years agoRevert "0026493: BRepProj_Projection failed to project a wire on a shell"
abv [Thu, 10 Sep 2015 10:53:36 +0000 (13:53 +0300)]
Revert "0026493: BRepProj_Projection failed to project a wire on a shell"

This reverts commit 7dfac274a6939d62ac2d7b164105ae10a6bc9b97.

8 years ago0026343: Visualization - Zoom persistent text with 3D orientation
isk [Thu, 3 Sep 2015 07:16:57 +0000 (10:16 +0300)]
0026343: Visualization - Zoom persistent text with 3D orientation

8 years agoBRepMesh_CircleInspector - fix vc12 compiler error after #0026593
kgv [Mon, 7 Sep 2015 10:48:23 +0000 (13:48 +0300)]
BRepMesh_CircleInspector - fix vc12 compiler error after #0026593

8 years ago0026556: Infinite calculations of BRepOffset_MakeOffset
aml [Thu, 20 Aug 2015 07:24:15 +0000 (10:24 +0300)]
0026556: Infinite calculations of BRepOffset_MakeOffset

Method for preanalysis of input data added (CheckInputData).
Now it is possible to work with Error() function, which return error code.
Extended output support for all offset commands added.

Test-cases for issue #26556

8 years agoCorrections made for OCCT 6.9.1.beta
abv [Thu, 3 Sep 2015 06:51:15 +0000 (09:51 +0300)]
Corrections made for OCCT 6.9.1.beta

- Graphic3d_Camera: comparison of real to zero by == is replaced by safer check against FLT_MIN (#25760)
- BRepBuilderAPI_Copy: new option copyMesh (#26458) is documented and made combinable with copyGeom

8 years ago0026613: Coding - avoid use of macros in Resource_Manager.cxx
kgv [Wed, 2 Sep 2015 13:47:09 +0000 (16:47 +0300)]
0026613: Coding - avoid use of macros in Resource_Manager.cxx

Replace macros by enum Resource_KindOfLine.

8 years ago0026244: Destructive results of simplification with DRAW command 'unifysamedom' after...
isn [Thu, 3 Sep 2015 12:24:12 +0000 (15:24 +0300)]
0026244: Destructive results of simplification with DRAW command 'unifysamedom' after intersection of two complex models

corrections unifysamedom :: problem with triangulation (2)

Test case for issue CR26244

8 years ago0026618: CMake should disable ability to use 3rdparty if there is no any included...
ibs [Mon, 31 Aug 2015 12:11:27 +0000 (15:11 +0300)]
0026618: CMake should disable ability to use 3rdparty if there is no any included toolkit that can use it

the offers to use of Freeimage, GL2PS and TBB are enabled dynamically.

8 years ago0026600: CMake should disable auto-link for TBB
ibs [Tue, 25 Aug 2015 12:22:35 +0000 (15:22 +0300)]
0026600: CMake should disable auto-link for TBB

implicit tbb linkage disabled

8 years ago0026592: Macros OCCT_DEBUG is not supported while configuration 7.0.0 dev version...
ibs [Mon, 24 Aug 2015 12:14:59 +0000 (15:14 +0300)]
0026592: Macros OCCT_DEBUG is not supported while configuration 7.0.0 dev version with CMake

OCCT_ALGO_EXTENDED_OUTPUT variable introduced

8 years ago0026591: Header collecting in CMake configuration process does not consider 'patch...
ibs [Thu, 6 Aug 2015 17:59:26 +0000 (20:59 +0300)]
0026591: Header collecting in CMake configuration process does not consider 'patch' dir

"patch" functionality fixed (except mfc samples)
CMake variable descriptions updated and their width realigned

8 years ago0026593: Coding rules - revert compatibility of NCollection_CellFilter constructor...
aml [Thu, 3 Sep 2015 12:05:34 +0000 (15:05 +0300)]
0026593: Coding rules - revert compatibility of NCollection_CellFilter constructor with old code

Restored old constructor and old behavior where possible.

Minor correction.

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

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 ago0026251: Section curve cannot be found
nbv [Thu, 3 Sep 2015 11:54:29 +0000 (14:54 +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

Modified test case

Small correction of test case for issue CR26251

8 years ago0025789: Visualization - get rid of obsolete 2d layers implementation
isz [Thu, 3 Sep 2015 11:52:01 +0000 (14:52 +0300)]
0025789: Visualization - get rid of obsolete 2d layers implementation

Classes Aspect_Clayer2d,OpenGl_GrahpicDriver_Layer, Visual3d_Layer, Visual3d_LayerItem, V3d_LayerMgr, V3d_LayerMgrPointer were deleted. Method OpenGl_GraphicDriver::TextSize() was moved to OpenGl_GraphicDriver.cxx.

Update V3d/FILES

Documentation updated.

8 years ago0026536: Visualization - Ray-tracing engine: improving BVH traverse and fixing textur...
dbp [Thu, 27 Aug 2015 09:46:22 +0000 (12:46 +0300)]
0026536: Visualization - Ray-tracing engine: improving BVH traverse and fixing texture support

Replace 64-bit handles of bindless textures by uvec2 type in GLSL code for compatibility with AMD drivers.
OpenGl_View::initProgram() - fix NULL-dereference.

8 years ago0026601: Visualization, Ray Tracing - make Path Tracing results reproducible for...
kgv [Tue, 25 Aug 2015 12:43:31 +0000 (15:43 +0300)]
0026601: Visualization, Ray Tracing - make Path Tracing results reproducible for the same camera position

OpenGl_View - reset Random Number Generator seed on progressive render restart
to produce the same visual results.

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 ago0026610: Configuration - workaround vc12 compilation error in Select3D_SensitiveCircl...
kgv [Fri, 28 Aug 2015 07:12:41 +0000 (10:12 +0300)]
0026610: Configuration - workaround vc12 compilation error in Select3D_SensitiveCircle (2 overloads have similar conversions)

Cast bool to Standard_Boolean explicitly.

8 years ago0026440: Invalid shape as a result of solid construction in BRepOffset_MakeOffset
aml [Thu, 3 Sep 2015 11:40:03 +0000 (14:40 +0300)]
0026440: Invalid shape as a result of solid construction in BRepOffset_MakeOffset

Fixed degeneration in wall building in thicksolid mode.

Minor correction.

Test cases for issue CR26440

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 ago0026611: Visualization, TKService - fix NULL-dereference in Font_FontMgr on broken...
kgv [Thu, 3 Sep 2015 11:26:30 +0000 (14:26 +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.
Test case for issue CR26611
Drop the test case for issue CR26611

8 years agoTemporally removing test case M1 from boolean/gdml_private group according to OCC26303.
ski [Fri, 28 Aug 2015 08:35:48 +0000 (11:35 +0300)]
Temporally removing test case M1 from boolean/gdml_private group according to OCC26303.

8 years ago0026559: Configuration, genproj.tcl - add mandatory C++11 compiler flag to generated...
kgv [Thu, 13 Aug 2015 15:09:17 +0000 (18:09 +0300)]
0026559: Configuration, genproj.tcl - add mandatory C++11 compiler flag to generated Code::Blocks project files

8 years ago0026602: Configuration, genproj.tcl - drop code generating Automake files
kgv [Thu, 27 Aug 2015 13:47:06 +0000 (16:47 +0300)]
0026602: Configuration, genproj.tcl - drop code generating Automake files

StdPrs/FILES - drop duplicates
genproj.sh - fix launcher

8 years ago0024387: Tests - use system-independent fonts in test cases
isk [Thu, 27 Aug 2015 11:30:44 +0000 (14:30 +0300)]
0024387: Tests - use system-independent fonts in test cases

Add a new parameter "-font FontName" to the command "vdimension".
Tuning of test-cases

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 ago0026599: Visualization, TKOpenGl - gradient background should reset model transformat...
kgv [Thu, 27 Aug 2015 10:49:39 +0000 (13:49 +0300)]
0026599: Visualization, TKOpenGl - gradient background should reset model transformation in Core profile

OpenGl_View::DrawBackground() - reset ModelWorldState as wellm not just WorldViewState.
Test case for issue CR26599

8 years ago0026317: Visualization - AIS_LengthDimension::CheckPlane() is incorrect
isk [Thu, 20 Aug 2015 05:46:25 +0000 (08:46 +0300)]
0026317: Visualization - AIS_LengthDimension::CheckPlane() is incorrect

8 years ago0026596: Visualization - hidden twice times structure should not be selectable
vpa [Tue, 25 Aug 2015 09:41:56 +0000 (12:41 +0300)]
0026596: Visualization - hidden twice times structure should not be selectable

Activated selection mode for the object that was displayed previously is now added to global status;
Test case for issue #26596

8 years ago0024272: Provide basic text formatting routines for Font_BRepFont
isk [Mon, 24 Aug 2015 11:10:22 +0000 (14:10 +0300)]
0024272: Provide basic text formatting routines for Font_BRepFont

Add new class Font_BRepTextBuilder for generation of formatted BRep text.
Delete method Font_BRepFont::RenderText(), which should be replaced by Font_BRepTextBuilder::Perform().

8 years ago0026594: Visualization - AIS_InteractiveContext::MoveTo() should not invalidate the...
kgv [Mon, 24 Aug 2015 15:00:04 +0000 (18:00 +0300)]
0026594: Visualization - AIS_InteractiveContext::MoveTo() should not invalidate the Viewer within immediate mode

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 ago0026461: STEP Import interface crashes
ika [Thu, 27 Aug 2015 10:30:38 +0000 (13:30 +0300)]
0026461: STEP Import interface crashes

Add a check for NULL;
some code refactoring.

Test case for issue CR26461

8 years ago0026376: Imported STEP shape is partially wrong
gka [Thu, 27 Aug 2015 10:26:23 +0000 (13:26 +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".

Test case for issue CR26376

8 years ago0022016: Incorrect selection color after displaying a selected object
isk [Thu, 27 Aug 2015 10:23:53 +0000 (13:23 +0300)]
0022016: Incorrect selection color after displaying a selected object

Small correction

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 agoImages added to "building with cmake" article
ibs [Fri, 21 Aug 2015 10:30:17 +0000 (13:30 +0300)]
Images added to "building with cmake" article

8 years agoAdjusting testing case
mkv [Fri, 21 Aug 2015 10:19:25 +0000 (13:19 +0300)]
Adjusting testing case

8 years ago0026572: Error in ShapeUpgrade_UnifySameDomain algorithm: can not merge two edges...
aml [Thu, 20 Aug 2015 13:57:10 +0000 (16:57 +0300)]
0026572: Error in ShapeUpgrade_UnifySameDomain algorithm: can not merge two edges in customer's shape

Obsolete code deleted.
Test case for issue CR26572
Small correction

8 years ago0026566: Visualization - incorrect highlight after selection of owners with auto...
vpa [Tue, 18 Aug 2015 11:49:43 +0000 (14:49 +0300)]
0026566: Visualization - incorrect highlight after selection of owners with auto-highlight disabled

Unhighlight of previously selected owners was corrected

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 ago0026235: Command tolmax works wrong
ski [Fri, 26 Jun 2015 08:03:58 +0000 (11:03 +0300)]
0026235: Command tolmax works wrong

Command tolmax was removed.
Tcl command checkmaxtol is used now in test cases to check maximum tolerance.
Reference values in test cases were updated.

8 years ago0026538: Visualization - Infinite growth of maxtrix stack in OpenGl_Structure::Render
apl [Thu, 20 Aug 2015 13:49:48 +0000 (16:49 +0300)]
0026538: Visualization - Infinite growth of maxtrix stack in OpenGl_Structure::Render

Test case for issue CR26538
Small correction

8 years ago0025300: Visualization - Build wireframe representation consistent with the shape...
vpa [Tue, 21 Apr 2015 21:53:37 +0000 (00:53 +0300)]
0025300: Visualization - Build wireframe representation consistent with the shape's triangulation

1) Remove duplicating presentation algorithms for shapes StdPrs_WFShape, StdPrs_WFDeflectionShape.
2) Rewrite Prs3d_WFShape to use deflection for non-triangulated shapes and rename it to StdPrs_WFShape.
3) Revise and correct references in code.
4) Rename StdPrs_ToolShadedShape to StdPrs_ToolTriangulatedShape (reused in StdPrs_WFShape, StdPrs_ShadedShape).
5) Add StdPrs_BndBox for drawing bounding box presentation.
6) Implemented on-triangulation isoline builder.
7) Add option -isoontriangulation to vaspects command to enable on-triangulation isoline builder for shape.
8) Drawer's maximum UV parameter value is taken into account in isolines calculation correctly.
9) Add option -setMaxParamValue to vaspects command to change drawer's maximum UV parameter value.

8 years ago0026411: Necessary to improve XCAF to store and querying GD&T data.
ink [Thu, 9 Jul 2015 09:01:55 +0000 (12:01 +0300)]
0026411: Necessary to improve XCAF to store and querying GD&T data.

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 ago0026144: Missing operators in gp_GTrsf
vsr [Thu, 13 Aug 2015 13:16:31 +0000 (16:16 +0300)]
0026144: Missing operators in gp_GTrsf

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 ago0026421: Visualization - Incorrect text rendering in raytracing mode
dbp [Thu, 13 Aug 2015 08:31:31 +0000 (11:31 +0300)]
0026421: Visualization - Incorrect text rendering in raytracing mode

8 years ago0026529: CMake offers rebuilding of platform dependent code unclear for an user
ibs [Thu, 20 Aug 2015 13:24:50 +0000 (16:24 +0300)]
0026529: CMake offers rebuilding of platform dependent code unclear for an user

Fix for building with GCC and CLang

CMake variable descriptions updated
"Building with CMake" article updated

BuildToolkit.cmake cleaned up and renamed
"TestCases" project and all relating variables removed; custom script added for building environment
DrawAppliInit is copied from occt root to CMake binary dir if the file exists

rebuild platform dependent code by cmake cleaned up
Flex & Bison compiler flags added

RelWithDebInfo OCCT libraries are moved to libi folder; the binary is moved to bini one

CMAKE_BUILD_TYPE is set as Release by-default for a single-configuration generator

env.bat in installation folder has default value of CASDEB that equals to the build type of the last installed OCCT libraries

"building with CMake" article updated

8 years ago0024816: Tool for upgrading OCCT and dependent code
abv [Wed, 19 Aug 2015 15:51:52 +0000 (18:51 +0300)]
0024816: Tool for upgrading OCCT and dependent code

A new script adm/upgrade.tcl defines a Tcl procedure occt_upgrade, to be used for upgrading code of OCCT and applications for changes introduced by OCCT 7.0.
Batch script upgrade.bat is provided for convenience.
File upgrade.dat contains data (lists of classes) required for some upgrade steps.
Details on upgrade procedure are put in dox/dev_guides/upgrade/upgrade.md.

OCCT code corrected to improve compatibility with code based on previous versions of OCCT:
- Added conversion operator of handle to bool, for use in conditional expressions.
- Forward declaration of argument class restored in macro DEFINE_STANDARD_HANDLE.
- Includes of used classes added in some headers to avoid problem of missing includes in dependent code
- Type cast operators to base curve and surface added in GC and GCE2d classes to reduce porting issues.

Added test for local reference to handle initialized by temporary handle to derived class.

WOK and CDL User Guides removed.

8 years ago0026546: Configuration, genproj.tcl - add support for VS2015 in project file generator
kgv [Thu, 13 Aug 2015 04:23:54 +0000 (07:23 +0300)]
0026546: Configuration, genproj.tcl - add support for VS2015 in project file generator

Use vc10 templates for vc10, vc11, vc12, vc14.

8 years ago0026403: Add missing Standard_EXPORT keyword in SelectMgr headers
isk [Mon, 17 Aug 2015 07:53:57 +0000 (10:53 +0300)]
0026403: Add missing Standard_EXPORT keyword in SelectMgr headers

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 ago0026537: It is not possible to generate reference documentation in new structure...
ibs [Thu, 13 Aug 2015 08:19:10 +0000 (11:19 +0300)]
0026537: It is not possible to generate reference documentation in new structure of OCCT

the path to search required headers changed from <occt>/inc to <occt>/src/<each package>

Fix for OCCT products reference documentation

8 years ago0026543: genproj script parses CSF_VTK incorrectly
ibs [Tue, 11 Aug 2015 07:36:08 +0000 (10:36 +0300)]
0026543: genproj script parses CSF_VTK incorrectly

the name of associative array at osutils:csfList method fixed

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 ago0026508: Add the possibility to get label from XCAFPrs_AISObject.
stv [Fri, 31 Jul 2015 09:59:48 +0000 (12:59 +0300)]
0026508: Add the possibility to get label from XCAFPrs_AISObject.

8 years ago0026500: Add the possibility to save only part of shapes from XCAF document in IGES...
stv [Thu, 13 Aug 2015 08:11:07 +0000 (11:11 +0300)]
0026500: Add the possibility to save only part of shapes from XCAF document in IGES/STEP writers

Added public methods for specified labels (shapes) transfer in IGES/STEP writers.

8 years ago0026489: The class ShapeUpgrade_UnifySameDomain provides the results that are wrong...
isn [Thu, 13 Aug 2015 08:06:08 +0000 (11:06 +0300)]
0026489: The class ShapeUpgrade_UnifySameDomain provides the results that are wrong or difficult to explain.

gcc warnings

Test cases for issue CR26489

8 years ago0021564: Intersection of two planar faces produces curve with too many poles
aml [Thu, 13 Aug 2015 08:04:03 +0000 (11:04 +0300)]
0021564: Intersection of two planar faces produces curve with too many poles

I ComputePurgedWLine() function:
Excess points in walking line are deleted when:
1) Distance between neighboring points too small.
2) Points lie in one pipe without big jump on chord length.

III
Fixed problem with extremaPC with too close knot distribution to [minParam, maxParam] borders.

IV ApproxInt_Approx.gxx
New division criteria in intersection approximator.

III Test case
Test cases update to the new behavior.
Test case for CR21564

Correction of test cases for issue CR21564