C# Class SolidworksAddinFramework.ModellerExtensions

Afficher le fichier Open project: Weingartner/SolidworksAddinFramework

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
CreateSheetFromSurface ( IModeler modeler, ISurface surf, double uRange, double vRange ) : IBody2

Method Details

CreateBodyFromCylTs() public static méthode

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
Résultat IBody2

CreateBox() public static méthode

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
Résultat IBody2

CreateBox() public static méthode

public static CreateBox ( this modeler, double width, double length, double height ) : IBody2
modeler this
width double
length double
height double
Résultat IBody2

CreateBsplineCurve() public static méthode

public static CreateBsplineCurve ( IReadOnlyCollection controlPoints, IEnumerable knotVectorU, int order, bool isPeriodic, IModeler modeler ) : ICurve
controlPoints IReadOnlyCollection
knotVectorU IEnumerable
order int
isPeriodic bool
modeler IModeler
Résultat ICurve

CreateCirclularSheet() public static méthode

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
Résultat IBody2

CreateCone() public static méthode

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
Résultat IBody2

CreateCone() public static méthode

public static CreateCone ( this m, double baseRadius, double height ) : IBody2
m this
baseRadius double
height double
Résultat IBody2

CreateCone() public static méthode

public static CreateCone ( this m, double baseRadius, double topRadius, double height ) : IBody2
m this
baseRadius double
topRadius double
height double
Résultat IBody2

CreateCylinder() public static méthode

public static CreateCylinder ( this m, double radius, double height ) : IBody2
m this
radius double
height double
Résultat IBody2

CreatePlanarSurface() public static méthode

Create a surface from a plane definition
public static CreatePlanarSurface ( this activeModeler, PointDirection3 plane ) : ISurface
activeModeler this
plane SolidworksAddinFramework.Geometry.PointDirection3
Résultat ISurface

CreateSemiCirclularSheet() public static méthode

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
Résultat IBody2

CreateSheet() public static méthode

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
Résultat IBody2

CreateSheetFromSurface() public static méthode

public static CreateSheetFromSurface ( this modeler, ISurface surf, IMathPoint p0, IMathPoint p1 ) : IBody2
modeler this
surf ISurface
p0 IMathPoint
p1 IMathPoint
Résultat IBody2

CreateSheetFromSurface() public static méthode

public static CreateSheetFromSurface ( this modeler, ISurface surf, SurfaceExtensions uvLow, SurfaceExtensions uvHigh ) : IBody2
modeler this
surf ISurface
uvLow SurfaceExtensions
uvHigh SurfaceExtensions
Résultat IBody2

CreateSphereBody() public static méthode

public static CreateSphereBody ( this modeler, System.Vector3 center, double radius ) : IBody2
modeler this
center System.Vector3
radius double
Résultat IBody2

CreateSurfaceBody() public static méthode

public static CreateSurfaceBody ( this modeler, ISurface surface ) : IBody2
modeler this
surface ISurface
Résultat IBody2

CreateTrimmedArc() public static méthode

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
Résultat ICurve

CreateTrimmedLine() public static méthode

Create a line from p0 to p1.
public static CreateTrimmedLine ( this modeler, Edge3 edge ) : ICurve
modeler this
edge SolidworksAddinFramework.Geometry.Edge3
Résultat ICurve

CreateTrimmedLine() public static méthode

public static CreateTrimmedLine ( this modeler, MathPoint p0, MathPoint p1 ) : ICurve
modeler this
p0 MathPoint
p1 MathPoint
Résultat ICurve

CreateTrimmedLine() public static méthode

public static CreateTrimmedLine ( this modeler, System.Vector3 p0, System.Vector3 p1 ) : ICurve
modeler this
p0 System.Vector3
p1 System.Vector3
Résultat ICurve

CreateTrimmedLine() public static méthode

public static CreateTrimmedLine ( this modeler, System.Vector3 p0, System.Vector3 v0, double length ) : ICurve
modeler this
p0 System.Vector3
v0 System.Vector3
length double
Résultat ICurve

FilterOutShortLines() public static méthode

public static FilterOutShortLines ( List points, double tol ) : IEnumerable
points List
tol double
Résultat IEnumerable

InterpolatePointsToCurve() public static méthode

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
Résultat Curve