Skip to content
Snippets Groups Projects
Commit a659ebbd authored by Clemens Barth's avatar Clemens Barth
Browse files

Change of concept - default options in PDB importer: when it is desired to...

Change of concept - default options in PDB importer: when it is desired to 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.
parent 3b018882
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,7 @@ class IMPORT_OT_pdb(Operator, ImportHelper): ...@@ -115,7 +115,7 @@ class IMPORT_OT_pdb(Operator, ImportHelper):
name="", default = 1.1, min=1.0, max=3.0, name="", default = 1.1, min=1.0, max=3.0,
description="Distance between sticks measured in stick diameter") description="Distance between sticks measured in stick diameter")
use_sticks_one_object: BoolProperty( use_sticks_one_object: BoolProperty(
name="One object", default=True, name="One object", default=False,
description="All sticks are one object") description="All sticks are one object")
use_sticks_one_object_nr: IntProperty( use_sticks_one_object_nr: IntProperty(
name = "No.", default=200, min=10, name = "No.", default=200, min=10,
...@@ -124,7 +124,7 @@ class IMPORT_OT_pdb(Operator, ImportHelper): ...@@ -124,7 +124,7 @@ class IMPORT_OT_pdb(Operator, ImportHelper):
name = "", description="Path to your custom data file", name = "", description="Path to your custom data file",
maxlen = 256, default = "", subtype='FILE_PATH') maxlen = 256, default = "", subtype='FILE_PATH')
# This thing here just guarantees that the menu entry is not active when the # This thing here just guarantees that the menu entry is not active when the
# check box in the addon preferences is not activated! See __init__.py # check box in the addon preferences is not activated! See __init__.py
@classmethod @classmethod
def poll(cls, context): def poll(cls, context):
...@@ -251,7 +251,7 @@ class EXPORT_OT_pdb(Operator, ExportHelper): ...@@ -251,7 +251,7 @@ class EXPORT_OT_pdb(Operator, ExportHelper):
" a proper element name")), " a proper element name")),
default='1',) default='1',)
# This thing here just guarantees that the menu entry is not active when the # This thing here just guarantees that the menu entry is not active when the
# check box in the addon preferences is not activated! See __init__.py # check box in the addon preferences is not activated! See __init__.py
@classmethod @classmethod
def poll(cls, context): def poll(cls, context):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment