Hide menu
Loading...
Searching...
No Matches
cadex.Nesting_Sheet Class Reference

Contains information about nesting sheet. More...

Inherits global.SystemIDisposable.

Public Member Functions

 Nesting_Sheet (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 Nesting_Sheet ()
 Constructor.
 
 Nesting_Sheet (double theWidth, double theHeight)
 Constructor.
 
 Nesting_Sheet (cadex.Drawing.Sheet theSheet)
 Constructor.
 
double PlacementEfficiency ()
 Returns the placement efficiency of patterns on the sheet.
 
uint NestedParts ()
 
double SheetArea ()
 
double Scrap ()
 
double Width ()
 
double Height ()
 
cadex.Drawing.Sheet ToDrawingSheet ()
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description

Contains information about nesting sheet.

See also
Nesting_Computer

Constructor & Destructor Documentation

◆ Nesting_Sheet() [1/3]

cadex.Nesting_Sheet.Nesting_Sheet ( )
inline

Constructor.

Creates a Nesting_Sheet with standard paper size A4.

See also
PaperSizeType

◆ Nesting_Sheet() [2/3]

cadex.Nesting_Sheet.Nesting_Sheet ( double theWidth,
double theHeight )
inline

Constructor.

Creates a Nesting_Sheet with theWidth and theHeight size.

◆ Nesting_Sheet() [3/3]

cadex.Nesting_Sheet.Nesting_Sheet ( cadex.Drawing.Sheet theSheet)
inline

Constructor.

Creates a Nesting_Sheet from Drawing.Sheet. Only size of theSheet used in Nesting_Sheet object.

Member Function Documentation

◆ NestedParts()

uint cadex.Nesting_Sheet.NestedParts ( )
inline

Returns the nested parts count in sheet.

◆ PlacementEfficiency()

double cadex.Nesting_Sheet.PlacementEfficiency ( )
inline

Returns the placement efficiency of patterns on the sheet.

Defined as a ration of the total patterns area to the area of the bounding box of placed patterns. Returns 0 if there are no patterns on the sheet.

See also
Scrap

◆ Scrap()

double cadex.Nesting_Sheet.Scrap ( )
inline

Returns the fraction of free area on the sheet in the [0, 1] range.

◆ SheetArea()

double cadex.Nesting_Sheet.SheetArea ( )
inline

Returns the areas of sheet in mm^2 .

◆ ToDrawingSheet()

cadex.Drawing.Sheet cadex.Nesting_Sheet.ToDrawingSheet ( )
inline

Returns the drawing.