Translate off center points to match with curve

Hello, I am creating parts from a wall.
I need to find the position of these parts within the wall but parts have no location property, I am using the centroid of the solid extracted from the part to figure out its location, the problem is the centroid not always match with the wall location line

If the part is not an extrusion of a regular shape the centroid is misaligned in relation to its origin wall location curve:

Is there a way to project these points into the wall location line?

You can try the geometry closest point node, to find the closest point on the wall location line from the points you have found.

Thanks I will try it.