Sapling tree gen blender ошибка

System Information
Operating system: Windows 11 Home Version 22H2 OS build 22621.674
Graphics card: NVIDIA GeForce RTX 3060

Blender Version
Broken: 3.3.1 LTS 3.3.0 LTS 3.2.2 LTS

Short description of error
221022_Blender_3.3.1_Sapling_Error.png

Exact steps for others to reproduce the error
Select ‘willow’ under Load Preset in Sapling Tree_Gen addon.

**System Information**
Operating system: Windows 11 Home Version 22H2 OS build 22621.674
Graphics card: NVIDIA GeForce RTX 3060

**Blender Version**
Broken: 3.3.1 LTS 3.3.0 LTS 3.2.2 LTS

**Short description of error**
![221022_Blender_3.3.1_Sapling_Error.png](https://archive.blender.org/developer/F13745608/221022_Blender_3.3.1_Sapling_Error.png)

**Exact steps for others to reproduce the error**
Select ‘willow’ under Load Preset in Sapling Tree_Gen addon.

Перейти к контенту

System Information
Windows 10 Home (Swedish language)
GTX 1070

Blender Version
Broken: 2.78c
Worked: 2.77a (on windows 7)

Short description of error
UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0x85 in position 3: invalid start byte

Exact steps for others to reproduce the error
Start blender. Rename default cube to Låda (any name with lowercase åäö will do). User preferences->Addons-> Add Curve: Sapling Tree Gen.
Shift-A->Curve->Sapling Tree Gen.

blender_sapling_error.blend451 KBDownload

Event Timeline

Comment Actions

I was able to replicate this, but inconsistently. Can anyone confirm if this is a blender issue or something addons need to handle themselves. If it’s the addon then how do I fix it?, because I do not know what’s causing this.

Comment Actions

I have a workaround that uses base64 to pass the string through the addon. It lets you choose the objects but still doesn’t show the correct object name in the menu.

Comment Actions

hi testing this (following exact reproduce from op) I was able to get the error using the presets & also in ui.
adding

to the file header (line1) in __init__.py & utils.py
& I cannot reproduce the issue

will commit fix soon

Comment Actions

awesome, I didn’t know file encodings could cause things like this. Its a lot better than my ugly workaround. thanks.

$begingroup$

The problem occured unexpectedly and appears only in one particular .blend file. After shift-a then curve>sapling tree gen no new object is created. Info shows up, pointing three lines in py’s and that one object «Cube.013_Cube.000» is not visible (?) or simply missing.

enter image description here

I tried making a copy of that file, then deleting all objects and seeing if it helps, gives the same info.
I tried downloading different blender version and still in that one particular file add on seems to have problem, in any other .blend it works perfectly.

asked Mar 7, 2019 at 21:11

Jan Kulczycki's user avatar

$endgroup$

$begingroup$

I have found many interesting things
objects supposedly not being invisible in RenderLayer were not visible in any view, moreover, in the outliner. I tried searching for them by trying to append anything, from another .blend blank file. I suprisingly found that a lot of mesh data was in the scene, but it wasn’t connected to any object, thus confusing the add on py’s. After cleaning not used, hidden mesh data, add on started working properly.

answered Mar 7, 2019 at 21:45

Jan Kulczycki's user avatar

$endgroup$

This started not as a real and proper answer, but to demonstrate that at least on 2.76b, with Sapling 0.2.6, sapling addon worked as you would expect:

enter image description here

So, I suggested you to detail exact blender and sapling versions you are trying. It could also be a bug or a changed behavior…

Meanwhile, I found a 2.79rc2 lying on my disk, so tried also launching Blender-softwaregl (opengl sw emulation due to my crappy notebook), here the addon is named «Sapling Tree Gen», version 0.3.3, it behave like you said: the tree is always at grid origin, no matter where the 3d cursor is.

It seems that there was a big change from 0.2.6 to 0.3.2 labeled as a «major rewrite», I guess starting just before 2.78 release, see this diffusion page.

But, good news! Browsing the sources on that page, I found a single line that reverts the behavior of sapling 0.3.3 to how it was in 0.2.6

  1. find the file <blender install folder>/2.79/scripts/addons/add_curve_sapling/utils.py

  2. go to line 1604, it should be like

    #treeOb.location=bpy.context.scene.cursor_location attractUp

  3. change it to

    treeOb.location=bpy.context.scene.cursor_location #attractUp

  4. save the file

  5. (if it was open, close and) start Blender
  6. now sapling should behave as it did in 2.76 :)

enter image description here

Note: I’ve later found a comment by the addon developer stating that he did
«Fix Armature, Tree location generation to 0,0,0 (this was causing fails with armature weights & probably pruning)»

So, use this with caution, and revert if necessary…

This started not as a real and proper answer, but to demonstrate that at least on 2.76b, with Sapling 0.2.6, sapling addon worked as you would expect:

enter image description here

So, I suggested you to detail exact blender and sapling versions you are trying. It could also be a bug or a changed behavior…

Meanwhile, I found a 2.79rc2 lying on my disk, so tried also launching Blender-softwaregl (opengl sw emulation due to my crappy notebook), here the addon is named «Sapling Tree Gen», version 0.3.3, it behave like you said: the tree is always at grid origin, no matter where the 3d cursor is.

It seems that there was a big change from 0.2.6 to 0.3.2 labeled as a «major rewrite», I guess starting just before 2.78 release, see this diffusion page.

But, good news! Browsing the sources on that page, I found a single line that reverts the behavior of sapling 0.3.3 to how it was in 0.2.6

  1. find the file <blender install folder>/2.79/scripts/addons/add_curve_sapling/utils.py

  2. go to line 1604, it should be like

    #treeOb.location=bpy.context.scene.cursor_location attractUp

  3. change it to

    treeOb.location=bpy.context.scene.cursor_location #attractUp

  4. save the file

  5. (if it was open, close and) start Blender
  6. now sapling should behave as it did in 2.76 :)

enter image description here

Note: I’ve later found a comment by the addon developer stating that he did
«Fix Armature, Tree location generation to 0,0,0 (this was causing fails with armature weights & probably pruning)»

So, use this with caution, and revert if necessary…

  • В этой теме 0 ответов, 1 участник, последнее обновление 11 месяцев, 2 недели назад сделано victor59.

Просмотр 1 сообщения — с 1 по 1 (всего 1)

  • Автор

    Сообщения

  • Добрый день! Моя версия Блендер 2.93.6 После активации адона Sapling Tree Gen, при попытке его применить создается ствол дерева но окно слева внизу не активно! При попытке что либо изменить в нем, программа закрывается. Помогите пожалуйста разобраться в проблеме. С уважением Виктор.

  • Автор

    Сообщения

Просмотр 1 сообщения — с 1 по 1 (всего 1)

  • Для ответа в этой теме необходимо авторизоваться.

Авторизация

blender course

cycles-book

eevee-book

Рубрики

  • Анимация и риггинг
  • Загрузки
  • Материалы и текстуры
  • Моделирование и скульптинг
  • Новости и обзоры
  • Основы Blender
  • Рендеринг и освещение
  • Симуляция и частицы
  • Скриптинг на Python
  • Создание игр в Blender

mod-book

freestyle-book

3d-printing-with-blender

Bug 1879404
Blender 2.90.0-3.fc33 crashes when using adding sapling tree or using voronoi texture

Summary:

Blender 2.90.0-3.fc33 crashes when using adding sapling tree or using voronoi…

Keywords:
Status: CLOSED
ERRATA

Alias:

None

Product:

Fedora

Classification:

Fedora

Component:

blender

Sub Component:

Version:

33

Hardware:

x86_64

OS:

Linux

Priority:

unspecified
Severity: unspecified

Target Milestone:


Assignee:

Luya Tshimbalanga

QA Contact:

Fedora Extras Quality Assurance

Docs Contact:


URL:


Whiteboard:

Depends On:


Blocks:


TreeView+

depends on /

blocked

Reported: 2020-09-16 08:40 UTC by Matthias
Modified: 2020-12-07 01:16 UTC
(History)

CC List:

6
users

(show)

Fixed In Version:

blender-2.90.1-1.fc33 blender-2.91.0-2.fc33 blender-2.83.9-1.fc32

Doc Type:

If docs needed, set a value

Doc Text:

Clone Of:

Environment:

Last Closed:

2020-12-04 19:51:59 UTC

Type:

Bug

Dependent Products:


Attachments (Terms of Use)

Sapling Tree Crash


(1.93 KB,
text/plain)

2020-09-16 08:40 UTC,

Matthias

no flags Details

Voronoi Texture crash


(2.00 KB,
text/plain)

2020-09-16 08:41 UTC,

Matthias

no flags Details

Blender — How to reproduce crash quickly


(432.32 KB,
image/png)

2020-10-03 02:23 UTC,

Matthias

no flags Details

blender.crash_blender-1:2.90.1-1.fc33.x86_64


(1.98 KB,
text/plain)

2020-10-04 10:54 UTC,

Matthias

no flags Details

blender.crash_blender-2.90.1-1.llvm9.fc33.x86_64


(1.98 KB,
text/plain)

2020-10-04 10:54 UTC,

Matthias

no flags Details

View All

Add an attachment
(proposed patch, testcase, etc.)



Go to blenderhelp


r/blenderhelp


r/blenderhelp

For help with Blender problems, also consider visiting [BA](https://blenderartists.org/c/support) or [BSE](https://blender.stackexchange.com/).




Members





Online



by

[deleted]



Sapling tree generator not working?

The sapling tree generator is adding a default tree and showing the edit panel but nothing is selectable there.. can anyone help? :(

I’ve been working on making and animating a tree in Blender, using the sapling tree generator. I created the tree, added an armature and animation, and added leaves (they’re rectangles with an alpha map to create a leaf shape). I haven’t done anything else very advanced with the leaf materials (just a texture and color ramp). There’s also an emitter modifier for falling leaves.

When I view the animation in the viewport, all looks as expected, leaves are present, and the branches move.

enter image description here

However, when I go to render the animation, it’s missing the leaves and animation added with sapling tree gen.

enter image description here

I’ve checked and as as far as I can tell, all of the entries in scene collection are set to render, so it’s a little confusion as to why they wouldn’t be present in the render.

enter image description here

1 ответ

Ваша модель слишком большая для 3DS. Blender выдает сообщение об ошибке:

введите сюда описание изображения

В формате 3DS есть ограничение, максимальное количество точек и полигонов — 65536: https://en.wikipedia.org/wiki/.3ds#Shortcomings

Вместо 3DS попробуйте другой, более современный формат, например, fbx или alembic.

ответ дан 1 дек 2017 в 10:30

Crantisz's user avatar

CrantiszCrantisz

9,7102 золотых знака15 серебряных знаков49 бронзовых знаков

1

  • Спасибо вам, никогда бы не подумал что такое возможно. исходя из вашего ответа о лимите, применил модификатор упрощение, и всё экспортировало. спасибо вам огромное.

    1 дек 2017 в 22:02

  • Samsung произошла ошибка сервера перезагрузите камеру samsung
  • Sap ошибка распред нагрузки при входе 88
  • Samsung ошибка списка каналов
  • Samsung ошибка приложения system
  • Samsung ошибка sub на стиральной машине eco bubble