Documentation ¶
Index ¶
- func CircleWithConstantThickness(sides int, thickness float64, path []vector3.Float64) modeling.Mesh
- func CircleWithThickness(sides int, thickness []float64, path []vector3.Float64) modeling.Mesh
- func ClosedCircleWithConstantThickness(sides int, thickness float64, path []vector3.Float64) modeling.Mesh
- func ClosedCircleWithThickness(sides int, thickness []float64, path []vector3.Float64) modeling.Mesh
- func ClosedShape(shape []vector2.Float64, path []vector3.Float64) modeling.Mesh
- func DirectionsOfPoints(points []vector3.Float64) []vector3.Float64
- func GetPlaneOuterPoints(center, normal, perpendicular vector3.Float64, radius float64, sides int) ([]vector3.Float64, []vector3.Float64)
- func Line(linePoints []LinePoint) modeling.Mesh
- func PathPoints(stencil []vector2.Float64, path []vector3.Float64) [][]vector3.Float64
- func PathPoints2(stencil []vector2.Float64, path []vector3.Float64) [][]vector3.Float64
- func Polygon(sides int, points []ExtrusionPoint) modeling.Mesh
- func ProjectFace(center, normal, perpendicular vector3.Float64, shape []vector2.Float64) ([]vector3.Float64, []vector3.Float64)
- func Shape(shape []vector2.Float64, path []vector3.Float64) modeling.Mesh
- type ExtrusionPoint
- type ExtrusionPointDirection
- type ExtrusionPointUV
- type LinePoint
- type PolygonNode
- type PolygonNodeData
- type ScrewNode
- type ScrewNodeData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CircleWithThickness ¶
func DirectionsOfPoints ¶ added in v0.10.0
func GetPlaneOuterPoints ¶
func PathPoints ¶ added in v0.10.0
func PathPoints2 ¶ added in v0.10.0
Types ¶
type ExtrusionPoint ¶
type ExtrusionPoint struct { Point vector3.Float64 Thickness float64 UV *ExtrusionPointUV Direction *ExtrusionPointDirection }
type ExtrusionPointDirection ¶ added in v0.9.0
type ExtrusionPointUV ¶ added in v0.9.0
type PolygonNode ¶ added in v0.17.0
type PolygonNode = nodes.StructNode[modeling.Mesh, PolygonNodeData]
type PolygonNodeData ¶ added in v0.17.0
type PolygonNodeData struct { Closed nodes.NodeOutput[bool] Sides nodes.NodeOutput[int] ThicknessScale nodes.NodeOutput[float64] Thickness nodes.NodeOutput[[]float64] Path nodes.NodeOutput[[]vector3.Float64] }
type ScrewNode ¶ added in v0.17.0
type ScrewNode = nodes.StructNode[modeling.Mesh, ScrewNodeData]
type ScrewNodeData ¶ added in v0.17.0
type ScrewNodeData struct { Line nodes.NodeOutput[[]vector3.Float64] Segments nodes.NodeOutput[int] Revolutions nodes.NodeOutput[float64] Distance nodes.NodeOutput[float64] UVs nodes.NodeOutput[primitives.StripUVs] }
Click to show internal directories.
Click to hide internal directories.