# \[ANN\] TapeMeasure.jl - Dimensioning tool for Julia

**URL:** <https://discourse.julialang.org/t/ann-tapemeasure-jl-dimensioning-tool-for-julia/122183>\
**Category:** Package Announcements\
**Created:** [November 2, 2024, 7:42pm UTC](https://discourse.julialang.org/t/ann-tapemeasure-jl-dimensioning-tool-for-julia/122183 "2024-11-02T19:42:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![co1emi11er](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/co1emi11er/32/206849_2.png) [@co1emi11er](https://discourse.julialang.org/u/co1emi11er)\
**Post date:** [November 2, 2024, 7:42pm UTC](https://discourse.julialang.org/t/ann-tapemeasure-jl-dimensioning-tool-for-julia/122183/1 "2024-11-02T19:42:14Z")

</div>

# [TapeMeasure.jl](https://co1emi11er2.github.io/TapeMeasure.jl/stable/)

 ![tape_measure_large_logo](https://global.discourse-cdn.com/julialang/original/3X/e/e/eee643fd322f67892a8fe69e12df465dbef2ca35.png)

[TapeMeasure.jl](https://co1emi11er2.github.io/TapeMeasure.jl/stable/) is a package that can be used with both Plots.jl and Makie.jl. See below for basic usage:

```julia
using TapeMeasure
using Unitful
using Plots

const ft = u"ft"

# Define a few objects consisting of x and y coordinates
 x = [
	 [2.5ft, 2.5ft, 3.7083333329999997ft, 3.7083333329999997ft, 2.666666667ft, 2.666666667ft, 5.333333333000001ft, 5.333333333000001ft, 4.291666667ft, 4.291666667ft, 5.5ft, 5.5ft, 2.5ft],
	 [10.5ft, 10.5ft, 11.708333333ft, 11.708333333ft, 10.666666667ft, 10.666666667ft, 13.333333333ft, 13.333333333ft, 12.291666667ft, 12.291666667ft, 13.5ft, 13.5ft, 10.5ft],
	 [18.5ft, 18.5ft, 19.708333333ft, 19.708333333ft, 18.666666667ft, 18.666666667ft, 21.333333333ft, 21.333333333ft, 20.291666667ft, 20.291666667ft, 21.5ft, 21.5ft, 18.5ft],
	 [26.5ft, 26.5ft, 27.708333333ft, 27.708333333ft, 26.666666667ft, 26.666666667ft, 29.333333333ft, 29.333333333ft, 28.291666667ft, 28.291666667ft, 29.5ft, 29.5ft, 26.5ft],
	 [34.5ft, 34.5ft, 35.708333333ft, 35.708333333ft, 34.666666667ft, 34.666666667ft, 37.333333333ft, 37.333333333ft, 36.291666667ft, 36.291666667ft, 37.5ft, 37.5ft, 34.5ft]
 ]

y = [
	[-0.25ft, -0.541666667ft, -0.875ft, -3.375ft, -4.020833333000001ft, -4.75ft, -4.75ft, -4.020833333000001ft, -3.375ft, -0.875ft, -0.541666667ft, -0.25ft, -0.25ft],
	[-0.25ft, -0.541666667ft, -0.875ft, -3.375ft, -4.020833333000001ft, -4.75ft, -4.75ft, -4.020833333000001ft, -3.375ft, -0.875ft, -0.541666667ft, -0.25ft, -0.25ft],
	[-0.25ft, -0.541666667ft, -0.875ft, -3.375ft, -4.020833333000001ft, -4.75ft, -4.75ft, -4.020833333000001ft, -3.375ft, -0.875ft, -0.541666667ft, -0.25ft, -0.25ft],
	[-0.25ft, -0.541666667ft, -0.875ft, -3.375ft, -4.020833333000001ft, -4.75ft, -4.75ft, -4.020833333000001ft, -3.375ft, -0.875ft, -0.541666667ft, -0.25ft, -0.25ft],
	[-0.25ft, -0.541666667ft, -0.875ft, -3.375ft, -4.020833333000001ft, -4.75ft, -4.75ft, -4.020833333000001ft, -3.375ft, -0.875ft, -0.541666667ft, -0.25ft, -0.25ft]
]

dims = h_dim(x, y)

plot(x, y, seriestype=:shape, color=:lightgrey, legend=false, aspectratio=1)
plot!(dims)

```

 ![plots_plt](https://global.discourse-cdn.com/julialang/original/3X/c/9/c923ca7c5955c8e2392f9746185a69b33ebf1207.png)

## Roadmap

- Integrate with Meshes ecosystem

- Add angle dimensions

These are some of the things I want to do. I am just not exactly sure how I want to do it yet.
