Root Profile for ReplicatorG

View previous topic View next topic Go down

Root Profile for ReplicatorG

Post by ModernGnome on Tue Oct 20, 2015 3:46 am

This tip applies to Windows, Mac and Linux and the GP3D Root 3D printer (base model).
This tip has been reported as not applicable to the Root Plus.

Use this program to slice STL files using the full-featured (and integrated) Skeinforge slicer, and/or save GCODE in the binary X3G file format used by the Root's SD card reader. To do this, you must install the Root profile as described below.

CAUTION: I recommend disconnecting USB before running this program.
Definitely never use the "Upload new firmware..." option, or you will break your Root. 

I based this driver on the Mac version of ReplicatorG software for the Weistek WT150.
Install ReplicatorG for Windows, Mac or Linux, then copy the code below into a text editor (such as Notepad on Windows). Edit the Z height value to match your machine's configuration.
 
If you are using Windows, you will then save the file as "Root.xml" into the the "Program Files > ReplicatorG > replicatorg-0040 > machines" folder. Select "Root" from the "Other Bots" folder in ReplicatorG's "Machine" menu.

Code:
<?xml version="1.1" encoding="utf-8"?>
<machines>
<machine experimental="0">
      <name>Root</name>
      <geometry type="cartesian">
         <!-- different pulleys on X and Y axii -->
         <axis id="x" length="150" maxfeedrate="5000" homingfeedrate="2500" stepspermm="71.699959" endstops="max"/>  <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
         <axis id="y" length="148" maxfeedrate="5000" homingfeedrate="2500" stepspermm="71.699959" endstops="max"/>  <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
         <axis id="z" length="143.6" maxfeedrate="1170" homingfeedrate="1100" stepspermm="71.699959" endstops="min"/> <!-- Actual length may vary, we reserve ~5mm for safety.TR-8x8 Z axis = 1/(8/1600) -->
         <axis id="a" length="100000" maxfeedrate="1600" stepspermm="100.470955" endstops="none"/> <!-- 分度园8.51  100.4709576138148stepspermm is incoming filament length, see comment at bottom for explanation -->
      </geometry>
      <tools>
         <tool name="PLA Extruder" stepper_axis="a" index="0" type="extruder" motor="true" fan="true" heatedplatform="false" motor_steps="3200" default_rpm="3" heater="true"/>
      </tools>
      <wipes>
         <wipe index="0" X1="-135.0" Y1="55.0" X2="-135.0" Y2="45.0" wait="1000.0" purge_duration="1000" reverse_duration="15" purge_rpm="5.0" reverse_rpm="35.0"/>
         <wipe index="1" X1="-135.0" Y1="55.0" X2="-135.0" Y2="45.0" wait="1000.0" purge_duration="1000" reverse_duration="15" purge_rpm="5.0" reverse_rpm="35.0"/>
      </wipes>
      <clamps></clamps>
      <driver name="mightyboard">
         <!-- optional: <portname>COM1</portname> -->
         <rate>115200</rate>
      </driver>
      <warmup>
      </warmup>
      <cooldown>
M18 (Turn off steppers after a build.)
      </cooldown>
      <bookend start="machines/replicator/Single_Head_start.gcode" end="machines/replicator/end.gcode"/>
   </machine>
</machines>


That's it! ReplicatorG uses Skeinforge as its slicer and can directly save X3G files.
You can download it here: http://replicat.org/download


Last edited by ModernGnome on Wed Oct 21, 2015 1:02 pm; edited 3 times in total

ModernGnome

Posts : 83
Join date : 2015-10-16

View user profile

Back to top Go down

Re: Root Profile for ReplicatorG

Post by Asphalt on Tue Oct 20, 2015 6:26 am

How does replicator compare to Germinate? I have it installed as the fix needed to connect the printer to my PC, but I have never used it.

Asphalt
Admin

Posts : 156
Join date : 2015-10-10

View user profile http://rootprinting.forumotion.com

Back to top Go down

Re: Root Profile for ReplicatorG

Post by gpiffle on Tue Oct 20, 2015 10:57 pm

SO.. FTF.STL is the file.
ReplicatorG created the gcode and s3g files.

when creating the gcode, you have a choice of Replicator 2 - Replicator and thing-o-matic. I chose replicator.

Germinate created the WTK file

gcode 350 kb
s3g 188 kb
WTK 1,332 kb

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

renaming the gcode file and the s3g file to WTK does not allow the Root Plus to print them.

the S3G file starts at 3%, and the gcode file locks up the machine.

Is there any reader that can read the WTK files so we know what is missing?

gpiffle

Posts : 83
Join date : 2015-10-17

View user profile

Back to top Go down

Re: Root Profile for ReplicatorG

Post by ModernGnome on Wed Oct 21, 2015 1:30 am

I knew I shouldn't have posted this information. No
This stuff is hard, and Weistek developed Doraware (which GP3D rebrands as Germinate) in response to the need for a simpler solution. 

First, don't choose Replicator from the Machine Type (Driver) menu, choose Machine > Machine Type (Driver) > Other Bots > Root.
(If you don't see that option, stop now! It won't work until you edit the above profile for your specific machine's Z-height, then install the profile as detailed above and choose "Root" as your machine type.)

Second, don't save as an S3G file, that is an obsolete file type only for old firmware, which the Root doesn't support. You want to select (in the Save > Files of Type > .x3g dialog) the option to save as X3G.

So, the process is: DISCONNECT USB, then
1) Run Replicator, first time, select Root as Machine Type
2) Drag an STL or GCODE into the GCODE window, or File > Open GCODE or STL
3) GCode menu > Generate, choose Replicator slicing defaults, set temperature etc as required for your filament.
4) Click the third icon to save X3G, choose files of type .x3g
5) For Root Plus only, rename this .x3g extension as .wtk 
6) save x3g (or wtk if you have a Root Plus) to SD card
7) Select the file from Root's touchscreen and Print

If you can't get this to work, I suggest sticking with Germinate, or installing and modding MakerWare (as detailed elsewhere in this forum), both of which are superior in terms of ease of use.

There is no utility I am aware of that can decode the binary file format of X3G/WTK. If you want to look at or edit a file before printing, look at the GCODE file, which is plain ASCII text, editable in Notepad or any text editor.

ModernGnome

Posts : 83
Join date : 2015-10-16

View user profile

Back to top Go down

Re: Root Profile for ReplicatorG

Post by gpiffle on Wed Oct 21, 2015 8:35 am

And here I already knew it helps to be specific.
I have loaded ReplicatorG-0040
I have taken the XML above - only change I made was to change the machiene name from Root to RootPlus.
I have chosen that profile from the Machine>Machine type(driver)>Other Bots
weather I select Generate Gcode from the bottom right or from the menu it gives the following:
[You must be registered and logged in to see this image.]
If I do not use the third check mark, I cannot change settings, etc.

I was talking about this Slicing Profile in my last post

I click Generate Gcode and it generates

the third Icon in your step 3 says it generates a .s3g file, not an x3g file
[You must be registered and logged in to see this image.]
So this is where your instructions do not match, but this is not a problem. When you clidk on it, you can then hit the drop-down menu and select x3g as a file type.

I have done some playing around, and there is select GCode>GCode Generator
Here is the default
[You must be registered and logged in to see this image.]

select Slic3r 0.x - Experimental
gives you a gcode dialoge that doesn't allow any change in settings

The skinslicer 35 is too strange for me to attempt, but I have tried the other two.

the file sizes are still rather off
[You must be registered and logged in to see this image.]
and they all cause the Root Plus to reboot.

gpiffle

Posts : 83
Join date : 2015-10-17

View user profile

Back to top Go down

Re: Root Profile for ReplicatorG

Post by ModernGnome on Wed Oct 21, 2015 12:37 pm

So, after editing the Z-height in the RootPlus profile to match your Z: value, then selecting your RootPlus profile, then loading a model, selecting "Generate", then exporting the resulting GCODE as X3G, you've renamed the X3G output as WTK and it is causing the Root Plus to reboot? Hmm. Then I have no further ideas. It might not be possible to use ReplicatorG with the RootPlus (which would explain why Weistek doesn't offer it as a Mac software option in the WT280A section of its website.)

If you encounter similar issues with MakerWare (which I understand the behavior of very well), then it points to a firmware difference that apparently precludes the renaming of X3G > WTK, which was the untested wild card here.

The next frontier to thoroughly explore would be to use other programs, such as Cura, ReplicatorG, etc., to generate GCODE (which we can do) and then use Germinate 1.1 (which does produce valid WTK output) to export that GCODE as WTK.

You're on your own there, as I don't have a Root Plus.

ModernGnome

Posts : 83
Join date : 2015-10-16

View user profile

Back to top Go down

Re: Root Profile for ReplicatorG

Post by gpiffle on Wed Oct 21, 2015 1:14 pm

Yeah.. That is my conclusion as well.. Next stop is the MakerWare, but you can expect delays on comments for that on as I've got real life knocking this week. Smile

gpiffle

Posts : 83
Join date : 2015-10-17

View user profile

Back to top Go down

Re: Root Profile for ReplicatorG

Post by spoofly on Mon Jun 20, 2016 2:44 pm

The machine is detected in Ubuntu (after fixing the sata-usb bug). The problem is when I go to print with this profile, no matter what or where the obje3ct is placed, it try to print off the platform making a bad sound.
Can someone fix the XML file for Root?

spoofly

Posts : 4
Join date : 2016-06-20

View user profile

Back to top Go down

Re: Root Profile for ReplicatorG

Post by spoofly on Mon Jun 20, 2016 2:57 pm

I found the following information but I do not know how to edit the XML properly.

I rewrote the XML but it's the same basically..
Code:
<?xml version="1.1" encoding="utf-8"?>
<machines>
<machine experimental="0">
      <name>The Replicator Dual</name>
      <geometry type="cartesian">
         <!-- different pulleys on X and Y axii -->
         <axis id="x" length="150" maxfeedrate="5000" homingfeedrate="2500" stepspermm="71.699959" endstops="max"/>  <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
         <axis id="y" length="148" maxfeedrate="5000" homingfeedrate="2500" stepspermm="71.699959" endstops="max"/>  <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
         <axis id="z" length="143" maxfeedrate="1170" homingfeedrate="1100" stepspermm="71.699959" endstops="min"/>
         <axis id="a" length="100000" maxfeedrate="1600" stepspermm="96.275201870333662468889989185642" endstops="none"/>
      </geometry>
      <tools>
         <tool name="PLA Extruder" stepper_axis="a" index="0" type="extruder" motor="true" fan="true" heatedplatform="false" motor_steps="3200" default_rpm="3" heater="true"/>
      </tools>
      <wipes>
         <wipe index="0" X1="-135.0" Y1="55.0" X2="-135.0" Y2="45.0" wait="1000.0" purge_duration="1000" reverse_duration="15" purge_rpm="5.0" reverse_rpm="35.0"/>
         <wipe index="1" X1="-135.0" Y1="55.0" X2="-135.0" Y2="45.0" wait="1000.0" purge_duration="1000" reverse_duration="15" purge_rpm="5.0" reverse_rpm="35.0"/>
      </wipes>
      <!--
      <offsets>
         <offset xNozzle="33.0" yNozzle="0.0" zNozzle="0.0" />
      </offsets>
      -->
      <clamps></clamps>
      <driver name="mightyboard">
         <portname>ttyACM0</portname>
         <rate>115200</rate>
      </driver>
      <warmup>
      </warmup>
      <cooldown>
M18 (Turn off steppers after a build.)
      </cooldown>
      <bookend start="machines/replicator/Single_Head_start.gcode" end="machines/replicator/end.gcode"/>
   </machine>
</machines>

spoofly

Posts : 4
Join date : 2016-06-20

View user profile

Back to top Go down

Re: Root Profile for ReplicatorG

Post by ModernGnome on Tue Jun 21, 2016 2:26 am

Did you exactly follow all the steps in the first message, including "Select 'Root' from the 'Other Bots' folder in ReplicatorG's 'Machine' menu."? If not, please review that one, and the other  message that says "(If you don't see that option, stop now! It won't work until you edit the above profile for your specific machine's Z-height, then install the profile as detailed above and choose 'Root' as your machine type.)"

ModernGnome

Posts : 83
Join date : 2015-10-16

View user profile

Back to top Go down

Re: Root Profile for ReplicatorG

Post by spoofly on Tue Jun 21, 2016 1:02 pm

ModernGnome wrote:Did you exactly follow all the steps in the first message, including "Select 'Root' from the 'Other Bots' folder in ReplicatorG's 'Machine' menu."? If not, please review that one, and the other  message that says "(If you don't see that option, stop now! It won't work until you edit the above profile for your specific machine's Z-height, then install the profile as detailed above and choose 'Root' as your machine type.)"

I appreciate your response so much! I am a Computer Science student at my small private school; we bought a Root and it is very high quality. Windows is a nasty breed of software so I refuse to use Germinate or whatever.

I installed the profile correctly, and I played with the axis numbers and got it to do some stuff. I did not edit the Z height, how do I do that in Replicatorg?

I really appreciate your cooperation Very Happy

spoofly

Posts : 4
Join date : 2016-06-20

View user profile

Back to top Go down

Re: Root Profile for ReplicatorG

Post by spoofly on Tue Jun 21, 2016 1:04 pm

Yes, I have edited the Z height, however I have just been playing random numbers. It does seem to do something.

Is the Z height Up and Down? Shouldn't this work with the GP3D Root by default?

spoofly

Posts : 4
Join date : 2016-06-20

View user profile

Back to top Go down

Re: Root Profile for ReplicatorG

Post by gpiffle on Tue Jun 21, 2016 10:38 pm

Yes - Z is up and down.. with the ROOT printer, you start at about 143 and work from there. up or down
mine is at 143.2, I think.. haven't been able to use it for a couple of months with the fan gone and waiting on a new one.

gpiffle

Posts : 83
Join date : 2015-10-17

View user profile

Back to top Go down

Re: Root Profile for ReplicatorG

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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