Skip to content

Conversation

@Avenger-Bagnarol
Copy link

Modified render.py to allow distinction of cells with different stiffness.
Works with smooth option.

sys.path.append("/home/pranav/dev/celldiv/scripts")
#Default: violet stiff (healthy), orange soft (ill)

sys.path.append("/Users/Torsa_Legend/Desktop/ROBE TESI/Progr/scripts")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, we have to change this line. It shouldn't be required anymore since the compilation should add it to PYTHONPATH

lamp.type = 'SUN' # in ['POINT', 'SUN', 'SPOT', 'HEMI', 'AREA']
lamp.distance = 100

#mio
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove Italian comments.

Copy link
Member

@pmadhikar pmadhikar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you delete a file?

bpy.ops.object.delete() # delete mesh...

#roba mia
bpy.ops.object.select_pattern(pattern='scellObject')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if there are no soft cells?

f = np.vstack(f)
faces = []
for mi in range(int(len(f)/192)):
for row in firstfaces:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The geometry definition should probably be moved into a function call...

@Avenger-Bagnarol
Copy link
Author

Avenger-Bagnarol commented May 14, 2019 via email

@pmadhikar
Copy link
Member

pmadhikar commented May 14, 2019

You don't need to make a new pull request. This one will update automatically whenever you push to the same branch.
The file LICENSE/jsoncpp is missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants