For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

replacing periodic NURBS curves and surfaces inside a shape

Mauro Mariotti's picture
Forums: 

How can I remove all periodicities inside a shape?

I suppose I have to do this:

for every face inside it {
get the surface;
if it is BSspline or Bezier AND periodic {
call SetU/VNotPeriodic;
}
}

The same for 3d and 2d (on surface) curves inside edges.

Problems:
1) Can I directly modify the surface and curves inside shapes?
Otherwise, how can I replace them with a new surface/curve (which has the same domain, parametrization and 3d "image" as the old one)?
2) Bezier entities can be periodic, but have no method to make them non-periodic.

Thanks everybody.
Mauro