azv [Thu, 21 Jan 2016 08:35:24 +0000 (11:35 +0300)]
0027048: BSpline cache is always wrong outside of surface
1. Disable recalculation of B-spline cache when the parameter is out of surface boundary but near the cached span.
2. Rebuild cache each time a curve/surface is loaded into adaptor (B-spline knots may be re-parametrized outside adaptor without changing base curve)
3. Test cases.
akz [Tue, 13 Oct 2015 07:30:52 +0000 (10:30 +0300)]
0025574: gp_YawPitchRoll Euler Angle computation gives wrong results
Conversion of gp_Quaternion to and from intrinsic Tait-Bryan angles (including gp_YawPitchRoll) is fixed.
Before that fix the sequence of rotation axes was opposite to intended; e.g. gp_YawPitchRoll (equivalent to gp_Intrinsic_ZYX) actually was defining intrinsic rotations around X, then Y, then Z.
Now this is fixed, and rotations are made in correct order.
Comments to gp_EulerSequence enumeration are restored (lost due to CDL extraction).
Test bugs fclasses bug25574 is added to check correctness of Euler sequences, including cases from #25574 and #25946.
ibs [Thu, 14 Jan 2016 16:17:00 +0000 (19:17 +0300)]
0027077: OCAF: Implementation of streaming save/load (OCC26229) is incomplete/incorrect
XmlOcaf reading is non-seekable
// 1. Read method of XmlLDrivers_DocumentRetrievalDriver extended to read complete document (with "document" tag) in compatible mode (when reading is performed from file)
// 2. the empty statement removed
// 3. the description of LDOMPARSER::parse method extended
ysn [Thu, 21 Jan 2016 11:21:27 +0000 (14:21 +0300)]
0026187: Implement m-dashes in the documentation
- m-dashes added.
- some other cases of incorrect dash use fixed
- unicode dashes were removed throughout the documentation.
- other comments taken into account.
bugmaster [Wed, 27 Jan 2016 11:27:29 +0000 (14:27 +0300)]
0024677: Control of license statements and non-ascii characters in integrated code
Update of license statements and non-ascii characters
abv [Fri, 22 Jan 2016 08:42:32 +0000 (11:42 +0300)]
0027097: GCC and CLang compiler warnings and errors with -Wpedantic
Useless semicolons are removed after closing braces of namespaces and macros in code dependent on FreeImage and VTK.
Comments added at the closing braces of namespaces to help comprehension.
In OSD_File.cxx and OSD_Disk.cxx, unnecessary declarations of system functions are removed
Jacob Abel [Fri, 22 Jan 2016 00:28:38 +0000 (16:28 -0800)]
0027105: Make code ISO-compliant [-Wpedantic fixes]
Remove extra semicolons and correct function prototypes for GCC -pedantic ISO compliance option
Benjamin Bihler [Mon, 18 Jan 2016 13:01:56 +0000 (14:01 +0100)]
0027088: Documentation of add method of GeomConvert_CompCurveToBSplineCurve lacks speed hint
Improved documentation
nbv [Tue, 19 Jan 2016 11:05:25 +0000 (14:05 +0300)]
0026132: Invalid result of boolean operation
1. The procedures for check of coincidence between Edge-Edge and Edge-Face have been added. These methods are used instead of searching interferences between corresponding sub-shapes. In most cases (including case for this issue), new methods are more reliable and faster than intersections. However, its use should be avoided in case when the edge is not coincide with edge/face of another argument evidently (e.g. if edge vertices are not in another edge/face).
2. Interface of both IntTools_EdgeFace and IntTools_EdgeEdge has been changed (adding/deleted some field and methods).
Some test cases have been corrected in accordance with their new behavior.
Test case for issue CR26132.
isn [Fri, 15 Jan 2016 13:22:32 +0000 (16:22 +0300)]
0027085: ShapeUpgrade_UnifySameDomain very large performance difference for seemingly similar shapes
Performance of the algorithm ShapeUpgrade_UnifySameDomain has been improved by avoiding of multiple calls of ShapeBuild_ReShape::Apply() method.
New test cases have been added.
ika [Thu, 14 Jan 2016 12:46:25 +0000 (15:46 +0300)]
0027078: Exception in ShapeFixIntersectionTool::UnionVertexes()
Add checks to avoid exceptions.
Remove check for small 3D curve, now pcurve will be built for all small edges, which have not been removed by FixSmall.
kgv [Wed, 20 Jan 2016 07:24:20 +0000 (10:24 +0300)]
0027092: Coding - src/BRep/BRep_Tool.hxx extra semicolon triggers annoying warnings on Clang
kgv [Tue, 19 Jan 2016 11:17:45 +0000 (14:17 +0300)]
0027080: Coding - eliminate CLang compiler warning on OS X: unused parameter (in .mm files)
ski [Mon, 18 Jan 2016 10:29:38 +0000 (13:29 +0300)]
0021875: Section of face by plane produces invalid result
Test case was added.
abv [Thu, 7 Jan 2016 07:02:16 +0000 (10:02 +0300)]
0024836: Stack overflow when raising exception in low memory condition
Standard_OutOfMemory exception is refactored so as to avoid memory allocations (which will likely fail) when it is raised:
- method NewInstance() returns static instance (singleton)
- method Raise() raises copy of that singleton, resetting its message string
- message string is stored as field, not allocated dynamically (thus maximum message length is limited by buffer size)
Class Standard_Failure slightly revised: method Destroy() is merged to destructor, methods Get/SetMessageString() are made virtual.
Add test case for the bug
ski [Wed, 9 Dec 2015 08:55:05 +0000 (11:55 +0300)]
0026942: Training material are not built on OCCT installed after building by cmake procedure
Environment variable QT_DIR was renamed to QTDIR.
isn [Wed, 13 Jan 2016 14:17:15 +0000 (17:17 +0300)]
0027045: firsthole & holend commands work incorrectly
firsthole / holend / hole commands have been corrected.
Now they work correctly on the planar faces
Also some commented code have been deleted
Temporary update for backward compatibility with WOK
isn [Mon, 11 Jan 2016 15:32:41 +0000 (18:32 +0300)]
0027066: BRepFeat_MakeCylindricalHole::Perform() hides overloaded virtual function
Moving to protected section
ika [Tue, 12 Jan 2016 15:08:26 +0000 (18:08 +0300)]
0026989: [Regression in 6.9.0] Export of a reversed face leads to wrong data in 6.9.0
Add range for degenerated edges to mirrored pcurves during exporting of reversed faces.
ysn [Tue, 12 Jan 2016 12:47:42 +0000 (15:47 +0300)]
0026804: The level of most VIS Viewer commands is incorrect
Added highlighting of links with blue color.
Fixed incorrect tags.
abv [Thu, 14 Jan 2016 05:34:44 +0000 (08:34 +0300)]
0026511: Build fails with VTK 6.3rc1
Obsolete typedef "vtkFloatingPointType" is replaced by "double" in VIS and DRAW
aml [Mon, 11 Jan 2016 09:21:01 +0000 (12:21 +0300)]
0027059: Point->Curve Projection/Extrema fails [OCCT 7 only]
Add check to run extrema search when necessary condition of extrema is true (small value of first derivative of objective function).
Test case added.
abv [Thu, 7 Jan 2016 18:15:29 +0000 (21:15 +0300)]
0026514: OSD_Path can not work with French symbols in file name.
Restriction on path to contain only basic ASCII symbols is removed in OSD_Path, to allow paths to contain any symbols (defined in UTF-8 encoding).
msv [Mon, 28 Dec 2015 11:48:06 +0000 (14:48 +0300)]
0027032: [Regression to 6.9.1] Result of bcut has the same volume as the object
- Avoid reducing tolerance of the original edges in BOPAlgo_PaveFiller::CorrectToleranceOfSE
- If a boundary edge is considered coincident with a section curve then increase its tolerance more carefully, using real distance instead of extended reached tolerance.
- New test case bugs/modalg_6/bug27032
- Test cases boolean/gdml_private/E4-F3 have been amended to check area of the result.
- Puts TODO in test cases boolean gdml_private ZI5,ZI7,ZJ7.
kgv [Thu, 7 Jan 2016 08:22:21 +0000 (11:22 +0300)]
0027060: Visualization issue with TopoDS_Vertex after call of AIS_Shape::SetColor()
AIS_Shape::setColor() - define Aspect_TOM_PLUS point aspect
in sync with Prs3d_Drawer::PointAspect() when Prs3d_Drawer has no Link.
ika [Thu, 3 Dec 2015 08:35:42 +0000 (11:35 +0300)]
0026931: [Regression in 6.9.0] Exporting a face throws an exception
Writing periodic BSpline surfaces to IGES:
Replace segmentation of surface to setting new origin.
Fix face bounds if its length (in U or V) is more than period.
Segmentation of BSpline curve/surface:
Throw exception if segment length more than period.
Fix test case bugs moddata_1 bug14782:
bounds of segmentation must be the same as curve bounds, according to issue description.
Changes in classes Geom2d_BSplineCurve, Geom_BSplineCurve, Geom_BSplineSurface:
- Replace *Raise_if macros with unconditional exceptions where it does not affect on performance.
- Update comments in .hxx files in regard of raised exceptions.
ski [Tue, 22 Dec 2015 11:23:09 +0000 (14:23 +0300)]
0026684: Big tolerance values of the intersection curves
Added test cases for issue #26684
anv [Fri, 25 Dec 2015 07:55:07 +0000 (10:55 +0300)]
0026769: Chinese letters are not translated
Added a condition to omit empty symbols
emv [Mon, 28 Dec 2015 04:34:46 +0000 (07:34 +0300)]
27002: Test cases for Set-42
kgv [Fri, 25 Dec 2015 12:53:27 +0000 (15:53 +0300)]
0027039: Draw Harness, ViewerTest - Fix rubber-band blinking
ViewerTest - eliminate redundant redraw calls.
Configure AIS_RubberBand to use filled style.
AIS_RubberBand - define vertex normals to workaround transparency issue in TKOpenGl.
apv [Wed, 23 Dec 2015 15:31:21 +0000 (18:31 +0300)]
0026513: Offset API not returning result (seems to be "hanging")
Test case for issue #26513
Update of test case for issue #26513
apv [Thu, 24 Dec 2015 13:09:34 +0000 (16:09 +0300)]
0021670: BOP section produces bad result
Test case for issue #21670
pdn [Mon, 21 Dec 2015 12:41:39 +0000 (15:41 +0300)]
0027021: TopExp::Vertices performance optimization
TopExp::Vertices optimized for sequential calls. BRep_Tool::Curve performance regression fixed. Update for fetching point done.
Casts modified to pointers
Test case for issue CR27021
gcc warnings elimination
apv [Thu, 24 Dec 2015 11:03:19 +0000 (14:03 +0300)]
0026923: Operation CUT leads to faulty shape
Test case for issue #26923
ibs [Mon, 28 Dec 2015 09:11:39 +0000 (12:11 +0300)]
0027040: IVtk does not compile after configuring with CMake
hardcoded C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)/Lib/x64/d3d9.lib is removed from any vtk toolkit
abv [Sat, 9 Jan 2016 11:41:41 +0000 (14:41 +0300)]
0026990: Compiler warnings in LDOM_OSStream.hxx
Signature of methods xsputn() and overflow() of the class LDOM_SBuffer is corrected to correspond to signature of overriden virtual methods of std::streambuf.
abv [Sat, 9 Jan 2016 10:53:31 +0000 (13:53 +0300)]
0027058: AIS_ColorScale defines methods SetColor and SetWidth hiding inherited methods
Interface of AIS_ColorScale is revised to make it more consistent:
- Methods SetBgColor()/GetBGColor(), and corresponding field, are removed. It was used to select white or black color for the color bar frame (by contrast). That color can now be set explicitly by inherited method SetColor().
- Own methods Get/SetColor() are renamed to Get/SetIntervalColor(), to avoid confusion with inherited method SetColor()
- Methods Get/SetWidth() are renamed to Get/SetBreadth(), to avoid confusion with inherited method SetWidth()
- Method Get/Set for labels and colors, and DRAW command vcolorscale, now all accept index starting at 1
- Comments added to explain indexation rules
abv [Sat, 9 Jan 2016 06:33:40 +0000 (09:33 +0300)]
0027068: Coding - eliminate VC++ 14 compiler warnings in MFC samples
Code is corrected to avoid compiler warnings
kgv [Sat, 2 Jan 2016 20:57:23 +0000 (23:57 +0300)]
0027056: Configuration, genproj.tcl - fix generation of project files for Products
Script genproj.bat is improved to be usable for building OCC products depending on OCCT.
Search of VTK is corrected (broken in master)
kgv [Sat, 2 Jan 2016 11:36:04 +0000 (14:36 +0300)]
0027055: Configuration, genconf.tcl - reduce window height to fit into smaller screens
ski [Wed, 16 Dec 2015 13:57:20 +0000 (16:57 +0300)]
0026589: Testgrid command - Add option to execute only tests failed on previous run
New option for command testgrid was added.
Updated documentation.
Martin Siggel [Wed, 6 Jan 2016 09:34:48 +0000 (10:34 +0100)]
0027062: Fixed misspelling of resources install path
Martin Siggel [Wed, 6 Jan 2016 09:24:43 +0000 (10:24 +0100)]
0027061: Fixed compilation issue due to BOM
The byte order mark (BOM) in src/OpenGl/OpenGl_BVHClipPrimitiveTrsfPersSet.cxx
prevented compilation on some gcc compilers. I removed the BOM, which
fixes compilation.
abv [Tue, 29 Dec 2015 04:07:17 +0000 (07:07 +0300)]
0025076: Hidden overloaded virtual functions
Implementation of virtual functions is made more consistent in places where warning was issued:
- Missing implementation of virtual method Closed() added in classes inheriting Intf_Polygon2d
- Empty implementation of virtual method Read() accepting stream is moved from PCDM_RetrievalDriver to StdLDrivers_DocumentRetrievalDriver
- Method BRepFill::Delete() is renamed to DeleteProfile() to avoid confusion with method Delete() inherited from MMgt_TShared
- Virtual method AIS_Dimenaion::ComputePlane() is removed from base class; each dimension defines and uses its own method with the same name (but different arguments)
- Inherited virtual method Dump() with single argument in class XCAFDoc_ShapeTool is now defined as short-cut to own method Dump(), also calling parent's one
- Inherited virtual method BoundingBox(void) is made visible in AIS_Shape
- Inherited virtual method Box(void) is made visible in classes inheriting BVH_PrimitiveSet
abv [Sun, 3 Jan 2016 04:11:46 +0000 (07:11 +0300)]
0027067: Avoid use of virtual methods for implementation of destructors in legacy classes
Redundant methods Delete() and Desroy(), created in CDL as a hack to define destructor for the class, are removed; their definitions are converted to definition of destructors. In a couple of places methods Destroy() are preserved (bug made non-virtual) because they are called explicitly.
abv [Tue, 29 Dec 2015 04:00:18 +0000 (07:00 +0300)]
0027047: STEP -- eliminate useless polymorhic methods Init()
Methods Init() in STEP data classes are made non-virtual, redundant variants just calling the same method of the base class are removed.
A few places where removed method have been called are corrected.
abv [Sun, 3 Jan 2016 07:30:02 +0000 (10:30 +0300)]
0027057: Wrong license statements in some files
Missing license statements added, wrong ones corrected
abv [Sun, 27 Dec 2015 11:48:22 +0000 (14:48 +0300)]
Fix of compiler warnings on OCCT 7.0.0.beta (CLang and VC++ 14)
abv [Sat, 26 Dec 2015 15:59:36 +0000 (18:59 +0300)]
0027041: CMake - CLang 3.6.2 fails to link DRAWEXE on Ubuntu 15.10
"stdc++" is added to CSF_ThreadLibs in CMake script to make DRAWEXE built well.
In addition, TKVCAF added in CMake script for OCAF MFC sample, and Yacc and Lex files added in src/StepFile/FILES to make it consistent with actual contents of the package.
abv [Fri, 1 Jan 2016 15:43:02 +0000 (18:43 +0300)]
0027054: Upgrade procedure corrupts files with DOS line endings
Treatment of files in DOS encoding corrected to avoid duplication of CR symbols
ibs [Thu, 24 Dec 2015 15:22:35 +0000 (18:22 +0300)]
INSTALL_DIR is synced with CMAKE_INSTALL_PREFIX . Change of any of these vars resets the structure of the install folder
ibs [Tue, 22 Dec 2015 09:55:57 +0000 (12:55 +0300)]
0026916: Configuration, CMake - configure variables to customize installation path separately for executables, libraries and resources
change the structure of binaries for unix
OCCT_RESOURCE_PATH env variable is used
bugmaster [Thu, 24 Dec 2015 14:33:34 +0000 (17:33 +0300)]
Final updates before release
- Update of mfc samples
- Adjustment of test cases
- Update of CSharp sample (lost button added)
- Corrected paths to data files in 07_Triangulation mfc sample
- Update of overview (Requirements section)
- Update of upgrade guide (changes in modeling algorithms)
myn [Wed, 9 Dec 2015 17:27:36 +0000 (20:27 +0300)]
0026961: Recover possibility to read files in old persistence format -- preparation
Added basic support for possibility to read filed in old persistent format.
Toolkits TKStd, TKStdL, TKShape added to provide necessary tools (to be done).
Obsolete interfaces are removed from classes in PCDM and Storage.
apv [Wed, 23 Dec 2015 13:21:22 +0000 (16:21 +0300)]
0026354: Invalid result of General Fuse on wire and face
Test case for issue #26354
apv [Wed, 23 Dec 2015 14:20:58 +0000 (17:20 +0300)]
0026580: BRepProj_Projection does not provide any results
Test cases for issue #26580
apv [Wed, 23 Dec 2015 14:59:45 +0000 (17:59 +0300)]
0026535: Boolean Cut does not work on shell and solids
Test case for issue #26535
nbv [Wed, 23 Dec 2015 14:43:19 +0000 (17:43 +0300)]
0027029: Possible regression in test de iges_1 L6 because of fix for issue 26837
In BRepLib::SameRange, allow exceeding curve range for periodic curves.
Test cases returned to the state before fix for issue #26837.
mkv [Tue, 22 Dec 2015 14:55:54 +0000 (17:55 +0300)]
0026837: SameParameter algorithm throws an exception
Correction of test cases for issue CR26837
bugmaster [Wed, 23 Dec 2015 10:40:41 +0000 (13:40 +0300)]
Incrementing OCCT version up to 7.0.0 beta
abv [Mon, 21 Dec 2015 15:46:58 +0000 (18:46 +0300)]
0027026: Modeling -- Improve AppCont_LeastSquare::AppCont_LeastSquare::FixSingleBorderPoint()
Update of test-cases according to the new behavior
vpa [Fri, 18 Dec 2015 18:29:13 +0000 (21:29 +0300)]
0026960: Visualization, TKOpenGl - update transformation of dynamically highlighted presentation
- added method UpdateHighlightTrsf for immediate update of highlight presentation's transformation;
- interfaces for immediate transformation update of corresponding presentations were added to entity owner classes;
- test case for issue #26960
msv [Wed, 21 Oct 2015 09:36:03 +0000 (12:36 +0300)]
0026619: Tolerances of operands are modified using bop
0026796: The result of General Fuse operation is self-intersecting shape
The fix forces creation of new sub-shapes (vertex, edge) when the tolerance of some sub-shape of an argument is to be increased.
This new behavior is turned off by default. It can be turned on using two ways:
1) Setting 'locking' flag of the arguments.
2) Calling the method SetNonDestructive(Standard_True) of the API classes.
Various bug fixes in the algorithm:
- Compute correct tolerance values for intersections of type Line/Line, Line/Plane, Plane/Plane.
- In case of Line/Plane intersection check if line's vertices lie on the plane.
- Do not allow decreasing of the tolerance value of the Line/Line intersection vertex.
- In IntTools_EdgeEdge, call the method FindParameters with proper 3D tolerance of the curve.
- Force making copy of a degenerated edge if its vertex is touched but no 2D intersection with other curves is found.
- Remove pave blocks both ends of which became referring to the same vertex after vertices substitution.
- Avoid exception in IntTools_Context::IsVertexOnLine if Extrema is not done.
- Reduce tolerance of vertex/edge using actual distances to interfered shapes if it was increased due to line/line, line/plane, or plane/plane small intersection angle.
- Update tolerance of edges to reach all representations in a common block.
- In V-E intersections, check if a vertex hits beyond shrunk range, in such case create V-V interference.
- Do not put a section edge to the result if it becomes to be a micro edge after updating its vertex.
- Correctly make vertices same-domain during the work of MakeBlocks.
- Decrease shrunk range at least on a Precision::Confusion() in addition to vertex tolerance.
- Add Confusion to bounding boxes of new shapes in DS
- Add tolerance Precision::Confusion() to compare distances of touching cases to fix regressions.
TODO marks have been removed from (or modified in) the following test cases (Improvements):
boolean bsection M3 N2 R2
boolean gdml_private B6 C2 C6 G7 I6 F6 J1 J4 M7 N1 N8 N9 O3 O4 O6 O8 O9 P1 P2 P5 Q1 Q3 Q5 S9 T2 U4 U5 U9 ZB5 ZB6 ZC1 ZC5 ZD3 ZD6 ZD7 ZH2 ZH5 ZI2 ZI5 ZI7 ZI9 ZJ3 ZJ4 ZJ7 F8 I6 G1
boolean volumemaker A5 A6 B3 B4 B7 B9 D3 D4 D7 F1
boolean bopcut_2d D5
bugs modalg_5 bug25043
bugs modalg_2 bug472_1 bug472_2 bug472_3
Test cases updated because they are still bad but can be accepted as non-regression:
boolean volumemaker C4 A3 A7 E6
bugs modalg_1 bug10232
boolean bsection N2
Put new TODO in the scripts:
bugs modalg_5 bug25232_9
bugs modalg_6 bug26619
bugs modalg_1 buc60462_2
bugs modalg_4 bug772
For the following tests the result in fix became better, so take fix result as the reference:
bugs modalg_5 bug24628
bugs modalg_6 bug26954_3
boolean volumemaker A4 B5 B6 C3 C8 D2 D5 F2
bugs modalg_2 bug472_2
bugs modalg_1 buc60776_1
- Add the method SetNonDestructive to API classes of user level
kgv [Tue, 22 Dec 2015 15:04:29 +0000 (18:04 +0300)]
0027031: Samples - fix compilation issues in java/jniviewer sample
Add -std=c++11 compiler flag to Android.mk.
OcctJni_Viewer - drop removed arguments within V3d_View::SetWindow() usage.
OcctJni_Window - add missing NativeFBConfig() method declared in the interface.
ifv [Tue, 17 Nov 2015 07:53:51 +0000 (10:53 +0300)]
0026837: SameParameter algorithm throws an exception
Test case for issue CR26837
duv [Tue, 14 Jul 2015 14:42:27 +0000 (17:42 +0300)]
0026433: AIS_Dimension may attempt to modify the state of default Drawer shading aspect
- Added checks to allow modification of only own aspects in AIS_Dimension::DrawText()
abv [Tue, 22 Dec 2015 10:58:36 +0000 (13:58 +0300)]
0024514: Unclear guidelines to report issues in Mantis
Contribution workflow document is revised and extended to eliminate inconsistencies and describe the process in more details:
- Meaning of issue fields in Mantis (Category, Severity, Profile, Project and Target Version, etc.) is described in more details
- Additional rules are defined and examples given for defining Summary and Description, and writing commit messages
- Requirements for testing, creation of test case, update of user documentation, etc. when resolving an issue, are described
- Additional elements of the workflow (patch sumbission, rebasing branches, use of feedback status, issue relationships) are described
Some refinement in other guides; OCC logo updated for better quality.
abv [Mon, 21 Dec 2015 10:05:29 +0000 (13:05 +0300)]
0027023: Documentation -- cross-references are hardly noticeable in PDF
Doxygen option PDF_HYPERLINKS is set to NO to enforce generation of cross-references as explicit page numbers in PDF manuals
ysn [Tue, 3 Nov 2015 15:11:29 +0000 (18:11 +0300)]
0027020: Documentation -- proof-read upgrade guide
Developer guide update.md thoroughly checked and formatted.
ysn [Thu, 22 Oct 2015 07:08:41 +0000 (10:08 +0300)]
0026425: Update of OCCT contribution workflow
Requirements to the release documentation described in more details.
Added some suggestions concerning the workflow.
Workflow rewritten according to the remarks.
ysn [Fri, 18 Dec 2015 12:33:23 +0000 (15:33 +0300)]
0026992: Use Doxygen tag @ref for cross-references in documentation
href have been replaced by @ref tags except for the links to web-pages and other documents where @ref tags do not work either.
ysn [Tue, 8 Dec 2015 10:08:37 +0000 (13:08 +0300)]
0026964: Merge OCAF white-papers into OCAF user's guide
The text of white papers has been rearranged as follows:
OCAF white paper:
Purpose of OCAF
Overview of the architecture
A look inside OCAF
- merged with the Introduction chapter
Getting Started
An example of OCAF usage
- added in Samples chapter
The Data Framework
- merged with Data Framework Services chapter
Persistent Data Storage
- added as a separate chapter
OCAF function mechanism white paper:
- added as a separate Example of Function Mechanism Usage chapter
Distribution of data through OCAF tree white paper:
- added as "The choice between standard and custom attributes" paragraph in Standard Attributes chapter.
akz [Fri, 18 Dec 2015 15:50:35 +0000 (18:50 +0300)]
0027000: Invalid result of ShapeUpgrade_UnifySameDomain
Add two test scripts to bugs/heal grid with involved in bug shapes
ibs [Mon, 21 Dec 2015 15:18:41 +0000 (18:18 +0300)]
0027025: Configuration, CMake - do not get properties from non-VTK targets
ibs [Mon, 14 Dec 2015 09:42:05 +0000 (12:42 +0300)]
0027022: Configuration, CMake - rename ungrouped variables to include them to the existing groups
APPLY_OCCT_PATCH_DIR renamed with BUILD_PATCH
OCCT_ALGO_EXTENDED_OUTPUT renamed with BUILD_WITH_DEBUG
REBUILD_PLATFORM_DEPENDENT_CODE renamed with BUILD_YACCLEX
3RDPARTY_DOXYGEN_DOT_EXECUTABLE renamed with 3RDPARTY_DOT_EXECUTABLE
ibs [Mon, 14 Dec 2015 09:42:05 +0000 (12:42 +0300)]
0026993: Configuration, CMake - use the abstraction level of VTK instead CSF_VTK for their libraries
CSF_VTK removed from CMake meta-projects (this variable is left in EXTERNLIB because it is used by genproj.tcl)
USE_VTK shown if toolkits using VTK involved in the solution
VTK_DIR removed from the advanced variables
Warning messages 'Warning. .../a.hxx~ is not involved into .../FILES' renamed with 'Warning: File .../a.hxx~ is not listed in .../FILES'
ibs [Mon, 21 Dec 2015 13:57:39 +0000 (16:57 +0300)]
0026878: CMake - encode properly version of OCCT in Windows binaries
.rc file has been added to each toolkit project for msvc
ifv [Thu, 17 Dec 2015 11:30:08 +0000 (14:30 +0300)]
0027010: Wrong classification of the point relatively the solid
Algorithm of curve-face intersection was improved in order to take in account edge tolerance zones for more precise classification of state of intersection point.
Test case for issue CR27010
abv [Fri, 18 Dec 2015 12:14:39 +0000 (15:14 +0300)]
0026762: Static parameter "read.scale.unit" is not used
Parameter "read.scale.unit" is removed from sources and docs
aba [Fri, 18 Dec 2015 07:17:18 +0000 (10:17 +0300)]
0025338: MFC standard samples: 3D selection rectangle blinking
- Added new interactive object AIS_RubberBand to draw rubber rectangle or polygon
- Added using of AIS_RubberBand in DRAW view for rectangular selection
- Added using of AIS_RubberBand in MFC samples for rectangular selection
abv [Sat, 19 Dec 2015 14:55:41 +0000 (17:55 +0300)]
0027016: Restore global type descriptors for old compilers
Global type descriptors are restored for VC++ 10 - 12 and GCC before 4.3.
Checks of compiler support of C++ features are corrected for GCC, ICC, and CLang in Standard_Handle.hxx
gka [Fri, 18 Dec 2015 11:23:26 +0000 (14:23 +0300)]
0026947: Data exchange can not be compiled without visualization anyomre
Dependence between STEP translator and visualization occurred due to addition class STEPConstruct_GDTProperty using enumeration from package XCAFDimTolObject.
In order to avoid this dependence class STEPConstruct_GDTProperty was moved in package STEPCAFControl and was renamed to STEPCAFControl_GDTProperty.
abv [Fri, 18 Dec 2015 12:03:35 +0000 (15:03 +0300)]
0026951: Incorrect conversion of miles into millimeters during export to STEP
Coefficient for conversion of miles to mm is corrected in UnitsMethods::GetLengthFactorValue() to be
1609344.
In UnitsAPI/Units.dat, value of inch is corrected to be exactly 25.4 mm (it was 25.
40001969); definition of nautical mile corrected to be exactly 1852 m.
Test bugs fclasses bug26951 is added to check definition of mm and miles.
DRAW command "unit" is corrected to put its output to Tcl instead of cout.
bugmaster [Sun, 20 Dec 2015 11:49:14 +0000 (14:49 +0300)]
Adding checks in test cases
bugmaster [Fri, 18 Dec 2015 08:31:05 +0000 (11:31 +0300)]
Correction of test case
abv [Fri, 18 Dec 2015 04:00:44 +0000 (07:00 +0300)]
Eliminate compiler warnings on VC++ 14 and CLang.
Remove unused stuff from OSD_WNT.cxx.
isk [Tue, 15 Dec 2015 07:58:58 +0000 (10:58 +0300)]
0026908: Visualization, TKOpenGl - eliminate -Wunused-parameter compiler warnings for Android target
Support TBO on OpenGL ES 3.2+
vpa [Wed, 16 Dec 2015 09:25:03 +0000 (12:25 +0300)]
0026973: Visualization - selection of entities hidden by clipping planes is broken
- misprint in distance calculation in SelectMgr_RectangularFrustum::IsClipped is corrected;
- selecting volume manager in clipping check in SelectMgr_ViewerSelector::checkOverlap was replaced ;
- added view-defined clipping planes check to SelectMgr_RectangularFrustum;
- test case for issue #26973.
ibs [Fri, 27 Nov 2015 10:03:25 +0000 (13:03 +0300)]
0026229: Add the possibility in OCAF to open/save a document from/to a stream object
TDocStd_Application class extended to open/save a document of XmlOcaf and BinOcaf format
from/to standard SEEKABLE stream object which should support SEEK functionality.
Open and SaveAs DRAW commands got new additional argument "-stream" to turn on using of stream functionality.
The main changes for BinOcaf format applied in:
FSD_BinaryFile class (static method using standard stream added)
BinLDrivers_DocumentRetrievalDriver and BinLDrivers_DocumentStorageDriver classes use standard stream object as an argument
The main changes for XmlOcaf format applied in:
LDOMParser and LDOM_XmlWriter classes use standard stream object as an argument
Unused class FSD_Archive and its siblings removed from MFC samples.
nbv [Tue, 15 Dec 2015 13:24:31 +0000 (16:24 +0300)]
0026576: Wrong result obtained by intersection algorithm.
1. Algorithm of Restriction line decomposition has been created.
2. Algorithm of check of coincidences between Walking and Restriction line has been improved in new function IsCoincide(...) (which replaces IsIn2DBox(...)).
3. Some useful methods have been added in IntPatch_PointLine (and inherited) classes.
Test cases for this issue have been created.
gka [Fri, 11 Dec 2015 08:01:27 +0000 (11:01 +0300)]
0024595: STEP import missing surfaces
Modification to create natural bounds for face based on the spherical and Bspline surface and having only one bound represented by Vertex loop was made.
According to the specification of ISO-10303 part 42:
"If the face has only one bound and this is of type vertex_loop, then the interior of the face is the domain of the face_surface.face_geometry. In such a case the underlying surface shall be closed (e.g. a spherical_surface.)"
- natural bounds are applied only in case if VertexLoop is only the one
defined face bound.
Update of test-cases according to the new behavior
Test-case for issue #24595
ski [Fri, 11 Dec 2015 12:29:23 +0000 (15:29 +0300)]
0026888: Crash in Java ImportExport sample on shape deleting
Corrected behaviour of 3d viewer after shape deleting in qt samples.
Corrected behaviour of toolbar buttons after shape deleting in csharp samples.
ski [Tue, 27 Oct 2015 09:51:21 +0000 (12:51 +0300)]
0016472: Improve environment scripts for samples
Output directory for binaries of CSharp samples was corrected.
Common run.bat was created for CSharp samples.
Behaviour of run.bat file from mfc samples was extended.
Recovered separate run_*.bat files for each sample in CSharp sample.
ysn [Wed, 2 Dec 2015 14:55:00 +0000 (17:55 +0300)]
0026212: There are some problems with location of text and images on pages
Fixes to improve layout of images and formula in generated PDF documentation.
vpa [Fri, 11 Dec 2015 08:35:59 +0000 (11:35 +0300)]
0026959: Visualization - cannot select edge of the shape
- polygonal representation of the edge is used for sensitive entity computation regardless of requested deflection;
- test case for issue #26959
Adjusting test case
nbv [Fri, 11 Dec 2015 14:53:43 +0000 (17:53 +0300)]
0026841: Boolean operation "bsection" produce invalid result on the attached cases
1. Intersection curve was not bounded by faces domain. It was the reason of big edge tolerance. This problem has been fixed.
2. Interface bopcurves DRAW-command has been changed in order to make possible to reproduce intersection problem.
Creation of test case for this issue.
gka [Wed, 9 Dec 2015 08:00:13 +0000 (11:00 +0300)]
0026708: Fix shape did not fix attached shape. Seam edge was not added to the attached periodic face.
Added taking into account crossing seam edge during collection of the wires in the ShapeFix_ComposeShell.cxx
Test script for bug
0026708.
kgv [Tue, 15 Dec 2015 09:14:41 +0000 (12:14 +0300)]
0026995: Visualization, TKXCAF - do not reset custom material within XCAFPrs_AISObject::Compute()
Assign default material in class constructor instead.
vro [Wed, 9 Dec 2015 07:18:28 +0000 (10:18 +0300)]
0023465: Weird InsertBefore, InsertAfter and Remove methods in TDataStd lists
abv [Sun, 13 Dec 2015 10:21:54 +0000 (13:21 +0300)]
0026988: Fresh compiler warnings (VC++ 14, GCC 5.2.1, CLang 3.6.2)
Compiler warnings eliminated:
- VC++: potential use of uninitialized variable
- GCC: potential use of uninitialized variable [-Wmaybe-uninitialized], redundant const on return value [-Wignored-qualifiers]
- CLang: missing override specifier on overloaded virtual function [-Winconsistent-missing-override], function call within typeid() [-Wpotentially-evaluated-expression]