6 years ago0025265: Perspective projection - selecting front point of two
apl [Tue, 14 Oct 2014 11:47:34 +0000 (15:47 +0400)]
0025265: Perspective projection - selecting front point of two

6 years agoFix compilation without TBB (VC9)
abv [Fri, 17 Oct 2014 08:50:49 +0000 (12:50 +0400)]
Fix compilation without TBB (VC9)

6 years agoCorrection of testing cases
mkv [Fri, 17 Oct 2014 12:39:54 +0000 (16:39 +0400)]
Correction of testing cases

6 years agoEliminating of warning
bugmaster [Fri, 17 Oct 2014 12:38:33 +0000 (16:38 +0400)]
Eliminating of warning

6 years ago0025266: Debug statements in the source are getting flushed on to the console
abv [Thu, 16 Oct 2014 12:45:55 +0000 (16:45 +0400)]
0025266: Debug statements in the source are getting flushed on to the console

Suppress remaining couts in packages explicitly mentioned in the original bug description

Correction of test cases for issue CR25266

6 years ago0025313: Review of TODOs in test cases for unused platforms
apn [Wed, 1 Oct 2014 13:24:00 +0000 (17:24 +0400)]
0025313: Review of TODOs in test cases for unused platforms

TODOs for unused platforms were deleted. Issue 22988 was closed.

6 years ago0023547: Tests failures in debug mode
nbv [Fri, 26 Sep 2014 11:32:46 +0000 (15:32 +0400)]
0023547: Tests failures in debug mode

1. DRAW-commands for curve/surface continuity returning were changed.
2. Output of "distmini" DRAW-command is amended.
3. Function MinMax() was moved from Standard_Real to IntPatch_ImpImpIntersection_4.gxx.
4. Incorrect computing of nbcurveC1 in Geom2dConvert::C0BSplineToC1BSplineCurve(...) function was liquidated.

Test cases were changed.

6 years ago0025266: Debug statements in the source are getting flushed on to the console
dbv [Wed, 8 Oct 2014 15:00:20 +0000 (19:00 +0400)]
0025266: Debug statements in the source are getting flushed on to the console

Output to cout activated previously in Debug mode by #ifdef DEB is suppressed by using macro <PACKAGE>_DEB instead of DEB

6 years ago0025369: Visualization, Image_AlienPixMap - handle UTF-8 names in image read/save...
kgv [Thu, 16 Oct 2014 12:13:20 +0000 (16:13 +0400)]
0025369: Visualization, Image_AlienPixMap - handle UTF-8 names in image read/save operations on Windows

Test-case for issue #25369

6 years ago0025340: Visualization, AIS_InteractiveContext - properly apply selection filters...
kgv [Thu, 16 Oct 2014 12:07:36 +0000 (16:07 +0400)]
0025340: Visualization, AIS_InteractiveContext - properly apply selection filters at Neutral point

Do not use myMainSel->OnePicked() in AIS_InteractiveContext::MoveTo().

Test-case for issue #25340

6 years ago0025100: Self-intersection of surfaces with using GeomAPI_IntSS rises run-time check...
nbv [Wed, 15 Oct 2014 06:41:17 +0000 (10:41 +0400)]
0025100: Self-intersection of surfaces with using GeomAPI_IntSS rises run-time check failure

1. Bug command added.
2. Dynamic array is used in place of static.

6 years ago0025370: Visualization - misprint in PrsMgr_PresentationManager::Connect()
kgv [Tue, 14 Oct 2014 15:07:00 +0000 (19:07 +0400)]
0025370: Visualization - misprint in PrsMgr_PresentationManager::Connect()

fix theMode -> theOtherMode

6 years ago0025383: Broken vrecord command
san [Wed, 15 Oct 2014 14:06:52 +0000 (18:06 +0400)]
0025383: Broken vrecord command

Pass HWND of the current 3D view to OpenGl_AVIWriter::StartRecording()
in order to make it work.

6 years ago0025365: Regressions after changes in IsClosed flag
abv [Mon, 13 Oct 2014 16:44:33 +0000 (20:44 +0400)]
0025365: Regressions after changes in IsClosed flag

Restore previous behavior of BRep_Tool::IsClosed() for shells: empty shells and shells containing only INTERNAL or EXTERNAL sub-shapes are considered non-closed.

6 years ago0025363: Visualization - add test command for V3d_View::FitAll by view area
apl [Wed, 15 Oct 2014 08:01:16 +0000 (12:01 +0400)]
0025363: Visualization - add test command for V3d_View::FitAll by view area

6 years ago0021802: Not all names are transferred from STEP to IGES via XDE
dbv [Thu, 16 Oct 2014 11:35:22 +0000 (15:35 +0400)]
0021802: Not all names are transferred from STEP to IGES via XDE

Method IGESCAFControl_Writer::WriteNames now iterates over all nested assemblies and collects names for shapes.
Regression fix
Test-case for issue #21802

6 years ago0025319: Bop Common produces strange results with same shapes.
emv [Thu, 16 Oct 2014 11:30:12 +0000 (15:30 +0400)]
0025319: Bop Common produces strange results with same shapes.

class BOPAlgo_Builder
  void BOPAlgo_Builder::FillIn3DParts
    (BOPCol_DataMapOfShapeListOfShape& theInParts,
     BOPCol_DataMapOfShapeShape& theDraftSolids,
     const BOPCol_BaseAllocator&)
Sort faces before its classification relatively to the solid.

Test cases for issue CR25319

Correction of test cases for issue CR25319

6 years ago0025245: General Fuse operation regression
emv [Thu, 16 Oct 2014 11:26:20 +0000 (15:26 +0400)]
0025245: General Fuse operation regression

class BOPDS_DS
  void BOPDS_DS::InitPaveBlocks(const Standard_Integer theI)
Correct treatment of internal edges.

Test cases for the issue.

Correction of test cases for issue CR25245

6 years ago0023753: Test case bugs modalg_2 bug19793_2 works too long on Linux platform
emv [Thu, 16 Oct 2014 11:14:05 +0000 (15:14 +0400)]
0023753: Test case bugs modalg_2 bug19793_2 works too long on Linux platform

class IntTools_ShrunkRange
method void IntTools_ShrunkRange::Perform()
Fix to avoid creation of small section edges.

Correction of test case for issue CR23753

6 years ago0025358: Visualization - method V3d_View::Reset has incorrect condition for update
osa [Mon, 13 Oct 2014 12:53:19 +0000 (16:53 +0400)]
0025358: Visualization - method V3d_View::Reset has incorrect condition for update

6 years ago0025366: Method AIS_MultipleConnectedInteractive::AcceptShapeDecomposition() should...
kgv [Mon, 13 Oct 2014 14:33:41 +0000 (18:33 +0400)]
0025366: Method AIS_MultipleConnectedInteractive::AcceptShapeDecomposition() should be exported

6 years ago0025317: Failure on attempt to save an Ocaf document with a long double array attribu...
vro [Thu, 16 Oct 2014 11:01:33 +0000 (15:01 +0400)]
0025317: Failure on attempt to save an Ocaf document with a long double array attribute in a Xml file

A draw-command SetRealArrayValue. It is necessary to reproduce the crash.
A fix + some additional draw-commands
Test cases for issue CR25317

6 years ago0025276: Visualization - Lighting is broken if some kinds of transformation applied...
duv [Fri, 26 Sep 2014 10:41:51 +0000 (14:41 +0400)]
0025276: Visualization - Lighting is broken if some kinds of transformation applied to a shape

In order to solve the problem, triangle vertices order is inverted in
mirrored mesh (triangulation). Mesh considered to be mirrored if its
transformation matrix determinant is less than 0.

To handle AIS object mirror transformations "Mirrored" flag stored in
OpenGl_Structure. If this flag is enabled, glFrontFace (GL_CW) applied
before the draw call.

New DRAW commands for visualization level transformations added.

6 years ago0007570: Exception in ShapeFix_Wireframe::FixSmallEdges
pdn [Thu, 16 Oct 2014 10:24:19 +0000 (14:24 +0400)]
0007570: Exception in ShapeFix_Wireframe::FixSmallEdges

Exception fixed by checking if subshape removed completely.

Test-case for issue #7570

6 years ago0025303: Visualization, TKOpenGl - dynamically disable unused light sources in genera...
kgv [Wed, 8 Oct 2014 08:29:47 +0000 (12:29 +0400)]
0025303: Visualization, TKOpenGl - dynamically disable unused light sources in generated GLSL program

6 years agoAdding dependencies from tbb
bugmaster [Thu, 16 Oct 2014 09:26:16 +0000 (13:26 +0400)]
Adding dependencies from tbb

6 years agoCorrection of test case for issue CR25142 V6_8_0_beta
mkv [Fri, 10 Oct 2014 11:39:25 +0000 (15:39 +0400)]
Correction of test case for issue CR25142

6 years ago0025202: Incorrect value of IsClosed flag in shapes produced by some algorithms
abv [Wed, 8 Oct 2014 14:52:07 +0000 (18:52 +0400)]
0025202: Incorrect value of IsClosed flag in shapes produced by some algorithms

Method BRep_Tool::IsClosed() extended to analyze closure of wires in addition to shells and solids.
External and Internal edges and vertices are ignored in this check.
Analysis of compounds is disabled.

Update of flag Closed according to actual state is added in most places where new shells are constructed.

Draw-command and test case for issue CR25202

6 years ago0024802: "help" command shouldn't apply implicit rules in definition process of what...
apl [Mon, 6 Oct 2014 14:55:14 +0000 (18:55 +0400)]
0024802: "help" command shouldn't apply implicit rules in definition process of what command description it should show

 -When in "help <command>" <command> was exactly found in existing draw commands, then helpstring for this <command> is displayed,
  else "help" fails and error message is displayed
 -When "*word" or "word*" or any other combination is given in args, then help command performs typical wildcard search.

6 years ago025314: Usage of smart pointers for dynamically allocated memory in BVH
dbp [Fri, 10 Oct 2014 12:14:53 +0000 (16:14 +0400)]
025314: Usage of smart pointers for dynamically allocated memory in BVH

6 years ago0025231: DRAW - make top level menu useful
isz [Mon, 6 Oct 2014 12:56:21 +0000 (16:56 +0400)]
0025231: DRAW - make top level menu useful

-Meaningful texts are provided instead of commands in File menu (e.g. restore->Load Shape (restore))
-tk_getOpenFile is used in "open file" dialogs
-tk_chooseDirectory is used in "change directory" dialog
-Added menu "Help" with submenus "System info", "Commands", "About", "User Guide"
-Added menu "Samples" with submenu "View samples"
-Added menu "Load" with submenus "pload <Module>"

6 years ago0025310: Regressions in visualization
azn [Wed, 8 Oct 2014 10:57:22 +0000 (14:57 +0400)]
0025310: Regressions in visualization

- Memory management in the BRepMesh_FastDiscret class is changed. Now the unused face attributes is immediately removed.

6 years ago0024699: Visualization - prototype interoperation of TKOpenGl viewer with Direct3D...
dln [Tue, 3 Jun 2014 06:11:33 +0000 (10:11 +0400)]
0024699: Visualization - prototype interoperation of TKOpenGl viewer with Direct3D viewer

Add new C# sample which allow to render the OCCT scene to a Direct3D context in a WPF application.
DirectX SDK is required in order to build this sample.

6 years agoSync res/resource.h from src/resource.h
kgv [Fri, 10 Oct 2014 07:10:44 +0000 (11:10 +0400)]
Sync res/resource.h from src/resource.h

6 years agoIncrementation of OCCT version up to 6.8.0beta
bugmaster [Thu, 9 Oct 2014 12:38:43 +0000 (16:38 +0400)]
Incrementation of OCCT version up to 6.8.0beta
Correction of license statements

6 years ago0022859: Developers guide with code samples
ysn [Thu, 9 Oct 2014 12:33:21 +0000 (16:33 +0400)]
0022859: Developers guide with code samples

A user's guide for VTK Interactive Services has been added in the documentation

quick fix

Minor corrections in documentation syntax

6 years ago0025335: Visualization - method ::SelectedShape() in AIS_LocalContext and AIS_Interac...
duv [Wed, 8 Oct 2014 09:01:51 +0000 (13:01 +0400)]
0025335: Visualization - method ::SelectedShape() in AIS_LocalContext and AIS_InteractiveContext overrides shape transformation

Shape location overriding fixed by combining AIS object transformation and shape location.
Also incorrect highlight presentation (and sensitive) placement was possible.

6 years ago0023886: Visualizing planar faces with "notches" depends heavily on the deflection...
mkv [Wed, 8 Oct 2014 16:41:47 +0000 (20:41 +0400)]
0023886: Visualizing planar faces with "notches" depends heavily on the deflection coefficient

Test cases for issue CR23886

6 years ago0024606: DepthFitAll and ZFitAll do not eliminate z-clipping
apl [Thu, 9 Oct 2014 12:23:54 +0000 (16:23 +0400)]
0024606: DepthFitAll and ZFitAll do not eliminate z-clipping

Test case for non-regression verification

Correction of test case for issue CR24606

6 years ago0023400: Triangulation of thin ring contains gap
mkv [Wed, 8 Oct 2014 16:32:16 +0000 (20:32 +0400)]
0023400: Triangulation of thin ring contains gap

Test case for issue CR23400

6 years ago0024127: Mesh generated with BRepMesh_FastDiscret does not reflect a deflection setti...
mkv [Wed, 8 Oct 2014 16:05:06 +0000 (20:05 +0400)]
0024127: Mesh generated with BRepMesh_FastDiscret does not reflect a deflection setting \n Test case for issue CR24127

6 years ago0022614: Scaling fails with linear (p-)curves
mkv [Wed, 8 Oct 2014 15:46:03 +0000 (19:46 +0400)]
0022614: Scaling fails with linear (p-)curves

Test cases for issue CR22614

6 years ago0024966: Problem in local selection mode with selected objects staying in the viewer...
apl [Thu, 9 Oct 2014 12:14:59 +0000 (16:14 +0400)]
0024966: Problem in local selection mode with selected objects staying in the viewer after erase

Entity owners built from decomposition of parent interactive shape are now treated when erasing shape in local selection context

Correction of test case for issue CR24966

6 years ago0025316: Draw viewer commands - display (erase) objects in local selection context
apl [Thu, 2 Oct 2014 15:16:48 +0000 (19:16 +0400)]
0025316: Draw viewer commands - display (erase) objects in local selection context

6 years ago0025333: Result wires obtained after TestHarness command "connectedges" contains...
gka [Thu, 9 Oct 2014 12:03:27 +0000 (16:03 +0400)]
0025333: Result wires obtained after TestHarness command "connectedges" contains internal edges

Fix contains protection in order to avoid addition in result wires INTERNAL or EXTERNAL edges during connecting edges in wires.

Test case for issue #25333

6 years ago0025329: ExprIntrp_GenExp can not parse unary plus
esa [Thu, 9 Oct 2014 11:44:35 +0000 (15:44 +0400)]
0025329: ExprIntrp_GenExp can not parse unary plus


Test case for issue CR25329

6 years ago0025331: Visualization - method V3d_View::ConvertWithProj returns incorrect value
osa [Mon, 6 Oct 2014 15:07:35 +0000 (19:07 +0400)]
0025331: Visualization - method V3d_View::ConvertWithProj returns incorrect value

6 years ago0025284: Problems with standard MFC samples
aba [Thu, 9 Oct 2014 11:40:14 +0000 (15:40 +0400)]
0025284: Problems with standard MFC samples

 - OCAF sample Save Document option: corrected conversion from LPCTSTR to Standard_CString
 - HLR sample: corrected mouse move event handling for HLR 2D view; Corrected CSelectionDialog view displaying and updating
 - Geometry sample: CGeometryDoc correction to avoid code duplication
 - OCC_3dBaseDoc: corrected DragEvent() handler for proper emulation of rectangle selection.
 - Viewer3d sample: moved resource files (resource.h; resource.hm; AISToolbar.bmp) from /src to /res

Code style changes

Fixed "About" dialog error in release.

Corrected dimension dialogs

Workaround for dimensions sample: AIS_LocalContext::SelectedShape() doesn't take into account TopoDS shape local transformation, and operates with selected interactive transformation.

6 years ago0025159: Collections and common types in BVH package are named in non-conformant...
dbp [Thu, 9 Oct 2014 11:31:24 +0000 (15:31 +0400)]
0025159: Collections and common types in BVH package are named in non-conformant manner

Fix GCC compilation errors.

6 years ago0025234: Implementing LBVH builder
dbp [Wed, 24 Sep 2014 15:32:40 +0000 (19:32 +0400)]
0025234: Implementing LBVH builder

Performs fast BVH construction using LBVH building approach. Algorithm uses spatial Morton codes to reduce the BVH construction problem to a sorting problem (radix sort -- O(N) complexity). This Linear Bounding Volume Hierarchy (LBVH) builder produces BVH trees of lower quality compared to SAH-based BVH builders but it is over an order of magnitude faster (up to 4M triangles per second).

6 years ago0025227: Visualization - optimize BVH binned builder
dbp [Wed, 24 Sep 2014 08:03:22 +0000 (12:03 +0400)]
0025227: Visualization - optimize BVH binned builder
BVH binned builder is used for different rendering aspects, such as view frustum culling, ray-tracing, and (in future) for selection. It is desirable to improve builder performance. This simple patch decreases BVH building time for 30-35%.

6 years ago0024716: OSD_Path - remove excessive validity checks and allow non-ascii strings
apl [Wed, 12 Mar 2014 15:46:38 +0000 (19:46 +0400)]
0024716: OSD_Path - remove excessive validity checks and allow non-ascii strings

First commit. Update for new IR

6 years ago0025191: There is no intersection vertex between edges
mkv [Tue, 7 Oct 2014 05:54:29 +0000 (09:54 +0400)]
0025191: There is no intersection vertex between edges

Test case for issue CR25191

6 years ago0025324: Make OCCT collections copy-constructible
msv [Mon, 6 Oct 2014 07:45:28 +0000 (11:45 +0400)]
0025324: Make OCCT collections copy-constructible

Since TCollection package is going to be obsolete we change only classes that are currently needed to have copy constructor.

6 years ago0025251: Visualization - Isolated vertex is invisible in shading mode
san [Thu, 9 Oct 2014 10:01:37 +0000 (14:01 +0400)]
0025251: Visualization - Isolated vertex is invisible in shading mode

BVH_BinnedBuilder class corrected to split several objects
with null bounding box (e.g. two or more vertices).

Test case for issue CR25251

6 years ago0024717: TKOpenGl - globally defined clipping planes blink when operating with view
apl [Thu, 9 Oct 2014 09:46:52 +0000 (13:46 +0400)]
0024717: TKOpenGl - globally defined clipping planes blink when operating with view

Specify viewer (global) clippings in correct view transformation space.

Correction of test case for issue CR24717

6 years ago0025267: Implementation of callback before DRAW exit
pdn [Thu, 9 Oct 2014 09:42:09 +0000 (13:42 +0400)]
0025267: Implementation of callback before DRAW exit

Callback mechanism implemented.

Do the same treatment at DRAW exit on UNIX

Add comments to the new methods

Change callback type to be a function pointer

6 years ago0025142: Visualization breaks triangulation on shared solids in composite solid model
san [Thu, 9 Oct 2014 09:37:56 +0000 (13:37 +0400)]
0025142: Visualization breaks triangulation on shared solids in composite solid model

Test case for 0025142: Visualization breaks triangulation on shared solids in composite solid model

Do not clean the triangulation in StdPrs_ShadedShape::Tessellate() and
let the triangulation tool process the sub-shapes properly.
Treat triangulation consistently in all AIS classes (AIS_Shape, AIS_TexturedShape).

Test cases for issue CR25142

6 years agoDefinition of Unicode symbol in test corrected
abv [Thu, 2 Oct 2014 10:15:14 +0000 (14:15 +0400)]
Definition of Unicode symbol in test corrected

6 years agoupdate OpenGl_Window constructor arguments in OpenGl_Window_1.mm
kgv [Fri, 3 Oct 2014 06:19:14 +0000 (10:19 +0400)]
update OpenGl_Window constructor arguments in OpenGl_Window_1.mm

6 years ago0025261: NCollection, set of improvements
pdn [Thu, 2 Oct 2014 12:00:36 +0000 (16:00 +0400)]
0025261: NCollection, set of improvements

The following improvements were implemented:
* two additional allocators were introduced
  * Allocator which used WinHeap
  * Accumulating memory allocator
* Access to Allocators in lists are provided
* Access optimization in data map (seek and find functions returning reference or pointer to value in one shot)

Warning fixed

6 years ago0025154: Collections in BRepMesh package are named in non-conformant manner
oan [Wed, 17 Sep 2014 13:00:32 +0000 (17:00 +0400)]
0025154: Collections in BRepMesh package are named in non-conformant manner

- BRepMesh converted to nocdlpack,
- Collections are defined in namespace BRepMesh,
- Doxygen comments corrected to use @ instead of \.

6 years ago0022484: UNICODE characters support
pdn [Thu, 2 Oct 2014 11:39:25 +0000 (15:39 +0400)]
0022484: UNICODE characters support

Initial UNICODE (UFT-8) characters support for OCCT file operations

Fix for compilation errors and fix for StepFile (avoid objects in pure c code)

Fixes for set unicode symbols to OCAF and visualization

6 years ago0025272: Regression in BRepOffsetAPI_MakePipe: invalid shape is created
jgv [Thu, 2 Oct 2014 11:35:38 +0000 (15:35 +0400)]
0025272: Regression in BRepOffsetAPI_MakePipe: invalid shape is created

Fix of regressions
Test-case for issue #25272

6 years ago0025282: Visualization, OpenGl_PrimitiveArray - provide built-in GLSL programs as...
kgv [Thu, 2 Oct 2014 09:46:27 +0000 (13:46 +0400)]
0025282: Visualization, OpenGl_PrimitiveArray - provide built-in GLSL programs as alternative to FFP

Enumerations Visual3d_TypeOfModel, V3d_TypeOfShadingModel.
- Remove unused values V3d_MULTICOLOR, V3d_HIDDEN, Visual3d_TOM_INTERP_COLOR.
- Add per-pixel shading mode - V3d_PHONG, Visual3d_TOM_FRAGMENT.

Draw Harness command vrenderparams.
Add option -shadingModel to setup Shading Model.

OpenGl_Caps::ffpEnable - new option to switch FFP/built-in GLSL programs.
OpenGl_ShaderManager - add built-in GLSL programs.

Draw Harness command vcaps.
- Fix command syntax to meet coding rules.
- Add option -ffp to activate/disable built-in GLSL programs.

GLSL API changes.
- Rename vertex attribute occColor -> occVertColor.
- Introduce vec4 occColor uniform variable for light-less shaders.
- Introduce float occPointSize uniform variable for marker programs.

OpenGl_VertexBuffer::bindAttribute() - activate normalization for non-GL_FLOAT types,
since color attribute is defined as 32-bit vector of 4 unsigned byte values.

OpenGl_Context - add methods SetColor4fv() and SetPointSize()
for parameters redirection to active GLSL program
(as alternative to glColor4fv() and glPointSize()).

OpenGl_ShaderProgram - define default precision for float types
in Fragment Shader within OpenGL ES 2.0+ context.

OpenGl_AspectMarker, initialize Aspect_TOM_O_POINT display list
in the same way as sprite texture.

OpenGl_Texture, do not use sized internal formats on OpenGL ES.

6 years ago0025147: Visualization, TKOpenGl - support EGL as alternative to GLX
kgv [Thu, 2 Oct 2014 09:43:33 +0000 (13:43 +0400)]
0025147: Visualization, TKOpenGl - support EGL as alternative to GLX

Aspect_Window - add interface methods NativeHandle() and NativeParentHandle().
OpenGl_Window - pass OpenGl_GraphicDriver instance to the constructor.
OpenGl_Caps - add option to disable buffers swap at the end of frame redraw.

6 years ago0025291: Draw Harness, ViewerTest - replace command vchangecamera to vcamera and...
kgv [Tue, 30 Sep 2014 10:43:16 +0000 (14:43 +0400)]
0025291: Draw Harness, ViewerTest - replace command vchangecamera to vcamera and improve syntax

Make vcamera command syntax more clear.
Restore command vraytrace as alias to vrenderparams.
Replace occurencies of atof() by Draw::Atof() in ViewerTest_ViewerCommands.cxx.

6 years ago0023745: Draw Harness, ViewerText - vdrawtext command should not modify global text...
kgv [Thu, 2 Oct 2014 10:23:05 +0000 (14:23 +0400)]
0023745: Draw Harness, ViewerText - vdrawtext command should not modify global text aspect

Test case for issue CR23745

6 years ago0025289: Draw Harness, ViewerTest - support RGB color definition as input for vsetcol...
kgv [Mon, 29 Sep 2014 19:22:18 +0000 (22:22 +0300)]
0025289: Draw Harness, ViewerTest - support RGB color definition as input for vsetcolor and vaspects commands

6 years ago0025285: Wrong result of General Fuse operation for an edge and a face.
pkv [Thu, 2 Oct 2014 10:10:34 +0000 (14:10 +0400)]
0025285: Wrong result of General Fuse operation for an edge and a face.

class BOPTools_AlgoTools2D
void BOPTools_AlgoTools2D::AdjustPCurveOnFace
  (const TopoDS_Face& aF,
   const Standard_Real aFirst,
   const Standard_Real aLast,
   const Handle(Geom2d_Curve)& aC2D,
   Handle(Geom2d_Curve)& aC2DA)

The adjustment value for 2D curve has been calrified with precision value in parametric space

Test case for issue CR25285

6 years ago0024930: Visualization - SetMaterial/UnsetMaterial/UnsetColor are not implemented...
dbp [Thu, 2 Oct 2014 10:05:21 +0000 (14:05 +0400)]
0024930: Visualization - SetMaterial/UnsetMaterial/UnsetColor are not implemented for AIS_TexturedShape

Correction of test case for issue CR24930

6 years ago0025235: Draw Harness - improve commands vdimension and vdimparam
aba [Thu, 2 Oct 2014 10:02:20 +0000 (14:02 +0400)]
0025235: Draw Harness - improve commands vdimension and vdimparam

Make commands syntax to meet coding rules.
Correct angle dimension initialization to allow ellipse input geometry with equal radii.
Change default value of arrow angle for dimensions (from 20 to 12 degrees).
Add arlength, arangle, textmode, textsize to vdimension and vdimparam Draw commands.
Add color parameter to vdimension and vdimparam.
Display dimensions by default.

Add dimensions demo script samples/tcl/dimensions.tcl.

Add file for test case for issue CR25235

6 years ago0025109: Check PolygonOnTriangulation contained in edges
nbv [Thu, 2 Oct 2014 09:54:14 +0000 (13:54 +0400)]
0025109: Check PolygonOnTriangulation contained in edges

1. New status "BRepCheck_InvalidPolygonOnTriangulation" is added.
2. Small correction of output of "checkshape" command result.

Test cases were changed.

Test case for issue CR25109

Some test cases were changed according to their new behavior.

6 years ago0025098: Visualization, Select3D_SensitiveCurve - fix computation of the depth
vro [Fri, 12 Sep 2014 11:11:53 +0000 (15:11 +0400)]
0025098: Visualization, Select3D_SensitiveCurve - fix computation of the depth

Draw Harness, add option -entities to command vstate.
Within new option command displays information about detection entities.

6 years ago0025298: New option of BRepOffsetAPI_MakeOffset algorithm: processing of sharp corner...
jgv [Thu, 2 Oct 2014 09:36:12 +0000 (13:36 +0400)]
0025298: New option of BRepOffsetAPI_MakeOffset algorithm: processing of sharp corners in mode GeomAbs_Intersection

Test cases for issue CR25298

6 years ago0025290: .gitignore - do not track generated files with extensions aps, opensdf,...
kgv [Tue, 30 Sep 2014 05:15:43 +0000 (09:15 +0400)]
0025290: .gitignore - do not track generated files with extensions aps, opensdf, ipch

6 years ago0025269: Make parallel version of boolean operations avaible from DRAW
aml [Thu, 2 Oct 2014 08:55:08 +0000 (12:55 +0400)]
0025269: Make parallel version of boolean operations avaible from DRAW

new command bsetparallelmode added.
usage: bsetparallelmode [1/0].

Documentation for new command "bsetparallelmode" added.

6 years ago0025084: Incorrect PCurve construction
mkv [Fri, 26 Sep 2014 14:25:37 +0000 (18:25 +0400)]
0025084: Incorrect PCurve construction

Test case for issue CR25084

6 years agoUpdate of testing cases due to changes in issue 23106
mkv [Mon, 29 Sep 2014 11:28:56 +0000 (15:28 +0400)]
Update of testing cases due to changes in issue 23106

6 years ago0025101: Typo in code documentation of gp_Trsf::SetValues
abv [Fri, 26 Sep 2014 09:57:15 +0000 (13:57 +0400)]
0025101: Typo in code documentation of gp_Trsf::SetValues

Documentation of methods Multiply() and Multiplied() corrected in classes gp_(G)Trsf(2d)

6 years ago0025247: Ensure correct end-of-line in test scripts
abv [Thu, 18 Sep 2014 12:35:07 +0000 (16:35 +0400)]
0025247: Ensure correct end-of-line in test scripts

6 years ago0025101: Typo in code documentation of gp_Trsf::SetValues
abv [Fri, 26 Sep 2014 09:57:15 +0000 (13:57 +0400)]
0025101: Typo in code documentation of gp_Trsf::SetValues

Documentation of methods Multiply() and Multiplied() corrected in classes gp_(G)Trsf(2d)

6 years agoAdded info on VTK availability in dversion command; VTK tests are corrected to report...
abv [Fri, 26 Sep 2014 09:11:01 +0000 (13:11 +0400)]
Added info on VTK availability in dversion command; VTK tests are corrected to report SKIPPED status if VIS is not available

6 years ago0025005: Global function HashCodes() is not exported on Windows
abv [Fri, 26 Sep 2014 08:48:04 +0000 (12:48 +0400)]
0025005: Global function HashCodes() is not exported on Windows

HashCodes() is exported

6 years ago0025000: Missing implementation of method NCollection_SparseArrayBase::changeValue()
abv [Fri, 26 Sep 2014 08:45:41 +0000 (12:45 +0400)]
0025000: Missing implementation of method NCollection_SparseArrayBase::changeValue()

Method changeValue() removed from NCollection_SparseArrayBase, ChangeValue() of NCollection_SparseArray is used instead

6 years ago0025263: Wrong result of cut operation.
pkv [Fri, 26 Sep 2014 13:13:56 +0000 (17:13 +0400)]
0025263: Wrong result of cut operation.

class BOPDS_DS
void BOPDS_DS::InitPaveBlocks(const Standard_Integer theI)

The treatment of internal edges has been added.

Test case for issue CR25263

6 years ago0025232: Functionality to create solids from set of shapes
emv [Fri, 26 Sep 2014 12:41:20 +0000 (16:41 +0400)]
0025232: Functionality to create solids from set of shapes

The algorithm is to build solids from set of shapes.
It uses the BOPAlgo_Builder algorithm to intersect the given shapes and build the images
of faces (if needed) and BOPAlgo_BuilderSolid algorithm to build the solids.
Steps of the algorithm:
1. Collect all faces: intersect the shapes if necessary and collect  the images of faces,
   otherwise just collect the faces to the <myFaces> list.
   All faces on this step added twice, with orientation FORWARD and REVERSED;
2. Create bounding box covering all the faces from <myFaces> and create solid box from corner points
   of that bounding box (myBBox, mySBox). Add faces from that box to <myFaces>;
3. Build solids using faces from <myFaces> using BOPAlgo_BuilderSolid algorithm;
4. Treat the result: Eliminate solid containig faces from <mySBox>;
5. Fill internal shapes: add internal vertices and edges into created solids;
6. Prepare the history.

Fix for regression.
class BOPAlgo_BuilderSolid:
The tolerance value used in BRepClass3d_SolidClassifier has been increased.

Test cases for issue CR25232

Small correction to eliminate the warning.

6 years ago0025072: Environment variable MMGT_REENTRANT is still mentioned in the Overview altho...
abv [Fri, 26 Sep 2014 10:20:06 +0000 (14:20 +0400)]
0025072: Environment variable MMGT_REENTRANT is still mentioned in the Overview although it was removed

References to MMGT_REENTRANT are removed from docs

6 years ago0025259: Incorrect split on toroidal surface in LocOpe
pdn [Fri, 26 Sep 2014 12:36:04 +0000 (16:36 +0400)]
0025259: Incorrect split on toroidal surface in LocOpe

Current implementation can fail in case if several alternative directions in wire creation are possible.
The proposed fix provides:
* define the most left direction in UV
* usage of indexed map to provide deterministic behavior

Error message is put into exception raised in case if split is not possible

6 years ago0023106: BRepMesh_IncrementalMesh returns wrong status
oan [Fri, 26 Sep 2014 12:31:27 +0000 (16:31 +0400)]
0023106: BRepMesh_IncrementalMesh returns wrong status

Fix compilation errors on Linux platform

Squeeze compilation warnings on Linux

Fix regressions

Back RemoveFaceAttribute for further reasons

Fix retrieving of polygon by index

Fix applying of location

Test case for issue CR23106

Fix memory leak regression 'test bugs vis bug79' occurred due to incorrect memory cleaning of inherited objects by MMgtRaw::Free through BRepMesh_IEdgeTool;

Replace BRepMesh_PDiscretRoot by pure pointer to BRepMesh_DiscretRoot;

Fix IVtkOCC_ShapeMesher.

6 years ago0024961: MeshVS: revision of DRAW commands
anv [Fri, 26 Sep 2014 12:26:12 +0000 (16:26 +0400)]
0024961: MeshVS: revision of DRAW commands

meshfromstl - display MeshVS_Mesh object in a way consistent with vdisplay command
meshdel - deleted, vremove to be used instead
meshshowall - set empty maps of hidden IDs instead of null handles
meshhidesel - initialize the maps of hidden IDs to avoid exception
meshmat - add optional transparency argument and enable transparency in the viewer if not yet done
meshvectors - command for testing VectorPrsBuilder added

MeshVS: DRAW commands improving
Updating test cases due to previous changes
Small bug in MeshVS_ElementalColorPrsBuilder fixed
vselmode fix
Small correction of test cases for issue CR24961

6 years ago0024159: Colors are not imported for Step-Files created with Inventor 2014
dbv [Fri, 26 Sep 2014 12:21:03 +0000 (16:21 +0400)]
0024159: Colors are not imported for Step-Files created with Inventor 2014

Method STEPConstruct_Styles::LoadStyles() now imports StepVisual_StyledItem entities even if they was defined without StepVisual_MechanicalDesignGeometricPresentationRepresentation or StepVisual_DraughtingModel entity

Update of reference data

6 years agoRemoving TODO in testing cases due to improvements
bugmaster [Fri, 26 Sep 2014 10:29:56 +0000 (14:29 +0400)]
Removing TODO in testing cases due to improvements

6 years agoUpdate of documentation in part of platforms used for certification
bugmaster [Fri, 26 Sep 2014 08:51:03 +0000 (12:51 +0400)]
Update of documentation in part of platforms used for certification

6 years ago0024959: GCPnts_TangentialDeflection does not implement functionality by its meaning...
jgv [Thu, 21 Aug 2014 15:02:28 +0000 (19:02 +0400)]
0024959: GCPnts_TangentialDeflection does not implement functionality by its meaning in case of BSpline with local splash

In GCPnts_TangetialDeflection curve divided in C_N intervals on which sample points (still 3) is computed.

Test cases for issue CR24959

6 years ago0025194: It is necessary to orthogonalize transformation matrix in gp_Trsf and gp_Trs...
nbv [Wed, 10 Sep 2014 07:28:19 +0000 (11:28 +0400)]
0025194: It is necessary to orthogonalize transformation matrix in gp_Trsf and gp_Trsf2d classes

1. Method "SetValues()" for gp_Trsf2d class is added.
2. Method Orthogonalize for gp_Trsf2d and gp_Trsf classes was added.
3. Unused arguments from "SetValues()" method for gp_Trsf was deleted.
4. Output of AppParCurves_MultiPoint Dump  was corrected.
5. Method of right projected point choosing was corrected in ProjLib package.
6. Some test cases were changed according to their new behavior.

6 years ago0025248: Curve-Surface intersection algorithm raises exception
nbv [Thu, 25 Sep 2014 11:24:55 +0000 (15:24 +0400)]
0025248: Curve-Surface intersection algorithm raises exception

All necessary comments are into the program code.

Test case for issue CR25248

6 years ago0024589: Draw Harness - disable floating-point exceptions by default
aml [Thu, 25 Sep 2014 10:50:42 +0000 (14:50 +0400)]
0024589: Draw Harness - disable floating-point exceptions by default

OSD::SetSignal() called with Standard_False argument to have FPEs disabled.

Test cased modification:
de step_4 G7 - fixed reference data.
de iges_2 H9 - Fixed reference data. According to input file, there are big tolerance edge and surface, which leads to big tolerance in ref data, result and image has changed due to usage of these shapes instead of omitting them.
de end - changed behavior in case of big isolines, now isolines not break fit command in certain places.

Modeling algorithms:
Fixed 0.0 / 0.0 uncertainty in circle to quasi-angular bspline conversion.

Correction of test cases for issue CR24589

6 years ago0025207: GCPnts_QuasiUniformDeflection achieves incorrect result on some curve.
jgv [Thu, 25 Sep 2014 10:43:28 +0000 (14:43 +0400)]
0025207: GCPnts_QuasiUniformDeflection achieves incorrect result on some curve.

Test case for issue CR25207

6 years ago0025219: Visualization, TKOpenGl - disable code paths unavailable on OpenGL ES 2.0
kgv [Wed, 24 Sep 2014 06:53:22 +0000 (09:53 +0300)]
0025219: Visualization, TKOpenGl - disable code paths unavailable on OpenGL ES 2.0