Commit a8d1864
Multimethod changes and type checking (#1969)
* Fix free func cone dispatching
* Expose multidispatch via utils
* Fix import
* Fix formatting
* Another black fix
* Use a custom multidispatch implementation
* Disable no impl error code
* Switch Plane to the new implementation
* Convert rest of geom to multidispatch
* Convert even more methods/funcs and fix issues
* Typo fix
* Coverge tweaks
* Enable typechecking of multimethods
* Fix shapes
* Fix sketch
* Fix Workplane
* Apply suggestions from code review
Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>
* Apply suggestion
* Black fix
---------
Co-authored-by: adam-urbanczyk <13981538+adam-urbanczyk@users.noreply.github.com>
Co-authored-by: Jeremy Wright <wrightjmf@gmail.com>1 parent 32c4d62 commit a8d1864
10 files changed
Lines changed: 260 additions & 129 deletions
File tree
- cadquery
- occ_impl
- exporters
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3657 | 3657 | | |
3658 | 3658 | | |
3659 | 3659 | | |
3660 | | - | |
| 3660 | + | |
3661 | 3661 | | |
3662 | 3662 | | |
3663 | 3663 | | |
| |||
3677 | 3677 | | |
3678 | 3678 | | |
3679 | 3679 | | |
3680 | | - | |
| 3680 | + | |
3681 | 3681 | | |
3682 | 3682 | | |
3683 | 3683 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | 29 | | |
32 | | - | |
| 30 | + | |
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
| |||
606 | 604 | | |
607 | 605 | | |
608 | 606 | | |
609 | | - | |
| 607 | + | |
610 | 608 | | |
611 | 609 | | |
612 | 610 | | |
| |||
1031 | 1029 | | |
1032 | 1030 | | |
1033 | 1031 | | |
1034 | | - | |
| 1032 | + | |
1035 | 1033 | | |
1036 | 1034 | | |
1037 | 1035 | | |
| |||
1040 | 1038 | | |
1041 | 1039 | | |
1042 | 1040 | | |
1043 | | - | |
| 1041 | + | |
1044 | 1042 | | |
1045 | 1043 | | |
1046 | 1044 | | |
| |||
1069 | 1067 | | |
1070 | 1068 | | |
1071 | 1069 | | |
1072 | | - | |
| 1070 | + | |
1073 | 1071 | | |
1074 | 1072 | | |
1075 | 1073 | | |
| |||
1079 | 1077 | | |
1080 | 1078 | | |
1081 | 1079 | | |
1082 | | - | |
| 1080 | + | |
1083 | 1081 | | |
1084 | 1082 | | |
1085 | 1083 | | |
| |||
1089 | 1087 | | |
1090 | 1088 | | |
1091 | 1089 | | |
1092 | | - | |
| 1090 | + | |
1093 | 1091 | | |
1094 | 1092 | | |
1095 | 1093 | | |
1096 | 1094 | | |
1097 | 1095 | | |
1098 | | - | |
| 1096 | + | |
1099 | 1097 | | |
1100 | 1098 | | |
1101 | 1099 | | |
1102 | 1100 | | |
1103 | 1101 | | |
1104 | | - | |
| 1102 | + | |
1105 | 1103 | | |
1106 | 1104 | | |
1107 | 1105 | | |
| |||
1112 | 1110 | | |
1113 | 1111 | | |
1114 | 1112 | | |
1115 | | - | |
| 1113 | + | |
1116 | 1114 | | |
1117 | 1115 | | |
1118 | 1116 | | |
| |||
0 commit comments