spamlab-iee / os

An open source, cross-platform structural geology analysis software
GNU General Public License v3.0
25 stars 5 forks source link

make faults compatible with projects #10

Closed endarthur closed 6 years ago

endarthur commented 6 years ago

Faults don't have data on their own, instead depending on a planes and a lines sets. What adaptions would be needed on the project saving and loading to allow for this?

endarthur commented 6 years ago

Maybe giving each item an unique id which won't be changed for its lifetime in the project. That way there could be a dict of datasets for that. Could allow for other compound items, maybe. (which would be?)

endarthur commented 6 years ago

Or just make it carry the data with it inside the json, but that wouldn't be very elegant.

endarthur commented 6 years ago

So, giving each item an id and having the item query the main window before any plot code. Is it elegant and ok? I have no idea. Will give it a though for a bit.

endarthur commented 6 years ago

it works, just need to add the remaining fault plot options, and a properties UI