         else
             has_local_colors = false
 
-            
+
         vertices = myobj.vertex_geometry
         for objects in [0...myobj.face_geometry.length]
             #console.log("object=", misc.to_json(myobj))

            points     : required
            thickness  : 1
            color      : "#000000"
            arrow_head : false  # TODO
        @show_canvas()

        geometry = new THREE.Geometry()
        for a in o.points
            geometry.vertices.push(@vector(a))
        line = new THREE.Line(geometry, new THREE.LineBasicMaterial(color:o.color, linewidth:o.thickness))
        @scene.add(line)

    add_point: (opts) =>
        o = defaults opts,


        @init_eval_note()
        opts.cb?(undefined, @)
        # window.w = @   # for debugging

    # client code should call this when start adding objects to the scene
    init: () =>
