Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters Class Reference

Nesting_ComputerParameters Nesting_ComputerParameters.hxx cadex/Nesting_ComputerParameters.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters:

Public Member Functions

 __init__ (self)
 Constructor.
 
 IterationCount (self)
 Returns iteration count of genetic algorithm.
 
 SetIterationCount (self, theIterationCount)
 Sets iteration count of genetic algorithm.
 
 GenerationSize (self)
 Returns generation size used in genetic algorithm.
 
 SetGenerationSize (self, theGenerationSize)
 Sets generation size used in genetic algorithm.
 
 MutationRate (self)
 Returns mutation rate used in genetic algorithm.
 
 SetMutationRate (self, theMutationRate)
 Sets mutation rate in geentic algorithm.
 
 CurveTolerance (self)
 Returns curve tolerance used to build polygons for geentic algorithm.
 
 SetCurveTolerance (self, theCurveTolerance)
 Sets curve tolerance used to build polygons for geentic algorithm.
 
 PartToPartDistance (self)
 Returns part to part distance in mm.
 
 SetPartToPartDistance (self, thePartToPartDistance)
 Sets part to part distance in mm.
 
 PartToSheetBoundaryDistance (self)
 Returns part to sheet boundary distance in mm.
 
 SetPartToSheetBoundaryDistance (self, thePartToSheetBoundaryDistance)
 Sets part to sheet boundary distance distance in mm.
 
 NestingInHoles (self)
 Returns whether parts can be nested in holes of other parts.
 
 SetNestingInHoles (self, theIsNestingInHole)
 Sets nesting in holes flag.
 
 MirrorControl (self)
 Returns whether mirror transformation could be applied in nesting process or not.
 
 SetMirrorControl (self, theIsMirrorControl)
 
 RotationCount (self)
 Returns count of rotations which can be applied in nesting process.
 
 SetRotationCount (self, theRotationCount)
 Sets rotation count.
 

Detailed Description

Nesting_ComputerParameters Nesting_ComputerParameters.hxx cadex/Nesting_ComputerParameters.hxx.

  • Defines parameters used in nesting process.

Member Function Documentation

◆ CurveTolerance()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.CurveTolerance ( self)

Returns curve tolerance used to build polygons for geentic algorithm.

The default value is 0.5.

See also
SetCurveTolerance()

◆ GenerationSize()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.GenerationSize ( self)

Returns generation size used in genetic algorithm.

The default value is 5.

See also
SetGenerationSize()

◆ IterationCount()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.IterationCount ( self)

Returns iteration count of genetic algorithm.

The default value is 5.

See also
SetIterationCount()

◆ MirrorControl()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.MirrorControl ( self)

Returns whether mirror transformation could be applied in nesting process or not.

The default value is false.

See also
SetMirrorControl()

◆ MutationRate()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.MutationRate ( self)

Returns mutation rate used in genetic algorithm.

The default value is 0.

See also
SetMutationRate()

◆ NestingInHoles()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.NestingInHoles ( self)

Returns whether parts can be nested in holes of other parts.

The default value is false.

See also
SetNestingInHole()

◆ PartToPartDistance()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.PartToPartDistance ( self)

Returns part to part distance in mm.

Used to indent parts from each other.

The default value is 0.

See also
SetPartToPartDistance()

◆ PartToSheetBoundaryDistance()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.PartToSheetBoundaryDistance ( self)

Returns part to sheet boundary distance in mm.

Used to indent parts from sheet boundary.

The default value is 0.

See also
SetPartToSheetBoundaryDistance()

◆ RotationCount()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.RotationCount ( self)

Returns count of rotations which can be applied in nesting process.

Accessible angles are dividers of 360 / RotationCount() degree

The default value is 1.

See also
SetRotationCount()

◆ SetCurveTolerance()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.SetCurveTolerance ( self,
theCurveTolerance )

Sets curve tolerance used to build polygons for geentic algorithm.

The value must be greater than zero.

See also
CurveTolerance()

◆ SetGenerationSize()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.SetGenerationSize ( self,
theGenerationSize )

Sets generation size used in genetic algorithm.

The value must be grater than zero.

See also
GenerationSize()

◆ SetIterationCount()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.SetIterationCount ( self,
theIterationCount )

Sets iteration count of genetic algorithm.

The value must be grater than zero.

See also
IterationCount()

◆ SetMutationRate()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.SetMutationRate ( self,
theMutationRate )

Sets mutation rate in geentic algorithm.

The value must be in range [0, 1).

See also
MutationRate()

◆ SetNestingInHoles()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.SetNestingInHoles ( self,
theIsNestingInHole )

Sets nesting in holes flag.

See also
NestingInHoles()

◆ SetPartToPartDistance()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.SetPartToPartDistance ( self,
thePartToPartDistance )

Sets part to part distance in mm.

The value must be grater than or equal to zero.

See also
PartToPartDistance()

◆ SetPartToSheetBoundaryDistance()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.SetPartToSheetBoundaryDistance ( self,
thePartToSheetBoundaryDistance )

Sets part to sheet boundary distance distance in mm.

The value must be grater than or equal to zero.

See also
PartToPartDistance()

◆ SetRotationCount()

manufacturingtoolkit.CadExMTK.Nesting_ComputerParameters.SetRotationCount ( self,
theRotationCount )

Sets rotation count.

The value must be grater than zero.

See also
RotationCount()

The documentation for this class was generated from the following file:
  • CadExMTK.py