- Joined
- Mar 21, 2008
- Messages
- 2,572
- Reaction score
- 1,211
- Points
- 128
- Location
- Saco, ME
- Website
- mwhume.space
- Preferred Pronouns
- he/him
@Blake, do you plan on adding documentation for the 2D panel stuff?
It should work fine under linux assuming you are running a recent version of Blender (I would suggest 3.5 as that's what I used for the latest that is in master).Well, we are using it in Linux. But We have again problems with export and import. I can't import a mesh I exported before.
Matias Saibene has the same issue. Is your Blender Orbiter Master able to run in Linux? I tried several versions, even old with old add-ons.
In my case I receive the following error:It should work fine under linux assuming you are running a recent version of Blender (I would suggest 3.5 as that's what I used for the latest that is in master).
File paths seem to be the sticky point between the various OSs. What errors are you getting?
Pyhton: Traceback (most recent call last):
File "/home/matias/.config/blender/3.3/scripts/addons/orbiter-blender-2/_init_.py", line 207, in execute
import_tools.import_mesh(config, path)
File "/home/matias/.config/blender/3.3/scripts/addons/orbiter-blender-2/_init_.py", line 430, in import_mesh
orbiter_path = os.path.join(*up[0:up.index('meshes')])
ValueError: 'meshes' is not in list
File-path-errors!File paths seem to be the sticky point between the various OSs. What errors are you getting?
In my case I receive the following error:
Python:Pyhton: Traceback (most recent call last): File "/home/matias/.config/blender/3.3/scripts/addons/orbiter-blender-2/_init_.py", line 207, in execute import_tools.import_mesh(config, path) File "/home/matias/.config/blender/3.3/scripts/addons/orbiter-blender-2/_init_.py", line 430, in import_mesh orbiter_path = os.path.join(*up[0:up.index('meshes')]) ValueError: 'meshes' is not in list
Great. But please consider, that we have (for Gondos-reasons) ...home/USER/orbiter_test/Orbiter/Meshes...
I put my folders now elsewhere and give it a try. If it just needs the path.
....
up = [pp.lower() for pp in p.parts]
orbiter_path = os.path.join(*up[0:up.index('meshes')])
....
....
up = [pp for pp in p.parts]
orbiter_path = os.path.join(*up[0:up.index('Meshes')])
....
....
src_tex=src_tex.replace("\\", "/" )
....
Took some time for me to get back to it but you were right and i got it working now, Thanks!I'm surprised it installed. Minimum is Blender 2.81. Blender went through a major topology overhaul for 2.8, I would not expect this plug-in to work in older versions.
That said, if it was working and no longer is, I expect it is related to the change in how transforms are applied, but that is a guess. All I can recommend is to upgrade to a later version of Blender.
#by Jordan START:
src_tex=src_tex.replace("\\", "/" )
src_tex_tmp=src_tex[src_tex.rfind('/')+1:]
src_tex_path=src_tex[:src_tex.rfind('/')+1]
tmp_tex2_file = os.path.join(orbiter_path, "Textures2", src_tex_path)
tmp_tex_file = os.path.join(orbiter_path, "Textures", src_tex_path)
if os.path.exists(tmp_tex_file):
texturelist = os.listdir(tmp_tex_file)
y=0
for x in range(len(texturelist)):
if texturelist[x].lower() == src_tex_tmp.lower():
y=x
if os.path.exists(tmp_tex2_file):
texturelist = os.listdir(tmp_tex2_file)
y=0
for x in range(len(texturelist)):
if texturelist[x].lower() == src_tex_tmp.lower():
y=x
src_tex=src_tex_path+texturelist[y]
y=0
#by Jordan END:
Python: Traceback (most recent call last):
File "C:\Users\Thomas\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\orbiter-blender-2\__init__.py", line 207, in execute
import_tools.import_mesh(config, path)
File "C:\Users\Thomas\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\orbiter-blender-2\import_tools.py", line 459, in import_mesh
groups, materials, textures = read_mesh_file(config, file_path)
File "C:\Users\Thomas\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\orbiter-blender-2\import_tools.py", line 437, in read_mesh_file
raise error
File "C:\Users\Thomas\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\orbiter-blender-2\import_tools.py", line 431, in read_mesh_file
groups.append(read_group(file))
File "C:\Users\Thomas\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\orbiter-blender-2\import_tools.py", line 167, in read_group
new_group.verts.append(sc(file.readline()).split())
File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\python\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xee in position 7342: invalid continuation byte
This is not a problem with the Blender mesh tools addon. Your problem is that the file was not saved correctly.File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\python\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xee in position 7342: invalid continuation byte[/CODE]
Hello Blake, I would like to modify a mesh, which works fine in Orbiter 2016. I use a Windows PC, your current Blender Mesh Tool with Blender 3.6. Meshes and texture paths should not be the problem, other meshes can be imported, all in C:\Orbiter\Meshes and C:\Orbiter\Textures. The textures listed in the mesh file do not have subdirectories.
I get this Python report. I attach a ZIP with the files. Thanks, Thomas
Python:Python: Traceback (most recent call last): File "C:\Users\Thomas\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\orbiter-blender-2\__init__.py", line 207, in execute import_tools.import_mesh(config, path) File "C:\Users\Thomas\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\orbiter-blender-2\import_tools.py", line 459, in import_mesh groups, materials, textures = read_mesh_file(config, file_path) File "C:\Users\Thomas\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\orbiter-blender-2\import_tools.py", line 437, in read_mesh_file raise error File "C:\Users\Thomas\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\orbiter-blender-2\import_tools.py", line 431, in read_mesh_file groups.append(read_group(file)) File "C:\Users\Thomas\AppData\Roaming\Blender Foundation\Blender\3.6\scripts\addons\orbiter-blender-2\import_tools.py", line 167, in read_group new_group.verts.append(sc(file.readline()).split()) File "D:\Program Files\Blender Foundation\Blender 3.6\3.6\python\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xee in position 7342: invalid continuation byte
I haven't .msh option in export tab but I have .msh in import tab.
Anyone had this issue?