Get intersecting walls and unjoin them

Unjoin_walls.dyn (116.7 KB)

Hello Dynos,

I need just some sidekicks in the right direction! The topic is: to unjoin the intersected interiour walls and move them to the edge (so the walls become shorter)

Is my script on the right way?

First i can collect my 2 types of walls.
Second I can get all my intersected locationlines, but finally I don`t know how to contine
Perhaps there is an easier way to get the walls in the right shape…

I need some insperation