Guilloche!

Post your results here. Share with the world.
User avatar
Mooselake
Old Timer
Posts: 522
Joined: Sun Dec 26, 2010 12:21 pm
Location: Mooselake Manor

Re: Guilloche!

Post by Mooselake »

The 3x3 gear array crashed Carbide Create multiple times, maybe it was too many small vectors.  So for fun here's today's project.  I tried an online gcode optimizer on the second one, and while it reduced the rapid horizontal move total length it didn't change the engrave time noticeably.  What it really needs is eliminating a number of unnecessary up and down movements by optimizing the cut paths.  For example the dial circles could have been two cuts, not a series of ups and downs distracted by the tic marks.  Oh, well, still took under 5 minutes although I've done some non-gearotic engraving that took well over an hour, a raster to vector converted pencil sketch that I worked on almost 10 years ago.  Too many small artifacts that didn't get edited out.

There's a small gotcha in the "2" in the magnified picture, one side is an S that descends below the bottom line.  These were un-snippable in Vexx.  Not significant since it's the old editor.

This is clock dial from the Auggie wizard with a simple guilloche pattern overlaid on top, diamond dragged at 800mm/minute and with the spring compressed 5mm (half way), trying 2.5 was too shallow a cut.  That 5mm, plus the 1mm safe height, consumes most of the cut time as it makes 200 trips up and down.

Kirk
Attachments
IssueWith2.jpg
GuillocheClockDials.jpg
Hessel Oosten
Old Timer
Posts: 43
Joined: Sat Apr 07, 2012 10:22 am

Re: Guilloche!

Post by Hessel Oosten »

And another SUPERIOR guilloch?  video:

https://www.youtube.com/watch?v=b-6B776Hw3I

See eventually from ~ 8 minutes.

Hessel
User avatar
Mooselake
Old Timer
Posts: 522
Joined: Sun Dec 26, 2010 12:21 pm
Location: Mooselake Manor

Re: Guilloche!

Post by Mooselake »

Thanks, haven't seen that one yet.  I'll watch it later today, have some appointments and maybe bring a new dog home from the animal shelter to keep the moosedog company

70 1.5"/38mm brass blanks arrived today, 50 that were lost in shipping for almost two weeks and 20 that I ordered yesterday to replace some of them (funny how that makes the missing ones appear).  Need to make a fixture and see what engraved brass looks like

Kirk
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4586
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: Guilloche!

Post by ArtF »

>>couldn't figure out how to get back to upright and flat

  Double click on Vexx's screen will return to flat plane x,y.

Results are looking great...

Art
User avatar
Mooselake
Old Timer
Posts: 522
Joined: Sun Dec 26, 2010 12:21 pm
Location: Mooselake Manor

Re: Guilloche!

Post by Mooselake »

Hessel, thanks for the video, we watched it yesterday evening.  Now I'm motivated to try straight line guilloche too.  This presenter was less down on CNC than my other sources

I've been trying to avoid doing any actual programming (something about retired and wanting to do new stuff), but am becoming interested in the Processing environment, mostly because it looks like it handles most of the visualization details along with simplifying vector output.  I was mostly a real time and OS programmer, missed all that gui stuff.  The challenge with simulating a straight line machine is the pattern bars; sawtooth and sine should be straightforward but DIY pattern bars would be trickier especially trying to avoid lots of short vectors.  Phasing doesn't look to hard, figuring out how to represent horizontal movement, particularly trying to do some of it automatically looks about middle difficulty.  Of course, that's from a non-graphical programmer and could be totally wrong.

I'm starting to dream about how to add geometric chuck patterns to Art's style of envelope.  Not sure if that qualifies as nightmares or not.  The math looks pretty straightforward, which means I have no clue about what it would take  :)

Kirk
User avatar
Mooselake
Old Timer
Posts: 522
Joined: Sun Dec 26, 2010 12:21 pm
Location: Mooselake Manor

Re: Guilloche!

Post by Mooselake »

This may not look like much, but the svg file was generated with a 30 line program written in processing that creates a triangle straight line machine pattern bar and then steps it across the workpiece.  The scaling is way off, one might say non-existent, no way to change parameters except recompiling, no phasing, masking, spacing changes, pattern bar changes, etc.    Lots more to go but actually achieved a CNCable file!  First code I've written in quite a while, first attempt at processing too.  Not the easiest way, but it allows for other styles, or even customized, patterns.  Who knows, might evolve into a straight line guilloche machine simulator. 

25mm sq, 90 degree diamond drag on anodized aluminum, 800 mm/minute.  Still haven't got the lighting thing, very sparkly in real life.

For grins here's the program, probably needs some comments :) :

Code: Select all

// create a PShape representing a triangle patternbar
//  with pitch spaced teeth, eventually this will be generalized 
//  to create additional types

import processing.svg.*;

PShape patternbar;
float pitch=20, pattern_spacing=10;
String output_file = "testZigZag.svg";

void setup() {
  size(400, 400);
  background( 0); // #b5a642);
  stroke(255);
  noLoop();
  beginRecord(SVG, output_file);
  patternbar = createShape();
  patternbar.beginShape();
  patternbar.noFill();
  patternbar.stroke(255);
  patternbar.strokeWeight(1);

&nbsp; for (float y=0; y<width; y++) {
&nbsp; &nbsp; patternbar.vertex(abs((y % pitch) - pitch/2), y);
&nbsp; }
&nbsp; patternbar.endShape();
}

void draw() {
&nbsp; for (float&nbsp; i=0; i < width; i += pattern_spacing) {
&nbsp; &nbsp; shape(patternbar,i,0);
&nbsp; }
&nbsp; &nbsp; 
&nbsp; endRecord();
}

Kirk
Attachments
ZigZag1.jpg
Hessel Oosten
Old Timer
Posts: 43
Joined: Sat Apr 07, 2012 10:22 am

Re: Guilloche!

Post by Hessel Oosten »

evolve into a straight line guilloche machine simulator
Now I'm motivated to try straight line guilloche too


Who knows ? May be... Art is reading this thread ?. ;)

It really looks great -and- promising !

Hessel
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4586
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: Guilloche!

Post by ArtF »

It does look good. Seems its more a function of technique than program
from the most part.

Art
User avatar
Mooselake
Old Timer
Posts: 522
Joined: Sun Dec 26, 2010 12:21 pm
Location: Mooselake Manor

Re: Guilloche!

Post by Mooselake »

A straight line machine traces a machined pattern bar, which can be pretty much any shape but from what I've been able to tell, based on perusing online sales,&nbsp; are mostly triangular waves, sine waves, and some special designs.&nbsp; To be traditional they need to be traceable by a "rubber" that rubs along them, so no undercutting or aggressive angles.&nbsp; Of course a CNC program isn't bound to that, but might as well try to stay close.&nbsp; Right now I'm working with 100mm pattern bars but eventually that should be extended to 150 or 200mm, just change a couple variables...

It's progressing. Added sine waves, some sliders for pitch (mm per repeat), spacing, and amplitude (amplitude currently only for sine waves, triangle is fixed at 45 and depends on pitch) and a button to write the SVG file, wasted a couple days trying to put the controls in a separate window and gave up over variable scope issues, seems I couldn't pass a boolean back to the main window out of a button and just added some whitespace on the right of the window for them.&nbsp; Processing's an overlay/preprocessor for java, and while I spent several years writing java EJBs in the early aughts my library's up north and memory's a little fuzzy on esoteric details.

To Do includes being able to switch patterns without recompiling, not hard but leads into another issue which is specifying pattern designs, spacing, and phase (aka up/down pattern bar displacement) on each line.&nbsp; Besides the canned pattern bars need to add a capability to read a properly formatted SVG file as a pattern bar (it's only a couple lines of code), designed elsewhere.&nbsp; Need to add workpiece scaling rather than a fixed 100mm square, zooming (need to see exact line placement in some designs and 3.8 pixels per mm (96 ppi) is too tiny for my eyes).&nbsp; Also need to figure out how to do masking, as in remove all of the design that's outside a selected shape, will probably limit that to rectangles and ellipses including circles.&nbsp; Still a long way from basket weaves which need variable spacing and phasing.&nbsp; Other than that one zigzag pattern the CNC machine has remained idle.

Art, are booleans implemented in Vexx?&nbsp; Specifically I'm trying to do intersections, remove everything outside a closed shape, and couldn't figure out how to make that work.&nbsp; My patterns are multiple single lines, not a closed shapes,&nbsp; but the outside shape would be closed.&nbsp; All I really want to do right now is be able to use 38mm brass disks without aircutting the parts outside.&nbsp; That would be tough with the spring loaded diamond drag.

My doc wants a biopsy of my knee, the surgeon says he'll have to open it up again rather than a needle or endoscopic (he didn't think much of my suggestion of a small hole saw...) and take pieces from various places, and is scheduled for 10/2.&nbsp; Of course it's a rare (in prosthetic joints) and difficult to cure infection so essentially no guidance in the literature of how to get rid of it (they only found one sort of applicable case in the database), the biopsy is to see if the treatment has worked.&nbsp; If it has, new knee joint about a month after the biopsy, if not then ??&nbsp; Might be away from the router and programming desk for a while after that depending on how the knee bends and chair sitting goes.&nbsp; Moose might have 4 knees, but the redundancy just didn't work out on this one.

Kirk
Hessel Oosten
Old Timer
Posts: 43
Joined: Sat Apr 07, 2012 10:22 am

Re: Guilloche!

Post by Hessel Oosten »

Here today some "straight-line engine turning...", with the mill.. ;).

The "basket weave"".

Small diamond engraver, aluminum (polished previously), diam. 30, depth ~ 0.05 mm, feed 75mm/min.

Nice explanation of the pattern-making by watchmaker Roger Smith:

https://www.youtube.com/watch?v=LBiiDpexmA8

Hessel
Attachments
P1280201kl.jpg
Last edited by Hessel Oosten on Sun Sep 29, 2019 9:47 am, edited 1 time in total.
User avatar
Mooselake
Old Timer
Posts: 522
Joined: Sun Dec 26, 2010 12:21 pm
Location: Mooselake Manor

Re: Guilloche!

Post by Mooselake »

Nice!

You're ahead of me! &nbsp;I'm still working on a simulator and spent the afternoon trying to debug a basket weave pattern generator,&nbsp; darn thing is having some display issues. &nbsp;Had other distractions lately or maybe I'd have gotten further. &nbsp;How did you create that pattern?

I've been using both Peter (?) Shapiro and Roger Smith's videos as inspiration and design advice, thanks in part to your links.&nbsp; There doesn't seem to be a lot of online info on straight line machines, and I'm guessing at some of the terminology and looking at eBay and other sales offerings to get an idea of what was available as pattern bar designs

Kirk
Last edited by Mooselake on Sun Sep 29, 2019 12:13 pm, edited 1 time in total.
Hessel Oosten
Old Timer
Posts: 43
Joined: Sat Apr 07, 2012 10:22 am

Re: Guilloche!

Post by Hessel Oosten »

Kirk,

I'm totally -not- ahead of you !

This was the simple way of drawing a DXF and NOT a simulator !!!

I followed Roger Smith's pattern, with the polylines (PEDIT) the old straight zag-zag-line this machine also makes.
So many lines are double by this "copied" method (see video Roger Smith), which gives a longer millng time.
In fact if there is zero backlash this will be the same as a pattern without these double lines....
If that (zero backlash) is the case, it's a loss of energy.
If the machine is not quite optimal..., milling a long way from one side to the other side (without too much interuptions in Z axis and X/Y direction) could be better (I think...).

Attached the DXF.

Hessel
Attachments

[The extension has been deactivated and can no longer be displayed.]

Last edited by Hessel Oosten on Mon Sep 30, 2019 1:23 am, edited 1 time in total.
User avatar
Mooselake
Old Timer
Posts: 522
Joined: Sun Dec 26, 2010 12:21 pm
Location: Mooselake Manor

Re: Guilloche!

Post by Mooselake »

I'm trying to stay faithful to the old machines, at least by generating (plan to eventually read from a file, too) triangle and sine pattern bar equivalents, and then shifting the resulting patterns horizontally and vertically like the machine does. &nbsp;Might add a bit of randomness to look a bit like handmade. Simulation might be an exaggeration since I'm just creating the pattern and putting copies of it into the workspace, rather than actually tracing along it. &nbsp;The difference is subtle, the actual machine uses a rubber moving against the pattern and the result is affected by the geometry of the point, my version could be considered to have an infinitely sharp rubber. &nbsp;The programming language I'm using (Processing) works in pixels, not sure how that carries over into the written svg files since a pixel is just over a quarter of a mm in their model. &nbsp;Still have to figure out how to do image masking/clipping to, although I might punt and try it in Inkscape for now. &nbsp;Couldn't figure out how to do it with Vexx or Carbide Create, might have something to do with multiple open paths clipped by a closed shape.

If I keep going I might have to either dredge up my ancient copy of visual c++, or see if vc express is good enough to do what I want, or maybe NetBeans after seeing Bill Oombs rose engine simulator. &nbsp;Haven't found how to do either a pulldown list or spreadsheet emulator in Processing to allow specifying each line of a pattern, so I'm just inserting the appropriate description and recompiling. &nbsp;Been a while since I've rubbed any programming neurons together, they've gotten a little gummed up. &nbsp;Wonder if they make a version of WD40 for that?

I found a copy of Alan Battersby's geometric chuck simulator on GitHub for a future project, avoiding the need to work out the math for a 7 gear train that moves in mysterious (at least to me now) ways that I haven't found a description of. &nbsp;In the old days they'd sometimes stack 2 or more chucks. &nbsp;Not sure I'm up to rotating frames of reference for stacked chucks, perhaps polar coordinates with the appropriate shift?

If I can get this all done maybe we can talk Art into cleaning it up and putting it into a Vexx wizard or two :)

Next knee surgery back on for Wednesday, two days from now, pending another doctor clearance. &nbsp;Might delay the programming effort a while.

Kirk
Last edited by Mooselake on Mon Sep 30, 2019 9:47 am, edited 1 time in total.
Hessel Oosten
Old Timer
Posts: 43
Joined: Sat Apr 07, 2012 10:22 am

Re: Guilloche!

Post by Hessel Oosten »

Much success with your knee !

Hopefully straightening -and- turning the knee... ;) will follow soon !

H.
Hessel Oosten
Old Timer
Posts: 43
Joined: Sat Apr 07, 2012 10:22 am

Re: Guilloche!

Post by Hessel Oosten »

Inspired lately by the guilloch? messages from Mooslake (Kirk) I did a few other trials.

If I did saw well this week, Kirk posted a message in another subforum here, so I hope there is some form of recovery from the latest medical procedure.
In that case.... it's time for a few pictures.


First the "basket weave pattern", well known.

But in a video here above we saw that master engraver/horologist Joshua Shapiro, made a variant on the basket weave:

Some baskets .. are left empty in first instance, but later.. filled with an even smaller basket weave pattern.
So a basket weave within a basket weave.

Time for some amateuristic imitations....:-).

In the second photo the circle (about 30 mm) is only rotated a few times, to show in all three the same object, but only with that rotation
(to show different looking patterns, ONLY due to the position of the light).

Hessel
Attachments
shapiro views.jpg
P1280199.JPG
Last edited by Hessel Oosten on Tue Nov 26, 2019 11:43 am, edited 1 time in total.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests