• 大小: 6.49MB
    文件类型: .zip
    金币: 2
    下载: 0 次
    发布日期: 2024-02-03
  • 语言: Python
  • 标签: Python界面  

资源简介

3D打印常用软件Cura的源代码,Python语言。 经典的Python界面应用软件。

资源截图

代码片段和文件信息

# coding=utf-8
import sys
import os

if sys.platform.startswith(‘darwin‘):
    from setuptools import setup

    version = os.environ[‘BUILD_NAME‘]

    APP = [‘Cura/cura.py‘]
    DATA_FILES = [‘Cura/LICENSE‘ ‘resources/images‘ ‘resources/meshes‘ ‘resources/example‘ ‘resources/firmware‘ ‘resources/locale‘ ‘resources/machine_profiles‘ ‘plugins‘]
    PLIST = {
        u‘CFBundleName‘: u‘Cura‘
        u‘CFBundleShortVersionString‘: version
        u‘CFBundleVersion‘: version
        u‘CFBundleIdentifier‘: u‘com.ultimaker.Cura-‘+version
        u‘LSMinimumSystemVersion‘: u‘10.6‘
        u‘LSApplicationCategoryType‘: u‘public.app-category.graphics-design‘
        u‘CFBundleDocumentTypes‘: [
            {
                u‘CFBundleTypeRole‘: u‘Viewer‘
                u‘LSItemContentTypes‘: [u‘com.pleasantsoftware.uti.stl‘]
                u‘LSHandlerRank‘: u‘Owner‘
                }
            {
                u‘CFBundleTypeRole‘: u‘Viewer‘
                u‘LSItemContentTypes‘: [u‘org.khronos.collada.digital-asset-exchange‘]
                u‘LSHandlerRank‘: u‘Owner‘
            }
            {
                u‘CFBundleTypeName‘: u‘Wavefront 3D object‘
                u‘CFBundleTypeExtensions‘: [u‘obj‘]
                u‘CFBundleTypeMIMETypes‘: [u‘application/obj-3d‘]
                u‘CFBundleTypeRole‘: u‘Viewer‘
                u‘LSHandlerRank‘: u‘Owner‘
            }
        ]
        u‘UTImportedTypeDeclarations‘: [
            {
                u‘UTTypeIdentifier‘: u‘com.pleasantsoftware.uti.stl‘
                u‘UTTypeConformsTo‘: [u‘public.data‘]
                u‘UTTypeDescription‘: u‘Stereo Lithography 3D object‘
                u‘UTTypeReferenceURL‘: u‘http://en.wikipedia.org/wiki/STL_(file_format)‘
                u‘UTTypeTagSpecification‘: {u‘public.filename-extension‘: [u‘stl‘] u‘public.mime-type‘: [u‘text/plain‘]}
            }
            {
                u‘UTTypeIdentifier‘: u‘org.khronos.collada.digital-asset-exchange‘
                u‘UTTypeConformsTo‘: [u‘public.xml‘ u‘public.audiovisual-content‘]
                u‘UTTypeDescription‘: u‘Digital Asset Exchange (DAE)‘
                u‘UTTypeTagSpecification‘: {u‘public.filename-extension‘: [u‘dae‘] u‘public.mime-type‘: [u‘model/vnd.collada+xml‘]}
            }
            {
                u‘UTTypeIdentifier‘: u‘com.ultimaker.obj‘
                u‘UTTypeConformsTo‘: [u‘public.data‘]
                u‘UTTypeDescription‘: u‘Wavefront OBJ‘
                u‘UTTypeReferenceURL‘: u‘https://en.wikipedia.org/wiki/Wavefront_.obj_file‘
                u‘UTTypeTagSpecification‘: {u‘public.filename-extension‘: [u‘obj‘] u‘public.mime-type‘: [u‘text/plain‘]}
            }
            {
                u‘UTTypeIdentifier‘: u‘com.ultimaker.amf‘
                u‘UTTypeConformsTo‘: [u‘public.data‘]
                u‘UTTypeDescription‘: u‘Additive Manufacturing File‘
                u‘UTTypeReferenceURL‘: u‘https://en.wikipedia.org/wiki/Additive_Ma

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-02-25 14:41  Cura-SteamEngine\
     文件         426  2014-02-25 14:41  Cura-SteamEngine\.gitignore
     文件           0  2014-02-25 14:41  Cura-SteamEngine\.gitmodules
     文件         498  2014-02-25 14:41  Cura-SteamEngine\.hgignore
     目录           0  2014-02-25 14:41  Cura-SteamEngine\Cura\
     文件       34520  2014-02-25 14:41  Cura-SteamEngine\Cura\LICENSE
     文件           0  2014-02-25 14:41  Cura-SteamEngine\Cura\__init__.py
     目录           0  2014-02-25 14:41  Cura-SteamEngine\Cura\avr_isp\
     文件           0  2014-02-25 14:41  Cura-SteamEngine\Cura\avr_isp\__init__.py
     文件         604  2014-02-25 14:41  Cura-SteamEngine\Cura\avr_isp\chipDB.py
     文件        1315  2014-02-25 14:41  Cura-SteamEngine\Cura\avr_isp\intelHex.py
     文件        1979  2014-02-25 14:41  Cura-SteamEngine\Cura\avr_isp\ispbase.py
     文件        5782  2014-02-25 14:41  Cura-SteamEngine\Cura\avr_isp\stk500v2.py
     文件        2939  2014-02-25 14:41  Cura-SteamEngine\Cura\cura.py
     文件        3063  2014-02-25 14:41  Cura-SteamEngine\Cura\doctest.py
     目录           0  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\
     文件           0  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\__init__.py
     文件        2887  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\aboutWindow.py
     文件        1896  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\alterationPanel.py
     文件        6484  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\app.py
     文件        9246  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\configbase.py
     文件       53571  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\configWizard.py
     文件        1324  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\expertConfig.py
     文件        4567  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\firmwareInstall.py
     文件       26902  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\mainWindow.py
     文件        3939  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\newVersionDialog.py
     文件        6966  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\pluginPanel.py
     文件        6171  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\preferencesDialog.py
     文件       21308  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\printWindow.py
     文件       51243  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\sceneView.py
     文件        4661  2014-02-25 14:41  Cura-SteamEngine\Cura\gui\simpleMode.py
............此处省略258个文件信息

评论

共有 条评论