Build and visualize line and simple pipes cave. Calculating diameter. Resolving coordinates