Repository navigation
Plant Loop Heat Pumps: missing types, library defaults, and icons #896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you think adding something like
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good idea. The water-to-water heating and cooling icons now show f(x) next to the heat waves or snowflake, and the mini icons have a smaller f(x) above the colour band. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # Icon sources | ||
|
|
||
| SVG sources for the Plant Loop Heat Pump icons. The app loads the PNGs in `images/` and `images/mini_icons/`, | ||
| not these files. | ||
|
|
||
| | SVG | PNGs | | ||
| |---|---| | ||
| | `<name>.svg` | `images/<name>.png` (100 px) and `images/<name>@2x.png` (200 px) | | ||
| | `<name>_mini.svg` | `images/mini_icons/<name>.png` (24 px) and `images/mini_icons/<name>@2x.png` (48 px) | | ||
|
|
||
| The air-to-water wrapper and its heating and cooling modes share `heatpump_airtowater`. | ||
|
|
||
| ## Exporting | ||
|
|
||
| `export.html` draws one SVG at a given size on a transparent page. Screenshot it with headless Chrome, once per size: | ||
|
|
||
| ```sh | ||
| chrome --headless=new --hide-scrollbars --allow-file-access-from-files --default-background-color=00000000 \ | ||
| --window-size=200,200 --screenshot=heatpump_airtowater@2x.png \ | ||
| "file:///<path to this folder>/export.html?f=heatpump_airtowater.svg&s=200" | ||
| ``` | ||
|
|
||
| The f(x) labels on the water-to-water (equation fit) icons use the system's Georgia font. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| <!doctype html><html><head><style>html,body{margin:0;padding:0;background:transparent;overflow:hidden}img{display:block}</style></head> | ||
| <body><img id="i"><script>const q=new URLSearchParams(location.search);const i=document.getElementById('i');i.src=q.get('f');i.width=i.height=+q.get('s');</script></body></html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it doesn't matter but shouldn't all the "Plant Loop Heat Pumps" be together?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Central Heat Pump System is now in Plant Loop Heat Pumps in the Library as well, matching My Model, and the separate "Central Heat Pump Systems" category is gone.