Previous topic

3.3.41. NXsensor

Next topic

3.3.43. NXslit

This Page

3.3.42. NXshapeΒΆ

Status:

base class, extends NXobject, version 1.0

Description:

This is the description of the general shape and size of a component, which may be made up of numobj separate elements - it is used by the NXgeometry class

Symbols:

No symbol table
Groups cited:
none

Structure:

shape: NX_CHAR

general shape of a component

Any of these values:

  • nxflat
  • nxcylinder
  • nxbox
  • nxsphere
  • nxcone
  • nxelliptical
  • nxtoroidal
  • nxparabolic
  • nxpolynomial

size[numobj, nshapepar]: NX_FLOAT {units=NX_LENGTH}

physical extent of the object along its local axes (after NXorientation) with the center of mass at the local origin (after NXtranslation). The meaning and location of these axes will vary according to the value of the “shape” variable. nshapepar defines how many parameters:

  • For “nxcylinder” type the parameters are (diameter,height) and a three value orientation vector of the cylinder.
  • For the “nxbox” type the parameters are (length,width,height).
  • For the “nxsphere” type the parameters are (diameter).
  • For nxcone cone half aperture
  • For nxelliptical, semi-major axis, semi-minor-axis, angle of major axis and pole
  • For nxtoroidal, major radius, minor radius
  • For nxparabolic, parabolic parameter a
  • For nxpolynomial, an array of polynom coefficients, the dimension of the array encodes the degree of the polynom

direction: NX_CHAR

Any of these values: concave | convex
Source:
Automatically generated from https://github.com/nexusformat/definitions/blob/master/base_classes/NXshape.nxdl.xml