1448 Commits

Author SHA1 Message Date
Daniel_M_Williams
9c93ada83f [resolves #371] MassCalculator now updates result on FlightConfiguration change
- added check in MassCalculator against last-used FlightConfiguration
- removed dead code
2017-10-28 13:42:10 -04:00
Daniel_M_Williams
bd42c7ecde [doc][version] bumped version number to 18.10-rc1 2017-10-28 13:42:10 -04:00
Daniel_M_Williams
212685b026 [resolves #328][save][load] Fixed invalid save & load fields for 'FinSet', 'LineInstanceable' Components
- PodSet may save/load auto-radial-offset
- Fins now save/load
  - 'instancecount'
  - 'angularoffset'
  - 'radialoffset' = 'auto'

- RadiusPositionable interface now enforces 'setAutoRadialOffset(...)'
- implemented RockeComponentSaver#emitInteger
- all LineInstanceable implementers read/write 'instanceseparation'
- [fix] RocketComponentSaver now saves 'instancecount' even if 1==instancecount
2017-10-28 13:41:51 -04:00
Daniel_M_Williams
eb72329c58 [fix][refactor] simplified rocketfigure drawing code
Fixes Issues:
- https://github.com/openrocket/openrocket/issues/366
- https://github.com/openrocket/openrocket/issues/323

- RocketFigure no longer draws specific stages:
  Starts drawing rocket, and then propogates location, angle/transformation downwards
  - fixed active/inactive visibility toggling
  - Fixed Drowing Bounds for RocketFigure
    - Fix: FlightConfiguration#getBounds()
    - Fix: FinSet#getComponentBounds()
    - Fix: InnerTube#getInstanceCount()
    - Add: Coordinate#MIN, Coordinate#MAX
    - Add: net.sf.openrocket.util.BoundingBox

- RocketComponent:
  - implement: #getInstanceLocations() // relative to parent component
  - implement #getInstanceAngles()
  - implement: #getComponentLocations()  (Refactor/rename of #getLocations() )

- Implement <x>#getInstanceOffsets() // relative to component-reference-point
  - FinSet
  - PodSet
  - ParallelStage
  - RailButton
  - InnerTube:

- fixed drawing shapes:
  - TubeShapes
  - BodyTube
  - Launch Lug
  - RingComponent (InnerTube, EngineBlock, Coupler)
  - Finset
  - Transition
  - Rail Button
2017-10-28 13:41:51 -04:00
Daniel_M_Williams
c36ce2eae4 [resolves #323] Major patch to improve rendering of instanced+rotated components
- introduced interfaces for different types of positionable components:
  -- AnglePositionable
  -- AxialPositionable
  -- RadiusPositionable
- RingInstanceable now includes these other interfaces, making explicit the expectations of
   any implementing subclass.
- RingInstanceable now indicates its angles as an array instead of returning angles one-at-a-time
  -- commit includes updates to match this new API
- Added getAssembly() method to RocketComponent, to simplify instancing code
2017-10-28 13:41:25 -04:00
Daniel_M_Williams
f469ee9586 [refactor] added getInstanceAngle(int) function to the RingInstanceable class (and implementations) 2017-10-28 12:56:55 -04:00
Daniel_M_Williams
8e8ba9324f [rename] renamed count -> instanceCount to be more descriptive 2017-10-28 12:56:55 -04:00
Alexander Allen
107d987973 Implemented CD Override 2017-09-20 21:45:26 -04:00
Daniel_M_Williams
aa5545a973 [fix] both pods and boosters now obey the 'auto-radius' option
- update ParallelStage#update to use the parent-class
  which contains 'getOuterRadius'
2017-09-02 11:09:37 -04:00
Daniel_M_Williams
f1c9ebb25f [refactor] Merged configuration tabs for boosters and pods into the 'ComponentAssemblyConfig' class 2017-09-02 11:09:37 -04:00
Daniel_M_Williams
64be463b48 [feat] added getter/setter for 'AutoRadialOffset' to PodSet 2017-09-02 11:09:37 -04:00
Daniel_M_Williams
95a927b3b7 [fix] simulations now correctly count motors on boosters and pods
- thrust now counts motors on InnerTubes AND BodyTubes.
2017-09-02 11:07:41 -04:00
Daniel_M_Williams
76d4136011 [nonfunc] fix typo in function name 2017-09-02 11:07:41 -04:00
Daniel_M_Williams
15bc607acc [fix] fixed deprecated method (reflection) references. 2017-09-02 10:59:17 -04:00
Daniel_M_Williams
ce65463996 [fix] added several config changes to travis config 2017-08-20 20:21:28 -04:00
ChrisMickelson
3997d08a45 update splashscreen 2017-06-05 01:40:42 -04:00
ChrisMickelson
357eb53ce9 update splashscreen 2017-06-05 01:39:33 -04:00
kruland2607
a59aadbf04 Merge pull request #321 from ChrisMickelson/unstable
Alpha value for semi-transparent components saved/loaded and small bug fix
2017-02-01 23:46:02 -06:00
kruland2607
c8eaca6cb0 Merge pull request #315 from teyrana/fix-cg
[Fix][Issue #295] CG now correctly updates when Stages are toggled
2017-02-01 23:45:03 -06:00
kruland2607
33aeb25d84 Merge pull request #301 from Vicilu/unstable
adds more documentation
2017-02-01 23:44:51 -06:00
kruland2607
2403dcd62b Merge pull request #293 from teyrana/rocket-assembly
[Refactor] Rocket now subclasses ComponentAssembly
2017-02-01 23:44:39 -06:00
ChrisMickelson
f6ccc7f264 Update AppearanceHandler.java 2017-02-01 21:54:32 -05:00
ChrisMickelson
6379729670 Update RocketComponentSaver.java 2017-02-01 21:50:15 -05:00
Daniel_M_Williams
3e869e015b [Fix] Modified masscalc test for different active stages. 2016-12-23 18:32:15 -05:00
kruland2607
e4aae02455 Merge pull request #292 from teyrana/unit-comment-fix
Unit comment fix [single-file][non-functional][mini]
2016-11-19 08:29:26 -06:00
Matt Kendall
3642398b1a Remove opaque background from Tube Fin Component Icon 2016-11-05 23:55:31 +00:00
Luiz Victor Linhares Rocha
37402f9b95 adds documentation and refactoring for ThrustCurveMotorSet file 2016-10-24 15:33:02 -02:00
Luiz Victor Linhares Rocha
3fc4c3799c adds documentation for database package 2016-10-24 14:48:05 -02:00
Luiz Victor Linhares Rocha
f0ecd6f495 adds documentation written before update 2016-10-24 11:05:08 -02:00
Kevin Ruland
4532ba6490 Merged master into unstable. 2016-10-23 13:50:33 -05:00
Kevin Ruland
f2d76e3b2b Merge remote-tracking branch 'upstream/master' into unstable 2016-10-23 13:50:08 -05:00
Kevin Ruland
d3240ec1a4 Merge remote-tracking branch 'upstream/unstable' into unstable 2016-10-23 13:16:06 -05:00
Daniel_M_Williams
02aefc6b6e [fix] Fixed RocketTest Failure 2016-10-22 22:58:41 -04:00
Daniel_M_Williams
c556cf93a7 [fix] Cloned flight Configurations now display correct name 2016-10-22 22:58:41 -04:00
Daniel_M_Williams
443b4b9a35 [Doc] Updated function Javadocs 2016-10-22 22:58:41 -04:00
Daniel_M_Williams
6d70cc61f1 [Fix][Issue #294] Multiple fixes to ensure undo & redo function correctly
- The Rocket#trackStages function needs to handle being updated with the same stage id#, but different instance
- Rocket#update now updates the stageMap
- FlightConfigurations refactored to use stage numbers instead of references.
2016-10-22 22:58:23 -04:00
Daniel_M_Williams
31938d69d7 [refine] removed ~40% excess configuration clones while creating undo point. 2016-10-22 18:56:39 -04:00
Luiz Victor Linhares Rocha
9f10b8cec1 adds documentation to some document package and rocketcomponents 2016-10-19 15:22:28 -02:00
Daniel_M_Williams
1c326c88c3 [fix] fixed MotorConfiguration copy constructor to copy motor as well 2016-10-17 21:46:30 -04:00
Daniel_M_Williams
746024cced [minor] renamed constructor variable to correctly indicate purpose 2016-10-17 21:44:24 -04:00
Daniel_M_Williams
f3413f9a98 [Minor] Removed extra whitespace in debug statements 2016-10-17 21:43:11 -04:00
Luiz Victor Linhares Rocha
b708520364 adds documentation and refactoring for many files 2016-10-17 16:41:17 -02:00
Vicilu
7c5de3f4da adds documentation for appearance builder 2016-10-14 11:50:58 -03:00
Vicilu
466619d296 Adds documentation to appearance file 2016-10-14 11:00:11 -03:00
Daniel_M_Williams
445e6caac3 [Refactor] Rocket inherits from ComponentAssembly instead of RocketComponent
- conceptually, a rocket *IS A* ComponentAssembly.
- reduces code duplication:  7 redundant functions
- rocket still inherits all the RocketComponent methods

- Also:  changed Coordinate.NUL -> Coordinate.ZERO to better reflect our intent.
-- Nitpick: Coordinate.NUL is *not* null. It's zero.  These are different!
-- Null is an error condition.
-- Zero is a valid coordinate.  Zero means something is located at the origin.  Like the rocket, and the nosecone.
2016-10-13 16:30:42 -04:00
Daniel_M_Williams
59a596520a [Non-func] Removed dead code, reformatted comments for javadoc 2016-10-13 16:06:01 -04:00
Luiz Victor Linhares Rocha
38f21e1b05 fixes build bug by non ASCII character 2016-10-13 15:47:53 -03:00
Luiz Victor Linhares Rocha
ecb467db36 fixes little bug found at github build and adds a little more docs 2016-10-13 15:42:08 -03:00
Luiz Victor Linhares Rocha
c9dadc10fa adds documentation to aerodynmics package and some refactoring of classes 2016-10-13 15:04:03 -03:00
Kevin Ruland
e0c7c34cb0 Fixes from unit tests.
Don't serializemotors during ci builds.  This will likely pound
thrustcurve.org too much.  Couple of bugs found by unittests :)
2016-10-11 16:23:39 -05:00