Both Isotrim and Isocurves depend on surface construction so they’re an as-is result.
For something like this you can form lines like @jessesn showed you, though depending on the surface that can be problematic (reminds me of this thread).
So, another alternative is to grab a ‘mid axis’ curve (tween curve between your longest edges), construct perpendicular intersecting surfaces (instead of using just planes, brep | brep intersection is faster than plane | brep), and generate your lines: Isocurves internalized_slice-planes.gh (122.3 KB)