-
Notifications
You must be signed in to change notification settings - Fork 19
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
Geometry: Arch #72
Comments
Possible function signature (based on https://en.wikipedia.org/wiki/Arch): def archRound(corner1: Vec3iLike, corner2: Vec3iLike, spanAxis: int = 0, riseAxis: int = 1, inverted: bool = False):
...
def archParabolic(...):
... |
Just a thought: It might make more sense to have a single arch function and to pass a style as a parameter (e.g. an Enum key), particularly since there are a lot of very different architectural arch styles (see https://en.wikipedia.org/wiki/Arch#Forms for some examples). |
In my initial signature suggestion, there is a separate function for each arch style (round, parabolic, etc.). I considered using an enum instead, but I can think of two disadvantages of that approach:
|
@cmoyates asked on Discord (paraphrased): Answer: |
There should probably also be a parameter that determines whether the arch is "filled", with the options (no fill, filled below, filled above). We may want to use an enum or a string parameter for this. |
Another bit of relevant discussion from the Discord: @Flashing-Blinkenlights:
@avdstaaij @Flashing-Blinkenlights: @avdstaaij (...) @Flashing-Blinkenlights: |
The
geometry
andvector_tools
modules could use an arch function.The text was updated successfully, but these errors were encountered: