We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dear Developer and Users, i try to create skgeom Polyhedron as follows
import skgeom a = skgeom.Point3(4, 5, 4) b = skgeom.Point3(2, 1, 4) c = skgeom.Point3(3, 6, 4) d = skgeom.Point3(5, 2, 4) print('a:', a)
skgeom.Polyhedron3([a, b, c, d])
But I get the following error
Traceback (most recent call last): File "scikit_geometry.py", line 12, in poly = sg.Polyhedron_3([sg.Point3(0, 0, 0), TypeError: init(): incompatible constructor arguments. The following argument types are supported: 1. skgeom._skgeom.Polyhedron_3() 2. skgeom._skgeom.Polyhedron_3(arg0: skgeom._skgeom.Polyhedron_3)
Invoked with: [PointC3(4, 5, 4), PointC3(2, 1, 4), PointC3(3, 6, 4), PointC3(5, 2, 4)]
but if I call skgeom._skgeom.Polyhedron_3() then it creates empty polyhedron, though I do not able to view it
So may I ask, How to create polyhedron in skgeom?
thank you
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Dear Developer and Users,
i try to create skgeom Polyhedron as follows
import skgeom
a = skgeom.Point3(4, 5, 4)
b = skgeom.Point3(2, 1, 4)
c = skgeom.Point3(3, 6, 4)
d = skgeom.Point3(5, 2, 4)
print('a:', a)
skgeom.Polyhedron3([a, b, c, d])
But I get the following error
Traceback (most recent call last):
File "scikit_geometry.py", line 12, in
poly = sg.Polyhedron_3([sg.Point3(0, 0, 0),
TypeError: init(): incompatible constructor arguments. The following argument types are supported:
1. skgeom._skgeom.Polyhedron_3()
2. skgeom._skgeom.Polyhedron_3(arg0: skgeom._skgeom.Polyhedron_3)
Invoked with: [PointC3(4, 5, 4), PointC3(2, 1, 4), PointC3(3, 6, 4), PointC3(5, 2, 4)]
but if I call skgeom._skgeom.Polyhedron_3() then it creates empty polyhedron, though I do not able to view it
So may I ask, How to create polyhedron in skgeom?
thank you
The text was updated successfully, but these errors were encountered: