generate_fibers_on_mesh
Creates a fibers object by generating a set of points on an underlying Polygon_mesh or Triangle_mesh and growing fibers from these locations.
arguments
- "fiber_count" : Uint32 (default: 10000)
The number of fibers to be generated.
- "fiber_direction" : Float32<2> (default: Float32<2>(
- x: 0.2
- y: 0
Bias of the fiber in the U and V directions.
- "fiber_end_radius" : Float32 (default: 0.005)
The radius of each fiber at the tip.
- "fiber_max_length" : Float32 (default: 1)
The maximum length of each generated fiber.
- "fiber_min_length" : Float32 (default: 1)
The minimum length of each generated fiber.
- "fiber_randomness" : Float32 (default: 0.2)
The amount of random variation between properties of each fiber.
- "fiber_segment_count" : Uint32 (default: 10)
The number of segments in each generated fiber.
- "fiber_start_radius" : Float32 (default: 0.01)
The radius of each fiber at the root.
- "fibers_name" : String
Name of the Fibers element that will be created by this command.
- "mesh_name" : String
Name of the Polygon_mesh or Triangle_mesh on which to generate the set of points used to grow the fibers.
return value
VoidVoid.