Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sister repo #1

Open
ianclarksmith opened this issue Apr 30, 2013 · 2 comments
Open

Sister repo #1

ianclarksmith opened this issue Apr 30, 2013 · 2 comments

Comments

@ianclarksmith
Copy link

I found your repo while browsing github the other day and felt I should share my own (also a little dirty, basic) script that's supposed to do the same thing. It ain't much to look at but feel free to use/fork/ignore it. -Ian

@nathanwbrei
Copy link
Owner

Wonderful! Would you be interested in working together to make a clean, reliable version?

@ianclarksmith
Copy link
Author

Sure! I have some changes to try out first, after I finish up my CAD work for the day (...night). If it comes out at least a little more stable I'll add you as a collaborator and then we can decide what to keep between the two.

Late morning edit: If you get a chance, give my latest commit a whirl and see what you think. Numerous code breaks during an all night drafting session rarely go well but as far as I can tell it's working with the following features:

  • RunPythonScript to run as usual, leads to a dialog box
  • OK starts the server, cancel aborts the script and lets Rhino go about it's business without crashing
  • If you hit OK, Rhino hangs until netcat/client hits it
  • Exiting works with sys.exit()– apparently this is an IronPython thing, I don't mind leaving it as is. The important think is that you can exit from the shell, Rhino will print that it's disconnected, and then you can just re-load the script to go again. No more socket or I/O errors!
  • sys and rhinoscriptsyntax are automatically imported into the shell on launch

The best part is that since the gui isn't frozen you can use both simultaneously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants