> So, I've been searching everwhere (including this group) but can't find any
> documentation on the syntax and allowed things in the machines file..
>
> I've started working on one (and will post it on my blog and here when it's
> done) but don't know anything that's not in the machines xml file already.
>
> Anybody know where I could find more info?
As with all things open source, you can always look at the source code itself.
(And, often it's the case with open source that that is all the info there is.)
The sources are at github,
git://github.com/makerbot/ReplicatorG.git
Dan
>
> On 10 Feb 2012 , at 4:57 PM, Z LeHericy wrote:
>
>> So, I've been searching everwhere (including this group) but can't find any
>> documentation on the syntax and allowed things in the machines file..
>>
>> I've started working on one (and will post it on my blog and here when it's
>> done) but don't know anything that's not in the machines xml file already.
>>
>> Anybody know where I could find more info?
BTW, there is the doc page,
http://replicat.org/machine-configuration
but I don't believe it mentions anything which you don't know already from
looking at the supplied XML files that came with RepG. (Hence why I mentioned
looking at the sources if you want a definitive guide.)
Dan
Dan
--
You received this message because you are subscribed to the Google Groups "MakerBot Operators" group.
To post to this group, send email to make...@googlegroups.com.
To unsubscribe from this group, send email to makerbot+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/makerbot?hl=en.
Dan
> I saw that page, and if you look at it, you'll see that it barely mentions
Hence my comment that it didn't show anything you didn't already know. I'll
pull a copy of repg this evening and have a look see.
Dan
Dan
Hope this helps you -- it's literally what you asked after, the elements
and the attributes associated with them and their approximate syntax.
It's not the semantics, however. That would require code spelunking to
accurately arrive at. Note that the exact syntax of the integers and
double precision floats is as per Java's parsing of those from strings.
Booleans are "true", "false", "0", or "1".
Dan
<machine> <!-- zero or more -->
<!-- TYPE INFORMATION -->
<!-- A machine profile name. If the name starts with "The Replicator", "Thingomatic",
"Cupcake" then that has significance to RepG. -->
<name>machine profile name</name>
<!-- AXES INFORMATION -->
<geometry>
<!-- zero or more "axis" elements -->
<axis id="string" <!-- one of "x", "y", "z", "a" (extruder t0), "b" (extruder t1),
"c" (rotational around z), "u" (parallel to x), "v" (parallel to y),
"w" (parallel to z) -->
length="value" <!-- double prec. float; default = 100.0;
used for build volume information and thus only used when
id="x", "y", or "z" -->
maxfeedrate="value" <!-- double prec. float; default = 0.0 -->
homingfeedrate="value" <!-- double precision float; defaults to "maxfeedrate" -->
stepspermm="value" <!-- double precision float; if not specified, then "scale" is used;
defaults to "1.0" -->
scale="value" <!-- only used of "stepspermm" is not specified -->
timeout="value" <!-- homing timeout; defaults to "20.0" (seconds?) -->
endstops="string" <!-- one of "min", "max", "none", or "both" (case insensitive);
default="none" --> />
<!-- CLAMPS INFORMATION (looks to not be implemented yet) -->
<clamps>
<!-- Each element with ANY tag name at this level causes a "Clamp" object to be created -->
</clamps>
<!-- TOOLS INFORMATION -->
<tools>
<!-- Zero or more "tool" elements -->
<tool name="string" <!-- tool name; default is "Generic Tool" -->
index="integer" <!-- default is 0 -->
type="string" <!-- "Mk1", "Mk2", "Mk3", "Mk5", "Mk6", "Mk7",
"Mk7a", "Mk8", "Frostruder", "Unicorn", "Unknown";
default is "Unknown" -->
material="string" <!-- default is "unknown" -->
log_hbp="boolean" <!-- default is "0" -->
motor="boolean" <!-- default is "0" -->
motor_encoder_ppr="integer"
motor_steps="value" <!-- double prec. float -->
stepper_axis="string" <!-- "x", "y", "z", "a", "b", "c", "u", "v", "w" -->
default_rpm="value" <!-- double prec. float -->
default_pwm="integer"
use_relay="boolean" <!-- default is "0" -->
spindle="boolean" <!-- default is "0" -->
floodcoolant="boolean" <!-- default is "0" -->
mistcoolant="boolean" <!-- default is "0" -->
fan="boolean" <!-- default is "0" -->
valve="boolean" <!-- default is "0" -->
collet="boolean" <!-- default is "0" -->
heater="boolean" <!-- default is "0" -->
heatedplatform="boolean" <!-- default is "0" -->
automatedplatform="boolean" <!-- default is "0" --> />
</tools>
<!-- WIPES INFORMATION (see WipeModel.java) -->
<wipes>
<!-- zero or more "wipe" elements -->
<wipe index="int" <!-- tool head number -->
X1="string" <!-- default is "" -->
Y1="string" <!-- default is "" -->
Z1="string" <!-- default is "" -->
X2="string" <!-- default is "" -->
Y2="string" <!-- default is "" -->
Z2="string" <!-- default is "" -->
wait="string" <!-- default is "" -->
purge_duration="string" <!-- default is "" -->
reverse_duration="string" <!-- default is "" -->
purge_rpm="string" <!-- default is "" --> />
</wipes>
<!-- EXLCUSION INFORMATION -->
<!-- GCODE INFORMATION -->
<!-- Must have a "bookend" element -- required -->
<bookend dualstart="filename"
start="filename"
end="filename" />