forked from 1b-agent/opencadstudio-upstream
fix(solids): a 3D drawing with bad pcurves opens instead of hanging
Two causes behind the load stalling at the scene-cache step: - Solids were fitted to the ACIS header's first tolerance-line value, which is the millimetres-per-unit scale (25.4 in this inch drawing, 1 in most), not a tolerance. It is now resabs, the second value. - The kernel (37b6902) drops pcurves that miss their edge and caps the pcurve walk, so a solid carrying a bad pcurve no longer refines an edge hundreds of thousands of times. Graph b741bd6. The attached drawing now meshes all 76 solids in 3.4 s (release) and opens in 19 s in a debug build. Fixes #1538 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
1952b4b0cb
commit
47f3e2e8ef
3 files changed
+14
-10
No files matched your search
Generated
+3
-3
@@ -4228,7 +4228,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "opencadgraph"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/HakanSeven12/opencadgraph.git?rev=455c878#455c8789052a227a7a7f9249ece9c1ec7163d166"
|
||||
source = "git+https://github.com/HakanSeven12/opencadgraph.git?rev=b741bd6#b741bd6aeb3b19222f8fa489b7a556552359df8f"
|
||||
dependencies = [
|
||||
"opencadkernel",
|
||||
"serde_json",
|
||||
@@ -4237,7 +4237,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "opencadkernel"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/HakanSeven12/opencadkernel.git?rev=019d3b1#019d3b17ad1842a1aebfffeb50bbc0bdac64899c"
|
||||
source = "git+https://github.com/HakanSeven12/opencadkernel.git?rev=37b6902#37b690219af25ae21a9952bc36c6d82cc9dc40eb"
|
||||
dependencies = [
|
||||
"cavalier_contours",
|
||||
"opencadcodec",
|
||||
@@ -4248,7 +4248,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "opencadkernel-constraints"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/HakanSeven12/opencadkernel.git?rev=019d3b1#019d3b17ad1842a1aebfffeb50bbc0bdac64899c"
|
||||
source = "git+https://github.com/HakanSeven12/opencadkernel.git?rev=37b6902#37b690219af25ae21a9952bc36c6d82cc9dc40eb"
|
||||
dependencies = [
|
||||
"nalgebra",
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user