more meta data

This commit is contained in:
Mario Voigt 2021-10-14 21:19:40 +02:00
parent efb2214cd6
commit 029db0588f
20 changed files with 412 additions and 22 deletions

View File

@ -0,0 +1,20 @@
[
{
"name": "Buxtronix Living Hinges",
"id": "fablabchemnitz.de.buxtronix_living_hinges",
"path": "buxtronix_living_hinges",
"original_name": "Living Hinges",
"original_id": "net.buxtronix.living_hinge",
"license": "GNU GPL v3",
"license_url": "https://github.com/buxtronix/living-hinge/blob/master/LICENSE",
"comment": "",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/buxtronix_living_hinges",
"fork_url": "https://github.com/buxtronix/living-hinge",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Buxtronix+Living+Hinges",
"inkscape_gallery_url": null,
"main_authors": [
"github.com/buxtronix",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "Can Generator",
"id": "fablabchemnitz.de.can_generator",
"path": "can_generator",
"original_name": "Dosengenerator",
"original_id": "githubacct.uniqueid.Dosengenerator",
"license": "GNU GPL v3",
"license_url": "https://github.com/minirevollo/Inkscape-Dosen-Generator/blob/master/LICENSE",
"comment": "ported to Inkscape v1 by Mario Voigt",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/can_generator",
"fork_url": "https://github.com/minirevollo/Inkscape-Dosen-Generator",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Can+Generator",
"inkscape_gallery_url": null,
"main_authors": [
"github.com/minirevollo",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "Card Layout Guides",
"id": "fablabchemnitz.de.card_layout_guides",
"path": "card_layout_guides",
"original_name": "Cards",
"original_id": "phillips.effect.cardlayoutguides",
"license": "GNU GPL v2",
"license_url": "https://sourceforge.net/p/razorfoss/svn/HEAD/tree/trunk/Inkscape/LayoutGuides/CardLayoutGuides.py",
"comment": "",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/card_layout_guides",
"fork_url": "https://sourceforge.net/p/razorfoss/svn/HEAD/tree/trunk/Inkscape/LayoutGuides/",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Card+Layout+Guides",
"inkscape_gallery_url": null,
"main_authors": [
"lukerazor@hotmail.com",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "Chain Paths",
"id": "fablabchemnitz.de.chain_paths",
"path": "chain_paths",
"original_name": "Chain Paths",
"original_id": "com.github.fablabnbg.inskscape-chain-paths",
"license": "GNU GPL v2",
"license_url": "https://github.com/fablabnbg/inkscape-chain-paths/blob/master/LICENSE",
"comment": "",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/chain_paths",
"fork_url": "https://github.com/fablabnbg/inkscape-chain-paths",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Chain+Paths",
"inkscape_gallery_url": null,
"main_authors": [
"github.com/fablabnbg",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "Checkerboard",
"id": "fablabchemnitz.de.checkerboard",
"path": "checkerboard",
"original_name": "Checkerboard",
"original_id": "org.jeffkayser.checkerboard",
"license": "GNU GPL v2",
"license_url": "https://github.com/jeffkayser/inkscape-checkerboard/blob/master/LICENSE",
"comment": "ported to Inkscape v1 by Mario Voigt",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/checkerboard",
"fork_url": "https://github.com/jeffkayser/inkscape-checkerboard",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Checkerboard",
"inkscape_gallery_url": null,
"main_authors": [
"github.com/jeffkayser",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "Chip Scratches",
"id": "fablabchemnitz.de.chip_scratches",
"path": "chip_scratches",
"original_name": "ChipScratches",
"original_id": "ca.sfu.AT.kurn.ChipScratches",
"license": "GNU GPL v2",
"license_url": "https://inkscape.org/~kurn/%E2%98%85chipscratches",
"comment": "ported to Inkscape v1 by Mario Voigt",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/chip_scratches",
"fork_url": "https://inkscape.org/~kurn/%E2%98%85chipscratches",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Chip+Scratches",
"inkscape_gallery_url": null,
"main_authors": [
"inkscape.org/kurn",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "Circle Tangents",
"id": "fablabchemnitz.de.circle_tangents",
"path": "circle_tangents",
"original_name": "Tangent",
"original_id": "org.inkscape.tangent",
"license": "GNU GPL v3",
"license_url": "https://github.com/Rhysun/inkTan/blob/master/tangent.py",
"comment": "ported to Inkscape v1 manually by Mario Voigt",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/circle_tangents",
"fork_url": "https://github.com/Rhysun/inkTan",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Circle+Tangents",
"inkscape_gallery_url": null,
"main_authors": [
"github.com/Rhysun",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "Cleanup Styles",
"id": "fablabchemnitz.de.cleanup_styles",
"path": "cleanup_styles",
"original_name": "Cleanup",
"original_id": "com.attoparsec.filter.cleanup",
"license": "GNU GPL v2",
"license_url": "https://github.com/attoparsec/inkscape-extensions/blob/master/cleanup.py",
"comment": "ported to Inkscape v1 by Mario Voigt",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/cleanup_styles",
"fork_url": "https://github.com/attoparsec/inkscape-extensions",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Cleanup+Styles",
"inkscape_gallery_url": null,
"main_authors": [
"github.com/attoparsec",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,19 @@
[
{
"name": "Clip Out",
"id": "fablabchemnitz.de.clip_out",
"path": "clip_out",
"original_name": "Clip Out",
"original_id": "org.inkscape.inklinea.clip_out",
"license": "GNU GPL v3",
"license_url": "https://gitlab.com/inklinea/clip-out/-/blob/main/LICENSE",
"comment": "",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/clip_out",
"fork_url": "https://gitlab.com/inklinea/clip-out",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Clip+Out",
"inkscape_gallery_url": null,
"main_authors": [
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "Clones In Perspective",
"id": "fablabchemnitz.de.clones_in_perspective",
"path": "clones_in_perspective",
"original_name": "Clones in Perspective",
"original_id": "org.ekips.filter.clonesPerspective",
"license": "GNU GPL v2",
"license_url": "https://inkscape.org/de/~kurn/%E2%98%85clonesp",
"comment": "ported to Inkscape v1 manually by Mario Voigt",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/clones_in_perspective",
"fork_url": "https://inkscape.org/de/~kurn/%E2%98%85clonesp",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Clones+In+Perspective",
"inkscape_gallery_url": null,
"main_authors": [
"inkscape.org/kurn",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "Close Paths",
"id": "fablabchemnitz.de.close_paths",
"path": "close_paths",
"original_name": "Close curves",
"original_id": "ru.cnc-club.filter.close_curves",
"license": "GNU GPL v2",
"license_url": "https://www.cnc-club.ru/forum/download/file.php?id=94&sid=63473c1c91035bea64a8986cd1ab292c",
"comment": "ported to Inkscape v1 by Mario Voigt; See https://www.cnc-club.ru/forum/viewtopic.php?f=15&t=37&p=92",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/close_paths",
"fork_url": "https://www.cnc-club.ru/forum/download/file.php?id=94&sid=63473c1c91035bea64a8986cd1ab292c",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Close+Paths",
"inkscape_gallery_url": null,
"main_authors": [
"Nick Drobchenko:nick@cnc-club.ru",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "Collar",
"id": "fablabchemnitz.de.collar",
"path": "collar",
"original_name": "Collar",
"original_id": "org.inkscape.collarz",
"license": "GNU GPL v3",
"license_url": "https://github.com/obzerving/Collarz/blob/main/LICENSE",
"comment": "",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/collar",
"fork_url": "https://github.com/obzerving/Collarz",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Collar",
"inkscape_gallery_url": null,
"main_authors": [
"github.com/obzerving",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "Color Harmony",
"id": "fablabchemnitz.de.color_harmony",
"path": "color_harmony",
"original_name": "Color harmony",
"original_id": "de.vektorrascheln.color_harmony",
"license": "GNU GPL v2",
"license_url": "https://gitlab.com/moini_ink/color-harmony/-/blob/master/LICENSE",
"comment": "",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/color_harmony",
"fork_url": "https://gitlab.com/moini_ink/color-harmony",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Color+Harmony",
"inkscape_gallery_url": null,
"main_authors": [
"gitlab.com/moini_ink",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "Join Paths",
"id": "fablabchemnitz.de.join_paths",
"path": "join_paths",
"original_name": "Join Paths Optimized",
"original_id": "khema.optim.join.paths",
"license": "GNU GPL v2",
"license_url": "https://github.com/Shriinivas/inkscapejoinpaths/blob/master/LICENSE",
"comment": "ported to Inkscape v1 by Mario Voigt",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/join_paths",
"fork_url": "https://github.com/Shriinivas/inkscapejoinpaths",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Join+Paths+Optimized",
"inkscape_gallery_url": null,
"main_authors": [
"github.com/Shriinivas",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "JPEG Export",
"id": "fablabchemnitz.de.jpeg_export",
"path": "jpeg_export",
"original_name": "JPEG Export",
"original_id": "id.giac.export.jpg",
"license": "GNU GPL v3",
"license_url": "https://github.com/giacmir/Inkscape-JPEG-export-extension/blob/master/jpegexport.py",
"comment": "ported to Inkscape v1 by Mario Voigt",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/jpeg_export",
"fork_url": "https://github.com/giacmir/Inkscape-JPEG-export-extension",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/JPEG+Export",
"inkscape_gallery_url": null,
"main_authors": [
"github.com/giacmir",
"github.com/vmario89"
]
}
]

View File

@ -11,6 +11,7 @@
<param name="linewidth" type="float" min="0.001" max="100" precision="3" gui-text="Line width">1</param>
<param name="draw_arc" type="bool" gui-text="Draw Arc">true</param>
<param name="draw_centering_circle" type="bool" gui-text="Draw Centering Circle">false</param>
<param name="logarithmic_scale" type="bool" gui-text="Logarithmic Scale">false</param>
<param name="units" type="optiongroup" gui-text="Units" appearance="combo">
<option value="px">px</option>
<option value="mm">mm</option>

View File

@ -34,7 +34,9 @@ class KnobScale(inkex.EffectExtension):
pars.add_argument("--angle", type=float, default=260.0, help="Angle of the knob scale in degrees")
pars.add_argument("--draw_arc", type=inkex.Boolean, default='True')
pars.add_argument("--draw_centering_circle", type=inkex.Boolean, default='False')
pars.add_argument("--logarithmic_scale", type=inkex.Boolean, default='False', help="")
pars.add_argument("-u", "--units", default="px", help="units to measure size of knob")
# Tick settings
pars.add_argument("--n_ticks", type=int, default=5)
pars.add_argument("--ticksize", type=float, default=10)
@ -189,32 +191,59 @@ class KnobScale(inkex.EffectExtension):
if self.options.draw_centering_circle:
self.draw_centering_circle(arc_radius + tick_length + text_size + text_spacing, parent)
ticks_delta = angle / (n_ticks - 1)
start_ticks_angle = 1.5*pi - 0.5*angle
for tick in range(n_ticks):
self.draw_tick(radius, start_ticks_angle + ticks_delta*tick,
tick_length, parent)
if self.options.logarithmic_scale:
start_ticks_angle = 1.5*pi - 0.5*angle
for tick in range(n_ticks):
self.draw_tick(radius, start_ticks_angle + angle*log(tick+1)/log(n_ticks),
tick_length, parent)
if self.options.labels_enabled:
if self.options.rounding_level > 0:
tick_text = str(round(start_num +
float(tick) * (end_num - start_num) / (n_ticks - 1),
self.options.rounding_level))
else:
tick_text = str(int(start_num + float(tick) * (end_num - start_num) / (n_ticks - 1)))
if self.options.labels_enabled:
if self.options.rounding_level > 0:
tick_text = str(round(start_num +
float(tick) * (end_num - start_num) / (n_ticks - 1),
self.options.rounding_level))
else:
tick_text = str(int(start_num + float(tick) * (end_num - start_num) / (n_ticks - 1)))
self.draw_text(tick_text, radius + tick_length + text_spacing,
start_ticks_angle + ticks_delta*tick,
text_size,
parent)
self.draw_text(tick_text, radius + tick_length + text_spacing,
start_ticks_angle + angle*log(tick+1)/log(n_ticks),
text_size,
parent)
if tick == (n_ticks - 1):
break
if tick == (n_ticks - 1):
break
for subtick in range(n_subticks):
self.draw_tick(subtick_radius, start_ticks_angle + angle*log(tick+1+(subtick+1)/(n_subticks+1))/log(n_ticks),
subtick_length, parent)
else:
ticks_delta = angle / (n_ticks - 1)
start_ticks_angle = 1.5*pi - 0.5*angle
subticks_delta = ticks_delta / (n_subticks + 1)
subtick_start_angle = start_ticks_angle + ticks_delta*tick + subticks_delta
for subtick in range(n_subticks):
self.draw_tick(subtick_radius, subtick_start_angle + subticks_delta*subtick,
for tick in range(n_ticks):
self.draw_tick(radius, start_ticks_angle + ticks_delta*tick,
tick_length, parent)
if self.options.labels_enabled:
if self.options.rounding_level > 0:
tick_text = str(round(start_num +
float(tick) * (end_num - start_num) / (n_ticks - 1),
self.options.rounding_level))
else:
tick_text = str(int(start_num + float(tick) * (end_num - start_num) / (n_ticks - 1)))
self.draw_text(tick_text, radius + tick_length + text_spacing,
start_ticks_angle + ticks_delta*tick,
text_size,
parent)
if tick == (n_ticks - 1):
break
subticks_delta = ticks_delta / (n_subticks + 1)
subtick_start_angle = start_ticks_angle + ticks_delta*tick + subticks_delta
for subtick in range(n_subticks):
self.draw_tick(subtick_radius, subtick_start_angle + subticks_delta*subtick,
subtick_length, parent)
if __name__ == '__main__':

View File

@ -0,0 +1,20 @@
[
{
"name": "Knob Scale",
"id": "fablabchemnitz.de.knob_scale",
"path": "knob_scale",
"original_name": "Knob Scale",
"original_id": "com.knob_scale",
"license": "GNU GPL v3",
"license_url": "https://github.com/leechwort/knob-scale-generator/blob/master/LICENSE",
"comment": "",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/knob_scale",
"fork_url": "https://github.com/leechwort/knob-scale-generator",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Knob+Scale",
"inkscape_gallery_url": null,
"main_authors": [
"github.com/leechwort",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,20 @@
[
{
"name": "Label Feature With Fill Color",
"id": "fablabchemnitz.de.label_feature_with_fill_color",
"path": "label_feature_with_fill_color",
"original_name": "Label feature with fill color",
"original_id": "org.inkscape.labelColour",
"license": "GNU GPL v3",
"license_url": "https://gitlab.com/christoph.fink/inkscape-extension-colour-label/-/blob/master/LICENSE",
"comment": "",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/label_feature_with_fill_color",
"fork_url": "https://gitlab.com/christoph.fink/inkscape-extension-colour-label",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Label+Feature+With+Fill+Color",
"inkscape_gallery_url": null,
"main_authors": [
"gitlab.com/christoph.fink",
"github.com/vmario89"
]
}
]

View File

@ -0,0 +1,21 @@
[
{
"name": "Label Guides",
"id": "fablabchemnitz.de.label_guides",
"path": "label_guides",
"original_name": "Label Guides",
"original_id": "org.inkscape.effect.labelguides",
"license": "GNU GPL v2",
"license_url": "https://github.com/johnbeard/inkscape-label-guides/blob/master/COPYING",
"comment": "",
"source_url": "https://gitea.fablabchemnitz.de/FabLab_Chemnitz/mightyscape-1.X/src/branch/master/extensions/fablabchemnitz/label_guides",
"fork_url": "https://github.com/johnbeard/inkscape-label-guides",
"documentation_url": "https://stadtfabrikanten.org/display/IFM/Label+Guides",
"inkscape_gallery_url": null,
"main_authors": [
"github.com/johnbeard",
"github.com/PaulSchulz",
"github.com/vmario89"
]
}
]