3DFace in CADImport
Posted: 19 Sep 2012, 08:50
Hi,
I have read the post, 3D drawing in CADImport, but there are two questions about the code:
CAD3dFace ent3DFace = new CAD3dFace();
ent3DFace.Color = Color.Red;
ent3DFace.Point = new DPoint(100,100,100);
ent3DFace.Point1 = new DPoint(50,100,10);
ent3DFace.Point2 = new DPoint(100,50,50);
ent3DFace.Point3 = new DPoint(50,50,50);
ent3DFace.Flags = ent3DFace.Flags | 10;// line 1-2, 3-0 invisible
1.How can the point,point1,point2,point3 linked with each other orderly to make it looks like a square but not a cross?
2.What is the code means ? "ent3DFace.Flags = ent3DFace.Flags | 10;// line 1-2, 3-0 invisible". Is this code to make the lines orderly? If it makes lines orderly, how does it work?
thanks.
I have read the post, 3D drawing in CADImport, but there are two questions about the code:
CAD3dFace ent3DFace = new CAD3dFace();
ent3DFace.Color = Color.Red;
ent3DFace.Point = new DPoint(100,100,100);
ent3DFace.Point1 = new DPoint(50,100,10);
ent3DFace.Point2 = new DPoint(100,50,50);
ent3DFace.Point3 = new DPoint(50,50,50);
ent3DFace.Flags = ent3DFace.Flags | 10;// line 1-2, 3-0 invisible
1.How can the point,point1,point2,point3 linked with each other orderly to make it looks like a square but not a cross?
2.What is the code means ? "ent3DFace.Flags = ent3DFace.Flags | 10;// line 1-2, 3-0 invisible". Is this code to make the lines orderly? If it makes lines orderly, how does it work?
thanks.