eap [Tue, 18 Dec 2007 11:55:39 +0000 (11:55 +0000)]
PAL18328 SMESH_AdvancedEditor.py don't work in Debug version
#ifdef _DEBUG_
if ( !srcEdges.back() )
- throw SALOME_Exception(LOCALIZED("Source edge not found"));
+ {
+ cout << "SMESH_MeshEditor::makeWalls(), no source edge found for a free face #"
+ << iF << " of volume #" << vTool.ID() << endl;
+ }
#endif
eap [Tue, 18 Dec 2007 11:54:04 +0000 (11:54 +0000)]
PAL18328 SMESH_AdvancedEditor.py don't work in Debug version
-class SMDS_WNT_EXPORT SMDS_VolumeTool
+class SMDS_EXPORT SMDS_VolumeTool
{
public:
+ const SMDS_MeshVolume* Get() const;
+ // return element
+
+ int ID() const;
+ // return element ID
eap [Thu, 15 Nov 2007 14:36:27 +0000 (14:36 +0000)]
PAL17694 (New Tool About Hexahedral Meshing)
+ void SetNodeOnVertex(in long NodeID, in long VertexID)
+ void SetNodeOnEdge(in long NodeID, in long EdgeID, in double paramOnEdge)
+ void SetNodeOnFace(in long NodeID, in long FaceID, in double u, in double v)
+ void SetNodeInVolume(in long NodeID, in long SolidID)
+ void SetMeshElementOnShape(in long ElementID, in long ShapeID)
eap [Thu, 15 Nov 2007 14:29:56 +0000 (14:29 +0000)]
PAL17694 (New Tool About Hexahedral Meshing)
+ /*!
+ * Node location on a shape
+ */
+ struct NodePosition {
+ long shapeID;
+ GEOM::shape_type shapeType;
+ double_array params; // [U] on EDGE, [U,V] on FACE, [] on the rest shapes
+ };
+ * \brief Return position of a node on shape
+ */
+ NodePosition GetNodePosition(in long NodeID);
+
+ /*!
eap [Mon, 12 Nov 2007 09:59:34 +0000 (09:59 +0000)]
PAL16842 (Genertion of groups when a mesh is transformed)
+ /*!
+ * \brief Create groups of elements made during transformation
+ * \param nodeGens - nodes making corresponding myLastCreatedNodes
+ * \param elemGens - elements making corresponding myLastCreatedElems
+ * \param postfix - to append to names of new groups
+ */
+ PGroupIDs generateGroups(const SMESH_SequenceOfElemPtr& nodeGens,
+ const SMESH_SequenceOfElemPtr& elemGens,
+ const std::string& postfix);
eap [Mon, 12 Nov 2007 09:57:27 +0000 (09:57 +0000)]
PAL16842 (Genertion of groups when a mesh is transformed)
+ typedef boost::shared_ptr< SMDS_Iterator<SMESH_Group*> > GroupIteratorPtr;
+ GroupIteratorPtr GetGroups() const;
eap [Wed, 7 Nov 2007 10:08:53 +0000 (10:08 +0000)]
PAL16202,16203 (Propagation 1D on edges group)
1) fix error message when Mesh.Compute() fails due to bad hypo definition
2) fix args of TreatHypoStatus() calls
eap [Wed, 7 Nov 2007 09:48:46 +0000 (09:48 +0000)]
PAL16202,16203 (Propagation 1D on edges group)
- * * theNumber - Number of subshapes. Object is selected if it contains theNumber of
- * theSubShapeType sub-shapes
+ * * theNumber - Number of subshapes. Object is selected if it contains
+ * theNumber of theSubShapeType sub-shapes, or at least
+ * one theSubShapeType, provided that theNumber==0
eap [Wed, 7 Nov 2007 09:41:55 +0000 (09:41 +0000)]
PAL16202,16203 (Propagation 1D on edges group)
remove useless includes and
+ /*!
+ * \brief Return submeshes of groups containing the given subshape
+ */
+ std::list<SMESH_subMesh*> GetGroupSubMeshesContaining(const TopoDS_Shape & shape) const
+ throw(SALOME_Exception);
PAL14858 (The Mesh Info Dialog Box is too slow)
+enum SMDSAbs_ElementOrder {
+ ORDER_ANY, /*! entities of any order */
+ ORDER_LINEAR, /*! entities of 1st order */
+ ORDER_QUADRATIC /*! entities of 2nd order */
+};
PAL16631 (SALOME crash after a mesh computation failed due to lack of memory)
- void Update(const Handle(SALOME_InteractiveObject)& theIO,
+ bool Update(const Handle(SALOME_InteractiveObject)& theIO,
+ // PAL16857(SMESH not conform to the MED convention):
+ if ( aMeshDimension == 2 && anIsZDimension ) // 2D only if mesh is in XOY plane
+ aMeshDimension = 3;
PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack of memory)
- bool CheckMemory()
+ int CheckMemory() - return size of free memory
PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack of memory)
- void Update( int theIsClear = true );
+ bool Update( int theIsClear = true );
PAL16774,PAL16631(SALOME crash after a mesh computation that failed because of lack of memory)
1)
- void Update( int theIsClear = true );
+ bool Update( int theIsClear = true );
2) Do not catch here
eap [Mon, 27 Aug 2007 07:02:36 +0000 (07:02 +0000)]
PAL16773: First display of a group of nodes appears as not selected in VTK.
- myHighlitableActor->SetVisibility(anIsVisible);
myHighlitableActor->GetExtractUnstructuredGrid()->
SetModeOfExtraction(VTKViewer_ExtractUnstructuredGrid::ePoints);
+ myHighlitableActor->SetVisibility(anIsVisible);