occt.git
5 years ago0024344: TKOpenGl - only front side is lighted within Phong GLSL program
apl [Wed, 13 Nov 2013 17:09:55 +0000]
0024344: TKOpenGl - only front side is lighted within Phong GLSL program

5 years ago0024322: TKOpenGl - light sources management inconsistency
duv [Wed, 13 Nov 2013 17:07:32 +0000]
0024322: TKOpenGl - light sources management inconsistency

Fixed pipeline - accumulate all ambient light sources.

Fix clearing of all light sources.

5 years ago0024341: Document building OpenCL ICD Loader package
abv [Thu, 14 Nov 2013 08:47:01 +0000]
0024341: Document building OpenCL ICD Loader package

- Building OpenCL ICD Loader documented; Acknowledgments section of Overview updated to mention also OpenGL and OpenCL
- Reference to OpenCL updated in Overview: use general statement instead of direct link to AMD SDK.
- GeForce 610, 6600, and Radeon HD 7870 added to list of tested graphic cards
- Minor syntax corrections in DRAW UG to avoid interferences
- Update 3rdparty products up to current state
- Redesign of pages
- Building OpenCL ICD Loader was documented for Linux platform
- Lists reformatted, documentation manual updated to better describe use of lists.
- Updating picture of structure of installed OCCT
- Updating description of Automake procedure
- Updating description of  CMake building procedure

5 years ago0024305: New option in BRepOffsetAPI_MakePipeShell algorithm: the swept shell with...
jgv [Thu, 14 Nov 2013 08:37:05 +0000]
0024305: New option in BRepOffsetAPI_MakePipeShell algorithm: the swept shell with varying width of section bounded by auxiliary spine

Test case for issue CR24305

5 years ago0024352: Add Shaders directory to OCCT resources
dbp [Wed, 13 Nov 2013 08:36:42 +0000]
0024352: Add Shaders directory to OCCT resources

5 years ago0024329: Ambiguous graphic cards list in software/hardware requirements
abv [Sat, 9 Nov 2013 06:32:34 +0000]
0024329: Ambiguous graphic cards list in software/hardware requirements

Section Requirements in Overview refactored to have explicit list of graphic cards tested with OCCT. The first version of the list provided; to be completed.

5 years ago0024330: Generate Overview documentation in CHM format
ibs [Thu, 14 Nov 2013 08:19:15 +0000]
0024330: Generate Overview documentation in CHM format

chm format (with formulas) of documentation introduced
overview.chm generated directly in doc folder

5 years ago0024197: Viewer3d.exe is saved to the wrong directory
Pawel [Fri, 20 Sep 2013 13:33:42 +0000]
0024197: Viewer3d.exe is saved to the wrong directory
Output directory corrected.

5 years ago0024343: AIS_DisplayStatus - outdated description
dbv [Mon, 11 Nov 2013 10:59:45 +0000]
0024343: AIS_DisplayStatus - outdated description
Documentation fix

5 years ago0024303: Precision degradation for Geom2dGcc_Circ2d2TanRad in OCCT6.6.0.
nbv [Thu, 14 Nov 2013 07:11:29 +0000]
0024303: Precision degradation for Geom2dGcc_Circ2d2TanRad in OCCT6.6.0.

1. DRAW-command.
2. Initial point (the center of found circle), which is found by standard algorithm, is precised in function PrecRoot(...). Correction is called, if and only if initial point is in tangent zone.
3. Handling of possible divergences and of possible exceptions in PrecRoot() function is added.

Test cases for issue CR24303

5 years ago0024275: Cppcheck warnings on uninitialized class members
ski [Thu, 14 Nov 2013 07:08:41 +0000]
0024275: Cppcheck warnings on uninitialized class members
Removed warning of cppcheck on uninitialized class members for non-array cases
New additional compilation warnings on Windows platform from file OSD_Path.cxx were fixed
Warnings about wrong initialization removed

5 years ago0024337: Draw Harness - relax vinit syntax
kgv [Fri, 8 Nov 2013 12:22:56 +0000]
0024337: Draw Harness - relax vinit syntax

Support "vinit name w=512 h=512" syntax

5 years ago0024268: Wrong triangulation on the boundaries of the cones
aml [Thu, 14 Nov 2013 07:01:09 +0000]
0024268: Wrong triangulation on the boundaries of the cones
Added check for cone singularity point, modified isoline checks, deleted check along U and V in GeomLib::NormEstim.
Correction in sign in GeomLib::NormEstim.

5 years ago0023474: Changing material/color/transparency of a shaded AIS_Shape requires 'Redisplay'
Pawel [Tue, 16 Oct 2012 10:42:13 +0000]
0023474: Changing material/color/transparency of a shaded AIS_Shape requires 'Redisplay'

Getting the current group instead of creating new one. Otherwise the necessary aspect information is lost.

5 years agodocumentation updated V6_7_0_beta
ibs [Thu, 7 Nov 2013 09:06:49 +0000]
documentation updated

unrelated changes: Unused unit OpenCL removed from UDLIST

All articles revised
README revised
comments are allowed in FILES.txt

Add gendoc.sh for Linux
Added option -s to set search engine of the HTML documents
Added 3rdparty_building docs for different platforms

help message removed from bat&sh scripts (left within tcl script)
tableofcontents added for all huge articles;
gendoc.bat doesn't change PATH variable
jpgs converted to pngs and unused pngs removed
logo displaying of pdf files fixed
Automatic detection of OCCT version number added to occtdoc.tcl
OCCT version within pdfs is got from Standard_Version.hxx; copyright changed
pdf generation process removes latex dir now
GIF images converted to PNG in technical_overview;
references fixed (incorrect reference to wok and cdl didn't touch; redundant latex option removed

Tutorial moved from Overview and made top level page
LICENSE.md moved from dox/overview to dox folder

Section related to OCCT building refactored and simplified.
WOK and CDL explicitly declared as deprecated.

5 years agoUpdate testing cases due to changes of issue 24130
bugmaster [Wed, 6 Nov 2013 06:41:38 +0000]
Update testing cases due to changes of issue 24130

5 years ago0024316: Make building with different versions of Tcl easier
abv [Tue, 5 Nov 2013 05:48:27 +0000]
0024316: Make building with different versions of Tcl easier

On Windows with MSVC Tcl library is linked using #pragma statement instead of using project properties, to allow easy switch between Tcl versions. In gendoc.bat, tclsh.exe is called instead of tclsh86.exe, to avoid dependency on hard-coded Tcl version.

Tcl-dependent code (unused functions) removed from QABugs package.

5 years agoRay tracing activated in bottle sample if available; test bugs vis bug21753 added
abv [Tue, 5 Nov 2013 05:21:40 +0000]
Ray tracing activated in bottle sample if available; test bugs vis bug21753 added

5 years ago0024310: TKOpenGl - GLSL compatibility issues
kgv [Mon, 4 Nov 2013 00:42:44 +0000]
0024310: TKOpenGl - GLSL compatibility issues

Lights defintion clean up:
- remove duplicated enumeration TLightType (equals to Visual3d_TypeOfLightSource)
- remove unused fields from Graphic3d_CLight
- OpenGl_Light, reuse Graphic3d_CLight definition

Phong GLSL program:
- move out cumulative ambient light intencity from limited list of lights
- compatibility issues, replace array of structures (light sources, materials, clipping planes) with arrays of primitive types

New Draw Harness command vlight to alter light sources definition.

OpenGl_ShaderProgram::Initialize() - add missing Linker log

5 years agoTest bugs vis bug24130 should be OK when OpenCL is present, corrected
abv [Mon, 4 Nov 2013 18:09:16 +0000]
Test bugs vis bug24130 should be OK when OpenCL is present, corrected

5 years agoDraw_Window - workaround broken Tk.framework installations in OS X SDKs
kgv [Sat, 2 Nov 2013 15:09:03 +0000]
Draw_Window - workaround broken Tk.framework installations in OS X SDKs

5 years ago0024312: Compilation issues on OS X 10.9 Maverics SDK
kgv [Sat, 2 Nov 2013 14:51:57 +0000]
0024312: Compilation issues on OS X 10.9 Maverics SDK

Update glext.h. Fix compiler errors.

5 years ago0024289: Linkage issue on TKViewerTest when built from cbp projects
kgv [Sat, 2 Nov 2013 14:50:30 +0000]
0024289: Linkage issue on TKViewerTest when built from cbp projects

5 years ago0024311: TKOpenGl - desappeared 2D dimension text
kgv [Sat, 2 Nov 2013 14:18:45 +0000]
0024311: TKOpenGl - desappeared 2D dimension text

OpenGl_Text - correct stecil buffer filling

5 years ago0024309: TKOpenGl - Delay release of GLSL resources
kgv [Fri, 1 Nov 2013 17:33:17 +0000]
0024309: TKOpenGl - Delay release of GLSL resources

5 years agoRenaming overview folder
bugmaster [Fri, 1 Nov 2013 13:16:16 +0000]
Renaming overview folder

5 years agoUpdate source files of documentation
bugmaster [Fri, 1 Nov 2013 13:13:56 +0000]
Update source files of documentation

5 years ago0024269: Content of occt documentation should be formated
ysn [Fri, 1 Nov 2013 12:47:47 +0000]
0024269: Content of occt documentation should be formated

building subsection introduced; wok moved to dev guides section;
Requirements and Installation sections were interchanged;
some Unicode characters removed from .md files; \DeclareUnicodeCharacter{00A0}{ } instruction added into refman file
images insertion rolled back to dual html,latex insertion; mainpage now is processed (index.tex);
surplus part of overview has been removed
foundation_classes.md and technical_overview.md updated;
Reviewed step, tobj, xde and partly iges; Corrections in other guides.
Overview installation and requirements changes updated

5 years agoUpdate OCCT version up to 6.7.0 beta
bugmaster [Fri, 1 Nov 2013 12:15:11 +0000]
Update OCCT version up to 6.7.0 beta

5 years agoViewerTest - do not require HAVE_OPENCL for ray-tracing commands
kgv [Fri, 1 Nov 2013 11:08:31 +0000]
ViewerTest - do not require HAVE_OPENCL for ray-tracing commands

Add OpenCL info to dversion command

5 years ago0024250: TKOpenGl - per-pixel lighting using GLSL program (Phong shading)
kgv [Fri, 1 Nov 2013 09:52:19 +0000]
0024250: TKOpenGl - per-pixel lighting using GLSL program (Phong shading)

5 years agoSamples update
kgv [Fri, 1 Nov 2013 08:49:21 +0000]
Samples update

5 years agoOpenGl_Workspace_Raytrace.cxx - include OpenGl_Cl.hxx first
kgv [Fri, 1 Nov 2013 06:03:05 +0000]
OpenGl_Workspace_Raytrace.cxx - include OpenGl_Cl.hxx first

5 years ago0024298: Eliminate GCC compiler warning about unused in linux functions
ski [Fri, 1 Nov 2013 09:32:12 +0000]
0024298: Eliminate GCC compiler warning about unused in linux functions

Eliminated GCC compiler warning about functions for Win platform only.
Illegal function definitions were fixed.

5 years agoUpdate VoxelDemo sample due to changes of issue 0024147
bugmaster [Fri, 1 Nov 2013 06:46:27 +0000]
Update VoxelDemo sample due to changes of issue 0024147

5 years ago0024223: Review of unstable test cases
apn [Fri, 1 Nov 2013 06:19:23 +0000]
0024223: Review of unstable test cases

Modified TODOs in unstable test cases

5 years agoUpdate Animation sample due to changes of 0024267.
bugmaster [Fri, 1 Nov 2013 06:13:07 +0000]
Update Animation sample due to changes of 0024267.

5 years ago0024292: Testing parallelization of BO
ifv [Fri, 1 Nov 2013 06:06:31 +0000]
0024292: Testing parallelization of BO

Small correction of test case for issue CR24292

5 years ago0024286: Wrong result done by General Fuse algorithm.
emv [Thu, 31 Oct 2013 13:25:02 +0000]
0024286: Wrong result done by General Fuse algorithm.

1. Instead of the tolerance value of the face the resolution of the surface of the face is used in
   the Face Classifier algorithm to define the state of the 2d point relative to that face.
2. Replace the vertices involved in PostTreatFF (treatment of section edges) with their images
   (new vertices created in PostTreatFF) in all pave blocks.
3. New value of the result in the test case boolean bsection L8.

Test cases for issue CR24286

5 years ago0024133: Development of improvement of dimensions implementation; new length, radius...
aba [Thu, 31 Oct 2013 12:49:38 +0000]
0024133: Development of improvement of dimensions implementation; new length, radius,diameter and angle dimensions.

Some corrections; test cases were added; coding standards in MFC samples & presentations
Request stencil buffer for Linux.
correct test cases; correct compilation errors
compilation warnings (gcc/Linux)

5 years ago0024153: Adding OpenCL to OCCT prerequisites
ibs [Thu, 31 Oct 2013 11:43:38 +0000]
0024153: Adding OpenCL to OCCT prerequisites

OpenCL is supported by CMake OCCT solution
3rdparty directory is changed to <occt root>
3rdparty seeking in additional places if 3rdparty dir isn't defined

5 years ago0024130: Implementing ray tracing visualization core
dbp [Thu, 31 Oct 2013 11:35:18 +0000]
0024130: Implementing ray tracing visualization core

The purpose of this functionality is to bring a basic ray-tracing solution to existing OCCT visualization toolkit (TKOpenGL).
Currently ray-tracing visualization core supports sharp shadows, specular reflections, transparency and adaptive anti-aliasing.
However, the basis for all ray-tracing algorithms is versatile, allowing you to add new ray-tracing features easily (such as ambient occlusion).
All ray-tracing computations are performed on the GPU using OpenCL framework, allowing real-time rendering performance.

It is important to note, that real-time ray-tracing is possible using high-performance GPUs with support of OpenCL 1.1 and higher (such as NVIDIA GeForce 660 or ATI/AMD Radeon 7850).
When using low-end GPUs (such as NVIDIA GeForce 640) the ray-tracing performance may slow down significantly.
Therefore, even with NVIDIA GeForce 640 you can render scenes with the millions of triangles. The support of OpenCL-enabled CPUs and integrated graphics cards is not guaranteed.

5 years ago0024234: occt master is not compiled by VC++ 2005 (vc8 32/64 bit TKBO)
abv [Wed, 30 Oct 2013 20:44:20 +0000]
0024234: occt master is not compiled by VC++ 2005 (vc8 32/64 bit TKBO)

Fixed building by VS 2005 and VS 2013 (Express):
- macro _WIN32_WINNT defined in BOPCol_TBB.hxx for building with TBB on VS 2005
- compiler warnings specific for VS 2005 (vc8) fixed (explicit casts added in assignment expressions involving small integer types)
- definition of functions atanh, acosh, asinh is avoided for vc12 and later (they are provided by CRT in vc12)
- math constants (M_PI and similar) are defined by including math.h rather than by custom code
- misuse of stream operator << fixed in a few places

5 years ago0024300: Remove unused class MMgt_StackManager
abv [Wed, 30 Oct 2013 13:16:51 +0000]
0024300: Remove unused class MMgt_StackManager

5 years ago0024280: Documentation of TObj_Model::GetFile() is incorrect
kgv [Fri, 25 Oct 2013 05:17:26 +0000]
0024280: Documentation of TObj_Model::GetFile() is incorrect

Do not throw exception when model was not stored yet

5 years ago0024277: DRAW command that shows coordinates of a vertex
ibs [Thu, 31 Oct 2013 09:52:27 +0000]
0024277: DRAW command that shows coordinates of a vertex

"getcoords" command added

"getcoords" moved to BRepTest/BRepTest_BasicCommands

5 years ago0024297: OpenGl_Texture::Release() might call OpenGL functions without active context
kgv [Tue, 29 Oct 2013 10:10:28 +0000]
0024297: OpenGl_Texture::Release() might call OpenGL functions without active context

Add check to Release() method of OpenGl_Texture, OpenGl_ShaderObject, OpenGl_ShaderProgram

5 years ago0024295: vclose behavior is inconsistent
kgv [Thu, 31 Oct 2013 09:46:12 +0000]
0024295: vclose behavior is inconsistent

Process vclose on active view when executed without arguments
Fix trivial warning

5 years ago0024294: Access violation in AIS_InteractiveContext::MoveTo()
kgv [Mon, 28 Oct 2013 12:25:28 +0000]
0024294: Access violation in AIS_InteractiveContext::MoveTo()

5 years ago0024284: Some trivial warnings produced by ICC 14
abv [Thu, 24 Oct 2013 05:22:29 +0000]
0024284: Some trivial warnings produced by ICC 14

Eliminated ICC 14 warnings:
# 82: storage class is not first (e.g. "int static f()"
# 2621: attribute "dllexport" does not apply here (e.g. "Standard_EXPORT typedef int qqint;")
# 2415: variable "..." of static storage duration was declared but never referenced
# 111: statement is unreachable (usually "break" after "return" in cycles)

5 years ago0024282: Shaded presentation is not computed due to exception in StdPrs_ToolShadedSha...
kgv [Thu, 31 Oct 2013 09:28:33 +0000]
0024282: Shaded presentation is not computed due to exception in StdPrs_ToolShadedShape::Normal()

Fix gp_Dir initialization with zero modulus
StdPrs_ToolShadedShape::Normal() - reduce code duplication
Test cases for issue CR24282

5 years agoAdjusting test unstable testing cases in Debug mode for current state of OCCT
mkv [Fri, 25 Oct 2013 09:55:18 +0000]
Adjusting test unstable testing cases in Debug mode for current state of OCCT

5 years agoUpdate CSharp sample (issue 0024147) for current state of OCCT
bugmaster [Fri, 25 Oct 2013 09:52:07 +0000]
Update CSharp sample (issue 0024147) for current state of OCCT

5 years ago0024147: Update of CSharp sample
vdn [Fri, 25 Oct 2013 09:44:45 +0000]
0024147: Update of CSharp sample

Overall revision of of CSharp sample code:
- Pure C++ project "OCC" deleted as unnecessary
- C++/CLI project "shell" renamed to OCCTProxy and refactored to implement all required interface to OCCT functionality.
- In About dialog, date corrected in Copyright statement
- CSharp files re-layouted with 2 spaces indentation
- ReadMe converted to MarkDown format and revised
- Generation of names of views refactored to avoid calling C++ level
- Project files corrected to run on 64-bit systems
- Batch scripts refactored to use OCCT default configuration

WPF front-end added to demonstrate usage of OCCT in WPF applications.
WPF sample was modified, operation Export has been fixed
Exception "Cannot create this file", which appeared by export to image format, has been corrected.
Option "Export image to .xwd" removed.

5 years agoFix cyclic dependency between OpenGl (OpenGl_Vec) and Graphic3d (Graphic3d_ShaderVari...
kgv [Fri, 25 Oct 2013 07:23:16 +0000]
Fix cyclic dependency between OpenGl (OpenGl_Vec) and Graphic3d (Graphic3d_ShaderVariable)

5 years agoEliminate newly appeared warnings
abv [Fri, 25 Oct 2013 02:43:43 +0000]
Eliminate newly appeared warnings

5 years ago0024157: Parallelization of assembly part of BO
pkv [Tue, 22 Oct 2013 09:13:38 +0000]
0024157: Parallelization of assembly part of BO
New metod was implemented to class BOPAlgo_Builder
   - method:
void BOPAlgo_Builder::SetRunParallel(const Standard_Boolean theFlag)
The method sets the flag of parallel processing
 if <theFlag> is true  the parallel processing is switched on
 if <theFlag> is false the parallel processing is switched off
  - method:
Standard_Boolean BOPAlgo_Builder::RunParallel()const
The method returns the  flag of parallel processing

Class BOPTest was changed
   - static function:
Standard_Integer bbuild(Draw_Interpretor& di, Standard_Integer n, const char** a)
The optional parameters [ -s -t ] have been added to the command line of
the command 'bbuild':
bbuild r [-s -t]
-s : builds the result using serial procesing
-t : show the wall time

5 years ago0024267: Exception in Visual3d_ViewManager::Redraw() when color scale is displayed
san [Fri, 18 Oct 2013 09:23:25 +0000]
0024267: Exception in Visual3d_ViewManager::Redraw() when color scale is displayed
Removing V3d_Viewer::Init() and the default views created internally by the viewer.

5 years ago0024270: Port viewer3d mfc sample to new clipping
apl [Mon, 21 Oct 2013 17:28:14 +0000]
0024270: Port viewer3d mfc sample to new clipping

5 years agoCR24212: Moving OCAF samples from 'DRAW' component to OCCT samples.
szy [Wed, 2 Oct 2013 14:21:13 +0000]
CR24212: Moving OCAF samples from 'DRAW' component to OCCT samples.

5 years ago0024273: Eliminate compiler warnings in lex.ExprIntrp.tab.c generated by flex 2.91
abv [Sun, 20 Oct 2013 05:36:51 +0000]
0024273: Eliminate compiler warnings in lex.ExprIntrp.tab.c generated by flex 2.91

Added #include of missing headers; double opening of C comment fixed; some warnings suppressed

5 years ago0024264: OCCT 6.6.0: cutting 1600 cylinders from a box leads to out-of-memory on...
abv [Thu, 24 Oct 2013 09:14:33 +0000]
0024264: OCCT 6.6.0: cutting 1600 cylinders from a box leads to out-of-memory on 32-bit system

Added test case (perf bop boxholes)

5 years ago0024266: Wrong result obtained by 'bopargcheck'
pkv [Thu, 24 Oct 2013 09:12:25 +0000]
0024266: Wrong result obtained by 'bopargcheck'

   - method:IntTools_EdgeFace has been changed
Standard_Boolean IntTools_EdgeFace::IsProjectable(const Standard_Real aT) const
The checking the distance between the point on the curve projected point has been added.

IntTools packages were modified

Test cases for issue CR24266

5 years ago0024192: Adding support for shaders to OCCT visualization toolkit
apl [Mon, 21 Oct 2013 07:47:10 +0000]
0024192: Adding support for shaders to OCCT visualization toolkit

5 years ago0024276: Memory leak due to a static variable
vro [Tue, 22 Oct 2013 04:49:01 +0000]
0024276: Memory leak due to a static variable
Cleaning of selected entities to avoid a memory leak.

5 years ago0024228: TKOpenGL - destroy GL context at view close
apl [Thu, 24 Oct 2013 08:53:42 +0000]
0024228: TKOpenGL - destroy GL context at view close

- OpenGl_Display - release GL resources correctly on closing views
- OpenGl_AspectFace, OpenGl_AspectText, OpenGl_AspectLine, OpenGl_AspectMarker - initialize OpenGl resources on demand, when context is available.
- Graphic3d_TextureRoot - use const modifier for GetId method to avoid asynchronous resource state at OpenGl.
- Do not call OpenGL functions if no active GL context has been left
- Reset thread's context before deletion for Mesa WNT

5 years ago0024271: Provide Boolean operations for NCollection_Map
kgv [Thu, 24 Oct 2013 08:12:42 +0000]
0024271: Provide Boolean operations for NCollection_Map

NCollection_Map - add two maps content Exchange operation without data copying
Add Exchange method to NCollection_DataMap, NCollection_DoubleMap, NCollection_IndexedDataMap, NCollection_IndexedMap
Add NCollection_Map::IsEqual() method
Corrections for gcc - use this->myAllocator

5 years ago0023846: A crash on reading of a VRML file with wrong indices
vro [Thu, 24 Oct 2013 08:00:10 +0000]
0023846: A crash on reading of a VRML file with wrong indices
A check of indices.
Test cases for issue CR23846

5 years ago0024193: Useless iterations in IntStart_SearchOnBoundaries.gxx
ifv [Wed, 16 Oct 2013 07:44:18 +0000]
0024193: Useless iterations in IntStart_SearchOnBoundaries.gxx

5 years ago0024274: Eliminate GCC compiler warning (wrong initialize order)
ski [Mon, 21 Oct 2013 08:04:56 +0000]
0024274: Eliminate GCC compiler warning (wrong initialize order)
Eliminated GCC compiler warning about wrong initialize order

5 years ago0024200: Wrong result obtained by Exterma Curve/Curve
aml [Thu, 24 Oct 2013 07:54:40 +0000]
0024200: Wrong result obtained by Exterma Curve/Curve
changed number of nodes in case of GeomAbs_Line in Extrema_GExtCC::Perform() function.
changed number of nodes in case of GeomAbs_Line in Extrema_GExtCC::Perform().
fixed incorrect indexes and Coeff check in Extrema_CurveCache::Extrema_CurveCache added to avoid int overflow.
Added test case bugs/modalg_5/bug24200
Added check if (aNbS[i] * Coeff[i]) too big in Extrema_GExtCC::Perform().

5 years ago0024206: Exception is raised in the STEP loopback tests.
gka [Thu, 24 Oct 2013 07:48:44 +0000]
0024206: Exception is raised in the STEP loopback tests.

Fixed several cases of potentially uninitialized variables in Shape Healing.
Corrections to avoid warning for unused variable distmini and to avoid regression for case bug22805

5 years ago0024263: TNaming_CopyShape::CopyTool failure
apn [Mon, 21 Oct 2013 13:20:07 +0000]
0024263: TNaming_CopyShape::CopyTool failure

Problem is not reproduced on current state of master. Test case bugs/caf/bug24263 was added.

5 years ago0024257: Minor corrections for building / testing on VC++ 11
abv [Mon, 14 Oct 2013 13:38:02 +0000]
0024257: Minor corrections for building / testing on VC++ 11

Several corrections coming from building and testing on MSVC++ 11:
- compiler warnings corrected in structiges.c (32-bit mode) and BOPAlgo (64-bit mode)
- DRAW command for testing exceptions (OCC6143) refactored for getting some output even if process fails (problem with stack overflow handling)
- DRAW command readstep removed as it leads to hang-up in Debug mode due to waiting for user input; the only test that used it changed to use testreadstep command

5 years agoImprovements IGES and STEP interface in DEBUG mode
apn [Fri, 18 Oct 2013 07:50:48 +0000]
Improvements IGES and STEP interface in DEBUG mode

5 years ago.gitignore - ignore generated sh/bat scripts
kgv [Thu, 17 Oct 2013 10:26:05 +0000]
.gitignore - ignore generated sh/bat scripts

5 years ago0023962: Moving OCCT documentation to sources
ibs [Thu, 17 Oct 2013 08:47:29 +0000]
0023962: Moving OCCT documentation to sources

OCCT documentation (Overview and User Guides) has been converted from MS Word files to text-based MarkDown format and added to OCCT sources, in the new subfolder 'dox'. The HTML and PDF articles can be generated from the sources using Doxygen and MiKTeX. See the file OCCT_Docs_HowTo.md for details on the new documentation system.

This branch includes:

- new folder structure for Open CASCADE documentation
- sources of almost all OCCT User Guides and Overview
- tcl and bat scripts, which allow to generate HTML and PDF articles

5 years ago0024227: Enable SSE2 instructions for OCCT building
abv [Thu, 17 Oct 2013 05:20:30 +0000]
0024227: Enable SSE2 instructions for OCCT building

CMake script changed: SSE2 option is disabled for 64-bit MSVC compilers (redundant)

5 years ago0024144: BRepPrimAPI_MakeWedge wrong
aml [Thu, 17 Oct 2013 08:36:38 +0000]
0024144: BRepPrimAPI_MakeWedge wrong

fixed direction computing in gp_Lin Primitives_Wedge::Line.
Test cases for issue CR24144

5 years ago0024244: Command bclear in DRAW does not clear all the data required for BOP re-initi...
abv [Thu, 17 Oct 2013 08:28:37 +0000]
0024244: Command bclear in DRAW does not clear all the data required for BOP re-initialization
In BOPTest_Objects::Clear() added clearing of the objects and tools of the operation.

Test cases for issue CR24244

5 years ago0024157: Parallelization of assembly part of BO
pkv [Thu, 17 Oct 2013 08:26:19 +0000]
0024157: Parallelization of assembly part of BO

v0.0

I. New features:
no new features

II. Changes:
II.1. class BRepClass3d
   - method:
Standard_Integer BRepClass3d_SolidExplorer::OtherSegment(const gp_Pnt& P,
 gp_Lin& L,  Standard_Real& _Par)
The condition to prevent infinite loop has been added.

III. Modified entities:
packages:
BRepClass3d

Added test case bugs/modalg_5/bug24242

The phase 1 : Parallelization Building Faces.
Part 1.2. Building Same Domain Faces
Combined by pkv

Small correction of test case for issue CR24157_3

5 years ago0024259: Clean up OSD_File implementation
abv [Tue, 15 Oct 2013 02:58:03 +0000]
0024259: Clean up OSD_File implementation

Field myFileChannel removed from OSD_FileNode and introduced to OSD_File as Linux-only along with Windows-only myFileHandle.
Implementation of OSD_File cleaned from redundant type casts; some missing type cases added.
File mode passed to fdopen() corrected in read-write case ("rw" replaced by "w+").
Method OSD_File::Size() now returns Standard_Size to be able to return correct value for large files (on 64-bit platforms only).

5 years ago0024256: TKOpenGl - C++/CLI application compilation issue due to namespaces collision
kgv [Mon, 14 Oct 2013 11:04:28 +0000]
0024256: TKOpenGl - C++/CLI application compilation issue due to namespaces collision

5 years ago0024242: Hang-up during classification a 3D point relative to a solid
pkv [Thu, 17 Oct 2013 08:19:24 +0000]
0024242: Hang-up during classification a 3D point relative to a solid

v0.0

I. New features:
no new features

II. Changes:
II.1. class BRepClass3d
   - method:
Standard_Integer BRepClass3d_SolidExplorer::OtherSegment(const gp_Pnt& P,
 gp_Lin& L,  Standard_Real& _Par)
The condition to prevent infinite loop has been added.

III. Modified entities:
packages:
BRepClass3d

Added test case bugs/modalg_5/bug24242

5 years ago0024247: Wrong result obtained by General Fuse algorithm
pkv [Thu, 17 Oct 2013 08:17:35 +0000]
0024247: Wrong result obtained by General Fuse algorithm

v0.0

I. New features:
no new features

II. Changes:
II.1. class BOPAlgo_PaveFiller
   - method:
void BOPAlgo_PaveFiller::PerformFF()
Prepare data to the filter BOPAlgo_PaveFiller::::CheckPlanes(...).

   - method:
Standard_Boolean
  BOPAlgo_PaveFiller::CheckPlanes(const Standard_Integer nF1,
  const Standard_Integer nF2)const
1)The contents of the filter has been updated by all vertices of the faces images.
2)The method declared as const

III. Modified entities:
packages:
BOPAlgo

Test cases for issue CR24247

5 years ago0023650: Slow mesher: one bspline surface, 80 seconds for 132 triangles
aml [Thu, 17 Oct 2013 08:14:52 +0000]
0023650: Slow mesher: one bspline surface, 80 seconds for 132 triangles
Corrections in GeomLib::NormEstim, added norm computing using GeomLProp_SLProps.
Corrections in GeomLib::NormEstim, normal is computed with CSLib::Normal in case of a null normal.
Modified GeomLib::NormEstim Algo in case of null normal.
Added test case bugs/mesh/bug23650

5 years ago0024246: Draw command stepread given whithout arguments throws an exception
emv [Thu, 17 Oct 2013 08:07:09 +0000]
0024246: Draw command stepread given whithout arguments throws an exception

To stepread command added check for the number of arguments.
Minor correction (return 1 to indicate error)

5 years ago0024227: Enable SSE2 instructions for OCCT building
ibs [Fri, 11 Oct 2013 05:55:50 +0000]
0024227: Enable SSE2 instructions for OCCT building
sse2 if used for just vc7, vc8, vc9 and vc10

5 years ago0024224: Suspicious logics in changing clipping planes at OpenGl_Structure
apl [Thu, 10 Oct 2013 13:14:52 +0000]
0024224: Suspicious logics in changing clipping planes at OpenGl_Structure

1) Resolved buggy situation of shared clip planes between view and structure;
2) Added clipping plane equation space identification - to be used with shaders;
3) Code refactoring to resolve performance issue reported by 0024189;
4) Attachment of stencil buffer to FBO.

Added test case bugs/vis/bug24224

5 years ago0024245: TKOpenGL - use Message_Messenger interface to report issues
kgv [Thu, 10 Oct 2013 04:41:05 +0000]
0024245: TKOpenGL - use Message_Messenger interface to report issues

5 years agoRemoving test case bugs/vis/buc60547 according to issue 23922 (test is meaningless...
apn [Thu, 10 Oct 2013 11:15:16 +0000]
Removing test case bugs/vis/buc60547 according to issue 23922 (test is meaningless and it sometimes hang-ups)

5 years ago0024231: Test case update for bug 23654
dbv [Mon, 7 Oct 2013 08:05:29 +0000]
0024231: Test case update for bug 23654
Test case update

5 years ago0024236: Eliminate GCC compiler warning (uninitialized variables)
ski [Thu, 10 Oct 2013 10:47:21 +0000]
0024236: Eliminate GCC compiler warning (uninitialized variables)

5 years ago0024239: Eliminate GCC compiler warning (multi-line comment)
ski [Tue, 8 Oct 2013 12:06:12 +0000]
0024239: Eliminate GCC compiler warning (multi-line comment)

5 years ago0024222: Compiler warnings 'unreacheable code' and 'conditional expression is constan...
aml [Thu, 10 Oct 2013 10:43:03 +0000]
0024222: Compiler warnings 'unreacheable code' and 'conditional expression is constant' in MOA

Eliminated MSVS L4 warnings.
fixed incorrect break invoking in edge searching in SplitEdge.

5 years ago0024227: Enable SS2 instructions for OCCT building
abv [Thu, 10 Oct 2013 10:41:01 +0000]
0024227: Enable SS2 instructions for OCCT building

Test for exceptions corrected to handle FPE when built with with SSE2 option on Windows (NumericError raised instead of specific exceptions)
New test for performance of bspline intersections added

sse2 added; build bitness hardlinked to compiler

"bitness" variable was hidden

5 years ago0024230: TKOpenGl - request debug context by default in debug mode
kgv [Tue, 8 Oct 2013 13:04:22 +0000]
0024230: TKOpenGl - request debug context by default in debug mode

Enable GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB only for debug builds.

5 years ago0024225: TKOpenGL, OpenGl_FrameBuffer - Wrong ID is used for attachement of depth...
kgv [Fri, 4 Oct 2013 18:44:26 +0000]
0024225: TKOpenGL, OpenGl_FrameBuffer - Wrong ID is used for attachement of depth RenderBuffer to FBO

5 years ago0024220: bopargcheck returns valid for C0 shape but results of boolean operations...
emv [Thu, 10 Oct 2013 10:27:16 +0000]
0024220: bopargcheck returns valid for C0 shape but results of boolean operations are broken with such shapes

Added check for C0 geometries to bopargcheck command.
Test cases for issue CR24220

5 years ago0024235: BRepBuilderAPI_Sewing - add protection against too small tolerance
kgv [Mon, 7 Oct 2013 11:53:19 +0000]
0024235: BRepBuilderAPI_Sewing - add protection against too small tolerance