Very nice!
Will you write another program for the rough inlet?