Hello
Is there a way to modify an existent shape, like offsetting a face of a box?
Thanks
Modification of shapes
Re: Modification of shapes
Hello
It is easy for native KernelCAD objects (3DS/SOR/Pipes). See the MiniCAD sample for an example. It is about changing a certain number of parameters
You are probably asking about BSpline BRep shapes. It is trickier there, if you do it literally. This is because a shape has edges and vertices which have to be a valid intersection of the faces, so there are many redundant attributes to keep in sync.
The underlying OpenCascade component is geared practically only for creation, not editing. So it is nearly the same on DGK level.
I do not believe it is a limitation. This is a programmable kernel, not a CAD system. So to modify a solid you just re-call the same procedure with different parameters. You could add some mapping or add a wrapping structure to present it as the same identity to your application/users
We have in mind some niceties to look at in v6.2, most likely. There is also IStdShapeRef_DG already which allows redefining already created objects
It is easy for native KernelCAD objects (3DS/SOR/Pipes). See the MiniCAD sample for an example. It is about changing a certain number of parameters
You are probably asking about BSpline BRep shapes. It is trickier there, if you do it literally. This is because a shape has edges and vertices which have to be a valid intersection of the faces, so there are many redundant attributes to keep in sync.
The underlying OpenCascade component is geared practically only for creation, not editing. So it is nearly the same on DGK level.
I do not believe it is a limitation. This is a programmable kernel, not a CAD system. So to modify a solid you just re-call the same procedure with different parameters. You could add some mapping or add a wrapping structure to present it as the same identity to your application/users
We have in mind some niceties to look at in v6.2, most likely. There is also IStdShapeRef_DG already which allows redefining already created objects