Jump to content

Pscale/attributes along branching curves


bentway23

Recommended Posts

Hullo--I'm having an issue with something that I suspect can be easy--I'm making branching splines (vein-like) using find shortest path. I want the pscales to be biggest in the middle of the branches and smaller at the ends (like remapping a curveu on a single line). The closest I've come is shortest path-->fuse-->polypath-->edge transport from point 0 (which seems to default to a central point with branching), promoting @dist to min/max details, and fitting the dist between those to use as my 0-1 which I remap. This works great for the farthest points in the branches, but for the shorter branches the end pscales don't go to 0. I tried setting end points to @pscale = 0 and attrib blurring it, but that didn't do the trick. I assume this is the same trick to make branching/tree sweeps on L-systems, but it's eluding me. What am I missing? Here is the line alone and with spheres copied on points to visualize pscales.
 

veins.JPG

Capture.JPG

Link to comment
Share on other sites

This was helpful, thanks. I was actually able to accomplish this with some attribute promoting and fitting of the cost attributes output by the find shortest paths.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...