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

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

src/l/a/ladybug-HEAD/src/ladybug_ladybug.py   ladybug(Download)
    def sunPosPt(self, sunScale = 1):
        # print 'altitude is:', math.degrees(solAlt), 'and azimuth is:', math.degrees(solAz)
        basePoint = rc.Geometry.Point3d.Add(self.cenPt,rc.Geometry.Vector3f(0,self.scale,0))
        basePoint = rc.Geometry.Point(basePoint)
        basePoint.Rotate(self.solAlt, rc.Geometry.Vector3d.XAxis, self.cenPt)

src/l/a/ladybug-HEAD/src/Ladybug_3D Chart.py   ladybug(Download)
                ptCount  = 0
                for pt in textPt:
                    ptLocation = rc.Geometry.Point(pt)
                    ptLocation.Translate(movingVector) # move it to the right place
                    textPt[ptCount] = rc.Geometry.Point3d(ptLocation.Location)
                for ptCount, pt in enumerate(conditionalPoints):
                    pt.Transform(rotatoion)
                    ptLocation = rc.Geometry.Point(pt)
                    ptLocation.Translate(movingVector) # move it to the right place
                    conditionalPoints[ptCount] = rc.Geometry.Point3d(ptLocation.Location)

src/l/a/ladybug-HEAD/src/Ladybug_SunPath.py   ladybug(Download)
        def movePointList(textPt, movingVector):
            for ptCount, pt in enumerate(textPt):
                ptLocation = rc.Geometry.Point(pt)
                ptLocation.Translate(movingVector) # move it to the right place
                textPt[ptCount] = rc.Geometry.Point3d(ptLocation.Location)

src/l/a/ladybug-HEAD/src/Ladybug_Sky Dome.py   ladybug(Download)
        ptCount  = 0
        for pt in textPt:
            ptLocation = rc.Geometry.Point(pt)
            ptLocation.Translate(movingVector) # move it to the right place
            textPt[ptCount] = rc.Geometry.Point3d(ptLocation.Location)

src/l/a/ladybug-HEAD/src/Ladybug_Radiation Rose.py   ladybug(Download)
                ptCount  = 0
                for pt in textPt:
                    ptLocation = rc.Geometry.Point(pt)
                    ptLocation.Translate(movingVector) # move it to the right place
                    textPt[ptCount] = rc.Geometry.Point3d(ptLocation.Location)

src/l/a/ladybug-HEAD/src/Ladybug_Wind Rose.py   ladybug(Download)
        def movePointList(textPt, movingVector):
            for ptCount, pt in enumerate(textPt):
                ptLocation = rc.Geometry.Point(pt)
                ptLocation.Translate(movingVector) # move it to the right place
                textPt[ptCount] = rc.Geometry.Point3d(ptLocation.Location)