AutoOpenRhinoIntegration Module
If this module is opened then you can convert Rhino points and vectors and Euclid points and vectors to each other via new static and instance members on these types. Call setupEuclidDebugFunctions() to set the functions on the modules Euclid.Debug3D and Euclid.Debug2D to draw in Rhino.
Functions and values
Function or value |
Description
|
Full Usage:
setupEuclidDebugFunctions ()
Parameters:
unit
|
Dependency injection for debugging in Rhino: The library Euclid has no reference to Rhino. However it has these mutable functions to display debug information in case of errors. By default these functions do nothing. Here, after calling setupEuclidDebugFunctions() in the Euclid.Rhino.dll they get replaced with implementations that use Rhino for drawing:
|
Type extensions
Type extension |
Description
|
Convert a Rhino.Geometry.BoundingBox to a Euclid bounding box. Reordering the bounding box minX, minY, minZ, maxX, maxY and maxZ if they are not in the increasing from min to max values. Rhino.Geometry.BoundingBoxes can be inverted. Euclid BBoxes not.
Extended Type:
|
|
Convert a Rhino.Geometry.BoundingBox to a Euclid bounding box. Reordering the bounding box minX, minY, minZ, maxX, maxY and maxZ if they are not in the increasing from min to max values. Rhino.Geometry.BoundingBoxes can be inverted. Euclid BBoxes not.
Extended Type:
|
|
|
|
|
|
Full Usage:
this.Draw
Parameters:
unit
|
|
Full Usage:
this.Draw
Parameters:
string
|
Draw the Euclid 2D point in Rhino on given layer. The Layer will be created if it does not exist.
Extended Type:
|
Full Usage:
this.Draw
Parameters:
string
name : string
|
Draw the Euclid 2D point in Rhino on given layer with given name. The Layer will be created if it does not exist.
Extended Type:
|
Full Usage:
this.Draw
Parameters:
unit
|
Draw the Euclid 3D point in Rhino on current layer. The Layer will be created if it does not exist.
Extended Type:
|
Full Usage:
this.Draw
Parameters:
string
|
Draw the Euclid 3D point in Rhino on given layer. The Layer will be created if it does not exist.
Extended Type:
|
Full Usage:
this.Draw
Parameters:
string
name : string
|
Draw the Euclid 3D point in Rhino on given layer with given name. The Layer will be created if it does not exist.
Extended Type:
|
Full Usage:
this.Draw
Parameters:
string
name : string
|
Draw the Euclid 3D Line in Rhino with given layer and name. The Layer will be created if it does not exist.
Extended Type:
|
Full Usage:
this.Draw
Parameters:
string
|
Draw the Euclid 3D Line in Rhino on given layer. The Layer will be created if it does not exist.
Extended Type:
|
Full Usage:
this.Draw
Parameters:
unit
|
|
Full Usage:
this.Draw
Parameters:
string
name : string
|
Draw the Euclid 2D Line in Rhino with given layer and name. The Layer will be created if it does not exist.
Extended Type:
|
Full Usage:
this.Draw
Parameters:
string
|
Draw the Euclid 2D Line in Rhino on given layer. The Layer will be created if it does not exist.
Extended Type:
|
Full Usage:
this.Draw
Parameters:
unit
|
|
Full Usage:
this.Draw
Parameters:
float
-
The length of the drawn lines
suffixInDot : string
-
Text to add to x TextDot label do of x axis. And y and z too.
layer : string
-
Layer to draw plane on. The Layer will be created if it does not exist.
|
Draws the axes of the PPlane and adds TextDots to label them.
Extended Type:
|
Full Usage:
this.Draw
Parameters:
float
-
The length of the drawn lines
suffixInDot : string
-
Text to add to x TextDot label do of x axis. And y and z too.
|
Draws the axes of the PPlane and adds TextDots to label them.
Extended Type:
|
Full Usage:
this.Draw
Parameters:
float
-
The length of the drawn lines
|
Draws the axes of the PPlane and adds TextDots to label them.
Extended Type:
|
Full Usage:
this.Draw
Parameters:
unit
|
|
Full Usage:
this.DrawDot
Parameters:
string
|
|
Full Usage:
this.DrawDot
Parameters:
string
layer : string
|
Draw the Euclid 2D point as RhinoTextDot with given message and given layer. The Layer will be created if it does not exist.
Extended Type:
|
Full Usage:
this.DrawDot
Parameters:
string
|
|
Full Usage:
this.DrawDot
Parameters:
string
layer : string
|
Draw the Euclid 3D point as RhinoTextDot with given message and given layer. The Layer will be created if it does not exist.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Convert a Rhino.Geometry.Polyline to a Euclid 2D polyline. Ignoring the Z component.
Extended Type:
|
|
Convert a Rhino.Geometry.Polyline to a Euclid 2D polyline. Ignoring the Z component.
Extended Type:
|
|
Convert a Rhino.Geometry.Polyline to a Euclid 3D polyline.
Extended Type:
|
|
Convert a Rhino.Geometry.Polyline to a Euclid 3D polyline.
Extended Type:
|
|
Convert Euclid the 3D Bounding Box to a Rhino bounding box .
Extended Type:
|
|
Convert Euclid the 3D Bounding Box to a Rhino bounding box .
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Convert Euclid 3D Polyline to a Rhino Polyline .
Extended Type:
|
|
|
|
Convert Euclid 2D Polyline to a Rhino Polyline in World XY Plane.
Extended Type:
|
|
Convert Euclid 2D Polyline to a Rhino Polyline in World XY Plane.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Convert Euclid 3D Polyline to a Rhino Polyline .
Extended Type:
|
|
|
|
Convert Euclid 2D Polyline to a Rhino PolylineCurve in World XY Plane.
Extended Type:
|
|
Convert Euclid 2D Polyline to a Rhino PolylineCurve in World XY Plane.
Extended Type:
|
|
Convert Euclid 2D Rectangle to a closed Rhino PolylineCurve.
Extended Type:
|
|
Convert Euclid 2D Rectangle to a closed Rhino PolylineCurve.
Extended Type:
|
|
Convert Euclid 2D Rectangle to a closed Rhino PolylineCurve in World XY Plane.
Extended Type:
|
|
Convert Euclid 2D Rectangle to a closed Rhino PolylineCurve in World XY Plane.
Extended Type:
|
|
Convert Euclid 2D Polyline to a Rhino Polyline at Given Z level.
Extended Type:
|
|
|
|
|
|
Convert Euclid 2D Rectangle to a Rhino Surface.
Extended Type:
|
|
|
|
Convert Euclid 2D Rectangle to a Rhino Surface in World XY Plane.
Extended Type:
|
|
Convert Euclid 2D Rectangle to a Rhino Surface in World XY Plane.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
Loop.createOfRhPoly minSegLen snapTol poly
Parameters:
float
snapTol : float
poly : PolylineCurve
Returns: Loop
|
Try to create a Euclid Loop with minimum segment length and snapping tolerance from a Rhino PolylineCurve Geometry.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Draw Euclid 2D Polyline in Rhino in World XY Plane.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Draw the Euclid 3D Bounding Box in Rhino as Polyline with 10 vertices. Going from Point 0 to 1, 2, 3, again 0, 4, 5, 6, 7 and again 4. Z-Axis Y-Axis ^ / | 7 / 6 MaxPt | +---------------+ | /| / /| | / | / / | 4 |/ | / 5 / | +---------------+ | | |/ | | | +-----------|---+ | / 3 | / 2 | / | / |/ |/ +---------------+----> X-Axis 0 MinPt 1
Extended Type:
|
|
Draw the Euclid 3D Box in Rhino as Polyline with 10 vertices. Going from Point 0 to 1, 2, 3, again 0, 4, 5, 6, 7 and again 4. local local Z-Axis Y-Axis ^ / | 7 / 6 | +---------------+ | /| / /| | / | / / | 4 |/ | / 5 / | +---------------+ | | |/ | | | +-----------|---+ | / 3 | / 2 | / | / |/ |/ local +---------------+----> X-Axis 0 1
Extended Type:
|
|
|
|
Draw Euclid 2D Polyline in Rhino at Given Z level.
Extended Type:
|
|
|
|
|
|
|
|
|
Full Usage:
Polyline3D.ofRhPolyline p
Parameters:
Polyline
Returns: Polyline3D
Modifiers: inline |
Convert Rhino Polyline to Euclid 3D Polyline.
Extended Type:
|
Full Usage:
Polyline2D.ofRhPolyline p
Parameters:
Polyline
Returns: Polyline2D
Modifiers: inline |
Convert Rhino Polyline to Euclid 2D Polyline ignoring Z values.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Convert a Rhino.Geometry.BoundingBox to a Euclid bounding box. Reordering the bounding box minX, minY, minZ, maxX, maxY and maxZ if they are not in the increasing from min to max values. Rhino.Geometry.BoundingBoxes can be inverted. Euclid BBoxes not.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Convert a Rhino.Geometry.Polyline to a Euclid 2D polyline. Ignoring the Z component.
Extended Type:
|
|
Convert a Rhino.Geometry.Polyline to a Euclid 3D polyline.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
Polyline3D.toRhPolyline p
Parameters:
Polyline3D
Returns: Polyline
Modifiers: inline |
Convert Euclid 3D Polyline to a Rhino Polyline.
Extended Type:
|
Full Usage:
Polyline2D.toRhPolyline p
Parameters:
Polyline2D
Returns: Polyline
Modifiers: inline |
Convert Euclid 2D Polyline to a Rhino Polyline in World XY Plane.
Extended Type:
|
Full Usage:
Polyline3D.toRhPolylineCurve p
Parameters:
Polyline3D
Returns: PolylineCurve
Modifiers: inline |
Convert Euclid 3D Polyline to a Rhino PolylineCurve.
Extended Type:
|
Full Usage:
Polyline2D.toRhPolylineCurve p
Parameters:
Polyline2D
Returns: PolylineCurve
Modifiers: inline |
Convert Euclid 2D Polyline to a Rhino PolylineCurve in World XY Plane.
Extended Type:
|
Full Usage:
Polyline2D.toRhPolylineZ z p
Parameters:
float
p : Polyline2D
Returns: Polyline
Modifiers: inline |
Convert Euclid 2D Polyline to a Rhino Polyline at Given Z level.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|