.. _class_feature_sweep: feature_sweep ============= 扫描特征 -------- **图块代码** .. image:: img/feature_sweep.png ---- **javascript** .. code-block:: javascript jih_doc.feature_sweep(op, pathSketch, profileSketch, color, bSolid) ---- **python** .. code-block:: python jih_doc.feature_sweep(op, pathSketch, profileSketch, color, bSolid) ---- **npl** .. code-block:: lua jih_doc:feature_sweep(op, pathSketch, profileSketch, color, bSolid) ---- 参数 ---- +-----------------+----------+-------------+--------+ | 参数 | 类型 | 默认值 | 说明 | +=================+==========+=============+========+ | op | string | "union" | | +-----------------+----------+-------------+--------+ | pathSketch | string | "sketch1" | | +-----------------+----------+-------------+--------+ | profileSketch | string | "sketch2" | | +-----------------+----------+-------------+--------+ | color | string | "#ffc658" | | +-----------------+----------+-------------+--------+ | bSolid | string | "true" | | +-----------------+----------+-------------+--------+ 示例 ---- .. tabs:: .. tab:: javascript .. code-block:: javascript jih_doc.feature_sweep("union", 'sketch1', 'sketch2', "#ffc658", true) .. tab:: python .. code-block:: python jih_doc.feature_sweep("union", 'sketch1', 'sketch2', "#ffc658", true) .. tab:: npl .. code-block:: lua jih_doc:feature_sweep("union", 'sketch1', 'sketch2', "#ffc658", true)