Ah, I've been bitten by this one myself.
The call that make_face wraps has changed, and the resulting error msg is 
seriously misinforming.

BRepBuilderAPI_MakeFace (const Handle< Geom_Surface > &S, const Standard_Real 
UMin, const Standard_Real UMax, const Standard_Real VMin, const Standard_Real 
VMax, const Standard_Real TolDegen)
        Make a face from a Surface. Accepts tolerance value (TolDegen) 
for resolution of degenerated edges. 


My bet is that you've missed the tolerance argument.

I'm happy to take  suggestions on how to provide a better error message…
I guess doing so by filtering the arguments provided to make_face…

-jelle



On Jul 17, 2013, at 1:16 AM, Nina Schultz <nina.a.schu...@hotmail.de> wrote:

> Uwe Schlifkowitz <schlifkowitz@...> writes:
> 
>> 
>> Hello,
>> 
>> I want to make a surface from a point cloud.
>> 
>> A minimal example (adapted from the geomplate example) can be found at 
>> http://pastebin.com/dxu2kLSv
>> 
>> Basically I have an unordered list of points and want to create a face 
>> from this list. The points form a surface (original data is from a 
>> Nastran BDF file) and do not necessarily lie in the xy plane.
>> 
>> From what I read in the docs, this should be possible with the example 
>> code. However, this results in the following error:
>> 
>>  TypeError: in method 'new_BRepBuilderAPI_MakeFace', argument 1 of type 
>> 'gp_Torus const'
>> 
>> What/Why is this?
>> 
>> The full error message is at http://pastebin.com/kufpJYf5
>> 
>> Best regards,
>> Uwe
>> 
> 
> Hey Uwe, 
> hey all!
> 
> I am also interested in an answer, stuck at the same point. I yet have to
> fully learn C so I keep having trouble with the types of the inputs. But I
> thought the BRepBuilderAPI_MakeFace can take a gp_Torus? So why the error?
> Mmh.
> Best regards,
> Nina
> 
> 
> 
> _______________________________________________
> Pythonocc-users mailing list
> Pythonocc-users@gna.org
> https://mail.gna.org/listinfo/pythonocc-users

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to