2109 Commits

Author SHA1 Message Date
SiboVG
08116c3d32 Replace stage active flag checks with isStageActive
This is more reliable as it takes other factors into account (e.g. if the stage has no children)
2022-09-20 17:48:17 +02:00
SiboVG
6585e07140 [#1617] Set stage with no children as inactive 2022-09-19 09:24:38 +02:00
SiboVG
ac5ee7537a Remove unused imports 2022-09-16 15:05:28 +02:00
SiboVG
55aaea94a3 [#1676] Treat zero-length SymmetricComponent as tube/disk 2022-09-16 00:50:51 +02:00
SiboVG
7602756dee Reset integration results for zero-length components 2022-09-15 23:18:19 +02:00
SiboVG
ac120e8fc1 Return aft radius if x == length 2022-09-15 22:29:18 +02:00
SiboVG
170e73325a Remove debug print 2022-09-15 21:15:52 +02:00
SiboVG
4c52480793 Merge branch 'unstable' into issue-1662 2022-09-12 20:45:00 +02:00
SiboVG
12fb49b72f Cleanup 2022-09-11 15:28:34 +02:00
SiboVG
3ae75408f7 Remove unneeded imports 2022-09-11 15:27:49 +02:00
SiboVG
7fac367749 Remove unneeded make 1010/1515 rail button generators 2022-09-11 11:29:59 +02:00
SiboVG
2d783a41cc
Merge pull request #1650 from SiboVG/issue-1649
[#1649] Fix scaling of MassObject with autoRadius
2022-09-10 23:03:49 +02:00
SiboVG
58c2809ee4 Limit low res root geometry to 15 points
Because otherwise you would still get 3D issues on large rockets
2022-09-07 21:43:04 +02:00
SiboVG
db16ebc994 Use low-res tab geometry for fin 3D rendering 2022-09-07 11:04:23 +02:00
SiboVG
b806ed2948 Use low-res root geometry for 3D rendering 2022-09-07 10:52:13 +02:00
SiboVG
6b153a5ef5 Limit maximum fin root division count 2022-09-07 10:39:19 +02:00
SiboVG
f67d3986a4 [#1649] Fix scaling of MassObject with autoRadius 2022-09-07 10:24:11 +02:00
SiboVG
48b177688e [#1646] Increase fin root resolution 2022-09-06 23:03:37 +02:00
JoePfeiffer
94bc305ccb Allow user to turn off CD override for subcomponents 2022-08-30 11:31:55 -06:00
JoePfeiffer
d076c54c9a Add component CD override logic to aerodynamic calculations.
Add unit test for CD override
2022-08-30 09:57:39 -06:00
JoePfeiffer
1a1e5b2e62 Changed name of "OverrideSubcomponents" to "SubcomponentsOverridden" to improve method name generated by BooleanModel. isSubcomponentsOverridden() is like fingernails on a blackboard, but it's not as bad as isOverrideSubcomponents().
Added CD override logic to RocketComponent.java
2022-08-30 09:57:39 -06:00
JoePfeiffer
9656d8cb5a Send AERODYNAMIC_CHANGE, not MASS_CHANGE, when CD override changes 2022-08-30 09:57:39 -06:00
Joe Pfeiffer
5e20c5c3fd
Merge pull request #1604 from SiboVG/issue-1315
[#1315] Update auto length in MassObject
2022-08-28 17:39:31 -06:00
SiboVG
9aa83c1698 Use MathUtil.EPSILON for FinSet point correction 2022-08-27 12:42:55 +02:00
SiboVG
4446d07902 Remove unneeded method 2022-08-27 02:03:48 +02:00
SiboVG
5f3cb5a494 Fix fin set template print for curved parent 2022-08-27 01:34:44 +02:00
SiboVG
f907ff186b [#1618] Fix fin tab root points 2022-08-26 23:22:42 +02:00
SiboVG
71045c6675 Refactor 2022-08-26 23:22:42 +02:00
SiboVG
a13ab56808
Merge pull request #1614 from SiboVG/issue-1613
[#1613] Fix bugs in fin tabs auto calc
2022-08-26 16:17:23 +02:00
SiboVG
467b1dee1d Delete outdated comment 2022-08-25 21:33:34 +02:00
JoePfeiffer
39eb2bf5bf Only set timestep to 0 if we both have no events in the queue and we're sitting on the ground. Otherwise we end up with a timestep of .001 throughout the coast phase of the flight (as .001 is a hard "minimum step size") 2022-08-25 13:02:21 -06:00
SiboVG
e8c597142c Dynamically set tab height slider max value 2022-08-25 10:00:26 +02:00
SiboVG
fad1390cc3 [#1603] Fix tab height validation 2022-08-25 09:25:14 +02:00
SiboVG
b18a0ad4a3
Merge pull request #1598 from SiboVG/issue-1227
[#1227] Fix fin root edge display in 3D view and fin template
2022-08-23 22:12:09 +02:00
SiboVG
5ac4a43bdf Merge branch 'unstable' into icons-sim-buttons
# Conflicts:
#	swing/src/net/sf/openrocket/gui/main/BasicFrame.java
#	swing/src/net/sf/openrocket/gui/main/FlightConfigurationPanel.java
2022-08-23 15:30:16 +02:00
SiboVG
3793eb19c6 Add equals check for new length 2022-08-22 09:54:37 +02:00
SiboVG
b7752cde70 Use auto length for RockSim export 2022-08-22 09:49:43 +02:00
SiboVG
bc69df1483 [#1315] Update auto length in MassObject 2022-08-21 22:26:55 +02:00
SiboVG
2632dda0f0
Merge pull request #1580 from SiboVG/issue-1405
[#1405] Remove 'Show all compatible' in preset chooser
2022-08-19 23:52:27 +02:00
SiboVG
5492029a69 Fix finset print resolution 2022-08-18 23:17:43 +02:00
SiboVG
a7a73e9949 Documentation 2022-08-18 22:47:08 +02:00
SiboVG
5df7f4f10d Include root points in fin tabs 2022-08-18 00:28:50 +02:00
SiboVG
d2b14e2a5d [#1227] Include root points in fin 3D view & export 2022-08-18 00:15:47 +02:00
SiboVG
685a1b0342 Add icons to buttons 2022-08-16 22:23:43 +02:00
SiboVG
9b4ccbf2e6 Fix exception when deleting config while PhotoStudio open 2022-08-14 10:34:00 +02:00
SiboVG
d4c07bce68 [#1405] Remove 'Show all compatible' in preset chooser 2022-08-10 22:32:52 +02:00
SiboVG
e3c7ccc035
Merge pull request #1573 from JoePfeiffer/optimize-drag
Multiply component drag by number of instances
2022-08-10 21:04:54 +02:00
JoePfeiffer
f993684f95 If we don't have any events left in the queue, shouldn't advance time 2022-08-09 19:33:53 -06:00
JoePfeiffer
24b316655e Instead of iterating through all instances of components in calculating drag, just multiply the component's pressure, friction, and base drag by the number of instances. 2022-08-02 19:53:57 -06:00
Joe Pfeiffer
e70b737fe1
Merge pull request #1504 from SiboVG/issue-1440
[#1440] Add all context drags to component drag
2022-08-02 15:03:28 -06:00