HeMesh - Error - library import failed

J_DJ_D
edited October 2015 in Library Questions

Hi all, I would test some codes with HeMesh but I'm having some troubles in importing the library. I'm working with Processing 2.2.1. I downloaded the last version of HeMesh (HE_Mesh 2014 2.0.15) and added all the files to the /libraries folder. When I run the code (see below) it throws this error:

No library found for wblut.hemesh.modifiers No library found for wblut.hemesh.tools No library found for wblut.hemesh.wip No library found for wblut.hemesh.subdividors No library found for wblut.hemesh.creators No library found for wblut.hemesh.kdtree Libraries must be installed in a folder named 'libraries' inside the 'sketchbook' folder

Seems that I'm missing a part of the library. How can I fix this? Thank you.

import processing.opengl.*;
import wblut.hemesh.modifiers.*;
import wblut.hemesh.tools.*;
import wblut.hemesh.wip.*;
import wblut.hemesh.subdividors.*;
import wblut.hemesh.*;
import wblut.hemesh.creators.*;
import wblut.geom.*;
import wblut.math.*;
import wblut.hemesh.kdtree.*;

HE_Mesh mesh;

void setup()
{
    size(450, 240, OPENGL);
    hint(DISABLE_OPENGL_2X_SMOOTH);
    hint(ENABLE_OPENGL_4X_SMOOTH);
    noSmooth();

    HEC_Cube cube = new HEC_Cube(this).setEdge(100);
    mesh = new HE_Mesh(cube);

    WB_Plane plane = new WB_Plane(0, 0, 0, 50, 20, 30);

    HEM_SliceSurface slice = new HEM_SliceSurface().setPlane(plane);
    mesh.modify(slice);

    noLoop();
}

void draw()
{
    background(#ff3f36);
    lights();

    translate(width/2, height/2);
    rotateX(PI/9);
    rotateY(PI);

    fill(#e1e1e1);
    noStroke();
    mesh.drawFaces();
    noFill();
    stroke(0);
    mesh.drawEdges();

    saveFrame("hemesh-slicesurface.png");
}

Answers

Sign In or Register to comment.