emv [Wed, 4 Sep 2019 13:25:49 +0000 (16:25 +0300)]
Provide possibility to check the ON status of the point for the face using the real tolerances of the sub-shapes of the face.
emv [Thu, 22 Aug 2019 10:54:53 +0000 (13:54 +0300)]
0030880: Bug in BRepExtrema_ExtCF
Correct tolerance management during intersection of the classification ray with edges of the face.
jgv [Thu, 29 Aug 2019 16:02:25 +0000 (19:02 +0300)]
0030927: Modeling Algorithms - UnifySameDom looses the Closed flag for wires
Add setting the Closed flag for a new wire
vro [Thu, 29 Aug 2019 13:20:50 +0000 (16:20 +0300)]
0030926: Data Exchange - Change of the number of GDT points of a View may lead to a crash
kgv [Tue, 27 Aug 2019 11:26:45 +0000 (14:26 +0300)]
0030923: Visualization, AIS_ViewCube - avoid mixing non-zoomable text and trihedron-persistence
Box sides labels are now drawn with zoomable flag.
anv [Wed, 28 Aug 2019 13:31:12 +0000 (16:31 +0300)]
0030919: ACIS Import - Improving translation of string attributes into XDE
- Added possibility to get (or create if absent) a properties attribute via ShapeTool;
- Added Draw command to print properties attached to a Label.
emv [Mon, 26 Aug 2019 13:31:52 +0000 (16:31 +0300)]
0030914: Modeling Algorithms - Improve performance of UnifySameDom algorithm for specific case with many edges
Use cached containers to find the necessary shapes.
emv [Mon, 19 Aug 2019 05:33:40 +0000 (08:33 +0300)]
0030913: Invalid result of Fusing slices
Refactoring of the Line-Line intersection method strengthening the parallel and coincidence criteria to allow almost parallel lines have an intersection point.
emv [Tue, 27 Aug 2019 07:02:26 +0000 (10:02 +0300)]
0030903: Bug in IntCurvesFace_ShapeIntersector
When classifying the intersection point check the ON status in 3D - compare the 3D distances with 3D tolerance.
kgv [Wed, 28 Aug 2019 07:09:56 +0000 (10:09 +0300)]
0030924: Coding - incorrect header in file OSD_ThreadPool.hxx
Fixed license statements within files BRepGProp_MeshProps.cxx, BRepGProp_MeshProps.hxx,
OSD_ThreadPool.cxx and OSD_ThreadPool.hxx.
Removed non-ASCII char from BRepMesh_ModelHealer.hxx.
kgv [Mon, 26 Aug 2019 08:08:23 +0000 (11:08 +0300)]
0030915: Visualization - AIS_ColorScale::FindColor() returns Wrong color for maximal value
Map the very upper value (theValue==theMax) to the largest color interval.
nds [Fri, 23 Aug 2019 11:28:04 +0000 (14:28 +0300)]
0030857: Visualization - using one implementation of Text in graphic group
Graphic3d_Group::Text(...) are obsolete, AddText() should be used instead of these methods.
Graphic3d_Text is a new class for parameters necessary to fill OpenGl_Text. All parameters of Graphic3d_Group::Text() are moved into this class.
OpenGl_TextParam is removed, these fields were moved into Graphic3d_Text.
OpenGl_Text constructors/Init with OpenGl_TextParam parameter were removed. Constructor with Graphic3d_Text should be used instead of it.
Using OpenGl_Text Init() with OpenGl_TextParam should be now replaced on two cases. The first case is setting values into Graphic3d_Text and the second case is calling Reset() after. As example, look at modification in OpenGl_FrameStatsPrs.
iko [Tue, 9 Jul 2019 13:55:49 +0000 (16:55 +0300)]
0030807: Visualization, TKOpenGl - supporting cubemaps
A cubemap texture initialization has been implemented.
Setting environment cubemap as interactive background is posssible now.
emv [Tue, 20 Aug 2019 11:23:29 +0000 (14:23 +0300)]
0030905: Modeling Algorithms - Faulty shapes in UnifySameDomain
Make face FORWARD before adding wire in it.
anv [Thu, 29 Mar 2018 09:36:09 +0000 (12:36 +0300)]
0029662: Modeling Data - Allow replacement of Compounds via BRepTools_ReShape
- Fixed condition to allow proceeding of nested compounds;
- Added new key to "reshape" draw command to state a level of type until which requests are taken into account;
- Test case added.
drazmyslovich [Wed, 7 Aug 2019 12:10:32 +0000 (15:10 +0300)]
0030874: Modeling Algorithms - GCPnts_TangentialDeflection inserts the points between nearby points
Check the points distance before inserting a new point in between.
kgv [Tue, 20 Aug 2019 13:28:33 +0000 (16:28 +0300)]
0030906: Visualization, SelectMgr_ViewerSelector - Object clipping planes overrides View clipping plane for next objects
Clipping range has been moved from SelectMgr_RectangularFrustum to SelectMgr_SelectingVolumeManager
and passed to frustum as an argument to Overlap() methods.
This fixes an issue when Clipping is customized per-object within SelectMgr_ViewerSelector::traverseObject()
in case when shallow copy of SelectMgr_SelectingVolumeManager is created
(frustums are copied from global frustum manager by Handle).
nds [Thu, 15 Aug 2019 10:17:18 +0000 (13:17 +0300)]
0030901: Visualization - OSD_MemInfo moving memory computation out of the constructor
kgv [Wed, 14 Aug 2019 22:04:45 +0000 (01:04 +0300)]
0030900: Configuration - fix compilation using macOS SDK before 10.12
ViewerTest - added compatibility defines.
kgv [Wed, 14 Aug 2019 12:06:55 +0000 (15:06 +0300)]
0030899: Data Exchange, RWObj_Reader - reading multiline file with more than one line separator leads to memory corruption
Fix misprint in condition.
msv [Tue, 13 Aug 2019 13:00:48 +0000 (16:00 +0300)]
0030897: Modeling Algorithms - Crash in UnifySameDomain [Regression]
The regression caused by the patch for
0030534 has been eliminated. For that the method InsertWiresIntoFaces() has been corrected: the face to which a wire is added is first oriented as forward.
kgv [Mon, 12 Aug 2019 14:47:28 +0000 (17:47 +0300)]
0026978: VIS - Interactive selection is insensitive to swept shell
IVtkOCC_SelectableObject::BoundingBox(), AIS_Shape::BoundingBox() now don't use
BRepBndLib::AddClose() on arbitrary shapes.
kgv [Tue, 13 Aug 2019 08:33:20 +0000 (11:33 +0300)]
0008239: Foundation Classes - directive "using namespace std" doesn't allow to build application with OCC and other 3rd party libraries
Standard_Stream.hxx no more adds "using std::" entities.
tiv [Fri, 2 Aug 2019 07:32:16 +0000 (10:32 +0300)]
0030895: Coding Rules - specify std namespace explicitly for std::cout and streams
"endl" manipulator for Message_Messenger is renamed to "Message_EndLine".
The following entities from std namespace are now used
with std:: explicitly specified (from Standard_Stream.hxx):
std::istream,std::ostream,std::ofstream,std::ifstream,std::fstream,
std::filebuf,std::streambuf,std::streampos,std::ios,std::cout,std::cerr,
std::cin,std::endl,std::ends,std::flush,std::setw,std::setprecision,
std::hex,std::dec.
jgv [Tue, 18 Dec 2018 13:57:32 +0000 (16:57 +0300)]
0030286: Cover polygonal HLR algorithm by regression tests
New folder "hlr" with subfolders "exact_hlr" and "poly_hlr" has been created.
Draw command "vcomputehlr" has been corrected.
QA command "OCC27341" has been deleted as "vcomputehlr" does its job.
kgv [Fri, 9 Aug 2019 21:16:05 +0000 (00:16 +0300)]
0030888: Data Exchange, RWGltf_CafReader - fix misprint in condition while iterating binary glTF 2.0 chunks
drazmyslovich [Wed, 7 Aug 2019 11:01:13 +0000 (13:01 +0200)]
0030872: In case of failure, retry to acquire the driver for the format
kgv [Fri, 9 Aug 2019 10:00:30 +0000 (13:00 +0300)]
0030863: Visualization, SelectMgr_ViewerSelector - disabling of View clipping planes is ignored for transformed objects
SelectMgr_ViewerSelector::computeFrustum() - fixed lost clipping planes when creating a new frustum.
kgv [Mon, 5 Aug 2019 17:26:11 +0000 (20:26 +0300)]
0030854: Visualization, AIS_ViewCube - pack triangulations into common array(s)
Presentation computation has been modified to merge triangulations per box part type.
Prs3d_Drawer::FaceBoundaryDraw() flag is now handled for drawing box sides edges.
Graphic3d_ArrayOfPrimitives has been extended by auxiliary methods:
- ::AddSegmentEdges(), ::AddTriangleEdges(), ::AddQuadEdges() raising exception on wrong primitive type.
- ::AddQuadTriangleEdges() splitting quad into indexed triangulation;
- ::AddTriangleStripEdges() splitting triangle strip into indexed triangulation;
- ::AddTriangleFanEdges() splitting triangle fan into indexed triangulation;
- ::AddPolylineEdges() splitting polyline into indexed segments.
emv [Wed, 7 Aug 2019 06:40:42 +0000 (09:40 +0300)]
0030869: Modeling Data - BRepAdaptor_CompCurve incorrectly evaluates the boundary points
Problem is solved by #
0029430. Integrating test case only.
nds [Wed, 7 Aug 2019 06:42:33 +0000 (09:42 +0300)]
0030695: Visualization - selection by box should use clipping planes set for viewer - moving check on touching the clipping plane in selection only.
nds [Tue, 25 Dec 2018 06:26:49 +0000 (09:26 +0300)]
0030425: Visualization - possibility to redefine AIS_Selection
abv [Tue, 6 Aug 2019 09:37:56 +0000 (12:37 +0300)]
0030865: Samples - sample for 3D version of new OCC logo
Added new Tcl sample "logo2019.tcl" and relevant test demo/samples/logo2019
msv [Tue, 6 Aug 2019 06:34:18 +0000 (09:34 +0300)]
0030864: Global variable Version defined in TopTools_ShapeSet.cxx is superseded by same name variable from executable
The variable Version defined in TopTools_ShapeSet.cxx has been declared as static to limit its scope.
ika [Wed, 31 Jul 2019 15:09:04 +0000 (18:09 +0300)]
0030856: Data Exchange - Wrong colors after STEP file import
Fix processing of colors, attached to assemblies in STEP file.
jgv [Fri, 15 Mar 2019 09:55:09 +0000 (12:55 +0300)]
0030534: Regression in the tool UnifySameDomain - the shape looses faces
1. Add method TransformPCurves to ShapeUpgrade_UnifySameDomain - to rotate and translate existing pcurves instead of projecting.
2. Modify method ShapeUpgrade_UnifySameDomain::IntUnifyFaces - now it does not apply ShapeFix to new wires and new faces.
3. In the method UnifyEdges: add merging degenerated edges.
mpv [Mon, 29 Jul 2019 14:11:54 +0000 (17:11 +0300)]
0030835: Possible performance improvements in methods TDF_Label::FindAttribute
Make attribute iterator work with pointers to attributes, so, creation of handle on each iteration is avoided.
kgv [Mon, 29 Jul 2019 00:21:28 +0000 (03:21 +0300)]
0029837: Visualization, Graphic3d_Camera - Fit All operation works incorrectly on flat object
Graphic3d_Camera has been revised to store camera Direction from Eye explicitly
and Distance to Center instead of auxiliary Center point.
This allows setting camera Distance to 0 (for flat objects) without side effects
like broken FitAll, wobbling on rotating.
kgv [Mon, 29 Jul 2019 14:49:58 +0000 (17:49 +0300)]
0026154: Visualization - v3d viewer grid disappears due to automatic z-fit
V3d_RectangularGrid, V3d_CircularGrid, fixed initialization of presentation bounding box (lost Z offset).
kgv [Sun, 28 Jul 2019 09:24:53 +0000 (12:24 +0300)]
0030855: Coding - New warnings within Standard_ReadLineBuffer after integration fix for
0030830
Added missing cast.
kgv [Fri, 19 Jul 2019 13:35:23 +0000 (16:35 +0300)]
0030744: Visualization, TKOpenGl - stipple line does not work on OpenGL ES 2.0
OpenGl_ShaderManager now provides fallback stipple lines GLSL code for obsolete OpenGL ES 2.0 devices.
OpenGl_Caps has been extended by flags disallowing OpenGL extensions usage
and restricting upper OpenGL version to be used by OCCT for testing purposes.
osa [Wed, 24 Jul 2019 11:30:53 +0000 (14:30 +0300)]
0030830: Point Cloud Rendering - use temporary buffer to read lines from .pts and .ptx files
Add Standard_ReadLineBuffer - auxiliary tool for buffered reading of lines from input stream.
kgv [Fri, 26 Jul 2019 02:59:39 +0000 (05:59 +0300)]
0030853: Visualization, AIS_ViewController - fix 1 pixel Y shift while zooming
Fixed error in math converting Y-down mouse coordinates into Y-up within AIS_ViewController::handleZoom().
Added flags ToStickToRayOnZoom()/ToStickToRayOnRotation() enabled by default,
which will project picked point onto ray at mouse cursor to preserve focus on zoom out.
kgv [Wed, 17 Jul 2019 21:08:02 +0000 (00:08 +0300)]
0030850: Visualization, OpenGl_Text - text within trihedron persistence jitters when camera is far from origin
OpenGl_Text now discards (redundant) translation part from camera orientation matrix.
Text anchor point alignment to integer coordinates is now not performed for 3D-oriented text.
aba [Wed, 3 Jul 2019 09:37:36 +0000 (12:37 +0300)]
0028954: Visualization - implement interactive object for camera manipulations
Added new class AIS_ViewCube implementing interactive cube
displaying orientation of the main axes of the model space in the viewer.
Each side, edge, or corner of the cube corresponds to particular orientation of the camera,
and the class provides methods to move the camera to corresponding position (with animation if needed).
AIS_InteractiveContext::LastActiveView(), added new property returning the last View processed by MoveTo() event.
AIS_InteractiveContext::BoundingBoxOfSelection(), added method returning bounding box of selected objects.
SelectMgr_EntityOwner::HandleMouseClick(), added new callback for handling
mouse clicks by owner itself without automatic highlighting and clearing previous selection.
Called by AIS_InteractiveContext::Select() method.
AIS_ViewController::ViewAnimation() has been extened with camera animation propery,
which can be bound to AIS_ViewCube for smooth embedding into event loop.
Prs3d_ToolDisk has been extended with parameters specifying angle range.
Graphic3d_MaterialAspect now initializes all coefficients to 1.0
when Graphic3d_NOM_UserDefined is passed to class constructor.
AIS_AnimationCamera::update() now sets the end camera position if animation duration is 0.
Prs3d_DatumAspect, added missing setters.
New command vviewcube has been added.
msv [Mon, 15 Jul 2019 16:47:14 +0000 (19:47 +0300)]
0030790: [REGRESSION] Modeling Algorithms - Crash when loading specific step file
The problem occurred when the algorithm IntCurvesFace_Intersector was called for a face occupying zero extension along V direction. This is obviously a bad face, but we need to have the algorithm not crashing the application. So, the algorithm has been protected against such input data. At attempt to make calculations it establishes NotDone status.
Bad test case tests/de/step_3/D9 has been updated.
False memory leak detection has been suppressed in tests/bugs/fclasses/bug7287_2.
mzernova [Wed, 17 Jul 2019 16:05:53 +0000 (19:05 +0300)]
0030799: Draw Harness, ViewerTest - setup uniforms via vshader command
vshaderprog command now supports setup custom uniforms
kgv [Mon, 15 Jul 2019 18:06:05 +0000 (21:06 +0300)]
0030668: Visualization - revise adding ZLayer API
V3d_Viewer::AddZLayer() has been replaced by
V3d_Viewer::InsertLayerBefore() and V3d_Viewer::InsertLayerAfter() methods
allowing to specify Layer settings and index of existing layer to insert new one before/after.
The behavior of V3d_Viewer::AddZLayer() has been adjusted to append
new Layer before Graphic3d_ZLayerId_Top
(between Graphic3d_ZLayerId_Default and Graphic3d_ZLayerId_Top).
Graphic3d_Layer now provides LayerId() property.
Graphic3d_ZLayerSettings has been extended with IsRaytracable() property;
Ray-Tracing now processes multiple layers instead of Graphic3d_ZLayerId_Default.
Moved some methods from OpenGl_View to the base class Graphic3d_CView.
ika [Thu, 4 Apr 2019 13:07:05 +0000 (16:07 +0300)]
0030630: Visualization - wrong visualization of shape with mirrored transformation
Solids with mirror location are displayed, according to their normals.
vaspects -setBackFaceColor, added command to set backface color.
msv [Wed, 17 Jul 2019 13:50:43 +0000 (16:50 +0300)]
0030829: BRepExtrema_ShapeProximity crashes with shape from STL/WRL
The fix makes algorithm independent on geometrical data. Only triangulation is needed for its work.
Benjamin Bihler [Thu, 11 Jul 2019 09:16:12 +0000 (11:16 +0200)]
0030403: Application Framework - Overwriting Big BinOcaf Files Does Not Reduce Their Size
OSD_OpenFileDescriptor(), added truncating flag to fopen() flags for std::ios_base::out,
since truncating is implied by C++ output flag.
This fixes misbehavior of OSD_OpenStream() on MinGW-w64 platform.
abv [Wed, 10 Jul 2019 18:45:45 +0000 (21:45 +0300)]
0029736: Some Warnings During Compound Transfer to IGES Look Dubious
Incorrect (legacy) warnings during IGES export are removed
kgv [Thu, 11 Jul 2019 06:38:54 +0000 (09:38 +0300)]
0030628: [REGRESSION] Data Exchange - Crash on importing STEP file
RWHeaderSection_RWFileDescription::ReadStep(), added check for an empty list.
ysn [Wed, 25 Jul 2018 15:13:26 +0000 (18:13 +0300)]
0029987: Request for translation of French comments in the code
French comments in two files have been translated in English.
kgv [Wed, 10 Jul 2019 20:24:05 +0000 (23:24 +0300)]
0030837: Data Exchange, XCAFPrs_DocumentExplorer - fix misprint in XCAFPrs_DocumentExplorerFlags_NoStyle check
apn [Thu, 8 Sep 2016 12:20:43 +0000 (15:20 +0300)]
0027710: Make Data-exchange test cases more machine independent
Added description of de test grid in user guide.
iko [Tue, 9 Jul 2019 14:19:57 +0000 (17:19 +0300)]
0030833: Visualization - Graphic3d_Camera constructor's exceptions
Field's initialization part has been added to Graphic3d_Camera constructor receiving Handle(Graphic3d_Camera).
oan [Wed, 3 Jul 2019 08:45:18 +0000 (11:45 +0300)]
0030827: Add common functionality allowing to switch triangulation algorithm in runtime
New classes BRepMesh_ConstrainedBaseMeshAlgo, BRepMesh_CustomBaseMeshAlgo and BRepMesh_CustomDelaunayBaseMeshAlgo are added.
These classes allow to add any custom triangulation algorithm to BRepMesh and perform post-processing and optimization of base mesh generated by those algorithms.
BRepMesh_Delaun: added possibility to process constraints when base mesh is generated by different algorithm.
BRepMesh_DelaunayNodeInsertionMeshAlgo: added PreProcessSurfaceNodes flag controlling addition of surface nodes (either before creation of base mesh or after) to gain maximum performance from triangulation algorithms.
Minor changes:
Use simple algorithm for cylinders when internal vertices mode is switched off to speed up computations.
BRepMesh_IncrementalMesh: added Perform method allowing to execute algorithm using manually created Context.
asl [Wed, 3 Jul 2019 08:29:47 +0000 (11:29 +0300)]
0030824: Visualization, PrsMgr_PresentableObject - A new flag to disable automatic selection of children
A new flag myToPropagateVisualState is introduced for PrsMgr_PresentableObject: by default it is true, it means that the visual state (display/erase/color) should be propagated to all children. If false, the visual state is not propagated.
The flag can be set via the method ToPropagateVisualState() or via Draw command: "vparent <parent> -ignoreVisu"
tiv [Tue, 2 Jul 2019 16:53:20 +0000 (19:53 +0300)]
0030820: Draw Harness, ViewerTest - vsetcolor has no effect on objects created by vsegment and vtriangle
MyPArrayObject class (an interactive object representing some array of primitives) is improved: a possibility of color changing is added to it.
kgv [Mon, 1 Jul 2019 08:56:41 +0000 (11:56 +0300)]
0030821: Data Exchange, RWGltf_CafReader - fallback to Mesh name in case of Node name is empty
Added option to use Mesh name as fallback, enabled by default.
emv [Mon, 24 Jun 2019 08:41:30 +0000 (11:41 +0300)]
0030817: Modeling Algorithms - BRepOffsetAPI_MakePipeShell produces invalid result
BRepFill_TrimShellCorner::CheckAndOrientEdges() - When orienting next edge in a sequence take into account the Orientation of the previous edge.
Test cases for the issue.
kgv [Wed, 26 Jun 2019 08:26:31 +0000 (11:26 +0300)]
0030811: Data Exchange, RWGltf_CafReader - fix inaccessibility of properties
Added missing Standard_EXPORT and getters.
Fixed metadata loss.
kgv [Tue, 25 Jun 2019 20:26:58 +0000 (23:26 +0300)]
0030810: Data Exchange, RWObj_CafReader - fix material assignment
RWObj_MtlReader fixed incorrect folder iteration within findRelativePath().
Fixed discarding texture-only material.
RWObj_TriangulationReader::addMesh() - fixed usage of wrong material for flushing previous group.
emv [Wed, 19 Jun 2019 05:54:50 +0000 (08:54 +0300)]
0030787: BRepOffsetAPI_MakePipeShell: hangs on the attached model
Protect IntTools_EdgeEdge::FindSolutions method from cases where splitting edge on parts does not give bounding box decreasing.
Use at least Epsilon from edges parameters as a step in BRepLib::FindValidRange.
Test case for the issue.
oan [Mon, 24 Jun 2019 16:03:45 +0000 (19:03 +0300)]
0030780: [Regression to 7.3.0] BRepMesh fails triangulating one face of the shape
Added new parameter KeepSmallEdges to IMeshTools_Parameters allowing to compute min size for each edge locally, depending on the length of particular edge.
Parameter -smalledges now available for incmesh command.
kgv [Tue, 25 Jun 2019 12:31:56 +0000 (15:31 +0300)]
0030809: Data Exchange - fix misprint in RWMesh_CafReader::generateNames()
aba [Tue, 25 Jun 2019 09:30:24 +0000 (12:30 +0300)]
0030806: Visualization - AIS Manipulator highlighting is not affected by the view affinity
- AIS_Manipalator object view affinity is now applied to presentation for highlighting.
kgv [Mon, 24 Jun 2019 12:03:49 +0000 (15:03 +0300)]
0030805: Visualization, StdSelect_BRepSelectionTool - empty sensitivity from polygon-only Edge
StdSelect_BRepSelectionTool::GetEdgeSensitive() now takes polygon points before creating curve Adaptor.
kgv [Tue, 25 Jun 2019 16:39:49 +0000 (19:39 +0300)]
0030804: Foundation Classes - Poly_Connect crashes due to out-of-range array modification
Fixed initialization of edges array based on the wrong statement.
kgv [Mon, 24 Jun 2019 08:38:54 +0000 (11:38 +0300)]
0030802: Draw Harness - add scrollbars to DFBrowse
msv [Fri, 21 Jun 2019 17:35:30 +0000 (20:35 +0300)]
0029679: Draw Harness - Command 2dapprox works wrong when giving points in command line
Correct the behavior of the command 2dapprox for the case of points input in the command line.
Restore the work of the command 2dinterpole (implemented in the same method as 2dapprox).
Add test cases.
Correct generation of snapshots for the tests lowalgos/2dinter/*.
kgv [Sat, 22 Jun 2019 16:50:10 +0000 (19:50 +0300)]
0030748: Visualization - Marker displayed in immediate layer ruins QT Quick view controls
OpenGl_Workspace::ResetAppliedAspect() now resets active texture unit to GL_TEXTURE0.
kgv [Sun, 5 May 2019 17:31:35 +0000 (20:31 +0300)]
0029296: Data Exchange - implement import of mesh data from files in OBJ format
RWObj_Reader and RWObj_CafReader - added new classes reading triangulation from OBJ file.
kgv [Tue, 18 Jun 2019 16:41:15 +0000 (19:41 +0300)]
0030691: Data Exchange - implement import of mesh data from files in glTF format
Added RWGltf_CafReader class implementing glTF reader.
Added readgltf Draw Harness command for reading glTF files.
oan [Sun, 16 Jun 2019 16:12:56 +0000 (19:12 +0300)]
0027685: Visualization of a shape imported from IGES hangs
Adding test case
emv [Mon, 17 Jun 2019 13:26:45 +0000 (16:26 +0300)]
0030785: Mesh - protect BRepMesh_IncrementalMesh::Perform from raising exception
IMeshTools_ModelAlgo and IMeshTools_ModelBuilder have been changed to provide exception protected interfaces for performing the operations.
Protect single Edge/Face discretization methods from raising exceptions to skip broken Edges/Faces and allow mesh construction on the whole model.
kgv [Sun, 16 Jun 2019 14:09:14 +0000 (17:09 +0300)]
0030777: Visualization - Incorrect selection/highlighting of clipped objects
SelectMgr_ViewerSelector::traverseObject() now handles Object clipping planes in the same way as View clipping planes.
ika [Tue, 18 Jun 2019 09:18:01 +0000 (12:18 +0300)]
0030789: Data Exchange - Some names are lost during STEP import
Add importing name from PRODUCT_DEFINITION_WITH_ASSOCIATED_DOCUMENTS STEP entity.
Update test cases with files contained this entity.
kgv [Sat, 11 May 2019 07:07:19 +0000 (10:07 +0300)]
0030706: Visualization - fetch font folder list from fontconfig library on Linux
vfont command now prints fonts in alphabetical order.
kgv [Sun, 16 Jun 2019 10:09:49 +0000 (13:09 +0300)]
0030782: Visualization, Font_FTFont - use predefined fallback fonts for extended Unicode subsets
Font_FTFont now uses fallback fonts for characters from unsupported Unicode subsets,
managed by Font_FTFont::ToUseUnicodeSubsetFallback()
and Font_FontMgr::ToUseUnicodeSubsetFallback() option, enabled by default.
The fallback list includes common font families for Chinese, Korean and Japanese languages.
Font_FTFont::RenderGlyph() now supports FT_PIXEL_MODE_MONO input format used by some CJK fonts.
OpenGl_Font::createTexture() now limits single texture size to circa 4096 glyphs.
test/testgrid now expects test scripts being in UTF-8 encoding in sync with "DRAWEXE -f script.tcl".
AIS::InitFaceLength() - fixed usage of uninitialized result.
emv [Thu, 18 Apr 2019 08:17:18 +0000 (11:17 +0300)]
0030595: Oriented Bounding Box seems not optimal for some shapes
Add possibility of construction of the Optimal Oriented Bounding Box from set of points (the case of shape with triangulation).
The interface of the BRepBndLib::AddOBB method is not changed, but the option <theIsOptimal> now controls also the construction of the OBB from Set of points.
The slightly modified DiTo algorithm will be used, checking all possible axes created by the extreme points.
The performance of the construction of the Optimal OBB is lower but the quality is usually much higher (can't be worse by definition).
Test cases for the issue.
kgv [Wed, 5 Jun 2019 06:34:21 +0000 (09:34 +0300)]
0030754: Coding - the array of weights should begin with Lower, not the constant value 1 within Geom_BSplineCurve.cxx
ika [Thu, 13 Jun 2019 12:30:51 +0000 (15:30 +0300)]
0030779: Data Exchange - Problems with located subshapes in expand compounds
Protect Expand compounds against problems with located subshapes.
Add method XCAFDoc_ShapeTool::AddSubShape() with Boolean output parameter.
Speed up XCAFDoc_ShapeTool::Expand().
Speed up XCAFDoc_ShapeTool::FindSubShape().
mpv [Mon, 3 Jun 2019 13:05:25 +0000 (16:05 +0300)]
0030761: Application Framework - HOMEDRIVE and TEMP are undefined on UWP
Avoid CDF_Stroe to find default folder since there is no case where this folder does not reset to exact value given by the user.
Also, remove the exception raising for the case this method is called from outside.
nds [Thu, 6 Jun 2019 13:40:52 +0000 (16:40 +0300)]
0030725: Visualization - remove Display calling from SetSelected methods of context
AIS_InteractiveContext::Load/ClearGlobal is modified for correct processing SetSelected for child objects.
As Display/Erase of object with children displays/erases these children, then the children status inside context should also be updated.
kgv [Mon, 10 Jun 2019 18:03:41 +0000 (21:03 +0300)]
0030507: Visualization - introduce AIS_ViewController
ViewerTest_EventManager now inherits AIS_ViewController.
Platform-dependent user input handling within ViewerTest has been revised
to process events in common way through AIS_ViewController.
The mouse navigation has been changed, so that left mouse clicked
without modifers now rotates View.
The rubber-band selection can be activated via Alt+LeftMouseButton.
Selection is now done on mouse unclick and keyboard short-cuts take effect on unclick.
Aspect_Window::SetTitle() - added new method configuring Window title.
Introduced new types Aspect_Touch, Aspect_VKey, Aspect_ScrollDelta
for processing window events in platform-independent way.
szy [Mon, 10 Jun 2019 09:59:39 +0000 (12:59 +0300)]
0030772: Data Exchange - Invalid person's name constructed by STEPConstruct_AP203Context class.
// fixed remarks.
age [Wed, 5 Jun 2019 09:30:01 +0000 (12:30 +0300)]
0030765: Visualization - Incorrect intersection with Select3D_SensitiveBox when clipping is turned on
SelectMgr_RectangularFrustum::Overlaps method for computing intersection of box with frustum was reworked. Now the nearest non-clipped point is calculated.
nds [Thu, 6 Jun 2019 08:50:21 +0000 (11:50 +0300)]
0030726: Visualization - change Selected state of owner in AIS_Selection
AIS_InteractiveContext::IsHilighted() behavior has been changed.
It should use the same logic for owner processing like when it is highlighted. IsSelected of owner is used for selection state, not highlight.
Without this correction, object is never shown as selected by click (Select(bool)):
if (!HighlightStyle (theOwner, aCustomStyle) ||
(!aCustomStyle.IsNull() && aCustomStyle != anObjSelStyle))
IsSelected is already true, so the highlight style is equal to selection style, nothing to do.
kgv [Fri, 3 May 2019 14:50:28 +0000 (17:50 +0300)]
0030692: Data Exchange - introduce base framework RWMesh for importing mesh data formats into XDE document
RWMesh_CafReader - added new interface class for common workflow for reading mesh data files into XDE document.
OSD_Path - added auxiliary methods splitting path into folder+file pair
and checking relative/absolute path semantically:
OSD_Path::FolderAndFileFromPath(), ::IsRelativePath(), ::IsAbsolutePath().
V3d_TypeOfOrientation enumeration has been extended with aliases
(like front/left) for Z-up and Y-up conventions.
V3d_View::SetProj() now accepts argument for asking Y-up instead of Z-up.
Added command vviewproj defining standard camera direction.
Commands vaxo, vleft, vright, vtop, vbottom, vfront, vbottom now redirect to vviewproj.
TCollection_AsciiString::SubString() now uses Standard_OutOfRange_Always_Raise_if() to suppress GCC warning.
Eliminated gcc 4.4 compilation errors within Standard_OutOfRange_Raise_if,Standard_RangeError_Raise_if.
apn [Tue, 4 Jun 2019 11:20:56 +0000 (14:20 +0300)]
0030715: Configuration, CMake - error build with QTANGLE
SEARCH_TEMPLATES was modified to find EGL and GLES2 libraries in different folders (angle-gles, egl-gles, egl, angle, etc).
Find 3rdparty products procedure allows to define 3RDPARTY_LIBRARY_DIR or 3RDPARTY_DLL_DIR manually to find necessary libraries and dlls.
emv [Mon, 3 Jun 2019 08:36:18 +0000 (11:36 +0300)]
0030760: Modeling Algorithms - Intersection fails in Occt 7.3.0
Use FORWARD orientation of edges and face when attaching pcurve from one edge to another.
Test case for the issue.
emv [Thu, 18 Apr 2019 12:34:37 +0000 (15:34 +0300)]
0030656: Modeling Algorithms - Change Boolean Operations algorithm to use BVH tree instead of UBTree
Switching the Boolean Operations algorithm to use the BVH tree instead of UB tree as selection of the elements from BVH tree is usually faster.
abv [Tue, 4 Jun 2019 06:21:28 +0000 (09:21 +0300)]
0030764: Coding - warnings in Image_AlienPixMap.cxx when built with MSVC10
Disable warnings when including system headers (conflict between VS 2010 and Windows SDK definitions).
kgv [Sun, 26 May 2019 09:46:32 +0000 (12:46 +0300)]
0030729: Visualization - TKOpenGl reports OpenGL 4.5 loading functions error on Intel drivers
Make reported error more verbose.
kgv [Thu, 30 May 2019 07:02:25 +0000 (10:02 +0300)]
0028668: Point Cloud Rendering - standard selection API returns invalid values
Added an argument to OpenGl_GraphicDriver::GetSharedContext() for returning only currently bound OpenGL context.
SelectMgr_SelectingVolumeManager::GetMousePosition() - added getter returning mouse coordinates.
kgv [Wed, 29 May 2019 12:22:10 +0000 (15:22 +0300)]
0030756: Visualization, TKOpenGl - capping plane does not work for ZLayer with non-zero origin
OpenGl_CappingPlaneResource::updateTransform() now takes into account ZLayer origin.
Fixed VT_ProcessKeyPress() passing arbitrary input to Draw::Atoi() leading
to messages in console like "unclosed braces".
kgv [Sat, 25 May 2019 15:59:17 +0000 (18:59 +0300)]
0030745: Visualization, TKOpenGl - fix initialization of GLES3 context
OpenGl_GraphicDriver::InitContext() now tries to initialize GLES3 context
(EGL_CONTEXT_CLIENT_VERSION) and then fallback to GLES2.
iko [Tue, 7 May 2019 12:44:39 +0000 (15:44 +0300)]
0030698: Volume Rendering - Early clipping of volume object's bounding box
Flag to control check of bounding box clipping before drawing has been added.