32
Core IV Pre-term
M ovi n g M a s sing U p to Landfo rm
36. In order to move the massing up to the newly created landform from a flat XY-plane, first get the intersections between the massing and XY-plane, using Brep | Plane component. 37. Explode component will give you the points along this curve, organized under discrete branches related to each massing. 38. Use ProjectPoints component to project the points up to the landform Brep (surface). 39. Calculate the distance between the points on XY-Plane and the projected points using Distance component. 40. Use Sort List component, set the Keys and Value to the output of Distance component. This will sort the list of distances from smallest to largest. The first item (List Item with Index 0) will be the shortest distance. We will use this distance as a factor to move the massing up in Z-direction. 41. Use Move component, connect the original massing to Geometry input, and connect Unit Z factored by output of step 40 to input Motion.