mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
0025518: Colors are not written to IGES 5.3
Writing of colors to IGES Face (510) and Solid (186) entities allowed since this is used by CAD systems (even if not allowed by IGES standard). Color assigned to surface, face and solid entities to ensure that different CAD systems will recognize them. Test-case for issue #25518
This commit is contained in:
@@ -200,7 +200,7 @@ IGESData_DirChecker IGESSolid_ToolFace::DirChecker
|
||||
DC.Structure (IGESData_DefVoid);
|
||||
DC.LineFont (IGESData_DefVoid);
|
||||
DC.LineWeight (IGESData_DefVoid);
|
||||
DC.Color (IGESData_DefVoid);
|
||||
DC.Color (IGESData_DefAny);
|
||||
|
||||
DC.SubordinateStatusRequired(1);
|
||||
return DC;
|
||||
|
@@ -183,7 +183,7 @@ IGESData_DirChecker IGESSolid_ToolManifoldSolid::DirChecker
|
||||
DC.Structure (IGESData_DefVoid);
|
||||
DC.LineFont (IGESData_DefVoid);
|
||||
DC.LineWeight (IGESData_DefVoid);
|
||||
DC.Color (IGESData_DefVoid);
|
||||
DC.Color (IGESData_DefAny);
|
||||
|
||||
return DC;
|
||||
}
|
||||
|
Reference in New Issue
Block a user