示例#1
0
def move_z(shape, dz):
  return Construct.translate_topods_from_vector(shape, Common.gp_Vec(0, 0, dz))
示例#2
0
def move_x(shape, dx):
  return Construct.translate_topods_from_vector(shape, Common.gp_Vec(dx, 0, 0))
示例#3
0
def move_y(shape, dy):
  return Construct.translate_topods_from_vector(shape, Common.gp_Vec(0, dy, 0))
示例#4
0
def move(shape, dx, dy, dz):
  return Construct.translate_topods_from_vector(shape, Common.gp_Vec(dx, dy, dz))
示例#5
0
def move_z(shape, dz):
    return Construct.translate_topods_from_vector(shape,
                                                  Common.gp_Vec(0, 0, dz))
示例#6
0
def move_y(shape, dy):
    return Construct.translate_topods_from_vector(shape,
                                                  Common.gp_Vec(0, dy, 0))
示例#7
0
def move_x(shape, dx):
    return Construct.translate_topods_from_vector(shape,
                                                  Common.gp_Vec(dx, 0, 0))
示例#8
0
def move(shape, dx, dy, dz):
    return Construct.translate_topods_from_vector(shape,
                                                  Common.gp_Vec(dx, dy, dz))