dsn27

Results 7 comments of dsn27

This error happens because CADability.GeoObject.Path does not implement IExportStep. Thus the cast (curve3d as IExportStep) will return null. Either implement the interface or use a safe cast. https://github.com/SOFAgh/CADability/blob/24181919cb5678058b73b3900441a07a826c7ac9/CADability/Edge.cs#L3567-L3575 System.NullReferenceException HResult=0x80004003...

As no one has answered this question yet, I'll give it a try. There are several places in the source code where the BoundingCube is intentionally expanded. For example: https://github.com/FriendsOfCADability/CADability/blob/573df1370880b52420b31dc25b8d8c0308fd9c3e/CADability/BRepIntersection.cs#L1782-L1792...

I'm sorry I have never seen this error before. But also never use PaintToGDI. Any chance you can provide a small sample project to reproduce this error?

After some trying I can now reproduce this error. Mine is a little bit different: I just need to open MainForm.cs in the Visual Studio designer. ![grafik](https://github.com/user-attachments/assets/b5353d43-71a7-4d8b-aa2c-d7329f748be2) Visual Studio sometimes...

Hi Chris. It would be really helpfull if you could provide a complete sample that is "ready" to run. I tried it like this: ``` private void button1_Click(object sender, EventArgs...

Regarding No.3: Floating-point precision can indeed be tricky. Precision.eps has been utilized in many parts of the code to handle similar issues, but it hasn't been consistently applied everywhere it...

Hi Chris. Thank you for your detailed input and for reopening the discussion. > netDxf is severely lacking for my needs (and the original maintainer has completely abandoned it) so...