mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
Update draw.py
This commit is contained in:
@@ -201,6 +201,10 @@ def main(settings, files, iterators=None, merge_projection=True, progress_functi
|
|||||||
projection, g1 = g1, g1.parentNode
|
projection, g1 = g1, g1.parentNode
|
||||||
|
|
||||||
svgfill_context = W.context(W.FILTERED_CARTESIAN_QUOTIENT, 1.0e-3)
|
svgfill_context = W.context(W.FILTERED_CARTESIAN_QUOTIENT, 1.0e-3)
|
||||||
|
|
||||||
|
# remove duplicates (without tolerance)
|
||||||
|
ls = list(map(tuple, set(map(frozenset, ls))))
|
||||||
|
|
||||||
svgfill_context.add(ls)
|
svgfill_context.add(ls)
|
||||||
|
|
||||||
if settings.merge_cells:
|
if settings.merge_cells:
|
||||||
|
|||||||
Reference in New Issue
Block a user