I tried to use the refactor field processing after my model creates the two layers needed to calculate the expression:
line_locate_point(geometry:=geometry(get_feature('LH_fusion', 'id', '1')), point:=end_point($geometry))
However it seems QGIS can't use any temporary outputs from the model itself (see Refering to the input-layer of a QGIS model in field calculator expression)
What could be a good work around for such a case ?
I had thought about virtual fields which can handle real time updates but I don't really see how.
Or maybe a Python script which recalculate each lines according to the expression set by the refactor field algorithm like here: Update virtual field on demand (not permanently) (QGIS)
