Script for Epitrochoid, Slider flicker
 1-20  21-40  41-50

Previous
Next
 From:  Karsten (KMRQUS)
6158.41 
Pssst,
I don't want to disturb the discussion, but can someone test the problem of the locked Arrows with the new vector. js file?

Thanks in advance
Karsten
  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:  bemfarmer
6158.42 In reply to 6158.41 
Hi Karsten,

August 11, 2017
vector.js node non-erasable bug.

Hi Karsten,

I have tried the vector.js non-erasable bug, with three files, trochoid.node,
trochoid2.node, and CP_Oriented spi-Curve Result2.nod, with equivalent results.

A few permutations of Run, Stop, Apply, Delete, (+/-Undo), and Close script, were tried,
and yield different results.

The Curve is always delete-able.

If the Vectors have Not been deleted prior to Apply, they will not be Delete-able.

If the vectors Have been deleted prior to Apply, after Apply, they will be restorable and Delete-able.


1. ReOpen MoI, Load trochoid2.nod, press Run, Delete-able.

2. ReOpen MoI, Load trochoid2.nod, press Run, Stop, Delete-able.

3. ReOpen MoI, Load trochoid2.nod, press Run, (+/- Stop), Apply, (+/- Close nod), Only the curve will delete, the vectors are Not_Delete-able.

3. ReOpen MoI, Load trochoid2.nod, press Run, Select All, Delete, (+/- Undo), Apply, Close the nod. Curve is present. Vectors are recoverable with Undo.

In Short, the vectors need to be deleted before Apply is pressed. (And after deletion, it is OK to UnDelete the vectors, before Apply is pressed.)

(The permutations got confusing.)

(Also wondering about when blue curve should show up in Styles?)

- Brian

(These are the symptoms, and clues. The fix may be different.)

EDITED: 11 Aug 2017 by BEMFARMER

  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:  Mike (MGG942)
6158.43 In reply to 6158.40 
James,

Is it the same shape - but inverted?
Kind of useful, I guess.
I only picked up on it as it seems a bit weird giving a 'circle' a negative radius.

Mike.
  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:  James (JFH)
6158.44 In reply to 6158.43 
Hi Mike,

>>Is it the same shape - but inverted?<<

Yes, it is simply to show range of transition.

Attached is a nod file for wrapping sine wave around a circle.

I could have taken the short cut using mathPts node
with readily available equations, however I have taken the
scenic route, as an exercise in using vectors

James

UPDATED: nod file here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=6158.47

EDITED: 6 May 2019 by JFH

  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:  Mike (MGG942)
6158.45 In reply to 6158.44 
Hi James,

Very interesting.
Still nutting it out - there may be questions....

Mike.
  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:  Mike (MGG942)
6158.46 In reply to 6158.44 
OK, James, here's one question.
I can visualise rotating the vectors around 0,0 and getting the resultant shapes from the tips of the vectors.
What is baffling me is why, when I switch on visibility on the rotateVec node, the tips of the vectors seem remote from the drawn shape.
See below.
Mike.


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:  James (JFH)
6158.47 In reply to 6158.46 
Hi Mike,

Yes, that is indeed odd! I had not turned on visibility.
Frankly, I can't understand why it works properly;
nevertheless try new nod file attached.

Vectors to be rotated are positioned at the origin (0,0,0)

James

EDITED: 14 May 2019 by JFH

  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:  Mike (MGG942)
6158.48 In reply to 6158.47 
That looks the business!
  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:  James (JFH)
6158.49 In reply to 6158.48 
Hi Mike,

In truth, this is not really the best application of vectors.
Having fixed the last nod file, I realised it would be simpler
to use transform/rotate node on point objects & then convert
back to point array

Have a look
James

EDITED: 14 May 2019 by JFH

  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:  Mike (MGG942)
6158.50 In reply to 6158.49 
Just as I was getting my head around vectors...
No worries I'll study this but there will be a delay while life intervenes.
  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-20  21-40  41-50