vue2-tunnel-lining
Version:
A Vue2 component for tunnel lining design with MxCAD integration
120 lines (108 loc) • 3.67 kB
text/typescript
// LinData.ts
import { McGePoint3d } from "mxcad";
// 定义水沟类
export class CG1g1c {
// 水沟属性
b侧壁厚: number = 0;
b侧壁盖板搭接宽: number = 0;
b沟槽间壁厚2: number = 0;
b电缆槽搭接宽: number = 0;
b_水沟盖板宽: number = 0;
b_通信电缆盖板宽: number = 0;
B_水沟宽: number = 0;
B_通信电缆槽宽: number = 0;
H_通信电缆深: number = 0;
H_盖板厚: number = 0;
}
export class LinData {
// --- 半径 ---
static RadiusFirst1: number = 0;
static RadiusFirst2: number = 0;
static RadiusFirst3: number = 0;
static RadiusSecond1: number = 0;
static RadiusSecond2: number = 0;
static RadiusSecond3: number = 0;
static RadiusThird1: number = 0;
static RadiusThird2: number = 0;
static RadiusThird3: number = 0;
static RadiusFourth1: number = 0;
static RadiusFourth2: number = 0;
static RadiusFourth3: number = 0;
// --- 断面尺寸 ---
static H_ngToO1: number = 0;
static H_ngToO2: number = 0;
static H_ngToO3: number = 0;
static B_zxToO3: number = 0;
static H_zkToZb: number = 0;
static H_ngToBqpt: number = 0;
static H_ngToLjm: number = 0;
static H_sgdToGb: number = 0;
static H_ngToSgf: number = 0;
static H_ngTor3: number = 0;
static H_ngToGb: number = 0;
static a: number = 0;
static b: number = 0;
static d: number = 0;
static b1_z: number = 0;
static b1_y: number = 0;
// --- 支护参数 ---
static railStyle: string = '';
static d1: number = 0;
static t1: string = '';
static ylbx_Gq: number = 0;
static ylbx_Yg: number = 0;
static m1: number = 0;
static d2: number = 0;
static m2: number = 0;
//2025.7.10 拱墙要分4个区域
//左拱部
static Dh_leftArch: number = 0;//锚杆环向间距
static Dz_leftArch: number = 0;//锚杆纵向间距
static Lm_leftArch: number = 0;//锚杆长度
//右拱部
static Dh_rightArch: number = 0;//锚杆环向间距
static Dz_rightArch: number = 0;//锚杆纵向间距
static Lm_rightArch: number = 0;//锚杆长度
//右侧边墙
static Dh_rightWall: number = 0;//锚杆环向间距
static Dz_rightWall: number = 0;//锚杆纵向间距
static Lm_rightWall: number = 0;//锚杆长度
//左侧边墙
static Dh_leftWall: number = 0;//锚杆环向间距
static Dz_leftWall: number = 0;//锚杆纵向间距
static Lm_leftWall: number = 0;//锚杆长度
//仰拱
static Dh_invert: number = 0;//锚杆环向间距
static Dz_invert: number = 0;//锚杆纵向间距
static Lm_invert: number = 0;//锚杆长度
//原三个变量先注释掉
// static Dz: number = 0;//锚杆纵向间距
// static Lb: number = 0;//边墙锚杆长度
// static Lg: number = 0;//拱部锚杆长度
static Bw: number = 0;
static Fwi: number = 0;
// --- 圆心 ---
static O1: McGePoint3d
static O2_z: McGePoint3d
static O2_y: McGePoint3d
static O3: McGePoint3d
// --- 角度 ---
static Angle1: number = 0;
static AngleGb: number = 0;
static Radian1: number = 0;
static Radian_O2_inUp: number = 0;
static Radian_O2_inDown: number = 0;
static Radian2: number = 0;
static Radian3: number = 0;
static Radian4: number = 0;
static Radian_O3_out: number = 0;
static Radian_O2_outDown: number = 0;
static dblHeight1: number = 0;
static dblHeight2: number = 0;
static RailCenterOffset: number = 0;
static ptInvertFilling1: McGePoint3d
static ptInvertFilling2: McGePoint3d
// --- 水沟对象 ---
static Z1c1g: CG1g1c = new CG1g1c();
static Y1c1g: CG1g1c = new CG1g1c();
}