Salome HOME
projects
/
modules
/
hexablock.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2020
[modules/hexablock.git]
/
src
/
HEXABLOCK_SWIG
/
hexablock.py
diff --git
a/src/HEXABLOCK_SWIG/hexablock.py
b/src/HEXABLOCK_SWIG/hexablock.py
index f1f8b71885823d598c8c5122bee98b6d7b214d36..f4d67e79ebe00d463347f90df60fbf50a6c954fd 100644
(file)
--- a/
src/HEXABLOCK_SWIG/hexablock.py
+++ b/
src/HEXABLOCK_SWIG/hexablock.py
@@
-1,5
+1,5
@@
# -*- coding: latin-1 -*-
# -*- coding: latin-1 -*-
-# Copyright (C) 2009-20
16
CEA/DEN, EDF R&D
+# Copyright (C) 2009-20
20
CEA/DEN, EDF R&D
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-140,7
+140,7
@@
def mesh (doc, name=None, dim=3, container="FactoryServer"):
stream = doc.getFirstExplicitShape ()
if stream != None :
stream = doc.getFirstExplicitShape ()
if stream != None :
- shape = geompy.RestoreShape (stream)
+ shape = geompy.RestoreShape (stream
.encode()
)
else :
shape = geompy.MakeBox(0, 0, 0, 1, 1, 1)
else :
shape = geompy.MakeBox(0, 0, 0, 1, 1, 1)