Sorry to bother you, but I'm having some occt problems.
I want to add a separate entity such as an edge to a shape such as a compound, the shapebrowser for this shape is shown in the picture
if I use the
BRep_Builder builder.
TopoDS_Compound comp;
Builder.MakeCompound(comp);
builder.Add(comp, shape);//target shape, is a compound
builder.Add(comp, edge);//added edge
shape=comp;
This changes the shapebrowser of the original shape, , as shown in Figure 2,which is not what I want to see,
I want to put the separate edge under the shape's compound without changing the original shape, as shown in Figure 3 after I paint it with the mosaic.
Thank you for your reply.
I want to add a separate entity such as an edge to a shape such as a compound, the shapebrowser for this shape is shown in the picture
if I use the
BRep_Builder builder.
TopoDS_Compound comp;
Builder.MakeCompound(comp);
builder.Add(comp, shape);//target shape, is a compound
builder.Add(comp, edge);//added edge
shape=comp;
This changes the shapebrowser of the original shape, , as shown in Figure 2,which is not what I want to see,
I want to put the separate edge under the shape's compound without changing the original shape, as shown in Figure 3 after I paint it with the mosaic.
Thank you for your reply.