Hi!
Seems like OCC bug.
1. Skecther. Ellipse.
2. Part Offset2D
3. Part Extrude.
4. Part CheckGeometry -> lots of errors "BOPAlgo_InvalidCurveOnSurface"
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8361 (Git)
Build type: Release
Branch: DeepSOIC10
Hash: 4ac7673e543274bcae856872033a114c7b60481b
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Extrude Offset Ellipse is invalid geometry
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: Extrude Offset Ellipse is invalid geometry
I wanted to reproduce this in occ draw and encountered this bug: https://tracker.dev.opencascade.org/view.php?id=27876 So sorry, I don't think there is a way to properly test this for occ problems and to possibly report it right now.
Re: Extrude Offset Ellipse is invalid geometry
Even in Python it fails:
A new enum type for curves has been added with a recent occ version:
GeomAbs_CurveType.hxx
Code: Select all
s=App.ActiveDocument.Offset2D.Shape
s.Edges
e=s.Edge1
e.Curve
EDIT:Traceback (most recent call last):
File "<input>", line 1, in <module>
TypeError: undefined curve type
A new enum type for curves has been added with a recent occ version:
GeomAbs_CurveType.hxx
Code: Select all
enum GeomAbs_CurveType
{
GeomAbs_Line,
GeomAbs_Circle,
GeomAbs_Ellipse,
GeomAbs_Hyperbola,
GeomAbs_Parabola,
GeomAbs_BezierCurve,
GeomAbs_BSplineCurve,
GeomAbs_OffsetCurve, // <<== that's new
GeomAbs_OtherCurve
};
Re: Extrude Offset Ellipse is invalid geometry
This is quite old, but as OCC has finally fixed the bug I mentioned in the earlier post and updated the documentation. I was now able to report the bug mentioned by DeepSOIC: https://tracker.dev.opencascade.org/view.php?id=28982
Re: Extrude Offset Ellipse is invalid geometry
Hello,
Using strictly the data of your "sketch", I applied constraints on the drawing (for a sketch entirely constrained). Then, the extrusion proceeds normally without any bug ...
(Sorry for my approximate English because I am French)
Here for you :
Greetings, Jean-Michel
OS : Windows 8.1 - 64bits
PC : ASUS N751 JK-T7118H – 17.3" IPS
µP : Intel Core i7-4710HQ - RAM : 16Go DDR3-1600
CG : NVIDIA Geforce GTX850 4Go dédiés
DD : 1To 7200t/mn - SSD : 128Go
FreeCAD :
64-bit Version : 0.16.6704 (Git)
Build type : Release
Branch : releases/FreeCAD-0-16
Hash : 0c449d7e8f9b2b1fb93e3f8d1865e2f59d7ed253
Python version : 2.7.8 - Qt version : 4.8.7 - Coin version : 4.0.0a - OCC version : 6.8.0.oce-0.17
Using strictly the data of your "sketch", I applied constraints on the drawing (for a sketch entirely constrained). Then, the extrusion proceeds normally without any bug ...
(Sorry for my approximate English because I am French)
Here for you :
Greetings, Jean-Michel
OS : Windows 8.1 - 64bits
PC : ASUS N751 JK-T7118H – 17.3" IPS
µP : Intel Core i7-4710HQ - RAM : 16Go DDR3-1600
CG : NVIDIA Geforce GTX850 4Go dédiés
DD : 1To 7200t/mn - SSD : 128Go
FreeCAD :
64-bit Version : 0.16.6704 (Git)
Build type : Release
Branch : releases/FreeCAD-0-16
Hash : 0c449d7e8f9b2b1fb93e3f8d1865e2f59d7ed253
Python version : 2.7.8 - Qt version : 4.8.7 - Coin version : 4.0.0a - OCC version : 6.8.0.oce-0.17