Nodebundle for playing with nodes
 1-19  …  1760-1779  1780-1799  1800-1819  1820-1839  1840-1859
Thread Split: Some posts in this thread have been moved here

Previous
Next
 From:  nkallen
7777.1800 In reply to 7777.1797 
I see that this is more painful than anticipated...

In the software industry / in open source/ among hobbyists, we almost always distribute source code using a version control system like git. It allows us to safely keep backups of files, and also easily upgrade to new versions. I would strongly encourage the moi community to consider using Github or something similar rather than passing around .zip files without any version history. There is a learning curve but it is a life-saver - I swear. You can ALSO produce easy-to-install zip archives, but code is happiest (and safest) when its in version control first.

Around 3.20 in the video, what I type is just to go to different folders on your hard drive. You can type:

cd /c
cd "Program Files"
cd "MoI 4.0 trial"

(Presumably you're not using the trial but I don't know the name of the non-trial folder on windows)

I have to ask Michael if I can distribute my changes as a .zip. For example, does the license permit me to distribute a modified version of Fillet.js? So far I'm using a .patch file which allows me to share my changes without ever distributing Moi3d's original source code.
  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:  Frenchy Pilou (PILOU)
7777.1801 In reply to 7777.1800 
I understand your point of view...so wait and see :)

during the video we have on begin Git line "1s" or "ls"... or ...other what is it exactly?

ps No trial is that in no Roaming folder

C:\Program Files\MoI 4.0

EDITED: 1 Mar 2021 by PILOU

  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:  nkallen
7777.1802 In reply to 7777.1801 
I type "ls" a lot which is lowercase LS

It means "list the files in the current directory".

I'm looking around and it seems like there's a program called TortoiseGit which is popular on windows and it looks easy to use. No typing commands. I'll play around with it and investigate. In the meantime, I've asked Michael what the license permits.

I'll be around in discord to help with step-by-step instructions.
  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:  Frenchy Pilou (PILOU)
7777.1803 In reply to 7777.1802 
ok! And one mystery resolved! :)
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  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:  nkallen
7777.1804 
Hi,

Michael is ok with my distributing the source code via .zip file. (Thanks Michael!!)

I recognize this is easier than git. (But still -- git is awesome it's well worth learning even if you're not a programmer!)

https://github.com/nkallen/elephant/releases/tag/v0.1-alpha

You will need to download elephant.zip commands.zip and MainWindowLayout.xml

1. Unzip elephant.zip into AppData.
2. Unzip commands.zip into your main MoI executable folder (replacing the old commands/ folder BUT MAKE A BACKUP)
3. Replace ui/MainWindowLayout.xml with mine. BUT MAKE A BACKUP

This is I hope easier!
  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:  WN
7777.1805 In reply to 7777.1804 
Hi Nkallen.

Thank you for your plugin, very interesting!

When cloning nodes from the widgets group through the context menu of the node, the program returns an error, the application screen shows which nodes cause the error.

Still, Git is primarily focused on programming, and it's easier for most people to use files in a folder.
Image Attachments:
Size: 73.3 KB, Downloaded: 52 times, Dimensions: 764x589px
  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:  WN
7777.1806 
Git resists ...
Image Attachments:
Size: 81.4 KB, Downloaded: 46 times, Dimensions: 1025x544px
  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:  Frenchy Pilou (PILOU)
7777.1807 In reply to 7777.1806 
so take the install by ZIP! :)

BOTTOM PAGE!!! https://moiscript.weebly.com/install-elephant.html
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  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:  WN
7777.1808 In reply to 7777.1807 
Everything is simple there, with Git there is a desire to understand:)
Image Attachments:
Size: 717.5 KB, Downloaded: 86 times, Dimensions: 1920x1078px
  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:  nkallen
7777.1809 In reply to 7777.1805 
This bug should be fixed. If you're using git, you can execute "git pull origin master" in the AppData/elephant directory. Otherwise, I'll bundle a new zip in a few 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
Next
 From:  nkallen
7777.1810 In reply to 7777.1809 
I recommend everyone using this to add the following keybindings:

script:moi.ui.getUIPanel("moi://appdata/elephant/index.html").graph.showPreviousHistoryItem();
script:moi.ui.getUIPanel("moi://appdata/elephant/index.html").graph.showNextHistoryItem();

and bind them UpArrow and DownArrow
  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:  WN
7777.1811 
Hi Nkallen.
When using the Extrude command, the program returns an error.
Attachments:

Image Attachments:
Size: 221 KB, Downloaded: 46 times, Dimensions: 1714x1005px
  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:  WN
7777.1812 In reply to 7777.1809 
I was never able to install the patches through Git.
I used the usual file replacement. It's sad.
  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:  nkallen
7777.1813 In reply to 7777.1812 
Hey WN -- sorry about not getting git to work. I think I'd need to talk to you 1:1 on discord to see what went wrong.

In any case, I take it you succeeded at doing "git clone" for the AppData folder? That's great because you can update to the latest code by typing "git pull origin master" in that folder.

I think I may have fixed your bug as well, it's pushed to master. I .zip release will come next week
  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:  Chris (CHRISTOPHER021)
7777.1814 In reply to 7777.1812 
Yep guys, join us on discord. Easy to chat and discuss problems and help out :)

https://discord.gg/zNTasYd invite link
  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:  WN
7777.1815 In reply to 7777.1813 
Hi Nkallen.
Yes, you can talk, since this is done mechanically without understanding the process, in general terms,
I understand that there is a process of changing existing files, they add the necessary commands to certain places,
but this is not enough.
Yes, I managed to clone the repository via Git and I updated it today, and the bug with cloning the widget is fixed, thank you.
But the error from my previous post is not fixed.
  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:  WN
7777.1816 In reply to 7777.1813 
Hi Nkallen.

You need to create a separate thread on the forum, as these are different plugins.

Here's another mistake, nod "Number" returns an error if the counter is less than the value in the properties.

Where is it more convenient for you to receive error messages?
Image Attachments:
Size: 80.4 KB, Downloaded: 56 times, Dimensions: 1135x744px
Size: 44.9 KB, Downloaded: 39 times, Dimensions: 1019x621px
  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:  Chris (CHRISTOPHER021)
7777.1817 In reply to 7777.1816 
Report them on the github (https://github.com/nkallen/elephant/issues) if you can or visit us on discord :)
  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:  nkallen
7777.1818 In reply to 7777.1816 
Hey -- I'll look at these bugs today. I definitely like discord if that works for you. Here's the invite:

https://discord.com/invite/zNTasYd
  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.1819 
SetName.js is a node to re-Name a geometric Object. It is a script which adds the SetName node to the Objects2 menu, and may be placed in the nodeeditor> node>Extensions folder.
The node may be placed just before an Output Node. The desired output name may be typed in the Name field. Saving your node program also saves the modified Name.

It is a minor modification of Karsten's SetStyle node. Rainbow was commented out.

Seems to work OK, but I do not really know what I am doing... Also, only very limited testing was done.

Also, Karsten's BrepNameSubObjects node is throwing an error, in MoI4, when the input is curves, rather than a surface.
It works with a gyroid patch surface to name faces and edges.
(did not try MoI3.)

- Brian

EDITED: 24 Mar 2021 by BEMFARMER

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
 

Reply to All Reply to All

 

 
Show messages:  1-19  …  1740-1759  1760-1779  1780-1799  1800-1819  1820-1839  1840-1859