RiR GH - Face, Edge of Components

Right now I can successfully pick edges, vertexes of walls, direct shapes, etc. but when I choose components it seems like it is picking edge of the invisible family instance placed in 0,0,0 coordinates. Is it intended to work like that?

How to use Revit face? From Edge or Vertex, I receive curve or point but from Face, it is not a mesh nor brep. Is it to, for example, create Wall by Face?

Another question, Is it another way to pick edges than manually selecting them in Revit? I can receive something similar with Wires output in Element.Preview component but I suppose Edges provide more data?

Hi,

Edges in the 0,0,0 coordinates as you said is a bug. Thanks for pointing this out.

Revit face is for referencing Revit geometry faces it will be used to create Walls by face, the conversion to surface will be also implemented. In that case is just too soon, but will be exactly as you describe it.

About extracting Revit geometry references to vertices, edges and faces may be useful when we have some components that can use them. By now using the ‘Element.Geometry’ and ‘Deconstruct Brep’ together should give you similar functionality.

Hi,

There is a new one here.
It should fix the Edges at 0,0,0 as well as implement the implicit cast from vertex, edge and face to point, curve, surface and brep.

The preview of those parameters should work as well now.
Please test it and tell me if you detect something wrong.

Thanks, I will check it.

Could you please take a look on ways to deconstruct (for example Walls) to receive their Finish Faces (just for start), and later on: Core Faces, Core Axis and every other Wall Layer there might be? Of course, all done through Grasshopper components, without manually selecting faces in Revit or maybe selecting with Document Element Types Filters - selecting whole objects, where GH extracts specified faces, not handpicking them).
We already have quite nice AddWall.ByCurve component. Now let’s put some stuff on them!

Hi,

I added Host.GetFaces component, it works with any HostObject like (Walls, Ceilings, Floors, Roofs, and others).

Have in mind that Core and other faces you mention are not really in the model.

Hi Kike,

Thanks for your work. I was testing it and realized that it ignores Wall Miters. Also, every time I recompute GH definition Wall Miters set in Revit resets.

Wall miters are fixed now.

Great job - thank you very much.
Do you know if miters could be specified from GH level? Yet I don’t have any good idea about how it could be implemented - where in the chain of components should it be, etc.

Hi @kike ! I tested the Host.Face component, but it looks that in case with Floors it does not recognise Floors faces that are not oriented vertically by Z Axis (x, y, 0). Could this be fixed or is there any other way to extract Floor’s side faces in automativ way?

I don’t think the Revit API returns the other surfaces in this case.

Here’s a quick geometry driven test (Closest Vector is Pufferfish), a few ways you could do this.


CompareVectors.gh (11.2 KB)

Hi @Japhy , thanks for response, the question is : are these surfaces that you’ve extructed valid for the Paint.Face RiR component? because the goal is to paint these sides of the floors in different material.
I also tested with another logic but here is the warning I get

I see, no those wouldn’t be considered Revit Reference Faces. I’ll add a feature request for a more comprehensive Face component.

Thank you ! By the way much love for all the RiR team! I’ve been tracking all your updates for more than a year now and use it on everyday basis.The best tool so far and the most responsive community.You are doing great job for the industry . Greetings from Ukraine! :yellow_heart: :blue_heart:

Hi guys,

How can I select these wall end edges? thanks

Hi @m.onopko,

You can do something like this.

RiR-PaintVerticalFaces.gh (23.1 KB)

Thanks @kike ! Will try this method :smiling_face:

Answered in the thread you created. Aligned Dimension - #2 by Japhy