Comments (1)
If you validate the IFC with xbim's built-in validator you get this:
Entity #40 (IfcSurfaceCurveSweptAreaSolid) has validation failures.
IfcSurfaceCurveSweCptAreaSolid.ReferenceSurface is not optional.
Entity #46 (IfcShapeRepresentation) has validation failures.
Issue of type EntityWhereClauses on IfcShapeRepresentation.CorrectItemsForType.
Entity #48 (IfcBuildingElementProxy) has validation failures.
Issue of type EntityWhereClauses on IfcProduct.PlacementForShapeRepresentation.
Issue of type EntityWhereClauses on IfcBuildingElementProxy.HasObjectName.
The main issue issue looks like you're creating a IfcSurfaceCurveSweptAreaSolid, but not providing a ReferenceSurface. Check the docs.
And I think the IfcShapeRepresentation's Representation identifier for that should be 'AdvancedSweptSolid' not 'SweptSolid'
You also don't seem to be using the IfcLocalPlacement on the BuildingElementProxy
IfcSurfaceCurveSweptAreaSolid is quite an advanced representation. There may be something simpler you can use like IfcRevolvedAreaSolid - which has some examples on that page you can follow.
Bottom line: use the built in IFC validator in xbim - if it's highlighting errors you will likely get these kinds of problems when viewing.
from xbimgeometry.
Related Issues (20)
- net6.0 support HOT 4
- Getting correct position of the model in world coordinates
- How to set up local development environment to fix bug's and create PR to contribute in xbim repositories. HOT 1
- How to get outer Edges for an IfcEntity using Xbim library ? HOT 8
- Load Ifc File System.AccessViolationException HOT 4
- Big size of result IFC file HOT 3
- XbimShapeInstance.Transformation places instance in world coordinates HOT 1
- Setting model units HOT 3
- Is v6 geometry engine currently much slower than v5?? HOT 2
- System.OutOfMemoryException. Array dimensions exceeded supported range. HOT 5
- GetShellPoints of a component HOT 1
- Failed to load IFC file: failed to load Xbim.Geometry.Engine64.dll HOT 6
- We need to get plot line bounding box distance for all levels. HOT 1
- We need to get shellpoints of any Building elements. HOT 1
- How to get face points of any building element. HOT 1
- ShapeUpgrade_UnifySameDomain causes a freeze HOT 5
- How to find Width of IfcRamp element?
- Degenerate wire leads to crash (BRepAdaptor_CompCurve) HOT 1
- WexBim viewer is not showing the geometry correctly HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xbimgeometry.