X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_SWIG%2FSMESH_box_tetra.py;h=52618addf4dff9e85feeb882542eb2048e27775f;hb=b935211a7eacf3854980265a4cc3db8f856014ee;hp=d9d425c7f220b6c5f9de92537f0927a46cb60737;hpb=8d297d6698f361d4f2dde723050bcfbaea050920;p=modules%2Fsmesh.git diff --git a/src/SMESH_SWIG/SMESH_box_tetra.py b/src/SMESH_SWIG/SMESH_box_tetra.py index d9d425c7f..52618addf 100644 --- a/src/SMESH_SWIG/SMESH_box_tetra.py +++ b/src/SMESH_SWIG/SMESH_box_tetra.py @@ -1,5 +1,5 @@ # -*- coding: iso-8859-1 -*- -# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE # # Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -34,7 +34,7 @@ import SMESH, SALOMEDS from salome.smesh import smeshBuilder smesh = smeshBuilder.New() -# ---- define a boxe +# ---- define a box box = geompy.MakeBox(0., 0., 0., 100., 200., 300.) @@ -52,7 +52,7 @@ print("number of Edges in box : ", len(subEdgeList)) ### ---------------------------- SMESH -------------------------------------- -# ---- init a Mesh with the boxe +# ---- init a Mesh with the box mesh = smesh.Mesh(box, "MeshBox") @@ -90,7 +90,7 @@ print(hypVolume.GetId()) print(hypVolume.GetMaxElementVolume()) smesh.SetName(hypVolume, "MaxElementVolume_" + str(maxElementVolume)) -print("-------------------------- compute the mesh of the boxe") +print("-------------------------- compute the mesh of the box") ret = mesh.Compute() print(ret) if ret != 0: