Skip to content

Conversation

maxfb87
Copy link
Contributor

@maxfb87 maxfb87 commented Aug 5, 2023

I tried to resolve the bug #3547 and actually this works but i'm not sure if this solution covers all cases...
Also, the comment here looks suspicious ...

@Moult
Copy link
Contributor

Moult commented Aug 6, 2023

Your suspicions about the comment are correct. Basically clippings should be able to be specified in two ways: either by an existing IFC entity, or by a regular Python dictionary with parameters about operand type and matrix. Currently, we only support the latter. In your fix, you've made it only support the former. Can you make it support both via an isinstance(foo, dict) or isinstance(foo, ifcopenshell.entity_instance) check?

@Moult Moult added the Bonsai label Aug 6, 2023
@maxfb87
Copy link
Contributor Author

maxfb87 commented Aug 6, 2023

All right, i've done it and thanks for the explanation :-)

@Moult Moult closed this Aug 8, 2023
@maxfb87 maxfb87 deleted the trying_fixing_profile_clipping branch August 15, 2023 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants