The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.

NodeBox 3From the old forum

Hacking nodebox on Windows with Eclipse Luna

2 replies Last reply

  1. Hello,

     I am interested in hacking nodebox 3.  This means that I intend to write code in Java to give nodebox enhanced functionality.  I plan to do this using the Eclipse IDE (version LUNA).  Can I have a list of instructions concerning how to go about that?  Right now I have cloned the repository using Eclipse's GIT tool, but I am unable to import the cloned repository into a Java project without getting errors in certain source code files indicating imports are broken.
    
    Also, the nodebox website mentions that certain code is under construction and could break. Should I be concerned about a broken repository?  Can I check out a repository from GIT that is older, but not broken?  
    
     Craig Ugoretz
    
    Copy link
  2. NodeBox team

    Hi,

    Have you tried following the Hacking NodeBox on Windows page to get a basic build going? You should make sure that the build process is not broken before trying to setup Eclipse.

    NodeBox uses Maven to manage its dependencies. In IntelliJ IDEA, you can import this Maven project directly and start hacking on the source.

    I'm not sure about Eclipse though, as I don't use it. I just tried importing the project using the "import from SCM" option but it didn't work for me. If you have the option, consider using IntelliJ IDEA (which has a free offering as well).

    Where did you find the warning on the website? The current code shouldn't be a problem.

    Best,

    F

    Copy link
  3. Hello,

     The warning was found at the top of the following page:
     http://nodebox.net/node/documentation/advanced/programming-nodes.html
    
     Come to think of it, maybe I got a step ahead of myself when I considered hacking nodebox.  Perhaps, I may only need to write a new node in Python. 
    
     What follows is what I care to do.  I want to resample a path (correct terminology?) like an ellipse or a couple of connected splines for example.  At each sampled point, I then want to place a small circle which I want to label with a pair of labels:  a number for the path and a number for the point.  When I hover over the ellipse with the mouse, I want a tool tip to pop up showing the pair of labels.  Additionally, if a circle is shared by more than one path, I want all the pairs of labels to show up on the tool tip.
    
      Any ideas you all may have would be appreciated.
    
      Sincerely,
      Craig Ugoretz
    

    P.S. Checking the point numbers box to the right of viewer and data is not the solution I am looking for.

    Copy link

Know something that helps?

Sign in with your email address to reply. No password needed.

Sign in to reply