aFile.setValue(theFile)
aSession.finishOperation()
-assert(aPart.size("Construction") == 35), "Right number of construction: {}".format(aPart.size("Construction"))
+assert(aPart.size("Construction") == 46), "Right number of construction: {}".format(aPart.size("Construction"))
assert(aPart.size("Folders") == 1), "Right number of folders: {}".format(aPart.size("Folders"))
"""
modif = False
nb_points = len(l_noeuds)
- printverbose ("Analyse de {}".format(l_noeuds), verbose=self._verbose_max or True)
+ printverbose ("Analyse de {}".format(l_noeuds), verbose=self._verbose_max)
#print ("nb_points = {}".format(nb_points))
indice = 0
# B.2. Gestion des points alignés
- self.print_info (self._verbose_max or True, "avant gestion des points alignés")
+ self.print_info (self._verbose_max, "avant gestion des points alignés")
self.correctConnectivity ()
for key, value in self.connectivities.items():
self.infoPoints[value['chainage'][-1]]["isEnd"] = True
- self.print_info (self._verbose_max or True, "avant les création de points, etc.")
+ self.print_info (self._verbose_max, "avant les création de points, etc.")
# B.4. Creation des points
self.createPoints(part)
# B.9. Création des sketchs pour le pipeNetwork
self.createSketches(part)
- self.print_info (self._verbose_max or True, "après la création des sketchs")
+ self.print_info (self._verbose_max, "après la création des sketchs")
# B.10. Création des pipes
self.createPipes(part, nameRes)