-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrating grids and levels from Architecture to Geometry.SettingOut #1204
Migrating grids and levels from Architecture to Geometry.SettingOut #1204
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - normally I'd go with a @pawelbaran approach for calling new methods from the deprecated methods to save on maintaining both during the deprecation process but am happy for this to move through as it's the last component of 2.4MVP as we move into 2.4RC next week 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry @al-fisher to block this one, but wasn't SettingOut
meant to land in Common
? That is what I understood from the brief.
As far as I can imagine grids and levels being related to architecture, I do not get why would they be a part of geometry - this namespace was historically limited to classes representing pure geometry: curves, surfaces etc., while Grids
are objects with ICurve
being only one of their properties, and Levels
do not have geometry at all (of course they could be represented as XY planes with origin point with certain Z, but this is not their role in the object model).
I generally support the idea of creating SettingOut
namespace in one of less discipline-specific repos than Architecture
, but cannot think of a reason why this would it be Geometry
and not e.g. Common
.
Hey @pawelbaran - yep - do agree to some degree with some of the points you raise above - but do have a look at the original issue and here: BHoM/BHoM#536 (comment) That all said - I do agree with the potential for greater intuitiveness over where the There are however issues with simply introducing a transdiscipline Therefore I do propose that we do continue with @pawelbaran does this make sense? |
@al-fisher I get your point, but this still does not convince me. From what you are writing, I understand that Geometry will probably not be the final namespace for the subject matter, we will need another iteration. That I guess is something that should be avoided not to break the existing scripts too often. And even if the above is not an issue, I would still consider moving What do you guys think @IsakNaslundBh @FraserGreenroyd? |
OK - two points on the above:
Does that help? |
Hmm it's a difficult one. On the one hand, I do agree with you @pawelbaran about the Geometry Namespace and whether it should contain objects which contain additional data beyond just geometric. However, I also agree with @al-fisher that the Common namespace has yet to be defined and would not want to run the risk of it becoming the 'dumping ground' of objects which have no immediate better home. I would agree with @al-fisher about the possibility of a Equally, the joy of everything we're doing on deprecation allows us to make almost as many changes as we want without worrying about breaking scripts. Granted, it gives us more to manage in terms of deprecated code and working out when to remove it - but that's just something that comes with being maintainers of OS code. So, to summarise... I agree with both of you (not helpful, I know), but lean towards agreeing with @al-fisher in terms of:
Hope that helps, at least that's my thoughts in a rambling state - make of it what you will 😉 |
I get the point of you both, but still I would not agree with moving things around for the sake of doing it. At the moment I do not see any big difference between the Maybe the problem is me being excluded from any framework-level discussions (and still trying to maintain one of the core repos). I will not block this one any more, you guys do what you like. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🏗
Thanks @FraserGreenroyd - I wont comment on whether that is rambling or not 😄 - but I do think you did capture very well the overlapping considerations! And perfect - Thanks @pawelbaran Thanks all |
NOTE: Depends on
BHoM/BHoM#554
Issues addressed by this PR
Closes #1203
Test files
https://burohappold.sharepoint.com/sites/BHoM/02_Current/Forms/AllItems.aspx?RootFolder=%2Fsites%2FBHoM%2F02%5FCurrent%2F12%5FScripts%2F01%5FTest%20Scripts%2FBHoM%5FEngine%2FArchitecture%5FoM%2F%23536%20%2D%20migration%20of%20grid%20and%20level&FolderCTID=0x0120008122C8891F89054B8ACED0196C70DFC4
Changelog
BH.oM.Architecture.Elements.Grid
andLevel
Creates deprecated.Grid
andLevel
added toBH.oM.Geometry.SettingOut
Level
deprecated and updated to utiliseBH.oM.Geometry.SettingOut.Level