occt: master fbf3becf
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
bugmaster | master | 2015-05-19 17:03:11 | master 70fd50ec | |
Changeset | 0026261: Create a tool to remove tails from any wire A tool to remove tails from the wires of a shape was created. The tool is based on mechanism 'ShapeFix', is located in types 'ShapeFix_Wire' and 'ShapeAnalysis_Wire', is enabled through method 'ShapeFix_Wire::FixTailMode' and is initialized by methods 'ShapeFix_Wire::SetMaxTailAngle' and 'ShapeFix_Wire::SetMaxTailWidth' and is called through method 'ShapeFix_Wire::FixTails'. The status of any performing of the last method is accessible through method 'ShapeFix_Wire::StatusFixTails'. The tail angle is checked only at the tail start. Mechanism 'ShapeFix' was modified: - the tool is disabled by default; - algorithm 'Fix notched edges' is disabled then the tool is enabled; - the tool and the last algorithm work in turns then the tool works on the request. 'Draw' command 'fixshape' was extended by options '-maxtaila' and '-maxtailw' to test the tool. 'Draw' tests to test the tool were created. Algorithm 'fixshape' was changed in type 'ShapeProcess_OperLibrary' to - use new parameters named 'FixTailMode', 'MaxTailAngle' (in degrees) and 'MaxTailWidth' from the algorithm context; - apply the tool after the shape will be fully fixed if the tool was enabled. Place holders for the new parameters were created in the resource file of mechsnism 'STEPControl_Reader'. Test cases for issue CR26261 |
|||
mod - src/ShapeAnalysis/ShapeAnalysis_Wire.cdl | Diff File | |||
mod - src/ShapeAnalysis/ShapeAnalysis_Wire.cxx | Diff File | |||
mod - src/ShapeFix/ShapeFix_Face.cxx | Diff File | |||
mod - src/ShapeFix/ShapeFix_Wire.cdl | Diff File | |||
mod - src/ShapeFix/ShapeFix_Wire.cxx | Diff File | |||
mod - src/ShapeFix/ShapeFix_Wire.lxx | Diff File | |||
mod - src/ShapeProcess/ShapeProcess_OperLibrary.cxx | Diff File | |||
mod - src/SWDRAW/SWDRAW_ShapeFix.cxx | Diff File | |||
mod - src/XSTEPResource/STEP | Diff File | |||
mod - tests/heal/begin | Diff File | |||
mod - tests/heal/end | Diff File | |||
mod - tests/heal/grids.list | Diff File | |||
add - tests/heal/wire_tails_composed/A1 | Diff File | |||
add - tests/heal/wire_tails_composed/A10 | Diff File | |||
add - tests/heal/wire_tails_composed/A11 | Diff File | |||
add - tests/heal/wire_tails_composed/A12 | Diff File | |||
add - tests/heal/wire_tails_composed/A13 | Diff File | |||
add - tests/heal/wire_tails_composed/A14 | Diff File | |||
add - tests/heal/wire_tails_composed/A15 | Diff File | |||
add - tests/heal/wire_tails_composed/A16 | Diff File | |||
add - tests/heal/wire_tails_composed/A17 | Diff File | |||
add - tests/heal/wire_tails_composed/A18 | Diff File | |||
add - tests/heal/wire_tails_composed/A19 | Diff File | |||
add - tests/heal/wire_tails_composed/A2 | Diff File | |||
add - tests/heal/wire_tails_composed/A3 | Diff File | |||
add - tests/heal/wire_tails_composed/A4 | Diff File | |||
add - tests/heal/wire_tails_composed/A5 | Diff File | |||
add - tests/heal/wire_tails_composed/A6 | Diff File | |||
add - tests/heal/wire_tails_composed/A7 | Diff File | |||
add - tests/heal/wire_tails_composed/A8 | Diff File | |||
add - tests/heal/wire_tails_composed/A9 | Diff File | |||
add - tests/heal/wire_tails_real/A1 | Diff File | |||
add - tests/heal/wire_tails_real/A2 | Diff File | |||
add - tests/heal/wire_tails_real/A3 | Diff File | |||
add - tests/heal/wire_tails_real/A4 | Diff File | |||
add - tests/heal/wire_tails_real/A5 | Diff File | |||
add - tests/heal/wire_tails_real/A6 | Diff File | |||
add - tests/heal/wire_tails_real/A7 | Diff File |