Search results

  1. V

    Getting information from step-file

    Elaborate such variant. def get_shape_info(path: Path) -> dict: name = path.name path = str(path) shp = read_step_file(path) t = TopologyExplorer(shp) prop = GProp_GProps() brepgprop_VolumeProperties(shp, prop) volume = prop.Mass()...
  2. V

    Getting information from step-file

    Hello all! I'm very newbie with pytonocc. Till yesterday I knew nothing about it. I need to process step files: get name of shape, volume, surface and so on. Trying to do like this: from OCC.Core.GProp import GProp_GProps from OCC.Core.BRepGProp import brepgprop_VolumeProperties from...
Top