Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions BoGLWeb/Pages/Index.razor
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@
<Panel Header="Actuators" Key="3">
<div id="actuators" class="elementHolder"></div>
</Panel>
<Panel Header="Hydraulics" Key="3">
<div id="hydraulics" class="elementHolder"></div>
</Panel>
</ChildContent>
</Collapse>
<div id="diffeqMenu" style="@("display: " + (currTab == "4" && showEquations ? "flex" : "none"))">
Expand Down
27 changes: 27 additions & 0 deletions BoGLWeb/wwwroot/images/elements/hydraulic_pump.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions BoGLWeb/wwwroot/types/elements/ElementNamespace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down