From a8c07bc4049463e9bd326905be8a6f6d9b85c721 Mon Sep 17 00:00:00 2001 From: rrsr28 Date: Tue, 13 Jun 2023 17:00:10 +0530 Subject: Added class for 905Exchanger --- src/main/python/shapes/shapes.py | 11 +++++++++++ src/main/resources/base/config/items.json | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/main/python/shapes/shapes.py b/src/main/python/shapes/shapes.py index dc3cf6a..a04aa5e 100644 --- a/src/main/python/shapes/shapes.py +++ b/src/main/python/shapes/shapes.py @@ -931,6 +931,17 @@ class SolidFuelFurnace(NodeItem): ] +class Exchanger905(NodeItem): + def __init__(self): + super(Exchanger905, self).__init__("svg/Heating or Cooling Arrangements/905Exchanger") + self.grips = [ + [15.85, 13.5, "bottom", 11.21], + [60.5, 13.5, "bottom", 55.33], + [15.85, 88.88, "top", 11.21], + [60.5, 88.88, "top", 55.33] + ] + + class Exchanger(NodeItem): def __init__(self): super(Exchanger, self).__init__("svg/Heating or Cooling Arrangements/Exchanger") diff --git a/src/main/resources/base/config/items.json b/src/main/resources/base/config/items.json index b1972a1..a9a7710 100644 --- a/src/main/resources/base/config/items.json +++ b/src/main/resources/base/config/items.json @@ -78,7 +78,7 @@ "name": "Exchanger", "icon": "./Heating or Cooling Arrangements/905Exchanger.png", "class": "Heating or Cooling Arrangements", - "object": "Exchanger", + "object": "Exchanger905", "args": [] }, "907Kettle Reboiler": { -- cgit