Public issue archive

All archived issues

Public and community records, ordered by the most recent archived update.

7,498 records

Page 49 of 94

Showing 80 issue records.

Open CASCADE · OCCT:Tests

#0025330 Test display commands for AIS interactive object in local context

Issue #0025316 allows testing combinations of ::Display, ::Erase, ::Remove of AIS_InteractiveContext within an opened local context. Until now it was a recommended practice to close any local contexts before (re)displaying interactive objects. This is a good advice, since combina

closedminor1 note

Open CASCADE · OCCT:Configuration

#0027672 VTK7 support

Today it is not possible to compile OCCT with VTK7. This possibility is required for internal R&D. It has also been asked several times by community, e.g. here: http://www.opencascade.com/content/cmake-error-when-vtk-module-enabled Changes to apply are minor. They include the

closedminor4 notes

Open CASCADE · OCCT:Modeling Algorithms

#0023446 Wrong bounding box calculated by BRepBndLib

This bug comes from Salome Mantis issue http://salome.mantis.opencascade.com/view.php?id=21864 In DRAW: pload ALL restore Common_1.brep aa bounding aa The xmax value is too big (look at the view).

closedminor3 notes

Community · OCCT:Modeling Algorithms

#0027837 Wrong computation of inertia axes for equal sided box

Inertia axes are incorrectly computed for the box with equal sides. At the same time computation is correct if the difference exists and is tiny (e.g. 1e-4mm with length of 200mm). Perhaps there is some instability or round-off error, etc. Anyway the skewed result is very differe

closedminor9 notes

Open CASCADE · OCCT:Modeling Algorithms

#0027666 Wrong min distance result

BRepExtrema_DistShapeShape computes non-zero distance on the two attached shapes. However, there is an intersection. For example BOP common gives non-empty result. restore solids138.brep s1 restore solids147.brep s2 dist s1 s2 # this results in: distance : 3.1251829616557059 # to

closedminor3 notes

Open CASCADE · OCCT:Coding

#0027684 Coding rules - drop unused declarations from Graphic3d

Graphic3d package contains the following declarations that can be removed: Graphic3d_TypeOfPolygon Graphic3d_TypeOfPrimitive Graphic3d_Array1OfVector.hxx Graphic3d_Array1OfVertex.hxx Graphic3d_Array2OfVertex.hxx Graphic3d_CStructurePtr.hxx Graphic3d_CycleError.hxx Graphic3d_DataS

closedintegration request12 notes

Open CASCADE · OCCT:Foundation Classes

#0024788 Foundation Classes - remove Dico_Dictionary

Dico_Dictionary and whole package implements functionality on binding generic data with the text strings. The strings are put into search tree and tree node is created for each character. Such organization is not efficient for millions of strings. It is proposed to change Dico_Di

closedmajor15 notes

Open CASCADE · OCCT:Modeling Algorithms

#0026894 Intersection algorithm between two infinite cylinders is hanging

Method IntPatch_Intersection::GeomGeomPerfom(...) returns "Not Done". Consequently, method IntPatch_Intersection::ParamParamPerfom(...) is called. It works very slow. Shapes are as same as attached to the bug #26884. restore [locate_data_file Bug26884-f1.brep] f1 restor

closedminor22 notes

Open CASCADE · OCCT:Visualization

#0027815 Visualization, TKV3d - AIS_InteractiveContext has inconsistent display mode API

Two overloads of AIS_InteractiveContext::SetDisplayMode() use different argument types for the display mode (AIS_DisplayMode vs Standard_Integer). Meanwhile, a generic integer is used throughout TKV3d to identify a display mode. Using AIS_DisplayMode enum imposes a serious restri

closedintegration request14 notes

Community · OCCT:Modeling Algorithms

#0027565 [Regression to OCCT 7.0.0] Number of Intersections Is Wrong

The issue was introduced in [revision removed]. Up to [revision removed] two intersections (solutions) have been reported for a given wire and edge. But now only one intersection is reported, even though there are obviously two intersections. I will upload two files: Attachment 2

closedminor11 notes

Open CASCADE · OCCT:Configuration

#0028077 Add option for genproj to generate UWP projects

Current approach to generating projects for UWP with CMake is not reliable: it fails depending on combination of CMake version, OS version, VS 2015 flavor and settings, position of the moon in the sky, or whatever. It would be much easier if an option to generate VS 2015 projects

closedminor23 notes

Community · OCCT:DRAW

#0024932 addsweep does not check if the supplied variable contains a shape

addsweep does not check if the supplied variable contains a shape pload ALL vertex v0 0 0 0 vertex v1 1 0 0 edge e1 v0 v1 wire w1 e1 mksweep w1 shape solid1 S addsweep solid1 #exception thrown mksweep w1 shape emptyshape addsweep emptyshape #exception thrown mksweep w1 addsweep u

closedtrivial15 notes

Community · OCCT:Modeling Algorithms

#0026450 Boolean operation is running endless

For the appended shapes the bop command is running endless or extremely long. The shapes are considered valid by checkshape, bopcheck and bopargcheck. restore Attachment 1 (BREP) a restore Attachment 2 (BREP) b bop a b

closedminor8 notes

Open CASCADE · OCCT:Modeling Algorithms

#0026673 BOPTools_AlgoTools::ComputeVV incorrectly checks two vertices for intersection

This method uses the condition: D(P(V1), P(V2)) <= Tol(V1)+Tol(V2) But must use the following: D(P(V1), P(V2)) <= Tol(V1)+Tol(V2)+Precision::Confusion() So, if we create a box with height equal to 2e-7+1e-14 the self-intersection checker must report an error. But now it doe

closedminor5 notes

Open CASCADE · OCCT:Modeling Algorithms

#0025920 BRepAlgoAPI_Fuse makes invalid result

BRepAlgoAPI_Fuse makes invalid result in test case bugs modalg_2 bug426_1 ... Draw[]> OCC426 result rs1 rs2 rs3 fuse32 fuse321 fuse32 = BRepAlgoAPI_Fuse(rs3, rs2) fuse321 = BRepAlgoAPI_Fuse(fuse32, rs1) Mass: 25918.139392115794 Trianglating Faces ..... No of Triangles = 50 No

closedminor9 notes

Open CASCADE · OCCT:Coding

#0028039 Coding rules, TObj - pass file name by reference

It is common practice to pass TCollection_AsciiString/TCollection_ExtendedString by reference, however the following methods pass string by copy: - TObj_Application::SaveDocument() - TObj_Application::LoadDocument() - TObj_Model::SaveAs() - TObj_Model::Load () which is inconsiste

closedtrivial6 notes

Open CASCADE · OCCT:Foundation Classes

#0027810 Compilation error on NCollection_UBTree::Kill()

Visual Studio raises compilation error when call to NCollection_UBTree::Kill() is used in user's code due to inconsistency of signature of delNode() with type of passed parameter (Handle(NCollection_BaseAllocator)& theAlloc instead of const Handle(NCollection_BaseAllocator)&a

closedminor7 notes

Open CASCADE · OCCT:Configuration

#0028027 Configuration - option BUILD_RESOURCES does not work on CMake 2.8

New CMake option BUILD_RESOURCES added in scope #0027258 does not work with CMake 2.8: CMake Error at adm/cmake/occt_resources.cmake:51 (string): string does not recognize sub-command APPEND Call Stack (most recent call first): adm/cmake/occt_resources.cmake:76 (OCCT_GENERATE_CON

closedminor10 notes

Open CASCADE · OCCT:Documentation

#0028059 Correction of upgrade guide for 7.1

This bug is for correction of upgrade guide for OCCT 7.1. The first issue to correct concerns the section "Typedefs". The following statement is not true: For most applications this change should be transparent, since the size of types have not been changed. Not needed

closedtext6 notes

Open CASCADE · OCCT:Modeling Data

#0025649 crvtpoints command return wrong deflection in output.

This bug was founded in scope of CR25489. Wrong deflection computation caused by two facts: 1) Usage of ExtremaCC, which compute only minimum, but we need to get maximum. 2) Solving two-dimensional task, on which term "maximum", not well-defined. It is necessary to chan

closedblock15 notes

Community · OCCT:Documentation

#0027678 Draw User's guide contains wrong example for for-loop

In the Draw User's guide (chapter "The Command Language"), there are examples for TCL for-loops, but the condition of the for loop is wrong. for {set i 0} {$i 10} {incr i} { => for {set i 0} {$i < 10} {incr i} { for {set i 1} {$i = 100} {incr i} { => for {set i

closedminor8 notes

Open CASCADE · OCCT:Documentation

#0027923 Environment variable INSTALL_DIR_LAYOUT is not documented

The environment variable INSTALL_DIR_LAYOUT is not documented. This variable is used by cmake when OCCT is building from sources. There is a corresponding complaint from one of our customers. He uses several platforms: Linux & Windows: "Speaking of linux, unfortunately t

closedminor4 notes

Open CASCADE · OCCT:Application Framework

#0023639 Exception on attempt to save to XmlOcaf format

In DRAW, after pload ALL is called, saving to XmlOcaf format seem to be not working. Note that it works well in pload only OCAF and MODELING. Tried both Windows and Linux. pload ALL NewDocument D XmlOcaf box b 10 10 10 SetShape D 0:1:1 b SaveAs D /tmp/b.xml To be used the next sc

closedminor14 notes

Community · OCCT:Samples

#0028105 HLR rendering crash in MFC sample

The beta release package opencascade-7.1.0-vc10-64-beta.exe will crash if open HLR rendering option. This can be reproduced in MFC samples. It works fine in QT sample. 1. Open MFC Visualization sample (mfc Viewer3d) 2. Click button "Cylinder" to display cylinder (5-th i

closedcrash5 notes

Open CASCADE · OCCT:Application Framework

#0027932 Improvement of standard attributes usability

Current OCAF approach allows to set on the same label only one Attribute of the same type, for example only one TDataStd_Real attribute. It is proposed to remove this limitation by adding so called 'user defined' feature to the attribute. I.e. it is proposed to keep GUID (identif

closedminor24 notes

Open CASCADE · Website:Portal

#0028038 Incorrect documentation generated for "user guides/BRep Format"

It was found that "BRep Format" document contains a lot of TEX formulas. For some strange reason images have not been generated. The example below demonstrates such situation. \( f_{1}\; f_{2}\; f_{3}\; f_{4}\; f_{5}\; f_{6}\; f_{7} \) <flag>s \( f_{i}\;(1\leq i \

closedminor6 notes

Community · OCCT:Modeling Algorithms

#0027759 invalid result of a boolean fuse

performing a boolean fuse on two shapes that occt reports as valid (even for fuse bop) produce a result that checkshape command reports as faulty (BRepCheck_BadOrientationOfSubshape) Draw[55]> restore Attachment 1 (BREP) i1 i1 Draw[56]> checkshape i1 This shape seems to be

closedminor7 notes

Community · OCCT:Mesh

#0028118 Mesh generation hangs then crashes

Could be a STEP importer issue - mesh generation hangs when generating a mesh for a particular STEP file. Open attached STEP file in Windows ImportExport sample (tested with 6.9.1) - display tessalation hangs until application crashes. pload MODELING VISUALIZATION DATAEXCHANGE te

closedmajor10 notes

Community · OCCT:Mesh

#0025264 Mesh very slow for Revol shape

Mesh algorithm very slow for a revol shape in occ6.7, while in occ6.2.0 is very fast. PS: The deflection of the BRepMesh::Mesh only have the effect for sphere; other shapes or surfaces have no effect.

closedminor11 notes

Community · OCCT:Visualization

#0023519 Mixing wireframe and shaded visualization impacts performance

As stated in subject, when displaying shaded objects either with face outlines (introduced in 23407) or along with some other wireframe objects slows down the visualization. I think this is due to the fact that the shaded objects are displayed using VBO while the others not. I th

closedminor7 notes

Open CASCADE · OCCT:Modeling Algorithms

#0027033 Modeling -- ensure stable result of area calculation

The results of sprops command are unstable on some shapes, yielding different values from time to time for exactly the same shape. This should be fixed so that results are always the same. Note that similar problem has been reported in #0025945 , but in that issue the differences

closedminor6 notes

Open CASCADE · OCCT:Modeling Algorithms

#0028053 Regressions in HLR when FPE signals are enabled

When FPE signals are enabled on current master (by setting environment variable CSF_FPE to 1), many tests fail due to FPE exceptions in HLR algorithm (see the list in Additional Information field). Debugging of the problem on one case (bugs modalg_6 bug27280) shown that FPE overf

closedmajor8 notes

Community · OCCT:Foundation Classes

#0027849 ResourceManager path computations fail for the folders containing dots

If the resource files (Plugin, XCAF, STEP, etc.) are located in some folder, which has dots in the name (e.g. "this.is.a.bad.folder.name"), the path assembling logic fails, since OSD_Path will be firstly constructed with the folder path only, which means that the folder

closedminor7 notes

Open CASCADE · OCCT:Samples

#0025362 Samples - Conversion to B-Spline doesn't show bspline surface on Windows 8

Sample Conversion to B-Spline doesn't show bspline surface on Windows 8. 1. Launch sample "Conversion to B-Spline" (mfc Convert sample) 2. Click next\previous sample 3. Build surface should be highlighted (by orange color for wires, by blue color for shapes), first samp

closedminor8 notes

Open CASCADE · OCCT:Samples

#0027827 Samples - fix compilation errors in XAML (UWP) sample.

Sample XAML (UWP) needs to use TKIGES, TKSTEP, TKXSBase, TKSTL for successful compilation currently. It is necessary to build all possible toolkits for UWP platform. • Build OCCT and XAML sample with UWP • Try to build and run XAML sample

closedminor15 notes

Community · OCCT:Samples

#0027543 Samples - flickering when view is resized in MFC samples

When using the MFC samples, e.g. Viewer3d, there is a flickering when the view is resized. When using Draw, there is no flickering. The flickering looks as if the scene is first cleared in White and then drawn again in dark grey. The Problem occurs in all OCC versions (I didn't t

closedminor12 notes

Open CASCADE · OCCT:Samples

#0028072 Samples - remove deprecated vector export from MFC sample

Vector export through gl2ps is deprecated in OCCT and does not work by default - therefore it is better removing related code from MFC sample. - Start Import/Export MFC sample. - Import any shape. - Export to Image file.

closedintegration request4 notes

Community · OCCT:Modeling Algorithms

#0027015 Sewing returns invalid shape if some faces are nearly plane cones

When sewing a couple of faces, which should form a closed solid, an invalid Shell is returned. checkshape says that some faces have self-intersecting wires. These faces are cones that are nearly planes. If These faces are modified to be real planes, sewing works fine. So, it seem

closedminor46 notes

Community · OCCT:Documentation

#0028130 Spelling error in description of class BOPAlgo_Section

please check the picture "The algorithm to build a Secton between the arguments. The Section consists of vertices and edges. The Section contains:" it should be Section but not Secton

closedminor3 notes

Open CASCADE · OCCT:Coding

#0028096 VC14 compiler warnings on 7.1.0.beta

Compilation of OCCT 7.1.0.beta by VC++ 14 produces several warnings on local variable hiding another variable with the same name defined in outer scope. Compile with VS2015

closedminor7 notes

Open CASCADE · OCCT:Visualization

#0027796 Visualization - allow 3D objects with Graphic3d_TMF_2d flag

Current implementation of Graphic3d_TMF_2d defines custom projection matrix unrelated to camera definition. This makes rendering of objects with this flag completely independent. As a side effect, this flag disallow usage of any 3D objects due to clipping issues. It will provide

closedminor19 notes

Community · OCCT:Visualization

#0027008 Visualization - polygonal selection algorithm does not work with MeshVS_Mesh

I am trying to select triangles of my mesh (MeshVS_Mesh) by calling the "Select" method of my context with a polyline (point2d array of screen coordinates).The "internal" triangles are selected as supposed. But there are also many selected triangles outside th

closedminor9 notes

Open CASCADE · OCCT:Visualization

#0028127 Visualization - transparent object breaks Z-Layer depth buffer clear

If last object in ZLayer is semitransparent, next ZLayer is drawn without depth buffer cleared. The reason is because *OpenGl_Workspace::updateMaterial()* disables depth writes by *glDepthMask(GL_FALSE)* and following *glClear(GL_DEPTH_BUFFER_BIT)* in *OpenGl_Layer::Render()* has

closedminor9 notes

Open CASCADE · OCCT:Visualization

#0028035 Visualization - V3d_Trihedron::compute() endlessly creates new graphic groups

V3d_Trihedron::compute() calls GraphicClear() with flag FALSE > myStructure->GraphicClear (Standard_False); which implies that groups are not deleted from the structure. At the same time, compute() unconditionally creates new groups. Either, GraphicClear() should be called

closedmajor12 notes

Open CASCADE · OCCT:Visualization

#0027817 Visualization, StdSelect_BRepOwner - copy transformation persistence flag

StdSelect_BRepOwner does not copy transformation persistence flag for created presentation leading to highlighting artifacts within local selection. pload MODELING VISUALIZATION vclear vinit View1 vtrih t vdisplay -trsfPers trihedron -trsfPersPos -1 -1 40 t box b 30 40 50 vdispla

closedminor9 notes