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

Default Unit Updates #217

Merged
merged 23 commits into from
Dec 23, 2023
Merged

Default Unit Updates #217

merged 23 commits into from
Dec 23, 2023

Conversation

mgreminger
Copy link
Owner

Partially addresses the confusion raised in #208

Partially addresses the confusion raised in #208
sec now defaults to s, ampere now defaults to A, kelvin now defaults to K, candelar now defaults to cd, and mole now defaults to mol
@mgreminger mgreminger changed the title fix: don't automatically convert 1/sec to Hz Default Unit Updates Nov 18, 2023
Still need to pass custom_base_units to get_result function via evaluate_statements function
Need to implement TypeScript portion next
@mgreminger mgreminger linked an issue Nov 22, 2023 that may be closed by this pull request
Still need to update math and plot cells to display user selected default units
Still need to force recalculation when default base units are changed. Also, will need to update plot cells which will required updates to the Python code to include user base units (requires update to PlotData type).
Still need to implement in the plot cell on the TypeScript side
Still needs to be implemented for Python code generation
This is necessary since the Python side defines the default result units
Added to sheet configuration dialog. Added buttons for SI, mm-kg-sec, and in-lbm-sec
Add dyn*cm as one of the torque unit options
@mgreminger mgreminger merged commit 47710d9 into main Dec 23, 2023
2 checks passed
@mgreminger mgreminger deleted the no-auto-hz branch December 23, 2023 04:48
@mgreminger mgreminger mentioned this pull request Jan 16, 2024
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

Successfully merging this pull request may close these issues.

User selectable default units.
1 participant