Documentation
¶
Index ¶
- func Circle(times int, radius 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 CircleNodeData
- type FibonacciSphereNode
- type FibonacciSphereNodeData
- type FibonacciSpiralNode
- type FibonacciSpiralNodeData
- type Line
- type LineNode
- type LineNodeData
- type MeshNode
- type MeshNodeData
- type SplineNode
- type SplineNodeData
- type TRSNode
- type TRSNodeData
- type Transformation
- type TransformationNode
- type TransformationNodeData
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 = nodes.Struct[CircleNodeData]
type CircleNodeData ¶ added in v0.11.0
func (CircleNodeData) Out ¶ added in v0.23.0
func (r CircleNodeData) Out() nodes.StructOutput[[]trs.TRS]
type FibonacciSphereNode ¶ added in v0.22.1
type FibonacciSphereNode = nodes.Struct[FibonacciSphereNodeData]
type FibonacciSphereNodeData ¶ added in v0.22.1
func (FibonacciSphereNodeData) Out ¶ added in v0.23.0
func (fpnd FibonacciSphereNodeData) Out() nodes.StructOutput[[]trs.TRS]
type FibonacciSpiralNode ¶ added in v0.22.1
type FibonacciSpiralNode = nodes.Struct[FibonacciSpiralNodeData]
type FibonacciSpiralNodeData ¶ added in v0.22.1
func (FibonacciSpiralNodeData) Out ¶ added in v0.23.0
func (fpnd FibonacciSpiralNodeData) Out() nodes.StructOutput[[]trs.TRS]
type Line ¶ added in v0.9.0
type LineNode ¶ added in v0.18.0
type LineNode = nodes.Struct[LineNodeData]
type LineNodeData ¶ added in v0.18.0
type LineNodeData struct {
Start nodes.Output[vector3.Float64]
End nodes.Output[vector3.Float64]
Samples nodes.Output[int]
Exclusive nodes.Output[bool]
}
func (LineNodeData) Out ¶ added in v0.23.0
func (r LineNodeData) Out() nodes.StructOutput[[]trs.TRS]
type MeshNode ¶ added in v0.18.0
type MeshNode = nodes.Struct[MeshNodeData]
type MeshNodeData ¶ added in v0.18.0
func (MeshNodeData) Description ¶ added in v0.21.0
func (rnd MeshNodeData) Description() string
func (MeshNodeData) Out ¶ added in v0.23.0
func (rnd MeshNodeData) Out() nodes.StructOutput[modeling.Mesh]
type SplineNode ¶ added in v0.18.0
type SplineNode = nodes.Struct[SplineNodeData]
type SplineNodeData ¶ added in v0.18.0
func (SplineNodeData) Description ¶ added in v0.21.0
func (rnd SplineNodeData) Description() string
func (SplineNodeData) Out ¶ added in v0.23.0
func (r SplineNodeData) Out() nodes.StructOutput[[]trs.TRS]
type TRSNode ¶ added in v0.22.1
type TRSNode = nodes.Struct[TRSNodeData]
type TRSNodeData ¶ added in v0.22.1
func (TRSNodeData) Description ¶ added in v0.22.1
func (rnd TRSNodeData) Description() string
func (TRSNodeData) Out ¶ added in v0.23.0
func (rnd TRSNodeData) Out() nodes.StructOutput[[]trs.TRS]
type Transformation ¶ added in v0.22.2
func (Transformation) TRS ¶ added in v0.22.2
func (t Transformation) TRS() []trs.TRS
type TransformationNode ¶ added in v0.22.2
type TransformationNode = nodes.Struct[TransformationNodeData]
type TransformationNodeData ¶ added in v0.22.2
type TransformationNodeData struct {
Initial nodes.Output[trs.TRS]
Transformation nodes.Output[trs.TRS]
Samples nodes.Output[int]
}
func (TransformationNodeData) Out ¶ added in v0.23.0
func (rnd TransformationNodeData) Out() nodes.StructOutput[[]trs.TRS]
Click to show internal directories.
Click to hide internal directories.