Meshing Question

 From:  Michael Gibson
1723.10 In reply to 1723.9 
Hi PaQ,

> (or maybe be able to add arguments to the command, like
> SaveAs c:\test.obj -Output triangles -Angle 50 -Avoid smaller 4)

You can actually do this part now by using a script, for that put in this as the command name for the keyboard shortcut instead:

script:moi.geometryDatabase.saveAs( 'c:\\test.obj', 'Angle=45;Output=quads' );

You can put in different parameters with this method. Each parameter should be separated from the others by one semicolon.

// Different possible options:
// NoUI=true
// Angle=12.0
// Output=ngons | quads | triangles
// MaxLength=0.0
// MaxLengthApplyTo=curved | planes | all
// MinLength=0.0
// AspectRatio=0.0
// Weld=true
// Display=shadedwithedges | shadednoedges | wireframe
// ExpandedDialog=false

Except there is a glitch in v1 where when you cancel the dialog when running outside of a command like this, the cancel will actually get queued up and so every other time you run it in a row will get canceled, so the shortcut will only work on every other keypress. I have just fixed this up for v2 though.

- Michael