Can we measure angles on the 3Dslicer

Operating system:
Slicer version:
Expected behavior:
Actual behavior:

There used to be an angle measurement widget in Slicer but then it had to be removed temporarily until the underlying infrastructure is cleaned up.

Until this widget becomes available again, you can use this module for measuring angles:

https://gist.github.com/lassoan/9bf334743871e400f7e3b3745b312b14

You have to place two rulers and the module shows angle between them. You can click on “Add to table” to add the measurement to a table and remove the rulers.

image

2 Likes

Has this ever gotten updated so that the widget is available?

Also, for whatever reason, any time I record an angle with this script. The rulers are cleared instantaneously, is there a way to preserve the rulers?

Not sure if the given script is working correctly either because I ran it on

image

and it gave me an angle of 137.4.

Yes, that looks correct (about 45 deg less than 180 deg). Note that the order of points matter, not which endpoints you place close to each other.

This is a feature. This allow you to make many measurements. You can change the script to not clear previous angles.

I’m working on improving widgets. I’ll first add curve widget, but soon after I’ll add proper angle measurement widget. It should be available in a few months.

1 Like