2023-10-10 14:41:36 +0200 | received badge | ● Notable Question (source) |
2023-10-10 14:41:26 +0200 | received badge | ● Notable Question (source) |
2023-10-10 14:41:26 +0200 | received badge | ● Popular Question (source) |
2023-10-08 00:01:13 +0200 | received badge | ● Notable Question (source) |
2023-10-08 00:01:13 +0200 | received badge | ● Popular Question (source) |
2022-03-07 14:20:57 +0200 | received badge | ● Popular Question (source) |
2021-03-16 23:23:16 +0200 | received badge | ● Nice Question (source) |
2021-03-16 18:20:01 +0200 | asked a question | Oriented vertices of Polyhedron Oriented vertices of Polyhedron Hi, I wonder what is the most convenient way to extract the ordered/oriented vertices of |
2021-03-03 09:28:33 +0200 | received badge | ● Supporter (source) |
2021-02-25 10:46:48 +0200 | received badge | ● Self-Learner (source) |
2021-02-25 10:46:48 +0200 | received badge | ● Teacher (source) |
2021-02-24 18:07:13 +0200 | answered a question | Python kernel seriously slower than SageMath kernel Noted from John's comments, I can confirm the difference stems from the coercion and conversion stuff. Given With With I then ran This conversion is documented in the tutorial:
|
2021-02-24 10:40:38 +0200 | commented question | Python kernel seriously slower than SageMath kernel I think John made a good point. It's not fair to compare Python Jupyter notebook to [SageMath Jupyter notebook or SageNB]. For performance issue I would stick with a 'native' Sage runtime. But does this mean faster execution or better integration (i.e. import Sage as a library in a Python script) we can only pick one? |
2021-02-24 10:25:51 +0200 | commented question | Python kernel seriously slower than SageMath kernel Sorry for the confusion: I actually mean the comparison between the SageMath 9.1 kernel and the Python 3 kernel, both of which running in Jupyter. Question edited. |
2021-02-23 23:42:31 +0200 | commented question | Python kernel seriously slower than SageMath kernel My env: macOS 10.15.6 (RAM 16GB) SageMath 9.1 |
2021-02-23 23:40:29 +0200 | asked a question | Python kernel seriously slower than SageMath kernel Hi, I just found the Python kernel is seriously slower than the SageMath one. This was the snippet to reproduce: The timing for SageMath kernel is |
2021-02-22 15:16:57 +0200 | received badge | ● Student (source) |
2021-02-21 23:12:23 +0200 | commented answer | Union of touching polyhedra That I know. I just found out the union thing can be done with https://doc.cgal.org/latest/Nef_3/index.html (3D Boolean Operations on Nef Polyhedra). While Sage doesn't have it (seems the Nef representation does exist for lattice polytope though), CGAL has it implemented. Thanks again. |
2021-02-20 11:43:02 +0200 | received badge | ● Editor (source) |
2021-02-20 11:41:19 +0200 | commented answer | Union of touching polyhedra Thanks for the answer! The union in the example is intentionally not convex. What I'd like to have in the end is the outer surface of the union (doesn't have to be Sage's polyhedron which as I understand should be convex; it can be polygons3d or just the boundary representation of the mesh). I checked your slabbe package (PolyhedronPartition seems close to my needs) but couldn't find the desired function. |
2021-02-19 14:49:29 +0200 | asked a question | Union of touching polyhedra Hi, I'm trying to do a union operation over multiple touching polyhedra into one but couldn't find how to achieve this with Sage. For example, how can I merge these two cubes and dissolve the interior face (the touching face): The polyhedra can be assumed all convex, and each touching pair share a polygon interface. I found polyhedron.intersection(other), but no polyhedron.union(other) or so. Any workaround I can do? Thanks in advance. |