ordinate dimensions plugin

Next
 From:  pressure (PEER)
11115.1 
Here's a new plugin for ordinate dimensioning.



It's based on the Leader command, so you'll need to make a preset with arrowhead length set to zero at Options > Dimensions:



The gap between the ordinate line and its base point is controlled by "Extension gap" in the preset.

The construction plane coordinate system is used and all dimensions are projected down to the cplane. To change the origin or orientation adjust the cplane at View > CPlane.

A couple limitations apply:
  1. Gap can't be changed after the dimension is drawn.
  2. Dimension text won't update if the dimension line is moved, the drawing is scaled, or the drawing unit system is changed.

An icon for this plugin can optionally be added to the UI with the included startup script:



Install by going to MoI's appdata folder.

On Windows you can find the Moi appdata folder by typing Win+R to bring up the Windows "Run" dialog and then type in:
%AppData%\Moi\

On Mac from a Finder window, go to the menu and pick Go > "Go to folder" and type in:
~/Library/Application Support/Moi/

You should see the folders “commands” and "startup". Put Ordinate.js and Ordinate.htm in commands. If you want the icon added to your UI then put DimTabContent_customizer.js and OrdinateIcon.png in startup.

To set up a shortcut key go to Options > Shortcut Keys and type in Ordinate as the command name.

- Peer

  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:  Larry Fahnoe (FAHNOE)
11115.2 In reply to 11115.1 
Very nice Peer!

Although the usage & result is clear in your example, I was unfamiliar with the concept of ordinate dimensioning, so your script also provoked a little reading & thinking which is always a good thing.

A cousin to my Coordinates script https://moi3d.com/forum/messages.php?webtag=MOI&msg=10013.1 while at the same time entirely different.

--Larry
  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)
11115.3 
@ Peer
Very cool if needing!

Must be a future addition or will stay as a plugin ?
  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)
11115.4 In reply to 11115.1 
Hi

very nice job
quick and easy
like M.O.I !

Thanks PEER
  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
11115.5 In reply to 11115.1 
Thanks for sharing it Peer!

- 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:  Death
11115.6 In reply to 11115.5 
Thanx!

Nice to have...
  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:  pafurijaz
11115.7 In reply to 11115.1 
Thanks for this nice addition,
In Linux Ubuntu MoI's appdata folder is hidden

/home/user/.moi/

or simple way ~/.moi/

Greetings
  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:  pressure (PEER)
11115.8 
All this encouragement feels good :)

- Peer
  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:  Zooen
11115.9 In reply to 11115.3 
Pilou@ Very cool if needing!

Lapalissade! obvious statement.

Many drawings of mechanical or industrial parts use this type of dimensions.
This would deserve to be included in MoI.

- Zooen


Everything that is imagined and invented is true, you can be perfectly sure of it.
  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
 From:  Marbleman
11115.10 In reply to 11115.1 
Thanks Peer, what a great script!
www.jameselliott.co.uk
  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