mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-10 18:51:21 +03:00
Generation of header files from resource files was added to CMake and genproj procedures. Message_MsgFile has been extended with new method ::LoadFromString() for loading messages from embedded resources. Message_MsgFile::LoadFromString() is now a preferred way for loading message resources by application as alternative to environment variables. TObje/TObj.msg is now embedded into TObj_Application.cxx. TObj_Application now loads its global messages on instantiation of the first class instance. UnitsAPI/Lexi_Expr.dat now completely embedded into Units_Lexicon.cxx. UnitsAPI/Units.dat now embedded into Units_UnitsDictionary.cxx but can be regenerated from resource file. The definition of the following units have been removed: benne à charbon, calorie (diététique). Unused message files XSMessage/IGES.us and IGES.fr have been removed. Related code IGESData.cxx has been removed as well. XSMessage/XSTEP.us is now embedded into Interface_StaticStandards.cxx and used for fallback initialization in case when file resources defined by CSF_XSMessage environment variable are missing. SHMessage/SHAPE.us is now embedded into ShapeExtend.cxx and used for fallback initialization in case when file resources defined by CSF_XHMessage environment variable are missing. Duplicating code has been removed from ShapeProcess_OperLibrary.cxx. Shaders/Declarations.glsl and Shaders/DeclarationsImpl.glsl are now embedded into OpenGl_ShaderProgram.cxx. CSF_ShadersDirectory is no more required for using OCCT 3D Viewer. Ray-Tracing GLSL programs from Shaders are now embedded into OpenGl_View_Raytrace.cxx. File resources are still used instead of embedded programs when CSF_ShadersDirectory is defined, but this functionality is intended for OCCT development. Enumeration Graphic3d_ShaderProgram::ShaderName_Phong demonstrating custom GLSL program usage has been removed.
271 lines
7.3 KiB
Plaintext
271 lines
7.3 KiB
Plaintext
// This file has been automatically generated from resource file src/SHMessage/SHAPE.us
|
|
|
|
static const char SHMessage_SHAPE_us[] =
|
|
"\n"
|
|
"! Message file for Shape Healing\n"
|
|
"\n"
|
|
"\n"
|
|
"! ------------------------------------------------------------------------------\n"
|
|
"! Messages for shape names\n"
|
|
"!\n"
|
|
".Name.Shape.MSG0\n"
|
|
"!\n"
|
|
".Name.Vertex.MSG0\n"
|
|
"!\n"
|
|
".Name.Edge.MSG0\n"
|
|
"!\n"
|
|
".Name.Wire.MSG0\n"
|
|
"!\n"
|
|
".Name.Face.MSG0\n"
|
|
"!\n"
|
|
".Name.Shell.MSG0\n"
|
|
"!\n"
|
|
".Name.Solid.MSG0\n"
|
|
"!\n"
|
|
".Name.CompSolid.MSG0\n"
|
|
"!\n"
|
|
".Name.Compound.MSG0\n"
|
|
"!\n"
|
|
"! ------------------------------------------------------------------------------\n"
|
|
"! Messages for sequence of operators\n"
|
|
"! \n"
|
|
".SP.Sequence.Info.Seq\n"
|
|
"Info: Shape Processing: Sequence of operators: %s\n"
|
|
"!\n"
|
|
".SP.Sequence.Info.Operator\n"
|
|
"Info: Shape Processing: Operator %d/%d: %s\n"
|
|
"!\n"
|
|
".SP.Sequence.Error.NoOp\n"
|
|
"Error: Shape Processing: Operator %s is not found\n"
|
|
"!\n"
|
|
".SP.Sequence.Error.Except\n"
|
|
"Error: Shape Processing: Operator %s failed with exception %s\n"
|
|
"!\n"
|
|
".SP.Sequence.Warn.NoSeq\n"
|
|
"Warning: Shape Processing: Sequence not defined for %s, nothing to do\n"
|
|
"!\n"
|
|
"! ------------------------------------------------------------------------------\n"
|
|
"! Messages for printing results of shape processing\n"
|
|
"! \n"
|
|
".PrResult.Print.MSG50\n"
|
|
" Shells:\n"
|
|
"!\n"
|
|
".PrResult.Print.MSG55\n"
|
|
" Faces:\n"
|
|
"!\n"
|
|
".PrResult.Print.MSG100\n"
|
|
"Mapping:\n"
|
|
"!\n"
|
|
".PrResult.Print.MSG110\n"
|
|
" Result is Shell : %d\n"
|
|
"!\n"
|
|
".PrResult.Print.MSG115\n"
|
|
" Result is Face : %d\n"
|
|
"!\n"
|
|
".PrResult.Print.MSG150\n"
|
|
" No Result : %d\n"
|
|
"!\n"
|
|
".PrResult.Print.MSG200\n"
|
|
"Preparation ratio:\n"
|
|
"!\n"
|
|
".PrResult.Print.MSG205\n"
|
|
" Shells: %d per cent\n"
|
|
"!\n"
|
|
".PrResult.Print.MSG210\n"
|
|
" Faces : %d per cent\n"
|
|
"!\n"
|
|
"! ==============================================================================\n"
|
|
"! Messages for Shape Healing\n"
|
|
"! \n"
|
|
"! ------------------------------------------------------------------------------\n"
|
|
"! Messages for ShapeFix_Wire\n"
|
|
"! \n"
|
|
".FixWire.FixDegenerated.MSG0\n"
|
|
"Degenerated edge(s) detected\n"
|
|
"!\n"
|
|
".FixWire.FixDegenerated.MSG5\n"
|
|
"Degenerated edge %d detected\n"
|
|
"!\n"
|
|
".FixWire.FixCurve3d.Removed\n"
|
|
"Incomplete edge (with no pcurves or 3d curve) removed\n"
|
|
"!\n"
|
|
".FixAdvWire.FixSmall.MSG0\n"
|
|
"Small edge(s) removed\n"
|
|
"! \n"
|
|
".FixAdvWire.FixSmall.MSG5\n"
|
|
"Edge %d was small, removed\n"
|
|
"! \n"
|
|
".FixAdvWire.FixIntersection.MSG0\n"
|
|
"Self-intersection corrected\n"
|
|
"!\n"
|
|
".FixAdvWire.FixIntersection.MSG5\n"
|
|
"Edge was self-intersecting, corrected\n"
|
|
"!\n"
|
|
".FixAdvWire.FixIntersection.MSG10\n"
|
|
"Edges were intersecting, corrected\n"
|
|
"!\n"
|
|
".FixAdvWire.FixLacking.MSG0\n"
|
|
"Lacking edge(s) inserted\n"
|
|
"!\n"
|
|
".FixAdvWire.FixLacking.MSG5\n"
|
|
"Lacking edge %d inserted\n"
|
|
"!\n"
|
|
".FixAdvWire..MSG0\n"
|
|
"!\n"
|
|
".FixAdvWire..MSG5\n"
|
|
"!\n"
|
|
".FixAdvWire..MSG10\n"
|
|
"!\n"
|
|
"! ------------------------------------------------------------------------------\n"
|
|
"! Messages for ShapeFix_Face\n"
|
|
"!\n"
|
|
".FixAdvFace.FixMissingSeam.MSG0\n"
|
|
"Missing seam-edge added\n"
|
|
"!\n"
|
|
".FixAdvFace.FixSmallAreaWire.MSG0\n"
|
|
"Null area wire detected, wire skipped\n"
|
|
"!\n"
|
|
".FixAdvFace.FixOrientation.MSG0\n"
|
|
"Face created with natural bounds\n"
|
|
"!\n"
|
|
".FixAdvFace.FixOrientation.MSG5\n"
|
|
"Wire on face was reversed\n"
|
|
"!\n"
|
|
".FixAdvFace.FixOrientation.MSG11\n"
|
|
"Cannot orient wire\n"
|
|
"!\n"
|
|
"! ------------------------------------------------------------------------------\n"
|
|
"! Messages for ShapeFix_Wireframe\n"
|
|
"! \n"
|
|
".FixWireframe.FixSmallEdges.MSG0\n"
|
|
"Small edge removed\n"
|
|
"!\n"
|
|
".FixWireframe.FixSmallEdges.MSG1\n"
|
|
"Small wire removed\n"
|
|
"!\n"
|
|
".FixWireframe.FixSmallEdges.MSG2\n"
|
|
"Small face removed\n"
|
|
"!\n"
|
|
".FixWireframe.FixFixWireGaps.MSG0\n"
|
|
"Gaps in a wire fixed\n"
|
|
"!\n"
|
|
"!\n"
|
|
".Fix.SplitCommonVertex.MSG0\n"
|
|
"Wires with common vertex fixed\n"
|
|
"!\n"
|
|
"!\n"
|
|
".FixAdvShell.FixOrientation.MSG20\n"
|
|
"Impossible to orient faces in shell, several shells created\n"
|
|
"!\n"
|
|
".FixAdvShell.FixOrientation.MSG30\n"
|
|
"Improperly connected shell split into parts\n"
|
|
"!\n"
|
|
".FixAdvSolid.FixShell.MSG10\n"
|
|
"Solid cannot be created from an open shell\n"
|
|
"!\n"
|
|
".FixAdvSolid.FixOrientation.MSG20\n"
|
|
"Orientation of shell(s) in solid was corrected\n"
|
|
"!\n"
|
|
".FixAdvSolid.FixOrientation.MSG30\n"
|
|
"Improperly connected solid split into several parts\n"
|
|
"!\n"
|
|
".FixAdvFace.FixLoopWire.MSG0\n"
|
|
"Wire was splitted on several wires\n"
|
|
"!\n"
|
|
".FixAdvFace..MSG5\n"
|
|
"!\n"
|
|
".FixAdvFace..MSG10\n"
|
|
"!\n"
|
|
".FixEdge.SameParameter.MSG0\n"
|
|
"Not same parameter edge fixed\n"
|
|
"!\n"
|
|
"! ------------------------------------------------------------------------------\n"
|
|
"! Messages for ShapeFix_FixSmallFace\n"
|
|
"!\n"
|
|
".FixAdvFace.FixSpotFace.MSG0\n"
|
|
"Spot face removed\n"
|
|
"!\n"
|
|
".FixAdvFace.FixStripFace.MSG0\n"
|
|
"Strip face removed\n"
|
|
"!\n"
|
|
"! ------------------------------------------------------------------------------\n"
|
|
"! Messages for ShapeFix_FixSmallSolid\n"
|
|
"!\n"
|
|
".ShapeFix.FixSmallSolid.MSG0\n"
|
|
"Small solid removed\n"
|
|
"!\n"
|
|
".ShapeFix.FixSmallSolid.MSG1\n"
|
|
"Small solid merged with other\n"
|
|
"!\n"
|
|
"! ------------------------------------------------------------------------------\n"
|
|
"! Messages for ShapeFix_Shell\n"
|
|
"!\n"
|
|
".FixAdvShell.FixOrientation.MSG0\n"
|
|
"Faces were incorrectly oriented in the shell, corrected\n"
|
|
"!\n"
|
|
".FixAdvShell.FixOrientation.MSG5\n"
|
|
"Faces were incorrectly oriented in the shell, not corrected\n"
|
|
"!\n"
|
|
".FixAdvShell.FixClosedFlag.MSG0\n"
|
|
"Shell has incorrect flag isClosed\n"
|
|
"!\n"
|
|
".FixAdvShell..MSG5\n"
|
|
"!\n"
|
|
".FixAdvShell..MSG10\n"
|
|
"!\n"
|
|
"! ------------------------------------------------------------------------------\n"
|
|
"! Messages for ShapeUpgrade\n"
|
|
"!\n"
|
|
".ShapeDivide.FaceDivide.MSG0\n"
|
|
"Face divided\n"
|
|
"!\n"
|
|
".ShapeDivide.WireDivide.MSG0\n"
|
|
"Wire divided\n"
|
|
"!\n"
|
|
".ShapeDivide.EdgeDivide.MSG0\n"
|
|
"Edge divided\n"
|
|
"!\n"
|
|
".ShapeDivide.FaceConvertToBezier.MSG0\n"
|
|
"Face converted to Bezier\n"
|
|
"!\n"
|
|
".ShapeDivide.WireConvertToBezier.MSG0\n"
|
|
"Wire converted to Bezier\n"
|
|
"!\n"
|
|
".ShapeDivide.EdgeConvertToBezier.MSG0\n"
|
|
"Edge converted to Bezier\n"
|
|
"!\n"
|
|
"! ------------------------------------------------------------------------------\n"
|
|
"! Messages for ShapeCustom\n"
|
|
"!\n"
|
|
".BSplineRestriction.NewSurface.MSG0\n"
|
|
"Face converted to BSpline\n"
|
|
"!\n"
|
|
".BSplineRestriction.NewSurface.MSG1\n"
|
|
"BSpline Face re-approximated\n"
|
|
"!\n"
|
|
".BSplineRestriction.NewCurve.MSG0\n"
|
|
"Edge converted to BSpline\n"
|
|
"!\n"
|
|
".BSplineRestriction.NewCurve.MSG1\n"
|
|
"BSpline Edge re-approximated\n"
|
|
"!\n"
|
|
"!\n"
|
|
".ConvertToBSpline.NewSurface.MSG0\n"
|
|
"Face converted to BSpline\n"
|
|
"!\n"
|
|
".ConvertToBSpline.NewCurve.MSG0\n"
|
|
"Edge converted to BSpline\n"
|
|
"!\n"
|
|
"!\n"
|
|
".ConvertToRevolution.NewSurface.MSG0\n"
|
|
"Face converted to surface of revolution\n"
|
|
"!\n"
|
|
"!\n"
|
|
".DirectModification.NewSurface.MSG0\n"
|
|
"Direction of Face of revolution corrected\n"
|
|
"!\n"
|
|
"!\n"
|
|
".SweptToElementary.NewSurface.MSG0\n"
|
|
"Swept Face converted to elementary\n"
|
|
"!\n";
|