Commit Graph

12 Commits

Author SHA1 Message Date
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
9319d1bb06 add tests for the mathematics module 2019-12-20 12:47:53 +01:00
23a3da9aaf rename src to pylib and in data.seq float rounding uses start as well 2019-10-15 13:10:11 +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
2503ee1f64 add test file for data module 2019-06-12 15:52:50 +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