Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add printable margin settings to regmark render #265

Open
mofosyne opened this issue Sep 14, 2023 · 3 comments
Open

[Feature Request] Add printable margin settings to regmark render #265

mofosyne opened this issue Sep 14, 2023 · 3 comments

Comments

@mofosyne
Copy link
Contributor

Found myself wanting extra space in an A4 sheet and also found out that my printer can print up to 4mm on each side, but the typical regmark is 10mm.

Would be ideal to adjust the safearea to also take this into account as it's clear we can extend the safe area beyond each edge to a certain amount as shown in this screenshot of the official editor.

image

@mofosyne
Copy link
Contributor Author

Is there a limit to how far this plugin can cut towards the edge of the page? Seems like it's ignoring paths that goes past the regmark

@EtherGraf
Copy link
Collaborator

As far as i know, in the plugin internal is done some clipping (search for clip in the sourcecode), but I know no details.
I assume, the only idea behind it was to keep the machine in its mechanical limits.

@mofosyne
Copy link
Contributor Author

Unsure but this looks somewhat relevant

  • def clip_point(self, x, y, bbox): Clips coords x and y by the 'clip' element of bbox. Returns the clipped x, clipped y, and a flag which is true if no actual clipping took place.

Used by plot_cmds() in ~/git/inkscape-silhouette/silhouette/Graphtec.py:1143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants