batoms installation issue inside Blender

42 views
Skip to first unread message

Punit Kumar

unread,
May 21, 2024, 6:53:56 AM5/21/24
to Beautiful Atoms
Hello Beautiful Atoms users!

I'm new to the Beautiful Atoms package and tried to install it in Blender. Unfortunately, I'm facing an installation issue when I'm trying to move the batoms folder to the addons directory, as suggested on the Beautyful Atoms webpage. After successfully moving the batoms folder to the addons directory, when I'm trying to enable the batoms add-ons under preferences, it doesn't show those add-ons. 

Does anyone face similar issue? If yes, please suggest a possible solution to resolve this issue. Any suggestion is highly appreciated.

Best regards,
Punit

Xing Wang

unread,
May 21, 2024, 9:26:28 AM5/21/24
to Punit Kumar, Beautiful Atoms
Hi Punit,

Which system do you use? Windows, Linux ?

Did you try to enable the add-on by hand on GUI, or using the Python script?


--
You received this message because you are subscribed to the Google Groups "Beautiful Atoms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beautiful-ato...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beautiful-atoms/e3f37ffa-aec8-4a54-aa9f-5f3385a3b066n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Xing Wang

unread,
May 22, 2024, 3:28:31 AM5/22/24
to Punit Kumar, Beautiful Atoms
Yes, this is a known issue: https://github.com/beautiful-atoms/beautiful-atoms/issues/209

Please use Blender version 4.0, download from here: https://www.blender.org/download/releases/4-0/

Best,
Xing

On Wed, May 22, 2024 at 7:57 AM Punit Kumar <ip.pune...@gmail.com> wrote:
Hello Xing,

I fixed the installation problem I encountered when installing Beautiful Atoms in Blender. After a successful installation, I encountered an index error when I ran my installation test. The full traceback of the error is
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
  File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\addons\batoms\batoms.py", line 156, in __init__
    self._cell = Bcell(label, cell, batoms=self)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\addons\batoms\cell.py", line 28, in __init__
    self.build_object(array, location)
  File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\addons\batoms\cell.py", line 69, in build_object
    self.build_geometry_node()
  File "C:\Program Files\Blender Foundation\Blender 4.1\4.1\scripts\addons\batoms\cell.py", line 100, in build_geometry_node
    links.new(PositionCell.outputs["Position"], TransferCell.inputs[3])
                                                ~~~~~~~~~~~~~~~~~~~^^^
IndexError: bpy_prop_collection[index]: index 3 out of range, size 3

To run the test, I used the Python code given on the webpage (https://beautiful-atoms.readthedocs.io/en/latest/getting_started/installing/windows.html#test-your-installation).
Can you or anyone in the community help me to solve this error? Any help is highly appreciated.
Best regards,
Punit


On Tue, May 21, 2024 at 7:07 PM Punit Kumar <ip.pune...@gmail.com> wrote:
Hello Xing,

Thanks for your reply. I'm using a windows machine. I didn't try it with python script but yes I tried it by hand on Blender GUI. Unfortunately in GUI when I tried to enable the batoms it doesn't show that add-on although I move it to the addons directory. I also follow the instructions in one of your YouTube videos where you show the manual installation of beautiful atoms in blender.

Best regards 
Punit
Reply all
Reply to author
Forward
0 new messages