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

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

src/l/a/ladybug-HEAD/src/Ladybug_view Rose.py   ladybug(Download)
            triangle = rc.Geometry.Polyline([firstPt, testPt, nextPt, firstPt]).ToNurbsCurve()
 
            try: blockedComponent = rc.Geometry.Curve.CreateBooleanDifference(fullSegment, [triangle])
            except: blockedComponent = [triangle] #fullSegment
            nextPt = firstPt
        for ol in uOutlines: 
            try:
                studyC = rc.Geometry.Curve.CreateBooleanDifference(studyC, ol)[0]
            except Exception, e:
                print "Boolean Diffrence Failed!"

src/r/h/rhinopython-HEAD/scripts/rhinoscript/curve.py   rhinopython(Download)
    curve0 = rhutil.coercecurve(curve_id_0, -1, True)
    curve1 = rhutil.coercecurve(curve_id_1, -1, True)
    out_curves = Rhino.Geometry.Curve.CreateBooleanDifference(curve0, curve1)
    curves = []
    if out_curves:

src/h/o/Honeybee-HEAD/src/Honeybee_Honeybee.py   Honeybee(Download)
 
                if len(punchedGeometries)>1:
                    crvDif = rc.Geometry.Curve.CreateBooleanDifference(jBaseCrvList[0], glzCrvs)
                    punchedGeometries = rc.Geometry.Brep.CreatePlanarBreps(crvDif)
 

src/h/o/Honeybee-HEAD/src/Honeybee_Glazing based on ratio.py   Honeybee(Download)
 
            if len(punchedGeometries)>1:
                crvDif = rc.Geometry.Curve.CreateBooleanDifference(jBaseCrvList[0], glzCrvs)
                punchedGeometries = rc.Geometry.Brep.CreatePlanarBreps(crvDif)