MantisBT - Community
View Issue Details
0022727Community[OCCT] OCCT:Modeling Algorithmspublic2011-09-20 12:002012-03-29 17:26
szy 
bugmaster 
normalminor 
closedfixed 
ALL
[OCCT] 6.5.1 
[OCCT] 6.5.3[OCCT] 6.5.3 
chl 934 D5
0022727: Fillet not produces a result
Post from the Forum - http://www.opencascade.org/org/forum/thread_21841/. [^]
"1. I have used fillet making function "BRepFilletAPI_MakeFillet" for some time now and it seems that there are many instances it fails to create a fillet. Can anybody comment on the reliability of this function?
For example, I have attached a Brep file here and am unable to put a fillet in the common edge. Is there something wrong with my shape or is it a shortcoming of the makefillet function that I can't make a fillet there? How can I fix this?"

 ==> Bounding box is : DX=0.0545873 mm, DY=0.05459825 mm, DZ=0.0299319 mm.

"2. The model dimensions are actually in meters. It has not been converted to proper units when writing out the brep file. Basically DX would be 54.5873 mm actually. I have tried fillets with radius of 1 mm to 5 mm without success."

Shape is attached - toFillet.brep.
If try to scale the shape relative to center of gravity (x1000) =>
algorithm fails.
restore toFillet.brep t
checkshape t

sprops t
tscale t 0.0507219 -0.0399294 -0.00324254 1000

explode t e
donly t t_3
fit

blend res t 2. t_3
tscale res 0.0507219 -0.0399294 -0.00324254 0.001
Modified entities:

ChFi3d_Builder_6.cxx

modified methods:

Standard_Boolean ChFi3d_Builder::CompleteData
(Handle(ChFiDS_SurfData)& Data,
 Blend_Function& Func,
 Handle(BRepBlend_Line)& lin,
 const Handle(Adaptor3d_HSurface)& S1,
 const Handle(Adaptor3d_HSurface)& S2,
 const TopAbs_Orientation Or1,
 const Standard_Boolean Gd1,
 const Standard_Boolean Gd2,
 const Standard_Boolean Gf1,
 const Standard_Boolean Gf2,
 const Standard_Boolean Reversed)

Now construction of BRepBlend_AppSurface is called in this method with two additional arguments: Degmax and Segmax.
No tags attached.
? toFillet.brep (816,718) 2011-09-20 12:00
https://tracker.dev.opencascade.org/
gz chl_934_D5.tar.gz (654) 2011-10-17 20:03
https://tracker.dev.opencascade.org/
Issue History
2011-09-20 12:00szyNew Issue
2011-09-20 12:00szyAssigned To => jgv
2011-09-20 12:00szyFile Added: toFillet.brep
2011-09-21 14:07szyTarget Version => 6.5.3
2011-09-22 16:51szyStatusnew => assigned
2011-10-10 14:58jgvSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=683#r683
2011-10-10 14:58jgvAdditional Information Updatedbug_revision_view_page.php?rev_id=685#r685
2011-10-10 15:02jgvNote Added: 0018341
2011-10-10 15:02jgvStatusassigned => resolved
2011-10-11 11:23jgvAssigned Tojgv => ifv
2011-10-14 14:34ifvNote Added: 0018362
2011-10-14 14:34ifvStatusresolved => reviewed
2011-10-14 14:35ifvAssigned Toifv => bugmaster
2011-10-17 20:03mkvFile Added: chl_934_D5.tar.gz
2011-10-17 20:04mkvNote Added: 0018368
2011-10-17 20:05mkvTest case number => chl 934 D5
2011-10-17 20:05mkvStatusreviewed => tested
2011-10-21 21:41bugmasterNote Added: 0018399
2011-10-21 21:41bugmasterStatustested => verified
2011-10-21 21:41bugmasterResolutionopen => fixed
2011-10-21 21:41bugmasterAssigned Tobugmaster => jgv
2011-10-21 21:42bugmasterNote Edited: 0018399bug_revision_view_page.php?bugnote_id=18399#r719
2011-11-22 11:42szyNote Edited: 0018368bug_revision_view_page.php?bugnote_id=18368#r865
2012-03-29 17:26bugmasterChangeset attached => occt master 822ffdff

Notes
(0018341)
jgv   
2011-10-10 15:02   
SVN branch http://svn/svn/occt/branches/22727 [^] is ready for reviewing
(0018362)
ifv   
2011-10-14 14:34   
Seems to be OK
(0018368)
mkv   
2011-10-17 20:04   
(edited on: 2011-11-22 11:42)
Dear BugMaster,
Workbench KAS:dev:mkv-22727-occt was created from SVN branch http://svn/svn/occt/branches/22727 [^]
(and mkv-22727-products from trunk) and compiled on Linux platform.

Test case for this bug is chl/934/D5. It is OK.

There are not regressions in mkv-22727-products regarding to KAS:dev:products-652-opt.

See results in /QADisk/occttests/results/KAS/dev/mkv-22727-products_17102011/lin
See reference results in /QADisk/occttests/results/KAS/dev/products-652-opt_23092011/lin
See test cases in /QADisk/occttests/tests/ED
N.B. In order to launch testing case you can make use the following instructions
http://doc/doku.php?id=occt:certification [^]

(0018399)
bugmaster   
2011-10-21 21:41   
(edited on: 2011-10-21 21:42)
Integrated into trunk of occt repository:

Date: 2011-10-21 21:40:30 +0400 (Fri, 21 Oct 2011)
New Revision: 9234

Modified:
   trunk/src/ChFi3d/ChFi3d_Builder_6.cxx
Log: