Skip to content
This repository has been archived by the owner on Dec 23, 2020. It is now read-only.

StackOverflowException with Brep.CreatePlanarBreps(); #174

Closed
VahidYousefzadeh opened this issue Apr 1, 2017 · 3 comments
Closed

StackOverflowException with Brep.CreatePlanarBreps(); #174

VahidYousefzadeh opened this issue Apr 1, 2017 · 3 comments

Comments

@VahidYousefzadeh
Copy link

VahidYousefzadeh commented Apr 1, 2017

Hi,

I'm trying to use Brep.CreatePlanarBreps() to create Breps from a Curve. It seems that this method has a bug and cause an infinite loop resulting in StackOverflowException. I have tried it with any Curve and the result is the same.

I've downloaded the Rhino3dmIO version 5.1.30000.25 from the Nuget, although when I check in the Properties in VS version is shown as 5.1.30000.14 . I assume that the wrong version is being downloaded from Nuget?

https://www.nuget.org/packages/Rhino3dmIO.dll-AnyCPU-Windows/5.1.30000.25

Regards,
Vahid

@dalefugier
Copy link
Member

Hi Vahid,

Brep.CreatePlanarBreps() is not implemented in the standalone Rhino3dmIO toolkit, as the function requires Rhino.

If you are trying to use Brep.CreatePlanarBreps() within a RhinoCommon plug-in, then please move this conversation to our Discourse discussion form.

https://discourse.mcneel.com/c/rhino-developer

If you, then please also provide source code that is not working for you.

Thanks,

-- Dale

@sbaer
Copy link
Member

sbaer commented Apr 3, 2017

Brep.CreatePlanarBreps shouldn't even exist in Rhino3dmIo. @acormier may want to take a look at this

@VahidYousefzadeh
Copy link
Author

Hi Dale,

I was trying it in an standalone application. It was present in Rhino3dmIo library and I assumed that there is a bug in the code.

Thanks
Vahid

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants