openrocket / openrocket

Model-rocketry aerodynamics and trajectory simulation software
https://openrocket.info/
Other
1.23k stars 389 forks source link

For component positioning, replace "From tip of rocket" to "From front tip of stage" #2342

Open neilweinstock opened 11 months ago

neilweinstock commented 11 months ago

The current option "From tip of rocket" makes no sense for components in booster stages. Positioning from the front of the stage makes more sense.

When loading files, any instances of "From tip of rocket" should be changed to "From front tip of stage". I don't mean simply change the text string, but also replace the actual distance (referenced to the tip of the current stage, not the tip of the rocket). If any instances are in a booster stage, then a warning dialog should be shown explaining what happened (because components will suddenly be in the wrong place.

A good example of where this becomes a problem is the attached ORK file. Several components in the booster are positioned relative to tip of rocket. The rocket looks fine when all stages are enabled:

image

But if you disable the sustainer, you end up with this:

image

Contest_2024_10K.ork.zip

compwright commented 7 months ago

I have encountered this problem also, but I disagree with changing this behavior, because there are times when (for instance adjusting or splitting up tubes on scale models) I need this behavior to stay the same.

Perhaps add a position option for this, in addition to from tip of rocket?