.
Summary Updates to RhinoScript for Rhino 4.0 SR5
Updated April 20, 2009
Contents
Overview
RhinoScript is a scripting language based on Microsoft's VBScript language. With RhinoScript, you can quickly add functionality to Rhino, or automate repetitive tasks.
The Labs version of RhinoScript contains additions and modifications to the version of RhinoScript included with Rhino 4.0 SR5 .
Related Topics
RhinoScript Development Wiki
What's New?
New Methods
AddPlanarMesh - Creates a planar mesh from a closed, planar curve.
BoxMorphObject - Bounding box morphs an object.
ClosedCurveOrientation - Returns the orientation of a closed, planar curve.
CurrentDetail - Returns or changes the current detail view in a page layout view.
CurveNormalizedParameter - Converts a normalized curve parameter to a curve parameter.
CurveParameter - Converts a curve parameter to a normalized curve parameter.
DetailNames - Returns the detail views of a page layout view.
DimStyleLengthFactor - Returns or changes the length factor of a dimension style.
DimStylePrefix - Returns or changes the prefix of a dimension style..
DimStyleSuffix - Returns or changes the suffix of a dimension style..
DivideCurveEquidistant - Divides a curve such that the linear distance between the points is equal.
ExtrudeCurveTapered - Extrudes a curve to a taper.
GetMeshFaces - Prompts the user to pick, or select, one or more mesh faces.
GetMeshVertices - Prompts the user to pick, or select, one or more mesh vertices.
IntersectSpheres - Calculates the intersection of two spheres.
IsDetail - Verifies that a detail view is on a page layout view.
IsLayout - Verifies that a view is a page layout view.
IsLayoutObject - Verifies that an object resides in either layout or model space.
IsPointOnMesh - Verifies that a point is on a mesh.
Layer State Methods - Several new layer state methods were added.
LineCylinderIntersection - Calculates the intersection of a line and a cylinder.
LineSphereIntersection - Calculates the intersection of a line and a sphere.
MakeCurveNonPeriodic - Makes a periodic curve non-periodic.
MakeSurfaceNonPeriodic - Makes a periodic surface non-periodic
MeshVertexFaces - Returns the mesh faces that share a mesh vertex.
ObjectLayout - Returns or changes the layout or model space of an object.
PlaneSphereIntersection - Calculates the intersection of a plane and a sphere.
ProjectCurveToMesh - Projects one or more curves onto one or more meshes.
ProjectPointToMesh - Projects one or more points onto one or more meshes.
RemoveCurveKnot - Deletes a knot from a curve.
RemoveSurfaceKnot - Deletes a knot-line from a surface.
ResetMaterial - Resets a material to Rhino's default material.
ReverseSurface - Reverses the direction of a surface object.
ShootRay - Shoots a ray at a collection of surfaces.
SurfaceNormalizedParameter - Converts a normalized surface parameter to a surface parameter.
SurfaceParameter - Converts a surface parameter to a normalized surface parameter.
Changed Methods
AddSweep1 - Fixed closed rail curve bug.
AddSweep2 - Fixed closed rail curves bug.
CurveCurveIntersection - Fixed self-intersecting curve bug.
CurveMidPoint - Additional, optional, argument added.
IsCone - Fixed tolerance bug.
IsCylinder - Fixed tolerance bug.
IsSphere - Fixed tolerance bug.
IsTorus - Fixed tolerance bug.
LinePlaneIntersection - Now works on infinite lines.
MeshVertexColors - Additional, optional, argument added.
OffsetCurve - Now allows for negative distances.
RenameView - Fixed a crash bug.
SurfaceCurvatureAnalysis - Fixed bug.
SurfaceCylinder - Fixed bug.
UnitAbsoluteTolerance - Additional, optional, argument added.
UnitAngleTolerance - Additional, optional, argument added.
UnitCustomUnitSystem - Additional, optional, argument added.
UnitDistanceDisplayMode - Additional, optional, argument added.
UnitDistanceDisplayPrecision - Additional, optional, argument added.
UnitRelativeTolerance - Additional, optional, argument added.
UnitSystem - Additional, optional, argument added.
UnitSystemName - Additional, optional, argument added.
Installation
Make sure you are running Rhino 4.0 SR5 .
Close all open copies of Rhino 4.0.
In the \Program Files\Rhinoceros 4.0\Plug-ins folder, backup the following files:
RhinoScript.rhp
RhinoScript.chm - You may need to Unlock (right-click on the CHM file and pick "Properties..." On the general tab, pick the "Unblock" button)
RhinoScript.tlb
Unzip the download and copy the contents into the above folder.
Start Rhino.
Download and Feedback
Download Plug-in Here!
E-mail the developers with your questions and feedback on this plug-in.
Updates to ""RhinoScript"" for Rhino 4.0 ""SR5""
4/20/2009 1:58:21 PM - -204.177.179.99
Updates to ""RhinoScript"" for Rhino 4.0 ""SR5""
4/20/2009 1:58:21 PM - -204.177.179.99
Updates to ""RhinoScript"" for Rhino 4.0 ""SR5""
4/20/2009 1:58:21 PM - -204.177.179.99
Updates to ""RhinoScript"" for Rhino 4.0 ""SR5""
4/20/2009 1:58:21 PM - -204.177.179.99
""RhinoScript"" is a scripting language based on Microsoft's ""VBScript"" language. With ""RhinoScript"", you can quickly add functionality to Rhino, or automate repetitive tasks.
4/20/2009 1:59:35 PM - -204.177.179.99