Just a head’s up…Alain added the SetAtomEditorListenerPort to the latest RhinoWIP (5E236w). Give another port a try if you are having trouble with 8080.
For me it is not working at all. Installed Atom with RhinoPython (0.8.4) package, but after creating the mypythonscript.py file, when I’m typing “import” followed by space and “rh” no autocompletion it is triggered in any way.
also when saving using Ctrl+Alt+R, nothing happens in Rhino.
I just created a short script:
import rhinoscriptsyntax as rs
from Rhino.Geometry import Point3d
After you run the StartAtomEditorListener command and type the http://localhost:8080/ping url in your browser do you get anything back?
If not and you’re behind a corporate firewall that port may be blocked (even though the client and server are on the same computer) so you may need to check with your network administrator and change to a port that isn’t blocked by running the SetAtomEditorListenerPort command. Something like 65000 maybe? You’ll need to stop and restart the listener (StopAtomEditorListener, and StartAtomEditorListener).
You’ll also need to configure Atom to send it’s requests on the same port (65000?):
open the Command Palette (shift+cmd+P)
type View Installed Packages
find rhino-python
click on the Settings button and change the ‘Port Number’ to 65000
Thank you for support. I managed to make this working. After changing the port, I needed to stop and restart the AtomEditorListener.
Here is the output from Rhino console:
Command: StartAtomEditorListener
Listening for Atom editor requests on port 8080 …
Command: SetAtomEditorListenerPort
Success
Command: StartAtomEditorListener
This instance of Rhino is already listening for Atom editor requests. No action taken.
Command: StopAtomEditorListener
Stopped listening for Atom editor requests …
Command: StartAtomEditorListener
Listening for Atom editor requests on port 65000 …
I have a request. It is possible to make the font of the help section from the bottom part of the Atom editor a little more bigger? For me it is a little bit hard to read the text in that part. I need to get closer to the screen which it is not optimal.