Nodebundle for playing with nodes
 1-15  …  1336-1355  1356-1375  1376-1395  1396-1415  1416-1435  …  1856-1859
Thread Split: Some posts in this thread have been moved here

Previous
Next
 From:  bemfarmer
7777.1376 In reply to 7777.1375 
Hi Barry,

It is hard to believe that 7 years have passed...
The leading edge conicFactory, and the trailing edge arcFactory2 are located at lines 191 through 210.

Making them into separate nodes should be possible, IMHO.

- Brian
  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:  Karsten (KMRQUS)
7777.1377 In reply to 7777.1374 
Hello James,

Thank you!

1) Does new node Points2/PTS2pts perform any functions beyond Objects/ObjtoArray?
Yes, but I like the name and it wasn't clear for me at the time I wrote it:-)

2) Are Transform2/FlowObj & Transform2/mFlowObj now fully redundant since Max's version Transform/Flow?
Yes

3) Is Objects2/intersectObj now redundant since new Objects2/intersectObjMP?
Yes

4) Does Points2/Path_Array do anything not already done by Points2/mPath_Array?
No!

5) Was Construct2/mLoft made redundant by the addition of Construct2/mLoft2?
Yes

6) Is Construct2/Project now redundant since new Construct2/ProjectMP?
Yes

7) Wasn't Objects2/Concat2 made redundant by Max's updated Basic/Concat?
At the end - yes.

Okay - we can now delete the redundant nodes, but which name for the left one?
Or place them in an compatibility file?

By the way - I think about a small documentation - a small html files for every node, you can call by the RMB. My problem: I don't have any html skills. Netbeans alerts to me " use CSS" okay???. Could you or someone else make some tests and give me some tips or create a template?

For testing you have to replace basicfunctions.js in the libs folder - construct2.js and create a folder under extensions\Documentation\EN\ and place the sweep.html into it. Language setting in Moi should be English. When you insert the sweep node in NE, you should find then a info under the RMB.

Thanks in advance
and have a nice day
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:  Karsten (KMRQUS)
7777.1378 
Hello,

I found a bug in Infonodes.js. The geometric center calculated in stlVolume gives wrong values for the input of multiple bodies. Now it should work. Find attached the fixed file. The file is also replaced in the earlier posted extensions.zip

Sorry for that!
Karsten
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)
7777.1379 In reply to 7777.1377 
Hello Karsten,

>> By the way - I think about a small documentation - a small html files for every node, you can call by the RMB. My problem: I don't have any html skills. <<

To tell the truth, it has been years since I have done any html work, but I want to pull my weight, so I'll happily take this on.

I have attached example of info dialog with text headings arranged as accordion menu: directory path extensions\Documentation\EN\Sweep.html
It needs some finessing, but I am still in the process of refamiliarization.

Anyway I have posted it for testing.
I only have moi on a Mac, so please let me know how it appears in Windows version.

Great weekend to all,
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:  Karsten (KMRQUS)
7777.1380 In reply to 7777.1379 
Hello James,

looks very good - I like the clear design. Does the code works on a Mac? - I don't have one to to test. Please let me know.

Many thanks!
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

Message 7777.1381 deleted 10 Mar 2019 by JFH

Previous
Next
 From:  Karsten (KMRQUS)
7777.1382 In reply to 7777.1381 
Something to play :-)

  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
7777.1383 In reply to 7777.1382 
Feedback?
  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:  Karsten (KMRQUS)
7777.1384 In reply to 7777.1383 
Hello Brian,

It's a draft. Untested - limited to one loop. Any criticism or suggestion is welcome. The place in the menu is also in question. Is feedback not the right word for that? Response better?
Please let me know
and have a nice day
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
7777.1385 In reply to 7777.1384 
Hi Karsten,
I've yet to study your loop node, so can make no comments yet.
(Hoopsnake is a grasshopper component.)
- Brian
  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
7777.1386 
Hi James and Karsten.
The Sweep.html looks very nice in Windows 10 file explorer.
Where is the RMB pushed to see the html in nodeeditor?

(The html has been placed in the extensions/Documentation/EN folder, and basicfunctions.js updated.)

- Brian
  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:  Karsten (KMRQUS)
7777.1387 In reply to 7777.1386 
Hello Brian,

Sorry for the unclear post.

please place also the posted construct2.js in the extensions folder. Place a sweep node into the canvas. Then you will find an info option by pressing the Right Mouse Button on the sweep node.

Hopefully it works for you also - let me know!

Have a nice day
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
7777.1388 In reply to 7777.1387 
Thank you Karsten.

I've been making a lot of blunders getting everything in the correct various directories, my fault.

So for Windows 10, The RMB on the displayed Sweep node now works to display the Sweep.htm, for the standard "DARK" display mode of nodeeditor.

For the "LIGHT" display mode of nodeeditor, only a very small white vertical rectangle, with X in it, is displayed. I have yet to investigate any of the code.

- Brian

Also, either html box persists on top of the MoI screen, when the nodeeditor is closed. So maybe a small cleanup should be done when closing nodeeditor.

EDITED: 11 Mar 2019 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:  Karsten (KMRQUS)
7777.1389 In reply to 7777.1388 
Hello Brian,

I missuse a moi function for dialog boxes to display the html (moi.UI.createDialog). It's an easy and hopefully lightweight way to show some Information.

I'm more weired about the problem with the light display mode. Typically is something wrong with the path, when that happens. The path is evaluated in basicfunctions.js.

Looking forward
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

Thread Split: This post has been moved here

Previous
Next
 From:  bemfarmer
7777.1391 In reply to 7777.1389 
Hi Karsten,

The html box is easy to delete, so not much of a problem.

The docupath in basicfunctions.js refers to "index.html", which matches "dark" hotkey,
whereas "light" hotkey refers to .../indexhtml?scheme=Light"...


My Shortcut key for "dark" nodeeditor, Ctrl+Alt+M:
moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow );

 

My Shortcut key for "light" nodeeditor, Ctrl+Alt+N:
moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html?scheme=Light', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow );

Modification to reverse the html problem, but not correct it:
In docupath, replace ..."index.html"... with ..."index.html?scheme=Light"
Now the dropdown works in Light mode, BUT not in Dark mode.

So this is not a solution. I can now use the dropdown documentation in Light mode, but not in Dark mode.

- Brian

Maybe a fix in docupath would be to do: If index.html?scheme=Light, do the dark dialog, else do the light dialog. Or something similar?
  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
7777.1392 In reply to 7777.1391 
The little tiny doc window is the same as the window for info for a node that does not have any .html info code. (YET:-)

- Brian
  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
7777.1393 
Split off Bravlin's post above to its own separate discussion thread. - 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:  bemfarmer
7777.1394 In reply to 7777.1391 
My bad code deleted.

- Brian

EDITED: 14 Mar 2019 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:  bemfarmer
7777.1395 
They call this nitpicking:-)

Modified the text of the .html a little bit. ist = is, places = place, imputs = inputs, rebuilt = rebuild, olaces = placed, orientated = are oriented

"placed TO the rails" or "placed TO the first rail" do not sound quite right to me, but may be OK.
alternatives might be "placed on the rails or "placed along the rails..."

Also the AAABBBCCC placement description was not clear to me.
A description of the ABCABCABC placement would also be helpful.
Or even just AABBCC placement?
A specific example, say 4 objects to place, and two rails...(?)

####


The Sweep node has two options available by the RMB:
  • One Rail
  • Two Rails



One Rail:



Takes one Rail for each Sweep. The number of profiles used for each rail is defined by the whole number of profiles divided by the number of rails. The order in which the profiles are placed to the rail is defined by the switch in the infos panel. AAABBBCCC means the first, second, third, ... profile in the objectlist is placed to the first rail.

Two Rails:



Takes pairs of curves from the rail inputs and places profiles from the profiles input to them. The order in which the profiles are placed to the rail is defined by the switch in the infos panel. AAABBBCCC means the first, second, third, ... profile in the objectlist is placed to the first rail pair.





Info Panel



Options under the Info panel:


  • P Seq - which profiles are placed to which rail/rails
  • Twist - Defines how the profiles are oriented to the rail
  • Pointy ends - defines the form of the start and end of the sweep
  • cap ends - closes the start and end profile of the sweep
  • Profiles -defines the precision how the profiles are processed
  • Num Points - has only an effect if NumPoints is chosen under Profiles. It defines the number of points used to rebuilt the profile curves
  • #### - Brian
  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-15  …  1316-1335  1336-1355  1356-1375  1376-1395  1396-1415  1416-1435  1436-1455  …  1856-1859