How to create an intersection sketch from a Brep Body with a Construction plane?

How to create an intersection sketch from a Brep Body with a Construction plane?

Anonymous
Not applicable
1,324 Views
5 Replies
Message 1 of 6

How to create an intersection sketch from a Brep Body with a Construction plane?

Anonymous
Not applicable

Hello, I just wanted to ask how you can get the intersection sketch of a BrepBody with a selected Construction Plane.
I currently have this below, but it makes the intersection sketch below where the construction plane is.

bodies = model.bRepBodies

body = bodies.item(0)

sketch2 = sketches.add(model.xZConstructionPlane)

entities = []

entities.append(body) # body

entities.append(plane) # construction plane

IntersectionSketches = sketch2.intersectWithSketchPlane(entities)

0 Likes
Accepted solutions (1)
1,325 Views
5 Replies
Replies (5)
Message 2 of 6

kandennti
Mentor
Mentor

Hi. Try this.

        bodies = model.bRepBodies
        body = bodies.item(0)
        sketch2 = sketches.add(model.xZConstructionPlane)
        entities = []
        entities.append(body) # body
        #entities.append(plane) # construction plane
        IntersectionSketches = sketch2.intersectWithSketchPlane(entities)
Message 3 of 6

Anonymous
Not applicable
Accepted solution

No, this gave me an intersection sketch at the xZConstructionPlane level.
But either way, I figured it out. Instead of using the xZConstructionPlane, I just needed to add the ConstructionPlane I was using.

0 Likes
Message 4 of 6

Anonymous
Not applicable

no you ecept my password 


@Anonymous wrote:

Hello, I just wanted to ask how you can get the intersection sketch of a BrepBody with a selected Construction Plane.
I currently have this below, but it makes the intersection sketch below where the construction plane is.

bodies = model.bRepBodies

body = bodies.item(0)

sketch2 = sketches.add(model.xZConstructionPlane)

entities = []

entities.append(body) # body

entities.append(plane) # construction plane

IntersectionSketches = sketch2.intersectWithSketchPlane(entities)


 

0 Likes
Message 5 of 6

Anonymous
Not applicable

you design a body then yo


@Anonymous wrote:

no you ecept my password 


@Anonymous wrote:

Hello, I just wanted to ask how you can get the intersection sketch of a BrepBody with a selected Construction Plane.
I currently have this below, but it makes the intersection sketch below where the construction plane is.

bodies = model.bRepBodies

body = bodies.item(0)

sketch2 = sketches.add(model.xZConstructionPlane)

entities = []

entities.append(body) # body

entities.append(plane) # construction plane

IntersectionSketches = sketch2.intersectWithSketchPlane(entities)


 



design to be produced in three d and ready for manufacturer 

0 Likes
Message 6 of 6

Anonymous
Not applicable

sketch 

model 

componants 

construction 

bullding 

saving 

0 Likes