René's URL Explorer Experiment


Title: Manifold kernel: default circle-segments=0 gives one segment per arc or circle; reversed arcs (SameSense=.F.) give a wrong outline · Issue #9768 · IfcOpenShell/IfcOpenShell · GitHub

Open Graph Title: Manifold kernel: default circle-segments=0 gives one segment per arc or circle; reversed arcs (SameSense=.F.) give a wrong outline · Issue #9768 · IfcOpenShell/IfcOpenShell

X Title: Manifold kernel: default circle-segments=0 gives one segment per arc or circle; reversed arcs (SameSense=.F.) give a wrong outline · Issue #9768 · IfcOpenShell/IfcOpenShell

Description: Bug Description Two problems with circles and arcs in the profiles of extrusions, with geometry_library="manifold" and with the hybrid kernels that start with it. Both are in the edge-to-points code of the manifold kernel, and the script...

Open Graph Description: Bug Description Two problems with circles and arcs in the profiles of extrusions, with geometry_library="manifold" and with the hybrid kernels that start with it. Both are in the edge-to-points cod...

X Description: Bug Description Two problems with circles and arcs in the profiles of extrusions, with geometry_library="manifold" and with the hybrid kernels that start with it. Both are in the edge-to-...

Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/9768

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Manifold kernel: default circle-segments=0 gives one segment per arc or circle; reversed arcs (SameSense=.F.) give a wrong outline","articleBody":"### Bug Description\n\nTwo problems with circles and arcs in the profiles of extrusions, with `geometry_library=\"manifold\"` and with the hybrid kernels that start with it. Both are in the edge-to-points code of the manifold kernel, and the script below shows both.\n\n**1. With the default `circle-segments` = 0, every circle, ellipse or arc gets a single segment.**\n\nIn 0.9.0 the default of `circle-segments` is 0. Its description says that 0 means the count is \"derived from mesher-linear-deflection and mesher-angular-deflection\" (https://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/conversion_settings.h#L347-L351), and the CGAL kernel does that (https://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/kernels/cgal/cgal_kernel.cpp#L441-L472).\n\nThe manifold kernel uses the value directly: `num_segments = std::max(1, (int)std::ceil(std::fabs(a - b) / two_pi * circle_segments))`, at https://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/kernels/manifold/manifold_kernel.cpp#L862-L893 (unchanged on the current `v0.9.0` head). With 0, every conic edge therefore becomes one straight segment:\n\n- **Full circles and ellipses cannot be converted.** We tried `IfcCircleProfileDef`, `IfcEllipseProfileDef`, `IfcCircleHollowProfileDef`, and an `IfcArbitraryClosedProfileDef` bounded by an `IfcCircle` or by two half-circle `IfcTrimmedCurve`s; the first two are in the script.\n  - The kernel logs \"failed to convert extrusion, requires planar bounds with line, circle or ellipse edges\" and raises, so the hybrid kernels fall back to OpenCASCADE.\n  - When such a profile is the body of an opening, the host element comes back empty instead. That part comes from the unchecked `convert_openings()` result that #9393 addresses.\n- **Arcs become chords, without any message, and the hybrid kernels do not fall back.**\n  - A 0.4 × 0.4 m `IfcRoundedRectangleProfileDef` with 50 mm corners loses 1.81 % of its area.\n  - An I-section with 16 mm fillets (`IfcIShapeProfileDef.FilletRadius`) gains 3.47 %.\n  - A quarter arc in an `IfcCompositeCurve` gains 1.18 % in the script's profile.\n\nWith `settings.set(\"circle-segments\", 64)`, all these cases are within 0.16 % of the exact area.\n\n**2. An arc used in reverse in an `IfcCompositeCurve` (`IfcCompositeCurveSegment.SameSense=.F.`) gives a wrong outline, whatever `circle-segments` is.**\n\nThe same profile, with its quarter arc written as an `IfcTrimmedCurve` used forward (`SameSense=.T.`), is correct with 64 segments. Written as the opposite trimmed curve used in reverse (`SameSense=.F.`), it gives:\n\n- −18.8 % at the default setting;\n- −14.2 % with 64 segments.\n\nThere is no message. We checked separately that the outline has the same vertices as with the forward arc, but a different area, so the arc's points are joined in the wrong order. Such profiles occur in real files: we found composite curves with reversed arc segments in a public sample model, a Revit export post-processed with an IFC optimiser (details in our comment on #8050).\n\nThe cause is probably the following; we found it by reading the code and have not checked it with a debugger. For `SameSense=.F.`, `IfcCompositeCurve.cpp` calls `reverse()` on the mapped curve (https://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/mapping/IfcCompositeCurve.cpp#L55-L56), and `trimmed_curve::reverse()` only toggles its `orientation` (https://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/taxonomy.h#L830-L833). The manifold edge-to-points function looks at an edge's `curve_sense`, but it never reads the edge's `orientation` (https://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/kernels/manifold/manifold_kernel.cpp#L852). The CGAL kernel reverses them when `orientation` is false (https://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/kernels/cgal/cgal_kernel.cpp#L741-L743).\n\nTo reproduce, run the script below. It needs only ifcopenshell and builds its own IFC4 model in memory. Exit code 1 means the problem reproduces, 0 that it does not, 2 that a control case failed. The columns are extruded by 1 m, so the volume equals the profile area.\n\n\u003cdetails>\n\u003csummary>Script\u003c/summary>\n\n```python\n\"\"\"Manifold kernel, circles and arcs of extruded profiles.\n\n1. With the default circle-segments = 0, every circle, ellipse or arc is approximated by a single segment.\n   Full circles and ellipses then cannot be converted (\"failed to convert extrusion, requires planar bounds\n   with line, circle or ellipse edges\"), and arcs become chords without any message: rounded corners lose\n   area, fillets add area. With circle-segments set explicitly (here 64) these profiles are correct.\n2. An arc used in reverse in an IfcCompositeCurve (IfcCompositeCurveSegment.SameSense = .F.) is traced the\n   wrong way round, so the outline doubles back on itself: the area is wrong at any circle-segments,\n   without any message. The same arc used forward is correct with 64 segments.\n\nSelf-contained: builds a synthetic IFC4 model in memory, needs only `pip install ifcopenshell`.\nExit code: 1 if the defect reproduces, 0 if not, 2 if a control case fails.\n\"\"\"\n\nimport math\nimport platform\nimport sys\nimport uuid\n\nimport ifcopenshell\nimport ifcopenshell.geom\nimport ifcopenshell.guid\n\nTOLERANCE = 1e-2  # relative; the OpenCASCADE tessellation stays within 0.4 % of the exact area here\n_ids = iter(range(1, 10**6))\n\n\ndef guid():\n    return ifcopenshell.guid.compress(uuid.UUID(int=next(_ids)).hex)\n\n\ndef build():\n    \"\"\"Columns extruded 1 m, so that volume = profile area. Exact areas computed analytically.\"\"\"\n    f = ifcopenshell.file(schema=\"IFC4\")\n    c = f.create_entity\n\n    def pt(*v):\n        return c(\"IfcCartesianPoint\", Coordinates=[float(x) for x in v])\n\n    def ax3(loc=(0, 0, 0)):\n        return c(\"IfcAxis2Placement3D\", Location=pt(*loc))\n\n    def p2(x=0.0, y=0.0):\n        return c(\"IfcAxis2Placement2D\", Location=pt(x, y))\n\n    ctx = c(\n        \"IfcGeometricRepresentationContext\",\n        ContextType=\"Model\",\n        CoordinateSpaceDimension=3,\n        Precision=1e-5,\n        WorldCoordinateSystem=ax3(),\n    )\n    units = c(\n        \"IfcUnitAssignment\",\n        Units=[\n            c(\"IfcSIUnit\", UnitType=\"LENGTHUNIT\", Name=\"METRE\"),\n            c(\"IfcSIUnit\", UnitType=\"PLANEANGLEUNIT\", Name=\"RADIAN\"),\n        ],\n    )\n    c(\"IfcProject\", GlobalId=guid(), Name=\"synthetic\", RepresentationContexts=[ctx], UnitsInContext=units)\n\n    def square_with_concave_corner(same_sense):\n        \"\"\"1 x 1 m square with a concave quarter circle (r 0.2, centred on the corner (1, 1)) cut at that\n        corner, as an IfcCompositeCurve. The outline runs counter-clockwise from (1, 0.8) to (0.8, 1) along\n        the arc: the trimmed curve is parametrised from 270 deg down to 180 deg and used forward\n        (SameSense=.T.), or parametrised from 180 deg to 270 deg and used in reverse (SameSense=.F.).\"\"\"\n\n        def line(p, q):\n            polyline = c(\"IfcPolyline\", Points=[pt(*p), pt(*q)])\n            return c(\"IfcCompositeCurveSegment\", Transition=\"CONTINUOUS\", SameSense=True, ParentCurve=polyline)\n\n        circle = c(\"IfcCircle\", Position=p2(1.0, 1.0), Radius=0.2)\n        t1, t2 = (1.5 * math.pi, math.pi) if same_sense else (math.pi, 1.5 * math.pi)\n        trim = c(\n            \"IfcTrimmedCurve\",\n            BasisCurve=circle,\n            Trim1=[f.createIfcParameterValue(t1)],\n            Trim2=[f.createIfcParameterValue(t2)],\n            SenseAgreement=not same_sense,\n            MasterRepresentation=\"PARAMETER\",\n        )\n        arc = c(\"IfcCompositeCurveSegment\", Transition=\"CONTINUOUS\", SameSense=same_sense, ParentCurve=trim)\n        segments = [line((0, 0), (1, 0)), line((1, 0), (1, 0.8)), arc, line((0.8, 1), (0, 1)), line((0, 1), (0, 0))]\n        curve = c(\"IfcCompositeCurve\", Segments=segments, SelfIntersect=False)\n        return c(\"IfcArbitraryClosedProfileDef\", ProfileType=\"AREA\", OuterCurve=curve)\n\n    r, a, b, rr = 0.2, 0.3, 0.2, 0.05\n    width, depth, tw, tf, fillet = 0.2, 0.4, 0.008, 0.013, 0.016\n    cut_square = 1.0 - math.pi * 0.2 * 0.2 / 4\n    cases = []\n    # (label, profile, exact area, is_control, the circle-segments=64 run is expected to be correct)\n    for label, profile, truth, is_control, correct_at_64 in (\n        (\n            \"CONTROL IfcRectangleProfileDef 0.4 x 0.4\",\n            c(\"IfcRectangleProfileDef\", ProfileType=\"AREA\", Position=p2(), XDim=0.4, YDim=0.4),\n            0.16,\n            True,\n            True,\n        ),\n        (\n            \"IfcCircleProfileDef r 0.2\",\n            c(\"IfcCircleProfileDef\", ProfileType=\"AREA\", Position=p2(), Radius=r),\n            math.pi * r * r,\n            False,\n            True,\n        ),\n        (\n            \"IfcEllipseProfileDef 0.3 x 0.2\",\n            c(\"IfcEllipseProfileDef\", ProfileType=\"AREA\", Position=p2(), SemiAxis1=a, SemiAxis2=b),\n            math.pi * a * b,\n            False,\n            True,\n        ),\n        (\n            \"IfcRoundedRectangleProfileDef 0.4 x 0.4, r 0.05\",\n            c(\n                \"IfcRoundedRectangleProfileDef\",\n                ProfileType=\"AREA\",\n                Position=p2(),\n                XDim=0.4,\n                YDim=0.4,\n                RoundingRadius=rr,\n            ),\n            0.16 - (4 - math.pi) * rr * rr,\n            False,\n            True,\n        ),\n        (\n            \"IfcIShapeProfileDef 0.2 x 0.4, fillet r 0.016\",\n            c(\n                \"IfcIShapeProfileDef\",\n                ProfileType=\"AREA\",\n                Position=p2(),\n                OverallWidth=width,\n                OverallDepth=depth,\n                WebThickness=tw,\n                FlangeThickness=tf,\n                FilletRadius=fillet,\n            ),\n            2 * width * tf + (depth - 2 * tf) * tw + (4 - math.pi) * fillet * fillet,\n            False,\n            True,\n        ),\n        (\n            \"IfcCompositeCurve, quarter arc used forward (SameSense=.T.)\",\n            square_with_concave_corner(same_sense=True),\n            cut_square,\n            False,\n            True,\n        ),\n        (\n            \"IfcCompositeCurve, same arc used in reverse (SameSense=.F.)\",\n            square_with_concave_corner(same_sense=False),\n            cut_square,\n            False,\n            False,\n        ),\n    ):\n        solid = c(\n            \"IfcExtrudedAreaSolid\",\n            SweptArea=profile,\n            Position=ax3(),\n            ExtrudedDirection=c(\"IfcDirection\", DirectionRatios=[0.0, 0.0, 1.0]),\n            Depth=1.0,\n        )\n        rep = c(\n            \"IfcShapeRepresentation\",\n            ContextOfItems=ctx,\n            RepresentationIdentifier=\"Body\",\n            RepresentationType=\"SweptSolid\",\n            Items=[solid],\n        )\n        column = c(\n            \"IfcColumn\",\n            GlobalId=guid(),\n            Name=label,\n            ObjectPlacement=c(\"IfcLocalPlacement\", RelativePlacement=ax3((10.0 * len(cases), 0, 0))),\n            Representation=c(\"IfcProductDefinitionShape\", Representations=[rep]),\n        )\n        cases.append((label, column, truth, is_control, correct_at_64))\n    return f, cases\n\n\ndef mesh_volume(geometry):\n    \"\"\"Divergence-theorem volume of a triangulation, about its first vertex (standard library only).\"\"\"\n    v, fc = list(geometry.verts), list(geometry.faces)\n    if not fc:\n        return None\n    ox, oy, oz = v[0], v[1], v[2]\n    total = 0.0\n    for i in range(0, len(fc), 3):\n        (ax, ay, az), (bx, by, bz), (cx, cy, cz) = (\n            (v[3 * j] - ox, v[3 * j + 1] - oy, v[3 * j + 2] - oz) for j in fc[i : i + 3]\n        )\n        total += ax * (by * cz - bz * cy) - ay * (bx * cz - bz * cx) + az * (bx * cy - by * cx)\n    return total / 6.0\n\n\ndef log_warnings():\n    \"\"\"Warnings and errors of the library log since it was last read, without timestamps; GEO031 (no\n    material or style, true of every element here) is left out.\"\"\"\n    out = []\n    for line in ifcopenshell.get_log().splitlines():\n        if line.startswith((\"[warning]\", \"[error]\")) and \"[GEO031]\" not in line:\n            parts = [p for p in line.replace(\"] \", \"]\\t\").split(\"\\t\") if not p[1:5].isdigit()]\n            out.append(\" \".join(parts).strip())\n    return out or \"no warning or error\"\n\n\ndef main():\n    print(\n        f\"ifcopenshell {ifcopenshell.version} ({ifcopenshell.ifcopenshell_wrapper.version()}), \"\n        f\"Python {platform.python_version()}, {platform.system()} {platform.machine()}\"\n    )\n    print(f\"default circle-segments: {ifcopenshell.geom.settings().get('circle-segments')}\")\n    _model, cases = build()  # the file object stays referenced while its instances are used\n    runs = (  # (kernel, circle-segments)\n        (\"opencascade\", None),\n        (\"manifold\", None),\n        (\"hybrid-manifold-opencascade\", None),\n        (\"manifold\", 64),\n    )\n    defect = control_failed = False\n    for label, column, truth, is_control, correct_at_64 in cases:\n        print(f\"\\n{label}: exact area {truth:.7f} m2 (extruded 1 m)\")\n        for kernel, segments in runs:\n            settings = ifcopenshell.geom.settings()\n            if segments:\n                settings.set(\"circle-segments\", segments)\n            ifcopenshell.get_log()  # clear the log\n            try:\n                shape = ifcopenshell.geom.create_shape(settings, column, geometry_library=kernel)\n                v = mesh_volume(shape.geometry)  # keep `shape` alive while its geometry is read\n                status = \"EMPTY\" if v is None else (\"OK\" if abs(v - truth) \u003c= TOLERANCE * truth else \"WRONG\")\n                result = \"empty shape\" if v is None else f\"{v:.7f}  rel. diff {(v - truth) / truth:+.2%}\"\n            except Exception as exc:\n                status, result = \"EXCEPTION\", f\"{type(exc).__name__} raised\"\n            name = f\"{kernel}{'' if segments is None else f', circle-segments={segments}'}\"\n            print(f\"  {name:40s} {result:32s} {status:9s} log: {log_warnings()}\")\n            reference = kernel == \"opencascade\" or is_control or (segments and correct_at_64)\n            if reference:\n                control_failed |= status != \"OK\"\n            else:\n                defect |= status != \"OK\"\n    print(\"\\nRESULT:\", \"CONTROL FAILED\" if control_failed else (\"DEFECT REPRODUCED\" if defect else \"not reproduced\"))\n    return 2 if control_failed else (1 if defect else 0)\n\n\nif __name__ == \"__main__\":\n    sys.exit(main())\n```\n\n\u003c/details>\n\nObserved (0.9.0, exit code 1):\n\n```\nifcopenshell 0.9.0 (0.9.0alpha0-8c614fa), Python 3.14.7, Windows AMD64\ndefault circle-segments: 0\n\nCONTROL IfcRectangleProfileDef 0.4 x 0.4: exact area 0.1600000 m2 (extruded 1 m)\n  opencascade                              0.1600000  rel. diff +0.00%      OK        log: no warning or error\n  manifold                                 0.1600000  rel. diff +0.00%      OK        log: no warning or error\n  hybrid-manifold-opencascade              0.1600000  rel. diff +0.00%      OK        log: no warning or error\n  manifold, circle-segments=64             0.1600000  rel. diff +0.00%      OK        log: no warning or error\n\nIfcCircleProfileDef r 0.2: exact area 0.1256637 m2 (extruded 1 m)\n  opencascade                              0.1252558  rel. diff -0.32%      OK        log: no warning or error\n  manifold                                 RuntimeError raised              EXCEPTION log: ['[warning] Manifold kernel: failed to convert extrusion, requires planar bounds with line, circle or ellipse edges']\n  hybrid-manifold-opencascade              0.1252558  rel. diff -0.32%      OK        log: ['[warning] Manifold kernel: failed to convert extrusion, requires planar bounds with line, circle or ellipse edges']\n  manifold, circle-segments=64             0.1254619  rel. diff -0.16%      OK        log: no warning or error\n\nIfcEllipseProfileDef 0.3 x 0.2: exact area 0.1884956 m2 (extruded 1 m)\n  opencascade                              0.1880210  rel. diff -0.25%      OK        log: no warning or error\n  manifold                                 RuntimeError raised              EXCEPTION log: ['[warning] Manifold kernel: failed to convert extrusion, requires planar bounds with line, circle or ellipse edges']\n  hybrid-manifold-opencascade              0.1880210  rel. diff -0.25%      OK        log: ['[warning] Manifold kernel: failed to convert extrusion, requires planar bounds with line, circle or ellipse edges']\n  manifold, circle-segments=64             0.1881929  rel. diff -0.16%      OK        log: no warning or error\n\nIfcRoundedRectangleProfileDef 0.4 x 0.4, r 0.05: exact area 0.1578540 m2 (extruded 1 m)\n  opencascade                              0.1577882  rel. diff -0.04%      OK        log: no warning or error\n  manifold                                 0.1550000  rel. diff -1.81%      WRONG     log: no warning or error\n  hybrid-manifold-opencascade              0.1550000  rel. diff -1.81%      WRONG     log: no warning or error\n  manifold, circle-segments=64             0.1578425  rel. diff -0.01%      OK        log: no warning or error\n\nIfcIShapeProfileDef 0.2 x 0.4, fillet r 0.016: exact area 0.0084118 m2 (extruded 1 m)\n  opencascade                              0.0084185  rel. diff +0.08%      OK        log: no warning or error\n  manifold                                 0.0087040  rel. diff +3.47%      WRONG     log: no warning or error\n  hybrid-manifold-opencascade              0.0087040  rel. diff +3.47%      WRONG     log: no warning or error\n  manifold, circle-segments=64             0.0084130  rel. diff +0.01%      OK        log: no warning or error\n\nIfcCompositeCurve, quarter arc used forward (SameSense=.T.): exact area 0.9685841 m2 (extruded 1 m)\n  opencascade                              0.9686737  rel. diff +0.01%      OK        log: no warning or error\n  manifold                                 0.9800000  rel. diff +1.18%      WRONG     log: no warning or error\n  hybrid-manifold-opencascade              0.9800000  rel. diff +1.18%      WRONG     log: no warning or error\n  manifold, circle-segments=64             0.9686345  rel. diff +0.01%      OK        log: no warning or error\n\nIfcCompositeCurve, same arc used in reverse (SameSense=.F.): exact area 0.9685841 m2 (extruded 1 m)\n  opencascade                              0.9686737  rel. diff +0.01%      OK        log: no warning or error\n  manifold                                 0.7866667  rel. diff -18.78%     WRONG     log: no warning or error\n  hybrid-manifold-opencascade              0.7866667  rel. diff -18.78%     WRONG     log: no warning or error\n  manifold, circle-segments=64             0.8313655  rel. diff -14.17%     WRONG     log: no warning or error\n\nRESULT: DEFECT REPRODUCED\n```\n\n**Expected.**\n\n- With the default setting, conics are tessellated within the mesher deflections, as in the CGAL kernel, or with a non-zero default number of segments. Circles and ellipses are converted, and arcs are not reduced to chords.\n- An arc used in reverse gives the same outline as the equivalent arc used forward.\n\n**Notes.**\n\n- The default of `circle-segments` changed from 16 to 0 in c57da082a5, \"Make CGAL circle-segments 0-default deflection-driven\" (https://github.com/IfcOpenShell/IfcOpenShell/commit/c57da082a5cdf867cfe2dd4514e901354c20f770). That commit adapted the CGAL kernel only. The setting is documented for the CGAL kernel, and the commit message says it is only read there, but the manifold kernel already read it at that commit (`ManifoldKernel.cpp` L1493 at c57da082a5), and it still uses the value as a fixed count. (0.8.5, where the default is 16, has no manifold kernel.)\n- Why full circles fail while arcs pass as chords: with one segment, a full circle yields its start point twice. Once the duplicate end point is dropped, fewer than three points remain.\n\nThis report and its script were prepared with the assistance of an AI coding tool; the outputs shown come from actual runs on the versions stated.\n\n### Attachments\n\nNone. The script above builds its own model.\n\n### Debug and Error Output\n\n```\nifcopenshell 0.9.0 from PyPI (ifcopenshell_wrapper.version(): 0.9.0alpha0-8c614fa)\nCPython 3.14.7, Windows 11 x64; Linux and macOS not tested.\n```\n","author":{"url":"https://github.com/BryanMGIT","@type":"Person","name":"BryanMGIT"},"datePublished":"2026-10-01T19:58:19Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/9768"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:87040848-587f-d575-f14d-01ef9a7750ab
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA24A:4FA7:13127C:1955B7:6B04A0E0
html-safe-noncef5e507fe3561a31b7042486bbdc4225fbbfc27448d9568700aca888e83ee16e7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjRBOjRGQTc6MTMxMjdDOjE5NTVCNzo2QjA0QTBFMCIsInZpc2l0b3JfaWQiOiI4OTA5MjU0OTk2OTU3MzcyNjQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacde5d2f5f645785d3486dc1b4c4fc63cb7f59a98e976ffea24ee227b52ef5313e
hovercard-subject-tagissue:5668301324
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/9768/issue_layout
twitter:imagehttps://opengraph.githubassets.com/cd54eb8037d7ce9434c348e169f4f6efce194b828ebaa8a788ac53ef7998603f/IfcOpenShell/IfcOpenShell/issues/9768
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/cd54eb8037d7ce9434c348e169f4f6efce194b828ebaa8a788ac53ef7998603f/IfcOpenShell/IfcOpenShell/issues/9768
og:image:altBug Description Two problems with circles and arcs in the profiles of extrusions, with geometry_library="manifold" and with the hybrid kernels that start with it. Both are in the edge-to-points cod...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBryanMGIT
hostnamegithub.com
expected-hostnamegithub.com
None9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d
turbo-cache-controlno-preview
go-importgithub.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git
octolytics-dimension-user_id13692563
octolytics-dimension-user_loginIfcOpenShell
octolytics-dimension-repository_id40473201
octolytics-dimension-repository_nwoIfcOpenShell/IfcOpenShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id40473201
octolytics-dimension-repository_network_root_nwoIfcOpenShell/IfcOpenShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3fd14143b75b2af7b76bbd23b069867d091adfcc
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/IfcOpenShell/IfcOpenShell/issues/9768#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F9768
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FIfcOpenShell%2FIfcOpenShell%2Fissues%2F9768
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=IfcOpenShell%2FIfcOpenShell
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/9768
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/9768
Reloadhttps://github.com/IfcOpenShell/IfcOpenShell/issues/9768
IfcOpenShellhttps://github.com/IfcOpenShell
IfcOpenShellhttps://github.com/IfcOpenShell/IfcOpenShell
Codehttps://github.com/IfcOpenShell/IfcOpenShell
Issues1.2k (1.2k)https://github.com/IfcOpenShell/IfcOpenShell/issues
Pull requests937 (937)https://github.com/IfcOpenShell/IfcOpenShell/pulls
Discussionshttps://github.com/IfcOpenShell/IfcOpenShell/discussions
Actionshttps://github.com/IfcOpenShell/IfcOpenShell/actions
Projectshttps://github.com/IfcOpenShell/IfcOpenShell/projects
Wikihttps://github.com/IfcOpenShell/IfcOpenShell/wiki
Security and qualityhttps://github.com/IfcOpenShell/IfcOpenShell/security
Insightshttps://github.com/IfcOpenShell/IfcOpenShell/insights
https://github.com/IfcOpenShell/IfcOpenShell
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/9768
New issuehttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/9768
#9777https://github.com/IfcOpenShell/IfcOpenShell/pull/9777
Manifold kernel: default circle-segments=0 gives one segment per arc or circle; reversed arcs (SameSense=.F.) give a wrong outlinehttps://github.com/IfcOpenShell/IfcOpenShell/issues/9768#top
#9777https://github.com/IfcOpenShell/IfcOpenShell/pull/9777
https://github.com/BryanMGIT
BryanMGIThttps://github.com/BryanMGIT
on Oct 1, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/9768#issue-5668301324
IfcOpenShell/src/ifcgeom/conversion_settings.hhttps://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/conversion_settings.h#L347-L351
8c614fahttps://github.com/IfcOpenShell/IfcOpenShell/commit/8c614fa298c4cba0163762f18ccfe117f45ad730
IfcOpenShell/src/ifcgeom/kernels/cgal/cgal_kernel.cpphttps://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/kernels/cgal/cgal_kernel.cpp#L441-L472
8c614fahttps://github.com/IfcOpenShell/IfcOpenShell/commit/8c614fa298c4cba0163762f18ccfe117f45ad730
IfcOpenShell/src/ifcgeom/kernels/manifold/manifold_kernel.cpphttps://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/kernels/manifold/manifold_kernel.cpp#L862-L893
8c614fahttps://github.com/IfcOpenShell/IfcOpenShell/commit/8c614fa298c4cba0163762f18ccfe117f45ad730
ifcgeom: fall back when convert_openings cleanly fails #9393https://github.com/IfcOpenShell/IfcOpenShell/pull/9393
#8050https://github.com/IfcOpenShell/IfcOpenShell/issues/8050
IfcOpenShell/src/ifcgeom/mapping/IfcCompositeCurve.cpphttps://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/mapping/IfcCompositeCurve.cpp#L55-L56
8c614fahttps://github.com/IfcOpenShell/IfcOpenShell/commit/8c614fa298c4cba0163762f18ccfe117f45ad730
IfcOpenShell/src/ifcgeom/taxonomy.hhttps://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/taxonomy.h#L830-L833
8c614fahttps://github.com/IfcOpenShell/IfcOpenShell/commit/8c614fa298c4cba0163762f18ccfe117f45ad730
IfcOpenShell/src/ifcgeom/kernels/manifold/manifold_kernel.cpphttps://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/kernels/manifold/manifold_kernel.cpp#L852
8c614fahttps://github.com/IfcOpenShell/IfcOpenShell/commit/8c614fa298c4cba0163762f18ccfe117f45ad730
IfcOpenShell/src/ifcgeom/kernels/cgal/cgal_kernel.cpphttps://github.com/IfcOpenShell/IfcOpenShell/blob/8c614fa298c4cba0163762f18ccfe117f45ad730/src/ifcgeom/kernels/cgal/cgal_kernel.cpp#L741-L743
8c614fahttps://github.com/IfcOpenShell/IfcOpenShell/commit/8c614fa298c4cba0163762f18ccfe117f45ad730
c57da08https://github.com/IfcOpenShell/IfcOpenShell/commit/c57da082a5cdf867cfe2dd4514e901354c20f770
c57da08https://github.com/IfcOpenShell/IfcOpenShell/commit/c57da082a5cdf867cfe2dd4514e901354c20f770
c57da08https://github.com/IfcOpenShell/IfcOpenShell/commit/c57da082a5cdf867cfe2dd4514e901354c20f770
https://github.com/petruconduraru
petruconduraruhttps://github.com/petruconduraru
on Oct 2, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/9768#issuecomment-5945417878
#9777https://github.com/IfcOpenShell/IfcOpenShell/pull/9777
petruconduraruhttps://github.com/petruconduraru
on Oct 6, 2026https://github.com/IfcOpenShell/IfcOpenShell/issues/9768#event-32582806842
Test voided hosts through the iterator toohttps://github.com/BIMvoice/IfcOpenShell/commit/b9c31dafdb9d554ba45cbed9ef4df1c0ff98b3ab
b9c31dahttps://github.com/BIMvoice/IfcOpenShell/commit/b9c31dafdb9d554ba45cbed9ef4df1c0ff98b3ab
Sign up for freehttps://github.com/signup?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/9768
Sign in to commenthttps://github.com/login?return_to=https://github.com/IfcOpenShell/IfcOpenShell/issues/9768
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.