Skip to content

eridur-de/inkscape-standards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inkscape-standards

This repo contains some useful files like templates and color palettes to work with lasercut files. Files have to go Inkscape's user directory:

cd ~/.config/inkscape/

Color scheme

Recommended color in case we use svg:style element together with "class" attribute to style an element

Useful mapping

The desired usage for colors

Color CSS Code Cutting or Engraving What type of segments
black eri1 vector cutting (general) regular segments
blue eri2 vector cutting (inside) regular segments
green eri3 vector cutting (outside) regular segments
red eri4 vector engraving regular segments
magenta eri5 vector engraving slow segments
cyan eri6 vector cutting slow segments
yellow eri7 -- not yet used -- -- reserved --

The CSS for strokes

.eri1 {
  fill:none;
  fill-opacity:1;
  stroke:#000000; /*black*/
  stroke-opacity:1;
  stroke-width:0.26458333; /*1px*/
  stroke-linecap:round;
  stroke-linejoin:round;
}
.eri2 {
  fill:none;
  fill-opacity:1;
  stroke:#0000FF; /*blue*/
  stroke-opacity:1;
  stroke-width:0.26458333; /*1px*/
  stroke-linecap:round;
  stroke-linejoin:round;
}
.eri3 {
  fill:none;
  fill-opacity:1;
  stroke:#00FF00; /*green*/
  stroke-opacity:1;
  stroke-width:0.26458333; /*1px*/
  stroke-linecap:round;
  stroke-linejoin:round;
}
.eri4 {
  fill:none;
  fill-opacity:1;
  stroke:#FF0000; /*red*/
  stroke-opacity:1;
  stroke-width:0.26458333; /*1px*/
  stroke-linecap:round;
  stroke-linejoin:round;
}
.eri5 {
  fill:none;
  fill-opacity:1;
  stroke:#FF00FF; /*magenta*/
  stroke-opacity:1;
  stroke-width:0.26458333; /*1px*/
  stroke-linecap:round;
  stroke-linejoin:round;
}
.eri6 {
  fill:none;
  fill-opacity:1;
  stroke:#00FFFF; /*cyan*/
  stroke-opacity:1;
  stroke-width:0.26458333; /*1px*/
  stroke-linecap:round;
  stroke-linejoin:round;
}
.eri7 {
  fill:none;
  fill-opacity:1;
  stroke:#FFFF00; /*yellow*/
  stroke-opacity:1;
  stroke-width:0.26458333; /*1px*/
  stroke-linecap:round;
  stroke-linejoin:round;
}

HowTo use another directory as user's font directory

Instead of installing each font we need to the default directory, we just can use a symbolic link to a shared dir, which is synced over cloud. This also omits to copy the font files to Inkscape dir. This is useful for a multi computer environment, where every computer should have the same set of recent files. We use Seafile in this example:

#on Kubuntu/Ubuntu we can do:
cd /usr/local/share
sudo su
rmdir fonts #must be empty
ln -sf ~/Seafile/horizon.somebody.com/fonts fonts
chown -H root:staff fonts/

Useful settings in preferences.xml

configurations for Bounding Box, Simplify Path Treshold, Node Tool, Python Interpreter (extensions)

vim ~/.config/inkscape/preferences.xml
  <group
     id="extensions"
     python-interpreter="/home/tomate/.config/inkscape/extensions/mightyscape-1.2/venv/bin/python3
  <group
     id="tools"
     bounding_box="1">
    <eventcontext
       id="nodes"
       selcue="1"
       gradientdrag="1"
       pathflash_enabled="1"
       pathflash_unselected="0"
       pathflash_timeout="500"
       show_handles="1"
       show_outline="1"
       sculpting_profile="1"
       single_node_transform_handles="0"
       show_transform_handles="1"
       live_outline="1"
       live_objects="1"
       show_helperpath="0"
       edit_clipping_paths="1"
       edit_masks="1"
       pathflash_selected="1"
       show_path_direction="1" />
    <group
       id="simplifythreshold"
       value="0.0001" />

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published