models
ContourAlgorithm
Bases: IntEnum
轮廓线建模算法类型
Source code in dimine_python_sdk\lib\exploitation\models.py
121 122 123 124 125 126 127 | |
ExtrapolateDirection
Bases: IntEnum
轮廓线外推方向
Source code in dimine_python_sdk\lib\exploitation\models.py
138 139 140 141 142 143 | |
ExtrapolateMode
Bases: IntEnum
轮廓线外推建模模式
Source code in dimine_python_sdk\lib\exploitation\models.py
130 131 132 133 134 135 | |
LanewayParam
Bases: ParamModel
巷道/竖井建模参数:断面 + 中心线 + 生成选项
示例
LanewayParam( ... section=SectionParam(type=0, width=2.0, wall_height=1.0), ... polylines_set=[ ... [["1", "2", "0"], ["2", "4", "0"], ["3", "6", "0"]], ... [["2", "1", "3"], ["4", "2", "3"], ["6", "3", "3"]], ... ], ... close=False, ... connectivity=False, ... method=0, ... bottom_contour=False, ... )
竖井建模示例
LanewayParam( ... section=SectionParam(type=0, width=2.0, wall_height=1.0), ... polylines_set=[[["0", "0", "0"], ["0", "0", "10"]]], ... shaft=True, ... angle=45.0, ... )
Source code in dimine_python_sdk\lib\exploitation\models.py
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | |
ParamModel
Bases: BaseModel
参数模型基类,提供 model_dump 的 to_dict 别名以兼容旧代码
Source code in dimine_python_sdk\lib\exploitation\models.py
8 9 10 11 12 13 14 | |
SectionParam
Bases: ParamModel
巷道断面参数
示例
SectionParam( ... type=0, ... width=2.0, ... width_up=2.0, ... wall_height=1.0, ... wide_arch_ratio=3, ... offset_x=0, ... offset_y=0, ... point_count=20, ... )
Source code in dimine_python_sdk\lib\exploitation\models.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | |