weldx.geometry.linear_profile_interpolation_sbs#

weldx.geometry.linear_profile_interpolation_sbs(profile_a, profile_b, weight)#

Interpolate 2 profiles linearly, segment by segment.

Parameters:
  • profile_a (Profile) – First profile

  • profile_b (Profile) – Second profile

  • weight (float) – Weighting factor [0 .. 1]. If 0, the profile is identical to ‘a’ and if 1, it is identical to b.

Returns:

Interpolated profile

Return type:

Profile