Changelog v0.1.1: Now you can disable on the fly calculation (useful if you try to convert complicated curves) v0.1.1: You can now choose how many times to perform the beautify fill operator
v0.1.0: It’s actually an addon now
v0.0.3: Now it is possible to convert directly a text object, without converting it to a curve first
Instructions Note: For github, or preview releases, refer to the readme.txt file
Copy the script text and put it in a file called “curve_to_uniform_mesh.py”
Go to File->User Preferences
Switch to the Add-Ons tab
Press the “Install Add-On…” button and open the “curve_to_uniform_mesh.py” file
Select a bezier curve or a text object in your scene
Press space in your 3d window and search for “Convert Curve to Uniform Mesh”
Play around with the settings, which appear in the bottom part of the tool-shelf
Hint: Switch to wireframe mode, in order to see how the geometry looks like
Known issues:
As of now, the script uses the default blender operators to generate the interior mesh. This might work for thin text, but looks absolutely horrible for thicker objects like a simple circle
Todo:
Convert an extruded and beveled text (or curve) into a mesh, taking in account also curve offset
I think the next step is to generate a better interior mesh
First of all thank you for all your positive feedback. In the next days I will definitely clean up the code a little, and maybe I’ll figure out a way to embed it in the UI or even make a plug-in out of it. Currently my script just relies on 2 parameters, one for the precision of the length estimation (shouldn’t be visible for the end user I think) and one for the actual density of the geometry (vertices per unit).
One of the biggest limitations of the script right now, is that it does not add any intermediate geometry, and therefore applying my code to, say, a circle, yields messy results… I’ll have to figure out something for that case.
As said before, feedback is well appreciated
i did a first panel with an operator button to execute your script
but i got a problem with the spline line
try it and see if you can find why it’s doing this error!
Thank you RickyBlender for your help. I had a look at it and cleaned it up a bit. Also the error is now gone!!!
Here is the updated version: http://www.pasteall.org/17221/python
thank you very much I was looking for this few years
as some feedback - after script running I can set value, but executing gives no result
(OS X 10.5.8, blender 2.55 official and 33330 version)
(I’m not sure if they are working in last 2.49b version at all)
If I understood well to this script - more “clean” filling is better if I need deform mesh.
Does it good for something else? Does your script produce some net too?
And what kind of a net is the best for mesh deforming
(i’m not asking for manual topology )
@vklidu. The second script does work, just open the tool bar “T” key in the 3d windows. At the bottom under mesh tools and such, you’ll see the properties and a Execute button.
Hi, I did a fast visual comparison between cinema regular grid algorithm, this mesh conversion script and blender original… this script seems to be the more consistent one, at least for type.
@crazycourier: that’s what I wrote
the first works - after run script a got result
the second with UI I got it in tool bar, I can change value, but execute did nothing (written in #10)