Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

WO003

  • Last UpdatedMay 12, 2023
  • 2 minute read

Name

WO003 - AutoNest Interface routine - Add Raw Plate PURPOSE:

Purpose

The procedure adds the data for one raw plate.

Declaration

void wo003( const int RawPlateNo,

const int NumberOfSegParts, const char *Quality,

const int QuantityTotal, const int QuantityNormal, const int QuantityMirror, const int FlangeSide, const double Thickness, const double PartThickMin, const double PartThickMax,

const double DistPartPlate, const double DistPartPart, const double DistPartPlate2, const double DistPartPart2);

Input

Parameters:

RawPlateNo

The identification number for the raw plate NumberOfSegParts The number of segment parts in the raw plate geometry

Quality

The raw plate quality

QuantityTotal

The total number of identical nestings ( QuantityTotal = QuantityNormal + QuantityMirror)

QuantityNormal

The number of nestings burned normal QuantityMirror The number of nestings burned mirrored

FlangeSide

Code for reflecting parts with folded flanges:

=

-1

Force folded flange to be at the other side

=

0

Automatic

=

+1

Force folded flange to be at this side

Thickness

The raw plate thickness

PartThickMin

The minimum allowed plate part thickness that can be nested on the raw plate

PartThickMax

The maximum allowed plate part thickness that can be nested on the raw plate

DistPartPlate

The minimum distance between the raw plate and a part

DistPartPart

The minimum distance between a part and a part

DistPartPlate2

The minimum distance between the raw plate and a part (Nest type = 2)

DistPartPart2

The minimum distance between a part and a part (Nest type = 2)

Result

None.

/

/*

External declarations

*/

extern "C"

{

#if !defined TBLAYOUTPLUGIN_API #define TBLAYOUTPLUGIN_API

#endif

/*

**********************************************************************

*

Main procedure - wo003

**********************************************************************

*/

#ifdef WIN32 TBLAYOUTPLUGIN_API

#endif

void wo003( const int /* RawPlateNo */,

const int /* NumberOfSegParts */, const char * /* Quality */,

const int /* QuantityTotal */, const int /* QuantityNormal */, const int /* QuantityMirror */, const int /* FlangeSide*/, const double /* Thickness */,

const double /* PartThickMin */, const double /* PartThickMax */,

const double /* DistPartPlate */, const double /* DistPartPart */, const double /* DistPartPlate2 */, const double /* DistPartPart2 */)

{

/* Store the given data in the C++ structure from wo002.

Allocate C++ structure for the raw plate contour with the given

number of segment parts. The contour will be added in wo004.

*/

}

}

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in