-
Notifications
You must be signed in to change notification settings - Fork 11
Add Envelope Class to manage constrained optimization #40
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
Conversation
|
you formatter still doesn't seem to work :) |
|
It doesn’t… I also implemented the serialization so I will update the PR |
tomvanmele
left a comment
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.
cool, just a few small things
src/compas_tna/envelope/dome.py
Outdated
|
|
||
|
|
||
| def dome_middle(x, y, radius, min_lb, center=(5.0, 5.0)): | ||
| """Update middle of the dome based in the parameters |
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.
... based ON the parameters.
src/compas_tna/envelope/dome.py
Outdated
|
|
||
|
|
||
| def dome_bounds(x, y, thk, min_lb, center=(5.0, 5.0), radius=5.0): | ||
| """Update upper and lower bounds of the dome based in the parameters |
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.
Compute upper and lower bounds ...
|
|
||
|
|
||
| def pavillionvault_middle(x, y, x_span=(0.0, 10.0), y_span=(0.0, 10.0), spr_angle=0.0, tol=1e-6): | ||
| """Update middle of a pavillion vault based in the parameters |
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.
do a find/replace for "based in the parameters" => "based on the parameters"
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.
do a find/replace for """Update => """Compute
|
Thanks, updated per review. |
Envelopeclass for masonry structure boundaries with intrados, extrados, and middle meshesEnvelopeclass:from_crossvault()- Creates cross vault envelopes with configurable spans and thicknessfrom_dome()- Creates dome envelopes with configurable radius, center, and oculusfrom_pavillionvault()- Creates pavillion vault envelopes with spring angle supportfrom_pointedvault()- Creates pointed vault envelopes with height control parameterscreate_crossvault_envelope()- Generates cross vault meshes and callablescreate_dome_envelope()- Generates dome meshes with circular topologycreate_pavillionvault_envelope()- Generates pavillion vault meshes with expanded optioncreate_pointedvault_envelope()- Generates pointed vault meshes with height parameterscrossvault_middle_update(),crossvault_ub_lb_update(),crossvault_dub_dlb()dome_middle_update(),dome_ub_lb_update(),dome_dub_dlb()pavillionvault_middle_update(),pavillionvault_ub_lb_update(),pavillionvault_dub_dlb()pointedvault_middle_update(),pointedvault_ub_lb_update(),pointedvault_dub_dlb()