Face curve loop last and next point

Face curve loop last and next point

sonicer
Collaborator Collaborator
964 Views
2 Replies
Message 1 of 3

Face curve loop last and next point

sonicer
Collaborator
Collaborator

I don't understand why if I get top face from a curve wall and then get all edge .

 

The end point of curve and first point of next curve are not in same place....there is differences in last number. Here you can see last three number 655 and 612 (its not reversed curve problem)

 

body1.png

 

then I can't get closed curve loop ...

 

 

Any solution or it is bug?

 

 

 

0 Likes
965 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk

You need to implement a fuzzy comparison operator,  since real-valued coordinates will almost never be exactly equal.

 

 

 

Cheers, 

 

Jeremy



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

Message 3 of 3

jeremytammik
Autodesk
Autodesk

I summarised this discussion here for future reference:

 

http://thebuildingcoder.typepad.com/blog/2017/06/sensors-bim-ai-revitlookup-and-fuzzy-comparison.htm...

 

Cheers,

 

Jeremy



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

0 Likes