Root 3D Printing
Would you like to react to this message? Create an account in a few clicks or log in to continue.

speed up germinate 1.0 and 1.1 slicing by up to 5 times

+5
Asphalt
archclan
PolarBear211
ModernGnome
jgazpacho
9 posters

Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by jgazpacho Sat Jan 23, 2016 8:47 pm

I was digging around looking for "python parallel processing" to see if there was a way to speed up skeinforge which is the slicer that the root and root plus uses.

User JetGuy who has done a lot of research into this had a solution.

[You must be registered and logged in to see this link.]

Basically, you replace python27 with a program called pypy which is a faster version of python27.

how do you do this?

here's the hacky was of doing it that seems to work.

go to

[You must be registered and logged in to see this link.]

download pypy 4.0.1 for your machine (in my case windows 32 even though i run win 7 pro 64)

extract pypy to c:/

here's the hacky part

rename your python27 directory to python27.old

rename the pypy-4.0.1-win32 directory to python27

in your new c:/python27/ directory rename (or copy)

pypy.exe to python.exe

that's it.

it works. faster slicing....

i couldn't believe it!

just for reference if anyone needs it, this is the start and end additions to the gcode and the command line argument that germinate 1.1 sends to python for the root plus.

here are the preferences in the mini folder:

start.gcode (i assume this gets added to the start of the gcode for the root plus)

M104 S220 T0
M109 S23 T0
G162 Z F450
G92 X0 Y0 Z0 A0 B0
G161 Y X F2500
G92 X0 Y0 Z0 A0 B0
G1 X5.0 Y5.0 Z-5.0 F450 E0.0
G162 Z F450
G161 Y X F2500
G92 X-75 Y-75 Z141.3 A0 B0 (NOTE: my z is metered to Z141.3)
G1 X-75 Y-75 Z10.0 F500 E0.0
M6 T0
M101
G04 P15000

end.gcode

G162 Z F450

command line from germinate 1.1 to skein_engine slicer:

C:\Python27\python.exe -u "C:\Program Files (x86)\Germinate v1.1\skein_engines\skeinforge-50\skeinforge_application\skeinforge.py" -p "C:\Program Files (x86)\Germinate v1.1\skein_engines\skeinforge-50\skeinforge_application\prefs\MINI" --option "raft.csv:Add Raft, Elevate Nozzle, Orbit:=true" --option "raft.csv:None=true" --option "raft.csv:Empty Layers Only=false" --option "raft.csv:Everywhere=false" --option "raft.csv:Exterior Only=false" --option "fill.csv:Infill Solidity (ratio):=0.30" --option "speed.csv:Feed Rate (mm/s):=60" --option "speed.csv:Travel Feed Rate (mm/s):=80" --option "speed.csv:Flow Rate Setting (float):=60" --option "dimension.csv:Filament Diameter (mm):=1.75" --option "carve.csv:Edge Width over Height (ratio):=2.00000000" --option "inset.csv:Infill Width over Thickness (ratio):=2.00000000" --option "carve.csv:Layer Height (mm):=0.2" --option "fill.csv:Extra Shells on Alternating Solid Layer (layers):=1" --option "fill.csv:Extra Shells on Base (layers):=1" --option "fill.csv:Extra Shells on Sparse Layer (layers):=1" --option "fill.csv:Infill > Loops > Perimeter=False" --option "fill.csv:Infill > Perimeter > Loops=False" --option "fill.csv:Loops > Infill > Perimeter=False" --option "fill.csv:Loops > Perimeter > Infill=True" --option "fill.csv:Perimeter > Infill > Loops=False" --option "fill.csv:Perimeter > Loops > Infill=False" "C:\Users\Framestore\Desktop\PF_Bracelet_is_a_nut.stl"




jgazpacho

Posts : 2
Join date : 2015-10-26

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by gpiffle Sun Jan 24, 2016 9:16 am

I'm definitely gonna try this one!!

gpiffle

Posts : 83
Join date : 2015-10-17

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by gpiffle Sun Jan 24, 2016 9:31 am

OK - just did this. a slice that took 20 min before now takes 3.
LOVING this fix!!

gpiffle

Posts : 83
Join date : 2015-10-17

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by ModernGnome Mon Jan 25, 2016 3:11 am

This is terrific! I was hacking around with pypy, trying to get this same trick to work, but you've nailed it!

ModernGnome

Posts : 83
Join date : 2015-10-16

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by Asphalt Tue Feb 09, 2016 12:45 pm

Glad it works, but a bit over my head.

Asphalt
Admin

Posts : 156
Join date : 2015-10-10

https://rootprinting.forumotion.com

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by ModernGnome Sat Feb 27, 2016 3:48 am

Asphalt wrote:Glad it works, but a bit over my head.
You should try it. It's actually a great "first hack" if you've never tried this sort of thing before. The only part you need to make it work is this:
go to
[You must be registered and logged in to see this link.]
download pypy 4.0.1 for your machine (in my case windows 32 even though i run win 7 pro 64)
extract pypy to c:/
here's the hacky part
rename your python27 directory to python27.old
rename the pypy-4.0.1-win32 directory to python27
in your new c:/python27/ directory rename (or copy)
pypy.exe to python.exe
that's it.

ModernGnome

Posts : 83
Join date : 2015-10-16

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by jetstreamblue Thu Mar 03, 2016 1:37 pm

Nice! Thanks for this, it works! Smile

jetstreamblue

Posts : 39
Join date : 2015-10-17

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by PolarBear211 Tue Mar 15, 2016 5:10 pm

OMG!!!!! Thank you for this hack/fix! Germinate is screaming fast now.

PolarBear211

Posts : 8
Join date : 2015-10-16

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by archclan Sun Apr 03, 2016 4:17 am

sweet Jesus! thanks so much!

archclan

Posts : 5
Join date : 2016-03-12

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by Asphalt Sun Apr 03, 2016 6:46 pm

If I get my hardware running I will give it a try. How easy is it to undo if I screw it up?

Asphalt
Admin

Posts : 156
Join date : 2015-10-10

https://rootprinting.forumotion.com

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by gpiffle Sun Apr 03, 2016 11:01 pm

If you are not sure, just copy the files out to another directory before changing them, and you can copy them back if it doesn't work.

gpiffle

Posts : 83
Join date : 2015-10-17

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by jetstreamblue Mon Apr 04, 2016 3:52 pm

As gpiffle mentioned, switching is as easy as renaming folders. I did that today in order to investigate an issue I was having with one model that simply would not complete generation of gcode. It worked after I switched from Pypy back to the old Python. I don't see how Pypy caused the issue but this was a particularly big model.

jetstreamblue

Posts : 39
Join date : 2015-10-17

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by Audiogrin Thu Jul 28, 2016 7:42 pm

That is insane!! Thank you so much!! Took less than 2 minutes to do and it cut my time from 30 mins to 2.

Audiogrin

Posts : 5
Join date : 2015-11-01

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by jeffrey404 Sun Feb 26, 2017 11:06 pm

Thanks!! Just did this and it worked great!

jeffrey404

Posts : 1
Join date : 2015-10-19

Back to top Go down

speed up germinate 1.0 and 1.1 slicing by up to 5 times Empty Re: speed up germinate 1.0 and 1.1 slicing by up to 5 times

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum