Replies: 4 comments 7 replies
-
|
The local range of any BRep entities would have been accumulated to set the ElementAlignedBox3d (bbox) that is part of the element's placement, so you can just use that. export interface Placement3dProps { If that doesn't suffice you'll have to explain exactly what you are looking to do. |
Beta Was this translation helpful? Give feedback.
-
|
A geometry stream with multiple geometric entries that includes BReps should include local ranges too. If you are using GeometryStreamIterator or ElementGeometry.Iterator you can check to see if there is a valid local range when you encounter the BRep entry. You can't do much with BrepEntity.DataProps, it's just the binary transmit data for the brep. If you used IModelDb.elementGeometryRequest instead of IModelConnection.elements.loadProps to get the geometry, the "replaceBReps" option allows them to be returned as polyfaces. |
Beta Was this translation helpful? Give feedback.
-
There are currently no plans to do so. You didn't say how you would use the entity range, but as mentioned previously you have the option to return BReps as Polyfaces using IModelDb.elementGeometryRequest/replaceBReps. |
Beta Was this translation helpful? Give feedback.
-
Not in my experience. You'd typically only scale the entire element about a point, center, or origin. It isn't very common for solid modeling tools to accept an element with a mix/multiple geometries as these are generally created to represent some higher level component. Generic modification tools would typically only accept an element whose geometry is a single curve, surface, or solid. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Since I assume the BRep entity can be part of an actual element (
GeometricElement3d), I only have access to BRepEntity.DataProps data. In this case,IModelConnection.elements.loadPropscannot be used.Beta Was this translation helpful? Give feedback.
All reactions