Open vmaurin-pf opened 9 months ago
That seems to be a tessellation/rendering issue. AFAICT the model is valid. In general it is probably not a good idea to interpolate 1000 points and if circle is what you need, use circle - the whole point of NURBS is that you can represent circles.
Ok that makes sense. Thanks a lot for your answer!
Hi there,
Basically, I am generating a solid by sweeping a small circular cross section (5 mm) around a circle generated by a spline with 1000 points (1 m radius). The code generating this solid is attached below. Interestingly enough, when I import the generated step file in solidworks, the solid is loading fine. However, when loading this solid in the Cadquery GUI or in FreeCAD, only the right part of the solid seems to be generated (see picture 1 and 2).
I have narrowed down this error to the use of the spline. When generating the circle with a polyline, the step object seems to be loaded correctly in Solidworks, FreeCAD and in the Cadquery GUI. Do you have any idea of what is going on with the spline object? Am I using too many points? Or is there a tangency argument that I need to specify in the spline object as well?
Thanks for your help!
Code: