occt.git
4 years ago0026671: Infinite loop in ShapeFix_Wire::FixSelfIntersection()
abv [Mon, 21 Sep 2015 03:08:22 +0000]
0026671: Infinite loop in ShapeFix_Wire::FixSelfIntersection()

Avoid possible infinite loops in ShapeFix_Wire::FixSelfIntersection() -- when needed, fix is repeated once instead of going back in the loop

4 years ago0025617: Avoid classes with a copy constructor and the default destructor or assignme...
azn [Wed, 17 Dec 2014 08:17:28 +0000]
0025617: Avoid classes with a copy constructor and the default destructor or assignment operator

Removed useless user-defined copy constructors and assignment operators in BOPCol_NCVector, NCollection_Mat4, NCollection_Vec*

User-defined assignment operator matching copy constructor added in NCollection_StdAllocator.

Class VrmlData_DataMapOfShapeAppearance redefined as simple typedef to NCollection_DataMap<>.

4 years ago0025618: Avoid classes with an assignment operator and not implementing both a destru...
azn [Wed, 17 Dec 2014 08:06:13 +0000]
0025618: Avoid classes with an assignment operator and not implementing both a destructor and a copy constructor

User-defined assignment operator is removed in the classes IntPolyh_StartPoint and Quantity_Color, as default assignment will be OK

4 years ago0025571: Avoid base Classes without virtual Destructors
abv [Mon, 21 Sep 2015 13:38:01 +0000]
0025571: Avoid base Classes without virtual Destructors

Destructors of collection classes from NCollection and math_Function are made virtual to allow safe destruction by pointer to base class.

Destructors of classes HatchGen_IntersectionPoint, IntCurveSurface_Intersection, Intf_Interference, IntRes2d_Intersection are made protected to avoid possibility of destructing by pointer to corresponding base class.

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

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

4 years ago0026710: Coding rules - eliminate GCC warning -Wunused-result in Voxel_Reader.cxx
kgv [Sat, 19 Sep 2015 08:14:01 +0000]
0026710: Coding rules - eliminate GCC warning -Wunused-result in Voxel_Reader.cxx

4 years ago26428: TNaming_Selector::Solve crash for empty named shape.
szy [Thu, 24 Sep 2015 09:36:11 +0000]
26428: TNaming_Selector::Solve crash for empty named shape.

Test case for issue CR26428

4 years ago0026680: Visualization - Changed behavior of mesh visualization and selection in...
vpa [Thu, 17 Sep 2015 15:57:48 +0000]
0026680: Visualization - Changed behavior of mesh visualization and selection in OMF sample

- handling of global selection mode was added to MeshVS_Mesh;
- corrected unhighlight of interactives with auto-highlight disabled;
- test case for issue 0026680.

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

4 years ago0026683: VRML 2.0: ImageTexture node not written
agv [Wed, 16 Sep 2015 09:55:49 +0000]
0026683: VRML 2.0: ImageTexture node not written

4 years ago0022972: Eliminate macro definitions that has compiler-provided analogs (WNT and...
akz [Tue, 15 Sep 2015 14:46:43 +0000]
0022972: Eliminate macro definitions that has compiler-provided analogs (WNT and so on)

1) Macro definition WNT replaced by _WIN32 and _MSC_VER for platform and compiler detection accordingly.
2) Macro definition LIN replaced by __linux__ macro.
3) Macro definition DEB replaced by OCCT_DEBUG macro.

4 years ago0026371: Implementation of new entities for GD&T
ika [Thu, 24 Sep 2015 09:12:47 +0000]
0026371: Implementation of new entities for GD&T

Implement entities:
- DatumReferenceCompartment,
- DatumReferenceElement,
- DatumReferenceModifierWithValue,
- DatumSystem,
- GeneralDatumReference,

- ValueFormatTypeQualifier,

- NonUniformZoneDefinition,
- ProjectedZoneDefinition,
- RunoutZoneDefinition,
- RunoutZoneOrientation,
- ToleranceZone,
- ToleranceZoneDefinition,
- ToleranceZoneForm,
- ToleranceZoneTarget,

- GeometricToleranceWithDefinedAreaUnit,
- GeometricToleranceWithDefinedUnit,
- GeometricToleranceWithMaximumTolerance,
- GeometricToleranceWithModifiers,
- UnequallyDisposedGeometricTolerance,

- GeometricItemSpecificUsage,
- IdAttribute,
- IdAttributeSelect,
- ItemIdentifiedRepresentationUsage,
- ItemIdentifiedRepresentationUsageDefinition,

- Apex,
- CentreOfSymmetry,
- GeometricAlignment,
- ParallelOffset,
- PerpendicularTo,
- Tangent,

- AllAroundShapeAspect,
- BetweenShapeAspect,
- CompositeGroupShapeAspect,
- ContinuosShapeAspect,

- ReprItemAndLengthMeasureWithUnitAndQRI,
- ReprItemAndPlaneAngleMeasureWithUnitAndQRI,
- ReprItemAndPlaneAngleMeasureWithUnit,

- CompGroupShAspAndCompShAspAndDatumFeatAndShAsp,
- CompShAspAndDatumFeatAndShAsp,

- GeoTolAndGeoTolWthDatRef,
- GeoTolAndGeoTolWthDatRefAndGeoTolWthMod,
- GeoTolAndGeoTolWthMod,
- GeoTolAndGeoTolWthDatRefAndUneqDisGeoTol,

- IntegerRepresentationItem,
- ValueRepresentationItem.

Modify entities:
- GeometricTolerance,
- GeometricToleranceWithDatumReference,
- ShapeDimensionRepresentation.

fix compilation error

fix compilation warning

4 years agoUpdating service files of Voxel demo
bugmaster [Wed, 23 Sep 2015 13:38:36 +0000]
Updating service files of Voxel demo

4 years ago0026676: Visualization, Ray Tracing - correct rendering if stereo pair
apl [Thu, 17 Sep 2015 17:50:57 +0000]
0026676: Visualization, Ray Tracing - correct rendering if stereo pair

- Fixed interpolation of ray direction vector for asymmetric frustum (stereo left/right eye). Unnecessary normalization of direction vector affecting the frustum's geometry was removed.
- Fixed usage of projection type argument passed when rendering immediate graphics with stereo projection.

4 years ago0024776: Visualization - inherit OpenGl_View from Graphic3d_CView
apl [Tue, 22 Sep 2015 08:49:33 +0000]
0024776: Visualization - inherit OpenGl_View from Graphic3d_CView

Expose interface of OpenGl_View (OpenGL graphics rendering methods) to client code
and collecting all high-level API methods of application views in V3d_View class.

1) Exposing interface of OpenGl_View:

The OpenGl_View inherits from new class Graphic3d_CView.
Graphic3d_CView is an interface class that declares abstract methods for managing displayed structures,
display properties and a base layer code that implements computation
and management of HLR (or more broadly speaking view-depended) structures.

In new implementation it takes place of eliminated Visual3d_View.
As before the instance of Graphic3d_CView is still completely managed by V3d_View classes.
It can be accessed through V3d_View interface but normally this should not be required as all its methods are completely wrapped.

In more details, a concrete specialization of Graphic3d_CView is created and returned by graphical driver on request.
Right after creation the views is directly used for setting rendering properties and adding graphical structures to be displayed.

The rendering of graphics is possible after mapping a window and activating the view.
The direct setting of properties makes obsolete usage of intermediate structures with display parameter
like Visual3d_ContextView and etc (the whole package of Visual3d become redundant).

2) Collecting all high-level API methods of application views in V3d package:

The patch includes elimination of Visual3d layer.
All of its methods that could be previously used by application are now exposed and should be accessed on the level of V3d entities.
- Introduced new class Graphic3d_CView.
  This is a base class for render views.
  Made possible to specialize concrete instances of the class by graphical driver.
- Moved all methods managing rendering views into interface of Graphic3d_CView.
  The corresponding methods were removed from interface of graphical driver.

3) Eliminated Visual3d package:

- Logic of managing display of structures was put from Visual3d_ViewManager into Graphic3d_StructureManager.
- Removed Visual3d_View class. Logic of managing computed structures was put into base layer of Graphi3d_CView.
- Removed all intermediate structures for storing view parameters e.g. Visual3d_ContextView.
  All settings are kept by instances of Graphic3d_CView
- Removed Visual3d_Light intermediate class.
  All light properties are still stored in Graphic3d_CLight structure.
  The structure is directly access by instance of V3d_Light classes.
- Moved all needed enumerations into Graphic3d package.

4) Update package D3DHost to new changes.

5) Update code of OCCT samples to new changes.

4 years agoAdjusting test cases at current state of OCCT master
apv [Fri, 18 Sep 2015 10:27:58 +0000]
Adjusting test cases at current state of OCCT master

4 years agoUpdate samples for VC++ 2013
bugmaster [Fri, 18 Sep 2015 09:46:25 +0000]
Update samples for VC++ 2013

4 years ago0026196: Wrong result obtained by projection algorithm.
aml [Thu, 17 Sep 2015 14:09:20 +0000]
0026196: Wrong result obtained by projection algorithm.

Improved periodicity handling when trimmed parameters became unclosed or nonperiodic, but underlying geometry closed or periodic.
Added possibility to not perform trim in GeomAdaptor::MakeSurface.

Minor corrections.

Test-case for issue #26196

Correction of comments

4 years ago0026616: Memory leak in IntTools_Context::Hatcher
pkv [Thu, 17 Sep 2015 13:10:18 +0000]
0026616: Memory leak in IntTools_Context::Hatcher

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

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

Test-case for issue #26616

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

Fix missed parameter.

Test case for issue CR26532

4 years ago0026588: SIGSEGV in BRepFeat_MakeDPrism::Perform()
ifv [Thu, 17 Sep 2015 11:39:05 +0000]
0026588: SIGSEGV in BRepFeat_MakeDPrism::Perform()

Test case for issue CR26588

4 years ago0026674: Performance regression in BRepExtrema_DistShapeShape in OCCT 6.9.0 in compar...
nbv [Thu, 17 Sep 2015 10:55:39 +0000]
0026674: Performance regression in BRepExtrema_DistShapeShape in OCCT 6.9.0 in compare with OCCT 6.7.1

Creation the test case for current issue.

Added flag for single extrema computation. Now implemented only for parametric solver GenExtCC.
Default behavior of curve/curve solver in distmini command changed to "find one solution".

4 years ago0026687: SIGSEGV in BRepBuilderAPI_MakeFace
nbv [Thu, 17 Sep 2015 10:52:17 +0000]
0026687: SIGSEGV in BRepBuilderAPI_MakeFace

1. Check face location has been added.
2. Message, if mkplane command fails, has been added.
3. Test case for this issue has been created.

Changes in accordance with the remark.

Small correction of test case for issue CR26687

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

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

4 years ago0026642: ShapeUpgrade_UnifySameDomain introduces extremely high vertex tolerances
nbv [Thu, 17 Sep 2015 10:46:54 +0000]
0026642: ShapeUpgrade_UnifySameDomain introduces extremely high vertex tolerances

Algorithm of computation of safe shift value along 2D-line (in order to distance between two points was less than tolerance) has been improved.

Correction of some test cases in accordance with their new behavior.

Test-case for issue #26642

Small correction of test-case

Small correction of test-case bugs heal bug26642

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

4 years ago0026657: Data Exchange - IGES/STEP OCAF writers should keep hierarchy and colors...
gka [Thu, 10 Sep 2015 07:54:21 +0000]
0026657: Data Exchange - IGES/STEP OCAF writers should keep hierarchy and colors when saving non-root elements

Make modification to save in the file part of the XCAF document starting from specified label.
If specified label is component of the high-level assembly then high-level assembly is saved in document with one specified component.
In other case only part of the document starting from the specified label is saved.

4 years ago0026515: Exponential memory usage problems with BOPDS_IndexedMapOfPaveBlock and NColl...
isn [Thu, 17 Sep 2015 10:26:46 +0000]
0026515: Exponential memory usage problems with BOPDS_IndexedMapOfPaveBlock and NCollection_IncAllocator

Correcting the usage of NCollection_IncAllocator

Conflicts:
src/BOPAlgo/BOPAlgo_BOP.cxx
src/BOPAlgo/BOPAlgo_Builder.cxx
src/BOPAlgo/BOPAlgo_BuilderSolid.cxx
src/BOPAlgo/BOPAlgo_Builder_2.cxx
src/BOPAlgo/BOPAlgo_MakerVolume.cxx
src/BOPAlgo/BOPAlgo_PaveFiller.cdl
src/BOPAlgo/BOPAlgo_PaveFiller_1.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_10.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_3.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_4.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_5.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_6.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_7.cxx
src/BOPAlgo/BOPAlgo_PaveFiller_8.cxx
src/BOPAlgo/BOPAlgo_Section.cxx
src/BOPDS/BOPDS_DS.cxx
src/BOPDS/BOPDS_Iterator.cxx
src/BOPDS/BOPDS_IteratorSI.cxx
src/BOPDS/BOPDS_SubIterator.cxx
src/BOPTest/BOPTest_BOPCommands.cxx
src/BOPTest/BOPTest_PartitionCommands.cxx
src/IntTools/IntTools_Context.cxx

additional corrections

Adaptation of test case bugs fclasses bug7287_1 (limit for detection of memory leak reduced due to leak reduction)

Adjusting test-case bugs fclasses bug7287_1

4 years ago0026567: Exception in Boolean intersection command
nbv [Mon, 14 Sep 2015 10:02:11 +0000]
0026567: Exception in Boolean intersection command

Test case for this issue

4 years ago0026651: IntTools_FClass2d gives incorrect result of classification
ifv [Fri, 11 Sep 2015 11:01:45 +0000]
0026651: IntTools_FClass2d gives incorrect result of classification

4 years ago0026419: [Regression?] Export of a reversed face leads to crash in 6.9.0 although...
ika [Tue, 8 Sep 2015 13:20:42 +0000]
0026419: [Regression?] Export of a reversed face leads to crash in 6.9.0 although proceeded in 6.8.0

Take basis surface from trimmed surfaces during IGES writing, because pcurves will be transformed, so trim will be shifted, accorded to new face bounds,
fix updating of seam edge,
change condition of using Segment during exporting periodic BSpline surfaces to IGES (if bounds are not in one period).

Test cases for issue CR26419

4 years ago0026586: Eliminate compile warnings obtained by building occt with vc14: declaration...
ski [Tue, 8 Sep 2015 12:41:26 +0000]
0026586: Eliminate compile warnings obtained by building occt with vc14: declaration of local variable hides previous local declaration

Eliminated warnings about "declaration of some local variable hides previous local declaration"

4 years ago0026640: ShapeFix_Edge::FixAddPCurve problem in OCC 6.8
nbv [Fri, 11 Sep 2015 08:44:32 +0000]
0026640: ShapeFix_Edge::FixAddPCurve problem in OCC 6.8

Create test case for this issue

4 years ago0026099: Wrong result done by 2d intersection algorithm
nbv [Thu, 17 Sep 2015 09:46:15 +0000]
0026099: Wrong result done by 2d intersection algorithm

Detection of intersection for almost parallel lines has been improved.

Test-case for issue #26099 and adjusting of test-case boolean volumemaker B6

4 years ago0026690: Problem of compilation on imac monoblock
isk [Tue, 15 Sep 2015 13:36:50 +0000]
0026690: Problem of compilation on imac monoblock

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

"vc14" compiler name added to CMake building script

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

4 years agoThe removing unstable status from test case
apn [Fri, 11 Sep 2015 09:50:16 +0000]
The removing unstable status from test case

4 years ago0026663: Test cases for BRepOffset_Makeoffset
ski [Fri, 11 Sep 2015 09:00:15 +0000]
0026663: Test cases for BRepOffset_Makeoffset

4 years ago0026606: Test cases for BRepProj_Projection
ski [Fri, 11 Sep 2015 09:21:46 +0000]
0026606: Test cases for BRepProj_Projection

Test cases provided

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

a misprint in the if statement fixed

4 years ago0026478: There is a lack of documentation on OCAF / Topological naming
ysn [Thu, 10 Sep 2015 14:49:32 +0000]
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.

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

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

4 years ago0026587: Infinite calculations of BRepOffset_MakeOffset
mkv [Thu, 10 Sep 2015 13:47:01 +0000]
0026587: Infinite calculations of BRepOffset_MakeOffset

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

4 years ago0026245: Unable to write SAT file by default
abv [Mon, 31 Aug 2015 04:00:57 +0000]
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.

4 years ago0026637: Save function works incorrect in OCAF mfc sample
ski [Tue, 8 Sep 2015 09:49:19 +0000]
0026637: Save function works incorrect in OCAF mfc sample

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

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

Update AIS_InteractiveContext::EraseSelected() method.

Fix HLR sample

Fix samples.

4 years ago0026665: Visualization, TKOpenGl - specify precision for integer uniforms explicitly...
kgv [Wed, 9 Sep 2015 07:29:43 +0000]
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.

4 years ago0026644: ShapeUpgrade_UnifySameDomain - strange behavior
gka [Thu, 10 Sep 2015 14:11:05 +0000]
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

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

4 years ago0026583: Eliminate compile warnings obtained by building occt with vc14: declaration...
ski [Wed, 9 Sep 2015 09:56:09 +0000]
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"

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

4 years ago0026584: Eliminate compile warnings obtained by building occt with vc14: declaration...
ski [Tue, 18 Aug 2015 11:47:04 +0000]
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"

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

4 years ago0025162: Visualization, TKOpenGl - drop GLU library dependency
isk [Tue, 8 Sep 2015 12:15:04 +0000]
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.

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

Test case for issue CR26636

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

4 years ago0025777: the standard views are defined incorrectly and mismatch the old display.
isk [Mon, 7 Sep 2015 13:17:29 +0000]
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.

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

4 years ago0026288: Offset on faces with opposite orientation
isn [Thu, 10 Sep 2015 13:21:32 +0000]
0026288: Offset on faces with opposite orientation

Test-case for issue #26288

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

Test cases for issue CR26313

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

Test case for issue CR26173

4 years ago0026017: Unstable behavior of test cases with boolean operations
apn [Mon, 7 Sep 2015 14:56:35 +0000]
0026017: Unstable behavior of test cases with boolean operations

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

4 years ago0026462: Visualization - selection does not adapt to line width change
vpa [Fri, 28 Aug 2015 19:25:45 +0000]
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

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

4 years ago0026488: The class ShapeUpgrade_UnifySameDomain is not documented.
isn [Fri, 7 Aug 2015 16:04:44 +0000]
0026488: The class ShapeUpgrade_UnifySameDomain is not documented.

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

4 years ago0026195: Visualization - optimize selection algorithms
vpa [Mon, 31 Aug 2015 07:29:53 +0000]
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.

4 years ago0024097: BRepAlgoAPI_Section returns wrong result
abv [Sat, 5 Sep 2015 13:09:48 +0000]
0024097: BRepAlgoAPI_Section returns wrong result

Test case added: bugs modalg_6 bug24097

4 years ago0026522: Exception while copying offset on C0 surface
anv [Thu, 10 Sep 2015 11:27:50 +0000]
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)

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

This reverts commit 7dfac274a6939d62ac2d7b164105ae10a6bc9b97.

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

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

4 years ago0026556: Infinite calculations of BRepOffset_MakeOffset
aml [Thu, 20 Aug 2015 07:24:15 +0000]
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

4 years agoCorrections made for OCCT 6.9.1.beta
abv [Thu, 3 Sep 2015 06:51:15 +0000]
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

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

Replace macros by enum Resource_KindOfLine.

4 years ago0026244: Destructive results of simplification with DRAW command 'unifysamedom' after...
isn [Thu, 3 Sep 2015 12:24:12 +0000]
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

4 years ago0026618: CMake should disable ability to use 3rdparty if there is no any included...
ibs [Mon, 31 Aug 2015 12:11:27 +0000]
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.

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

implicit tbb linkage disabled

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

OCCT_ALGO_EXTENDED_OUTPUT variable introduced

4 years ago0026591: Header collecting in CMake configuration process does not consider 'patch...
ibs [Thu, 6 Aug 2015 17:59:26 +0000]
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

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

Restored old constructor and old behavior where possible.

Minor correction.

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

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

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

4 years ago0025789: Visualization - get rid of obsolete 2d layers implementation
isz [Thu, 3 Sep 2015 11:52:01 +0000]
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.

4 years ago0026536: Visualization - Ray-tracing engine: improving BVH traverse and fixing textur...
dbp [Thu, 27 Aug 2015 09:46:22 +0000]
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.

4 years ago0026601: Visualization, Ray Tracing - make Path Tracing results reproducible for...
kgv [Tue, 25 Aug 2015 12:43:31 +0000]
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.

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

Degenerated case fixed.

4 years ago0026610: Configuration - workaround vc12 compilation error in Select3D_SensitiveCircl...
kgv [Fri, 28 Aug 2015 07:12:41 +0000]
0026610: Configuration - workaround vc12 compilation error in Select3D_SensitiveCircle (2 overloads have similar conversions)

Cast bool to Standard_Boolean explicitly.

4 years ago0026440: Invalid shape as a result of solid construction in BRepOffset_MakeOffset
aml [Thu, 3 Sep 2015 11:40:03 +0000]
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

4 years ago0026451: Crash importing STeP file
ika [Thu, 3 Sep 2015 11:36:27 +0000]
0026451: Crash importing STeP file

Add check for NULL.

Test case for issue CR26451

4 years ago0026611: Visualization, TKService - fix NULL-dereference in Font_FontMgr on broken...
kgv [Thu, 3 Sep 2015 11:26:30 +0000]
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

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

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

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

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

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

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

4 years ago0026498: BRepOffsetAPI_MakeOffset causes segmentation fault
isn [Thu, 27 Aug 2015 10:52:14 +0000]
0026498: BRepOffsetAPI_MakeOffset causes segmentation fault

Test case for issue CR26498