Git Product home page Git Product logo

stitchmeshing's Introduction

Stitch Meshing

Kui Wu, Xifeng Gao, Zachary Ferguson, Daniele Panozzo, Cem Yuksel

ACM Transactions on Graphics (Proceedings of SIGGRAPH 2018), 37, 4, 2018

Abstract

We introduce the first fully automatic pipeline to convert arbitrary 3D shapes into knit models. Our pipeline is based on a global parametrization remeshing pipeline to produce an isotropic quad-dominant mesh aligned with a 2-RoSy field. The knitting directions over the surface are determined using a set of custom topological operations and a two-step global optimization that minimizes the number of irregularities. The resulting mesh is converted into a valid stitch mesh that represents the knit model. The yarn curves are generated from the stitch mesh and the final yarn geometry is computed using a yarn-level relaxation process. Thus, we produce topologically valid models that can be used with a yarn-level simulation. We validate our algorithm by automatically generating knit models from complex 3D shapes and processing over a hundred models with various shapes without any user input or parameter tuning. We also demonstrate applications of our approach for custom knit model generation using fabrication via 3D printing.

Project Website

http://www.cs.utah.edu/~kwu/stitchmodeling#stitchmeshing

Installation

  • Clone the repository into your local machine:

  • Compile the code using CmakeGUI

You need to install Gurobi before compiling the code.

  • Set include directory and lib directory accordingly for gurobi in CMakeLists.txt line 110 and 114.

  • Use CmakeGUI with the correct directory for source code and build.

Note that the CMakeLists.txt is only tested with Visual Studio 2015.

Usage

  1. Open stitch-meshing.exe in build/release
  2. Open mesh and choose your model
  3. Surface

Alt text

  1. Rosy

Alt text

  1. Posy

Alt text

  1. Extract

Alt text

  1. Label

Alt text

  1. Align

Alt text

  1. Stitch Meshing

Alt text

  1. Output

The remeshing and stitch meshing results will be saved in the same folder as the input model is.

External Libraries

* are included libraries

License

Stitch Meshing is published under the Lesser GNU Public License (LGPL). That means that you can link it from a program with whatever license you choose. Also, you can modify and redistribute the library, but you must provide the source code for the modified version.

BibTex

Please cite the following paper if it helps.

@article{Wu:2018:stitchmeshing,
 author = {Kui Wu and Xifeng Gao and Zachary Ferguson and Daniele Panozzo and Cem Yuksel},  
 title = {Stitch Meshing},  
 journal = {ACM Trans. Graph.},  
 issue_date = {Aug 2018},  
 volume = {37},  
 number = {4},  
 year = {2018},    
 publisher = {ACM},  
 address = {New York, NY, USA},   
}  

stitchmeshing's People

Contributors

kuiwuchn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.