From fc4993ebc247e47d88bb8c82eb9e85cf8244ef9e Mon Sep 17 00:00:00 2001 From: Wen Chen Date: Thu, 12 Feb 2026 19:29:29 -0500 Subject: [PATCH 1/2] Added hydraulic placeholder svg --- BoGLWeb/wwwroot/types/elements/ElementNamespace.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/BoGLWeb/wwwroot/types/elements/ElementNamespace.ts b/BoGLWeb/wwwroot/types/elements/ElementNamespace.ts index 4cb68a4..8667103 100644 --- a/BoGLWeb/wwwroot/types/elements/ElementNamespace.ts +++ b/BoGLWeb/wwwroot/types/elements/ElementNamespace.ts @@ -13,7 +13,8 @@ export namespace ElementNamespace { new Category(1, "Basic Mechanical Rotation", "mechRot"), new Category(2, "Transmission Elements", "transElem"), new Category(3, "Electrical", "electrical"), - new Category(4, "Actuators", "actuators") + new Category(4, "Actuators", "actuators"), + new Category(5, "Hydraulics", "hydraulics") ]; // list of element modifiers @@ -58,7 +59,8 @@ export namespace ElementNamespace { new ElementType(26, "Voltage Input", 3, "voltage_input", [], false), new ElementType(27, "PM Motor", 4, "pm_motor", [], false), new ElementType(28, "VC Transducer", 4, "vc_transducer", [], false), - new ElementType(29, "Grounded Pulley", 2, "pulley_grounded", [3, 1], true) + new ElementType(29, "Grounded Pulley", 2, "pulley_grounded", [3, 1], true), + new ElementType(30, "Hydraulic Pump", 5, "hydraulic_pump", [], true) ]; // compatibility groups with element IDs showing which elements can connect to each other From 2a7b3f2eea3771a1b76cbe7e694100cfd2b23315 Mon Sep 17 00:00:00 2001 From: Wen Chen Date: Thu, 12 Feb 2026 19:38:58 -0500 Subject: [PATCH 2/2] Added the svg and panel in index.html --- BoGLWeb/Pages/Index.razor | 3 +++ .../images/elements/hydraulic_pump.svg | 27 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 BoGLWeb/wwwroot/images/elements/hydraulic_pump.svg diff --git a/BoGLWeb/Pages/Index.razor b/BoGLWeb/Pages/Index.razor index 3ae573b..90528bb 100644 --- a/BoGLWeb/Pages/Index.razor +++ b/BoGLWeb/Pages/Index.razor @@ -134,6 +134,9 @@
+ +
+
diff --git a/BoGLWeb/wwwroot/images/elements/hydraulic_pump.svg b/BoGLWeb/wwwroot/images/elements/hydraulic_pump.svg new file mode 100644 index 0000000..678bfbc --- /dev/null +++ b/BoGLWeb/wwwroot/images/elements/hydraulic_pump.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + +