Tuesday, April 21, 2009

RhinoScript Labs Update (April 20, 2009)

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.

The following new functions have been added to the Labs version of RhinoScript:

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.

No comments: