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

Boundary Features Rotates Incorrectly #23

Open
BHill96 opened this issue Jul 15, 2020 · 2 comments
Open

Boundary Features Rotates Incorrectly #23

BHill96 opened this issue Jul 15, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@BHill96
Copy link
Contributor

BHill96 commented Jul 15, 2020

When a boundary feature is centered on a point other than (0,0), it follows a circular path around its center instead of rotating in place.

@BHill96 BHill96 added the bug Something isn't working label Jul 15, 2020
@markstock
Copy link
Collaborator

This is a known issue, and there is a workaround. When creating a boundary feature that "moves according to formula", there are two positional inputs: "center" pair and "x position", "y position" formula fields. This obviously confusing. Consider the formula inputs (for position and rotation) to define the movement of a virtual marker. And consider the "center" positional input to be the position of the new boundary relative to that marker.

Eventually, we will need to support these markers as first-class objects, creating them individually, drawing them, allowing them to attach to other markers, while allowing all kinds of features attach to them.

@markstock
Copy link
Collaborator

As an example, if you wanted to dynamically pitch an airfoil about its quarter-chord point, you would generate an airfoil, set the "Leading edge position" to (-0.25, 0.0), and set the "angular position" to sin(t).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants