eap
8b26d4794f
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
protect from exceptions at importing plugins
2012-03-11 08:53:28 +00:00
eap
649673b639
error in the script
...
-mesh.TriToQuadObject(GroupTriToQuad, None , 1.57)
+mesh.TriToQuadObject(GroupTriToQuad, smesh.FT_AspectRatio , 1.57)
2012-03-11 08:52:28 +00:00
eap
5ea4843e44
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
Describe methods wrapping algorithms and hypotheses into python
2012-03-07 15:15:56 +00:00
eap
ca54e1c21e
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
+ void SetVarParameter (in string parameter, in string method);
+ string GetVarParameter (in string methodName);
2012-03-07 15:14:02 +00:00
eap
d4675122f5
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
Now it's necessary to call myMesh->SetParameters() just before
calling a method using parameters that can be defined via notebook variables
2012-03-07 15:13:29 +00:00
eap
4a78d582ba
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
Add elements used in SMESH_2smeshpy
2012-03-07 15:11:06 +00:00
eap
5ccb7d953a
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
Call h->SetVarParameter() instead of h->SetParameters()
2012-03-07 15:10:28 +00:00
eap
102c101f1c
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
Use TVar structure to dump arguments that can be defined via notebook variables
2012-03-07 15:07:13 +00:00
eap
f68bcab022
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
Bind methods creating algorithms (defined by plugins) to the class Mesh
2012-03-07 15:06:37 +00:00
eap
e361a31d0f
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
+ StdMeshersDC.py \
2012-03-07 15:05:01 +00:00
eap
3c1e09c062
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
Move definition of algorithms to ./StdMeshersDC.py
2012-03-07 15:04:45 +00:00
eap
93e79bb6c3
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
Use TVar structure to dump arguments that can be defined via
notebook variables
2012-03-07 15:03:32 +00:00
eap
130a2297e9
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
Remove explicit treatment of NETGEN commands
2012-03-07 15:02:16 +00:00
eap
b38b77a5aa
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
void SMESH_Mesh_i::SetParameters(const char* theParameters)
{
- SMESH_Gen_i::GetSMESHGen()->UpdateParameters(SMESH::SMESH_Mesh::_narrow(_this()),
- CORBA::string_dup(theParameters));
+ SMESH_Gen_i::GetSMESHGen()->UpdateParameters(theParameters);
2012-03-07 14:59:11 +00:00
eap
b0d8fa70d6
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
Map names of variables set via SetVarParameter() to the method name setting them
+ void SetVarParameter (const char* parameter, const char* method);
+ char* GetVarParameter (const char* methodName);
+ std::map< std::string, std::string > myMethod2VarParams; // variable parameters
+
+ public:
+ // Methods for backward compatibility of notebook variables
+ virtual void setOldParameters (const char* theParameters);
+ virtual std::string getMethodOfParameter(const int paramIndex, int nbVars) const { return ""; }
+ virtual int getParamIndex(const TCollection_AsciiString& method, int nbVars) const { return -1; }
};
// ======================================================
2012-03-07 14:58:06 +00:00
eap
f5efe8066b
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
Store names of variables set via UpdateParameters() in myLastParameters field
- void UpdateParameters(CORBA::Object_ptr theObject, const char* theParameters);
+ void UpdateParameters(/*CORBA::Object_ptr theObject,*/ const char* theParameters);
+ const std::vector< std::string >& GetLastParameters() const { return myLastParameters; }
+ std::vector< std::string > myLastParameters;
2012-03-07 14:52:53 +00:00
eap
27624ded2e
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
Insert names of variables set via SMESH_Gen_i::UpdateParameters()
into dump strings using TVar structure
2012-03-07 14:50:05 +00:00
eap
b32aba1501
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
Create new _pyHypothesis'es by reading their data from resource files
of plugins using _pyHypothesisReader
2012-03-07 14:44:20 +00:00
eap
8b1e8414fb
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
...
+class _pyHypothesisReader: public Standard_Transient
2012-03-07 14:42:06 +00:00
rnv
e30138815a
Forbid renaming of the objects "in place" by default.
2012-03-07 11:40:47 +00:00
rnv
1ce1163823
Win32 compilation.
2012-02-29 12:02:54 +00:00
gdd
e92fc7dbaf
Update doc
2012-02-28 16:10:55 +00:00
gdd
4994204921
Update doc
2012-02-28 15:57:14 +00:00
gdd
607f25cad1
Add support of internal vertices for BLSURF
2012-02-28 15:50:48 +00:00
rnv
753a42595f
Issue 21046: EDF 1610 GUI: To be able to change the width of the lines:
...
Update documentation.
2012-02-28 15:19:32 +00:00
eap
8f47f69190
- \note VTK viewer has the limitation that volume elements basing on
...
- the same set of nodes are invisible in the VTK viewer.
2012-02-28 14:22:50 +00:00
eap
4bbc91256d
load mesh from study before Compute and PreCompute
2012-02-28 14:06:58 +00:00
rnv
a973225eef
Fix compilation on win32 platform.
2012-02-28 14:00:22 +00:00
eap
ce9cd12e09
fix CoincidentElements::IsSatisfy() for polyhedrons
2012-02-28 13:32:04 +00:00
eap
7468bfdc0b
0021375: EDF 1671 SMESH: Dump study of current state
...
Do not erase commands of hyps not used to compute mesh
2012-02-28 07:47:56 +00:00
gdd
08a6d91f97
Changed "Display settings" to "Properties"
2012-02-27 12:49:43 +00:00
gdd
009081b70f
Update doc
2012-02-27 11:14:54 +00:00
gdd
e16988d581
Update the "Colors / Size" dialog.
2012-02-27 11:09:21 +00:00
gdd
a2b5a4c6cc
rnc: added missing translations
2012-02-27 09:56:00 +00:00
eap
1c9e778a7c
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
+ ## Loads mesh from the study after opening the study
+ def Load(self):
2012-02-27 09:15:43 +00:00
eap
4986d0a274
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
Do not forget imported mesh on hypotheses modification
2012-02-24 11:49:16 +00:00
eap
19e34e5301
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
interface SMESH_Mesh
{
+ boolean IsLoaded()
+ void Load()
interface SMESH_IDSource
{
+ boolean IsMeshInfoCorrect();
2012-02-24 10:58:14 +00:00
eap
481ff62932
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
+ <parameter name="forget_mesh_on_hyp_modif" value="false"/>
2012-02-24 10:56:40 +00:00
eap
582347efc7
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
addPreference( tr( "PREF_FORGET_MESH_AT_HYP_MODIF" ), loadGroup, LightApp_Preferences::Bool,
2012-02-24 10:55:52 +00:00
eap
d2218320ff
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
2012-02-24 10:55:12 +00:00
eap
626f2aee7a
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
don't call GetTypes() of GroupOnFilter that can be very long
2012-02-24 10:52:50 +00:00
eap
154564a672
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
move actual mesh loading to SMESH_PreMeshInfo
2012-02-24 10:51:22 +00:00
eap
11bf8d1e4d
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
+ bool ToForgetMeshDataOnHypModif() const { return myToForgetMeshDataOnHypModif; }
2012-02-24 10:50:28 +00:00
eap
6bf9c4aeaf
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
+ virtual bool IsMeshInfoCorrect();
2012-02-24 10:49:36 +00:00
eap
9b54dd0f44
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
reimplement after making all member fields of SMESH_subMesh_i private
2012-02-24 10:49:18 +00:00
eap
f2e2182b74
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
+ CORBA::Boolean IsLoaded()
+ void Load()
+ virtual bool IsMeshInfoCorrect();
+ SMESH_PreMeshInfo* _preMeshInfo; // mesh info before full loading from study file
2012-02-24 10:47:20 +00:00
eap
53b7f3b9bb
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
+ virtual bool IsMeshInfoCorrect();
+ SMESH_PreMeshInfo* _preMeshInfo; // mesh info before full loading from study file
2012-02-24 10:46:31 +00:00
eap
c978123512
untabify
2012-02-24 10:43:27 +00:00
eap
6c858efd41
rename treshold -> threshold
2012-02-24 10:42:57 +00:00
eap
feb9a2ff2e
0021208: Performance issue when loading SMESH with an hdf file containing a big mesh
...
+ SMESH_PreMeshInfo.hxx \
2012-02-24 10:42:10 +00:00