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
CG calculation error #641
Comments
Notes:
|
Interesting. Is it a bug that the 2d view ignores Y and Z? I'm not sure why it should. |
I'm guessing it should not. CP is forced to be on-axis because its calculation with individual fins in a FinSet (instead of calculating the FinSet as a whole) erroneously calculates an off-axis CP (I've spent some time this morning trying to find where we concluded that, and haven't been able to locate the discussion nor the PR that does it. I know I'm just looking in the wrong place). I'll hazard a guess that before we forced the CP calculation, the side view rendering did it instead and what Dan is finding there is an artifact. CG off axis seems like it has to be an error in the calculation, which was being masked in the side view rendering. (all this is speculation and memory, of course) |
I interpret it as a bug, certainly. It's an optimization which makes sense when everything is on one axis, but it should be updated. Why?: it's simply ignored at display: check it out: openrocket/swing/src/net/sf/openrocket/gui/scalefigure/RocketPanel.java Lines 634 to 635 in 8288de6
I can add that particular change to PR #649 |
CG is sometimes shown off-axis in 3D Finished view. See attached design.
Side view:
3D Finished view:
Tested on latest unstable build.
cg_render_bug.ork.zip
This issue was previously glommed onto #387, I've separated it out here.
The text was updated successfully, but these errors were encountered: