Skip to content

Could the neper output the 'ipf triangle'? #239

Answered by rquey
Yuanguo1994 asked this question in Q&A
Discussion options

You must be logged in to vote

To generate the IPF color key, proceed as follows (requires version 4.2.1-4):

$ neper -T -n 1 -domain "stdtriangle(20)" -dim 2 -o stdtriangle
$ neper -M stdtriangle.tess -cl 0.02 -statnode col_stdtriangle
$ neper -V stdtriangle.msh -datanodecol "col:file(stdtriangle.stnode)" -dataeltcol from_nodes -dataelt2dedgerad 0 -dataelt1drad 0.001 -showelt1d all -print tmp
$ convert -pointsize 40 -draw "text 287,740 '[001]' text 830,740 '[011]' text 767,195 '[111]'" tmp.png stdtriangle.png

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by rquey
Comment options

You must be logged in to vote
3 replies
@rquey
Comment options

@xshang93
Comment options

@rquey
Comment options

rquey Nov 8, 2021
Maintainer

Comment options

You must be logged in to vote
5 replies
@xshang93
Comment options

@qdolle15
Comment options

@xshang93
Comment options

@rquey
Comment options

@qdolle15
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants