HALRobotics / Beta

HAL Robotics Framework beta release and associated documentation.
17 stars 3 forks source link

Mesh Preview Clipping Issue in Rhino Viewport #8

Closed bringley closed 6 years ago

bringley commented 6 years ago

The mesh rendering of the robot/tool generated by components such as the HAL Execute component is demonstrating clipping issues in the Rhino viewport.

image

This issue can be resolved by drawing a box around the extents of the mesh geometry.

image

I spoke with @AndrewHeumann about it and he says: "I suspect this is due to not correctly setting the BoundingBox property during DrawViewportWires/DrawViewportMeshes method overrides on the components. The issue goes away as soon as there's a large enough object in the Rhino scene - the viewport clipping planes are affected by the bounding boxes of GH preview geometry but these must be calculated explicitly in component code."

This issue occurs in the following Rhino version: Version 5 SR14 64-bit (5.14.522.8390, 05/22/2017)

And the following Grasshopper version: 0.9.0076

On the following operating system: Windows 10 Pro 1703 OS build 15063.608

Please advise and thank you for your time.

thibaultschwartz commented 6 years ago

Fixed in next update, thanks for reporting this.