Monday, September 16, 2013

  • fixed contact-patch-below-ground bug (thanks Cheapracer)
  • added mac strut dimension highlighers: left/right spindle length
  • moved to jquery 2.0, vsusp no longer supports IE8 and earlier
  • made close window message simpler
  • significant cleanup of code in draw functions
  • updated mouseover text for strut axis inclination
  • fixed handling of bad input values (eg. text in float field)
  • improved noscript message alert box

Bug fix, dim highlighters, cleanup, etc

Just released a new version of VSusp

Contact patch below ground: this one has a fix for an occasional bug that caused the tire contact patch to end up below ground in some cases for double wishbone suspensions.

Mac Strut spindle length dimension highlighters: I also added two dimension highlighters for Macpherson strut suspensions: left spindle length and right spindle length. Hovering over the respective input boxes will show the highlighters on the diagram. I believe the only other two dimension highlighters that need to be added are left and right strut lengths.

No more support for IE8 and earlier: I updated to Jquery 2.0 hoping that there would be a decent speed improvement for Firefox. Looks like there's no perceptible change, but it's good to update once in a while anyway. The new version of jquery doesn't support IE 8 and earlier, so now neither does VSusp.

Close window message: I simplified the message that pops up when you're about to close the window. If this message is annoying, just let me know and I'll either get rid of it or make it possible to turn it off.

Better handling of text in integer/float fields: before, if the user would enter a letter into an input field which was expecting a number, this would mess up the diagram until the value was changed back to a number. Now the text value is just ignored and the input field reverts to the previous value

Minor things that aren't really noticeable: updated the noscript message alert box that shows up if scripts are disabled. Also cleaned up a decent portion of the code that handles drawing. Updated mouseover text for 'strut axis inclination' input

Monday, September 2, 2013

Updates

Just added a couple updates which I've been wanting to put in for a while. These were both suggested by Cheapracer on the Locost Builder forum.

Added type-in support for roll and bump controls
    Now, it's possible to just type in values in the bump/droop and roll angle inputs. Before, the only way to change the values was to drag the arrow controls on the graph. 

Added control for adjusting roll and bump together
    There's now a free-drag control on the graph. Left/right movement adjusts roll angle, and up-down movement adjusts bump/droop. This may make it easier to see how the vehicle rolls around a particular point, such as the roll center.