.. _class_feature_shell: feature_shell ============= 壳特征 ------ **图块代码** .. image:: img/feature_shell.png ---- **javascript** .. code-block:: javascript jih_doc.feature_shell(op, value, face_index, inwards, color) ---- **python** .. code-block:: python jih_doc.feature_shell(op, value, face_index, inwards, color) ---- **npl** .. code-block:: lua jih_doc:feature_shell(op, value, face_index, inwards, color) ---- 参数 ---- +--------------+----------+-------------+--------+ | 参数 | 类型 | 默认值 | 说明 | +==============+==========+=============+========+ | op | string | "union" | | +--------------+----------+-------------+--------+ | value | number | 0.1 | | +--------------+----------+-------------+--------+ | face_index | number | 0 | | +--------------+----------+-------------+--------+ | inwards | string | "true" | | +--------------+----------+-------------+--------+ | color | string | "#ffc658" | | +--------------+----------+-------------+--------+ 示例 ---- .. tabs:: .. tab:: javascript .. code-block:: javascript jih_doc.feature_shell("union", 0.1, 0, true, "#ffc658") .. tab:: python .. code-block:: python jih_doc.feature_shell("union", 0.1, 0, true, "#ffc658") .. tab:: npl .. code-block:: lua jih_doc:feature_shell("union", 0.1, 0, true, "#ffc658")