C# Класс SolidworksAddinFramework.ModellerExtensions

Показать файл Открыть проект

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

Метод Описание
CreateBodyFromCylTs ( this modeler, System.Vector3 xyz, System.Vector3 axis, double radius, double length ) : IBody2
CreateBox ( this modeler, System.Vector3 center, System.Vector3 axis, double width, double length, double height ) : IBody2
CreateBox ( this modeler, double width, double length, double height ) : IBody2
CreateBsplineCurve ( IReadOnlyCollection controlPoints, IEnumerable knotVectorU, int order, bool isPeriodic, IModeler modeler ) : ICurve
CreateCirclularSheet ( this modeler, System.Vector3 center, System.Vector3 vNormal, System.Vector3 vRef, double radius ) : IBody2
CreateCone ( this m, System.Vector3 center, System.Vector3 axis, double baseRadius, double topRadius, double height ) : IBody2
CreateCone ( this m, double baseRadius, double height ) : IBody2
CreateCone ( this m, double baseRadius, double topRadius, double height ) : IBody2
CreateCylinder ( this m, double radius, double height ) : IBody2
CreatePlanarSurface ( this activeModeler, PointDirection3 plane ) : ISurface

Create a surface from a plane definition

CreateSemiCirclularSheet ( this modeler, System.Vector3 center, System.Vector3 vNormal, System.Vector3 vRef, double radius ) : IBody2
CreateSheet ( this modeler, System.Vector3 center, System.Vector3 vNormal, double r ) : IBody2

Create a bounded sheet.

CreateSheetFromSurface ( this modeler, ISurface surf, IMathPoint p0, IMathPoint p1 ) : IBody2
CreateSheetFromSurface ( this modeler, ISurface surf, SurfaceExtensions uvLow, SurfaceExtensions uvHigh ) : IBody2
CreateSphereBody ( this modeler, System.Vector3 center, double radius ) : IBody2
CreateSurfaceBody ( this modeler, ISurface surface ) : IBody2
CreateTrimmedArc ( this modeler, System.Vector3 center, System.Vector3 axis, System.Vector3 startPoint, System.Vector3 endPoint ) : ICurve
CreateTrimmedLine ( this modeler, Edge3 edge ) : ICurve

Create a line from p0 to p1.

CreateTrimmedLine ( this modeler, MathPoint p0, MathPoint p1 ) : ICurve
CreateTrimmedLine ( this modeler, System.Vector3 p0, System.Vector3 p1 ) : ICurve
CreateTrimmedLine ( this modeler, System.Vector3 p0, System.Vector3 v0, double length ) : ICurve
FilterOutShortLines ( List points, double tol ) : IEnumerable
InterpolatePointsToCurve ( this modeler, List points, double chordTolerance, bool simplify = true, bool closedCurve = false ) : Curve

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

Метод Описание
CreateSheetFromSurface ( IModeler modeler, ISurface surf, double uRange, double vRange ) : IBody2

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

CreateBodyFromCylTs() публичный статический Метод

public static CreateBodyFromCylTs ( this modeler, System.Vector3 xyz, System.Vector3 axis, double radius, double length ) : IBody2
modeler this
xyz System.Vector3
axis System.Vector3
radius double
length double
Результат IBody2

CreateBox() публичный статический Метод

public static CreateBox ( this modeler, System.Vector3 center, System.Vector3 axis, double width, double length, double height ) : IBody2
modeler this
center System.Vector3
axis System.Vector3
width double
length double
height double
Результат IBody2

CreateBox() публичный статический Метод

public static CreateBox ( this modeler, double width, double length, double height ) : IBody2
modeler this
width double
length double
height double
Результат IBody2

CreateBsplineCurve() публичный статический Метод

public static CreateBsplineCurve ( IReadOnlyCollection controlPoints, IEnumerable knotVectorU, int order, bool isPeriodic, IModeler modeler ) : ICurve
controlPoints IReadOnlyCollection
knotVectorU IEnumerable
order int
isPeriodic bool
modeler IModeler
Результат ICurve

CreateCirclularSheet() публичный статический Метод

public static CreateCirclularSheet ( this modeler, System.Vector3 center, System.Vector3 vNormal, System.Vector3 vRef, double radius ) : IBody2
modeler this
center System.Vector3
vNormal System.Vector3
vRef System.Vector3
radius double
Результат IBody2

CreateCone() публичный статический Метод

public static CreateCone ( this m, System.Vector3 center, System.Vector3 axis, double baseRadius, double topRadius, double height ) : IBody2
m this
center System.Vector3
axis System.Vector3
baseRadius double
topRadius double
height double
Результат IBody2

CreateCone() публичный статический Метод

public static CreateCone ( this m, double baseRadius, double height ) : IBody2
m this
baseRadius double
height double
Результат IBody2

CreateCone() публичный статический Метод

public static CreateCone ( this m, double baseRadius, double topRadius, double height ) : IBody2
m this
baseRadius double
topRadius double
height double
Результат IBody2

CreateCylinder() публичный статический Метод

public static CreateCylinder ( this m, double radius, double height ) : IBody2
m this
radius double
height double
Результат IBody2

CreatePlanarSurface() публичный статический Метод

Create a surface from a plane definition
public static CreatePlanarSurface ( this activeModeler, PointDirection3 plane ) : ISurface
activeModeler this
plane SolidworksAddinFramework.Geometry.PointDirection3
Результат ISurface

CreateSemiCirclularSheet() публичный статический Метод

public static CreateSemiCirclularSheet ( this modeler, System.Vector3 center, System.Vector3 vNormal, System.Vector3 vRef, double radius ) : IBody2
modeler this
center System.Vector3
vNormal System.Vector3
vRef System.Vector3
radius double
Результат IBody2

CreateSheet() публичный статический Метод

Create a bounded sheet.
public static CreateSheet ( this modeler, System.Vector3 center, System.Vector3 vNormal, double r ) : IBody2
modeler this
center System.Vector3 Center of the surface
vNormal System.Vector3 Direction of the surface
r double
Результат IBody2

CreateSheetFromSurface() публичный статический Метод

public static CreateSheetFromSurface ( this modeler, ISurface surf, IMathPoint p0, IMathPoint p1 ) : IBody2
modeler this
surf ISurface
p0 IMathPoint
p1 IMathPoint
Результат IBody2

CreateSheetFromSurface() публичный статический Метод

public static CreateSheetFromSurface ( this modeler, ISurface surf, SurfaceExtensions uvLow, SurfaceExtensions uvHigh ) : IBody2
modeler this
surf ISurface
uvLow SurfaceExtensions
uvHigh SurfaceExtensions
Результат IBody2

CreateSphereBody() публичный статический Метод

public static CreateSphereBody ( this modeler, System.Vector3 center, double radius ) : IBody2
modeler this
center System.Vector3
radius double
Результат IBody2

CreateSurfaceBody() публичный статический Метод

public static CreateSurfaceBody ( this modeler, ISurface surface ) : IBody2
modeler this
surface ISurface
Результат IBody2

CreateTrimmedArc() публичный статический Метод

public static CreateTrimmedArc ( this modeler, System.Vector3 center, System.Vector3 axis, System.Vector3 startPoint, System.Vector3 endPoint ) : ICurve
modeler this
center System.Vector3
axis System.Vector3
startPoint System.Vector3
endPoint System.Vector3
Результат ICurve

CreateTrimmedLine() публичный статический Метод

Create a line from p0 to p1.
public static CreateTrimmedLine ( this modeler, Edge3 edge ) : ICurve
modeler this
edge SolidworksAddinFramework.Geometry.Edge3
Результат ICurve

CreateTrimmedLine() публичный статический Метод

public static CreateTrimmedLine ( this modeler, MathPoint p0, MathPoint p1 ) : ICurve
modeler this
p0 MathPoint
p1 MathPoint
Результат ICurve

CreateTrimmedLine() публичный статический Метод

public static CreateTrimmedLine ( this modeler, System.Vector3 p0, System.Vector3 p1 ) : ICurve
modeler this
p0 System.Vector3
p1 System.Vector3
Результат ICurve

CreateTrimmedLine() публичный статический Метод

public static CreateTrimmedLine ( this modeler, System.Vector3 p0, System.Vector3 v0, double length ) : ICurve
modeler this
p0 System.Vector3
v0 System.Vector3
length double
Результат ICurve

FilterOutShortLines() публичный статический Метод

public static FilterOutShortLines ( List points, double tol ) : IEnumerable
points List
tol double
Результат IEnumerable

InterpolatePointsToCurve() публичный статический Метод

public static InterpolatePointsToCurve ( this modeler, List points, double chordTolerance, bool simplify = true, bool closedCurve = false ) : Curve
modeler this
points List
chordTolerance double
simplify bool
closedCurve bool
Результат Curve