Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
arpruss committed Feb 21, 2017
1 parent f717c5f commit dfd56c4
Show file tree
Hide file tree
Showing 12 changed files with 2,253 additions and 5 deletions.
15 changes: 10 additions & 5 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
MIT License

Copyright (c) 2017 arpruss

Main code copyright (c) 2016-2017 Alexander R. Pruss
SVG path code copyrights:
Lennart Regebro <regebro@gmail.com>, Original Author
Justin Gruenberg implemented the Quadradic Bezier calculations and provided suggestions and feedback about the d() function.
Michiel Schallig suggested calculating length by recursive straight-line approximations, which enables you to choose between accuracy or speed. Steve Schwarz added an error argument to make that choice an argument.
Thanks also to bug fixers Martin R, abcjjy, Daniel Stender and MTician.

The MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand All @@ -18,4 +23,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
58 changes: 58 additions & 0 deletions heart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions inflatemesh.inx
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
<_name>OpenSCAD Inflation Export</_name>
<id>mobi.omegacentauri.inflatemesh</id>
<dependency type="extension">org.inkscape.output.svg.inkscape</dependency>
<dependency type="executable" location="extensions">inflatemesh.py</dependency>
<output>
<extension>.scad</extension>
<mimetype>text/plain</mimetype>
<_filetypename>OpenSCAD inflated file (*.scad)</_filetypename>
<_filetypetooltip>Export an OpenSCAD inflation of closed paths</_filetypetooltip>
<dataloss>true</dataloss>
</output>
<param name="tab" type="notebook">
<page name="scad" _gui-text="Settings ">
<param name="resolution" type="float" min="0.0001" max="10.0" precision="2" _gui-text="Mesh resolution (mm):" _gui-description="Set mesh resolution (Default: 1)">1</param>
<param name="flatness" type="float" min="0.00" max="10.0" precision="3" _gui-text="Flatness (0-10):" _gui-description="Flatness of top for inflation (Default: 0)">0</param>
<param name="thickness" type="float" min="0.01" max="1000000.0" precision="3" _gui-text="Thickness (mm):" _gui-description="Thickness of inflated mesh (Default: 10)">10</param>
<param name="xtwo-sided" type="boolean" _gui-text="Two sided" _gui-description="Two sided inflation">0</param>
</param>
</page>
<script>
<command reldir="extensions" interpreter="python">inflatemesh.py</command>
</script>
</inkscape-extension>
Loading

0 comments on commit dfd56c4

Please sign in to comment.