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

Preview for trimmed surfaces #435

Merged

Conversation

pawelbaran
Copy link
Member

@pawelbaran pawelbaran commented Nov 12, 2019

NOTE: Depends on

#603
#1319
#122

Issues addressed by this PR

Closes #430

Test files

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

Changelog

  • Preview for trimmed surfaces has been added.

Additional comments

Updated copy of #431.
Please see #603.

Copy link
Member

@epignatelli epignatelli left a comment

Choose a reason for hiding this comment

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

I don't think we are using these methods at all. They should actually be removed.

The methods that the Goos are using are RenderRhinoMesh and RenderRhinoWires.

Was this actually having any effect? If so, there must be a bug somewhere.

@epignatelli
Copy link
Member

epignatelli commented Nov 14, 2019

Actually, I think we can close this altogether. As long as a BHoM geometry type is convertible to a valid Rhino.Geometry type, there is nothing we need to do here.

@pawelbaran
Copy link
Member Author

@epignatelli the code will not compile without changes in RenderMeshes and RenderWires, while the line added to FromGoo allows for correct conversion of trimmed Breps. Therefore, I believe we still need to get this PR merged in a bundle with others.

Copy link
Member

@epignatelli epignatelli left a comment

Choose a reason for hiding this comment

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

Sorry @pawelbaran I realised it too late, that's correct.

Let's keep it as it is then, and solve the problem of removing these methods at a different time.

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.

See general comment here: BHoM/Revit_Toolkit#435 (review)

@al-fisher al-fisher merged commit af01be4 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.

Grasshopper_Toolkit: Preview for trimmed surfaces
3 participants