mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-14 02:30:33 +05:00
PR: examples adaptation to geomBuilder and smeshBuilder
This commit is contained in:
parent
9bb4cc82c2
commit
63dc53a14d
@ -19,7 +19,7 @@ idbox = geompy.addToStudy(box, "box")
|
|||||||
mesh = smesh.Mesh(box, "Mesh_free_nodes")
|
mesh = smesh.Mesh(box, "Mesh_free_nodes")
|
||||||
algo = mesh.Segment()
|
algo = mesh.Segment()
|
||||||
algo.NumberOfSegments(10)
|
algo.NumberOfSegments(10)
|
||||||
algo = mesh.Triangle(smesh.MEFISTO)
|
algo = mesh.Triangle(smeshBuilder.MEFISTO)
|
||||||
algo.MaxElementArea(150.)
|
algo.MaxElementArea(150.)
|
||||||
mesh.Compute()
|
mesh.Compute()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user