Hi,
I somewhat suspect that Part - create solid is increasing the tolerance of an object whenever it is needed in order to sew a shell together.
Is there any better way to do that?
Increasing the tolerance of various items (edges, vertices) is potentially harmful to an object - and I ran into that several times in the past.
Part - create solid, alternative that doesn't increase the tolerance?
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: Part - create solid, alternative that doesn't increase the tolerance?
There are a tool to increase tolerance:
https://wiki.freecadweb.org/OpenSCAD_In ... nceFeature
but I afraid we can't decrease it anymore.
https://wiki.freecadweb.org/OpenSCAD_In ... nceFeature
but I afraid we can't decrease it anymore.
Re: Part - create solid, alternative that doesn't increase the tolerance?
The question is how to keep the tolerance low instead of increasing it ... increasing it too much is calling for problems sooner or later.
There's the python method fixTolerance which someone can run, with checkgeometry violating edges / vertexes can be found.
I fixed the particular object myself by duplicating edges at the joints and removing the so called "generated" edge which was responsible for increasing the tolerance.
Maybe I should have a closer look at the drafts operations if there's an issue.
It's an opencascade topic.
There's the python method fixTolerance which someone can run, with checkgeometry violating edges / vertexes can be found.
I fixed the particular object myself by duplicating edges at the joints and removing the so called "generated" edge which was responsible for increasing the tolerance.
Maybe I should have a closer look at the drafts operations if there's an issue.
It's an opencascade topic.
Re: Part - create solid, alternative that doesn't increase the tolerance?
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/
Re: Part - create solid, alternative that doesn't increase the tolerance?
Are you suggesting that the tolerance is increased when it is not needed?
Seems like the alternative to this behavior is that the process fails. Is that what you want?
Your "fix" is a patch-up that only you can decide. It would be hard for a program to know what edges to duplicate without making a larger mess.
Gene
Re: Part - create solid, alternative that doesn't increase the tolerance?
Well this is something for opencascade, the best case would be to stay within a given tolerance and tie the vertexes together (copy the same values -- if wanted).
I isolated the part where the tolerance went high again and re-designed that part in a new project, the redesigned Part does not show any issues.
A feature that would be definitely nice would be to re-create an object and alter the coordinates according to some given parameters, the opencascade options within the draft workbench are good but still not enough for that.
A too high tolerance just leads to many problems, I start to think that my object went bad due to a bug within an older freecad version (the object has a long history).
I isolated the part where the tolerance went high again and re-designed that part in a new project, the redesigned Part does not show any issues.
A feature that would be definitely nice would be to re-create an object and alter the coordinates according to some given parameters, the opencascade options within the draft workbench are good but still not enough for that.
A too high tolerance just leads to many problems, I start to think that my object went bad due to a bug within an older freecad version (the object has a long history).
Re: Part - create solid, alternative that doesn't increase the tolerance?
This sounds completely unworkable. You are now requiring two tolerances settings, one for the "tolerance" and one for the emergency "tie the vertexes together".
Hint: Not all close vertices should be tied together.
The old computer adage GIGO would seem to apply here. Supply quality input and the problem does not arise.
Gene
Re: Part - create solid, alternative that doesn't increase the tolerance?
I agree, I have seen all the issues that can happen with tolerance issues.Hint: Not all close vertices should be tied together.
Visually the object looks okay - so in that case all the vertices which look like as if they're joining should be able to join by copying either vertex coordinate A, B or interpolate both of them.
I will have have a closer look at that within the next days and try to iterate through the object to see if something like that is possible.
Please correct me if my assumption is wrong, or if I'm missing something.