bugpyFormex - Bugs: bug #46634, projectOnSurface

 
 

bug #46634: projectOnSurface

Submitter:  Alessio <alessioi>
Submitted:  Tue 08 Dec 2015 02:27:06 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Functionality error Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 23 May 2016 09:32:31 AM UTC, comment #2: 

Fixed in ea5b0a62f

Benedict Verhegghe <bverheg>
Group administrator
Tue 08 Dec 2015 05:26:28 PM UTC, comment #1: 

The bug is caused by closestToPoint() which currently returns the index of the closest point instead of the point itself. I suggest to fix the line

cuts = [p.closestToPoint(xi) for p, xi in zip(cuts, x[cutid]) ]

as

cuts = [ p[p.closestToPoint(xi)] for p, xi in zip(cuts, x[cutid]) ]


Nic Debusschere <ndbussch>
Group Member
Tue 08 Dec 2015 02:27:06 PM UTC, original submission:  

Hi all,

I am trying to create a solid block on a surface but the projectOnSurface doesnt work properly. Could anyone take a look to it?

Thanks in advance


Alessio <alessioi>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bverheg (Posted a comment)
  • -email is unavailable- added by ndbussch (Posted a comment)
  • -email is unavailable- added by alessioi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-05-23 bverheg StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code