bugpyFormex - Bugs: bug #37842, mesh.connect does not connect...

 
 

bug #37842: mesh.connect does not connect properly when a list of coordinate

Submitted by:  francesco <francio>
Submitted on:  Fri 30 Nov 2012 02:28:17 PM UTC  
 
Category: PluginsSeverity: 3 - Normal
Item Group: Functionality errorStatus: Wont Fix
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.

 

Mon 03 Dec 2012 05:32:25 PM UTC, comment #1:

The behavior is indeed intentional: if you specify a list, then most likely the first object you want to connect will already be in that list. If you only specify a single item though, self is added to (the front of) the list, as it would be pointless otherwise. This last behavior is just a convenience so that the user does not have to construct a list when just connecting a Mesh to some topologically congruent other Mesh.

The second remark, about passing a list of Meshes instead of a list of Coords, is very pertinent and has been dealt with in revision 2568. I attached a revised example to demonstrate its use. Also, the docstring of the method has been adapted to more clearly state the input requirements.

(file #27028)

Benedict Verhegghe <bverheg>
Project AdministratorIn charge of this item.
Fri 30 Nov 2012 02:28:17 PM UTC, original submission:

I have a couple of concerns about the funcyion
if I use coordlist as a list of coordinates they are not connected to the mesh calling the method , but only among each other, I dont get if the behaviour is intentional (I put an example)
moreover why cannot we pass also a list of mesh?

francesco <francio>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #27028:  ConnectMesh2.py added by bverheg (2KiB - text/x-python - Revised example of francio, with use of a Mesh list.)
file #26998:  ConnectMesh.py added by francio (2KiB - text/x-python)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bverheg (Updated the item)
  • -unavailable- added by francio (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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 03 Dec 2012 05:32:25 PM UTCbverhegAttached File-=>Added ConnectMesh2.py, #27028
      StatusNone=>Wont Fix
      Assigned toNone=>bverheg
      Open/ClosedOpen=>Closed
    Fri 30 Nov 2012 02:28:17 PM UTCfrancioAttached File-=>Added ConnectMesh.py, #26998

    Back to the top


    Powered by Savane 3.1-cleanup1