If you change your code to this:
import rhinoscriptsyntax as rs
import ghpythonlib.components as ghc
e0 = ghc.Line("0,0,0", "10,10,0")
e1 = ghc.Move("0,0,0", "0,0,10")
print "e0 = {}, {}".format(e0, type(e0))
print "e1 = {}, {}".format(e1, type(e1))
e = ghc.Line_Pt(e0, e1)
You will get this output:
e0 = 0,0,0,10,10,0, <type 'Line'>
e1 = {'geometry': <Rhino.Geometry.Point3d object at 0x0000000000000090 [0,0,10]>, 'transform': <Rhino.Geometry.Transform object at 0x0000000000000091 [R0=(1,0,0,0), R1=(0,1,0,0), R2=(0,0,1,10), R3=(0,0,0,1)]>}, <class 'ghpythonlib.components.__namedtuple'>
Warning: Line + Pt: input 2 point. error: Data conversion failed from Transform to Point
Warning: Line + Pt: solver component. error: Data conversion failed from Transform to Point
You can see that your e1 variable holds a tuple containing a Point3d and a Transform object.
Now if you change your code to:
import rhinoscriptsyntax as rs
import ghpythonlib.components as ghc
e0 = ghc.Line("0,0,0", "10,10,0")
e1 = ghc.Move("0,0,0", "0,0,10")
print "e0 = {}, {}".format(e0, type(e0))
print "e1 = {}, {}".format(e1, type(e1))
e = ghc.Line_Pt(e0, e1[0])
print "e = {}, {}".format(e, type(e))
You will get this output:
e0 = 0,0,0,10,10,0, <type 'Line'>
e1 = {'geometry': <Rhino.Geometry.Point3d object at 0x000000000000008E [0,0,10]>, 'transform': <Rhino.Geometry.Transform object at 0x000000000000008F [R0=(1,0,0,0), R1=(0,1,0,0), R2=(0,0,1,10), R3=(0,0,0,1)]>}, <class 'ghpythonlib.components.__namedtuple'>
e = Origin=0,0,0 XAxis=0.707106781186547,0.707106781186547,0, YAxis=0,0,1, ZAxis=0.707106781186547,-0.707106781186547,0, <type 'Plane'>
Your e variable now contains a plane (I think this is your intended result).
I’m not sure why you’re trying to use ghpythonlib.components to do this. These things can be easily done with the RhinoCommon API methods which are pretty well documented here:
https://developer.rhino3d.com/api/RhinoCommon/html/R_Project_RhinoCommon.htm
-Kevin