Documentation
¶
Index ¶
- func Circle(times int, radius, revolutions float64) []trs.TRS
- func CirclePoints(count int, radius float64) []vector3.Float64
- func FibonacciSphere(samples int, radius float64) []trs.TRS
- func FibonacciSpherePoints(samples int, offsetRadius float64) []vector3.Float64
- func FibonacciSpiral(samples int, radius float64) []trs.TRS
- func Mesh(mesh modeling.Mesh, transforms []trs.TRS) modeling.Mesh
- func Polygon(times, sides int, radius float64) []trs.TRS
- func Spline(curve curves.Spline, inbetween int) []trs.TRS
- func SplineExlusive(curve curves.Spline, inbetween int) []trs.TRS
- func TRS(input, transforms []trs.TRS) []trs.TRS
- type CircleNode
- type FibonacciSphereNode
- type FibonacciSpiralNode
- type Grid
- type GridNode
- type Line
- type LineNode
- type MeshNode
- type MeshSurface
- type SampleMeshSurfaceNode
- type SplineNode
- type TRSNode
- type Transformation
- type TransformationNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FibonacciSpherePoints ¶
func SplineExlusive ¶ added in v0.18.0
Like line, but we don't include meshes on the start and end points. Only the inbetween points
Types ¶
type CircleNode ¶ added in v0.10.0
type CircleNode struct {
Radius nodes.Output[float64]
Revolutions nodes.Output[float64]
Times nodes.Output[int]
}
func (CircleNode) Out ¶ added in v0.10.0
func (r CircleNode) Out(out *nodes.StructOutput[[]trs.TRS])
type FibonacciSphereNode ¶ added in v0.22.1
func (FibonacciSphereNode) Out ¶ added in v0.32.1
func (fpnd FibonacciSphereNode) Out(out *nodes.StructOutput[[]trs.TRS])
type FibonacciSpiralNode ¶ added in v0.22.1
func (FibonacciSpiralNode) Out ¶ added in v0.32.1
func (fpnd FibonacciSpiralNode) Out(out *nodes.StructOutput[[]trs.TRS])
type GridNode ¶ added in v0.27.1
type GridNode struct {
Rows nodes.Output[int]
Columns nodes.Output[int]
Width nodes.Output[float64]
Height nodes.Output[float64]
}
type Line ¶ added in v0.9.0
type LineNode ¶ added in v0.18.0
type LineNode struct {
Start nodes.Output[vector3.Float64]
End nodes.Output[vector3.Float64]
Samples nodes.Output[int] `description:"How many TRS matrices to produce"`
Exclusive nodes.Output[bool] `description:"If true, the start and end points are not included in the resulting array of TRS values"`
}
type MeshNode ¶ added in v0.18.0
func (MeshNode) Description ¶ added in v0.32.1
type MeshSurface ¶ added in v0.27.0
func (MeshSurface) TRS ¶ added in v0.27.0
func (ms MeshSurface) TRS() []trs.TRS
type SampleMeshSurfaceNode ¶ added in v0.27.1
type SampleMeshSurfaceNode struct {
Mesh nodes.Output[modeling.Mesh]
Attribute nodes.Output[string]
Samples nodes.Output[int]
Up nodes.Output[vector3.Float64]
}
func (SampleMeshSurfaceNode) Out ¶ added in v0.27.1
func (rnd SampleMeshSurfaceNode) Out(out *nodes.StructOutput[[]trs.TRS])
type SplineNode ¶ added in v0.18.0
func (SplineNode) Description ¶ added in v0.32.1
func (rnd SplineNode) Description() string
func (SplineNode) Out ¶ added in v0.32.1
func (r SplineNode) Out(out *nodes.StructOutput[[]trs.TRS])
type TRSNode ¶ added in v0.22.1
func (TRSNode) Description ¶ added in v0.32.1
type Transformation ¶ added in v0.22.2
func (Transformation) TRS ¶ added in v0.22.2
func (t Transformation) TRS() []trs.TRS
Click to show internal directories.
Click to hide internal directories.