
Actually one of these days it could be extended to work on full (non-parametric) 3D objects too... It wouldn't be that hard, just note which vertex has moved, then recalculate all the faces with that new vertex position...
Hi Yorikyorik wrote:I am always lazy to touch that editmodethe code is pretty messy
Actually one of these days it could be extended to work on full (non-parametric) 3D objects too... It wouldn't be that hard, just note which vertex has moved, then recalculate all the faces with that new vertex position...
As an extension to the above, couldn't we look at the edges, list any that are "problematic" due to being a curve or any other reason, and refuse to edit only their associated vertices and thus still allow editing of straight sections of the shape even if it has curves that would not be effected by the vertex edit being performed?yorik wrote:in Draft Edit:
- check if the object has no curves (all edges are derived from Part Line):
- get the position of an original vertex and its new position
yorik wrote:possible extension:
- instead of eding the original shape, create a new parametric feature, that links to the original object and its vertex, and has a "delta" property. This would allow to elso edit parametric objects, and keep the edit.
Hm maybe, but I'm not sure we can recompose the solid with 100% precision in that case... That needs to be tested.jmaustpc wrote: As an extension to the above, couldn't we look at the edges, list any that are "problematic" due to being a curve or any other reason, and refuse to edit only their associated vertices and thus still allow editing of straight sections of the shape even if it has curves that would not be effected by the vertex edit being performed?