Skip to content
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

Feature request: Customizable variable view for quick peek #358

Open
314Sami opened this issue Sep 18, 2024 · 3 comments
Open

Feature request: Customizable variable view for quick peek #358

314Sami opened this issue Sep 18, 2024 · 3 comments

Comments

@314Sami
Copy link

314Sami commented Sep 18, 2024

As I do civil engineering calculations and I have multiple elements and each element has multiple forces and reactions and there are many combinations of each etc, it is occasionally time-consuming to scroll back and forth looking what variables were what.

It would be really beneficial to offer easily customizable (even template would do as a starter) viewing method for stuff like that.

For example user could have a table as follows: (user inputs the data and if there is a variable, it is kept updated all times). The table would be searchable and the value-column read only, but clicking the line could jump to the line where the value is defined/used/calculated...

Object human readable name Property User assigned variable name value
Floor 1 Left Beam Maximum normal force $N_{b1l,max}$ (filled automatically)
Floor 3 Column diameter $d_{56}$ (filled automatically)
Load case 6 Beam max deflection $v_{b,6,max}$ (filled automatically)
@Erikbernhart
Copy link

Hi Sami,

would something like below work?

The object human readable name and property are text you need to provide, and the user asigned variable name refers to a value you previously calculated in your sheet
in that way you can make the variables visible by just filling in a tabledef$(lcoation;property;variable name; width of table)
image

@Proektsoftbg
Copy link
Owner

@Erikbernhart This is a great idea! Thank you for your suggestion.

If you allow me, I can propose some minor improvements:

  1. tabledef$ macro to create only the table with just col headers.
  2. Add rowdef$ for each variable inside the table, so the columns stay alighed.
  3. Make the table fixed by adding the following CSS style: <table style="position: fixed; bottom: 0;" ...>. In this way it will stay at the bottom and not scroll with the content.

In future versions, we can add a variable table pannel inside the Calcpad UI that will display a list of all defined variables with the latest calculated values.

@Erikbernhart
Copy link

Erikbernhart commented Sep 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants