splinepy.helpme.extract.Extractor#

class splinepy.helpme.extract.Extractor(spl)[source]#

Bases: object

Helper class to allow direct extraction from spline obj (BSpline or NURBS). Internal use only.

Examples

>>> spline_faces = my_spline.extract.faces()

Methods

Extractor.arrow_data(adata_name)

Creates edges that represent arrow_data.

Extractor.bases([ids, parametric_view])

Creates spline that represents basis functions of given ids.

Extractor.beziers()

Extract all (rational) Bezier patches within a given spline

Extractor.boundaries([boundary_ids])

Extracts boundary spline.

Extractor.control_edges()

Extract control edges (mesh).

Extractor.control_faces()

Extract control face (mesh).

Extractor.control_mesh()

Calls control_edges, control_faces, control_volumes based on current spline.

Extractor.control_points()

Extracts control points and return as vertices.

Extractor.control_volumes()

Extracts control points and return as vertices.

Extractor.edges([resolution, all_knots])

Extract edges (lines) from a given spline, or multipatch object.

Extractor.faces(resolution[, watertight])

Extract faces from spline.

Extractor.spline([splitting_plane, interval])

Extract a spline from a spline.

Extractor.volumes(resolution[, watertight])

Extract volumes from spline.