3335 Commits

Author SHA1 Message Date
SiboVG
90236a2715 Refactor translation keys 2024-02-19 17:11:01 +01:00
SiboVG
addd81b799 [#24556] Combine sim settings & plot/export dialogs 2024-02-19 17:11:01 +01:00
Joe Pfeiffer
8e8b60475b
Merge pull request #2459 from SiboVG/issue-2445
[#2445] Add ellipsis to export as in file menu
2024-02-15 19:03:01 -07:00
SiboVG
921124e337 Don't compare aoa and recovery speed in warning equals
This caused a lot of duplicate warnings in the simulations
2024-02-16 01:31:21 +01:00
SiboVG
13f47a755d Separate warnings tooltip to sim table columns 2024-02-16 01:31:21 +01:00
SiboVG
90599bce02 [#2456] Save warning priority in .ork 2024-02-16 00:57:55 +01:00
SiboVG
7d23bb58ee [#2456] Add dedicated warnings column in sim table 2024-02-15 03:21:16 +01:00
SiboVG
ce507a6656 Refactor messages to have priority 2024-02-14 16:56:33 +01:00
SiboVG
70717c3d17 [#2456] Replace sim status icons with tick and refresh arrows 2024-02-14 15:38:43 +01:00
SiboVG
0c0ee80bf9 [#2445] Add ellipsis to export as in file menu 2024-02-14 14:10:34 +01:00
SiboVG
cca0ec4a24 Add triangulation method setting to OBJ export dialog 2024-02-14 13:19:18 +01:00
SiboVG
dfd497b9d1 Use all face vertices to calculate face normal
This ensures correct normals, even for e.g. freeform fins of which the 3 first vertices are concave
2024-02-14 02:19:52 +01:00
SiboVG
b3ef442350 Refactor and document 2024-02-13 23:40:36 +01:00
SiboVG
7c5556390b Remove old delaunay method 2024-02-13 23:29:46 +01:00
SiboVG
30e49e1929 Support normals and textures for triangulated faces 2024-02-13 23:29:18 +01:00
SiboVG
17bc98b54f Correct for face culling after triangulation 2024-02-13 23:13:42 +01:00
JoePfeiffer
bbc31fc266 There's more variation in the apogee and ground hit times than I realized for the tumbling center booster 2024-02-13 12:34:57 -07:00
SiboVG
69e604c389 Improve efficiency of 2D projection 2024-02-12 23:22:43 +01:00
JoePfeiffer
02cd098d51 Update unit tests
The Falcon 9 Heavy test rocket isn't aerodynamically stable, so allowing the sustainer to tumble before apogee causes an immediate TUMBLE_UNDER_THRUST abort.  So, this commit adds a new rocket with a sustainer, core booster, and two side boosters that is stable.
2024-02-12 14:48:50 -07:00
SiboVG
77844f80a2 [#2444] Add first rudimentary CDT triangulation 2024-02-12 22:23:45 +01:00
JoePfeiffer
03f5c8924e allow sustainer to tumble before apogee.
I don't know if it's actually possible for the sustainer to tumble when not
under thrust (I guess it would need a tractor motor and very careful CG-CP design so it would tumble immediately after burnout?) but the conditions are checked separately just in case
2024-02-10 06:59:48 -07:00
SiboVG
5e61ffb491 Refactor simple OBJ triangulation 2024-02-07 15:41:34 +01:00
Joe Pfeiffer
6ada3ff347
Merge pull request #2452 from SiboVG/fin-svg-export
Allow fins to be exported to an SVG file
2024-01-31 17:33:54 -07:00
SiboVG
9ecabd585f Also add fin tabs to SVG export 2024-01-31 12:43:53 +01:00
SiboVG
4cf77bcdc4 Display error when SVG export failed 2024-01-30 20:57:22 +01:00
SiboVG
74cfa4dde5 Allow fins to be exported to SVG 2024-01-30 20:47:27 +01:00
JoePfeiffer
56bf5e1af8 Don't add delay time in again when queueing upper stage ignition event 2024-01-29 09:13:00 -07:00
JoePfeiffer
3513cb9bba log placing events in event queue. Don't do it for ALTITUDE events, since
those would dominate the log.
2024-01-29 09:01:42 -07:00
JoePfeiffer
692152e34e Change simulation warning when recovery is deployed while still under thrust to a simulation abort. 2024-01-28 14:51:23 -07:00
SiboVG
d60ba1f1d8 Also copy stage activeness when copying rocket
This fixes an issue where undoing/redoing stage activeness actions wouldn't work.
2024-01-27 04:48:53 +01:00
SiboVG
a249c2dddc Fix RockSim import/export unit tests 2024-01-27 04:34:19 +01:00
SiboVG
01df928f3c Support RockSim booster importing 2024-01-27 03:26:05 +01:00
SiboVG
b5704c108c Apply config listener action to common classes 2024-01-27 01:15:42 +01:00
SiboVG
b795fb0eb5 RockSim uses 0 for false and 1 for true :') 2024-01-24 18:01:42 +01:00
SiboVG
ddb73b5ca1 Can't have direct pod children of pod 2024-01-24 17:54:44 +01:00
SiboVG
e1ab350624 Use pod/booster split for RockSim export 2024-01-24 17:48:39 +01:00
SiboVG
24e72f0bd1 Rename custom invalidate method to avoid confusion with java.awt invalidate
This caused issue because the invalidating of invalidatables was sometimes triggered by AWT processes
2024-01-24 01:53:04 +01:00
SiboVG
e3eeecd7ae Refactor model invalidation to dedicated class 2024-01-24 01:40:09 +01:00
SiboVG
a793f27f51 [#2435] Copy stageMap instead of directly referencing it
This change is to ensure that the stageMap property of the Rocket class is isolated from its source object. Previously, it directly referenced the stageMap of the source, but now we create an entirely new ConcurrentHashMap to hold those stages. This will prevent possible conflicts and unwanted modifications to the source stageMap.
2024-01-22 14:07:46 +01:00
SiboVG
940b913dfa [#2377] Add booster/pod split functionality 2024-01-21 02:14:18 +01:00
SiboVG
d2fc662a56 Verify listener addition/removal 2024-01-21 00:01:50 +01:00
SiboVG
ff1ed750c4 [#2438] Support RockSim booster exporting 2024-01-19 16:51:46 +01:00
SiboVG
49cdbe5426 Minor improvements 2024-01-12 00:18:01 +01:00
JoePfeiffer
d75a345f4e typo 2024-01-11 10:04:59 -07:00
JoePfeiffer
00babafc7a Put underscores in SimulationAbort enum constants for readability 2024-01-11 09:42:46 -07:00
JoePfeiffer
c803104a16 update unit tests for simulation aborts instead of exceptions 2024-01-11 09:31:20 -07:00
JoePfeiffer
f5755cc4af Add explicit test and abort for "no stages defined" running simulation 2024-01-11 09:30:41 -07:00
JoePfeiffer
6273c7a7be Merge branch 'unstable' into SIMFAIL-flight-event 2024-01-10 08:29:50 -07:00
JoePfeiffer
3c02dbc2d1 Put "null" in data field of ALTITUDE events inserted for motor firing; check for null in altitude deployment configuration. 2024-01-10 08:09:23 -07:00
JoePfeiffer
31a638b2ed Make "All Stages" entry in stage selection dropdown more explicit; also connect to localization. 2024-01-09 17:58:30 -07:00