Aspirograph Gadget

This forum is for users to submit their own gadgets to the community

Aspirograph Gadget

Postby vgraves » Sat Oct 24, 2015 3:33 am

Gadgets are the primary means of extending the capabilities of Vectric software or automating some sort of operation within Aspire or VcarvePro. I wanted to learn the mechanics of developing a gadget, one that required only the basics of the Gadget SDK. I had seen a couple of references in the forum to a Spirograph generator and saw that there was such a generator available for the Shopbot, so that's what I chose as my learning tool.

Attached is version 1.0 of my Aspirograph gadget. It can create Spirograph-like vectors, the difference being that Aspirograph creates a series of line segments rather than a true curve. But once the vector is created, use the Fit Curves to Selected Vectors function within Aspire or VcarvePro to smooth out the vector. The Create and Delete buttons within the gadget allow the vector parameters to be quickly varied until the desired vector is generated before leaving the gadget window.

spiro_10_7_2.PNG


While this was fun to create and was a good learning experience, I tried figuring out what it might actually be used for, thinking that unless you wanted to carve out some polar graphs for a high school math class, it might just be kind of a neat drawing demonstration. But since then I've thought of a couple of possible applications for these curves. I think they could potentially make some pretty neat edge-lit acrylic pieces, and then it occurred to me that these could generate some nice Extrude and Weave patterns.

weave_12_7_1.png


I'm hoping you will find other creative ways to make this gadget useful -- please share if you do. And if you post an image of an Aspirograph vector, you might consider providing the parameters used to generate it in case others want to try to duplicate it (I've put them in the names of the images I attached). Anyway, try it out and make sure it works for you. Comments and suggestions welcome.

Van
Attachments
Aspirograph1.0.zip
(9.17 KiB) Downloaded 277 times
vgraves
Vectric Craftsman
 
Posts: 103
Joined: Sat Sep 29, 2012 2:04 am
Location: Knoxville, TN
Model of CNC Machine: CNC Router Parts PRO4848 w/LinuxCNC

Re: Aspirograph Gadget

Postby Ms Wolffie » Sat Oct 24, 2015 11:15 am

Thank you.
I am looking forward to have a play with it :)
Cheers
Wolffie

Whatshammacallit
Cut3D, VCarvePro 6.5, Aspire4, PhotoVCarve, Corel Graphics Suite X6
User avatar
Ms Wolffie
Vectric Wizard
 
Posts: 2652
Joined: Sat Mar 31, 2012 10:41 pm
Location: Tully Heads, Wet Tropics, Queensland, Australia
Model of CNC Machine: SharkPro+HD Heavily modified

Re: Aspirograph Gadget

Postby ElevationCreations » Sat Oct 24, 2015 8:58 pm

Will this work in V-Carve Desktop or is Pro required?
ElevationCreations
Vectric Apprentice
 
Posts: 78
Joined: Thu May 14, 2015 12:29 am
Model of CNC Machine: Shapoko SO3

Re: Aspirograph Gadget

Postby Adrian » Sun Oct 25, 2015 9:19 am

The desktop versions do not support gadgets so it will not work.
User avatar
Adrian
Vectric Archimage
 
Posts: 7422
Joined: Thu Nov 23, 2006 2:19 pm
Location: Surrey, UK
Model of CNC Machine: ShopBot PRS Alpha 96x48

Re: Aspirograph Gadget

Postby PaulRowntree » Sun Oct 25, 2015 4:05 pm

If you do a screen shot of the black vector, save as an image, then import the image as a bitmap, you should be able to trace the bitmap to produce a set of closed, non-overlapping vectors that can be V-carved.
Paul Rowntree
WarpDriver, StandingWave, Topo and gadgets available at PaulRowntree.weebly.com
PaulRowntree
Vectric Wizard
 
Posts: 1646
Joined: Sun Oct 24, 2010 7:28 pm
Location: Guelph, Ontario
Model of CNC Machine: homebuilt 4'x2' (Mach3+G540)

Re: Aspirograph Gadget

Postby scottp55 » Sun Oct 25, 2015 4:56 pm

Just a first shot to play with:)
Default setting with a profile on line.
Definitely worth more playing :D
THANKS!!
scott
Attachments
FIRST WHACK.jpg
User avatar
scottp55
Vectric Wizard
 
Posts: 2078
Joined: Thu May 09, 2013 11:30 am
Location: Kennebunkport, Maine, US
Model of CNC Machine: Shopbot Desktop 5.5"Z/spindle/VCP9

Re: Aspirograph Gadget

Postby seanm » Mon Oct 26, 2015 9:31 am

Hi Vgraves,

would you be happy to have this gadget on the Vectric Gadgets Website?

If so please let me know,

Sean
seanm
Vectric Staff
 
Posts: 68
Joined: Mon Jul 28, 2014 9:12 am
Model of CNC Machine: 6040 Desktop CNC

Re: Aspirograph Gadget

Postby Trock » Tue Oct 27, 2015 1:08 am

Hi,

I tried the gadget a few times and it seem to work fine. The last time I tried it though, it crashed Aspire. Killed it.
Aspire asked if I wanted to create a dump file and I said yes, then it just shut down.

I can send the dump file once I find it if needed.

Just as a test I entered values of 1,1,1. Yea, was testing for major bugs.

Would be nice if real numbers were available, but works fine, just stay away from, 1,1,1. :?

Thanks alot for the contribution.
Terry
Trock
Vectric Apprentice
 
Posts: 18
Joined: Sat Mar 07, 2015 3:25 am
Location: Michigan
Model of CNC Machine: Home Made 2'x3' Mach3

Re: Aspirograph Gadget

Postby ozymax » Tue Oct 27, 2015 1:58 am

Thanks vgraves.
The process of downloading and installing the gadget into Aspire 4.5 went smoothly.
This gadget bought back those memories from my childhood.
I appricate the effort that gadget makers go to.
Thanks again.
ozymax
Vectric Craftsman
 
Posts: 155
Joined: Thu Jan 02, 2014 4:34 am
Model of CNC Machine: Home built cnc router using Mach3.

Re: Aspirograph Gadget

Postby vgraves » Tue Oct 27, 2015 11:20 pm

Glad it's (mostly) working. I'll try to put some more data validation checks in the code when I get a chance.

Van
vgraves
Vectric Craftsman
 
Posts: 103
Joined: Sat Sep 29, 2012 2:04 am
Location: Knoxville, TN
Model of CNC Machine: CNC Router Parts PRO4848 w/LinuxCNC


Return to Gadgets - User Submissions

Who is online

Users browsing this forum: No registered users and 2 guests