This commit is contained in:
Val Erastov 2016-02-11 01:17:35 -08:00
parent 46cb341b5b
commit 428005e71b
6 changed files with 509 additions and 5 deletions

109
web/img/vec/angle.svg Normal file
View file

@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="35"
height="35"
viewBox="0 0 34.999999 34.999996"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="angle.svg">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="159.63273 : 549.86846 : 1"
inkscape:vp_y="0 : 999.99987 : 0"
inkscape:vp_z="744.09445 : 526.18102 : 1"
inkscape:persp3d-origin="372.04723 : 350.78736 : 1"
id="perspective4168" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#545454"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="15.535661"
inkscape:cx="12.681338"
inkscape:cy="23.054975"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:snap-bbox="false"
inkscape:snap-global="true"
inkscape:window-width="1600"
inkscape:window-height="1178"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
units="px"
width="100mm" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1017.3622)">
<path
style="fill:none;fill-opacity:1;stroke:#95ffbc;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path6205"
sodipodi:type="arc"
sodipodi:cx="11.94027"
sodipodi:cy="1043.061"
sodipodi:rx="8.9149733"
sodipodi:ry="8.9149733"
sodipodi:start="5.324242"
sodipodi:end="0.54944747"
d="m 17.0609,1035.7634 a 8.9149733,8.9149733 0 0 1 2.482177,11.9532"
sodipodi:open="true" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:2.769;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 4.521136,1048.2212 c 25.762276,-25.536 25.762276,-25.536 25.762276,-25.536"
id="path4184"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:2.76900005;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 6.5655398,1047.4702 25.2966392,0"
id="path6203"
inkscape:connector-curvature="0" />
<circle
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.30505568px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path3336-9"
cx="6.0835223"
cy="1047.0315"
r="2.8275597" />
<circle
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.30505568px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path3336-3"
cx="30.008373"
cy="1022.9579"
r="2.8275597" />
<circle
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.30505568px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path3336-9-7"
cx="30.703552"
cy="1047.2126"
r="2.8275597" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.9 KiB

97
web/img/vec/fillet.svg Normal file
View file

@ -0,0 +1,97 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="35"
height="35"
viewBox="0 0 34.999999 34.999996"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="fillet.svg">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="159.63273 : 549.86846 : 1"
inkscape:vp_y="0 : 999.99987 : 0"
inkscape:vp_z="744.09445 : 526.18102 : 1"
inkscape:persp3d-origin="372.04723 : 350.78736 : 1"
id="perspective4168" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#545454"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="15.535661"
inkscape:cx="12.681338"
inkscape:cy="23.054975"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:snap-bbox="false"
inkscape:snap-global="true"
inkscape:window-width="1600"
inkscape:window-height="1178"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
units="px"
width="100mm" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1017.3622)">
<path
style="fill:none;fill-opacity:1;stroke:#cd95ff;stroke-width:2.07767725;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path6205"
sodipodi:type="arc"
sodipodi:cx="17.428974"
sodipodi:cy="1039.6866"
sodipodi:rx="10.350781"
sodipodi:ry="10.579948"
sodipodi:start="3.5034306"
sodipodi:end="5.7842231"
d="m 7.7484288,1035.9414 a 10.350781,10.579948 0 0 1 8.9714292,-6.8098 10.350781,10.579948 0 0 1 9.797927,5.4924"
sodipodi:open="true" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:2.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 2.0919936,1048.8198 C 14.818241,1019.3163 14.818241,1019.3163 14.818241,1019.3163"
id="path4184"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:2.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 13.559217,1019.4618 18.518507,21.0988"
id="path6203"
inkscape:connector-curvature="0" />
<circle
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:0.17986444px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path3336-9-7"
cx="14.354073"
cy="1020.4355"
r="1.6671625" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -0,0 +1,107 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="35"
height="35"
viewBox="0 0 34.999999 34.999996"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="pointInMiddle.svg">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="159.63273 : 549.86846 : 1"
inkscape:vp_y="0 : 999.99987 : 0"
inkscape:vp_z="744.09445 : 526.18102 : 1"
inkscape:persp3d-origin="372.04723 : 350.78736 : 1"
id="perspective4168" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#545454"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="15.535661"
inkscape:cx="22.980224"
inkscape:cy="23.054975"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:snap-bbox="false"
inkscape:snap-global="true"
inkscape:window-width="1600"
inkscape:window-height="1178"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
units="px"
width="100mm" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1017.3622)">
<path
style="fill:none;fill-rule:evenodd;stroke:#7c7c7c;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 17.531009,1024.3878 0,21.1978"
id="path4278"
inkscape:connector-curvature="0" />
<circle
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.30486813;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path3336-3-0"
cx="17.531008"
cy="1023.6422"
r="2.8276076" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 4.448701,1045.6154 c 26.164616,0 26.164616,0 26.164616,0"
id="path4184"
inkscape:connector-curvature="0" />
<circle
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.30505568px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path3336-9"
cx="4.4743214"
cy="1045.6155"
r="2.8275597" />
<circle
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.30505568px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path3336-3"
cx="30.587685"
cy="1045.6155"
r="2.8275597" />
<path
style="fill:none;fill-rule:evenodd;stroke:#2eff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 8.5965404,1049.4792 7.6197316,-7.6214"
id="path4261"
inkscape:connector-curvature="0" />
<path
style="fill:none;fill-rule:evenodd;stroke:#2eff00;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 18.935836,1049.4803 7.619358,-7.6207"
id="path4261-4"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 4 KiB

View file

@ -0,0 +1,99 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="35"
height="35"
viewBox="0 0 34.999999 34.999996"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="pointOnArc.svg">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="159.63273 : 549.86846 : 1"
inkscape:vp_y="0 : 999.99987 : 0"
inkscape:vp_z="744.09445 : 526.18102 : 1"
inkscape:persp3d-origin="372.04723 : 350.78736 : 1"
id="perspective4168" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#545454"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="15.535661"
inkscape:cx="22.980224"
inkscape:cy="23.054975"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:snap-bbox="false"
inkscape:snap-global="true"
inkscape:window-width="1600"
inkscape:window-height="1178"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
units="px"
width="100mm" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1017.3622)">
<path
style="fill:none;fill-opacity:1;stroke:#ffffff;stroke-width:2.58306623;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path5632"
sodipodi:type="arc"
sodipodi:cx="18.112192"
sodipodi:cy="1034.6024"
sodipodi:rx="14.807024"
sodipodi:ry="13.990461"
sodipodi:start="1.7287647"
sodipodi:end="5.4580028"
d="m 15.782867,1048.4187 a 14.807024,13.990461 0 0 1 -12.2648815,-11.4528 14.807024,13.990461 0 0 1 7.5282975,-14.6582 14.807024,13.990461 0 0 1 17.111333,2.0163"
sodipodi:open="true" />
<circle
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.30505568px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path3336-9"
cx="15.867463"
cy="1048.7051"
r="2.8275597" />
<circle
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.30505568px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path3336-3"
cx="6.2565675"
cy="1026.2407"
r="2.8275597" />
<circle
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.30505568px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path3336-9-7"
cx="27.098944"
cy="1023.7827"
r="2.8275597" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB

View file

@ -0,0 +1,92 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="35"
height="35"
viewBox="0 0 34.999999 34.999996"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="pointOnLine.svg">
<defs
id="defs4">
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="159.63273 : 549.86846 : 1"
inkscape:vp_y="0 : 999.99987 : 0"
inkscape:vp_z="744.09445 : 526.18102 : 1"
inkscape:persp3d-origin="372.04723 : 350.78736 : 1"
id="perspective4168" />
</defs>
<sodipodi:namedview
id="base"
pagecolor="#545454"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="15.535661"
inkscape:cx="12.681338"
inkscape:cy="23.054975"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:snap-bbox="false"
inkscape:snap-global="true"
inkscape:window-width="1600"
inkscape:window-height="1178"
inkscape:window-x="1912"
inkscape:window-y="-8"
inkscape:window-maximized="1"
units="px"
width="100mm" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-1017.3622)">
<path
style="fill:none;fill-rule:evenodd;stroke:#ffffff;stroke-width:2.76928234;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 4.521136,1048.2212 c 25.762276,-25.536 25.762276,-25.536 25.762276,-25.536"
id="path4184"
inkscape:connector-curvature="0" />
<circle
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.30505568px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path3336-9"
cx="5.246738"
cy="1047.4177"
r="2.8275597" />
<circle
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.30505568px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path3336-3"
cx="30.008373"
cy="1022.9579"
r="2.8275597" />
<circle
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.30505568px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path3336-9-7"
cx="22.593182"
cy="1030.4126"
r="2.8275597" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -64,7 +64,7 @@
--><button class="btn tbtn act-addMultiSegment" style="background-image: url(img/mline.png);" type="submit" value=""></button><!--
--><button class="btn tbtn act-addCircle" style="background-image: url(img/circle.png);" type="submit" value=""></button><!--
--><button class="btn tbtn act-addArc sep" style="background-image: url(img/arc.png);" type="submit" value=""></button><!--
--><button class="btn tbtn act-addFillet sep" type="submit" value="">F</button><!--
--><button class="btn tbtn act-addFillet sep" style="background-image: url(img/vec/fillet.svg);" type="submit" value=""></button><!--
--><button class="btn tbtn act-addHDim" style="background-image: url(img/hdim.png);" type="submit" value=""></button><!--
--><button class="btn tbtn act-addVDim" style="background-image: url(img/vdim.png);" type="submit" value=""></button><!--
--><button class="btn tbtn act-addDim" style="background-image: url(img/dim.png);" type="submit" value=""></button><!--
@ -95,10 +95,10 @@
<button class="btn rbtn act-tangentConstraint" style="background-image: url(img/tgn.png);"></button>
<button class="btn rbtn act-RadiusConstraint" style="background-image: url(img/rad.png);"></button>
<button class="btn rbtn act-lockConstraint" ><i class="fa fa-lock"></i></button>
<button class="btn rbtn act-pointOnLine" >PL</button>
<button class="btn rbtn act-pointOnArc" >PA</button>
<button class="btn rbtn act-pointInMiddle" >MID</button>
<button class="btn rbtn act-llAngle" >A</button>
<button class="btn rbtn act-pointOnLine" style="background-image: url(img/vec/pointOnLine.svg);"></button>
<button class="btn rbtn act-pointOnArc" style="background-image: url(img/vec/pointOnArc.svg);" ></button>
<button class="btn rbtn act-pointInMiddle" style="background-image: url(img/vec/pointInMiddle.svg);"></button>
<button class="btn rbtn act-llAngle" style="background-image: url(img/vec/angle.svg);"></button>
</div>
</div>
<div id="status" class="panel b-top" style="width: 100%; height:22px;">