Skip to content

Commit c3476e4

Browse files
committed
fix new issues
1 parent f9e68fd commit c3476e4

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

pygem/nurbshandler.py

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@
88
import numpy as np
99
from OCC.BRep import BRep_Tool, BRep_Builder, BRep_Tool_Curve
1010
from OCC.BRepAlgo import brepalgo_IsValid
11-
from OCC.BRepBuilderAPI import (BRepBuilderAPI_MakeEdge,
12-
BRepBuilderAPI_MakeFace, BRepBuilderAPI_NurbsConvert,
13-
BRepBuilderAPI_MakeWire, BRepBuilderAPI_Sewing)
11+
from OCC.BRepBuilderAPI import (
12+
BRepBuilderAPI_MakeEdge, BRepBuilderAPI_MakeFace,
13+
BRepBuilderAPI_NurbsConvert, BRepBuilderAPI_MakeWire, BRepBuilderAPI_Sewing)
1414
from OCC.BRepOffsetAPI import BRepOffsetAPI_FindContigousEdges
1515
from OCC.Display.SimpleGui import init_display
1616
from OCC.GeomConvert import (geomconvert_SurfaceToBSplineSurface,
17-
geomconvert_CurveToBSplineCurve)
17+
geomconvert_CurveToBSplineCurve)
1818
from OCC.gp import gp_Pnt, gp_XYZ
1919
from OCC.Precision import precision_Confusion
2020
from OCC.ShapeAnalysis import ShapeAnalysis_WireOrder
2121
from OCC.ShapeFix import ShapeFix_ShapeTolerance, ShapeFix_Shell
2222
from OCC.StlAPI import StlAPI_Writer
2323
from OCC.TColgp import TColgp_Array1OfPnt, TColgp_Array2OfPnt
2424
from OCC.TopAbs import (TopAbs_FACE, TopAbs_EDGE, TopAbs_WIRE, TopAbs_FORWARD,
25-
TopAbs_SHELL)
25+
TopAbs_SHELL)
2626
from OCC.TopExp import TopExp_Explorer, topexp
27-
from OCC.TopoDS import (topods_Face, TopoDS_Compound, topods_Shell,
28-
topods_Edge, topods_Wire, topods, TopoDS_Shape)
27+
from OCC.TopoDS import (topods_Face, TopoDS_Compound, topods_Shell, topods_Edge,
28+
topods_Wire, topods, TopoDS_Shape)
2929
from matplotlib import pyplot
3030
from mpl_toolkits import mplot3d
3131
from stl import mesh
@@ -76,9 +76,9 @@ def load_shape_from_file(self, filename):
7676
7777
Not implemented, it has to be implemented in subclasses.
7878
"""
79-
raise NotImplementedError(
80-
'Subclass must implement abstract method'
81-
'{}.load_shape_from_file'.format(self.__class__.__name__))
79+
raise NotImplementedError('Subclass must implement abstract method'
80+
'{}.load_shape_from_file'.format(
81+
self.__class__.__name__))
8282

8383
def parse(self, filename):
8484
"""
@@ -282,7 +282,8 @@ def parse_face(topo_face):
282282
283283
:param Face topo_face: the input Face.
284284
285-
:return: control points of the `Face`, control points related to `Edges`.
285+
:return: control points of the `Face`, control points related to
286+
`Edges`.
286287
:rtype: tuple(numpy.ndarray, list)
287288
288289
"""

0 commit comments

Comments
 (0)