public static IEnumerable <Face3d> DrawCuboid(this BBox3D bbox, DxfObject dxfObj, Layer layer = null) { var ents = bbox.ToFace3DList().ToList(); dxfObj.AddEntities(ents, layer); return(ents); }
public static string CadScript(this BBox3D bbox) { var sb = new StringBuilder(); foreach (var x in bbox.ToFace3DList()) { sb.AppendLine(x.CadScript()); } return(sb.ToString()); }