C# Класс Gears.GCodeGenerator

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GCodeGenerator ( GCodeWorkOrder wo ) : System
generateMainMill ( bool includeTooth ) : string
generateToothMill ( ) : string

Приватные методы

Метод Описание
CalculateOutsidePoint ( System.Drawing.PointF center, System.Drawing.PointF a, System.Drawing.PointF b, double diameter ) : System.Drawing.PointF
Distance2 ( System.Drawing.PointF a, System.Drawing.PointF b ) : float
Dot ( System.Drawing.PointF a, System.Drawing.PointF b ) : float
FindExtremaPoints ( System.Drawing.PointF pts, int &plusy, int &minusy, int &plusx, int &minusx ) : void
FindInnermostSegment ( System.Drawing.PointF pts ) : int
FindLongestSegment ( System.Drawing.PointF pts ) : int
GenerateOutline ( System.Drawing.PointF profile, int numTeeth, double diameter ) : Outline
Length2 ( System.Drawing.PointF p ) : float
LineOrArc ( IGeometryOutput sb, System.Drawing.PointF p, System.Drawing.PointF curPos ) : System.Drawing.PointF
MakeOutput ( ) : IGeometryOutput
MultiplyProfile ( System.Drawing.PointF profile, int num ) : PointF[]
NavigateLineSegment ( System.Drawing.PointF from, System.Drawing.PointF a, System.Drawing.PointF b, System.Drawing.PointF c, double diameter ) : System.Drawing.PointF
Normalize ( System.Drawing.PointF x ) : System.Drawing.PointF
generateFaceMilling ( IGeometryOutput sb ) : void
generateHoleMilling ( IGeometryOutput sb ) : void
generatePlateMilling ( IGeometryOutput sb ) : void
generatePrefix ( IGeometryOutput sb, MillInfo mill ) : void
generateRidgeTopMilling ( IGeometryOutput sb ) : void
generateSuffix ( IGeometryOutput sb ) : void
generateToothOutlineMilling ( IGeometryOutput sb ) : void
generateToothProfileMilling ( IGeometryOutput sb, int teeth, MillInfo mill ) : void
generateToothTopMilling ( IGeometryOutput sb ) : void

Описание методов

GCodeGenerator() публичный Метод

public GCodeGenerator ( GCodeWorkOrder wo ) : System
wo GCodeWorkOrder
Результат System

generateMainMill() публичный Метод

public generateMainMill ( bool includeTooth ) : string
includeTooth bool
Результат string

generateToothMill() публичный Метод

public generateToothMill ( ) : string
Результат string