已有 26 条评论
  1. player

    请问这个报错怎么解决呢
    Error
    Python script error:check console

    player December 7th, 2018 at 01:20 am回复
    1. journey.ad

      是按Alt+P之后出现的问题吧
      检查python环境是否正确安装配置;检查newGameLib目录是否放置正确
      还有问题的话,把出现错误的操作和控制台的输出贴上来

      journey.ad December 7th, 2018 at 09:06 am回复
  2. 这个错误...

    我这报这个错误

    100.0 procent
    ################################################## Geometry
    DrawElementsUInt Uint32Array
    Traceback (most recent call last):
      File "starter.py", line 1767, in openFile
      File "starter.py", line 1760, in Parser
      File "starter.py", line 1704, in osgParser
      File "starter.py", line 1647, in getNode
      File "starter.py", line 1611, in getChildren
      File "starter.py", line 1502, in getMatrixTransform
      File "starter.py", line 1613, in getChildren
      File "starter.py", line 1647, in getNode
      File "starter.py", line 1611, in getChildren
      File "starter.py", line 1502, in getMatrixTransform
      File "starter.py", line 1611, in getChildren
      File "starter.py", line 1502, in getMatrixTransform
      File "starter.py", line 1611, in getChildren
      File "starter.py", line 1502, in getMatrixTransform
      File "starter.py", line 1613, in getChildren
      File "starter.py", line 1647, in getNode
      File "starter.py", line 1619, in getChildren
      File "starter.py", line 1552, in getGeometryNode
      File "starter.py", line 1393, in getGeometry
      File "starter.py", line 963, in getPrimitiveSetList
      File "starter.py", line 335, in getIndices
      File "starter.py", line 292, in decodeImplicit
    IndexError: list assignment index out of range
    ...
    
    这个错误... December 5th, 2018 at 12:35 am回复
    1. journey.ad

      部分模型无法解密,地址贴下我确认看看

      journey.ad December 5th, 2018 at 12:49 am回复
  3. AAA

    请问导入file.osgjs,CMD窗口就一行数字.20.754 procent .是怎么回事?

    AAA December 1st, 2018 at 11:33 pm回复
    1. journey.ad

      其他模型是否可以正常提取?如果是单个模型的问题的话贴下Sketchfab地址我确认看看

      journey.ad December 2nd, 2018 at 12:15 am回复
      1. AAA

        都不行.启动CMD显示 :
        Compiled with Python version 2.6.2.
        Checking for installed Python... got it!
        这个有问题吗?我下的是2.6.6的.

        AAA December 2nd, 2018 at 12:19 am回复
        1. journey.ad

          我似乎理解错了,这里的Compiled with Python显示的版本是blender编译时使用的python版本,使用时不必完全一致,只需保证同为2.6.x即可,用2.6.6是因为python 2.6.6是官方发布的最后带有可执行文件的2.6.x的版本
          关于你之前的问题,blender启动时这样显示说明python环境没有问题,可以排查其他方面的原因,比如下载不完整、路径有问题、JSON文件编码问题等,仔细对照步骤再试试吧
          或者可以直接用文中给的下载脚本,需要python3环境

          journey.ad December 2nd, 2018 at 12:50 am回复
        2. journey.ad

          blender 2.6.6?那不行,必须为2.4.9
          blender 2.5x之后的API有变化,2.4.9是这个脚本支持的最后一个版本
          这里是blender的所有历史版本

          journey.ad December 2nd, 2018 at 12:41 am回复
          1. AAA

            是python版本2.6.6,但是进Blender CMD 显示:
            Compiled with Python version 2.6.2.
            Checking for installed Python... got it!

            现在导入file.osgjs,CMD变这样了:

            100.0 procent
            ################################################## Geometry
            Traceback (most recent call last):
              File "starter.py", line 1767, in openFile
              File "starter.py", line 1760, in Parser
              File "starter.py", line 1704, in osgParser
              File "starter.py", line 1647, in getNode
              File "starter.py", line 1613, in getChildren
              File "starter.py", line 1647, in getNode
              File "starter.py", line 1611, in getChildren
              File "starter.py", line 1502, in getMatrixTransform
              File "starter.py", line 1613, in getChildren
              File "starter.py", line 1647, in getNode
              File "starter.py", line 1619, in getChildren
              File "starter.py", line 1552, in getGeometryNode
              File "starter.py", line 1393, in getGeometry
              File "starter.py", line 1018, in getPrimitiveSetList
            KeyError: '"Mode"'
            
            AAA December 2nd, 2018 at 12:48 am回复
            1. journey.ad

              有部分模型的确会报错,地址贴一下我确认看看是不是模型的问题

              journey.ad December 2nd, 2018 at 01:00 am回复
              1. AAA

                可以了.谢谢.

                AAA December 2nd, 2018 at 02:11 am
              2. journey.ad

                我这边重新下载试了没问题,你再确认看看吧

                journey.ad December 2nd, 2018 at 01:27 am
              3. AAA

                https://sketchfab.com/models/9120703a4aee4c2cb0313a9ca3e1e1a3\
                我就是用那个智乃来试的.
                我用下载脚本下的试试.

                AAA December 2nd, 2018 at 01:08 am
  4. Sonic853

    折腾半天才发现可以用Python3.7.0运行“模型数据下载脚本”🌚

    Sonic853 November 24th, 2018 at 05:53 pm回复
    1. Sonic853

      试着弄了一下,成功导出了一个模型,万分感谢

      Sonic853 November 24th, 2018 at 06:29 pm回复
      1. 付生

        能帮忙回答一下我那几个错误点么?

        付生 November 24th, 2018 at 09:13 pm回复
        1. Sonic853

          我做了一个集成好的Blender v2.49,理论免装Python2.6.6,可以直接运行Blender打开“Blender249[osgjs]”文件夹下的“Blender249.blend”文件
          https://pan.baidu.com/s/1EI1y8cYK3IhAoZWVacHPrw

          Sonic853 November 25th, 2018 at 07:01 pm回复
          1. RGL

            文件取消了,请问可以重新发一下吗

            RGL December 12th, 2018 at 06:38 pm回复
        2. journey.ad

          确认Python、Blender版本是否和文中一致,二者都可直接在官网下载到,Blender 2.49b也是可以的
          检查环境变量是否已正确配置,正常的话Blender启动后会在控制台打印出Checking for installed Python... got it!
          确认所有操作是否都已完成,看你的描述,很可能是工具准备的第3步操作有误

          仍有问题的话,把报错贴上来看看

          journey.ad November 25th, 2018 at 12:55 am回复
          1. 付生

            谢谢

            付生 November 25th, 2018 at 09:53 pm回复
  5. FlameHaze

    执行python报错鸭

    100.0 procent
    ################################################## Geometry
    Traceback (most recent call last):
      File "starter.py", line 1767, in openFile
      File "starter.py", line 1760, in Parser
      File "starter.py", line 1704, in osgParser
      File "starter.py", line 1647, in getNode
      File "starter.py", line 1611, in getChildren
      File "starter.py", line 1502, in getMatrixTransform
      File "starter.py", line 1611, in getChildren
      File "starter.py", line 1502, in getMatrixTransform
      File "starter.py", line 1615, in getChildren
      File "starter.py", line 1536, in getSkeletonNode
      File "starter.py", line 1611, in getChildren
      File "starter.py", line 1502, in getMatrixTransform
      File "starter.py", line 1613, in getChildren
      File "starter.py", line 1647, in getNode
      File "starter.py", line 1619, in getChildren
      File "starter.py", line 1552, in getGeometryNode
      File "starter.py", line 1393, in getGeometry
      File "starter.py", line 936, in getPrimitiveSetList
    KeyError: '"Mode"'
    
    FlameHaze November 24th, 2018 at 05:48 pm回复
    1. journey.ad

      可能是模型的问题?
      贴一下地址我确认看看

      journey.ad November 25th, 2018 at 01:00 am回复
  6. 付生

    Blender v2.49b 找了一晚上没找到Blender v2.49

    付生 November 24th, 2018 at 12:22 am回复
  7. 付生

    软件我用的是Blender v2.49

    付生 November 24th, 2018 at 12:21 am回复
  8. 付生

    按照你的步骤来 - -结果发现添加环境变量PythonPath 是不是在我的电脑-属性里添加,然后file.osgjs.gz 该怎么下载?还有Python代码区域,然后按Alt + P后 我这提示错误。check console

    付生 November 24th, 2018 at 12:05 am回复

说点什么?

返回顶部