[Help]Update Related Objects

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

[Help]Update Related Objects

Post by HakanSeven12 »

I have a point cloud object and I created mesh from them but I want to update mesh when I do changes on point cloud. Is there a way for it?
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: [Help]Update Related Objects

Post by HakanSeven12 »

Any idea?
User avatar
onekk
Veteran
Posts: 6206
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: [Help]Update Related Objects

Post by onekk »

I suspect there is not a method to do so.

When you create a mesh you will transform a bunch of vertex in a mesh, the only way i could think , is to reload the points, but this involve to delete the old mesh and regenerate a new mesh, it is a sort of conversion, once converted the object is not related anymore to the original one.

In fact the workflow is to create a Mesh populated it with points

Did you read this?

https://wiki.freecadweb.org/Mesh_Scripting


There is a way to do so, a little involute way, from the page linked, there is a method to export the mesh to a file and to reload it into a new mesh, maybe using this technique, you could export the imported mesh, and reload it on demand.

However, this warning is put on the page describing the Mesh Module:
However, in the field of engineering meshes present one big limitation: they are only made of surfaces, and have no mass information, so they don't behave as solids. This means that all solid-based operations, such as addition or subtraction, are difficult to perform on meshes.

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/
User avatar
HakanSeven12
Veteran
Posts: 1481
Joined: Wed Feb 06, 2019 10:30 pm

Re: [Help]Update Related Objects

Post by HakanSeven12 »

I see. Thanks for answer.
Post Reply