Commit 995d139
Free function api (#1469)
* Initial free functions
* Mypy fixes
* Add a mypy plugin that handles _get*
* More helpers and fixes
* black
* More hooks
* More ops and primitives
* Fill with constraints and cap
* Minimal docstrings and mypy fix
* Bool op operators for Shape
* Extra docstring
* Added spline primitive
* Added alternative constructors
* Update solid
* Add shape normalization
* Add text
* Added moved overload
* Another moved overload
* Convert location constructor to multimethod
* Additional Loc constructor
* Extra vertex constructor
* Additional cone overload
* Start with tests
* Fix compouund normalization
* Bool op tests
* Additional Location overload
* test moved and fix bool ops
* Different cap params
* More tests
* Test revolve and offset
* Test sweep and loft
* Add bool ops
* More tests
* Test text
* Improve coverage for utils
* More move[d] and Location overloads
* Start working on some docs
* Update index
* Doc fix
* Typo fix
* More move/moved overloads
* Small doc update
* Better Location coverage
* Fix angle units in Location
* More docs and a usability fix
* Cosmetics
* Mypy fix
* Remove dead code
* Coverage tweaks
* More docs'
* Box centering and box/plane arg order
* Docs cosmetics - nicer sweep
* Apply suggestions
Co-authored-by: Jeremy Wright <[email protected]>
* Add docstrings
* Doc tweaks
* Bump multimethod version
* Add occ_impl.shapes
* Mention free funcs in the primer
* Typos
* Typo
* Punctuation
---------
Co-authored-by: Jeremy Wright <[email protected]>1 parent 5522037 commit 995d139
File tree
13 files changed
+1942
-64
lines changed- cadquery/occ_impl
- conda
- doc
- mypy
- tests
13 files changed
+1942
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
682 | 685 | | |
683 | 686 | | |
684 | 687 | | |
685 | | - | |
| 688 | + | |
686 | 689 | | |
687 | 690 | | |
688 | 691 | | |
| |||
848 | 851 | | |
849 | 852 | | |
850 | 853 | | |
851 | | - | |
| 854 | + | |
852 | 855 | | |
853 | 856 | | |
854 | | - | |
855 | | - | |
| 857 | + | |
| 858 | + | |
856 | 859 | | |
857 | 860 | | |
858 | 861 | | |
| |||
942 | 945 | | |
943 | 946 | | |
944 | 947 | | |
945 | | - | |
946 | | - | |
947 | | - | |
948 | | - | |
949 | | - | |
950 | | - | |
| 948 | + | |
951 | 949 | | |
952 | 950 | | |
953 | | - | |
954 | 951 | | |
955 | | - | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
956 | 980 | | |
957 | 981 | | |
958 | | - | |
959 | 982 | | |
960 | | - | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
961 | 990 | | |
962 | 991 | | |
963 | | - | |
964 | 992 | | |
965 | | - | |
966 | | - | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
967 | 1001 | | |
968 | | - | |
969 | 1002 | | |
970 | | - | |
971 | | - | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
972 | 1007 | | |
973 | | - | |
974 | 1008 | | |
975 | | - | |
976 | | - | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
977 | 1013 | | |
978 | 1014 | | |
979 | | - | |
980 | 1015 | | |
981 | | - | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
982 | 1025 | | |
983 | 1026 | | |
984 | 1027 | | |
985 | | - | |
986 | | - | |
987 | | - | |
988 | | - | |
989 | | - | |
990 | | - | |
991 | | - | |
992 | | - | |
993 | | - | |
994 | | - | |
995 | | - | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
1008 | | - | |
1009 | | - | |
1010 | | - | |
1011 | | - | |
1012 | | - | |
1013 | | - | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
1014 | 1033 | | |
1015 | 1034 | | |
1016 | 1035 | | |
| |||
1035 | 1054 | | |
1036 | 1055 | | |
1037 | 1056 | | |
1038 | | - | |
| 1057 | + | |
1039 | 1058 | | |
1040 | | - | |
| 1059 | + | |
0 commit comments