fibomat.curve_tools.smooth module#

exception fibomat.curve_tools.smooth.NonSmoothableError[source]#

Bases: RuntimeError

__init__(*args, **kwargs)#
args#
with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

fibomat.curve_tools.smooth.make_tangent_vector(start: ndarray, end: ndarray)[source]#
fibomat.curve_tools.smooth.make_normal_vector(other: ndarray)[source]#
fibomat.curve_tools.smooth.intersection_on_arc(arc: Arc, intersection: ndarray)[source]#
fibomat.curve_tools.smooth.intersection_on_line(line: Line, intersection: ndarray)[source]#
fibomat.curve_tools.smooth.arc_arc_intersection(arc_0: Arc, arc_1: Arc)[source]#
fibomat.curve_tools.smooth.arc_line_intersection(arc: Arc, line: Line)[source]#
fibomat.curve_tools.smooth.line_line_intersection(line_1: Line, line_2: Line)[source]#
fibomat.curve_tools.smooth.make_arc_func(segment: Arc, other_tangent: array, kink: ndarray, radius: float)[source]#
fibomat.curve_tools.smooth.make_segments(left_vertex: ndarray, kink_vertex: ndarray, right_vertex: ndarray, radius: float)[source]#
fibomat.curve_tools.smooth.make_smoothing_arc(left_segment: Line | Arc, left_offset: Line | Arc, right_segment: Line | Arc, right_offset: Line | Arc)[source]#
fibomat.curve_tools.smooth.make_smoothed_vertices(smoothing_arc_points: Tuple, left_vertex, kink_vertex, right_vertex, left_segment, right_segment)[source]#
fibomat.curve_tools.smooth.smooth(arc_spline: ArcSpline, radius: float)[source]#