Skip to content

Commit

Permalink
fix neck location
Browse files Browse the repository at this point in the history
  • Loading branch information
vcarlosrb committed May 27, 2021
1 parent 782e1b2 commit 89c4085
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion body_measurements/measurement.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ def __init__(self, vertices, faces, steps=0.005, levels=[-1.5, 1.5]):
_, self.armpits_location, _ = getArmpits(self.sections)
_, self.crotch_location, _ = getCrotch(self.sections)
_, self.hip_location, _ = getHip(self.sections, self.crotch_location)
_, self.neck_location, _ = getNeck(self.sections)

def getMeasurements(self):
weight = getWeight(self.mesh)
Expand Down Expand Up @@ -260,4 +261,4 @@ def neck(self):
return getNeck(self.sections)

def neckToHip(self):
return getNeckHipLength(neck_location, self.hip_location, self.steps)
return getNeckHipLength(self.neck_location, self.hip_location, self.steps)
2 changes: 1 addition & 1 deletion example/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import numpy as np
import os

from body_measurements_copy.measurement import Body3D
from body_measurements.measurement import Body3D

current_dir = os.path.dirname(os.path.realpath(__file__))
data_dir = os.path.join(current_dir, 'data')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup

VERSION = '1.1.0'
VERSION = '1.1.1'

setup(
name = 'body_measurements',
Expand Down

0 comments on commit 89c4085

Please sign in to comment.