Module rhino

Module rhino 

Source
Expand description

IFC → Rhino .3dm scene (see docs/architecture/rhino-3dm-export.md). IFC → Rhino .3dm scene: every IFC decision a .3dm writer needs, as plain data (RhinoScene), with no rhino3dm dependency.

The contract is docs/architecture/rhino-3dm-export.md. This module runs the shared geometry pass (crate::scene_input, as USD does), resolves units, frame, layers, materials, blocks and user text, and returns a scene an adapter (@ifc-lite/rhino3dm, the Python writer) translates one to one into rhino3dm calls. An adapter that needs to know IFC is a bug here.

Structs§

EarthAnchor
Rhino earth anchor point, from IfcSite.RefLatitude / RefLongitude.
RhinoBlock
RhinoGroup
RhinoLayer
RhinoMaterial
RhinoMesh
One triangle mesh: positions in output units and coordinates.
RhinoObject
RhinoScene
The scene: plain data saying which layer, material, group, block and user strings every object gets. RhinoScene::encode produces the wire form; it destructures every field, so a field added here does not compile until it has a place in the manifest.
RhinoSceneOptions
Options for build_rhino_scene. The .3dm archive version is an adapter option and is not here.
RhinoSettings
Document settings.

Enums§

RhinoCoordinates
Which frame vertices are written in.
RhinoGeometry
What an object draws.
RhinoLayerScheme
How objects are sorted onto layers.
RhinoProperties
How much IFC data goes into each object’s user text.
RhinoUnits
Output length unit. Source reads the IFC project length unit.

Constants§

RHINO_SCENE_FORMAT
Manifest format tag.
RHINO_SCENE_VERSION
Manifest version; bumped on any incompatible change.

Functions§

build_rhino_scene
Build the Rhino scene for the model in content (raw IFC/STEP bytes).