files brynjarh23 found on the basement computer
This commit is contained in:
180
Software_folder/Foamcutter.m
Normal file
180
Software_folder/Foamcutter.m
Normal file
@@ -0,0 +1,180 @@
|
||||
%
|
||||
% Tveggja NACAmptt pr<EFBFBD>f<EFBFBD>la-reiknir sem t<EFBFBD>knbreytir ferlum yfir
|
||||
%
|
||||
% <EFBFBD> G-k<EFBFBD><EFBFBD>a fyrir frau<EFBFBD>plastskera sem sta<EFBFBD>settur er <EFBFBD> vindgangar<EFBFBD>mi
|
||||
%
|
||||
% H<EFBFBD>sk<EFBFBD>lans <EFBFBD> Reykjav<EFBFBD>k.
|
||||
%
|
||||
%
|
||||
%
|
||||
% Innlagsbreytur: m, p, t, c, b, TEo, TEv, inc, n, filename
|
||||
%
|
||||
% Hver innlagsbreyta fyrir sig er <EFBFBD>tsk<EFBFBD>r<EFBFBD> <EFBFBD>ar sem h<EFBFBD>n kemur fyrir <EFBFBD>
|
||||
%
|
||||
% k<EFBFBD><EFBFBD>anum
|
||||
%
|
||||
%
|
||||
%
|
||||
% <EFBFBD>ttaksbreyta: G-k<EFBFBD><EFBFBD>i sem skrifa<EFBFBD>ur er <EFBFBD> skr<EFBFBD>nna 'filename.gcode'
|
||||
%
|
||||
%
|
||||
%
|
||||
% H<EFBFBD>fundur: Kristj<EFBFBD>n Orri Magn<EFBFBD>sson, H<EFBFBD>sk<EFBFBD>linn <EFBFBD> Reykjav<EFBFBD>k, Haust 2011
|
||||
%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
clear all
|
||||
% Nafn <EFBFBD>ttaksskr<EFBFBD>ar. Endingin skal vera .gcode.
|
||||
filename=['NACA0015test.gcode']
|
||||
%One digit max camber as % of chord, m2 er pr<EFBFBD>f<EFBFBD>llinn sem a<EFBFBD> A-B plan
|
||||
%frau<EFBFBD>plastskerans teiknar og m er fyrir X-Y plani<EFBFBD>.
|
||||
m=0
|
||||
m2=0
|
||||
%One digit describing the distance of maximum camber from the airfoil
|
||||
%leading edge in tens of percents of the chord. p->X-Y plan, p2->A-B plan
|
||||
p=0
|
||||
p2=0
|
||||
%Two digits describing maximum thickness of the airfoil as percent of the
|
||||
%chord. t-> X-Y plan, t2-> A-B plan
|
||||
t=15
|
||||
t2=15
|
||||
%chord length (mm). c ->X-Y plan c2->A-B plan
|
||||
c=130
|
||||
c2=130
|
||||
% Span length(mm). V<EFBFBD>nghaf v<EFBFBD>ngs sem skera <EFBFBD> <EFBFBD>t.
|
||||
b=500
|
||||
%T/E horizontal offset (mm). L<EFBFBD>r<EFBFBD>tt hli<EFBFBD>run trailing edge milli pr<EFBFBD>f<EFBFBD>la <EFBFBD>
|
||||
%XY og AB v<EFBFBD>ngsni<EFBFBD>um.
|
||||
TEo=10
|
||||
%T/E vertical offset (mm). L<EFBFBD><EFBFBD>r<EFBFBD>tt hli<EFBFBD>run trailing edge milli pr<EFBFBD>f<EFBFBD>la <EFBFBD>
|
||||
%XY og AB v<EFBFBD>ngsni<EFBFBD>um.
|
||||
TEv=30
|
||||
%Incline(rad). Vindingur, horn milli v<EFBFBD>ngl<EFBFBD>na sitt hvors pr<EFBFBD>f<EFBFBD>ls.
|
||||
inc=20*pi/180
|
||||
%number of points (80 is minimum for L/E precision)
|
||||
n=80
|
||||
|
||||
%Total span (mm). Hornr<EFBFBD>tt vegalengd milli XY og AB plana, fasti.
|
||||
tsp=935
|
||||
%Scale up for shorter than tsp wings
|
||||
inc=inc*tsp/b;
|
||||
c2=c-(c-c2)*tsp/b;
|
||||
TEo=TEo*tsp/b;
|
||||
TEv=TEv*tsp/b;
|
||||
%scaling for machine units
|
||||
c=c*8.889;
|
||||
c2=c2*8.889;
|
||||
TEo=TEo*8.889; TEv=TEv*8.889;
|
||||
%dx <EFBFBD>arf a<EFBFBD> ganga upp <EFBFBD> c til a<EFBFBD> loka pr<EFBFBD>f<EFBFBD>lnum
|
||||
dx=c/n;
|
||||
dx2=c2/n;
|
||||
%Scaling for equations m=m/100;
|
||||
m2=m2/100;
|
||||
p=p/10;
|
||||
p2=p2/10;
|
||||
t=t/100;
|
||||
t2=t2/100;
|
||||
x=0:dx:c; %L<EFBFBD>r<EFBFBD>tt sta<EFBFBD>setning mi<EFBFBD>a<EFBFBD> vi<EFBFBD> v<EFBFBD>ngl<EFBFBD>nu <EFBFBD> XY plani
|
||||
x2=0:dx2:c2;%L<EFBFBD><EFBFBD>r<EFBFBD>tt sta<EFBFBD>setning mi<EFBFBD>a<EFBFBD> vi<EFBFBD> v<EFBFBD>ngl<EFBFBD>nu <EFBFBD> XY plani
|
||||
%symmetrical airfoil generator
|
||||
yt=(t*c/0.2).*(0.2969.*(x./c).^0.5-0.1281.*(x./c)- 0.3516.*(x./c).^2+0.2843.*(x./c).^3-0.1015.*(x./c).^4);
|
||||
yt2=(t2*c2/0.2).*(0.2969.*(x2./c2).^0.5-0.1281.*(x2./c2)- 0.3516.*(x2./c2).^2+0.2843.*(x2./c2).^3-0.1015.*(x2./c2).^4);
|
||||
%camber line 1 (XY plan)
|
||||
for i=1:length(x)
|
||||
if x(i)<p*c
|
||||
yc(i)=m.*(x(i)./p^2).*(2*p-x(i)./c)
|
||||
else
|
||||
yc(i)=m.*(c-x(i))./(1-p)^2.*(1+x(i)./c-2*p);
|
||||
end
|
||||
end
|
||||
th(1)=1;
|
||||
for i=2:length(x)
|
||||
th(i)=atan((yc(i)-yc(i-1))/dx); %Snertilhorn camber line (XY)
|
||||
end
|
||||
%camber line 2 (AB plan)
|
||||
for i=1:length(x2)
|
||||
if x2(i)<p2*c2
|
||||
yc2(i)=m2.*(x2(i)./p2^2).*(2*p2-x2(i)./c2);
|
||||
else
|
||||
yc2(i)=m2.*(c2-x2(i))./(1-p2)^2.*(1+x2(i)./c2-2*p2);
|
||||
end
|
||||
end
|
||||
th2(1)=1;
|
||||
for i=2:length(x2)
|
||||
th2(i)=atan((yc2(i)-yc2(i-1))/dx); %Snertilhorn camber line (AB)
|
||||
end
|
||||
%points for profile 1 (XY)
|
||||
xu=x-yt.*sin(th); % X upper
|
||||
xl=x+yt.*sin(th); % X lower
|
||||
yu=yc+yt.*cos(th); % Y upper
|
||||
yl=yc-yt.*cos(th); % Y lower
|
||||
xu=fliplr(xu); %Sn<EFBFBD>i<EFBFBD> vi<EFBFBD> til a<EFBFBD> f<EFBFBD> samfella hreyfingu yfir pr<EFBFBD>f<EFBFBD>linn
|
||||
yu=fliplr(yu);
|
||||
|
||||
%points for profile 2 (AB)
|
||||
xu2=x2-yt2.*sin(th2)+100000; %A upper (<EFBFBD>n vindings)
|
||||
xl2=x2+yt2.*sin(th2)+100000; %A lower (<EFBFBD>n vindings)
|
||||
yu2=yc2+yt2.*cos(th2); %B upper
|
||||
yl2=yc2-yt2.*cos(th2); %B lower
|
||||
fu=atan(yu2./xu2); %V<EFBFBD>ngl<EFBFBD>nu AB pr<EFBFBD>f<EFBFBD>ls sn<EFBFBD>i<EFBFBD> um horni<EFBFBD> inc
|
||||
fl=atan(yl2./xl2);
|
||||
yu2=xu2.*sin(fu+inc)-100000*sin(inc);
|
||||
yl2=xl2.*sin(fl+inc)-100000*sin(inc);
|
||||
xu2=xu2.*cos(fu+inc)-100000*cos(inc);
|
||||
xl2=xl2.*cos(fl+inc)-100000*cos(inc);
|
||||
yu2=yu2-yu2(end)+TEv; %Hli<EFBFBD>run A upper <EFBFBD> l<EFBFBD>r<EFBFBD>tta stefnu
|
||||
yl2=yl2-yl2(end)+TEv; %Hli<EFBFBD>run A lower <EFBFBD> l<EFBFBD>r<EFBFBD>tta stefnu
|
||||
xu2=xu2+c-xu2(end)-TEo;%Hli<EFBFBD>run B upper <EFBFBD> l<EFBFBD><EFBFBD>r<EFBFBD>tta stefnu
|
||||
xl2=xl2+c-xl2(end)-TEo;
|
||||
%Hli<EFBFBD>rn B lower <EFBFBD> l<EFBFBD><EFBFBD>r<EFBFBD>tta stefnu
|
||||
xu2=fliplr(xu2); %Sn<EFBFBD>i<EFBFBD> vi<EFBFBD> til a<EFBFBD> f<EFBFBD> samfella hreyfingu yfir pr<EFBFBD>f<EFBFBD>linn
|
||||
yu2=fliplr(yu2);
|
||||
|
||||
%Wing plotted in 3D for visualization
|
||||
z11=zeros(length(xu))
|
||||
z12=zeros(length(xl))
|
||||
z21=zeros(length(xu2))
|
||||
z22=zeros(length(xl2))
|
||||
z21=z21+tsp*8.889
|
||||
z22=z22+tsp*8.889
|
||||
figure(1)
|
||||
hold on
|
||||
plot3(xu,yu,z11,'r',xl,yl,z12,'r')
|
||||
plot3(xu2,yu2,z21,'r',xl2,yl2,z22,'r')
|
||||
for i=1:10:length(xu)
|
||||
plot3([xu(i) xu2(i)],[yu(i) yu2(i)],[z11(i) z21(i)])
|
||||
plot3([xl(i) xl2(i)],[yl(i) yl2(i)],[z11(i) z21(i)])
|
||||
end
|
||||
axis equal
|
||||
%grid on
|
||||
hold off
|
||||
|
||||
|
||||
|
||||
% GCODE t<EFBFBD>knbreytir -> breytir l<EFBFBD>nuvigrum <EFBFBD> f<EFBFBD>rslul<EFBFBD>nur G-k<EFBFBD><EFBFBD>a.
|
||||
% Fyrst er vigrum breytt <EFBFBD>r sta<EFBFBD>setningarvigrum yfir <EFBFBD> f<EFBFBD>rsuvigra
|
||||
for i=1:n
|
||||
xx(i)=xu(i+1)-xu(i);
|
||||
yy(i)=yu(i+1)-yu(i);
|
||||
|
||||
xx(i+length(x))=xl(i+1)-xl(i);
|
||||
yy(i+length(x))=yl(i+1)-yl(i);
|
||||
end
|
||||
|
||||
for i=1:n
|
||||
aa(i)=xu2(i+1)-xu2(i);
|
||||
bb(i)=-1*(yu2(i+1)-yu2(i));
|
||||
aa(i+length(x2))=xl2(i+1)-xl2(i);
|
||||
bb(i+length(x2))=-1*(yl2(i+1)-yl2(i));
|
||||
end
|
||||
%Svo er skr<EFBFBD>in opnu<EFBFBD>
|
||||
fid=fopen(filename,'wt');
|
||||
%Og g-k<EFBFBD><EFBFBD>inn skrifa<EFBFBD>ur <EFBFBD> hana
|
||||
fprintf(fid,['G1 A' num2str(-TEo) ' B' num2str(-TEv) ' F3500\n'])
|
||||
%Hli<EFBFBD>run
|
||||
for i=1: 2*n+1
|
||||
fprintf(fid,['G1 X' num2str(xx(i)) ' Y' num2str(yy(i)) ' F4000\n']);
|
||||
fprintf(fid,['G1 A' num2str(aa(i)) ' B' num2str(bb(i)) ' F4000\n']);
|
||||
|
||||
end
|
||||
|
||||
101
Software_folder/Foamcutter_demo.m
Normal file
101
Software_folder/Foamcutter_demo.m
Normal file
@@ -0,0 +1,101 @@
|
||||
function Foamcutter_demo
|
||||
%
|
||||
% Forrit sem b<EFBFBD>r til G-k<EFBFBD><EFBFBD>a fyrir frau<EFBFBD>plastskera sem sta<EFBFBD>settur
|
||||
% er <EFBFBD> vindgangar<EFBFBD>mi H<EFBFBD>sk<EFBFBD>lans <EFBFBD> Reykjav<EFBFBD>k.
|
||||
% <EFBFBD>ttaksbreyta: G-k<EFBFBD><EFBFBD>i sem skrifa<EFBFBD>ur er <EFBFBD> skr<EFBFBD>nna 'filename.gcode'
|
||||
% H<EFBFBD>fundur: ISR, H<EFBFBD>sk<EFBFBD>linn <EFBFBD> Reykjav<EFBFBD>k, Vor 2013
|
||||
% <EFBFBD>essi k<EFBFBD><EFBFBD>i gerir r<EFBFBD><EFBFBD> fyrir a<EFBFBD> hlutur hafi eins l<EFBFBD>gun <EFBFBD> sitt hvorum enda
|
||||
%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
clear all
|
||||
% Nafn <EFBFBD>ttaksskr<EFBFBD>ar. Endingin skal vera .gcode.
|
||||
filename='test.gcode';
|
||||
%
|
||||
%Upphafssta<EFBFBD>a
|
||||
x0 = 0;
|
||||
y0 = 0;
|
||||
% Skali sem skalar mm yfir <EFBFBD> f<EFBFBD>rslueiningar frau<EFBFBD>plastskera
|
||||
skali = 8.889;
|
||||
ns=40; %fj<EFBFBD>ldi skrefa <EFBFBD> ferli
|
||||
|
||||
x(1) = x0; %Fyrsti punktur <EFBFBD> ferli er upphafssta<EFBFBD>a
|
||||
y(1) = y0;
|
||||
|
||||
% Allir punktar <EFBFBD> ferli eru reikna<EFBFBD>ir <EFBFBD>t og skrifa<EFBFBD>ir <EFBFBD> r<EFBFBD>ttri r<EFBFBD><EFBFBD>
|
||||
% inn <EFBFBD> vektorana x og y. Punktarnir ver<EFBFBD>a a<EFBFBD> vera <EFBFBD> s<EFBFBD>mu r<EFBFBD><EFBFBD> og
|
||||
% skerinn <EFBFBD> a<EFBFBD> skera <EFBFBD>v<EFBFBD> annars kemur st<EFBFBD>kk <EFBFBD> skur<EFBFBD>inn.
|
||||
|
||||
% H<EFBFBD>r er form<EFBFBD>lur fyrir ferilinn. <EFBFBD>essu <EFBFBD>arf a<EFBFBD> breyta ef <EFBFBD> a<EFBFBD> skera <EFBFBD>t
|
||||
% anna<EFBFBD> form.
|
||||
h = 100; %t<EFBFBD>lur sem <EFBFBD>kvar<EFBFBD>a st<EFBFBD>r<EFBFBD> <EFBFBD> demohlut
|
||||
b = 50; % <EFBFBD>verm<EFBFBD>l boga
|
||||
ii = 1;
|
||||
|
||||
% teiknar beina l<EFBFBD>nu <EFBFBD> ns skrefum
|
||||
lina(x(1),y(1),-b/2,h,ns);
|
||||
%teiknar h<EFBFBD>lfhring <EFBFBD> ns skrefum me<EFBFBD> mi<EFBFBD>ju <EFBFBD> (0,h) og rad<EFBFBD>us b/2
|
||||
bogi(x(ii),y(ii),0,h,pi,-1,ns);
|
||||
% teiknar a<EFBFBD>ra beina l<EFBFBD>nu <EFBFBD> ns skrefum
|
||||
lina(x(ii),y(ii),x0,y0,ns);
|
||||
|
||||
%Ferill plotta<EFBFBD>ur sko<EFBFBD>i<EFBFBD> vel hvort hann hefur r<EFBFBD>tt form <EFBFBD><EFBFBD>ur en
|
||||
% G-k<EFBFBD><EFBFBD>inn er keyr<EFBFBD>ur <EFBFBD> kutterinn.
|
||||
|
||||
plot(x,y,'r')
|
||||
|
||||
axis equal
|
||||
grid on
|
||||
hold off
|
||||
|
||||
l = length(x);
|
||||
% GCODE t<EFBFBD>knbreytir -> breytir l<EFBFBD>nuvigrum <EFBFBD> f<EFBFBD>rslul<EFBFBD>nur G-k<EFBFBD><EFBFBD>a.
|
||||
% Fyrst er vigrum breytt <EFBFBD>r sta<EFBFBD>setningarvigrum yfir <EFBFBD> f<EFBFBD>rsuvigra
|
||||
% <EFBFBD> f<EFBFBD>rslueiningum frau<EFBFBD>plastskera.
|
||||
for i=1:l-1
|
||||
xx(i)=(x(i+1)-x(i))*skali;
|
||||
yy(i)=(y(i+1)-y(i))*skali;
|
||||
end
|
||||
|
||||
%Svo er skr<EFBFBD>in opnu<EFBFBD>
|
||||
fid=fopen(filename,'wt');
|
||||
%Og g-k<EFBFBD><EFBFBD>inn skrifa<EFBFBD>ur <EFBFBD> hana
|
||||
% Upphafspunktur ath. a<EFBFBD> x - y hli<EFBFBD>in hefur vi<EFBFBD>sn<EFBFBD>in y <EFBFBD>s
|
||||
fprintf(fid,['G1 X' num2str(x0*skali) ' Y' num2str(-y0*skali) ' F2000\n']);
|
||||
fprintf(fid,['G1 A' num2str(x0*skali) ' B' num2str(y0*skali) ' F2000\n']);
|
||||
|
||||
% Ferill
|
||||
for i=1: l-1
|
||||
fprintf(fid,['G1 X' num2str(xx(i)) ' Y' num2str(-yy(i)) ' F2000\n']);
|
||||
fprintf(fid,['G1 A' num2str(xx(i)) ' B' num2str(yy(i)) ' F2000\n']);
|
||||
end
|
||||
|
||||
%Setur skerhausa aftur <EFBFBD> n<EFBFBD>llpunkt
|
||||
fprintf(fid,['G1 X' num2str(-x0*skali) ' Y' num2str(y0*skali) ' F2000\n']);
|
||||
fprintf(fid,['G1 A' num2str(-x0*skali) ' B' num2str(-y0*skali) ' F2000\n']);
|
||||
|
||||
% f<EFBFBD>ll til a<EFBFBD> teikna l<EFBFBD>nur og boga
|
||||
|
||||
function lina(x1,y1,x2,y2,n)
|
||||
dx = (x2 -x1)/n;
|
||||
dy = (y2 - y1)/n; %F<EFBFBD>rsluhnit
|
||||
for i = 1:n
|
||||
ii = ii+1;
|
||||
x(ii)=x1 + dx*i;
|
||||
y(ii)=y1 + dy*i;
|
||||
end
|
||||
end
|
||||
|
||||
function bogi(x1,y1,x0,y0,horn,k,n)
|
||||
r = sqrt((x1-x0)^2+(y1-y0)^2);
|
||||
fi = atan2((y1-y0),(x1-x0));
|
||||
for i = 1:n
|
||||
ii = ii+1;
|
||||
theta = k*i*horn/n;
|
||||
x(ii) = x0 + r*cos(theta+fi);
|
||||
y(ii) = y0+r*sin(theta+fi);
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
BIN
Software_folder/Leiðbeiningar-frauðplastskeri.pdf
Normal file
BIN
Software_folder/Leiðbeiningar-frauðplastskeri.pdf
Normal file
Binary file not shown.
BIN
Software_folder/Lokaverkefni_KOM_FA.pdf
Normal file
BIN
Software_folder/Lokaverkefni_KOM_FA.pdf
Normal file
Binary file not shown.
323
Software_folder/NACA0015test.gcode
Normal file
323
Software_folder/NACA0015test.gcode
Normal file
@@ -0,0 +1,323 @@
|
||||
G1 A-166.2243 B-498.6729 F3500
|
||||
G1 X-14.4446 Y2.5367 F4000
|
||||
G1 A-13.0158 B6.7581 F4000
|
||||
G1 X-14.4446 Y2.4985 F4000
|
||||
G1 A-12.9926 B6.7885 F4000
|
||||
G1 X-14.4446 Y2.4613 F4000
|
||||
G1 A-12.9701 B6.8181 F4000
|
||||
G1 X-14.4446 Y2.4249 F4000
|
||||
G1 A-12.948 B6.847 F4000
|
||||
G1 X-14.4446 Y2.3894 F4000
|
||||
G1 A-12.9265 B6.8753 F4000
|
||||
G1 X-14.4446 Y2.3547 F4000
|
||||
G1 A-12.9055 B6.9029 F4000
|
||||
G1 X-14.4446 Y2.3207 F4000
|
||||
G1 A-12.8849 B6.9299 F4000
|
||||
G1 X-14.4446 Y2.2874 F4000
|
||||
G1 A-12.8647 B6.9564 F4000
|
||||
G1 X-14.4446 Y2.2547 F4000
|
||||
G1 A-12.8448 B6.9824 F4000
|
||||
G1 X-14.4446 Y2.2225 F4000
|
||||
G1 A-12.8253 B7.008 F4000
|
||||
G1 X-14.4446 Y2.1909 F4000
|
||||
G1 A-12.8061 B7.0332 F4000
|
||||
G1 X-14.4446 Y2.1596 F4000
|
||||
G1 A-12.7872 B7.058 F4000
|
||||
G1 X-14.4446 Y2.1288 F4000
|
||||
G1 A-12.7685 B7.0826 F4000
|
||||
G1 X-14.4446 Y2.0982 F4000
|
||||
G1 A-12.7499 B7.1069 F4000
|
||||
G1 X-14.4446 Y2.0678 F4000
|
||||
G1 A-12.7315 B7.131 F4000
|
||||
G1 X-14.4446 Y2.0377 F4000
|
||||
G1 A-12.7132 B7.155 F4000
|
||||
G1 X-14.4446 Y2.0076 F4000
|
||||
G1 A-12.695 B7.1789 F4000
|
||||
G1 X-14.4446 Y1.9776 F4000
|
||||
G1 A-12.6768 B7.2027 F4000
|
||||
G1 X-14.4446 Y1.9476 F4000
|
||||
G1 A-12.6586 B7.2266 F4000
|
||||
G1 X-14.4446 Y1.9176 F4000
|
||||
G1 A-12.6404 B7.2505 F4000
|
||||
G1 X-14.4446 Y1.8873 F4000
|
||||
G1 A-12.622 B7.2745 F4000
|
||||
G1 X-14.4446 Y1.8569 F4000
|
||||
G1 A-12.6035 B7.2987 F4000
|
||||
G1 X-14.4446 Y1.8261 F4000
|
||||
G1 A-12.5849 B7.3232 F4000
|
||||
G1 X-14.4446 Y1.795 F4000
|
||||
G1 A-12.566 B7.3479 F4000
|
||||
G1 X-14.4446 Y1.7635 F4000
|
||||
G1 A-12.5469 B7.3729 F4000
|
||||
G1 X-14.4446 Y1.7315 F4000
|
||||
G1 A-12.5274 B7.3984 F4000
|
||||
G1 X-14.4446 Y1.6989 F4000
|
||||
G1 A-12.5077 B7.4243 F4000
|
||||
G1 X-14.4446 Y1.6657 F4000
|
||||
G1 A-12.4875 B7.4507 F4000
|
||||
G1 X-14.4446 Y1.6317 F4000
|
||||
G1 A-12.4669 B7.4776 F4000
|
||||
G1 X-14.4446 Y1.597 F4000
|
||||
G1 A-12.4458 B7.5052 F4000
|
||||
G1 X-14.4446 Y1.5613 F4000
|
||||
G1 A-12.4241 B7.5336 F4000
|
||||
G1 X-14.4446 Y1.5247 F4000
|
||||
G1 A-12.4019 B7.5626 F4000
|
||||
G1 X-14.4446 Y1.4871 F4000
|
||||
G1 A-12.379 B7.5925 F4000
|
||||
G1 X-14.4446 Y1.4483 F4000
|
||||
G1 A-12.3555 B7.6233 F4000
|
||||
G1 X-14.4446 Y1.4083 F4000
|
||||
G1 A-12.3312 B7.6551 F4000
|
||||
G1 X-14.4446 Y1.367 F4000
|
||||
G1 A-12.3061 B7.6879 F4000
|
||||
G1 X-14.4446 Y1.3243 F4000
|
||||
G1 A-12.2801 B7.7218 F4000
|
||||
G1 X-14.4446 Y1.2801 F4000
|
||||
G1 A-12.2532 B7.757 F4000
|
||||
G1 X-14.4446 Y1.2342 F4000
|
||||
G1 A-12.2254 B7.7934 F4000
|
||||
G1 X-14.4446 Y1.1867 F4000
|
||||
G1 A-12.1965 B7.8312 F4000
|
||||
G1 X-14.4446 Y1.1373 F4000
|
||||
G1 A-12.1664 B7.8704 F4000
|
||||
G1 X-14.4446 Y1.0859 F4000
|
||||
G1 A-12.1352 B7.9112 F4000
|
||||
G1 X-14.4446 Y1.0325 F4000
|
||||
G1 A-12.1028 B7.9536 F4000
|
||||
G1 X-14.4446 Y0.97683 F4000
|
||||
G1 A-12.0689 B7.9978 F4000
|
||||
G1 X-14.4446 Y0.91884 F4000
|
||||
G1 A-12.0337 B8.0438 F4000
|
||||
G1 X-14.4446 Y0.85835 F4000
|
||||
G1 A-11.9969 B8.0919 F4000
|
||||
G1 X-14.4446 Y0.79522 F4000
|
||||
G1 A-11.9585 B8.142 F4000
|
||||
G1 X-14.4446 Y0.72926 F4000
|
||||
G1 A-11.9184 B8.1944 F4000
|
||||
G1 X-14.4446 Y0.66029 F4000
|
||||
G1 A-11.8765 B8.2491 F4000
|
||||
G1 X-14.4446 Y0.58812 F4000
|
||||
G1 A-11.8326 B8.3064 F4000
|
||||
G1 X-14.4446 Y0.51254 F4000
|
||||
G1 A-11.7867 B8.3664 F4000
|
||||
G1 X-14.4446 Y0.4333 F4000
|
||||
G1 A-11.7385 B8.4293 F4000
|
||||
G1 X-14.4446 Y0.35015 F4000
|
||||
G1 A-11.6879 B8.4953 F4000
|
||||
G1 X-14.4446 Y0.2628 F4000
|
||||
G1 A-11.6348 B8.5647 F4000
|
||||
G1 X-14.4446 Y0.17095 F4000
|
||||
G1 A-11.579 B8.6376 F4000
|
||||
G1 X-14.4446 Y0.074232 F4000
|
||||
G1 A-11.5202 B8.7144 F4000
|
||||
G1 X-14.4446 Y-0.027748 F4000
|
||||
G1 A-11.4582 B8.7953 F4000
|
||||
G1 X-14.4446 Y-0.13544 F4000
|
||||
G1 A-11.3927 B8.8808 F4000
|
||||
G1 X-14.4446 Y-0.24937 F4000
|
||||
G1 A-11.3234 B8.9713 F4000
|
||||
G1 X-14.4446 Y-0.37012 F4000
|
||||
G1 A-11.25 B9.0672 F4000
|
||||
G1 X-14.4446 Y-0.49838 F4000
|
||||
G1 A-11.172 B9.169 F4000
|
||||
G1 X-14.4446 Y-0.63497 F4000
|
||||
G1 A-11.0889 B9.2774 F4000
|
||||
G1 X-14.4446 Y-0.78085 F4000
|
||||
G1 A-11.0002 B9.3932 F4000
|
||||
G1 X-14.4446 Y-0.93716 F4000
|
||||
G1 A-10.9052 B9.5173 F4000
|
||||
G1 X-14.4446 Y-1.1053 F4000
|
||||
G1 A-10.803 B9.6508 F4000
|
||||
G1 X-14.4446 Y-1.287 F4000
|
||||
G1 A-10.6925 B9.7951 F4000
|
||||
G1 X-14.4446 Y-1.4844 F4000
|
||||
G1 A-10.5725 B9.9518 F4000
|
||||
G1 X-14.4446 Y-1.7001 F4000
|
||||
G1 A-10.4413 B10.1231 F4000
|
||||
G1 X-14.4446 Y-1.9378 F4000
|
||||
G1 A-10.2969 B10.3119 F4000
|
||||
G1 X-14.4446 Y-2.2021 F4000
|
||||
G1 A-10.1362 B10.5217 F4000
|
||||
G1 X-14.4446 Y-2.4992 F4000
|
||||
G1 A-9.9557 B10.7576 F4000
|
||||
G1 X-14.4446 Y-2.8379 F4000
|
||||
G1 A-9.7498 B11.0266 F4000
|
||||
G1 X-14.4446 Y-3.2311 F4000
|
||||
G1 A-9.5108 B11.3389 F4000
|
||||
G1 X-14.4446 Y-3.6982 F4000
|
||||
G1 A-9.227 B11.7098 F4000
|
||||
G1 X-14.4446 Y-4.2707 F4000
|
||||
G1 A-8.8791 B12.1645 F4000
|
||||
G1 X-14.4446 Y-5.0037 F4000
|
||||
G1 A-8.4338 B12.7467 F4000
|
||||
G1 X-14.4446 Y-6.005 F4000
|
||||
G1 A-7.8255 B13.542 F4000
|
||||
G1 X-14.4446 Y-7.527 F4000
|
||||
G1 A-6.9008 B14.751 F4000
|
||||
G1 X-14.4446 Y-10.3892 F4000
|
||||
G1 A-5.1622 B17.0246 F4000
|
||||
G1 X-14.4446 Y-27.334 F4000
|
||||
G1 A5.1299 B30.4855 F4000
|
||||
G1 X0 Y0 F4000
|
||||
G1 A0 B0 F4000
|
||||
G1 X14.4446 Y-27.334 F4000
|
||||
G1 A28.074 B12.9435 F4000
|
||||
G1 X14.4446 Y-10.3892 F4000
|
||||
G1 A17.7825 B-0.51795 F4000
|
||||
G1 X14.4446 Y-7.527 F4000
|
||||
G1 A16.0443 B-2.7919 F4000
|
||||
G1 X14.4446 Y-6.005 F4000
|
||||
G1 A15.12 B-4.0011 F4000
|
||||
G1 X14.4446 Y-5.0037 F4000
|
||||
G1 A14.512 B-4.7967 F4000
|
||||
G1 X14.4446 Y-4.2707 F4000
|
||||
G1 A14.067 B-5.3791 F4000
|
||||
G1 X14.4446 Y-3.6982 F4000
|
||||
G1 A13.7194 B-5.834 F4000
|
||||
G1 X14.4446 Y-3.2311 F4000
|
||||
G1 A13.4358 B-6.2052 F4000
|
||||
G1 X14.4446 Y-2.8379 F4000
|
||||
G1 A13.1971 B-6.5177 F4000
|
||||
G1 X14.4446 Y-2.4992 F4000
|
||||
G1 A12.9915 B-6.7869 F4000
|
||||
G1 X14.4446 Y-2.2021 F4000
|
||||
G1 A12.8112 B-7.023 F4000
|
||||
G1 X14.4446 Y-1.9378 F4000
|
||||
G1 A12.6509 B-7.233 F4000
|
||||
G1 X14.4446 Y-1.7001 F4000
|
||||
G1 A12.5066 B-7.4219 F4000
|
||||
G1 X14.4446 Y-1.4844 F4000
|
||||
G1 A12.3757 B-7.5934 F4000
|
||||
G1 X14.4446 Y-1.287 F4000
|
||||
G1 A12.2559 B-7.7503 F4000
|
||||
G1 X14.4446 Y-1.1053 F4000
|
||||
G1 A12.1456 B-7.8947 F4000
|
||||
G1 X14.4446 Y-0.93716 F4000
|
||||
G1 A12.0436 B-8.0284 F4000
|
||||
G1 X14.4446 Y-0.78085 F4000
|
||||
G1 A11.9488 B-8.1526 F4000
|
||||
G1 X14.4446 Y-0.63497 F4000
|
||||
G1 A11.8603 B-8.2686 F4000
|
||||
G1 X14.4446 Y-0.49838 F4000
|
||||
G1 A11.7774 B-8.3771 F4000
|
||||
G1 X14.4446 Y-0.37012 F4000
|
||||
G1 A11.6996 B-8.4791 F4000
|
||||
G1 X14.4446 Y-0.24937 F4000
|
||||
G1 A11.6263 B-8.5751 F4000
|
||||
G1 X14.4446 Y-0.13544 F4000
|
||||
G1 A11.5572 B-8.6657 F4000
|
||||
G1 X14.4446 Y-0.027748 F4000
|
||||
G1 A11.4919 B-8.7513 F4000
|
||||
G1 X14.4446 Y0.074232 F4000
|
||||
G1 A11.43 B-8.8323 F4000
|
||||
G1 X14.4446 Y0.17095 F4000
|
||||
G1 A11.3713 B-8.9092 F4000
|
||||
G1 X14.4446 Y0.2628 F4000
|
||||
G1 A11.3156 B-8.9822 F4000
|
||||
G1 X14.4446 Y0.35015 F4000
|
||||
G1 A11.2626 B-9.0517 F4000
|
||||
G1 X14.4446 Y0.4333 F4000
|
||||
G1 A11.2121 B-9.1178 F4000
|
||||
G1 X14.4446 Y0.51254 F4000
|
||||
G1 A11.1641 B-9.1807 F4000
|
||||
G1 X14.4446 Y0.58812 F4000
|
||||
G1 A11.1182 B-9.2408 F4000
|
||||
G1 X14.4446 Y0.66029 F4000
|
||||
G1 A11.0744 B-9.2982 F4000
|
||||
G1 X14.4446 Y0.72926 F4000
|
||||
G1 A11.0326 B-9.353 F4000
|
||||
G1 X14.4446 Y0.79522 F4000
|
||||
G1 A10.9925 B-9.4054 F4000
|
||||
G1 X14.4446 Y0.85835 F4000
|
||||
G1 A10.9542 B-9.4556 F4000
|
||||
G1 X14.4446 Y0.91884 F4000
|
||||
G1 A10.9175 B-9.5037 F4000
|
||||
G1 X14.4446 Y0.97683 F4000
|
||||
G1 A10.8823 B-9.5498 F4000
|
||||
G1 X14.4446 Y1.0325 F4000
|
||||
G1 A10.8486 B-9.594 F4000
|
||||
G1 X14.4446 Y1.0859 F4000
|
||||
G1 A10.8161 B-9.6365 F4000
|
||||
G1 X14.4446 Y1.1373 F4000
|
||||
G1 A10.785 B-9.6773 F4000
|
||||
G1 X14.4446 Y1.1867 F4000
|
||||
G1 A10.755 B-9.7166 F4000
|
||||
G1 X14.4446 Y1.2342 F4000
|
||||
G1 A10.7261 B-9.7544 F4000
|
||||
G1 X14.4446 Y1.2801 F4000
|
||||
G1 A10.6983 B-9.7908 F4000
|
||||
G1 X14.4446 Y1.3243 F4000
|
||||
G1 A10.6714 B-9.8259 F4000
|
||||
G1 X14.4446 Y1.367 F4000
|
||||
G1 A10.6455 B-9.8599 F4000
|
||||
G1 X14.4446 Y1.4083 F4000
|
||||
G1 A10.6204 B-9.8927 F4000
|
||||
G1 X14.4446 Y1.4483 F4000
|
||||
G1 A10.5961 B-9.9245 F4000
|
||||
G1 X14.4446 Y1.4871 F4000
|
||||
G1 A10.5726 B-9.9553 F4000
|
||||
G1 X14.4446 Y1.5247 F4000
|
||||
G1 A10.5497 B-9.9852 F4000
|
||||
G1 X14.4446 Y1.5613 F4000
|
||||
G1 A10.5275 B-10.0143 F4000
|
||||
G1 X14.4446 Y1.597 F4000
|
||||
G1 A10.5058 B-10.0426 F4000
|
||||
G1 X14.4446 Y1.6317 F4000
|
||||
G1 A10.4847 B-10.0702 F4000
|
||||
G1 X14.4446 Y1.6657 F4000
|
||||
G1 A10.4641 B-10.0971 F4000
|
||||
G1 X14.4446 Y1.6989 F4000
|
||||
G1 A10.4439 B-10.1235 F4000
|
||||
G1 X14.4446 Y1.7315 F4000
|
||||
G1 A10.4241 B-10.1494 F4000
|
||||
G1 X14.4446 Y1.7635 F4000
|
||||
G1 A10.4046 B-10.1748 F4000
|
||||
G1 X14.4446 Y1.795 F4000
|
||||
G1 A10.3855 B-10.1999 F4000
|
||||
G1 X14.4446 Y1.8261 F4000
|
||||
G1 A10.3666 B-10.2246 F4000
|
||||
G1 X14.4446 Y1.8569 F4000
|
||||
G1 A10.3479 B-10.249 F4000
|
||||
G1 X14.4446 Y1.8873 F4000
|
||||
G1 A10.3294 B-10.2731 F4000
|
||||
G1 X14.4446 Y1.9176 F4000
|
||||
G1 A10.311 B-10.2971 F4000
|
||||
G1 X14.4446 Y1.9476 F4000
|
||||
G1 A10.2927 B-10.321 F4000
|
||||
G1 X14.4446 Y1.9776 F4000
|
||||
G1 A10.2745 B-10.3449 F4000
|
||||
G1 X14.4446 Y2.0076 F4000
|
||||
G1 A10.2562 B-10.3687 F4000
|
||||
G1 X14.4446 Y2.0377 F4000
|
||||
G1 A10.2379 B-10.3925 F4000
|
||||
G1 X14.4446 Y2.0678 F4000
|
||||
G1 A10.2196 B-10.4165 F4000
|
||||
G1 X14.4446 Y2.0982 F4000
|
||||
G1 A10.2012 B-10.4405 F4000
|
||||
G1 X14.4446 Y2.1288 F4000
|
||||
G1 A10.1826 B-10.4648 F4000
|
||||
G1 X14.4446 Y2.1596 F4000
|
||||
G1 A10.1638 B-10.4893 F4000
|
||||
G1 X14.4446 Y2.1909 F4000
|
||||
G1 A10.1448 B-10.5141 F4000
|
||||
G1 X14.4446 Y2.2225 F4000
|
||||
G1 A10.1255 B-10.5392 F4000
|
||||
G1 X14.4446 Y2.2547 F4000
|
||||
G1 A10.1059 B-10.5648 F4000
|
||||
G1 X14.4446 Y2.2874 F4000
|
||||
G1 A10.086 B-10.5907 F4000
|
||||
G1 X14.4446 Y2.3207 F4000
|
||||
G1 A10.0658 B-10.6172 F4000
|
||||
G1 X14.4446 Y2.3547 F4000
|
||||
G1 A10.0451 B-10.6441 F4000
|
||||
G1 X14.4446 Y2.3894 F4000
|
||||
G1 A10.0239 B-10.6717 F4000
|
||||
G1 X14.4446 Y2.4249 F4000
|
||||
G1 A10.0023 B-10.6998 F4000
|
||||
G1 X14.4446 Y2.4613 F4000
|
||||
G1 A9.9802 B-10.7287 F4000
|
||||
G1 X14.4446 Y2.4985 F4000
|
||||
G1 A9.9576 B-10.7582 F4000
|
||||
G1 X14.4446 Y2.5367 F4000
|
||||
G1 A9.9343 B-10.7885 F4000
|
||||
48
Software_folder/driver skrá.txt
Normal file
48
Software_folder/driver skrá.txt
Normal file
@@ -0,0 +1,48 @@
|
||||
<machine experimental="0">
|
||||
<name>EXPERIMENTAL - Thingomatic - 4 axes</name>
|
||||
<geometry type="cartesian">
|
||||
<axis id="x" length="106" maxfeedrate="4000" stepspermm="50.0" endstops="Xmax"/>
|
||||
<axis id="y" length="120" maxfeedrate="4000" stepspermm="50.0" endstops="Ymax"/>
|
||||
<axis id="a" length="106" maxfeedrate="4000" stepspermm="50.0" endstops="Xmin"/>
|
||||
<axis id="b" length="120" maxfeedrate="4000" stepspermm="50.0" endstops="Ymin
|
||||
</geometry>
|
||||
<tools>
|
||||
|
||||
<tool name="Plastruder MK5" type="extruder" material="abs" motor="true" fan="true"
|
||||
heatedplatform="true" heater="true"/>
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<driver name="makerbot4g">
|
||||
<rate>115200</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.) M18
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</cooldown>
|
||||
</machine>
|
||||
BIN
Software_folder/g-codes.pdf
Normal file
BIN
Software_folder/g-codes.pdf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,29 @@
|
||||
ReplicatorG was forked from the Arduino project in 2008 by Zach
|
||||
Smith. Adam Mayer took over maintenance of ReplicatorG in 2009.
|
||||
|
||||
ReplicatorG includes several versions of Skeinforge, written by
|
||||
Enrique Perez and others. See Enrique's blog for details:
|
||||
http://fabmetheus.blogspot.com/
|
||||
|
||||
Other contributors are listed below. In cases where I couldn't find
|
||||
the contributor's full name, I've listed their github handle instead.
|
||||
* Miles Lightwood
|
||||
* Eberhard Rensch
|
||||
* Charles Pax
|
||||
* Markus Klink
|
||||
* Mikko Sivulainen
|
||||
* chlunde
|
||||
* koenkooi
|
||||
* Aaron Colwell
|
||||
* Rick Kimball
|
||||
* Andreas Fuchs
|
||||
* Erik DeBruijn
|
||||
* Robert Giseburt
|
||||
* Rob Gilson
|
||||
* Marius Kintel
|
||||
* Nick Starno
|
||||
* Matt Mets
|
||||
* Laurence Laycock
|
||||
|
||||
If I've left you off this list, let me know ASAP and I'll add your
|
||||
name.
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,106 @@
|
||||
;************************************************************
|
||||
; Windows USB CDC ACM Setup File
|
||||
; Copyright (c) 2000 Microsoft Corporation
|
||||
|
||||
|
||||
[Version]
|
||||
Signature="$Windows NT$"
|
||||
Class=Ports
|
||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
||||
Provider=%MFGNAME%
|
||||
LayoutFile=layout.inf
|
||||
CatalogFile=%MFGFILENAME%.cat
|
||||
DriverVer=11/15/2007,5.1.2600.0
|
||||
|
||||
[Manufacturer]
|
||||
%MFGNAME%=DeviceList, NTamd64
|
||||
|
||||
[DestinationDirs]
|
||||
DefaultDestDir=12
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; Windows 2000/XP/Vista-32bit Sections
|
||||
;------------------------------------------------------------------------------
|
||||
|
||||
[DriverInstall.nt]
|
||||
include=mdmcpq.inf
|
||||
CopyFiles=DriverCopyFiles.nt
|
||||
AddReg=DriverInstall.nt.AddReg
|
||||
|
||||
[DriverCopyFiles.nt]
|
||||
usbser.sys,,,0x20
|
||||
|
||||
[DriverInstall.nt.AddReg]
|
||||
HKR,,DevLoader,,*ntkern
|
||||
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
|
||||
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
|
||||
|
||||
[DriverInstall.nt.Services]
|
||||
AddService=usbser, 0x00000002, DriverService.nt
|
||||
|
||||
[DriverService.nt]
|
||||
DisplayName=%SERVICE%
|
||||
ServiceType=1
|
||||
StartType=3
|
||||
ErrorControl=1
|
||||
ServiceBinary=%12%\%DRIVERFILENAME%.sys
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; Vista-64bit Sections
|
||||
;------------------------------------------------------------------------------
|
||||
|
||||
[DriverInstall.NTamd64]
|
||||
include=mdmcpq.inf
|
||||
CopyFiles=DriverCopyFiles.NTamd64
|
||||
AddReg=DriverInstall.NTamd64.AddReg
|
||||
|
||||
[DriverCopyFiles.NTamd64]
|
||||
%DRIVERFILENAME%.sys,,,0x20
|
||||
|
||||
[DriverInstall.NTamd64.AddReg]
|
||||
HKR,,DevLoader,,*ntkern
|
||||
HKR,,NTMPDriver,,%DRIVERFILENAME%.sys
|
||||
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
|
||||
|
||||
[DriverInstall.NTamd64.Services]
|
||||
AddService=usbser, 0x00000002, DriverService.NTamd64
|
||||
|
||||
[DriverService.NTamd64]
|
||||
DisplayName=%SERVICE%
|
||||
ServiceType=1
|
||||
StartType=3
|
||||
ErrorControl=1
|
||||
ServiceBinary=%12%\%DRIVERFILENAME%.sys
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; Vendor and Product ID Definitions
|
||||
;------------------------------------------------------------------------------
|
||||
; When developing your USB device, the VID and PID used in the PC side
|
||||
; application program and the firmware on the microcontroller must match.
|
||||
; Modify the below line to use your VID and PID. Use the format as shown below.
|
||||
; Note: One INF file can be used for multiple devices with different VID and PIDs.
|
||||
; For each supported device, append ",USB\VID_xxxx&PID_yyyy" to the end of the line.
|
||||
;------------------------------------------------------------------------------
|
||||
[SourceDisksFiles]
|
||||
[SourceDisksNames]
|
||||
[DeviceList]
|
||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0010
|
||||
|
||||
[DeviceList.NTamd64]
|
||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0010
|
||||
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; String Definitions
|
||||
;------------------------------------------------------------------------------
|
||||
;Modify these strings to customize your device
|
||||
;------------------------------------------------------------------------------
|
||||
[Strings]
|
||||
MFGFILENAME="CDC_vista"
|
||||
DRIVERFILENAME ="usbser"
|
||||
MFGNAME="Arduino LLC (www.arduino.cc)"
|
||||
INSTDISK="Arduino Mega 2560 Driver Installer"
|
||||
DESCRIPTION="Arduino Mega 2560"
|
||||
SERVICE="USB RS-232 Emulation Driver"
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,964 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2001-2007 Future Technology Devices International Ltd.
|
||||
|
||||
Module Name:
|
||||
|
||||
ftd2xx.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Native USB device driver for FTDI FT8U232/245
|
||||
FTD2XX library definitions
|
||||
|
||||
Environment:
|
||||
|
||||
kernel & user mode
|
||||
|
||||
Revision History:
|
||||
|
||||
13/03/01 awm Created.
|
||||
13/01/03 awm Added device information support.
|
||||
19/03/03 awm Added FT_W32_CancelIo.
|
||||
12/06/03 awm Added FT_StopInTask and FT_RestartInTask.
|
||||
18/09/03 awm Added FT_SetResetPipeRetryCount.
|
||||
10/10/03 awm Added FT_ResetPort.
|
||||
23/01/04 awm Added support for open-by-location.
|
||||
16/03/04 awm Added support for FT2232C.
|
||||
23/09/04 awm Added support for FT232R.
|
||||
20/10/04 awm Added FT_CyclePort.
|
||||
18/01/05 awm Added FT_DEVICE_LIST_INFO_NODE type.
|
||||
11/02/05 awm Added LocId to FT_DEVICE_LIST_INFO_NODE.
|
||||
25/08/05 awm Added FT_SetDeadmanTimeout.
|
||||
02/12/05 awm Removed obsolete references.
|
||||
05/12/05 awm Added FT_GetVersion, FT_GetVersionEx.
|
||||
08/09/06 awm Added FT_W32_GetCommMask.
|
||||
11/09/06 awm Added FT_Rescan.
|
||||
11/07/07 awm Added support for FT2232H and FT4232H.
|
||||
10/08/07 awm Added flags definitions.
|
||||
21/11/07 mja Added FT_GetComPortNumber.
|
||||
05/06/08 mja Added EEPROM extensions for FT2232H.
|
||||
|
||||
|
||||
--*/
|
||||
|
||||
|
||||
#ifndef FTD2XX_H
|
||||
#define FTD2XX_H
|
||||
|
||||
// The following ifdef block is the standard way of creating macros
|
||||
// which make exporting from a DLL simpler. All files within this DLL
|
||||
// are compiled with the FTD2XX_EXPORTS symbol defined on the command line.
|
||||
// This symbol should not be defined on any project that uses this DLL.
|
||||
// This way any other project whose source files include this file see
|
||||
// FTD2XX_API functions as being imported from a DLL, whereas this DLL
|
||||
// sees symbols defined with this macro as being exported.
|
||||
|
||||
#ifdef FTD2XX_EXPORTS
|
||||
#define FTD2XX_API __declspec(dllexport)
|
||||
#else
|
||||
#define FTD2XX_API __declspec(dllimport)
|
||||
#endif
|
||||
|
||||
|
||||
typedef PVOID FT_HANDLE;
|
||||
typedef ULONG FT_STATUS;
|
||||
|
||||
//
|
||||
// Device status
|
||||
//
|
||||
enum {
|
||||
FT_OK,
|
||||
FT_INVALID_HANDLE,
|
||||
FT_DEVICE_NOT_FOUND,
|
||||
FT_DEVICE_NOT_OPENED,
|
||||
FT_IO_ERROR,
|
||||
FT_INSUFFICIENT_RESOURCES,
|
||||
FT_INVALID_PARAMETER,
|
||||
FT_INVALID_BAUD_RATE,
|
||||
|
||||
FT_DEVICE_NOT_OPENED_FOR_ERASE,
|
||||
FT_DEVICE_NOT_OPENED_FOR_WRITE,
|
||||
FT_FAILED_TO_WRITE_DEVICE,
|
||||
FT_EEPROM_READ_FAILED,
|
||||
FT_EEPROM_WRITE_FAILED,
|
||||
FT_EEPROM_ERASE_FAILED,
|
||||
FT_EEPROM_NOT_PRESENT,
|
||||
FT_EEPROM_NOT_PROGRAMMED,
|
||||
FT_INVALID_ARGS,
|
||||
FT_NOT_SUPPORTED,
|
||||
FT_OTHER_ERROR,
|
||||
FT_DEVICE_LIST_NOT_READY,
|
||||
};
|
||||
|
||||
|
||||
#define FT_SUCCESS(status) ((status) == FT_OK)
|
||||
|
||||
//
|
||||
// FT_OpenEx Flags
|
||||
//
|
||||
|
||||
#define FT_OPEN_BY_SERIAL_NUMBER 1
|
||||
#define FT_OPEN_BY_DESCRIPTION 2
|
||||
#define FT_OPEN_BY_LOCATION 4
|
||||
|
||||
//
|
||||
// FT_ListDevices Flags (used in conjunction with FT_OpenEx Flags
|
||||
//
|
||||
|
||||
#define FT_LIST_NUMBER_ONLY 0x80000000
|
||||
#define FT_LIST_BY_INDEX 0x40000000
|
||||
#define FT_LIST_ALL 0x20000000
|
||||
|
||||
#define FT_LIST_MASK (FT_LIST_NUMBER_ONLY|FT_LIST_BY_INDEX|FT_LIST_ALL)
|
||||
|
||||
//
|
||||
// Baud Rates
|
||||
//
|
||||
|
||||
#define FT_BAUD_300 300
|
||||
#define FT_BAUD_600 600
|
||||
#define FT_BAUD_1200 1200
|
||||
#define FT_BAUD_2400 2400
|
||||
#define FT_BAUD_4800 4800
|
||||
#define FT_BAUD_9600 9600
|
||||
#define FT_BAUD_14400 14400
|
||||
#define FT_BAUD_19200 19200
|
||||
#define FT_BAUD_38400 38400
|
||||
#define FT_BAUD_57600 57600
|
||||
#define FT_BAUD_115200 115200
|
||||
#define FT_BAUD_230400 230400
|
||||
#define FT_BAUD_460800 460800
|
||||
#define FT_BAUD_921600 921600
|
||||
|
||||
//
|
||||
// Word Lengths
|
||||
//
|
||||
|
||||
#define FT_BITS_8 (UCHAR) 8
|
||||
#define FT_BITS_7 (UCHAR) 7
|
||||
#define FT_BITS_6 (UCHAR) 6
|
||||
#define FT_BITS_5 (UCHAR) 5
|
||||
|
||||
//
|
||||
// Stop Bits
|
||||
//
|
||||
|
||||
#define FT_STOP_BITS_1 (UCHAR) 0
|
||||
#define FT_STOP_BITS_1_5 (UCHAR) 1
|
||||
#define FT_STOP_BITS_2 (UCHAR) 2
|
||||
|
||||
//
|
||||
// Parity
|
||||
//
|
||||
|
||||
#define FT_PARITY_NONE (UCHAR) 0
|
||||
#define FT_PARITY_ODD (UCHAR) 1
|
||||
#define FT_PARITY_EVEN (UCHAR) 2
|
||||
#define FT_PARITY_MARK (UCHAR) 3
|
||||
#define FT_PARITY_SPACE (UCHAR) 4
|
||||
|
||||
//
|
||||
// Flow Control
|
||||
//
|
||||
|
||||
#define FT_FLOW_NONE 0x0000
|
||||
#define FT_FLOW_RTS_CTS 0x0100
|
||||
#define FT_FLOW_DTR_DSR 0x0200
|
||||
#define FT_FLOW_XON_XOFF 0x0400
|
||||
|
||||
//
|
||||
// Purge rx and tx buffers
|
||||
//
|
||||
#define FT_PURGE_RX 1
|
||||
#define FT_PURGE_TX 2
|
||||
|
||||
//
|
||||
// Events
|
||||
//
|
||||
|
||||
typedef void (*PFT_EVENT_HANDLER)(DWORD,DWORD);
|
||||
|
||||
#define FT_EVENT_RXCHAR 1
|
||||
#define FT_EVENT_MODEM_STATUS 2
|
||||
#define FT_EVENT_LINE_STATUS 4
|
||||
|
||||
//
|
||||
// Timeouts
|
||||
//
|
||||
|
||||
#define FT_DEFAULT_RX_TIMEOUT 300
|
||||
#define FT_DEFAULT_TX_TIMEOUT 300
|
||||
|
||||
//
|
||||
// Device types
|
||||
//
|
||||
|
||||
typedef ULONG FT_DEVICE;
|
||||
|
||||
enum {
|
||||
FT_DEVICE_BM,
|
||||
FT_DEVICE_AM,
|
||||
FT_DEVICE_100AX,
|
||||
FT_DEVICE_UNKNOWN,
|
||||
FT_DEVICE_2232C,
|
||||
FT_DEVICE_232R,
|
||||
FT_DEVICE_2232H,
|
||||
FT_DEVICE_4232H,
|
||||
FT_DEVICE_232H
|
||||
};
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_Open(
|
||||
int deviceNumber,
|
||||
FT_HANDLE *pHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_OpenEx(
|
||||
PVOID pArg1,
|
||||
DWORD Flags,
|
||||
FT_HANDLE *pHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_ListDevices(
|
||||
PVOID pArg1,
|
||||
PVOID pArg2,
|
||||
DWORD Flags
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_Close(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_Read(
|
||||
FT_HANDLE ftHandle,
|
||||
LPVOID lpBuffer,
|
||||
DWORD dwBytesToRead,
|
||||
LPDWORD lpBytesReturned
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_Write(
|
||||
FT_HANDLE ftHandle,
|
||||
LPVOID lpBuffer,
|
||||
DWORD dwBytesToWrite,
|
||||
LPDWORD lpBytesWritten
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_IoCtl(
|
||||
FT_HANDLE ftHandle,
|
||||
DWORD dwIoControlCode,
|
||||
LPVOID lpInBuf,
|
||||
DWORD nInBufSize,
|
||||
LPVOID lpOutBuf,
|
||||
DWORD nOutBufSize,
|
||||
LPDWORD lpBytesReturned,
|
||||
LPOVERLAPPED lpOverlapped
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetBaudRate(
|
||||
FT_HANDLE ftHandle,
|
||||
ULONG BaudRate
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetDivisor(
|
||||
FT_HANDLE ftHandle,
|
||||
USHORT Divisor
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetDataCharacteristics(
|
||||
FT_HANDLE ftHandle,
|
||||
UCHAR WordLength,
|
||||
UCHAR StopBits,
|
||||
UCHAR Parity
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetFlowControl(
|
||||
FT_HANDLE ftHandle,
|
||||
USHORT FlowControl,
|
||||
UCHAR XonChar,
|
||||
UCHAR XoffChar
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_ResetDevice(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetDtr(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_ClrDtr(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetRts(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_ClrRts(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_GetModemStatus(
|
||||
FT_HANDLE ftHandle,
|
||||
ULONG *pModemStatus
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetChars(
|
||||
FT_HANDLE ftHandle,
|
||||
UCHAR EventChar,
|
||||
UCHAR EventCharEnabled,
|
||||
UCHAR ErrorChar,
|
||||
UCHAR ErrorCharEnabled
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_Purge(
|
||||
FT_HANDLE ftHandle,
|
||||
ULONG Mask
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetTimeouts(
|
||||
FT_HANDLE ftHandle,
|
||||
ULONG ReadTimeout,
|
||||
ULONG WriteTimeout
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_GetQueueStatus(
|
||||
FT_HANDLE ftHandle,
|
||||
DWORD *dwRxBytes
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetEventNotification(
|
||||
FT_HANDLE ftHandle,
|
||||
DWORD Mask,
|
||||
PVOID Param
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_GetStatus(
|
||||
FT_HANDLE ftHandle,
|
||||
DWORD *dwRxBytes,
|
||||
DWORD *dwTxBytes,
|
||||
DWORD *dwEventDWord
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetBreakOn(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetBreakOff(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetWaitMask(
|
||||
FT_HANDLE ftHandle,
|
||||
DWORD Mask
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_WaitOnMask(
|
||||
FT_HANDLE ftHandle,
|
||||
DWORD *Mask
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_GetEventStatus(
|
||||
FT_HANDLE ftHandle,
|
||||
DWORD *dwEventDWord
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_ReadEE(
|
||||
FT_HANDLE ftHandle,
|
||||
DWORD dwWordOffset,
|
||||
LPWORD lpwValue
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_WriteEE(
|
||||
FT_HANDLE ftHandle,
|
||||
DWORD dwWordOffset,
|
||||
WORD wValue
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_EraseEE(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
//
|
||||
// structure to hold program data for FT_Program function
|
||||
//
|
||||
typedef struct ft_program_data {
|
||||
|
||||
DWORD Signature1; // Header - must be 0x00000000
|
||||
DWORD Signature2; // Header - must be 0xffffffff
|
||||
DWORD Version; // Header - FT_PROGRAM_DATA version
|
||||
// 0 = original
|
||||
// 1 = FT2232C extensions
|
||||
// 2 = FT232R extensions
|
||||
// 3 = FT2232H extensions
|
||||
// 4 = FT4232H extensions
|
||||
|
||||
WORD VendorId; // 0x0403
|
||||
WORD ProductId; // 0x6001
|
||||
char *Manufacturer; // "FTDI"
|
||||
char *ManufacturerId; // "FT"
|
||||
char *Description; // "USB HS Serial Converter"
|
||||
char *SerialNumber; // "FT000001" if fixed, or NULL
|
||||
WORD MaxPower; // 0 < MaxPower <= 500
|
||||
WORD PnP; // 0 = disabled, 1 = enabled
|
||||
WORD SelfPowered; // 0 = bus powered, 1 = self powered
|
||||
WORD RemoteWakeup; // 0 = not capable, 1 = capable
|
||||
//
|
||||
// Rev4 (FT232B) extensions
|
||||
//
|
||||
UCHAR Rev4; // non-zero if Rev4 chip, zero otherwise
|
||||
UCHAR IsoIn; // non-zero if in endpoint is isochronous
|
||||
UCHAR IsoOut; // non-zero if out endpoint is isochronous
|
||||
UCHAR PullDownEnable; // non-zero if pull down enabled
|
||||
UCHAR SerNumEnable; // non-zero if serial number to be used
|
||||
UCHAR USBVersionEnable; // non-zero if chip uses USBVersion
|
||||
WORD USBVersion; // BCD (0x0200 => USB2)
|
||||
//
|
||||
// Rev 5 (FT2232) extensions
|
||||
//
|
||||
UCHAR Rev5; // non-zero if Rev5 chip, zero otherwise
|
||||
UCHAR IsoInA; // non-zero if in endpoint is isochronous
|
||||
UCHAR IsoInB; // non-zero if in endpoint is isochronous
|
||||
UCHAR IsoOutA; // non-zero if out endpoint is isochronous
|
||||
UCHAR IsoOutB; // non-zero if out endpoint is isochronous
|
||||
UCHAR PullDownEnable5; // non-zero if pull down enabled
|
||||
UCHAR SerNumEnable5; // non-zero if serial number to be used
|
||||
UCHAR USBVersionEnable5; // non-zero if chip uses USBVersion
|
||||
WORD USBVersion5; // BCD (0x0200 => USB2)
|
||||
UCHAR AIsHighCurrent; // non-zero if interface is high current
|
||||
UCHAR BIsHighCurrent; // non-zero if interface is high current
|
||||
UCHAR IFAIsFifo; // non-zero if interface is 245 FIFO
|
||||
UCHAR IFAIsFifoTar; // non-zero if interface is 245 FIFO CPU target
|
||||
UCHAR IFAIsFastSer; // non-zero if interface is Fast serial
|
||||
UCHAR AIsVCP; // non-zero if interface is to use VCP drivers
|
||||
UCHAR IFBIsFifo; // non-zero if interface is 245 FIFO
|
||||
UCHAR IFBIsFifoTar; // non-zero if interface is 245 FIFO CPU target
|
||||
UCHAR IFBIsFastSer; // non-zero if interface is Fast serial
|
||||
UCHAR BIsVCP; // non-zero if interface is to use VCP drivers
|
||||
//
|
||||
// Rev 6 (FT232R) extensions
|
||||
//
|
||||
UCHAR UseExtOsc; // Use External Oscillator
|
||||
UCHAR HighDriveIOs; // High Drive I/Os
|
||||
UCHAR EndpointSize; // Endpoint size
|
||||
UCHAR PullDownEnableR; // non-zero if pull down enabled
|
||||
UCHAR SerNumEnableR; // non-zero if serial number to be used
|
||||
UCHAR InvertTXD; // non-zero if invert TXD
|
||||
UCHAR InvertRXD; // non-zero if invert RXD
|
||||
UCHAR InvertRTS; // non-zero if invert RTS
|
||||
UCHAR InvertCTS; // non-zero if invert CTS
|
||||
UCHAR InvertDTR; // non-zero if invert DTR
|
||||
UCHAR InvertDSR; // non-zero if invert DSR
|
||||
UCHAR InvertDCD; // non-zero if invert DCD
|
||||
UCHAR InvertRI; // non-zero if invert RI
|
||||
UCHAR Cbus0; // Cbus Mux control
|
||||
UCHAR Cbus1; // Cbus Mux control
|
||||
UCHAR Cbus2; // Cbus Mux control
|
||||
UCHAR Cbus3; // Cbus Mux control
|
||||
UCHAR Cbus4; // Cbus Mux control
|
||||
UCHAR RIsD2XX; // non-zero if using D2XX driver
|
||||
//
|
||||
// Rev 7 (FT2232H) Extensions
|
||||
//
|
||||
UCHAR PullDownEnable7; // non-zero if pull down enabled
|
||||
UCHAR SerNumEnable7; // non-zero if serial number to be used
|
||||
UCHAR ALSlowSlew; // non-zero if AL pins have slow slew
|
||||
UCHAR ALSchmittInput; // non-zero if AL pins are Schmitt input
|
||||
UCHAR ALDriveCurrent; // valid values are 4mA, 8mA, 12mA, 16mA
|
||||
UCHAR AHSlowSlew; // non-zero if AH pins have slow slew
|
||||
UCHAR AHSchmittInput; // non-zero if AH pins are Schmitt input
|
||||
UCHAR AHDriveCurrent; // valid values are 4mA, 8mA, 12mA, 16mA
|
||||
UCHAR BLSlowSlew; // non-zero if BL pins have slow slew
|
||||
UCHAR BLSchmittInput; // non-zero if BL pins are Schmitt input
|
||||
UCHAR BLDriveCurrent; // valid values are 4mA, 8mA, 12mA, 16mA
|
||||
UCHAR BHSlowSlew; // non-zero if BH pins have slow slew
|
||||
UCHAR BHSchmittInput; // non-zero if BH pins are Schmitt input
|
||||
UCHAR BHDriveCurrent; // valid values are 4mA, 8mA, 12mA, 16mA
|
||||
UCHAR IFAIsFifo7; // non-zero if interface is 245 FIFO
|
||||
UCHAR IFAIsFifoTar7; // non-zero if interface is 245 FIFO CPU target
|
||||
UCHAR IFAIsFastSer7; // non-zero if interface is Fast serial
|
||||
UCHAR AIsVCP7; // non-zero if interface is to use VCP drivers
|
||||
UCHAR IFBIsFifo7; // non-zero if interface is 245 FIFO
|
||||
UCHAR IFBIsFifoTar7; // non-zero if interface is 245 FIFO CPU target
|
||||
UCHAR IFBIsFastSer7; // non-zero if interface is Fast serial
|
||||
UCHAR BIsVCP7; // non-zero if interface is to use VCP drivers
|
||||
UCHAR PowerSaveEnable; // non-zero if using BCBUS7 to save power for self-powered designs
|
||||
//
|
||||
// Rev 8 (FT4232H) Extensions
|
||||
//
|
||||
UCHAR PullDownEnable8; // non-zero if pull down enabled
|
||||
UCHAR SerNumEnable8; // non-zero if serial number to be used
|
||||
UCHAR ASlowSlew; // non-zero if AL pins have slow slew
|
||||
UCHAR ASchmittInput; // non-zero if AL pins are Schmitt input
|
||||
UCHAR ADriveCurrent; // valid values are 4mA, 8mA, 12mA, 16mA
|
||||
UCHAR BSlowSlew; // non-zero if AH pins have slow slew
|
||||
UCHAR BSchmittInput; // non-zero if AH pins are Schmitt input
|
||||
UCHAR BDriveCurrent; // valid values are 4mA, 8mA, 12mA, 16mA
|
||||
UCHAR CSlowSlew; // non-zero if BL pins have slow slew
|
||||
UCHAR CSchmittInput; // non-zero if BL pins are Schmitt input
|
||||
UCHAR CDriveCurrent; // valid values are 4mA, 8mA, 12mA, 16mA
|
||||
UCHAR DSlowSlew; // non-zero if BH pins have slow slew
|
||||
UCHAR DSchmittInput; // non-zero if BH pins are Schmitt input
|
||||
UCHAR DDriveCurrent; // valid values are 4mA, 8mA, 12mA, 16mA
|
||||
UCHAR ARIIsTXDEN; // non-zero if port A uses RI as RS485 TXDEN
|
||||
UCHAR BRIIsTXDEN; // non-zero if port B uses RI as RS485 TXDEN
|
||||
UCHAR CRIIsTXDEN; // non-zero if port C uses RI as RS485 TXDEN
|
||||
UCHAR DRIIsTXDEN; // non-zero if port D uses RI as RS485 TXDEN
|
||||
UCHAR AIsVCP8; // non-zero if interface is to use VCP drivers
|
||||
UCHAR BIsVCP8; // non-zero if interface is to use VCP drivers
|
||||
UCHAR CIsVCP8; // non-zero if interface is to use VCP drivers
|
||||
UCHAR DIsVCP8; // non-zero if interface is to use VCP drivers
|
||||
|
||||
} FT_PROGRAM_DATA, *PFT_PROGRAM_DATA;
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_EE_Program(
|
||||
FT_HANDLE ftHandle,
|
||||
PFT_PROGRAM_DATA pData
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_EE_ProgramEx(
|
||||
FT_HANDLE ftHandle,
|
||||
PFT_PROGRAM_DATA pData,
|
||||
char *Manufacturer,
|
||||
char *ManufacturerId,
|
||||
char *Description,
|
||||
char *SerialNumber
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_EE_Read(
|
||||
FT_HANDLE ftHandle,
|
||||
PFT_PROGRAM_DATA pData
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_EE_ReadEx(
|
||||
FT_HANDLE ftHandle,
|
||||
PFT_PROGRAM_DATA pData,
|
||||
char *Manufacturer,
|
||||
char *ManufacturerId,
|
||||
char *Description,
|
||||
char *SerialNumber
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_EE_UASize(
|
||||
FT_HANDLE ftHandle,
|
||||
LPDWORD lpdwSize
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_EE_UAWrite(
|
||||
FT_HANDLE ftHandle,
|
||||
PUCHAR pucData,
|
||||
DWORD dwDataLen
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_EE_UARead(
|
||||
FT_HANDLE ftHandle,
|
||||
PUCHAR pucData,
|
||||
DWORD dwDataLen,
|
||||
LPDWORD lpdwBytesRead
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetLatencyTimer(
|
||||
FT_HANDLE ftHandle,
|
||||
UCHAR ucLatency
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_GetLatencyTimer(
|
||||
FT_HANDLE ftHandle,
|
||||
PUCHAR pucLatency
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetBitMode(
|
||||
FT_HANDLE ftHandle,
|
||||
UCHAR ucMask,
|
||||
UCHAR ucEnable
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_GetBitMode(
|
||||
FT_HANDLE ftHandle,
|
||||
PUCHAR pucMode
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetUSBParameters(
|
||||
FT_HANDLE ftHandle,
|
||||
ULONG ulInTransferSize,
|
||||
ULONG ulOutTransferSize
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetDeadmanTimeout(
|
||||
FT_HANDLE ftHandle,
|
||||
ULONG ulDeadmanTimeout
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_GetDeviceInfo(
|
||||
FT_HANDLE ftHandle,
|
||||
FT_DEVICE *lpftDevice,
|
||||
LPDWORD lpdwID,
|
||||
PCHAR SerialNumber,
|
||||
PCHAR Description,
|
||||
LPVOID Dummy
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_StopInTask(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_RestartInTask(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_SetResetPipeRetryCount(
|
||||
FT_HANDLE ftHandle,
|
||||
DWORD dwCount
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_ResetPort(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_CyclePort(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
|
||||
//
|
||||
// Win32-type functions
|
||||
//
|
||||
|
||||
FTD2XX_API
|
||||
FT_HANDLE WINAPI FT_W32_CreateFile(
|
||||
LPCTSTR lpszName,
|
||||
DWORD dwAccess,
|
||||
DWORD dwShareMode,
|
||||
LPSECURITY_ATTRIBUTES lpSecurityAttributes,
|
||||
DWORD dwCreate,
|
||||
DWORD dwAttrsAndFlags,
|
||||
HANDLE hTemplate
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_CloseHandle(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_ReadFile(
|
||||
FT_HANDLE ftHandle,
|
||||
LPVOID lpBuffer,
|
||||
DWORD nBufferSize,
|
||||
LPDWORD lpBytesReturned,
|
||||
LPOVERLAPPED lpOverlapped
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_WriteFile(
|
||||
FT_HANDLE ftHandle,
|
||||
LPVOID lpBuffer,
|
||||
DWORD nBufferSize,
|
||||
LPDWORD lpBytesWritten,
|
||||
LPOVERLAPPED lpOverlapped
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
DWORD WINAPI FT_W32_GetLastError(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_GetOverlappedResult(
|
||||
FT_HANDLE ftHandle,
|
||||
LPOVERLAPPED lpOverlapped,
|
||||
LPDWORD lpdwBytesTransferred,
|
||||
BOOL bWait
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_CancelIo(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
|
||||
//
|
||||
// Win32 COMM API type functions
|
||||
//
|
||||
typedef struct _FTCOMSTAT {
|
||||
DWORD fCtsHold : 1;
|
||||
DWORD fDsrHold : 1;
|
||||
DWORD fRlsdHold : 1;
|
||||
DWORD fXoffHold : 1;
|
||||
DWORD fXoffSent : 1;
|
||||
DWORD fEof : 1;
|
||||
DWORD fTxim : 1;
|
||||
DWORD fReserved : 25;
|
||||
DWORD cbInQue;
|
||||
DWORD cbOutQue;
|
||||
} FTCOMSTAT, *LPFTCOMSTAT;
|
||||
|
||||
typedef struct _FTDCB {
|
||||
DWORD DCBlength; /* sizeof(FTDCB) */
|
||||
DWORD BaudRate; /* Baudrate at which running */
|
||||
DWORD fBinary: 1; /* Binary Mode (skip EOF check) */
|
||||
DWORD fParity: 1; /* Enable parity checking */
|
||||
DWORD fOutxCtsFlow:1; /* CTS handshaking on output */
|
||||
DWORD fOutxDsrFlow:1; /* DSR handshaking on output */
|
||||
DWORD fDtrControl:2; /* DTR Flow control */
|
||||
DWORD fDsrSensitivity:1; /* DSR Sensitivity */
|
||||
DWORD fTXContinueOnXoff: 1; /* Continue TX when Xoff sent */
|
||||
DWORD fOutX: 1; /* Enable output X-ON/X-OFF */
|
||||
DWORD fInX: 1; /* Enable input X-ON/X-OFF */
|
||||
DWORD fErrorChar: 1; /* Enable Err Replacement */
|
||||
DWORD fNull: 1; /* Enable Null stripping */
|
||||
DWORD fRtsControl:2; /* Rts Flow control */
|
||||
DWORD fAbortOnError:1; /* Abort all reads and writes on Error */
|
||||
DWORD fDummy2:17; /* Reserved */
|
||||
WORD wReserved; /* Not currently used */
|
||||
WORD XonLim; /* Transmit X-ON threshold */
|
||||
WORD XoffLim; /* Transmit X-OFF threshold */
|
||||
BYTE ByteSize; /* Number of bits/byte, 4-8 */
|
||||
BYTE Parity; /* 0-4=None,Odd,Even,Mark,Space */
|
||||
BYTE StopBits; /* 0,1,2 = 1, 1.5, 2 */
|
||||
char XonChar; /* Tx and Rx X-ON character */
|
||||
char XoffChar; /* Tx and Rx X-OFF character */
|
||||
char ErrorChar; /* Error replacement char */
|
||||
char EofChar; /* End of Input character */
|
||||
char EvtChar; /* Received Event character */
|
||||
WORD wReserved1; /* Fill for now. */
|
||||
} FTDCB, *LPFTDCB;
|
||||
|
||||
typedef struct _FTTIMEOUTS {
|
||||
DWORD ReadIntervalTimeout; /* Maximum time between read chars. */
|
||||
DWORD ReadTotalTimeoutMultiplier; /* Multiplier of characters. */
|
||||
DWORD ReadTotalTimeoutConstant; /* Constant in milliseconds. */
|
||||
DWORD WriteTotalTimeoutMultiplier; /* Multiplier of characters. */
|
||||
DWORD WriteTotalTimeoutConstant; /* Constant in milliseconds. */
|
||||
} FTTIMEOUTS,*LPFTTIMEOUTS;
|
||||
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_ClearCommBreak(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_ClearCommError(
|
||||
FT_HANDLE ftHandle,
|
||||
LPDWORD lpdwErrors,
|
||||
LPFTCOMSTAT lpftComstat
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_EscapeCommFunction(
|
||||
FT_HANDLE ftHandle,
|
||||
DWORD dwFunc
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_GetCommModemStatus(
|
||||
FT_HANDLE ftHandle,
|
||||
LPDWORD lpdwModemStatus
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_GetCommState(
|
||||
FT_HANDLE ftHandle,
|
||||
LPFTDCB lpftDcb
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_GetCommTimeouts(
|
||||
FT_HANDLE ftHandle,
|
||||
FTTIMEOUTS *pTimeouts
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_PurgeComm(
|
||||
FT_HANDLE ftHandle,
|
||||
DWORD dwMask
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_SetCommBreak(
|
||||
FT_HANDLE ftHandle
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_SetCommMask(
|
||||
FT_HANDLE ftHandle,
|
||||
ULONG ulEventMask
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_GetCommMask(
|
||||
FT_HANDLE ftHandle,
|
||||
LPDWORD lpdwEventMask
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_SetCommState(
|
||||
FT_HANDLE ftHandle,
|
||||
LPFTDCB lpftDcb
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_SetCommTimeouts(
|
||||
FT_HANDLE ftHandle,
|
||||
FTTIMEOUTS *pTimeouts
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_SetupComm(
|
||||
FT_HANDLE ftHandle,
|
||||
DWORD dwReadBufferSize,
|
||||
DWORD dwWriteBufferSize
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
BOOL WINAPI FT_W32_WaitCommEvent(
|
||||
FT_HANDLE ftHandle,
|
||||
PULONG pulEvent,
|
||||
LPOVERLAPPED lpOverlapped
|
||||
);
|
||||
|
||||
|
||||
//
|
||||
// Device information
|
||||
//
|
||||
|
||||
typedef struct _ft_device_list_info_node {
|
||||
ULONG Flags;
|
||||
ULONG Type;
|
||||
ULONG ID;
|
||||
DWORD LocId;
|
||||
char SerialNumber[16];
|
||||
char Description[64];
|
||||
FT_HANDLE ftHandle;
|
||||
} FT_DEVICE_LIST_INFO_NODE;
|
||||
|
||||
// Device information flags
|
||||
enum {
|
||||
FT_FLAGS_OPENED = 1,
|
||||
FT_FLAGS_HISPEED = 2
|
||||
};
|
||||
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_CreateDeviceInfoList(
|
||||
LPDWORD lpdwNumDevs
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_GetDeviceInfoList(
|
||||
FT_DEVICE_LIST_INFO_NODE *pDest,
|
||||
LPDWORD lpdwNumDevs
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_GetDeviceInfoDetail(
|
||||
DWORD dwIndex,
|
||||
LPDWORD lpdwFlags,
|
||||
LPDWORD lpdwType,
|
||||
LPDWORD lpdwID,
|
||||
LPDWORD lpdwLocId,
|
||||
LPVOID lpSerialNumber,
|
||||
LPVOID lpDescription,
|
||||
FT_HANDLE *pftHandle
|
||||
);
|
||||
|
||||
|
||||
//
|
||||
// Version information
|
||||
//
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_GetDriverVersion(
|
||||
FT_HANDLE ftHandle,
|
||||
LPDWORD lpdwVersion
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_GetLibraryVersion(
|
||||
LPDWORD lpdwVersion
|
||||
);
|
||||
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_Rescan(
|
||||
void
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_Reload(
|
||||
WORD wVid,
|
||||
WORD wPid
|
||||
);
|
||||
|
||||
FTD2XX_API
|
||||
FT_STATUS WINAPI FT_GetComPortNumber(
|
||||
FT_HANDLE ftHandle,
|
||||
LPLONG lpdwComPortNumber
|
||||
);
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* FTD2XX_H */
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,137 @@
|
||||
; FTDIBUS.INF
|
||||
; Copyright (c) 2000-2010 FTDI Ltd.
|
||||
;
|
||||
; USB serial converter driver installation file for Windows 2000, XP, Server 2003, Vista, Server 2008,
|
||||
; Windows 7 and Server 2008 R2 (x86 and x64).
|
||||
;
|
||||
; FTDI device drivers may be used only in conjunction with products based on FTDI parts.
|
||||
; The driver may be distributed in any form as long as our license information is not modified.
|
||||
; If a custom Vendor ID and/or Product ID, or description string are used, it is the responsibility of
|
||||
; the product manufacturer to maintain any changes and subsequent WHQL re-certification as a result of
|
||||
; making these changes.
|
||||
;
|
||||
;
|
||||
|
||||
[Version]
|
||||
Signature="$Windows NT$"
|
||||
DriverPackageType=PlugAndPlay
|
||||
DriverPackageDisplayName=%DESC%
|
||||
Class=USB
|
||||
ClassGUID={36fc9e60-c465-11cf-8056-444553540000}
|
||||
Provider=%FTDI%
|
||||
CatalogFile=ftdibus.cat
|
||||
DriverVer=03/30/2010,2.06.02
|
||||
|
||||
[SourceDisksNames]
|
||||
1=%DriversDisk%,,,
|
||||
|
||||
[SourceDisksFiles]
|
||||
ftdibus.sys = 1,i386
|
||||
ftbusui.dll = 1,i386
|
||||
ftd2xx.dll = 1,i386
|
||||
FTLang.Dll = 1,i386
|
||||
|
||||
[SourceDisksFiles.amd64]
|
||||
ftdibus.sys = 1,amd64
|
||||
ftbusui.dll = 1,amd64
|
||||
ftd2xx64.dll = 1,amd64
|
||||
ftd2xx.dll = 1,i386
|
||||
FTLang.Dll = 1,amd64
|
||||
|
||||
[DestinationDirs]
|
||||
FtdiBus.NT.Copy = 10,system32\drivers
|
||||
FtdiBus.NT.Copy2 = 10,system32
|
||||
FtdiBus.NTamd64.Copy = 10,system32\drivers
|
||||
FtdiBus.NTamd64.Copy2 = 10,system32
|
||||
FtdiBus.NTamd64.Copy3 = 10,syswow64
|
||||
|
||||
|
||||
[Manufacturer]
|
||||
%Ftdi%=FtdiHw,NTamd64
|
||||
|
||||
[FtdiHw]
|
||||
%USB\VID_0403&PID_6001.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_6001
|
||||
%USB\VID_0403&PID_6010&MI_00.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_6010&MI_00
|
||||
%USB\VID_0403&PID_6010&MI_01.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_6010&MI_01
|
||||
%USB\VID_0403&PID_6011&MI_00.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_6011&MI_00
|
||||
%USB\VID_0403&PID_6011&MI_01.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_6011&MI_01
|
||||
%USB\VID_0403&PID_6011&MI_02.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_6011&MI_02
|
||||
%USB\VID_0403&PID_6011&MI_03.DeviceDesc%=FtdiBus.NT,USB\VID_0403&PID_6011&MI_03
|
||||
|
||||
[FtdiHw.NTamd64]
|
||||
%USB\VID_0403&PID_6001.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_6001
|
||||
%USB\VID_0403&PID_6010&MI_00.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_6010&MI_00
|
||||
%USB\VID_0403&PID_6010&MI_01.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_6010&MI_01
|
||||
%USB\VID_0403&PID_6011&MI_00.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_6011&MI_00
|
||||
%USB\VID_0403&PID_6011&MI_01.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_6011&MI_01
|
||||
%USB\VID_0403&PID_6011&MI_02.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_6011&MI_02
|
||||
%USB\VID_0403&PID_6011&MI_03.DeviceDesc%=FtdiBus.NTamd64,USB\VID_0403&PID_6011&MI_03
|
||||
|
||||
[ControlFlags]
|
||||
ExcludeFromSelect=*
|
||||
|
||||
[FtdiBus.NT]
|
||||
CopyFiles=FtdiBus.NT.Copy,FtdiBus.NT.Copy2
|
||||
AddReg=FtdiBus.NT.AddReg
|
||||
|
||||
[FtdiBus.NTamd64]
|
||||
CopyFiles=FtdiBus.NTamd64.Copy,FtdiBus.NTamd64.Copy2,FtdiBus.NTamd64.Copy3
|
||||
AddReg=FtdiBus.NT.AddReg
|
||||
|
||||
[FtdiBus.NT.Services]
|
||||
AddService = FTDIBUS, 0x00000002, FtdiBus.NT.AddService
|
||||
|
||||
[FtdiBus.NTamd64.Services]
|
||||
AddService = FTDIBUS, 0x00000002, FtdiBus.NT.AddService
|
||||
|
||||
[FtdiBus.NT.AddService]
|
||||
DisplayName = %SvcDesc%
|
||||
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
|
||||
StartType = 3 ; SERVICE_DEMAND_START
|
||||
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
|
||||
ServiceBinary = %10%\system32\drivers\ftdibus.sys
|
||||
LoadOrderGroup = Base
|
||||
AddReg = FtdiBus.NT.AddService.AddReg
|
||||
|
||||
[FtdiBus.NT.AddReg]
|
||||
HKR,,DevLoader,,*ntkern
|
||||
HKR,,NTMPDriver,,ftdibus.sys
|
||||
HKR,,EnumPropPages32,,"ftbusui.dll,FTBUSUIPropPageProvider"
|
||||
|
||||
[FtdiBus.NT.AddService.AddReg]
|
||||
;HKR,Parameters,"LocIds",1,31,00,00,00,32,00,00,00,00
|
||||
;HKR,Parameters,"RetryResetCount",0x10001,50
|
||||
|
||||
|
||||
[FtdiBus.NT.Copy]
|
||||
ftdibus.sys
|
||||
|
||||
[FtdiBus.NT.Copy2]
|
||||
ftbusui.dll
|
||||
ftd2xx.dll
|
||||
FTLang.dll
|
||||
|
||||
[FtdiBus.NTamd64.Copy]
|
||||
ftdibus.sys
|
||||
|
||||
[FtdiBus.NTamd64.Copy2]
|
||||
ftbusui.dll
|
||||
ftd2xx.dll,ftd2xx64.dll
|
||||
FTLang.dll
|
||||
|
||||
[FtdiBus.NTamd64.Copy3]
|
||||
ftd2xx.dll
|
||||
|
||||
[Strings]
|
||||
Ftdi="FTDI"
|
||||
DESC="CDM Driver Package"
|
||||
DriversDisk="FTDI USB Drivers Disk"
|
||||
USB\VID_0403&PID_6001.DeviceDesc="USB Serial Converter"
|
||||
USB\VID_0403&PID_6010&MI_00.DeviceDesc="USB Serial Converter A"
|
||||
USB\VID_0403&PID_6010&MI_01.DeviceDesc="USB Serial Converter B"
|
||||
USB\VID_0403&PID_6011&MI_00.DeviceDesc="USB Serial Converter A"
|
||||
USB\VID_0403&PID_6011&MI_01.DeviceDesc="USB Serial Converter B"
|
||||
USB\VID_0403&PID_6011&MI_02.DeviceDesc="USB Serial Converter C"
|
||||
USB\VID_0403&PID_6011&MI_03.DeviceDesc="USB Serial Converter D"
|
||||
SvcDesc="USB Serial Converter Driver"
|
||||
ClassName="USB"
|
||||
Binary file not shown.
@@ -0,0 +1,174 @@
|
||||
; FTDIPORT.INF
|
||||
; Copyright (c) 2000-2010 FTDI Ltd.
|
||||
;
|
||||
; USB serial port driver installation file for Windows 2000, XP, Server 2003, Vista, Server 2008,
|
||||
; Windows 7 and Server 2008 R2 (x86 and x64).
|
||||
;
|
||||
; FTDI device drivers may be used only in conjunction with products based on FTDI parts.
|
||||
; The driver may be distributed in any form as long as our license information is not modified.
|
||||
; If a custom Vendor ID and/or Product ID, or description string are used, it is the responsibility of
|
||||
; the product manufacturer to maintain any changes and subsequent WHQL re-certification as a result of
|
||||
; making these changes.
|
||||
;
|
||||
;
|
||||
|
||||
[Version]
|
||||
Signature="$Windows NT$"
|
||||
DriverPackageType=PlugAndPlay
|
||||
DriverPackageDisplayName=%DESC%
|
||||
Class=Ports
|
||||
ClassGUID={4d36e978-e325-11ce-bfc1-08002be10318}
|
||||
Provider=%FTDI%
|
||||
CatalogFile=ftdiport.cat
|
||||
DriverVer=03/30/2010,2.06.02
|
||||
|
||||
[SourceDisksNames]
|
||||
1=%DriversDisk%,,,
|
||||
|
||||
[SourceDisksFiles]
|
||||
ftser2k.sys=1,i386
|
||||
ftserui2.dll=1,i386
|
||||
ftcserco.dll = 1,i386
|
||||
|
||||
[SourceDisksFiles.amd64]
|
||||
ftser2k.sys=1,amd64
|
||||
ftserui2.dll=1,amd64
|
||||
ftcserco.dll = 1,amd64
|
||||
|
||||
[DestinationDirs]
|
||||
FtdiPort.NT.Copy=10,system32\drivers
|
||||
FtdiPort.NT.CopyUI=10,system32
|
||||
FtdiPort2232.NT.CopyCoInst=10,system32
|
||||
|
||||
[ControlFlags]
|
||||
ExcludeFromSelect=*
|
||||
|
||||
[Manufacturer]
|
||||
%FTDI%=FtdiHw,NTamd64
|
||||
|
||||
[FtdiHw]
|
||||
%VID_0403&PID_6001.DeviceDesc%=FtdiPort232.NT,FTDIBUS\COMPORT&VID_0403&PID_6001
|
||||
%VID_0403&PID_6010.DeviceDesc%=FtdiPort2232.NT,FTDIBUS\COMPORT&VID_0403&PID_6010
|
||||
%VID_0403&PID_6011.DeviceDesc%=FtdiPort2232.NT,FTDIBUS\COMPORT&VID_0403&PID_6011
|
||||
|
||||
[FtdiHw.NTamd64]
|
||||
%VID_0403&PID_6001.DeviceDesc%=FtdiPort232.NTamd64,FTDIBUS\COMPORT&VID_0403&PID_6001
|
||||
%VID_0403&PID_6010.DeviceDesc%=FtdiPort2232.NTamd64,FTDIBUS\COMPORT&VID_0403&PID_6010
|
||||
%VID_0403&PID_6011.DeviceDesc%=FtdiPort2232.NTamd64,FTDIBUS\COMPORT&VID_0403&PID_6011
|
||||
|
||||
[FtdiPort.NT.AddService]
|
||||
DisplayName = %SvcDesc%
|
||||
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
|
||||
StartType = 3 ; SERVICE_DEMAND_START
|
||||
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
|
||||
ServiceBinary = %10%\system32\drivers\ftser2k.sys
|
||||
LoadOrderGroup = Base
|
||||
|
||||
; -------------- Serenum Driver install section
|
||||
[SerEnum_AddService]
|
||||
DisplayName = %SerEnum.SvcDesc%
|
||||
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
|
||||
StartType = 3 ; SERVICE_DEMAND_START
|
||||
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
|
||||
ServiceBinary = %12%\serenum.sys
|
||||
LoadOrderGroup = PNP Filter
|
||||
|
||||
[FtdiPort.NT.AddReg]
|
||||
HKR,,EnumPropPages32,,"ftserui2.dll,SerialPortPropPageProvider"
|
||||
|
||||
[FtdiPort.NT.Copy]
|
||||
ftser2k.sys
|
||||
|
||||
[FtdiPort.NT.CopyUI]
|
||||
ftserui2.dll
|
||||
|
||||
[FtdiPort232.NT]
|
||||
CopyFiles=FtdiPort.NT.Copy,FtdiPort.NT.CopyUI
|
||||
AddReg=FtdiPort.NT.AddReg
|
||||
|
||||
[FtdiPort232.NTamd64]
|
||||
CopyFiles=FtdiPort.NT.Copy,FtdiPort.NT.CopyUI
|
||||
AddReg=FtdiPort.NT.AddReg
|
||||
|
||||
[FtdiPort232.NT.HW]
|
||||
AddReg=FtdiPort232.NT.HW.AddReg
|
||||
|
||||
[FtdiPort232.NTamd64.HW]
|
||||
AddReg=FtdiPort232.NT.HW.AddReg
|
||||
|
||||
[FtdiPort232.NT.Services]
|
||||
AddService = FTSER2K, 0x00000002, FtdiPort.NT.AddService
|
||||
AddService = Serenum,,SerEnum_AddService
|
||||
DelService = FTSERIAL
|
||||
|
||||
[FtdiPort232.NTamd64.Services]
|
||||
AddService = FTSER2K, 0x00000002, FtdiPort.NT.AddService
|
||||
AddService = Serenum,,SerEnum_AddService
|
||||
DelService = FTSERIAL
|
||||
|
||||
[FtdiPort232.NT.HW.AddReg]
|
||||
HKR,,"UpperFilters",0x00010000,"serenum"
|
||||
HKR,,"ConfigData",1,11,00,3F,3F,10,27,00,00,88,13,00,00,C4,09,00,00,E2,04,00,00,71,02,00,00,38,41,00,00,9C,80,00,00,4E,C0,00,00,34,00,00,00,1A,00,00,00,0D,00,00,00,06,40,00,00,03,80,00,00,00,00,00,00,D0,80,00,00
|
||||
HKR,,"MinReadTimeout",0x00010001,0
|
||||
HKR,,"MinWriteTimeout",0x00010001,0
|
||||
HKR,,"LatencyTimer",0x00010001,16
|
||||
|
||||
|
||||
; ------------------------------------------------------------------------------
|
||||
;
|
||||
; Multiple interface device section - includes FT2232C/D/L, FT2232H and FT4232H
|
||||
;
|
||||
; ------------------------------------------------------------------------------
|
||||
|
||||
[FtdiPort2232.NT]
|
||||
CopyFiles=FtdiPort.NT.Copy,FtdiPort.NT.CopyUI
|
||||
AddReg=FtdiPort.NT.AddReg
|
||||
|
||||
[FtdiPort2232.NTamd64]
|
||||
CopyFiles=FtdiPort.NT.Copy,FtdiPort.NT.CopyUI
|
||||
AddReg=FtdiPort.NT.AddReg
|
||||
|
||||
[FtdiPort2232.NT.HW]
|
||||
AddReg=FtdiPort232.NT.HW.AddReg
|
||||
|
||||
[FtdiPort2232.NTamd64.HW]
|
||||
AddReg=FtdiPort232.NT.HW.AddReg
|
||||
|
||||
[FtdiPort2232.NT.CoInstallers]
|
||||
AddReg=FtdiPort2232.NT.CoInstallers.AddReg
|
||||
CopyFiles=FtdiPort2232.NT.CopyCoInst
|
||||
|
||||
[FtdiPort2232.NTamd64.CoInstallers]
|
||||
AddReg=FtdiPort2232.NT.CoInstallers.AddReg
|
||||
CopyFiles=FtdiPort2232.NT.CopyCoInst
|
||||
|
||||
[FtdiPort2232.NT.Services]
|
||||
AddService = FTSER2K, 0x00000002, FtdiPort.NT.AddService
|
||||
AddService = Serenum,,SerEnum_AddService
|
||||
DelService = FTSERIAL
|
||||
|
||||
[FtdiPort2232.NTamd64.Services]
|
||||
AddService = FTSER2K, 0x00000002, FtdiPort.NT.AddService
|
||||
AddService = Serenum,,SerEnum_AddService
|
||||
DelService = FTSERIAL
|
||||
|
||||
[FtdiPort2232.NT.CoInstallers.AddReg]
|
||||
HKR,,CoInstallers32,0x00010000,"ftcserco.Dll,FTCSERCoInstaller"
|
||||
|
||||
[FtdiPort2232.NT.CopyCoInst]
|
||||
ftcserco.dll
|
||||
|
||||
;---------------------------------------------------------------;
|
||||
|
||||
[Strings]
|
||||
FTDI="FTDI"
|
||||
DESC="CDM Driver Package"
|
||||
DriversDisk="FTDI USB Drivers Disk"
|
||||
PortsClassName = "Ports (COM & LPT)"
|
||||
VID_0403&PID_6001.DeviceDesc="USB Serial Port"
|
||||
VID_0403&PID_6010.DeviceDesc="USB Serial Port"
|
||||
VID_0403&PID_6011.DeviceDesc="USB Serial Port"
|
||||
SvcDesc="USB Serial Port Driver"
|
||||
SerEnum.SvcDesc="Serenum Filter Driver"
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,93 @@
|
||||
All the models in this example directory can be found on
|
||||
Thingiverse (www.thingiverse.com), a site for sharing
|
||||
digital designs for physical objects. Sharing is fun!
|
||||
|
||||
The models included here are:
|
||||
|
||||
* Snake.stl: Snake (Articulated Python) by Zomboe
|
||||
Shared under CC-BY-NC-SA 3.0 license
|
||||
http://creativecommons.org/licenses/by-nc-sa/3.0/
|
||||
http://www.thingiverse.com/thing:4743
|
||||
|
||||
* Penny_bottle_opener.stl: Coin-op Bottle Opener by Starno
|
||||
Shared under the Creative Commons - GNU GPL
|
||||
http://www.gnu.org/licenses/gpl-2.0.html
|
||||
http://www.thingiverse.com/thing:1842
|
||||
|
||||
* 3D_Knot.stl: 3D Knot by MakeALot
|
||||
Shared under BSD License license
|
||||
http://creativecommons.org/licenses/BSD/
|
||||
http://www.thingiverse.com/thing:5504
|
||||
|
||||
* Whistle_v1.stl: Whistle by Zaggo
|
||||
Shared under CC-BY-NC 3.0 license
|
||||
http://creativecommons.org/licenses/by-nc/3.0/
|
||||
http://www.thingiverse.com/thing:1046
|
||||
Cleaned up by Cibomahto:
|
||||
http://www.thingiverse.com/thing:8391
|
||||
|
||||
* Antique_Car.stl: Antique Car by RobbinsvilleHighSchool
|
||||
Shared under CC-BY-NC-SA 3.0 license
|
||||
http://creativecommons.org/licenses/by-nc-sa/3.0/
|
||||
http://www.thingiverse.com/thing:6197
|
||||
|
||||
* vase3.stl: Faceted Vase 3 by Zydac
|
||||
Released into the public domain
|
||||
http://www.thingiverse.com/thing:4167
|
||||
|
||||
* trunicos40mm.stl: Truncated Icosahedron - Buckyball
|
||||
(Buckminsterfullerene) by Antona
|
||||
Released into the public domain
|
||||
http://www.thingiverse.com/thing:3458
|
||||
|
||||
* hexagon.stl: Hexagon Calibration Block by dna (Derivative
|
||||
of same by Time4PlanB)
|
||||
Released into the public domain
|
||||
http://www.thingiverse.com/thing:5031
|
||||
|
||||
* 20mmbox.stl: 20 mm calibration box by Spacexula (Derivative of 40mm cube by bre)
|
||||
Shared under the CC BY-SA 3.0 license
|
||||
http://creativecommons.org/licenses/by-sa/3.0/
|
||||
http://www.thingiverse.com/thing:2064
|
||||
|
||||
* wfu_cbi_skull.stl: Skull by bothacker
|
||||
Shared under the CC BY-SA 3.0 license
|
||||
http://creativecommons.org/licenses/by-sa/3.0/
|
||||
http://www.thingiverse.com/thing:3400
|
||||
|
||||
* Razor Blade Holder (thing 4179).STL: Razor Blade Holder by donutman_2000
|
||||
Released into the public domain
|
||||
http://www.thingiverse.com/thing:4179
|
||||
|
||||
* Marker Holder (thing 5570).stl: Marker Holder by theorbtwo
|
||||
Released into the public domain
|
||||
http://www.thingiverse.com/thing:5570
|
||||
|
||||
* Filament Dust Remover (thing 5639).stl: Filament Dust Remover by nicgravel
|
||||
Shared under CC-BY 3.0 license
|
||||
http://creativecommons.org/licenses/by/3.0/
|
||||
http://www.thingiverse.com/thing:5639
|
||||
|
||||
* Cable Clip 2 (thing 4022).stl: Makerbot Extruder Cable Clip by coasterman
|
||||
Released into the public domain
|
||||
http://www.thingiverse.com/thing:4022
|
||||
|
||||
* Cable Clip 1 (thing 3989).stl: Makerbot extruder cable clip by justjoheinz
|
||||
Shared underCC-BY 3.0 license
|
||||
http://creativecommons.org/licenses/by/3.0/
|
||||
http://www.thingiverse.com/thing:3989
|
||||
|
||||
* Z Axis Knob (thing 3234).STL: Z-Axis Knob by Stefan
|
||||
shared under CC-GPL license
|
||||
http://creativecommons.org/licenses/GPL/2.0/
|
||||
http://www.thingiverse.com/thing:3234
|
||||
|
||||
* Z Axis Oiler (1 of 2, thing 4774).stl, Z-Axis Oiler (2 of 2, thing 4774).stl: Z Axis Oiler by Fido
|
||||
Shared under CC-GPL license
|
||||
http://creativecommons.org/licenses/GPL/2.0/
|
||||
http://www.thingiverse.com/thing:4774
|
||||
|
||||
* Z Axis Wobble Arrester (thing 3057).stl: wobble Arresting Z Bracket by natetrue
|
||||
Shared under CC-LGPL
|
||||
http://creativecommons.org/licenses/LGPL/2.1/
|
||||
http://www.thingiverse.com/thing:3057
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@@ -0,0 +1,814 @@
|
||||
solid vcg
|
||||
facet normal 0.000000e+00 3.568220e-01 -9.341724e-01
|
||||
outer loop
|
||||
vertex 4.478839e+00 0.000000e+00 -3.552714e-15
|
||||
vertex -4.478840e+00 0.000000e+00 -3.552714e-15
|
||||
vertex -9.637907e+00 8.347545e+00 3.188478e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.765383e-08 3.568220e-01 -9.341724e-01
|
||||
outer loop
|
||||
vertex 4.478839e+00 0.000000e+00 -3.552714e-15
|
||||
vertex -9.637907e+00 8.347545e+00 3.188478e+00
|
||||
vertex 9.637906e+00 8.347546e+00 3.188478e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.765384e-08 3.568222e-01 -9.341723e-01
|
||||
outer loop
|
||||
vertex 9.637906e+00 8.347546e+00 3.188478e+00
|
||||
vertex -9.637907e+00 8.347545e+00 3.188478e+00
|
||||
vertex 5.159066e+00 1.559446e+01 5.956554e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 3.568222e-01 -9.341723e-01
|
||||
outer loop
|
||||
vertex -9.637907e+00 8.347545e+00 3.188478e+00
|
||||
vertex -5.159066e+00 1.559446e+01 5.956554e+00
|
||||
vertex 5.159066e+00 1.559446e+01 5.956554e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.341722e-01 -3.298005e-08 -3.568226e-01
|
||||
outer loop
|
||||
vertex 2.075353e+01 -9.637907e+00 1.559446e+01
|
||||
vertex 1.798545e+01 -5.159066e+00 8.347545e+00
|
||||
vertex 1.798545e+01 5.159066e+00 8.347544e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.341723e-01 2.265859e-07 -3.568222e-01
|
||||
outer loop
|
||||
vertex 2.075353e+01 -9.637907e+00 1.559446e+01
|
||||
vertex 1.798545e+01 5.159066e+00 8.347544e+00
|
||||
vertex 2.394201e+01 -4.478841e+00 2.394201e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.341723e-01 0.000000e+00 -3.568223e-01
|
||||
outer loop
|
||||
vertex 2.394201e+01 -4.478841e+00 2.394201e+01
|
||||
vertex 1.798545e+01 5.159066e+00 8.347544e+00
|
||||
vertex 2.394201e+01 4.478841e+00 2.394201e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.341723e-01 -4.875848e-07 -3.568223e-01
|
||||
outer loop
|
||||
vertex 1.798545e+01 5.159066e+00 8.347544e+00
|
||||
vertex 2.075353e+01 9.637907e+00 1.559446e+01
|
||||
vertex 2.394201e+01 4.478841e+00 2.394201e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773496e-01 -5.773506e-01 -5.773506e-01
|
||||
outer loop
|
||||
vertex 1.798545e+01 -5.159066e+00 8.347545e+00
|
||||
vertex 2.075353e+01 -9.637907e+00 1.559446e+01
|
||||
vertex 1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773503e-01 -5.773503e-01 -5.773502e-01
|
||||
outer loop
|
||||
vertex 1.798545e+01 -5.159066e+00 8.347545e+00
|
||||
vertex 1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
vertex 9.637906e+00 -8.347546e+00 3.188478e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773503e-01 -5.773504e-01 -5.773502e-01
|
||||
outer loop
|
||||
vertex 9.637906e+00 -8.347546e+00 3.188478e+00
|
||||
vertex 1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
vertex 5.159066e+00 -1.559446e+01 5.956554e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773504e-01 -5.773501e-01 -5.773503e-01
|
||||
outer loop
|
||||
vertex 1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
vertex 8.347542e+00 -2.075353e+01 1.430410e+01
|
||||
vertex 5.159066e+00 -1.559446e+01 5.956554e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.837148e-07 -3.568221e-01 -9.341723e-01
|
||||
outer loop
|
||||
vertex 4.478839e+00 0.000000e+00 -3.552714e-15
|
||||
vertex 9.637906e+00 -8.347546e+00 3.188478e+00
|
||||
vertex 5.159066e+00 -1.559446e+01 5.956554e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0.000000e+00 -3.568221e-01 -9.341723e-01
|
||||
outer loop
|
||||
vertex 4.478839e+00 0.000000e+00 -3.552714e-15
|
||||
vertex 5.159066e+00 -1.559446e+01 5.956554e+00
|
||||
vertex -4.478840e+00 0.000000e+00 -3.552714e-15
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.183543e-07 -3.568220e-01 -9.341724e-01
|
||||
outer loop
|
||||
vertex -4.478840e+00 0.000000e+00 -3.552714e-15
|
||||
vertex 5.159066e+00 -1.559446e+01 5.956554e+00
|
||||
vertex -9.637905e+00 -8.347547e+00 3.188478e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 8.634277e-08 -3.568221e-01 -9.341723e-01
|
||||
outer loop
|
||||
vertex 5.159066e+00 -1.559446e+01 5.956554e+00
|
||||
vertex -5.159066e+00 -1.559446e+01 5.956553e+00
|
||||
vertex -9.637905e+00 -8.347547e+00 3.188478e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773496e-01 -5.773506e-01 -5.773506e-01
|
||||
outer loop
|
||||
vertex -1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
vertex -2.075353e+01 -9.637907e+00 1.559446e+01
|
||||
vertex -1.798545e+01 -5.159066e+00 8.347545e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773506e-01 -5.773502e-01 -5.773500e-01
|
||||
outer loop
|
||||
vertex -1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
vertex -1.798545e+01 -5.159066e+00 8.347545e+00
|
||||
vertex -8.347546e+00 -2.075353e+01 1.430410e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773503e-01 -5.773501e-01 -5.773504e-01
|
||||
outer loop
|
||||
vertex -8.347546e+00 -2.075353e+01 1.430410e+01
|
||||
vertex -1.798545e+01 -5.159066e+00 8.347545e+00
|
||||
vertex -5.159066e+00 -1.559446e+01 5.956553e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773503e-01 -5.773503e-01 -5.773501e-01
|
||||
outer loop
|
||||
vertex -1.798545e+01 -5.159066e+00 8.347545e+00
|
||||
vertex -9.637905e+00 -8.347547e+00 3.188478e+00
|
||||
vertex -5.159066e+00 -1.559446e+01 5.956553e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.341723e-01 5.255737e-07 -3.568223e-01
|
||||
outer loop
|
||||
vertex -1.798545e+01 -5.159066e+00 8.347545e+00
|
||||
vertex -2.075353e+01 -9.637907e+00 1.559446e+01
|
||||
vertex -2.394201e+01 -4.478842e+00 2.394201e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.341723e-01 0.000000e+00 -3.568223e-01
|
||||
outer loop
|
||||
vertex -1.798545e+01 -5.159066e+00 8.347545e+00
|
||||
vertex -2.394201e+01 -4.478842e+00 2.394201e+01
|
||||
vertex -1.798545e+01 5.159066e+00 8.347545e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.341722e-01 -2.813339e-07 -3.568225e-01
|
||||
outer loop
|
||||
vertex -1.798545e+01 5.159066e+00 8.347545e+00
|
||||
vertex -2.394201e+01 -4.478842e+00 2.394201e+01
|
||||
vertex -2.075353e+01 9.637907e+00 1.559446e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.341724e-01 0.000000e+00 -3.568220e-01
|
||||
outer loop
|
||||
vertex -2.394201e+01 -4.478842e+00 2.394201e+01
|
||||
vertex -2.394201e+01 4.478843e+00 2.394201e+01
|
||||
vertex -2.075353e+01 9.637907e+00 1.559446e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773503e-01 5.773507e-01 -5.773498e-01
|
||||
outer loop
|
||||
vertex -2.075353e+01 9.637907e+00 1.559446e+01
|
||||
vertex -1.559446e+01 1.798545e+01 1.878294e+01
|
||||
vertex -8.347542e+00 2.075353e+01 1.430410e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773500e-01 5.773502e-01 -5.773506e-01
|
||||
outer loop
|
||||
vertex -2.075353e+01 9.637907e+00 1.559446e+01
|
||||
vertex -8.347542e+00 2.075353e+01 1.430410e+01
|
||||
vertex -1.798545e+01 5.159066e+00 8.347545e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773503e-01 5.773503e-01 -5.773502e-01
|
||||
outer loop
|
||||
vertex -1.798545e+01 5.159066e+00 8.347545e+00
|
||||
vertex -8.347542e+00 2.075353e+01 1.430410e+01
|
||||
vertex -9.637907e+00 8.347545e+00 3.188478e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773501e-01 5.773504e-01 -5.773503e-01
|
||||
outer loop
|
||||
vertex -8.347542e+00 2.075353e+01 1.430410e+01
|
||||
vertex -5.159066e+00 1.559446e+01 5.956554e+00
|
||||
vertex -9.637907e+00 8.347545e+00 3.188478e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.568224e-01 9.341722e-01 0.000000e+00
|
||||
outer loop
|
||||
vertex 0.000000e+00 2.394201e+01 2.842084e+01
|
||||
vertex 0.000000e+00 2.394201e+01 1.946317e+01
|
||||
vertex -8.347542e+00 2.075353e+01 1.430410e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.568223e-01 9.341723e-01 -7.061540e-08
|
||||
outer loop
|
||||
vertex 0.000000e+00 2.394201e+01 2.842084e+01
|
||||
vertex -8.347542e+00 2.075353e+01 1.430410e+01
|
||||
vertex -8.347546e+00 2.075353e+01 3.357991e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.568226e-01 9.341722e-01 -7.061546e-08
|
||||
outer loop
|
||||
vertex -8.347546e+00 2.075353e+01 3.357991e+01
|
||||
vertex -8.347542e+00 2.075353e+01 1.430410e+01
|
||||
vertex -1.559446e+01 1.798545e+01 2.910107e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.568225e-01 9.341722e-01 0.000000e+00
|
||||
outer loop
|
||||
vertex -8.347542e+00 2.075353e+01 1.430410e+01
|
||||
vertex -1.559446e+01 1.798545e+01 1.878294e+01
|
||||
vertex -1.559446e+01 1.798545e+01 2.910107e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 3.568223e-01 9.341723e-01 -0.000000e+00
|
||||
outer loop
|
||||
vertex 0.000000e+00 2.394201e+01 1.946317e+01
|
||||
vertex 0.000000e+00 2.394201e+01 2.842084e+01
|
||||
vertex 8.347545e+00 2.075353e+01 3.357991e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 3.568223e-01 9.341723e-01 0.000000e+00
|
||||
outer loop
|
||||
vertex 0.000000e+00 2.394201e+01 1.946317e+01
|
||||
vertex 8.347545e+00 2.075353e+01 3.357991e+01
|
||||
vertex 8.347545e+00 2.075353e+01 1.430410e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 3.568226e-01 9.341722e-01 -0.000000e+00
|
||||
outer loop
|
||||
vertex 8.347545e+00 2.075353e+01 1.430410e+01
|
||||
vertex 8.347545e+00 2.075353e+01 3.357991e+01
|
||||
vertex 1.559446e+01 1.798545e+01 1.878294e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 3.568226e-01 9.341722e-01 0.000000e+00
|
||||
outer loop
|
||||
vertex 8.347545e+00 2.075353e+01 3.357991e+01
|
||||
vertex 1.559446e+01 1.798545e+01 2.910107e+01
|
||||
vertex 1.559446e+01 1.798545e+01 1.878294e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.568223e-01 -9.341723e-01 0.000000e+00
|
||||
outer loop
|
||||
vertex -8.347546e+00 -2.075353e+01 1.430410e+01
|
||||
vertex 0.000000e+00 -2.394201e+01 1.946316e+01
|
||||
vertex 0.000000e+00 -2.394201e+01 2.842085e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.568226e-01 -9.341722e-01 1.957458e-07
|
||||
outer loop
|
||||
vertex -8.347546e+00 -2.075353e+01 1.430410e+01
|
||||
vertex 0.000000e+00 -2.394201e+01 2.842085e+01
|
||||
vertex -1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.568224e-01 -9.341722e-01 0.000000e+00
|
||||
outer loop
|
||||
vertex -1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
vertex 0.000000e+00 -2.394201e+01 2.842085e+01
|
||||
vertex -1.559446e+01 -1.798545e+01 2.910107e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.568225e-01 -9.341722e-01 -3.656827e-07
|
||||
outer loop
|
||||
vertex 0.000000e+00 -2.394201e+01 2.842085e+01
|
||||
vertex -8.347546e+00 -2.075353e+01 3.357991e+01
|
||||
vertex -1.559446e+01 -1.798545e+01 2.910107e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 3.568224e-01 -9.341722e-01 8.180676e-08
|
||||
outer loop
|
||||
vertex 0.000000e+00 -2.394201e+01 1.946316e+01
|
||||
vertex 8.347542e+00 -2.075353e+01 1.430410e+01
|
||||
vertex 1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 3.568224e-01 -9.341722e-01 0.000000e+00
|
||||
outer loop
|
||||
vertex 0.000000e+00 -2.394201e+01 1.946316e+01
|
||||
vertex 1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
vertex 0.000000e+00 -2.394201e+01 2.842085e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 3.568224e-01 -9.341723e-01 -1.369566e-07
|
||||
outer loop
|
||||
vertex 0.000000e+00 -2.394201e+01 2.842085e+01
|
||||
vertex 1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
vertex 8.347545e+00 -2.075353e+01 3.357991e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 3.568226e-01 -9.341722e-01 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
vertex 1.559446e+01 -1.798545e+01 2.910107e+01
|
||||
vertex 8.347545e+00 -2.075353e+01 3.357991e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 3.568223e-01 9.341723e-01
|
||||
outer loop
|
||||
vertex -9.637906e+00 8.347546e+00 4.469553e+01
|
||||
vertex -4.478840e+00 0.000000e+00 4.788401e+01
|
||||
vertex 4.478840e+00 0.000000e+00 4.788401e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.366321e-07 3.568217e-01 9.341725e-01
|
||||
outer loop
|
||||
vertex -9.637906e+00 8.347546e+00 4.469553e+01
|
||||
vertex 4.478840e+00 0.000000e+00 4.788401e+01
|
||||
vertex -5.159066e+00 1.559446e+01 4.192746e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0.000000e+00 3.568219e-01 9.341724e-01
|
||||
outer loop
|
||||
vertex -5.159066e+00 1.559446e+01 4.192746e+01
|
||||
vertex 4.478840e+00 0.000000e+00 4.788401e+01
|
||||
vertex 5.159066e+00 1.559446e+01 4.192746e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.579103e-07 3.568219e-01 9.341725e-01
|
||||
outer loop
|
||||
vertex 4.478840e+00 0.000000e+00 4.788401e+01
|
||||
vertex 9.637905e+00 8.347547e+00 4.469553e+01
|
||||
vertex 5.159066e+00 1.559446e+01 4.192746e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773501e-01 5.773500e-01 5.773506e-01
|
||||
outer loop
|
||||
vertex 5.159066e+00 1.559446e+01 4.192746e+01
|
||||
vertex 9.637905e+00 8.347547e+00 4.469553e+01
|
||||
vertex 1.798545e+01 5.159066e+00 3.953647e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773503e-01 5.773503e-01 5.773503e-01
|
||||
outer loop
|
||||
vertex 5.159066e+00 1.559446e+01 4.192746e+01
|
||||
vertex 1.798545e+01 5.159066e+00 3.953647e+01
|
||||
vertex 8.347545e+00 2.075353e+01 3.357991e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773505e-01 5.773503e-01 5.773500e-01
|
||||
outer loop
|
||||
vertex 8.347545e+00 2.075353e+01 3.357991e+01
|
||||
vertex 1.798545e+01 5.159066e+00 3.953647e+01
|
||||
vertex 1.559446e+01 1.798545e+01 2.910107e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773498e-01 5.773506e-01 5.773505e-01
|
||||
outer loop
|
||||
vertex 1.798545e+01 5.159066e+00 3.953647e+01
|
||||
vertex 2.075353e+01 9.637907e+00 3.228955e+01
|
||||
vertex 1.559446e+01 1.798545e+01 2.910107e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.341722e-01 0.000000e+00 3.568225e-01
|
||||
outer loop
|
||||
vertex 2.075353e+01 9.637907e+00 3.228955e+01
|
||||
vertex 1.798545e+01 5.159066e+00 3.953647e+01
|
||||
vertex 1.798545e+01 -5.159066e+00 3.953647e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.341722e-01 -7.364092e-09 3.568225e-01
|
||||
outer loop
|
||||
vertex 2.075353e+01 9.637907e+00 3.228955e+01
|
||||
vertex 1.798545e+01 -5.159066e+00 3.953647e+01
|
||||
vertex 2.394201e+01 4.478841e+00 2.394201e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.341722e-01 0.000000e+00 3.568225e-01
|
||||
outer loop
|
||||
vertex 2.394201e+01 4.478841e+00 2.394201e+01
|
||||
vertex 1.798545e+01 -5.159066e+00 3.953647e+01
|
||||
vertex 2.394201e+01 -4.478841e+00 2.394201e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.341722e-01 1.584660e-08 3.568225e-01
|
||||
outer loop
|
||||
vertex 1.798545e+01 -5.159066e+00 3.953647e+01
|
||||
vertex 2.075353e+01 -9.637907e+00 3.228955e+01
|
||||
vertex 2.394201e+01 -4.478841e+00 2.394201e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773500e-01 -5.773503e-01 5.773504e-01
|
||||
outer loop
|
||||
vertex 2.075353e+01 -9.637907e+00 3.228955e+01
|
||||
vertex 1.798545e+01 -5.159066e+00 3.953647e+01
|
||||
vertex 9.637907e+00 -8.347543e+00 4.469553e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773499e-01 -5.773506e-01 5.773504e-01
|
||||
outer loop
|
||||
vertex 2.075353e+01 -9.637907e+00 3.228955e+01
|
||||
vertex 9.637907e+00 -8.347543e+00 4.469553e+01
|
||||
vertex 1.559446e+01 -1.798545e+01 2.910107e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773506e-01 -5.773500e-01 5.773503e-01
|
||||
outer loop
|
||||
vertex 1.559446e+01 -1.798545e+01 2.910107e+01
|
||||
vertex 9.637907e+00 -8.347543e+00 4.469553e+01
|
||||
vertex 8.347545e+00 -2.075353e+01 3.357991e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773504e-01 -5.773501e-01 5.773504e-01
|
||||
outer loop
|
||||
vertex 9.637907e+00 -8.347543e+00 4.469553e+01
|
||||
vertex 5.159064e+00 -1.559446e+01 4.192746e+01
|
||||
vertex 8.347545e+00 -2.075353e+01 3.357991e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -3.568216e-01 9.341726e-01
|
||||
outer loop
|
||||
vertex -9.637906e+00 -8.347546e+00 4.469553e+01
|
||||
vertex -5.159066e+00 -1.559446e+01 4.192746e+01
|
||||
vertex 5.159064e+00 -1.559446e+01 4.192746e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -2.922469e-07 -3.568221e-01 9.341723e-01
|
||||
outer loop
|
||||
vertex -9.637906e+00 -8.347546e+00 4.469553e+01
|
||||
vertex 5.159064e+00 -1.559446e+01 4.192746e+01
|
||||
vertex -4.478840e+00 0.000000e+00 4.788401e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -3.568219e-01 9.341724e-01
|
||||
outer loop
|
||||
vertex -4.478840e+00 0.000000e+00 4.788401e+01
|
||||
vertex 5.159064e+00 -1.559446e+01 4.192746e+01
|
||||
vertex 4.478840e+00 0.000000e+00 4.788401e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 8.417851e-07 -3.568219e-01 9.341725e-01
|
||||
outer loop
|
||||
vertex 5.159064e+00 -1.559446e+01 4.192746e+01
|
||||
vertex 9.637907e+00 -8.347543e+00 4.469553e+01
|
||||
vertex 4.478840e+00 0.000000e+00 4.788401e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773501e-01 -5.773500e-01 5.773506e-01
|
||||
outer loop
|
||||
vertex -5.159066e+00 -1.559446e+01 4.192746e+01
|
||||
vertex -9.637906e+00 -8.347546e+00 4.469553e+01
|
||||
vertex -1.798545e+01 -5.159066e+00 3.953647e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773503e-01 -5.773503e-01 5.773503e-01
|
||||
outer loop
|
||||
vertex -5.159066e+00 -1.559446e+01 4.192746e+01
|
||||
vertex -1.798545e+01 -5.159066e+00 3.953647e+01
|
||||
vertex -8.347546e+00 -2.075353e+01 3.357991e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773506e-01 -5.773503e-01 5.773500e-01
|
||||
outer loop
|
||||
vertex -8.347546e+00 -2.075353e+01 3.357991e+01
|
||||
vertex -1.798545e+01 -5.159066e+00 3.953647e+01
|
||||
vertex -1.559446e+01 -1.798545e+01 2.910107e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773498e-01 -5.773506e-01 5.773505e-01
|
||||
outer loop
|
||||
vertex -1.798545e+01 -5.159066e+00 3.953647e+01
|
||||
vertex -2.075353e+01 -9.637907e+00 3.228955e+01
|
||||
vertex -1.559446e+01 -1.798545e+01 2.910107e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.341722e-01 -1.584661e-08 3.568225e-01
|
||||
outer loop
|
||||
vertex -1.798545e+01 5.159066e+00 3.953647e+01
|
||||
vertex -2.075353e+01 9.637907e+00 3.228955e+01
|
||||
vertex -2.394201e+01 4.478843e+00 2.394201e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.341722e-01 0.000000e+00 3.568225e-01
|
||||
outer loop
|
||||
vertex -1.798545e+01 5.159066e+00 3.953647e+01
|
||||
vertex -2.394201e+01 4.478843e+00 2.394201e+01
|
||||
vertex -1.798545e+01 -5.159066e+00 3.953647e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.341722e-01 8.482512e-09 3.568225e-01
|
||||
outer loop
|
||||
vertex -1.798545e+01 -5.159066e+00 3.953647e+01
|
||||
vertex -2.394201e+01 4.478843e+00 2.394201e+01
|
||||
vertex -2.075353e+01 -9.637907e+00 3.228955e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.341722e-01 0.000000e+00 3.568225e-01
|
||||
outer loop
|
||||
vertex -2.394201e+01 4.478843e+00 2.394201e+01
|
||||
vertex -2.394201e+01 -4.478842e+00 2.394201e+01
|
||||
vertex -2.075353e+01 -9.637907e+00 3.228955e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773498e-01 5.773506e-01 5.773505e-01
|
||||
outer loop
|
||||
vertex -1.559446e+01 1.798545e+01 2.910107e+01
|
||||
vertex -2.075353e+01 9.637907e+00 3.228955e+01
|
||||
vertex -1.798545e+01 5.159066e+00 3.953647e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773506e-01 5.773503e-01 5.773500e-01
|
||||
outer loop
|
||||
vertex -1.559446e+01 1.798545e+01 2.910107e+01
|
||||
vertex -1.798545e+01 5.159066e+00 3.953647e+01
|
||||
vertex -8.347546e+00 2.075353e+01 3.357991e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773503e-01 5.773503e-01 5.773503e-01
|
||||
outer loop
|
||||
vertex -8.347546e+00 2.075353e+01 3.357991e+01
|
||||
vertex -1.798545e+01 5.159066e+00 3.953647e+01
|
||||
vertex -5.159066e+00 1.559446e+01 4.192746e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.773501e-01 5.773500e-01 5.773506e-01
|
||||
outer loop
|
||||
vertex -1.798545e+01 5.159066e+00 3.953647e+01
|
||||
vertex -9.637906e+00 8.347546e+00 4.469553e+01
|
||||
vertex -5.159066e+00 1.559446e+01 4.192746e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773497e-01 5.773506e-01 -5.773506e-01
|
||||
outer loop
|
||||
vertex 1.559446e+01 1.798545e+01 1.878294e+01
|
||||
vertex 2.075353e+01 9.637907e+00 1.559446e+01
|
||||
vertex 1.798545e+01 5.159066e+00 8.347544e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773505e-01 5.773503e-01 -5.773500e-01
|
||||
outer loop
|
||||
vertex 1.559446e+01 1.798545e+01 1.878294e+01
|
||||
vertex 1.798545e+01 5.159066e+00 8.347544e+00
|
||||
vertex 8.347545e+00 2.075353e+01 1.430410e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773502e-01 5.773502e-01 -5.773504e-01
|
||||
outer loop
|
||||
vertex 8.347545e+00 2.075353e+01 1.430410e+01
|
||||
vertex 1.798545e+01 5.159066e+00 8.347544e+00
|
||||
vertex 5.159066e+00 1.559446e+01 5.956554e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.773503e-01 5.773504e-01 -5.773501e-01
|
||||
outer loop
|
||||
vertex 1.798545e+01 5.159066e+00 8.347544e+00
|
||||
vertex 9.637906e+00 8.347546e+00 3.188478e+00
|
||||
vertex 5.159066e+00 1.559446e+01 5.956554e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.257313e-01 0.000000e+00 -8.506507e-01
|
||||
outer loop
|
||||
vertex 9.637906e+00 8.347546e+00 3.188476e+00
|
||||
vertex 1.798545e+01 5.159068e+00 8.347545e+00
|
||||
vertex 1.798545e+01 -5.159068e+00 8.347545e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.257310e-01 -2.119515e-07 -8.506508e-01
|
||||
outer loop
|
||||
vertex 9.637906e+00 8.347546e+00 3.188476e+00
|
||||
vertex 1.798545e+01 -5.159068e+00 8.347545e+00
|
||||
vertex 4.478839e+00 0.000000e+00 -3.552714e-15
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.257311e-01 9.891862e-09 -8.506508e-01
|
||||
outer loop
|
||||
vertex 1.798545e+01 -5.159068e+00 8.347545e+00
|
||||
vertex 9.637905e+00 -8.347547e+00 3.188478e+00
|
||||
vertex 4.478839e+00 0.000000e+00 -3.552714e-15
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.627566e-07 8.506507e-01 -5.257313e-01
|
||||
outer loop
|
||||
vertex -5.159066e+00 1.559446e+01 5.956554e+00
|
||||
vertex -8.347547e+00 2.075353e+01 1.430410e+01
|
||||
vertex 0.000000e+00 2.394201e+01 1.946317e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 8.506507e-01 -5.257313e-01
|
||||
outer loop
|
||||
vertex -5.159066e+00 1.559446e+01 5.956554e+00
|
||||
vertex 0.000000e+00 2.394201e+01 1.946317e+01
|
||||
vertex 5.159066e+00 1.559446e+01 5.956554e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.627566e-07 8.506507e-01 -5.257313e-01
|
||||
outer loop
|
||||
vertex 0.000000e+00 2.394201e+01 1.946317e+01
|
||||
vertex 8.347547e+00 2.075353e+01 1.430410e+01
|
||||
vertex 5.159066e+00 1.559446e+01 5.956554e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.257311e-01 -1.272149e-07 -8.506508e-01
|
||||
outer loop
|
||||
vertex -9.637907e+00 8.347545e+00 3.188478e+00
|
||||
vertex -4.478840e+00 0.000000e+00 -3.552714e-15
|
||||
vertex -9.637906e+00 -8.347546e+00 3.188480e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.257311e-01 -1.272149e-07 -8.506508e-01
|
||||
outer loop
|
||||
vertex -9.637907e+00 8.347545e+00 3.188478e+00
|
||||
vertex -9.637906e+00 -8.347546e+00 3.188480e+00
|
||||
vertex -1.798545e+01 5.159067e+00 8.347544e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.257310e-01 -7.862312e-08 -8.506508e-01
|
||||
outer loop
|
||||
vertex -9.637906e+00 -8.347546e+00 3.188480e+00
|
||||
vertex -1.798545e+01 -5.159067e+00 8.347545e+00
|
||||
vertex -1.798545e+01 5.159067e+00 8.347544e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -8.506506e-01 -5.257314e-01
|
||||
outer loop
|
||||
vertex -8.347545e+00 -2.075353e+01 1.430410e+01
|
||||
vertex -5.159066e+00 -1.559446e+01 5.956554e+00
|
||||
vertex 5.159066e+00 -1.559446e+01 5.956554e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.005891e-07 -8.506507e-01 -5.257313e-01
|
||||
outer loop
|
||||
vertex -8.347545e+00 -2.075353e+01 1.430410e+01
|
||||
vertex 5.159066e+00 -1.559446e+01 5.956554e+00
|
||||
vertex 0.000000e+00 -2.394201e+01 1.946317e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.627566e-07 -8.506507e-01 -5.257313e-01
|
||||
outer loop
|
||||
vertex 5.159066e+00 -1.559446e+01 5.956554e+00
|
||||
vertex 8.347545e+00 -2.075353e+01 1.430410e+01
|
||||
vertex 0.000000e+00 -2.394201e+01 1.946317e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.257307e-01 -0.000000e+00 8.506510e-01
|
||||
outer loop
|
||||
vertex 1.798545e+01 -5.159067e+00 3.953647e+01
|
||||
vertex 1.798545e+01 5.159067e+00 3.953647e+01
|
||||
vertex 9.637906e+00 8.347546e+00 4.469553e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.257308e-01 3.003134e-08 8.506510e-01
|
||||
outer loop
|
||||
vertex 1.798545e+01 -5.159067e+00 3.953647e+01
|
||||
vertex 9.637906e+00 8.347546e+00 4.469553e+01
|
||||
vertex 9.637907e+00 -8.347545e+00 4.469553e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 5.257313e-01 3.003137e-08 8.506507e-01
|
||||
outer loop
|
||||
vertex 9.637906e+00 8.347546e+00 4.469553e+01
|
||||
vertex 4.478840e+00 0.000000e+00 4.788401e+01
|
||||
vertex 9.637907e+00 -8.347545e+00 4.469553e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.548303e-07 -8.506508e-01 5.257312e-01
|
||||
outer loop
|
||||
vertex -5.159066e+00 -1.559446e+01 4.192746e+01
|
||||
vertex -8.347547e+00 -2.075353e+01 3.357991e+01
|
||||
vertex 0.000000e+00 -2.394201e+01 2.842084e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -8.506508e-01 5.257311e-01
|
||||
outer loop
|
||||
vertex -5.159066e+00 -1.559446e+01 4.192746e+01
|
||||
vertex 0.000000e+00 -2.394201e+01 2.842084e+01
|
||||
vertex 5.159066e+00 -1.559446e+01 4.192746e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.548303e-07 -8.506508e-01 5.257312e-01
|
||||
outer loop
|
||||
vertex 0.000000e+00 -2.394201e+01 2.842084e+01
|
||||
vertex 8.347547e+00 -2.075353e+01 3.357991e+01
|
||||
vertex 5.159066e+00 -1.559446e+01 4.192746e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.257308e-01 4.539206e-07 8.506510e-01
|
||||
outer loop
|
||||
vertex -4.478839e+00 0.000000e+00 4.788401e+01
|
||||
vertex -9.637905e+00 8.347547e+00 4.469553e+01
|
||||
vertex -1.798545e+01 5.159068e+00 3.953647e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.257308e-01 7.115309e-07 8.506510e-01
|
||||
outer loop
|
||||
vertex -4.478839e+00 0.000000e+00 4.788401e+01
|
||||
vertex -1.798545e+01 5.159068e+00 3.953647e+01
|
||||
vertex -9.637906e+00 -8.347546e+00 4.469554e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -5.257316e-01 0.000000e+00 8.506505e-01
|
||||
outer loop
|
||||
vertex -1.798545e+01 5.159068e+00 3.953647e+01
|
||||
vertex -1.798545e+01 -5.159068e+00 3.953647e+01
|
||||
vertex -9.637906e+00 -8.347546e+00 4.469554e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.282711e-07 8.506507e-01 5.257314e-01
|
||||
outer loop
|
||||
vertex 5.159066e+00 1.559446e+01 4.192746e+01
|
||||
vertex 8.347545e+00 2.075353e+01 3.357991e+01
|
||||
vertex 0.000000e+00 2.394201e+01 2.842085e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 8.506506e-01 5.257314e-01
|
||||
outer loop
|
||||
vertex 5.159066e+00 1.559446e+01 4.192746e+01
|
||||
vertex 0.000000e+00 2.394201e+01 2.842085e+01
|
||||
vertex -5.159066e+00 1.559446e+01 4.192746e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -4.282711e-07 8.506507e-01 5.257314e-01
|
||||
outer loop
|
||||
vertex 0.000000e+00 2.394201e+01 2.842085e+01
|
||||
vertex -8.347545e+00 2.075353e+01 3.357991e+01
|
||||
vertex -5.159066e+00 1.559446e+01 4.192746e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 8.506506e-01 -5.257314e-01 -1.343653e-08
|
||||
outer loop
|
||||
vertex 2.394201e+01 -4.478841e+00 2.394201e+01
|
||||
vertex 2.075353e+01 -9.637906e+00 3.228955e+01
|
||||
vertex 1.559446e+01 -1.798545e+01 2.910107e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 8.506506e-01 -5.257314e-01 5.689601e-08
|
||||
outer loop
|
||||
vertex 2.394201e+01 -4.478841e+00 2.394201e+01
|
||||
vertex 1.559446e+01 -1.798545e+01 2.910107e+01
|
||||
vertex 2.075353e+01 -9.637907e+00 1.559446e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 8.506505e-01 -5.257315e-01 0.000000e+00
|
||||
outer loop
|
||||
vertex 1.559446e+01 -1.798545e+01 2.910107e+01
|
||||
vertex 1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
vertex 2.075353e+01 -9.637907e+00 1.559446e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 8.506505e-01 5.257315e-01 0.000000e+00
|
||||
outer loop
|
||||
vertex 2.075353e+01 9.637907e+00 1.559446e+01
|
||||
vertex 1.559446e+01 1.798545e+01 1.878294e+01
|
||||
vertex 1.559446e+01 1.798545e+01 2.910107e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 8.506506e-01 5.257314e-01 5.689601e-08
|
||||
outer loop
|
||||
vertex 2.075353e+01 9.637907e+00 1.559446e+01
|
||||
vertex 1.559446e+01 1.798545e+01 2.910107e+01
|
||||
vertex 2.394201e+01 4.478841e+00 2.394201e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 8.506506e-01 5.257314e-01 -1.343653e-08
|
||||
outer loop
|
||||
vertex 1.559446e+01 1.798545e+01 2.910107e+01
|
||||
vertex 2.075353e+01 9.637906e+00 3.228955e+01
|
||||
vertex 2.394201e+01 4.478841e+00 2.394201e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -8.506505e-01 5.257315e-01 0.000000e+00
|
||||
outer loop
|
||||
vertex -1.559446e+01 1.798545e+01 2.910107e+01
|
||||
vertex -1.559446e+01 1.798545e+01 1.878294e+01
|
||||
vertex -2.075353e+01 9.637907e+00 1.559446e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -8.506505e-01 5.257315e-01 -3.003138e-08
|
||||
outer loop
|
||||
vertex -1.559446e+01 1.798545e+01 2.910107e+01
|
||||
vertex -2.075353e+01 9.637907e+00 1.559446e+01
|
||||
vertex -2.075353e+01 9.637908e+00 3.228955e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -8.506515e-01 5.257300e-01 -3.003129e-08
|
||||
outer loop
|
||||
vertex -2.075353e+01 9.637907e+00 1.559446e+01
|
||||
vertex -2.394200e+01 4.478842e+00 2.394201e+01
|
||||
vertex -2.075353e+01 9.637908e+00 3.228955e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -8.506515e-01 -5.257300e-01 -3.003129e-08
|
||||
outer loop
|
||||
vertex -2.075353e+01 -9.637908e+00 3.228955e+01
|
||||
vertex -2.394200e+01 -4.478842e+00 2.394201e+01
|
||||
vertex -2.075353e+01 -9.637907e+00 1.559446e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -8.506505e-01 -5.257315e-01 -3.003138e-08
|
||||
outer loop
|
||||
vertex -2.075353e+01 -9.637908e+00 3.228955e+01
|
||||
vertex -2.075353e+01 -9.637907e+00 1.559446e+01
|
||||
vertex -1.559446e+01 -1.798545e+01 2.910107e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -8.506505e-01 -5.257315e-01 0.000000e+00
|
||||
outer loop
|
||||
vertex -2.075353e+01 -9.637907e+00 1.559446e+01
|
||||
vertex -1.559446e+01 -1.798545e+01 1.878294e+01
|
||||
vertex -1.559446e+01 -1.798545e+01 2.910107e+01
|
||||
endloop
|
||||
endfacet
|
||||
endsolid vcg
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,310 @@
|
||||
solid Default
|
||||
facet normal 1.000000e+00 -1.387779e-16 8.497693e-33
|
||||
outer loop
|
||||
vertex -8.347500e-01 -8.069250e+00 9.881981e-16
|
||||
vertex -8.347500e-01 5.286750e+00 1.703789e-16
|
||||
vertex -8.347500e-01 -8.069250e+00 4.897200e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.000000e+00 -1.387779e-16 8.497693e-33
|
||||
outer loop
|
||||
vertex -8.347500e-01 -8.069250e+00 4.897200e+01
|
||||
vertex -8.347500e-01 5.286750e+00 1.703789e-16
|
||||
vertex -8.347500e-01 5.286750e+00 4.897200e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 6.123234e-17
|
||||
outer loop
|
||||
vertex 4.730250e+00 5.286750e+00 4.897200e+01
|
||||
vertex -8.347500e-01 5.286750e+00 4.897200e+01
|
||||
vertex 4.730250e+00 5.286750e+00 1.703789e-16
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 6.123234e-17
|
||||
outer loop
|
||||
vertex 4.730250e+00 5.286750e+00 1.703789e-16
|
||||
vertex -8.347500e-01 5.286750e+00 4.897200e+01
|
||||
vertex -8.347500e-01 5.286750e+00 1.703789e-16
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 4.730250e+00 -2.782500e-01 4.897200e+01
|
||||
vertex 4.730250e+00 5.286750e+00 4.897200e+01
|
||||
vertex 4.730250e+00 -2.782500e-01 5.111369e-16
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex 4.730250e+00 -2.782500e-01 5.111369e-16
|
||||
vertex 4.730250e+00 5.286750e+00 4.897200e+01
|
||||
vertex 4.730250e+00 5.286750e+00 1.703789e-16
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 6.123234e-17
|
||||
outer loop
|
||||
vertex 7.512750e+00 -2.782500e-01 4.897200e+01
|
||||
vertex 4.730250e+00 -2.782500e-01 4.897200e+01
|
||||
vertex 7.512750e+00 -2.782500e-01 5.111369e-16
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 6.123234e-17
|
||||
outer loop
|
||||
vertex 7.512750e+00 -2.782500e-01 5.111369e-16
|
||||
vertex 4.730250e+00 -2.782500e-01 4.897200e+01
|
||||
vertex 4.730250e+00 -2.782500e-01 5.111369e-16
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.000000e+00 2.312965e-16 -1.416282e-32
|
||||
outer loop
|
||||
vertex 7.512750e+00 8.069250e+00 4.897200e+01
|
||||
vertex 7.512750e+00 -2.782500e-01 4.897200e+01
|
||||
vertex 7.512750e+00 8.069250e+00 0.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.000000e+00 2.312965e-16 -1.416282e-32
|
||||
outer loop
|
||||
vertex 7.512750e+00 8.069250e+00 0.000000e+00
|
||||
vertex 7.512750e+00 -2.782500e-01 4.897200e+01
|
||||
vertex 7.512750e+00 -2.782500e-01 5.111369e-16
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 -6.123234e-17
|
||||
outer loop
|
||||
vertex -3.617250e+00 8.069250e+00 4.618950e+01
|
||||
vertex 7.512750e+00 8.069250e+00 4.897200e+01
|
||||
vertex -3.617250e+00 8.069250e+00 2.782500e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 -6.123234e-17
|
||||
outer loop
|
||||
vertex -3.617250e+00 8.069250e+00 2.782500e+00
|
||||
vertex 7.512750e+00 8.069250e+00 4.897200e+01
|
||||
vertex 7.512750e+00 8.069250e+00 0.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 -6.123234e-17
|
||||
outer loop
|
||||
vertex -3.617250e+00 8.069250e+00 2.782500e+00
|
||||
vertex 7.512750e+00 8.069250e+00 0.000000e+00
|
||||
vertex -4.730250e+00 8.069250e+00 2.782500e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 -6.123234e-17
|
||||
outer loop
|
||||
vertex -4.730250e+00 8.069250e+00 2.782500e+00
|
||||
vertex 7.512750e+00 8.069250e+00 0.000000e+00
|
||||
vertex -7.512750e+00 8.069250e+00 0.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 -6.123234e-17
|
||||
outer loop
|
||||
vertex -4.730250e+00 8.069250e+00 2.782500e+00
|
||||
vertex -7.512750e+00 8.069250e+00 0.000000e+00
|
||||
vertex -4.730250e+00 8.069250e+00 4.618950e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 -6.123234e-17
|
||||
outer loop
|
||||
vertex -4.730250e+00 8.069250e+00 4.618950e+01
|
||||
vertex -7.512750e+00 8.069250e+00 0.000000e+00
|
||||
vertex -7.512750e+00 8.069250e+00 4.897200e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 -6.123234e-17
|
||||
outer loop
|
||||
vertex -4.730250e+00 8.069250e+00 4.618950e+01
|
||||
vertex -7.512750e+00 8.069250e+00 4.897200e+01
|
||||
vertex -3.617250e+00 8.069250e+00 4.618950e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 -6.123234e-17
|
||||
outer loop
|
||||
vertex -3.617250e+00 8.069250e+00 4.618950e+01
|
||||
vertex -7.512750e+00 8.069250e+00 4.897200e+01
|
||||
vertex 7.512750e+00 8.069250e+00 4.897200e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 6.123234e-17 1.000000e+00
|
||||
outer loop
|
||||
vertex 4.730250e+00 -2.782500e-01 4.897200e+01
|
||||
vertex 7.512750e+00 -2.782500e-01 4.897200e+01
|
||||
vertex 4.730250e+00 5.286750e+00 4.897200e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 6.123234e-17 1.000000e+00
|
||||
outer loop
|
||||
vertex 4.730250e+00 5.286750e+00 4.897200e+01
|
||||
vertex 7.512750e+00 -2.782500e-01 4.897200e+01
|
||||
vertex 7.512750e+00 8.069250e+00 4.897200e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 6.123234e-17 1.000000e+00
|
||||
outer loop
|
||||
vertex 4.730250e+00 5.286750e+00 4.897200e+01
|
||||
vertex 7.512750e+00 8.069250e+00 4.897200e+01
|
||||
vertex -8.347500e-01 5.286750e+00 4.897200e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 6.123234e-17 1.000000e+00
|
||||
outer loop
|
||||
vertex -8.347500e-01 5.286750e+00 4.897200e+01
|
||||
vertex 7.512750e+00 8.069250e+00 4.897200e+01
|
||||
vertex -7.512750e+00 8.069250e+00 4.897200e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 6.123234e-17 1.000000e+00
|
||||
outer loop
|
||||
vertex -8.347500e-01 5.286750e+00 4.897200e+01
|
||||
vertex -7.512750e+00 8.069250e+00 4.897200e+01
|
||||
vertex -8.347500e-01 -8.069250e+00 4.897200e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 6.123234e-17 1.000000e+00
|
||||
outer loop
|
||||
vertex -8.347500e-01 -8.069250e+00 4.897200e+01
|
||||
vertex -7.512750e+00 8.069250e+00 4.897200e+01
|
||||
vertex -7.512750e+00 -8.069250e+00 4.897200e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -6.123234e-17 -1.000000e+00
|
||||
outer loop
|
||||
vertex -8.347500e-01 -8.069250e+00 9.881981e-16
|
||||
vertex -7.512750e+00 -8.069250e+00 9.881981e-16
|
||||
vertex -8.347500e-01 5.286750e+00 1.703789e-16
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -6.123234e-17 -1.000000e+00
|
||||
outer loop
|
||||
vertex -8.347500e-01 5.286750e+00 1.703789e-16
|
||||
vertex -7.512750e+00 -8.069250e+00 9.881981e-16
|
||||
vertex -7.512750e+00 8.069250e+00 0.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -6.123234e-17 -1.000000e+00
|
||||
outer loop
|
||||
vertex -8.347500e-01 5.286750e+00 1.703789e-16
|
||||
vertex -7.512750e+00 8.069250e+00 0.000000e+00
|
||||
vertex 4.730250e+00 5.286750e+00 1.703789e-16
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -6.123234e-17 -1.000000e+00
|
||||
outer loop
|
||||
vertex 4.730250e+00 5.286750e+00 1.703789e-16
|
||||
vertex -7.512750e+00 8.069250e+00 0.000000e+00
|
||||
vertex 7.512750e+00 8.069250e+00 0.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -6.123234e-17 -1.000000e+00
|
||||
outer loop
|
||||
vertex 4.730250e+00 5.286750e+00 1.703789e-16
|
||||
vertex 7.512750e+00 8.069250e+00 0.000000e+00
|
||||
vertex 4.730250e+00 -2.782500e-01 5.111369e-16
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -6.123234e-17 -1.000000e+00
|
||||
outer loop
|
||||
vertex 4.730250e+00 -2.782500e-01 5.111369e-16
|
||||
vertex 7.512750e+00 8.069250e+00 0.000000e+00
|
||||
vertex 7.512750e+00 -2.782500e-01 5.111369e-16
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex -7.512750e+00 -8.069250e+00 4.897200e+01
|
||||
vertex -7.512750e+00 8.069250e+00 4.897200e+01
|
||||
vertex -7.512750e+00 -8.069250e+00 9.881981e-16
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex -7.512750e+00 -8.069250e+00 9.881981e-16
|
||||
vertex -7.512750e+00 8.069250e+00 4.897200e+01
|
||||
vertex -7.512750e+00 8.069250e+00 0.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 6.123234e-17
|
||||
outer loop
|
||||
vertex -7.512750e+00 -8.069250e+00 4.897200e+01
|
||||
vertex -7.512750e+00 -8.069250e+00 9.881981e-16
|
||||
vertex -8.347500e-01 -8.069250e+00 4.897200e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -1.000000e+00 6.123234e-17
|
||||
outer loop
|
||||
vertex -8.347500e-01 -8.069250e+00 4.897200e+01
|
||||
vertex -7.512750e+00 -8.069250e+00 9.881981e-16
|
||||
vertex -8.347500e-01 -8.069250e+00 9.881981e-16
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.000000e+00 -7.489954e-33 -1.223202e-16
|
||||
outer loop
|
||||
vertex -4.730250e+00 -5.286750e+00 4.618950e+01
|
||||
vertex -4.730250e+00 -5.286750e+00 2.782500e+00
|
||||
vertex -4.730250e+00 8.069250e+00 4.618950e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.000000e+00 -7.489954e-33 -1.223202e-16
|
||||
outer loop
|
||||
vertex -4.730250e+00 8.069250e+00 4.618950e+01
|
||||
vertex -4.730250e+00 -5.286750e+00 2.782500e+00
|
||||
vertex -4.730250e+00 8.069250e+00 2.782500e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 6.123234e-17 1.000000e+00
|
||||
outer loop
|
||||
vertex -4.730250e+00 -5.286750e+00 2.782500e+00
|
||||
vertex -3.617250e+00 -5.286750e+00 2.782500e+00
|
||||
vertex -4.730250e+00 8.069250e+00 2.782500e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 6.123234e-17 1.000000e+00
|
||||
outer loop
|
||||
vertex -4.730250e+00 8.069250e+00 2.782500e+00
|
||||
vertex -3.617250e+00 -5.286750e+00 2.782500e+00
|
||||
vertex -3.617250e+00 8.069250e+00 2.782500e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex -3.617250e+00 -5.286750e+00 2.782500e+00
|
||||
vertex -3.617250e+00 -5.286750e+00 4.618950e+01
|
||||
vertex -3.617250e+00 8.069250e+00 2.782500e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1.000000e+00 0.000000e+00 0.000000e+00
|
||||
outer loop
|
||||
vertex -3.617250e+00 8.069250e+00 2.782500e+00
|
||||
vertex -3.617250e+00 -5.286750e+00 4.618950e+01
|
||||
vertex -3.617250e+00 8.069250e+00 4.618950e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -6.123234e-17 -1.000000e+00
|
||||
outer loop
|
||||
vertex -3.617250e+00 -5.286750e+00 4.618950e+01
|
||||
vertex -4.730250e+00 -5.286750e+00 4.618950e+01
|
||||
vertex -3.617250e+00 8.069250e+00 4.618950e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 -6.123234e-17 -1.000000e+00
|
||||
outer loop
|
||||
vertex -3.617250e+00 8.069250e+00 4.618950e+01
|
||||
vertex -4.730250e+00 -5.286750e+00 4.618950e+01
|
||||
vertex -4.730250e+00 8.069250e+00 4.618950e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 -6.123234e-17
|
||||
outer loop
|
||||
vertex -3.617250e+00 -5.286750e+00 4.618950e+01
|
||||
vertex -3.617250e+00 -5.286750e+00 2.782500e+00
|
||||
vertex -4.730250e+00 -5.286750e+00 4.618950e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.000000e+00 1.000000e+00 -6.123234e-17
|
||||
outer loop
|
||||
vertex -4.730250e+00 -5.286750e+00 4.618950e+01
|
||||
vertex -3.617250e+00 -5.286750e+00 2.782500e+00
|
||||
vertex -4.730250e+00 -5.286750e+00 2.782500e+00
|
||||
endloop
|
||||
endfacet
|
||||
endsolid Default
|
||||
@@ -0,0 +1,478 @@
|
||||
solid Default
|
||||
facet normal 9.305050e-01 1.271705e-04 -3.662792e-01
|
||||
outer loop
|
||||
vertex 2.900117e+01 -7.933140e-03 1.105548e+02
|
||||
vertex 1.449371e+01 -2.510383e+01 7.369097e+01
|
||||
vertex 1.449372e+01 2.511971e+01 7.370845e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -4.653854e-01 8.060713e-01 -3.656027e-01
|
||||
outer loop
|
||||
vertex 1.449372e+01 2.511971e+01 7.370845e+01
|
||||
vertex -2.900117e+01 7.931232e-03 7.370845e+01
|
||||
vertex -1.449370e+01 2.510383e+01 1.105723e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -4.653627e-01 -8.057773e-01 -3.662792e-01
|
||||
outer loop
|
||||
vertex -2.900117e+01 7.931232e-03 7.370845e+01
|
||||
vertex 1.449371e+01 -2.510383e+01 7.369097e+01
|
||||
vertex -1.449372e+01 -2.511972e+01 1.105548e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.653627e-01 8.057773e-01 3.662792e-01
|
||||
outer loop
|
||||
vertex 2.900117e+01 -7.933140e-03 1.105548e+02
|
||||
vertex 1.449372e+01 2.511971e+01 7.370845e+01
|
||||
vertex -1.449370e+01 2.510383e+01 1.105723e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.305050e-01 -1.272438e-04 3.662792e-01
|
||||
outer loop
|
||||
vertex -2.900117e+01 7.931232e-03 7.370845e+01
|
||||
vertex -1.449372e+01 -2.511972e+01 1.105548e+02
|
||||
vertex -1.449370e+01 2.510383e+01 1.105723e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.653855e-01 -8.060713e-01 3.656028e-01
|
||||
outer loop
|
||||
vertex -1.449372e+01 -2.511972e+01 1.105548e+02
|
||||
vertex 1.449371e+01 -2.510383e+01 7.369097e+01
|
||||
vertex 2.900117e+01 -7.933140e-03 1.105548e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.430954e-01 -1.155372e-04 3.325223e-01
|
||||
outer loop
|
||||
vertex 1.230819e+01 2.133367e+01 7.440214e+01
|
||||
vertex 1.230818e+01 -2.131839e+01 7.438729e+01
|
||||
vertex 2.462959e+01 -7.632732e-03 1.093405e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.716706e-01 -8.169574e-01 3.318244e-01
|
||||
outer loop
|
||||
vertex -1.230818e+01 2.131839e+01 1.093554e+02
|
||||
vertex -2.462959e+01 7.632017e-03 7.440214e+01
|
||||
vertex 1.230819e+01 2.133367e+01 7.440214e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.716477e-01 8.166867e-01 3.325224e-01
|
||||
outer loop
|
||||
vertex -1.230819e+01 -2.133367e+01 1.093405e+02
|
||||
vertex 1.230818e+01 -2.131839e+01 7.438729e+01
|
||||
vertex -2.462959e+01 7.632017e-03 7.440214e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -4.716477e-01 -8.166867e-01 -3.325224e-01
|
||||
outer loop
|
||||
vertex -1.230818e+01 2.131839e+01 1.093554e+02
|
||||
vertex 1.230819e+01 2.133367e+01 7.440214e+01
|
||||
vertex 2.462959e+01 -7.632732e-03 1.093405e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.430954e-01 1.154777e-04 -3.325223e-01
|
||||
outer loop
|
||||
vertex -1.230818e+01 2.131839e+01 1.093554e+02
|
||||
vertex -1.230819e+01 -2.133367e+01 1.093405e+02
|
||||
vertex -2.462959e+01 7.632017e-03 7.440214e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -4.716706e-01 8.169574e-01 -3.318243e-01
|
||||
outer loop
|
||||
vertex 2.462959e+01 -7.632732e-03 1.093405e+02
|
||||
vertex 1.230818e+01 -2.131839e+01 7.438729e+01
|
||||
vertex -1.230819e+01 -2.133367e+01 1.093405e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.030483e-01 3.315929e-04 -9.529752e-01
|
||||
outer loop
|
||||
vertex 1.449372e+01 2.511971e+01 7.370845e+01
|
||||
vertex 1.449371e+01 -2.510383e+01 7.369097e+01
|
||||
vertex 1.230818e+01 -2.131839e+01 7.438729e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.030522e-01 3.317895e-04 -9.529739e-01
|
||||
outer loop
|
||||
vertex 1.230818e+01 -2.131839e+01 7.438729e+01
|
||||
vertex 1.230819e+01 2.133367e+01 7.440214e+01
|
||||
vertex 1.449372e+01 2.511971e+01 7.370845e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.512327e-01 -2.619428e-01 -9.531603e-01
|
||||
outer loop
|
||||
vertex -2.900117e+01 7.931232e-03 7.370845e+01
|
||||
vertex 1.449372e+01 2.511971e+01 7.370845e+01
|
||||
vertex 1.230819e+01 2.133367e+01 7.440214e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.512325e-01 -2.619424e-01 -9.531605e-01
|
||||
outer loop
|
||||
vertex 1.230819e+01 2.133367e+01 7.440214e+01
|
||||
vertex -2.462959e+01 7.632017e-03 7.440214e+01
|
||||
vertex -2.900117e+01 7.931232e-03 7.370845e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.512389e-01 2.626165e-01 -9.529740e-01
|
||||
outer loop
|
||||
vertex 1.449371e+01 -2.510383e+01 7.369097e+01
|
||||
vertex -2.900117e+01 7.931232e-03 7.370845e+01
|
||||
vertex -2.462959e+01 7.632017e-03 7.440214e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.512367e-01 2.626131e-01 -9.529752e-01
|
||||
outer loop
|
||||
vertex -2.462959e+01 7.632017e-03 7.440214e+01
|
||||
vertex 1.230818e+01 -2.131839e+01 7.438729e+01
|
||||
vertex 1.449371e+01 -2.510383e+01 7.369097e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -2.427761e-01 -4.211091e-01 8.739147e-01
|
||||
outer loop
|
||||
vertex 2.900117e+01 -7.933140e-03 1.105548e+02
|
||||
vertex -1.449370e+01 2.510383e+01 1.105723e+02
|
||||
vertex -1.230818e+01 2.131839e+01 1.093554e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -2.427753e-01 -4.211074e-01 8.739157e-01
|
||||
outer loop
|
||||
vertex -1.230818e+01 2.131839e+01 1.093554e+02
|
||||
vertex 2.462959e+01 -7.632732e-03 1.093405e+02
|
||||
vertex 2.900117e+01 -7.933140e-03 1.105548e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.860776e-01 -3.042626e-04 8.739156e-01
|
||||
outer loop
|
||||
vertex -1.449370e+01 2.510383e+01 1.105723e+02
|
||||
vertex -1.449372e+01 -2.511972e+01 1.105548e+02
|
||||
vertex -1.230819e+01 -2.133367e+01 1.093405e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.860794e-01 -3.041542e-04 8.739146e-01
|
||||
outer loop
|
||||
vertex -1.230819e+01 -2.133367e+01 1.093405e+02
|
||||
vertex -1.230818e+01 2.131839e+01 1.093554e+02
|
||||
vertex -1.449370e+01 2.510383e+01 1.105723e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -2.427933e-01 4.205303e-01 8.741886e-01
|
||||
outer loop
|
||||
vertex -1.449372e+01 -2.511972e+01 1.105548e+02
|
||||
vertex 2.900117e+01 -7.933140e-03 1.105548e+02
|
||||
vertex 2.462959e+01 -7.632732e-03 1.093405e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -2.427935e-01 4.205307e-01 8.741883e-01
|
||||
outer loop
|
||||
vertex 2.462959e+01 -7.632732e-03 1.093405e+02
|
||||
vertex -1.230819e+01 -2.133367e+01 1.093405e+02
|
||||
vertex -1.449372e+01 -2.511972e+01 1.105548e+02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.305051e-01 1.272411e-04 -3.662790e-01
|
||||
outer loop
|
||||
vertex 2.900116e+01 -7.930160e-03 3.686386e+01
|
||||
vertex 1.449370e+01 -2.510383e+01 0.000000e+00
|
||||
vertex 1.449371e+01 2.511972e+01 1.747131e-02
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -4.653855e-01 8.060714e-01 -3.656026e-01
|
||||
outer loop
|
||||
vertex 1.449371e+01 2.511972e+01 1.747131e-02
|
||||
vertex -2.900116e+01 7.938981e-03 1.747131e-02
|
||||
vertex -1.449370e+01 2.510384e+01 3.688134e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -4.653628e-01 -8.057773e-01 -3.662790e-01
|
||||
outer loop
|
||||
vertex -2.900116e+01 7.938981e-03 1.747131e-02
|
||||
vertex 1.449370e+01 -2.510383e+01 0.000000e+00
|
||||
vertex -1.449371e+01 -2.511971e+01 3.686386e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.653628e-01 8.057773e-01 3.662790e-01
|
||||
outer loop
|
||||
vertex 2.900116e+01 -7.930160e-03 3.686386e+01
|
||||
vertex 1.449371e+01 2.511972e+01 1.747131e-02
|
||||
vertex -1.449370e+01 2.510384e+01 3.688134e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.305052e-01 -1.272412e-04 3.662790e-01
|
||||
outer loop
|
||||
vertex -2.900116e+01 7.938981e-03 1.747131e-02
|
||||
vertex -1.449371e+01 -2.511971e+01 3.686386e+01
|
||||
vertex -1.449370e+01 2.510384e+01 3.688134e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.653856e-01 -8.060713e-01 3.656026e-01
|
||||
outer loop
|
||||
vertex -1.449371e+01 -2.511971e+01 3.686386e+01
|
||||
vertex 1.449370e+01 -2.510383e+01 0.000000e+00
|
||||
vertex 2.900116e+01 -7.930160e-03 3.686386e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -2.008434e-04 3.478710e-04 -9.999999e-01
|
||||
outer loop
|
||||
vertex -2.900116e+01 7.938981e-03 1.747131e-02
|
||||
vertex 1.449371e+01 2.511972e+01 1.747131e-02
|
||||
vertex 1.449370e+01 -2.510383e+01 0.000000e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.471493e-01 -1.114009e-04 3.207931e-01
|
||||
outer loop
|
||||
vertex 1.268200e+01 2.197975e+01 2.320369e+00
|
||||
vertex 1.268199e+01 -2.196585e+01 2.305083e+00
|
||||
vertex 2.462959e+01 -7.630944e-03 3.758829e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.736876e-01 -8.204508e-01 3.201257e-01
|
||||
outer loop
|
||||
vertex -1.230817e+01 2.131839e+01 3.760313e+01
|
||||
vertex -2.537602e+01 6.947160e-03 2.320369e+00
|
||||
vertex 1.268200e+01 2.197975e+01 2.320369e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.736713e-01 8.201995e-01 3.207931e-01
|
||||
outer loop
|
||||
vertex -1.230818e+01 -2.133367e+01 3.758829e+01
|
||||
vertex 1.268199e+01 -2.196585e+01 2.305083e+00
|
||||
vertex -2.537602e+01 6.947160e-03 2.320369e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -4.689664e-01 -8.120322e-01 -3.473821e-01
|
||||
outer loop
|
||||
vertex -1.230817e+01 2.131839e+01 3.760313e+01
|
||||
vertex 1.268200e+01 2.197975e+01 2.320369e+00
|
||||
vertex 2.462959e+01 -7.630944e-03 3.758829e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.377236e-01 1.205968e-04 -3.473821e-01
|
||||
outer loop
|
||||
vertex -1.230817e+01 2.131839e+01 3.760313e+01
|
||||
vertex -1.230818e+01 -2.133367e+01 3.758829e+01
|
||||
vertex -2.537602e+01 6.947160e-03 2.320369e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -4.689838e-01 8.123036e-01 -3.467233e-01
|
||||
outer loop
|
||||
vertex 2.462959e+01 -7.630944e-03 3.758829e+01
|
||||
vertex 1.268199e+01 -2.196585e+01 2.305083e+00
|
||||
vertex -1.230818e+01 -2.133367e+01 3.758829e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 2.008278e-04 -3.478438e-04 9.999999e-01
|
||||
outer loop
|
||||
vertex 1.268199e+01 -2.196585e+01 2.305083e+00
|
||||
vertex 1.268200e+01 2.197975e+01 2.320369e+00
|
||||
vertex -2.537602e+01 6.947160e-03 2.320369e+00
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.573434e-01 2.718664e-01 9.493849e-01
|
||||
outer loop
|
||||
vertex 2.900116e+01 -7.930160e-03 3.686386e+01
|
||||
vertex -1.449370e+01 2.510384e+01 3.688134e+01
|
||||
vertex -1.230817e+01 2.131839e+01 3.760313e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.573439e-01 2.718673e-01 9.493846e-01
|
||||
outer loop
|
||||
vertex -1.230817e+01 2.131839e+01 3.760313e+01
|
||||
vertex 2.462959e+01 -7.630944e-03 3.758829e+01
|
||||
vertex 2.900116e+01 -7.930160e-03 3.686386e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.141159e-01 -3.302037e-04 9.493846e-01
|
||||
outer loop
|
||||
vertex -1.449370e+01 2.510384e+01 3.688134e+01
|
||||
vertex -1.449371e+01 -2.511971e+01 3.686386e+01
|
||||
vertex -1.230818e+01 -2.133367e+01 3.758829e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.141147e-01 -3.301405e-04 9.493850e-01
|
||||
outer loop
|
||||
vertex -1.230818e+01 -2.133367e+01 3.758829e+01
|
||||
vertex -1.230817e+01 2.131839e+01 3.760313e+01
|
||||
vertex -1.449370e+01 2.510384e+01 3.688134e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.572821e-01 -2.724206e-01 9.492362e-01
|
||||
outer loop
|
||||
vertex -1.449371e+01 -2.511971e+01 3.686386e+01
|
||||
vertex 2.900116e+01 -7.930160e-03 3.686386e+01
|
||||
vertex 2.462959e+01 -7.630944e-03 3.758829e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.572822e-01 -2.724208e-01 9.492362e-01
|
||||
outer loop
|
||||
vertex 2.462959e+01 -7.630944e-03 3.758829e+01
|
||||
vertex -1.230818e+01 -2.133367e+01 3.758829e+01
|
||||
vertex -1.449371e+01 -2.511971e+01 3.686386e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.305050e-01 -1.272235e-04 -3.662791e-01
|
||||
outer loop
|
||||
vertex 2.900116e+01 -7.928371e-03 3.686275e+01
|
||||
vertex 1.449370e+01 -2.510383e+01 7.372660e+01
|
||||
vertex 1.449371e+01 2.511971e+01 7.370913e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.653855e-01 -8.060713e-01 -3.656027e-01
|
||||
outer loop
|
||||
vertex 1.449371e+01 2.511971e+01 7.370913e+01
|
||||
vertex -2.900117e+01 7.931232e-03 7.370913e+01
|
||||
vertex -1.449371e+01 2.510384e+01 3.684527e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.653628e-01 8.057774e-01 -3.662789e-01
|
||||
outer loop
|
||||
vertex -2.900117e+01 7.931232e-03 7.370913e+01
|
||||
vertex 1.449370e+01 -2.510383e+01 7.372660e+01
|
||||
vertex -1.449372e+01 -2.511971e+01 3.686274e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -4.653628e-01 -8.057774e-01 3.662789e-01
|
||||
outer loop
|
||||
vertex 2.900116e+01 -7.928371e-03 3.686275e+01
|
||||
vertex 1.449371e+01 2.511971e+01 7.370913e+01
|
||||
vertex -1.449371e+01 2.510384e+01 3.684527e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.305050e-01 1.272235e-04 3.662790e-01
|
||||
outer loop
|
||||
vertex -2.900117e+01 7.931232e-03 7.370913e+01
|
||||
vertex -1.449372e+01 -2.511971e+01 3.686274e+01
|
||||
vertex -1.449371e+01 2.510384e+01 3.684527e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -4.653855e-01 8.060713e-01 3.656027e-01
|
||||
outer loop
|
||||
vertex -1.449372e+01 -2.511971e+01 3.686274e+01
|
||||
vertex 1.449370e+01 -2.510383e+01 7.372660e+01
|
||||
vertex 2.900116e+01 -7.928371e-03 3.686275e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 9.485593e-01 1.098943e-04 3.165994e-01
|
||||
outer loop
|
||||
vertex 1.230818e+01 2.133367e+01 7.446504e+01
|
||||
vertex 1.230817e+01 -2.131839e+01 7.447988e+01
|
||||
vertex 2.462959e+01 -7.629156e-03 3.755644e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -4.743912e-01 8.216696e-01 3.159303e-01
|
||||
outer loop
|
||||
vertex -1.230818e+01 2.131839e+01 3.754160e+01
|
||||
vertex -2.462959e+01 7.634401e-03 7.446504e+01
|
||||
vertex 1.230818e+01 2.133367e+01 7.446504e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -4.743750e-01 -8.214215e-01 3.165992e-01
|
||||
outer loop
|
||||
vertex -1.230819e+01 -2.133366e+01 3.755643e+01
|
||||
vertex 1.230817e+01 -2.131839e+01 7.447988e+01
|
||||
vertex -2.462959e+01 7.634401e-03 7.446504e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.743749e-01 8.214215e-01 -3.165993e-01
|
||||
outer loop
|
||||
vertex -1.230818e+01 2.131839e+01 3.754160e+01
|
||||
vertex 1.230818e+01 2.133367e+01 7.446504e+01
|
||||
vertex 2.462959e+01 -7.629156e-03 3.755644e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -9.485593e-01 -1.099084e-04 -3.165993e-01
|
||||
outer loop
|
||||
vertex -1.230818e+01 2.131839e+01 3.754160e+01
|
||||
vertex -1.230819e+01 -2.133366e+01 3.755643e+01
|
||||
vertex -2.462959e+01 7.634401e-03 7.446504e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 4.743912e-01 -8.216696e-01 -3.159303e-01
|
||||
outer loop
|
||||
vertex 2.462959e+01 -7.629156e-03 3.755644e+01
|
||||
vertex 1.230817e+01 -2.131839e+01 7.447988e+01
|
||||
vertex -1.230819e+01 -2.133366e+01 3.755643e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.263614e-01 -3.287551e-04 -9.452450e-01
|
||||
outer loop
|
||||
vertex 1.449371e+01 2.511971e+01 7.370913e+01
|
||||
vertex 1.449370e+01 -2.510383e+01 7.372660e+01
|
||||
vertex 1.230817e+01 -2.131839e+01 7.447988e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.263611e-01 -3.287747e-04 -9.452451e-01
|
||||
outer loop
|
||||
vertex 1.230817e+01 -2.131839e+01 7.447988e+01
|
||||
vertex 1.230818e+01 2.133367e+01 7.446504e+01
|
||||
vertex 1.449371e+01 2.511971e+01 7.370913e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.634004e-01 -2.830177e-01 -9.450933e-01
|
||||
outer loop
|
||||
vertex -2.900117e+01 7.931232e-03 7.370913e+01
|
||||
vertex 1.449371e+01 2.511971e+01 7.370913e+01
|
||||
vertex 1.230818e+01 2.133367e+01 7.446504e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.634004e-01 -2.830179e-01 -9.450932e-01
|
||||
outer loop
|
||||
vertex 1.230818e+01 2.133367e+01 7.446504e+01
|
||||
vertex -2.462959e+01 7.634401e-03 7.446504e+01
|
||||
vertex -2.900117e+01 7.931232e-03 7.370913e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.634651e-01 2.824723e-01 -9.452452e-01
|
||||
outer loop
|
||||
vertex 1.449370e+01 -2.510383e+01 7.372660e+01
|
||||
vertex -2.900117e+01 7.931232e-03 7.370913e+01
|
||||
vertex -2.462959e+01 7.634401e-03 7.446504e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.634657e-01 2.824733e-01 -9.452448e-01
|
||||
outer loop
|
||||
vertex -2.462959e+01 7.634401e-03 7.446504e+01
|
||||
vertex 1.230817e+01 -2.131839e+01 7.447988e+01
|
||||
vertex 1.449370e+01 -2.510383e+01 7.372660e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.512383e-01 2.626157e-01 9.529743e-01
|
||||
outer loop
|
||||
vertex 2.900116e+01 -7.928371e-03 3.686275e+01
|
||||
vertex -1.449371e+01 2.510384e+01 3.684527e+01
|
||||
vertex -1.230818e+01 2.131839e+01 3.754160e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.512382e-01 2.626154e-01 9.529744e-01
|
||||
outer loop
|
||||
vertex -1.230818e+01 2.131839e+01 3.754160e+01
|
||||
vertex 2.462959e+01 -7.629156e-03 3.755644e+01
|
||||
vertex 2.900116e+01 -7.928371e-03 3.686275e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.030507e-01 3.315754e-04 9.529744e-01
|
||||
outer loop
|
||||
vertex -1.449371e+01 2.510384e+01 3.684527e+01
|
||||
vertex -1.449372e+01 -2.511971e+01 3.686274e+01
|
||||
vertex -1.230819e+01 -2.133366e+01 3.755643e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -3.030515e-01 3.315339e-04 9.529741e-01
|
||||
outer loop
|
||||
vertex -1.230819e+01 -2.133366e+01 3.755643e+01
|
||||
vertex -1.230818e+01 2.131839e+01 3.754160e+01
|
||||
vertex -1.449371e+01 2.510384e+01 3.684527e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.512318e-01 -2.619414e-01 9.531609e-01
|
||||
outer loop
|
||||
vertex -1.449372e+01 -2.511971e+01 3.686274e+01
|
||||
vertex 2.900116e+01 -7.928371e-03 3.686275e+01
|
||||
vertex 2.462959e+01 -7.629156e-03 3.755644e+01
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 1.512315e-01 -2.619409e-01 9.531611e-01
|
||||
outer loop
|
||||
vertex 2.462959e+01 -7.629156e-03 3.755644e+01
|
||||
vertex -1.230819e+01 -2.133366e+01 3.755643e+01
|
||||
vertex -1.449372e+01 -2.511971e+01 3.686274e+01
|
||||
endloop
|
||||
endfacet
|
||||
endsolid Default
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
# LITERAL1 specifies constants
|
||||
|
||||
#HIGH LITERAL1 Constants
|
||||
|
||||
# KEYWORD1 specifies datatypes and C/C++ keywords
|
||||
|
||||
#boolean KEYWORD1 BooleanVariables
|
||||
|
||||
# operators aren't highlighted, but may have documentation
|
||||
|
||||
#+= IncrementCompound
|
||||
|
||||
# these are datatypes, but we've also defined functions to cast to them
|
||||
|
||||
#boolean KEYWORD2 boolean_
|
||||
|
||||
# KEYWORD2 specifies methods and functions
|
||||
|
||||
#abs KEYWORD2 Abs
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,278 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
@@ -0,0 +1,154 @@
|
||||
<?xml version="1.1" encoding="utf-8"?>
|
||||
<machines>
|
||||
<!-- Cupcake Basic -->
|
||||
<machine>
|
||||
<name>Cupcake Basic</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
|
||||
<axis id="y" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
|
||||
<axis id="z" length="100" maxfeedrate="150" stepspermm="320" endstops="min"/>
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Pinch Wheel Extruder v1.1" type="extruder" material="abs" motor="true" fan="true" heater="true"/>
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<driver name="sanguino3g">
|
||||
<!-- optional: <portname>COM1</portname> -->
|
||||
<rate>38400</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M18
|
||||
</cooldown>
|
||||
</machine>
|
||||
<machine>
|
||||
<name>Cupcake w/ automated build platform</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="100" maxfeedrate="5000" stepspermm="11.767463"/>
|
||||
<axis id="y" length="100" maxfeedrate="5000" stepspermm="11.767463"/>
|
||||
<axis id="z" length="100" maxfeedrate="150" stepspermm="320"/>
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Plastruder Mk5" type="extruder" material="abs" motor="true" automatedplatform="true" heatedplatform="true" heater="true"/>
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<driver name="sanguino3g">
|
||||
<!-- optional: <portname>COM1</portname> -->
|
||||
<rate>38400</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M18
|
||||
</cooldown>
|
||||
</machine>
|
||||
<machine>
|
||||
<name>Cupcake w/ heated build platform</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
|
||||
<axis id="y" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
|
||||
<axis id="z" length="96" maxfeedrate="150" stepspermm="320" endstops="min"/>
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Pinch Wheel Extruder v1.1a" type="extruder" material="abs" motor="true" fan="true" heatedplatform="true" heater="true"/>
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<driver name="sanguino3g">
|
||||
<!-- optional, defaults to first serial port found. <portname>COM1</portname> -->
|
||||
<!-- required: we need 8 bit and 38400 baud. -->
|
||||
<rate>38400</rate>
|
||||
<parity>8</parity>
|
||||
<!-- optional, defaults to 1. <databits>1</databits> -->
|
||||
<!-- optional, defaults to N. <stopbits>N</stopbits> -->
|
||||
<debuglevel>0</debuglevel>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M18
|
||||
</cooldown>
|
||||
</machine>
|
||||
|
||||
<machine>
|
||||
<name>Cupcake w/ Gen4 electronics and ABP</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="100" maxfeedrate="4000" stepspermm="47.069852"/>
|
||||
<axis id="y" length="100" maxfeedrate="4000" stepspermm="47.069852"/>
|
||||
<axis id="z" length="100" maxfeedrate="150" stepspermm="1280"/>
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Plastruder Mk5" type="extruder" material="abs" motor="true" automatedplatform="true" heatedplatform="true" heater="true"/>
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<driver name="sanguino3g">
|
||||
<!-- optional: <portname>COM1</portname> -->
|
||||
<rate>115200</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M18
|
||||
</cooldown>
|
||||
</machine>
|
||||
|
||||
<machine experimental="1">
|
||||
<name>Cupcake w/ HBP, 2 toolheads</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="100" maxfeedrate="5000" stepspermm="11.767463"/>
|
||||
<axis id="y" length="100" maxfeedrate="5000" stepspermm="11.767463"/>
|
||||
<axis id="z" length="96" maxfeedrate="150" stepspermm="320"/>
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool index="4" name="Pinch Wheel Extruder v1.1a" type="extruder" material="abs" motor="true" fan="true" heatedplatform="false" heater="true"/>
|
||||
<tool index="3" name="Pinch Wheel Extruder v1.1a" type="extruder" material="abs" motor="true" fan="true" heatedplatform="true" heater="true"/>
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<driver name="sanguino3g">
|
||||
<!-- optional: <portname>COM1</portname> -->
|
||||
<rate>38400</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M18
|
||||
</cooldown>
|
||||
</machine>
|
||||
<machine>
|
||||
<name>Cupcake w/ Frostruder</name>
|
||||
<!-- This configuration is for cupcakes outfitted with a frostruder. -->
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
|
||||
<axis id="y" length="100" maxfeedrate="5000" stepspermm="11.767463" endstops="min"/>
|
||||
<axis id="z" length="100" maxfeedrate="150" stepspermm="320" endstops="min"/>
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Frostruder v1.0" type="extruder" material="abs" motor="false" fan="true" valve="true" heater="false">
|
||||
<remap port="fan" name="Pressure Valve" actuated="open"/>
|
||||
<remap port="valve" name="Relief Valve" actuated="open"/>
|
||||
</tool>
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<driver name="sanguino3g">
|
||||
<!-- optional: <portname>COM1</portname> -->
|
||||
<rate>38400</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M18
|
||||
</cooldown>
|
||||
</machine>
|
||||
</machines>
|
||||
@@ -0,0 +1,169 @@
|
||||
<?xml version="1.1" encoding="utf-8"?>
|
||||
<machines>
|
||||
<machine experimental="0">
|
||||
<name>Klimentkip (115200 Baud)</name>
|
||||
<geometry type="cartesian">
|
||||
<axis id="x" length="205" maxfeedrate="5000" stepspermm="31.496" endstops="min"/>
|
||||
<axis id="y" length="195" maxfeedrate="5000" stepspermm="31.496" endstops="min"/>
|
||||
<axis id="z" length="140" maxfeedrate="200" stepspermm="1133.858" endstops="min"/>
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Stepper-based extruder" type="extruder" material="abs" motor="true" floodcoolant="false" mistcoolant="false" fan="true" valve="false" collet="false" heater="true" stepper_axis="a" motor_steps="1000" heatedplatform="true" />
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<firmware url="???" autoupgrade="false"></firmware>
|
||||
<help name="Gcode Help" url="http://reprap.org/wiki/Gcode"></help>
|
||||
<driver name="reprap5d">
|
||||
<okAfterResend>true</okAfterResend>
|
||||
<pulserts>false</pulserts>
|
||||
<waitforstart enabled="false"></waitforstart>
|
||||
<debugLevel>0</debugLevel>
|
||||
<fived>true</fived>
|
||||
<rate>115200</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
</cooldown>
|
||||
</machine>
|
||||
<machine experimental="0">
|
||||
<name>RepRap5d (76800 Baud)</name>
|
||||
<geometry type="cartesian">
|
||||
<axis id="x" length="205" maxfeedrate="5000" stepspermm="31.496" endstops="min"/>
|
||||
<axis id="y" length="195" maxfeedrate="5000" stepspermm="31.496" endstops="min"/>
|
||||
<axis id="z" length="140" maxfeedrate="200" stepspermm="1133.858" endstops="min"/>
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Stepper-based extruder" type="extruder" material="abs" motor="true" floodcoolant="false" mistcoolant="false" fan="true" valve="false" collet="false" heater="true" stepper_axis="a" motor_steps="1000" heatedplatform="true" />
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<firmware url="???" autoupgrade="false"></firmware>
|
||||
<help name="Gcode Help" url="http://reprap.org/wiki/Gcode"></help>
|
||||
<driver name="reprap5d">
|
||||
<okAfterResend>true</okAfterResend>
|
||||
<pulserts>false</pulserts>
|
||||
<waitforstart enabled="false"></waitforstart>
|
||||
<debugLevel>0</debugLevel>
|
||||
<fived>true</fived>
|
||||
<rate>76800</rate> <!-- higher and fw drops too many chars -->
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
</cooldown>
|
||||
</machine>
|
||||
<machine experimental="0">
|
||||
<name>Teacup (115200 Baud)</name>
|
||||
<geometry type="cartesian">
|
||||
<axis id="x" length="205" maxfeedrate="5000" stepspermm="31.496" endstops="min"/>
|
||||
<axis id="y" length="195" maxfeedrate="5000" stepspermm="31.496" endstops="min"/>
|
||||
<axis id="z" length="140" maxfeedrate="200" stepspermm="1133.858" endstops="min"/>
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Stepper-based extruder" type="extruder" material="abs" motor="true" floodcoolant="false" mistcoolant="false" fan="true" valve="false" collet="false" heater="true" stepper_axis="a" motor_steps="1000" heatedplatform="true" />
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<firmware url="???" autoupgrade="false"></firmware>
|
||||
<help name="Teacup Help" url="http://reprap.org/wiki/Teacup_Firmware"></help>
|
||||
<driver name="reprap5d">
|
||||
<okAfterResend>false</okAfterResend> <!-- Teacup option for reprap5d driver -->
|
||||
<alwaysRelativeE>true</alwaysRelativeE> <!-- Teacup option for reprap5d driver -->
|
||||
<pulserts>false</pulserts>
|
||||
<waitforstart enabled="false"></waitforstart>
|
||||
<debugLevel>0</debugLevel>
|
||||
<fived>true</fived>
|
||||
<rate>115200</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
</cooldown>
|
||||
</machine>
|
||||
<machine experimental="1">
|
||||
<name>Mendel with Gen 3 Electronics (19200 Baud)</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="200" maxfeedrate="5000" stepspermm="47.069852" endstops="min"/> <!-- 16th-step driver -->
|
||||
<axis id="y" length="200" maxfeedrate="5000" stepspermm="47.0698523" endstops="min"/> <!-- 16th-step driver -->
|
||||
<axis id="z" length="140" maxfeedrate="30" stepspermm="160" endstops="min"/> <!-- quarter-step driver -->
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Stepper-based extruder" type="extruder" material="abs" motor="true" floodcoolant="false" mistcoolant="false" fan="true" valve="false" collet="false" heater="true" motor_steps="200" heatedplatform="true" />
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<help name="RepRap Help" url="http://www.reprap.org/ReplicatorG"></help>
|
||||
<driver name="reprap5d">
|
||||
<!-- optional: <portname>COM1</portname>!-->
|
||||
<pulserts>false</pulserts>
|
||||
<waitforstart enabled="false"></waitforstart>
|
||||
<fived>true</fived>
|
||||
<rate>19200</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M108 S0
|
||||
</cooldown>
|
||||
</machine>
|
||||
|
||||
<machine experimental="1">
|
||||
<name>Darwin with Gen 2 Electronics (19200 Baud)</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="200" maxfeedrate="5000" stepspermm="47.069852" endstops="min"/> <!-- 16th-step driver -->
|
||||
<axis id="y" length="200" maxfeedrate="5000" stepspermm="47.0698523" endstops="min"/> <!-- 16th-step driver -->
|
||||
<axis id="z" length="140" maxfeedrate="30" stepspermm="160" endstops="min"/> <!-- quarter-step driver -->
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Stepper-based extruder" type="extruder" material="abs" motor="true" floodcoolant="false" mistcoolant="false" fan="true" valve="false" collet="false" heater="true" motor_steps="200" heatedplatform="true" />
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<help name="RepRap Help" url="http://www.reprap.org/ReplicatorG"></help>
|
||||
<driver name="reprap5d">
|
||||
<!-- optional: <portname>COM1</portname>!-->
|
||||
<pulserts>false</pulserts>
|
||||
<waitforstart enabled="false"></waitforstart>
|
||||
<checksums>false</checksums>
|
||||
<fived>true</fived>
|
||||
<rate>19200</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M108 S0
|
||||
</cooldown>
|
||||
</machine>
|
||||
|
||||
<machine experimental="1">
|
||||
<name>Mendel with Mega/RAMPS Electronics (57600 baud)</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="200" maxfeedrate="5000" scale="47.069852" endstops="min"/> <!-- 16th-step driver -->
|
||||
<axis id="y" length="200" maxfeedrate="5000" scale="47.0698523" endstops="min"/> <!-- 16th-step driver -->
|
||||
<axis id="z" length="140" maxfeedrate="150" scale="160" endstops="min"/> <!-- quarter-step driver -->
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Stepper-based extruder" type="extruder" material="abs" motor="true" floodcoolant="false" mistcoolant="false" fan="true" valve="false" collet="false" heater="true" motor_steps="200" heatedplatform="true" />
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<help name="RepRap Help" url="http://www.reprap.org/ReplicatorG"></help>
|
||||
<driver name="reprap5d">
|
||||
<!-- optional, defaults to first serial port found. <portname>COM1</portname> -->
|
||||
<rate>57600</rate>
|
||||
<parity>8</parity>
|
||||
<pulserts>true</pulserts>
|
||||
<waitforstart enabled="true" timeout="1000" retries="3"></waitforstart>
|
||||
<fived>true</fived>
|
||||
<!-- optional, defaults to 1. <databits>1</databits> -->
|
||||
<!-- optional, defaults to N. <stopbits>N</stopbits> -->
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M108 S0
|
||||
</cooldown>
|
||||
</machine>
|
||||
</machines>
|
||||
@@ -0,0 +1,151 @@
|
||||
<?xml version="1.1" encoding="utf-8"?>
|
||||
<machines>
|
||||
<machine>
|
||||
<name>Thingomatic w/ Automated Build Platform</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="106" maxfeedrate="4000" homingfeedrate="500" stepspermm="47.069852" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
<axis id="y" length="120" maxfeedrate="4000" homingfeedrate="500" stepspermm="47.069852" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
<axis id="z" length="106" maxfeedrate="1000" homingfeedrate="500" stepspermm="200" endstops="max"/> <!-- TR-8x8 Z axis = 1/(8/1600) -->
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Plastruder MK5" type="extruder" material="abs" motor="true" automatedplatform="true" heatedplatform="true" heater="true" uses_relay="false"/>
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<driver name="sanguino3g">
|
||||
<!-- optional: <portname>COM1</portname> -->
|
||||
<rate>115200</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M18
|
||||
</cooldown>
|
||||
</machine>
|
||||
|
||||
<machine>
|
||||
<name>Thingomatic w/ Heated Build Platform</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="106" maxfeedrate="4000" homingfeedrate="500" stepspermm="47.069852" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
<axis id="y" length="120" maxfeedrate="4000" homingfeedrate="500" stepspermm="47.069852" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
<axis id="z" length="106" maxfeedrate="1000" homingfeedrate="500" stepspermm="200" endstops="max"/> <!-- TR-8x8 Z axis = 1/(8/1600) -->
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Plastruder MK5" type="extruder" material="abs"
|
||||
motor="true" fan="true" heatedplatform="true" heater="true" uses_relay="false"/>
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<driver name="sanguino3g">
|
||||
<!-- optional: <portname>COM1</portname> -->
|
||||
<rate>115200</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M18
|
||||
</cooldown>
|
||||
</machine>
|
||||
<machine>
|
||||
<name>Thingomatic w/ HBP and Stepstruder MK6</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="106" maxfeedrate="4000" homingfeedrate="500" stepspermm="47.069852" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
<axis id="y" length="120" maxfeedrate="4000" homingfeedrate="500" stepspermm="47.069852" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
<axis id="z" length="106" maxfeedrate="1000" homingfeedrate="500" stepspermm="200" endstops="max"/> <!-- TR-8x8 Z axis = 1/(8/1600) -->
|
||||
<axis id="a" length="100000" maxfeedrate="1600" stepspermm="50.235478806907409" endstops="none"/> <!-- stepspermm is incoming filament length, 127 is ca. 4 RPM, 1600 ca. 50 RPM -->
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Stepstruder MK6" type="extruder" material="abs" motor="true" fan="true" heatedplatform="true" motor_steps="1600" default_rpm="1.98" heater="true" stepper_axis="a"/>
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<driver name="makerbot4ga">
|
||||
<!-- optional: <portname>COM1</portname> -->
|
||||
<rate>115200</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M18
|
||||
</cooldown>
|
||||
</machine>
|
||||
<machine>
|
||||
<name>Thingomatic w/ ABP and Stepstruder MK6</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="106" maxfeedrate="4000" homingfeedrate="500" stepspermm="47.069852" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
<axis id="y" length="120" maxfeedrate="4000" homingfeedrate="500" stepspermm="47.069852" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
<axis id="z" length="106" maxfeedrate="1000" homingfeedrate="500" stepspermm="200" endstops="max"/> <!-- TR-8x8 Z axis = 1/(8/1600) -->
|
||||
<axis id="a" length="100000" maxfeedrate="1600" stepspermm="50.235478806907409" endstops="none"/> <!-- stepspermm is incoming filament length, 127 is ca. 4 RPM, 1600 ca. 50 RPM -->
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Stepstruder MK6" type="extruder" material="abs" motor="true" heatedplatform="true" automatedplatform="true" motor_steps="1600" default_rpm="1.98" heater="true" stepper_axis="a"/>
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<driver name="makerbot4ga">
|
||||
<!-- optional: <portname>COM1</portname> -->
|
||||
<rate>115200</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M18
|
||||
</cooldown>
|
||||
</machine>
|
||||
|
||||
<machine>
|
||||
<name>Thingomatic w/ Frostruder</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="106" maxfeedrate="4000" homingfeedrate="500" stepspermm="47.069852" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
<axis id="y" length="120" maxfeedrate="4000" homingfeedrate="500" stepspermm="47.069852" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
<axis id="z" length="106" maxfeedrate="1000" homingfeedrate="500" stepspermm="200" endstops="max"/> <!-- TR-8x8 Z axis = 1/(8/1600) -->
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Frostruder v1.0" type="extruder" material="abs" motor="false" fan="true" valve="true" heater="false">
|
||||
<remap port="fan" name="Pressure Valve" actuated="open"/>
|
||||
<remap port="valve" name="Relief Valve" actuated="open"/>
|
||||
</tool>
|
||||
</tools>
|
||||
<clamps></clamps>[]
|
||||
<driver name="sanguino3g">
|
||||
<!-- optional: <portname>COM1</portname> -->
|
||||
<rate>115200</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M18
|
||||
</cooldown>
|
||||
</machine>
|
||||
|
||||
<machine experimental="0">
|
||||
<name>EXPERIMENTAL - Thingomatic - 4 axes</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="106" maxfeedrate="4000" homingfeedrate="500" stepspermm="50.0" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
<axis id="y" length="120" maxfeedrate="4000" homingfeedrate="500" stepspermm="50.0" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
<axis id="a" length="106" maxfeedrate="4000" homingfeedrate="500" stepspermm="50.0" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
<axis id="b" length="120" maxfeedrate="4000" homingfeedrate="500" stepspermm="50.0" endstops="min"/> <!-- Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) -->
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Plastruder MK5" type="extruder" material="abs" motor="true" fan="true" heatedplatform="true" heater="true"/>
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<driver name="makerbot4g">
|
||||
<!-- optional: <portname>COM1</portname> -->
|
||||
<rate>115200</rate>
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M18
|
||||
</cooldown>
|
||||
</machine>
|
||||
</machines>
|
||||
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.1" encoding="utf-8"?>
|
||||
<machines>
|
||||
<machine experimental="0">
|
||||
<name>Ultimaker v1.0 (5D firmware)</name>
|
||||
<geometry type="cartesian">
|
||||
<!-- different pulleys on X and Y axii -->
|
||||
<axis id="x" length="210" maxfeedrate="5000" stepspermm="47.069852" endstops="min"/> <!-- 16th-step driver -->
|
||||
<axis id="y" length="210" maxfeedrate="5000" stepspermm="47.0698523" endstops="min"/> <!-- 16th-step driver -->
|
||||
<axis id="z" length="210" maxfeedrate="150" stepspermm="160" endstops="min"/> <!-- quarter-step driver -->
|
||||
</geometry>
|
||||
<tools>
|
||||
<tool name="Stepper-based pinch extruder" type="extruder" material="abs" motor="true" floodcoolant="false" mistcoolant="false" fan="true" valve="false" collet="false" heater="true" heatedplatform="true" motor_steps="1800" default_rpm="1000" />
|
||||
</tools>
|
||||
<clamps></clamps>
|
||||
<firmware url="http://firmware.ultimaker.com/latest" autoupgrade="false"></firmware>
|
||||
<help name="Ultimaking Guide" url="http://www.ultimaker.com/guide"></help>
|
||||
<driver name="reprap5d">
|
||||
<!-- optional, defaults to first serial port found. <portname>COM1</portname> -->
|
||||
<rate>57600</rate>
|
||||
<parity>8</parity>
|
||||
<pulserts>true</pulserts>
|
||||
<waitforstart enabled="true" timeout="3000" retries="3"></waitforstart>
|
||||
<fived>true</fived>
|
||||
<debugLevel>1</debugLevel>
|
||||
<limitFeedrate>20000.0</limitFeedrate>
|
||||
<!-- purposefully inject noise to speed up debugging of retransmits and recovery. Use a value 0 to turn it off, 0.05 for once every 20 lines transmitted. -->
|
||||
<introduceNoise>0</introduceNoise>
|
||||
|
||||
<!-- optional, defaults to 1. <databits>1</databits> -->
|
||||
<!-- optional, defaults to N. <stopbits>N</stopbits> -->
|
||||
</driver>
|
||||
<warmup>
|
||||
</warmup>
|
||||
<cooldown>
|
||||
(Turn off steppers after a build.)
|
||||
M108 S0
|
||||
</cooldown>
|
||||
</machine>
|
||||
</machines>
|
||||
@@ -0,0 +1,33 @@
|
||||
ReplicatorG is an open-source GCode based controller for RepRap / CNC machines. It has 3 main goals:
|
||||
|
||||
1. Be as simple to use, and as easy to install as possible.
|
||||
2. Be driver oriented and abstract the GCode away, allowing users to easily create drivers for their own machine.
|
||||
3. Support as much of the GCode specification as possible.
|
||||
|
||||
For more information, see the website at: http://www.replicat.org
|
||||
|
||||
INSTALLATION
|
||||
|
||||
Windows: http://replicat.org/installation-windows
|
||||
Mac OSX: http://replicat.org/installation-mac
|
||||
Linux: http://replicat.org/installation-linux
|
||||
|
||||
CREDITS
|
||||
|
||||
ReplicatorG is an open source project, owned by nobody and supported by many.
|
||||
|
||||
The project is descended from the wonderful Arduino host software (http://www.arduino.cc)
|
||||
Arduino is descended from the also wonderful Processing environment (http://www.processing.org)
|
||||
|
||||
ReplicatorG was forked from Arduino in August 2008.
|
||||
|
||||
See changelog.txt for a list of changes in each version.
|
||||
|
||||
People who have worked on ReplicatorG include:
|
||||
|
||||
Zach 'Hoeken' Smith (http://www.zachhoeken.com)
|
||||
Marius Kintel (http://reprap.soup.io)
|
||||
Adam Mayer (http://makerbot.com)
|
||||
|
||||
A full list of contributers is in contributers.txt
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
speed.csv:Flow Rate Setting (float):=1.98
|
||||
reversal.csv:Activate Reversal=True
|
||||
reversal.csv:Reversal speed (RPM):=35.0
|
||||
reversal.csv:Reversal time (milliseconds):=75.0
|
||||
reversal.csv:Push-back time (milliseconds):=75.0
|
||||
reversal.csv:Reversal threshold (mm):=1.0
|
||||
reversal.csv:Activate early reversal and push-back=True
|
||||
replace.csv:M108 S=M108 R
|
||||
@@ -0,0 +1,31 @@
|
||||
bottom.csv:Activate Bottom:=False
|
||||
carve.csv:Layer Thickness (mm):=0.39
|
||||
fill.csv:Infill > Perimeter > Loops=True
|
||||
fill.csv:Loops > Perimeter > Infill=False
|
||||
fill.csv:Infill Perimeter Overlap (ratio):=0.4
|
||||
fill.csv:Infill Solidity (ratio):=0.4
|
||||
inset.csv:Overlap Removal Width over Perimeter Width (ratio):=0.7
|
||||
outline.csv:Activate Outline=True
|
||||
outline.csv:Outline Margin:=3.0
|
||||
raft.csv:Base Layers (integer):=0
|
||||
raft.csv:Base Nozzle Lift over Base Layer Thickness (ratio):=0.2
|
||||
raft.csv:Interface Layers (integer):=0
|
||||
raft.csv:Object First Layer Feed Rate Infill Multiplier (ratio):=0.5
|
||||
raft.csv:Object First Layer Feed Rate Perimeter Multiplier (ratio):=0.5
|
||||
raft.csv:Object First Layer Flow Rate Multiplier (ratio):=0.5
|
||||
raft.csv:Operating Nozzle Lift over Layer Thickness (ratio):=1.0
|
||||
raft.csv:Raft Additional Margin over Length (%):=1.2
|
||||
raft.csv:Raft Margin (mm):=4.0
|
||||
raft.csv:Support Flow Rate over Operating Flow Rate (ratio):=2.0
|
||||
raft.csv:Support Gap over Perimeter Extrusion Width (ratio):=2.0
|
||||
reversal.csv:Reversal time (milliseconds):=65.0
|
||||
reversal.csv:Push-back time (milliseconds):=65.0
|
||||
speed.csv:Feed Rate (mm/s):=28.0
|
||||
temperature.csv:Base Temperature (Celcius):=230.0
|
||||
temperature.csv:Interface Temperature (Celcius):=220.0
|
||||
temperature.csv:Object First Layer Infill Temperature (Celcius):=220.0
|
||||
temperature.csv:Object First Layer Perimeter Temperature (Celcius):=220.0
|
||||
temperature.csv:Object Next Layers Temperature (Celcius):=220.0
|
||||
temperature.csv:Support Layers Temperature (Celcius):=220.0
|
||||
temperature.csv:Supported Layers Temperature (Celcius):=220.0
|
||||
wipe.csv:Activate Wipe=False
|
||||
@@ -0,0 +1,31 @@
|
||||
bottom.csv:Activate Bottom:=False
|
||||
carve.csv:Layer Thickness (mm):=0.39
|
||||
fill.csv:Infill Perimeter Overlap (ratio):=0.4
|
||||
fill.csv:Infill Solidity (ratio):=0.4
|
||||
fill.csv:Extra Shells on Alternating Solid Layer (layers):=1
|
||||
fill.csv:Extra Shells on Base (layers):=1
|
||||
inset.csv:Overlap Removal Width over Perimeter Width (ratio):=0.7
|
||||
outline.csv:Activate Outline=True
|
||||
outline.csv:Outline Margin:=3.0
|
||||
raft.csv:Base Layers (integer):=0
|
||||
raft.csv:Base Nozzle Lift over Base Layer Thickness (ratio):=0.2
|
||||
raft.csv:Interface Layers (integer):=0
|
||||
raft.csv:Object First Layer Feed Rate Infill Multiplier (ratio):=0.5
|
||||
raft.csv:Object First Layer Feed Rate Perimeter Multiplier (ratio):=0.5
|
||||
raft.csv:Object First Layer Flow Rate Multiplier (ratio):=0.5
|
||||
raft.csv:Operating Nozzle Lift over Layer Thickness (ratio):=1.0
|
||||
raft.csv:Raft Additional Margin over Length (%):=1.2
|
||||
raft.csv:Raft Margin (mm):=4.0
|
||||
raft.csv:Support Flow Rate over Operating Flow Rate (ratio):=2.0
|
||||
raft.csv:Support Gap over Perimeter Extrusion Width (ratio):=2.0
|
||||
reversal.csv:Reversal time (milliseconds):=70.0
|
||||
reversal.csv:Push-back time (milliseconds):=73.0
|
||||
speed.csv:Feed Rate (mm/s):=28.0
|
||||
temperature.csv:Base Temperature (Celcius):=230.0
|
||||
temperature.csv:Interface Temperature (Celcius):=220.0
|
||||
temperature.csv:Object First Layer Infill Temperature (Celcius):=220.0
|
||||
temperature.csv:Object First Layer Perimeter Temperature (Celcius):=220.0
|
||||
temperature.csv:Object Next Layers Temperature (Celcius):=220.0
|
||||
temperature.csv:Support Layers Temperature (Celcius):=220.0
|
||||
temperature.csv:Supported Layers Temperature (Celcius):=220.0
|
||||
wipe.csv:Activate Wipe=False
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIFF_COMMAND='diff -P -u -x "*~" -x "\.*" -r '
|
||||
|
||||
PREVIOUS="replicatorg-0023-linux"
|
||||
CURRENT="replicatorg-0024-linux"
|
||||
|
||||
OUTPUT_FILE="release_diffs"
|
||||
|
||||
|
||||
|
||||
echo "Profile differences between ${PREVIOUS} and ${CURRENT}" > ${OUTPUT_FILE}
|
||||
|
||||
SKEIN_ENGINES=( "skein_engines/skeinforge-35/skeinforge_application/prefs" "skein_engines/skeinforge-0006/prefs" )
|
||||
|
||||
for engine in ${SKEIN_ENGINES[@]}
|
||||
do
|
||||
for profile in `cd ${CURRENT}/${engine}; ls -d */`
|
||||
do
|
||||
echo "" >> ${OUTPUT_FILE}
|
||||
echo "" >> ${OUTPUT_FILE}
|
||||
echo "Comparing ${profile} *****************************************************" >> ${OUTPUT_FILE}
|
||||
previous=${PREVIOUS}/${engine}/${profile}
|
||||
current=${CURRENT}/${engine}/${profile}
|
||||
${DIFF_COMMAND} ${previous} ${current} >> ${OUTPUT_FILE}
|
||||
done
|
||||
done
|
||||
@@ -0,0 +1,14 @@
|
||||
(*** Thing-O-Matic calibration script ***)
|
||||
(*** ***)
|
||||
(*** This script will guide you through ***)
|
||||
(*** calibrating the start position ***)
|
||||
(*** on your Thing-O-Matic. ***)
|
||||
|
||||
M18 (This disables the stepper motors.)
|
||||
M01 (Move the build platform until the nozzle lies in the center, then turn the threaded rod until the nozzle just touches the surface without pressing into it. Then, press yes to continue.)
|
||||
G92 X0 Y0 Z0 A0 B0 (Declare the current position to be (0,0,0,0,0))
|
||||
G162 Z F500 (Home Z axis maximum; go until reaching the end stop.)
|
||||
G161 X Y F2500 (Home X and Y axis minimum; go until reaching the end stop.)
|
||||
M131 X Y Z A B (record the current coordinates to the motherboard)
|
||||
|
||||
M00 (Congratulations, your coordinates are now saved! To tweak them, use the 'Motherboard Onboard Preferences' dialog in the Machine menu. <br/>Note: You will need to re-generate your gcode files using a new profile in order to use these saved settings.)
|
||||
@@ -0,0 +1,79 @@
|
||||
#!/usr/bin/python
|
||||
import struct
|
||||
import sys
|
||||
|
||||
def parseToolAction():
|
||||
global s3gFile
|
||||
packetStr = s3gFile.read(3)
|
||||
if len(packetStr) != 3:
|
||||
raise "Incomplete s3g file during tool command parse"
|
||||
(index,command,payload) = struct.unpack("<BBB",packetStr)
|
||||
contents = s3gFile.read(payload)
|
||||
if len(contents) != payload:
|
||||
raise "Incomplete s3g file: tool packet truncated"
|
||||
return (index,command,contents)
|
||||
|
||||
def printToolAction(tuple):
|
||||
return "Command %i for tool %i (len %i)" % (tuple[1],tuple[0],len(tuple[2]))
|
||||
|
||||
# Command table entries consist of:
|
||||
# * The key: the integer command code
|
||||
# * A tuple:
|
||||
# * idx 0: the python struct description of the rest of the data,
|
||||
# of a function that unpacks the remaining data from the
|
||||
# stream
|
||||
# * idx 1: either a format string that will take the tuple of unpacked
|
||||
# data, or a function that takes the tuple as input and returns
|
||||
# a string
|
||||
|
||||
# REMINDER: all values are little-endian. Struct strings with multibyte
|
||||
# types should begin with "<".
|
||||
# For a refresher on Python struct syntax, see here:
|
||||
# http://docs.python.org/library/struct.html
|
||||
commandTable = {
|
||||
129: ("<iiiI","Absolute move to (%i,%i,%i) at DDA %i"),
|
||||
130: ("<iii","Machine position set as (%i,%i,%i)"),
|
||||
131: ("<BIH","Home minimum on %X, feedrate %i, timeout %i s"),
|
||||
132: ("<BIH","Home maximum on %X, feedrate %i, timeout %i s"),
|
||||
133: ("<I","Delay of %i us"),
|
||||
134: ("<B","Switch to tool %i"),
|
||||
135: ("<BHH","Wait for tool %i (%i ms between polls, %i s timeout"),
|
||||
136: (parseToolAction, printToolAction),
|
||||
137: ("<B", "Enable/disable axes %X"),
|
||||
138: ("<H", "User block on ID %i"),
|
||||
139: ("<iiiiiI","Absolute move to (%i,%i,%i,%i,%i) at DDA %i"),
|
||||
140: ("<iiiii","Machine position set as (%i,%i,%i,%i,%i)"),
|
||||
141: ("<BHH","Wait for platform %i (%i ms between polls, %i s timeout)"),
|
||||
142: ("<iiiiiIB","Move to (%i,%i,%i,%i,%i) in %i us (relative: %X)"),
|
||||
143: ("<b","Store home position for axes %d"),
|
||||
144: ("<b","Recall home position for axes %d"),
|
||||
}
|
||||
|
||||
def parseNextCommand():
|
||||
"""Parse and handle the next command. Returns
|
||||
True for success, False on EOF, and raises an
|
||||
exception on corrupt data."""
|
||||
global s3gFile
|
||||
commandStr = s3gFile.read(1)
|
||||
if len(commandStr) == 0:
|
||||
print "EOF"
|
||||
return False
|
||||
(command) = struct.unpack("B",commandStr)
|
||||
(parse, disp) = commandTable[command[0]]
|
||||
if type(parse) == type(""):
|
||||
packetLen = struct.calcsize(parse)
|
||||
packetData = s3gFile.read(packetLen)
|
||||
if len(packetData) != packetLen:
|
||||
raise "Packet incomplete"
|
||||
parsed = struct.unpack(parse,packetData)
|
||||
else:
|
||||
parsed = parse()
|
||||
if type(disp) == type(""):
|
||||
print disp % parsed
|
||||
else:
|
||||
disp(parsed)
|
||||
return True
|
||||
|
||||
s3gFile = open(sys.argv[1],'rb')
|
||||
while parseNextCommand():
|
||||
pass
|
||||
@@ -0,0 +1,82 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
# Here are some G and M codes you may find useful.
|
||||
# G1 X5 Y-5 Z6 F3300.0 (Move to postion <x,y,z>=<5,-5,6> at speed 3300.0)
|
||||
# G10 L2 P0 X20 Y0 (set preset work coordinate system 0, G54, offset to add 20 to the x axis and 0 to the y axis)
|
||||
# G10 L2 P1 X20 Y0 (set preset work coordinate system 1, G55, offset to add 20 to the x axis and 0 to the y axis)
|
||||
# G21 (set units to mm)
|
||||
# G53 (use the machine coordinate system)
|
||||
# G54 (use preset work coordinate system 1)
|
||||
# G55 (use preset work coordinate system 2)
|
||||
# G56 (use preset work coordinate system 3)
|
||||
# G57 (use preset work coordinate system 4)
|
||||
# G58 (use preset work coordinate system 5)
|
||||
# G59 (use preset work coordinate system 6)
|
||||
# G90 (set positioning to absolute)
|
||||
# G92 X0 Y0 Z0 (set current position to <x,y,z>=<0,0,0>)
|
||||
# M101 (set toolhead 0 on, forward)
|
||||
# M102 (set toolhead 0 on, reverse)
|
||||
# M103 (set toolhead 0 off)
|
||||
# M104 S220 T0 (set toolhead 0 temperature to 220)
|
||||
# M108 S255 (set toolhead 0 speed to 255)
|
||||
# M109 S135 T0 (set toolhead 0 heated-build-platform temperature to 135)
|
||||
# M201 (set toolhead 1 on, forward)
|
||||
# M202 (set toolhead 1 on, reverse)
|
||||
# M203 (set toolhead 1 off)
|
||||
# M204 S220 T1 (set toolhead 1 temperature to 220)
|
||||
# M208 S255 (set toolhead 1 speed to 255)
|
||||
# M209 S135 T1 (set toolhead 1 heated-build-platform temperature)
|
||||
|
||||
|
||||
# The nozzles are 19.2374 mm apart along the x axis.
|
||||
|
||||
import os, sys
|
||||
usage = "usage: %s <inputfile>" % os.path.basename(sys.argv[0])
|
||||
|
||||
objectToolHead = "T3 (G54)"
|
||||
supportToolHead = "T4 (G55)"
|
||||
|
||||
supportToObject = """
|
||||
M102 T4 (set toolhead T on, reverse)
|
||||
M101 T3 (Extruder on, forward)
|
||||
G04 P2200 (Wait t/1000 seconds)
|
||||
M103 T4 (set toolhead T off)
|
||||
M103 T3 Extruder off)
|
||||
G54
|
||||
"""
|
||||
objectToSupport = """
|
||||
M102 T3 (set toolhead 1 on, reverse)
|
||||
M101 T4 (Extruder on, forward)
|
||||
G04 P2200 (Wait t/1000 seconds)
|
||||
M103 T3 (set toolhead 1 off)
|
||||
M103 T4 (Extruder off)
|
||||
G55
|
||||
"""
|
||||
|
||||
supportOpening = "M108 S510.0"
|
||||
supportReplace = "M108 S255 support replaced"
|
||||
objectOpening = "M108 S255.0"
|
||||
objectReplace = "M108 S255 object replaced"
|
||||
|
||||
|
||||
|
||||
if len(sys.argv) == 2:
|
||||
if os.path.isfile(sys.argv[1]) == True:
|
||||
print "Switcherooing tool heads..."
|
||||
input = open(sys.argv[1])
|
||||
output = open("switcherood-"+sys.argv[1], 'w')
|
||||
for s in input:
|
||||
output.write((s.replace(supportOpening, objectToSupport + supportReplace)).replace(objectOpening, supportToObject + objectReplace))
|
||||
# for s in output:
|
||||
# output.write(s.replace(objectOpening, supportToObject + objectReplace))
|
||||
input.close()
|
||||
output.close()
|
||||
print "Toolheads switcherood"
|
||||
print objectToolHead + ": object material toolhead."
|
||||
print supportToolHead + ": support material toolhead."
|
||||
else:
|
||||
print sys.argv[1] + " is not a file or does not exist."
|
||||
else:
|
||||
print usage
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
raft.csv:Object First Layer Feed Rate Infill Multiplier (ratio):=0.4
|
||||
raft.csv:Object First Layer Feed Rate Perimeter Multiplier (ratio):=0.5
|
||||
raft.csv:Object First Layer Flow Rate Multiplier (ratio):=0.5
|
||||
raft.csv:Operating Nozzle Lift over Layer Thickness (ratio):=1.0
|
||||
bottom.csv:Altitude (mm):=0.1
|
||||
@@ -0,0 +1,22 @@
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Thingomatic-non-heated/profiles/extrusion/ABS/outline.csv SF35-Thingomatic-HBP/profiles/extrusion/ABS/outline.csv
|
||||
--- SF35-Thingomatic-non-heated/profiles/extrusion/ABS/outline.csv 2011-02-03 13:51:03.000000000 +0100
|
||||
+++ SF35-Thingomatic-HBP/profiles/extrusion/ABS/outline.csv 2011-02-03 14:15:36.000000000 +0100
|
||||
@@ -2,5 +2,5 @@
|
||||
Name Value
|
||||
WindowPosition 600+0
|
||||
Open File for Outline
|
||||
-Activate Outline False
|
||||
+Activate Outline True
|
||||
Outline Margin: 3.0
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Thingomatic-non-heated/profiles/extrusion/ABS/wipe.csv SF35-Thingomatic-HBP-Stepstruder/profiles/extrusion/ABS/wipe.csv
|
||||
--- SF35-Thingomatic-non-heated/profiles/extrusion/ABS/wipe.csv 2011-02-03 16:59:19.000000000 +0100
|
||||
+++ SF35-Thingomatic-HBP-Stepstruder/profiles/extrusion/ABS/wipe.csv 2011-02-03 22:53:10.000000000 +0100
|
||||
@@ -2,7 +2,7 @@
|
||||
Name Value
|
||||
WindowPosition 700+0
|
||||
Open File for Wipe
|
||||
-Activate Wipe True
|
||||
+Activate Wipe False
|
||||
Location Arrival X (mm): 52.0
|
||||
Location Arrival Y (mm): -57.0
|
||||
Location Arrival Z (mm): 10.0
|
||||
@@ -0,0 +1,117 @@
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Thingomatic-HBP/alterations/end.gcode SF35-Thingomatic-HBP-Stepstruder/alterations/end.gcode
|
||||
--- SF35-Thingomatic-HBP/alterations/end.gcode 2011-02-04 17:50:42.000000000 +0100
|
||||
+++ SF35-Thingomatic-HBP-Stepstruder/alterations/end.gcode 2011-02-04 17:50:42.000000000 +0100
|
||||
@@ -8,6 +8,7 @@
|
||||
G1 X0.0 Y55.0 F3300.0 (move to cooling position)
|
||||
(**** end move to cooling position ****)
|
||||
(**** begin filament reversal ****)
|
||||
+M108 R1.98 (set extruder speed)
|
||||
M102 (Extruder on, reverse)
|
||||
G04 P2000 (Wait t/1000 seconds)
|
||||
M103 (Extruder off)
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Thingomatic-HBP/alterations/replace.csv SF35-Thingomatic-HBP-Stepstruder/alterations/replace.csv
|
||||
--- SF35-Thingomatic-HBP/alterations/replace.csv 2011-02-04 17:50:42.000000000 +0100
|
||||
+++ SF35-Thingomatic-HBP-Stepstruder/alterations/replace.csv 2011-02-04 17:50:42.000000000 +0100
|
||||
@@ -1 +1,2 @@
|
||||
M113 ;M113
|
||||
+M108 S M108 R
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Thingomatic-HBP/alterations/start.gcode SF35-Thingomatic-HBP-Stepstruder/alterations/start.gcode
|
||||
--- SF35-Thingomatic-HBP/alterations/start.gcode 2011-02-04 17:50:42.000000000 +0100
|
||||
+++ SF35-Thingomatic-HBP-Stepstruder/alterations/start.gcode 2011-02-04 17:50:42.000000000 +0100
|
||||
@@ -3,7 +3,7 @@
|
||||
(**** begin initialization commands ****)
|
||||
G21 (set units to mm)
|
||||
G90 (set positioning to absolute)
|
||||
-M108 S255 (set extruder speed to maximum)
|
||||
+M108 R1.98 (set extruder speed)
|
||||
M103 (Make sure extruder is off)
|
||||
M104 S225 T0 (set extruder temperature)
|
||||
M109 S125 T0 (set heated-build-platform temperature)
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Thingomatic-HBP/alterations/start.gcode.orig SF35-Thingomatic-HBP-Stepstruder/alterations/start.gcode.orig
|
||||
--- SF35-Thingomatic-HBP/alterations/start.gcode.orig 1970-01-01 01:00:00.000000000 +0100
|
||||
+++ SF35-Thingomatic-HBP-Stepstruder/alterations/start.gcode.orig 2011-02-04 17:50:42.000000000 +0100
|
||||
@@ -0,0 +1,24 @@
|
||||
+(**** beginning of start.gcode ****)
|
||||
+(This file is for a MakerBot Thing-O-Matic)
|
||||
+(**** begin initialization commands ****)
|
||||
+G21 (set units to mm)
|
||||
+G90 (set positioning to absolute)
|
||||
+M108 S255 (set extruder speed to maximum)
|
||||
+M103 (Make sure extruder is off)
|
||||
+M104 S225 T0 (set extruder temperature)
|
||||
+M109 S125 T0 (set heated-build-platform temperature)
|
||||
+(**** end initialization commands ****)
|
||||
+(**** begin homing ****)
|
||||
+G162 Z F500 (home Z axis maximum)
|
||||
+G161 X Y F2500 (home XY axes minimum)
|
||||
+G92 Z80 ( ---=== Set Z axis maximum ===--- )
|
||||
+G92 X-57.5 Y-57 (set zero for X and Y)
|
||||
+(**** end homing ****)
|
||||
+(**** begin pre-wipe commands ****)
|
||||
+G1 X52 Y-57.0 Z10 F3300.0 (move to waiting position)
|
||||
+M6 T0 (wait for toolhead parts, nozzle, HBP, etc., to reach temperature)
|
||||
+M101 (Extruder on, forward)
|
||||
+G04 P5000 (Wait t/1000 seconds)
|
||||
+M103 (Extruder off)
|
||||
+(**** end pre-wipe commands ****)
|
||||
+(**** end of start.gcode ****)
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Thingomatic-HBP/profiles/extrusion/ABS/carve.csv SF35-Thingomatic-HBP-Stepstruder/profiles/extrusion/ABS/carve.csv
|
||||
--- SF35-Thingomatic-HBP/profiles/extrusion/ABS/carve.csv 2011-02-04 17:50:42.000000000 +0100
|
||||
+++ SF35-Thingomatic-HBP-Stepstruder/profiles/extrusion/ABS/carve.csv 2011-02-04 17:50:42.000000000 +0100
|
||||
@@ -12,5 +12,5 @@
|
||||
Layers To (index): 912345678
|
||||
Correct Mesh True
|
||||
Unproven Mesh False
|
||||
-Perimeter Width over Thickness (ratio): 1.45
|
||||
+Perimeter Width over Thickness (ratio): 1.25
|
||||
SVG Viewer: webbrowser
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Thingomatic-HBP/profiles/extrusion/ABS/cool.csv SF35-Thingomatic-HBP-Stepstruder/profiles/extrusion/ABS/cool.csv
|
||||
--- SF35-Thingomatic-HBP/profiles/extrusion/ABS/cool.csv 2011-02-04 17:50:42.000000000 +0100
|
||||
+++ SF35-Thingomatic-HBP-Stepstruder/profiles/extrusion/ABS/cool.csv 2011-02-04 17:51:13.000000000 +0100
|
||||
@@ -2,7 +2,7 @@
|
||||
Name Value
|
||||
WindowPosition 700+0
|
||||
Open File for Cool
|
||||
-Activate Cool False
|
||||
+Activate Cool True
|
||||
Orbit False
|
||||
Slow Down True
|
||||
Maximum Cool (Celcius): 0.0
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Thingomatic-HBP/profiles/extrusion/ABS/fill.csv SF35-Thingomatic-HBP-Stepstruder/profiles/extrusion/ABS/fill.csv
|
||||
--- SF35-Thingomatic-HBP/profiles/extrusion/ABS/fill.csv 2011-02-04 17:50:42.000000000 +0100
|
||||
+++ SF35-Thingomatic-HBP-Stepstruder/profiles/extrusion/ABS/fill.csv 2011-02-04 17:50:42.000000000 +0100
|
||||
@@ -23,7 +23,7 @@
|
||||
Line False
|
||||
Infill Perimeter Overlap (ratio): 0.35
|
||||
Infill Solidity (ratio): 0.25
|
||||
-Infill Width over Thickness (ratio): 1.5
|
||||
+Infill Width over Thickness (ratio): 1.25
|
||||
Solid Surface Thickness (layers): 2
|
||||
Infill > Loops > Perimeter False
|
||||
Infill > Perimeter > Loops False
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Thingomatic-HBP/profiles/extrusion/ABS/reversal.csv SF35-Thingomatic-HBP-Stepstruder/profiles/extrusion/ABS/reversal.csv
|
||||
--- SF35-Thingomatic-HBP/profiles/extrusion/ABS/reversal.csv 2011-02-04 17:50:42.000000000 +0100
|
||||
+++ SF35-Thingomatic-HBP-Stepstruder/profiles/extrusion/ABS/reversal.csv 2011-02-04 17:50:42.000000000 +0100
|
||||
@@ -2,7 +2,7 @@
|
||||
Name Value
|
||||
WindowPosition 700+0
|
||||
Open File for Reversal
|
||||
-Activate Reversal False
|
||||
+Activate Reversal True
|
||||
Reversal speed (RPM): 35.0
|
||||
Reversal time (milliseconds): 70.0
|
||||
Push-back time (milliseconds): 73.0
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Thingomatic-HBP/profiles/extrusion/ABS/speed.csv SF35-Thingomatic-HBP-Stepstruder/profiles/extrusion/ABS/speed.csv
|
||||
--- SF35-Thingomatic-HBP/profiles/extrusion/ABS/speed.csv 2011-02-04 17:50:42.000000000 +0100
|
||||
+++ SF35-Thingomatic-HBP-Stepstruder/profiles/extrusion/ABS/speed.csv 2011-02-04 17:50:42.000000000 +0100
|
||||
@@ -9,8 +9,8 @@
|
||||
Duty Cyle at Beginning (portion): 1.0
|
||||
Duty Cyle at Ending (portion): 0.0
|
||||
Feed Rate (mm/s): 32.0
|
||||
-Flow Rate Setting (float): 255.0
|
||||
+Flow Rate Setting (float): 1.98
|
||||
Orbital Feed Rate over Operating Feed Rate (ratio): 0.5
|
||||
Perimeter Feed Rate over Operating Feed Rate (ratio): 1.0
|
||||
Perimeter Flow Rate over Operating Flow Rate (ratio): 1.0
|
||||
-Travel Feed Rate (mm/s): 32.0
|
||||
+Travel Feed Rate (mm/s): 40.0
|
||||
@@ -0,0 +1,14 @@
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Thingomatic-HBP/alterations/end.gcode SF35-Thingomatic-ABP/alterations/end.gcode
|
||||
--- SF35-Thingomatic-HBP/alterations/end.gcode 2011-01-26 22:52:40.000000000 +0100
|
||||
+++ SF35-Thingomatic-ABP/alterations/end.gcode 2011-01-26 22:52:40.000000000 +0100
|
||||
@@ -15,7 +15,9 @@
|
||||
M18 (Turn off steppers)
|
||||
(**** begin eject ****)
|
||||
M6 T0 (wait for toolhead parts (nozzle, HBP, etc) to reach temperature)
|
||||
-M01 (Remove the object then click yes.)
|
||||
+M106 (conveyor on)
|
||||
+G04 P14000 (wait t/1000 seconds)
|
||||
+M107 (conveyor off)
|
||||
(**** end eject ****)
|
||||
(**** begin cool for safety ****)
|
||||
M104 S0 T0 (set extruder temperature)
|
||||
@@ -0,0 +1,54 @@
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Makerbot-baseline/alterations/end.gcode SF35-Thingomatic-baseline/alterations/end.gcode
|
||||
--- SF35-Makerbot-baseline/alterations/end.gcode 2011-02-03 14:30:23.000000000 +0100
|
||||
+++ SF35-Thingomatic-baseline/alterations/end.gcode 2011-02-04 15:04:54.000000000 +0100
|
||||
@@ -1,2 +1,24 @@
|
||||
(**** Beginning of end.gcode ****)
|
||||
+(This file is for a MakerBot Thing-O-Matic)
|
||||
+(*** begin settings ****)
|
||||
+M109 S95 T0 (set heated-build-platform temperature)
|
||||
+(**** end settings ****)
|
||||
+(**** begin move to cooling position ****)
|
||||
+G1 X0.0 F3300.0 (move to cooling position)
|
||||
+G1 X0.0 Y55.0 F3300.0 (move to cooling position)
|
||||
+(**** end move to cooling position ****)
|
||||
+(**** begin filament reversal ****)
|
||||
+M102 (Extruder on, reverse)
|
||||
+G04 P2000 (Wait t/1000 seconds)
|
||||
+M103 (Extruder off)
|
||||
+(**** end filament reversal ****)
|
||||
+M18 (Turn off steppers)
|
||||
+(**** begin eject ****)
|
||||
+M6 T0 (wait for toolhead parts (nozzle, HBP, etc) to reach temperature)
|
||||
+M01 (Remove the object then click yes.)
|
||||
+(**** end eject ****)
|
||||
+(**** begin cool for safety ****)
|
||||
+M104 S0 T0 (set extruder temperature)
|
||||
+M109 S0 T0 (set heated-build-platform temperature)
|
||||
+(**** end cool for safety ****)
|
||||
(**** end of end.gcode ****)
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Makerbot-baseline/alterations/start.gcode SF35-Thingomatic-baseline/alterations/start.gcode
|
||||
--- SF35-Makerbot-baseline/alterations/start.gcode 2011-02-04 15:17:10.000000000 +0100
|
||||
+++ SF35-Thingomatic-baseline/alterations/start.gcode 2011-02-04 15:04:54.000000000 +0100
|
||||
@@ -1,4 +1,5 @@
|
||||
(**** beginning of start.gcode ****)
|
||||
+(This file is for a MakerBot Thing-O-Matic)
|
||||
(**** begin initialization commands ****)
|
||||
G21 (set units to mm)
|
||||
G90 (set positioning to absolute)
|
||||
@@ -8,5 +9,16 @@
|
||||
M109 S125 T0 (set heated-build-platform temperature)
|
||||
(**** end initialization commands ****)
|
||||
(**** begin homing ****)
|
||||
+G162 Z F500 (home Z axis maximum)
|
||||
+G161 X Y F2500 (home XY axes minimum)
|
||||
+G92 Z80 ( ---=== Set Z axis maximum ===--- )
|
||||
+G92 X-57.5 Y-57 (set zero for X and Y)
|
||||
(**** end homing ****)
|
||||
+(**** begin pre-wipe commands ****)
|
||||
+G1 X52 Y-57.0 Z10 F3300.0 (move to waiting position)
|
||||
+M6 T0 (wait for toolhead parts, nozzle, HBP, etc., to reach temperature)
|
||||
+M101 (Extruder on, forward)
|
||||
+G04 P5000 (Wait t/1000 seconds)
|
||||
+M103 (Extruder off)
|
||||
+(**** end pre-wipe commands ****)
|
||||
(**** end of start.gcode ****)
|
||||
@@ -0,0 +1,7 @@
|
||||
speed.csv:Feed Rate (mm/s):=28.0
|
||||
carve.csv:Layer Thickness (mm):=0.39
|
||||
fill.csv:Infill Perimeter Overlap (ratio):=0.4
|
||||
fill.csv:Infill Solidity (ratio):=0.4
|
||||
fill.csv:Extra Shells on Alternating Solid Layer (layers):=1
|
||||
fill.csv:Extra Shells on Base (layers):=1
|
||||
inset.csv:Overlap Removal Width over Perimeter Width (ratio):=0.7
|
||||
@@ -0,0 +1,89 @@
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-cupcake-non-heated/alterations/end.gcode SF35-cupcake-ABP/alterations/end.gcode
|
||||
--- SF35-cupcake-non-heated/alterations/end.gcode 2011-02-04 16:01:34.000000000 +0100
|
||||
+++ SF35-cupcake-ABP/alterations/end.gcode 2011-02-04 15:59:47.000000000 +0100
|
||||
@@ -1,15 +1,31 @@
|
||||
(**** Beginning of end.gcode ****)
|
||||
-(**** begin cool for safety ****)
|
||||
-M104 S0 T0 (set extruder temperature)
|
||||
-M109 S0 T0 (set heated-build-platform temperature)
|
||||
-(**** end cool for safety ****)
|
||||
+(*** begin settings ****)
|
||||
+M109 S95 T0 (set heated-build-platform temperature)
|
||||
+(**** end settings ****)
|
||||
+(**** begin move to cooling position ****)
|
||||
+G1 X0 Y54 F3300.0 (move to cooling position)
|
||||
+(**** end move to cooling position ****)
|
||||
(**** begin filament reversal ****)
|
||||
M102 (Extruder on, reverse)
|
||||
G04 P2000 (Wait t/1000 seconds)
|
||||
M103 (Extruder off)
|
||||
(**** end filament reversal ****)
|
||||
-(**** begin move to cooling position ****)
|
||||
-G91
|
||||
-G1 Z10
|
||||
-(**** end move to cooling position ****)
|
||||
+M18 (Turn off steppers)
|
||||
+(**** begin eject ****)
|
||||
+M6 T0 (wait for toolhead parts (nozzle, HBP, etc) to reach temperature)
|
||||
+M106 (conveyor on)
|
||||
+G04 P9000 (wait t/1000 seconds)
|
||||
+M107 (conveyor off)
|
||||
+(**** end eject ****)
|
||||
+(**** begin cool for safety ****)
|
||||
+M104 S0 T0 (set extruder temperature)
|
||||
+M109 S0 T0 (set heated-build-platform temperature)
|
||||
+(**** end cool for safety ****)
|
||||
+(**** start wipe ****)
|
||||
+G1 X-54 Y-15.5 Z6.0 F2500.0
|
||||
+G1 X-54 Y15.5 Z6.0 F2500.0
|
||||
+(**** end wipe ****)
|
||||
+G1 X0 Y0 F3300.0 (move nozzle to center)
|
||||
+G1 X0 Y0 Z0 F3300.0 (move nozzle to origin)
|
||||
(**** end of end.gcode ****)
|
||||
+
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-cupcake-non-heated/alterations/start.gcode SF35-cupcake-ABP/alterations/start.gcode
|
||||
--- SF35-cupcake-non-heated/alterations/start.gcode 2011-02-04 15:55:38.000000000 +0100
|
||||
+++ SF35-cupcake-ABP/alterations/start.gcode 2011-02-04 15:55:38.000000000 +0100
|
||||
@@ -12,15 +12,11 @@
|
||||
G92 X0 Y0 Z0 (set origin to current position)
|
||||
(**** end homing ****)
|
||||
(**** begin pre-wipe commands ****)
|
||||
-G0 Z15 (Move up for test extrusion)
|
||||
+G1 X-54 Y-30 Z6 F3300.0 (move to waiting position)
|
||||
M108 S255 (Extruder speed = max)
|
||||
M6 T0 (Wait for tool to heat up)
|
||||
M101 (Extruder on, forward)
|
||||
G04 P5000 (Wait 5 seconds)
|
||||
M103 (Extruder off)
|
||||
(**** end pre-wipe commands ****)
|
||||
-(**** begin manual wipe ****)
|
||||
-M01 (The heater is warming up and will do a test extrusion. Click yes after you have cleared the nozzle of the extrusion.)
|
||||
-(**** end manual wipe ****)
|
||||
-G0 Z0(Go back to zero.)
|
||||
(**** end of start.gcode ****)
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-cupcake-non-heated/profiles/extrusion/ABS/wipe.csv SF35-cupcake-ABP/profiles/extrusion/ABS/wipe.csv
|
||||
--- SF35-cupcake-non-heated/profiles/extrusion/ABS/wipe.csv 2011-02-04 15:55:38.000000000 +0100
|
||||
+++ SF35-cupcake-ABP/profiles/extrusion/ABS/wipe.csv 2011-02-04 15:55:38.000000000 +0100
|
||||
@@ -3,13 +3,13 @@
|
||||
WindowPosition 700+0
|
||||
Open File for Wipe
|
||||
Activate Wipe True
|
||||
-Location Arrival X (mm): 52.0
|
||||
-Location Arrival Y (mm): -57.0
|
||||
-Location Arrival Z (mm): 10.0
|
||||
-Location Departure X (mm): 52.0
|
||||
-Location Departure Y (mm): -30.0
|
||||
-Location Departure Z (mm): 10.0
|
||||
-Location Wipe X (mm): 52.0
|
||||
-Location Wipe Y (mm): -55.0
|
||||
-Location Wipe Z (mm): 10.0
|
||||
+Location Arrival X (mm): -54.0
|
||||
+Location Arrival Y (mm): -30.0
|
||||
+Location Arrival Z (mm): 6.0
|
||||
+Location Departure X (mm): -54.0
|
||||
+Location Departure Y (mm): 4.0
|
||||
+Location Departure Z (mm): 6.0
|
||||
+Location Wipe X (mm): -54.0
|
||||
+Location Wipe Y (mm): 0.0
|
||||
+Location Wipe Z (mm): 6.0
|
||||
Wipe Period (layers): 99999999
|
||||
@@ -0,0 +1,47 @@
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Makerbot-baseline/alterations/end.gcode SF35-cupcake-baseline/alterations/end.gcode
|
||||
--- SF35-Makerbot-baseline/alterations/end.gcode 2011-02-03 14:30:23.000000000 +0100
|
||||
+++ SF35-cupcake-baseline/alterations/end.gcode 2011-02-04 16:02:16.000000000 +0100
|
||||
@@ -1,2 +1,15 @@
|
||||
(**** Beginning of end.gcode ****)
|
||||
+(**** begin cool for safety ****)
|
||||
+M104 S0 T0 (set extruder temperature)
|
||||
+M109 S0 T0 (set heated-build-platform temperature)
|
||||
+(**** end cool for safety ****)
|
||||
+(**** begin filament reversal ****)
|
||||
+M102 (Extruder on, reverse)
|
||||
+G04 P2000 (Wait t/1000 seconds)
|
||||
+M103 (Extruder off)
|
||||
+(**** end filament reversal ****)
|
||||
+(**** begin move to cooling position ****)
|
||||
+G91
|
||||
+G1 Z10
|
||||
+(**** end move to cooling position ****)
|
||||
(**** end of end.gcode ****)
|
||||
diff -P -u -x '*~' -x '\.*' -r SF35-Makerbot-baseline/alterations/start.gcode SF35-cupcake-baseline/alterations/start.gcode
|
||||
--- SF35-Makerbot-baseline/alterations/start.gcode 2011-02-04 15:17:10.000000000 +0100
|
||||
+++ SF35-cupcake-baseline/alterations/start.gcode 2011-02-04 15:55:38.000000000 +0100
|
||||
@@ -1,4 +1,5 @@
|
||||
(**** beginning of start.gcode ****)
|
||||
+(This file is for a MakerBot Cupcake CNC)
|
||||
(**** begin initialization commands ****)
|
||||
G21 (set units to mm)
|
||||
G90 (set positioning to absolute)
|
||||
@@ -8,5 +9,18 @@
|
||||
M109 S125 T0 (set heated-build-platform temperature)
|
||||
(**** end initialization commands ****)
|
||||
(**** begin homing ****)
|
||||
+G92 X0 Y0 Z0 (set origin to current position)
|
||||
(**** end homing ****)
|
||||
+(**** begin pre-wipe commands ****)
|
||||
+G0 Z15 (Move up for test extrusion)
|
||||
+M108 S255 (Extruder speed = max)
|
||||
+M6 T0 (Wait for tool to heat up)
|
||||
+M101 (Extruder on, forward)
|
||||
+G04 P5000 (Wait 5 seconds)
|
||||
+M103 (Extruder off)
|
||||
+(**** end pre-wipe commands ****)
|
||||
+(**** begin manual wipe ****)
|
||||
+M01 (The heater is warming up and will do a test extrusion. Click yes after you have cleared the nozzle of the extrusion.)
|
||||
+(**** end manual wipe ****)
|
||||
+G0 Z0(Go back to zero.)
|
||||
(**** end of start.gcode ****)
|
||||
@@ -0,0 +1,98 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import sys
|
||||
import getopt
|
||||
import os
|
||||
|
||||
def processCSV(filename, overrides):
|
||||
csvlines = [line for line in open(filename, "r")]
|
||||
try:
|
||||
csvfile = open(filename, 'w')
|
||||
except IOError:
|
||||
print("The file " + filename + " cannot be opened for writing.")
|
||||
return False
|
||||
|
||||
for line in csvlines:
|
||||
splitline = line.split('\t', 1)
|
||||
if len(splitline) == 2:
|
||||
if (splitline[0] in overrides):
|
||||
splitline[1] = overrides[splitline[0]] + "\n"
|
||||
del overrides[splitline[0]]
|
||||
line = '\t'.join(splitline)
|
||||
csvfile.write(line)
|
||||
for newvalue in overrides:
|
||||
csvfile.write(newvalue + "\t" + overrides[newvalue] + "\n")
|
||||
csvfile.close()
|
||||
|
||||
def usage():
|
||||
print >> sys.stderr, "Usage: " + sys.argv[0] + " -p <prefsdir> -o <overridefile>"
|
||||
print >> sys.stderr, "Options:"
|
||||
print >> sys.stderr, " -p, --prefsdir=<dir> Modify the given profile"
|
||||
print >> sys.stderr, " -o, --overrides=<file> Use these overrides"
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
# Handle command-line arguments
|
||||
try:
|
||||
opts, args = getopt.getopt(sys.argv[1:],
|
||||
"p:o:", ["prefsdir=", "overrides="])
|
||||
except getopt.GetoptError:
|
||||
usage()
|
||||
sys.exit(2)
|
||||
|
||||
prefsdir = None
|
||||
overrides = None
|
||||
for opt, arg in opts:
|
||||
if opt in ("-p", "--prefsdir"):
|
||||
prefsdir = arg
|
||||
if opt in ("-o", "--overrides"):
|
||||
overrides = arg
|
||||
|
||||
if len(args) != 0:
|
||||
usage()
|
||||
sys.exit(2)
|
||||
|
||||
if not prefsdir:
|
||||
print >> sys.stderr, "Error: No prefsdir given"
|
||||
usage()
|
||||
sys.exit(2)
|
||||
|
||||
if not overrides:
|
||||
print >> sys.stderr, "Error: No overrides given"
|
||||
usage()
|
||||
sys.exit(2)
|
||||
|
||||
# Recursively scan prefsdir for all csv files
|
||||
csvfiles = {}
|
||||
for root, _, files in os.walk(prefsdir):
|
||||
for filename in files:
|
||||
csvfiles[filename] = os.path.join(root, filename)
|
||||
|
||||
|
||||
# Build dict from overrides
|
||||
try:
|
||||
overridelines = [line.rstrip() for line in open(overrides, "r")]
|
||||
except IOError:
|
||||
print "Unable to open file " + overrides
|
||||
sys.exit(1)
|
||||
|
||||
overridedict = {} # file.csv -> {name: value}
|
||||
for override in overridelines:
|
||||
splitline = override.split(":", 1)
|
||||
if len(splitline) == 2:
|
||||
(moduleName,override) = splitline
|
||||
splitoverride = override.split("=",1)
|
||||
if len(splitoverride) == 2:
|
||||
if not moduleName in overridedict: overridedict[moduleName] = {}
|
||||
overridedict[moduleName][splitoverride[0]] = splitoverride[1]
|
||||
|
||||
# print "Updating",
|
||||
for csvfile in overridedict:
|
||||
if not csvfile in csvfiles:
|
||||
print "CSV file not found: " + csvfile
|
||||
break
|
||||
# print csvfile,
|
||||
processCSV(csvfiles[csvfile], overridedict[csvfile])
|
||||
# print "\n"
|
||||
|
||||
sys.exit(0)
|
||||
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $# -lt 2 ]; then
|
||||
echo "Usage: $0 <baseline> <overridefile> [<new-profile>]"
|
||||
exit
|
||||
fi
|
||||
|
||||
BASELINE=$1
|
||||
OVERRIDES=$2
|
||||
if [ $# == 3 ]; then
|
||||
NEWPROFILE=$3
|
||||
else
|
||||
NEWPROFILE=new-profile
|
||||
fi
|
||||
|
||||
#echo "Using skeinforge baseline $BASELINE"
|
||||
#echo "Using override file $OVERRIDES"
|
||||
|
||||
#echo "Building $NEWPROFILE"
|
||||
rm -rf "$NEWPROFILE"
|
||||
cp -r "$BASELINE" "$NEWPROFILE"
|
||||
#echo "Applying overrides"
|
||||
`dirname $0`/apply_overrides.py -p "$NEWPROFILE" -o "$OVERRIDES"
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user