コード例 #1
0
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddIntegerParameter("Vertex Indices", "v_i", "Indexes of the vertexes of the mesh. If compact will be a list from 1 to n, where is number of vertices.", GH_ParamAccess.list);
     pManager.AddPointParameter("Vertices", "v", "Vertices of the mesh", GH_ParamAccess.list);
     pManager.AddIntegerParameter("Face Indices", "f_i", "Indexes of the Faces of the mesh. If compact will be a list from 1 to n, where is number of faces.", GH_ParamAccess.list);
     pManager.AddMeshFaceParameter("Faces", "f", "Faces of the mesh", GH_ParamAccess.list);
     pManager.AddColourParameter("Colours", "col", "Vertiex Colours of the mesh", GH_ParamAccess.list);
 }
コード例 #2
0
 /// <summary>
 /// Registers all the output parameters for this component.
 /// </summary>
 protected override void RegisterOutputParams(GH_Component.GH_OutputParamManager pManager)
 {
     pManager.AddPointParameter("", "point", "", GH_ParamAccess.list);
     pManager.AddBrepParameter("", "surface", "", GH_ParamAccess.list);
     pManager.AddBrepParameter("", "solid", "", GH_ParamAccess.list);
     pManager.AddMeshFaceParameter("", "mesh", "", GH_ParamAccess.list);
     pManager.AddCurveParameter("", "nurbs", "", GH_ParamAccess.list);
     pManager.AddCurveParameter("", "line", "", GH_ParamAccess.list);
     pManager.AddCurveParameter("", "polyline", "", GH_ParamAccess.list);
     pManager.AddCurveParameter("", "circle", "", GH_ParamAccess.list);
     pManager.AddCurveParameter("", "arc", "", GH_ParamAccess.list);
     pManager.AddCurveParameter("", "ellipse", "", GH_ParamAccess.list);
     pManager.AddGeometryParameter("", "others", "", GH_ParamAccess.list);
 }