Modification of shapes

Technical discussions
Post Reply
Leghorn
Posts: 1
Joined: Wed Apr 03, 2019 1:30 am

Modification of shapes

Post by Leghorn »

Hello
Is there a way to modify an existent shape, like offsetting a face of a box?
Thanks

nickz
Site Admin
Posts: 236
Joined: Fri Jul 26, 2013 3:58 am

Re: Modification of shapes

Post by nickz »

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

Post Reply