3DFace in CADImport
Moderators: SDS, support, admin
3DFace in CADImport
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.
Re: 3DFace in CADImport
Hello.
3DFace entity provided for creating 3D object models. The code that you use will create 3DFace with 4 corners that linked orderly, as you specified. The visual "cross" because corner points 3D oriented. Flags specify invisible edges, so just two lines visible.
Alexander.
3DFace entity provided for creating 3D object models. The code that you use will create 3DFace with 4 corners that linked orderly, as you specified. The visual "cross" because corner points 3D oriented. Flags specify invisible edges, so just two lines visible.
Alexander.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support