CNC Spirograph

Page 1 of 11 1234 ... LastLast
Results 1 to 12 of 124

Thread: CNC Spirograph

  1. #1
    Registered spalm's Avatar
    Join Date
    Feb 2005
    Location
    USA
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default CNC Spirograph

    Are you Board? Want to do something really useless with your CNC? Turn it into a Spirograph. I wrote a VB application to generate Gcode. It’s actually kind of fun to watch it getting carved out.

    Let me know if it works for you,
    Steve

    EDIT: Version 1.3 is available in post #22

    Similar Threads:
    Attached Thumbnails Attached Thumbnails CNC Spirograph-spiros-jpg   CNC Spirograph-spiroscreen-jpg  
    Attached Files Attached Files
    Last edited by spalm; 09-20-2005 at 10:02 PM.


  2. #2
    Registered santiniuk's Avatar
    Join Date
    Nov 2004
    Location
    U.K - England
    Posts
    389
    Downloads
    0
    Uploads
    0

    Default

    Neat program spalm. I had a bit play to try it out.

    I don't get the preview of the circles in the window.

    Gcode works fine.

    output pic attached for ref.

    Cheers....

    Attached Thumbnails Attached Thumbnails CNC Spirograph-image1-gif  


  3. #3
    Registered Evodyne's Avatar
    Join Date
    Dec 2004
    Location
    USA
    Posts
    518
    Downloads
    0
    Uploads
    0

    Unhappy

    Spalm,

    What a cool program. I havn't fiddled with spirographs is 30+ years! Hey-I tried to copy to an XP machine. When I go to run I get an error message "Component richtx32.ocx or one of its dependencies not correctly registered: a file is missing or invalid". Any ideas?

    Lance



  4. #4
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    29847
    Downloads
    0
    Uploads
    0

    Default

    I accidentally got it to output 25K+ lines of G-code. I had to kill it with the task manager. Also got it to crash if the little circle is set to 0.

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  5. #5
    Registered spalm's Avatar
    Join Date
    Feb 2005
    Location
    USA
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default

    Hey,
    Sorry guys for any problems, I banged this out in Visual Basic Ver 6. I can see why Microsoft went to VB.net. But I must admit that I had a few smiles playing with a spirograph.

    Santiniuk, never seen that one before. For better visuals, I poked around the net and found this link:
    Dartmoth Spirograph
    They are using the same kind of algorithm as I did. Only they use radius instead of diameter. You can try out the values there, and then convert and plug them into my app.

    Evodyne, you are missing the driver for a RichTextBox. I zipped up my set. They should live in the Windows/System32 directory.

    Gerry, it’s a toy. You deserve every crash that you get. Seriously, I can range check the input numbers and limit the output if you think that I should post a Ver 1.1.

    Steve

    Attached Files Attached Files


  6. #6
    Registered Evodyne's Avatar
    Join Date
    Dec 2004
    Location
    USA
    Posts
    518
    Downloads
    0
    Uploads
    0

    Default

    Spalm,

    Hey-copied everything for the ocx to system and I'm good to go. Thanks.

    Lance



  7. #7
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    29847
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by spalm
    Gerry, it’s a toy. You deserve every crash that you get.
    Would you be interested in posting the code? Or some math references maybe? I'd like to create a similar AutoCAD VBA macro.

    Don't worry about the crashes, just part of the learning curve.

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  8. #8
    Registered spalm's Avatar
    Join Date
    Feb 2005
    Location
    USA
    Posts
    578
    Downloads
    0
    Uploads
    0

    Default

    Gerry, look at the link in post #5. It contains the formulas for epicycloids. It also has some java source code at the bottom that reads pretty well.

    I knew that I had let options available for the code exploding. Several of them I protected, several of them not. This is always the boring part of programming; protecting your code from users. I saw this as a one time use toy that was not worth that much investment. If anybody thinks I should take it to the next level, I will.

    On second thought, I would have loved to have this tool on the day that I got my first machine running, so maybe I will dress it up a bit. (?)

    Steve



  9. #9
    Registered santiniuk's Avatar
    Join Date
    Nov 2004
    Location
    U.K - England
    Posts
    389
    Downloads
    0
    Uploads
    0

    Default

    Spalm,

    Just checked the program again on a different pc. Preview window works fine. Must be something my end on main pc.

    Cool program

    Cheers



  10. #10
    Registered
    Join Date
    Jun 2005
    Location
    CANADA
    Posts
    90
    Downloads
    0
    Uploads
    0

    Default

    Cool little piece of software!

    Thanks for sharing!



    My business Web site - USINUM - www.cooptel.qc.ca/~usinum
    My BLOG at Blogger - http://pacosarea.blogspot.com/


  11. #11
    Registered Evodyne's Avatar
    Join Date
    Dec 2004
    Location
    USA
    Posts
    518
    Downloads
    0
    Uploads
    0

    Default

    Spalm,

    Hey, it's a toy-but it's a fun toy. And those little doodles might nicely decorate small container lids makng them highly decorative. You might put a "max revolutions" limit in that (if the ratios don't quite line up) will only generate a given amount of g-code. I also seem to remember (from well back into childhood, so it's a bit foggy) that the spirograph kit had other shapes you could roll the smaller gears around. I seem to remember a long piece with rounded ends. What would really be neat would be to define a path out of spline sections that represents the big gear. My vote is to fiddle with it a bit more.

    Lance



  12. #12
    Registered
    Join Date
    Sep 2004
    Location
    United States of America
    Posts
    85
    Downloads
    0
    Uploads
    0

    Default

    Sweet program! Looks like now I've got some G-code to run whenever my machine's finished! By Tuesday, I should at least have a 2-axis machine that I can tape a marker to and let it spirograph away!

    Thanks for posting this, and the XP fixes.



Page 1 of 11 1234 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

CNC Spirograph
CNC Spirograph