splinepy.helpme.extract.faces#
- splinepy.helpme.extract.faces(spline, resolution, watertight=True)[source]#
Extract faces from spline. Valid iff para_dim is one of the following: {2, 3}. In case of {3}, it will return only surfaces. If internal faces are desired, used spline.extract.volumes().faces(). Note that dimension higher than 3 is not showable.
- Parameters:
spline (Spline / Multipatch) – (self-argument if called via extract member of a spline)
resolution (int or list) – samples per parametric dimension.
watertight (bool) – Default is True. Only related to para_dim = 3 splines. If False, overlapping vertices at boundary edges won’t be merged.
- Returns:
faces
- Return type:
faces