apn [Thu, 11 Dec 2014 14:22:01 +0000 (17:22 +0300)]
0024938: BRepMesh_IncrementalMesh hangs
Added test case bugs/mesh/bug24938
Small corrections in test case bugs/mesh/bug24938
oan [Thu, 11 Dec 2014 14:15:42 +0000 (17:15 +0300)]
0025378: Building of triangulation for distored surfaces can take very long using BRepMesh_IncrementalMesh
New parameter MinSize has been introduced to BRepMesh and GCPnts_TangentialDeflection;
Check length of remaining part of curve for min size parameter instead of distance between two points to avoid large gaps in case highly distorted BSpline surfaces;
Produce fine mesh for sphere and fix other surface;
Test cases for issue CR25378
Correction of test cases for issue CR25378
pkv [Thu, 11 Dec 2014 13:53:12 +0000 (16:53 +0300)]
0025509: Wrong shape considered as valid by checkshape
New features:
1. class BRepCheck_Solid
The class is to check a solid per se.
The scan area is:
i. Shells that overlaps each other
Status: BRepCheck_InvalidImbricationOfShells
ii. Detached parts of the solid (vertices, edges)
that have non-internal orientation
Status: BRepCheck_BadOrientationOfSubshape
iii. For closed, non-internal shells:
iii.1 Shells containing entities of the solid that
are outside towards the shells
Status: BRepCheck_SubshapeNotInShape
iii.2 Shells that encloses other Shells
(for non-holes)
Status: BRepCheck_EnclosedRegion
Changes:
1. enumeration BRepCheck_Status
members:
InvalidImbricationOfShells,
EnclosedRegion,
has been added
2. class BRepCheck
method:
void BRepCheck::Print(const BRepCheck_Status stat,
Standard_OStream& OS)
has been modified to take into account II.1
3. class BRepCheck_Analyzer
method:
void BRepCheck_Analyzer::Put(const TopoDS_Shape& S,
const Standard_Boolean B)
has been modified to take into account I.1
4. class BRepTest
function:
void StructuralDump(Draw_Interpretor& theCommands,
const BRepCheck_Analyzer &theAna,
const Standard_CString ShName,
const Standard_CString Pref,
const TopoDS_Shape &theShape)
has been modified to take into account I.1, II.1
Test cases for issue CR25509
Correction of test cases for issue CR25509
ski [Thu, 11 Dec 2014 13:47:12 +0000 (16:47 +0300)]
0023493: Incorrect QAGetPixelColor usage
Usage of QAGetPixelColor were checked and corrected.
Using simple comparison instead of regexp.
Improved usage of command vreadpixel for standard colors.
Command QAGetPixelColor was dropped from TKQADraw.
Procedures "checkcolor" and auxiliary "checkpoint" were moved to DrawResources/TestCommands.tcl
Some test cases using "checkcolor" for picking line color were simplified.
Procedures checkcolor and checkpoint were changed to handle situation when pixel is out of view.
Removed unnecessary use of command "vaspects -setwidth" in tests.
Revert -setwidth change in test bugs/vis/bug23525
msv [Thu, 11 Dec 2014 13:42:45 +0000 (16:42 +0300)]
0025568: SIGSEGV in thrusections with edge without 3D curve
-Set algorithm flag NotDone if there is a non-degenerated edge with absent 3D curve.
-Check IsDone flag in thrusection command.
-Add test case bugs/modalg_5/bug25568.
Small correction of test case for issue CR25568
aml [Thu, 11 Dec 2014 13:40:37 +0000 (16:40 +0300)]
0025558: It is impossible to restore attached shape
Condition of adding one last knot corrected.
Test-case for issue #25558
nbv [Wed, 10 Dec 2014 13:18:05 +0000 (16:18 +0300)]
0025124: [Feature request] Removal of continuity checks for offset geometries
Sometimes curve or surface, which is defined as C0, has continuity G1 or above. Offset can be built from these shapes.
Therefore, this extended checking was added into SetBasisCurve and SetBasisSurface methods.
Main changes in function BRepOffset_Tool::ExtentFace(...):
* "return" is added if intersection (in 2D-space) between two edges in a face cannot be found.
Basis curve/surface continuity value found (if G1-checking is OK) is set up as BasisContinuity (see myBasisCurveContinuity and myBasisSurfContinuity members which is returned by GetBasisCurveContinuity and GetBasisSurfContinuity() methods). This fact is used in Geom2dAdaptor and in GeomAdaptor classes.
Possibility is entered, which allows for basis elements of offset curve/surface to avoid of C0-checking.
Test cases were changed according to their new behavior.
Test-cases for issue #25124
jgv [Thu, 11 Dec 2014 13:34:23 +0000 (16:34 +0300)]
0025193: Bad Intersection curveobtained by Surface/Surface Intersection Algorithm.
Test case for issue CR25193
Correction of test case for issue CR25193
aml [Mon, 8 Dec 2014 06:22:35 +0000 (09:22 +0300)]
0025561: OCCT can't compile with OCCT_DEBUG flag
Restored function "Value" with old signature used in OCCT_DEBUG block.
kgv [Thu, 11 Dec 2014 13:29:53 +0000 (16:29 +0300)]
0025546: Visualization - remove unused methods and classes from package Aspect
Remove global methods Aspect::ToCString(), Aspect::ValuesOfFOSP(), Aspect::Inverse().
Remove class Aspect_Edge, Aspect_Array1OfEdge and Aspect_EdgeDefinitionError.
Remove enumerations Aspect_TypeOfFont, Aspect_TypeOfText, Aspect_CardinalPoints,
Aspect_TypeOfRenderingMode, Aspect_TypeOfColorSpace, Aspect_FormatOfSheetPaper.
update MFC samples
ifv [Thu, 11 Dec 2014 13:27:38 +0000 (16:27 +0300)]
0024643: No section curve between plane and cone
Test case for issue CR24643
Correction of test case for issue CR24643
kgv [Tue, 9 Dec 2014 11:27:43 +0000 (14:27 +0300)]
0025575: Visualization - remove V3d_Static.hxx
oan [Thu, 11 Dec 2014 13:19:31 +0000 (16:19 +0300)]
0025519: BRepMesh can break mesh regularity for BSpline surfaces
Compute parameters to produce regular grid and add new internal points according to calculated values.
Use intervals as an additional parameters to determine regular grid for BSpline surfaces.
Test case for issue CR25519
Correction of test case for issue CR25519
Correction of test cases for issue CR25519
aml [Thu, 11 Dec 2014 13:17:04 +0000 (16:17 +0300)]
0025559: SIGSEGV in TKMath when computing max tolerance of curve on surface
Fixed possible being outside the boundaries. Changed check math_Recipes to work with NaN, Inf, Ind.
Test case for issue CR25559
oan [Thu, 11 Dec 2014 13:14:38 +0000 (16:14 +0300)]
0025547: static class mehtods not exported in BrepMesh_GeomTool
Test case for issue CR25547
azv [Thu, 11 Dec 2014 13:06:35 +0000 (16:06 +0300)]
0025555: Wrong result of classification of a point relative to solid
Implemented additional verification that the point found by Extrema is placed inside the face. This way turns off searching the additional inner point.
Test case for issue CR25555
azv [Fri, 5 Dec 2014 11:29:49 +0000 (14:29 +0300)]
0025468: GeomConvert_ApproxSurface should have a constructor for adaptors
Additional constructors were implemented into classes:
GeomConvert_ApproxCurve
GeomConvert_ApproxSurface
Geom2dConvert_ApproxCurve
aba [Wed, 3 Dec 2014 15:21:00 +0000 (18:21 +0300)]
0025492: the selected subshape does not have topological relationship with orginal shape in OCC680:
returned identity owner location if the selectable object has identity transformation.
jgv [Thu, 11 Dec 2014 12:43:42 +0000 (15:43 +0300)]
0025557: Draw command "openoffset" fails on customer's shape with big values of offset
Test cases for issue CR25557
msv [Thu, 11 Dec 2014 12:40:05 +0000 (15:40 +0300)]
0025453: SIGSEGV in BRepFill_Sweep::BuildShell
Fixed the bug causing exception when the first edge in generated sweep occurs to be degenerated.
Comments have been added.
Test-case for issue #25453
kgv [Thu, 4 Dec 2014 12:31:31 +0000 (15:31 +0300)]
0025544: Visualization, TKOpenGl - support grayscale textures
Image_PixMap::ImgFormat - extend enumeration by ImgAlpha and ImgAlphaF.
OpenGl_Workspace::setTextureParams() - specify GL_REPLACE for 1-component textures with disabled modulation.
OpenGl_Texture::GetDataFormat() - return GL_LUMINANCE format for ImgGray format and GL_ALPHA for ImgAlpha.
vmarkerstest - override pixel format for grayscale images to ImgAlpha.
Add test case bugs/vis/bug25544_graytexture.
oan [Wed, 3 Dec 2014 08:51:58 +0000 (11:51 +0300)]
0021593: Small improvement
New parameter for BRepMesh; Test case
bugmaster [Fri, 5 Dec 2014 11:39:29 +0000 (14:39 +0300)]
Adjusting new testing cases
dbp [Fri, 5 Dec 2014 09:16:11 +0000 (12:16 +0300)]
0025398: Modeling Algorithms - Provide shape proximity detector
Correction of test case for issue CR25398
ink [Thu, 4 Dec 2014 12:48:16 +0000 (15:48 +0300)]
0025518: Colors are not written to IGES 5.3
Writing of colors to IGES Face (510) and Solid (186) entities allowed since this is used by CAD systems (even if not allowed by IGES standard).
Color assigned to surface, face and solid entities to ensure that different CAD systems will recognize them.
Test-case for issue #25518
ski [Thu, 4 Dec 2014 12:09:23 +0000 (15:09 +0300)]
0023983: Cpulimit doesn't kill test cases
Modified command cpulimit using OSD_Timer and method ElapsedTime()
Enabled elapsed time control on Linux.
Added resetting of elapsed timer.
Unused variables were removed
Definition of OSD_Timer aTimer was replaced.
Correction of thread terminating on linux.
aml [Thu, 4 Dec 2014 12:04:22 +0000 (15:04 +0300)]
0024988: Wrong result done by projection algorithm
Wrong border 1.0e-9 jump has deleted. Added periodicity information when projecting to surface.
Period "jump" bug fixes.
AppCont_LeastSquare conversion to non cdl class.
AppCont_Function + AppCont_FunctionTool combined in one class providing the same functionality and converted to non cdl.
Testcase modification.
Test cases for issue CR24988
Fixed incorrect comparison.
nbv [Thu, 4 Dec 2014 08:23:14 +0000 (11:23 +0300)]
0025465: Excess vertex in the result of CUT operation
Branches CR25465 and CR25488 were squashed and rebased on the current MASTER (12/01/2014)
kgv [Thu, 4 Dec 2014 11:52:49 +0000 (14:52 +0300)]
0025511: Visualization - drop redundant viewer option V3d_View::Transparency()
Visual3d_ViewManager, activate texturing by default.
Update Qt sample
abv [Thu, 4 Dec 2014 11:46:41 +0000 (14:46 +0300)]
0024944: New custom-built Tcl is source of distribution problems
Option to link to MS run-time library statically added in description of building of Tcl/Tk from sources
Spelling corrections
Order of sections corrected in "Debug tools and hints"
san [Thu, 4 Dec 2014 11:14:14 +0000 (14:14 +0300)]
0025528: Visualization - Exception on removing an interactive object from a local context
AIS_LocalContext::Remove() corrected to unbind the argument from
myActiveObjects at the very end. Also some code clean up applied
(e.g. duplicated AddOrRemoveSelected() call removed, formatting corrected).
code formatting
kgv [Sat, 22 Nov 2014 12:19:49 +0000 (15:19 +0300)]
0025484: Visualization - group sub-shapes with the same style in XCAFPrs_AISObject::Compute()
mkv [Mon, 1 Dec 2014 08:01:56 +0000 (11:01 +0300)]
Adjusting CPU time for new testing cases.
emv [Fri, 28 Nov 2014 10:25:00 +0000 (13:25 +0300)]
0025470: Wrong result of COMMON operation
Fix for correct splitting of infinite faces.
Test cases for issue CR25470
kgv [Fri, 28 Nov 2014 10:22:41 +0000 (13:22 +0300)]
0025514: TKernel, OSD_Timer - do not accumulate error in timer within queries in running state
Test-case for issue #25514
Update of test-case
aml [Fri, 28 Nov 2014 10:19:30 +0000 (13:19 +0300)]
0025487: Extrema_GenExtPS needs to be optimized
Better caching and cashe usage in Extrema_GenExtPS.
Test-cases for issue #25487
Update of test-cases
msv [Fri, 28 Nov 2014 10:03:57 +0000 (13:03 +0300)]
0025503: BRepMesh - IncrementalMesh always re-meshes the shape even if existing triangulation satisfies the given deflection
Test case for issue CR25503
Correction of test cases for issue CR25503
kgv [Tue, 25 Nov 2014 05:52:08 +0000 (08:52 +0300)]
0025304: Visualization, TKOpenGl - support texturing within built-in GLSL programs
kgv [Sun, 23 Nov 2014 14:29:38 +0000 (17:29 +0300)]
0025474: Visualization, TKOpenGl - support lighting + colored vertices within built-in GLSL programs
emv [Fri, 28 Nov 2014 09:23:58 +0000 (12:23 +0300)]
0025477: Boolean Operations with additional tolerance - Fuzzy Boolean operations
Implementation of Fuzzy Boolean operations. Such operations allow to perform Boolean operations on the shapes
with near-coincidence between the entities of these shapes, i.e. between shapes in which some entities from one shape
are intended to be coincide with some entities from the other, but the coincidence is not precise.
API for Boolean operations has been improved to have a possibility to add new options.
Modified entities:
1. New option of setting additional tolerance have been added to the following classes:
class BOPAlgo_ArgumentAnalyzer
class BOPAlgo_BOP
class BOPAlgo_Builder
class BOPAlgo_MakerVolume
class BOPAlgo_PaveFiller
class BOPDS_DS
class BRepAlgoAPI_BooleanOperation
class BRepAlgoAPI_Check
class BRepAlgoAPI_Common
class BRepAlgoAPI_Cut
class BRepAlgoAPI_Fuse
class BRepAlgoAPI_Section
2. Following draw commands have been modified to support new functionality:
BOP commands:
bop b1 b2 [tol]
bcommon r b1 b2 [tol]
bcut r b1 b2 [tol]
bfuse r b1 b2 [tol]
bsection r s1 s2 [-n2d/-n2d1/-n2d2] [-na] [tol]
mkvolume r b1 b2 ... [-c] [-ni] [-s] [tol]
bfillds [-s -t] [tol]
Check commands:
bopcheck Shape [level of check: 0 - 9] [-t -s] [-tol tol]
bopargcheck [-F/O/C/T/S/U] [/R|F|T|V|E|I|P|C|S]] [#BF] [-tol tol]
3. Two new classes have been added to API to provide the root interface for algorithms
class BRepAlgoAPI_Algo
class BRepAlgoAPI_BuilderAlgo
Fix to eliminate the warning.
Test-cases for issue #25477
osa [Fri, 28 Nov 2014 09:19:35 +0000 (12:19 +0300)]
0025507: Visualization - the method V3d_View::Place() is incorrect
Test was updated
Correction of test case for issue CR25507
apn [Fri, 7 Nov 2014 13:14:04 +0000 (16:14 +0300)]
0025339: Draw command "mkoffset" does not take into account "intersection" mode on faces
Added test case bugs/modalg_5/bug25339
kgv [Thu, 27 Nov 2014 14:21:19 +0000 (17:21 +0300)]
0025527: Documentation - remove redundant references to OpenCL
apn [Tue, 18 Nov 2014 10:41:56 +0000 (13:41 +0300)]
0023460: Update QT products samples
Rename all generation-vc-projects.bat (in OCCT) to genproj.bat.
Fixed warnings in VoxelDemo.
bugmaster [Fri, 21 Nov 2014 13:16:24 +0000 (16:16 +0300)]
Incrementation of OCCT version up to 6.8.1 dev
mkv [Fri, 21 Nov 2014 10:24:35 +0000 (13:24 +0300)]
0025354: Intersection operation
Adding test cases
bugmaster [Fri, 21 Nov 2014 13:10:52 +0000 (16:10 +0300)]
0025494: Wrong result obtained by projection algorithm
Calculation of last parameter of projected curve was changed for the projecting of a curve to surface of revolution, if the curve is intersected with the axis of revolution
Test case for issue CR25494
razmyslovich [Wed, 19 Nov 2014 10:39:04 +0000 (11:39 +0100)]
0025498: CMake refuses to build OCCT without any 3rd party libraries
Adding guards for empty CMake variables
kgv [Fri, 14 Nov 2014 09:55:57 +0000 (12:55 +0300)]
0025459: Visualization - AIS_ColoredShape::SetMaterial() should not reset custom colors
pkv [Fri, 21 Nov 2014 12:39:24 +0000 (15:39 +0300)]
0025505: General Fuse produces self-intersection shape
Changes:
class BOPAlgo_BuilderSolid
method:
void BOPAlgo_BuilderSolid::PerformAreas()
The misprint has been corrected
Test case for issue CR25505
azv [Fri, 21 Nov 2014 12:35:44 +0000 (15:35 +0300)]
0025504: Exception raised during projection curve on surface
Avoid moving of projected point to a boundary of surface
Test case for CR25504
kgv [Fri, 21 Nov 2014 12:34:16 +0000 (15:34 +0300)]
0025500: Visualization, TKOpenGl - global trihedron should not inherit transformation from last object
Test case for CR25500
jgv [Fri, 21 Nov 2014 12:22:22 +0000 (15:22 +0300)]
0025491: BRepOffsetAPI_MakeOffset algorithm crashes on customer's shape and big value of offset
Test case for CR25491
Correction of test case for issue CR25491
gka [Fri, 21 Nov 2014 11:51:01 +0000 (14:51 +0300)]
0025455: fixshape works at the second attempt
Added check and fix of tolerances of all vertices after performing all fixes.
It is necessary to avoid situation when point of vertex belonging a few faces was changed for current face
but edges containing this vertex belonging before fixed face are not taking into account.
Mode FixVertexTolMode to manage check tolerance of vertices was added in ShapeFix_Shape
class. (default value is equal to -1)
Method to change FixVertexTolMode mode FixVertexTolMode() was added in ShapeFix_Shape class
Test case for CR25455
nbv [Fri, 21 Nov 2014 11:44:01 +0000 (14:44 +0300)]
0025488: Wrong result of two trimmed cylinders intersection
1. Function IsSame(...) for IntSurf_PntOn2S was added (see IntSurf_PntOn2S.cdl for detail information).
2. Inserting additional points is forbidden if existing WLine contains only two points coincided.
Test-case for issue #25488
oan [Fri, 21 Nov 2014 11:15:34 +0000 (14:15 +0300)]
0025469: BRepMesh corrupts triangulation of another not connected shape
Do not clean polygons that are created for different faces not connected with current shape.
Remove old code producing additional points for BSpline curves due to fix #24959.
Test cases fir issue CR25469
Revert changes producing additional points for BSpline curves with C1 continuity
Test cases fir issue CR25469
Correction of test cases for issue CR25469
oan [Thu, 13 Nov 2014 16:40:57 +0000 (19:40 +0300)]
0025479: BRepTools::Clean() cleans all edge polygons, even related to different shapes
jgv [Fri, 21 Nov 2014 11:04:52 +0000 (14:04 +0300)]
0025480: Incorrect result of BRepOffsetAPI_MakePipe
Test case for CR25480
isk [Wed, 12 Nov 2014 11:27:50 +0000 (14:27 +0300)]
0025436: Visualization - AIS_InteractiveContext::HilightPreviousDetected() should switch from first value in the list to the last
kgv [Fri, 14 Nov 2014 14:24:56 +0000 (17:24 +0300)]
0025483: Visualization, TKOpenGl - fix memory leak due to unused stack in OpenGl_StateInterface
pkv [Fri, 21 Nov 2014 10:58:02 +0000 (13:58 +0300)]
0025456: BOPAlgo_CheckerSI reports an error on the given shape
Changes:
1. class IntTools_FaceFace
method:
void IntTools_FaceFace::MakeCurve(const Standard_Integer Index,
const Handle(Adaptor3d_TopolTool)& dom1,
const Handle(Adaptor3d_TopolTool)& dom2)
The value of testing parameter has been changed for the cases of infinite curves
Test case for issue CR25456
jgv [Fri, 21 Nov 2014 10:55:11 +0000 (13:55 +0300)]
0025451: BRepFilletAPI_MakeFillet fails on customer's shape when small radius of fillet is given
Test-case for issue #25451
Update of test-cases
pkv [Fri, 21 Nov 2014 10:50:44 +0000 (13:50 +0300)]
0025449: Excess vertex in result of General Fuse operation.
Changes:
1. class IntTools_EdgeFace
method:
Standard_Boolean IntTools_EdgeFace::CheckTouchVertex
(const IntTools_CommonPrt& aCP,
Standard_Real& aTx)
The parametric size of the contact zone between vertex and face has been changed
Test cases for issue CR25449
pkv [Fri, 21 Nov 2014 10:48:35 +0000 (13:48 +0300)]
0025450: Common operation returns wrong shape
Changes:
class BOPAlgo_PaveFiller
method:
void BOPAlgo_PaveFiller::PerformEF()
The index of the face has been added in post-treatment map
Test cases for issue CR25450
Correction of test case for issue CR25450
jgv [Fri, 21 Nov 2014 10:46:20 +0000 (13:46 +0300)]
0025460: BRepOffsetAPI_ThruSections fails on customer's shape (wing on 11 sections)
Test-case for issue #25460
pkv [Fri, 21 Nov 2014 10:44:01 +0000 (13:44 +0300)]
0025432: Wrong result obtained by MakerVolume operator.
Changes:
class BOPTools_AlgoTools
static function:
Standard_Boolean FindPointInFace(const TopoDS_Face& aF,
const gp_Pnt& aP,
gp_Dir& aDB,
gp_Pnt& aPOut,
Handle(IntTools_Context)& theContext,
GeomAPI_ProjectPointOnSurf& aProjPL,
const Standard_Real aDt,
const Standard_Real aTolE)
Binormal calculation starts from the point located outside the tolerance circle of the edge
Test case for issue CR25432
Correction of test cases for issue CR25432
aml [Fri, 31 Oct 2014 12:23:24 +0000 (15:23 +0300)]
0025321: Test case bugs/modalg_5(010)/bug24981 hangs in Debug mode on Debian60-64 platform
Eliminated possible inifite loop when projecting curve on surface.
azv [Fri, 21 Nov 2014 10:34:42 +0000 (13:34 +0300)]
0024697: Exception is raised during projection of the curve on the surface
The curve is trimmed since now in the boundaries of surface
Test case for issue CR24697
Behavior for trimming periodic curves was changed
aba [Thu, 30 Oct 2014 14:06:58 +0000 (17:06 +0300)]
0025430: DRAW Test Harness: dimensions demo fails
- corrected vdimparam help string;
- added section model file to prevent changing of subshapes order after explode call
apn [Mon, 10 Nov 2014 10:14:44 +0000 (13:14 +0300)]
Update of template for compilation in debug mode
bugmaster [Fri, 7 Nov 2014 14:56:30 +0000 (17:56 +0300)]
Incrementation of OCCT version up to 6.8.0
kgv [Fri, 7 Nov 2014 08:20:13 +0000 (12:20 +0400)]
0025195: Samples - add Java sample for Android 4.x
ibs [Fri, 3 Oct 2014 10:11:30 +0000 (14:11 +0400)]
0025149: Samples - add Qt5/QML sample for Android 4.x
emv [Thu, 6 Nov 2014 14:39:01 +0000 (18:39 +0400)]
0025446: The method BRepAlgoAPI_BooleanOperation::IsDeleted() returns TRUE for the faces contained in the result of BOP
1. The method
Standard_Boolean BOPAlgo_Builder::IsDeleted
(const TopoDS_Shape& theS)
has been modified to return TRUE only if the shape theS has been deleted.
2. Added new draw (QA) command OCC25446 to test this method.
apn [Fri, 7 Nov 2014 10:58:19 +0000 (13:58 +0300)]
0025420: Wrong result obtained by General Fuse operator.
Added test case bugs/modalg_5/bug25420
bugmaster [Fri, 7 Nov 2014 11:18:45 +0000 (14:18 +0300)]
Update CMakeLists.txt for standard mfc sample
kgv [Thu, 6 Nov 2014 16:21:39 +0000 (19:21 +0300)]
0025438: Visualization, TKOpenGl - always setup viewport within OpenGl_Workspace::Redraw()
suppress new warning
oan [Thu, 6 Nov 2014 13:05:14 +0000 (16:05 +0300)]
0025445: Draw command incmesh should support all parameters used in BRepMesh
Test-case for issue #25445
apn [Thu, 6 Nov 2014 11:55:10 +0000 (14:55 +0300)]
0025270: OCCT fails to calculate extrema between extruded surface and line
Added test case bugs/modalg_5/bug25270
Roman Lygin [Fri, 31 Oct 2014 12:40:03 +0000 (16:40 +0400)]
0025439: Enabling shape binary persistence without OCAF
pdn [Wed, 22 Oct 2014 08:17:10 +0000 (12:17 +0400)]
0025367: IGES and BRep persistence - support unicode file names on Windows
OSD_OpenFile.hxx header is created for using in file open operations with Unicode names.
Fix for STEP files reading.
Adding test cases for issue 25367
Update test case for issue 25364
Update test cases due to improvements
oan [Wed, 5 Nov 2014 14:57:41 +0000 (17:57 +0300)]
0025364: BRepMesh is not able to triangulate the shape with fine deflection
Don't create data structures for whole set of faces. Necessary structures are created directly in BRepMesh_FastDiscret.
Don't copy nodes data during scaling, single structure is used.
Remove lines used for debug
Fix sphere: resolve problem came from merging.
Keep code clean - remove unnecessary logic, expected to be used for complicated restoration process.
Test cases for issue CR25364
kgv [Fri, 31 Oct 2014 12:33:12 +0000 (15:33 +0300)]
0025438: Visualization, TKOpenGl - always setup viewport within OpenGl_Workspace::Redraw()
duv [Mon, 3 Nov 2014 20:18:25 +0000 (23:18 +0300)]
0024381: Visualization, TKOpenGl - revise matrices stack and usage of temporary matrices
0025301: Visualization, TKOpenGl - transpose matrix manually before glUniformMatrix4fv()
OpenGl_View::ReleaseGlResources() - release GL resources of trihedron, do not destroy it
kgv [Sat, 1 Nov 2014 00:42:31 +0000 (20:42 -0400)]
0025442: Visualization, TKOpenGl - prevent inclusion of system header glxext.h
Define GLX_GLXEXT_LEGACY in addition to GL_GLEXT_LEGACY to prevent implicit
inclusion of header GL/glxext.h by system header GL/glx.h
Update glext.t to current state.
kgv [Sat, 1 Nov 2014 07:50:43 +0000 (10:50 +0300)]
0025443: Documentation - update packages names in Building 3rd-party libraries on Linux
Update README files for samples
isz [Fri, 31 Oct 2014 15:37:45 +0000 (18:37 +0300)]
0025343: Visualization - Update user's guide and DRAW commands description
Redesign of Visualisation user guide's structure with some changes in the guide.
Update Draw_test_harness user guide. Added dimension commands to DRAW test harness.
Update of prerequisites and building 3rd party tools sections
Move VIS draw tests to Draw Test Harness section.
Additionally, fix bugs 24117 and 25353.
Correct output of new imaged in PDF in modeling algos guide and errors introduced by bug 24699 in the overview.
razmyslovich [Wed, 20 Aug 2014 13:17:53 +0000 (15:17 +0200)]
0025174: Provide ShapeCustom and BRepModifier with ProgressIndicator and ReShape features
Conflicts:
src/TNaming/TNaming_Name.cxx
aml [Wed, 5 Nov 2014 14:26:31 +0000 (17:26 +0300)]
0024934: Section: crash for two faces
Added protection from null vertexes.
Test case for issue CR24934
ski [Thu, 30 Oct 2014 13:03:24 +0000 (16:03 +0300)]
0024548: Ray Tracing mode not available in MFC samples
Ray tracing functionality was added to OCCT MFC samples.
apn [Fri, 31 Oct 2014 13:58:29 +0000 (16:58 +0300)]
0025157: Face missing depending the angle of revolution
Added test case bugs/mesh/bug25157
apn [Fri, 31 Oct 2014 13:46:53 +0000 (16:46 +0300)]
0022125: TCollection_ExtendedString: conversion from UTF-8 to unicode
Added test case bugs/fclasses/bug22125
azv [Wed, 5 Nov 2014 14:02:23 +0000 (17:02 +0300)]
0025413: Line-Shape intersection algorithm became 400 times slower
Changed the procedure of creating initial samples
Test-case for issue #25413
abv [Tue, 28 Oct 2014 09:41:04 +0000 (12:41 +0300)]
0025418: Debug output to be limited to OCC development environment
Macros ending on "DEB" are replaced by OCCT_DEBUG across OCCT code; new macros described in documentation.
Macros starting with DEB are changed to start with "OCCT_DEBUG_".
Some code cleaned.
apn [Fri, 31 Oct 2014 12:08:49 +0000 (15:08 +0300)]
0025307: Problems resulted from re-triangulation
Added test case bugs/mesh/bug25307
apn [Fri, 31 Oct 2014 10:34:03 +0000 (13:34 +0300)]
0024519: Intersection of a cylinder and a plane does not return
Added test case bugs/modalg_5/bug24519
apn [Fri, 31 Oct 2014 09:28:02 +0000 (12:28 +0300)]
0025281: BRepMesh_IncrementalMesh does not return
Added test case bugs/mesh/bug25281
ifv [Wed, 5 Nov 2014 13:44:37 +0000 (16:44 +0300)]
0025427: Algorithm of building plane from wire hangs
Test-case for issue #25427
bugmaster [Wed, 5 Nov 2014 12:53:31 +0000 (15:53 +0300)]
Update for building with MS Visual C++ without VTK 3rdparty products
nbv [Thu, 30 Oct 2014 11:26:16 +0000 (14:26 +0300)]
0025410: Tool for extended check of validity of the curve on the surface
Modifications:
1. class BOPTools_AlgoTools
1.1. method
Standard_Boolean BOPTools_AlgoTools::ComputeTolerance
(const Handle(Geom_Curve)& theCurve3D,
const Handle(Geom2d_Curve)& theCurve2D,
const Handle(Geom_Surface)& theSurf,
const Standard_Real theFirst,
const Standard_Real theLast,
Standard_Real& theMaxDist,
Standard_Real& theMaxPar)
It computes the max distance between points taken from 3D and 2D curves by the same parameter
1.2. method
Standard_Boolean BOPTools_AlgoTools::ComputeTolerance
(const TopoDS_Face& theFace,
const TopoDS_Edge& theEdge,
Standard_Real& theMaxDist,
Standard_Real& theParameter)
Computes the valid value of the tolerance for the edge using the function above.
2. Added possibility to check shape on the validity of the curves on the surfaces.
2.1. New status BOPAlgo_InvalidCurveOnSurface has been added to the enumeration BOPAlgo_CheckStatus
2.2. class BOPAlgo_ArgumentAnalyzer
method
void BOPAlgo_ArgumentAnalyzer::TestCurveOnSurface()
It checks each edge/face pair in the shape using the method ComputeTolerance from BOPTools_AlgoTools and stores invalid pairs to myResults.
Invalid pairs are those which contain the edge with tolerance value less then the value computed by the ComputeTolerance method.
2.3. class BOPAlgo_CheckResult
Added new fields:
myMaxDist1 : Real from Standard;
myMaxDist2 : Real from Standard;
myMaxPar1 : Real from Standard;
myMaxPar2 : Real from Standard;
and corresponding setters and getters.
These fields are used to store the results of the TestCurveOnSurface() check.
3. Added new option to the bopargcheck command and two new commands.
class BOPTest_CheckCommands
3.1. command bopargcheck
As it is using the BOPAlgo_ArgumentAnalyzer class to check the shapes
it checks also the validity of the curves on the surfaces.
The output for the invalid shapes is following:
Draw[]> bopargcheck b2 /ic #f
Made faulty shape: s1COnS_1 (MaxDist = 0.
0013334343378738308, MaxPar = 0.
02884285498274167)
Made faulty shape: s1COnS_2 (MaxDist = 0.
0013334340648766174, MaxPar = 0.
02884285497934707)
Made faulty shape: s1COnS_3 (MaxDist = 0.
0013335086668628978, MaxPar = 1.
4133051942712607)
Made faulty shape: s1COnS_4 (MaxDist = 0.
0013335086525838983, MaxPar = 1.
4133051942713901)
Faulties for FIRST shape found : 4
---------------------------------
Shapes are not suppotrted by BOP: NO
Self-Intersections : NO
Check for SI has been aborted : NO
Too small edges : NO
Bad faces : NO
Too close vertices : NO
Too close edges : NO
Shapes with Continuity C0 : NO
Invalid Curve on Surface : YES Cases(4) Total shapes(8)
Faulties for SECOND shape found : 0
The compounds s1COnS_* contain pair of edge and face.
MaxDist is maximal distance between points taken from 3D curve of the edge and 2D curve of that edge on the face.
MaxPar is a parameter in which the MaxDist is reached.
To disable this check it is necessary to use option /S (bopargcheck shape /S).
3.2. command xdistef
Usage of the command:
xdistef edge face
It computes distance between points taken from 3D curve of the edge and 2D curve of that edge on the face.
Example:
Draw[]> explode s1COnS_1
s1COnS_1_1 s1COnS_1_2
Draw[]> whatis s1COnS_1_1
s1COnS_1_1 is a shape EDGE FORWARD Modified Orientable
Draw[]> whatis s1COnS_1_2
s1COnS_1_2 is a shape FACE FORWARD Modified Orientable
Draw[]> xdistef s1COnS_1_1 s1COnS_1_2
Max Distance = 0.
0013334343378738308; Parameter on curve = 0.
02884285498274167
3.3. command checkcurveonsurf
Usage of the command:
checkcurveonsurf shape.
It checks each edge/face pair in the shape using the method ComputeTolerance from BOPTools_AlgoTools.
Example:
Draw[]> checkcurveonsurf b2
Invalid curves on surface:
edge e_0 on face f_0 (max dist: 0.
0013334343378738, parameter on curve: 0.
0288428549827417)
edge e_1 on face f_0 (max dist: 0.
0013334340648766, parameter on curve: 0.
0288428549793471)
edge e_2 on face f_1 (max dist: 0.
0013335086668629, parameter on curve: 1.
4133051942712607)
edge e_3 on face f_1 (max dist: 0.
0013335086525839, parameter on curve: 1.
4133051942713901)
Sugestions to fix the shape:
explode b2 e;
settolerance b2_6 0.
0013335086668629;
settolerance b2_7 0.
0013334343378738;
settolerance b2_8 0.
0013334340648766;
settolerance b2_10 0.
0013335086525839;
The command gives suggestions to fix the shape by increasing tolerance values of the invalid edges.
In some cases the tolerance values suggested by the tool can be very large.
Such values should be used very carefully, because setting large tolerance values to the sub-shapes
of the shape can make it non valid (self-interfered) or lead to unexpected result when using
such shapes in some operations (boolean for example).
Test case for issue CR25410