72 Commits

Author SHA1 Message Date
kruland2607
b16917995d Change mouse button handling in simulation plot. Left click drag zooms
area, and ctrl left click drag pans.
2013-02-05 10:04:49 -06:00
bkuker
c1c4f99992 Trying out an "Unfinished" view... Jury is out 2013-01-10 15:36:08 -05:00
bkuker
c6bdd1ab78 Fix the clamp message 2013-01-07 16:22:48 -05:00
bkuker
e8ac5d4dea Add a sticker decal option 2013-01-03 15:24:23 -05:00
kruland2607
177d40104e Add Edit Decal dialog available from Appearance tab. Added preference
to control which editor is opened.
2012-12-28 23:08:31 -06:00
bkuker
86d07ca8b8 I10n for color label 2012-12-17 16:18:49 -05:00
kruland2607
e516f99a8f Removed the "include decals" storage option - they will always be
included when saving as ork file.  Fixed saving rocksim files - they are
just plain files and have no references to decals.
2012-12-16 21:25:23 -06:00
kruland2607
7db51b9b65 Always save using .zip container format. Removed the "use compression"
option from the StorageOptionChooser.
2012-12-16 13:45:49 -06:00
kruland2607
db45a48e08 Localized the Export Decal menu item. 2012-12-12 21:39:07 -06:00
kruland2607
e5ed9e166b Added localized strings for the dialog. Removed FIXME saying "add
buttons" because there are buttons.
2012-12-12 16:48:36 -06:00
kruland2607
4de4d0d728 Usability enhancements to the simulation plot.
- Made mouse wheel zoom.  alt mouse wheel zooms only domain.
- added explicit zoom buttons.  alt button zooms domain only.
- mouse drag pans the plot.
- use simulation name for window name & plot title.
2012-11-06 20:56:42 -06:00
kruland2607
4179b0d6e6 Fix localization, dialog placement, and prepopulated fields in flight
config dialogs.
2012-10-26 11:58:41 -05:00
kruland2607
87e968690b Change labels and add explicit Edit buttons to all places where the
flight configuration list is presented.
2012-10-25 20:17:46 -05:00
batwings
564010974b Merge branch 'feature-rocketconfig' into integration
Conflicts:
	core/src/net/sf/openrocket/file/openrocket/importt/OpenRocketLoader.java
2012-10-24 16:48:19 -05:00
batwings
b32be42092 Added full support for per flight-config stage separation: simulation,
ork file, and gui configuration.
2012-10-24 16:32:38 -05:00
batwings
5d65b591e1 Merge branch 'feature-rocketconfig' into integration
Conflicts:
	core/src/net/sf/openrocket/file/openrocket/importt/OpenRocketLoader.java
	core/src/net/sf/openrocket/file/openrocket/savers/RocketComponentSaver.java
2012-10-24 09:26:29 -05:00
kruland2607
5deae1d3db Found the missing pieces to make decals work. 2012-10-23 22:13:22 -05:00
kruland2607
04ee758e6a Fix up failures from the previous merges. 2012-10-23 21:56:35 -05:00
Kevin Ruland
fddf6cc0c7 Modified the AppearancePanel decal selector to have a combo box which follows the ComponentPreset pattern. The first entry in the combo box contains "none" entry which clears the decal associated with the component. The last entry in the combo box is "choose from file" which opens a file picker to select an image from the file system. The entries in between contain all the decals currently used by components in the document which facilitates reusing decals on the model. 2012-10-23 16:24:58 -05:00
Kevin Ruland
05d1b91d90 Sizable commit with lots of changes to support decals in openrocket files. Added support for zip container support. Changed Decal to hold a String instead of URL. Refactored GeneralRocketLoader out of the RocketLoader hierarchy so the GeneralRocketLoader knows about files and RocketLoader only knows about streams. Changed the OpenRocket file format to 1.6 and added <appearance> and it's children for ambient light and decals. Implemented a DecalRegistry which is a member of the OpenRocketDocument. This class is used to get InputStreams for decals by their names. 2012-10-23 15:54:45 -05:00
Bill Kuker
4ab28bbf54 Make the default checkbox text work the right way: check box's text, not a separate label 2012-10-23 15:12:35 -05:00
Bill Kuker
6a2ebb6851 Add translatable text names to the texture wrap mode enum 2012-10-23 15:12:28 -05:00
Bill Kuker
dc66d2a93e English l10n on appearance config 2012-10-23 14:53:38 -05:00
kruland2607
25f619aa19 Added button and dialog to select the ignition for a given motor. 2012-10-19 14:34:44 -05:00
kruland2607
3a8d2d5560 Implemented a DeploymentConfiguration object which includes the values
used to determine the deployment of a recovery device.  The DeployEvent
enum was moved into this class.  Added a map of configuration id strings
to DeploymentConfiguration objects in the RecoveryDevice.  Modified
various setter/getters in RecoveryDevice to support a "default"
configuration defined in the device's configuration dialog.  Modified
BasicSimulationEngine to use the DeploymentConfiguration based on the
selected configuration.

Added to the FlightConfiguration dialogs to support editing these
configuration.

Missing are serialization of the map in ork files.
2012-10-16 22:13:37 -05:00
kruland2607
e18b081273 Added some l10n strings to the motor table. Tightened up access to
package scope member variables.
2012-10-16 12:53:37 -05:00
kruland2607
d00dc2ff34 Added more buttons to configuration including broken copy button. Added
tab layout to pane.  Added ignition spec to motor config table but
haven't hooked it up.
2012-10-16 11:04:01 -05:00
Bill Kuker
3b368ac270 Reverting efforts to detect & reduce 3d crashes.
Reverting:
1073
1074
1075
1076

1078
1079
2012-09-28 20:25:31 +00:00
Sampo Niskanen
bfe48265e6 Add usage instructions to preset dialog 2012-09-27 16:36:45 +00:00
Bill Kuker
4073246388 Add a 3D enabled user preference
Add 3d Crash detection that disables 3d if the application crashes during one of several touchy phases of JOGL / Native / display driver initialization.
Always make the 3D view button clickable, but there is an explanation and a button to turn 3d on if it has been disabled
2012-09-27 14:44:04 +00:00
Kevin Ruland
a28c99fc54 Wired in the ComponentPresetEditor into the Edit menu. It is currently disabled because of some bugs in the ComponentPresetEditor. 2012-09-26 14:45:55 +00:00
Doug Pedrick
5b6e1ecf39 Added preference to auto-open last design file on startup. 2012-09-23 22:28:39 +00:00
Kevin Ruland
1542b2ee08 More localization updates by Ruslan Uss. 2012-09-15 22:54:27 +00:00
Kevin Ruland
b0d03cc473 More updates to localization provided by Ruslan Uss. 2012-09-11 16:10:51 +00:00
Richard Graham
1828f9d2fb Added gravitational acceleration and propellant mass datatypes. 2012-09-05 05:14:10 +00:00
Sampo Niskanen
31ace7b312 Material localization support 2012-08-25 20:10:58 +00:00
Kevin Ruland
6aac556a53 Added localization changes supplied by Russian USS. 2012-08-23 02:24:39 +00:00
Kevin Ruland
da430d3611 Applied patch for l10n supplied by Russian Uss. 2012-08-20 02:02:38 +00:00
Richard Graham
3d5ae6752a Big update to custom expression feature.
- supports range and index subexpressions and many new operators
 - switched to my patched version of exp4j to support all this.
 - expressions belong to rocket document. Accessed from analysis menu.
 - expression importing from file
 - datatypes section defined in file for storing datatypes other than internal ones
 - flightdatatype fix to forget outdated types
 - many GUI fixes to custom expressions
 - new unitgroups supported. Auto unit detection for SI units in custom expressions.

Had to carefully merge loading/saving code with Kevins recent de-localization update. Hopefully changes to materials saving kept but switched datatype access to just using symbol as the key.

Hopefully can get the changes to exp4j upstream so we don't need to keep using this patched version.
2012-08-05 23:59:54 +00:00
Sampo Niskanen
723539619c Component preset updates 2012-06-18 19:48:57 +00:00
Richard Graham
71b36bc481 - Implemented copying of custom expressions to other simulations in expression builder dialog. Note the small changes to various files are to allow simulations access to parent document.
- Switched to unicode char escapes
- Removed dynamic setting of flightdatatype priority
- Now hiding up down arrows in custom expression pane when unusable
- Localized custom expression operator discriptions.
2012-06-11 04:47:49 +00:00
Doug Pedrick
17fa9ae55d Added most recently used design file list to File menu. 2012-06-06 02:22:19 +00:00
Richard Graham
16eed9a30b Added new feature : user configurable custom expression evaluation for the simulation, driven by exp4j. 2012-06-02 17:58:47 +00:00
Doug Pedrick
c89c927e0c Printable Centering Ring templates. 2012-05-24 23:28:58 +00:00
Kevin Ruland
a41e6ef5a3 Change label for UNIT_WINDSPEED in pref dialog to "Wind speed". 2012-05-17 14:24:22 +00:00
Kevin Ruland
7420f5c18b Added UNITS_WINDSPEED so the preferred units for entering wind speed can be configured separately from rocket velocities. 2012-05-16 06:36:58 +00:00
Doug Pedrick
3d73e9d9eb Initial GUI for editing and saving component presets. See ComponentPresetPanel.main() for standalone execution. 2012-05-05 02:23:14 +00:00
Kevin Ruland
3792528e01 Added LaunchLug, Streamer and Parachute ComponentPresets. 2012-05-01 17:40:55 +00:00
Kevin Ruland
27411395f9 Change nose cone preset to use Aft Outer Diameter, Aft Shoulder Length, and Aft Shoulder Diameter to be consistent with Transitions. Added a bunch of unit tests and correct behavior of the rocketcomponent setters to clear the preset appropriately. Modified the temporary csv data files to use the "aft" specifiers. 2012-04-22 20:26:22 +00:00
Sampo Niskanen
1c411548a7 Support for opening recovery device on stage separation 2012-04-19 17:24:03 +00:00