CC :: Rebuild Curves
 1-14  15-21

Previous
Next
 From:  pitrak
2776.15 In reply to 2776.14 
One thing I just noticed: when rebuilding a curve it changes to the current style. The script is probably from before 'styles'. Anyone knows how to change the script so it keeps its style?
  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:  pitrak
2776.16 In reply to 2776.15 
Another minor bug with Rebuild Curves and the august beta: if you undo after a rebuild curve, the original curve is locked..
  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:  tyglik
2776.17 In reply to 2776.16 
This is a MoI's feature ;) The Hide or Lock commands aren't regular ones - you can use them while running another command (e.g. boolean diff). And when you launch some command (e.g. to draw curve) after using hide or lock there is no way to undo the state of view considering visibility. -Petr
  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:  BurrMan
2776.18 In reply to 2776.17 
Hi Petr,
In the scene browser under styles, there is now a lock icon instead of an eye. Clicking this hides the object for me. Does this not work for you? Or were you refering to something else?

Burr
  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
2776.19 In reply to 2776.15 
Hi pitrak,

> One thing I just noticed: when rebuilding a curve it changes
> to the current style. The script is probably from before
> 'styles'. Anyone knows how to change the script so it
> keeps its style?

It's not so easy to make the script handle this at the moment, but I have added some additional script methods for the next v2 release which will make it possible to adjust this in the next beta.

- 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:  Michael Gibson
2776.20 In reply to 2776.17 
Hi Petr, re: Lock - actually what happens in this case is the rebuild command locks the input objects, and if that object is then deleted with a call to moi.geometryDatabase.removeObjects() it will get recorded on the undo stack with that locked property set.

So this can be fixed by just unlocking the objects before they are deleted in RebuildCurve.js .


For the next v2 release I've also added some methods on factories so that it is easier to retrieve the objects that were generated and inserted into the geometry database with a regular factory update() call.

- 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
 From:  tyglik
2776.21 In reply to 2776.20 
>> So this can be fixed by just unlocking the objects before they are deleted in RebuildCurve.js

I fixed that a few weeks ago and put the updated version there... -Petr
  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-14  15-21