Dimensions Feedback and Features

Next
 From:  stefano (LIGHTWAVE)
9950.1 
Hi All,

1.Is there is a way to set default line colour
on all dimensions to say 70%black or any other colour (Not 100% black)?

I understand we can select the line colour for the layer/style they are on
but I'm hoping for a default global setting...ideally
one click or in options¿ or could be ok in the ini file.

2. Keyboard shortcuts.
Can we set up a 2 command shortcut to select say;
A. horizontal dimension tool
with subset menu
B. "from frame" selected

I'm pretty interested in these 2 command shortcuts.

Stefano
  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
9950.2 In reply to 9950.1 
Hi Stefano,

re:
> 1.Is there is a way to set default line colour
> on all dimensions to say 70%black or any other colour (Not 100% black)?
>
> I understand we can select the line colour for the layer/style they are on
> but I'm hoping for a default global setting...ideally
> one click or in options¿ or could be ok in the ini file.

There isn't any way to do that currently but I will add in an option for that.


re:
> 2. Keyboard shortcuts.
> Can we set up a 2 command shortcut to select say;
> A. horizontal dimension tool
> with subset menu
> B. "from frame" selected
>
>I'm pretty interested in these 2 command shortcuts.

I'm not quite sure I understand this completely - could you please describe a bit more what you mean by "subset menu", and there isn't any dimension option of "from frame", do you mean "From object" ?

If you mean you want a keyboard shortcut that trigger horizontal dimension with the "From object" mode activated immediately, you can do that by setting up a keyboard shortcut like this:

DimHorizontal FromObject

Put that whole line into the "Command" part of a shortcut key. Then if you preselect a curve clicking on the line segment of interest, you can then press that shortcut key to place a horizontal dimension set to the endpoints of that line automatically without having to click on the points.

You can also set up these for vertical and aligned dimensions:

DimVertical FromObject

DimAligned FromObject

Please let me know if that was not what you were asking about.

- 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:  stefano (LIGHTWAVE)
9950.3 In reply to 9950.2 
Thanks Michael, you fully answered my observations and question.
Really glad I can do those "FromObject" dimension shortcuts! Thanks again. Stefano
  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:  stefano (LIGHTWAVE)
9950.4 In reply to 9950.3 
I like using this shortcut for quick access to dimension properties:

script: /* Show Details dialog */ moi.ui.createDialog( 'ObjectPropertiesDialog.htm','resizeable,defaultWidth:700,defaultHeight:500');

thanks for that one Michael.

This is the sort of segment dimensioning I like...1 click (horizontal or vertical) and great for speedy 2d stuff...




  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:  stefano (LIGHTWAVE)
9950.5 In reply to 9950.4 
Attn: Brian

"A very short leader arrow can be added to one end of a circular arc, to simulate an arc leader. Do not know if this is OK or not"

The one I did below used two "arrow leaders" and no text on them.
1 with open arrow one with dot.
'Cut dir' is "ABC text" (really easy to place precise)
To get the curve I trimmed the slot shape/copied that.
Then stretched it manually to create an inset.
This is a workaround and fairly fast or "good practise"
as the arrow tools cannot currently be curved.







> Those with a sharp eye might notice the curve object is slightly thicker than the leader lines...
Michael's workaround is only for those into 'ini' editing:
re: line width – the dimension lines use a rendering style that has a thinner amount of anti-aliasing than regular curve geometry.
Currently there isn’t a way to turn that off for the dim lines, but you can turn it on for regular geometry in moi.ini :
[View]
<….>
UseThinAntiAliasing=y
--------------------------------------

Another specific way to show 'cut direction' direct on path is here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=9781.5

EDITED: 19 Sep 2020 by LIGHTWAVE


  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)
9950.6 
Other is use Dimensions by Max Smirnov! ;) http://moi3d.com/forum/index.php?webtag=MOI&msg=7403.133
All is "objects" at the end! So can be used in Flow function if you want more deformation!
Here not with Flow Function!
  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:  stefano (LIGHTWAVE)
9950.7 In reply to 9950.6 
My favourite reference page to Max's dimension script,here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7403.41
‐‐‐---‐---‐----
Hi Pilou, as someone new to MOI I'm currently more curious to test ins and outs of native functions 1st...
Especially interested in the new features (dxf layers, annotations etc) as it gives us chance to test and contribute other ideas. Of course later on I'll likely test or use other tools - node editor, customui etc etc. Right now its plain v4 nothing else allowed to distract me..

Oh talking of learning, 》》》watch out 《《《 I got that gif screen tool installed and 1st one is up there :0)

Great forum ...your contributions are greatly respected!!!

Stefano

EDITED: 17 Sep 2020 by LIGHTWAVE

  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)
9950.8 In reply to 9950.7 
No problem! :)
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel 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:  stefano (LIGHTWAVE)
9950.9 In reply to 9950.8 
Fyi: I've also been to your website a few times and liked its organisation.. have a lot of Max's tools shortlisted for later.
I had a slight headache with the custom ui and then when the latest beta came out I said....

"stick to standard" (for a bit)

Ps. The best dimension on any production drawing I might do is often a 10x10mm reference block.
Less is more.

EDITED: 17 Sep 2020 by LIGHTWAVE

  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:  stefano (LIGHTWAVE)
9950.10 In reply to 9950.9 
Custom Call Outs / Leaders



> Left click to draw points.
> Right click to end.
> I leave text blank here to manually position text precisely afterwards.

Notes:
- Nice there is an annotations type layer split by 'type'
- Feature Request - Ability to link text to object in more flexible way.
- Feature Request - Ability for sequential callout/leader numbering (with incremental start control)
- Feature Request - Bezier control and/or way to convert other lines and curves to object type:-leaders.

EDITED: 18 Sep 2020 by LIGHTWAVE


  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:  stefano (LIGHTWAVE)
9950.11 In reply to 9950.10 
EMAIL AN ORDER | WORKFLOW EXAMPLE








__________________________________________________________________________
> Using all native annotation tools + style colours to draw attention to small details.
> This workflow uses a couple of 'smart' shortcuts kindly provided by Michael.
> Uses my favourite 'lightweight' screencapture tool 'PrtScr'
http://www.fiastarta.com/PrtScr/

> Text file called "MOI3D ANNOTATIONS R0" has further info and the settings I use (below).
__________________________________________________________________________

EDITED: 18 Sep 2020 by LIGHTWAVE


  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:  stefano (LIGHTWAVE)
9950.12 In reply to 9950.11 
RTF FILE has a few shortcuts, tips and screenshots that may help
people save a lot of time if working with annotations or looking to email
'marked up' drawings.

Can't help mac users on screenshot software but nonetheless
most can work this out and just take the shortcuts and also see:

Other ways to take screenshots from viewports here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=9526.173
http://moi3d.com/forum/index.php?webtag=MOI&msg=4559.2

Attached is the basic moi file used for the demo...

UPDATE: R1
As I prefer to use a universal screen capture tool...Here's the final script I am now using prior to taking the screenshot(s)...

script: /* Toggle show grid and axis and colour*/ moi.grid.showXYAxes = !moi.grid.showXYAxes; moi.grid.display = moi.grid.showXYAxes; if ( !moi.grid.showXYAxes ) { moi.command.setOption( 'prev_bkgnd_color', moi.view.viewportBackgroundColor ); moi.view.viewportBackgroundColor = 0xFFFFFF; } else { var prev_background = 0xd0d5da; try { prev_background = moi.command.getOption( 'prev_bkgnd_color' ); } catch(e){} moi.view.viewportBackgroundColor = prev_background; }

Translated:
A. Toggles off Grid and grid axis
B. Makes background white
THEN...press 2:
C. Toggles back on grid parts (A) and.... goes back to previous background colour.

"
The script stores the previous color value somewhere else rather than as just a local variable inside the script. There is a method meant for storing command options between runs of a command.
But it will only store it for this program run, it won’t persist between program sessions. So try to remember to restore it before you close down MoI. If it cannot find a saved value it
will use #d0d5da [default grey] .
"
Thank you Michael !!!



COMING SOON/NEXT:
Demo on Workflows for Presets etc.

EDITED: 21 Sep 2020 by LIGHTWAVE


  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:  stefano (LIGHTWAVE)
9950.13 In reply to 9950.12 
Shortcuts kindly provided by Michael that help speed up / automate creation or management of dimension presets.



#1: Goes direct to ADD DIMENSION PRESET

script: /* Add preset dialog */ var dlg = moi.ui.createDialog( 'AddPreset.htm', 'resizeable,defaultWidth:26em,fixedHeight'); var res = dlg.window.doModal(); if ( res != -1 ) { var name = res[0]; var copy_from_index = res[1]; moi.geometryDatabase.addAnnotationPreset( name, copy_from_index ); }

#2: Goes direct to Options/Dimensions

script: /* Options dialog - dimensions */ moi.command.setOption( 'Options.htm_lastused', 'Dimensions' ); moi.ui.createDialog( 'Options.htm', 'resizeable,defaultWidth:43em,defaultHeight:32em' )

#3 Stefano 'shorthand' one for opening options dialogue box:

moi.ui.createDialog( 'moi://ui/options.htm','resizeable,default');
or
script: /* Options */ moi.ui.createDialog( 'moi://ui/options.htm','resizeable,default');

EDITED: 21 Sep 2020 by LIGHTWAVE


  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:  stefano (LIGHTWAVE)
9950.14 In reply to 9950.13 
When more than one object is selected or all objects selected its easy to get the annotation selections
Just click "details" or use a shortcut for object properties (as above post 9950.4):



EDITED: 21 Sep 2020 by LIGHTWAVE


  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