Code completion support for your Python scripts that are executed by [Rhinoceros for Mac] (https://www.rhino3d.com/mac).
cmd
+ ,
to launch the Settings view.Enter
key.StartAtomEditorListener
command.import
(followed by a trailing space). Depending on how you have Atom configured and which other packages you have installed you'll see a completion window with suggestions on what to type next. Type "rh" to start filtering the list and notice that the suggestions provided by Rhino are labeled with the "<- Rhino" hint on the right of the suggestion.rhinos
you'll see the completion data list get filtered until the only option left is "rhinoscriptsyntax". Press the tab
key (or enter
if configured that way) to accept it. Finish typing the line:import rhinoscriptsyntax as rs
from Rhino.Geometry import Point3d
. The completion data will pop up for Rhino
, Geometry
, and Point3d
. Press the tab
key (or enter
if configured that way) to accept each.rs.AddCircle(Point3d.Origin, 5.0)
and again notice the completion window after each .
and the doc string panel after the (
. Keep typing until the desired data is highlighted in the completion window and press the tab
(or enter
if configured that way) key to accept.ctrl
+ alt
+ r
keys.Press the ctrl
+ alt
+ s
keys to open the Rhino Python Search Paths panel.
+
button is enabled.Experiment with the Autocomplete Plus settings to fine tune your setup:
cmd
+ ,
keys to open the Settings panel.Because completion data can come from many providers if you installed other packages or if you have the "Enable Built-In Provider" checked in Autocomplete Plus settings, the data coming from rhino is labeled "<- Rhino
" (right-most column of completion window).
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.