Geometry intersect

Geometry intersect

Anonymous
Not applicable
6,437 Views
6 Replies
Message 1 of 7

Geometry intersect

Anonymous
Not applicable

Hi, 

Can i have implemented this Dynamo script in Revit API?

 

Accepted solutions (1)
6,438 Views
6 Replies
Replies (6)
Message 2 of 7

Revitalizer
Advisor
Advisor
Accepted solution

Hi,

 

first thought: no, you cannot.

There are supported intersections between Solids and Curves, Faces and Curves, Curves and Curves, Faces and Faces.

But no Solid-Face intersection.

 

Second thought: hey, you could workaround it.

Get the boundary curves of your face, do Solid-Curve intersections, collect the resulting curves.

Or get the faces of your solid, do Face-Face intersections, collect the resulting curves.

But how to get the area of these curves, as they could consist of several rings or describe a spherical surface...

 

Third idea: if Dynamo is open source, you could read the code, find the relating geometric function and try to call it from your own addin.

 

 

Revitalizer




Rudolf Honke
Software Developer
Mensch und Maschine





Message 3 of 7

jeremytammik
Autodesk
Autodesk

Dynamo IS open source, totally!



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

Message 4 of 7

htlcnn
Enthusiast
Enthusiast

Not all of Dynamo parts are opensource. ProtoGeometry is one of them.

0 Likes
Message 5 of 7

BIM_S_S
Participant
Participant

I have 2 geometry elements and i can't get intersection geometry please help

0 Likes
Message 6 of 7

Anonymous
Not applicable

You can use the "DoesIntersect" from Dynamo's ProtoGeometry.dll.

Autodesk.DesignScript.Geometry.Geometry.DoesIntersect(Autodesk.DesignScript.Geometry.Geometry)

0 Likes
Message 7 of 7

htlcnn
Enthusiast
Enthusiast

It does not work when you reference ProtoGeometry.dll outside Dynamo environment.