MoI discussion forum
MoI discussion forum

Full Version: Dimension tool (as in sketchup)

Show messages:  1-10  11-30  31-50  51-70  71-90  91-110  …  131-138

From: Frenchy Pilou (PILOU)
30 Jun 2015   [#31]

:)

Someone ask text before the dimension, also text in replacement of the dimension! (here text is after)

You can make that but...



From: Max Smirnov (SMIRNOV)
30 Jun 2015   [#32]
Michael
>obj.setHitTest( false );
Yes! That's exactly what I needed. Thank you! :)

Mik
>it would be very useful to have two additional checkboxes (same as Unit) "prefix" and "suffix"
I've made some changes in the new version ;)

v0.6
Snapping disabled for dimension lines (now script works exacly as planned)
Added more hidden features:
Prefix can be setted by using split symbol | in the units field. Example: R|mm -> R 15.1 mm

Pilou
>>Someone ask text before the dimension, also text in replacement of the dimension! (here text is after)
Special for you. :) Add * in the beginning. Example: *3/4 de pieds d'alouette!
From: phlatt5th (P5TH)
30 Jun 2015   [#33] In reply to [#32]
Max, brilliant!! Thanks again for the tweaks to the already awesome! script.
Cheers.
From: Mik (MIKULAS)
30 Jun 2015   [#34]
Hi Max,

it works perfectly.



Many thanks!

Mik

Image Attachments:
Dimensions.jpg 


From: Frenchy Pilou (PILOU)
30 Jun 2015   [#35]
@Max
Excellent! Bravo!
French Version Updated! http://moiscript.weebly.com/cotations.html


From: trc (TERRYC)
30 Jun 2015   [#36] In reply to [#3]
Michael,

Thank you for putting this on your V4 list. Probably not the most fun thing to work on but but man will it put a spin on MOI.

Terry
From: Finema
1 Jul 2015   [#37]
Great tool !
many thanks Max !

Message 7403.38 was deleted


From: Mik (MIKULAS)
1 Jul 2015   [#39]
Hi Max,

I allowed myself to add new arrow type 4, which can be useful for various description in drafts.



Kind regards,

Mik

Attachments:
Dimensions.v.0.7.2015.07.01.zip

Image Attachments:
Dimensions 2.jpg 


From: Frenchy Pilou (PILOU)
1 Jul 2015   [#40] In reply to [#39]
Neat add!
French Version UpDated http://moiscript.weebly.com/cotations.html

From: 3dcnc
1 Jul 2015   [#41]
This is so helpful. Thanks so much Max for your time.Theses scripts really help fill some missing features without changing the program.
From: Mik (MIKULAS)
1 Jul 2015   [#42]
...and twin of type 4 -> type 5 :-)


Attachments:
Dimensions.v.0.8.2015.07.01.zip

Image Attachments:
Arrow type 5.gif 


From: Frenchy Pilou (PILOU)
1 Jul 2015   [#43] In reply to [#42]
Does it not possible to input a test inside the code for have only a Type 4 ?
Pseudo Code : When 180° > Arrow Angle > 360° reverse Position Text ...


From: Mik (MIKULAS)
1 Jul 2015   [#44]
Hi Pilou,

it's question for MAX, I have no experiences with script writing unfortunately. I've only analysed Max's script and analogically added new arrow types.
I've only noticed that arrows are created as polylines in Cartesian coordinate system and then it makes surface from polyline.
Position of text is done by vector of direction probably when the arrow line is created (from left to right and vice versa).

BTW Type 5 is can be used for radius measurement as well. In "unit" text box it has to be paste " R| "




Mik

Image Attachments:
Arrow type 5_2.gif 


From: Mike (MGG942)
2 Jul 2015   [#45]
Great script, Max, very useful.
From: chippwalters
2 Jul 2015   [#46]
Max should get some sort of "USER OF THE DECADE" award for MoI. Great job!!!
From: Max Smirnov (SMIRNOV)
3 Jul 2015   [#47] In reply to [#43]
Frenchy Pilou
>> Pseudo Code : When 180° > Arrow Angle > 360° reverse Position Text ...

Now it looks better :)
From: Frenchy Pilou (PILOU)
3 Jul 2015   [#48] In reply to [#47]
I am confident! :)

Seems cool!




French version
http://moiscript.weebly.com/cotations.html
From: wastzzz
4 Jul 2015   [#49]
Can the output be in curves instead of surfaces?
From: christian (CHRI)
4 Jul 2015   [#50] In reply to [#49]
hello

formidable efficiency.

Well done guys and applause to Max !!!

Chri







Image Attachments:
1.gif  2.gif 


Show messages:  1-10  11-30  31-50  51-70  71-90  91-110  …  131-138