Lots of unkown
 1-5  …  166-185  186-205  206-225  226-245  246-265  …  366-372

Previous
Next
 From:  Michael Gibson
8665.206 In reply to 8665.205 
Hi Tudor,

re:
> moi.ui.alert(factory.getInput(1)) returns moi.object. Is a way to return value? or search for another way ?

factory.getInput(index) returns a geometry factory input object which has a getValue() function on it.

- 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:  Cemortan_Tudor
8665.207 
sry but I have and error ..
it's making smt & I can't define where's the error
- Tudor -
Image Attachments:
Size: 309.4 KB, Downloaded: 33 times, Dimensions: 1249x410px
  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
8665.208 In reply to 8665.207 
Hi Tudor, if the input has never been initialized with any value, it will throw an "operation failed" exception.

So you would need something like:

var gotvalue = false;
var value;

try {
value = input.getValue();
gotvalue = true;
} catch(e){}

- 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:  Cemortan_Tudor
8665.209 
nope
factory.getInput(1) - returns object
factory.getInput(1).getValue() - always undefined

my assumption is that
1. cuz it wasnt any init from js (factory.setValue(1)...) it cant read the values from factory
2. factory.getInput(1) - has a different object format
3. curveOffsetDistance internal is returning undefined after execution -> while dragging offset - the value is always 0

I give up
- Tudor -
Image Attachments:
Size: 22.5 KB, Downloaded: 28 times, Dimensions: 520x339px
  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
8665.210 In reply to 8665.209 
Hi Tudor, if you can post a complete script file that I can run over here I can take a look.

- 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:  Cemortan_Tudor
8665.211 
vanilla offset with hotkeys modifications
d -> swap from thought point to distance -> idea is to keep through point to distance value, so on next offset will remember last action -> since distance has already a build-in setOption
- Tudor -
Attachments:

  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
8665.212 In reply to 8665.211 
Hi Tudor, for offset the input index 1 is for a distance value, it is only filled in if you are using offset in its "offset by specific distance" mode, not in through point mode.

So for example if you type in 3 and push enter that input will get initialized to 3 and then your messages would show "3" and "true" when you pick a point for which side to offset on.

There was at one point a "curveOffsetDistance" additional property on the offset factory that would give back the current distance used for "through point" mode, but it's not working currently. I'll take a look and see if I can get that working.

- 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:  Cemortan_Tudor
8665.213 
Isocurve
v - swap between u/v
b - both
- Tudor -
Attachments:

  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:  Cemortan_Tudor
8665.214 
Hi Michael
another future that i'd like to see -> u might not accept it
ctrl dragging(dublicate) - assign snap during dragging -> shift is straight, alt -> removes snaps, what about 'space' - readjust snapping point (readjust anchor position)
  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
8665.215 In reply to 8665.214 
Hi Tudor, sorry no I don't think that would be very easy to add. If you want a specific anchor position, use the Transform > Move command instead of object dragging.

- 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:  Cemortan_Tudor
8665.216 
I'll put this at wish List
habit for select - apply action -> fillet/chamfer control points
the way it works now if points are selected, u can't apply action instead is returning to object selection
- Tudor -
  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:  Cemortan_Tudor
8665.217 
Chamfer hotkeys -> works only with 1 distance

Numpad+ -> value + value/2
Shift+Numpad+ -> value + value/10
Numpad- -> value - value /3
Shift+Numpad- -> value + value/10
Numpad* -> value*2
Numpad/ -> value/2
Ctrl+Shift+Numpad+ -> value +value/100
Ctrl+Shift+Numpad- -> value - value/100
r - reset distance to 0 -> to start new one
Attachments:

  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:  Cemortan_Tudor
8665.218 
scale/rotate/move gizmo
move - holding shift has a snapping direction, will be nice also for scale snapping direction
- Tudor -
  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:  Cemortan_Tudor
8665.219 
found a solution for move -> copy
http://moi3d.com/forum/index.php?webtag=MOI&msg=8665.182

Move
added C -> move copy (duplicate origin with move hotkeys options), works before 1'st picked point
- Tudor -
Attachments:

  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
8665.220 In reply to 8665.218 
Hi Tudor,

re:
> scale/rotate/move gizmo
> move - holding shift has a snapping direction, will be nice also for scale snapping direction

Shift is already being use there for a different function, it does a 2D scale instead of a 3D scale.

- 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:  Cemortan_Tudor
8665.221 
Hi again !
So a question about pointpicker -> Is any option to force update ?
I've noticed in move commands - where I swap axis by hotkeys & it won’t update until I'll do a mouse move - seems that forces to update factories
now I'm working in combining rectangles under 1 script - needs also a pointpicker update (I'm updating factory - but since pointpicker haven't changed -> no updates) have a basept, need to update second pt or waitable pointpicker pt
- Tudor -
  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
8665.222 In reply to 8665.221 
Hi Tudor,

re:
> So a question about pointpicker -> Is any option to force update ?

Not currently but I have added in a pointpicker.recalc() function for the next beta to do that.

- 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:  Cemortan_Tudor
8665.223 
I wonder if it will possible to hide edges between faces with same continuity* ex: fillet
- Tudor -
  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
8665.224 In reply to 8665.223 
Hi Tudor, can you show an example?

- 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:  Cemortan_Tudor
8665.225 In reply to 8665.224 
left all in
right - desired
- Tudor -
Image Attachments:
Size: 208.2 KB, Downloaded: 72 times, Dimensions: 1233x901px
  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-5  …  146-165  166-185  186-205  206-225  226-245  246-265  266-285  …  366-372