C# Class SpaceClaim.AddInLibrary.ShapeHelper

Mostra file Open project: bcourter/SpaceClaim-AddIns Class Usage Examples

Public Methods

Method Description
CreateBlock ( Box box, IPart part ) : DesignBody
CreateBlock ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, IPart part ) : DesignBody
CreateCable ( ITrimmedCurve iTrimmedCurve, double diameter ) : Body
CreateCable ( ITrimmedCurve iTrimmedCurve, double diameter, IPart part ) : DesignBody
CreateCircle ( Frame frame, double diameter, IPart part ) : DesignBody
CreateCircleThroughPoints ( SpaceClaim.Api.V10.Geometry.Point p0, SpaceClaim.Api.V10.Geometry.Point p1, SpaceClaim.Api.V10.Geometry.Point p2 ) : Circle
CreateCone ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter1, double diameter2, bool isSurface ) : Body
CreateCone ( IPart part, SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter1, double diameter2, bool isSurface ) : DesignBody
CreateCylinder ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter ) : Body
CreateCylinder ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter, IPart part ) : DesignBody
CreateCylinderMesh ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter, int sides ) : ICollection
CreateCylindricalSurface ( Plane startPlane, double radius, double height ) : Body
CreateDesignBody ( Body body, string name ) : DesignBody
CreateDesignBody ( Body body, string name, IPart part ) : DesignBody
CreateHelixAroundCurve ( this curveSegment, double turns, double radius, double pointCount ) : CurveSegment
CreatePolygon ( IList inputPoints, Plane plane, double thickness ) : Body
CreatePolygon ( IList inputPoints, double thickness ) : Body
CreatePolygon ( IList inputPoints, Plane plane, double thickness, IPart part ) : DesignBody
CreatePolygon ( IList inputPoints, double thickness, IPart part ) : DesignBody
CreatePolygon ( IList inputPoints, IPart part ) : IList
CreatePolygon ( IList points ) : IList
CreateRevolvedCurve ( System.Line axis, ITrimmedCurve curve ) : Body
CreateSausage ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter, IPart part ) : DesignBody
CreateSphere ( SpaceClaim.Api.V10.Geometry.Point center, double diameter ) : Body
CreateSphere ( SpaceClaim.Api.V10.Geometry.Point center, double diameter, IPart part ) : DesignBody
CreateTorus ( SpaceClaim.Api.V10.Geometry.Point center, Direction axis, double minorDiameter, double majorDiameter, IPart part ) : DesignBody

Method Details

CreateBlock() public static method

public static CreateBlock ( Box box, IPart part ) : DesignBody
box Box
part IPart
return DesignBody

CreateBlock() public static method

public static CreateBlock ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, IPart part ) : DesignBody
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
part IPart
return DesignBody

CreateCable() public static method

public static CreateCable ( ITrimmedCurve iTrimmedCurve, double diameter ) : Body
iTrimmedCurve ITrimmedCurve
diameter double
return Body

CreateCable() public static method

public static CreateCable ( ITrimmedCurve iTrimmedCurve, double diameter, IPart part ) : DesignBody
iTrimmedCurve ITrimmedCurve
diameter double
part IPart
return DesignBody

CreateCircle() public static method

public static CreateCircle ( Frame frame, double diameter, IPart part ) : DesignBody
frame Frame
diameter double
part IPart
return DesignBody

CreateCircleThroughPoints() public static method

public static CreateCircleThroughPoints ( SpaceClaim.Api.V10.Geometry.Point p0, SpaceClaim.Api.V10.Geometry.Point p1, SpaceClaim.Api.V10.Geometry.Point p2 ) : Circle
p0 SpaceClaim.Api.V10.Geometry.Point
p1 SpaceClaim.Api.V10.Geometry.Point
p2 SpaceClaim.Api.V10.Geometry.Point
return Circle

CreateCone() public static method

public static CreateCone ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter1, double diameter2, bool isSurface ) : Body
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
diameter1 double
diameter2 double
isSurface bool
return Body

CreateCone() public static method

public static CreateCone ( IPart part, SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter1, double diameter2, bool isSurface ) : DesignBody
part IPart
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
diameter1 double
diameter2 double
isSurface bool
return DesignBody

CreateCylinder() public static method

public static CreateCylinder ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter ) : Body
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
diameter double
return Body

CreateCylinder() public static method

public static CreateCylinder ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter, IPart part ) : DesignBody
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
diameter double
part IPart
return DesignBody

CreateCylinderMesh() public static method

public static CreateCylinderMesh ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter, int sides ) : ICollection
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
diameter double
sides int
return ICollection

CreateCylindricalSurface() public static method

public static CreateCylindricalSurface ( Plane startPlane, double radius, double height ) : Body
startPlane Plane
radius double
height double
return Body

CreateDesignBody() public static method

public static CreateDesignBody ( Body body, string name ) : DesignBody
body Body
name string
return DesignBody

CreateDesignBody() public static method

public static CreateDesignBody ( Body body, string name, IPart part ) : DesignBody
body Body
name string
part IPart
return DesignBody

CreateHelixAroundCurve() public static method

public static CreateHelixAroundCurve ( this curveSegment, double turns, double radius, double pointCount ) : CurveSegment
curveSegment this
turns double
radius double
pointCount double
return CurveSegment

CreatePolygon() public static method

public static CreatePolygon ( IList inputPoints, Plane plane, double thickness ) : Body
inputPoints IList
plane Plane
thickness double
return Body

CreatePolygon() public static method

public static CreatePolygon ( IList inputPoints, double thickness ) : Body
inputPoints IList
thickness double
return Body

CreatePolygon() public static method

public static CreatePolygon ( IList inputPoints, Plane plane, double thickness, IPart part ) : DesignBody
inputPoints IList
plane Plane
thickness double
part IPart
return DesignBody

CreatePolygon() public static method

public static CreatePolygon ( IList inputPoints, double thickness, IPart part ) : DesignBody
inputPoints IList
thickness double
part IPart
return DesignBody

CreatePolygon() public static method

public static CreatePolygon ( IList inputPoints, IPart part ) : IList
inputPoints IList
part IPart
return IList

CreatePolygon() public static method

public static CreatePolygon ( IList points ) : IList
points IList
return IList

CreateRevolvedCurve() public static method

public static CreateRevolvedCurve ( System.Line axis, ITrimmedCurve curve ) : Body
axis System.Line
curve ITrimmedCurve
return Body

CreateSausage() public static method

public static CreateSausage ( SpaceClaim.Api.V10.Geometry.Point point1, SpaceClaim.Api.V10.Geometry.Point point2, double diameter, IPart part ) : DesignBody
point1 SpaceClaim.Api.V10.Geometry.Point
point2 SpaceClaim.Api.V10.Geometry.Point
diameter double
part IPart
return DesignBody

CreateSphere() public static method

public static CreateSphere ( SpaceClaim.Api.V10.Geometry.Point center, double diameter ) : Body
center SpaceClaim.Api.V10.Geometry.Point
diameter double
return Body

CreateSphere() public static method

public static CreateSphere ( SpaceClaim.Api.V10.Geometry.Point center, double diameter, IPart part ) : DesignBody
center SpaceClaim.Api.V10.Geometry.Point
diameter double
part IPart
return DesignBody

CreateTorus() public static method

public static CreateTorus ( SpaceClaim.Api.V10.Geometry.Point center, Direction axis, double minorDiameter, double majorDiameter, IPart part ) : DesignBody
center SpaceClaim.Api.V10.Geometry.Point
axis Direction
minorDiameter double
majorDiameter double
part IPart
return DesignBody