CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > OpenSource CNC Design Center > OpenSource Software


OpenSource Software For the Discussion of Opensource CAD/CAM and NC shareware software etc)


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-15-2005, 10:35 PM
spalm's Avatar
Gold Member
 
Join Date: Feb 2005
Location: USA
Posts: 578
spalm is on a distinguished road
SpiroCNC

OK
Here is my VB6 attempt at a toy that was posted in the club house.

I never intended for anyone else to see it, so it is kind of a hack job. Lots of global variables, all in one module, not a lot of comments, etc. But if anyone wants to play with it....

Enjoy,
Steve
Attached Files
File Type: zip SpiroCode21.zip‎ (58.2 KB, 357 views)
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 11-15-2005, 11:20 PM
PEU's Avatar
PEU PEU is offline
 
Join Date: May 2005
Location: Buenos Aires - Argentina (I like Ribs)
Age: 44
Posts: 908
PEU is on a distinguished road
Steve, this is very generous of you!

I dont have any VB training but I will look for sure.

I think opening a project in Sourceforge will attract more people to the spirograph.

Anyway. thanks again


Pablo
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 11-16-2005, 04:50 PM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,659
Blog Entries: 2
Switcher is on a distinguished road
.


Thanks, Steve

I'm working with VB.NET, If I get a chance I'll convert your code to .NET,
I'm real busy now (work), I might look at it this weekend.

Does anyone out there have both VB6 & VB.NET? The reason I ask is, I don't have VB6, If someone else has both versions they could use the Wizard in VB.Net to convert all the Spiro code. (It should go a lot faster, than sorting it all out by hand)

I'll post here, If I get anything done.

Thanks again for posting the source, I'll make sure any code I change/add, gives you credit for your cool program.

Also, are you sure the code is in VB6?

Code:
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form SpiroMain 
   Caption         =   "SpiroCNC"
   ClientHeight    =   9000
   ClientLeft      =   165
   ClientTop       =   555
   ClientWidth     =   10410
   FillColor       =   &H00FFFFFF&
   BeginProperty Font 
      Name            =   "Courier"
      Size            =   15
      Charset         =   0
      Weight          =   700
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
It says (VERSION 5.00), I havn't worked with VB5 or VB6, so I'm not sure.

Later...
Jerry


.

Last edited by Switcher; 11-16-2005 at 05:06 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 11-16-2005, 11:10 PM
spalm's Avatar
Gold Member
 
Join Date: Feb 2005
Location: USA
Posts: 578
spalm is on a distinguished road
It says Visual Basic 6.0 in the help about.

My real programmer friends tell me that the auto VB6 to .net converters only get you somewhat there. I am much more used to VisualC. I just picked VB6 because I had just finished a serial communication monitor (VisualC has no serial support in XP) and it was fresh in my mind. Also it had a better graphics window. VB.net has a much better graphics window and other tools that would have come in handy. Besides, it was only supposed to be a two evening toy.

Steve
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 08-19-2006, 11:37 PM
spalm's Avatar
Gold Member
 
Join Date: Feb 2005
Location: USA
Posts: 578
spalm is on a distinguished road
Nothing new here, just some housekeeping.

I have received some PM requests for the SpiroCNC program and it seems to be hard to find in the Zone’s Clubhouse so I thought I would repost it here for safe keeping.

Unzip the Spiro program in its own directory of your choosing and then double click on the SpiroCNC icon.

If you get an error about richtx32.ocx (RichText32bit), unzip Richtx32.zip in the Windows/System32 directory.

If you get an error about a missing DLL you need MSSTDFMT.DLL
(Microsoft Standard Data Formatting Object DLL)
Unzip the Msstdfmt.zip in the Windows/System32 directory and then you need to register it. This is done by clicking Start\Run and then typing
C:\WINDOWS\system32\regsvr32.exe Msstdfmt.dll

Here is a link to the original thread:
CNC Spirograph

I reposted some of the pictures of carvings so they would be easier to find.

Steve
Attached Images
File Type: jpg 3Dspiros.JPG‎ (359.2 KB, 142 views)
File Type: jpg 3Dspokes.JPG‎ (199.0 KB, 122 views)
File Type: jpg CurveSpoke.JPG‎ (408.6 KB, 123 views)
File Type: jpg Flowers4.JPG‎ (406.6 KB, 149 views)
File Type: jpg Octofoil.JPG‎ (360.7 KB, 113 views)
File Type: jpg SpiroFlower.JPG‎ (418.6 KB, 133 views)
File Type: jpg Spiros.jpg‎ (409.1 KB, 99 views)
File Type: jpg SplineTest.JPG‎ (475.2 KB, 128 views)
Attached Files
File Type: zip SpiroCNC21.zip‎ (74.6 KB, 398 views)
File Type: zip Richtx32.zip‎ (114.4 KB, 305 views)
File Type: zip msstdfmt.zip‎ (52.3 KB, 292 views)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-24-2006, 11:10 PM
 
Join Date: Jul 2005
Location: us
Age: 55
Posts: 668
Madclicker is on a distinguished road
Great program Steve. I could never get anything as elegant, but I had minimum time to mess with it. Any advice on how to choose the parameters to get cuts as cool as these?
__________________
Steve
DO SOMETHING, EVEN IF IT'S WRONG!
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 08-24-2006, 11:56 PM
spalm's Avatar
Gold Member
 
Join Date: Feb 2005
Location: USA
Posts: 578
spalm is on a distinguished road
Hey Steve,

Elegant? It’s just a toy.

Seriously, when I was developing this, ideas and suggestions were coming in all over the place. It started out real simple and kind of mushroomed (i.e. got too complicated, my boss calls it ‘creeping elegance’). But it can still be run in simple mode if you ignore some of the check/value boxes.

I was bad and did not save the source for the design pictures posted. At least in the later versions one can save the .spr files to re-run and share. Point to a particular design and I will try to reproduce it and explain how it was done. I thought about creating a user manual, but you know what we do with those things. And I kind of lost interest.

Almost all are cut with a 1/2" Vee bit.

Steve
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 08-25-2006, 12:10 AM
 
Join Date: Jul 2005
Location: us
Age: 55
Posts: 668
Madclicker is on a distinguished road
Well, I think some of those cuts are really nice, and the one I made for the inlaws dropped jaws but were nowhere near as "elegant".

I never did get the hang of the spirograph when i was a kid!
__________________
Steve
DO SOMETHING, EVEN IF IT'S WRONG!
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 05:56 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353