bugpyFormex - Bugs: bug #37167, splitByConnection did not work

 
 

bug #37167: splitByConnection did not work

Submitted by:  gianluca de santis <gianlucadesi>
Submitted on:  Wed 22 Aug 2012 01:17:23 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Benedict Verhegghe <bverheg>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 24 Aug 2012 09:43:28 AM UTC, comment #2:

I think this issue is adequately fixed in revision 2416.
Beware that the return value of largestByConnection has changed.

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
Wed 22 Aug 2012 01:48:52 PM UTC, comment #1:

No need to add the old version (we have subversion for keeping track). Also, I removed the firstprop argument in splitByConnection, and made it use partitonByConnection.
Finally, I think that splitByConnection should get a 'sortby' argument to get the whole list sorted by e.g. decreasing number of elements, decreasing area, etc...
Then largestByConnection should simply return the first element of the list (or even be removed altogether: the user can easily pick the first element of the sorted result.

I'm leaving theis bug open until this is implemented.

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
Wed 22 Aug 2012 01:17:23 PM UTC, original submission:

In mesh.py

splitByConnection(self,args,*kargs) did not work unless specifing frontinc=0.
I have commented the previous version 2392 and added a working version right after.

Also, I have added the option level in

largestByConnection(self, level=0)

to give the freedon to choose how the largest part has to be connected (by node/edge/face).

Please check and close this bug if agreed.

gianluca de santis <gianlucadesi>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bverheg (Posted a comment)
  • -unavailable- added by gianlucadesi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 24 Aug 2012 09:43:28 AM UTCbverhegStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Wed 22 Aug 2012 01:48:52 PM UTCbverhegStatusNone=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1