Age | Commit message (Collapse) | Author |
|
See T95597
|
|
the material of 'normal' and 'skin' sticks
Reason: a material change of also 'normal' and 'skin' sticks was
simply not included. Recently, it was done for 'dupliverts' sticks
(see https://developer.blender.org/rBA84f5f4699232decc2f1a8694312680b9e5159462)
Now, the atoms and corresponding sticks of any representation ('dupliverts',
'skin' and 'normal) change the material when using the utility 'Change atom shape'
in the 'Utility Panel'.
|
|
Reason: the planes used for the instancing vertice structure were
visible at once because their size was as large as the stick diameter.
I decreased the size of those planes by a factor of 100, everything is
fine now
|
|
the material of the sticks
Reason: a material change of both was simply not included.
Now, the atoms and corresponding sticks change the material when
using the utility 'Change atom shape' in the 'Utility Panel'.
|
|
Reason: hidden objects cannot be modified by 'bpy.ops.object.shade_smooth()'
The surface of sticks, which are in an instancing vertice structure,
are now correctly smoothened when option 'Smooth' of the PDB importer is
selected.
|
|
Property 'material.diffuse_color' is now set such that one can see the
color of the atoms in also the 'Solid mode' of the Viewport.
Please enter the commit message for your changes. Lines starting
|
|
Removal of code, which belongs to the good old times of Blender <=2.79
and which does not make sense anymore in higher Blender versions.
|
|
- Error message "'NoneType' object has no attribute 'nodes'" because of
wrong handling of the material properties.
- After bug removal, the standard size and material properties can be
assigned to all selected atom strctures.
|
|
Changes
- All properties of the Principled BSDF shader can now be set in the
data file for each element.
- Some important properties for Eevee are mentioned as well.
Remember: a custom data file contains the size and material properties
for each element. With this, the sizes and material properties of selected
atoms in an atomic structure can be changed at once. The user can therefore
store her/his own material properties inside this file and use it at any
time for any atomic structures.
|
|
of the special objects (F2+, F+ and F0 centers) in the section 'Change atom shape'
got updated for eevee and cycles.
|
|
for both, Eevee and Cycles, is sufficient, no need to have an additional
ball with emission for Cycles.
|
|
section 'Change atom shape' got updated for eevee and cycles.
There are also a few adjustments of the values of both importers
(PDB and XYZ).
|
|
|
|
Eevee is re-inserted (I forgot that this is needed for Eeve) and the transparency
material properties of the vacancies when using Eevee have been changed: the
cubes show now a nice transparency.
|
|
an 'X' in
PDB and XYZ files, are shown as transparent cubes. The properties of the transparency
have been changed and are now much better ... . The user can certainly adjust these
properties after the import.
|
|
as a 'point' light source. In material properties, the sphere has the
node called 'Emission'. Note that the light source as well as a camera
can be **optionally** chosen, they are not set by default.
|
|
|
|
by using nodes (material properties). The color used in the viewport shading
('solid mode') has been removed since it doesn't make sense anymore. Otherwise
one always has to manually choose 'using nodes' in the material properties.
|
|
an atom object
from an atomic structure in the 'EDIT' mode has lead to a crash of Blender. With the
changes done, there is no crash of Blender anymore.
|
|
Check before, if the user is in the 'EDIT_MESH' mode. If so, change to 'OBJECT' mode.
|
|
When importing a PDB file, the user has to be in the 'OBJECT' mode. With the changes
in the code, this mode is automatically set before the PDB import. No error message should
appear when the 'EDIT' mode is still active.
|
|
When importing a PDB file, the user has to be in the 'OBJECT' mode. With the changes
in the code, this mode is automatically set before the PDB import. No error message
should appear when the 'EDIT' mode is still active.
|
|
Reduces warnings while running tests.
Also fix some descriptions with strings concatenated but without a
space in between.
Reviewed by campbellbarton
Differential Revision: https://developer.blender.org/D9655
|
|
|
|
|
|
|
|
|
|
show the sticks of atoms as cylinders then
the cylinders should be individuel single objects. The user can still choose a fusion of the sticks to one object
in the options.
|
|
form of cylinders, they were marked as
invisible after the change. This should only be done for the representative cylinder and cup object of those sticks,
which are in a dupliverts structure.
|
|
similar to the one of the PDB importer. This makes writing the manual more easy.
|
|
fixed some minutes ago): "material.blend_method = 'ADD'" did not work. The line was replaced by "material.blend_method = 'OPAQUE'".
|
|
anymore. We now use "material.blend_method = 'OPAQUE'"
|
|
|
|
Differential Revision: https://developer.blender.org/D5240
|
|
|
|
This is a follow up to rB0910932e71d2.
|
|
make annotation: AddonPreferences.bool_pdb
make annotation: AddonPreferences.bool_xyz
make annotation: AddonPreferences.bool_utility
This was fixed by using 'bool_name : BoolProperty(...' instead of 'bool_name = BoolProperty(...'
|
|
|
|
|
|
When separating an atom (in the form of, e.g., a sphere) from a dupliverts structure,
where the representative object (e.g., a sphere) is always hidden (not visible), the
separated atom object was still hidden (not visible). Fix: in any case, the 'hide_set'
option of an object is put onto: hide_set(False)
|
|
meta balls were hidden by default, T62804
Fix 2: Option 'Mesh UV spheres' for atomic structures lead to an error message, T62804
Comments
========
1: It i strange that a representative mesh sphere or NURBS sphere in a dupliverts structure
can be hidden, which is not the case for meta balls. A representative meta ball needs to
be 'visible' and not hidden. By default this is now the case.
2: The 'size' option in 'bpy.ops.mesh.primitive_uv_sphere_add' does not exist anymore.
Option 'size' was removed.
|
|
The panel could not be used in the EDIT MODE because I wrongly inserted a
'bl_context = "objectmode"' last time. I removed this line.
|
|
Comments
========
This is 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’.
|