Just trying the primer code for the Python and noticed a major Bug with bounding box (bbox) if you input Surfaces/Polysurfaces or Solids it does not return a true bounding box. This is worrying for 2 reasons, one, because the box does not have a preview and as unless the script had output something wrong I may have used this on other projects like a do in Grasshopper with major errors as the box dims would be different. As well as the fact that I only found the bug because I thought I would review the primer for anything different from working in Grasshopper etc with Python
It says in the primer to extract the edges as there is a bug the bounding box but if I had not done the primer page I would not have known. This seems quite a big bug to not have fixed before releasing the primer and still a major bug in the latest primer.
Also, why does the bounding box require so much extra code just tp preview the bounding box in Dynamo/ Revit, etc? Personally I think the bbox components should have a preview, either wireframe or ghosted so you can review the box.
Addition request, Can we have an option to align the bounding box to a plane/coordinate system. so the BBox is not just XY.
BBOX BUG.dyn (38.5 KB)