• 大小: 3.64MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-11-20
  • 语言: Python
  • 标签: Python  python  

资源简介

有的同学有疑问读取iges文件时候会提示没有extend,其实是因为Pythonocc官方未默认安装的extend文件夹等,下载该文件夹后放到occ同一文件夹即可

资源截图

代码片段和文件信息

import shutil
import fnmatch
import os
import sys

# Find all .bz2 binary packages below
# home/travis/miniconda/conda-bld/
binary_packages = []
if sys.platform.startswith(“linux“):
HOME = os.path.join(os.sep ‘home‘)  # /home
elif sys.platform.startswith(“darwin“):
HOME = os.path.join(os.sep ‘Users‘)  # /Users
path_to_recurse = os.path.join(HOME ‘travis‘ ‘miniconda‘ ‘conda-bld‘)
if not os.path.isdir(path_to_recurse):
    print(‘warning: %s not found‘ % path_to_recurse)
for root dirnames filenames in os.walk(path_to_recurse):
    for filename in fnmatch.filter(filenames ‘*.tar.bz2‘):
        binary_packages.append(os.path.join(root filename))

# move all binary packages up to .
for binary_package in binary_packages:
    print(“Moving %s up to .“ % binary_package)
    shutil.move(binary_package ‘.‘)

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-02-26 05:35  pythonocc-core-master\
     文件         691  2019-02-26 05:35  pythonocc-core-master\.gitignore
     文件           0  2019-02-26 05:35  pythonocc-core-master\.gitmodules
     文件        4575  2019-02-26 05:35  pythonocc-core-master\.travis.yml
     文件         325  2019-02-26 05:35  pythonocc-core-master\AUTHORS
     文件       22219  2019-02-26 05:35  pythonocc-core-master\CMakeLists.txt
     文件        2159  2019-02-26 05:35  pythonocc-core-master\INSTALL.md
     文件        7632  2019-02-26 05:35  pythonocc-core-master\LICENSE
     文件        6331  2019-02-26 05:35  pythonocc-core-master\NEWS
     文件        4673  2019-02-26 05:35  pythonocc-core-master\README.md
     文件        4710  2019-02-26 05:35  pythonocc-core-master\appveyor.yml
     目录           0  2019-02-26 05:35  pythonocc-core-master\ci\
     目录           0  2019-02-26 05:35  pythonocc-core-master\ci\appveyor\
     文件         299  2019-02-26 05:35  pythonocc-core-master\ci\appveyor\make-pythonocc-core-msvc.bat
     文件        1319  2019-02-26 05:35  pythonocc-core-master\ci\appveyor\make-pythonocc-core-msys.sh
     文件        2509  2019-02-26 05:35  pythonocc-core-master\ci\appveyor\obvci_appveyor_python_build_env.cmd
     目录           0  2019-02-26 05:35  pythonocc-core-master\ci\conda\
     文件         855  2019-02-26 05:35  pythonocc-core-master\ci\conda\bld.bat
     文件        1062  2019-02-26 05:35  pythonocc-core-master\ci\conda\build.sh
     文件         943  2019-02-26 05:35  pythonocc-core-master\ci\conda\meta.yaml
     文件          66  2019-02-26 05:35  pythonocc-core-master\ci\conda\run_test.bat
     文件          78  2019-02-26 05:35  pythonocc-core-master\ci\conda\run_test.sh
     文件         821  2019-02-26 05:35  pythonocc-core-master\ci\move-conda-package.py
     目录           0  2019-02-26 05:35  pythonocc-core-master\cmake\
     文件        5105  2019-02-26 05:35  pythonocc-core-master\cmake\OCE_Modules.cmake
     文件         356  2019-02-26 05:35  pythonocc-core-master\cmake\SMESH_Modules.cmake
     文件        2332  2019-02-26 05:35  pythonocc-core-master\cmake\__init__.py
     目录           0  2019-02-26 05:35  pythonocc-core-master\src\
     目录           0  2019-02-26 05:35  pythonocc-core-master\src\Addons\
     文件        1109  2019-02-26 05:35  pythonocc-core-master\src\Addons\Addons.h
     文件        5360  2019-02-26 05:35  pythonocc-core-master\src\Addons\Addons.i
............此处省略1033个文件信息

评论

共有 条评论