2208 Commits

Author SHA1 Message Date
Daniel_M_Williams
a9efed4288 [fix] both Create Stage buttons now create stages with the same name
- reads the value of `Stage.Stage` from 'core/resources/l10n/messages.properties'
- currently "Stage"
2018-06-09 20:15:19 -04:00
Wes Cravens
f41f9c1ae4
Merge pull request #417 from teyrana/fix_pod_shoulders
[fix] 2d figure - Transition Shoulders now rotate correctly
2018-06-04 19:43:58 -05:00
Daniel_M_Williams
f15830fc3b [fix] 2d figure - Transition Shoulders now rotate correctly 2018-06-04 20:25:07 -04:00
MadCompSci
aa300709f5 Refreshed from upstream 2018-06-01 13:19:03 -05:00
Wes Cravens
3d445c55b0
Merge pull request #412 from JoePfeiffer/fixconfigurationname
Fix Configuration name in motor configuration panel.
2018-06-01 11:44:41 -05:00
Joe Pfeiffer
f82fef44d7 Fix Configuration name in motor configuration panel.
Formerly just used delay value directly, resulting in huge delay for
plugged motors; now uses motor.getDesignation so it translates to "P" as
expected.

Changed name of toMotorDesription method to toMotorDesignation to match
usage of getDesignation() in ThrustCurveMotor.java

Changed toMotorDesignation to use motor.getDesignation
2018-06-01 09:27:08 -06:00
Wes Cravens
d8fb48ee4c
Merge pull request #407 from teyrana/fix_negative_inertia
[fixes #406] SymmetricComponent no longer generates negative inertias
2018-05-31 09:34:37 -05:00
Wes Cravens
9e63fa6398
Merge pull request #410 from ChrisMickelson/ChrisMickelson-patch-1
Chris mickelson patch 1
2018-05-31 09:34:06 -05:00
ChrisMickelson
5cf53f870f
Update JarInJarStarter.java
#346 re-fix
change line 33 back to ClassLoader loader = new URLClassLoader(urlArray, null);
2018-05-30 05:41:23 -05:00
ChrisMickelson
ced7005d53
Update compiler.xml 2018-05-30 05:15:00 -05:00
ChrisMickelson
86de232908
Update compiler.xml
exclude test from compile
2018-05-30 04:53:32 -05:00
ChrisMickelson
b143f0f30e
Merge pull request #28 from openrocket/unstable
Unstable update 5-28-2018
2018-05-28 12:31:58 -05:00
Daniel_M_Williams
b7ee926d6c [fix] change to SymmetricComponent no longer generates negative inertias 2018-05-28 12:28:59 -04:00
Wes Cravens
e5787f7e5c
Merge pull request #402 from JoePfeiffer/unstable
Cleared up problem with blank combobox popups after adding flight configurations
2018-05-25 09:30:54 -05:00
Joe Pfeiffer
2839dfd4dd Cleared up problem with blank combobox popups after adding flight
configurations.

(1) Created new ConfigurationComboBox, extended from
JComboBox<FlightConfiguration>, with a listener for popup opens that
connects to a new ConfigurationModel.

(2) Removed some cruft from ConfigurationModel and made it a nested
class within ConfigurationComboBox.

(3) Updated ComponentAnalysisDialog, RocketPanel, and
SimulationEditDialog to use ConfigurationComboBox.
2018-05-24 12:38:09 -06:00
ChrisMickelson
9c396f2f7b
Merge pull request #27 from openrocket/unstable
Unstable
2018-04-08 19:39:01 -05:00
Wes Cravens
08d47280ac
Merge pull request #399 from teyrana/hide_analysis
Hide Buggy UI Dialogs
2018-04-08 17:34:19 -05:00
Daniel_M_Williams
32aa32da15 [Workaround] Hides the Optimization Dialog until it can be fixed 2018-04-08 11:29:46 -04:00
Daniel_M_Williams
0b1e01137a [Resolves #397][Workaround] Hides the Component Analysis Dialog until it can be fixed. 2018-04-08 11:25:48 -04:00
Wes Cravens
79eaebe06e
Merge pull request #395 from teyrana/alpha7
Alpha7 - Aggregate further bugfixes - #330, #378
2018-03-27 15:24:34 -05:00
Daniel_M_Williams
786ca55c45 [fix][Resolves #378] Component Preset Dialog has an appropriately sized search bar 2018-03-03 17:03:27 -05:00
Daniel_M_Williams
28bdfac550 [fix][Resolves #330] Rocket size now updates on main screen after scaling rocket 2018-03-03 17:03:18 -05:00
Daniel_M_Williams
d859337e12 [fix] prevent a NPE if openrocket does not detect the example files 2018-03-03 17:03:10 -05:00
Daniel_M_Williams
1470a84673 [debug] removed unnecessary printlns in unit tests 2018-02-25 12:43:49 -05:00
ChrisMickelson
1c287b90be
Merge pull request #26 from openrocket/unstable
Unstable update Feb 19
2018-02-19 23:12:01 -06:00
Wes Cravens
1b60b23de4
Merge pull request #394 from teyrana/alpha6
Alpha6 - Minor Fixes, as requested on the mailing lists.
2018-02-10 14:08:21 -06:00
Daniel_M_Williams
20473dbf82 [fix] file version 108 now correctly loads angle-offsets for all ComponentAssemblies 2018-02-03 10:52:44 -05:00
Daniel_M_Williams
0ef72ec66d [Resolves #391] Localized description is displayed for relative positioning methods 2018-02-03 10:37:40 -05:00
Daniel_M_Williams
7017b0b2f0 [fix] removed Angle.Fixed and Radius.Surface positioning methods 2018-02-03 10:25:03 -05:00
Wes Cravens
de7f7b308b
Merge pull request #393 from ChrisMickelson/unstable_current
Fix for issue #383
2018-02-02 08:42:20 -06:00
ChrisMickelson
40f18d9125
Update RocketRenderer.java
Fix depth test issues with transparent components
2018-02-02 04:49:32 -06:00
ChrisMickelson
818fa911d9
Merge pull request #25 from openrocket/unstable
Unstable
2018-02-02 04:34:29 -06:00
Wes Cravens
82b78face9
Merge pull request #390 from teyrana/alpha5
Alpha5
2018-01-27 21:36:00 -06:00
Daniel_M_Williams
4a874b6ba9 [fix] Fixed OpenRocketSaverTest: minimum file version is now 108 2018-01-27 20:35:49 -05:00
Daniel_M_Williams
9398331f02 [fix][file] OR now always saves files as format version 1.8 2018-01-21 12:16:21 -05:00
Daniel_M_Williams
85fc41d203 [feature][refactor] Implemented Relative Positioning for Axial, Angular, and Radius directions
- Allows more precise and flexible control of component positions
- file format:
  -- maintains compatability with previous major release (15.04)
  -- may not accept file formats from unstable development branches in-between major releases
2018-01-21 12:06:42 -05:00
Daniel_M_Williams
0498900078 [feat] Added Positioning methods and interfaces for Axial, Radius, and Angle directions
- also added minor angle-wrapping function to MathUtil
2018-01-21 12:06:25 -05:00
Daniel_M_Williams
5c96ad9454 [ver] Bumped version number for Alpha Release 5 2018-01-21 12:05:59 -05:00
Daniel_M_Williams
bf41c07f76 [version] version bump to rc4 2018-01-13 20:47:04 -05:00
Daniel_M_Williams
d955f59a75 [fix] removed spurious unittest import 2018-01-13 20:46:14 -05:00
Daniel_M_Williams
23d7397fa6 [refactor] Pods and ParallelStages are now attached to BodyTubes *only* 2018-01-13 14:35:16 -05:00
Wes Cravens
e937f46b6d
Merge pull request #384 from teyrana/rc3
Merge RC3 into unstable (current-version 18.01-rc1)
2018-01-06 13:27:24 -06:00
Johan Tibell
15d14e43a3 [Resolves #346][fix] Use a parent ClassLoader
Before we explicitly set the parent to null, which caused classes to
fail to load on Java 9.

Fixes #346.
2017-12-30 11:16:21 -05:00
Daniel_M_Williams
20eff575f4 [fix] Fix MassCalculator Unittests.
(Effectively a re-write of the MassCalculation code)
- renamed some mass calculator accesor methods
- MassData, InertiaMatrix refactored into 'RigidBody' class

- refactors out cache code to separate wrapper class
- calculations now use the Transform class to translate masses, CM, and MOI

- new class: MassCalculation
  - contains relevant context for a given calculation: tree-root, type, time, config
  - contains most actual calculation code
  - calculations are tracked with a context class: MassCalculation
2017-12-25 20:56:11 -05:00
Daniel_M_Williams
6289aef0ef [fix] Fixed aerodynamic unittests
-changed FinSetCalc to output per-instance CNa
2017-12-25 20:56:11 -05:00
Daniel_M_Williams
1fac8818b5 [fix][test] Fixed filename sanitation issue in OpenRocketSaverTest 2017-12-25 20:56:11 -05:00
Daniel_M_Williams
b84de68575 [fix][test] Fixed RocketTest, FlightConfigurationTest 2017-12-25 20:56:11 -05:00
Daniel_M_Williams
356ec09094 [fix][unittest] Fixed RocketTest (required fix to RocketComponent#getInstanceLocations()) 2017-12-25 20:56:11 -05:00
Daniel_M_Williams
bb756decfc [doc] Bump version number to 18.01-rc3 2017-12-25 20:56:11 -05:00
Daniel_M_Williams
23a488db48 [Resolves #369] Fixes 3d rendering for instanced components
This is a relatively major refactor / rewrite of the 3d rendering code.

- components geometries are rendered recursively
- components inherit parents' transformations ( translation, rotation)
- implemented Transformation#toGLMatrix()
  -- openrocket transformations can be directly fed into Java OpenGL

- added: FinSet#getBoundingBox()
- improved documentation on RocketComponent Location methods

- Refactor RocketRenderer:
  - render component trees recursively
  - removed RocketRendere#isDrawn(c) -- return true in all implementations

- Refactor ComponentRenderer
  - renamed variables to be more descriptive
  - changed RocketComponent#toAbsolute(...) => RocketComponent#getComponentLocations()
- Adjust FinRender Code:
  - Render Single Fin Instance at-a-time
  - takes in an angle for the instance
  - assumes the fin is already at it's desired position.
  - renames 'fs' -> 'finSet'
2017-11-05 17:56:14 -05:00