This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Python 2, class | |
# Author: J.Hadida (jhadida87 at ggooglemail) | |
class ColorPrinter: | |
""" | |
Usage: | |
cprint = ColorPrinter() | |
cprint.cfg('c','m','bux').out('Hello','World!') | |
cprint.rst().out('Bye now...') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Resavanje IKP | |
function [q1,q2,q3] = IKP(x,y,z) | |
L1 = 62.2; | |
L2 = 173.6; | |
R = 209.25/2; | |
r = 128.74/2; | |
gama1 = 0; | |
gama2 = 2/3*pi; | |
gama3 = 4/3*pi; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%Resavanje DKP | |
function X = DKP(q1,q2,q3) | |
L1 = 62.2; | |
L2 = 173.6; | |
R = 209.25/2; | |
r = 128.74/2; | |
gama1 = 0; | |
gama2 = 2/3*pi; | |
gama3 = 4/3*pi; |