mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-13 14:27:08 +03:00
0030342: Modeling Data - Successively trimming surface in both directions lose the first trim
Added trim for U and V directions when trimming happens sequentially in these directions. Added possibility to set sense to trim command.
This commit is contained in:
@@ -2156,3 +2156,17 @@ Message files (with extension .msg) are now expected to be in UTF-8 encoding (un
|
||||
This allows using arbitrary Unicode symbols for localization of messages.
|
||||
|
||||
Existing message files containing 8-bit characters (previously interpreted as characters from Latin-1 code block) should be converted to UTF-8.
|
||||
|
||||
@section upgrade_occt760 Upgrade to OCCT 7.6.0
|
||||
|
||||
@subsection upgrade_760_trimming_surface Trimming surface
|
||||
|
||||
Geom_RectangularTrimmedSurface sequentially trimming in U and V directions already no longer loses the first trim.
|
||||
For example:
|
||||
~~~~~
|
||||
Handle(Geom_RectangularTrimmedSurface) ST = new Geom_RectangularTrimmedSurface (Sbase, u1, u2, Standard_True); // trim along U
|
||||
Handle(Geom_RectangularTrimmedSurface) ST1 = new Geom_RectangularTrimmedSurface (ST, v1, v2, Standard_False); // trim along V
|
||||
~~~~~
|
||||
gives different result.
|
||||
In current version ST1 - surface trimmed only along V, U trim is removed;
|
||||
After modification ST1 - surface trimmed along U and V, U trim is kept.
|
||||
|
@@ -4879,9 +4879,9 @@ bsplinesurf s \
|
||||
|
||||
Syntax:
|
||||
~~~~~
|
||||
trim newname name [u1 u2 [v1 v2]]
|
||||
trimu newname name
|
||||
trimv newname name
|
||||
trim newname name [u1 u2 [v1 v2] [usense vsense]]
|
||||
trimu newname name u1 u2 [usense]
|
||||
trimv newname name v1 v2 [vsense]
|
||||
~~~~~
|
||||
|
||||
The **trim** commands create trimmed curves or trimmed surfaces. Note that trimmed curves and surfaces are classes of the *Geom* package.
|
||||
|
Reference in New Issue
Block a user