Dimension tool (as in sketchup)
 1-20  21-40  41-60  61-80  81-100  …  121-138

Previous
Next
 From:  3dcnc
7403.41 
This is so helpful. Thanks so much Max for your time.Theses scripts really help fill some missing features without changing the program.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mik (MIKULAS)
7403.42 
...and twin of type 4 -> type 5 :-)



  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7403.43 In reply to 7403.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 ...

EDITED: 1 Jul 2015 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mik (MIKULAS)
7403.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
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mike (MGG942)
7403.45 
Great script, Max, very useful.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  chippwalters
7403.46 
Max should get some sort of "USER OF THE DECADE" award for MoI. Great job!!!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
7403.47 In reply to 7403.43 
Frenchy Pilou
>> Pseudo Code : When 180° > Arrow Angle > 360° reverse Position Text ...

Now it looks better :)

EDITED: 7 Mar 2022 by SMIRNOV

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7403.48 In reply to 7403.47 
I am confident! :)

Seems cool!




French version
http://moiscript.weebly.com/cotations.html

EDITED: 3 Jul 2015 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  wastzzz
7403.49 
Can the output be in curves instead of surfaces?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  christian (CHRI)
7403.50 In reply to 7403.49 
hello

formidable efficiency.

Well done guys and applause to Max !!!

Chri







Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
7403.51 
;) v.0.9 wil be soon

EDITED: 7 Mar 2022 by SMIRNOV

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7403.52 
What a teasing! :)
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mike (MGG942)
7403.53 In reply to 7403.50 
Very nice demo, Christian.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
7403.54 
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).

EDITED: 7 Mar 2022 by SMIRNOV

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7403.55 In reply to 7403.54 
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! :)

EDITED: 5 Jul 2015 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
7403.56 In reply to 7403.55 
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.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  wastzzz
7403.57 In reply to 7403.54 
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.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7403.58 In reply to 7403.57 
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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7403.59 In reply to 7403.58 
<< it will make curve text rather than surface
And for the Arrows ?
---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Max Smirnov (SMIRNOV)
7403.60 In reply to 7403.59 
>>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.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-20  21-40  41-60  61-80  81-100  101-120  121-138