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

Enable pushing surface-based ModelInstances #435

Merged

Conversation

pawelbaran
Copy link
Member

@pawelbaran pawelbaran commented Nov 12, 2019

NOTE: Depends on

#603
#1319

Issues addressed by this PR

Closes #408

Test files

Test files are located on SharePoint. To run it, please switch to the branches related to the following PRs:

Changelog

  • BH.Engine.Adapters.Revit.Create.ModelInstance() methods were added for locations of type ISurface and ISolid
  • A method converting ModelInstance with location of type ISurface or ISolid to a Brep-based DirectShape has been added together with necessary helper methods

Additional comments

Please see #603.
Push does not work for closed or periodic surfaces because they are not supported by Revit.

Issues to be raised after merging this:

  • combine ToRevitCurves and ToRevitCurveArray methods into one
  • implement converts of BHoM primitives (Sphere, Cone etc.) to Revit
  • implement converts from Revit Breps and Surfaces to BHoM
  • add push support for Voids and Solids (watertight Breps) - this PR implements open shells only

@epignatelli epignatelli removed their request for review November 14, 2019 09:29
Copy link
Contributor

@FraserGreenroyd FraserGreenroyd left a comment

Choose a reason for hiding this comment

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

LGTM - approving to unblock as the dependency chain is big on this PR.

Copy link
Member

@al-fisher al-fisher left a comment

Choose a reason for hiding this comment

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

Thanks @pawelbaran - this in itself is a great addition :
image

Noting throughout my testing a number of edge cases - which you have already highlighted in PRs I think pretty comprehensively. So am happy we can merge and then raise further issues and priorities as needed. 🚀

@al-fisher al-fisher merged commit a0e5c4f into master Nov 16, 2019
@al-fisher al-fisher deleted the BHoM-Issue425-CreationOfTrimmedNurbsSurfaceDefinition branch November 16, 2019 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable pushing pure geometry
3 participants