Dear,
I have 3D CAD models with point position, normal and curvature. I would like to simulate a deviation production for each CAD. Could CloudCompare achieve such task?
Regards
Deviation simulation from CAD model
Re: Deviation simulation from CAD model
Well, yes, as long as you can export your model as a triangular mesh surface (stl, obj, ply, fbx, etc.).
Daniel, CloudCompare admin
Re: Deviation simulation from CAD model
Yes, I can export my model as one of these format. I asked because I could not find how to do it. Could you please guide me?
Re: Deviation simulation from CAD model
So maybe what is unclear to me now is the 'simulate a deviation production'? Do you want to move all the vertices at once (which is possible), or rescale the model (which is also possible), or only some of the vertices (which is much harder with CloudCompare ;)?
Daniel, CloudCompare admin
Re: Deviation simulation from CAD model
I could move all the vertices at once. Which function CloudCompare used for this? How can I do this?
Re: Deviation simulation from CAD model
Juste use the 'Apply transformation' tool to your mesh. Or alternatively you can use the 'Edit > Translate/Rotate' tool to do it interactively (you can load the mesh twice, or load it once and clone it, and move only one version so as to compare the result).
See https://www.cloudcompare.org/doc/wiki/i ... sformation and https://www.cloudcompare.org/doc/wiki/i ... ation_Tool
See https://www.cloudcompare.org/doc/wiki/i ... sformation and https://www.cloudcompare.org/doc/wiki/i ... ation_Tool
Daniel, CloudCompare admin
Re: Deviation simulation from CAD model
I do not want to apply a geometrical transformation (translation, rotation...) but a geometrical deviation (which could occur during the reproduction of a CAD model in industry) which will be curve, noise... dependent. Could CloudCompare simulate such process?
Re: Deviation simulation from CAD model
Ah no, not directly. But you could use the PythonWrapper (to run Python code inside CC) or CloudCompy (to use CC's capabilities inside a python script). You just need to iterate over the vertices and apply some random noise or something else.
Daniel, CloudCompare admin
Re: Deviation simulation from CAD model
Ok, thank you for your help.