mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Fix #7372: Increase almost_zero tolerance to handle matrix transformation precision
Changed tolerance from 1e-5 to 1e-4 to account for floating-point errors introduced by matrix transformations. Fixes section annotations being incorrectly excluded from drawings when they should be visible.
This commit is contained in:
@@ -507,7 +507,7 @@ def ortho_view_frame(
|
||||
|
||||
|
||||
def almost_zero(v):
|
||||
return abs(v) < 1e-5
|
||||
return abs(v) < 1e-4
|
||||
|
||||
|
||||
def clip_segment(bounds, segm):
|
||||
|
||||
Reference in New Issue
Block a user