3D polygon implementation

56 views
Skip to first unread message

Jaime Resano Aisa

unread,
Nov 23, 2019, 4:41:38 PM11/23/19
to sympy
Hello. I am using sympy for a project and I need to use 3D polygons. I managed to use planes, but I think it could be a lot more useful having built-in 3D polygons.
I would like to contribute adding the functionality, but I am not a python or a sympy expert. How can I start?

mohammad...@yahoo.com

unread,
Nov 24, 2019, 12:26:14 PM11/24/19
to sy...@googlegroups.com

Hi
My name is Mohammad Najafi. I'm from Iran.
I have a question about this your email.
Can you explain this email for me?
I don't understand it very well.
On Sunday, November 24, 2019, 1:11:38 AM GMT+3:30, Jaime Resano Aisa <gemailpe...@gmail.com> wrote:


Hello. I am using sympy for a project and I need to use 3D polygons. I managed to use planes, but I think it could be a lot more useful having built-in 3D polygons.
I would like to contribute adding the functionality, but I am not a python or a sympy expert. How can I start?

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/69fc0a9f-2b43-44ce-9d33-b5f8a781b1c2%40googlegroups.com.

Jason Moore

unread,
Nov 24, 2019, 1:51:20 PM11/24/19
to sympy
Jamie and Mohammad,


Once you have gone through the tutorial, reviewed the documentation, and open issues you can then ask more questions about how to move forward.


Jaime Resano Aisa

unread,
Nov 24, 2019, 3:04:34 PM11/24/19
to sympy
Hello Mohammad, I am asking how can I start adding functionality to the polygon geometry entity because it currently supports only 2D polygons. 

El domingo, 24 de noviembre de 2019, 18:26:14 (UTC+1), mohammad...@yahoo.com escribió:

Hi
My name is Mohammad Najafi. I'm from Iran.
I have a question about this your email.
Can you explain this email for me?
I don't understand it very well.
On Sunday, November 24, 2019, 1:11:38 AM GMT+3:30, Jaime Resano Aisa <gemailpe...@gmail.com> wrote:


Hello. I am using sympy for a project and I need to use 3D polygons. I managed to use planes, but I think it could be a lot more useful having built-in 3D polygons.
I would like to contribute adding the functionality, but I am not a python or a sympy expert. How can I start?

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sy...@googlegroups.com.

Jason Moore

unread,
Nov 24, 2019, 3:17:51 PM11/24/19
to sympy
Jamie,

You'll need to study the 2D class here: https://github.com/sympy/sympy/blob/master/sympy/geometry/polygon.py and start thinking about what a class might look like for 3D. You may have to start by working on the core geometry classes so they can fully support 3D geometry: https://github.com/sympy/sympy/blob/master/sympy/geometry/entity.py.

Jason

To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/f4501133-754b-4659-9da7-1d85c5f90d7e%40googlegroups.com.

mohammad...@yahoo.com

unread,
Nov 25, 2019, 4:46:52 AM11/25/19
to sy...@googlegroups.com
Hi
I'm going to read it and answer you.
I hope we can work together.
Thanks a lot for your invitation.

Jaime Resano Aisa

unread,
Nov 26, 2019, 4:20:58 PM11/26/19
to sympy
How can I modify code from the polygon file and execute it locally for making the test process without creating pull requests? I only need to execute the tests of that class


El lunes, 25 de noviembre de 2019, 10:46:52 (UTC+1), mohammad...@yahoo.com escribió:
Hi
I'm going to read it and answer you.
I hope we can work together.
Thanks a lot for your invitation.
On Sunday, November 24, 2019, 10:21:19 PM GMT+3:30, Jason Moore <moore...@gmail.com> wrote:


Jamie and Mohammad,


Once you have gone through the tutorial, reviewed the documentation, and open issues you can then ask more questions about how to move forward.


On Sun, Nov 24, 2019 at 9:26 AM mohammad.najafi64 via sympy <sy...@googlegroups.com> wrote:

Hi
My name is Mohammad Najafi. I'm from Iran.
I have a question about this your email.
Can you explain this email for me?
I don't understand it very well.
On Sunday, November 24, 2019, 1:11:38 AM GMT+3:30, Jaime Resano Aisa <gemailpe...@gmail.com> wrote:


Hello. I am using sympy for a project and I need to use 3D polygons. I managed to use planes, but I think it could be a lot more useful having built-in 3D polygons.
I would like to contribute adding the functionality, but I am not a python or a sympy expert. How can I start?

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sy...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sy...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sy...@googlegroups.com.

Oscar Benjamin

unread,
Nov 26, 2019, 6:06:31 PM11/26/19
to sympy
On Tue, 26 Nov 2019 at 21:21, Jaime Resano Aisa
<gemailpe...@gmail.com> wrote:
>
> How can I modify code from the polygon file and execute it locally for making the test process without creating pull requests? I only need to execute the tests of that class

You can run the tests locally by running e.g

$ bin/test sympy/geometry

in the terminal from the SymPy root directory.

--
Oscar
Reply all
Reply to author
Forward
0 new messages