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

Finish basic version 0.3.0 #17

Merged
merged 79 commits into from
Feb 25, 2024
Merged

Finish basic version 0.3.0 #17

merged 79 commits into from
Feb 25, 2024

Conversation

carlos-adir
Copy link
Contributor

No description provided.

remove constructor dependency on compmec-shape package
now it uses curves labels and materials names, both must be pre-defined before calling Section constructor

BREAKING CHANGE: Section's constructor changed
change Section's constructor to accept only curve labels and material names
implement the method that computes the geometric integrals, allowing get area, first, second and third moment of inertia
add Nodes class, a static class that stores the points by indicating the labels, x and y coordinates.
inside json import, add the option to define a nurbs curve by using 'ctrlpoints' or 'ctrllabels'
group json functions that reads nodes, curves, materials and sections in only one class
Add overwrite parameter on dataio to allow re-reading a file without error.
We could add a parameter that compares old/new values, but not now.
To do it, clear methods were added to remove selected labels/names.
change importlib.resources.files (available py>3.9) to importlib.resources.path on dataio.py
@carlos-adir carlos-adir marked this pull request as ready for review February 25, 2024 10:59
@carlos-adir carlos-adir merged commit 3ef115e into main Feb 25, 2024
13 of 15 checks passed
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.

1 participant