Overlayed lines to show separately

Hello... If I draw two figures that are somehow connected and share some of the contour lines, is there a way to make these lines show so that they
appear separated from each other?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file

Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.