Hi all,
I'm New using in sympy I would like to use sympy.geometry for my
pythoncad Application.
There are any way to find a tangent line of a circle or ellipse given
as constraint an external point ?.. somthing like
Line=TangentLine(Circle,Point) where point is an external entity of
the circle ?
ike
On Fri, May 28, 2010 at 7:13 AM, Matteo Boscolo
wrote:
Hi all,
I'm New using in sympy I would like to use sympy.geometry for my
pythoncad Application.
There are any way to find a tangent line of a circle or ellipse given
as constraint an external point ?.. somthing like
Line=TangentLin
Hi,
Working with Ellipse.is_tangent I found an issue at elif isinstance(o,
Polygon):
The Polygon class is not included in the ellipse module so we get the error.
I patch the code in the following way..
Regards,
Matteo
def is_tangent(self, o):
"""Returns True if o is tangent to the e
ginal Message-
From: sympy@googlegroups.com [mailto:sy...@googlegroups.com] On Behalf Of
Vinzent Steinberg
Sent: 31 May 2010 00:01
To: sympy
Subject: [sympy] Re: Pythoncad & sympy.geometry
On 29 Mai, 08:13, "Matteo Boscolo"
wrote:
> Hi Michael,>If you mean construct a line
Thanks..
It's solve the problem
Regards,
Matteo
-Original Message-
From: sympy@googlegroups.com [mailto:sy...@googlegroups.com] On Behalf Of
smichr
Sent: 01 June 2010 14:05
To: sympy
Subject: [sympy] Re: Error in the intersection
I would recommend using Rationals rather than Reals. It's
09 pm, Ondrej Certik wrote:
> On Mon, May 31, 2010 at 1:04 AM, Matteo Boscolo
>
> wrote:
> > Hi,
> > Working with Ellipse.is_tangent I found an issue at elif isinstance(o,
> > Polygon):
>
> > The Polygon class is not included in the ellipse module so we get the
err
Hi All,
I'm trying to use sympy for units conversion..
I use this code to convert from ft to mm..
cad_leng=units.Unit('cad_leng','mm')
converter={units.m: cad_leng*Rational(1000)}
cad_ft=units.ft
cad_mm=cad_ft.subs(converter)
mm_value=float(str(cad_mm.evalf()).split('*')[0])
print mm_
>just out of curiosity - how did you get all those trailing zeros ?
>From the python schell ..
May be the printed velue was
304.80001
I just make a mistake in copy paste .. ;-)
Regards,
Matteo
-Original Message-
From: sympy@googlegroups.com [mailto:sy...@googlegroups.com] On Beh
hi all,
Do not forget PythonCAD ..
http://sourceforge.net/projects/pythoncad/
we are using sympy for all geometrical operation ..
last yeard I made an youtube video that show how to render sympy data to
PythonCAD and how to get sympy data from PythonCAD
http://www.youtube.com/watch?v=FnxRDj4qy
Hi all :
I got this two geometrical entity:
Ellipse: Center Point : (-22.1368,132.821) , horizontalRadius
Axi=641.625758588, Mino Axi=561.422256982
Arc\Circle: Center Point : (-370.288,132.821) , Radius 256.867341765 ,
StartAngle=0, EndAngle=6.28318530718
if I intersect this two entity I got t
10 matches
Mail list logo