Skip to content

Commit

Permalink
Merge branch 'registrationmarks' into master.
Browse files Browse the repository at this point in the history
Solves pull request #25
Tested and verified working on my Silhouette Portrait.
  • Loading branch information
EtherGraf committed Jan 16, 2017
2 parents 5d8eb52 + dd16493 commit cfbe1f6
Show file tree
Hide file tree
Showing 7 changed files with 428 additions and 29 deletions.
1 change: 1 addition & 0 deletions Commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Resources
* https://github.com/vishnubob/silhouette/blob/master/src/gpgl.py
* https://github.com/jnweiger/robocut/blob/master/Plotter.cpp#L344-L586
* https://github.com/fablabnbg/inkscape-silhouette/blob/master/silhouette/Graphtec.py#L305-L419
* https://github.com/Skrupellos/silhouette/blob/master/decode

Typical sequence
----------------
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,21 @@ Troubleshooting
If this reports no usb.core.Device to you, please help troubleshoot.

Using of registration marks
---------------------------

To plot with registration marks do the following:

1. Open the document examples/registration-marks.svg
2. Insert your cutting paths and graphics on the apropriate layers.
3. Printout the whole document including registration marks. You probably want to hide the cutting layer.
4. Select your cutting paths in the document, but exclude regmarks and graphics.
5. Set or ensure the correct values (regmark position/width/height) on the regmark tab.
6. Enable 'Document has registration marks' and 'Search for registration marks'
7. Start cut.

The plotter will search the registration marks at the given positions. If it founds the marks, they will serve as accurate reference and define the origin. Therefore it is necessary to set the correct offset values of the mark. As a result the cut will go precisely along the graphics.
At my device there seems to be a little offset between the search optics and the cutting knife. For enhanced precision I have to set an offset of 0,1mm for both x and y on the first tab to compensate.

Features
--------
Expand Down
170 changes: 170 additions & 0 deletions examples/registration-marks-a4-maxi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
170 changes: 170 additions & 0 deletions examples/registration-marks.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions sendto_silhouette.inx
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,13 @@ Pressure values of 19 or more make the machine misbehave. Beware.

<page name='reg' _gui-text='Regmarks'>
<param name="regmark" type="boolean" _gui-text="The document has registration marks">false</param>
<param name="regmark_help" type="description">???</param>
<param name="regsearch" type="boolean" _gui-text="Search for the registration marks">false</param>
<param name="regsearch_help" type="description">???</param>
<param name="regmark_help" type="description">The document contains printed registration marks</param>
<param name="regsearch" type="boolean" _gui-text="Search for the registration marks automatically">false</param>
<param name="regsearch_help" type="description">Search for the registration marks automatically. Seems on some devices there is another mode, where you can set the references manually.</param>
<param name="regwidth" type="float" min="0.0" max="10000" _gui-text="X mark distance [mm]">180</param>
<param name="reglength" type="float" min="0.0" max="10000" _gui-text="Y mark distance [mm]">230</param>
<param name="regoriginx" type="float" min="10.0" max="10000" _gui-text="Position of regmark from document left [mm]">15</param>
<param name="regoriginy" type="float" min="10.0" max="10000" _gui-text="Position of regmark from document top [mm]">20</param>
<param name="regdistance_help" type="description">Distance of the registration mark edges</param>
</page>

Expand Down
Loading

0 comments on commit cfbe1f6

Please sign in to comment.