Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
        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;
        }