New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra arrows on leader lines #4487
Comments
This only happens in the SVG, right? Can you share a problematic SVG? |
I think it happens in BB--that is, extra vertices get added for some reason. As a random example. if you try and print |
@aothms is this perhaps related to #887 ? import ifcopenshell
import ifcopenshell.geom
import ifcopenshell.util.shape
ifc_file = ifcopenshell.open('./Highland_Haven.ifc')
element = ifc_file.by_id(4540642)
for e in ifc_file.traverse(element):
print(e)
settings = ifcopenshell.geom.settings()
settings.set(settings.INCLUDE_CURVES, True)
settings.set(settings.WELD_VERTICES, True)
shape = ifcopenshell.geom.create_shape(settings, element)
geometry = shape
verts = geometry.verts
print(verts)
edges = geometry.edges
print(edges)
faces = geometry.faces
print(faces) This outputs:
i.e. the polycurve should only have 3 verts, but 4 verts are returned. Shouldn't the polycurve remain chained somehow? |
As outlined:
https://community.osarch.org/discussion/1945/
Can't find a way to replicate, but happens relatively frequently.
The text was updated successfully, but these errors were encountered: