3336 Commits

Author SHA1 Message Date
SiboVG
45dcf0d81d Whoops, there were some British spellings of 'fiber' 2024-08-09 00:14:39 +02:00
SiboVG
cee3cb04ae Fix component material not being updated after editing it in the preferences 2024-08-08 23:36:58 +02:00
SiboVG
9f0b7c9b15 Check when a material to be removed is in use by a component 2024-08-08 22:43:21 +02:00
SiboVG
e63e521e90 Refactor material addition/removal 2024-08-08 22:01:29 +02:00
SiboVG
46a941968e Add unit tests for material 2024-08-08 21:39:16 +02:00
SiboVG
09d6137ac0 Use dedicated methods for adding/removing doc materials 2024-08-08 19:24:17 +02:00
SiboVG
de61ffe174 Also load material to doc mats when setting material 2024-08-08 18:47:55 +02:00
SiboVG
e5f0ff9322 Save component preset material in document preferences 2024-08-08 12:06:55 +02:00
SiboVG
7472ad7c8c Save reference to document in rocket 2024-08-08 12:05:41 +02:00
SiboVG
0d5952cfa3 Refactor doc material loading to OpenRocketDocument 2024-08-07 15:41:04 +02:00
SiboVG
65116fcb58 Support material group loading from preset 2024-08-07 14:52:11 +02:00
SiboVG
e3ce3ac7dd Refactor SearchableAndCategorizableComboBox to use Group and Groupable interface 2024-08-07 14:19:46 +02:00
SiboVG
691f79fe3c Save material group in ork material 2024-08-07 12:58:37 +02:00
SiboVG
f2fbcc69d3 Set material group non-null in the constructor 2024-08-07 12:17:34 +02:00
SiboVG
4e45a194e2 Fix material key in doc mat loader 2024-08-07 12:08:45 +02:00
SiboVG
481d9a7355 Always store group in storable string 2024-08-07 11:17:28 +02:00
SiboVG
28ca2e98c6 Fix loading custom materials from old OR files 2024-08-07 11:12:22 +02:00
SiboVG
8dcb120cc5 Add option to select material group in material editor 2024-07-24 22:48:21 +02:00
SiboVG
5d45d075ce Save document materials in document preferences 2024-07-23 00:34:59 +02:00
SiboVG
500c75aeab Save document preferences in design file 2024-07-22 00:02:08 +02:00
SiboVG
144efb5610 Allow for configurable entry tag name 2024-07-21 23:58:54 +02:00
SiboVG
47af6fbb9f Refactor ConfigHandler to use EntryHandler 2024-07-21 23:54:36 +02:00
SiboVG
8bf63fff0c Refactor Preferences to ORPreferences 2024-07-21 23:16:09 +02:00
SiboVG
bb9e17d0b4 Refactor ORPreferences to ApplicationPreferences 2024-07-21 23:14:19 +02:00
SiboVG
9b5c865823 Refactor preferences with interface 2024-07-21 23:13:25 +02:00
SiboVG
c86c04bd42 Move ORPreferences to preferences package 2024-07-21 23:10:41 +02:00
SiboVG
464d42fb81 Rename Preferences to ORReferences
To not cause confusion with java.util.prefs
2024-07-21 22:00:48 +02:00
SiboVG
4411cb1b35 Use searchable and categorizable combobox for material panel 2024-07-21 11:26:08 +02:00
JoePfeiffer
e0ebef261c Remove store.rollAcceleration and store.lateralPitchAcceleration. That data is in store.AccelerationData 2024-07-17 18:07:14 -06:00
JoePfeiffer
e346969c24 Get rid of linearAcceleration and angularAcceleration from DataStore; that data is in AccelerationData 2024-07-15 09:45:35 -06:00
JoePfeiffer
46ed6942b2 Modify AbstractEulerStepper to use local linearAcceleration variable instead of store.linearAcceleration.
Save acceleration data (after computation) in DataStore, not SimulationStatus
2024-07-14 15:19:01 -06:00
JoePfeiffer
3086635f39 Merge remote-tracking branch 'origin/fix-2443' into fix-2443 2024-07-14 13:44:44 -06:00
SiboVG
8daa8838ff [#2462] Provide air density as plottable variable 2024-07-13 00:32:38 +02:00
JoePfeiffer
e07eaf7297 Don't use store.linearAcceleration and store.angularAcceleration in RK4SimulationStepper. Use local variables in calculateAcceleration, and pull values out of store.accelerationData, instead 2024-07-12 09:25:05 -06:00
JoePfeiffer
96f0985100 Remove longitudinalAcceleration field from DataStore.
This was initialized to NaN, but never set to anything else. It (along with the atmospheric conditions) was passed to calculateThrust for possible more accurate thrust calculation in the future, but not used there at present

The entire DataStore is now passed to calculateAcceleration() to use whatever fields are useful to it -- none at present.
2024-07-12 05:53:43 -06:00
Joe Pfeiffer
e2b69c4650
Merge pull request #2505 from JoePfeiffer/fix-2498
Fix 2498
2024-07-11 15:48:59 -06:00
Sibo Van Gool
47b6fa273b
Merge pull request #2503 from JoePfeiffer/update-extension-documentation
Update simulation extensions documentation to reflect switch to gradle
2024-07-09 23:40:17 +02:00
JoePfeiffer
90f09d9860 In Cdm example don't actually save Cdm to FlightDataBranch until after simulation step. 2024-07-09 15:16:52 -06:00
JoePfeiffer
e1490e0d3d Initialize sim extensions before adding system-defined listeners to the sim listener list. This has the effect of running the user-defined listeners before evaluating custom expressions, so custom expressions can use the results from the user-defined listeners. 2024-07-09 14:41:05 -06:00
JoePfeiffer
5da56840c8 Fix FlightDataType check for equality 2024-07-08 15:16:32 -06:00
JoePfeiffer
c5a2f52d17 Change directories to conform to gradle directory layout
Change package and import statements to match changes since switch to gradle
Get rid of note pointing to documentation about listeners (it wasn't a valid hyperlink, and I can't find the documentation it thought it was pointing to in this documentation tree)
A little bit of rewording here and there
Get rid of src-extra/AirStart.java  file
2024-07-05 16:12:13 -06:00
JoePfeiffer
deeed0f7e0 Move DataStore from RK4SimulationStepper to AbstractSimulationStepper and make it protected (instead of private).
Move sim working variables for Euler steppers into DataStore.
Have DataStore store its own variables to FlightDataBranch instead of relying on code form outside
2024-07-03 14:27:36 -06:00
JoePfeiffer
5548bf1557 Save all available data at start of simulation 2024-06-06 13:54:23 -06:00
JoePfeiffer
33fc756a3e Use SimulationStatus.storeData() to save data to FlightDataBranch 2024-06-06 13:53:24 -06:00
JoePfeiffer
6ef9197d72 Move data from RK4SimulationStatus to RK4SimulationStepper.DataStore and eliminate RK4SimulationStatus 2024-06-06 13:51:45 -06:00
JoePfeiffer
7b0637e800 Merge remote-tracking branch 'refs/remotes/origin/store-more-initial-data' into store-more-initial-data 2024-06-06 11:18:13 -06:00
Joe Pfeiffer
fd85c523e3
Merge pull request #2491 from JoePfeiffer/sort-csv
Sort FlightDataTypes on FlightDataGroup priority first, then on FlightDataType priority
2024-06-04 17:43:26 -06:00
SiboVG
c4942d2a48 Remove the Presets example design 2024-06-05 00:19:55 +02:00
Sibo Van Gool
ce70842204
Improve clarity of launch rod tooltip text 2024-06-04 23:32:07 +02:00
JoePfeiffer
2ee9883a2d Clean up storeData 2024-06-04 12:30:20 -06:00