mirror of https://gitlab.com/pamhyr/pamhyr2
Meshing: Mage: Fix pep8.
parent
f2b97b68bd
commit
1243b2dc88
|
|
@ -188,8 +188,14 @@ class MeshingWithMage(AMeshingTool):
|
||||||
ns, npts_max = self.get_reach_stat()
|
ns, npts_max = self.get_reach_stat()
|
||||||
|
|
||||||
gl = reach.compute_guidelines()
|
gl = reach.compute_guidelines()
|
||||||
|
|
||||||
# we make sure that the lines are in the left-ti-right order
|
# we make sure that the lines are in the left-ti-right order
|
||||||
guide_list = [x.name for x in reach.profiles[0].named_points() if x in gl[0]]
|
guide_list = [
|
||||||
|
x.name
|
||||||
|
for x in reach.profiles[0].named_points()
|
||||||
|
if x in gl[0]
|
||||||
|
]
|
||||||
|
|
||||||
self.complete_cross_section(guide_list)
|
self.complete_cross_section(guide_list)
|
||||||
self.interpolate_cross_section(ns, step)
|
self.interpolate_cross_section(ns, step)
|
||||||
self.purge()
|
self.purge()
|
||||||
|
|
@ -225,9 +231,9 @@ class MeshingWithMage(AMeshingTool):
|
||||||
def complete_cross_section(self, gl=[]):
|
def complete_cross_section(self, gl=[]):
|
||||||
gl1 = ["un"] + gl
|
gl1 = ["un"] + gl
|
||||||
gl2 = gl + ["np"]
|
gl2 = gl + ["np"]
|
||||||
print (gl1)
|
|
||||||
for l in zip(gl1, gl2):
|
for gls in zip(gl1, gl2):
|
||||||
self.st_to_m_compl(0, l[0], l[1])
|
self.st_to_m_compl(0, gls[0], gls[1])
|
||||||
|
|
||||||
def interpolate_cross_section(self, ns, step: float):
|
def interpolate_cross_section(self, ns, step: float):
|
||||||
self.interpolate_profils_pas_transversal(
|
self.interpolate_profils_pas_transversal(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue