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
  #97   Ban this user!
Old 07-09-2010, 02:34 PM
 
Join Date: Oct 2008
Location: USA
Age: 26
Posts: 50
Stevetotheo is on a distinguished road

This may seem dumb but Ive got pyCAM installed and whenever I try to generate tool paths on even something as small as 100mm^3 it has taken up to 12 hours to generate. Am I doing something wrong or is that typical? Great program otherwise. I created a 250 mm tall cylinder using Salome. Nothing fancy and it still took 10 hours on a 2 ghz dual core HP laptop. Just for reference Im using ubuntu 10.04 32 bit.

Thanks in advance!
Steve
Reply With Quote

  #98   Ban this user!
Old 07-09-2010, 09:17 PM
 
Join Date: Mar 2010
Location: Germany
Posts: 28
sumpfralle is on a distinguished road

Hi Steve,

Originally Posted by Stevetotheo View Post
This may seem dumb but Ive got pyCAM installed and whenever I try to generate tool paths on even something as small as 100mm^3 it has taken up to 12 hours to generate. Am I doing something wrong or is that typical?
Maybe you are using a very small tool for this operation? Or maybe your "step down" value (determines the number of processing layers) is too small? The "overlap" paramater can also be a source of trouble, if it is close to 100 percent.

Just for a short overview over some numbers:
- the number of processing layers is calculated as follows: height of bounding box divided by "step down"
- number of lines in each processing layer: width of x or y dimension (depending on the configured direction) divided by ((1 - overlap/100) * 2 * tool_radius)

Does this help?
Cheers,
Lars

PS: I hope, that I will manage to add threading-support in the next release of pycam. This would speed up processing on your machine ...
Reply With Quote

  #99   Ban this user!
Old 07-09-2010, 09:34 PM
 
Join Date: Oct 2008
Location: USA
Age: 26
Posts: 50
Stevetotheo is on a distinguished road

I havent changed any setting from the default install. Is there a better configuration I should use or is it a per job calculation I need to do? What you said makes sense though. Thank you for the quick response! and thank you for the time you've put in on pyCAM.

BTW heres a link to my work blog of the CNC Im building

http://stevetotheo.weebly.com/cnc-space.html

Ive also included a copy of the stl Im using to play with. Its a simple cylinder. Im new at 3d CAD as well so that was the quickest thing I could produce to test with. It reality Im wanting to be able to build anything from a keychain to a guitar body so Im assuming that, using current settings, it would take a week or more to process anything as big that. lol. Let me know what you think. Thanks.
Attached Files
File Type: pdf Cylinder_1.stl.pdf‎ (11.2 KB, 35 views)

Last edited by Stevetotheo; 07-09-2010 at 10:18 PM.
Reply With Quote

  #100   Ban this user!
Old 07-11-2010, 12:45 AM
 
Join Date: Oct 2008
Location: USA
Age: 26
Posts: 50
Stevetotheo is on a distinguished road

Can someone with a known working pyCAM setup create tool paths for the stl above and tell me how long it took to generate? Im not interested in the gcode itself just how long it took to compute.

Switching gears I cant seem to get pycam to work on my windows side. I would prefer to be able to get it running in ubuntu but I wanted to see if it was maybe something to do with my ubuntu install. Heres the error I get in windows..

Traceback (most recent call last):
File "C:\Python25\Scripts\pycamGUI", line 25, in
from pycam.Physics.ode_physics import override_ode_availability
ImportError: No module named Physics.ode_physics

thanks in advance for the input.
Steve
Reply With Quote

Sponsored Links
  #101   Ban this user!
Old 07-13-2010, 06:54 AM
 
Join Date: Mar 2010
Location: Germany
Posts: 28
sumpfralle is on a distinguished road
New bugfix release for Windows

Originally Posted by Stevetotheo View Post
Can someone with a known working pyCAM setup create tool paths for the stl above and tell me how long it took to generate? Im not interested in the gcode itself just how long it took to compute.
I tried to run it with my (slightly older) computer and it took even longer than your calculation. This is weird, since the model contains only a few triangles (228). I am used to calculate bigger models within minutes. I am investigating this issue and will report back soon.

As a quick workaround you can try to enable the ODE collision detection (see preferences). This should run much quicker, but sadly the upstream ODE library has rare issues, that can cause corners of the model to be cutted. Take a look at the wiki for the additional requirements of the ODE library: http://sourceforge.net/apps/mediawik...e=Requirements


Originally Posted by Stevetotheo View Post
Switching gears I cant seem to get pycam to work on my windows side. I would prefer to be able to get it running in ubuntu but I wanted to see if it was maybe something to do with my ubuntu install. Heres the error I get in windows..
thanks for this report, Steve!
I did not notice before, that the Windows installer was broken. I just published a bugfix release to solve this issue:
http://sourceforge.net/projects/pycam/files/

Please report back, if you encounter any further issues ...

cheers,
Lars
Reply With Quote

  #102   Ban this user!
Old 07-14-2010, 07:35 PM
 
Join Date: Mar 2010
Location: Germany
Posts: 28
sumpfralle is on a distinguished road
Some timing results

Hi Steve,

Originally Posted by Stevetotheo View Post
Can someone with a known working pyCAM setup create tool paths for the stl above and tell me how long it took to generate? Im not interested in the gcode itself just how long it took to compute.
I just checked the performance of the current develpment branch of PyCAM. It contains some collision detection code improvements implemented by the other developer (lode). It seems to have improved a lot. Currently I can calculate the toolpath for your model with the current default settings within 630 seconds (30s, 540s, 60s).
The default toolpath generations parameters changed slightly since v0.2.5. Especially the "step down" parameter was one third of the current default and this makes quite a difference. When I calculate your model with the old settings from v0.2.5, it takes around 1900 seconds (110s, 1580s, 210s).

Maybe you want to try the current head of trunk? Given that you already installed all dependencies, you could just do the following:

svn co https://pycam.svn.sourceforge.net/svnroot/pycam/trunk pycam
cd pycam
./pycam

If anything breaks: try to use revision 460 - it should be quite usable. Just add "-r 460" after "svn" in the first command above.

Cheers,
Lars
Reply With Quote

  #103   Ban this user!
Old 08-16-2010, 12:18 PM
 
Join Date: Mar 2010
Location: Germany
Posts: 28
sumpfralle is on a distinguished road
Version 0.3 released

Hi,

I just released a new version of PyCAM.

This major release features support for 2D contour models (in DXF or SVG format)
combined with a new EngraveCutter strategy. Additionally major improvements of
the support grid specification and the commandline interface were added.
Numerous improvements of the GUI and the generated GCode as well as a pile of
minor bug fixes were incorporated.

Have fun with it!

Lars
Reply With Quote

  #104   Ban this user!
Old 10-19-2010, 06:36 AM
 
Join Date: Mar 2010
Location: Germany
Posts: 28
sumpfralle is on a distinguished road
New release 0.4

Hi,

I just released a new version of PyCAM.

This major release features parallel processing (automatically using all CPU
cores of your computer) and even distributed processing (connecting multiple
hosts to a shared pool of worker processes). This speeds up processing of
complex models significantly.
Additionally a standalone executable for Windows is available (no dependencies required).
Climb and conventional milling styles are configurable.
The new toolpath strategy "Contour->Follow" can calculate exact contours of
a model (before: only an approximation).
Automatically distributed support bridges keep your 3D model attached to the
outer material.
The path precision (G61/G64) for the GCode interpreter is configurable.
Various interface improvements and minor bugfixes are included.

Here you see an example for statistics of a distributed process pool:


Download links:
Have fun with the new release!
cheers,
Lars
Reply With Quote

  #105   Ban this user!
Old 10-23-2010, 08:14 PM
 
Join Date: Oct 2010
Location: Canada
Posts: 3
Tim Nye is on a distinguished road

Hi Lars,

I just tried the v0.4 Windows standalone version. It starts fine and finds four parallel processors, but when I try to generate a toolpath it freezes. The console window gives four copies of the message:

PyCAM: error: no such options: --multiprocessing-fork
Usage: pycam [options] [inputfile]
This is on a Windows 7 Home Edition x64 laptop with Intel i3 330M cpu.

Otherwise, let me say what an amazing project you guys have put together. Keep up the great work!

Tim
Reply With Quote

Sponsored Links
  #106   Ban this user!
Old 11-12-2010, 11:00 AM
 
Join Date: Mar 2010
Location: Germany
Posts: 28
sumpfralle is on a distinguished road
Windows standalone executable with multiple cores

Hi Tim,

sorry - I forgot to post the "solution" here:
two weeks ago I released a bugfix version of the Windows standalone executable that fixes this problem with multi-core processors.

Just download v0.4.0.1: PyCAM Files on SourceForge.net

cheers,
Lars
Reply With Quote

  #107   Ban this user!
Old 03-28-2011, 04:07 PM
 
Join Date: Mar 2010
Location: Germany
Posts: 28
sumpfralle is on a distinguished road
PyCAM v0.5 released

Hi people,

today another major release (v0.5) of PyCAM was published.
It features support for single-line fonts, touch off and tool change handling, multi-layered 2D models, many visualization improvements, better DXF support, additional model transformations and many more new features.

See the release announcement for a full list of improvements.


Some screenshots:






Here are two tutorial videos:
Tutorial #1: generate a 2D toolpath and simulate the result
Tutorial #2: handling multi-layered 2D models
The next one will obviously deal with 3D models

And here is the download link: http://pycam.sourceforge.net/download.html

Have fun with it!
Reply With Quote

  #108   Ban this user!
Old 03-23-2012, 02:41 PM
 
Join Date: Apr 2005
Location: USA
Posts: 12
Jtheletter is on a distinguished road
PyCam does not open SVG files in Windows XP

I am resurrecting this thread to bring attention to the fact that PyCam is not able to open SVG files when installed on WinXP SP3.

I have made multiple posts on the SourceForge forum and have received zero responses, hopefully this community can provide some guidance.

I am able to open simple DXF files and generate tool paths without issue however I am unable to open any SVG file, including examples bundled with the installer. Here are the latest steps I have taken to install this. Does anyone have advice on how to proceed? Thank you.

Fresh install, all previous programs uninstalled beforehand.

1) Install python2.5-gtk-opengl

2) Reboot

3) Install pycam-0.5.1.win32

4) Attempt to open provided example AVG file "multilayer_engrave.svg". Result: fails to open, PyCam suggests installing

Inkscape

5) Install Inkscape-0.48.2-1-win32: Inkscape opens successfully after install.

6) Reboot

7) Attempt to open provided example AVG file "multilayer_engrave.svg". Result: Error "SVGImporter failed to execute

'pstoedit'The system cannot find the file specified. Maybe you need to install pstoedit"

8) pstoedit installation notes point out that GraphicsMagick is required so prepare to install that.

8.a) Before this, GraphicsMagick installation notes point out GhostScript is required so installing that first: gs905w32

9) Reboot

10) Install GraphicsMagick with all options checked: GraphicsMagick-1.3.14-Q8-windows-dll

10.a) Error during install: "Unable to execute file: ppm ShellExecute failed; code 2. The system cannot find the path

specified."

10.b) Press OK on error popup, next popup says: "DllRegisterServer in C:\Program

Files\GraphicsMagick-1.3.14-Q8\ImageMagickOject.dll succeeded."

10.c) Press OK on that popup.

10.d) run command line conversion example 'gm convert logo: logo.jpg' RESULT: works as expected, logo displays.

11) Reboot

12) Install pstoeditsetup_win32 (version 3.60.0.0), install all optional components

13) Reboot

14) Launch PyCam, Attempt to open provided example AVG file "multilayer_engrave.svg". Result: ERROR
"15:08 INFO Psyco is not available (performance will probably suffer slightly)
15:08 INFO Enabled 2 parallel local processes
15:08 INFO Font directory: C:\Python25\share\pycam\fonts
15:08 INFO Imported STL model: 839 vertices, 0 edges, 1444 triangles
15:08 INFO Successfully converted SVG file to EPS file
15:08 WARNING SVGImporter: failed to convert EPS file (c:\docume~1\jason~1.sla\locals~1\temp\tmp0fwbdv.eps) to DXF file

(c:\docume~1\jason~1.sla\locals~1\temp\tmpepbs21.dxf): pstoedit: version 3.60 / DLL interface 108 (built: Aug 27 2011 -

release build - MS VC++ 1600 - 32-bit) : Copyright (C) 1993 - 2011 Wolfgang Glunz Problem during opening C:\Program

Files\pstoedit\analyze.dll:Recursion too deep; the stack overflowed. Problem during opening of pstoedit driver plugin:

C:\Program Files\pstoedit\analyze.dll. This is no problem as long the driver in this library is not needed. Possibly you

need to install further libraries and/or extend the LD_LIBRARY_PATH (*nix) or PATH (Windows) environment variables."

14.a) Verified that "C:\Program Files\pstoedit\" is already present in windows PATH

15) Copy all DLL files from GraphicsMagick directory to pstoedit directory

16) Launch PyCam, Attempt to open provided example AVG file "multilayer_engrave.svg". Result: ERROR popup:
"pstoedit.exe Entry Point Not Found
The procedure entry point ?construct@?$allocator@VVPath@Magick@@@std@@QAEXPAVVPath@Magick@@$$QAV34@@Z could not be located

in the dynamic link library CORE_RL_Magick++_.dll."

16.a) After selecting OK on first error popup, a second error popup displays:
"pstoedit - Entry Point Not Found
The procedure entry point GetImageProperty could not be located in the dynamic link library CORE_RL_magick_.dll."

16.b) After selecting OK on second error popup, a third error popup displays:
"pstoedit - Entry Point Not Found
The procedure entry point ConstantString could not be located in the dynamic link library CORE_RL_magick_.dll."

16.c) The error popup in 16.b displays 8 more times. Program now hangs with pstoedit cmd line window open but nothing

displayed.

17) STUCK HERE, UNSURE HOW TO PROCEED
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
ANNOUNCE: pycam - 3D CNC Toolpath Generation‏ lleroy General CAM Discussion 0 08-29-2008 04:56 AM
Need Help!- NX4 toolpath generation thirumalkumarn General CAM Discussion 0 05-27-2008 07:47 AM
How to generation toolpath ? havythoai Coding 5 03-18-2008 09:47 AM
toolpath generation algorithm for NURBS jbacon General CAM Discussion 3 08-03-2007 08:48 AM
Full 4 axis toolpath generation? Konstantin Rhino 3D 5 11-12-2006 12:14 PM




All times are GMT -5. The time now is 01:02 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 354 355 356 357 358 359 360 361