Hello,
Is there a way to create entity from BRepEdge_DG?
I see method Model::AddBRepShape(&shape, &entity)
But I want just create entity avoiding addition to the model.
Thank you
Entity from an edge
-
- Posts: 121
- Joined: Mon Apr 04, 2016 4:55 am
Re: Entity from an edge
Hi Frank
This is a condensed answer:
IModel_DG > IObjectGenerator_DG > Create("Entity_DG", null) > query IEntity_DG > SetGeometryType("BRep") > IGeometry_DG > query IBRepGeometry_DG > SetShape(IBRepShape_DG shape, null)
Let me know if this is not clear. There are also some other ways.
Regards
This is a condensed answer:
IModel_DG > IObjectGenerator_DG > Create("Entity_DG", null) > query IEntity_DG > SetGeometryType("BRep") > IGeometry_DG > query IBRepGeometry_DG > SetShape(IBRepShape_DG shape, null)
Let me know if this is not clear. There are also some other ways.
Regards