File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
1212### Changed
1313
14+ * Changed ` brepgprop_VolumeProperties ` to ` brepgprop.VolumeProperties ` .
15+
1416### Removed
1517
1618
Original file line number Diff line number Diff line change 11from compas .geometry import Point
22from OCC .Core .BOPAlgo import BOPAlgo_Splitter
3- from OCC .Core .BRepGProp import brepgprop_VolumeProperties
3+ from OCC .Core .BRepGProp import brepgprop
44from OCC .Core .GProp import GProp_GProps
55from OCC .Core .TopoDS import TopoDS_Compound
66from OCC .Core .TopoDS import TopoDS_Iterator
@@ -72,6 +72,6 @@ def compute_shape_centreofmass(occ_shape: TopoDS_Shape) -> Point:
7272
7373 """
7474 props = GProp_GProps ()
75- brepgprop_VolumeProperties (occ_shape , props )
75+ brepgprop . VolumeProperties (occ_shape , props )
7676 pnt = props .CentreOfMass ()
7777 return point_to_compas (pnt )
You can’t perform that action at this time.
0 commit comments