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

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

src/h/o/Honeybee-HEAD/src/Honeybee_Glazing based on ratio.py   Honeybee(Download)
            maxSillHeight = (rectHeight*0.99) - winHeightFinal
            if silHeightFinal < maxSillHeight:
                sillVec = rc.Geometry.Vector3d.Multiply(silHeightFinal, sillUnitVec)
            else:
                sillVec = rc.Geometry.Vector3d.Multiply(maxSillHeight, sillUnitVec)
            extruUnitVec = rectHeightVec
            extruUnitVec.Unitize()
            extruVec = rc.Geometry.Vector3d.Multiply(extruUnitVec, winHeightFinal)
 
            finalWinSrfs = []
 
            if silHeightFinal < maxSillHeight:
                sillVec = rc.Geometry.Vector3d.Multiply(silHeightFinal, sillUnitVec)
            else:
                sillVec = rc.Geometry.Vector3d.Multiply(maxSillHeight, sillUnitVec)