With occutils properly installed, the option "solve radius" in the drop down menu ("geom plate") returns:
AttributeError: 'RadiusConstrainedSurface' object has no attribute 'curr_radius'
And the option "build curve network" exits with a segmentation core failing to build the geom plate surface, when, upon importing IGES data, "At least one shape in IGES cannot be transfered".
In order for occutils_geomplate.py to properly execute "solve_radius", change the following:
- uncomment line 263 (reason for the AttributeError)
- change line 236 from
if isinstance(z, types.FloatType): to if isinstance(z, float):
- change line 243 from radius = radius_at_uv(self.plate, uv.X(), uv.Y()) to radius = radius_at_uv(self.plate, uv[0], uv[1])
There's an example core_geometry_geomplate.py in pythonocc-core-master/examples with what seems to be identical functions, does it mean that the whole pythonocc-utils module have been included into pythonocc-core?
With occutils properly installed, the option "solve radius" in the drop down menu ("geom plate") returns:
AttributeError: 'RadiusConstrainedSurface' object has no attribute 'curr_radius'And the option "build curve network" exits with a segmentation core failing to build the geom plate surface, when, upon importing IGES data, "At least one shape in IGES cannot be transfered".
In order for occutils_geomplate.py to properly execute "solve_radius", change the following:
if isinstance(z, types.FloatType):toif isinstance(z, float):There's an example core_geometry_geomplate.py in pythonocc-core-master/examples with what seems to be identical functions, does it mean that the whole pythonocc-utils module have been included into pythonocc-core?