I thought maybe the image sampler is the right method but I don’t know how to write the scripts. Is there anyone who know how to do it? Thank you so much!
Hello
I am not sure I understand. You have an image and you want a vector plot of it. So yes Rooster is a good option. Rooster is based on Potrace http://potrace.sourceforge.net
If you want to use Rooster use Crvs it is the geometry.
He wants a vector drawing that rationalizes the ‘thick’ lines in the drawing to single vectors. That sound fairly impossible.
If you could get a version that’s ‘filled?’ Use Photoshop to fill-in the lines? Or reduce the resolution until the lines merge?? What is the point of this exercise?
I think maybe it is possible because the Illustrator got this function but it is too rough and the most important thing is AI don’t get so many variable to adjust compare with GH. like this one.
The only tool that I know to do what you want is Medial Axis. There was many discussion on this forum on this technique. I doubt it will work here. The tool you need is Rooster/Potrace with an option that I don’t know if it exists. You need something with curve with variable thickness.
We had a discussion of Potrace, so you could surely have more options.
It seems that there are some other tools
I tested a bit Vextractor that has some ability to extract median curve. traditional graphic.3dm (614.3 KB)
I try all the 5 tools and I believe that AI still be the best one which could do the both “single line” and “outline” vectorize things. However Wintopo is a quick one and free. Please see the comparison of this two.
Thanks for reporting. It is always useful for future questions like that.
I suppose that like many “reverse engineering” question form this forum, the best tool to do this type of job is not an automated one but someone skilled with a drawing tool.
I would like to do exactly the same thing:
Convert JPG/BMP/vector (whichever, I can prep in the Photoshop beforehand) → and get just the curves or even just the curve outlines in Rhino. For some reason the rooster plugin doesn’t seem to work for me?
Right click ‘image bitmap’ on the component and select a single bitmap file. This is how it works.
However, I’ve been playing around a lot with rooster and I do not think it actually works that well. Threshold seems to be broken for example, and it throws out a lot of almost similar curves. These curves are similar enough to be annoyingly overlapping, but they are too different to be effectively filtered out.
I wish it worked a little better. The RGB values that are split together with the curves have a great potential to be used, but the before mentioned issues make it very hard to use well really.
There is a lot of choice and sadly none of the plugins I’ve found so far seem to do the job I’m looking for.
Marinus, since your last query, have you been able to identify a plugin or workflow that resolves the issue? I’m currently facing a similar challenge, but in my case, I need the drawings (plan and elevations) to come together and form a 3D model
Hi Vinod, no not really. I changed my whole approach and decided to tackle my project in a different way. But it’s also more than 3 years ago so it’s hard for me to remember. But I think that I just changed what I fed into the plugin (this means editing the image in photo editing software to make sure the rest of the process goes smoother, I think I started using grayscale images for the conversion).
What exactly do you mean with ‘this issue’? So I better know how to answer.
By issue i meant your challenge to convert line art into a solid fill vector with varying thickness.
The challenge I’m facing is to come up/identify a plugin, or script that can help generate a 3d from 2d drawings: (see image)