Closed rolyhudson closed 1 year ago
Refactored this now after testing approaches for very basic workflows. Anticipating further development to handle requests and more complex CRUD operations. This PR aims to capture the read workflow indicated in #199 plus a simple create file workflow.
For the Pull Action this means simply read everything from the specified file.
Objects are stored as the BH.oM.Adapters.Rhinoceros.RhinoObject
capturing geometry, object colour and layer.
For the Push Action the initial workflow is seen as simply writing to a new file or overwriting if an existing file is specified.
To do so Push is overridden.
Why?
PushType.CreateOnly
and expose a warning for users that this is the case.Would be good to get @IsakNaslundBh + @alelom's views on this.
/azp run Rhinoceros_Toolkit.CheckInstaller
@rolyhudson and @alelom (and @IsakNaslundBh to a lesser extent). Given this PR is described as a rudimentary adapter set up for very basic pull and push
and this wasn't available in the 4.0 beta, can I check we are happy with the use cases/risks vs reward of merging this in now for inclusion in the 4.1 beta, vs waiting for a merge in the first sprint of 4.2, getting some alpha testing under its belt for inclusion in the 4.2 beta.
Not wanting to hold things up unnecessarily, just raising the question for discussion to ensure we're happy that this work will be deployed in installers globally in 2 weeks without much opportunity for alpha users to feedback :smile:
Given this PR is described as a rudimentary adapter set up for very basic pull and push and this wasn't available in the 4.0 beta, can I check we are happy with the use cases/risks vs reward of merging this in now for inclusion in the 4.1 beta, vs waiting for a merge in the first sprint of 4.2, getting some alpha testing under its belt for inclusion in the 4.2 beta.
From my point of view, I think it is fine to wait, unless @rolyhudson and @alelom disagrees due to needs for some workflows.
I am happy to wait and test fully in 4.2 alpha's. For me it was an opportunity to look deeper into adapters so no need for haste in merging.
@BHoMBot check ready-to-merge
Following discussion in today's PR closure day with @IsakNaslundBh and @al-fisher we're closing this PR as it has a large amount of conflicting files with other work done to this toolkit, but the branch will remain open to support @michaelhoehn or others in resolving the issue of a Rhino Adapter in the future 😄
Issues addressed by this PR
Rudimentary adapter set up for very basic pull and push.
Closes #199
Test files
Simple pull and push
Changelog
Additional comments