Page 1 of 1

Measurer tool

PostPosted: Wed Feb 27, 2013 8:43 pm
by zertrax
It would be great, to get an closest idea of what are us doing, some references can resolve this.
Something like a meter and/or real scale objects (soccer ball for example)

Re: Measurer tool

PostPosted: Thu Mar 14, 2013 2:19 pm
by Manuel
We already have a "measure mode". It's to improve, but it works.

Re: Measurer tool

PostPosted: Wed May 01, 2013 2:04 pm
by duststorm
We are planning advanced modeling features in a measure mode, but it's still on the drawing board.

Re: Measurer tool

PostPosted: Mon May 27, 2013 4:32 pm
by skm
In measure mode can I measure two or multiple points on body by selecting them through mouse clicks.
I was looking into code and could not figure out how I can tell vertices of a body part say nose?
Is there any way to check vertices of body part?

Thanks,
skm

Re: Measurer tool

PostPosted: Mon May 27, 2013 6:04 pm
by duststorm
skm wrote:In measure mode can I measure two or multiple points on body by selecting them through mouse clicks.
I was looking into code and could not figure out how I can tell vertices of a body part say nose?
Is there any way to check vertices of body part?

No it doesn't work like that.
The measure tool measures and lets you adjust the sizes of some defined body regions, which are often used for measuring body type characteristics.

We relate bodyparts to vertices using vertex groups on the mesh. So for a specific vertex you can get the group name it belongs to. A group can be, for example 'right upper leg'.
MakeHuman, however does contain ray-plane intersection code that allows you to perform intersection tests and return the nearest vertex. This is used for example for picking the groups in micro editing or in the measure tool for picking the right part.
From that result you can pick the nearest vertex, if you desire. The version in svn contains an example of how to pick the nearest vertex in the free edit plugin.
So if you want to dig in the code and create your own plugin, this should not be so hard. One unit in MakeHuman relates to 1dm in real world units.

Re: Measurer tool

PostPosted: Wed May 29, 2013 4:33 pm
by skm
The version in svn contains an example of how to pick the nearest vertex in the free edit plugin.
So if you want to dig in the code and create your own plugin, this should not be so hard. One unit in MakeHuman relates to 1dm in real world units.

[/quote]

Hi,
I looked into SVN and could not find any plugin named "free edit" or anything similar.
I'm having latest copy at revision 5230 from svn branch "http://makehuman.googlecode.com/svn/trunk/makehuman"
Let me know branch and exact plugin name to look into.
Thanks,
SKM

Re: Measurer tool

PostPosted: Fri May 31, 2013 12:33 am
by duststorm
skm wrote:I looked into SVN and could not find any plugin named "free edit" or anything similar.

It's called "plugins/0_modeling_5_editing.py"