.. role:: blue :class: blue Operation Result Codes ====================== .. _Code_of_Operation_Result_: MbResultType Enumeration ------------------------ .. _MbResultType_: :blue:`rt_Success` = 0 -- Normal completion. **Curve contour error types** :blue:`rt_Empty` -- Empty result. :blue:`rt_ToManyAxis` -- Too many axes. :blue:`rt_ToFewAxis` -- Not enough axes. :blue:`rt_ToManyContours` -- Too many contours. :blue:`rt_Stars` -- A “star” configuration is detected. :blue:`rt_SelfIntersection` -- Contour self-intersection. :blue:`rt_SelfIntWhenExtended` -- Self-intersection in the contour extension. :blue:`rt_Intersection` -- Contour intersection. :blue:`rt_NoIntersectSolid` -- Generating contour does not intersect solids. :blue:`rt_NoIntersectSection` -- Generating contour does not intersect sections (for the solid-by-sections operation). :blue:`rt_LibNotFound` -- Fragment not found in the library. :blue:`rt_MustBeClosed` -- Must be closed. :blue:`rt_MustBeOpen` -- Must be open. :blue:`rt_AxisIntersection` -- Intersection with the axis. :blue:`rt_DegenerateAxis` -- Degenerate axis. **Solid error types** :blue:`rt_MultiSolid` -- The solid consists of separate parts. :blue:`rt_CurveError` -- Invalid curve. :blue:`rt_ContourError` -- Invalid contour. :blue:`rt_SurfaceError` -- Invalid surface. :blue:`rt_SolidError` -- Invalid solid. :blue:`rt_ParameterError` -- Invalid parameter. :blue:`rt_ThicknessError` -- Incorrect thickness value. :blue:`rt_NoSequenceCurveAndSections` -- Nonsequential arrangement of sections along the curve (for the solid-by-sections operation). :blue:`rt_SelfIntersect` -- Object self-intersection. :blue:`rt_NoIntersect` -- Objects do not intersect. :blue:`rt_OffsetIntersectError` -- It is impossible to construct an offset with the given parameters. :blue:`rt_BooleanError` -- Boolean operation error. :blue:`rt_NoEdges` -- Edges not found. :blue:`rt_PrepareError` -- Error while preparing the operation. :blue:`rt_ChamferError` -- Error while creating an edge chamfer. :blue:`rt_FilletError` -- Error while creating an edge fillet. :blue:`rt_PartlyChamfer` -- Chamfers were not created on all edges. :blue:`rt_PartlyFillet` -- Not all edges were filleted. :blue:`rt_ChamferSurfaceError` -- Error while creating the chamfer surface. :blue:`rt_FilletSurfaceError` -- Error while creating the fillet surface. :blue:`rt_TooLargeChamfer` -- Chamfer legs are too large. :blue:`rt_TooLargeFillet` -- Fillet radius is too large. :blue:`rt_SemiChamfer` -- Chamfers were not created for all edges. :blue:`rt_SemiFillet` -- Not all edges were filleted. :blue:`rt_CuttingError` -- Error while cutting by a surface. :blue:`rt_ThinError` -- Error while creating a thin-walled solid. :blue:`rt_OffsetError` -- Wall thickness is too large when creating a thin-walled solid. :blue:`rt_FaceError` -- Invalid face. :blue:`rt_RibError` -- Unknown error while placing a stiffening rib. :blue:`rt_DraftError` -- Unknown draft error on solid faces. :blue:`rt_NoObjectForDirection` -- No face is present in the selected direction. :blue:`rt_AbsorptionSolid` -- A local solid absorbs the result. :blue:`rt_Error` -- Unknown error. :blue:`rt_None` -- No messages. :blue:`rt_Intersect` -- Objects intersect. :blue:`rt_InvalidType` -- Improper curve type. :blue:`rt_NoConvertTextToNurbs` -- Text cannot be converted to NURBS. :blue:`rt_SplitWireNotSplitFace` -- The contour does not split any face or coincides with a face edge. :blue:`rt_SplitWireNotIntersectFace` -- The contour does not intersect the selected set of faces or coincides with a face edge. :blue:`rt_MustBeOnlyOnePoint` -- For this operation, the sketch must contain only one point. :blue:`rt_InvalidPoleUsage` -- A sketch with one point can be used only for an end section. :blue:`rt_ThinWithPole` -- Thin-wall construction is impossible if one of the sections is a point. :blue:`rt_TopologyError` -- Invalid topology. :blue:`rt_NoObjectInDirNormal` -- No object in the forward direction. :blue:`rt_NoObjectInDirReverse` -- No object in the reverse direction. :blue:`rt_SolidAffectedByBoolean` -- Solids have been modified by a Boolean operation. :blue:`rt_HaveDegenerateSegment` -- The curve contains zero-length segments. :blue:`rt_NotAllSourcesFound` -- One or more source operations were not found. :blue:`rt_InvalidEmptyContour` -- The contour consists of two segments lying one over another. :blue:`rt_UnnecessaryVariables` -- Redundant number of variables. :blue:`rt_DomainMismatch` -- Domain does not match the specified values. :blue:`rt_UnknownTranslatorError` -- Unknown error in the translator. :blue:`rt_UnknownParserError` -- Unknown error in the parser. :blue:`rt_UnknownSymbol` -- Unknown symbol in the string. :blue:`rt_NoClosingBracket` -- Closing bracket is missing. :blue:`rt_NoOpeningBracket` -- Opening bracket is missing. :blue:`rt_ImpossibleOperation` -- Impossible operation. :blue:`rt_LostObject` -- Operation lost its reference objects. :blue:`rt_NotAllBendsProcessed` -- Not all bends were folded or unfolded. :blue:`rt_ValueScalingError` -- Scaling with the specified factor is impossible. :blue:`rt_RatioScalingError` -- Scaling with the specified ratio of factors is impossible. :blue:`rt_MultiSolidDeflected` -- This operation is not applicable to multipart solids. :blue:`rt_MultiSolidDefused` -- The result of this operation cannot be a multipart solid. :blue:`rt_TransitionError` -- Boundary condition of blending is no longer satisfied. :blue:`rt_MeshCrossingError` -- Curve intersection points do not form a regular grid. :blue:`rt_ClosedError` -- Closure cannot be performed. :blue:`rt_TooGreatCurve` -- The curve used for blending is longer than the surface itself. :blue:`rt_ClosedOrUnClosedError` -- All curves must be either closed or open. :blue:`rt_SketchNoSheet` -- The sketch must lie only on an outer or inner planar face of a sheet solid. :blue:`rt_BadSketch` -- The sketch does not meet the operation requirements. :blue:`rt_ConnectionError` -- Object connectivity is broken. :blue:`rt_MeshSmoothError` -- At intersection points, curves from opposite families are tangent. :blue:`rt_NoIntersectContour` -- No intersection contours. :blue:`rt_ErShMtHeight` -- Total height must be greater than sheet thickness. :blue:`rt_DegenerateSurface` -- Surface is degenerate. :blue:`rt_SurfaceEdgesIntersect` -- Surface cannot be created: internal partition edges order is violated. :blue:`rt_TooLargeExtension` -- Extension length is too large. :blue:`rt_TooSmallExtension` -- Extension length is too small. :blue:`rt_VertexExtensionError` -- Failed to extend the surface to the given vertex. :blue:`rt_SurfaceExtensionError` -- Failed to extend the surface to the given surface. :blue:`rt_NoEdgesConection` -- Edges do not form a connected chain. :blue:`rt_TooManyPoints` -- Too many points. Reduce their number. :blue:`rt_TooManyPoints_1` -- Too many points. :blue:`rt_DirectionExtensionError` -- Failed to extend the surface in the given direction. :blue:`rt_ExtensionPoleError` -- The face contains a pole: select another edge or another extension type. :blue:`rt_MustBeOpenOrClosed` -- All contours must be either closed or open. :blue:`rt_TooComplicatedItemsSet` -- Too complex set of items for processing. :blue:`rt_NoAxesIntersection` -- Axes do not intersect. :blue:`rt_TooFarItems` -- Objects are too far apart. :blue:`rt_ProcessIsStopped` -- Process was stopped. :blue:`rt_ContourSweptError` -- The contour cannot be used for the specified motion. :blue:`rt_SomeContourError` -- One of the contours cannot be used for the specified construction. :blue:`rt_SplitWireNotAllFaces` -- Split lines (intersection edges) are not created on all selected faces or do not reach face boundaries. :blue:`rt_GeneratrixColinearGuide` -- In some points, the generatrix is parallel to the guide. :blue:`rt_NotEnoughMemory` -- Not enough memory. :blue:`rt_BorderColinearCurve` -- Side boundary direction is parallel to the tangent at the end of the generating curve. :blue:`rt_ObjectNotFound` -- Object not found. :blue:`rt_PoleBrokenError` -- In the spline surface, some pole points were moved and some remained coincident. :blue:`rt_ApproxError` -- Approximation failed. :blue:`rt_AccuracyError` -- Construction accuracy requirements are not satisfied. :blue:`rt_BadVariable` -- Invalid variable value. :blue:`rt_BadEdgesForChamfer` -- Impossible to create a chamfer on the specified edges. :blue:`rt_RevokeStopFillet` -- Stopping the fillet is impossible; fillet was created without stopping. :blue:`rt_AdjacentTransitionError` -- Blends on adjacent boundaries are inconsistent. :blue:`rt_ObjectAccessDenied` -- Object access denied. :blue:`rt_TooManySegments` -- Number of segments is too large. :blue:`rt_GapShiftError` -- Invalid gap position of the shell. :blue:`rt_CutBySilhouetteError` -- Silhouette edge line does not split the face. :blue:`rt_DegeneratedProjection` -- Degenerate projection of the reference object. :blue:`rt_NotAllContoursUsed` -- Not all contours (curves) are used. :blue:`rt_ChangedParameter` -- Operation parameter has been changed. :blue:`rt_NotAllObjectsUsed` -- Not all objects are used. :blue:`rt_ZeroJumperError` -- Error due to forming a zero-thickness jumper. :blue:`rt_FullFilletError` -- Error while creating a face fillet. **Smooth spline construction errors** :blue:`rt_IncorrectData` -- Invalid data. :blue:`rt_IncorrectPolylines` -- Invalid polyline shapes or tangent directions. :blue:`rt_IncorrectStructure` -- Invalid structure of a polyline with straight segments. :blue:`rt_TooFewPoints` -- Too few points. :blue:`rt_CoincidentPoints` -- Coincident points. :blue:`rt_TooSharpAngle` -- Angle between polyline segments is too sharp. :blue:`rt_ReverseMotion` -- Reverse motion of a segment. :blue:`rt_SharpTorsion` -- Sharp torsion of the polyline. :blue:`rt_IncorrectFirstDirection` -- Invalid tangent direction at the start point. :blue:`rt_IncorrectLastDirection` -- Invalid tangent direction at the end point. :blue:`rt_FirstTangentVector` -- First tangent is assigned to a straight segment. :blue:`rt_LastTangentVector` -- Last tangent is assigned to a straight segment. :blue:`rt_TangentVectorsUnsuitable` -- Tangent vectors are invalid for a locally convex region. :blue:`rt_IncorrectBezier` -- Invalid structure of the source Bézier curve. :blue:`rt_NoIntersection` -- Tangents do not intersect; invalid polyline structure. :blue:`rt_CriticalConfiguration` -- Critical configuration for B-spline approximation. :blue:`rt_IncorrectInitialData` -- Invalid initial data. :blue:`rt_NotImplemented` -- This command is not implemented. :blue:`rt_InsufficientMemory` -- Insufficient memory. :blue:`rt_IncorrectFirstTangent` -- Invalid first tangent direction. :blue:`rt_IncorrectLastTangent` -- Invalid last tangent direction. :blue:`rt_StraightenLastSite` -- Final straight segment; tangent vector is not required. :blue:`rt_IncorrectPolylineStructure` -- Invalid structure of a polyline with straight segments. :blue:`rt_IncorrectDataStructure` -- Invalid data structure in the model. :blue:`rt_ObjectIsNotPolyline` -- Object is not a spatial polyline. :blue:`rt_MissingKnots` -- Knot vector is missing. :blue:`rt_ClosedSpline` -- Closed spline in an external file. :blue:`rt_ObjectNotSelected` -- Required object is not selected. :blue:`rt_SharpChangeCurvature` -- Sharp curvature change at an inflection region. :blue:`rt_CloseToStraightness` -- Close to straightness. :blue:`rt_TooFewStartPoints` -- Too few points on the convex part of the initial region. :blue:`rt_BanClosedConfiguration` -- Closed configuration is forbidden when the number of points is less than 5. :blue:`rt_IncorrectDeterminant` -- Invalid structure of the source geometric determinant. :blue:`rt_DimensionsPointsArrays` -- Point array dimensions. :blue:`rt_TangentsNotIntersect` -- Tangents do not intersect. :blue:`rt_PointsCoincided` -- Points coincide. :blue:`rt_FewPointsForClosed` -- Too few points for a closed polyline. :blue:`rt_TooFewPointsOnSite` -- Too few points on a convex region. :blue:`rt_PointsOnLine` -- Points lie on a straight line. :blue:`rt_TooManyApexes` -- Too many points. :blue:`rt_SiteNotConvex` -- Three-segment region is not convex. :blue:`rt_CurvatureRange` -- Curvature is outside the allowed range. :blue:`rt_ObjectNotHermiteGD` -- Object is not a Hermite G¹ object. :blue:`rt_ObjectNotNURBS` -- Object is not a NURBS. :blue:`rt_DerivativeContinuityErr` -- Failure to ensure derivative continuity. :blue:`rt_NotEnoughBuildData` -- Not enough data for construction. :blue:`rt_InternalError` -- Unknown error. :blue:`rt_DerivativeGap` = 198 -- No continuity of curve derivative with respect to parameter. :blue:`rt_DerivativeGapU` -- No continuity of surface derivative with respect to the first parameter. :blue:`rt_DerivativeGapV` -- No continuity of surface derivative with respect to the second parameter. :blue:`rt_ContourGapError` -- The contour has gaps between segments. :blue:`rt_ContourSegmentsOverlapError` -- The contour has overlapping segments. :blue:`rt_ContourSegmentsNoTangentJoint` -- The contour has segments with non-smooth junction. :blue:`rt_ExtensionOutOfRange` -- Extension cannot be limited by the given surface. :blue:`rt_BuildSheetBySolidError` -- Error while constructing a sheet solid from an arbitrary solid. :blue:`rt_BendEdgeError` -- Edge cannot be used as a bend edge. :blue:`rt_StampToolPositionError` -- Invalid tool position relative to the sheet solid. **Variable section surface construction errors** :blue:`rt_NoEdgesForBuild` -- No edges for construction. :blue:`rt_NoCurvesForBuild` -- No curves for construction. :blue:`rt_NotCorrectDataForBuild` -- Invalid data. :blue:`rt_NotEnoughDataForBuild` -- Not enough data for construction. :blue:`rt_ReferenceCurveError` -- Invalid reference curve. :blue:`rt_GuideCurveError` -- Invalid guide curve. :blue:`rt_ApexCurveError` -- Invalid apex curve. :blue:`rt_DiscriminantFunctionError` -- Invalid discriminant function. :blue:`rt_DiscriminantCurveError` -- Invalid discriminant curve. :blue:`rt_DiscriminantSurfaceError` -- Invalid discriminant surface. :blue:`rt_AngleFunctionError` -- Invalid angle function. :blue:`rt_ReferenceCurveBuildFailed` -- Failed to construct the reference curve. :blue:`rt_GuideCurveBuildFailed` -- Failed to construct the guide curve. :blue:`rt_ApexCurveBuildFailed` -- Failed to construct the apex curve. :blue:`rt_VertexCurveBuildFailed` -- Failed to construct the control curve. :blue:`rt_ApexDiscriminantBuildFailed` -- Failed to construct the apex curve and the discriminant. :blue:`rt_DiscriminantBuildFailed` -- Failed to construct the discriminant function. :blue:`rt_PatternCurveError` -- Invalid generating curve. :blue:`rt_SynchronizeParameterError` -- Failed to synchronize parameters. :blue:`rt_ReparamBuildFailed` -- Failed to perform reparameterization. :blue:`rt_TriangleSectionFailed` -- Section triangle of the surface cannot be determined. :blue:`rt_DiscriminantFunctionWrong` -- Discriminant function used to define the section shape does not allow the surface to be constructed. :blue:`rt_DiscriminantCurveWrong` -- Curve used to define the section shape does not allow the surface to be constructed. :blue:`rt_DiscriminantSurfaceWrong` -- Tangent surface used to define the section shape does not allow the surface to be constructed. :blue:`rt_SectionMovementWrong` -- Section motion is incompatible with the guides. :blue:`rt_DiscriminantSurfaceFar` -- Discriminant surface is far from the section. :blue:`rt_CrossOrderError` -- Order of mutual curve intersections is violated. :blue:`rt_WrongExtensionLength` -- Invalid extension length. :blue:`rt_WrongExtensionWayValue` -- Unknown extension method. :blue:`rt_StampToolHoleError` -- Error: stamping area must not contain cutouts. :blue:`rt_CurveClosedAtStart` -- Curve is closed at the start. :blue:`rt_CurveClosedAtEnd` -- Curve is closed at the end. :blue:`rt_CurveClosedBothSides` -- Curve is closed on both sides. :blue:`rt_BeyondLimitsExtension` -- Extended surface curve goes beyond the surface bounds. :blue:`rt_NonBijectiveFunc` -- Mapping of function parameter values to curve parameter values is not bijective. :blue:`rt_LicenseError` -- License error: invalid or expired license. :blue:`rt_NoRayIntersection` -- No ray–second object intersection in the selected direction. :blue:`rt_ExtremesRequestExceeded` -- Number of extrema exceeds the number of dimensions. :blue:`rt_ConstraintSurfaceDomainError` -- Invalid situation in the element domain with respect to the external constraint object (surface). :blue:`rt_ConstraintCurveEmptyDomain` -- Empty domain with respect to the external constraint object (curve). :blue:`rt_ConstraintCurveDomainError` -- Invalid situation in the element domain with respect to the external constraint object (curve). :blue:`rt_ConstraintCurveNoBijection` -- Violation of bijection between the trajectory and the external constraint object (curve). :blue:`rt_FacesGroupsOverlapError` -- Arrays of replacement and replaced faces intersect. :blue:`rt_StitchShellsError` -- Shell stitching error. :blue:`rt_NoFacesForModification` -- No faces for modification. :blue:`rt_NoReplacementFaces` -- No replacement faces. :blue:`rt_ErrorTotal` -- General operation error. MbeStitchResType Enumeration ---------------------------- .. _MbeStitchResType_: .. code-block:: cpp enum MbeStitchResType { stch_Success = 0, stch_PrepareError, stch_CoorientFaceError, stch_SomeEdgesUnstitched, stch_OutwardOrientError, stch_NoEdgeWasStitched, stch_SeparatePartsResult, stch_EdgeStitchError, stch_InputTopologyError }; :blue:`stch_Success` = 0 -- No errors. :blue:`stch_PrepareError` -- Error while preparing the stitching operation. :blue:`stch_CoorientFaceError` -- Failed to set consistent orientation of faces. :blue:`stch_SomeEdgesUnstitched` -- Some edges remain unstitched. :blue:`stch_OutwardOrientError` -- Failed to orient face normals outward from the solid. :blue:`stch_NoEdgeWasStitched` -- Not a single edge was stitched. :blue:`stch_SeparatePartsResult` -- After stitching, separate unconnected parts remain. :blue:`stch_EdgeStitchError` -- Edge stitching error. :blue:`stch_InputTopologyError` -- Critical topology errors in input shells.