GeneratorClashType Enumeration — NXOpen Python API Reference 12.0.0 documentation

# GeneratorClashType Enumeration

NXOpen.ShipDesign.Generator.ClashType is an alias for NXOpen.ShipDesign.GeneratorClashType

class `NXOpen.ShipDesign.``GeneratorClashType`

  Bases: `object`

  Clash status to indicate to show space position relation between two bodies 1.Clashes in entities of the same dimension Clash_interfere Two solid bodies interfere if they share a common volume Two faces interfere if they share a common area, or they intersect. Two edges interfere if they share a common length, or they intersect.

  Clash_abut_no_class Two solid bodies abut when they touch, but do not share a common volume. Two faces abut when they share a common curve or point in space which lies on the bounding topology of at least one of the faces. Two edges abut when they share a common point in space which lies on the bounding topology of at least one of the edges.

  Clash_a_in_b Clash_b_in_a For solids, faces, and edges, one entity is contained when it lies entirely inside the other entity, and their bounding topologies do not touch. 2.Clashes in bodies of different dimensions Clash_interfere If there is a common point in space that lies within the bounding topology of the two bodies, then the bodies are said to interfere. Clash_abut_no_class If no common point exists, but the bounding topologies of the two bodies touch, then the bodies are said to abut. Clash_a_in_b Clash_b_in_a If one body lies entirely within the bounding topology of the other, and the bounding topology of the two bodies do not touch then the entity is contained.

  Enum Members

  Enum Member | Enum Member Description
  --- | ---
  NotSet | There is no clash between two bodies.
  AInB | Body a is completly in body b, without abut.
  BInA | Body b is completly in body a, without abut.
  Exists | Clash exists; only this is requested.
  AbutNoClass | Bounding topologies abut, in/outside unknown.
  AbutBInA | Bounding b topology abuts bounding a topology on the inside.
  AbutBOutA | Bounding b topology abuts bounding a topology on the outside.
  Interfere | Bounding topologies interfere.

  `ValueOf`()

    Returns enum member equivalent to the value passed. Useful for bit operations of enum members.

    Signature `ValueOf(value)`

    Parameters: | value – Any integer value or bit operation result of enum members:type value: int:returns: Enum member equivalent to the value passed.
    Return type: | Enum Member type.

    New in version NX9.0.1.

    License requirements: None.