Reference plane from curved surface / sloped surface

I am looking for dynamo script to create reference plane from surface (system families),

Does any one have?

hello @Balaji.gunasekharan5 and welcome

for information, here are the rules of the forum