You are not logged in.
i have a png with one colour and transperency (black/white drawing)
i want to make a mesh out of it to be used in povray or blender.
is there a way to do it automatically?
i searched the web but every resource i found tells me how to export a rendering graphics to png :-(
thanx in advance
The impossible missions are the only ones which succeed.
Offline
one step closer: i managed to convert it to an xfig drawing using autotrace ... now it's vectorized ... what now?
The impossible missions are the only ones which succeed.
Offline
one step closer: i managed to convert it to an xfig drawing using autotrace ... now it's vectorized ... what now?
there is a set of scripts which are available from the web or also somwhere in the endless ranges of www. If you are not sure, download the statically linke dversion of blender, it's also included in their tarball.
copy the directory scripts and bpydata to ~/.blender/scripts and ~/.blender/bpydata maybe also the Bpymenus file to ~/.blender. Note there seems no way to make this stuff available systemwide, at least I didn't find one
now open blender, use the button you find in every window in the lower most left corner, press it and select "Scripts" then use the new "Scripts" menu entry in this window , select import->paths and choose the file format you want. It doesn't always work and I found eps and ai more relaiable that svg for this job.
good luck,
neri
Offline
neri, thank you very much for the explaination
i searched the www ... what i found is here:
http://www.blender3d.com/cms/Import___Export.5.0.html
http://www.janw.gothere.uk.com/import.html
http://www-users.cs.umn.edu/~mein/blend … rt_export/
http://www.redrival.com/scorpius/blender-plugins.htm
and FINALLY!!! i found this:
http://jmsoler.free.fr/didacticiel/blen … import.htm
and now i know what i did wrong in the beginning: i was searching in english and german but forgot to try it in french :oops:
about the systemwide installation of the scripts: it of course would be great that we would be able to make a package of these helper scripts ... but for now copying around does the job
The impossible missions are the only ones which succeed.
Offline
The impossible missions are the only ones which succeed.
Offline
Traceback (most recent call last):
File "/home/damir/.blender/scripts/mod_svg2obj.py", line 648, in fonctionSELECT
scan_FILE(nom)
File "/home/damir/.blender/scripts/mod_svg2obj.py", line 616, in scan_FILE
courbes,n0,CP=Actions[cell]([cell,cursor], D, n0,CP)
File "/home/damir/.blender/scripts/mod_svg2obj.py", line 295, in mouvement_vers
CP=[l[0],l[1]]
IndexError: list index out of range
:-(
The impossible missions are the only ones which succeed.
Offline
Traceback (most recent call last): File "/home/damir/.blender/scripts/mod_svg2obj.py", line 648, in fonctionSELECT scan_FILE(nom) File "/home/damir/.blender/scripts/mod_svg2obj.py", line 616, in scan_FILE courbes,n0,CP=Actions[cell]([cell,cursor], D, n0,CP) File "/home/damir/.blender/scripts/mod_svg2obj.py", line 295, in mouvement_vers CP=[l[0],l[1]] IndexError: list index out of range
:-(
As quoted above, svg isn't really the way to go
Once I used the Archlinux SVG (just the arch, which is a 4 or 5 node path)
but even this failed ... So I converted the very same file into an EPS and
it worked. Don't hesitate to add inkscape to your tool-chain
Just "Save as" ->eps and you should be done
-neri
Offline
i tried eps first, as you said, but with it, it gives me a even more strange error:
[...]
len(t) 538
529
len(t) 538
530
len(t) 538
531
len(t) 538
532
len(t) 538
533
len(t) 538
534
len(t) 538
535
len(t) 538
536
len(t) 538
537
Traceback (most recent call last):
File "<string>", line 423, in fonctionSELECT
File "<string>", line 410, in scan_FILE
File "<string>", line 173, in Open_GEOfile
AttributeError: requested file doesn't exist!
The impossible missions are the only ones which succeed.
Offline
I GOT IT!
it didn't liked the eps file inkscape created ... i tried plain PS and it worked!!!! thank you for helping and holding my hand ;-)
The impossible missions are the only ones which succeed.
Offline
I GOT IT!
it didn't liked the eps file inkscape created ... i tried plain PS and it worked!!!! thank you for helping and holding my hand ;-)
This was not for free!!
... I wanna see the result
-neri
Offline
dp wrote:I GOT IT!
it didn't liked the eps file inkscape created ... i tried plain PS and it worked!!!! thank you for helping and holding my hand ;-)
This was not for free!!
... I wanna see the result
-neri
the result is not yet ready ... i'm still experimenting (3d modelling can make you forget time)
the original 2d:
and the 3d now in blender:
The impossible missions are the only ones which succeed.
Offline
this is a nice result, looks good, though Im not a real fan of the chrome/shiny
surfaces stuff. But for this logo it works well.
-neri
Offline
this is a nice result, looks good, though Im not a real fan of the chrome/shiny
surfaces stuff. But for this logo it works well.-neri
thank you.
i had to do some parts by hand because they were wrongly imported (the curve was imported with some wrong connections between points and the "toggle cyclic" made some holes in the letters (e.g. in the B and P) do not appear) this manipulations took me some minutes ... but for more complex things, i can imagine that it is a pain having to clean the curve before transforming it to a mesh ...
anyway : many thanx for the hints ... as i did all 2d-things in SVG i have now to export them first to PS before playing with them in 3d - this is a really important information that does not exist anywhere on the web!
The impossible missions are the only ones which succeed.
Offline