koordinatensystem.py
koordinatensystem.py — text/python-source, 1 KB
Dateiinhalt
# -*- coding: utf-8 -*- from visual import * # Import der 3D-Module #scene.forward = (-0.5,-0.5,-1) #scene.range = 14 # Koordinatensystem x_achse = arrow(axis=(10,0,0), shaftwidth=0.005, color=color.green, opacity=1) x_label = label(text="X-Achse",pos=(10,1,0)) y_achse = arrow(axis=(0,0,10), shaftwidth=0.005, color=color.red, opacity=1) y_label = label(text="Y-Achse",pos=(0,11,0)) z_achse = arrow(axis=(0,10,0), shaftwidth=0.005, color=color.blue, opacity=1) z_label = label(text="Z-Achse",pos=(0,1,10))