Can anyone Generate .mhm files from specific measurements?

This forum is aimed at user contributions, in the form of assets, side projects, code patches and similar.

Moderator: joepal

Can anyone Generate .mhm files from specific measurements?

Postby nat49 » Thu Nov 08, 2018 6:36 pm

Hi there
Does anyone know how to generate .mhm files from specific measurements within a mobile app?
I've been told that it would require identifying which targets to use and the exact relationship between target settings and measurements.
If you know how, please reply.
nat49
 
Posts: 5
Joined: Mon Oct 22, 2018 2:19 pm

Re: Can anyone Generate .mhm files from specific measurement

Postby MargaretToigo » Thu Nov 08, 2018 8:18 pm

Now, I'm not sure of how to code it, but .mhm files are plain text, so once the data are collected from the app, they'd just need to be written to the .mhm file in the proper format, which is quite simple:

Code: Select all
# Written by MakeHuman 1.1.1
version v1.1.1
tags Hugh
camera 359.5 348.0 0.760362568482 0.312830389594 0.0635650159762 1.225
modifier armslegs/l-hand-fingers-length-decr|incr -0.316000
modifier nose/nose-flaring-decr|incr 0.303518
modifier mouth/mouth-dimples-in|out -0.266717
modifier breast/breast-trans-down|up -0.152000
modifier nose/nose-width1-decr|incr 0.215215
modifier eyes/r-eye-scale-decr|incr -0.051086
modifier stomach/stomach-tone-decr|incr -0.506000
modifier armslegs/r-upperleg-muscle-decr|incr 0.380000
modifier ears/l-ear-lobe-decr|incr 0.219636
modifier eyes/l-eye-corner2-down|up -0.340702
modifier cheek/r-cheek-volume-decr|incr -0.029974
modifier eyes/l-eye-bag-in|out 0.029982
modifier eyes/l-eye-trans-down|up -0.104753
modifier measure/measure-neck-height-decr|incr -0.368000
modifier nose/nose-volume-decr|incr -0.015878
modifier eyes/l-eye-eyefold-angle-down|up -0.031927
modifier armslegs/r-upperarm-scale-horiz-decr|incr -0.556000
modifier eyes/l-eye-epicanthus-in|out 0.155510
modifier ears/r-ear-shape-pointed|triangle 0.209834
modifier eyes/r-eye-height1-decr|incr 0.194799
modifier nose/nose-trans-backward|forward 0.226637
modifier eyes/r-eye-corner1-down|up -0.213704
modifier macrodetails-universal/Muscle 0.405000
modifier ears/r-ear-scale-vert-decr|incr -0.477080
modifier mouth/mouth-scale-horiz-decr|incr 0.161541
modifier macrodetails/African 0.190000
modifier ears/r-ear-shape-square|round 0.099315
modifier cheek/r-cheek-trans-down|up 0.057293
modifier neck/neck-trans-down|up -0.082942
modifier macrodetails-proportions/BodyProportions 0.728000
modifier chin/chin-width-decr|incr -0.278570
modifier ears/r-ear-flap-decr|incr -0.136277
modifier mouth/mouth-laugh-lines-in|out -0.131656
modifier breast/nipple-point-decr|incr -0.240000
modifier neck/neck-scale-depth-decr|incr 0.321743
modifier eyes/r-eye-trans-in|out -0.043166
modifier neck/neck-scale-horiz-decr|incr -0.001339
modifier armslegs/r-hand-fingers-length-decr|incr -0.316000
modifier nose/nose-trans-down|up -0.068114
modifier head/head-scale-depth-decr|incr 0.429928
modifier eyes/r-eye-bag-decr|incr 0.409239
modifier ears/l-ear-trans-down|up -0.092623
modifier mouth/mouth-lowerlip-ext-down|up 0.218067
modifier armslegs/r-lowerleg-scale-horiz-decr|incr -0.278000
modifier macrodetails/Gender 1.000000
modifier head/head-angle-in|out 0.075051
modifier forehead/forehead-trans-backward|forward -0.172631
modifier nose/nose-point-width-decr|incr -0.160572
modifier macrodetails-height/Height 0.487000
modifier eyes/r-eye-eyefold-angle-down|up -0.031927
modifier breast/BreastSize 0.538000
modifier armslegs/l-hand-fingers-diameter-decr|incr 0.240000
modifier cheek/r-cheek-inner-decr|incr 0.314001
modifier eyes/l-eye-corner1-down|up -0.213704
modifier mouth/mouth-scale-vert-decr|incr 0.060624
modifier mouth/mouth-lowerlip-middle-down|up 0.153303
modifier ears/r-ear-scale-decr|incr 0.140004
modifier head/head-invertedtriangular 0.139990
modifier cheek/l-cheek-inner-decr|incr 0.314001
modifier chin/chin-cleft-decr|incr 0.159798
modifier armslegs/r-hand-fingers-diameter-decr|incr 0.240000
modifier nose/nose-hump-decr|incr -0.073801
modifier eyes/r-eye-epicanthus-in|out 0.155510
modifier nose/nose-septumangle-decr|incr -0.095742
modifier armslegs/l-hand-scale-decr|incr 0.316000
modifier nose/nose-base-down|up -0.051252
modifier eyes/l-eye-bag-decr|incr 0.409239
modifier cheek/r-cheek-bones-decr|incr 0.350566
modifier forehead/forehead-scale-vert-decr|incr 0.187770
modifier nose/nose-nostrils-width-decr|incr 0.027813
modifier armslegs/l-lowerleg-scale-horiz-decr|incr -0.278000
modifier mouth/mouth-trans-down|up -0.067979
modifier macrodetails/Age 0.658000
modifier mouth/mouth-angles-down|up -0.103076
modifier neck/neck-double-decr|incr -0.125596
modifier eyes/l-eye-bag-height-decr|incr -0.035433
modifier breast/BreastFirmness 0.405000
modifier ears/l-ear-trans-backward|forward 0.159089
modifier neck/neck-back-scale-depth-decr|incr 0.277645
modifier macrodetails/Asian 0.000000
modifier chin/chin-height-decr|incr -0.182843
modifier eyes/r-eye-push2-in|out 0.311978
modifier eyebrows/eyebrows-angle-down|up -0.199172
modifier cheek/l-cheek-trans-down|up 0.057293
modifier armslegs/lowerlegs-height-decr|incr -0.228000
modifier ears/l-ear-wing-decr|incr 0.064993
modifier mouth/mouth-philtrum-volume-decr|incr -0.239756
modifier measure/measure-neck-circ-decr|incr 0.330000
modifier ears/r-ear-wing-decr|incr 0.064993
modifier chin/chin-prominent-decr|incr -0.152039
modifier armslegs/r-lowerarm-scale-horiz-decr|incr -0.380000
modifier nose/nose-scale-depth-decr|incr -0.155135
modifier armslegs/r-hand-scale-decr|incr 0.316000
modifier armslegs/l-hand-trans-in|out 0.330000
modifier armslegs/l-upperleg-scale-vert-decr|incr -0.304000
modifier ears/l-ear-shape-pointed|triangle 0.209834
modifier head/head-oval 0.054309
modifier armslegs/l-hand-fingers-distance-decr|incr 0.164000
modifier neck/neck-trans-backward|forward 0.215582
modifier eyes/l-eye-push1-in|out -0.157906
modifier forehead/forehead-temple-decr|incr -0.316969
modifier head/head-trans-backward|forward -0.238841
modifier eyes/l-eye-trans-in|out -0.043166
modifier eyes/l-eye-eyefold-concave|convex -0.018639
modifier mouth/mouth-upperlip-middle-down|up -0.198746
modifier eyes/r-eye-corner2-down|up -0.340702
modifier mouth/mouth-trans-in|out -0.091678
modifier ears/l-ear-rot-backward|forward -0.284104
modifier eyes/r-eye-height2-decr|incr -0.150555
modifier head/head-fat-decr|incr 0.143639
modifier head/head-diamond 0.177329
modifier cheek/l-cheek-bones-decr|incr 0.350566
modifier armslegs/upperlegs-height-decr|incr -0.292000
modifier ears/l-ear-shape-square|round 0.099315
modifier head/head-age-decr|incr 0.006768
modifier macrodetails/Caucasian 0.810000
modifier nose/nose-trans-in|out 0.087554
modifier chin/chin-jaw-drop-decr|incr -0.415179
modifier nose/nose-curve-concave|convex 0.013504
modifier head/head-trans-in|out -0.113719
modifier armslegs/l-lowerarm-scale-horiz-decr|incr -0.380000
modifier armslegs/l-upperarm-scale-horiz-decr|incr -0.556000
modifier eyes/r-eye-height3-decr|incr 0.032467
modifier head/head-triangular 0.062468
modifier head/head-square 0.090569
modifier ears/l-ear-scale-vert-decr|incr -0.477080
modifier eyes/r-eye-bag-in|out 0.029982
modifier mouth/mouth-upperlip-volume-decr|incr -0.240739
modifier head/head-scale-horiz-decr|incr -0.109588
modifier cheek/l-cheek-volume-decr|incr -0.029974
modifier eyes/r-eye-eyefold-concave|convex -0.018639
modifier eyes/r-eye-bag-height-decr|incr -0.035433
modifier ears/r-ear-trans-backward|forward 0.159089
modifier eyes/l-eye-scale-decr|incr -0.051086
modifier armslegs/l-upperleg-muscle-decr|incr 0.380000
modifier breast/nipple-size-decr|incr 0.202000
modifier ears/r-ear-trans-down|up -0.092623
modifier chin/chin-prognathism-decr|incr -0.076816
modifier nose/nose-scale-vert-decr|incr -0.101922
modifier head/head-round 0.081018
modifier armslegs/r-hand-fingers-distance-decr|incr 0.164000
modifier ears/r-ear-rot-backward|forward -0.284104
modifier mouth/mouth-lowerlip-width-decr|incr 0.107124
modifier buttocks/buttocks-volume-decr|incr -0.608000
modifier hip/hip-scale-vert-decr|incr 0.038000
modifier nose/nose-nostrils-angle-down|up -0.185676
modifier nose/nose-compression-compress|uncompress 0.366949
modifier head/head-rectangular 0.040706
modifier armslegs/r-upperleg-scale-vert-decr|incr -0.304000
modifier mouth/mouth-cupidsbow-decr|incr 0.280764
modifier hip/hip-trans-down|up -0.456000
modifier eyes/r-eye-push1-in|out -0.157906
modifier eyes/l-eye-push2-in|out 0.311978
modifier head/head-back-scale-depth-decr|incr -0.133083
modifier eyes/l-eye-height1-decr|incr 0.194799
modifier breast/breast-dist-decr|incr 0.190000
modifier mouth/mouth-upperlip-height-decr|incr -0.452123
modifier eyebrows/eyebrows-trans-backward|forward 0.079408
modifier armslegs/r-hand-trans-in|out 0.330000
modifier ears/l-ear-scale-decr|incr 0.140004
modifier eyes/l-eye-height3-decr|incr 0.032467
modifier eyebrows/eyebrows-trans-down|up 0.029517
modifier nose/nose-point-down|up -0.186688
modifier ears/l-ear-scale-depth-decr|incr 0.031290
modifier nose/nose-scale-horiz-decr|incr 0.325393
modifier mouth/mouth-upperlip-width-decr|incr 0.052215
modifier head/head-scale-vert-decr|incr -0.125314
modifier neck/neck-scale-vert-decr|incr 0.178636
modifier eyes/r-eye-eyefold-down|up 0.298574
modifier forehead/forehead-nubian-decr|incr -0.338790
modifier chin/chin-bones-decr|incr 0.189436
modifier ears/l-ear-flap-decr|incr -0.136277
modifier macrodetails-universal/Weight 0.778000
modifier mouth/mouth-trans-backward|forward -0.167584
modifier eyes/r-eye-trans-down|up -0.104753
modifier eyes/l-eye-height2-decr|incr -0.150555
modifier neck/neck-trans-in|out 0.036544
modifier eyes/l-eye-eyefold-down|up 0.298574
modifier mouth/mouth-upperlip-ext-down|up -0.009229
modifier nose/nose-greek-decr|incr -0.268291
modifier ears/r-ear-scale-depth-decr|incr 0.031290
modifier mouth/mouth-scale-depth-decr|incr 0.101764
modifier nose/nose-width2-decr|incr 0.094972
modifier mouth/mouth-lowerlip-height-decr|incr -0.189401
modifier head/head-trans-down|up 0.142166
modifier mouth/mouth-cupidsbow-width-decr|incr -0.042321
modifier nose/nose-width3-decr|incr -0.249969
modifier mouth/mouth-lowerlip-volume-decr|incr -0.135303
modifier ears/r-ear-lobe-decr|incr 0.219636
tongue tongue01 52ad91a3-caad-4e50-8c38-67634e5e789c
teeth Teeth_Base 0a5ec82a-0d5f-43ce-a765-8f076f95692d
proxy male_generic df01ef58-b37f-479e-9f97-b4c1b9626aa8
hair short04 e09bfd91-f83f-4f9a-ba8c-4635cd1ae0d8
eyelashes Eyelashes01 d533836f-13ad-4836-8b65-051108253cd2
skeleton default_no_toes.mhskel
eyebrows eyebrow001 9c81ec3a-faa5-4c94-9cdb-992300ba3084
eyes HighPolyEyes 2c12f43b-1303-432c-b7ce-d78346baf2e6
clothes male_casualsuit01 79ced554-1d8a-4c14-a6a8-e1de90b09c32
clothes shoes01 6e0c552e-e207-44df-8f70-c9bfdeddd8c6
clothesHideFaces True
skinMaterial skins/young_caucasian_male/young_caucasian_male.mhmat
material short04 e09bfd91-f83f-4f9a-ba8c-4635cd1ae0d8 short04.mhmat
material HighPolyEyes 2c12f43b-1303-432c-b7ce-d78346baf2e6 eyes/materials/brown.mhmat
subdivide False


The above can be copy/pasted into a text editor, saved as hugh.mhm and then loaded into MakeHuman.
MargaretToigo
 
Posts: 137
Joined: Thu Feb 16, 2017 6:46 pm
Location: Tampa Bay Florida, USA

Re: Can anyone Generate .mhm files from specific measurement

Postby nat49 » Fri Nov 09, 2018 7:10 pm

Thanks Margaret for the quick reply
nat49
 
Posts: 5
Joined: Mon Oct 22, 2018 2:19 pm


Return to User contributions

Who is online

Users browsing this forum: No registered users and 2 guests