Dimension tool (as in sketchup)
 1-5  …  46-65  66-85  86-105  106-125  126-138

Previous
Next
 From:  Mik (MIKULAS)
7403.86 In reply to 7403.78 
Hi Max,

>unfortunatelly your last changes broke type 5 in the circular mode.

May I kindly ask you what do you mean? It seems to me that type 5 works in same way in version 0.94 as well as 0.95. I noticed only that the type 5 works a bit different in non circular mode in comparison to circular mode - second click cannot be done in centre of radius, but if the second click is done inside of circle the dimension is correct. The last change is concerning only dimension line length and Scale range, because I didn't like uselessly long dimension line with large radius.



Regarding numeration... I have absolute zero experiences with script writing as I mentioned in some of my previous post; therefore numeration is new for me as well. I've tried only adjust your script for my usage only and because I wanted to share it here in the forum I used continuing numeration in order to differentiate my interference. Sorry for my unfamiliarity with that, but if you mean that such adjusting doesn't correspond to your concept please correct it or delete it, because I have no ambition to use any my identification in your script. I wouldn't take the liberty of doing this at all, because I strongly respect for your work :-)

Kind regards,

Mik

EDITED: 12 Jul 2015 by MIKULAS


  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.87 In reply to 7403.86 
Hi Max,

I know already what you meant :-)

The misunderstanding was based on my "BC" usage of type 4 and 5. I used for outer radius type 5, but in circular mode it make sense to use type 4 now, exactly as Chri posted in 7403.75.

var "BC" = "before circular mode" :-)

Mik
  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.88 In reply to 7403.84 
hi Max

in french : BRAVO monsieur SMIRNOV , vous etes un grand monsieur !

Many thanks MAX , you are great ! - Максим, спасибо

Chri





EDITED: 9 Jan 2021 by CHRI

  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.89 In reply to 7403.88 

  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.90 In reply to 7403.89 
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:  Kroete (TAREK)
7403.91 In reply to 7403.90 
That is just awesome!! Thank you 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:  christian (CHRI)
7403.92 In reply to 7403.90 

EDITED: 29 May 2020 by CHRI

  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.93 
Release candidate ;) v.99
Added:
Feet/Inches format
Angles > 180
Type names
Type 6 activates circular mode automatically

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.94 
Near perfection! ;)
---
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:  Frenchy Pilou (PILOU)
7403.95 
---
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:  christian (CHRI)
7403.96 In reply to 7403.93 
Hi Max

Just incredible !!!
There was MOI before and MOI after your development .
It's seems so simple with your job

Thanks .... and i mean , thanks from all users.

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:  christian (CHRI)
7403.97 In reply to 7403.93 
Hi Max

What do you think a bout this ...

like rectangle tool but with 2 erased lines ... then _dimensions command .

Chri









  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:  archetype (FABIENF)
7403.98 
Hi Max,

Another amazing script, thanks! Very useful indeed!

I really like christian's suggestion above, especially if the rectangle would snap to specific distances, so you can neatly place all annotations at the same distance from your drawing.

Ideally, we'd be able to set the offset from the text relative to the line, as well as the offset of the 'overshoot' of helper lines - usually you'd have this, instead of placement at very the end of these lines.

Thanks again, kind regards,

Fabien
  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:  ed (EDDYF)
7403.99 
A wonderful script Max. I think Christian & Fabien have valid ideas.

Ed Ferguson
  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:  Andrei Samardac
7403.100 
Hi,
I just created command that Show/Hide Dimensions. It toggles visibility of dimensions.
If all dimensions are hidden they will be shown else they will be hidden.
Command - Styles_ShowHideDimensions

Download it here:
http://bit.ly/1SCvfJP

Also in archive there is modified original dimension script.
It will unhide all Dimensions if they was hidden when you run command.

Max if you want you can keep this modification in future releases there is function at the end of _Dimensions.htm called ShowDimensions().

____________________________________________________________________
www.samardac.com
  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.101 
Does it possible to have something (or a trick) for have number of decimals wished?

Because edit the "round" function of the _Dimensions.htm manually is some painful ! ;)
Here you must change the "2" with number of decimals wished!
angle = round arc.angle, 2)
fixedDist:round(dist, 2);
fixedDist = round(R, 2);
  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:  bemfarmer
7403.102 In reply to 7403.101 
A little study and learning shows:

Line 21 of the .htm file has the round function, which rounds the val number to p decimals.
The function is called from 3 locations, line 52, 152, and 156, where p = 2, or p=2, or for angles, p=1.
I inserted the hard code "p+=2;" in Line 21, which raises decimals to 4, or 4, or for angles, 3decimals.


Test modification of line 21 of .htm file: function round(val, p) { p+=2; return Math.round(val*Math.pow(10, p))/Math.pow(10,p) }

I believe another user input could be added, for the desired decimals. But should 3 different user inputs be added, including one for angles?
Maybe 3 default values would be needed too?

I am not going to mess with Max's superb code :-)

- Brian
  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.103 
>>Here you must change the "2" with number of decimals wished!
:) Ok, boss

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.104 In reply to 7403.103 
>> :) Ok, boss

You rocks!
French Version : http://moiscript.weebly.com/cotations.html



PS Here 10...
Seems 14 is the Maximum possible! So suffucient I presume! :)
So maybe you can change the 4 in 14! (line 282) ;)

EDITED: 14 Sep 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.105 In reply to 7403.104 
No-no-no. :)
In fact nobody uses more than 2 digits after decimal point.
  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-5  …  26-45  46-65  66-85  86-105  106-125  126-138