.. _class_feature_extrude_by_face: feature_extrude_by_face ======================= 拉伸面 ------ **图块代码** .. image:: img/feature_extrude_by_face.png ---- **javascript** .. code-block:: javascript jih_doc.feature_extrude_by_face(op, value, face_index, axis_dir, color, bSolid, bAutoCheckDir) ---- **python** .. code-block:: python jih_doc.feature_extrude_by_face(op, value, face_index, axis_dir, color, bSolid, bAutoCheckDir) ---- **npl** .. code-block:: lua jih_doc:feature_extrude_by_face(op, value, face_index, axis_dir, color, bSolid, bAutoCheckDir) ---- 参数 ---- +-----------------+----------+-------------+--------+ | 参数 | 类型 | 默认值 | 说明 | +=================+==========+=============+========+ | op | string | "union" | | +-----------------+----------+-------------+--------+ | value | number | 1 | | +-----------------+----------+-------------+--------+ | face_index | number | 0 | | +-----------------+----------+-------------+--------+ | axis_dir | string | "'z'" | | +-----------------+----------+-------------+--------+ | color | string | "#ffc658" | | +-----------------+----------+-------------+--------+ | bSolid | string | "true" | | +-----------------+----------+-------------+--------+ | bAutoCheckDir | string | "true" | | +-----------------+----------+-------------+--------+ 示例 ---- .. tabs:: .. tab:: javascript .. code-block:: javascript jih_doc.feature_extrude_by_face("union", 1, 0, 'z', "#ffc658", true, true) .. tab:: python .. code-block:: python jih_doc.feature_extrude_by_face("union", 1, 0, 'z', "#ffc658", true, true) .. tab:: npl .. code-block:: lua jih_doc:feature_extrude_by_face("union", 1, 0, 'z', "#ffc658", true, true)