Add Cylinder function#1451
Add Cylinder function#1451rocky merged 1 commit intomathics:masterfrom TiagoCavalcante:add-cylinder-function
Conversation
9570fdd to
499f1bf
Compare
|
@rocky you think it's better we do that before we merge? Also, what do you think about the odd number of coordinates handling? |
|
Here is a different idea for how to approach this and at the same time go in the direction we want to go in.... Write a Then we should start a graphics-backend module. (In the past, it was erroneously called a pymathics module, but I realize this was wrong. This is a pure module of any kind that takes JSON with our simple graphics API and converts it into threejs. You could start out with |
Release 3.0.0 of Mathics core and Django are currently out. Look on PyPI or in "releases" of this project. |
I am still working on mathics omnibus though. |
@rocky I didn't find the information I need here.
Ok, I guess it should be in another PR, isn't it?
@rocky what are we going to use to get the package JavaScript files, Git submodules? |
I don't understand what information you need. All I was saying is that there are new releases: https://pypi.org/project/Mathics3/ (pypi) and https://github.com/mathics/Mathics/releases/tag/3.0.0 What
Yes, all of this is a new PR. New approach, new PR. And let's try to start simple to work up to cylinders which add this additional wrinkle. |
Sorry for the confusion. The information I was needing was what we should do when the user does something like: Cylinder[{{0,0,0}}] (* it should raise an error because the user didn't provide an end point, just the start one *)But you already answered here. |
rocky
left a comment
There was a problem hiding this comment.
LGTM - I wonder why we get the spurious black style wars.
Did you run black . ?
|
@rocky no, I'm doing that (I've forgotten). |
|
I suspect then it is the black version that is used. What does |
|
@rocky I don't have git pre-commit installed, I guess it's that. My black version is 21.6b0. Also, I already pushed a formatted version to this branch. |
|
Ok - Let's set everything to 21.6b0. I will add a check to the workflows too. |

Rebase of #1450.
Closes #1294.