i tried to use this script
http://wiki.mcneel.com/developer/scriptsamples/setcrvlength
i made a button and paste script in command window. I got:
Command: Option
Unknown command: Option
is there something i need to install to run this script?
Tags:
Permalink Reply by Pascal Golay on January 22, 2013 at 7:45am Hello- you'll need to use the "_-Runscript" command, and/or "_Loadscript", depending on how the script is designed. If you launch RhinoScript's Help (Help menu > Plug-ins > RhinoScript) , there is an 'Introduction' section with info on making as well as running scripts that will help you get started.
-Pascal
pascal@mcneel.com
Permalink Reply by ert tree on January 22, 2013 at 8:24am Done for today, button and script works like a charm, thx.
Permalink Reply by ert tree on January 23, 2013 at 3:56am end of the script trims the line
http://wiki.mcneel.com/developer/scriptsamples/setcrvlength
pts = Rhino.DivideCurveLength(crv(0), lnew)
t = Rhino.CurveClosestPoint(crv(0), pts(1))
Rhino.TrimCurve crv(0), Array(dom(0), t), True
how can i only create a point at trimming location, without trimming (or break curve)?
...Something like Rhino.PointAdd crv(0), t
Permalink Reply by ert tree on January 23, 2013 at 4:19am Rhino.AddPoint Array(dom(0), t)
i created a point, but it doesent end up in the right spot. Any ideas, thx.
Permalink Reply by Chris Tietjen on January 23, 2013 at 5:43am © 2013 Created by McNeel Admin.
