## ![](https://img.kancloud.cn/17/e7/17e7d424de43c598b3b88fde1b3737b5_101x76.png)
**介绍:**
打包输入端
**知识点:**
1. 这个电池常与Cluster Output连用,涉及到一个GH的功能叫做打包电池组,意思是我们可以把常用的电池组合制作成电池的样式,方便以后直接调用,我们以地形高程分析举例大概分为以下几步:
(1)将要预留的输入端和输出端分别连接Cluster Input和Cluster Output,个数可根据预留端口个数自定。
![](https://img.kancloud.cn/eb/bc/ebbc6a26f17c9d75da6389ba89489d97_936x266.png)
(2)全选后中键点击Cluster图标。
![](https://img.kancloud.cn/71/f3/71f3896c5a0ef5f4faaef032e013bdef_979x367.png)
(3)右键点击输入输出端可以更改名称方便识别。
![](https://img.kancloud.cn/06/20/062000968edb6f56f15cde4cdf4db3bb_330x260.png)
(4)选中打包电池,再点击文件菜单中的Create User Object,设置名称和菜单后就可以将这个打包电池放到GH菜单栏了,我们这里将它放到了默认的User菜单里,你也可以放到其他常用的菜单里。
![](https://img.kancloud.cn/d8/2b/d82b7696924468ea5db5fa7dac71ba55_643x443.png)
![](https://img.kancloud.cn/a8/5f/a85febd44d1bc31685c1b45b34541d7b_512x218.png)
(5)直接调用输入相关内容就能使用。
![](https://img.kancloud.cn/56/b7/56b7914b86c6e4779a7c36c37a6687da_769x372.gif)
2. 右键菜单的说明:
(1)Edit Cluster——进入电池内部进行修改,双击电池也可以。
(2)Properties——更改图标,添加名称等信息。
(3)Assign Password——设置密码。
(4)Explode Cluster——炸开,可以直接恢复到没有连接Cluster Input/Output的状态。
3. 为了简便,我们也可以将容器电池视为Cluster Input/Output直接打包,但是会出现电池端口不够简洁的情况,比如下图中输入端有两个M端。
![](https://img.kancloud.cn/0a/7d/0a7d2c9f58faa836db14979d1572eb61_963x373.gif)
4. 相关实际应用可参考米营社B站的的这个教程。
[一键生成系列——道路分级](https://www.bilibili.com/video/BV1JW4y1b7yX?spm_id_from=333.999.0.0)
![](https://img.kancloud.cn/9d/7b/9d7bdf41cfea043d5eaea80e9798b5e0_166x106.png)
- 简介
- 序言
- 版权证书
- 词典版本对比
- GH原生电池详解(常用311个)
- Params类
- Geometry组
- Point
- Curve
- Brep
- Mesh
- Surface
- Geometry
- Primitive组
- Integer
- Number
- Text
- Data
- File Path
- Input组
- Number Slider
- Panel
- Boolean Toggle
- Button
- Color Swatch
- Gradient
- Graph Mapper
- Image Sample
- Import SHP
- Util组
- Param Viewer
- Scribble
- Data Recorder
- Cluster Input
- Cluster Output
- Galapagos
- Gene Pool
- Maths类
- Domain组
- Construct Domain
- Deconstruct Domain
- Bounds
- Consecutive Domains
- Find Domain
- Includes
- Remap Numbers
- Divide Domain²
- Operators组
- Addition
- Division
- Multiplication
- Negative
- Power
- Subtraction
- Absolute
- Integer Division
- Modulus
- Mass Addition
- Mass Multiplication
- Equality
- Larger Than
- Similarity
- Smaller Than
- Polynomials组
- Cube
- Square
- One Over X
- Script组
- Evaluate
- Expression
- Trig组
- Cosine
- Sine
- Tangent
- Degrees
- Radians
- Util组
- Golden Ratio
- Pi
- Maximum
- Minimum
- Round
- Average
- Smooth Numbers
- Sets类
- List组
- Insert Items
- List Item
- List Length
- Partition List
- Shift List
- Sort List
- Split List
- Sub List
- Dispatch
- Null Item
- Pick'n'Choose
- Weave
- Sequence组
- Cull Index
- Cull Pattern
- Random Reduce
- Duplicate Data
- Fibonacci
- Range
- Repeat Data
- Series
- Jitter
- Random
- Sets组
- Create Set
- Member Index
- Replace Members
- Delete Consecutive
- Find similar number
- Text组
- Concatenate
- Text Split
- Replace Text
- Sort Text
- Tree组
- Clean Tree
- Flatten Tree
- Graft Tree
- Tree Statistics
- Entwine
- Explode Tree
- Flip Metrix
- Merge
- Path Mapper
- Shift Paths
- Stream Filter
- Stream Gate
- Tree Branch
- Replace Paths
- Vector类
- Grid组
- Rectangular
- Square
- Populate 2D
- Populate 3D
- Populate Geometry
- Plane组
- Deconstruct Plane
- XY Plane
- XZ Plane
- YZ Plane
- Construct Plane
- Line + Line
- Line + Pt
- Plane Normal
- Plane Origin
- Align Plane
- Align Planes
- Point组
- Construct Point
- Deconstruct
- Distance
- Closest Point
- Closest Points
- Cull Duplicates
- Project Point
- Pull Point
- Vector组
- Deconstruct Vector
- Vector XYZ
- Unit X
- Unit Y
- Unit Z
- Amplitude
- Angle
- Vector 2Pt
- Vector Length
- Curve类
- Analysis组
- Deconstruct Arc
- End Points
- Polygon Center
- Curve Closest Point
- Discontinuity
- Curve Frame
- Evaluate Curve
- Horizontal Frame
- Perp Frame
- Point On Curve
- Length
- Point In Curve
- Point in Curves
- Division组
- Contour(ex)
- Curve Contour
- Dash Pattern
- Divide Curve
- Divide Distance
- Divide Length
- Shatter
- Curve Frames
- Horizontal Frames
- Perp Frames
- Primitive组
- Line
- Line SDL
- Circle
- Ellipse
- Polygon
- Rectangle
- Spline组
- Interpolate
- Nurbs Curve
- PolyLine
- Iso Curve
- Sub Curve
- Tween Curve
- Util组
- Explode
- Extend Curve
- Flip Curve
- Join Curves
- Fillet
- Offset Curve
- Project
- Smooth Polyline
- Surface类
- Analysis组
- Brep Edges
- Deconstruct Brep
- Dimensions
- Area
- Volume
- Brep Closest Point
- Surface Closest Point
- Point In Brep
- Point In Breps
- Evaluate Surface
- Freeform组
- Surface From Points
- Boundary Surfaces
- Edge Surface
- Loft
- Loft Options
- Extrude
- Patch
- Pipe
- Sweep1
- Sweep2
- Primitive组
- Plane Surface
- Bounding Box
- Center Box
- Cylinder
- Sphere
- Util组
- Divide Surface
- Surface Frames
- Copy Trim
- Isotrim
- Brep Join
- Cap Holes
- Merge Faces
- Offset Surface
- Mesh类
- Analysis组
- Deconstruct Face
- Deconstruct Mesh
- Face Normals
- Mesh Edges
- Mesh Explode
- Face Boundaries
- Mesh Inclusion
- Mesh Area
- Mesh Closest Point
- Mesh Eval
- Mesh Volume
- Primitive组
- Construct Mesh
- Mesh Colours
- Mesh Quad
- Mesh Spray
- Mesh Triangle
- Mesh Box
- Mesh Pipe
- Mesh Plane
- Mesh Sphere
- Mesh Sweep
- Triangulation组
- Delaunay Mesh
- Substrate
- Voronoi
- Voronoi Cell
- MetaBall
- Quad Remesh
- Quad Remesh Settings
- TriRemesh
- Util组
- Mesh Brep
- Mesh FromPoints
- Settings(Custom)
- Settings(Quality)
- Settings(Speed)
- Simple Mesh
- Disjoint Mesh
- Mesh Join
- Mesh Shadow
- Smooth Mesh
- Mesh WeldVertices
- Intersect类
- Mathematical组
- Brep / Line
- Curve / Line
- Mesh / Ray
- Surface / Line
- Contour
- IsoVist
- IsoVist Ray
- Physical组
- Curve / Curve
- Curve / Self
- Multiple Curves
- Brep / Brep
- Brep / Curve
- Surface / Curve
- Surface Split
- Mesh / Curve
- Mesh / Mesh
- Shape组
- Solid Union
- Region Union
- Mesh Union
- Transform类
- Affine组
- Scale
- Scale NU
- Project
- Project Along
- Array组
- Box Array
- Curve Array
- Rectangular Array
- Euclidean组
- Mirror
- Move
- Orient
- Rotate
- Rotate 3D
- Rotate Axis
- Morph组
- Box Morph
- Surface Box
- Flow
- Sporph
- Util组
- Group
- Ungroup
- Display类
- Dimensions组
- Gradient Hatch
- Pattern Hatch
- Text Tag 3D
- Line Dimension
- Angular Dimension
- Graphs组
- Legend
- Preview组
- Create Material
- Custom Preview
- Dot Display
- Vector组
- Point List
- Vector Display
- Vector Display Ex
- 下载声明
- 联系作者