Parting line formation by slicing a trimmed surface model