How to add a tag to an edge?

I’m trying to write KCL code which draws a face and then creates a shape by revolving it. I would like to measure the full X and Y dimensions of the resulting shape. I can tag edges in the original face, and I can use getOppositeEdge to get the newly created edge, but that Edge is not tagged, so I can’t use getSegStart etc. on it. How can I assign a tag to an edge?

Also - more generally - how can I measure the overall dimensions of a part? Or obtain indivdual vertices to mesure dimensions?

As far as I know, we don’t currently support what you’re asking for in KCL right now. As you found, we have segStart, segEnd, and family of functions in the stdlib. But they don’t currently work with the result of getOppositeEdge(). You can tag faces of the revolve using tagStart and tagEnd. But those don’t seem to work with segStart() either.

I’m not sure if this will help you, but we do have other functionality available in the API, which is exposed in the CLI. For example, you can get the surface area or volume of an object.

What exactly are you trying to do with the measurement? It would help us understand how we might be able to improve things. As always, including KCL helps too.