Documente Academic
Documente Profesional
Documente Cultură
>>sld=kln_geom(geomlogo); col=-1;
>
>>sldleft=kln_book(book-00); col=0;
>
>>sldright=kln_book(kln-logo); col=9;
About GeomCurves software.
To create analytical curve defined by a set of step distance
spaced points. GeomCurves is LISP software.
version 1.0 Beta (2002/01/18)
Author: Eugeny Kalney
e-mail: kalneyed@hotmail.com
###
### GeomCurves Applications ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(spir-01); col=0;
>
>>sldright=kln_geom(gear-01); col=0;
GeomCurves Applications
GeomCurves software was developed for profiling purposes and for
patenting profiles, then analytical curves is applied
(some types of rotary machines, any gears, etc.)
Left picture: Scroll compressor geometry with spiral-shaped profiles.
(using K-Spir shareware package by Eugeny Kalney)
Right: Analytical curve is portion of general case of gear profile.
(using K-Prof software package by Eugeny Kalney)
###
### Golden section algorithm ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(gold-01); col=0;
>
>>sldright=kln_geom(gold-02); col=0;
Golden section algorithm
Statistic results:
Golden section division points 3 and 4 of interval 1_2
is faster then divide interval 1_2 by half using iteration to find
intersection point of curve and axis.
Left figure - current iteration;
Right figure - next iteration;
>>sldleft=kln_geom(ELLIP-01); col=0;
>
>>sldright=kln_geom(CURV_04); col=0;
GeomCurve\Ellipse option
Ellipse curve graph:
(setq
;;fi - parameter, a - parametric distance on axis X,
;;b - parametric distance on axis Y
x (* a (cos fi))
y (* a (sin fi))
);setq
###
### GeomCurve\Cissoid ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(CISS-01); col=0;
>
>>sldright=kln_geom(CURV_02); col=0;
GeomCurve\Cissoid option
Cissoid curve graph.
(setq
x fi ;;fi - parameter, a - parametric distance on axis X
y (sqrt (/ (* x x x) (- a x)) );sqrt
);setq
###
### GeomCurve\Parabola ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(PARAB-01); col=0;
>
>>sldright=kln_geom(CURV_02); col=0;
GeomCurve\Parabola option
Parabola curve graph.
(setq
y fi ;;fi - parameter, a - parametric distance on axis X
x (/ (* y y) 4. a)
);setq
###
### GeomCurve\Versier ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(VERS-01); col=0;
>
>>sldright=kln_geom(CURV_01); col=0;
GeomCurve\Versier option
Versier curve graph.
(setq
y fi ;;fi - parameter, a - parametric distance on axis X
x (/ (* a a a) (+ (* a a) (* y y)))
);setq
###
### GeomCurve\Catenary ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(CATEN-01); col=0;
>
>>sldright=kln_geom(CURV_03); col=0;
GeomCurve\Catenary option
Catenary curve graph.
(setq
x fi ;;fi - parameter, b - parametric distance on axis Y
m (/ x b)
y (* (/ b 2.) (+ (exp m) (exp (- 0. m))) )
);setq
###
### GeomCurve\Tractrix ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(TRAC-01); col=0;
>
>>sldright=kln_geom(CURV_03); col=0;
GeomCurve\Tractrix option
Tractrix curve graph.
(setq
y (- b fi) ;;fi - parameter, b - parametric distance on axis Y
m (sqrt (abs (- (* b b) (* y y))) );sqrt
x (* b (log (abs(/ (- b m) y))) )
x (+ x m)
);setq
###
### GeomCurve\Strophoid ###
(setq
;;fi - parameter, a - radius
ro (/ a fi)
x (* ro (cos fi))
y (* ro (sin fi))
);setq
###
### GeomSpiral\Wand ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(WAND-01); col=0;
>
>>sldright=kln_geom(SPIR_02); col=0;
GeomSpiral\Wand option
Wand-shaped spiral curve graph.
(setq
;;fi - parameter, a - radius
ro (/ a (sqrt fi))
x (* ro (cos fi))
y (* ro (sin fi))
);setq
###
### GeomSpiral\Logarithmic ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(LOGAR-01); col=0;
>
>>sldright=kln_geom(SPIR_02); col=0;
GeomSpiral\Logarithmic option
Logarithmic spiral graph.
(setq
;;fi - parameter, a - radius
ro (* a (exp fi))
x (* ro (cos fi))
y (* ro (sin fi))
);setq
###
### GeomSpiral\Fermi ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(FERMI-01); col=0;
>
>>sldright=kln_geom(SPIR_02); col=0;
GeomSpiral\Fermi option
Fermi spiral curve graph.
(setq
;;fi - parameter, a - radius
ro (* a (sqrt fi))
x (* ro (cos fi))
y (* ro (sin fi))
);setq
###
### COMMAND GeomTrigon ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_book(book-50); col=0;
>
>>sldright=kln_geom(TRIG_01); col=0;
GeomTrigon command to draw trigonometry function graphs
Options:
Geometry - show definition points of graph creating;
Cosine - cosine function graph;
Sine - sine function graph;
Tangent - tangent function graph;
CH - hyperbolic cosine function graph;
SH - hyperbolic sine function graph;
TH - hyperbolic tangent function graph;
###
### GeomTrigon\Geometry ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(TGeom-01); col=0;
>
>>sldright=kln_geom(TRIG_01); col=0;
GeomTrigon\Geometry option
Geometry - show definition points of graph creating;
1 - center (graph origin) point;
2 - radius point to define parametric distance;
Definition points can be predefined or specified
when the graph is creating.
###
### GeomTrigon\Sine ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
Options
Geometry - show definition points of graph creating;
Exponent - draw exponent function graph;
Power - draw power function graph;
###
### GeomMisc\Geometry ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(mGeom-01); col=0;
>
>>sldright=kln_geom(MISC_01); col=0;
GeomMisc\Geometry option
Misc Geometry - show definition points of graph creating;
1 - center (graph origin) point;
2 - horizontal parametric distance on axis X;
Definition points can be predefined or specified
when the graph is creating.
###
### GeomMisc\Exponent ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(Exp-01); col=0;
>
>>sldright=kln_geom(MISC_01); col=0;
GeomMisc\Exponent option
Exponent curve graph.
Logarithm graph is mirrored exponent curve using 45 degrees ray.
(setq
;;fi - parameter, a - parametric distance on axis X
x (* fi a)
y (* (exp fi) a)
);setq
###
### GeomMisc\Power ###
> GeomCurves Copyright (C) 2002 Eugeny Kalney
> AutoLISP Software tools for AutoCAD(TM)
> To create analytical curves and spirals
>>sld=kln_geom(logo); col=-1;
>
>>sldleft=kln_geom(Pow-01); col=0;
>
>>sldright=kln_geom(MISC_01); col=0;
GeomMisc\Power option