# Create dimension lines for 3D model

**URL:** <https://discourse.slicer.org/t/create-dimension-lines-for-3d-model/37250>\
**Category:** Development\
**Created:** [July 8, 2024, 5:27am UTC](https://discourse.slicer.org/t/create-dimension-lines-for-3d-model/37250 "2024-07-08T05:27:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![park](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/park/32/5717_2.png) [@park](https://discourse.slicer.org/u/park)\
**Post date:** [July 8, 2024, 5:27am UTC](https://discourse.slicer.org/t/create-dimension-lines-for-3d-model/37250/1 "2024-07-08T05:27:32Z")

</div>

Hi all,

I would like to draw dimension lines on a model in the 3D view as shown in the following image.

![캡처](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/8/186167b8afb67d50fc6d669f5de84b60c8494533.png)

Is there any existing feature in Slicer that provides similar functionality, or would it need to be created from scratch? If it needs to be created, would it be better to use markupsNode or vtkLine?

The dimension line does not need to be interactive, and the values will be provided as input. This feature is simply to provide intuitive model information to the user.

Any information would be very helpful to me.  
Thank you

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [July 8, 2024, 12:43pm UTC](https://discourse.slicer.org/t/create-dimension-lines-for-3d-model/37250/2 "2024-07-08T12:43:27Z")

</div>

I don’t think there’s anything quite like that. You can definitely build something up from markups, but writing something custom is probably required. Note that it’s very hard to make the layout of 3D annotations look like what people expect.
