Commit 82bf7722 authored by sumpfralle's avatar sumpfralle

fixed import


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@513 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent a70d07fe
......@@ -21,7 +21,7 @@ You should have received a copy of the GNU General Public License
along with PyCAM. If not, see <http://www.gnu.org/licenses/>.
"""
from pycam.Geometry import Point
from pycam.Geometry.Point import Point
from pycam.PathGenerators import get_free_paths_ode, get_free_paths_triangles, \
ProgressCounter
import math
......
......@@ -62,7 +62,7 @@ def _add_cuboid_to_model(minx, maxx, miny, maxy, minz, maxz):
triangles.extend(get_triangles_for_face(
(points[3], points[0], points[4], points[7])))
# add all triangles to the model
model = Model.Model()
model = Model()
for t in triangles:
model.append(t)
return model
......@@ -93,7 +93,7 @@ def get_support_grid(minx, maxx, miny, maxy, z_plane, dist_x, dist_y, thickness,
lines_x = get_lines(center_x, dist_x, minx, maxx)
lines_y = get_lines(center_y, dist_y, miny, maxy)
# create all x grid lines
grid_model = Model.Model()
grid_model = Model()
# helper variables
thick_half = thickness / 2.0
length_extension = max(thickness, height)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment