public override void PostPrintOnto(SectionLayer layer)
 {
     base.PostPrintOnto(layer);
     if (this.connectParent != null)
     {
         PipeNetGraphics.PrintWirePieceConnecting(layer, this.parent, this.connectParent.parent, false);
     }
 }
        public override void CompPrintForPowerGrid(SectionLayer layer)
        {
            if (this.TransmitsGasNow)
            {
                PipeOverlayMats.LinkedOverlayGraphic.Print(layer, this.parent);
            }
            if (this.parent.GetComp <CompPipe>().Props.transmitsGas)
            {
                PipeNetGraphics.PrintOverlayConnectorBaseFor(layer, this.parent);
            }

            /*if (this.connectParent != null)
             * {
             *  PipeNetGraphics.PrintWirePieceConnecting(layer, this.parent, this.connectParent.parent, true);
             * }*/
        }