Windows/MSVC + OCCT 7.0.0#124
Conversation
…CADE instead of the community edition.
… or 'false' (performance warning)") + unnecessary integer cast.
…into win_occt_7.0.0
… order to fix static linking to OCCT. Mark IfcOpenShell patches in the OCCT patch files for clarity.
…lean up IfcOpenSHell's linker warnings by defining HAVE_NO_DLL.
…e not needed when HAVE_NO_DLL is defined.
…lenames/paths also. Apply the coding conventions while at it. Fixes IfcOpenShell#123.
…in order to fix Debug build. Do not trigger OCCT rebuild each time build-deps.cmd is ran.
|
Oh, I am testing slicing the Duplex model and I notice it crashes with OCCT 7.0.0. Did you happen to test slicing Duplex by any change on Linux with OCCT 7.0.0? |
|
Great! Many thanks. I am having a look now.
No, I will. It doesn't crash on Windows or you just didn't happen to check? Is there a reason why you copied over the entire files you want to patch rather than submit patches and |
|
Frankly, I was simply tired after hours of OCCT & OCE building to research into if/how |
|
Well, one of the reasons I asked is that I get unexplainable Then later on I get a CMake error: meaning that Strange errors. Not sure what all is happening here. |
|
OK, sounds weird, I'll retry rebuilding a clean OCCT in a sec. The CMake problems sound odd - what's your version BTW? I'm using 64-bit 3.6.1. |
|
OK, I'm getting the same copy error. |
…eem not to be fully reliable.
|
Fix committed. I'll look into cleaning up this PR tomorrow. |
|
This is fine for me. Little reason to assume the |
|
EDIT: scrap the following, it might be possible. A swift research sheds no light on using |
|
I'll take that back: |
|
So, if this satisfies you as is, it's ready for merging. I can squash the commits if wanted. |
|
Thanks, works like a charm, as always.
Yeah, this is a bit peculiar. Maybe a better way to go about this would have been to use Just have one small thing relating to this ever annoying PCRE library dir. I will commit it after merging.
I can confirm the same happens on Windows. Will have a look. |
To avoid validation errors on creating wall mounted railings
#143=IfcShapeRepresentation(#15,'Body','SweptSolid',(#116,#126,#129,#139,#142))
Rule IfcShapeRepresentation.CorrectItemsForType:
IfcShapeRepresentationTypes(self.RepresentationType, self.Items)
Violated by:
False
+ where False = IfcShapeRepresentationTypes('SweptSolid', (#116=IfcSweptDiskSolid(#115,10.,$,$,$), #126=IfcExtrudedAreaSolid(#120,#124,#125,20.), #129=IfcSweptDiskSolid(#128,10.,$,$,$), #139=IfcExtrudedAreaSolid(#133,#137,#138,20.), #142=IfcSweptDiskSolid(#141,25.000000372529,$,$,$)))
+ where 'SweptSolid' = #143=IfcShapeRepresentation(#15,'Body','SweptSolid',(#116,#126,#129,#139,#142)).RepresentationType
+ and (#116=IfcSweptDiskSolid(#115,10.,$,$,$), #126=IfcExtrudedAreaSolid(#120,#124,#125,20.), #129=IfcSweptDiskSolid(#128,10.,$,$,$), #139=IfcExtrudedAreaSolid(#133,#137,#138,20.), #142=IfcSweptDiskSolid(#141,25.000000372529,$,$,$)) = #143=IfcShapeRepresentation(#15,'Body','SweptSolid',(#116,#126,#129,#139,#142)).Items
Uh oh!
There was an error while loading. Please reload this page.