mcneel / computeclient_py

compute_rhino3d python client for compute.rhino3d.com
MIT License
2 stars 5 forks source link

bug(brep): GetVolume has wrong URL #6

Open tsvilans opened 4 years ago

tsvilans commented 4 years ago

Line 2063 in Brep.py is url = "rhino/geometry/brep/getvolume-brep". Should be url = "rhino/geometry/brep/getvolume" instead.

sbaer commented 4 years ago

Both urls should work. The version with the additional -brep is preferred as it allows us to use specific overloads for a function.

Is the call to this endpoint not working?

pearswj commented 4 years ago

The -brep overload isn't listed in compute.rhino3d.com/sdk, but it should be there based on https://compute.rhino3d.com/rhino/geometry/brep/getvolume

tsvilans commented 4 years ago

I get a 404 when I try those methods, so it seems it can't find them.