造物主
使用提供的参数创建特征,and sends them into the workspace for processing.
The Creator's interface allows you to select the desired type of geometry,然后输入将创建所需对象的坐标和/或参数。
输入端口
此变压器没有任何输入端口。
输出端口
所有创建的功能都通过此端口输出。
Parameters
此参数指定如何创建几何图形,使用下面列出的选项。您对此参数的选择决定了其他参数是启用还是禁用。
- 几何对象:此选项允许您创建在下面的几何体对象参数中指定的几何体类型。XML选项卡显示,默认情况下,对话框其他区域中定义的任何对象的XML表示形式。
- 二维坐标列表:从在“坐标列表参数”字段中输入的以空格分隔的X Y坐标列表创建二维几何图形。
- 三维坐标列表:从坐标列表参数字段中输入的以空格分隔的x y z坐标列表中创建具有z值的二维几何图形。
- 2D min / Max Box:从左下角和右上角创建边界框,specified as minx miny maxx maxy in the Coordinate List parameter field (for example: 0 0 10 10).
几何对象 | 描述 | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
无效的 | 创建没有几何图形的对象。对于某些应用程序,有这样一个对象是有用的;例如,使用csv编写器但要输出页眉或页脚时。 | |||||||||||||||||||||
点 | 在给定坐标处创建单点。 | |||||||||||||||||||||
Text | Creates a single text object at the given coordinates,使用文本字符串,高度和旋转。 | |||||||||||||||||||||
线 | 使用指定的坐标对创建单行对象。如果你想创建一个区域,使用多边形选项。即使指定第一个和最后一个坐标对相同,生成的对象的类型仍然是fme_line。 |
|||||||||||||||||||||
按中心点弧/按带端点的中心点弧 | Creates an arc using the specified parameters. primary radius参数指定主要半径的长度,and the secondary radius parameter specifies the length of the secondary radius.The start angle parameter specifies the start angle for the arc,从水平方向逆时针测量。“扫描角度”参数指定定义圆弧的椭圆上的度数,measured in degrees counterclockwise.The rotation parameter specifies the angle in degrees from the horizontal axis to the primary axis in a counterclockwise direction.可以通过将主半径和次半径设置为相同的长度并使用360度的扫描角度来创建圆。Optionally,弧可以有明确的端点分配给它。
|
|||||||||||||||||||||
Arc by 3 points | 使用指定的起点创建圆弧,mid point and end point. 中间点不需要正好在中间,但至少在弧的某个地方。 |
|||||||||||||||||||||
弧形隆起 | 使用指定的起点创建圆弧,端点和凸起值。凸起值必须介于-1.0和1.0之间,并指定两点之间圆弧的曲率。
|
|||||||||||||||||||||
Ellipse | 使用指定参数创建椭圆。为了创建一个圆,确保主轴和副轴的长度相同。 请注意,由此生成的椭圆是一个圆弧特征。并非所有变压器或输出特性类型都可以使用电弧特性,so you may need anArcStrokerto simplify it. |
|||||||||||||||||||||
盒子 |
在三维空间中创建二维矩形或矩形棱柱。It is defined by a minimum corner and a maximum corner,但不像矩形的脸,这两个坐标不能共享相同的X-,Y-或z值。 对于3D框,这两个角点明确地代表了一个独特的矩形棱镜,其中所有面都与坐标平面平行。如果第一个点是最小点,然后曲面法向从框中指出;否则,the box has been flipped inside-out and the surface normal points into the box.With conjunction of a 4×4 transformation matrix,方框可用于表示与坐标平面不平行的方框。这个矩阵可以存储仿射变换。 |
|||||||||||||||||||||
多边形 | Creates a polygon feature.与line选项的工作方式相同,但如果忘记关闭多边形,它会警告您。 | |||||||||||||||||||||
Rectangle Face |
创建平行于坐标平面(xy-)的优化矩形面表示,XZ-,或YZ平面)。 This face specifies its position by using two points,最小角和最大角。Because the face must lie parallel to a coordinate plane,角点共享一个公共坐标值。例如,if the rectangular face lies on the xy-plane,角点共享一个公共的Z值。此矩形面的表面法向取决于第一点和第二点的规格顺序,如下表所述。
曲面法向决定矩形面的方向;也就是说,表面法向点表示正面的方向。With conjunction of a 4×4 transformation matrix,a Rectangle Face can be used to represent rectangular faces that are not parallel to the coordinate planes.这个矩阵可以存储仿射变换。 |
|||||||||||||||||||||
Triangle Strip | 创建三角形条带,它是一系列相连的三角形面。 这些面由点列表中的三个连续点定义。前三个顶点(下面标记为v1,v2,V3)定义第一个三角形面。一个新的三角形是通过将下一个点与其两个直接前辈连接而形成的。也就是说,every additional point vi defines a new triangular face with vertices vi–2,Ⅵ- 1,和vi.例如,第二个三角形由v2定义,V3,V4,第三个是v3,V4,V5,等。下图说明了一个典型的三角形条带。
The orientation of the entire triangle strip is determined by the orientation of the first triangle.如果第一个三角形的顶点是逆时针排列的,then the front of the strip is displayed;否则,将显示条带的背面。If the triangle strip has been flipped,那么整个条带的前/后实际上与第一个三角形所示的相反。 |
|||||||||||||||||||||
三角扇 |
创建一个三角形风扇,它是一系列相连的三角形面。风扇与三角形条带的区别在于顶点定义面的方式。 前三个顶点(下面标记为v1,v2,V3)定义第一个三角形面。通过将下一个点与其前一个点和三角扇的第一个点连接,形成一个新的三角形。也就是说,every additional point vi defines a new triangular face with vertices v1,VI-1,和vi.例如,第二个三角形由v1定义,V3,V4,the third by v1,V4,V5,等。下图说明了一个典型的三角形风扇。
The orientation of the entire triangle fan is determined by the order of vertices of any triangle within the fan (all the triangles are already oriented in the same direction).按逆时针方向排列时,正面显示;否则,显示背面。 |
|||||||||||||||||||||
面对 | 在三维空间中创建平面区域。平面结构可以是多边形,椭圆或甜甜圈。 面的方向由以下规则确定:如果右手的手指沿着顶点的顺序卷曲,the direction that the thumb points to is the front of the face.This thumb direction also describes the surface normal of the face,从该区域向外垂直的向量。 曲线闭合方法:此方法控制曲线的闭合方式。It is applicable only if the first and last coordinates entered do not match X,Y or Z coordinate values.它确保起点和终点的坐标匹配,使其成为有效区域。 平均值:The current start and end points are each replaced by the average of the start and end points. 扩展:The start and end points are connected with no additional points. 延伸或平均:如果(并且仅当)起点和终点最多相差一个x,则使用平均方法关闭该区域。Y,或Z。否则,扩展方法用于关闭该区域。 |
|||||||||||||||||||||
习俗 |
Creates an object based on an XML representation. |
使用Z值创建二维几何图形或二维几何图形,取决于您在几何体源参数中的选择。Enter a space-delimited list of x y (z) coordinates.
This parameter allows you to set the coordinate system on the specified feature.从下拉列表中选择坐标系,或者单击“浏览”按钮从坐标系库中进行选择。If you leave this parameter blank,the coordinate system will not be set on the feature(s) created by this transformer.
此参数指定将创建多少功能。When more than one feature is created,由创建实例属性参数指定的属性将保留每个功能的创建编号(从0开始)。
“在末尾创建”确定是否在处理完所有读卡器功能后创建该功能(是),或者是否在处理第一个读卡器功能之前立即创建该功能(否)。
Features cannot be created in the data flow before any reader reads anything,since the data flow is driven by features arriving from the reader.
在极少数情况下,您可能希望创建者在处理其他功能之前具体操作。
此处显示的工作区正在尝试通过可变电位器和VariableRetriever.问题是,FME的数据流设计不考虑多个特征路径,因此,不管是什么设置在末端创建参数,创建者总是在读卡器之后创建其功能。
然而,if you specifically want the Creator to create a feature first,您可以将它包含在与读卡器功能相同的数据流中。
测试仪同时添加到创建者数据流和读卡器数据流:
在下面显示的修改后的工作区中,来自创建者数据流的功能将通过测试仪的失败端口丢弃,来自读卡器数据流的功能将继续–但是,现在将在创建者之前或之后处理这些功能,根据选择的设置在末端创建参数。
When more than one feature is created (see the要创建的编号上述参数)this attribute will hold each feature's creation number (starting from 0).
编辑变压器参数
使用一组菜单选项,可以通过引用工作区中的其他元素来指定变压器参数。More advanced functions,例如高级编辑器和算术编辑器,也可用于一些变压器。要访问这些选项的菜单,点击beside the applicable parameter.更多信息,看见变压器参数菜单选项.
Transformer Categories
Search FME Knowledge Center
在上搜索有关此变压器的示例和信息FME Knowledge Center.
标签关键词:2dcreator 3dcreator creator3d