composite curve slow

After geometry creation and before meshing, I composite any set of curves (two, three, four) which are simply connected through common nodes, to get rid of the trivial nodes in between. These got split up during earlier geometry cut operations. These common nodes create unnecessary constraint of having a mesh element vertex there (is that correct?). composite curve operation is slow, takes 1 minute, and I have to do this 50-60 times. How can I speed up this process? Is there some command like composite all, similar to merge all, for this work? I do not want to composite the two curves if there is a third curve branching out of the common node due to an earlier cutting operation because that needs to be honored.

May be I am approaching this wrongly and there is a way to bypass this composite step altogether e.g. making the meshing step not constrained by the trivial node common between two curves.

Would it be possible to look at your model? It shouldn’t be taking that long to do the composite. There are a few things you can do:

  1. Regularize
    Regularize {Body|Group|Volume|Surface|Curve|Vertex}
    This command will remove any unneeded topology. If you have a long straight curve that was divided into several pieces, this will combine all the pieces back into a single straight curve.

  2. Simplify
    Simplify {Volume|Surface|Curve} [Angle ]
    [Respect {Surface <id_range> | Curve <id_range> | Vertex <id_range | Imprint}]
    [local_normals] [Preview]
    This is an automatic way of compositing. It looks for curves that are nearly tangent at vertices and composites the curves together, removing the unneeded vertex.

  3. Create Curve Combine Curve <id_list> [delete]. This might work, but it is very stringent in its requirements. This command combines the two given edges whose ends meet at a point of G1 continuity. The edges themselves should be at least G1 continuous, or the resulting edge will not work well with other ACIS operations.

Send me your model along with the commands you are doing to composite the curves. I can see why it might me taking so long.

–Corey (corey@csimsoft.com)

Thank you for very helpful suggestions. My cub file is 1.46 GB. This is probably also the reason why composite takes so long. However, simplify works much faster. I used simplify curve all angle 25 and then dug deeper to take of remaining special cases. Just need to be careful to use respect option because simplify can continue compositing curves based on angle, even beyond what is given at the command. Regularize did not do anything for me and is also slow.