| • | A simple rectangular face has one contour and four edges. |
| • | A contour will traverse a boundary so that the part face is always on the right-hand side (RHS). For an external contour the direction of traversal is clockwise. For an internal contour the direction of traversal is counterclockwise. |
| • | If a part is extruded from a sketch that has a U-shaped cross section there will be separate surfaces at each leg of the U-channel. |
| • | If a part is extruded from a sketch that has a square-shaped cross section, and a slot feature is then cut into the part to make it look like a U-channel, there will be one surface across the legs of the U-channel. The original surface of the part is represented as one surface with a cut through it. |
| • | Surface—An ideal geometric representation, that is, an infinite plane. |
| • | Face—A trimmed surface. A face has one or more contours. |
| • | Contour—A closed loop on a face. A contour consists of multiple edges. A contour can belong to one face only. |
| • | Edge—The boundary of a trimmed surface. |
| |
| |
| |
| 1. | Starting at the top-level model, use pfcModelItem.ModelItemOwner.ListItems with an argument of ModelItemType.ITEM_SURFACE. |
| 2. | Use pfcGeometry.Surface.ListContours to list the contours contained in a specified surface. |
| 3. | Use pfcGeometry.Contour.ListElements to list the edges contained in the contour. |

| • | LINE—A straight line represented by the class interfacepfcGeometry.Line. |
| • | ARC—A circular curve represented by the class interfacepfcGeometry.Arc. |
| • | SPLINE—A nonuniform cubic spline, represented by the class interfacepfcGeometry.Spline. |
| • | B-SPLINE—A nonuniform rational B-spline curve or edge, represented by the class interface pfcGeometry.BSpline. |
| • | COMPOSITE CURVE—A combination of two or more curves, represented by the class interfacepfcGeometry.CompositeCurve. This is used for datum curves only. |
| • | CIRCLE (pfcGeometry.Circle) |
| • | ELLIPSE (pfcGeometry.Ellipse) |
| • | POLYGON (pfcGeometry.Polygon) |
| • | ARROW (pfcGeometry.Arrow) |
| • | TEXT (pfcGeometry.Text) |
| |
| |
| |
| |
| • | CURVE_NO_FLIP |
| • | CURVE_FLIP |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| Note
The methods in the interface Edge provide information only for solid or surface edges.
|
| |
| |
| |
| Note
To get geometric information for an edge, access the CurveDescriptor object for one edge using pfcGeometry.GeomCurve.GetCurveDescriptor.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | CONTOUR_TRAV_INTERNAL—Specifies the traversal of the internal contours. |
| • | CONTOUR_TRAV_EXTERNAL—Specifies the traversal of the external contours. |

| • | PLANE—A planar surface represented by the class interface pfcGeometry.Plane. |
| • | CYLINDER—A cylindrical surface represented by the class interface IGeometry.Cylinder. |
| • | CONE—A conic surface region represented by the class interface pfcGeometry.Cone. |
| • | TORUS—A toroidal surface region represented by the class interfacepfcGeometry.Torus. |
| • | REVOLVED SURFACE—Generated by revolving a curve about an axis. This is represented by the class interface pfcGeometry.RevSurface. |
| • | RULED SURFACE—Generated by interpolating linearly between two curve entities. This is represented by the class interface pfcGeometry.RuledSurface. |
| • | TABULATED CYLINDER—Generated by extruding a curve linearly. This is represented by the class interfacepfcGeometry.TabulatedCylinder. |
| • | COONS PATCH—A coons patch is used to blend surfaces together. It is represented by the class interfacepfcGeometry.CoonsPatch. |
| • | FILLET SURFACE—A filleted surface is found where a round or fillet is placed on a curved edge or an edge with a non-consistant arc radii. On a straight edge a cylinder is used to represent a fillet. This is represented by the class interfacepfcGeometry.FilletedSurface. |
| • | SPLINE SURFACE— A nonuniform bicubic spline surface that passes through a grid with tangent vectors given at each point. This is represented by the classinterfacepfcGeometry.SplineSurface. |
| • | NURBS SURFACE—A NURBS surface is defined by basic functions (in u and v), expandable arrays of knots, weights, and control points. This is represented by the class interfacepfcGeometry.NURBSSurface. |
| • | CYLINDRICAL SPLINE SURFACE— A cylindrical spline surface is a nonuniform bicubic spline surface that passes through a grid with tangent vectors given at each point. This is represented by the class interfacepfcGeometry.CylindricalSplineSurface. |
| |
| |
| |
| |
| |
| |
| |
| |
| • | SURFACE_PLANE |
| • | SURFACE_CYLINDER |
| • | SURFACE_CONE |
| • | SURFACE_TORUS |
| • | SURFACE_RULED |
| • | SURFACE_REVOLVED |
| • | SURFACE_TABULATED_CYLINDER |
| • | SURFACE_FILLET |
| • | SURFACE_COONS_PATCH |
| • | SURFACE_SPLINE |
| • | SURFACE_NURBS |
| • | SURFACE_CYLINDRICAL_SPLINE |
| • | SURFACE_FOREIGN |
| • | SURFACE_SPL2DER |
| • | SURFACEORIENT_NONE—Surface that does not need orientation. For example, a solid surface needs orientation and therefore cannot be specified. |
| • | SURFACEORIENT_OUTWARD—Surface that has oriented outward away from the solid model. du X dv points outward. |
| • | SURFACEORIENT_INWARD—Surface that has oriented inward toward the solid model. du X dv points inward. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | Small lines—For edges and curves. |
| • | Triangles—For surfaces and solid models. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | AngleControl—Regulates the amount of additional improvement provided along curves with small radii. Specify a value from the range 0.0 to 1.0. |
| • | StepSize—Controls the fineness of the triangulations for all surfaces. The values range from five times of the model accuracy to the model size with a default value of (model size)/30. |
| • | Projection—Specifies the parameters used to calculate the UV projection for the texture mapping. The types of UV projection are defined
in the enumerated class type wfcGeometry.SurfaceTessellationProjection and are as follows:
|
| • | CsysData—Specifies the coordinate system data, including the transformation matrix, origin, and axes information. |
| • | ChordHeight—Specifies the maximum distance between a chord and a surface. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | XAxis—Specifies the X-axis of the coordinate system. |
| • | YAxis—Specifies the Y-axis of the coordinate system. |
| • | ZAxis—Specifies the Z-axis of the coordinate system. |
| • | Origin—Specifies the origin of the coordinate system. |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| • | XAxis—Specifies the X-axis of the coordinate system. |
| • | YAxis—Specifies the Y-axis of the coordinate system. |
| • | ZAxis—Specifies the Z-axis of the coordinate system. |
| • | Origin—Specifies the origin of the coordinate system. |
| |
| |
| |
| |
| |
| |
| • | ApertureRadius—Specifies the aperture value in pixels. If you give a value less than –1.0, the value is taken from the Creo configuration file option pick_aperture_radius. If that option is not set, the function uses the default value of 7.0. |
| • | Ray—Specifies the ray. A ray is specified in terms of a start location and direction vector as a Ray object. The method wfcModel.wfcModel.Ray_Create creates a data object that contains information related to the ray. Use the method wfcModel.Ray.SetPoint to set the starting point for the ray. The method wfcModel.Ray.GetPoint returns the starting point of the ray.
The method wfcModel.Ray.SetVector sets the direction vector for the ray. Use the method wfcModel.Ray.GetVector to get the direction vector.
|
| |
| |
| |