BHoM / Robot_Toolkit

Tools for Robot Structural Analysis
GNU Lesser General Public License v3.0
11 stars 3 forks source link

Improve performance in converting Robot Contours #495

Closed IsakNaslundBh closed 2 years ago

IsakNaslundBh commented 2 years ago

Description:

The current pulling of Panels have a bottleneck when converting the contour geometry. A speed up here should be possible by ensuring extraction of the geometry from Robot is done only once for each item.

The current solution extracts each segment twice, to get the end point of current segment being extracted from the next segment.

This means, each segment is extracted twice, and each point extracted and converted twice.

Given the slugishness of these calls, should aim to only make each call once.