diff --git a/src/meshpy/mesh_creation_functions/beam_nurbs.py b/src/meshpy/mesh_creation_functions/beam_nurbs.py index aa7de450..710dae46 100644 --- a/src/meshpy/mesh_creation_functions/beam_nurbs.py +++ b/src/meshpy/mesh_creation_functions/beam_nurbs.py @@ -59,9 +59,8 @@ def get_nurbs_curve_function_and_jacobian_for_integration(curve, tol=None): if tol is None: tol = mpy.eps_pos - knot_vector = curve.knot_vectors[0] - curve_start = np.min(knot_vector) - curve_end = np.max(knot_vector) + curve_start = curve.parametric_bounds[0][0] + curve_end = curve.parametric_bounds[1][0] def eval_r(t): """Evaluate the position along the curve."""