Monday, September 21, 2015

Blob Body Type

As you may already know new mesh body type was introduced in a new version of LSS Arch extension for SketchUp. It is possible to think of blob body type as of conventional mesh but in spherical coordinate system.

As is evident from the presentation above adaptation of mesh logic from Cartesian  to spherical coordinate system was more or less obvious for three of algorithms implemented earlier ("IDW", "average", "minimize").
Adaptation of the rest two algorithms was a bit more tricky for the following reason. Both "trend" and "predict" algorithms use fit_plane_to_points method provided by SketchUp API. This method allows to estimate a trend plane from a given set of scattered points. The point is that trend plane does not make sense for spherical data set.