DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
328 stars 184 forks source link

PointAtParameter on selected Revit Mass Face ignores Brep extents #2675

Open RobertGlobant20 opened 3 years ago

RobertGlobant20 commented 3 years ago

Dynamo version

0.9.2

Operating system

Win10

What did you do?

Created an array of points using cross product lacing on a selected face from a Revit mass. The mass is orthogonally extruded. However, when the edge is lifted such that the face is sheared, there there is a bug as described below and shown in the attached images.

What did you expect to see?

That the points are generated within the parameter space of the brep. 

What did you see instead?

The points are generated within an invisible 'bounding box' of the extents of the selected face/surface  <img width=927 alt=orthogonal extrusion src=<img width=970 alt=sheared extrusion src=

The plot thickens

If the mass is edited at a corner point - if a corner is pulled in such a way that the selected face becomes double-curved, then the points map within its UV parameter space as expected. <img width=945 alt=double curved extrusion src=
github-actions[bot] commented 3 years ago

FYI: @DynamoDS/dynamo