Age | Commit message (Collapse) | Author |
|
importer. T62804
Comments
========
The ‘old’ PDB addon was deleted because of the fusion of the 3 atomic blender addons from Blender 2.79:
1. PDB (I/O addon for .pdb files, was in trunk before)
2. XYZ (I/O addon for .xyz files, was in contrib before)
3. Utilities (panel for modifying atomic structures, was in contrib before),
into one single addon called ‘Atomic Blender PDB/XYZ’, which I commit here, too.
|
|
2. Add: some properties of the ligth source are set for cycles
|
|
Amazing, that I haven't found this spelling mistake before, and I deal with
nanoparticles made from platinum in my research, already for many years!
|
|
cups) of a duplivert structure are hidden in the view_port
I'm very happy about the new concepts of Blender 2.80! This is yet another example.
These representative objects of a duplivert structure can now be invisible. Their
presence in a, e.g., 3D view has no meaning. They are anyway reproduced at the mesh
and are visible at the vertices of the mesh. Cool thing!
|
|
4th 'alp' entry.
|
|
|
|
|
|
atoms and sticks of the molecule
Thanks to the great concept of 'collections', which Blender 2.80 is proposing, all parts of
the molecule (atoms and sticks) can be organized in an hierarchical order in dependence
on the chemical elements. Atoms (balls) are further separated from sticks (cylinders). For
some molecules, I tested all possible properties one can chose during the import, and it
works very well.
|
|
|
|
ii) The sticks are composed of the dupliverts mesh, a cylinder and disks, which
are the cups. All names start with the element name (e.g., hydrogen).
|
|
On October 19th 2018, the 'CONECT' identifier was changed to 'CONNECT'. This is wrong
because in a PDB file a stick is identified as 'CONECT'. I recognized that this morning
and could not load any sticks. I have put a note into the code. Please leave it as is!
There are still some errors afterwards, which I will solve later on.
|
|
duplivert (mesh and obj) has been changed.
Problem: because of changes that were made with respect to instancing
(see https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API/Scene_and_Object_API)
the mesh and object appear on the 'same level' in the outliner. Finding the mesh and object
was not easy because of the old 'name convention' in 2.79. Now, the names of mesh and object both
start with the element name (e.g., hydrogen) + an identifier of their nature ("_mesh" and "ball"). The
then appear one after the other in the outliner ... .
|
|
|
|
For instance, the old 'RAY_SHADOW' thing of the light source was removed and
the 90° camera rotation is now deactivated. I need to see how one can rotate
the camera around its own axis ... .
|
|
https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API/Addons
|
|
|
|
Much more works needs to be done the next days.
|
|
|
|
Changed objects.link and objects.unlink from scene to collection
|
|
|
|
|
|
This should take care of most of the class property conversions to
use the new annotation format (colon instead of equals) for
assignment. There may still be a few edge cases that were missed.
|
|
This follows naming convention agreed on in T56648.
|
|
|
|
Differential Revision: https://developer.blender.org/D3746
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
minor other edits
|
|
error. This bug was fixed.
Blendphys.
|
|
2. Small cleanups of the code
3. New feature: The sticks can be represented as entire cylinders. One can
choose either single cylinders, which are parented to an empty, or one single
mesh object including all sticks.
This feature is quite suitable for structures, which count more than 1000
sticks. When the sticks are represented by one single mesh object the
handling in the 3D scene is much faster.
Note that the layout of the preferences in the file dialog had to be also
changed since there are more options for sticks now.
Blendphys.
|
|
do also have a material now. - I simply forgot that to include.
Blendphys.
|
|
been removed and put into a separate function.
Blendphys.
|
|
been removed and put into a separate function.
Blendphys.
|
|
source into the 3D scene has been removed and put into a separate function.
Blendphys.
|
|
in Blender, which both can be used to draw the sticks. This is what I have
done and implemented.
The code has become a bit 'unreadable' there will be after some other commitments
including some code cleanups.
Blendphys.
|
|
were not automatically smoothened. I changed the default value from False to
True.
Blendphys.
|
|
make addons blender versions consistent
|
|
|
|
I also updated the Wiki page.
2. There was a small mistake introduced by the last commits. This has been
fixed.
3. Code cleaning
Blendphys
|
|
according to the "Style Guide for Python Code"
(http://www.python.org/dev/peps/pep-0008/) and the recent review
(http://codereview.appspot.com/6815052). Some slight changes were done, too.
Extensive tests have shown that the code is still well working.
Blendphys
|
|
Blendphys
|