I implemented two more operators which convert hair and edge loops 1:1 :
“Save Particle Hair to Mesh” and “Restore Particle Hair from Mesh”
Note:
To use the save operator: Select a mesh object and activate the particle system, then apply the operator.
To use the restore operator: Select the hair mesh first and then the target, activate the particle system in the target and apply the operator.
Unlike the “convert” button in the particle system modifier the “Save Particle Hair to Mesh” does take the raw particle keys and not the viewport representation (no children, no splines or other effects).
Blender 2.80 is still very buggy when it comes to hair so if you want to render the restored hair you can not use any topology modifiers like mirror or subdivision.
These two operators are not implemented in 2.79 yet
I also successfully transplanted hair from one mesh to another (and across different files) using these new operators.
This is an amazing tool, I was able to lazy convert a hair mesh out of planes into curves with Blender tools and then use your particle hair from curves and I got a quick result. HairNet is good too but refused to do this. Keep up the great work please!
This is fantastic! Exactly what I needed thank you!
Just one small thing, do you know how to make the tips of the hair taper? (like for example a tube, the outer point would be tapered in) but when you generate the hair for it, the hairs are really spread out instead of confined to the mesh
I added a Panel to the addon, and I placed in Sidebar > Create Tab, the addon works fine in 2.82a release but in 2.83 Alpha when you push the ‘Particle Hair from Guides’ button, Blender crash, I suppose that they have made changes in API.
You are right. However, my add-on alone also crashes, even without your modifications.
I think they introduced a bug which is related to multi threading and bpy.ops.particle.brush_edit. I will have to investigate it further and report the bug, if it is not already.
I’m want to try to use this but i don’t know how to make it works.
I’ve tried installing the addons but i can’t seen any panel anywhere (even with the “panel” version).
I don’t understand the explications in the readme either. Is there a comprehensive guide on how to use this somewhere ??
Ok, i’m startint to make it work.
For my project i have a character with hair made from beveled paths (curves), so there is certain points of the paths that are scaled to shape the hair as i want.!
You get the customization panel once you applied the operator (select guide first, then the emitter object and search for the operator).
The guide curve does not need to be converted manually, the add-on does that internally.
For now, it only works with extrude (blue) not bevel (red), which will create flat ribbons.
But, it is certainly an interesting idea to use bevel to get a cylindrical hair bunch / cluster.
I will look into it and try to add that feature to the add-on.
I reorganized the options in groups of 5 pairs. The first option in each pair controls the tangent and the second the normal. I also added 2 bias options to the 3 existing spacial randomness options.
Setting a negative uniform bias for the normal (second field of the pair) should be able to fill out the hollow bundles.
Hey, I really like your addon, it’s just amazing!
There is only one thing that would make it perfect:
How about one more option that does pretty much the same thing as Rand at root tangent, but does it for each hair vertex step (each “edge loop”) separate and relative to the middle point of the “edge loop” (just calculate the average point of the loop)? It would randomly distribute the Hair inside the cross-section of a 3d mesh (but would also work/not break with flat planes). This would basically allow us to generate volumetric hair from a single 3d mesh with volume…
You would just have to make the relative probability go down the further it gets to the middle, so it generates an evenly distributed slice from a cylinder and not many more hairs in the middle.
I don’t know if you are actually still maintaining this addon (2.90 support would be great ;D) or how fast you reply, so I will start testing if this could work by modifying the addon now, and if it actually does I can send you the modifications.
Hi, thanks for the proposal.
But, I am not sure if I understand correctly.
Can’t you already create volumetric hair from cylindric meshes using a negative uniform bias for the normal?