       @obj3d.position.x = x
       @obj3d.position.y = y
       @obj3d.position.z = z
+      @obj3d.linep = new THREE.Vector3(x, y, 5)
+      @obj3d.lines = []
 
   Diamond: class Diamond
     constructor: (color, x, y, z, l) ->

    if ixs.length > 0 and ixs[0].object.userData.cyjs?
      e = ixs[0].object.userData
      console.log "! lnk0 " + e.constructor.name
      pos0 = new THREE.Vector3(
        ixs[0].object.position.x,
        ixs[0].object.position.y,
        5
      )
      pos1 = new THREE.Vector3(
        ixs[0].object.position.x,
        ixs[0].object.position.y,
        5
      )
      @placingLink = new BaseElements.Link(@ve.surface.baseRect,
        pos0, pos1, 0, 0, 5
      )
      @ve.container.onmousemove = (eve) => @linkingMove1(eve)
      @ve.container.onmousedown = (eve) => @linkingDown1(eve)
    else

      @obj3d.position.x = 0
      @obj3d.position.y = 0
      @obj3d.position.z = z
      @obj3d.lines = []

}

