3158 Commits

Author SHA1 Message Date
JoePfeiffer
7a2ede6e24 Use current atmospheric conditions, not previous conditions, in calculating thrust.
This lets us get rid of previousAtmosphericConditions completely.

Note that while we pass acceleration and atmospheric conditions into calculateAverageThrust(), we don't actually do anything with them there. They appear to be passed in for some sort of eventual enhancements when we do things like altitude compensation for motors, or acceleration for hybrids or water rockets.

It also turned out that while we called getPreviousAtmosphericConditions() when call ing calculateAverageThrust(), setPreviousAtmosphericConditions() was never called.
2023-09-26 14:46:09 -06:00
Neil Weinstock
fb3641e94f
Dark mode icons for mass 2023-09-26 11:08:07 -04:00
Neil Weinstock
e668c7b183
dark mode icons for shock cord 2023-09-26 10:35:19 -04:00
Neil Weinstock
a84b764cf2
dark mode icons for pods 2023-09-26 10:34:41 -04:00
Neil Weinstock
2e80a27408
dark mode icons for parachute 2023-09-26 10:34:13 -04:00
Neil Weinstock
b46269a82d
Cleaned-up tubefin icons
Fixed some defects and also made them suitable for dark mode as well as light
2023-09-26 10:33:37 -04:00
JoePfeiffer
65b36af180 cleaned up FlightEventsTest by
(1) creating a CompareEvents() method called by both testSingleStage() and testMultiStage() to get rid of duplicate code; also made creation of expected events in testSingleStage() cleaner

(2) tied required time accuracy of events that depend on one of the simulationsteppers to the simulation timestep. This also let us go back to testing time on all events.
2023-09-24 16:37:43 -06:00
SiboVG
861fdf5454 Change wording 2023-09-24 22:20:57 +02:00
SiboVG
36e0cf2168 Add dark contrasted theme 2023-09-24 22:08:08 +02:00
JoePfeiffer
1b29a6b767 Testing time on events that are determined by simulation steppers shouldn't be
more precise than the simulation time step.
2023-09-23 14:23:59 -06:00
JoePfeiffer
faa7c03308 Make store persistent instead of creating a new one every step()
Use timestep remaining in store instead of getPreviousTimeStep() and setPreviousTimeStep()
2023-09-23 14:19:59 -06:00
JoePfeiffer
d740e2933c Add "inch" units to surface roughness 2023-09-21 20:17:07 -06:00
SiboVG
d36b5d3e9d [#2341] Sanitize groupnames 2023-09-20 13:27:58 +02:00
SiboVG
19854154b4 Refactor filename illegal char method 2023-09-20 13:27:38 +02:00
SiboVG
7d323862ed Add thrust-to-weight flight data type
Co-authored-by: ERKCreeper <erkcreeper@gmail.com>
2023-09-18 22:52:15 +02:00
SiboVG
74d3bc79ef Merge branch 'unstable' into prep-beta 2023-09-15 23:55:30 +02:00
SiboVG
01d75cad7f Update thrustcurves & database 2023-09-15 23:55:25 +02:00
Sibo Van Gool
c78dc3bca7
Merge pull request #2325 from SiboVG/issue-2324
[#2324] Add option to exclude motors from OBJ export
2023-09-15 23:54:53 +02:00
Sibo Van Gool
4874fd1fb5
Update build version 2023-09-15 12:01:52 +02:00
SiboVG
85004849f5 [#2324] Add option to exclude motors from OBJ export 2023-09-14 00:00:04 +02:00
Sibo Van Gool
3595a6d39e
Merge pull request #2292 from neilweinstock/tube-fin-icons
New tube fin icons
2023-09-11 14:56:14 +02:00
SiboVG
e9264d9dcf Clamp shoulder thickness when radius changes 2023-09-09 22:24:39 +02:00
SiboVG
a7a2f4acc9 Don't export transition inside when filled due to shoulder 2023-09-09 22:23:33 +02:00
SiboVG
74cd0e9636 Warn for zero-thickness shoulder 2023-09-09 14:14:22 +02:00
SiboVG
08c002ed57 Add shoulder margin 2023-09-09 14:05:27 +02:00
SiboVG
5c68fda00e [#2316] Add warning for zero-thickness component OBJ export 2023-09-09 12:36:04 +02:00
SiboVG
33fbfaef18 Fix PR #2134 2023-09-06 21:49:22 +02:00
Sibo Van Gool
ff8731e164
Merge pull request #2301 from SiboVG/3D-export
[#604] Implement 3D component exporting to Wavefront OBJ
2023-09-05 20:54:26 +02:00
Sibo Van Gool
9de395c4aa
Merge pull request #2308 from SiboVG/issue-2307
[#2307] Add dedicated undo actions + fix multi-comp editing for motors & recovery settings
2023-09-02 00:20:21 +02:00
SiboVG
2db427c756 Correct densities 2023-09-01 13:38:47 +02:00
SiboVG
cb0c0a9e8c Add PLA, PETG & ABS materials 2023-08-31 19:06:32 +02:00
SiboVG
f02405046a Handle transition with filled wall thickness 2023-08-30 20:44:47 +02:00
SiboVG
bb46b8d7bf Optimizations 2023-08-27 09:09:59 +01:00
SiboVG
1a40851565 Add buttons to optimize for 3D printing/rendering 2023-08-27 00:11:51 +01:00
Sibo Van Gool
f7b20a5df7
Merge pull request #2304 from SiboVG/issue-2204
[#2204] Make flight config naming substitution code more general + add "Cases" substitution
2023-08-27 00:48:15 +02:00
SiboVG
1ed7354337 Fix multi-comp deployment editing 2023-08-26 23:20:30 +01:00
Sibo Van Gool
5eb6507401
Merge pull request #2305 from SiboVG/issue-2303
[#2303] Copy raw name from flight config
2023-08-25 11:43:00 +02:00
SiboVG
9ff699bcbc [#2303] Copy raw name from flight configf 2023-08-25 11:41:42 +02:00
SiboVG
93e0ae1dcb GRRRR, ASCII.... 2023-08-25 01:00:23 +02:00
SiboVG
db61dec547 Fix bug 2023-08-25 00:39:11 +02:00
SiboVG
eb549ceb19 Add extra unit tests for case flight config sub 2023-08-25 00:39:04 +02:00
SiboVG
41b6c87550 Add case info to test motors 2023-08-25 00:38:45 +02:00
SiboVG
2c750498bb Update rename dialog to include cases info 2023-08-25 00:04:06 +02:00
SiboVG
e72870c306 Eujj, add custom separator support :)) 2023-08-25 00:00:14 +02:00
SiboVG
ccffffa186 [#2204] Big rewrite of motor config substitutor to make it general + add cases 2023-08-24 23:34:18 +02:00
SiboVG
20c0cacc7a Fall back to blank material after applying it 2023-08-23 23:05:15 +02:00
SiboVG
ed883fafa3 Increase epsilon for apogee 2023-08-23 22:57:24 +02:00
SiboVG
ff31c886a3 Remove redundant imports 2023-08-23 22:53:49 +02:00
SiboVG
46505b0986 Disable export children when components don't have children 2023-08-23 22:31:47 +02:00
SiboVG
022820a708 Add export components to OBJ export dialog 2023-08-23 21:10:36 +02:00