title: SCNShape with bezier path
body: <p>I am tying to draw a 3d line in Scenekit iOS, i am trying below code to draw line,</p>
  
  <pre><code>func path() -&gt; UIBezierPath
      {
          var bPath = UIBezierPath()
          bPath.moveToPoint(CGPointMake(0, 0))
          bPath.addLineToPoint(CGPointMake(10, 10))
          bPath.addLineToPoint(CGPointMake(5, 5))
          bPath.closePath()
          return bPath
      }
  </code></pre>
  
  <p>and the below code is to load the line in SCNNode,</p>
  
  <pre><code>let sap = SCNShape()
      sap.path = path()
      let carbonNode = SCNNode(geometry: sap)
      carbonNode.position = SCNVector3Make(0, 0, 15)
      scene.rootNode.addChildNode(carbonNode)
  </code></pre>
  
  <p>But, i am getting blank screen.</p>