App.new_object sequence of actions is problematic.

Issue #58 resolved
Juan Pablo Caram repo owner created an issue

Current sequence is

  1. Initialize options
  2. Run user's initialize()
  3. Change units if needed

One problem for example is if the user changes the units (2) some options set in (1) may have the correct units and will get converted incorrectly in (3).

Comments (2)

  1. Juan Pablo Caram reporter
    1. Options X in inches
    2. initialize() changes to mm (does not change X)
    3. Units are changed back to inches, then X = X/25.4

    Then unit changes must be detected in initialize() and change X = X*25.4. How do we know that X was there before and not Y that was introduced in initialize()?

  2. Log in to comment