0021406: EDF 1975 NETGENPLUGIN: Submesh hypothesis not taken into account
Correct the patch for
0021556: EDF 2222 SMESH: 3D mesh after projection impossible
- smWithAlgoSupportingSubmeshes[0].push_back( shDim2smIt->second );
+ smWithAlgoSupportingSubmeshes[3].push_back( shDim2smIt->second );
1) Don't clear selection at open of dialog;
2) Disable automatic insert of selected elements in the list box;
3) Don't clear mesh selection during geometry selection.
Apply all-dimensional algos ("algos1") before applying
non-all-dimensional algos which are more local than all-dimensional
algos of upper dimension than algos1.
E.g.
* global on a COMPOUND of SOLIDs: "Prism 3D"
* local on a SOLID: "Regular 1D"
* local on a FACE: "Projection 1D-2D"
Fix is to apply "Projection 1D-2D" before applying "Regular 1D".
In getMediumNodeOnComposedWire(), prevent an exception at setting a
medium node, already added to a sub-mesh in AddNode() due to
mySetElemOnShape==true, to another EDGE.
Fix for "LayerDistribution" hypothesis
+ * \brief Store a hypothesis wrapping this not published one.
+ *
+ * This hyp, which has no own parameters but is published, is used to store variables
+ * defining parameters of this hypothesis.
+ */
+ void SetHolderHypothesis(in SMESH::SMESH_Hypothesis hyp);
+ // a published hypothesis wrapping this not published one
+ SMESH::SMESH_Hypothesis_var myHolder;
Fix for "LayerDistribution" hypothesis
+ * \brief Store a hypothesis wrapping this not published one.
+ *
+ * This hyp, which has no own parameters but is published, is used to store variables
+ * defining parameters of this hypothesis.
+ */
+ void SetHolderHypothesis(in SMESH::SMESH_Hypothesis hyp);
Fix approach to storage of NoteBook variables.
Before the fix: names of variables are stored in PythonDump commands
and nothing is stored in the Study.
Problem: after variable removal, the PythonDump script becomes invalid.
Fix: names of variables are stored in the Study, PythonDump commands
store indices of variables within "StringAttribute".
class SMESH_Gen_i {
...
- void UpdateParameters(/*CORBA::Object_ptr theObject,*/ const char* theParameters);
+ void UpdateParameters(CORBA::Object_ptr theObject, const char* theParameters);
+ const std::vector< int >& GetLastParamIndices() const;
+ std::vector< std::string > GetAllParameters(const std::string& theObjectEntry) const;