View Single Post
  #4  
Old 06-08-2009, 06:38 PM
CPMcGraw's Avatar
CPMcGraw CPMcGraw is offline
BARCLONE Rocketry
 
Join Date: Mar 2005
Location: Mobile, Alabama
Posts: 5,357
Default

Quote:
Originally Posted by blindeye2
I would be nice to be able to scale fins with seperate x and y direction
scale factors.

How hard would it be to be able to do simple math
in any of the value input fields:

Lenght: 18.000 * 1.5


Thanks;
Bob


In its current release, RockSim scales the fin plots in both 'X' and 'Y', but not individually. To do a one-directional scale-up, you'll have to generate all of the desired values manually and then change the plot points one at a time.

Now, if you're willing to do some programming work...

RockSim files are a form of XML, so the fin plot data would be a table of values contained between tags. The tags you would be looking for will start with: <Name>Fin Set</Name>, provided you have left the 'name' field with the default 'Fin Set'. If you have changed this name, then the string between the tags will be the name you gave it.

Then, you'll need to look for the plot points, <PointList>...</PointList>

It's saved in metric, not imperial, so be careful with the values. Math is math, so if you multiply the 'X' or 'Y' values by a given scale value, the results should still come out correctly.

If you can create a program that can read these values out of the XML, display the points, make the changes, and then save them back, that would be useful.

We have a few programmers here on YORF, so it's not out of the realm of possibility to accomplish this.
__________________
Craig McGraw

BARCLONE Rocketry -- http://barclone.rocketshoppe.com
BARCLONE Blogsite -- http://barclone.wordpress.com
BARCLONE Forum -- BARCLONE Forum

BARs helping BARs

SAM 0044
AMA 352635
Reply With Quote