A dynamic geometry program
Code: "tools_hzirkel.py". Programming language: Python DMelt Version 1. Last modified: 07/23/2017. License: Pro
https://datamelt.org/code/cache/tools_hzirkel_1396.py
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.


from jhplot import *
from carmetal.objects import PointObject,LineObject,CircleObject

c1=HZirkel(600,600)
C=c1.getConstruction()
c1.setAxis(1)

# draw a point
p1=PointObject(C,1.0,1.0)
c1.draw(p1)

# draw a line
p1=LineObject(C,PointObject(C,-3,3), PointObject(C,3.0,-3.0), )
c1.draw(p1)

# draw a circle
p1=CircleObject(C,PointObject(C,0,0), PointObject(C,3.0,-3.0), )
c1.draw(p1)


You see the box below because you did not login.