Skip to content

SBMI-LAB/MENDEL

Repository files navigation

MENDEL

Synthetic Biology and Molecular Information (SBMI) Lab
North Carolina A&T State University
Joint School of Nanoscience and Nanoengineering

Jorge Guerrero
jeguerrero@aggies.ncat.edu

Reza Zadegan
rzadegan@ncat.edu



Installation requirements:
Python 3 or Blender 2.8


Usage on Python 3

Include in the file:

from Mendel import Mendel

Cad = Mendel()

Cad.Add(5)

Cad.writeCaDNAno("Tests.json")

Cad.Stats()



Usage on Blender 2.8
Save a Blender file in the same folder of MENDEL.
On scripting window, create a new text file, and add

import bpy

filepath = bpy.path.abspath("//Mendel.py")
exec(compile(open(filepath).read(), filepath, 'exec'))

Cad = Mendel()

Cad.Add(5)

Cad.writeCaDNAno("Tests.json")

Cad.Clean()
Cad.RenderRibbons()
Cad.Stats()



Command list:

Cad = Mendel()
Cad.Growth(string): "Y+", "Y-", "Z+", "Z-"
Cad.StartAt(position)
Cad.AddAt(x,y,z)
Cad.Add(number)
Cad.UpY()
Cad.DownY()
Cad.UpZ()
Cad.DownZ()
Cad.RectUp(width, height)
Cad.RectDown(width,height)
Cad.GotoX(location)
Cad.GotoXUp(location)
Cad.Split()
Cad.Clean()
Cad.RenderRibbons()
Cad.RenderCylinders()
Cad.writeCaDNAno(filename)
Cad.RenderPDF(filename)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages