bspy 4.4__py3-none-any.whl → 5.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bspy/_spline_domain.py +36 -5
- bspy/_spline_evaluation.py +1 -1
- bspy/_spline_fitting.py +6 -2
- bspy/_spline_intersection.py +85 -84
- bspy/_spline_milling.py +111 -56
- bspy/hyperplane.py +35 -35
- bspy/manifold.py +40 -40
- bspy/solid.py +162 -159
- bspy/spline.py +49 -30
- bspy/splineOpenGLFrame.py +7 -7
- bspy/viewer.py +3 -3
- {bspy-4.4.dist-info → bspy-5.0.0.dist-info}/METADATA +8 -2
- bspy-5.0.0.dist-info/RECORD +19 -0
- {bspy-4.4.dist-info → bspy-5.0.0.dist-info}/WHEEL +1 -1
- bspy-4.4.dist-info/RECORD +0 -19
- {bspy-4.4.dist-info → bspy-5.0.0.dist-info}/licenses/LICENSE +0 -0
- {bspy-4.4.dist-info → bspy-5.0.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: bspy
|
|
3
|
-
Version:
|
|
3
|
+
Version: 5.0.0
|
|
4
4
|
Summary: Library for manipulating and rendering non-uniform B-splines
|
|
5
5
|
Home-page: http://github.com/ericbrec/BSpy
|
|
6
6
|
Author: Eric Brechner
|
|
@@ -50,7 +50,7 @@ The [Hyperplane](https://ericbrec.github.io/BSpy/bspy/hyperplane.html) class has
|
|
|
50
50
|
|
|
51
51
|
The [Manifold](https://ericbrec.github.io/BSpy/bspy/manifold.html) abstract base class for [Hyperplane](https://ericbrec.github.io/BSpy/bspy/hyperplane.html) and [Spline](https://ericbrec.github.io/BSpy/bspy/spline.html).
|
|
52
52
|
|
|
53
|
-
The [Solid](https://ericbrec.github.io/BSpy/bspy/solid.html) class has methods to construct n-dimensional solids from trimmed [Manifold](https://ericbrec.github.io/BSpy/bspy/manifold.html) boundaries. Each solid consists of a list of boundaries and a Boolean value that indicates if the solid contains infinity. Each [Boundary](https://ericbrec.github.io/BSpy/bspy/solid.html) consists of a manifold (currently a [Hyperplane](https://ericbrec.github.io/BSpy/bspy/hyperplane.html) or [Spline](https://ericbrec.github.io/BSpy/bspy/spline.html)) and a domain solid that trims the manifold. Solids have methods to form the intersection, union, difference, and complement of solids. There are methods to compute point containment, winding numbers, surface integrals, and volume integrals. There are also methods to translate, transform, and
|
|
53
|
+
The [Solid](https://ericbrec.github.io/BSpy/bspy/solid.html) class has methods to construct n-dimensional solids from trimmed [Manifold](https://ericbrec.github.io/BSpy/bspy/manifold.html) boundaries. Each solid consists of a list of boundaries and a Boolean value that indicates if the solid contains infinity. Each [Boundary](https://ericbrec.github.io/BSpy/bspy/solid.html) consists of a manifold (currently a [Hyperplane](https://ericbrec.github.io/BSpy/bspy/hyperplane.html) or [Spline](https://ericbrec.github.io/BSpy/bspy/spline.html)) and a domain solid that trims the manifold. Solids have methods to form the intersection, union, difference, and complement of solids. There are methods to compute point containment, winding numbers, surface integrals, and volume integrals. There are also methods to translate, transform, and compute cutouts of solids. Solids can be saved and loaded in json format.
|
|
54
54
|
|
|
55
55
|
The [SplineOpenGLFrame](https://ericbrec.github.io/BSpy/bspy/splineOpenGLFrame.html) class is an
|
|
56
56
|
[OpenGLFrame](https://pypi.org/project/pyopengltk/) with custom shaders to render spline curves, surfaces, and solids. Spline surfaces with more
|
|
@@ -86,3 +86,9 @@ a set of examples, including a jupyter notebook, can be found [here](https://git
|
|
|
86
86
|
* Moved DrawableSpine methods for adjusting spline appearance to Viewer (see documentation for details)
|
|
87
87
|
* Spline.bspline_values changed arguments (see documentation for details)
|
|
88
88
|
* Spline.intersect changed return values (see documentation for details)
|
|
89
|
+
|
|
90
|
+
### Release 5.0 breaking changes
|
|
91
|
+
* Renamed Boundary.domain member to Boundary.trim
|
|
92
|
+
* Renamed Solid.slice method to Solid.compute_cutout
|
|
93
|
+
* Renamed Manifold.complete_slice method to Manifold.complete_cutout (also applies to Hyperplane and Spline classes)
|
|
94
|
+
* Renamed Manifold.flip_normal method to Manifold.negate_normal (also applies to Hyperplane and Spline classes)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
bspy/__init__.py,sha256=LnJx7iHah7A4vud9y64LR61rBtYnuhV4Wno9O2IEK1I,1499
|
|
2
|
+
bspy/_spline_domain.py,sha256=NW9BJell382gbogq4lRlcDcaTCy3UZEd_9RrDM_hEYg,34466
|
|
3
|
+
bspy/_spline_evaluation.py,sha256=Ai2PWpPNNpEcL8DufyFAebnuhnGS5p5sPpJxDW6JVpA,9658
|
|
4
|
+
bspy/_spline_fitting.py,sha256=Rd_75bCNrd4fpKOcA0ujPD2hS-pvUQewaZqmDtld5QM,52205
|
|
5
|
+
bspy/_spline_intersection.py,sha256=YTiSgBAYoSgMouDrJBc3PN_6v5LSHcatGCjO9KsS-mc,67910
|
|
6
|
+
bspy/_spline_milling.py,sha256=TCcHK4H2J7e2sg6hOfjqJpc66HrRX9RTY5uyBqe2-dA,13899
|
|
7
|
+
bspy/_spline_operations.py,sha256=O2AsfJb0PvaNbM2Rp3_AbNXKo8X6X6RJDwDclqOwT7o,43564
|
|
8
|
+
bspy/hyperplane.py,sha256=FTAdreDni768Vnfj5AcAn6ynrax-UvWYHcAeLhCMFwM,24988
|
|
9
|
+
bspy/manifold.py,sha256=r5EiRb4W8FExDcp6IKrNdNSvneqW6GcSHgxC4CrYdPk,14713
|
|
10
|
+
bspy/solid.py,sha256=oeb2tnc3KngIetikvDas1g0qoAKelo53Lg6iGX4XVGA,37308
|
|
11
|
+
bspy/spline.py,sha256=hMj5dz4EDXyn0NaN5UIaPtRAy7dH83gEfKHAPmbh214,106897
|
|
12
|
+
bspy/splineOpenGLFrame.py,sha256=yOtrtf2stua5pDcjZuaq6_7WcjCDT_l1QSsJVVZcVLg,96244
|
|
13
|
+
bspy/spline_block.py,sha256=O8MzfBEygVdAx57DoJMwzjkw349BQqht7_RVu8MO0Fg,20127
|
|
14
|
+
bspy/viewer.py,sha256=Ml2whVmLGp7H2iB408HTxVSNAuZXFtvmvaJXV-wYzeY,34343
|
|
15
|
+
bspy-5.0.0.dist-info/licenses/LICENSE,sha256=nLfJULN68Jw6GfCJp4xeMksGuRdyWNdgEsZGjw2twig,1091
|
|
16
|
+
bspy-5.0.0.dist-info/METADATA,sha256=LZbi5r_psCkuwNJ1lG4tr_hB2lOpjpSXRR9vrkzKrVk,7525
|
|
17
|
+
bspy-5.0.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
18
|
+
bspy-5.0.0.dist-info/top_level.txt,sha256=fotZnJn6aCwgUbBEV3hslIko7Nw-eqtHLq2eyJLlFsY,5
|
|
19
|
+
bspy-5.0.0.dist-info/RECORD,,
|
bspy-4.4.dist-info/RECORD
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
bspy/__init__.py,sha256=LnJx7iHah7A4vud9y64LR61rBtYnuhV4Wno9O2IEK1I,1499
|
|
2
|
-
bspy/_spline_domain.py,sha256=pAoauqMJrY80k6bhnMJKnPWY_p_zx1k4daP3krsAN8M,33303
|
|
3
|
-
bspy/_spline_evaluation.py,sha256=aQ9w4N5MQDol7_OQ6HLljMtCbGVuS5iCAlM7Sg2q8B4,9656
|
|
4
|
-
bspy/_spline_fitting.py,sha256=TH2fwHu_wsRSvFIXngfWxOAHKex0ilP0Xi8ThXYQ0dI,52002
|
|
5
|
-
bspy/_spline_intersection.py,sha256=CErinlW8co_kaamM9Wb1TFrbB6EmjlUh1exYlcXkrpQ,67349
|
|
6
|
-
bspy/_spline_milling.py,sha256=OzhYi3eNPcL0INk7k_ryNwlt8SUniWL10ULxgE_nKHI,11435
|
|
7
|
-
bspy/_spline_operations.py,sha256=O2AsfJb0PvaNbM2Rp3_AbNXKo8X6X6RJDwDclqOwT7o,43564
|
|
8
|
-
bspy/hyperplane.py,sha256=gnVZ7rjisGpzHfm1moItyzq8mO7HguzzpY4dpFwyDiw,24840
|
|
9
|
-
bspy/manifold.py,sha256=vjgyz0M1mkgenUnTIbX7NFg1fUCgXtStr6ofF4oSLgg,14470
|
|
10
|
-
bspy/solid.py,sha256=tsO7fcGj-x3SWH2fBSkeu-Hx5vX0KMFOt1baH-OYNgQ,36995
|
|
11
|
-
bspy/spline.py,sha256=vSscV6FRXjFp1FnhS1IoyFiy2pRFgr8-kZyKXw8weJU,105842
|
|
12
|
-
bspy/splineOpenGLFrame.py,sha256=N8elVJrt24_utOSoTaM5Ue5De2M4DxrquyB7o2lLLD4,96256
|
|
13
|
-
bspy/spline_block.py,sha256=O8MzfBEygVdAx57DoJMwzjkw349BQqht7_RVu8MO0Fg,20127
|
|
14
|
-
bspy/viewer.py,sha256=_iQCyEpsBFPBLLuHq7tc43IPVvlcqxdp0Hig0uvpQns,34349
|
|
15
|
-
bspy-4.4.dist-info/licenses/LICENSE,sha256=nLfJULN68Jw6GfCJp4xeMksGuRdyWNdgEsZGjw2twig,1091
|
|
16
|
-
bspy-4.4.dist-info/METADATA,sha256=8Y8G0jkCCuFdmJVb9CZgPJ5kuwaQivu89loQ6kyqlbc,7138
|
|
17
|
-
bspy-4.4.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
|
18
|
-
bspy-4.4.dist-info/top_level.txt,sha256=fotZnJn6aCwgUbBEV3hslIko7Nw-eqtHLq2eyJLlFsY,5
|
|
19
|
-
bspy-4.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|