halkszavu / Project-Artifexia

A rotation file editor for GPlates
MIT License
2 stars 0 forks source link

New plate added #2

Closed halkszavu closed 1 year ago

halkszavu commented 1 year ago

Create the required features to add new plate

halkszavu commented 1 year ago

https://youtu.be/4jvNBDqPEOc?t=683

halkszavu commented 1 year ago
  1. Get the new plate ID (create a check, making sure it doesn't exists yet, and create a feature to create new non-existing plateID using the parent ID)
  2. Create a new entry at the end of the simulation: ID 0.0 90.0 0.0 0.0 000 ! Plate ID at the end
  3. Get the timestamp for the start of the new plate
  4. Create a new entry at the start of the new plate: ID timeStamp 90.0 0.0 0.0 000 ! Plate ID start moving independently
  5. Then save and reload the .rot file to GPlates
  6. In GPlates: Specify Anchored Plate ID (Ctrl+D)-specify the parent plate ID
  7. In GPlates: Total Reconstruction Poles (Ctrl+P)-get Equivalent Rotations Relative to Anchored Plate ID, and fetch the coordinates
  8. Input the coordinates
  9. Create new entry below what was described in 4. : ID timeStamp coordinates parentPlateID ! End following parent
  10. Create new entry at the start of simulation: ID start coordinates parentPlateID ! Plate ID at start
halkszavu commented 1 year ago

New windows needed:

  1. For the new plate ID: an input box for the new plate ID, a button for generating the new plate ID. (Maybe an input box for the desired name for the name)
  2. For the timestamp of the splitting
  3. For the coordinates of the new plate: display the help for getting the necessary information in a dynamic way, and have three input boxes (allowing only double-s) for the Latitude, Longitude and Angle
halkszavu commented 1 year ago

27 The required visuals are done.

halkszavu commented 1 year ago

New need: get the start time for the simulation from the .rot.

halkszavu commented 1 year ago

70 Broke this.

Need to be reimplemented

halkszavu commented 1 year ago

First unit:

  1. Get the new plate ID (create a check, making sure it doesn't exists yet, and create a feature to create new non-existing plateID using the parent ID)
  2. Create a new entry at the end of the simulation: ID 0.0 90.0 0.0 0.0 000 ! Plate ID at the end
  3. Get the timestamp for the start of the new plate
  4. Create a new entry at the start of the new plate: ID timeStamp 90.0 0.0 0.0 000 ! Plate ID start moving independently

Second unit:

  1. Then save and reload the .rot file to GPlates
  2. In GPlates: Specify Anchored Plate ID (Ctrl+D)-specify the parent plate ID
  3. In GPlates: Total Reconstruction Poles (Ctrl+P)-get Equivalent Rotations Relative to Anchored Plate ID, and fetch the coordinates
  4. Input the coordinates
  5. Create new entry below what was described in 4. : ID timeStamp coordinates parentPlateID ! End following parent
  6. Create new entry at the start of simulation: ID start coordinates parentPlateID ! Plate ID at start

The units have to be implemented in the interface and the implementation as well.

halkszavu commented 1 year ago

First unit: need the new plateID and the timeStamp Second unit (after reloading): need the coordinates