21 Commits

Author SHA1 Message Date
d0eabd3252 rename class TUI to App, change StdOutWrapper to a context manager and add idea of a main_loop() for the App class 2020-01-14 08:59:13 +01:00
033cb92dc4 add tui module and example, add contex manager cd and the method run_file in helper
import vendor modules only once during import

change text color for the method cad_wireframe in geometry_plot_pylab and add hide key
2020-01-13 10:25:33 +01:00
4fc4903dc2 change data, mathematics, function, geometry and geometry_plot_pylab. add data_step, data_step_std and helper. add an example and more documentation.
inside the data module rename read to read_columns add add new read function to read the whole file as string. add print_list function to print one element per line. add unique_list and unique_list_hashable to reduce the list into a unique list with same order. add find_last, str_between, str_to_list functions.

inside the mathematics module for vector add normalized creating a new object (normalize will change the object), isclose and iscloseto, change ang to round internal number. for matrix improve slicing and add transposed creating a new object (transpose will change object).

inside the function module add b_spline_basis, b_spline_curve_with_knots and b_spline_knots functions. add sample_hal_open and sample_half_open_seq. add circle and ellipse.

inside the geometry module change CS init from using lists to Directions and add new constructor CS.init_xzy using lists. rename Wireframe to Polyline. add classes B_spline_curve_with_knots, Ellipse, ArcCircle, ArcEllipse, ArcBSplineCurveWithKnots. add function sample_half_open to create a list of Points.

inside the geometry_plot_pylab module change the help text.

add step_and data data_step_std module to read a step file to list and draw the content.

add helper module with context manager and decorator timeit to meassure the time for a section or function.

add example for b_spline function.
2020-01-08 21:59:53 +01:00
4b42d7b508 add issequence function to data and plot functions and examples for geometry 2019-12-26 10:56:33 +01:00
95a289be75 move geometry to geometry2d and add new geometry module (3d) 2019-12-21 12:51:34 +01:00
0df813797d add vector class and matrix class 2019-12-20 12:29:56 +01:00
1de007a285 add mathematical function to string function for braille and block characters 2019-11-15 16:05:54 +01:00
92375a91e6 add transformation function 2019-11-04 15:40:58 +01:00
b7887db0ac add parametric equations for eptrochoid 2019-11-04 10:49:49 +01:00
254fa75498 add parametric equations for hypotrochoid 2019-11-01 14:25:53 +01:00
f8b9cddfa6 add mathematics module with lcm function 2019-10-30 16:02:18 +01:00
b566c643db add mathematical functions module
update docs and clean up code
2019-10-27 15:02:44 +01:00
494f0c4a60 update docs 2019-10-15 13:28:15 +02:00
3309613871 add sequence function seq 2019-10-14 09:21:21 +02:00
f47fa19cd2 add geometry functions to translate and rotate lists and define lines and cubic lines
add data function to fold a list and geometry_plot functions to plot lines and tests for the geometry functions
2019-08-28 11:39:50 +02:00
5b6d8b77ae add unique id ending function and get full id function
and write ascii data file function
2019-07-29 19:08:42 +02:00
4ec84c49ac add time module and move fixed-point iteration to own function 2019-06-01 15:51:35 +02:00
6aec598889 add function integration, tests and docs 2019-05-30 22:38:37 +02:00
d0873a36da add ode solver, tests and update docs 2019-05-26 21:54:58 +02:00
184e80269b update docs 2019-05-19 21:31:06 +02:00
019c8cb13a initial commit 2019-05-19 15:00:25 +02:00