Home
Reply
Contributor
utpalstone
Posts: 14

Project a curve onto a sheet body returning faces

Can anyone please tell me the API which can be used to create list faces by projecting an edge to a face.

input :- Edge and face

Output :- a new Face entity

 

Utpal Das
Spatial Moderator
ybiyani
Posts: 223

Re: Project a curve onto a sheet body returning faces

Hello Utpal,

 

Please see http://doc.spatial.com/index.php/HowTo:Project_an_edge_onto_a_face .

 

Regards,

Yogesh

Contributor
utpalstone
Posts: 14

Re: Project a curve onto a sheet body returning faces

Dear Yogesh,

 

This API returns list of edges, which i do not want.

 

Let me tell, what is my requirement :-

 

I want to trim a face using a projected curve.(ie. projected curve and the coincident surface (Sheet body trimming using a loop wire))

ex:-

input:- A sheet body ( Face )

input :- A closed wire on the body ( close edge or a periodic spline)

Operation:- Trimming

Output:- The face inside the loop and the face out side the loop ( two new entities)

 

Project edge /embed wire in faces only imprints.... :(

 

 

Utpal Das
Spatial Moderator
ybiyani
Posts: 223

Re: Project a curve onto a sheet body returning faces

Hello Utpal,

 

Yes- you are right -Those apis would give you the edges. Please try api_embed_wire_in_faces http://doc.spatial.com/qref/ACIS/html/group__BOOLADVEMBED.html#g87f6f5d260cb55a6c5e7e3fb9adb4ab3 .

 

Regards,

Yogesh

Contributor
utpalstone
Posts: 14

Re: Project a curve onto a sheet body returning faces

Dear Yogesh,

 

I have tried using embed wire in faces.....this has

ip:- Wire body/Face Body

out:- Wire embedded in the input facebody (ie. Face itself )

 

Basically is there an API which can do as it has been done in this link , http://doc.spatial.com/index.php/File:ACIS_TSE_before.jpg#filelinks

 

Thanks and regards,

Utpal Das