# "pied à coulisse" v0.4 (calliper square ?)

**URL:** <https://blenderartists.org/t/pied-a-coulisse-v0-4-calliper-square/304204>\
**Category:** Python Support\
**Created:** [March 25, 2003, 9:15am UTC](https://blenderartists.org/t/pied-a-coulisse-v0-4-calliper-square/304204 "2003-03-25T09:15:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![jms](https://blenderartists.org/letter_avatar_proxy/v4/letter/j/e56c9b/32.png) [@jms](https://blenderartists.org/u/jms)\
**Post date:** [March 25, 2003, 9:15am UTC](https://blenderartists.org/t/pied-a-coulisse-v0-4-calliper-square/304204/1 "2003-03-25T09:15:43Z")

</div>

Measure precisely the distance between two points  
and display the result in the 3d windows:  
[http://jmsoler.free.fr/util/blenderfile/callipersquare03.zip](http://jmsoler.free.fr/util/blenderfile/callipersquare03.zip)

v0.2 :Distance on x,y,z axis are shown when layer 11 is activated.  
v0.3: Shape of the tool is drawn now, but 2 constraints are used too…

---

<div class="post-metadata">

**Author:** ![jms](https://blenderartists.org/letter_avatar_proxy/v4/letter/j/e56c9b/32.png) [@jms](https://blenderartists.org/u/jms)\
**Post date:** [March 28, 2003, 1:09pm UTC](https://blenderartists.org/t/pied-a-coulisse-v0-4-calliper-square/304204/2 "2003-03-28T13:09:56Z")

</div>

> [@jms](#):
>
> Measure precisely the distance between two points  
> and display the result in the 3d windows:  
> [http://jmsoler.free.fr/util/blenderfile/callipersquare03.zip](http://jmsoler.free.fr/util/blenderfile/callipersquare03.zip)

[http://www.zoo-logique.org/3D.Blender/zip/mesureprecise.zip](http://www.zoo-logique.org/3D.Blender/zip/mesureprecise.zip)  
Now, this two scripts are exactly the same.

:Z

---

<div class="post-metadata">

**Author:** ![jms](https://blenderartists.org/letter_avatar_proxy/v4/letter/j/e56c9b/32.png) [@jms](https://blenderartists.org/u/jms)\
**Post date:** [June 18, 2005, 5:31am UTC](https://blenderartists.org/t/pied-a-coulisse-v0-4-calliper-square/304204/3 "2005-06-18T05:31:49Z")

</div>

It seems to work correctly with blender 2.37 :  
[http://jmsoler.free.fr/util/blenderfile/callipersquare04.blend](http://jmsoler.free.fr/util/blenderfile/callipersquare04.blend)

---

<div class="post-metadata">

**Author:** ![shr1k](https://blenderartists.org/user_avatar/blenderartists.org/shr1k/32/1974_2.png) [@shr1k](https://blenderartists.org/u/shr1k)\
**Post date:** [June 20, 2005, 6:40pm UTC](https://blenderartists.org/t/pied-a-coulisse-v0-4-calliper-square/304204/4 "2005-06-20T18:40:52Z")

</div>

I like this tool its nice because it works on seperate objects just snap the empty to the verts. but I cant seem to get it working right. It works fine in the blend I download but when I copy and open it in one of my blends I get this  
 ![http://img277.echo.cx/img277/3982/window2eu.jpg](http://img277.echo.cx/img277/3982/window2eu.jpg)  
windows xp  
blender 2.37  
I got python working ( I think ) and I can copy, open and run other scrips in my own blends. Am I doing something wrong?

---

<div class="post-metadata">

**Author:** ![ROUBAL](https://blenderartists.org/user_avatar/blenderartists.org/roubal/32/1006_2.png) [@ROUBAL](https://blenderartists.org/u/ROUBAL)\
**Post date:** [June 21, 2005, 3:03am UTC](https://blenderartists.org/t/pied-a-coulisse-v0-4-calliper-square/304204/5 "2005-06-21T03:03:46Z")

</div>

Hi JMS !

I tried to open your Zipped blend file, but Blender 2.36 closes immediately… I will try with 2.37…

Philippe.

---

<div class="post-metadata">

**Author:** ![ROUBAL](https://blenderartists.org/user_avatar/blenderartists.org/roubal/32/1006_2.png) [@ROUBAL](https://blenderartists.org/u/ROUBAL)\
**Post date:** [June 21, 2005, 3:10am UTC](https://blenderartists.org/t/pied-a-coulisse-v0-4-calliper-square/304204/6 "2005-06-21T03:10:00Z")

</div>

Hi Again !

It works in 2.37a but the displayed distance is always 0.589 !

What’s the trouble ?

Philippe.

---

<div class="post-metadata">

**Author:** ![ROUBAL](https://blenderartists.org/user_avatar/blenderartists.org/roubal/32/1006_2.png) [@ROUBAL](https://blenderartists.org/u/ROUBAL)\
**Post date:** [June 21, 2005, 3:14am UTC](https://blenderartists.org/t/pied-a-coulisse-v0-4-calliper-square/304204/7 "2005-06-21T03:14:50Z")

</div>

OOPs !

Found !

Alt+P must be done each time. 😉

It works !

thanks JMS ! 😛

Philippe.

---

<div class="post-metadata">

**Author:** ![caliban](https://blenderartists.org/letter_avatar_proxy/v4/letter/c/ecccb3/32.png) [@caliban](https://blenderartists.org/u/caliban)\
**Post date:** [June 21, 2005, 4:10am UTC](https://blenderartists.org/t/pied-a-coulisse-v0-4-calliper-square/304204/8 "2005-06-21T04:10:54Z")

</div>

It works if i move the empty named Distance .  
Blender 2.36 CVS built on 2005/O4/23

---

<div class="post-metadata">

**Author:** ![jms](https://blenderartists.org/letter_avatar_proxy/v4/letter/j/e56c9b/32.png) [@jms](https://blenderartists.org/u/jms)\
**Post date:** [June 21, 2005, 9:30am UTC](https://blenderartists.org/t/pied-a-coulisse-v0-4-calliper-square/304204/9 "2005-06-21T09:30:59Z")

</div>

> [@shr1k](#):
>
> I like this tool its nice because it works on seperate objects just snap the empty to the verts. but I cant seem to get it working right. It works fine in the blend I download but when I copy and open it in one of my blends I get this  
> [img][http://img277.echo.cx/img277/3982/window2eu.jpg](http://img277.echo.cx/img277/3982/window2eu.jpg)[/ img]  
> windows xp  
> blender 2.37  
> I got python working ( I think ) and I can copy, open and run other scrips in my own blends. Am I doing something wrong?

You are right . It’s very hard to import . There is a problem with the constrain .
