Commit 978df6ad authored by amandaghassaei's avatar amandaghassaei

small changes

parent a05dc6d5
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
......@@ -974,8 +974,8 @@
<li>Valley folds have <b style="color:blue">blue</b> stroke - rgb(0, 0, 255), hex #0000ff</li>
<li>Boundary edges have <b style="color:black">black</b> stroke - rgb(0, 0, 0), hex #000000 - use
this edge type for both the outline of the pattern, and any internal holes.</li>
<!--<li>Cuts have <b style="color:#00ff00">green</b> stroke - rgb(0, 255, 0), hex #00ff00- use this edge type-->
<!--to form thin slits in the pattern.</li>-->
<li>Cuts have <b style="color:#00ff00">green</b> stroke - rgb(0, 255, 0), hex #00ff00- use this edge type
to form thin slits in the pattern.</li>
<li>Hinges (undriven creases) have <b style="color:magenta">magenta</b> stroke - rgb(255, 0, 255), hex #ff00ff</li>
</ul>
<img src="assets/examplepattern.jpg"/>
......
......@@ -856,6 +856,7 @@ function initPattern(globals){
if (edge.indexOf(v2)>=0 && (edge.indexOf(v1) >= 0 || edge.indexOf(v3) >= 0)){
if (edgeAssignment === null) edgeAssignment = fold.edges_assignment[i];
else if (edgeAssignment != fold.edges_assignment[i]) {
console.log(edgeAssignment, fold.edges_assignment[i]);
console.warn("different edge assignments");
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment