ladybug_rhino.bakedisplay module

Functions to add text to the Rhino scene and create Grasshopper text objects.

ladybug_rhino.bakedisplay.bake_display_arc2d(arc, z=0, layer_name=None, attributes=None)[source]

Add DisplayArc2D to the Rhino scene as an Arc or a Circle.

ladybug_rhino.bakedisplay.bake_display_arc3d(arc, layer_name=None, attributes=None)[source]

Add DisplayArc3D to the Rhino scene as an Arc or a Circle.

ladybug_rhino.bakedisplay.bake_display_cone(cone, layer_name=None, attributes=None)[source]

Add DisplayCone to the Rhino scene as a Brep.

ladybug_rhino.bakedisplay.bake_display_cylinder(cylinder, layer_name=None, attributes=None)[source]

Add DisplayCylinder to the Rhino scene as a Brep.

ladybug_rhino.bakedisplay.bake_display_face3d(face, layer_name=None, attributes=None)[source]

Add DisplayFace3D to the Rhino scene as a Brep.

ladybug_rhino.bakedisplay.bake_display_linesegment2d(line, z=0, layer_name=None, attributes=None)[source]

Add DisplayLineSegment2D to the Rhino scene as a Line.

ladybug_rhino.bakedisplay.bake_display_linesegment3d(line, layer_name=None, attributes=None)[source]

Add DisplayLineSegment3D to the Rhino scene as a Line.

ladybug_rhino.bakedisplay.bake_display_mesh2d(mesh, z=0, layer_name=None, attributes=None)[source]

Add DisplayMesh2D to the Rhino scene as a Mesh.

ladybug_rhino.bakedisplay.bake_display_mesh3d(mesh, layer_name=None, attributes=None)[source]

Add DisplayMesh3D to the Rhino scene as a Mesh.

ladybug_rhino.bakedisplay.bake_display_plane(plane, layer_name=None, attributes=None)[source]

Add DisplayPlane to the Rhino scene as a Rectangle.

ladybug_rhino.bakedisplay.bake_display_point2d(point, z=0, layer_name=None, attributes=None)[source]

Add ladybug Point2D to the Rhino scene as a Point.

ladybug_rhino.bakedisplay.bake_display_point3d(point, layer_name=None, attributes=None)[source]

Add ladybug Point3D to the Rhino scene as a Point.

ladybug_rhino.bakedisplay.bake_display_polyface3d(polyface, layer_name=None, attributes=None)[source]

Add DisplayPolyface3D to the Rhino scene as a Brep.

ladybug_rhino.bakedisplay.bake_display_polygon2d(polygon, z=0, layer_name=None, attributes=None)[source]

Add DisplayPolygon2D to the Rhino scene as a Polyline.

ladybug_rhino.bakedisplay.bake_display_polyline2d(polyline, z=0, layer_name=None, attributes=None)[source]

Add DisplayPolyline2D to the Rhino scene as a Curve.

ladybug_rhino.bakedisplay.bake_display_polyline3d(polyline, layer_name=None, attributes=None)[source]

Add DisplayPolyline3D to the Rhino scene as a Curve.

ladybug_rhino.bakedisplay.bake_display_ray2d(ray, z=0, layer_name=None, attributes=None)[source]

Add DisplayRay2D to the Rhino scene as a Line with an Arrowhead.

ladybug_rhino.bakedisplay.bake_display_ray3d(ray, layer_name=None, attributes=None)[source]

Add DisplayRay3D to the Rhino scene as a Line with an Arrowhead.

ladybug_rhino.bakedisplay.bake_display_sphere(sphere, layer_name=None, attributes=None)[source]

Add DisplaySphere to the Rhino scene as a Brep.

ladybug_rhino.bakedisplay.bake_display_text3d(display_text, layer_name=None, attributes=None)[source]

Add DisplayText3D to the Rhino scene.

Parameters:
  • display_text – A DisplayText3D object to be added to the Rhino scene.

  • layer_name – Optional text string for the layer name on which to place the text. If None, text will be added to the current layer.

  • attributes – Optional Rhino attributes for adding to the Rhino scene.

ladybug_rhino.bakedisplay.bake_display_vector2d(vector, z=0, layer_name=None, attributes=None)[source]

Add DisplayVector2D to the Rhino scene as a Line with an Arrowhead.

ladybug_rhino.bakedisplay.bake_display_vector3d(vector, layer_name=None, attributes=None)[source]

Add DisplayVector3D to the Rhino scene as a Line with an Arrowhead.