Body Class |
Namespace: ABB.Robotics.RobotStudio.Stations
public sealed class Body : ProjectObject, IHasTransform, ISupportCopy, IHasGeometry
The Body type exposes the following members.
Name | Description | |
---|---|---|
Attributes |
Returns a collection of dynamic attributes attached to the object
(Inherited from ProjectObject.) | |
BodyType | Returns the type of the body. | |
CenterOfGravity |
Gets the center of gravity of the body as a Vector3.
| |
Children |
Enumerates all child objects.
(Inherited from ProjectObject.) | |
Color |
Gets or sets the body color in the graphics.
| |
ContainingProject |
Returns the Project that this object is a part of, or null if it is
not part of a Project.
(Inherited from ProjectObject.) | |
DisplayName |
Gets the name of the the object that should be displayed in the GUI.
(Inherited from ProjectObject.) | |
Faces |
Gets a FaceCollection that contains all the faces in the body.
| |
MomentOfInertia |
Gets the moment of inertia of the body as a Matrix3.
| |
Name |
Gets or sets the name of the object.
(Overrides ProjectObjectName.) | |
Opacity |
Gets or sets the opacity of the body
| |
Parent |
Gets the parent object of the body.
(Overrides ProjectObjectParent.) | |
PrimitiveSize |
Gets the dimensions of the body if the PrimitiveType is known.
| |
PrimitiveType |
Gets the type of primitive for a body that was created by a method such as CreateSolidBox(Matrix4, Vector3).
| |
Shells |
Gets a ShellCollection that contains all the shells in the body.
| |
SurfaceArea |
Gets the surface area of the body.
| |
Transform |
Gets the transform object of the body.
| |
TypeDisplayName |
Gets a localized name for the type of this object.
(Inherited from ProjectObject.) | |
UIVisible |
Gets or sets a value that indicates if this object should be displayed in GUI
such as an object browser.
(Inherited from ProjectObject.) | |
UniqueId |
Gets a persisted, globally unique identifier for this object, that can be used
to find the object using the GetObjectFromUniqueId(String) method.
(Inherited from ProjectObject.) | |
Visible |
Gets or sets whether the body should be visible in the graphics or not.
| |
Volume |
Gets the volume of the body.
| |
Wires |
Gets a WireCollection that contains all the wires in the body.
|
Name | Description | |
---|---|---|
Check | Checks a body's geometry, topology, and data structure for errors. | |
Check(String) | Checks a body's geometry, topology, and data structure for errors. | |
Copy | Creates a copy of the body. | |
CreateArc | Creates a new Body consisting of one single wire.
The wire will start at the start position go via the circumference position and end in the end position | |
CreateBorderAroundFace | Creates a new Body consisting of the curve at the circumfence of a Face. | |
CreateBorderFromPoints | Creates a new Body consisting of the curve defined by the body and the points. | |
CreateCircle | Creates a new Body consisting of one single circle shaped wire. | |
CreateCubicSplineCurve |
Creates a wire body by interpolating or fitting curve to the specified control points.
| |
CreateEllipse | Creates a new Body consisting of one single ellipse shaped wire. | |
CreateEllipticArc | Creates a new Body consisting of one single elliptical arc shaped wire. | |
CreateFromFace |
Creates a new Body consisting only of a copy of the given Face
| |
CreateIntersectionCurve(Body) | ||
CreateIntersectionCurve(Body, Body) | Creates a new Body consisting of the curve(s) at the intersection of two bodies. | |
CreateIntersectionCurve(Face, Face) | Creates a new wire Body consisting of the curve(s) at the intersection of two faces. | |
CreateLine | Creates a new Body consisting of one single line shaped wire. | |
CreateParametricCurveU | Creates a new wire Body consisting of the u-parametric curve(s) on the surface of the face. | |
CreateParametricCurveV | Creates a new wire Body consisting of the v-parametric curve(s) on the surface of the face. | |
CreatePolygon | Creates a new Body consisting of one single polygon shaped wire. | |
CreatePolygonFenceFromRays |
Creates a sheet body shaped as a polygon fence where the rays forms the fence posts.
| |
CreatePolyLine | Creates a new Body consisting of one single polyline wire. | |
CreateRectangle | Creates a new Body consisting of one single rectangle shaped wire. | |
CreateSheetBody |
Creates a sheet (non-solid) body from the given faces.
| |
CreateSolidBox | Creates a new Body consisting of a solid box. | |
CreateSolidCapsule |
Creates a new capsule (a cylinder with spherical endcaps).
| |
CreateSolidCone(Matrix4, Double, Double) | Creates a new Body consisting of a solid cone. | |
CreateSolidCone(Matrix4, Double, Double, Double) | Creates a new Body consisting of a solid elliptical cone. | |
CreateSolidCylinder(Matrix4, Double, Double) | Creates a new Body consisting of a solid cylinder. | |
CreateSolidCylinder(Matrix4, Double, Double, Double) | Creates a new Body consisting of a solid elliptical cylinder. | |
CreateSolidPyramid | Creates a new Body consisting of a solid pyramid. | |
CreateSolidSphere | Creates a new Body consisting of a solid sphere. | |
CreateSolidTorus | Creates a new Body consisting of a solid torus. | |
CreateSpline(Vector3, Double) | Creates a new Body consisting of one single spline wire. | |
CreateSpline(Vector3, Double, Boolean) | Creates a new Body consisting of one single spline wire. | |
CreateSplineFenceFromRays |
Creates a sheet body shaped as a spline fence where the rays forms the fence posts.
| |
CreateSurfaceCircle | Creates a new Body consisting of a surface circle. | |
CreateSurfaceFromCurve | Creates a new Body consisting of a surface defined by the curve. | |
CreateSurfacePolygon(Vector3) | Creates a new Body consisting of a surface polygon defined by a cirquit of vertices. | |
CreateSurfacePolygon(Vector3, Vector3, Int32) | Creates a new Body consisting of a surface polygon. | |
CreateSurfacePolygonWithHoles | Creates a new Body consisting of a surface polygon defined by outer and inner vertices. | |
CreateSurfaceRectangle | Creates a new Body consisting of a rectangle polygon. | |
CreateWireSlicesAlongWire |
Slices the input faces along the given Wire (using the planes defined by the Wire direction) and generates
a Body containing the resulting intersection Wires.
| |
Cut | Obsolete. | |
Cut2 | Creates an array of new Body(s) consisting of the cut of this body with the one provided. | |
Defeature | Removes features (holes, chamfers and blends). | |
Equals | (Inherited from Object.) | |
Extrude(Face, Vector3, Wire, SweepOptions) | Creates new Body(s) from the supplied Face in the given projection direction. | |
Extrude(Wire, Vector3, Wire, SweepOptions) | Creates new Bodys from the supplied Wire in the given projection direction. | |
FindClosestVertex | Returns the Vertex of the Body that is closest to the provided point. | |
FindFeatures | Finds features (holes, chamfers and blends) that satisfy specified conditions. | |
FindObjects |
Recursively finds object that satisfy a condition.
(Inherited from ProjectObject.) | |
GetHashCode | (Inherited from Object.) | |
GetMaterial |
Gets the Material of the graphical representation of the body.
| |
GetType | (Inherited from Object.) | |
Heal | Heals the Body (performs all phases of the healing process) using intelligently selected tolerances. | |
Intersect | Creates an array of new Body(s) consisting of intersection of this body and the the one provided. | |
IntersectWithBoundary |
Creates a sheet body containing copies of the faces of this body which are inside the specified boundary.
For faces which are are partially inside the boundary, the copy will be trimmed to fit inside the boundary.
| |
IsPointInside | Tests if a point is inside the body. | |
Join(Body) | Creates an array of new Body(s) consisting of the union of this body with the one provided. | |
Join(Body, Boolean) | Creates an array of new Body(s) consisting of the union of this body with the one provided. | |
JoinCurves(Wire) | Creates one or more bodies that consisting of one single wire
each. The source wires that are connected will be joined and separate
wires will result in new wire bodies.
| |
JoinCurves(Wire, Double) | Creates one or more bodies that consisting of one single wire
each. The source wires that are connected will be joined and separate
wires will result in new wire bodies.
| |
JoinEdges | Creates one or more bodies consisting of one edge each. The source edges that are connected,
or within the given tolerance, will be joined. The separate edged outside of the given tolerance will remain separated.
The result will be an array of edges.
| |
Mirror | Creates a new Body by mirroring this body. | |
MoveToPart |
Moves this Body to a new parent Part
| |
NormalizeTextureCoordinates |
Normalizes the texture coordinates of the graphical representation to the range [0-1].
| |
ProjectCurve | ||
ReplaceMaterial |
Replaces one Material in the graphical representation with another.
| |
Scale | Creates a new Body by scaling this body. | |
Separate | Creates an array of new Body(s) consisting of the disjunct lumps of this body. | |
SetMaterial(Material) |
Sets the Material of the graphical representation of the body.
| |
SetMaterial(Material, Boolean) |
Sets the Material of the graphical representation of the body.
| |
SplitCurve | Splits a wire at a position. The position is valid if it lies
closer than 10e-3 to the curve. If the split position is the same as any
of the endpoints of the wire, nothing will happen. | |
Sweep |
Creates new Body by sweeping the supplied Face around the given axis.
| |
ToString | (Inherited from ProjectObject.) | |
TrimCurve | Removes a section of a wire. The section is limited by a
startpoint and an endpoint, both adjacent to the wire. The start point
must be adjacent to the first edge in the supplied list, and the end point
must be adjacent to the last edge in the list. | |
TryCut | Creates an array of new Body(s) consisting of the cut of this body with the one provided. | |
TryIntersect | Creates an array of new Body(s) consisting of intersection of this body and the the one provided. | |
TryJoin | Creates an array of new Body(s) consisting of the union of this body with the one provided. |