On this page
article
3.12 Util(工具)
Created on 2024-10-17T17:02:53+08:00 @author: Richie Bao
Util(工具)
| 组件 | 说明 | 示例 | 示例代码下载 |
|---|---|---|---|
Counter |
动态计数 |
|
⇩moths_util_Counter.gh下载 |
Relative_Coordinates |
给定参考点,计算相对坐标 |
|
⇩moths_util_Relative_Coordinates.gh下载 |
Rotation-3Planes |
对应给定点XY, XZ, YZ 三个参考平面旋转对象 |
|
⇩moths_util_Rotation3Planes.gh下载 |
Sub_Curve_based_on_Evaluate_Length |
提取部分曲线 |
|
⇩moths_util_Sub_Curve_based_on_Evaluate_Length.gh下载 |
Text2Mesh |
将GH文字转换为Mesh面 |
|
⇩moths_util_Text2Mesh.gh下载 |
安息角 |
计算地形安息角,判断是否满足要求 |
|
⇩moths_util_TAngleOfRepose.gh下载 |
裁切Mesh并提取 |
给定闭合曲线拉伸裁切Mesh并给定提取点提取裁切后的面(提取点不在曲面上) |
|
⇩moths_util_clipMeshNextraction.gh下载 |
Offset_Brep |
偏移复制Brep对象 |
|
⇩moths_util_Offset_Brep.gh下载 |
Shortest Path |
Dijkstra’s algorithm 最短路径 |
|
⇩moths_util_shortest_path.gh下载 |
ListPy2ListGH |
将 Python List 对象转换为 GH List | ||
PandasMesa_Issue |
RH 8 SR10 版本的 GH 安装 Python 库 Pandas 存在库冲突,调入 Pandas 时,提示 partially initialized module ‘pandas’ has no attribute ‘_pandas_datetime_CAPI’等错误信息。可尝试运行该组件解决。运行前一半执行 RH -> Tools -> Script -> Edit -> Tools -> Advanced -> Reset Python 3 (CPython) Runtime |
Counter
Relative_Coordinates
Rotation-3Planes
Sub_Curve_based_on_Evaluate_Length
Text2Mesh
安息角
裁切Mesh并提取
Offset_Brep
Shortest Path
ListPy2ListGH
PandasMesa_Issue