I am trying to model a pile (box) of hay. I randomly populated a solid and made the curves wiggle but the next step is out of my ability. I am a beginner.
What I would like to be able to do is randomly move each end point, within a specified domain, in the xyz axis so that they look like natural pieces of hay. It would be nice if the min and max distance from the start points to the end points could be set so that they would all be roughly the same size. Right now every "piece" of hay points directly up and down. It is fine if they intersect but they should stay as curves, no thickness.
If you could provide any help, it would be much appreciated. The amount of hay will be increased after the issues are resolved. I will continue to work on this as well.
Geoffery Phung
3D populated bounding box for the hay box and points.
Vector direction for the curves.
Care not to have them point outwards off the box. (eg, if curve touch boundary of box, hay direction is inverse?)
-->Would be nice if you can control curve path
(Sorry if this is no help at this point, found this could be interesting since I'm new as well, just pinning myself in)
Sep 10, 2015
Student Scott
Update: I was able to complete what I needed to do. I'll provide the script if anyone finds that they need it. Everything is grouped and labeled. I tried to make it as clean as possible.
This script randomly populates a bounded box with curves. Their length is within a certain domain. The curves are then rotated randomly in three dimensions around their midpoints.
Sep 12, 2015