Giter VIP home page Giter VIP logo

windows3mfrepaircli's Introduction

Windows 3MF Repair Commandline Interface

About

This is a very simple CLI tool used to repair 3MF files, presumably using the same functionality as Windows 3D Builder. I wrote this to be used in conjunction with other automation, so all this does is take an input file and repair it.

Usage

See releases for latest compiled .exe

--inputFilePath "C:/Folder/model.3mf" Repair and overwrite the original model

--outputFilePath "C:/Folder/model-repaired.3mf" Optional: Specifying an outputFilePath will save the repair to a new file instead

--timeoutSeconds 600 Optional: How long to attempt to repair the model for before cancelling, large models or ones with many issues could take a while. Default is 10 minutes.

--help To see the usage again

Automation

For further automation, I've uploaded a powershell script that utilises PrusaSlicer in order to center and export models as .3MFs, followed by this repair process. See ConvertSTL.ps1. Simply edit this file to adjust the paths to your prusa-slicer.exe and MeshRepair.exe.

Requirements

  • Powershell (any Windows machine will have this)
  • PrusaSlicer (Slic3r or anything based on Slic3r could work too)

Usage

ConvertSTL.ps1 will find, convert, and then repair .STL files using this CLI tool. Simply edit the ps1 file in notepad or your editor of choice and add the paths to prusa-slicer.exe, and MeshRepair.exe

To run it, open terminal/powershell and navigate to the containing directory

cd "C:/folder-containing-ConvertSTL.ps1"

Then, run the tool, passing in a folder that contains STL files

./ConvertSTL.ps1 "C:/folder-containing-STLs"

windows3mfrepaircli's People

Contributors

arnasdev avatar

Stargazers

OzWookiee avatar

Watchers

 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.