Salome HOME
projects
/
modules
/
smesh.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bos #29171 Refactor testing procedure
[modules/smesh.git]
/
doc
/
examples
/
modifying_meshes_ex13.py
1
# Removing Orphan Nodes
2
3
from mechanic import *
4
5
# add orphan nodes
6
mesh.AddNode(0,0,0)
7
mesh.AddNode(1,1,1)
8
# remove just created orphan nodes
9
res = mesh.RemoveOrphanNodes()
10
if res == 1: print("Removed %d nodes!" % res)
11
else: print("KO nodes removing.")