5.12.11.8.2. Definition of outlines / contours

Various classifications, e.g . Drilling patterns CNS_CP|4|2, describe planar (2D) line strings in 3D space that are suspended from a connection point. The 2D coordinate system of this geometry is defined by the X or Y axis of the connection point.

The connection point defines a local coordinate system in 3D space; X-axis [red], Y-axis [green], Z-axis [blue].

The connection point defines a local coordinate system in 3D space; X-axis [red], Y-axis [green], Z-axis [blue].

The normal of this surface is given by the Z-axis of the connection point. In the CAX area, contours such as drilling patterns, mounting cut-outs or mounting grids are often required.

Typical contour of an electrical component

Typical contour of an electrical component

In principle, there are two ways of modeling this in the CNS system:

  • Description of the contour by parameters (the preferred option)

  • Provision of a general line drawing by an external data source

Description of the contour using parameters

The parametric description contains two elements, the geometric shape as an enumerated value (Drilling Sub Type ) and a series of parameters that instantiate this shape. The system allows up to 3 parameters (Drilling 1st Dimension, Drilling 2nd Dimension, Drilling 3rd Dimension ), the meaning of which depends on the selected shape:

Relevant attributes for the contour definition in the special case of drilling patterns

Relevant attributes for the contour definition in the special case of drilling patterns

Drilling Sub Type Drilling 1st dimension Drilling 2nd dimension Drilling 3rd dimension
roundRadius--
quadraticLength--
rectangularWidthHeight-
slotted holeRadiusLength-
hexagonOuter radius--
............

Example: Definition of a rectangular cut-out with a width of 10 mm and a height of 100 mm

Example: Definition of a rectangular cut-out with a width of 10 mm and a height of 100 mm

This scheme is used for a wide variety of classes, such as the mounting cut-outs and the component system description of cabinets, as well as the labeling area.

[Note]Note

The number of supported geometries varies in each case. In general, only circles (round), rectangles (rectangular) and squares (quadratic) are recommended.

Provision of a general line drawing by an external data source

The second option for providing geometries is made possible by external vector graphics (DXF files), which were added to the project in PARTproject under Additional export formats.

Project with 2 additional files. The file identifiers are given by dxf1 and dxf2. These identifiers enable the link between external files and the classification system.

Project with 2 additional files. The file identifiers are given by dxf1 and dxf2. These identifiers enable the link between external files and the classification system.

The classification refers to the external files via the Drilling Contour attribute, whereby the syntax is given by ADDFILE://<value of ID>.

Drilling Contour

Drilling Contour

In general, the DXF file should be limited to lines and circular arcs. This restriction results from the properties of automated NC milling machines.