public void FindIntersections() { femap.Set feset = this.feMo.feSet; feset.AddAll(femap.zDataType.FT_SOLID); this.feMo.feSolidIntersect(feset.ID, true); feset.clear(); //?? why Sequential functions doesn't work?..............F**K feset.AddAll(femap.zDataType.FT_CURVE); this.feMo.feMeshSizeCurve(feset.ID, 0, 2.0, 1, 12, 2, 0, 0, 1, 2, false); feset.clear(); feset = null; }
public void SetMeshSize(double size) { femap.Set curveset = this.feMo.feSet; curveset.AddAll(femap.zDataType.FT_CURVE); this.feMo.feMeshSizeCurve(curveset.ID, 0, size, 1, 12, 2, 0, 0, 1, 2, false); //curveset.clear(); curveset = null; }
public void Meshing() { femap.Set srfset = this.feMo.feSet; srfset.AddAll(femap.zDataType.FT_SURFACE); femap.Prop prop = this.feMo.feProp; this.feMo.feMeshSurface2(srfset.ID, prop.ID, femap.zTopologyType.FTO_QUAD4, true, false); //srfset.clear(); srfset = null; }