1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0028567: Get rid of the unused DRAW commands based on old Boolean Operations (BRepAlgo)

1. Removal of the traces of the usage of old Boolean operations in BRepFeat package.

2. The DRAW commands *fubl* and *cubl* based on old Boolean operations have been removed.
The alternative for these commands are the commands *bfuseblend* and *bcutblend* respectively.
The last two commands are based on the modern Boolean operations.

3. The DRAW command *ksection* based on old Boolean operations has been removed.
The command *bsection* should be used as alternative.

Test cases which have been using the *ksection* command have been modified to use the *bsection* command.

4. The class QANewBRepNaming_BooleanOperation has been modified to use modern Boolean operations.

The class QANewBRepNaming_BooleanOperation has been removed as not used.
The class QANewBRepNaming_BooleanOperationFeat has been renamed to QANewBRepNaming_BooleanOperation as it has nothing to do with Feat algorithm.
This commit is contained in:
emv
2017-03-17 14:33:50 +03:00
committed by bugmaster
parent 8b956afe8e
commit e45b5ff7f2
34 changed files with 1713 additions and 2347 deletions

View File

@@ -6998,7 +6998,8 @@ Blending is the creation of a new shape by rounding edges to create a fillet.
* Use the **depouille** command for drafting.
* Use the **chamf** command to add a chamfer to an edge
* Use the **blend** command for simple blending.
* Use **fubl** for a fusion + blending operation.
* Use **bfuseblend** for a fusion + blending operation.
* Use **bcutblend** for a cut + blending operation.
* Use **buildevol**, **mkevol**, **updatevol** to realize varying radius blending.
@@ -7105,24 +7106,43 @@ blend b b 2 .
==- SetRegul 0s
~~~~~
@subsubsection occt_draw_7_8_4 fubl
@subsubsection occt_draw_7_8_4 bfuseblend
Syntax:
Syntax:
~~~~~
bfuseblend name shape1 shape2 radius [-d]
~~~~~
fubl name shape1 shape2 radius
~~~~~
Creates a boolean fusion of two shapes and then blends (fillets) the intersection edges using the given radius.
Creates a boolean fusion of two shapes and then blends (fillets) the intersection edges using the given radius.
Option [-d] enables the Debugging mode in which the error messages, if any, will be printed.
**Example:**
**Example:**
~~~~~
# fuse-blend two boxes
box b1 20 20 5
copy b1 b2
ttranslate b2 -10 10 3
fubl a b1 b2 1
# fuse-blend two boxes
box b1 20 20 5
copy b1 b2
ttranslate b2 -10 10 3
bfuseblend a b1 b2 1
~~~~~
@subsubsection occt_draw_7_8_4a bcutblend
Syntax:
~~~~~
bcutblend name shape1 shape2 radius [-d]
~~~~~
Creates a boolean cut of two shapes and then blends (fillets) the intersection edges using the given radius.
Option [-d] enables the Debugging mode in which the error messages, if any, will be printed.
**Example:**
~~~~~
# cut-blend two boxes
box b1 20 20 5
copy b1 b2
ttranslate b2 -10 10 3
bcutblend a b1 b2 1
~~~~~
@subsubsection occt_draw_7_8_5 mkevol, updatevol, buildevol