boolean
All  1-10  11-15

Previous
Next
 From:  Michael Gibson
1493.11 In reply to 1493.10 
Hi Brian, yes it would be - that is the way to currently achieve that.

What I would actually do would be to first do a copy, then do the boolean, then do the paste after the boolean is all done.

That way you don't have any time where there are 2 copies of an object stacked right directly on top of each other, which can make selection more difficult.

- 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:  lyes (BLYESS)
1493.12 In reply to 1493.10 
HI Brian you are not missing any thing but you are thausends miles away, hahaha
i added 2 lines to boolean diff script:copy and paste. and is working.

// config: norepeat

#include "GetObjects.js"

function DoDifference()
{
var objectpicker = moi.ui.createObjectPicker();
objectpicker.allowBReps();
objectpicker.allowCurves();

if ( !GetObjects( objectpicker ) )
return;

var baseobjects = objectpicker.objects;

moi.ui.beginUIUpdate();
moi.ui.hideUI( 'FirstSelectPrompt' );
moi.ui.showUI( 'SecondSelectPrompt' );
moi.ui.endUIUpdate();

if ( !GetObjects( objectpicker ) )
return;

moi.geometryDatabase.copyToClipboardCommand( objectpicker.objects );

var subtractobjects = objectpicker.objects;

var factory = moi.command.createFactory( 'booleandifference' );
factory.setInput( 0, baseobjects );
factory.setInput( 1, subtractobjects );

moi.geometryDatabase.pasteFromClipboard();

factory.commit();
}

DoDifference();
  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:  Brian (BWTR)
1493.13 In reply to 1493.12 
I think I would prefer to keep the simplicity of how it now works.
Especially the idea of withholding the paste until later! I had not given a though to any ability to do that!

And it's everyone usually being 2000miles away from me not the other way around---well I like to think so!
  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:  lyes (BLYESS)
1493.14 In reply to 1493.13 
hi Brain sorrey its just a joke i dont know where you are ,
the clever one is michael im just using demo run out in 10 days
  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:  Brian (BWTR)
1493.15 In reply to 1493.14 
Hey! Mine was a joke also!(But you spelt my name correctly!!!!!!!)

With Michael/MoI and Andrew/3D Coat I am living in app heaven!
  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: All  1-10  11-15