eap [Thu, 20 Mar 2008 13:10:45 +0000 (13:10 +0000)]
PAL19276 ExportMED does not work when the mesh is too big
if (type == SMDSAbs_Face)
vTool.GetAllExistingFaces( myElems );
else
- vTool.GetAllExistingFaces( myElems );
+ vTool.GetAllExistingEdges( myElems );
}
Minimize momory usage at writting mesh to med file
eap [Wed, 5 Mar 2008 10:23:39 +0000 (10:23 +0000)]
+ // find out side orientation, which is important if there are several wires (PAL19080)
+ bool isForward = true;
+ if ( nbWires > 1 ) {
...
+ }
+
StdMeshers_FaceSide* wire = new StdMeshers_FaceSide( theFace, wireEdges, &theMesh,
- true, theIgnoreMediumNodes);
+ isForward, theIgnoreMediumNodes);
eap [Mon, 11 Feb 2008 08:42:12 +0000 (08:42 +0000)]
// PAL18941(a saved study with a mesh belong Z is opened and the mesh is belong X)
if ( aMeshDimension == 1 && !anIsXDimension ) // 1D only if mesh is along OX
- aMeshDimension = 3;
+ if ( anIsYDimension ) {
+ aMeshDimension = 2;
+ anIsXDimension = true;
+ } else {
+ aMeshDimension = 3;
+ }
}
eap [Fri, 8 Feb 2008 14:17:09 +0000 (14:17 +0000)]
+ // PAL18941(a saved study with a mesh belong Z is opened and the mesh is belong X)
+ if ( aMeshDimension == 1 && !anIsXDimension ) // 1D only if mesh is along OX
+ aMeshDimension = 3;
eap [Tue, 29 Jan 2008 13:45:04 +0000 (13:45 +0000)]
PAL18696 SMESH : version of MED export
+ /*!
+ * Return string representation of a MED file version comprising nbDigits
+ */
+ char* GetVersionString(SMESH::MED_VERSION version, CORBA::Short nbDigits);
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);