Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/r/h/rhinopython-HEAD/scripts/rhinoscript/pointvector.py   rhinopython(Download)
def VectorAngle(vector1, vector2):
    "Returns the angle, in degrees, between two 3-D vectors"
    vector1 = rhutil.coerce3dvector(vector1, True)
    vector2 = rhutil.coerce3dvector(vector2, True)
    vector1 = Rhino.Geometry.Vector3d(vector1.X, vector1.Y, vector1.Z)
    vector2 = Rhino.Geometry.Vector3d(vector2.X, vector2.Y, vector2.Z)

src/l/a/ladybug-HEAD/src/Ladybug_Radiation Rose.py   ladybug(Download)
                        rcVector = rc.Geometry.Vector3d(vec)
                        rcVector.Rotate(rotatoionAngle, rc.Geometry.Vector3d.ZAxis)
                        patchesNormalVectors[vectorCount] = (rcVector.X, rcVector.Y, rcVector.Z)
 
                    if contextSrfs!=[]: contextSrfs.Rotate(rotatoionAngle, rc.Geometry.Vector3d.ZAxis, cenPt)