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

Silhouette (original) not finding second registration mark #276

Open
peterdc opened this issue Nov 19, 2023 · 2 comments
Open

Silhouette (original) not finding second registration mark #276

peterdc opened this issue Nov 19, 2023 · 2 comments

Comments

@peterdc
Copy link

peterdc commented Nov 19, 2023

I have a Silhouette QuickCutz, also referred to as the Silhouette Original; however, I believe it is the same machine as the Craft Robo CC200-20. This machine uses "Type 2" registration marks, which do not have a square in the upper right, but another "L" corner.

I've been able to get this to work in Sillouette Studio and have modified the template to work with Type 2 marks. Using inkscape-silhouette I have been able to detect the first registration mark, but the machine then scrolls continuously (well past the end of the sheet and cutting mat).

Suggestions for how to troubleshoot this and where to look in the code would be appreciated.

Thank you very much for making this plugin, I've had great success cutting without registration marks and really appreciate that my many year old machine is supported for use with Inkscape.

@t0b3
Copy link
Collaborator

t0b3 commented Nov 19, 2023

@peterdc thank you for the flowers.
I guess it might be the best though not easiest way to do some usb sniffing.
... alternatively you may find some documents, though I can't say whether this applies to your model or not

@EtherGraf
Copy link
Collaborator

The relevant section of the code which starts the regmark search is in the following place.

if regmark:
# after registration logically (0,0) is at regmark position
# compensate the offset of the regmark to the svg document origin.
#bb = s.find_bbox(pathlist)
#print("bb llx=%g ury=%g" % (bb['llx'], bb['ury']), file=s.log)
#regoriginx = bb['llx']
#regoriginy = bb['ury']
print("bb regoriginx=%g regoriginy=%g" % (regoriginx, regoriginy), file=self.log)
offset = (offset[0] - regoriginx, offset[1] - regoriginy)
# Limit the cutting area inside cutting marks
height = reglength
width = regwidth
self.send_command("TB50,0") #only with registration (it was TB50,1), landscape mode
self.send_command("TB99")
self.send_command("TB52,2") #type of regmarks: 0='Original,SD', 2='Cameo,Portrait'
self.send_command("TB51,400") # length of regmarks
self.send_command("TB53,10") # width of regmarks
self.send_command("TB55,1")
if regsearch:
# automatic regmark test
# add a search range of 10mm
self.send_command(self.automatic_regmark_test_mm_cmd(reglength, regwidth, regoriginy - 10, regoriginx - 10))
else:
# manual regmark
self.send_command(self.manual_regmark_mm_cmd(reglength, regwidth))

Have a a look there as a starting point.

Maybe your first try should be to change the regmark type in line 1322

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

3 participants