Show messages:
1
2-21
22-41
42-61
62-81
82-101
102-121
122-138
From: Mik (MIKULAS)
...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)
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)
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)
Great script, Max, very useful.
From: chippwalters
Max should get some sort of "USER OF THE DECADE" award for MoI. Great job!!!
From: Max Smirnov (SMIRNOV)
Frenchy Pilou
>> Pseudo Code : When 180° > Arrow Angle > 360° reverse Position Text ...
Now it looks better :)
From: Frenchy Pilou (PILOU)
I am confident! :)
Seems cool!
French version
http://moiscript.weebly.com/cotations.html
From: wastzzz
Can the output be in curves instead of surfaces?
From: christian (CHRI)
hello
formidable efficiency.
Well done guys and applause to Max !!!
Chri
Image Attachments:
1.gif
2.gif
From: Max Smirnov (SMIRNOV)
;) v.0.9 wil be soon
From: Frenchy Pilou (PILOU)
What a teasing! :)
From: Mike (MGG942)
Very nice demo, Christian.
From: Max Smirnov (SMIRNOV)
Version 0.9
Added circular mode.
In fact I made it for angles, but unfortunatelly I had no free time this weekend to write that.
To enter this mode hold the control button while selecting a first point.
In this mode a length of the arrow will be locked to a circle diameter (arrow type 1-3), or radius (arrow type 4-5).
From: Frenchy Pilou (PILOU)
Cool!
But there is a little glitch with this new Mode(with CTRL): when you make a second click on the first click!
All disapears for ever in the space dimension with also the figure! :)
From: Max Smirnov (SMIRNOV)
Hmm, my script doesn't interact with any objects except of dimension lines. I looks like a MoI bug, caused by bug in my script (division by zero). Anyway it's my fault. I've already fixed it. I'll upload new version today evening.
From: wastzzz
Please, is it possible to get the output in curves instead of surfaces? I think it's more lightweight and it's possible to export them without using hidden line removal algorithm.
Max.
From: Michael Gibson
Hi Max, re: make curves instead of surfaces, open the file _Dimensions.htm in a text editor, and edit the line that creates the text factory. It's this one here:
var text = factory ('text', moi.VectorMath.createTopFrame(), tx, fontName, false, false, 'surfaces', textSize, 0, false);
Edit that to replace 'surfaces' with 'curves' and then it will make curve text rather than surface text.
- Michael
From: Frenchy Pilou (PILOU)
<< it will make curve text rather than surface
And for the Arrows ?
From: Max Smirnov (SMIRNOV)
>>And for the Arrows ?
I don't like this idea. If you need curves you can click Dimensions style, select all, select edges, ctrl+c, ctrl+v. It will take 3-4 seconds.
My script works correctly with surfaces only. If you change surfaces to curves, snapping will be enabled for all objects including anotations and dimension lines.
From: Frenchy Pilou (PILOU)
No problem! :)
Show messages:
1
2-21
22-41
42-61
62-81
82-101
102-121
122-138