Skip to content
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

BH.oM.Physical.Elements.ISurfaces stopped from failing to transform when their Location is not PlanarSurface #1002

Merged
merged 1 commit into from
Mar 23, 2021

Conversation

pawelbaran
Copy link
Member

@pawelbaran pawelbaran commented Mar 23, 2021

NOTE: Depends on

BHoM/BHoM_Engine#2416

Issues addressed by this PR

Closes #1001

Test files

Changelog

Additional comments

The issue mentioned in the header of this PR is 99% covered by BHoM/BHoM_Engine#2416. This PR is building on top of it, by eliminating the edge case NullReferenceException that may occur, totalling with (hopefully) fairly robust behaviour.

@pawelbaran pawelbaran added the type:bug Error or unexpected behaviour label Mar 23, 2021
@pawelbaran pawelbaran requested a review from LMarkowski March 23, 2021 13:09
@pawelbaran pawelbaran self-assigned this Mar 23, 2021
Copy link
Contributor

@LMarkowski LMarkowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good to me. All panels are being pulled correctly.

One strange thing noticed in the test file. Four panels ale lost by grasshopper's Region Difference component (highlighted in green), despite looking good on pull.
image

It shouldn't block this PR but might be worth investigating.

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 23, 2021

@pawelbaran just to let you know, I have provided a check-installer result to this Pull Request as it was detected to be linked to other Pull Requests in a series. The comment which triggered this check came from @pawelbaran on BHoM_Engine

@pawelbaran
Copy link
Member Author

/azp run Revit_Toolkit.CheckInstaller

@pawelbaran
Copy link
Member Author

@BHoMBot check installer

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 23, 2021

@pawelbaran to confirm, check-installer task is now queued.

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pawelbaran
Copy link
Member Author

@BHoMBot check core

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 23, 2021

@pawelbaran to confirm, check-core task is now queued.

@pawelbaran
Copy link
Member Author

@BHoMBot check compliance

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 23, 2021

@pawelbaran to confirm, check-code-compliance, check-documentation-compliance, check-project-compliance, check-branch-compliance, check-dataset-compliance, and, if applicable, check-copyright-compliance tasks are now queued.

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 23, 2021

@pawelbaran just to let you know, I have provided a check-versioning result to this Pull Request as it was detected to be linked to other Pull Requests in a series. The comment which triggered this check came from @pawelbaran on BHoM_Engine

@pawelbaran pawelbaran merged commit 839c66d into master Mar 23, 2021
@pawelbaran pawelbaran deleted the Physical_Engine-#2415-ISurfaceTransformBug branch March 23, 2021 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Error or unexpected behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BH.oM.Physical.Elements.ISurfaces fail to transform when their Location is not PlanarSurface
2 participants