ghostkeeper / convertto3mf Goto Github PK
View Code? Open in Web Editor NEWCommand-line application to convert 3D models to 3MF
License: GNU Affero General Public License v3.0
Command-line application to convert 3D models to 3MF
License: GNU Affero General Public License v3.0
I wish to implement some form of error handling. Some cases that need to be handled for certain are:
In order to improve usability and the feeling of openness around this application, we need to build a bit of a community around it. This includes:
To reduce anxiety and increase users' willingness to wait on the result, we should implement a textual progress bar in the terminal for the entire conversion progress. Above or below this progress bar we should write down what the application is currently doing.
While this application serves my personal need in its current state, I'd like to expand its functionality to what other people might need. One of the pillars of this is to be feature-complete for 3MF. While there are many features in 3MF, one of the most prominent ones is the ability to store textures.
The OBJ format that ConvertTo3mf currently reads has support for textures as well. To implement this feature, we need to implement reading textures from OBJ, storing them in our intermediary data structure, and then writing them to the 3MF file.
If there is an official way to include filament swap in the 3MF standard , then that should be the way to go.
However in the meantime at least for Prusa Slicer, the way they mark filament swap layer is via a file in ./Metadata/Prusa_Slicer_custom_gcode_per_print_z.xml
, for example the content of that file may look like:
<?xml version="1.0" encoding="utf-8"?>
<custom_gcodes_per_print_z>
<code print_z="5.3000001907348633" type="0" extruder="1" color="#6CC52D" extra="" gcode="M600
G1 E0.5 F1500 ; prime after color change"/>
<mode value="SingleExtruder"/>
</custom_gcodes_per_print_z>
What was I am trying to do: I was trying to make a makefile that would generated 3mf files with filament swap at various z height
While this application serves my personal need in its current state, I'd like to expand its functionality to what other people might need. One of the pillars of this is to be feature-complete for 3MF. While there are many features in 3MF, one of the most prominent ones is the ability to store colours.
The OBJ file format that ConvertTo3mf is currently able to read also has the ability to store colours. We need to read those colours from that file format, store them in our intermediary data structure, and then write them out to the 3MF file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.