[Plugin] Bitmap To Mesh
-
Dedmin, did you try to do it with ThomThom's script in SU?
By the way, I think it looks nicer in SketchUp.
-
1.25 million entities? That would let the magic smoke out of this computer for sure.
-
with this bmp, i added a few extra pixels along the top and bottom making it an even 125x500px which brought the entities down by 75%..
(make sure to scale the y axis to 25% in order to fix the proportions) -
yeah, it works in sketchup..
tt's script scales everything to a square so i made the mistake of adding more black for an overall 500x500 px (4times the recommended resolution of 250x250)..it came in at a modest 1.25 million entities
-
No, there is a similar command in Rhino - Mesh Heightfield. I just used your image to test it - the mesh is quite small 33 by 8 by 1,3 mm. I doubt this can be done in SketchUP.
-
And Rhino maps the image as a texture
-
Nice one! I can imagine that one day this will be in need.
-
Dedmin, that looks nice.
I did make the heighfield map in SketchUp so I know that part can be done. Here's the mesh from which I made the map.
-
Sure - I mean the plugin. Can that plugin make so small mesh from an image without scaling? Looks good Dave
By the way, did You notice that Layout 3 can now paste Excel tables - very handy! -
Jeff, that concentric wave looks great!
Thomas, sorry but I won't be able to get out of Berlin atm. We are preparing to move to a new appartment with my son being only six weeks old, and Munich is 600km from here...
Enjoy your time there - and don't forget that not all of us germs wear leather pants and drink beer until they pass out.alex
-
@shura said:
and don't forget that not all of us germs wear leather pants and drink beer until they pass out.
What?! I've been lied to!!
-
@unknownuser said:
yeah, it works in sketchup..
tt's script scales everything to a square so i made the mistake of adding more black for an overall 500x500 px (4times the recommended resolution of 250x250)..it came in at a modest 1.25 million entities
I'll update it with a tool for placing the mesh in the model, with correction aspect ratio and let you define a height - basically let you draw a bounding box.
Maybe even with an option to sample less pixels. -
@thomthom said:
Maybe even with an option to sample less pixels.
Or... Maybe interpolate pixels... Though - the same could be done by the user by just scaling down the image...
-
Dedmin, thanks. Since I haven't been able to do it yet, I don't know but I fully expect I'd have to scale the mesh to the right size. Looks like Jeff managed it, though.
As to the excel tables into LO, yes. I did see that. You can't do anything about formatting once it is in, though. Oh well, maybe in LO4.
-
just used an alpha map and deleted the lower part of the mesh, then flattened it. not talking about quality, but at least it looks like some sort of image tracing...
-
Wow!
You keep on amazing me with your plugins, Thomas! You're the man.
Thank you very much,
_KN
-
@thomthom said:
Test with simple displacement map:
MMMmmmm, a plugin that makes chocolate bars. I'm hungry now!
-
-
ThomThom , for your own knowledge, you should get advantages by visiting ImageJ community (OpenSource)http://www.google.fr/url?sa=t&source=web&cd=1&ved=0CBUQFjAA&url=http%3A%2F%2Frsbweb.nih.gov%2Fij%2F&rct=j&q=ImageJ&ei=ujqnTJXjIZGp4AbwxvGjDQ&usg=AFQjCNGnkzWAmC5t2IbtD4C8ayw1R0v7tg&sig2=e2-bW7zDggSXIeVI7vPRbA&cad=rja. They work around scientific pictures, and all the ways to extract informations .
Thank you really very much for all the plugins you give us.
MALAISE
-
Except with very small BMP files, I don't seem to have any luck. Even with a small BMP file it takes a long time to process but that could just be my computer.
Coen's comment though is intriguing. I was thinking this plugin could be a neat way to get line drawings into SketchUp. I made the attached line drawing as a quick test and got the second image as a result. I inverted the image and got the results in the third image. I wonder if it would be possible to have a control to somehow limit the range in the gray scale. Perhaps any RGB value less than, say, 250,250,250 gets read as 0,0,0? Or perhaps no height is assigned? Perhaps it isn't possible but I wonder.
Advertisement