-#! /usr/bin/python
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Mesh the blocks with hexahedral
# -------------------------------
+smesh.SetCurrentStudy(salome.myStudy)
+
def discretize(x, y, z, n, s=blocks):
p = geo.MakeVertex(x, y, z)
e = geo.GetEdgeNearPoint(s, p)