Probably marking a post with [bug] prior to have a confirm that this is a "real wrong behaviour" it is not the best way to proceed.
It is very good that people will collaborate to make FC better.
Regards
Carlo D.
The revolution of a face gives an unxepected result
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: [bug] the revolution of a face gives an unxepected result
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- mwlandolsi
- Posts: 135
- Joined: Sun Jan 31, 2021 10:49 pm
Re: [bug] the revolution of a face gives an unxepected result
It is obvious that my posting here is because I want to participate to make FreeCAD better and better. I like FreeCAD and it is my favourite CAD software.
According to Yorik post related to bug submission:
Make sure that what you found is a bug. The definition of a bug is this: Something that is not working, but for which you are sure that it should be working (for example it worked in the past, or it is advertised on the FreeCAD documentation wiki). Otherwise, it might be simply that what you want is not implemented, or maybe you are doing something wrong
So I think that I didn't contradicted the definition. Such simple feature that can't give a good result, on my opinion, is a big that I hope to see it solved.
I really appreciate all the precious efforts and time that are making developpers.
Best regards.
Re: [bug] the revolution of a face gives an unxepected result
But you have been told that is a known problem and this is not related to FC.
Probably there are workarounds, or to be more precise a specific way to avoid the problem changing the order of the operations.
Regards
Carlo D.
Probably there are workarounds, or to be more precise a specific way to avoid the problem changing the order of the operations.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
-
- Posts: 124
- Joined: Wed Jun 19, 2019 7:44 pm
Re: The revolution of a face gives an unxepected result
Perhaps the problem is OpenCascade calculating surface normals for some types of geometry, in particular, at the point where the vertical edge of the cylinder and the toroidal edge of the torus are tangent. There was already a problem related to the calculation of normals from tangents: https://github.com/FreeCAD/FreeCAD/pull/5382
And maybe that's why it doesn't fail if the angle of revolution is a little different from 360°, or if the diameter of revolution is changed a little or if an offset is added to the cylinder.
A possible workaround is to generate another sketch for the revolution with a circumference equal to that of the cylinder, but with a rotation applied on the sketch attachment, so that the edge of the revolution does not coincide tangentially with the vertical edge of the cylinder.
And maybe that's why it doesn't fail if the angle of revolution is a little different from 360°, or if the diameter of revolution is changed a little or if an offset is added to the cylinder.
A possible workaround is to generate another sketch for the revolution with a circumference equal to that of the cylinder, but with a rotation applied on the sketch attachment, so that the edge of the revolution does not coincide tangentially with the vertical edge of the cylinder.
- Attachments
-
- test_revolution.FCStd
- (35.71 KiB) Downloaded 35 times