C# 클래스 SolidworksAddinFramework.ModellerExtensions

파일 보기 프로젝트 열기: Weingartner/SolidworksAddinFramework

공개 메소드들

메소드 설명
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