Skip to content

Instantly share code, notes, and snippets.

@sanchojaf
Created April 17, 2015 13:56
Show Gist options
  • Save sanchojaf/91a778866d77152a5f52 to your computer and use it in GitHub Desktop.
Save sanchojaf/91a778866d77152a5f52 to your computer and use it in GitHub Desktop.
WEIGH
DIMENSION_INDEX = { band: 0, bust: 1, across_cup_left: 2, across_cup_right: 3, around_upper_chest: 4, fit_bra_size: 5, bmi: 6,
bust_point_to_bust_point: 7, around_upper_chest: 8, across_upper_chest: 9, around_back: 10, nape_to_waist: 11, bridge: 12 }
# For weigh is possible ser a value between [0,1].
# INDEX = [ 00,01,02,03,04,05,06,07,08,09,10,11, 12 ]
BAND_WEIGH = [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 ]
CUP_WEIGH = [ 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0 ]
BAND_AND_CUP_WEIGH = [ 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0 ]
ALL_WEIGH = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment