Generative Components

3. Subtractive Component 减法组件

Placeholder for an overview of designs generated by the Subtractive Component
IMG-SUBTRACTIVE-DESIGNS-01 — Representative building-massing alternatives generated by the Subtractive Component. / 减法组件生成的代表性建筑体量方案。

The Subtractive Component generates building massing by removing vertical and horizontal volumes from an initial building envelope. Instead of modelling a single fixed form, you define a controlled design space through the envelope, subtractor ranges, boundary rules, and optional constraints. EvoMass can then generate individual alternatives or expose the same parameters to SSIEA for sampling and optimization.

减法组件通过从初始建筑体量中移除垂直或水平削减体来生成建筑形态。用户并非直接建立一个固定方案,而是通过初始体量、削减体范围、边界规则及可选约束定义一个可控的设计空间。EvoMass既可据此生成单个方案,也可将这些参数提供给SSIEA进行采样与优化。

3.1 Basic configuration 基本配置

Placeholder for the Basic panel of the Subtractive Component editor
IMG-SUBTRACTIVE-BASIC-01 — Complete Subtractive Component editor with the Basic panel active. / 打开“Basic”面板的完整减法组件编辑器。

Begin by defining the basic building parameters: use the column-grid system to establish the plan dimensions, then set the floor range and floor height to describe the intended building type. Next, configure the vertical and horizontal subtractors and, when required, the target area. Optional advanced controls such as void-placement rules, fixed voids, and influence points should be introduced only when the generated alternatives need to satisfy more specific geometric intentions. Each additional constraint narrows the available design space.

首先定义建筑的基本参数:利用柱网系统确定平面长宽,再通过楼层范围和层高描述目标建筑类型。随后配置垂直与水平削减体,并根据需要设置目标面积。只有当生成方案需要满足更明确的几何意图时,才进一步加入负空间位置规则、固定负空间和影响点等高级控制。每增加一项约束,都会进一步缩小可用的设计空间。

3.1.1 Initial volume 初始体量

Under Building grid, the initial volume is defined horizontally by Number of grid bays and Column spacing in the X and Y directions, and vertically by Floors - min / max and Floor height. Use these settings to establish the approximate building type before introducing voids. For finer geometric variation, increase the number of grid bays and reduce the corresponding spacing while keeping the overall dimensions similar.

在“Building grid(建筑网格)”中,初始体量在水平方向上由X、Y方向的“Number of grid bays(网格跨数)”和“Column spacing(柱距)”控制,在垂直方向上由“Floors - min / max(最小/最大楼层数)”和“Floor height(层高)”控制。建议先利用这些设置确定大致的建筑类型,再加入负空间。若希望获得更细致的形态变化,可在保持总体尺寸相近的情况下增加柱网数量并相应减小柱间距。

Compact initial volume
Compact grid / 紧凑柱网
Elongated initial volume
More bays in one direction / 单方向增加柱网
Larger initial footprint
More bays in both directions / 双方向增加柱网
Low-rise initial volume
Low-rise envelope / 低层初始体量
Mid-rise initial volume
Mid-rise envelope / 中高层初始体量
High-rise initial volume
High-rise envelope / 高层初始体量

3.1.2 Set Plane 设置平面

By default, the generated massing uses the component's original construction plane. Use Set Plane when the building must be moved to another location or aligned with a different site direction. In Rhino, first select the new origin, then define the X-axis and Y-axis directions. After the plane is confirmed, the generated building is relocated and oriented on that plane. Selecting the same command again clears the custom plane and returns the component to its default placement.

默认情况下,生成体量使用组件原有的构造平面。当建筑需要移动到其他位置,或按照不同的场地方向布置时,可使用“Set Plane(设置平面)”。在Rhino中先选择新的原点,再依次定义X轴和Y轴方向;确认平面后,生成建筑将移动并旋转至该平面。再次使用同一命令可清除自定义平面,并恢复组件的默认放置位置。

Building at the default origin before setting a custom plane
1. Building at the default origin / 建筑位于默认原点
Selecting a new origin and the X and Y directions
2. Select the new origin, X-axis, and Y-axis / 选择新原点、X轴和Y轴
Building relocated and aligned with the custom plane
3. Building placed on the custom plane / 建筑移动至自定义平面
Animation showing how to assign and clear a custom plane for a Subtractive massing
GIF-SUBTRACTIVE-SET-PLANE-01 — Click Set Plane, select the new origin and X- and Y-axis directions in Rhino, show the Subtractive massing relocating to the custom plane, and then clear the assigned plane. / 单击“Set Plane”,在Rhino中依次选择新原点、X轴与Y轴方向,展示减法体量移动至自定义平面,并演示如何清除已设置的平面。

3.1.3 Subtractive units 减法单元

The Subtractive units panel controls vertical and horizontal subtractors. Vertical subtractors are generally tall volumes that form courtyards and atriums; horizontal subtractors are generally wide, shallow volumes that form stilts, sky gardens, terraces, or stepped roofs. Vertical subtractor count and Horizontal subtractor count define the maximum number of voids, while Vertical size range and Horizontal size range define their dimensional ranges. Set either count to 0 when that subtractor type should not appear. The combined count must remain within the limits reported by the editor.

“Subtractive units(减法单元)”面板用于控制垂直和水平削减体。垂直削减体通常为细长体量,用于形成庭院和中庭;水平削减体通常较宽且较扁平,用于形成架空层、空中花园、露台或阶梯式屋顶。“Vertical subtractor count”和“Horizontal subtractor count”定义可能出现的最大负空间数量,“Vertical size range”和“Horizontal size range”定义相应的尺寸范围。如不希望出现某一类负空间,可将其数量设为0。两类削减体的总数需保持在编辑器提示的有效范围内。

Massing with a small number of subtractors
Lower subtractor count / 较少削减体
Massing with a moderate number of subtractors
Moderate subtractor count / 中等削减体数量
Massing with more subtractors
Higher subtractor count / 较多削减体
Massing using vertical and horizontal subtractors
Both subtractor types / 同时使用两类削减体
Massing using horizontal subtractors
Horizontal subtractors only / 仅水平削减体
Massing using vertical subtractors
Vertical subtractors only / 仅垂直削减体
Massing with smaller subtractors
Smaller size range / 较小尺寸范围
Massing with medium subtractors
Medium size range / 中等尺寸范围
Massing with larger subtractors
Larger size range / 较大尺寸范围

3.1.4 Boundary constraint 边界约束

Boundary constraint governs the horizontal position of vertical voids. Keep Vertical Voids Inside preserves the outer footprint; Keep Vertical Voids on Boundary allows voids to open toward the perimeter and can form L-shaped, U-shaped, or stepped footprints; No Constraint permits more independent massing parts. Select the least restrictive rule that still satisfies the project requirements. Enable No cantilevers or stilts when horizontal subtractors should not create unsupported overhangs or elevated building portions.

“Boundary constraint(边界约束)”用于控制垂直负空间的水平位置。“Keep Vertical Voids Inside”会保留外围轮廓;“Keep Vertical Voids on Boundary”允许负空间延伸至边界,可形成L形、U形或阶梯式平面;“No Constraint”可生成相对独立的多个体量。建议在满足项目条件的前提下选择限制最少的模式。如不希望水平削减体形成悬挑或架空建筑部分,可启用“No cantilevers or stilts(无悬挑或架空)”。

Vertical voids retained inside the envelope
Voids kept inside / 负空间保持在内部
Vertical voids placed on the envelope boundary
Voids placed on boundary / 负空间位于边界
Vertical voids without a boundary constraint
No boundary constraint / 无边界约束

3.1.5 Target-area method and cores 目标面积调整与核心筒

Generate cores inserts structural or circulation cores according to the footprint size. Core distance controls their relationship with the external façade and nearby voids. Use this option when the generated forms need a more realistic circulation or structural reference.

“Generate cores(生成核心筒)”会根据建筑平面尺寸自动加入结构或交通核心筒,“Core distance(核心筒距离)”用于控制核心筒与外立面及邻近负空间之间的关系。当生成方案需要更接近实际的交通或结构组织时,可启用该选项。

Massing without generated cores
Without generated cores / 未生成核心筒
Massing with generated cores at a shorter distance
Shorter core distance / 较小核心筒间距
Massing with generated cores at a larger distance
Larger core distance / 较大核心筒间距

Target-area method offers three choices: No Target Gross Area, Change Area by Scaling Subtractors, and Change Area by Scaling Initial Mass. The latter two guide the design toward the value entered under Target area. This is a soft generation target rather than a guarantee. A large difference between the initial envelope and the target may increase generation time or reduce the reliability of the result. The adjacent options—Allow grid changes, Allow floor changes, and Fine adjustment—control which dimensions may change during area adjustment.

“Target-area method(目标面积调整方式)”包含三种选择:“No Target Gross Area(不设置目标总建筑面积)”“Change Area by Scaling Subtractors(通过缩放削减体调整面积)”和“Change Area by Scaling Initial Mass(通过缩放初始体量调整面积)”。后两种方式会引导方案接近“Target area(目标面积)”。该数值属于生成目标而非严格保证;当初始体量与目标面积差异较大时,生成时间可能增加,结果也可能不够稳定。相邻的“Allow grid changes”“Allow floor changes”和“Fine adjustment”用于控制面积调整过程中允许改变的维度。

Generated massing for a lower target gross area
Lower target area / 较小目标面积
Generated massing for a medium target gross area
Medium target area / 中等目标面积
Generated massing for a higher target gross area
Higher target area / 较大目标面积

3.1.6 Facade configuration 立面配置

Outer facade and Inner facade can use different opening types. Simple glazed wall (Fast) and Strip opening (Fast) generate lightweight geometry for rapid studies; Glazed wall (Slow) and Window opening (Slow) provide more explicit façade geometry but require more computation. Opening divisions controls the subdivision of detailed openings. Select the simplest geometry accepted by the downstream analysis tool.

“Outer facade(外向立面)”和“Inner facade(内向立面)”可分别设置开窗类型。“Simple glazed wall (Fast)”和“Strip opening (Fast)”生成较轻量的几何,适合快速研究;“Glazed wall (Slow)”和“Window opening (Slow)”提供更细致的立面几何,但需要更多计算。“Opening divisions(开口划分)”用于控制详细开口的划分数量。建议选择下游性能分析工具能够接受的最简几何类型。

Simple glazed façade output
Simple glazed wall (Fast) / 简易玻璃幕墙(快速)
Strip-opening façade output
Strip opening (Fast) / 带状开窗(快速)
Mixed simple façade output
Different inward and outward types / 内外立面采用不同类型
Detailed glazed façade output
Glazed wall (Slow) / 玻璃幕墙(慢速)
Detailed window opening output with fewer divisions
Window openings with fewer divisions / 较少开口划分
Detailed window opening output with more divisions
Window openings with more divisions / 较多开口划分

3.2 Advanced shape control 高级形态控制

Placeholder for the Advanced panel of the Subtractive Component editor
IMG-SUBTRACTIVE-ADVANCED-01 — Complete Subtractive Component editor with the Advanced panel active. / 打开“Advanced”面板的完整减法组件编辑器。

The Advanced tab narrows or redirects the design space. These controls are optional; leave them at their defaults until the building grid and Subtractive units settings produce a useful range of forms.

“Advanced”选项卡用于进一步限定或引导设计空间。这些控制均为可选项;在基本体量和削减体设置尚未形成有效方案范围之前,建议先保留默认值。

3.2.1 Influence point and separation 影响点与分离控制

Influence point attracts or repels subtractors through the Horizontal factor and Vertical factor. Pick the point from Rhino. Positive values attract subtractors, negative values repel them, and 0 disables the influence in that direction. Separation keeps nearby subtractors apart horizontally, vertically, or in both directions, reducing the likelihood that several voids merge into one large opening.

影响点可在水平和垂直方向吸引或排斥削减体。请在Rhino中拾取该点;正值表示吸引,负值表示排斥,0表示该方向不产生影响。分离控制可使相邻削减体在水平、垂直或两个方向上保持距离,从而降低多个负空间合并为一个大开口的可能性。

Subtractors attracted toward an influence point
Attraction / 吸引
Massing with a neutral influence point
Neutral influence / 无影响
Subtractors repelled from an influence point
Repulsion / 排斥
Massing without subtractor separation
No separation / 无分离控制
Alternative massing without subtractor separation
Voids may merge / 负空间可能合并
Massing with horizontal subtractor separation
Horizontal separation / 水平分离
Massing with horizontal and vertical separation
Horizontal and vertical separation / 水平与垂直分离

3.2.2 Custom boundary 自定义边界

Use Set Custom Boundary to pick a closed polyline from Rhino. Two modes are available:

  • Boundary Packing treats the outline as a placement constraint. Grid-based mass units are repositioned to fit within the selected boundary while retaining the original orthogonal generation logic.
  • Boundary Adaptation maps the rectangular working footprint onto the selected outline so that the generated footprint follows its shape. This mode requires a closed quadrilateral whose area remains within the validation tolerance of the original footprint.

使用“Set Custom Boundary”可在Rhino中拾取一条闭合多段线。该功能包含两种模式:

  • Boundary Packing(边界内排布)将轮廓作为排布约束,在保留原有正交生成逻辑的同时,重新布置基于柱网的体量单元,使其位于自定义边界内。
  • Boundary Adaptation(边界适配)将矩形工作平面映射至所选轮廓,使最终建筑平面跟随该边界。该模式要求输入闭合四边形,且其面积与原始平面的差异需处于组件允许的范围内。

Boundary Packing 边界内排布

Boundary packing example one
Packed within an irregular boundary / 在不规则边界内排布
Boundary packing example two
Boundary-facing voids / 面向边界的负空间
Boundary packing example three
Alternative packed result / 另一种排布结果

Boundary Adaptation 边界适配

3.2.3 Fixed voids and external volume 固定负空间与外部体量

Use Set External Volume under External volume to combine a fixed Brep with the generated massing. This is useful when one part of a project must remain unchanged, such as a fixed tower beside a variable podium. Under Fixed voids, select Enable fixed voids, then define each grid-aligned rectangle through Starting point X, Starting point Y, Void size X, and Void size Y. These persistent voids can establish L-, U-, or O-shaped footprints.

在“External volume(外部体量)”中使用“Set External Volume(设置外部体量)”,可将固定Brep与生成体量组合,适合塔楼保持不变、裙房参与变化等情形。在“Fixed voids(固定负空间)”中勾选“Enable fixed voids”,再通过“Starting point X”“Starting point Y”“Void size X”和“Void size Y”定义与柱网对齐的矩形区域。这些持续保留的负空间可用于建立L形、U形或O形平面。

Generated massing with a fixed external tower
Fixed external tower / 固定外部塔楼
Generated massing combined with a fixed external volume
Combined external volume / 组合外部体量
Alternative massing with the same fixed external volume
Variable massing beside fixed geometry / 固定几何旁的可变体量
Initial massing without a fixed void
No fixed void / 无固定负空间
Massing with a courtyard fixed void
Courtyard fixed void / 庭院型固定负空间
Massing with an elongated fixed void
Elongated fixed void / 狭长固定负空间

3.2.4 Massing checks and vertical void placement 体量检查与垂直负空间位置

Remove small masses removes fragments that are too small to be useful. It is most relevant when vertical voids may reach the boundary or when no boundary constraint is applied. Under Vertical void placement, enable Ground-floor void, Intermediate-floor void, and/or Roof terrace to define the permitted height regions. Ground-floor upper limit and Roof-floor lower limit define where those regions end or begin.

“Remove small masses(移除小体量)”会移除尺寸过小且缺乏使用价值的碎片体量,尤其适用于垂直负空间可到达边界或未设置边界约束的情况。在“Vertical void placement(垂直负空间位置)”中,可启用“Ground-floor void”“Intermediate-floor void”和“Roof terrace”,以指定允许生成负空间的高度区域。“Ground-floor upper limit”和“Roof-floor lower limit”用于定义这些区域的上限或下限。

Massing containing a small detached fragment
Before cleanup / 清理前
Massing after the small fragment is removed
After removing small mass / 清理后
Massing with a ground-floor void
Ground-floor void / 首层负空间
Massing with an intermediate-floor void
Intermediate-floor void / 中间层负空间
Massing with a roof terrace
Roof terrace / 屋顶露台

3.3 Transform 形态变换

Placeholder for the Transform panel of the Subtractive Component editor
IMG-SUBTRACTIVE-TRANSFORM-01 — Complete Subtractive Component editor with the Transform panel active. / 打开“Transform”面板的完整减法组件编辑器。

3.3.1 Orientation settings 朝向设置

Orientation settings rotate the generated massing around its centre. Start (negative value) and End (positive value) are index values; the actual Rotation Range is calculated by multiplying them by Step Size (Degrees). For example, Start = -20, End = 15, and Step Size = 2 produce a range from -40° to 30°. Keep the resulting range within -90° to 90°. When a custom boundary is active, rotation changes the massing orientation while the site outline remains fixed.

“Orientation settings(朝向设置)”会围绕体量中心旋转生成方案。“Start (negative value)”和“End (positive value)”为索引值,实际“Rotation Range(旋转范围)”需分别乘以“Step Size (Degrees)”。例如Start = -20、End = 15、Step Size = 2时,旋转范围为-40°至30°。最终范围应保持在-90°至90°之间。启用自定义边界后,建筑体量可改变朝向,而场地轮廓保持不变。

Generated massing at one orientation
Orientation alternative 1 / 朝向方案1
Generated massing at a second orientation
Orientation alternative 2 / 朝向方案2
Generated massing at a third orientation
Orientation alternative 3 / 朝向方案3
Rotated massing within a custom boundary
Custom-boundary orientation 1 / 自定义边界内朝向1
Alternative rotated massing within a custom boundary
Custom-boundary orientation 2 / 自定义边界内朝向2
Third rotated massing within a custom boundary
Custom-boundary orientation 3 / 自定义边界内朝向3

3.3.2 Shear settings 切变设置

Shear settings apply fixed Shear Angle (X) and Shear Angle (Y) transformations. Unlike the orientation range, these values remain fixed during optimization. Use Reset Values to return both angles to 0°.

“Shear settings(切变设置)”通过“Shear Angle (X)”和“Shear Angle (Y)”在两个方向应用固定的几何变换。与朝向范围不同,切变值在优化过程中保持不变。单击“Reset Values(重置数值)”可将两个角度恢复为0°。

Massing sheared in one direction
Shear alternative 1 / 切变方案1
Massing without shear
Reference geometry / 基准几何
Massing sheared in another direction
Shear alternative 2 / 切变方案2

3.4 Generation and reuse 生成与复用

3.4.1 Scale factor and boundary display 缩放因子与边界显示

Scale factor uniformly scales the output geometry when downstream tools use a different unit convention. Show boundary displays the maximum design envelope or custom boundary, helping you verify its position and check potential conflicts with surrounding context. Scaling changes the output size, not the underlying parameter logic.

“Scale factor(缩放因子)”用于在下游工具采用不同单位体系时统一缩放输出几何。“Show boundary(显示边界)”用于显示最大设计范围或自定义边界,便于检查其位置及其与周边环境的潜在冲突。缩放只改变输出尺寸,不改变内部参数逻辑。

Small scaling-factor output
Small output scale / 较小输出比例
Medium scaling-factor output
Medium output scale / 中等输出比例
Large scaling-factor output
Large output scale / 较大输出比例
Displayed rectangular design boundary
Rectangular boundary display / 矩形边界显示
Displayed boundary around a taller massing
Boundary around a taller envelope / 高层体量边界
Displayed custom design boundary
Custom boundary display / 自定义边界显示

3.4.2 Randomization and reuse 随机变化与复用

Randomization Range controls how far Randomize may move the design variables from the current reference design. Use a large percentage for broad exploration and a smaller percentage to search locally around a promising or optimized solution. When the range is below 100%, EvoMass restores the reference parameters before applying each variation. Click Update when the current randomized design should become the new reference.

“Randomization Range(随机化范围)”用于控制“Randomize(随机生成)”相对于当前参考方案改变设计变量的幅度。较大的百分比适合广泛探索,较小的百分比适合围绕较优方案或优化结果进行局部搜索。当该值小于100%时,EvoMass会在每次变化前恢复参考参数。如需将当前随机方案设为新的参考方案,请单击“Update(更新)”。

Broad randomization result one
Broad variation 1 / 大范围变化1
Broad randomization result two
Broad variation 2 / 大范围变化2
Broad randomization result three
Broad variation 3 / 大范围变化3
Local randomization result one
Local variation 1 / 局部变化1
Local randomization result two
Local variation 2 / 局部变化2
Local randomization result three
Local variation 3 / 局部变化3
Animation showing broad and local randomization of a Subtractive massing
GIF-SUBTRACTIVE-RANDOMIZATION-01 — Compare broad and local Randomization Range settings, generate several alternatives, use Update to establish a new reference design, and randomize again around that reference. / 对比大范围与局部“Randomization Range”设置,生成多个备选方案,使用“Update”建立新的参考设计,并围绕该参考设计再次随机变化。

3.4.3 Sampling and setup utilities 采样与设置复用

Generate Samples in Rhino creates a grid of alternatives using the specified Row and Col counts; click Generate samples after entering the desired arrangement. Set Plane defines the origin and orientation used for generated geometry, and the same button clears the custom plane after one has been assigned. Randomize inputs creates another valid combination of editor settings and is useful when you are unsure where to begin; it is different from Randomize, which generates design alternatives from the applied settings. After reviewing any changed settings, click Apply parameters.

“Generate Samples in Rhino(在Rhino中生成样本)”会按照指定的“Row(行)”和“Col(列)”数量排列一组备选方案;输入所需布局后,单击“Generate samples(生成样本)”。“Set Plane(设置平面)”用于定义生成几何的原点和方向,设置后可通过同一按钮清除自定义平面。“Randomize inputs(随机化输入)”会生成另一组有效的编辑器设置,适合在不确定如何开始时使用;它不同于“Randomize”,后者基于已经应用的设置生成设计备选方案。检查更改后的设置后,请单击“Apply parameters(应用参数)”。

The Save Setup and Load Setup commands store the component configuration in an external file so it can be restored, shared, or reused in another Grasshopper definition. Load setup files only into the same generator type.

“Save Setup”和“Load Setup”可将组件配置保存为外部文件,以便恢复、共享或在其他Grasshopper定义中复用。设置文件应仅载入同一类型的生成组件。

Animation showing how to save and restore a Subtractive Component setup
GIF-SUBTRACTIVE-SETUP-REUSE-01 — Save the current Subtractive Component setup, change several editor settings, and load the saved file to restore the original configuration. / 保存当前减法组件设置,修改若干编辑器参数,再载入已保存的文件以恢复原配置。
Enlarged manual illustration